UNPKG

springroll-container

Version:

The iframe controller for interacting with SpringRoll applications

1 lines 126 kB
function createCommonjsModule(e,t){return e(t={exports:{}},t.exports),t.exports}var _global=createCommonjsModule(function(e){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)}),_core=createCommonjsModule(function(e){var t=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=t)}),_core_1=_core.version,_isObject=function(e){return"object"==typeof e?null!==e:"function"==typeof e},_anObject=function(e){if(!_isObject(e))throw TypeError(e+" is not an object!");return e},_fails=function(e){try{return!!e()}catch(e){return!0}},_descriptors=!_fails(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),document$1=_global.document,is=_isObject(document$1)&&_isObject(document$1.createElement),_domCreate=function(e){return is?document$1.createElement(e):{}},_ie8DomDefine=!_descriptors&&!_fails(function(){return 7!=Object.defineProperty(_domCreate("div"),"a",{get:function(){return 7}}).a}),_toPrimitive=function(e,t){if(!_isObject(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!_isObject(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!_isObject(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!_isObject(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},dP=Object.defineProperty,f=_descriptors?Object.defineProperty:function(e,t,n){if(_anObject(e),t=_toPrimitive(t,!0),_anObject(n),_ie8DomDefine)try{return dP(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e},_objectDp={f:f},_propertyDesc=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},_hide=_descriptors?function(e,t,n){return _objectDp.f(e,t,_propertyDesc(1,n))}:function(e,t,n){return e[t]=n,e},hasOwnProperty={}.hasOwnProperty,_has=function(e,t){return hasOwnProperty.call(e,t)},id=0,px=Math.random(),_uid=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++id+px).toString(36))},_library=!1,_shared=createCommonjsModule(function(e){var t=_global["__core-js_shared__"]||(_global["__core-js_shared__"]={});(e.exports=function(e,n){return t[e]||(t[e]=void 0!==n?n:{})})("versions",[]).push({version:_core.version,mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})}),_functionToString=_shared("native-function-to-string",Function.toString),_redefine=createCommonjsModule(function(e){var t=_uid("src"),n=(""+_functionToString).split("toString");_core.inspectSource=function(e){return _functionToString.call(e)},(e.exports=function(e,r,i,o){var a="function"==typeof i;a&&(_has(i,"name")||_hide(i,"name",r)),e[r]!==i&&(a&&(_has(i,t)||_hide(i,t,e[r]?""+e[r]:n.join(String(r)))),e===_global?e[r]=i:o?e[r]?e[r]=i:_hide(e,r,i):(delete e[r],_hide(e,r,i)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[t]||_functionToString.call(this)})}),_aFunction=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e},_ctx=function(e,t,n){if(_aFunction(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},PROTOTYPE="prototype",$export=function(e,t,n){var r,i,o,a,s=e&$export.F,c=e&$export.G,u=e&$export.S,l=e&$export.P,f=e&$export.B,h=c?_global:u?_global[t]||(_global[t]={}):(_global[t]||{})[PROTOTYPE],_=c?_core:_core[t]||(_core[t]={}),p=_[PROTOTYPE]||(_[PROTOTYPE]={});for(r in c&&(n=t),n)o=((i=!s&&h&&void 0!==h[r])?h:n)[r],a=f&&i?_ctx(o,_global):l&&"function"==typeof o?_ctx(Function.call,o):o,h&&_redefine(h,r,o,e&$export.U),_[r]!=o&&_hide(_,r,a),l&&p[r]!=o&&(p[r]=o)};_global.core=_core,$export.F=1,$export.G=2,$export.S=4,$export.P=8,$export.B=16,$export.W=32,$export.U=64,$export.R=128;var _export=$export,_defined=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},_toObject=function(e){return Object(_defined(e))},ceil=Math.ceil,floor=Math.floor,_toInteger=function(e){return isNaN(e=+e)?0:(e>0?floor:ceil)(e)},max=Math.max,min=Math.min,_toAbsoluteIndex=function(e,t){return(e=_toInteger(e))<0?max(e+t,0):min(e,t)},min$1=Math.min,_toLength=function(e){return e>0?min$1(_toInteger(e),9007199254740991):0},_arrayCopyWithin=[].copyWithin||function(e,t){var n=_toObject(this),r=_toLength(n.length),i=_toAbsoluteIndex(e,r),o=_toAbsoluteIndex(t,r),a=arguments.length>2?arguments[2]:void 0,s=Math.min((void 0===a?r:_toAbsoluteIndex(a,r))-o,r-i),c=1;for(o<i&&i<o+s&&(c=-1,o+=s-1,i+=s-1);s-- >0;)o in n?n[i]=n[o]:delete n[i],i+=c,o+=c;return n},_wks=createCommonjsModule(function(e){var t=_shared("wks"),n=_global.Symbol,r="function"==typeof n;(e.exports=function(e){return t[e]||(t[e]=r&&n[e]||(r?n:_uid)("Symbol."+e))}).store=t}),UNSCOPABLES=_wks("unscopables"),ArrayProto=Array.prototype;null==ArrayProto[UNSCOPABLES]&&_hide(ArrayProto,UNSCOPABLES,{});var _addToUnscopables=function(e){ArrayProto[UNSCOPABLES][e]=!0};_export(_export.P,"Array",{copyWithin:_arrayCopyWithin}),_addToUnscopables("copyWithin");var _arrayFill=function(e){for(var t=_toObject(this),n=_toLength(t.length),r=arguments.length,i=_toAbsoluteIndex(r>1?arguments[1]:void 0,n),o=r>2?arguments[2]:void 0,a=void 0===o?n:_toAbsoluteIndex(o,n);a>i;)t[i++]=e;return t};_export(_export.P,"Array",{fill:_arrayFill}),_addToUnscopables("fill");var toString={}.toString,_cof=function(e){return toString.call(e).slice(8,-1)},_iobject=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==_cof(e)?e.split(""):Object(e)},_isArray=Array.isArray||function(e){return"Array"==_cof(e)},SPECIES=_wks("species"),_arraySpeciesConstructor=function(e){var t;return _isArray(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!_isArray(t.prototype)||(t=void 0),_isObject(t)&&null===(t=t[SPECIES])&&(t=void 0)),void 0===t?Array:t},_arraySpeciesCreate=function(e,t){return new(_arraySpeciesConstructor(e))(t)},_arrayMethods=function(e,t){var n=1==e,r=2==e,i=3==e,o=4==e,a=6==e,s=5==e||a,c=t||_arraySpeciesCreate;return function(t,u,l){for(var f,h,_=_toObject(t),p=_iobject(_),d=_ctx(u,l,3),y=_toLength(p.length),g=0,v=n?c(t,y):r?c(t,0):void 0;y>g;g++)if((s||g in p)&&(h=d(f=p[g],g,_),e))if(n)v[g]=h;else if(h)switch(e){case 3:return!0;case 5:return f;case 6:return g;case 2:v.push(f)}else if(o)return!1;return a?-1:i||o?o:v}},$find=_arrayMethods(5),KEY="find",forced=!0;KEY in[]&&Array(1)[KEY](function(){forced=!1}),_export(_export.P+_export.F*forced,"Array",{find:function(e){return $find(this,e,arguments.length>1?arguments[1]:void 0)}}),_addToUnscopables(KEY);var $find$1=_arrayMethods(6),KEY$1="findIndex",forced$1=!0;KEY$1 in[]&&Array(1)[KEY$1](function(){forced$1=!1}),_export(_export.P+_export.F*forced$1,"Array",{findIndex:function(e){return $find$1(this,e,arguments.length>1?arguments[1]:void 0)}}),_addToUnscopables(KEY$1);var IS_CONCAT_SPREADABLE=_wks("isConcatSpreadable");function flattenIntoArray(e,t,n,r,i,o,a,s){for(var c,u,l=i,f=0,h=!!a&&_ctx(a,s,3);f<r;){if(f in n){if(c=h?h(n[f],f,t):n[f],u=!1,_isObject(c)&&(u=void 0!==(u=c[IS_CONCAT_SPREADABLE])?!!u:_isArray(c)),u&&o>0)l=flattenIntoArray(e,t,c,_toLength(c.length),l,o-1)-1;else{if(l>=9007199254740991)throw TypeError();e[l]=c}l++}f++}return l}var _flattenIntoArray=flattenIntoArray;_export(_export.P,"Array",{flatMap:function(e){var t,n,r=_toObject(this);return _aFunction(e),t=_toLength(r.length),n=_arraySpeciesCreate(r,0),_flattenIntoArray(n,r,r,t,0,1,e,arguments[1]),n}}),_addToUnscopables("flatMap");var _iterCall=function(e,t,n,r){try{return r?t(_anObject(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&_anObject(i.call(e)),t}},_iterators={},ITERATOR=_wks("iterator"),ArrayProto$1=Array.prototype,_isArrayIter=function(e){return void 0!==e&&(_iterators.Array===e||ArrayProto$1[ITERATOR]===e)},_createProperty=function(e,t,n){t in e?_objectDp.f(e,t,_propertyDesc(0,n)):e[t]=n},TAG=_wks("toStringTag"),ARG="Arguments"==_cof(function(){return arguments}()),tryGet=function(e,t){try{return e[t]}catch(e){}},_classof=function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=tryGet(t=Object(e),TAG))?n:ARG?_cof(t):"Object"==(r=_cof(t))&&"function"==typeof t.callee?"Arguments":r},ITERATOR$1=_wks("iterator"),core_getIteratorMethod=_core.getIteratorMethod=function(e){if(null!=e)return e[ITERATOR$1]||e["@@iterator"]||_iterators[_classof(e)]},ITERATOR$2=_wks("iterator"),SAFE_CLOSING=!1;try{var riter=[7][ITERATOR$2]();riter.return=function(){SAFE_CLOSING=!0}}catch(e){}var _iterDetect=function(e,t){if(!t&&!SAFE_CLOSING)return!1;var n=!1;try{var r=[7],i=r[ITERATOR$2]();i.next=function(){return{done:n=!0}},r[ITERATOR$2]=function(){return i},e(r)}catch(e){}return n};_export(_export.S+_export.F*!_iterDetect(function(e){}),"Array",{from:function(e){var t,n,r,i,o=_toObject(e),a="function"==typeof this?this:Array,s=arguments.length,c=s>1?arguments[1]:void 0,u=void 0!==c,l=0,f=core_getIteratorMethod(o);if(u&&(c=_ctx(c,s>2?arguments[2]:void 0,2)),null==f||a==Array&&_isArrayIter(f))for(n=new a(t=_toLength(o.length));t>l;l++)_createProperty(n,l,u?c(o[l],l):o[l]);else for(i=f.call(o),n=new a;!(r=i.next()).done;l++)_createProperty(n,l,u?_iterCall(i,c,[r.value,l],!0):r.value);return n.length=l,n}});var _toIobject=function(e){return _iobject(_defined(e))},_arrayIncludes=function(e){return function(t,n,r){var i,o=_toIobject(t),a=_toLength(o.length),s=_toAbsoluteIndex(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},$includes=_arrayIncludes(!0);_export(_export.P,"Array",{includes:function(e){return $includes(this,e,arguments.length>1?arguments[1]:void 0)}}),_addToUnscopables("includes");var _iterStep=function(e,t){return{value:t,done:!!e}},shared=_shared("keys"),_sharedKey=function(e){return shared[e]||(shared[e]=_uid(e))},arrayIndexOf=_arrayIncludes(!1),IE_PROTO=_sharedKey("IE_PROTO"),_objectKeysInternal=function(e,t){var n,r=_toIobject(e),i=0,o=[];for(n in r)n!=IE_PROTO&&_has(r,n)&&o.push(n);for(;t.length>i;)_has(r,n=t[i++])&&(~arrayIndexOf(o,n)||o.push(n));return o},_enumBugKeys="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),_objectKeys=Object.keys||function(e){return _objectKeysInternal(e,_enumBugKeys)},_objectDps=_descriptors?Object.defineProperties:function(e,t){_anObject(e);for(var n,r=_objectKeys(t),i=r.length,o=0;i>o;)_objectDp.f(e,n=r[o++],t[n]);return e},document$2=_global.document,_html=document$2&&document$2.documentElement,IE_PROTO$1=_sharedKey("IE_PROTO"),Empty=function(){},PROTOTYPE$1="prototype",createDict=function(){var e,t=_domCreate("iframe"),n=_enumBugKeys.length;for(t.style.display="none",_html.appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),createDict=e.F;n--;)delete createDict[PROTOTYPE$1][_enumBugKeys[n]];return createDict()},_objectCreate=Object.create||function(e,t){var n;return null!==e?(Empty[PROTOTYPE$1]=_anObject(e),n=new Empty,Empty[PROTOTYPE$1]=null,n[IE_PROTO$1]=e):n=createDict(),void 0===t?n:_objectDps(n,t)},def=_objectDp.f,TAG$1=_wks("toStringTag"),_setToStringTag=function(e,t,n){e&&!_has(e=n?e:e.prototype,TAG$1)&&def(e,TAG$1,{configurable:!0,value:t})},IteratorPrototype={};_hide(IteratorPrototype,_wks("iterator"),function(){return this});var _iterCreate=function(e,t,n){e.prototype=_objectCreate(IteratorPrototype,{next:_propertyDesc(1,n)}),_setToStringTag(e,t+" Iterator")},IE_PROTO$2=_sharedKey("IE_PROTO"),ObjectProto=Object.prototype,_objectGpo=Object.getPrototypeOf||function(e){return e=_toObject(e),_has(e,IE_PROTO$2)?e[IE_PROTO$2]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?ObjectProto:null},ITERATOR$3=_wks("iterator"),BUGGY=!([].keys&&"next"in[].keys()),FF_ITERATOR="@@iterator",KEYS="keys",VALUES="values",returnThis=function(){return this},_iterDefine=function(e,t,n,r,i,o,a){_iterCreate(n,t,r);var s,c,u,l=function(e){if(!BUGGY&&e in p)return p[e];switch(e){case KEYS:case VALUES:return function(){return new n(this,e)}}return function(){return new n(this,e)}},f=t+" Iterator",h=i==VALUES,_=!1,p=e.prototype,d=p[ITERATOR$3]||p[FF_ITERATOR]||i&&p[i],y=d||l(i),g=i?h?l("entries"):y:void 0,v="Array"==t&&p.entries||d;if(v&&(u=_objectGpo(v.call(new e)))!==Object.prototype&&u.next&&(_setToStringTag(u,f,!0),_library||"function"==typeof u[ITERATOR$3]||_hide(u,ITERATOR$3,returnThis)),h&&d&&d.name!==VALUES&&(_=!0,y=function(){return d.call(this)}),_library&&!a||!BUGGY&&!_&&p[ITERATOR$3]||_hide(p,ITERATOR$3,y),_iterators[t]=y,_iterators[f]=returnThis,i)if(s={values:h?y:l(VALUES),keys:o?y:l(KEYS),entries:g},a)for(c in s)c in p||_redefine(p,c,s[c]);else _export(_export.P+_export.F*(BUGGY||_),t,s);return s},es6_array_iterator=_iterDefine(Array,"Array",function(e,t){this._t=_toIobject(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,_iterStep(1)):_iterStep(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values");_iterators.Arguments=_iterators.Array,_addToUnscopables("keys"),_addToUnscopables("values"),_addToUnscopables("entries"),_export(_export.S+_export.F*_fails(function(){function e(){}return!(Array.of.call(e)instanceof e)}),"Array",{of:function(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)_createProperty(n,e,arguments[e++]);return n.length=t,n}});var SPECIES$1=_wks("species"),_setSpecies=function(e){var t=_global[e];_descriptors&&t&&!t[SPECIES$1]&&_objectDp.f(t,SPECIES$1,{configurable:!0,get:function(){return this}})};_setSpecies("Array");var NUMBER="number",_dateToPrimitive=function(e){if("string"!==e&&e!==NUMBER&&"default"!==e)throw TypeError("Incorrect hint");return _toPrimitive(_anObject(this),e!=NUMBER)},TO_PRIMITIVE=_wks("toPrimitive"),proto=Date.prototype;TO_PRIMITIVE in proto||_hide(proto,TO_PRIMITIVE,_dateToPrimitive);var HAS_INSTANCE=_wks("hasInstance"),FunctionProto=Function.prototype;HAS_INSTANCE in FunctionProto||_objectDp.f(FunctionProto,HAS_INSTANCE,{value:function(e){if("function"!=typeof this||!_isObject(e))return!1;if(!_isObject(this.prototype))return e instanceof this;for(;e=_objectGpo(e);)if(this.prototype===e)return!0;return!1}});var dP$1=_objectDp.f,FProto=Function.prototype,nameRE=/^\s*function ([^ (]*)/,NAME="name";NAME in FProto||_descriptors&&dP$1(FProto,NAME,{configurable:!0,get:function(){try{return(""+this).match(nameRE)[1]}catch(e){return""}}});var _redefineAll=function(e,t,n){for(var r in t)_redefine(e,r,t[r],n);return e},_anInstance=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e},_forOf=createCommonjsModule(function(e){var t={},n={},r=e.exports=function(e,r,i,o,a){var s,c,u,l,f=a?function(){return e}:core_getIteratorMethod(e),h=_ctx(i,o,r?2:1),_=0;if("function"!=typeof f)throw TypeError(e+" is not iterable!");if(_isArrayIter(f)){for(s=_toLength(e.length);s>_;_++)if((l=r?h(_anObject(c=e[_])[0],c[1]):h(e[_]))===t||l===n)return l}else for(u=f.call(e);!(c=u.next()).done;)if((l=_iterCall(u,h,c.value,r))===t||l===n)return l};r.BREAK=t,r.RETURN=n}),_meta=createCommonjsModule(function(e){var t=_uid("meta"),n=_objectDp.f,r=0,i=Object.isExtensible||function(){return!0},o=!_fails(function(){return i(Object.preventExtensions({}))}),a=function(e){n(e,t,{value:{i:"O"+ ++r,w:{}}})},s=e.exports={KEY:t,NEED:!1,fastKey:function(e,n){if(!_isObject(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!_has(e,t)){if(!i(e))return"F";if(!n)return"E";a(e)}return e[t].i},getWeak:function(e,n){if(!_has(e,t)){if(!i(e))return!0;if(!n)return!1;a(e)}return e[t].w},onFreeze:function(e){return o&&s.NEED&&i(e)&&!_has(e,t)&&a(e),e}}}),_meta_1=_meta.KEY,_meta_2=_meta.NEED,_meta_3=_meta.fastKey,_meta_4=_meta.getWeak,_meta_5=_meta.onFreeze,_validateCollection=function(e,t){if(!_isObject(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e},dP$2=_objectDp.f,fastKey=_meta.fastKey,SIZE=_descriptors?"_s":"size",getEntry=function(e,t){var n,r=fastKey(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n},_collectionStrong={getConstructor:function(e,t,n,r){var i=e(function(e,o){_anInstance(e,i,t,"_i"),e._t=t,e._i=_objectCreate(null),e._f=void 0,e._l=void 0,e[SIZE]=0,null!=o&&_forOf(o,n,e[r],e)});return _redefineAll(i.prototype,{clear:function(){for(var e=_validateCollection(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[SIZE]=0},delete:function(e){var n=_validateCollection(this,t),r=getEntry(n,e);if(r){var i=r.n,o=r.p;delete n._i[r.i],r.r=!0,o&&(o.n=i),i&&(i.p=o),n._f==r&&(n._f=i),n._l==r&&(n._l=o),n[SIZE]--}return!!r},forEach:function(e){_validateCollection(this,t);for(var n,r=_ctx(e,arguments.length>1?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(e){return!!getEntry(_validateCollection(this,t),e)}}),_descriptors&&dP$2(i.prototype,"size",{get:function(){return _validateCollection(this,t)[SIZE]}}),i},def:function(e,t,n){var r,i,o=getEntry(e,t);return o?o.v=n:(e._l=o={i:i=fastKey(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=o),r&&(r.n=o),e[SIZE]++,"F"!==i&&(e._i[i]=o)),e},getEntry:getEntry,setStrong:function(e,t,n){_iterDefine(e,t,function(e,n){this._t=_validateCollection(e,t),this._k=n,this._l=void 0},function(){for(var e=this._k,t=this._l;t&&t.r;)t=t.p;return this._t&&(this._l=t=t?t.n:this._t._f)?_iterStep(0,"keys"==e?t.k:"values"==e?t.v:[t.k,t.v]):(this._t=void 0,_iterStep(1))},n?"entries":"values",!n,!0),_setSpecies(t)}},f$1={}.propertyIsEnumerable,_objectPie={f:f$1},gOPD=Object.getOwnPropertyDescriptor,f$2=_descriptors?gOPD:function(e,t){if(e=_toIobject(e),t=_toPrimitive(t,!0),_ie8DomDefine)try{return gOPD(e,t)}catch(e){}if(_has(e,t))return _propertyDesc(!_objectPie.f.call(e,t),e[t])},_objectGopd={f:f$2},check=function(e,t){if(_anObject(e),!_isObject(t)&&null!==t)throw TypeError(t+": can't set as prototype!")},_setProto={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,n){try{(n=_ctx(Function.call,_objectGopd.f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,r){return check(e,r),t?e.__proto__=r:n(e,r),e}}({},!1):void 0),check:check},setPrototypeOf=_setProto.set,_inheritIfRequired=function(e,t,n){var r,i=t.constructor;return i!==n&&"function"==typeof i&&(r=i.prototype)!==n.prototype&&_isObject(r)&&setPrototypeOf&&setPrototypeOf(e,r),e},_collection=function(e,t,n,r,i,o){var a=_global[e],s=a,c=i?"set":"add",u=s&&s.prototype,l={},f=function(e){var t=u[e];_redefine(u,e,"delete"==e?function(e){return!(o&&!_isObject(e))&&t.call(this,0===e?0:e)}:"has"==e?function(e){return!(o&&!_isObject(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return o&&!_isObject(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof s&&(o||u.forEach&&!_fails(function(){(new s).entries().next()}))){var h=new s,_=h[c](o?{}:-0,1)!=h,p=_fails(function(){h.has(1)}),d=_iterDetect(function(e){new s(e)}),y=!o&&_fails(function(){for(var e=new s,t=5;t--;)e[c](t,t);return!e.has(-0)});d||((s=t(function(t,n){_anInstance(t,s,e);var r=_inheritIfRequired(new a,t,s);return null!=n&&_forOf(n,i,r[c],r),r})).prototype=u,u.constructor=s),(p||y)&&(f("delete"),f("has"),i&&f("get")),(y||_)&&f(c),o&&u.clear&&delete u.clear}else s=r.getConstructor(t,e,i,c),_redefineAll(s.prototype,n),_meta.NEED=!0;return _setToStringTag(s,e),l[e]=s,_export(_export.G+_export.W+_export.F*(s!=a),l),o||r.setStrong(s,e,i),s},MAP="Map",es6_map=_collection(MAP,function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{get:function(e){var t=_collectionStrong.getEntry(_validateCollection(this,MAP),e);return t&&t.v},set:function(e,t){return _collectionStrong.def(_validateCollection(this,MAP),0===e?0:e,t)}},_collectionStrong,!0),_mathLog1p=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)},sqrt=Math.sqrt,$acosh=Math.acosh;_export(_export.S+_export.F*!($acosh&&710==Math.floor($acosh(Number.MAX_VALUE))&&$acosh(1/0)==1/0),"Math",{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?Math.log(e)+Math.LN2:_mathLog1p(e-1+sqrt(e-1)*sqrt(e+1))}});var $asinh=Math.asinh;function asinh(e){return isFinite(e=+e)&&0!=e?e<0?-asinh(-e):Math.log(e+Math.sqrt(e*e+1)):e}_export(_export.S+_export.F*!($asinh&&1/$asinh(0)>0),"Math",{asinh:asinh});var $atanh=Math.atanh;_export(_export.S+_export.F*!($atanh&&1/$atanh(-0)<0),"Math",{atanh:function(e){return 0==(e=+e)?e:Math.log((1+e)/(1-e))/2}});var _mathSign=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1};_export(_export.S,"Math",{cbrt:function(e){return _mathSign(e=+e)*Math.pow(Math.abs(e),1/3)}}),_export(_export.S,"Math",{clz32:function(e){return(e>>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}});var exp=Math.exp;_export(_export.S,"Math",{cosh:function(e){return(exp(e=+e)+exp(-e))/2}});var $expm1=Math.expm1,_mathExpm1=!$expm1||$expm1(10)>22025.465794806718||$expm1(10)<22025.465794806718||-2e-17!=$expm1(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:$expm1;_export(_export.S+_export.F*(_mathExpm1!=Math.expm1),"Math",{expm1:_mathExpm1});var pow=Math.pow,EPSILON=pow(2,-52),EPSILON32=pow(2,-23),MAX32=pow(2,127)*(2-EPSILON32),MIN32=pow(2,-126),roundTiesToEven=function(e){return e+1/EPSILON-1/EPSILON},_mathFround=Math.fround||function(e){var t,n,r=Math.abs(e),i=_mathSign(e);return r<MIN32?i*roundTiesToEven(r/MIN32/EPSILON32)*MIN32*EPSILON32:(n=(t=(1+EPSILON32/EPSILON)*r)-(t-r))>MAX32||n!=n?i*(1/0):i*n};_export(_export.S,"Math",{fround:_mathFround});var abs=Math.abs;_export(_export.S,"Math",{hypot:function(e,t){for(var n,r,i=0,o=0,a=arguments.length,s=0;o<a;)s<(n=abs(arguments[o++]))?(i=i*(r=s/n)*r+1,s=n):i+=n>0?(r=n/s)*r:n;return s===1/0?1/0:s*Math.sqrt(i)}});var $imul=Math.imul;_export(_export.S+_export.F*_fails(function(){return-5!=$imul(4294967295,5)||2!=$imul.length}),"Math",{imul:function(e,t){var n=+e,r=+t,i=65535&n,o=65535&r;return 0|i*o+((65535&n>>>16)*o+i*(65535&r>>>16)<<16>>>0)}}),_export(_export.S,"Math",{log1p:_mathLog1p}),_export(_export.S,"Math",{log10:function(e){return Math.log(e)*Math.LOG10E}}),_export(_export.S,"Math",{log2:function(e){return Math.log(e)/Math.LN2}}),_export(_export.S,"Math",{sign:_mathSign});var exp$1=Math.exp;_export(_export.S+_export.F*_fails(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(e){return Math.abs(e=+e)<1?(_mathExpm1(e)-_mathExpm1(-e))/2:(exp$1(e-1)-exp$1(-e-1))*(Math.E/2)}});var exp$2=Math.exp;_export(_export.S,"Math",{tanh:function(e){var t=_mathExpm1(e=+e),n=_mathExpm1(-e);return t==1/0?1:n==1/0?-1:(t-n)/(exp$2(e)+exp$2(-e))}}),_export(_export.S,"Math",{trunc:function(e){return(e>0?Math.floor:Math.ceil)(e)}});var hiddenKeys=_enumBugKeys.concat("length","prototype"),f$3=Object.getOwnPropertyNames||function(e){return _objectKeysInternal(e,hiddenKeys)},_objectGopn={f:f$3},_stringWs="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff",space="["+_stringWs+"]",non="​…",ltrim=RegExp("^"+space+space+"*"),rtrim=RegExp(space+space+"*$"),exporter=function(e,t,n){var r={},i=_fails(function(){return!!_stringWs[e]()||non[e]()!=non}),o=r[e]=i?t(trim):_stringWs[e];n&&(r[n]=o),_export(_export.P+_export.F*i,"String",r)},trim=exporter.trim=function(e,t){return e=String(_defined(e)),1&t&&(e=e.replace(ltrim,"")),2&t&&(e=e.replace(rtrim,"")),e},_stringTrim=exporter,gOPN=_objectGopn.f,gOPD$1=_objectGopd.f,dP$3=_objectDp.f,$trim=_stringTrim.trim,NUMBER$1="Number",$Number=_global[NUMBER$1],Base=$Number,proto$1=$Number.prototype,BROKEN_COF=_cof(_objectCreate(proto$1))==NUMBER$1,TRIM="trim"in String.prototype,toNumber=function(e){var t=_toPrimitive(e,!1);if("string"==typeof t&&t.length>2){var n,r,i,o=(t=TRIM?t.trim():$trim(t,3)).charCodeAt(0);if(43===o||45===o){if(88===(n=t.charCodeAt(2))||120===n)return NaN}else if(48===o){switch(t.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+t}for(var a,s=t.slice(2),c=0,u=s.length;c<u;c++)if((a=s.charCodeAt(c))<48||a>i)return NaN;return parseInt(s,r)}}return+t};if(!$Number(" 0o1")||!$Number("0b1")||$Number("+0x1")){$Number=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof $Number&&(BROKEN_COF?_fails(function(){proto$1.valueOf.call(n)}):_cof(n)!=NUMBER$1)?_inheritIfRequired(new Base(toNumber(t)),n,$Number):toNumber(t)};for(var key,keys=_descriptors?gOPN(Base):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),j=0;keys.length>j;j++)_has(Base,key=keys[j])&&!_has($Number,key)&&dP$3($Number,key,gOPD$1(Base,key));$Number.prototype=proto$1,proto$1.constructor=$Number,_redefine(_global,NUMBER$1,$Number)}_export(_export.S,"Number",{EPSILON:Math.pow(2,-52)});var _isFinite=_global.isFinite;_export(_export.S,"Number",{isFinite:function(e){return"number"==typeof e&&_isFinite(e)}});var floor$1=Math.floor,_isInteger=function(e){return!_isObject(e)&&isFinite(e)&&floor$1(e)===e};_export(_export.S,"Number",{isInteger:_isInteger}),_export(_export.S,"Number",{isNaN:function(e){return e!=e}});var abs$1=Math.abs;_export(_export.S,"Number",{isSafeInteger:function(e){return _isInteger(e)&&abs$1(e)<=9007199254740991}}),_export(_export.S,"Number",{MAX_SAFE_INTEGER:9007199254740991}),_export(_export.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991});var $parseFloat=_global.parseFloat,$trim$1=_stringTrim.trim,_parseFloat=1/$parseFloat(_stringWs+"-0")!=-1/0?function(e){var t=$trim$1(String(e),3),n=$parseFloat(t);return 0===n&&"-"==t.charAt(0)?-0:n}:$parseFloat;_export(_export.S+_export.F*(Number.parseFloat!=_parseFloat),"Number",{parseFloat:_parseFloat});var $parseInt=_global.parseInt,$trim$2=_stringTrim.trim,hex=/^[-+]?0[xX]/,_parseInt=8!==$parseInt(_stringWs+"08")||22!==$parseInt(_stringWs+"0x16")?function(e,t){var n=$trim$2(String(e),3);return $parseInt(n,t>>>0||(hex.test(n)?16:10))}:$parseInt;_export(_export.S+_export.F*(Number.parseInt!=_parseInt),"Number",{parseInt:_parseInt});var f$4=Object.getOwnPropertySymbols,_objectGops={f:f$4},$assign=Object.assign,_objectAssign=!$assign||_fails(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=$assign({},e)[n]||Object.keys($assign({},t)).join("")!=r})?function(e,t){for(var n=_toObject(e),r=arguments.length,i=1,o=_objectGops.f,a=_objectPie.f;r>i;)for(var s,c=_iobject(arguments[i++]),u=o?_objectKeys(c).concat(o(c)):_objectKeys(c),l=u.length,f=0;l>f;)s=u[f++],_descriptors&&!a.call(c,s)||(n[s]=c[s]);return n}:$assign;_export(_export.S+_export.F,"Object",{assign:_objectAssign});var _objectForcedPam=_library||!_fails(function(){var e=Math.random();__defineSetter__.call(null,e,function(){}),delete _global[e]});_descriptors&&_export(_export.P+_objectForcedPam,"Object",{__defineGetter__:function(e,t){_objectDp.f(_toObject(this),e,{get:_aFunction(t),enumerable:!0,configurable:!0})}}),_descriptors&&_export(_export.P+_objectForcedPam,"Object",{__defineSetter__:function(e,t){_objectDp.f(_toObject(this),e,{set:_aFunction(t),enumerable:!0,configurable:!0})}});var isEnum=_objectPie.f,_objectToArray=function(e){return function(t){for(var n,r=_toIobject(t),i=_objectKeys(r),o=i.length,a=0,s=[];o>a;)n=i[a++],_descriptors&&!isEnum.call(r,n)||s.push(e?[n,r[n]]:r[n]);return s}},$entries=_objectToArray(!0);_export(_export.S,"Object",{entries:function(e){return $entries(e)}});var _objectSap=function(e,t){var n=(_core.Object||{})[e]||Object[e],r={};r[e]=t(n),_export(_export.S+_export.F*_fails(function(){n(1)}),"Object",r)},meta=_meta.onFreeze;_objectSap("freeze",function(e){return function(t){return e&&_isObject(t)?e(meta(t)):t}});var $getOwnPropertyDescriptor=_objectGopd.f;_objectSap("getOwnPropertyDescriptor",function(){return function(e,t){return $getOwnPropertyDescriptor(_toIobject(e),t)}});var Reflect$1=_global.Reflect,_ownKeys=Reflect$1&&Reflect$1.ownKeys||function(e){var t=_objectGopn.f(_anObject(e)),n=_objectGops.f;return n?t.concat(n(e)):t};_export(_export.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,r=_toIobject(e),i=_objectGopd.f,o=_ownKeys(r),a={},s=0;o.length>s;)void 0!==(n=i(r,t=o[s++]))&&_createProperty(a,t,n);return a}});var gOPN$1=_objectGopn.f,toString$1={}.toString,windowNames="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],getWindowNames=function(e){try{return gOPN$1(e)}catch(e){return windowNames.slice()}},f$5=function(e){return windowNames&&"[object Window]"==toString$1.call(e)?getWindowNames(e):gOPN$1(_toIobject(e))},_objectGopnExt={f:f$5};_objectSap("getOwnPropertyNames",function(){return _objectGopnExt.f}),_objectSap("getPrototypeOf",function(){return function(e){return _objectGpo(_toObject(e))}});var getOwnPropertyDescriptor=_objectGopd.f;_descriptors&&_export(_export.P+_objectForcedPam,"Object",{__lookupGetter__:function(e){var t,n=_toObject(this),r=_toPrimitive(e,!0);do{if(t=getOwnPropertyDescriptor(n,r))return t.get}while(n=_objectGpo(n))}});var getOwnPropertyDescriptor$1=_objectGopd.f;_descriptors&&_export(_export.P+_objectForcedPam,"Object",{__lookupSetter__:function(e){var t,n=_toObject(this),r=_toPrimitive(e,!0);do{if(t=getOwnPropertyDescriptor$1(n,r))return t.set}while(n=_objectGpo(n))}});var meta$1=_meta.onFreeze;_objectSap("preventExtensions",function(e){return function(t){return e&&_isObject(t)?e(meta$1(t)):t}});var test={};test[_wks("toStringTag")]="z",test+""!="[object z]"&&_redefine(Object.prototype,"toString",function(){return"[object "+_classof(this)+"]"},!0);var _sameValue=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};_export(_export.S,"Object",{is:_sameValue}),_objectSap("isFrozen",function(e){return function(t){return!_isObject(t)||!!e&&e(t)}}),_objectSap("isSealed",function(e){return function(t){return!_isObject(t)||!!e&&e(t)}}),_objectSap("isExtensible",function(e){return function(t){return!!_isObject(t)&&(!e||e(t))}}),_objectSap("keys",function(){return function(e){return _objectKeys(_toObject(e))}});var meta$2=_meta.onFreeze;_objectSap("seal",function(e){return function(t){return e&&_isObject(t)?e(meta$2(t)):t}});var $values=_objectToArray(!1);_export(_export.S,"Object",{values:function(e){return $values(e)}});var defer,channel,port,SPECIES$2=_wks("species"),_speciesConstructor=function(e,t){var n,r=_anObject(e).constructor;return void 0===r||null==(n=_anObject(r)[SPECIES$2])?t:_aFunction(n)},_invoke=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)},process=_global.process,setTask=_global.setImmediate,clearTask=_global.clearImmediate,MessageChannel=_global.MessageChannel,Dispatch=_global.Dispatch,counter=0,queue={},ONREADYSTATECHANGE="onreadystatechange",run=function(){var e=+this;if(queue.hasOwnProperty(e)){var t=queue[e];delete queue[e],t()}},listener=function(e){run.call(e.data)};setTask&&clearTask||(setTask=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return queue[++counter]=function(){_invoke("function"==typeof e?e:Function(e),t)},defer(counter),counter},clearTask=function(e){delete queue[e]},"process"==_cof(process)?defer=function(e){process.nextTick(_ctx(run,e,1))}:Dispatch&&Dispatch.now?defer=function(e){Dispatch.now(_ctx(run,e,1))}:MessageChannel?(port=(channel=new MessageChannel).port2,channel.port1.onmessage=listener,defer=_ctx(port.postMessage,port,1)):_global.addEventListener&&"function"==typeof postMessage&&!_global.importScripts?(defer=function(e){_global.postMessage(e+"","*")},_global.addEventListener("message",listener,!1)):defer=ONREADYSTATECHANGE in _domCreate("script")?function(e){_html.appendChild(_domCreate("script"))[ONREADYSTATECHANGE]=function(){_html.removeChild(this),run.call(e)}}:function(e){setTimeout(_ctx(run,e,1),0)});var _task={set:setTask,clear:clearTask},macrotask=_task.set,Observer=_global.MutationObserver||_global.WebKitMutationObserver,process$1=_global.process,Promise$1=_global.Promise,isNode="process"==_cof(process$1),_microtask=function(){var e,t,n,r=function(){var r,i;for(isNode&&(r=process$1.domain)&&r.exit();e;){i=e.fn,e=e.next;try{i()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(isNode)n=function(){process$1.nextTick(r)};else if(!Observer||_global.navigator&&_global.navigator.standalone)if(Promise$1&&Promise$1.resolve){var i=Promise$1.resolve(void 0);n=function(){i.then(r)}}else n=function(){macrotask.call(_global,r)};else{var o=!0,a=document.createTextNode("");new Observer(r).observe(a,{characterData:!0}),n=function(){a.data=o=!o}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}};function PromiseCapability(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=_aFunction(t),this.reject=_aFunction(n)}var Internal,newGenericPromiseCapability,OwnPromiseCapability,Wrapper,f$6=function(e){return new PromiseCapability(e)},_newPromiseCapability={f:f$6},_perform=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}},navigator$1=_global.navigator,_userAgent=navigator$1&&navigator$1.userAgent||"",_promiseResolve=function(e,t){if(_anObject(e),_isObject(t)&&t.constructor===e)return t;var n=_newPromiseCapability.f(e);return(0,n.resolve)(t),n.promise},task=_task.set,microtask=_microtask(),PROMISE="Promise",TypeError$1=_global.TypeError,process$2=_global.process,versions=process$2&&process$2.versions,v8=versions&&versions.v8||"",$Promise=_global[PROMISE],isNode$1="process"==_classof(process$2),empty=function(){},newPromiseCapability=newGenericPromiseCapability=_newPromiseCapability.f,USE_NATIVE=!!function(){try{var e=$Promise.resolve(1),t=(e.constructor={})[_wks("species")]=function(e){e(empty,empty)};return(isNode$1||"function"==typeof PromiseRejectionEvent)&&e.then(empty)instanceof t&&0!==v8.indexOf("6.6")&&-1===_userAgent.indexOf("Chrome/66")}catch(e){}}(),isThenable=function(e){var t;return!(!_isObject(e)||"function"!=typeof(t=e.then))&&t},notify=function(e,t){if(!e._n){e._n=!0;var n=e._c;microtask(function(){for(var r=e._v,i=1==e._s,o=0,a=function(t){var n,o,a,s=i?t.ok:t.fail,c=t.resolve,u=t.reject,l=t.domain;try{s?(i||(2==e._h&&onHandleUnhandled(e),e._h=1),!0===s?n=r:(l&&l.enter(),n=s(r),l&&(l.exit(),a=!0)),n===t.promise?u(TypeError$1("Promise-chain cycle")):(o=isThenable(n))?o.call(n,c,u):c(n)):u(r)}catch(e){l&&!a&&l.exit(),u(e)}};n.length>o;)a(n[o++]);e._c=[],e._n=!1,t&&!e._h&&onUnhandled(e)})}},onUnhandled=function(e){task.call(_global,function(){var t,n,r,i=e._v,o=isUnhandled(e);if(o&&(t=_perform(function(){isNode$1?process$2.emit("unhandledRejection",i,e):(n=_global.onunhandledrejection)?n({promise:e,reason:i}):(r=_global.console)&&r.error&&r.error("Unhandled promise rejection",i)}),e._h=isNode$1||isUnhandled(e)?2:1),e._a=void 0,o&&t.e)throw t.v})},isUnhandled=function(e){return 1!==e._h&&0===(e._a||e._c).length},onHandleUnhandled=function(e){task.call(_global,function(){var t;isNode$1?process$2.emit("rejectionHandled",e):(t=_global.onrejectionhandled)&&t({promise:e,reason:e._v})})},$reject=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),notify(t,!0))},$resolve=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw TypeError$1("Promise can't be resolved itself");(t=isThenable(e))?microtask(function(){var r={_w:n,_d:!1};try{t.call(e,_ctx($resolve,r,1),_ctx($reject,r,1))}catch(e){$reject.call(r,e)}}):(n._v=e,n._s=1,notify(n,!1))}catch(e){$reject.call({_w:n,_d:!1},e)}}};USE_NATIVE||($Promise=function(e){_anInstance(this,$Promise,PROMISE,"_h"),_aFunction(e),Internal.call(this);try{e(_ctx($resolve,this,1),_ctx($reject,this,1))}catch(e){$reject.call(this,e)}},(Internal=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=_redefineAll($Promise.prototype,{then:function(e,t){var n=newPromiseCapability(_speciesConstructor(this,$Promise));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=isNode$1?process$2.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&notify(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),OwnPromiseCapability=function(){var e=new Internal;this.promise=e,this.resolve=_ctx($resolve,e,1),this.reject=_ctx($reject,e,1)},_newPromiseCapability.f=newPromiseCapability=function(e){return e===$Promise||e===Wrapper?new OwnPromiseCapability(e):newGenericPromiseCapability(e)}),_export(_export.G+_export.W+_export.F*!USE_NATIVE,{Promise:$Promise}),_setToStringTag($Promise,PROMISE),_setSpecies(PROMISE),Wrapper=_core[PROMISE],_export(_export.S+_export.F*!USE_NATIVE,PROMISE,{reject:function(e){var t=newPromiseCapability(this);return(0,t.reject)(e),t.promise}}),_export(_export.S+_export.F*(_library||!USE_NATIVE),PROMISE,{resolve:function(e){return _promiseResolve(_library&&this===Wrapper?$Promise:this,e)}}),_export(_export.S+_export.F*!(USE_NATIVE&&_iterDetect(function(e){$Promise.all(e).catch(empty)})),PROMISE,{all:function(e){var t=this,n=newPromiseCapability(t),r=n.resolve,i=n.reject,o=_perform(function(){var n=[],o=0,a=1;_forOf(e,!1,function(e){var s=o++,c=!1;n.push(void 0),a++,t.resolve(e).then(function(e){c||(c=!0,n[s]=e,--a||r(n))},i)}),--a||r(n)});return o.e&&i(o.v),n.promise},race:function(e){var t=this,n=newPromiseCapability(t),r=n.reject,i=_perform(function(){_forOf(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}}),_export(_export.P+_export.R,"Promise",{finally:function(e){var t=_speciesConstructor(this,_core.Promise||_global.Promise),n="function"==typeof e;return this.then(n?function(n){return _promiseResolve(t,e()).then(function(){return n})}:e,n?function(n){return _promiseResolve(t,e()).then(function(){throw n})}:e)}});var rApply=(_global.Reflect||{}).apply,fApply=Function.apply;_export(_export.S+_export.F*!_fails(function(){rApply(function(){})}),"Reflect",{apply:function(e,t,n){var r=_aFunction(e),i=_anObject(n);return rApply?rApply(r,t,i):fApply.call(r,t,i)}});var arraySlice=[].slice,factories={},construct=function(e,t,n){if(!(t in factories)){for(var r=[],i=0;i<t;i++)r[i]="a["+i+"]";factories[t]=Function("F,a","return new F("+r.join(",")+")")}return factories[t](e,n)},_bind=Function.bind||function(e){var t=_aFunction(this),n=arraySlice.call(arguments,1),r=function(){var i=n.concat(arraySlice.call(arguments));return this instanceof r?construct(t,i.length,i):_invoke(t,i,e)};return _isObject(t.prototype)&&(r.prototype=t.prototype),r},rConstruct=(_global.Reflect||{}).construct,NEW_TARGET_BUG=_fails(function(){function e(){}return!(rConstruct(function(){},[],e)instanceof e)}),ARGS_BUG=!_fails(function(){rConstruct(function(){})});_export(_export.S+_export.F*(NEW_TARGET_BUG||ARGS_BUG),"Reflect",{construct:function(e,t){_aFunction(e),_anObject(t);var n=arguments.length<3?e:_aFunction(arguments[2]);if(ARGS_BUG&&!NEW_TARGET_BUG)return rConstruct(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(_bind.apply(e,r))}var i=n.prototype,o=_objectCreate(_isObject(i)?i:Object.prototype),a=Function.apply.call(e,o,t);return _isObject(a)?a:o}}),_export(_export.S+_export.F*_fails(function(){Reflect.defineProperty(_objectDp.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(e,t,n){_anObject(e),t=_toPrimitive(t,!0),_anObject(n);try{return _objectDp.f(e,t,n),!0}catch(e){return!1}}});var gOPD$2=_objectGopd.f;function get(e,t){var n,r,i=arguments.length<3?e:arguments[2];return _anObject(e)===i?e[t]:(n=_objectGopd.f(e,t))?_has(n,"value")?n.value:void 0!==n.get?n.get.call(i):void 0:_isObject(r=_objectGpo(e))?get(r,t,i):void 0}_export(_export.S,"Reflect",{deleteProperty:function(e,t){var n=gOPD$2(_anObject(e),t);return!(n&&!n.configurable)&&delete e[t]}}),_export(_export.S,"Reflect",{get:get}),_export(_export.S,"Reflect",{getOwnPropertyDescriptor:function(e,t){return _objectGopd.f(_anObject(e),t)}}),_export(_export.S,"Reflect",{getPrototypeOf:function(e){return _objectGpo(_anObject(e))}}),_export(_export.S,"Reflect",{has:function(e,t){return t in e}});var $isExtensible=Object.isExtensible;_export(_export.S,"Reflect",{isExtensible:function(e){return _anObject(e),!$isExtensible||$isExtensible(e)}}),_export(_export.S,"Reflect",{ownKeys:_ownKeys});var $preventExtensions=Object.preventExtensions;function set(e,t,n){var r,i,o=arguments.length<4?e:arguments[3],a=_objectGopd.f(_anObject(e),t);if(!a){if(_isObject(i=_objectGpo(e)))return set(i,t,n,o);a=_propertyDesc(0)}if(_has(a,"value")){if(!1===a.writable||!_isObject(o))return!1;if(r=_objectGopd.f(o,t)){if(r.get||r.set||!1===r.writable)return!1;r.value=n,_objectDp.f(o,t,r)}else _objectDp.f(o,t,_propertyDesc(0,n));return!0}return void 0!==a.set&&(a.set.call(o,n),!0)}_export(_export.S,"Reflect",{preventExtensions:function(e){_anObject(e);try{return $preventExtensions&&$preventExtensions(e),!0}catch(e){return!1}}}),_export(_export.S,"Reflect",{set:set}),_setProto&&_export(_export.S,"Reflect",{setPrototypeOf:function(e,t){_setProto.check(e,t);try{return _setProto.set(e,t),!0}catch(e){return!1}}});var MATCH=_wks("match"),_isRegexp=function(e){var t;return _isObject(e)&&(void 0!==(t=e[MATCH])?!!t:"RegExp"==_cof(e))},_flags=function(){var e=_anObject(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},dP$4=_objectDp.f,gOPN$2=_objectGopn.f,$RegExp=_global.RegExp,Base$1=$RegExp,proto$2=$RegExp.prototype,re1=/a/g,re2=/a/g,CORRECT_NEW=new $RegExp(re1)!==re1;if(_descriptors&&(!CORRECT_NEW||_fails(function(){return re2[_wks("match")]=!1,$RegExp(re1)!=re1||$RegExp(re2)==re2||"/a/i"!=$RegExp(re1,"i")}))){$RegExp=function(e,t){var n=this instanceof $RegExp,r=_isRegexp(e),i=void 0===t;return!n&&r&&e.constructor===$RegExp&&i?e:_inheritIfRequired(CORRECT_NEW?new Base$1(r&&!i?e.source:e,t):Base$1((r=e instanceof $RegExp)?e.source:e,r&&i?_flags.call(e):t),n?this:proto$2,$RegExp)};for(var proxy=function(e){e in $RegExp||dP$4($RegExp,e,{configurable:!0,get:function(){return Base$1[e]},set:function(t){Base$1[e]=t}})},keys$1=gOPN$2(Base$1),i=0;keys$1.length>i;)proxy(keys$1[i++]);proto$2.constructor=$RegExp,$RegExp.prototype=proto$2,_redefine(_global,"RegExp",$RegExp)}_setSpecies("RegExp"),_descriptors&&"g"!=/./g.flags&&_objectDp.f(RegExp.prototype,"flags",{configurable:!0,get:_flags});var _stringAt=function(e){return function(t,n){var r,i,o=String(_defined(t)),a=_toInteger(n),s=o.length;return a<0||a>=s?e?"":void 0:(r=o.charCodeAt(a))<55296||r>56319||a+1===s||(i=o.charCodeAt(a+1))<56320||i>57343?e?o.charAt(a):r:e?o.slice(a,a+2):i-56320+(r-55296<<10)+65536}},at=_stringAt(!0),_advanceStringIndex=function(e,t,n){return t+(n?at(e,t).length:1)},builtinExec=RegExp.prototype.exec,_regexpExecAbstract=function(e,t){var n=e.exec;if("function"==typeof n){var r=n.call(e,t);if("object"!=typeof r)throw new TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==_classof(e))throw new TypeError("RegExp#exec called on incompatible receiver");return builtinExec.call(e,t)},nativeExec=RegExp.prototype.exec,nativeReplace=String.prototype.replace,patchedExec=nativeExec,LAST_INDEX="lastIndex",UPDATES_LAST_INDEX_WRONG=function(){var e=/a/,t=/b*/g;return nativeExec.call(e,"a"),nativeExec.call(t,"a"),0!==e[LAST_INDEX]||0!==t[LAST_INDEX]}(),NPCG_INCLUDED=void 0!==/()??/.exec("")[1],PATCH=UPDATES_LAST_INDEX_WRONG||NPCG_INCLUDED;PATCH&&(patchedExec=function(e){var t,n,r,i,o=this;return NPCG_INCLUDED&&(n=new RegExp("^"+o.source+"$(?!\\s)",_flags.call(o))),UPDATES_LAST_INDEX_WRONG&&(t=o[LAST_INDEX]),r=nativeExec.call(o,e),UPDATES_LAST_INDEX_WRONG&&r&&(o[LAST_INDEX]=o.global?r.index+r[0].length:t),NPCG_INCLUDED&&r&&r.length>1&&nativeReplace.call(r[0],n,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)}),r});var _regexpExec=patchedExec;_export({target:"RegExp",proto:!0,forced:_regexpExec!==/./.exec},{exec:_regexpExec});var SPECIES$3=_wks("species"),REPLACE_SUPPORTS_NAMED_GROUPS=!_fails(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}),SPLIT_WORKS_WITH_OVERWRITTEN_EXEC=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}(),_fixReWks=function(e,t,n){var r=_wks(e),i=!_fails(function(){var t={};return t[r]=function(){return 7},7!=""[e](t)}),o=i?!_fails(function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[SPECIES$3]=function(){return n}),n[r](""),!t}):void 0;if(!i||!o||"replace"===e&&!REPLACE_SUPPORTS_NAMED_GROUPS||"split"===e&&!SPLIT_WORKS_WITH_OVERWRITTEN_EXEC){var a=/./[r],s=n(_defined,r,""[e],function(e,t,n,r,o){return t.exec===_regexpExec?i&&!o?{done:!0,value:a.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),c=s[0],u=s[1];_redefine(String.prototype,e,c),_hide(RegExp.prototype,r,2==t?function(e,t){return u.call(e,this,t)}:function(e){return u.call(e,this)})}};_fixReWks("match",1,function(e,t,n,r){return[function(n){var r=e(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=r(n,e,this);if(t.done)return t.value;var i=_anObject(e),o=String(this);if(!i.global)return _regexpExecAbstract(i,o);var a=i.unicode;i.lastIndex=0;for(var s,c=[],u=0;null!==(s=_regexpExecAbstract(i,o));){var l=String(s[0]);c[u]=l,""===l&&(i.lastIndex=_advanceStringIndex(o,_toLength(i.lastIndex),a)),u++}return 0===u?null:c}]});var max$1=Math.max,min$2=Math.min,floor$2=Math.floor,SUBSTITUTION_SYMBOLS=/\$([$&`']|\d\d?|<[^>]*>)/g,SUBSTITUTION_SYMBOLS_NO_NAMED=/\$([$&`']|\d\d?)/g,maybeToString=function(e){return void 0===e?e:String(e)};_fixReWks("replace",2,function(e,t,n,r){return[function(r,i){var o=e(this),a=null==r?void 0:r[t];return void 0!==a?a.call(r,o,i):n.call(String(o),r,i)},function(e,t){var o=r(n,e,this,t);if(o.done)return o.value;var a=_anObject(e),s=String(this),c="function"==typeof t;c||(t=String(t));var u=a.global;if(u){var l=a.unicode;a.lastIndex=0}for(var f=[];;){var h=_regexpExecAbstract(a,s);if(null===h)break;if(f.push(h),!u)break;""===String(h[0])&&(a.lastIndex=_advanceStringIndex(s,_toLength(a.lastIndex),l))}for(var _="",p=0,d=0;d<f.length;d++){h=f[d];for(var y=String(h[0]),g=max$1(min$2(_toInteger(h.index),s.length),0),v=[],m=1;m<h.length;m++)v.push(maybeToString(h[m]));var b=h.groups;if(c){var S=[y].concat(v,g,s);void 0!==b&&S.push(b);var E=String(t.apply(void 0,S))}else E=i(y,s,g,v,b,t);g>=p&&(_+=s.slice(p,g)+E,p=g+y.length)}return _+s.slice(p)}];function i(e,t,r,i,o,a){var s=r+e.length,c=i.length,u=SUBSTITUTION_SYMBOLS_NO_NAMED;return void 0!==o&&(o=_toObject(o),u=SUBSTITUTION_SYMBOLS),n.call(a,u,function(n,a){var u;switch(a.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(s);case"<":u=o[a.slice(1,-1)];break;default:var l=+a;if(0===l)return n;if(l>c){var f=floor$2(l/10);return 0===f?n:f<=c?void 0===i[f-1]?a.charAt(1):i[f-1]+a.charAt(1):n}u=i[l-1]}return void 0===u?"":u})}});var $min=Math.min,$push=[].push,$SPLIT="split",LENGTH="length",LAST_INDEX$1="lastIndex",MAX_UINT32=4294967295,SUPPORTS_Y=!_fails(function(){});_fixReWks("split",2,function(e,t,n,r){var i;return i="c"=="abbc"[$SPLIT](/(b)*/)[1]||4!="test"[$SPLIT](/(?:)/,-1)[LENGTH]||2!="ab"[$SPLIT](/(?:ab)*/)[LENGTH]||4!="."[$SPLIT](/(.?)(.?)/)[LENGTH]||"."[$SPLIT](/()()/)[LENGTH]>1||""[$SPLIT](/.?/)[LENGTH]?function(e,t){var r=String(this);if(void 0===e&&0===t)return[];if(!_isRegexp(e))return n.call(r,e,t);for(var i,o,a,s=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),u=0,l=void 0===t?MAX_UINT32:t>>>0,f=new RegExp(e.source,c+"g");(i=_regexpExec.call(f,r))&&!((o=f[LAST_INDEX$1])>u&&(s.push(r.slice(u,i.index)),i[LENGTH]>1&&i.index<r[LENGTH]&&$push.apply(s,i.slice(1)),a=i[0][LENGTH],u=o,s[LENGTH]>=l));)f[LAST_INDEX$1]===i.index&&f[LAST_INDEX$1]++;return u===r[LENGTH]?!a&&f.test("")||s.push(""):s.push(r.slice(u)),s[LENGTH]>l?s.slice(0,l):s}:"0"[$SPLIT](void 0,0)[LENGTH]?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n,[function(n,r){var o=e(this),a=null==n?void 0:n[t];return void 0!==a?a.call(n,o,r):i.call(String(o),n,r)},function(e,t){var o=r(i,e,this,t,i!==n);if(o.done)return o.value;var a=_anObject(e),s=String(this),c=_speciesConstructor(a,RegExp),u=a.unicode,l=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(SUPPORTS_Y?"y":"g"),f=new c(SUPPORTS_Y?a:"^(?:"+a.source+")",l),h=void 0===t?MAX_UINT32:t>>>0;if(0===h)return[];if(0===s.length)return null===_regexpExecAbstract(f,s)?[s]:[];for(var _=0,p=0,d=[];p<s.length;){f.lastIndex=SUPPORTS_Y?p:0;var y,g=_regexpExecAbstract(f,SUPPORTS_Y?s:s.slice(p));if(null===g||(y=$min(_toLength(f.lastIndex+(SUPPORTS_Y?0:p)),s.length))===_)p=_advanceStringIndex(s,p,u);else{if(d.push(s.slice(_,p)),d.length===h)return d;for(var v=1;v<=g.length-1;v++)if(d.push(g[v]),d.length===h)return d;p=_=y}}return d.push(s.slice(_)),d}]}),_fixReWks("search",1,function(e,t,n,r){return[function(n){var r=e(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=r(n,e,this);if(t.done)return t.value;var i=_anObject(e),o=String(this),a=i.lastIndex;_sameValue(a,0)||(i.lastIndex=0);var s=_regexpExecAbstract(i,o);return _sameValue(i.lastIndex,a)||(i.lastIndex=a),null===s?-1:s.index}]