@angular/platform-browser 10.0.6 → 10.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v10.0.6
2
+ * @license Angular v10.0.10
3
3
  * (c) 2010-2020 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -38,7 +38,7 @@
38
38
  *
39
39
  * Use of this source code is governed by an MIT-style license that can be
40
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="";return 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?null:{domEventName:n,fullKey:i}},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);
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
42
  /**
43
43
  * @license
44
44
  * Copyright Google LLC All Rights Reserved.
@@ -99,7 +99,7 @@ var ht=function(){function t(){}return t.all=function(){return function(){return
99
99
  *
100
100
  * Use of this source code is governed by an MIT-style license that can be
101
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.6");
102
+ */(r.nativeElement,t)}},t.directive=function(t){return function(e){return-1!==e.providerTokens.indexOf(t)}},t}(),mt=new r.Version("10.0.10");
103
103
  /**
104
104
  * @license
105
105
  * Copyright Google LLC All Rights Reserved.