es6-kameita
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -1,2 +0,1 @@ | ||
/*! es6-kameita - v0.1.0 */!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e;"undefined"!=typeof window?e=window:"undefined"!=typeof global?e=global:"undefined"!=typeof self&&(e=self),e.es6kameita=t()}}(function(){var t;return function e(t,r,n){function o(a,u){if(!r[a]){if(!t[a]){var s="function"==typeof require&&require;if(!u&&s)return s(a,!0);if(i)return i(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var f=r[a]={exports:{}};t[a][0].call(f.exports,function(e){var r=t[a][1][e];return o(r?r:e)},f,f.exports,e,t,r,n)}return r[a].exports}for(var i="function"==typeof require&&require,a=0;a<n.length;a++)o(n[a]);return o}({1:[function(t){"use strict";t("6to5/runtime")["default"],t("6to5/browser-polyfill")["default"],t("./src/foo")["default"]},{"./src/foo":4,"6to5/browser-polyfill":2,"6to5/runtime":3}],2:[function(e){!function r(t,n,o){function i(u,s){if(!n[u]){if(!t[u]){var c="function"==typeof e&&e;if(!s&&c)return c(u,!0);if(a)return a(u,!0);var f=new Error("Cannot find module '"+u+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[u]={exports:{}};t[u][0].call(l.exports,function(e){var r=t[u][1][e];return i(r?r:e)},l,l.exports,r,t,n,o)}return n[u].exports}for(var a="function"==typeof e&&e,u=0;u<o.length;u++)i(o[u]);return i}({1:[function(t){(function(e){var r=function(t){Symbol[t]=Symbol[t]||Symbol()},n=function(t,e,r){var n=t.prototype;n[e]=n[e]||r};"undefined"==typeof Symbol&&t("es6-symbol/implement"),t("es6-shim"),t("./transformation/transformers/es6-generators/runtime"),r("referenceGet"),r("referenceSet"),r("referenceDelete"),n(Function,Symbol.referenceGet,function(){return this}),n(Map,Symbol.referenceGet,Map.prototype.get),n(Map,Symbol.referenceSet,Map.prototype.set),n(Map,Symbol.referenceDelete,Map.prototype.delete),e.WeakMap&&(n(WeakMap,Symbol.referenceGet,WeakMap.prototype.get),n(WeakMap,Symbol.referenceSet,WeakMap.prototype.set),n(WeakMap,Symbol.referenceDelete,WeakMap.prototype.delete))}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./transformation/transformers/es6-generators/runtime":2,"es6-shim":4,"es6-symbol/implement":5}],2:[function(t,e,r){(function(t){function e(){}function n(t,e,r,n){function o(e,n){if(s===y)throw new Error("Generator is already running");if(s===d)throw new Error("Generator has already finished");for(;;){var o,i=u.delegate;if(i){try{o=i.iterator[e](n),e="next",n=void 0}catch(a){u.delegate=null,e="throw",n=a;continue}if(!o.done)return s=h,o;u[i.resultName]=o.value,u.next=i.nextLoc,u.delegate=null}if("next"===e){if(s===p&&"undefined"!=typeof n)throw new TypeError("attempt to send "+JSON.stringify(n)+" to newborn generator");s===h?u.sent=n:delete u.sent}else if("throw"===e){if(s===p)throw s=d,n;u.dispatchException(n)&&(e="next",n=void 0)}else"return"===e&&u.abrupt("return",n);s=y;try{var c=t.call(r,u);if(s=u.done?d:h,o={value:c,done:u.done},c!==v)return o;u.delegate&&"next"===e&&(n=void 0)}catch(f){s=d,"next"===e?u.dispatchException(f):n=f}}}var i=e?Object.create(e.prototype):this,u=new a(n),s=p;return i.next=o.bind(i,"next"),i["throw"]=o.bind(i,"throw"),i["return"]=o.bind(i,"return"),i}function o(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2]),this.tryEntries.push(e)}function i(t,e){var r=t.completion||{};r.type=0===e?"normal":"return",delete r.arg,t.completion=r}function a(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(o,this),this.reset()}function u(t){var e=t;if(s in t)e=t[s]();else if(!isNaN(t.length)){var r=-1;e=function n(){for(;++r<t.length;)if(r in t)return n.value=t[r],n.done=!1,n;return n.done=!0,n},e.next=e}return e}var s="function"==typeof Symbol&&Symbol.iterator||"@@iterator",c=t.regeneratorRuntime=r,f=Object.prototype.hasOwnProperty,l=c.wrap=function(t,e,r,o){return new n(t,e,r||null,o||[])},p="suspendedStart",h="suspendedYield",y="executing",d="completed",v={},b=function(){},m=b.prototype=n.prototype;(b.constructor=e).prototype=m.constructor=b,c.isGeneratorFunction=function(t){var r=t&&t.constructor;return r?e.name===r.name:!1},c.mark=function(t){return t.__proto__=b,t.prototype=Object.create(m),t},c.async=function(t,e,r,n){return new Promise(function(o,i){function a(t){var e,r;try{e=this(t),r=e.value}catch(n){return i(n)}e.done?o(r):Promise.resolve(r).then(s,c)}var u=l(t,e,r,n),s=a.bind(u.next),c=a.bind(u["throw"]);s()})},m[s]=function(){return this},m.toString=function(){return"[object Generator]"},c.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},c.values=u,a.prototype={constructor:a,reset:function(){this.prev=0,this.next=0,this.sent=void 0,this.done=!1,this.delegate=null,this.tryEntries.forEach(i);for(var t,e=0;f.call(this,t="t"+e)||20>e;++e)this[t]=null},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){function e(e,n){return i.type="throw",i.arg=t,r.next=e,!!n}if(this.done)throw t;for(var r=this,n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],i=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var a=f.call(o,"catchLoc"),u=f.call(o,"finallyLoc");if(a&&u){if(this.prev<o.catchLoc)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},_findFinallyEntry:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc<=this.prev&&f.call(r,"finallyLoc")&&(r.finallyLoc===t||this.prev<r.finallyLoc))return r}},abrupt:function(t,e){var r=this._findFinallyEntry(),n=r?r.completion:{};return n.type=t,n.arg=e,r?this.next=r.finallyLoc:this.complete(n),v},complete:function(t){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type&&(this.rval=t.arg,this.next="end"),v},finish:function(t){var e=this._findFinallyEntry(t);return this.complete(e.completion)},"catch":function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n,o=r.completion;return"throw"===o.type&&(n=o.arg,i(r,e)),n}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:u(t),resultName:e,nextLoc:r},v}}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],3:[function(t,e){function r(){}var n=e.exports={};n.nextTick=function(){var t="undefined"!=typeof window&&window.setImmediate,e="undefined"!=typeof window&&window.MutationObserver,r="undefined"!=typeof window&&window.postMessage&&window.addEventListener;if(t)return function(t){return window.setImmediate(t)};var n=[];if(e){var o=document.createElement("div"),i=new MutationObserver(function(){var t=n.slice();n.length=0,t.forEach(function(t){t()})});return i.observe(o,{attributes:!0}),function(t){n.length||o.setAttribute("yes","no"),n.push(t)}}return r?(window.addEventListener("message",function(t){var e=t.source;if((e===window||null===e)&&"process-tick"===t.data&&(t.stopPropagation(),n.length>0)){var r=n.shift();r()}},!0),function(t){n.push(t),window.postMessage("process-tick","*")}):function(t){setTimeout(t,0)}}(),n.title="browser",n.browser=!0,n.env={},n.argv=[],n.on=r,n.addListener=r,n.once=r,n.off=r,n.removeListener=r,n.removeAllListeners=r,n.emit=r,n.binding=function(){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(){throw new Error("process.chdir is not supported")}},{}],4:[function(e,r,n){(function(e){!function(e,o){"function"==typeof t&&t.amd?t(o):"object"==typeof n?r.exports=o():e.returnExports=o()}(this,function(){"use strict";var t,r=function(t){try{t()}catch(e){return!1}return!0},n=function(t,e){try{var r=function(){t.apply(this,arguments)};return r.__proto__?(Object.setPrototypeOf(r,t),r.prototype=Object.create(t.prototype,{constructor:{value:t}}),e(r)):!1}catch(n){return!1}},o=function(){try{return Object.defineProperty({},"x",{}),!0}catch(t){return!1}},i=function(){var t=!1;if(String.prototype.startsWith)try{"/a/".startsWith(/a/)}catch(e){t=!0}return t},a=new Function("return this;"),u=a(),s=u.isFinite,c=!!Object.defineProperty&&o(),f=i(),l=(Array.prototype.slice,String.prototype.indexOf),p=Object.prototype.toString,h=Object.prototype.hasOwnProperty,y=function(t,e,r,n){!n&&e in t||(c?Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:!0,value:r}):t[e]=r)},d=function(t,e){Object.keys(e).forEach(function(r){var n=e[r];y(t,r,n,!1)})},v=Object.create||function(t,e){function r(){}r.prototype=t;var n=new r;return"undefined"!=typeof e&&d(n,e),n},b="function"==typeof Symbol&&Symbol.iterator||"_es6-shim iterator_";u.Set&&"function"==typeof(new u.Set)["@@iterator"]&&(b="@@iterator");var m=function(t,e){e||(e=function(){return this});var r={};r[b]=e,d(t,r),t[b]||"symbol"!=typeof b||(t[b]=e)},g=function(t){var e=p.call(t),r="[object Arguments]"===e;return r||(r="[object Array]"!==e&&null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Function]"===p.call(t.callee)),r},w=function(t){if(!j.TypeIsObject(t))throw new TypeError("bad object");return t._es6construct||(t.constructor&&j.IsCallable(t.constructor["@@create"])&&(t=t.constructor["@@create"](t)),d(t,{_es6construct:!0})),t},j={CheckObjectCoercible:function(t,e){if(null==t)throw new TypeError(e||"Cannot call method on "+t);return t},TypeIsObject:function(t){return null!=t&&Object(t)===t},ToObject:function(t,e){return Object(j.CheckObjectCoercible(t,e))},IsCallable:function(t){return"function"==typeof t&&"[object Function]"===p.call(t)},ToInt32:function(t){return t>>0},ToUint32:function(t){return t>>>0},ToInteger:function(t){var e=+t;return Number.isNaN(e)?0:0!==e&&Number.isFinite(e)?(e>0?1:-1)*Math.floor(Math.abs(e)):e},ToLength:function(t){var e=j.ToInteger(t);return 0>=e?0:e>Number.MAX_SAFE_INTEGER?Number.MAX_SAFE_INTEGER:e},SameValue:function(t,e){return t===e?0===t?1/t===1/e:!0:Number.isNaN(t)&&Number.isNaN(e)},SameValueZero:function(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)},IsIterable:function(t){return j.TypeIsObject(t)&&("undefined"!=typeof t[b]||g(t))},GetIterator:function(e){if(g(e))return new t(e,"value");var r=e[b];if(!j.IsCallable(r))throw new TypeError("value is not an iterable");var n=r.call(e);if(!j.TypeIsObject(n))throw new TypeError("bad iterator");return n},IteratorNext:function(t){var e=arguments.length>1?t.next(arguments[1]):t.next();if(!j.TypeIsObject(e))throw new TypeError("bad iterator");return e},Construct:function(t,e){var r;r=j.IsCallable(t["@@create"])?t["@@create"]():v(t.prototype||null),d(r,{_es6construct:!0});var n=t.apply(r,e);return j.TypeIsObject(n)?n:r}},O=function(){function t(t){var e=Math.floor(t),r=t-e;return.5>r?e:r>.5?e+1:e%2?e+1:e}function e(e,r,n){var o,i,a,u,s,c,f,l=(1<<r-1)-1;for(e!==e?(i=(1<<r)-1,a=Math.pow(2,n-1),o=0):1/0===e||e===-1/0?(i=(1<<r)-1,a=0,o=0>e?1:0):0===e?(i=0,a=0,o=1/e===-1/0?1:0):(o=0>e,e=Math.abs(e),e>=Math.pow(2,1-l)?(i=Math.min(Math.floor(Math.log(e)/Math.LN2),1023),a=t(e/Math.pow(2,i)*Math.pow(2,n)),a/Math.pow(2,n)>=2&&(i+=1,a=1),i>l?(i=(1<<r)-1,a=0):(i+=l,a-=Math.pow(2,n))):(i=0,a=t(e/Math.pow(2,1-l-n)))),s=[],u=n;u;u-=1)s.push(a%2?1:0),a=Math.floor(a/2);for(u=r;u;u-=1)s.push(i%2?1:0),i=Math.floor(i/2);for(s.push(o?1:0),s.reverse(),c=s.join(""),f=[];c.length;)f.push(parseInt(c.slice(0,8),2)),c=c.slice(8);return f}function r(t,e,r){var n,o,i,a,u,s,c,f,l=[];for(n=t.length;n;n-=1)for(i=t[n-1],o=8;o;o-=1)l.push(i%2?1:0),i>>=1;return l.reverse(),a=l.join(""),u=(1<<e-1)-1,s=parseInt(a.slice(0,1),2)?-1:1,c=parseInt(a.slice(1,1+e),2),f=parseInt(a.slice(1+e),2),c===(1<<e)-1?0!==f?0/0:1/0*s:c>0?s*Math.pow(2,c-u)*(1+f/Math.pow(2,r)):0!==f?s*Math.pow(2,-(u-1))*(f/Math.pow(2,r)):0>s?-0:0}function n(t){return r(t,8,23)}function o(t){return e(t,8,23)}var i={toFloat32:function(t){return n(o(t))}};if("undefined"!=typeof Float32Array){var a=new Float32Array(1);i.toFloat32=function(t){return a[0]=t,a[0]}}return i}();if(d(String,{fromCodePoint:function(){for(var t,e=[],r=0,n=arguments.length;n>r;r++){if(t=Number(arguments[r]),!j.SameValue(t,j.ToInteger(t))||0>t||t>1114111)throw new RangeError("Invalid code point "+t);65536>t?e.push(String.fromCharCode(t)):(t-=65536,e.push(String.fromCharCode((t>>10)+55296)),e.push(String.fromCharCode(t%1024+56320)))}return e.join("")},raw:function(t){var e=j.ToObject(t,"bad callSite"),r=e.raw,n=j.ToObject(r,"bad raw value"),o=n.length,i=j.ToLength(o);if(0>=i)return"";for(var a,u,s,c,f=[],l=0;i>l&&(a=String(l),u=n[a],s=String(u),f.push(s),!(l+1>=i));)u=l+1<arguments.length?arguments[l+1]:"",c=String(u),f.push(c),l++;return f.join("")}}),1!==String.fromCodePoint.length){var _=String.fromCodePoint;y(String,"fromCodePoint",function(){return _.apply(this,arguments)},!0)}var x={repeat:function(){var t=function(e,r){if(1>r)return"";if(r%2)return t(e,r-1)+e;var n=t(e,r/2);return n+n};return function(e){var r=String(j.CheckObjectCoercible(this));if(e=j.ToInteger(e),0>e||1/0===e)throw new RangeError("Invalid String#repeat value");return t(r,e)}}(),startsWith:function(t){var e=String(j.CheckObjectCoercible(this));if("[object RegExp]"===p.call(t))throw new TypeError('Cannot call method "startsWith" with a regex');t=String(t);var r=arguments.length>1?arguments[1]:void 0,n=Math.max(j.ToInteger(r),0);return e.slice(n,n+t.length)===t},endsWith:function(t){var e=String(j.CheckObjectCoercible(this));if("[object RegExp]"===p.call(t))throw new TypeError('Cannot call method "endsWith" with a regex');t=String(t);var r=e.length,n=arguments.length>1?arguments[1]:void 0,o="undefined"==typeof n?r:j.ToInteger(n),i=Math.min(Math.max(o,0),r);return e.slice(i-t.length,i)===t},includes:function(t){var e=arguments.length>1?arguments[1]:void 0;return-1!==l.call(this,t,e)},codePointAt:function(t){var e=String(j.CheckObjectCoercible(this)),r=j.ToInteger(t),n=e.length;if(!(0>r||r>=n)){var o=e.charCodeAt(r),i=r+1===n;if(55296>o||o>56319||i)return o;var a=e.charCodeAt(r+1);return 56320>a||a>57343?o:1024*(o-55296)+(a-56320)+65536}}};d(String.prototype,x);var S=1!==" ".trim().length;if(S){{String.prototype.trim}delete String.prototype.trim;var E=[" \n\f\r "," \u2028","\u2029"].join(""),T=new RegExp("(^["+E+"]+)|(["+E+"]+$)","g");d(String.prototype,{trim:function(){if("undefined"==typeof this||null===this)throw new TypeError("can't convert "+this+" to object");return String(this).replace(T,"")}})}var M=function(t){this._s=String(j.CheckObjectCoercible(t)),this._i=0};M.prototype.next=function(){var t=this._s,e=this._i;if("undefined"==typeof t||e>=t.length)return this._s=void 0,{value:void 0,done:!0};var r,n,o=t.charCodeAt(e);return 55296>o||o>56319||e+1==t.length?n=1:(r=t.charCodeAt(e+1),n=56320>r||r>57343?1:2),this._i=e+n,{value:t.substr(e,n),done:!1}},m(M.prototype),m(String.prototype,function(){return new M(this)}),f||(String.prototype.startsWith=x.startsWith,String.prototype.endsWith=x.endsWith);var I={from:function(t){var e=arguments.length>1?arguments[1]:void 0,r=j.ToObject(t,"bad iterable");if("undefined"!=typeof e&&!j.IsCallable(e))throw new TypeError("Array.from: when provided, the second argument must be a function");var n,o,i,a,u=arguments.length>2,s=u?arguments[2]:void 0,c=j.IsIterable(r);if(c){i=0,o=j.IsCallable(this)?Object(new this):[];var f,l=c?j.GetIterator(r):null;do f=j.IteratorNext(l),f.done||(a=f.value,o[i]=e?u?e.call(s,a,i):e(a,i):a,i+=1);while(!f.done);n=i}else for(n=j.ToLength(r.length),o=j.IsCallable(this)?Object(new this(n)):new Array(n),i=0;n>i;++i)a=r[i],o[i]=e?u?e.call(s,a,i):e(a,i):a;return o.length=n,o},of:function(){return Array.from(arguments)}};d(Array,I);var N=function(){try{return 0===Array.from({length:-1}).length}catch(t){return!1}};N()||y(Array,"from",I.from,!0),t=function(t,e){this.i=0,this.array=t,this.kind=e},d(t.prototype,{next:function(){var e=this.i,r=this.array;if(!(this instanceof t))throw new TypeError("Not an ArrayIterator");if("undefined"!=typeof r)for(var n=j.ToLength(r.length);n>e;e++){var o,i=this.kind;return"key"===i?o=e:"value"===i?o=r[e]:"entry"===i&&(o=[e,r[e]]),this.i=e+1,{value:o,done:!1}}return this.array=void 0,{value:void 0,done:!0}}}),m(t.prototype);var k={copyWithin:function(t,e){var r=arguments[2],n=j.ToObject(this),o=j.ToLength(n.length);t=j.ToInteger(t),e=j.ToInteger(e);var i=0>t?Math.max(o+t,0):Math.min(t,o),a=0>e?Math.max(o+e,0):Math.min(e,o);r="undefined"==typeof r?o:j.ToInteger(r);var u=0>r?Math.max(o+r,0):Math.min(r,o),s=Math.min(u-a,o-i),c=1;for(i>a&&a+s>i&&(c=-1,a+=s-1,i+=s-1);s>0;)h.call(n,a)?n[i]=n[a]:delete n[a],a+=c,i+=c,s-=1;return n},fill:function(t){var e=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,n=j.ToObject(this),o=j.ToLength(n.length);e=j.ToInteger("undefined"==typeof e?0:e),r=j.ToInteger("undefined"==typeof r?o:r);for(var i=0>e?Math.max(o+e,0):Math.min(e,o),a=0>r?o+r:r,u=i;o>u&&a>u;++u)n[u]=t;return n},find:function(t){var e=j.ToObject(this),r=j.ToLength(e.length);if(!j.IsCallable(t))throw new TypeError("Array#find: predicate must be a function");for(var n,o=arguments.length>1?arguments[1]:null,i=0;r>i;i++)if(n=e[i],o){if(t.call(o,n,i,e))return n}else if(t(n,i,e))return n},findIndex:function(t){var e=j.ToObject(this),r=j.ToLength(e.length);if(!j.IsCallable(t))throw new TypeError("Array#findIndex: predicate must be a function");for(var n=arguments.length>1?arguments[1]:null,o=0;r>o;o++)if(n){if(t.call(n,e[o],o,e))return o}else if(t(e[o],o,e))return o;return-1},keys:function(){return new t(this,"key")},values:function(){return new t(this,"value")},entries:function(){return new t(this,"entry")}};Array.prototype.keys&&!j.IsCallable([1].keys().next)&&delete Array.prototype.keys,Array.prototype.entries&&!j.IsCallable([1].entries().next)&&delete Array.prototype.entries,Array.prototype.keys&&Array.prototype.entries&&!Array.prototype.values&&Array.prototype[b]&&d(Array.prototype,{values:Array.prototype[b]}),d(Array.prototype,k),m(Array.prototype,function(){return this.values()}),Object.getPrototypeOf&&m(Object.getPrototypeOf([].values()));var P=Math.pow(2,53)-1;d(Number,{MAX_SAFE_INTEGER:P,MIN_SAFE_INTEGER:-P,EPSILON:2.220446049250313e-16,parseInt:u.parseInt,parseFloat:u.parseFloat,isFinite:function(t){return"number"==typeof t&&s(t)},isInteger:function(t){return Number.isFinite(t)&&j.ToInteger(t)===t},isSafeInteger:function(t){return Number.isInteger(t)&&Math.abs(t)<=Number.MAX_SAFE_INTEGER},isNaN:function(t){return t!==t}}),[,1].find(function(t,e){return 0===e})||y(Array.prototype,"find",k.find,!0),0!==[,1].findIndex(function(t,e){return 0===e})&&y(Array.prototype,"findIndex",k.findIndex,!0),c&&(d(Object,{getPropertyDescriptor:function(t,e){for(var r=Object.getOwnPropertyDescriptor(t,e),n=Object.getPrototypeOf(t);"undefined"==typeof r&&null!==n;)r=Object.getOwnPropertyDescriptor(n,e),n=Object.getPrototypeOf(n);return r},getPropertyNames:function(t){for(var e=Object.getOwnPropertyNames(t),r=Object.getPrototypeOf(t),n=function(t){-1===e.indexOf(t)&&e.push(t)};null!==r;)Object.getOwnPropertyNames(r).forEach(n),r=Object.getPrototypeOf(r);return e}}),d(Object,{assign:function(t){if(!j.TypeIsObject(t))throw new TypeError("target must be an object");return Array.prototype.reduce.call(arguments,function(t,e){return Object.keys(Object(e)).reduce(function(t,r){return t[r]=e[r],t},t)})},is:function(t,e){return j.SameValue(t,e)},setPrototypeOf:function(t,e){var r,n=function(t,e){if(!j.TypeIsObject(t))throw new TypeError("cannot set prototype on a non-object");if(null!==e&&!j.TypeIsObject(e))throw new TypeError("can only set prototype to an object or null"+e)},o=function(t,e){return n(t,e),r.call(t,e),t};try{r=t.getOwnPropertyDescriptor(t.prototype,e).set,r.call({},null)}catch(i){if(t.prototype!=={}[e])return;r=function(t){this[e]=t},o.polyfill=o(o({},null),t.prototype)instanceof t}return o}(Object,"__proto__")})),Object.setPrototypeOf&&Object.getPrototypeOf&&null!==Object.getPrototypeOf(Object.setPrototypeOf({},null))&&null===Object.getPrototypeOf(Object.create(null))&&!function(){var t=Object.create(null),e=Object.getPrototypeOf,r=Object.setPrototypeOf;Object.getPrototypeOf=function(r){var n=e(r);return n===t?null:n},Object.setPrototypeOf=function(e,n){return null===n&&(n=t),r(e,n)},Object.setPrototypeOf.polyfill=!1}();try{Object.keys("foo")}catch(C){var A=Object.keys;Object.keys=function(t){return A(j.ToObject(t))}}var L={acosh:function(t){return t=Number(t),Number.isNaN(t)||1>t?0/0:1===t?0:1/0===t?t:Math.log(t+Math.sqrt(t*t-1))},asinh:function(t){return t=Number(t),0!==t&&s(t)?0>t?-Math.asinh(-t):Math.log(t+Math.sqrt(t*t+1)):t},atanh:function(t){return t=Number(t),Number.isNaN(t)||-1>t||t>1?0/0:-1===t?-1/0:1===t?1/0:0===t?t:.5*Math.log((1+t)/(1-t))},cbrt:function(t){if(t=Number(t),0===t)return t;var e,r=0>t;return r&&(t=-t),e=Math.pow(t,1/3),r?-e:e},clz32:function(t){t=Number(t);var e=j.ToUint32(t);return 0===e?32:32-e.toString(2).length},cosh:function(t){return t=Number(t),0===t?1:Number.isNaN(t)?0/0:s(t)?(0>t&&(t=-t),t>21?Math.exp(t)/2:(Math.exp(t)+Math.exp(-t))/2):1/0},expm1:function(t){return t=Number(t),t===-1/0?-1:s(t)&&0!==t?Math.exp(t)-1:t},hypot:function(){var t=!1,e=!0,r=!1,n=[];if(Array.prototype.every.call(arguments,function(o){var i=Number(o);return Number.isNaN(i)?t=!0:1/0===i||i===-1/0?r=!0:0!==i&&(e=!1),r?!1:(t||n.push(Math.abs(i)),!0)}),r)return 1/0;if(t)return 0/0;if(e)return 0;n.sort(function(t,e){return e-t});var o=n[0],i=n.map(function(t){return t/o}),a=i.reduce(function(t,e){return t+=e*e},0);return o*Math.sqrt(a)},log2:function(t){return Math.log(t)*Math.LOG2E},log10:function(t){return Math.log(t)*Math.LOG10E},log1p:function(t){if(t=Number(t),-1>t||Number.isNaN(t))return 0/0;if(0===t||1/0===t)return t;if(-1===t)return-1/0;var e=0,r=50;if(0>t||t>1)return Math.log(1+t);for(var n=1;r>n;n++)n%2===0?e-=Math.pow(t,n)/n:e+=Math.pow(t,n)/n;return e},sign:function(t){var e=+t;return 0===e?e:Number.isNaN(e)?e:0>e?-1:1},sinh:function(t){return t=Number(t),s(t)&&0!==t?(Math.exp(t)-Math.exp(-t))/2:t},tanh:function(t){return t=Number(t),Number.isNaN(t)||0===t?t:1/0===t?1:t===-1/0?-1:(Math.exp(t)-Math.exp(-t))/(Math.exp(t)+Math.exp(-t))},trunc:function(t){var e=Number(t);return 0>e?-Math.floor(-e):Math.floor(e)},imul:function(t,e){t=j.ToUint32(t),e=j.ToUint32(e);var r=t>>>16&65535,n=65535&t,o=e>>>16&65535,i=65535&e;return n*i+(r*i+n*o<<16>>>0)|0},fround:function(t){if(0===t||1/0===t||t===-1/0||Number.isNaN(t))return t;var e=Number(t);return O.toFloat32(e)}};d(Math,L),-5!==Math.imul(4294967295,5)&&(Math.imul=L.imul);var R=function(){var t,r;j.IsPromise=function(t){return j.TypeIsObject(t)&&t._promiseConstructor?"undefined"==typeof t._status?!1:!0:!1};var n,o=function(t){if(!j.IsCallable(t))throw new TypeError("bad promise constructor");var e=this,r=function(t,r){e.resolve=t,e.reject=r};if(e.promise=j.Construct(t,[r]),!e.promise._es6construct)throw new TypeError("bad promise constructor");if(!j.IsCallable(e.resolve)||!j.IsCallable(e.reject))throw new TypeError("bad promise constructor")},i=u.setTimeout;"undefined"!=typeof window&&j.IsCallable(window.postMessage)&&(n=function(){var t=[],e="zero-timeout-message",r=function(r){t.push(r),window.postMessage(e,"*")},n=function(r){if(r.source==window&&r.data==e){if(r.stopPropagation(),0===t.length)return;var n=t.shift();n()}};return window.addEventListener("message",n,!0),r});var a=function(){var t=u.Promise;return t&&t.resolve&&function(e){return t.resolve().then(e)}},s=j.IsCallable(u.setImmediate)?u.setImmediate.bind(u):"object"==typeof e&&e.nextTick?e.nextTick:a()||(j.IsCallable(n)?n():function(t){i(t,0)}),c=function(t,e){t.forEach(function(t){s(function(){var r=t.handler,n=t.capability,o=n.resolve,i=n.reject;try{var a=r(e);if(a===n.promise)throw new TypeError("self resolution");var u=f(a,n);u||o(a)}catch(s){i(s)}})})},f=function(t,e){if(!j.TypeIsObject(t))return!1;var r=e.resolve,n=e.reject;try{var o=t.then;if(!j.IsCallable(o))return!1;o.call(t,r,n)}catch(i){n(i)}return!0},l=function(t,e,r){return function(n){if(n===t)return r(new TypeError("self resolution"));var i=t._promiseConstructor,a=new o(i),u=f(n,a);return u?a.promise.then(e,r):e(n)}};t=function(t){var e=this;if(e=w(e),!e._promiseConstructor)throw new TypeError("bad promise");if("undefined"!=typeof e._status)throw new TypeError("promise already initialized");if(!j.IsCallable(t))throw new TypeError("not a valid resolver");e._status="unresolved",e._resolveReactions=[],e._rejectReactions=[];var r=function(t){if("unresolved"===e._status){var r=e._resolveReactions;e._result=t,e._resolveReactions=void 0,e._rejectReactions=void 0,e._status="has-resolution",c(r,t)}},n=function(t){if("unresolved"===e._status){var r=e._rejectReactions;e._result=t,e._resolveReactions=void 0,e._rejectReactions=void 0,e._status="has-rejection",c(r,t)}};try{t(r,n)}catch(o){n(o)}return e},r=t.prototype,d(t,{"@@create":function(t){var e=this,n=e.prototype||r;return t=t||v(n),d(t,{_status:void 0,_result:void 0,_resolveReactions:void 0,_rejectReactions:void 0,_promiseConstructor:void 0}),t._promiseConstructor=e,t}});var p=function(t,e,r,n){var o=!1;return function(i){if(!o&&(o=!0,e[t]=i,0===--n.count)){var a=r.resolve;a(e)}}};return t.all=function(t){var e=this,r=new o(e),n=r.resolve,i=r.reject;try{if(!j.IsIterable(t))throw new TypeError("bad iterable");for(var a=j.GetIterator(t),u=[],s={count:1},c=0;;c++){var f=j.IteratorNext(a);if(f.done)break;var l=e.resolve(f.value),h=p(c,u,r,s);s.count++,l.then(h,r.reject)}0===--s.count&&n(u)}catch(y){i(y)}return r.promise},t.race=function(t){var e=this,r=new o(e),n=r.resolve,i=r.reject;try{if(!j.IsIterable(t))throw new TypeError("bad iterable");for(var a=j.GetIterator(t);;){var u=j.IteratorNext(a);if(u.done)break;var s=e.resolve(u.value);s.then(n,i)}}catch(c){i(c)}return r.promise},t.reject=function(t){var e=this,r=new o(e),n=r.reject;return n(t),r.promise},t.resolve=function(t){var e=this;if(j.IsPromise(t)){var r=t._promiseConstructor;if(r===e)return t}var n=new o(e),i=n.resolve;return i(t),n.promise},t.prototype["catch"]=function(t){return this.then(void 0,t)},t.prototype.then=function(t,e){var r=this;if(!j.IsPromise(r))throw new TypeError("not a promise");var n=this.constructor,i=new o(n);j.IsCallable(e)||(e=function(t){throw t}),j.IsCallable(t)||(t=function(t){return t});var a=l(r,t,e),u={capability:i,handler:a},s={capability:i,handler:e};switch(r._status){case"unresolved":r._resolveReactions.push(u),r._rejectReactions.push(s);break;case"has-resolution":c([u],r._result);break;case"has-rejection":c([s],r._result);break;default:throw new TypeError("unexpected")}return i.promise},t}();u.Promise&&(delete u.Promise.accept,delete u.Promise.defer,delete u.Promise.prototype.chain),d(u,{Promise:R});var z=n(u.Promise,function(t){return t.resolve(42)instanceof t}),F=function(){try{return u.Promise.reject(42).then(null,5).then(null,function(){}),!0}catch(t){return!1}}(),D=function(){try{Promise.call(3,function(){})}catch(t){return!0}return!1}();z&&F&&D||(u.Promise=R);var G=function(t){var e=Object.keys(t.reduce(function(t,e){return t[e]=!0,t},{}));return t.join(":")===e.join(":")},W=G(["z","a","bb"]),V=G(["z",1,"a","3",2]);if(c){var q=function(t){if(!W)return null;var e=typeof t;return"string"===e?"$"+t:"number"===e?V?t:"n"+t:null},U=function(){return Object.create?Object.create(null):{}},Z={Map:function(){function t(t,e){this.key=t,this.value=e,this.next=null,this.prev=null}function e(t,e){this.head=t._head,this.i=this.head,this.kind=e}function r(e){var r=this;if(!j.TypeIsObject(r))throw new TypeError("Map does not accept arguments when called as a function");if(r=w(r),!r._es6map)throw new TypeError("bad map");var n=new t(null,null);if(n.next=n.prev=n,d(r,{_head:n,_storage:U(),_size:0}),"undefined"!=typeof e&&null!==e){var o=j.GetIterator(e),i=r.set;if(!j.IsCallable(i))throw new TypeError("bad map");for(;;){var a=j.IteratorNext(o);if(a.done)break;var u=a.value;if(!j.TypeIsObject(u))throw new TypeError("expected iterable of pairs");i.call(r,u[0],u[1])}}return r}var n={};t.prototype.isRemoved=function(){return this.key===n},e.prototype={next:function(){var t,e=this.i,r=this.kind,n=this.head;if("undefined"==typeof this.i)return{value:void 0,done:!0};for(;e.isRemoved()&&e!==n;)e=e.prev;for(;e.next!==n;)if(e=e.next,!e.isRemoved())return t="key"===r?e.key:"value"===r?e.value:[e.key,e.value],this.i=e,{value:t,done:!1};return this.i=void 0,{value:void 0,done:!0}}},m(e.prototype);var o=r.prototype;return d(r,{"@@create":function(t){var e=this,r=e.prototype||o;return t=t||v(r),d(t,{_es6map:!0}),t}}),Object.defineProperty(r.prototype,"size",{configurable:!0,enumerable:!1,get:function(){if("undefined"==typeof this._size)throw new TypeError("size method called on incompatible Map");return this._size}}),d(r.prototype,{get:function(t){var e=q(t);if(null!==e){var r=this._storage[e];return r?r.value:void 0}for(var n=this._head,o=n;(o=o.next)!==n;)if(j.SameValueZero(o.key,t))return o.value},has:function(t){var e=q(t);if(null!==e)return"undefined"!=typeof this._storage[e];for(var r=this._head,n=r;(n=n.next)!==r;)if(j.SameValueZero(n.key,t))return!0;return!1},set:function(e,r){var n,o=this._head,i=o,a=q(e);if(null!==a){if("undefined"!=typeof this._storage[a])return this._storage[a].value=r,this;n=this._storage[a]=new t(e,r),i=o.prev}for(;(i=i.next)!==o;)if(j.SameValueZero(i.key,e))return i.value=r,this;return n=n||new t(e,r),j.SameValue(-0,e)&&(n.key=0),n.next=this._head,n.prev=this._head.prev,n.prev.next=n,n.next.prev=n,this._size+=1,this},"delete":function(t){var e=this._head,r=e,o=q(t);if(null!==o){if("undefined"==typeof this._storage[o])return!1;r=this._storage[o].prev,delete this._storage[o]}for(;(r=r.next)!==e;)if(j.SameValueZero(r.key,t))return r.key=r.value=n,r.prev.next=r.next,r.next.prev=r.prev,this._size-=1,!0;return!1},clear:function(){this._size=0,this._storage=U();for(var t=this._head,e=t,r=e.next;(e=r)!==t;)e.key=e.value=n,r=e.next,e.next=e.prev=t;t.next=t.prev=t},keys:function(){return new e(this,"key")},values:function(){return new e(this,"value")},entries:function(){return new e(this,"key+value")},forEach:function(t){for(var e=arguments.length>1?arguments[1]:null,r=this.entries(),n=r.next();!n.done;n=r.next())e?t.call(e,n.value[1],n.value[0],this):t(n.value[1],n.value[0],this)}}),m(r.prototype,function(){return this.entries()}),r}(),Set:function(){var t=function(t){var e=this;if(!j.TypeIsObject(e))throw new TypeError("Set does not accept arguments when called as a function");if(e=w(e),!e._es6set)throw new TypeError("bad set");if(d(e,{"[[SetData]]":null,_storage:U()}),"undefined"!=typeof t&&null!==t){var r=j.GetIterator(t),n=e.add;if(!j.IsCallable(n))throw new TypeError("bad set");for(;;){var o=j.IteratorNext(r);if(o.done)break;var i=o.value;n.call(e,i)}}return e},e=t.prototype;d(t,{"@@create":function(t){var r=this,n=r.prototype||e;return t=t||v(n),d(t,{_es6set:!0}),t}});var r=function(t){if(!t["[[SetData]]"]){var e=t["[[SetData]]"]=new Z.Map;Object.keys(t._storage).forEach(function(t){t=36===t.charCodeAt(0)?t.slice(1):"n"===t.charAt(0)?+t.slice(1):+t,e.set(t,t)}),t._storage=null}};return Object.defineProperty(t.prototype,"size",{configurable:!0,enumerable:!1,get:function(){if("undefined"==typeof this._storage)throw new TypeError("size method called on incompatible Set");return r(this),this["[[SetData]]"].size}}),d(t.prototype,{has:function(t){var e;return this._storage&&null!==(e=q(t))?!!this._storage[e]:(r(this),this["[[SetData]]"].has(t))},add:function(t){var e;return this._storage&&null!==(e=q(t))?(this._storage[e]=!0,this):(r(this),this["[[SetData]]"].set(t,t),this)},"delete":function(t){var e;if(this._storage&&null!==(e=q(t))){var n=h.call(this._storage,e);return delete this._storage[e]&&n | ||
}return r(this),this["[[SetData]]"]["delete"](t)},clear:function(){return this._storage?void(this._storage=U()):this["[[SetData]]"].clear()},values:function(){return r(this),this["[[SetData]]"].values()},entries:function(){return r(this),this["[[SetData]]"].entries()},forEach:function(t){var e=arguments.length>1?arguments[1]:null,n=this;r(n),this["[[SetData]]"].forEach(function(r,o){e?t.call(e,o,o,n):t(o,o,n)})}}),y(t,"keys",t.values,!0),m(t.prototype,function(){return this.values()}),t}()};d(u,Z),(u.Map||u.Set)&&("function"!=typeof u.Map.prototype.clear||0!==(new u.Set).size||0!==(new u.Map).size||"function"!=typeof u.Map.prototype.keys||"function"!=typeof u.Set.prototype.keys||"function"!=typeof u.Map.prototype.forEach||"function"!=typeof u.Set.prototype.forEach||r(u.Map)||r(u.Set)||!n(u.Map,function(t){var e=new t([]);return e.set(42,42),e instanceof t}))&&(u.Map=Z.Map,u.Set=Z.Set),u.Set.prototype.keys!==u.Set.prototype.values&&y(u.Set.prototype,"keys",u.Set.prototype.values,!0),m(Object.getPrototypeOf((new u.Map).keys())),m(Object.getPrototypeOf((new u.Set).keys()))}return u})}).call(this,e("_process"))},{_process:3}],5:[function(t){"use strict";t("./is-implemented")()||Object.defineProperty(t("es5-ext/global"),"Symbol",{value:t("./polyfill"),configurable:!0,enumerable:!1,writable:!0})},{"./is-implemented":6,"./polyfill":21,"es5-ext/global":8}],6:[function(t,e){"use strict";e.exports=function(){var t;if("function"!=typeof Symbol)return!1;t=Symbol("test symbol");try{String(t)}catch(e){return!1}return"symbol"==typeof Symbol.iterator?!0:"object"!=typeof Symbol.isConcatSpreadable?!1:"object"!=typeof Symbol.isRegExp?!1:"object"!=typeof Symbol.iterator?!1:"object"!=typeof Symbol.toPrimitive?!1:"object"!=typeof Symbol.toStringTag?!1:"object"!=typeof Symbol.unscopables?!1:!0}},{}],7:[function(t,e){"use strict";var r,n=t("es5-ext/object/assign"),o=t("es5-ext/object/normalize-options"),i=t("es5-ext/object/is-callable"),a=t("es5-ext/string/#/contains");r=e.exports=function(t,e){var r,i,u,s,c;return arguments.length<2||"string"!=typeof t?(s=e,e=t,t=null):s=arguments[2],null==t?(r=u=!0,i=!1):(r=a.call(t,"c"),i=a.call(t,"e"),u=a.call(t,"w")),c={value:e,configurable:r,enumerable:i,writable:u},s?n(o(s),c):c},r.gs=function(t,e,r){var u,s,c,f;return"string"!=typeof t?(c=r,r=e,e=t,t=null):c=arguments[3],null==e?e=void 0:i(e)?null==r?r=void 0:i(r)||(c=r,r=void 0):(c=e,e=r=void 0),null==t?(u=!0,s=!1):(u=a.call(t,"c"),s=a.call(t,"e")),f={get:e,set:r,configurable:u,enumerable:s},c?n(o(c),f):f}},{"es5-ext/object/assign":9,"es5-ext/object/is-callable":12,"es5-ext/object/normalize-options":16,"es5-ext/string/#/contains":18}],8:[function(t,e){"use strict";e.exports=new Function("return this")()},{}],9:[function(t,e){"use strict";e.exports=t("./is-implemented")()?Object.assign:t("./shim")},{"./is-implemented":10,"./shim":11}],10:[function(t,e){"use strict";e.exports=function(){var t,e=Object.assign;return"function"!=typeof e?!1:(t={foo:"raz"},e(t,{bar:"dwa"},{trzy:"trzy"}),t.foo+t.bar+t.trzy==="razdwatrzy")}},{}],11:[function(t,e){"use strict";var r=t("../keys"),n=t("../valid-value"),o=Math.max;e.exports=function(t,e){var i,a,u,s=o(arguments.length,2);for(t=Object(n(t)),u=function(r){try{t[r]=e[r]}catch(n){i||(i=n)}},a=1;s>a;++a)e=arguments[a],r(e).forEach(u);if(void 0!==i)throw i;return t}},{"../keys":13,"../valid-value":17}],12:[function(t,e){"use strict";e.exports=function(t){return"function"==typeof t}},{}],13:[function(t,e){"use strict";e.exports=t("./is-implemented")()?Object.keys:t("./shim")},{"./is-implemented":14,"./shim":15}],14:[function(t,e){"use strict";e.exports=function(){try{return Object.keys("primitive"),!0}catch(t){return!1}}},{}],15:[function(t,e){"use strict";var r=Object.keys;e.exports=function(t){return r(null==t?t:Object(t))}},{}],16:[function(t,e){"use strict";var r,n=t("./assign"),o=Array.prototype.forEach,i=Object.create,a=Object.getPrototypeOf;r=function(t,e){var o=a(t);return n(o?r(o,e):e,t)},e.exports=function(){var t=i(null);return o.call(arguments,function(e){null!=e&&r(Object(e),t)}),t}},{"./assign":9}],17:[function(t,e){"use strict";e.exports=function(t){if(null==t)throw new TypeError("Cannot use null or undefined");return t}},{}],18:[function(t,e){"use strict";e.exports=t("./is-implemented")()?String.prototype.contains:t("./shim")},{"./is-implemented":19,"./shim":20}],19:[function(t,e){"use strict";var r="razdwatrzy";e.exports=function(){return"function"!=typeof r.contains?!1:r.contains("dwa")===!0&&r.contains("foo")===!1}},{}],20:[function(t,e){"use strict";var r=String.prototype.indexOf;e.exports=function(t){return r.call(this,t,arguments[1])>-1}},{}],21:[function(t,e){"use strict";var r,n,o=t("d"),i=Object.create,a=Object.defineProperties;r=function(){var t=i(null);return function(e){for(var r=0;t[e+(r||"")];)++r;return e+=r||"",t[e]=!0,"@@"+e}}(),e.exports=n=function(t){var e;if(this instanceof n)throw new TypeError("TypeError: Symbol is not a constructor");return e=i(n.prototype),t=void 0===t?"":String(t),a(e,{__description__:o("",t),__name__:o("",r(t))})},Object.defineProperties(n,{create:o("",n("create")),hasInstance:o("",n("hasInstance")),isConcatSpreadable:o("",n("isConcatSpreadable")),isRegExp:o("",n("isRegExp")),iterator:o("",n("iterator")),toPrimitive:o("",n("toPrimitive")),toStringTag:o("",n("toStringTag")),unscopables:o("",n("unscopables"))}),a(n.prototype,{properToString:o(function(){return"Symbol ("+this.__description__+")"}),toString:o("",function(){return this.__name__})}),Object.defineProperty(n.prototype,n.toPrimitive,o("",function(){throw new TypeError("Conversion of symbol objects is not allowed")})),Object.defineProperty(n.prototype,n.toStringTag,o("c","Symbol"))},{d:7}]},{},[1])},{}],3:[function(){(function(t){!function(t){var e=t.to5Runtime={};e.extends=function(t,e){t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),t.__proto__=e},e.classProps=function(t,e,r){e&&Object.defineProperties(t,e),r&&Object.defineProperties(t.prototype,r)},e.applyConstructor=function(t,e){var r=Object.create(t.prototype),n=t.apply(r,e);return null==n||"object"!=typeof n&&"function"!=typeof n?r:n},e.taggedTemplateLiteral=function(t,e){return Object.defineProperties(t,{raw:{value:e}})},e.interopRequire=function(t){return t&&(t["default"]||t)},e.toArray=function(t){return Array.isArray(t)?t:Array.from(t)},e.objectSpread=function(t,e){var r={};for(var n in t)e.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r},e.hasOwn=Object.prototype.hasOwnProperty,e.slice=Array.prototype.slice}("undefined"==typeof t?self:t)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],4:[function(t,e,r){"use strict";r["default"]=function(t,e){to5Runtime.slice.call(arguments,2);return void 0===e&&(e="baz"),"bar!"}},{}]},{},[1])(1)}); | ||
/*! es6-kameita - v0.1.2 */!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n;"undefined"!=typeof window?n=window:"undefined"!=typeof global?n=global:"undefined"!=typeof self&&(n=self),n.es6kameita=t()}}(function(){return function t(n,e,r){function i(u,c){if(!e[u]){if(!n[u]){var f="function"==typeof require&&require;if(!c&&f)return f(u,!0);if(o)return o(u,!0);var a=new Error("Cannot find module '"+u+"'");throw a.code="MODULE_NOT_FOUND",a}var s=e[u]={exports:{}};n[u][0].call(s.exports,function(t){var e=n[u][1][t];return i(e?e:t)},s,s.exports,t,n,e,r)}return e[u].exports}for(var o="function"==typeof require&&require,u=0;u<r.length;u++)i(r[u]);return i}({1:[function(t){"use strict";t("6to5/runtime");to5Runtime.interopRequire(t("6to5/browser-polyfill")),to5Runtime.interopRequire(t("./src/foo"))},{"./src/foo":4,"6to5/browser-polyfill":2,"6to5/runtime":3}],2:[function(t){!function n(e,r,i){function o(c,f){if(!r[c]){if(!e[c]){var a="function"==typeof t&&t;if(!f&&a)return a(c,!0);if(u)return u(c,!0);var s=new Error("Cannot find module '"+c+"'");throw s.code="MODULE_NOT_FOUND",s}var l=r[c]={exports:{}};e[c][0].call(l.exports,function(t){var n=e[c][1][t];return o(n?n:t)},l,l.exports,n,e,r,i)}return r[c].exports}for(var u="function"==typeof t&&t,c=0;c<i.length;c++)o(i[c]);return o}({1:[function(t){t("core-js/shim"),t("regenerator/runtime")},{"core-js/shim":2,"regenerator/runtime":3}],2:[function(t,n){!function(t,e,r){"use strict";function i(t){return null!=t&&("object"==typeof t||"function"==typeof t)}function o(t){return"function"==typeof t}function u(t,n,e){t&&(oe(t=e?t:t[hn],Oe)||we(t,Oe,n))}function c(t){return t==r?t===r?"Undefined":"Null":Hn.call(t).slice(8,-1)}function f(t){var n,e=c(t);return e==H&&(n=t[Oe])?oe(Xn,n)?"~"+n:n:e}function a(){for(var t=arguments.length,n=jn(t),e=0,r=Re._,i=!1;t>e;)(n[e]=arguments[e++])===r&&(i=!0);return s(this,n,t,i,r,!1)}function s(t,n,e,r,i,o,u){return S(t),function(){var c,f=o?u:this,a=arguments.length,s=0,l=0;if(!r&&!a)return h(t,n,f);if(c=n.slice(),r)for(;e>s;s++)c[s]===i&&(c[s]=arguments[l++]);for(;a>l;)c.push(arguments[l++]);return h(t,c,f)}}function l(t,n,e){if(S(t),~e&&n===r)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,i){return t.call(n,e,r,i)}}return function(){return t.apply(n,arguments)}}function h(t,n,e){var i=e===r;switch(0|n.length){case 0:return i?t():t.call(e);case 1:return i?t(n[0]):t.call(e,n[0]);case 2:return i?t(n[0],n[1]):t.call(e,n[0],n[1]);case 3:return i?t(n[0],n[1],n[2]):t.call(e,n[0],n[1],n[2]);case 4:return i?t(n[0],n[1],n[2],n[3]):t.call(e,n[0],n[1],n[2],n[3]);case 5:return i?t(n[0],n[1],n[2],n[3],n[4]):t.call(e,n[0],n[1],n[2],n[3],n[4])}return t.apply(e,n)}function p(t,n){return oe(t,n)?t[n]:void 0}function v(t){return ie?re(t).concat(ie(t)):re(t)}function d(t,n){for(var e,r=ue(t),i=ee(r),o=i.length,u=0;o>u;)if(r[e=i[u++]]===n)return e}function g(t){return _n(t).split(",")}function y(t){var n=1==t,e=2==t,i=3==t,o=4==t,u=6==t,c=5==t||u;return function(f,a){for(var s,h,p=On(N(this)),v=ue(p),d=l(f,a,3),g=O(v.length),y=0,m=n?jn(g):e?[]:r;g>y;y++)if((c||y in v)&&(s=v[y],h=d(s,y,p),t))if(n)m[y]=h;else if(h)switch(t){case 3:return!0;case 5:return s;case 6:return y;case 2:m.push(s)}else if(o)return!1;return u?-1:i||o?o:m}}function m(t){return function(n,e){var r=ue(N(this)),i=O(r.length),o=j(e,i);if(t&&n!=n){for(;i>o;o++)if(x(r[o]))return t||o}else for(;i>o;o++)if((t||o in r)&&r[o]===n)return t||o;return!t&&-1}}function w(t,n){S(t);for(var e=n==r?[]:On(n),i=ue(this),o=O(i.length),u=0;o>u&&t(e,i[u],u,this)!==!1;u++);return e}function b(t,n){return"function"==typeof t?t:n}function x(t){return t!=t}function E(t){return isNaN(t)?0:ge(t)}function O(t){return t>0?ve(E(t),se):0}function j(t,n){var t=E(t);return 0>t?pe(t+n,0):ve(t,n)}function _(t,n,e){var r=i(n)?function(t){return n[t]}:n;return function(n){return _n(e?n:this).replace(t,r)}}function L(t){return function(n){var e,i,o=_n(N(this)),u=E(n),c=o.length;return 0>u||u>=c?t?"":r:(e=o.charCodeAt(u),55296>e||e>56319||u+1===c||(i=o.charCodeAt(u+1))<56320||i>57343?t?o.charAt(u):e:t?o.slice(u,u+2):(e-55296<<10)+(i-56320)+65536)}}function P(t,n,e){if(!t)throw Rn(e?n+e:n)}function N(t){if(t==r)throw Rn("Function called on null or undefined");return t}function S(t){return P(o(t),t," is not a function!"),t}function k(t){return P(i(t),t," is not an object!"),t}function A(t,n,e){P(t instanceof n,e,": use the 'new' operator!")}function F(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}function I(t,n,e){return t[n]=e,t}function R(t){return ye?function(n,e,r){return te(n,e,F(t,r))}:I}function C(t){return fn+"("+t+")_"+(++me+de())[vn](36)}function T(t,n){return Fn&&Fn[t]||(n?Fn:xe)(fn+Bn+t)}function M(t,n){for(var e in n)we(t,e,n[e]);return t}function D(t,n){we(t,Ee,n),je&&we(t,wn,n)}function G(t,n,e,r){t[hn]=Vn(r||Se,{next:F(1,e)}),u(t,n+" Iterator")}function q(n,r,i,o){var c=n[hn],f=p(c,Ee)||p(c,wn)||o&&p(c,o)||i;if(e&&(D(c,f),f!==i)){var a=Zn(f.call(new n));u(a,r+" Iterator",!0),oe(c,wn)&&D(a,t)}Ne[r]=f,Ne[r+" Iterator"]=t}function W(t,n,e,r,i){function o(t){return function(){return new e(this,t)}}G(e,n,r),q(t,n,o(i),i==Pe?"values":"entries"),i&&B(Ge+Te*Ae,n,{entries:o(Le+Pe),keys:o(Le),values:o(Pe)})}function z(t,n){return{value:n,done:!!t}}function U(t){var n=On(t);return Ee in n||oe(Ne,f(n))}function $(t){return k((t[Ee]||Ne[f(t)]).call(t))}function J(t,n,e){return e?h(t,n):t(n)}function Y(t,n,e,r){for(var i,o=$(t),u=l(e,r,n?2:1);!(i=o.next()).done;)if(J(u,i.value,n)===!1)return}function B(t,n,r){var i,u,c,f,a=t&Me,s=a?X:t&De?X[n]:(X[n]||$n)[hn],h=a?Ie:Ie[n]||(Ie[n]={});a&&(r=n);for(i in r)u=!(t&Te)&&s&&i in s&&(!o(s[i])||Kn(s[i])),c=(u?s:r)[i],t&qe&&u?f=l(c,X):t&We&&!e&&s[i]==c?(f=function(t){return this instanceof c?new c(t):c(t)},f[hn]=c[hn]):f=t&Ge&&o(c)?l(Qn,c):c,h[i]!=c&&we(h,i,f),e&&s&&!u&&(a?s[i]=c:delete s[i]&&we(s,i,c))}var K,X=t(),H="Object",Q="Function",V="Array",Z="String",tn="Number",nn="RegExp",en="Date",rn="Map",on="Set",un="WeakMap",cn="WeakSet",fn="Symbol",an="Promise",sn="Math",ln="Arguments",hn="prototype",pn="constructor",vn="toString",dn=vn+"Tag",gn="hasOwnProperty",yn="forEach",mn="iterator",wn="@@"+mn,bn="process",xn="createElement",En=X[Q],On=X[H],jn=X[V],_n=X[Z],Ln=X[tn],Pn=X[nn],Nn=(X[en],X[rn]),Sn=X[on],kn=X[un],An=X[cn],Fn=X[fn],In=X[sn],Rn=X.TypeError,Cn=X.setTimeout,Tn=X.setImmediate,Mn=X.clearImmediate,Dn=X[bn],Gn=Dn&&Dn.nextTick,qn=X.document,Wn=qn&&qn.documentElement,zn=(X.navigator,X.define),Un=jn[hn],$n=On[hn],Jn=En[hn],Yn=1/0,Bn=".",Kn=l(/./.test,/\[native code\]\s*\}\s*$/,1),Xn={Undefined:1,Null:1,Array:1,String:1,Arguments:1,Function:1,Error:1,Boolean:1,Number:1,Date:1,RegExp:1},Hn=$n[vn],Qn=Jn.call,Vn=On.create,Zn=On.getPrototypeOf,te=On.defineProperty,ne=(On.defineProperties,On.getOwnPropertyDescriptor),ee=On.keys,re=On.getOwnPropertyNames,ie=On.getOwnPropertySymbols,oe=l(Qn,$n[gn],2),ue=On,ce=On.assign||function(t){for(var n=On(N(t)),e=arguments.length,r=1;e>r;)for(var i,o=ue(arguments[r++]),u=ee(o),c=u.length,f=0;c>f;)n[i=u[f++]]=o[i];return n},fe=Un.push,ae=(Un.unshift,Un.slice,Un.splice,Un.indexOf,Un[yn]),se=9007199254740991,le=In.ceil,he=In.floor,pe=In.max,ve=In.min,de=In.random,ge=In.trunc||function(t){return(t>0?he:le)(t)},ye=!!function(){try{return te({},0,$n)}catch(t){}}(),me=0,we=R(1),be=Fn?I:we,xe=Fn||C,Ee=T(mn),Oe=T(dn),je=wn in Un,_e=xe("iter"),Le=1,Pe=2,Ne={},Se={},ke=Ee in Un,Ae="keys"in Un&&!("next"in[].keys());D(Se,t);var Fe=c(Dn)==bn,Ie={},Re=e?X:Ie,Ce=X.core,Te=1,Me=2,De=4,Ge=8,qe=16,We=32;Fe&&(n.exports=Ie),o(zn)&&zn.amd&&zn(function(){return Ie}),(!Fe||e)&&(Ie.noConflict=function(){return X.core=Ce,Ie},X.core=Ie),B(Me+Te,{global:X}),!function(t,n,e){Kn(Fn)||(Fn=function(n){P(!(this instanceof Fn),fn+" is not a "+pn);var r=C(n);return e&&te($n,r,{configurable:!0,set:function(t){we(this,r,t)}}),be(Vn(Fn[hn]),t,r)},we(Fn[hn],vn,function(){return this[t]})),B(Me+We,{Symbol:Fn});var r={"for":function(t){return oe(n,t+="")?n[t]:n[t]=Fn(t)},iterator:Ee,keyFor:a.call(d,n),toStringTag:Oe=T(dn,!0),pure:xe,set:be,useSetter:function(){e=!0},useSimple:function(){e=!1}};ae.call(g("hasInstance,isConcatSpreadable,match,replace,search,species,split,toPrimitive,unscopables"),function(t){r[t]=T(t)}),B(De,fn,r),u(Fn,fn),B(Me,{Reflect:{ownKeys:v}})}(xe("tag"),{},!0),!function(t,n){function o(n){return t(n=+n)&&0!=n?0>n?-o(-n):m(n+w(n*n+1)):n}function a(t){if(i(t)&&t instanceof Pn)throw Rn()}var s=X.RangeError,h=Ln.isInteger||function(n){return!i(n)&&t(n)&&he(n)===n},p=In.sign||function(t){return 0==(t=+t)||t!=t?t:0>t?-1:1},v=In.pow,d=In.abs,g=In.exp,m=In.log,w=In.sqrt,S=_n.fromCharCode,A=L(!0),F={assign:ce,is:function(t,n){return t===n?0!==t||1/t===1/n:t!=t&&n!=n}};"__proto__"in $n&&function(t,n){try{n=l(Qn,ne($n,"__proto__").set,2),n({},Un)}catch(e){t=!0}F.setPrototypeOf=function(e,r){return k(e),P(null===r||i(r),r,": can't set as prototype!"),t?e.__proto__=r:n(e,r),e}}(),B(De,H,F),B(De,tn,{EPSILON:v(2,-52),isFinite:function(n){return"number"==typeof n&&t(n)},isInteger:h,isNaN:x,isSafeInteger:function(t){return h(t)&&d(t)<=se},MAX_SAFE_INTEGER:se,MIN_SAFE_INTEGER:-se,parseFloat:parseFloat,parseInt:parseInt}),B(De,sn,{acosh:function(t){return 1>t?0/0:m(t+w(t*t-1))},asinh:o,atanh:function(t){return 0==t?+t:m((1+ +t)/(1-t))/2},cbrt:function(t){return p(t)*v(d(t),1/3)},clz32:function(t){return(t>>>=0)?32-t[vn](2).length:32},cosh:function(t){return(g(t)+g(-t))/2},expm1:function(t){return 0==t?+t:t>-1e-6&&1e-6>t?+t+t*t/2:g(t)-1},fround:function(t){return new Float32Array([t])[0]},hypot:function(){for(var t,n=0,e=arguments.length;e--;){if(t=+arguments[e],t==Yn||t==-Yn)return Yn;n+=t*t}return w(n)},imul:function(t,n){var e=65535,r=e&t,i=e&n;return 0|r*i+((e&t>>>16)*i+r*(e&n>>>16)<<16>>>0)},log1p:function(t){return t>-1e-8&&1e-8>t?t-t*t/2:m(1+ +t)},log10:function(t){return m(t)/In.LN10},log2:function(t){return m(t)/In.LN2},sign:p,sinh:function(t){return 0==t?+t:(g(t)-g(-t))/2},tanh:function(n){return t(n)?0==n?+n:(g(n)-g(-n))/(g(n)+g(-n)):p(n)},trunc:ge}),u(In,sn,!0),B(De,Z,{fromCodePoint:function(){for(var t,n=[],e=arguments.length,r=0;e>r;){if(t=+arguments[r++],j(t,1114111)!==t)throw s(t+" is not a valid code point");n.push(65536>t?S(t):S(((t-=65536)>>10)+55296,t%1024+56320))}return n.join("")},raw:function(t){for(var n=ue(N(t.raw)),e=O(n.length),r=arguments.length,i=[],o=0;e>o;)i.push(_n(n[o++])),r>o&&i.push(_n(arguments[o]));return i.join("")}}),B(Ge,Z,{codePointAt:L(!1),endsWith:function(t,n){a(t);var e=this.length,i=n===r?e:ve(O(n),e);return t+="",_n(this).slice(i-t.length,i)===t},includes:function(t,n){return!!~_n(N(this)).indexOf(t,n)},repeat:function(t){var n=_n(N(this)),e="",r=E(t);if(0>r||r==Yn)throw s("Count can't be negative");for(;r>0;(r>>>=1)&&(n+=n))1&r&&(e+=n);return e},startsWith:function(t,n){a(t);var e=O(ve(n,this.length));return t+="",_n(this).slice(e,e+t.length)===t}}),W(_n,Z,function(t){be(this,_e,{o:_n(t),i:0})},function(){var t,n=this[_e],e=n.o,r=n.i;return r>=e.length?z(1):(t=A.call(e,r),n.i+=t.length,z(0,t))}),B(De,V,{from:function(t,n,e){var i,o=On(N(t)),u=new(b(this,jn)),c=n!==r,f=c?l(n,e,2):r,a=0;if(U(o))for(var s,h=$(o);!(s=h.next()).done;a++)u[a]=c?f(s.value,a):s.value;else for(i=O(o.length);i>a;a++)u[a]=c?f(o[a],a):o[a];return u.length=a,u},of:function(){for(var t=0,n=arguments.length,e=new(b(this,jn))(n);n>t;)e[t]=arguments[t++];return e.length=n,e}}),B(Ge,V,{copyWithin:function(t,n,e){var i=On(N(this)),o=O(i.length),u=j(t,o),c=j(n,o),f=e===r?o:j(e,o),a=ve(f-c,o-u),s=1;for(u>c&&c+a>u&&(s=-1,c=c+a-1,u=u+a-1);a-->0;)c in i?i[u]=i[c]:delete i[u],u+=s,c+=s;return i},fill:function(t,n,e){for(var i=On(N(this)),o=O(i.length),u=j(n,o),c=e===r?o:j(e,o);c>u;)i[u++]=t;return i},find:y(5),findIndex:y(6)}),W(jn,V,function(t,n){be(this,_e,{o:ue(t),i:0,k:n})},function(){var t=this[_e],n=t.o,e=t.k,i=t.i++;return!n||i>=n.length?(t.o=r,z(1)):e==Le?z(0,i):e==Pe?z(0,n[i]):z(0,[i,n[i]])},Pe),Ne[ln]=Ne[V],u(X.JSON,"JSON",!0),e&&(n[Oe]=Bn,c(n)!=Bn&&we($n,vn,function(){return"[object "+f(this)+"]"}),"g"!=/./g.flags&&te(Pn[hn],"flags",{configurable:!0,get:_(/^.*\/(\w*)$/,"$1")}))}(isFinite,{}),o(Tn)&&o(Mn)||function(t){function n(t){if(oe(v,t)){var n=v[t];delete v[t],n()}}function e(t){n(t.data)}var r,i,u,c=X.postMessage,f=X.addEventListener,s=X.MessageChannel,p=0,v={};Tn=function(t){for(var n=[],e=1;arguments.length>e;)n.push(arguments[e++]);return v[++p]=function(){h(o(t)?t:En(t),n)},r(p),p},Mn=function(t){delete v[t]},Fe?r=function(t){Gn(a.call(n,t))}:f&&o(c)&&!X.importScripts?(r=function(t){c(t,"*")},f("message",e,!1)):o(s)?(i=new s,u=i.port2,i.port1.onmessage=e,r=l(u.postMessage,u,1)):r=qn&&t in qn[xn]("script")?function(e){Wn.appendChild(qn[xn]("script"))[t]=function(){Wn.removeChild(this),n(e)}}:function(t){Cn(a.call(n,t),0)}}("onreadystatechange"),B(Me+qe,{setImmediate:Tn,clearImmediate:Mn}),!function(t,n){o(t)&&o(t.resolve)&&t.resolve(n=new t(En()))==n||function(n,e){function u(t){var n;return i(t)&&(n=t.then),o(n)?n:!1}function c(t){var e=t.chain;e.length&&n(function(){for(var n=t.msg,r=1==t.state,i=0;e.length>i;)!function(t){var e,i,o=r?t.ok:t.fail;try{o?(e=o===!0?n:o(n),e===t.P?t.rej(Rn(an+"-chain cycle")):(i=u(e))?i.call(e,t.res,t.rej):t.res(e)):t.rej(n)}catch(c){t.rej(c)}}(e[i++]);e.length=0})}function f(t){var n,e,r=this;if(!r.done){r.done=!0,r=r.def||r;try{(n=u(t))?(e={def:r,done:!1},n.call(t,l(f,e,1),l(a,e,1))):(r.msg=t,r.state=1,c(r))}catch(i){a.call(e||{def:r,done:!1},i)}}}function a(t){var n=this;n.done||(n.done=!0,n=n.def||n,n.msg=t,n.state=2,c(n))}t=function(n){S(n),A(this,t,an);var i={chain:[],state:0,done:!1,msg:r};we(this,e,i);try{n(l(f,i,1),l(a,i,1))}catch(o){a.call(i,o)}},M(t[hn],{then:function(t,n){var r={ok:o(t)?t:!0,fail:o(n)?n:!1},i=r.P=new this[pn](function(t,n){r.res=S(t),r.rej=S(n)}),u=this[e];return u.chain.push(r),u.state&&c(u),i},"catch":function(t){return this.then(r,t)}}),M(t,{all:function(t){var n=this,e=[];return new n(function(r,i){Y(t,!1,fe,e);var o=e.length,u=jn(o);o?ae.call(e,function(t,e){n.resolve(t).then(function(t){u[e]=t,--o||r(u)},i)}):r(u)})},race:function(t){var n=this;return new n(function(e,r){Y(t,!1,function(t){n.resolve(t).then(e,r)})})},reject:function(t){return new this(function(n,e){e(t)})},resolve:function(t){return i(t)&&Zn(t)===this[hn]?t:new this(function(n){n(t)})}})}(Gn||Tn,xe("def")),u(t,an),B(Me+Te*!Kn(t),{Promise:t})}(X[an]),!function(){function t(t,n,i,o,c,f){function a(t,n){return n!=r&&Y(n,c,t[p],t),t}function l(t,n){var r=m[t];e&&we(m,t,function(t,e){var i=r.call(this,0===t?0:t,e);return n?this:i})}var p=c?"set":"add",m=t&&t[hn],w={};if(Kn(t)&&(f||!Ae&&oe(m,"entries"))){var b,x=t,E=new t,O=E[p](f?{}:-0,1);ke&&t.length||(t=function(e){return A(this,t,n),a(new x,e)},t[hn]=m),f||E[yn](function(t,n){b=1/n===-Yn}),b&&(l("delete"),l("has"),c&&l("get")),(b||O!==E)&&l(p,!0)}else t=f?function(e){A(this,t,n),be(this,s,y++),a(this,e)}:function(e){var i=this;A(i,t,n),be(i,h,Vn(null)),be(i,g,0),be(i,v,r),be(i,d,r),a(i,e)},M(M(t[hn],i),o),f||te(t[hn],"size",{get:function(){return N(this[g])}});return u(t,n),w[n]=t,B(Me+We+Te*!Kn(t),w),f||W(t,n,function(t,n){be(this,_e,{o:t,k:n})},function(){for(var t=this[_e],n=t.o,e=t.k,i=t.l;i&&i.r;)i=i.p;return n&&(t.l=i=i?i.n:n[d])?e==Le?z(0,i.k):e==Pe?z(0,i.v):z(0,[i.k,i.v]):(t.o=r,z(1))},c?Le+Pe:Pe),t}function n(t,n){if(!i(t))return("string"==typeof t?"S":"P")+t;if(!oe(t,s)){if(!n)return"";we(t,s,++y)}return"O"+t[s]}function o(t,e,r){var i,o=n(e,!0),u=t[h],c=t[v];return o in u?u[o].v=r:(i=u[o]={k:e,v:r,p:c},t[d]||(t[d]=i),c&&(c.n=i),t[v]=i,t[g]++),t}function c(t,n){var e=t[h],r=e[n],i=r.n,o=r.p;delete e[n],r.r=!0,o&&(o.n=i),i&&(i.p=o),t[d]==r&&(t[d]=i),t[v]==r&&(t[v]=o),t[g]--}function f(t,n,e){return oe(k(n),p)||we(n,p,{}),n[p][t[s]]=e,t}function a(t){return i(t)&&oe(t,p)&&oe(t[p],this[s])}var s=xe("uid"),h=xe("data"),p=xe("weak"),v=xe("last"),d=xe("first"),g=ye?xe("size"):"size",y=0,m={clear:function(){for(var t in this[h])c(this,t)},"delete":function(t){var e=n(t),r=e in this[h];return r&&c(this,e),r},forEach:function(t,n){for(var e,r=l(t,n,3);e=e?e.n:this[d];)for(r(e.v,e.k,this);e&&e.r;)e=e.p},has:function(t){return n(t)in this[h]}};Nn=t(Nn,rn,{get:function(t){var e=this[h][n(t)];return e&&e.v},set:function(t,n){return o(this,0===t?0:t,n)}},m,!0),Sn=t(Sn,on,{add:function(t){return o(this,t=0===t?0:t,t)}},m);var w={"delete":function(t){return a.call(this,t)&&delete t[p][this[s]]},has:a};kn=t(kn,un,{get:function(t){return i(t)&&oe(t,p)?t[p][this[s]]:void 0},set:function(t,n){return f(this,t,n)}},w,!0,!0),An=t(An,cn,{add:function(t){return f(this,t,!0)}},w,!1,!0)}(),!function(){function t(t){return function(n){var e,r=ue(n),i=ee(n),o=i.length,u=0,c=jn(o);if(t)for(;o>u;)c[u]=[e=i[u++],r[e]];else for(;o>u;)c[u]=r[i[u++]];return c}}B(Ge,V,{includes:m(!0)}),B(Ge,Z,{at:L(!0)}),B(De,H,{values:t(!1),entries:t(!0)}),B(De,nn,{escape:_(/([\\\-[\]{}()*+?.,^$|])/g,"\\$1",!0)})}(),!function(n){function e(t){if(t){var n=t[hn];we(n,K,n.get),we(n,r,n.set),we(n,i,n["delete"])}}K=T(n+"Get",!0);var r=T(n+on,!0),i=T(n+"Delete",!0);B(De,fn,{referenceGet:K,referenceSet:r,referenceDelete:i}),we(Jn,K,t),e(Nn),e(kn)}("reference"),!function(){function t(t,n){B(De,V,w.call(g(t),function(t,e){e in Un&&(t[e]=l(Qn,Un[e],n))},{}))}t("pop,reverse,shift,keys,values,entries",1),t("indexOf,every,some,forEach,map,filter,find,findIndex,includes",3),t("join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill,turn")}()}(Function("return this"),!0)},{}],3:[function(t,n,e){!function(){function t(t,n,e,r){return new i(t,n,e||null,r||[])}function n(){}function r(){}function i(t,n,e,r){function i(n,r){if(f===g)throw new Error("Generator is already running");if(f===y)return a();for(;;){var i=u.delegate;if(i){try{var o=i.iterator[n](r);n="next",r=s}catch(c){u.delegate=null,n="throw",r=c;continue}if(!o.done)return f=d,o;u[i.resultName]=o.value,u.next=i.nextLoc,u.delegate=null}if("next"===n){if(f===v&&"undefined"!=typeof r)throw new TypeError("attempt to send "+JSON.stringify(r)+" to newborn generator");f===d?u.sent=r:delete u.sent}else if("throw"===n){if(f===v)throw f=y,r;u.dispatchException(r)&&(n="next",r=s)}else"return"===n&&u.abrupt("return",r);f=g;try{var l=t.call(e,u);f=u.done?y:d;var o={value:l,done:u.done};if(l!==m)return o;u.delegate&&"next"===n&&(r=s)}catch(h){f=y,"next"===n?u.dispatchException(h):r=h}}}var o=n?Object.create(n.prototype):this,u=new c(r),f=v;return o.next=i.bind(o,"next"),o["throw"]=i.bind(o,"throw"),o["return"]=i.bind(o,"return"),o}function o(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2]),this.tryEntries.push(n)}function u(t,n){var e=t.completion||{};e.type=0===n?"normal":"return",delete e.arg,t.completion=e}function c(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(o,this),this.reset()}function f(t){function n(){for(;++r<t.length;)if(l.call(t,r))return n.value=t[r],n.done=!1,n;return n.value=s,n.done=!0,n}if(t){var e=t[h];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1;return n.next=n}}return{next:a}}function a(){return{value:s,done:!0}}var s,l=Object.prototype.hasOwnProperty,h="function"==typeof Symbol&&Symbol.iterator||"@@iterator";if("object"!=typeof regeneratorRuntime){var p=regeneratorRuntime="undefined"==typeof e?{}:e;p.wrap=t;var v="suspendedStart",d="suspendedYield",g="executing",y="completed",m={},w=r.prototype=i.prototype;n.prototype=w.constructor=r,r.constructor=n,n.displayName="GeneratorFunction",p.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return e?e===n||"GeneratorFunction"===(e.displayName||e.name):!1},p.mark=function(t){return t.__proto__=r,t.prototype=Object.create(w),t},p.async=function(n,e,r,i){return new Promise(function(o,u){function c(t){try{var n=this(t),e=n.value}catch(r){return u(r)}n.done?o(e):Promise.resolve(e).then(a,s)}var f=t(n,e,r,i),a=c.bind(f.next),s=c.bind(f["throw"]);a()})},w[h]=function(){return this},w.toString=function(){return"[object Generator]"},p.keys=function(t){var n=[];for(var e in t)n.push(e);return n.reverse(),function r(){for(;n.length;){var e=n.pop();if(e in t)return r.value=e,r.done=!1,r}return r.done=!0,r}},p.values=f,c.prototype={constructor:c,reset:function(){this.prev=0,this.next=0,this.sent=s,this.done=!1,this.delegate=null,this.tryEntries.forEach(u);for(var t,n=0;l.call(this,t="t"+n)||20>n;++n)this[t]=null},stop:function(){this.done=!0;var t=this.tryEntries[0],n=t.completion;if("throw"===n.type)throw n.arg;return this.rval},dispatchException:function(t){function n(n,r){return o.type="throw",o.arg=t,e.next=n,!!r}if(this.done)throw t;for(var e=this,r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=l.call(i,"catchLoc"),c=l.call(i,"finallyLoc");if(u&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},_findFinallyEntry:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.tryLoc<=this.prev&&l.call(e,"finallyLoc")&&(e.finallyLoc===t||this.prev<e.finallyLoc))return e}},abrupt:function(t,n){var e=this._findFinallyEntry(),r=e?e.completion:{};return r.type=t,r.arg=n,e?this.next=e.finallyLoc:this.complete(r),m},complete:function(t){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type&&(this.rval=t.arg,this.next="end"),m},finish:function(t){var n=this._findFinallyEntry(t);return this.complete(n.completion)},"catch":function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.tryLoc===t){var r=e.completion;if("throw"===r.type){var i=r.arg;u(e,n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,e){return this.delegate={iterator:f(t),resultName:n,nextLoc:e},m}}}}()},{}]},{},[1])},{}],3:[function(){!function(t){var n=t.to5Runtime={};n.inherits=function(t,n){t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n&&(t.__proto__=n)},n.defaults=function(t,n){for(var e in n)void 0===t[e]&&(t[e]=n[e]);return t},n.prototypeProperties=function(t,n,e){n&&Object.defineProperties(t,n),e&&Object.defineProperties(t.prototype,e)},n.applyConstructor=function(t,n){var e=Object.create(t.prototype),r=t.apply(e,n);return null==r||"object"!=typeof r&&"function"!=typeof r?e:r},n.taggedTemplateLiteral=function(t,n){return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))},n.interopRequire=function(t){return t&&(t["default"]||t)},n.toArray=function(t){return Array.isArray(t)?t:Array.from(t)},n.slicedToArray=function(t,n){if(Array.isArray(t))return t;for(var e,r=[],i=t[Symbol.iterator]();!(e=i.next()).done&&(r.push(e.value),!n||r.length!==n););return r},n.objectWithoutProperties=function(t,n){var e={};for(var r in t)n.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n.hasOwn=Object.prototype.hasOwnProperty,n.slice=Array.prototype.slice,n.defineProperty=function(t,n,e){return Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0})}}("undefined"==typeof global?self:global)},{}],4:[function(t,n){"use strict";n.exports=function(){for(var t=arguments.length,n=Array(t>1?t-1:0),e=1;t>e;e++)n[e-1]=arguments[e];return"bar!"}},{}]},{},[1])(1)}); |
{ | ||
"name": "es6-kameita", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "", | ||
@@ -10,7 +10,13 @@ "main": "index.js", | ||
"scripts": { | ||
"test": "./node_modules/.bin/testem -f testem.json ci", | ||
"devel": "./node_modules/.bin/testem -f testem.json", | ||
"test": "testem -f testem.json ci", | ||
"devel": "testem -f testem.json", | ||
"build": "gulp build", | ||
"release": "gulp release" | ||
"release": "gulp release", | ||
"watch": "gulp watch" | ||
}, | ||
"files": [ | ||
"dist", | ||
"README.md", | ||
"package.json" | ||
], | ||
"repository": { | ||
@@ -28,10 +34,10 @@ "type": "git", | ||
"devDependencies": { | ||
"6to5ify": "~2.0.0", | ||
"browserify": "~6.3.3", | ||
"6to5": "~2.5.0", | ||
"6to5ify": "~3.1.0", | ||
"gulp": "~3.8.10", | ||
"gulp-6to5": "~1.0.2", | ||
"gulp-6to5": "~2.0.0", | ||
"gulp-bump": "^0.1.11", | ||
"gulp-debug": "~1.0.1", | ||
"gulp-espower": "^0.10.0", | ||
"gulp-flowtype": "~0.4.0", | ||
"gulp-header": "~1.2.2", | ||
@@ -47,3 +53,2 @@ "gulp-jshint": "~1.9.0", | ||
"sinon": "~1.12.2", | ||
"6to5": "~1.15.0", | ||
"testem": "~0.6.18", | ||
@@ -50,0 +55,0 @@ "vinyl-transform": "0.0.1" |
@@ -1,6 +0,6 @@ | ||
ES6 project skeleton for Browser and Node | ||
ES6 project template for Browser and Node | ||
==================== | ||
[![Licence](http://img.shields.io/badge/license-MIT-000000.svg?style=flat-square)](https://npmjs.org/package/es6-Kameita) | ||
[![Version](http://img.shields.io/npm/v/es6-Kameita.svg?style=flat-square)](https://npmjs.org/package/es6-Kameita) | ||
[![Licence](http://img.shields.io/badge/license-MIT-000000.svg?style=flat-square)](https://npmjs.org/package/es6-kameita) | ||
[![Version](http://img.shields.io/npm/v/es6-kameita.svg?style=flat-square)](https://npmjs.org/package/es6-kameita) | ||
@@ -20,3 +20,3 @@ 亀板 ( _Kameita_ ) は陶芸、ろくろの道具です。粘土をのせたりします。 | ||
This skeleton is dependent on [6to5/6to5](https://github.com/6to5/6to5). Please see [6to5's document site](https://6to5.org/). | ||
This template is dependent on [6to5/6to5](https://github.com/6to5/6to5). Please see [6to5's document site](https://6to5.org/). | ||
@@ -72,1 +72,4 @@ [Optional Runtime](https://6to5.org/optional-runtime.html) and [Polyfill](https://6to5.org/polyfill.html) are already supported. | ||
- add CI service configuration (Travis, Circle, etc) | ||
- add coverage reporter | ||
- add code quality reporter | ||
- replace jshint with eslint |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
20
74
121945
5
403
8