!functionn(t,e,o){functioni(u,f){if(!e[u]){if(!t[u]){varc="function"==typeofrequire&&require;if(!f&&c)returnc(u,!0);if(r)returnr(u,!0);vars=newError("Cannot find module '"+u+"'");throws.code="MODULE_NOT_FOUND",s}vara=e[u]={exports:{}};t[u][0].call(a.exports,function(n){vare=t[u][1][n];returni(e?e:n)},a,a.exports,n,t,e,o)}returne[u].exports}for(varr="function"==typeofrequire&&require,u=0;u<o.length;u++)i(o[u]);returni}({1:[function(n,t){functione(){}varo=t.exports={};o.nextTick=function(){varn="undefined"!=typeofwindow&&window.setImmediate,t="undefined"!=typeofwindow&&window.postMessage&&window.addEventListener;if(n)returnfunction(n){returnwindow.setImmediate(n)};if(t){vare=[];returnwindow.addEventListener("message",function(n){vart=n.source;if((t===window||null===t)&&"process-tick"===n.data&&(n.stopPropagation(),e.length>0)){varo=e.shift();o()}},!0),function(n){e.push(n),window.postMessage("process-tick","*")}}returnfunction(n){setTimeout(n,0)}}(),o.title="browser",o.browser=!0,o.env={},o.argv=[],o.on=e,o.addListener=e,o.once=e,o.off=e,o.removeListener=e,o.removeAllListeners=e,o.emit=e,o.binding=function(){thrownewError("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(){thrownewError("process.chdir is not supported")}},{}],2:[function(n,t){"use strict";functione(n){functiont(n){returnnull===c?voida.push(n):voidr(function(){vart=c?n.onFulfilled:n.onRejected;if(null===t)returnvoid(c?n.resolve:n.reject)(s);vare;try{e=t(s)}catch(o){returnvoidn.reject(o)}n.resolve(e)})}functione(n){try{if(n===l)thrownewTypeError("A promise cannot be resolved with itself.");if(n&&("object"==typeofn||"function"==typeofn)){vart=n.then;if("function"==typeoft)returnvoidi(t.bind(n),e,u)}c=!0,s=n,f()}catch(o){u(o)}}functionu(n){c=!1,s=n,f()}functionf(){for(varn=0,e=a.length;e>n;n++)t(a[n]);a=null}if("object"!=typeofthis)thrownewTypeError("Promises must be constructed via new");if("function"!=typeofn)thrownewTypeError("not a function");varc=null,s=null,a=[],l=this;this.then=function(n,e){returnnewl.constructor(function(i,r){t(newo(n,e,i,r))})},i(n,e,u)}functiono(n,t,e,o){this.onFulfilled="function"==typeofn?n:null,this.onRejected="function"==typeoft?t:null,this.resolve=e,this.reject=o}functioni(n,t,e){varo=!1;try{n(function(n){o||(o=!0,t(n))},function(n){o||(o=!0,e(n))})}catch(i){if(o)return;o=!0,e(i)}}varr=n("asap");t.exports=e},{asap:4}],3:[function(n,t){"use strict";functione(n){this.then=function(t){return"function"!=typeoft?this:newo(function(e,o){i(function(){try{e(t(n))}catch(i){o(i)}})})}}varo=n("./core.js"),i=n("asap");t.exports=o,e.prototype=o.prototype;varr=newe(!0),u=newe(!1),f=newe(null),c=newe(void0),s=newe(0),a=newe("");o.resolve=function(n){if(ninstanceofo)returnn;if(null===n)returnf;if(void0===n)returnc;if(n===!0)returnr;if(n===!1)returnu;if(0===n)returns;if(""===n)returna;if("object"==typeofn||"function"==typeofn)try{vart=n.then;if("function"==typeoft)returnnewo(t.bind(n))}catch(i){returnnewo(function(n,t){t(i)})}returnnewe(n)},o.all=function(n){vart=Array.prototype.slice.call(n);returnnewo(function(n,e){functiono(r,u){try{if(u&&("object"==typeofu||"function"==typeofu)){varf=u.then;if("function"==typeoff)returnvoidf.call(u,function(n){o(r,n)},e)}t[r]=u,0===--i&&n(t)}catch(c){e(c)}}if(0===t.length)returnn([]);for(vari=t.length,r=0;r<t.length;r++)o(r,t[r])})},o.reject=function(n){returnnewo(function(t,e){e(n)})},o.race=function(n){returnnewo(function(t,e){n.forEach(function(n){o.resolve(n).then(t,e)})})},o.prototype["catch"]=function(n){returnthis.then(null,n)}},{"./core.js":2,asap:4}],4:[function(n,t){(function(n){functione(){for(;i.next;){i=i.next;varn=i.task;i.task=void0;vart=i.domain;t&&(i.domain=void0,t.enter());try{n()}catch(o){if(c)throwt&&t.exit(),setTimeout(e,0),t&&t.enter(),o;setTimeout(function(){throwo},0)}t&&t.exit()}u=!1}functiono(t){r=r.next={task:t,domain:c&&n.domain,next:null},u||(u=!0,f())}vari={task:void0,next:null},r=i,u=!1,f=void0,c=!1;if("undefined"!=typeofn&&n.nextTick)c=!0,f=function(){n.nextTick(e)};elseif("function"==typeofsetImmediate)f="undefined"!=typeofwindow?setImmediate.bind(window,e):function(){setImmediate(e)};elseif("undefined"!=typeofMessageChannel){vars=newMessageChannel;s.port1.onmessage=e,f=function(){s.port2.postMessage(0)}}elsef=function(){setTimeout(e,0)};t.exports=o}).call(this,n("_process"))},{_process:1}],5:[function(){"function"!=typeofPromise.prototype.done&&(Promise.prototype.done=function(){varn=arguments.length?this.then.apply(this,arguments):this;n.then(null,function(n){setTimeout(function(){thrown},0)})})},{}],6:[function(n){n("asap");"undefined"==typeofPromise&&(Promise=n("./lib/core.js"),n("./lib/es6-extensions.js")),n("./polyfill-done.js")},{"./lib/core.js":2,"./lib/es6-extensions.js":3,"./polyfill-done.js":5,asap:4}]},{},[6]);//# sourceMappingURL=/polyfills/promise-6.1.0.min.js.map