source: trip-planner-front/node_modules/zone.js/bundles/zone-legacy.umd.min.js@ b738035

Last change on this file since b738035 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 8.0 KB
RevLine 
[6a3a178]1"use strict";
2/**
3 * @license Angular v12.0.0-next.0
4 * (c) 2010-2020 Google LLC. https://angular.io/
5 * License: MIT
6 */!function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){
7/**
8 * @license
9 * Copyright Google LLC All Rights Reserved.
10 *
11 * Use of this source code is governed by an MIT-style license that can be
12 * found in the LICENSE file at https://angular.io/license
13 */
14var e,t,n,r,o,a,c;function i(){e=Zone.__symbol__,t=Object[e("defineProperty")]=Object.defineProperty,n=Object[e("getOwnPropertyDescriptor")]=Object.getOwnPropertyDescriptor,r=Object.create,o=e("unconfigurables"),Object.defineProperty=function(e,t,n){if(u(e,t))throw new TypeError("Cannot assign to read only property '"+t+"' of "+e);var r=n.configurable;return"prototype"!==t&&(n=p(e,t,n)),f(e,t,n,r)},Object.defineProperties=function(e,t){return Object.keys(t).forEach((function(n){Object.defineProperty(e,n,t[n])})),e},Object.create=function(e,t){return"object"!=typeof t||Object.isFrozen(t)||Object.keys(t).forEach((function(n){t[n]=p(e,n,t[n])})),r(e,t)},Object.getOwnPropertyDescriptor=function(e,t){var r=n(e,t);return r&&u(e,t)&&(r.configurable=!1),r}}function l(e,t,n){var r=n.configurable;return f(e,t,n=p(e,t,n),r)}function u(e,t){return e&&e[o]&&e[o][t]}function p(e,n,r){return Object.isFrozen(r)||(r.configurable=!0),r.configurable||(e[o]||Object.isFrozen(e)||t(e,o,{writable:!0,value:{}}),e[o]&&(e[o][n]=!0)),r}function f(e,n,r,o){try{return t(e,n,r)}catch(i){if(!r.configurable)throw i;void 0===o?delete r.configurable:r.configurable=o;try{return t(e,n,r)}catch(t){var a=!1;if("createdCallback"!==n&&"attachedCallback"!==n&&"detachedCallback"!==n&&"attributeChangedCallback"!==n||(a=!0),!a)throw t;var c=null;try{c=JSON.stringify(r)}catch(e){c=r.toString()}console.log("Attempting to configure '"+n+"' with descriptor '"+c+"' on object '"+e+"' and got error, giving up: "+t)}}}
15/**
16 * @license
17 * Copyright Google LLC All Rights Reserved.
18 *
19 * Use of this source code is governed by an MIT-style license that can be
20 * found in the LICENSE file at https://angular.io/license
21 */function s(e,t){var n=t.getGlobalObjects(),r=n.eventNames,o=n.globalSources,a=n.zoneSymbolEventNames,c=n.TRUE_STR,i=n.FALSE_STR,l=n.ZONE_SYMBOL_PREFIX,u="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,WebSocket".split(","),p=[],f=e.wtf,s="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".split(",");f?p=s.map((function(e){return"HTML"+e+"Element"})).concat(u):e.EventTarget?p.push("EventTarget"):p=u;for(var b=e.__Zone_disable_IE_check||!1,d=e.__Zone_enable_cross_context_check||!1,g=t.isIEOrEdge(),y="function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }",v={MSPointerCancel:"pointercancel",MSPointerDown:"pointerdown",MSPointerEnter:"pointerenter",MSPointerHover:"pointerhover",MSPointerLeave:"pointerleave",MSPointerMove:"pointermove",MSPointerOut:"pointerout",MSPointerOver:"pointerover",MSPointerUp:"pointerup"},O=0;O<r.length;O++){var h=l+((T=r[O])+i),E=l+(T+c);a[T]={},a[T][i]=h,a[T][c]=E}for(O=0;O<s.length;O++)for(var _=s[O],m=o[_]={},S=0;S<r.length;S++){var T;m[T=r[S]]=_+".addEventListener:"+T}var P=[];for(O=0;O<p.length;O++){var j=e[p[O]];P.push(j&&j.prototype)}return t.patchEventTarget(e,P,{vh:function(e,t,n,r){if(!b&&g){if(d)try{var o;if("[object FunctionWrapper]"===(o=t.toString())||o==y)return e.apply(n,r),!1}catch(t){return e.apply(n,r),!1}else if("[object FunctionWrapper]"===(o=t.toString())||o==y)return e.apply(n,r),!1}else if(d)try{t.toString()}catch(t){return e.apply(n,r),!1}return!0},transferEventName:function(e){return v[e]||e}}),Zone[t.symbol("patchEventTarget")]=!!e.EventTarget,!0}
22/**
23 * @license
24 * Copyright Google LLC All Rights Reserved.
25 *
26 * Use of this source code is governed by an MIT-style license that can be
27 * found in the LICENSE file at https://angular.io/license
28 */
29/**
30 * @license
31 * Copyright Google LLC All Rights Reserved.
32 *
33 * Use of this source code is governed by an MIT-style license that can be
34 * found in the LICENSE file at https://angular.io/license
35 */
36function b(e,t){var n=e.getGlobalObjects();if((!n.isNode||n.isMix)&&!function r(e,t){var n=e.getGlobalObjects();if((n.isBrowser||n.isMix)&&!e.ObjectGetOwnPropertyDescriptor(HTMLElement.prototype,"onclick")&&"undefined"!=typeof Element){var r=e.ObjectGetOwnPropertyDescriptor(Element.prototype,"onclick");if(r&&!r.configurable)return!1;if(r){e.ObjectDefineProperty(Element.prototype,"onclick",{enumerable:!0,configurable:!0,get:function(){return!0}});var o=!!document.createElement("div").onclick;return e.ObjectDefineProperty(Element.prototype,"onclick",r),o}}var a=t.XMLHttpRequest;if(!a)return!1;var c=a.prototype,i=e.ObjectGetOwnPropertyDescriptor(c,"onreadystatechange");if(i)return e.ObjectDefineProperty(c,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return!0}}),o=!!(u=new a).onreadystatechange,e.ObjectDefineProperty(c,"onreadystatechange",i||{}),o;var l=e.symbol("fake");e.ObjectDefineProperty(c,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return this[l]},set:function(e){this[l]=e}});var u=new a,p=function(){};return u.onreadystatechange=p,o=u[l]===p,u.onreadystatechange=null,o}(e,t)){var o="undefined"!=typeof WebSocket;!function a(e){for(var t=e.getGlobalObjects().eventNames,n=e.symbol("unbound"),r=function(r){var o=t[r],a="on"+o;self.addEventListener(o,(function(t){var r,o,c=t.target;for(o=c?c.constructor.name+"."+a:"unknown."+a;c;)c[a]&&!c[a][n]&&((r=e.wrapWithCurrentZone(c[a],o))[n]=c[a],c[a]=r),c=c.parentElement}),!0)},o=0;o<t.length;o++)r(o)}
37/**
38 * @license
39 * Copyright Google LLC All Rights Reserved.
40 *
41 * Use of this source code is governed by an MIT-style license that can be
42 * found in the LICENSE file at https://angular.io/license
43 */(e),e.patchClass("XMLHttpRequest"),o&&function c(e,t){var n=e.getGlobalObjects(),r=n.ADD_EVENT_LISTENER_STR,o=n.REMOVE_EVENT_LISTENER_STR,a=t.WebSocket;t.EventTarget||e.patchEventTarget(t,[a.prototype]),t.WebSocket=function(t,n){var c,i,l=arguments.length>1?new a(t,n):new a(t),u=e.ObjectGetOwnPropertyDescriptor(l,"onmessage");return u&&!1===u.configurable?(c=e.ObjectCreate(l),i=l,[r,o,"send","close"].forEach((function(t){c[t]=function(){var n=e.ArraySlice.call(arguments);if(t===r||t===o){var a=n.length>0?n[0]:void 0;if(a){var i=Zone.__symbol__("ON_PROPERTY"+a);l[i]=c[i]}}return l[t].apply(l,n)}}))):c=l,e.patchOnProperties(c,["close","error","message","open"],i),c};var c=t.WebSocket;for(var i in a)c[i]=a[i]}(e,t),Zone[e.symbol("patchEvents")]=!0}}
44/**
45 * @license
46 * Copyright Google LLC All Rights Reserved.
47 *
48 * Use of this source code is governed by an MIT-style license that can be
49 * found in the LICENSE file at https://angular.io/license
50 */
51a="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},c=a.__Zone_symbol_prefix||"__zone_symbol__",a[function d(e){return c+e}("legacyPatch")]=function(){var e=a.Zone;e.__load_patch("defineProperty",(function(e,t,n){n._redefineProperty=l,i()})),e.__load_patch("registerElement",(function(e,t,n){!function r(e,t){var n=t.getGlobalObjects();(n.isBrowser||n.isMix)&&"registerElement"in e.document&&t.patchCallbacks(t,document,"Document","registerElement",["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"])}(e,n)})),e.__load_patch("EventTargetLegacy",(function(e,t,n){s(e,n),b(n,e)}))}}));
Note: See TracBrowser for help on using the repository browser.