UNPKG

unleash-server

Version:

Unleash is an enterprise ready feature toggles service. It provides different strategies for handling feature toggles.

31 lines • 2.03 MB
var UH=Object.defineProperty;var WH=(e,t,n)=>t in e?UH(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Wo=(e,t,n)=>(WH(e,typeof t!="symbol"?t+"":t,n),n);function GH(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(r,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerpolicy&&(i.referrerPolicy=o.referrerpolicy),o.crossorigin==="use-credentials"?i.credentials="include":o.crossorigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();var Ao=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof Ao<"u"&&Ao,ri={searchParams:"URLSearchParams"in Ao,iterable:"Symbol"in Ao&&"iterator"in Symbol,blob:"FileReader"in Ao&&"Blob"in Ao&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in Ao,arrayBuffer:"ArrayBuffer"in Ao};function qH(e){return e&&DataView.prototype.isPrototypeOf(e)}if(ri.arrayBuffer)var YH=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],ZH=ArrayBuffer.isView||function(e){return e&&YH.indexOf(Object.prototype.toString.call(e))>-1};function eh(e){if(typeof e!="string"&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||e==="")throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function Lv(e){return typeof e!="string"&&(e=String(e)),e}function Dv(e){var t={next:function(){var n=e.shift();return{done:n===void 0,value:n}}};return ri.iterable&&(t[Symbol.iterator]=function(){return t}),t}function no(e){this.map={},e instanceof no?e.forEach(function(t,n){this.append(n,t)},this):Array.isArray(e)?e.forEach(function(t){this.append(t[0],t[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}no.prototype.append=function(e,t){e=eh(e),t=Lv(t);var n=this.map[e];this.map[e]=n?n+", "+t:t};no.prototype.delete=function(e){delete this.map[eh(e)]};no.prototype.get=function(e){return e=eh(e),this.has(e)?this.map[e]:null};no.prototype.has=function(e){return this.map.hasOwnProperty(eh(e))};no.prototype.set=function(e,t){this.map[eh(e)]=Lv(t)};no.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)};no.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),Dv(e)};no.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),Dv(e)};no.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),Dv(e)};ri.iterable&&(no.prototype[Symbol.iterator]=no.prototype.entries);function E3(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function iO(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function KH(e){var t=new FileReader,n=iO(t);return t.readAsArrayBuffer(e),n}function XH(e){var t=new FileReader,n=iO(t);return t.readAsText(e),n}function JH(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}function a_(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function aO(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?typeof e=="string"?this._bodyText=e:ri.blob&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:ri.formData&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:ri.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():ri.arrayBuffer&&ri.blob&&qH(e)?(this._bodyArrayBuffer=a_(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):ri.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||ZH(e))?this._bodyArrayBuffer=a_(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||(typeof e=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):ri.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},ri.blob&&(this.blob=function(){var e=E3(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=E3(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else return this.blob().then(KH)}),this.text=function(){var e=E3(this);if(e)return e;if(this._bodyBlob)return XH(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(JH(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},ri.formData&&(this.formData=function(){return this.text().then(tU)}),this.json=function(){return this.text().then(JSON.parse)},this}var QH=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function eU(e){var t=e.toUpperCase();return QH.indexOf(t)>-1?t:e}function Xc(e,t){if(!(this instanceof Xc))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{};var n=t.body;if(e instanceof Xc){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new no(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,!n&&e._bodyInit!=null&&(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",(t.headers||!this.headers)&&(this.headers=new no(t.headers)),this.method=eU(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&n)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(n),(this.method==="GET"||this.method==="HEAD")&&(t.cache==="no-store"||t.cache==="no-cache")){var r=/([?&])_=[^&]*/;if(r.test(this.url))this.url=this.url.replace(r,"$1_="+new Date().getTime());else{var o=/\?/;this.url+=(o.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}Xc.prototype.clone=function(){return new Xc(this,{body:this._bodyInit})};function tU(e){var t=new FormData;return e.trim().split("&").forEach(function(n){if(n){var r=n.split("="),o=r.shift().replace(/\+/g," "),i=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(o),decodeURIComponent(i))}}),t}function nU(e){var t=new no,n=e.replace(/\r?\n[\t ]+/g," ");return n.split("\r").map(function(r){return r.indexOf(` `)===0?r.substr(1,r.length):r}).forEach(function(r){var o=r.split(":"),i=o.shift().trim();if(i){var a=o.join(":").trim();t.append(i,a)}}),t}aO.call(Xc.prototype);function ds(e,t){if(!(this instanceof ds))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=t.status===void 0?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText===void 0?"":""+t.statusText,this.headers=new no(t.headers),this.url=t.url||"",this._initBody(e)}aO.call(ds.prototype);ds.prototype.clone=function(){return new ds(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new no(this.headers),url:this.url})};ds.error=function(){var e=new ds(null,{status:0,statusText:""});return e.type="error",e};var rU=[301,302,303,307,308];ds.redirect=function(e,t){if(rU.indexOf(t)===-1)throw new RangeError("Invalid status code");return new ds(null,{status:t,headers:{location:e}})};var Pc=Ao.DOMException;try{new Pc}catch{Pc=function(t,n){this.message=t,this.name=n;var r=Error(t);this.stack=r.stack},Pc.prototype=Object.create(Error.prototype),Pc.prototype.constructor=Pc}function sO(e,t){return new Promise(function(n,r){var o=new Xc(e,t);if(o.signal&&o.signal.aborted)return r(new Pc("Aborted","AbortError"));var i=new XMLHttpRequest;function a(){i.abort()}i.onload=function(){var c={status:i.status,statusText:i.statusText,headers:nU(i.getAllResponseHeaders()||"")};c.url="responseURL"in i?i.responseURL:c.headers.get("X-Request-URL");var u="response"in i?i.response:i.responseText;setTimeout(function(){n(new ds(u,c))},0)},i.onerror=function(){setTimeout(function(){r(new TypeError("Network request failed"))},0)},i.ontimeout=function(){setTimeout(function(){r(new TypeError("Network request failed"))},0)},i.onabort=function(){setTimeout(function(){r(new Pc("Aborted","AbortError"))},0)};function l(c){try{return c===""&&Ao.location.href?Ao.location.href:c}catch{return c}}i.open(o.method,l(o.url),!0),o.credentials==="include"?i.withCredentials=!0:o.credentials==="omit"&&(i.withCredentials=!1),"responseType"in i&&(ri.blob?i.responseType="blob":ri.arrayBuffer&&o.headers.get("Content-Type")&&o.headers.get("Content-Type").indexOf("application/octet-stream")!==-1&&(i.responseType="arraybuffer")),t&&typeof t.headers=="object"&&!(t.headers instanceof no)?Object.getOwnPropertyNames(t.headers).forEach(function(c){i.setRequestHeader(c,Lv(t.headers[c]))}):o.headers.forEach(function(c,u){i.setRequestHeader(u,c)}),o.signal&&(o.signal.addEventListener("abort",a),i.onreadystatechange=function(){i.readyState===4&&o.signal.removeEventListener("abort",a)}),i.send(typeof o._bodyInit>"u"?null:o._bodyInit)})}sO.polyfill=!0;Ao.fetch||(Ao.fetch=sO,Ao.Headers=no,Ao.Request=Xc,Ao.Response=ds);var rr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Bv(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function qd(e){var t=e.default;if(typeof t=="function"){var n=function(){return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var oU={exports:{}};(function(e){var t=function(n){var r=Object.prototype,o=r.hasOwnProperty,i,a=typeof Symbol=="function"?Symbol:{},l=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function d(U,z,H){return Object.defineProperty(U,z,{value:H,enumerable:!0,configurable:!0,writable:!0}),U[z]}try{d({},"")}catch{d=function(z,H,Y){return z[H]=Y}}function p(U,z,H,Y){var K=z&&z.prototype instanceof v?z:v,ee=Object.create(K.prototype),J=new M(Y||[]);return ee._invoke=N(U,H,J),ee}n.wrap=p;function f(U,z,H){try{return{type:"normal",arg:U.call(z,H)}}catch(Y){return{type:"throw",arg:Y}}}var m="suspendedStart",g="suspendedYield",y="executing",b="completed",C={};function v(){}function w(){}function S(){}var _={};d(_,l,function(){return this});var T=Object.getPrototypeOf,k=T&&T(T(B([])));k&&k!==r&&o.call(k,l)&&(_=k);var R=S.prototype=v.prototype=Object.create(_);w.prototype=S,d(R,"constructor",S),d(S,"constructor",w),w.displayName=d(S,u,"GeneratorFunction");function $(U){["next","throw","return"].forEach(function(z){d(U,z,function(H){return this._invoke(z,H)})})}n.isGeneratorFunction=function(U){var z=typeof U=="function"&&U.constructor;return z?z===w||(z.displayName||z.name)==="GeneratorFunction":!1},n.mark=function(U){return Object.setPrototypeOf?Object.setPrototypeOf(U,S):(U.__proto__=S,d(U,u,"GeneratorFunction")),U.prototype=Object.create(R),U},n.awrap=function(U){return{__await:U}};function P(U,z){function H(ee,J,oe,ce){var me=f(U[ee],U,J);if(me.type==="throw")ce(me.arg);else{var Ce=me.arg,de=Ce.value;return de&&typeof de=="object"&&o.call(de,"__await")?z.resolve(de.__await).then(function(Ve){H("next",Ve,oe,ce)},function(Ve){H("throw",Ve,oe,ce)}):z.resolve(de).then(function(Ve){Ce.value=Ve,oe(Ce)},function(Ve){return H("throw",Ve,oe,ce)})}}var Y;function K(ee,J){function oe(){return new z(function(ce,me){H(ee,J,ce,me)})}return Y=Y?Y.then(oe,oe):oe()}this._invoke=K}$(P.prototype),d(P.prototype,c,function(){return this}),n.AsyncIterator=P,n.async=function(U,z,H,Y,K){K===void 0&&(K=Promise);var ee=new P(p(U,z,H,Y),K);return n.isGeneratorFunction(z)?ee:ee.next().then(function(J){return J.done?J.value:ee.next()})};function N(U,z,H){var Y=m;return function(ee,J){if(Y===y)throw new Error("Generator is already running");if(Y===b){if(ee==="throw")throw J;return G()}for(H.method=ee,H.arg=J;;){var oe=H.delegate;if(oe){var ce=O(oe,H);if(ce){if(ce===C)continue;return ce}}if(H.method==="next")H.sent=H._sent=H.arg;else if(H.method==="throw"){if(Y===m)throw Y=b,H.arg;H.dispatchException(H.arg)}else H.method==="return"&&H.abrupt("return",H.arg);Y=y;var me=f(U,z,H);if(me.type==="normal"){if(Y=H.done?b:g,me.arg===C)continue;return{value:me.arg,done:H.done}}else me.type==="throw"&&(Y=b,H.method="throw",H.arg=me.arg)}}}function O(U,z){var H=U.iterator[z.method];if(H===i){if(z.delegate=null,z.method==="throw"){if(U.iterator.return&&(z.method="return",z.arg=i,O(U,z),z.method==="throw"))return C;z.method="throw",z.arg=new TypeError("The iterator does not provide a 'throw' method")}return C}var Y=f(H,U.iterator,z.arg);if(Y.type==="throw")return z.method="throw",z.arg=Y.arg,z.delegate=null,C;var K=Y.arg;if(!K)return z.method="throw",z.arg=new TypeError("iterator result is not an object"),z.delegate=null,C;if(K.done)z[U.resultName]=K.value,z.next=U.nextLoc,z.method!=="return"&&(z.method="next",z.arg=i);else return K;return z.delegate=null,C}$(R),d(R,u,"Generator"),d(R,l,function(){return this}),d(R,"toString",function(){return"[object Generator]"});function V(U){var z={tryLoc:U[0]};1 in U&&(z.catchLoc=U[1]),2 in U&&(z.finallyLoc=U[2],z.afterLoc=U[3]),this.tryEntries.push(z)}function I(U){var z=U.completion||{};z.type="normal",delete z.arg,U.completion=z}function M(U){this.tryEntries=[{tryLoc:"root"}],U.forEach(V,this),this.reset(!0)}n.keys=function(U){var z=[];for(var H in U)z.push(H);return z.reverse(),function Y(){for(;z.length;){var K=z.pop();if(K in U)return Y.value=K,Y.done=!1,Y}return Y.done=!0,Y}};function B(U){if(U){var z=U[l];if(z)return z.call(U);if(typeof U.next=="function")return U;if(!isNaN(U.length)){var H=-1,Y=function K(){for(;++H<U.length;)if(o.call(U,H))return K.value=U[H],K.done=!1,K;return K.value=i,K.done=!0,K};return Y.next=Y}}return{next:G}}n.values=B;function G(){return{value:i,done:!0}}return M.prototype={constructor:M,reset:function(U){if(this.prev=0,this.next=0,this.sent=this._sent=i,this.done=!1,this.delegate=null,this.method="next",this.arg=i,this.tryEntries.forEach(I),!U)for(var z in this)z.charAt(0)==="t"&&o.call(this,z)&&!isNaN(+z.slice(1))&&(this[z]=i)},stop:function(){this.done=!0;var U=this.tryEntries[0],z=U.completion;if(z.type==="throw")throw z.arg;return this.rval},dispatchException:function(U){if(this.done)throw U;var z=this;function H(ce,me){return ee.type="throw",ee.arg=U,z.next=ce,me&&(z.method="next",z.arg=i),!!me}for(var Y=this.tryEntries.length-1;Y>=0;--Y){var K=this.tryEntries[Y],ee=K.completion;if(K.tryLoc==="root")return H("end");if(K.tryLoc<=this.prev){var J=o.call(K,"catchLoc"),oe=o.call(K,"finallyLoc");if(J&&oe){if(this.prev<K.catchLoc)return H(K.catchLoc,!0);if(this.prev<K.finallyLoc)return H(K.finallyLoc)}else if(J){if(this.prev<K.catchLoc)return H(K.catchLoc,!0)}else if(oe){if(this.prev<K.finallyLoc)return H(K.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(U,z){for(var H=this.tryEntries.length-1;H>=0;--H){var Y=this.tryEntries[H];if(Y.tryLoc<=this.prev&&o.call(Y,"finallyLoc")&&this.prev<Y.finallyLoc){var K=Y;break}}K&&(U==="break"||U==="continue")&&K.tryLoc<=z&&z<=K.finallyLoc&&(K=null);var ee=K?K.completion:{};return ee.type=U,ee.arg=z,K?(this.method="next",this.next=K.finallyLoc,C):this.complete(ee)},complete:function(U,z){if(U.type==="throw")throw U.arg;return U.type==="break"||U.type==="continue"?this.next=U.arg:U.type==="return"?(this.rval=this.arg=U.arg,this.method="return",this.next="end"):U.type==="normal"&&z&&(this.next=z),C},finish:function(U){for(var z=this.tryEntries.length-1;z>=0;--z){var H=this.tryEntries[z];if(H.finallyLoc===U)return this.complete(H.completion,H.afterLoc),I(H),C}},catch:function(U){for(var z=this.tryEntries.length-1;z>=0;--z){var H=this.tryEntries[z];if(H.tryLoc===U){var Y=H.completion;if(Y.type==="throw"){var K=Y.arg;I(H)}return K}}throw new Error("illegal catch attempt")},delegateYield:function(U,z,H){return this.delegate={iterator:B(U),resultName:z,nextLoc:H},this.method==="next"&&(this.arg=i),C}},n}(e.exports);try{regeneratorRuntime=t}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}})(oU);var bg={exports:{}},ca={},h={exports:{}},wn={};/* object-assign (c) Sindre Sorhus @license MIT */var s_=Object.getOwnPropertySymbols,iU=Object.prototype.hasOwnProperty,aU=Object.prototype.propertyIsEnumerable;function sU(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function lU(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(i){return t[i]});if(r.join("")!=="0123456789")return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(i){o[i]=i}),Object.keys(Object.assign({},o)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var lO=lU()?Object.assign:function(e,t){for(var n,r=sU(e),o,i=1;i<arguments.length;i++){n=Object(arguments[i]);for(var a in n)iU.call(n,a)&&(r[a]=n[a]);if(s_){o=s_(n);for(var l=0;l<o.length;l++)aU.call(n,o[l])&&(r[o[l]]=n[o[l]])}}return r};/** @license React v17.0.2 * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Fv=lO,Yd=60103,cO=60106;wn.Fragment=60107;wn.StrictMode=60108;wn.Profiler=60114;var uO=60109,dO=60110,pO=60112;wn.Suspense=60113;var fO=60115,hO=60116;if(typeof Symbol=="function"&&Symbol.for){var ma=Symbol.for;Yd=ma("react.element"),cO=ma("react.portal"),wn.Fragment=ma("react.fragment"),wn.StrictMode=ma("react.strict_mode"),wn.Profiler=ma("react.profiler"),uO=ma("react.provider"),dO=ma("react.context"),pO=ma("react.forward_ref"),wn.Suspense=ma("react.suspense"),fO=ma("react.memo"),hO=ma("react.lazy")}var l_=typeof Symbol=="function"&&Symbol.iterator;function cU(e){return e===null||typeof e!="object"?null:(e=l_&&e[l_]||e["@@iterator"],typeof e=="function"?e:null)}function th(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var mO={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},gO={};function Zd(e,t,n){this.props=e,this.context=t,this.refs=gO,this.updater=n||mO}Zd.prototype.isReactComponent={};Zd.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error(th(85));this.updater.enqueueSetState(this,e,t,"setState")};Zd.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function yO(){}yO.prototype=Zd.prototype;function jv(e,t,n){this.props=e,this.context=t,this.refs=gO,this.updater=n||mO}var zv=jv.prototype=new yO;zv.constructor=jv;Fv(zv,Zd.prototype);zv.isPureReactComponent=!0;var Vv={current:null},vO=Object.prototype.hasOwnProperty,bO={key:!0,ref:!0,__self:!0,__source:!0};function CO(e,t,n){var r,o={},i=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)vO.call(t,r)&&!bO.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(l===1)o.children=n;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];o.children=c}if(e&&e.defaultProps)for(r in l=e.defaultProps,l)o[r]===void 0&&(o[r]=l[r]);return{$$typeof:Yd,type:e,key:i,ref:a,props:o,_owner:Vv.current}}function uU(e,t){return{$$typeof:Yd,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Hv(e){return typeof e=="object"&&e!==null&&e.$$typeof===Yd}function dU(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var c_=/\/+/g;function T3(e,t){return typeof e=="object"&&e!==null&&e.key!=null?dU(""+e.key):t.toString(36)}function y0(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case Yd:case cO:a=!0}}if(a)return a=e,o=o(a),e=r===""?"."+T3(a,0):r,Array.isArray(o)?(n="",e!=null&&(n=e.replace(c_,"$&/")+"/"),y0(o,t,n,"",function(u){return u})):o!=null&&(Hv(o)&&(o=uU(o,n+(!o.key||a&&a.key===o.key?"":(""+o.key).replace(c_,"$&/")+"/")+e)),t.push(o)),1;if(a=0,r=r===""?".":r+":",Array.isArray(e))for(var l=0;l<e.length;l++){i=e[l];var c=r+T3(i,l);a+=y0(i,t,n,c,o)}else if(c=cU(e),typeof c=="function")for(e=c.call(e),l=0;!(i=e.next()).done;)i=i.value,c=r+T3(i,l++),a+=y0(i,t,n,c,o);else if(i==="object")throw t=""+e,Error(th(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t));return a}function c2(e,t,n){if(e==null)return e;var r=[],o=0;return y0(e,r,"","",function(i){return t.call(n,i,o++)}),r}function pU(e){if(e._status===-1){var t=e._result;t=t(),e._status=0,e._result=t,t.then(function(n){e._status===0&&(n=n.default,e._status=1,e._result=n)},function(n){e._status===0&&(e._status=2,e._result=n)})}if(e._status===1)return e._result;throw e._result}var xO={current:null};function nl(){var e=xO.current;if(e===null)throw Error(th(321));return e}var fU={ReactCurrentDispatcher:xO,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:Vv,IsSomeRendererActing:{current:!1},assign:Fv};wn.Children={map:c2,forEach:function(e,t,n){c2(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return c2(e,function(){t++}),t},toArray:function(e){return c2(e,function(t){return t})||[]},only:function(e){if(!Hv(e))throw Error(th(143));return e}};wn.Component=Zd;wn.PureComponent=jv;wn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=fU;wn.cloneElement=function(e,t,n){if(e==null)throw Error(th(267,e));var r=Fv({},e.props),o=e.key,i=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,a=Vv.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)vO.call(t,c)&&!bO.hasOwnProperty(c)&&(r[c]=t[c]===void 0&&l!==void 0?l[c]:t[c])}var c=arguments.length-2;if(c===1)r.children=n;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];r.children=l}return{$$typeof:Yd,type:e.type,key:o,ref:i,props:r,_owner:a}};wn.createContext=function(e,t){return t===void 0&&(t=null),e={$$typeof:dO,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider={$$typeof:uO,_context:e},e.Consumer=e};wn.createElement=CO;wn.createFactory=function(e){var t=CO.bind(null,e);return t.type=e,t};wn.createRef=function(){return{current:null}};wn.forwardRef=function(e){return{$$typeof:pO,render:e}};wn.isValidElement=Hv;wn.lazy=function(e){return{$$typeof:hO,_payload:{_status:-1,_result:e},_init:pU}};wn.memo=function(e,t){return{$$typeof:fO,type:e,compare:t===void 0?null:t}};wn.useCallback=function(e,t){return nl().useCallback(e,t)};wn.useContext=function(e,t){return nl().useContext(e,t)};wn.useDebugValue=function(){};wn.useEffect=function(e,t){return nl().useEffect(e,t)};wn.useImperativeHandle=function(e,t,n){return nl().useImperativeHandle(e,t,n)};wn.useLayoutEffect=function(e,t){return nl().useLayoutEffect(e,t)};wn.useMemo=function(e,t){return nl().useMemo(e,t)};wn.useReducer=function(e,t,n){return nl().useReducer(e,t,n)};wn.useRef=function(e){return nl().useRef(e)};wn.useState=function(e){return nl().useState(e)};wn.version="17.0.2";(function(e){e.exports=wn})(h);const $n=Bv(h.exports),Jc=GH({__proto__:null,default:$n},[h.exports]);var wO={exports:{}},SO={};/** @license React v0.20.2 * scheduler.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */(function(e){var t,n,r,o;if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}if(typeof window>"u"||typeof MessageChannel!="function"){var c=null,u=null,d=function(){if(c!==null)try{var Y=e.unstable_now();c(!0,Y),c=null}catch(K){throw setTimeout(d,0),K}};t=function(Y){c!==null?setTimeout(t,0,Y):(c=Y,setTimeout(d,0))},n=function(Y,K){u=setTimeout(Y,K)},r=function(){clearTimeout(u)},e.unstable_shouldYield=function(){return!1},o=e.unstable_forceFrameRate=function(){}}else{var p=window.setTimeout,f=window.clearTimeout;if(typeof console<"u"){var m=window.cancelAnimationFrame;typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof m!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var g=!1,y=null,b=-1,C=5,v=0;e.unstable_shouldYield=function(){return e.unstable_now()>=v},o=function(){},e.unstable_forceFrameRate=function(Y){0>Y||125<Y?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):C=0<Y?Math.floor(1e3/Y):5};var w=new MessageChannel,S=w.port2;w.port1.onmessage=function(){if(y!==null){var Y=e.unstable_now();v=Y+C;try{y(!0,Y)?S.postMessage(null):(g=!1,y=null)}catch(K){throw S.postMessage(null),K}}else g=!1},t=function(Y){y=Y,g||(g=!0,S.postMessage(null))},n=function(Y,K){b=p(function(){Y(e.unstable_now())},K)},r=function(){f(b),b=-1}}function _(Y,K){var ee=Y.length;Y.push(K);e:for(;;){var J=ee-1>>>1,oe=Y[J];if(oe!==void 0&&0<R(oe,K))Y[J]=K,Y[ee]=oe,ee=J;else break e}}function T(Y){return Y=Y[0],Y===void 0?null:Y}function k(Y){var K=Y[0];if(K!==void 0){var ee=Y.pop();if(ee!==K){Y[0]=ee;e:for(var J=0,oe=Y.length;J<oe;){var ce=2*(J+1)-1,me=Y[ce],Ce=ce+1,de=Y[Ce];if(me!==void 0&&0>R(me,ee))de!==void 0&&0>R(de,me)?(Y[J]=de,Y[Ce]=ee,J=Ce):(Y[J]=me,Y[ce]=ee,J=ce);else if(de!==void 0&&0>R(de,ee))Y[J]=de,Y[Ce]=ee,J=Ce;else break e}}return K}return null}function R(Y,K){var ee=Y.sortIndex-K.sortIndex;return ee!==0?ee:Y.id-K.id}var $=[],P=[],N=1,O=null,V=3,I=!1,M=!1,B=!1;function G(Y){for(var K=T(P);K!==null;){if(K.callback===null)k(P);else if(K.startTime<=Y)k(P),K.sortIndex=K.expirationTime,_($,K);else break;K=T(P)}}function U(Y){if(B=!1,G(Y),!M)if(T($)!==null)M=!0,t(z);else{var K=T(P);K!==null&&n(U,K.startTime-Y)}}function z(Y,K){M=!1,B&&(B=!1,r()),I=!0;var ee=V;try{for(G(K),O=T($);O!==null&&(!(O.expirationTime>K)||Y&&!e.unstable_shouldYield());){var J=O.callback;if(typeof J=="function"){O.callback=null,V=O.priorityLevel;var oe=J(O.expirationTime<=K);K=e.unstable_now(),typeof oe=="function"?O.callback=oe:O===T($)&&k($),G(K)}else k($);O=T($)}if(O!==null)var ce=!0;else{var me=T(P);me!==null&&n(U,me.startTime-K),ce=!1}return ce}finally{O=null,V=ee,I=!1}}var H=o;e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(Y){Y.callback=null},e.unstable_continueExecution=function(){M||I||(M=!0,t(z))},e.unstable_getCurrentPriorityLevel=function(){return V},e.unstable_getFirstCallbackNode=function(){return T($)},e.unstable_next=function(Y){switch(V){case 1:case 2:case 3:var K=3;break;default:K=V}var ee=V;V=K;try{return Y()}finally{V=ee}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=H,e.unstable_runWithPriority=function(Y,K){switch(Y){case 1:case 2:case 3:case 4:case 5:break;default:Y=3}var ee=V;V=Y;try{return K()}finally{V=ee}},e.unstable_scheduleCallback=function(Y,K,ee){var J=e.unstable_now();switch(typeof ee=="object"&&ee!==null?(ee=ee.delay,ee=typeof ee=="number"&&0<ee?J+ee:J):ee=J,Y){case 1:var oe=-1;break;case 2:oe=250;break;case 5:oe=1073741823;break;case 4:oe=1e4;break;default:oe=5e3}return oe=ee+oe,Y={id:N++,callback:K,priorityLevel:Y,startTime:ee,expirationTime:oe,sortIndex:-1},ee>J?(Y.sortIndex=ee,_(P,Y),T($)===null&&Y===T(P)&&(B?r():B=!0,n(U,ee-J))):(Y.sortIndex=oe,_($,Y),M||I||(M=!0,t(z))),Y},e.unstable_wrapCallback=function(Y){var K=V;return function(){var ee=V;V=K;try{return Y.apply(this,arguments)}finally{V=ee}}}})(SO);(function(e){e.exports=SO})(wO);/** @license React v17.0.2 * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Cg=h.exports,pr=lO,so=wO.exports;function Ue(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!Cg)throw Error(Ue(227));var _O=new Set,ff={};function uu(e,t){Cd(e,t),Cd(e+"Capture",t)}function Cd(e,t){for(ff[e]=t,e=0;e<t.length;e++)_O.add(t[e])}var Ys=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),hU=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,u_=Object.prototype.hasOwnProperty,d_={},p_={};function mU(e){return u_.call(p_,e)?!0:u_.call(d_,e)?!1:hU.test(e)?p_[e]=!0:(d_[e]=!0,!1)}function gU(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function yU(e,t,n,r){if(t===null||typeof t>"u"||gU(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ko(e,t,n,r,o,i,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var ko={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ko[e]=new Ko(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ko[t]=new Ko(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ko[e]=new Ko(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ko[e]=new Ko(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ko[e]=new Ko(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ko[e]=new Ko(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ko[e]=new Ko(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ko[e]=new Ko(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ko[e]=new Ko(e,5,!1,e.toLowerCase(),null,!1,!1)});var Uv=/[\-:]([a-z])/g;function Wv(e){return e[1].toUpperCase()}"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(Uv,Wv);ko[t]=new Ko(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(Uv,Wv);ko[t]=new Ko(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(Uv,Wv);ko[t]=new Ko(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ko[e]=new Ko(e,1,!1,e.toLowerCase(),null,!1,!1)});ko.xlinkHref=new Ko("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ko[e]=new Ko(e,1,!1,e.toLowerCase(),null,!0,!0)});function Gv(e,t,n,r){var o=ko.hasOwnProperty(t)?ko[t]:null,i=o!==null?o.type===0:r?!1:!(!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N");i||(yU(t,n,o,r)&&(n=null),r||o===null?mU(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,r=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var du=Cg.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,bp=60103,Ac=60106,xl=60107,qv=60108,Mp=60114,Yv=60109,Zv=60110,xg=60112,Lp=60113,_m=60120,wg=60115,Kv=60116,Xv=60121,Jv=60128,EO=60129,Qv=60130,y8=60131;if(typeof Symbol=="function"&&Symbol.for){var oo=Symbol.for;bp=oo("react.element"),Ac=oo("react.portal"),xl=oo("react.fragment"),qv=oo("react.strict_mode"),Mp=oo("react.profiler"),Yv=oo("react.provider"),Zv=oo("react.context"),xg=oo("react.forward_ref"),Lp=oo("react.suspense"),_m=oo("react.suspense_list"),wg=oo("react.memo"),Kv=oo("react.lazy"),Xv=oo("react.block"),oo("react.scope"),Jv=oo("react.opaque.id"),EO=oo("react.debug_trace_mode"),Qv=oo("react.offscreen"),y8=oo("react.legacy_hidden")}var f_=typeof Symbol=="function"&&Symbol.iterator;function D1(e){return e===null||typeof e!="object"?null:(e=f_&&e[f_]||e["@@iterator"],typeof e=="function"?e:null)}var k3;function Cp(e){if(k3===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);k3=t&&t[1]||""}return` `+k3+e}var R3=!1;function u2(e,t){if(!e||R3)return"";R3=!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()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&typeof c.stack=="string"){for(var o=c.stack.split(` `),i=r.stack.split(` `),a=o.length-1,l=i.length-1;1<=a&&0<=l&&o[a]!==i[l];)l--;for(;1<=a&&0<=l;a--,l--)if(o[a]!==i[l]){if(a!==1||l!==1)do if(a--,l--,0>l||o[a]!==i[l])return` `+o[a].replace(" at new "," at ");while(1<=a&&0<=l);break}}}finally{R3=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Cp(e):""}function vU(e){switch(e.tag){case 5:return Cp(e.type);case 16:return Cp("Lazy");case 13:return Cp("Suspense");case 19:return Cp("SuspenseList");case 0:case 2:case 15:return e=u2(e.type,!1),e;case 11:return e=u2(e.type.render,!1),e;case 22:return e=u2(e.type._render,!1),e;case 1:return e=u2(e.type,!0),e;default:return""}}function ed(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case xl:return"Fragment";case Ac:return"Portal";case Mp:return"Profiler";case qv:return"StrictMode";case Lp:return"Suspense";case _m:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Zv:return(e.displayName||"Context")+".Consumer";case Yv:return(e._context.displayName||"Context")+".Provider";case xg:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case wg:return ed(e.type);case Xv:return ed(e._render);case Kv:t=e._payload,e=e._init;try{return ed(e(t))}catch{}}return null}function Ul(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function TO(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function bU(e){var t=TO(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(a){r=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function d2(e){e._valueTracker||(e._valueTracker=bU(e))}function kO(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=TO(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Em(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function v8(e,t){var n=t.checked;return pr({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function h_(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ul(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function RO(e,t){t=t.checked,t!=null&&Gv(e,"checked",t,!1)}function b8(e,t){RO(e,t);var n=Ul(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?C8(e,t.type,n):t.hasOwnProperty("defaultValue")&&C8(e,t.type,Ul(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function m_(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function C8(e,t,n){(t!=="number"||Em(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function CU(e){var t="";return Cg.Children.forEach(e,function(n){n!=null&&(t+=n)}),t}function x8(e,t){return e=pr({children:void 0},t),(t=CU(t.children))&&(e.children=t),e}function td(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Ul(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function w8(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(Ue(91));return pr({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function g_(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(Ue(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(Ue(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Ul(n)}}function PO(e,t){var n=Ul(t.value),r=Ul(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function y_(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}var S8={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function IO(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function _8(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?IO(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var p2,$O=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!==S8.svg||"innerHTML"in e)e.innerHTML=t;else{for(p2=p2||document.createElement("div"),p2.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=p2.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function hf(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Dp={animationIterationCount:!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},xU=["Webkit","ms","Moz","O"];Object.keys(Dp).forEach(function(e){xU.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Dp[t]=Dp[e]})});function AO(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Dp.hasOwnProperty(e)&&Dp[e]?(""+t).trim():t+"px"}function OO(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=AO(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var wU=pr({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 E8(e,t){if(t){if(wU[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(Ue(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(Ue(60));if(!(typeof t.dangerouslySetInnerHTML=="object"&&"__html"in t.dangerouslySetInnerHTML))throw Error(Ue(61))}if(t.style!=null&&typeof t.style!="object")throw Error(Ue(62))}}function T8(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";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}}function eb(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var k8=null,nd=null,rd=null;function v_(e){if(e=rh(e)){if(typeof k8!="function")throw Error(Ue(280));var t=e.stateNode;t&&(t=Rg(t),k8(e.stateNode,e.type,t))}}function NO(e){nd?rd?rd.push(e):rd=[e]:nd=e}function MO(){if(nd){var e=nd,t=rd;if(rd=nd=null,v_(e),t)for(e=0;e<t.length;e++)v_(t[e])}}function tb(e,t){return e(t)}function LO(e,t,n,r,o){return e(t,n,r,o)}function nb(){}var DO=tb,Oc=!1,P3=!1;function rb(){(nd!==null||rd!==null)&&(nb(),MO())}function SU(e,t,n){if(P3)return e(t,n);P3=!0;try{return DO(e,t,n)}finally{P3=!1,rb()}}function mf(e,t){var n=e.stateNode;if(n===null)return null;var r=Rg(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(Ue(231,t,typeof n));return n}var R8=!1;if(Ys)try{var B1={};Object.defineProperty(B1,"passive",{get:function(){R8=!0}}),window.addEventListener("test",B1,B1),window.removeEventListener("test",B1,B1)}catch{R8=!1}function _U(e,t,n,r,o,i,a,l,c){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(d){this.onError(d)}}var Bp=!1,Tm=null,km=!1,P8=null,EU={onError:function(e){Bp=!0,Tm=e}};function TU(e,t,n,r,o,i,a,l,c){Bp=!1,Tm=null,_U.apply(EU,arguments)}function kU(e,t,n,r,o,i,a,l,c){if(TU.apply(this,arguments),Bp){if(Bp){var u=Tm;Bp=!1,Tm=null}else throw Error(Ue(198));km||(km=!0,P8=u)}}function pu(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&1026)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function BO(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function b_(e){if(pu(e)!==e)throw Error(Ue(188))}function RU(e){var t=e.alternate;if(!t){if(t=pu(e),t===null)throw Error(Ue(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var i=o.alternate;if(i===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return b_(o),e;if(i===r)return b_(o),t;i=i.sibling}throw Error(Ue(188))}if(n.return!==r.return)n=o,r=i;else{for(var a=!1,l=o.child;l;){if(l===n){a=!0,n=o,r=i;break}if(l===r){a=!0,r=o,n=i;break}l=l.sibling}if(!a){for(l=i.child;l;){if(l===n){a=!0,n=i,r=o;break}if(l===r){a=!0,r=i,n=o;break}l=l.sibling}if(!a)throw Error(Ue(189))}}if(n.alternate!==r)throw Error(Ue(190))}if(n.tag!==3)throw Error(Ue(188));return n.stateNode.current===n?e:t}function FO(e){if(e=RU(e),!e)return null;for(var t=e;;){if(t.tag===5||t.tag===6)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function C_(e,t){for(var n=e.alternate;t!==null;){if(t===e||t===n)return!0;t=t.return}return!1}var jO,ob,zO,VO,I8=!1,qa=[],Ol=null,Nl=null,Ml=null,gf=new Map,yf=new Map,F1=[],x_="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function $8(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:n|16,nativeEvent:o,targetContainers:[r]}}function w_(e,t){switch(e){case"focusin":case"focusout":Ol=null;break;case"dragenter":case"dragleave":Nl=null;break;case"mouseover":case"mouseout":Ml=null;break;case"pointerover":case"pointerout":gf.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":yf.delete(t.pointerId)}}function j1(e,t,n,r,o,i){return e===null||e.nativeEvent!==i?(e=$8(t,n,r,o,i),t!==null&&(t=rh(t),t!==null&&ob(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function PU(e,t,n,r,o){switch(t){case"focusin":return Ol=j1(Ol,e,t,n,r,o),!0;case"dragenter":return Nl=j1(Nl,e,t,n,r,o),!0;case"mouseover":return Ml=j1(Ml,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return gf.set(i,j1(gf.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,yf.set(i,j1(yf.get(i)||null,e,t,n,r,o)),!0}return!1}function IU(e){var t=Nc(e.target);if(t!==null){var n=pu(t);if(n!==null){if(t=n.tag,t===13){if(t=BO(n),t!==null){e.blockedOn=t,VO(e.lanePriority,function(){so.unstable_runWithPriority(e.priority,function(){zO(n)})});return}}else if(t===3&&n.stateNode.hydrate){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.block