project-beverage-vending-ma.../client app/www/build/polyfills.js

4 lines
78 KiB
JavaScript
Raw Normal View History

2019-11-12 11:56:59 +01:00
!function(t){"use strict";function n(t,n){return n={exports:{}},t(n,n.exports),n.exports}function e(t){return isFinite(t=+t)&&0!=t?t<0?-e(-t):Math.log(t+Math.sqrt(t*t+1)):t}function r(t,n){var e,o,i=arguments.length<3?t:arguments[2];return $s(t)===i?t[n]:(e=Xs.f(t,n))?Ys(e,"value")?e.value:void 0!==e.get?e.get.call(i):void 0:Qs(o=Ks(t))?r(o,n,i):void 0}function o(t,n,e){var r,i,u=arguments.length<4?t:arguments[3],a=wl.f(Ol(t),n);if(!a){if(Tl(i=Sl(t)))return o(i,n,e,u);a=El(0)}return kl(a,"value")?!(a.writable===!1||!Tl(u))&&(r=wl.f(u,n)||El(0),r.value=e,ml.f(u,n,r),!0):void 0!==a.set&&(a.set.call(u,e),!0)}var i=Math.ceil,u=Math.floor,a=function(t){return isNaN(t=+t)?0:(t>0?u:i)(t)},c=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t},f=a,s=c,l=function(t){return function(n,e){var r,o,i=String(s(n)),u=f(e),a=i.length;return u<0||u>=a?t?"":void 0:(r=i.charCodeAt(u),r<55296||r>56319||u+1===a||(o=i.charCodeAt(u+1))<56320||o>57343?t?i.charAt(u):r:t?i.slice(u,u+2):(r-55296<<10)+(o-56320)+65536)}},h=!1,p="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},v=n(function(t){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)}),d=n(function(t){var n=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)}),g=function(t){return"object"==typeof t?null!==t:"function"==typeof t},y=g,b=function(t){if(!y(t))throw TypeError(t+" is not an object!");return t},m=function(t){try{return!!t()}catch(t){return!0}},w=!m(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),S=g,k=v.document,_=S(k)&&S(k.createElement),E=function(t){return _?k.createElement(t):{}},O=!w&&!m(function(){return 7!=Object.defineProperty(E("div"),"a",{get:function(){return 7}}).a}),T=g,F=function(t,n){if(!T(t))return t;var e,r;if(n&&"function"==typeof(e=t.toString)&&!T(r=e.call(t)))return r;if("function"==typeof(e=t.valueOf)&&!T(r=e.call(t)))return r;if(!n&&"function"==typeof(e=t.toString)&&!T(r=e.call(t)))return r;throw TypeError("Can't convert object to primitive value")},P=b,M=O,I=F,j=Object.defineProperty,A=w?Object.defineProperty:function(t,n,e){if(P(t),n=I(n,!0),P(e),M)try{return j(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t},x={f:A},D=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}},N=x,R=D,C=w?function(t,n,e){return N.f(t,n,R(1,e))}:function(t,n,e){return t[n]=e,t},L={}.hasOwnProperty,z=function(t,n){return L.call(t,n)},Z=0,W=Math.random(),B=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++Z+W).toString(36))},U=n(function(t){var n=v,e=C,r=z,o=B("src"),i="toString",u=Function[i],a=(""+u).split(i);d.inspectSource=function(t){return u.call(t)},(t.exports=function(t,i,u,c){var f="function"==typeof u;f&&(r(u,"name")||e(u,"name",i)),t[i]!==u&&(f&&(r(u,o)||e(u,o,t[i]?""+t[i]:a.join(String(i)))),t===n?t[i]=u:c?t[i]?t[i]=u:e(t,i,u):(delete t[i],e(t,i,u)))})(Function.prototype,i,function(){return"function"==typeof this&&this[o]||u.call(this)})}),q=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t},H=q,V=function(t,n,e){if(H(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}},G=v,X=d,K=C,Y=U,J=V,Q="prototype",$=function(t,n,e){var r,o,i,u,a=t&$.F,c=t&$.G,f=t&$.S,s=t&$.P,l=t&$.B,h=c?G:f?G[n]||(G[n]={}):(G[n]||{})[Q],p=c?X:X[n]||(X[n]={}),v=p[Q]||(p[Q]={});c&&(e=n);for(r in e)o=!a&&h&&void 0!==h[r],i=(o?h:e)[r],u=l&&o?J(i,G):s&&"function"==typeof i?J(Function.call,i):i,h&&Y(h,r,i,t&$.U),p[r]!=i&&K(p,r,u),s&&v[r]!=i&&(v[r]=i)};G.core=X,$.F=1,$.G=2,$.S=4,$.P=8,$.B=16,$.W=32,$.U=64,$.R=128;var tt=$,nt={},et={}.toString,rt=function(t){return et.call(t).slice(8,-1)},ot=rt,it=Object("z").propertyIsEnumerable(0)?Object:function(t
a:t})||"{}"!=gf(Object(t))})),"JSON",{stringify:function(t){if(void 0!==t&&!If(t)){for(var n,e,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);return n=r[1],"function"==typeof n&&(e=n),!e&&tf(n)||(n=function(t,n){if(e&&(n=e.call(this,t,n)),!If(n))return n}),r[1]=n,gf.apply(df,r)}}}),vf[yf][mf]||C(vf[yf],mf,vf[yf].valueOf),Gc(vf,"Symbol"),Gc(Math,"Math",!0),Gc(zc.JSON,"JSON",!0);var Zf=tt;Zf(Zf.S,"Object",{create:Xt});var Wf=tt;Wf(Wf.S+Wf.F*!w,"Object",{defineProperty:x.f});var Bf=tt;Bf(Bf.S+Bf.F*!w,"Object",{defineProperties:zt});var Uf=tt,qf=d,Hf=m,Vf=function(t,n){var e=(qf.Object||{})[t]||Object[t],r={};r[t]=n(e),Uf(Uf.S+Uf.F*Hf(function(){e(1)}),"Object",r)},Gf=ct,Xf=Pi.f;Vf("getOwnPropertyDescriptor",function(){return function(t,n){return Xf(Gf(t),n)}});var Kf=an,Yf=hn;Vf("getPrototypeOf",function(){return function(t){return Yf(Kf(t))}});var Jf=an,Qf=Nt;Vf("keys",function(){return function(t){return Qf(Jf(t))}}),Vf("getOwnPropertyNames",function(){return Lc.f});var $f=g,ts=ei.onFreeze;Vf("freeze",function(t){return function(n){return t&&$f(n)?t(ts(n)):n}});var ns=g,es=ei.onFreeze;Vf("seal",function(t){return function(n){return t&&ns(n)?t(es(n)):n}});var rs=g,os=ei.onFreeze;Vf("preventExtensions",function(t){return function(n){return t&&rs(n)?t(os(n)):n}});var is=g;Vf("isFrozen",function(t){return function(n){return!is(n)||!!t&&t(n)}});var us=g;Vf("isSealed",function(t){return function(n){return!us(n)||!!t&&t(n)}});var as=g;Vf("isExtensible",function(t){return function(n){return!!as(n)&&(!t||t(n))}});var cs=Nt,fs=Fc,ss=mi,ls=an,hs=it,ps=Object.assign,vs=!ps||m(function(){var t={},n={},e=Symbol(),r="abcdefghijklmnopqrst";return t[e]=7,r.split("").forEach(function(t){n[t]=t}),7!=ps({},t)[e]||Object.keys(ps({},n)).join("")!=r})?function(t,n){for(var e=ls(t),r=arguments.length,o=1,i=fs.f,u=ss.f;r>o;)for(var a,c=hs(arguments[o++]),f=i?cs(c).concat(i(c)):cs(c),s=f.length,l=0;s>l;)u.call(c,a=f[l++])&&(e[a]=c[a]);return e}:ps,ds=tt;ds(ds.S+ds.F,"Object",{assign:vs});var gs=Object.is||function(t,n){return t===n?0!==t||1/t===1/n:t!=t&&n!=n},ys=tt;ys(ys.S,"Object",{is:gs});var bs=tt;bs(bs.S,"Object",{setPrototypeOf:Ai.set});var ms=tt,ws=ic;ms(ms.G+ms.F*(parseFloat!=ws),{parseFloat:ws});var Ss=tt,ks=hc;Ss(Ss.G+Ss.F*(parseInt!=ks),{parseInt:ks});var _s=tt,Es=q,Os=b,Ts=(v.Reflect||{}).apply,Fs=Function.apply;_s(_s.S+_s.F*!m(function(){Ts(function(){})}),"Reflect",{apply:function(t,n,e){var r=Es(t),o=Os(e);return Ts?Ts(r,n,o):Fs.call(r,n,o)}});var Ps=tt,Ms=Xt,Is=q,js=b,As=g,xs=m,Ds=ko,Ns=(v.Reflect||{}).construct,Rs=xs(function(){function t(){}return!(Ns(function(){},[],t)instanceof t)}),Cs=!xs(function(){Ns(function(){})});Ps(Ps.S+Ps.F*(Rs||Cs),"Reflect",{construct:function(t,n){Is(t),js(n);var e=arguments.length<3?t:Is(arguments[2]);if(Cs&&!Rs)return Ns(t,n,e);if(t==e){switch(n.length){case 0:return new t;case 1:return new t(n[0]);case 2:return new t(n[0],n[1]);case 3:return new t(n[0],n[1],n[2]);case 4:return new t(n[0],n[1],n[2],n[3])}var r=[null];return r.push.apply(r,n),new(Ds.apply(t,r))}var o=e.prototype,i=Ms(As(o)?o:Object.prototype),u=Function.apply.call(t,i,n);return As(u)?u:i}});var Ls=x,zs=tt,Zs=b,Ws=F;zs(zs.S+zs.F*m(function(){Reflect.defineProperty(Ls.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,n,e){Zs(t),n=Ws(n,!0),Zs(e);try{return Ls.f(t,n,e),!0}catch(t){return!1}}});var Bs=tt,Us=Pi.f,qs=b;Bs(Bs.S,"Reflect",{deleteProperty:function(t,n){var e=Us(qs(t),n);return!(e&&!e.configurable)&&delete t[n]}});var Hs=tt,Vs=b,Gs=function(t){this._t=Vs(t),this._i=0;var n,e=this._k=[];for(n in t)e.push(n)};on(Gs,"Object",function(){var t,n=this,e=n._k;do if(n._i>=e.length)return{value:void 0,done:!0};while(!((t=e[n._i++])in n._t));return{value:t,done:!1}}),Hs(Hs.S,"Reflect",{enumerate:function(t){return new Gs(t)}});var Xs=Pi,Ks=hn,Ys=z,Js=tt,Qs=g,$s=b;Js(Js.S,"Reflect",{get:r});var tl=Pi,nl=tt,el=b;nl(nl.S,"Reflect",{getOwnPropertyDescriptor:function(t,n){return tl.f(el(t),n)}});var rl=tt,ol=hn,il=b;rl(rl.S,"Reflect",{getPrototypeOf:function(t){return ol(il(t))}});var ul=tt;ul(ul.S,"Reflect",{has:f
e?n=W.split(",").map(function(t){return"HTML"+t+"Element"}).concat(B):t[U]?n.push(U):n=B;for(var r=0;r<n.length;r++){var o=t[n[r]];c(o&&o.prototype)}}function w(t){var n=t.WebSocket;t.EventTarget||c(n.prototype),t.WebSocket=function(t,e){var o,i=arguments.length>1?new n(t,e):new n(t),u=Object.getOwnPropertyDescriptor(i,"onmessage");return u&&u.configurable===!1?(o=Object.create(i),["addEventListener","removeEventListener","send","close"].forEach(function(t){o[t]=function(){return i[t].apply(i,arguments)}})):o=i,r(o,["close","error","message","open"]),o};for(var e in n)t.WebSocket[e]=n[e]}function S(t){if(!M){var n="undefined"!=typeof WebSocket;k()?(I&&r(HTMLElement.prototype,q),r(XMLHttpRequest.prototype,null),"undefined"!=typeof IDBIndex&&(r(IDBIndex.prototype,null),r(IDBRequest.prototype,null),r(IDBOpenDBRequest.prototype,null),r(IDBDatabase.prototype,null),r(IDBTransaction.prototype,null),r(IDBCursor.prototype,null)),n&&r(WebSocket.prototype,null)):(_(),f("XMLHttpRequest"),n&&w(t))}}function k(){if(I&&!Object.getOwnPropertyDescriptor(HTMLElement.prototype,"onclick")&&"undefined"!=typeof Element){var t=Object.getOwnPropertyDescriptor(Element.prototype,"onclick");if(t&&!t.configurable)return!1}Object.defineProperty(XMLHttpRequest.prototype,"onreadystatechange",{get:function(){return!0}});var n=new XMLHttpRequest,e=!!n.onreadystatechange;return Object.defineProperty(XMLHttpRequest.prototype,"onreadystatechange",{}),e}function _(){for(var t=function(t){var n=q[t],e="on"+n;self.addEventListener(n,function(t){var n,r,o=t.target;for(r=o?o.constructor.name+"."+e:"unknown."+e;o;)o[e]&&!o[e][H]&&(n=Zone.current.wrap(o[e],r),n[H]=o[e],o[e]=n),o=o.parentElement},!0)},n=0;n<q.length;n++)t(n)}function E(t){if(I&&"registerElement"in t.document){var n=document.registerElement,e=["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"];document.registerElement=function(t,r){return r&&r.prototype&&e.forEach(function(t){var n="Document.registerElement::"+t;if(r.prototype.hasOwnProperty(t)){var e=Object.getOwnPropertyDescriptor(r.prototype,t);e&&e.value?(e.value=Zone.current.wrap(e.value,n),d(r.prototype,t,e)):r.prototype[t]=Zone.current.wrap(r.prototype[t],n)}else r.prototype[t]&&(r.prototype[t]=Zone.current.wrap(r.prototype[t],n))}),n.apply(document,[t,r])}}}function O(t){function n(t){var n=t[Q];return n}function e(t){var n=t.data;n.target.addEventListener("readystatechange",function(){n.target.readyState===n.target.DONE&&(n.aborted||t.invoke())});var e=n.target[Q];return e||(n.target[Q]=t),u.apply(n.target,n.args),t}function r(){}function o(t){var n=t.data;return n.aborted=!0,a.apply(n.target,n.args)}var i=l(t.XMLHttpRequest.prototype,"open",function(){return function(t,n){return t[$]=0==n[2],i.apply(t,n)}}),u=l(t.XMLHttpRequest.prototype,"send",function(){return function(t,n){var i=Zone.current;if(t[$])return u.apply(t,n);var a={target:t,isPeriodic:!1,delay:null,args:n,aborted:!1};return i.scheduleMacroTask("XMLHttpRequest.send",r,a,e,o)}}),a=l(t.XMLHttpRequest.prototype,"abort",function(t){return function(t,e){var r=n(t);if(r&&"string"==typeof r.type){if(null==r.cancelFn)return;r.zone.cancelTask(r)}}})}var T=(function(t){function n(t){return"__zone_symbol__"+t}function e(){0==O&&0==k.length&&(t[b]?t[b].resolve(0)[m](i):t[y](i,0))}function r(t){e(),k.push(t)}function o(t){var n=t&&t.rejection;n&&console.error("Unhandled Promise rejection:",n instanceof Error?n.message:n,"; Zone:",t.zone.name,"; Task:",t.task&&t.task.source,"; Value:",n,n instanceof Error?n.stack:void 0),console.error(t)}function i(){if(!_){for(_=!0;k.length;){var t=k;k=[];for(var n=0;n<t.length;n++){var e=t[n];try{e.zone.runTask(e,null,null)}catch(t){o(t)}}}for(;E.length;)for(var r=function(){var t=E.shift();try{t.zone.runGuarded(function(){throw t})}catch(t){o(t)}};E.length;)r();_=!1}}function u(t){return t&&t.then}function a(t){return t}function c(t){return x.reject(t)}function f(t,n){return function(e){s(t,n,e)}}function s(t,n,r){if(t[T]===M)if(r instanceof x&&r[T]!==M)l(r),s(t,r[T],r[F]);else if(u(r))r.then(f(t,n),f(t,!1));else{t[T]=n