From 915a02e9595946722fb8f9f7fcb0cd2fd24bd393 Mon Sep 17 00:00:00 2001 From: Laza Bogdan Date: Sat, 18 Aug 2018 12:46:49 +0300 Subject: [PATCH] bump to v1.0.0 - upgrade laravel-mix to v2.0.0 - configure babel to use transform-runtime via .babelrc (fixes ie11 issues) --- .babelrc | 11 +++++++++++ dist/dom-factory.js | 2 +- package.json | 4 ++-- 3 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 .babelrc diff --git a/.babelrc b/.babelrc new file mode 100644 index 0000000..a6740ad --- /dev/null +++ b/.babelrc @@ -0,0 +1,11 @@ +{ + "plugins": ["transform-runtime"], + "presets": [ + ["env", { + "targets": { + "ie": "11", + "browsers": ["last 2 versions"] + } + }] + ] +} \ No newline at end of file diff --git a/dist/dom-factory.js b/dist/dom-factory.js index cc0cf9b..7729e74 100644 --- a/dist/dom-factory.js +++ b/dist/dom-factory.js @@ -1 +1 @@ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.domFactory=e():t.domFactory=e()}(this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=10)}([function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(14),o=n(19);t.exports=n(3)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){t.exports=!n(5)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){var n=t.exports={version:"2.5.1"};"number"==typeof __e&&(__e=n)},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){var r=n(22);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(32)("wks"),o=n(6),i=n(0).Symbol,c="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=c&&i[t]||(c?i:o)("Symbol."+t))}).store=r},function(t,e,n){t.exports=n(11)},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e1?e-1:0),r=1;r0&&void 0!==arguments[0]?arguments[0]:{};return t=f({},t),t.readOnly=t.readOnly||!1,t.reflectToAttribute=t.reflectToAttribute||!1,t.value=t.value,t.type=t.type,t},d=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];e=p(e);var r={enumerable:!0,configurable:!0,writable:!e.readOnly,value:u(e.value)?e.value.call(n):e.value};Object.defineProperty(n,t,r)},v=function(t,e,n){!e&&0!==e||n[t]||(u(e)?n[t]=e.call(n):n[t]=e)},h=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];if(e=p(e),e.reflectToAttribute){var r=a("data-"+t),o=Object.getOwnPropertyDescriptor(n,t),i={enumerable:o.enumerable,configurable:o.configurable,get:function(){return e.type===Boolean?""===this.element.dataset[t]:e.type===Number?Number(this.element.dataset[t]):this.element.dataset[t]},set:function(n){var o=!n&&0!==n;if(e.type===Boolean||o)return this.element[o?"removeAttribute":"setAttribute"](r,e.type===Boolean?"":n);this.element.dataset[t]=n}};Object.defineProperty(n,t,i)}},_=function(t){if("object"===l(t.properties))for(var e in t.properties)if(t.properties.hasOwnProperty(e)){var n=t.properties[e];d(e,n,t),h(e,n,t),v(e,n.value,t)}},y=function(t,e){return t.split(".").reduce(function(t,e){return t[e]},e)},b=function(t,e){var n=t.split("."),r=n.pop();return{parent:y(n.join("."),e),prop:r}},g=function(t){return c(t.observers)?t.observers.map(function(t){var e=t.match(/([a-zA-Z-_]+)\(([^)]*)\)/),n=s(e,3),r=n[1],o=n[2];return o=o.split(",").map(function(t){return t.trim()}).filter(function(t){return t.length}),{fn:r,args:o}}).filter(function(e){var n=e.fn;return u(t[n])}):[]},m=function(t){g(t).forEach(function(e){var n=e.fn,r=e.args;t[n]=t[n].bind(t),r.forEach(function(e){if(-1!==e.indexOf(".")){var r=b(e,t),i=r.prop,c=r.parent;Object(o.watch)(c,i,t[n])}else Object(o.watch)(t,e,t[n])})})},w=function(t){return c(t.listeners)?t.listeners.map(function(t){var e=t.match(/(.*\.)?([a-zA-Z-_]+)\(([^)]*)\)/),n=s(e,4),r=n[1],o=n[2],i=n[3];return i=i.split(",").map(function(t){return t.trim()}).filter(function(t){return t.length}),r=r?r.substr(0,r.length-1):"element",{element:r,fn:o,events:i}}).filter(function(e){var n=e.element,r=e.fn;return u(t[r])&&("document"===n||"window"===n||i(t[n])||i(t[n].element))}):[]},x=function(t){w(t).forEach(function(e){var n=e.element,r=e.fn,o=e.events;t[r]=t[r].bind(t),"document"===n?n=t.element.ownerDocument:"window"===n?n=window:i(t[n])?n=t[n]:i(t[n].element)&&(n=t[n].element),n&&o.forEach(function(e){return n.addEventListener(e,t[r])})})},O=function(t){return c(t.mixins)?t.mixins.filter(function(t){return"object"===(void 0===t?"undefined":l(t))}):[]},j=function(t){var e=O(t);return e.unshift({}),f.apply(null,e)},E=function(t,e){if(t&&"object"===(void 0===t?"undefined":l(t))&&i(e)){t.element=e;var n={$set:function(t,e){if(t&&void 0!==e&&void 0!==this.properties&&this.properties.hasOwnProperty(t)){var n=p(this.properties[t]),r=Object.getOwnPropertyDescriptor(this,t);if(n.readOnly&&void 0!==r.writable){var o={enumerable:r.enumerable,configurable:r.configurable,writable:!1,value:e};return void Object.defineProperty(this,t,o)}this[t]=e}},init:function(){m(this),x(this),u(t.init)&&t.init.call(this)},destroy:function(){var e=this;g(t).forEach(function(t){var n=t.fn;t.args.forEach(function(t){if(-1!==t.indexOf(".")){var r=b(t,e),i=r.prop,c=r.parent;Object(o.unwatch)(c,i,e[n])}else Object(o.unwatch)(e,t,e[n])})}),w(t).forEach(function(t){var n=t.element,r=t.fn,o=t.events;"document"===n?n=e.element.ownerDocument:"window"===n?n=window:i(e[n])?n=e[n]:i(e[n].element)&&(n=e[n].element),n&&o.forEach(function(t){return n.removeEventListener(t,e[r])})}),u(t.destroy)&&t.destroy.call(this)},fire:function(t){var e=void 0;if("CustomEvent"in window&&"object"===l(window.CustomEvent))try{e=new CustomEvent(t,{bubbles:!1,cancelable:!1})}catch(n){e=new this.CustomEvent_(t,{bubbles:!1,cancelable:!1})}else e=document.createEvent("Event"),e.initEvent(t,!1,!0);this.element.dispatchEvent(e)},CustomEvent_:function(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}};return _(t),n=f({},j(t),t,n),n.init(),n}},A=function(t){return t.replace(/(\-[a-z])/g,function(t){return t.toUpperCase().replace("-","")})},P={autoInit:function(){["DOMContentLoaded","load"].forEach(function(t){window.addEventListener(t,function(){return P.upgradeAll()})})},_registered:[],_created:[],register:function(t,e){var n=[],r="js-"+t;this.findRegistered(t)||this._registered.push({id:t,cssClass:r,callbacks:n,factory:e})},registerUpgradedCallback:function(t,e){var n=this.findRegistered(t);n&&n.callbacks.push(e)},findRegistered:function(t){return this._registered.find(function(e){return e.id===t})},findCreated:function(t){return this._created.filter(function(e){return e.element===t})},upgradeElement:function(t,e){var n=this;if(void 0===e)return void this._registered.forEach(function(e){t.classList.contains(e.cssClass)&&n.upgradeElement(t,e.id)});var r=t.getAttribute("data-domfactory-upgraded"),o=this.findRegistered(e);if(!o||null!==r&&-1!==r.indexOf(e)){if(o){var i=t[A(e)];"function"==typeof i._reset&&i._reset()}}else{r=null===r?[]:r.split(","),r.push(e);var c=void 0;try{c=E(o.factory(t),t)}catch(t){}if(c){t.setAttribute("data-domfactory-upgraded",r.join(","));var u=Object.assign({},o);delete u.factory,c.__domFactoryConfig=u,this._created.push(c),Object.defineProperty(t,A(e),{configurable:!0,writable:!1,value:c}),o.callbacks.forEach(function(e){return e(t)}),c.fire("domfactory-component-upgraded")}}},upgrade:function(t){var e=this;if(void 0===t)this.upgradeAll();else{var n=this.findRegistered(t);if(n){[].concat(r(document.querySelectorAll("."+n.cssClass))).forEach(function(n){return e.upgradeElement(n,t)})}}},upgradeAll:function(){var t=this;this._registered.forEach(function(e){return t.upgrade(e.id)})},downgradeComponent:function(t){t.destroy();var e=this._created.indexOf(t);this._created.splice(e,1);var n=t.element.getAttribute("data-domfactory-upgraded").split(","),r=n.indexOf(t.__domFactoryConfig.id);n.splice(r,1),t.element.setAttribute("data-domfactory-upgraded",n.join(",")),t.fire("domfactory-component-downgraded")},downgradeElement:function(t){this.findCreated(t).forEach(this.downgradeComponent,this)},downgradeAll:function(){this._created.forEach(this.downgradeComponent,this)},downgrade:function(t){var e=this;if(t instanceof Array||t instanceof NodeList){(t instanceof NodeList?[].concat(r(t)):t).forEach(function(t){return e.downgradeElement(t)})}else t instanceof Node&&this.downgradeElement(t)}},S=function(t,e){["transform","WebkitTransform","msTransform","MozTransform","OTransform"].map(function(n){return e.style[n]=t})};n.d(e,"util",function(){return C}),n.d(e,"factory",function(){return E}),n.d(e,"handler",function(){return P}),n(12);var C={assign:f,isArray:c,isElement:i,isFunction:u,toKebabCase:a,transform:S}},function(t,e,n){"use strict";var r=n(13),o=n(23)(5),i=!0;"find"in[]&&Array(1).find(function(){i=!1}),r(r.P+r.F*i,"Array",{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(33)("find")},function(t,e,n){var r=n(0),o=n(4),i=n(2),c=n(20),u=n(7),a=function(t,e,n){var f,s,l,p,d=t&a.F,v=t&a.G,h=t&a.S,_=t&a.P,y=t&a.B,b=v?r:h?r[e]||(r[e]={}):(r[e]||{}).prototype,g=v?o:o[e]||(o[e]={}),m=g.prototype||(g.prototype={});v&&(n=e);for(f in n)s=!d&&b&&void 0!==b[f],l=(s?b:n)[f],p=y&&s?u(l,r):_&&"function"==typeof l?u(Function.call,l):l,b&&c(b,f,l,t&a.U),g[f]!=l&&i(g,f,p),_&&m[f]!=l&&(m[f]=l)};r.core=o,a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},function(t,e,n){var r=n(15),o=n(16),i=n(18),c=Object.defineProperty;e.f=n(3)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return c(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(1);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){t.exports=!n(3)&&!n(5)(function(){return 7!=Object.defineProperty(n(17)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(1),o=n(0).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){var r=n(1);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(0),o=n(2),i=n(21),c=n(6)("src"),u=Function.toString,a=(""+u).split("toString");n(4).inspectSource=function(t){return u.call(t)},(t.exports=function(t,e,n,u){var f="function"==typeof n;f&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(f&&(i(n,c)||o(n,c,t[e]?""+t[e]:a.join(String(e)))),t===r?t[e]=n:u?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[c]||u.call(this)})},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var r=n(7),o=n(24),i=n(25),c=n(27),u=n(29);t.exports=function(t,e){var n=1==t,a=2==t,f=3==t,s=4==t,l=6==t,p=5==t||l,d=e||u;return function(e,u,v){for(var h,_,y=i(e),b=o(y),g=r(u,v,3),m=c(b.length),w=0,x=n?d(e,m):a?d(e,0):void 0;m>w;w++)if((p||w in b)&&(h=b[w],_=g(h,w,y),t))if(n)x[w]=_;else if(_)switch(t){case 3:return!0;case 5:return h;case 6:return w;case 2:x.push(h)}else if(s)return!1;return l?-1:f||s?s:x}}},function(t,e,n){var r=n(8);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){var r=n(26);t.exports=function(t){return Object(r(t))}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(28),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(30);t.exports=function(t,e){return new(r(t))(e)}},function(t,e,n){var r=n(1),o=n(31),i=n(9)("species");t.exports=function(t){var e;return o(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!o(e.prototype)||(e=void 0),r(e)&&null===(e=e[i])&&(e=void 0)),void 0===e?Array:e}},function(t,e,n){var r=n(8);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(0),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,e,n){var r=n(9)("unscopables"),o=Array.prototype;void 0==o[r]&&n(2)(o,r,{}),t.exports=function(t){o[r][t]=!0}},function(t,e,n){!function(e,n){t.exports=n()}(0,function(){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.unwatch=e.watch=void 0;var o=n(4),i=r(o),c=n(3),u=r(c),a=(e.watch=function(){for(var t=arguments.length,e=Array(t),n=0;t>n;n++)e[n]=arguments[n];var r=e[1];s(r)?b.apply(void 0,e):a(r)?m.apply(void 0,e):g.apply(void 0,e)},e.unwatch=function(){for(var t=arguments.length,e=Array(t),n=0;t>n;n++)e[n]=arguments[n];var r=e[1];s(r)||void 0===r?j.apply(void 0,e):a(r)?x.apply(void 0,e):w.apply(void 0,e)},function(t){return"[object Array]"==={}.toString.call(t)}),f=function(t){return"[object Object]"==={}.toString.call(t)},s=function(t){return"[object Function]"==={}.toString.call(t)},l=function(t,e,n){(0,u.default)(t,e,{enumerable:!1,configurable:!0,writable:!1,value:n})},p=function(t,e,n,r){(0,u.default)(t,e,{get:n,set:function(t){r.call(this,t)},enumerable:!0,configurable:!0})},d=function(t,e,n,r,o){var i=void 0,c=t.__watchers__[e];(i=t.__watchers__.__watchall__)&&(c=c?c.concat(i):i);for(var u=c?c.length:0,a=0;u>a;a++)c[a].call(t,n,r,e,o)},v=["pop","push","reverse","shift","sort","unshift","splice"],h=function(t,e,n,r){l(t,n,function(){for(var o=0,i=void 0,c=void 0,u=arguments.length,a=Array(u),f=0;u>f;f++)a[f]=arguments[f];if("splice"===n){var s=a[0],l=s+a[1];i=t.slice(s,l),c=[];for(var p=2;p0?a:void 0:a.length>0?a[0]:void 0;var d=e.apply(t,a);return"pop"===n?(i=d,o=t.length):"push"===n?o=t.length-1:"shift"===n?i=d:"unshift"!==n&&void 0===c&&(c=d),r.call(t,o,n,c,i),d})},_=function(t,e){if(s(e)&&t&&!(t instanceof String)&&a(t))for(var n=v.length;n>0;n--){var r=v[n-1];h(t,t[r],r,e)}},y=function(t,e,n,r){var o=!1,c=a(t);void 0===t.__watchers__&&(l(t,"__watchers__",{}),c&&_(t,function(n,o,i,c){if(d(t,n,i,c,o),0!==r&&i&&(f(i)||a(i))){var u=void 0,s=t.__watchers__[e];(u=t.__watchers__.__watchall__)&&(s=s?s.concat(u):u);for(var l=s?s.length:0,p=0;l>p;p++)if("splice"!==o)b(i,s[p],void 0===r?r:r-1);else for(var v=0;vi;i++)o[i]=arguments[i];return n[e].apply(t,o)})}),["writable","value"].forEach(function(t){void 0!==n[t]&&(r[t]=n[t])}),(0,u.default)(t.__proxy__,e,r)}():t.__proxy__[e]=t[e],p(t,e,function(){return t.__proxy__[e]},function(n){var o=t.__proxy__[e];if(0!==r&&t[e]&&(f(t[e])||a(t[e]))&&!t[e].__watchers__)for(var i=0;i0)for(var o=0;o0)&&b(t[e],n,void 0!==r?r-1:r),y(t,e,n,r)))},m=function(t,e,n,r){if("string"!=typeof t&&(t instanceof Object||a(t)))for(var o=0;o=n.length?{value:void 0,done:!0}:(t=r(n,e),this._i+=t.length,{value:t,done:!1})})},function(t,n){n.f={}.propertyIsEnumerable},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,e){e(72);for(var r=e(2),o=e(9),i=e(8),u=e(1)("toStringTag"),c="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),f=0;f0?r:e)(t)}},function(t,n,e){var r=e(28)("keys"),o=e(16);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,n,e){var r=e(2),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n,e){var r=e(3).f,o=e(7),i=e(1)("toStringTag");t.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{configurable:!0,value:n})}},function(t,n,e){n.f=e(1)},function(t,n,e){var r=e(2),o=e(0),i=e(24),u=e(31),c=e(3).f;t.exports=function(t){var n=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in n||c(n,t,{value:u.f(t)})}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,e){var r=e(128),o=e(133);t.exports=e(35)?function(t,n,e){return r.f(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){t.exports=!e(61)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(68);Object.defineProperty(n,"factory",{enumerable:!0,get:function(){return r.factory}})},function(t,n,e){var r=e(22);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,n,e){"use strict";var r=e(24),o=e(6),i=e(42),u=e(9),c=e(7),f=e(8),a=e(76),s=e(30),l=e(80),p=e(1)("iterator"),d=!([].keys&&"next"in[].keys()),v=function(){return this};t.exports=function(t,n,e,y,h,_,b){a(e,n,y);var g,m,x,w=function(t){if(!d&&t in E)return E[t];switch(t){case"keys":case"values":return function(){return new e(this,t)}}return function(){return new e(this,t)}},O=n+" Iterator",j="values"==h,S=!1,E=t.prototype,P=E[p]||E["@@iterator"]||h&&E[h],M=P||w(h),A=h?j?w("entries"):M:void 0,F="Array"==n&&E.entries||P;if(F&&(x=l(F.call(new t)))!==Object.prototype&&x.next&&(s(x,O,!0),r||c(x,p)||u(x,p,v)),j&&P&&"values"!==P.name&&(S=!0,M=function(){return P.call(this)}),r&&!b||!d&&!S&&E[p]||u(E,p,M),f[n]=M,f[O]=v,h)if(g={values:j?M:w("values"),keys:_?M:w("keys"),entries:A},b)for(m in g)m in E||i(E,m,g[m]);else o(o.P+o.F*(d||S),n,g);return g}},function(t,n,e){var r=e(75);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},function(t,n,e){t.exports=!e(4)&&!e(11)(function(){return 7!=Object.defineProperty(e(41)("div"),"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(15),o=e(2).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n,e){t.exports=e(9)},function(t,n,e){var r=e(10),o=e(44),i=e(29),u=e(27)("IE_PROTO"),c=function(){},f=function(){var t,n=e(41)("iframe"),r=i.length;for(n.style.display="none",e(79).appendChild(n),n.src="javascript:",(t=n.contentWindow.document).open(),t.write("