(function(Bi,Zl){typeof exports=="object"&&typeof module<"u"?Zl(exports):typeof define=="function"&&define.amd?define(["exports"],Zl):(Bi=typeof globalThis<"u"?globalThis:Bi||self,Zl(Bi.ChatWidget={}))})(this,function(Bi){"use strict";function Zl(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var Rc={exports:{}},$r={},Ac={exports:{}},Ir={exports:{}};Ir.exports;var Ap;function n1(){return Ap||(Ap=1,function(l,o){/** * @license React * react.development.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */(function(){function u(m,M){Object.defineProperty(d.prototype,m,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",M[0],M[1])}})}function s(m){return m===null||typeof m!="object"?null:(m=Mn&&m[Mn]||m["@@iterator"],typeof m=="function"?m:null)}function f(m,M){m=(m=m.constructor)&&(m.displayName||m.name)||"ReactClass";var I=m+"."+M;an[I]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",M,m),an[I]=!0)}function d(m,M,I){this.props=m,this.context=M,this.refs=oe,this.updater=I||k}function h(){}function y(m,M,I){this.props=m,this.context=M,this.refs=oe,this.updater=I||k}function g(m){return""+m}function x(m){try{g(m);var M=!1}catch{M=!0}if(M){M=console;var I=M.error,ee=typeof Symbol=="function"&&Symbol.toStringTag&&m[Symbol.toStringTag]||m.constructor.name||"Object";return I.call(M,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",ee),g(m)}}function w(m){if(m==null)return null;if(typeof m=="function")return m.$$typeof===_?null:m.displayName||m.name||null;if(typeof m=="string")return m;switch(m){case wt:return"Fragment";case It:return"Portal";case Se:return"Profiler";case le:return"StrictMode";case Ge:return"Suspense";case je:return"SuspenseList"}if(typeof m=="object")switch(typeof m.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),m.$$typeof){case Te:return(m.displayName||"Context")+".Provider";case De:return(m._context.displayName||"Context")+".Consumer";case et:var M=m.render;return m=m.displayName,m||(m=M.displayName||M.name||"",m=m!==""?"ForwardRef("+m+")":"ForwardRef"),m;case ct:return M=m.displayName||null,M!==null?M:w(m.type)||"Memo";case Be:M=m._payload,m=m._init;try{return w(m(M))}catch{}}return null}function S(m){return typeof m=="string"||typeof m=="function"||m===wt||m===Se||m===le||m===Ge||m===je||m===xn||typeof m=="object"&&m!==null&&(m.$$typeof===Be||m.$$typeof===ct||m.$$typeof===Te||m.$$typeof===De||m.$$typeof===et||m.$$typeof===He||m.getModuleId!==void 0)}function b(){}function E(){if(rt===0){_t=console.log,gt=console.info,jt=console.warn,Ht=console.error,Bt=console.group,Xn=console.groupCollapsed,cn=console.groupEnd;var m={configurable:!0,enumerable:!0,value:b,writable:!0};Object.defineProperties(console,{info:m,log:m,warn:m,error:m,group:m,groupCollapsed:m,groupEnd:m})}rt++}function Y(){if(rt--,rt===0){var m={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:te({},m,{value:_t}),info:te({},m,{value:gt}),warn:te({},m,{value:jt}),error:te({},m,{value:Ht}),group:te({},m,{value:Bt}),groupCollapsed:te({},m,{value:Xn}),groupEnd:te({},m,{value:cn})})}0>rt&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function $(m){if($i===void 0)try{throw Error()}catch(I){var M=I.stack.trim().match(/\n( *(at )?)/);$i=M&&M[1]||"",ao=-1)":-1ue||vt[xe]!==Gt[ue]){var wa=` `+vt[xe].replace(" at new "," at ");return m.displayName&&wa.includes("")&&(wa=wa.replace("",m.displayName)),typeof m=="function"&&lo.set(m,wa),wa}while(1<=xe&&0<=ue);break}}}finally{Ii=!1,J.H=ee,Y(),Error.prepareStackTrace=I}return vt=(vt=m?m.displayName||m.name:"")?$(vt):"",typeof m=="function"&&lo.set(m,vt),vt}function j(m){if(m==null)return"";if(typeof m=="function"){var M=m.prototype;return ie(m,!(!M||!M.isReactComponent))}if(typeof m=="string")return $(m);switch(m){case Ge:return $("Suspense");case je:return $("SuspenseList")}if(typeof m=="object")switch(m.$$typeof){case et:return m=ie(m.render,!1),m;case ct:return j(m.type);case Be:M=m._payload,m=m._init;try{return j(m(M))}catch{}}return""}function G(){var m=J.A;return m===null?null:m.getOwner()}function ne(m){if(Ee.call(m,"key")){var M=Object.getOwnPropertyDescriptor(m,"key").get;if(M&&M.isReactWarning)return!1}return m.key!==void 0}function Z(m,M){function I(){xa||(xa=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",M))}I.isReactWarning=!0,Object.defineProperty(m,"key",{get:I,configurable:!0})}function be(){var m=w(this.type);return gl[m]||(gl[m]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),m=this.props.ref,m!==void 0?m:null}function Q(m,M,I,ee,me,xe){return I=xe.ref,m={$$typeof:Je,type:m,key:M,props:xe,_owner:me},(I!==void 0?I:null)!==null?Object.defineProperty(m,"ref",{enumerable:!1,get:be}):Object.defineProperty(m,"ref",{enumerable:!1,value:null}),m._store={},Object.defineProperty(m._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(m,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.freeze&&(Object.freeze(m.props),Object.freeze(m)),m}function fe(m,M){return M=Q(m.type,M,void 0,void 0,m._owner,m.props),M._store.validated=m._store.validated,M}function Ye(m,M){if(typeof m=="object"&&m&&m.$$typeof!==io){if(U(m))for(var I=0;I."),M}function de(m){var M={"=":"=0",":":"=2"};return"$"+m.replace(/[=:]/g,function(I){return M[I]})}function re(m,M){return typeof m=="object"&&m!==null&&m.key!=null?(x(m.key),de(""+m.key)):M.toString(36)}function V(){}function pe(m){switch(m.status){case"fulfilled":return m.value;case"rejected":throw m.reason;default:switch(typeof m.status=="string"?m.then(V,V):(m.status="pending",m.then(function(M){m.status==="pending"&&(m.status="fulfilled",m.value=M)},function(M){m.status==="pending"&&(m.status="rejected",m.reason=M)})),m.status){case"fulfilled":return m.value;case"rejected":throw m.reason}}throw m}function K(m,M,I,ee,me){var xe=typeof m;(xe==="undefined"||xe==="boolean")&&(m=null);var ue=!1;if(m===null)ue=!0;else switch(xe){case"bigint":case"string":case"number":ue=!0;break;case"object":switch(m.$$typeof){case Je:case It:ue=!0;break;case Be:return ue=m._init,K(ue(m._payload),M,I,ee,me)}}if(ue){ue=m,me=me(ue);var tt=ee===""?"."+re(ue,0):ee;return U(me)?(I="",tt!=null&&(I=tt.replace(Ea,"$&/")+"/"),K(me,M,I,"",function(vt){return vt})):me!=null&&(Re(me)&&(me.key!=null&&(ue&&ue.key===me.key||x(me.key)),I=fe(me,I+(me.key==null||ue&&ue.key===me.key?"":(""+me.key).replace(Ea,"$&/")+"/")+tt),ee!==""&&ue!=null&&Re(ue)&&ue.key==null&&ue._store&&!ue._store.validated&&(I._store.validated=2),me=I),M.push(me)),1}if(ue=0,tt=ee===""?".":ee+":",U(m))for(var Ke=0;Ke import('./MyComponent')) Did you accidentally put curly braces around the import?`,M),"default"in M||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s Your code should look like: const MyComponent = lazy(() => import('./MyComponent'))`,M),M.default;throw m._result}function ye(){var m=J.H;return m===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons: 1. You might have mismatching versions of React and the renderer (such as React DOM) 2. You might be breaking the Rules of Hooks 3. You might have more than one copy of React in the same app See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),m}function C(){}function Ae(m){if(vl===null)try{var M=("require"+Math.random()).slice(0,7);vl=(l&&l[M]).call(l,"timers").setImmediate}catch{vl=function(ee){Xa===!1&&(Xa=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var me=new MessageChannel;me.port1.onmessage=ee,me.port2.postMessage(void 0)}}return vl(m)}function Ce(m){return 1 ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(Ke,vt){me=!0,ue.then(function(Gt){if(A(M,I),I===0){try{it(ee),Ae(function(){return Fe(Gt,Ke,vt)})}catch(zn){J.thrownErrors.push(zn)}if(0 ...)"))}),J.actQueue=null),0",ee=" Did you accidentally export a JSX literal instead of a component?"):me=typeof m;console.error("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",me,ee)}var xe;if(ee={},me=null,M!=null)for(xe in Ta||!("__self"in M)||"key"in M||(Ta=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),ne(M)&&(x(M.key),me=""+M.key),M)Ee.call(M,xe)&&xe!=="key"&&xe!=="__self"&&xe!=="__source"&&(ee[xe]=M[xe]);var ue=arguments.length-2;if(ue===1)ee.children=I;else if(1Fe&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function h(k){if(Te===void 0)try{throw Error()}catch(oe){var te=oe.stack.trim().match(/\n( *(at )?)/);Te=te&&te[1]||"",et=-1)":-1_||He[U]!==rt[_]){var _t=` `+He[U].replace(" at new "," at ");return k.displayName&&_t.includes("")&&(_t=_t.replace("",k.displayName)),typeof k=="function"&&je.set(k,_t),_t}while(1<=U&&0<=_);break}}}finally{Ge=!1,ye.H=Me,d(),Error.prepareStackTrace=oe}return He=(He=k?k.displayName||k.name:"")?h(He):"",typeof k=="function"&&je.set(k,He),He}function g(k){if(k==null)return"";if(typeof k=="function"){var te=k.prototype;return y(k,!(!te||!te.isReactComponent))}if(typeof k=="string")return h(k);switch(k){case de:return h("Suspense");case re:return h("SuspenseList")}if(typeof k=="object")switch(k.$$typeof){case he:return k=y(k.render,!1),k;case V:return g(k.type);case pe:te=k._payload,k=k._init;try{return g(k(te))}catch{}}return""}function x(){var k=ye.A;return k===null?null:k.getOwner()}function w(k){if(C.call(k,"key")){var te=Object.getOwnPropertyDescriptor(k,"key").get;if(te&&te.isReactWarning)return!1}return k.key!==void 0}function S(k,te){function oe(){Be||(Be=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",te))}oe.isReactWarning=!0,Object.defineProperty(k,"key",{get:oe,configurable:!0})}function b(){var k=l(this.type);return xn[k]||(xn[k]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),k=this.props.ref,k!==void 0?k:null}function E(k,te,oe,Me,ft,U){return oe=U.ref,k={$$typeof:Z,type:k,key:te,props:U,_owner:ft},(oe!==void 0?oe:null)!==null?Object.defineProperty(k,"ref",{enumerable:!1,get:b}):Object.defineProperty(k,"ref",{enumerable:!1,value:null}),k._store={},Object.defineProperty(k._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(k,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.freeze&&(Object.freeze(k.props),Object.freeze(k)),k}function Y(k,te,oe,Me,ft,U){if(typeof k=="string"||typeof k=="function"||k===Q||k===Ye||k===fe||k===de||k===re||k===K||typeof k=="object"&&k!==null&&(k.$$typeof===pe||k.$$typeof===V||k.$$typeof===ke||k.$$typeof===Re||k.$$typeof===he||k.$$typeof===Ce||k.getModuleId!==void 0)){var _=te.children;if(_!==void 0)if(Me)if(A(_)){for(Me=0;Me<_.length;Me++)$(_[Me],k);Object.freeze&&Object.freeze(_)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else $(_,k)}else _="",(k===void 0||typeof k=="object"&&k!==null&&Object.keys(k).length===0)&&(_+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),k===null?Me="null":A(k)?Me="array":k!==void 0&&k.$$typeof===Z?(Me="<"+(l(k.type)||"Unknown")+" />",_=" Did you accidentally export a JSX literal instead of a component?"):Me=typeof k,console.error("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Me,_);if(C.call(te,"key")){_=l(k);var J=Object.keys(te).filter(function(He){return He!=="key"});Me=0 React keys must be passed directly to JSX without using spread: let props = %s; <%s key={someKey} {...props} />`,Me,_,J,_),Mn[_+Me]=!0)}if(_=null,oe!==void 0&&(u(oe),_=""+oe),w(te)&&(u(te.key),_=""+te.key),"key"in te){oe={};for(var Ee in te)Ee!=="key"&&(oe[Ee]=te[Ee])}else oe=te;return _&&S(oe,typeof k=="function"?k.displayName||k.name||"Unknown":k),E(k,_,U,ft,x(),oe)}function $(k,te){if(typeof k=="object"&&k&&k.$$typeof!==ct){if(A(k))for(var oe=0;oe."),te}var ne=Au(),Z=Symbol.for("react.transitional.element"),be=Symbol.for("react.portal"),Q=Symbol.for("react.fragment"),fe=Symbol.for("react.strict_mode"),Ye=Symbol.for("react.profiler"),Re=Symbol.for("react.consumer"),ke=Symbol.for("react.context"),he=Symbol.for("react.forward_ref"),de=Symbol.for("react.suspense"),re=Symbol.for("react.suspense_list"),V=Symbol.for("react.memo"),pe=Symbol.for("react.lazy"),K=Symbol.for("react.offscreen"),ce=Symbol.iterator,we=Symbol.for("react.client.reference"),ye=ne.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,Ae=Object.assign,Ce=Symbol.for("react.client.reference"),A=Array.isArray,Fe=0,it,Je,It,wt,le,Se,De;s.__reactDisabledLog=!0;var Te,et,Ge=!1,je=new(typeof WeakMap=="function"?WeakMap:Map),ct=Symbol.for("react.client.reference"),Be,xn={},Mn={},an={};$r.Fragment=Q,$r.jsx=function(k,te,oe,Me,ft){return Y(k,te,oe,!1,Me,ft)},$r.jsxs=function(k,te,oe,Me,ft){return Y(k,te,oe,!0,Me,ft)}}(),$r}var Dp;function l1(){return Dp||(Dp=1,Rc.exports=a1()),Rc.exports}var F=l1(),Oe=Au();const Mp=Zl(Oe);var Oc={exports:{}},kc={exports:{}},Dc={},zp;function i1(){return zp||(zp=1,function(l){/** * @license React * scheduler.development.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */(function(){function o(){if(Re){var K=l.unstable_now();de=K;var ce=!0;try{e:{Z=!1,be&&(be=!1,fe(ke),ke=-1),ne=!0;var we=G;try{t:{for(h(K),j=s(Y);j!==null&&!(j.expirationTime>K&&g());){var ye=j.callback;if(typeof ye=="function"){j.callback=null,G=j.priorityLevel;var C=ye(j.expirationTime<=K);if(K=l.unstable_now(),typeof C=="function"){j.callback=C,h(K),ce=!0;break t}j===s(Y)&&f(Y),h(K)}else f(Y);j=s(Y)}if(j!==null)ce=!0;else{var Ae=s($);Ae!==null&&w(y,Ae.startTime-K),ce=!1}}break e}finally{j=null,G=we,ne=!1}ce=void 0}}finally{ce?re():Re=!1}}}function u(K,ce){var we=K.length;K.push(ce);e:for(;0>>1,C=K[ye];if(0>>1;yed(A,we))Fed(it,A)?(K[ye]=it,K[Fe]=we,ye=Fe):(K[ye]=A,K[Ce]=we,ye=Ce);else if(Fed(it,we))K[ye]=it,K[Fe]=we,ye=Fe;else break e}}return ce}function d(K,ce){var we=K.sortIndex-ce.sortIndex;return we!==0?we:K.id-ce.id}function h(K){for(var ce=s($);ce!==null;){if(ce.callback===null)f($);else if(ce.startTime<=K)f($),ce.sortIndex=ce.expirationTime,u(Y,ce);else break;ce=s($)}}function y(K){if(be=!1,h(K),!Z)if(s(Y)!==null)Z=!0,x();else{var ce=s($);ce!==null&&w(y,ce.startTime-K)}}function g(){return!(l.unstable_now()-deK||125ye?(K.sortIndex=we,u($,K),s(Y)===null&&K===s($)&&(be?(fe(ke),ke=-1):be=!0,w(y,we-ye))):(K.sortIndex=C,u(Y,K),Z||ne||(Z=!0,x())),K},l.unstable_shouldYield=g,l.unstable_wrapCallback=function(K){var ce=G;return function(){var we=G;G=ce;try{return K.apply(this,arguments)}finally{G=we}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()}(Dc)),Dc}var Hp;function r1(){return Hp||(Hp=1,kc.exports=i1()),kc.exports}var Mc={exports:{}},tn={},Up;function o1(){if(Up)return tn;Up=1;/** * @license React * react-dom.development.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */return function(){function l(){}function o(S){return""+S}function u(S,b,E){var Y=3` tag.%s',E),typeof S=="string"&&typeof b=="object"&&b!==null&&typeof b.as=="string"){E=b.as;var Y=s(E,b.crossOrigin);g.d.L(S,E,{crossOrigin:Y,integrity:typeof b.integrity=="string"?b.integrity:void 0,nonce:typeof b.nonce=="string"?b.nonce:void 0,type:typeof b.type=="string"?b.type:void 0,fetchPriority:typeof b.fetchPriority=="string"?b.fetchPriority:void 0,referrerPolicy:typeof b.referrerPolicy=="string"?b.referrerPolicy:void 0,imageSrcSet:typeof b.imageSrcSet=="string"?b.imageSrcSet:void 0,imageSizes:typeof b.imageSizes=="string"?b.imageSizes:void 0,media:typeof b.media=="string"?b.media:void 0})}},tn.preloadModule=function(S,b){var E="";typeof S=="string"&&S||(E+=" The `href` argument encountered was "+f(S)+"."),b!==void 0&&typeof b!="object"?E+=" The `options` argument encountered was "+f(b)+".":b&&"as"in b&&typeof b.as!="string"&&(E+=" The `as` option encountered was "+f(b.as)+"."),E&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `` tag.%s',E),typeof S=="string"&&(b?(E=s(b.as,b.crossOrigin),g.d.m(S,{as:typeof b.as=="string"&&b.as!=="script"?b.as:void 0,crossOrigin:E,integrity:typeof b.integrity=="string"?b.integrity:void 0})):g.d.m(S))},tn.requestFormReset=function(S){g.d.r(S)},tn.unstable_batchedUpdates=function(S,b){return S(b)},tn.useFormState=function(S,b,E){return h().useFormState(S,b,E)},tn.useFormStatus=function(){return h().useHostTransitionStatus()},tn.version="19.0.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}(),tn}var Np;function u1(){return Np||(Np=1,Mc.exports=o1()),Mc.exports}var Zr={},Lp;function s1(){if(Lp)return Zr;Lp=1;/** * @license React * react-dom-client.development.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */return function(){function l(e,t){for(e=e.memoizedState;e!==null&&0=t.length)return a;var i=t[n],r=Kt(e)?e.slice():Qe({},e);return r[i]=o(e[i],t,n+1,a),r}function u(e,t,n){if(t.length!==n.length)console.warn("copyWithRename() expects paths of the same length");else{for(var a=0;aqo&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function Ye(e){if(ph===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);ph=t&&t[1]||"",jb=-1)":-1c||T[r]!==z[c]){var q=` `+T[r].replace(" at new "," at ");return e.displayName&&q.includes("")&&(q=q.replace("",e.displayName)),typeof e=="function"&&yh.set(e,q),q}while(1<=r&&0<=c);break}}}finally{mh=!1,L.H=a,fe(),Error.prepareStackTrace=n}return T=(T=e?e.displayName||e.name:"")?Ye(T):"",typeof e=="function"&&yh.set(e,T),T}function ke(e){switch(e.tag){case 26:case 27:case 5:return Ye(e.type);case 16:return Ye("Lazy");case 13:return Ye("Suspense");case 19:return Ye("SuspenseList");case 0:case 15:return e=Re(e.type,!1),e;case 11:return e=Re(e.type.render,!1),e;case 1:return e=Re(e.type,!0),e;default:return""}}function he(e){try{var t="";do{t+=ke(e);var n=e._debugInfo;if(n)for(var a=n.length-1;0<=a;a--){var i=n[a];if(typeof i.name=="string"){var r=t,c=i.env,p=Ye(i.name+(c?" ["+c+"]":""));t=r+p}}e=e.return}while(e);return t}catch(v){return` Error generating stack: `+v.message+` `+v.stack}}function de(){if(rn===null)return null;var e=rn._debugOwner;return e!=null?ne(e):null}function re(){return rn===null?"":he(rn)}function V(e,t,n,a,i,r,c){var p=rn;L.getCurrentStack=e===null?null:re,Kn=!1,rn=e;try{return t(n,a,i,r,c)}finally{rn=p}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function pe(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function K(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function ce(e){if(pe(e)!==e)throw Error("Unable to find node on an unmounted component.")}function we(e){var t=e.alternate;if(!t){if(t=pe(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var n=e,a=t;;){var i=n.return;if(i===null)break;var r=i.alternate;if(r===null){if(a=i.return,a!==null){n=a;continue}break}if(i.child===r.child){for(r=i.child;r;){if(r===n)return ce(i),e;if(r===a)return ce(i),t;r=r.sibling}throw Error("Unable to find node on an unmounted component.")}if(n.return!==a.return)n=i,a=r;else{for(var c=!1,p=i.child;p;){if(p===n){c=!0,n=i,a=r;break}if(p===a){c=!0,a=i,n=r;break}p=p.sibling}if(!c){for(p=r.child;p;){if(p===n){c=!0,n=r,a=i;break}if(p===a){c=!0,a=r,n=i;break}p=p.sibling}if(!c)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(n.alternate!==a)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(n.tag!==3)throw Error("Unable to find node on an unmounted component.");return n.stateNode.current===n?e:t}function ye(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=ye(e),t!==null)return t;e=e.sibling}return null}function C(e){return{current:e}}function Ae(e,t){0>el?console.error("Unexpected pop."):(t!==vh[el]&&console.error("Unexpected Fiber popped."),e.current=gh[el],gh[el]=null,vh[el]=null,el--)}function Ce(e,t,n){el++,gh[el]=e.current,vh[el]=n,e.current=t}function A(e){return e===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function Fe(e,t){Ce(Ml,t,e),Ce(Vo,e,e),Ce(Dl,null,e);var n=t.nodeType;switch(n){case 9:case 11:n=n===9?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?nb(t):dl;break;default:if(t=n===8?t.parentNode:t,n=t.tagName,t=t.namespaceURI)t=nb(t),t=ab(t,n);else switch(n){case"svg":t=Xr;break;case"math":t=bc;break;default:t=dl}}n=n.toLowerCase(),n=my(null,n),n={context:t,ancestorInfo:n},Ae(Dl,e),Ce(Dl,n,e)}function it(e){Ae(Dl,e),Ae(Vo,e),Ae(Ml,e)}function Je(){return A(Dl.current)}function It(e){e.memoizedState!==null&&Ce(Us,e,e);var t=A(Dl.current),n=e.type,a=ab(t.context,n);n=my(t.ancestorInfo,n),a={context:a,ancestorInfo:n},t!==a&&(Ce(Vo,e,e),Ce(Dl,a,e))}function wt(e){Vo.current===e&&(Ae(Dl,e),Ae(Vo,e)),Us.current===e&&(Ae(Us,e),wu._currentValue=ji)}function le(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function Se(e){try{return De(e),!1}catch{return!0}}function De(e){return""+e}function Te(e,t){if(Se(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",t,le(e)),De(e)}function et(e,t){if(Se(e))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",t,le(e)),De(e)}function Ge(e){if(Se(e))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",le(e)),De(e)}function je(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{hr=t.inject(e),on=t}catch(n){console.error("React instrumentation encountered an error: %s.",n)}return!!t.checkDCE}function ct(e,t){if(on&&typeof on.onCommitFiberRoot=="function")try{var n=(e.current.flags&128)===128;switch(t){case Ua:var a=Sh;break;case Na:a=xh;break;case nl:a=dr;break;case _s:a=Th;break;default:a=dr}on.onCommitFiberRoot(hr,e,a,n)}catch(i){Ha||(Ha=!0,console.error("React instrumentation encountered an error: %s",i))}}function Be(e){if(typeof DR=="function"&&MR(e),on&&typeof on.setStrictMode=="function")try{on.setStrictMode(hr,e)}catch(t){Ha||(Ha=!0,console.error("React instrumentation encountered an error: %s",t))}}function xn(e){se=e}function Mn(){se!==null&&typeof se.markCommitStopped=="function"&&se.markCommitStopped()}function an(e){se!==null&&typeof se.markComponentRenderStarted=="function"&&se.markComponentRenderStarted(e)}function k(){se!==null&&typeof se.markComponentRenderStopped=="function"&&se.markComponentRenderStopped()}function te(e){se!==null&&typeof se.markRenderStarted=="function"&&se.markRenderStarted(e)}function oe(){se!==null&&typeof se.markRenderStopped=="function"&&se.markRenderStopped()}function Me(e,t){se!==null&&typeof se.markStateUpdateScheduled=="function"&&se.markStateUpdateScheduled(e,t)}function ft(e){return e>>>=0,e===0?32:31-(zR(e)/HR|0)|0}function U(e){if(e&1)return"SyncHydrationLane";if(e&2)return"Sync";if(e&4)return"InputContinuousHydration";if(e&8)return"InputContinuous";if(e&16)return"DefaultHydration";if(e&32)return"Default";if(e&64)return"TransitionHydration";if(e&4194176)return"Transition";if(e&62914560)return"Retry";if(e&67108864)return"SelectiveHydration";if(e&134217728)return"IdleHydration";if(e&268435456)return"Idle";if(e&536870912)return"Offscreen";if(e&1073741824)return"Deferred"}function _(e){var t=e&42;if(t!==0)return t;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:return 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 e&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),e}}function J(e,t){var n=e.pendingLanes;if(n===0)return 0;var a=0,i=e.suspendedLanes,r=e.pingedLanes,c=e.warmLanes;e=e.finishedLanes!==0;var p=n&134217727;return p!==0?(n=p&~i,n!==0?a=_(n):(r&=p,r!==0?a=_(r):e||(c=p&~c,c!==0&&(a=_(c))))):(p=n&~i,p!==0?a=_(p):r!==0?a=_(r):e||(c=n&~c,c!==0&&(a=_(c)))),a===0?0:t!==0&&t!==a&&!(t&i)&&(i=a&-a,c=t&-t,i>=c||i===32&&(c&4194176)!==0)?t:a}function Ee(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function He(e,t){switch(e){case 1:case 2:case 4:case 8:return t+250;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;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function rt(){var e=Ns;return Ns<<=1,!(Ns&4194176)&&(Ns=128),e}function _t(){var e=Ls;return Ls<<=1,!(Ls&62914560)&&(Ls=4194304),e}function gt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function jt(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Ht(e,t,n,a,i,r){var c=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var p=e.entanglements,v=e.expirationTimes,T=e.hiddenUpdates;for(n=c&~n;0"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ue(e){return e.replace(jR,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function tt(e,t){t.checked===void 0||t.defaultChecked===void 0||Xb||(console.error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",de()||"A component",t.type),Xb=!0),t.value===void 0||t.defaultValue===void 0||Gb||(console.error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",de()||"A component",t.type),Gb=!0)}function Ke(e,t,n,a,i,r,c,p){e.name="",c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?(Te(c,"type"),e.type=c):e.removeAttribute("type"),t!=null?c==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+m(t)):e.value!==""+m(t)&&(e.value=""+m(t)):c!=="submit"&&c!=="reset"||e.removeAttribute("value"),t!=null?Gt(e,c,m(t)):n!=null?Gt(e,c,m(n)):a!=null&&e.removeAttribute("value"),i==null&&r!=null&&(e.defaultChecked=!!r),i!=null&&(e.checked=i&&typeof i!="function"&&typeof i!="symbol"),p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"?(Te(p,"name"),e.name=""+m(p)):e.removeAttribute("name")}function vt(e,t,n,a,i,r,c,p){if(r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"&&(Te(r,"type"),e.type=r),t!=null||n!=null){if(!(r!=="submit"&&r!=="reset"||t!=null))return;n=n!=null?""+m(n):"",t=t!=null?""+m(t):n,p||t===e.value||(e.value=t),e.defaultValue=t}a=a??i,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=p?e.checked:!!a,e.defaultChecked=!!a,c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(Te(c,"name"),e.name=c)}function Gt(e,t,n){t==="number"&&xe(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function wa(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?sh.Children.forEach(t.children,function(n){n==null||typeof n=="string"||typeof n=="number"||typeof n=="bigint"||$b||($b=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to