[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@18.117.170.80: ~ $
/*! For license information please see blocks.js.LICENSE.txt */
(()=>{var e={1024:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(1601),o=r.n(n),a=r(6314),i=r.n(a)()(o());i.push([e.id,"",""]);const l=i},4642:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(1601),o=r.n(n),a=r(6314),i=r.n(a)()(o());i.push([e.id,"",""]);const l=i},6314:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",n=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),n&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),n&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,n,o,a){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(n)for(var l=0;l<this.length;l++){var s=this[l][0];null!=s&&(i[s]=!0)}for(var u=0;u<e.length;u++){var c=[].concat(e[u]);n&&i[c[0]]||(void 0!==a&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=a),r&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=r):c[2]=r),o&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=o):c[4]="".concat(o)),t.push(c))}},t}},1601:e=>{"use strict";e.exports=function(e){return e[1]}},4146:(e,t,r)=>{"use strict";var n=r(3404),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return n.isMemo(e)?i:l[e.$$typeof]||o}l[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[n.Memo]=i;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(h){var o=p(r);o&&o!==h&&e(t,o,n)}var i=c(r);d&&(i=i.concat(d(r)));for(var l=s(t),m=s(r),g=0;g<i.length;++g){var v=i[g];if(!(a[v]||n&&n[v]||m&&m[v]||l&&l[v])){var y=f(r,v);try{u(t,v,y)}catch(e){}}}}return t}},3072:(e,t)=>{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,i=r?Symbol.for("react.strict_mode"):60108,l=r?Symbol.for("react.profiler"):60114,s=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,c=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,x=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case c:case d:case a:case l:case i:case p:return e;default:switch(e=e&&e.$$typeof){case u:case f:case g:case m:case s:return e;default:return t}}case o:return t}}}function S(e){return w(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=s,t.Element=n,t.ForwardRef=f,t.Fragment=a,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=l,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return S(e)||w(e)===c},t.isConcurrentMode=S,t.isContextConsumer=function(e){return w(e)===u},t.isContextProvider=function(e){return w(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===a},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===l},t.isStrictMode=function(e){return w(e)===i},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===l||e===i||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===s||e.$$typeof===u||e.$$typeof===f||e.$$typeof===y||e.$$typeof===b||e.$$typeof===x||e.$$typeof===v)},t.typeOf=w},3404:(e,t,r)=>{"use strict";e.exports=r(3072)},8394:(e,t,r)=>{e=r.nmd(e);var n="__lodash_hash_undefined__",o=9007199254740991,a="[object Arguments]",i="[object Function]",l="[object Object]",s=/^\[object .+?Constructor\]$/,u=/^(?:0|[1-9]\d*)$/,c={};c["[object Float32Array]"]=c["[object Float64Array]"]=c["[object Int8Array]"]=c["[object Int16Array]"]=c["[object Int32Array]"]=c["[object Uint8Array]"]=c["[object Uint8ClampedArray]"]=c["[object Uint16Array]"]=c["[object Uint32Array]"]=!0,c[a]=c["[object Array]"]=c["[object ArrayBuffer]"]=c["[object Boolean]"]=c["[object DataView]"]=c["[object Date]"]=c["[object Error]"]=c[i]=c["[object Map]"]=c["[object Number]"]=c[l]=c["[object RegExp]"]=c["[object Set]"]=c["[object String]"]=c["[object WeakMap]"]=!1;var d,f,p,h="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,m="object"==typeof self&&self&&self.Object===Object&&self,g=h||m||Function("return this")(),v=t&&!t.nodeType&&t,y=v&&e&&!e.nodeType&&e,b=y&&y.exports===v,x=b&&h.process,w=function(){try{return y&&y.require&&y.require("util").types||x&&x.binding&&x.binding("util")}catch(e){}}(),S=w&&w.isTypedArray,k=Array.prototype,_=Function.prototype,E=Object.prototype,C=g["__core-js_shared__"],P=_.toString,T=E.hasOwnProperty,z=(d=/[^.]+$/.exec(C&&C.keys&&C.keys.IE_PROTO||""))?"Symbol(src)_1."+d:"",j=E.toString,O=P.call(Object),A=RegExp("^"+P.call(T).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),R=b?g.Buffer:void 0,M=g.Symbol,L=g.Uint8Array,F=(R&&R.allocUnsafe,f=Object.getPrototypeOf,p=Object,function(e){return f(p(e))}),I=Object.create,D=E.propertyIsEnumerable,$=k.splice,N=M?M.toStringTag:void 0,B=function(){try{var e=le(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),V=R?R.isBuffer:void 0,U=Math.max,W=Date.now,H=le(g,"Map"),q=le(Object,"create"),X=function(){function e(){}return function(t){if(!be(t))return{};if(I)return I(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();function Y(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function G(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Q(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Z(e){var t=this.__data__=new G(e);this.size=t.size}function K(e,t,r){(void 0!==r&&!fe(e[t],r)||void 0===r&&!(t in e))&&te(e,t,r)}function J(e,t,r){var n=e[t];T.call(e,t)&&fe(n,r)&&(void 0!==r||t in e)||te(e,t,r)}function ee(e,t){for(var r=e.length;r--;)if(fe(e[r][0],t))return r;return-1}function te(e,t,r){"__proto__"==t&&B?B(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}Y.prototype.clear=function(){this.__data__=q?q(null):{},this.size=0},Y.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Y.prototype.get=function(e){var t=this.__data__;if(q){var r=t[e];return r===n?void 0:r}return T.call(t,e)?t[e]:void 0},Y.prototype.has=function(e){var t=this.__data__;return q?void 0!==t[e]:T.call(t,e)},Y.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=q&&void 0===t?n:t,this},G.prototype.clear=function(){this.__data__=[],this.size=0},G.prototype.delete=function(e){var t=this.__data__,r=ee(t,e);return!(r<0||(r==t.length-1?t.pop():$.call(t,r,1),--this.size,0))},G.prototype.get=function(e){var t=this.__data__,r=ee(t,e);return r<0?void 0:t[r][1]},G.prototype.has=function(e){return ee(this.__data__,e)>-1},G.prototype.set=function(e,t){var r=this.__data__,n=ee(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},Q.prototype.clear=function(){this.size=0,this.__data__={hash:new Y,map:new(H||G),string:new Y}},Q.prototype.delete=function(e){var t=ie(this,e).delete(e);return this.size-=t?1:0,t},Q.prototype.get=function(e){return ie(this,e).get(e)},Q.prototype.has=function(e){return ie(this,e).has(e)},Q.prototype.set=function(e,t){var r=ie(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},Z.prototype.clear=function(){this.__data__=new G,this.size=0},Z.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},Z.prototype.get=function(e){return this.__data__.get(e)},Z.prototype.has=function(e){return this.__data__.has(e)},Z.prototype.set=function(e,t){var r=this.__data__;if(r instanceof G){var n=r.__data__;if(!H||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Q(n)}return r.set(e,t),this.size=r.size,this};function re(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":N&&N in Object(e)?function(e){var t=T.call(e,N),r=e[N];try{e[N]=void 0;var n=!0}catch(e){}var o=j.call(e);return n&&(t?e[N]=r:delete e[N]),o}(e):function(e){return j.call(e)}(e)}function ne(e){return xe(e)&&re(e)==a}function oe(e,t,r,n,o){e!==t&&function(e,t,r){for(var n=-1,o=Object(e),a=r(e),i=a.length;i--;){var l=a[++n];if(!1===t(o[l],l,o))break}}(t,(function(a,i){if(o||(o=new Z),be(a))!function(e,t,r,n,o,a,i){var s=ce(e,r),u=ce(t,r),c=i.get(u);if(c)K(e,r,c);else{var d,f,p,h,m,g=a?a(s,u,r+"",e,t,i):void 0,v=void 0===g;if(v){var y=he(u),b=!y&&ge(u),x=!y&&!b&&we(u);g=u,y||b||x?he(s)?g=s:xe(m=s)&&me(m)?g=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}(s):b?(v=!1,g=function(e){return e.slice()}(u)):x?(v=!1,h=new(p=(d=u).buffer).constructor(p.byteLength),new L(h).set(new L(p)),f=h,g=new d.constructor(f,d.byteOffset,d.length)):g=[]:function(e){if(!xe(e)||re(e)!=l)return!1;var t=F(e);if(null===t)return!0;var r=T.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&P.call(r)==O}(u)||pe(u)?(g=s,pe(s)?g=function(e){return function(e,t,r){var n=!r;r||(r={});for(var o=-1,a=t.length;++o<a;){var i=t[o],l=void 0;void 0===l&&(l=e[i]),n?te(r,i,l):J(r,i,l)}return r}(e,Se(e))}(s):be(s)&&!ve(s)||(g=function(e){return"function"!=typeof e.constructor||ue(e)?{}:X(F(e))}(u))):v=!1}v&&(i.set(u,g),o(g,u,n,a,i),i.delete(u)),K(e,r,g)}}(e,t,i,r,oe,n,o);else{var s=n?n(ce(e,i),a,i+"",e,t,o):void 0;void 0===s&&(s=a),K(e,i,s)}}),Se)}var ae=B?function(e,t){return B(e,"toString",{configurable:!0,enumerable:!1,value:(r=t,function(){return r}),writable:!0});var r}:Ee;function ie(e,t){var r,n,o=e.__data__;return("string"==(n=typeof(r=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?o["string"==typeof t?"string":"hash"]:o.map}function le(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!be(e)||function(e){return!!z&&z in e}(e))&&(ve(e)?A:s).test(function(e){if(null!=e){try{return P.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}(r)?r:void 0}function se(e,t){var r=typeof e;return!!(t=null==t?o:t)&&("number"==r||"symbol"!=r&&u.test(e))&&e>-1&&e%1==0&&e<t}function ue(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||E)}function ce(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var de=function(e){var t=0,r=0;return function(){var n=W(),o=16-(n-r);if(r=n,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(ae);function fe(e,t){return e===t||e!=e&&t!=t}var pe=ne(function(){return arguments}())?ne:function(e){return xe(e)&&T.call(e,"callee")&&!D.call(e,"callee")},he=Array.isArray;function me(e){return null!=e&&ye(e.length)&&!ve(e)}var ge=V||function(){return!1};function ve(e){if(!be(e))return!1;var t=re(e);return t==i||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function ye(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=o}function be(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function xe(e){return null!=e&&"object"==typeof e}var we=S?function(e){return function(t){return e(t)}}(S):function(e){return xe(e)&&ye(e.length)&&!!c[re(e)]};function Se(e){return me(e)?function(e,t){var r=he(e),n=!r&&pe(e),o=!r&&!n&&ge(e),a=!r&&!n&&!o&&we(e),i=r||n||o||a,l=i?function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}(e.length,String):[],s=l.length;for(var u in e)!t&&!T.call(e,u)||i&&("length"==u||o&&("offset"==u||"parent"==u)||a&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||se(u,s))||l.push(u);return l}(e,!0):function(e){if(!be(e))return function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}(e);var t=ue(e),r=[];for(var n in e)("constructor"!=n||!t&&T.call(e,n))&&r.push(n);return r}(e)}var ke,_e=(ke=function(e,t,r,n){oe(e,t,r,n)},function(e,t){return de(function(e,t,r){return t=U(void 0===t?e.length-1:t,0),function(){for(var n=arguments,o=-1,a=U(n.length-t,0),i=Array(a);++o<a;)i[o]=n[t+o];o=-1;for(var l=Array(t+1);++o<t;)l[o]=n[o];return l[t]=r(i),function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}(e,this,l)}}(e,t,Ee),e+"")}((function(e,t){var r=-1,n=t.length,o=n>1?t[n-1]:void 0,a=n>2?t[2]:void 0;for(o=ke.length>3&&"function"==typeof o?(n--,o):void 0,a&&function(e,t,r){if(!be(r))return!1;var n=typeof t;return!!("number"==n?me(r)&&se(t,r.length):"string"==n&&t in r)&&fe(r[t],e)}(t[0],t[1],a)&&(o=n<3?void 0:o,n=1),e=Object(e);++r<n;){var i=t[r];i&&ke(e,i,r,o)}return e})));function Ee(e){return e}e.exports=_e},2551:(e,t,r)=>{"use strict";var n=r(6694),o=r(9982);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);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 i=new Set,l={};function s(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(l[e]=t,e=0;e<t.length;e++)i.add(t[e])}var c=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=Object.prototype.hasOwnProperty,f=/^[: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]*$/,p={},h={};function m(e,t,r,n,o,a,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new m(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){g[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var v=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function b(e,t,r,n){var o=g.hasOwnProperty(t)?g[t]:null;(null!==o?0!==o.type:n||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,r,n){if(null==t||function(e,t,r,n){if(null!==r&&0===r.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!n&&(null!==r?!r.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,r,n))return!0;if(n)return!1;if(null!==r)switch(r.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,r,o,n)&&(r=null),n||null===o?function(e){return!!d.call(h,e)||!d.call(p,e)&&(f.test(e)?h[e]=!0:(p[e]=!0,!1))}(t)&&(null===r?e.removeAttribute(t):e.setAttribute(t,""+r)):o.mustUseProperty?e[o.propertyName]=null===r?3!==o.type&&"":r:(t=o.attributeName,n=o.attributeNamespace,null===r?e.removeAttribute(t):(r=3===(o=o.type)||4===o&&!0===r?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}"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(v,y);g[t]=new m(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(v,y);g[t]=new m(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(v,y);g[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var x=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.element"),S=Symbol.for("react.portal"),k=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),P=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),z=Symbol.for("react.suspense"),j=Symbol.for("react.suspense_list"),O=Symbol.for("react.memo"),A=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var R=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var M=Symbol.iterator;function L(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=M&&e[M]||e["@@iterator"])?e:null}var F,I=Object.assign;function D(e){if(void 0===F)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);F=t&&t[1]||""}return"\n"+F+e}var $=!1;function N(e,t){if(!e||$)return"";$=!0;var r=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(e){var n=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){n=e}e.call(t.prototype)}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var o=t.stack.split("\n"),a=n.stack.split("\n"),i=o.length-1,l=a.length-1;1<=i&&0<=l&&o[i]!==a[l];)l--;for(;1<=i&&0<=l;i--,l--)if(o[i]!==a[l]){if(1!==i||1!==l)do{if(i--,0>--l||o[i]!==a[l]){var s="\n"+o[i].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=i&&0<=l);break}}}finally{$=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?D(e):""}function B(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 N(e.type,!1);case 11:return N(e.type.render,!1);case 1:return N(e.type,!0);default:return""}}function V(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 k:return"Fragment";case S:return"Portal";case E:return"Profiler";case _:return"StrictMode";case z:return"Suspense";case j:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case P:return(e.displayName||"Context")+".Consumer";case C:return(e._context.displayName||"Context")+".Provider";case T:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case O:return null!==(t=e.displayName||null)?t:V(e.type)||"Memo";case A:t=e._payload,e=e._init;try{return V(e(t))}catch(e){}}return null}function U(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 V(t);case 8:return t===_?"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 W(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function H(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function q(e){e._valueTracker||(e._valueTracker=function(e){var t=H(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==r&&"function"==typeof r.get&&"function"==typeof r.set){var o=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){n=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function X(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=H(e)?e.checked?"true":"false":e.value),(e=n)!==r&&(t.setValue(e),!0)}function Y(e){if(void 0===(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 r=t.checked;return I({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:e._wrapperState.initialChecked})}function Q(e,t){var r=null==t.defaultValue?"":t.defaultValue,n=null!=t.checked?t.checked:t.defaultChecked;r=W(null!=t.value?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Z(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function K(e,t){Z(e,t);var r=W(t.value),n=t.type;if(null!=r)"number"===n?(0===r&&""===e.value||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if("submit"===n||"reset"===n)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,r):t.hasOwnProperty("defaultValue")&&ee(e,t.type,W(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!("submit"!==n&&"reset"!==n||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}""!==(r=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==r&&(e.name=r)}function ee(e,t,r){"number"===t&&Y(e.ownerDocument)===e||(null==r?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var te=Array.isArray;function re(e,t,r,n){if(e=e.options,t){t={};for(var o=0;o<r.length;o++)t["$"+r[o]]=!0;for(r=0;r<e.length;r++)o=t.hasOwnProperty("$"+e[r].value),e[r].selected!==o&&(e[r].selected=o),o&&n&&(e[r].defaultSelected=!0)}else{for(r=""+W(r),t=null,o=0;o<e.length;o++){if(e[o].value===r)return e[o].selected=!0,void(n&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function ne(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return I({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var r=t.value;if(null==r){if(r=t.children,t=t.defaultValue,null!=r){if(null!=t)throw Error(a(92));if(te(r)){if(1<r.length)throw Error(a(93));r=r[0]}t=r}null==t&&(t=""),r=t}e._wrapperState={initialValue:W(r)}}function ae(e,t){var r=W(t.value),n=W(t.defaultValue);null!=r&&((r=""+r)!==e.value&&(e.value=r),null==t.defaultValue&&e.defaultValue!==r&&(e.defaultValue=r)),null!=n&&(e.defaultValue=""+n)}function ie(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function le(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 se(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?le(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ue,ce,de=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ue=ue||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ue.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,r,n){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function fe(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&3===r.nodeType)return void(r.nodeValue=t)}e.textContent=t}var pe={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},he=["Webkit","ms","Moz","O"];function me(e,t,r){return null==t||"boolean"==typeof t||""===t?"":r||"number"!=typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function ge(e,t){for(var r in e=e.style,t)if(t.hasOwnProperty(r)){var n=0===r.indexOf("--"),o=me(r,t[r],n);"float"===r&&(r="cssFloat"),n?e.setProperty(r,o):e[r]=o}}Object.keys(pe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ve=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(ve[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(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 xe=null;function we(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Se=null,ke=null,_e=null;function Ee(e){if(e=bo(e)){if("function"!=typeof Se)throw Error(a(280));var t=e.stateNode;t&&(t=wo(t),Se(e.stateNode,e.type,t))}}function Ce(e){ke?_e?_e.push(e):_e=[e]:ke=e}function Pe(){if(ke){var e=ke,t=_e;if(_e=ke=null,Ee(e),t)for(e=0;e<t.length;e++)Ee(t[e])}}function Te(e,t){return e(t)}function ze(){}var je=!1;function Oe(e,t,r){if(je)return e(t,r);je=!0;try{return Te(e,t,r)}finally{je=!1,(null!==ke||null!==_e)&&(ze(),Pe())}}function Ae(e,t){var r=e.stateNode;if(null===r)return null;var n=wo(r);if(null===n)return null;r=n[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":(n=!n.disabled)||(n=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!n;break e;default:e=!1}if(e)return null;if(r&&"function"!=typeof r)throw Error(a(231,t,typeof r));return r}var Re=!1;if(c)try{var Me={};Object.defineProperty(Me,"passive",{get:function(){Re=!0}}),window.addEventListener("test",Me,Me),window.removeEventListener("test",Me,Me)}catch(ce){Re=!1}function Le(e,t,r,n,o,a,i,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(r,u)}catch(e){this.onError(e)}}var Fe=!1,Ie=null,De=!1,$e=null,Ne={onError:function(e){Fe=!0,Ie=e}};function Be(e,t,r,n,o,a,i,l,s){Fe=!1,Ie=null,Le.apply(Ne,arguments)}function Ve(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(r=t.return),e=t.return}while(e)}return 3===t.tag?r:null}function Ue(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function We(e){if(Ve(e)!==e)throw Error(a(188))}function He(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ve(e)))throw Error(a(188));return t!==e?null:e}for(var r=e,n=t;;){var o=r.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(n=o.return)){r=n;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===r)return We(o),e;if(i===n)return We(o),t;i=i.sibling}throw Error(a(188))}if(r.return!==n.return)r=o,n=i;else{for(var l=!1,s=o.child;s;){if(s===r){l=!0,r=o,n=i;break}if(s===n){l=!0,n=o,r=i;break}s=s.sibling}if(!l){for(s=i.child;s;){if(s===r){l=!0,r=i,n=o;break}if(s===n){l=!0,n=i,r=o;break}s=s.sibling}if(!l)throw Error(a(189))}}if(r.alternate!==n)throw Error(a(190))}if(3!==r.tag)throw Error(a(188));return r.stateNode.current===r?e:t}(e))?qe(e):null}function qe(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=qe(e);if(null!==t)return t;e=e.sibling}return null}var Xe=o.unstable_scheduleCallback,Ye=o.unstable_cancelCallback,Ge=o.unstable_shouldYield,Qe=o.unstable_requestPaint,Ze=o.unstable_now,Ke=o.unstable_getCurrentPriorityLevel,Je=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,rt=o.unstable_LowPriority,nt=o.unstable_IdlePriority,ot=null,at=null,it=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(lt(e)/st|0)|0},lt=Math.log,st=Math.LN2,ut=64,ct=4194304;function dt(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 ft(e,t){var r=e.pendingLanes;if(0===r)return 0;var n=0,o=e.suspendedLanes,a=e.pingedLanes,i=268435455&r;if(0!==i){var l=i&~o;0!==l?n=dt(l):0!=(a&=i)&&(n=dt(a))}else 0!=(i=r&~o)?n=dt(i):0!==a&&(n=dt(a));if(0===n)return 0;if(0!==t&&t!==n&&!(t&o)&&((o=n&-n)>=(a=t&-t)||16===o&&4194240&a))return t;if(4&n&&(n|=16&r),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=n;0<t;)o=1<<(r=31-it(t)),n|=e[r],t&=~o;return n}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 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 t+5e3;default:return-1}}function ht(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ut;return!(4194240&(ut<<=1))&&(ut=64),e}function gt(e,t,r){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-it(t)]=r}function vt(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var n=31-it(r),o=1<<n;o&t|e[n]&t&&(e[n]|=t),r&=~o}}var yt=0;function bt(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var xt,wt,St,kt,_t,Et=!1,Ct=[],Pt=null,Tt=null,zt=null,jt=new Map,Ot=new Map,At=[],Rt="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 Mt(e,t){switch(e){case"focusin":case"focusout":Pt=null;break;case"dragenter":case"dragleave":Tt=null;break;case"mouseover":case"mouseout":zt=null;break;case"pointerover":case"pointerout":jt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ot.delete(t.pointerId)}}function Lt(e,t,r,n,o,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:r,eventSystemFlags:n,nativeEvent:a,targetContainers:[o]},null!==t&&null!==(t=bo(t))&&wt(t),e):(e.eventSystemFlags|=n,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Ft(e){var t=yo(e.target);if(null!==t){var r=Ve(t);if(null!==r)if(13===(t=r.tag)){if(null!==(t=Ue(r)))return e.blockedOn=t,void _t(e.priority,(function(){St(r)}))}else if(3===t&&r.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===r.tag?r.stateNode.containerInfo:null)}e.blockedOn=null}function It(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var r=Yt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==r)return null!==(t=bo(r))&&wt(t),e.blockedOn=r,!1;var n=new(r=e.nativeEvent).constructor(r.type,r);xe=n,r.target.dispatchEvent(n),xe=null,t.shift()}return!0}function Dt(e,t,r){It(e)&&r.delete(t)}function $t(){Et=!1,null!==Pt&&It(Pt)&&(Pt=null),null!==Tt&&It(Tt)&&(Tt=null),null!==zt&&It(zt)&&(zt=null),jt.forEach(Dt),Ot.forEach(Dt)}function Nt(e,t){e.blockedOn===t&&(e.blockedOn=null,Et||(Et=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,$t)))}function Bt(e){function t(t){return Nt(t,e)}if(0<Ct.length){Nt(Ct[0],e);for(var r=1;r<Ct.length;r++){var n=Ct[r];n.blockedOn===e&&(n.blockedOn=null)}}for(null!==Pt&&Nt(Pt,e),null!==Tt&&Nt(Tt,e),null!==zt&&Nt(zt,e),jt.forEach(t),Ot.forEach(t),r=0;r<At.length;r++)(n=At[r]).blockedOn===e&&(n.blockedOn=null);for(;0<At.length&&null===(r=At[0]).blockedOn;)Ft(r),null===r.blockedOn&&At.shift()}var Vt=x.ReactCurrentBatchConfig,Ut=!0;function Wt(e,t,r,n){var o=yt,a=Vt.transition;Vt.transition=null;try{yt=1,qt(e,t,r,n)}finally{yt=o,Vt.transition=a}}function Ht(e,t,r,n){var o=yt,a=Vt.transition;Vt.transition=null;try{yt=4,qt(e,t,r,n)}finally{yt=o,Vt.transition=a}}function qt(e,t,r,n){if(Ut){var o=Yt(e,t,r,n);if(null===o)Un(e,t,n,Xt,r),Mt(e,n);else if(function(e,t,r,n,o){switch(t){case"focusin":return Pt=Lt(Pt,e,t,r,n,o),!0;case"dragenter":return Tt=Lt(Tt,e,t,r,n,o),!0;case"mouseover":return zt=Lt(zt,e,t,r,n,o),!0;case"pointerover":var a=o.pointerId;return jt.set(a,Lt(jt.get(a)||null,e,t,r,n,o)),!0;case"gotpointercapture":return a=o.pointerId,Ot.set(a,Lt(Ot.get(a)||null,e,t,r,n,o)),!0}return!1}(o,e,t,r,n))n.stopPropagation();else if(Mt(e,n),4&t&&-1<Rt.indexOf(e)){for(;null!==o;){var a=bo(o);if(null!==a&&xt(a),null===(a=Yt(e,t,r,n))&&Un(e,t,n,Xt,r),a===o)break;o=a}null!==o&&n.stopPropagation()}else Un(e,t,n,null,r)}}var Xt=null;function Yt(e,t,r,n){if(Xt=null,null!==(e=yo(e=we(n))))if(null===(t=Ve(e)))e=null;else if(13===(r=t.tag)){if(null!==(e=Ue(t)))return e;e=null}else if(3===r){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Xt=e,null}function Gt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Ke()){case Je:return 1;case et:return 4;case tt:case rt:return 16;case nt:return 536870912;default:return 16}default:return 16}}var Qt=null,Zt=null,Kt=null;function Jt(){if(Kt)return Kt;var e,t,r=Zt,n=r.length,o="value"in Qt?Qt.value:Qt.textContent,a=o.length;for(e=0;e<n&&r[e]===o[e];e++);var i=n-e;for(t=1;t<=i&&r[n-t]===o[a-t];t++);return Kt=o.slice(e,1<t?1-t:void 0)}function er(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function tr(){return!0}function rr(){return!1}function nr(e){function t(t,r,n,o,a){for(var i in this._reactName=t,this._targetInst=n,this.type=r,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?tr:rr,this.isPropagationStopped=rr,this}return I(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=tr)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=tr)},persist:function(){},isPersistent:tr}),t}var or,ar,ir,lr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},sr=nr(lr),ur=I({},lr,{view:0,detail:0}),cr=nr(ur),dr=I({},ur,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:kr,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ir&&(ir&&"mousemove"===e.type?(or=e.screenX-ir.screenX,ar=e.screenY-ir.screenY):ar=or=0,ir=e),or)},movementY:function(e){return"movementY"in e?e.movementY:ar}}),fr=nr(dr),pr=nr(I({},dr,{dataTransfer:0})),hr=nr(I({},ur,{relatedTarget:0})),mr=nr(I({},lr,{animationName:0,elapsedTime:0,pseudoElement:0})),gr=I({},lr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),vr=nr(gr),yr=nr(I({},lr,{data:0})),br={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xr={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},wr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Sr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=wr[e])&&!!t[e]}function kr(){return Sr}var _r=I({},ur,{key:function(e){if(e.key){var t=br[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=er(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?xr[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:kr,charCode:function(e){return"keypress"===e.type?er(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?er(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Er=nr(_r),Cr=nr(I({},dr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Pr=nr(I({},ur,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:kr})),Tr=nr(I({},lr,{propertyName:0,elapsedTime:0,pseudoElement:0})),zr=I({},dr,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),jr=nr(zr),Or=[9,13,27,32],Ar=c&&"CompositionEvent"in window,Rr=null;c&&"documentMode"in document&&(Rr=document.documentMode);var Mr=c&&"TextEvent"in window&&!Rr,Lr=c&&(!Ar||Rr&&8<Rr&&11>=Rr),Fr=String.fromCharCode(32),Ir=!1;function Dr(e,t){switch(e){case"keyup":return-1!==Or.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function $r(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Nr=!1,Br={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 Vr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Br[e.type]:"textarea"===t}function Ur(e,t,r,n){Ce(n),0<(t=Hn(t,"onChange")).length&&(r=new sr("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var Wr=null,Hr=null;function qr(e){In(e,0)}function Xr(e){if(X(xo(e)))return e}function Yr(e,t){if("change"===e)return t}var Gr=!1;if(c){var Qr;if(c){var Zr="oninput"in document;if(!Zr){var Kr=document.createElement("div");Kr.setAttribute("oninput","return;"),Zr="function"==typeof Kr.oninput}Qr=Zr}else Qr=!1;Gr=Qr&&(!document.documentMode||9<document.documentMode)}function Jr(){Wr&&(Wr.detachEvent("onpropertychange",en),Hr=Wr=null)}function en(e){if("value"===e.propertyName&&Xr(Hr)){var t=[];Ur(t,Hr,e,we(e)),Oe(qr,t)}}function tn(e,t,r){"focusin"===e?(Jr(),Hr=r,(Wr=t).attachEvent("onpropertychange",en)):"focusout"===e&&Jr()}function rn(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Xr(Hr)}function nn(e,t){if("click"===e)return Xr(t)}function on(e,t){if("input"===e||"change"===e)return Xr(t)}var an="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function ln(e,t){if(an(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++){var o=r[n];if(!d.call(t,o)||!an(e[o],t[o]))return!1}return!0}function sn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function un(e,t){var r,n=sn(e);for(e=0;n;){if(3===n.nodeType){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=sn(n)}}function cn(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?cn(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function dn(){for(var e=window,t=Y();t instanceof e.HTMLIFrameElement;){try{var r="string"==typeof t.contentWindow.location.href}catch(e){r=!1}if(!r)break;t=Y((e=t.contentWindow).document)}return t}function fn(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 pn(e){var t=dn(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&cn(r.ownerDocument.documentElement,r)){if(null!==n&&fn(r))if(t=n.start,void 0===(e=n.end)&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if((e=(t=r.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=r.textContent.length,a=Math.min(n.start,o);n=void 0===n.end?a:Math.min(n.end,o),!e.extend&&a>n&&(o=n,n=a,a=o),o=un(r,a);var i=un(r,n);o&&i&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),a>n?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}for(t=[],e=r;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof r.focus&&r.focus(),r=0;r<t.length;r++)(e=t[r]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var hn=c&&"documentMode"in document&&11>=document.documentMode,mn=null,gn=null,vn=null,yn=!1;function bn(e,t,r){var n=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;yn||null==mn||mn!==Y(n)||(n="selectionStart"in(n=mn)&&fn(n)?{start:n.selectionStart,end:n.selectionEnd}:{anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},vn&&ln(vn,n)||(vn=n,0<(n=Hn(gn,"onSelect")).length&&(t=new sr("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=mn)))}function xn(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var wn={animationend:xn("Animation","AnimationEnd"),animationiteration:xn("Animation","AnimationIteration"),animationstart:xn("Animation","AnimationStart"),transitionend:xn("Transition","TransitionEnd")},Sn={},kn={};function _n(e){if(Sn[e])return Sn[e];if(!wn[e])return e;var t,r=wn[e];for(t in r)if(r.hasOwnProperty(t)&&t in kn)return Sn[e]=r[t];return e}c&&(kn=document.createElement("div").style,"AnimationEvent"in window||(delete wn.animationend.animation,delete wn.animationiteration.animation,delete wn.animationstart.animation),"TransitionEvent"in window||delete wn.transitionend.transition);var En=_n("animationend"),Cn=_n("animationiteration"),Pn=_n("animationstart"),Tn=_n("transitionend"),zn=new Map,jn="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 On(e,t){zn.set(e,t),s(t,[e])}for(var An=0;An<jn.length;An++){var Rn=jn[An];On(Rn.toLowerCase(),"on"+(Rn[0].toUpperCase()+Rn.slice(1)))}On(En,"onAnimationEnd"),On(Cn,"onAnimationIteration"),On(Pn,"onAnimationStart"),On("dblclick","onDoubleClick"),On("focusin","onFocus"),On("focusout","onBlur"),On(Tn,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),s("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),s("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),s("onBeforeInput",["compositionend","keypress","textInput","paste"]),s("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Mn="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ln=new Set("cancel close invalid load scroll toggle".split(" ").concat(Mn));function Fn(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,function(e,t,r,n,o,i,l,s,u){if(Be.apply(this,arguments),Fe){if(!Fe)throw Error(a(198));var c=Ie;Fe=!1,Ie=null,De||(De=!0,$e=c)}}(n,t,void 0,e),e.currentTarget=null}function In(e,t){t=!!(4&t);for(var r=0;r<e.length;r++){var n=e[r],o=n.event;n=n.listeners;e:{var a=void 0;if(t)for(var i=n.length-1;0<=i;i--){var l=n[i],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==a&&o.isPropagationStopped())break e;Fn(o,l,u),a=s}else for(i=0;i<n.length;i++){if(s=(l=n[i]).instance,u=l.currentTarget,l=l.listener,s!==a&&o.isPropagationStopped())break e;Fn(o,l,u),a=s}}}if(De)throw e=$e,De=!1,$e=null,e}function Dn(e,t){var r=t[mo];void 0===r&&(r=t[mo]=new Set);var n=e+"__bubble";r.has(n)||(Vn(t,e,2,!1),r.add(n))}function $n(e,t,r){var n=0;t&&(n|=4),Vn(r,e,n,t)}var Nn="_reactListening"+Math.random().toString(36).slice(2);function Bn(e){if(!e[Nn]){e[Nn]=!0,i.forEach((function(t){"selectionchange"!==t&&(Ln.has(t)||$n(t,!1,e),$n(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Nn]||(t[Nn]=!0,$n("selectionchange",!1,t))}}function Vn(e,t,r,n){switch(Gt(t)){case 1:var o=Wt;break;case 4:o=Ht;break;default:o=qt}r=o.bind(null,t,r,e),o=void 0,!Re||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),n?void 0!==o?e.addEventListener(t,r,{capture:!0,passive:o}):e.addEventListener(t,r,!0):void 0!==o?e.addEventListener(t,r,{passive:o}):e.addEventListener(t,r,!1)}function Un(e,t,r,n,o){var a=n;if(!(1&t||2&t||null===n))e:for(;;){if(null===n)return;var i=n.tag;if(3===i||4===i){var l=n.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===i)for(i=n.return;null!==i;){var s=i.tag;if((3===s||4===s)&&((s=i.stateNode.containerInfo)===o||8===s.nodeType&&s.parentNode===o))return;i=i.return}for(;null!==l;){if(null===(i=yo(l)))return;if(5===(s=i.tag)||6===s){n=a=i;continue e}l=l.parentNode}}n=n.return}Oe((function(){var n=a,o=we(r),i=[];e:{var l=zn.get(e);if(void 0!==l){var s=sr,u=e;switch(e){case"keypress":if(0===er(r))break e;case"keydown":case"keyup":s=Er;break;case"focusin":u="focus",s=hr;break;case"focusout":u="blur",s=hr;break;case"beforeblur":case"afterblur":s=hr;break;case"click":if(2===r.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=fr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=pr;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=Pr;break;case En:case Cn:case Pn:s=mr;break;case Tn:s=Tr;break;case"scroll":s=cr;break;case"wheel":s=jr;break;case"copy":case"cut":case"paste":s=vr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Cr}var c=!!(4&t),d=!c&&"scroll"===e,f=c?null!==l?l+"Capture":null:l;c=[];for(var p,h=n;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==f&&null!=(m=Ae(h,f))&&c.push(Wn(h,m,p))),d)break;h=h.return}0<c.length&&(l=new s(l,u,null,r,o),i.push({event:l,listeners:c}))}}if(!(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||r===xe||!(u=r.relatedTarget||r.fromElement)||!yo(u)&&!u[ho])&&(s||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=n,null!==(u=(u=r.relatedTarget||r.toElement)?yo(u):null)&&(u!==(d=Ve(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=n),s!==u)){if(c=fr,m="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=Cr,m="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==s?l:xo(s),p=null==u?l:xo(u),(l=new c(m,h+"leave",s,r,o)).target=d,l.relatedTarget=p,m=null,yo(o)===n&&((c=new c(f,h+"enter",u,r,o)).target=p,c.relatedTarget=d,m=c),d=m,s&&u)e:{for(f=u,h=0,p=c=s;p;p=qn(p))h++;for(p=0,m=f;m;m=qn(m))p++;for(;0<h-p;)c=qn(c),h--;for(;0<p-h;)f=qn(f),p--;for(;h--;){if(c===f||null!==f&&c===f.alternate)break e;c=qn(c),f=qn(f)}c=null}else c=null;null!==s&&Xn(i,l,s,c,!1),null!==u&&null!==d&&Xn(i,d,u,c,!0)}if("select"===(s=(l=n?xo(n):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var g=Yr;else if(Vr(l))if(Gr)g=on;else{g=rn;var v=tn}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(g=nn);switch(g&&(g=g(e,n))?Ur(i,g,r,o):(v&&v(e,l,n),"focusout"===e&&(v=l._wrapperState)&&v.controlled&&"number"===l.type&&ee(l,"number",l.value)),v=n?xo(n):window,e){case"focusin":(Vr(v)||"true"===v.contentEditable)&&(mn=v,gn=n,vn=null);break;case"focusout":vn=gn=mn=null;break;case"mousedown":yn=!0;break;case"contextmenu":case"mouseup":case"dragend":yn=!1,bn(i,r,o);break;case"selectionchange":if(hn)break;case"keydown":case"keyup":bn(i,r,o)}var y;if(Ar)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Nr?Dr(e,r)&&(b="onCompositionEnd"):"keydown"===e&&229===r.keyCode&&(b="onCompositionStart");b&&(Lr&&"ko"!==r.locale&&(Nr||"onCompositionStart"!==b?"onCompositionEnd"===b&&Nr&&(y=Jt()):(Zt="value"in(Qt=o)?Qt.value:Qt.textContent,Nr=!0)),0<(v=Hn(n,b)).length&&(b=new yr(b,e,null,r,o),i.push({event:b,listeners:v}),(y||null!==(y=$r(r)))&&(b.data=y))),(y=Mr?function(e,t){switch(e){case"compositionend":return $r(t);case"keypress":return 32!==t.which?null:(Ir=!0,Fr);case"textInput":return(e=t.data)===Fr&&Ir?null:e;default:return null}}(e,r):function(e,t){if(Nr)return"compositionend"===e||!Ar&&Dr(e,t)?(e=Jt(),Kt=Zt=Qt=null,Nr=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Lr&&"ko"!==t.locale?null:t.data}}(e,r))&&0<(n=Hn(n,"onBeforeInput")).length&&(o=new yr("onBeforeInput","beforeinput",null,r,o),i.push({event:o,listeners:n}),o.data=y)}In(i,t)}))}function Wn(e,t,r){return{instance:e,listener:t,currentTarget:r}}function Hn(e,t){for(var r=t+"Capture",n=[];null!==e;){var o=e,a=o.stateNode;5===o.tag&&null!==a&&(o=a,null!=(a=Ae(e,r))&&n.unshift(Wn(e,a,o)),null!=(a=Ae(e,t))&&n.push(Wn(e,a,o))),e=e.return}return n}function qn(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Xn(e,t,r,n,o){for(var a=t._reactName,i=[];null!==r&&r!==n;){var l=r,s=l.alternate,u=l.stateNode;if(null!==s&&s===n)break;5===l.tag&&null!==u&&(l=u,o?null!=(s=Ae(r,a))&&i.unshift(Wn(r,s,l)):o||null!=(s=Ae(r,a))&&i.push(Wn(r,s,l))),r=r.return}0!==i.length&&e.push({event:t,listeners:i})}var Yn=/\r\n?/g,Gn=/\u0000|\uFFFD/g;function Qn(e){return("string"==typeof e?e:""+e).replace(Yn,"\n").replace(Gn,"")}function Zn(e,t,r){if(t=Qn(t),Qn(e)!==t&&r)throw Error(a(425))}function Kn(){}var Jn=null,eo=null;function to(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ro="function"==typeof setTimeout?setTimeout:void 0,no="function"==typeof clearTimeout?clearTimeout:void 0,oo="function"==typeof Promise?Promise:void 0,ao="function"==typeof queueMicrotask?queueMicrotask:void 0!==oo?function(e){return oo.resolve(null).then(e).catch(io)}:ro;function io(e){setTimeout((function(){throw e}))}function lo(e,t){var r=t,n=0;do{var o=r.nextSibling;if(e.removeChild(r),o&&8===o.nodeType)if("/$"===(r=o.data)){if(0===n)return e.removeChild(o),void Bt(t);n--}else"$"!==r&&"$?"!==r&&"$!"!==r||n++;r=o}while(r);Bt(t)}function so(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function uo(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var r=e.data;if("$"===r||"$!"===r||"$?"===r){if(0===t)return e;t--}else"/$"===r&&t++}e=e.previousSibling}return null}var co=Math.random().toString(36).slice(2),fo="__reactFiber$"+co,po="__reactProps$"+co,ho="__reactContainer$"+co,mo="__reactEvents$"+co,go="__reactListeners$"+co,vo="__reactHandles$"+co;function yo(e){var t=e[fo];if(t)return t;for(var r=e.parentNode;r;){if(t=r[ho]||r[fo]){if(r=t.alternate,null!==t.child||null!==r&&null!==r.child)for(e=uo(e);null!==e;){if(r=e[fo])return r;e=uo(e)}return t}r=(e=r).parentNode}return null}function bo(e){return!(e=e[fo]||e[ho])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function xo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function wo(e){return e[po]||null}var So=[],ko=-1;function _o(e){return{current:e}}function Eo(e){0>ko||(e.current=So[ko],So[ko]=null,ko--)}function Co(e,t){ko++,So[ko]=e.current,e.current=t}var Po={},To=_o(Po),zo=_o(!1),jo=Po;function Oo(e,t){var r=e.type.contextTypes;if(!r)return Po;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in r)a[o]=t[o];return n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Ao(e){return null!=e.childContextTypes}function Ro(){Eo(zo),Eo(To)}function Mo(e,t,r){if(To.current!==Po)throw Error(a(168));Co(To,t),Co(zo,r)}function Lo(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,"function"!=typeof n.getChildContext)return r;for(var o in n=n.getChildContext())if(!(o in t))throw Error(a(108,U(e)||"Unknown",o));return I({},r,n)}function Fo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Po,jo=To.current,Co(To,e),Co(zo,zo.current),!0}function Io(e,t,r){var n=e.stateNode;if(!n)throw Error(a(169));r?(e=Lo(e,t,jo),n.__reactInternalMemoizedMergedChildContext=e,Eo(zo),Eo(To),Co(To,e)):Eo(zo),Co(zo,r)}var Do=null,$o=!1,No=!1;function Bo(e){null===Do?Do=[e]:Do.push(e)}function Vo(){if(!No&&null!==Do){No=!0;var e=0,t=yt;try{var r=Do;for(yt=1;e<r.length;e++){var n=r[e];do{n=n(!0)}while(null!==n)}Do=null,$o=!1}catch(t){throw null!==Do&&(Do=Do.slice(e+1)),Xe(Je,Vo),t}finally{yt=t,No=!1}}return null}var Uo=[],Wo=0,Ho=null,qo=0,Xo=[],Yo=0,Go=null,Qo=1,Zo="";function Ko(e,t){Uo[Wo++]=qo,Uo[Wo++]=Ho,Ho=e,qo=t}function Jo(e,t,r){Xo[Yo++]=Qo,Xo[Yo++]=Zo,Xo[Yo++]=Go,Go=e;var n=Qo;e=Zo;var o=32-it(n)-1;n&=~(1<<o),r+=1;var a=32-it(t)+o;if(30<a){var i=o-o%5;a=(n&(1<<i)-1).toString(32),n>>=i,o-=i,Qo=1<<32-it(t)+o|r<<o|n,Zo=a+e}else Qo=1<<a|r<<o|n,Zo=e}function ea(e){null!==e.return&&(Ko(e,1),Jo(e,1,0))}function ta(e){for(;e===Ho;)Ho=Uo[--Wo],Uo[Wo]=null,qo=Uo[--Wo],Uo[Wo]=null;for(;e===Go;)Go=Xo[--Yo],Xo[Yo]=null,Zo=Xo[--Yo],Xo[Yo]=null,Qo=Xo[--Yo],Xo[Yo]=null}var ra=null,na=null,oa=!1,aa=null;function ia(e,t){var r=ju(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,null===(t=e.deletions)?(e.deletions=[r],e.flags|=16):t.push(r)}function la(e,t){switch(e.tag){case 5:var r=e.type;return null!==(t=1!==t.nodeType||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ra=e,na=so(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ra=e,na=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(r=null!==Go?{id:Qo,overflow:Zo}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},(r=ju(18,null,null,0)).stateNode=t,r.return=e,e.child=r,ra=e,na=null,!0);default:return!1}}function sa(e){return!(!(1&e.mode)||128&e.flags)}function ua(e){if(oa){var t=na;if(t){var r=t;if(!la(e,t)){if(sa(e))throw Error(a(418));t=so(r.nextSibling);var n=ra;t&&la(e,t)?ia(n,r):(e.flags=-4097&e.flags|2,oa=!1,ra=e)}}else{if(sa(e))throw Error(a(418));e.flags=-4097&e.flags|2,oa=!1,ra=e}}}function ca(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ra=e}function da(e){if(e!==ra)return!1;if(!oa)return ca(e),oa=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!to(e.type,e.memoizedProps)),t&&(t=na)){if(sa(e))throw fa(),Error(a(418));for(;t;)ia(e,t),t=so(t.nextSibling)}if(ca(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var r=e.data;if("/$"===r){if(0===t){na=so(e.nextSibling);break e}t--}else"$"!==r&&"$!"!==r&&"$?"!==r||t++}e=e.nextSibling}na=null}}else na=ra?so(e.stateNode.nextSibling):null;return!0}function fa(){for(var e=na;e;)e=so(e.nextSibling)}function pa(){na=ra=null,oa=!1}function ha(e){null===aa?aa=[e]:aa.push(e)}var ma=x.ReactCurrentBatchConfig;function ga(e,t,r){if(null!==(e=r.ref)&&"function"!=typeof e&&"object"!=typeof e){if(r._owner){if(r=r._owner){if(1!==r.tag)throw Error(a(309));var n=r.stateNode}if(!n)throw Error(a(147,e));var o=n,i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=o.refs;null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(a(284));if(!r._owner)throw Error(a(290,e))}return e}function va(e,t){throw e=Object.prototype.toString.call(t),Error(a(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function ya(e){return(0,e._init)(e._payload)}function ba(e){function t(t,r){if(e){var n=t.deletions;null===n?(t.deletions=[r],t.flags|=16):n.push(r)}}function r(r,n){if(!e)return null;for(;null!==n;)t(r,n),n=n.sibling;return null}function n(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Au(e,t)).index=0,e.sibling=null,e}function i(t,r,n){return t.index=n,e?null!==(n=t.alternate)?(n=n.index)<r?(t.flags|=2,r):n:(t.flags|=2,r):(t.flags|=1048576,r)}function l(t){return e&&null===t.alternate&&(t.flags|=2),t}function s(e,t,r,n){return null===t||6!==t.tag?((t=Fu(r,e.mode,n)).return=e,t):((t=o(t,r)).return=e,t)}function u(e,t,r,n){var a=r.type;return a===k?d(e,t,r.props.children,n,r.key):null!==t&&(t.elementType===a||"object"==typeof a&&null!==a&&a.$$typeof===A&&ya(a)===t.type)?((n=o(t,r.props)).ref=ga(e,t,r),n.return=e,n):((n=Ru(r.type,r.key,r.props,null,e.mode,n)).ref=ga(e,t,r),n.return=e,n)}function c(e,t,r,n){return null===t||4!==t.tag||t.stateNode.containerInfo!==r.containerInfo||t.stateNode.implementation!==r.implementation?((t=Iu(r,e.mode,n)).return=e,t):((t=o(t,r.children||[])).return=e,t)}function d(e,t,r,n,a){return null===t||7!==t.tag?((t=Mu(r,e.mode,n,a)).return=e,t):((t=o(t,r)).return=e,t)}function f(e,t,r){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Fu(""+t,e.mode,r)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case w:return(r=Ru(t.type,t.key,t.props,null,e.mode,r)).ref=ga(e,null,t),r.return=e,r;case S:return(t=Iu(t,e.mode,r)).return=e,t;case A:return f(e,(0,t._init)(t._payload),r)}if(te(t)||L(t))return(t=Mu(t,e.mode,r,null)).return=e,t;va(e,t)}return null}function p(e,t,r,n){var o=null!==t?t.key:null;if("string"==typeof r&&""!==r||"number"==typeof r)return null!==o?null:s(e,t,""+r,n);if("object"==typeof r&&null!==r){switch(r.$$typeof){case w:return r.key===o?u(e,t,r,n):null;case S:return r.key===o?c(e,t,r,n):null;case A:return p(e,t,(o=r._init)(r._payload),n)}if(te(r)||L(r))return null!==o?null:d(e,t,r,n,null);va(e,r)}return null}function h(e,t,r,n,o){if("string"==typeof n&&""!==n||"number"==typeof n)return s(t,e=e.get(r)||null,""+n,o);if("object"==typeof n&&null!==n){switch(n.$$typeof){case w:return u(t,e=e.get(null===n.key?r:n.key)||null,n,o);case S:return c(t,e=e.get(null===n.key?r:n.key)||null,n,o);case A:return h(e,t,r,(0,n._init)(n._payload),o)}if(te(n)||L(n))return d(t,e=e.get(r)||null,n,o,null);va(t,n)}return null}function m(o,a,l,s){for(var u=null,c=null,d=a,m=a=0,g=null;null!==d&&m<l.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var v=p(o,d,l[m],s);if(null===v){null===d&&(d=g);break}e&&d&&null===v.alternate&&t(o,d),a=i(v,a,m),null===c?u=v:c.sibling=v,c=v,d=g}if(m===l.length)return r(o,d),oa&&Ko(o,m),u;if(null===d){for(;m<l.length;m++)null!==(d=f(o,l[m],s))&&(a=i(d,a,m),null===c?u=d:c.sibling=d,c=d);return oa&&Ko(o,m),u}for(d=n(o,d);m<l.length;m++)null!==(g=h(d,o,m,l[m],s))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),a=i(g,a,m),null===c?u=g:c.sibling=g,c=g);return e&&d.forEach((function(e){return t(o,e)})),oa&&Ko(o,m),u}function g(o,l,s,u){var c=L(s);if("function"!=typeof c)throw Error(a(150));if(null==(s=c.call(s)))throw Error(a(151));for(var d=c=null,m=l,g=l=0,v=null,y=s.next();null!==m&&!y.done;g++,y=s.next()){m.index>g?(v=m,m=null):v=m.sibling;var b=p(o,m,y.value,u);if(null===b){null===m&&(m=v);break}e&&m&&null===b.alternate&&t(o,m),l=i(b,l,g),null===d?c=b:d.sibling=b,d=b,m=v}if(y.done)return r(o,m),oa&&Ko(o,g),c;if(null===m){for(;!y.done;g++,y=s.next())null!==(y=f(o,y.value,u))&&(l=i(y,l,g),null===d?c=y:d.sibling=y,d=y);return oa&&Ko(o,g),c}for(m=n(o,m);!y.done;g++,y=s.next())null!==(y=h(m,o,g,y.value,u))&&(e&&null!==y.alternate&&m.delete(null===y.key?g:y.key),l=i(y,l,g),null===d?c=y:d.sibling=y,d=y);return e&&m.forEach((function(e){return t(o,e)})),oa&&Ko(o,g),c}return function e(n,a,i,s){if("object"==typeof i&&null!==i&&i.type===k&&null===i.key&&(i=i.props.children),"object"==typeof i&&null!==i){switch(i.$$typeof){case w:e:{for(var u=i.key,c=a;null!==c;){if(c.key===u){if((u=i.type)===k){if(7===c.tag){r(n,c.sibling),(a=o(c,i.props.children)).return=n,n=a;break e}}else if(c.elementType===u||"object"==typeof u&&null!==u&&u.$$typeof===A&&ya(u)===c.type){r(n,c.sibling),(a=o(c,i.props)).ref=ga(n,c,i),a.return=n,n=a;break e}r(n,c);break}t(n,c),c=c.sibling}i.type===k?((a=Mu(i.props.children,n.mode,s,i.key)).return=n,n=a):((s=Ru(i.type,i.key,i.props,null,n.mode,s)).ref=ga(n,a,i),s.return=n,n=s)}return l(n);case S:e:{for(c=i.key;null!==a;){if(a.key===c){if(4===a.tag&&a.stateNode.containerInfo===i.containerInfo&&a.stateNode.implementation===i.implementation){r(n,a.sibling),(a=o(a,i.children||[])).return=n,n=a;break e}r(n,a);break}t(n,a),a=a.sibling}(a=Iu(i,n.mode,s)).return=n,n=a}return l(n);case A:return e(n,a,(c=i._init)(i._payload),s)}if(te(i))return m(n,a,i,s);if(L(i))return g(n,a,i,s);va(n,i)}return"string"==typeof i&&""!==i||"number"==typeof i?(i=""+i,null!==a&&6===a.tag?(r(n,a.sibling),(a=o(a,i)).return=n,n=a):(r(n,a),(a=Fu(i,n.mode,s)).return=n,n=a),l(n)):r(n,a)}}var xa=ba(!0),wa=ba(!1),Sa=_o(null),ka=null,_a=null,Ea=null;function Ca(){Ea=_a=ka=null}function Pa(e){var t=Sa.current;Eo(Sa),e._currentValue=t}function Ta(e,t,r){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==n&&(n.childLanes|=t)):null!==n&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function za(e,t){ka=e,Ea=_a=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(!!(e.lanes&t)&&(yl=!0),e.firstContext=null)}function ja(e){var t=e._currentValue;if(Ea!==e)if(e={context:e,memoizedValue:t,next:null},null===_a){if(null===ka)throw Error(a(308));_a=e,ka.dependencies={lanes:0,firstContext:e}}else _a=_a.next=e;return t}var Oa=null;function Aa(e){null===Oa?Oa=[e]:Oa.push(e)}function Ra(e,t,r,n){var o=t.interleaved;return null===o?(r.next=r,Aa(t)):(r.next=o.next,o.next=r),t.interleaved=r,Ma(e,n)}function Ma(e,t){e.lanes|=t;var r=e.alternate;for(null!==r&&(r.lanes|=t),r=e,e=e.return;null!==e;)e.childLanes|=t,null!==(r=e.alternate)&&(r.childLanes|=t),r=e,e=e.return;return 3===r.tag?r.stateNode:null}var La=!1;function Fa(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ia(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Da(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function $a(e,t,r){var n=e.updateQueue;if(null===n)return null;if(n=n.shared,2&Ps){var o=n.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),n.pending=t,Ma(e,r)}return null===(o=n.interleaved)?(t.next=t,Aa(n)):(t.next=o.next,o.next=t),n.interleaved=t,Ma(e,r)}function Na(e,t,r){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&r)){var n=t.lanes;r|=n&=e.pendingLanes,t.lanes=r,vt(e,r)}}function Ba(e,t){var r=e.updateQueue,n=e.alternate;if(null!==n&&r===(n=n.updateQueue)){var o=null,a=null;if(null!==(r=r.firstBaseUpdate)){do{var i={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};null===a?o=a=i:a=a.next=i,r=r.next}while(null!==r);null===a?o=a=t:a=a.next=t}else o=a=t;return r={baseState:n.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:n.shared,effects:n.effects},void(e.updateQueue=r)}null===(e=r.lastBaseUpdate)?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function Va(e,t,r,n){var o=e.updateQueue;La=!1;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,u=s.next;s.next=null,null===i?a=u:i.next=u,i=s;var c=e.alternate;null!==c&&(l=(c=c.updateQueue).lastBaseUpdate)!==i&&(null===l?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s)}if(null!==a){var d=o.baseState;for(i=0,c=u=s=null,l=a;;){var f=l.lane,p=l.eventTime;if((n&f)===f){null!==c&&(c=c.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var h=e,m=l;switch(f=t,p=r,m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=m.payload)?h.call(p,d,f):h))break e;d=I({},d,f);break e;case 2:La=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(f=o.effects)?o.effects=[l]:f.push(l))}else p={eventTime:p,lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(u=c=p,s=d):c=c.next=p,i|=f;if(null===(l=l.next)){if(null===(l=o.shared.pending))break;l=(f=l).next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}if(null===c&&(s=d),o.baseState=s,o.firstBaseUpdate=u,o.lastBaseUpdate=c,null!==(t=o.shared.interleaved)){o=t;do{i|=o.lane,o=o.next}while(o!==t)}else null===a&&(o.shared.lanes=0);Ls|=i,e.lanes=i,e.memoizedState=d}}function Ua(e,t,r){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var n=e[t],o=n.callback;if(null!==o){if(n.callback=null,n=r,"function"!=typeof o)throw Error(a(191,o));o.call(n)}}}var Wa={},Ha=_o(Wa),qa=_o(Wa),Xa=_o(Wa);function Ya(e){if(e===Wa)throw Error(a(174));return e}function Ga(e,t){switch(Co(Xa,t),Co(qa,e),Co(Ha,Wa),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)}Eo(Ha),Co(Ha,t)}function Qa(){Eo(Ha),Eo(qa),Eo(Xa)}function Za(e){Ya(Xa.current);var t=Ya(Ha.current),r=se(t,e.type);t!==r&&(Co(qa,e),Co(Ha,r))}function Ka(e){qa.current===e&&(Eo(Ha),Eo(qa))}var Ja=_o(0);function ei(e){for(var t=e;null!==t;){if(13===t.tag){var r=t.memoizedState;if(null!==r&&(null===(r=r.dehydrated)||"$?"===r.data||"$!"===r.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(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 ti=[];function ri(){for(var e=0;e<ti.length;e++)ti[e]._workInProgressVersionPrimary=null;ti.length=0}var ni=x.ReactCurrentDispatcher,oi=x.ReactCurrentBatchConfig,ai=0,ii=null,li=null,si=null,ui=!1,ci=!1,di=0,fi=0;function pi(){throw Error(a(321))}function hi(e,t){if(null===t)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!an(e[r],t[r]))return!1;return!0}function mi(e,t,r,n,o,i){if(ai=i,ii=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ni.current=null===e||null===e.memoizedState?Ki:Ji,e=r(n,o),ci){i=0;do{if(ci=!1,di=0,25<=i)throw Error(a(301));i+=1,si=li=null,t.updateQueue=null,ni.current=el,e=r(n,o)}while(ci)}if(ni.current=Zi,t=null!==li&&null!==li.next,ai=0,si=li=ii=null,ui=!1,t)throw Error(a(300));return e}function gi(){var e=0!==di;return di=0,e}function vi(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===si?ii.memoizedState=si=e:si=si.next=e,si}function yi(){if(null===li){var e=ii.alternate;e=null!==e?e.memoizedState:null}else e=li.next;var t=null===si?ii.memoizedState:si.next;if(null!==t)si=t,li=e;else{if(null===e)throw Error(a(310));e={memoizedState:(li=e).memoizedState,baseState:li.baseState,baseQueue:li.baseQueue,queue:li.queue,next:null},null===si?ii.memoizedState=si=e:si=si.next=e}return si}function bi(e,t){return"function"==typeof t?t(e):t}function xi(e){var t=yi(),r=t.queue;if(null===r)throw Error(a(311));r.lastRenderedReducer=e;var n=li,o=n.baseQueue,i=r.pending;if(null!==i){if(null!==o){var l=o.next;o.next=i.next,i.next=l}n.baseQueue=o=i,r.pending=null}if(null!==o){i=o.next,n=n.baseState;var s=l=null,u=null,c=i;do{var d=c.lane;if((ai&d)===d)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),n=c.hasEagerState?c.eagerState:e(n,c.action);else{var f={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(s=u=f,l=n):u=u.next=f,ii.lanes|=d,Ls|=d}c=c.next}while(null!==c&&c!==i);null===u?l=n:u.next=s,an(n,t.memoizedState)||(yl=!0),t.memoizedState=n,t.baseState=l,t.baseQueue=u,r.lastRenderedState=n}if(null!==(e=r.interleaved)){o=e;do{i=o.lane,ii.lanes|=i,Ls|=i,o=o.next}while(o!==e)}else null===o&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function wi(e){var t=yi(),r=t.queue;if(null===r)throw Error(a(311));r.lastRenderedReducer=e;var n=r.dispatch,o=r.pending,i=t.memoizedState;if(null!==o){r.pending=null;var l=o=o.next;do{i=e(i,l.action),l=l.next}while(l!==o);an(i,t.memoizedState)||(yl=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),r.lastRenderedState=i}return[i,n]}function Si(){}function ki(e,t){var r=ii,n=yi(),o=t(),i=!an(n.memoizedState,o);if(i&&(n.memoizedState=o,yl=!0),n=n.queue,Li(Ci.bind(null,r,n,e),[e]),n.getSnapshot!==t||i||null!==si&&1&si.memoizedState.tag){if(r.flags|=2048,ji(9,Ei.bind(null,r,n,o,t),void 0,null),null===Ts)throw Error(a(349));30&ai||_i(r,t,o)}return o}function _i(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},null===(t=ii.updateQueue)?(t={lastEffect:null,stores:null},ii.updateQueue=t,t.stores=[e]):null===(r=t.stores)?t.stores=[e]:r.push(e)}function Ei(e,t,r,n){t.value=r,t.getSnapshot=n,Pi(t)&&Ti(e)}function Ci(e,t,r){return r((function(){Pi(t)&&Ti(e)}))}function Pi(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!an(e,r)}catch(e){return!0}}function Ti(e){var t=Ma(e,1);null!==t&&tu(t,e,1,-1)}function zi(e){var t=vi();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:bi,lastRenderedState:e},t.queue=e,e=e.dispatch=Xi.bind(null,ii,e),[t.memoizedState,e]}function ji(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},null===(t=ii.updateQueue)?(t={lastEffect:null,stores:null},ii.updateQueue=t,t.lastEffect=e.next=e):null===(r=t.lastEffect)?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e),e}function Oi(){return yi().memoizedState}function Ai(e,t,r,n){var o=vi();ii.flags|=e,o.memoizedState=ji(1|t,r,void 0,void 0===n?null:n)}function Ri(e,t,r,n){var o=yi();n=void 0===n?null:n;var a=void 0;if(null!==li){var i=li.memoizedState;if(a=i.destroy,null!==n&&hi(n,i.deps))return void(o.memoizedState=ji(t,r,a,n))}ii.flags|=e,o.memoizedState=ji(1|t,r,a,n)}function Mi(e,t){return Ai(8390656,8,e,t)}function Li(e,t){return Ri(2048,8,e,t)}function Fi(e,t){return Ri(4,2,e,t)}function Ii(e,t){return Ri(4,4,e,t)}function Di(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function $i(e,t,r){return r=null!=r?r.concat([e]):null,Ri(4,4,Di.bind(null,t,e),r)}function Ni(){}function Bi(e,t){var r=yi();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&hi(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function Vi(e,t){var r=yi();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&hi(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function Ui(e,t,r){return 21&ai?(an(r,t)||(r=mt(),ii.lanes|=r,Ls|=r,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,yl=!0),e.memoizedState=r)}function Wi(e,t){var r=yt;yt=0!==r&&4>r?r:4,e(!0);var n=oi.transition;oi.transition={};try{e(!1),t()}finally{yt=r,oi.transition=n}}function Hi(){return yi().memoizedState}function qi(e,t,r){var n=eu(e);r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},Yi(e)?Gi(t,r):null!==(r=Ra(e,t,r,n))&&(tu(r,e,n,Js()),Qi(r,t,n))}function Xi(e,t,r){var n=eu(e),o={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(Yi(e))Gi(t,o);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=a(i,r);if(o.hasEagerState=!0,o.eagerState=l,an(l,i)){var s=t.interleaved;return null===s?(o.next=o,Aa(t)):(o.next=s.next,s.next=o),void(t.interleaved=o)}}catch(e){}null!==(r=Ra(e,t,o,n))&&(tu(r,e,n,o=Js()),Qi(r,t,n))}}function Yi(e){var t=e.alternate;return e===ii||null!==t&&t===ii}function Gi(e,t){ci=ui=!0;var r=e.pending;null===r?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function Qi(e,t,r){if(4194240&r){var n=t.lanes;r|=n&=e.pendingLanes,t.lanes=r,vt(e,r)}}var Zi={readContext:ja,useCallback:pi,useContext:pi,useEffect:pi,useImperativeHandle:pi,useInsertionEffect:pi,useLayoutEffect:pi,useMemo:pi,useReducer:pi,useRef:pi,useState:pi,useDebugValue:pi,useDeferredValue:pi,useTransition:pi,useMutableSource:pi,useSyncExternalStore:pi,useId:pi,unstable_isNewReconciler:!1},Ki={readContext:ja,useCallback:function(e,t){return vi().memoizedState=[e,void 0===t?null:t],e},useContext:ja,useEffect:Mi,useImperativeHandle:function(e,t,r){return r=null!=r?r.concat([e]):null,Ai(4194308,4,Di.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Ai(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ai(4,2,e,t)},useMemo:function(e,t){var r=vi();return t=void 0===t?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=vi();return t=void 0!==r?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=qi.bind(null,ii,e),[n.memoizedState,e]},useRef:function(e){return e={current:e},vi().memoizedState=e},useState:zi,useDebugValue:Ni,useDeferredValue:function(e){return vi().memoizedState=e},useTransition:function(){var e=zi(!1),t=e[0];return e=Wi.bind(null,e[1]),vi().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=ii,o=vi();if(oa){if(void 0===r)throw Error(a(407));r=r()}else{if(r=t(),null===Ts)throw Error(a(349));30&ai||_i(n,t,r)}o.memoizedState=r;var i={value:r,getSnapshot:t};return o.queue=i,Mi(Ci.bind(null,n,i,e),[e]),n.flags|=2048,ji(9,Ei.bind(null,n,i,r,t),void 0,null),r},useId:function(){var e=vi(),t=Ts.identifierPrefix;if(oa){var r=Zo;t=":"+t+"R"+(r=(Qo&~(1<<32-it(Qo)-1)).toString(32)+r),0<(r=di++)&&(t+="H"+r.toString(32)),t+=":"}else t=":"+t+"r"+(r=fi++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Ji={readContext:ja,useCallback:Bi,useContext:ja,useEffect:Li,useImperativeHandle:$i,useInsertionEffect:Fi,useLayoutEffect:Ii,useMemo:Vi,useReducer:xi,useRef:Oi,useState:function(){return xi(bi)},useDebugValue:Ni,useDeferredValue:function(e){return Ui(yi(),li.memoizedState,e)},useTransition:function(){return[xi(bi)[0],yi().memoizedState]},useMutableSource:Si,useSyncExternalStore:ki,useId:Hi,unstable_isNewReconciler:!1},el={readContext:ja,useCallback:Bi,useContext:ja,useEffect:Li,useImperativeHandle:$i,useInsertionEffect:Fi,useLayoutEffect:Ii,useMemo:Vi,useReducer:wi,useRef:Oi,useState:function(){return wi(bi)},useDebugValue:Ni,useDeferredValue:function(e){var t=yi();return null===li?t.memoizedState=e:Ui(t,li.memoizedState,e)},useTransition:function(){return[wi(bi)[0],yi().memoizedState]},useMutableSource:Si,useSyncExternalStore:ki,useId:Hi,unstable_isNewReconciler:!1};function tl(e,t){if(e&&e.defaultProps){for(var r in t=I({},t),e=e.defaultProps)void 0===t[r]&&(t[r]=e[r]);return t}return t}function rl(e,t,r,n){r=null==(r=r(n,t=e.memoizedState))?t:I({},t,r),e.memoizedState=r,0===e.lanes&&(e.updateQueue.baseState=r)}var nl={isMounted:function(e){return!!(e=e._reactInternals)&&Ve(e)===e},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=Js(),o=eu(e),a=Da(n,o);a.payload=t,null!=r&&(a.callback=r),null!==(t=$a(e,a,o))&&(tu(t,e,o,n),Na(t,e,o))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=Js(),o=eu(e),a=Da(n,o);a.tag=1,a.payload=t,null!=r&&(a.callback=r),null!==(t=$a(e,a,o))&&(tu(t,e,o,n),Na(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=Js(),n=eu(e),o=Da(r,n);o.tag=2,null!=t&&(o.callback=t),null!==(t=$a(e,o,n))&&(tu(t,e,n,r),Na(t,e,n))}};function ol(e,t,r,n,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(n,a,i):!(t.prototype&&t.prototype.isPureReactComponent&&ln(r,n)&&ln(o,a))}function al(e,t,r){var n=!1,o=Po,a=t.contextType;return"object"==typeof a&&null!==a?a=ja(a):(o=Ao(t)?jo:To.current,a=(n=null!=(n=t.contextTypes))?Oo(e,o):Po),t=new t(r,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=nl,e.stateNode=t,t._reactInternals=e,n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function il(e,t,r,n){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(r,n),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&nl.enqueueReplaceState(t,t.state,null)}function ll(e,t,r,n){var o=e.stateNode;o.props=r,o.state=e.memoizedState,o.refs={},Fa(e);var a=t.contextType;"object"==typeof a&&null!==a?o.context=ja(a):(a=Ao(t)?jo:To.current,o.context=Oo(e,a)),o.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(rl(e,t,a,r),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&nl.enqueueReplaceState(o,o.state,null),Va(e,r,o,n),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function sl(e,t){try{var r="",n=t;do{r+=B(n),n=n.return}while(n);var o=r}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o,digest:null}}function ul(e,t,r){return{value:e,source:null,stack:null!=r?r:null,digest:null!=t?t:null}}function cl(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var dl="function"==typeof WeakMap?WeakMap:Map;function fl(e,t,r){(r=Da(-1,r)).tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){Us||(Us=!0,Ws=n),cl(0,t)},r}function pl(e,t,r){(r=Da(-1,r)).tag=3;var n=e.type.getDerivedStateFromError;if("function"==typeof n){var o=t.value;r.payload=function(){return n(o)},r.callback=function(){cl(0,t)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(r.callback=function(){cl(0,t),"function"!=typeof n&&(null===Hs?Hs=new Set([this]):Hs.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),r}function hl(e,t,r){var n=e.pingCache;if(null===n){n=e.pingCache=new dl;var o=new Set;n.set(t,o)}else void 0===(o=n.get(t))&&(o=new Set,n.set(t,o));o.has(r)||(o.add(r),e=_u.bind(null,e,t,r),t.then(e,e))}function ml(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 gl(e,t,r,n,o){return 1&e.mode?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,1===r.tag&&(null===r.alternate?r.tag=17:((t=Da(-1,1)).tag=2,$a(r,t,1))),r.lanes|=1),e)}var vl=x.ReactCurrentOwner,yl=!1;function bl(e,t,r,n){t.child=null===e?wa(t,null,r,n):xa(t,e.child,r,n)}function xl(e,t,r,n,o){r=r.render;var a=t.ref;return za(t,o),n=mi(e,t,r,n,a,o),r=gi(),null===e||yl?(oa&&r&&ea(t),t.flags|=1,bl(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Ul(e,t,o))}function wl(e,t,r,n,o){if(null===e){var a=r.type;return"function"!=typeof a||Ou(a)||void 0!==a.defaultProps||null!==r.compare||void 0!==r.defaultProps?((e=Ru(r.type,null,n,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Sl(e,t,a,n,o))}if(a=e.child,!(e.lanes&o)){var i=a.memoizedProps;if((r=null!==(r=r.compare)?r:ln)(i,n)&&e.ref===t.ref)return Ul(e,t,o)}return t.flags|=1,(e=Au(a,n)).ref=t.ref,e.return=t,t.child=e}function Sl(e,t,r,n,o){if(null!==e){var a=e.memoizedProps;if(ln(a,n)&&e.ref===t.ref){if(yl=!1,t.pendingProps=n=a,!(e.lanes&o))return t.lanes=e.lanes,Ul(e,t,o);131072&e.flags&&(yl=!0)}}return El(e,t,r,n,o)}function kl(e,t,r){var n=t.pendingProps,o=n.children,a=null!==e?e.memoizedState:null;if("hidden"===n.mode)if(1&t.mode){if(!(1073741824&r))return e=null!==a?a.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Co(As,Os),Os|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=null!==a?a.baseLanes:r,Co(As,Os),Os|=n}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Co(As,Os),Os|=r;else null!==a?(n=a.baseLanes|r,t.memoizedState=null):n=r,Co(As,Os),Os|=n;return bl(e,t,o,r),t.child}function _l(e,t){var r=t.ref;(null===e&&null!==r||null!==e&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function El(e,t,r,n,o){var a=Ao(r)?jo:To.current;return a=Oo(t,a),za(t,o),r=mi(e,t,r,n,a,o),n=gi(),null===e||yl?(oa&&n&&ea(t),t.flags|=1,bl(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Ul(e,t,o))}function Cl(e,t,r,n,o){if(Ao(r)){var a=!0;Fo(t)}else a=!1;if(za(t,o),null===t.stateNode)Vl(e,t),al(t,r,n),ll(t,r,n,o),n=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var s=i.context,u=r.contextType;u="object"==typeof u&&null!==u?ja(u):Oo(t,u=Ao(r)?jo:To.current);var c=r.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==n||s!==u)&&il(t,i,n,u),La=!1;var f=t.memoizedState;i.state=f,Va(t,n,i,o),s=t.memoizedState,l!==n||f!==s||zo.current||La?("function"==typeof c&&(rl(t,r,c,n),s=t.memoizedState),(l=La||ol(t,r,l,n,f,s,u))?(d||"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=n,t.memoizedState=s),i.props=n,i.state=s,i.context=u,n=l):("function"==typeof i.componentDidMount&&(t.flags|=4194308),n=!1)}else{i=t.stateNode,Ia(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:tl(t.type,l),i.props=u,d=t.pendingProps,f=i.context,s="object"==typeof(s=r.contextType)&&null!==s?ja(s):Oo(t,s=Ao(r)?jo:To.current);var p=r.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==d||f!==s)&&il(t,i,n,s),La=!1,f=t.memoizedState,i.state=f,Va(t,n,i,o);var h=t.memoizedState;l!==d||f!==h||zo.current||La?("function"==typeof p&&(rl(t,r,p,n),h=t.memoizedState),(u=La||ol(t,r,u,n,f,h,s)||!1)?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(n,h,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(n,h,s)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=h),i.props=n,i.state=h,i.context=s,n=u):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),n=!1)}return Pl(e,t,r,n,a,o)}function Pl(e,t,r,n,o,a){_l(e,t);var i=!!(128&t.flags);if(!n&&!i)return o&&Io(t,r,!1),Ul(e,t,a);n=t.stateNode,vl.current=t;var l=i&&"function"!=typeof r.getDerivedStateFromError?null:n.render();return t.flags|=1,null!==e&&i?(t.child=xa(t,e.child,null,a),t.child=xa(t,null,l,a)):bl(e,t,l,a),t.memoizedState=n.state,o&&Io(t,r,!0),t.child}function Tl(e){var t=e.stateNode;t.pendingContext?Mo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Mo(0,t.context,!1),Ga(e,t.containerInfo)}function zl(e,t,r,n,o){return pa(),ha(o),t.flags|=256,bl(e,t,r,n),t.child}var jl,Ol,Al,Rl,Ml={dehydrated:null,treeContext:null,retryLane:0};function Ll(e){return{baseLanes:e,cachePool:null,transitions:null}}function Fl(e,t,r){var n,o=t.pendingProps,i=Ja.current,l=!1,s=!!(128&t.flags);if((n=s)||(n=(null===e||null!==e.memoizedState)&&!!(2&i)),n?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),Co(Ja,1&i),null===e)return ua(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=o.children,e=o.fallback,l?(o=t.mode,l=t.child,s={mode:"hidden",children:s},1&o||null===l?l=Lu(s,o,0,null):(l.childLanes=0,l.pendingProps=s),e=Mu(e,o,r,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Ll(r),t.memoizedState=Ml,e):Il(t,s));if(null!==(i=e.memoizedState)&&null!==(n=i.dehydrated))return function(e,t,r,n,o,i,l){if(r)return 256&t.flags?(t.flags&=-257,Dl(e,t,l,n=ul(Error(a(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=n.fallback,o=t.mode,n=Lu({mode:"visible",children:n.children},o,0,null),(i=Mu(i,o,l,null)).flags|=2,n.return=t,i.return=t,n.sibling=i,t.child=n,1&t.mode&&xa(t,e.child,null,l),t.child.memoizedState=Ll(l),t.memoizedState=Ml,i);if(!(1&t.mode))return Dl(e,t,l,null);if("$!"===o.data){if(n=o.nextSibling&&o.nextSibling.dataset)var s=n.dgst;return n=s,Dl(e,t,l,n=ul(i=Error(a(419)),n,void 0))}if(s=!!(l&e.childLanes),yl||s){if(null!==(n=Ts)){switch(l&-l){case 4:o=2;break;case 16:o=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:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=o&(n.suspendedLanes|l)?0:o)&&o!==i.retryLane&&(i.retryLane=o,Ma(e,o),tu(n,e,o,-1))}return hu(),Dl(e,t,l,n=ul(Error(a(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Cu.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,na=so(o.nextSibling),ra=t,oa=!0,aa=null,null!==e&&(Xo[Yo++]=Qo,Xo[Yo++]=Zo,Xo[Yo++]=Go,Qo=e.id,Zo=e.overflow,Go=t),(t=Il(t,n.children)).flags|=4096,t)}(e,t,s,o,n,i,r);if(l){l=o.fallback,s=t.mode,n=(i=e.child).sibling;var u={mode:"hidden",children:o.children};return 1&s||t.child===i?(o=Au(i,u)).subtreeFlags=14680064&i.subtreeFlags:((o=t.child).childLanes=0,o.pendingProps=u,t.deletions=null),null!==n?l=Au(n,l):(l=Mu(l,s,r,null)).flags|=2,l.return=t,o.return=t,o.sibling=l,t.child=o,o=l,l=t.child,s=null===(s=e.child.memoizedState)?Ll(r):{baseLanes:s.baseLanes|r,cachePool:null,transitions:s.transitions},l.memoizedState=s,l.childLanes=e.childLanes&~r,t.memoizedState=Ml,o}return e=(l=e.child).sibling,o=Au(l,{mode:"visible",children:o.children}),!(1&t.mode)&&(o.lanes=r),o.return=t,o.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=o,t.memoizedState=null,o}function Il(e,t){return(t=Lu({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Dl(e,t,r,n){return null!==n&&ha(n),xa(t,e.child,null,r),(e=Il(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function $l(e,t,r){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),Ta(e.return,t,r)}function Nl(e,t,r,n,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=n,a.tail=r,a.tailMode=o)}function Bl(e,t,r){var n=t.pendingProps,o=n.revealOrder,a=n.tail;if(bl(e,t,n.children,r),2&(n=Ja.current))n=1&n|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&$l(e,r,t);else if(19===e.tag)$l(e,r,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}n&=1}if(Co(Ja,n),1&t.mode)switch(o){case"forwards":for(r=t.child,o=null;null!==r;)null!==(e=r.alternate)&&null===ei(e)&&(o=r),r=r.sibling;null===(r=o)?(o=t.child,t.child=null):(o=r.sibling,r.sibling=null),Nl(t,!1,o,r,a);break;case"backwards":for(r=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ei(e)){t.child=o;break}e=o.sibling,o.sibling=r,r=o,o=e}Nl(t,!0,r,null,a);break;case"together":Nl(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function Vl(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ul(e,t,r){if(null!==e&&(t.dependencies=e.dependencies),Ls|=t.lanes,!(r&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(r=Au(e=t.child,e.pendingProps),t.child=r,r.return=t;null!==e.sibling;)e=e.sibling,(r=r.sibling=Au(e,e.pendingProps)).return=t;r.sibling=null}return t.child}function Wl(e,t){if(!oa)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;null!==t;)null!==t.alternate&&(r=t),t=t.sibling;null===r?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;null!==r;)null!==r.alternate&&(n=r),r=r.sibling;null===n?t||null===e.tail?e.tail=null:e.tail.sibling=null:n.sibling=null}}function Hl(e){var t=null!==e.alternate&&e.alternate.child===e.child,r=0,n=0;if(t)for(var o=e.child;null!==o;)r|=o.lanes|o.childLanes,n|=14680064&o.subtreeFlags,n|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)r|=o.lanes|o.childLanes,n|=o.subtreeFlags,n|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=n,e.childLanes=r,t}function ql(e,t,r){var n=t.pendingProps;switch(ta(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Hl(t),null;case 1:case 17:return Ao(t.type)&&Ro(),Hl(t),null;case 3:return n=t.stateNode,Qa(),Eo(zo),Eo(To),ri(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||(da(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==aa&&(au(aa),aa=null))),Ol(e,t),Hl(t),null;case 5:Ka(t);var o=Ya(Xa.current);if(r=t.type,null!==e&&null!=t.stateNode)Al(e,t,r,n,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!n){if(null===t.stateNode)throw Error(a(166));return Hl(t),null}if(e=Ya(Ha.current),da(t)){n=t.stateNode,r=t.type;var i=t.memoizedProps;switch(n[fo]=t,n[po]=i,e=!!(1&t.mode),r){case"dialog":Dn("cancel",n),Dn("close",n);break;case"iframe":case"object":case"embed":Dn("load",n);break;case"video":case"audio":for(o=0;o<Mn.length;o++)Dn(Mn[o],n);break;case"source":Dn("error",n);break;case"img":case"image":case"link":Dn("error",n),Dn("load",n);break;case"details":Dn("toggle",n);break;case"input":Q(n,i),Dn("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!i.multiple},Dn("invalid",n);break;case"textarea":oe(n,i),Dn("invalid",n)}for(var s in ye(r,i),o=null,i)if(i.hasOwnProperty(s)){var u=i[s];"children"===s?"string"==typeof u?n.textContent!==u&&(!0!==i.suppressHydrationWarning&&Zn(n.textContent,u,e),o=["children",u]):"number"==typeof u&&n.textContent!==""+u&&(!0!==i.suppressHydrationWarning&&Zn(n.textContent,u,e),o=["children",""+u]):l.hasOwnProperty(s)&&null!=u&&"onScroll"===s&&Dn("scroll",n)}switch(r){case"input":q(n),J(n,i,!0);break;case"textarea":q(n),ie(n);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(n.onclick=Kn)}n=o,t.updateQueue=n,null!==n&&(t.flags|=4)}else{s=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=le(r)),"http://www.w3.org/1999/xhtml"===e?"script"===r?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof n.is?e=s.createElement(r,{is:n.is}):(e=s.createElement(r),"select"===r&&(s=e,n.multiple?s.multiple=!0:n.size&&(s.size=n.size))):e=s.createElementNS(e,r),e[fo]=t,e[po]=n,jl(e,t,!1,!1),t.stateNode=e;e:{switch(s=be(r,n),r){case"dialog":Dn("cancel",e),Dn("close",e),o=n;break;case"iframe":case"object":case"embed":Dn("load",e),o=n;break;case"video":case"audio":for(o=0;o<Mn.length;o++)Dn(Mn[o],e);o=n;break;case"source":Dn("error",e),o=n;break;case"img":case"image":case"link":Dn("error",e),Dn("load",e),o=n;break;case"details":Dn("toggle",e),o=n;break;case"input":Q(e,n),o=G(e,n),Dn("invalid",e);break;case"option":default:o=n;break;case"select":e._wrapperState={wasMultiple:!!n.multiple},o=I({},n,{value:void 0}),Dn("invalid",e);break;case"textarea":oe(e,n),o=ne(e,n),Dn("invalid",e)}for(i in ye(r,o),u=o)if(u.hasOwnProperty(i)){var c=u[i];"style"===i?ge(e,c):"dangerouslySetInnerHTML"===i?null!=(c=c?c.__html:void 0)&&de(e,c):"children"===i?"string"==typeof c?("textarea"!==r||""!==c)&&fe(e,c):"number"==typeof c&&fe(e,""+c):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(l.hasOwnProperty(i)?null!=c&&"onScroll"===i&&Dn("scroll",e):null!=c&&b(e,i,c,s))}switch(r){case"input":q(e),J(e,n,!1);break;case"textarea":q(e),ie(e);break;case"option":null!=n.value&&e.setAttribute("value",""+W(n.value));break;case"select":e.multiple=!!n.multiple,null!=(i=n.value)?re(e,!!n.multiple,i,!1):null!=n.defaultValue&&re(e,!!n.multiple,n.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Kn)}switch(r){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}}n&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Hl(t),null;case 6:if(e&&null!=t.stateNode)Rl(e,t,e.memoizedProps,n);else{if("string"!=typeof n&&null===t.stateNode)throw Error(a(166));if(r=Ya(Xa.current),Ya(Ha.current),da(t)){if(n=t.stateNode,r=t.memoizedProps,n[fo]=t,(i=n.nodeValue!==r)&&null!==(e=ra))switch(e.tag){case 3:Zn(n.nodeValue,r,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Zn(n.nodeValue,r,!!(1&e.mode))}i&&(t.flags|=4)}else(n=(9===r.nodeType?r:r.ownerDocument).createTextNode(n))[fo]=t,t.stateNode=n}return Hl(t),null;case 13:if(Eo(Ja),n=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(oa&&null!==na&&1&t.mode&&!(128&t.flags))fa(),pa(),t.flags|=98560,i=!1;else if(i=da(t),null!==n&&null!==n.dehydrated){if(null===e){if(!i)throw Error(a(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(a(317));i[fo]=t}else pa(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Hl(t),i=!1}else null!==aa&&(au(aa),aa=null),i=!0;if(!i)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=r,t):((n=null!==n)!=(null!==e&&null!==e.memoizedState)&&n&&(t.child.flags|=8192,1&t.mode&&(null===e||1&Ja.current?0===Rs&&(Rs=3):hu())),null!==t.updateQueue&&(t.flags|=4),Hl(t),null);case 4:return Qa(),Ol(e,t),null===e&&Bn(t.stateNode.containerInfo),Hl(t),null;case 10:return Pa(t.type._context),Hl(t),null;case 19:if(Eo(Ja),null===(i=t.memoizedState))return Hl(t),null;if(n=!!(128&t.flags),null===(s=i.rendering))if(n)Wl(i,!1);else{if(0!==Rs||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(s=ei(e))){for(t.flags|=128,Wl(i,!1),null!==(n=s.updateQueue)&&(t.updateQueue=n,t.flags|=4),t.subtreeFlags=0,n=r,r=t.child;null!==r;)e=n,(i=r).flags&=14680066,null===(s=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=s.childLanes,i.lanes=s.lanes,i.child=s.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=s.memoizedProps,i.memoizedState=s.memoizedState,i.updateQueue=s.updateQueue,i.type=s.type,e=s.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return Co(Ja,1&Ja.current|2),t.child}e=e.sibling}null!==i.tail&&Ze()>Bs&&(t.flags|=128,n=!0,Wl(i,!1),t.lanes=4194304)}else{if(!n)if(null!==(e=ei(s))){if(t.flags|=128,n=!0,null!==(r=e.updateQueue)&&(t.updateQueue=r,t.flags|=4),Wl(i,!0),null===i.tail&&"hidden"===i.tailMode&&!s.alternate&&!oa)return Hl(t),null}else 2*Ze()-i.renderingStartTime>Bs&&1073741824!==r&&(t.flags|=128,n=!0,Wl(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(null!==(r=i.last)?r.sibling=s:t.child=s,i.last=s)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Ze(),t.sibling=null,r=Ja.current,Co(Ja,n?1&r|2:1&r),t):(Hl(t),null);case 22:case 23:return cu(),n=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==n&&(t.flags|=8192),n&&1&t.mode?!!(1073741824&Os)&&(Hl(t),6&t.subtreeFlags&&(t.flags|=8192)):Hl(t),null;case 24:case 25:return null}throw Error(a(156,t.tag))}function Xl(e,t){switch(ta(t),t.tag){case 1:return Ao(t.type)&&Ro(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Qa(),Eo(zo),Eo(To),ri(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Ka(t),null;case 13:if(Eo(Ja),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(a(340));pa()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Eo(Ja),null;case 4:return Qa(),null;case 10:return Pa(t.type._context),null;case 22:case 23:return cu(),null;default:return null}}jl=function(e,t){for(var r=t.child;null!==r;){if(5===r.tag||6===r.tag)e.appendChild(r.stateNode);else if(4!==r.tag&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===t)break;for(;null===r.sibling;){if(null===r.return||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},Ol=function(){},Al=function(e,t,r,n){var o=e.memoizedProps;if(o!==n){e=t.stateNode,Ya(Ha.current);var a,i=null;switch(r){case"input":o=G(e,o),n=G(e,n),i=[];break;case"select":o=I({},o,{value:void 0}),n=I({},n,{value:void 0}),i=[];break;case"textarea":o=ne(e,o),n=ne(e,n),i=[];break;default:"function"!=typeof o.onClick&&"function"==typeof n.onClick&&(e.onclick=Kn)}for(c in ye(r,n),r=null,o)if(!n.hasOwnProperty(c)&&o.hasOwnProperty(c)&&null!=o[c])if("style"===c){var s=o[c];for(a in s)s.hasOwnProperty(a)&&(r||(r={}),r[a]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(l.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in n){var u=n[c];if(s=null!=o?o[c]:void 0,n.hasOwnProperty(c)&&u!==s&&(null!=u||null!=s))if("style"===c)if(s){for(a in s)!s.hasOwnProperty(a)||u&&u.hasOwnProperty(a)||(r||(r={}),r[a]="");for(a in u)u.hasOwnProperty(a)&&s[a]!==u[a]&&(r||(r={}),r[a]=u[a])}else r||(i||(i=[]),i.push(c,r)),r=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&&Dn("scroll",e),i||s===u||(i=[])):(i=i||[]).push(c,u))}r&&(i=i||[]).push("style",r);var c=i;(t.updateQueue=c)&&(t.flags|=4)}},Rl=function(e,t,r,n){r!==n&&(t.flags|=4)};var Yl=!1,Gl=!1,Ql="function"==typeof WeakSet?WeakSet:Set,Zl=null;function Kl(e,t){var r=e.ref;if(null!==r)if("function"==typeof r)try{r(null)}catch(r){ku(e,t,r)}else r.current=null}function Jl(e,t,r){try{r()}catch(r){ku(e,t,r)}}var es=!1;function ts(e,t,r){var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var o=n=n.next;do{if((o.tag&e)===e){var a=o.destroy;o.destroy=void 0,void 0!==a&&Jl(t,r,a)}o=o.next}while(o!==n)}}function rs(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function ns(e){var t=e.ref;if(null!==t){var r=e.stateNode;e.tag,e=r,"function"==typeof t?t(e):t.current=e}}function os(e){var t=e.alternate;null!==t&&(e.alternate=null,os(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&(delete t[fo],delete t[po],delete t[mo],delete t[go],delete t[vo]),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 as(e){return 5===e.tag||3===e.tag||4===e.tag}function is(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||as(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 ls(e,t,r){var n=e.tag;if(5===n||6===n)e=e.stateNode,t?8===r.nodeType?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(8===r.nodeType?(t=r.parentNode).insertBefore(e,r):(t=r).appendChild(e),null!=(r=r._reactRootContainer)||null!==t.onclick||(t.onclick=Kn));else if(4!==n&&null!==(e=e.child))for(ls(e,t,r),e=e.sibling;null!==e;)ls(e,t,r),e=e.sibling}function ss(e,t,r){var n=e.tag;if(5===n||6===n)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(4!==n&&null!==(e=e.child))for(ss(e,t,r),e=e.sibling;null!==e;)ss(e,t,r),e=e.sibling}var us=null,cs=!1;function ds(e,t,r){for(r=r.child;null!==r;)fs(e,t,r),r=r.sibling}function fs(e,t,r){if(at&&"function"==typeof at.onCommitFiberUnmount)try{at.onCommitFiberUnmount(ot,r)}catch(e){}switch(r.tag){case 5:Gl||Kl(r,t);case 6:var n=us,o=cs;us=null,ds(e,t,r),cs=o,null!==(us=n)&&(cs?(e=us,r=r.stateNode,8===e.nodeType?e.parentNode.removeChild(r):e.removeChild(r)):us.removeChild(r.stateNode));break;case 18:null!==us&&(cs?(e=us,r=r.stateNode,8===e.nodeType?lo(e.parentNode,r):1===e.nodeType&&lo(e,r),Bt(e)):lo(us,r.stateNode));break;case 4:n=us,o=cs,us=r.stateNode.containerInfo,cs=!0,ds(e,t,r),us=n,cs=o;break;case 0:case 11:case 14:case 15:if(!Gl&&null!==(n=r.updateQueue)&&null!==(n=n.lastEffect)){o=n=n.next;do{var a=o,i=a.destroy;a=a.tag,void 0!==i&&(2&a||4&a)&&Jl(r,t,i),o=o.next}while(o!==n)}ds(e,t,r);break;case 1:if(!Gl&&(Kl(r,t),"function"==typeof(n=r.stateNode).componentWillUnmount))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(e){ku(r,t,e)}ds(e,t,r);break;case 21:ds(e,t,r);break;case 22:1&r.mode?(Gl=(n=Gl)||null!==r.memoizedState,ds(e,t,r),Gl=n):ds(e,t,r);break;default:ds(e,t,r)}}function ps(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var r=e.stateNode;null===r&&(r=e.stateNode=new Ql),t.forEach((function(t){var n=Pu.bind(null,e,t);r.has(t)||(r.add(t),t.then(n,n))}))}}function hs(e,t){var r=t.deletions;if(null!==r)for(var n=0;n<r.length;n++){var o=r[n];try{var i=e,l=t,s=l;e:for(;null!==s;){switch(s.tag){case 5:us=s.stateNode,cs=!1;break e;case 3:case 4:us=s.stateNode.containerInfo,cs=!0;break e}s=s.return}if(null===us)throw Error(a(160));fs(i,l,o),us=null,cs=!1;var u=o.alternate;null!==u&&(u.return=null),o.return=null}catch(e){ku(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)ms(t,e),t=t.sibling}function ms(e,t){var r=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(hs(t,e),gs(e),4&n){try{ts(3,e,e.return),rs(3,e)}catch(t){ku(e,e.return,t)}try{ts(5,e,e.return)}catch(t){ku(e,e.return,t)}}break;case 1:hs(t,e),gs(e),512&n&&null!==r&&Kl(r,r.return);break;case 5:if(hs(t,e),gs(e),512&n&&null!==r&&Kl(r,r.return),32&e.flags){var o=e.stateNode;try{fe(o,"")}catch(t){ku(e,e.return,t)}}if(4&n&&null!=(o=e.stateNode)){var i=e.memoizedProps,l=null!==r?r.memoizedProps:i,s=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===s&&"radio"===i.type&&null!=i.name&&Z(o,i),be(s,l);var c=be(s,i);for(l=0;l<u.length;l+=2){var d=u[l],f=u[l+1];"style"===d?ge(o,f):"dangerouslySetInnerHTML"===d?de(o,f):"children"===d?fe(o,f):b(o,d,f,c)}switch(s){case"input":K(o,i);break;case"textarea":ae(o,i);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var h=i.value;null!=h?re(o,!!i.multiple,h,!1):p!==!!i.multiple&&(null!=i.defaultValue?re(o,!!i.multiple,i.defaultValue,!0):re(o,!!i.multiple,i.multiple?[]:"",!1))}o[po]=i}catch(t){ku(e,e.return,t)}}break;case 6:if(hs(t,e),gs(e),4&n){if(null===e.stateNode)throw Error(a(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(t){ku(e,e.return,t)}}break;case 3:if(hs(t,e),gs(e),4&n&&null!==r&&r.memoizedState.isDehydrated)try{Bt(t.containerInfo)}catch(t){ku(e,e.return,t)}break;case 4:default:hs(t,e),gs(e);break;case 13:hs(t,e),gs(e),8192&(o=e.child).flags&&(i=null!==o.memoizedState,o.stateNode.isHidden=i,!i||null!==o.alternate&&null!==o.alternate.memoizedState||(Ns=Ze())),4&n&&ps(e);break;case 22:if(d=null!==r&&null!==r.memoizedState,1&e.mode?(Gl=(c=Gl)||d,hs(t,e),Gl=c):hs(t,e),gs(e),8192&n){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!d&&1&e.mode)for(Zl=e,d=e.child;null!==d;){for(f=Zl=d;null!==Zl;){switch(h=(p=Zl).child,p.tag){case 0:case 11:case 14:case 15:ts(4,p,p.return);break;case 1:Kl(p,p.return);var m=p.stateNode;if("function"==typeof m.componentWillUnmount){n=p,r=p.return;try{t=n,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(e){ku(n,r,e)}}break;case 5:Kl(p,p.return);break;case 22:if(null!==p.memoizedState){xs(f);continue}}null!==h?(h.return=p,Zl=h):xs(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{o=f.stateNode,c?"function"==typeof(i=o.style).setProperty?i.setProperty("display","none","important"):i.display="none":(s=f.stateNode,l=null!=(u=f.memoizedProps.style)&&u.hasOwnProperty("display")?u.display:null,s.style.display=me("display",l))}catch(t){ku(e,e.return,t)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(t){ku(e,e.return,t)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:hs(t,e),gs(e),4&n&&ps(e);case 21:}}function gs(e){var t=e.flags;if(2&t){try{e:{for(var r=e.return;null!==r;){if(as(r)){var n=r;break e}r=r.return}throw Error(a(160))}switch(n.tag){case 5:var o=n.stateNode;32&n.flags&&(fe(o,""),n.flags&=-33),ss(e,is(e),o);break;case 3:case 4:var i=n.stateNode.containerInfo;ls(e,is(e),i);break;default:throw Error(a(161))}}catch(t){ku(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function vs(e,t,r){Zl=e,ys(e,t,r)}function ys(e,t,r){for(var n=!!(1&e.mode);null!==Zl;){var o=Zl,a=o.child;if(22===o.tag&&n){var i=null!==o.memoizedState||Yl;if(!i){var l=o.alternate,s=null!==l&&null!==l.memoizedState||Gl;l=Yl;var u=Gl;if(Yl=i,(Gl=s)&&!u)for(Zl=o;null!==Zl;)s=(i=Zl).child,22===i.tag&&null!==i.memoizedState?ws(o):null!==s?(s.return=i,Zl=s):ws(o);for(;null!==a;)Zl=a,ys(a,t,r),a=a.sibling;Zl=o,Yl=l,Gl=u}bs(e)}else 8772&o.subtreeFlags&&null!==a?(a.return=o,Zl=a):bs(e)}}function bs(e){for(;null!==Zl;){var t=Zl;if(8772&t.flags){var r=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Gl||rs(5,t);break;case 1:var n=t.stateNode;if(4&t.flags&&!Gl)if(null===r)n.componentDidMount();else{var o=t.elementType===t.type?r.memoizedProps:tl(t.type,r.memoizedProps);n.componentDidUpdate(o,r.memoizedState,n.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&Ua(t,i,n);break;case 3:var l=t.updateQueue;if(null!==l){if(r=null,null!==t.child)switch(t.child.tag){case 5:case 1:r=t.child.stateNode}Ua(t,l,r)}break;case 5:var s=t.stateNode;if(null===r&&4&t.flags){r=s;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&r.focus();break;case"img":u.src&&(r.src=u.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var d=c.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&Bt(f)}}}break;default:throw Error(a(163))}Gl||512&t.flags&&ns(t)}catch(e){ku(t,t.return,e)}}if(t===e){Zl=null;break}if(null!==(r=t.sibling)){r.return=t.return,Zl=r;break}Zl=t.return}}function xs(e){for(;null!==Zl;){var t=Zl;if(t===e){Zl=null;break}var r=t.sibling;if(null!==r){r.return=t.return,Zl=r;break}Zl=t.return}}function ws(e){for(;null!==Zl;){var t=Zl;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{rs(4,t)}catch(e){ku(t,r,e)}break;case 1:var n=t.stateNode;if("function"==typeof n.componentDidMount){var o=t.return;try{n.componentDidMount()}catch(e){ku(t,o,e)}}var a=t.return;try{ns(t)}catch(e){ku(t,a,e)}break;case 5:var i=t.return;try{ns(t)}catch(e){ku(t,i,e)}}}catch(e){ku(t,t.return,e)}if(t===e){Zl=null;break}var l=t.sibling;if(null!==l){l.return=t.return,Zl=l;break}Zl=t.return}}var Ss,ks=Math.ceil,_s=x.ReactCurrentDispatcher,Es=x.ReactCurrentOwner,Cs=x.ReactCurrentBatchConfig,Ps=0,Ts=null,zs=null,js=0,Os=0,As=_o(0),Rs=0,Ms=null,Ls=0,Fs=0,Is=0,Ds=null,$s=null,Ns=0,Bs=1/0,Vs=null,Us=!1,Ws=null,Hs=null,qs=!1,Xs=null,Ys=0,Gs=0,Qs=null,Zs=-1,Ks=0;function Js(){return 6&Ps?Ze():-1!==Zs?Zs:Zs=Ze()}function eu(e){return 1&e.mode?2&Ps&&0!==js?js&-js:null!==ma.transition?(0===Ks&&(Ks=mt()),Ks):0!==(e=yt)?e:e=void 0===(e=window.event)?16:Gt(e.type):1}function tu(e,t,r,n){if(50<Gs)throw Gs=0,Qs=null,Error(a(185));gt(e,r,n),2&Ps&&e===Ts||(e===Ts&&(!(2&Ps)&&(Fs|=r),4===Rs&&iu(e,js)),ru(e,n),1===r&&0===Ps&&!(1&t.mode)&&(Bs=Ze()+500,$o&&Vo()))}function ru(e,t){var r=e.callbackNode;!function(e,t){for(var r=e.suspendedLanes,n=e.pingedLanes,o=e.expirationTimes,a=e.pendingLanes;0<a;){var i=31-it(a),l=1<<i,s=o[i];-1===s?l&r&&!(l&n)||(o[i]=pt(l,t)):s<=t&&(e.expiredLanes|=l),a&=~l}}(e,t);var n=ft(e,e===Ts?js:0);if(0===n)null!==r&&Ye(r),e.callbackNode=null,e.callbackPriority=0;else if(t=n&-n,e.callbackPriority!==t){if(null!=r&&Ye(r),1===t)0===e.tag?function(e){$o=!0,Bo(e)}(lu.bind(null,e)):Bo(lu.bind(null,e)),ao((function(){!(6&Ps)&&Vo()})),r=null;else{switch(bt(n)){case 1:r=Je;break;case 4:r=et;break;case 16:default:r=tt;break;case 536870912:r=nt}r=Tu(r,nu.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function nu(e,t){if(Zs=-1,Ks=0,6&Ps)throw Error(a(327));var r=e.callbackNode;if(wu()&&e.callbackNode!==r)return null;var n=ft(e,e===Ts?js:0);if(0===n)return null;if(30&n||n&e.expiredLanes||t)t=mu(e,n);else{t=n;var o=Ps;Ps|=2;var i=pu();for(Ts===e&&js===t||(Vs=null,Bs=Ze()+500,du(e,t));;)try{vu();break}catch(t){fu(e,t)}Ca(),_s.current=i,Ps=o,null!==zs?t=0:(Ts=null,js=0,t=Rs)}if(0!==t){if(2===t&&0!==(o=ht(e))&&(n=o,t=ou(e,o)),1===t)throw r=Ms,du(e,0),iu(e,n),ru(e,Ze()),r;if(6===t)iu(e,n);else{if(o=e.current.alternate,!(30&n||function(e){for(var t=e;;){if(16384&t.flags){var r=t.updateQueue;if(null!==r&&null!==(r=r.stores))for(var n=0;n<r.length;n++){var o=r[n],a=o.getSnapshot;o=o.value;try{if(!an(a(),o))return!1}catch(e){return!1}}}if(r=t.child,16384&t.subtreeFlags&&null!==r)r.return=t,t=r;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)||(t=mu(e,n),2===t&&(i=ht(e),0!==i&&(n=i,t=ou(e,i))),1!==t)))throw r=Ms,du(e,0),iu(e,n),ru(e,Ze()),r;switch(e.finishedWork=o,e.finishedLanes=n,t){case 0:case 1:throw Error(a(345));case 2:case 5:xu(e,$s,Vs);break;case 3:if(iu(e,n),(130023424&n)===n&&10<(t=Ns+500-Ze())){if(0!==ft(e,0))break;if(((o=e.suspendedLanes)&n)!==n){Js(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ro(xu.bind(null,e,$s,Vs),t);break}xu(e,$s,Vs);break;case 4:if(iu(e,n),(4194240&n)===n)break;for(t=e.eventTimes,o=-1;0<n;){var l=31-it(n);i=1<<l,(l=t[l])>o&&(o=l),n&=~i}if(n=o,10<(n=(120>(n=Ze()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*ks(n/1960))-n)){e.timeoutHandle=ro(xu.bind(null,e,$s,Vs),n);break}xu(e,$s,Vs);break;default:throw Error(a(329))}}}return ru(e,Ze()),e.callbackNode===r?nu.bind(null,e):null}function ou(e,t){var r=Ds;return e.current.memoizedState.isDehydrated&&(du(e,t).flags|=256),2!==(e=mu(e,t))&&(t=$s,$s=r,null!==t&&au(t)),e}function au(e){null===$s?$s=e:$s.push.apply($s,e)}function iu(e,t){for(t&=~Is,t&=~Fs,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-it(t),n=1<<r;e[r]=-1,t&=~n}}function lu(e){if(6&Ps)throw Error(a(327));wu();var t=ft(e,0);if(!(1&t))return ru(e,Ze()),null;var r=mu(e,t);if(0!==e.tag&&2===r){var n=ht(e);0!==n&&(t=n,r=ou(e,n))}if(1===r)throw r=Ms,du(e,0),iu(e,t),ru(e,Ze()),r;if(6===r)throw Error(a(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,xu(e,$s,Vs),ru(e,Ze()),null}function su(e,t){var r=Ps;Ps|=1;try{return e(t)}finally{0===(Ps=r)&&(Bs=Ze()+500,$o&&Vo())}}function uu(e){null!==Xs&&0===Xs.tag&&!(6&Ps)&&wu();var t=Ps;Ps|=1;var r=Cs.transition,n=yt;try{if(Cs.transition=null,yt=1,e)return e()}finally{yt=n,Cs.transition=r,!(6&(Ps=t))&&Vo()}}function cu(){Os=As.current,Eo(As)}function du(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(-1!==r&&(e.timeoutHandle=-1,no(r)),null!==zs)for(r=zs.return;null!==r;){var n=r;switch(ta(n),n.tag){case 1:null!=(n=n.type.childContextTypes)&&Ro();break;case 3:Qa(),Eo(zo),Eo(To),ri();break;case 5:Ka(n);break;case 4:Qa();break;case 13:case 19:Eo(Ja);break;case 10:Pa(n.type._context);break;case 22:case 23:cu()}r=r.return}if(Ts=e,zs=e=Au(e.current,null),js=Os=t,Rs=0,Ms=null,Is=Fs=Ls=0,$s=Ds=null,null!==Oa){for(t=0;t<Oa.length;t++)if(null!==(n=(r=Oa[t]).interleaved)){r.interleaved=null;var o=n.next,a=r.pending;if(null!==a){var i=a.next;a.next=o,n.next=i}r.pending=n}Oa=null}return e}function fu(e,t){for(;;){var r=zs;try{if(Ca(),ni.current=Zi,ui){for(var n=ii.memoizedState;null!==n;){var o=n.queue;null!==o&&(o.pending=null),n=n.next}ui=!1}if(ai=0,si=li=ii=null,ci=!1,di=0,Es.current=null,null===r||null===r.return){Rs=1,Ms=t,zs=null;break}e:{var i=e,l=r.return,s=r,u=t;if(t=js,s.flags|=32768,null!==u&&"object"==typeof u&&"function"==typeof u.then){var c=u,d=s,f=d.tag;if(!(1&d.mode||0!==f&&11!==f&&15!==f)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=ml(l);if(null!==h){h.flags&=-257,gl(h,l,s,0,t),1&h.mode&&hl(i,c,t),u=c;var m=(t=h).updateQueue;if(null===m){var g=new Set;g.add(u),t.updateQueue=g}else m.add(u);break e}if(!(1&t)){hl(i,c,t),hu();break e}u=Error(a(426))}else if(oa&&1&s.mode){var v=ml(l);if(null!==v){!(65536&v.flags)&&(v.flags|=256),gl(v,l,s,0,t),ha(sl(u,s));break e}}i=u=sl(u,s),4!==Rs&&(Rs=2),null===Ds?Ds=[i]:Ds.push(i),i=l;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,Ba(i,fl(0,u,t));break e;case 1:s=u;var y=i.type,b=i.stateNode;if(!(128&i.flags||"function"!=typeof y.getDerivedStateFromError&&(null===b||"function"!=typeof b.componentDidCatch||null!==Hs&&Hs.has(b)))){i.flags|=65536,t&=-t,i.lanes|=t,Ba(i,pl(i,s,t));break e}}i=i.return}while(null!==i)}bu(r)}catch(e){t=e,zs===r&&null!==r&&(zs=r=r.return);continue}break}}function pu(){var e=_s.current;return _s.current=Zi,null===e?Zi:e}function hu(){0!==Rs&&3!==Rs&&2!==Rs||(Rs=4),null===Ts||!(268435455&Ls)&&!(268435455&Fs)||iu(Ts,js)}function mu(e,t){var r=Ps;Ps|=2;var n=pu();for(Ts===e&&js===t||(Vs=null,du(e,t));;)try{gu();break}catch(t){fu(e,t)}if(Ca(),Ps=r,_s.current=n,null!==zs)throw Error(a(261));return Ts=null,js=0,Rs}function gu(){for(;null!==zs;)yu(zs)}function vu(){for(;null!==zs&&!Ge();)yu(zs)}function yu(e){var t=Ss(e.alternate,e,Os);e.memoizedProps=e.pendingProps,null===t?bu(e):zs=t,Es.current=null}function bu(e){var t=e;do{var r=t.alternate;if(e=t.return,32768&t.flags){if(null!==(r=Xl(r,t)))return r.flags&=32767,void(zs=r);if(null===e)return Rs=6,void(zs=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(r=ql(r,t,Os)))return void(zs=r);if(null!==(t=t.sibling))return void(zs=t);zs=t=e}while(null!==t);0===Rs&&(Rs=5)}function xu(e,t,r){var n=yt,o=Cs.transition;try{Cs.transition=null,yt=1,function(e,t,r,n){do{wu()}while(null!==Xs);if(6&Ps)throw Error(a(327));r=e.finishedWork;var o=e.finishedLanes;if(null===r)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(a(177));e.callbackNode=null,e.callbackPriority=0;var i=r.lanes|r.childLanes;if(function(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0<r;){var o=31-it(r),a=1<<o;t[o]=0,n[o]=-1,e[o]=-1,r&=~a}}(e,i),e===Ts&&(zs=Ts=null,js=0),!(2064&r.subtreeFlags)&&!(2064&r.flags)||qs||(qs=!0,Tu(tt,(function(){return wu(),null}))),i=!!(15990&r.flags),15990&r.subtreeFlags||i){i=Cs.transition,Cs.transition=null;var l=yt;yt=1;var s=Ps;Ps|=4,Es.current=null,function(e,t){if(Jn=Ut,fn(e=dn())){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{var n=(r=(r=e.ownerDocument)&&r.defaultView||window).getSelection&&r.getSelection();if(n&&0!==n.rangeCount){r=n.anchorNode;var o=n.anchorOffset,i=n.focusNode;n=n.focusOffset;try{r.nodeType,i.nodeType}catch(e){r=null;break e}var l=0,s=-1,u=-1,c=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==r||0!==o&&3!==f.nodeType||(s=l+o),f!==i||0!==n&&3!==f.nodeType||(u=l+n),3===f.nodeType&&(l+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===r&&++c===o&&(s=l),p===i&&++d===n&&(u=l),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}r=-1===s||-1===u?null:{start:s,end:u}}else r=null}r=r||{start:0,end:0}}else r=null;for(eo={focusedElem:e,selectionRange:r},Ut=!1,Zl=t;null!==Zl;)if(e=(t=Zl).child,1028&t.subtreeFlags&&null!==e)e.return=t,Zl=e;else for(;null!==Zl;){t=Zl;try{var m=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var g=m.memoizedProps,v=m.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?g:tl(t.type,g),v);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var x=t.stateNode.containerInfo;1===x.nodeType?x.textContent="":9===x.nodeType&&x.documentElement&&x.removeChild(x.documentElement);break;default:throw Error(a(163))}}catch(e){ku(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Zl=e;break}Zl=t.return}m=es,es=!1}(e,r),ms(r,e),pn(eo),Ut=!!Jn,eo=Jn=null,e.current=r,vs(r,e,o),Qe(),Ps=s,yt=l,Cs.transition=i}else e.current=r;if(qs&&(qs=!1,Xs=e,Ys=o),0===(i=e.pendingLanes)&&(Hs=null),function(e){if(at&&"function"==typeof at.onCommitFiberRoot)try{at.onCommitFiberRoot(ot,e,void 0,!(128&~e.current.flags))}catch(e){}}(r.stateNode),ru(e,Ze()),null!==t)for(n=e.onRecoverableError,r=0;r<t.length;r++)n((o=t[r]).value,{componentStack:o.stack,digest:o.digest});if(Us)throw Us=!1,e=Ws,Ws=null,e;!!(1&Ys)&&0!==e.tag&&wu(),1&(i=e.pendingLanes)?e===Qs?Gs++:(Gs=0,Qs=e):Gs=0,Vo()}(e,t,r,n)}finally{Cs.transition=o,yt=n}return null}function wu(){if(null!==Xs){var e=bt(Ys),t=Cs.transition,r=yt;try{if(Cs.transition=null,yt=16>e?16:e,null===Xs)var n=!1;else{if(e=Xs,Xs=null,Ys=0,6&Ps)throw Error(a(331));var o=Ps;for(Ps|=4,Zl=e.current;null!==Zl;){var i=Zl,l=i.child;if(16&Zl.flags){var s=i.deletions;if(null!==s){for(var u=0;u<s.length;u++){var c=s[u];for(Zl=c;null!==Zl;){var d=Zl;switch(d.tag){case 0:case 11:case 15:ts(8,d,i)}var f=d.child;if(null!==f)f.return=d,Zl=f;else for(;null!==Zl;){var p=(d=Zl).sibling,h=d.return;if(os(d),d===c){Zl=null;break}if(null!==p){p.return=h,Zl=p;break}Zl=h}}}var m=i.alternate;if(null!==m){var g=m.child;if(null!==g){m.child=null;do{var v=g.sibling;g.sibling=null,g=v}while(null!==g)}}Zl=i}}if(2064&i.subtreeFlags&&null!==l)l.return=i,Zl=l;else e:for(;null!==Zl;){if(2048&(i=Zl).flags)switch(i.tag){case 0:case 11:case 15:ts(9,i,i.return)}var y=i.sibling;if(null!==y){y.return=i.return,Zl=y;break e}Zl=i.return}}var b=e.current;for(Zl=b;null!==Zl;){var x=(l=Zl).child;if(2064&l.subtreeFlags&&null!==x)x.return=l,Zl=x;else e:for(l=b;null!==Zl;){if(2048&(s=Zl).flags)try{switch(s.tag){case 0:case 11:case 15:rs(9,s)}}catch(e){ku(s,s.return,e)}if(s===l){Zl=null;break e}var w=s.sibling;if(null!==w){w.return=s.return,Zl=w;break e}Zl=s.return}}if(Ps=o,Vo(),at&&"function"==typeof at.onPostCommitFiberRoot)try{at.onPostCommitFiberRoot(ot,e)}catch(e){}n=!0}return n}finally{yt=r,Cs.transition=t}}return!1}function Su(e,t,r){e=$a(e,t=fl(0,t=sl(r,t),1),1),t=Js(),null!==e&&(gt(e,1,t),ru(e,t))}function ku(e,t,r){if(3===e.tag)Su(e,e,r);else for(;null!==t;){if(3===t.tag){Su(t,e,r);break}if(1===t.tag){var n=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof n.componentDidCatch&&(null===Hs||!Hs.has(n))){t=$a(t,e=pl(t,e=sl(r,e),1),1),e=Js(),null!==t&&(gt(t,1,e),ru(t,e));break}}t=t.return}}function _u(e,t,r){var n=e.pingCache;null!==n&&n.delete(t),t=Js(),e.pingedLanes|=e.suspendedLanes&r,Ts===e&&(js&r)===r&&(4===Rs||3===Rs&&(130023424&js)===js&&500>Ze()-Ns?du(e,0):Is|=r),ru(e,t)}function Eu(e,t){0===t&&(1&e.mode?(t=ct,!(130023424&(ct<<=1))&&(ct=4194304)):t=1);var r=Js();null!==(e=Ma(e,t))&&(gt(e,t,r),ru(e,r))}function Cu(e){var t=e.memoizedState,r=0;null!==t&&(r=t.retryLane),Eu(e,r)}function Pu(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,o=e.memoizedState;null!==o&&(r=o.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(a(314))}null!==n&&n.delete(t),Eu(e,r)}function Tu(e,t){return Xe(e,t)}function zu(e,t,r,n){this.tag=e,this.key=r,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=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ju(e,t,r,n){return new zu(e,t,r,n)}function Ou(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Au(e,t){var r=e.alternate;return null===r?((r=ju(e.tag,t,e.key,e.mode)).elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=14680064&e.flags,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Ru(e,t,r,n,o,i){var l=2;if(n=e,"function"==typeof e)Ou(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case k:return Mu(r.children,o,i,t);case _:l=8,o|=8;break;case E:return(e=ju(12,r,t,2|o)).elementType=E,e.lanes=i,e;case z:return(e=ju(13,r,t,o)).elementType=z,e.lanes=i,e;case j:return(e=ju(19,r,t,o)).elementType=j,e.lanes=i,e;case R:return Lu(r,o,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case C:l=10;break e;case P:l=9;break e;case T:l=11;break e;case O:l=14;break e;case A:l=16,n=null;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=ju(l,r,t,o)).elementType=e,t.type=n,t.lanes=i,t}function Mu(e,t,r,n){return(e=ju(7,e,n,t)).lanes=r,e}function Lu(e,t,r,n){return(e=ju(22,e,n,t)).elementType=R,e.lanes=r,e.stateNode={isHidden:!1},e}function Fu(e,t,r){return(e=ju(6,e,null,t)).lanes=r,e}function Iu(e,t,r){return(t=ju(4,null!==e.children?e.children:[],e.key,t)).lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Du(e){if(!e)return Po;e:{if(Ve(e=e._reactInternals)!==e||1!==e.tag)throw Error(a(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ao(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(a(171))}if(1===e.tag){var r=e.type;if(Ao(r))return Lo(e,r,t)}return t}function $u(e,t,r,n){var o=t.current,a=Js(),i=eu(o);return r=Du(r),null===t.context?t.context=r:t.pendingContext=r,(t=Da(a,i)).payload={element:e},null!==(n=void 0===n?null:n)&&(t.callback=n),null!==(e=$a(o,t,i))&&(tu(e,o,i,a),Na(e,o,i)),i}function Nu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var r=e.retryLane;e.retryLane=0!==r&&r<t?r:t}}function Bu(e,t){Nu(e,t),(e=e.alternate)&&Nu(e,t)}Ss=function(e,t,r){if(null!==e)if(e.memoizedProps!==t.pendingProps||zo.current)yl=!0;else{if(!(e.lanes&r||128&t.flags))return yl=!1,function(e,t,r){switch(t.tag){case 3:Tl(t),pa();break;case 5:Za(t);break;case 1:Ao(t.type)&&Fo(t);break;case 4:Ga(t,t.stateNode.containerInfo);break;case 10:var n=t.type._context,o=t.memoizedProps.value;Co(Sa,n._currentValue),n._currentValue=o;break;case 13:if(null!==(n=t.memoizedState))return null!==n.dehydrated?(Co(Ja,1&Ja.current),t.flags|=128,null):r&t.child.childLanes?Fl(e,t,r):(Co(Ja,1&Ja.current),null!==(e=Ul(e,t,r))?e.sibling:null);Co(Ja,1&Ja.current);break;case 19:if(n=!!(r&t.childLanes),128&e.flags){if(n)return Bl(e,t,r);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),Co(Ja,Ja.current),n)break;return null;case 22:case 23:return t.lanes=0,kl(e,t,r)}return Ul(e,t,r)}(e,t,r);yl=!!(131072&e.flags)}else yl=!1,oa&&1048576&t.flags&&Jo(t,qo,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;Vl(e,t),e=t.pendingProps;var o=Oo(t,To.current);za(t,r),o=mi(null,t,n,e,o,r);var i=gi();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ao(n)?(i=!0,Fo(t)):i=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Fa(t),o.updater=nl,t.stateNode=o,o._reactInternals=t,ll(t,n,e,r),t=Pl(null,t,n,!0,i,r)):(t.tag=0,oa&&i&&ea(t),bl(null,t,o,r),t=t.child),t;case 16:n=t.elementType;e:{switch(Vl(e,t),e=t.pendingProps,n=(o=n._init)(n._payload),t.type=n,o=t.tag=function(e){if("function"==typeof e)return Ou(e)?1:0;if(null!=e){if((e=e.$$typeof)===T)return 11;if(e===O)return 14}return 2}(n),e=tl(n,e),o){case 0:t=El(null,t,n,e,r);break e;case 1:t=Cl(null,t,n,e,r);break e;case 11:t=xl(null,t,n,e,r);break e;case 14:t=wl(null,t,n,tl(n.type,e),r);break e}throw Error(a(306,n,""))}return t;case 0:return n=t.type,o=t.pendingProps,El(e,t,n,o=t.elementType===n?o:tl(n,o),r);case 1:return n=t.type,o=t.pendingProps,Cl(e,t,n,o=t.elementType===n?o:tl(n,o),r);case 3:e:{if(Tl(t),null===e)throw Error(a(387));n=t.pendingProps,o=(i=t.memoizedState).element,Ia(e,t),Va(t,n,null,r);var l=t.memoizedState;if(n=l.element,i.isDehydrated){if(i={element:n,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=zl(e,t,n,r,o=sl(Error(a(423)),t));break e}if(n!==o){t=zl(e,t,n,r,o=sl(Error(a(424)),t));break e}for(na=so(t.stateNode.containerInfo.firstChild),ra=t,oa=!0,aa=null,r=wa(t,null,n,r),t.child=r;r;)r.flags=-3&r.flags|4096,r=r.sibling}else{if(pa(),n===o){t=Ul(e,t,r);break e}bl(e,t,n,r)}t=t.child}return t;case 5:return Za(t),null===e&&ua(t),n=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,l=o.children,to(n,o)?l=null:null!==i&&to(n,i)&&(t.flags|=32),_l(e,t),bl(e,t,l,r),t.child;case 6:return null===e&&ua(t),null;case 13:return Fl(e,t,r);case 4:return Ga(t,t.stateNode.containerInfo),n=t.pendingProps,null===e?t.child=xa(t,null,n,r):bl(e,t,n,r),t.child;case 11:return n=t.type,o=t.pendingProps,xl(e,t,n,o=t.elementType===n?o:tl(n,o),r);case 7:return bl(e,t,t.pendingProps,r),t.child;case 8:case 12:return bl(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value,Co(Sa,n._currentValue),n._currentValue=l,null!==i)if(an(i.value,l)){if(i.children===o.children&&!zo.current){t=Ul(e,t,r);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var s=i.dependencies;if(null!==s){l=i.child;for(var u=s.firstContext;null!==u;){if(u.context===n){if(1===i.tag){(u=Da(-1,r&-r)).tag=2;var c=i.updateQueue;if(null!==c){var d=(c=c.shared).pending;null===d?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}i.lanes|=r,null!==(u=i.alternate)&&(u.lanes|=r),Ta(i.return,r,t),s.lanes|=r;break}u=u.next}}else if(10===i.tag)l=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(l=i.return))throw Error(a(341));l.lanes|=r,null!==(s=l.alternate)&&(s.lanes|=r),Ta(l,r,t),l=i.sibling}else l=i.child;if(null!==l)l.return=i;else for(l=i;null!==l;){if(l===t){l=null;break}if(null!==(i=l.sibling)){i.return=l.return,l=i;break}l=l.return}i=l}bl(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,n=t.pendingProps.children,za(t,r),n=n(o=ja(o)),t.flags|=1,bl(e,t,n,r),t.child;case 14:return o=tl(n=t.type,t.pendingProps),wl(e,t,n,o=tl(n.type,o),r);case 15:return Sl(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:tl(n,o),Vl(e,t),t.tag=1,Ao(n)?(e=!0,Fo(t)):e=!1,za(t,r),al(t,n,o),ll(t,n,o,r),Pl(null,t,n,!0,e,r);case 19:return Bl(e,t,r);case 22:return kl(e,t,r)}throw Error(a(156,t.tag))};"function"==typeof reportError&&reportError;function Vu(e){this._internalRoot=e}function Uu(e){this._internalRoot=e}Uu.prototype.render=Vu.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(a(409));$u(e,t,null,null)},Uu.prototype.unmount=Vu.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;uu((function(){$u(null,e,null,null)})),t[ho]=null}},Uu.prototype.unstable_scheduleHydration=function(e){if(e){var t=kt();e={blockedOn:null,target:e,priority:t};for(var r=0;r<At.length&&0!==t&&t<At[r].priority;r++);At.splice(r,0,e),0===r&&Ft(e)}},xt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=dt(t.pendingLanes);0!==r&&(vt(t,1|r),ru(t,Ze()),!(6&Ps)&&(Bs=Ze()+500,Vo()))}break;case 13:uu((function(){var t=Ma(e,1);if(null!==t){var r=Js();tu(t,e,1,r)}})),Bu(e,1)}},wt=function(e){if(13===e.tag){var t=Ma(e,134217728);null!==t&&tu(t,e,134217728,Js()),Bu(e,134217728)}},St=function(e){if(13===e.tag){var t=eu(e),r=Ma(e,t);null!==r&&tu(r,e,t,Js()),Bu(e,t)}},kt=function(){return yt},_t=function(e,t){var r=yt;try{return yt=e,t()}finally{yt=r}},Se=function(e,t,r){switch(t){case"input":if(K(e,r),t=r.name,"radio"===r.type&&null!=t){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var o=wo(n);if(!o)throw Error(a(90));X(n),K(n,o)}}}break;case"textarea":ae(e,r);break;case"select":null!=(t=r.value)&&re(e,!!r.multiple,t,!1)}},Te=su,ze=uu;var Wu={findFiberByHostInstance:yo,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Hu={bundleType:Wu.bundleType,version:Wu.version,rendererPackageName:Wu.rendererPackageName,rendererConfig:Wu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=He(e))?null:e.stateNode},findFiberByHostInstance:Wu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var qu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!qu.isDisabled&&qu.supportsFiber)try{ot=qu.inject(Hu),at=qu}catch(ce){}}t.createPortal=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!function(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}(t))throw Error(a(200));return function(e,t,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:S,key:null==n?null:""+n,children:e,containerInfo:t,implementation:r}}(e,t,null,r)}},961:(e,t,r)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=r(2551)},115:e=>{var t="undefined"!=typeof Element,r="function"==typeof Map,n="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function a(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var l,s,u,c;if(Array.isArray(e)){if((l=e.length)!=i.length)return!1;for(s=l;0!=s--;)if(!a(e[s],i[s]))return!1;return!0}if(r&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(c=e.entries();!(s=c.next()).done;)if(!i.has(s.value[0]))return!1;for(c=e.entries();!(s=c.next()).done;)if(!a(s.value[1],i.get(s.value[0])))return!1;return!0}if(n&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(c=e.entries();!(s=c.next()).done;)if(!i.has(s.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((l=e.length)!=i.length)return!1;for(s=l;0!=s--;)if(e[s]!==i[s])return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof i.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof i.toString)return e.toString()===i.toString();if((l=(u=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(s=l;0!=s--;)if(!Object.prototype.hasOwnProperty.call(i,u[s]))return!1;if(t&&e instanceof Element)return!1;for(s=l;0!=s--;)if(("_owner"!==u[s]&&"__v"!==u[s]&&"__o"!==u[s]||!e.$$typeof)&&!a(e[u[s]],i[u[s]]))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return a(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},1020:(e,t,r)=>{"use strict";var n=r(6694),o=Symbol.for("react.element"),a=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),i=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,r){var n,s={},u=null,c=null;for(n in void 0!==r&&(u=""+r),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)a.call(t,n)&&!l.hasOwnProperty(n)&&(s[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===s[n]&&(s[n]=t[n]);return{$$typeof:o,type:e,key:u,ref:c,props:s,_owner:i.current}}t.jsx=s,t.jsxs=s},4848:(e,t,r)=>{"use strict";e.exports=r(1020)},7463:(e,t)=>{"use strict";function r(e,t){var r=e.length;e.push(t);e:for(;0<r;){var n=r-1>>>1,o=e[n];if(!(0<a(o,t)))break e;e[n]=t,e[r]=o,r=n}}function n(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],r=e.pop();if(r!==t){e[0]=r;e:for(var n=0,o=e.length,i=o>>>1;n<i;){var l=2*(n+1)-1,s=e[l],u=l+1,c=e[u];if(0>a(s,r))u<o&&0>a(c,s)?(e[n]=c,e[u]=r,n=u):(e[n]=s,e[l]=r,n=l);else{if(!(u<o&&0>a(c,r)))break e;e[n]=c,e[u]=r,n=u}}}return t}function a(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r: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=[],d=1,f=null,p=3,h=!1,m=!1,g=!1,v="function"==typeof setTimeout?setTimeout:null,y="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function x(e){for(var t=n(c);null!==t;){if(null===t.callback)o(c);else{if(!(t.startTime<=e))break;o(c),t.sortIndex=t.expirationTime,r(u,t)}t=n(c)}}function w(e){if(g=!1,x(e),!m)if(null!==n(u))m=!0,R(S);else{var t=n(c);null!==t&&M(w,t.startTime-e)}}function S(e,r){m=!1,g&&(g=!1,y(C),C=-1),h=!0;var a=p;try{for(x(r),f=n(u);null!==f&&(!(f.expirationTime>r)||e&&!z());){var i=f.callback;if("function"==typeof i){f.callback=null,p=f.priorityLevel;var l=i(f.expirationTime<=r);r=t.unstable_now(),"function"==typeof l?f.callback=l:f===n(u)&&o(u),x(r)}else o(u);f=n(u)}if(null!==f)var s=!0;else{var d=n(c);null!==d&&M(w,d.startTime-r),s=!1}return s}finally{f=null,p=a,h=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var k,_=!1,E=null,C=-1,P=5,T=-1;function z(){return!(t.unstable_now()-T<P)}function j(){if(null!==E){var e=t.unstable_now();T=e;var r=!0;try{r=E(!0,e)}finally{r?k():(_=!1,E=null)}}else _=!1}if("function"==typeof b)k=function(){b(j)};else if("undefined"!=typeof MessageChannel){var O=new MessageChannel,A=O.port2;O.port1.onmessage=j,k=function(){A.postMessage(null)}}else k=function(){v(j,0)};function R(e){E=e,_||(_=!0,k())}function M(e,r){C=v((function(){e(t.unstable_now())}),r)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||h||(m=!0,R(S))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return n(u)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var r=p;p=t;try{return e()}finally{p=r}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=p;p=e;try{return t()}finally{p=r}},t.unstable_scheduleCallback=function(e,o,a){var i=t.unstable_now();switch(a="object"==typeof a&&null!==a&&"number"==typeof(a=a.delay)&&0<a?i+a:i,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:d++,callback:o,priorityLevel:e,startTime:a,expirationTime:l=a+l,sortIndex:-1},a>i?(e.sortIndex=a,r(c,e),null===n(u)&&e===n(c)&&(g?(y(C),C=-1):g=!0,M(w,a-i))):(e.sortIndex=l,r(u,e),m||h||(m=!0,R(S))),e},t.unstable_shouldYield=z,t.unstable_wrapCallback=function(e){var t=p;return function(){var r=p;p=t;try{return e.apply(this,arguments)}finally{p=r}}}},9982:(e,t,r)=>{"use strict";e.exports=r(7463)},7604:(e,t,r)=>{var n;!function(){"use strict";var o={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function a(e){return function(e,t){var r,n,i,l,s,u,c,d,f,p=1,h=e.length,m="";for(n=0;n<h;n++)if("string"==typeof e[n])m+=e[n];else if("object"==typeof e[n]){if((l=e[n]).keys)for(r=t[p],i=0;i<l.keys.length;i++){if(null==r)throw new Error(a('[sprintf] Cannot access property "%s" of undefined value "%s"',l.keys[i],l.keys[i-1]));r=r[l.keys[i]]}else r=l.param_no?t[l.param_no]:t[p++];if(o.not_type.test(l.type)&&o.not_primitive.test(l.type)&&r instanceof Function&&(r=r()),o.numeric_arg.test(l.type)&&"number"!=typeof r&&isNaN(r))throw new TypeError(a("[sprintf] expecting number but found %T",r));switch(o.number.test(l.type)&&(d=r>=0),l.type){case"b":r=parseInt(r,10).toString(2);break;case"c":r=String.fromCharCode(parseInt(r,10));break;case"d":case"i":r=parseInt(r,10);break;case"j":r=JSON.stringify(r,null,l.width?parseInt(l.width):0);break;case"e":r=l.precision?parseFloat(r).toExponential(l.precision):parseFloat(r).toExponential();break;case"f":r=l.precision?parseFloat(r).toFixed(l.precision):parseFloat(r);break;case"g":r=l.precision?String(Number(r.toPrecision(l.precision))):parseFloat(r);break;case"o":r=(parseInt(r,10)>>>0).toString(8);break;case"s":r=String(r),r=l.precision?r.substring(0,l.precision):r;break;case"t":r=String(!!r),r=l.precision?r.substring(0,l.precision):r;break;case"T":r=Object.prototype.toString.call(r).slice(8,-1).toLowerCase(),r=l.precision?r.substring(0,l.precision):r;break;case"u":r=parseInt(r,10)>>>0;break;case"v":r=r.valueOf(),r=l.precision?r.substring(0,l.precision):r;break;case"x":r=(parseInt(r,10)>>>0).toString(16);break;case"X":r=(parseInt(r,10)>>>0).toString(16).toUpperCase()}o.json.test(l.type)?m+=r:(!o.number.test(l.type)||d&&!l.sign?f="":(f=d?"+":"-",r=r.toString().replace(o.sign,"")),u=l.pad_char?"0"===l.pad_char?"0":l.pad_char.charAt(1):" ",c=l.width-(f+r).length,s=l.width&&c>0?u.repeat(c):"",m+=l.align?f+r+s:"0"===u?f+s+r:s+f+r)}return m}(function(e){if(l[e])return l[e];for(var t,r=e,n=[],a=0;r;){if(null!==(t=o.text.exec(r)))n.push(t[0]);else if(null!==(t=o.modulo.exec(r)))n.push("%");else{if(null===(t=o.placeholder.exec(r)))throw new SyntaxError("[sprintf] unexpected placeholder");if(t[2]){a|=1;var i=[],s=t[2],u=[];if(null===(u=o.key.exec(s)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(i.push(u[1]);""!==(s=s.substring(u[0].length));)if(null!==(u=o.key_access.exec(s)))i.push(u[1]);else{if(null===(u=o.index_access.exec(s)))throw new SyntaxError("[sprintf] failed to parse named argument key");i.push(u[1])}t[2]=i}else a|=2;if(3===a)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");n.push({placeholder:t[0],param_no:t[1],keys:t[2],sign:t[3],pad_char:t[4],align:t[5],width:t[6],precision:t[7],type:t[8]})}r=r.substring(t[0].length)}return l[e]=n}(e),arguments)}function i(e,t){return a.apply(null,[e].concat(t||[]))}var l=Object.create(null);"undefined"!=typeof window&&(window.sprintf=a,window.vsprintf=i,void 0===(n=function(){return{sprintf:a,vsprintf:i}}.call(t,r,t,e))||(e.exports=n))}()},5072:e=>{"use strict";var t=[];function r(e){for(var r=-1,n=0;n<t.length;n++)if(t[n].identifier===e){r=n;break}return r}function n(e,n){for(var a={},i=[],l=0;l<e.length;l++){var s=e[l],u=n.base?s[0]+n.base:s[0],c=a[u]||0,d="".concat(u," ").concat(c);a[u]=c+1;var f=r(d),p={css:s[1],media:s[2],sourceMap:s[3],supports:s[4],layer:s[5]};if(-1!==f)t[f].references++,t[f].updater(p);else{var h=o(p,n);n.byIndex=l,t.splice(l,0,{identifier:d,updater:h,references:1})}i.push(d)}return i}function o(e,t){var r=t.domAPI(t);return r.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;r.update(e=t)}else r.remove()}}e.exports=function(e,o){var a=n(e=e||[],o=o||{});return function(e){e=e||[];for(var i=0;i<a.length;i++){var l=r(a[i]);t[l].references--}for(var s=n(e,o),u=0;u<a.length;u++){var c=r(a[u]);0===t[c].references&&(t[c].updater(),t.splice(c,1))}a=s}}},7659:e=>{"use strict";var t={};e.exports=function(e,r){var n=function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(r)}},540:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},5056:(e,t,r)=>{"use strict";e.exports=function(e){var t=r.nc;t&&e.setAttribute("nonce",t)}},7825:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(r){!function(e,t,r){var n="";r.supports&&(n+="@supports (".concat(r.supports,") {")),r.media&&(n+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(n+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),n+=r.css,o&&(n+="}"),r.media&&(n+="}"),r.supports&&(n+="}");var a=r.sourceMap;a&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleTagTransform(n,e,t.options)}(t,e,r)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},1113:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},6694:e=>{"use strict";e.exports=React}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var a=t[n]={id:n,loaded:!1,exports:{}};return e[n](a,a.exports,r),a.loaded=!0,a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),r.nc=void 0,(()=>{"use strict";var e={};r.r(e),r.d(e,{name:()=>ib,settings:()=>lb});var t={};r.r(t),r.d(t,{name:()=>bb,settings:()=>xb});var n={};r.r(n),r.d(n,{name:()=>Ab,settings:()=>Rb});var o={};r.r(o),r.d(o,{name:()=>Nb,settings:()=>Bb});var a={};r.r(a),r.d(a,{name:()=>Yb,settings:()=>Gb});const i=wp.blocks,l=function(e){return"string"!=typeof e||""===e?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)},s=function(e){return"string"!=typeof e||""===e?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)},u=function(e,t){return function(r,n,o,a=10){const i=e[t];if(!s(r))return;if(!l(n))return;if("function"!=typeof o)return void console.error("The hook callback must be a function.");if("number"!=typeof a)return void console.error("If specified, the hook priority must be a number.");const u={callback:o,priority:a,namespace:n};if(i[r]){const e=i[r].handlers;let t;for(t=e.length;t>0&&!(a>=e[t-1].priority);t--);t===e.length?e[t]=u:e.splice(t,0,u),i.__current.forEach((e=>{e.name===r&&e.currentIndex>=t&&e.currentIndex++}))}else i[r]={handlers:[u],runs:0};"hookAdded"!==r&&e.doAction("hookAdded",r,n,o,a)}},c=function(e,t,r=!1){return function(n,o){const a=e[t];if(!s(n))return;if(!r&&!l(o))return;if(!a[n])return 0;let i=0;if(r)i=a[n].handlers.length,a[n]={runs:a[n].runs,handlers:[]};else{const e=a[n].handlers;for(let t=e.length-1;t>=0;t--)e[t].namespace===o&&(e.splice(t,1),i++,a.__current.forEach((e=>{e.name===n&&e.currentIndex>=t&&e.currentIndex--})))}return"hookRemoved"!==n&&e.doAction("hookRemoved",n,o),i}},d=function(e,t){return function(r,n){const o=e[t];return void 0!==n?r in o&&o[r].handlers.some((e=>e.namespace===n)):r in o}},f=function(e,t,r=!1){return function(n,...o){const a=e[t];a[n]||(a[n]={handlers:[],runs:0}),a[n].runs++;const i=a[n].handlers;if(!i||!i.length)return r?o[0]:void 0;const l={name:n,currentIndex:0};for(a.__current.push(l);l.currentIndex<i.length;){const e=i[l.currentIndex].callback.apply(null,o);r&&(o[0]=e),l.currentIndex++}return a.__current.pop(),r?o[0]:void 0}},p=function(e,t){return function(){var r;const n=e[t];return null!==(r=n.__current[n.__current.length-1]?.name)&&void 0!==r?r:null}},h=function(e,t){return function(r){const n=e[t];return void 0===r?void 0!==n.__current[0]:!!n.__current[0]&&r===n.__current[0].name}},m=function(e,t){return function(r){const n=e[t];if(s(r))return n[r]&&n[r].runs?n[r].runs:0}};class g{constructor(){this.actions=Object.create(null),this.actions.__current=[],this.filters=Object.create(null),this.filters.__current=[],this.addAction=u(this,"actions"),this.addFilter=u(this,"filters"),this.removeAction=c(this,"actions"),this.removeFilter=c(this,"filters"),this.hasAction=d(this,"actions"),this.hasFilter=d(this,"filters"),this.removeAllActions=c(this,"actions",!0),this.removeAllFilters=c(this,"filters",!0),this.doAction=f(this,"actions"),this.applyFilters=f(this,"filters",!0),this.currentAction=p(this,"actions"),this.currentFilter=p(this,"filters"),this.doingAction=h(this,"actions"),this.doingFilter=h(this,"filters"),this.didAction=m(this,"actions"),this.didFilter=m(this,"filters")}}const v=new g,{addAction:y,addFilter:b,removeAction:x,removeFilter:w,hasAction:S,hasFilter:k,removeAllActions:_,removeAllFilters:E,doAction:C,applyFilters:P,currentAction:T,currentFilter:z,doingAction:j,doingFilter:O,didAction:A,didFilter:R,actions:M,filters:L}=v;var F=r(6694),I=r.n(F);const D=JSON.parse('{"$schema":"https://schemas.wp.org/block-json/1.1","apiVersion":3,"name":"user-registration/registration-form","version":"1.0.0","title":"Registration Form","category":"user-registration","description":"The block lets the user choose the required user registration directly.","keywords":["user registration form","registration form"],"textdomain":"user-registration","example":{"attributes":{}},"supports":{"className":false,"customClassName":false,"reusable":false},"attributes":{"formId":{"type":"string","default":""},"userState":{"type":"string"}},"editorScript":"user-registration-blocks-editor","editorStyle":"user-registration-blocks-editor"}');var $,N,B,V;r(7604),function(e,t){t=t||{}}(console.error),$={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},N=["(","?"],B={")":["("],":":["?","?:"]},V=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var U={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,r){if(e)throw t;return r}};var W={contextDelimiter:"",onMissingKey:null};function H(e,t){var r;for(r in this.data=e,this.pluralForms={},this.options={},W)this.options[r]=void 0!==t&&r in t?t[r]:W[r]}H.prototype.getPluralForm=function(e,t){var r,n,o,a,i=this.pluralForms[e];return i||("function"!=typeof(o=(r=this.data[e][""])["Plural-Forms"]||r["plural-forms"]||r.plural_forms)&&(n=function(e){var t,r,n;for(t=e.split(";"),r=0;r<t.length;r++)if(0===(n=t[r].trim()).indexOf("plural="))return n.substr(7)}(r["Plural-Forms"]||r["plural-forms"]||r.plural_forms),a=function(e){var t=function(e){for(var t,r,n,o,a=[],i=[];t=e.match(V);){for(r=t[0],(n=e.substr(0,t.index).trim())&&a.push(n);o=i.pop();){if(B[r]){if(B[r][0]===o){r=B[r][1]||r;break}}else if(N.indexOf(o)>=0||$[o]<$[r]){i.push(o);break}a.push(o)}B[r]||i.push(r),e=e.substr(t.index+r.length)}return(e=e.trim())&&a.push(e),a.concat(i.reverse())}(e);return function(e){return function(e,t){var r,n,o,a,i,l,s=[];for(r=0;r<e.length;r++){if(i=e[r],a=U[i]){for(n=a.length,o=Array(n);n--;)o[n]=s.pop();try{l=a.apply(null,o)}catch(e){return e}}else l=t.hasOwnProperty(i)?t[i]:+i;s.push(l)}return s[0]}(t,e)}}(n),o=function(e){return+a({n:e})}),i=this.pluralForms[e]=o),i(t)},H.prototype.dcnpgettext=function(e,t,r,n,o){var a,i,l;return a=void 0===o?0:this.getPluralForm(e,o),i=r,t&&(i=t+this.options.contextDelimiter+r),(l=this.data[e][i])&&l[a]?l[a]:(this.options.onMissingKey&&this.options.onMissingKey(r,e),0===a?r:n)};const q={plural_forms:e=>1===e?0:1},X=/^i18n\.(n?gettext|has_translation)(_|$)/,Y=((e,t,r)=>{const n=new H({}),o=new Set,a=()=>{o.forEach((e=>e()))},i=(e,t="default")=>{n.data[t]={...n.data[t],...e},n.data[t][""]={...q,...n.data[t]?.[""]},delete n.pluralForms[t]},l=(e,t)=>{i(e,t),a()},s=(e="default",t,r,o,a)=>(n.data[e]||i(void 0,e),n.dcnpgettext(e,t,r,o,a)),u=(e="default")=>e,c=(e,t,n)=>{let o=s(n,t,e);return r?(o=r.applyFilters("i18n.gettext_with_context",o,e,t,n),r.applyFilters("i18n.gettext_with_context_"+u(n),o,e,t,n)):o};if(r){const e=e=>{X.test(e)&&a()};r.addAction("hookAdded","core/i18n",e),r.addAction("hookRemoved","core/i18n",e)}return{getLocaleData:(e="default")=>n.data[e],setLocaleData:l,addLocaleData:(e,t="default")=>{n.data[t]={...n.data[t],...e,"":{...q,...n.data[t]?.[""],...e?.[""]}},delete n.pluralForms[t],a()},resetLocaleData:(e,t)=>{n.data={},n.pluralForms={},l(e,t)},subscribe:e=>(o.add(e),()=>o.delete(e)),__:(e,t)=>{let n=s(t,void 0,e);return r?(n=r.applyFilters("i18n.gettext",n,e,t),r.applyFilters("i18n.gettext_"+u(t),n,e,t)):n},_x:c,_n:(e,t,n,o)=>{let a=s(o,void 0,e,t,n);return r?(a=r.applyFilters("i18n.ngettext",a,e,t,n,o),r.applyFilters("i18n.ngettext_"+u(o),a,e,t,n,o)):a},_nx:(e,t,n,o,a)=>{let i=s(a,o,e,t,n);return r?(i=r.applyFilters("i18n.ngettext_with_context",i,e,t,n,o,a),r.applyFilters("i18n.ngettext_with_context_"+u(a),i,e,t,n,o,a)):i},isRTL:()=>"rtl"===c("ltr","text direction"),hasTranslation:(e,t,o)=>{const a=t?t+""+e:e;let i=!!n.data?.[null!=o?o:"default"]?.[a];return r&&(i=r.applyFilters("i18n.has_translation",i,e,t,o),i=r.applyFilters("i18n.has_translation_"+u(o),i,e,t,o)),i}}})(0,0,v),G=(Y.getLocaleData.bind(Y),Y.setLocaleData.bind(Y),Y.resetLocaleData.bind(Y),Y.subscribe.bind(Y),Y.__.bind(Y));Y._x.bind(Y),Y._n.bind(Y),Y._nx.bind(Y),Y.isRTL.bind(Y),Y.hasTranslation.bind(Y);const Q=(e,t)=>{let r,n,o=e.path;return"string"==typeof e.namespace&&"string"==typeof e.endpoint&&(r=e.namespace.replace(/^\/|\/$/g,""),n=e.endpoint.replace(/^\//,""),o=n?r+"/"+n:r),delete e.namespace,delete e.endpoint,t({...e,path:o})};function Z(e){const t=e.split("?"),r=t[1],n=t[0];return r?n+"?"+r.split("&").map((e=>e.split("="))).map((e=>e.map(decodeURIComponent))).sort(((e,t)=>e[0].localeCompare(t[0]))).map((e=>e.map(encodeURIComponent))).map((e=>e.join("="))).join("&"):n}function K(e){try{return decodeURIComponent(e)}catch(t){return e}}function J(e){return(function(e){let t;try{t=new URL(e,"http://example.com").search.substring(1)}catch(e){}if(t)return t}(e)||"").replace(/\+/g,"%20").split("&").reduce(((e,t)=>{const[r,n=""]=t.split("=").filter(Boolean).map(K);return r&&function(e,t,r){const n=t.length,o=n-1;for(let a=0;a<n;a++){let n=t[a];!n&&Array.isArray(e)&&(n=e.length.toString()),n=["__proto__","constructor","prototype"].includes(n)?n.toUpperCase():n;const i=!isNaN(Number(t[a+1]));e[n]=a===o?r:e[n]||(i?[]:{}),Array.isArray(e[n])&&!i&&(e[n]={...e[n]}),e=e[n]}}(e,r.replace(/\]/g,"").split("["),n),e}),Object.create(null))}function ee(e,t){return J(e)[t]}function te(e="",t){if(!t||!Object.keys(t).length)return e;let r=e;const n=e.indexOf("?");return-1!==n&&(t=Object.assign(J(e),t),r=r.substr(0,n)),r+"?"+function(e){let t="";const r=Object.entries(e);let n;for(;n=r.shift();){let[e,o]=n;if(Array.isArray(o)||o&&o.constructor===Object){const t=Object.entries(o).reverse();for(const[n,o]of t)r.unshift([`${e}[${n}]`,o])}else void 0!==o&&(null===o&&(o=""),t+="&"+[e,o].map(encodeURIComponent).join("="))}return t.substr(1)}(t)}const re=(e,t)=>{let{path:r,url:n,...o}=e;return{...o,url:n&&te(n,t),path:r&&te(r,t)}},ne=e=>e.json?e.json():Promise.reject(e),oe=e=>{const{next:t}=(e=>{if(!e)return{};const t=e.match(/<([^>]+)>; rel="next"/);return t?{next:t[1]}:{}})(e.headers.get("link"));return t},ae=async(e,t)=>{if(!1===e.parse)return t(e);if(!(e=>{const t=!!e.path&&-1!==e.path.indexOf("per_page=-1"),r=!!e.url&&-1!==e.url.indexOf("per_page=-1");return t||r})(e))return t(e);const r=await ve({...re(e,{per_page:100}),parse:!1}),n=await ne(r);if(!Array.isArray(n))return n;let o=oe(r);if(!o)return n;let a=[].concat(n);for(;o;){const t=await ve({...e,path:void 0,url:o,parse:!1}),r=await ne(t);a=a.concat(r),o=oe(t)}return a},ie=new Set(["PATCH","PUT","DELETE"]),le="GET";function se(e,t){return void 0!==ee(e,t)}const ue=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Promise.resolve(function(e){return arguments.length>1&&void 0!==arguments[1]&&!arguments[1]?e:204===e.status?null:e.json?e.json():Promise.reject(e)}(e,t)).catch((e=>ce(e,t)))};function ce(e){if(arguments.length>1&&void 0!==arguments[1]&&!arguments[1])throw e;return(e=>{const t={code:"invalid_json",message:G("The response is not a valid JSON response.")};if(!e||!e.json)throw t;return e.json().catch((()=>{throw t}))})(e).then((e=>{const t={code:"unknown_error",message:G("An unknown error occurred.")};throw e||t}))}const de={Accept:"application/json, */*;q=0.1"},fe={credentials:"include"},pe=[(e,t)=>("string"!=typeof e.url||se(e.url,"_locale")||(e.url=te(e.url,{_locale:"user"})),"string"!=typeof e.path||se(e.path,"_locale")||(e.path=te(e.path,{_locale:"user"})),t(e)),Q,(e,t)=>{const{method:r=le}=e;return ie.has(r.toUpperCase())&&(e={...e,headers:{...e.headers,"X-HTTP-Method-Override":r,"Content-Type":"application/json"},method:"POST"}),t(e)},ae],he=e=>{if(e.status>=200&&e.status<300)return e;throw e};let me=e=>{const{url:t,path:r,data:n,parse:o=!0,...a}=e;let{body:i,headers:l}=e;return l={...de,...l},n&&(i=JSON.stringify(n),l["Content-Type"]="application/json"),window.fetch(t||r||window.location.href,{...fe,...a,body:i,headers:l}).then((e=>Promise.resolve(e).then(he).catch((e=>ce(e,o))).then((e=>ue(e,o)))),(e=>{if(e&&"AbortError"===e.name)throw e;throw{code:"fetch_error",message:G("You are probably offline.")}}))};function ge(e){const t=pe.reduceRight(((e,t)=>r=>t(r,e)),me);return t(e).catch((t=>"rest_cookie_invalid_nonce"!==t.code?Promise.reject(t):window.fetch(ge.nonceEndpoint).then(he).then((e=>e.text())).then((t=>(ge.nonceMiddleware.nonce=t,ge(e))))))}ge.use=function(e){pe.unshift(e)},ge.setFetchHandler=function(e){me=e},ge.createNonceMiddleware=function(e){const t=(e,r)=>{const{headers:n={}}=e;for(const o in n)if("x-wp-nonce"===o.toLowerCase()&&n[o]===t.nonce)return r(e);return r({...e,headers:{...n,"X-WP-Nonce":t.nonce}})};return t.nonce=e,t},ge.createPreloadingMiddleware=function(e){const t=Object.keys(e).reduce(((t,r)=>(t[Z(r)]=e[r],t)),{});return(e,r)=>{const{parse:n=!0}=e;let o=e.path;if(!o&&e.url){const t=ee(e.url,"rest_route");"string"==typeof t&&(o=t)}if("string"==typeof o){const r=e.method||"GET",a=Z(o);if("GET"===r&&t[a]){const e=t[a];return delete t[a],Promise.resolve(n?e.body:new window.Response(JSON.stringify(e.body),{status:200,statusText:"OK",headers:e.headers}))}if("OPTIONS"===r&&t[r]&&t[r][a]){const e=t[r][a];return delete t[r][a],Promise.resolve(n?e.body:e)}}return r(e)}},ge.createRootURLMiddleware=e=>(t,r)=>Q(t,(t=>{let n,o=t.url,a=t.path;return"string"==typeof a&&(n=e,-1!==e.indexOf("?")&&(a=a.replace("?","&")),a=a.replace(/^\//,""),"string"==typeof n&&-1!==n.indexOf("?")&&(a=a.replace("?","&")),o=n+a),r({...t,url:o})})),ge.fetchAllMiddleware=ae,ge.mediaUploadMiddleware=(e,t)=>{if(!function(e){const t=!!e.method&&"POST"===e.method;return(!!e.path&&-1!==e.path.indexOf("/wp/v2/media")||!!e.url&&-1!==e.url.indexOf("/wp/v2/media"))&&t}(e))return t(e);let r=0;const n=e=>(r++,t({path:`/wp/v2/media/${e}/post-process`,method:"POST",data:{action:"create-image-subsizes"},parse:!1}).catch((()=>r<5?n(e):(t({path:`/wp/v2/media/${e}?force=true`,method:"DELETE"}),Promise.reject()))));return t({...e,parse:!1}).catch((t=>{const r=t.headers.get("x-wp-upload-attachment-id");return t.status>=500&&t.status<600&&r?n(r).catch((()=>!1!==e.parse?Promise.reject({code:"post_process",message:G("Media upload failed. If this is a photo or a large image, please scale it down and try again.")}):Promise.reject(t))):ce(t,e.parse)})).then((t=>ue(t,e.parse)))};const ve=ge;var ye=r(8394);const be=(e,t)=>`${e}:hover ${t}, ${e}[data-hover] ${t}`,xe=(e,t)=>`${e}:focus ${t}, ${e}[data-focus] ${t}`,we=(e,t)=>`${e}:focus-visible ${t}`,Se=(e,t)=>`${e}:focus-within ${t}`,ke=(e,t)=>`${e}:active ${t}, ${e}[data-active] ${t}`,_e=(e,t)=>`${e}:disabled ${t}, ${e}[data-disabled] ${t}`,Ee=(e,t)=>`${e}:invalid ${t}, ${e}[data-invalid] ${t}`,Ce=(e,t)=>`${e}:checked ${t}, ${e}[data-checked] ${t}`,Pe=e=>ze((t=>e(t,"&")),"[role=group]","[data-group]",".group"),Te=e=>ze((t=>e(t,"~ &")),"[data-peer]",".peer"),ze=(e,...t)=>t.map(e).join(", "),je={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within, &[data-focus-within]",_focusVisible:"&:focus-visible, &[data-focus-visible]",_disabled:"&:disabled, &[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty, &[data-empty]",_expanded:"&[aria-expanded=true], &[data-expanded], &[data-state=expanded]",_checked:"&[aria-checked=true], &[data-checked], &[data-state=checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_firstLetter:"&::first-letter",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate], &[data-state=indeterminate]",_groupOpen:Pe(((e,t)=>`${e}[data-open], ${e}[open], ${e}[data-state=open] ${t}`)),_groupClosed:Pe(((e,t)=>`${e}[data-closed], ${e}[data-state=closed] ${t}`)),_groupHover:Pe(be),_peerHover:Te(be),_groupFocus:Pe(xe),_peerFocus:Te(xe),_groupFocusVisible:Pe(we),_peerFocusVisible:Te(we),_groupActive:Pe(ke),_peerActive:Te(ke),_groupDisabled:Pe(_e),_peerDisabled:Te(_e),_groupInvalid:Pe(Ee),_peerInvalid:Te(Ee),_groupChecked:Pe(Ce),_peerChecked:Te(Ce),_groupFocusWithin:Pe(Se),_peerFocusWithin:Te(Se),_peerPlaceholderShown:Te(((e,t)=>`${e}:placeholder-shown ${t}`)),_placeholder:"&::placeholder, &[data-placeholder]",_placeholderShown:"&:placeholder-shown, &[data-placeholder-shown]",_fullScreen:"&:fullscreen, &[data-fullscreen]",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",_light:".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]",_horizontal:"&[data-orientation=horizontal]",_vertical:"&[data-orientation=vertical]",_open:"&[data-open], &[open], &[data-state=open]",_closed:"&[data-closed], &[data-state=closed]",_complete:"&[data-complete]",_incomplete:"&[data-incomplete]",_current:"&[data-current]"};function Oe(e){const t=e.conditions??{},r=Object.fromEntries(Object.entries(t).map((([e,t])=>[`_${e}`,t])));return{...je,...r}}function Ae(e){return Object.keys(Oe(e))}function Re(e){const t=typeof e;return null!=e&&("object"===t||"function"===t)&&!function(e){return Array.isArray(e)}(e)}const Me=e=>"string"==typeof e?e.replace(/!(important)?$/,"").trim():e;function Le(e){const{scale:t,transform:r,compose:n}=e;return(e,o)=>{const a=((e,t)=>r=>{const n=String(t),o=(e=>/!(important)?$/.test(e))(n),a=Me(n),i=e?`${e}.${a}`:a;let l=Re(r.__cssMap)&&i in r.__cssMap?r.__cssMap[i].varRef:t;return l=Me(l),o?`${l} !important`:l})(t,e)(o);let i=r?.(a,o)??a;return n&&(i=n(i,o)),i}}const Fe=(...e)=>t=>e.reduce(((e,t)=>t(e)),t);function Ie(e,t){return r=>{const n={property:r,scale:e};return n.transform=Le({scale:e,transform:t}),n}}const De=({rtl:e,ltr:t})=>r=>"rtl"===r.direction?e:t,$e=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"],Ne={"--chakra-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-sepia":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-drop-shadow":"var(--chakra-empty,/*!*/ /*!*/)",filter:["var(--chakra-blur)","var(--chakra-brightness)","var(--chakra-contrast)","var(--chakra-grayscale)","var(--chakra-hue-rotate)","var(--chakra-invert)","var(--chakra-saturate)","var(--chakra-sepia)","var(--chakra-drop-shadow)"].join(" ")},Be={backdropFilter:["var(--chakra-backdrop-blur)","var(--chakra-backdrop-brightness)","var(--chakra-backdrop-contrast)","var(--chakra-backdrop-grayscale)","var(--chakra-backdrop-hue-rotate)","var(--chakra-backdrop-invert)","var(--chakra-backdrop-opacity)","var(--chakra-backdrop-saturate)","var(--chakra-backdrop-sepia)"].join(" "),"--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"},Ve={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},Ue={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},We=new Set(Object.values(Ue)),He=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),qe=e=>e.trim(),Xe=e=>"string"==typeof e&&e.includes("(")&&e.includes(")"),Ye=e=>t=>`${e}(${t})`,Ge={filter:e=>"auto"!==e?e:Ne,backdropFilter:e=>"auto"!==e?e:Be,ring:e=>function(e){return{"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":e,boxShadow:["var(--chakra-ring-offset-shadow)","var(--chakra-ring-shadow)","var(--chakra-shadow, 0 0 #0000)"].join(", ")}}(Ge.px(e)),bgClip:e=>"text"===e?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e},transform:e=>"auto"===e?["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...$e].join(" "):"auto-gpu"===e?["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...$e].join(" "):e,vh:e=>"$100vh"===e?"var(--chakra-vh)":e,px(e){if(null==e)return e;const{unitless:t}=(e=>{const t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}})(e);return t||"number"==typeof e?`${e}px`:e},fraction:e=>"number"!=typeof e||e>1?e:100*e+"%",float:(e,t)=>"rtl"===t.direction?{left:"right",right:"left"}[e]:e,degree(e){if(function(e){return/^var\(--.+\)$/.test(e)}(e)||null==e)return e;const t="string"==typeof e&&!e.endsWith("deg");return"number"==typeof e||t?`${e}deg`:e},gradient:(e,t)=>function(e,t){if(null==e||He.has(e))return e;if(!Xe(e)&&!He.has(e))return`url('${e}')`;const r=/(^[a-z-A-Z]+)\((.*)\)/g.exec(e),n=r?.[1],o=r?.[2];if(!n||!o)return e;const a=n.includes("-gradient")?n:`${n}-gradient`,[i,...l]=o.split(",").map(qe).filter(Boolean);if(0===l?.length)return e;const s=i in Ue?Ue[i]:i;l.unshift(s);const u=l.map((e=>{if(We.has(e))return e;const r=e.indexOf(" "),[n,o]=-1!==r?[e.substr(0,r),e.substr(r+1)]:[e],a=Xe(o)?o:o&&o.split(" "),i=`colors.${n}`,l=i in t.__cssMap?t.__cssMap[i].varRef:n;return a?[l,...Array.isArray(a)?a:[a]].join(" "):l}));return`${a}(${u.join(", ")})`}(e,t??{}),blur:Ye("blur"),opacity:Ye("opacity"),brightness:Ye("brightness"),contrast:Ye("contrast"),dropShadow:Ye("drop-shadow"),grayscale:Ye("grayscale"),hueRotate:e=>Ye("hue-rotate")(Ge.degree(e)),invert:Ye("invert"),saturate:Ye("saturate"),sepia:Ye("sepia"),bgImage:e=>null==e||Xe(e)||He.has(e)?e:`url(${e})`,outline(e){const t="0"===String(e)||"none"===String(e);return null!==e&&t?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){const{space:t,divide:r}=Ve[e]??{},n={flexDirection:e};return t&&(n[t]=1),r&&(n[r]=1),n}},Qe={borderWidths:Ie("borderWidths"),borderStyles:Ie("borderStyles"),colors:Ie("colors"),borders:Ie("borders"),gradients:Ie("gradients",Ge.gradient),radii:Ie("radii",Ge.px),space:Ie("space",Fe(Ge.vh,Ge.px)),spaceT:Ie("space",Fe(Ge.vh,Ge.px)),degreeT:e=>({property:e,transform:Ge.degree}),prop:(e,t,r)=>({property:e,scale:t,...t&&{transform:Le({scale:t,transform:r})}}),propT:(e,t)=>({property:e,transform:t}),sizes:Ie("sizes",Fe(Ge.vh,Ge.px)),sizesT:Ie("sizes",Fe(Ge.vh,Ge.fraction)),shadows:Ie("shadows"),logical:function(e){const{property:t,scale:r,transform:n}=e;return{scale:r,property:De(t),transform:r?Le({scale:r,compose:n}):n}},blur:Ie("blur",Ge.blur)},Ze={background:Qe.colors("background"),backgroundColor:Qe.colors("backgroundColor"),backgroundImage:Qe.gradients("backgroundImage"),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:Ge.bgClip},bgSize:Qe.prop("backgroundSize"),bgPosition:Qe.prop("backgroundPosition"),bg:Qe.colors("background"),bgColor:Qe.colors("backgroundColor"),bgPos:Qe.prop("backgroundPosition"),bgRepeat:Qe.prop("backgroundRepeat"),bgAttachment:Qe.prop("backgroundAttachment"),bgGradient:Qe.gradients("backgroundImage"),bgClip:{transform:Ge.bgClip}};Object.assign(Ze,{bgImage:Ze.backgroundImage,bgImg:Ze.backgroundImage});const Ke={border:Qe.borders("border"),borderWidth:Qe.borderWidths("borderWidth"),borderStyle:Qe.borderStyles("borderStyle"),borderColor:Qe.colors("borderColor"),borderRadius:Qe.radii("borderRadius"),borderTop:Qe.borders("borderTop"),borderBlockStart:Qe.borders("borderBlockStart"),borderTopLeftRadius:Qe.radii("borderTopLeftRadius"),borderStartStartRadius:Qe.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:Qe.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:Qe.radii("borderTopRightRadius"),borderStartEndRadius:Qe.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:Qe.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:Qe.borders("borderRight"),borderInlineEnd:Qe.borders("borderInlineEnd"),borderBottom:Qe.borders("borderBottom"),borderBlockEnd:Qe.borders("borderBlockEnd"),borderBottomLeftRadius:Qe.radii("borderBottomLeftRadius"),borderBottomRightRadius:Qe.radii("borderBottomRightRadius"),borderLeft:Qe.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:Qe.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:Qe.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:Qe.borders(["borderLeft","borderRight"]),borderInline:Qe.borders("borderInline"),borderY:Qe.borders(["borderTop","borderBottom"]),borderBlock:Qe.borders("borderBlock"),borderTopWidth:Qe.borderWidths("borderTopWidth"),borderBlockStartWidth:Qe.borderWidths("borderBlockStartWidth"),borderTopColor:Qe.colors("borderTopColor"),borderBlockStartColor:Qe.colors("borderBlockStartColor"),borderTopStyle:Qe.borderStyles("borderTopStyle"),borderBlockStartStyle:Qe.borderStyles("borderBlockStartStyle"),borderBottomWidth:Qe.borderWidths("borderBottomWidth"),borderBlockEndWidth:Qe.borderWidths("borderBlockEndWidth"),borderBottomColor:Qe.colors("borderBottomColor"),borderBlockEndColor:Qe.colors("borderBlockEndColor"),borderBottomStyle:Qe.borderStyles("borderBottomStyle"),borderBlockEndStyle:Qe.borderStyles("borderBlockEndStyle"),borderLeftWidth:Qe.borderWidths("borderLeftWidth"),borderInlineStartWidth:Qe.borderWidths("borderInlineStartWidth"),borderLeftColor:Qe.colors("borderLeftColor"),borderInlineStartColor:Qe.colors("borderInlineStartColor"),borderLeftStyle:Qe.borderStyles("borderLeftStyle"),borderInlineStartStyle:Qe.borderStyles("borderInlineStartStyle"),borderRightWidth:Qe.borderWidths("borderRightWidth"),borderInlineEndWidth:Qe.borderWidths("borderInlineEndWidth"),borderRightColor:Qe.colors("borderRightColor"),borderInlineEndColor:Qe.colors("borderInlineEndColor"),borderRightStyle:Qe.borderStyles("borderRightStyle"),borderInlineEndStyle:Qe.borderStyles("borderInlineEndStyle"),borderTopRadius:Qe.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:Qe.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:Qe.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:Qe.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(Ke,{rounded:Ke.borderRadius,roundedTop:Ke.borderTopRadius,roundedTopLeft:Ke.borderTopLeftRadius,roundedTopRight:Ke.borderTopRightRadius,roundedTopStart:Ke.borderStartStartRadius,roundedTopEnd:Ke.borderStartEndRadius,roundedBottom:Ke.borderBottomRadius,roundedBottomLeft:Ke.borderBottomLeftRadius,roundedBottomRight:Ke.borderBottomRightRadius,roundedBottomStart:Ke.borderEndStartRadius,roundedBottomEnd:Ke.borderEndEndRadius,roundedLeft:Ke.borderLeftRadius,roundedRight:Ke.borderRightRadius,roundedStart:Ke.borderInlineStartRadius,roundedEnd:Ke.borderInlineEndRadius,borderStart:Ke.borderInlineStart,borderEnd:Ke.borderInlineEnd,borderTopStartRadius:Ke.borderStartStartRadius,borderTopEndRadius:Ke.borderStartEndRadius,borderBottomStartRadius:Ke.borderEndStartRadius,borderBottomEndRadius:Ke.borderEndEndRadius,borderStartRadius:Ke.borderInlineStartRadius,borderEndRadius:Ke.borderInlineEndRadius,borderStartWidth:Ke.borderInlineStartWidth,borderEndWidth:Ke.borderInlineEndWidth,borderStartColor:Ke.borderInlineStartColor,borderEndColor:Ke.borderInlineEndColor,borderStartStyle:Ke.borderInlineStartStyle,borderEndStyle:Ke.borderInlineEndStyle});const Je={color:Qe.colors("color"),textColor:Qe.colors("color"),fill:Qe.colors("fill"),stroke:Qe.colors("stroke"),accentColor:Qe.colors("accentColor"),textFillColor:Qe.colors("textFillColor")},et={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:Ge.flexDirection},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:Qe.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:Qe.space("gap"),rowGap:Qe.space("rowGap"),columnGap:Qe.space("columnGap")};Object.assign(et,{flexDir:et.flexDirection});const tt={width:Qe.sizesT("width"),inlineSize:Qe.sizesT("inlineSize"),height:Qe.sizes("height"),blockSize:Qe.sizes("blockSize"),boxSize:Qe.sizes(["width","height"]),minWidth:Qe.sizes("minWidth"),minInlineSize:Qe.sizes("minInlineSize"),minHeight:Qe.sizes("minHeight"),minBlockSize:Qe.sizes("minBlockSize"),maxWidth:Qe.sizes("maxWidth"),maxInlineSize:Qe.sizes("maxInlineSize"),maxHeight:Qe.sizes("maxHeight"),maxBlockSize:Qe.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,aspectRatio:!0,hideFrom:{scale:"breakpoints",transform:(e,t)=>{const r=`@media screen and (min-width: ${t.__breakpoints?.get(e)?.minW??e})`;return{[r]:{display:"none"}}}},hideBelow:{scale:"breakpoints",transform:(e,t)=>{const r=`@media screen and (max-width: ${t.__breakpoints?.get(e)?._minW??e})`;return{[r]:{display:"none"}}}},verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:Qe.propT("float",Ge.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(tt,{w:tt.width,h:tt.height,minW:tt.minWidth,maxW:tt.maxWidth,minH:tt.minHeight,maxH:tt.maxHeight,overscroll:tt.overscrollBehavior,overscrollX:tt.overscrollBehaviorX,overscrollY:tt.overscrollBehaviorY});const rt={filter:{transform:Ge.filter},blur:Qe.blur("--chakra-blur"),brightness:Qe.propT("--chakra-brightness",Ge.brightness),contrast:Qe.propT("--chakra-contrast",Ge.contrast),hueRotate:Qe.propT("--chakra-hue-rotate",Ge.hueRotate),invert:Qe.propT("--chakra-invert",Ge.invert),saturate:Qe.propT("--chakra-saturate",Ge.saturate),dropShadow:Qe.propT("--chakra-drop-shadow",Ge.dropShadow),backdropFilter:{transform:Ge.backdropFilter},backdropBlur:Qe.blur("--chakra-backdrop-blur"),backdropBrightness:Qe.propT("--chakra-backdrop-brightness",Ge.brightness),backdropContrast:Qe.propT("--chakra-backdrop-contrast",Ge.contrast),backdropHueRotate:Qe.propT("--chakra-backdrop-hue-rotate",Ge.hueRotate),backdropInvert:Qe.propT("--chakra-backdrop-invert",Ge.invert),backdropSaturate:Qe.propT("--chakra-backdrop-saturate",Ge.saturate)},nt={ring:{transform:Ge.ring},ringColor:Qe.colors("--chakra-ring-color"),ringOffset:Qe.prop("--chakra-ring-offset-width"),ringOffsetColor:Qe.colors("--chakra-ring-offset-color"),ringInset:Qe.prop("--chakra-ring-inset")},ot={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:Ge.outline},outlineOffset:!0,outlineColor:Qe.colors("outlineColor")},at={gridGap:Qe.space("gridGap"),gridColumnGap:Qe.space("gridColumnGap"),gridRowGap:Qe.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},it=(e=>{const t=new WeakMap;return(r,n,o,a)=>{if(void 0===r)return e(r,n,o);t.has(r)||t.set(r,new Map);const i=t.get(r);if(i.has(n))return i.get(n);const l=e(r,n,o,a);return i.set(n,l),l}})((function(e,t,r,n){const o="string"==typeof t?t.split("."):[t];for(n=0;n<o.length&&e;n+=1)e=e[o[n]];return void 0===e?r:e})),lt={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},st={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},ut=(e,t,r)=>{const n={},o=it(e,t,{});for(const e in o)e in r&&null!=r[e]||(n[e]=o[e]);return n},ct={srOnly:{transform:e=>!0===e?lt:"focusable"===e?st:{}},layerStyle:{processResult:!0,transform:(e,t,r)=>ut(t,`layerStyles.${e}`,r)},textStyle:{processResult:!0,transform:(e,t,r)=>ut(t,`textStyles.${e}`,r)},apply:{processResult:!0,transform:(e,t,r)=>ut(t,e,r)}},dt={position:!0,pos:Qe.prop("position"),zIndex:Qe.prop("zIndex","zIndices"),inset:Qe.spaceT("inset"),insetX:Qe.spaceT(["left","right"]),insetInline:Qe.spaceT("insetInline"),insetY:Qe.spaceT(["top","bottom"]),insetBlock:Qe.spaceT("insetBlock"),top:Qe.spaceT("top"),insetBlockStart:Qe.spaceT("insetBlockStart"),bottom:Qe.spaceT("bottom"),insetBlockEnd:Qe.spaceT("insetBlockEnd"),left:Qe.spaceT("left"),insetInlineStart:Qe.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:Qe.spaceT("right"),insetInlineEnd:Qe.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(dt,{insetStart:dt.insetInlineStart,insetEnd:dt.insetInlineEnd});const ft={boxShadow:Qe.shadows("boxShadow"),mixBlendMode:!0,blendMode:Qe.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:Qe.prop("backgroundBlendMode"),opacity:!0};Object.assign(ft,{shadow:ft.boxShadow});const pt={margin:Qe.spaceT("margin"),marginTop:Qe.spaceT("marginTop"),marginBlockStart:Qe.spaceT("marginBlockStart"),marginRight:Qe.spaceT("marginRight"),marginInlineEnd:Qe.spaceT("marginInlineEnd"),marginBottom:Qe.spaceT("marginBottom"),marginBlockEnd:Qe.spaceT("marginBlockEnd"),marginLeft:Qe.spaceT("marginLeft"),marginInlineStart:Qe.spaceT("marginInlineStart"),marginX:Qe.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:Qe.spaceT("marginInline"),marginY:Qe.spaceT(["marginTop","marginBottom"]),marginBlock:Qe.spaceT("marginBlock"),padding:Qe.space("padding"),paddingTop:Qe.space("paddingTop"),paddingBlockStart:Qe.space("paddingBlockStart"),paddingRight:Qe.space("paddingRight"),paddingBottom:Qe.space("paddingBottom"),paddingBlockEnd:Qe.space("paddingBlockEnd"),paddingLeft:Qe.space("paddingLeft"),paddingInlineStart:Qe.space("paddingInlineStart"),paddingInlineEnd:Qe.space("paddingInlineEnd"),paddingX:Qe.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:Qe.space("paddingInline"),paddingY:Qe.space(["paddingTop","paddingBottom"]),paddingBlock:Qe.space("paddingBlock")};Object.assign(pt,{m:pt.margin,mt:pt.marginTop,mr:pt.marginRight,me:pt.marginInlineEnd,marginEnd:pt.marginInlineEnd,mb:pt.marginBottom,ml:pt.marginLeft,ms:pt.marginInlineStart,marginStart:pt.marginInlineStart,mx:pt.marginX,my:pt.marginY,p:pt.padding,pt:pt.paddingTop,py:pt.paddingY,px:pt.paddingX,pb:pt.paddingBottom,pl:pt.paddingLeft,ps:pt.paddingInlineStart,paddingStart:pt.paddingInlineStart,pr:pt.paddingRight,pe:pt.paddingInlineEnd,paddingEnd:pt.paddingInlineEnd});const ht={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:Qe.spaceT("scrollMargin"),scrollMarginTop:Qe.spaceT("scrollMarginTop"),scrollMarginBottom:Qe.spaceT("scrollMarginBottom"),scrollMarginLeft:Qe.spaceT("scrollMarginLeft"),scrollMarginRight:Qe.spaceT("scrollMarginRight"),scrollMarginX:Qe.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:Qe.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:Qe.spaceT("scrollPadding"),scrollPaddingTop:Qe.spaceT("scrollPaddingTop"),scrollPaddingBottom:Qe.spaceT("scrollPaddingBottom"),scrollPaddingLeft:Qe.spaceT("scrollPaddingLeft"),scrollPaddingRight:Qe.spaceT("scrollPaddingRight"),scrollPaddingX:Qe.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:Qe.spaceT(["scrollPaddingTop","scrollPaddingBottom"])},mt={fontFamily:Qe.prop("fontFamily","fonts"),fontSize:Qe.prop("fontSize","fontSizes",Ge.px),fontWeight:Qe.prop("fontWeight","fontWeights"),lineHeight:Qe.prop("lineHeight","lineHeights"),letterSpacing:Qe.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,textIndent:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,isTruncated:{transform(e){if(!0===e)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}},noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"}},gt={textDecorationColor:Qe.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:Qe.shadows("textShadow")},vt={clipPath:!0,transform:Qe.propT("transform",Ge.transform),transformOrigin:!0,translateX:Qe.spaceT("--chakra-translate-x"),translateY:Qe.spaceT("--chakra-translate-y"),skewX:Qe.degreeT("--chakra-skew-x"),skewY:Qe.degreeT("--chakra-skew-y"),scaleX:Qe.prop("--chakra-scale-x"),scaleY:Qe.prop("--chakra-scale-y"),scale:Qe.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:Qe.degreeT("--chakra-rotate")},yt={listStyleType:!0,listStylePosition:!0,listStylePos:Qe.prop("listStylePosition"),listStyleImage:!0,listStyleImg:Qe.prop("listStyleImage")},bt={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:Qe.prop("transitionDuration","transition.duration"),transitionProperty:Qe.prop("transitionProperty","transition.property"),transitionTimingFunction:Qe.prop("transitionTimingFunction","transition.easing")},xt=ye({},Ze,Ke,Je,et,tt,rt,nt,ot,at,ct,dt,ft,pt,ht,mt,gt,vt,yt,bt),wt=Object.assign({},pt,tt,et,at,dt);function St(e,...t){return"function"==typeof e?e(...t):e}Object.keys(wt);const kt=(e,t)=>e.startsWith("--")&&"string"==typeof t&&!function(e){return/^var\(--.+\)$/.test(e)}(t),_t=(e,t)=>{if(null==t)return t;const r=t=>e.__cssMap?.[t]?.varRef,n=e=>r(e)??e,[o,a]=function(e){const t=[];let r="",n=!1;for(let o=0;o<e.length;o++){const a=e[o];"("===a?(n=!0,r+=a):")"===a?(n=!1,r+=a):","!==a||n?r+=a:(t.push(r),r="")}return r=r.trim(),r&&t.push(r),t}(t);return r(o)??n(a)??n(t)};const Et=e=>t=>function(e){const{configs:t={},pseudos:r={},theme:n}=e,o=(e,a=!1)=>{const i=St(e,n),l=(e=>t=>{if(!t.__breakpoints)return e;const{isResponsive:r,toArrayValue:n,media:o}=t.__breakpoints,a={};for(const i in e){let l=St(e[i],t);if(null==l)continue;if(l=Re(l)&&r(l)?n(l):l,!Array.isArray(l)){a[i]=l;continue}const s=l.slice(0,o.length).length;for(let e=0;e<s;e+=1){const t=o?.[e];t?(a[t]=a[t]||{},null!=l[e]&&(a[t][i]=l[e])):a[i]=l[e]}}return a})(i)(n);let s={};for(let e in l){let u=St(l[e],n);e in r&&(e=r[e]),kt(e,u)&&(u=_t(n,u));let c=t[e];if(!0===c&&(c={property:e}),Re(u)){s[e]=s[e]??{},s[e]=ye({},s[e],o(u,!0));continue}let d=c?.transform?.(u,n,i)??u;d=c?.processResult?o(d,!0):d;const f=St(c?.property,n);if(!a&&c?.static){const e=St(c.static,n);s=ye({},s,e)}if(f&&Array.isArray(f))for(const e of f)s[e]=d;else f?"&"===f&&Re(d)?s=ye({},s,d):s[f]=d:Re(d)?s=ye({},s,d):s[e]=d}return s};return o}({theme:t,pseudos:Oe(t),configs:xt})(e);function Ct(e){const t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function Pt(){return Pt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Pt.apply(null,arguments)}function Tt(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var zt=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,jt=Tt((function(e){return zt.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),Ot=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0},e}(),At=Math.abs,Rt=String.fromCharCode,Mt=Object.assign;function Lt(e){return e.trim()}function Ft(e,t,r){return e.replace(t,r)}function It(e,t){return e.indexOf(t)}function Dt(e,t){return 0|e.charCodeAt(t)}function $t(e,t,r){return e.slice(t,r)}function Nt(e){return e.length}function Bt(e){return e.length}function Vt(e,t){return t.push(e),e}var Ut=1,Wt=1,Ht=0,qt=0,Xt=0,Yt="";function Gt(e,t,r,n,o,a,i){return{value:e,root:t,parent:r,type:n,props:o,children:a,line:Ut,column:Wt,length:i,return:""}}function Qt(e,t){return Mt(Gt("",null,null,"",null,null,0),e,{length:-e.length},t)}function Zt(){return Xt=qt>0?Dt(Yt,--qt):0,Wt--,10===Xt&&(Wt=1,Ut--),Xt}function Kt(){return Xt=qt<Ht?Dt(Yt,qt++):0,Wt++,10===Xt&&(Wt=1,Ut++),Xt}function Jt(){return Dt(Yt,qt)}function er(){return qt}function tr(e,t){return $t(Yt,e,t)}function rr(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function nr(e){return Ut=Wt=1,Ht=Nt(Yt=e),qt=0,[]}function or(e){return Yt="",e}function ar(e){return Lt(tr(qt-1,sr(91===e?e+2:40===e?e+1:e)))}function ir(e){for(;(Xt=Jt())&&Xt<33;)Kt();return rr(e)>2||rr(Xt)>3?"":" "}function lr(e,t){for(;--t&&Kt()&&!(Xt<48||Xt>102||Xt>57&&Xt<65||Xt>70&&Xt<97););return tr(e,er()+(t<6&&32==Jt()&&32==Kt()))}function sr(e){for(;Kt();)switch(Xt){case e:return qt;case 34:case 39:34!==e&&39!==e&&sr(Xt);break;case 40:41===e&&sr(e);break;case 92:Kt()}return qt}function ur(e,t){for(;Kt()&&e+Xt!==57&&(e+Xt!==84||47!==Jt()););return"/*"+tr(t,qt-1)+"*"+Rt(47===e?e:Kt())}function cr(e){for(;!rr(Jt());)Kt();return tr(e,qt)}var dr="-ms-",fr="-moz-",pr="-webkit-",hr="comm",mr="rule",gr="decl",vr="@keyframes";function yr(e,t){for(var r="",n=Bt(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function br(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case gr:return e.return=e.return||e.value;case hr:return"";case vr:return e.return=e.value+"{"+yr(e.children,n)+"}";case mr:e.value=e.props.join(",")}return Nt(r=yr(e.children,n))?e.return=e.value+"{"+r+"}":""}function xr(e){return or(wr("",null,null,null,[""],e=nr(e),0,[0],e))}function wr(e,t,r,n,o,a,i,l,s){for(var u=0,c=0,d=i,f=0,p=0,h=0,m=1,g=1,v=1,y=0,b="",x=o,w=a,S=n,k=b;g;)switch(h=y,y=Kt()){case 40:if(108!=h&&58==Dt(k,d-1)){-1!=It(k+=Ft(ar(y),"&","&\f"),"&\f")&&(v=-1);break}case 34:case 39:case 91:k+=ar(y);break;case 9:case 10:case 13:case 32:k+=ir(h);break;case 92:k+=lr(er()-1,7);continue;case 47:switch(Jt()){case 42:case 47:Vt(kr(ur(Kt(),er()),t,r),s);break;default:k+="/"}break;case 123*m:l[u++]=Nt(k)*v;case 125*m:case 59:case 0:switch(y){case 0:case 125:g=0;case 59+c:-1==v&&(k=Ft(k,/\f/g,"")),p>0&&Nt(k)-d&&Vt(p>32?_r(k+";",n,r,d-1):_r(Ft(k," ","")+";",n,r,d-2),s);break;case 59:k+=";";default:if(Vt(S=Sr(k,t,r,u,c,o,l,b,x=[],w=[],d),a),123===y)if(0===c)wr(k,t,S,S,x,a,d,l,w);else switch(99===f&&110===Dt(k,3)?100:f){case 100:case 108:case 109:case 115:wr(e,S,S,n&&Vt(Sr(e,S,S,0,0,o,l,b,o,x=[],d),w),o,w,d,l,n?x:w);break;default:wr(k,S,S,S,[""],w,0,l,w)}}u=c=p=0,m=v=1,b=k="",d=i;break;case 58:d=1+Nt(k),p=h;default:if(m<1)if(123==y)--m;else if(125==y&&0==m++&&125==Zt())continue;switch(k+=Rt(y),y*m){case 38:v=c>0?1:(k+="\f",-1);break;case 44:l[u++]=(Nt(k)-1)*v,v=1;break;case 64:45===Jt()&&(k+=ar(Kt())),f=Jt(),c=d=Nt(b=k+=cr(er())),y++;break;case 45:45===h&&2==Nt(k)&&(m=0)}}return a}function Sr(e,t,r,n,o,a,i,l,s,u,c){for(var d=o-1,f=0===o?a:[""],p=Bt(f),h=0,m=0,g=0;h<n;++h)for(var v=0,y=$t(e,d+1,d=At(m=i[h])),b=e;v<p;++v)(b=Lt(m>0?f[v]+" "+y:Ft(y,/&\f/g,f[v])))&&(s[g++]=b);return Gt(e,t,r,0===o?mr:l,s,u,c)}function kr(e,t,r){return Gt(e,t,r,hr,Rt(Xt),$t(e,2,-2),0)}function _r(e,t,r,n){return Gt(e,t,r,gr,$t(e,0,n),$t(e,n+1,-1),n)}var Er=function(e,t,r){for(var n=0,o=0;n=o,o=Jt(),38===n&&12===o&&(t[r]=1),!rr(o);)Kt();return tr(e,qt)},Cr=new WeakMap,Pr=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Cr.get(r))&&!n){Cr.set(e,!0);for(var o=[],a=function(e,t){return or(function(e,t){var r=-1,n=44;do{switch(rr(n)){case 0:38===n&&12===Jt()&&(t[r]=1),e[r]+=Er(qt-1,t,r);break;case 2:e[r]+=ar(n);break;case 4:if(44===n){e[++r]=58===Jt()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=Rt(n)}}while(n=Kt());return e}(nr(e),t))}(t,o),i=r.props,l=0,s=0;l<a.length;l++)for(var u=0;u<i.length;u++,s++)e.props[s]=o[l]?a[l].replace(/&\f/g,i[u]):i[u]+" "+a[l]}}},Tr=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function zr(e,t){switch(function(e,t){return 45^Dt(e,0)?(((t<<2^Dt(e,0))<<2^Dt(e,1))<<2^Dt(e,2))<<2^Dt(e,3):0}(e,t)){case 5103:return pr+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return pr+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return pr+e+fr+e+dr+e+e;case 6828:case 4268:return pr+e+dr+e+e;case 6165:return pr+e+dr+"flex-"+e+e;case 5187:return pr+e+Ft(e,/(\w+).+(:[^]+)/,pr+"box-$1$2"+dr+"flex-$1$2")+e;case 5443:return pr+e+dr+"flex-item-"+Ft(e,/flex-|-self/,"")+e;case 4675:return pr+e+dr+"flex-line-pack"+Ft(e,/align-content|flex-|-self/,"")+e;case 5548:return pr+e+dr+Ft(e,"shrink","negative")+e;case 5292:return pr+e+dr+Ft(e,"basis","preferred-size")+e;case 6060:return pr+"box-"+Ft(e,"-grow","")+pr+e+dr+Ft(e,"grow","positive")+e;case 4554:return pr+Ft(e,/([^-])(transform)/g,"$1"+pr+"$2")+e;case 6187:return Ft(Ft(Ft(e,/(zoom-|grab)/,pr+"$1"),/(image-set)/,pr+"$1"),e,"")+e;case 5495:case 3959:return Ft(e,/(image-set\([^]*)/,pr+"$1$`$1");case 4968:return Ft(Ft(e,/(.+:)(flex-)?(.*)/,pr+"box-pack:$3"+dr+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+pr+e+e;case 4095:case 3583:case 4068:case 2532:return Ft(e,/(.+)-inline(.+)/,pr+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Nt(e)-1-t>6)switch(Dt(e,t+1)){case 109:if(45!==Dt(e,t+4))break;case 102:return Ft(e,/(.+:)(.+)-([^]+)/,"$1"+pr+"$2-$3$1"+fr+(108==Dt(e,t+3)?"$3":"$2-$3"))+e;case 115:return~It(e,"stretch")?zr(Ft(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Dt(e,t+1))break;case 6444:switch(Dt(e,Nt(e)-3-(~It(e,"!important")&&10))){case 107:return Ft(e,":",":"+pr)+e;case 101:return Ft(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+pr+(45===Dt(e,14)?"inline-":"")+"box$3$1"+pr+"$2$3$1"+dr+"$2box$3")+e}break;case 5936:switch(Dt(e,t+11)){case 114:return pr+e+dr+Ft(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return pr+e+dr+Ft(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return pr+e+dr+Ft(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return pr+e+dr+e+e}return e}var jr=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case gr:e.return=zr(e.value,e.length);break;case vr:return yr([Qt(e,{value:Ft(e.value,"@","@"+pr)})],n);case mr:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return yr([Qt(e,{props:[Ft(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return yr([Qt(e,{props:[Ft(t,/:(plac\w+)/,":"+pr+"input-$1")]}),Qt(e,{props:[Ft(t,/:(plac\w+)/,":-moz-$1")]}),Qt(e,{props:[Ft(t,/:(plac\w+)/,dr+"input-$1")]})],n)}return""}))}}],Or=function(e){var t=e.key;if("css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var n,o,a=e.stylisPlugins||jr,i={},l=[];n=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)i[t[r]]=!0;l.push(e)}));var s,u,c,d,f=[br,(d=function(e){s.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],p=(u=[Pr,Tr].concat(a,f),c=Bt(u),function(e,t,r,n){for(var o="",a=0;a<c;a++)o+=u[a](e,t,r,n)||"";return o});o=function(e,t,r,n){s=r,function(e){yr(xr(e),p)}(e?e+"{"+t.styles+"}":t.styles),n&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new Ot({key:t,container:n,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:o};return h.sheet.hydrate(l),h},Ar=function(e){var t=new WeakMap;return function(r){if(t.has(r))return t.get(r);var n=e(r);return t.set(r,n),n}},Rr={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Mr=/[A-Z]|^ms/g,Lr=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Fr=function(e){return 45===e.charCodeAt(1)},Ir=function(e){return null!=e&&"boolean"!=typeof e},Dr=Tt((function(e){return Fr(e)?e:e.replace(Mr,"-$&").toLowerCase()})),$r=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Lr,(function(e,t,r){return Br={name:t,styles:r,next:Br},t}))}return 1===Rr[e]||Fr(e)||"number"!=typeof t||0===t?t:t+"px"};function Nr(e,t,r){if(null==r)return"";var n=r;if(void 0!==n.__emotion_styles)return n;switch(typeof r){case"boolean":return"";case"object":var o=r;if(1===o.anim)return Br={name:o.name,styles:o.styles,next:Br},o.name;var a=r;if(void 0!==a.styles){var i=a.next;if(void 0!==i)for(;void 0!==i;)Br={name:i.name,styles:i.styles,next:Br},i=i.next;return a.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=Nr(e,t,r[o])+";";else for(var a in r){var i=r[a];if("object"!=typeof i){var l=i;null!=t&&void 0!==t[l]?n+=a+"{"+t[l]+"}":Ir(l)&&(n+=Dr(a)+":"+$r(a,l)+";")}else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var s=Nr(e,t,i);switch(a){case"animation":case"animationName":n+=Dr(a)+":"+s+";";break;default:n+=a+"{"+s+"}"}}else for(var u=0;u<i.length;u++)Ir(i[u])&&(n+=Dr(a)+":"+$r(a,i[u])+";")}return n}(e,t,r);case"function":if(void 0!==e){var l=Br,s=r(e);return Br=l,Nr(e,t,s)}}var u=r;if(null==t)return u;var c=t[u];return void 0!==c?c:u}var Br,Vr=/label:\s*([^\s;{]+)\s*(;|$)/g;function Ur(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,o="";Br=void 0;var a=e[0];null==a||void 0===a.raw?(n=!1,o+=Nr(r,t,a)):o+=a[0];for(var i=1;i<e.length;i++)o+=Nr(r,t,e[i]),n&&(o+=a[i]);Vr.lastIndex=0;for(var l,s="";null!==(l=Vr.exec(o));)s+="-"+l[1];var u=function(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(o)+s;return{name:u,styles:o,next:Br}}var Wr=!!F.useInsertionEffect&&F.useInsertionEffect,Hr=Wr||function(e){return e()},qr=Wr||F.useLayoutEffect,Xr=F.createContext("undefined"!=typeof HTMLElement?Or({key:"css"}):null),Yr=(Xr.Provider,function(e){return(0,F.forwardRef)((function(t,r){var n=(0,F.useContext)(Xr);return e(t,n,r)}))}),Gr=F.createContext({}),Qr=Ar((function(e){return Ar((function(t){return function(e,t){return"function"==typeof t?t(e):Pt({},e,t)}(e,t)}))})),Zr=function(e){var t=F.useContext(Gr);return e.theme!==t&&(t=Qr(t)(e.theme)),F.createElement(Gr.Provider,{value:t},e.children)},Kr=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},Jr=function(e,t,r){Kr(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+n:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}},en=jt,tn=function(e){return"theme"!==e},rn=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?en:tn},nn=function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},on=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return Kr(t,r,n),Hr((function(){return Jr(t,r,n)})),null},an=function e(t,r){var n,o,a=t.__emotion_real===t,i=a&&t.__emotion_base||t;void 0!==r&&(n=r.label,o=r.target);var l=nn(t,r,a),s=l||rn(i),u=!s("as");return function(){var c=arguments,d=a&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==n&&d.push("label:"+n+";"),null==c[0]||void 0===c[0].raw)d.push.apply(d,c);else{d.push(c[0][0]);for(var f=c.length,p=1;p<f;p++)d.push(c[p],c[0][p])}var h=Yr((function(e,t,r){var n,a,c,f,p=u&&e.as||i,h="",m=[],g=e;if(null==e.theme){for(var v in g={},e)g[v]=e[v];g.theme=F.useContext(Gr)}"string"==typeof e.className?(n=t.registered,a=m,c=e.className,f="",c.split(" ").forEach((function(e){void 0!==n[e]?a.push(n[e]+";"):e&&(f+=e+" ")})),h=f):null!=e.className&&(h=e.className+" ");var y=Ur(d.concat(m),t.registered,g);h+=t.key+"-"+y.name,void 0!==o&&(h+=" "+o);var b=u&&void 0===l?rn(p):s,x={};for(var w in e)u&&"as"===w||b(w)&&(x[w]=e[w]);return x.className=h,r&&(x.ref=r),F.createElement(F.Fragment,null,F.createElement(on,{cache:t,serialized:y,isStringTag:"string"==typeof p}),F.createElement(p,x))}));return h.displayName=void 0!==n?n:"Styled("+("string"==typeof i?i:i.displayName||i.name||"Component")+")",h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=i,h.__emotion_styles=d,h.__emotion_forwardProp=l,Object.defineProperty(h,"toString",{value:function(){return"."+o}}),h.withComponent=function(t,n){return e(t,Pt({},r,n,{shouldForwardProp:nn(h,n,!0)})).apply(void 0,d)},h}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){an[e]=an(e)}));const ln=new Set([...Object.keys(xt),...Ae({}),"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),sn=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function un(e){return(sn.has(e)||!ln.has(e))&&"_"!==e[0]}const cn=(0,F.createContext)({});function dn(){const e=(0,F.useContext)(cn);if(void 0===e)throw new Error("useColorMode must be used within a ColorModeProvider");return e}cn.displayName="ColorModeContext";const fn=(pn=an).default||pn;var pn;function hn(e,t){const{baseStyle:r,...n}=t??{};n.shouldForwardProp||(n.shouldForwardProp=un);const o=(({baseStyle:e})=>t=>{const{theme:r,css:n,__css:o,sx:a,...i}=t,l=(e=>{const t=Oe(e);return e=>{const r={...xt,...t};return Object.hasOwnProperty.call(r,e)}})(r),[s]=function(e,...t){const r=Object.getOwnPropertyDescriptors(e),n=Object.keys(r),o=e=>{const t={};for(let n=0;n<e.length;n++){const o=e[n];r[o]&&(Object.defineProperty(t,o,r[o]),delete r[o])}return t};return t.map((e=>o(Array.isArray(e)?e:n.filter(e)))).concat(o(n))}(i,l),u=function(e,...t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");const r={...e};for(const e of t)if(null!=e)for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(t in r&&delete r[t],r[t]=e[t]);return r}({},o,St(e,t),Ct(s),a),c=Et(u)(t.theme);return n?[c,n]:c})({baseStyle:r}),a=fn(e,n)(o);return(0,F.forwardRef)((function(e,t){const{children:r,...n}=e,{colorMode:o,forced:i}=dn(),l=i?o:void 0;return(0,F.createElement)(a,{ref:t,"data-theme":l,...n},r)}))}const mn=function(){const e=new Map;return new Proxy(hn,{apply:(e,t,r)=>hn(...r),get:(t,r)=>(e.has(r)||e.set(r,hn(r)),e.get(r))})}(),gn=mn("div");gn.displayName="Box";var vn=r(4848);function yn(e,t=[]){const r=Object.assign({},e);for(const e of t)e in r&&delete r[e];return r}function bn(e){return yn(e,["styleConfig","size","variant","colorScheme"])}const xn=(...e)=>e.filter(Boolean).join(" ");function wn(e){const t=null==e?0:e.length;return t?e[t-1]:void 0}function Sn(e){if(null==e)return e;const{unitless:t}=function(e){const t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}}(e);return t||"number"==typeof e?`${e}px`:e}const kn=(e,t)=>parseInt(e[1],10)>parseInt(t[1],10)?1:-1,_n=e=>Object.fromEntries(Object.entries(e).sort(kn));function En(e){const t=_n(e);return Object.assign(Object.values(t),t)}function Cn(e){return e?"number"==typeof(e=Sn(e)??e)?`${e+-.02}`:e.replace(/(\d+\.?\d*)/u,(e=>`${parseFloat(e)+-.02}`)):e}function Pn(e,t){const r=["@media screen"];return e&&r.push("and",`(min-width: ${Sn(e)})`),t&&r.push("and",`(max-width: ${Sn(t)})`),r.join(" ")}function Tn(e){if(!e)return null;e.base=e.base??"0px";const t=En(e),r=Object.entries(e).sort(kn).map((([e,t],r,n)=>{let[,o]=n[r+1]??[];return o=parseFloat(o)>0?Cn(o):void 0,{_minW:Cn(t),breakpoint:e,minW:t,maxW:o,maxWQuery:Pn(null,o),minWQuery:Pn(t),minMaxQuery:Pn(t,o)}})),n=function(e){const t=Object.keys(_n(e));return new Set(t)}(e),o=Array.from(n.values());return{keys:n,normalized:t,isResponsive(e){const t=Object.keys(e);return t.length>0&&t.every((e=>n.has(e)))},asObject:_n(e),asArray:En(e),details:r,get:e=>r.find((t=>t.breakpoint===e)),media:[null,...t.map((e=>Pn(e))).slice(1)],toArrayValue(e){if(!Re(e))throw new Error("toArrayValue: value must be an object");const t=o.map((t=>e[t]??null));for(;null===wn(t);)t.pop();return t},toObjectValue(e){if(!Array.isArray(e))throw new Error("toObjectValue: value must be an array");return e.reduce(((e,t,r)=>{const n=o[r];return null!=n&&null!=t&&(e[n]=t),e}),{})}}}function zn(e){return Re(e)&&e.reference?e.reference:String(e)}const jn=(e,...t)=>t.map(zn).join(` ${e} `).replace(/calc/g,""),On=(...e)=>`calc(${jn("+",...e)})`,An=(...e)=>`calc(${jn("-",...e)})`,Rn=(...e)=>`calc(${jn("*",...e)})`,Mn=(...e)=>`calc(${jn("/",...e)})`,Ln=e=>{const t=zn(e);return null==t||Number.isNaN(parseFloat(t))?Rn(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},Fn=Object.assign((e=>({add:(...t)=>Fn(On(e,...t)),subtract:(...t)=>Fn(An(e,...t)),multiply:(...t)=>Fn(Rn(e,...t)),divide:(...t)=>Fn(Mn(e,...t)),negate:()=>Fn(Ln(e)),toString:()=>e.toString()})),{add:On,subtract:An,multiply:Rn,divide:Mn,negate:Ln});function In(e,t){return`var(${e}${t?`, ${t}`:""})`}function Dn(e,t=""){return function(e){return function(e){return e.replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}(function(e){return e.includes("\\.")||Number.isInteger(parseFloat(e.toString()))?e:e.replace(".","\\.")}(function(e,t="-"){return e.replace(/\s+/g,t)}(e.toString())))}(`--${function(e,t=""){return[t,e].filter(Boolean).join("-")}(e,t)}`)}function $n(e,t,r){const n=Dn(e,r);return{variable:n,reference:In(n,t)}}function Nn(e,t,r={}){const{stop:n,getKey:o}=r;return function e(r,a=[]){if(Re(r)||Array.isArray(r)){const i={};for(const[l,s]of Object.entries(r)){const u=o?.(l)??l,c=[...a,u];if(n?.(r,c))return t(r,a);i[u]=e(s,c)}return i}return t(r,a)}(e)}const Bn=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","gradients","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur","breakpoints"];function Vn(e){return function(e,t){const r={};for(const n of t)n in e&&(r[n]=e[n]);return r}(e,Bn)}function Un(e,t){return $n(String(e).replace(/\./g,"-"),void 0,t)}function Wn(e={}){const{name:t,strict:r=!0,hookName:n="useContext",providerName:o="Provider",errorMessage:a,defaultValue:i}=e,l=(0,F.createContext)(i);return l.displayName=t,[l.Provider,function e(){const t=(0,F.useContext)(l);if(!t&&r){const t=new Error(a??`${n} returned \`undefined\`. Seems you forgot to wrap component within ${o}`);throw t.name="ContextError",Error.captureStackTrace?.(t,e),t}return t},l]}const Hn=(e=>{const t=new WeakMap;return(r,n,o,a)=>{if(void 0===r)return e(r,n,o);t.has(r)||t.set(r,new Map);const i=t.get(r);if(i.has(n))return i.get(n);const l=e(r,n,o,a);return i.set(n,l),l}})((function(e,t,r,n){const o="string"==typeof t?t.split("."):[t];for(n=0;n<o.length&&e;n+=1)e=e[o[n]];return void 0===e?r:e}));r(4146);var qn=Yr((function(e,t){var r=Ur([e.styles],void 0,F.useContext(Gr)),n=F.useRef();return qr((function(){var e=t.key+"-global",o=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,i=document.querySelector('style[data-emotion="'+e+" "+r.name+'"]');return t.sheet.tags.length&&(o.before=t.sheet.tags[0]),null!==i&&(a=!0,i.setAttribute("data-emotion",e),o.hydrate([i])),n.current=[o,a],function(){o.flush()}}),[t]),qr((function(){var e=n.current,o=e[0];if(e[1])e[1]=!1;else{if(void 0!==r.next&&Jr(t,r.next,!0),o.tags.length){var a=o.tags[o.tags.length-1].nextElementSibling;o.before=a,o.flush()}t.insert("",r,o,!1)}}),[t,r.name]),null}));function Xn(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ur(t)}function Yn(e){const{cssVarsRoot:t,theme:r,children:n}=e,o=(0,F.useMemo)((()=>function(e){const t=function(e){const{__cssMap:t,__cssVars:r,__breakpoints:n,...o}=e;return o}(e),{cssMap:r,cssVars:n}=function(e){const t=function(e){const t=Vn(e),r=function(e){return e.semanticTokens}(e),n=Ae(e),o=e=>n.includes(e)||"default"===e,a={};return Nn(t,((e,t)=>{null!=e&&(a[t.join(".")]={isSemantic:!1,value:e})})),Nn(r,((e,t)=>{null!=e&&(a[t.join(".")]={isSemantic:!0,value:e})}),{stop:e=>Object.keys(e).every(o)}),a}(e),r=e.config?.cssVarPrefix,n=Oe(e);let o={};const a={};function i(e,n){const o=[String(e).split(".")[0],n].join(".");if(!t[o])return n;const{reference:a}=Un(o,r);return a}for(const[e,l]of Object.entries(t)){const{isSemantic:t,value:s}=l,{variable:u,reference:c}=Un(e,r);if(!t){if(e.startsWith("space")){const t=e.split("."),[r,...n]=t,o=`${r}.-${n.join(".")}`,i=Fn.negate(s),l=Fn.negate(c);a[o]={value:i,var:u,varRef:l}}o[u]=s,a[e]={value:s,var:u,varRef:c};continue}const d=Re(s)?s:{default:s};o=ye(o,Object.entries(d).reduce(((t,[r,o])=>{if(!o)return t;const a=i(e,`${o}`);return"default"===r?(t[u]=a,t):(t[n?.[r]??r]={[u]:a},t)}),{})),a[e]={value:c,var:u,varRef:c}}return{cssVars:o,cssMap:a}}(t);return Object.assign(t,{__cssVars:{"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0",...n},__cssMap:r,__breakpoints:Tn(t.breakpoints)}),t}(r)),[r]);return(0,vn.jsxs)(Zr,{theme:o,children:[(0,vn.jsx)(Gn,{root:t}),n]})}function Gn({root:e=":host, :root"}){const t=[e,"[data-theme]"].join(",");return(0,vn.jsx)(qn,{styles:e=>({[t]:e.__cssVars})})}const[Qn,Zn]=Wn({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "});function Kn(){const{colorMode:e}=dn();return(0,vn.jsx)(qn,{styles:t=>{const r=St(Hn(t,"styles.global"),{theme:t,colorMode:e});if(r)return Et(r)(t)}})}const[Jn,eo]=Wn({name:"Card"+"StylesContext",errorMessage:'useStyles: "styles" is undefined. Seems you forgot to wrap the components in "<Card />" '});function to(e){return(0,F.forwardRef)(e)}function ro(e,t){for(let r=t+1;r<e.length;r++)if(null!=e[r])return r;return-1}var no=r(115);function oo(e,t={}){const{styleConfig:r,...n}=t,{theme:o,colorMode:a}={...dn(),theme:function(){const e=(0,F.useContext)(Gr);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}()},i=e?Hn(o,`components.${e}`):void 0,l=r||i,s=ye({theme:o,colorMode:a},l?.defaultProps??{},Ct(yn(n,["children"]))),u=(0,F.useRef)({});if(l){const e=function(e){return t=>{const{variant:r,size:n,theme:o}=t,a=function(e){const t=e.__breakpoints;return function(e,r,n,o){if(!t)return;const a={},i=function(e,t){return Array.isArray(e)?e:Re(e)?t(e):null!=e?[e]:void 0}(n,t.toArrayValue);if(!i)return a;const l=i.length,s=1===l,u=!!e.parts;for(let n=0;n<l;n++){const l=t.details[n],c=t.details[ro(i,n)],d=Pn(l.minW,c?._minW),f=St(e[r]?.[i[n]],o);f&&(u?e.parts?.forEach((e=>{ye(a,{[e]:s?f[e]:{[d]:f[e]}})})):u?a[d]=f:s?ye(a,f):a[d]=f)}return a}}(o);return ye({},St(e.baseStyle??{},t),a(e,"sizes",n,t),a(e,"variants",r,t))}}(l),t=e(s);no(u.current,t)||(u.current=t)}return u.current}function ao(e,t={}){return oo(e,t)}function io(e,t={}){return oo(e,t)}const lo=to((function(e,t){const{className:r,children:n,direction:o="column",justify:a,align:i,...l}=bn(e),s=io("Card",e);return(0,vn.jsx)(mn.div,{ref:t,className:xn("chakra-card",r),__css:{display:"flex",flexDirection:o,justifyContent:a,alignItems:i,position:"relative",minWidth:0,wordWrap:"break-word",...s.container},...l,children:(0,vn.jsx)(Jn,{value:s,children:n})})})),so=to((function(e,t){const{className:r,...n}=e,o=eo();return(0,vn.jsx)(mn.div,{ref:t,className:xn("chakra-card__body",r),__css:o.body,...n})})),uo=mn("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center"}});uo.displayName="Center";const co={horizontal:{insetStart:"50%",transform:"translateX(-50%)"},vertical:{top:"50%",transform:"translateY(-50%)"},both:{insetStart:"50%",top:"50%",transform:"translate(-50%, -50%)"}},fo=(to((function(e,t){const{axis:r="both",...n}=e;return(0,vn.jsx)(mn.div,{ref:t,__css:co[r],...n,position:"absolute"})})),to((function(e,t){const{htmlWidth:r,htmlHeight:n,alt:o,...a}=e;return(0,vn.jsx)("img",{width:r,height:n,ref:t,alt:o,...a})})));fo.displayName="NativeImage";const po=Boolean(globalThis?.document)?F.useLayoutEffect:F.useEffect,ho=to((function(e,t){const{fallbackSrc:r,fallback:n,src:o,srcSet:a,align:i,fit:l,loading:s,ignoreFallback:u,crossOrigin:c,fallbackStrategy:d="beforeLoadOrError",referrerPolicy:f,...p}=e,h=null!=s||u||!(void 0!==r||void 0!==n),m=function(e){const{loading:t,src:r,srcSet:n,onLoad:o,onError:a,crossOrigin:i,sizes:l,ignoreFallback:s}=e,[u,c]=(0,F.useState)("pending");(0,F.useEffect)((()=>{c(r?"loading":"pending")}),[r]);const d=(0,F.useRef)(),f=(0,F.useCallback)((()=>{if(!r)return;p();const e=new Image;e.src=r,i&&(e.crossOrigin=i),n&&(e.srcset=n),l&&(e.sizes=l),t&&(e.loading=t),e.onload=e=>{p(),c("loaded"),o?.(e)},e.onerror=e=>{p(),c("failed"),a?.(e)},d.current=e}),[r,i,n,l,o,a,t]),p=()=>{d.current&&(d.current.onload=null,d.current.onerror=null,d.current=null)};return po((()=>{if(!s)return"loading"===u&&f(),()=>{p()}}),[u,f,s]),s?"loaded":u}({...e,crossOrigin:c,ignoreFallback:h}),g=((e,t)=>"loaded"!==e&&"beforeLoadOrError"===t||"failed"===e&&"onError"===t)(m,d),v={ref:t,objectFit:l,objectPosition:i,...h?p:yn(p,["onError","onLoad"])};return g?n||(0,vn.jsx)(mn.img,{as:fo,className:"chakra-image__placeholder",src:r,...v}):(0,vn.jsx)(mn.img,{as:fo,src:o,srcSet:a,crossOrigin:c,loading:s,referrerPolicy:f,className:"chakra-image",...v})}));ho.displayName="Image";const mo=to((function(e,t){const r=ao("Heading",e),{className:n,...o}=bn(e);return(0,vn.jsx)(mn.h2,{ref:t,className:xn("chakra-heading",e.className),...o,__css:r})}));mo.displayName="Heading";const go=e=>(0,vn.jsx)(mn.div,{className:"chakra-stack__item",...e,__css:{display:"inline-block",flex:"0 0 auto",minWidth:0,...e.__css}});go.displayName="StackItem",Object.freeze(["base","sm","md","lg","xl","2xl"]);const vo=to(((e,t)=>{const{isInline:r,direction:n,align:o,justify:a,spacing:i="0.5rem",wrap:l,children:s,divider:u,className:c,shouldWrapChildren:d,...f}=e,p=r?"row":n??"column",h=(0,F.useMemo)((()=>function(e){const{spacing:t,direction:r}=e,n={column:{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":(o=r,a=e=>n[e],Array.isArray(o)?o.map((e=>null===e?null:a(e))):Re(o)?Object.keys(o).reduce(((e,t)=>(e[t]=a(o[t]),e)),{}):null!=o?a(o):null)};var o,a}({spacing:i,direction:p})),[i,p]),m=!!u,g=!d&&!m,v=(0,F.useMemo)((()=>{const e=function(e){return F.Children.toArray(e).filter((e=>(0,F.isValidElement)(e)))}(s);return g?e:e.map(((t,r)=>{const n=void 0!==t.key?t.key:r,o=r+1===e.length,a=d?(0,vn.jsx)(go,{children:t},n):t;if(!m)return a;const i=(0,F.cloneElement)(u,{__css:h}),l=o?null:i;return(0,vn.jsxs)(F.Fragment,{children:[a,l]},n)}))}),[u,h,m,g,d,s]),y=xn("chakra-stack",c);return(0,vn.jsx)(mn.div,{ref:t,display:"flex",alignItems:o,justifyContent:a,flexDirection:p,flexWrap:l,gap:m?void 0:i,className:y,...f,children:v})}));vo.displayName="Stack";const yo=to((function(e,t){const r=ao("Text",e),{className:n,align:o,decoration:a,casing:i,...l}=bn(e),s=Ct({textAlign:e.align,textDecoration:e.decoration,textTransform:e.casing});return(0,vn.jsx)(mn.p,{ref:t,className:xn("chakra-text",e.className),...s,...l,__css:r})}));yo.displayName="Text";const bo=wp.components,xo=wp.blockEditor;function wo(e,t={}){let r=!1;function n(t){const r=`chakra-${(["container","root"].includes(t??"")?[e]:[e,t]).filter(Boolean).join("__")}`;return{className:r,selector:`.${r}`,toString:()=>t}}return{parts:function(...o){!function(){if(r)throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?");r=!0}();for(const e of o)t[e]=n(e);return wo(e,t)},toPart:n,extend:function(...r){for(const e of r)e in t||(t[e]=n(e));return wo(e,t)},selectors:function(){return Object.fromEntries(Object.entries(t).map((([e,t])=>[e,t.selector])))},classnames:function(){return Object.fromEntries(Object.entries(t).map((([e,t])=>[e,t.className])))},get keys(){return Object.keys(t)},__type:{}}}const So=wo("accordion").parts("root","container","button","panel","icon"),ko=wo("alert").parts("title","description","container","icon","spinner"),_o=wo("avatar").parts("label","badge","container","excessLabel","group"),Eo=wo("breadcrumb").parts("link","item","container","separator"),Co=(wo("button").parts(),wo("checkbox").parts("control","icon","container","label")),Po=(wo("progress").parts("track","filledTrack","label"),wo("drawer").parts("overlay","dialogContainer","dialog","header","closeButton","body","footer")),To=wo("editable").parts("preview","input","textarea"),zo=wo("form").parts("container","requiredIndicator","helperText"),jo=wo("formError").parts("text","icon"),Oo=wo("input").parts("addon","field","element","group"),Ao=wo("list").parts("container","item","icon"),Ro=wo("menu").parts("button","list","item","groupTitle","icon","command","divider"),Mo=wo("modal").parts("overlay","dialogContainer","dialog","header","closeButton","body","footer"),Lo=wo("numberinput").parts("root","field","stepperGroup","stepper"),Fo=(wo("pininput").parts("field"),wo("popover").parts("content","header","body","footer","popper","arrow","closeButton")),Io=wo("progress").parts("label","filledTrack","track"),Do=wo("radio").parts("container","control","label"),$o=wo("select").parts("field","icon"),No=wo("slider").parts("container","track","thumb","filledTrack","mark"),Bo=wo("stat").parts("container","label","helpText","number","icon"),Vo=wo("switch").parts("container","track","thumb","label"),Uo=wo("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),Wo=wo("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),Ho=wo("tag").parts("container","label","closeButton"),qo=wo("card").parts("container","header","body","footer");function Xo(e){return{definePartsStyle:e=>e,defineMultiStyleConfig:t=>({parts:e,...t})}}wo("stepper").parts("stepper","step","title","description","indicator","separator","icon","number");const{definePartsStyle:Yo,defineMultiStyleConfig:Go}=Xo(So.keys),Qo=Go({baseStyle:Yo({container:{borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},button:{transitionProperty:"common",transitionDuration:"normal",fontSize:"md",_focusVisible:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:"4",py:"2"},panel:{pt:"2",px:"4",pb:"5"},icon:{fontSize:"1.25em"}})});function Zo(e,t,r){return Math.min(Math.max(e,r),t)}class Ko extends Error{constructor(e){super(`Failed to parse color: "${e}"`)}}var Jo=Ko;function ea(e){if("string"!=typeof e)throw new Jo(e);if("transparent"===e.trim().toLowerCase())return[0,0,0,0];let t=e.trim();t=sa.test(e)?function(e){const t=e.toLowerCase().trim(),r=ra[function(e){let t=5381,r=e.length;for(;r;)t=33*t^e.charCodeAt(--r);return(t>>>0)%2341}(t)];if(!r)throw new Jo(e);return`#${r}`}(e):e;const r=oa.exec(t);if(r){const e=Array.from(r).slice(1);return[...e.slice(0,3).map((e=>parseInt(na(e,2),16))),parseInt(na(e[3]||"f",2),16)/255]}const n=aa.exec(t);if(n){const e=Array.from(n).slice(1);return[...e.slice(0,3).map((e=>parseInt(e,16))),parseInt(e[3]||"ff",16)/255]}const o=ia.exec(t);if(o){const e=Array.from(o).slice(1);return[...e.slice(0,3).map((e=>parseInt(e,10))),parseFloat(e[3]||"1")]}const a=la.exec(t);if(a){const[t,r,n,o]=Array.from(a).slice(1).map(parseFloat);if(Zo(0,100,r)!==r)throw new Jo(e);if(Zo(0,100,n)!==n)throw new Jo(e);return[...ca(t,r,n),Number.isNaN(o)?1:o]}throw new Jo(e)}const ta=e=>parseInt(e.replace(/_/g,""),36),ra="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce(((e,t)=>{const r=ta(t.substring(0,3)),n=ta(t.substring(3)).toString(16);let o="";for(let e=0;e<6-n.length;e++)o+="0";return e[r]=`${o}${n}`,e}),{}),na=(e,t)=>Array.from(Array(t)).map((()=>e)).join(""),oa=new RegExp(`^#${na("([a-f0-9])",3)}([a-f0-9])?$`,"i"),aa=new RegExp(`^#${na("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),ia=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${na(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),la=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,sa=/^[a-z]+$/i,ua=e=>Math.round(255*e),ca=(e,t,r)=>{let n=r/100;if(0===t)return[n,n,n].map(ua);const o=(e%360+360)%360/60,a=(1-Math.abs(2*n-1))*(t/100),i=a*(1-Math.abs(o%2-1));let l=0,s=0,u=0;o>=0&&o<1?(l=a,s=i):o>=1&&o<2?(l=i,s=a):o>=2&&o<3?(s=a,u=i):o>=3&&o<4?(s=i,u=a):o>=4&&o<5?(l=i,u=a):o>=5&&o<6&&(l=a,u=i);const c=n-a/2;return[l+c,s+c,u+c].map(ua)};function da(e,t){const[r,n,o,a]=ea(e);return function(e,t,r,n){return`rgba(${Zo(0,255,e).toFixed()}, ${Zo(0,255,t).toFixed()}, ${Zo(0,255,r).toFixed()}, ${parseFloat(Zo(0,1,n).toFixed(3))})`}(r,n,o,a-t)}const fa=(e,t,r)=>{const n=function(e,t,r,n,o){for(t=t.split?t.split("."):t,n=0;n<t.length;n++)e=e?e[t[n]]:o;return e===o?r:e}(e,`colors.${t}`,t);try{return function(e){const[t,r,n,o]=ea(e);let a=e=>{const t=Zo(0,255,e).toString(16);return 1===t.length?`0${t}`:t};a(t),a(r),a(n),o<1&&a(Math.round(255*o))}(n),n}catch{return r??"#000000"}},pa=(e,t)=>r=>da(fa(r,e),1-t);function ha(e="1rem",t="rgba(255, 255, 255, 0.15)"){return{backgroundImage:`linear-gradient(\n    45deg,\n    ${t} 25%,\n    transparent 25%,\n    transparent 50%,\n    ${t} 50%,\n    ${t} 75%,\n    transparent 75%,\n    transparent\n  )`,backgroundSize:`${e} ${e}`}}const{definePartsStyle:ma,defineMultiStyleConfig:ga}=Xo(ko.keys),va=$n("alert-fg"),ya=$n("alert-bg"),ba=ma({container:{bg:ya.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:va.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:va.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}});function xa(e){const{theme:t,colorScheme:r}=e;return{light:`colors.${r}.100`,dark:pa(`${r}.200`,.16)(t)}}const wa=ma((e=>{const{colorScheme:t}=e,r=xa(e);return{container:{[va.variable]:`colors.${t}.600`,[ya.variable]:r.light,_dark:{[va.variable]:`colors.${t}.200`,[ya.variable]:r.dark}}}})),Sa=ma((e=>{const{colorScheme:t}=e,r=xa(e);return{container:{[va.variable]:`colors.${t}.600`,[ya.variable]:r.light,_dark:{[va.variable]:`colors.${t}.200`,[ya.variable]:r.dark},paddingStart:"3",borderStartWidth:"4px",borderStartColor:va.reference}}})),ka=ma((e=>{const{colorScheme:t}=e,r=xa(e);return{container:{[va.variable]:`colors.${t}.600`,[ya.variable]:r.light,_dark:{[va.variable]:`colors.${t}.200`,[ya.variable]:r.dark},pt:"2",borderTopWidth:"4px",borderTopColor:va.reference}}})),_a=ma((e=>{const{colorScheme:t}=e;return{container:{[va.variable]:"colors.white",[ya.variable]:`colors.${t}.600`,_dark:{[va.variable]:"colors.gray.900",[ya.variable]:`colors.${t}.200`},color:va.reference}}})),Ea=ga({baseStyle:ba,variants:{subtle:wa,"left-accent":Sa,"top-accent":ka,solid:_a},defaultProps:{variant:"subtle",colorScheme:"blue"}}),Ca={px:"1px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},Pa={...Ca,max:"max-content",min:"min-content",full:"100%","3xs":"14rem","2xs":"16rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem",prose:"60ch",container:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px"}};function Ta(e,...t){return"function"==typeof e?e(...t):e}const{definePartsStyle:za,defineMultiStyleConfig:ja}=Xo(_o.keys),Oa=$n("avatar-border-color"),Aa=$n("avatar-bg"),Ra=$n("avatar-font-size"),Ma=$n("avatar-size"),La={borderRadius:"full",border:"0.2em solid",borderColor:Oa.reference,[Oa.variable]:"white",_dark:{[Oa.variable]:"colors.gray.800"}},Fa={bg:Aa.reference,fontSize:Ra.reference,width:Ma.reference,height:Ma.reference,lineHeight:"1",[Aa.variable]:"colors.gray.200",_dark:{[Aa.variable]:"colors.whiteAlpha.400"}},Ia=e=>{const{name:t,theme:r}=e,n=t?function(e){const t=`#${Math.floor(16777215*Math.random()).toString(16).padEnd(6,"0")}`;return e&&(r=e,0!==Object.keys(r).length)?e.string&&e.colors?function(e,t){let r=0;if(0===e.length)return t[0];for(let t=0;t<e.length;t+=1)r=e.charCodeAt(t)+((r<<5)-r),r|=0;return r=(r%t.length+t.length)%t.length,t[r]}(e.string,e.colors):e.string&&!e.colors?function(e){let t=0;if(0===e.length)return t.toString();for(let r=0;r<e.length;r+=1)t=e.charCodeAt(r)+((t<<5)-t),t|=0;let r="#";for(let e=0;e<3;e+=1)r+=`00${(t>>8*e&255).toString(16)}`.substr(-2);return r}(e.string):e.colors&&!e.string?function(e){return e[Math.floor(Math.random()*e.length)]}(e.colors):t:t;var r}({string:t}):"colors.gray.400",o=(e=>t=>"dark"===(e=>t=>{const r=(e=>{const[t,r,n]=ea(e);return(299*t+587*r+114*n)/1e3})(fa(t,e));return r<128?"dark":"light"})(e)(t))(n)(r);let a="white";return o||(a="gray.800"),{bg:Aa.reference,fontSize:Ra.reference,color:a,borderColor:Oa.reference,verticalAlign:"top",width:Ma.reference,height:Ma.reference,"&:not([data-loaded])":{[Aa.variable]:n},[Oa.variable]:"colors.white",_dark:{[Oa.variable]:"colors.gray.800"}}},Da={fontSize:Ra.reference,lineHeight:"1"};function $a(e){const t="100%"!==e?Pa[e]:void 0;return za({container:{[Ma.variable]:t??e,[Ra.variable]:`calc(${t??e} / 2.5)`},excessLabel:{[Ma.variable]:t??e,[Ra.variable]:`calc(${t??e} / 2.5)`}})}const Na=ja({baseStyle:za((e=>({badge:Ta(La,e),excessLabel:Ta(Fa,e),container:Ta(Ia,e),label:Da}))),sizes:{"2xs":$a(4),xs:$a(6),sm:$a(8),md:$a(12),lg:$a(16),xl:$a(24),"2xl":$a(32),full:$a("100%")},defaultProps:{size:"md"}}),Ba=function(e){const t={};for(const r of["bg","color","shadow"])if(Array.isArray(r)){const[n,o]=r;t[n]=$n(`${e}-${n}`,o)}else t[r]=$n(`${e}-${r}`);return t}("badge"),Va={baseStyle:{px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold",bg:Ba.bg.reference,color:Ba.color.reference,boxShadow:Ba.shadow.reference},variants:{solid:e=>{const{colorScheme:t,theme:r}=e,n=pa(`${t}.500`,.6)(r);return{[Ba.bg.variable]:`colors.${t}.500`,[Ba.color.variable]:"colors.white",_dark:{[Ba.bg.variable]:n,[Ba.color.variable]:"colors.whiteAlpha.800"}}},subtle:e=>{const{colorScheme:t,theme:r}=e,n=pa(`${t}.200`,.16)(r);return{[Ba.bg.variable]:`colors.${t}.100`,[Ba.color.variable]:`colors.${t}.800`,_dark:{[Ba.bg.variable]:n,[Ba.color.variable]:`colors.${t}.200`}}},outline:e=>{const{colorScheme:t,theme:r}=e,n=pa(`${t}.200`,.8)(r);return{[Ba.color.variable]:`colors.${t}.500`,_dark:{[Ba.color.variable]:n},[Ba.shadow.variable]:`inset 0 0 0px 1px ${Ba.color.reference}`}}},defaultProps:{variant:"subtle",colorScheme:"gray"}},{defineMultiStyleConfig:Ua,definePartsStyle:Wa}=Xo(Eo.keys),Ha=$n("breadcrumb-link-decor"),qa=Ua({baseStyle:Wa({link:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",outline:"none",color:"inherit",textDecoration:Ha.reference,[Ha.variable]:"none","&:not([aria-current=page])":{cursor:"pointer",_hover:{[Ha.variable]:"underline"},_focusVisible:{boxShadow:"outline"}}}})});function Xa(e,t){return r=>"dark"===r.colorMode?t:e}function Ya(e){const{orientation:t,vertical:r,horizontal:n}=e;return t?"vertical"===t?r:n:{}}const Ga=e=>{const{colorScheme:t,theme:r}=e;if("gray"===t)return{color:Xa("gray.800","whiteAlpha.900")(e),_hover:{bg:Xa("gray.100","whiteAlpha.200")(e)},_active:{bg:Xa("gray.200","whiteAlpha.300")(e)}};const n=pa(`${t}.200`,.12)(r),o=pa(`${t}.200`,.24)(r);return{color:Xa(`${t}.600`,`${t}.200`)(e),bg:"transparent",_hover:{bg:Xa(`${t}.50`,n)(e)},_active:{bg:Xa(`${t}.100`,o)(e)}}},Qa={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},Za={baseStyle:{lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}},variants:{ghost:Ga,outline:e=>{const{colorScheme:t}=e,r=Xa("gray.200","whiteAlpha.300")(e);return{border:"1px solid",borderColor:"gray"===t?r:"currentColor",".chakra-button__group[data-attached][data-orientation=horizontal] > &:not(:last-of-type)":{marginEnd:"-1px"},".chakra-button__group[data-attached][data-orientation=vertical] > &:not(:last-of-type)":{marginBottom:"-1px"},...Ta(Ga,e)}},solid:e=>{const{colorScheme:t}=e;if("gray"===t){const t=Xa("gray.100","whiteAlpha.200")(e);return{bg:t,color:Xa("gray.800","whiteAlpha.900")(e),_hover:{bg:Xa("gray.200","whiteAlpha.300")(e),_disabled:{bg:t}},_active:{bg:Xa("gray.300","whiteAlpha.400")(e)}}}const{bg:r=`${t}.500`,color:n="white",hoverBg:o=`${t}.600`,activeBg:a=`${t}.700`}=Qa[t]??{},i=Xa(r,`${t}.200`)(e);return{bg:i,color:Xa(n,"gray.800")(e),_hover:{bg:Xa(o,`${t}.300`)(e),_disabled:{bg:i}},_active:{bg:Xa(a,`${t}.400`)(e)}}},link:e=>{const{colorScheme:t}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:Xa(`${t}.500`,`${t}.200`)(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:Xa(`${t}.700`,`${t}.500`)(e)}}},unstyled:{bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:"0",p:"0"}},sizes:{lg:{h:"12",minW:"12",fontSize:"lg",px:"6"},md:{h:"10",minW:"10",fontSize:"md",px:"4"},sm:{h:"8",minW:"8",fontSize:"sm",px:"3"},xs:{h:"6",minW:"6",fontSize:"xs",px:"2"}},defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}},{definePartsStyle:Ka,defineMultiStyleConfig:Ja}=Xo(qo.keys),ei=$n("card-bg"),ti=$n("card-padding"),ri=$n("card-shadow"),ni=$n("card-radius"),oi=$n("card-border-width","0"),ai=$n("card-border-color"),ii=Ka({container:{[ei.variable]:"colors.chakra-body-bg",backgroundColor:ei.reference,boxShadow:ri.reference,borderRadius:ni.reference,color:"chakra-body-text",borderWidth:oi.reference,borderColor:ai.reference},body:{padding:ti.reference,flex:"1 1 0%"},header:{padding:ti.reference},footer:{padding:ti.reference}}),li={sm:Ka({container:{[ni.variable]:"radii.base",[ti.variable]:"space.3"}}),md:Ka({container:{[ni.variable]:"radii.md",[ti.variable]:"space.5"}}),lg:Ka({container:{[ni.variable]:"radii.xl",[ti.variable]:"space.7"}})},si=Ja({baseStyle:ii,variants:{elevated:Ka({container:{[ri.variable]:"shadows.base",_dark:{[ei.variable]:"colors.gray.700"}}}),outline:Ka({container:{[oi.variable]:"1px",[ai.variable]:"colors.chakra-border-color"}}),filled:Ka({container:{[ei.variable]:"colors.chakra-subtle-bg"}}),unstyled:{body:{[ti.variable]:0},header:{[ti.variable]:0},footer:{[ti.variable]:0}}},sizes:li,defaultProps:{variant:"elevated",size:"md"}}),{definePartsStyle:ui,defineMultiStyleConfig:ci}=Xo(Co.keys),di=$n("checkbox-size"),fi=e=>{const{colorScheme:t}=e;return{w:di.reference,h:di.reference,transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:Xa(`${t}.500`,`${t}.200`)(e),borderColor:Xa(`${t}.500`,`${t}.200`)(e),color:Xa("white","gray.900")(e),_hover:{bg:Xa(`${t}.600`,`${t}.300`)(e),borderColor:Xa(`${t}.600`,`${t}.300`)(e)},_disabled:{borderColor:Xa("gray.200","transparent")(e),bg:Xa("gray.200","whiteAlpha.300")(e),color:Xa("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:Xa(`${t}.500`,`${t}.200`)(e),borderColor:Xa(`${t}.500`,`${t}.200`)(e),color:Xa("white","gray.900")(e)},_disabled:{bg:Xa("gray.100","whiteAlpha.100")(e),borderColor:Xa("gray.100","transparent")(e)},_focusVisible:{boxShadow:"outline"},_invalid:{borderColor:Xa("red.500","red.300")(e)}}},pi={_disabled:{cursor:"not-allowed"}},hi={userSelect:"none",_disabled:{opacity:.4}},mi={transitionProperty:"transform",transitionDuration:"normal"},gi=ci({baseStyle:ui((e=>({icon:mi,container:pi,control:Ta(fi,e),label:hi}))),sizes:{sm:ui({control:{[di.variable]:"sizes.3"},label:{fontSize:"sm"},icon:{fontSize:"3xs"}}),md:ui({control:{[di.variable]:"sizes.4"},label:{fontSize:"md"},icon:{fontSize:"2xs"}}),lg:ui({control:{[di.variable]:"sizes.5"},label:{fontSize:"lg"},icon:{fontSize:"2xs"}})},defaultProps:{size:"md",colorScheme:"blue"}});function vi(e){const t=function(e,t="-"){return e.replace(/\s+/g,t)}(e.toString());return t.includes("\\.")?e:function(e){return!Number.isInteger(parseFloat(e.toString()))}(e)?t.replace(".","\\."):e}function yi(e,t){return`var(${vi(e)}${t?`, ${t}`:""})`}function bi(e,t){const r=function(e,t=""){return`--${function(e,t=""){return[t,vi(e)].filter(Boolean).join("-")}(e,t)}`}(e,t?.prefix);return{variable:r,reference:yi(r,(n=t?.fallback,"string"==typeof n?n:n?.reference))};var n}const xi=bi("close-button-size"),wi=bi("close-button-bg"),Si={baseStyle:{w:[xi.reference],h:[xi.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{[wi.variable]:"colors.blackAlpha.100",_dark:{[wi.variable]:"colors.whiteAlpha.100"}},_active:{[wi.variable]:"colors.blackAlpha.200",_dark:{[wi.variable]:"colors.whiteAlpha.200"}},_focusVisible:{boxShadow:"outline"},bg:wi.reference},sizes:{lg:{[xi.variable]:"sizes.10",fontSize:"md"},md:{[xi.variable]:"sizes.8",fontSize:"xs"},sm:{[xi.variable]:"sizes.6",fontSize:"2xs"}},defaultProps:{size:"md"}},{variants:ki,defaultProps:_i}=Va,Ei={baseStyle:{fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm",bg:Ba.bg.reference,color:Ba.color.reference,boxShadow:Ba.shadow.reference},variants:ki,defaultProps:_i},{definePartsStyle:Ci,defineMultiStyleConfig:Pi}=Xo(Po.keys),Ti=$n("drawer-bg"),zi=$n("drawer-box-shadow");function ji(e){return Ci("full"===e?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}})}const Oi={bg:"blackAlpha.600",zIndex:"modal"},Ai={display:"flex",zIndex:"modal",justifyContent:"center"},Ri=e=>{const{isFullHeight:t}=e;return{...t&&{height:"100vh"},zIndex:"modal",maxH:"100vh",color:"inherit",[Ti.variable]:"colors.white",[zi.variable]:"shadows.lg",_dark:{[Ti.variable]:"colors.gray.700",[zi.variable]:"shadows.dark-lg"},bg:Ti.reference,boxShadow:zi.reference}},Mi={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},Li={position:"absolute",top:"2",insetEnd:"3"},Fi={px:"6",py:"2",flex:"1",overflow:"auto"},Ii={px:"6",py:"4"},Di=Pi({baseStyle:Ci((e=>({overlay:Oi,dialogContainer:Ai,dialog:Ta(Ri,e),header:Mi,closeButton:Li,body:Fi,footer:Ii}))),sizes:{xs:ji("xs"),sm:ji("md"),md:ji("lg"),lg:ji("2xl"),xl:ji("4xl"),full:ji("full")},defaultProps:{size:"xs"}}),{definePartsStyle:$i,defineMultiStyleConfig:Ni}=Xo(To.keys),Bi=Ni({baseStyle:$i({preview:{borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal"},input:{borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}},textarea:{borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}}})}),{definePartsStyle:Vi,defineMultiStyleConfig:Ui}=Xo(zo.keys),Wi=$n("form-control-color"),Hi=Ui({baseStyle:Vi({container:{width:"100%",position:"relative"},requiredIndicator:{marginStart:"1",[Wi.variable]:"colors.red.500",_dark:{[Wi.variable]:"colors.red.300"},color:Wi.reference},helperText:{mt:"2",[Wi.variable]:"colors.gray.600",_dark:{[Wi.variable]:"colors.whiteAlpha.600"},color:Wi.reference,lineHeight:"normal",fontSize:"sm"}})}),{definePartsStyle:qi,defineMultiStyleConfig:Xi}=Xo(jo.keys),Yi=$n("form-error-color"),Gi=Xi({baseStyle:qi({text:{[Yi.variable]:"colors.red.500",_dark:{[Yi.variable]:"colors.red.300"},color:Yi.reference,mt:"2",fontSize:"sm",lineHeight:"normal"},icon:{marginEnd:"0.5em",[Yi.variable]:"colors.red.500",_dark:{[Yi.variable]:"colors.red.300"},color:Yi.reference}})}),{definePartsStyle:Qi,defineMultiStyleConfig:Zi}=Xo(Oo.keys),Ki=$n("input-height"),Ji=$n("input-font-size"),el=$n("input-padding"),tl=$n("input-border-radius"),rl=Qi({addon:{height:Ki.reference,fontSize:Ji.reference,px:el.reference,borderRadius:tl.reference},field:{width:"100%",height:Ki.reference,fontSize:Ji.reference,px:el.reference,borderRadius:tl.reference,minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),nl={lg:{[Ji.variable]:"fontSizes.lg",[el.variable]:"space.4",[tl.variable]:"radii.md",[Ki.variable]:"sizes.12"},md:{[Ji.variable]:"fontSizes.md",[el.variable]:"space.4",[tl.variable]:"radii.md",[Ki.variable]:"sizes.10"},sm:{[Ji.variable]:"fontSizes.sm",[el.variable]:"space.3",[tl.variable]:"radii.sm",[Ki.variable]:"sizes.8"},xs:{[Ji.variable]:"fontSizes.xs",[el.variable]:"space.2",[tl.variable]:"radii.sm",[Ki.variable]:"sizes.6"}},ol={lg:Qi({field:nl.lg,group:nl.lg}),md:Qi({field:nl.md,group:nl.md}),sm:Qi({field:nl.sm,group:nl.sm}),xs:Qi({field:nl.xs,group:nl.xs})};function al(e){const{focusBorderColor:t,errorBorderColor:r}=e;return{focusBorderColor:t||Xa("blue.500","blue.300")(e),errorBorderColor:r||Xa("red.500","red.300")(e)}}const il=Qi((e=>{const{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=al(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:Xa("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:fa(t,n),boxShadow:`0 0 0 1px ${fa(t,n)}`},_focusVisible:{zIndex:1,borderColor:fa(t,r),boxShadow:`0 0 0 1px ${fa(t,r)}`}},addon:{border:"1px solid",borderColor:Xa("inherit","whiteAlpha.50")(e),bg:Xa("gray.100","whiteAlpha.300")(e)}}})),ll=Qi((e=>{const{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=al(e);return{field:{border:"2px solid",borderColor:"transparent",bg:Xa("gray.100","whiteAlpha.50")(e),_hover:{bg:Xa("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:fa(t,n)},_focusVisible:{bg:"transparent",borderColor:fa(t,r)}},addon:{border:"2px solid",borderColor:"transparent",bg:Xa("gray.100","whiteAlpha.50")(e)}}})),sl=Qi((e=>{const{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=al(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:fa(t,n),boxShadow:`0px 1px 0px 0px ${fa(t,n)}`},_focusVisible:{borderColor:fa(t,r),boxShadow:`0px 1px 0px 0px ${fa(t,r)}`}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}})),ul=Zi({baseStyle:rl,sizes:ol,variants:{outline:il,filled:ll,flushed:sl,unstyled:Qi({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}})},defaultProps:{size:"md",variant:"outline"}}),cl=$n("kbd-bg"),dl={baseStyle:{[cl.variable]:"colors.gray.100",_dark:{[cl.variable]:"colors.whiteAlpha.100"},bg:cl.reference,borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}},{defineMultiStyleConfig:fl,definePartsStyle:pl}=Xo(Ao.keys),hl=fl({baseStyle:pl({icon:{marginEnd:"2",display:"inline",verticalAlign:"text-bottom"}})}),{defineMultiStyleConfig:ml,definePartsStyle:gl}=Xo(Ro.keys),vl=$n("menu-bg"),yl=$n("menu-shadow"),bl=ml({baseStyle:gl({button:{transitionProperty:"common",transitionDuration:"normal"},list:{[vl.variable]:"#fff",[yl.variable]:"shadows.sm",_dark:{[vl.variable]:"colors.gray.700",[yl.variable]:"shadows.dark-lg"},color:"inherit",minW:"3xs",py:"2",zIndex:"dropdown",borderRadius:"md",borderWidth:"1px",bg:vl.reference,boxShadow:yl.reference},item:{py:"1.5",px:"3",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{[vl.variable]:"colors.gray.100",_dark:{[vl.variable]:"colors.whiteAlpha.100"}},_active:{[vl.variable]:"colors.gray.200",_dark:{[vl.variable]:"colors.whiteAlpha.200"}},_expanded:{[vl.variable]:"colors.gray.100",_dark:{[vl.variable]:"colors.whiteAlpha.100"}},_disabled:{opacity:.4,cursor:"not-allowed"},bg:vl.reference},groupTitle:{mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},icon:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0},command:{opacity:.6},divider:{border:0,borderBottom:"1px solid",borderColor:"inherit",my:"2",opacity:.6}})}),{defineMultiStyleConfig:xl,definePartsStyle:wl}=Xo(Mo.keys),Sl=$n("modal-bg"),kl=$n("modal-shadow"),_l={bg:"blackAlpha.600",zIndex:"modal"},El=e=>{const{isCentered:t,scrollBehavior:r}=e;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:t?"center":"flex-start",overflow:"inside"===r?"hidden":"auto",overscrollBehaviorY:"none"}},Cl=e=>{const{isCentered:t,scrollBehavior:r}=e;return{borderRadius:"md",color:"inherit",my:t?"auto":"16",mx:t?"auto":void 0,zIndex:"modal",maxH:"inside"===r?"calc(100% - 7.5rem)":void 0,[Sl.variable]:"colors.white",[kl.variable]:"shadows.lg",_dark:{[Sl.variable]:"colors.gray.700",[kl.variable]:"shadows.dark-lg"},bg:Sl.reference,boxShadow:kl.reference}},Pl={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},Tl={position:"absolute",top:"2",insetEnd:"3"},zl=e=>{const{scrollBehavior:t}=e;return{px:"6",py:"2",flex:"1",overflow:"inside"===t?"auto":void 0}},jl={px:"6",py:"4"};function Ol(e){return wl("full"===e?{dialog:{maxW:"100vw",minH:"$100vh",my:"0",borderRadius:"0"}}:{dialog:{maxW:e}})}const Al=xl({baseStyle:wl((e=>({overlay:_l,dialogContainer:Ta(El,e),dialog:Ta(Cl,e),header:Pl,closeButton:Tl,body:Ta(zl,e),footer:jl}))),sizes:{xs:Ol("xs"),sm:Ol("sm"),md:Ol("md"),lg:Ol("lg"),xl:Ol("xl"),"2xl":Ol("2xl"),"3xl":Ol("3xl"),"4xl":Ol("4xl"),"5xl":Ol("5xl"),"6xl":Ol("6xl"),full:Ol("full")},defaultProps:{size:"md"}});function Rl(e){return Re(e)&&e.reference?e.reference:String(e)}const Ml=(e,...t)=>t.map(Rl).join(` ${e} `).replace(/calc/g,""),Ll=(...e)=>`calc(${Ml("+",...e)})`,Fl=(...e)=>`calc(${Ml("-",...e)})`,Il=(...e)=>`calc(${Ml("*",...e)})`,Dl=(...e)=>`calc(${Ml("/",...e)})`,$l=e=>{const t=Rl(e);return null==t||Number.isNaN(parseFloat(t))?Il(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},Nl=Object.assign((e=>({add:(...t)=>Nl(Ll(e,...t)),subtract:(...t)=>Nl(Fl(e,...t)),multiply:(...t)=>Nl(Il(e,...t)),divide:(...t)=>Nl(Dl(e,...t)),negate:()=>Nl($l(e)),toString:()=>e.toString()})),{add:Ll,subtract:Fl,multiply:Il,divide:Dl,negate:$l}),Bl={letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},fonts:{heading:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},fontSizes:{"3xs":"0.45rem","2xs":"0.625rem",xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}},{defineMultiStyleConfig:Vl,definePartsStyle:Ul}=Xo(Lo.keys),Wl=bi("number-input-stepper-width"),Hl=bi("number-input-input-padding"),ql=Nl(Wl).add("0.5rem").toString(),Xl=bi("number-input-bg"),Yl=bi("number-input-color"),Gl=bi("number-input-border-color"),Ql={[Wl.variable]:"sizes.6",[Hl.variable]:ql},Zl=e=>Ta(ul.baseStyle,e)?.field??{},Kl={width:Wl.reference},Jl={borderStart:"1px solid",borderStartColor:Gl.reference,color:Yl.reference,bg:Xl.reference,[Yl.variable]:"colors.chakra-body-text",[Gl.variable]:"colors.chakra-border-color",_dark:{[Yl.variable]:"colors.whiteAlpha.800",[Gl.variable]:"colors.whiteAlpha.300"},_active:{[Xl.variable]:"colors.gray.200",_dark:{[Xl.variable]:"colors.whiteAlpha.300"}},_disabled:{opacity:.4,cursor:"not-allowed"}};function es(e){const t=ul.sizes?.[e],r={lg:"md",md:"md",sm:"sm",xs:"sm"},n=t.field?.fontSize??"md",o=Bl.fontSizes[n];return Ul({field:{...t.field,paddingInlineEnd:Hl.reference,verticalAlign:"top"},stepper:{fontSize:Nl(o).multiply(.75).toString(),_first:{borderTopEndRadius:r[e]},_last:{borderBottomEndRadius:r[e],mt:"-1px",borderTopWidth:1}}})}const ts=Vl({baseStyle:Ul((e=>({root:Ql,field:Ta(Zl,e)??{},stepperGroup:Kl,stepper:Jl}))),sizes:{xs:es("xs"),sm:es("sm"),md:es("md"),lg:es("lg")},variants:ul.variants,defaultProps:ul.defaultProps}),rs={baseStyle:{...ul.baseStyle?.field,textAlign:"center"},sizes:{lg:{fontSize:"lg",w:12,h:12,borderRadius:"md"},md:{fontSize:"md",w:10,h:10,borderRadius:"md"},sm:{fontSize:"sm",w:8,h:8,borderRadius:"sm"},xs:{fontSize:"xs",w:6,h:6,borderRadius:"sm"}},variants:{outline:e=>Ta(ul.variants?.outline,e)?.field??{},flushed:e=>Ta(ul.variants?.flushed,e)?.field??{},filled:e=>Ta(ul.variants?.filled,e)?.field??{},unstyled:ul.variants?.unstyled.field??{}},defaultProps:ul.defaultProps},{defineMultiStyleConfig:ns,definePartsStyle:os}=Xo(Fo.keys),as=bi("popper-bg"),is=bi("popper-arrow-bg"),ls=bi("popper-arrow-shadow-color"),ss=ns({baseStyle:os({popper:{zIndex:"popover"},content:{[as.variable]:"colors.white",bg:as.reference,[is.variable]:as.reference,[ls.variable]:"colors.gray.200",_dark:{[as.variable]:"colors.gray.700",[ls.variable]:"colors.whiteAlpha.300"},width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focusVisible:{outline:0,boxShadow:"outline"}},header:{px:3,py:2,borderBottomWidth:"1px"},body:{px:3,py:2},footer:{px:3,py:2,borderTopWidth:"1px"},closeButton:{position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2}})}),{defineMultiStyleConfig:us,definePartsStyle:cs}=Xo(Io.keys),ds=e=>{const{colorScheme:t,theme:r,isIndeterminate:n,hasStripe:o}=e,a=Xa(ha(),ha("1rem","rgba(0,0,0,0.1)"))(e),i=Xa(`${t}.500`,`${t}.200`)(e),l=`linear-gradient(\n    to right,\n    transparent 0%,\n    ${fa(r,i)} 50%,\n    transparent 100%\n  )`;return{...!n&&o&&a,...n?{bgImage:l}:{bgColor:i}}},fs={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},ps=e=>({bg:Xa("gray.100","whiteAlpha.300")(e)}),hs=e=>({transitionProperty:"common",transitionDuration:"slow",...ds(e)}),ms=cs((e=>({label:fs,filledTrack:hs(e),track:ps(e)}))),gs=us({sizes:{xs:cs({track:{h:"1"}}),sm:cs({track:{h:"2"}}),md:cs({track:{h:"3"}}),lg:cs({track:{h:"4"}})},baseStyle:ms,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:vs,definePartsStyle:ys}=Xo(Do.keys),bs=e=>{const t=Ta(gi.baseStyle,e)?.control;return{...t,borderRadius:"full",_checked:{...t?._checked,_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}}}},xs=vs({baseStyle:ys((e=>({label:gi.baseStyle?.(e).label,container:gi.baseStyle?.(e).container,control:bs(e)}))),sizes:{md:ys({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:ys({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:ys({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:ws,definePartsStyle:Ss}=Xo($o.keys),ks=$n("select-bg"),_s={paddingInlineEnd:"8"},Es=ws({baseStyle:Ss({field:{...ul.baseStyle?.field,appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:ks.reference,[ks.variable]:"colors.white",_dark:{[ks.variable]:"colors.gray.700"},"> option, > optgroup":{bg:ks.reference}},icon:{width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}}}),sizes:{lg:{...ul.sizes?.lg,field:{...ul.sizes?.lg.field,..._s}},md:{...ul.sizes?.md,field:{...ul.sizes?.md.field,..._s}},sm:{...ul.sizes?.sm,field:{...ul.sizes?.sm.field,..._s}},xs:{...ul.sizes?.xs,field:{...ul.sizes?.xs.field,..._s},icon:{insetEnd:"1"}}},variants:ul.variants,defaultProps:ul.defaultProps}),Cs=$n("skeleton-start-color"),Ps=$n("skeleton-end-color"),Ts={baseStyle:{[Cs.variable]:"colors.gray.100",[Ps.variable]:"colors.gray.400",_dark:{[Cs.variable]:"colors.gray.800",[Ps.variable]:"colors.gray.600"},background:Cs.reference,borderColor:Ps.reference,opacity:.7,borderRadius:"sm"}},zs=$n("skip-link-bg"),js={baseStyle:{borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",[zs.variable]:"colors.white",_dark:{[zs.variable]:"colors.gray.700"},bg:zs.reference}}},{defineMultiStyleConfig:Os,definePartsStyle:As}=Xo(No.keys),Rs=$n("slider-thumb-size"),Ms=$n("slider-track-size"),Ls=$n("slider-bg"),Fs=e=>{const{orientation:t}=e;return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...Ya({orientation:t,vertical:{h:"100%",px:Fn(Rs.reference).divide(2).toString()},horizontal:{w:"100%",py:Fn(Rs.reference).divide(2).toString()}})}},Is=e=>({...Ya({orientation:e.orientation,horizontal:{h:Ms.reference},vertical:{w:Ms.reference}}),overflow:"hidden",borderRadius:"sm",[Ls.variable]:"colors.gray.200",_dark:{[Ls.variable]:"colors.whiteAlpha.200"},_disabled:{[Ls.variable]:"colors.gray.300",_dark:{[Ls.variable]:"colors.whiteAlpha.300"}},bg:Ls.reference}),Ds=e=>{const{orientation:t}=e;return{...Ya({orientation:t,vertical:{left:"50%",transform:"translateX(-50%)",_active:{transform:"translateX(-50%) scale(1.15)"}},horizontal:{top:"50%",transform:"translateY(-50%)",_active:{transform:"translateY(-50%) scale(1.15)"}}}),w:Rs.reference,h:Rs.reference,display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{bg:"gray.300"}}},$s=e=>{const{colorScheme:t}=e;return{width:"inherit",height:"inherit",[Ls.variable]:`colors.${t}.500`,_dark:{[Ls.variable]:`colors.${t}.200`},bg:Ls.reference}},Ns=Os({baseStyle:As((e=>({container:Fs(e),track:Is(e),thumb:Ds(e),filledTrack:$s(e)}))),sizes:{lg:As({container:{[Rs.variable]:"sizes.4",[Ms.variable]:"sizes.1"}}),md:As({container:{[Rs.variable]:"sizes.3.5",[Ms.variable]:"sizes.1"}}),sm:As({container:{[Rs.variable]:"sizes.2.5",[Ms.variable]:"sizes.0.5"}})},defaultProps:{size:"md",colorScheme:"blue"}}),Bs=bi("spinner-size"),Vs={baseStyle:{width:[Bs.reference],height:[Bs.reference]},sizes:{xs:{[Bs.variable]:"sizes.3"},sm:{[Bs.variable]:"sizes.4"},md:{[Bs.variable]:"sizes.6"},lg:{[Bs.variable]:"sizes.8"},xl:{[Bs.variable]:"sizes.12"}},defaultProps:{size:"md"}},{defineMultiStyleConfig:Us,definePartsStyle:Ws}=Xo(Bo.keys),Hs=Us({baseStyle:Ws({container:{},label:{fontWeight:"medium"},helpText:{opacity:.8,marginBottom:"2"},number:{verticalAlign:"baseline",fontWeight:"semibold"},icon:{marginEnd:1,w:"3.5",h:"3.5",verticalAlign:"middle"}}),sizes:{md:Ws({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},defaultProps:{size:"md"}}),{defineMultiStyleConfig:qs,definePartsStyle:Xs}=Xo(["stepper","step","title","description","indicator","separator","icon","number"]),Ys=$n("stepper-indicator-size"),Gs=$n("stepper-icon-size"),Qs=$n("stepper-title-font-size"),Zs=$n("stepper-description-font-size"),Ks=$n("stepper-accent-color"),Js=Xs((({colorScheme:e})=>({stepper:{display:"flex",justifyContent:"space-between",gap:"4","&[data-orientation=vertical]":{flexDirection:"column",alignItems:"flex-start"},"&[data-orientation=horizontal]":{flexDirection:"row",alignItems:"center"},[Ks.variable]:`colors.${e}.500`,_dark:{[Ks.variable]:`colors.${e}.200`}},title:{fontSize:Qs.reference,fontWeight:"medium"},description:{fontSize:Zs.reference,color:"chakra-subtle-text"},number:{fontSize:Qs.reference},step:{flexShrink:0,position:"relative",display:"flex",gap:"2","&[data-orientation=horizontal]":{alignItems:"center"},flex:"1","&:last-of-type:not([data-stretch])":{flex:"initial"}},icon:{flexShrink:0,width:Gs.reference,height:Gs.reference},indicator:{flexShrink:0,borderRadius:"full",width:Ys.reference,height:Ys.reference,display:"flex",justifyContent:"center",alignItems:"center","&[data-status=active]":{borderWidth:"2px",borderColor:Ks.reference},"&[data-status=complete]":{bg:Ks.reference,color:"chakra-inverse-text"},"&[data-status=incomplete]":{borderWidth:"2px"}},separator:{bg:"chakra-border-color",flex:"1","&[data-status=complete]":{bg:Ks.reference},"&[data-orientation=horizontal]":{width:"100%",height:"2px",marginStart:"2"},"&[data-orientation=vertical]":{width:"2px",position:"absolute",height:"100%",maxHeight:`calc(100% - ${Ys.reference} - 8px)`,top:`calc(${Ys.reference} + 4px)`,insetStart:`calc(${Ys.reference} / 2 - 1px)`}}}))),eu=qs({baseStyle:Js,sizes:{xs:Xs({stepper:{[Ys.variable]:"sizes.4",[Gs.variable]:"sizes.3",[Qs.variable]:"fontSizes.xs",[Zs.variable]:"fontSizes.xs"}}),sm:Xs({stepper:{[Ys.variable]:"sizes.6",[Gs.variable]:"sizes.4",[Qs.variable]:"fontSizes.sm",[Zs.variable]:"fontSizes.xs"}}),md:Xs({stepper:{[Ys.variable]:"sizes.8",[Gs.variable]:"sizes.5",[Qs.variable]:"fontSizes.md",[Zs.variable]:"fontSizes.sm"}}),lg:Xs({stepper:{[Ys.variable]:"sizes.10",[Gs.variable]:"sizes.6",[Qs.variable]:"fontSizes.lg",[Zs.variable]:"fontSizes.md"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:tu,definePartsStyle:ru}=Xo(Vo.keys),nu=bi("switch-track-width"),ou=bi("switch-track-height"),au=bi("switch-track-diff"),iu=Nl.subtract(nu,ou),lu=bi("switch-thumb-x"),su=bi("switch-bg"),uu=e=>{const{colorScheme:t}=e;return{borderRadius:"full",p:"0.5",width:[nu.reference],height:[ou.reference],transitionProperty:"common",transitionDuration:"fast",[su.variable]:"colors.gray.300",_dark:{[su.variable]:"colors.whiteAlpha.400"},_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{[su.variable]:`colors.${t}.500`,_dark:{[su.variable]:`colors.${t}.200`}},bg:su.reference}},cu={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[ou.reference],height:[ou.reference],_checked:{transform:`translateX(${lu.reference})`}},du=tu({baseStyle:ru((e=>({container:{[au.variable]:iu,[lu.variable]:au.reference,_rtl:{[lu.variable]:Nl(au).negate().toString()}},track:uu(e),thumb:cu}))),sizes:{sm:ru({container:{[nu.variable]:"1.375rem",[ou.variable]:"sizes.3"}}),md:ru({container:{[nu.variable]:"1.875rem",[ou.variable]:"sizes.4"}}),lg:ru({container:{[nu.variable]:"2.875rem",[ou.variable]:"sizes.6"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:fu,definePartsStyle:pu}=Xo(Uo.keys),hu=pu({table:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full"},th:{fontFamily:"heading",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"wider",textAlign:"start"},td:{textAlign:"start"},caption:{mt:4,fontFamily:"heading",textAlign:"center",fontWeight:"medium"}}),mu={"&[data-is-numeric=true]":{textAlign:"end"}},gu=pu((e=>{const{colorScheme:t}=e;return{th:{color:Xa("gray.600","gray.400")(e),borderBottom:"1px",borderColor:Xa(`${t}.100`,`${t}.700`)(e),...mu},td:{borderBottom:"1px",borderColor:Xa(`${t}.100`,`${t}.700`)(e),...mu},caption:{color:Xa("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}})),vu=pu((e=>{const{colorScheme:t}=e;return{th:{color:Xa("gray.600","gray.400")(e),borderBottom:"1px",borderColor:Xa(`${t}.100`,`${t}.700`)(e),...mu},td:{borderBottom:"1px",borderColor:Xa(`${t}.100`,`${t}.700`)(e),...mu},caption:{color:Xa("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:Xa(`${t}.100`,`${t}.700`)(e)},td:{background:Xa(`${t}.100`,`${t}.700`)(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}})),yu=fu({baseStyle:hu,variants:{simple:gu,striped:vu,unstyled:{}},sizes:{sm:pu({th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}}),md:pu({th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}}),lg:pu({th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}})},defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}}),bu=$n("tabs-color"),xu=$n("tabs-bg"),wu=$n("tabs-border-color"),{defineMultiStyleConfig:Su,definePartsStyle:ku}=Xo(Wo.keys),_u=e=>{const{orientation:t}=e;return{display:"vertical"===t?"flex":"block"}},Eu=e=>{const{isFitted:t}=e;return{flex:t?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focusVisible:{zIndex:1,boxShadow:"outline"},_disabled:{cursor:"not-allowed",opacity:.4}}},Cu=e=>{const{align:t="start",orientation:r}=e;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[t],flexDirection:"vertical"===r?"column":"row"}},Pu={p:4},Tu=ku((e=>({root:_u(e),tab:Eu(e),tablist:Cu(e),tabpanel:Pu}))),zu={sm:ku({tab:{py:1,px:4,fontSize:"sm"}}),md:ku({tab:{fontSize:"md",py:2,px:4}}),lg:ku({tab:{fontSize:"lg",py:3,px:4}})},ju=ku((e=>{const{colorScheme:t,orientation:r}=e,n="vertical"===r,o=n?"borderStart":"borderBottom",a=n?"marginStart":"marginBottom";return{tablist:{[o]:"2px solid",borderColor:"inherit"},tab:{[o]:"2px solid",borderColor:"transparent",[a]:"-2px",_selected:{[bu.variable]:`colors.${t}.600`,_dark:{[bu.variable]:`colors.${t}.300`},borderColor:"currentColor"},_active:{[xu.variable]:"colors.gray.200",_dark:{[xu.variable]:"colors.whiteAlpha.300"}},_disabled:{_active:{bg:"none"}},color:bu.reference,bg:xu.reference}}})),Ou=ku((e=>{const{colorScheme:t}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",[wu.variable]:"transparent",_selected:{[bu.variable]:`colors.${t}.600`,[wu.variable]:"colors.white",_dark:{[bu.variable]:`colors.${t}.300`,[wu.variable]:"colors.gray.800"},borderColor:"inherit",borderBottomColor:wu.reference},color:bu.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}})),Au=ku((e=>{const{colorScheme:t}=e;return{tab:{border:"1px solid",borderColor:"inherit",[xu.variable]:"colors.gray.50",_dark:{[xu.variable]:"colors.whiteAlpha.50"},mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{[xu.variable]:"colors.white",[bu.variable]:`colors.${t}.600`,_dark:{[xu.variable]:"colors.gray.800",[bu.variable]:`colors.${t}.300`},borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"},color:bu.reference,bg:xu.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}})),Ru=ku((e=>{const{colorScheme:t,theme:r}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:fa(r,`${t}.700`),bg:fa(r,`${t}.100`)}}}})),Mu=ku((e=>{const{colorScheme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",[bu.variable]:"colors.gray.600",_dark:{[bu.variable]:"inherit"},_selected:{[bu.variable]:"colors.white",[xu.variable]:`colors.${t}.600`,_dark:{[bu.variable]:"colors.gray.800",[xu.variable]:`colors.${t}.300`}},color:bu.reference,bg:xu.reference}}})),Lu=Su({baseStyle:Tu,sizes:zu,variants:{line:ju,enclosed:Ou,"enclosed-colored":Au,"soft-rounded":Ru,"solid-rounded":Mu,unstyled:ku({})},defaultProps:{size:"md",variant:"line",colorScheme:"blue"}}),{defineMultiStyleConfig:Fu,definePartsStyle:Iu}=Xo(Ho.keys),Du=$n("tag-bg"),$u=$n("tag-color"),Nu=$n("tag-shadow"),Bu=$n("tag-min-height"),Vu=$n("tag-min-width"),Uu=$n("tag-font-size"),Wu=$n("tag-padding-inline"),Hu=Iu({container:{fontWeight:"medium",lineHeight:1.2,outline:0,[$u.variable]:Ba.color.reference,[Du.variable]:Ba.bg.reference,[Nu.variable]:Ba.shadow.reference,color:$u.reference,bg:Du.reference,boxShadow:Nu.reference,borderRadius:"md",minH:Bu.reference,minW:Vu.reference,fontSize:Uu.reference,px:Wu.reference,_focusVisible:{[Nu.variable]:"shadows.outline"}},label:{lineHeight:1.2,overflow:"visible"},closeButton:{fontSize:"lg",w:"5",h:"5",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"1.5",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focusVisible:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}}}),qu={sm:Iu({container:{[Bu.variable]:"sizes.5",[Vu.variable]:"sizes.5",[Uu.variable]:"fontSizes.xs",[Wu.variable]:"space.2"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}}),md:Iu({container:{[Bu.variable]:"sizes.6",[Vu.variable]:"sizes.6",[Uu.variable]:"fontSizes.sm",[Wu.variable]:"space.2"}}),lg:Iu({container:{[Bu.variable]:"sizes.8",[Vu.variable]:"sizes.8",[Uu.variable]:"fontSizes.md",[Wu.variable]:"space.3"}})},Xu=Fu({variants:{subtle:Iu((e=>({container:Va.variants?.subtle(e)}))),solid:Iu((e=>({container:Va.variants?.solid(e)}))),outline:Iu((e=>({container:Va.variants?.outline(e)})))},baseStyle:Hu,sizes:qu,defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}}),Yu={...ul.baseStyle?.field,paddingY:"2",minHeight:"20",lineHeight:"short",verticalAlign:"top"},Gu={outline:e=>ul.variants?.outline(e).field??{},flushed:e=>ul.variants?.flushed(e).field??{},filled:e=>ul.variants?.filled(e).field??{},unstyled:ul.variants?.unstyled.field??{}},Qu={baseStyle:Yu,sizes:{xs:ul.sizes?.xs.field??{},sm:ul.sizes?.sm.field??{},md:ul.sizes?.md.field??{},lg:ul.sizes?.lg.field??{}},variants:Gu,defaultProps:{size:"md",variant:"outline"}},Zu=bi("tooltip-bg"),Ku=bi("tooltip-fg"),Ju=bi("popper-arrow-bg"),ec={bg:Zu.reference,color:Ku.reference,[Zu.variable]:"colors.gray.700",[Ku.variable]:"colors.whiteAlpha.900",_dark:{[Zu.variable]:"colors.gray.300",[Ku.variable]:"colors.gray.900"},[Ju.variable]:Zu.reference,px:"2",py:"0.5",borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"xs",zIndex:"tooltip"},tc={Accordion:Qo,Alert:Ea,Avatar:Na,Badge:Va,Breadcrumb:qa,Button:Za,Checkbox:gi,CloseButton:Si,Code:Ei,Container:{baseStyle:{w:"100%",mx:"auto",maxW:"prose",px:"4"}},Divider:{baseStyle:{opacity:.6,borderColor:"inherit"},variants:{solid:{borderStyle:"solid"},dashed:{borderStyle:"dashed"}},defaultProps:{variant:"solid"}},Drawer:Di,Editable:Bi,Form:Hi,FormError:Gi,FormLabel:{baseStyle:{fontSize:"md",marginEnd:"3",mb:"2",fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}}},Heading:{baseStyle:{fontFamily:"heading",fontWeight:"bold"},sizes:{"4xl":{fontSize:["6xl",null,"7xl"],lineHeight:1},"3xl":{fontSize:["5xl",null,"6xl"],lineHeight:1},"2xl":{fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]},xl:{fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]},lg:{fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]},md:{fontSize:"xl",lineHeight:1.2},sm:{fontSize:"md",lineHeight:1.2},xs:{fontSize:"sm",lineHeight:1.2}},defaultProps:{size:"xl"}},Input:ul,Kbd:dl,Link:{baseStyle:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}}},List:hl,Menu:bl,Modal:Al,NumberInput:ts,PinInput:rs,Popover:ss,Progress:gs,Radio:xs,Select:Es,Skeleton:Ts,SkipLink:js,Slider:Ns,Spinner:Vs,Stat:Hs,Switch:du,Table:yu,Tabs:Lu,Tag:Xu,Textarea:Qu,Tooltip:{baseStyle:ec},Card:si,Stepper:eu},rc={semanticTokens:{colors:{"chakra-body-text":{_light:"gray.800",_dark:"whiteAlpha.900"},"chakra-body-bg":{_light:"white",_dark:"gray.800"},"chakra-border-color":{_light:"gray.200",_dark:"whiteAlpha.300"},"chakra-inverse-text":{_light:"white",_dark:"gray.800"},"chakra-subtle-bg":{_light:"gray.100",_dark:"gray.700"},"chakra-subtle-text":{_light:"gray.600",_dark:"gray.400"},"chakra-placeholder-color":{_light:"gray.500",_dark:"whiteAlpha.400"}}},direction:"ltr",...{breakpoints:{base:"0em",sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"},zIndices:{hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},radii:{none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},blur:{none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},colors:{transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"}},...Bl,sizes:Pa,shadows:{xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dark-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},space:Ca,borders:{none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},transition:{property:{common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},easing:{"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},duration:{"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"}}},components:tc,styles:{global:{body:{fontFamily:"body",color:"chakra-body-text",bg:"chakra-body-bg",transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:"chakra-placeholder-color"},"*, *::before, &::after":{borderColor:"chakra-border-color"}}},config:{useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"}},nc="chakra-ui-light",oc="chakra-ui-dark",ac="chakra-ui-color-mode",ic=(lc=ac,{ssr:!1,type:"localStorage",get(e){if(!globalThis?.document)return e;let t;try{t=localStorage.getItem(lc)||e}catch(e){}return t||e},set(e){try{localStorage.setItem(lc,e)}catch(e){}}});var lc;const sc=()=>{},uc=Boolean(globalThis?.document)?F.useLayoutEffect:F.useEffect;function cc(e,t){return"cookie"===e.type&&e.ssr?e.get(t):t}const dc=Yr((function(e,t){const{value:r,children:n,options:{useSystemColorMode:o,initialColorMode:a,disableTransitionOnChange:i}={},colorModeManager:l=ic}=e,s="dark"===a?"dark":"light",[u,c]=(0,F.useState)((()=>cc(l,s))),[d,f]=(0,F.useState)((()=>cc(l))),{getSystemTheme:p,setClassName:h,setDataset:m,addListener:g}=(0,F.useMemo)((()=>function(e={}){const{preventTransition:t=!0,nonce:r}=e,n={setDataset:e=>{const r=t?n.preventTransition():void 0;document.documentElement.dataset.theme=e,document.documentElement.style.colorScheme=e,r?.()},setClassName(e){document.body.classList.add(e?oc:nc),document.body.classList.remove(e?nc:oc)},query:()=>window.matchMedia("(prefers-color-scheme: dark)"),getSystemTheme:e=>n.query().matches??"dark"===e?"dark":"light",addListener(e){const t=n.query(),r=t=>{e(t.matches?"dark":"light")};return"function"==typeof t.addListener?t.addListener(r):t.addEventListener("change",r),()=>{"function"==typeof t.removeListener?t.removeListener(r):t.removeEventListener("change",r)}},preventTransition(){const e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),void 0!==r&&(e.nonce=r),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),requestAnimationFrame((()=>{requestAnimationFrame((()=>{document.head.removeChild(e)}))}))}}};return n}({preventTransition:i,nonce:t?.nonce})),[i,t?.nonce]),v="system"!==a||u?u:d,y=(0,F.useCallback)((e=>{const t="system"===e?p():e;c(t),h("dark"===t),m(t),l.set(t)}),[l,p,h,m]);uc((()=>{"system"===a&&f(p())}),[]),(0,F.useEffect)((()=>{const e=l.get();y(e||("system"!==a?s:"system"))}),[l,s,a,y]);const b=(0,F.useCallback)((()=>{y("dark"===v?"light":"dark")}),[v,y]);(0,F.useEffect)((()=>{if(o)return g(y)}),[o,g,y]);const x=(0,F.useMemo)((()=>({colorMode:r??v,toggleColorMode:r?sc:b,setColorMode:r?sc:y,forced:void 0!==r})),[v,b,y,r]);return(0,vn.jsx)(cn.Provider,{value:x,children:n})}));dc.displayName="ColorModeProvider";const fc=String.raw,pc=fc`
  :root,
  :host {
    --chakra-vh: 100vh;
  }

  @supports (height: -webkit-fill-available) {
    :root,
    :host {
      --chakra-vh: -webkit-fill-available;
    }
  }

  @supports (height: -moz-fill-available) {
    :root,
    :host {
      --chakra-vh: -moz-fill-available;
    }
  }

  @supports (height: 100dvh) {
    :root,
    :host {
      --chakra-vh: 100dvh;
    }
  }
`,hc=()=>(0,vn.jsx)(qn,{styles:pc}),mc=({scope:e=""})=>(0,vn.jsx)(qn,{styles:fc`
      html {
        line-height: 1.5;
        -webkit-text-size-adjust: 100%;
        font-family: system-ui, sans-serif;
        -webkit-font-smoothing: antialiased;
        text-rendering: optimizeLegibility;
        -moz-osx-font-smoothing: grayscale;
        touch-action: manipulation;
      }

      body {
        position: relative;
        min-height: 100%;
        margin: 0;
        font-feature-settings: "kern";
      }

      ${e} :where(*, *::before, *::after) {
        border-width: 0;
        border-style: solid;
        box-sizing: border-box;
        word-wrap: break-word;
      }

      main {
        display: block;
      }

      ${e} hr {
        border-top-width: 1px;
        box-sizing: content-box;
        height: 0;
        overflow: visible;
      }

      ${e} :where(pre, code, kbd,samp) {
        font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
        font-size: 1em;
      }

      ${e} a {
        background-color: transparent;
        color: inherit;
        text-decoration: inherit;
      }

      ${e} abbr[title] {
        border-bottom: none;
        text-decoration: underline;
        -webkit-text-decoration: underline dotted;
        text-decoration: underline dotted;
      }

      ${e} :where(b, strong) {
        font-weight: bold;
      }

      ${e} small {
        font-size: 80%;
      }

      ${e} :where(sub,sup) {
        font-size: 75%;
        line-height: 0;
        position: relative;
        vertical-align: baseline;
      }

      ${e} sub {
        bottom: -0.25em;
      }

      ${e} sup {
        top: -0.5em;
      }

      ${e} img {
        border-style: none;
      }

      ${e} :where(button, input, optgroup, select, textarea) {
        font-family: inherit;
        font-size: 100%;
        line-height: 1.15;
        margin: 0;
      }

      ${e} :where(button, input) {
        overflow: visible;
      }

      ${e} :where(button, select) {
        text-transform: none;
      }

      ${e} :where(
          button::-moz-focus-inner,
          [type="button"]::-moz-focus-inner,
          [type="reset"]::-moz-focus-inner,
          [type="submit"]::-moz-focus-inner
        ) {
        border-style: none;
        padding: 0;
      }

      ${e} fieldset {
        padding: 0.35em 0.75em 0.625em;
      }

      ${e} legend {
        box-sizing: border-box;
        color: inherit;
        display: table;
        max-width: 100%;
        padding: 0;
        white-space: normal;
      }

      ${e} progress {
        vertical-align: baseline;
      }

      ${e} textarea {
        overflow: auto;
      }

      ${e} :where([type="checkbox"], [type="radio"]) {
        box-sizing: border-box;
        padding: 0;
      }

      ${e} input[type="number"]::-webkit-inner-spin-button,
      ${e} input[type="number"]::-webkit-outer-spin-button {
        -webkit-appearance: none !important;
      }

      ${e} input[type="number"] {
        -moz-appearance: textfield;
      }

      ${e} input[type="search"] {
        -webkit-appearance: textfield;
        outline-offset: -2px;
      }

      ${e} input[type="search"]::-webkit-search-decoration {
        -webkit-appearance: none !important;
      }

      ${e} ::-webkit-file-upload-button {
        -webkit-appearance: button;
        font: inherit;
      }

      ${e} details {
        display: block;
      }

      ${e} summary {
        display: list-item;
      }

      template {
        display: none;
      }

      [hidden] {
        display: none !important;
      }

      ${e} :where(
          blockquote,
          dl,
          dd,
          h1,
          h2,
          h3,
          h4,
          h5,
          h6,
          hr,
          figure,
          p,
          pre
        ) {
        margin: 0;
      }

      ${e} button {
        background: transparent;
        padding: 0;
      }

      ${e} fieldset {
        margin: 0;
        padding: 0;
      }

      ${e} :where(ol, ul) {
        margin: 0;
        padding: 0;
      }

      ${e} textarea {
        resize: vertical;
      }

      ${e} :where(button, [role="button"]) {
        cursor: pointer;
      }

      ${e} button::-moz-focus-inner {
        border: 0 !important;
      }

      ${e} table {
        border-collapse: collapse;
      }

      ${e} :where(h1, h2, h3, h4, h5, h6) {
        font-size: inherit;
        font-weight: inherit;
      }

      ${e} :where(button, input, optgroup, select, textarea) {
        padding: 0;
        line-height: inherit;
        color: inherit;
      }

      ${e} :where(img, svg, video, canvas, audio, iframe, embed, object) {
        display: block;
      }

      ${e} :where(img, video) {
        max-width: 100%;
        height: auto;
      }

      [data-js-focus-visible]
        :focus:not([data-focus-visible-added]):not(
          [data-focus-visible-disabled]
        ) {
        outline: none;
        box-shadow: none;
      }

      ${e} select::-ms-expand {
        display: none;
      }

      ${pc}
    `}),[gc,vc]=Wn({strict:!1,name:"PortalManagerContext"});function yc(e){const{children:t,zIndex:r}=e;return(0,vn.jsx)(gc,{value:{zIndex:r},children:t})}yc.displayName="PortalManager";const bc=(0,F.createContext)({getDocument:()=>document,getWindow:()=>window});function xc(e){const{children:t,environment:r,disabled:n}=e,o=(0,F.useRef)(null),a=(0,F.useMemo)((()=>r||{getDocument:()=>o.current?.ownerDocument??document,getWindow:()=>o.current?.ownerDocument.defaultView??window}),[r]),i=!n||!r;return(0,vn.jsxs)(bc.Provider,{value:a,children:[t,i&&(0,vn.jsx)("span",{id:"__chakra_env",hidden:!0,ref:o})]})}bc.displayName="EnvironmentContext",xc.displayName="EnvironmentProvider";const wc=e=>{const{children:t,colorModeManager:r,portalZIndex:n,resetScope:o,resetCSS:a=!0,theme:i={},environment:l,cssVarsRoot:s,disableEnvironment:u,disableGlobalStyle:c}=e,d=(0,vn.jsx)(xc,{environment:l,disabled:u,children:t});return(0,vn.jsx)(Yn,{theme:i,cssVarsRoot:s,children:(0,vn.jsxs)(dc,{colorModeManager:r,options:i.config,children:[a?(0,vn.jsx)(mc,{scope:o}):(0,vn.jsx)(hc,{}),!c&&(0,vn.jsx)(Kn,{}),n?(0,vn.jsx)(yc,{zIndex:n,children:d}):d]})})};var Sc=function(e,t){return Sc=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},Sc(e,t)};function kc(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}Sc(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var _c=function(){return _c=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},_c.apply(this,arguments)};function Ec(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}function Cc(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i}function Pc(e,t,r){if(r||2===arguments.length)for(var n,o=0,a=t.length;o<a;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;const Tc=1/60*1e3,zc="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),jc="undefined"!=typeof window?e=>window.requestAnimationFrame(e):e=>setTimeout((()=>e(zc())),Tc);let Oc=!0,Ac=!1,Rc=!1;const Mc={delta:0,timestamp:0},Lc=["read","update","preRender","render","postRender"],Fc=Lc.reduce(((e,t)=>(e[t]=function(e){let t=[],r=[],n=0,o=!1,a=!1;const i=new WeakSet,l={schedule:(e,a=!1,l=!1)=>{const s=l&&o,u=s?t:r;return a&&i.add(e),-1===u.indexOf(e)&&(u.push(e),s&&o&&(n=t.length)),e},cancel:e=>{const t=r.indexOf(e);-1!==t&&r.splice(t,1),i.delete(e)},process:s=>{if(o)a=!0;else{if(o=!0,[t,r]=[r,t],r.length=0,n=t.length,n)for(let r=0;r<n;r++){const n=t[r];n(s),i.has(n)&&(l.schedule(n),e())}o=!1,a&&(a=!1,l.process(s))}}};return l}((()=>Ac=!0)),e)),{}),Ic=Lc.reduce(((e,t)=>{const r=Fc[t];return e[t]=(e,t=!1,n=!1)=>(Ac||Vc(),r.schedule(e,t,n)),e}),{}),Dc=Lc.reduce(((e,t)=>(e[t]=Fc[t].cancel,e)),{}),$c=Lc.reduce(((e,t)=>(e[t]=()=>Fc[t].process(Mc),e)),{}),Nc=e=>Fc[e].process(Mc),Bc=e=>{Ac=!1,Mc.delta=Oc?Tc:Math.max(Math.min(e-Mc.timestamp,40),1),Mc.timestamp=e,Rc=!0,Lc.forEach(Nc),Rc=!1,Ac&&(Oc=!1,jc(Bc))},Vc=()=>{Ac=!0,Oc=!0,Rc||jc(Bc)},Uc=()=>Mc,Wc=Ic;function Hc(e){return(0,F.useEffect)((function(){return function(){return e()}}),[])}var qc=(0,F.createContext)(null);function Xc(e){var t=(0,F.useRef)(null);return null===t.current&&(t.current=e()),t.current}var Yc=0;function Gc(){var e=Yc;return Yc++,e}var Qc=function(e){var t=e.children,r=e.initial,n=e.isPresent,o=e.onExitComplete,a=e.custom,i=e.presenceAffectsLayout,l=Xc(Zc),s=Xc(Gc),u=(0,F.useMemo)((function(){return{id:s,initial:r,isPresent:n,custom:a,onExitComplete:function(e){var t,r;l.set(e,!0);try{for(var n=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(l.values()),a=n.next();!a.done;a=n.next())if(!a.value)return}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}null==o||o()},register:function(e){return l.set(e,!1),function(){return l.delete(e)}}}}),i?void 0:[n]);return(0,F.useMemo)((function(){l.forEach((function(e,t){return l.set(t,!1)}))}),[n]),F.useEffect((function(){!n&&!l.size&&(null==o||o())}),[n]),F.createElement(qc.Provider,{value:u},t)};function Zc(){return new Map}var Kc=(0,F.createContext)({});function Jc(e){return e.key||""}var ed=function(e){var t=e.children,r=e.custom,n=e.initial,o=void 0===n||n,a=e.onExitComplete,i=e.exitBeforeEnter,l=e.presenceAffectsLayout,s=void 0===l||l,u=Cc(function(){var e=(0,F.useRef)(!1),t=Cc((0,F.useState)(0),2),r=t[0],n=t[1];Hc((function(){return e.current=!0}));var o=(0,F.useCallback)((function(){!e.current&&n(r+1)}),[r]);return[(0,F.useCallback)((function(){return Wc.postRender(o)}),[o]),r]}(),1),c=u[0],d=(0,F.useContext)(Kc).forceRender;d&&(c=d);var f=(0,F.useRef)(!0),p=(0,F.useRef)(!0);(0,F.useEffect)((function(){return function(){p.current=!1}}),[]);var h=function(e){var t=[];return F.Children.forEach(e,(function(e){(0,F.isValidElement)(e)&&t.push(e)})),t}(t),m=(0,F.useRef)(h),g=(0,F.useRef)(new Map).current,v=(0,F.useRef)(new Set).current;if(function(e,t){e.forEach((function(e){var r=Jc(e);t.set(r,e)}))}(h,g),f.current)return f.current=!1,F.createElement(F.Fragment,null,h.map((function(e){return F.createElement(Qc,{key:Jc(e),isPresent:!0,initial:!!o&&void 0,presenceAffectsLayout:s},e)})));for(var y=Pc([],Cc(h),!1),b=m.current.map(Jc),x=h.map(Jc),w=b.length,S=0;S<w;S++){var k=b[S];-1===x.indexOf(k)?v.add(k):v.delete(k)}return i&&v.size&&(y=[]),v.forEach((function(e){if(-1===x.indexOf(e)){var t=g.get(e);if(t){var n=b.indexOf(e);y.splice(n,0,F.createElement(Qc,{key:Jc(t),isPresent:!1,onExitComplete:function(){g.delete(e),v.delete(e);var t=m.current.findIndex((function(t){return t.key===e}));if(m.current.splice(t,1),!v.size){if(m.current=h,!1===p.current)return;c(),a&&a()}},custom:r,presenceAffectsLayout:s},t))}}})),y=y.map((function(e){var t=e.key;return v.has(t)?e:F.createElement(Qc,{key:Jc(e),isPresent:!0,presenceAffectsLayout:s},e)})),m.current=y,F.createElement(F.Fragment,null,v.size?y:y.map((function(e){return(0,F.cloneElement)(e)})))};const td=(e,t)=>{const r=(0,F.useRef)(!1),n=(0,F.useRef)(!1);(0,F.useEffect)((()=>{if(r.current&&n.current)return e();n.current=!0}),t),(0,F.useEffect)((()=>(r.current=!0,()=>{r.current=!1})),[])};function rd(){var e=(0,F.useContext)(qc);if(null===e)return[!0,null];var t=e.isPresent,r=e.onExitComplete,n=e.register,o=ad();return(0,F.useEffect)((function(){return n(o)}),[]),!t&&r?[!1,function(){return null==r?void 0:r(o)}]:[!0]}var nd=0,od=function(){return nd++},ad=function(){return Xc(od)},id=function(e){return{isEnabled:function(t){return e.some((function(e){return!!t[e]}))}}},ld={measureLayout:id(["layout","layoutId","drag"]),animation:id(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:id(["exit"]),drag:id(["drag","dragControls"]),focus:id(["whileFocus"]),hover:id(["whileHover","onHoverStart","onHoverEnd"]),tap:id(["whileTap","onTap","onTapStart","onTapCancel"]),pan:id(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:id(["whileInView","onViewportEnter","onViewportLeave"])},sd=(0,F.createContext)({strict:!1}),ud=Object.keys(ld),cd=ud.length,dd=(0,F.createContext)({transformPagePoint:function(e){return e},isStatic:!1}),fd=(0,F.createContext)({}),pd="undefined"!=typeof window,hd=pd?F.useLayoutEffect:F.useEffect;function md(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function gd(e){return Array.isArray(e)}function vd(e){return"string"==typeof e||gd(e)}function yd(e,t,r,n,o){var a;return void 0===n&&(n={}),void 0===o&&(o={}),"function"==typeof t&&(t=t(null!=r?r:e.custom,n,o)),"string"==typeof t&&(t=null===(a=e.variants)||void 0===a?void 0:a[t]),"function"==typeof t&&(t=t(null!=r?r:e.custom,n,o)),t}function bd(e,t,r){var n=e.getProps();return yd(n,t,null!=r?r:n.custom,function(e){var t={};return e.forEachValue((function(e,r){return t[r]=e.get()})),t}(e),function(e){var t={};return e.forEachValue((function(e,r){return t[r]=e.getVelocity()})),t}(e))}function xd(e){var t;return"function"==typeof(null===(t=e.animate)||void 0===t?void 0:t.start)||vd(e.initial)||vd(e.animate)||vd(e.whileHover)||vd(e.whileDrag)||vd(e.whileTap)||vd(e.whileFocus)||vd(e.exit)}function wd(e){return Boolean(xd(e)||e.variants)}function Sd(e){return Array.isArray(e)?e.join(" "):e}const kd=(e,t,r)=>-r*e+r*t+e;function _d(e,t){return t?e*(1e3/t):0}function Ed(e,t){-1===e.indexOf(t)&&e.push(t)}function Cd(e,t){var r=e.indexOf(t);r>-1&&e.splice(r,1)}var Pd=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(e){var t=this;return Ed(this.subscriptions,e),function(){return Cd(t.subscriptions,e)}},e.prototype.notify=function(e,t,r){var n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](e,t,r);else for(var o=0;o<n;o++){var a=this.subscriptions[o];a&&a(e,t,r)}},e.prototype.getSize=function(){return this.subscriptions.length},e.prototype.clear=function(){this.subscriptions.length=0},e}(),Td=function(){function e(e){var t,r=this;this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new Pd,this.velocityUpdateSubscribers=new Pd,this.renderSubscribers=new Pd,this.canTrackVelocity=!1,this.updateAndNotify=function(e,t){void 0===t&&(t=!0),r.prev=r.current,r.current=e;var n=Uc(),o=n.delta,a=n.timestamp;r.lastUpdated!==a&&(r.timeDelta=o,r.lastUpdated=a,Wc.postRender(r.scheduleVelocityCheck)),r.prev!==r.current&&r.updateSubscribers.notify(r.current),r.velocityUpdateSubscribers.getSize()&&r.velocityUpdateSubscribers.notify(r.getVelocity()),t&&r.renderSubscribers.notify(r.current)},this.scheduleVelocityCheck=function(){return Wc.postRender(r.velocityCheck)},this.velocityCheck=function(e){e.timestamp!==r.lastUpdated&&(r.prev=r.current,r.velocityUpdateSubscribers.notify(r.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t)))}return e.prototype.onChange=function(e){return this.updateSubscribers.add(e)},e.prototype.clearListeners=function(){this.updateSubscribers.clear()},e.prototype.onRenderRequest=function(e){return e(this.get()),this.renderSubscribers.add(e)},e.prototype.attach=function(e){this.passiveEffect=e},e.prototype.set=function(e,t){void 0===t&&(t=!0),t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)},e.prototype.get=function(){return this.current},e.prototype.getPrevious=function(){return this.prev},e.prototype.getVelocity=function(){return this.canTrackVelocity?_d(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},e.prototype.start=function(e){var t=this;return this.stop(),new Promise((function(r){t.hasAnimated=!0,t.stopAnimation=e(r)})).then((function(){return t.clearAnimation()}))},e.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},e.prototype.isAnimating=function(){return!!this.stopAnimation},e.prototype.clearAnimation=function(){this.stopAnimation=null},e.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},e}();function zd(e){return new Td(e)}var jd=function(e){return Boolean(null!==e&&"object"==typeof e&&e.getVelocity)};const Od=(e,t,r)=>Math.min(Math.max(r,e),t);const Ad=12;function Rd(e,t){return e*Math.sqrt(1-t*t)}const Md=["duration","bounce"],Ld=["stiffness","damping","mass"];function Fd(e,t){return t.some((t=>void 0!==e[t]))}function Id(e){var{from:t=0,to:r=1,restSpeed:n=2,restDelta:o}=e,a=Ec(e,["from","to","restSpeed","restDelta"]);const i={done:!1,value:t};let{stiffness:l,damping:s,mass:u,velocity:c,duration:d,isResolvedFromDuration:f}=function(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!Fd(e,Ld)&&Fd(e,Md)){const r=function({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let o,a,i=1-t;i=Od(.05,1,i),e=Od(.01,10,e/1e3),i<1?(o=t=>{const n=t*i,o=n*e;return.001-(n-r)/Rd(t,i)*Math.exp(-o)},a=t=>{const n=t*i*e,a=n*r+r,l=Math.pow(i,2)*Math.pow(t,2)*e,s=Math.exp(-n),u=Rd(Math.pow(t,2),i);return(.001-o(t)>0?-1:1)*((a-l)*s)/u}):(o=t=>Math.exp(-t*e)*((t-r)*e+1)-.001,a=t=>Math.exp(-t*e)*(e*e*(r-t)));const l=function(e,t,r){let n=r;for(let r=1;r<Ad;r++)n-=e(n)/t(n);return n}(o,a,5/e);if(e*=1e3,isNaN(l))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(l,2)*n;return{stiffness:t,damping:2*i*Math.sqrt(n*t),duration:e}}}(e);t=Object.assign(Object.assign(Object.assign({},t),r),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}(a),p=Dd,h=Dd;function m(){const e=c?-c/1e3:0,n=r-t,a=s/(2*Math.sqrt(l*u)),i=Math.sqrt(l/u)/1e3;if(void 0===o&&(o=Math.min(Math.abs(r-t)/100,.4)),a<1){const t=Rd(i,a);p=o=>{const l=Math.exp(-a*i*o);return r-l*((e+a*i*n)/t*Math.sin(t*o)+n*Math.cos(t*o))},h=r=>{const o=Math.exp(-a*i*r);return a*i*o*(Math.sin(t*r)*(e+a*i*n)/t+n*Math.cos(t*r))-o*(Math.cos(t*r)*(e+a*i*n)-t*n*Math.sin(t*r))}}else if(1===a)p=t=>r-Math.exp(-i*t)*(n+(e+i*n)*t);else{const t=i*Math.sqrt(a*a-1);p=o=>{const l=Math.exp(-a*i*o),s=Math.min(t*o,300);return r-l*((e+a*i*n)*Math.sinh(s)+t*n*Math.cosh(s))/t}}}return m(),{next:e=>{const t=p(e);if(f)i.done=e>=d;else{const a=1e3*h(e),l=Math.abs(a)<=n,s=Math.abs(r-t)<=o;i.done=l&&s}return i.value=i.done?r:t,i},flipTarget:()=>{c=-c,[t,r]=[r,t],m()}}}Id.needsInterpolation=(e,t)=>"string"==typeof e||"string"==typeof t;const Dd=e=>0,$d=(e,t,r)=>{const n=t-e;return 0===n?1:(r-e)/n},Nd=(e,t)=>r=>Math.max(Math.min(r,t),e),Bd=e=>e%1?Number(e.toFixed(5)):e,Vd=/(-)?([\d]*\.?[\d])+/g,Ud=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,Wd=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function Hd(e){return"string"==typeof e}const qd={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},Xd=Object.assign(Object.assign({},qd),{transform:Nd(0,1)}),Yd=Object.assign(Object.assign({},qd),{default:1}),Gd=(e,t)=>r=>Boolean(Hd(r)&&Wd.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),Qd=(e,t,r)=>n=>{if(!Hd(n))return n;const[o,a,i,l]=n.match(Vd);return{[e]:parseFloat(o),[t]:parseFloat(a),[r]:parseFloat(i),alpha:void 0!==l?parseFloat(l):1}},Zd=Nd(0,255),Kd=Object.assign(Object.assign({},qd),{transform:e=>Math.round(Zd(e))}),Jd={test:Gd("rgb","red"),parse:Qd("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+Kd.transform(e)+", "+Kd.transform(t)+", "+Kd.transform(r)+", "+Bd(Xd.transform(n))+")"},ef={test:Gd("#"),parse:function(e){let t="",r="",n="",o="";return e.length>5?(t=e.substr(1,2),r=e.substr(3,2),n=e.substr(5,2),o=e.substr(7,2)):(t=e.substr(1,1),r=e.substr(2,1),n=e.substr(3,1),o=e.substr(4,1),t+=t,r+=r,n+=n,o+=o),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:o?parseInt(o,16)/255:1}},transform:Jd.transform},tf=e=>({test:t=>Hd(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),rf=tf("deg"),nf=tf("%"),of=tf("px"),af=tf("vh"),lf=tf("vw"),sf=Object.assign(Object.assign({},nf),{parse:e=>nf.parse(e)/100,transform:e=>nf.transform(100*e)}),uf={test:Gd("hsl","hue"),parse:Qd("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+nf.transform(Bd(t))+", "+nf.transform(Bd(r))+", "+Bd(Xd.transform(n))+")"};function cf(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function df({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,r/=100;let o=0,a=0,i=0;if(t/=100){const n=r<.5?r*(1+t):r+t-r*t,l=2*r-n;o=cf(l,n,e+1/3),a=cf(l,n,e),i=cf(l,n,e-1/3)}else o=a=i=r;return{red:Math.round(255*o),green:Math.round(255*a),blue:Math.round(255*i),alpha:n}}const ff=(e,t,r)=>{const n=e*e,o=t*t;return Math.sqrt(Math.max(0,r*(o-n)+n))},pf=[ef,Jd,uf],hf=e=>pf.find((t=>t.test(e))),mf=e=>`'${e}' is not an animatable color. Use the equivalent color code instead.`,gf=(e,t)=>{let r=hf(e),n=hf(t);mf(e),mf(t);let o=r.parse(e),a=n.parse(t);r===uf&&(o=df(o),r=Jd),n===uf&&(a=df(a),n=Jd);const i=Object.assign({},o);return e=>{for(const t in i)"alpha"!==t&&(i[t]=ff(o[t],a[t],e));return i.alpha=kd(o.alpha,a.alpha,e),r.transform(i)}},vf={test:e=>Jd.test(e)||ef.test(e)||uf.test(e),parse:e=>Jd.test(e)?Jd.parse(e):uf.test(e)?uf.parse(e):ef.parse(e),transform:e=>Hd(e)?e:e.hasOwnProperty("red")?Jd.transform(e):uf.transform(e)},yf="${c}",bf="${n}";function xf(e){"number"==typeof e&&(e=`${e}`);const t=[];let r=0;const n=e.match(Ud);n&&(r=n.length,e=e.replace(Ud,yf),t.push(...n.map(vf.parse)));const o=e.match(Vd);return o&&(e=e.replace(Vd,bf),t.push(...o.map(qd.parse))),{values:t,numColors:r,tokenised:e}}function wf(e){return xf(e).values}function Sf(e){const{values:t,numColors:r,tokenised:n}=xf(e),o=t.length;return e=>{let t=n;for(let n=0;n<o;n++)t=t.replace(n<r?yf:bf,n<r?vf.transform(e[n]):Bd(e[n]));return t}}const kf=e=>"number"==typeof e?0:e,_f={test:function(e){var t,r,n,o;return isNaN(e)&&Hd(e)&&(null!==(r=null===(t=e.match(Vd))||void 0===t?void 0:t.length)&&void 0!==r?r:0)+(null!==(o=null===(n=e.match(Ud))||void 0===n?void 0:n.length)&&void 0!==o?o:0)>0},parse:wf,createTransformer:Sf,getAnimatableNone:function(e){const t=wf(e);return Sf(e)(t.map(kf))}},Ef=e=>"number"==typeof e,Cf=(e,t)=>r=>t(e(r)),Pf=(...e)=>e.reduce(Cf);function Tf(e,t){return Ef(e)?r=>kd(e,t,r):vf.test(e)?gf(e,t):Af(e,t)}const zf=(e,t)=>{const r=[...e],n=r.length,o=e.map(((e,r)=>Tf(e,t[r])));return e=>{for(let t=0;t<n;t++)r[t]=o[t](e);return r}},jf=(e,t)=>{const r=Object.assign(Object.assign({},e),t),n={};for(const o in r)void 0!==e[o]&&void 0!==t[o]&&(n[o]=Tf(e[o],t[o]));return e=>{for(const t in n)r[t]=n[t](e);return r}};function Of(e){const t=_f.parse(e),r=t.length;let n=0,o=0,a=0;for(let e=0;e<r;e++)n||"number"==typeof t[e]?n++:void 0!==t[e].hue?a++:o++;return{parsed:t,numNumbers:n,numRGB:o,numHSL:a}}const Af=(e,t)=>{const r=_f.createTransformer(t),n=Of(e),o=Of(t);return n.numHSL===o.numHSL&&n.numRGB===o.numRGB&&n.numNumbers>=o.numNumbers?Pf(zf(n.parsed,o.parsed),r):r=>`${r>0?t:e}`},Rf=(e,t)=>r=>kd(e,t,r);function Mf(e,t,{clamp:r=!0,ease:n,mixer:o}={}){const a=e.length;t.length,!n||!Array.isArray(n)||n.length,e[0]>e[a-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const i=function(e,t,r){const n=[],o=r||("number"==typeof(a=e[0])?Rf:"string"==typeof a?vf.test(a)?gf:Af:Array.isArray(a)?zf:"object"==typeof a?jf:void 0);var a;const i=e.length-1;for(let r=0;r<i;r++){let a=o(e[r],e[r+1]);if(t){const e=Array.isArray(t)?t[r]:t;a=Pf(e,a)}n.push(a)}return n}(t,n,o),l=2===a?function([e,t],[r]){return n=>r($d(e,t,n))}(e,i):function(e,t){const r=e.length,n=r-1;return o=>{let a=0,i=!1;if(o<=e[0]?i=!0:o>=e[n]&&(a=n-1,i=!0),!i){let t=1;for(;t<r&&!(e[t]>o||t===n);t++);a=t-1}const l=$d(e[a],e[a+1],o);return t[a](l)}}(e,i);return r?t=>l(Od(e[0],e[a-1],t)):l}const Lf=e=>t=>1-e(1-t),Ff=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,If=e=>t=>t*t*((e+1)*t-e),Df=4/11,$f=8/11,Nf=e=>e,Bf=e=>Math.pow(e,2);const Vf=Lf(Bf),Uf=Ff(Bf),Wf=e=>1-Math.sin(Math.acos(e)),Hf=Lf(Wf),qf=Ff(Hf),Xf=If(1.525),Yf=Lf(Xf),Gf=Ff(Xf),Qf=(()=>{const e=If(1.525);return t=>(t*=2)<1?.5*e(t):.5*(2-Math.pow(2,-10*(t-1)))})(),Zf=4356/361,Kf=35442/1805,Jf=16061/1805,ep=e=>{if(1===e||0===e)return e;const t=e*e;return e<Df?7.5625*t:e<$f?9.075*t-9.9*e+3.4:e<.9?Zf*t-Kf*e+Jf:10.8*e*e-20.52*e+10.72},tp=Lf(ep);function rp(e,t){return e.map((()=>t||Uf)).splice(0,e.length-1)}function np({from:e=0,to:t=1,ease:r,offset:n,duration:o=300}){const a={done:!1,value:e},i=Array.isArray(t)?t:[e,t],l=function(e,t){return e.map((e=>e*t))}(n&&n.length===i.length?n:function(e){const t=e.length;return e.map(((e,r)=>0!==r?r/(t-1):0))}(i),o);function s(){return Mf(l,i,{ease:Array.isArray(r)?r:rp(i,r)})}let u=s();return{next:e=>(a.value=u(e),a.done=e>=o,a),flipTarget:()=>{i.reverse(),u=s()}}}const op={keyframes:np,spring:Id,decay:function({velocity:e=0,from:t=0,power:r=.8,timeConstant:n=350,restDelta:o=.5,modifyTarget:a}){const i={done:!1,value:t};let l=r*e;const s=t+l,u=void 0===a?s:a(s);return u!==s&&(l=u-t),{next:e=>{const t=-l*Math.exp(-e/n);return i.done=!(t>o||t<-o),i.value=i.done?u:u+t,i},flipTarget:()=>{}}}},ap=1/60*1e3,ip="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),lp="undefined"!=typeof window?e=>window.requestAnimationFrame(e):e=>setTimeout((()=>e(ip())),ap);let sp=!0,up=!1,cp=!1;const dp={delta:0,timestamp:0},fp=["read","update","preRender","render","postRender"],pp=fp.reduce(((e,t)=>(e[t]=function(){let e=[],t=[],r=0,n=!1,o=!1;const a=new WeakSet,i={schedule:(o,i=!1,l=!1)=>{const s=l&&n,u=s?e:t;return i&&a.add(o),-1===u.indexOf(o)&&(u.push(o),s&&n&&(r=e.length)),o},cancel:e=>{const r=t.indexOf(e);-1!==r&&t.splice(r,1),a.delete(e)},process:l=>{if(n)o=!0;else{if(n=!0,[e,t]=[t,e],t.length=0,r=e.length,r)for(let t=0;t<r;t++){const r=e[t];r(l),a.has(r)&&(i.schedule(r),up=!0)}n=!1,o&&(o=!1,i.process(l))}}};return i}(),e)),{}),hp=fp.reduce(((e,t)=>{const r=pp[t];return e[t]=(e,t=!1,n=!1)=>(up||yp(),r.schedule(e,t,n)),e}),{}),mp=fp.reduce(((e,t)=>(e[t]=pp[t].cancel,e)),{}),gp=(fp.reduce(((e,t)=>(e[t]=()=>pp[t].process(dp),e)),{}),e=>pp[e].process(dp)),vp=e=>{up=!1,dp.delta=sp?ap:Math.max(Math.min(e-dp.timestamp,40),1),dp.timestamp=e,cp=!0,fp.forEach(gp),cp=!1,up&&(sp=!1,lp(vp))},yp=()=>{up=!0,sp=!0,cp||lp(vp)},bp=hp;function xp(e,t,r=0){return e-t-r}const Sp=e=>{const t=({delta:t})=>e(t);return{start:()=>bp.update(t,!0),stop:()=>mp.update(t)}};function kp(e){var t,r,{from:n,autoplay:o=!0,driver:a=Sp,elapsed:i=0,repeat:l=0,repeatType:s="loop",repeatDelay:u=0,onPlay:c,onStop:d,onComplete:f,onRepeat:p,onUpdate:h}=e,m=Ec(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let g,v,y,{to:b}=m,x=0,w=m.duration,S=!1,k=!0;const _=function(e){if(Array.isArray(e.to))return np;if(op[e.type])return op[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?np:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?Id:np}(m);(null===(r=(t=_).needsInterpolation)||void 0===r?void 0:r.call(t,n,b))&&(y=Mf([0,100],[n,b],{clamp:!1}),n=0,b=100);const E=_(Object.assign(Object.assign({},m),{from:n,to:b}));return o&&(null==c||c(),g=a((function(e){if(k||(e=-e),i+=e,!S){const e=E.next(Math.max(0,i));v=e.value,y&&(v=y(v)),S=k?e.done:i<=0}null==h||h(v),S&&(0===x&&(null!=w||(w=i)),x<l?function(e,t,r,n){return n?e>=t+r:e<=-r}(i,w,u,k)&&(x++,"reverse"===s?(k=x%2==0,i=function(e,t,r=0,n=!0){return n?xp(t+-e,t,r):t-(e-t)+r}(i,w,u,k)):(i=xp(i,w,u),"mirror"===s&&E.flipTarget()),S=!1,p&&p()):(g.stop(),f&&f()))})),g.start()),{stop:()=>{null==d||d(),g.stop()}}}var _p=function(e){return 1e3*e};const Ep=(e,t)=>1-3*t+3*e,Cp=(e,t)=>3*t-6*e,Pp=e=>3*e,Tp=(e,t,r)=>((Ep(t,r)*e+Cp(t,r))*e+Pp(t))*e,zp=(e,t,r)=>3*Ep(t,r)*e*e+2*Cp(t,r)*e+Pp(t),jp=.1;function Op(e,t,r,n){if(e===t&&r===n)return Nf;const o=new Float32Array(11);for(let t=0;t<11;++t)o[t]=Tp(t*jp,e,r);return a=>0===a||1===a?a:Tp(function(t){let n=0,a=1;for(;10!==a&&o[a]<=t;++a)n+=jp;--a;const i=n+(t-o[a])/(o[a+1]-o[a])*jp,l=zp(i,e,r);return l>=.001?function(e,t,r,n){for(let o=0;o<8;++o){const o=zp(t,r,n);if(0===o)return t;t-=(Tp(t,r,n)-e)/o}return t}(t,i,e,r):0===l?i:function(e,t,r,n,o){let a,i,l=0;do{i=t+(r-t)/2,a=Tp(i,n,o)-e,a>0?r=i:t=i}while(Math.abs(a)>1e-7&&++l<10);return i}(t,n,n+jp,e,r)}(a),t,n)}var Ap={linear:Nf,easeIn:Bf,easeInOut:Uf,easeOut:Vf,circIn:Wf,circInOut:qf,circOut:Hf,backIn:Xf,backInOut:Gf,backOut:Yf,anticipate:Qf,bounceIn:tp,bounceInOut:e=>e<.5?.5*(1-ep(1-2*e)):.5*ep(2*e-1)+.5,bounceOut:ep},Rp=function(e){if(Array.isArray(e)){e.length;var t=Cc(e,4);return Op(t[0],t[1],t[2],t[3])}return"string"==typeof e?("Invalid easing type '".concat(e,"'"),Ap[e]):e},Mp=function(e,t){return!("zIndex"===e||"number"!=typeof t&&!Array.isArray(t)&&("string"!=typeof t||!_f.test(t)||t.startsWith("url(")))},Lp=function(e){return Array.isArray(e)},Fp=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},Ip=function(e){return{type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}},Dp=function(){return{type:"keyframes",ease:"linear",duration:.3}},$p=function(e){return{type:"keyframes",duration:.8,values:e}},Np={x:Fp,y:Fp,z:Fp,rotate:Fp,rotateX:Fp,rotateY:Fp,rotateZ:Fp,scaleX:Ip,scaleY:Ip,scale:Ip,opacity:Dp,backgroundColor:Dp,color:Dp,default:Ip};const Bp=new Set(["brightness","contrast","saturate","opacity"]);function Vp(e){let[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[n]=r.match(Vd)||[];if(!n)return e;const o=r.replace(n,"");let a=Bp.has(t)?1:0;return n!==r&&(a*=100),t+"("+a+o+")"}const Up=/([a-z-]*)\(.*?\)/g,Wp=Object.assign(Object.assign({},_f),{getAnimatableNone:e=>{const t=e.match(Up);return t?t.map(Vp).join(" "):e}});var Hp=_c(_c({},qd),{transform:Math.round}),qp={borderWidth:of,borderTopWidth:of,borderRightWidth:of,borderBottomWidth:of,borderLeftWidth:of,borderRadius:of,radius:of,borderTopLeftRadius:of,borderTopRightRadius:of,borderBottomRightRadius:of,borderBottomLeftRadius:of,width:of,maxWidth:of,height:of,maxHeight:of,size:of,top:of,right:of,bottom:of,left:of,padding:of,paddingTop:of,paddingRight:of,paddingBottom:of,paddingLeft:of,margin:of,marginTop:of,marginRight:of,marginBottom:of,marginLeft:of,rotate:rf,rotateX:rf,rotateY:rf,rotateZ:rf,scale:Yd,scaleX:Yd,scaleY:Yd,scaleZ:Yd,skew:rf,skewX:rf,skewY:rf,distance:of,translateX:of,translateY:of,translateZ:of,x:of,y:of,z:of,perspective:of,transformPerspective:of,opacity:Xd,originX:sf,originY:sf,originZ:of,zIndex:Hp,fillOpacity:Xd,strokeOpacity:Xd,numOctaves:Hp},Xp=_c(_c({},qp),{color:vf,backgroundColor:vf,outlineColor:vf,fill:vf,stroke:vf,borderColor:vf,borderTopColor:vf,borderRightColor:vf,borderBottomColor:vf,borderLeftColor:vf,filter:Wp,WebkitFilter:Wp}),Yp=function(e){return Xp[e]};function Gp(e,t){var r,n=Yp(e);return n!==Wp&&(n=_f),null===(r=n.getAnimatableNone)||void 0===r?void 0:r.call(n,t)}var Qp=function(e){return Lp(e)?e[e.length-1]||0:e};function Zp(e,t,r){var n,o,a,i;return Array.isArray(t.to)&&(null!==(n=e.duration)&&void 0!==n||(e.duration=.8)),function(e){Array.isArray(e.to)&&null===e.to[0]&&(e.to=Pc([],Cc(e.to),!1),e.to[0]=e.from)}(t),function(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=Ec(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}(e)||(e=_c(_c({},e),(o=r,a=t.to,i=Lp(a)?$p:Np[o]||Np.default,_c({to:a},i(a))))),_c(_c({},t),function(e){var t=e.ease,r=e.times,n=e.yoyo,o=e.flip,a=e.loop,i=Ec(e,["ease","times","yoyo","flip","loop"]),l=_c({},i);return r&&(l.offset=r),i.duration&&(l.duration=_p(i.duration)),i.repeatDelay&&(l.repeatDelay=_p(i.repeatDelay)),t&&(l.ease=function(e){return Array.isArray(e)&&"number"!=typeof e[0]}(t)?t.map(Rp):Rp(t)),"tween"===i.type&&(l.type="keyframes"),(n||a||o)&&(n?l.repeatType="reverse":a?l.repeatType="loop":o&&(l.repeatType="mirror"),l.repeat=a||n||o||i.repeat),"spring"!==i.type&&(l.type="keyframes"),l}(e))}function Kp(e){return 0===e||"string"==typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function Jp(e){return"number"==typeof e?0:Gp("",e)}function eh(e,t){return e[t]||e.default||e}function th(e,t,r,n){return void 0===n&&(n={}),t.start((function(o){var a,i,l=function(e,t,r,n,o){var a,i=eh(n,e),l=null!==(a=i.from)&&void 0!==a?a:t.get(),s=Mp(e,r);"none"===l&&s&&"string"==typeof r?l=Gp(e,r):Kp(l)&&"string"==typeof r?l=Jp(r):!Array.isArray(r)&&Kp(r)&&"string"==typeof l&&(r=Jp(l));var u=Mp(e,l);return"You are trying to animate ".concat(e,' from "').concat(l,'" to "').concat(r,'". ').concat(l," is not an animatable value - to enable this animation set ").concat(l," to a value animatable to ").concat(r," via the `style` property."),u&&s&&!1!==i.type?function(){var n={from:l,to:r,velocity:t.getVelocity(),onComplete:o,onUpdate:function(e){return t.set(e)}};return"inertia"===i.type||"decay"===i.type?function({from:e=0,velocity:t=0,min:r,max:n,power:o=.8,timeConstant:a=750,bounceStiffness:i=500,bounceDamping:l=10,restDelta:s=1,modifyTarget:u,driver:c,onUpdate:d,onComplete:f,onStop:p}){let h;function m(e){return void 0!==r&&e<r||void 0!==n&&e>n}function g(e){return void 0===r?n:void 0===n||Math.abs(r-e)<Math.abs(n-e)?r:n}function v(e){null==h||h.stop(),h=kp(Object.assign(Object.assign({},e),{driver:c,onUpdate:t=>{var r;null==d||d(t),null===(r=e.onUpdate)||void 0===r||r.call(e,t)},onComplete:f,onStop:p}))}function y(e){v(Object.assign({type:"spring",stiffness:i,damping:l,restDelta:s},e))}if(m(e))y({from:e,velocity:t,to:g(e)});else{let n=o*t+e;void 0!==u&&(n=u(n));const i=g(n),l=i===r?-1:1;let c,d;const f=e=>{c=d,d=e,t=_d(e-c,dp.delta),(1===l&&e>i||-1===l&&e<i)&&y({from:e,to:i,velocity:t})};v({type:"decay",from:e,velocity:t,timeConstant:a,power:o,restDelta:s,modifyTarget:u,onUpdate:m(n)?f:void 0})}return{stop:()=>null==h?void 0:h.stop()}}(_c(_c({},n),i)):kp(_c(_c({},Zp(i,n,e)),{onUpdate:function(e){var t;n.onUpdate(e),null===(t=i.onUpdate)||void 0===t||t.call(i,e)},onComplete:function(){var e;n.onComplete(),null===(e=i.onComplete)||void 0===e||e.call(i)}}))}:function(){var e,n,a=Qp(r);return t.set(a),o(),null===(e=null==i?void 0:i.onUpdate)||void 0===e||e.call(i,a),null===(n=null==i?void 0:i.onComplete)||void 0===n||n.call(i),{stop:function(){}}}}(e,t,r,n,o),s=function(e,t){var r,n;return null!==(n=null!==(r=(eh(e,t)||{}).delay)&&void 0!==r?r:e.delay)&&void 0!==n?n:0}(n,e),u=function(){return i=l()};return s?a=setTimeout(u,_p(s)):u(),function(){clearTimeout(a),null==i||i.stop()}}))}var rh=["TopLeft","TopRight","BottomLeft","BottomRight"],nh=rh.length,oh=function(e){return"string"==typeof e?parseFloat(e):e},ah=function(e){return"number"==typeof e||of.test(e)};function ih(e,t){var r;return null!==(r=e[t])&&void 0!==r?r:e.borderRadius}var lh=uh(0,.5,Hf),sh=uh(.5,.95,Nf);function uh(e,t,r){return function(n){return n<e?0:n>t?1:r($d(e,t,n))}}function ch(e,t){e.min=t.min,e.max=t.max}function dh(e,t){ch(e.x,t.x),ch(e.y,t.y)}function fh(e){return void 0===e||1===e}function ph(e){var t=e.scale,r=e.scaleX,n=e.scaleY;return!fh(t)||!fh(r)||!fh(n)}function hh(e){return ph(e)||mh(e.x)||mh(e.y)||e.z||e.rotate||e.rotateX||e.rotateY}function mh(e){return e&&"0%"!==e}function gh(e,t,r){return r+t*(e-r)}function vh(e,t,r,n,o){return void 0!==o&&(e=gh(e,o,n)),gh(e,r,n)+t}function yh(e,t,r,n,o){void 0===t&&(t=0),void 0===r&&(r=1),e.min=vh(e.min,t,r,n,o),e.max=vh(e.max,t,r,n,o)}function bh(e,t){var r=t.x,n=t.y;yh(e.x,r.translate,r.scale,r.originPoint),yh(e.y,n.translate,n.scale,n.originPoint)}function xh(e,t){e.min=e.min+t,e.max=e.max+t}function wh(e,t,r){var n=Cc(r,3),o=n[0],a=n[1],i=n[2],l=void 0!==t[i]?t[i]:.5,s=kd(e.min,e.max,l);yh(e,t[o],t[a],s,t.scale)}var Sh=["x","scaleX","originX"],kh=["y","scaleY","originY"];function _h(e,t){wh(e.x,t,Sh),wh(e.y,t,kh)}const Eh=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),Ch=e=>Eh(e)&&e.hasOwnProperty("z"),Ph=(e,t)=>Math.abs(e-t);function Th(e,t){if(Ef(e)&&Ef(t))return Ph(e,t);if(Eh(e)&&Eh(t)){const r=Ph(e.x,t.x),n=Ph(e.y,t.y),o=Ch(e)&&Ch(t)?Ph(e.z,t.z):0;return Math.sqrt(Math.pow(r,2)+Math.pow(n,2)+Math.pow(o,2))}}function zh(e){return e.max-e.min}function jh(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=.01),Th(e,t)<r}function Oh(e,t,r,n){void 0===n&&(n=.5),e.origin=n,e.originPoint=kd(t.min,t.max,e.origin),e.scale=zh(r)/zh(t),(jh(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=kd(r.min,r.max,e.origin)-e.originPoint,(jh(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Ah(e,t,r,n){Oh(e.x,t.x,r.x,null==n?void 0:n.originX),Oh(e.y,t.y,r.y,null==n?void 0:n.originY)}function Rh(e,t,r){e.min=r.min+t.min,e.max=e.min+zh(t)}function Mh(e,t,r){e.min=t.min-r.min,e.max=e.min+zh(t)}function Lh(e,t,r){Mh(e.x,t.x,r.x),Mh(e.y,t.y,r.y)}function Fh(e,t,r,n,o){return e=gh(e-=t,1/r,n),void 0!==o&&(e=gh(e,1/o,n)),e}function Ih(e,t,r,n,o){var a=Cc(r,3),i=a[0],l=a[1],s=a[2];!function(e,t,r,n,o,a,i){if(void 0===t&&(t=0),void 0===r&&(r=1),void 0===n&&(n=.5),void 0===a&&(a=e),void 0===i&&(i=e),nf.test(t)&&(t=parseFloat(t),t=kd(i.min,i.max,t/100)-i.min),"number"==typeof t){var l=kd(a.min,a.max,n);e===a&&(l-=t),e.min=Fh(e.min,t,r,l,o),e.max=Fh(e.max,t,r,l,o)}}(e,t[i],t[l],t[s],t.scale,n,o)}var Dh=["x","scaleX","originX"],$h=["y","scaleY","originY"];function Nh(e,t,r,n){Ih(e.x,t,Dh,null==r?void 0:r.x,null==n?void 0:n.x),Ih(e.y,t,$h,null==r?void 0:r.y,null==n?void 0:n.y)}function Bh(e){return 0===e.translate&&1===e.scale}function Vh(e){return Bh(e.x)&&Bh(e.y)}function Uh(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}var Wh=function(){function e(){this.members=[]}return e.prototype.add=function(e){Ed(this.members,e),e.scheduleRender()},e.prototype.remove=function(e){if(Cd(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){var t=this.members[this.members.length-1];t&&this.promote(t)}},e.prototype.relegate=function(e){var t,r=this.members.findIndex((function(t){return e===t}));if(0===r)return!1;for(var n=r;n>=0;n--){var o=this.members[n];if(!1!==o.isPresent){t=o;break}}return!!t&&(this.promote(t),!0)},e.prototype.promote=function(e,t){var r,n=this.lead;e!==n&&(this.prevLead=n,this.lead=e,e.show(),n&&(n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues,e.snapshot.isShared=!0),(null===(r=e.root)||void 0===r?void 0:r.isUpdating)&&(e.isLayoutDirty=!0),!1===e.options.crossfade&&n.hide()))},e.prototype.exitAnimationComplete=function(){this.members.forEach((function(e){var t,r,n,o,a;null===(r=(t=e.options).onExitComplete)||void 0===r||r.call(t),null===(a=null===(n=e.resumingFrom)||void 0===n?void 0:(o=n.options).onExitComplete)||void 0===a||a.call(o)}))},e.prototype.scheduleRender=function(){this.members.forEach((function(e){e.instance&&e.scheduleRender(!1)}))},e.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},e}(),Hh={};function qh(e,t,r){var n=e.x.translate/t.x,o=e.y.translate/t.y,a="translate3d(".concat(n,"px, ").concat(o,"px, 0) ");if(r){var i=r.rotate,l=r.rotateX,s=r.rotateY;i&&(a+="rotate(".concat(i,"deg) ")),l&&(a+="rotateX(".concat(l,"deg) ")),s&&(a+="rotateY(".concat(s,"deg) "))}return"translate3d(0px, 0px, 0) scale(1, 1)"===(a+="scale(".concat(e.x.scale,", ").concat(e.y.scale,")"))?"none":a}function Xh(e){return[e("x"),e("y")]}var Yh=["","X","Y","Z"],Gh=["transformPerspective","x","y","z"];function Qh(e,t){return Gh.indexOf(e)-Gh.indexOf(t)}["translate","scale","rotate","skew"].forEach((function(e){return Yh.forEach((function(t){return Gh.push(e+t)}))}));var Zh=new Set(Gh);function Kh(e){return Zh.has(e)}var Jh=new Set(["originX","originY","originZ"]);function em(e){return Jh.has(e)}var tm=function(e,t){return e.depth-t.depth},rm=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(e){Ed(this.children,e),this.isDirty=!0},e.prototype.remove=function(e){Cd(this.children,e),this.isDirty=!0},e.prototype.forEach=function(e){this.isDirty&&this.children.sort(tm),this.isDirty=!1,this.children.forEach(e)},e}();function nm(e){var t,r=jd(e)?e.get():e;return t=r,Boolean(t&&"object"==typeof t&&t.mix&&t.toValue)?r.toValue():r}var om={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function am(e){var t=e.attachResizeListener,r=e.defaultParent,n=e.measureScroll,o=e.resetTransform;return function(){function e(e,t,n){var o=this;void 0===t&&(t={}),void 0===n&&(n=null==r?void 0:r()),this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=function(){o.isUpdating&&(o.isUpdating=!1,o.clearAllSnapshots())},this.updateProjection=function(){o.nodes.forEach(fm),o.nodes.forEach(pm)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=e,this.latestValues=t,this.root=n?n.root||n:this,this.path=n?Pc(Pc([],Cc(n.path),!1),[n],!1):[],this.parent=n,this.depth=n?n.depth+1:0,e&&this.root.registerPotentialNode(e,this);for(var a=0;a<this.path.length;a++)this.path[a].shouldResetTransform=!0;this.root===this&&(this.nodes=new rm)}return e.prototype.addEventListener=function(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Pd),this.eventHandlers.get(e).add(t)},e.prototype.notifyListeners=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=this.eventHandlers.get(e);null==n||n.notify.apply(n,Pc([],Cc(t),!1))},e.prototype.hasListeners=function(e){return this.eventHandlers.has(e)},e.prototype.registerPotentialNode=function(e,t){this.potentialNodes.set(e,t)},e.prototype.mount=function(e,r){var n,o=this;if(void 0===r&&(r=!1),!this.instance){this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;var a=this.options,i=a.layoutId,l=a.layout,s=a.visualElement;if(s&&!s.getInstance()&&s.mount(e),this.root.nodes.add(this),null===(n=this.parent)||void 0===n||n.children.add(this),this.id&&this.root.potentialNodes.delete(this.id),r&&(l||i)&&(this.isLayoutDirty=!0),t){var u,c=function(){return o.root.updateBlockedByResize=!1};t(e,(function(){o.root.updateBlockedByResize=!0,clearTimeout(u),u=setTimeout(c,250),om.hasAnimatedSinceResize&&(om.hasAnimatedSinceResize=!1,o.nodes.forEach(dm))}))}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&s&&(i||l)&&this.addEventListener("didUpdate",(function(e){var t,r,n,a,i,l=e.delta,u=e.hasLayoutChanged,c=e.hasRelativeTargetChanged,d=e.layout;if(o.isTreeAnimationBlocked())return o.target=void 0,void(o.relativeTarget=void 0);var f=null!==(r=null!==(t=o.options.transition)&&void 0!==t?t:s.getDefaultTransition())&&void 0!==r?r:bm,p=s.getProps().onLayoutAnimationComplete,h=!o.targetLayout||!Uh(o.targetLayout,d)||c,m=!u&&c;(null===(n=o.resumeFrom)||void 0===n?void 0:n.instance)||m||u&&(h||!o.currentAnimation)?(o.resumeFrom&&(o.resumingFrom=o.resumeFrom,o.resumingFrom.resumingFrom=void 0),o.setAnimationOrigin(l,m),o.startAnimation(_c(_c({},eh(f,"layout")),{onComplete:p}))):o.isLead()&&(null===(i=(a=o.options).onExitComplete)||void 0===i||i.call(a)),o.targetLayout=d}))}},e.prototype.unmount=function(){var e,t;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),null===(e=this.getStack())||void 0===e||e.remove(this),null===(t=this.parent)||void 0===t||t.children.delete(this),this.instance=void 0,Dc.preRender(this.updateProjection)},e.prototype.blockUpdate=function(){this.updateManuallyBlocked=!0},e.prototype.unblockUpdate=function(){this.updateManuallyBlocked=!1},e.prototype.isUpdateBlocked=function(){return this.updateManuallyBlocked||this.updateBlockedByResize},e.prototype.isTreeAnimationBlocked=function(){var e;return this.isAnimationBlocked||(null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimationBlocked())||!1},e.prototype.startUpdate=function(){var e;this.isUpdateBlocked()||(this.isUpdating=!0,null===(e=this.nodes)||void 0===e||e.forEach(hm))},e.prototype.willUpdate=function(e){var t,r,n;if(void 0===e&&(e=!0),this.root.isUpdateBlocked())null===(r=(t=this.options).onExitComplete)||void 0===r||r.call(t);else if(!this.root.isUpdating&&this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var o=0;o<this.path.length;o++){var a=this.path[o];a.shouldResetTransform=!0,a.updateScroll()}var i=this.options,l=i.layoutId,s=i.layout;if(void 0!==l||s){var u=null===(n=this.options.visualElement)||void 0===n?void 0:n.getProps().transformTemplate;this.prevTransformTemplateValue=null==u?void 0:u(this.latestValues,""),this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}}},e.prototype.didUpdate=function(){if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(um);this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(xm),this.potentialNodes.clear()),this.nodes.forEach(cm),this.nodes.forEach(im),this.nodes.forEach(lm),this.clearAllSnapshots(),$c.update(),$c.preRender(),$c.render())},e.prototype.clearAllSnapshots=function(){this.nodes.forEach(sm),this.sharedNodes.forEach(mm)},e.prototype.scheduleUpdateProjection=function(){Wc.preRender(this.updateProjection,!1,!0)},e.prototype.scheduleCheckAfterUnmount=function(){var e=this;Wc.postRender((function(){e.isLayoutDirty?e.root.didUpdate():e.root.checkUpdateFailed()}))},e.prototype.updateSnapshot=function(){if(!this.snapshot&&this.instance){var e=this.measure(),t=this.removeTransform(this.removeElementScroll(e));Sm(t),this.snapshot={measured:e,layout:t,latestValues:{}}}},e.prototype.updateLayout=function(){var e;if(this.instance&&(this.updateScroll(),this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty)){if(this.resumeFrom&&!this.resumeFrom.instance)for(var t=0;t<this.path.length;t++)this.path[t].updateScroll();var r=this.measure();Sm(r);var n=this.layout;this.layout={measured:r,actual:this.removeElementScroll(r)},this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),null===(e=this.options.visualElement)||void 0===e||e.notifyLayoutMeasure(this.layout.actual,null==n?void 0:n.actual)}},e.prototype.updateScroll=function(){this.options.layoutScroll&&this.instance&&(this.scroll=n(this.instance))},e.prototype.resetTransform=function(){var e;if(o){var t=this.isLayoutDirty||this.shouldResetTransform,r=this.projectionDelta&&!Vh(this.projectionDelta),n=null===(e=this.options.visualElement)||void 0===e?void 0:e.getProps().transformTemplate,a=null==n?void 0:n(this.latestValues,""),i=a!==this.prevTransformTemplateValue;t&&(r||hh(this.latestValues)||i)&&(o(this.instance,a),this.shouldResetTransform=!1,this.scheduleRender())}},e.prototype.measure=function(){var e=this.options.visualElement;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};var t=e.measureViewportBox(),r=this.root.scroll;return r&&(xh(t.x,r.x),xh(t.y,r.y)),t},e.prototype.removeElementScroll=function(e){var t={x:{min:0,max:0},y:{min:0,max:0}};dh(t,e);for(var r=0;r<this.path.length;r++){var n=this.path[r],o=n.scroll,a=n.options;n!==this.root&&o&&a.layoutScroll&&(xh(t.x,o.x),xh(t.y,o.y))}return t},e.prototype.applyTransform=function(e,t){void 0===t&&(t=!1);var r={x:{min:0,max:0},y:{min:0,max:0}};dh(r,e);for(var n=0;n<this.path.length;n++){var o=this.path[n];!t&&o.options.layoutScroll&&o.scroll&&o!==o.root&&_h(r,{x:-o.scroll.x,y:-o.scroll.y}),hh(o.latestValues)&&_h(r,o.latestValues)}return hh(this.latestValues)&&_h(r,this.latestValues),r},e.prototype.removeTransform=function(e){var t,r={x:{min:0,max:0},y:{min:0,max:0}};dh(r,e);for(var n=0;n<this.path.length;n++){var o=this.path[n];if(o.instance&&hh(o.latestValues)){ph(o.latestValues)&&o.updateSnapshot();var a={x:{min:0,max:0},y:{min:0,max:0}};dh(a,o.measure()),Nh(r,o.latestValues,null===(t=o.snapshot)||void 0===t?void 0:t.layout,a)}}return hh(this.latestValues)&&Nh(r,this.latestValues),r},e.prototype.setTargetDelta=function(e){this.targetDelta=e,this.root.scheduleUpdateProjection()},e.prototype.setOptions=function(e){var t;this.options=_c(_c(_c({},this.options),e),{crossfade:null===(t=e.crossfade)||void 0===t||t})},e.prototype.clearMeasurements=function(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1},e.prototype.resolveTargetDelta=function(){var e,t,r,n,o=this.options,a=o.layout,i=o.layoutId;this.layout&&(a||i)&&(this.targetDelta||this.relativeTarget||(this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&this.relativeParent.layout&&(this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Lh(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),dh(this.relativeTarget,this.relativeTargetOrigin))),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&(null===(e=this.relativeParent)||void 0===e?void 0:e.target)?(t=this.target,r=this.relativeTarget,n=this.relativeParent.target,Rh(t.x,r.x,n.x),Rh(t.y,r.y,n.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):dh(this.target,this.layout.actual),bh(this.target,this.targetDelta)):dh(this.target,this.layout.actual),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&Boolean(this.relativeParent.resumingFrom)===Boolean(this.resumingFrom)&&!this.relativeParent.options.layoutScroll&&this.relativeParent.target&&(this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Lh(this.relativeTargetOrigin,this.target,this.relativeParent.target),dh(this.relativeTarget,this.relativeTargetOrigin)))))},e.prototype.getClosestProjectingParent=function(){if(this.parent&&!hh(this.parent.latestValues))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()},e.prototype.calcProjection=function(){var e,t=this.options,r=t.layout,n=t.layoutId;if(this.isTreeAnimating=Boolean((null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),this.layout&&(r||n)){var o=this.getLead();dh(this.layoutCorrected,this.layout.actual),function(e,t,r,n){var o,a;void 0===n&&(n=!1);var i=r.length;if(i){var l,s;t.x=t.y=1;for(var u=0;u<i;u++)s=(l=r[u]).projectionDelta,"contents"!==(null===(a=null===(o=l.instance)||void 0===o?void 0:o.style)||void 0===a?void 0:a.display)&&(n&&l.options.layoutScroll&&l.scroll&&l!==l.root&&_h(e,{x:-l.scroll.x,y:-l.scroll.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,bh(e,s)),n&&hh(l.latestValues)&&_h(e,l.latestValues))}}(this.layoutCorrected,this.treeScale,this.path,Boolean(this.resumingFrom)||this!==o);var a=o.target;if(a){this.projectionDelta||(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}});var i=this.treeScale.x,l=this.treeScale.y,s=this.projectionTransform;Ah(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.projectionTransform=qh(this.projectionDelta,this.treeScale),this.projectionTransform===s&&this.treeScale.x===i&&this.treeScale.y===l||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a))}}},e.prototype.hide=function(){this.isVisible=!1},e.prototype.show=function(){this.isVisible=!0},e.prototype.scheduleRender=function(e){var t,r,n;void 0===e&&(e=!0),null===(r=(t=this.options).scheduleRender)||void 0===r||r.call(t),e&&(null===(n=this.getStack())||void 0===n||n.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)},e.prototype.setAnimationOrigin=function(e,t){var r,n=this;void 0===t&&(t=!1);var o=this.snapshot,a=(null==o?void 0:o.latestValues)||{},i=_c({},this.latestValues),l={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!t;var s={x:{min:0,max:0},y:{min:0,max:0}},u=null==o?void 0:o.isShared,c=((null===(r=this.getStack())||void 0===r?void 0:r.members.length)||0)<=1,d=Boolean(u&&!c&&!0===this.options.crossfade&&!this.path.some(ym));this.mixTargetDelta=function(t){var r,o,f,p,h,m=t/1e3;gm(l.x,e.x,m),gm(l.y,e.y,m),n.setTargetDelta(l),n.relativeTarget&&n.relativeTargetOrigin&&n.layout&&(null===(r=n.relativeParent)||void 0===r?void 0:r.layout)&&(Lh(s,n.layout.actual,n.relativeParent.layout.actual),o=n.relativeTarget,f=n.relativeTargetOrigin,p=s,h=m,vm(o.x,f.x,p.x,h),vm(o.y,f.y,p.y,h)),u&&(n.animationValues=i,function(e,t,r,n,o,a){var i,l,s,u;o?(e.opacity=kd(0,null!==(i=r.opacity)&&void 0!==i?i:1,lh(n)),e.opacityExit=kd(null!==(l=t.opacity)&&void 0!==l?l:1,0,sh(n))):a&&(e.opacity=kd(null!==(s=t.opacity)&&void 0!==s?s:1,null!==(u=r.opacity)&&void 0!==u?u:1,n));for(var c=0;c<nh;c++){var d="border".concat(rh[c],"Radius"),f=ih(t,d),p=ih(r,d);void 0===f&&void 0===p||(f||(f=0),p||(p=0),0===f||0===p||ah(f)===ah(p)?(e[d]=Math.max(kd(oh(f),oh(p),n),0),(nf.test(p)||nf.test(f))&&(e[d]+="%")):e[d]=p)}(t.rotate||r.rotate)&&(e.rotate=kd(t.rotate||0,r.rotate||0,n))}(i,a,n.latestValues,m,d,c)),n.root.scheduleUpdateProjection(),n.scheduleRender()},this.mixTargetDelta(0)},e.prototype.startAnimation=function(e){var t,r,n=this;null===(t=this.currentAnimation)||void 0===t||t.stop(),this.resumingFrom&&(null===(r=this.resumingFrom.currentAnimation)||void 0===r||r.stop()),this.pendingAnimation&&(Dc.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Wc.update((function(){om.hasAnimatedSinceResize=!0,n.currentAnimation=function(e,t,r){void 0===r&&(r={});var n=jd(0)?0:zd(0);return th("",n,1e3,r),{stop:function(){return n.stop()},isAnimating:function(){return n.isAnimating()}}}(0,0,_c(_c({},e),{onUpdate:function(t){var r;n.mixTargetDelta(t),null===(r=e.onUpdate)||void 0===r||r.call(e,t)},onComplete:function(){var t;null===(t=e.onComplete)||void 0===t||t.call(e),n.completeAnimation()}})),n.resumingFrom&&(n.resumingFrom.currentAnimation=n.currentAnimation),n.pendingAnimation=void 0}))},e.prototype.completeAnimation=function(){var e;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),null===(e=this.getStack())||void 0===e||e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")},e.prototype.finishAnimation=function(){var e;this.currentAnimation&&(null===(e=this.mixTargetDelta)||void 0===e||e.call(this,1e3),this.currentAnimation.stop()),this.completeAnimation()},e.prototype.applyTransformsToTarget=function(){var e=this.getLead(),t=e.targetWithTransforms,r=e.target,n=e.layout,o=e.latestValues;t&&r&&n&&(dh(t,r),_h(t,o),Ah(this.projectionDeltaWithTransform,this.layoutCorrected,t,o))},e.prototype.registerSharedNode=function(e,t){var r,n,o;this.sharedNodes.has(e)||this.sharedNodes.set(e,new Wh),this.sharedNodes.get(e).add(t),t.promote({transition:null===(r=t.options.initialPromotionConfig)||void 0===r?void 0:r.transition,preserveFollowOpacity:null===(o=null===(n=t.options.initialPromotionConfig)||void 0===n?void 0:n.shouldPreserveFollowOpacity)||void 0===o?void 0:o.call(n,t)})},e.prototype.isLead=function(){var e=this.getStack();return!e||e.lead===this},e.prototype.getLead=function(){var e;return this.options.layoutId&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this},e.prototype.getPrevLead=function(){var e;return this.options.layoutId?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0},e.prototype.getStack=function(){var e=this.options.layoutId;if(e)return this.root.sharedNodes.get(e)},e.prototype.promote=function(e){var t=void 0===e?{}:e,r=t.needsReset,n=t.transition,o=t.preserveFollowOpacity,a=this.getStack();a&&a.promote(this,o),r&&(this.projectionDelta=void 0,this.needsReset=!0),n&&this.setOptions({transition:n})},e.prototype.relegate=function(){var e=this.getStack();return!!e&&e.relegate(this)},e.prototype.resetRotation=function(){var e=this.options.visualElement;if(e){for(var t=!1,r={},n=0;n<Yh.length;n++){var o="rotate"+Yh[n];e.getStaticValue(o)&&(t=!0,r[o]=e.getStaticValue(o),e.setStaticValue(o,0))}if(t){for(var o in null==e||e.syncRender(),r)e.setStaticValue(o,r[o]);e.scheduleRender()}}},e.prototype.getProjectionStyles=function(e){var t,r,n,o,a,i;void 0===e&&(e={});var l={};if(!this.instance||this.isSVG)return l;if(!this.isVisible)return{visibility:"hidden"};l.visibility="";var s=null===(t=this.options.visualElement)||void 0===t?void 0:t.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,l.opacity="",l.pointerEvents=nm(e.pointerEvents)||"",l.transform=s?s(this.latestValues,""):"none",l;var u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){var c={};return this.options.layoutId&&(c.opacity=null!==(r=this.latestValues.opacity)&&void 0!==r?r:1,c.pointerEvents=nm(e.pointerEvents)||""),this.hasProjected&&!hh(this.latestValues)&&(c.transform=s?s({},""):"none",this.hasProjected=!1),c}var d=u.animationValues||u.latestValues;this.applyTransformsToTarget(),l.transform=qh(this.projectionDeltaWithTransform,this.treeScale,d),s&&(l.transform=s(d,l.transform));var f=this.projectionDelta,p=f.x,h=f.y;for(var m in l.transformOrigin="".concat(100*p.origin,"% ").concat(100*h.origin,"% 0"),u.animationValues?l.opacity=u===this?null!==(o=null!==(n=d.opacity)&&void 0!==n?n:this.latestValues.opacity)&&void 0!==o?o:1:this.preserveOpacity?this.latestValues.opacity:d.opacityExit:l.opacity=u===this?null!==(a=d.opacity)&&void 0!==a?a:"":null!==(i=d.opacityExit)&&void 0!==i?i:0,Hh)if(void 0!==d[m]){var g=Hh[m],v=g.correct,y=g.applyTo,b=v(d[m],u);if(y)for(var x=y.length,w=0;w<x;w++)l[y[w]]=b;else l[m]=b}return this.options.layoutId&&(l.pointerEvents=u===this?nm(e.pointerEvents)||"":"none"),l},e.prototype.clearSnapshot=function(){this.resumeFrom=this.snapshot=void 0},e.prototype.resetTree=function(){this.root.nodes.forEach((function(e){var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()})),this.root.nodes.forEach(um),this.root.sharedNodes.clear()},e}()}function im(e){e.updateLayout()}function lm(e){var t,r,n,o,a=null!==(r=null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)&&void 0!==r?r:e.snapshot;if(e.isLead()&&e.layout&&a&&e.hasListeners("didUpdate")){var i=e.layout,l=i.actual,s=i.measured;"size"===e.options.animationType?Xh((function(e){var t=a.isShared?a.measured[e]:a.layout[e],r=zh(t);t.min=l[e].min,t.max=t.min+r})):"position"===e.options.animationType&&Xh((function(e){var t=a.isShared?a.measured[e]:a.layout[e],r=zh(l[e]);t.max=t.min+r}));var u={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};Ah(u,l,a.layout);var c={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};a.isShared?Ah(c,e.applyTransform(s,!0),a.measured):Ah(c,l,a.layout);var d=!Vh(u),f=!1;if(!e.resumeFrom&&(e.relativeParent=e.getClosestProjectingParent(),e.relativeParent&&!e.relativeParent.resumeFrom)){var p=e.relativeParent,h=p.snapshot,m=p.layout;if(h&&m){var g={x:{min:0,max:0},y:{min:0,max:0}};Lh(g,a.layout,h.layout);var v={x:{min:0,max:0},y:{min:0,max:0}};Lh(v,l,m.actual),Uh(g,v)||(f=!0)}}e.notifyListeners("didUpdate",{layout:l,snapshot:a,delta:c,layoutDelta:u,hasLayoutChanged:d,hasRelativeTargetChanged:f})}else e.isLead()&&(null===(o=(n=e.options).onExitComplete)||void 0===o||o.call(n));e.options.transition=void 0}function sm(e){e.clearSnapshot()}function um(e){e.clearMeasurements()}function cm(e){e.resetTransform()}function dm(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function fm(e){e.resolveTargetDelta()}function pm(e){e.calcProjection()}function hm(e){e.resetRotation()}function mm(e){e.removeLeadSnapshot()}function gm(e,t,r){e.translate=kd(t.translate,0,r),e.scale=kd(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function vm(e,t,r,n){e.min=kd(t.min,r.min,n),e.max=kd(t.max,r.max,n)}function ym(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}var bm={duration:.45,ease:[.4,0,.1,1]};function xm(e,t){for(var r=e.root,n=e.path.length-1;n>=0;n--)if(Boolean(e.path[n].instance)){r=e.path[n];break}var o=(r&&r!==e.root?r.instance:document).querySelector('[data-projection-id="'.concat(t,'"]'));o&&e.mount(o,!0)}function wm(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function Sm(e){wm(e.x),wm(e.y)}var km=1,_m=(0,F.createContext)({}),Em=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return kc(t,e),t.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},t.prototype.componentDidUpdate=function(){},t.prototype.updateProps=function(){var e=this.props,t=e.visualElement,r=e.props;t&&t.setProps(r)},t.prototype.render=function(){return this.props.children},t}(F.Component);function Cm(e){var t=e.preloadedFeatures,r=e.createVisualElement,n=e.projectionNodeConstructor,o=e.useRender,a=e.useVisualState,i=e.Component;return t&&function(e){for(var t in e)null!==e[t]&&("projectionNodeConstructor"===t?ld.projectionNodeConstructor=e[t]:ld[t].Component=e[t])}(t),(0,F.forwardRef)((function(e,t){var l=function(e){var t,r=e.layoutId,n=null===(t=(0,F.useContext)(Kc))||void 0===t?void 0:t.id;return n&&void 0!==r?n+"-"+r:r}(e);e=_c(_c({},e),{layoutId:l});var s=(0,F.useContext)(dd),u=null,c=function(e){var t=function(e,t){if(xd(e)){var r=e.initial,n=e.animate;return{initial:!1===r||vd(r)?r:void 0,animate:vd(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,F.useContext)(fd)),r=t.initial,n=t.animate;return(0,F.useMemo)((function(){return{initial:r,animate:n}}),[Sd(r),Sd(n)])}(e),d=s.isStatic?void 0:Xc((function(){if(om.hasEverUpdated)return km++})),f=a(e,s.isStatic);return!s.isStatic&&pd&&(c.visualElement=function(e,t,r,n){var o=(0,F.useContext)(sd),a=(0,F.useContext)(fd).visualElement,i=(0,F.useContext)(qc),l=(0,F.useRef)(void 0);n||(n=o.renderer),!l.current&&n&&(l.current=n(e,{visualState:t,parent:a,props:r,presenceId:null==i?void 0:i.id,blockInitialAnimation:!1===(null==i?void 0:i.initial)}));var s=l.current;return hd((function(){null==s||s.syncRender()})),(0,F.useEffect)((function(){var e;null===(e=null==s?void 0:s.animationState)||void 0===e||e.animateChanges()})),hd((function(){return function(){return null==s?void 0:s.notifyUnmount()}}),[]),s}(i,f,_c(_c({},s),e),r),function(e,t,r,n){var o,a=t.layoutId,i=t.layout,l=t.drag,s=t.dragConstraints,u=t.layoutScroll,c=(0,F.useContext)(_m);n&&r&&!(null==r?void 0:r.projection)&&(r.projection=new n(e,r.getLatestValues(),null===(o=r.parent)||void 0===o?void 0:o.projection),r.projection.setOptions({layoutId:a,layout:i,alwaysMeasureLayout:Boolean(l)||s&&md(s),visualElement:r,scheduleRender:function(){return r.scheduleRender()},animationType:"string"==typeof i?i:"both",initialPromotionConfig:c,layoutScroll:u}))}(d,e,c.visualElement,n||ld.projectionNodeConstructor),u=function(e,t){var r=[];if((0,F.useContext)(sd),!t)return null;for(var n=0;n<cd;n++){var o=ud[n],a=ld[o],i=a.isEnabled,l=a.Component;i(e)&&l&&r.push(F.createElement(l,_c({key:o},e,{visualElement:t})))}return r}(e,c.visualElement)),F.createElement(Em,{visualElement:c.visualElement,props:_c(_c({},s),e)},u,F.createElement(fd.Provider,{value:c},o(i,e,d,function(e,t,r){return(0,F.useCallback)((function(n){var o;n&&(null===(o=e.mount)||void 0===o||o.call(e,n)),t&&(n?t.mount(n):t.unmount()),r&&("function"==typeof r?r(n):md(r)&&(r.current=n))}),[t])}(f,c.visualElement,t),f,s.isStatic,c.visualElement)))}))}function Pm(e){function t(t,r){return void 0===r&&(r={}),Cm(e(t,r))}if("undefined"==typeof Proxy)return t;var r=new Map;return new Proxy(t,{get:function(e,n){return r.has(n)||r.set(n,t(n)),r.get(n)}})}var Tm=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function zm(e){return"string"==typeof e&&!e.includes("-")&&!!(Tm.indexOf(e)>-1||/[A-Z]/.test(e))}function jm(e,t){var r=t.layout,n=t.layoutId;return Kh(e)||em(e)||(r||void 0!==n)&&(!!Hh[e]||"opacity"===e)}var Om={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function Am(e){return e.startsWith("--")}var Rm=function(e,t){return t&&"number"==typeof e?t.transform(e):e};function Mm(e,t,r,n){var o,a=e.style,i=e.vars,l=e.transform,s=e.transformKeys,u=e.transformOrigin;s.length=0;var c=!1,d=!1,f=!0;for(var p in t){var h=t[p];if(Am(p))i[p]=h;else{var m=qp[p],g=Rm(h,m);if(Kh(p)){if(c=!0,l[p]=g,s.push(p),!f)continue;h!==(null!==(o=m.default)&&void 0!==o?o:0)&&(f=!1)}else em(p)?(u[p]=g,d=!0):a[p]=g}}c?a.transform=function(e,t,r,n){var o=e.transform,a=e.transformKeys,i=t.enableHardwareAcceleration,l=void 0===i||i,s=t.allowTransformNone,u=void 0===s||s,c="";a.sort(Qh);for(var d=!1,f=a.length,p=0;p<f;p++){var h=a[p];c+="".concat(Om[h]||h,"(").concat(o[h],") "),"z"===h&&(d=!0)}return!d&&l?c+="translateZ(0)":c=c.trim(),n?c=n(o,r?"":c):u&&r&&(c="none"),c}(e,r,f,n):n?a.transform=n({},""):!t.transform&&a.transform&&(a.transform="none"),d&&(a.transformOrigin=function(e){var t=e.originX,r=void 0===t?"50%":t,n=e.originY,o=void 0===n?"50%":n,a=e.originZ,i=void 0===a?0:a;return"".concat(r," ").concat(o," ").concat(i)}(u))}function Lm(e,t,r){for(var n in t)jd(t[n])||jm(n,r)||(e[n]=t[n])}function Fm(e,t,r){var n={},o=function(e,t,r){var n={};return Lm(n,e.style||{},e),Object.assign(n,function(e,t,r){var n=e.transformTemplate;return(0,F.useMemo)((function(){var e={style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}};Mm(e,t,{enableHardwareAcceleration:!r},n);var o=e.style;return _c(_c({},e.vars),o)}),[t])}(e,t,r)),e.transformValues&&(n=e.transformValues(n)),n}(e,t,r);return Boolean(e.drag)&&!1!==e.dragListener&&(n.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":"pan-".concat("x"===e.drag?"y":"x")),n.style=o,n}var Im=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover","whileInView","onViewportEnter","onViewportLeave","viewport","layoutScroll"]);function Dm(e){return Im.has(e)}var $m,Nm=function(e){return!Dm(e)};try{($m=require("@emotion/is-prop-valid").default)&&(Nm=function(e){return e.startsWith("on")?!Dm(e):$m(e)})}catch(e){}function Bm(e,t,r){return"string"==typeof e?e:of.transform(t+r*e)}var Vm={offset:"stroke-dashoffset",array:"stroke-dasharray"},Um={offset:"strokeDashoffset",array:"strokeDasharray"};function Wm(e,t,r,n){var o=t.attrX,a=t.attrY,i=t.originX,l=t.originY,s=t.pathLength,u=t.pathSpacing,c=void 0===u?1:u,d=t.pathOffset,f=void 0===d?0:d;Mm(e,Ec(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),r,n),e.attrs=e.style,e.style={};var p=e.attrs,h=e.style,m=e.dimensions;p.transform&&(m&&(h.transform=p.transform),delete p.transform),m&&(void 0!==i||void 0!==l||h.transform)&&(h.transformOrigin=function(e,t,r){var n=Bm(t,e.x,e.width),o=Bm(r,e.y,e.height);return"".concat(n," ").concat(o)}(m,void 0!==i?i:.5,void 0!==l?l:.5)),void 0!==o&&(p.x=o),void 0!==a&&(p.y=a),void 0!==s&&function(e,t,r,n,o){void 0===r&&(r=1),void 0===n&&(n=0),void 0===o&&(o=!0),e.pathLength=1;var a=o?Vm:Um;e[a.offset]=of.transform(-n);var i=of.transform(t),l=of.transform(r);e[a.array]="".concat(i," ").concat(l)}(p,s,c,f,!1)}var Hm=function(){return _c(_c({},{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}),{attrs:{}})};function qm(e,t){var r=(0,F.useMemo)((function(){var r=Hm();return Wm(r,t,{enableHardwareAcceleration:!1},e.transformTemplate),_c(_c({},r.attrs),{style:_c({},r.style)})}),[t]);if(e.style){var n={};Lm(n,e.style,e),r.style=_c(_c({},n),r.style)}return r}function Xm(e){return void 0===e&&(e=!1),function(t,r,n,o,a,i){var l=a.latestValues,s=(zm(t)?qm:Fm)(r,l,i),u=function(e,t,r){var n={};for(var o in e)(Nm(o)||!0===r&&Dm(o)||!t&&!Dm(o)||e.draggable&&o.startsWith("onDrag"))&&(n[o]=e[o]);return n}(r,"string"==typeof t,e),c=_c(_c(_c({},u),s),{ref:o});return n&&(c["data-projection-id"]=n),(0,F.createElement)(t,c)}}var Ym=/([a-z])([A-Z])/g,Gm=function(e){return e.replace(Ym,"$1-$2").toLowerCase()};function Qm(e,t,r,n){var o=t.style,a=t.vars;for(var i in Object.assign(e.style,o,n&&n.getProjectionStyles(r)),a)e.style.setProperty(i,a[i])}var Zm=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function Km(e,t){for(var r in Qm(e,t),t.attrs)e.setAttribute(Zm.has(r)?r:Gm(r),t.attrs[r])}function Jm(e){var t=e.style,r={};for(var n in t)(jd(t[n])||jm(n,e))&&(r[n]=t[n]);return r}function eg(e){var t=Jm(e);for(var r in e)jd(e[r])&&(t["x"===r||"y"===r?"attr"+r.toUpperCase():r]=e[r]);return t}function tg(e){return"object"==typeof e&&"function"==typeof e.start}function rg(e,t,r,n){var o=e.scrapeMotionValuesFromProps,a=e.createRenderState,i=e.onMount,l={latestValues:og(t,r,n,o),renderState:a()};return i&&(l.mount=function(e){return i(t,e,l)}),l}var ng=function(e){return function(t,r){var n=(0,F.useContext)(fd),o=(0,F.useContext)(qc);return r?rg(e,t,n,o):Xc((function(){return rg(e,t,n,o)}))}};function og(e,t,r,n){var o={},a=!1===(null==r?void 0:r.initial),i=n(e);for(var l in i)o[l]=nm(i[l]);var s=e.initial,u=e.animate,c=xd(e),d=wd(e);t&&d&&!c&&!1!==e.inherit&&(null!=s||(s=t.initial),null!=u||(u=t.animate));var f=a||!1===s,p=f?u:s;return p&&"boolean"!=typeof p&&!tg(p)&&(Array.isArray(p)?p:[p]).forEach((function(t){var r=yd(e,t);if(r){var n=r.transitionEnd;r.transition;var a=Ec(r,["transitionEnd","transition"]);for(var i in a){var l=a[i];Array.isArray(l)&&(l=l[f?l.length-1:0]),null!==l&&(o[i]=l)}for(var i in n)o[i]=n[i]}})),o}var ag,ig={useVisualState:ng({scrapeMotionValuesFromProps:eg,createRenderState:Hm,onMount:function(e,t,r){var n=r.renderState,o=r.latestValues;try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}Wm(n,o,{enableHardwareAcceleration:!1},e.transformTemplate),Km(t,n)}})},lg={useVisualState:ng({scrapeMotionValuesFromProps:Jm,createRenderState:function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}}})};function sg(e,t,r,n){return e.addEventListener(t,r,n),function(){return e.removeEventListener(t,r,n)}}function ug(e,t,r,n){(0,F.useEffect)((function(){var o=e.current;if(r&&o)return sg(o,t,r,n)}),[e,t,r,n])}function cg(e){return"undefined"!=typeof PointerEvent&&e instanceof PointerEvent?!("mouse"!==e.pointerType):e instanceof MouseEvent}function dg(e){return!!e.touches}!function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.InView="whileInView",e.Exit="exit"}(ag||(ag={}));var fg={pageX:0,pageY:0};function pg(e,t){void 0===t&&(t="page");var r=e.touches[0]||e.changedTouches[0]||fg;return{x:r[t+"X"],y:r[t+"Y"]}}function hg(e,t){return void 0===t&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function mg(e,t){return void 0===t&&(t="page"),{point:dg(e)?pg(e,t):hg(e,t)}}var gg=function(e,t){void 0===t&&(t=!1);var r,n=function(t){return e(t,mg(t))};return t?(r=n,function(e){var t=e instanceof MouseEvent;(!t||t&&0===e.button)&&r(e)}):n},vg={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},yg={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function bg(e){return pd&&null===window.onpointerdown?e:pd&&null===window.ontouchstart?yg[e]:pd&&null===window.onmousedown?vg[e]:e}function xg(e,t,r,n){return sg(e,bg(t),gg(r,"pointerdown"===t),n)}function wg(e,t,r,n){return ug(e,bg(t),r&&gg(r,"pointerdown"===t),n)}function Sg(e){var t=null;return function(){return null===t&&(t=e,function(){t=null})}}var kg=Sg("dragHorizontal"),_g=Sg("dragVertical");function Eg(e){var t=!1;if("y"===e)t=_g();else if("x"===e)t=kg();else{var r=kg(),n=_g();r&&n?t=function(){r(),n()}:(r&&r(),n&&n())}return t}function Cg(){var e=Eg(!0);return!e||(e(),!1)}function Pg(e,t,r){return function(n,o){var a;cg(n)&&!Cg()&&(null===(a=e.animationState)||void 0===a||a.setActive(ag.Hover,t),null==r||r(n,o))}}var Tg=function(e,t){return!!t&&(e===t||Tg(e,t.parentElement))},zg=new WeakMap,jg=new WeakMap,Og=function(e){var t;null===(t=zg.get(e.target))||void 0===t||t(e)},Ag=function(e){e.forEach(Og)};var Rg={some:0,all:1};function Mg(e,t,r,n){var o=n.root,a=n.margin,i=n.amount,l=void 0===i?"some":i,s=n.once;(0,F.useEffect)((function(){if(e){var n={root:null==o?void 0:o.current,rootMargin:a,threshold:"number"==typeof l?l:Rg[l]};return function(e,t,r){var n=function(e){var t=e.root,r=Ec(e,["root"]),n=t||document;jg.has(n)||jg.set(n,{});var o=jg.get(n),a=JSON.stringify(r);return o[a]||(o[a]=new IntersectionObserver(Ag,_c({root:t},r))),o[a]}(t);return zg.set(e,r),n.observe(e),function(){zg.delete(e),n.unobserve(e)}}(r.getInstance(),n,(function(e){var n,o=e.isIntersecting;if(t.isInView!==o&&(t.isInView=o,!s||o||!t.hasEnteredView)){o&&(t.hasEnteredView=!0),null===(n=r.animationState)||void 0===n||n.setActive(ag.InView,o);var a=r.getProps(),i=o?a.onViewportEnter:a.onViewportLeave;null==i||i(e)}}))}}),[e,o,a,l])}function Lg(e,t,r){(0,F.useEffect)((function(){e&&requestAnimationFrame((function(){var e;t.hasEnteredView=!0;var n=r.getProps().onViewportEnter;null==n||n(null),null===(e=r.animationState)||void 0===e||e.setActive(ag.InView,!0)}))}),[e])}var Fg=function(e){return function(t){return e(t),null}},Ig={inView:Fg((function(e){var t=e.visualElement,r=e.whileInView,n=e.onViewportEnter,o=e.onViewportLeave,a=e.viewport,i=void 0===a?{}:a,l=(0,F.useRef)({hasEnteredView:!1,isInView:!1}),s=Boolean(r||n||o);i.once&&l.current.hasEnteredView&&(s=!1),("undefined"==typeof IntersectionObserver?Lg:Mg)(s,l.current,t,i)})),tap:Fg((function(e){var t=e.onTap,r=e.onTapStart,n=e.onTapCancel,o=e.whileTap,a=e.visualElement,i=t||r||n||o,l=(0,F.useRef)(!1),s=(0,F.useRef)(null);function u(){var e;null===(e=s.current)||void 0===e||e.call(s),s.current=null}function c(){var e;return u(),l.current=!1,null===(e=a.animationState)||void 0===e||e.setActive(ag.Tap,!1),!Cg()}function d(e,r){c()&&(Tg(a.getInstance(),e.target)?null==t||t(e,r):null==n||n(e,r))}function f(e,t){c()&&(null==n||n(e,t))}wg(a,"pointerdown",i?function(e,t){var n;u(),l.current||(l.current=!0,s.current=Pf(xg(window,"pointerup",d),xg(window,"pointercancel",f)),null===(n=a.animationState)||void 0===n||n.setActive(ag.Tap,!0),null==r||r(e,t))}:void 0),Hc(u)})),focus:Fg((function(e){var t=e.whileFocus,r=e.visualElement;ug(r,"focus",t?function(){var e;null===(e=r.animationState)||void 0===e||e.setActive(ag.Focus,!0)}:void 0),ug(r,"blur",t?function(){var e;null===(e=r.animationState)||void 0===e||e.setActive(ag.Focus,!1)}:void 0)})),hover:Fg((function(e){var t=e.onHoverStart,r=e.onHoverEnd,n=e.whileHover,o=e.visualElement;wg(o,"pointerenter",t||n?Pg(o,!0,t):void 0),wg(o,"pointerleave",r||n?Pg(o,!1,r):void 0)}))};function Dg(e,t){if(!Array.isArray(t))return!1;var r=t.length;if(r!==e.length)return!1;for(var n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}var $g=function(e){return function(t){return t.test(e)}},Ng=[qd,of,nf,rf,lf,af,{test:function(e){return"auto"===e},parse:function(e){return e}}],Bg=function(e){return Ng.find($g(e))},Vg=Pc(Pc([],Cc(Ng),!1),[vf,_f],!1),Ug=function(e){return Vg.find($g(e))};function Wg(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,zd(r))}function Hg(e,t){if(t)return(t[e]||t.default||t).from}function qg(e,t,r){var n;void 0===r&&(r={});var o=bd(e,t,r.custom),a=(o||{}).transition,i=void 0===a?e.getDefaultTransition()||{}:a;r.transitionOverride&&(i=r.transitionOverride);var l=o?function(){return Xg(e,o,r)}:function(){return Promise.resolve()},s=(null===(n=e.variantChildren)||void 0===n?void 0:n.size)?function(n){void 0===n&&(n=0);var o=i.delayChildren,a=void 0===o?0:o,l=i.staggerChildren,s=i.staggerDirection;return function(e,t,r,n,o,a){void 0===r&&(r=0),void 0===n&&(n=0),void 0===o&&(o=1);var i=[],l=(e.variantChildren.size-1)*n,s=1===o?function(e){return void 0===e&&(e=0),e*n}:function(e){return void 0===e&&(e=0),l-e*n};return Array.from(e.variantChildren).sort(Yg).forEach((function(e,n){i.push(qg(e,t,_c(_c({},a),{delay:r+s(n)})).then((function(){return e.notifyAnimationComplete(t)})))})),Promise.all(i)}(e,t,a+n,l,s,r)}:function(){return Promise.resolve()},u=i.when;if(u){var c=Cc("beforeChildren"===u?[l,s]:[s,l],2),d=c[0],f=c[1];return d().then(f)}return Promise.all([l(),s(r.delay)])}function Xg(e,t,r){var n,o=void 0===r?{}:r,a=o.delay,i=void 0===a?0:a,l=o.transitionOverride,s=o.type,u=e.makeTargetAnimatable(t),c=u.transition,d=void 0===c?e.getDefaultTransition():c,f=u.transitionEnd,p=Ec(u,["transition","transitionEnd"]);l&&(d=l);var h=[],m=s&&(null===(n=e.animationState)||void 0===n?void 0:n.getState()[s]);for(var g in p){var v=e.getValue(g),y=p[g];if(!(!v||void 0===y||m&&Gg(m,g))){var b=th(g,v,y,_c({delay:i},d));h.push(b)}}return Promise.all(h).then((function(){f&&function(e,t){var r=bd(e,t),n=r?e.makeTargetAnimatable(r,!1):{},o=n.transitionEnd,a=void 0===o?{}:o;n.transition;var i=Ec(n,["transitionEnd","transition"]);for(var l in i=_c(_c({},i),a))Wg(e,l,Qp(i[l]))}(e,f)}))}function Yg(e,t){return e.sortNodePosition(t)}function Gg(e,t){var r=e.protectedKeys,n=e.needsAnimating,o=r.hasOwnProperty(t)&&!0!==n[t];return n[t]=!1,o}var Qg=[ag.Animate,ag.InView,ag.Focus,ag.Hover,ag.Tap,ag.Drag,ag.Exit],Zg=Pc([],Cc(Qg),!1).reverse(),Kg=Qg.length;function Jg(e){var t,r=function(e){return function(t){return Promise.all(t.map((function(t){var r=t.animation,n=t.options;return function(e,t,r){var n;if(void 0===r&&(r={}),e.notifyAnimationStart(t),Array.isArray(t)){var o=t.map((function(t){return qg(e,t,r)}));n=Promise.all(o)}else if("string"==typeof t)n=qg(e,t,r);else{var a="function"==typeof t?bd(e,t,r.custom):t;n=Xg(e,a,r)}return n.then((function(){return e.notifyAnimationComplete(t)}))}(e,r,n)})))}}(e),n=((t={})[ag.Animate]=ev(!0),t[ag.InView]=ev(),t[ag.Hover]=ev(),t[ag.Tap]=ev(),t[ag.Drag]=ev(),t[ag.Focus]=ev(),t[ag.Exit]=ev(),t),o={},a=!0,i=function(t,r){var n=bd(e,r);if(n){n.transition;var o=n.transitionEnd,a=Ec(n,["transition","transitionEnd"]);t=_c(_c(_c({},t),a),o)}return t};function l(t,l){for(var s,u=e.getProps(),c=e.getVariantContext(!0)||{},d=[],f=new Set,p={},h=1/0,m=function(r){var o=Zg[r],m=n[o],g=null!==(s=u[o])&&void 0!==s?s:c[o],v=vd(g),y=o===l?m.isActive:null;!1===y&&(h=r);var b=g===c[o]&&g!==u[o]&&v;if(b&&a&&e.manuallyAnimateOnMount&&(b=!1),m.protectedKeys=_c({},p),!m.isActive&&null===y||!g&&!m.prevProp||tg(g)||"boolean"==typeof g)return"continue";var x=function(e,t){return"string"==typeof t?t!==e:!!gd(t)&&!Dg(t,e)}(m.prevProp,g),w=x||o===l&&m.isActive&&!b&&v||r>h&&v,S=Array.isArray(g)?g:[g],k=S.reduce(i,{});!1===y&&(k={});var _=m.prevResolvedValues,E=void 0===_?{}:_,C=_c(_c({},E),k),P=function(e){w=!0,f.delete(e),m.needsAnimating[e]=!0};for(var T in C){var z=k[T],j=E[T];p.hasOwnProperty(T)||(z!==j?Lp(z)&&Lp(j)?!Dg(z,j)||x?P(T):m.protectedKeys[T]=!0:void 0!==z?P(T):f.add(T):void 0!==z&&f.has(T)?P(T):m.protectedKeys[T]=!0)}m.prevProp=g,m.prevResolvedValues=k,m.isActive&&(p=_c(_c({},p),k)),a&&e.blockInitialAnimation&&(w=!1),w&&!b&&d.push.apply(d,Pc([],Cc(S.map((function(e){return{animation:e,options:_c({type:o},t)}}))),!1))},g=0;g<Kg;g++)m(g);if(o=_c({},p),f.size){var v={};f.forEach((function(t){var r=e.getBaseTarget(t);void 0!==r&&(v[t]=r)})),d.push({animation:v})}var y=Boolean(d.length);return a&&!1===u.initial&&!e.manuallyAnimateOnMount&&(y=!1),a=!1,y?r(d):Promise.resolve()}return{isAnimated:function(e){return void 0!==o[e]},animateChanges:l,setActive:function(t,r,o){var a;return n[t].isActive===r?Promise.resolve():(null===(a=e.variantChildren)||void 0===a||a.forEach((function(e){var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)})),n[t].isActive=r,l(o,t))},setAnimateFunction:function(t){r=t(e)},getState:function(){return n}}}function ev(e){return void 0===e&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var tv={animation:Fg((function(e){var t=e.visualElement,r=e.animate;t.animationState||(t.animationState=Jg(t)),tg(r)&&(0,F.useEffect)((function(){return r.subscribe(t)}),[r])})),exit:Fg((function(e){var t=e.custom,r=e.visualElement,n=Cc(rd(),2),o=n[0],a=n[1],i=(0,F.useContext)(qc);(0,F.useEffect)((function(){var e,n;r.isPresent=o;var l=null===(e=r.animationState)||void 0===e?void 0:e.setActive(ag.Exit,!o,{custom:null!==(n=null==i?void 0:i.custom)&&void 0!==n?n:t});!o&&(null==l||l.then(a))}),[o])}))},rv=function(){function e(e,t,r){var n=this,o=(void 0===r?{}:r).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(n.lastMoveEvent&&n.lastMoveEventInfo){var e=av(n.lastMoveEventInfo,n.history),t=null!==n.startEvent,r=Th(e.offset,{x:0,y:0})>=3;if(t||r){var o=e.point,a=Uc().timestamp;n.history.push(_c(_c({},o),{timestamp:a}));var i=n.handlers,l=i.onStart,s=i.onMove;t||(l&&l(n.lastMoveEvent,e),n.startEvent=n.lastMoveEvent),s&&s(n.lastMoveEvent,e)}}},this.handlePointerMove=function(e,t){n.lastMoveEvent=e,n.lastMoveEventInfo=nv(t,n.transformPagePoint),cg(e)&&0===e.buttons?n.handlePointerUp(e,t):Wc.update(n.updatePoint,!0)},this.handlePointerUp=function(e,t){n.end();var r=n.handlers,o=r.onEnd,a=r.onSessionEnd,i=av(nv(t,n.transformPagePoint),n.history);n.startEvent&&o&&o(e,i),a&&a(e,i)},!(dg(e)&&e.touches.length>1)){this.handlers=t,this.transformPagePoint=o;var a=nv(mg(e),this.transformPagePoint),i=a.point,l=Uc().timestamp;this.history=[_c(_c({},i),{timestamp:l})];var s=t.onSessionStart;s&&s(e,av(a,this.history)),this.removeListeners=Pf(xg(window,"pointermove",this.handlePointerMove),xg(window,"pointerup",this.handlePointerUp),xg(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(e){this.handlers=e},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),Dc.update(this.updatePoint)},e}();function nv(e,t){return t?{point:t(e.point)}:e}function ov(e,t){return{x:e.x-t.x,y:e.y-t.y}}function av(e,t){var r=e.point;return{point:r,delta:ov(r,lv(t)),offset:ov(r,iv(t)),velocity:sv(t,.1)}}function iv(e){return e[0]}function lv(e){return e[e.length-1]}function sv(e,t){if(e.length<2)return{x:0,y:0};for(var r=e.length-1,n=null,o=lv(e);r>=0&&(n=e[r],!(o.timestamp-n.timestamp>_p(t)));)r--;if(!n)return{x:0,y:0};var a=(o.timestamp-n.timestamp)/1e3;if(0===a)return{x:0,y:0};var i={x:(o.x-n.x)/a,y:(o.y-n.y)/a};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function uv(e,t,r){return{min:void 0!==t?e.min+t:void 0,max:void 0!==r?e.max+r-(e.max-e.min):void 0}}function cv(e,t){var r,n=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&(n=(r=Cc([o,n],2))[0],o=r[1]),{min:n,max:o}}var dv=.35;function fv(e,t,r){return{min:pv(e,t),max:pv(e,r)}}function pv(e,t){var r;return"number"==typeof e?e:null!==(r=e[t])&&void 0!==r?r:0}function hv(e){var t=e.top;return{x:{min:e.left,max:e.right},y:{min:t,max:e.bottom}}}function mv(e,t){return hv(function(e,t){if(!t)return e;var r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}(e.getBoundingClientRect(),t))}var gv=new WeakMap,vv=function(){function e(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=e}return e.prototype.start=function(e,t){var r=this,n=(void 0===t?{}:t).snapToCursor,o=void 0!==n&&n;!1!==this.visualElement.isPresent&&(this.panSession=new rv(e,{onSessionStart:function(e){r.stopAnimation(),o&&r.snapToCursor(mg(e,"page").point)},onStart:function(e,t){var n,o=r.getProps(),a=o.drag,i=o.dragPropagation,l=o.onDragStart;(!a||i||(r.openGlobalLock&&r.openGlobalLock(),r.openGlobalLock=Eg(a),r.openGlobalLock))&&(r.isDragging=!0,r.currentDirection=null,r.resolveConstraints(),r.visualElement.projection&&(r.visualElement.projection.isAnimationBlocked=!0,r.visualElement.projection.target=void 0),Xh((function(e){var t,n,o=r.getAxisMotionValue(e).get()||0;if(nf.test(o)){var a=null===(n=null===(t=r.visualElement.projection)||void 0===t?void 0:t.layout)||void 0===n?void 0:n.actual[e];a&&(o=zh(a)*(parseFloat(o)/100))}r.originPoint[e]=o})),null==l||l(e,t),null===(n=r.visualElement.animationState)||void 0===n||n.setActive(ag.Drag,!0))},onMove:function(e,t){var n=r.getProps(),o=n.dragPropagation,a=n.dragDirectionLock,i=n.onDirectionLock,l=n.onDrag;if(o||r.openGlobalLock){var s=t.offset;if(a&&null===r.currentDirection)return r.currentDirection=function(e,t){void 0===t&&(t=10);var r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}(s),void(null!==r.currentDirection&&(null==i||i(r.currentDirection)));r.updateAxis("x",t.point,s),r.updateAxis("y",t.point,s),r.visualElement.syncRender(),null==l||l(e,t)}},onSessionEnd:function(e,t){return r.stop(e,t)}},{transformPagePoint:this.visualElement.getTransformPagePoint()}))},e.prototype.stop=function(e,t){var r=this.isDragging;if(this.cancel(),r){var n=t.velocity;this.startAnimation(n);var o=this.getProps().onDragEnd;null==o||o(e,t)}},e.prototype.cancel=function(){var e,t;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(e=this.panSession)||void 0===e||e.end(),this.panSession=void 0,!this.getProps().dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(t=this.visualElement.animationState)||void 0===t||t.setActive(ag.Drag,!1)},e.prototype.updateAxis=function(e,t,r){var n=this.getProps().drag;if(r&&yv(e,n,this.currentDirection)){var o,a,i,l,s,u=this.getAxisMotionValue(e),c=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(o=c,a=this.constraints[e],i=this.elastic[e],l=a.min,s=a.max,void 0!==l&&o<l?o=i?kd(l,o,i.min):Math.max(o,l):void 0!==s&&o>s&&(o=i?kd(s,o,i.max):Math.min(o,s)),c=o),u.set(c)}},e.prototype.resolveConstraints=function(){var e=this,t=this.getProps(),r=t.dragConstraints,n=t.dragElastic,o=(this.visualElement.projection||{}).layout,a=this.constraints;r&&md(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!r||!o)&&function(e,t){var r=t.top,n=t.left,o=t.bottom,a=t.right;return{x:uv(e.x,n,a),y:uv(e.y,r,o)}}(o.actual,r),this.elastic=function(e){return void 0===e&&(e=dv),!1===e?e=0:!0===e&&(e=dv),{x:fv(e,"left","right"),y:fv(e,"top","bottom")}}(n),a!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Xh((function(t){e.getAxisMotionValue(t)&&(e.constraints[t]=function(e,t){var r={};return void 0!==t.min&&(r.min=t.min-e.min),void 0!==t.max&&(r.max=t.max-e.min),r}(o.actual[t],e.constraints[t]))}))},e.prototype.resolveRefConstraints=function(){var e=this.getProps(),t=e.dragConstraints,r=e.onMeasureDragConstraints;if(!t||!md(t))return!1;var n=t.current,o=this.visualElement.projection;if(!o||!o.layout)return!1;var a=function(e,t,r){var n=mv(e,r),o=t.scroll;return o&&(xh(n.x,o.x),xh(n.y,o.y)),n}(n,o.root,this.visualElement.getTransformPagePoint()),i=function(e,t){return{x:cv(e.x,t.x),y:cv(e.y,t.y)}}(o.layout.actual,a);if(r){var l=r(function(e){var t=e.x,r=e.y;return{top:r.min,right:t.max,bottom:r.max,left:t.min}}(i));this.hasMutatedConstraints=!!l,l&&(i=hv(l))}return i},e.prototype.startAnimation=function(e){var t=this,r=this.getProps(),n=r.drag,o=r.dragMomentum,a=r.dragElastic,i=r.dragTransition,l=r.dragSnapToOrigin,s=r.onDragTransitionEnd,u=this.constraints||{},c=Xh((function(r){var s;if(yv(r,n,t.currentDirection)){var c=null!==(s=null==u?void 0:u[r])&&void 0!==s?s:{};l&&(c={min:0,max:0});var d=a?200:1e6,f=a?40:1e7,p=_c(_c({type:"inertia",velocity:o?e[r]:0,bounceStiffness:d,bounceDamping:f,timeConstant:750,restDelta:1,restSpeed:10},i),c);return t.startAxisValueAnimation(r,p)}}));return Promise.all(c).then(s)},e.prototype.startAxisValueAnimation=function(e,t){return th(e,this.getAxisMotionValue(e),0,t)},e.prototype.stopAnimation=function(){var e=this;Xh((function(t){return e.getAxisMotionValue(t).stop()}))},e.prototype.getAxisMotionValue=function(e){var t,r,n="_drag"+e.toUpperCase();return this.visualElement.getProps()[n]||this.visualElement.getValue(e,null!==(r=null===(t=this.visualElement.getProps().initial)||void 0===t?void 0:t[e])&&void 0!==r?r:0)},e.prototype.snapToCursor=function(e){var t=this;Xh((function(r){if(yv(r,t.getProps().drag,t.currentDirection)){var n=t.visualElement.projection,o=t.getAxisMotionValue(r);if(n&&n.layout){var a=n.layout.actual[r],i=a.min,l=a.max;o.set(e[r]-kd(i,l,.5))}}}))},e.prototype.scalePositionWithinConstraints=function(){var e,t=this,r=this.getProps(),n=r.drag,o=r.dragConstraints,a=this.visualElement.projection;if(md(o)&&a&&this.constraints){this.stopAnimation();var i={x:0,y:0};Xh((function(e){var r,n,o,a,l,s=t.getAxisMotionValue(e);if(s){var u=s.get();i[e]=(r={min:u,max:u},n=t.constraints[e],o=.5,a=zh(r),(l=zh(n))>a?o=$d(n.min,n.max-a,r.min):a>l&&(o=$d(r.min,r.max-l,n.min)),Od(0,1,o))}}));var l=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=l?l({},""):"none",null===(e=a.root)||void 0===e||e.updateScroll(),a.updateLayout(),this.resolveConstraints(),Xh((function(e){if(yv(e,n,null)){var r=t.getAxisMotionValue(e),o=t.constraints[e],a=o.min,l=o.max;r.set(kd(a,l,i[e]))}}))}},e.prototype.addListeners=function(){var e,t=this;gv.set(this.visualElement,this);var r=xg(this.visualElement.getInstance(),"pointerdown",(function(e){var r=t.getProps(),n=r.drag,o=r.dragListener;n&&(void 0===o||o)&&t.start(e)})),n=function(){md(t.getProps().dragConstraints)&&(t.constraints=t.resolveRefConstraints())},o=this.visualElement.projection,a=o.addEventListener("measure",n);o&&!o.layout&&(null===(e=o.root)||void 0===e||e.updateScroll(),o.updateLayout()),n();var i=sg(window,"resize",(function(){t.scalePositionWithinConstraints()}));return o.addEventListener("didUpdate",(function(e){var r=e.delta,n=e.hasLayoutChanged;t.isDragging&&n&&(Xh((function(e){var n=t.getAxisMotionValue(e);n&&(t.originPoint[e]+=r[e].translate,n.set(n.get()+r[e].translate))})),t.visualElement.syncRender())})),function(){i(),r(),a()}},e.prototype.getProps=function(){var e=this.visualElement.getProps(),t=e.drag,r=void 0!==t&&t,n=e.dragDirectionLock,o=void 0!==n&&n,a=e.dragPropagation,i=void 0!==a&&a,l=e.dragConstraints,s=void 0!==l&&l,u=e.dragElastic,c=void 0===u?dv:u,d=e.dragMomentum,f=void 0===d||d;return _c(_c({},e),{drag:r,dragDirectionLock:o,dragPropagation:i,dragConstraints:s,dragElastic:c,dragMomentum:f})},e}();function yv(e,t,r){return!(!0!==t&&t!==e||null!==r&&r!==e)}var bv={pan:Fg((function(e){var t=e.onPan,r=e.onPanStart,n=e.onPanEnd,o=e.onPanSessionStart,a=e.visualElement,i=t||r||n||o,l=(0,F.useRef)(null),s=(0,F.useContext)(dd).transformPagePoint,u={onSessionStart:o,onStart:r,onMove:t,onEnd:function(e,t){l.current=null,n&&n(e,t)}};(0,F.useEffect)((function(){null!==l.current&&l.current.updateHandlers(u)})),wg(a,"pointerdown",i&&function(e){l.current=new rv(e,u,{transformPagePoint:s})}),Hc((function(){return l.current&&l.current.end()}))})),drag:Fg((function(e){var t=e.dragControls,r=e.visualElement,n=Xc((function(){return new vv(r)}));(0,F.useEffect)((function(){return t&&t.subscribe(n)}),[n,t]),(0,F.useEffect)((function(){return n.addListeners()}),[n])}))},xv=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","SetAxisTarget","Unmount"],wv=function(e){var t=e.treeType,r=void 0===t?"":t,n=e.build,o=e.getBaseTarget,a=e.makeTargetAnimatable,i=e.measureViewportBox,l=e.render,s=e.readValueFromInstance,u=e.removeValueFromRenderState,c=e.sortNodePosition,d=e.scrapeMotionValuesFromProps;return function(e,t){var f=e.parent,p=e.props,h=e.presenceId,m=e.blockInitialAnimation,g=e.visualState;void 0===t&&(t={});var v,y,b=!1,x=g.latestValues,w=g.renderState,S=function(){var e=xv.map((function(){return new Pd})),t={},r={clearAllListeners:function(){return e.forEach((function(e){return e.clear()}))},updatePropListeners:function(e){xv.forEach((function(n){var o,a="on"+n,i=e[a];null===(o=t[n])||void 0===o||o.call(t),i&&(t[n]=r[a](i))}))}};return e.forEach((function(e,t){r["on"+xv[t]]=function(t){return e.add(t)},r["notify"+xv[t]]=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];e.notify.apply(e,Pc([],Cc(t),!1))}})),r}(),k=new Map,_=new Map,E={},C=_c({},x);function P(){v&&b&&(T(),l(v,w,p.style,L.projection))}function T(){n(L,w,x,t,p)}function z(){S.notifyUpdate(x)}var j=d(p);for(var O in j){var A=j[O];void 0!==x[O]&&jd(A)&&A.set(x[O],!1)}var R=xd(p),M=wd(p),L=_c(_c({treeType:r,current:null,depth:f?f.depth+1:0,parent:f,children:new Set,presenceId:h,variantChildren:M?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null==f?void 0:f.isMounted()),blockInitialAnimation:m,isMounted:function(){return Boolean(v)},mount:function(e){b=!0,v=L.current=e,L.projection&&L.projection.mount(e),M&&f&&!R&&(y=null==f?void 0:f.addVariantChild(L)),null==f||f.children.add(L),L.setProps(p)},unmount:function(){var e;null===(e=L.projection)||void 0===e||e.unmount(),Dc.update(z),Dc.render(P),_.forEach((function(e){return e()})),null==y||y(),null==f||f.children.delete(L),S.clearAllListeners(),v=void 0,b=!1},addVariantChild:function(e){var t,r=L.getClosestVariantNode();if(r)return null===(t=r.variantChildren)||void 0===t||t.add(e),function(){return r.variantChildren.delete(e)}},sortNodePosition:function(e){return c&&r===e.treeType?c(L.getInstance(),e.getInstance()):0},getClosestVariantNode:function(){return M?L:null==f?void 0:f.getClosestVariantNode()},getLayoutId:function(){return p.layoutId},getInstance:function(){return v},getStaticValue:function(e){return x[e]},setStaticValue:function(e,t){return x[e]=t},getLatestValues:function(){return x},setVisibility:function(e){L.isVisible!==e&&(L.isVisible=e,L.scheduleRender())},makeTargetAnimatable:function(e,t){return void 0===t&&(t=!0),a(L,e,p,t)},measureViewportBox:function(){return i(v,p)},addValue:function(e,t){L.hasValue(e)&&L.removeValue(e),k.set(e,t),x[e]=t.get(),function(e,t){var r=t.onChange((function(t){x[e]=t,p.onUpdate&&Wc.update(z,!1,!0)})),n=t.onRenderRequest(L.scheduleRender);_.set(e,(function(){r(),n()}))}(e,t)},removeValue:function(e){var t;k.delete(e),null===(t=_.get(e))||void 0===t||t(),_.delete(e),delete x[e],u(e,w)},hasValue:function(e){return k.has(e)},getValue:function(e,t){var r=k.get(e);return void 0===r&&void 0!==t&&(r=zd(t),L.addValue(e,r)),r},forEachValue:function(e){return k.forEach(e)},readValue:function(e){var r;return null!==(r=x[e])&&void 0!==r?r:s(v,e,t)},setBaseTarget:function(e,t){C[e]=t},getBaseTarget:function(e){if(o){var t=o(p,e);if(void 0!==t&&!jd(t))return t}return C[e]}},S),{build:function(){return T(),w},scheduleRender:function(){Wc.render(P,!1,!0)},syncRender:P,setProps:function(e){(e.transformTemplate||p.transformTemplate)&&L.scheduleRender(),p=e,S.updatePropListeners(e),E=function(e,t,r){var n;for(var o in t){var a=t[o],i=r[o];if(jd(a))e.addValue(o,a);else if(jd(i))e.addValue(o,zd(a));else if(i!==a)if(e.hasValue(o)){var l=e.getValue(o);!l.hasAnimated&&l.set(a)}else e.addValue(o,zd(null!==(n=e.getStaticValue(o))&&void 0!==n?n:a))}for(var o in r)void 0===t[o]&&e.removeValue(o);return t}(L,d(p),E)},getProps:function(){return p},getVariant:function(e){var t;return null===(t=p.variants)||void 0===t?void 0:t[e]},getDefaultTransition:function(){return p.transition},getTransformPagePoint:function(){return p.transformPagePoint},getVariantContext:function(e){if(void 0===e&&(e=!1),e)return null==f?void 0:f.getVariantContext();if(!R){var t=(null==f?void 0:f.getVariantContext())||{};return void 0!==p.initial&&(t.initial=p.initial),t}for(var r={},n=0;n<kv;n++){var o=Sv[n],a=p[o];(vd(a)||!1===a)&&(r[o]=a)}return r}});return L}},Sv=Pc(["initial"],Cc(Qg),!1),kv=Sv.length;function _v(e){return"string"==typeof e&&e.startsWith("var(--")}var Ev=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Cv(e,t,r){void 0===r&&(r=1),'Max CSS variable fallback depth detected in property "'.concat(e,'". This may indicate a circular fallback dependency.');var n=Cc(function(e){var t=Ev.exec(e);if(!t)return[,];var r=Cc(t,3);return[r[1],r[2]]}(e),2),o=n[0],a=n[1];if(o){var i=window.getComputedStyle(t).getPropertyValue(o);return i?i.trim():_v(a)?Cv(a,t,r+1):a}}var Pv,Tv=new Set(["width","height","top","left","right","bottom","x","y"]),zv=function(e){return Tv.has(e)},jv=function(e,t){e.set(t,!1),e.set(t)},Ov=function(e){return e===qd||e===of};!function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"}(Pv||(Pv={}));var Av=function(e,t){return parseFloat(e.split(", ")[t])},Rv=function(e,t){return function(r,n){var o=n.transform;if("none"===o||!o)return 0;var a=o.match(/^matrix3d\((.+)\)$/);if(a)return Av(a[1],t);var i=o.match(/^matrix\((.+)\)$/);return i?Av(i[1],e):0}},Mv=new Set(["x","y","z"]),Lv=Gh.filter((function(e){return!Mv.has(e)})),Fv={width:function(e,t){var r=e.x,n=t.paddingLeft,o=void 0===n?"0":n,a=t.paddingRight,i=void 0===a?"0":a;return r.max-r.min-parseFloat(o)-parseFloat(i)},height:function(e,t){var r=e.y,n=t.paddingTop,o=void 0===n?"0":n,a=t.paddingBottom,i=void 0===a?"0":a;return r.max-r.min-parseFloat(o)-parseFloat(i)},top:function(e,t){var r=t.top;return parseFloat(r)},left:function(e,t){var r=t.left;return parseFloat(r)},bottom:function(e,t){var r=e.y,n=t.top;return parseFloat(n)+(r.max-r.min)},right:function(e,t){var r=e.x,n=t.left;return parseFloat(n)+(r.max-r.min)},x:Rv(4,13),y:Rv(5,14)};function Iv(e,t,r,n){return function(e){return Object.keys(e).some(zv)}(t)?function(e,t,r,n){void 0===r&&(r={}),void 0===n&&(n={}),t=_c({},t),n=_c({},n);var o=Object.keys(t).filter(zv),a=[],i=!1,l=[];if(o.forEach((function(o){var s=e.getValue(o);if(e.hasValue(o)){var u,c=r[o],d=Bg(c),f=t[o];if(Lp(f)){var p=f.length,h=null===f[0]?1:0;c=f[h],d=Bg(c);for(var m=h;m<p;m++)u?Bg(f[m]):(u=Bg(f[m]))===d||Ov(d)&&Ov(u)}else u=Bg(f);if(d!==u)if(Ov(d)&&Ov(u)){var g=s.get();"string"==typeof g&&s.set(parseFloat(g)),"string"==typeof f?t[o]=parseFloat(f):Array.isArray(f)&&u===of&&(t[o]=f.map(parseFloat))}else(null==d?void 0:d.transform)&&(null==u?void 0:u.transform)&&(0===c||0===f)?0===c?s.set(u.transform(c)):t[o]=d.transform(f):(i||(a=function(e){var t=[];return Lv.forEach((function(r){var n=e.getValue(r);void 0!==n&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))})),t.length&&e.syncRender(),t}(e),i=!0),l.push(o),n[o]=void 0!==n[o]?n[o]:t[o],jv(s,f))}})),l.length){var s=function(e,t,r){var n=t.measureViewportBox(),o=t.getInstance(),a=getComputedStyle(o),i=a.display,l={};"none"===i&&t.setStaticValue("display",e.display||"block"),r.forEach((function(e){l[e]=Fv[e](n,a)})),t.syncRender();var s=t.measureViewportBox();return r.forEach((function(r){var n=t.getValue(r);jv(n,l[r]),e[r]=Fv[r](s,a)})),e}(t,e,l);return a.length&&a.forEach((function(t){var r=Cc(t,2),n=r[0],o=r[1];e.getValue(n).set(o)})),e.syncRender(),{target:s,transitionEnd:n}}return{target:t,transitionEnd:n}}(e,t,r,n):{target:t,transitionEnd:n}}var Dv={treeType:"dom",readValueFromInstance:function(e,t){if(Kh(t)){var r=Yp(t);return r&&r.default||0}var n,o=(n=e,window.getComputedStyle(n));return(Am(t)?o.getPropertyValue(t):o[t])||0},sortNodePosition:function(e,t){return 2&e.compareDocumentPosition(t)?1:-1},getBaseTarget:function(e,t){var r;return null===(r=e.style)||void 0===r?void 0:r[t]},measureViewportBox:function(e,t){return mv(e,t.transformPagePoint)},resetTransform:function(e,t,r){var n=r.transformTemplate;t.style.transform=n?n({},""):"none",e.scheduleRender()},restoreTransform:function(e,t){e.style.transform=t.style.transform},removeValueFromRenderState:function(e,t){var r=t.vars,n=t.style;delete r[e],delete n[e]},makeTargetAnimatable:function(e,t,r,n){var o=r.transformValues;void 0===n&&(n=!0);var a=t.transition,i=t.transitionEnd,l=Ec(t,["transition","transitionEnd"]),s=function(e,t,r){var n,o,a={};for(var i in e)a[i]=null!==(n=Hg(i,t))&&void 0!==n?n:null===(o=r.getValue(i))||void 0===o?void 0:o.get();return a}(l,a||{},e);if(o&&(i&&(i=o(i)),l&&(l=o(l)),s&&(s=o(s))),n){!function(e,t,r){var n,o,a,i,l=Object.keys(t).filter((function(t){return!e.hasValue(t)})),s=l.length;if(s)for(var u=0;u<s;u++){var c=l[u],d=t[c],f=null;Array.isArray(d)&&(f=d[0]),null===f&&(f=null!==(o=null!==(n=r[c])&&void 0!==n?n:e.readValue(c))&&void 0!==o?o:t[c]),null!=f&&("string"==typeof f&&(/^\-?\d*\.?\d+$/.test(f)||/^0[^.\s]+$/.test(f))?f=parseFloat(f):!Ug(f)&&_f.test(d)&&(f=Gp(c,d)),e.addValue(c,zd(f)),null!==(a=(i=r)[c])&&void 0!==a||(i[c]=f),e.setBaseTarget(c,f))}}(e,l,s);var u=function(e,t,r,n){var o=function(e,t,r){var n,o=Ec(t,[]),a=e.getInstance();if(!(a instanceof Element))return{target:o,transitionEnd:r};for(var i in r&&(r=_c({},r)),e.forEachValue((function(e){var t=e.get();if(_v(t)){var r=Cv(t,a);r&&e.set(r)}})),o){var l=o[i];if(_v(l)){var s=Cv(l,a);s&&(o[i]=s,r&&(null!==(n=r[i])&&void 0!==n||(r[i]=l)))}}return{target:o,transitionEnd:r}}(e,t,n);return Iv(e,t=o.target,r,n=o.transitionEnd)}(e,l,s,i);i=u.transitionEnd,l=u.target}return _c({transition:a,transitionEnd:i},l)},scrapeMotionValuesFromProps:Jm,build:function(e,t,r,n,o){void 0!==e.isVisible&&(t.style.visibility=e.isVisible?"visible":"hidden"),Mm(t,r,n,o.transformTemplate)},render:Qm},$v=wv(Dv),Nv=wv(_c(_c({},Dv),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var r;return Kh(t)?(null===(r=Yp(t))||void 0===r?void 0:r.default)||0:(t=Zm.has(t)?t:Gm(t),e.getAttribute(t))},scrapeMotionValuesFromProps:eg,build:function(e,t,r,n,o){Wm(t,r,n,o.transformTemplate)},render:Km})),Bv=function(e,t){return zm(e)?Nv(t,{enableHardwareAcceleration:!1}):$v(t,{enableHardwareAcceleration:!0})};function Vv(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var Uv={correct:function(e,t){if(!t.target)return e;if("string"==typeof e){if(!of.test(e))return e;e=parseFloat(e)}var r=Vv(e,t.target.x),n=Vv(e,t.target.y);return"".concat(r,"% ").concat(n,"%")}},Wv="_$css",Hv={correct:function(e,t){var r=t.treeScale,n=t.projectionDelta,o=e,a=e.includes("var("),i=[];a&&(e=e.replace(Ev,(function(e){return i.push(e),Wv})));var l=_f.parse(e);if(l.length>5)return o;var s=_f.createTransformer(e),u="number"!=typeof l[0]?1:0,c=n.x.scale*r.x,d=n.y.scale*r.y;l[0+u]/=c,l[1+u]/=d;var f=kd(c,d,.5);"number"==typeof l[2+u]&&(l[2+u]/=f),"number"==typeof l[3+u]&&(l[3+u]/=f);var p=s(l);if(a){var h=0;p=p.replace(Wv,(function(){var e=i[h];return h++,e}))}return p}},qv=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return kc(t,e),t.prototype.componentDidMount=function(){var e,t=this,r=this.props,n=r.visualElement,o=r.layoutGroup,a=r.switchLayoutGroup,i=r.layoutId,l=n.projection;e=Xv,Object.assign(Hh,e),l&&((null==o?void 0:o.group)&&o.group.add(l),(null==a?void 0:a.register)&&i&&a.register(l),l.root.didUpdate(),l.addEventListener("animationComplete",(function(){t.safeToRemove()})),l.setOptions(_c(_c({},l.options),{onExitComplete:function(){return t.safeToRemove()}}))),om.hasEverUpdated=!0},t.prototype.getSnapshotBeforeUpdate=function(e){var t=this,r=this.props,n=r.layoutDependency,o=r.visualElement,a=r.drag,i=r.isPresent,l=o.projection;return l?(l.isPresent=i,a||e.layoutDependency!==n||void 0===n?l.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?l.promote():l.relegate()||Wc.postRender((function(){var e;(null===(e=l.getStack())||void 0===e?void 0:e.members.length)||t.safeToRemove()}))),null):null},t.prototype.componentDidUpdate=function(){var e=this.props.visualElement.projection;e&&(e.root.didUpdate(),!e.currentAnimation&&e.isLead()&&this.safeToRemove())},t.prototype.componentWillUnmount=function(){var e=this.props,t=e.visualElement,r=e.layoutGroup,n=e.switchLayoutGroup,o=t.projection;o&&(o.scheduleCheckAfterUnmount(),(null==r?void 0:r.group)&&r.group.remove(o),(null==n?void 0:n.deregister)&&n.deregister(o))},t.prototype.safeToRemove=function(){var e=this.props.safeToRemove;null==e||e()},t.prototype.render=function(){return null},t}(F.Component),Xv={borderRadius:_c(_c({},Uv),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:Uv,borderTopRightRadius:Uv,borderBottomLeftRadius:Uv,borderBottomRightRadius:Uv,boxShadow:Hv},Yv={measureLayout:function(e){var t=Cc(rd(),2),r=t[0],n=t[1],o=(0,F.useContext)(Kc);return F.createElement(qv,_c({},e,{layoutGroup:o,switchLayoutGroup:(0,F.useContext)(_m),isPresent:r,safeToRemove:n}))}},Gv=am({attachResizeListener:function(e,t){return e.addEventListener("resize",t,{passive:!0}),function(){return e.removeEventListener("resize",t)}},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}}}),Qv={current:void 0},Zv=am({measureScroll:function(e){return{x:e.scrollLeft,y:e.scrollTop}},defaultParent:function(){if(!Qv.current){var e=new Gv(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),Qv.current=e}return Qv.current},resetTransform:function(e,t){e.style.transform=null!=t?t:"none"}}),Kv=_c(_c(_c(_c({},tv),Ig),bv),Yv),Jv=Pm((function(e,t){return function(e,t,r,n,o){var a=t.forwardMotionProps,i=void 0!==a&&a,l=zm(e)?ig:lg;return _c(_c({},l),{preloadedFeatures:r,useRender:Xm(i),createVisualElement:n,projectionNodeConstructor:o,Component:e})}(e,t,Kv,Bv,Zv)}));const ey=(e,t)=>e.find((e=>e.id===t));function ty(e,t){const r=ry(e,t);return{position:r,index:r?e[r].findIndex((e=>e.id===t)):-1}}function ry(e,t){for(const[r,n]of Object.entries(e))if(ey(n,t))return r}function ny(e){return{position:"fixed",zIndex:"var(--toast-z-index, 5500)",pointerEvents:"none",display:"flex",flexDirection:"column",margin:"top"===e||"bottom"===e?"0 auto":void 0,top:e.includes("top")?"env(safe-area-inset-top, 0px)":void 0,bottom:e.includes("bottom")?"env(safe-area-inset-bottom, 0px)":void 0,right:e.includes("left")?void 0:"env(safe-area-inset-right, 0px)",left:e.includes("right")?void 0:"env(safe-area-inset-left, 0px)"}}const oy={initial:e=>{const{position:t}=e,r=["top","bottom"].includes(t)?"y":"x";let n=["top-right","bottom-right"].includes(t)?1:-1;return"bottom"===t&&(n=1),{opacity:0,[r]:24*n}},animate:{opacity:1,y:0,x:0,scale:1,transition:{duration:.4,ease:[.4,0,.2,1]}},exit:{opacity:0,scale:.85,transition:{duration:.2,ease:[.4,0,1,1]}}},ay=(0,F.memo)((e=>{const{id:t,message:r,onCloseComplete:n,onRequestRemove:o,requestClose:a=!1,position:i="bottom",duration:l=5e3,containerStyle:s,motionVariants:u=oy,toastSpacing:c="0.5rem"}=e,[d,f]=(0,F.useState)(l),p=null===(h=(0,F.useContext)(qc))||h.isPresent;var h;td((()=>{p||n?.()}),[p]),td((()=>{f(l)}),[l]);const m=()=>{p&&o()};(0,F.useEffect)((()=>{p&&a&&o()}),[p,a,o]),function(e,t){const r=function(e,t=[]){const r=(0,F.useRef)(e);return(0,F.useEffect)((()=>{r.current=e})),(0,F.useCallback)(((...e)=>r.current?.(...e)),t)}(e);(0,F.useEffect)((()=>{if(null==t)return;let e=null;return e=window.setTimeout((()=>{r()}),t),()=>{e&&window.clearTimeout(e)}}),[t,r])}(m,d);const g=(0,F.useMemo)((()=>({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:c,...s})),[s,c]),v=(0,F.useMemo)((()=>function(e){let t="center";return e.includes("right")&&(t="flex-end"),e.includes("left")&&(t="flex-start"),{display:"flex",flexDirection:"column",alignItems:t}}(i)),[i]);return(0,vn.jsx)(Jv.div,{layout:!0,className:"chakra-toast",variants:u,initial:"initial",animate:"animate",exit:"exit",onHoverStart:()=>f(null),onHoverEnd:()=>f(l),custom:{position:i},style:v,children:(0,vn.jsx)(mn.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:g,children:St(r,{id:t,onClose:m})})})}));ay.displayName="ToastComponent";const iy={path:(0,vn.jsxs)("g",{stroke:"currentColor",strokeWidth:"1.5",children:[(0,vn.jsx)("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),(0,vn.jsx)("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),(0,vn.jsx)("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},ly=to(((e,t)=>{const{as:r,viewBox:n,color:o="currentColor",focusable:a=!1,children:i,className:l,__css:s,...u}=e,c={ref:t,focusable:a,className:xn("chakra-icon",l),__css:{w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:o,...s,...ao("Icon",e)}},d=n??iy.viewBox;if(r&&"string"!=typeof r)return(0,vn.jsx)(mn.svg,{as:r,...c,...u});const f=i??iy.path;return(0,vn.jsx)(mn.svg,{verticalAlign:"middle",viewBox:d,...c,...u,children:f})}));function sy(e){return(0,vn.jsx)(ly,{viewBox:"0 0 24 24",...e,children:(0,vn.jsx)("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"})})}ly.displayName="Icon";const uy=function(){var e=Xn.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),cy=to(((e,t)=>{const r=ao("Spinner",e),{label:n="Loading...",thickness:o="2px",speed:a="0.45s",emptyColor:i="transparent",className:l,...s}=bn(e),u=xn("chakra-spinner",l),c={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:o,borderBottomColor:i,borderLeftColor:i,animation:`${uy} ${a} linear infinite`,...r};return(0,vn.jsx)(mn.div,{ref:t,__css:c,className:u,...s,children:n&&(0,vn.jsx)(mn.span,{srOnly:!0,children:n})})}));cy.displayName="Spinner";const[dy,fy]=Wn({name:"AlertContext",hookName:"useAlertContext",providerName:"<Alert />"}),[py,hy]=Wn({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:"<Alert />"}),my={info:{icon:function(e){return(0,vn.jsx)(ly,{viewBox:"0 0 24 24",...e,children:(0,vn.jsx)("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"})})},colorScheme:"blue"},warning:{icon:sy,colorScheme:"orange"},success:{icon:function(e){return(0,vn.jsx)(ly,{viewBox:"0 0 24 24",...e,children:(0,vn.jsx)("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"})})},colorScheme:"green"},error:{icon:sy,colorScheme:"red"},loading:{icon:cy,colorScheme:"blue"}},gy=to((function(e,t){const{status:r="info",addRole:n=!0,...o}=bn(e),a=e.colorScheme??function(e){return my[e].colorScheme}(r),i=io("Alert",{...e,colorScheme:a}),l={width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden",...i.container};return(0,vn.jsx)(dy,{value:{status:r},children:(0,vn.jsx)(py,{value:i,children:(0,vn.jsx)(mn.div,{"data-status":r,role:n?"alert":void 0,ref:t,...o,className:xn("chakra-alert",e.className),__css:l})})})}));function vy(e){const{status:t}=fy(),r=function(e){return my[e].icon}(t),n=hy(),o="loading"===t?n.spinner:n.icon;return(0,vn.jsx)(mn.span,{display:"inherit","data-status":t,...e,className:xn("chakra-alert__icon",e.className),__css:o,children:e.children||(0,vn.jsx)(r,{h:"100%",w:"100%"})})}gy.displayName="Alert",vy.displayName="AlertIcon";const yy=to((function(e,t){const r=hy(),{status:n}=fy();return(0,vn.jsx)(mn.div,{ref:t,"data-status":n,...e,className:xn("chakra-alert__title",e.className),__css:r.title})}));yy.displayName="AlertTitle";const by=to((function(e,t){const{status:r}=fy(),n={display:"inline",...hy().description};return(0,vn.jsx)(mn.div,{ref:t,"data-status":r,...e,className:xn("chakra-alert__desc",e.className),__css:n})}));function xy(e){return(0,vn.jsx)(ly,{focusable:"false","aria-hidden":!0,...e,children:(0,vn.jsx)("path",{fill:"currentColor",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"})})}by.displayName="AlertDescription";const wy=to((function(e,t){const r=ao("CloseButton",e),{children:n,isDisabled:o,__css:a,...i}=bn(e);return(0,vn.jsx)(mn.button,{type:"button","aria-label":"Close",ref:t,disabled:o,__css:{outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,...r,...a},...i,children:n||(0,vn.jsx)(xy,{width:"1em",height:"1em"})})}));wy.displayName="CloseButton";const Sy=e=>{const{status:t,variant:r="solid",id:n,title:o,isClosable:a,onClose:i,description:l,colorScheme:s,icon:u}=e,c=n?{root:`toast-${n}`,title:`toast-${n}-title`,description:`toast-${n}-description`}:void 0;return(0,vn.jsxs)(gy,{addRole:!1,status:t,variant:r,id:c?.root,alignItems:"start",borderRadius:"md",boxShadow:"lg",paddingEnd:8,textAlign:"start",width:"auto",colorScheme:s,children:[(0,vn.jsx)(vy,{children:u}),(0,vn.jsxs)(mn.div,{flex:"1",maxWidth:"100%",children:[o&&(0,vn.jsx)(yy,{id:c?.title,children:o}),l&&(0,vn.jsx)(by,{id:c?.description,display:"block",children:l})]}),a&&(0,vn.jsx)(wy,{size:"sm",onClick:i,position:"absolute",insetEnd:1,top:1})]})};function ky(e={}){const{render:t,toastComponent:r=Sy}=e;return n=>"function"==typeof t?t({...n,...e}):(0,vn.jsx)(r,{...n,...e})}const _y=function(e){let t=e;const r=new Set,n=e=>{t=e(t),r.forEach((e=>e()))};return{getState:()=>t,subscribe:t=>(r.add(t),()=>{n((()=>e)),r.delete(t)}),removeToast:(e,t)=>{n((r=>({...r,[t]:r[t].filter((t=>t.id!=e))})))},notify:(e,t)=>{const r=function(e,t={}){Ey+=1;const r=t.id??Ey,n=t.position??"bottom";return{id:r,message:e,position:n,duration:t.duration,onCloseComplete:t.onCloseComplete,onRequestRemove:()=>_y.removeToast(String(r),n),status:t.status,requestClose:!1,containerStyle:t.containerStyle}}(e,t),{position:o,id:a}=r;return n((e=>{const t=o.includes("top")?[r,...e[o]??[]]:[...e[o]??[],r];return{...e,[o]:t}})),a},update:(e,t)=>{e&&n((r=>{const n={...r},{position:o,index:a}=ty(n,e);return o&&-1!==a&&(n[o][a]={...n[o][a],...t,message:ky(t)}),n}))},closeAll:({positions:e}={})=>{n((t=>(e??["bottom","bottom-right","bottom-left","top","top-left","top-right"]).reduce(((e,r)=>(e[r]=t[r].map((e=>({...e,requestClose:!0}))),e)),{...t})))},close:e=>{n((t=>{const r=ry(t,e);return r?{...t,[r]:t[r].map((t=>t.id==e?{...t,requestClose:!0}:t))}:t}))},isActive:e=>Boolean(ty(_y.getState(),e).position)}}({top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]});let Ey=0;var Cy=r(961);const[Py,Ty]=Wn({strict:!1,name:"PortalContext"}),zy="chakra-portal",jy=e=>(0,vn.jsx)("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0},children:e.children}),Oy=e=>{const{appendToParentPortal:t,children:r}=e,[n,o]=(0,F.useState)(null),a=(0,F.useRef)(null),[,i]=(0,F.useState)({});(0,F.useEffect)((()=>i({})),[]);const l=Ty(),s=vc();po((()=>{if(!n)return;const e=n.ownerDocument,r=t?l??e.body:e.body;if(!r)return;a.current=e.createElement("div"),a.current.className=zy,r.appendChild(a.current),i({});const o=a.current;return()=>{r.contains(o)&&r.removeChild(o)}}),[n]);const u=s?.zIndex?(0,vn.jsx)(jy,{zIndex:s?.zIndex,children:r}):r;return a.current?(0,Cy.createPortal)((0,vn.jsx)(Py,{value:a.current,children:u}),a.current):(0,vn.jsx)("span",{ref:e=>{e&&o(e)}})},Ay=e=>{const{children:t,containerRef:r,appendToParentPortal:n}=e,o=r.current,a=o??("undefined"!=typeof window?document.body:void 0),i=(0,F.useMemo)((()=>{const e=o?.ownerDocument.createElement("div");return e&&(e.className=zy),e}),[o]),[,l]=(0,F.useState)({});return po((()=>l({})),[]),po((()=>{if(i&&a)return a.appendChild(i),()=>{a.removeChild(i)}}),[i,a]),a&&i?(0,Cy.createPortal)((0,vn.jsx)(Py,{value:n?i:null,children:t}),i):null};function Ry(e){const t={appendToParentPortal:!0,...e},{containerRef:r,...n}=t;return r?(0,vn.jsx)(Ay,{containerRef:r,...n}):(0,vn.jsx)(Oy,{...n})}Ry.className=zy,Ry.selector=".chakra-portal",Ry.displayName="Portal";const[My,Ly]=Wn({name:"ToastOptionsContext",strict:!1}),Fy=e=>{const t=(0,F.useSyncExternalStore)(_y.subscribe,_y.getState,_y.getState),{motionVariants:r,component:n=ay,portalProps:o,animatePresenceProps:a}=e,i=Object.keys(t).map((e=>{const o=t[e];return(0,vn.jsx)("div",{role:"region","aria-live":"polite","aria-label":`Notifications-${e}`,id:`chakra-toast-manager-${e}`,style:ny(e),children:(0,vn.jsx)(ed,{...a,initial:!1,children:o.map((e=>(0,vn.jsx)(n,{motionVariants:r,...e},e.id)))})},e)}));return(0,vn.jsx)(Ry,{...o,children:i})},Iy=(Dy=rc,function({children:e,theme:t=Dy,toastOptions:r,...n}){return(0,vn.jsxs)(wc,{theme:t,...n,children:[(0,vn.jsx)(My,{value:r?.defaultOptions,children:e}),(0,vn.jsx)(Fy,{...r})]})});var Dy;function $y(e){return $y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$y(e)}function Ny(){return Ny=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ny.apply(null,arguments)}function By(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Vy(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?By(Object(r),!0).forEach((function(t){Uy(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):By(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Uy(e,t,r){return(t=function(e){var t=function(e){if("object"!=$y(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=$y(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==$y(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wy(e){return function(e){if(Array.isArray(e))return Gy(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Yy(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Hy(){Hy=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var a=t&&t.prototype instanceof v?t:v,i=Object.create(a.prototype),l=new j(n||[]);return o(i,"_invoke",{value:C(e,r,l)}),i}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var f="suspendedStart",p="suspendedYield",h="executing",m="completed",g={};function v(){}function y(){}function b(){}var x={};u(x,i,(function(){return this}));var w=Object.getPrototypeOf,S=w&&w(w(O([])));S&&S!==r&&n.call(S,i)&&(x=S);var k=b.prototype=v.prototype=Object.create(x);function _(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function r(o,a,i,l){var s=d(e[o],e,a);if("throw"!==s.type){var u=s.arg,c=u.value;return c&&"object"==$y(c)&&n.call(c,"__await")?t.resolve(c.__await).then((function(e){r("next",e,i,l)}),(function(e){r("throw",e,i,l)})):t.resolve(c).then((function(e){u.value=e,i(u)}),(function(e){return r("throw",e,i,l)}))}l(s.arg)}var a;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function C(t,r,n){var o=f;return function(a,i){if(o===h)throw Error("Generator is already running");if(o===m){if("throw"===a)throw i;return{value:e,done:!0}}for(n.method=a,n.arg=i;;){var l=n.delegate;if(l){var s=P(l,n);if(s){if(s===g)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===f)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=h;var u=d(t,r,n);if("normal"===u.type){if(o=n.done?m:p,u.arg===g)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=m,n.method="throw",n.arg=u.arg)}}}function P(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,P(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var a=d(o,t.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,g;var i=a.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,g):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function z(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function O(t){if(t||""===t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError($y(t)+" is not iterable")}return y.prototype=b,o(k,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:y,configurable:!0}),y.displayName=u(b,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,u(e,s,"GeneratorFunction")),e.prototype=Object.create(k),e},t.awrap=function(e){return{__await:e}},_(E.prototype),u(E.prototype,l,(function(){return this})),t.AsyncIterator=E,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var i=new E(c(e,r,n,o),a);return t.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},_(k),u(k,s,"Generator"),u(k,i,(function(){return this})),u(k,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=O,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(z),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return l.type="throw",l.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],l=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(s&&u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,g):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),z(r),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;z(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:O(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),g}},t}function qy(e,t,r,n,o,a,i){try{var l=e[a](i),s=l.value}catch(e){return void r(e)}l.done?t(s):Promise.resolve(s).then(n,o)}function Xy(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,l=[],s=!0,u=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=a.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){u=!0,o=e}finally{try{if(!s&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return l}}(e,t)||Yy(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Yy(e,t){if(e){if("string"==typeof e)return Gy(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Gy(e,t):void 0}}function Gy(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var Qy=wp.serverSideRender?wp.serverSideRender:wp.components.ServerSideRender,Zy="undefined"!=typeof _UR_BLOCKS_&&_UR_BLOCKS_,Ky=Zy.urRestApiNonce,Jy=Zy.restURL,eb=Zy.logoUrl;function tb(){return tb=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},tb.apply(null,arguments)}function rb(e){return rb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},rb(e)}function nb(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ob(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?nb(Object(r),!0).forEach((function(t){ab(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):nb(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ab(e,t,r){return(t=function(e){var t=function(e){if("object"!=rb(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=rb(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==rb(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ib=D.name,lb=ob(ob({},D),{},{icon:function(e){return I().createElement(mn.svg,tb({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"#475BB2",h:"6",w:"6"},e),I().createElement("path",{fillRule:"evenodd",d:"M9.455 2a1.818 1.818 0 0 0-1.819 1.818h-.909A2.727 2.727 0 0 0 4 6.545v12.728A2.727 2.727 0 0 0 6.727 22h10.91a2.727 2.727 0 0 0 2.727-2.727V6.545a2.727 2.727 0 0 0-2.728-2.727h-.909A1.818 1.818 0 0 0 14.91 2H9.455Zm7.272 3.636a1.818 1.818 0 0 1-1.818 1.819H9.455a1.818 1.818 0 0 1-1.819-1.819h-.909a.91.91 0 0 0-.909.91v12.727a.91.91 0 0 0 .91.909h10.908a.91.91 0 0 0 .91-.91V6.546a.91.91 0 0 0-.91-.909h-.909Zm-7.272-.909v.91h5.454v-1.82H9.455v.91Zm-1.819 6.364a.91.91 0 0 1 .91-.91h7.272a.91.91 0 1 1 0 1.819H8.545a.91.91 0 0 1-.909-.91Zm.91 3.636a.91.91 0 1 0 0 1.819h7.272a.91.91 0 0 0 0-1.819H8.545Z",clipRule:"evenodd"}))},edit:function(e){var t=(0,xo.useBlockProps)(),r=e.attributes.formId,n=e.setAttributes,o=D.name,a=Xy((0,F.useState)(""),2),i=a[0],l=a[1],s=Xy((0,F.useState)(!!r),2),u=s[0],c=s[1],d=Xy((0,F.useState)("logged_out"),2),f=d[0],p=d[1];(0,F.useEffect)((function(){var e=function(){var e,t=(e=Hy().mark((function e(){var t;return Hy().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i){e.next=11;break}return e.prev=1,e.next=4,ve({path:Jy+"user-registration/v1/gutenberg-blocks/form-list",method:"GET",headers:{"X-WP-Nonce":Ky}});case 4:(t=e.sent).success&&l(t.form_lists),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),console.error("Error fetching data:",e.t0);case 11:case"end":return e.stop()}}),e,null,[[1,8]])})),function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function i(e){qy(a,n,o,i,l,"next",e)}function l(e){qy(a,n,o,i,l,"throw",e)}i(void 0)}))});return function(){return t.apply(this,arguments)}}();e()}),[]);var h=Object.keys(i).map((function(e){return{value:Number(e),label:i[e]}})),m=function(e){n({formId:e}),c(e)};return I().createElement(Iy,null,I().createElement(gn,Ny({},t,{borderWidth:"1px",borderRadius:"lg"}),I().createElement(xo.InspectorControls,{key:"ur-gutenberg-registration-form-inspector-controls"},I().createElement(bo.PanelBody,{title:G("User Registration Forms","user-registration")},I().createElement(bo.SelectControl,{key:"ur-gutenberg-registration-form-registration-form",value:r,options:[{label:G("Select a Form","user-registration"),value:""}].concat(Wy(h)),onChange:m}),u&&I().createElement(bo.SelectControl,{key:"ur-gutenberg-registration-form-user-login-state",label:G("User State","user-registration"),value:f,options:[{label:"Logged In",value:"logged_in"},{label:"Logged Out",value:"logged_out"}],onChange:p}))),u?I().createElement(bo.Disabled,null,I().createElement(Qy,{key:"ur-gutenberg-registration-form-server-side-renderer",block:o,attributes:Vy(Vy({},e.attributes),{},{userState:f})})):I().createElement(lo,null,I().createElement(so,null,I().createElement(uo,null,I().createElement(ho,{src:eb})),I().createElement(uo,null,I().createElement(mo,{as:"h3",ml:5},G("User Registration Forms","user-registration"))),I().createElement(uo,null,I().createElement(vo,{spacing:"3"},I().createElement(yo,{fontSize:"sm",as:"i"},G("Select a registration form name to display one of your form.","user-registration")))),I().createElement(uo,null,I().createElement(gn,{w:"sm",m:"4"},I().createElement(bo.SelectControl,{key:"ur-gutenberg-registration-form-select-control",value:r,options:[{label:G("Select a Form","user-registration"),value:""}].concat(Wy(h)),onChange:m})))))))},save:function(e){return React.createElement("div",null,e.attributes.formId)}});const sb=JSON.parse('{"$schema":"https://schemas.wp.org/block-json/1.1","apiVersion":3,"name":"user-registration/login-form","version":"1.0.0","title":"Login Form","category":"user-registration","description":"The block give the login form for registered users.","keywords":["user registration login form","login form"],"textdomain":"user-registration","example":{"attributes":{}},"supports":{"className":false,"customClassName":false,"reusable":false},"attributes":{"redirectUrl":{"type":"string"},"logoutUrl":{"type":"string"},"userState":{"type":"string"}},"editorScript":"user-registration-blocks-editor","editorStyle":"user-registration-blocks-editor"}');function ub(e){return ub="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ub(e)}function cb(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function db(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?cb(Object(r),!0).forEach((function(t){fb(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):cb(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function fb(e,t,r){return(t=function(e){var t=function(e){if("object"!=ub(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=ub(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ub(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pb(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var hb=wp.serverSideRender?wp.serverSideRender:wp.components.ServerSideRender;function mb(e){return mb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mb(e)}function gb(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function vb(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?gb(Object(r),!0).forEach((function(t){yb(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):gb(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function yb(e,t,r){return(t=function(e){var t=function(e){if("object"!=mb(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=mb(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==mb(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var bb=sb.name,xb=vb(vb({},sb),{},{icon:function(e){return I().createElement(mn.svg,tb({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"#475BB2",h:"6",w:"6"},e),I().createElement("path",{fillRule:"evenodd",d:"M8.545 9.273a.91.91 0 1 0 0 1.818h7.273a.91.91 0 1 0 0-1.818H8.545Zm-.909 4.545a.91.91 0 0 1 .91-.909h7.272a.91.91 0 1 1 0 1.818H8.545a.91.91 0 0 1-.909-.909Zm.909 2.728a.91.91 0 1 0 0 1.818h1.819a.91.91 0 1 0 0-1.819H8.545Z",clipRule:"evenodd"}),I().createElement("path",{fillRule:"evenodd",d:"M7.636 3.818C7.636 2.814 8.45 2 9.455 2h5.454c1.004 0 1.818.814 1.818 1.818h.91a2.727 2.727 0 0 1 2.727 2.727v12.728A2.727 2.727 0 0 1 17.636 22H6.727A2.727 2.727 0 0 1 4 19.273V6.545a2.727 2.727 0 0 1 2.727-2.727h.91Zm7.273 3.637a1.818 1.818 0 0 0 1.818-1.819h.91a.91.91 0 0 1 .909.91v12.727a.91.91 0 0 1-.91.909H6.727a.91.91 0 0 1-.909-.91V6.546a.91.91 0 0 1 .91-.909h.908c0 1.005.814 1.819 1.819 1.819h5.454ZM9.455 5.636V3.818h5.454v1.818H9.455Z",clipRule:"evenodd"}))},edit:function(e){var t=(0,xo.useBlockProps)(),r=sb.name,n=e.attributes,o=n.redirectUrl,a=n.logoutUrl,i=e.setAttributes,l=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,l=[],s=!0,u=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=a.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){u=!0,o=e}finally{try{if(!s&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return pb(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?pb(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,F.useState)("logged_out"),2),s=l[0],u=l[1];return I().createElement(I().Fragment,null,I().createElement(xo.InspectorControls,{key:"ur-gutenberg-login-form-inspector-controls"},I().createElement(bo.PanelBody,{title:G("Login Form Settings","user-registration")},I().createElement(bo.TextControl,{key:"ur-gutenberg-login-form-redirect-url",label:G("Redirect URL","user-registration"),value:o,onChange:function(e){i({redirectUrl:e})}}),I().createElement(bo.TextControl,{key:"ur-gutenberg-login-form-logout-url",label:G("Logout URL","user-registration"),value:a,onChange:function(e){i({logoutUrl:e})}}),I().createElement(bo.SelectControl,{key:"ur-gutenberg-login-user-login-state",label:G("User State","user-registration"),value:s,options:[{label:"Logged In",value:"logged_in"},{label:"Logged Out",value:"logged_out"}],onChange:u}))),I().createElement(gn,t,I().createElement(bo.Disabled,null,I().createElement(hb,{key:"ur-gutenberg-login-form-server-side-renderer",block:r,attributes:db(db({},e.attributes),{},{userState:s})}))))},save:function(e){return React.createElement("div",null,"Login Form")}});const wb=JSON.parse('{"$schema":"https://schemas.wp.org/block-json/1.1","apiVersion":3,"name":"user-registration/myaccount","version":"1.0.0","title":"Myaccount","category":"user-registration","description":"The block give the myaccount form for registered users.","keywords":["user registration myaccount","myaccount"],"textdomain":"user-registration","example":{"attributes":{}},"supports":{"className":false,"customClassName":false,"reusable":false},"attributes":{"redirectUrl":{"type":"string"},"logoutUrl":{"type":"string"},"userState":{"type":"string"}},"editorScript":"user-registration-blocks-editor","editorStyle":"user-registration-blocks-editor"}');function Sb(e){return Sb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Sb(e)}function kb(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?kb(Object(r),!0).forEach((function(t){Eb(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):kb(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Eb(e,t,r){return(t=function(e){var t=function(e){if("object"!=Sb(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=Sb(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Sb(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cb(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var Pb=wp.serverSideRender?wp.serverSideRender:wp.components.ServerSideRender;function Tb(e){return Tb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Tb(e)}function zb(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function jb(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?zb(Object(r),!0).forEach((function(t){Ob(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zb(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ob(e,t,r){return(t=function(e){var t=function(e){if("object"!=Tb(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=Tb(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Tb(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ab=wb.name,Rb=jb(jb({},wb),{},{icon:function(e){return I().createElement(mn.svg,tb({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"#475BB2",h:"6",w:"6"},e),I().createElement("path",{fillRule:"evenodd",d:"M4 5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-.072a6.999 6.999 0 0 0-3.678-5.2 5 5 0 1 0-6.5 0A6.997 6.997 0 0 0 5.072 20H5a1 1 0 0 1-1-1V5Zm2 17H5a3 3 0 0 1-3-3V5a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v14a3 3 0 0 1-3 3H6Zm10.899-2H7.101a5 5 0 0 1 9.798 0ZM12 8a3 3 0 1 0 0 6 3 3 0 0 0 0-6Z",clipRule:"evenodd"}))},edit:function(e){var t=(0,xo.useBlockProps)(),r=wb.name,n=e.attributes,o=n.redirectUrl,a=n.logoutUrl,i=e.setAttributes,l=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,l=[],s=!0,u=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=a.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){u=!0,o=e}finally{try{if(!s&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Cb(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Cb(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,F.useState)("logged_out"),2),s=l[0],u=l[1];return I().createElement(I().Fragment,null,I().createElement(xo.InspectorControls,{key:"ur-gutenberg-myaccount-inspector-controls"},I().createElement(bo.PanelBody,{title:G("Myaccount Settings","user-registration")},I().createElement(bo.TextControl,{key:"ur-gutenberg-myaccount-redirect-url",label:G("Redirect URL","user-registration"),value:o,onChange:function(e){i({redirectUrl:e})}}),I().createElement(bo.TextControl,{key:"ur-gutenberg-myaccount-logout-url",label:G("Logout URL","user-registration"),value:a,onChange:function(e){i({logoutUrl:e})}}),I().createElement(bo.SelectControl,{key:"ur-gutenberg-myaccount-user-login-state",label:G("User State","user-registration"),value:s,options:[{label:"Logged In",value:"logged_in"},{label:"Logged Out",value:"logged_out"}],onChange:u}))),I().createElement(gn,t,I().createElement(bo.Disabled,null,I().createElement(Pb,{key:"ur-gutenberg-myaccount-server-side-renderer",block:r,attributes:_b(_b({},e.attributes),{},{userState:s})}))))},save:function(e){return React.createElement("div",null,"myaccount")}});const Mb=JSON.parse('{"$schema":"https://schemas.wp.org/block-json/1.1","apiVersion":3,"name":"user-registration/edit-profile","version":"1.0.0","title":"Edit Profile","category":"user-registration","description":"The block give edit profile interface.","keywords":["user registration edit profile","edit profile"],"textdomain":"user-registration","example":{"attributes":{}},"supports":{"className":false,"customClassName":false,"reusable":false},"attributes":{},"editorScript":"user-registration-blocks-editor","editorStyle":"user-registration-blocks-editor"}');var Lb=wp.serverSideRender?wp.serverSideRender:wp.components.ServerSideRender;function Fb(e){return Fb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Fb(e)}function Ib(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Db(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ib(Object(r),!0).forEach((function(t){$b(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ib(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function $b(e,t,r){return(t=function(e){var t=function(e){if("object"!=Fb(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=Fb(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Fb(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Nb=Mb.name,Bb=Db(Db({},Mb),{},{icon:function(e){return I().createElement(mn.svg,tb({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"#475BB2",h:"6",w:"6"},e),I().createElement("path",{fillRule:"evenodd",d:"M10.295 3.843a3.687 3.687 0 1 0 0 7.374 3.687 3.687 0 0 0 0-7.374ZM4.765 7.53a5.53 5.53 0 1 1 8.618 4.588.922.922 0 0 1-1.125 1.247 6.452 6.452 0 0 0-8.415 6.146.922.922 0 0 1-1.843 0 8.295 8.295 0 0 1 4.94-7.585A5.521 5.521 0 0 1 4.764 7.53Zm11.06 9.216a1.843 1.843 0 1 1 3.687 0 1.843 1.843 0 0 1-3.687 0Zm-1.812-.482a3.716 3.716 0 0 0 0 .965l-.13.057a.922.922 0 0 0 .75 1.685l.071-.032c.218.294.478.554.772.772l-.033.072a.922.922 0 1 0 1.685.749l.058-.13a3.712 3.712 0 0 0 .965 0l.058.13a.922.922 0 0 0 1.684-.749l-.032-.073c.293-.217.554-.477.771-.771l.072.032a.922.922 0 0 0 .748-1.685l-.129-.057a3.73 3.73 0 0 0 0-.965l.13-.058a.922.922 0 1 0-.75-1.684l-.071.032a3.708 3.708 0 0 0-.77-.771l.031-.072a.922.922 0 0 0-1.684-.748l-.058.128a3.72 3.72 0 0 0-.966 0l-.057-.128a.922.922 0 1 0-1.684.748l.031.072a3.707 3.707 0 0 0-.77.77l-.073-.031a.922.922 0 0 0-.748 1.684l.129.058Z",clipRule:"evenodd"}))},edit:function(e){var t=(0,xo.useBlockProps)(),r=Mb.name;return I().createElement(I().Fragment,null,I().createElement(gn,t,I().createElement(Lb,{key:"ur-gutenberg-login-form-server-side-renderer",block:r,attributes:e.attributes})))},save:function(e){return React.createElement("div",null,"Edit profile ")}});const Vb=JSON.parse('{"$schema":"https://schemas.wp.org/block-json/1.1","apiVersion":3,"name":"user-registration/edit-password","version":"1.0.0","title":"Edit Password","category":"user-registration","description":"The block give the edit password interface.","keywords":["user registration edit password","edit password"],"textdomain":"user-registration","example":{"attributes":{}},"supports":{"className":false,"customClassName":false,"reusable":false},"attributes":{},"editorScript":"user-registration-blocks-editor","editorStyle":"user-registration-blocks-editor"}');var Ub=wp.serverSideRender?wp.serverSideRender:wp.components.ServerSideRender;function Wb(e){return Wb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Wb(e)}function Hb(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function qb(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Hb(Object(r),!0).forEach((function(t){Xb(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Hb(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Xb(e,t,r){return(t=function(e){var t=function(e){if("object"!=Wb(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=Wb(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Wb(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Yb=Vb.name,Gb=qb(qb({},Vb),{},{icon:function(e){return I().createElement(mn.svg,tb({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"#475BB2",h:"6",w:"6"},e),I().createElement("path",{fillRule:"evenodd",d:"M5.636 4a.91.91 0 0 0 0 1.818h.91a1.818 1.818 0 0 1 1.818 1.818v3.527a.993.993 0 0 0-.367.237l-.384.383-.383-.383c-.289-.29-.681-.365-.877-.17-.195.196-.12.588.17.877l.383.383-.383.384c-.29.288-.365.68-.17.876.196.195.588.12.877-.169l.383-.384.384.384c.112.112.24.193.367.237v2.91a1.818 1.818 0 0 1-1.819 1.817h-.909a.91.91 0 1 0 0 1.819h.91a3.637 3.637 0 0 0 2.727-1.232A3.637 3.637 0 0 0 12 20.364h.91a.91.91 0 1 0 0-1.817H12a1.818 1.818 0 0 1-1.818-1.819v-9.09A1.818 1.818 0 0 1 12 5.817h.91a.91.91 0 1 0 0-1.818H12A3.637 3.637 0 0 0 9.273 5.23 3.635 3.635 0 0 0 6.545 4h-.909Zm2.728 8.534v-.087l-.044.043.044.043Zm-3.637-3.08a.91.91 0 0 0-.909.91V14a.91.91 0 0 0 .91.91h.908a.91.91 0 1 1 0 1.817h-.909A2.728 2.728 0 0 1 2 14v-3.636a2.727 2.727 0 0 1 2.727-2.728h.91a.91.91 0 0 1 0 1.819h-.91Zm8.182-1.818a.91.91 0 1 0 0 1.819h6.364a.91.91 0 0 1 .909.909V14a.91.91 0 0 1-.91.91H12.91a.91.91 0 1 0 0 1.817h6.364A2.728 2.728 0 0 0 22 14v-3.636a2.727 2.727 0 0 0-2.727-2.728h-6.364Zm.795 5.238-.384-.384.384-.383c.289-.289.364-.681.17-.877-.196-.195-.588-.119-.877.17l-.384.383-.383-.383c-.289-.29-.681-.365-.877-.17-.195.196-.12.588.17.877l.383.383-.383.384c-.29.288-.365.68-.17.876.196.195.588.12.877-.169l.383-.384.384.384c.288.289.68.364.876.169.195-.195.12-.588-.17-.876Zm3.13-1.475.383.384.384-.383c.289-.289.68-.365.876-.17.195.196.12.588-.169.877l-.384.383.384.384c.288.288.364.68.169.876-.195.195-.588.12-.876-.17l-.384-.383-.383.384c-.289.289-.681.364-.877.17-.195-.196-.12-.588.17-.877l.383-.384-.384-.383c-.288-.289-.364-.681-.169-.877.196-.195.588-.12.877.17Z",clipRule:"evenodd"}))},edit:function(e){var t=(0,xo.useBlockProps)(),r=Vb.name;return I().createElement(I().Fragment,null,I().createElement(gn,t,I().createElement(Ub,{key:"ur-gutenberg-login-form-server-side-renderer",block:r,attributes:e.attributes})))},save:function(e){return React.createElement("div",null,"Edit Password")}});function Qb(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var Zb=[e,t,n,o,a];Zb=P("user-registration.blocks",Zb);var Kb=r(5072),Jb=r.n(Kb),ex=r(7825),tx=r.n(ex),rx=r(7659),nx=r.n(rx),ox=r(5056),ax=r.n(ox),ix=r(540),lx=r.n(ix),sx=r(1113),ux=r.n(sx),cx=r(1024),dx={};dx.styleTagTransform=ux(),dx.setAttributes=ax(),dx.insert=nx().bind(null,"head"),dx.domAPI=tx(),dx.insertStyleElement=lx(),Jb()(cx.A,dx),cx.A&&cx.A.locals&&cx.A.locals;var fx=r(4642),px={};px.styleTagTransform=ux(),px.setAttributes=ax(),px.insert=nx().bind(null,"head"),px.domAPI=tx(),px.insertStyleElement=lx(),Jb()(fx.A,px),fx.A&&fx.A.locals&&fx.A.locals;var hx=("undefined"!=typeof _UR_PRO_BLOCKS_&&_UR_PRO_BLOCKS_).isPro;if(function(){var e,t=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return Qb(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Qb(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){l=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(l)throw a}}}}(Zb);try{for(t.s();!(e=t.n()).done;){var r=e.value,n=P("user-registration.blocks.metadata",r.settings);n.edit=P("user-registration.blocks.edit",n.edit,n),(0,i.registerBlockType)(r.name,n)}}catch(e){t.e(e)}finally{t.f()}}(),hx){var mx;try{mx=Object(function(){var e=new Error("Cannot find module './blocks/pro/blocks'");throw e.code="MODULE_NOT_FOUND",e}())}catch(e){console.error("Failed to import registerProBlocks:",e)}mx&&mx()}})()})();

Filemanager

Name Type Size Permission Actions
edit-password Folder 0755
edit-profile Folder 0755
login-form Folder 0755
myaccount Folder 0755
registration-form Folder 0755
blocks.js File 430.98 KB 0644
blocks.js.LICENSE.txt File 1.1 KB 0644
dashboard.js File 1.35 MB 0644
dashboard.js.LICENSE.txt File 2.1 KB 0644
formblock.js File 3.83 KB 0644
reactPlayerPreview.js File 2.6 KB 0644
welcome.js File 612.21 KB 0644
welcome.js.LICENSE.txt File 980 B 0644