PATH:
home
/
bkunreyz
/
input.managedmedia.org
/
wp-content
/
plugins
/
user-registration
/
chunks
/*! For license information please see blocks.js.LICENSE.txt */ (()=>{var e={20:(e,t,n)=>{"use strict";var r=n(694),o=Symbol.for("react.element"),i=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,n){var r,s={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)i.call(t,r)&&!l.hasOwnProperty(r)&&(s[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===s[r]&&(s[r]=t[r]);return{$$typeof:o,type:e,key:u,ref:c,props:s,_owner:a.current}}t.jsx=s,t.jsxs=s},24:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(601),o=n.n(r),i=n(314),a=n.n(i)()(o());a.push([e.id,"",""]);const l=a},56:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},72:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case i:case l:case a: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 x(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=s,t.Element=r,t.ForwardRef=f,t.Fragment=i,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=l,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return S(e)||x(e)===c},t.isConcurrentMode=S,t.isContextConsumer=function(e){return x(e)===u},t.isContextProvider=function(e){return x(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===f},t.isFragment=function(e){return x(e)===i},t.isLazy=function(e){return x(e)===g},t.isMemo=function(e){return x(e)===m},t.isPortal=function(e){return x(e)===o},t.isProfiler=function(e){return x(e)===l},t.isStrictMode=function(e){return x(e)===a},t.isSuspense=function(e){return x(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===l||e===a||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===b||e.$$typeof===y||e.$$typeof===w||e.$$typeof===v)},t.typeOf=x},113: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))}}},115:e=>{var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){if(e.constructor!==a.constructor)return!1;var l,s,u,c;if(Array.isArray(e)){if((l=e.length)!=a.length)return!1;for(s=l;0!==s--;)if(!i(e[s],a[s]))return!1;return!0}if(n&&e instanceof Map&&a instanceof Map){if(e.size!==a.size)return!1;for(c=e.entries();!(s=c.next()).done;)if(!a.has(s.value[0]))return!1;for(c=e.entries();!(s=c.next()).done;)if(!i(s.value[1],a.get(s.value[0])))return!1;return!0}if(r&&e instanceof Set&&a instanceof Set){if(e.size!==a.size)return!1;for(c=e.entries();!(s=c.next()).done;)if(!a.has(s.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(a)){if((l=e.length)!=a.length)return!1;for(s=l;0!==s--;)if(e[s]!==a[s])return!1;return!0}if(e.constructor===RegExp)return e.source===a.source&&e.flags===a.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof a.valueOf)return e.valueOf()===a.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof a.toString)return e.toString()===a.toString();if((l=(u=Object.keys(e)).length)!==Object.keys(a).length)return!1;for(s=l;0!==s--;)if(!Object.prototype.hasOwnProperty.call(a,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)&&!i(e[u[s]],a[u[s]]))return!1;return!0}return e!=e&&a!=a}e.exports=function(e,t){try{return i(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},146:(e,t,n)=>{"use strict";var r=n(404),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?a:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=a;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var a=c(n);d&&(a=a.concat(d(n)));for(var l=s(t),m=s(n),g=0;g<a.length;++g){var v=a[g];if(!(i[v]||r&&r[v]||m&&m[v]||l&&l[v])){var b=f(n,v);try{u(t,v,b)}catch(e){}}}}return t}},313:(e,t,n)=>{"use strict";var r=n(925);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},314:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var l=0;l<this.length;l++){var s=this[l][0];null!=s&&(a[s]=!0)}for(var u=0;u<e.length;u++){var c=[].concat(e[u]);r&&a[c[0]]||(void 0!==i&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=i),n&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=n):c[2]=n),o&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=o):c[4]="".concat(o)),t.push(c))}},t}},394:(e,t,n)=>{e=n.nmd(e);var r="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",a="[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[i]=c["[object Array]"]=c["[object ArrayBuffer]"]=c["[object Boolean]"]=c["[object DataView]"]=c["[object Date]"]=c["[object Error]"]=c[a]=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 n.g&&n.g&&n.g.Object===Object&&n.g,m="object"==typeof self&&self&&self.Object===Object&&self,g=h||m||Function("return this")(),v=t&&!t.nodeType&&t,b=v&&e&&!e.nodeType&&e,y=b&&b.exports===v,w=y&&h.process,x=function(){try{return b&&b.require&&b.require("util").types||w&&w.binding&&w.binding("util")}catch(e){}}(),S=x&&x.isTypedArray,k=Array.prototype,C=Function.prototype,E=Object.prototype,_=g["__core-js_shared__"],O=C.toString,P=E.hasOwnProperty,T=(d=/[^.]+$/.exec(_&&_.keys&&_.keys.IE_PROTO||""))?"Symbol(src)_1."+d:"",j=E.toString,R=O.call(Object),A=RegExp("^"+O.call(P).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),z=y?g.Buffer:void 0,M=g.Symbol,I=g.Uint8Array,L=(z&&z.allocUnsafe,f=Object.getPrototypeOf,p=Object,function(e){return f(p(e))}),F=Object.create,D=E.propertyIsEnumerable,V=k.splice,B=M?M.toStringTag:void 0,N=function(){try{var e=le(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),$=z?z.isBuffer:void 0,U=Math.max,H=Date.now,W=le(g,"Map"),q=le(Object,"create"),G=function(){function e(){}return function(t){if(!ye(t))return{};if(F)return F(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function Y(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function X(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Z(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function K(e){var t=this.__data__=new X(e);this.size=t.size}function Q(e,t,n){(void 0!==n&&!fe(e[t],n)||void 0===n&&!(t in e))&&te(e,t,n)}function J(e,t,n){var r=e[t];P.call(e,t)&&fe(r,n)&&(void 0!==n||t in e)||te(e,t,n)}function ee(e,t){for(var n=e.length;n--;)if(fe(e[n][0],t))return n;return-1}function te(e,t,n){"__proto__"==t&&N?N(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}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 n=t[e];return n===r?void 0:n}return P.call(t,e)?t[e]:void 0},Y.prototype.has=function(e){var t=this.__data__;return q?void 0!==t[e]:P.call(t,e)},Y.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=q&&void 0===t?r:t,this},X.prototype.clear=function(){this.__data__=[],this.size=0},X.prototype.delete=function(e){var t=this.__data__,n=ee(t,e);return!(n<0||(n==t.length-1?t.pop():V.call(t,n,1),--this.size,0))},X.prototype.get=function(e){var t=this.__data__,n=ee(t,e);return n<0?void 0:t[n][1]},X.prototype.has=function(e){return ee(this.__data__,e)>-1},X.prototype.set=function(e,t){var n=this.__data__,r=ee(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Z.prototype.clear=function(){this.size=0,this.__data__={hash:new Y,map:new(W||X),string:new Y}},Z.prototype.delete=function(e){var t=ae(this,e).delete(e);return this.size-=t?1:0,t},Z.prototype.get=function(e){return ae(this,e).get(e)},Z.prototype.has=function(e){return ae(this,e).has(e)},Z.prototype.set=function(e,t){var n=ae(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},K.prototype.clear=function(){this.__data__=new X,this.size=0},K.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},K.prototype.get=function(e){return this.__data__.get(e)},K.prototype.has=function(e){return this.__data__.has(e)},K.prototype.set=function(e,t){var n=this.__data__;if(n instanceof X){var r=n.__data__;if(!W||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Z(r)}return n.set(e,t),this.size=n.size,this};function ne(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":B&&B in Object(e)?function(e){var t=P.call(e,B),n=e[B];try{e[B]=void 0;var r=!0}catch(e){}var o=j.call(e);return r&&(t?e[B]=n:delete e[B]),o}(e):function(e){return j.call(e)}(e)}function re(e){return we(e)&&ne(e)==i}function oe(e,t,n,r,o){e!==t&&function(e,t,n){for(var r=-1,o=Object(e),i=n(e),a=i.length;a--;){var l=i[++r];if(!1===t(o[l],l,o))break}}(t,function(i,a){if(o||(o=new K),ye(i))!function(e,t,n,r,o,i,a){var s=ce(e,n),u=ce(t,n),c=a.get(u);if(c)Q(e,n,c);else{var d,f,p,h,m,g=i?i(s,u,n+"",e,t,a):void 0,v=void 0===g;if(v){var b=he(u),y=!b&&ge(u),w=!b&&!y&&xe(u);g=u,b||y||w?he(s)?g=s:we(m=s)&&me(m)?g=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(s):y?(v=!1,g=function(e){return e.slice()}(u)):w?(v=!1,h=new(p=(d=u).buffer).constructor(p.byteLength),new I(h).set(new I(p)),f=h,g=new d.constructor(f,d.byteOffset,d.length)):g=[]:function(e){if(!we(e)||ne(e)!=l)return!1;var t=L(e);if(null===t)return!0;var n=P.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&O.call(n)==R}(u)||pe(u)?(g=s,pe(s)?g=function(e){return function(e,t,n){var r=!n;n||(n={});for(var o=-1,i=t.length;++o<i;){var a=t[o],l=void 0;void 0===l&&(l=e[a]),r?te(n,a,l):J(n,a,l)}return n}(e,Se(e))}(s):ye(s)&&!ve(s)||(g=function(e){return"function"!=typeof e.constructor||ue(e)?{}:G(L(e))}(u))):v=!1}v&&(a.set(u,g),o(g,u,r,i,a),a.delete(u)),Q(e,n,g)}}(e,t,a,n,oe,r,o);else{var s=r?r(ce(e,a),i,a+"",e,t,o):void 0;void 0===s&&(s=i),Q(e,a,s)}},Se)}var ie=N?function(e,t){return N(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:Ee;function ae(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function le(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!ye(e)||function(e){return!!T&&T in e}(e))&&(ve(e)?A:s).test(function(e){if(null!=e){try{return O.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}(n)?n:void 0}function se(e,t){var n=typeof e;return!!(t=null==t?o:t)&&("number"==n||"symbol"!=n&&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,n=0;return function(){var r=H(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(ie);function fe(e,t){return e===t||e!=e&&t!=t}var pe=re(function(){return arguments}())?re:function(e){return we(e)&&P.call(e,"callee")&&!D.call(e,"callee")},he=Array.isArray;function me(e){return null!=e&&be(e.length)&&!ve(e)}var ge=$||function(){return!1};function ve(e){if(!ye(e))return!1;var t=ne(e);return t==a||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function be(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=o}function ye(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function we(e){return null!=e&&"object"==typeof e}var xe=S?function(e){return function(t){return e(t)}}(S):function(e){return we(e)&&be(e.length)&&!!c[ne(e)]};function Se(e){return me(e)?function(e,t){var n=he(e),r=!n&&pe(e),o=!n&&!r&&ge(e),i=!n&&!r&&!o&&xe(e),a=n||r||o||i,l=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],s=l.length;for(var u in e)!t&&!P.call(e,u)||a&&("length"==u||o&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||se(u,s))||l.push(u);return l}(e,!0):function(e){if(!ye(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=ue(e),n=[];for(var r in e)("constructor"!=r||!t&&P.call(e,r))&&n.push(r);return n}(e)}var ke,Ce=(ke=function(e,t,n,r){oe(e,t,n,r)},function(e,t){return de(function(e,t,n){return t=U(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=U(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var l=Array(t+1);++o<t;)l[o]=r[o];return l[t]=n(a),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,l)}}(e,t,Ee),e+"")}(function(e,t){var n=-1,r=t.length,o=r>1?t[r-1]:void 0,i=r>2?t[2]:void 0;for(o=ke.length>3&&"function"==typeof o?(r--,o):void 0,i&&function(e,t,n){if(!ye(n))return!1;var r=typeof t;return!!("number"==r?me(n)&&se(t,n.length):"string"==r&&t in n)&&fe(n[t],e)}(t[0],t[1],i)&&(o=r<3?void 0:o,r=1),e=Object(e);++n<r;){var a=t[n];a&&ke(e,a,n,o)}return e}));function Ee(e){return e}e.exports=Ce},404:(e,t,n)=>{"use strict";e.exports=n(72)},463:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<i(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,a=o>>>1;r<a;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(0>i(s,n))u<o&&0>i(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else{if(!(u<o&&0>i(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.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,b="function"==typeof clearTimeout?clearTimeout:null,y="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=r(c);null!==t;){if(null===t.callback)o(c);else{if(!(t.startTime<=e))break;o(c),t.sortIndex=t.expirationTime,n(u,t)}t=r(c)}}function x(e){if(g=!1,w(e),!m)if(null!==r(u))m=!0,z(S);else{var t=r(c);null!==t&&M(x,t.startTime-e)}}function S(e,n){m=!1,g&&(g=!1,b(_),_=-1),h=!0;var i=p;try{for(w(n),f=r(u);null!==f&&(!(f.expirationTime>n)||e&&!T());){var a=f.callback;if("function"==typeof a){f.callback=null,p=f.priorityLevel;var l=a(f.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?f.callback=l:f===r(u)&&o(u),w(n)}else o(u);f=r(u)}if(null!==f)var s=!0;else{var d=r(c);null!==d&&M(x,d.startTime-n),s=!1}return s}finally{f=null,p=i,h=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var k,C=!1,E=null,_=-1,O=5,P=-1;function T(){return!(t.unstable_now()-P<O)}function j(){if(null!==E){var e=t.unstable_now();P=e;var n=!0;try{n=E(!0,e)}finally{n?k():(C=!1,E=null)}}else C=!1}if("function"==typeof y)k=function(){y(j)};else if("undefined"!=typeof MessageChannel){var R=new MessageChannel,A=R.port2;R.port1.onmessage=j,k=function(){A.postMessage(null)}}else k=function(){v(j,0)};function z(e){E=e,C||(C=!0,k())}function M(e,n){_=v(function(){e(t.unstable_now())},n)}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,z(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"):O=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(u)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},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 n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,o,i){var a=t.unstable_now();switch(i="object"==typeof i&&null!==i&&"number"==typeof(i=i.delay)&&0<i?a+i:a,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:i,expirationTime:l=i+l,sortIndex:-1},i>a?(e.sortIndex=i,n(c,e),null===r(u)&&e===r(c)&&(g?(b(_),_=-1):g=!0,M(x,i-a))):(e.sortIndex=l,n(u,e),m||h||(m=!0,z(S))),e},t.unstable_shouldYield=T,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},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}},551:(e,t,n)=>{"use strict";var r=n(694),o=n(982);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=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++)a.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,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}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 b(e){return e[1].toUpperCase()}function y(e,t,n,r){var o=g.hasOwnProperty(t)?g[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.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,n,o,r)&&(n=null),r||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===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(v,b);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,b);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,b);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 w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,x=Symbol.for("react.element"),S=Symbol.for("react.portal"),k=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),O=Symbol.for("react.context"),P=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),j=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),A=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var z=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var M=Symbol.iterator;function I(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=M&&e[M]||e["@@iterator"])?e:null}var L,F=Object.assign;function D(e){if(void 0===L)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);L=t&&t[1]||""}return"\n"+L+e}var V=!1;function B(e,t){if(!e||V)return"";V=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var o=t.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,l=i.length-1;1<=a&&0<=l&&o[a]!==i[l];)l--;for(;1<=a&&0<=l;a--,l--)if(o[a]!==i[l]){if(1!==a||1!==l)do{if(a--,0>--l||o[a]!==i[l]){var s="\n"+o[a].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=a&&0<=l);break}}}finally{V=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?D(e):""}function N(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 B(e.type,!1);case 11:return B(e.type.render,!1);case 1:return B(e.type,!0);default:return""}}function $(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 C:return"StrictMode";case T:return"Suspense";case j:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case O:return(e.displayName||"Context")+".Consumer";case _:return(e._context.displayName||"Context")+".Provider";case P:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case R:return null!==(t=e.displayName||null)?t:$(e.type)||"Memo";case A:t=e._payload,e=e._init;try{return $(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 $(t);case 8:return t===C?"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 H(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function W(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=W(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function G(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=W(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(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 X(e,t){var n=t.checked;return F({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Z(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=H(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function K(e,t){null!=(t=t.checked)&&y(e,"checked",t,!1)}function Q(e,t){K(e,t);var n=H(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,H(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&Y(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+H(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return F({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(te(n)){if(1<n.length)throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:H(n)}}function ie(e,t){var n=H(t.value),r=H(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ae(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,n,r){MSApp.execUnsafeLocalFunction(function(){return ce(e,t)})}:ce);function fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var 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,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function ge(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=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=F({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 be(e,t){if(t){if(ve[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(i(62))}}function ye(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function xe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Se=null,ke=null,Ce=null;function Ee(e){if(e=yo(e)){if("function"!=typeof Se)throw Error(i(280));var t=e.stateNode;t&&(t=xo(t),Se(e.stateNode,e.type,t))}}function _e(e){ke?Ce?Ce.push(e):Ce=[e]:ke=e}function Oe(){if(ke){var e=ke,t=Ce;if(Ce=ke=null,Ee(e),t)for(e=0;e<t.length;e++)Ee(t[e])}}function Pe(e,t){return e(t)}function Te(){}var je=!1;function Re(e,t,n){if(je)return e(t,n);je=!0;try{return Pe(e,t,n)}finally{je=!1,(null!==ke||null!==Ce)&&(Te(),Oe())}}function Ae(e,t){var n=e.stateNode;if(null===n)return null;var r=xo(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(i(231,t,typeof n));return n}var ze=!1;if(c)try{var Me={};Object.defineProperty(Me,"passive",{get:function(){ze=!0}}),window.addEventListener("test",Me,Me),window.removeEventListener("test",Me,Me)}catch(ce){ze=!1}function Ie(e,t,n,r,o,i,a,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var Le=!1,Fe=null,De=!1,Ve=null,Be={onError:function(e){Le=!0,Fe=e}};function Ne(e,t,n,r,o,i,a,l,s){Le=!1,Fe=null,Ie.apply(Be,arguments)}function $e(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n: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 He(e){if($e(e)!==e)throw Error(i(188))}function We(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=$e(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return He(o),e;if(a===r)return He(o),t;a=a.sibling}throw Error(i(188))}if(n.return!==r.return)n=o,r=a;else{for(var l=!1,s=o.child;s;){if(s===n){l=!0,n=o,r=a;break}if(s===r){l=!0,r=o,n=a;break}s=s.sibling}if(!l){for(s=a.child;s;){if(s===n){l=!0,n=a,r=o;break}if(s===r){l=!0,r=a,n=o;break}s=s.sibling}if(!l)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?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 Ge=o.unstable_scheduleCallback,Ye=o.unstable_cancelCallback,Xe=o.unstable_shouldYield,Ze=o.unstable_requestPaint,Ke=o.unstable_now,Qe=o.unstable_getCurrentPriorityLevel,Je=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,nt=o.unstable_LowPriority,rt=o.unstable_IdlePriority,ot=null,it=null,at=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 n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=268435455&n;if(0!==a){var l=a&~o;0!==l?r=dt(l):0!==(i&=a)&&(r=dt(i))}else 0!==(a=n&~o)?r=dt(a):0!==i&&(r=dt(i));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&4194240&i))return t;if(4&r&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-at(t)),r|=e[n],t&=~o;return r}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,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function vt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var bt=0;function yt(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var wt,xt,St,kt,Ct,Et=!1,_t=[],Ot=null,Pt=null,Tt=null,jt=new Map,Rt=new Map,At=[],zt="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":Ot=null;break;case"dragenter":case"dragleave":Pt=null;break;case"mouseover":case"mouseout":Tt=null;break;case"pointerover":case"pointerout":jt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Rt.delete(t.pointerId)}}function It(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&null!==(t=yo(t))&&xt(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Lt(e){var t=bo(e.target);if(null!==t){var n=$e(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ue(n)))return e.blockedOn=t,void Ct(e.priority,function(){St(n)})}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Ft(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Yt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=yo(n))&&xt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);we=r,n.target.dispatchEvent(r),we=null,t.shift()}return!0}function Dt(e,t,n){Ft(e)&&n.delete(t)}function Vt(){Et=!1,null!==Ot&&Ft(Ot)&&(Ot=null),null!==Pt&&Ft(Pt)&&(Pt=null),null!==Tt&&Ft(Tt)&&(Tt=null),jt.forEach(Dt),Rt.forEach(Dt)}function Bt(e,t){e.blockedOn===t&&(e.blockedOn=null,Et||(Et=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Vt)))}function Nt(e){function t(t){return Bt(t,e)}if(0<_t.length){Bt(_t[0],e);for(var n=1;n<_t.length;n++){var r=_t[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Ot&&Bt(Ot,e),null!==Pt&&Bt(Pt,e),null!==Tt&&Bt(Tt,e),jt.forEach(t),Rt.forEach(t),n=0;n<At.length;n++)(r=At[n]).blockedOn===e&&(r.blockedOn=null);for(;0<At.length&&null===(n=At[0]).blockedOn;)Lt(n),null===n.blockedOn&&At.shift()}var $t=w.ReactCurrentBatchConfig,Ut=!0;function Ht(e,t,n,r){var o=bt,i=$t.transition;$t.transition=null;try{bt=1,qt(e,t,n,r)}finally{bt=o,$t.transition=i}}function Wt(e,t,n,r){var o=bt,i=$t.transition;$t.transition=null;try{bt=4,qt(e,t,n,r)}finally{bt=o,$t.transition=i}}function qt(e,t,n,r){if(Ut){var o=Yt(e,t,n,r);if(null===o)Ur(e,t,r,Gt,n),Mt(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Ot=It(Ot,e,t,n,r,o),!0;case"dragenter":return Pt=It(Pt,e,t,n,r,o),!0;case"mouseover":return Tt=It(Tt,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return jt.set(i,It(jt.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Rt.set(i,It(Rt.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Mt(e,r),4&t&&-1<zt.indexOf(e)){for(;null!==o;){var i=yo(o);if(null!==i&&wt(i),null===(i=Yt(e,t,n,r))&&Ur(e,t,r,Gt,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else Ur(e,t,r,null,n)}}var Gt=null;function Yt(e,t,n,r){if(Gt=null,null!==(e=bo(e=xe(r))))if(null===(t=$e(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Ue(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Gt=e,null}function Xt(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(Qe()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Zt=null,Kt=null,Qt=null;function Jt(){if(Qt)return Qt;var e,t,n=Kt,r=n.length,o="value"in Zt?Zt.value:Zt.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return Qt=o.slice(e,1<t?1-t:void 0)}function en(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 tn(){return!0}function nn(){return!1}function rn(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?tn:nn,this.isPropagationStopped=nn,this}return F(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=tn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=tn)},persist:function(){},isPersistent:tn}),t}var on,an,ln,sn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},un=rn(sn),cn=F({},sn,{view:0,detail:0}),dn=rn(cn),fn=F({},cn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cn,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!==ln&&(ln&&"mousemove"===e.type?(on=e.screenX-ln.screenX,an=e.screenY-ln.screenY):an=on=0,ln=e),on)},movementY:function(e){return"movementY"in e?e.movementY:an}}),pn=rn(fn),hn=rn(F({},fn,{dataTransfer:0})),mn=rn(F({},cn,{relatedTarget:0})),gn=rn(F({},sn,{animationName:0,elapsedTime:0,pseudoElement:0})),vn=F({},sn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=rn(vn),yn=rn(F({},sn,{data:0})),wn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xn={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"},Sn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function kn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Sn[e])&&!!t[e]}function Cn(){return kn}var En=F({},cn,{key:function(e){if(e.key){var t=wn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=en(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?xn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cn,charCode:function(e){return"keypress"===e.type?en(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?en(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),_n=rn(En),On=rn(F({},fn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Pn=rn(F({},cn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cn})),Tn=rn(F({},sn,{propertyName:0,elapsedTime:0,pseudoElement:0})),jn=F({},fn,{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}),Rn=rn(jn),An=[9,13,27,32],zn=c&&"CompositionEvent"in window,Mn=null;c&&"documentMode"in document&&(Mn=document.documentMode);var In=c&&"TextEvent"in window&&!Mn,Ln=c&&(!zn||Mn&&8<Mn&&11>=Mn),Fn=String.fromCharCode(32),Dn=!1;function Vn(e,t){switch(e){case"keyup":return-1!==An.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Nn=!1,$n={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Un(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!$n[e.type]:"textarea"===t}function Hn(e,t,n,r){_e(r),0<(t=Wr(t,"onChange")).length&&(n=new un("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Wn=null,qn=null;function Gn(e){Fr(e,0)}function Yn(e){if(G(wo(e)))return e}function Xn(e,t){if("change"===e)return t}var Zn=!1;if(c){var Kn;if(c){var Qn="oninput"in document;if(!Qn){var Jn=document.createElement("div");Jn.setAttribute("oninput","return;"),Qn="function"==typeof Jn.oninput}Kn=Qn}else Kn=!1;Zn=Kn&&(!document.documentMode||9<document.documentMode)}function er(){Wn&&(Wn.detachEvent("onpropertychange",tr),qn=Wn=null)}function tr(e){if("value"===e.propertyName&&Yn(qn)){var t=[];Hn(t,qn,e,xe(e)),Re(Gn,t)}}function nr(e,t,n){"focusin"===e?(er(),qn=n,(Wn=t).attachEvent("onpropertychange",tr)):"focusout"===e&&er()}function rr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Yn(qn)}function or(e,t){if("click"===e)return Yn(t)}function ir(e,t){if("input"===e||"change"===e)return Yn(t)}var ar="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function lr(e,t){if(ar(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!d.call(t,o)||!ar(e[o],t[o]))return!1}return!0}function sr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ur(e,t){var n,r=sr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=sr(r)}}function cr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?cr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function dr(){for(var e=window,t=Y();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=Y((e=t.contentWindow).document)}return t}function fr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function pr(e){var t=dr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&cr(n.ownerDocument.documentElement,n)){if(null!==r&&fr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=ur(n,i);var a=ur(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var hr=c&&"documentMode"in document&&11>=document.documentMode,mr=null,gr=null,vr=null,br=!1;function yr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==mr||mr!==Y(r)||(r="selectionStart"in(r=mr)&&fr(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},vr&&lr(vr,r)||(vr=r,0<(r=Wr(gr,"onSelect")).length&&(t=new un("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=mr)))}function wr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var xr={animationend:wr("Animation","AnimationEnd"),animationiteration:wr("Animation","AnimationIteration"),animationstart:wr("Animation","AnimationStart"),transitionend:wr("Transition","TransitionEnd")},Sr={},kr={};function Cr(e){if(Sr[e])return Sr[e];if(!xr[e])return e;var t,n=xr[e];for(t in n)if(n.hasOwnProperty(t)&&t in kr)return Sr[e]=n[t];return e}c&&(kr=document.createElement("div").style,"AnimationEvent"in window||(delete xr.animationend.animation,delete xr.animationiteration.animation,delete xr.animationstart.animation),"TransitionEvent"in window||delete xr.transitionend.transition);var Er=Cr("animationend"),_r=Cr("animationiteration"),Or=Cr("animationstart"),Pr=Cr("transitionend"),Tr=new Map,jr="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 Rr(e,t){Tr.set(e,t),s(t,[e])}for(var Ar=0;Ar<jr.length;Ar++){var zr=jr[Ar];Rr(zr.toLowerCase(),"on"+(zr[0].toUpperCase()+zr.slice(1)))}Rr(Er,"onAnimationEnd"),Rr(_r,"onAnimationIteration"),Rr(Or,"onAnimationStart"),Rr("dblclick","onDoubleClick"),Rr("focusin","onFocus"),Rr("focusout","onBlur"),Rr(Pr,"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 Mr="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(" "),Ir=new Set("cancel close invalid load scroll toggle".split(" ").concat(Mr));function Lr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,l,s,u){if(Ne.apply(this,arguments),Le){if(!Le)throw Error(i(198));var c=Fe;Le=!1,Fe=null,De||(De=!0,Ve=c)}}(r,t,void 0,e),e.currentTarget=null}function Fr(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var l=r[a],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==i&&o.isPropagationStopped())break e;Lr(o,l,u),i=s}else for(a=0;a<r.length;a++){if(s=(l=r[a]).instance,u=l.currentTarget,l=l.listener,s!==i&&o.isPropagationStopped())break e;Lr(o,l,u),i=s}}}if(De)throw e=Ve,De=!1,Ve=null,e}function Dr(e,t){var n=t[mo];void 0===n&&(n=t[mo]=new Set);var r=e+"__bubble";n.has(r)||($r(t,e,2,!1),n.add(r))}function Vr(e,t,n){var r=0;t&&(r|=4),$r(n,e,r,t)}var Br="_reactListening"+Math.random().toString(36).slice(2);function Nr(e){if(!e[Br]){e[Br]=!0,a.forEach(function(t){"selectionchange"!==t&&(Ir.has(t)||Vr(t,!1,e),Vr(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Br]||(t[Br]=!0,Vr("selectionchange",!1,t))}}function $r(e,t,n,r){switch(Xt(t)){case 1:var o=Ht;break;case 4:o=Wt;break;default:o=qt}n=o.bind(null,t,n,e),o=void 0,!ze||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Ur(e,t,n,r,o){var i=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var l=r.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var s=a.tag;if((3===s||4===s)&&((s=a.stateNode.containerInfo)===o||8===s.nodeType&&s.parentNode===o))return;a=a.return}for(;null!==l;){if(null===(a=bo(l)))return;if(5===(s=a.tag)||6===s){r=i=a;continue e}l=l.parentNode}}r=r.return}Re(function(){var r=i,o=xe(n),a=[];e:{var l=Tr.get(e);if(void 0!==l){var s=un,u=e;switch(e){case"keypress":if(0===en(n))break e;case"keydown":case"keyup":s=_n;break;case"focusin":u="focus",s=mn;break;case"focusout":u="blur",s=mn;break;case"beforeblur":case"afterblur":s=mn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=pn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=hn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=Pn;break;case Er:case _r:case Or:s=gn;break;case Pr:s=Tn;break;case"scroll":s=dn;break;case"wheel":s=Rn;break;case"copy":case"cut":case"paste":s=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=On}var c=!!(4&t),d=!c&&"scroll"===e,f=c?null!==l?l+"Capture":null:l;c=[];for(var p,h=r;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==f&&null!=(m=Ae(h,f))&&c.push(Hr(h,m,p))),d)break;h=h.return}0<c.length&&(l=new s(l,u,null,n,o),a.push({event:l,listeners:c}))}}if(!(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===we||!(u=n.relatedTarget||n.fromElement)||!bo(u)&&!u[ho])&&(s||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(u=(u=n.relatedTarget||n.toElement)?bo(u):null)&&(u!==(d=$e(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=r),s!==u)){if(c=pn,m="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=On,m="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==s?l:wo(s),p=null==u?l:wo(u),(l=new c(m,h+"leave",s,n,o)).target=d,l.relatedTarget=p,m=null,bo(o)===r&&((c=new c(f,h+"enter",u,n,o)).target=p,c.relatedTarget=d,m=c),d=m,s&&u)e:{for(f=u,h=0,p=c=s;p;p=qr(p))h++;for(p=0,m=f;m;m=qr(m))p++;for(;0<h-p;)c=qr(c),h--;for(;0<p-h;)f=qr(f),p--;for(;h--;){if(c===f||null!==f&&c===f.alternate)break e;c=qr(c),f=qr(f)}c=null}else c=null;null!==s&&Gr(a,l,s,c,!1),null!==u&&null!==d&&Gr(a,d,u,c,!0)}if("select"===(s=(l=r?wo(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var g=Xn;else if(Un(l))if(Zn)g=ir;else{g=rr;var v=nr}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(g=or);switch(g&&(g=g(e,r))?Hn(a,g,n,o):(v&&v(e,l,r),"focusout"===e&&(v=l._wrapperState)&&v.controlled&&"number"===l.type&&ee(l,"number",l.value)),v=r?wo(r):window,e){case"focusin":(Un(v)||"true"===v.contentEditable)&&(mr=v,gr=r,vr=null);break;case"focusout":vr=gr=mr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,yr(a,n,o);break;case"selectionchange":if(hr)break;case"keydown":case"keyup":yr(a,n,o)}var b;if(zn)e:{switch(e){case"compositionstart":var y="onCompositionStart";break e;case"compositionend":y="onCompositionEnd";break e;case"compositionupdate":y="onCompositionUpdate";break e}y=void 0}else Nn?Vn(e,n)&&(y="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(y="onCompositionStart");y&&(Ln&&"ko"!==n.locale&&(Nn||"onCompositionStart"!==y?"onCompositionEnd"===y&&Nn&&(b=Jt()):(Kt="value"in(Zt=o)?Zt.value:Zt.textContent,Nn=!0)),0<(v=Wr(r,y)).length&&(y=new yn(y,e,null,n,o),a.push({event:y,listeners:v}),(b||null!==(b=Bn(n)))&&(y.data=b))),(b=In?function(e,t){switch(e){case"compositionend":return Bn(t);case"keypress":return 32!==t.which?null:(Dn=!0,Fn);case"textInput":return(e=t.data)===Fn&&Dn?null:e;default:return null}}(e,n):function(e,t){if(Nn)return"compositionend"===e||!zn&&Vn(e,t)?(e=Jt(),Qt=Kt=Zt=null,Nn=!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 Ln&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(r=Wr(r,"onBeforeInput")).length&&(o=new yn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=b)}Fr(a,t)})}function Hr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Wr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Ae(e,n))&&r.unshift(Hr(e,i,o)),null!=(i=Ae(e,t))&&r.push(Hr(e,i,o))),e=e.return}return r}function qr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Gr(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==u&&(l=u,o?null!=(s=Ae(n,i))&&a.unshift(Hr(n,s,l)):o||null!=(s=Ae(n,i))&&a.push(Hr(n,s,l))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Yr=/\r\n?/g,Xr=/\u0000|\uFFFD/g;function Zr(e){return("string"==typeof e?e:""+e).replace(Yr,"\n").replace(Xr,"")}function Kr(e,t,n){if(t=Zr(t),Zr(e)!==t&&n)throw Error(i(425))}function Qr(){}var Jr=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 no="function"==typeof setTimeout?setTimeout:void 0,ro="function"==typeof clearTimeout?clearTimeout:void 0,oo="function"==typeof Promise?Promise:void 0,io="function"==typeof queueMicrotask?queueMicrotask:void 0!==oo?function(e){return oo.resolve(null).then(e).catch(ao)}:no;function ao(e){setTimeout(function(){throw e})}function lo(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void Nt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);Nt(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 n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&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 bo(e){var t=e[fo];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ho]||n[fo]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=uo(e);null!==e;){if(n=e[fo])return n;e=uo(e)}return t}n=(e=n).parentNode}return null}function yo(e){return!(e=e[fo]||e[ho])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function xo(e){return e[po]||null}var So=[],ko=-1;function Co(e){return{current:e}}function Eo(e){0>ko||(e.current=So[ko],So[ko]=null,ko--)}function _o(e,t){ko++,So[ko]=e.current,e.current=t}var Oo={},Po=Co(Oo),To=Co(!1),jo=Oo;function Ro(e,t){var n=e.type.contextTypes;if(!n)return Oo;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ao(e){return null!=e.childContextTypes}function zo(){Eo(To),Eo(Po)}function Mo(e,t,n){if(Po.current!==Oo)throw Error(i(168));_o(Po,t),_o(To,n)}function Io(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(i(108,U(e)||"Unknown",o));return F({},n,r)}function Lo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Oo,jo=Po.current,_o(Po,e),_o(To,To.current),!0}function Fo(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=Io(e,t,jo),r.__reactInternalMemoizedMergedChildContext=e,Eo(To),Eo(Po),_o(Po,e)):Eo(To),_o(To,n)}var Do=null,Vo=!1,Bo=!1;function No(e){null===Do?Do=[e]:Do.push(e)}function $o(){if(!Bo&&null!==Do){Bo=!0;var e=0,t=bt;try{var n=Do;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Do=null,Vo=!1}catch(t){throw null!==Do&&(Do=Do.slice(e+1)),Ge(Je,$o),t}finally{bt=t,Bo=!1}}return null}var Uo=[],Ho=0,Wo=null,qo=0,Go=[],Yo=0,Xo=null,Zo=1,Ko="";function Qo(e,t){Uo[Ho++]=qo,Uo[Ho++]=Wo,Wo=e,qo=t}function Jo(e,t,n){Go[Yo++]=Zo,Go[Yo++]=Ko,Go[Yo++]=Xo,Xo=e;var r=Zo;e=Ko;var o=32-at(r)-1;r&=~(1<<o),n+=1;var i=32-at(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Zo=1<<32-at(t)+o|n<<o|r,Ko=i+e}else Zo=1<<i|n<<o|r,Ko=e}function ei(e){null!==e.return&&(Qo(e,1),Jo(e,1,0))}function ti(e){for(;e===Wo;)Wo=Uo[--Ho],Uo[Ho]=null,qo=Uo[--Ho],Uo[Ho]=null;for(;e===Xo;)Xo=Go[--Yo],Go[Yo]=null,Ko=Go[--Yo],Go[Yo]=null,Zo=Go[--Yo],Go[Yo]=null}var ni=null,ri=null,oi=!1,ii=null;function ai(e,t){var n=Ru(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function li(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ni=e,ri=so(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ni=e,ri=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Xo?{id:Zo,overflow:Ko}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Ru(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ni=e,ri=null,!0);default:return!1}}function si(e){return!(!(1&e.mode)||128&e.flags)}function ui(e){if(oi){var t=ri;if(t){var n=t;if(!li(e,t)){if(si(e))throw Error(i(418));t=so(n.nextSibling);var r=ni;t&&li(e,t)?ai(r,n):(e.flags=-4097&e.flags|2,oi=!1,ni=e)}}else{if(si(e))throw Error(i(418));e.flags=-4097&e.flags|2,oi=!1,ni=e}}}function ci(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ni=e}function di(e){if(e!==ni)return!1;if(!oi)return ci(e),oi=!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=ri)){if(si(e))throw fi(),Error(i(418));for(;t;)ai(e,t),t=so(t.nextSibling)}if(ci(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ri=so(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ri=null}}else ri=ni?so(e.stateNode.nextSibling):null;return!0}function fi(){for(var e=ri;e;)e=so(e.nextSibling)}function pi(){ri=ni=null,oi=!1}function hi(e){null===ii?ii=[e]:ii.push(e)}var mi=w.ReactCurrentBatchConfig;function gi(e,t){if(e&&e.defaultProps){for(var n in t=F({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var vi=Co(null),bi=null,yi=null,wi=null;function xi(){wi=yi=bi=null}function Si(e){var t=vi.current;Eo(vi),e._currentValue=t}function ki(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ci(e,t){bi=e,wi=yi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(yl=!0),e.firstContext=null)}function Ei(e){var t=e._currentValue;if(wi!==e)if(e={context:e,memoizedValue:t,next:null},null===yi){if(null===bi)throw Error(i(308));yi=e,bi.dependencies={lanes:0,firstContext:e}}else yi=yi.next=e;return t}var _i=null;function Oi(e){null===_i?_i=[e]:_i.push(e)}function Pi(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Oi(t)):(n.next=o.next,o.next=n),t.interleaved=n,Ti(e,r)}function Ti(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var ji=!1;function Ri(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ai(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 zi(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Mi(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&Ps){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Ti(e,n)}return null===(o=r.interleaved)?(t.next=t,Oi(r)):(t.next=o.next,o.next=t),r.interleaved=t,Ti(e,n)}function Ii(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}function Li(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Fi(e,t,n,r){var o=e.updateQueue;ji=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,u=s.next;s.next=null,null===a?i=u:a.next=u,a=s;var c=e.alternate;null!==c&&(l=(c=c.updateQueue).lastBaseUpdate)!==a&&(null===l?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s)}if(null!==i){var d=o.baseState;for(a=0,c=u=s=null,l=i;;){var f=l.lane,p=l.eventTime;if((r&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=n,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=F({},d,f);break e;case 2:ji=!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,a|=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{a|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);Ls|=a,e.lanes=a,e.memoizedState=d}}function Di(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(i(191,o));o.call(r)}}}var Vi=(new r.Component).refs;function Bi(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:F({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Ni={isMounted:function(e){return!!(e=e._reactInternals)&&$e(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=eu(),o=tu(e),i=zi(r,o);i.payload=t,null!=n&&(i.callback=n),null!==(t=Mi(e,i,o))&&(nu(t,e,o,r),Ii(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=eu(),o=tu(e),i=zi(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),null!==(t=Mi(e,i,o))&&(nu(t,e,o,r),Ii(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=eu(),r=tu(e),o=zi(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=Mi(e,o,r))&&(nu(t,e,r,n),Ii(t,e,r))}};function $i(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!(t.prototype&&t.prototype.isPureReactComponent&&lr(n,r)&&lr(o,i))}function Ui(e,t,n){var r=!1,o=Oo,i=t.contextType;return"object"==typeof i&&null!==i?i=Ei(i):(o=Ao(t)?jo:Po.current,i=(r=null!=(r=t.contextTypes))?Ro(e,o):Oo),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Ni,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Hi(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ni.enqueueReplaceState(t,t.state,null)}function Wi(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Vi,Ri(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=Ei(i):(i=Ao(t)?jo:Po.current,o.context=Ro(e,i)),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(Bi(e,t,i,n),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&&Ni.enqueueReplaceState(o,o.state,null),Fi(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function qi(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var o=r,a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=o.refs;t===Vi&&(t=o.refs={}),null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!=typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function Gi(e,t){throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Yi(e){return(0,e._init)(e._payload)}function Xi(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(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=zu(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function l(t){return e&&null===t.alternate&&(t.flags|=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=Fu(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function u(e,t,n,r){var i=n.type;return i===k?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"==typeof i&&null!==i&&i.$$typeof===A&&Yi(i)===t.type)?((r=o(t,n.props)).ref=qi(e,t,n),r.return=e,r):((r=Mu(n.type,n.key,n.props,null,e.mode,r)).ref=qi(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Du(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,i){return null===t||7!==t.tag?((t=Iu(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Fu(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case x:return(n=Mu(t.type,t.key,t.props,null,e.mode,n)).ref=qi(e,null,t),n.return=e,n;case S:return(t=Du(t,e.mode,n)).return=e,t;case A:return f(e,(0,t._init)(t._payload),n)}if(te(t)||I(t))return(t=Iu(t,e.mode,n,null)).return=e,t;Gi(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case x:return n.key===o?u(e,t,n,r):null;case S:return n.key===o?c(e,t,n,r):null;case A:return p(e,t,(o=n._init)(n._payload),r)}if(te(n)||I(n))return null!==o?null:d(e,t,n,r,null);Gi(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return s(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case x:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case S:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case A:return h(e,t,n,(0,r._init)(r._payload),o)}if(te(r)||I(r))return d(t,e=e.get(n)||null,r,o,null);Gi(t,r)}return null}function m(o,i,l,s){for(var u=null,c=null,d=i,m=i=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),i=a(v,i,m),null===c?u=v:c.sibling=v,c=v,d=g}if(m===l.length)return n(o,d),oi&&Qo(o,m),u;if(null===d){for(;m<l.length;m++)null!==(d=f(o,l[m],s))&&(i=a(d,i,m),null===c?u=d:c.sibling=d,c=d);return oi&&Qo(o,m),u}for(d=r(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),i=a(g,i,m),null===c?u=g:c.sibling=g,c=g);return e&&d.forEach(function(e){return t(o,e)}),oi&&Qo(o,m),u}function g(o,l,s,u){var c=I(s);if("function"!=typeof c)throw Error(i(150));if(null==(s=c.call(s)))throw Error(i(151));for(var d=c=null,m=l,g=l=0,v=null,b=s.next();null!==m&&!b.done;g++,b=s.next()){m.index>g?(v=m,m=null):v=m.sibling;var y=p(o,m,b.value,u);if(null===y){null===m&&(m=v);break}e&&m&&null===y.alternate&&t(o,m),l=a(y,l,g),null===d?c=y:d.sibling=y,d=y,m=v}if(b.done)return n(o,m),oi&&Qo(o,g),c;if(null===m){for(;!b.done;g++,b=s.next())null!==(b=f(o,b.value,u))&&(l=a(b,l,g),null===d?c=b:d.sibling=b,d=b);return oi&&Qo(o,g),c}for(m=r(o,m);!b.done;g++,b=s.next())null!==(b=h(m,o,g,b.value,u))&&(e&&null!==b.alternate&&m.delete(null===b.key?g:b.key),l=a(b,l,g),null===d?c=b:d.sibling=b,d=b);return e&&m.forEach(function(e){return t(o,e)}),oi&&Qo(o,g),c}return function e(r,i,a,s){if("object"==typeof a&&null!==a&&a.type===k&&null===a.key&&(a=a.props.children),"object"==typeof a&&null!==a){switch(a.$$typeof){case x:e:{for(var u=a.key,c=i;null!==c;){if(c.key===u){if((u=a.type)===k){if(7===c.tag){n(r,c.sibling),(i=o(c,a.props.children)).return=r,r=i;break e}}else if(c.elementType===u||"object"==typeof u&&null!==u&&u.$$typeof===A&&Yi(u)===c.type){n(r,c.sibling),(i=o(c,a.props)).ref=qi(r,c,a),i.return=r,r=i;break e}n(r,c);break}t(r,c),c=c.sibling}a.type===k?((i=Iu(a.props.children,r.mode,s,a.key)).return=r,r=i):((s=Mu(a.type,a.key,a.props,null,r.mode,s)).ref=qi(r,i,a),s.return=r,r=s)}return l(r);case S:e:{for(c=a.key;null!==i;){if(i.key===c){if(4===i.tag&&i.stateNode.containerInfo===a.containerInfo&&i.stateNode.implementation===a.implementation){n(r,i.sibling),(i=o(i,a.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=Du(a,r.mode,s)).return=r,r=i}return l(r);case A:return e(r,i,(c=a._init)(a._payload),s)}if(te(a))return m(r,i,a,s);if(I(a))return g(r,i,a,s);Gi(r,a)}return"string"==typeof a&&""!==a||"number"==typeof a?(a=""+a,null!==i&&6===i.tag?(n(r,i.sibling),(i=o(i,a)).return=r,r=i):(n(r,i),(i=Fu(a,r.mode,s)).return=r,r=i),l(r)):n(r,i)}}var Zi=Xi(!0),Ki=Xi(!1),Qi={},Ji=Co(Qi),ea=Co(Qi),ta=Co(Qi);function na(e){if(e===Qi)throw Error(i(174));return e}function ra(e,t){switch(_o(ta,t),_o(ea,e),_o(Ji,Qi),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(Ji),_o(Ji,t)}function oa(){Eo(Ji),Eo(ea),Eo(ta)}function ia(e){na(ta.current);var t=na(Ji.current),n=se(t,e.type);t!==n&&(_o(ea,e),_o(Ji,n))}function aa(e){ea.current===e&&(Eo(Ji),Eo(ea))}var la=Co(0);function sa(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(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 ua=[];function ca(){for(var e=0;e<ua.length;e++)ua[e]._workInProgressVersionPrimary=null;ua.length=0}var da=w.ReactCurrentDispatcher,fa=w.ReactCurrentBatchConfig,pa=0,ha=null,ma=null,ga=null,va=!1,ba=!1,ya=0,wa=0;function xa(){throw Error(i(321))}function Sa(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ar(e[n],t[n]))return!1;return!0}function ka(e,t,n,r,o,a){if(pa=a,ha=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,da.current=null===e||null===e.memoizedState?al:ll,e=n(r,o),ba){a=0;do{if(ba=!1,ya=0,25<=a)throw Error(i(301));a+=1,ga=ma=null,t.updateQueue=null,da.current=sl,e=n(r,o)}while(ba)}if(da.current=il,t=null!==ma&&null!==ma.next,pa=0,ga=ma=ha=null,va=!1,t)throw Error(i(300));return e}function Ca(){var e=0!==ya;return ya=0,e}function Ea(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ga?ha.memoizedState=ga=e:ga=ga.next=e,ga}function _a(){if(null===ma){var e=ha.alternate;e=null!==e?e.memoizedState:null}else e=ma.next;var t=null===ga?ha.memoizedState:ga.next;if(null!==t)ga=t,ma=e;else{if(null===e)throw Error(i(310));e={memoizedState:(ma=e).memoizedState,baseState:ma.baseState,baseQueue:ma.baseQueue,queue:ma.queue,next:null},null===ga?ha.memoizedState=ga=e:ga=ga.next=e}return ga}function Oa(e,t){return"function"==typeof t?t(e):t}function Pa(e){var t=_a(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=ma,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var l=o.next;o.next=a.next,a.next=l}r.baseQueue=o=a,n.pending=null}if(null!==o){a=o.next,r=r.baseState;var s=l=null,u=null,c=a;do{var d=c.lane;if((pa&d)===d)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var f={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(s=u=f,l=r):u=u.next=f,ha.lanes|=d,Ls|=d}c=c.next}while(null!==c&&c!==a);null===u?l=r:u.next=s,ar(r,t.memoizedState)||(yl=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=u,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{a=o.lane,ha.lanes|=a,Ls|=a,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ta(e){var t=_a(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var l=o=o.next;do{a=e(a,l.action),l=l.next}while(l!==o);ar(a,t.memoizedState)||(yl=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function ja(){}function Ra(e,t){var n=ha,r=_a(),o=t(),a=!ar(r.memoizedState,o);if(a&&(r.memoizedState=o,yl=!0),r=r.queue,Ua(Ma.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==ga&&1&ga.memoizedState.tag){if(n.flags|=2048,Da(9,za.bind(null,n,r,o,t),void 0,null),null===Ts)throw Error(i(349));30&pa||Aa(n,t,o)}return o}function Aa(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=ha.updateQueue)?(t={lastEffect:null,stores:null},ha.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function za(e,t,n,r){t.value=n,t.getSnapshot=r,Ia(t)&&La(e)}function Ma(e,t,n){return n(function(){Ia(t)&&La(e)})}function Ia(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ar(e,n)}catch(e){return!0}}function La(e){var t=Ti(e,1);null!==t&&nu(t,e,1,-1)}function Fa(e){var t=Ea();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Oa,lastRenderedState:e},t.queue=e,e=e.dispatch=tl.bind(null,ha,e),[t.memoizedState,e]}function Da(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=ha.updateQueue)?(t={lastEffect:null,stores:null},ha.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Va(){return _a().memoizedState}function Ba(e,t,n,r){var o=Ea();ha.flags|=e,o.memoizedState=Da(1|t,n,void 0,void 0===r?null:r)}function Na(e,t,n,r){var o=_a();r=void 0===r?null:r;var i=void 0;if(null!==ma){var a=ma.memoizedState;if(i=a.destroy,null!==r&&Sa(r,a.deps))return void(o.memoizedState=Da(t,n,i,r))}ha.flags|=e,o.memoizedState=Da(1|t,n,i,r)}function $a(e,t){return Ba(8390656,8,e,t)}function Ua(e,t){return Na(2048,8,e,t)}function Ha(e,t){return Na(4,2,e,t)}function Wa(e,t){return Na(4,4,e,t)}function qa(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 Ga(e,t,n){return n=null!=n?n.concat([e]):null,Na(4,4,qa.bind(null,t,e),n)}function Ya(){}function Xa(e,t){var n=_a();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Sa(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Za(e,t){var n=_a();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Sa(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ka(e,t,n){return 21&pa?(ar(n,t)||(n=mt(),ha.lanes|=n,Ls|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,yl=!0),e.memoizedState=n)}function Qa(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=fa.transition;fa.transition={};try{e(!1),t()}finally{bt=n,fa.transition=r}}function Ja(){return _a().memoizedState}function el(e,t,n){var r=tu(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},nl(e)?rl(t,n):null!==(n=Pi(e,t,n,r))&&(nu(n,e,r,eu()),ol(n,t,r))}function tl(e,t,n){var r=tu(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(nl(e))rl(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,l=i(a,n);if(o.hasEagerState=!0,o.eagerState=l,ar(l,a)){var s=t.interleaved;return null===s?(o.next=o,Oi(t)):(o.next=s.next,s.next=o),void(t.interleaved=o)}}catch(e){}null!==(n=Pi(e,t,o,r))&&(nu(n,e,r,o=eu()),ol(n,t,r))}}function nl(e){var t=e.alternate;return e===ha||null!==t&&t===ha}function rl(e,t){ba=va=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ol(e,t,n){if(4194240&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}var il={readContext:Ei,useCallback:xa,useContext:xa,useEffect:xa,useImperativeHandle:xa,useInsertionEffect:xa,useLayoutEffect:xa,useMemo:xa,useReducer:xa,useRef:xa,useState:xa,useDebugValue:xa,useDeferredValue:xa,useTransition:xa,useMutableSource:xa,useSyncExternalStore:xa,useId:xa,unstable_isNewReconciler:!1},al={readContext:Ei,useCallback:function(e,t){return Ea().memoizedState=[e,void 0===t?null:t],e},useContext:Ei,useEffect:$a,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Ba(4194308,4,qa.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ba(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ba(4,2,e,t)},useMemo:function(e,t){var n=Ea();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ea();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=el.bind(null,ha,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ea().memoizedState=e},useState:Fa,useDebugValue:Ya,useDeferredValue:function(e){return Ea().memoizedState=e},useTransition:function(){var e=Fa(!1),t=e[0];return e=Qa.bind(null,e[1]),Ea().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ha,o=Ea();if(oi){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===Ts)throw Error(i(349));30&pa||Aa(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,$a(Ma.bind(null,r,a,e),[e]),r.flags|=2048,Da(9,za.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=Ea(),t=Ts.identifierPrefix;if(oi){var n=Ko;t=":"+t+"R"+(n=(Zo&~(1<<32-at(Zo)-1)).toString(32)+n),0<(n=ya++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=wa++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ll={readContext:Ei,useCallback:Xa,useContext:Ei,useEffect:Ua,useImperativeHandle:Ga,useInsertionEffect:Ha,useLayoutEffect:Wa,useMemo:Za,useReducer:Pa,useRef:Va,useState:function(){return Pa(Oa)},useDebugValue:Ya,useDeferredValue:function(e){return Ka(_a(),ma.memoizedState,e)},useTransition:function(){return[Pa(Oa)[0],_a().memoizedState]},useMutableSource:ja,useSyncExternalStore:Ra,useId:Ja,unstable_isNewReconciler:!1},sl={readContext:Ei,useCallback:Xa,useContext:Ei,useEffect:Ua,useImperativeHandle:Ga,useInsertionEffect:Ha,useLayoutEffect:Wa,useMemo:Za,useReducer:Ta,useRef:Va,useState:function(){return Ta(Oa)},useDebugValue:Ya,useDeferredValue:function(e){var t=_a();return null===ma?t.memoizedState=e:Ka(t,ma.memoizedState,e)},useTransition:function(){return[Ta(Oa)[0],_a().memoizedState]},useMutableSource:ja,useSyncExternalStore:Ra,useId:Ja,unstable_isNewReconciler:!1};function ul(e,t){try{var n="",r=t;do{n+=N(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o,digest:null}}function cl(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function dl(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var fl="function"==typeof WeakMap?WeakMap:Map;function pl(e,t,n){(n=zi(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Hs||(Hs=!0,Ws=r),dl(0,t)},n}function hl(e,t,n){(n=zi(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){dl(0,t)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){dl(0,t),"function"!=typeof r&&(null===qs?qs=new Set([this]):qs.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ml(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new fl;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Eu.bind(null,e,t,n),t.then(e,e))}function gl(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function vl(e,t,n,r,o){return 1&e.mode?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=zi(-1,1)).tag=2,Mi(n,t,1))),n.lanes|=1),e)}var bl=w.ReactCurrentOwner,yl=!1;function wl(e,t,n,r){t.child=null===e?Ki(t,null,n,r):Zi(t,e.child,n,r)}function xl(e,t,n,r,o){n=n.render;var i=t.ref;return Ci(t,o),r=ka(e,t,n,r,i,o),n=Ca(),null===e||yl?(oi&&n&&ei(t),t.flags|=1,wl(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Hl(e,t,o))}function Sl(e,t,n,r,o){if(null===e){var i=n.type;return"function"!=typeof i||Au(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Mu(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,kl(e,t,i,r,o))}if(i=e.child,0===(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:lr)(a,r)&&e.ref===t.ref)return Hl(e,t,o)}return t.flags|=1,(e=zu(i,r)).ref=t.ref,e.return=t,t.child=e}function kl(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(lr(i,r)&&e.ref===t.ref){if(yl=!1,t.pendingProps=r=i,0===(e.lanes&o))return t.lanes=e.lanes,Hl(e,t,o);131072&e.flags&&(yl=!0)}}return _l(e,t,n,r,o)}function Cl(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,_o(zs,As),As|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,_o(zs,As),As|=r}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},_o(zs,As),As|=n;else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,_o(zs,As),As|=r;return wl(e,t,o,n),t.child}function El(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function _l(e,t,n,r,o){var i=Ao(n)?jo:Po.current;return i=Ro(t,i),Ci(t,o),n=ka(e,t,n,r,i,o),r=Ca(),null===e||yl?(oi&&r&&ei(t),t.flags|=1,wl(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Hl(e,t,o))}function Ol(e,t,n,r,o){if(Ao(n)){var i=!0;Lo(t)}else i=!1;if(Ci(t,o),null===t.stateNode)Ul(e,t),Ui(t,n,r),Wi(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,l=t.memoizedProps;a.props=l;var s=a.context,u=n.contextType;u="object"==typeof u&&null!==u?Ei(u):Ro(t,u=Ao(n)?jo:Po.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==r||s!==u)&&Hi(t,a,r,u),ji=!1;var f=t.memoizedState;a.state=f,Fi(t,r,a,o),s=t.memoizedState,l!==r||f!==s||To.current||ji?("function"==typeof c&&(Bi(t,n,c,r),s=t.memoizedState),(l=ji||$i(t,n,l,r,f,s,u))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=u,r=l):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Ai(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:gi(t.type,l),a.props=u,d=t.pendingProps,f=a.context,s="object"==typeof(s=n.contextType)&&null!==s?Ei(s):Ro(t,s=Ao(n)?jo:Po.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==d||f!==s)&&Hi(t,a,r,s),ji=!1,f=t.memoizedState,a.state=f,Fi(t,r,a,o);var h=t.memoizedState;l!==d||f!==h||To.current||ji?("function"==typeof p&&(Bi(t,n,p,r),h=t.memoizedState),(u=ji||$i(t,n,u,r,f,h,s)||!1)?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,s),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,s)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=s,r=u):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Pl(e,t,n,r,i,o)}function Pl(e,t,n,r,o,i){El(e,t);var a=!!(128&t.flags);if(!r&&!a)return o&&Fo(t,n,!1),Hl(e,t,i);r=t.stateNode,bl.current=t;var l=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Zi(t,e.child,null,i),t.child=Zi(t,null,l,i)):wl(e,t,l,i),t.memoizedState=r.state,o&&Fo(t,n,!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),ra(e,t.containerInfo)}function jl(e,t,n,r,o){return pi(),hi(o),t.flags|=256,wl(e,t,n,r),t.child}var Rl,Al,zl,Ml,Il={dehydrated:null,treeContext:null,retryLane:0};function Ll(e){return{baseLanes:e,cachePool:null,transitions:null}}function Fl(e,t,n){var r,o=t.pendingProps,a=la.current,l=!1,s=!!(128&t.flags);if((r=s)||(r=(null===e||null!==e.memoizedState)&&!!(2&a)),r?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),_o(la,1&a),null===e)return ui(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=Iu(e,o,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Ll(n),t.memoizedState=Il,e):Dl(t,s));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,o,a,l){if(n)return 256&t.flags?(t.flags&=-257,Vl(e,t,l,r=cl(Error(i(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,o=t.mode,r=Lu({mode:"visible",children:r.children},o,0,null),(a=Iu(a,o,l,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,1&t.mode&&Zi(t,e.child,null,l),t.child.memoizedState=Ll(l),t.memoizedState=Il,a);if(!(1&t.mode))return Vl(e,t,l,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var s=r.dgst;return r=s,Vl(e,t,l,r=cl(a=Error(i(419)),r,void 0))}if(s=0!==(l&e.childLanes),yl||s){if(null!==(r=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=0!==(o&(r.suspendedLanes|l))?0:o)&&o!==a.retryLane&&(a.retryLane=o,Ti(e,o),nu(r,e,o,-1))}return mu(),Vl(e,t,l,r=cl(Error(i(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Ou.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,ri=so(o.nextSibling),ni=t,oi=!0,ii=null,null!==e&&(Go[Yo++]=Zo,Go[Yo++]=Ko,Go[Yo++]=Xo,Zo=e.id,Ko=e.overflow,Xo=t),(t=Dl(t,r.children)).flags|=4096,t)}(e,t,s,o,r,a,n);if(l){l=o.fallback,s=t.mode,r=(a=e.child).sibling;var u={mode:"hidden",children:o.children};return 1&s||t.child===a?(o=zu(a,u)).subtreeFlags=14680064&a.subtreeFlags:((o=t.child).childLanes=0,o.pendingProps=u,t.deletions=null),null!==r?l=zu(r,l):(l=Iu(l,s,n,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(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},l.memoizedState=s,l.childLanes=e.childLanes&~n,t.memoizedState=Il,o}return e=(l=e.child).sibling,o=zu(l,{mode:"visible",children:o.children}),!(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function Dl(e,t){return(t=Lu({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Vl(e,t,n,r){return null!==r&&hi(r),Zi(t,e.child,null,n),(e=Dl(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Bl(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),ki(e.return,t,n)}function Nl(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function $l(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(wl(e,t,r.children,n),2&(r=la.current))r=1&r|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&&Bl(e,n,t);else if(19===e.tag)Bl(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(_o(la,r),1&t.mode)switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===sa(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Nl(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===sa(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Nl(t,!0,n,null,i);break;case"together":Nl(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function Ul(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Hl(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Ls|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=zu(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=zu(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Wl(e,t){if(!oi)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ql(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Gl(e,t,n){var r=t.pendingProps;switch(ti(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ql(t),null;case 1:case 17:return Ao(t.type)&&zo(),ql(t),null;case 3:return r=t.stateNode,oa(),Eo(To),Eo(Po),ca(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(di(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==ii&&(au(ii),ii=null))),Al(e,t),ql(t),null;case 5:aa(t);var o=na(ta.current);if(n=t.type,null!==e&&null!=t.stateNode)zl(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(i(166));return ql(t),null}if(e=na(Ji.current),di(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[fo]=t,r[po]=a,e=!!(1&t.mode),n){case"dialog":Dr("cancel",r),Dr("close",r);break;case"iframe":case"object":case"embed":Dr("load",r);break;case"video":case"audio":for(o=0;o<Mr.length;o++)Dr(Mr[o],r);break;case"source":Dr("error",r);break;case"img":case"image":case"link":Dr("error",r),Dr("load",r);break;case"details":Dr("toggle",r);break;case"input":Z(r,a),Dr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Dr("invalid",r);break;case"textarea":oe(r,a),Dr("invalid",r)}for(var s in be(n,a),o=null,a)if(a.hasOwnProperty(s)){var u=a[s];"children"===s?"string"==typeof u?r.textContent!==u&&(!0!==a.suppressHydrationWarning&&Kr(r.textContent,u,e),o=["children",u]):"number"==typeof u&&r.textContent!==""+u&&(!0!==a.suppressHydrationWarning&&Kr(r.textContent,u,e),o=["children",""+u]):l.hasOwnProperty(s)&&null!=u&&"onScroll"===s&&Dr("scroll",r)}switch(n){case"input":q(r),J(r,a,!0);break;case"textarea":q(r),ae(r);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(r.onclick=Qr)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{s=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=le(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),"select"===n&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[fo]=t,e[po]=r,Rl(e,t,!1,!1),t.stateNode=e;e:{switch(s=ye(n,r),n){case"dialog":Dr("cancel",e),Dr("close",e),o=r;break;case"iframe":case"object":case"embed":Dr("load",e),o=r;break;case"video":case"audio":for(o=0;o<Mr.length;o++)Dr(Mr[o],e);o=r;break;case"source":Dr("error",e),o=r;break;case"img":case"image":case"link":Dr("error",e),Dr("load",e),o=r;break;case"details":Dr("toggle",e),o=r;break;case"input":Z(e,r),o=X(e,r),Dr("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=F({},r,{value:void 0}),Dr("invalid",e);break;case"textarea":oe(e,r),o=re(e,r),Dr("invalid",e)}for(a in be(n,o),u=o)if(u.hasOwnProperty(a)){var c=u[a];"style"===a?ge(e,c):"dangerouslySetInnerHTML"===a?null!=(c=c?c.__html:void 0)&&de(e,c):"children"===a?"string"==typeof c?("textarea"!==n||""!==c)&&fe(e,c):"number"==typeof c&&fe(e,""+c):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(l.hasOwnProperty(a)?null!=c&&"onScroll"===a&&Dr("scroll",e):null!=c&&y(e,a,c,s))}switch(n){case"input":q(e),J(e,r,!1);break;case"textarea":q(e),ae(e);break;case"option":null!=r.value&&e.setAttribute("value",""+H(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ne(e,!!r.multiple,a,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Qr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return ql(t),null;case 6:if(e&&null!=t.stateNode)Ml(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(i(166));if(n=na(ta.current),na(Ji.current),di(t)){if(r=t.stateNode,n=t.memoizedProps,r[fo]=t,(a=r.nodeValue!==n)&&null!==(e=ni))switch(e.tag){case 3:Kr(r.nodeValue,n,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Kr(r.nodeValue,n,!!(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[fo]=t,t.stateNode=r}return ql(t),null;case 13:if(Eo(la),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(oi&&null!==ri&&1&t.mode&&!(128&t.flags))fi(),pi(),t.flags|=98560,a=!1;else if(a=di(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(i(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(i(317));a[fo]=t}else pi(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;ql(t),a=!1}else null!==ii&&(au(ii),ii=null),a=!0;if(!a)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=n,t):((r=null!==r)!=(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,1&t.mode&&(null===e||1&la.current?0===Ms&&(Ms=3):mu())),null!==t.updateQueue&&(t.flags|=4),ql(t),null);case 4:return oa(),Al(e,t),null===e&&Nr(t.stateNode.containerInfo),ql(t),null;case 10:return Si(t.type._context),ql(t),null;case 19:if(Eo(la),null===(a=t.memoizedState))return ql(t),null;if(r=!!(128&t.flags),null===(s=a.rendering))if(r)Wl(a,!1);else{if(0!==Ms||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(s=sa(e))){for(t.flags|=128,Wl(a,!1),null!==(r=s.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(s=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=s.childLanes,a.lanes=s.lanes,a.child=s.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=s.memoizedProps,a.memoizedState=s.memoizedState,a.updateQueue=s.updateQueue,a.type=s.type,e=s.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return _o(la,1&la.current|2),t.child}e=e.sibling}null!==a.tail&&Ke()>$s&&(t.flags|=128,r=!0,Wl(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=sa(s))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Wl(a,!0),null===a.tail&&"hidden"===a.tailMode&&!s.alternate&&!oi)return ql(t),null}else 2*Ke()-a.renderingStartTime>$s&&1073741824!==n&&(t.flags|=128,r=!0,Wl(a,!1),t.lanes=4194304);a.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=a.last)?n.sibling=s:t.child=s,a.last=s)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Ke(),t.sibling=null,n=la.current,_o(la,r?1&n|2:1&n),t):(ql(t),null);case 22:case 23:return du(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&1&t.mode?!!(1073741824&As)&&(ql(t),6&t.subtreeFlags&&(t.flags|=8192)):ql(t),null;case 24:case 25:return null}throw Error(i(156,t.tag))}function Yl(e,t){switch(ti(t),t.tag){case 1:return Ao(t.type)&&zo(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return oa(),Eo(To),Eo(Po),ca(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return aa(t),null;case 13:if(Eo(la),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));pi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Eo(la),null;case 4:return oa(),null;case 10:return Si(t.type._context),null;case 22:case 23:return du(),null;default:return null}}Rl=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Al=function(){},zl=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,na(Ji.current);var i,a=null;switch(n){case"input":o=X(e,o),r=X(e,r),a=[];break;case"select":o=F({},o,{value:void 0}),r=F({},r,{value:void 0}),a=[];break;case"textarea":o=re(e,o),r=re(e,r),a=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Qr)}for(c in be(n,r),n=null,o)if(!r.hasOwnProperty(c)&&o.hasOwnProperty(c)&&null!=o[c])if("style"===c){var s=o[c];for(i in s)s.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(l.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in r){var u=r[c];if(s=null!=o?o[c]:void 0,r.hasOwnProperty(c)&&u!==s&&(null!=u||null!=s))if("style"===c)if(s){for(i in s)!s.hasOwnProperty(i)||u&&u.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in u)u.hasOwnProperty(i)&&s[i]!==u[i]&&(n||(n={}),n[i]=u[i])}else n||(a||(a=[]),a.push(c,n)),n=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,s=s?s.__html:void 0,null!=u&&s!==u&&(a=a||[]).push(c,u)):"children"===c?"string"!=typeof u&&"number"!=typeof u||(a=a||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(l.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&Dr("scroll",e),a||s===u||(a=[])):(a=a||[]).push(c,u))}n&&(a=a||[]).push("style",n);var c=a;(t.updateQueue=c)&&(t.flags|=4)}},Ml=function(e,t,n,r){n!==r&&(t.flags|=4)};var Xl=!1,Zl=!1,Kl="function"==typeof WeakSet?WeakSet:Set,Ql=null;function Jl(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Cu(e,t,n)}else n.current=null}function es(e,t,n){try{n()}catch(n){Cu(e,t,n)}}var ts=!1;function ns(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&es(t,n,i)}o=o.next}while(o!==r)}}function rs(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function os(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function is(e){var t=e.alternate;null!==t&&(e.alternate=null,is(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&(delete t[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 ls(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 ss(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Qr));else if(4!==r&&null!==(e=e.child))for(ss(e,t,n),e=e.sibling;null!==e;)ss(e,t,n),e=e.sibling}function us(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(us(e,t,n),e=e.sibling;null!==e;)us(e,t,n),e=e.sibling}var cs=null,ds=!1;function fs(e,t,n){for(n=n.child;null!==n;)ps(e,t,n),n=n.sibling}function ps(e,t,n){if(it&&"function"==typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(ot,n)}catch(e){}switch(n.tag){case 5:Zl||Jl(n,t);case 6:var r=cs,o=ds;cs=null,fs(e,t,n),ds=o,null!==(cs=r)&&(ds?(e=cs,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):cs.removeChild(n.stateNode));break;case 18:null!==cs&&(ds?(e=cs,n=n.stateNode,8===e.nodeType?lo(e.parentNode,n):1===e.nodeType&&lo(e,n),Nt(e)):lo(cs,n.stateNode));break;case 4:r=cs,o=ds,cs=n.stateNode.containerInfo,ds=!0,fs(e,t,n),cs=r,ds=o;break;case 0:case 11:case 14:case 15:if(!Zl&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(2&i||4&i)&&es(n,t,a),o=o.next}while(o!==r)}fs(e,t,n);break;case 1:if(!Zl&&(Jl(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Cu(n,t,e)}fs(e,t,n);break;case 21:fs(e,t,n);break;case 22:1&n.mode?(Zl=(r=Zl)||null!==n.memoizedState,fs(e,t,n),Zl=r):fs(e,t,n);break;default:fs(e,t,n)}}function hs(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Kl),t.forEach(function(t){var r=Pu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function ms(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var a=e,l=t,s=l;e:for(;null!==s;){switch(s.tag){case 5:cs=s.stateNode,ds=!1;break e;case 3:case 4:cs=s.stateNode.containerInfo,ds=!0;break e}s=s.return}if(null===cs)throw Error(i(160));ps(a,l,o),cs=null,ds=!1;var u=o.alternate;null!==u&&(u.return=null),o.return=null}catch(e){Cu(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gs(t,e),t=t.sibling}function gs(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ms(t,e),vs(e),4&r){try{ns(3,e,e.return),rs(3,e)}catch(t){Cu(e,e.return,t)}try{ns(5,e,e.return)}catch(t){Cu(e,e.return,t)}}break;case 1:ms(t,e),vs(e),512&r&&null!==n&&Jl(n,n.return);break;case 5:if(ms(t,e),vs(e),512&r&&null!==n&&Jl(n,n.return),32&e.flags){var o=e.stateNode;try{fe(o,"")}catch(t){Cu(e,e.return,t)}}if(4&r&&null!=(o=e.stateNode)){var a=e.memoizedProps,l=null!==n?n.memoizedProps:a,s=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===s&&"radio"===a.type&&null!=a.name&&K(o,a),ye(s,l);var c=ye(s,a);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):y(o,d,f,c)}switch(s){case"input":Q(o,a);break;case"textarea":ie(o,a);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var h=a.value;null!=h?ne(o,!!a.multiple,h,!1):p!==!!a.multiple&&(null!=a.defaultValue?ne(o,!!a.multiple,a.defaultValue,!0):ne(o,!!a.multiple,a.multiple?[]:"",!1))}o[po]=a}catch(t){Cu(e,e.return,t)}}break;case 6:if(ms(t,e),vs(e),4&r){if(null===e.stateNode)throw Error(i(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(t){Cu(e,e.return,t)}}break;case 3:if(ms(t,e),vs(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Nt(t.containerInfo)}catch(t){Cu(e,e.return,t)}break;case 4:default:ms(t,e),vs(e);break;case 13:ms(t,e),vs(e),8192&(o=e.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,!a||null!==o.alternate&&null!==o.alternate.memoizedState||(Ns=Ke())),4&r&&hs(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Zl=(c=Zl)||d,ms(t,e),Zl=c):ms(t,e),vs(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!d&&1&e.mode)for(Ql=e,d=e.child;null!==d;){for(f=Ql=d;null!==Ql;){switch(h=(p=Ql).child,p.tag){case 0:case 11:case 14:case 15:ns(4,p,p.return);break;case 1:Jl(p,p.return);var m=p.stateNode;if("function"==typeof m.componentWillUnmount){r=p,n=p.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(e){Cu(r,n,e)}}break;case 5:Jl(p,p.return);break;case 22:if(null!==p.memoizedState){xs(f);continue}}null!==h?(h.return=p,Ql=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(a=o.style).setProperty?a.setProperty("display","none","important"):a.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){Cu(e,e.return,t)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(t){Cu(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:ms(t,e),vs(e),4&r&&hs(e);case 21:}}function vs(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(as(n)){var r=n;break e}n=n.return}throw Error(i(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(fe(o,""),r.flags&=-33),us(e,ls(e),o);break;case 3:case 4:var a=r.stateNode.containerInfo;ss(e,ls(e),a);break;default:throw Error(i(161))}}catch(t){Cu(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function bs(e,t,n){Ql=e,ys(e,t,n)}function ys(e,t,n){for(var r=!!(1&e.mode);null!==Ql;){var o=Ql,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||Xl;if(!a){var l=o.alternate,s=null!==l&&null!==l.memoizedState||Zl;l=Xl;var u=Zl;if(Xl=a,(Zl=s)&&!u)for(Ql=o;null!==Ql;)s=(a=Ql).child,22===a.tag&&null!==a.memoizedState?Ss(o):null!==s?(s.return=a,Ql=s):Ss(o);for(;null!==i;)Ql=i,ys(i,t,n),i=i.sibling;Ql=o,Xl=l,Zl=u}ws(e)}else 8772&o.subtreeFlags&&null!==i?(i.return=o,Ql=i):ws(e)}}function ws(e){for(;null!==Ql;){var t=Ql;if(8772&t.flags){var n=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Zl||rs(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Zl)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:gi(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Di(t,a,r);break;case 3:var l=t.updateQueue;if(null!==l){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Di(t,l,n)}break;case 5:var s=t.stateNode;if(null===n&&4&t.flags){n=s;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.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&&Nt(f)}}}break;default:throw Error(i(163))}Zl||512&t.flags&&os(t)}catch(e){Cu(t,t.return,e)}}if(t===e){Ql=null;break}if(null!==(n=t.sibling)){n.return=t.return,Ql=n;break}Ql=t.return}}function xs(e){for(;null!==Ql;){var t=Ql;if(t===e){Ql=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Ql=n;break}Ql=t.return}}function Ss(e){for(;null!==Ql;){var t=Ql;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{rs(4,t)}catch(e){Cu(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(e){Cu(t,o,e)}}var i=t.return;try{os(t)}catch(e){Cu(t,i,e)}break;case 5:var a=t.return;try{os(t)}catch(e){Cu(t,a,e)}}}catch(e){Cu(t,t.return,e)}if(t===e){Ql=null;break}var l=t.sibling;if(null!==l){l.return=t.return,Ql=l;break}Ql=t.return}}var ks,Cs=Math.ceil,Es=w.ReactCurrentDispatcher,_s=w.ReactCurrentOwner,Os=w.ReactCurrentBatchConfig,Ps=0,Ts=null,js=null,Rs=0,As=0,zs=Co(0),Ms=0,Is=null,Ls=0,Fs=0,Ds=0,Vs=null,Bs=null,Ns=0,$s=1/0,Us=null,Hs=!1,Ws=null,qs=null,Gs=!1,Ys=null,Xs=0,Zs=0,Ks=null,Qs=-1,Js=0;function eu(){return 6&Ps?Ke():-1!==Qs?Qs:Qs=Ke()}function tu(e){return 1&e.mode?2&Ps&&0!==Rs?Rs&-Rs:null!==mi.transition?(0===Js&&(Js=mt()),Js):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Xt(e.type):1}function nu(e,t,n,r){if(50<Zs)throw Zs=0,Ks=null,Error(i(185));gt(e,n,r),2&Ps&&e===Ts||(e===Ts&&(!(2&Ps)&&(Fs|=n),4===Ms&&lu(e,Rs)),ru(e,r),1===n&&0===Ps&&!(1&t.mode)&&($s=Ke()+500,Vo&&$o()))}function ru(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-at(i),l=1<<a,s=o[a];-1===s?0!==(l&n)&&0===(l&r)||(o[a]=pt(l,t)):s<=t&&(e.expiredLanes|=l),i&=~l}}(e,t);var r=ft(e,e===Ts?Rs:0);if(0===r)null!==n&&Ye(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ye(n),1===t)0===e.tag?function(e){Vo=!0,No(e)}(su.bind(null,e)):No(su.bind(null,e)),io(function(){!(6&Ps)&&$o()}),n=null;else{switch(yt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Tu(n,ou.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ou(e,t){if(Qs=-1,Js=0,6&Ps)throw Error(i(327));var n=e.callbackNode;if(Su()&&e.callbackNode!==n)return null;var r=ft(e,e===Ts?Rs:0);if(0===r)return null;if(30&r||0!==(r&e.expiredLanes)||t)t=gu(e,r);else{t=r;var o=Ps;Ps|=2;var a=hu();for(Ts===e&&Rs===t||(Us=null,$s=Ke()+500,fu(e,t));;)try{bu();break}catch(t){pu(e,t)}xi(),Es.current=a,Ps=o,null!==js?t=0:(Ts=null,Rs=0,t=Ms)}if(0!==t){if(2===t&&0!==(o=ht(e))&&(r=o,t=iu(e,o)),1===t)throw n=Is,fu(e,0),lu(e,r),ru(e,Ke()),n;if(6===t)lu(e,r);else{if(o=e.current.alternate,!(30&r||function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!ar(i(),o))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;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=gu(e,r),2===t&&(a=ht(e),0!==a&&(r=a,t=iu(e,a))),1!==t)))throw n=Is,fu(e,0),lu(e,r),ru(e,Ke()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(i(345));case 2:case 5:xu(e,Bs,Us);break;case 3:if(lu(e,r),(130023424&r)===r&&10<(t=Ns+500-Ke())){if(0!==ft(e,0))break;if(((o=e.suspendedLanes)&r)!==r){eu(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=no(xu.bind(null,e,Bs,Us),t);break}xu(e,Bs,Us);break;case 4:if(lu(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var l=31-at(r);a=1<<l,(l=t[l])>o&&(o=l),r&=~a}if(r=o,10<(r=(120>(r=Ke()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Cs(r/1960))-r)){e.timeoutHandle=no(xu.bind(null,e,Bs,Us),r);break}xu(e,Bs,Us);break;default:throw Error(i(329))}}}return ru(e,Ke()),e.callbackNode===n?ou.bind(null,e):null}function iu(e,t){var n=Vs;return e.current.memoizedState.isDehydrated&&(fu(e,t).flags|=256),2!==(e=gu(e,t))&&(t=Bs,Bs=n,null!==t&&au(t)),e}function au(e){null===Bs?Bs=e:Bs.push.apply(Bs,e)}function lu(e,t){for(t&=~Ds,t&=~Fs,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function su(e){if(6&Ps)throw Error(i(327));Su();var t=ft(e,0);if(!(1&t))return ru(e,Ke()),null;var n=gu(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=iu(e,r))}if(1===n)throw n=Is,fu(e,0),lu(e,t),ru(e,Ke()),n;if(6===n)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,xu(e,Bs,Us),ru(e,Ke()),null}function uu(e,t){var n=Ps;Ps|=1;try{return e(t)}finally{0===(Ps=n)&&($s=Ke()+500,Vo&&$o())}}function cu(e){null!==Ys&&0===Ys.tag&&!(6&Ps)&&Su();var t=Ps;Ps|=1;var n=Os.transition,r=bt;try{if(Os.transition=null,bt=1,e)return e()}finally{bt=r,Os.transition=n,!(6&(Ps=t))&&$o()}}function du(){As=zs.current,Eo(zs)}function fu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,ro(n)),null!==js)for(n=js.return;null!==n;){var r=n;switch(ti(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&zo();break;case 3:oa(),Eo(To),Eo(Po),ca();break;case 5:aa(r);break;case 4:oa();break;case 13:case 19:Eo(la);break;case 10:Si(r.type._context);break;case 22:case 23:du()}n=n.return}if(Ts=e,js=e=zu(e.current,null),Rs=As=t,Ms=0,Is=null,Ds=Fs=Ls=0,Bs=Vs=null,null!==_i){for(t=0;t<_i.length;t++)if(null!==(r=(n=_i[t]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var a=i.next;i.next=o,r.next=a}n.pending=r}_i=null}return e}function pu(e,t){for(;;){var n=js;try{if(xi(),da.current=il,va){for(var r=ha.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}va=!1}if(pa=0,ga=ma=ha=null,ba=!1,ya=0,_s.current=null,null===n||null===n.return){Ms=1,Is=t,js=null;break}e:{var a=e,l=n.return,s=n,u=t;if(t=Rs,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=gl(l);if(null!==h){h.flags&=-257,vl(h,l,s,0,t),1&h.mode&&ml(a,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)){ml(a,c,t),mu();break e}u=Error(i(426))}else if(oi&&1&s.mode){var v=gl(l);if(null!==v){!(65536&v.flags)&&(v.flags|=256),vl(v,l,s,0,t),hi(ul(u,s));break e}}a=u=ul(u,s),4!==Ms&&(Ms=2),null===Vs?Vs=[a]:Vs.push(a),a=l;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Li(a,pl(0,u,t));break e;case 1:s=u;var b=a.type,y=a.stateNode;if(!(128&a.flags||"function"!=typeof b.getDerivedStateFromError&&(null===y||"function"!=typeof y.componentDidCatch||null!==qs&&qs.has(y)))){a.flags|=65536,t&=-t,a.lanes|=t,Li(a,hl(a,s,t));break e}}a=a.return}while(null!==a)}wu(n)}catch(e){t=e,js===n&&null!==n&&(js=n=n.return);continue}break}}function hu(){var e=Es.current;return Es.current=il,null===e?il:e}function mu(){0!==Ms&&3!==Ms&&2!==Ms||(Ms=4),null===Ts||!(268435455&Ls)&&!(268435455&Fs)||lu(Ts,Rs)}function gu(e,t){var n=Ps;Ps|=2;var r=hu();for(Ts===e&&Rs===t||(Us=null,fu(e,t));;)try{vu();break}catch(t){pu(e,t)}if(xi(),Ps=n,Es.current=r,null!==js)throw Error(i(261));return Ts=null,Rs=0,Ms}function vu(){for(;null!==js;)yu(js)}function bu(){for(;null!==js&&!Xe();)yu(js)}function yu(e){var t=ks(e.alternate,e,As);e.memoizedProps=e.pendingProps,null===t?wu(e):js=t,_s.current=null}function wu(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=Yl(n,t)))return n.flags&=32767,void(js=n);if(null===e)return Ms=6,void(js=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=Gl(n,t,As)))return void(js=n);if(null!==(t=t.sibling))return void(js=t);js=t=e}while(null!==t);0===Ms&&(Ms=5)}function xu(e,t,n){var r=bt,o=Os.transition;try{Os.transition=null,bt=1,function(e,t,n,r){do{Su()}while(null!==Ys);if(6&Ps)throw Error(i(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(e,t){var n=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 r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-at(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,a),e===Ts&&(js=Ts=null,Rs=0),!(2064&n.subtreeFlags)&&!(2064&n.flags)||Gs||(Gs=!0,Tu(tt,function(){return Su(),null})),a=!!(15990&n.flags),15990&n.subtreeFlags||a){a=Os.transition,Os.transition=null;var l=bt;bt=1;var s=Ps;Ps|=4,_s.current=null,function(e,t){if(Jr=Ut,fr(e=dr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(e){n=null;break e}var l=0,s=-1,u=-1,c=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==n||0!==o&&3!==f.nodeType||(s=l+o),f!==a||0!==r&&3!==f.nodeType||(u=l+r),3===f.nodeType&&(l+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===n&&++c===o&&(s=l),p===a&&++d===r&&(u=l),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}n=-1===s||-1===u?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(eo={focusedElem:e,selectionRange:n},Ut=!1,Ql=t;null!==Ql;)if(e=(t=Ql).child,1028&t.subtreeFlags&&null!==e)e.return=t,Ql=e;else for(;null!==Ql;){t=Ql;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,b=t.stateNode,y=b.getSnapshotBeforeUpdate(t.elementType===t.type?g:gi(t.type,g),v);b.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(i(163))}}catch(e){Cu(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Ql=e;break}Ql=t.return}m=ts,ts=!1}(e,n),gs(n,e),pr(eo),Ut=!!Jr,eo=Jr=null,e.current=n,bs(n,e,o),Ze(),Ps=s,bt=l,Os.transition=a}else e.current=n;if(Gs&&(Gs=!1,Ys=e,Xs=o),0===(a=e.pendingLanes)&&(qs=null),function(e){if(it&&"function"==typeof it.onCommitFiberRoot)try{it.onCommitFiberRoot(ot,e,void 0,!(128&~e.current.flags))}catch(e){}}(n.stateNode),ru(e,Ke()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)r((o=t[n]).value,{componentStack:o.stack,digest:o.digest});if(Hs)throw Hs=!1,e=Ws,Ws=null,e;!!(1&Xs)&&0!==e.tag&&Su(),1&(a=e.pendingLanes)?e===Ks?Zs++:(Zs=0,Ks=e):Zs=0,$o()}(e,t,n,r)}finally{Os.transition=o,bt=r}return null}function Su(){if(null!==Ys){var e=yt(Xs),t=Os.transition,n=bt;try{if(Os.transition=null,bt=16>e?16:e,null===Ys)var r=!1;else{if(e=Ys,Ys=null,Xs=0,6&Ps)throw Error(i(331));var o=Ps;for(Ps|=4,Ql=e.current;null!==Ql;){var a=Ql,l=a.child;if(16&Ql.flags){var s=a.deletions;if(null!==s){for(var u=0;u<s.length;u++){var c=s[u];for(Ql=c;null!==Ql;){var d=Ql;switch(d.tag){case 0:case 11:case 15:ns(8,d,a)}var f=d.child;if(null!==f)f.return=d,Ql=f;else for(;null!==Ql;){var p=(d=Ql).sibling,h=d.return;if(is(d),d===c){Ql=null;break}if(null!==p){p.return=h,Ql=p;break}Ql=h}}}var m=a.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)}}Ql=a}}if(2064&a.subtreeFlags&&null!==l)l.return=a,Ql=l;else e:for(;null!==Ql;){if(2048&(a=Ql).flags)switch(a.tag){case 0:case 11:case 15:ns(9,a,a.return)}var b=a.sibling;if(null!==b){b.return=a.return,Ql=b;break e}Ql=a.return}}var y=e.current;for(Ql=y;null!==Ql;){var w=(l=Ql).child;if(2064&l.subtreeFlags&&null!==w)w.return=l,Ql=w;else e:for(l=y;null!==Ql;){if(2048&(s=Ql).flags)try{switch(s.tag){case 0:case 11:case 15:rs(9,s)}}catch(e){Cu(s,s.return,e)}if(s===l){Ql=null;break e}var x=s.sibling;if(null!==x){x.return=s.return,Ql=x;break e}Ql=s.return}}if(Ps=o,$o(),it&&"function"==typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(ot,e)}catch(e){}r=!0}return r}finally{bt=n,Os.transition=t}}return!1}function ku(e,t,n){e=Mi(e,t=pl(0,t=ul(n,t),1),1),t=eu(),null!==e&&(gt(e,1,t),ru(e,t))}function Cu(e,t,n){if(3===e.tag)ku(e,e,n);else for(;null!==t;){if(3===t.tag){ku(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===qs||!qs.has(r))){t=Mi(t,e=hl(t,e=ul(n,e),1),1),e=eu(),null!==t&&(gt(t,1,e),ru(t,e));break}}t=t.return}}function Eu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=eu(),e.pingedLanes|=e.suspendedLanes&n,Ts===e&&(Rs&n)===n&&(4===Ms||3===Ms&&(130023424&Rs)===Rs&&500>Ke()-Ns?fu(e,0):Ds|=n),ru(e,t)}function _u(e,t){0===t&&(1&e.mode?(t=ct,!(130023424&(ct<<=1))&&(ct=4194304)):t=1);var n=eu();null!==(e=Ti(e,t))&&(gt(e,t,n),ru(e,n))}function Ou(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),_u(e,n)}function Pu(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(i(314))}null!==r&&r.delete(t),_u(e,n)}function Tu(e,t){return Ge(e,t)}function ju(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ru(e,t,n,r){return new ju(e,t,n,r)}function Au(e){return!(!(e=e.prototype)||!e.isReactComponent)}function zu(e,t){var n=e.alternate;return null===n?((n=Ru(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Mu(e,t,n,r,o,a){var l=2;if(r=e,"function"==typeof e)Au(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case k:return Iu(n.children,o,a,t);case C:l=8,o|=8;break;case E:return(e=Ru(12,n,t,2|o)).elementType=E,e.lanes=a,e;case T:return(e=Ru(13,n,t,o)).elementType=T,e.lanes=a,e;case j:return(e=Ru(19,n,t,o)).elementType=j,e.lanes=a,e;case z:return Lu(n,o,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case _:l=10;break e;case O:l=9;break e;case P:l=11;break e;case R:l=14;break e;case A:l=16,r=null;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Ru(l,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Iu(e,t,n,r){return(e=Ru(7,e,r,t)).lanes=n,e}function Lu(e,t,n,r){return(e=Ru(22,e,r,t)).elementType=z,e.lanes=n,e.stateNode={isHidden:!1},e}function Fu(e,t,n){return(e=Ru(6,e,null,t)).lanes=n,e}function Du(e,t,n){return(t=Ru(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Vu(e){if(!e)return Oo;e:{if($e(e=e._reactInternals)!==e||1!==e.tag)throw Error(i(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(i(171))}if(1===e.tag){var n=e.type;if(Ao(n))return Io(e,n,t)}return t}function Bu(e,t,n,r){var o=t.current,i=eu(),a=tu(o);return n=Vu(n),null===t.context?t.context=n:t.pendingContext=n,(t=zi(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Mi(o,t,a))&&(nu(e,o,a,i),Ii(e,o,a)),a}function Nu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function $u(e,t){Nu(e,t),(e=e.alternate)&&Nu(e,t)}ks=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||To.current)yl=!0;else{if(0===(e.lanes&n)&&!(128&t.flags))return yl=!1,function(e,t,n){switch(t.tag){case 3:Tl(t),pi();break;case 5:ia(t);break;case 1:Ao(t.type)&&Lo(t);break;case 4:ra(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;_o(vi,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(_o(la,1&la.current),t.flags|=128,null):0!==(n&t.child.childLanes)?Fl(e,t,n):(_o(la,1&la.current),null!==(e=Hl(e,t,n))?e.sibling:null);_o(la,1&la.current);break;case 19:if(r=0!==(n&t.childLanes),128&e.flags){if(r)return $l(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),_o(la,la.current),r)break;return null;case 22:case 23:return t.lanes=0,Cl(e,t,n)}return Hl(e,t,n)}(e,t,n);yl=!!(131072&e.flags)}else yl=!1,oi&&1048576&t.flags&&Jo(t,qo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ul(e,t),e=t.pendingProps;var o=Ro(t,Po.current);Ci(t,n),o=ka(null,t,r,e,o,n);var a=Ca();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(r)?(a=!0,Lo(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Ri(t),o.updater=Ni,t.stateNode=o,o._reactInternals=t,Wi(t,r,e,n),t=Pl(null,t,r,!0,a,n)):(t.tag=0,oi&&a&&ei(t),wl(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ul(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"==typeof e)return Au(e)?1:0;if(null!=e){if((e=e.$$typeof)===P)return 11;if(e===R)return 14}return 2}(r),e=gi(r,e),o){case 0:t=_l(null,t,r,e,n);break e;case 1:t=Ol(null,t,r,e,n);break e;case 11:t=xl(null,t,r,e,n);break e;case 14:t=Sl(null,t,r,gi(r.type,e),n);break e}throw Error(i(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,_l(e,t,r,o=t.elementType===r?o:gi(r,o),n);case 1:return r=t.type,o=t.pendingProps,Ol(e,t,r,o=t.elementType===r?o:gi(r,o),n);case 3:e:{if(Tl(t),null===e)throw Error(i(387));r=t.pendingProps,o=(a=t.memoizedState).element,Ai(e,t),Fi(t,r,null,n);var l=t.memoizedState;if(r=l.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=jl(e,t,r,n,o=ul(Error(i(423)),t));break e}if(r!==o){t=jl(e,t,r,n,o=ul(Error(i(424)),t));break e}for(ri=so(t.stateNode.containerInfo.firstChild),ni=t,oi=!0,ii=null,n=Ki(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(pi(),r===o){t=Hl(e,t,n);break e}wl(e,t,r,n)}t=t.child}return t;case 5:return ia(t),null===e&&ui(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,l=o.children,to(r,o)?l=null:null!==a&&to(r,a)&&(t.flags|=32),El(e,t),wl(e,t,l,n),t.child;case 6:return null===e&&ui(t),null;case 13:return Fl(e,t,n);case 4:return ra(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Zi(t,null,r,n):wl(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,xl(e,t,r,o=t.elementType===r?o:gi(r,o),n);case 7:return wl(e,t,t.pendingProps,n),t.child;case 8:case 12:return wl(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,a=t.memoizedProps,l=o.value,_o(vi,r._currentValue),r._currentValue=l,null!==a)if(ar(a.value,l)){if(a.children===o.children&&!To.current){t=Hl(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var s=a.dependencies;if(null!==s){l=a.child;for(var u=s.firstContext;null!==u;){if(u.context===r){if(1===a.tag){(u=zi(-1,n&-n)).tag=2;var c=a.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}}a.lanes|=n,null!==(u=a.alternate)&&(u.lanes|=n),ki(a.return,n,t),s.lanes|=n;break}u=u.next}}else if(10===a.tag)l=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(l=a.return))throw Error(i(341));l.lanes|=n,null!==(s=l.alternate)&&(s.lanes|=n),ki(l,n,t),l=a.sibling}else l=a.child;if(null!==l)l.return=a;else for(l=a;null!==l;){if(l===t){l=null;break}if(null!==(a=l.sibling)){a.return=l.return,l=a;break}l=l.return}a=l}wl(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Ci(t,n),r=r(o=Ei(o)),t.flags|=1,wl(e,t,r,n),t.child;case 14:return o=gi(r=t.type,t.pendingProps),Sl(e,t,r,o=gi(r.type,o),n);case 15:return kl(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:gi(r,o),Ul(e,t),t.tag=1,Ao(r)?(e=!0,Lo(t)):e=!1,Ci(t,n),Ui(t,r,o),Wi(t,r,o,n),Pl(null,t,r,!0,e,n);case 19:return $l(e,t,n);case 22:return Cl(e,t,n)}throw Error(i(156,t.tag))};"function"==typeof reportError&&reportError;function Uu(e){this._internalRoot=e}function Hu(e){this._internalRoot=e}Hu.prototype.render=Uu.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));Bu(e,t,null,null)},Hu.prototype.unmount=Uu.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;cu(function(){Bu(null,e,null,null)}),t[ho]=null}},Hu.prototype.unstable_scheduleHydration=function(e){if(e){var t=kt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<At.length&&0!==t&&t<At[n].priority;n++);At.splice(n,0,e),0===n&&Lt(e)}},wt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(vt(t,1|n),ru(t,Ke()),!(6&Ps)&&($s=Ke()+500,$o()))}break;case 13:cu(function(){var t=Ti(e,1);if(null!==t){var n=eu();nu(t,e,1,n)}}),$u(e,1)}},xt=function(e){if(13===e.tag){var t=Ti(e,134217728);null!==t&&nu(t,e,134217728,eu()),$u(e,134217728)}},St=function(e){if(13===e.tag){var t=tu(e),n=Ti(e,t);null!==n&&nu(n,e,t,eu()),$u(e,t)}},kt=function(){return bt},Ct=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},Se=function(e,t,n){switch(t){case"input":if(Q(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=xo(r);if(!o)throw Error(i(90));G(r),Q(r,o)}}}break;case"textarea":ie(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Pe=uu,Te=cu;var Wu={findFiberByHostInstance:bo,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},qu={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:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=We(e))?null:e.stateNode},findFiberByHostInstance:Wu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var Gu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Gu.isDisabled&&Gu.supportsFiber)try{ot=Gu.inject(qu),it=Gu}catch(ce){}}t.createPortal=function(e,t){var n=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(i(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:S,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)}},556:(e,t,n)=>{e.exports=n(313)()},601:e=>{"use strict";e.exports=function(e){return e[1]}},604:(e,t,n)=>{var r;!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 i(e){return function(e,t){var n,r,a,l,s,u,c,d,f,p=1,h=e.length,m="";for(r=0;r<h;r++)if("string"==typeof e[r])m+=e[r];else if("object"==typeof e[r]){if((l=e[r]).keys)for(n=t[p],a=0;a<l.keys.length;a++){if(null==n)throw new Error(i('[sprintf] Cannot access property "%s" of undefined value "%s"',l.keys[a],l.keys[a-1]));n=n[l.keys[a]]}else n=l.param_no?t[l.param_no]:t[p++];if(o.not_type.test(l.type)&&o.not_primitive.test(l.type)&&n instanceof Function&&(n=n()),o.numeric_arg.test(l.type)&&"number"!=typeof n&&isNaN(n))throw new TypeError(i("[sprintf] expecting number but found %T",n));switch(o.number.test(l.type)&&(d=n>=0),l.type){case"b":n=parseInt(n,10).toString(2);break;case"c":n=String.fromCharCode(parseInt(n,10));break;case"d":case"i":n=parseInt(n,10);break;case"j":n=JSON.stringify(n,null,l.width?parseInt(l.width):0);break;case"e":n=l.precision?parseFloat(n).toExponential(l.precision):parseFloat(n).toExponential();break;case"f":n=l.precision?parseFloat(n).toFixed(l.precision):parseFloat(n);break;case"g":n=l.precision?String(Number(n.toPrecision(l.precision))):parseFloat(n);break;case"o":n=(parseInt(n,10)>>>0).toString(8);break;case"s":n=String(n),n=l.precision?n.substring(0,l.precision):n;break;case"t":n=String(!!n),n=l.precision?n.substring(0,l.precision):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=l.precision?n.substring(0,l.precision):n;break;case"u":n=parseInt(n,10)>>>0;break;case"v":n=n.valueOf(),n=l.precision?n.substring(0,l.precision):n;break;case"x":n=(parseInt(n,10)>>>0).toString(16);break;case"X":n=(parseInt(n,10)>>>0).toString(16).toUpperCase()}o.json.test(l.type)?m+=n:(!o.number.test(l.type)||d&&!l.sign?f="":(f=d?"+":"-",n=n.toString().replace(o.sign,"")),u=l.pad_char?"0"===l.pad_char?"0":l.pad_char.charAt(1):" ",c=l.width-(f+n).length,s=l.width&&c>0?u.repeat(c):"",m+=l.align?f+n+s:"0"===u?f+s+n:s+f+n)}return m}(function(e){if(l[e])return l[e];for(var t,n=e,r=[],i=0;n;){if(null!==(t=o.text.exec(n)))r.push(t[0]);else if(null!==(t=o.modulo.exec(n)))r.push("%");else{if(null===(t=o.placeholder.exec(n)))throw new SyntaxError("[sprintf] unexpected placeholder");if(t[2]){i|=1;var a=[],s=t[2],u=[];if(null===(u=o.key.exec(s)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(a.push(u[1]);""!==(s=s.substring(u[0].length));)if(null!==(u=o.key_access.exec(s)))a.push(u[1]);else{if(null===(u=o.index_access.exec(s)))throw new SyntaxError("[sprintf] failed to parse named argument key");a.push(u[1])}t[2]=a}else i|=2;if(3===i)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");r.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]})}n=n.substring(t[0].length)}return l[e]=r}(e),arguments)}function a(e,t){return i.apply(null,[e].concat(t||[]))}var l=Object.create(null);"undefined"!=typeof window&&(window.sprintf=i,window.vsprintf=a,void 0===(r=function(){return{sprintf:i,vsprintf:a}}.call(t,n,t,e))||(e.exports=r))}()},642:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(601),o=n.n(r),i=n(314),a=n.n(i)()(o());a.push([e.id,"",""]);const l=a},659:e=>{"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},691:e=>{"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var i={},a=[],l=0;l<e.length;l++){var s=e[l],u=r.base?s[0]+r.base:s[0],c=i[u]||0,d="".concat(u," ").concat(c);i[u]=c+1;var f=n(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,r);r.byIndex=l,t.splice(l,0,{identifier:d,updater:h,references:1})}a.push(d)}return a}function o(e,t){var n=t.domAPI(t);return n.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;n.update(e=t)}else n.remove()}}e.exports=function(e,o){var i=r(e=e||[],o=o||{});return function(e){e=e||[];for(var a=0;a<i.length;a++){var l=n(i[a]);t[l].references--}for(var s=r(e,o),u=0;u<i.length;u++){var c=n(i[u]);0===t[c].references&&(t[c].updater(),t.splice(c,1))}i=s}}},694:e=>{"use strict";e.exports=React},825:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},848:(e,t,n)=>{"use strict";e.exports=n(20)},925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},961:(e,t,n)=>{"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=n(551)},982:(e,t,n)=>{"use strict";e.exports=n(463)}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r](i,i.exports,n),i.loaded=!0,i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),n.nc=void 0,(()=>{"use strict";var e={};n.r(e),n.d(e,{name:()=>_y,settings:()=>Oy});var t={};n.r(t),n.d(t,{name:()=>Vy,settings:()=>By});var r={};n.r(r),n.d(r,{name:()=>Qy,settings:()=>Jy});var o={};n.r(o),n.d(o,{name:()=>aw,settings:()=>lw});var i={};n.r(i),n.d(i,{name:()=>hw,settings:()=>mw});var a={};n.r(a),n.d(a,{name:()=>Cw,settings:()=>Ew});var l={};n.r(l),n.d(l,{name:()=>rC,settings:()=>oC});var s={};n.r(s),n.d(s,{name:()=>SC,settings:()=>kC});var u={};n.r(u),n.d(u,{name:()=>LC,settings:()=>FC});const c=wp.blocks,d=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)},f=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)},p=function(e,t){return function(n,r,o,i=10){const a=e[t];if(!f(n))return;if(!d(r))return;if("function"!=typeof o)return void console.error("The hook callback must be a function.");if("number"!=typeof i)return void console.error("If specified, the hook priority must be a number.");const l={callback:o,priority:i,namespace:r};if(a[n]){const e=a[n].handlers;let t;for(t=e.length;t>0&&!(i>=e[t-1].priority);t--);t===e.length?e[t]=l:e.splice(t,0,l),a.__current.forEach(e=>{e.name===n&&e.currentIndex>=t&&e.currentIndex++})}else a[n]={handlers:[l],runs:0};"hookAdded"!==n&&e.doAction("hookAdded",n,r,o,i)}},h=function(e,t,n=!1){return function(r,o){const i=e[t];if(!f(r))return;if(!n&&!d(o))return;if(!i[r])return 0;let a=0;if(n)a=i[r].handlers.length,i[r]={runs:i[r].runs,handlers:[]};else{const e=i[r].handlers;for(let t=e.length-1;t>=0;t--)e[t].namespace===o&&(e.splice(t,1),a++,i.__current.forEach(e=>{e.name===r&&e.currentIndex>=t&&e.currentIndex--}))}return"hookRemoved"!==r&&e.doAction("hookRemoved",r,o),a}},m=function(e,t){return function(n,r){const o=e[t];return void 0!==r?n in o&&o[n].handlers.some(e=>e.namespace===r):n in o}},g=function(e,t,n=!1){return function(r,...o){const i=e[t];i[r]||(i[r]={handlers:[],runs:0}),i[r].runs++;const a=i[r].handlers;if(!a||!a.length)return n?o[0]:void 0;const l={name:r,currentIndex:0};for(i.__current.push(l);l.currentIndex<a.length;){const e=a[l.currentIndex].callback.apply(null,o);n&&(o[0]=e),l.currentIndex++}return i.__current.pop(),n?o[0]:void 0}},v=function(e,t){return function(){var n;const r=e[t];return null!==(n=r.__current[r.__current.length-1]?.name)&&void 0!==n?n:null}},b=function(e,t){return function(n){const r=e[t];return void 0===n?void 0!==r.__current[0]:!!r.__current[0]&&n===r.__current[0].name}},y=function(e,t){return function(n){const r=e[t];if(f(n))return r[n]&&r[n].runs?r[n].runs:0}};class w{constructor(){this.actions=Object.create(null),this.actions.__current=[],this.filters=Object.create(null),this.filters.__current=[],this.addAction=p(this,"actions"),this.addFilter=p(this,"filters"),this.removeAction=h(this,"actions"),this.removeFilter=h(this,"filters"),this.hasAction=m(this,"actions"),this.hasFilter=m(this,"filters"),this.removeAllActions=h(this,"actions",!0),this.removeAllFilters=h(this,"filters",!0),this.doAction=g(this,"actions"),this.applyFilters=g(this,"filters",!0),this.currentAction=v(this,"actions"),this.currentFilter=v(this,"filters"),this.doingAction=b(this,"actions"),this.doingFilter=b(this,"filters"),this.didAction=y(this,"actions"),this.didFilter=y(this,"filters")}}const x=new w,{addAction:S,addFilter:k,removeAction:C,removeFilter:E,hasAction:_,hasFilter:O,removeAllActions:P,removeAllFilters:T,doAction:j,applyFilters:R,currentAction:A,currentFilter:z,doingAction:M,doingFilter:I,didAction:L,didFilter:F,actions:D,filters:V}=x;var B=n(694),N=n.n(B);const $=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 U,H,W,q;n(604),function(e,t){t=t||{}}(console.error),U={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},H=["(","?"],W={")":["("],":":["?","?:"]},q=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var G={"!":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,n){if(e)throw t;return n}};var Y={contextDelimiter:"",onMissingKey:null};function X(e,t){var n;for(n in this.data=e,this.pluralForms={},this.options={},Y)this.options[n]=void 0!==t&&n in t?t[n]:Y[n]}X.prototype.getPluralForm=function(e,t){var n,r,o,i,a=this.pluralForms[e];return a||("function"!=typeof(o=(n=this.data[e][""])["Plural-Forms"]||n["plural-forms"]||n.plural_forms)&&(r=function(e){var t,n,r;for(t=e.split(";"),n=0;n<t.length;n++)if(0===(r=t[n].trim()).indexOf("plural="))return r.substr(7)}(n["Plural-Forms"]||n["plural-forms"]||n.plural_forms),i=function(e){var t=function(e){for(var t,n,r,o,i=[],a=[];t=e.match(q);){for(n=t[0],(r=e.substr(0,t.index).trim())&&i.push(r);o=a.pop();){if(W[n]){if(W[n][0]===o){n=W[n][1]||n;break}}else if(H.indexOf(o)>=0||U[o]<U[n]){a.push(o);break}i.push(o)}W[n]||a.push(n),e=e.substr(t.index+n.length)}return(e=e.trim())&&i.push(e),i.concat(a.reverse())}(e);return function(e){return function(e,t){var n,r,o,i,a,l,s=[];for(n=0;n<e.length;n++){if(a=e[n],i=G[a]){for(r=i.length,o=Array(r);r--;)o[r]=s.pop();try{l=i.apply(null,o)}catch(e){return e}}else l=t.hasOwnProperty(a)?t[a]:+a;s.push(l)}return s[0]}(t,e)}}(r),o=function(e){return+i({n:e})}),a=this.pluralForms[e]=o),a(t)},X.prototype.dcnpgettext=function(e,t,n,r,o){var i,a,l;return i=void 0===o?0:this.getPluralForm(e,o),a=n,t&&(a=t+this.options.contextDelimiter+n),(l=this.data[e][a])&&l[i]?l[i]:(this.options.onMissingKey&&this.options.onMissingKey(n,e),0===i?n:r)};const Z={plural_forms:e=>1===e?0:1},K=/^i18n\.(n?gettext|has_translation)(_|$)/,Q=((e,t,n)=>{const r=new X({}),o=new Set,i=()=>{o.forEach(e=>e())},a=(e,t="default")=>{r.data[t]={...r.data[t],...e},r.data[t][""]={...Z,...r.data[t]?.[""]},delete r.pluralForms[t]},l=(e,t)=>{a(e,t),i()},s=(e="default",t,n,o,i)=>(r.data[e]||a(void 0,e),r.dcnpgettext(e,t,n,o,i)),u=(e="default")=>e,c=(e,t,r)=>{let o=s(r,t,e);return n?(o=n.applyFilters("i18n.gettext_with_context",o,e,t,r),n.applyFilters("i18n.gettext_with_context_"+u(r),o,e,t,r)):o};if(n){const e=e=>{K.test(e)&&i()};n.addAction("hookAdded","core/i18n",e),n.addAction("hookRemoved","core/i18n",e)}return{getLocaleData:(e="default")=>r.data[e],setLocaleData:l,addLocaleData:(e,t="default")=>{r.data[t]={...r.data[t],...e,"":{...Z,...r.data[t]?.[""],...e?.[""]}},delete r.pluralForms[t],i()},resetLocaleData:(e,t)=>{r.data={},r.pluralForms={},l(e,t)},subscribe:e=>(o.add(e),()=>o.delete(e)),__:(e,t)=>{let r=s(t,void 0,e);return n?(r=n.applyFilters("i18n.gettext",r,e,t),n.applyFilters("i18n.gettext_"+u(t),r,e,t)):r},_x:c,_n:(e,t,r,o)=>{let i=s(o,void 0,e,t,r);return n?(i=n.applyFilters("i18n.ngettext",i,e,t,r,o),n.applyFilters("i18n.ngettext_"+u(o),i,e,t,r,o)):i},_nx:(e,t,r,o,i)=>{let a=s(i,o,e,t,r);return n?(a=n.applyFilters("i18n.ngettext_with_context",a,e,t,r,o,i),n.applyFilters("i18n.ngettext_with_context_"+u(i),a,e,t,r,o,i)):a},isRTL:()=>"rtl"===c("ltr","text direction"),hasTranslation:(e,t,o)=>{const i=t?t+""+e:e;let a=!!r.data?.[null!=o?o:"default"]?.[i];return n&&(a=n.applyFilters("i18n.has_translation",a,e,t,o),a=n.applyFilters("i18n.has_translation_"+u(o),a,e,t,o)),a}}})(0,0,x),J=(Q.getLocaleData.bind(Q),Q.setLocaleData.bind(Q),Q.resetLocaleData.bind(Q),Q.subscribe.bind(Q),Q.__.bind(Q));Q._x.bind(Q),Q._n.bind(Q),Q._nx.bind(Q),Q.isRTL.bind(Q),Q.hasTranslation.bind(Q);const ee=(e,t)=>{let n,r,o=e.path;return"string"==typeof e.namespace&&"string"==typeof e.endpoint&&(n=e.namespace.replace(/^\/|\/$/g,""),r=e.endpoint.replace(/^\//,""),o=r?n+"/"+r:n),delete e.namespace,delete e.endpoint,t({...e,path:o})};function te(e){const t=e.split("?"),n=t[1],r=t[0];return n?r+"?"+n.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("&"):r}function ne(e){try{return decodeURIComponent(e)}catch(t){return e}}function re(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[n,r=""]=t.split("=").filter(Boolean).map(ne);return n&&function(e,t,n){const r=t.length,o=r-1;for(let i=0;i<r;i++){let r=t[i];!r&&Array.isArray(e)&&(r=e.length.toString()),r=["__proto__","constructor","prototype"].includes(r)?r.toUpperCase():r;const a=!isNaN(Number(t[i+1]));e[r]=i===o?n:e[r]||(a?[]:{}),Array.isArray(e[r])&&!a&&(e[r]={...e[r]}),e=e[r]}}(e,n.replace(/\]/g,"").split("["),r),e},Object.create(null))}function oe(e,t){return re(e)[t]}function ie(e="",t){if(!t||!Object.keys(t).length)return e;let n=e;const r=e.indexOf("?");return-1!==r&&(t=Object.assign(re(e),t),n=n.substr(0,r)),n+"?"+function(e){let t="";const n=Object.entries(e);let r;for(;r=n.shift();){let[e,o]=r;if(Array.isArray(o)||o&&o.constructor===Object){const t=Object.entries(o).reverse();for(const[r,o]of t)n.unshift([`${e}[${r}]`,o])}else void 0!==o&&(null===o&&(o=""),t+="&"+[e,o].map(encodeURIComponent).join("="))}return t.substr(1)}(t)}const ae=(e,t)=>{let{path:n,url:r,...o}=e;return{...o,url:r&&ie(r,t),path:n&&ie(n,t)}},le=e=>e.json?e.json():Promise.reject(e),se=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},ue=async(e,t)=>{if(!1===e.parse)return t(e);if(!(e=>{const t=!!e.path&&-1!==e.path.indexOf("per_page=-1"),n=!!e.url&&-1!==e.url.indexOf("per_page=-1");return t||n})(e))return t(e);const n=await xe({...ae(e,{per_page:100}),parse:!1}),r=await le(n);if(!Array.isArray(r))return r;let o=se(n);if(!o)return r;let i=[].concat(r);for(;o;){const t=await xe({...e,path:void 0,url:o,parse:!1}),n=await le(t);i=i.concat(n),o=se(t)}return i},ce=new Set(["PATCH","PUT","DELETE"]),de="GET";function fe(e,t){return void 0!==oe(e,t)}const pe=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=>he(e,t))};function he(e){if(arguments.length>1&&void 0!==arguments[1]&&!arguments[1])throw e;return(e=>{const t={code:"invalid_json",message:J("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:J("An unknown error occurred.")};throw e||t})}const me={Accept:"application/json, */*;q=0.1"},ge={credentials:"include"},ve=[(e,t)=>("string"!=typeof e.url||fe(e.url,"_locale")||(e.url=ie(e.url,{_locale:"user"})),"string"!=typeof e.path||fe(e.path,"_locale")||(e.path=ie(e.path,{_locale:"user"})),t(e)),ee,(e,t)=>{const{method:n=de}=e;return ce.has(n.toUpperCase())&&(e={...e,headers:{...e.headers,"X-HTTP-Method-Override":n,"Content-Type":"application/json"},method:"POST"}),t(e)},ue],be=e=>{if(e.status>=200&&e.status<300)return e;throw e};let ye=e=>{const{url:t,path:n,data:r,parse:o=!0,...i}=e;let{body:a,headers:l}=e;return l={...me,...l},r&&(a=JSON.stringify(r),l["Content-Type"]="application/json"),window.fetch(t||n||window.location.href,{...ge,...i,body:a,headers:l}).then(e=>Promise.resolve(e).then(be).catch(e=>he(e,o)).then(e=>pe(e,o)),e=>{if(e&&"AbortError"===e.name)throw e;throw{code:"fetch_error",message:J("You are probably offline.")}})};function we(e){const t=ve.reduceRight((e,t)=>n=>t(n,e),ye);return t(e).catch(t=>"rest_cookie_invalid_nonce"!==t.code?Promise.reject(t):window.fetch(we.nonceEndpoint).then(be).then(e=>e.text()).then(t=>(we.nonceMiddleware.nonce=t,we(e))))}we.use=function(e){ve.unshift(e)},we.setFetchHandler=function(e){ye=e},we.createNonceMiddleware=function(e){const t=(e,n)=>{const{headers:r={}}=e;for(const o in r)if("x-wp-nonce"===o.toLowerCase()&&r[o]===t.nonce)return n(e);return n({...e,headers:{...r,"X-WP-Nonce":t.nonce}})};return t.nonce=e,t},we.createPreloadingMiddleware=function(e){const t=Object.keys(e).reduce((t,n)=>(t[te(n)]=e[n],t),{});return(e,n)=>{const{parse:r=!0}=e;let o=e.path;if(!o&&e.url){const t=oe(e.url,"rest_route");"string"==typeof t&&(o=t)}if("string"==typeof o){const n=e.method||"GET",i=te(o);if("GET"===n&&t[i]){const e=t[i];return delete t[i],Promise.resolve(r?e.body:new window.Response(JSON.stringify(e.body),{status:200,statusText:"OK",headers:e.headers}))}if("OPTIONS"===n&&t[n]&&t[n][i]){const e=t[n][i];return delete t[n][i],Promise.resolve(r?e.body:e)}}return n(e)}},we.createRootURLMiddleware=e=>(t,n)=>ee(t,t=>{let r,o=t.url,i=t.path;return"string"==typeof i&&(r=e,-1!==e.indexOf("?")&&(i=i.replace("?","&")),i=i.replace(/^\//,""),"string"==typeof r&&-1!==r.indexOf("?")&&(i=i.replace("?","&")),o=r+i),n({...t,url:o})}),we.fetchAllMiddleware=ue,we.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 n=0;const r=e=>(n++,t({path:`/wp/v2/media/${e}/post-process`,method:"POST",data:{action:"create-image-subsizes"},parse:!1}).catch(()=>n<5?r(e):(t({path:`/wp/v2/media/${e}?force=true`,method:"DELETE"}),Promise.reject())));return t({...e,parse:!1}).catch(t=>{const n=t.headers.get("x-wp-upload-attachment-id");return t.status>=500&&t.status<600&&n?r(n).catch(()=>!1!==e.parse?Promise.reject({code:"post_process",message:J("Media upload failed. If this is a photo or a large image, please scale it down and try again.")}):Promise.reject(t)):he(t,e.parse)}).then(t=>pe(t,e.parse))};const xe=we;var Se=n(394);const ke=(e,t)=>`${e}:hover ${t}, ${e}[data-hover] ${t}`,Ce=(e,t)=>`${e}:focus ${t}, ${e}[data-focus] ${t}`,Ee=(e,t)=>`${e}:focus-visible ${t}`,_e=(e,t)=>`${e}:focus-within ${t}`,Oe=(e,t)=>`${e}:active ${t}, ${e}[data-active] ${t}`,Pe=(e,t)=>`${e}:disabled ${t}, ${e}[data-disabled] ${t}`,Te=(e,t)=>`${e}:invalid ${t}, ${e}[data-invalid] ${t}`,je=(e,t)=>`${e}:checked ${t}, ${e}[data-checked] ${t}`,Re=e=>ze(t=>e(t,"&"),"[role=group]","[data-group]",".group"),Ae=e=>ze(t=>e(t,"~ &"),"[data-peer]",".peer"),ze=(e,...t)=>t.map(e).join(", "),Me={_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:Re((e,t)=>`${e}[data-open], ${e}[open], ${e}[data-state=open] ${t}`),_groupClosed:Re((e,t)=>`${e}[data-closed], ${e}[data-state=closed] ${t}`),_groupHover:Re(ke),_peerHover:Ae(ke),_groupFocus:Re(Ce),_peerFocus:Ae(Ce),_groupFocusVisible:Re(Ee),_peerFocusVisible:Ae(Ee),_groupActive:Re(Oe),_peerActive:Ae(Oe),_groupDisabled:Re(Pe),_peerDisabled:Ae(Pe),_groupInvalid:Re(Te),_peerInvalid:Ae(Te),_groupChecked:Re(je),_peerChecked:Ae(je),_groupFocusWithin:Re(_e),_peerFocusWithin:Ae(_e),_peerPlaceholderShown:Ae((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]"},Ie=Object.keys(Me);function Le(e){const t=typeof e;return null!=e&&("object"===t||"function"===t)&&!function(e){return Array.isArray(e)}(e)}const Fe=e=>"string"==typeof e?e.replace(/!(important)?$/,"").trim():e;function De(e){const{scale:t,transform:n,compose:r}=e;return(e,o)=>{const i=((e,t)=>n=>{const r=String(t),o=(e=>/!(important)?$/.test(e))(r),i=Fe(r),a=e?`${e}.${i}`:i;let l=Le(n.__cssMap)&&a in n.__cssMap?n.__cssMap[a].varRef:t;return l=Fe(l),o?`${l} !important`:l})(t,e)(o);let a=n?.(i,o)??i;return r&&(a=r(a,o)),a}}const Ve=(...e)=>t=>e.reduce((e,t)=>t(e),t);function Be(e,t){return n=>{const r={property:n,scale:e};return r.transform=De({scale:e,transform:t}),r}}const Ne=({rtl:e,ltr:t})=>n=>"rtl"===n.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))"],Ue={"--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(" ")},He={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,/*!*/ /*!*/)"},We={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},qe={"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"},Ge=new Set(Object.values(qe)),Ye=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),Xe=e=>e.trim(),Ze=e=>"string"==typeof e&&e.includes("(")&&e.includes(")"),Ke=e=>t=>`${e}(${t})`,Qe={filter:e=>"auto"!==e?e:Ue,backdropFilter:e=>"auto"!==e?e:He,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(", ")}}(Qe.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()),n=e.toString().replace(String(t),"");return{unitless:!n,value:t,unit:n}})(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||Ye.has(e))return e;if(!Ze(e)&&!Ye.has(e))return`url('${e}')`;const n=/(^[a-z-A-Z]+)\((.*)\)/g.exec(e),r=n?.[1],o=n?.[2];if(!r||!o)return e;const i=r.includes("-gradient")?r:`${r}-gradient`,[a,...l]=o.split(",").map(Xe).filter(Boolean);if(0===l?.length)return e;const s=a in qe?qe[a]:a;l.unshift(s);const u=l.map(e=>{if(Ge.has(e))return e;const n=e.indexOf(" "),[r,o]=-1!==n?[e.substr(0,n),e.substr(n+1)]:[e],i=Ze(o)?o:o&&o.split(" "),a=`colors.${r}`,l=a in t.__cssMap?t.__cssMap[a].varRef:r;return i?[l,...Array.isArray(i)?i:[i]].join(" "):l});return`${i}(${u.join(", ")})`}(e,t??{}),blur:Ke("blur"),opacity:Ke("opacity"),brightness:Ke("brightness"),contrast:Ke("contrast"),dropShadow:Ke("drop-shadow"),grayscale:Ke("grayscale"),hueRotate:e=>Ke("hue-rotate")(Qe.degree(e)),invert:Ke("invert"),saturate:Ke("saturate"),sepia:Ke("sepia"),bgImage:e=>null==e||Ze(e)||Ye.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:n}=We[e]??{},r={flexDirection:e};return t&&(r[t]=1),n&&(r[n]=1),r}},Je={borderWidths:Be("borderWidths"),borderStyles:Be("borderStyles"),colors:Be("colors"),borders:Be("borders"),gradients:Be("gradients",Qe.gradient),radii:Be("radii",Qe.px),space:Be("space",Ve(Qe.vh,Qe.px)),spaceT:Be("space",Ve(Qe.vh,Qe.px)),degreeT:e=>({property:e,transform:Qe.degree}),prop:(e,t,n)=>({property:e,scale:t,...t&&{transform:De({scale:t,transform:n})}}),propT:(e,t)=>({property:e,transform:t}),sizes:Be("sizes",Ve(Qe.vh,Qe.px)),sizesT:Be("sizes",Ve(Qe.vh,Qe.fraction)),shadows:Be("shadows"),logical:function(e){const{property:t,scale:n,transform:r}=e;return{scale:n,property:Ne(t),transform:n?De({scale:n,compose:r}):r}},blur:Be("blur",Qe.blur)},et={background:Je.colors("background"),backgroundColor:Je.colors("backgroundColor"),backgroundImage:Je.gradients("backgroundImage"),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:Qe.bgClip},bgSize:Je.prop("backgroundSize"),bgPosition:Je.prop("backgroundPosition"),bg:Je.colors("background"),bgColor:Je.colors("backgroundColor"),bgPos:Je.prop("backgroundPosition"),bgRepeat:Je.prop("backgroundRepeat"),bgAttachment:Je.prop("backgroundAttachment"),bgGradient:Je.gradients("backgroundImage"),bgClip:{transform:Qe.bgClip}};Object.assign(et,{bgImage:et.backgroundImage,bgImg:et.backgroundImage});const tt={border:Je.borders("border"),borderWidth:Je.borderWidths("borderWidth"),borderStyle:Je.borderStyles("borderStyle"),borderColor:Je.colors("borderColor"),borderRadius:Je.radii("borderRadius"),borderTop:Je.borders("borderTop"),borderBlockStart:Je.borders("borderBlockStart"),borderTopLeftRadius:Je.radii("borderTopLeftRadius"),borderStartStartRadius:Je.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:Je.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:Je.radii("borderTopRightRadius"),borderStartEndRadius:Je.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:Je.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:Je.borders("borderRight"),borderInlineEnd:Je.borders("borderInlineEnd"),borderBottom:Je.borders("borderBottom"),borderBlockEnd:Je.borders("borderBlockEnd"),borderBottomLeftRadius:Je.radii("borderBottomLeftRadius"),borderBottomRightRadius:Je.radii("borderBottomRightRadius"),borderLeft:Je.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:Je.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:Je.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:Je.borders(["borderLeft","borderRight"]),borderInline:Je.borders("borderInline"),borderY:Je.borders(["borderTop","borderBottom"]),borderBlock:Je.borders("borderBlock"),borderTopWidth:Je.borderWidths("borderTopWidth"),borderBlockStartWidth:Je.borderWidths("borderBlockStartWidth"),borderTopColor:Je.colors("borderTopColor"),borderBlockStartColor:Je.colors("borderBlockStartColor"),borderTopStyle:Je.borderStyles("borderTopStyle"),borderBlockStartStyle:Je.borderStyles("borderBlockStartStyle"),borderBottomWidth:Je.borderWidths("borderBottomWidth"),borderBlockEndWidth:Je.borderWidths("borderBlockEndWidth"),borderBottomColor:Je.colors("borderBottomColor"),borderBlockEndColor:Je.colors("borderBlockEndColor"),borderBottomStyle:Je.borderStyles("borderBottomStyle"),borderBlockEndStyle:Je.borderStyles("borderBlockEndStyle"),borderLeftWidth:Je.borderWidths("borderLeftWidth"),borderInlineStartWidth:Je.borderWidths("borderInlineStartWidth"),borderLeftColor:Je.colors("borderLeftColor"),borderInlineStartColor:Je.colors("borderInlineStartColor"),borderLeftStyle:Je.borderStyles("borderLeftStyle"),borderInlineStartStyle:Je.borderStyles("borderInlineStartStyle"),borderRightWidth:Je.borderWidths("borderRightWidth"),borderInlineEndWidth:Je.borderWidths("borderInlineEndWidth"),borderRightColor:Je.colors("borderRightColor"),borderInlineEndColor:Je.colors("borderInlineEndColor"),borderRightStyle:Je.borderStyles("borderRightStyle"),borderInlineEndStyle:Je.borderStyles("borderInlineEndStyle"),borderTopRadius:Je.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:Je.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:Je.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:Je.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(tt,{rounded:tt.borderRadius,roundedTop:tt.borderTopRadius,roundedTopLeft:tt.borderTopLeftRadius,roundedTopRight:tt.borderTopRightRadius,roundedTopStart:tt.borderStartStartRadius,roundedTopEnd:tt.borderStartEndRadius,roundedBottom:tt.borderBottomRadius,roundedBottomLeft:tt.borderBottomLeftRadius,roundedBottomRight:tt.borderBottomRightRadius,roundedBottomStart:tt.borderEndStartRadius,roundedBottomEnd:tt.borderEndEndRadius,roundedLeft:tt.borderLeftRadius,roundedRight:tt.borderRightRadius,roundedStart:tt.borderInlineStartRadius,roundedEnd:tt.borderInlineEndRadius,borderStart:tt.borderInlineStart,borderEnd:tt.borderInlineEnd,borderTopStartRadius:tt.borderStartStartRadius,borderTopEndRadius:tt.borderStartEndRadius,borderBottomStartRadius:tt.borderEndStartRadius,borderBottomEndRadius:tt.borderEndEndRadius,borderStartRadius:tt.borderInlineStartRadius,borderEndRadius:tt.borderInlineEndRadius,borderStartWidth:tt.borderInlineStartWidth,borderEndWidth:tt.borderInlineEndWidth,borderStartColor:tt.borderInlineStartColor,borderEndColor:tt.borderInlineEndColor,borderStartStyle:tt.borderInlineStartStyle,borderEndStyle:tt.borderInlineEndStyle});const nt={color:Je.colors("color"),textColor:Je.colors("color"),fill:Je.colors("fill"),stroke:Je.colors("stroke"),accentColor:Je.colors("accentColor"),textFillColor:Je.colors("textFillColor")},rt={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:Qe.flexDirection},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:Je.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:Je.space("gap"),rowGap:Je.space("rowGap"),columnGap:Je.space("columnGap")};Object.assign(rt,{flexDir:rt.flexDirection});const ot={width:Je.sizesT("width"),inlineSize:Je.sizesT("inlineSize"),height:Je.sizes("height"),blockSize:Je.sizes("blockSize"),boxSize:Je.sizes(["width","height"]),minWidth:Je.sizes("minWidth"),minInlineSize:Je.sizes("minInlineSize"),minHeight:Je.sizes("minHeight"),minBlockSize:Je.sizes("minBlockSize"),maxWidth:Je.sizes("maxWidth"),maxInlineSize:Je.sizes("maxInlineSize"),maxHeight:Je.sizes("maxHeight"),maxBlockSize:Je.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 n=`@media screen and (min-width: ${t.__breakpoints?.get(e)?.minW??e})`;return{[n]:{display:"none"}}}},hideBelow:{scale:"breakpoints",transform:(e,t)=>{const n=`@media screen and (max-width: ${t.__breakpoints?.get(e)?._minW??e})`;return{[n]:{display:"none"}}}},verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:Je.propT("float",Qe.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(ot,{w:ot.width,h:ot.height,minW:ot.minWidth,maxW:ot.maxWidth,minH:ot.minHeight,maxH:ot.maxHeight,overscroll:ot.overscrollBehavior,overscrollX:ot.overscrollBehaviorX,overscrollY:ot.overscrollBehaviorY});const it={filter:{transform:Qe.filter},blur:Je.blur("--chakra-blur"),brightness:Je.propT("--chakra-brightness",Qe.brightness),contrast:Je.propT("--chakra-contrast",Qe.contrast),hueRotate:Je.propT("--chakra-hue-rotate",Qe.hueRotate),invert:Je.propT("--chakra-invert",Qe.invert),saturate:Je.propT("--chakra-saturate",Qe.saturate),dropShadow:Je.propT("--chakra-drop-shadow",Qe.dropShadow),backdropFilter:{transform:Qe.backdropFilter},backdropBlur:Je.blur("--chakra-backdrop-blur"),backdropBrightness:Je.propT("--chakra-backdrop-brightness",Qe.brightness),backdropContrast:Je.propT("--chakra-backdrop-contrast",Qe.contrast),backdropHueRotate:Je.propT("--chakra-backdrop-hue-rotate",Qe.hueRotate),backdropInvert:Je.propT("--chakra-backdrop-invert",Qe.invert),backdropSaturate:Je.propT("--chakra-backdrop-saturate",Qe.saturate)},at={ring:{transform:Qe.ring},ringColor:Je.colors("--chakra-ring-color"),ringOffset:Je.prop("--chakra-ring-offset-width"),ringOffsetColor:Je.colors("--chakra-ring-offset-color"),ringInset:Je.prop("--chakra-ring-inset")},lt={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:Qe.outline},outlineOffset:!0,outlineColor:Je.colors("outlineColor")},st={gridGap:Je.space("gridGap"),gridColumnGap:Je.space("gridColumnGap"),gridRowGap:Je.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},ut=(e=>{const t=new WeakMap;return(n,r,o,i)=>{if(void 0===n)return e(n,r,o);t.has(n)||t.set(n,new Map);const a=t.get(n);if(a.has(r))return a.get(r);const l=e(n,r,o,i);return a.set(r,l),l}})(function(e,t,n,r){const o="string"==typeof t?t.split("."):[t];for(r=0;r<o.length&&e;r+=1)e=e[o[r]];return void 0===e?n:e}),ct={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},dt={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},ft=(e,t,n)=>{const r={},o=ut(e,t,{});for(const e in o)e in n&&null!=n[e]||(r[e]=o[e]);return r},pt={srOnly:{transform:e=>!0===e?ct:"focusable"===e?dt:{}},layerStyle:{processResult:!0,transform:(e,t,n)=>ft(t,`layerStyles.${e}`,n)},textStyle:{processResult:!0,transform:(e,t,n)=>ft(t,`textStyles.${e}`,n)},apply:{processResult:!0,transform:(e,t,n)=>ft(t,e,n)}},ht={position:!0,pos:Je.prop("position"),zIndex:Je.prop("zIndex","zIndices"),inset:Je.spaceT("inset"),insetX:Je.spaceT(["left","right"]),insetInline:Je.spaceT("insetInline"),insetY:Je.spaceT(["top","bottom"]),insetBlock:Je.spaceT("insetBlock"),top:Je.spaceT("top"),insetBlockStart:Je.spaceT("insetBlockStart"),bottom:Je.spaceT("bottom"),insetBlockEnd:Je.spaceT("insetBlockEnd"),left:Je.spaceT("left"),insetInlineStart:Je.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:Je.spaceT("right"),insetInlineEnd:Je.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(ht,{insetStart:ht.insetInlineStart,insetEnd:ht.insetInlineEnd});const mt={boxShadow:Je.shadows("boxShadow"),mixBlendMode:!0,blendMode:Je.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:Je.prop("backgroundBlendMode"),opacity:!0};Object.assign(mt,{shadow:mt.boxShadow});const gt={margin:Je.spaceT("margin"),marginTop:Je.spaceT("marginTop"),marginBlockStart:Je.spaceT("marginBlockStart"),marginRight:Je.spaceT("marginRight"),marginInlineEnd:Je.spaceT("marginInlineEnd"),marginBottom:Je.spaceT("marginBottom"),marginBlockEnd:Je.spaceT("marginBlockEnd"),marginLeft:Je.spaceT("marginLeft"),marginInlineStart:Je.spaceT("marginInlineStart"),marginX:Je.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:Je.spaceT("marginInline"),marginY:Je.spaceT(["marginTop","marginBottom"]),marginBlock:Je.spaceT("marginBlock"),padding:Je.space("padding"),paddingTop:Je.space("paddingTop"),paddingBlockStart:Je.space("paddingBlockStart"),paddingRight:Je.space("paddingRight"),paddingBottom:Je.space("paddingBottom"),paddingBlockEnd:Je.space("paddingBlockEnd"),paddingLeft:Je.space("paddingLeft"),paddingInlineStart:Je.space("paddingInlineStart"),paddingInlineEnd:Je.space("paddingInlineEnd"),paddingX:Je.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:Je.space("paddingInline"),paddingY:Je.space(["paddingTop","paddingBottom"]),paddingBlock:Je.space("paddingBlock")};Object.assign(gt,{m:gt.margin,mt:gt.marginTop,mr:gt.marginRight,me:gt.marginInlineEnd,marginEnd:gt.marginInlineEnd,mb:gt.marginBottom,ml:gt.marginLeft,ms:gt.marginInlineStart,marginStart:gt.marginInlineStart,mx:gt.marginX,my:gt.marginY,p:gt.padding,pt:gt.paddingTop,py:gt.paddingY,px:gt.paddingX,pb:gt.paddingBottom,pl:gt.paddingLeft,ps:gt.paddingInlineStart,paddingStart:gt.paddingInlineStart,pr:gt.paddingRight,pe:gt.paddingInlineEnd,paddingEnd:gt.paddingInlineEnd});const vt={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:Je.spaceT("scrollMargin"),scrollMarginTop:Je.spaceT("scrollMarginTop"),scrollMarginBottom:Je.spaceT("scrollMarginBottom"),scrollMarginLeft:Je.spaceT("scrollMarginLeft"),scrollMarginRight:Je.spaceT("scrollMarginRight"),scrollMarginX:Je.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:Je.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:Je.spaceT("scrollPadding"),scrollPaddingTop:Je.spaceT("scrollPaddingTop"),scrollPaddingBottom:Je.spaceT("scrollPaddingBottom"),scrollPaddingLeft:Je.spaceT("scrollPaddingLeft"),scrollPaddingRight:Je.spaceT("scrollPaddingRight"),scrollPaddingX:Je.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:Je.spaceT(["scrollPaddingTop","scrollPaddingBottom"])},bt={fontFamily:Je.prop("fontFamily","fonts"),fontSize:Je.prop("fontSize","fontSizes",Qe.px),fontWeight:Je.prop("fontWeight","fontWeights"),lineHeight:Je.prop("lineHeight","lineHeights"),letterSpacing:Je.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"}},yt={textDecorationColor:Je.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:Je.shadows("textShadow")},wt={clipPath:!0,transform:Je.propT("transform",Qe.transform),transformOrigin:!0,translateX:Je.spaceT("--chakra-translate-x"),translateY:Je.spaceT("--chakra-translate-y"),skewX:Je.degreeT("--chakra-skew-x"),skewY:Je.degreeT("--chakra-skew-y"),scaleX:Je.prop("--chakra-scale-x"),scaleY:Je.prop("--chakra-scale-y"),scale:Je.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:Je.degreeT("--chakra-rotate")},xt={listStyleType:!0,listStylePosition:!0,listStylePos:Je.prop("listStylePosition"),listStyleImage:!0,listStyleImg:Je.prop("listStyleImage")},St={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:Je.prop("transitionDuration","transition.duration"),transitionProperty:Je.prop("transitionProperty","transition.property"),transitionTimingFunction:Je.prop("transitionTimingFunction","transition.easing")},kt=Se({},et,tt,nt,rt,ot,it,at,lt,st,pt,ht,mt,gt,vt,bt,yt,wt,xt,St),Ct=Object.assign({},gt,ot,rt,st,ht),Et=(Object.keys(Ct),[...Object.keys(kt),...Ie]),_t={...kt,...Me},Ot=e=>e in _t;function Pt(e,...t){return"function"==typeof e?e(...t):e}const Tt=(e,t)=>e.startsWith("--")&&"string"==typeof t&&!function(e){return/^var\(--.+\)$/.test(e)}(t),jt=(e,t)=>{if(null==t)return t;const n=t=>e.__cssMap?.[t]?.varRef,r=e=>n(e)??e,[o,i]=function(e){const t=[];let n="",r=!1;for(let o=0;o<e.length;o++){const i=e[o];"("===i?(r=!0,n+=i):")"===i?(r=!1,n+=i):","!==i||r?n+=i:(t.push(n),n="")}return n=n.trim(),n&&t.push(n),t}(t);return n(o)??r(i)??r(t)};const Rt=e=>t=>function(e){const{configs:t={},pseudos:n={},theme:r}=e,o=(e,i=!1)=>{const a=Pt(e,r),l=(e=>t=>{if(!t.__breakpoints)return e;const{isResponsive:n,toArrayValue:r,media:o}=t.__breakpoints,i={};for(const a in e){let l=Pt(e[a],t);if(null==l)continue;if(l=Le(l)&&n(l)?r(l):l,!Array.isArray(l)){i[a]=l;continue}const s=l.slice(0,o.length).length;for(let e=0;e<s;e+=1){const t=o?.[e];t?(i[t]=i[t]||{},null!=l[e]&&(i[t][a]=l[e])):i[a]=l[e]}}return i})(a)(r);let s={};for(let e in l){let u=Pt(l[e],r);e in n&&(e=n[e]),Tt(e,u)&&(u=jt(r,u));let c=t[e];if(!0===c&&(c={property:e}),Le(u)){s[e]=s[e]??{},s[e]=Se({},s[e],o(u,!0));continue}let d=c?.transform?.(u,r,a)??u;d=c?.processResult?o(d,!0):d;const f=Pt(c?.property,r);if(!i&&c?.static){const e=Pt(c.static,r);s=Se({},s,e)}if(f&&Array.isArray(f))for(const e of f)s[e]=d;else f?"&"===f&&Le(d)?s=Se({},s,d):s[f]=d:Le(d)?s=Se({},s,d):s[e]=d}return s};return o}({theme:t,pseudos:Me,configs:kt})(e);function At(e){const t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function zt(){return zt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zt.apply(null,arguments)}var Mt=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=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,n),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 n=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{n.insertRule(e,n.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}(),It=Math.abs,Lt=String.fromCharCode,Ft=Object.assign;function Dt(e){return e.trim()}function Vt(e,t,n){return e.replace(t,n)}function Bt(e,t){return e.indexOf(t)}function Nt(e,t){return 0|e.charCodeAt(t)}function $t(e,t,n){return e.slice(t,n)}function Ut(e){return e.length}function Ht(e){return e.length}function Wt(e,t){return t.push(e),e}var qt=1,Gt=1,Yt=0,Xt=0,Zt=0,Kt="";function Qt(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:qt,column:Gt,length:a,return:""}}function Jt(e,t){return Ft(Qt("",null,null,"",null,null,0),e,{length:-e.length},t)}function en(){return Zt=Xt>0?Nt(Kt,--Xt):0,Gt--,10===Zt&&(Gt=1,qt--),Zt}function tn(){return Zt=Xt<Yt?Nt(Kt,Xt++):0,Gt++,10===Zt&&(Gt=1,qt++),Zt}function nn(){return Nt(Kt,Xt)}function rn(){return Xt}function on(e,t){return $t(Kt,e,t)}function an(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 ln(e){return qt=Gt=1,Yt=Ut(Kt=e),Xt=0,[]}function sn(e){return Kt="",e}function un(e){return Dt(on(Xt-1,fn(91===e?e+2:40===e?e+1:e)))}function cn(e){for(;(Zt=nn())&&Zt<33;)tn();return an(e)>2||an(Zt)>3?"":" "}function dn(e,t){for(;--t&&tn()&&!(Zt<48||Zt>102||Zt>57&&Zt<65||Zt>70&&Zt<97););return on(e,rn()+(t<6&&32==nn()&&32==tn()))}function fn(e){for(;tn();)switch(Zt){case e:return Xt;case 34:case 39:34!==e&&39!==e&&fn(Zt);break;case 40:41===e&&fn(e);break;case 92:tn()}return Xt}function pn(e,t){for(;tn()&&e+Zt!==57&&(e+Zt!==84||47!==nn()););return"/*"+on(t,Xt-1)+"*"+Lt(47===e?e:tn())}function hn(e){for(;!an(nn());)tn();return on(e,Xt)}var mn="-ms-",gn="-moz-",vn="-webkit-",bn="comm",yn="rule",wn="decl",xn="@keyframes";function Sn(e,t){for(var n="",r=Ht(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function kn(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case wn:return e.return=e.return||e.value;case bn:return"";case xn:return e.return=e.value+"{"+Sn(e.children,r)+"}";case yn:e.value=e.props.join(",")}return Ut(n=Sn(e.children,r))?e.return=e.value+"{"+n+"}":""}function Cn(e){return sn(En("",null,null,null,[""],e=ln(e),0,[0],e))}function En(e,t,n,r,o,i,a,l,s){for(var u=0,c=0,d=a,f=0,p=0,h=0,m=1,g=1,v=1,b=0,y="",w=o,x=i,S=r,k=y;g;)switch(h=b,b=tn()){case 40:if(108!=h&&58==Nt(k,d-1)){-1!=Bt(k+=Vt(un(b),"&","&\f"),"&\f")&&(v=-1);break}case 34:case 39:case 91:k+=un(b);break;case 9:case 10:case 13:case 32:k+=cn(h);break;case 92:k+=dn(rn()-1,7);continue;case 47:switch(nn()){case 42:case 47:Wt(On(pn(tn(),rn()),t,n),s);break;default:k+="/"}break;case 123*m:l[u++]=Ut(k)*v;case 125*m:case 59:case 0:switch(b){case 0:case 125:g=0;case 59+c:-1==v&&(k=Vt(k,/\f/g,"")),p>0&&Ut(k)-d&&Wt(p>32?Pn(k+";",r,n,d-1):Pn(Vt(k," ","")+";",r,n,d-2),s);break;case 59:k+=";";default:if(Wt(S=_n(k,t,n,u,c,o,l,y,w=[],x=[],d),i),123===b)if(0===c)En(k,t,S,S,w,i,d,l,x);else switch(99===f&&110===Nt(k,3)?100:f){case 100:case 108:case 109:case 115:En(e,S,S,r&&Wt(_n(e,S,S,0,0,o,l,y,o,w=[],d),x),o,x,d,l,r?w:x);break;default:En(k,S,S,S,[""],x,0,l,x)}}u=c=p=0,m=v=1,y=k="",d=a;break;case 58:d=1+Ut(k),p=h;default:if(m<1)if(123==b)--m;else if(125==b&&0==m++&&125==en())continue;switch(k+=Lt(b),b*m){case 38:v=c>0?1:(k+="\f",-1);break;case 44:l[u++]=(Ut(k)-1)*v,v=1;break;case 64:45===nn()&&(k+=un(tn())),f=nn(),c=d=Ut(y=k+=hn(rn())),b++;break;case 45:45===h&&2==Ut(k)&&(m=0)}}return i}function _n(e,t,n,r,o,i,a,l,s,u,c){for(var d=o-1,f=0===o?i:[""],p=Ht(f),h=0,m=0,g=0;h<r;++h)for(var v=0,b=$t(e,d+1,d=It(m=a[h])),y=e;v<p;++v)(y=Dt(m>0?f[v]+" "+b:Vt(b,/&\f/g,f[v])))&&(s[g++]=y);return Qt(e,t,n,0===o?yn:l,s,u,c)}function On(e,t,n){return Qt(e,t,n,bn,Lt(Zt),$t(e,2,-2),0)}function Pn(e,t,n,r){return Qt(e,t,n,wn,$t(e,0,r),$t(e,r+1,-1),r)}var Tn=function(e,t,n){for(var r=0,o=0;r=o,o=nn(),38===r&&12===o&&(t[n]=1),!an(o);)tn();return on(e,Xt)},jn=new WeakMap,Rn=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||jn.get(n))&&!r){jn.set(e,!0);for(var o=[],i=function(e,t){return sn(function(e,t){var n=-1,r=44;do{switch(an(r)){case 0:38===r&&12===nn()&&(t[n]=1),e[n]+=Tn(Xt-1,t,n);break;case 2:e[n]+=un(r);break;case 4:if(44===r){e[++n]=58===nn()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Lt(r)}}while(r=tn());return e}(ln(e),t))}(t,o),a=n.props,l=0,s=0;l<i.length;l++)for(var u=0;u<a.length;u++,s++)e.props[s]=o[l]?i[l].replace(/&\f/g,a[u]):a[u]+" "+i[l]}}},An=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function zn(e,t){switch(function(e,t){return 45^Nt(e,0)?(((t<<2^Nt(e,0))<<2^Nt(e,1))<<2^Nt(e,2))<<2^Nt(e,3):0}(e,t)){case 5103:return vn+"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 vn+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return vn+e+gn+e+mn+e+e;case 6828:case 4268:return vn+e+mn+e+e;case 6165:return vn+e+mn+"flex-"+e+e;case 5187:return vn+e+Vt(e,/(\w+).+(:[^]+)/,vn+"box-$1$2"+mn+"flex-$1$2")+e;case 5443:return vn+e+mn+"flex-item-"+Vt(e,/flex-|-self/,"")+e;case 4675:return vn+e+mn+"flex-line-pack"+Vt(e,/align-content|flex-|-self/,"")+e;case 5548:return vn+e+mn+Vt(e,"shrink","negative")+e;case 5292:return vn+e+mn+Vt(e,"basis","preferred-size")+e;case 6060:return vn+"box-"+Vt(e,"-grow","")+vn+e+mn+Vt(e,"grow","positive")+e;case 4554:return vn+Vt(e,/([^-])(transform)/g,"$1"+vn+"$2")+e;case 6187:return Vt(Vt(Vt(e,/(zoom-|grab)/,vn+"$1"),/(image-set)/,vn+"$1"),e,"")+e;case 5495:case 3959:return Vt(e,/(image-set\([^]*)/,vn+"$1$`$1");case 4968:return Vt(Vt(e,/(.+:)(flex-)?(.*)/,vn+"box-pack:$3"+mn+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+vn+e+e;case 4095:case 3583:case 4068:case 2532:return Vt(e,/(.+)-inline(.+)/,vn+"$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(Ut(e)-1-t>6)switch(Nt(e,t+1)){case 109:if(45!==Nt(e,t+4))break;case 102:return Vt(e,/(.+:)(.+)-([^]+)/,"$1"+vn+"$2-$3$1"+gn+(108==Nt(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Bt(e,"stretch")?zn(Vt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Nt(e,t+1))break;case 6444:switch(Nt(e,Ut(e)-3-(~Bt(e,"!important")&&10))){case 107:return Vt(e,":",":"+vn)+e;case 101:return Vt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+vn+(45===Nt(e,14)?"inline-":"")+"box$3$1"+vn+"$2$3$1"+mn+"$2box$3")+e}break;case 5936:switch(Nt(e,t+11)){case 114:return vn+e+mn+Vt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return vn+e+mn+Vt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return vn+e+mn+Vt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return vn+e+mn+e+e}return e}var Mn=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case wn:e.return=zn(e.value,e.length);break;case xn:return Sn([Jt(e,{value:Vt(e.value,"@","@"+vn)})],r);case yn: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 Sn([Jt(e,{props:[Vt(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return Sn([Jt(e,{props:[Vt(t,/:(plac\w+)/,":"+vn+"input-$1")]}),Jt(e,{props:[Vt(t,/:(plac\w+)/,":-moz-$1")]}),Jt(e,{props:[Vt(t,/:(plac\w+)/,mn+"input-$1")]})],r)}return""})}}],In=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var r,o,i=e.stylisPlugins||Mn,a={},l=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;l.push(e)});var s,u,c,d,f=[kn,(d=function(e){s.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],p=(u=[Rn,An].concat(i,f),c=Ht(u),function(e,t,n,r){for(var o="",i=0;i<c;i++)o+=u[i](e,t,n,r)||"";return o});o=function(e,t,n,r){s=n,function(e){Sn(Cn(e),p)}(e?e+"{"+t.styles+"}":t.styles),r&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new Mt({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return h.sheet.hydrate(l),h},Ln=function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}};function Fn(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}var Dn=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},Vn=function(e,t,n){Dn(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}},Bn={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};function Nn(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var $n=/[A-Z]|^ms/g,Un=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Hn=function(e){return 45===e.charCodeAt(1)},Wn=function(e){return null!=e&&"boolean"!=typeof e},qn=Nn(function(e){return Hn(e)?e:e.replace($n,"-$&").toLowerCase()}),Gn=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Un,function(e,t,n){return Xn={name:t,styles:n,next:Xn},t})}return 1===Bn[e]||Hn(e)||"number"!=typeof t||0===t?t:t+"px"};function Yn(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return Xn={name:o.name,styles:o.styles,next:Xn},o.name;var i=n;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)Xn={name:a.name,styles:a.styles,next:Xn},a=a.next;return i.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Yn(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a){var l=a;null!=t&&void 0!==t[l]?r+=i+"{"+t[l]+"}":Wn(l)&&(r+=qn(i)+":"+Gn(i,l)+";")}else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=Yn(e,t,a);switch(i){case"animation":case"animationName":r+=qn(i)+":"+s+";";break;default:r+=i+"{"+s+"}"}}else for(var u=0;u<a.length;u++)Wn(a[u])&&(r+=qn(i)+":"+Gn(i,a[u])+";")}return r}(e,t,n);case"function":if(void 0!==e){var l=Xn,s=n(e);return Xn=l,Yn(e,t,s)}}var u=n;if(null==t)return u;var c=t[u];return void 0!==c?c:u}var Xn,Zn=/label:\s*([^\s;{]+)\s*(;|$)/g;function Kn(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";Xn=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=Yn(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=Yn(n,t,e[a]),r&&(o+=i[a]);Zn.lastIndex=0;for(var l,s="";null!==(l=Zn.exec(o));)s+="-"+l[1];var u=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+s;return{name:u,styles:o,next:Xn}}var Qn=!!B.useInsertionEffect&&B.useInsertionEffect,Jn=Qn||function(e){return e()},er=Qn||B.useLayoutEffect,tr=B.createContext("undefined"!=typeof HTMLElement?In({key:"css"}):null),nr=(tr.Provider,function(e){return(0,B.forwardRef)(function(t,n){var r=(0,B.useContext)(tr);return e(t,r,n)})}),rr=B.createContext({}),or=Ln(function(e){return Ln(function(t){return function(e,t){return"function"==typeof t?t(e):zt({},e,t)}(e,t)})}),ir=function(e){var t=B.useContext(rr);return e.theme!==t&&(t=or(t)(e.theme)),B.createElement(rr.Provider,{value:t},e.children)},ar={}.hasOwnProperty,lr="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",sr=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Dn(t,n,r),Jn(function(){return Vn(t,n,r)}),null},ur=nr(function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var o=e[lr],i=[r],a="";"string"==typeof e.className?a=Fn(t.registered,i,e.className):null!=e.className&&(a=e.className+" ");var l=Kn(i,void 0,B.useContext(rr));a+=t.key+"-"+l.name;var s={};for(var u in e)ar.call(e,u)&&"css"!==u&&u!==lr&&(s[u]=e[u]);return s.className=a,n&&(s.ref=n),B.createElement(B.Fragment,null,B.createElement(sr,{cache:t,serialized:l,isStringTag:"string"==typeof o}),B.createElement(o,s))}),cr=ur,dr=/^((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|popover|popoverTarget|popoverTargetAction|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)-.*))$/,fr=Nn(function(e){return dr.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}),pr=function(e){return"theme"!==e},hr=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?fr:pr},mr=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},gr=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Dn(t,n,r),Jn(function(){return Vn(t,n,r)}),null},vr=function e(t,n){var r,o,i=t.__emotion_real===t,a=i&&t.__emotion_base||t;void 0!==n&&(r=n.label,o=n.target);var l=mr(t,n,i),s=l||hr(a),u=!s("as");return function(){var c=arguments,d=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&d.push("label:"+r+";"),null==c[0]||void 0===c[0].raw)d.push.apply(d,c);else{var f=c[0];d.push(f[0]);for(var p=c.length,h=1;h<p;h++)d.push(c[h],f[h])}var m=nr(function(e,t,n){var r=u&&e.as||a,i="",c=[],f=e;if(null==e.theme){for(var p in f={},e)f[p]=e[p];f.theme=B.useContext(rr)}"string"==typeof e.className?i=Fn(t.registered,c,e.className):null!=e.className&&(i=e.className+" ");var h=Kn(d.concat(c),t.registered,f);i+=t.key+"-"+h.name,void 0!==o&&(i+=" "+o);var m=u&&void 0===l?hr(r):s,g={};for(var v in e)u&&"as"===v||m(v)&&(g[v]=e[v]);return g.className=i,n&&(g.ref=n),B.createElement(B.Fragment,null,B.createElement(gr,{cache:t,serialized:h,isStringTag:"string"==typeof r}),B.createElement(r,g))});return m.displayName=void 0!==r?r:"Styled("+("string"==typeof a?a:a.displayName||a.name||"Component")+")",m.defaultProps=t.defaultProps,m.__emotion_real=m,m.__emotion_base=a,m.__emotion_styles=d,m.__emotion_forwardProp=l,Object.defineProperty(m,"toString",{value:function(){return"."+o}}),m.withComponent=function(t,r){return e(t,zt({},n,r,{shouldForwardProp:mr(m,r,!0)})).apply(void 0,d)},m}}.bind(null);["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){vr[e]=vr(e)});const br=new Set([...Et,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),yr=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function wr(e){return(yr.has(e)||!br.has(e))&&"_"!==e[0]}const xr=(0,B.createContext)({});function Sr(){const e=(0,B.useContext)(xr);if(void 0===e)throw new Error("useColorMode must be used within a ColorModeProvider");return e}xr.displayName="ColorModeContext";const kr=(Cr=vr).default||Cr;var Cr;function Er(e,t){const{baseStyle:n,...r}=t??{};r.shouldForwardProp||(r.shouldForwardProp=wr);const o=(({baseStyle:e})=>t=>{const{theme:n,css:r,__css:o,sx:i,...a}=t,[l]=function(e,...t){const n=Object.getOwnPropertyDescriptors(e),r=Object.keys(n),o=e=>{const t={};for(let r=0;r<e.length;r++){const o=e[r];n[o]&&(Object.defineProperty(t,o,n[o]),delete n[o])}return t};return t.map(e=>o(Array.isArray(e)?e:r.filter(e))).concat(o(r))}(a,Ot),s=function(e,...t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");const n={...e};for(const e of t)if(null!=e)for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(t in n&&delete n[t],n[t]=e[t]);return n}({},o,Pt(e,t),At(l),i),u=Rt(s)(t.theme);return r?[u,r]:u})({baseStyle:n}),i=kr(e,r)(o);return(0,B.forwardRef)(function(e,t){const{children:n,...r}=e,{colorMode:o,forced:a}=Sr(),l=a?o:void 0;return(0,B.createElement)(i,{ref:t,"data-theme":l,...r},n)})}const _r=function(){const e=new Map;return new Proxy(Er,{apply:(e,t,n)=>Er(...n),get:(t,n)=>(e.has(n)||e.set(n,Er(n)),e.get(n))})}(),Or=_r("div");Or.displayName="Box";var Pr=n(848);function Tr(e,t=[]){const n=Object.assign({},e);for(const e of t)e in n&&delete n[e];return n}function jr(e){return Tr(e,["styleConfig","size","variant","colorScheme"])}const Rr=(...e)=>e.filter(Boolean).join(" ");function Ar(e){const t=null==e?0:e.length;return t?e[t-1]:void 0}function zr(e){if(null==e)return e;const{unitless:t}=function(e){const t=parseFloat(e.toString()),n=e.toString().replace(String(t),"");return{unitless:!n,value:t,unit:n}}(e);return t||"number"==typeof e?`${e}px`:e}const Mr=(e,t)=>parseInt(e[1],10)>parseInt(t[1],10)?1:-1,Ir=e=>Object.fromEntries(Object.entries(e).sort(Mr));function Lr(e){const t=Ir(e);return Object.assign(Object.values(t),t)}function Fr(e){return e?"number"==typeof(e=zr(e)??e)?`${e+-.02}`:e.replace(/(\d+\.?\d*)/u,e=>`${parseFloat(e)+-.02}`):e}function Dr(e,t){const n=["@media screen"];return e&&n.push("and",`(min-width: ${zr(e)})`),t&&n.push("and",`(max-width: ${zr(t)})`),n.join(" ")}function Vr(e){if(!e)return null;e.base=e.base??"0px";const t=Lr(e),n=Object.entries(e).sort(Mr).map(([e,t],n,r)=>{let[,o]=r[n+1]??[];return o=parseFloat(o)>0?Fr(o):void 0,{_minW:Fr(t),breakpoint:e,minW:t,maxW:o,maxWQuery:Dr(null,o),minWQuery:Dr(t),minMaxQuery:Dr(t,o)}}),r=function(e){const t=Object.keys(Ir(e));return new Set(t)}(e),o=Array.from(r.values());return{keys:r,normalized:t,isResponsive(e){const t=Object.keys(e);return t.length>0&&t.every(e=>r.has(e))},asObject:Ir(e),asArray:Lr(e),details:n,get:e=>n.find(t=>t.breakpoint===e),media:[null,...t.map(e=>Dr(e)).slice(1)],toArrayValue(e){if(!Le(e))throw new Error("toArrayValue: value must be an object");const t=o.map(t=>e[t]??null);for(;null===Ar(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,n)=>{const r=o[n];return null!=r&&null!=t&&(e[r]=t),e},{})}}}function Br(e){return Le(e)&&e.reference?e.reference:String(e)}const Nr=(e,...t)=>t.map(Br).join(` ${e} `).replace(/calc/g,""),$r=(...e)=>`calc(${Nr("+",...e)})`,Ur=(...e)=>`calc(${Nr("-",...e)})`,Hr=(...e)=>`calc(${Nr("*",...e)})`,Wr=(...e)=>`calc(${Nr("/",...e)})`,qr=e=>{const t=Br(e);return null==t||Number.isNaN(parseFloat(t))?Hr(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},Gr=Object.assign(e=>({add:(...t)=>Gr($r(e,...t)),subtract:(...t)=>Gr(Ur(e,...t)),multiply:(...t)=>Gr(Hr(e,...t)),divide:(...t)=>Gr(Wr(e,...t)),negate:()=>Gr(qr(e)),toString:()=>e.toString()}),{add:$r,subtract:Ur,multiply:Hr,divide:Wr,negate:qr});function Yr(e,t){return`var(${e}${t?`, ${t}`:""})`}function Xr(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 Zr(e,t,n){const r=Xr(e,n);return{variable:r,reference:Yr(r,t)}}function Kr(e,t,n={}){const{stop:r,getKey:o}=n;return function e(n,i=[]){if(Le(n)||Array.isArray(n)){const a={};for(const[l,s]of Object.entries(n)){const u=o?.(l)??l,c=[...i,u];if(r?.(n,c))return t(n,i);a[u]=e(s,c)}return a}return t(n,i)}(e)}const Qr=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","gradients","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur","breakpoints"];function Jr(e){return function(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}(e,Qr)}function eo(e,t){return Zr(String(e).replace(/\./g,"-"),void 0,t)}function to(e={}){const{name:t,strict:n=!0,hookName:r="useContext",providerName:o="Provider",errorMessage:i,defaultValue:a}=e,l=(0,B.createContext)(a);return l.displayName=t,[l.Provider,function e(){const t=(0,B.useContext)(l);if(!t&&n){const t=new Error(i??`${r} returned \`undefined\`. Seems you forgot to wrap component within ${o}`);throw t.name="ContextError",Error.captureStackTrace?.(t,e),t}return t},l]}const no=(e=>{const t=new WeakMap;return(n,r,o,i)=>{if(void 0===n)return e(n,r,o);t.has(n)||t.set(n,new Map);const a=t.get(n);if(a.has(r))return a.get(r);const l=e(n,r,o,i);return a.set(r,l),l}})(function(e,t,n,r){const o="string"==typeof t?t.split("."):[t];for(r=0;r<o.length&&e;r+=1)e=e[o[r]];return void 0===e?n:e});n(146);var ro,oo,io=function(e,t){var n=arguments;if(null==t||!ar.call(t,"css"))return B.createElement.apply(void 0,n);var r=n.length,o=new Array(r);o[0]=cr,o[1]=function(e,t){var n={};for(var r in t)ar.call(t,r)&&(n[r]=t[r]);return n[lr]=e,n}(e,t);for(var i=2;i<r;i++)o[i]=n[i];return B.createElement.apply(null,o)};ro=io||(io={}),oo||(oo=ro.JSX||(ro.JSX={}));var ao=nr(function(e,t){var n=Kn([e.styles],void 0,B.useContext(rr)),r=B.useRef();return er(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}),i=!1,a=document.querySelector('style[data-emotion="'+e+" "+n.name+'"]');return t.sheet.tags.length&&(o.before=t.sheet.tags[0]),null!==a&&(i=!0,a.setAttribute("data-emotion",e),o.hydrate([a])),r.current=[o,i],function(){o.flush()}},[t]),er(function(){var e=r.current,o=e[0];if(e[1])e[1]=!1;else{if(void 0!==n.next&&Vn(t,n.next,!0),o.tags.length){var i=o.tags[o.tags.length-1].nextElementSibling;o.before=i,o.flush()}t.insert("",n,o,!1)}},[t,n.name]),null});function lo(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Kn(t)}function so(){var e=lo.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_"}}}function uo(e){const{cssVarsRoot:t,theme:n,children:r}=e,o=(0,B.useMemo)(()=>function(e){const t=function(e){const{__cssMap:t,__cssVars:n,__breakpoints:r,...o}=e;return o}(e),{cssMap:n,cssVars:r}=function(e){const t=function(e){const t=Jr(e),n=function(e){return e.semanticTokens}(e),r=e=>Ie.includes(e)||"default"===e,o={};return Kr(t,(e,t)=>{null!=e&&(o[t.join(".")]={isSemantic:!1,value:e})}),Kr(n,(e,t)=>{null!=e&&(o[t.join(".")]={isSemantic:!0,value:e})},{stop:e=>Object.keys(e).every(r)}),o}(e),n=e.config?.cssVarPrefix;let r={};const o={};function i(e,r){const o=[String(e).split(".")[0],r].join(".");if(!t[o])return r;const{reference:i}=eo(o,n);return i}for(const[e,a]of Object.entries(t)){const{isSemantic:t,value:l}=a,{variable:s,reference:u}=eo(e,n);if(!t){if(e.startsWith("space")){const t=e.split("."),[n,...r]=t,i=`${n}.-${r.join(".")}`,a=Gr.negate(l),c=Gr.negate(u);o[i]={value:a,var:s,varRef:c}}r[s]=l,o[e]={value:l,var:s,varRef:u};continue}const c=Le(l)?l:{default:l};r=Se(r,Object.entries(c).reduce((t,[n,r])=>{if(!r)return t;const o=i(e,`${r}`);return"default"===n?(t[s]=o,t):(t[Me?.[n]??n]={[s]:o},t)},{})),o[e]={value:u,var:s,varRef:u}}return{cssVars:r,cssMap:o}}(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",...r},__cssMap:n,__breakpoints:Vr(t.breakpoints)}),t}(n),[n]);return(0,Pr.jsxs)(ir,{theme:o,children:[(0,Pr.jsx)(co,{root:t}),r]})}function co({root:e=":host, :root"}){const t=[e,"[data-theme]"].join(",");return(0,Pr.jsx)(ao,{styles:e=>({[t]:e.__cssVars})})}const[fo,po]=to({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "});function ho(){const{colorMode:e}=Sr();return(0,Pr.jsx)(ao,{styles:t=>{const n=Pt(no(t,"styles.global"),{theme:t,colorMode:e});if(n)return Rt(n)(t)}})}const[mo,go]=to({name:"Card"+"StylesContext",errorMessage:'useStyles: "styles" is undefined. Seems you forgot to wrap the components in "<Card />" '});function vo(e){return(0,B.forwardRef)(e)}function bo(e,t){for(let n=t+1;n<e.length;n++)if(null!=e[n])return n;return-1}var yo=n(115);function wo(e,t={}){const{styleConfig:n,...r}=t,{theme:o,colorMode:i}={...Sr(),theme:function(){const e=(0,B.useContext)(rr);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}()},a=e?no(o,`components.${e}`):void 0,l=n||a,s=Se({theme:o,colorMode:i},l?.defaultProps??{},function(e){return Object.fromEntries(Object.entries(e).filter(([e,t])=>void 0!==t&&"children"!==e&&!(0,B.isValidElement)(t)))}(r),(e,t)=>e?void 0:t),u=(0,B.useRef)({});if(l){const e=function(e){return t=>{const{variant:n,size:r,theme:o}=t,i=function(e){const t=e.__breakpoints;return function(e,n,r,o){if(!t)return;const i={},a=function(e,t){return Array.isArray(e)?e:Le(e)?t(e):null!=e?[e]:void 0}(r,t.toArrayValue);if(!a)return i;const l=a.length,s=1===l,u=!!e.parts;for(let r=0;r<l;r++){const l=t.details[r],c=t.details[bo(a,r)],d=Dr(l.minW,c?._minW),f=Pt(e[n]?.[a[r]],o);f&&(u?e.parts?.forEach(e=>{Se(i,{[e]:s?f[e]:{[d]:f[e]}})}):u?i[d]=f:s?Se(i,f):i[d]=f)}return i}}(o);return Se({},Pt(e.baseStyle??{},t),i(e,"sizes",r,t),i(e,"variants",n,t))}}(l),t=e(s);yo(u.current,t)||(u.current=t)}return u.current}function xo(e,t={}){return wo(e,t)}function So(e,t={}){return wo(e,t)}const ko=vo(function(e,t){const{className:n,children:r,direction:o="column",justify:i,align:a,...l}=jr(e),s=So("Card",e);return(0,Pr.jsx)(_r.div,{ref:t,className:Rr("chakra-card",n),__css:{display:"flex",flexDirection:o,justifyContent:i,alignItems:a,position:"relative",minWidth:0,wordWrap:"break-word",...s.container},...l,children:(0,Pr.jsx)(mo,{value:s,children:r})})}),Co=vo(function(e,t){const{className:n,...r}=e,o=go();return(0,Pr.jsx)(_r.div,{ref:t,className:Rr("chakra-card__body",n),__css:o.body,...r})}),Eo=_r("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center"}});Eo.displayName="Center";const _o={horizontal:{insetStart:"50%",transform:"translateX(-50%)"},vertical:{top:"50%",transform:"translateY(-50%)"},both:{insetStart:"50%",top:"50%",transform:"translate(-50%, -50%)"}},Oo=(vo(function(e,t){const{axis:n="both",...r}=e;return(0,Pr.jsx)(_r.div,{ref:t,__css:_o[n],...r,position:"absolute"})}),vo(function(e,t){const{htmlWidth:n,htmlHeight:r,alt:o,...i}=e;return(0,Pr.jsx)("img",{width:n,height:r,ref:t,alt:o,...i})}));Oo.displayName="NativeImage";const Po=Boolean(globalThis?.document)?B.useLayoutEffect:B.useEffect,To=vo(function(e,t){const{fallbackSrc:n,fallback:r,src:o,srcSet:i,align:a,fit:l,loading:s,ignoreFallback:u,crossOrigin:c,fallbackStrategy:d="beforeLoadOrError",referrerPolicy:f,...p}=e,h=null!=s||u||!(void 0!==n||void 0!==r),m=function(e){const{loading:t,src:n,srcSet:r,onLoad:o,onError:i,crossOrigin:a,sizes:l,ignoreFallback:s}=e,[u,c]=(0,B.useState)("pending");(0,B.useEffect)(()=>{c(n?"loading":"pending")},[n]);const d=(0,B.useRef)(null),f=(0,B.useCallback)(()=>{if(!n)return;p();const e=new Image;e.src=n,a&&(e.crossOrigin=a),r&&(e.srcset=r),l&&(e.sizes=l),t&&(e.loading=t),e.onload=e=>{p(),c("loaded"),o?.(e)},e.onerror=e=>{p(),c("failed"),i?.(e)},d.current=e},[n,a,r,l,o,i,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:a,...h?p:Tr(p,["onError","onLoad"])};return g?r||(0,Pr.jsx)(_r.img,{as:Oo,className:"chakra-image__placeholder",src:n,...v}):(0,Pr.jsx)(_r.img,{as:Oo,src:o,srcSet:i,crossOrigin:c,loading:s,referrerPolicy:f,className:"chakra-image",...v})});To.displayName="Image";const jo=vo(function(e,t){const n=xo("Heading",e),{className:r,...o}=jr(e);return(0,Pr.jsx)(_r.h2,{ref:t,className:Rr("chakra-heading",e.className),...o,__css:n})});jo.displayName="Heading";const Ro=e=>(0,Pr.jsx)(_r.div,{className:"chakra-stack__item",...e,__css:{display:"inline-block",flex:"0 0 auto",minWidth:0,...e.__css}});Ro.displayName="StackItem",Object.freeze(["base","sm","md","lg","xl","2xl"]);const Ao=vo((e,t)=>{const{isInline:n,direction:r,align:o,justify:i,spacing:a="0.5rem",wrap:l,children:s,divider:u,className:c,shouldWrapChildren:d,...f}=e,p=n?"row":r??"column",h=(0,B.useMemo)(()=>function(e){const{spacing:t,direction:n}=e,r={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=n,i=e=>r[e],Array.isArray(o)?o.map(e=>null===e?null:i(e)):Le(o)?Object.keys(o).reduce((e,t)=>(e[t]=i(o[t]),e),{}):null!=o?i(o):null)};var o,i}({spacing:a,direction:p}),[a,p]),m=!!u,g=!d&&!m,v=(0,B.useMemo)(()=>{const e=function(e){return B.Children.toArray(e).filter(e=>(0,B.isValidElement)(e))}(s);return g?e:e.map((t,n)=>{const r=void 0!==t.key?t.key:n,o=n+1===e.length,i=d?(0,Pr.jsx)(Ro,{children:t},r):t;if(!m)return i;const a=(0,B.cloneElement)(u,{__css:h}),l=o?null:a;return(0,Pr.jsxs)(B.Fragment,{children:[i,l]},r)})},[u,h,m,g,d,s]),b=Rr("chakra-stack",c);return(0,Pr.jsx)(_r.div,{ref:t,display:"flex",alignItems:o,justifyContent:i,flexDirection:p,flexWrap:l,gap:m?void 0:a,className:b,...f,children:v})});Ao.displayName="Stack";const zo=vo(function(e,t){const n=xo("Text",e),{className:r,align:o,decoration:i,casing:a,...l}=jr(e),s=At({textAlign:e.align,textDecoration:e.decoration,textTransform:e.casing});return(0,Pr.jsx)(_r.p,{ref:t,className:Rr("chakra-text",e.className),...s,...l,__css:n})});zo.displayName="Text";const Mo=wp.components,Io=wp.blockEditor;function Lo(e,t={}){let n=!1;function r(t){const n=`chakra-${(["container","root"].includes(t??"")?[e]:[e,t]).filter(Boolean).join("__")}`;return{className:n,selector:`.${n}`,toString:()=>t}}return{parts:function(...o){!function(){if(n)throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?");n=!0}();for(const e of o)t[e]=r(e);return Lo(e,t)},toPart:r,extend:function(...n){for(const e of n)e in t||(t[e]=r(e));return Lo(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 Fo=Lo("accordion").parts("root","container","button","panel","icon"),Do=Lo("alert").parts("title","description","container","icon","spinner"),Vo=Lo("avatar").parts("label","badge","container","excessLabel","group"),Bo=Lo("breadcrumb").parts("link","item","container","separator"),No=(Lo("button").parts(),Lo("checkbox").parts("control","icon","container","label")),$o=(Lo("progress").parts("track","filledTrack","label"),Lo("drawer").parts("overlay","dialogContainer","dialog","header","closeButton","body","footer")),Uo=Lo("editable").parts("preview","input","textarea"),Ho=Lo("form").parts("container","requiredIndicator","helperText"),Wo=Lo("formError").parts("text","icon"),qo=Lo("input").parts("addon","field","element","group"),Go=Lo("list").parts("container","item","icon"),Yo=Lo("menu").parts("button","list","item","groupTitle","icon","command","divider"),Xo=Lo("modal").parts("overlay","dialogContainer","dialog","header","closeButton","body","footer"),Zo=Lo("numberinput").parts("root","field","stepperGroup","stepper"),Ko=(Lo("pininput").parts("field"),Lo("popover").parts("content","header","body","footer","popper","arrow","closeButton")),Qo=Lo("progress").parts("label","filledTrack","track"),Jo=Lo("radio").parts("container","control","label"),ei=Lo("select").parts("field","icon"),ti=Lo("slider").parts("container","track","thumb","filledTrack","mark"),ni=Lo("stat").parts("container","label","helpText","number","icon"),ri=Lo("switch").parts("container","track","thumb","label"),oi=Lo("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),ii=Lo("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),ai=Lo("tag").parts("container","label","closeButton"),li=Lo("card").parts("container","header","body","footer");function si(e){return{definePartsStyle:e=>e,defineMultiStyleConfig:t=>({parts:e,...t})}}Lo("stepper").parts("stepper","step","title","description","indicator","separator","icon","number");const{definePartsStyle:ui,defineMultiStyleConfig:ci}=si(Fo.keys),di=ci({baseStyle:ui({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 fi(e,t,n){return Math.min(Math.max(e,n),t)}class pi extends Error{constructor(e){super(`Failed to parse color: "${e}"`)}}var hi=pi;function mi(e){if("string"!=typeof e)throw new hi(e);if("transparent"===e.trim().toLowerCase())return[0,0,0,0];let t=e.trim();t=ki.test(e)?function(e){const t=e.toLowerCase().trim(),n=vi[function(e){let t=5381,n=e.length;for(;n;)t=33*t^e.charCodeAt(--n);return(t>>>0)%2341}(t)];if(!n)throw new hi(e);return`#${n}`}(e):e;const n=yi.exec(t);if(n){const e=Array.from(n).slice(1);return[...e.slice(0,3).map(e=>parseInt(bi(e,2),16)),parseInt(bi(e[3]||"f",2),16)/255]}const r=wi.exec(t);if(r){const e=Array.from(r).slice(1);return[...e.slice(0,3).map(e=>parseInt(e,16)),parseInt(e[3]||"ff",16)/255]}const o=xi.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 i=Si.exec(t);if(i){const[t,n,r,o]=Array.from(i).slice(1).map(parseFloat);if(fi(0,100,n)!==n)throw new hi(e);if(fi(0,100,r)!==r)throw new hi(e);return[...Ei(t,n,r),Number.isNaN(o)?1:o]}throw new hi(e)}const gi=e=>parseInt(e.replace(/_/g,""),36),vi="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 n=gi(t.substring(0,3)),r=gi(t.substring(3)).toString(16);let o="";for(let e=0;e<6-r.length;e++)o+="0";return e[n]=`${o}${r}`,e},{}),bi=(e,t)=>Array.from(Array(t)).map(()=>e).join(""),yi=new RegExp(`^#${bi("([a-f0-9])",3)}([a-f0-9])?$`,"i"),wi=new RegExp(`^#${bi("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),xi=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${bi(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),Si=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,ki=/^[a-z]+$/i,Ci=e=>Math.round(255*e),Ei=(e,t,n)=>{let r=n/100;if(0===t)return[r,r,r].map(Ci);const o=(e%360+360)%360/60,i=(1-Math.abs(2*r-1))*(t/100),a=i*(1-Math.abs(o%2-1));let l=0,s=0,u=0;o>=0&&o<1?(l=i,s=a):o>=1&&o<2?(l=a,s=i):o>=2&&o<3?(s=i,u=a):o>=3&&o<4?(s=a,u=i):o>=4&&o<5?(l=a,u=i):o>=5&&o<6&&(l=i,u=a);const c=r-i/2;return[l+c,s+c,u+c].map(Ci)};function _i(e,t){const[n,r,o,i]=mi(e);return function(e,t,n,r){return`rgba(${fi(0,255,e).toFixed()}, ${fi(0,255,t).toFixed()}, ${fi(0,255,n).toFixed()}, ${parseFloat(fi(0,1,r).toFixed(3))})`}(n,r,o,i-t)}const Oi=(e,t,n)=>{const r=function(e,t,n,r,o){for(t=t.split?t.split("."):t,r=0;r<t.length;r++)e=e?e[t[r]]:o;return e===o?n:e}(e,`colors.${t}`,t);try{return function(e){const[t,n,r,o]=mi(e);let i=e=>{const t=fi(0,255,e).toString(16);return 1===t.length?`0${t}`:t};i(t),i(n),i(r),o<1&&i(Math.round(255*o))}(r),r}catch{return n??"#000000"}},Pi=(e,t)=>n=>_i(Oi(n,e),1-t);function Ti(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:ji,defineMultiStyleConfig:Ri}=si(Do.keys),Ai=Zr("alert-fg"),zi=Zr("alert-bg"),Mi=ji({container:{bg:zi.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:Ai.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:Ai.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}});function Ii(e){const{theme:t,colorScheme:n}=e;return{light:`colors.${n}.100`,dark:Pi(`${n}.200`,.16)(t)}}const Li=ji(e=>{const{colorScheme:t}=e,n=Ii(e);return{container:{[Ai.variable]:`colors.${t}.600`,[zi.variable]:n.light,_dark:{[Ai.variable]:`colors.${t}.200`,[zi.variable]:n.dark}}}}),Fi=ji(e=>{const{colorScheme:t}=e,n=Ii(e);return{container:{[Ai.variable]:`colors.${t}.600`,[zi.variable]:n.light,_dark:{[Ai.variable]:`colors.${t}.200`,[zi.variable]:n.dark},paddingStart:"3",borderStartWidth:"4px",borderStartColor:Ai.reference}}}),Di=ji(e=>{const{colorScheme:t}=e,n=Ii(e);return{container:{[Ai.variable]:`colors.${t}.600`,[zi.variable]:n.light,_dark:{[Ai.variable]:`colors.${t}.200`,[zi.variable]:n.dark},pt:"2",borderTopWidth:"4px",borderTopColor:Ai.reference}}}),Vi=ji(e=>{const{colorScheme:t}=e;return{container:{[Ai.variable]:"colors.white",[zi.variable]:`colors.${t}.600`,_dark:{[Ai.variable]:"colors.gray.900",[zi.variable]:`colors.${t}.200`},color:Ai.reference}}}),Bi=Ri({baseStyle:Mi,variants:{subtle:Li,"left-accent":Fi,"top-accent":Di,solid:Vi},defaultProps:{variant:"subtle",colorScheme:"blue"}}),Ni={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"},$i={...Ni,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 Ui(e,...t){return"function"==typeof e?e(...t):e}const{definePartsStyle:Hi,defineMultiStyleConfig:Wi}=si(Vo.keys),qi=Zr("avatar-border-color"),Gi=Zr("avatar-bg"),Yi=Zr("avatar-font-size"),Xi=Zr("avatar-size"),Zi={borderRadius:"full",border:"0.2em solid",borderColor:qi.reference,[qi.variable]:"white",_dark:{[qi.variable]:"colors.gray.800"}},Ki={bg:Gi.reference,fontSize:Yi.reference,width:Xi.reference,height:Xi.reference,lineHeight:"1",[Gi.variable]:"colors.gray.200",_dark:{[Gi.variable]:"colors.whiteAlpha.400"}},Qi=e=>{const{name:t,theme:n}=e,r=t?function(e){const t=`#${Math.floor(16777215*Math.random()).toString(16).padEnd(6,"0")}`;return e&&(n=e,0!==Object.keys(n).length)?e.string&&e.colors?function(e,t){let n=0;if(0===e.length)return t[0];for(let t=0;t<e.length;t+=1)n=e.charCodeAt(t)+((n<<5)-n),n&=n;return n=(n%t.length+t.length)%t.length,t[n]}(e.string,e.colors):e.string&&!e.colors?function(e){let t=0;if(0===e.length)return t.toString();for(let n=0;n<e.length;n+=1)t=e.charCodeAt(n)+((t<<5)-t),t&=t;let n="#";for(let e=0;e<3;e+=1)n+=`00${(t>>8*e&255).toString(16)}`.substr(-2);return n}(e.string):e.colors&&!e.string?function(e){return e[Math.floor(Math.random()*e.length)]}(e.colors):t:t;var n}({string:t}):"colors.gray.400",o=(e=>t=>"dark"===(e=>t=>{const n=(e=>{const[t,n,r]=mi(e);return(299*t+587*n+114*r)/1e3})(Oi(t,e));return n<128?"dark":"light"})(e)(t))(r)(n);let i="white";return o||(i="gray.800"),{bg:Gi.reference,fontSize:Yi.reference,color:i,borderColor:qi.reference,verticalAlign:"top",width:Xi.reference,height:Xi.reference,"&:not([data-loaded])":{[Gi.variable]:r},[qi.variable]:"colors.white",_dark:{[qi.variable]:"colors.gray.800"}}},Ji={fontSize:Yi.reference,lineHeight:"1"};function ea(e){const t="100%"!==e?$i[e]:void 0;return Hi({container:{[Xi.variable]:t??e,[Yi.variable]:`calc(${t??e} / 2.5)`},excessLabel:{[Xi.variable]:t??e,[Yi.variable]:`calc(${t??e} / 2.5)`}})}const ta=Wi({baseStyle:Hi(e=>({badge:Ui(Zi,e),excessLabel:Ui(Ki,e),container:Ui(Qi,e),label:Ji})),sizes:{"2xs":ea(4),xs:ea(6),sm:ea(8),md:ea(12),lg:ea(16),xl:ea(24),"2xl":ea(32),full:ea("100%")},defaultProps:{size:"md"}}),na=function(e){const t={};for(const n of["bg","color","shadow"]){if(Array.isArray(n)){const[r,o]=n;t[r]=Zr(`${e}-${r}`,o);continue}t[n]=Zr(`${e}-${n}`)}return t}("badge"),ra={baseStyle:{px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold",bg:na.bg.reference,color:na.color.reference,boxShadow:na.shadow.reference},variants:{solid:e=>{const{colorScheme:t,theme:n}=e,r=Pi(`${t}.500`,.6)(n);return{[na.bg.variable]:`colors.${t}.500`,[na.color.variable]:"colors.white",_dark:{[na.bg.variable]:r,[na.color.variable]:"colors.whiteAlpha.800"}}},subtle:e=>{const{colorScheme:t,theme:n}=e,r=Pi(`${t}.200`,.16)(n);return{[na.bg.variable]:`colors.${t}.100`,[na.color.variable]:`colors.${t}.800`,_dark:{[na.bg.variable]:r,[na.color.variable]:`colors.${t}.200`}}},outline:e=>{const{colorScheme:t,theme:n}=e,r=Pi(`${t}.200`,.8)(n);return{[na.color.variable]:`colors.${t}.500`,_dark:{[na.color.variable]:r},[na.shadow.variable]:`inset 0 0 0px 1px ${na.color.reference}`}}},defaultProps:{variant:"subtle",colorScheme:"gray"}},{defineMultiStyleConfig:oa,definePartsStyle:ia}=si(Bo.keys),aa=Zr("breadcrumb-link-decor"),la=oa({baseStyle:ia({link:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",outline:"none",color:"inherit",textDecoration:aa.reference,[aa.variable]:"none","&:not([aria-current=page])":{cursor:"pointer",_hover:{[aa.variable]:"underline"},_focusVisible:{boxShadow:"outline"}}}})});function sa(e,t){return n=>"dark"===n.colorMode?t:e}function ua(e){const{orientation:t,vertical:n,horizontal:r}=e;return t?"vertical"===t?n:r:{}}const ca=e=>{const{colorScheme:t,theme:n}=e;if("gray"===t)return{color:sa("gray.800","whiteAlpha.900")(e),_hover:{bg:sa("gray.100","whiteAlpha.200")(e)},_active:{bg:sa("gray.200","whiteAlpha.300")(e)}};const r=Pi(`${t}.200`,.12)(n),o=Pi(`${t}.200`,.24)(n);return{color:sa(`${t}.600`,`${t}.200`)(e),bg:"transparent",_hover:{bg:sa(`${t}.50`,r)(e)},_active:{bg:sa(`${t}.100`,o)(e)}}},da={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},fa={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:ca,outline:e=>{const{colorScheme:t}=e,n=sa("gray.200","whiteAlpha.300")(e);return{border:"1px solid",borderColor:"gray"===t?n:"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"},...Ui(ca,e)}},solid:e=>{const{colorScheme:t}=e;if("gray"===t){const t=sa("gray.100","whiteAlpha.200")(e);return{bg:t,color:sa("gray.800","whiteAlpha.900")(e),_hover:{bg:sa("gray.200","whiteAlpha.300")(e),_disabled:{bg:t}},_active:{bg:sa("gray.300","whiteAlpha.400")(e)}}}const{bg:n=`${t}.500`,color:r="white",hoverBg:o=`${t}.600`,activeBg:i=`${t}.700`}=da[t]??{},a=sa(n,`${t}.200`)(e);return{bg:a,color:sa(r,"gray.800")(e),_hover:{bg:sa(o,`${t}.300`)(e),_disabled:{bg:a}},_active:{bg:sa(i,`${t}.400`)(e)}}},link:e=>{const{colorScheme:t}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:sa(`${t}.500`,`${t}.200`)(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:sa(`${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:pa,defineMultiStyleConfig:ha}=si(li.keys),ma=Zr("card-bg"),ga=Zr("card-padding"),va=Zr("card-shadow"),ba=Zr("card-radius"),ya=Zr("card-border-width","0"),wa=Zr("card-border-color"),xa=pa({container:{[ma.variable]:"colors.chakra-body-bg",backgroundColor:ma.reference,boxShadow:va.reference,borderRadius:ba.reference,color:"chakra-body-text",borderWidth:ya.reference,borderColor:wa.reference},body:{padding:ga.reference,flex:"1 1 0%"},header:{padding:ga.reference},footer:{padding:ga.reference}}),Sa={sm:pa({container:{[ba.variable]:"radii.base",[ga.variable]:"space.3"}}),md:pa({container:{[ba.variable]:"radii.md",[ga.variable]:"space.5"}}),lg:pa({container:{[ba.variable]:"radii.xl",[ga.variable]:"space.7"}})},ka=ha({baseStyle:xa,variants:{elevated:pa({container:{[va.variable]:"shadows.base",_dark:{[ma.variable]:"colors.gray.700"}}}),outline:pa({container:{[ya.variable]:"1px",[wa.variable]:"colors.chakra-border-color"}}),filled:pa({container:{[ma.variable]:"colors.chakra-subtle-bg"}}),unstyled:{body:{[ga.variable]:0},header:{[ga.variable]:0},footer:{[ga.variable]:0}}},sizes:Sa,defaultProps:{variant:"elevated",size:"md"}}),{definePartsStyle:Ca,defineMultiStyleConfig:Ea}=si(No.keys),_a=Zr("checkbox-size"),Oa=e=>{const{colorScheme:t}=e;return{w:_a.reference,h:_a.reference,transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:sa(`${t}.500`,`${t}.200`)(e),borderColor:sa(`${t}.500`,`${t}.200`)(e),color:sa("white","gray.900")(e),_hover:{bg:sa(`${t}.600`,`${t}.300`)(e),borderColor:sa(`${t}.600`,`${t}.300`)(e)},_disabled:{borderColor:sa("gray.200","transparent")(e),bg:sa("gray.200","whiteAlpha.300")(e),color:sa("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:sa(`${t}.500`,`${t}.200`)(e),borderColor:sa(`${t}.500`,`${t}.200`)(e),color:sa("white","gray.900")(e)},_disabled:{bg:sa("gray.100","whiteAlpha.100")(e),borderColor:sa("gray.100","transparent")(e)},_focusVisible:{boxShadow:"outline"},_invalid:{borderColor:sa("red.500","red.300")(e)}}},Pa={_disabled:{cursor:"not-allowed"}},Ta={userSelect:"none",_disabled:{opacity:.4}},ja={transitionProperty:"transform",transitionDuration:"normal"},Ra=Ea({baseStyle:Ca(e=>({icon:ja,container:Pa,control:Ui(Oa,e),label:Ta})),sizes:{sm:Ca({control:{[_a.variable]:"sizes.3"},label:{fontSize:"sm"},icon:{fontSize:"3xs"}}),md:Ca({control:{[_a.variable]:"sizes.4"},label:{fontSize:"md"},icon:{fontSize:"2xs"}}),lg:Ca({control:{[_a.variable]:"sizes.5"},label:{fontSize:"lg"},icon:{fontSize:"2xs"}})},defaultProps:{size:"md",colorScheme:"blue"}});function Aa(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 za(e,t){return`var(${Aa(e)}${t?`, ${t}`:""})`}function Ma(e,t){const n=function(e,t=""){return`--${function(e,t=""){return[t,Aa(e)].filter(Boolean).join("-")}(e,t)}`}(e,t?.prefix);return{variable:n,reference:za(n,(r=t?.fallback,"string"==typeof r?r:r?.reference))};var r}const Ia=Ma("close-button-size"),La=Ma("close-button-bg"),Fa={baseStyle:{w:[Ia.reference],h:[Ia.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{[La.variable]:"colors.blackAlpha.100",_dark:{[La.variable]:"colors.whiteAlpha.100"}},_active:{[La.variable]:"colors.blackAlpha.200",_dark:{[La.variable]:"colors.whiteAlpha.200"}},_focusVisible:{boxShadow:"outline"},bg:La.reference},sizes:{lg:{[Ia.variable]:"sizes.10",fontSize:"md"},md:{[Ia.variable]:"sizes.8",fontSize:"xs"},sm:{[Ia.variable]:"sizes.6",fontSize:"2xs"}},defaultProps:{size:"md"}},{variants:Da,defaultProps:Va}=ra,Ba={baseStyle:{fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm",bg:na.bg.reference,color:na.color.reference,boxShadow:na.shadow.reference},variants:Da,defaultProps:Va},{definePartsStyle:Na,defineMultiStyleConfig:$a}=si($o.keys),Ua=Zr("drawer-bg"),Ha=Zr("drawer-box-shadow");function Wa(e){return Na("full"===e?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}})}const qa={bg:"blackAlpha.600",zIndex:"modal"},Ga={display:"flex",zIndex:"modal",justifyContent:"center"},Ya=e=>{const{isFullHeight:t}=e;return{...t&&{height:"100vh"},zIndex:"modal",maxH:"100vh",color:"inherit",[Ua.variable]:"colors.white",[Ha.variable]:"shadows.lg",_dark:{[Ua.variable]:"colors.gray.700",[Ha.variable]:"shadows.dark-lg"},bg:Ua.reference,boxShadow:Ha.reference}},Xa={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},Za={position:"absolute",top:"2",insetEnd:"3"},Ka={px:"6",py:"2",flex:"1",overflow:"auto"},Qa={px:"6",py:"4"},Ja=$a({baseStyle:Na(e=>({overlay:qa,dialogContainer:Ga,dialog:Ui(Ya,e),header:Xa,closeButton:Za,body:Ka,footer:Qa})),sizes:{xs:Wa("xs"),sm:Wa("md"),md:Wa("lg"),lg:Wa("2xl"),xl:Wa("4xl"),full:Wa("full")},defaultProps:{size:"xs"}}),{definePartsStyle:el,defineMultiStyleConfig:tl}=si(Uo.keys),nl=tl({baseStyle:el({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:rl,defineMultiStyleConfig:ol}=si(Ho.keys),il=Zr("form-control-color"),al=ol({baseStyle:rl({container:{width:"100%",position:"relative"},requiredIndicator:{marginStart:"1",[il.variable]:"colors.red.500",_dark:{[il.variable]:"colors.red.300"},color:il.reference},helperText:{mt:"2",[il.variable]:"colors.gray.600",_dark:{[il.variable]:"colors.whiteAlpha.600"},color:il.reference,lineHeight:"normal",fontSize:"sm"}})}),{definePartsStyle:ll,defineMultiStyleConfig:sl}=si(Wo.keys),ul=Zr("form-error-color"),cl=sl({baseStyle:ll({text:{[ul.variable]:"colors.red.500",_dark:{[ul.variable]:"colors.red.300"},color:ul.reference,mt:"2",fontSize:"sm",lineHeight:"normal"},icon:{marginEnd:"0.5em",[ul.variable]:"colors.red.500",_dark:{[ul.variable]:"colors.red.300"},color:ul.reference}})}),{definePartsStyle:dl,defineMultiStyleConfig:fl}=si(qo.keys),pl=Zr("input-height"),hl=Zr("input-font-size"),ml=Zr("input-padding"),gl=Zr("input-border-radius"),vl=dl({addon:{height:pl.reference,fontSize:hl.reference,px:ml.reference,borderRadius:gl.reference},field:{width:"100%",height:pl.reference,fontSize:hl.reference,px:ml.reference,borderRadius:gl.reference,minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),bl={lg:{[hl.variable]:"fontSizes.lg",[ml.variable]:"space.4",[gl.variable]:"radii.md",[pl.variable]:"sizes.12"},md:{[hl.variable]:"fontSizes.md",[ml.variable]:"space.4",[gl.variable]:"radii.md",[pl.variable]:"sizes.10"},sm:{[hl.variable]:"fontSizes.sm",[ml.variable]:"space.3",[gl.variable]:"radii.sm",[pl.variable]:"sizes.8"},xs:{[hl.variable]:"fontSizes.xs",[ml.variable]:"space.2",[gl.variable]:"radii.sm",[pl.variable]:"sizes.6"}},yl={lg:dl({field:bl.lg,group:bl.lg}),md:dl({field:bl.md,group:bl.md}),sm:dl({field:bl.sm,group:bl.sm}),xs:dl({field:bl.xs,group:bl.xs})};function wl(e){const{focusBorderColor:t,errorBorderColor:n}=e;return{focusBorderColor:t||sa("blue.500","blue.300")(e),errorBorderColor:n||sa("red.500","red.300")(e)}}const xl=dl(e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=wl(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:sa("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Oi(t,r),boxShadow:`0 0 0 1px ${Oi(t,r)}`},_focusVisible:{zIndex:1,borderColor:Oi(t,n),boxShadow:`0 0 0 1px ${Oi(t,n)}`}},addon:{border:"1px solid",borderColor:sa("inherit","whiteAlpha.50")(e),bg:sa("gray.100","whiteAlpha.300")(e)}}}),Sl=dl(e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=wl(e);return{field:{border:"2px solid",borderColor:"transparent",bg:sa("gray.100","whiteAlpha.50")(e),_hover:{bg:sa("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Oi(t,r)},_focusVisible:{bg:"transparent",borderColor:Oi(t,n)}},addon:{border:"2px solid",borderColor:"transparent",bg:sa("gray.100","whiteAlpha.50")(e)}}}),kl=dl(e=>{const{theme:t}=e,{focusBorderColor:n,errorBorderColor:r}=wl(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Oi(t,r),boxShadow:`0px 1px 0px 0px ${Oi(t,r)}`},_focusVisible:{borderColor:Oi(t,n),boxShadow:`0px 1px 0px 0px ${Oi(t,n)}`}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}}),Cl=fl({baseStyle:vl,sizes:yl,variants:{outline:xl,filled:Sl,flushed:kl,unstyled:dl({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}})},defaultProps:{size:"md",variant:"outline"}}),El=Zr("kbd-bg"),_l={baseStyle:{[El.variable]:"colors.gray.100",_dark:{[El.variable]:"colors.whiteAlpha.100"},bg:El.reference,borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}},{defineMultiStyleConfig:Ol,definePartsStyle:Pl}=si(Go.keys),Tl=Ol({baseStyle:Pl({icon:{marginEnd:"2",display:"inline",verticalAlign:"text-bottom"}})}),{defineMultiStyleConfig:jl,definePartsStyle:Rl}=si(Yo.keys),Al=Zr("menu-bg"),zl=Zr("menu-shadow"),Ml=jl({baseStyle:Rl({button:{transitionProperty:"common",transitionDuration:"normal"},list:{[Al.variable]:"#fff",[zl.variable]:"shadows.sm",_dark:{[Al.variable]:"colors.gray.700",[zl.variable]:"shadows.dark-lg"},color:"inherit",minW:"3xs",py:"2",zIndex:"dropdown",borderRadius:"md",borderWidth:"1px",bg:Al.reference,boxShadow:zl.reference},item:{py:"1.5",px:"3",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{[Al.variable]:"colors.gray.100",_dark:{[Al.variable]:"colors.whiteAlpha.100"}},_active:{[Al.variable]:"colors.gray.200",_dark:{[Al.variable]:"colors.whiteAlpha.200"}},_expanded:{[Al.variable]:"colors.gray.100",_dark:{[Al.variable]:"colors.whiteAlpha.100"}},_disabled:{opacity:.4,cursor:"not-allowed"},bg:Al.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:Il,definePartsStyle:Ll}=si(Xo.keys),Fl=Zr("modal-bg"),Dl=Zr("modal-shadow"),Vl={bg:"blackAlpha.600",zIndex:"modal"},Bl=e=>{const{isCentered:t,scrollBehavior:n}=e;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:t?"center":"flex-start",overflow:"inside"===n?"hidden":"auto",overscrollBehaviorY:"none"}},Nl=e=>{const{isCentered:t,scrollBehavior:n}=e;return{borderRadius:"md",color:"inherit",my:t?"auto":"16",mx:t?"auto":void 0,zIndex:"modal",maxH:"inside"===n?"calc(100% - 7.5rem)":void 0,[Fl.variable]:"colors.white",[Dl.variable]:"shadows.lg",_dark:{[Fl.variable]:"colors.gray.700",[Dl.variable]:"shadows.dark-lg"},bg:Fl.reference,boxShadow:Dl.reference}},$l={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},Ul={position:"absolute",top:"2",insetEnd:"3"},Hl=e=>{const{scrollBehavior:t}=e;return{px:"6",py:"2",flex:"1",overflow:"inside"===t?"auto":void 0}},Wl={px:"6",py:"4"};function ql(e){return Ll("full"===e?{dialog:{maxW:"100vw",minH:"$100vh",my:"0",borderRadius:"0"}}:{dialog:{maxW:e}})}const Gl=Il({baseStyle:Ll(e=>({overlay:Vl,dialogContainer:Ui(Bl,e),dialog:Ui(Nl,e),header:$l,closeButton:Ul,body:Ui(Hl,e),footer:Wl})),sizes:{xs:ql("xs"),sm:ql("sm"),md:ql("md"),lg:ql("lg"),xl:ql("xl"),"2xl":ql("2xl"),"3xl":ql("3xl"),"4xl":ql("4xl"),"5xl":ql("5xl"),"6xl":ql("6xl"),full:ql("full")},defaultProps:{size:"md"}});function Yl(e){return Le(e)&&e.reference?e.reference:String(e)}const Xl=(e,...t)=>t.map(Yl).join(` ${e} `).replace(/calc/g,""),Zl=(...e)=>`calc(${Xl("+",...e)})`,Kl=(...e)=>`calc(${Xl("-",...e)})`,Ql=(...e)=>`calc(${Xl("*",...e)})`,Jl=(...e)=>`calc(${Xl("/",...e)})`,es=e=>{const t=Yl(e);return null==t||Number.isNaN(parseFloat(t))?Ql(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},ts=Object.assign(e=>({add:(...t)=>ts(Zl(e,...t)),subtract:(...t)=>ts(Kl(e,...t)),multiply:(...t)=>ts(Ql(e,...t)),divide:(...t)=>ts(Jl(e,...t)),negate:()=>ts(es(e)),toString:()=>e.toString()}),{add:Zl,subtract:Kl,multiply:Ql,divide:Jl,negate:es}),ns={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:rs,definePartsStyle:os}=si(Zo.keys),is=Ma("number-input-stepper-width"),as=Ma("number-input-input-padding"),ls=ts(is).add("0.5rem").toString(),ss=Ma("number-input-bg"),us=Ma("number-input-color"),cs=Ma("number-input-border-color"),ds={[is.variable]:"sizes.6",[as.variable]:ls},fs=e=>Ui(Cl.baseStyle,e)?.field??{},ps={width:is.reference},hs={borderStart:"1px solid",borderStartColor:cs.reference,color:us.reference,bg:ss.reference,[us.variable]:"colors.chakra-body-text",[cs.variable]:"colors.chakra-border-color",_dark:{[us.variable]:"colors.whiteAlpha.800",[cs.variable]:"colors.whiteAlpha.300"},_active:{[ss.variable]:"colors.gray.200",_dark:{[ss.variable]:"colors.whiteAlpha.300"}},_disabled:{opacity:.4,cursor:"not-allowed"}};function ms(e){const t=Cl.sizes?.[e],n={lg:"md",md:"md",sm:"sm",xs:"sm"},r=t.field?.fontSize??"md",o=ns.fontSizes[r];return os({field:{...t.field,paddingInlineEnd:as.reference,verticalAlign:"top"},stepper:{fontSize:ts(o).multiply(.75).toString(),_first:{borderTopEndRadius:n[e]},_last:{borderBottomEndRadius:n[e],mt:"-1px",borderTopWidth:1}}})}const gs=rs({baseStyle:os(e=>({root:ds,field:Ui(fs,e)??{},stepperGroup:ps,stepper:hs})),sizes:{xs:ms("xs"),sm:ms("sm"),md:ms("md"),lg:ms("lg")},variants:Cl.variants,defaultProps:Cl.defaultProps}),vs={baseStyle:{...Cl.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=>Ui(Cl.variants?.outline,e)?.field??{},flushed:e=>Ui(Cl.variants?.flushed,e)?.field??{},filled:e=>Ui(Cl.variants?.filled,e)?.field??{},unstyled:Cl.variants?.unstyled.field??{}},defaultProps:Cl.defaultProps},{defineMultiStyleConfig:bs,definePartsStyle:ys}=si(Ko.keys),ws=Ma("popper-bg"),xs=Ma("popper-arrow-bg"),Ss=Ma("popper-arrow-shadow-color"),ks=bs({baseStyle:ys({popper:{zIndex:"popover"},content:{[ws.variable]:"colors.white",bg:ws.reference,[xs.variable]:ws.reference,[Ss.variable]:"colors.gray.200",_dark:{[ws.variable]:"colors.gray.700",[Ss.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:Cs,definePartsStyle:Es}=si(Qo.keys),_s=e=>{const{colorScheme:t,theme:n,isIndeterminate:r,hasStripe:o}=e,i=sa(Ti(),Ti("1rem","rgba(0,0,0,0.1)"))(e),a=sa(`${t}.500`,`${t}.200`)(e),l=`linear-gradient(\n to right,\n transparent 0%,\n ${Oi(n,a)} 50%,\n transparent 100%\n )`;return{...!r&&o&&i,...r?{bgImage:l}:{bgColor:a}}},Os={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},Ps=e=>({bg:sa("gray.100","whiteAlpha.300")(e)}),Ts=e=>({transitionProperty:"common",transitionDuration:"slow",..._s(e)}),js=Es(e=>({label:Os,filledTrack:Ts(e),track:Ps(e)})),Rs=Cs({sizes:{xs:Es({track:{h:"1"}}),sm:Es({track:{h:"2"}}),md:Es({track:{h:"3"}}),lg:Es({track:{h:"4"}})},baseStyle:js,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:As,definePartsStyle:zs}=si(Jo.keys),Ms=e=>{const t=Ui(Ra.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"}}}},Is=As({baseStyle:zs(e=>({label:Ra.baseStyle?.(e).label,container:Ra.baseStyle?.(e).container,control:Ms(e)})),sizes:{md:zs({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:zs({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:zs({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Ls,definePartsStyle:Fs}=si(ei.keys),Ds=Zr("select-bg"),Vs={paddingInlineEnd:"8"},Bs=Ls({baseStyle:Fs({field:{...Cl.baseStyle?.field,appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:Ds.reference,[Ds.variable]:"colors.white",_dark:{[Ds.variable]:"colors.gray.700"},"> option, > optgroup":{bg:Ds.reference}},icon:{width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}}}),sizes:{lg:{...Cl.sizes?.lg,field:{...Cl.sizes?.lg.field,...Vs}},md:{...Cl.sizes?.md,field:{...Cl.sizes?.md.field,...Vs}},sm:{...Cl.sizes?.sm,field:{...Cl.sizes?.sm.field,...Vs}},xs:{...Cl.sizes?.xs,field:{...Cl.sizes?.xs.field,...Vs},icon:{insetEnd:"1"}}},variants:Cl.variants,defaultProps:Cl.defaultProps}),Ns=Zr("skeleton-start-color"),$s=Zr("skeleton-end-color"),Us={baseStyle:{[Ns.variable]:"colors.gray.100",[$s.variable]:"colors.gray.400",_dark:{[Ns.variable]:"colors.gray.800",[$s.variable]:"colors.gray.600"},background:Ns.reference,borderColor:$s.reference,opacity:.7,borderRadius:"sm"}},Hs=Zr("skip-link-bg"),Ws={baseStyle:{borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",[Hs.variable]:"colors.white",_dark:{[Hs.variable]:"colors.gray.700"},bg:Hs.reference}}},{defineMultiStyleConfig:qs,definePartsStyle:Gs}=si(ti.keys),Ys=Zr("slider-thumb-size"),Xs=Zr("slider-track-size"),Zs=Zr("slider-bg"),Ks=e=>{const{orientation:t}=e;return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...ua({orientation:t,vertical:{h:"100%",px:Gr(Ys.reference).divide(2).toString()},horizontal:{w:"100%",py:Gr(Ys.reference).divide(2).toString()}})}},Qs=e=>({...ua({orientation:e.orientation,horizontal:{h:Xs.reference},vertical:{w:Xs.reference}}),overflow:"hidden",borderRadius:"sm",[Zs.variable]:"colors.gray.200",_dark:{[Zs.variable]:"colors.whiteAlpha.200"},_disabled:{[Zs.variable]:"colors.gray.300",_dark:{[Zs.variable]:"colors.whiteAlpha.300"}},bg:Zs.reference}),Js=e=>{const{orientation:t}=e;return{...ua({orientation:t,vertical:{left:"50%"},horizontal:{top:"50%"}}),w:Ys.reference,h:Ys.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"},_active:{"--slider-thumb-scale":"1.15"},_disabled:{bg:"gray.300"}}},eu=e=>{const{colorScheme:t}=e;return{width:"inherit",height:"inherit",[Zs.variable]:`colors.${t}.500`,_dark:{[Zs.variable]:`colors.${t}.200`},bg:Zs.reference}},tu=qs({baseStyle:Gs(e=>({container:Ks(e),track:Qs(e),thumb:Js(e),filledTrack:eu(e)})),sizes:{lg:Gs({container:{[Ys.variable]:"sizes.4",[Xs.variable]:"sizes.1"}}),md:Gs({container:{[Ys.variable]:"sizes.3.5",[Xs.variable]:"sizes.1"}}),sm:Gs({container:{[Ys.variable]:"sizes.2.5",[Xs.variable]:"sizes.0.5"}})},defaultProps:{size:"md",colorScheme:"blue"}}),nu=Ma("spinner-size"),ru={baseStyle:{width:[nu.reference],height:[nu.reference]},sizes:{xs:{[nu.variable]:"sizes.3"},sm:{[nu.variable]:"sizes.4"},md:{[nu.variable]:"sizes.6"},lg:{[nu.variable]:"sizes.8"},xl:{[nu.variable]:"sizes.12"}},defaultProps:{size:"md"}},{defineMultiStyleConfig:ou,definePartsStyle:iu}=si(ni.keys),au=ou({baseStyle:iu({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:iu({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},defaultProps:{size:"md"}}),{defineMultiStyleConfig:lu,definePartsStyle:su}=si(["stepper","step","title","description","indicator","separator","icon","number"]),uu=Zr("stepper-indicator-size"),cu=Zr("stepper-icon-size"),du=Zr("stepper-title-font-size"),fu=Zr("stepper-description-font-size"),pu=Zr("stepper-accent-color"),hu=su(({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"},[pu.variable]:`colors.${e}.500`,_dark:{[pu.variable]:`colors.${e}.200`}},title:{fontSize:du.reference,fontWeight:"medium"},description:{fontSize:fu.reference,color:"chakra-subtle-text"},number:{fontSize:du.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:cu.reference,height:cu.reference},indicator:{flexShrink:0,borderRadius:"full",width:uu.reference,height:uu.reference,display:"flex",justifyContent:"center",alignItems:"center","&[data-status=active]":{borderWidth:"2px",borderColor:pu.reference},"&[data-status=complete]":{bg:pu.reference,color:"chakra-inverse-text"},"&[data-status=incomplete]":{borderWidth:"2px"}},separator:{bg:"chakra-border-color",flex:"1","&[data-status=complete]":{bg:pu.reference},"&[data-orientation=horizontal]":{width:"100%",height:"2px",marginStart:"2"},"&[data-orientation=vertical]":{width:"2px",position:"absolute",height:"100%",maxHeight:`calc(100% - ${uu.reference} - 8px)`,top:`calc(${uu.reference} + 4px)`,insetStart:`calc(${uu.reference} / 2 - 1px)`}}})),mu=lu({baseStyle:hu,sizes:{xs:su({stepper:{[uu.variable]:"sizes.4",[cu.variable]:"sizes.3",[du.variable]:"fontSizes.xs",[fu.variable]:"fontSizes.xs"}}),sm:su({stepper:{[uu.variable]:"sizes.6",[cu.variable]:"sizes.4",[du.variable]:"fontSizes.sm",[fu.variable]:"fontSizes.xs"}}),md:su({stepper:{[uu.variable]:"sizes.8",[cu.variable]:"sizes.5",[du.variable]:"fontSizes.md",[fu.variable]:"fontSizes.sm"}}),lg:su({stepper:{[uu.variable]:"sizes.10",[cu.variable]:"sizes.6",[du.variable]:"fontSizes.lg",[fu.variable]:"fontSizes.md"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:gu,definePartsStyle:vu}=si(ri.keys),bu=Ma("switch-track-width"),yu=Ma("switch-track-height"),wu=Ma("switch-track-diff"),xu=ts.subtract(bu,yu),Su=Ma("switch-thumb-x"),ku=Ma("switch-bg"),Cu=e=>{const{colorScheme:t}=e;return{borderRadius:"full",p:"0.5",width:[bu.reference],height:[yu.reference],transitionProperty:"common",transitionDuration:"fast",[ku.variable]:"colors.gray.300",_dark:{[ku.variable]:"colors.whiteAlpha.400"},_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{[ku.variable]:`colors.${t}.500`,_dark:{[ku.variable]:`colors.${t}.200`}},bg:ku.reference}},Eu={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[yu.reference],height:[yu.reference],_checked:{transform:`translateX(${Su.reference})`}},_u=gu({baseStyle:vu(e=>({container:{[wu.variable]:xu,[Su.variable]:wu.reference,_rtl:{[Su.variable]:ts(wu).negate().toString()}},track:Cu(e),thumb:Eu})),sizes:{sm:vu({container:{[bu.variable]:"1.375rem",[yu.variable]:"sizes.3"}}),md:vu({container:{[bu.variable]:"1.875rem",[yu.variable]:"sizes.4"}}),lg:vu({container:{[bu.variable]:"2.875rem",[yu.variable]:"sizes.6"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Ou,definePartsStyle:Pu}=si(oi.keys),Tu=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"}}),ju={"&[data-is-numeric=true]":{textAlign:"end"}},Ru=Pu(e=>{const{colorScheme:t}=e;return{th:{color:sa("gray.600","gray.400")(e),borderBottom:"1px",borderColor:sa(`${t}.100`,`${t}.700`)(e),...ju},td:{borderBottom:"1px",borderColor:sa(`${t}.100`,`${t}.700`)(e),...ju},caption:{color:sa("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),Au=Pu(e=>{const{colorScheme:t}=e;return{th:{color:sa("gray.600","gray.400")(e),borderBottom:"1px",borderColor:sa(`${t}.100`,`${t}.700`)(e),...ju},td:{borderBottom:"1px",borderColor:sa(`${t}.100`,`${t}.700`)(e),...ju},caption:{color:sa("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:sa(`${t}.100`,`${t}.700`)(e)},td:{background:sa(`${t}.100`,`${t}.700`)(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),zu=Ou({baseStyle:Tu,variants:{simple:Ru,striped:Au,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"}}),Mu=Zr("tabs-color"),Iu=Zr("tabs-bg"),Lu=Zr("tabs-border-color"),{defineMultiStyleConfig:Fu,definePartsStyle:Du}=si(ii.keys),Vu=e=>{const{orientation:t}=e;return{display:"vertical"===t?"flex":"block"}},Bu=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}}},Nu=e=>{const{align:t="start",orientation:n}=e;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[t],flexDirection:"vertical"===n?"column":"row"}},$u={p:4},Uu=Du(e=>({root:Vu(e),tab:Bu(e),tablist:Nu(e),tabpanel:$u})),Hu={sm:Du({tab:{py:1,px:4,fontSize:"sm"}}),md:Du({tab:{fontSize:"md",py:2,px:4}}),lg:Du({tab:{fontSize:"lg",py:3,px:4}})},Wu=Du(e=>{const{colorScheme:t,orientation:n}=e,r="vertical"===n,o=r?"borderStart":"borderBottom",i=r?"marginStart":"marginBottom";return{tablist:{[o]:"2px solid",borderColor:"inherit"},tab:{[o]:"2px solid",borderColor:"transparent",[i]:"-2px",_selected:{[Mu.variable]:`colors.${t}.600`,_dark:{[Mu.variable]:`colors.${t}.300`},borderColor:"currentColor"},_active:{[Iu.variable]:"colors.gray.200",_dark:{[Iu.variable]:"colors.whiteAlpha.300"}},_disabled:{_active:{bg:"none"}},color:Mu.reference,bg:Iu.reference}}}),qu=Du(e=>{const{colorScheme:t}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",[Lu.variable]:"transparent",_selected:{[Mu.variable]:`colors.${t}.600`,[Lu.variable]:"colors.white",_dark:{[Mu.variable]:`colors.${t}.300`,[Lu.variable]:"colors.gray.800"},borderColor:"inherit",borderBottomColor:Lu.reference},color:Mu.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),Gu=Du(e=>{const{colorScheme:t}=e;return{tab:{border:"1px solid",borderColor:"inherit",[Iu.variable]:"colors.gray.50",_dark:{[Iu.variable]:"colors.whiteAlpha.50"},mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{[Iu.variable]:"colors.white",[Mu.variable]:`colors.${t}.600`,_dark:{[Iu.variable]:"colors.gray.800",[Mu.variable]:`colors.${t}.300`},borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"},color:Mu.reference,bg:Iu.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),Yu=Du(e=>{const{colorScheme:t,theme:n}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:Oi(n,`${t}.700`),bg:Oi(n,`${t}.100`)}}}}),Xu=Du(e=>{const{colorScheme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",[Mu.variable]:"colors.gray.600",_dark:{[Mu.variable]:"inherit"},_selected:{[Mu.variable]:"colors.white",[Iu.variable]:`colors.${t}.600`,_dark:{[Mu.variable]:"colors.gray.800",[Iu.variable]:`colors.${t}.300`}},color:Mu.reference,bg:Iu.reference}}}),Zu=Fu({baseStyle:Uu,sizes:Hu,variants:{line:Wu,enclosed:qu,"enclosed-colored":Gu,"soft-rounded":Yu,"solid-rounded":Xu,unstyled:Du({})},defaultProps:{size:"md",variant:"line",colorScheme:"blue"}}),{defineMultiStyleConfig:Ku,definePartsStyle:Qu}=si(ai.keys),Ju=Zr("tag-bg"),ec=Zr("tag-color"),tc=Zr("tag-shadow"),nc=Zr("tag-min-height"),rc=Zr("tag-min-width"),oc=Zr("tag-font-size"),ic=Zr("tag-padding-inline"),ac=Qu({container:{fontWeight:"medium",lineHeight:1.2,outline:0,[ec.variable]:na.color.reference,[Ju.variable]:na.bg.reference,[tc.variable]:na.shadow.reference,color:ec.reference,bg:Ju.reference,boxShadow:tc.reference,borderRadius:"md",minH:nc.reference,minW:rc.reference,fontSize:oc.reference,px:ic.reference,_focusVisible:{[tc.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}}}),lc={sm:Qu({container:{[nc.variable]:"sizes.5",[rc.variable]:"sizes.5",[oc.variable]:"fontSizes.xs",[ic.variable]:"space.2"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}}),md:Qu({container:{[nc.variable]:"sizes.6",[rc.variable]:"sizes.6",[oc.variable]:"fontSizes.sm",[ic.variable]:"space.2"}}),lg:Qu({container:{[nc.variable]:"sizes.8",[rc.variable]:"sizes.8",[oc.variable]:"fontSizes.md",[ic.variable]:"space.3"}})},sc=Ku({variants:{subtle:Qu(e=>({container:ra.variants?.subtle(e)})),solid:Qu(e=>({container:ra.variants?.solid(e)})),outline:Qu(e=>({container:ra.variants?.outline(e)}))},baseStyle:ac,sizes:lc,defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}}),uc={...Cl.baseStyle?.field,paddingY:"2",minHeight:"20",lineHeight:"short",verticalAlign:"top"},cc={outline:e=>Cl.variants?.outline(e).field??{},flushed:e=>Cl.variants?.flushed(e).field??{},filled:e=>Cl.variants?.filled(e).field??{},unstyled:Cl.variants?.unstyled.field??{}},dc={baseStyle:uc,sizes:{xs:Cl.sizes?.xs.field??{},sm:Cl.sizes?.sm.field??{},md:Cl.sizes?.md.field??{},lg:Cl.sizes?.lg.field??{}},variants:cc,defaultProps:{size:"md",variant:"outline"}},fc=Ma("tooltip-bg"),pc=Ma("tooltip-fg"),hc=Ma("popper-arrow-bg"),mc={bg:fc.reference,color:pc.reference,[fc.variable]:"colors.gray.700",[pc.variable]:"colors.whiteAlpha.900",_dark:{[fc.variable]:"colors.gray.300",[pc.variable]:"colors.gray.900"},[hc.variable]:fc.reference,px:"2",py:"0.5",borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"xs",zIndex:"tooltip"},gc={Accordion:di,Alert:Bi,Avatar:ta,Badge:ra,Breadcrumb:la,Button:fa,Checkbox:Ra,CloseButton:Fa,Code:Ba,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:Ja,Editable:nl,Form:al,FormError:cl,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:Cl,Kbd:_l,Link:{baseStyle:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}}},List:Tl,Menu:Ml,Modal:Gl,NumberInput:gs,PinInput:vs,Popover:ks,Progress:Rs,Radio:Is,Select:Bs,Skeleton:Us,SkipLink:Ws,Slider:tu,Spinner:ru,Stat:au,Switch:_u,Table:zu,Tabs:Zu,Tag:sc,Textarea:dc,Tooltip:{baseStyle:mc},Card:ka,Stepper:mu},vc={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"}},...ns,sizes:$i,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:Ni,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:gc,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"}},bc="chakra-ui-light",yc="chakra-ui-dark",wc="chakra-ui-color-mode",xc=(Sc=wc,{ssr:!1,type:"localStorage",get(e){if(!globalThis?.document)return e;let t;try{t=localStorage.getItem(Sc)||e}catch(e){}return t||e},set(e){try{localStorage.setItem(Sc,e)}catch(e){}}});var Sc;const kc=()=>{},Cc=Boolean(globalThis?.document)?B.useLayoutEffect:B.useEffect;function Ec(e,t){return"cookie"===e.type&&e.ssr?e.get(t):t}const _c=function(e){const{value:t,children:n,options:{useSystemColorMode:r,initialColorMode:o,disableTransitionOnChange:i}={},colorModeManager:a=xc}=e,l=(0,B.useContext)(tr),s="dark"===o?"dark":"light",[u,c]=(0,B.useState)(()=>Ec(a,s)),[d,f]=(0,B.useState)(()=>Ec(a)),{getSystemTheme:p,setClassName:h,setDataset:m,addListener:g}=(0,B.useMemo)(()=>function(e={}){const{preventTransition:t=!0,nonce:n}=e,r={setDataset:e=>{const n=t?r.preventTransition():void 0;document.documentElement.dataset.theme=e,document.documentElement.style.colorScheme=e,n?.()},setClassName(e){document.body.classList.add(e?yc:bc),document.body.classList.remove(e?bc:yc)},query:()=>window.matchMedia("(prefers-color-scheme: dark)"),getSystemTheme:e=>r.query().matches??"dark"===e?"dark":"light",addListener(e){const t=r.query(),n=t=>{e(t.matches?"dark":"light")};return"function"==typeof t.addListener?t.addListener(n):t.addEventListener("change",n),()=>{"function"==typeof t.removeListener?t.removeListener(n):t.removeEventListener("change",n)}},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!==n&&(e.nonce=n),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),requestAnimationFrame(()=>{requestAnimationFrame(()=>{document.head.removeChild(e)})})}}};return r}({preventTransition:i,nonce:l?.nonce}),[i,l?.nonce]),v="system"!==o||u?u:d,b=(0,B.useCallback)(e=>{const t="system"===e?p():e;c(t),h("dark"===t),m(t),a.set(t)},[a,p,h,m]);Cc(()=>{"system"===o&&f(p())},[]),(0,B.useEffect)(()=>{const e=a.get();b(e||("system"!==o?s:"system"))},[a,s,o,b]);const y=(0,B.useCallback)(()=>{b("dark"===v?"light":"dark")},[v,b]);(0,B.useEffect)(()=>{if(r)return g(b)},[r,g,b]);const w=(0,B.useMemo)(()=>({colorMode:t??v,toggleColorMode:t?kc:y,setColorMode:t?kc:b,forced:void 0!==t}),[v,y,b,t]);return(0,Pr.jsx)(xr.Provider,{value:w,children:n})};_c.displayName="ColorModeProvider";const Oc=String.raw,Pc=Oc` :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; } } `,Tc=()=>(0,Pr.jsx)(ao,{styles:Pc}),jc=({scope:e=""})=>(0,Pr.jsx)(ao,{styles:Oc` 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} `}),[Rc,Ac]=to({strict:!1,name:"PortalManagerContext"});function zc(e){const{children:t,zIndex:n}=e;return(0,Pr.jsx)(Rc,{value:{zIndex:n},children:t})}zc.displayName="PortalManager";const Mc=(0,B.createContext)({getDocument:()=>document,getWindow:()=>window});function Ic(e){const{children:t,environment:n,disabled:r}=e,o=(0,B.useRef)(null),i=(0,B.useMemo)(()=>n||{getDocument:()=>o.current?.ownerDocument??document,getWindow:()=>o.current?.ownerDocument.defaultView??window},[n]),a=!r||!n;return(0,Pr.jsxs)(Mc.Provider,{value:i,children:[t,a&&(0,Pr.jsx)("span",{id:"__chakra_env",hidden:!0,ref:o})]})}Mc.displayName="EnvironmentContext",Ic.displayName="EnvironmentProvider";const Lc=e=>{const{children:t,colorModeManager:n,portalZIndex:r,resetScope:o,resetCSS:i=!0,theme:a={},environment:l,cssVarsRoot:s,disableEnvironment:u,disableGlobalStyle:c}=e,d=(0,Pr.jsx)(Ic,{environment:l,disabled:u,children:t});return(0,Pr.jsx)(uo,{theme:a,cssVarsRoot:s,children:(0,Pr.jsxs)(_c,{colorModeManager:n,options:a.config,children:[i?(0,Pr.jsx)(jc,{scope:o}):(0,Pr.jsx)(Tc,{}),!c&&(0,Pr.jsx)(ho,{}),r?(0,Pr.jsx)(zc,{zIndex:r,children:d}):d]})})};var Fc=function(e,t){return Fc=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},Fc(e,t)};function Dc(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Fc(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var Vc=function(){return Vc=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Vc.apply(this,arguments)};function Bc(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function Nc(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function $c(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;const Uc=1/60*1e3,Hc="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),Wc="undefined"!=typeof window?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(Hc()),Uc);let qc=!0,Gc=!1,Yc=!1;const Xc={delta:0,timestamp:0},Zc=["read","update","preRender","render","postRender"],Kc=Zc.reduce((e,t)=>(e[t]=function(e){let t=[],n=[],r=0,o=!1,i=!1;const a=new WeakSet,l={schedule:(e,i=!1,l=!1)=>{const s=l&&o,u=s?t:n;return i&&a.add(e),-1===u.indexOf(e)&&(u.push(e),s&&o&&(r=t.length)),e},cancel:e=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1),a.delete(e)},process:s=>{if(o)i=!0;else{if(o=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let n=0;n<r;n++){const r=t[n];r(s),a.has(r)&&(l.schedule(r),e())}o=!1,i&&(i=!1,l.process(s))}}};return l}(()=>Gc=!0),e),{}),Qc=Zc.reduce((e,t)=>{const n=Kc[t];return e[t]=(e,t=!1,r=!1)=>(Gc||rd(),n.schedule(e,t,r)),e},{}),Jc=Zc.reduce((e,t)=>(e[t]=Kc[t].cancel,e),{}),ed=Zc.reduce((e,t)=>(e[t]=()=>Kc[t].process(Xc),e),{}),td=e=>Kc[e].process(Xc),nd=e=>{Gc=!1,Xc.delta=qc?Uc:Math.max(Math.min(e-Xc.timestamp,40),1),Xc.timestamp=e,Yc=!0,Zc.forEach(td),Yc=!1,Gc&&(qc=!1,Wc(nd))},rd=()=>{Gc=!0,qc=!0,Yc||Wc(nd)},od=()=>Xc,id=Qc;function ad(e){return(0,B.useEffect)(function(){return function(){return e()}},[])}var ld=(0,B.createContext)(null);function sd(e){var t=(0,B.useRef)(null);return null===t.current&&(t.current=e()),t.current}var ud=0;function cd(){var e=ud;return ud++,e}var dd=function(e){var t=e.children,n=e.initial,r=e.isPresent,o=e.onExitComplete,i=e.custom,a=e.presenceAffectsLayout,l=sd(fd),s=sd(cd),u=(0,B.useMemo)(function(){return{id:s,initial:n,isPresent:r,custom:i,onExitComplete:function(e){var t,n;l.set(e,!0);try{for(var r=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(l.values()),i=r.next();!i.done;i=r.next())if(!i.value)return}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}null==o||o()},register:function(e){return l.set(e,!1),function(){return l.delete(e)}}}},a?void 0:[r]);return(0,B.useMemo)(function(){l.forEach(function(e,t){return l.set(t,!1)})},[r]),B.useEffect(function(){!r&&!l.size&&(null==o||o())},[r]),B.createElement(ld.Provider,{value:u},t)};function fd(){return new Map}var pd=(0,B.createContext)({});function hd(e){return e.key||""}var md=function(e){var t=e.children,n=e.custom,r=e.initial,o=void 0===r||r,i=e.onExitComplete,a=e.exitBeforeEnter,l=e.presenceAffectsLayout,s=void 0===l||l,u=Nc(function(){var e=(0,B.useRef)(!1),t=Nc((0,B.useState)(0),2),n=t[0],r=t[1];ad(function(){return e.current=!0});var o=(0,B.useCallback)(function(){!e.current&&r(n+1)},[n]);return[(0,B.useCallback)(function(){return id.postRender(o)},[o]),n]}(),1),c=u[0],d=(0,B.useContext)(pd).forceRender;d&&(c=d);var f=(0,B.useRef)(!0),p=(0,B.useRef)(!0);(0,B.useEffect)(function(){return function(){p.current=!1}},[]);var h=function(e){var t=[];return B.Children.forEach(e,function(e){(0,B.isValidElement)(e)&&t.push(e)}),t}(t),m=(0,B.useRef)(h),g=(0,B.useRef)(new Map).current,v=(0,B.useRef)(new Set).current;if(function(e,t){e.forEach(function(e){var n=hd(e);t.set(n,e)})}(h,g),f.current)return f.current=!1,B.createElement(B.Fragment,null,h.map(function(e){return B.createElement(dd,{key:hd(e),isPresent:!0,initial:!!o&&void 0,presenceAffectsLayout:s},e)}));for(var b=$c([],Nc(h),!1),y=m.current.map(hd),w=h.map(hd),x=y.length,S=0;S<x;S++){var k=y[S];-1===w.indexOf(k)?v.add(k):v.delete(k)}return a&&v.size&&(b=[]),v.forEach(function(e){if(-1===w.indexOf(e)){var t=g.get(e);if(t){var r=y.indexOf(e);b.splice(r,0,B.createElement(dd,{key:hd(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(),i&&i()}},custom:n,presenceAffectsLayout:s},t))}}}),b=b.map(function(e){var t=e.key;return v.has(t)?e:B.createElement(dd,{key:hd(e),isPresent:!0,presenceAffectsLayout:s},e)}),m.current=b,B.createElement(B.Fragment,null,v.size?b:b.map(function(e){return(0,B.cloneElement)(e)}))};const gd=(e,t)=>{const n=(0,B.useRef)(!1),r=(0,B.useRef)(!1);(0,B.useEffect)(()=>{if(n.current&&r.current)return e();r.current=!0},t),(0,B.useEffect)(()=>(n.current=!0,()=>{n.current=!1}),[])};function vd(){var e=(0,B.useContext)(ld);if(null===e)return[!0,null];var t=e.isPresent,n=e.onExitComplete,r=e.register,o=wd();return(0,B.useEffect)(function(){return r(o)},[]),!t&&n?[!1,function(){return null==n?void 0:n(o)}]:[!0]}var bd=0,yd=function(){return bd++},wd=function(){return sd(yd)},xd=function(e){return{isEnabled:function(t){return e.some(function(e){return!!t[e]})}}},Sd={measureLayout:xd(["layout","layoutId","drag"]),animation:xd(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:xd(["exit"]),drag:xd(["drag","dragControls"]),focus:xd(["whileFocus"]),hover:xd(["whileHover","onHoverStart","onHoverEnd"]),tap:xd(["whileTap","onTap","onTapStart","onTapCancel"]),pan:xd(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:xd(["whileInView","onViewportEnter","onViewportLeave"])},kd=(0,B.createContext)({strict:!1}),Cd=Object.keys(Sd),Ed=Cd.length,_d=(0,B.createContext)({transformPagePoint:function(e){return e},isStatic:!1}),Od=(0,B.createContext)({}),Pd="undefined"!=typeof window,Td=Pd?B.useLayoutEffect:B.useEffect;function jd(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function Rd(e){return Array.isArray(e)}function Ad(e){return"string"==typeof e||Rd(e)}function zd(e,t,n,r,o){var i;return void 0===r&&(r={}),void 0===o&&(o={}),"function"==typeof t&&(t=t(null!=n?n:e.custom,r,o)),"string"==typeof t&&(t=null===(i=e.variants)||void 0===i?void 0:i[t]),"function"==typeof t&&(t=t(null!=n?n:e.custom,r,o)),t}function Md(e,t,n){var r=e.getProps();return zd(r,t,null!=n?n:r.custom,function(e){var t={};return e.forEachValue(function(e,n){return t[n]=e.get()}),t}(e),function(e){var t={};return e.forEachValue(function(e,n){return t[n]=e.getVelocity()}),t}(e))}function Id(e){var t;return"function"==typeof(null===(t=e.animate)||void 0===t?void 0:t.start)||Ad(e.initial)||Ad(e.animate)||Ad(e.whileHover)||Ad(e.whileDrag)||Ad(e.whileTap)||Ad(e.whileFocus)||Ad(e.exit)}function Ld(e){return Boolean(Id(e)||e.variants)}function Fd(e){return Array.isArray(e)?e.join(" "):e}const Dd=(e,t,n)=>-n*e+n*t+e;function Vd(e,t){return t?e*(1e3/t):0}function Bd(e,t){-1===e.indexOf(t)&&e.push(t)}function Nd(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var $d=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(e){var t=this;return Bd(this.subscriptions,e),function(){return Nd(t.subscriptions,e)}},e.prototype.notify=function(e,t,n){var r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(var o=0;o<r;o++){var i=this.subscriptions[o];i&&i(e,t,n)}},e.prototype.getSize=function(){return this.subscriptions.length},e.prototype.clear=function(){this.subscriptions.length=0},e}(),Ud=function(){function e(e){var t,n=this;this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new $d,this.velocityUpdateSubscribers=new $d,this.renderSubscribers=new $d,this.canTrackVelocity=!1,this.updateAndNotify=function(e,t){void 0===t&&(t=!0),n.prev=n.current,n.current=e;var r=od(),o=r.delta,i=r.timestamp;n.lastUpdated!==i&&(n.timeDelta=o,n.lastUpdated=i,id.postRender(n.scheduleVelocityCheck)),n.prev!==n.current&&n.updateSubscribers.notify(n.current),n.velocityUpdateSubscribers.getSize()&&n.velocityUpdateSubscribers.notify(n.getVelocity()),t&&n.renderSubscribers.notify(n.current)},this.scheduleVelocityCheck=function(){return id.postRender(n.velocityCheck)},this.velocityCheck=function(e){e.timestamp!==n.lastUpdated&&(n.prev=n.current,n.velocityUpdateSubscribers.notify(n.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?Vd(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},e.prototype.start=function(e){var t=this;return this.stop(),new Promise(function(n){t.hasAnimated=!0,t.stopAnimation=e(n)}).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 Hd(e){return new Ud(e)}var Wd=function(e){return Boolean(null!==e&&"object"==typeof e&&e.getVelocity)},qd=function(){};const Gd=(e,t,n)=>Math.min(Math.max(n,e),t);const Yd=12;function Xd(e,t){return e*Math.sqrt(1-t*t)}const Zd=["duration","bounce"],Kd=["stiffness","damping","mass"];function Qd(e,t){return t.some(t=>void 0!==e[t])}function Jd(e){var{from:t=0,to:n=1,restSpeed:r=2,restDelta:o}=e,i=Bc(e,["from","to","restSpeed","restDelta"]);const a={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(!Qd(e,Kd)&&Qd(e,Zd)){const n=function({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let o,i,a=1-t;a=Gd(.05,1,a),e=Gd(.01,10,e/1e3),a<1?(o=t=>{const r=t*a,o=r*e;return.001-(r-n)/Xd(t,a)*Math.exp(-o)},i=t=>{const r=t*a*e,i=r*n+n,l=Math.pow(a,2)*Math.pow(t,2)*e,s=Math.exp(-r),u=Xd(Math.pow(t,2),a);return(.001-o(t)>0?-1:1)*((i-l)*s)/u}):(o=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,i=t=>Math.exp(-t*e)*(e*e*(n-t)));const l=function(e,t,n){let r=n;for(let n=1;n<Yd;n++)r-=e(r)/t(r);return r}(o,i,5/e);if(e*=1e3,isNaN(l))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(l,2)*r;return{stiffness:t,damping:2*a*Math.sqrt(r*t),duration:e}}}(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}(i),p=ef,h=ef;function m(){const e=c?-c/1e3:0,r=n-t,i=s/(2*Math.sqrt(l*u)),a=Math.sqrt(l/u)/1e3;if(void 0===o&&(o=Math.min(Math.abs(n-t)/100,.4)),i<1){const t=Xd(a,i);p=o=>{const l=Math.exp(-i*a*o);return n-l*((e+i*a*r)/t*Math.sin(t*o)+r*Math.cos(t*o))},h=n=>{const o=Math.exp(-i*a*n);return i*a*o*(Math.sin(t*n)*(e+i*a*r)/t+r*Math.cos(t*n))-o*(Math.cos(t*n)*(e+i*a*r)-t*r*Math.sin(t*n))}}else if(1===i)p=t=>n-Math.exp(-a*t)*(r+(e+a*r)*t);else{const t=a*Math.sqrt(i*i-1);p=o=>{const l=Math.exp(-i*a*o),s=Math.min(t*o,300);return n-l*((e+i*a*r)*Math.sinh(s)+t*r*Math.cosh(s))/t}}}return m(),{next:e=>{const t=p(e);if(f)a.done=e>=d;else{const i=1e3*h(e),l=Math.abs(i)<=r,s=Math.abs(n-t)<=o;a.done=l&&s}return a.value=a.done?n:t,a},flipTarget:()=>{c=-c,[t,n]=[n,t],m()}}}Jd.needsInterpolation=(e,t)=>"string"==typeof e||"string"==typeof t;const ef=e=>0,tf=(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r},nf=(e,t)=>n=>Math.max(Math.min(n,t),e),rf=e=>e%1?Number(e.toFixed(5)):e,of=/(-)?([\d]*\.?[\d])+/g,af=/(#[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,lf=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function sf(e){return"string"==typeof e}const uf={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},cf=Object.assign(Object.assign({},uf),{transform:nf(0,1)}),df=Object.assign(Object.assign({},uf),{default:1}),ff=(e,t)=>n=>Boolean(sf(n)&&lf.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),pf=(e,t,n)=>r=>{if(!sf(r))return r;const[o,i,a,l]=r.match(of);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}},hf=nf(0,255),mf=Object.assign(Object.assign({},uf),{transform:e=>Math.round(hf(e))}),gf={test:ff("rgb","red"),parse:pf("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+mf.transform(e)+", "+mf.transform(t)+", "+mf.transform(n)+", "+rf(cf.transform(r))+")"},vf={test:ff("#"),parse:function(e){let t="",n="",r="",o="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),o=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),o=e.substr(4,1),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:gf.transform},bf=e=>({test:t=>sf(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),yf=bf("deg"),wf=bf("%"),xf=bf("px"),Sf=bf("vh"),kf=bf("vw"),Cf=Object.assign(Object.assign({},wf),{parse:e=>wf.parse(e)/100,transform:e=>wf.transform(100*e)}),Ef={test:ff("hsl","hue"),parse:pf("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+wf.transform(rf(t))+", "+wf.transform(rf(n))+", "+rf(cf.transform(r))+")"};function _f(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Of({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let o=0,i=0,a=0;if(t/=100){const r=n<.5?n*(1+t):n+t-n*t,l=2*n-r;o=_f(l,r,e+1/3),i=_f(l,r,e),a=_f(l,r,e-1/3)}else o=i=a=n;return{red:Math.round(255*o),green:Math.round(255*i),blue:Math.round(255*a),alpha:r}}const Pf=(e,t,n)=>{const r=e*e,o=t*t;return Math.sqrt(Math.max(0,n*(o-r)+r))},Tf=[vf,gf,Ef],jf=e=>Tf.find(t=>t.test(e)),Rf=e=>`'${e}' is not an animatable color. Use the equivalent color code instead.`,Af=(e,t)=>{let n=jf(e),r=jf(t);Rf(e),Rf(t);let o=n.parse(e),i=r.parse(t);n===Ef&&(o=Of(o),n=gf),r===Ef&&(i=Of(i),r=gf);const a=Object.assign({},o);return e=>{for(const t in a)"alpha"!==t&&(a[t]=Pf(o[t],i[t],e));return a.alpha=Dd(o.alpha,i.alpha,e),n.transform(a)}},zf={test:e=>gf.test(e)||vf.test(e)||Ef.test(e),parse:e=>gf.test(e)?gf.parse(e):Ef.test(e)?Ef.parse(e):vf.parse(e),transform:e=>sf(e)?e:e.hasOwnProperty("red")?gf.transform(e):Ef.transform(e)},Mf="${c}",If="${n}";function Lf(e){"number"==typeof e&&(e=`${e}`);const t=[];let n=0;const r=e.match(af);r&&(n=r.length,e=e.replace(af,Mf),t.push(...r.map(zf.parse)));const o=e.match(of);return o&&(e=e.replace(of,If),t.push(...o.map(uf.parse))),{values:t,numColors:n,tokenised:e}}function Ff(e){return Lf(e).values}function Df(e){const{values:t,numColors:n,tokenised:r}=Lf(e),o=t.length;return e=>{let t=r;for(let r=0;r<o;r++)t=t.replace(r<n?Mf:If,r<n?zf.transform(e[r]):rf(e[r]));return t}}const Vf=e=>"number"==typeof e?0:e,Bf={test:function(e){var t,n,r,o;return isNaN(e)&&sf(e)&&(null!==(n=null===(t=e.match(of))||void 0===t?void 0:t.length)&&void 0!==n?n:0)+(null!==(o=null===(r=e.match(af))||void 0===r?void 0:r.length)&&void 0!==o?o:0)>0},parse:Ff,createTransformer:Df,getAnimatableNone:function(e){const t=Ff(e);return Df(e)(t.map(Vf))}},Nf=e=>"number"==typeof e,$f=(e,t)=>n=>t(e(n)),Uf=(...e)=>e.reduce($f);function Hf(e,t){return Nf(e)?n=>Dd(e,t,n):zf.test(e)?Af(e,t):Yf(e,t)}const Wf=(e,t)=>{const n=[...e],r=n.length,o=e.map((e,n)=>Hf(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=o[t](e);return n}},qf=(e,t)=>{const n=Object.assign(Object.assign({},e),t),r={};for(const o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=Hf(e[o],t[o]));return e=>{for(const t in r)n[t]=r[t](e);return n}};function Gf(e){const t=Bf.parse(e),n=t.length;let r=0,o=0,i=0;for(let e=0;e<n;e++)r||"number"==typeof t[e]?r++:void 0!==t[e].hue?i++:o++;return{parsed:t,numNumbers:r,numRGB:o,numHSL:i}}const Yf=(e,t)=>{const n=Bf.createTransformer(t),r=Gf(e),o=Gf(t);return r.numHSL===o.numHSL&&r.numRGB===o.numRGB&&r.numNumbers>=o.numNumbers?Uf(Wf(r.parsed,o.parsed),n):n=>`${n>0?t:e}`},Xf=(e,t)=>n=>Dd(e,t,n);function Zf(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const i=e.length;t.length,!r||!Array.isArray(r)||r.length,e[0]>e[i-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const a=function(e,t,n){const r=[],o=n||("number"==typeof(i=e[0])?Xf:"string"==typeof i?zf.test(i)?Af:Yf:Array.isArray(i)?Wf:"object"==typeof i?qf:void 0);var i;const a=e.length-1;for(let n=0;n<a;n++){let i=o(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]:t;i=Uf(e,i)}r.push(i)}return r}(t,r,o),l=2===i?function([e,t],[n]){return r=>n(tf(e,t,r))}(e,a):function(e,t){const n=e.length,r=n-1;return o=>{let i=0,a=!1;if(o<=e[0]?a=!0:o>=e[r]&&(i=r-1,a=!0),!a){let t=1;for(;t<n&&!(e[t]>o||t===r);t++);i=t-1}const l=tf(e[i],e[i+1],o);return t[i](l)}}(e,a);return n?t=>l(Gd(e[0],e[i-1],t)):l}const Kf=e=>t=>1-e(1-t),Qf=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Jf=e=>t=>t*t*((e+1)*t-e),ep=4/11,tp=8/11,np=e=>e,rp=e=>Math.pow(e,2);const op=Kf(rp),ip=Qf(rp),ap=e=>1-Math.sin(Math.acos(e)),lp=Kf(ap),sp=Qf(lp),up=Jf(1.525),cp=Kf(up),dp=Qf(up),fp=(()=>{const e=Jf(1.525);return t=>(t*=2)<1?.5*e(t):.5*(2-Math.pow(2,-10*(t-1)))})(),pp=4356/361,hp=35442/1805,mp=16061/1805,gp=e=>{if(1===e||0===e)return e;const t=e*e;return e<ep?7.5625*t:e<tp?9.075*t-9.9*e+3.4:e<.9?pp*t-hp*e+mp:10.8*e*e-20.52*e+10.72},vp=Kf(gp);function bp(e,t){return e.map(()=>t||ip).splice(0,e.length-1)}function yp({from:e=0,to:t=1,ease:n,offset:r,duration:o=300}){const i={done:!1,value:e},a=Array.isArray(t)?t:[e,t],l=function(e,t){return e.map(e=>e*t)}(r&&r.length===a.length?r:function(e){const t=e.length;return e.map((e,n)=>0!==n?n/(t-1):0)}(a),o);function s(){return Zf(l,a,{ease:Array.isArray(n)?n:bp(a,n)})}let u=s();return{next:e=>(i.value=u(e),i.done=e>=o,i),flipTarget:()=>{a.reverse(),u=s()}}}const xp={keyframes:yp,spring:Jd,decay:function({velocity:e=0,from:t=0,power:n=.8,timeConstant:r=350,restDelta:o=.5,modifyTarget:i}){const a={done:!1,value:t};let l=n*e;const s=t+l,u=void 0===i?s:i(s);return u!==s&&(l=u-t),{next:e=>{const t=-l*Math.exp(-e/r);return a.done=!(t>o||t<-o),a.value=a.done?u:u+t,a},flipTarget:()=>{}}}},Sp=1/60*1e3,kp="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),Cp="undefined"!=typeof window?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(kp()),Sp);let Ep=!0,_p=!1,Op=!1;const Pp={delta:0,timestamp:0},Tp=["read","update","preRender","render","postRender"],jp=Tp.reduce((e,t)=>(e[t]=function(e){let t=[],n=[],r=0,o=!1,i=!1;const a=new WeakSet,l={schedule:(e,i=!1,l=!1)=>{const s=l&&o,u=s?t:n;return i&&a.add(e),-1===u.indexOf(e)&&(u.push(e),s&&o&&(r=t.length)),e},cancel:e=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1),a.delete(e)},process:s=>{if(o)i=!0;else{if(o=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let n=0;n<r;n++){const r=t[n];r(s),a.has(r)&&(l.schedule(r),e())}o=!1,i&&(i=!1,l.process(s))}}};return l}(()=>_p=!0),e),{}),Rp=Tp.reduce((e,t)=>{const n=jp[t];return e[t]=(e,t=!1,r=!1)=>(_p||Ip(),n.schedule(e,t,r)),e},{}),Ap=Tp.reduce((e,t)=>(e[t]=jp[t].cancel,e),{}),zp=(Tp.reduce((e,t)=>(e[t]=()=>jp[t].process(Pp),e),{}),e=>jp[e].process(Pp)),Mp=e=>{_p=!1,Pp.delta=Ep?Sp:Math.max(Math.min(e-Pp.timestamp,40),1),Pp.timestamp=e,Op=!0,Tp.forEach(zp),Op=!1,_p&&(Ep=!1,Cp(Mp))},Ip=()=>{_p=!0,Ep=!0,Op||Cp(Mp)},Lp=Rp;function Fp(e,t,n=0){return e-t-n}const Dp=e=>{const t=({delta:t})=>e(t);return{start:()=>Lp.update(t,!0),stop:()=>Ap.update(t)}};function Vp(e){var t,n,{from:r,autoplay:o=!0,driver:i=Dp,elapsed:a=0,repeat:l=0,repeatType:s="loop",repeatDelay:u=0,onPlay:c,onStop:d,onComplete:f,onRepeat:p,onUpdate:h}=e,m=Bc(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let g,v,b,{to:y}=m,w=0,x=m.duration,S=!1,k=!0;const C=function(e){if(Array.isArray(e.to))return yp;if(xp[e.type])return xp[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?yp:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?Jd:yp}(m);(null===(n=(t=C).needsInterpolation)||void 0===n?void 0:n.call(t,r,y))&&(b=Zf([0,100],[r,y],{clamp:!1}),r=0,y=100);const E=C(Object.assign(Object.assign({},m),{from:r,to:y}));return o&&(null==c||c(),g=i(function(e){if(k||(e=-e),a+=e,!S){const e=E.next(Math.max(0,a));v=e.value,b&&(v=b(v)),S=k?e.done:a<=0}null==h||h(v),S&&(0===w&&(null!=x||(x=a)),w<l?function(e,t,n,r){return r?e>=t+n:e<=-n}(a,x,u,k)&&(w++,"reverse"===s?(k=w%2==0,a=function(e,t,n=0,r=!0){return r?Fp(t+-e,t,n):t-(e-t)+n}(a,x,u,k)):(a=Fp(a,x,u),"mirror"===s&&E.flipTarget()),S=!1,p&&p()):(g.stop(),f&&f()))}),g.start()),{stop:()=>{null==d||d(),g.stop()}}}var Bp=function(e){return 1e3*e};const Np=(e,t)=>1-3*t+3*e,$p=(e,t)=>3*t-6*e,Up=e=>3*e,Hp=(e,t,n)=>((Np(t,n)*e+$p(t,n))*e+Up(t))*e,Wp=(e,t,n)=>3*Np(t,n)*e*e+2*$p(t,n)*e+Up(t),qp=.1;function Gp(e,t,n,r){if(e===t&&n===r)return np;const o=new Float32Array(11);for(let t=0;t<11;++t)o[t]=Hp(t*qp,e,n);return i=>0===i||1===i?i:Hp(function(t){let r=0,i=1;for(;10!==i&&o[i]<=t;++i)r+=qp;--i;const a=r+(t-o[i])/(o[i+1]-o[i])*qp,l=Wp(a,e,n);return l>=.001?function(e,t,n,r){for(let o=0;o<8;++o){const o=Wp(t,n,r);if(0===o)return t;t-=(Hp(t,n,r)-e)/o}return t}(t,a,e,n):0===l?a:function(e,t,n,r,o){let i,a,l=0;do{a=t+(n-t)/2,i=Hp(a,r,o)-e,i>0?n=a:t=a}while(Math.abs(i)>1e-7&&++l<10);return a}(t,r,r+qp,e,n)}(i),t,r)}var Yp={linear:np,easeIn:rp,easeInOut:ip,easeOut:op,circIn:ap,circInOut:sp,circOut:lp,backIn:up,backInOut:dp,backOut:cp,anticipate:fp,bounceIn:vp,bounceInOut:e=>e<.5?.5*(1-gp(1-2*e)):.5*gp(2*e-1)+.5,bounceOut:gp},Xp=function(e){if(Array.isArray(e)){e.length;var t=Nc(e,4);return Gp(t[0],t[1],t[2],t[3])}return"string"==typeof e?("Invalid easing type '".concat(e,"'"),Yp[e]):e},Zp=function(e,t){return!("zIndex"===e||"number"!=typeof t&&!Array.isArray(t)&&("string"!=typeof t||!Bf.test(t)||t.startsWith("url(")))},Kp=function(e){return Array.isArray(e)},Qp=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},Jp=function(e){return{type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}},eh=function(){return{type:"keyframes",ease:"linear",duration:.3}},th=function(e){return{type:"keyframes",duration:.8,values:e}},nh={x:Qp,y:Qp,z:Qp,rotate:Qp,rotateX:Qp,rotateY:Qp,rotateZ:Qp,scaleX:Jp,scaleY:Jp,scale:Jp,opacity:eh,backgroundColor:eh,color:eh,default:Jp};const rh=new Set(["brightness","contrast","saturate","opacity"]);function oh(e){let[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(of)||[];if(!r)return e;const o=n.replace(r,"");let i=rh.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const ih=/([a-z-]*)\(.*?\)/g,ah=Object.assign(Object.assign({},Bf),{getAnimatableNone:e=>{const t=e.match(ih);return t?t.map(oh).join(" "):e}});var lh=Vc(Vc({},uf),{transform:Math.round}),sh={borderWidth:xf,borderTopWidth:xf,borderRightWidth:xf,borderBottomWidth:xf,borderLeftWidth:xf,borderRadius:xf,radius:xf,borderTopLeftRadius:xf,borderTopRightRadius:xf,borderBottomRightRadius:xf,borderBottomLeftRadius:xf,width:xf,maxWidth:xf,height:xf,maxHeight:xf,size:xf,top:xf,right:xf,bottom:xf,left:xf,padding:xf,paddingTop:xf,paddingRight:xf,paddingBottom:xf,paddingLeft:xf,margin:xf,marginTop:xf,marginRight:xf,marginBottom:xf,marginLeft:xf,rotate:yf,rotateX:yf,rotateY:yf,rotateZ:yf,scale:df,scaleX:df,scaleY:df,scaleZ:df,skew:yf,skewX:yf,skewY:yf,distance:xf,translateX:xf,translateY:xf,translateZ:xf,x:xf,y:xf,z:xf,perspective:xf,transformPerspective:xf,opacity:cf,originX:Cf,originY:Cf,originZ:xf,zIndex:lh,fillOpacity:cf,strokeOpacity:cf,numOctaves:lh},uh=Vc(Vc({},sh),{color:zf,backgroundColor:zf,outlineColor:zf,fill:zf,stroke:zf,borderColor:zf,borderTopColor:zf,borderRightColor:zf,borderBottomColor:zf,borderLeftColor:zf,filter:ah,WebkitFilter:ah}),ch=function(e){return uh[e]};function dh(e,t){var n,r=ch(e);return r!==ah&&(r=Bf),null===(n=r.getAnimatableNone)||void 0===n?void 0:n.call(r,t)}var fh=function(e){return Kp(e)?e[e.length-1]||0:e};function ph(e,t,n){var r,o,i,a;return Array.isArray(t.to)&&(null!==(r=e.duration)&&void 0!==r||(e.duration=.8)),function(e){Array.isArray(e.to)&&null===e.to[0]&&(e.to=$c([],Nc(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=Bc(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}(e)||(e=Vc(Vc({},e),(o=n,i=t.to,a=Kp(i)?th:nh[o]||nh.default,Vc({to:i},a(i))))),Vc(Vc({},t),function(e){var t=e.ease,n=e.times,r=e.yoyo,o=e.flip,i=e.loop,a=Bc(e,["ease","times","yoyo","flip","loop"]),l=Vc({},a);return n&&(l.offset=n),a.duration&&(l.duration=Bp(a.duration)),a.repeatDelay&&(l.repeatDelay=Bp(a.repeatDelay)),t&&(l.ease=function(e){return Array.isArray(e)&&"number"!=typeof e[0]}(t)?t.map(Xp):Xp(t)),"tween"===a.type&&(l.type="keyframes"),(r||i||o)&&(r?l.repeatType="reverse":i?l.repeatType="loop":o&&(l.repeatType="mirror"),l.repeat=i||r||o||a.repeat),"spring"!==a.type&&(l.type="keyframes"),l}(e))}function hh(e){return 0===e||"string"==typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function mh(e){return"number"==typeof e?0:dh("",e)}function gh(e,t){return e[t]||e.default||e}function vh(e,t,n,r){return void 0===r&&(r={}),t.start(function(o){var i,a,l=function(e,t,n,r,o){var i,a=gh(r,e),l=null!==(i=a.from)&&void 0!==i?i:t.get(),s=Zp(e,n);"none"===l&&s&&"string"==typeof n?l=dh(e,n):hh(l)&&"string"==typeof n?l=mh(n):!Array.isArray(n)&&hh(n)&&"string"==typeof l&&(n=mh(l));var u=Zp(e,l);return"You are trying to animate ".concat(e,' from "').concat(l,'" to "').concat(n,'". ').concat(l," is not an animatable value - to enable this animation set ").concat(l," to a value animatable to ").concat(n," via the `style` property."),u&&s&&!1!==a.type?function(){var r={from:l,to:n,velocity:t.getVelocity(),onComplete:o,onUpdate:function(e){return t.set(e)}};return"inertia"===a.type||"decay"===a.type?function({from:e=0,velocity:t=0,min:n,max:r,power:o=.8,timeConstant:i=750,bounceStiffness:a=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!==n&&e<n||void 0!==r&&e>r}function g(e){return void 0===n?r:void 0===r||Math.abs(n-e)<Math.abs(r-e)?n:r}function v(e){null==h||h.stop(),h=Vp(Object.assign(Object.assign({},e),{driver:c,onUpdate:t=>{var n;null==d||d(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:f,onStop:p}))}function b(e){v(Object.assign({type:"spring",stiffness:a,damping:l,restDelta:s},e))}if(m(e))b({from:e,velocity:t,to:g(e)});else{let r=o*t+e;void 0!==u&&(r=u(r));const a=g(r),l=a===n?-1:1;let c,d;const f=e=>{c=d,d=e,t=Vd(e-c,Pp.delta),(1===l&&e>a||-1===l&&e<a)&&b({from:e,to:a,velocity:t})};v({type:"decay",from:e,velocity:t,timeConstant:i,power:o,restDelta:s,modifyTarget:u,onUpdate:m(r)?f:void 0})}return{stop:()=>null==h?void 0:h.stop()}}(Vc(Vc({},r),a)):Vp(Vc(Vc({},ph(a,r,e)),{onUpdate:function(e){var t;r.onUpdate(e),null===(t=a.onUpdate)||void 0===t||t.call(a,e)},onComplete:function(){var e;r.onComplete(),null===(e=a.onComplete)||void 0===e||e.call(a)}}))}:function(){var e,r,i=fh(n);return t.set(i),o(),null===(e=null==a?void 0:a.onUpdate)||void 0===e||e.call(a,i),null===(r=null==a?void 0:a.onComplete)||void 0===r||r.call(a),{stop:function(){}}}}(e,t,n,r,o),s=function(e,t){var n,r;return null!==(r=null!==(n=(gh(e,t)||{}).delay)&&void 0!==n?n:e.delay)&&void 0!==r?r:0}(r,e),u=function(){return a=l()};return s?i=setTimeout(u,Bp(s)):u(),function(){clearTimeout(i),null==a||a.stop()}})}var bh=["TopLeft","TopRight","BottomLeft","BottomRight"],yh=bh.length,wh=function(e){return"string"==typeof e?parseFloat(e):e},xh=function(e){return"number"==typeof e||xf.test(e)};function Sh(e,t){var n;return null!==(n=e[t])&&void 0!==n?n:e.borderRadius}var kh=Eh(0,.5,lp),Ch=Eh(.5,.95,np);function Eh(e,t,n){return function(r){return r<e?0:r>t?1:n(tf(e,t,r))}}function _h(e,t){e.min=t.min,e.max=t.max}function Oh(e,t){_h(e.x,t.x),_h(e.y,t.y)}function Ph(e){return void 0===e||1===e}function Th(e){var t=e.scale,n=e.scaleX,r=e.scaleY;return!Ph(t)||!Ph(n)||!Ph(r)}function jh(e){return Th(e)||Rh(e.x)||Rh(e.y)||e.z||e.rotate||e.rotateX||e.rotateY}function Rh(e){return e&&"0%"!==e}function Ah(e,t,n){return n+t*(e-n)}function zh(e,t,n,r,o){return void 0!==o&&(e=Ah(e,o,r)),Ah(e,n,r)+t}function Mh(e,t,n,r,o){void 0===t&&(t=0),void 0===n&&(n=1),e.min=zh(e.min,t,n,r,o),e.max=zh(e.max,t,n,r,o)}function Ih(e,t){var n=t.x,r=t.y;Mh(e.x,n.translate,n.scale,n.originPoint),Mh(e.y,r.translate,r.scale,r.originPoint)}function Lh(e,t){e.min=e.min+t,e.max=e.max+t}function Fh(e,t,n){var r=Nc(n,3),o=r[0],i=r[1],a=r[2],l=void 0!==t[a]?t[a]:.5,s=Dd(e.min,e.max,l);Mh(e,t[o],t[i],s,t.scale)}var Dh=["x","scaleX","originX"],Vh=["y","scaleY","originY"];function Bh(e,t){Fh(e.x,t,Dh),Fh(e.y,t,Vh)}const Nh=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),$h=e=>Nh(e)&&e.hasOwnProperty("z"),Uh=(e,t)=>Math.abs(e-t);function Hh(e,t){if(Nf(e)&&Nf(t))return Uh(e,t);if(Nh(e)&&Nh(t)){const n=Uh(e.x,t.x),r=Uh(e.y,t.y),o=$h(e)&&$h(t)?Uh(e.z,t.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(o,2))}}function Wh(e){return e.max-e.min}function qh(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=.01),Hh(e,t)<n}function Gh(e,t,n,r){void 0===r&&(r=.5),e.origin=r,e.originPoint=Dd(t.min,t.max,e.origin),e.scale=Wh(n)/Wh(t),(qh(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Dd(n.min,n.max,e.origin)-e.originPoint,(qh(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Yh(e,t,n,r){Gh(e.x,t.x,n.x,null==r?void 0:r.originX),Gh(e.y,t.y,n.y,null==r?void 0:r.originY)}function Xh(e,t,n){e.min=n.min+t.min,e.max=e.min+Wh(t)}function Zh(e,t,n){e.min=t.min-n.min,e.max=e.min+Wh(t)}function Kh(e,t,n){Zh(e.x,t.x,n.x),Zh(e.y,t.y,n.y)}function Qh(e,t,n,r,o){return e=Ah(e-=t,1/n,r),void 0!==o&&(e=Ah(e,1/o,r)),e}function Jh(e,t,n,r,o){var i=Nc(n,3),a=i[0],l=i[1],s=i[2];!function(e,t,n,r,o,i,a){if(void 0===t&&(t=0),void 0===n&&(n=1),void 0===r&&(r=.5),void 0===i&&(i=e),void 0===a&&(a=e),wf.test(t)&&(t=parseFloat(t),t=Dd(a.min,a.max,t/100)-a.min),"number"==typeof t){var l=Dd(i.min,i.max,r);e===i&&(l-=t),e.min=Qh(e.min,t,n,l,o),e.max=Qh(e.max,t,n,l,o)}}(e,t[a],t[l],t[s],t.scale,r,o)}var em=["x","scaleX","originX"],tm=["y","scaleY","originY"];function nm(e,t,n,r){Jh(e.x,t,em,null==n?void 0:n.x,null==r?void 0:r.x),Jh(e.y,t,tm,null==n?void 0:n.y,null==r?void 0:r.y)}var rm=function(){return{x:{min:0,max:0},y:{min:0,max:0}}};function om(e){return 0===e.translate&&1===e.scale}function im(e){return om(e.x)&&om(e.y)}function am(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 lm=function(){function e(){this.members=[]}return e.prototype.add=function(e){Bd(this.members,e),e.scheduleRender()},e.prototype.remove=function(e){if(Nd(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,n=this.members.findIndex(function(t){return e===t});if(0===n)return!1;for(var r=n;r>=0;r--){var o=this.members[r];if(!1!==o.isPresent){t=o;break}}return!!t&&(this.promote(t),!0)},e.prototype.promote=function(e,t){var n,r=this.lead;e!==r&&(this.prevLead=r,this.lead=e,e.show(),r&&(r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,t&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues,e.snapshot.isShared=!0),(null===(n=e.root)||void 0===n?void 0:n.isUpdating)&&(e.isLayoutDirty=!0),!1===e.options.crossfade&&r.hide()))},e.prototype.exitAnimationComplete=function(){this.members.forEach(function(e){var t,n,r,o,i;null===(n=(t=e.options).onExitComplete)||void 0===n||n.call(t),null===(i=null===(r=e.resumingFrom)||void 0===r?void 0:(o=r.options).onExitComplete)||void 0===i||i.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}(),sm={};function um(e,t,n){var r=e.x.translate/t.x,o=e.y.translate/t.y,i="translate3d(".concat(r,"px, ").concat(o,"px, 0) ");if(n){var a=n.rotate,l=n.rotateX,s=n.rotateY;a&&(i+="rotate(".concat(a,"deg) ")),l&&(i+="rotateX(".concat(l,"deg) ")),s&&(i+="rotateY(".concat(s,"deg) "))}return"translate3d(0px, 0px, 0) scale(1, 1)"===(i+="scale(".concat(e.x.scale,", ").concat(e.y.scale,")"))?"none":i}function cm(e){return[e("x"),e("y")]}var dm=["","X","Y","Z"],fm=["transformPerspective","x","y","z"];function pm(e,t){return fm.indexOf(e)-fm.indexOf(t)}["translate","scale","rotate","skew"].forEach(function(e){return dm.forEach(function(t){return fm.push(e+t)})});var hm=new Set(fm);function mm(e){return hm.has(e)}var gm=new Set(["originX","originY","originZ"]);function vm(e){return gm.has(e)}var bm=function(e,t){return e.depth-t.depth},ym=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(e){Bd(this.children,e),this.isDirty=!0},e.prototype.remove=function(e){Nd(this.children,e),this.isDirty=!0},e.prototype.forEach=function(e){this.isDirty&&this.children.sort(bm),this.isDirty=!1,this.children.forEach(e)},e}();function wm(e){var t,n=Wd(e)?e.get():e;return t=n,Boolean(t&&"object"==typeof t&&t.mix&&t.toValue)?n.toValue():n}var xm={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Sm(e){var t=e.attachResizeListener,n=e.defaultParent,r=e.measureScroll,o=e.resetTransform;return function(){function e(e,t,r){var o=this;void 0===t&&(t={}),void 0===r&&(r=null==n?void 0:n()),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(Tm),o.nodes.forEach(jm)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=e,this.latestValues=t,this.root=r?r.root||r:this,this.path=r?$c($c([],Nc(r.path),!1),[r],!1):[],this.parent=r,this.depth=r?r.depth+1:0,e&&this.root.registerPotentialNode(e,this);for(var i=0;i<this.path.length;i++)this.path[i].shouldResetTransform=!0;this.root===this&&(this.nodes=new ym)}return e.prototype.addEventListener=function(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new $d),this.eventHandlers.get(e).add(t)},e.prototype.notifyListeners=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=this.eventHandlers.get(e);null==r||r.notify.apply(r,$c([],Nc(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,n){var r,o=this;if(void 0===n&&(n=!1),!this.instance){this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;var i=this.options,a=i.layoutId,l=i.layout,s=i.visualElement;if(s&&!s.getInstance()&&s.mount(e),this.root.nodes.add(this),null===(r=this.parent)||void 0===r||r.children.add(this),this.id&&this.root.potentialNodes.delete(this.id),n&&(l||a)&&(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),xm.hasAnimatedSinceResize&&(xm.hasAnimatedSinceResize=!1,o.nodes.forEach(Pm))})}a&&this.root.registerSharedNode(a,this),!1!==this.options.animate&&s&&(a||l)&&this.addEventListener("didUpdate",function(e){var t,n,r,i,a,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!==(n=null!==(t=o.options.transition)&&void 0!==t?t:s.getDefaultTransition())&&void 0!==n?n:Lm,p=s.getProps().onLayoutAnimationComplete,h=!o.targetLayout||!am(o.targetLayout,d)||c,m=!u&&c;(null===(r=o.resumeFrom)||void 0===r?void 0:r.instance)||m||u&&(h||!o.currentAnimation)?(o.resumeFrom&&(o.resumingFrom=o.resumeFrom,o.resumingFrom.resumingFrom=void 0),o.setAnimationOrigin(l,m),o.startAnimation(Vc(Vc({},gh(f,"layout")),{onComplete:p}))):o.isLead()&&(null===(a=(i=o.options).onExitComplete)||void 0===a||a.call(i)),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,Jc.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(Rm))},e.prototype.willUpdate=function(e){var t,n,r;if(void 0===e&&(e=!0),this.root.isUpdateBlocked())null===(n=(t=this.options).onExitComplete)||void 0===n||n.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 i=this.path[o];i.shouldResetTransform=!0,i.updateScroll()}var a=this.options,l=a.layoutId,s=a.layout;if(void 0!==l||s){var u=null===(r=this.options.visualElement)||void 0===r?void 0:r.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(_m);this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(Fm),this.potentialNodes.clear()),this.nodes.forEach(Om),this.nodes.forEach(km),this.nodes.forEach(Cm),this.clearAllSnapshots(),ed.update(),ed.preRender(),ed.render())},e.prototype.clearAllSnapshots=function(){this.nodes.forEach(Em),this.sharedNodes.forEach(Am)},e.prototype.scheduleUpdateProjection=function(){id.preRender(this.updateProjection,!1,!0)},e.prototype.scheduleCheckAfterUnmount=function(){var e=this;id.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));Vm(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 n=this.measure();Vm(n);var r=this.layout;this.layout={measured:n,actual:this.removeElementScroll(n)},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==r?void 0:r.actual)}},e.prototype.updateScroll=function(){this.options.layoutScroll&&this.instance&&(this.scroll=r(this.instance))},e.prototype.resetTransform=function(){var e;if(o){var t=this.isLayoutDirty||this.shouldResetTransform,n=this.projectionDelta&&!im(this.projectionDelta),r=null===(e=this.options.visualElement)||void 0===e?void 0:e.getProps().transformTemplate,i=null==r?void 0:r(this.latestValues,""),a=i!==this.prevTransformTemplateValue;t&&(n||jh(this.latestValues)||a)&&(o(this.instance,i),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(),n=this.root.scroll;return n&&(Lh(t.x,n.x),Lh(t.y,n.y)),t},e.prototype.removeElementScroll=function(e){var t={x:{min:0,max:0},y:{min:0,max:0}};Oh(t,e);for(var n=0;n<this.path.length;n++){var r=this.path[n],o=r.scroll,i=r.options;r!==this.root&&o&&i.layoutScroll&&(Lh(t.x,o.x),Lh(t.y,o.y))}return t},e.prototype.applyTransform=function(e,t){void 0===t&&(t=!1);var n={x:{min:0,max:0},y:{min:0,max:0}};Oh(n,e);for(var r=0;r<this.path.length;r++){var o=this.path[r];!t&&o.options.layoutScroll&&o.scroll&&o!==o.root&&Bh(n,{x:-o.scroll.x,y:-o.scroll.y}),jh(o.latestValues)&&Bh(n,o.latestValues)}return jh(this.latestValues)&&Bh(n,this.latestValues),n},e.prototype.removeTransform=function(e){var t,n={x:{min:0,max:0},y:{min:0,max:0}};Oh(n,e);for(var r=0;r<this.path.length;r++){var o=this.path[r];if(o.instance&&jh(o.latestValues)){Th(o.latestValues)&&o.updateSnapshot();var i=rm();Oh(i,o.measure()),nm(n,o.latestValues,null===(t=o.snapshot)||void 0===t?void 0:t.layout,i)}}return jh(this.latestValues)&&nm(n,this.latestValues),n},e.prototype.setTargetDelta=function(e){this.targetDelta=e,this.root.scheduleUpdateProjection()},e.prototype.setOptions=function(e){var t;this.options=Vc(Vc(Vc({},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,n,r,o=this.options,i=o.layout,a=o.layoutId;this.layout&&(i||a)&&(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}},Kh(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),Oh(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,n=this.relativeTarget,r=this.relativeParent.target,Xh(t.x,n.x,r.x),Xh(t.y,n.y,r.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):Oh(this.target,this.layout.actual),Ih(this.target,this.targetDelta)):Oh(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}},Kh(this.relativeTargetOrigin,this.target,this.relativeParent.target),Oh(this.relativeTarget,this.relativeTargetOrigin)))))},e.prototype.getClosestProjectingParent=function(){if(this.parent&&!jh(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,n=t.layout,r=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&&(n||r)){var o=this.getLead();Oh(this.layoutCorrected,this.layout.actual),function(e,t,n,r){var o,i;void 0===r&&(r=!1);var a=n.length;if(a){var l,s;t.x=t.y=1;for(var u=0;u<a;u++)s=(l=n[u]).projectionDelta,"contents"!==(null===(i=null===(o=l.instance)||void 0===o?void 0:o.style)||void 0===i?void 0:i.display)&&(r&&l.options.layoutScroll&&l.scroll&&l!==l.root&&Bh(e,{x:-l.scroll.x,y:-l.scroll.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,Ih(e,s)),r&&jh(l.latestValues)&&Bh(e,l.latestValues))}}(this.layoutCorrected,this.treeScale,this.path,Boolean(this.resumingFrom)||this!==o);var i=o.target;if(i){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 a=this.treeScale.x,l=this.treeScale.y,s=this.projectionTransform;Yh(this.projectionDelta,this.layoutCorrected,i,this.latestValues),this.projectionTransform=um(this.projectionDelta,this.treeScale),this.projectionTransform===s&&this.treeScale.x===a&&this.treeScale.y===l||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",i))}}},e.prototype.hide=function(){this.isVisible=!1},e.prototype.show=function(){this.isVisible=!0},e.prototype.scheduleRender=function(e){var t,n,r;void 0===e&&(e=!0),null===(n=(t=this.options).scheduleRender)||void 0===n||n.call(t),e&&(null===(r=this.getStack())||void 0===r||r.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)},e.prototype.setAnimationOrigin=function(e,t){var n,r=this;void 0===t&&(t=!1);var o=this.snapshot,i=(null==o?void 0:o.latestValues)||{},a=Vc({},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===(n=this.getStack())||void 0===n?void 0:n.members.length)||0)<=1,d=Boolean(u&&!c&&!0===this.options.crossfade&&!this.path.some(Im));this.mixTargetDelta=function(t){var n,o,f,p,h,m=t/1e3;zm(l.x,e.x,m),zm(l.y,e.y,m),r.setTargetDelta(l),r.relativeTarget&&r.relativeTargetOrigin&&r.layout&&(null===(n=r.relativeParent)||void 0===n?void 0:n.layout)&&(Kh(s,r.layout.actual,r.relativeParent.layout.actual),o=r.relativeTarget,f=r.relativeTargetOrigin,p=s,h=m,Mm(o.x,f.x,p.x,h),Mm(o.y,f.y,p.y,h)),u&&(r.animationValues=a,function(e,t,n,r,o,i){var a,l,s,u;o?(e.opacity=Dd(0,null!==(a=n.opacity)&&void 0!==a?a:1,kh(r)),e.opacityExit=Dd(null!==(l=t.opacity)&&void 0!==l?l:1,0,Ch(r))):i&&(e.opacity=Dd(null!==(s=t.opacity)&&void 0!==s?s:1,null!==(u=n.opacity)&&void 0!==u?u:1,r));for(var c=0;c<yh;c++){var d="border".concat(bh[c],"Radius"),f=Sh(t,d),p=Sh(n,d);void 0===f&&void 0===p||(f||(f=0),p||(p=0),0===f||0===p||xh(f)===xh(p)?(e[d]=Math.max(Dd(wh(f),wh(p),r),0),(wf.test(p)||wf.test(f))&&(e[d]+="%")):e[d]=p)}(t.rotate||n.rotate)&&(e.rotate=Dd(t.rotate||0,n.rotate||0,r))}(a,i,r.latestValues,m,d,c)),r.root.scheduleUpdateProjection(),r.scheduleRender()},this.mixTargetDelta(0)},e.prototype.startAnimation=function(e){var t,n,r=this;null===(t=this.currentAnimation)||void 0===t||t.stop(),this.resumingFrom&&(null===(n=this.resumingFrom.currentAnimation)||void 0===n||n.stop()),this.pendingAnimation&&(Jc.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=id.update(function(){xm.hasAnimatedSinceResize=!0,r.currentAnimation=function(e,t,n){void 0===n&&(n={});var r=Wd(0)?0:Hd(0);return vh("",r,1e3,n),{stop:function(){return r.stop()},isAnimating:function(){return r.isAnimating()}}}(0,0,Vc(Vc({},e),{onUpdate:function(t){var n;r.mixTargetDelta(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:function(){var t;null===(t=e.onComplete)||void 0===t||t.call(e),r.completeAnimation()}})),r.resumingFrom&&(r.resumingFrom.currentAnimation=r.currentAnimation),r.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,n=e.target,r=e.layout,o=e.latestValues;t&&n&&r&&(Oh(t,n),Bh(t,o),Yh(this.projectionDeltaWithTransform,this.layoutCorrected,t,o))},e.prototype.registerSharedNode=function(e,t){var n,r,o;this.sharedNodes.has(e)||this.sharedNodes.set(e,new lm),this.sharedNodes.get(e).add(t),t.promote({transition:null===(n=t.options.initialPromotionConfig)||void 0===n?void 0:n.transition,preserveFollowOpacity:null===(o=null===(r=t.options.initialPromotionConfig)||void 0===r?void 0:r.shouldPreserveFollowOpacity)||void 0===o?void 0:o.call(r,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,n=t.needsReset,r=t.transition,o=t.preserveFollowOpacity,i=this.getStack();i&&i.promote(this,o),n&&(this.projectionDelta=void 0,this.needsReset=!0),r&&this.setOptions({transition:r})},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,n={},r=0;r<dm.length;r++){var o="rotate"+dm[r];e.getStaticValue(o)&&(t=!0,n[o]=e.getStaticValue(o),e.setStaticValue(o,0))}if(t){for(var o in null==e||e.syncRender(),n)e.setStaticValue(o,n[o]);e.scheduleRender()}}},e.prototype.getProjectionStyles=function(e){var t,n,r,o,i,a;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=wm(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!==(n=this.latestValues.opacity)&&void 0!==n?n:1,c.pointerEvents=wm(e.pointerEvents)||""),this.hasProjected&&!jh(this.latestValues)&&(c.transform=s?s({},""):"none",this.hasProjected=!1),c}var d=u.animationValues||u.latestValues;this.applyTransformsToTarget(),l.transform=um(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!==(r=d.opacity)&&void 0!==r?r:this.latestValues.opacity)&&void 0!==o?o:1:this.preserveOpacity?this.latestValues.opacity:d.opacityExit:l.opacity=u===this?null!==(i=d.opacity)&&void 0!==i?i:"":null!==(a=d.opacityExit)&&void 0!==a?a:0,sm)if(void 0!==d[m]){var g=sm[m],v=g.correct,b=g.applyTo,y=v(d[m],u);if(b)for(var w=b.length,x=0;x<w;x++)l[b[x]]=y;else l[m]=y}return this.options.layoutId&&(l.pointerEvents=u===this?wm(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(_m),this.root.sharedNodes.clear()},e}()}function km(e){e.updateLayout()}function Cm(e){var t,n,r,o,i=null!==(n=null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)&&void 0!==n?n:e.snapshot;if(e.isLead()&&e.layout&&i&&e.hasListeners("didUpdate")){var a=e.layout,l=a.actual,s=a.measured;"size"===e.options.animationType?cm(function(e){var t=i.isShared?i.measured[e]:i.layout[e],n=Wh(t);t.min=l[e].min,t.max=t.min+n}):"position"===e.options.animationType&&cm(function(e){var t=i.isShared?i.measured[e]:i.layout[e],n=Wh(l[e]);t.max=t.min+n});var u={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};Yh(u,l,i.layout);var c={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};i.isShared?Yh(c,e.applyTransform(s,!0),i.measured):Yh(c,l,i.layout);var d=!im(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}};Kh(g,i.layout,h.layout);var v={x:{min:0,max:0},y:{min:0,max:0}};Kh(v,l,m.actual),am(g,v)||(f=!0)}}e.notifyListeners("didUpdate",{layout:l,snapshot:i,delta:c,layoutDelta:u,hasLayoutChanged:d,hasRelativeTargetChanged:f})}else e.isLead()&&(null===(o=(r=e.options).onExitComplete)||void 0===o||o.call(r));e.options.transition=void 0}function Em(e){e.clearSnapshot()}function _m(e){e.clearMeasurements()}function Om(e){e.resetTransform()}function Pm(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function Tm(e){e.resolveTargetDelta()}function jm(e){e.calcProjection()}function Rm(e){e.resetRotation()}function Am(e){e.removeLeadSnapshot()}function zm(e,t,n){e.translate=Dd(t.translate,0,n),e.scale=Dd(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Mm(e,t,n,r){e.min=Dd(t.min,n.min,r),e.max=Dd(t.max,n.max,r)}function Im(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}var Lm={duration:.45,ease:[.4,0,.1,1]};function Fm(e,t){for(var n=e.root,r=e.path.length-1;r>=0;r--)if(Boolean(e.path[r].instance)){n=e.path[r];break}var o=(n&&n!==e.root?n.instance:document).querySelector('[data-projection-id="'.concat(t,'"]'));o&&e.mount(o,!0)}function Dm(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function Vm(e){Dm(e.x),Dm(e.y)}var Bm=1,Nm=(0,B.createContext)({}),$m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Dc(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,n=e.props;t&&t.setProps(n)},t.prototype.render=function(){return this.props.children},t}(B.Component);function Um(e){var t=e.preloadedFeatures,n=e.createVisualElement,r=e.projectionNodeConstructor,o=e.useRender,i=e.useVisualState,a=e.Component;return t&&function(e){for(var t in e)null!==e[t]&&("projectionNodeConstructor"===t?Sd.projectionNodeConstructor=e[t]:Sd[t].Component=e[t])}(t),(0,B.forwardRef)(function(e,t){var l=function(e){var t,n=e.layoutId,r=null===(t=(0,B.useContext)(pd))||void 0===t?void 0:t.id;return r&&void 0!==n?r+"-"+n:n}(e);e=Vc(Vc({},e),{layoutId:l});var s=(0,B.useContext)(_d),u=null,c=function(e){var t=function(e,t){if(Id(e)){var n=e.initial,r=e.animate;return{initial:!1===n||Ad(n)?n:void 0,animate:Ad(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,B.useContext)(Od)),n=t.initial,r=t.animate;return(0,B.useMemo)(function(){return{initial:n,animate:r}},[Fd(n),Fd(r)])}(e),d=s.isStatic?void 0:sd(function(){if(xm.hasEverUpdated)return Bm++}),f=i(e,s.isStatic);return!s.isStatic&&Pd&&(c.visualElement=function(e,t,n,r){var o=(0,B.useContext)(kd),i=(0,B.useContext)(Od).visualElement,a=(0,B.useContext)(ld),l=(0,B.useRef)(void 0);r||(r=o.renderer),!l.current&&r&&(l.current=r(e,{visualState:t,parent:i,props:n,presenceId:null==a?void 0:a.id,blockInitialAnimation:!1===(null==a?void 0:a.initial)}));var s=l.current;return Td(function(){null==s||s.syncRender()}),(0,B.useEffect)(function(){var e;null===(e=null==s?void 0:s.animationState)||void 0===e||e.animateChanges()}),Td(function(){return function(){return null==s?void 0:s.notifyUnmount()}},[]),s}(a,f,Vc(Vc({},s),e),n),function(e,t,n,r){var o,i=t.layoutId,a=t.layout,l=t.drag,s=t.dragConstraints,u=t.layoutScroll,c=(0,B.useContext)(Nm);r&&n&&!(null==n?void 0:n.projection)&&(n.projection=new r(e,n.getLatestValues(),null===(o=n.parent)||void 0===o?void 0:o.projection),n.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:Boolean(l)||s&&jd(s),visualElement:n,scheduleRender:function(){return n.scheduleRender()},animationType:"string"==typeof a?a:"both",initialPromotionConfig:c,layoutScroll:u}))}(d,e,c.visualElement,r||Sd.projectionNodeConstructor),u=function(e,t){var n=[];if((0,B.useContext)(kd),!t)return null;for(var r=0;r<Ed;r++){var o=Cd[r],i=Sd[o],a=i.isEnabled,l=i.Component;a(e)&&l&&n.push(B.createElement(l,Vc({key:o},e,{visualElement:t})))}return n}(e,c.visualElement)),B.createElement($m,{visualElement:c.visualElement,props:Vc(Vc({},s),e)},u,B.createElement(Od.Provider,{value:c},o(a,e,d,function(e,t,n){return(0,B.useCallback)(function(r){var o;r&&(null===(o=e.mount)||void 0===o||o.call(e,r)),t&&(r?t.mount(r):t.unmount()),n&&("function"==typeof n?n(r):jd(n)&&(n.current=r))},[t])}(f,c.visualElement,t),f,s.isStatic,c.visualElement)))})}function Hm(e){function t(t,n){return void 0===n&&(n={}),Um(e(t,n))}if("undefined"==typeof Proxy)return t;var n=new Map;return new Proxy(t,{get:function(e,r){return n.has(r)||n.set(r,t(r)),n.get(r)}})}var Wm=["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 qm(e){return"string"==typeof e&&!e.includes("-")&&!!(Wm.indexOf(e)>-1||/[A-Z]/.test(e))}function Gm(e,t){var n=t.layout,r=t.layoutId;return mm(e)||vm(e)||(n||void 0!==r)&&(!!sm[e]||"opacity"===e)}var Ym={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function Xm(e){return e.startsWith("--")}var Zm=function(e,t){return t&&"number"==typeof e?t.transform(e):e};function Km(e,t,n,r){var o,i=e.style,a=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(Xm(p))a[p]=h;else{var m=sh[p],g=Zm(h,m);if(mm(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 vm(p)?(u[p]=g,d=!0):i[p]=g}}c?i.transform=function(e,t,n,r){var o=e.transform,i=e.transformKeys,a=t.enableHardwareAcceleration,l=void 0===a||a,s=t.allowTransformNone,u=void 0===s||s,c="";i.sort(pm);for(var d=!1,f=i.length,p=0;p<f;p++){var h=i[p];c+="".concat(Ym[h]||h,"(").concat(o[h],") "),"z"===h&&(d=!0)}return!d&&l?c+="translateZ(0)":c=c.trim(),r?c=r(o,n?"":c):u&&n&&(c="none"),c}(e,n,f,r):r?i.transform=r({},""):!t.transform&&i.transform&&(i.transform="none"),d&&(i.transformOrigin=function(e){var t=e.originX,n=void 0===t?"50%":t,r=e.originY,o=void 0===r?"50%":r,i=e.originZ,a=void 0===i?0:i;return"".concat(n," ").concat(o," ").concat(a)}(u))}function Qm(e,t,n){for(var r in t)Wd(t[r])||Gm(r,n)||(e[r]=t[r])}function Jm(e,t,n){var r={},o=function(e,t,n){var r={};return Qm(r,e.style||{},e),Object.assign(r,function(e,t,n){var r=e.transformTemplate;return(0,B.useMemo)(function(){var e={style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}};Km(e,t,{enableHardwareAcceleration:!n},r);var o=e.style;return Vc(Vc({},e.vars),o)},[t])}(e,t,n)),e.transformValues&&(r=e.transformValues(r)),r}(e,t,n);return Boolean(e.drag)&&!1!==e.dragListener&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":"pan-".concat("x"===e.drag?"y":"x")),r.style=o,r}var eg=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 tg(e){return eg.has(e)}var ng,rg=function(e){return!tg(e)};try{(ng=require("@emotion/is-prop-valid").default)&&(rg=function(e){return e.startsWith("on")?!tg(e):ng(e)})}catch(e){}function og(e,t,n){return"string"==typeof e?e:xf.transform(t+n*e)}var ig={offset:"stroke-dashoffset",array:"stroke-dasharray"},ag={offset:"strokeDashoffset",array:"strokeDasharray"};function lg(e,t,n,r){var o=t.attrX,i=t.attrY,a=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;Km(e,Bc(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),n,r),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!==a||void 0!==l||h.transform)&&(h.transformOrigin=function(e,t,n){var r=og(t,e.x,e.width),o=og(n,e.y,e.height);return"".concat(r," ").concat(o)}(m,void 0!==a?a:.5,void 0!==l?l:.5)),void 0!==o&&(p.x=o),void 0!==i&&(p.y=i),void 0!==s&&function(e,t,n,r,o){void 0===n&&(n=1),void 0===r&&(r=0),void 0===o&&(o=!0),e.pathLength=1;var i=o?ig:ag;e[i.offset]=xf.transform(-r);var a=xf.transform(t),l=xf.transform(n);e[i.array]="".concat(a," ").concat(l)}(p,s,c,f,!1)}var sg=function(){return Vc(Vc({},{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}),{attrs:{}})};function ug(e,t){var n=(0,B.useMemo)(function(){var n=sg();return lg(n,t,{enableHardwareAcceleration:!1},e.transformTemplate),Vc(Vc({},n.attrs),{style:Vc({},n.style)})},[t]);if(e.style){var r={};Qm(r,e.style,e),n.style=Vc(Vc({},r),n.style)}return n}function cg(e){return void 0===e&&(e=!1),function(t,n,r,o,i,a){var l=i.latestValues,s=(qm(t)?ug:Jm)(n,l,a),u=function(e,t,n){var r={};for(var o in e)(rg(o)||!0===n&&tg(o)||!t&&!tg(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}(n,"string"==typeof t,e),c=Vc(Vc(Vc({},u),s),{ref:o});return r&&(c["data-projection-id"]=r),(0,B.createElement)(t,c)}}var dg=/([a-z])([A-Z])/g,fg=function(e){return e.replace(dg,"$1-$2").toLowerCase()};function pg(e,t,n,r){var o=t.style,i=t.vars;for(var a in Object.assign(e.style,o,r&&r.getProjectionStyles(n)),i)e.style.setProperty(a,i[a])}var hg=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function mg(e,t){for(var n in pg(e,t),t.attrs)e.setAttribute(hg.has(n)?n:fg(n),t.attrs[n])}function gg(e){var t=e.style,n={};for(var r in t)(Wd(t[r])||Gm(r,e))&&(n[r]=t[r]);return n}function vg(e){var t=gg(e);for(var n in e)Wd(e[n])&&(t["x"===n||"y"===n?"attr"+n.toUpperCase():n]=e[n]);return t}function bg(e){return"object"==typeof e&&"function"==typeof e.start}function yg(e,t,n,r){var o=e.scrapeMotionValuesFromProps,i=e.createRenderState,a=e.onMount,l={latestValues:xg(t,n,r,o),renderState:i()};return a&&(l.mount=function(e){return a(t,e,l)}),l}var wg=function(e){return function(t,n){var r=(0,B.useContext)(Od),o=(0,B.useContext)(ld);return n?yg(e,t,r,o):sd(function(){return yg(e,t,r,o)})}};function xg(e,t,n,r){var o={},i=!1===(null==n?void 0:n.initial),a=r(e);for(var l in a)o[l]=wm(a[l]);var s=e.initial,u=e.animate,c=Id(e),d=Ld(e);t&&d&&!c&&!1!==e.inherit&&(null!=s||(s=t.initial),null!=u||(u=t.animate));var f=i||!1===s,p=f?u:s;return p&&"boolean"!=typeof p&&!bg(p)&&(Array.isArray(p)?p:[p]).forEach(function(t){var n=zd(e,t);if(n){var r=n.transitionEnd;n.transition;var i=Bc(n,["transitionEnd","transition"]);for(var a in i){var l=i[a];Array.isArray(l)&&(l=l[f?l.length-1:0]),null!==l&&(o[a]=l)}for(var a in r)o[a]=r[a]}}),o}var Sg,kg={useVisualState:wg({scrapeMotionValuesFromProps:vg,createRenderState:sg,onMount:function(e,t,n){var r=n.renderState,o=n.latestValues;try{r.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){r.dimensions={x:0,y:0,width:0,height:0}}lg(r,o,{enableHardwareAcceleration:!1},e.transformTemplate),mg(t,r)}})},Cg={useVisualState:wg({scrapeMotionValuesFromProps:gg,createRenderState:function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}}})};function Eg(e,t,n,r){return e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n,r)}}function _g(e,t,n,r){(0,B.useEffect)(function(){var o=e.current;if(n&&o)return Eg(o,t,n,r)},[e,t,n,r])}function Og(e){return"undefined"!=typeof PointerEvent&&e instanceof PointerEvent?!("mouse"!==e.pointerType):e instanceof MouseEvent}function Pg(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"}(Sg||(Sg={}));var Tg={pageX:0,pageY:0};function jg(e,t){void 0===t&&(t="page");var n=e.touches[0]||e.changedTouches[0]||Tg;return{x:n[t+"X"],y:n[t+"Y"]}}function Rg(e,t){return void 0===t&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function Ag(e,t){return void 0===t&&(t="page"),{point:Pg(e)?jg(e,t):Rg(e,t)}}var zg=function(e,t){void 0===t&&(t=!1);var n,r=function(t){return e(t,Ag(t))};return t?(n=r,function(e){var t=e instanceof MouseEvent;(!t||t&&0===e.button)&&n(e)}):r},Mg={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},Ig={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function Lg(e){return Pd&&null===window.onpointerdown?e:Pd&&null===window.ontouchstart?Ig[e]:Pd&&null===window.onmousedown?Mg[e]:e}function Fg(e,t,n,r){return Eg(e,Lg(t),zg(n,"pointerdown"===t),r)}function Dg(e,t,n,r){return _g(e,Lg(t),n&&zg(n,"pointerdown"===t),r)}function Vg(e){var t=null;return function(){return null===t&&(t=e,function(){t=null})}}var Bg=Vg("dragHorizontal"),Ng=Vg("dragVertical");function $g(e){var t=!1;if("y"===e)t=Ng();else if("x"===e)t=Bg();else{var n=Bg(),r=Ng();n&&r?t=function(){n(),r()}:(n&&n(),r&&r())}return t}function Ug(){var e=$g(!0);return!e||(e(),!1)}function Hg(e,t,n){return function(r,o){var i;Og(r)&&!Ug()&&(null===(i=e.animationState)||void 0===i||i.setActive(Sg.Hover,t),null==n||n(r,o))}}var Wg=function(e,t){return!!t&&(e===t||Wg(e,t.parentElement))},qg=new WeakMap,Gg=new WeakMap,Yg=function(e){var t;null===(t=qg.get(e.target))||void 0===t||t(e)},Xg=function(e){e.forEach(Yg)};var Zg={some:0,all:1};function Kg(e,t,n,r){var o=r.root,i=r.margin,a=r.amount,l=void 0===a?"some":a,s=r.once;(0,B.useEffect)(function(){if(e){var r={root:null==o?void 0:o.current,rootMargin:i,threshold:"number"==typeof l?l:Zg[l]};return function(e,t,n){var r=function(e){var t=e.root,n=Bc(e,["root"]),r=t||document;Gg.has(r)||Gg.set(r,{});var o=Gg.get(r),i=JSON.stringify(n);return o[i]||(o[i]=new IntersectionObserver(Xg,Vc({root:t},n))),o[i]}(t);return qg.set(e,n),r.observe(e),function(){qg.delete(e),r.unobserve(e)}}(n.getInstance(),r,function(e){var r,o=e.isIntersecting;if(t.isInView!==o&&(t.isInView=o,!s||o||!t.hasEnteredView)){o&&(t.hasEnteredView=!0),null===(r=n.animationState)||void 0===r||r.setActive(Sg.InView,o);var i=n.getProps(),a=o?i.onViewportEnter:i.onViewportLeave;null==a||a(e)}})}},[e,o,i,l])}function Qg(e,t,n){(0,B.useEffect)(function(){e&&requestAnimationFrame(function(){var e;t.hasEnteredView=!0;var r=n.getProps().onViewportEnter;null==r||r(null),null===(e=n.animationState)||void 0===e||e.setActive(Sg.InView,!0)})},[e])}var Jg=function(e){return function(t){return e(t),null}},ev={inView:Jg(function(e){var t=e.visualElement,n=e.whileInView,r=e.onViewportEnter,o=e.onViewportLeave,i=e.viewport,a=void 0===i?{}:i,l=(0,B.useRef)({hasEnteredView:!1,isInView:!1}),s=Boolean(n||r||o);a.once&&l.current.hasEnteredView&&(s=!1),("undefined"==typeof IntersectionObserver?Qg:Kg)(s,l.current,t,a)}),tap:Jg(function(e){var t=e.onTap,n=e.onTapStart,r=e.onTapCancel,o=e.whileTap,i=e.visualElement,a=t||n||r||o,l=(0,B.useRef)(!1),s=(0,B.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=i.animationState)||void 0===e||e.setActive(Sg.Tap,!1),!Ug()}function d(e,n){c()&&(Wg(i.getInstance(),e.target)?null==t||t(e,n):null==r||r(e,n))}function f(e,t){c()&&(null==r||r(e,t))}Dg(i,"pointerdown",a?function(e,t){var r;u(),l.current||(l.current=!0,s.current=Uf(Fg(window,"pointerup",d),Fg(window,"pointercancel",f)),null===(r=i.animationState)||void 0===r||r.setActive(Sg.Tap,!0),null==n||n(e,t))}:void 0),ad(u)}),focus:Jg(function(e){var t=e.whileFocus,n=e.visualElement;_g(n,"focus",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(Sg.Focus,!0)}:void 0),_g(n,"blur",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(Sg.Focus,!1)}:void 0)}),hover:Jg(function(e){var t=e.onHoverStart,n=e.onHoverEnd,r=e.whileHover,o=e.visualElement;Dg(o,"pointerenter",t||r?Hg(o,!0,t):void 0),Dg(o,"pointerleave",n||r?Hg(o,!1,n):void 0)})};function tv(e,t){if(!Array.isArray(t))return!1;var n=t.length;if(n!==e.length)return!1;for(var r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var nv=function(e){return/^\-?\d*\.?\d+$/.test(e)},rv=function(e){return/^0[^.\s]+$/.test(e)},ov=function(e){return function(t){return t.test(e)}},iv=[uf,xf,wf,yf,kf,Sf,{test:function(e){return"auto"===e},parse:function(e){return e}}],av=function(e){return iv.find(ov(e))},lv=$c($c([],Nc(iv),!1),[zf,Bf],!1),sv=function(e){return lv.find(ov(e))};function uv(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Hd(n))}function cv(e,t){if(t)return(t[e]||t.default||t).from}function dv(e,t,n){var r;void 0===n&&(n={});var o=Md(e,t,n.custom),i=(o||{}).transition,a=void 0===i?e.getDefaultTransition()||{}:i;n.transitionOverride&&(a=n.transitionOverride);var l=o?function(){return fv(e,o,n)}:function(){return Promise.resolve()},s=(null===(r=e.variantChildren)||void 0===r?void 0:r.size)?function(r){void 0===r&&(r=0);var o=a.delayChildren,i=void 0===o?0:o,l=a.staggerChildren,s=a.staggerDirection;return function(e,t,n,r,o,i){void 0===n&&(n=0),void 0===r&&(r=0),void 0===o&&(o=1);var a=[],l=(e.variantChildren.size-1)*r,s=1===o?function(e){return void 0===e&&(e=0),e*r}:function(e){return void 0===e&&(e=0),l-e*r};return Array.from(e.variantChildren).sort(pv).forEach(function(e,r){a.push(dv(e,t,Vc(Vc({},i),{delay:n+s(r)})).then(function(){return e.notifyAnimationComplete(t)}))}),Promise.all(a)}(e,t,i+r,l,s,n)}:function(){return Promise.resolve()},u=a.when;if(u){var c=Nc("beforeChildren"===u?[l,s]:[s,l],2),d=c[0],f=c[1];return d().then(f)}return Promise.all([l(),s(n.delay)])}function fv(e,t,n){var r,o=void 0===n?{}:n,i=o.delay,a=void 0===i?0:i,l=o.transitionOverride,s=o.type,u=e.makeTargetAnimatable(t),c=u.transition,d=void 0===c?e.getDefaultTransition():c,f=u.transitionEnd,p=Bc(u,["transition","transitionEnd"]);l&&(d=l);var h=[],m=s&&(null===(r=e.animationState)||void 0===r?void 0:r.getState()[s]);for(var g in p){var v=e.getValue(g),b=p[g];if(!(!v||void 0===b||m&&hv(m,g))){var y=vh(g,v,b,Vc({delay:a},d));h.push(y)}}return Promise.all(h).then(function(){f&&function(e,t){var n=Md(e,t),r=n?e.makeTargetAnimatable(n,!1):{},o=r.transitionEnd,i=void 0===o?{}:o;r.transition;var a=Bc(r,["transitionEnd","transition"]);for(var l in a=Vc(Vc({},a),i))uv(e,l,fh(a[l]))}(e,f)})}function pv(e,t){return e.sortNodePosition(t)}function hv(e,t){var n=e.protectedKeys,r=e.needsAnimating,o=n.hasOwnProperty(t)&&!0!==r[t];return r[t]=!1,o}var mv=[Sg.Animate,Sg.InView,Sg.Focus,Sg.Hover,Sg.Tap,Sg.Drag,Sg.Exit],gv=$c([],Nc(mv),!1).reverse(),vv=mv.length;function bv(e){var t,n=function(e){return function(t){return Promise.all(t.map(function(t){var n=t.animation,r=t.options;return function(e,t,n){var r;if(void 0===n&&(n={}),e.notifyAnimationStart(t),Array.isArray(t)){var o=t.map(function(t){return dv(e,t,n)});r=Promise.all(o)}else if("string"==typeof t)r=dv(e,t,n);else{var i="function"==typeof t?Md(e,t,n.custom):t;r=fv(e,i,n)}return r.then(function(){return e.notifyAnimationComplete(t)})}(e,n,r)}))}}(e),r=((t={})[Sg.Animate]=yv(!0),t[Sg.InView]=yv(),t[Sg.Hover]=yv(),t[Sg.Tap]=yv(),t[Sg.Drag]=yv(),t[Sg.Focus]=yv(),t[Sg.Exit]=yv(),t),o={},i=!0,a=function(t,n){var r=Md(e,n);if(r){r.transition;var o=r.transitionEnd,i=Bc(r,["transition","transitionEnd"]);t=Vc(Vc(Vc({},t),i),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(n){var o=gv[n],m=r[o],g=null!==(s=u[o])&&void 0!==s?s:c[o],v=Ad(g),b=o===l?m.isActive:null;!1===b&&(h=n);var y=g===c[o]&&g!==u[o]&&v;if(y&&i&&e.manuallyAnimateOnMount&&(y=!1),m.protectedKeys=Vc({},p),!m.isActive&&null===b||!g&&!m.prevProp||bg(g)||"boolean"==typeof g)return"continue";var w=function(e,t){return"string"==typeof t?t!==e:!!Rd(t)&&!tv(t,e)}(m.prevProp,g),x=w||o===l&&m.isActive&&!y&&v||n>h&&v,S=Array.isArray(g)?g:[g],k=S.reduce(a,{});!1===b&&(k={});var C=m.prevResolvedValues,E=void 0===C?{}:C,_=Vc(Vc({},E),k),O=function(e){x=!0,f.delete(e),m.needsAnimating[e]=!0};for(var P in _){var T=k[P],j=E[P];p.hasOwnProperty(P)||(T!==j?Kp(T)&&Kp(j)?!tv(T,j)||w?O(P):m.protectedKeys[P]=!0:void 0!==T?O(P):f.add(P):void 0!==T&&f.has(P)?O(P):m.protectedKeys[P]=!0)}m.prevProp=g,m.prevResolvedValues=k,m.isActive&&(p=Vc(Vc({},p),k)),i&&e.blockInitialAnimation&&(x=!1),x&&!y&&d.push.apply(d,$c([],Nc(S.map(function(e){return{animation:e,options:Vc({type:o},t)}})),!1))},g=0;g<vv;g++)m(g);if(o=Vc({},p),f.size){var v={};f.forEach(function(t){var n=e.getBaseTarget(t);void 0!==n&&(v[t]=n)}),d.push({animation:v})}var b=Boolean(d.length);return i&&!1===u.initial&&!e.manuallyAnimateOnMount&&(b=!1),i=!1,b?n(d):Promise.resolve()}return{isAnimated:function(e){return void 0!==o[e]},animateChanges:l,setActive:function(t,n,o){var i;return r[t].isActive===n?Promise.resolve():(null===(i=e.variantChildren)||void 0===i||i.forEach(function(e){var r;return null===(r=e.animationState)||void 0===r?void 0:r.setActive(t,n)}),r[t].isActive=n,l(o,t))},setAnimateFunction:function(t){n=t(e)},getState:function(){return r}}}function yv(e){return void 0===e&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var wv={animation:Jg(function(e){var t=e.visualElement,n=e.animate;t.animationState||(t.animationState=bv(t)),bg(n)&&(0,B.useEffect)(function(){return n.subscribe(t)},[n])}),exit:Jg(function(e){var t=e.custom,n=e.visualElement,r=Nc(vd(),2),o=r[0],i=r[1],a=(0,B.useContext)(ld);(0,B.useEffect)(function(){var e,r;n.isPresent=o;var l=null===(e=n.animationState)||void 0===e?void 0:e.setActive(Sg.Exit,!o,{custom:null!==(r=null==a?void 0:a.custom)&&void 0!==r?r:t});!o&&(null==l||l.then(i))},[o])})},xv=function(){function e(e,t,n){var r=this,o=(void 0===n?{}:n).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(r.lastMoveEvent&&r.lastMoveEventInfo){var e=Cv(r.lastMoveEventInfo,r.history),t=null!==r.startEvent,n=Hh(e.offset,{x:0,y:0})>=3;if(t||n){var o=e.point,i=od().timestamp;r.history.push(Vc(Vc({},o),{timestamp:i}));var a=r.handlers,l=a.onStart,s=a.onMove;t||(l&&l(r.lastMoveEvent,e),r.startEvent=r.lastMoveEvent),s&&s(r.lastMoveEvent,e)}}},this.handlePointerMove=function(e,t){r.lastMoveEvent=e,r.lastMoveEventInfo=Sv(t,r.transformPagePoint),Og(e)&&0===e.buttons?r.handlePointerUp(e,t):id.update(r.updatePoint,!0)},this.handlePointerUp=function(e,t){r.end();var n=r.handlers,o=n.onEnd,i=n.onSessionEnd,a=Cv(Sv(t,r.transformPagePoint),r.history);r.startEvent&&o&&o(e,a),i&&i(e,a)},!(Pg(e)&&e.touches.length>1)){this.handlers=t,this.transformPagePoint=o;var i=Sv(Ag(e),this.transformPagePoint),a=i.point,l=od().timestamp;this.history=[Vc(Vc({},a),{timestamp:l})];var s=t.onSessionStart;s&&s(e,Cv(i,this.history)),this.removeListeners=Uf(Fg(window,"pointermove",this.handlePointerMove),Fg(window,"pointerup",this.handlePointerUp),Fg(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(e){this.handlers=e},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),Jc.update(this.updatePoint)},e}();function Sv(e,t){return t?{point:t(e.point)}:e}function kv(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Cv(e,t){var n=e.point;return{point:n,delta:kv(n,_v(t)),offset:kv(n,Ev(t)),velocity:Ov(t,.1)}}function Ev(e){return e[0]}function _v(e){return e[e.length-1]}function Ov(e,t){if(e.length<2)return{x:0,y:0};for(var n=e.length-1,r=null,o=_v(e);n>=0&&(r=e[n],!(o.timestamp-r.timestamp>Bp(t)));)n--;if(!r)return{x:0,y:0};var i=(o.timestamp-r.timestamp)/1e3;if(0===i)return{x:0,y:0};var a={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function Pv(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function Tv(e,t){var n,r=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&(r=(n=Nc([o,r],2))[0],o=n[1]),{min:r,max:o}}var jv=.35;function Rv(e,t,n){return{min:Av(e,t),max:Av(e,n)}}function Av(e,t){var n;return"number"==typeof e?e:null!==(n=e[t])&&void 0!==n?n:0}function zv(e){var t=e.top;return{x:{min:e.left,max:e.right},y:{min:t,max:e.bottom}}}function Mv(e,t){return zv(function(e,t){if(!t)return e;var n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}var Iv=new WeakMap,Lv=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 n=this,r=(void 0===t?{}:t).snapToCursor,o=void 0!==r&&r;!1!==this.visualElement.isPresent&&(this.panSession=new xv(e,{onSessionStart:function(e){n.stopAnimation(),o&&n.snapToCursor(Ag(e,"page").point)},onStart:function(e,t){var r,o=n.getProps(),i=o.drag,a=o.dragPropagation,l=o.onDragStart;(!i||a||(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=$g(i),n.openGlobalLock))&&(n.isDragging=!0,n.currentDirection=null,n.resolveConstraints(),n.visualElement.projection&&(n.visualElement.projection.isAnimationBlocked=!0,n.visualElement.projection.target=void 0),cm(function(e){var t,r,o=n.getAxisMotionValue(e).get()||0;if(wf.test(o)){var i=null===(r=null===(t=n.visualElement.projection)||void 0===t?void 0:t.layout)||void 0===r?void 0:r.actual[e];i&&(o=Wh(i)*(parseFloat(o)/100))}n.originPoint[e]=o}),null==l||l(e,t),null===(r=n.visualElement.animationState)||void 0===r||r.setActive(Sg.Drag,!0))},onMove:function(e,t){var r=n.getProps(),o=r.dragPropagation,i=r.dragDirectionLock,a=r.onDirectionLock,l=r.onDrag;if(o||n.openGlobalLock){var s=t.offset;if(i&&null===n.currentDirection)return n.currentDirection=function(e,t){void 0===t&&(t=10);var n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}(s),void(null!==n.currentDirection&&(null==a||a(n.currentDirection)));n.updateAxis("x",t.point,s),n.updateAxis("y",t.point,s),n.visualElement.syncRender(),null==l||l(e,t)}},onSessionEnd:function(e,t){return n.stop(e,t)}},{transformPagePoint:this.visualElement.getTransformPagePoint()}))},e.prototype.stop=function(e,t){var n=this.isDragging;if(this.cancel(),n){var r=t.velocity;this.startAnimation(r);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(Sg.Drag,!1)},e.prototype.updateAxis=function(e,t,n){var r=this.getProps().drag;if(n&&Fv(e,r,this.currentDirection)){var o=this.getAxisMotionValue(e),i=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(i=function(e,t,n){var r=t.min,o=t.max;return void 0!==r&&e<r?e=n?Dd(r,e,n.min):Math.max(e,r):void 0!==o&&e>o&&(e=n?Dd(o,e,n.max):Math.min(e,o)),e}(i,this.constraints[e],this.elastic[e])),o.set(i)}},e.prototype.resolveConstraints=function(){var e=this,t=this.getProps(),n=t.dragConstraints,r=t.dragElastic,o=(this.visualElement.projection||{}).layout,i=this.constraints;n&&jd(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!n||!o)&&function(e,t){var n=t.top,r=t.left,o=t.bottom,i=t.right;return{x:Pv(e.x,r,i),y:Pv(e.y,n,o)}}(o.actual,n),this.elastic=function(e){return void 0===e&&(e=jv),!1===e?e=0:!0===e&&(e=jv),{x:Rv(e,"left","right"),y:Rv(e,"top","bottom")}}(r),i!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&cm(function(t){e.getAxisMotionValue(t)&&(e.constraints[t]=function(e,t){var n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(o.actual[t],e.constraints[t]))})},e.prototype.resolveRefConstraints=function(){var e=this.getProps(),t=e.dragConstraints,n=e.onMeasureDragConstraints;if(!t||!jd(t))return!1;var r=t.current,o=this.visualElement.projection;if(!o||!o.layout)return!1;var i=function(e,t,n){var r=Mv(e,n),o=t.scroll;return o&&(Lh(r.x,o.x),Lh(r.y,o.y)),r}(r,o.root,this.visualElement.getTransformPagePoint()),a=function(e,t){return{x:Tv(e.x,t.x),y:Tv(e.y,t.y)}}(o.layout.actual,i);if(n){var l=n(function(e){var t=e.x,n=e.y;return{top:n.min,right:t.max,bottom:n.max,left:t.min}}(a));this.hasMutatedConstraints=!!l,l&&(a=zv(l))}return a},e.prototype.startAnimation=function(e){var t=this,n=this.getProps(),r=n.drag,o=n.dragMomentum,i=n.dragElastic,a=n.dragTransition,l=n.dragSnapToOrigin,s=n.onDragTransitionEnd,u=this.constraints||{},c=cm(function(n){var s;if(Fv(n,r,t.currentDirection)){var c=null!==(s=null==u?void 0:u[n])&&void 0!==s?s:{};l&&(c={min:0,max:0});var d=i?200:1e6,f=i?40:1e7,p=Vc(Vc({type:"inertia",velocity:o?e[n]:0,bounceStiffness:d,bounceDamping:f,timeConstant:750,restDelta:1,restSpeed:10},a),c);return t.startAxisValueAnimation(n,p)}});return Promise.all(c).then(s)},e.prototype.startAxisValueAnimation=function(e,t){return vh(e,this.getAxisMotionValue(e),0,t)},e.prototype.stopAnimation=function(){var e=this;cm(function(t){return e.getAxisMotionValue(t).stop()})},e.prototype.getAxisMotionValue=function(e){var t,n,r="_drag"+e.toUpperCase();return this.visualElement.getProps()[r]||this.visualElement.getValue(e,null!==(n=null===(t=this.visualElement.getProps().initial)||void 0===t?void 0:t[e])&&void 0!==n?n:0)},e.prototype.snapToCursor=function(e){var t=this;cm(function(n){if(Fv(n,t.getProps().drag,t.currentDirection)){var r=t.visualElement.projection,o=t.getAxisMotionValue(n);if(r&&r.layout){var i=r.layout.actual[n],a=i.min,l=i.max;o.set(e[n]-Dd(a,l,.5))}}})},e.prototype.scalePositionWithinConstraints=function(){var e,t=this,n=this.getProps(),r=n.drag,o=n.dragConstraints,i=this.visualElement.projection;if(jd(o)&&i&&this.constraints){this.stopAnimation();var a={x:0,y:0};cm(function(e){var n,r,o,i,l,s=t.getAxisMotionValue(e);if(s){var u=s.get();a[e]=(n={min:u,max:u},r=t.constraints[e],o=.5,i=Wh(n),(l=Wh(r))>i?o=tf(r.min,r.max-i,n.min):i>l&&(o=tf(n.min,n.max-l,r.min)),Gd(0,1,o))}});var l=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=l?l({},""):"none",null===(e=i.root)||void 0===e||e.updateScroll(),i.updateLayout(),this.resolveConstraints(),cm(function(e){if(Fv(e,r,null)){var n=t.getAxisMotionValue(e),o=t.constraints[e],i=o.min,l=o.max;n.set(Dd(i,l,a[e]))}})}},e.prototype.addListeners=function(){var e,t=this;Iv.set(this.visualElement,this);var n=Fg(this.visualElement.getInstance(),"pointerdown",function(e){var n=t.getProps(),r=n.drag,o=n.dragListener;r&&(void 0===o||o)&&t.start(e)}),r=function(){jd(t.getProps().dragConstraints)&&(t.constraints=t.resolveRefConstraints())},o=this.visualElement.projection,i=o.addEventListener("measure",r);o&&!o.layout&&(null===(e=o.root)||void 0===e||e.updateScroll(),o.updateLayout()),r();var a=Eg(window,"resize",function(){t.scalePositionWithinConstraints()});return o.addEventListener("didUpdate",function(e){var n=e.delta,r=e.hasLayoutChanged;t.isDragging&&r&&(cm(function(e){var r=t.getAxisMotionValue(e);r&&(t.originPoint[e]+=n[e].translate,r.set(r.get()+n[e].translate))}),t.visualElement.syncRender())}),function(){a(),n(),i()}},e.prototype.getProps=function(){var e=this.visualElement.getProps(),t=e.drag,n=void 0!==t&&t,r=e.dragDirectionLock,o=void 0!==r&&r,i=e.dragPropagation,a=void 0!==i&&i,l=e.dragConstraints,s=void 0!==l&&l,u=e.dragElastic,c=void 0===u?jv:u,d=e.dragMomentum,f=void 0===d||d;return Vc(Vc({},e),{drag:n,dragDirectionLock:o,dragPropagation:a,dragConstraints:s,dragElastic:c,dragMomentum:f})},e}();function Fv(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}var Dv={pan:Jg(function(e){var t=e.onPan,n=e.onPanStart,r=e.onPanEnd,o=e.onPanSessionStart,i=e.visualElement,a=t||n||r||o,l=(0,B.useRef)(null),s=(0,B.useContext)(_d).transformPagePoint,u={onSessionStart:o,onStart:n,onMove:t,onEnd:function(e,t){l.current=null,r&&r(e,t)}};(0,B.useEffect)(function(){null!==l.current&&l.current.updateHandlers(u)}),Dg(i,"pointerdown",a&&function(e){l.current=new xv(e,u,{transformPagePoint:s})}),ad(function(){return l.current&&l.current.end()})}),drag:Jg(function(e){var t=e.dragControls,n=e.visualElement,r=sd(function(){return new Lv(n)});(0,B.useEffect)(function(){return t&&t.subscribe(r)},[r,t]),(0,B.useEffect)(function(){return r.addListeners()},[r])})},Vv=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","SetAxisTarget","Unmount"],Bv=function(e){var t=e.treeType,n=void 0===t?"":t,r=e.build,o=e.getBaseTarget,i=e.makeTargetAnimatable,a=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,b,y=!1,w=g.latestValues,x=g.renderState,S=function(){var e=Vv.map(function(){return new $d}),t={},n={clearAllListeners:function(){return e.forEach(function(e){return e.clear()})},updatePropListeners:function(e){Vv.forEach(function(r){var o,i="on"+r,a=e[i];null===(o=t[r])||void 0===o||o.call(t),a&&(t[r]=n[i](a))})}};return e.forEach(function(e,t){n["on"+Vv[t]]=function(t){return e.add(t)},n["notify"+Vv[t]]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e.notify.apply(e,$c([],Nc(t),!1))}}),n}(),k=new Map,C=new Map,E={},_=Vc({},w);function O(){v&&y&&(P(),l(v,x,p.style,I.projection))}function P(){r(I,x,w,t,p)}function T(){S.notifyUpdate(w)}var j=d(p);for(var R in j){var A=j[R];void 0!==w[R]&&Wd(A)&&A.set(w[R],!1)}var z=Id(p),M=Ld(p),I=Vc(Vc({treeType:n,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){y=!0,v=I.current=e,I.projection&&I.projection.mount(e),M&&f&&!z&&(b=null==f?void 0:f.addVariantChild(I)),null==f||f.children.add(I),I.setProps(p)},unmount:function(){var e;null===(e=I.projection)||void 0===e||e.unmount(),Jc.update(T),Jc.render(O),C.forEach(function(e){return e()}),null==b||b(),null==f||f.children.delete(I),S.clearAllListeners(),v=void 0,y=!1},addVariantChild:function(e){var t,n=I.getClosestVariantNode();if(n)return null===(t=n.variantChildren)||void 0===t||t.add(e),function(){return n.variantChildren.delete(e)}},sortNodePosition:function(e){return c&&n===e.treeType?c(I.getInstance(),e.getInstance()):0},getClosestVariantNode:function(){return M?I:null==f?void 0:f.getClosestVariantNode()},getLayoutId:function(){return p.layoutId},getInstance:function(){return v},getStaticValue:function(e){return w[e]},setStaticValue:function(e,t){return w[e]=t},getLatestValues:function(){return w},setVisibility:function(e){I.isVisible!==e&&(I.isVisible=e,I.scheduleRender())},makeTargetAnimatable:function(e,t){return void 0===t&&(t=!0),i(I,e,p,t)},measureViewportBox:function(){return a(v,p)},addValue:function(e,t){I.hasValue(e)&&I.removeValue(e),k.set(e,t),w[e]=t.get(),function(e,t){var n=t.onChange(function(t){w[e]=t,p.onUpdate&&id.update(T,!1,!0)}),r=t.onRenderRequest(I.scheduleRender);C.set(e,function(){n(),r()})}(e,t)},removeValue:function(e){var t;k.delete(e),null===(t=C.get(e))||void 0===t||t(),C.delete(e),delete w[e],u(e,x)},hasValue:function(e){return k.has(e)},getValue:function(e,t){var n=k.get(e);return void 0===n&&void 0!==t&&(n=Hd(t),I.addValue(e,n)),n},forEachValue:function(e){return k.forEach(e)},readValue:function(e){var n;return null!==(n=w[e])&&void 0!==n?n:s(v,e,t)},setBaseTarget:function(e,t){_[e]=t},getBaseTarget:function(e){if(o){var t=o(p,e);if(void 0!==t&&!Wd(t))return t}return _[e]}},S),{build:function(){return P(),x},scheduleRender:function(){id.render(O,!1,!0)},syncRender:O,setProps:function(e){(e.transformTemplate||p.transformTemplate)&&I.scheduleRender(),p=e,S.updatePropListeners(e),E=function(e,t,n){var r;for(var o in t){var i=t[o],a=n[o];if(Wd(i))e.addValue(o,i);else if(Wd(a))e.addValue(o,Hd(i));else if(a!==i)if(e.hasValue(o)){var l=e.getValue(o);!l.hasAnimated&&l.set(i)}else e.addValue(o,Hd(null!==(r=e.getStaticValue(o))&&void 0!==r?r:i))}for(var o in n)void 0===t[o]&&e.removeValue(o);return t}(I,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(!z){var t=(null==f?void 0:f.getVariantContext())||{};return void 0!==p.initial&&(t.initial=p.initial),t}for(var n={},r=0;r<$v;r++){var o=Nv[r],i=p[o];(Ad(i)||!1===i)&&(n[o]=i)}return n}});return I}},Nv=$c(["initial"],Nc(mv),!1),$v=Nv.length;function Uv(e){return"string"==typeof e&&e.startsWith("var(--")}var Hv=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Wv(e,t,n){void 0===n&&(n=1),'Max CSS variable fallback depth detected in property "'.concat(e,'". This may indicate a circular fallback dependency.');var r=Nc(function(e){var t=Hv.exec(e);if(!t)return[,];var n=Nc(t,3);return[n[1],n[2]]}(e),2),o=r[0],i=r[1];if(o){var a=window.getComputedStyle(t).getPropertyValue(o);return a?a.trim():Uv(i)?Wv(i,t,n+1):i}}var qv,Gv=new Set(["width","height","top","left","right","bottom","x","y"]),Yv=function(e){return Gv.has(e)},Xv=function(e,t){e.set(t,!1),e.set(t)},Zv=function(e){return e===uf||e===xf};!function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"}(qv||(qv={}));var Kv=function(e,t){return parseFloat(e.split(", ")[t])},Qv=function(e,t){return function(n,r){var o=r.transform;if("none"===o||!o)return 0;var i=o.match(/^matrix3d\((.+)\)$/);if(i)return Kv(i[1],t);var a=o.match(/^matrix\((.+)\)$/);return a?Kv(a[1],e):0}},Jv=new Set(["x","y","z"]),eb=fm.filter(function(e){return!Jv.has(e)}),tb={width:function(e,t){var n=e.x,r=t.paddingLeft,o=void 0===r?"0":r,i=t.paddingRight,a=void 0===i?"0":i;return n.max-n.min-parseFloat(o)-parseFloat(a)},height:function(e,t){var n=e.y,r=t.paddingTop,o=void 0===r?"0":r,i=t.paddingBottom,a=void 0===i?"0":i;return n.max-n.min-parseFloat(o)-parseFloat(a)},top:function(e,t){var n=t.top;return parseFloat(n)},left:function(e,t){var n=t.left;return parseFloat(n)},bottom:function(e,t){var n=e.y,r=t.top;return parseFloat(r)+(n.max-n.min)},right:function(e,t){var n=e.x,r=t.left;return parseFloat(r)+(n.max-n.min)},x:Qv(4,13),y:Qv(5,14)};function nb(e,t,n,r){return function(e){return Object.keys(e).some(Yv)}(t)?function(e,t,n,r){void 0===n&&(n={}),void 0===r&&(r={}),t=Vc({},t),r=Vc({},r);var o=Object.keys(t).filter(Yv),i=[],a=!1,l=[];if(o.forEach(function(o){var s=e.getValue(o);if(e.hasValue(o)){var u,c=n[o],d=av(c),f=t[o];if(Kp(f)){var p=f.length,h=null===f[0]?1:0;c=f[h],d=av(c);for(var m=h;m<p;m++)u?qd(av(f[m])):(u=av(f[m]),qd(u===d||Zv(d)&&Zv(u)))}else u=av(f);if(d!==u)if(Zv(d)&&Zv(u)){var g=s.get();"string"==typeof g&&s.set(parseFloat(g)),"string"==typeof f?t[o]=parseFloat(f):Array.isArray(f)&&u===xf&&(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):(a||(i=function(e){var t=[];return eb.forEach(function(n){var r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.syncRender(),t}(e),a=!0),l.push(o),r[o]=void 0!==r[o]?r[o]:t[o],Xv(s,f))}}),l.length){var s=function(e,t,n){var r=t.measureViewportBox(),o=t.getInstance(),i=getComputedStyle(o),a=i.display,l={};"none"===a&&t.setStaticValue("display",e.display||"block"),n.forEach(function(e){l[e]=tb[e](r,i)}),t.syncRender();var s=t.measureViewportBox();return n.forEach(function(n){var r=t.getValue(n);Xv(r,l[n]),e[n]=tb[n](s,i)}),e}(t,e,l);return i.length&&i.forEach(function(t){var n=Nc(t,2),r=n[0],o=n[1];e.getValue(r).set(o)}),e.syncRender(),{target:s,transitionEnd:r}}return{target:t,transitionEnd:r}}(e,t,n,r):{target:t,transitionEnd:r}}var rb={treeType:"dom",readValueFromInstance:function(e,t){if(mm(t)){var n=ch(t);return n&&n.default||0}var r,o=(r=e,window.getComputedStyle(r));return(Xm(t)?o.getPropertyValue(t):o[t])||0},sortNodePosition:function(e,t){return 2&e.compareDocumentPosition(t)?1:-1},getBaseTarget:function(e,t){var n;return null===(n=e.style)||void 0===n?void 0:n[t]},measureViewportBox:function(e,t){return Mv(e,t.transformPagePoint)},resetTransform:function(e,t,n){var r=n.transformTemplate;t.style.transform=r?r({},""):"none",e.scheduleRender()},restoreTransform:function(e,t){e.style.transform=t.style.transform},removeValueFromRenderState:function(e,t){var n=t.vars,r=t.style;delete n[e],delete r[e]},makeTargetAnimatable:function(e,t,n,r){var o=n.transformValues;void 0===r&&(r=!0);var i=t.transition,a=t.transitionEnd,l=Bc(t,["transition","transitionEnd"]),s=function(e,t,n){var r,o,i={};for(var a in e)i[a]=null!==(r=cv(a,t))&&void 0!==r?r:null===(o=n.getValue(a))||void 0===o?void 0:o.get();return i}(l,i||{},e);if(o&&(a&&(a=o(a)),l&&(l=o(l)),s&&(s=o(s))),r){!function(e,t,n){var r,o,i,a,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!==(r=n[c])&&void 0!==r?r:e.readValue(c))&&void 0!==o?o:t[c]),null!=f&&("string"==typeof f&&(nv(f)||rv(f))?f=parseFloat(f):!sv(f)&&Bf.test(d)&&(f=dh(c,d)),e.addValue(c,Hd(f)),null!==(i=(a=n)[c])&&void 0!==i||(a[c]=f),e.setBaseTarget(c,f))}}(e,l,s);var u=function(e,t,n,r){var o=function(e,t,n){var r,o=Bc(t,[]),i=e.getInstance();if(!(i instanceof Element))return{target:o,transitionEnd:n};for(var a in n&&(n=Vc({},n)),e.forEachValue(function(e){var t=e.get();if(Uv(t)){var n=Wv(t,i);n&&e.set(n)}}),o){var l=o[a];if(Uv(l)){var s=Wv(l,i);s&&(o[a]=s,n&&(null!==(r=n[a])&&void 0!==r||(n[a]=l)))}}return{target:o,transitionEnd:n}}(e,t,r);return nb(e,t=o.target,n,r=o.transitionEnd)}(e,l,s,a);a=u.transitionEnd,l=u.target}return Vc({transition:i,transitionEnd:a},l)},scrapeMotionValuesFromProps:gg,build:function(e,t,n,r,o){void 0!==e.isVisible&&(t.style.visibility=e.isVisible?"visible":"hidden"),Km(t,n,r,o.transformTemplate)},render:pg},ob=Bv(rb),ib=Bv(Vc(Vc({},rb),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var n;return mm(t)?(null===(n=ch(t))||void 0===n?void 0:n.default)||0:(t=hg.has(t)?t:fg(t),e.getAttribute(t))},scrapeMotionValuesFromProps:vg,build:function(e,t,n,r,o){lg(t,n,r,o.transformTemplate)},render:mg})),ab=function(e,t){return qm(e)?ib(t,{enableHardwareAcceleration:!1}):ob(t,{enableHardwareAcceleration:!0})};function lb(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var sb={correct:function(e,t){if(!t.target)return e;if("string"==typeof e){if(!xf.test(e))return e;e=parseFloat(e)}var n=lb(e,t.target.x),r=lb(e,t.target.y);return"".concat(n,"% ").concat(r,"%")}},ub="_$css",cb={correct:function(e,t){var n=t.treeScale,r=t.projectionDelta,o=e,i=e.includes("var("),a=[];i&&(e=e.replace(Hv,function(e){return a.push(e),ub}));var l=Bf.parse(e);if(l.length>5)return o;var s=Bf.createTransformer(e),u="number"!=typeof l[0]?1:0,c=r.x.scale*n.x,d=r.y.scale*n.y;l[0+u]/=c,l[1+u]/=d;var f=Dd(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(i){var h=0;p=p.replace(ub,function(){var e=a[h];return h++,e})}return p}},db=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Dc(t,e),t.prototype.componentDidMount=function(){var e,t=this,n=this.props,r=n.visualElement,o=n.layoutGroup,i=n.switchLayoutGroup,a=n.layoutId,l=r.projection;e=fb,Object.assign(sm,e),l&&((null==o?void 0:o.group)&&o.group.add(l),(null==i?void 0:i.register)&&a&&i.register(l),l.root.didUpdate(),l.addEventListener("animationComplete",function(){t.safeToRemove()}),l.setOptions(Vc(Vc({},l.options),{onExitComplete:function(){return t.safeToRemove()}}))),xm.hasEverUpdated=!0},t.prototype.getSnapshotBeforeUpdate=function(e){var t=this,n=this.props,r=n.layoutDependency,o=n.visualElement,i=n.drag,a=n.isPresent,l=o.projection;return l?(l.isPresent=a,i||e.layoutDependency!==r||void 0===r?l.willUpdate():this.safeToRemove(),e.isPresent!==a&&(a?l.promote():l.relegate()||id.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,n=e.layoutGroup,r=e.switchLayoutGroup,o=t.projection;o&&(o.scheduleCheckAfterUnmount(),(null==n?void 0:n.group)&&n.group.remove(o),(null==r?void 0:r.deregister)&&r.deregister(o))},t.prototype.safeToRemove=function(){var e=this.props.safeToRemove;null==e||e()},t.prototype.render=function(){return null},t}(B.Component),fb={borderRadius:Vc(Vc({},sb),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:sb,borderTopRightRadius:sb,borderBottomLeftRadius:sb,borderBottomRightRadius:sb,boxShadow:cb},pb={measureLayout:function(e){var t=Nc(vd(),2),n=t[0],r=t[1],o=(0,B.useContext)(pd);return B.createElement(db,Vc({},e,{layoutGroup:o,switchLayoutGroup:(0,B.useContext)(Nm),isPresent:n,safeToRemove:r}))}},hb=Sm({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}}}),mb={current:void 0},gb=Sm({measureScroll:function(e){return{x:e.scrollLeft,y:e.scrollTop}},defaultParent:function(){if(!mb.current){var e=new hb(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),mb.current=e}return mb.current},resetTransform:function(e,t){e.style.transform=null!=t?t:"none"}}),vb=Vc(Vc(Vc(Vc({},wv),ev),Dv),pb),bb=Hm(function(e,t){return function(e,t,n,r,o){var i=t.forwardMotionProps,a=void 0!==i&&i,l=qm(e)?kg:Cg;return Vc(Vc({},l),{preloadedFeatures:n,useRender:cg(a),createVisualElement:r,projectionNodeConstructor:o,Component:e})}(e,t,vb,ab,gb)});const yb=(e,t)=>e.find(e=>e.id===t);function wb(e,t){const n=xb(e,t);return{position:n,index:n?e[n].findIndex(e=>e.id===t):-1}}function xb(e,t){for(const[n,r]of Object.entries(e))if(yb(r,t))return n}function Sb(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 kb={initial:e=>{const{position:t}=e,n=["top","bottom"].includes(t)?"y":"x";let r=["top-right","bottom-right"].includes(t)?1:-1;return"bottom"===t&&(r=1),{opacity:0,[n]:24*r}},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]}}},Cb=(0,B.memo)(e=>{const{id:t,message:n,onCloseComplete:r,onRequestRemove:o,requestClose:i=!1,position:a="bottom",duration:l=5e3,containerStyle:s,motionVariants:u=kb,toastSpacing:c="0.5rem"}=e,[d,f]=(0,B.useState)(l),p=null===(h=(0,B.useContext)(ld))||h.isPresent;var h;gd(()=>{p||r?.()},[p]),gd(()=>{f(l)},[l]);const m=()=>{p&&o()};(0,B.useEffect)(()=>{p&&i&&o()},[p,i,o]),function(e,t){const n=function(e,t=[]){const n=(0,B.useRef)(e);return(0,B.useEffect)(()=>{n.current=e}),(0,B.useCallback)((...e)=>n.current?.(...e),t)}(e);(0,B.useEffect)(()=>{if(null==t)return;let e=null;return e=window.setTimeout(()=>{n()},t),()=>{e&&window.clearTimeout(e)}},[t,n])}(m,d);const g=(0,B.useMemo)(()=>({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:c,...s}),[s,c]),v=(0,B.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}}(a),[a]);return(0,Pr.jsx)(bb.div,{layout:!0,className:"chakra-toast",variants:u,initial:"initial",animate:"animate",exit:"exit",onHoverStart:()=>f(null),onHoverEnd:()=>f(l),custom:{position:a},style:v,children:(0,Pr.jsx)(_r.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:g,children:Pt(n,{id:t,onClose:m})})})});Cb.displayName="ToastComponent";const Eb={path:(0,Pr.jsxs)("g",{stroke:"currentColor",strokeWidth:"1.5",children:[(0,Pr.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,Pr.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,Pr.jsx)("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},_b=vo((e,t)=>{const{as:n,viewBox:r,color:o="currentColor",focusable:i=!1,children:a,className:l,__css:s,...u}=e,c={ref:t,focusable:i,className:Rr("chakra-icon",l),__css:{w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:o,...s,...xo("Icon",e)}},d=r??Eb.viewBox;if(n&&"string"!=typeof n)return(0,Pr.jsx)(_r.svg,{as:n,...c,...u});const f=a??Eb.path;return(0,Pr.jsx)(_r.svg,{verticalAlign:"middle",viewBox:d,...c,...u,children:f})});function Ob(e){return(0,Pr.jsx)(_b,{viewBox:"0 0 24 24",...e,children:(0,Pr.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"})})}_b.displayName="Icon";const Pb=so({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),Tb=vo((e,t)=>{const n=xo("Spinner",e),{label:r="Loading...",thickness:o="2px",speed:i="0.45s",emptyColor:a="transparent",className:l,...s}=jr(e),u=Rr("chakra-spinner",l),c={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:o,borderBottomColor:a,borderLeftColor:a,animation:`${Pb} ${i} linear infinite`,...n};return(0,Pr.jsx)(_r.div,{ref:t,__css:c,className:u,...s,children:r&&(0,Pr.jsx)(_r.span,{srOnly:!0,children:r})})});Tb.displayName="Spinner";const[jb,Rb]=to({name:"AlertContext",hookName:"useAlertContext",providerName:"<Alert />"}),[Ab,zb]=to({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:"<Alert />"}),Mb={info:{icon:function(e){return(0,Pr.jsx)(_b,{viewBox:"0 0 24 24",...e,children:(0,Pr.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:Ob,colorScheme:"orange"},success:{icon:function(e){return(0,Pr.jsx)(_b,{viewBox:"0 0 24 24",...e,children:(0,Pr.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:Ob,colorScheme:"red"},loading:{icon:Tb,colorScheme:"blue"}},Ib=vo(function(e,t){const{status:n="info",addRole:r=!0,...o}=jr(e),i=e.colorScheme??function(e){return Mb[e].colorScheme}(n),a=So("Alert",{...e,colorScheme:i}),l={width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden",...a.container};return(0,Pr.jsx)(jb,{value:{status:n},children:(0,Pr.jsx)(Ab,{value:a,children:(0,Pr.jsx)(_r.div,{"data-status":n,role:r?"alert":void 0,ref:t,...o,className:Rr("chakra-alert",e.className),__css:l})})})});function Lb(e){const{status:t}=Rb(),n=function(e){return Mb[e].icon}(t),r=zb(),o="loading"===t?r.spinner:r.icon;return(0,Pr.jsx)(_r.span,{display:"inherit","data-status":t,...e,className:Rr("chakra-alert__icon",e.className),__css:o,children:e.children||(0,Pr.jsx)(n,{h:"100%",w:"100%"})})}Ib.displayName="Alert",Lb.displayName="AlertIcon";const Fb=vo(function(e,t){const n=zb(),{status:r}=Rb();return(0,Pr.jsx)(_r.div,{ref:t,"data-status":r,...e,className:Rr("chakra-alert__title",e.className),__css:n.title})});Fb.displayName="AlertTitle";const Db=vo(function(e,t){const{status:n}=Rb(),r={display:"inline",...zb().description};return(0,Pr.jsx)(_r.div,{ref:t,"data-status":n,...e,className:Rr("chakra-alert__desc",e.className),__css:r})});function Vb(e){return(0,Pr.jsx)(_b,{focusable:"false","aria-hidden":!0,...e,children:(0,Pr.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"})})}Db.displayName="AlertDescription";const Bb=vo(function(e,t){const n=xo("CloseButton",e),{children:r,isDisabled:o,__css:i,...a}=jr(e);return(0,Pr.jsx)(_r.button,{type:"button","aria-label":"Close",ref:t,disabled:o,__css:{outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,...n,...i},...a,children:r||(0,Pr.jsx)(Vb,{width:"1em",height:"1em"})})});Bb.displayName="CloseButton";const Nb=e=>{const{status:t,variant:n="solid",id:r,title:o,isClosable:i,onClose:a,description:l,colorScheme:s,icon:u}=e,c=r?{root:`toast-${r}`,title:`toast-${r}-title`,description:`toast-${r}-description`}:void 0;return(0,Pr.jsxs)(Ib,{addRole:!1,status:t,variant:n,id:c?.root,alignItems:"start",borderRadius:"md",boxShadow:"lg",paddingEnd:8,textAlign:"start",width:"auto",colorScheme:s,children:[(0,Pr.jsx)(Lb,{children:u}),(0,Pr.jsxs)(_r.div,{flex:"1",maxWidth:"100%",children:[o&&(0,Pr.jsx)(Fb,{id:c?.title,children:o}),l&&(0,Pr.jsx)(Db,{id:c?.description,display:"block",children:l})]}),i&&(0,Pr.jsx)(Bb,{size:"sm",onClick:a,position:"absolute",insetEnd:1,top:1})]})};function $b(e={}){const{render:t,toastComponent:n=Nb}=e;return r=>"function"==typeof t?t({...r,...e}):(0,Pr.jsx)(n,{...r,...e})}const Ub=function(e){let t=e;const n=new Set,r=e=>{t=e(t),n.forEach(e=>e())};return{getState:()=>t,subscribe:t=>(n.add(t),()=>{r(()=>e),n.delete(t)}),removeToast:(e,t)=>{r(n=>({...n,[t]:n[t].filter(t=>t.id!=e)}))},notify:(e,t)=>{const n=function(e,t={}){Hb+=1;const n=t.id??Hb,r=t.position??"bottom";return{id:n,message:e,position:r,duration:t.duration,onCloseComplete:t.onCloseComplete,onRequestRemove:()=>Ub.removeToast(String(n),r),status:t.status,requestClose:!1,containerStyle:t.containerStyle}}(e,t),{position:o,id:i}=n;return r(e=>{const t=o.includes("top")?[n,...e[o]??[]]:[...e[o]??[],n];return{...e,[o]:t}}),i},update:(e,t)=>{e&&r(n=>{const r={...n},{position:o,index:i}=wb(r,e);return o&&-1!==i&&(r[o][i]={...r[o][i],...t,message:$b(t)}),r})},closeAll:({positions:e}={})=>{r(t=>(e??["bottom","bottom-right","bottom-left","top","top-left","top-right"]).reduce((e,n)=>(e[n]=t[n].map(e=>({...e,requestClose:!0})),e),{...t}))},close:e=>{r(t=>{const n=xb(t,e);return n?{...t,[n]:t[n].map(t=>t.id==e?{...t,requestClose:!0}:t)}:t})},isActive:e=>Boolean(wb(Ub.getState(),e).position)}}({top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]});let Hb=0;var Wb=n(961);const[qb,Gb]=to({strict:!1,name:"PortalContext"}),Yb="chakra-portal",Xb=e=>(0,Pr.jsx)("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0},children:e.children}),Zb=e=>{const{appendToParentPortal:t,children:n}=e,[r,o]=(0,B.useState)(null),i=(0,B.useRef)(null),[,a]=(0,B.useState)({});(0,B.useEffect)(()=>a({}),[]);const l=Gb(),s=Ac();Po(()=>{if(!r)return;const e=r.ownerDocument,n=t?l??e.body:e.body;if(!n)return;i.current=e.createElement("div"),i.current.className=Yb,n.appendChild(i.current),a({});const o=i.current;return()=>{n.contains(o)&&n.removeChild(o)}},[r]);const u=s?.zIndex?(0,Pr.jsx)(Xb,{zIndex:s?.zIndex,children:n}):n;return i.current?(0,Wb.createPortal)((0,Pr.jsx)(qb,{value:i.current,children:u}),i.current):(0,Pr.jsx)("span",{ref:e=>{e&&o(e)}})},Kb=e=>{const{children:t,containerRef:n,appendToParentPortal:r}=e,o=n.current,i=o??("undefined"!=typeof window?document.body:void 0),a=(0,B.useMemo)(()=>{const e=o?.ownerDocument.createElement("div");return e&&(e.className=Yb),e},[o]),[,l]=(0,B.useState)({});return Po(()=>l({}),[]),Po(()=>{if(a&&i)return i.appendChild(a),()=>{i.removeChild(a)}},[a,i]),i&&a?(0,Wb.createPortal)((0,Pr.jsx)(qb,{value:r?a:null,children:t}),a):null};function Qb(e){const t={appendToParentPortal:!0,...e},{containerRef:n,...r}=t;return n?(0,Pr.jsx)(Kb,{containerRef:n,...r}):(0,Pr.jsx)(Zb,{...r})}Qb.className=Yb,Qb.selector=".chakra-portal",Qb.displayName="Portal";const[Jb,ey]=to({name:"ToastOptionsContext",strict:!1}),ty=e=>{const t=(0,B.useSyncExternalStore)(Ub.subscribe,Ub.getState,Ub.getState),{motionVariants:n,component:r=Cb,portalProps:o,animatePresenceProps:i}=e,a=Object.keys(t).map(e=>{const o=t[e];return(0,Pr.jsx)("div",{role:"region","aria-live":"polite","aria-label":`Notifications-${e}`,id:`chakra-toast-manager-${e}`,style:Sb(e),children:(0,Pr.jsx)(md,{...i,initial:!1,children:o.map(e=>(0,Pr.jsx)(r,{motionVariants:n,...e},e.id))})},e)});return(0,Pr.jsx)(Qb,{...o,children:a})},ny=(ry=vc,function({children:e,theme:t=ry,toastOptions:n,...r}){return(0,Pr.jsxs)(Lc,{theme:t,...r,children:[(0,Pr.jsx)(Jb,{value:n?.defaultOptions,children:e}),(0,Pr.jsx)(ty,{...n})]})});var ry;function oy(e){return oy="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},oy(e)}function iy(){return iy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},iy.apply(null,arguments)}function ay(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ly(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ay(Object(n),!0).forEach(function(t){sy(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ay(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function sy(e,t,n){return(t=function(e){var t=function(e){if("object"!=oy(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=oy(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==oy(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uy(e){return function(e){if(Array.isArray(e))return my(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||hy(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 cy(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var s=r&&r.prototype instanceof l?r:l,u=Object.create(s.prototype);return dy(u,"_invoke",function(n,r,o){var i,l,s,u=0,c=o||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,l=0,s=e,f.n=n,a}};function p(n,r){for(l=n,s=r,t=0;!d&&u&&!o&&t<c.length;t++){var o,i=c[t],p=f.p,h=i[2];n>3?(o=h===r)&&(s=i[(l=i[4])?5:(l=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(l=0,f.v=r,f.n=i[1]):p<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,l=0))}if(o||n>1)return a;throw d=!0,r}return function(o,c,h){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,h),l=c,s=h;(t=l<2?e:s)||!d;){i||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,i){if(l||(o="next"),t=i[o]){if(!(t=t.call(i,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=i.return)&&t.call(i),l<2&&(s=TypeError("The iterator does not provide a '"+o+"' method"),l=1);i=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==a)break}catch(t){i=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,o,i),!0),u}var a={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(dy(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,dy(e,o,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,dy(d,"constructor",u),dy(u,"constructor",s),s.displayName="GeneratorFunction",dy(u,o,"GeneratorFunction"),dy(d),dy(d,o,"Generator"),dy(d,r,function(){return this}),dy(d,"toString",function(){return"[object Generator]"}),(cy=function(){return{w:i,m:f}})()}function dy(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}dy=function(e,t,n,r){function i(t,n){dy(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},dy(e,t,n,r)}function fy(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function py(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||hy(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 hy(e,t){if(e){if("string"==typeof e)return my(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?my(e,t):void 0}}function my(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var gy=wp.serverSideRender?wp.serverSideRender:wp.components.ServerSideRender,vy="undefined"!=typeof _UR_BLOCKS_&&_UR_BLOCKS_,by=vy.urRestApiNonce,yy=vy.restURL,wy=vy.logoUrl;function xy(){return xy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xy.apply(null,arguments)}function Sy(e){return Sy="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},Sy(e)}function ky(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Cy(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ky(Object(n),!0).forEach(function(t){Ey(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ky(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ey(e,t,n){return(t=function(e){var t=function(e){if("object"!=Sy(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Sy(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Sy(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _y=$.name,Oy=Cy(Cy({},$),{},{icon:function(e){return N().createElement(_r.svg,xy({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"#475BB2",h:"6",w:"6"},e),N().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,Io.useBlockProps)(),n=e.attributes.formId,r=e.setAttributes,o=$.name,i=py((0,B.useState)(""),2),a=i[0],l=i[1],s=py((0,B.useState)(!!n),2),u=s[0],c=s[1],d=py((0,B.useState)("logged_out"),2),f=d[0],p=d[1];(0,B.useEffect)(function(){var e=function(){var e,t=(e=cy().m(function e(){var t,n;return cy().w(function(e){for(;;)switch(e.p=e.n){case 0:if(a){e.n=4;break}return e.p=1,e.n=2,xe({path:yy+"user-registration/v1/gutenberg-blocks/form-list",method:"GET",headers:{"X-WP-Nonce":by}});case 2:(t=e.v).success&&l(t.form_lists),e.n=4;break;case 3:e.p=3,n=e.v,console.error("Error fetching data:",n);case 4:return e.a(2)}},e,null,[[1,3]])}),function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){fy(i,r,o,a,l,"next",e)}function l(e){fy(i,r,o,a,l,"throw",e)}a(void 0)})});return function(){return t.apply(this,arguments)}}();e()},[]);var h=Object.keys(a).map(function(e){return{value:Number(e),label:a[e]}}),m=function(e){r({formId:e}),c(e)};return N().createElement(ny,null,N().createElement(Or,iy({},t,{borderWidth:"1px",borderRadius:"lg"}),N().createElement(Io.InspectorControls,{key:"ur-gutenberg-registration-form-inspector-controls"},N().createElement(Mo.PanelBody,{title:J("User Registration Forms","user-registration")},N().createElement(Mo.SelectControl,{key:"ur-gutenberg-registration-form-registration-form",value:n,options:[{label:J("Select a Form","user-registration"),value:""}].concat(uy(h)),onChange:m}),u&&N().createElement(Mo.SelectControl,{key:"ur-gutenberg-registration-form-user-login-state",label:J("User State","user-registration"),value:f,options:[{label:"Logged In",value:"logged_in"},{label:"Logged Out",value:"logged_out"}],onChange:p}))),u?N().createElement(Mo.Disabled,null,N().createElement(gy,{key:"ur-gutenberg-registration-form-server-side-renderer",block:o,attributes:ly(ly({},e.attributes),{},{userState:f})})):N().createElement(ko,null,N().createElement(Co,null,N().createElement(Eo,null,N().createElement(To,{src:wy})),N().createElement(Eo,null,N().createElement(jo,{as:"h3",ml:5},J("User Registration Forms","user-registration"))),N().createElement(Eo,null,N().createElement(Ao,{spacing:"3"},N().createElement(zo,{fontSize:"sm",as:"i"},J("Select a registration form name to display one of your form.","user-registration")))),N().createElement(Eo,null,N().createElement(Or,{w:"sm",m:"4"},N().createElement(Mo.SelectControl,{key:"ur-gutenberg-registration-form-select-control",value:n,options:[{label:J("Select a Form","user-registration"),value:""}].concat(uy(h)),onChange:m})))))))},save:function(e){return React.createElement("div",null,e.attributes.formId)}});const Py=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 Ty(e){return Ty="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},Ty(e)}function jy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ry(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jy(Object(n),!0).forEach(function(t){Ay(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jy(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ay(e,t,n){return(t=function(e){var t=function(e){if("object"!=Ty(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Ty(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ty(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zy(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var My=wp.serverSideRender?wp.serverSideRender:wp.components.ServerSideRender;function Iy(e){return Iy="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},Iy(e)}function Ly(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Fy(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ly(Object(n),!0).forEach(function(t){Dy(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ly(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Dy(e,t,n){return(t=function(e){var t=function(e){if("object"!=Iy(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Iy(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Iy(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Vy=Py.name,By=Fy(Fy({},Py),{},{icon:function(e){return N().createElement(_r.svg,xy({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"#475BB2",h:"6",w:"6"},e),N().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"}),N().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,Io.useBlockProps)(),n=Py.name,r=e.attributes,o=(r.redirectUrl,r.logoutUrl,e.setAttributes,function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return zy(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?zy(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,B.useState)("logged_out"),2)),i=o[0],a=o[1];return N().createElement(N().Fragment,null,N().createElement(Io.InspectorControls,{key:"ur-gutenberg-login-form-inspector-controls"},N().createElement(Mo.PanelBody,{title:J("Login Form Settings","user-registration")},N().createElement("p",null,"Want to configure where users will be redirected to after login or logout? Click ",N().createElement("a",{target:"_blank",href:"/wp-admin/admin.php?page=user-registration-login-forms&tab=ur-tab-login-form-settings&tab-item=advanced-settings"},"here.")),N().createElement(Mo.SelectControl,{key:"ur-gutenberg-login-user-login-state",label:J("User State","user-registration"),value:i,options:[{label:"Logged In",value:"logged_in"},{label:"Logged Out",value:"logged_out"}],onChange:a}))),N().createElement(Or,t,N().createElement(Mo.Disabled,null,N().createElement(My,{key:"ur-gutenberg-login-form-server-side-renderer",block:n,attributes:Ry(Ry({},e.attributes),{},{userState:i})}))))},save:function(e){return React.createElement("div",null,"Login Form")}});const Ny=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 $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 Uy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Hy(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Uy(Object(n),!0).forEach(function(t){Wy(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Uy(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Wy(e,t,n){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 n=t.call(e,"string");if("object"!=$y(n))return n;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:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qy(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Gy=wp.serverSideRender?wp.serverSideRender:wp.components.ServerSideRender;function Yy(e){return Yy="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},Yy(e)}function Xy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Zy(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xy(Object(n),!0).forEach(function(t){Ky(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xy(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ky(e,t,n){return(t=function(e){var t=function(e){if("object"!=Yy(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Yy(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Yy(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Qy=Ny.name,Jy=Zy(Zy({},Ny),{},{icon:function(e){return N().createElement(_r.svg,xy({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"#475BB2",h:"6",w:"6"},e),N().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,Io.useBlockProps)(),n=Ny.name,r=e.attributes,o=r.redirectUrl,i=r.logoutUrl,a=e.setAttributes,l=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return qy(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?qy(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,B.useState)("logged_out"),2),s=l[0],u=l[1];return N().createElement(N().Fragment,null,N().createElement(Io.InspectorControls,{key:"ur-gutenberg-myaccount-inspector-controls"},N().createElement(Mo.PanelBody,{title:J("Myaccount Settings","user-registration")},N().createElement(Mo.TextControl,{key:"ur-gutenberg-myaccount-redirect-url",label:J("Redirect URL","user-registration"),value:o,onChange:function(e){a({redirectUrl:e})}}),N().createElement(Mo.TextControl,{key:"ur-gutenberg-myaccount-logout-url",label:J("Logout URL","user-registration"),value:i,onChange:function(e){a({logoutUrl:e})}}),N().createElement(Mo.SelectControl,{key:"ur-gutenberg-myaccount-user-login-state",label:J("User State","user-registration"),value:s,options:[{label:"Logged In",value:"logged_in"},{label:"Logged Out",value:"logged_out"}],onChange:u}))),N().createElement(Or,t,N().createElement(Mo.Disabled,null,N().createElement(Gy,{key:"ur-gutenberg-myaccount-server-side-renderer",block:n,attributes:Hy(Hy({},e.attributes),{},{userState:s})}))))},save:function(e){return React.createElement("div",null,"myaccount")}});const ew=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 tw=wp.serverSideRender?wp.serverSideRender:wp.components.ServerSideRender;function nw(e){return nw="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},nw(e)}function rw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ow(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rw(Object(n),!0).forEach(function(t){iw(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rw(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function iw(e,t,n){return(t=function(e){var t=function(e){if("object"!=nw(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=nw(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==nw(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var aw=ew.name,lw=ow(ow({},ew),{},{icon:function(e){return N().createElement(_r.svg,xy({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"#475BB2",h:"6",w:"6"},e),N().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,Io.useBlockProps)(),n=ew.name;return N().createElement(N().Fragment,null,N().createElement(Or,t,N().createElement(tw,{key:"ur-gutenberg-login-form-server-side-renderer",block:n,attributes:e.attributes})))},save:function(e){return React.createElement("div",null,"Edit profile ")}});const sw=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 uw=wp.serverSideRender?wp.serverSideRender:wp.components.ServerSideRender;function cw(e){return cw="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},cw(e)}function dw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function fw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dw(Object(n),!0).forEach(function(t){pw(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dw(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function pw(e,t,n){return(t=function(e){var t=function(e){if("object"!=cw(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=cw(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==cw(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var hw=sw.name,mw=fw(fw({},sw),{},{icon:function(e){return N().createElement(_r.svg,xy({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"#475BB2",h:"6",w:"6"},e),N().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,Io.useBlockProps)(),n=sw.name;return N().createElement(N().Fragment,null,N().createElement(Or,t,N().createElement(uw,{key:"ur-gutenberg-login-form-server-side-renderer",block:n,attributes:e.attributes})))},save:function(e){return React.createElement("div",null,"Edit Password")}});const gw=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"user-registration/login-logout-menu","title":"URM Login | Logout","category":"user-registration","parent":["core/navigation"],"description":"A block that provides links for login and logout.","keywords":["login","logout","authentication","user"],"supports":{"html":false},"attributes":{"loginPage":{"type":"string","default":""},"loginLabel":{"type":"string","default":"Login"},"logoutLabel":{"type":"string","default":"Logout"}},"textdomain":"user-registration"}');var vw="undefined"!=typeof _UR_BLOCKS_&&_UR_BLOCKS_,bw=vw.pages,yw=vw.login_page_id;function ww(e){return ww="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},ww(e)}function xw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Sw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xw(Object(n),!0).forEach(function(t){kw(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xw(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function kw(e,t,n){return(t=function(e){var t=function(e){if("object"!=ww(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=ww(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ww(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Cw=gw.name,Ew=Sw(Sw({},gw),{},{icon:function(e){return N().createElement(_r.svg,xy({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"#475BB2",h:"6",w:"6"},e),N().createElement("path",{fillRule:"evenodd",d:"M3 12a.9.9 0 0 1 .9-.9h9.3a.9.9 0 0 1 0 1.8H3.9A.9.9 0 0 1 3 12Zm10.23-5.32a.9.9 0 0 1 1.28 0l4.5 4.5a.9.9 0 0 1 0 1.28l-4.5 4.5a.9.9 0 1 1-1.28-1.28L16.72 12l-3.49-3.5a.9.9 0 0 1 0-1.28Z",clipRule:"evenodd"}),N().createElement("path",{fillRule:"evenodd",d:"M5.1 3A2.1 2.1 0 0 0 3 5.1v13.8A2.1 2.1 0 0 0 5.1 21h8.1a.9.9 0 0 0 0-1.8H5.1a.3.3 0 0 1-.3-.3V5.1a.3.3 0 0 1 .3-.3h8.1a.9.9 0 0 0 0-1.8H5.1Z",clipRule:"evenodd"}))},edit:function(e){var t=(0,Io.useBlockProps)(),n=e.attributes,r=e.setAttributes,o=n.loginPage,i=n.loginLabel,a=n.logoutLabel;return N().createElement(N().Fragment,null,N().createElement(Io.InspectorControls,{key:"ur-gutenberg-login-logout-menu-inspector-controls"},N().createElement(Mo.PanelBody,{title:"Login | Logout Menu Settings"},N().createElement(Mo.TextControl,{label:J("Login Label","user-registration"),value:i,onChange:function(e){return r({loginLabel:e})}}),N().createElement(Mo.SelectControl,{label:J("Login Page","user-registration"),options:bw,value:o||yw,onChange:function(e){return r({loginPage:e})}}),N().createElement(Mo.TextControl,{label:J("Logout Label","user-registration"),value:a,onChange:function(e){return r({logoutLabel:e})}}))),N().createElement("div",t,N().createElement("a",{href:"#"},a)))}});const _w=JSON.parse('{"$schema":"https://schemas.wp.org/block-json/1.1","apiVersion":3,"name":"user-registration/content-restriction-enhanced","version":"1.0.0","title":"Content Restriction","category":"user-registration","description":"The block restricts the content.","keywords":["user registration content restriction","content restriction"],"textdomain":"user-registration","example":{"attributes":{}},"supports":{"className":false,"customClassName":false,"reusable":false},"attributes":{"accessAllRoles":{"type":"string","default":""},"accessSpecificRoles":{"type":"array","items":{"type":"string"},"default":[]},"accessMembershipRoles":{"type":"array","items":{"type":"string"},"default":[]},"accessControl":{"type":"string","default":"access"},"content":{"type":"string","selector":"div"},"message":{"type":"string","default":""},"enableContentRestriction":{"type":"boolean","default":false}},"editorScript":"user-registration-blocks-editor","editorStyle":"user-registration-blocks-editor"}');function Ow(...e){return t=>{e.forEach(e=>{!function(e,t){if(null!=e)if("function"!=typeof e)try{e.current=t}catch(n){throw new Error(`Cannot assign value '${t}' to ref '${e}'`)}else e(t)}(e,t)})}}const Pw=e=>e?"":void 0,[Tw,jw]=to({name:"FormControlStylesContext",errorMessage:"useFormControlStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<FormControl />\" "}),[Rw,Aw]=to({strict:!1,name:"FormControlContext"}),zw=vo(function(e,t){const n=So("Form",e),r=jr(e),{getRootProps:o,htmlProps:i,...a}=function(e){const{id:t,isRequired:n,isInvalid:r,isDisabled:o,isReadOnly:i,...a}=e,l=(0,B.useId)(),s=t||`field-${l}`,u=`${s}-label`,c=`${s}-feedback`,d=`${s}-helptext`,[f,p]=(0,B.useState)(!1),[h,m]=(0,B.useState)(!1),[g,v]=(0,B.useState)(!1),b=(0,B.useCallback)((e={},t=null)=>({id:d,...e,ref:Ow(t,e=>{e&&m(!0)})}),[d]),y=(0,B.useCallback)((e={},t=null)=>({...e,ref:t,"data-focus":Pw(g),"data-disabled":Pw(o),"data-invalid":Pw(r),"data-readonly":Pw(i),id:void 0!==e.id?e.id:u,htmlFor:void 0!==e.htmlFor?e.htmlFor:s}),[s,o,g,r,i,u]),w=(0,B.useCallback)((e={},t=null)=>({id:c,...e,ref:Ow(t,e=>{e&&p(!0)}),"aria-live":"polite"}),[c]),x=(0,B.useCallback)((e={},t=null)=>({...e,...a,ref:t,role:"group","data-focus":Pw(g),"data-disabled":Pw(o),"data-invalid":Pw(r),"data-readonly":Pw(i)}),[a,o,g,r,i]),S=(0,B.useCallback)((e={},t=null)=>({...e,ref:t,role:"presentation","aria-hidden":!0,children:e.children||"*"}),[]);return{isRequired:!!n,isInvalid:!!r,isReadOnly:!!i,isDisabled:!!o,isFocused:!!g,onFocus:()=>v(!0),onBlur:()=>v(!1),hasFeedbackText:f,setHasFeedbackText:p,hasHelpText:h,setHasHelpText:m,id:s,labelId:u,feedbackId:c,helpTextId:d,htmlProps:a,getHelpTextProps:b,getErrorMessageProps:w,getRootProps:x,getLabelProps:y,getRequiredIndicatorProps:S}}(r),l=Rr("chakra-form-control",e.className);return(0,Pr.jsx)(Rw,{value:a,children:(0,Pr.jsx)(Tw,{value:n,children:(0,Pr.jsx)(_r.div,{...o({},t),className:l,__css:n.container})})})});zw.displayName="FormControl";const Mw=vo(function(e,t){const n=Aw(),r=jw(),o=Rr("chakra-form__helper-text",e.className);return(0,Pr.jsx)(_r.div,{...n?.getHelpTextProps(e,t),__css:r.helperText,className:o})});Mw.displayName="FormHelperText";const Iw=vo(function(e,t){const n=xo("FormLabel",e),r=jr(e),{className:o,children:i,requiredIndicator:a=(0,Pr.jsx)(Lw,{}),optionalIndicator:l=null,...s}=r,u=Aw(),c=u?.getLabelProps(s,t)??{ref:t,...s};return(0,Pr.jsxs)(_r.label,{...c,className:Rr("chakra-form__label",r.className),__css:{display:"block",textAlign:"start",...n},children:[i,u?.isRequired?a:l]})});Iw.displayName="FormLabel";const Lw=vo(function(e,t){const n=Aw(),r=jw();if(!n?.isRequired)return null;const o=Rr("chakra-form__required-indicator",e.className);return(0,Pr.jsx)(_r.span,{...n?.getRequiredIndicatorProps(e,t),__css:r.requiredIndicator,className:o})});function Fw(e){return Fw="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},Fw(e)}function Dw(e){var t=function(e){if("object"!=Fw(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Fw(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Fw(t)?t:t+""}function Vw(e,t,n){return(t=Dw(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Nw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bw(Object(n),!0).forEach(function(t){Vw(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bw(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function $w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Uw(e,t){if(e){if("string"==typeof e)return $w(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?$w(e,t):void 0}}function Hw(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||Uw(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 Ww(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}Lw.displayName="RequiredIndicator";var qw=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Gw(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Dw(r.key),r)}}function Yw(e,t){return Yw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Yw(e,t)}function Xw(e){return Xw=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Xw(e)}function Zw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Zw=function(){return!!e})()}function Kw(e){return function(e){if(Array.isArray(e))return $w(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Uw(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.")}()}const Qw=Math.min,Jw=Math.max,ex=Math.round,tx=Math.floor,nx=e=>({x:e,y:e});function rx(){return"undefined"!=typeof window}function ox(e){return lx(e)?(e.nodeName||"").toLowerCase():"#document"}function ix(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function ax(e){var t;return null==(t=(lx(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function lx(e){return!!rx()&&(e instanceof Node||e instanceof ix(e).Node)}function sx(e){return!!rx()&&(e instanceof Element||e instanceof ix(e).Element)}function ux(e){return!!rx()&&(e instanceof HTMLElement||e instanceof ix(e).HTMLElement)}function cx(e){return!(!rx()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof ix(e).ShadowRoot)}const dx=new Set(["inline","contents"]);function fx(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=hx(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!dx.has(o)}const px=new Set(["html","body","#document"]);function hx(e){return ix(e).getComputedStyle(e)}function mx(e){const t=function(e){if("html"===ox(e))return e;const t=e.assignedSlot||e.parentNode||cx(e)&&e.host||ax(e);return cx(t)?t.host:t}(e);return function(e){return px.has(ox(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:ux(t)&&fx(t)?t:mx(t)}function gx(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=mx(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=ix(o);if(i){const e=vx(a);return t.concat(a,a.visualViewport||[],fx(o)?o:[],e&&n?gx(e):[])}return t.concat(o,gx(o,[],n))}function vx(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function bx(e){return sx(e)?e:e.contextElement}function yx(e){const t=bx(e);if(!ux(t))return nx(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=function(e){const t=hx(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=ux(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,l=ex(n)!==i||ex(r)!==a;return l&&(n=i,r=a),{width:n,height:r,$:l}}(t);let a=(i?ex(n.width):n.width)/r,l=(i?ex(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const wx=nx(0);function xx(e){const t=ix(e);return"undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:wx}function Sx(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=bx(e);let a=nx(1);t&&(r?sx(r)&&(a=yx(r)):a=yx(e));const l=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==ix(e))&&t}(i,n,r)?xx(i):nx(0);let s=(o.left+l.x)/a.x,u=(o.top+l.y)/a.y,c=o.width/a.x,d=o.height/a.y;if(i){const e=ix(i),t=r&&sx(r)?ix(r):r;let n=e,o=vx(n);for(;o&&r&&t!==n;){const e=yx(o),t=o.getBoundingClientRect(),r=hx(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;s*=e.x,u*=e.y,c*=e.x,d*=e.y,s+=i,u+=a,n=ix(o),o=vx(n)}}return function(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}({width:c,height:d,x:s,y:u})}function kx(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}var Cx=B.useLayoutEffect,Ex=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],_x=function(){};function Ox(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function Px(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=[].concat(r);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&i.push("".concat(Ox(e,a)));return i.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var Tx=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===Fw(e)&&null!==e?[e]:[];var t},jx=function(e){return e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme,Nw({},Ww(e,Ex))},Rx=function(e,t,n){var r=e.cx,o=e.getStyles,i=e.getClassNames,a=e.className;return{css:o(t,e),className:r(null!=n?n:{},i(t,e),a)}};function Ax(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function zx(e){return Ax(e)?window.pageYOffset:e.scrollTop}function Mx(e,t){Ax(e)?window.scrollTo(0,t):e.scrollTop=t}function Ix(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:_x,o=zx(e),i=t-o,a=0;!function t(){var l=function(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}(a+=10,o,i,n);Mx(e,l),a<n?window.requestAnimationFrame(t):r(e)}()}function Lx(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?Mx(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&Mx(e,Math.max(t.offsetTop-o,0))}function Fx(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var Dx=!1,Vx={get passive(){return Dx=!0}},Bx="undefined"!=typeof window?window:{};Bx.addEventListener&&Bx.removeEventListener&&(Bx.addEventListener("p",_x,Vx),Bx.removeEventListener("p",_x,!1));var Nx=Dx;function $x(e){return null!=e}function Ux(e,t,n){return e?t:n}var Hx=["children","innerProps"],Wx=["children","innerProps"];var qx,Gx=function(e){return"auto"===e?"bottom":e},Yx=(0,B.createContext)(null),Xx=function(e){var t=e.children,n=e.minMenuHeight,r=e.maxMenuHeight,o=e.menuPlacement,i=e.menuPosition,a=e.menuShouldScrollIntoView,l=e.theme,s=((0,B.useContext)(Yx)||{}).setPortalPlacement,u=(0,B.useRef)(null),c=Hw((0,B.useState)(r),2),d=c[0],f=c[1],p=Hw((0,B.useState)(null),2),h=p[0],m=p[1],g=l.spacing.controlHeight;return Cx(function(){var e=u.current;if(e){var t="fixed"===i,l=function(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,i=e.shouldScroll,a=e.isFixedPosition,l=e.controlHeight,s=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}(n),u={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return u;var c,d=s.getBoundingClientRect().height,f=n.getBoundingClientRect(),p=f.bottom,h=f.height,m=f.top,g=n.offsetParent.getBoundingClientRect().top,v=a||Ax(c=s)?window.innerHeight:c.clientHeight,b=zx(s),y=parseInt(getComputedStyle(n).marginBottom,10),w=parseInt(getComputedStyle(n).marginTop,10),x=g-w,S=v-m,k=x+b,C=d-b-m,E=p-v+b+y,_=b+m-w,O=160;switch(o){case"auto":case"bottom":if(S>=h)return{placement:"bottom",maxHeight:t};if(C>=h&&!a)return i&&Ix(s,E,O),{placement:"bottom",maxHeight:t};if(!a&&C>=r||a&&S>=r)return i&&Ix(s,E,O),{placement:"bottom",maxHeight:a?S-y:C-y};if("auto"===o||a){var P=t,T=a?x:k;return T>=r&&(P=Math.min(T-y-l,t)),{placement:"top",maxHeight:P}}if("bottom"===o)return i&&Mx(s,E),{placement:"bottom",maxHeight:t};break;case"top":if(x>=h)return{placement:"top",maxHeight:t};if(k>=h&&!a)return i&&Ix(s,_,O),{placement:"top",maxHeight:t};if(!a&&k>=r||a&&x>=r){var j=t;return(!a&&k>=r||a&&x>=r)&&(j=a?x-w:k-w),i&&Ix(s,_,O),{placement:"top",maxHeight:j}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return u}({maxHeight:r,menuEl:e,minHeight:n,placement:o,shouldScroll:a&&!t,isFixedPosition:t,controlHeight:g});f(l.maxHeight),m(l.placement),null==s||s(l.placement)}},[r,o,i,a,n,s,g]),t({ref:u,placerProps:Nw(Nw({},e),{},{placement:h||Gx(o),maxHeight:d})})},Zx=function(e,t){var n=e.theme,r=n.spacing.baseUnit,o=n.colors;return Nw({textAlign:"center"},t?{}:{color:o.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},Kx=Zx,Qx=Zx,Jx=["size"],eS=["innerProps","isRtl","size"],tS={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},nS=function(e){var t=e.size,n=Ww(e,Jx);return io("svg",zt({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:tS},n))},rS=function(e){return io(nS,zt({size:20},e),io("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},oS=function(e){return io(nS,zt({size:20},e),io("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},iS=function(e,t){var n=e.isFocused,r=e.theme,o=r.spacing.baseUnit,i=r.colors;return Nw({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*o,":hover":{color:n?i.neutral80:i.neutral40}})},aS=iS,lS=iS,sS=so(qx||(qx=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"]))),uS=function(e){var t=e.delay,n=e.offset;return io("span",{css:lo({animation:"".concat(sS," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},cS=["data"],dS=["innerRef","isDisabled","isHidden","inputClassName"],fS={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},pS={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Nw({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},fS)},hS=function(e){return Nw({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},fS)},mS=function(e){var t=e.children,n=e.innerProps;return io("div",n,t)},gS={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return io("div",zt({},Rx(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||io(rS,null))},Control:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.innerRef,i=e.innerProps,a=e.menuIsOpen;return io("div",zt({ref:o},Rx(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":a}),i,{"aria-disabled":n||void 0}),t)},DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return io("div",zt({},Rx(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||io(oS,null))},DownChevron:oS,CrossIcon:rS,Group:function(e){var t=e.children,n=e.cx,r=e.getStyles,o=e.getClassNames,i=e.Heading,a=e.headingProps,l=e.innerProps,s=e.label,u=e.theme,c=e.selectProps;return io("div",zt({},Rx(e,"group",{group:!0}),l),io(i,zt({},a,{selectProps:c,theme:u,getStyles:r,getClassNames:o,cx:n}),s),io("div",null,t))},GroupHeading:function(e){var t=jx(e);t.data;var n=Ww(t,cS);return io("div",zt({},Rx(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return io("div",zt({},Rx(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return io("span",zt({},t,Rx(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var t=e.cx,n=e.value,r=jx(e),o=r.innerRef,i=r.isDisabled,a=r.isHidden,l=r.inputClassName,s=Ww(r,dS);return io("div",zt({},Rx(e,"input",{"input-container":!0}),{"data-value":n||""}),io("input",zt({className:t({input:!0},l),ref:o,style:hS(a),disabled:i},s)))},LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,o=void 0===r?4:r,i=Ww(e,eS);return io("div",zt({},Rx(Nw(Nw({},i),{},{innerProps:t,isRtl:n,size:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),io(uS,{delay:0,offset:n}),io(uS,{delay:160,offset:!0}),io(uS,{delay:320,offset:!n}))},Menu:function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return io("div",zt({},Rx(e,"menu",{menu:!0}),{ref:n},r),t)},MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,o=e.isMulti;return io("div",zt({},Rx(e,"menuList",{"menu-list":!0,"menu-list--is-multi":o}),{ref:r},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,r=e.controlElement,o=e.innerProps,i=e.menuPlacement,a=e.menuPosition,l=(0,B.useRef)(null),s=(0,B.useRef)(null),u=Hw((0,B.useState)(Gx(i)),2),c=u[0],d=u[1],f=(0,B.useMemo)(function(){return{setPortalPlacement:d}},[]),p=Hw((0,B.useState)(null),2),h=p[0],m=p[1],g=(0,B.useCallback)(function(){if(r){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(r),t="fixed"===a?0:window.pageYOffset,n=e[c]+t;n===(null==h?void 0:h.offset)&&e.left===(null==h?void 0:h.rect.left)&&e.width===(null==h?void 0:h.rect.width)||m({offset:n,rect:e})}},[r,a,c,null==h?void 0:h.offset,null==h?void 0:h.rect.left,null==h?void 0:h.rect.width]);Cx(function(){g()},[g]);var v=(0,B.useCallback)(function(){"function"==typeof s.current&&(s.current(),s.current=null),r&&l.current&&(s.current=function(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:s=!1}=r,u=bx(e),c=o||i?[...u?gx(u):[],...gx(t)]:[];c.forEach(e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)});const d=u&&l?function(e,t){let n,r=null;const o=ax(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(l,s){void 0===l&&(l=!1),void 0===s&&(s=1),i();const u=e.getBoundingClientRect(),{left:c,top:d,width:f,height:p}=u;if(l||t(),!f||!p)return;const h={rootMargin:-tx(d)+"px "+-tx(o.clientWidth-(c+f))+"px "+-tx(o.clientHeight-(d+p))+"px "+-tx(c)+"px",threshold:Jw(0,Qw(1,s))||1};let m=!0;function g(t){const r=t[0].intersectionRatio;if(r!==s){if(!m)return a();r?a(!1,r):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==r||kx(u,e.getBoundingClientRect())||a(),m=!1}try{r=new IntersectionObserver(g,{...h,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(g,h)}r.observe(e)}(!0),i}(u,n):null;let f,p=-1,h=null;a&&(h=new ResizeObserver(e=>{let[r]=e;r&&r.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),u&&!s&&h.observe(u),h.observe(t));let m=s?Sx(e):null;return s&&function t(){const r=Sx(e);m&&!kx(m,r)&&n(),m=r,f=requestAnimationFrame(t)}(),n(),()=>{var e;c.forEach(e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=h)||e.disconnect(),h=null,s&&cancelAnimationFrame(f)}}(r,l.current,g,{elementResize:"ResizeObserver"in window}))},[r,g]);Cx(function(){v()},[v]);var b=(0,B.useCallback)(function(e){l.current=e,v()},[v]);if(!t&&"fixed"!==a||!h)return null;var y=io("div",zt({ref:b},Rx(Nw(Nw({},e),{},{offset:h.offset,position:a,rect:h.rect}),"menuPortal",{"menu-portal":!0}),o),n);return io(Yx.Provider,{value:f},t?(0,Wb.createPortal)(y,t):y)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,o=Ww(e,Wx);return io("div",zt({},Rx(Nw(Nw({},o),{},{children:n,innerProps:r}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),r),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,r=e.innerProps,o=Ww(e,Hx);return io("div",zt({},Rx(Nw(Nw({},o),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:function(e){var t=e.children,n=e.components,r=e.data,o=e.innerProps,i=e.isDisabled,a=e.removeProps,l=e.selectProps,s=n.Container,u=n.Label,c=n.Remove;return io(s,{data:r,innerProps:Nw(Nw({},Rx(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":i})),o),selectProps:l},io(u,{data:r,innerProps:Nw({},Rx(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:l},t),io(c,{data:r,innerProps:Nw(Nw({},Rx(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:l}))},MultiValueContainer:mS,MultiValueLabel:mS,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return io("div",zt({role:"button"},n),t||io(rS,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,o=e.isSelected,i=e.innerRef,a=e.innerProps;return io("div",zt({},Rx(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":o}),{ref:i,"aria-disabled":n},a),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return io("div",zt({},Rx(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,o=e.isRtl;return io("div",zt({},Rx(e,"container",{"--is-disabled":r,"--is-rtl":o}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return io("div",zt({},Rx(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),r),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,r=e.isMulti,o=e.hasValue;return io("div",zt({},Rx(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":o}),n),t)}},vS=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function bS(e,t){return e===t||!(!vS(e)||!vS(t))}function yS(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!bS(e[n],t[n]))return!1;return!0}for(var wS={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},xS=function(e){return io("span",zt({css:wS},e))},SS={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,o=e.context,i=e.isInitialFocus;switch(o){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return i?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?"":n,o=e.labels,i=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return"option ".concat(r,i?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,o=e.label,i=void 0===o?"":o,a=e.selectValue,l=e.isDisabled,s=e.isSelected,u=e.isAppleDevice,c=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(i," focused, ").concat(c(a,n),".");if("menu"===t&&u){var d=l?" disabled":"",f="".concat(s?" selected":"").concat(d);return"".concat(i).concat(f,", ").concat(c(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},kS=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,o=e.focusableOptions,i=e.isFocused,a=e.selectValue,l=e.selectProps,s=e.id,u=e.isAppleDevice,c=l.ariaLiveMessages,d=l.getOptionLabel,f=l.inputValue,p=l.isMulti,h=l.isOptionDisabled,m=l.isSearchable,g=l.menuIsOpen,v=l.options,b=l.screenReaderStatus,y=l.tabSelectsValue,w=l.isLoading,x=l["aria-label"],S=l["aria-live"],k=(0,B.useMemo)(function(){return Nw(Nw({},SS),c||{})},[c]),C=(0,B.useMemo)(function(){var e,n="";if(t&&k.onChange){var r=t.option,o=t.options,i=t.removedValue,l=t.removedValues,s=t.value,u=i||r||(e=s,Array.isArray(e)?null:e),c=u?d(u):"",f=o||l||void 0,p=f?f.map(d):[],m=Nw({isDisabled:u&&h(u,a),label:c,labels:p},t);n=k.onChange(m)}return n},[t,k,h,a,d]),E=(0,B.useMemo)(function(){var e="",t=n||r,i=!!(n&&a&&a.includes(n));if(t&&k.onFocus){var l={focused:t,label:d(t),isDisabled:h(t,a),isSelected:i,options:o,context:t===n?"menu":"value",selectValue:a,isAppleDevice:u};e=k.onFocus(l)}return e},[n,r,d,h,k,o,a,u]),_=(0,B.useMemo)(function(){var e="";if(g&&v.length&&!w&&k.onFilter){var t=b({count:o.length});e=k.onFilter({inputValue:f,resultsMessage:t})}return e},[o,f,g,k,v,b,w]),O="initial-input-focus"===(null==t?void 0:t.action),P=(0,B.useMemo)(function(){var e="";if(k.guidance){var t=r?"value":g?"menu":"input";e=k.guidance({"aria-label":x,context:t,isDisabled:n&&h(n,a),isMulti:p,isSearchable:m,tabSelectsValue:y,isInitialFocus:O})}return e},[x,n,r,p,h,m,g,k,a,y,O]),T=io(B.Fragment,null,io("span",{id:"aria-selection"},C),io("span",{id:"aria-focused"},E),io("span",{id:"aria-results"},_),io("span",{id:"aria-guidance"},P));return io(B.Fragment,null,io(xS,{id:s},O&&T),io(xS,{"aria-live":S,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},i&&!O&&T))},CS=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],ES=new RegExp("["+CS.map(function(e){return e.letters}).join("")+"]","g"),_S={},OS=0;OS<CS.length;OS++)for(var PS=CS[OS],TS=0;TS<PS.letters.length;TS++)_S[PS.letters[TS]]=PS.base;var jS=function(e){return e.replace(ES,function(e){return _S[e]})},RS=function(e,t){void 0===t&&(t=yS);var n=null;function r(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var i=e.apply(this,r);return n={lastResult:i,lastArgs:r,lastThis:this},i}return r.clear=function(){n=null},r}(jS),AS=function(e){return e.replace(/^\s+|\s+$/g,"")},zS=function(e){return"".concat(e.label," ").concat(e.value)},MS=["innerRef"];function IS(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=Object.entries(e).filter(function(e){var t=Hw(e,1)[0];return!n.includes(t)});return o.reduce(function(e,t){var n=Hw(t,2),r=n[0],o=n[1];return e[r]=o,e},{})}(Ww(e,MS),"onExited","in","enter","exit","appear");return io("input",zt({ref:t},n,{css:lo({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var LS=["boxSizing","height","overflow","paddingRight","position"],FS={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function DS(e){e.cancelable&&e.preventDefault()}function VS(e){e.stopPropagation()}function BS(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function NS(){return"ontouchstart"in window||navigator.maxTouchPoints}var $S=!("undefined"==typeof window||!window.document||!window.document.createElement),US=0,HS={capture:!1,passive:!1},WS=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},qS={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function GS(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,o=function(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,o=e.onTopArrive,i=e.onTopLeave,a=(0,B.useRef)(!1),l=(0,B.useRef)(!1),s=(0,B.useRef)(0),u=(0,B.useRef)(null),c=(0,B.useCallback)(function(e,t){if(null!==u.current){var s=u.current,c=s.scrollTop,d=s.scrollHeight,f=s.clientHeight,p=u.current,h=t>0,m=d-f-c,g=!1;m>t&&a.current&&(r&&r(e),a.current=!1),h&&l.current&&(i&&i(e),l.current=!1),h&&t>m?(n&&!a.current&&n(e),p.scrollTop=d,g=!0,a.current=!0):!h&&-t>c&&(o&&!l.current&&o(e),p.scrollTop=0,g=!0,l.current=!0),g&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}},[n,r,o,i]),d=(0,B.useCallback)(function(e){c(e,e.deltaY)},[c]),f=(0,B.useCallback)(function(e){s.current=e.changedTouches[0].clientY},[]),p=(0,B.useCallback)(function(e){var t=s.current-e.changedTouches[0].clientY;c(e,t)},[c]),h=(0,B.useCallback)(function(e){if(e){var t=!!Nx&&{passive:!1};e.addEventListener("wheel",d,t),e.addEventListener("touchstart",f,t),e.addEventListener("touchmove",p,t)}},[p,f,d]),m=(0,B.useCallback)(function(e){e&&(e.removeEventListener("wheel",d,!1),e.removeEventListener("touchstart",f,!1),e.removeEventListener("touchmove",p,!1))},[p,f,d]);return(0,B.useEffect)(function(){if(t){var e=u.current;return h(e),function(){m(e)}}},[t,h,m]),function(e){u.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),i=function(e){var t=e.isEnabled,n=e.accountForScrollbars,r=void 0===n||n,o=(0,B.useRef)({}),i=(0,B.useRef)(null),a=(0,B.useCallback)(function(e){if($S){var t=document.body,n=t&&t.style;if(r&&LS.forEach(function(e){var t=n&&n[e];o.current[e]=t}),r&&US<1){var i=parseInt(o.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,l=window.innerWidth-a+i||0;Object.keys(FS).forEach(function(e){var t=FS[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(l,"px"))}t&&NS()&&(t.addEventListener("touchmove",DS,HS),e&&(e.addEventListener("touchstart",BS,HS),e.addEventListener("touchmove",VS,HS))),US+=1}},[r]),l=(0,B.useCallback)(function(e){if($S){var t=document.body,n=t&&t.style;US=Math.max(US-1,0),r&&US<1&&LS.forEach(function(e){var t=o.current[e];n&&(n[e]=t)}),t&&NS()&&(t.removeEventListener("touchmove",DS,HS),e&&(e.removeEventListener("touchstart",BS,HS),e.removeEventListener("touchmove",VS,HS)))}},[r]);return(0,B.useEffect)(function(){if(t){var e=i.current;return a(e),function(){l(e)}}},[t,a,l]),function(e){i.current=e}}({isEnabled:n});return io(B.Fragment,null,n&&io("div",{onClick:WS,css:qS}),t(function(e){o(e),i(e)}))}var YS={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},XS=function(e){var t=e.name,n=e.onFocus;return io("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:YS,value:"",onChange:function(){}})};function ZS(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function KS(){return ZS(/^Mac/i)}var QS={clearIndicator:lS,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.theme,i=o.colors,a=o.borderRadius;return Nw({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:o.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?i.neutral5:i.neutral0,borderColor:n?i.neutral10:r?i.primary:i.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(i.primary):void 0,"&:hover":{borderColor:r?i.primary:i.neutral30}})},dropdownIndicator:aS,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,r=n.colors,o=n.spacing;return Nw({label:"group",cursor:"default",display:"block"},t?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*o.baseUnit,paddingRight:3*o.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing.baseUnit,i=r.colors;return Nw({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?i.neutral10:i.neutral20,marginBottom:2*o,marginTop:2*o})},input:function(e,t){var n=e.isDisabled,r=e.value,o=e.theme,i=o.spacing,a=o.colors;return Nw(Nw({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},pS),t?{}:{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,color:a.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,r=e.size,o=e.theme,i=o.colors,a=o.spacing.baseUnit;return Nw({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*a})},loadingMessage:Qx,menu:function(e,t){var n,r=e.placement,o=e.theme,i=o.borderRadius,a=o.spacing,l=o.colors;return Nw((Vw(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),Vw(n,"position","absolute"),Vw(n,"width","100%"),Vw(n,"zIndex",1),n),t?{}:{backgroundColor:l.neutral0,borderRadius:i,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:a.menuGutter,marginTop:a.menuGutter})},menuList:function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return Nw({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:r,paddingTop:r})},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,i=n.colors;return Nw({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:i.neutral10,borderRadius:o/2,margin:r.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,r=n.borderRadius,o=n.colors,i=e.cropWithEllipsis;return Nw({overflow:"hidden",textOverflow:i||void 0===i?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:r/2,color:o.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,r=n.spacing,o=n.borderRadius,i=n.colors,a=e.isFocused;return Nw({alignItems:"center",display:"flex"},t?{}:{borderRadius:o/2,backgroundColor:a?i.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}})},noOptionsMessage:Kx,option:function(e,t){var n=e.isDisabled,r=e.isFocused,o=e.isSelected,i=e.theme,a=i.spacing,l=i.colors;return Nw({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:o?l.primary:r?l.primary25:"transparent",color:n?l.neutral20:o?l.neutral0:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),":active":{backgroundColor:n?void 0:o?l.primary:l.primary50}})},placeholder:function(e,t){var n=e.theme,r=n.spacing,o=n.colors;return Nw({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:o.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,r=e.theme,o=r.spacing,i=r.colors;return Nw({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?i.neutral40:i.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,r=e.isMulti,o=e.hasValue,i=e.selectProps.controlShouldRenderValue;return Nw({alignItems:"center",display:r&&o&&i?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},JS={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},ek={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Fx(),captureMenuScroll:!Fx(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=Nw({ignoreCase:!0,ignoreAccents:!0,stringify:zS,trim:!0,matchFrom:"any"},void 0),r=n.ignoreCase,o=n.ignoreAccents,i=n.stringify,a=n.trim,l=n.matchFrom,s=a?AS(t):t,u=a?AS(i(e)):i(e);return r&&(s=s.toLowerCase(),u=u.toLowerCase()),o&&(s=RS(s),u=jS(u)),"start"===l?u.substr(0,s.length)===s:u.indexOf(s)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function tk(e,t,n,r){return{type:"option",data:t,isDisabled:uk(e,t,n),isSelected:ck(e,t,n),label:lk(e,t),value:sk(e,t),index:r}}function nk(e,t){return e.options.map(function(n,r){if("options"in n){var o=n.options.map(function(n,r){return tk(e,n,t,r)}).filter(function(t){return ik(e,t)});return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var i=tk(e,n,t,r);return ik(e,i)?i:void 0}).filter($x)}function rk(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,Kw(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function ok(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,Kw(n.options.map(function(e){return{data:e.data,id:"".concat(t,"-").concat(n.index,"-").concat(e.index)}}))):e.push({data:n.data,id:"".concat(t,"-").concat(n.index)}),e},[])}function ik(e,t){var n=e.inputValue,r=void 0===n?"":n,o=t.data,i=t.isSelected,a=t.label,l=t.value;return(!fk(e)||!i)&&dk(e,{label:a,value:l,data:o},r)}var ak=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},lk=function(e,t){return e.getOptionLabel(t)},sk=function(e,t){return e.getOptionValue(t)};function uk(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function ck(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=sk(e,t);return n.some(function(t){return sk(e,t)===r})}function dk(e,t,n){return!e.filterOption||e.filterOption(t,n)}var fk=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},pk=1,hk=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Yw(e,t)}(n,e);var t=function(e){var t=Zw();return function(){var n,r=Xw(e);if(t){var o=Xw(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"==Fw(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}(n);function n(e){var r;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(r=t.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(e){r.controlRef=e},r.focusedOptionRef=null,r.getFocusedOptionRef=function(e){r.focusedOptionRef=e},r.menuListRef=null,r.getMenuListRef=function(e){r.menuListRef=e},r.inputRef=null,r.getInputRef=function(e){r.inputRef=e},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(e,t){var n=r.props,o=n.onChange,i=n.name;t.name=i,r.ariaOnChange(e,t),o(e,t)},r.setValue=function(e,t,n){var o=r.props,i=o.closeMenuOnSelect,a=o.isMulti,l=o.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:l}),i&&(r.setState({inputIsHiddenAfterUpdate:!a}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(e,{action:t,option:n})},r.selectOption=function(e){var t=r.props,n=t.blurInputOnSelect,o=t.isMulti,i=t.name,a=r.state.selectValue,l=o&&r.isOptionSelected(e,a),s=r.isOptionDisabled(e,a);if(l){var u=r.getOptionValue(e);r.setValue(a.filter(function(e){return r.getOptionValue(e)!==u}),"deselect-option",e)}else{if(s)return void r.ariaOnChange(e,{action:"select-option",option:e,name:i});o?r.setValue([].concat(Kw(a),[e]),"select-option",e):r.setValue(e,"select-option")}n&&r.blurInput()},r.removeValue=function(e){var t=r.props.isMulti,n=r.state.selectValue,o=r.getOptionValue(e),i=n.filter(function(e){return r.getOptionValue(e)!==o}),a=Ux(t,i,i[0]||null);r.onChange(a,{action:"remove-value",removedValue:e}),r.focusInput()},r.clearValue=function(){var e=r.state.selectValue;r.onChange(Ux(r.props.isMulti,[],null),{action:"clear",removedValues:e})},r.popValue=function(){var e=r.props.isMulti,t=r.state.selectValue,n=t[t.length-1],o=t.slice(0,t.length-1),i=Ux(e,o,o[0]||null);n&&r.onChange(i,{action:"pop-value",removedValue:n})},r.getFocusedOptionId=function(e){return ak(r.state.focusableOptionsWithIds,e)},r.getFocusableOptionsWithIds=function(){return ok(nk(r.props,r.state.selectValue),r.getElementId("option"))},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Px.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return lk(r.props,e)},r.getOptionValue=function(e){return sk(r.props,e)},r.getStyles=function(e,t){var n=r.props.unstyled,o=QS[e](t,n);o.boxSizing="border-box";var i=r.props.styles[e];return i?i(o,t):o},r.getClassNames=function(e,t){var n,o;return null===(n=(o=r.props.classNames)[e])||void 0===n?void 0:n.call(o,t)},r.getElementId=function(e){return"".concat(r.state.instancePrefix,"-").concat(e)},r.getComponents=function(){return e=r.props,Nw(Nw({},gS),e.components);var e},r.buildCategorizedOptions=function(){return nk(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return rk(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:Nw({value:e},t)})},r.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(e){r.blockOptionHover=!1},r.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&r.onMenuClose():t&&r.openMenu("first"):(t&&(r.openAfterFocus=!0),r.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},r.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||r.props.isDisabled)){var t=r.props,n=t.isMulti,o=t.menuIsOpen;r.focusInput(),o?(r.setState({inputIsHiddenAfterUpdate:!n}),r.onMenuClose()):r.openMenu("first"),e.preventDefault()}},r.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(r.clearValue(),e.preventDefault(),r.openAfterFocus=!1,"touchend"===e.type?r.focusInput():setTimeout(function(){return r.focusInput()}))},r.onScroll=function(e){"boolean"==typeof r.props.closeMenuOnScroll?e.target instanceof HTMLElement&&Ax(e.target)&&r.props.onMenuClose():"function"==typeof r.props.closeMenuOnScroll&&r.props.closeMenuOnScroll(e)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(r.initialTouchX=n.clientX,r.initialTouchY=n.clientY,r.userIsDragging=!1)},r.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var o=Math.abs(n.clientX-r.initialTouchX),i=Math.abs(n.clientY-r.initialTouchY);r.userIsDragging=o>5||i>5}},r.onTouchEnd=function(e){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(e.target)&&r.menuListRef&&!r.menuListRef.contains(e.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(e){r.userIsDragging||r.onControlMouseDown(e)},r.onClearIndicatorTouchEnd=function(e){r.userIsDragging||r.onClearIndicatorMouseDown(e)},r.onDropdownIndicatorTouchEnd=function(e){r.userIsDragging||r.onDropdownIndicatorMouseDown(e)},r.handleInputChange=function(e){var t=r.props.inputValue,n=e.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(n,{action:"input-change",prevInputValue:t}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(e){r.props.onFocus&&r.props.onFocus(e),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(e){var t=r.props.inputValue;r.menuListRef&&r.menuListRef.contains(document.activeElement)?r.inputRef.focus():(r.props.onBlur&&r.props.onBlur(e),r.onInputChange("",{action:"input-blur",prevInputValue:t}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1}))},r.onOptionHover=function(e){if(!r.blockOptionHover&&r.state.focusedOption!==e){var t=r.getFocusableOptions().indexOf(e);r.setState({focusedOption:e,focusedOptionId:t>-1?r.getFocusedOptionId(e):null})}},r.shouldHideSelectedOptions=function(){return fk(r.props)},r.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),r.focus()},r.onKeyDown=function(e){var t=r.props,n=t.isMulti,o=t.backspaceRemovesValue,i=t.escapeClearsValue,a=t.inputValue,l=t.isClearable,s=t.isDisabled,u=t.menuIsOpen,c=t.onKeyDown,d=t.tabSelectsValue,f=t.openMenuOnFocus,p=r.state,h=p.focusedOption,m=p.focusedValue,g=p.selectValue;if(!(s||"function"==typeof c&&(c(e),e.defaultPrevented))){switch(r.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||a)return;r.focusValue("previous");break;case"ArrowRight":if(!n||a)return;r.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(m)r.removeValue(m);else{if(!o)return;n?r.popValue():l&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!u||!d||!h||f&&r.isOptionSelected(h,g))return;r.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(u){if(!h)return;if(r.isComposing)return;r.selectOption(h);break}return;case"Escape":u?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:a}),r.onMenuClose()):l&&i&&r.clearValue();break;case" ":if(a)return;if(!u){r.openMenu("first");break}if(!h)return;r.selectOption(h);break;case"ArrowUp":u?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":u?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!u)return;r.focusOption("pageup");break;case"PageDown":if(!u)return;r.focusOption("pagedown");break;case"Home":if(!u)return;r.focusOption("first");break;case"End":if(!u)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.state.instancePrefix="react-select-"+(r.props.instanceId||++pk),r.state.selectValue=Tx(e.value),e.menuIsOpen&&r.state.selectValue.length){var o=r.getFocusableOptionsWithIds(),i=r.buildFocusableOptions(),a=i.indexOf(r.state.selectValue[0]);r.state.focusableOptionsWithIds=o,r.state.focusedOption=i[a],r.state.focusedOptionId=ak(o,i[a])}return r}return function(e,t,n){t&&Gw(e.prototype,t),n&&Gw(e,n),Object.defineProperty(e,"prototype",{writable:!1})}(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Lx(this.menuListRef,this.focusedOptionRef),(KS()||ZS(/^iPhone/i)||ZS(/^iPad/i)||KS()&&navigator.maxTouchPoints>1)&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,o=this.state.isFocused;(o&&!n&&e.isDisabled||o&&r&&!e.menuIsOpen)&&this.focusInput(),o&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):o||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Lx(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,o=n.isFocused,i=this.buildFocusableOptions(),a="first"===e?0:i.length-1;if(!this.props.isMulti){var l=i.indexOf(r[0]);l>-1&&(a=l)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[a],focusedOptionId:this.getFocusedOptionId(i[a])},function(){return t.onMenuOpen()})}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var o=n.indexOf(r);r||(o=-1);var i=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===o?0:-1===o?i:o-1;break;case"next":o>-1&&o<i&&(a=o+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var o=0,i=r.indexOf(n);n||(i=-1),"up"===e?o=i>0?i-1:r.length-1:"down"===e?o=(i+1)%r.length:"pageup"===e?(o=i-t)<0&&(o=0):"pagedown"===e?(o=i+t)>r.length-1&&(o=r.length-1):"last"===e&&(o=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[o],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[o])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(JS):Nw(Nw({},JS),this.props.theme):JS}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,o=this.getValue,i=this.selectOption,a=this.setValue,l=this.props,s=l.isMulti,u=l.isRtl,c=l.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:o,hasValue:this.hasValue(),isMulti:s,isRtl:u,options:c,selectOption:i,selectProps:l,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return uk(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return ck(this.props,e,t)}},{key:"filterOption",value:function(e,t){return dk(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,r=e.inputId,o=e.inputValue,i=e.tabIndex,a=e.form,l=e.menuIsOpen,s=e.required,u=this.getComponents().Input,c=this.state,d=c.inputIsHidden,f=c.ariaSelection,p=this.commonProps,h=r||this.getElementId("input"),m=Nw(Nw(Nw({"aria-autocomplete":"list","aria-expanded":l,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":s,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},l&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==f?void 0:f.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?B.createElement(u,zt({},p,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:h,innerRef:this.getInputRef,isDisabled:t,isHidden:d,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:i,form:a,type:"text",value:o},m)):B.createElement(IS,zt({id:h,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:_x,onFocus:this.onInputFocus,disabled:t,tabIndex:i,inputMode:"none",form:a,value:""},m))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,r=t.MultiValueContainer,o=t.MultiValueLabel,i=t.MultiValueRemove,a=t.SingleValue,l=t.Placeholder,s=this.commonProps,u=this.props,c=u.controlShouldRenderValue,d=u.isDisabled,f=u.isMulti,p=u.inputValue,h=u.placeholder,m=this.state,g=m.selectValue,v=m.focusedValue,b=m.isFocused;if(!this.hasValue()||!c)return p?null:B.createElement(l,zt({},s,{key:"placeholder",isDisabled:d,isFocused:b,innerProps:{id:this.getElementId("placeholder")}}),h);if(f)return g.map(function(t,a){var l=t===v,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return B.createElement(n,zt({},s,{components:{Container:r,Label:o,Remove:i},isFocused:l,isDisabled:d,key:u,index:a,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))});if(p)return null;var y=g[0];return B.createElement(a,zt({},s,{data:y,isDisabled:d}),this.formatOptionLabel(y,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,i=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||o)return null;var a={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return B.createElement(e,zt({},t,{innerProps:a,isFocused:i}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,i=this.state.isFocused;return e&&o?B.createElement(e,zt({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:i})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,o=this.props.isDisabled,i=this.state.isFocused;return B.createElement(n,zt({},r,{isDisabled:o,isFocused:i}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return B.createElement(e,zt({},t,{innerProps:o,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,r=t.GroupHeading,o=t.Menu,i=t.MenuList,a=t.MenuPortal,l=t.LoadingMessage,s=t.NoOptionsMessage,u=t.Option,c=this.commonProps,d=this.state.focusedOption,f=this.props,p=f.captureMenuScroll,h=f.inputValue,m=f.isLoading,g=f.loadingMessage,v=f.minMenuHeight,b=f.maxMenuHeight,y=f.menuIsOpen,w=f.menuPlacement,x=f.menuPosition,S=f.menuPortalTarget,k=f.menuShouldBlockScroll,C=f.menuShouldScrollIntoView,E=f.noOptionsMessage,_=f.onMenuScrollToTop,O=f.onMenuScrollToBottom;if(!y)return null;var P,T=function(t,n){var r=t.type,o=t.data,i=t.isDisabled,a=t.isSelected,l=t.label,s=t.value,f=d===o,p=i?void 0:function(){return e.onOptionHover(o)},h=i?void 0:function(){return e.selectOption(o)},m="".concat(e.getElementId("option"),"-").concat(n),g={id:m,onClick:h,onMouseMove:p,onMouseOver:p,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:a};return B.createElement(u,zt({},c,{innerProps:g,data:o,isDisabled:i,isSelected:a,key:m,label:l,type:r,value:s,isFocused:f,innerRef:f?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())P=this.getCategorizedOptions().map(function(t){if("group"===t.type){var o=t.data,i=t.options,a=t.index,l="".concat(e.getElementId("group"),"-").concat(a),s="".concat(l,"-heading");return B.createElement(n,zt({},c,{key:l,data:o,options:i,Heading:r,headingProps:{id:s,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return T(e,"".concat(a,"-").concat(e.index))}))}if("option"===t.type)return T(t,"".concat(t.index))});else if(m){var j=g({inputValue:h});if(null===j)return null;P=B.createElement(l,c,j)}else{var R=E({inputValue:h});if(null===R)return null;P=B.createElement(s,c,R)}var A={minMenuHeight:v,maxMenuHeight:b,menuPlacement:w,menuPosition:x,menuShouldScrollIntoView:C},z=B.createElement(Xx,zt({},c,A),function(t){var n=t.ref,r=t.placerProps,a=r.placement,l=r.maxHeight;return B.createElement(o,zt({},c,A,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:m,placement:a}),B.createElement(GS,{captureEnabled:p,onTopArrive:_,onBottomArrive:O,lockEnabled:k},function(t){return B.createElement(i,zt({},c,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":c.isMulti,id:e.getElementId("listbox")},isLoading:m,maxHeight:l,focusedOption:d}),P)}))});return S||"fixed"===x?B.createElement(a,zt({},c,{appendTo:S,controlElement:this.controlRef,menuPlacement:w,menuPosition:x}),z):z}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,o=t.isMulti,i=t.name,a=t.required,l=this.state.selectValue;if(a&&!this.hasValue()&&!r)return B.createElement(XS,{name:i,onFocus:this.onValueInputFocus});if(i&&!r){if(o){if(n){var s=l.map(function(t){return e.getOptionValue(t)}).join(n);return B.createElement("input",{name:i,type:"hidden",value:s})}var u=l.length>0?l.map(function(t,n){return B.createElement("input",{key:"i-".concat(n),name:i,type:"hidden",value:e.getOptionValue(t)})}):B.createElement("input",{name:i,type:"hidden",value:""});return B.createElement("div",null,u)}var c=l[0]?this.getOptionValue(l[0]):"";return B.createElement("input",{name:i,type:"hidden",value:c})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,r=t.focusedOption,o=t.focusedValue,i=t.isFocused,a=t.selectValue,l=this.getFocusableOptions();return B.createElement(kS,zt({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:o,isFocused:i,selectValue:a,focusableOptions:l,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,o=e.ValueContainer,i=this.props,a=i.className,l=i.id,s=i.isDisabled,u=i.menuIsOpen,c=this.state.isFocused,d=this.commonProps=this.getCommonProps();return B.createElement(r,zt({},d,{className:a,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:s,isFocused:c}),this.renderLiveRegion(),B.createElement(t,zt({},d,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:s,isFocused:c,menuIsOpen:u}),B.createElement(o,zt({},d,{isDisabled:s}),this.renderPlaceholderOrValue(),this.renderInput()),B.createElement(n,zt({},d,{isDisabled:s}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,o=t.inputIsHiddenAfterUpdate,i=t.ariaSelection,a=t.isFocused,l=t.prevWasFocused,s=t.instancePrefix,u=e.options,c=e.value,d=e.menuIsOpen,f=e.inputValue,p=e.isMulti,h=Tx(c),m={};if(n&&(c!==n.value||u!==n.options||d!==n.menuIsOpen||f!==n.inputValue)){var g=d?function(e,t){return rk(nk(e,t))}(e,h):[],v=d?ok(nk(e,h),"".concat(s,"-option")):[],b=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,h):null,y=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);m={selectValue:h,focusedOption:y,focusedOptionId:ak(v,y),focusableOptionsWithIds:v,focusedValue:b,clearFocusValueOnUpdate:!1}}var w=null!=o&&e!==n?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{},x=i,S=a&&l;return a&&!S&&(x={value:Ux(p,h,h[0]||null),options:h,action:"initial-input-focus"},S=!l),"initial-input-focus"===(null==i?void 0:i.action)&&(x=null),Nw(Nw(Nw({},m),w),{},{prevProps:e,ariaSelection:x,prevWasFocused:S})}}]),n}(B.Component);hk.defaultProps=ek;var mk,gk,vk=(0,B.forwardRef)(function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,r=e.defaultMenuIsOpen,o=void 0!==r&&r,i=e.defaultValue,a=void 0===i?null:i,l=e.inputValue,s=e.menuIsOpen,u=e.onChange,c=e.onInputChange,d=e.onMenuClose,f=e.onMenuOpen,p=e.value,h=Ww(e,qw),m=Hw((0,B.useState)(void 0!==l?l:n),2),g=m[0],v=m[1],b=Hw((0,B.useState)(void 0!==s?s:o),2),y=b[0],w=b[1],x=Hw((0,B.useState)(void 0!==p?p:a),2),S=x[0],k=x[1],C=(0,B.useCallback)(function(e,t){"function"==typeof u&&u(e,t),k(e)},[u]),E=(0,B.useCallback)(function(e,t){var n;"function"==typeof c&&(n=c(e,t)),v(void 0!==n?n:e)},[c]),_=(0,B.useCallback)(function(){"function"==typeof f&&f(),w(!0)},[f]),O=(0,B.useCallback)(function(){"function"==typeof d&&d(),w(!1)},[d]),P=void 0!==l?l:g,T=void 0!==s?s:y,j=void 0!==p?p:S;return Nw(Nw({},h),{},{inputValue:P,menuIsOpen:T,onChange:C,onInputChange:E,onMenuClose:O,onMenuOpen:_,value:j})}(e);return B.createElement(hk,zt({ref:t},n))}),bk=vk,yk=n(556),wk=function(){return wk=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},wk.apply(this,arguments)},xk={onActivate:yk.func,onAddUndo:yk.func,onBeforeAddUndo:yk.func,onBeforeExecCommand:yk.func,onBeforeGetContent:yk.func,onBeforeRenderUI:yk.func,onBeforeSetContent:yk.func,onBeforePaste:yk.func,onBlur:yk.func,onChange:yk.func,onClearUndos:yk.func,onClick:yk.func,onContextMenu:yk.func,onCommentChange:yk.func,onCompositionEnd:yk.func,onCompositionStart:yk.func,onCompositionUpdate:yk.func,onCopy:yk.func,onCut:yk.func,onDblclick:yk.func,onDeactivate:yk.func,onDirty:yk.func,onDrag:yk.func,onDragDrop:yk.func,onDragEnd:yk.func,onDragGesture:yk.func,onDragOver:yk.func,onDrop:yk.func,onExecCommand:yk.func,onFocus:yk.func,onFocusIn:yk.func,onFocusOut:yk.func,onGetContent:yk.func,onHide:yk.func,onInit:yk.func,onInput:yk.func,onKeyDown:yk.func,onKeyPress:yk.func,onKeyUp:yk.func,onLoadContent:yk.func,onMouseDown:yk.func,onMouseEnter:yk.func,onMouseLeave:yk.func,onMouseMove:yk.func,onMouseOut:yk.func,onMouseOver:yk.func,onMouseUp:yk.func,onNodeChange:yk.func,onObjectResizeStart:yk.func,onObjectResized:yk.func,onObjectSelected:yk.func,onPaste:yk.func,onPostProcess:yk.func,onPostRender:yk.func,onPreProcess:yk.func,onProgressState:yk.func,onRedo:yk.func,onRemove:yk.func,onReset:yk.func,onSaveContent:yk.func,onSelectionChange:yk.func,onSetAttrib:yk.func,onSetContent:yk.func,onShow:yk.func,onSubmit:yk.func,onUndo:yk.func,onVisualAid:yk.func,onSkinLoadError:yk.func,onThemeLoadError:yk.func,onModelLoadError:yk.func,onPluginLoadError:yk.func,onIconsLoadError:yk.func,onLanguageLoadError:yk.func,onScriptsLoad:yk.func,onScriptsLoadError:yk.func},Sk=wk({apiKey:yk.string,licenseKey:yk.string,id:yk.string,inline:yk.bool,init:yk.object,initialValue:yk.string,onEditorChange:yk.func,value:yk.string,tagName:yk.string,tabIndex:yk.number,cloudChannel:yk.string,plugins:yk.oneOfType([yk.string,yk.array]),toolbar:yk.oneOfType([yk.string,yk.array]),disabled:yk.bool,readonly:yk.bool,textareaName:yk.string,tinymceScriptSrc:yk.oneOfType([yk.string,yk.arrayOf(yk.string),yk.arrayOf(yk.shape({src:yk.string,async:yk.bool,defer:yk.bool}))]),rollback:yk.oneOfType([yk.number,yk.oneOf([!1])]),scriptLoading:yk.shape({async:yk.bool,defer:yk.bool,delay:yk.number})},xk),kk=function(e){var t=e;return t&&t.tinymce?t.tinymce:null},Ck=function(e){return"function"==typeof e},Ek=function(e){return e in xk},_k=function(e){return e.substr(2)},Ok=function(e,t,n,r,o){return function(t,n,r,o,i,a,l){var s=Object.keys(i).filter(Ek),u=Object.keys(a).filter(Ek),c=s.filter(function(e){return void 0===a[e]}),d=u.filter(function(e){return void 0===i[e]});c.forEach(function(e){var t=_k(e),n=l[t];r(t,n),delete l[t]}),d.forEach(function(r){var o=function(t,n){return function(r){var o;return null===(o=t(n))||void 0===o?void 0:o(r,e)}}(t,r),i=_k(r);l[i]=o,n(i,o)})}(o,e.on.bind(e),e.off.bind(e),0,t,n,r)},Pk=0,Tk=function(e){var t=Date.now();return e+"_"+Math.floor(1e9*Math.random())+ ++Pk+String(t)},jk=function(e){return null!==e&&("textarea"===e.tagName.toLowerCase()||"input"===e.tagName.toLowerCase())},Rk=function(e){return void 0===e||""===e?[]:Array.isArray(e)?e:e.split(" ")},Ak=function(e,t){void 0!==e&&(null!=e.mode&&"object"==typeof e.mode&&"function"==typeof e.mode.set?e.mode.set(t):e.setMode(t))},zk=function(e){return e.options&&e.options.isRegistered("disabled")},Mk=function(){return Mk=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Mk.apply(this,arguments)},Ik=function(e,t,n){var r,o,i=e.createElement("script");i.referrerPolicy="origin",i.type="application/javascript",i.id=t.id,i.src=t.src,i.async=null!==(r=t.async)&&void 0!==r&&r,i.defer=null!==(o=t.defer)&&void 0!==o&&o;var a=function(){i.removeEventListener("load",a),i.removeEventListener("error",l),n(t.src)},l=function(e){i.removeEventListener("load",a),i.removeEventListener("error",l),n(t.src,e)};i.addEventListener("load",a),i.addEventListener("error",l),e.head&&e.head.appendChild(i)},Lk=(mk=[],gk=function(e){var t=mk.find(function(t){return t.getDocument()===e});return void 0===t&&(t=function(e){var t={},n=function(e,n){var r=t[e];r.done=!0,r.error=n;for(var o=0,i=r.handlers;o<i.length;o++)(0,i[o])(e,n);r.handlers=[]};return{loadScripts:function(r,o,i){var a=function(e){return void 0!==i?i(e):console.error(e)};if(0!==r.length)for(var l=0,s=!1,u=function(e,t){s||(t?(s=!0,a(t)):++l===r.length&&o())},c=0,d=r;c<d.length;c++){var f=d[c],p=t[f.src];if(p)p.done?u(f.src,p.error):p.handlers.push(u);else{var h=Tk("tiny-");t[f.src]={id:h,src:f.src,done:!1,error:null,handlers:[u]},Ik(e,Mk({id:h},f),n)}}else a(new Error("At least one script must be provided"))},deleteScripts:function(){for(var n,r=0,o=Object.values(t);r<o.length;r++){var i=o[r],a=e.getElementById(i.id);null!=a&&"SCRIPT"===a.tagName&&(null===(n=a.parentNode)||void 0===n||n.removeChild(a))}t={}},getDocument:function(){return e}}}(e),mk.push(t)),t},{loadList:function(e,t,n,r,o){var i=function(){return gk(e).loadScripts(t,r,o)};n>0?setTimeout(i,n):i()},reinitialize:function(){for(var e=mk.pop();null!=e;e=mk.pop())e.deleteScripts()}}),Fk=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Dk=function(){return Dk=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Dk.apply(this,arguments)},Vk="change keyup compositionend setcontent CommentChange",Bk=function(e){function t(t){var n,r,o,i=e.call(this,t)||this;return i.rollbackTimer=void 0,i.valueCursor=void 0,i.rollbackChange=function(){var e=i.editor,t=i.props.value;e&&t&&t!==i.currentContent&&e.undoManager.ignore(function(){if(e.setContent(t),i.valueCursor&&(!i.inline||e.hasFocus()))try{e.selection.moveToBookmark(i.valueCursor)}catch(e){}}),i.rollbackTimer=void 0},i.handleBeforeInput=function(e){if(void 0!==i.props.value&&i.props.value===i.currentContent&&i.editor&&(!i.inline||i.editor.hasFocus()))try{i.valueCursor=i.editor.selection.getBookmark(3)}catch(e){}},i.handleBeforeInputSpecial=function(e){"Enter"!==e.key&&"Backspace"!==e.key&&"Delete"!==e.key||i.handleBeforeInput(e)},i.handleEditorChange=function(e){var t=i.editor;if(t&&t.initialized){var n=t.getContent();void 0!==i.props.value&&i.props.value!==n&&!1!==i.props.rollback&&(i.rollbackTimer||(i.rollbackTimer=window.setTimeout(i.rollbackChange,"number"==typeof i.props.rollback?i.props.rollback:200))),n!==i.currentContent&&(i.currentContent=n,Ck(i.props.onEditorChange)&&i.props.onEditorChange(n,t))}},i.handleEditorChangeSpecial=function(e){"Backspace"!==e.key&&"Delete"!==e.key||i.handleEditorChange(e)},i.initialise=function(e){var t,n,r;void 0===e&&(e=0);var o=i.elementRef.current;if(o)if(function(e){if(!("isConnected"in Node.prototype)){for(var t=e,n=e.parentNode;null!=n;)n=(t=n).parentNode;return t===e.ownerDocument}return e.isConnected}(o)){var a,l,s=function(e){var t=kk(e);if(!t)throw new Error("tinymce should have been loaded into global scope");return t}(i.view),u=Dk(Dk(Dk(Dk({},i.props.init),{selector:void 0,target:o,disabled:i.props.disabled,readonly:i.props.readonly,inline:i.inline,plugins:(a=null===(t=i.props.init)||void 0===t?void 0:t.plugins,l=i.props.plugins,Rk(a).concat(Rk(l))),toolbar:null!==(n=i.props.toolbar)&&void 0!==n?n:null===(r=i.props.init)||void 0===r?void 0:r.toolbar}),i.props.licenseKey?{license_key:i.props.licenseKey}:{}),{setup:function(e){i.editor=e,i.bindHandlers({}),i.inline&&!jk(o)&&e.once("PostRender",function(t){e.setContent(i.getInitialValue(),{no_events:!0})}),i.props.init&&Ck(i.props.init.setup)&&i.props.init.setup(e),i.props.disabled&&(zk(i.editor)?i.editor.options.set("disabled",i.props.disabled):i.editor.mode.set("readonly"))},init_instance_callback:function(e){var t,n=i.getInitialValue();i.currentContent=null!==(t=i.currentContent)&&void 0!==t?t:e.getContent(),i.currentContent!==n&&(i.currentContent=n,e.setContent(n),e.undoManager.clear(),e.undoManager.add(),e.setDirty(!1)),i.props.init&&Ck(i.props.init.init_instance_callback)&&i.props.init.init_instance_callback(e)}});i.inline||(o.style.visibility=""),jk(o)&&(o.value=i.getInitialValue()),s.init(u)}else if(0===e)setTimeout(function(){return i.initialise(1)},1);else{if(!(e<100))throw new Error("tinymce can only be initialised when in a document");setTimeout(function(){return i.initialise(e+1)},100)}},i.id=i.props.id||Tk("tiny-react"),i.elementRef=B.createRef(),i.inline=null!==(o=null!==(n=i.props.inline)&&void 0!==n?n:null===(r=i.props.init)||void 0===r?void 0:r.inline)&&void 0!==o&&o,i.boundHandlers={},i}return Fk(t,e),Object.defineProperty(t.prototype,"view",{get:function(){var e,t;return null!==(t=null===(e=this.elementRef.current)||void 0===e?void 0:e.ownerDocument.defaultView)&&void 0!==t?t:window},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e){var t,n,r=this;if(this.rollbackTimer&&(clearTimeout(this.rollbackTimer),this.rollbackTimer=void 0),this.editor&&(this.bindHandlers(e),this.editor.initialized)){if(this.currentContent=null!==(t=this.currentContent)&&void 0!==t?t:this.editor.getContent(),"string"==typeof this.props.initialValue&&this.props.initialValue!==e.initialValue)this.editor.setContent(this.props.initialValue),this.editor.undoManager.clear(),this.editor.undoManager.add(),this.editor.setDirty(!1);else if("string"==typeof this.props.value&&this.props.value!==this.currentContent){var o=this.editor;o.undoManager.transact(function(){var e;if(!r.inline||o.hasFocus())try{e=o.selection.getBookmark(3)}catch(e){}var t=r.valueCursor;if(o.setContent(r.props.value),!r.inline||o.hasFocus())for(var n=0,i=[e,t];n<i.length;n++){var a=i[n];if(a)try{o.selection.moveToBookmark(a),r.valueCursor=a;break}catch(e){}}})}if(this.props.readonly!==e.readonly){var i=null!==(n=this.props.readonly)&&void 0!==n&&n;Ak(this.editor,i?"readonly":"design")}this.props.disabled!==e.disabled&&(zk(this.editor)?this.editor.options.set("disabled",this.props.disabled):Ak(this.editor,this.props.disabled?"readonly":"design"))}},t.prototype.componentDidMount=function(){var e,t,n,r,o,i=this;null!==kk(this.view)?this.initialise():Array.isArray(this.props.tinymceScriptSrc)&&0===this.props.tinymceScriptSrc.length?null===(t=(e=this.props).onScriptsLoadError)||void 0===t||t.call(e,new Error("No `tinymce` global is present but the `tinymceScriptSrc` prop was an empty array.")):(null===(n=this.elementRef.current)||void 0===n?void 0:n.ownerDocument)&&Lk.loadList(this.elementRef.current.ownerDocument,this.getScriptSources(),null!==(o=null===(r=this.props.scriptLoading)||void 0===r?void 0:r.delay)&&void 0!==o?o:0,function(){var e,t;null===(t=(e=i.props).onScriptsLoad)||void 0===t||t.call(e),i.initialise()},function(e){var t,n;null===(n=(t=i.props).onScriptsLoadError)||void 0===n||n.call(t,e)})},t.prototype.componentWillUnmount=function(){var e=this,t=this.editor;t&&(t.off(Vk,this.handleEditorChange),t.off(this.beforeInputEvent(),this.handleBeforeInput),t.off("keypress",this.handleEditorChangeSpecial),t.off("keydown",this.handleBeforeInputSpecial),t.off("NewBlock",this.handleEditorChange),Object.keys(this.boundHandlers).forEach(function(n){t.off(n,e.boundHandlers[n])}),this.boundHandlers={},t.remove(),this.editor=void 0)},t.prototype.render=function(){return this.inline?this.renderInline():this.renderIframe()},t.prototype.beforeInputEvent=function(){return window.InputEvent&&"function"==typeof InputEvent.prototype.getTargetRanges?"beforeinput SelectionChange":"SelectionChange"},t.prototype.renderInline=function(){var e=this.props.tagName,t=void 0===e?"div":e;return B.createElement(t,{ref:this.elementRef,id:this.id,tabIndex:this.props.tabIndex})},t.prototype.renderIframe=function(){return B.createElement("textarea",{ref:this.elementRef,style:{visibility:"hidden"},name:this.props.textareaName,id:this.id,tabIndex:this.props.tabIndex})},t.prototype.getScriptSources=function(){var e,t,n=null===(e=this.props.scriptLoading)||void 0===e?void 0:e.async,r=null===(t=this.props.scriptLoading)||void 0===t?void 0:t.defer;if(void 0!==this.props.tinymceScriptSrc)return"string"==typeof this.props.tinymceScriptSrc?[{src:this.props.tinymceScriptSrc,async:n,defer:r}]:this.props.tinymceScriptSrc.map(function(e){return"string"==typeof e?{src:e,async:n,defer:r}:e});var o=this.props.cloudChannel,i=this.props.apiKey?this.props.apiKey:"no-api-key";return[{src:"https://cdn.tiny.cloud/1/".concat(i,"/tinymce/").concat(o,"/tinymce.min.js"),async:n,defer:r}]},t.prototype.getInitialValue=function(){return"string"==typeof this.props.initialValue?this.props.initialValue:"string"==typeof this.props.value?this.props.value:""},t.prototype.bindHandlers=function(e){var t=this;if(void 0!==this.editor){Ok(this.editor,e,this.props,this.boundHandlers,function(e){return t.props[e]});var n=function(e){return void 0!==e.onEditorChange||void 0!==e.value},r=n(e),o=n(this.props);!r&&o?(this.editor.on(Vk,this.handleEditorChange),this.editor.on(this.beforeInputEvent(),this.handleBeforeInput),this.editor.on("keydown",this.handleBeforeInputSpecial),this.editor.on("keyup",this.handleEditorChangeSpecial),this.editor.on("NewBlock",this.handleEditorChange)):r&&!o&&(this.editor.off(Vk,this.handleEditorChange),this.editor.off(this.beforeInputEvent(),this.handleBeforeInput),this.editor.off("keydown",this.handleBeforeInputSpecial),this.editor.off("keyup",this.handleEditorChangeSpecial),this.editor.off("NewBlock",this.handleEditorChange))}},t.propTypes=Sk,t.defaultProps={cloudChannel:"8"},t}(B.Component);function Nk(){return Nk=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Nk.apply(null,arguments)}function $k(e){return function(e){if(Array.isArray(e))return Yk(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Gk(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 Uk(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var s=r&&r.prototype instanceof l?r:l,u=Object.create(s.prototype);return Hk(u,"_invoke",function(n,r,o){var i,l,s,u=0,c=o||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,l=0,s=e,f.n=n,a}};function p(n,r){for(l=n,s=r,t=0;!d&&u&&!o&&t<c.length;t++){var o,i=c[t],p=f.p,h=i[2];n>3?(o=h===r)&&(s=i[(l=i[4])?5:(l=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(l=0,f.v=r,f.n=i[1]):p<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,l=0))}if(o||n>1)return a;throw d=!0,r}return function(o,c,h){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,h),l=c,s=h;(t=l<2?e:s)||!d;){i||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,i){if(l||(o="next"),t=i[o]){if(!(t=t.call(i,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=i.return)&&t.call(i),l<2&&(s=TypeError("The iterator does not provide a '"+o+"' method"),l=1);i=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==a)break}catch(t){i=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,o,i),!0),u}var a={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(Hk(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,Hk(e,o,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,Hk(d,"constructor",u),Hk(u,"constructor",s),s.displayName="GeneratorFunction",Hk(u,o,"GeneratorFunction"),Hk(d),Hk(d,o,"Generator"),Hk(d,r,function(){return this}),Hk(d,"toString",function(){return"[object Generator]"}),(Uk=function(){return{w:i,m:f}})()}function Hk(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}Hk=function(e,t,n,r){function i(t,n){Hk(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},Hk(e,t,n,r)}function Wk(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function qk(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||Gk(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 Gk(e,t){if(e){if("string"==typeof e)return Yk(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Yk(e,t):void 0}}function Yk(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Xk="undefined"!=typeof _UR_BLOCKS_&&_UR_BLOCKS_,Zk=Xk.urRestApiNonce,Kk=Xk.restURL,Qk={fontSize:"11px",fontWeight:500,lineHeight:"1.4",textTransform:"uppercase",display:"block",paddingTop:0,paddingBottom:0,maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"};function Jk(e){return Jk="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},Jk(e)}function eC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function tC(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?eC(Object(n),!0).forEach(function(t){nC(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eC(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function nC(e,t,n){return(t=function(e){var t=function(e){if("object"!=Jk(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Jk(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Jk(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rC=_w.name,oC=tC(tC({},_w),{},{icon:function(e){return N().createElement(_r.svg,xy({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"#475BB2",h:"6",w:"6"},e),N().createElement("path",{fillRule:"evenodd",d:"M7.5 2c-.716 0-1.403.287-1.91.799a2.741 2.741 0 0 0-.79 1.928v.91c0 .501.403.908.9.908s.9-.407.9-.909v-.909c0-.24.095-.472.264-.643a.895.895 0 0 1 .636-.266h6.3v2.727c0 .724.284 1.417.79 1.929a2.686 2.686 0 0 0 1.91.799h2.7v10a.914.914 0 0 1-.264.643.896.896 0 0 1-.636.266H5.7c-.497 0-.9.407-.9.909s.403.909.9.909h12.6c.716 0 1.403-.287 1.91-.799.505-.511.79-1.205.79-1.928V7.455a.914.914 0 0 0-.264-.643l-4.5-4.546A.895.895 0 0 0 15.6 2H7.5Zm8.1 2.195v2.35c0 .242.095.473.264.643.168.17.397.267.636.267h2.327L15.6 4.195Z",clipRule:"evenodd"}),N().createElement("path",{fillRule:"evenodd",d:"M3 13.818A1.81 1.81 0 0 1 4.8 12v-.91c0-.722.284-1.416.79-1.928a2.686 2.686 0 0 1 1.91-.798 2.69 2.69 0 0 1 1.91.798c.506.512.79 1.206.79 1.929V12c.994 0 1.8.814 1.8 1.818v2.728a1.81 1.81 0 0 1-1.8 1.818H4.8A1.81 1.81 0 0 1 3 16.545v-2.727ZM8.4 12v-.91a.914.914 0 0 0-.264-.642.895.895 0 0 0-1.272 0 .914.914 0 0 0-.264.643V12h1.8Zm1.8 1.818v2.728H4.8v-2.728h5.4Z",clipRule:"evenodd"}))},edit:function(e){var t=e.attributes,n=e.setAttributes,r=t.accessAllRoles,o=t.accessSpecificRoles,i=void 0===o?[]:o,a=t.accessMembershipRoles,l=void 0===a?[]:a,s=t.accessControl,u=t.message,c=t.enableContentRestriction,d=(0,Io.useBlockProps)(),f=qk((0,B.useState)({}),2),p=f[0],h=f[1],m=qk((0,B.useState)(""),2),g=(m[0],m[1]),v=qk((0,B.useState)({}),2),b=v[0],y=v[1],w=qk((0,B.useState)({}),2),x=w[0],S=w[1];(0,B.useEffect)(function(){var e=function(){var e,t=(e=Uk().m(function e(){var t,n,r,o,i,a,l;return Uk().w(function(e){for(;;)switch(e.p=e.n){case 0:return e.p=0,e.n=1,Promise.all([xe({path:"".concat(Kk,"user-registration/v1/gutenberg-blocks/membership-role-list"),headers:{"X-WP-Nonce":Zk}}),xe({path:"".concat(Kk,"user-registration/v1/gutenberg-blocks/access-role-list"),headers:{"X-WP-Nonce":Zk}}),xe({path:"".concat(Kk,"user-registration/v1/gutenberg-blocks/role-list"),headers:{"X-WP-Nonce":Zk}}),xe({path:"".concat(Kk,"user-registration/v1/gutenberg-blocks/cr-data"),headers:{"X-WP-Nonce":Zk}})]);case 1:t=e.v,n=qk(t,4),r=n[0],o=n[1],i=n[2],a=n[3],r.success&&S(r.membership_roles_list),o.success&&y(o.access_data.access_role_list),i.success&&h(i.role_lists),a.success&&g(a.cr_data.default_message),e.n=3;break;case 2:e.p=2,l=e.v,console.error("Data fetch failed in Content Restriction block:",l);case 3:return e.a(2)}},e,null,[[0,2]])}),function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){Wk(i,r,o,a,l,"next",e)}function l(e){Wk(i,r,o,a,l,"throw",e)}a(void 0)})});return function(){return t.apply(this,arguments)}}();e()},[]);var k=(0,B.useMemo)(function(){return Object.entries(p).map(function(e){var t=qk(e,2);return{value:t[0],label:t[1]}})},[p]),C=(0,B.useMemo)(function(){return Object.entries(b).map(function(e){var t=qk(e,2);return{value:t[0],label:t[1]}})},[b]),E=(0,B.useMemo)(function(){return Object.entries(x).map(function(e){var t=qk(e,2);return{value:t[0],label:t[1]}})},[x]),_=function(){return J("access"===s?"Allow Access to":"Restrict Access to","user-registration")};return N().createElement(ny,null,N().createElement(Or,Nk({},d,{borderWidth:"1px",borderRadius:"lg",p:5}),N().createElement(Io.InspectorControls,null,N().createElement(Mo.PanelBody,{title:J("Settings","user-registration")},N().createElement(Mo.ToggleControl,{label:J("Enable Content Restriction","user-registration"),checked:c,onChange:function(e){return n({enableContentRestriction:e})}}),c&&N().createElement(Or,null,N().createElement(Mo.SelectControl,{label:J("Select Access Control","user-registration"),value:s,options:[{label:J("Access","user-registration"),value:"access"},{label:J("Restrict","user-registration"),value:"restrict"}],onChange:function(e){return n({accessControl:e})}}),N().createElement(Mo.SelectControl,{label:_(),value:r,options:[{label:"Select ".concat(_()),value:""}].concat($k(C)),onChange:function(e){return n({accessAllRoles:e})}}),"choose_specific_roles"===r&&N().createElement(zw,null,N().createElement(Iw,{sx:Qk},J("Specific Roles","user-registration")),N().createElement(bk,{isMulti:!0,options:k,classNamePrefix:"react-select",placeholder:J("Select specific roles...","user-registration"),value:k.filter(function(e){return i.includes(e.value)}),onChange:function(e){return n({accessSpecificRoles:e.map(function(e){return e.value})})}})),"memberships"===r&&N().createElement(zw,null,N().createElement(Iw,{sx:Qk},J("Select Memberships","user-registration")),N().createElement(bk,{isMulti:!0,options:E,classNamePrefix:"react-select",placeholder:J("Select membership roles...","user-registration"),value:E.filter(function(e){return l.includes(e.value)}),onChange:function(e){return n({accessMembershipRoles:e.map(function(e){return e.value})})}})),N().createElement(zw,{mt:6},N().createElement(Iw,{sx:Qk},J("Restricted Content Message","user-registration")),N().createElement(Bk,{value:u,onEditorChange:function(e){return n({message:e})},init:{height:200,menubar:!1,plugins:"link lists",toolbar:"undo redo | bold italic | alignleft aligncenter alignright | bullist numlist",content_style:"body { font-family:Arial,sans-serif; font-size:14px }"}}))))),N().createElement(Or,{mb:6},N().createElement(Io.InnerBlocks,{templateLock:!1}),N().createElement("div",{className:"user-registration-content-restriction-block-note"},N().createElement("span",{className:"dashicon dashicons dashicons-lock"}),N().createElement("p",{className:"user-registration-content-restriction-block-note-text"},J("This block has global content restriction settings.","user-registration"))))))},save:function(e){var t=e.attributes,n=t.accessAllRoles,r=t.accessSpecificRoles,o=t.accessMembershipRoles,i=t.accessControl,a=t.message,l=t.enableContentRestriction,s=function(e){return String(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")},u="";if(r&&r.length>0){var c=Array.isArray(r)?r.join(","):r;u+=' access_specific_role="'.concat(s(c),'"')}if(o&&o.length>0){var d=Array.isArray(o)?o.map(function(e){return e.trim()}).join(","):String(o).trim();u+=' access_membership_role="'.concat(s(d),'"')}i&&(u+=' access_control="'.concat(s(i),'"')),n&&(u+=' access_all_roles="'.concat(s(n),'"')),l&&(u+=' enable_content_restriction="'.concat(s(l),'"')),a&&(u+=' message="'.concat(s(a),'"'));var f=Io.useBlockProps.save();return React.createElement(React.Fragment,null,"[urcr_restrict".concat(u,"]"),React.createElement("div",f,React.createElement(Io.InnerBlocks.Content,null)),"[/urcr_restrict]")}});const iC=JSON.parse('{"$schema":"https://schemas.wp.org/block-json/1.1","apiVersion":3,"name":"user-registration/membership-listing","version":"1.0.0","title":"Membership Listing","category":"user-registration","description":"This block provides block for membership listing.","keywords":["user registration membership listing","urm membership listing","membership listing"],"textdomain":"user-registration","example":{"attributes":{}},"supports":{"className":false,"customClassName":false,"reusable":false},"attributes":{"id":{"type":"string"},"redirection_page_id":{"type":"string","default":""},"thank_you_page_id":{"type":"string","default":""},"group_id":{"type":"string","default":""},"type":{"type":"string","default":"list"},"button_text":{"type":"string","default":"Sign Up"}},"editorScript":"user-registration-blocks-editor","editorStyle":"user-registration-blocks-editor"}');function aC(e){return function(e){if(Array.isArray(e))return pC(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||fC(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 lC(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var s=r&&r.prototype instanceof l?r:l,u=Object.create(s.prototype);return sC(u,"_invoke",function(n,r,o){var i,l,s,u=0,c=o||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,l=0,s=e,f.n=n,a}};function p(n,r){for(l=n,s=r,t=0;!d&&u&&!o&&t<c.length;t++){var o,i=c[t],p=f.p,h=i[2];n>3?(o=h===r)&&(s=i[(l=i[4])?5:(l=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(l=0,f.v=r,f.n=i[1]):p<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,l=0))}if(o||n>1)return a;throw d=!0,r}return function(o,c,h){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,h),l=c,s=h;(t=l<2?e:s)||!d;){i||(l?l<3?(l>1&&(f.n=-1),p(l,s)):f.n=s:f.v=s);try{if(u=2,i){if(l||(o="next"),t=i[o]){if(!(t=t.call(i,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,l<2&&(l=0)}else 1===l&&(t=i.return)&&t.call(i),l<2&&(s=TypeError("The iterator does not provide a '"+o+"' method"),l=1);i=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==a)break}catch(t){i=e,l=1,s=t}finally{u=1}}return{value:t,done:d}}}(n,o,i),!0),u}var a={};function l(){}function s(){}function u(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(sC(t={},r,function(){return this}),t),d=u.prototype=l.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,sC(e,o,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=u,sC(d,"constructor",u),sC(u,"constructor",s),s.displayName="GeneratorFunction",sC(u,o,"GeneratorFunction"),sC(d),sC(d,o,"Generator"),sC(d,r,function(){return this}),sC(d,"toString",function(){return"[object Generator]"}),(lC=function(){return{w:i,m:f}})()}function sC(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}sC=function(e,t,n,r){function i(t,n){sC(e,t,function(e){return this._invoke(t,n,e)})}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},sC(e,t,n,r)}function uC(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function cC(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){uC(i,r,o,a,l,"next",e)}function l(e){uC(i,r,o,a,l,"throw",e)}a(void 0)})}}function dC(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,l=[],s=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);s=!0);}catch(e){u=!0,o=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,t)||fC(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 fC(e,t){if(e){if("string"==typeof e)return pC(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?pC(e,t):void 0}}function pC(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var hC="undefined"!=typeof _UR_BLOCKS_&&_UR_BLOCKS_,mC=hC.urRestApiNonce,gC=hC.restURL,vC=function(e){return Object.keys(e).map(function(t){return{value:Number(t),label:e[t]}})};function bC(e){return bC="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},bC(e)}function yC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function wC(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yC(Object(n),!0).forEach(function(t){xC(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yC(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function xC(e,t,n){return(t=function(e){var t=function(e){if("object"!=bC(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=bC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==bC(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var SC=iC.name,kC=wC(wC({},iC),{},{icon:function(e){return N().createElement(_r.svg,xy({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"#475BB2",h:"6",w:"6"},e),N().createElement("path",{d:"M4.468 22.393h15.064c.815 0 1.468-.653 1.468-1.469V3.468C21 2.653 20.347 2 19.532 2H4.468C3.653 2 3 2.653 3 3.468v17.484c.027.788.68 1.44 1.468 1.44Zm-.49-18.925c0-.272.218-.49.49-.49h15.064c.272 0 .49.218.49.49v17.484c0 .272-.218.49-.49.49H4.468a.487.487 0 0 1-.49-.49V3.468Z"}),N().createElement("path",{d:"M18.499 6.106h-6.445v.979H18.5v-.98Zm0 5.601h-6.445v.979H18.5v-.979Zm0 5.628h-6.445v.98H18.5v-.98ZM8.846 6.46a1.36 1.36 0 0 0 .38-.952c0-.762-.625-1.36-1.359-1.36-.761 0-1.36.625-1.36 1.36 0 .353.136.706.381.951a1.357 1.357 0 0 0-1.196 1.36v.788c0 .245.19.435.435.435h3.507a.43.43 0 0 0 .435-.435V7.82c-.027-.707-.543-1.305-1.223-1.36Zm-.979-1.442c.272 0 .49.218.49.49a.488.488 0 0 1-.49.489.487.487 0 0 1-.49-.49c0-.271.218-.489.49-.489Zm1.305 3.127H6.535V7.79c0-.271.217-.462.462-.462h1.686c.272 0 .462.218.462.462l.027.354Zm-.326 3.915c.245-.244.38-.598.38-.951 0-.762-.625-1.36-1.359-1.36a1.365 1.365 0 0 0-.979 2.311 1.357 1.357 0 0 0-1.196 1.36v.788c0 .245.19.435.435.435h3.507a.43.43 0 0 0 .435-.435v-.788c-.027-.707-.543-1.278-1.223-1.36Zm-.979-1.414c.272 0 .49.218.49.49s-.218.49-.49.49a.505.505 0 0 1-.49-.49c0-.245.218-.49.49-.49Zm1.305 3.1H6.535v-.353c0-.272.217-.463.462-.463h1.686c.272 0 .462.218.462.463l.027.353Zm-.326 3.943c.245-.245.38-.598.38-.952 0-.761-.625-1.36-1.359-1.36-.761 0-1.36.626-1.36 1.36 0 .354.136.707.381.952a1.357 1.357 0 0 0-1.196 1.36v.76c0 .245.19.436.435.436h3.507a.43.43 0 0 0 .435-.435v-.789a1.398 1.398 0 0 0-1.223-1.332Zm-.979-1.441c.272 0 .49.217.49.49a.488.488 0 0 1-.49.489.487.487 0 0 1-.49-.49c0-.272.218-.49.49-.49Zm1.305 3.127H6.535v-.354c0-.272.217-.462.462-.462h1.686c.272 0 .462.217.462.462l.027.354Z"}))},edit:function(e){var t=e.attributes,n=t.id,r=t.redirection_page_id,o=t.group_id,i=t.thank_you_page_id,a=t.type,l=t.button_text,s=e.setAttributes,u=dC((0,B.useState)(""),2),c=u[0],d=u[1],f=dC((0,B.useState)(""),2),p=f[0],h=f[1],m=dC((0,B.useState)(""),2),g=m[0],v=m[1],b=dC((0,B.useState)(""),2),y=b[0],w=b[1],x=dC((0,B.useState)(!1),2),S=x[0],k=x[1],C=(0,B.useRef)(!1),E=(0,B.useRef)(!1),_=(0,Io.useBlockProps)(),O=iC.name,P=dC((0,B.useState)(!1),2),T=P[0],j=P[1],R=dC((0,B.useState)("block"===a),2),A=(R[0],R[1]),z=function(){var e=cC(lC().m(function e(){var t,n,r;return lC().w(function(e){for(;;)switch(e.p=e.n){case 0:if(e.p=0,p&&c){e.n=2;break}return e.n=1,xe({path:"".concat(gC,"user-registration/v1/gutenberg-blocks/pages"),method:"GET",headers:{"X-WP-Nonce":mC}});case 1:(t=e.v).success&&(h(t.page_lists),d(t.page_lists));case 2:if(g){e.n=4;break}return e.n=3,xe({path:"".concat(gC,"user-registration/v1/gutenberg-blocks/groups"),method:"GET",headers:{"X-WP-Nonce":mC}});case 3:(n=e.v).success&&v(n.group_lists);case 4:e.n=6;break;case 5:e.p=5,r=e.v,console.error("Error fetching data:",r);case 6:return e.a(2)}},e,null,[[0,5]])}));return function(){return e.apply(this,arguments)}}(),M=function(){var e=cC(lC().m(function e(t){var n,r,o,i,a;return lC().w(function(e){for(;;)switch(e.p=e.n){case 0:return n=t.id,r=t.type,o=t.lockKey,i=t.isLockedRef,k(!0),w(""),j(!1),e.p=1,e.n=2,xe({path:"".concat(gC,"user-registration/v1/gutenberg-blocks/verify-pages"),method:"POST",headers:{"X-WP-Nonce":mC,"Content-Type":"application/json"},data:JSON.stringify({page_id:n,type:r})});case 2:i.current&&(wp.data.dispatch("core/editor").unlockPostSaving(o),i.current=!1),j(!0),e.n=4;break;case 3:e.p=3,a=e.v,w((null==a?void 0:a.message)||"Something went wrong."),i.current||(wp.data.dispatch("core/editor").lockPostSaving(o),i.current=!0);case 4:return e.p=4,k(!1),e.f(4);case 5:return e.a(2)}},e,null,[[1,3,4,5]])}));return function(t){return e.apply(this,arguments)}}(),I=function(){var e=cC(lC().m(function e(){return lC().w(function(e){for(;;)switch(e.n){case 0:if(!r){e.n=1;break}return e.n=1,M({id:r,type:"user_registration_member_registration_page_id",lockKey:"ur-redirection-page-lock",isLockedRef:C});case 1:if(!i){e.n=2;break}return e.n=2,M({id:i,type:"user_registration_thank_you_page_id",lockKey:"ur-thank-you-page-lock",isLockedRef:E});case 2:return e.a(2)}},e)}));return function(){return e.apply(this,arguments)}}();return(0,B.useEffect)(function(){return function(){C.current&&(wp.data.dispatch("core/editor").unlockPostSaving("ur-redirection-page-lock"),C.current=!1),E.current&&(wp.data.dispatch("core/editor").unlockPostSaving("ur-thank-you-page-lock"),E.current=!1)}},[]),(0,B.useEffect)(function(){z()},[]),(0,B.useEffect)(function(){I()},[]),(0,B.useEffect)(function(){if(!n){var e="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)});s({id:e})}},[]),N().createElement(N().Fragment,null,N().createElement(Or,_,N().createElement(Io.InspectorControls,{key:"ur-gutenberg-membership-listing-inspector-controls"},N().createElement(Mo.PanelBody,{initialOpen:!1,title:J("Redirection Page settings","user-registration")},N().createElement(Mo.SelectControl,{key:"ur-gutenberg-registration-form-id",value:r,label:J("Set Redirection Page","user-registration"),options:[{label:J("Select a page","user-registration"),value:""}].concat(aC(vC(c))),onChange:function(e){return s({redirection_page_id:e})||M({id:e,type:"user_registration_member_registration_page_id",lockKey:"ur-redirection-page-lock",isLockedRef:C})},__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0}),N().createElement(Mo.SelectControl,{key:"ur-gutenberg-thank-you-page-id",value:i,label:J("Set Thank You Page","user-registration"),options:[{label:J("Select thank you page","user-registration"),value:""}].concat(aC(vC(p))),onChange:function(e){return s({thank_you_page_id:e})||M({id:e,type:"user_registration_thank_you_page_id",lockKey:"ur-thank-you-page-lock",isLockedRef:E})},__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0}),S&&N().createElement("div",{style:{textAlign:"center",margin:"10px 0"}},N().createElement(Mo.Spinner,null)),y&&N().createElement(Mo.Notice,{status:"error",isDismissible:!1},y),!y&&T&&N().createElement(Mo.Notice,{status:"success",isDismissible:!1},J("Page's verified successfully!","user-registration"))),N().createElement(Mo.PanelBody,{title:J("Group Settings","user-registration")},N().createElement(Mo.SelectControl,{key:"ur-gutenberg-group-id",value:o,label:J("Set Group","user-registration"),options:[{label:J("Select a Group","user-registration"),value:""}].concat(aC(vC(g))),onChange:function(e){return s({group_id:e})},__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0}),N().createElement(Mo.SelectControl,{key:"ur-gutenberg-group-type-id",value:a,label:J("Set Group Type","user-registration"),options:[{label:J("Select a Group Type","user-registration"),value:""},{label:J("List","user-registration"),value:"list"},{label:J("Block","user-registration"),value:"block"}],onChange:function(e){s({type:e}),A("block"===e)},__nextHasNoMarginBottom:!0,__next40pxDefaultSize:!0})),N().createElement(Mo.PanelBody,{title:J("Content Settings","user-registration")},N().createElement(Mo.TextControl,{key:"ur-gutenberg-button-text",label:J("Button Text","user-registration"),value:l,onChange:function(e){s({button_text:e})}}))),N().createElement(Mo.Disabled,null,N().createElement(wp.serverSideRender,{key:"ur-gutenberg-membership-listing-server-side-renderer",block:O,attributes:e.attributes}))))},save:function(e){return React.createElement("div",null,"Membership Listing")}});const CC=JSON.parse('{"$schema":"https://schemas.wp.org/block-json/1.1","apiVersion":3,"name":"user-registration/thank-you","version":"1.0.0","title":"Thank You","category":"user-registration","description":"This provides block for a thank you page.","keywords":["user registration thank you","urm thank you","thank you"],"textdomain":"user-registration","example":{"attributes":{}},"supports":{"className":false,"customClassName":false,"reusable":false},"attributes":{"title":{"type":"string","default":""},"header":{"type":"string","default":"Thank You! Your registration was completed successfully."},"footer":{"type":"string","default":""},"notice_message":{"type":"string","default":"For paid memberships there might be a delay of few minutes for your subscription status to be updated by the payment gateways."},"transaction_info":{"type":"string","default":"Please use this transaction/order id for support regarding payments if needed."},"is_preview":{"type":"boolean","default":false},"show_notice_1":{"type":"boolean","default":true},"show_notice_2":{"type":"boolean","default":true}},"editorScript":"user-registration-blocks-editor","editorStyle":"user-registration-blocks-editor"}'),EC=vo(function(e,t){const{direction:n,align:r,justify:o,wrap:i,basis:a,grow:l,shrink:s,...u}=e,c={display:"flex",flexDirection:n,alignItems:r,justifyContent:o,flexWrap:i,flexBasis:a,flexGrow:l,flexShrink:s};return(0,Pr.jsx)(_r.div,{ref:t,__css:c,...u})});EC.displayName="Flex";const _C=wp.serverSideRender;var OC=n.n(_C);function PC(e){return PC="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},PC(e)}function TC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function jC(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?TC(Object(n),!0).forEach(function(t){RC(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):TC(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function RC(e,t,n){return(t=function(e){var t=function(e){if("object"!=PC(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=PC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==PC(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function AC(e){return AC="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},AC(e)}function zC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function MC(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zC(Object(n),!0).forEach(function(t){IC(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zC(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function IC(e,t,n){return(t=function(e){var t=function(e){if("object"!=AC(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=AC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==AC(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var LC=CC.name,FC=MC(MC({},CC),{},{icon:function(e){return N().createElement(_r.svg,xy({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"#475BB2",h:"6",w:"6"},e),N().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.1404 15.1464C15.3942 14.8926 15.8058 14.8926 16.0596 15.1464C16.2972 15.3841 16.4857 15.6662 16.6144 15.9767C16.743 16.2872 16.8092 16.62 16.8092 16.9561C16.8092 17.2921 16.743 17.6249 16.6144 17.9354C16.4857 18.2459 16.2972 18.528 16.0596 18.7657C15.822 19.0033 15.5398 19.1918 15.2293 19.3204C14.9188 19.449 14.5861 19.5152 14.25 19.5152C13.9139 19.5152 13.5811 19.449 13.2706 19.3204C12.9601 19.1918 12.678 19.0033 12.4404 18.7657L10.6404 16.9657C10.3865 16.7118 10.3865 16.3003 10.6404 16.0464C10.8942 15.7926 11.3058 15.7926 11.5596 16.0464L13.3596 17.8464C13.4765 17.9634 13.6153 18.0561 13.7681 18.1194C13.9209 18.1827 14.0846 18.2152 14.25 18.2152C14.4153 18.2152 14.5791 18.1827 14.7318 18.1194C14.8846 18.0561 15.0234 17.9634 15.1404 17.8464C15.2573 17.7295 15.35 17.5907 15.4133 17.4379C15.4766 17.2852 15.5092 17.1214 15.5092 16.9561C15.5092 16.7907 15.4766 16.627 15.4133 16.4742C15.35 16.3214 15.2573 16.1826 15.1404 16.0657C14.8865 15.8118 14.8865 15.4003 15.1404 15.1464Z"}),N().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.4994 5.20196C15.6283 4.68113 14.6084 4.46573 13.601 4.58986C12.5939 4.71398 11.6569 5.17041 10.9383 5.88694V5.88694L8.40958 8.41569C8.17344 8.65183 8.04077 8.97211 8.04077 9.30607C8.04077 9.64003 8.17344 9.96031 8.40958 10.1964C8.64573 10.4326 8.966 10.5653 9.29996 10.5653C9.63392 10.5653 9.9542 10.4326 10.1903 10.1964L10.9823 9.40445C11.6105 8.7771 12.4622 8.42445 13.35 8.42445C14.2377 8.42445 15.0892 8.77682 15.7173 9.40416L19.2096 12.8964C19.6895 13.3764 19.9592 14.0273 19.9592 14.7061C19.9592 15.3848 19.6895 16.0357 19.2096 16.5157C18.7296 16.9956 18.0787 17.2653 17.4 17.2653C16.7212 17.2653 16.0703 16.9956 15.5903 16.5157L13.3403 14.2657C13.0865 14.0118 13.0865 13.6003 13.3403 13.3464C13.5942 13.0926 14.0057 13.0926 14.2596 13.3464L16.5096 15.5964C16.7457 15.8326 17.066 15.9653 17.4 15.9653C17.7339 15.9653 18.0542 15.8326 18.2903 15.5964C18.5265 15.3603 18.6592 15.04 18.6592 14.7061C18.6592 14.3721 18.5265 14.0518 18.2903 13.8157L14.7986 10.324C14.4143 9.94008 13.8932 9.72444 13.35 9.72444C12.8067 9.72444 12.2857 9.94008 11.9013 10.324L11.1096 11.1157C10.6296 11.5956 9.9787 11.8653 9.29996 11.8653C8.62122 11.8653 7.97028 11.5956 7.49034 11.1157C7.0104 10.6357 6.74077 9.98481 6.74077 9.30607C6.74077 8.62733 7.0104 7.97639 7.49034 7.49645L10.0193 4.96745C10.9428 4.04644 12.1476 3.45914 13.442 3.29962C14.7363 3.14014 16.0467 3.41681 17.166 4.08585V4.08585L17.5918 4.33957C17.8363 4.48713 18.127 4.53845 18.4072 4.48355L18.4083 4.48332L19.9718 4.16883C20.3237 4.09804 20.6664 4.32595 20.7372 4.67789C20.808 5.02983 20.5801 5.37251 20.2281 5.44331L18.6621 5.75831L18.6596 5.75881C18.0625 5.87642 17.4431 5.76762 16.9219 5.45364L16.9201 5.45256L16.4994 5.20196Z"}),N().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.0411 3.25873C20.3986 3.22622 20.7148 3.4897 20.7473 3.84721L21.6473 13.7472C21.6638 13.9291 21.6031 14.1095 21.48 14.2444C21.3568 14.3792 21.1826 14.4561 21 14.4561H19.2C18.841 14.4561 18.55 14.165 18.55 13.8061C18.55 13.4471 18.841 13.1561 19.2 13.1561H20.2882L19.4526 3.9649C19.4201 3.60739 19.6836 3.29123 20.0411 3.25873Z"}),N().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.95883 3.25873C4.31634 3.29123 4.57981 3.60739 4.54731 3.9649L3.67487 13.5617L9.3096 19.1964C9.54574 19.4326 9.86602 19.5652 10.2 19.5652C10.5339 19.5652 10.8542 19.4326 11.0904 19.1964C11.3265 18.9603 11.4592 18.64 11.4592 18.3061C11.4592 17.9721 11.3265 17.6518 11.0904 17.4157C10.8365 17.1618 10.8365 16.7503 11.0904 16.4964C11.3442 16.2426 11.7558 16.2426 12.0096 16.4964C12.4895 16.9764 12.7592 17.6273 12.7592 18.3061C12.7592 18.9848 12.4895 19.6357 12.0096 20.1157C11.5297 20.5956 10.8787 20.8652 10.2 20.8652C9.52124 20.8652 8.8703 20.5956 8.39036 20.1157L2.54036 14.2657C2.40395 14.1293 2.33518 13.9393 2.35265 13.7472L3.25265 3.84721C3.28515 3.4897 3.60132 3.22622 3.95883 3.25873Z"}),N().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.24998 4.80606C3.24998 4.44707 3.54099 4.15606 3.89998 4.15606H11.1C11.459 4.15606 11.75 4.44707 11.75 4.80606C11.75 5.16504 11.459 5.45606 11.1 5.45606H3.89998C3.54099 5.45606 3.24998 5.16504 3.24998 4.80606Z",fill:"#475BB2"}))},edit:function(e){var t=e.attributes,n=t.header,r=t.footer,o=t.notice_message,i=t.transaction_info,a=t.show_notice_1,l=t.show_notice_2,s=e.setAttributes,u=(0,Io.useBlockProps)(),c=CC.name,d=CC.attributes.notice_message.default,f=CC.attributes.transaction_info.default;return N().createElement(N().Fragment,null,N().createElement(Or,u,N().createElement(Io.InspectorControls,{key:"ur-gutenberg-thank-you-inspector-controls"},N().createElement(Mo.PanelBody,{initialOpen:!1,title:J("Header Content","user-registration")},N().createElement(Bk,{value:n,onEditorChange:function(e){return s({header:e})},init:{height:200,menubar:!1,plugins:"link lists textcolor colorpicker hr",toolbar:"\n\t\t\t\t\t\t\t\t\t\t undo redo |\n\t\t\t\t\t\t\t\t\t\t styleselect | fontselect fontsizeselect |\n\t\t\t\t\t\t\t\t\t\t bold italic underline strikethrough |\n\t\t\t\t\t\t\t\t\t\t forecolor backcolor |\n\t\t\t\t\t\t\t\t\t\t hr |\n\t\t\t\t\t\t\t\t\t\t alignleft aligncenter alignright alignjustify |\n\t\t\t\t\t\t\t\t\t\t bullist numlist outdent indent |\n\t\t\t\t\t\t\t\t\t\t link image emoticons charmap |\n\t\t\t\t\t\t\t\t\t\t removeformat\n\t\t\t\t\t\t\t\t\t\t",content_style:"body { font-family:Arial,sans-serif; font-size:14px }"}})),N().createElement(Mo.PanelBody,{initialOpen:!1,title:J("Payment Information","user-registration")},N().createElement("p",{style:{marginBottom:"8px",fontSize:"13px",color:"#555"}},J("This information is shown only when a payment is processed during registration.","user-registration")),N().createElement(Mo.PanelRow,null,N().createElement(EC,{align:"center",gap:"3",width:"100%"},N().createElement(Or,null,N().createElement(Mo.CheckboxControl,{key:"ur-gutenberg-notice-1",checked:a,onChange:function(e){return s({show_notice_1:e})},__nextHasNoMarginBottom:!0})),N().createElement(Or,{flex:"1"},N().createElement(Mo.TextControl,{key:"ur-gutenberg-notice-text",placeholder:J(d,"user-registration"),value:J(o,"user-registration"),onChange:function(e){return s({notice_message:e})}})))),N().createElement(Mo.PanelRow,null,N().createElement(EC,{align:"center",gap:"3",width:"100%"},N().createElement(Or,null,N().createElement(Mo.CheckboxControl,{key:"ur-gutenberg-notice-2",checked:l,onChange:function(e){return s({show_notice_2:e})},__nextHasNoMarginBottom:!0})),N().createElement(Or,{flex:"1"},N().createElement(Mo.TextControl,{placeholder:J(f,"user-registration"),key:"ur-gutenberg-transaction-info-text",value:J(i,"user-registration"),onChange:function(e){return s({transaction_info:e})}}))))),N().createElement(Mo.PanelBody,{initialOpen:!1,title:J("Footer Content","user-registration")},N().createElement(Bk,{value:r,onEditorChange:function(e){return s({footer:e})},init:{height:200,menubar:!1,plugins:"link lists textcolor colorpicker hr",toolbar:"\n\t\t\t\t\t\t\t\t\t\t undo redo |\n\t\t\t\t\t\t\t\t\t\t styleselect | fontselect fontsizeselect |\n\t\t\t\t\t\t\t\t\t\t bold italic underline strikethrough |\n\t\t\t\t\t\t\t\t\t\t forecolor backcolor |\n\t\t\t\t\t\t\t\t\t\t hr |\n\t\t\t\t\t\t\t\t\t\t alignleft aligncenter alignright alignjustify |\n\t\t\t\t\t\t\t\t\t\t bullist numlist outdent indent |\n\t\t\t\t\t\t\t\t\t\t link image emoticons charmap |\n\t\t\t\t\t\t\t\t\t\t removeformat\n\t\t\t\t\t\t\t\t\t\t",content_style:"body { font-family:Arial,sans-serif; font-size:14px }"}}))),N().createElement(Mo.Disabled,null,N().createElement(OC(),{key:"ur-gutenberg-thank-you-server-side-renderer",block:c,attributes:jC(jC({},e.attributes),{},{is_preview:!0})}))))},save:function(e){return React.createElement("div",null,"Thank You")}}),DC=("undefined"!=typeof _UR_BLOCKS_&&_UR_BLOCKS_).iscRestrictionActive,VC=[e,t,r,o,i,a,s,u];DC&&VC.push(l);var BC=n(691),NC=n.n(BC),$C=n(825),UC=n.n($C),HC=n(659),WC=n.n(HC),qC=n(56),GC=n.n(qC),YC=n(540),XC=n.n(YC),ZC=n(113),KC=n.n(ZC),QC=n(24),JC={};JC.styleTagTransform=KC(),JC.setAttributes=GC(),JC.insert=WC().bind(null,"head"),JC.domAPI=UC(),JC.insertStyleElement=XC(),NC()(QC.A,JC),QC.A&&QC.A.locals&&QC.A.locals;var eE=n(642),tE={};tE.styleTagTransform=KC(),tE.setAttributes=GC(),tE.insert=WC().bind(null,"head"),tE.domAPI=UC(),tE.insertStyleElement=XC(),NC()(eE.A,tE),eE.A&&eE.A.locals&&eE.A.locals;var nE=("undefined"!=typeof _UR_PRO_BLOCKS_&&_UR_PRO_BLOCKS_).isPro;if(function(){for(var e=0,t=VC;e<t.length;e++){var n=t[e],r=R("user-registration.blocks.metadata",n.settings);r.edit=R("user-registration.blocks.edit",r.edit,r),(0,c.registerBlockType)(n.name,r)}}(),nE){var rE;try{rE=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)}rE&&rE()}})()})();
[+]
registration-form
[-] blocks.js.LICENSE.txt
[edit]
[+]
content-restriction-enhanced
[-] dashboard.js
[edit]
[+]
edit-profile
[+]
edit-password
[-] divi-builder.js
[edit]
[+]
thank-you
[-] dashboard.js.LICENSE.txt
[edit]
[+]
..
[+]
membership-listing
[-] reactPlayerPreview.js
[edit]
[+]
login-form
[-] form_templates.js.LICENSE.txt
[edit]
[-] blocks.js
[edit]
[-] form_templates.js
[edit]
[-] formblock.js
[edit]
[+]
login-logout-menu
[-] welcome.js
[edit]
[-] welcome.js.LICENSE.txt
[edit]
[+]
myaccount