=a)throw new RangeError(A("invalid argument. Index argument is out-of-bounds. Value: `%s`.",e));if(!f(t))throw new TypeError(A("invalid argument. Second argument must be a complex number. Value: `%s`.",t));return(n=(r=new this.constructor(this._buffer))._buffer)[2*e]=_(t),n[2*e+1]=E(t),r})),e.exports=D},4647:(e,t,n)=>{var r=n(1697),a=n(8212),o=n(3494);e.exports=function(e,t){var n,i,l,s;for(n=t.length,s=0,l=0;l{var r=n(9014),a=n(1697),o=n(8212),i=n(3494),l=n(6132);e.exports=function(e){var t,n,s;for(t=[];!(n=e.next()).done;)if(s=n.value,r(s)&&s.length>=2)t.push(s[0],s[1]);else{if(!a(s))return new TypeError(l("invalid argument. An iterator must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",s));t.push(o(s),i(s))}return t}},2555:(e,t,n)=>{var r=n(9014),a=n(1697),o=n(8212),i=n(3494),l=n(6132);e.exports=function(e,t,n){var s,u,c,f;for(s=[],f=-1;!(u=e.next()).done;)if(f+=1,c=t.call(n,u.value,f),r(c)&&c.length>=2)s.push(c[0],c[1]);else{if(!a(c))return new TypeError(l("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",c));s.push(o(c),i(c))}return s}},9705:(e,t,n)=>{var r=n(3800);e.exports=r},3800:(e,t,n)=>{var r=n(5180).isPrimitive,a=n(9014),o=n(1317),i=n(6312),l=n(4750),s=n(258),u=n(3408).isPrimitive,c=n(3629),f=n(1697),d=n(6246),h=n(872),p=n(4792),v=n(2771),m=n(7128),g=n(2510),y=n(404),b=n(9274),w=n(3872),x=n(9341),_=n(6132),E=n(8212),S=n(3494),R=n(7730),k=n(5506),O=n(3193),C=n(6148),A=n(6264),T=n(522),L=n(2555),M=n(4647),j=2*w.BYTES_PER_ELEMENT,N=m();function F(e){return e instanceof D||"object"===typeof e&&null!==e&&("Complex64Array"===e.constructor.name||"Complex128Array"===e.constructor.name)&&"number"===typeof e._length&&"object"===typeof e._buffer}function P(e){return e===D||"Complex128Array"===e.name}function I(e,t){return new x(e[t*=2],e[t+1])}function D(){var e,t,n,a;if(t=arguments.length,!(this instanceof D))return 0===t?new D:1===t?new D(arguments[0]):2===t?new D(arguments[0],arguments[1]):new D(arguments[0],arguments[1],arguments[2]);if(0===t)n=new w(0);else if(1===t)if(r(arguments[0]))n=new w(2*arguments[0]);else if(o(arguments[0]))if((a=(n=arguments[0]).length)&&s(n)&&f(n[0])){if(null===(n=M(new w(2*a),n))){if(!d(a))throw new RangeError(_("invalid argument. Array-like object arguments must have a length which is a multiple of two. Length: `%u`.",a));n=new w(arguments[0])}}else{if(p(n))n=k(n,0);else if(v(n))n=O(n,0);else if(!d(a))throw new RangeError(_("invalid argument. Array-like object and typed array arguments must have a length which is a multiple of two. Length: `%u`.",a));n=new w(n)}else if(i(arguments[0])){if(!h((n=arguments[0]).byteLength/j))throw new RangeError(_("invalid argument. ArrayBuffer byte length must be a multiple of %u. Byte length: `%u`.",j,n.byteLength));n=new w(n)}else{if(!l(arguments[0]))throw new TypeError(_("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",arguments[0]));if(n=arguments[0],!1===N)throw new TypeError(_("invalid argument. Environment lacks Symbol.iterator support. Must provide a length, ArrayBuffer, typed array, or array-like object. Value: `%s`.",n));if(!c(n[g]))throw new TypeError(_("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",n));if(n=n[g](),!c(n.next))throw new TypeError(_("invalid argument. Must provide a length, ArrayBuffer, typed array, array-like object, or an iterable. Value: `%s`.",n));if((n=T(n))instanceof Error)throw n;n=new w(n)}else{if(!i(n=arguments[0]))throw new TypeError(_("invalid argument. First argument must be an ArrayBuffer. Value: `%s`.",n));if(!r(e=arguments[1]))throw new TypeError(_("invalid argument. Byte offset must be a nonnegative integer. Value: `%s`.",e));if(!h(e/j))throw new RangeError(_("invalid argument. Byte offset must be a multiple of %u. Value: `%u`.",j,e));if(2===t){if(a=n.byteLength-e,!h(a/j))throw new RangeError(_("invalid arguments. ArrayBuffer view byte length must be a multiple of %u. View byte length: `%u`.",j,a));n=new w(n,e)}else{if(!r(a=arguments[2]))throw new TypeError(_("invalid argument. Length must be a nonnegative integer. Value: `%s`.",a));if(a*j>n.byteLength-e)throw new RangeError(_("invalid arguments. ArrayBuffer has insufficient capacity. Either decrease the array length or provide a bigger buffer. Minimum capacity: `%u`.",a*j));n=new w(n,e,2*a)}}return y(this,"_buffer",n),y(this,"_length",n.length/2),this}y(D,"BYTES_PER_ELEMENT",j),y(D,"name","Complex64Array"),y(D,"from",(function(e){var t,n,r,i,s,u,h,p,v,m,y,b;if(!c(this))throw new TypeError("invalid invocation. `this` context must be a constructor.");if(!P(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if((n=arguments.length)>1){if(!c(r=arguments[1]))throw new TypeError(_("invalid argument. Second argument must be a function. Value: `%s`.",r));n>2&&(t=arguments[2])}if(F(e)){if(p=e.length,r){for(s=(i=new this(p))._buffer,b=0,y=0;y=2))throw new TypeError(_("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",m));s[b]=m[0],s[b+1]=m[1]}b+=2}return i}return new this(e)}if(o(e)){if(r){for(p=e.length,h=e.get&&e.set?A("default"):C("default"),y=0;y
=2))throw new TypeError(_("invalid argument. Callback must return either a two-element array containing real and imaginary components or a complex number. Value: `%s`.",m));s[b]=m[0],s[b+1]=m[1]}b+=2}return i}return new this(e)}if(l(e)&&N&&c(e[g])){if(s=e[g](),!c(s.next))throw new TypeError(_("invalid argument. First argument must be an array-like object or an iterable. Value: `%s`.",e));if((u=r?L(s,r,t):T(s))instanceof Error)throw u;for(s=(i=new this(p=u.length/2))._buffer,y=0;y
=this._length))return I(this._buffer,e)})),b(D.prototype,"buffer",(function(){return this._buffer.buffer})),b(D.prototype,"byteLength",(function(){return this._buffer.byteLength})),b(D.prototype,"byteOffset",(function(){return this._buffer.byteOffset})),y(D.prototype,"BYTES_PER_ELEMENT",D.BYTES_PER_ELEMENT),y(D.prototype,"copyWithin",(function(e,t){if(!F(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return 2===arguments.length?this._buffer.copyWithin(2*e,2*t):this._buffer.copyWithin(2*e,2*t,2*arguments[2]),this})),y(D.prototype,"entries",(function(){var e,t,n,r,a,o,i;if(!F(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");return t=this,e=this._buffer,r=this._length,o=-1,i=-2,y(n={},"next",(function(){var t;if(o+=1,a||o>=r)return{done:!0};return t=new x(e[i+=2],e[i+1]),{value:[o,t],done:!1}})),y(n,"return",(function(e){if(a=!0,arguments.length)return{value:e,done:!0};return{done:!0}})),g&&y(n,g,(function(){return t.entries()})),n})),y(D.prototype,"every",(function(e,t){var n,r;if(!F(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!c(e))throw new TypeError(_("invalid argument. First argument must be a function. Value: `%s`.",e));for(n=this._buffer,r=0;r1){if(!h(t))throw new TypeError(_("invalid argument. Second argument must be an integer. Value: `%s`.",t));if(t<0&&(t+=a)<0&&(t=0),arguments.length>2){if(!h(n))throw new TypeError(_("invalid argument. Third argument must be an integer. Value: `%s`.",n));n<0&&(n+=a)<0&&(n=0),n>a&&(n=a)}else n=a}else t=0,n=a;for(i=E(e),l=S(e),s=t;s=0;r--)if(a=I(n,r),e.call(t,a,r,this))return a})),y(D.prototype,"findLastIndex",(function(e,t){var n,r,a;if(!F(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!c(e))throw new TypeError(_("invalid argument. First argument must be a function. Value: `%s`.",e));for(n=this._buffer,r=this._length-1;r>=0;r--)if(a=I(n,r),e.call(t,a,r,this))return r;return-1})),y(D.prototype,"forEach",(function(e,t){var n,r,a;if(!F(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!c(e))throw new TypeError(_("invalid argument. First argument must be a function. Value: `%s`.",e));for(n=this._buffer,r=0;r=this._length))return I(this._buffer,e)})),y(D.prototype,"includes",(function(e,t){var n,r,a,o,i;if(!F(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!f(e))throw new TypeError(_("invalid argument. First argument must be a complex number. Value: `%s`.",e));if(arguments.length>1){if(!h(t))throw new TypeError(_("invalid argument. Second argument must be an integer. Value: `%s`.",t));t<0&&(t+=this._length)<0&&(t=0)}else t=0;for(a=E(e),o=S(e),n=this._buffer,i=t;i1){if(!h(t))throw new TypeError(_("invalid argument. Second argument must be an integer. Value: `%s`.",t));t<0&&(t+=this._length)<0&&(t=0)}else t=0;for(a=E(e),o=S(e),n=this._buffer,i=t;i1){if(!h(t))throw new TypeError(_("invalid argument. Second argument must be an integer. Value: `%s`.",t));t>=this._length?t=this._length-1:t<0&&(t+=this._length)}else t=this._length-1;for(a=E(e),o=S(e),n=this._buffer,i=t;i>=0;i--)if(a===n[r=2*i]&&o===n[r+1])return i;return-1})),b(D.prototype,"length",(function(){return this._length})),y(D.prototype,"map",(function(e,t){var n,r,o,i,l;if(!F(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");if(!c(e))throw new TypeError(_("invalid argument. First argument must be a function. Value: `%s`.",e));for(r=this._buffer,n=(o=new this.constructor(this._length))._buffer,i=0;i1)r=t,o=0;else{if(0===a)throw new Error("invalid operation. If not provided an initial value, an array must contain at least one element.");r=I(n,0),o=1}for(;o1){if(!r(n=arguments[1]))throw new TypeError(_("invalid argument. Index argument must be a nonnegative integer. Value: `%s`.",n))}else n=0;if(f(e)){if(n>=this._length)throw new RangeError(_("invalid argument. Index argument is out-of-bounds. Value: `%u`.",n));return a[n*=2]=E(e),void(a[n+1]=S(e))}if(F(e)){if(n+(s=e._length)>this._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");if(t=e._buffer,h=a.byteOffset+n*j,t.buffer===a.buffer&&t.byteOffseth){for(i=new w(t.length),c=0;cthis._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");if(t=e,h=a.byteOffset+n*j,t.buffer===a.buffer&&t.byteOffseth){for(i=new w(s),c=0;cthis._length)throw new RangeError("invalid arguments. Target array lacks sufficient storage to accommodate source values.");for(n*=2,c=0;cl&&(t=l)}}for(n=ea&&(t=a)}}return e>=a?(a=0,n=r.byteLength):e>=t?(a=0,n=r.byteOffset+e*j):(a=t-e,n=r.byteOffset+e*j),new this.constructor(r.buffer,n,a<0?0:a)})),y(D.prototype,"toReversed",(function(){var e,t,n,r,a,o;if(!F(this))throw new TypeError("invalid invocation. `this` is not a complex number array.");for(n=this._length,t=new this.constructor(n),r=this._buffer,e=t._buffer,a=0;a=a)throw new RangeError(_("invalid argument. Index argument is out-of-bounds. Value: `%s`.",e));if(!f(t))throw new TypeError(_("invalid argument. Second argument must be a complex number. Value: `%s`.",t));return(n=(r=new this.constructor(this._buffer))._buffer)[2*e]=E(t),n[2*e+1]=S(t),r})),e.exports=D},8639:e=>{e.exports={Float32Array:"float32",Float64Array:"float64",Array:"generic",Int16Array:"int16",Int32Array:"int32",Int8Array:"int8",Uint16Array:"uint16",Uint32Array:"uint32",Uint8Array:"uint8",Uint8ClampedArray:"uint8c",Complex64Array:"complex64",Complex128Array:"complex128"}},6556:(e,t,n)=>{var r=n(4023),a=n(3872),o=n(6532),i=n(8271),l=n(6990),s=n(6461),u=n(9475),c=n(7720),f=[r,a,i,o,s,l,n(9518),u,c,n(9705),n(200)];e.exports=f},4046:e=>{e.exports=["float64","float32","int32","uint32","int16","uint16","int8","uint8","uint8c","complex64","complex128"]},435:(e,t,n)=>{var r=n(3822);e.exports=r},3822:(e,t,n)=>{var r=n(971),a=n(258),o=n(2793),i=n(8639),l=n(6556),s=n(4046),u=s.length;e.exports=function(e){var t;if(a(e))return"generic";if(r(e))return null;for(t=0;t{var r,a=n(3539),o=n(9959),i=n(6321);r=a()?o:i,e.exports=r},9959:e=>{var t="function"===typeof Float32Array?Float32Array:void 0;e.exports=t},6321:e=>{e.exports=function(){throw new Error("not implemented")}},4023:(e,t,n)=>{var r,a=n(7750),o=n(1170),i=n(4892);r=a()?o:i,e.exports=r},1170:e=>{var t="function"===typeof Float64Array?Float64Array:void 0;e.exports=t},4892:e=>{e.exports=function(){throw new Error("not implemented")}},6461:(e,t,n)=>{var r,a=n(9612),o=n(7842),i=n(6714);r=a()?o:i,e.exports=r},7842:e=>{var t="function"===typeof Int16Array?Int16Array:void 0;e.exports=t},6714:e=>{e.exports=function(){throw new Error("not implemented")}},8271:(e,t,n)=>{var r,a=n(1758),o=n(4330),i=n(6020);r=a()?o:i,e.exports=r},4330:e=>{var t="function"===typeof Int32Array?Int32Array:void 0;e.exports=t},6020:e=>{e.exports=function(){throw new Error("not implemented")}},9518:(e,t,n)=>{var r,a=n(3689),o=n(2049),i=n(3447);r=a()?o:i,e.exports=r},2049:e=>{var t="function"===typeof Int8Array?Int8Array:void 0;e.exports=t},3447:e=>{e.exports=function(){throw new Error("not implemented")}},1338:(e,t,n)=>{var r=n(9518),a=n(9475),o=n(7720),i=n(6461),l=n(6990),s=n(8271),u=n(6532),c=n(3872),f=[[n(4023),"Float64Array"],[c,"Float32Array"],[s,"Int32Array"],[u,"Uint32Array"],[i,"Int16Array"],[l,"Uint16Array"],[r,"Int8Array"],[a,"Uint8Array"],[o,"Uint8ClampedArray"],[n(9705),"Complex64Array"],[n(200),"Complex128Array"]];e.exports=f},9573:(e,t,n)=>{var r=n(6388);e.exports=r},6388:(e,t,n)=>{var r=n(3107),a=n(8374),o=n(5506),i=n(3193),l=n(6132),s=n(4537);e.exports=function(e){var t,n,u;if(r(e))t=e;else{if(!a(e))throw new TypeError(l("invalid argument. Must provide a typed array. Value: `%s`.",e));t=8===e.BYTES_PER_ELEMENT?o(e,0):i(e,0)}for(n={type:s(e),data:[]},u=0;u{var r=n(6993),a=n(2793),o=n(9578),i=n(1338);e.exports=function(e){var t,n;for(n=0;n{var r,a=n(7945),o=n(1489),i=n(3719);r=a()?o:i,e.exports=r},1489:e=>{var t="function"===typeof Uint16Array?Uint16Array:void 0;e.exports=t},3719:e=>{e.exports=function(){throw new Error("not implemented")}},6532:(e,t,n)=>{var r,a=n(6863),o=n(7019),i=n(9437);r=a()?o:i,e.exports=r},7019:e=>{var t="function"===typeof Uint32Array?Uint32Array:void 0;e.exports=t},9437:e=>{e.exports=function(){throw new Error("not implemented")}},9475:(e,t,n)=>{var r,a=n(5954),o=n(7086),i=n(4336);r=a()?o:i,e.exports=r},7086:e=>{var t="function"===typeof Uint8Array?Uint8Array:void 0;e.exports=t},4336:e=>{e.exports=function(){throw new Error("not implemented")}},7720:(e,t,n)=>{var r,a=n(3978),o=n(3391),i=n(1241);r=a()?o:i,e.exports=r},3391:e=>{var t="function"===typeof Uint8ClampedArray?Uint8ClampedArray:void 0;e.exports=t},1241:e=>{e.exports=function(){throw new Error("not implemented")}},9567:e=>{var t="function"===typeof Float32Array?Float32Array:null;e.exports=t},3539:(e,t,n)=>{var r=n(1534);e.exports=r},1534:(e,t,n)=>{var r=n(2825),a=n(2857),o=n(9567);e.exports=function(){var e,t;if("function"!==typeof o)return!1;try{t=new o([1,3.14,-3.14,5e40]),e=r(t)&&1===t[0]&&3.140000104904175===t[1]&&-3.140000104904175===t[2]&&t[3]===a}catch(n){e=!1}return e}},5829:e=>{var t="function"===typeof Float64Array?Float64Array:null;e.exports=t},7750:(e,t,n)=>{var r=n(8265);e.exports=r},8265:(e,t,n)=>{var r=n(9220),a=n(5829);e.exports=function(){var e,t;if("function"!==typeof a)return!1;try{t=new a([1,3.14,-3.14,NaN]),e=r(t)&&1===t[0]&&3.14===t[1]&&-3.14===t[2]&&t[3]!==t[3]}catch(n){e=!1}return e}},6745:e=>{e.exports=function(){}},2357:(e,t,n)=>{var r=n(9076);e.exports=r},9076:(e,t,n)=>{var r=n(6745);e.exports=function(){return"foo"===r.name}},9612:(e,t,n)=>{var r=n(1011);e.exports=r},953:e=>{var t="function"===typeof Int16Array?Int16Array:null;e.exports=t},1011:(e,t,n)=>{var r=n(7646),a=n(9530),o=n(380),i=n(953);e.exports=function(){var e,t;if("function"!==typeof i)return!1;try{t=new i([1,3.14,-3.14,a+1]),e=r(t)&&1===t[0]&&3===t[1]&&-3===t[2]&&t[3]===o}catch(n){e=!1}return e}},1758:(e,t,n)=>{var r=n(5409);e.exports=r},6901:e=>{var t="function"===typeof Int32Array?Int32Array:null;e.exports=t},5409:(e,t,n)=>{var r=n(6668),a=n(780),o=n(2042),i=n(6901);e.exports=function(){var e,t;if("function"!==typeof i)return!1;try{t=new i([1,3.14,-3.14,a+1]),e=r(t)&&1===t[0]&&3===t[1]&&-3===t[2]&&t[3]===o}catch(n){e=!1}return e}},3689:(e,t,n)=>{var r=n(1048);e.exports=r},8533:e=>{var t="function"===typeof Int8Array?Int8Array:null;e.exports=t},1048:(e,t,n)=>{var r=n(6195),a=n(3033),o=n(2403),i=n(8533);e.exports=function(){var e,t;if("function"!==typeof i)return!1;try{t=new i([1,3.14,-3.14,a+1]),e=r(t)&&1===t[0]&&3===t[1]&&-3===t[2]&&t[3]===o}catch(n){e=!1}return e}},7128:(e,t,n)=>{var r=n(2703);e.exports=r},2703:(e,t,n)=>{var r=n(7615),a=n(2490);e.exports=function(){return"function"===typeof a&&"symbol"===typeof a("foo")&&r(a,"iterator")&&"symbol"===typeof a.iterator}},7615:(e,t,n)=>{var r=n(2010);e.exports=r},2010:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e,n){return void 0!==e&&null!==e&&t.call(e,n)}},1767:(e,t,n)=>{var r=n(2322);e.exports=r},2322:e=>{e.exports=function(){return"function"===typeof Symbol&&"symbol"===typeof Symbol("foo")}},9681:(e,t,n)=>{var r=n(5376);e.exports=r},5376:(e,t,n)=>{var r=n(1767)();e.exports=function(){return r&&"symbol"===typeof Symbol.toStringTag}},7945:(e,t,n)=>{var r=n(7336);e.exports=r},7336:(e,t,n)=>{var r=n(8563),a=n(2761),o=n(4845);e.exports=function(){var e,t;if("function"!==typeof o)return!1;try{t=new o(t=[1,3.14,-3.14,a+1,a+2]),e=r(t)&&1===t[0]&&3===t[1]&&t[2]===a-2&&0===t[3]&&1===t[4]}catch(n){e=!1}return e}},4845:e=>{var t="function"===typeof Uint16Array?Uint16Array:null;e.exports=t},6863:(e,t,n)=>{var r=n(6890);e.exports=r},6890:(e,t,n)=>{var r=n(3973),a=n(3335),o=n(633);e.exports=function(){var e,t;if("function"!==typeof o)return!1;try{t=new o(t=[1,3.14,-3.14,a+1,a+2]),e=r(t)&&1===t[0]&&3===t[1]&&t[2]===a-2&&0===t[3]&&1===t[4]}catch(n){e=!1}return e}},633:e=>{var t="function"===typeof Uint32Array?Uint32Array:null;e.exports=t},5954:(e,t,n)=>{var r=n(5349);e.exports=r},5349:(e,t,n)=>{var r=n(6424),a=n(4264),o=n(7869);e.exports=function(){var e,t;if("function"!==typeof o)return!1;try{t=new o(t=[1,3.14,-3.14,a+1,a+2]),e=r(t)&&1===t[0]&&3===t[1]&&t[2]===a-2&&0===t[3]&&1===t[4]}catch(n){e=!1}return e}},7869:e=>{var t="function"===typeof Uint8Array?Uint8Array:null;e.exports=t},3978:(e,t,n)=>{var r=n(3517);e.exports=r},3517:(e,t,n)=>{var r=n(5336),a=n(541);e.exports=function(){var e,t;if("function"!==typeof a)return!1;try{t=new a([-1,0,1,3.14,4.99,255,256]),e=r(t)&&0===t[0]&&0===t[1]&&1===t[2]&&3===t[3]&&5===t[4]&&255===t[5]&&255===t[6]}catch(n){e=!1}return e}},541:e=>{var t="function"===typeof Uint8ClampedArray?Uint8ClampedArray:null;e.exports=t},6993:(e,t,n)=>{var r=n(2512);e.exports=r},2512:(e,t,n)=>{var r=n(6132);e.exports=function(e,t){if("function"!==typeof t)throw new TypeError(r("invalid argument. Second argument must be callable. Value: `%s`.",t));return e instanceof t}},9568:(e,t,n)=>{var r,a=n(994);r=function(){return a(arguments)}(),e.exports=r},6631:(e,t,n)=>{var r,a=n(9568),o=n(994),i=n(2524);r=a?o:i,e.exports=r},994:(e,t,n)=>{var r=n(9359);e.exports=function(e){return"[object Arguments]"===r(e)}},2524:(e,t,n)=>{var r=n(7615),a=n(9767),o=n(258),i=n(872),l=n(3335);e.exports=function(e){return null!==e&&"object"===typeof e&&!o(e)&&"number"===typeof e.length&&i(e.length)&&e.length>=0&&e.length<=l&&r(e,"callee")&&!a(e,"callee")}},9014:(e,t,n)=>{var r=n(4313);e.exports=r},4313:(e,t,n)=>{var r=n(872),a=n(5680);e.exports=function(e){return"object"===typeof e&&null!==e&&"number"===typeof e.length&&r(e.length)&&e.length>=0&&e.length<=a}},258:(e,t,n)=>{var r=n(8517);e.exports=r},8517:(e,t,n)=>{var r,a=n(9359);r=Array.isArray?Array.isArray:function(e){return"[object Array]"===a(e)},e.exports=r},6312:(e,t,n)=>{var r=n(3983);e.exports=r},3983:(e,t,n)=>{var r=n(9359),a="function"===typeof ArrayBuffer;e.exports=function(e){return a&&e instanceof ArrayBuffer||"[object ArrayBuffer]"===r(e)}},5111:(e,t,n)=>{var r=n(404),a=n(2194),o=n(2542),i=n(6488);r(a,"isPrimitive",o),r(a,"isObject",i),e.exports=a},2194:(e,t,n)=>{var r=n(2542),a=n(6488);e.exports=function(e){return r(e)||a(e)}},6488:(e,t,n)=>{var r=n(9681),a=n(9359),o=n(844),i=n(7810),l=r();e.exports=function(e){return"object"===typeof e&&(e instanceof o||(l?i(e):"[object Boolean]"===a(e)))}},2542:e=>{e.exports=function(e){return"boolean"===typeof e}},3711:e=>{var t=Boolean.prototype.toString;e.exports=t},7810:(e,t,n)=>{var r=n(3711);e.exports=function(e){try{return r.call(e),!0}catch(t){return!1}}},971:(e,t,n)=>{var r=n(8806);e.exports=r},8806:(e,t,n)=>{var r=n(4242);e.exports=function(e){return r(e)&&(e._isBuffer||e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e))}},1317:(e,t,n)=>{var r=n(8292);e.exports=r},8292:(e,t,n)=>{var r=n(872),a=n(1747);e.exports=function(e){return"object"===typeof e&&null!==e&&"number"===typeof e.length&&r(e.length)&&e.length>=0&&e.length<=a}},1697:(e,t,n)=>{var r=n(8480);e.exports=r},8480:(e,t,n)=>{var r=n(2254),a=n(9341);e.exports=function(e){return e instanceof r||e instanceof a||"object"===typeof e&&null!==e&&"number"===typeof e.re&&"number"===typeof e.im}},6437:(e,t,n)=>{var r=n(9705),a=[n(200),r];e.exports=a},8374:(e,t,n)=>{var r=n(8281);e.exports=r},8281:(e,t,n)=>{var r=n(2793),a=n(9578),o=n(6437),i=n(2722);e.exports=function(e){var t,n;if("object"!==typeof e||null===e)return!1;for(n=0;n{var r;r=!n(6484).call("beep","0"),e.exports=r},9767:(e,t,n)=>{var r=n(8578);e.exports=r},8578:(e,t,n)=>{var r=n(3408),a=n(830).isPrimitive,o=n(4689).isPrimitive,i=n(6484),l=n(5053);e.exports=function(e,t){var n;return void 0!==e&&null!==e&&(!(n=i.call(e,t))&&l&&r(e)?!a(t=+t)&&o(t)&&t>=0&&t{var t=Object.prototype.propertyIsEnumerable;e.exports=t},2825:(e,t,n)=>{var r=n(3736);e.exports=r},3736:(e,t,n)=>{var r=n(9359),a="function"===typeof Float32Array;e.exports=function(e){return a&&e instanceof Float32Array||"[object Float32Array]"===r(e)}},9220:(e,t,n)=>{var r=n(27);e.exports=r},27:(e,t,n)=>{var r=n(9359),a="function"===typeof Float64Array;e.exports=function(e){return a&&e instanceof Float64Array||"[object Float64Array]"===r(e)}},3629:(e,t,n)=>{var r=n(8236);e.exports=r},8236:(e,t,n)=>{var r=n(6253);e.exports=function(e){return"function"===r(e)}},7646:(e,t,n)=>{var r=n(9905);e.exports=r},9905:(e,t,n)=>{var r=n(9359),a="function"===typeof Int16Array;e.exports=function(e){return a&&e instanceof Int16Array||"[object Int16Array]"===r(e)}},6668:(e,t,n)=>{var r=n(6259);e.exports=r},6259:(e,t,n)=>{var r=n(9359),a="function"===typeof Int32Array;e.exports=function(e){return a&&e instanceof Int32Array||"[object Int32Array]"===r(e)}},6195:(e,t,n)=>{var r=n(9870);e.exports=r},9870:(e,t,n)=>{var r=n(9359),a="function"===typeof Int8Array;e.exports=function(e){return a&&e instanceof Int8Array||"[object Int8Array]"===r(e)}},4689:(e,t,n)=>{var r=n(404),a=n(3360),o=n(7588),i=n(3674);r(a,"isPrimitive",o),r(a,"isObject",i),e.exports=a},7987:(e,t,n)=>{var r=n(2857),a=n(8239),o=n(872);e.exports=function(e){return ea&&o(e)}},3360:(e,t,n)=>{var r=n(7588),a=n(3674);e.exports=function(e){return r(e)||a(e)}},3674:(e,t,n)=>{var r=n(2280).isObject,a=n(7987);e.exports=function(e){return r(e)&&a(e.valueOf())}},7588:(e,t,n)=>{var r=n(2280).isPrimitive,a=n(7987);e.exports=function(e){return r(e)&&a(e)}},7536:(e,t,n)=>{var r=n(9475),a={uint16:n(6990),uint8:r};e.exports=a},735:(e,t,n)=>{var r=n(5498);e.exports=r},5498:(e,t,n)=>{var r,a=n(7536);r=function(){var e;return(e=new a.uint16(1))[0]=4660,52===new a.uint8(e.buffer)[0]}(),e.exports=r},830:(e,t,n)=>{var r=n(404),a=n(8625),o=n(8859),i=n(2131);r(a,"isPrimitive",o),r(a,"isObject",i),e.exports=a},8625:(e,t,n)=>{var r=n(8859),a=n(2131);e.exports=function(e){return r(e)||a(e)}},2131:(e,t,n)=>{var r=n(2280).isObject,a=n(6679);e.exports=function(e){return r(e)&&a(e.valueOf())}},8859:(e,t,n)=>{var r=n(2280).isPrimitive,a=n(6679);e.exports=function(e){return r(e)&&a(e)}},5180:(e,t,n)=>{var r=n(404),a=n(483),o=n(6605),i=n(6057);r(a,"isPrimitive",o),r(a,"isObject",i),e.exports=a},483:(e,t,n)=>{var r=n(6605),a=n(6057);e.exports=function(e){return r(e)||a(e)}},6057:(e,t,n)=>{var r=n(4689).isObject;e.exports=function(e){return r(e)&&e.valueOf()>=0}},6605:(e,t,n)=>{var r=n(4689).isPrimitive;e.exports=function(e){return r(e)&&e>=0}},2280:(e,t,n)=>{var r=n(404),a=n(223),o=n(1905),i=n(3117);r(a,"isPrimitive",o),r(a,"isObject",i),e.exports=a},223:(e,t,n)=>{var r=n(1905),a=n(3117);e.exports=function(e){return r(e)||a(e)}},3117:(e,t,n)=>{var r=n(9681),a=n(9359),o=n(2125),i=n(8253),l=r();e.exports=function(e){return"object"===typeof e&&(e instanceof o||(l?i(e):"[object Number]"===a(e)))}},1905:e=>{e.exports=function(e){return"number"===typeof e}},3318:(e,t,n)=>{var r=n(2125).prototype.toString;e.exports=r},8253:(e,t,n)=>{var r=n(3318);e.exports=function(e){try{return r.call(e),!0}catch(t){return!1}}},4242:(e,t,n)=>{var r=n(404),a=n(6188),o=n(7349);r(o,"isObjectLikeArray",a(o)),e.exports=o},7349:e=>{e.exports=function(e){return null!==e&&"object"===typeof e}},4750:(e,t,n)=>{var r=n(3633);e.exports=r},3633:(e,t,n)=>{var r=n(258);e.exports=function(e){return"object"===typeof e&&null!==e&&!r(e)}},5417:(e,t,n)=>{var r=n(1640);e.exports=r},1640:(e,t,n)=>{var r=n(4750),a=n(3629),o=n(9578),i=n(7615),l=n(9359),s=Object.prototype;e.exports=function(e){var t;return!!r(e)&&(!(t=o(e))||!i(e,"constructor")&&i(t,"constructor")&&a(t.constructor)&&"[object Function]"===l(t.constructor)&&i(t,"isPrototypeOf")&&a(t.isPrototypeOf)&&(t===s||function(e){var t;for(t in e)if(!i(e,t))return!1;return!0}(e)))}},2001:(e,t,n)=>{var r=n(404),a=n(7968),o=n(5460),i=n(810);r(a,"isPrimitive",o),r(a,"isObject",i),e.exports=a},7968:(e,t,n)=>{var r=n(5460),a=n(810);e.exports=function(e){return r(e)||a(e)}},810:(e,t,n)=>{var r=n(4689).isObject;e.exports=function(e){return r(e)&&e.valueOf()>0}},5460:(e,t,n)=>{var r=n(4689).isPrimitive;e.exports=function(e){return r(e)&&e>0}},280:(e,t,n)=>{var r=n(404),a=n(7775),o=n(4337),i=n(6109);r(a,"isPrimitive",o),r(a,"isObject",i),e.exports=a},7775:(e,t,n)=>{var r=n(4337),a=n(6109);e.exports=function(e){return r(e)||a(e)}},6109:(e,t,n)=>{var r=n(2280).isObject;e.exports=function(e){return r(e)&&e.valueOf()>0}},4337:(e,t,n)=>{var r=n(2280).isPrimitive;e.exports=function(e){return r(e)&&e>0}},3408:(e,t,n)=>{var r=n(404),a=n(6263),o=n(6473),i=n(3909);r(a,"isPrimitive",o),r(a,"isObject",i),e.exports=a},6263:(e,t,n)=>{var r=n(6473),a=n(3909);e.exports=function(e){return r(e)||a(e)}},3909:(e,t,n)=>{var r=n(9681),a=n(9359),o=n(1679),i=r();e.exports=function(e){return"object"===typeof e&&(e instanceof String||(i?o(e):"[object String]"===a(e)))}},6473:e=>{e.exports=function(e){return"string"===typeof e}},1679:(e,t,n)=>{var r=n(3960);e.exports=function(e){try{return r.call(e),!0}catch(t){return!1}}},3960:e=>{var t=String.prototype.valueOf;e.exports=t},5580:(e,t,n)=>{var r=n(9518),a=n(9475),o=n(7720),i=n(6461),l=n(6990),s=n(8271),u=n(6532),c=n(3872),f=[n(4023),c,s,u,i,l,r,a,o];e.exports=f},3107:(e,t,n)=>{var r=n(4174);e.exports=r},4174:(e,t,n)=>{var r=n(2793),a=n(5527),o=n(9578),i=n(7750),l=n(4023),s=n(5580),u=n(2447),c=i()?o(l):f;function f(){}c="TypedArray"===a(c)?c:f,e.exports=function(e){var t,n;if("object"!==typeof e||null===e)return!1;if(e instanceof c)return!0;for(n=0;n{var r=n(4590);e.exports=r},4590:(e,t,n)=>{var r=n(9359),a="function"===typeof Uint16Array;e.exports=function(e){return a&&e instanceof Uint16Array||"[object Uint16Array]"===r(e)}},3973:(e,t,n)=>{var r=n(9636);e.exports=r},9636:(e,t,n)=>{var r=n(9359),a="function"===typeof Uint32Array;e.exports=function(e){return a&&e instanceof Uint32Array||"[object Uint32Array]"===r(e)}},6424:(e,t,n)=>{var r=n(5231);e.exports=r},5231:(e,t,n)=>{var r=n(9359),a="function"===typeof Uint8Array;e.exports=function(e){return a&&e instanceof Uint8Array||"[object Uint8Array]"===r(e)}},5336:(e,t,n)=>{var r=n(9996);e.exports=r},9996:(e,t,n)=>{var r=n(9359),a="function"===typeof Uint8ClampedArray;e.exports=function(e){return a&&e instanceof Uint8ClampedArray||"[object Uint8ClampedArray]"===r(e)}},6188:(e,t,n)=>{var r=n(1907);e.exports=r},1907:(e,t,n)=>{var r=n(258),a=n(6132);e.exports=function(e){if("function"!==typeof e)throw new TypeError(a("invalid argument. Must provide a function. Value: `%s`.",e));return function(t){var n,a;if(!r(t))return!1;if(0===(n=t.length))return!1;for(a=0;a{e.exports=function(e,t,n,r,a,o,i){var l,s,u,c,f,d,h;for(l=t.data,s=a.data,c=t.accessors[0],u=a.accessors[1],f=r,d=i,h=0;h{var r=n(404),a=n(4441);r(a,"ndarray",n(713)),e.exports=a},4441:(e,t,n)=>{var r=n(2508),a=n(6438);e.exports=function(e,t,n,o,i){var l,s,u,c,f,d;if(e<=0)return o;if(u=r(t),c=r(o),u.accessorProtocol||c.accessorProtocol)return a(e,u,n,l=n<0?(1-e)*n:0,c,i,s=i<0?(1-e)*i:0),c.data;if(1===n&&1===i){if((f=e%8)>0)for(d=0;d{var r=n(2508),a=n(6438);e.exports=function(e,t,n,o,i,l,s){var u,c,f,d,h,p;if(e<=0)return i;if(f=r(t),d=r(i),f.accessorProtocol||d.accessorProtocol)return a(e,f,n,o,d,l,s),d.data;if(u=o,c=s,1===n&&1===l){if((h=e%8)>0)for(p=0;p{var r=n(9347);e.exports=r},9347:e=>{var t=Boolean;e.exports=t},9341:(e,t,n)=>{var r=n(3372);e.exports=r},3372:(e,t,n)=>{var r=n(2280).isPrimitive,a=n(9872),o=n(404),i=n(3887),l=n(6132),s=n(7345),u=n(5810);function c(e,t){if(!(this instanceof c))throw new TypeError("invalid invocation. Constructor must be called with the `new` keyword.");if(!r(e))throw new TypeError(l("invalid argument. Real component must be a number. Value: `%s`.",e));if(!r(t))throw new TypeError(l("invalid argument. Imaginary component must be a number. Value: `%s`.",t));return a(this,"re",{configurable:!1,enumerable:!0,writable:!1,value:i(e)}),a(this,"im",{configurable:!1,enumerable:!0,writable:!1,value:i(t)}),this}o(c,"BYTES_PER_ELEMENT",4),o(c.prototype,"BYTES_PER_ELEMENT",4),o(c.prototype,"byteLength",8),o(c.prototype,"toString",s),o(c.prototype,"toJSON",u),e.exports=c},5810:e=>{e.exports=function(){var e={type:"Complex64"};return e.re=this.re,e.im=this.im,e}},7345:e=>{e.exports=function(){var e=""+this.re;return this.im<0?e+=" - "+-this.im:e+=" + "+this.im,e+="i"}},2254:(e,t,n)=>{var r=n(4737);e.exports=r},4737:(e,t,n)=>{var r=n(2280).isPrimitive,a=n(9872),o=n(404),i=n(6132),l=n(7736),s=n(2019);function u(e,t){if(!(this instanceof u))throw new TypeError("invalid invocation. Constructor must be called with the `new` keyword.");if(!r(e))throw new TypeError(i("invalid argument. Real component must be a number. Value: `%s`.",e));if(!r(t))throw new TypeError(i("invalid argument. Imaginary component must be a number. Value: `%s`.",t));return a(this,"re",{configurable:!1,enumerable:!0,writable:!1,value:e}),a(this,"im",{configurable:!1,enumerable:!0,writable:!1,value:t}),this}o(u,"BYTES_PER_ELEMENT",8),o(u.prototype,"BYTES_PER_ELEMENT",8),o(u.prototype,"byteLength",16),o(u.prototype,"toString",l),o(u.prototype,"toJSON",s),e.exports=u},2019:e=>{e.exports=function(){var e={type:"Complex128"};return e.re=this.re,e.im=this.im,e}},7736:e=>{e.exports=function(){var e=""+this.re;return this.im<0?e+=" - "+-this.im:e+=" + "+this.im,e+="i"}},7400:(e,t,n)=>{var r=n(4015);e.exports=r},4015:e=>{e.exports=function(e){return e.im}},3494:(e,t,n)=>{var r=n(6678);e.exports=r},6678:e=>{e.exports=function(e){return e.im}},1886:(e,t,n)=>{var r=n(7537);e.exports=r},7537:e=>{e.exports=function(e){return e.re}},8212:(e,t,n)=>{var r=n(2955);e.exports=r},2955:e=>{e.exports=function(e){return e.re}},5680:e=>{e.exports=4294967295},1747:e=>{e.exports=9007199254740991},5129:e=>{e.exports=1023},1955:e=>{e.exports=2147483647},8666:e=>{e.exports=2146435072},4004:e=>{e.exports=2147483648},1850:e=>{e.exports=1048575},2587:e=>{e.exports=.6931471805599453},5748:e=>{e.exports=-1023},1384:e=>{e.exports=1023},3285:e=>{e.exports=9007199254740991},3210:e=>{e.exports=-1074},8239:(e,t,n)=>{var r=n(2125).NEGATIVE_INFINITY;e.exports=r},2857:e=>{var t=Number.POSITIVE_INFINITY;e.exports=t},7013:e=>{e.exports=22250738585072014e-324},9530:e=>{e.exports=32767},380:e=>{e.exports=-32768},780:e=>{e.exports=2147483647},2042:e=>{e.exports=-2147483648},3033:e=>{e.exports=127},2403:e=>{e.exports=-128},2761:e=>{e.exports=65535},3335:e=>{e.exports=4294967295},4264:e=>{e.exports=255},6246:(e,t,n)=>{var r=n(9897);e.exports=r},9897:(e,t,n)=>{var r=n(872);e.exports=function(e){return r(e/2)}},7182:(e,t,n)=>{var r=n(2801);e.exports=r},2801:(e,t,n)=>{var r=n(2857),a=n(8239);e.exports=function(e){return e===r||e===a}},872:(e,t,n)=>{var r=n(2927);e.exports=r},2927:(e,t,n)=>{var r=n(7730);e.exports=function(e){return r(e)===e}},6679:(e,t,n)=>{var r=n(7970);e.exports=r},7970:e=>{e.exports=function(e){return e!==e}},411:(e,t,n)=>{var r=n(8694);e.exports=r},8694:(e,t,n)=>{var r=n(6246);e.exports=function(e){return r(e>0?e-1:e+1)}},5542:(e,t,n)=>{var r=n(5737);e.exports=r},5737:(e,t,n)=>{var r=n(2857);e.exports=function(e){return 0===e&&1/e===r}},5350:(e,t,n)=>{var r=n(4297);e.exports=r},4297:e=>{e.exports=function(e,t){var n,r;return((n=(65535&(e>>>=0))>>>0)*(r=(65535&(t>>>=0))>>>0)>>>0)+((e>>>16>>>0)*r+n*(t>>>16>>>0)<<16>>>0)>>>0}},2712:(e,t,n)=>{var r=n(5023);e.exports=r},5023:e=>{e.exports=function(e){return Math.abs(e)}},4037:(e,t,n)=>{var r=n(8932);e.exports=r},8932:e=>{var t=Math.ceil;e.exports=t},940:(e,t,n)=>{var r=n(2243);e.exports=r},2243:(e,t,n)=>{var r=n(4004),a=n(1955),o=n(2105),i=n(4126),l=n(6056),s=[0,0];e.exports=function(e,t){var n,u;return o.assign(e,s,1,0),n=s[0],n&=a,u=i(t),l(n|=u&=r,s[1])}},331:(e,t,n)=>{var r=n(1127),a=n(7713);e.exports=function(e,t,n){var o,i,l;return l=(o=e-t)-(i=o*o)*a(i),r(1-(t-o*l/(2-l)-e),n)}},375:(e,t,n)=>{var r=n(4466);e.exports=r},4466:(e,t,n)=>{var r=n(6679),a=n(7882),o=n(8239),i=n(2857),l=n(331),s=1.4426950408889634,u=1/(1<<28),c=-u;e.exports=function(e){var t;return r(e)||e===i?e:e===o?0:e>709.782712893384?i:e<-745.1332191019411?0:e>c&&e{e.exports=function(e){return 0===e?.16666666666666602:.16666666666666602+e*(e*(6613756321437934e-20+e*(4.1381367970572385e-8*e-16533902205465252e-22))-.0027777777777015593)}},7730:(e,t,n)=>{var r=n(8885);e.exports=r},8885:e=>{var t=Math.floor;e.exports=t},1127:(e,t,n)=>{var r=n(3266);e.exports=r},3266:(e,t,n)=>{var r=n(2857),a=n(8239),o=n(5129),i=n(1384),l=n(5748),s=n(3210),u=n(6679),c=n(7182),f=n(940),d=n(99).assign,h=n(3015),p=n(2105),v=n(6056),m=[0,0],g=[0,0];e.exports=function(e,t){var n,y;return 0===t||0===e||u(e)||c(e)?e:(d(e,m,1,0),t+=m[1],(t+=h(e=m[0]))i?e<0?a:r:(t<=l?(t+=52,y=2220446049250313e-31):y=1,p.assign(e,g,1,0),n=g[0],n&=2148532223,y*v(n|=t+o<<20,g[1])))}},2522:(e,t,n)=>{var r=n(9117);e.exports=r},9117:(e,t,n)=>{var r=n(4126),a=n(730),o=n(6679),i=n(5129),l=n(8239),s=n(3908),u=n(1851),c=.6931471803691238,f=1.9082149292705877e-10,d=1048575;e.exports=function(e){var t,n,h,p,v,m,g,y,b,w,x;return 0===e?l:o(e)||e<0?NaN:(p=0,(n=r(e))<1048576&&(p-=54,n=r(e*=0x40000000000000)),n>=2146435072?e+e:(p+=(n>>20)-i|0,p+=(g=(n&=d)+614244&1048576)>>20,m=(e=a(e,n|1072693248^g))-1,(d&2+n)<3?0===m?0===p?0:p*c+p*f:(v=m*m*(.5-.3333333333333333*m),0===p?m-v:p*c-(v-p*f-m)):(g=n-398458|0,y=440401-n|0,h=(w=(x=(b=m/(2+m))*b)*x)*s(w),v=x*u(w)+h,(g|=y)>0?(t=.5*m*m,0===p?m-(t-b*(t+v)):p*c-(t-(b*(t+v)+p*f)-m)):0===p?m-b*(m-v):p*c-(b*(m-v)-p*f-m))))}},3908:e=>{e.exports=function(e){return 0===e?.3999999999940942:.3999999999940942+e*(.22222198432149784+.15313837699209373*e)}},1851:e=>{e.exports=function(e){return 0===e?.6666666666666735:.6666666666666735+e*(.2857142874366239+e*(.1818357216161805+.14798198605116586*e))}},6666:(e,t,n)=>{var r=n(1885);e.exports=r},1885:(e,t,n)=>{var r=n(5542),a=n(6679),o=n(2857);e.exports=function(e,t){return a(e)||a(t)?NaN:e===o||t===o?o:e===t&&0===e?r(e)?e:t:e>t?e:t}},3898:(e,t,n)=>{var r=n(189);e.exports=r},4173:(e,t,n)=>{var r=n(4126),a=n(4422),o=n(730),i=n(5129),l=n(2448),s=1048576,u=[1,1.5],c=[0,.5849624872207642],f=[0,1.350039202129749e-8];e.exports=function(e,t,n){var d,h,p,v,m,g,y,b,w,x,_,E,S,R,k,O,C,A,T,L;return A=0,n>20)-i|0,n=1072693248|(T=1048575&n),T<=235662?L=0:T<767610?L=1:(L=0,A+=1,n-=s),d=524288+(n>>1|536870912),m=(C=1/((t=o(t,n))+(y=u[L])))*((O=t-y)-(v=a(h=O*C,0))*(g=o(0,d+=L<<18))-v*(t-(g-y))),k=(p=h*h)*p*l(p),g=a(g=3+(p=v*v)+(k+=m*(v+h)),0),S=(_=-7.028461650952758e-9*(w=a(w=(O=v*g)+(C=m*g+(k-(g-3-p))*h),0))+.9617966939259756*(C-(w-O))+f[L])-((E=a(E=(x=.9617967009544373*w)+_+(b=c[L])+(R=A),0))-R-b-x),e[0]=E,e[1]=S,e}},4490:(e,t,n)=>{var r=n(4422),a=n(6049);e.exports=function(e,t){var n,o,i,l,s;return n=(s=1.9259629911266175e-8*(i=t-1)-1.4426950408889634*(i*i*a(i)))-((o=r(o=(l=1.4426950216293335*i)+s,0))-l),e[0]=o,e[1]=n,e}},189:(e,t,n)=>{var r=n(6679),a=n(411),o=n(7182),i=n(872),l=n(2314),s=n(2712),u=n(2105),c=n(4422),f=n(5163),d=n(8239),h=n(2857),p=n(1955),v=n(6950),m=n(9788),g=n(1167),y=n(4173),b=n(4490),w=n(4383),x=1083179008,_=1e300,E=1e-300,S=[0,0],R=[0,0];e.exports=function e(t,n){var k,O,C,A,T,L,M,j,N,F,P,I,D,z;if(r(t)||r(n))return NaN;if(u.assign(n,S,1,0),T=S[0],0===S[1]){if(0===n)return 1;if(1===n)return t;if(-1===n)return 1/t;if(.5===n)return l(t);if(-.5===n)return 1/l(t);if(2===n)return t*t;if(3===n)return t*t*t;if(4===n)return(t*=t)*t;if(o(n))return g(t,n)}if(u.assign(t,S,1,0),A=S[0],0===S[1]){if(0===A)return v(t,n);if(1===t)return 1;if(-1===t&&a(n))return-1;if(o(t))return t===d?e(-0,-n):n<0?0:h}if(t<0&&!1===i(n))return(t-t)/(t-t);if(C=s(t),k=A&p,O=T&p,M=T>>>31|0,L=(L=A>>>31|0)&&a(n)?-1:1,O>1105199104){if(O>1139802112)return m(t,n);if(k<1072693247)return 1===M?L*_*_:L*E*E;if(k>1072693248)return 0===M?L*_*_:L*E*E;P=b(R,C)}else P=y(R,C,k);if(I=(F=(n-(j=c(n,0)))*P[0]+n*P[1])+(N=j*P[0]),u.assign(I,S,1,0),D=f(S[0]),z=f(S[1]),D>=x){if(0!==(D-x|z))return L*_*_;if(F+8008566259537294e-32>I-N)return L*_*_}else if((D&p)>=1083231232){if(0!==(D-3230714880|z))return L*E*E;if(F<=I-N)return L*E*E}return L*(I=w(D,N,F))}},2448:e=>{e.exports=function(e){return 0===e?.5999999999999946:.5999999999999946+e*(.4285714285785502+e*(.33333332981837743+e*(.272728123808534+e*(.23066074577556175+.20697501780033842*e))))}},1748:e=>{e.exports=function(e){return 0===e?.16666666666666602:.16666666666666602+e*(e*(6613756321437934e-20+e*(4.1381367970572385e-8*e-16533902205465252e-22))-.0027777777777015593)}},6049:e=>{e.exports=function(e){return 0===e?.5:.5+e*(.25*e-.3333333333333333)}},4383:(e,t,n)=>{var r=n(4126),a=n(730),o=n(4422),i=n(5163),l=n(1127),s=n(2587),u=n(5129),c=n(1955),f=n(1850),d=n(1748),h=1048576;e.exports=function(e,t,n){var p,v,m,g,y,b,w,x,_;return _=((x=e&c)>>20)-u|0,w=0,x>1071644672&&(v=a(0,((w=e+(h>>_+1)>>>0)&~(f>>(_=((w&c)>>20)-u|0)))>>>0),w=(w&f|h)>>20-_>>>0,e<0&&(w=-w),t-=v),y=(g=(n-((v=o(v=n+t,0))-t))*s+-1.904654299957768e-9*v)-((b=(m=.6931471824645996*v)+g)-m),p=b-(v=b*b)*d(v),e=r(b=1-(b*p/(p-2)-(y+b*y)-b)),e=i(e),b=(e+=w<<20>>>0)>>20<=0?l(b,w):a(b,e)}},6950:(e,t,n)=>{var r=n(411),a=n(940),o=n(8239),i=n(2857);e.exports=function(e,t){return t===o?i:t===i?0:t>0?r(t)?e:0:r(t)?a(i,e):i}},9788:(e,t,n)=>{var r=n(1955),a=n(4126);e.exports=function(e,t){return(a(e)&r)<=1072693247?t<0?1/0:0:t>0?1/0:0}},1167:(e,t,n)=>{var r=n(2712),a=n(2857);e.exports=function(e,t){return-1===e?(e-e)/(e-e):1===e?1:r(e)<1===(t===a)?0:a}},2314:(e,t,n)=>{var r=n(4557);e.exports=r},4557:e=>{var t=Math.sqrt;e.exports=t},7882:(e,t,n)=>{var r=n(7917);e.exports=r},7917:(e,t,n)=>{var r=n(7730),a=n(4037);e.exports=function(e){return e<0?a(e):r(e)}},2125:(e,t,n)=>{var r=n(8828);e.exports=r},8828:e=>{e.exports=Number},3015:(e,t,n)=>{var r=n(3186);e.exports=r},3186:(e,t,n)=>{var r=n(4126),a=n(8666),o=n(5129);e.exports=function(e){var t=r(e);return(t=(t&a)>>>20)-o|0}},6056:(e,t,n)=>{var r=n(9887);e.exports=r},4381:(e,t,n)=>{var r,a,o;!0===n(735)?(a=1,o=0):(a=0,o=1),r={HIGH:a,LOW:o},e.exports=r},9887:(e,t,n)=>{var r=n(6532),a=n(4023),o=n(4381),i=new a(1),l=new r(i.buffer),s=o.HIGH,u=o.LOW;e.exports=function(e,t){return l[s]=e,l[u]=t,i[0]}},9176:(e,t,n)=>{var r;r=!0===n(735)?1:0,e.exports=r},4126:(e,t,n)=>{var r=n(3281);e.exports=r},3281:(e,t,n)=>{var r=n(6532),a=n(4023),o=n(9176),i=new a(1),l=new r(i.buffer);e.exports=function(e){return i[0]=e,l[o]}},5050:(e,t,n)=>{var r=n(7013),a=n(7182),o=n(6679),i=n(2712);e.exports=function(e,t,n,l){return o(e)||a(e)?(t[l]=e,t[l+n]=0,t):0!==e&&i(e){var r=n(404),a=n(1966);r(a,"assign",n(5050)),e.exports=a},1966:(e,t,n)=>{var r=n(5050);e.exports=function(e){return r(e,[0,0],1,0)}},6588:(e,t,n)=>{var r;r=!0===n(735)?1:0,e.exports=r},730:(e,t,n)=>{var r=n(6157);e.exports=r},6157:(e,t,n)=>{var r=n(6532),a=n(4023),o=n(6588),i=new a(1),l=new r(i.buffer);e.exports=function(e,t){return i[0]=e,l[o]=t>>>0,i[0]}},4422:(e,t,n)=>{var r=n(233);e.exports=r},6636:(e,t,n)=>{var r;r=!0===n(735)?0:1,e.exports=r},233:(e,t,n)=>{var r=n(6532),a=n(4023),o=n(6636),i=new a(1),l=new r(i.buffer);e.exports=function(e,t){return i[0]=e,l[o]=t>>>0,i[0]}},3887:(e,t,n)=>{var r,a=n(7002),o=n(9284);r="function"===typeof a?a:o,e.exports=r},7002:e=>{var t="function"===typeof Math.fround?Math.fround:null;e.exports=t},9284:(e,t,n)=>{var r=new(n(3872))(1);e.exports=function(e){return r[0]=e,r[0]}},6248:(e,t,n)=>{var r=n(6532),a=n(4023),o=n(4316),i=new a(1),l=new r(i.buffer),s=o.HIGH,u=o.LOW;e.exports=function(e,t,n,r){return i[0]=e,t[r]=l[s],t[r+n]=l[u],t}},2105:(e,t,n)=>{var r=n(404),a=n(9592);r(a,"assign",n(6248)),e.exports=a},4316:(e,t,n)=>{var r,a,o;!0===n(735)?(a=1,o=0):(a=0,o=1),r={HIGH:a,LOW:o},e.exports=r},9592:(e,t,n)=>{var r=n(6248);e.exports=function(e){return r(e,[0,0],1,0)}},5163:(e,t,n)=>{var r=n(5798);e.exports=r},5798:e=>{e.exports=function(e){return 0|e}},3815:e=>{var t=Object.assign;e.exports=t},4374:(e,t,n)=>{var r=n(3629)(Object.assign);e.exports=r},8832:(e,t,n)=>{var r,a=n(4374),o=n(3815),i=n(5457);r=a?o:i,e.exports=r},5457:(e,t,n)=>{var r=n(167),a=n(2107),o=n(6132);e.exports=function(e){var t,n,i,l,s,u,c;if(void 0===e||null===e)throw new TypeError(o("invalid argument. First argument must be a non-null object. Value: `%s`.",e));for(s=a(e),u=1;u{var r=n(8502);e.exports=r},8502:e=>{var t=Object;e.exports=t},5115:(e,t,n)=>{var r=n(7586),a=n(5068),o=n(2021),i=n(1302);e.exports=function(e,t,n,l){var s;return n===l&&n>1.5?a(e,t,n):n>1&&l>1?o(e,t,n,l):n<1&&l<1?i(e,n,l):(s=r(e,t,n))/(s+r(e,t,l))}},4951:(e,t,n)=>{var r=n(404),a=n(9274),o=n(9333),i=n(5417),l=n(5111).isPrimitive,s=n(3629),u=n(7615),c=n(2672),f=n(7521),d=n(7379).factory,h=n(9121).factory,p=n(6679),v=n(870),m=n(6532),g=n(3973),y=n(8832),b=n(9573),w=n(6132),x=n(2383),_=n(5115);e.exports=function(){var e,t,n,E,S,R,k,O,C;if(O=!0,0===arguments.length)R=h(S={copy:!1});else if(1===arguments.length){if(!i(S=arguments[0]))throw new TypeError(w("invalid argument. Options argument must be an object. Value: `%s`.",S));if(u(S,"copy")&&!l(S.copy))throw new TypeError(w("invalid option. `%s` option must be a boolean. Option: `%s`.","copy",S.copy));if(u(S,"prng")){if(!s(S.prng))throw new TypeError(w("invalid option. `%s` option must be a pseudorandom number generator function. Option: `%s`.","prng",S.prng));R=S.prng}else{if(u(S,"state")&&!g(S.state))throw new TypeError(w("invalid option. `%s` option must be a Uint32Array. Option: `%s`.","state",S.state));!1===(S=y({},S)).copy?O=!1:S.state&&(S.state=v(S.state.length,S.state,1,new m(S.state.length),1)),S.copy=!1,R=h(S)}}else{if(C=x(n=arguments[0],E=arguments[1]))throw C;if(arguments.length>2){if(!i(S=arguments[2]))throw new TypeError(w("invalid argument. Options argument must be an object. Value: `%s`.",S));if(u(S,"copy")&&!l(S.copy))throw new TypeError(w("invalid option. `%s` option must be a boolean. Option: `%s`.","copy",S.copy));if(u(S,"prng")){if(!s(S.prng))throw new TypeError(w("invalid option. `%s` option must be a pseudorandom number generator function. Option: `%s`.","prng",S.prng));R=S.prng}else{if(u(S,"state")&&!g(S.state))throw new TypeError(w("invalid option. `%s` option must be a Uint32Array. Option: `%s`.","state",S.state));!1===(S=y({},S)).copy?O=!1:S.state&&(S.state=v(S.state.length,S.state,1,new m(S.state.length),1)),S.copy=!1,R=h(S)}}else R=h(S={copy:!1})}return S&&S.prng?t=d({prng:S.prng}):(S.state?e=S.state:(e=R.state,R.state=e),t=d({state:e,copy:!1})),r(k=void 0===n?function(e,n){if(p(e)||p(n)||e<=0||n<=0)return NaN;return _(R,t,e,n)}:function(){return _(R,t,n,E)},"NAME","beta"),S&&S.prng?(r(k,"seed",null),r(k,"seedLength",null),o(k,"state",c(null),f),r(k,"stateLength",null),r(k,"byteLength",null),r(k,"toJSON",c(null)),r(k,"PRNG",R)):(a(k,"seed",(function(){return R.seed})),a(k,"seedLength",(function(){return R.seedLength})),o(k,"state",(function(){return R.state}),(function(e){if(!g(e))throw new TypeError(w("invalid argument. Must provide a Uint32Array. Value: `%s`.",e));O&&(e=v(e.length,e,1,new m(e.length),1));R.state=e})),a(k,"stateLength",(function(){return R.stateLength})),a(k,"byteLength",(function(){return R.byteLength})),r(k,"toJSON",(function(){var e={type:"PRNG"};e.name=k.NAME,e.state=b(R.state),e.params=void 0===n?[]:[n,E];return e})),r(k,"PRNG",R),R=R.normalized),k}},3789:(e,t,n)=>{var r=n(404),a=n(9516);r(a,"factory",n(4951)),e.exports=a},9516:(e,t,n)=>{var r=n(4951)();e.exports=r},5068:(e,t,n)=>{var r=n(3898),a=n(2522);e.exports=function(e,t,n){var o,i,l,s,u,c,f,d;for(u=r((l=n-1)+l,.5),o=!0;!0===o;)(f=.5*(1+(s=t())/u))>=0&&f<=1&&((c=e())<=(d=1-(i=r(s,4))/(d=8*n-12))?o=!1:c<(d+=.5*r(i/(8*n-8),2))&&(d=l*a(4*f*(1-f)),(d+=s*s/2)>=a(c)&&(o=!1)));return f}},2021:(e,t,n)=>{var r=n(3898),a=n(2522);e.exports=function(e,t,n,o){var i,l,s,u,c,f,d,h,p,v,m;for(d=(f=(u=n-1)+(c=o-1))*a(f),s=u/f,i=.5/r(f,.5),l=!0;!0===l;)(v=s+(h=t())*i)>=0&&v<=1&&(p=e(),m=u*a(v/u),m+=c*a((1-v)/c),(m+=d+.5*h*h)>=a(p)&&(l=!1));return v}},1302:(e,t,n)=>{var r=n(375),a=n(3898),o=n(2522);e.exports=function(e,t,n){for(var i,l,s,u,c,f;;)if(u=e(),c=e(),(s=(f=a(u,1/t))+a(c,1/n))<=1)return s>0?f/s:((i=o(u)/t)>(l=o(c)/n)?(l-=i,i=0):(i-=l,l=0),r(i-o(r(i)+r(l))))}},7586:(e,t,n)=>{var r=n(2522),a=n(2314),o=n(3898),i=1/3;e.exports=function(e,t,n){var l,s,u,c,f,d,h,p,v,m;for(n<1?(f=1/a(9*(d=n+1-i)),p=o(e(),1/n)):(f=1/a(9*(d=n-i)),p=1),l=!0;l;){do{m=1+f*(h=t())}while(m<=0);u=1-.331*(s=h*h)*s,c=.5*s+d*(1-(m*=m*m)+r(m)),((v=e()){var r=n(280).isPrimitive,a=n(6132);e.exports=function(e,t){return r(e)?r(t)?null:new TypeError(a("invalid argument. Second argument must be a positive number. Value: `%s`.",t)):new TypeError(a("invalid argument. First argument must be a positive number. Value: `%s`.",e))}},911:(e,t,n)=>{var r=n(2314),a=n(375),o=n(2522),i=.00991256303526217;e.exports=function(e,t){var n,l,s;for(l=a(-.5*t*t),(n=[]).push(i/l),n.push(t),s=2;s{var r=n(404),a=n(9274),o=n(9333),i=n(3629),l=n(5417),s=n(5111).isPrimitive,u=n(7615),c=n(3973),f=n(9121).factory,d=n(2672),h=n(7521),p=n(7730),v=n(3335),m=n(9573),g=n(6132),y=n(3363);e.exports=function(e){var t,n,b,w;if(w={copy:!0},arguments.length){if(!l(e))throw new TypeError(g("invalid argument. Must provide an object. Value: `%s`.",e));if(u(e,"copy")&&(w.copy=e.copy,!s(e.copy)))throw new TypeError(g("invalid option. `%s` option must be a boolean. Option: `%s`.","copy",e.copy));if(u(e,"prng")){if(!i(e.prng))throw new TypeError(g("invalid option. `%s` option must be a pseudorandom number generator function. Option: `%s`.","prng",e.prng));t=e.prng}else if(u(e,"state")){if(w.state=e.state,!c(e.state))throw new TypeError(g("invalid option. `%s` option must be a Uint32Array. Option: `%s`.","state",e.state))}else if(u(e,"seed")&&(w.seed=e.seed,void 0===e.seed))throw new TypeError(g("invalid option. `%s` option must be either a positive integer less than or equal to the maximum unsigned 32-bit integer or an array-like object containing integer values less than or equal to the maximum unsigned 32-bit integer. Option: `%s`.","seed",e.seed))}return void 0===w.state?void 0===t?t=(n=f(w)).normalized:(n=f({seed:p(1+v*t()),copy:w.copy}),w.seed=null):t=(n=f(w)).normalized,b=y(t,n),r(b,"NAME","improved-ziggurat"),null===w.seed?(r(b,"seed",null),r(b,"seedLength",null)):(a(b,"seed",(function(){return n.seed})),a(b,"seedLength",(function(){return n.seedLength}))),e&&e.prng?(o(b,"state",d(null),h),r(b,"stateLength",null),r(b,"byteLength",null),r(b,"toJSON",d(null))):(o(b,"state",(function(){return n.state}),(function(e){n.state=e})),a(b,"stateLength",(function(){return n.stateLength})),a(b,"byteLength",(function(){return n.byteLength})),r(b,"toJSON",(function(){var e={type:"PRNG"};return e.name=b.NAME,e.state=m(n.state),e.params=[],e}))),r(b,"PRNG",t),b}},3363:(e,t,n)=>{var r=n(2712),a=n(375),o=n(911),i=n(7170),l=n(5590),s=3.442619855899,u=o(128,s),c=i(u);e.exports=function(e,t){return function(){var n,o,i,f,d,h,p;for(;;){if(d=2*e()-1,h=127&t(),r(d){var r=n(404),a=n(6302);r(a,"factory",n(5833)),e.exports=a},6302:(e,t,n)=>{var r=n(5833)();e.exports=r},7170:e=>{e.exports=function(e){var t,n;for(t=[],n=0;n{var r=n(2522);e.exports=function(e,t,n){var a,o;do{a=r(e())/t,o=r(e())}while(-2*o{var r=n(404),a=n(9274),o=n(9333),i=n(7615),l=n(5417),s=n(1317),u=n(3973),c=n(5111).isPrimitive,f=n(2001).isPrimitive,d=n(3285),h=n(3335),p=n(6532),v=n(6666),m=n(5350),g=n(870),y=n(9573),b=n(6132),w=n(4068),x=624,_=397,E=h>>>0,S=2147483648,R=2147483647,k=1812433253,O=1664525,C=1566083941,A=[0,2567483615],T=1/(d+1),L=2147483648,M=1,j=d*T,N=1,F=3,P=2,I=x+3,D=x+5,z=x+6;function B(e,t){var n;return n=t?"option":"argument",e.length>>0,r=1;r>>0)^n>>>30)>>>0,e[r]=m(n,k)+r>>>0;return e}e.exports=function(e){var t,n,d,k,W,H;if(d={},arguments.length){if(!l(e))throw new TypeError(b("invalid argument. Options argument must be an object. Value: `%s`.",e));if(i(e,"copy")&&(d.copy=e.copy,!c(e.copy)))throw new TypeError(b("invalid option. `%s` option must be a boolean. Option: `%s`.","copy",e.copy));if(i(e,"state")){if(n=e.state,d.state=!0,!u(n))throw new TypeError(b("invalid option. `%s` option must be a Uint32Array. Option: `%s`.","state",n));if(H=B(n,!0))throw H;!1===d.copy?t=n:(t=new p(n.length),g(n.length,n,1,t,1)),n=new p(t.buffer,t.byteOffset+(P+1)*t.BYTES_PER_ELEMENT,x),k=new p(t.buffer,t.byteOffset+(D+1)*t.BYTES_PER_ELEMENT,n[D])}if(void 0===k)if(i(e,"seed"))if(k=e.seed,d.seed=!0,f(k)){if(k>E)throw new RangeError(b("invalid option. `%s` option must be a positive integer less than or equal to the maximum unsigned 32-bit integer. Option: `%u`.","seed",k));k>>>=0}else{if(!1===s(k)||k.length<1)throw new TypeError(b("invalid option. `%s` option must be either a positive integer less than or equal to the maximum unsigned 32-bit integer or an array-like object containing integer values less than or equal to the maximum unsigned 32-bit integer. Option: `%s`.","seed",k));if(1===k.length){if(k=k[0],!f(k))throw new TypeError(b("invalid option. `%s` option must be either a positive integer less than or equal to the maximum unsigned 32-bit integer or an array-like object containing integer values less than or equal to the maximum unsigned 32-bit integer. Option: `%s`.","seed",k));if(k>E)throw new RangeError(b("invalid option. `%s` option must be either a positive integer less than or equal to the maximum unsigned 32-bit integer or an array-like object containing integer values less than or equal to the maximum unsigned 32-bit integer. Option: `%u`.","seed",k));k>>>=0}else W=k.length,(t=new p(z+W))[0]=N,t[1]=F,t[P]=x,t[I]=1,t[I+1]=x,t[D]=W,g.ndarray(W,k,1,0,t,1,D+1),n=new p(t.buffer,t.byteOffset+(P+1)*t.BYTES_PER_ELEMENT,x),k=new p(t.buffer,t.byteOffset+(D+1)*t.BYTES_PER_ELEMENT,W),n=function(e,t,n,r){var a,o,i,l;for(o=1,i=0,l=v(t,r);l>0;l--)a=e[o-1]>>>0,a=m(a=(a^a>>>30)>>>0,O)>>>0,e[o]=(e[o]>>>0^a)+n[i]+i>>>0,i+=1,(o+=1)>=t&&(e[0]=e[t-1],o=1),i>=r&&(i=0);for(l=t-1;l>0;l--)a=e[o-1]>>>0,a=m(a=(a^a>>>30)>>>0,C)>>>0,e[o]=(e[o]>>>0^a)-o>>>0,(o+=1)>=t&&(e[0]=e[t-1],o=1);return e[0]=L,e}(n=V(n,x,19650218),x,k,W)}else k=w()>>>0}else k=w()>>>0;return void 0===n&&((t=new p(z+1))[0]=N,t[1]=F,t[P]=x,t[I]=1,t[I+1]=x,t[D]=1,t[D+1]=k,n=new p(t.buffer,t.byteOffset+(P+1)*t.BYTES_PER_ELEMENT,x),k=new p(t.buffer,t.byteOffset+(D+1)*t.BYTES_PER_ELEMENT,1),n=V(n,x,k)),r(X,"NAME","mt19937"),a(X,"seed",U),a(X,"seedLength",K),o(X,"state",$,G),a(X,"stateLength",Y),a(X,"byteLength",q),r(X,"toJSON",Q),r(X,"MIN",0),r(X,"MAX",h),r(X,"normalized",Z),r(Z,"NAME",X.NAME),a(Z,"seed",U),a(Z,"seedLength",K),o(Z,"state",$,G),a(Z,"stateLength",Y),a(Z,"byteLength",q),r(Z,"toJSON",Q),r(Z,"MIN",0),r(Z,"MAX",j),X;function U(){var e=t[D];return g(e,k,1,new p(e),1)}function K(){return t[D]}function Y(){return t.length}function q(){return t.byteLength}function $(){var e=t.length;return g(e,t,1,new p(e),1)}function G(e){var r;if(!u(e))throw new TypeError(b("invalid argument. Must provide a Uint32Array. Value: `%s`.",e));if(r=B(e,!1))throw r;!1===d.copy?d.state&&e.length===t.length?g(e.length,e,1,t,1):(t=e,d.state=!0):(e.length!==t.length&&(t=new p(e.length)),g(e.length,e,1,t,1)),n=new p(t.buffer,t.byteOffset+(P+1)*t.BYTES_PER_ELEMENT,x),k=new p(t.buffer,t.byteOffset+(D+1)*t.BYTES_PER_ELEMENT,t[D])}function Q(){var e={type:"PRNG"};return e.name=X.NAME,e.state=y(t),e.params=[],e}function X(){var e,r;return(r=t[I+1])>=x&&(n=function(e){var t,n,r,a;for(a=x-_,n=0;n>>1^A[t&M];for(r=x-1;n>>1^A[t&M];return t=e[r]&S|e[0]&R,e[r]=e[_-1]^t>>>1^A[t&M],e}(n),r=0),e=n[r],t[I+1]=r+1,e^=e>>>11,e^=e<<7&2636928640,e^=e<<15&4022730752,(e^=e>>>18)>>>0}function Z(){return(67108864*(X()>>>5)+(X()>>>6))*T}}},9121:(e,t,n)=>{var r=n(404),a=n(3344);r(a,"factory",n(1867)),e.exports=a},3344:(e,t,n)=>{var r=n(1867)({seed:n(4068)()});e.exports=r},4068:(e,t,n)=>{var r=n(3335),a=n(7730),o=r-1;e.exports=function(){return a(1+o*Math.random())>>>0}},8893:(e,t,n)=>{var r=n(404),a=n(4124);r(a,"REGEXP",n(7680)),e.exports=a},4124:e=>{e.exports=function(){return/^\s*function\s*([^(]*)/i}},7680:(e,t,n)=>{var r=n(4124)();e.exports=r},3193:(e,t,n)=>{var r=n(3640);e.exports=r},3640:(e,t,n)=>{var r=n(4023);e.exports=function(e,t){return new r(e.buffer,e.byteOffset+e.BYTES_PER_ELEMENT*t,2*(e.length-t))}},5506:(e,t,n)=>{var r=n(277);e.exports=r},277:(e,t,n)=>{var r=n(3872);e.exports=function(e,t){return new r(e.buffer,e.byteOffset+e.BYTES_PER_ELEMENT*t,2*(e.length-t))}},8161:(e,t,n)=>{var r=n(2020),a=Math.abs,o=String.prototype.toLowerCase,i=String.prototype.toUpperCase,l=String.prototype.replace,s=/e\+(\d)$/,u=/e-(\d)$/,c=/^(\d+)$/,f=/^(\d+)e/,d=/\.0$/,h=/\.0*e/,p=/(\..*[^0])0*e/;e.exports=function(e){var t,n,v=parseFloat(e.arg);if(!isFinite(v)){if(!r(e.arg))throw new Error("invalid floating-point number. Value: "+n);v=e.arg}switch(e.specifier){case"e":case"E":n=v.toExponential(e.precision);break;case"f":case"F":n=v.toFixed(e.precision);break;case"g":case"G":a(v)<1e-4?((t=e.precision)>0&&(t-=1),n=v.toExponential(t)):n=v.toPrecision(e.precision),e.alternate||(n=l.call(n,p,"$1e"),n=l.call(n,h,"e"),n=l.call(n,d,""));break;default:throw new Error("invalid double notation. Value: "+e.specifier)}return n=l.call(n,s,"e+0$1"),n=l.call(n,u,"e-0$1"),e.alternate&&(n=l.call(n,c,"$1."),n=l.call(n,f,"$1.e")),v>=0&&e.sign&&(n=e.sign+n),n=e.specifier===i.call(e.specifier)?i.call(n):o.call(n)}},5704:(e,t,n)=>{var r=n(2020),a=n(3942),o=String.prototype.toLowerCase,i=String.prototype.toUpperCase;e.exports=function(e){var t,n,l;switch(e.specifier){case"b":t=2;break;case"o":t=8;break;case"x":case"X":t=16;break;default:t=10}if(n=e.arg,l=parseInt(n,10),!isFinite(l)){if(!r(n))throw new Error("invalid integer. Value: "+n);l=0}return l<0&&("u"===e.specifier||10!==t)&&(l=4294967295+l+1),l<0?(n=(-l).toString(t),e.precision&&(n=a(n,e.precision,e.padRight)),n="-"+n):(n=l.toString(t),l||e.precision?e.precision&&(n=a(n,e.precision,e.padRight)):n="",e.sign&&(n=e.sign+n)),16===t&&(e.alternate&&(n="0x"+n),n=e.specifier===i.call(e.specifier)?i.call(n):o.call(n)),8===t&&e.alternate&&"0"!==n.charAt(0)&&(n="0"+n),n}},836:(e,t,n)=>{var r=n(7179);e.exports=r},2020:e=>{e.exports=function(e){return"number"===typeof e}},6256:e=>{e.exports=function(e){return"string"===typeof e}},7179:(e,t,n)=>{var r=n(5704),a=n(6256),o=n(8161),i=n(2848),l=n(3942),s=String.fromCharCode,u=isNaN,c=Array.isArray;function f(e){var t={};return t.specifier=e.specifier,t.precision=void 0===e.precision?1:e.precision,t.width=e.width,t.flags=e.flags||"",t.mapping=e.mapping,t}e.exports=function(e){var t,n,d,h,p,v,m,g,y;if(!c(e))throw new TypeError("invalid argument. First argument must be an array. Value: `"+e+"`.");for(v="",m=1,g=0;g127)throw new Error("invalid character code. Value: "+d.arg);d.arg=u(p)?String(d.arg):s(p)}break;case"e":case"E":case"f":case"F":case"g":case"G":t||(d.precision=6),d.arg=o(d);break;default:throw new Error("invalid specifier: "+d.specifier)}d.maxWidth>=0&&d.arg.length>d.maxWidth&&(d.arg=d.arg.substring(0,d.maxWidth)),d.padZeros?d.arg=l(d.arg,d.width||d.precision,d.padRight):d.width&&(d.arg=i(d.arg,d.width,d.padRight)),v+=d.arg||"",m+=1}return v}},2848:e=>{function t(e){var t,n="";for(t=0;t{function t(e){var t,n="";for(t=0;t{var r=n(6772);e.exports=r},6772:e=>{var t=/%(?:([1-9]\d*)\$)?([0 +\-#]*)(\*|\d+)?(?:(\.)(\*|\d+)?)?[hlL]?([%A-Za-z])/g;function n(e){var t={mapping:e[1]?parseInt(e[1],10):void 0,flags:e[2],width:e[3],precision:e[5],specifier:e[6]};return"."===e[4]&&void 0===e[5]&&(t.precision="1"),t}e.exports=function(e){var r,a,o,i;for(a=[],i=0,o=t.exec(e);o;)(r=e.slice(i,t.lastIndex-o[0].length)).length&&a.push(r),a.push(n(o)),i=t.lastIndex,o=t.exec(e);return(r=e.slice(i)).length&&a.push(r),a}},6132:(e,t,n)=>{var r=n(5579);e.exports=r},6832:e=>{e.exports=function(e){return"string"===typeof e}},5579:(e,t,n)=>{var r=n(836),a=n(5440),o=n(6832);e.exports=function e(t){var n,i;if(!o(t))throw new TypeError(e("invalid argument. First argument must be a string. Value: `%s`.",t));for(n=[a(t)],i=1;i{var r=n(3245);e.exports=r},3245:e=>{var t="function"===typeof Symbol?Symbol:void 0;e.exports=t},2510:(e,t,n)=>{var r=n(7937);e.exports=r},7937:(e,t,n)=>{var r=n(7128)()?Symbol.iterator:null;e.exports=r},2672:(e,t,n)=>{var r=n(8647);e.exports=r},8647:e=>{e.exports=function(e){return function(){return e}}},2793:(e,t,n)=>{var r=n(9432);e.exports=r},9432:(e,t,n)=>{var r=n(9359),a=n(8893).REGEXP,o=n(971);e.exports=function(e){var t,n,i;if(("Object"===(n=r(e).slice(8,-1))||"Error"===n)&&e.constructor){if("string"===typeof(i=e.constructor).name)return i.name;if(t=a.exec(i.toString()))return t[1]}return o(e)?"Buffer":n}},9274:(e,t,n)=>{var r=n(5629);e.exports=r},5629:(e,t,n)=>{var r=n(9872);e.exports=function(e,t,n){r(e,t,{configurable:!1,enumerable:!1,get:n})}},404:(e,t,n)=>{var r=n(5627);e.exports=r},5627:(e,t,n)=>{var r=n(9872);e.exports=function(e,t,n){r(e,t,{configurable:!1,enumerable:!1,writable:!1,value:n})}},9333:(e,t,n)=>{var r=n(4420);e.exports=r},4420:(e,t,n)=>{var r=n(9872);e.exports=function(e,t,n,a){r(e,t,{configurable:!1,enumerable:!1,get:n,set:a})}},5863:e=>{var t=Object.defineProperty;e.exports=t},4609:e=>{var t="function"===typeof Object.defineProperty?Object.defineProperty:null;e.exports=t},42:(e,t,n)=>{var r=n(4609);e.exports=function(){try{return r({},"x",{}),!0}catch(e){return!1}}},9872:(e,t,n)=>{var r,a=n(42),o=n(5863),i=n(4657);r=a()?o:i,e.exports=r},4657:(e,t,n)=>{var r=n(6132),a=Object.prototype,o=a.toString,i=a.__defineGetter__,l=a.__defineSetter__,s=a.__lookupGetter__,u=a.__lookupSetter__;e.exports=function(e,t,n){var c,f,d,h;if("object"!==typeof e||null===e||"[object Array]"===o.call(e))throw new TypeError(r("invalid argument. First argument must be an object. Value: `%s`.",e));if("object"!==typeof n||null===n||"[object Array]"===o.call(n))throw new TypeError(r("invalid argument. Property descriptor must be an object. Value: `%s`.",n));if((f="value"in n)&&(s.call(e,t)||u.call(e,t)?(c=e.__proto__,e.__proto__=a,delete e[t],e[t]=n.value,e.__proto__=c):e[t]=n.value),d="get"in n,h="set"in n,f&&(d||h))throw new Error("invalid argument. Cannot specify one or more accessors and a value or writable attribute in the property descriptor.");return d&&i&&i.call(e,t,n.get),h&&l&&l.call(e,t,n.set),e}},167:(e,t,n)=>{var r=n(5794);e.exports=r},5794:(e,t,n)=>{var r=n(1393),a=n(6932),o=n(9767);e.exports=function(e){var t,n,i;for(t=r(e),n=a(e),i=0;i{var r=n(8146);e.exports=r},8146:(e,t,n)=>{var r=n(3629),a=n(2357),o=n(6132),i=n(8893).REGEXP,l=a();e.exports=function(e){if(!1===r(e))throw new TypeError(o("invalid argument. Must provide a function. Value: `%s`.",e));return l?e.name:i.exec(e.toString())[1]}},8651:(e,t,n)=>{var r,a=n(3629),o=n(2055),i=n(8955);r=a(Object.getPrototypeOf)?o:i,e.exports=r},9578:(e,t,n)=>{var r=n(8669);e.exports=r},8669:(e,t,n)=>{var r=n(2107),a=n(8651);e.exports=function(e){return null===e||void 0===e?null:(e=r(e),a(e))}},2055:e=>{var t=Object.getPrototypeOf;e.exports=t},8955:(e,t,n)=>{var r=n(9359),a=n(6404);e.exports=function(e){var t=a(e);return t||null===t?t:"[object Function]"===r(e.constructor)?e.constructor.prototype:e instanceof Object?Object.prototype:null}},6404:e=>{e.exports=function(e){return e.__proto__}},8610:(e,t,n)=>{var r=n(5111).isPrimitive,a=n(6132),o=n(1791),i=n(5654),l=n(360),s=n(2914);e.exports=function(e){if(arguments.length){if(!r(e))throw new TypeError(a("invalid argument. Must provide a boolean. Value: `%s`.",e));if(e)return o()}if(s)return s;if(i)return i;if(l)return l;throw new Error("unexpected error. Unable to resolve global object.")}},1791:e=>{e.exports=function(){return new Function("return this;")()}},2914:e=>{var t="object"===typeof globalThis?globalThis:null;e.exports=t},5654:e=>{var t="object"===typeof self?self:null;e.exports=t},360:e=>{var t="object"===typeof window?window:null;e.exports=t},5675:(e,t,n)=>{var r=n(8870);e.exports=r},8870:(e,t,n)=>{var r=n(830),a=n(1317),o=n(3408).isPrimitive,i=n(4689).isPrimitive,l=n(6132);e.exports=function(e,t,n){var s,u;if(!a(e)&&!o(e))throw new TypeError(l("invalid argument. First argument must be an array-like object. Value: `%s`.",e));if(0===(s=e.length))return-1;if(3===arguments.length){if(!i(n))throw new TypeError(l("invalid argument. Third argument must be an integer. Value: `%s`.",n));if(n>=0){if(n>=s)return-1;u=n}else(u=s+n)<0&&(u=0)}else u=0;if(r(t)){for(;u{e.exports=function(e){return Object.keys(Object(e))}},9266:(e,t,n)=>{var r=n(6631),a=n(4574),o=Array.prototype.slice;e.exports=function(e){return r(e)?a(o.call(e)):a(e)}},5027:(e,t,n)=>{var r=n(4574);e.exports=function(){return function(){return 2!==(r(arguments)||"").length}(1,2)}},4535:(e,t,n)=>{var r,a=n(7615),o=n(5675),i=n(6253),l=n(9223),s=n(9608),u=n(4993);r=function(){var e;if("undefined"===i(u))return!1;for(e in u)try{-1===o(s,e)&&a(u,e)&&null!==u[e]&&"object"===i(u[e])&&l(u[e])}catch(t){return!0}return!1}(),e.exports=r},4185:e=>{var t="undefined"!==typeof Object.keys;e.exports=t},2894:(e,t,n)=>{var r=n(9767)(n(7521),"prototype");e.exports=r},2009:(e,t,n)=>{var r=!n(9767)({toString:null},"toString");e.exports=r},6764:e=>{var t="undefined"!==typeof window;e.exports=t},1393:(e,t,n)=>{var r=n(7952);e.exports=r},9223:e=>{e.exports=function(e){return e.constructor&&e.constructor.prototype===e}},4755:(e,t,n)=>{var r=n(4535),a=n(9223),o=n(6764);e.exports=function(e){if(!1===o&&!r)return a(e);try{return a(e)}catch(t){return!1}}},7952:(e,t,n)=>{var r,a=n(5027),o=n(4185),i=n(4574),l=n(9266),s=n(3510);r=o?a()?l:i:s,e.exports=r},3510:(e,t,n)=>{var r=n(4242),a=n(7615),o=n(6631),i=n(2894),l=n(2009),s=n(4755),u=n(9547);e.exports=function(e){var t,n,c,f,d,h,p;if(f=[],o(e)){for(p=0;p0&&!a(e,"0"))for(p=0;p{var t="undefined"===typeof window?void 0:window;e.exports=t},9359:(e,t,n)=>{var r,a=n(9681),o=n(2346),i=n(3460);r=a()?i:o,e.exports=r},2346:(e,t,n)=>{var r=n(8983);e.exports=function(e){return r.call(e)}},3460:(e,t,n)=>{var r=n(7615),a=n(3103),o=n(8983);e.exports=function(e){var t,n,i;if(null===e||void 0===e)return o.call(e);n=e[a],t=r(e,a);try{e[a]=void 0}catch(l){return o.call(e)}return i=o.call(e),t?e[a]=n:delete e[a],i}},8983:e=>{var t=Object.prototype.toString;e.exports=t},3103:(e,t,n)=>{var r=n(2490),a="function"===typeof r?r.toStringTag:"";e.exports=a},7521:(e,t,n)=>{var r=n(2032);e.exports=r},2032:e=>{e.exports=function(){}},8387:(e,t,n)=>{var r=n(2107),a=r.getOwnPropertySymbols;e.exports=function(e){return a(r(e))}},2100:e=>{var t="undefined"!==typeof Object.getOwnPropertySymbols;e.exports=t},6932:(e,t,n)=>{var r,a=n(2100),o=n(8387),i=n(4365);r=a?o:i,e.exports=r},4365:e=>{e.exports=function(){return[]}},5921:(e,t,n)=>{var r=n(6279),a=n(3506),o=n(6087);e.exports=function(){return"function"===typeof r||"object"===typeof o||"function"===typeof a}},3506:(e,t,n)=>{var r=n(8610)(),a=r.document&&r.document.childNodes;e.exports=a},6279:e=>{e.exports=/./},6087:e=>{var t=Int8Array;e.exports=t},6253:(e,t,n)=>{var r=n(5921),a=n(8124),o=n(7466),i=r()?o:a;e.exports=i},8124:(e,t,n)=>{var r=n(2793);e.exports=function(e){var t;return null===e?"null":"object"===(t=typeof e)?r(e).toLowerCase():t}},7466:(e,t,n)=>{var r=n(2793);e.exports=function(e){return r(e).toLowerCase()}},2730:(e,t,n)=>{var r=n(5043),a=n(8853);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;nt}return!1}(t,n,a,r)&&(n=null),r||null===a?function(e){return!!f.call(p,e)||!f.call(h,e)&&(d.test(e)?p[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&"":n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(g,y);m[t]=new v(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(g,y);m[t]=new v(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(g,y);m[t]=new v(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){m[e]=new v(e,1,!1,e.toLowerCase(),null,!1,!1)})),m.xlinkHref=new v("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){m[e]=new v(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,x=Symbol.for("react.element"),_=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),S=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),k=Symbol.for("react.provider"),O=Symbol.for("react.context"),C=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),T=Symbol.for("react.suspense_list"),L=Symbol.for("react.memo"),M=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var j=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var N=Symbol.iterator;function F(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=N&&e[N]||e["@@iterator"])?e:null}var P,I=Object.assign;function D(e){if(void 0===P)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);P=t&&t[1]||""}return"\n"+P+e}var z=!1;function B(e,t){if(!e||z)return"";z=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&"string"===typeof u.stack){for(var a=u.stack.split("\n"),o=r.stack.split("\n"),i=a.length-1,l=o.length-1;1<=i&&0<=l&&a[i]!==o[l];)l--;for(;1<=i&&0<=l;i--,l--)if(a[i]!==o[l]){if(1!==i||1!==l)do{if(i--,0>--l||a[i]!==o[l]){var s="\n"+a[i].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}}while(1<=i&&0<=l);break}}}finally{z=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?D(e):""}function V(e){switch(e.tag){case 5:return D(e.type);case 16:return D("Lazy");case 13:return D("Suspense");case 19:return D("SuspenseList");case 0:case 2:case 15:return e=B(e.type,!1);case 11:return e=B(e.type.render,!1);case 1:return e=B(e.type,!0);default:return""}}function W(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case E:return"Fragment";case _:return"Portal";case R:return"Profiler";case S:return"StrictMode";case A:return"Suspense";case T:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case O:return(e.displayName||"Context")+".Consumer";case k:return(e._context.displayName||"Context")+".Provider";case C:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case L:return null!==(t=e.displayName||null)?t:W(e.type)||"Memo";case M:t=e._payload,e=e._init;try{return W(e(t))}catch(n){}}return null}function H(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return W(t);case 8:return t===S?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t}return null}function U(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function K(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Y(e){e._valueTracker||(e._valueTracker=function(e){var t=K(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function q(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=K(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function $(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function G(e,t){var n=t.checked;return I({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Q(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=U(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function X(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function Z(e,t){X(e,t);var n=U(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,U(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&$(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a"+t.valueOf().toString()+"",t=ue.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function de(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var he={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},pe=["Webkit","ms","Moz","O"];function ve(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||he.hasOwnProperty(e)&&he[e]?(""+t).trim():t+"px"}function me(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=ve(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(he).forEach((function(e){pe.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),he[t]=he[e]}))}));var ge=I({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ye(e,t){if(t){if(ge[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(o(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function xe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var _e=null,Ee=null,Se=null;function Re(e){if(e=ba(e)){if("function"!==typeof _e)throw Error(o(280));var t=e.stateNode;t&&(t=xa(t),_e(e.stateNode,e.type,t))}}function ke(e){Ee?Se?Se.push(e):Se=[e]:Ee=e}function Oe(){if(Ee){var e=Ee,t=Se;if(Se=Ee=null,Re(e),t)for(e=0;e>>=0,0===e?32:31-(lt(e)/st|0)|0},lt=Math.log,st=Math.LN2;var ut=64,ct=4194304;function ft(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function dt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,a=e.suspendedLanes,o=e.pingedLanes,i=268435455&n;if(0!==i){var l=i&~a;0!==l?r=ft(l):0!==(o&=i)&&(r=ft(o))}else 0!==(i=n&~a)?r=ft(i):0!==o&&(r=ft(o));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&a)&&((a=r&-r)>=(o=t&-t)||16===a&&0!==(4194240&o)))return t;if(0!==(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function gt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-it(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-it(n),a=1<=Fn),Dn=String.fromCharCode(32),zn=!1;function Bn(e,t){switch(e){case"keyup":return-1!==jn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Wn=!1;var Hn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Un(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Hn[e.type]:"textarea"===t}function Kn(e,t,n,r){ke(r),0<(t=Yr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Yn=null,qn=null;function $n(e){Dr(e,0)}function Gn(e){if(q(wa(e)))return e}function Qn(e,t){if("change"===e)return t}var Xn=!1;if(c){var Zn;if(c){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"===typeof er.oninput}Zn=Jn}else Zn=!1;Xn=Zn&&(!document.documentMode||9=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ur(r)}}function fr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?fr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function dr(){for(var e=window,t=$();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=$((e=t.contentWindow).document)}return t}function hr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function pr(e){var t=dr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&fr(n.ownerDocument.documentElement,n)){if(null!==r&&hr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var a=n.textContent.length,o=Math.min(r.start,a);r=void 0===r.end?o:Math.min(r.end,a),!e.extend&&o>r&&(a=r,r=o,o=a),a=cr(n,o);var i=cr(n,r);a&&i&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof n.focus&&n.focus(),n=0;n=document.documentMode,mr=null,gr=null,yr=null,br=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==mr||mr!==$(r)||("selectionStart"in(r=mr)&&hr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&sr(yr,r)||(yr=r,0<(r=Yr(gr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=mr)))}function xr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var _r={animationend:xr("Animation","AnimationEnd"),animationiteration:xr("Animation","AnimationIteration"),animationstart:xr("Animation","AnimationStart"),transitionend:xr("Transition","TransitionEnd")},Er={},Sr={};function Rr(e){if(Er[e])return Er[e];if(!_r[e])return e;var t,n=_r[e];for(t in n)if(n.hasOwnProperty(t)&&t in Sr)return Er[e]=n[t];return e}c&&(Sr=document.createElement("div").style,"AnimationEvent"in window||(delete _r.animationend.animation,delete _r.animationiteration.animation,delete _r.animationstart.animation),"TransitionEvent"in window||delete _r.transitionend.transition);var kr=Rr("animationend"),Or=Rr("animationiteration"),Cr=Rr("animationstart"),Ar=Rr("transitionend"),Tr=new Map,Lr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Mr(e,t){Tr.set(e,t),s(t,[e])}for(var jr=0;jrEa||(e.current=_a[Ea],_a[Ea]=null,Ea--)}function ka(e,t){Ea++,_a[Ea]=e.current,e.current=t}var Oa={},Ca=Sa(Oa),Aa=Sa(!1),Ta=Oa;function La(e,t){var n=e.type.contextTypes;if(!n)return Oa;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,o={};for(a in n)o[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ma(e){return null!==(e=e.childContextTypes)&&void 0!==e}function ja(){Ra(Aa),Ra(Ca)}function Na(e,t,n){if(Ca.current!==Oa)throw Error(o(168));ka(Ca,t),ka(Aa,n)}function Fa(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in t))throw Error(o(108,H(e)||"Unknown",a));return I({},n,r)}function Pa(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Oa,Ta=Ca.current,ka(Ca,e),ka(Aa,Aa.current),!0}function Ia(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=Fa(e,t,Ta),r.__reactInternalMemoizedMergedChildContext=e,Ra(Aa),Ra(Ca),ka(Ca,e)):Ra(Aa),ka(Aa,n)}var Da=null,za=!1,Ba=!1;function Va(e){null===Da?Da=[e]:Da.push(e)}function Wa(){if(!Ba&&null!==Da){Ba=!0;var e=0,t=bt;try{var n=Da;for(bt=1;e>=i,a-=i,Qa=1<<32-it(t)+a|n<v?(m=f,f=null):m=f.sibling;var g=h(a,f,l[v],s);if(null===g){null===f&&(f=m);break}e&&f&&null===g.alternate&&t(a,f),o=i(g,o,v),null===c?u=g:c.sibling=g,c=g,f=m}if(v===l.length)return n(a,f),ao&&Za(a,v),u;if(null===f){for(;vm?(g=v,v=null):g=v.sibling;var b=h(a,v,y.value,u);if(null===b){null===v&&(v=g);break}e&&v&&null===b.alternate&&t(a,v),l=i(b,l,m),null===f?c=b:f.sibling=b,f=b,v=g}if(y.done)return n(a,v),ao&&Za(a,m),c;if(null===v){for(;!y.done;m++,y=s.next())null!==(y=d(a,y.value,u))&&(l=i(y,l,m),null===f?c=y:f.sibling=y,f=y);return ao&&Za(a,m),c}for(v=r(a,v);!y.done;m++,y=s.next())null!==(y=p(v,a,m,y.value,u))&&(e&&null!==y.alternate&&v.delete(null===y.key?m:y.key),l=i(y,l,m),null===f?c=y:f.sibling=y,f=y);return e&&v.forEach((function(e){return t(a,e)})),ao&&Za(a,m),c}return function e(r,o,i,s){if("object"===typeof i&&null!==i&&i.type===E&&null===i.key&&(i=i.props.children),"object"===typeof i&&null!==i){switch(i.$$typeof){case x:e:{for(var u=i.key,c=o;null!==c;){if(c.key===u){if((u=i.type)===E){if(7===c.tag){n(r,c.sibling),(o=a(c,i.props.children)).return=r,r=o;break e}}else if(c.elementType===u||"object"===typeof u&&null!==u&&u.$$typeof===M&&Go(u)===c.type){n(r,c.sibling),(o=a(c,i.props)).ref=qo(r,c,i),o.return=r,r=o;break e}n(r,c);break}t(r,c),c=c.sibling}i.type===E?((o=Pu(i.props.children,r.mode,s,i.key)).return=r,r=o):((s=Fu(i.type,i.key,i.props,null,r.mode,s)).ref=qo(r,o,i),s.return=r,r=s)}return l(r);case _:e:{for(c=i.key;null!==o;){if(o.key===c){if(4===o.tag&&o.stateNode.containerInfo===i.containerInfo&&o.stateNode.implementation===i.implementation){n(r,o.sibling),(o=a(o,i.children||[])).return=r,r=o;break e}n(r,o);break}t(r,o),o=o.sibling}(o=zu(i,r.mode,s)).return=r,r=o}return l(r);case M:return e(r,o,(c=i._init)(i._payload),s)}if(te(i))return v(r,o,i,s);if(F(i))return m(r,o,i,s);$o(r,i)}return"string"===typeof i&&""!==i||"number"===typeof i?(i=""+i,null!==o&&6===o.tag?(n(r,o.sibling),(o=a(o,i)).return=r,r=o):(n(r,o),(o=Du(i,r.mode,s)).return=r,r=o),l(r)):n(r,o)}}var Xo=Qo(!0),Zo=Qo(!1),Jo={},ei=Sa(Jo),ti=Sa(Jo),ni=Sa(Jo);function ri(e){if(e===Jo)throw Error(o(174));return e}function ai(e,t){switch(ka(ni,t),ka(ti,e),ka(ei,Jo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:se(null,"");break;default:t=se(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Ra(ei),ka(ei,t)}function oi(){Ra(ei),Ra(ti),Ra(ni)}function ii(e){ri(ni.current);var t=ri(ei.current),n=se(t,e.type);t!==n&&(ka(ti,e),ka(ei,n))}function li(e){ti.current===e&&(Ra(ei),Ra(ti))}var si=Sa(0);function ui(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ci=[];function fi(){for(var e=0;en?n:4,e(!0);var r=hi.transition;hi.transition={};try{e(!1),t()}finally{bt=n,hi.transition=r}}function el(){return Oi().memoizedState}function tl(e,t,n){var r=nu(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rl(e))al(t,n);else if(null!==(n=Ao(e,t,n,r))){ru(n,e,r,tu()),ol(n,t,r)}}function nl(e,t,n){var r=nu(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rl(e))al(t,a);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=o(i,n);if(a.hasEagerState=!0,a.eagerState=l,lr(l,i)){var s=t.interleaved;return null===s?(a.next=a,Co(t)):(a.next=s.next,s.next=a),void(t.interleaved=a)}}catch(u){}null!==(n=Ao(e,t,a,r))&&(ru(n,e,r,a=tu()),ol(n,t,r))}}function rl(e){var t=e.alternate;return e===vi||null!==t&&t===vi}function al(e,t){bi=yi=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ol(e,t,n){if(0!==(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var il={readContext:ko,useCallback:_i,useContext:_i,useEffect:_i,useImperativeHandle:_i,useInsertionEffect:_i,useLayoutEffect:_i,useMemo:_i,useReducer:_i,useRef:_i,useState:_i,useDebugValue:_i,useDeferredValue:_i,useTransition:_i,useMutableSource:_i,useSyncExternalStore:_i,useId:_i,unstable_isNewReconciler:!1},ll={readContext:ko,useCallback:function(e,t){return ki().memoizedState=[e,void 0===t?null:t],e},useContext:ko,useEffect:Hi,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Vi(4194308,4,qi.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Vi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Vi(4,2,e,t)},useMemo:function(e,t){var n=ki();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ki();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=tl.bind(null,vi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},ki().memoizedState=e},useState:Di,useDebugValue:Gi,useDeferredValue:function(e){return ki().memoizedState=e},useTransition:function(){var e=Di(!1),t=e[0];return e=Ji.bind(null,e[1]),ki().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=vi,a=ki();if(ao){if(void 0===n)throw Error(o(407));n=n()}else{if(n=t(),null===Ts)throw Error(o(349));0!==(30&pi)||ji(r,t,n)}a.memoizedState=n;var i={value:n,getSnapshot:t};return a.queue=i,Hi(Fi.bind(null,r,i,e),[e]),r.flags|=2048,zi(9,Ni.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=ki(),t=Ts.identifierPrefix;if(ao){var n=Xa;t=":"+t+"R"+(n=(Qa&~(1<<32-it(Qa)-1)).toString(32)+n),0<(n=wi++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=xi++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},sl={readContext:ko,useCallback:Qi,useContext:ko,useEffect:Ui,useImperativeHandle:$i,useInsertionEffect:Ki,useLayoutEffect:Yi,useMemo:Xi,useReducer:Ai,useRef:Bi,useState:function(){return Ai(Ci)},useDebugValue:Gi,useDeferredValue:function(e){return Zi(Oi(),mi.memoizedState,e)},useTransition:function(){return[Ai(Ci)[0],Oi().memoizedState]},useMutableSource:Li,useSyncExternalStore:Mi,useId:el,unstable_isNewReconciler:!1},ul={readContext:ko,useCallback:Qi,useContext:ko,useEffect:Ui,useImperativeHandle:$i,useInsertionEffect:Ki,useLayoutEffect:Yi,useMemo:Xi,useReducer:Ti,useRef:Bi,useState:function(){return Ti(Ci)},useDebugValue:Gi,useDeferredValue:function(e){var t=Oi();return null===mi?t.memoizedState=e:Zi(t,mi.memoizedState,e)},useTransition:function(){return[Ti(Ci)[0],Oi().memoizedState]},useMutableSource:Li,useSyncExternalStore:Mi,useId:el,unstable_isNewReconciler:!1};function cl(e,t){try{var n="",r=t;do{n+=V(r),r=r.return}while(r);var a=n}catch(o){a="\nError generating stack: "+o.message+"\n"+o.stack}return{value:e,source:t,stack:a,digest:null}}function fl(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function dl(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var hl="function"===typeof WeakMap?WeakMap:Map;function pl(e,t,n){(n=No(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ks||(Ks=!0,Ys=r),dl(0,t)},n}function vl(e,t,n){(n=No(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var a=t.value;n.payload=function(){return r(a)},n.callback=function(){dl(0,t)}}var o=e.stateNode;return null!==o&&"function"===typeof o.componentDidCatch&&(n.callback=function(){dl(0,t),"function"!==typeof r&&(null===qs?qs=new Set([this]):qs.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ml(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new hl;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(a.add(n),e=ku.bind(null,e,t,n),t.then(e,e))}function gl(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function yl(e,t,n,r,a){return 0===(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=No(-1,1)).tag=2,Fo(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=a,e)}var bl=w.ReactCurrentOwner,wl=!1;function xl(e,t,n,r){t.child=null===e?Zo(t,null,n,r):Xo(t,e.child,n,r)}function _l(e,t,n,r,a){n=n.render;var o=t.ref;return Ro(t,a),r=Si(e,t,n,r,o,a),n=Ri(),null===e||wl?(ao&&n&&eo(t),t.flags|=1,xl(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Kl(e,t,a))}function El(e,t,n,r,a){if(null===e){var o=n.type;return"function"!==typeof o||ju(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Fu(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Sl(e,t,o,r,a))}if(o=e.child,0===(e.lanes&a)){var i=o.memoizedProps;if((n=null!==(n=n.compare)?n:sr)(i,r)&&e.ref===t.ref)return Kl(e,t,a)}return t.flags|=1,(e=Nu(o,r)).ref=t.ref,e.return=t,t.child=e}function Sl(e,t,n,r,a){if(null!==e){var o=e.memoizedProps;if(sr(o,r)&&e.ref===t.ref){if(wl=!1,t.pendingProps=r=o,0===(e.lanes&a))return t.lanes=e.lanes,Kl(e,t,a);0!==(131072&e.flags)&&(wl=!0)}}return Ol(e,t,n,r,a)}function Rl(e,t,n){var r=t.pendingProps,a=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ka(Ns,js),js|=n;else{if(0===(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ka(Ns,js),js|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,ka(Ns,js),js|=r}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,ka(Ns,js),js|=r;return xl(e,t,a,n),t.child}function kl(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ol(e,t,n,r,a){var o=Ma(n)?Ta:Ca.current;return o=La(t,o),Ro(t,a),n=Si(e,t,n,r,o,a),r=Ri(),null===e||wl?(ao&&r&&eo(t),t.flags|=1,xl(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Kl(e,t,a))}function Cl(e,t,n,r,a){if(Ma(n)){var o=!0;Pa(t)}else o=!1;if(Ro(t,a),null===t.stateNode)Ul(e,t),Uo(t,n,r),Yo(t,n,r,a),r=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var s=i.context,u=n.contextType;"object"===typeof u&&null!==u?u=ko(u):u=La(t,u=Ma(n)?Ta:Ca.current);var c=n.getDerivedStateFromProps,f="function"===typeof c||"function"===typeof i.getSnapshotBeforeUpdate;f||"function"!==typeof i.UNSAFE_componentWillReceiveProps&&"function"!==typeof i.componentWillReceiveProps||(l!==r||s!==u)&&Ko(t,i,r,u),Lo=!1;var d=t.memoizedState;i.state=d,Do(t,r,i,a),s=t.memoizedState,l!==r||d!==s||Aa.current||Lo?("function"===typeof c&&(Vo(t,n,c,r),s=t.memoizedState),(l=Lo||Ho(t,n,l,r,d,s,u))?(f||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||("function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"===typeof i.componentDidMount&&(t.flags|=4194308)):("function"===typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),i.props=r,i.state=s,i.context=u,r=l):("function"===typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,jo(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:go(t.type,l),i.props=u,f=t.pendingProps,d=i.context,"object"===typeof(s=n.contextType)&&null!==s?s=ko(s):s=La(t,s=Ma(n)?Ta:Ca.current);var h=n.getDerivedStateFromProps;(c="function"===typeof h||"function"===typeof i.getSnapshotBeforeUpdate)||"function"!==typeof i.UNSAFE_componentWillReceiveProps&&"function"!==typeof i.componentWillReceiveProps||(l!==f||d!==s)&&Ko(t,i,r,s),Lo=!1,d=t.memoizedState,i.state=d,Do(t,r,i,a);var p=t.memoizedState;l!==f||d!==p||Aa.current||Lo?("function"===typeof h&&(Vo(t,n,h,r),p=t.memoizedState),(u=Lo||Ho(t,n,u,r,d,p,s)||!1)?(c||"function"!==typeof i.UNSAFE_componentWillUpdate&&"function"!==typeof i.componentWillUpdate||("function"===typeof i.componentWillUpdate&&i.componentWillUpdate(r,p,s),"function"===typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,p,s)),"function"===typeof i.componentDidUpdate&&(t.flags|=4),"function"===typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof i.componentDidUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),i.props=r,i.state=p,i.context=s,r=u):("function"!==typeof i.componentDidUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Al(e,t,n,r,o,a)}function Al(e,t,n,r,a,o){kl(e,t);var i=0!==(128&t.flags);if(!r&&!i)return a&&Ia(t,n,!1),Kl(e,t,o);r=t.stateNode,bl.current=t;var l=i&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Xo(t,e.child,null,o),t.child=Xo(t,null,l,o)):xl(e,t,l,o),t.memoizedState=r.state,a&&Ia(t,n,!0),t.child}function Tl(e){var t=e.stateNode;t.pendingContext?Na(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Na(0,t.context,!1),ai(e,t.containerInfo)}function Ll(e,t,n,r,a){return po(),vo(a),t.flags|=256,xl(e,t,n,r),t.child}var Ml,jl,Nl,Fl,Pl={dehydrated:null,treeContext:null,retryLane:0};function Il(e){return{baseLanes:e,cachePool:null,transitions:null}}function Dl(e,t,n){var r,a=t.pendingProps,i=si.current,l=!1,s=0!==(128&t.flags);if((r=s)||(r=(null===e||null!==e.memoizedState)&&0!==(2&i)),r?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),ka(si,1&i),null===e)return uo(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(s=a.children,e=a.fallback,l?(a=t.mode,l=t.child,s={mode:"hidden",children:s},0===(1&a)&&null!==l?(l.childLanes=0,l.pendingProps=s):l=Iu(s,a,0,null),e=Pu(e,a,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Il(n),t.memoizedState=Pl,e):zl(t,s));if(null!==(i=e.memoizedState)&&null!==(r=i.dehydrated))return function(e,t,n,r,a,i,l){if(n)return 256&t.flags?(t.flags&=-257,Bl(e,t,l,r=fl(Error(o(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,a=t.mode,r=Iu({mode:"visible",children:r.children},a,0,null),(i=Pu(i,a,l,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,0!==(1&t.mode)&&Xo(t,e.child,null,l),t.child.memoizedState=Il(l),t.memoizedState=Pl,i);if(0===(1&t.mode))return Bl(e,t,l,null);if("$!"===a.data){if(r=a.nextSibling&&a.nextSibling.dataset)var s=r.dgst;return r=s,Bl(e,t,l,r=fl(i=Error(o(419)),r,void 0))}if(s=0!==(l&e.childLanes),wl||s){if(null!==(r=Ts)){switch(l&-l){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}0!==(a=0!==(a&(r.suspendedLanes|l))?0:a)&&a!==i.retryLane&&(i.retryLane=a,To(e,a),ru(r,e,a,-1))}return mu(),Bl(e,t,l,r=fl(Error(o(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=Cu.bind(null,e),a._reactRetry=t,null):(e=i.treeContext,ro=ua(a.nextSibling),no=t,ao=!0,oo=null,null!==e&&(qa[$a++]=Qa,qa[$a++]=Xa,qa[$a++]=Ga,Qa=e.id,Xa=e.overflow,Ga=t),t=zl(t,r.children),t.flags|=4096,t)}(e,t,s,a,r,i,n);if(l){l=a.fallback,s=t.mode,r=(i=e.child).sibling;var u={mode:"hidden",children:a.children};return 0===(1&s)&&t.child!==i?((a=t.child).childLanes=0,a.pendingProps=u,t.deletions=null):(a=Nu(i,u)).subtreeFlags=14680064&i.subtreeFlags,null!==r?l=Nu(r,l):(l=Pu(l,s,n,null)).flags|=2,l.return=t,a.return=t,a.sibling=l,t.child=a,a=l,l=t.child,s=null===(s=e.child.memoizedState)?Il(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},l.memoizedState=s,l.childLanes=e.childLanes&~n,t.memoizedState=Pl,a}return e=(l=e.child).sibling,a=Nu(l,{mode:"visible",children:a.children}),0===(1&t.mode)&&(a.lanes=n),a.return=t,a.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null,a}function zl(e,t){return(t=Iu({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Bl(e,t,n,r){return null!==r&&vo(r),Xo(t,e.child,null,n),(e=zl(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Vl(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),So(e.return,t,n)}function Wl(e,t,n,r,a){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=a)}function Hl(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(xl(e,t,r.children,n),0!==(2&(r=si.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Vl(e,n,t);else if(19===e.tag)Vl(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ka(si,r),0===(1&t.mode))t.memoizedState=null;else switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===ui(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),Wl(t,!1,a,n,o);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===ui(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}Wl(t,!0,n,null,o);break;case"together":Wl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ul(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Kl(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Is|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Nu(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Nu(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Yl(e,t){if(!ao)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ql(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=14680064&a.subtreeFlags,r|=14680064&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function $l(e,t,n){var r=t.pendingProps;switch(to(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ql(t),null;case 1:case 17:return Ma(t.type)&&ja(),ql(t),null;case 3:return r=t.stateNode,oi(),Ra(Aa),Ra(Ca),fi(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fo(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==oo&&(lu(oo),oo=null))),jl(e,t),ql(t),null;case 5:li(t);var a=ri(ni.current);if(n=t.type,null!==e&&null!=t.stateNode)Nl(e,t,n,r,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(o(166));return ql(t),null}if(e=ri(ei.current),fo(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[da]=t,r[ha]=i,e=0!==(1&t.mode),n){case"dialog":zr("cancel",r),zr("close",r);break;case"iframe":case"object":case"embed":zr("load",r);break;case"video":case"audio":for(a=0;a<\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),"select"===n&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[da]=t,e[ha]=r,Ml(e,t,!1,!1),t.stateNode=e;e:{switch(s=be(n,r),n){case"dialog":zr("cancel",e),zr("close",e),a=r;break;case"iframe":case"object":case"embed":zr("load",e),a=r;break;case"video":case"audio":for(a=0;aHs&&(t.flags|=128,r=!0,Yl(i,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ui(s))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Yl(i,!0),null===i.tail&&"hidden"===i.tailMode&&!s.alternate&&!ao)return ql(t),null}else 2*Xe()-i.renderingStartTime>Hs&&1073741824!==n&&(t.flags|=128,r=!0,Yl(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=i.last)?n.sibling=s:t.child=s,i.last=s)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Xe(),t.sibling=null,n=si.current,ka(si,r?1&n|2:1&n),t):(ql(t),null);case 22:case 23:return du(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!==(1&t.mode)?0!==(1073741824&js)&&(ql(t),6&t.subtreeFlags&&(t.flags|=8192)):ql(t),null;case 24:case 25:return null}throw Error(o(156,t.tag))}function Gl(e,t){switch(to(t),t.tag){case 1:return Ma(t.type)&&ja(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return oi(),Ra(Aa),Ra(Ca),fi(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return li(t),null;case 13:if(Ra(si),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));po()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Ra(si),null;case 4:return oi(),null;case 10:return Eo(t.type._context),null;case 22:case 23:return du(),null;default:return null}}Ml=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},jl=function(){},Nl=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,ri(ei.current);var o,i=null;switch(n){case"input":a=G(e,a),r=G(e,r),i=[];break;case"select":a=I({},a,{value:void 0}),r=I({},r,{value:void 0}),i=[];break;case"textarea":a=re(e,a),r=re(e,r),i=[];break;default:"function"!==typeof a.onClick&&"function"===typeof r.onClick&&(e.onclick=Jr)}for(c in ye(n,r),n=null,a)if(!r.hasOwnProperty(c)&&a.hasOwnProperty(c)&&null!=a[c])if("style"===c){var s=a[c];for(o in s)s.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(l.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in r){var u=r[c];if(s=null!=a?a[c]:void 0,r.hasOwnProperty(c)&&u!==s&&(null!=u||null!=s))if("style"===c)if(s){for(o in s)!s.hasOwnProperty(o)||u&&u.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in u)u.hasOwnProperty(o)&&s[o]!==u[o]&&(n||(n={}),n[o]=u[o])}else n||(i||(i=[]),i.push(c,n)),n=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,s=s?s.__html:void 0,null!=u&&s!==u&&(i=i||[]).push(c,u)):"children"===c?"string"!==typeof u&&"number"!==typeof u||(i=i||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(l.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&zr("scroll",e),i||s===u||(i=[])):(i=i||[]).push(c,u))}n&&(i=i||[]).push("style",n);var c=i;(t.updateQueue=c)&&(t.flags|=4)}},Fl=function(e,t,n,r){n!==r&&(t.flags|=4)};var Ql=!1,Xl=!1,Zl="function"===typeof WeakSet?WeakSet:Set,Jl=null;function es(e,t){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(r){Ru(e,t,r)}else n.current=null}function ts(e,t,n){try{n()}catch(r){Ru(e,t,r)}}var ns=!1;function rs(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var a=r=r.next;do{if((a.tag&e)===e){var o=a.destroy;a.destroy=void 0,void 0!==o&&ts(t,n,o)}a=a.next}while(a!==r)}}function as(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function os(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"===typeof t?t(e):t.current=e}}function is(e){var t=e.alternate;null!==t&&(e.alternate=null,is(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[da],delete t[ha],delete t[va],delete t[ma],delete t[ga])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ls(e){return 5===e.tag||3===e.tag||4===e.tag}function ss(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ls(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function us(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(us(e,t,n),e=e.sibling;null!==e;)us(e,t,n),e=e.sibling}function cs(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cs(e,t,n),e=e.sibling;null!==e;)cs(e,t,n),e=e.sibling}var fs=null,ds=!1;function hs(e,t,n){for(n=n.child;null!==n;)ps(e,t,n),n=n.sibling}function ps(e,t,n){if(ot&&"function"===typeof ot.onCommitFiberUnmount)try{ot.onCommitFiberUnmount(at,n)}catch(l){}switch(n.tag){case 5:Xl||es(n,t);case 6:var r=fs,a=ds;fs=null,hs(e,t,n),ds=a,null!==(fs=r)&&(ds?(e=fs,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):fs.removeChild(n.stateNode));break;case 18:null!==fs&&(ds?(e=fs,n=n.stateNode,8===e.nodeType?sa(e.parentNode,n):1===e.nodeType&&sa(e,n),Wt(e)):sa(fs,n.stateNode));break;case 4:r=fs,a=ds,fs=n.stateNode.containerInfo,ds=!0,hs(e,t,n),fs=r,ds=a;break;case 0:case 11:case 14:case 15:if(!Xl&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){a=r=r.next;do{var o=a,i=o.destroy;o=o.tag,void 0!==i&&(0!==(2&o)||0!==(4&o))&&ts(n,t,i),a=a.next}while(a!==r)}hs(e,t,n);break;case 1:if(!Xl&&(es(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Ru(n,t,l)}hs(e,t,n);break;case 21:hs(e,t,n);break;case 22:1&n.mode?(Xl=(r=Xl)||null!==n.memoizedState,hs(e,t,n),Xl=r):hs(e,t,n);break;default:hs(e,t,n)}}function vs(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Zl),t.forEach((function(t){var r=Au.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function ms(e,t){var n=t.deletions;if(null!==n)for(var r=0;ra&&(a=l),r&=~i}if(r=a,10<(r=(120>(r=Xe()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Rs(r/1960))-r)){e.timeoutHandle=ra(_u.bind(null,e,Vs,Us),r);break}_u(e,Vs,Us);break;default:throw Error(o(329))}}}return au(e,Xe()),e.callbackNode===n?ou.bind(null,e):null}function iu(e,t){var n=Bs;return e.current.memoizedState.isDehydrated&&(hu(e,t).flags|=256),2!==(e=gu(e,t))&&(t=Vs,Vs=n,null!==t&&lu(t)),e}function lu(e){null===Vs?Vs=e:Vs.push.apply(Vs,e)}function su(e,t){for(t&=~zs,t&=~Ds,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0e?16:e,null===Gs)var r=!1;else{if(e=Gs,Gs=null,Qs=0,0!==(6&As))throw Error(o(331));var a=As;for(As|=4,Jl=e.current;null!==Jl;){var i=Jl,l=i.child;if(0!==(16&Jl.flags)){var s=i.deletions;if(null!==s){for(var u=0;uXe()-Ws?hu(e,0):zs|=n),au(e,t)}function Ou(e,t){0===t&&(0===(1&e.mode)?t=1:(t=ct,0===(130023424&(ct<<=1))&&(ct=4194304)));var n=tu();null!==(e=To(e,t))&&(gt(e,t,n),au(e,n))}function Cu(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Ou(e,n)}function Au(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(o(314))}null!==r&&r.delete(t),Ou(e,n)}function Tu(e,t){return qe(e,t)}function Lu(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Mu(e,t,n,r){return new Lu(e,t,n,r)}function ju(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Nu(e,t){var n=e.alternate;return null===n?((n=Mu(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Fu(e,t,n,r,a,i){var l=2;if(r=e,"function"===typeof e)ju(e)&&(l=1);else if("string"===typeof e)l=5;else e:switch(e){case E:return Pu(n.children,a,i,t);case S:l=8,a|=8;break;case R:return(e=Mu(12,n,t,2|a)).elementType=R,e.lanes=i,e;case A:return(e=Mu(13,n,t,a)).elementType=A,e.lanes=i,e;case T:return(e=Mu(19,n,t,a)).elementType=T,e.lanes=i,e;case j:return Iu(n,a,i,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case k:l=10;break e;case O:l=9;break e;case C:l=11;break e;case L:l=14;break e;case M:l=16,r=null;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Mu(l,n,t,a)).elementType=e,t.type=r,t.lanes=i,t}function Pu(e,t,n,r){return(e=Mu(7,e,r,t)).lanes=n,e}function Iu(e,t,n,r){return(e=Mu(22,e,r,t)).elementType=j,e.lanes=n,e.stateNode={isHidden:!1},e}function Du(e,t,n){return(e=Mu(6,e,null,t)).lanes=n,e}function zu(e,t,n){return(t=Mu(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Bu(e,t,n,r,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=mt(0),this.expirationTimes=mt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mt(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function Vu(e,t,n,r,a,o,i,l,s){return e=new Bu(e,t,n,l,s),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Mu(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Mo(o),e}function Wu(e){if(!e)return Oa;e:{if(We(e=e._reactInternals)!==e||1!==e.tag)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ma(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(o(171))}if(1===e.tag){var n=e.type;if(Ma(n))return Fa(e,n,t)}return t}function Hu(e,t,n,r,a,o,i,l,s){return(e=Vu(n,r,!0,e,0,o,0,l,s)).context=Wu(null),n=e.current,(o=No(r=tu(),a=nu(n))).callback=void 0!==t&&null!==t?t:null,Fo(n,o,a),e.current.lanes=a,gt(e,a,r),au(e,r),e}function Uu(e,t,n,r){var a=t.current,o=tu(),i=nu(a);return n=Wu(n),null===t.context?t.context=n:t.pendingContext=n,(t=No(o,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Fo(a,t,i))&&(ru(e,a,i,o),Po(e,a,i)),i}function Ku(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Yu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n{var r=n(7950);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},7950:(e,t,n)=>{!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(2730)},1153:(e,t,n)=>{var r=n(5043),a=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,l=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,o={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)i.call(t,r)&&!s.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:a,type:e,key:u,ref:c,props:o,_owner:l.current}}t.Fragment=o,t.jsx=u,t.jsxs=u},4202:(e,t)=>{var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),h=Symbol.iterator;var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,m={};function g(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||p}function y(){}function b(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||p}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=g.prototype;var w=b.prototype=new y;w.constructor=b,v(w,g.prototype),w.isPureReactComponent=!0;var x=Array.isArray,_=Object.prototype.hasOwnProperty,E={current:null},S={key:!0,ref:!0,__self:!0,__source:!0};function R(e,t,r){var a,o={},i=null,l=null;if(null!=t)for(a in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(i=""+t.key),t)_.call(t,a)&&!S.hasOwnProperty(a)&&(o[a]=t[a]);var s=arguments.length-2;if(1===s)o.children=r;else if(1{e.exports=n(4202)},579:(e,t,n)=>{e.exports=n(1153)},7234:(e,t)=>{function n(e,t){var n=e.length;e.push(t);e:for(;0>>1,a=e[r];if(!(0>>1;ro(s,n))uo(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else{if(!(uo(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var l=Date,s=l.now();t.unstable_now=function(){return l.now()-s}}var u=[],c=[],f=1,d=null,h=3,p=!1,v=!1,m=!1,g="function"===typeof setTimeout?setTimeout:null,y="function"===typeof clearTimeout?clearTimeout:null,b="undefined"!==typeof setImmediate?setImmediate:null;function w(e){for(var t=r(c);null!==t;){if(null===t.callback)a(c);else{if(!(t.startTime<=e))break;a(c),t.sortIndex=t.expirationTime,n(u,t)}t=r(c)}}function x(e){if(m=!1,w(e),!v)if(null!==r(u))v=!0,j(_);else{var t=r(c);null!==t&&N(x,t.startTime-e)}}function _(e,n){v=!1,m&&(m=!1,y(k),k=-1),p=!0;var o=h;try{for(w(n),d=r(u);null!==d&&(!(d.expirationTime>n)||e&&!A());){var i=d.callback;if("function"===typeof i){d.callback=null,h=d.priorityLevel;var l=i(d.expirationTime<=n);n=t.unstable_now(),"function"===typeof l?d.callback=l:d===r(u)&&a(u),w(n)}else a(u);d=r(u)}if(null!==d)var s=!0;else{var f=r(c);null!==f&&N(x,f.startTime-n),s=!1}return s}finally{d=null,h=o,p=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var E,S=!1,R=null,k=-1,O=5,C=-1;function A(){return!(t.unstable_now()-Ce||125i?(e.sortIndex=o,n(c,e),null===r(u)&&e===r(c)&&(m?(y(k),k=-1):m=!0,N(x,o-i))):(e.sortIndex=l,n(u,e),v||p||(v=!0,j(_))),e},t.unstable_shouldYield=A,t.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}}},8853:(e,t,n)=>{e.exports=n(7234)},2722:e=>{e.exports=JSON.parse('["Complex64Array","Complex128Array"]')},2447:e=>{e.exports=JSON.parse('["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"]')},9608:e=>{e.exports=JSON.parse('["console","external","frame","frameElement","frames","innerHeight","innerWidth","outerHeight","outerWidth","pageXOffset","pageYOffset","parent","scrollLeft","scrollTop","scrollX","scrollY","self","webkitIndexedDB","webkitStorageInfo","window"]')},9547:e=>{e.exports=JSON.parse('["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"]')}},t={};function n(r){var a=t[r];if(void 0!==a)return a.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e=n(5043),t=n(4391),r=n(3789),a=n.n(r),o=n(9121),i=n.n(o);const l=i().MAX+1;class s{constructor(e){this.mt=void 0,this.bt=void 0,this.mt=i().factory({seed:e}),this.bt=a().factory({state:this.mt.state,copy:!1})}chance(e){return this.mt()e.bid>0)),n=t.reduce(((e,t)=>e+t.bid),0);let r=this.uniform({max:n});for(const{bid:a,item:o}of t)if(r-=a,r<=0)return o;return t[t.length-1].item}shuffle(e){const t=[];for(let n=0;nthis.prng(u.pickArchitect,e),this.prime=e=>this.prng(u.prime,e),this.pearl=e=>this.prng(u.pearl,e),this.rough=e=>this.prng(u.rough,e),this.placeRechargeSeam=e=>this.prng(u.placeRechargeSeam,e),this.placeBuildings=e=>this.prng(u.placeBuildings,e),this.placeCrystals=e=>this.prng(u.placeCrystals,e),this.placeOre=e=>this.prng(u.placeOre,e),this.placeLandslides=e=>this.prng(u.placeLandslides,e),this.placeErosion=e=>this.prng(u.placeErosion,e),this.placeEntities=e=>this.prng(u.placeEntities,e),this.lore=e=>this.prng(u.lore,e),this.script=e=>this.prng(u.script,e),this.monsterSpawnScript=e=>this.prng(u.monsterSpawnScript,e),this.seed=e,0===e&&(e=1999);const t=i().factory({seed:e}),n=Object.keys(u).length,r=[];for(let a=0;a3?n.uniformInt({min:1,max:r/2}):1,o=n.betaInt({a:1.4,b:1.4,...{rock:{min:0,max:4},ice:{min:0,max:2},lava:{min:4,max:16}}[t]});return{waterPlans:r,waterLakes:a,lavaPlans:o,lavaLakes:o>3?n.uniformInt({min:1,max:Math.min(o/2,3)}):1,erosionPlans:o>0?n.betaInt({rock:{a:.8,b:1.4,min:0,max:6},ice:{a:.5,b:1.8,min:0,max:4},lava:{a:1.4,b:1.4,min:0,max:16}}[t]):0}}function v(e){const t=new c(e.seed),n={biome:t.init(f.biome).uniformChoice(["rock","ice","lava"]),hasMonsters:t.init(f.hasMonsters).chance(.75),targetSize:t.init(f.targetSize).uniformInt({min:50,max:78}),...e},r=t.init(f.heightTargetRange).betaInt({rock:{a:3,b:1,min:100,max:500},ice:{a:1,b:3,min:100,max:500},lava:{a:2,b:1.5,min:100,max:500}}[n.biome]);return{...d,...h[n.biome],...p(t,n.biome),heightTargetRange:r,...n,hasOverrides:Object.keys(e).length>1}}const m={contextInput:"style_contextInput__1OoGc",section:"style_section__UU5kL",subsection:"style_subsection__V6nKB",inputRow:"style_inputRow__e-kmi",icon:"style_icon__w+PGc",inactive:"style_inactive__-rc9v",invisible:"style_invisible__I4pew",override:"style_override__ZXWWz",seed:"style_seed__gS1FQ",showAdvanced:"style_showAdvanced__sTHS2",curve:"style_curve__v3DHl"},g=[0,0],y=[0,-1],b=[1,-1],w=[1,0],x=[1,1],_=[0,1],E=[-1,1],S=[-1,0],R=[-1,-1],k=[y,_,w,S],O=[y,b,w,x,_,E,S,R];function C(e,t){let[n,r]=e,[a,o]=t;return[n+a,r+o]}function*A(e,t){let n=Math.floor(e[0]),r=Math.floor(e[1]);const a=Math.floor(t[0]),o=Math.floor(t[1]),i=Math.abs(a-n),l=a>n?1:-1,s=-Math.abs(o-r),u=o>r?1:-1;let c=i+s;for(;yield[n,r],n!==a||r!==o;){const e=2*c,t=e>=s,f=e<=i;if(t){if(n===a)break;c+=s,n+=l}if(f){if(t&&(yield[n,r]),r===o)break;c+=i,r+=u}}}function T(e){return(180*e/Math.PI+180)%360-180}function L(e){let[t,n]=e;return[-t,-n]}function M(e){let[t,n]=e;return[n,-t]}function j(e){let[t,n]=e;return[-n,t]}var N=n(579);const F=e=>{let{of:t,choices:n,update:r,context:a,contextWithDefaults:o}=e;return(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)("p",{children:t}),(0,N.jsx)("div",{className:m.inputRow,children:n.map((e=>{const n=[m.choice],i=a[t]===e;i&&n.push(m.override);const l=(null===o||void 0===o?void 0:o[t])===e;return n.push(l?m.active:m.inactive),(0,N.jsx)("button",{className:n.join(" "),onClick:()=>{r({[t]:i?void 0:e})},children:"".concat(e)},"".concat(e))}))})]})},P=e=>{var t,n,r,a,o,i;let{of:l,min:s,max:u,step:c,update:f,context:d,contextWithDefaults:h}=e;return(0,N.jsxs)(N.Fragment,{children:[(0,N.jsxs)("p",{children:[l,":"]}),(0,N.jsxs)("p",{children:[null===h||void 0===h||null===(t=h[l])||void 0===t||null===(n=t.base)||void 0===n?void 0:n.toFixed(2),","," ",null===h||void 0===h||null===(r=h[l])||void 0===r||null===(a=r.hops)||void 0===a?void 0:a.toFixed(2),","," ",null===h||void 0===h||null===(o=h[l])||void 0===o||null===(i=o.order)||void 0===i?void 0:i.toFixed(2)]}),(0,N.jsxs)("div",{className:m.inputRow,children:[(0,N.jsx)("div",{className:m.curve,children:["base","hops","order"].map((e=>{var t,n;const r=null!==(t=null===h||void 0===h||null===(n=h[l])||void 0===n?void 0:n[e])&&void 0!==t?t:s;return(0,N.jsx)("input",{className:m.slider,type:"range",min:s,max:u,step:c,value:r,style:{"--completion":"".concat(100*(r-s)/(u-s),"%")},onChange:t=>function(e,t){f({[l]:{...null===h||void 0===h?void 0:h[l],...null===d||void 0===d?void 0:d[l],[e]:t}})}(e,t.target.valueAsNumber)},e)}))}),l in d?(0,N.jsx)("button",{className:"".concat(m.icon," ").concat(m.override),onClick:()=>f({[l]:void 0}),children:"undo"}):(0,N.jsx)("div",{className:"".concat(m.icon," ").concat(m.invisible)})]})]})},I=e=>{var t,n;let{of:r,min:a,max:o,percent:i,angle:l,step:s,update:u,context:c,contextWithDefaults:f}=e;const d=null!==(t=null!==(n=c[r])&&void 0!==n?n:null===f||void 0===f?void 0:f[r])&&void 0!==t?t:a;return(0,N.jsxs)(N.Fragment,{children:[(0,N.jsxs)("p",{children:[r,":"," ",i?(0,N.jsxs)(N.Fragment,{children:[(100*d).toFixed(),"%"]}):l?(0,N.jsxs)(N.Fragment,{children:[T(d).toFixed(),"\xb0"]}):d]}),(0,N.jsxs)("div",{className:m.inputRow,children:[(0,N.jsx)("input",{className:m.slider,type:"range",min:a,max:o,step:s||(i?.01:l?Math.PI/36:1),value:d,style:{"--completion":"".concat(100*(d-a)/(o-a),"%")},onChange:e=>u({[r]:e.target.valueAsNumber})}),void 0===c[r]?(0,N.jsx)("div",{className:"".concat(m.icon," ").concat(m.invisible)}):(0,N.jsx)("button",{className:"".concat(m.icon," ").concat(m.override),onClick:()=>u({[r]:void 0}),children:"undo"})]})]})},D=11102230246251565e-32,z=134217729,B=(3+8*D)*D;function V(e,t,n,r,a){let o,i,l,s,u=t[0],c=r[0],f=0,d=0;c>u===c>-u?(o=u,u=t[++f]):(o=c,c=r[++d]);let h=0;if(fu===c>-u?(i=u+o,l=o-(i-u),u=t[++f]):(i=c+o,l=o-(i-c),c=r[++d]),o=i,0!==l&&(a[h++]=l);fu===c>-u?(i=o+u,s=i-o,l=o-(i-s)+(u-s),u=t[++f]):(i=o+c,s=i-o,l=o-(i-s)+(c-s),c=r[++d]),o=i,0!==l&&(a[h++]=l);for(;f=33306690738754716e-32*u?s:-function(e,t,n,r,a,o,i){let l,s,u,c,f,d,h,p,v,m,g,y,b,w,x,_,E,S;const R=e-a,k=n-a,O=t-o,C=r-o;w=R*C,d=z*R,h=d-(d-R),p=R-h,d=z*C,v=d-(d-C),m=C-v,x=p*m-(w-h*v-p*v-h*m),_=O*k,d=z*O,h=d-(d-O),p=O-h,d=z*k,v=d-(d-k),m=k-v,E=p*m-(_-h*v-p*v-h*m),g=x-E,f=x-g,K[0]=x-(g+f)+(f-E),y=w+g,f=y-w,b=w-(y-f)+(g-f),g=b-_,f=b-g,K[1]=b-(g+f)+(f-_),S=y+g,f=S-y,K[2]=y-(S-f)+(g-f),K[3]=S;let A=function(e,t){let n=t[0];for(let r=1;r=T||-A>=T)return A;if(f=e-R,l=e-(R+f)+(f-a),f=n-k,u=n-(k+f)+(f-a),f=t-O,s=t-(O+f)+(f-o),f=r-C,c=r-(C+f)+(f-o),0===l&&0===s&&0===u&&0===c)return A;if(T=U*i+B*Math.abs(A),A+=R*c+C*l-(O*u+k*s),A>=T||-A>=T)return A;w=l*C,d=z*l,h=d-(d-l),p=l-h,d=z*C,v=d-(d-C),m=C-v,x=p*m-(w-h*v-p*v-h*m),_=s*k,d=z*s,h=d-(d-s),p=s-h,d=z*k,v=d-(d-k),m=k-v,E=p*m-(_-h*v-p*v-h*m),g=x-E,f=x-g,G[0]=x-(g+f)+(f-E),y=w+g,f=y-w,b=w-(y-f)+(g-f),g=b-_,f=b-g,G[1]=b-(g+f)+(f-_),S=y+g,f=S-y,G[2]=y-(S-f)+(g-f),G[3]=S;const L=V(4,K,4,G,Y);w=R*c,d=z*R,h=d-(d-R),p=R-h,d=z*c,v=d-(d-c),m=c-v,x=p*m-(w-h*v-p*v-h*m),_=O*u,d=z*O,h=d-(d-O),p=O-h,d=z*u,v=d-(d-u),m=u-v,E=p*m-(_-h*v-p*v-h*m),g=x-E,f=x-g,G[0]=x-(g+f)+(f-E),y=w+g,f=y-w,b=w-(y-f)+(g-f),g=b-_,f=b-g,G[1]=b-(g+f)+(f-_),S=y+g,f=S-y,G[2]=y-(S-f)+(g-f),G[3]=S;const M=V(L,Y,4,G,q);w=l*c,d=z*l,h=d-(d-l),p=l-h,d=z*c,v=d-(d-c),m=c-v,x=p*m-(w-h*v-p*v-h*m),_=s*u,d=z*s,h=d-(d-s),p=s-h,d=z*u,v=d-(d-u),m=u-v,E=p*m-(_-h*v-p*v-h*m),g=x-E,f=x-g,G[0]=x-(g+f)+(f-E),y=w+g,f=y-w,b=w-(y-f)+(g-f),g=b-_,f=b-g,G[1]=b-(g+f)+(f-_),S=y+g,f=S-y,G[2]=y-(S-f)+(g-f),G[3]=S;const j=V(M,q,4,G,$);return $[j-1]}(e,t,n,r,a,o,u)}W(4),W(4),W(4),W(4),W(4),W(4),W(4),W(4),W(4),W(8),W(8),W(8),W(4),W(8),W(8),W(8),W(12);W(192),W(192);W(4),W(4),W(4),W(4),W(4),W(4),W(4),W(4),W(8),W(8),W(8),W(8),W(8),W(8),W(8),W(8),W(8),W(4),W(4),W(4),W(8),W(16),W(16),W(16),W(32),W(32),W(48),W(64);W(1152),W(1152);W(4),W(4),W(4),W(4),W(4),W(4),W(4),W(4),W(4),W(4),W(24),W(24),W(24),W(24),W(24),W(24),W(24),W(24),W(24),W(24),W(1152),W(1152),W(1152),W(1152),W(1152),W(2304),W(2304),W(3456),W(5760),W(8),W(8),W(8),W(16),W(24),W(48),W(48),W(96),W(192),W(384),W(384),W(384),W(768);W(96),W(96),W(96),W(1152);const X=Math.pow(2,-52),Z=new Uint32Array(512);class J{static from(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:oe,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ie;const r=e.length,a=new Float64Array(2*r);for(let o=0;o>1;if(t>0&&"number"!==typeof e[0])throw new Error("Expected coords to contain numbers.");this.coords=e;const n=Math.max(2*t-5,0);this._triangles=new Uint32Array(3*n),this._halfedges=new Int32Array(3*n),this._hashSize=Math.ceil(Math.sqrt(t)),this._hullPrev=new Uint32Array(t),this._hullNext=new Uint32Array(t),this._hullTri=new Uint32Array(t),this._hullHash=new Int32Array(this._hashSize),this._ids=new Uint32Array(t),this._dists=new Float64Array(t),this.update()}update(){const{coords:e,_hullPrev:t,_hullNext:n,_hullTri:r,_hullHash:a}=this,o=e.length>>1;let i=1/0,l=1/0,s=-1/0,u=-1/0;for(let S=0;Ss&&(s=t),n>u&&(u=n),this._ids[S]=S}const c=(i+s)/2,f=(l+u)/2;let d,h,p;for(let S=0,R=1/0;S0&&(h=S,R=t)}let g=e[2*h],y=e[2*h+1],b=1/0;for(let S=0;S