aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.config/polyfillList.js2
-rw-r--r--dist/polyfills.js2
-rw-r--r--package-lock.json7
-rw-r--r--package.json1
4 files changed, 10 insertions, 2 deletions
diff --git a/.config/polyfillList.js b/.config/polyfillList.js
index fc7df3d..34ef4b6 100644
--- a/.config/polyfillList.js
+++ b/.config/polyfillList.js
@@ -7,3 +7,5 @@ import 'core-js/modules/es6.string.includes'
import 'core-js/modules/es6.array.iterator'
import 'core-js/modules/es7.object.entries'
import 'core-js/modules/es6.object.assign'
+import CustomEventPolyfill from '@target/custom-event-polyfill'
+CustomEventPolyfill()
diff --git a/dist/polyfills.js b/dist/polyfills.js
index 02eb202..10b88bf 100644
--- a/dist/polyfills.js
+++ b/dist/polyfills.js
@@ -1 +1 @@
-!function(){"use strict";var g=function(t){return"object"==typeof t?null!==t:"function"==typeof t},v=function(t){if(!g(t))throw TypeError(t+" is not an object!");return t},b=function(t){try{return!!t()}catch(t){return!0}},u=!b(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a});function t(t,n){return t(n={exports:{}},n.exports),n.exports}var _=t(function(t){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)}),n=_.document,r=g(n)&&g(n.createElement),e=function(t){return r?n.createElement(t):{}},o=!u&&!b(function(){return 7!=Object.defineProperty(e("div"),"a",{get:function(){return 7}}).a}),i=function(t,n){if(!g(t))return t;var r,e;if(n&&"function"==typeof(r=t.toString)&&!g(e=r.call(t)))return e;if("function"==typeof(r=t.valueOf)&&!g(e=r.call(t)))return e;if(!n&&"function"==typeof(r=t.toString)&&!g(e=r.call(t)))return e;throw TypeError("Can't convert object to primitive value")},c=Object.defineProperty,f={f:u?Object.defineProperty:function(t,n,r){if(v(t),n=i(n,!0),v(r),o)try{return c(t,n,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[n]=r.value),t}},a=f.f,s=Function.prototype,l=/^\s*function ([^ (]*)/,p="name";p in s||u&&a(s,p,{configurable:!0,get:function(){try{return(""+this).match(l)[1]}catch(t){return""}}});var y=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},h=function(t){return Object(y(t))},d={}.hasOwnProperty,m=function(t,n){return d.call(t,n)},O={}.toString,w=function(t){return O.call(t).slice(8,-1)},S=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==w(t)?t.split(""):Object(t)},j=function(t){return S(y(t))},E=Math.ceil,P=Math.floor,k=function(t){return isNaN(t=+t)?0:(0<t?P:E)(t)},F=Math.min,x=function(t){return 0<t?F(k(t),9007199254740991):0},T=Math.max,A=Math.min,N=function(a){return function(t,n,r){var e,o,i,u=j(t),c=x(u.length),f=(o=c,(e=k(e=r))<0?T(e+o,0):A(e,o));if(a&&n!=n){for(;f<c;)if((i=u[f++])!=i)return!0}else for(;f<c;f++)if((a||f in u)&&u[f]===n)return a||f||0;return!a&&-1}},I=t(function(t){var n=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)}),M=(I.version,t(function(t){var n="__core-js_shared__",r=_[n]||(_[n]={});(t.exports=function(t,n){return r[t]||(r[t]=void 0!==n?n:{})})("versions",[]).push({version:I.version,mode:"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})})),R=0,C=Math.random(),D=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++R+C).toString(36))},K=M("keys"),W=function(t){return K[t]||(K[t]=D(t))},z=N(!1),G=W("IE_PROTO"),J=function(t,n){var r,e=j(t),o=0,i=[];for(r in e)r!=G&&m(e,r)&&i.push(r);for(;n.length>o;)m(e,r=n[o++])&&(~z(i,r)||i.push(r));return i},U="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),B=Object.keys||function(t){return J(t,U)},Y=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}},q=u?function(t,n,r){return f.f(t,n,Y(1,r))}:function(t,n,r){return t[n]=r,t},L=t(function(t){var i=D("src"),n="toString",r=Function[n],u=(""+r).split(n);I.inspectSource=function(t){return r.call(t)},(t.exports=function(t,n,r,e){var o="function"==typeof r;o&&(m(r,"name")||q(r,"name",n)),t[n]!==r&&(o&&(m(r,i)||q(r,i,t[n]?""+t[n]:u.join(String(n)))),t===_?t[n]=r:e?t[n]?t[n]=r:q(t,n,r):(delete t[n],q(t,n,r)))})(Function.prototype,n,function(){return"function"==typeof this&&this[i]||r.call(this)})}),Q=function(e,o,t){if(function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!")}(e),void 0===o)return e;switch(t){case 1:return function(t){return e.call(o,t)};case 2:return function(t,n){return e.call(o,t,n)};case 3:return function(t,n,r){return e.call(o,t,n,r)}}return function(){return e.apply(o,arguments)}},H="prototype",V=function(t,n,r){var e,o,i,u,c=t&V.F,f=t&V.G,a=t&V.S,s=t&V.P,l=t&V.B,p=f?_:a?_[n]||(_[n]={}):(_[n]||{})[H],y=f?I:I[n]||(I[n]={}),h=y[H]||(y[H]={});for(e in f&&(r=n),r)i=((o=!c&&p&&void 0!==p[e])?p:r)[e],u=l&&o?Q(i,_):s&&"function"==typeof i?Q(Function.call,i):i,p&&L(p,e,i,t&V.U),y[e]!=i&&q(y,e,u),s&&h[e]!=i&&(h[e]=i)};_.core=I,V.F=1,V.G=2,V.S=4,V.P=8,V.B=16,V.W=32,V.U=64,V.R=128;var X,Z,$,tt,nt=V;X="keys",Z=function(){return function(t){return B(h(t))}},$=(I.Object||{})[X]||Object[X],(tt={})[X]=Z($),nt(nt.S+nt.F*b(function(){$(1)}),"Object",tt);var rt,et,ot=t(function(t){var r=D("meta"),n=f.f,e=0,o=Object.isExtensible||function(){return!0},i=!b(function(){return o(Object.preventExtensions({}))}),u=function(t){n(t,r,{value:{i:"O"+ ++e,w:{}}})},c=t.exports={KEY:r,NEED:!1,fastKey:function(t,n){if(!g(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!m(t,r)){if(!o(t))return"F";if(!n)return"E";u(t)}return t[r].i},getWeak:function(t,n){if(!m(t,r)){if(!o(t))return!0;if(!n)return!1;u(t)}return t[r].w},onFreeze:function(t){return i&&c.NEED&&o(t)&&!m(t,r)&&u(t),t}}}),it=(ot.KEY,ot.NEED,ot.fastKey,ot.getWeak,ot.onFreeze,t(function(t){var n=M("wks"),r=_.Symbol,e="function"==typeof r;(t.exports=function(t){return n[t]||(n[t]=e&&r[t]||(e?r:D)("Symbol."+t))}).store=n})),ut=f.f,ct=it("toStringTag"),ft=function(t,n,r){t&&!m(t=r?t:t.prototype,ct)&&ut(t,ct,{configurable:!0,value:n})},at={f:it},st=f.f,lt={f:Object.getOwnPropertySymbols},pt={f:{}.propertyIsEnumerable},yt=Array.isArray||function(t){return"Array"==w(t)},ht=u?Object.defineProperties:function(t,n){v(t);for(var r,e=B(n),o=e.length,i=0;i<o;)f.f(t,r=e[i++],n[r]);return t},vt=_.document,dt=vt&&vt.documentElement,gt=W("IE_PROTO"),bt=function(){},_t="prototype",mt=function(){var t,n=e("iframe"),r=U.length;for(n.style.display="none",dt.appendChild(n),n.src="javascript:",(t=n.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),mt=t.F;r--;)delete mt[_t][U[r]];return mt()},Ot=Object.create||function(t,n){var r;return null!==t?(bt[_t]=v(t),r=new bt,bt[_t]=null,r[gt]=t):r=mt(),void 0===n?r:ht(r,n)},wt=U.concat("length","prototype"),St={f:Object.getOwnPropertyNames||function(t){return J(t,wt)}},jt=St.f,Et={}.toString,Pt="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],kt={f:function(t){return Pt&&"[object Window]"==Et.call(t)?function(t){try{return jt(t)}catch(t){return Pt.slice()}}(t):jt(j(t))}},Ft=Object.getOwnPropertyDescriptor,xt={f:u?Ft:function(t,n){if(t=j(t),n=i(n,!0),o)try{return Ft(t,n)}catch(t){}if(m(t,n))return Y(!pt.f.call(t,n),t[n])}},Tt=ot.KEY,At=xt.f,Nt=f.f,It=kt.f,Mt=_.Symbol,Rt=_.JSON,Ct=Rt&&Rt.stringify,Dt="prototype",Kt=it("_hidden"),Wt=it("toPrimitive"),zt={}.propertyIsEnumerable,Gt=M("symbol-registry"),Jt=M("symbols"),Ut=M("op-symbols"),Bt=Object[Dt],Yt="function"==typeof Mt,qt=_.QObject,Lt=!qt||!qt[Dt]||!qt[Dt].findChild,Qt=u&&b(function(){return 7!=Ot(Nt({},"a",{get:function(){return Nt(this,"a",{value:7}).a}})).a})?function(t,n,r){var e=At(Bt,n);e&&delete Bt[n],Nt(t,n,r),e&&t!==Bt&&Nt(Bt,n,e)}:Nt,Ht=function(t){var n=Jt[t]=Ot(Mt[Dt]);return n._k=t,n},Vt=Yt&&"symbol"==typeof Mt.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof Mt},Xt=function(t,n,r){return t===Bt&&Xt(Ut,n,r),v(t),n=i(n,!0),v(r),m(Jt,n)?(r.enumerable?(m(t,Kt)&&t[Kt][n]&&(t[Kt][n]=!1),r=Ot(r,{enumerable:Y(0,!1)})):(m(t,Kt)||Nt(t,Kt,Y(1,{})),t[Kt][n]=!0),Qt(t,n,r)):Nt(t,n,r)},Zt=function(t,n){v(t);for(var r,e=function(t){var n=B(t),r=lt.f;if(r)for(var e,o=r(t),i=pt.f,u=0;o.length>u;)i.call(t,e=o[u++])&&n.push(e);return n}(n=j(n)),o=0,i=e.length;o<i;)Xt(t,r=e[o++],n[r]);return t},$t=function(t){var n=zt.call(this,t=i(t,!0));return!(this===Bt&&m(Jt,t)&&!m(Ut,t))&&(!(n||!m(this,t)||!m(Jt,t)||m(this,Kt)&&this[Kt][t])||n)},tn=function(t,n){if(t=j(t),n=i(n,!0),t!==Bt||!m(Jt,n)||m(Ut,n)){var r=At(t,n);return!r||!m(Jt,n)||m(t,Kt)&&t[Kt][n]||(r.enumerable=!0),r}},nn=function(t){for(var n,r=It(j(t)),e=[],o=0;r.length>o;)m(Jt,n=r[o++])||n==Kt||n==Tt||e.push(n);return e},rn=function(t){for(var n,r=t===Bt,e=It(r?Ut:j(t)),o=[],i=0;e.length>i;)!m(Jt,n=e[i++])||r&&!m(Bt,n)||o.push(Jt[n]);return o};Yt||(L((Mt=function(){if(this instanceof Mt)throw TypeError("Symbol is not a constructor!");var n=D(0<arguments.length?arguments[0]:void 0),r=function(t){this===Bt&&r.call(Ut,t),m(this,Kt)&&m(this[Kt],n)&&(this[Kt][n]=!1),Qt(this,n,Y(1,t))};return u&&Lt&&Qt(Bt,n,{configurable:!0,set:r}),Ht(n)})[Dt],"toString",function(){return this._k}),xt.f=tn,f.f=Xt,St.f=kt.f=nn,pt.f=$t,lt.f=rn,u&&L(Bt,"propertyIsEnumerable",$t,!0),at.f=function(t){return Ht(it(t))}),nt(nt.G+nt.W+nt.F*!Yt,{Symbol:Mt});for(var en="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),on=0;en.length>on;)it(en[on++]);for(var un=B(it.store),cn=0;un.length>cn;)rt=un[cn++],void 0,et=I.Symbol||(I.Symbol=_.Symbol||{}),"_"==rt.charAt(0)||rt in et||st(et,rt,{value:at.f(rt)});nt(nt.S+nt.F*!Yt,"Symbol",{for:function(t){return m(Gt,t+="")?Gt[t]:Gt[t]=Mt(t)},keyFor:function(t){if(!Vt(t))throw TypeError(t+" is not a symbol!");for(var n in Gt)if(Gt[n]===t)return n},useSetter:function(){Lt=!0},useSimple:function(){Lt=!1}}),nt(nt.S+nt.F*!Yt,"Object",{create:function(t,n){return void 0===n?Ot(t):Zt(Ot(t),n)},defineProperty:Xt,defineProperties:Zt,getOwnPropertyDescriptor:tn,getOwnPropertyNames:nn,getOwnPropertySymbols:rn}),Rt&&nt(nt.S+nt.F*(!Yt||b(function(){var t=Mt();return"[null]"!=Ct([t])||"{}"!=Ct({a:t})||"{}"!=Ct(Object(t))})),"JSON",{stringify:function(t){for(var n,r,e=[t],o=1;arguments.length>o;)e.push(arguments[o++]);if(r=n=e[1],(g(n)||void 0!==t)&&!Vt(t))return yt(n)||(n=function(t,n){if("function"==typeof r&&(n=r.call(this,t,n)),!Vt(n))return n}),e[1]=n,Ct.apply(Rt,e)}}),Mt[Dt][Wt]||q(Mt[Dt],Wt,Mt[Dt].valueOf),ft(Mt,"Symbol"),ft(Math,"Math",!0),ft(_.JSON,"JSON",!0);var fn=function(t,n,r){for(var e in n)L(t,e,n[e],r);return t},an=function(t,n,r,e){if(!(t instanceof n)||void 0!==e&&e in t)throw TypeError(r+": incorrect invocation!");return t},sn=function(n,t,r,e){try{return e?t(v(r)[0],r[1]):t(r)}catch(t){var o=n.return;throw void 0!==o&&v(o.call(n)),t}},ln={},pn=it("iterator"),yn=Array.prototype,hn=it("toStringTag"),vn="Arguments"==w(function(){return arguments}()),dn=it("iterator"),gn=I.getIteratorMethod=function(t){if(null!=t)return t[dn]||t["@@iterator"]||ln[(n=t,void 0===n?"Undefined":null===n?"Null":"string"==typeof(e=function(t,n){try{return t[n]}catch(t){}}(r=Object(n),hn))?e:vn?w(r):"Object"==(o=w(r))&&"function"==typeof r.callee?"Arguments":o)];var n,r,e,o},bn=t(function(t){var y={},h={},n=t.exports=function(t,n,r,e,o){var i,u,c,f,a,s=o?function(){return t}:gn(t),l=Q(r,e,n?2:1),p=0;if("function"!=typeof s)throw TypeError(t+" is not iterable!");if(void 0===(a=s)||ln.Array!==a&&yn[pn]!==a){for(c=s.call(t);!(u=c.next()).done;)if((f=sn(c,l,u.value,n))===y||f===h)return f}else for(i=x(t.length);p<i;p++)if((f=n?l(v(u=t[p])[0],u[1]):l(t[p]))===y||f===h)return f};n.BREAK=y,n.RETURN=h}),_n={};q(_n,it("iterator"),function(){return this});var mn=W("IE_PROTO"),On=Object.prototype,wn=Object.getPrototypeOf||function(t){return t=h(t),m(t,mn)?t[mn]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?On:null},Sn=it("iterator"),jn=!([].keys&&"next"in[].keys()),En="values",Pn=function(){return this},kn=function(t,n,r,e,o,i,u){var c,f,a;f=n,a=e,(c=r).prototype=Ot(_n,{next:Y(1,a)}),ft(c,f+" Iterator");var s,l,p,y=function(t){if(!jn&&t in g)return g[t];switch(t){case"keys":case En:return function(){return new r(this,t)}}return function(){return new r(this,t)}},h=n+" Iterator",v=o==En,d=!1,g=t.prototype,b=g[Sn]||g["@@iterator"]||o&&g[o],_=b||y(o),m=o?v?y("entries"):_:void 0,O="Array"==n&&g.entries||b;if(O&&(p=wn(O.call(new t)))!==Object.prototype&&p.next&&(ft(p,h,!0),"function"!=typeof p[Sn]&&q(p,Sn,Pn)),v&&b&&b.name!==En&&(d=!0,_=function(){return b.call(this)}),(jn||d||!g[Sn])&&q(g,Sn,_),ln[n]=_,ln[h]=Pn,o)if(s={values:v?_:y(En),keys:i?_:y("keys"),entries:m},u)for(l in s)l in g||L(g,l,s[l]);else nt(nt.P+nt.F*(jn||d),n,s);return s},Fn=function(t,n){return{value:n,done:!!t}},xn=it("species"),Tn=function(t,n){if(!g(t)||t._t!==n)throw TypeError("Incompatible receiver, "+n+" required!");return t},An=f.f,Nn=ot.fastKey,In=u?"_s":"size",Mn=function(t,n){var r,e=Nn(n);if("F"!==e)return t._i[e];for(r=t._f;r;r=r.n)if(r.k==n)return r},Rn={getConstructor:function(t,i,r,e){var o=t(function(t,n){an(t,o,i,"_i"),t._t=i,t._i=Ot(null),t._f=void 0,t._l=void 0,t[In]=0,null!=n&&bn(n,r,t[e],t)});return fn(o.prototype,{clear:function(){for(var t=Tn(this,i),n=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];t._f=t._l=void 0,t[In]=0},delete:function(t){var n=Tn(this,i),r=Mn(n,t);if(r){var e=r.n,o=r.p;delete n._i[r.i],r.r=!0,o&&(o.n=e),e&&(e.p=o),n._f==r&&(n._f=e),n._l==r&&(n._l=o),n[In]--}return!!r},forEach:function(t){Tn(this,i);for(var n,r=Q(t,1<arguments.length?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(t){return!!Mn(Tn(this,i),t)}}),u&&An(o.prototype,"size",{get:function(){return Tn(this,i)[In]}}),o},def:function(t,n,r){var e,o,i=Mn(t,n);return i?i.v=r:(t._l=i={i:o=Nn(n,!0),k:n,v:r,p:e=t._l,n:void 0,r:!1},t._f||(t._f=i),e&&(e.n=i),t[In]++,"F"!==o&&(t._i[o]=i)),t},getEntry:Mn,setStrong:function(t,r,n){var e;kn(t,r,function(t,n){this._t=Tn(t,r),this._k=n,this._l=void 0},function(){for(var t=this,n=t._k,r=t._l;r&&r.r;)r=r.p;return t._t&&(t._l=r=r?r.n:t._t._f)?Fn(0,"keys"==n?r.k:"values"==n?r.v:[r.k,r.v]):(t._t=void 0,Fn(1))},n?"entries":"values",!n,!0),e=_[r],u&&e&&!e[xn]&&f.f(e,xn,{configurable:!0,get:function(){return this}})}},Cn=it("iterator"),Dn=!1;try{[7][Cn]().return=function(){Dn=!0}}catch(t){}var Kn=function(t,n){if(v(t),!g(n)&&null!==n)throw TypeError(n+": can't set as prototype!")},Wn={set:Object.setPrototypeOf||("__proto__"in{}?function(t,r,e){try{(e=Q(Function.call,xt.f(Object.prototype,"__proto__").set,2))(t,[]),r=!(t instanceof Array)}catch(t){r=!0}return function(t,n){return Kn(t,n),r?t.__proto__=n:e(t,n),t}}({},!1):void 0),check:Kn}.set,zn=(function(c,t,n,r,f,e){var a=_[c],s=a,l=f?"set":"add",o=s&&s.prototype,i={},u=function(t){var r=o[t];L(o,t,"delete"==t?function(t){return!(e&&!g(t))&&r.call(this,0===t?0:t)}:"has"==t?function(t){return!(e&&!g(t))&&r.call(this,0===t?0:t)}:"get"==t?function(t){return e&&!g(t)?void 0:r.call(this,0===t?0:t)}:"add"==t?function(t){return r.call(this,0===t?0:t),this}:function(t,n){return r.call(this,0===t?0:t,n),this})};if("function"==typeof s&&(e||o.forEach&&!b(function(){(new s).entries().next()}))){var p=new s,y=p[l](e?{}:-0,1)!=p,h=b(function(){p.has(1)}),v=function(t,n){if(!n&&!Dn)return!1;var r=!1;try{var e=[7],o=e[Cn]();o.next=function(){return{done:r=!0}},e[Cn]=function(){return o},t(e)}catch(t){}return r}(function(t){new s(t)}),d=!e&&b(function(){for(var t=new s,n=5;n--;)t[l](n,n);return!t.has(-0)});v||(((s=t(function(t,n){an(t,s,c);var r,e,o,i,u=(r=new a,e=s,(i=t.constructor)!==e&&"function"==typeof i&&(o=i.prototype)!==e.prototype&&g(o)&&Wn&&Wn(r,o),r);return null!=n&&bn(n,f,u[l],u),u})).prototype=o).constructor=s),(h||d)&&(u("delete"),u("has"),f&&u("get")),(d||y)&&u(l),e&&o.clear&&delete o.clear}else s=r.getConstructor(t,c,f,l),fn(s.prototype,n),ot.NEED=!0;ft(s,c),i[c]=s,nt(nt.G+nt.W+nt.F*(s!=a),i),e||r.setStrong(s,c,f)}("Set",function(t){return function(){return t(this,0<arguments.length?arguments[0]:void 0)}},{add:function(t){return Rn.def(Tn(this,"Set"),t=0===t?0:t,t)}},Rn),it("unscopables")),Gn=Array.prototype;null==Gn[zn]&&q(Gn,zn,{});var Jn=function(t){Gn[zn][t]=!0},Un=N(!0);nt(nt.P,"Array",{includes:function(t){return Un(this,t,1<arguments.length?arguments[1]:void 0)}}),Jn("includes");var Bn=it("match"),Yn=function(t,n,r){if(g(e=n)&&(void 0!==(o=e[Bn])?o:"RegExp"==w(e)))throw TypeError("String#"+r+" doesn't accept regex!");var e,o;return String(y(t))},qn=it("match"),Ln="includes";nt(nt.P+nt.F*function(n){var r=/./;try{"/./"[n](r)}catch(t){try{return r[qn]=!1,!"/./"[n](r)}catch(t){}}return!0}(Ln),"String",{includes:function(t){return!!~Yn(this,t,Ln).indexOf(t,1<arguments.length?arguments[1]:void 0)}});kn(Array,"Array",function(t,n){this._t=j(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,Fn(1)):Fn(0,"keys"==n?r:"values"==n?t[r]:[r,t[r]])},"values");ln.Arguments=ln.Array,Jn("keys"),Jn("values"),Jn("entries");var Qn,Hn=pt.f,Vn=(Qn=!0,function(t){for(var n,r=j(t),e=B(r),o=e.length,i=0,u=[];i<o;)Hn.call(r,n=e[i++])&&u.push(Qn?[n,r[n]]:r[n]);return u});nt(nt.S,"Object",{entries:function(t){return Vn(t)}});var Xn=Object.assign,Zn=!Xn||b(function(){var t={},n={},r=Symbol(),e="abcdefghijklmnopqrst";return t[r]=7,e.split("").forEach(function(t){n[t]=t}),7!=Xn({},t)[r]||Object.keys(Xn({},n)).join("")!=e})?function(t,n){for(var r=h(t),e=arguments.length,o=1,i=lt.f,u=pt.f;o<e;)for(var c,f=S(arguments[o++]),a=i?B(f).concat(i(f)):B(f),s=a.length,l=0;l<s;)u.call(f,c=a[l++])&&(r[c]=f[c]);return r}:Xn;nt(nt.S+nt.F,"Object",{assign:Zn})}();
+!function(){"use strict";var b=function(t){return"object"==typeof t?null!==t:"function"==typeof t},h=function(t){if(!b(t))throw TypeError(t+" is not an object!");return t},m=function(t){try{return!!t()}catch(t){return!0}},u=!m(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a});function t(t,e){return t(e={exports:{}},e.exports),e.exports}var g=t(function(t){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)}),e=g.document,n=b(e)&&b(e.createElement),r=function(t){return n?e.createElement(t):{}},o=!u&&!m(function(){return 7!=Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}),i=function(t,e){if(!b(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!b(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!b(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!b(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")},c=Object.defineProperty,f={f:u?Object.defineProperty:function(t,e,n){if(h(t),e=i(e,!0),h(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}},a=f.f,s=Function.prototype,l=/^\s*function ([^ (]*)/,p="name";p in s||u&&a(s,p,{configurable:!0,get:function(){try{return(""+this).match(l)[1]}catch(t){return""}}});var v=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},y=function(t){return Object(v(t))},d={}.hasOwnProperty,E=function(t,e){return d.call(t,e)},w={}.toString,_=function(t){return w.call(t).slice(8,-1)},O=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==_(t)?t.split(""):Object(t)},S=function(t){return O(v(t))},j=Math.ceil,k=Math.floor,P=function(t){return isNaN(t=+t)?0:(0<t?k:j)(t)},F=Math.min,T=function(t){return 0<t?F(P(t),9007199254740991):0},x=Math.max,A=Math.min,N=function(a){return function(t,e,n){var r,o,i,u=S(t),c=T(u.length),f=(o=c,(r=P(r=n))<0?x(r+o,0):A(r,o));if(a&&e!=e){for(;f<c;)if((i=u[f++])!=i)return!0}else for(;f<c;f++)if((a||f in u)&&u[f]===e)return a||f||0;return!a&&-1}},C=t(function(t){var e=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=e)}),I=(C.version,t(function(t){var e="__core-js_shared__",n=g[e]||(g[e]={});(t.exports=function(t,e){return n[t]||(n[t]=void 0!==e?e:{})})("versions",[]).push({version:C.version,mode:"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})})),M=0,D=Math.random(),W=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++M+D).toString(36))},L=I("keys"),B=function(t){return L[t]||(L[t]=W(t))},R=N(!1),K=B("IE_PROTO"),z=function(t,e){var n,r=S(t),o=0,i=[];for(n in r)n!=K&&E(r,n)&&i.push(n);for(;e.length>o;)E(r,n=e[o++])&&(~R(i,n)||i.push(n));return i},Y="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),G=Object.keys||function(t){return z(t,Y)},J=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},U=u?function(t,e,n){return f.f(t,e,J(1,n))}:function(t,e,n){return t[e]=n,t},X=t(function(t){var i=W("src"),e="toString",n=Function[e],u=(""+n).split(e);C.inspectSource=function(t){return n.call(t)},(t.exports=function(t,e,n,r){var o="function"==typeof n;o&&(E(n,"name")||U(n,"name",e)),t[e]!==n&&(o&&(E(n,i)||U(n,i,t[e]?""+t[e]:u.join(String(e)))),t===g?t[e]=n:r?t[e]?t[e]=n:U(t,e,n):(delete t[e],U(t,e,n)))})(Function.prototype,e,function(){return"function"==typeof this&&this[i]||n.call(this)})}),q=function(r,o,t){if(function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!")}(r),void 0===o)return r;switch(t){case 1:return function(t){return r.call(o,t)};case 2:return function(t,e){return r.call(o,t,e)};case 3:return function(t,e,n){return r.call(o,t,e,n)}}return function(){return r.apply(o,arguments)}},Q="prototype",V=function(t,e,n){var r,o,i,u,c=t&V.F,f=t&V.G,a=t&V.S,s=t&V.P,l=t&V.B,p=f?g:a?g[e]||(g[e]={}):(g[e]||{})[Q],v=f?C:C[e]||(C[e]={}),y=v[Q]||(v[Q]={});for(r in f&&(n=e),n)i=((o=!c&&p&&void 0!==p[r])?p:n)[r],u=l&&o?q(i,g):s&&"function"==typeof i?q(Function.call,i):i,p&&X(p,r,i,t&V.U),v[r]!=i&&U(v,r,u),s&&y[r]!=i&&(y[r]=i)};g.core=C,V.F=1,V.G=2,V.S=4,V.P=8,V.B=16,V.W=32,V.U=64,V.R=128;var H,Z,$,tt,et=V;H="keys",Z=function(){return function(t){return G(y(t))}},$=(C.Object||{})[H]||Object[H],(tt={})[H]=Z($),et(et.S+et.F*m(function(){$(1)}),"Object",tt);var nt,rt,ot=t(function(t){var n=W("meta"),e=f.f,r=0,o=Object.isExtensible||function(){return!0},i=!m(function(){return o(Object.preventExtensions({}))}),u=function(t){e(t,n,{value:{i:"O"+ ++r,w:{}}})},c=t.exports={KEY:n,NEED:!1,fastKey:function(t,e){if(!b(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!E(t,n)){if(!o(t))return"F";if(!e)return"E";u(t)}return t[n].i},getWeak:function(t,e){if(!E(t,n)){if(!o(t))return!0;if(!e)return!1;u(t)}return t[n].w},onFreeze:function(t){return i&&c.NEED&&o(t)&&!E(t,n)&&u(t),t}}}),it=(ot.KEY,ot.NEED,ot.fastKey,ot.getWeak,ot.onFreeze,t(function(t){var e=I("wks"),n=g.Symbol,r="function"==typeof n;(t.exports=function(t){return e[t]||(e[t]=r&&n[t]||(r?n:W)("Symbol."+t))}).store=e})),ut=f.f,ct=it("toStringTag"),ft=function(t,e,n){t&&!E(t=n?t:t.prototype,ct)&&ut(t,ct,{configurable:!0,value:e})},at={f:it},st=f.f,lt={f:Object.getOwnPropertySymbols},pt={f:{}.propertyIsEnumerable},vt=Array.isArray||function(t){return"Array"==_(t)},yt=u?Object.defineProperties:function(t,e){h(t);for(var n,r=G(e),o=r.length,i=0;i<o;)f.f(t,n=r[i++],e[n]);return t},ht=g.document,dt=ht&&ht.documentElement,bt=B("IE_PROTO"),mt=function(){},gt="prototype",Et=function(){var t,e=r("iframe"),n=Y.length;for(e.style.display="none",dt.appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),Et=t.F;n--;)delete Et[gt][Y[n]];return Et()},wt=Object.create||function(t,e){var n;return null!==t?(mt[gt]=h(t),n=new mt,mt[gt]=null,n[bt]=t):n=Et(),void 0===e?n:yt(n,e)},_t=Y.concat("length","prototype"),Ot={f:Object.getOwnPropertyNames||function(t){return z(t,_t)}},St=Ot.f,jt={}.toString,kt="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Pt={f:function(t){return kt&&"[object Window]"==jt.call(t)?function(t){try{return St(t)}catch(t){return kt.slice()}}(t):St(S(t))}},Ft=Object.getOwnPropertyDescriptor,Tt={f:u?Ft:function(t,e){if(t=S(t),e=i(e,!0),o)try{return Ft(t,e)}catch(t){}if(E(t,e))return J(!pt.f.call(t,e),t[e])}},xt=ot.KEY,At=Tt.f,Nt=f.f,Ct=Pt.f,It=g.Symbol,Mt=g.JSON,Dt=Mt&&Mt.stringify,Wt="prototype",Lt=it("_hidden"),Bt=it("toPrimitive"),Rt={}.propertyIsEnumerable,Kt=I("symbol-registry"),zt=I("symbols"),Yt=I("op-symbols"),Gt=Object[Wt],Jt="function"==typeof It,Ut=g.QObject,Xt=!Ut||!Ut[Wt]||!Ut[Wt].findChild,qt=u&&m(function(){return 7!=wt(Nt({},"a",{get:function(){return Nt(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=At(Gt,e);r&&delete Gt[e],Nt(t,e,n),r&&t!==Gt&&Nt(Gt,e,r)}:Nt,Qt=function(t){var e=zt[t]=wt(It[Wt]);return e._k=t,e},Vt=Jt&&"symbol"==typeof It.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof It},Ht=function(t,e,n){return t===Gt&&Ht(Yt,e,n),h(t),e=i(e,!0),h(n),E(zt,e)?(n.enumerable?(E(t,Lt)&&t[Lt][e]&&(t[Lt][e]=!1),n=wt(n,{enumerable:J(0,!1)})):(E(t,Lt)||Nt(t,Lt,J(1,{})),t[Lt][e]=!0),qt(t,e,n)):Nt(t,e,n)},Zt=function(t,e){h(t);for(var n,r=function(t){var e=G(t),n=lt.f;if(n)for(var r,o=n(t),i=pt.f,u=0;o.length>u;)i.call(t,r=o[u++])&&e.push(r);return e}(e=S(e)),o=0,i=r.length;o<i;)Ht(t,n=r[o++],e[n]);return t},$t=function(t){var e=Rt.call(this,t=i(t,!0));return!(this===Gt&&E(zt,t)&&!E(Yt,t))&&(!(e||!E(this,t)||!E(zt,t)||E(this,Lt)&&this[Lt][t])||e)},te=function(t,e){if(t=S(t),e=i(e,!0),t!==Gt||!E(zt,e)||E(Yt,e)){var n=At(t,e);return!n||!E(zt,e)||E(t,Lt)&&t[Lt][e]||(n.enumerable=!0),n}},ee=function(t){for(var e,n=Ct(S(t)),r=[],o=0;n.length>o;)E(zt,e=n[o++])||e==Lt||e==xt||r.push(e);return r},ne=function(t){for(var e,n=t===Gt,r=Ct(n?Yt:S(t)),o=[],i=0;r.length>i;)!E(zt,e=r[i++])||n&&!E(Gt,e)||o.push(zt[e]);return o};Jt||(X((It=function(){if(this instanceof It)throw TypeError("Symbol is not a constructor!");var e=W(0<arguments.length?arguments[0]:void 0),n=function(t){this===Gt&&n.call(Yt,t),E(this,Lt)&&E(this[Lt],e)&&(this[Lt][e]=!1),qt(this,e,J(1,t))};return u&&Xt&&qt(Gt,e,{configurable:!0,set:n}),Qt(e)})[Wt],"toString",function(){return this._k}),Tt.f=te,f.f=Ht,Ot.f=Pt.f=ee,pt.f=$t,lt.f=ne,u&&X(Gt,"propertyIsEnumerable",$t,!0),at.f=function(t){return Qt(it(t))}),et(et.G+et.W+et.F*!Jt,{Symbol:It});for(var re="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),oe=0;re.length>oe;)it(re[oe++]);for(var ie=G(it.store),ue=0;ie.length>ue;)nt=ie[ue++],void 0,rt=C.Symbol||(C.Symbol=g.Symbol||{}),"_"==nt.charAt(0)||nt in rt||st(rt,nt,{value:at.f(nt)});et(et.S+et.F*!Jt,"Symbol",{for:function(t){return E(Kt,t+="")?Kt[t]:Kt[t]=It(t)},keyFor:function(t){if(!Vt(t))throw TypeError(t+" is not a symbol!");for(var e in Kt)if(Kt[e]===t)return e},useSetter:function(){Xt=!0},useSimple:function(){Xt=!1}}),et(et.S+et.F*!Jt,"Object",{create:function(t,e){return void 0===e?wt(t):Zt(wt(t),e)},defineProperty:Ht,defineProperties:Zt,getOwnPropertyDescriptor:te,getOwnPropertyNames:ee,getOwnPropertySymbols:ne}),Mt&&et(et.S+et.F*(!Jt||m(function(){var t=It();return"[null]"!=Dt([t])||"{}"!=Dt({a:t})||"{}"!=Dt(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=e=r[1],(b(e)||void 0!==t)&&!Vt(t))return vt(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!Vt(e))return e}),r[1]=e,Dt.apply(Mt,r)}}),It[Wt][Bt]||U(It[Wt],Bt,It[Wt].valueOf),ft(It,"Symbol"),ft(Math,"Math",!0),ft(g.JSON,"JSON",!0);var ce=function(t,e,n){for(var r in e)X(t,r,e[r],n);return t},fe=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t},ae=function(e,t,n,r){try{return r?t(h(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&h(o.call(e)),t}},se={},le=it("iterator"),pe=Array.prototype,ve=it("toStringTag"),ye="Arguments"==_(function(){return arguments}()),he=it("iterator"),de=C.getIteratorMethod=function(t){if(null!=t)return t[he]||t["@@iterator"]||se[(e=t,void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(n=Object(e),ve))?r:ye?_(n):"Object"==(o=_(n))&&"function"==typeof n.callee?"Arguments":o)];var e,n,r,o},be=t(function(t){var v={},y={},e=t.exports=function(t,e,n,r,o){var i,u,c,f,a,s=o?function(){return t}:de(t),l=q(n,r,e?2:1),p=0;if("function"!=typeof s)throw TypeError(t+" is not iterable!");if(void 0===(a=s)||se.Array!==a&&pe[le]!==a){for(c=s.call(t);!(u=c.next()).done;)if((f=ae(c,l,u.value,e))===v||f===y)return f}else for(i=T(t.length);p<i;p++)if((f=e?l(h(u=t[p])[0],u[1]):l(t[p]))===v||f===y)return f};e.BREAK=v,e.RETURN=y}),me={};U(me,it("iterator"),function(){return this});var ge=B("IE_PROTO"),Ee=Object.prototype,we=Object.getPrototypeOf||function(t){return t=y(t),E(t,ge)?t[ge]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?Ee:null},_e=it("iterator"),Oe=!([].keys&&"next"in[].keys()),Se="values",je=function(){return this},ke=function(t,e,n,r,o,i,u){var c,f,a;f=e,a=r,(c=n).prototype=wt(me,{next:J(1,a)}),ft(c,f+" Iterator");var s,l,p,v=function(t){if(!Oe&&t in b)return b[t];switch(t){case"keys":case Se:return function(){return new n(this,t)}}return function(){return new n(this,t)}},y=e+" Iterator",h=o==Se,d=!1,b=t.prototype,m=b[_e]||b["@@iterator"]||o&&b[o],g=m||v(o),E=o?h?v("entries"):g:void 0,w="Array"==e&&b.entries||m;if(w&&(p=we(w.call(new t)))!==Object.prototype&&p.next&&(ft(p,y,!0),"function"!=typeof p[_e]&&U(p,_e,je)),h&&m&&m.name!==Se&&(d=!0,g=function(){return m.call(this)}),(Oe||d||!b[_e])&&U(b,_e,g),se[e]=g,se[y]=je,o)if(s={values:h?g:v(Se),keys:i?g:v("keys"),entries:E},u)for(l in s)l in b||X(b,l,s[l]);else et(et.P+et.F*(Oe||d),e,s);return s},Pe=function(t,e){return{value:e,done:!!t}},Fe=it("species"),Te=function(t,e){if(!b(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t},xe=f.f,Ae=ot.fastKey,Ne=u?"_s":"size",Ce=function(t,e){var n,r=Ae(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n},Ie={getConstructor:function(t,i,n,r){var o=t(function(t,e){fe(t,o,i,"_i"),t._t=i,t._i=wt(null),t._f=void 0,t._l=void 0,t[Ne]=0,null!=e&&be(e,n,t[r],t)});return ce(o.prototype,{clear:function(){for(var t=Te(this,i),e=t._i,n=t._f;n;n=n.n)n.r=!0,n.p&&(n.p=n.p.n=void 0),delete e[n.i];t._f=t._l=void 0,t[Ne]=0},delete:function(t){var e=Te(this,i),n=Ce(e,t);if(n){var r=n.n,o=n.p;delete e._i[n.i],n.r=!0,o&&(o.n=r),r&&(r.p=o),e._f==n&&(e._f=r),e._l==n&&(e._l=o),e[Ne]--}return!!n},forEach:function(t){Te(this,i);for(var e,n=q(t,1<arguments.length?arguments[1]:void 0,3);e=e?e.n:this._f;)for(n(e.v,e.k,this);e&&e.r;)e=e.p},has:function(t){return!!Ce(Te(this,i),t)}}),u&&xe(o.prototype,"size",{get:function(){return Te(this,i)[Ne]}}),o},def:function(t,e,n){var r,o,i=Ce(t,e);return i?i.v=n:(t._l=i={i:o=Ae(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=i),r&&(r.n=i),t[Ne]++,"F"!==o&&(t._i[o]=i)),t},getEntry:Ce,setStrong:function(t,n,e){var r;ke(t,n,function(t,e){this._t=Te(t,n),this._k=e,this._l=void 0},function(){for(var t=this,e=t._k,n=t._l;n&&n.r;)n=n.p;return t._t&&(t._l=n=n?n.n:t._t._f)?Pe(0,"keys"==e?n.k:"values"==e?n.v:[n.k,n.v]):(t._t=void 0,Pe(1))},e?"entries":"values",!e,!0),r=g[n],u&&r&&!r[Fe]&&f.f(r,Fe,{configurable:!0,get:function(){return this}})}},Me=it("iterator"),De=!1;try{[7][Me]().return=function(){De=!0}}catch(t){}var We=function(t,e){if(h(t),!b(e)&&null!==e)throw TypeError(e+": can't set as prototype!")},Le={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,r){try{(r=q(Function.call,Tt.f(Object.prototype,"__proto__").set,2))(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,e){return We(t,e),n?t.__proto__=e:r(t,e),t}}({},!1):void 0),check:We}.set,Be=(function(c,t,e,n,f,r){var a=g[c],s=a,l=f?"set":"add",o=s&&s.prototype,i={},u=function(t){var n=o[t];X(o,t,"delete"==t?function(t){return!(r&&!b(t))&&n.call(this,0===t?0:t)}:"has"==t?function(t){return!(r&&!b(t))&&n.call(this,0===t?0:t)}:"get"==t?function(t){return r&&!b(t)?void 0:n.call(this,0===t?0:t)}:"add"==t?function(t){return n.call(this,0===t?0:t),this}:function(t,e){return n.call(this,0===t?0:t,e),this})};if("function"==typeof s&&(r||o.forEach&&!m(function(){(new s).entries().next()}))){var p=new s,v=p[l](r?{}:-0,1)!=p,y=m(function(){p.has(1)}),h=function(t,e){if(!e&&!De)return!1;var n=!1;try{var r=[7],o=r[Me]();o.next=function(){return{done:n=!0}},r[Me]=function(){return o},t(r)}catch(t){}return n}(function(t){new s(t)}),d=!r&&m(function(){for(var t=new s,e=5;e--;)t[l](e,e);return!t.has(-0)});h||(((s=t(function(t,e){fe(t,s,c);var n,r,o,i,u=(n=new a,r=s,(i=t.constructor)!==r&&"function"==typeof i&&(o=i.prototype)!==r.prototype&&b(o)&&Le&&Le(n,o),n);return null!=e&&be(e,f,u[l],u),u})).prototype=o).constructor=s),(y||d)&&(u("delete"),u("has"),f&&u("get")),(d||v)&&u(l),r&&o.clear&&delete o.clear}else s=n.getConstructor(t,c,f,l),ce(s.prototype,e),ot.NEED=!0;ft(s,c),i[c]=s,et(et.G+et.W+et.F*(s!=a),i),r||n.setStrong(s,c,f)}("Set",function(t){return function(){return t(this,0<arguments.length?arguments[0]:void 0)}},{add:function(t){return Ie.def(Te(this,"Set"),t=0===t?0:t,t)}},Ie),it("unscopables")),Re=Array.prototype;null==Re[Be]&&U(Re,Be,{});var Ke=function(t){Re[Be][t]=!0},ze=N(!0);et(et.P,"Array",{includes:function(t){return ze(this,t,1<arguments.length?arguments[1]:void 0)}}),Ke("includes");var Ye=it("match"),Ge=function(t,e,n){if(b(r=e)&&(void 0!==(o=r[Ye])?o:"RegExp"==_(r)))throw TypeError("String#"+n+" doesn't accept regex!");var r,o;return String(v(t))},Je=it("match"),Ue="includes";et(et.P+et.F*function(e){var n=/./;try{"/./"[e](n)}catch(t){try{return n[Je]=!1,!"/./"[e](n)}catch(t){}}return!0}(Ue),"String",{includes:function(t){return!!~Ge(this,t,Ue).indexOf(t,1<arguments.length?arguments[1]:void 0)}});ke(Array,"Array",function(t,e){this._t=S(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,Pe(1)):Pe(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values");se.Arguments=se.Array,Ke("keys"),Ke("values"),Ke("entries");var Xe,qe=pt.f,Qe=(Xe=!0,function(t){for(var e,n=S(t),r=G(n),o=r.length,i=0,u=[];i<o;)qe.call(n,e=r[i++])&&u.push(Xe?[e,n[e]]:n[e]);return u});et(et.S,"Object",{entries:function(t){return Qe(t)}});var Ve=Object.assign,He=!Ve||m(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=Ve({},t)[n]||Object.keys(Ve({},e)).join("")!=r})?function(t,e){for(var n=y(t),r=arguments.length,o=1,i=lt.f,u=pt.f;o<r;)for(var c,f=O(arguments[o++]),a=i?G(f).concat(i(f)):G(f),s=a.length,l=0;l<s;)u.call(f,c=a[l++])&&(n[c]=f[c]);return n}:Ve;et(et.S+et.F,"Object",{assign:He}),function(i){(function(t){if(!("Event"in t))return!1;if("function"==typeof t.Event)return!0;try{return new Event("click"),!0}catch(t){return!1}})(this)||function(){var n={click:1,dblclick:1,keyup:1,keypress:1,keydown:1,mousedown:1,mouseup:1,mousemove:1,mouseover:1,mouseenter:1,mouseleave:1,mouseout:1,storage:1,storagecommit:1,textinput:1};function c(t,e){for(var n=-1,r=t.length;++n<r;)if(n in t&&t[n]===e)return n;return-1}var t=window.Event&&window.Event.prototype||null;window.Event=Window.prototype.Event=function(t,e){if(!t)throw new Error("Not enough arguments");if("createEvent"in document){var n=document.createEvent("Event"),r=!(!e||e.bubbles===i)&&e.bubbles,o=!(!e||e.cancelable===i)&&e.cancelable;return n.initEvent(t,r,o),n}return(n=document.createEventObject()).type=t,n.bubbles=!(!e||e.bubbles===i)&&e.bubbles,n.cancelable=!(!e||e.cancelable===i)&&e.cancelable,n},t&&Object.defineProperty(window.Event,"prototype",{configurable:!1,enumerable:!1,writable:!0,value:t}),"createEvent"in document||(window.addEventListener=Window.prototype.addEventListener=Document.prototype.addEventListener=Element.prototype.addEventListener=function(){var u=this,t=arguments[0],e=arguments[1];if(u===window&&t in n)throw new Error("In IE8 the event: "+t+" is not available on the window object.");u._events||(u._events={}),u._events[t]||(u._events[t]=function(t){var e,n=u._events[t.type].list,r=n.slice(),o=-1,i=r.length;for(t.preventDefault=function(){!1!==t.cancelable&&(t.returnValue=!1)},t.stopPropagation=function(){t.cancelBubble=!0},t.stopImmediatePropagation=function(){t.cancelBubble=!0,t.cancelImmediate=!0},t.currentTarget=u,t.relatedTarget=t.fromElement||null,t.target=t.target||t.srcElement||u,t.timeStamp=(new Date).getTime(),t.clientX&&(t.pageX=t.clientX+document.documentElement.scrollLeft,t.pageY=t.clientY+document.documentElement.scrollTop);++o<i&&!t.cancelImmediate;)o in r&&-1!==c(n,e=r[o])&&"function"==typeof e&&e.call(u,t)},u._events[t].list=[],u.attachEvent&&u.attachEvent("on"+t,u._events[t])),u._events[t].list.push(e)},window.removeEventListener=Window.prototype.removeEventListener=Document.prototype.removeEventListener=Element.prototype.removeEventListener=function(){var t,e=this,n=arguments[0],r=arguments[1];e._events&&e._events[n]&&e._events[n].list&&-1!==(t=c(e._events[n].list,r))&&(e._events[n].list.splice(t,1),e._events[n].list.length||(e.detachEvent&&e.detachEvent("on"+n,e._events[n]),delete e._events[n]))},window.dispatchEvent=Window.prototype.dispatchEvent=Document.prototype.dispatchEvent=Element.prototype.dispatchEvent=function(e){if(!arguments.length)throw new Error("Not enough arguments");if(!e||"string"!=typeof e.type)throw new Error("DOM Events Exception 0");var n=this,r=e.type;try{if(!e.bubbles){e.cancelBubble=!0;var o=function(t){t.cancelBubble=!0,(n||window).detachEvent("on"+r,o)};this.attachEvent("on"+r,o)}this.fireEvent("on"+r,e)}catch(t){for(e.target=n;"_events"in(e.currentTarget=n)&&"function"==typeof n._events[r]&&n._events[r].call(n,e),"function"==typeof n["on"+r]&&n["on"+r].call(n,e),(n=9===n.nodeType?n.parentWindow:n.parentNode)&&!e.cancelBubble;);}return!0},document.attachEvent("onreadystatechange",function(){"complete"===document.readyState&&document.dispatchEvent(new Event("DOMContentLoaded",{bubbles:!0}))}))}(),"CustomEvent"in this&&("function"==typeof this.CustomEvent||-1<this.CustomEvent.toString().indexOf("CustomEventConstructor"))||(this.CustomEvent=function(e,n){if(!e)throw Error('TypeError: Failed to construct "CustomEvent": An event name must be provided.');var r;if(n=n||{bubbles:!1,cancelable:!1,detail:null},"createEvent"in document)try{(r=document.createEvent("CustomEvent")).initCustomEvent(e,n.bubbles,n.cancelable,n.detail)}catch(t){(r=document.createEvent("Event")).initEvent(e,n.bubbles,n.cancelable),r.detail=n.detail}else(r=new Event(e,n)).detail=n&&n.detail||null;return r},CustomEvent.prototype=Event.prototype)}.call("object"==typeof window&&window||"object"==typeof self&&self||"object"==typeof global&&global||{})}();
diff --git a/package-lock.json b/package-lock.json
index ef0099c..57b9b40 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -917,6 +917,11 @@
}
}
},
+ "@target/custom-event-polyfill": {
+ "version": "github:Adobe-Marketing-Cloud/custom-event-polyfill#2a28329ad98fdaf578054e2390f6ecd77d2eae91",
+ "from": "github:Adobe-Marketing-Cloud/custom-event-polyfill",
+ "dev": true
+ },
"@types/estree": {
"version": "0.0.39",
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz",
@@ -1294,7 +1299,7 @@
},
"source-map": {
"version": "0.1.43",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.1.43.tgz",
+ "resolved": "http://registry.npmjs.org/source-map/-/source-map-0.1.43.tgz",
"integrity": "sha1-wkvBRspRfBRx9drL4lcbK3+eM0Y=",
"dev": true,
"optional": true,
diff --git a/package.json b/package.json
index 379c1e4..7030407 100644
--- a/package.json
+++ b/package.json
@@ -69,6 +69,7 @@
"@babel/plugin-transform-runtime": "^7.1.0",
"@babel/polyfill": "^7.0.0",
"@babel/preset-env": "^7.1.0",
+ "@target/custom-event-polyfill": "github:Adobe-Marketing-Cloud/custom-event-polyfill",
"babel-eslint": "^10.0.1",
"core-js": "^2.5.7",
"coveralls": "^3.0.2",