4 lines
15 KiB
JavaScript
4 lines
15 KiB
JavaScript
var ut=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function pt(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function ft(r){var a=r.default;if(typeof a=="function"){var s=function(){return a.apply(this,arguments)};s.prototype=a.prototype}else s={};return Object.defineProperty(s,"__esModule",{value:!0}),Object.keys(r).forEach(function(e){var n=Object.getOwnPropertyDescriptor(r,e);Object.defineProperty(s,e,n.get?n:{enumerable:!0,get:function(){return r[e]}})}),s}function dr(r){return dr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},dr(r)}var H={exports:{}},F={exports:{}},br;function M(){return br||(br=1,function(r){function a(s){return r.exports=a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r.exports.__esModule=!0,r.exports.default=r.exports,a(s)}r.exports=a,r.exports.__esModule=!0,r.exports.default=r.exports}(F)),F.exports}var _r;function Qr(){return _r||(_r=1,function(r){var a=M().default;function s(){r.exports=s=function(){return n},r.exports.__esModule=!0,r.exports.default=r.exports;var e,n={},u=Object.prototype,l=u.hasOwnProperty,y=Object.defineProperty||function(i,t,o){i[t]=o.value},g=typeof Symbol=="function"?Symbol:{},v=g.iterator||"@@iterator",w=g.asyncIterator||"@@asyncIterator",_=g.toStringTag||"@@toStringTag";function d(i,t,o){return Object.defineProperty(i,t,{value:o,enumerable:!0,configurable:!0,writable:!0}),i[t]}try{d({},"")}catch{d=function(o,p,c){return o[p]=c}}function lr(i,t,o,p){var c=t&&t.prototype instanceof m?t:m,f=Object.create(c.prototype),h=new N(p||[]);return y(f,"_invoke",{value:$r(i,o,h)}),f}function E(i,t,o){try{return{type:"normal",arg:i.call(t,o)}}catch(p){return{type:"throw",arg:p}}}n.wrap=lr;var yr="suspendedStart",Yr="suspendedYield",hr="executing",j="completed",P={};function m(){}function I(){}function A(){}var C={};d(C,v,function(){return this});var k=Object.getPrototypeOf,S=k&&k(k(W([])));S&&S!==u&&l.call(S,v)&&(C=S);var R=A.prototype=m.prototype=Object.create(C);function xr(i){["next","throw","return"].forEach(function(t){d(i,t,function(o){return this._invoke(t,o)})})}function L(i,t){function o(c,f,h,x){var b=E(i[c],i,f);if(b.type!=="throw"){var q=b.arg,T=q.value;return T&&a(T)=="object"&&l.call(T,"__await")?t.resolve(T.__await).then(function(O){o("next",O,h,x)},function(O){o("throw",O,h,x)}):t.resolve(T).then(function(O){q.value=O,h(q)},function(O){return o("throw",O,h,x)})}x(b.arg)}var p;y(this,"_invoke",{value:function(f,h){function x(){return new t(function(b,q){o(f,h,b,q)})}return p=p?p.then(x,x):x()}})}function $r(i,t,o){var p=yr;return function(c,f){if(p===hr)throw Error("Generator is already running");if(p===j){if(c==="throw")throw f;return{value:e,done:!0}}for(o.method=c,o.arg=f;;){var h=o.delegate;if(h){var x=vr(h,o);if(x){if(x===P)continue;return x}}if(o.method==="next")o.sent=o._sent=o.arg;else if(o.method==="throw"){if(p===yr)throw p=j,o.arg;o.dispatchException(o.arg)}else o.method==="return"&&o.abrupt("return",o.arg);p=hr;var b=E(i,t,o);if(b.type==="normal"){if(p=o.done?j:Yr,b.arg===P)continue;return{value:b.arg,done:o.done}}b.type==="throw"&&(p=j,o.method="throw",o.arg=b.arg)}}}function vr(i,t){var o=t.method,p=i.iterator[o];if(p===e)return t.delegate=null,o==="throw"&&i.iterator.return&&(t.method="return",t.arg=e,vr(i,t),t.method==="throw")||o!=="return"&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+o+"' method")),P;var c=E(p,i.iterator,t.arg);if(c.type==="throw")return t.method="throw",t.arg=c.arg,t.delegate=null,P;var f=c.arg;return f?f.done?(t[i.resultName]=f.value,t.next=i.nextLoc,t.method!=="return"&&(t.method="next",t.arg=e),t.delegate=null,P):f:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,P)}function Jr(i){var t={tryLoc:i[0]};1 in i&&(t.catchLoc=i[1]),2 in i&&(t.finallyLoc=i[2],t.afterLoc=i[3]),this.tryEntries.push(t)}function G(i){var t=i.completion||{};t.type="normal",delete t.arg,i.completion=t}function N(i){this.tryEntries=[{tryLoc:"root"}],i.forEach(Jr,this),this.reset(!0)}function W(i){if(i||i===""){var t=i[v];if(t)return t.call(i);if(typeof i.next=="function")return i;if(!isNaN(i.length)){var o=-1,p=function c(){for(;++o<i.length;)if(l.call(i,o))return c.value=i[o],c.done=!1,c;return c.value=e,c.done=!0,c};return p.next=p}}throw new TypeError(a(i)+" is not iterable")}return I.prototype=A,y(R,"constructor",{value:A,configurable:!0}),y(A,"constructor",{value:I,configurable:!0}),I.displayName=d(A,_,"GeneratorFunction"),n.isGeneratorFunction=function(i){var t=typeof i=="function"&&i.constructor;return!!t&&(t===I||(t.displayName||t.name)==="GeneratorFunction")},n.mark=function(i){return Object.setPrototypeOf?Object.setPrototypeOf(i,A):(i.__proto__=A,d(i,_,"GeneratorFunction")),i.prototype=Object.create(R),i},n.awrap=function(i){return{__await:i}},xr(L.prototype),d(L.prototype,w,function(){return this}),n.AsyncIterator=L,n.async=function(i,t,o,p,c){c===void 0&&(c=Promise);var f=new L(lr(i,t,o,p),c);return n.isGeneratorFunction(t)?f:f.next().then(function(h){return h.done?h.value:f.next()})},xr(R),d(R,_,"Generator"),d(R,v,function(){return this}),d(R,"toString",function(){return"[object Generator]"}),n.keys=function(i){var t=Object(i),o=[];for(var p in t)o.push(p);return o.reverse(),function c(){for(;o.length;){var f=o.pop();if(f in t)return c.value=f,c.done=!1,c}return c.done=!0,c}},n.values=W,N.prototype={constructor:N,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(G),!t)for(var o in this)o.charAt(0)==="t"&&l.call(this,o)&&!isNaN(+o.slice(1))&&(this[o]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if(t.type==="throw")throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var o=this;function p(q,T){return h.type="throw",h.arg=t,o.next=q,T&&(o.method="next",o.arg=e),!!T}for(var c=this.tryEntries.length-1;c>=0;--c){var f=this.tryEntries[c],h=f.completion;if(f.tryLoc==="root")return p("end");if(f.tryLoc<=this.prev){var x=l.call(f,"catchLoc"),b=l.call(f,"finallyLoc");if(x&&b){if(this.prev<f.catchLoc)return p(f.catchLoc,!0);if(this.prev<f.finallyLoc)return p(f.finallyLoc)}else if(x){if(this.prev<f.catchLoc)return p(f.catchLoc,!0)}else{if(!b)throw Error("try statement without catch or finally");if(this.prev<f.finallyLoc)return p(f.finallyLoc)}}}},abrupt:function(t,o){for(var p=this.tryEntries.length-1;p>=0;--p){var c=this.tryEntries[p];if(c.tryLoc<=this.prev&&l.call(c,"finallyLoc")&&this.prev<c.finallyLoc){var f=c;break}}f&&(t==="break"||t==="continue")&&f.tryLoc<=o&&o<=f.finallyLoc&&(f=null);var h=f?f.completion:{};return h.type=t,h.arg=o,f?(this.method="next",this.next=f.finallyLoc,P):this.complete(h)},complete:function(t,o){if(t.type==="throw")throw t.arg;return t.type==="break"||t.type==="continue"?this.next=t.arg:t.type==="return"?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):t.type==="normal"&&o&&(this.next=o),P},finish:function(t){for(var o=this.tryEntries.length-1;o>=0;--o){var p=this.tryEntries[o];if(p.finallyLoc===t)return this.complete(p.completion,p.afterLoc),G(p),P}},catch:function(t){for(var o=this.tryEntries.length-1;o>=0;--o){var p=this.tryEntries[o];if(p.tryLoc===t){var c=p.completion;if(c.type==="throw"){var f=c.arg;G(p)}return f}}throw Error("illegal catch attempt")},delegateYield:function(t,o,p){return this.delegate={iterator:W(t),resultName:o,nextLoc:p},this.method==="next"&&(this.arg=e),P}},n}r.exports=s,r.exports.__esModule=!0,r.exports.default=r.exports}(H)),H.exports}var D,gr;function ct(){if(gr)return D;gr=1;var r=Qr()();D=r;try{regeneratorRuntime=r}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}return D}var K={exports:{}},wr;function lt(){return wr||(wr=1,function(r){function a(e,n,u,l,y,g,v){try{var w=e[g](v),_=w.value}catch(d){return void u(d)}w.done?n(_):Promise.resolve(_).then(l,y)}function s(e){return function(){var n=this,u=arguments;return new Promise(function(l,y){var g=e.apply(n,u);function v(_){a(g,l,y,v,w,"next",_)}function w(_){a(g,l,y,v,w,"throw",_)}v(void 0)})}}r.exports=s,r.exports.__esModule=!0,r.exports.default=r.exports}(K)),K.exports}var z={exports:{}},B={exports:{}},Pr;function Vr(){return Pr||(Pr=1,function(r){function a(s){if(Array.isArray(s))return s}r.exports=a,r.exports.__esModule=!0,r.exports.default=r.exports}(B)),B.exports}var U={exports:{}},Tr;function Xr(){return Tr||(Tr=1,function(r){function a(s,e){var n=s==null?null:typeof Symbol<"u"&&s[Symbol.iterator]||s["@@iterator"];if(n!=null){var u,l,y,g,v=[],w=!0,_=!1;try{if(y=(n=n.call(s)).next,e===0){if(Object(n)!==n)return;w=!1}else for(;!(w=(u=y.call(n)).done)&&(v.push(u.value),v.length!==e);w=!0);}catch(d){_=!0,l=d}finally{try{if(!w&&n.return!=null&&(g=n.return(),Object(g)!==g))return}finally{if(_)throw l}}return v}}r.exports=a,r.exports.__esModule=!0,r.exports.default=r.exports}(U)),U.exports}var Y={exports:{}},$={exports:{}},Ar;function zr(){return Ar||(Ar=1,function(r){function a(s,e){(e==null||e>s.length)&&(e=s.length);for(var n=0,u=Array(e);n<e;n++)u[n]=s[n];return u}r.exports=a,r.exports.__esModule=!0,r.exports.default=r.exports}($)),$.exports}var qr;function Br(){return qr||(qr=1,function(r){var a=zr();function s(e,n){if(e){if(typeof e=="string")return a(e,n);var u={}.toString.call(e).slice(8,-1);return u==="Object"&&e.constructor&&(u=e.constructor.name),u==="Map"||u==="Set"?Array.from(e):u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u)?a(e,n):void 0}}r.exports=s,r.exports.__esModule=!0,r.exports.default=r.exports}(Y)),Y.exports}var J={exports:{}},Or;function Zr(){return Or||(Or=1,function(r){function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}r.exports=a,r.exports.__esModule=!0,r.exports.default=r.exports}(J)),J.exports}var Rr;function yt(){return Rr||(Rr=1,function(r){var a=Vr(),s=Xr(),e=Br(),n=Zr();function u(l,y){return a(l)||s(l,y)||e(l,y)||n()}r.exports=u,r.exports.__esModule=!0,r.exports.default=r.exports}(z)),z.exports}var Q={exports:{}},V={exports:{}},X={exports:{}},jr;function rt(){return jr||(jr=1,function(r){var a=M().default;function s(e,n){if(a(e)!="object"||!e)return e;var u=e[Symbol.toPrimitive];if(u!==void 0){var l=u.call(e,n||"default");if(a(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(e)}r.exports=s,r.exports.__esModule=!0,r.exports.default=r.exports}(X)),X.exports}var Ir;function Ur(){return Ir||(Ir=1,function(r){var a=M().default,s=rt();function e(n){var u=s(n,"string");return a(u)=="symbol"?u:u+""}r.exports=e,r.exports.__esModule=!0,r.exports.default=r.exports}(V)),V.exports}var Sr;function ht(){return Sr||(Sr=1,function(r){var a=Ur();function s(e,n,u){return(n=a(n))in e?Object.defineProperty(e,n,{value:u,enumerable:!0,configurable:!0,writable:!0}):e[n]=u,e}r.exports=s,r.exports.__esModule=!0,r.exports.default=r.exports}(Q)),Q.exports}var Z={exports:{}},Lr;function xt(){return Lr||(Lr=1,function(r){function a(s,e){if(!(s instanceof e))throw new TypeError("Cannot call a class as a function")}r.exports=a,r.exports.__esModule=!0,r.exports.default=r.exports}(Z)),Z.exports}var rr={exports:{}},Mr;function vt(){return Mr||(Mr=1,function(r){var a=Ur();function s(n,u){for(var l=0;l<u.length;l++){var y=u[l];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(n,a(y.key),y)}}function e(n,u,l){return u&&s(n.prototype,u),l&&s(n,l),Object.defineProperty(n,"prototype",{writable:!1}),n}r.exports=e,r.exports.__esModule=!0,r.exports.default=r.exports}(rr)),rr.exports}var tr={exports:{}},er={exports:{}},Er;function tt(){return Er||(Er=1,function(r){function a(s,e){return r.exports=a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,u){return n.__proto__=u,n},r.exports.__esModule=!0,r.exports.default=r.exports,a(s,e)}r.exports=a,r.exports.__esModule=!0,r.exports.default=r.exports}(er)),er.exports}var mr;function dt(){return mr||(mr=1,function(r){var a=tt();function s(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&a(e,n)}r.exports=s,r.exports.__esModule=!0,r.exports.default=r.exports}(tr)),tr.exports}var or={exports:{}},nr={exports:{}},Cr;function et(){return Cr||(Cr=1,function(r){function a(s){if(s===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s}r.exports=a,r.exports.__esModule=!0,r.exports.default=r.exports}(nr)),nr.exports}var kr;function bt(){return kr||(kr=1,function(r){var a=M().default,s=et();function e(n,u){if(u&&(a(u)=="object"||typeof u=="function"))return u;if(u!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return s(n)}r.exports=e,r.exports.__esModule=!0,r.exports.default=r.exports}(or)),or.exports}var ar={exports:{}},Gr;function ot(){return Gr||(Gr=1,function(r){function a(s){return r.exports=a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r.exports.__esModule=!0,r.exports.default=r.exports,a(s)}r.exports=a,r.exports.__esModule=!0,r.exports.default=r.exports}(ar)),ar.exports}var ir={exports:{}},sr={exports:{}},Nr;function nt(){return Nr||(Nr=1,function(r){var a=zr();function s(e){if(Array.isArray(e))return a(e)}r.exports=s,r.exports.__esModule=!0,r.exports.default=r.exports}(sr)),sr.exports}var ur={exports:{}},Wr;function at(){return Wr||(Wr=1,function(r){function a(s){if(typeof Symbol<"u"&&s[Symbol.iterator]!=null||s["@@iterator"]!=null)return Array.from(s)}r.exports=a,r.exports.__esModule=!0,r.exports.default=r.exports}(ur)),ur.exports}var pr={exports:{}},Hr;function it(){return Hr||(Hr=1,function(r){function a(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}r.exports=a,r.exports.__esModule=!0,r.exports.default=r.exports}(pr)),pr.exports}var Fr;function _t(){return Fr||(Fr=1,function(r){var a=nt(),s=at(),e=Br(),n=it();function u(l){return a(l)||s(l)||e(l)||n()}r.exports=u,r.exports.__esModule=!0,r.exports.default=r.exports}(ir)),ir.exports}var fr={exports:{}},cr={exports:{}},Dr;function st(){return Dr||(Dr=1,function(r){var a=ot();function s(e,n){for(;!{}.hasOwnProperty.call(e,n)&&(e=a(e))!==null;);return e}r.exports=s,r.exports.__esModule=!0,r.exports.default=r.exports}(cr)),cr.exports}var Kr;function gt(){return Kr||(Kr=1,function(r){var a=st();function s(){return r.exports=s=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(e,n,u){var l=a(e,n);if(l){var y=Object.getOwnPropertyDescriptor(l,n);return y.get?y.get.call(arguments.length<3?e:u):y.value}},r.exports.__esModule=!0,r.exports.default=r.exports,s.apply(null,arguments)}r.exports=s,r.exports.__esModule=!0,r.exports.default=r.exports}(fr)),fr.exports}export{dr as _,pt as a,lt as b,yt as c,ht as d,xt as e,vt as f,ft as g,dt as h,bt as i,ot as j,_t as k,gt as l,et as m,ut as n,ct as r};
|