@@ -5,3 +5,6 @@ if (!window.Promise || !window.fetch){
if(window.Promise&&window.Promise.finally){
(function(self,undefined){functionCreateMethodProperty(e,r,t){vara={value:t,writable:!0,enumerable:!1,configurable:!0};Object.defineProperty(e,r,a)}functionGet(n,t){returnn[t]}functionIsCallable(n){return"function"==typeofn}functionToObject(e){if(null===e||e===undefined)throwTypeError();returnObject(e)}functionGetV(t,e){returnToObject(t)[e]}functionGetMethod(e,n){varr=GetV(e,n);if(null===r||r===undefined)returnundefined;if(!1===IsCallable(r))thrownewTypeError("Method not callable: "+n);returnr}functionType(e){switch(typeofe){case"undefined":return"undefined";case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"symbol":return"symbol";default:returnnull===e?"null":"Symbol"inself&&(einstanceofself.Symbol||e.constructor===self.Symbol)?"symbol":"object"}}functionIsConstructor(t){return"object"===Type(t)&&("function"==typeoft&&!!t.prototype)}functionSpeciesConstructor(e,o){varr=Get(e,"constructor");if(r===undefined)returno;if("object"!==Type(r))thrownewTypeError("O.constructor is not an Object");varn="function"==typeofself.Symbol&&"symbol"==typeofself.Symbol.species?r[self.Symbol.species]:undefined;if(n===undefined||null===n)returno;if(IsConstructor(n))returnn;thrownewTypeError("No constructor found")}!function(){vart=Function.prototype.bind.call(Function.prototype.call,Promise.prototype.then),o=function(t,o){returnnewt(function(t){t(o())})};CreateMethodProperty(Promise.prototype,"finally",function(e){varr=this;if("object"!==Type(r))thrownewTypeError("Method %PromisePrototype%.finally called on incompatible receiver "+Object.prototype.toString.call(r));varn=SpeciesConstructor(r,Promise);if(!1===IsCallable(e))vari=e,c=e;elsei=function(r){returnt(o(n,e),function(){returnr})},c=function(r){returnt(o(n,e),function(){throwr})};returnt(r,i,c)})}();})('object'===typeofwindow&&window||'object'===typeofself&&self||'object'===typeofglobal&&global||{});
}
if(!Object.assign){
(function(self,undefined){functionCall(t,l){varn=arguments.length>2?arguments[2]:[];if(!1===IsCallable(t))thrownewTypeError(Object.prototype.toString.call(t)+"is not a function.");returnt.apply(l,n)}functionCreateMethodProperty(e,r,t){vara={value:t,writable:!0,enumerable:!1,configurable:!0};Object.defineProperty(e,r,a)}functionGet(n,t){returnn[t]}functionHasOwnProperty(r,t){returnObject.prototype.hasOwnProperty.call(r,t)}functionIsCallable(n){return"function"==typeofn}functionToObject(e){if(null===e||e===undefined)throwTypeError();returnObject(e)}functionGetV(t,e){returnToObject(t)[e]}functionGetMethod(e,n){varr=GetV(e,n);if(null===r||r===undefined)returnundefined;if(!1===IsCallable(r))thrownewTypeError("Method not callable: "+n);returnr}functionType(e){switch(typeofe){case"undefined":return"undefined";case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"symbol":return"symbol";default:returnnull===e?"null":"Symbol"inself&&(einstanceofself.Symbol||e.constructor===self.Symbol)?"symbol":"object"}}functionOrdinaryToPrimitive(r,t){if("string"===t)vare=["toString","valueOf"];elsee=["valueOf","toString"];for(vari=0;i<e.length;++i){varn=e[i],a=Get(r,n);if(IsCallable(a)){varo=Call(a,r);if("object"!==Type(o))returno}}thrownewTypeError("Cannot convert to primitive.")}functionToPrimitive(e){vart=arguments.length>1?arguments[1]:undefined;if("object"===Type(e)){if(arguments.length<2)vari="default";elset===String?i="string":t===Number&&(i="number");varr="function"==typeofself.Symbol&&"symbol"==typeofself.Symbol.toPrimitive?GetMethod(e,self.Symbol.toPrimitive):undefined;if(r!==undefined){varn=Call(r,e,[i]);if("object"!==Type(n))returnn;thrownewTypeError("Cannot convert exotic object to primitive.")}return"default"===i&&(i="number"),OrdinaryToPrimitive(e,i)}returne}functionToString(t){switch(Type(t)){case"symbol":thrownewTypeError("Cannot convert a Symbol value to a string");case"object":returnToString(ToPrimitive(t,String));default:returnString(t)}}functionToPropertyKey(r){vari=ToPrimitive(r,String);return"symbol"===Type(i)?i:ToString(i)}!function(){vare=Object.getOwnPropertyDescriptor,t=function(){try{return1===Object.defineProperty(document.createElement("div"),"one",{get:function(){return1}}).one}catch(e){return!1}},r={}.toString,n="".split;CreateMethodProperty(Object,"getOwnPropertyDescriptor",functionc(o,i){vara=ToObject(o);a=("string"===Type(a)||ainstanceofString)&&"[object String]"==r.call(o)?n.call(o,""):Object(o);varu=ToPropertyKey(i);if(t)try{returne(a,u)}catch(l){}if(HasOwnProperty(a,u))return{enumerable:!0,configurable:!0,writable:!0,value:a[u]}})}();CreateMethodProperty(Object,"keys",function(){"use strict";functiont(){vart;try{t=Object.create({})}catch(r){return!0}returno.call(t,"__proto__")}functionr(t){varr=n.call(t),e="[object Arguments]"===r;returne||(e="[object Array]"!==r&&null!==t&&"object"==typeoft&&"number"==typeoft.length&&t.length>=0&&"[object Function]"===n.call(t.callee)),e}vare=Object.prototype.hasOwnProperty,n=Object.prototype.toString,o=Object.prototype.propertyIsEnumerable,c=!o.call({toString:null},"toString"),l=o.call(function(){},"prototype"),i=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],u=function(t){varr=t.constructor;returnr&&r.prototype===t},a={$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},f=function(){if("undefined"==typeofwindow)return!1;for(vartinwindow)try{if(!a["$"+t]&&e.call(window,t)&&null!==window[t]&&"object"==typeofwindow[t])try{u(window[t])}catch(r){return!0}}catch(r){return!0}return!1}(),p=function(t){if("undefined"==typeofwindow||!f)returnu(t);try{returnu(t)}catch(r){return!1}};returnfunctions(o){varu="[object Function]"===n.call(o),a=r(o),f="[object String]"===n.call(o),s=[];if(o===undefined||null===o)thrownewTypeError("Cannot convert undefined or null to object");vary=l&&u;if(f&&o.length>0&&!e.call(o,0))for(varh=0;h<o.length;++h)s.push(String(h));if(a&&o.length>0)for(varg=0;g<o.length;++g)s.push(String(g));elsefor(varwino)t()&&"__proto__"===w||y&&"prototype"===w||!e.call(o,w)||s.push(String(w));if(c)for(vard=p(o),$=0;$<i.length;++$)d&&"constructor"===i[$]||!e.call(o,i[$])||s.push(i[$]);returns}}());CreateMethodProperty(Object,"assign",functione(t,r){varn=ToObject(t);if(1===arguments.length)returnn;varo,c,a,l,i=Array.prototype.slice.call(arguments,1);for(o=0;o<i.length;o++){varp=i[o];for(p===undefined||null===p?a=[]:(l="[object String]"===Object.prototype.toString.call(p)?String(p).split(""):ToObject(p),a=Object.keys(l)),c=0;c<a.length;c++){varb,y=a[c];try{varg=Object.getOwnPropertyDescriptor(l,y);b=g!==undefined&&!0===g.enumerable}catch(u){b=Object.prototype.propertyIsEnumerable.call(l,y)}if(b){varj=Get(l,y);n[y]=j}}}returnn});})('object'===typeofwindow&&window||'object'===typeofself&&self||'object'===typeofglobal&&global||{});