forked from wavesjs/waves-loaders
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwaves-loaders.min.js
1 lines (1 loc) · 25.4 KB
/
waves-loaders.min.js
1
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.wavesLoaders=e()}}(function(){return function e(t,r,n){function o(u,s){if(!r[u]){if(!t[u]){var a="function"==typeof require&&require;if(!s&&a)return a(u,!0);if(i)return i(u,!0);var c=new Error("Cannot find module '"+u+"'");throw c.code="MODULE_NOT_FOUND",c}var f=r[u]={exports:{}};t[u][0].call(f.exports,function(e){var r=t[u][1][e];return o(r?r:e)},f,f.exports,e,t,r,n)}return r[u].exports}for(var i="function"==typeof require&&require,u=0;u<n.length;u++)o(n[u]);return o}({1:[function(e,t,r){"use strict";function n(){throw new Error("Missing parameter")}var o=e("babel-runtime/helpers/get")["default"],i=e("babel-runtime/helpers/inherits")["default"],u=e("babel-runtime/helpers/create-class")["default"],s=e("babel-runtime/helpers/class-call-check")["default"],a=e("babel-runtime/core-js/promise")["default"],c=e("babel-runtime/helpers/interop-require-default")["default"];Object.defineProperty(r,"__esModule",{value:!0});var f=e("./loader"),l=c(f),p=void 0;window.AudioContext=window.AudioContext||window.webkitAudioContext;try{p=new window.AudioContext}catch(d){}var h=function(e){function t(){var e=arguments.length<=0||void 0===arguments[0]?"arraybuffer":arguments[0];s(this,t),o(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e),this.options={wrapAroundExtension:0},this.responseType=e}return i(t,e),u(t,[{key:"load",value:function(){var e=arguments.length<=0||void 0===arguments[0]?n():arguments[0],r=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return this.options=r,this.options.wrapAroundExtension=this.options.wrapAroundExtension||0,o(Object.getPrototypeOf(t.prototype),"load",this).call(this,e)}},{key:"loadOne",value:function(e){return o(Object.getPrototypeOf(t.prototype),"loadOne",this).call(this,e).then(this.decodeAudioData.bind(this),function(e){throw e})}},{key:"loadAll",value:function(e){var r=this;return o(Object.getPrototypeOf(t.prototype),"loadAll",this).call(this,e).then(function(e){return a.all(e.map(function(e){return r.decodeAudioData.bind(r)(e)}))},function(e){throw e})}},{key:"decodeAudioData",value:function(e){var t=this;return new a(e instanceof ArrayBuffer?function(r,n){p.decodeAudioData(e,function(e){r(0===t.options.wrapAroundExtension?e:t.__wrapAround(e))},function(e){n(new Error("DecodeAudioData error"))})}:function(t,r){t(e)})}},{key:"__wrapAround",value:function(e){for(var t,r,n=e.length+this.options.wrapAroundExtension*e.sampleRate,o=p.createBuffer(e.numberOfChannels,n,e.sampleRate),i=0;i<e.numberOfChannels;i++)t=e.getChannelData(i),r=o.getChannelData(i),r.forEach(function(n,o){o<e.length?r[o]=t[o]:r[o]=t[o-e.length]});return o}}]),t}(l["default"]);r["default"]=h,t.exports=r["default"]},{"./loader":2,"babel-runtime/core-js/promise":9,"babel-runtime/helpers/class-call-check":10,"babel-runtime/helpers/create-class":11,"babel-runtime/helpers/get":12,"babel-runtime/helpers/inherits":13,"babel-runtime/helpers/interop-require-default":14}],2:[function(e,t,r){"use strict";function n(){throw new Error("Missing parameter")}var o=e("babel-runtime/helpers/create-class")["default"],i=e("babel-runtime/helpers/class-call-check")["default"],u=e("babel-runtime/core-js/promise")["default"];Object.defineProperty(r,"__esModule",{value:!0});var s=function(){function e(){var t=arguments.length<=0||void 0===arguments[0]?void 0:arguments[0];i(this,e),this.responseType=t,this.progressCb=void 0}return o(e,[{key:"load",value:function(){var e=arguments.length<=0||void 0===arguments[0]?n():arguments[0];if(void 0===e)throw new Error("load needs at least a url to load");return Array.isArray(e)?this.loadAll(e):this.loadOne(e)}},{key:"loadOne",value:function(e){return this.fileLoadingRequest(e)}},{key:"loadAll",value:function(e){for(var t=e.length,r=[],n=0;t>n;++n)r.push(this.fileLoadingRequest(e[n],n));return u.all(r)}},{key:"fileLoadingRequest",value:function(e,t){var r=this,n=new u(function(n,o){var i=new XMLHttpRequest;if(i.open("GET",e,!0),i.index=t,r.responseType)i.responseType=r.responseType;else{var u=".json";-1!==e.indexOf(u,r.length-u.length)?i.responseType="json":i.responseType="arraybuffer"}i.addEventListener("load",function(){200===i.status||304===i.status?("json"===this.responseType&&"string"==typeof i.response&&(i.response=JSON.parse(i.response)),n(i.response)):o(new Error(i.statusText))}),i.addEventListener("progress",function(e){r.progressCallback&&(void 0!==t?r.progressCallback({index:t,value:e.loaded/e.total,loaded:e.loaded,total:e.total}):r.progressCallback({value:e.loaded/e.total,loaded:e.loaded,total:e.total}))}),i.addEventListener("error",function(){o(new Error("Network Error"))}),i.send()});return n}},{key:"progressCallback",get:function(){return this.progressCb},set:function(e){this.progressCb=e}}]),e}();r["default"]=s,t.exports=r["default"]},{"babel-runtime/core-js/promise":9,"babel-runtime/helpers/class-call-check":10,"babel-runtime/helpers/create-class":11}],3:[function(e,t,r){"use strict";var n=e("babel-runtime/helpers/get")["default"],o=e("babel-runtime/helpers/inherits")["default"],i=e("babel-runtime/helpers/class-call-check")["default"],u=e("babel-runtime/helpers/interop-require-default")["default"];Object.defineProperty(r,"__esModule",{value:!0});var s=e("./audio-buffer-loader"),a=u(s),c=function(e){function t(){i(this,t),n(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,null)}return o(t,e),t}(a["default"]);r["default"]=c,t.exports=r["default"]},{"./audio-buffer-loader":1,"babel-runtime/helpers/class-call-check":10,"babel-runtime/helpers/get":12,"babel-runtime/helpers/inherits":13,"babel-runtime/helpers/interop-require-default":14}],4:[function(e,t,r){"use strict";var n=e("babel-runtime/helpers/interop-require-default")["default"];Object.defineProperty(r,"__esModule",{value:!0});var o=e("./loader"),i=n(o),u=e("./audio-buffer-loader"),s=n(u),a=e("./super-loader"),c=n(a);r["default"]={Loader:i["default"],AudioBufferLoader:s["default"],SuperLoader:c["default"]},t.exports=r["default"]},{"./audio-buffer-loader":1,"./loader":2,"./super-loader":3,"babel-runtime/helpers/interop-require-default":14}],5:[function(e,t,r){t.exports={"default":e("core-js/library/fn/object/create"),__esModule:!0}},{"core-js/library/fn/object/create":15}],6:[function(e,t,r){t.exports={"default":e("core-js/library/fn/object/define-property"),__esModule:!0}},{"core-js/library/fn/object/define-property":16}],7:[function(e,t,r){t.exports={"default":e("core-js/library/fn/object/get-own-property-descriptor"),__esModule:!0}},{"core-js/library/fn/object/get-own-property-descriptor":17}],8:[function(e,t,r){t.exports={"default":e("core-js/library/fn/object/set-prototype-of"),__esModule:!0}},{"core-js/library/fn/object/set-prototype-of":18}],9:[function(e,t,r){t.exports={"default":e("core-js/library/fn/promise"),__esModule:!0}},{"core-js/library/fn/promise":19}],10:[function(e,t,r){"use strict";r["default"]=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},r.__esModule=!0},{}],11:[function(e,t,r){"use strict";var n=e("babel-runtime/core-js/object/define-property")["default"];r["default"]=function(){function e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),n(e,o.key,o)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),r.__esModule=!0},{"babel-runtime/core-js/object/define-property":6}],12:[function(e,t,r){"use strict";var n=e("babel-runtime/core-js/object/get-own-property-descriptor")["default"];r["default"]=function(e,t,r){for(var o=!0;o;){var i=e,u=t,s=r;a=f=c=void 0,o=!1,null===i&&(i=Function.prototype);var a=n(i,u);if(void 0!==a){if("value"in a)return a.value;var c=a.get;return void 0===c?void 0:c.call(s)}var f=Object.getPrototypeOf(i);if(null===f)return void 0;e=f,t=u,r=s,o=!0}},r.__esModule=!0},{"babel-runtime/core-js/object/get-own-property-descriptor":7}],13:[function(e,t,r){"use strict";var n=e("babel-runtime/core-js/object/create")["default"],o=e("babel-runtime/core-js/object/set-prototype-of")["default"];r["default"]=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=n(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(o?o(e,t):e.__proto__=t)},r.__esModule=!0},{"babel-runtime/core-js/object/create":5,"babel-runtime/core-js/object/set-prototype-of":8}],14:[function(e,t,r){"use strict";r["default"]=function(e){return e&&e.__esModule?e:{"default":e}},r.__esModule=!0},{}],15:[function(e,t,r){var n=e("../../modules/$");t.exports=function(e,t){return n.create(e,t)}},{"../../modules/$":46}],16:[function(e,t,r){var n=e("../../modules/$");t.exports=function(e,t,r){return n.setDesc(e,t,r)}},{"../../modules/$":46}],17:[function(e,t,r){var n=e("../../modules/$");e("../../modules/es6.object.get-own-property-descriptor"),t.exports=function(e,t){return n.getDesc(e,t)}},{"../../modules/$":46,"../../modules/es6.object.get-own-property-descriptor":70}],18:[function(e,t,r){e("../../modules/es6.object.set-prototype-of"),t.exports=e("../../modules/$.core").Object.setPrototypeOf},{"../../modules/$.core":24,"../../modules/es6.object.set-prototype-of":71}],19:[function(e,t,r){e("../modules/es6.object.to-string"),e("../modules/es6.string.iterator"),e("../modules/web.dom.iterable"),e("../modules/es6.promise"),t.exports=e("../modules/$.core").Promise},{"../modules/$.core":24,"../modules/es6.object.to-string":72,"../modules/es6.promise":73,"../modules/es6.string.iterator":74,"../modules/web.dom.iterable":75}],20:[function(e,t,r){t.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},{}],21:[function(e,t,r){var n=e("./$.is-object");t.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},{"./$.is-object":38}],22:[function(e,t,r){var n=e("./$.cof"),o=e("./$.wks")("toStringTag"),i="Arguments"==n(function(){return arguments}());t.exports=function(e){var t,r,u;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=(t=Object(e))[o])?r:i?n(t):"Object"==(u=n(t))&&"function"==typeof t.callee?"Arguments":u}},{"./$.cof":23,"./$.wks":67}],23:[function(e,t,r){var n={}.toString;t.exports=function(e){return n.call(e).slice(8,-1)}},{}],24:[function(e,t,r){var n=t.exports={};"number"==typeof __e&&(__e=n)},{}],25:[function(e,t,r){var n=e("./$.a-function");t.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,o){return e.call(t,r,n,o)}}return function(){return e.apply(t,arguments)}}},{"./$.a-function":20}],26:[function(e,t,r){var n=e("./$.global"),o=e("./$.core"),i="prototype",u=function(e,t){return function(){return e.apply(t,arguments)}},s=function(e,t,r){var a,c,f,l,p=e&s.G,d=e&s.P,h=p?n:e&s.S?n[t]:(n[t]||{})[i],$=p?o:o[t]||(o[t]={});p&&(r=t);for(a in r)c=!(e&s.F)&&h&&a in h,c&&a in $||(f=c?h[a]:r[a],p&&"function"!=typeof h[a]?l=r[a]:e&s.B&&c?l=u(f,n):e&s.W&&h[a]==f?!function(e){l=function(t){return this instanceof e?new e(t):e(t)},l[i]=e[i]}(f):l=d&&"function"==typeof f?u(Function.call,f):f,$[a]=l,d&&(($[i]||($[i]={}))[a]=f))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,t.exports=s},{"./$.core":24,"./$.global":31}],27:[function(e,t,r){t.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},{}],28:[function(e,t,r){var n=e("./$.is-object"),o=e("./$.global").document,i=n(o)&&n(o.createElement);t.exports=function(e){return i?o.createElement(e):{}}},{"./$.global":31,"./$.is-object":38}],29:[function(e,t,r){t.exports=function(e){try{return!!e()}catch(t){return!0}}},{}],30:[function(e,t,r){var n=e("./$.ctx"),o=e("./$.iter-call"),i=e("./$.is-array-iter"),u=e("./$.an-object"),s=e("./$.to-length"),a=e("./core.get-iterator-method");t.exports=function(e,t,r,c){var f,l,p,d=a(e),h=n(r,c,t?2:1),$=0;if("function"!=typeof d)throw TypeError(e+" is not iterable!");if(i(d))for(f=s(e.length);f>$;$++)t?h(u(l=e[$])[0],l[1]):h(e[$]);else for(p=d.call(e);!(l=p.next()).done;)o(p,h,l.value,t)}},{"./$.an-object":21,"./$.ctx":25,"./$.is-array-iter":37,"./$.iter-call":40,"./$.to-length":64,"./core.get-iterator-method":68}],31:[function(e,t,r){var n="undefined",o=t.exports=typeof window!=n&&window.Math==Math?window:typeof self!=n&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=o)},{}],32:[function(e,t,r){var n={}.hasOwnProperty;t.exports=function(e,t){return n.call(e,t)}},{}],33:[function(e,t,r){var n=e("./$"),o=e("./$.property-desc");t.exports=e("./$.support-desc")?function(e,t,r){return n.setDesc(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},{"./$":46,"./$.property-desc":51,"./$.support-desc":59}],34:[function(e,t,r){t.exports=e("./$.global").document&&document.documentElement},{"./$.global":31}],35:[function(e,t,r){t.exports=function(e,t,r){var n=void 0===r;switch(t.length){case 0:return n?e():e.call(r);case 1:return n?e(t[0]):e.call(r,t[0]);case 2:return n?e(t[0],t[1]):e.call(r,t[0],t[1]);case 3:return n?e(t[0],t[1],t[2]):e.call(r,t[0],t[1],t[2]);case 4:return n?e(t[0],t[1],t[2],t[3]):e.call(r,t[0],t[1],t[2],t[3])}return e.apply(r,t)}},{}],36:[function(e,t,r){var n=e("./$.cof");t.exports=0 in Object("z")?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},{"./$.cof":23}],37:[function(e,t,r){var n=e("./$.iterators"),o=e("./$.wks")("iterator");t.exports=function(e){return(n.Array||Array.prototype[o])===e}},{"./$.iterators":45,"./$.wks":67}],38:[function(e,t,r){t.exports=function(e){return null!==e&&("object"==typeof e||"function"==typeof e)}},{}],39:[function(e,t,r){t.exports="keys"in[]&&!("next"in[].keys())},{}],40:[function(e,t,r){var n=e("./$.an-object");t.exports=function(e,t,r,o){try{return o?t(n(r)[0],r[1]):t(r)}catch(i){var u=e["return"];throw void 0!==u&&n(u.call(e)),i}}},{"./$.an-object":21}],41:[function(e,t,r){"use strict";var n=e("./$"),o={};e("./$.hide")(o,e("./$.wks")("iterator"),function(){return this}),t.exports=function(t,r,i){t.prototype=n.create(o,{next:e("./$.property-desc")(1,i)}),e("./$.tag")(t,r+" Iterator")}},{"./$":46,"./$.hide":33,"./$.property-desc":51,"./$.tag":60,"./$.wks":67}],42:[function(e,t,r){"use strict";var n=e("./$.library"),o=e("./$.def"),i=e("./$.redef"),u=e("./$.hide"),s=e("./$.has"),a=e("./$.wks")("iterator"),c=e("./$.iterators"),f="@@iterator",l="keys",p="values",d=function(){return this};t.exports=function(t,r,h,$,b,v,y){e("./$.iter-create")(h,r,$);var g,m,w=function(e){switch(e){case l:return function(){return new h(this,e)};case p:return function(){return new h(this,e)}}return function(){return new h(this,e)}},j=r+" Iterator",x=t.prototype,_=x[a]||x[f]||b&&x[b],k=_||w(b);if(_){var O=e("./$").getProto(k.call(new t));e("./$.tag")(O,j,!0),!n&&s(x,f)&&u(O,a,d)}if((!n||y)&&u(x,a,k),c[r]=k,c[j]=d,b)if(g={keys:v?k:w(l),values:b==p?k:w(p),entries:b!=p?k:w("entries")},y)for(m in g)m in x||i(x,m,g[m]);else o(o.P+o.F*e("./$.iter-buggy"),r,g)}},{"./$":46,"./$.def":26,"./$.has":32,"./$.hide":33,"./$.iter-buggy":39,"./$.iter-create":41,"./$.iterators":45,"./$.library":47,"./$.redef":52,"./$.tag":60,"./$.wks":67}],43:[function(e,t,r){var n=e("./$.wks")("iterator"),o=!1;try{var i=[7][n]();i["return"]=function(){o=!0},Array.from(i,function(){throw 2})}catch(u){}t.exports=function(e){if(!o)return!1;var t=!1;try{var r=[7],i=r[n]();i.next=function(){t=!0},r[n]=function(){return i},e(r)}catch(u){}return t}},{"./$.wks":67}],44:[function(e,t,r){t.exports=function(e,t){return{value:t,done:!!e}}},{}],45:[function(e,t,r){t.exports={}},{}],46:[function(e,t,r){var n=Object;t.exports={create:n.create,getProto:n.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:n.getOwnPropertyDescriptor,setDesc:n.defineProperty,setDescs:n.defineProperties,getKeys:n.keys,getNames:n.getOwnPropertyNames,getSymbols:n.getOwnPropertySymbols,each:[].forEach}},{}],47:[function(e,t,r){t.exports=!0},{}],48:[function(e,t,r){var n,o,i,u=e("./$.global"),s=e("./$.task").set,a=u.MutationObserver||u.WebKitMutationObserver,c=u.process,f="process"==e("./$.cof")(c),l=function(){var e,t;for(f&&(e=c.domain)&&(c.domain=null,e.exit());n;)t=n.domain,t&&t.enter(),n.fn.call(),t&&t.exit(),n=n.next;o=void 0,e&&e.enter()};if(f)i=function(){c.nextTick(l)};else if(a){var p=1,d=document.createTextNode("");new a(l).observe(d,{characterData:!0}),i=function(){d.data=p=-p}}else i=function(){s.call(u,l)};t.exports=function(e){var t={fn:e,next:void 0,domain:f&&c.domain};o&&(o.next=t),n||(n=t,i()),o=t}},{"./$.cof":23,"./$.global":31,"./$.task":61}],49:[function(e,t,r){var n=e("./$.redef");t.exports=function(e,t){for(var r in t)n(e,r,t[r]);return e}},{"./$.redef":52}],50:[function(e,t,r){t.exports=function(t,r){var n=e("./$.def"),o=(e("./$.core").Object||{})[t]||Object[t],i={};i[t]=r(o),n(n.S+n.F*e("./$.fails")(function(){o(1)}),"Object",i)}},{"./$.core":24,"./$.def":26,"./$.fails":29}],51:[function(e,t,r){t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},{}],52:[function(e,t,r){t.exports=e("./$.hide")},{"./$.hide":33}],53:[function(e,t,r){t.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},{}],54:[function(e,t,r){var n=e("./$").getDesc,o=e("./$.is-object"),i=e("./$.an-object"),u=function(e,t){if(i(e),!o(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,r){try{r=e("./$.ctx")(Function.call,n(Object.prototype,"__proto__").set,2),r({},[])}catch(o){t=!0}return function(e,n){return u(e,n),t?e.__proto__=n:r(e,n),e}}():void 0),check:u}},{"./$":46,"./$.an-object":21,"./$.ctx":25,"./$.is-object":38}],55:[function(e,t,r){var n=e("./$.global"),o="__core-js_shared__",i=n[o]||(n[o]={});t.exports=function(e){return i[e]||(i[e]={})}},{"./$.global":31}],56:[function(e,t,r){"use strict";var n=e("./$"),o=e("./$.wks")("species");t.exports=function(t){!e("./$.support-desc")||o in t||n.setDesc(t,o,{configurable:!0,get:function(){return this}})}},{"./$":46,"./$.support-desc":59,"./$.wks":67}],57:[function(e,t,r){t.exports=function(e,t,r){if(!(e instanceof t))throw TypeError(r+": use the 'new' operator!");return e}},{}],58:[function(e,t,r){var n=e("./$.to-integer"),o=e("./$.defined");t.exports=function(e){return function(t,r){var i,u,s=String(o(t)),a=n(r),c=s.length;return 0>a||a>=c?e?"":void 0:(i=s.charCodeAt(a),55296>i||i>56319||a+1===c||(u=s.charCodeAt(a+1))<56320||u>57343?e?s.charAt(a):i:e?s.slice(a,a+2):(i-55296<<10)+(u-56320)+65536)}}},{"./$.defined":27,"./$.to-integer":62}],59:[function(e,t,r){t.exports=!e("./$.fails")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},{"./$.fails":29}],60:[function(e,t,r){var n=e("./$.has"),o=e("./$.hide"),i=e("./$.wks")("toStringTag");t.exports=function(e,t,r){e&&!n(e=r?e:e.prototype,i)&&o(e,i,t)}},{"./$.has":32,"./$.hide":33,"./$.wks":67}],61:[function(e,t,r){"use strict";var n,o,i,u=e("./$.ctx"),s=e("./$.invoke"),a=e("./$.html"),c=e("./$.dom-create"),f=e("./$.global"),l=f.process,p=f.setImmediate,d=f.clearImmediate,h=f.MessageChannel,$=0,b={},v="onreadystatechange",y=function(){var e=+this;if(b.hasOwnProperty(e)){var t=b[e];delete b[e],t()}},g=function(e){y.call(e.data)};p&&d||(p=function(e){for(var t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return b[++$]=function(){s("function"==typeof e?e:Function(e),t)},n($),$},d=function(e){delete b[e]},"process"==e("./$.cof")(l)?n=function(e){l.nextTick(u(y,e,1))}:h?(o=new h,i=o.port2,o.port1.onmessage=g,n=u(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScript?(n=function(e){f.postMessage(e+"","*")},f.addEventListener("message",g,!1)):n=v in c("script")?function(e){a.appendChild(c("script"))[v]=function(){a.removeChild(this),y.call(e)}}:function(e){setTimeout(u(y,e,1),0)}),t.exports={set:p,clear:d}},{"./$.cof":23,"./$.ctx":25,"./$.dom-create":28,"./$.global":31,"./$.html":34,"./$.invoke":35}],62:[function(e,t,r){var n=Math.ceil,o=Math.floor;t.exports=function(e){return isNaN(e=+e)?0:(e>0?o:n)(e)}},{}],63:[function(e,t,r){var n=e("./$.iobject"),o=e("./$.defined");t.exports=function(e){return n(o(e))}},{"./$.defined":27,"./$.iobject":36}],64:[function(e,t,r){var n=e("./$.to-integer"),o=Math.min;t.exports=function(e){return e>0?o(n(e),9007199254740991):0}},{"./$.to-integer":62}],65:[function(e,t,r){var n=0,o=Math.random();t.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+o).toString(36))}},{}],66:[function(e,t,r){t.exports=function(){}},{}],67:[function(e,t,r){var n=e("./$.shared")("wks"),o=e("./$.global").Symbol;t.exports=function(t){return n[t]||(n[t]=o&&o[t]||(o||e("./$.uid"))("Symbol."+t))}},{"./$.global":31,"./$.shared":55,"./$.uid":65}],68:[function(e,t,r){var n=e("./$.classof"),o=e("./$.wks")("iterator"),i=e("./$.iterators");t.exports=e("./$.core").getIteratorMethod=function(e){return void 0!=e?e[o]||e["@@iterator"]||i[n(e)]:void 0}},{"./$.classof":22,"./$.core":24,"./$.iterators":45,"./$.wks":67}],69:[function(e,t,r){"use strict";var n=e("./$.unscope"),o=e("./$.iter-step"),i=e("./$.iterators"),u=e("./$.to-iobject");e("./$.iter-define")(Array,"Array",function(e,t){this._t=u(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,o(1)):"keys"==t?o(0,r):"values"==t?o(0,e[r]):o(0,[r,e[r]])},"values"),i.Arguments=i.Array,n("keys"),n("values"),n("entries")},{"./$.iter-define":42,"./$.iter-step":44,"./$.iterators":45,"./$.to-iobject":63,"./$.unscope":66}],70:[function(e,t,r){var n=e("./$.to-iobject");e("./$.object-sap")("getOwnPropertyDescriptor",function(e){return function(t,r){return e(n(t),r)}})},{"./$.object-sap":50,"./$.to-iobject":63}],71:[function(e,t,r){var n=e("./$.def");n(n.S,"Object",{setPrototypeOf:e("./$.set-proto").set})},{"./$.def":26,"./$.set-proto":54}],72:[function(e,t,r){},{}],73:[function(e,t,r){"use strict";var n,o=e("./$"),i=e("./$.library"),u=e("./$.global"),s=e("./$.ctx"),a=e("./$.classof"),c=e("./$.def"),f=e("./$.is-object"),l=e("./$.an-object"),p=e("./$.a-function"),d=e("./$.strict-new"),h=e("./$.for-of"),$=e("./$.set-proto").set,b=e("./$.same"),v=e("./$.species"),y=e("./$.wks")("species"),g=e("./$.uid")("record"),m=e("./$.microtask"),w="Promise",j=u.process,x="process"==a(j),_=u[w],k=function(e){var t=new _(function(){});return e&&(t.constructor=Object),_.resolve(t)===t},O=function(){function t(e){var r=new _(e);return $(r,t.prototype),r}var r=!1;try{if(r=_&&_.resolve&&k(),$(t,_),t.prototype=o.create(_.prototype,{constructor:{value:t}}),t.resolve(5).then(function(){})instanceof t||(r=!1),r&&e("./$.support-desc")){var n=!1;_.resolve(o.setDesc({},"then",{get:function(){n=!0}})),r=n}}catch(i){r=!1}return r}(),A=function(e){return f(e)&&(O?"Promise"==a(e):g in e)},E=function(e,t){return i&&e===_&&t===n?!0:b(e,t)},P=function(e){var t=l(e)[y];return void 0!=t?t:e},M=function(e){var t;return f(e)&&"function"==typeof(t=e.then)?t:!1},T=function(e,t){if(!e.n){e.n=!0;var r=e.c;m(function(){for(var n=e.v,o=1==e.s,i=0,s=function(t){var r,i,u=o?t.ok:t.fail;try{u?(o||(e.h=!0),r=u===!0?n:u(n),r===t.P?t.rej(TypeError("Promise-chain cycle")):(i=M(r))?i.call(r,t.res,t.rej):t.res(r)):t.rej(n)}catch(s){t.rej(s)}};r.length>i;)s(r[i++]);r.length=0,e.n=!1,t&&setTimeout(function(){m(function(){S(e.p)&&(x?j.emit("unhandledRejection",n,e.p):u.console&&console.error&&console.error("Unhandled promise rejection",n)),e.a=void 0})},1)})}},S=function(e){var t,r=e[g],n=r.a||r.c,o=0;if(r.h)return!1;for(;n.length>o;)if(t=n[o++],t.fail||!S(t.P))return!1;return!0},C=function(e){var t=this;t.d||(t.d=!0,t=t.r||t,t.v=e,t.s=2,t.a=t.c.slice(),T(t,!0))},D=function(e){var t,r=this;if(!r.d){r.d=!0,r=r.r||r;try{(t=M(e))?m(function(){var n={r:r,d:!1};try{t.call(e,s(D,n,1),s(C,n,1))}catch(o){C.call(n,o)}}):(r.v=e,r.s=1,T(r,!1))}catch(n){C.call({r:r,d:!1},n)}}};O||(_=function(e){p(e);var t={p:d(this,_,w),c:[],a:void 0,s:0,d:!1,v:void 0,h:!1,n:!1};this[g]=t;try{e(s(D,t,1),s(C,t,1))}catch(r){C.call(t,r)}},e("./$.mix")(_.prototype,{then:function(e,t){var r=l(l(this).constructor)[y],n={ok:"function"==typeof e?e:!0,fail:"function"==typeof t?t:!1},o=n.P=new(void 0!=r?r:_)(function(e,t){n.res=p(e),n.rej=p(t)}),i=this[g];return i.c.push(n),i.a&&i.a.push(n),i.s&&T(i,!1),o},"catch":function(e){return this.then(void 0,e)}})),c(c.G+c.W+c.F*!O,{Promise:_}),e("./$.tag")(_,w),v(_),v(n=e("./$.core")[w]),c(c.S+c.F*!O,w,{reject:function(e){return new this(function(t,r){r(e)})}}),c(c.S+c.F*(!O||k(!0)),w,{resolve:function(e){return A(e)&&E(e.constructor,this)?e:new this(function(t){t(e)})}}),c(c.S+c.F*!(O&&e("./$.iter-detect")(function(e){_.all(e)["catch"](function(){})})),w,{all:function(e){var t=P(this),r=[];return new t(function(n,i){h(e,!1,r.push,r);var u=r.length,s=Array(u);u?o.each.call(r,function(e,r){t.resolve(e).then(function(e){s[r]=e,--u||n(s)},i)}):n(s)})},race:function(e){var t=P(this);return new t(function(r,n){h(e,!1,function(e){t.resolve(e).then(r,n)})})}})},{"./$":46,"./$.a-function":20,"./$.an-object":21,"./$.classof":22,"./$.core":24,"./$.ctx":25,"./$.def":26,"./$.for-of":30,"./$.global":31,"./$.is-object":38,"./$.iter-detect":43,"./$.library":47,"./$.microtask":48,"./$.mix":49,"./$.same":53,"./$.set-proto":54,"./$.species":56,"./$.strict-new":57,"./$.support-desc":59,"./$.tag":60,"./$.uid":65,"./$.wks":67}],74:[function(e,t,r){"use strict";var n=e("./$.string-at")(!0);e("./$.iter-define")(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,r=this._i;return r>=t.length?{value:void 0,done:!0}:(e=n(t,r),this._i+=e.length,{value:e,done:!1})})},{"./$.iter-define":42,"./$.string-at":58}],75:[function(e,t,r){e("./es6.array.iterator");var n=e("./$.iterators");n.NodeList=n.HTMLCollection=n.Array},{"./$.iterators":45,"./es6.array.iterator":69}]},{},[4])(4)});