UNPKG

@stand/event

Version:
1 lines 60 kB
!function(t,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r():"function"==typeof define&&define.amd?define(r):(t=t||self).StandEvent=r()}(this,(function(){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function r(t,r){return t(r={exports:{}},r.exports),r.exports}var e=function(t){return t&&t.Math==Math&&t},n=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof t&&t)||Function("return this")(),o=function(t){try{return!!t()}catch(t){return!0}},i=!o((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),a={}.propertyIsEnumerable,u=Object.getOwnPropertyDescriptor,c={f:u&&!a.call({1:2},1)?function(t){var r=u(this,t);return!!r&&r.enumerable}:a},f=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}},s={}.toString,l=function(t){return s.call(t).slice(8,-1)},v="".split,p=o((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==l(t)?v.call(t,""):Object(t)}:Object,h=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},y=function(t){return p(h(t))},d=function(t){return"object"==typeof t?null!==t:"function"==typeof t},g=function(t,r){if(!d(t))return t;var e,n;if(r&&"function"==typeof(e=t.toString)&&!d(n=e.call(t)))return n;if("function"==typeof(e=t.valueOf)&&!d(n=e.call(t)))return n;if(!r&&"function"==typeof(e=t.toString)&&!d(n=e.call(t)))return n;throw TypeError("Can't convert object to primitive value")},b={}.hasOwnProperty,m=function(t,r){return b.call(t,r)},w=n.document,j=d(w)&&d(w.createElement),_=function(t){return j?w.createElement(t):{}},O=!i&&!o((function(){return 7!=Object.defineProperty(_("div"),"a",{get:function(){return 7}}).a})),x=Object.getOwnPropertyDescriptor,S={f:i?x:function(t,r){if(t=y(t),r=g(r,!0),O)try{return x(t,r)}catch(t){}if(m(t,r))return f(!c.f.call(t,r),t[r])}},A=/#|\.prototype\./,E=function(t,r){var e=k[P(t)];return e==T||e!=L&&("function"==typeof r?o(r):!!r)},P=E.normalize=function(t){return String(t).replace(A,".").toLowerCase()},k=E.data={},L=E.NATIVE="N",T=E.POLYFILL="P",I=E,M={},C=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},G=function(t,r,e){if(C(t),void 0===r)return t;switch(e){case 0:return function(){return t.call(r)};case 1:return function(e){return t.call(r,e)};case 2:return function(e,n){return t.call(r,e,n)};case 3:return function(e,n,o){return t.call(r,e,n,o)}}return function(){return t.apply(r,arguments)}},F=function(t){if(!d(t))throw TypeError(String(t)+" is not an object");return t},N=Object.defineProperty,z={f:i?N:function(t,r,e){if(F(t),r=g(r,!0),F(e),O)try{return N(t,r,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported");return"value"in e&&(t[r]=e.value),t}},D=i?function(t,r,e){return z.f(t,r,f(1,e))}:function(t,r,e){return t[r]=e,t},R=S.f,B=function(t){var r=function(r,e,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,e)}return new t(r,e,n)}return t.apply(this,arguments)};return r.prototype=t.prototype,r},V=function(t,r){var e,o,i,a,u,c,f,s,l=t.target,v=t.global,p=t.stat,h=t.proto,y=v?n:p?n[l]:(n[l]||{}).prototype,d=v?M:M[l]||(M[l]={}),g=d.prototype;for(i in r)e=!I(v?i:l+(p?".":"#")+i,t.forced)&&y&&m(y,i),u=d[i],e&&(c=t.noTargetGet?(s=R(y,i))&&s.value:y[i]),a=e&&c?c:r[i],e&&typeof u==typeof a||(f=t.bind&&e?G(a,n):t.wrap&&e?B(a):h&&"function"==typeof a?G(Function.call,a):a,(t.sham||a&&a.sham||u&&u.sham)&&D(f,"sham",!0),d[i]=f,h&&(m(M,o=l+"Prototype")||D(M,o,{}),M[o][i]=a,t.real&&g&&!g[i]&&D(g,i,a)))};V({target:"Object",stat:!0,forced:!i,sham:!i},{defineProperty:z.f});var $=r((function(t){var r=M.Object,e=t.exports=function(t,e,n){return r.defineProperty(t,e,n)};r.defineProperty.sham&&(e.sham=!0)})),U=$,W=Math.ceil,q=Math.floor,H=function(t){return isNaN(t=+t)?0:(t>0?q:W)(t)},Y=Math.min,J=function(t){return t>0?Y(H(t),9007199254740991):0},K=Math.max,Q=Math.min,X=function(t){return function(r,e,n){var o,i=y(r),a=J(i.length),u=function(t,r){var e=H(t);return e<0?K(e+r,0):Q(e,r)}(n,a);if(t&&e!=e){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===e)return t||u||0;return!t&&-1}},Z={includes:X(!0),indexOf:X(!1)},tt={},rt=Z.indexOf,et=function(t,r){var e,n=y(t),o=0,i=[];for(e in n)!m(tt,e)&&m(n,e)&&i.push(e);for(;r.length>o;)m(n,e=r[o++])&&(~rt(i,e)||i.push(e));return i},nt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ot=Object.keys||function(t){return et(t,nt)},it=i?Object.defineProperties:function(t,r){F(t);for(var e,n=ot(r),o=n.length,i=0;o>i;)z.f(t,e=n[i++],r[e]);return t};V({target:"Object",stat:!0,forced:!i,sham:!i},{defineProperties:it});var at=r((function(t){var r=M.Object,e=t.exports=function(t,e){return r.defineProperties(t,e)};r.defineProperties.sham&&(e.sham=!0)})),ut=function(t){return"function"==typeof t?t:void 0},ct=function(t,r){return arguments.length<2?ut(M[t])||ut(n[t]):M[t]&&M[t][r]||n[t]&&n[t][r]},ft=nt.concat("length","prototype"),st={f:Object.getOwnPropertyNames||function(t){return et(t,ft)}},lt={f:Object.getOwnPropertySymbols},vt=ct("Reflect","ownKeys")||function(t){var r=st.f(F(t)),e=lt.f;return e?r.concat(e(t)):r},pt=function(t,r,e){var n=g(r);n in t?z.f(t,n,f(0,e)):t[n]=e};V({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(t){for(var r,e,n=y(t),o=S.f,i=vt(n),a={},u=0;i.length>u;)void 0!==(e=o(n,r=i[u++]))&&pt(a,r,e);return a}});var ht=M.Object.getOwnPropertyDescriptors,yt=S.f,dt=o((function(){yt(1)}));V({target:"Object",stat:!0,forced:!i||dt,sham:!i},{getOwnPropertyDescriptor:function(t,r){return yt(y(t),r)}});var gt=r((function(t){var r=M.Object,e=t.exports=function(t,e){return r.getOwnPropertyDescriptor(t,e)};r.getOwnPropertyDescriptor.sham&&(e.sham=!0)})),bt=function(t){return Object(h(t))},mt=Array.isArray||function(t){return"Array"==l(t)},wt=n["__core-js_shared__"]||function(t,r){try{D(n,t,r)}catch(e){n[t]=r}return r}("__core-js_shared__",{}),jt=r((function(t){(t.exports=function(t,r){return wt[t]||(wt[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.3.2",mode:"pure",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})})),_t=0,Ot=Math.random(),xt=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++_t+Ot).toString(36)},St=!!Object.getOwnPropertySymbols&&!o((function(){return!String(Symbol())})),At=n.Symbol,Et=jt("wks"),Pt=function(t){return Et[t]||(Et[t]=St&&At[t]||(St?At:xt)("Symbol."+t))},kt=Pt("species"),Lt=function(t,r){var e;return mt(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!mt(e.prototype)?d(e)&&null===(e=e[kt])&&(e=void 0):e=void 0),new(void 0===e?Array:e)(0===r?0:r)},Tt=[].push,It=function(t){var r=1==t,e=2==t,n=3==t,o=4==t,i=6==t,a=5==t||i;return function(u,c,f,s){for(var l,v,h=bt(u),y=p(h),d=G(c,f,3),g=J(y.length),b=0,m=s||Lt,w=r?m(u,g):e?m(u,0):void 0;g>b;b++)if((a||b in y)&&(v=d(l=y[b],b,h),t))if(r)w[b]=v;else if(v)switch(t){case 3:return!0;case 5:return l;case 6:return b;case 2:Tt.call(w,l)}else if(o)return!1;return i?-1:n||o?o:w}},Mt={forEach:It(0),map:It(1),filter:It(2),some:It(3),every:It(4),find:It(5),findIndex:It(6)},Ct=Pt("species"),Gt=function(t){return!o((function(){var r=[];return(r.constructor={})[Ct]=function(){return{foo:1}},1!==r[t](Boolean).foo}))},Ft=Mt.filter;V({target:"Array",proto:!0,forced:!Gt("filter")},{filter:function(t){return Ft(this,t,arguments.length>1?arguments[1]:void 0)}});var Nt=function(t){return M[t+"Prototype"]},zt=Nt("Array").filter,Dt=Array.prototype,Rt=function(t){var r=t.filter;return t===Dt||t instanceof Array&&r===Dt.filter?zt:r},Bt=$;var Vt=function(t,r,e){return r in t?Bt(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t},$t="\t\n\v\f\r                 \u2028\u2029\ufeff",Ut="["+$t+"]",Wt=RegExp("^"+Ut+Ut+"*"),qt=RegExp(Ut+Ut+"*$"),Ht=function(t){return function(r){var e=String(h(r));return 1&t&&(e=e.replace(Wt,"")),2&t&&(e=e.replace(qt,"")),e}},Yt={start:Ht(1),end:Ht(2),trim:Ht(3)}.trim,Jt=n.parseInt,Kt=/^[+-]?0[Xx]/,Qt=8!==Jt($t+"08")||22!==Jt($t+"0x16")?function(t,r){var e=Yt(String(t));return Jt(e,r>>>0||(Kt.test(e)?16:10))}:Jt;V({global:!0,forced:parseInt!=Qt},{parseInt:Qt});var Xt,Zt,tr,rr=M.parseInt,er=r((function(t){var r=function(t){var r,e=Object.prototype,n=e.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(t,r,e,n){var o=r&&r.prototype instanceof y?r:y,i=Object.create(o.prototype),a=new E(n||[]);return i._invoke=function(t,r,e){var n=s;return function(o,i){if(n===v)throw new Error("Generator is already running");if(n===p){if("throw"===o)throw i;return k()}for(e.method=o,e.arg=i;;){var a=e.delegate;if(a){var u=x(a,e);if(u){if(u===h)continue;return u}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(n===s)throw n=p,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);n=v;var c=f(t,r,e);if("normal"===c.type){if(n=e.done?p:l,c.arg===h)continue;return{value:c.arg,done:e.done}}"throw"===c.type&&(n=p,e.method="throw",e.arg=c.arg)}}}(t,e,a),i}function f(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var s="suspendedStart",l="suspendedYield",v="executing",p="completed",h={};function y(){}function d(){}function g(){}var b={};b[i]=function(){return this};var m=Object.getPrototypeOf,w=m&&m(m(P([])));w&&w!==e&&n.call(w,i)&&(b=w);var j=g.prototype=y.prototype=Object.create(b);function _(t){["next","throw","return"].forEach((function(r){t[r]=function(t){return this._invoke(r,t)}}))}function O(t){var r;this._invoke=function(e,o){function i(){return new Promise((function(r,i){!function r(e,o,i,a){var u=f(t[e],t,o);if("throw"!==u.type){var c=u.arg,s=c.value;return s&&"object"==typeof s&&n.call(s,"__await")?Promise.resolve(s.__await).then((function(t){r("next",t,i,a)}),(function(t){r("throw",t,i,a)})):Promise.resolve(s).then((function(t){c.value=t,i(c)}),(function(t){return r("throw",t,i,a)}))}a(u.arg)}(e,o,r,i)}))}return r=r?r.then(i,i):i()}}function x(t,e){var n=t.iterator[e.method];if(n===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=r,x(t,e),"throw"===e.method))return h;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var o=f(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,h;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=r),e.delegate=null,h):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function S(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function A(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function e(){for(;++o<t.length;)if(n.call(t,o))return e.value=t[o],e.done=!1,e;return e.value=r,e.done=!0,e};return a.next=a}}return{next:k}}function k(){return{value:r,done:!0}}return d.prototype=j.constructor=g,g.constructor=d,g[u]=d.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===d||"GeneratorFunction"===(r.displayName||r.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,u in t||(t[u]="GeneratorFunction")),t.prototype=Object.create(j),t},t.awrap=function(t){return{__await:t}},_(O.prototype),O.prototype[a]=function(){return this},t.AsyncIterator=O,t.async=function(r,e,n,o){var i=new O(c(r,e,n,o));return t.isGeneratorFunction(e)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},_(j),j[u]="Generator",j[i]=function(){return this},j.toString=function(){return"[object Generator]"},t.keys=function(t){var r=[];for(var e in t)r.push(e);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=P,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(A),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function o(n,o){return u.type="throw",u.arg=t,e.next=n,o&&(e.method="next",e.arg=r),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),f=n.call(a,"finallyLoc");if(c&&f){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!f)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,r){for(var e=this.tryEntries.length-1;e>=0;--e){var o=this.tryEntries[e];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=r&&r<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=r,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(a)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),h},finish:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),A(e),h}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;A(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:P(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),h}},t}(t.exports);try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}})),nr=function(t){return function(r,e){var n,o,i=String(h(r)),a=H(e),u=i.length;return a<0||a>=u?t?"":void 0:(n=i.charCodeAt(a))<55296||n>56319||a+1===u||(o=i.charCodeAt(a+1))<56320||o>57343?t?i.charAt(a):n:t?i.slice(a,a+2):o-56320+(n-55296<<10)+65536}},or={codeAt:nr(!1),charAt:nr(!0)},ir=jt("native-function-to-string",Function.toString),ar=n.WeakMap,ur="function"==typeof ar&&/native code/.test(ir.call(ar)),cr=jt("keys"),fr=function(t){return cr[t]||(cr[t]=xt(t))},sr=n.WeakMap;if(ur){var lr=new sr,vr=lr.get,pr=lr.has,hr=lr.set;Xt=function(t,r){return hr.call(lr,t,r),r},Zt=function(t){return vr.call(lr,t)||{}},tr=function(t){return pr.call(lr,t)}}else{var yr=fr("state");tt[yr]=!0,Xt=function(t,r){return D(t,yr,r),r},Zt=function(t){return m(t,yr)?t[yr]:{}},tr=function(t){return m(t,yr)}}var dr,gr,br,mr={set:Xt,get:Zt,has:tr,enforce:function(t){return tr(t)?Zt(t):Xt(t,{})},getterFor:function(t){return function(r){var e;if(!d(r)||(e=Zt(r)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return e}}},wr=!o((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),jr=fr("IE_PROTO"),_r=Object.prototype,Or=wr?Object.getPrototypeOf:function(t){return t=bt(t),m(t,jr)?t[jr]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?_r:null},xr=(Pt("iterator"),!1);[].keys&&("next"in(br=[].keys())?(gr=Or(Or(br)))!==Object.prototype&&(dr=gr):xr=!0),null==dr&&(dr={});var Sr={IteratorPrototype:dr,BUGGY_SAFARI_ITERATORS:xr},Ar=ct("document","documentElement"),Er=fr("IE_PROTO"),Pr=function(){},kr=function(){var t,r=_("iframe"),e=nt.length;for(r.style.display="none",Ar.appendChild(r),r.src=String("javascript:"),(t=r.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),kr=t.F;e--;)delete kr.prototype[nt[e]];return kr()},Lr=Object.create||function(t,r){var e;return null!==t?(Pr.prototype=F(t),e=new Pr,Pr.prototype=null,e[Er]=t):e=kr(),void 0===r?e:it(e,r)};tt[Er]=!0;var Tr=Pt("toStringTag"),Ir="Arguments"==l(function(){return arguments}()),Mr=function(t){var r,e,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,r){try{return t[r]}catch(t){}}(r=Object(t),Tr))?e:Ir?l(r):"Object"==(n=l(r))&&"function"==typeof r.callee?"Arguments":n},Cr={};Cr[Pt("toStringTag")]="z";var Gr="[object z]"!==String(Cr)?function(){return"[object "+Mr(this)+"]"}:Cr.toString,Fr=z.f,Nr=Pt("toStringTag"),zr=Gr!=={}.toString,Dr=function(t,r,e,n){if(t){var o=e?t:t.prototype;m(o,Nr)||Fr(o,Nr,{configurable:!0,value:r}),n&&zr&&D(o,"toString",Gr)}},Rr={},Br=Sr.IteratorPrototype,Vr=function(){return this},$r=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,e={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(e,[]),r=e instanceof Array}catch(t){}return function(e,n){return F(e),function(t){if(!d(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(n),r?t.call(e,n):e.__proto__=n,e}}():void 0),Ur=function(t,r,e,n){n&&n.enumerable?t[r]=e:D(t,r,e)},Wr=Sr.IteratorPrototype,qr=Sr.BUGGY_SAFARI_ITERATORS,Hr=Pt("iterator"),Yr=function(){return this},Jr=function(t,r,e,n,o,i,a){!function(t,r,e){var n=r+" Iterator";t.prototype=Lr(Br,{next:f(1,e)}),Dr(t,n,!1,!0),Rr[n]=Vr}(e,r,n);var u,c,s,l=function(t){if(t===o&&d)return d;if(!qr&&t in h)return h[t];switch(t){case"keys":case"values":case"entries":return function(){return new e(this,t)}}return function(){return new e(this)}},v=r+" Iterator",p=!1,h=t.prototype,y=h[Hr]||h["@@iterator"]||o&&h[o],d=!qr&&y||l(o),g="Array"==r&&h.entries||y;if(g&&(u=Or(g.call(new t)),Wr!==Object.prototype&&u.next&&(Dr(u,v,!0,!0),Rr[v]=Yr)),"values"==o&&y&&"values"!==y.name&&(p=!0,d=function(){return y.call(this)}),a&&h[Hr]!==d&&D(h,Hr,d),Rr[r]=d,o)if(c={values:l("values"),keys:i?d:l("keys"),entries:l("entries")},a)for(s in c)!qr&&!p&&s in h||Ur(h,s,c[s]);else V({target:r,proto:!0,forced:qr||p},c);return c},Kr=or.charAt,Qr=mr.set,Xr=mr.getterFor("String Iterator");Jr(String,"String",(function(t){Qr(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,r=Xr(this),e=r.string,n=r.index;return n>=e.length?{value:void 0,done:!0}:(t=Kr(e,n),r.index+=t.length,{value:t,done:!1})}));var Zr=mr.set,te=mr.getterFor("Array Iterator");Jr(Array,"Array",(function(t,r){Zr(this,{type:"Array Iterator",target:y(t),index:0,kind:r})}),(function(){var t=te(this),r=t.target,e=t.kind,n=t.index++;return!r||n>=r.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==e?{value:n,done:!1}:"values"==e?{value:r[n],done:!1}:{value:[n,r[n]],done:!1}}),"values");Rr.Arguments=Rr.Array;var re=Pt("toStringTag");for(var ee in{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}){var ne=n[ee],oe=ne&&ne.prototype;oe&&!oe[re]&&D(oe,re,ee),Rr[ee]=Rr.Array}var ie=n.Promise,ae=Pt("species"),ue=Pt("iterator"),ce=Array.prototype,fe=Pt("iterator"),se=function(t){if(null!=t)return t[fe]||t["@@iterator"]||Rr[Mr(t)]},le=function(t,r,e,n){try{return n?r(F(e)[0],e[1]):r(e)}catch(r){var o=t.return;throw void 0!==o&&F(o.call(t)),r}},ve=r((function(t){var r=function(t,r){this.stopped=t,this.result=r};(t.exports=function(t,e,n,o,i){var a,u,c,f,s,l,v,p,h=G(e,n,o?2:1);if(i)a=t;else{if("function"!=typeof(u=se(t)))throw TypeError("Target is not iterable");if(void 0!==(p=u)&&(Rr.Array===p||ce[ue]===p)){for(c=0,f=J(t.length);f>c;c++)if((s=o?h(F(v=t[c])[0],v[1]):h(t[c]))&&s instanceof r)return s;return new r(!1)}a=u.call(t)}for(l=a.next;!(v=l.call(a)).done;)if("object"==typeof(s=le(a,h,v.value,o))&&s&&s instanceof r)return s;return new r(!1)}).stop=function(t){return new r(!0,t)}})),pe=Pt("iterator"),he=!1;try{var ye=0,de={next:function(){return{done:!!ye++}},return:function(){he=!0}};de[pe]=function(){return this},Array.from(de,(function(){throw 2}))}catch(t){}var ge,be,me,we=Pt("species"),je=function(t,r){var e,n=F(t).constructor;return void 0===n||null==(e=F(n)[we])?r:C(e)},_e=ct("navigator","userAgent")||"",Oe=n.location,xe=n.setImmediate,Se=n.clearImmediate,Ae=n.process,Ee=n.MessageChannel,Pe=n.Dispatch,ke=0,Le={},Te=function(t){if(Le.hasOwnProperty(t)){var r=Le[t];delete Le[t],r()}},Ie=function(t){return function(){Te(t)}},Me=function(t){Te(t.data)},Ce=function(t){n.postMessage(t+"",Oe.protocol+"//"+Oe.host)};xe&&Se||(xe=function(t){for(var r=[],e=1;arguments.length>e;)r.push(arguments[e++]);return Le[++ke]=function(){("function"==typeof t?t:Function(t)).apply(void 0,r)},ge(ke),ke},Se=function(t){delete Le[t]},"process"==l(Ae)?ge=function(t){Ae.nextTick(Ie(t))}:Pe&&Pe.now?ge=function(t){Pe.now(Ie(t))}:Ee&&!/(iphone|ipod|ipad).*applewebkit/i.test(_e)?(me=(be=new Ee).port2,be.port1.onmessage=Me,ge=G(me.postMessage,me,1)):!n.addEventListener||"function"!=typeof postMessage||n.importScripts||o(Ce)?ge="onreadystatechange"in _("script")?function(t){Ar.appendChild(_("script")).onreadystatechange=function(){Ar.removeChild(this),Te(t)}}:function(t){setTimeout(Ie(t),0)}:(ge=Ce,n.addEventListener("message",Me,!1)));var Ge,Fe,Ne,ze,De,Re,Be,Ve,$e={set:xe,clear:Se},Ue=S.f,We=$e.set,qe=n.MutationObserver||n.WebKitMutationObserver,He=n.process,Ye=n.Promise,Je="process"==l(He),Ke=Ue(n,"queueMicrotask"),Qe=Ke&&Ke.value;Qe||(Ge=function(){var t,r;for(Je&&(t=He.domain)&&t.exit();Fe;){r=Fe.fn,Fe=Fe.next;try{r()}catch(t){throw Fe?ze():Ne=void 0,t}}Ne=void 0,t&&t.enter()},Je?ze=function(){He.nextTick(Ge)}:qe&&!/(iphone|ipod|ipad).*applewebkit/i.test(_e)?(De=!0,Re=document.createTextNode(""),new qe(Ge).observe(Re,{characterData:!0}),ze=function(){Re.data=De=!De}):Ye&&Ye.resolve?(Be=Ye.resolve(void 0),Ve=Be.then,ze=function(){Ve.call(Be,Ge)}):ze=function(){We.call(n,Ge)});var Xe,Ze,tn,rn=Qe||function(t){var r={fn:t,next:void 0};Ne&&(Ne.next=r),Fe||(Fe=r,ze()),Ne=r},en=function(t){var r,e;this.promise=new t((function(t,n){if(void 0!==r||void 0!==e)throw TypeError("Bad Promise constructor");r=t,e=n})),this.resolve=C(r),this.reject=C(e)},nn={f:function(t){return new en(t)}},on=function(t,r){if(F(t),d(r)&&r.constructor===t)return r;var e=nn.f(t);return(0,e.resolve)(r),e.promise},an=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},un=$e.set,cn=Pt("species"),fn="Promise",sn=mr.get,ln=mr.set,vn=mr.getterFor(fn),pn=ie,hn=n.TypeError,yn=n.document,dn=n.process,gn=(n.fetch,dn&&dn.versions),bn=gn&&gn.v8||"",mn=nn.f,wn=mn,jn="process"==l(dn),_n=!!(yn&&yn.createEvent&&n.dispatchEvent),On=I(fn,(function(){var t=pn.resolve(1),r=function(){},e=(t.constructor={})[cn]=function(t){t(r,r)};return!((jn||"function"==typeof PromiseRejectionEvent)&&t.finally&&t.then(r)instanceof e&&0!==bn.indexOf("6.6")&&-1===_e.indexOf("Chrome/66"))})),xn=On||!function(t,r){if(!r&&!he)return!1;var e=!1;try{var n={};n[pe]=function(){return{next:function(){return{done:e=!0}}}},t(n)}catch(t){}return e}((function(t){pn.all(t).catch((function(){}))})),Sn=function(t){var r;return!(!d(t)||"function"!=typeof(r=t.then))&&r},An=function(t,r,e){if(!r.notified){r.notified=!0;var n=r.reactions;rn((function(){for(var o=r.value,i=1==r.state,a=0;n.length>a;){var u,c,f,s=n[a++],l=i?s.ok:s.fail,v=s.resolve,p=s.reject,h=s.domain;try{l?(i||(2===r.rejection&&Ln(t,r),r.rejection=1),!0===l?u=o:(h&&h.enter(),u=l(o),h&&(h.exit(),f=!0)),u===s.promise?p(hn("Promise-chain cycle")):(c=Sn(u))?c.call(u,v,p):v(u)):p(o)}catch(t){h&&!f&&h.exit(),p(t)}}r.reactions=[],r.notified=!1,e&&!r.rejection&&Pn(t,r)}))}},En=function(t,r,e){var o,i;_n?((o=yn.createEvent("Event")).promise=r,o.reason=e,o.initEvent(t,!1,!0),n.dispatchEvent(o)):o={promise:r,reason:e},(i=n["on"+t])?i(o):"unhandledrejection"===t&&function(t,r){var e=n.console;e&&e.error&&(1===arguments.length?e.error(t):e.error(t,r))}("Unhandled promise rejection",e)},Pn=function(t,r){un.call(n,(function(){var e,n=r.value;if(kn(r)&&(e=an((function(){jn?dn.emit("unhandledRejection",n,t):En("unhandledrejection",t,n)})),r.rejection=jn||kn(r)?2:1,e.error))throw e.value}))},kn=function(t){return 1!==t.rejection&&!t.parent},Ln=function(t,r){un.call(n,(function(){jn?dn.emit("rejectionHandled",t):En("rejectionhandled",t,r.value)}))},Tn=function(t,r,e,n){return function(o){t(r,e,o,n)}},In=function(t,r,e,n){r.done||(r.done=!0,n&&(r=n),r.value=e,r.state=2,An(t,r,!0))},Mn=function(t,r,e,n){if(!r.done){r.done=!0,n&&(r=n);try{if(t===e)throw hn("Promise can't be resolved itself");var o=Sn(e);o?rn((function(){var n={done:!1};try{o.call(e,Tn(Mn,t,n,r),Tn(In,t,n,r))}catch(e){In(t,n,e,r)}})):(r.value=e,r.state=1,An(t,r,!1))}catch(e){In(t,{done:!1},e,r)}}};On&&(pn=function(t){!function(t,r,e){if(!(t instanceof r))throw TypeError("Incorrect "+(e?e+" ":"")+"invocation")}(this,pn,fn),C(t),Xe.call(this);var r=sn(this);try{t(Tn(Mn,this,r),Tn(In,this,r))}catch(t){In(this,r,t)}},(Xe=function(t){ln(this,{type:fn,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=function(t,r,e){for(var n in r)e&&e.unsafe&&t[n]?t[n]=r[n]:Ur(t,n,r[n],e);return t}(pn.prototype,{then:function(t,r){var e=vn(this),n=mn(je(this,pn));return n.ok="function"!=typeof t||t,n.fail="function"==typeof r&&r,n.domain=jn?dn.domain:void 0,e.parent=!0,e.reactions.push(n),0!=e.state&&An(this,e,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),Ze=function(){var t=new Xe,r=sn(t);this.promise=t,this.resolve=Tn(Mn,t,r),this.reject=Tn(In,t,r)},nn.f=mn=function(t){return t===pn||t===tn?new Ze(t):wn(t)}),V({global:!0,wrap:!0,forced:On},{Promise:pn}),Dr(pn,fn,!1,!0),function(t){var r=ct(t),e=z.f;i&&r&&!r[ae]&&e(r,ae,{configurable:!0,get:function(){return this}})}(fn),tn=M.Promise,V({target:fn,stat:!0,forced:On},{reject:function(t){var r=mn(this);return r.reject.call(void 0,t),r.promise}}),V({target:fn,stat:!0,forced:!0},{resolve:function(t){return on(this===tn?pn:this,t)}}),V({target:fn,stat:!0,forced:xn},{all:function(t){var r=this,e=mn(r),n=e.resolve,o=e.reject,i=an((function(){var e=C(r.resolve),i=[],a=0,u=1;ve(t,(function(t){var c=a++,f=!1;i.push(void 0),u++,e.call(r,t).then((function(t){f||(f=!0,i[c]=t,--u||n(i))}),o)})),--u||n(i)}));return i.error&&o(i.value),e.promise},race:function(t){var r=this,e=mn(r),n=e.reject,o=an((function(){var o=C(r.resolve);ve(t,(function(t){o.call(r,t).then(e.resolve,n)}))}));return o.error&&n(o.value),e.promise}}),V({target:"Promise",stat:!0},{allSettled:function(t){var r=this,e=nn.f(r),n=e.resolve,o=e.reject,i=an((function(){var e=C(r.resolve),o=[],i=0,a=1;ve(t,(function(t){var u=i++,c=!1;o.push(void 0),a++,e.call(r,t).then((function(t){c||(c=!0,o[u]={status:"fulfilled",value:t},--a||n(o))}),(function(t){c||(c=!0,o[u]={status:"rejected",reason:t},--a||n(o))}))})),--a||n(o)}));return i.error&&o(i.value),e.promise}}),V({target:"Promise",proto:!0,real:!0},{finally:function(t){var r=je(this,ct("Promise")),e="function"==typeof t;return this.then(e?function(e){return on(r,t()).then((function(){return e}))}:t,e?function(e){return on(r,t()).then((function(){throw e}))}:t)}});var Cn=M.Promise,Gn=mr.set,Fn=mr.getterFor("AggregateError"),Nn=function(t,r){var e=this;if(!(e instanceof Nn))return new Nn(t,r);$r&&(e=$r(new Error(r),Or(e)));var n=[];return ve(t,n.push,n),i?Gn(e,{errors:n,type:"AggregateError"}):e.errors=n,void 0!==r&&D(e,"message",String(r)),e};Nn.prototype=Lr(Error.prototype,{constructor:f(5,Nn),message:f(5,""),name:f(5,"AggregateError"),toString:f(5,(function(){var t=F(this).name;t=void 0===t?"AggregateError":String(t);var r=this.message;return t+": "+(r=void 0===r?"":String(r))}))}),i&&z.f(Nn.prototype,"errors",{get:function(){return Fn(this).errors},configurable:!0}),V({global:!0},{AggregateError:Nn}),V({target:"Promise",stat:!0},{try:function(t){var r=nn.f(this),e=an(t);return(e.error?r.reject:r.resolve)(e.value),r.promise}});V({target:"Promise",stat:!0},{any:function(t){var r=this,e=nn.f(r),n=e.resolve,o=e.reject,i=an((function(){var e=C(r.resolve),i=[],a=0,u=1,c=!1;ve(t,(function(t){var f=a++,s=!1;i.push(void 0),u++,e.call(r,t).then((function(t){s||c||(c=!0,n(t))}),(function(t){s||c||(s=!0,i[f]=t,--u||o(new(ct("AggregateError"))(i,"No one promise resolved")))}))})),--u||o(new(ct("AggregateError"))(i,"No one promise resolved"))}));return i.error&&o(i.value),e.promise}});var zn=Cn;function Dn(t,r,e,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void e(t)}u.done?r(c):zn.resolve(c).then(n,o)}var Rn=function(t){return function(){var r=this,e=arguments;return new zn((function(n,o){var i=t.apply(r,e);function a(t){Dn(i,n,o,a,u,"next",t)}function u(t){Dn(i,n,o,a,u,"throw",t)}a(void 0)}))}};V({target:"Array",stat:!0},{isArray:mt});var Bn=M.Array.isArray,Vn=Bn;var $n=function(t){if(Vn(t))return t},Un=function(t){var r=se(t);if("function"!=typeof r)throw TypeError(String(t)+" is not iterable");return F(r.call(t))},Wn=Pt("iterator"),qn=function(t){var r=Object(t);return void 0!==r[Wn]||"@@iterator"in r||Rr.hasOwnProperty(Mr(r))};var Hn=function(t,r){if(qn(Object(t))||"[object Arguments]"===Object.prototype.toString.call(t)){var e=[],n=!0,o=!1,i=void 0;try{for(var a,u=Un(t);!(n=(a=u.next()).done)&&(e.push(a.value),!r||e.length!==r);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==u.return||u.return()}finally{if(o)throw i}}return e}};var Yn=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")};var Jn=function(t,r){return $n(t)||Hn(t,r)||Yn()},Kn=Bn,Qn=st.f,Xn={}.toString,Zn="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],to={f:function(t){return Zn&&"[object Window]"==Xn.call(t)?function(t){try{return Qn(t)}catch(t){return Zn.slice()}}(t):Qn(y(t))}},ro={f:Pt},eo=z.f,no=function(t){var r=M.Symbol||(M.Symbol={});m(r,t)||eo(r,t,{value:ro.f(t)})},oo=Mt.forEach,io=fr("hidden"),ao=Pt("toPrimitive"),uo=mr.set,co=mr.getterFor("Symbol"),fo=Object.prototype,so=n.Symbol,lo=n.JSON,vo=lo&&lo.stringify,po=S.f,ho=z.f,yo=to.f,go=c.f,bo=jt("symbols"),mo=jt("op-symbols"),wo=jt("string-to-symbol-registry"),jo=jt("symbol-to-string-registry"),_o=jt("wks"),Oo=n.QObject,xo=!Oo||!Oo.prototype||!Oo.prototype.findChild,So=i&&o((function(){return 7!=Lr(ho({},"a",{get:function(){return ho(this,"a",{value:7}).a}})).a}))?function(t,r,e){var n=po(fo,r);n&&delete fo[r],ho(t,r,e),n&&t!==fo&&ho(fo,r,n)}:ho,Ao=function(t,r){var e=bo[t]=Lr(so.prototype);return uo(e,{type:"Symbol",tag:t,description:r}),i||(e.description=r),e},Eo=St&&"symbol"==typeof so.iterator?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof so},Po=function(t,r,e){t===fo&&Po(mo,r,e),F(t);var n=g(r,!0);return F(e),m(bo,n)?(e.enumerable?(m(t,io)&&t[io][n]&&(t[io][n]=!1),e=Lr(e,{enumerable:f(0,!1)})):(m(t,io)||ho(t,io,f(1,{})),t[io][n]=!0),So(t,n,e)):ho(t,n,e)},ko=function(t,r){F(t);var e=y(r),n=ot(e).concat(Mo(e));return oo(n,(function(r){i&&!Lo.call(e,r)||Po(t,r,e[r])})),t},Lo=function(t){var r=g(t,!0),e=go.call(this,r);return!(this===fo&&m(bo,r)&&!m(mo,r))&&(!(e||!m(this,r)||!m(bo,r)||m(this,io)&&this[io][r])||e)},To=function(t,r){var e=y(t),n=g(r,!0);if(e!==fo||!m(bo,n)||m(mo,n)){var o=po(e,n);return!o||!m(bo,n)||m(e,io)&&e[io][n]||(o.enumerable=!0),o}},Io=function(t){var r=yo(y(t)),e=[];return oo(r,(function(t){m(bo,t)||m(tt,t)||e.push(t)})),e},Mo=function(t){var r=t===fo,e=yo(r?mo:y(t)),n=[];return oo(e,(function(t){!m(bo,t)||r&&!m(fo,t)||n.push(bo[t])})),n};St||(Ur((so=function(){if(this instanceof so)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,r=xt(t),e=function(t){this===fo&&e.call(mo,t),m(this,io)&&m(this[io],r)&&(this[io][r]=!1),So(this,r,f(1,t))};return i&&xo&&So(fo,r,{configurable:!0,set:e}),Ao(r,t)}).prototype,"toString",(function(){return co(this).tag})),c.f=Lo,z.f=Po,S.f=To,st.f=to.f=Io,lt.f=Mo,i&&ho(so.prototype,"description",{configurable:!0,get:function(){return co(this).description}}),ro.f=function(t){return Ao(Pt(t),t)}),V({global:!0,wrap:!0,forced:!St,sham:!St},{Symbol:so}),oo(ot(_o),(function(t){no(t)})),V({target:"Symbol",stat:!0,forced:!St},{for:function(t){var r=String(t);if(m(wo,r))return wo[r];var e=so(r);return wo[r]=e,jo[e]=r,e},keyFor:function(t){if(!Eo(t))throw TypeError(t+" is not a symbol");if(m(jo,t))return jo[t]},useSetter:function(){xo=!0},useSimple:function(){xo=!1}}),V({target:"Object",stat:!0,forced:!St,sham:!i},{create:function(t,r){return void 0===r?Lr(t):ko(Lr(t),r)},defineProperty:Po,defineProperties:ko,getOwnPropertyDescriptor:To}),V({target:"Object",stat:!0,forced:!St},{getOwnPropertyNames:Io,getOwnPropertySymbols:Mo}),V({target:"Object",stat:!0,forced:o((function(){lt.f(1)}))},{getOwnPropertySymbols:function(t){return lt.f(bt(t))}}),lo&&V({target:"JSON",stat:!0,forced:!St||o((function(){var t=so();return"[null]"!=vo([t])||"{}"!=vo({a:t})||"{}"!=vo(Object(t))}))},{stringify:function(t){for(var r,e,n=[t],o=1;arguments.length>o;)n.push(arguments[o++]);if(e=r=n[1],(d(r)||void 0!==t)&&!Eo(t))return mt(r)||(r=function(t,r){if("function"==typeof e&&(r=e.call(this,t,r)),!Eo(r))return r}),n[1]=r,vo.apply(lo,n)}}),so.prototype[ao]||D(so.prototype,ao,so.prototype.valueOf),Dr(so,"Symbol"),tt[io]=!0;var Co=M.Object.getOwnPropertySymbols,Go=Co,Fo=o((function(){ot(1)}));V({target:"Object",stat:!0,forced:Fo},{keys:function(t){return ot(bt(t))}});var No=M.Object.keys,zo=No,Do=Pt("isConcatSpreadable"),Ro=!o((function(){var t=[];return t[Do]=!1,t.concat()[0]!==t})),Bo=Gt("concat"),Vo=function(t){if(!d(t))return!1;var r=t[Do];return void 0!==r?!!r:mt(t)};V({target:"Array",proto:!0,forced:!Ro||!Bo},{concat:function(t){var r,e,n,o,i,a=bt(this),u=Lt(a,0),c=0;for(r=-1,n=arguments.length;r<n;r++)if(i=-1===r?a:arguments[r],Vo(i)){if(c+(o=J(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(e=0;e<o;e++,c++)e in i&&pt(u,c,i[e])}else{if(c>=9007199254740991)throw TypeError("Maximum allowed index exceeded");pt(u,c++,i)}return u.length=c,u}});var $o=Nt("Array").concat,Uo=Array.prototype,Wo=function(t){var r=t.concat;return t===Uo||t instanceof Array&&r===Uo.concat?$o:r},qo=function(t,r){var e=[][t];return!e||!o((function(){e.call(null,r||function(){throw 1},1)}))},Ho=Mt.forEach,Yo=qo("forEach")?function(t){return Ho(this,t,arguments.length>1?arguments[1]:void 0)}:[].forEach;V({target:"Array",proto:!0,forced:[].forEach!=Yo},{forEach:Yo});var Jo=Nt("Array").forEach,Ko=Array.prototype,Qo={DOMTokenList:!0,NodeList:!0},Xo=function(t){var r=t.forEach;return t===Ko||t instanceof Array&&r===Ko.forEach||Qo.hasOwnProperty(Mr(t))?Jo:r};var Zo=function(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")};function ti(t,r){for(var e=0;e<r.length;e++){var n=r[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Bt(t,n.key,n)}}var ri=function(t,r,e){return r&&ti(t.prototype,r),e&&ti(t,e),t};no("asyncIterator"),no("hasInstance"),no("isConcatSpreadable"),no("iterator"),no("match"),no("matchAll"),no("replace"),no("search"),no("species"),no("split"),no("toPrimitive"),no("toStringTag"),no("unscopables"),Dr(Math,"Math",!0),Dr(n.JSON,"JSON",!0);var ei=M.Symbol,ni=Z.indexOf,oi=[].indexOf,ii=!!oi&&1/[1].indexOf(1,-0)<0,ai=qo("indexOf");V({target:"Array",proto:!0,forced:ii||ai},{indexOf:function(t){return ii?oi.apply(this,arguments)||0:ni(this,t,arguments.length>1?arguments[1]:void 0)}});var ui=Nt("Array").indexOf,ci=Array.prototype,fi=function(t){var r=t.indexOf;return t===ci||t instanceof Array&&r===ci.indexOf?ui:r},si=Co,li=No;var vi=function(t,r){if(null==t)return{};var e,n,o={},i=li(t);for(n=0;n<i.length;n++)e=i[n],fi(r).call(r,e)>=0||(o[e]=t[e]);return o};var pi=function(t,r){if(null==t)return{};var e,n,o=vi(t,r);if(si){var i=si(t);for(n=0;n<i.length;n++)e=i[n],fi(r).call(r,e)>=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o};var hi=function(t,r){for(var e=-1,n=r.length,o=t.length;++e<n;)t[o+e]=r[e];return t},yi="object"==typeof t&&t&&t.Object===Object&&t,di="object"==typeof self&&self&&self.Object===Object&&self,gi=yi||di||Function("return this")(),bi=gi.Symbol,mi=Object.prototype,wi=mi.hasOwnProperty,ji=mi.toString,_i=bi?bi.toStringTag:void 0;var Oi=function(t){var r=wi.call(t,_i),e=t[_i];try{t[_i]=void 0;var n=!0}catch(t){}var o=ji.call(t);return n&&(r?t[_i]=e:delete t[_i]),o},xi=Object.prototype.toString;var Si=function(t){return xi.call(t)},Ai="[object Null]",Ei="[object Undefined]",Pi=bi?bi.toStringTag:void 0;var ki=function(t){return null==t?void 0===t?Ei:Ai:Pi&&Pi in Object(t)?Oi(t):Si(t)};var Li=function(t){return null!=t&&"object"==typeof t},Ti="[object Arguments]";var Ii=function(t){return Li(t)&&ki(t)==Ti},Mi=Object.prototype,Ci=Mi.hasOwnProperty,Gi=Mi.propertyIsEnumerable,Fi=Ii(function(){return arguments}())?Ii:function(t){return Li(t)&&Ci.call(t,"callee")&&!Gi.call(t,"callee")},Ni=Array.isArray,zi=bi?bi.isConcatSpreadable:void 0;var Di=function(t){return Ni(t)||Fi(t)||!!(zi&&t&&t[zi])};var Ri=function t(r,e,n,o,i){var a=-1,u=r.length;for(n||(n=Di),i||(i=[]);++a<u;){var c=r[a];e>0&&n(c)?e>1?t(c,e-1,n,o,i):hi(i,c):o||(i[i.length]=c)}return i};var Bi=function(t,r){for(var e=-1,n=null==t?0:t.length,o=Array(n);++e<n;)o[e]=r(t[e],e,t);return o};var Vi=function(){this.__data__=[],this.size=0};var $i=function(t,r){return t===r||t!=t&&r!=r};var Ui=function(t,r){for(var e=t.length;e--;)if($i(t[e][0],r))return e;return-1},Wi=Array.prototype.splice;var qi=function(t){var r=this.__data__,e=Ui(r,t);return!(e<0)&&(e==r.length-1?r.pop():Wi.call(r,e,1),--this.size,!0)};var Hi=function(t){var r=this.__data__,e=Ui(r,t);return e<0?void 0:r[e][1]};var Yi=function(t){return Ui(this.__data__,t)>-1};var Ji=function(t,r){var e=this.__data__,n=Ui(e,t);return n<0?(++this.size,e.push([t,r])):e[n][1]=r,this};function Ki(t){var r=-1,e=null==t?0:t.length;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}Ki.prototype.clear=Vi,Ki.prototype.delete=qi,Ki.prototype.get=Hi,Ki.prototype.has=Yi,Ki.prototype.set=Ji;var Qi=Ki;var Xi=function(){this.__data__=new Qi,this.size=0};var Zi=function(t){var r=this.__data__,e=r.delete(t);return this.size=r.size,e};var ta=function(t){return this.__data__.get(t)};var ra=function(t){return this.__data__.has(t)};var ea=function(t){var r=typeof t;return null!=t&&("object"==r||"function"==r)},na="[object AsyncFunction]",oa="[object Function]",ia="[object GeneratorFunction]",aa="[object Proxy]";var ua=function(t){if(!ea(t))return!1;var r=ki(t);return r==oa||r==ia||r==na||r==aa},ca=gi["__core-js_shared__"],fa=function(){var t=/[^.]+$/.exec(ca&&ca.keys&&ca.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();var sa=function(t){return!!fa&&fa in t},la=Function.prototype.toString;var va=function(t){if(null!=t){try{return la.call(t)}catch(t){}try{return t+""}catch(t){}}return""},pa=/^\[object .+?Constructor\]$/,ha=Function.prototype,ya=Object.prototype,da=ha.toString,ga=ya.hasOwnProperty,ba=RegExp("^"+da.call(ga).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var ma=function(t){return!(!ea(t)||sa(t))&&(ua(t)?ba:pa).test(va(t))};var wa=function(t,r){return null==t?void 0:t[r]};var ja=function(t,r){var e=wa(t,r);return ma(e)?e:void 0},_a=ja(gi,"Map"),Oa=ja(Object,"create");var xa=function(){this.__data__=Oa?Oa(null):{},this.size=0};var Sa=function(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r},Aa="__lodash_hash_undefined__",Ea=Object.prototype.hasOwnProperty;var Pa=function(t){var r=this.__data__;if(Oa){var e=r[t];return e===Aa?void 0:e}return Ea.call(r,t)?r[t]:void 0},ka=Object.prototype.hasOwnProperty;var La=function(t){var r=this.__data__;return Oa?void 0!==r[t]:ka.call(r,t)},Ta="__lodash_hash_undefined__";var Ia=function(t,r){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=Oa&&void 0===r?Ta:r,this};function Ma(t){var r=-1,e=null==t?0:t.length;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}Ma.prototype.clear=xa,Ma.prototype.delete=Sa,Ma.prototype.get=Pa,Ma.prototype.has=La,Ma.prototype.set=Ia;var Ca=Ma;var Ga=function(){this.size=0,this.__data__={hash:new Ca,map:new(_a||Qi),string:new Ca}};var Fa=function(t){var r=typeof t;return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t};var Na=function(t,r){var e=t.__data__;return Fa(r)?e["string"==typeof r?"string":"hash"]:e.map};var za=function(t){var r=Na(this,t).delete(t);return this.size-=r?1:0,r};var Da=function(t){return Na(this,t).get(t)};var Ra=function(t){return Na(this,t).has(t)};var Ba=function(t,r){var e=Na(this,t),n=e.size;return e.set(t,r),this.size+=e.size==n?0:1,this};function Va(t){var r=-1,e=null==t?0:t.length;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}Va.prototype.clear=Ga,Va.prototype.delete=za,Va.prototype.get=Da,Va.prototype.has=Ra,Va.prototype.set=Ba;var $a=Va,Ua=200;var Wa=function(t,r){var e=this.__data__;if(e instanceof Qi){var n=e.__data__;if(!_a||n.length<Ua-1)return n.push([t,r]),this.size=++e.size,this;e=this.__data__=new $a(n)}return e.set(t,r),this.size=e.size,this};function qa(t){var r=this.__data__=new Qi(t);this.size=r.size}qa.prototype.clear=Xi,qa.prototype.delete=Zi,qa.prototype.get=ta,qa.prototype.has=ra,qa.prototype.set=Wa;var Ha=qa,Ya="__lodash_hash_undefined__";var Ja=function(t){return this.__data__.set(t,Ya),this};var Ka=function(t){return this.__data__.has(t)};function Qa(t){var r=-1,e=null==t?0:t.length;for(this.__data__=new $a;++r<e;)this.add(t[r])}Qa.prototype.add=Qa.prototype.push=Ja,Qa.prototype.has=Ka;var Xa=Qa;var Za=function(t,r){for(var e=-1,n=null==t?0:t.length;++e<n;)if(r(t[e],e,t))return!0;return!1};var tu=function(t,r){return t.has(r)},ru=1,eu=2;var nu=function(t,r,e,n,o,i){var a=e&ru,u=t.length,c=r.length;if(u!=c&&!(a&&c>u))return!1;var f=i.get(t);if(f&&i.get(r))return f==r;var s=-1,l=!0,v=e&eu?new Xa:void 0;for(i.set(t,r),i.set(r,t);++s<u;){var p=t[s],h=r[s];if(n)var y=a?n(h,p,s,r,t,i):n(p,h,s,t,r,i);if(void 0!==y){if(y)continue;l=!1;break}if(v){if(!Za(r,(function(t,r){if(!tu(v,r)&&(p===t||o(p,t,e,n,i)))return v.push(r)}))){l=!1;break}}else if(p!==h&&!o(p,h,e,n,i)){l=!1;break}}return i.delete(t),i.delete(r),l},ou=gi.Uint8Array;var iu=function(t){var r=-1,e=Array(t.size);return t.forEach((function(t,n){e[++r]=[n,t]})),e};var au=function(t){var r=-1,e=Array(t.size);return t.forEach((function(t){e[++r]=t})),e},uu=1,cu=2,fu="[object Boolean]",su="[object Date]",lu="[object Error]",vu="[object Map]",pu="[object Number]",hu="[object RegExp]",yu="[object Set]",du="[object String]",gu="[object Symbol]",bu="[object ArrayBuffer]",mu="[object DataView]",wu=bi?bi.prototype:void 0,ju=wu?wu.valueOf:void 0;var _u=function(t,r,e,n,o,i,a){switch(e){case mu:if(t.byteLength!=r.byteLength||t.byteOffset!=r.byteOffset)return!1;t=t.buffer,r=r.buffer;case bu:return!(t.byteLength!=r.byteLength||!i(new ou(t),new ou(r)));case fu:case su:case pu:return $i(+t,+r);case lu:return t.name==r.name&&t.message==r.message;case hu:case du:return t==r+"";case vu:var u=iu;case yu:var c=n&uu;if(u||(u=au),t.size!=r.size&&!c)return!1;var f=a.get(t);if(f)return f==r;n|=cu,a.set(t,r);var s=nu(u(t),u(r),n,o,i,a);return a.delete(t),s;case gu:if(ju)return ju.call(t)==ju.call(r)}return!1};var Ou=function(t,r,e){var n=r(t);return Ni(t)?n:hi(n,e(t))};var xu=function(t,r){for(var e=-1,n=null==t?0:t.length,o=0,i=[];++e<n;){var a=t[e];r(a,e,t)&&(i[o++]=a)}return i};var Su=function(){return[]},Au=Object.prototype.propertyIsEnumerable,Eu=Object.getOwnPropertySymbols,Pu=Eu?function(t){return null==t?[]:(t=Object(t),xu(Eu(t),(function(r){return Au.call(t,r)})))}:Su;var ku=function(t,r){for(var e=-1,n=Array(t);++e<t;)n[e]=r(e);return n};var Lu=function(){return!1},Tu=r((function(t,r){var e=r&&!r.nodeType&&r,n=e&&t&&!t.nodeType&&t,o=n&&n.exports===e?gi.Buffer:void 0,i=(o?o.isBuffer:void 0)||Lu;t.exports=i})),Iu=9007199254740991,Mu=/^(?:0|[1-9]\d*)$/;var Cu=function(t,r){var e=typeof t;return!!(r=null==r?Iu:r)&&("number"==e||"symbol"!=e&&Mu.test(t))&&t>-1&&t%1==0&&t<r},Gu=9007199254740991;var Fu=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Gu},Nu={};Nu["[object Float32Array]"]=Nu["[object Float64Array]"]=Nu["[object Int8Array]"]=Nu["[object Int16Array]"]=Nu["[object Int32Array]"]=Nu["[object Uint8Array]"]=Nu["[object Uint8ClampedArray]"]=Nu["[object Uint16Array]"]=Nu["[object Uint32Array]"]=!0,Nu["[object Arguments]"]=Nu["[object Array]"]=Nu["[object ArrayBuffer]"]=Nu["[object Boolean]"]=Nu["[object DataView]"]=Nu["[object Date]"]=Nu["[object Error]"]=Nu["[object Function]"]=Nu["[object Map]"]=Nu["[object Number]"]=Nu["[object Object]"]=Nu["[object RegExp]"]=Nu["[object Set]"]=Nu["[object String]"]=Nu["[object WeakMap]"]=!1;var zu=function(t){return Li(t)&&Fu(t.length)&&!!Nu[ki(t)]};var Du=function(t){return function(r){return t(r)}},Ru=r((function(t,r){var e=r&&!r.nodeType&&r,n=e&&t&&!t.nodeType&&t,o=n&&n.exports===e&&yi.process,i=function(){try{var t=n&&n.require&&n.require("util").types;return t||o&&o.binding&&o.binding("util")}catch(t){}}();t.exports=i})),Bu=Ru&&Ru.isTypedArray,Vu=Bu?Du(Bu):zu,$u=Object.prototype.hasOwnProperty;var Uu=function(t,r){var e=Ni(t),n=!e&&Fi(t),o=!e&&!n&&Tu(t),i=!e&&!n&&!o&&Vu(t),a=e||n||o||i,u=a?ku(t.length,String):[],c=u.length;for(var f in t)!r&&!$u.call(t,f)||a&&("length"==f||o&&("offset"==f||"parent"==f)||i&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||Cu(f,c))||u.push(f);return u},Wu=Object.prototype;var qu=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||Wu)};var Hu=function(t,r){return function(e){return t(r(e))}}(Object.keys,Object),Yu=Object.prototype.hasOwnProperty;var Ju=function(t){if(!qu(t))return Hu(t);var r=[];for(var e in Object(t))Yu.call(t,e)&&"constructor"!=e&&r.push(e);return r};var Ku=function(t){return null!=t&&Fu(t.length)&&!ua(t)};var Qu=function(t){return Ku(t)?Uu(t):Ju(t)};var Xu=function(t){return Ou(t,Qu,Pu)},Zu=1,tc=Object.prototype.hasOwnProperty;var rc=function(t,r,e,n,o,i){var a=e&Zu,u=Xu(t),c=u.length;if(c!=Xu(r).length&&!a)return!1;for(var f=c;f--;){var s=u[f];if(!(a?s in r:tc.call(r,s)))return!1}var l=i.get(t);if(l&&i.get(r))return l==r;var v=!0;i.set(t,r),i.set(r,t);for(var p=a;++f<c;){var h=t[s=u[f]],y=r[s];if(n)var d=a?n(y,h,s,r,t,i):n(h,y,s,t,r,i);if(!(void 0===d?h===y||o(h,y,e,n,i):d)){v=!1;break}p||(p="constructor"==s)}if(v&&!p){var g=t.constructor,b=r.constructor;g!=b&&"constructor"in t&&"constructor"in r&&!("function"==typeof g&&g instanceof g&&"function"==typeof b&&b instanceof b)&&(v=!1)}return i.delete(t),i.delete(r),v},ec=ja(gi,"DataView"),nc=ja(gi,"Promise"),oc=ja(gi,"Set"),ic=ja(gi,"WeakMap"),ac=va(ec),uc=va(_a),cc=va(nc),fc=va(oc),sc=va(ic),lc=ki;(ec&&"[object DataView]"!=lc(new ec(new ArrayBuffer(1)))||_a&&"[object Map]"!=lc(new _a)||nc&&"[object Promise]"!=lc(nc.resolve())||oc&&"[object Set]"!=lc(new oc)||ic&&"[object WeakMap]"!=lc(new ic))&&(lc=function(t){var r=ki(t),e="[object Object]"==r?t.constructor:void 0,n=e?va(e):"";if(n)switch(n){case ac:return"[object DataView]";case uc:return"[object Map]";case cc:return"[object Promise]";case fc:return"[object Set]";case sc:return"[object WeakMap]"}return r});var vc=lc,pc=1,hc="[object Arguments]",yc="[object Array]",dc="[object Object]",gc=Object.prototype.hasOwnProperty;var bc=function(t,r,e,n,o,i){var a=Ni(t),u=Ni(r),c=a?yc:vc(t),f=u?yc:vc(r),s=(c=c==hc?dc:c)==dc,l=(f=f==hc?dc:f)==dc,v=c==f;if(v&&Tu(t)){if(!Tu(r))return!1;a=!0,s=!1}if(v&&!s)return i||(i=new Ha),a||Vu(t)?nu(t,r,e,n,o,i):_u(t,r,c,e,n,o,i);if(!(e&pc)){var p=s&&gc.call(t,"__wrapped__"),h=l&&gc.call(r,"__wrapped__");if(p||h){var y=p?t.value():t,d=h?r.value():r;return i||(i=new Ha),o(y,d,e,n,i)}}return!!v&&(i||(i=new Ha),rc(t,r,e,n,o,i))};var mc=function t(r,e,n,o,i){return r===e||(null==r||null==e||!Li(r)&&!Li(e)?r!=r&&e!=e:bc(r,e,n,o,t,i))},wc=1,jc=2;var _c=function(t,r,e,n){var o=e.length,i=o,a=!n;if(null==t)return!i;for(t=Object(t);o--;){var u=e[o];if(a&&u[2]?u[1]!==t[u[0]]:!(u[0]in t))return!1}for(;++o<i;){var c=(u=e[o])[0],f=t[c],s=u[1];if(a&&u[2]){if(void 0===f&&!(c in t))return!1}else{var l=new Ha;if(n)var v=n(f,s,c,t,r,l);if(!(void 0===v?mc(s,f,wc|jc,n,l):v))return!1}}return!0};var Oc=function(t){return t==t&&!ea(t)};var xc=function(t){for(var r=Qu(t),e=r.length;e--;){var n=r[e],o=t[n];r[e]=[n,o,Oc(o)]}return r};var Sc=function(t,r){return function(e){return null!=e&&(e[t]===r&&(void 0!==r||t in Object(e)))}};var Ac=function(t){var r=xc(t);return 1==r.length&&r[0][2]?Sc(r[0][0],r[0][1]):function(e){return e===t||_c(e,t,r)}},Ec="[object Symbol]";var Pc=function(t){return"symbol"==typeof t||Li(t)&&ki(t)==Ec},kc=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Lc=/^\w*$/;var Tc=function(t,r){if(Ni(t))return!1;var e=typeof t;return!("number"!=e&&"symbol"!=e&&"boolean"!=e&&null!=t&&!Pc(t))||(Lc.test(t)||!kc.test(t)||null!=r&&t in Object(r))},Ic="Expected a function";function Mc(t,r){if("function"!=typeof t||null!=r&&"function"!=typeof r)throw new TypeError(Ic);var e=function(){var n=arguments,o=r?r.apply(this,n):n[0],i=e.cache;if(i.has(o))return i.get(o);var a=t.apply(this,n);return e.cache=i.set(o,a)||i,a};return e.cache=new(Mc.Cache||$a),e}Mc.Cache=$a;var Cc=Mc,Gc=500;var Fc=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[