1 | /**
|
2 | * @license Angular v10.0.7
|
3 | * (c) 2010-2020 Google LLC. https://angular.io/
|
4 | * License: MIT
|
5 | */
|
6 | !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/common"),require("@angular/core")):"function"==typeof define&&define.amd?define("@angular/platform-browser",["exports","@angular/common","@angular/core"],e):e(((t=t||self).ng=t.ng||{},t.ng.platformBrowser={}),t.ng.common,t.ng.core)}(this,(function(t,e,r){"use strict";
|
7 | /*! *****************************************************************************
|
8 | Copyright (c) Microsoft Corporation.
|
9 |
|
10 | Permission to use, copy, modify, and/or distribute this software for any
|
11 | purpose with or without fee is hereby granted.
|
12 |
|
13 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
14 | REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
15 | AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
16 | INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
17 | LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
18 | OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
19 | PERFORMANCE OF THIS SOFTWARE.
|
20 | ***************************************************************************** */var n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)};function o(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var i,a=function(t){function e(){return t.call(this)||this}return o(e,t),e.prototype.supportsDOMEvents=function(){return!0},e}(e.ɵDomAdapter),s=function(t){function r(){return null!==t&&t.apply(this,arguments)||this}return o(r,t),r.makeCurrent=function(){e.ɵsetRootDomAdapter(new r)},r.prototype.getProperty=function(t,e){return t[e]},r.prototype.log=function(t){window.console&&window.console.log&&window.console.log(t)},r.prototype.logGroup=function(t){window.console&&window.console.group&&window.console.group(t)},r.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},r.prototype.onAndCancel=function(t,e,r){return t.addEventListener(e,r,!1),function(){t.removeEventListener(e,r,!1)}},r.prototype.dispatchEvent=function(t,e){t.dispatchEvent(e)},r.prototype.remove=function(t){return t.parentNode&&t.parentNode.removeChild(t),t},r.prototype.getValue=function(t){return t.value},r.prototype.createElement=function(t,e){return(e=e||this.getDefaultDocument()).createElement(t)},r.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},r.prototype.getDefaultDocument=function(){return document},r.prototype.isElementNode=function(t){return t.nodeType===Node.ELEMENT_NODE},r.prototype.isShadowRoot=function(t){return t instanceof DocumentFragment},r.prototype.getGlobalEventTarget=function(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null},r.prototype.getHistory=function(){return window.history},r.prototype.getLocation=function(){return window.location},r.prototype.getBaseHref=function(t){var e=function r(){return u||(u=document.querySelector("base"))?u.getAttribute("href"):null}();return null==e?null:function n(t){return i||(i=document.createElement("a")),i.setAttribute("href",t),"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}
|
21 | /**
|
22 | * @license
|
23 | * Copyright Google LLC All Rights Reserved.
|
24 | *
|
25 | * Use of this source code is governed by an MIT-style license that can be
|
26 | * found in the LICENSE file at https://angular.io/license
|
27 | */(e)},r.prototype.resetBaseElement=function(){u=null},r.prototype.getUserAgent=function(){return window.navigator.userAgent},r.prototype.performanceNow=function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()},r.prototype.supportsCookies=function(){return!0},r.prototype.getCookie=function(t){return e.ɵparseCookieValue(document.cookie,t)},r}(a),u=null,c=new r.InjectionToken("TRANSITION_ID");function p(t,n,o){return function(){o.get(r.ApplicationInitStatus).donePromise.then((function(){var r=e.ɵgetDOM();Array.prototype.slice.apply(n.querySelectorAll("style[ng-transition]")).filter((function(e){return e.getAttribute("ng-transition")===t})).forEach((function(t){return r.remove(t)}))}))}}var l=[{provide:r.APP_INITIALIZER,useFactory:p,deps:[c,e.DOCUMENT,r.Injector],multi:!0}],d=function(){function t(){}return t.init=function(){r.setTestabilityGetter(new t)},t.prototype.addToWindow=function(t){r.ɵglobal.getAngularTestability=function(e,r){void 0===r&&(r=!0);var n=t.findTestabilityInTree(e,r);if(null==n)throw new Error("Could not find testability for element.");return n},r.ɵglobal.getAllAngularTestabilities=function(){return t.getAllTestabilities()},r.ɵglobal.getAllAngularRootElements=function(){return t.getAllRootElements()},r.ɵglobal.frameworkStabilizers||(r.ɵglobal.frameworkStabilizers=[]),r.ɵglobal.frameworkStabilizers.push((function(t){var e=r.ɵglobal.getAllAngularTestabilities(),n=e.length,o=!1,i=function(e){o=o||e,0==--n&&t(o)};e.forEach((function(t){t.whenStable(i)}))}))},t.prototype.findTestabilityInTree=function(t,r,n){if(null==r)return null;var o=t.getTestability(r);return null!=o?o:n?e.ɵgetDOM().isShadowRoot(r)?this.findTestabilityInTree(t,r.host,!0):this.findTestabilityInTree(t,r.parentElement,!0):null},t}();
|
28 | /**
|
29 | * @license
|
30 | * Copyright Google LLC All Rights Reserved.
|
31 | *
|
32 | * Use of this source code is governed by an MIT-style license that can be
|
33 | * found in the LICENSE file at https://angular.io/license
|
34 | */function f(t,e){"undefined"!=typeof COMPILED&&COMPILED||((r.ɵglobal.ng=r.ɵglobal.ng||{})[t]=e)}
|
35 | /**
|
36 | * @license
|
37 | * Copyright Google LLC All Rights Reserved.
|
38 | *
|
39 | * Use of this source code is governed by an MIT-style license that can be
|
40 | * found in the LICENSE file at https://angular.io/license
|
41 | */var y={ApplicationRef:r.ApplicationRef,NgZone:r.NgZone};function h(t){return r.ɵgetDebugNodeR2(t)}function m(t){return f("probe",h),f("coreTokens",Object.assign(Object.assign({},y),function e(t){return t.reduce((function(t,e){return t[e.name]=e.token,t}),{})}(t||[]))),function(){return h}}var g=[{provide:r.APP_INITIALIZER,useFactory:m,deps:[[r.NgProbeToken,new r.Optional]],multi:!0}],v=g,w=new r.InjectionToken("EventManagerPlugins"),_=function(){function t(t,e){var r=this;this._zone=e,this._eventNameToPlugin=new Map,t.forEach((function(t){return t.manager=r})),this._plugins=t.slice().reverse()}return t.prototype.addEventListener=function(t,e,r){return this._findPluginFor(e).addEventListener(t,e,r)},t.prototype.addGlobalEventListener=function(t,e,r){return this._findPluginFor(e).addGlobalEventListener(t,e,r)},t.prototype.getZone=function(){return this._zone},t.prototype._findPluginFor=function(t){var e=this._eventNameToPlugin.get(t);if(e)return e;for(var r=this._plugins,n=0;n<r.length;n++){var o=r[n];if(o.supports(t))return this._eventNameToPlugin.set(t,o),o}throw new Error("No event manager plugin found for event "+t)},t}();_.decorators=[{type:r.Injectable}],_.ctorParameters=function(){return[{type:Array,decorators:[{type:r.Inject,args:[w]}]},{type:r.NgZone}]};var E=function(){function t(t){this._doc=t}return t.prototype.addGlobalEventListener=function(t,r,n){var o=e.ɵgetDOM().getGlobalEventTarget(this._doc,t);if(!o)throw new Error("Unsupported event target "+o+" for event "+r);return this.addEventListener(o,r,n)},t}(),b=function(){function t(){this._stylesSet=new Set}return t.prototype.addStyles=function(t){var e=this,r=new Set;t.forEach((function(t){e._stylesSet.has(t)||(e._stylesSet.add(t),r.add(t))})),this.onStylesAdded(r)},t.prototype.onStylesAdded=function(t){},t.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},t}();b.decorators=[{type:r.Injectable}];var S=function(t){function r(e){var r=t.call(this)||this;return r._doc=e,r._hostNodes=new Set,r._styleNodes=new Set,r._hostNodes.add(e.head),r}return o(r,t),r.prototype._addStylesToHost=function(t,e){var r=this;t.forEach((function(t){var n=r._doc.createElement("style");n.textContent=t,r._styleNodes.add(e.appendChild(n))}))},r.prototype.addHost=function(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)},r.prototype.removeHost=function(t){this._hostNodes.delete(t)},r.prototype.onStylesAdded=function(t){var e=this;this._hostNodes.forEach((function(r){return e._addStylesToHost(t,r)}))},r.prototype.ngOnDestroy=function(){this._styleNodes.forEach((function(t){return e.ɵgetDOM().remove(t)}))},r}(b);S.decorators=[{type:r.Injectable}],S.ctorParameters=function(){return[{type:void 0,decorators:[{type:r.Inject,args:[e.DOCUMENT]}]}]};var T={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},C=/%COMP%/g;function I(t){return"_ngcontent-%COMP%".replace(C,t)}function O(t){return"_nghost-%COMP%".replace(C,t)}function A(t,e,r){for(var n=0;n<e.length;n++){var o=e[n];Array.isArray(o)?A(t,o,r):(o=o.replace(C,t),r.push(o))}return r}function N(t){return function(e){if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}var R=function(){function t(t,e,r){this.eventManager=t,this.sharedStylesHost=e,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new M(t)}return t.prototype.createRenderer=function(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case r.ViewEncapsulation.Emulated:var n=this.rendererByCompId.get(e.id);return n||(n=new D(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n;case r.ViewEncapsulation.Native:case r.ViewEncapsulation.ShadowDom:return new P(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){var o=A(e.id,e.styles,[]);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}},t.prototype.begin=function(){},t.prototype.end=function(){},t}();R.decorators=[{type:r.Injectable}],R.ctorParameters=function(){return[{type:_},{type:S},{type:String,decorators:[{type:r.Inject,args:[r.APP_ID]}]}]};var M=function(){function t(t){this.eventManager=t,this.data=Object.create(null)}return t.prototype.destroy=function(){},t.prototype.createElement=function(t,e){return e?document.createElementNS(T[e]||e,t):document.createElement(t)},t.prototype.createComment=function(t){return document.createComment(t)},t.prototype.createText=function(t){return document.createTextNode(t)},t.prototype.appendChild=function(t,e){t.appendChild(e)},t.prototype.insertBefore=function(t,e,r){t&&t.insertBefore(e,r)},t.prototype.removeChild=function(t,e){t&&t.removeChild(e)},t.prototype.selectRootElement=function(t,e){var r="string"==typeof t?document.querySelector(t):t;if(!r)throw new Error('The selector "'+t+'" did not match any elements');return e||(r.textContent=""),r},t.prototype.parentNode=function(t){return t.parentNode},t.prototype.nextSibling=function(t){return t.nextSibling},t.prototype.setAttribute=function(t,e,r,n){if(n){e=n+":"+e;var o=T[n];o?t.setAttributeNS(o,e,r):t.setAttribute(e,r)}else t.setAttribute(e,r)},t.prototype.removeAttribute=function(t,e,r){if(r){var n=T[r];n?t.removeAttributeNS(n,e):t.removeAttribute(r+":"+e)}else t.removeAttribute(e)},t.prototype.addClass=function(t,e){t.classList.add(e)},t.prototype.removeClass=function(t,e){t.classList.remove(e)},t.prototype.setStyle=function(t,e,n,o){o&r.RendererStyleFlags2.DashCase?t.style.setProperty(e,n,o&r.RendererStyleFlags2.Important?"important":""):t.style[e]=n},t.prototype.removeStyle=function(t,e,n){n&r.RendererStyleFlags2.DashCase?t.style.removeProperty(e):t.style[e]=""},t.prototype.setProperty=function(t,e,r){t[e]=r},t.prototype.setValue=function(t,e){t.nodeValue=e},t.prototype.listen=function(t,e,r){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,N(r)):this.eventManager.addEventListener(t,e,N(r))},t}();"@".charCodeAt(0);var D=function(t){function e(e,r,n,o){var i=t.call(this,e)||this;i.component=n;var a=A(o+"-"+n.id,n.styles,[]);return r.addStyles(a),i.contentAttr=I(o+"-"+n.id),i.hostAttr=O(o+"-"+n.id),i}return o(e,t),e.prototype.applyToHost=function(e){t.prototype.setAttribute.call(this,e,this.hostAttr,"")},e.prototype.createElement=function(e,r){var n=t.prototype.createElement.call(this,e,r);return t.prototype.setAttribute.call(this,n,this.contentAttr,""),n},e}(M),P=function(t){function e(e,n,o,i){var a=t.call(this,e)||this;a.sharedStylesHost=n,a.hostEl=o,a.component=i,a.shadowRoot=i.encapsulation===r.ViewEncapsulation.ShadowDom?o.attachShadow({mode:"open"}):o.createShadowRoot(),a.sharedStylesHost.addHost(a.shadowRoot);for(var s=A(i.id,i.styles,[]),u=0;u<s.length;u++){var c=document.createElement("style");c.textContent=s[u],a.shadowRoot.appendChild(c)}return a}return o(e,t),e.prototype.nodeOrShadowRoot=function(t){return t===this.hostEl?this.shadowRoot:t},e.prototype.destroy=function(){this.sharedStylesHost.removeHost(this.shadowRoot)},e.prototype.appendChild=function(e,r){return t.prototype.appendChild.call(this,this.nodeOrShadowRoot(e),r)},e.prototype.insertBefore=function(e,r,n){return t.prototype.insertBefore.call(this,this.nodeOrShadowRoot(e),r,n)},e.prototype.removeChild=function(e,r){return t.prototype.removeChild.call(this,this.nodeOrShadowRoot(e),r)},e.prototype.parentNode=function(e){return this.nodeOrShadowRoot(t.prototype.parentNode.call(this,this.nodeOrShadowRoot(e)))},e}(M),k=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e.prototype.supports=function(t){return!0},e.prototype.addEventListener=function(t,e,r){var n=this;return t.addEventListener(e,r,!1),function(){return n.removeEventListener(t,e,r)}},e.prototype.removeEventListener=function(t,e,r){return t.removeEventListener(e,r)},e}(E);k.decorators=[{type:r.Injectable}],k.ctorParameters=function(){return[{type:void 0,decorators:[{type:r.Inject,args:[e.DOCUMENT]}]}]};var L={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},j=new r.InjectionToken("HammerGestureConfig"),H=new r.InjectionToken("HammerLoader"),x=function(){function t(){this.events=[],this.overrides={}}return t.prototype.buildHammer=function(t){var e=new Hammer(t,this.options);for(var r in e.get("pinch").set({enable:!0}),e.get("rotate").set({enable:!0}),this.overrides)e.get(r).set(this.overrides[r]);return e},t}();x.decorators=[{type:r.Injectable}];var U=function(t){function e(e,r,n,o){var i=t.call(this,e)||this;return i._config=r,i.console=n,i.loader=o,i}return o(e,t),e.prototype.supports=function(t){return!(!L.hasOwnProperty(t.toLowerCase())&&!this.isCustomEvent(t)||!window.Hammer&&!this.loader&&(this.console.warn('The "'+t+'" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.'),1))},e.prototype.addEventListener=function(t,e,r){var n=this,o=this.manager.getZone();if(e=e.toLowerCase(),!window.Hammer&&this.loader){var i=!1,a=function(){i=!0};return this.loader().then((function(){if(!window.Hammer)return n.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(a=function(){});i||(a=n.addEventListener(t,e,r))})).catch((function(){n.console.warn('The "'+e+'" event cannot be bound because the custom Hammer.JS loader failed.'),a=function(){}})),function(){a()}}return o.runOutsideAngular((function(){var i=n._config.buildHammer(t),a=function(t){o.runGuarded((function(){r(t)}))};return i.on(e,a),function(){i.off(e,a),"function"==typeof i.destroy&&i.destroy()}}))},e.prototype.isCustomEvent=function(t){return this._config.events.indexOf(t)>-1},e}(E);U.decorators=[{type:r.Injectable}],U.ctorParameters=function(){return[{type:void 0,decorators:[{type:r.Inject,args:[e.DOCUMENT]}]},{type:x,decorators:[{type:r.Inject,args:[j]}]},{type:r.ɵConsole},{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[H]}]}]};var B,z=[{provide:w,useClass:U,multi:!0,deps:[e.DOCUMENT,j,r.ɵConsole,[new r.Optional,H]]},{provide:j,useClass:x,deps:[]}],F=z;(B=function B(){}).decorators=[{type:r.NgModule,args:[{providers:z}]}];var V,G=["alt","control","meta","shift"],Z={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},K={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","":"NumLock"},q={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},J=function(t){function r(e){return t.call(this,e)||this}return o(r,t),r.prototype.supports=function(t){return null!=r.parseEventName(t)},r.prototype.addEventListener=function(t,n,o){var i=r.parseEventName(n),a=r.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular((function(){return e.ɵgetDOM().onAndCancel(t,i.domEventName,a)}))},r.parseEventName=function(t){var e=t.toLowerCase().split("."),n=e.shift();if(0===e.length||"keydown"!==n&&"keyup"!==n)return null;var o=r._normalizeKey(e.pop()),i="";if(G.forEach((function(t){var r=e.indexOf(t);r>-1&&(e.splice(r,1),i+=t+".")})),i+=o,0!=e.length||0===o.length)return null;var a={};return a.domEventName=n,a.fullKey=i,a},r.getEventFullKey=function(t){var e="",r=function n(t){var e=t.key;if(null==e){if(null==(e=t.keyIdentifier))return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&K.hasOwnProperty(e)&&(e=K[e]))}return Z[e]||e}(t);return" "===(r=r.toLowerCase())?r="space":"."===r&&(r="dot"),G.forEach((function(n){n!=r&&(0,q[n])(t)&&(e+=n+".")})),e+=r},r.eventCallback=function(t,e,n){return function(o){r.getEventFullKey(o)===t&&n.runGuarded((function(){return e(o)}))}},r._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},r}(E);function W(t){return new X(t.get(e.DOCUMENT))}J.decorators=[{type:r.Injectable}],J.ctorParameters=function(){return[{type:void 0,decorators:[{type:r.Inject,args:[e.DOCUMENT]}]}]},(V=function V(){}).ɵprov=r.ɵɵdefineInjectable({factory:function t(){return r.ɵɵinject(X)},token:V,providedIn:"root"}),V.decorators=[{type:r.Injectable,args:[{providedIn:"root",useExisting:r.forwardRef((function(){return X}))}]}];var X=function(t){function e(e){var r=t.call(this)||this;return r._doc=e,r}return o(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case r.SecurityContext.NONE:return e;case r.SecurityContext.HTML:return r.ɵallowSanitizationBypassAndThrow(e,"HTML")?r.ɵunwrapSafeValue(e):r.ɵ_sanitizeHtml(this._doc,String(e));case r.SecurityContext.STYLE:return r.ɵallowSanitizationBypassAndThrow(e,"Style")?r.ɵunwrapSafeValue(e):e;case r.SecurityContext.SCRIPT:if(r.ɵallowSanitizationBypassAndThrow(e,"Script"))return r.ɵunwrapSafeValue(e);throw new Error("unsafe value used in a script context");case r.SecurityContext.URL:return r.ɵgetSanitizationBypassType(e),r.ɵallowSanitizationBypassAndThrow(e,"URL")?r.ɵunwrapSafeValue(e):r.ɵ_sanitizeUrl(String(e));case r.SecurityContext.RESOURCE_URL:if(r.ɵallowSanitizationBypassAndThrow(e,"ResourceURL"))return r.ɵunwrapSafeValue(e);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+t+" (see http://g.co/ng/security#xss)")}},e.prototype.bypassSecurityTrustHtml=function(t){return r.ɵbypassSanitizationTrustHtml(t)},e.prototype.bypassSecurityTrustStyle=function(t){return r.ɵbypassSanitizationTrustStyle(t)},e.prototype.bypassSecurityTrustScript=function(t){return r.ɵbypassSanitizationTrustScript(t)},e.prototype.bypassSecurityTrustUrl=function(t){return r.ɵbypassSanitizationTrustUrl(t)},e.prototype.bypassSecurityTrustResourceUrl=function(t){return r.ɵbypassSanitizationTrustResourceUrl(t)},e}(V);
|
42 | /**
|
43 | * @license
|
44 | * Copyright Google LLC All Rights Reserved.
|
45 | *
|
46 | * Use of this source code is governed by an MIT-style license that can be
|
47 | * found in the LICENSE file at https://angular.io/license
|
48 | */
|
49 | function Y(){s.makeCurrent(),d.init()}function Q(){return new r.ErrorHandler}function $(){return r.ɵsetDocument(document),document}X.ɵprov=r.ɵɵdefineInjectable({factory:function t(){return W(r.ɵɵinject(r.INJECTOR))},token:X,providedIn:"root"}),X.decorators=[{type:r.Injectable,args:[{providedIn:"root",useFactory:W,deps:[r.Injector]}]}],X.ctorParameters=function(){return[{type:void 0,decorators:[{type:r.Inject,args:[e.DOCUMENT]}]}]};var tt=[{provide:r.PLATFORM_ID,useValue:e.ɵPLATFORM_BROWSER_ID},{provide:r.PLATFORM_INITIALIZER,useValue:Y,multi:!0},{provide:e.DOCUMENT,useFactory:$,deps:[]}],et=[{provide:r.Sanitizer,useExisting:V},{provide:V,useClass:X,deps:[e.DOCUMENT]}],rt=r.createPlatformFactory(r.platformCore,"browser",tt),nt=[et,{provide:r.ɵINJECTOR_SCOPE,useValue:"root"},{provide:r.ErrorHandler,useFactory:Q,deps:[]},{provide:w,useClass:k,multi:!0,deps:[e.DOCUMENT,r.NgZone,r.PLATFORM_ID]},{provide:w,useClass:J,multi:!0,deps:[e.DOCUMENT]},F,{provide:R,useClass:R,deps:[_,S,r.APP_ID]},{provide:r.RendererFactory2,useExisting:R},{provide:b,useExisting:S},{provide:S,useClass:S,deps:[e.DOCUMENT]},{provide:r.Testability,useClass:r.Testability,deps:[r.NgZone]},{provide:_,useClass:_,deps:[w,r.NgZone]},v],ot=function(){function t(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return t.withServerTransition=function(e){return{ngModule:t,providers:[{provide:r.APP_ID,useValue:e.appId},{provide:c,useExisting:r.APP_ID},l]}},t}();
|
50 | /**
|
51 | * @license
|
52 | * Copyright Google LLC All Rights Reserved.
|
53 | *
|
54 | * Use of this source code is governed by an MIT-style license that can be
|
55 | * found in the LICENSE file at https://angular.io/license
|
56 | */
|
57 | function it(){return new at(r.ɵɵinject(e.DOCUMENT))}ot.decorators=[{type:r.NgModule,args:[{providers:nt,exports:[e.CommonModule,r.ApplicationModule]}]}],ot.ctorParameters=function(){return[{type:ot,decorators:[{type:r.Optional},{type:r.SkipSelf},{type:r.Inject,args:[ot]}]}]};var at=function(){function t(t){this._doc=t,this._dom=e.ɵgetDOM()}return t.prototype.addTag=function(t,e){return void 0===e&&(e=!1),t?this._getOrCreateElement(t,e):null},t.prototype.addTags=function(t,e){var r=this;return void 0===e&&(e=!1),t?t.reduce((function(t,n){return n&&t.push(r._getOrCreateElement(n,e)),t}),[]):[]},t.prototype.getTag=function(t){return t&&this._doc.querySelector("meta["+t+"]")||null},t.prototype.getTags=function(t){if(!t)return[];var e=this._doc.querySelectorAll("meta["+t+"]");return e?[].slice.call(e):[]},t.prototype.updateTag=function(t,e){if(!t)return null;e=e||this._parseSelector(t);var r=this.getTag(e);return r?this._setMetaElementAttributes(t,r):this._getOrCreateElement(t,!0)},t.prototype.removeTag=function(t){this.removeTagElement(this.getTag(t))},t.prototype.removeTagElement=function(t){t&&this._dom.remove(t)},t.prototype._getOrCreateElement=function(t,e){if(void 0===e&&(e=!1),!e){var r=this._parseSelector(t),n=this.getTag(r);if(n&&this._containsAttributes(t,n))return n}var o=this._dom.createElement("meta");return this._setMetaElementAttributes(t,o),this._doc.getElementsByTagName("head")[0].appendChild(o),o},t.prototype._setMetaElementAttributes=function(t,e){return Object.keys(t).forEach((function(r){return e.setAttribute(r,t[r])})),e},t.prototype._parseSelector=function(t){var e=t.name?"name":"property";return e+'="'+t[e]+'"'},t.prototype._containsAttributes=function(t,e){return Object.keys(t).every((function(r){return e.getAttribute(r)===t[r]}))},t}();
|
58 | /**
|
59 | * @license
|
60 | * Copyright Google LLC All Rights Reserved.
|
61 | *
|
62 | * Use of this source code is governed by an MIT-style license that can be
|
63 | * found in the LICENSE file at https://angular.io/license
|
64 | */
|
65 | function st(){return new ut(r.ɵɵinject(e.DOCUMENT))}at.ɵprov=r.ɵɵdefineInjectable({factory:it,token:at,providedIn:"root"}),at.decorators=[{type:r.Injectable,args:[{providedIn:"root",useFactory:it,deps:[]}]}],at.ctorParameters=function(){return[{type:void 0,decorators:[{type:r.Inject,args:[e.DOCUMENT]}]}]};var ut=function(){function t(t){this._doc=t}return t.prototype.getTitle=function(){return this._doc.title},t.prototype.setTitle=function(t){this._doc.title=t||""},t}();ut.ɵprov=r.ɵɵdefineInjectable({factory:st,token:ut,providedIn:"root"}),ut.decorators=[{type:r.Injectable,args:[{providedIn:"root",useFactory:st,deps:[]}]}],ut.ctorParameters=function(){return[{type:void 0,decorators:[{type:r.Inject,args:[e.DOCUMENT]}]}]};
|
66 | /**
|
67 | * @license
|
68 | * Copyright Google LLC All Rights Reserved.
|
69 | *
|
70 | * Use of this source code is governed by an MIT-style license that can be
|
71 | * found in the LICENSE file at https://angular.io/license
|
72 | */
|
73 | var ct,pt="undefined"!=typeof window&&window||{},lt=function lt(t,e){this.msPerTick=t,this.numTicks=e},dt=function(){function t(t){this.appRef=t.injector.get(r.ApplicationRef)}return t.prototype.timeChangeDetection=function(t){var r=t&&t.record,n=null!=pt.console.profile;r&&n&&pt.console.profile("Change Detection");for(var o=e.ɵgetDOM().performanceNow(),i=0;i<5||e.ɵgetDOM().performanceNow()-o<500;)this.appRef.tick(),i++;var a=e.ɵgetDOM().performanceNow();r&&n&&pt.console.profileEnd("Change Detection");var s=(a-o)/i;return pt.console.log("ran "+i+" change detection cycles"),pt.console.log(s.toFixed(2)+" ms per check"),new lt(s,i)},t}(),ft=function(){function t(){this.store={},this.onSerializeCallbacks={}}return t.init=function(e){var r=new t;return r.store=e,r},t.prototype.get=function(t,e){return void 0!==this.store[t]?this.store[t]:e},t.prototype.set=function(t,e){this.store[t]=e},t.prototype.remove=function(t){delete this.store[t]},t.prototype.hasKey=function(t){return this.store.hasOwnProperty(t)},t.prototype.onSerialize=function(t,e){this.onSerializeCallbacks[t]=e},t.prototype.toJson=function(){for(var t in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(t))try{this.store[t]=this.onSerializeCallbacks[t]()}catch(t){console.warn("Exception in onSerialize callback: ",t)}return JSON.stringify(this.store)},t}();
|
74 | /**
|
75 | * @license
|
76 | * Copyright Google LLC All Rights Reserved.
|
77 | *
|
78 | * Use of this source code is governed by an MIT-style license that can be
|
79 | * found in the LICENSE file at https://angular.io/license
|
80 | */function yt(t,e){var r=t.getElementById(e+"-state"),n={};if(r&&r.textContent)try{n=JSON.parse(function o(t){var e={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return t.replace(/&[^;]+;/g,(function(t){return e[t]}))}(r.textContent))}catch(t){console.warn("Exception while restoring TransferState for app "+e,t)}return ft.init(n)}ft.decorators=[{type:r.Injectable}],(ct=function ct(){}).decorators=[{type:r.NgModule,args:[{providers:[{provide:ft,useFactory:yt,deps:[e.DOCUMENT,r.APP_ID]}]}]}];
|
81 | /**
|
82 | * @license
|
83 | * Copyright Google LLC All Rights Reserved.
|
84 | *
|
85 | * Use of this source code is governed by an MIT-style license that can be
|
86 | * found in the LICENSE file at https://angular.io/license
|
87 | */
|
88 | var ht=function(){function t(){}return t.all=function(){return function(){return!0}},t.css=function(t){return function(r){return null!=r.nativeElement&&function n(t,r){return!!e.ɵgetDOM().isElementNode(t)&&(t.matches&&t.matches(r)||t.msMatchesSelector&&t.msMatchesSelector(r)||t.webkitMatchesSelector&&t.webkitMatchesSelector(r))}
|
89 | /**
|
90 | * @license
|
91 | * Copyright Google LLC All Rights Reserved.
|
92 | *
|
93 | * Use of this source code is governed by an MIT-style license that can be
|
94 | * found in the LICENSE file at https://angular.io/license
|
95 | */
|
96 | /**
|
97 | * @license
|
98 | * Copyright Google LLC All Rights Reserved.
|
99 | *
|
100 | * Use of this source code is governed by an MIT-style license that can be
|
101 | * found in the LICENSE file at https://angular.io/license
|
102 | */(r.nativeElement,t)}},t.directive=function(t){return function(e){return-1!==e.providerTokens.indexOf(t)}},t}(),mt=new r.Version("10.0.7");
|
103 | /**
|
104 | * @license
|
105 | * Copyright Google LLC All Rights Reserved.
|
106 | *
|
107 | * Use of this source code is governed by an MIT-style license that can be
|
108 | * found in the LICENSE file at https://angular.io/license
|
109 | */
|
110 | /**
|
111 | * @license
|
112 | * Copyright Google LLC All Rights Reserved.
|
113 | *
|
114 | * Use of this source code is governed by an MIT-style license that can be
|
115 | * found in the LICENSE file at https://angular.io/license
|
116 | */
|
117 | /**
|
118 | * @license
|
119 | * Copyright Google LLC All Rights Reserved.
|
120 | *
|
121 | * Use of this source code is governed by an MIT-style license that can be
|
122 | * found in the LICENSE file at https://angular.io/license
|
123 | */
|
124 | Object.defineProperty(t,"ɵgetDOM",{enumerable:!0,get:function(){return e.ɵgetDOM}}),t.BrowserModule=ot,t.BrowserTransferStateModule=ct,t.By=ht,t.DomSanitizer=V,t.EVENT_MANAGER_PLUGINS=w,t.EventManager=_,t.HAMMER_GESTURE_CONFIG=j,t.HAMMER_LOADER=H,t.HammerGestureConfig=x,t.HammerModule=B,t.Meta=at,t.Title=ut,t.TransferState=ft,t.VERSION=mt,t.disableDebugTools=function gt(){f("profiler",null)}
|
125 | /**
|
126 | * @license
|
127 | * Copyright Google LLC All Rights Reserved.
|
128 | *
|
129 | * Use of this source code is governed by an MIT-style license that can be
|
130 | * found in the LICENSE file at https://angular.io/license
|
131 | */,t.enableDebugTools=function vt(t){return f("profiler",new dt(t)),t},t.makeStateKey=function wt(t){return t},t.platformBrowser=rt,t.ɵBROWSER_SANITIZATION_PROVIDERS=et,t.ɵBROWSER_SANITIZATION_PROVIDERS__POST_R3__=[],t.ɵBrowserDomAdapter=s,t.ɵBrowserGetTestability=d,t.ɵDomEventsPlugin=k,t.ɵDomRendererFactory2=R,t.ɵDomSanitizerImpl=X,t.ɵDomSharedStylesHost=S,t.ɵELEMENT_PROBE_PROVIDERS=v,t.ɵELEMENT_PROBE_PROVIDERS__POST_R3__=[],t.ɵHAMMER_PROVIDERS__POST_R3__=[],t.ɵHammerGesturesPlugin=U,t.ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS=tt,t.ɵKeyEventsPlugin=J,t.ɵNAMESPACE_URIS=T,t.ɵSharedStylesHost=b,t.ɵTRANSITION_ID=c,t.ɵangular_packages_platform_browser_platform_browser_a=Q,t.ɵangular_packages_platform_browser_platform_browser_b=$,t.ɵangular_packages_platform_browser_platform_browser_c=nt,t.ɵangular_packages_platform_browser_platform_browser_d=it,t.ɵangular_packages_platform_browser_platform_browser_e=st,t.ɵangular_packages_platform_browser_platform_browser_f=yt,t.ɵangular_packages_platform_browser_platform_browser_g=E,t.ɵangular_packages_platform_browser_platform_browser_h=z,t.ɵangular_packages_platform_browser_platform_browser_i=F,t.ɵangular_packages_platform_browser_platform_browser_j=W,t.ɵangular_packages_platform_browser_platform_browser_k=p,t.ɵangular_packages_platform_browser_platform_browser_l=l,t.ɵangular_packages_platform_browser_platform_browser_m=m,t.ɵangular_packages_platform_browser_platform_browser_n=g,t.ɵangular_packages_platform_browser_platform_browser_o=a,t.ɵescapeHtml=function _t(t){var e={"&":"&a;",'"':"&q;","'":"&s;","<":"&l;",">":"&g;"};return t.replace(/[&"'<>]/g,(function(t){return e[t]}))},t.ɵflattenStyles=A,t.ɵinitDomAdapter=Y,t.ɵshimContentAttribute=I,t.ɵshimHostAttribute=O,Object.defineProperty(t,"__esModule",{value:!0})})); |
\ | No newline at end of file |