/**
 * Minified by jsDelivr using Terser v5.39.0.
 * Original file: /npm/kolia-widget@0.1.25/dist/widget.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
!function(){var e="undefined"!=typeof document?document.currentScript:null;function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(()=>{const e={VITE_WIDGET_PATH:"https://chat.kolia.fr",VITE_API_URL:"https://www.kolia.fr"};try{if(process)return process.env=Object.assign({},process.env),void Object.assign(process.env,e)}catch(e){}globalThis.process={env:e}})();var n,r,o={exports:{}},i={},a={},s={exports:{}},l={};var u,c,d,f,h={exports:{}};function p(){return u||(u=1,e=h,t=h.exports,"production"!==process.env.NODE_ENV&&function(){function n(e,t){Object.defineProperty(i.prototype,e,{get:()=>{console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})}function r(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Q&&e[Q]||e["@@iterator"])?e:null}function o(e,t){var n=(e=(e=e.constructor)&&(e.displayName||e.name)||"ReactClass")+"."+t;Y[n]||(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.",t,e),Y[n]=!0)}function i(e,t,n){this.props=e,this.context=t,this.refs=X,this.updater=n||G}function a(){}function s(e,t,n){this.props=e,this.context=t,this.refs=X,this.updater=n||G}function l(e){return""+e}function u(e){try{l(e);var t=!1}catch(e){t=!0}if(t){var n=(t=console).error,r="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",r),l(e)}}function c(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===ue?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case N:return"Fragment";case F:return"Portal";case z:return"Profiler";case j:return"StrictMode";case $:return"Suspense";case H:return"SuspenseList"}if("object"==typeof e)switch("number"==typeof e.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case V:return(e.displayName||"Context")+".Provider";case U:return(e._context.displayName||"Context")+".Consumer";case B:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case W:return null!==(t=e.displayName||null)?t:c(e.type)||"Memo";case q:t=e._payload,e=e._init;try{return c(e(t))}catch(e){}}return null}function d(e){return"string"==typeof e||"function"==typeof e||e===N||e===z||e===j||e===$||e===H||e===K||"object"==typeof e&&null!==e&&(e.$$typeof===q||e.$$typeof===W||e.$$typeof===V||e.$$typeof===U||e.$$typeof===B||e.$$typeof===fe||void 0!==e.getModuleId)}function f(){}function h(e){if(void 0===pe)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);pe=t&&t[1]||"",me=-1<e.stack.indexOf("\n    at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+pe+e+me}function p(e,t){if(!e||ve)return"";var n,r=be.get(e);if(void 0!==r)return r;ve=!0,r=Error.prepareStackTrace,Error.prepareStackTrace=void 0,n=ce.H,ce.H=null,(()=>{if(0===he){te=console.log,ne=console.info,re=console.warn,oe=console.error,ie=console.group,ae=console.groupCollapsed,se=console.groupEnd;var e={configurable:!0,enumerable:!0,value:f,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}he++})();try{var o={DetermineComponentFrameRoot:()=>{try{if(t){var n=()=>{throw Error()};if(Object.defineProperty(n.prototype,"props",{set:()=>{throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&"function"==typeof n.catch&&n.catch((()=>{}))}}catch(e){if(e&&r&&"string"==typeof e.stack)return[e.stack,r.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var a=o.DetermineComponentFrameRoot(),s=a[0],l=a[1];if(s&&l){var u=s.split("\n"),c=l.split("\n");for(a=i=0;i<u.length&&!u[i].includes("DetermineComponentFrameRoot");)i++;for(;a<c.length&&!c[a].includes("DetermineComponentFrameRoot");)a++;if(i===u.length||a===c.length)for(i=u.length-1,a=c.length-1;1<=i&&0<=a&&u[i]!==c[a];)a--;for(;1<=i&&0<=a;i--,a--)if(u[i]!==c[a]){if(1!==i||1!==a)do{if(i--,0>--a||u[i]!==c[a]){var d="\n"+u[i].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),"function"==typeof e&&be.set(e,d),d}}while(1<=i&&0<=a);break}}}finally{ve=!1,ce.H=n,(()=>{if(0==--he){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:J({},e,{value:te}),info:J({},e,{value:ne}),warn:J({},e,{value:re}),error:J({},e,{value:oe}),group:J({},e,{value:ie}),groupCollapsed:J({},e,{value:ae}),groupEnd:J({},e,{value:se})})}0>he&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")})(),Error.prepareStackTrace=r}return u=(u=e?e.displayName||e.name:"")?h(u):"","function"==typeof e&&be.set(e,u),u}function m(e){if(null==e)return"";if("function"==typeof e){var t=e.prototype;return p(e,!(!t||!t.isReactComponent))}if("string"==typeof e)return h(e);switch(e){case $:return h("Suspense");case H:return h("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case B:return p(e.render,!1);case W:return m(e.type);case q:t=e._payload,e=e._init;try{return m(e(t))}catch(e){}}return""}function g(){var e=ce.A;return null===e?null:e.getOwner()}function y(e){if(de.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}function v(){var e=c(this.type);return ke[e]||(ke[e]=!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.")),void 0!==(e=this.props.ref)?e:null}function b(e,t,n,r,o,i){return n=i.ref,e={$$typeof:D,type:e,key:t,props:i,_owner:o},null!==(void 0!==n?n:null)?Object.defineProperty(e,"ref",{enumerable:!1,get:v}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function w(e,t){if("object"==typeof e&&e&&e.$$typeof!==we)if(le(e))for(var n=0;n<e.length;n++){var o=e[n];k(o)&&S(o,t)}else if(k(e))e._store&&(e._store.validated=1);else if("function"==typeof(n=r(e))&&n!==e.entries&&(n=n.call(e))!==e)for(;!(e=n.next()).done;)k(e.value)&&S(e.value,t)}function k(e){return"object"==typeof e&&null!==e&&e.$$typeof===D}function S(e,t){if(e._store&&!e._store.validated&&null==e.key&&(e._store.validated=1,t=(e=>{var t="",n=g();return n&&(n=c(n.type))&&(t="\n\nCheck the render method of `"+n+"`."),t||(e=c(e))&&(t="\n\nCheck the top-level render call using <"+e+">."),t})(t),!Se[t])){Se[t]=!0;var n="";e&&null!=e._owner&&e._owner!==g()&&(n=null,"number"==typeof e._owner.tag?n=c(e._owner.type):"string"==typeof e._owner.name&&(n=e._owner.name),n=" It was passed a child from "+n+".");var r=ce.getCurrentStack;ce.getCurrentStack=()=>{var t=m(e.type);return r&&(t+=r()||""),t},console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',t,n),ce.getCurrentStack=r}}function x(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(u(e.key),n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,(e=>r[e]))):t.toString(36);var n,r}function _(){}function C(e,t,n,o,i){var a=typeof e;"undefined"!==a&&"boolean"!==a||(e=null);var s,l,c=!1;if(null===e)c=!0;else switch(a){case"bigint":case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case D:case F:c=!0;break;case q:return C((c=e._init)(e._payload),t,n,o,i)}}if(c){i=i(c=e);var d=""===o?"."+x(c,0):o;return le(i)?(n="",null!=d&&(n=d.replace(_e,"$&/")+"/"),C(i,t,n,"",(e=>e))):null!=i&&(k(i)&&(null!=i.key&&(c&&c.key===i.key||u(i.key)),s=i,l=n+(null==i.key||c&&c.key===i.key?"":(""+i.key).replace(_e,"$&/")+"/")+d,(l=b(s.type,l,void 0,0,s._owner,s.props))._store.validated=s._store.validated,n=l,""!==o&&null!=c&&k(c)&&null==c.key&&c._store&&!c._store.validated&&(n._store.validated=2),i=n),t.push(i)),1}if(c=0,d=""===o?".":o+":",le(e))for(var f=0;f<e.length;f++)c+=C(o=e[f],t,n,a=d+x(o,f),i);else if("function"==typeof(f=r(e)))for(f===e.entries&&(xe||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),xe=!0),e=f.call(e),f=0;!(o=e.next()).done;)c+=C(o=o.value,t,n,a=d+x(o,f++),i);else if("object"===a){if("function"==typeof e.then)return C((e=>{switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(_,_):(e.status="pending",e.then((t=>{"pending"===e.status&&(e.status="fulfilled",e.value=t)}),(t=>{"pending"===e.status&&(e.status="rejected",e.reason=t)}))),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e})(e),t,n,o,i);throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return c}function E(e,t,n){if(null==e)return e;var r=[],o=0;return C(e,r,"","",(e=>t.call(n,e,o++))),r}function T(e){if(-1===e._status){var t=e._result;(t=t()).then((t=>{0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(t=>{0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return void 0===(t=e._result)&&console.error("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n  const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?",t),"default"in t||console.error("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n  const MyComponent = lazy(() => import('./MyComponent'))",t),t.default;throw e._result}function A(){var e=ce.H;return null===e&&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:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."),e}function P(){}function O(t){if(null===Te)try{var n=("require"+Math.random()).slice(0,7);Te=(e&&e[n]).call(e,"timers").setImmediate}catch(e){Te=e=>{!1===Ee&&(Ee=!0,"undefined"==typeof MessageChannel&&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 t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(void 0)}}return Te(t)}function R(e){return 1<e.length&&"function"==typeof AggregateError?new AggregateError(e):e[0]}function I(e,t){t!==Ae-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Ae=t}function L(e,t,n){var r=ce.actQueue;if(null!==r)if(0!==r.length)try{return M(r),void O((()=>L(e,t,n)))}catch(e){ce.thrownErrors.push(e)}else ce.actQueue=null;0<ce.thrownErrors.length?(r=R(ce.thrownErrors),ce.thrownErrors.length=0,n(r)):t(e)}function M(e){if(!Oe){Oe=!0;var t=0;try{for(;t<e.length;t++)for(var n=e[t];;){ce.didUsePromise=!1;var r=n(!1);if(null===r)break;if(ce.didUsePromise)return e[t]=n,void e.splice(0,t);n=r}e.length=0}catch(n){e.splice(0,t+1),ce.thrownErrors.push(n)}finally{Oe=!1}}}"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var D=Symbol.for("react.transitional.element"),F=Symbol.for("react.portal"),N=Symbol.for("react.fragment"),j=Symbol.for("react.strict_mode"),z=Symbol.for("react.profiler"),U=Symbol.for("react.consumer"),V=Symbol.for("react.context"),B=Symbol.for("react.forward_ref"),$=Symbol.for("react.suspense"),H=Symbol.for("react.suspense_list"),W=Symbol.for("react.memo"),q=Symbol.for("react.lazy"),K=Symbol.for("react.offscreen"),Q=Symbol.iterator,Y={},G={isMounted:()=>!1,enqueueForceUpdate:e=>{o(e,"forceUpdate")},enqueueReplaceState:e=>{o(e,"replaceState")},enqueueSetState:e=>{o(e,"setState")}},J=Object.assign,X={};Object.freeze(X),i.prototype.isReactComponent={},i.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},i.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var Z,ee={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(Z in ee)ee.hasOwnProperty(Z)&&n(Z,ee[Z]);a.prototype=i.prototype,(ee=s.prototype=new a).constructor=s,J(ee,i.prototype),ee.isPureReactComponent=!0;var te,ne,re,oe,ie,ae,se,le=Array.isArray,ue=Symbol.for("react.client.reference"),ce={H:null,A:null,T:null,S:null,actQueue:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null},de=Object.prototype.hasOwnProperty,fe=Symbol.for("react.client.reference"),he=0;f.__reactDisabledLog=!0;var pe,me,ge,ye,ve=!1,be=new("function"==typeof WeakMap?WeakMap:Map),we=Symbol.for("react.client.reference"),ke={},Se={},xe=!1,_e=/\/+/g,Ce="function"==typeof reportError?reportError:e=>{if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)},Ee=!1,Te=null,Ae=0,Pe=!1,Oe=!1,Re="function"==typeof queueMicrotask?e=>{queueMicrotask((()=>queueMicrotask(e)))}:O;t.Children={map:E,forEach:function(e,t,n){E(e,(function(){t.apply(this,arguments)}),n)},count:e=>{var t=0;return E(e,(()=>{t++})),t},toArray:e=>E(e,(e=>e))||[],only:e=>{if(!k(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=i,t.Fragment=N,t.Profiler=z,t.PureComponent=s,t.StrictMode=j,t.Suspense=$,t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=ce,t.act=e=>{var t=ce.actQueue,n=Ae;Ae++;var r=ce.actQueue=null!==t?t:[],o=!1;try{var i=e()}catch(e){ce.thrownErrors.push(e)}if(0<ce.thrownErrors.length)throw I(0,n),e=R(ce.thrownErrors),ce.thrownErrors.length=0,e;if(null!==i&&"object"==typeof i&&"function"==typeof i.then){var a=i;return Re((()=>{o||Pe||(Pe=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))})),{then:(e,t)=>{o=!0,a.then((o=>{if(I(0,n),0===n){try{M(r),O((()=>L(o,e,t)))}catch(e){ce.thrownErrors.push(e)}if(0<ce.thrownErrors.length){var i=R(ce.thrownErrors);ce.thrownErrors.length=0,t(i)}}else e(o)}),(e=>{I(0,n),0<ce.thrownErrors.length?(e=R(ce.thrownErrors),ce.thrownErrors.length=0,t(e)):t(e)}))}}}var s=i;if(I(0,n),0===n&&(M(r),0!==r.length&&Re((()=>{o||Pe||(Pe=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))})),ce.actQueue=null),0<ce.thrownErrors.length)throw e=R(ce.thrownErrors),ce.thrownErrors.length=0,e;return{then:(e,t)=>{o=!0,0===n?(ce.actQueue=r,O((()=>L(s,e,t)))):e(s)}}},t.cache=e=>function(){return e.apply(null,arguments)},t.cloneElement=function(e,t,n){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var r,o=J({},e.props),i=e.key,a=e._owner;if(null!=t)for(s in(r=!(de.call(t,"ref")&&(r=Object.getOwnPropertyDescriptor(t,"ref").get)&&r.isReactWarning)&&void 0!==t.ref)&&(a=g()),y(t)&&(u(t.key),i=""+t.key),t)!de.call(t,s)||"key"===s||"__self"===s||"__source"===s||"ref"===s&&void 0===t.ref||(o[s]=t[s]);var s=arguments.length-2;if(1===s)o.children=n;else if(1<s){r=Array(s);for(var l=0;l<s;l++)r[l]=arguments[l+2];o.children=r}for(o=b(e.type,i,void 0,0,a,o),i=2;i<arguments.length;i++)w(arguments[i],o.type);return o},t.createContext=e=>((e={$$typeof:V,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:U,_context:e},e._currentRenderer=null,e._currentRenderer2=null,e),t.createElement=function(e,t,n){if(d(e))for(var r=2;r<arguments.length;r++)w(arguments[r],e);else{if(r="",(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(r+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),null===e)var o="null";else le(e)?o="array":void 0!==e&&e.$$typeof===D?(o="<"+(c(e.type)||"Unknown")+" />",r=" Did you accidentally export a JSX literal instead of a component?"):o=typeof e;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",o,r)}var i;if(r={},o=null,null!=t)for(i in ye||!("__self"in t)||"key"in t||(ye=!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")),y(t)&&(u(t.key),o=""+t.key),t)de.call(t,i)&&"key"!==i&&"__self"!==i&&"__source"!==i&&(r[i]=t[i]);var a=arguments.length-2;if(1===a)r.children=n;else if(1<a){for(var s=Array(a),l=0;l<a;l++)s[l]=arguments[l+2];Object.freeze&&Object.freeze(s),r.children=s}if(e&&e.defaultProps)for(i in a=e.defaultProps)void 0===r[i]&&(r[i]=a[i]);return o&&((e,t)=>{function n(){ge||(ge=!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)",t))}n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})})(r,"function"==typeof e?e.displayName||e.name||"Unknown":e),b(e,o,void 0,0,g(),r)},t.createRef=()=>{var e={current:null};return Object.seal(e),e},t.forwardRef=e=>{null!=e&&e.$$typeof===W?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):"function"!=typeof e?console.error("forwardRef requires a render function but was given %s.",null===e?"null":typeof e):0!==e.length&&2!==e.length&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",1===e.length?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),null!=e&&null!=e.defaultProps&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var t,n={$$typeof:B,render:e};return Object.defineProperty(n,"displayName",{enumerable:!1,configurable:!0,get:()=>t,set:n=>{t=n,e.name||e.displayName||(Object.defineProperty(e,"name",{value:n}),e.displayName=n)}}),n},t.isValidElement=k,t.lazy=e=>({$$typeof:q,_payload:{_status:-1,_result:e},_init:T}),t.memo=(e,t)=>{var n;return d(e)||console.error("memo: The first argument must be a component. Instead received: %s",null===e?"null":typeof e),t={$$typeof:W,type:e,compare:void 0===t?null:t},Object.defineProperty(t,"displayName",{enumerable:!1,configurable:!0,get:()=>n,set:t=>{n=t,e.name||e.displayName||(Object.defineProperty(e,"name",{value:t}),e.displayName=t)}}),t},t.startTransition=e=>{var t=ce.T,n={};ce.T=n,n._updatedFibers=new Set;try{var r=e(),o=ce.S;null!==o&&o(n,r),"object"==typeof r&&null!==r&&"function"==typeof r.then&&r.then(P,Ce)}catch(e){Ce(e)}finally{null===t&&n._updatedFibers&&(e=n._updatedFibers.size,n._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),ce.T=t}},t.unstable_useCacheRefresh=()=>A().useCacheRefresh(),t.use=e=>A().use(e),t.useActionState=(e,t,n)=>A().useActionState(e,t,n),t.useCallback=(e,t)=>A().useCallback(e,t),t.useContext=e=>{var t=A();return e.$$typeof===U&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),t.useContext(e)},t.useDebugValue=(e,t)=>A().useDebugValue(e,t),t.useDeferredValue=(e,t)=>A().useDeferredValue(e,t),t.useEffect=(e,t)=>A().useEffect(e,t),t.useId=()=>A().useId(),t.useImperativeHandle=(e,t,n)=>A().useImperativeHandle(e,t,n),t.useInsertionEffect=(e,t)=>A().useInsertionEffect(e,t),t.useLayoutEffect=(e,t)=>A().useLayoutEffect(e,t),t.useMemo=(e,t)=>A().useMemo(e,t),t.useOptimistic=(e,t)=>A().useOptimistic(e,t),t.useReducer=(e,t,n)=>A().useReducer(e,t,n),t.useRef=e=>A().useRef(e),t.useState=e=>A().useState(e),t.useSyncExternalStore=(e,t,n)=>A().useSyncExternalStore(e,t,n),t.useTransition=()=>A().useTransition(),t.version="19.0.0","undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),h.exports;var e,t}function m(){return c||(c=1,"production"===process.env.NODE_ENV?s.exports=function(){if(r)return l;r=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),h=Symbol.iterator,p={isMounted:()=>!1,enqueueForceUpdate:()=>{},enqueueReplaceState:()=>{},enqueueSetState:()=>{}},m=Object.assign,g={};function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||p}function v(){}function b(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||p}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=y.prototype;var w=b.prototype=new v;w.constructor=b,m(w,y.prototype),w.isPureReactComponent=!0;var k=Array.isArray,S={H:null,A:null,T:null,S:null},x=Object.prototype.hasOwnProperty;function _(t,n,r,o,i,a){return r=a.ref,{$$typeof:e,type:t,key:n,ref:void 0!==r?r:null,props:a}}function C(t){return"object"==typeof t&&null!==t&&t.$$typeof===e}var E=/\/+/g;function T(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,(e=>r[e]))):t.toString(36);var n,r}function A(){}function P(n,r,o,i,a){var s=typeof n;"undefined"!==s&&"boolean"!==s||(n=null);var l,u,c=!1;if(null===n)c=!0;else switch(s){case"bigint":case"string":case"number":c=!0;break;case"object":switch(n.$$typeof){case e:case t:c=!0;break;case f:return P((c=n._init)(n._payload),r,o,i,a)}}if(c)return a=a(n),c=""===i?"."+T(n,0):i,k(a)?(o="",null!=c&&(o=c.replace(E,"$&/")+"/"),P(a,r,o,"",(e=>e))):null!=a&&(C(a)&&(l=a,u=o+(null==a.key||n&&n.key===a.key?"":(""+a.key).replace(E,"$&/")+"/")+c,a=_(l.type,u,void 0,0,0,l.props)),r.push(a)),1;c=0;var d,p=""===i?".":i+":";if(k(n))for(var m=0;m<n.length;m++)c+=P(i=n[m],r,o,s=p+T(i,m),a);else if("function"==typeof(m=null===(d=n)||"object"!=typeof d?null:"function"==typeof(d=h&&d[h]||d["@@iterator"])?d:null))for(n=m.call(n),m=0;!(i=n.next()).done;)c+=P(i=i.value,r,o,s=p+T(i,m++),a);else if("object"===s){if("function"==typeof n.then)return P(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(A,A):(e.status="pending",e.then((t=>{"pending"===e.status&&(e.status="fulfilled",e.value=t)}),(t=>{"pending"===e.status&&(e.status="rejected",e.reason=t)}))),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(n),r,o,i,a);throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.")}return c}function O(e,t,n){if(null==e)return e;var r=[],o=0;return P(e,r,"","",(e=>t.call(n,e,o++))),r}function R(e){if(-1===e._status){var t=e._result;(t=t()).then((t=>{0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(t=>{0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var I="function"==typeof reportError?reportError:e=>{if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)};function L(){}return l.Children={map:O,forEach:function(e,t,n){O(e,(function(){t.apply(this,arguments)}),n)},count:e=>{var t=0;return O(e,(()=>{t++})),t},toArray:e=>O(e,(e=>e))||[],only:e=>{if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},l.Component=y,l.Fragment=n,l.Profiler=i,l.PureComponent=b,l.StrictMode=o,l.Suspense=c,l.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=S,l.act=()=>{throw Error("act(...) is not supported in production builds of React.")},l.cache=e=>function(){return e.apply(null,arguments)},l.cloneElement=function(e,t,n){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var r=m({},e.props),o=e.key;if(null!=t)for(i in t.ref,void 0!==t.key&&(o=""+t.key),t)!x.call(t,i)||"key"===i||"__self"===i||"__source"===i||"ref"===i&&void 0===t.ref||(r[i]=t[i]);var i=arguments.length-2;if(1===i)r.children=n;else if(1<i){for(var a=Array(i),s=0;s<i;s++)a[s]=arguments[s+2];r.children=a}return _(e.type,o,void 0,0,0,r)},l.createContext=e=>((e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:a,_context:e},e),l.createElement=function(e,t,n){var r,o={},i=null;if(null!=t)for(r in void 0!==t.key&&(i=""+t.key),t)x.call(t,r)&&"key"!==r&&"__self"!==r&&"__source"!==r&&(o[r]=t[r]);var a=arguments.length-2;if(1===a)o.children=n;else if(1<a){for(var s=Array(a),l=0;l<a;l++)s[l]=arguments[l+2];o.children=s}if(e&&e.defaultProps)for(r in a=e.defaultProps)void 0===o[r]&&(o[r]=a[r]);return _(e,i,void 0,0,0,o)},l.createRef=()=>({current:null}),l.forwardRef=e=>({$$typeof:u,render:e}),l.isValidElement=C,l.lazy=e=>({$$typeof:f,_payload:{_status:-1,_result:e},_init:R}),l.memo=(e,t)=>({$$typeof:d,type:e,compare:void 0===t?null:t}),l.startTransition=e=>{var t=S.T,n={};S.T=n;try{var r=e(),o=S.S;null!==o&&o(n,r),"object"==typeof r&&null!==r&&"function"==typeof r.then&&r.then(L,I)}catch(e){I(e)}finally{S.T=t}},l.unstable_useCacheRefresh=()=>S.H.useCacheRefresh(),l.use=e=>S.H.use(e),l.useActionState=(e,t,n)=>S.H.useActionState(e,t,n),l.useCallback=(e,t)=>S.H.useCallback(e,t),l.useContext=e=>S.H.useContext(e),l.useDebugValue=()=>{},l.useDeferredValue=(e,t)=>S.H.useDeferredValue(e,t),l.useEffect=(e,t)=>S.H.useEffect(e,t),l.useId=()=>S.H.useId(),l.useImperativeHandle=(e,t,n)=>S.H.useImperativeHandle(e,t,n),l.useInsertionEffect=(e,t)=>S.H.useInsertionEffect(e,t),l.useLayoutEffect=(e,t)=>S.H.useLayoutEffect(e,t),l.useMemo=(e,t)=>S.H.useMemo(e,t),l.useOptimistic=(e,t)=>S.H.useOptimistic(e,t),l.useReducer=(e,t,n)=>S.H.useReducer(e,t,n),l.useRef=e=>S.H.useRef(e),l.useState=e=>S.H.useState(e),l.useSyncExternalStore=(e,t,n)=>S.H.useSyncExternalStore(e,t,n),l.useTransition=()=>S.H.useTransition(),l.version="19.0.0",l}():s.exports=p()),s.exports}var g,y,v,b=(f||(f=1,"production"===process.env.NODE_ENV?o.exports=(()=>{if(n)return i;n=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(t,n,r){var o=null;if(void 0!==r&&(o=""+r),void 0!==n.key&&(o=""+n.key),"key"in n)for(var i in r={},n)"key"!==i&&(r[i]=n[i]);else r=n;return n=r.ref,{$$typeof:e,type:t,key:o,ref:void 0!==n?n:null,props:r}}return i.Fragment=t,i.jsx=r,i.jsxs=r,i})():o.exports=(d||(d=1,"production"!==process.env.NODE_ENV&&function(){function e(t){if(null==t)return null;if("function"==typeof t)return t.$$typeof===N?null:t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case C:return"Fragment";case _:return"Portal";case T:return"Profiler";case E:return"StrictMode";case R:return"Suspense";case I:return"SuspenseList"}if("object"==typeof t)switch("number"==typeof t.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),t.$$typeof){case P:return(t.displayName||"Context")+".Provider";case A:return(t._context.displayName||"Context")+".Consumer";case O:var n=t.render;return(t=t.displayName)||(t=""!==(t=n.displayName||n.name||"")?"ForwardRef("+t+")":"ForwardRef"),t;case L:return null!==(n=t.displayName||null)?n:e(t.type)||"Memo";case M:n=t._payload,t=t._init;try{return e(t(n))}catch(e){}}return null}function t(e){return""+e}function n(e){try{t(e);var n=!1}catch(e){n=!0}if(n){var r=(n=console).error,o="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return r.call(n,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",o),t(e)}}function r(){}function o(e){if(void 0===H)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);H=t&&t[1]||"",W=-1<e.stack.indexOf("\n    at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+H+e+W}function i(e,t){if(!e||K)return"";var n,i=Q.get(e);if(void 0!==i)return i;K=!0,i=Error.prepareStackTrace,Error.prepareStackTrace=void 0,n=j.H,j.H=null,function(){if(0===$){p=console.log,g=console.info,y=console.warn,v=console.error,b=console.group,w=console.groupCollapsed,k=console.groupEnd;var e={configurable:!0,enumerable:!0,value:r,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}$++}();try{var a={DetermineComponentFrameRoot:()=>{try{if(t){var n=()=>{throw Error()};if(Object.defineProperty(n.prototype,"props",{set:()=>{throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&"function"==typeof n.catch&&n.catch((()=>{}))}}catch(e){if(e&&r&&"string"==typeof e.stack)return[e.stack,r.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var s=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");s&&s.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var l=a.DetermineComponentFrameRoot(),u=l[0],c=l[1];if(u&&c){var d=u.split("\n"),f=c.split("\n");for(l=s=0;s<d.length&&!d[s].includes("DetermineComponentFrameRoot");)s++;for(;l<f.length&&!f[l].includes("DetermineComponentFrameRoot");)l++;if(s===d.length||l===f.length)for(s=d.length-1,l=f.length-1;1<=s&&0<=l&&d[s]!==f[l];)l--;for(;1<=s&&0<=l;s--,l--)if(d[s]!==f[l]){if(1!==s||1!==l)do{if(s--,0>--l||d[s]!==f[l]){var h="\n"+d[s].replace(" at new "," at ");return e.displayName&&h.includes("<anonymous>")&&(h=h.replace("<anonymous>",e.displayName)),"function"==typeof e&&Q.set(e,h),h}}while(1<=s&&0<=l);break}}}finally{K=!1,j.H=n,function(){if(0==--$){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:U({},e,{value:p}),info:U({},e,{value:g}),warn:U({},e,{value:y}),error:U({},e,{value:v}),group:U({},e,{value:b}),groupCollapsed:U({},e,{value:w}),groupEnd:U({},e,{value:k})})}0>$&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}return d=(d=e?e.displayName||e.name:"")?o(d):"","function"==typeof e&&Q.set(e,d),d}function s(e){if(null==e)return"";if("function"==typeof e){var t=e.prototype;return i(e,!(!t||!t.isReactComponent))}if("string"==typeof e)return o(e);switch(e){case R:return o("Suspense");case I:return o("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case O:return i(e.render,!1);case L:return s(e.type);case M:t=e._payload,e=e._init;try{return s(e(t))}catch(e){}}return""}function l(){var e=j.A;return null===e?null:e.getOwner()}function u(){var t=e(this.type);return G[t]||(G[t]=!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.")),void 0!==(t=this.props.ref)?t:null}function c(t,r,o,i,a,s){if("string"==typeof t||"function"==typeof t||t===C||t===T||t===E||t===R||t===I||t===D||"object"==typeof t&&null!==t&&(t.$$typeof===M||t.$$typeof===L||t.$$typeof===P||t.$$typeof===A||t.$$typeof===O||t.$$typeof===V||void 0!==t.getModuleId)){var c=r.children;if(void 0!==c)if(i)if(B(c)){for(i=0;i<c.length;i++)d(c[i],t);Object.freeze&&Object.freeze(c)}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 d(c,t)}else c="",(void 0===t||"object"==typeof t&&null!==t&&0===Object.keys(t).length)&&(c+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),null===t?i="null":B(t)?i="array":void 0!==t&&t.$$typeof===x?(i="<"+(e(t.type)||"Unknown")+" />",c=" Did you accidentally export a JSX literal instead of a component?"):i=typeof t,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",i,c);if(z.call(r,"key")){c=e(t);var f=Object.keys(r).filter((e=>"key"!==e));i=0<f.length?"{key: someKey, "+f.join(": ..., ")+": ...}":"{key: someKey}",J[c+i]||(f=0<f.length?"{"+f.join(": ..., ")+": ...}":"{}",console.error('A props object containing a "key" prop is being spread into JSX:\n  let props = %s;\n  <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n  let props = %s;\n  <%s key={someKey} {...props} />',i,c,f,c),J[c+i]=!0)}if(c=null,void 0!==o&&(n(o),c=""+o),function(e){if(z.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(r)&&(n(r.key),c=""+r.key),"key"in r)for(var h in o={},r)"key"!==h&&(o[h]=r[h]);else o=r;return c&&function(e,t){function n(){q||(q=!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)",t))}n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}(o,"function"==typeof t?t.displayName||t.name||"Unknown":t),function(e,t,n,r,o,i){return n=i.ref,e={$$typeof:x,type:e,key:t,props:i,_owner:o},null!==(void 0!==n?n:null)?Object.defineProperty(e,"ref",{enumerable:!1,get:u}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}(t,c,s,0,l(),o)}function d(e,t){if("object"==typeof e&&e&&e.$$typeof!==Y)if(B(e))for(var n=0;n<e.length;n++){var r=e[n];f(r)&&h(r,t)}else if(f(e))e._store&&(e._store.validated=1);else if("function"==typeof(n=null===e||"object"!=typeof e?null:"function"==typeof(n=F&&e[F]||e["@@iterator"])?n:null)&&n!==e.entries&&(n=n.call(e))!==e)for(;!(e=n.next()).done;)f(e.value)&&h(e.value,t)}function f(e){return"object"==typeof e&&null!==e&&e.$$typeof===x}function h(t,n){if(t._store&&!t._store.validated&&null==t.key&&(t._store.validated=1,n=function(t){var n="",r=l();return r&&(r=e(r.type))&&(n="\n\nCheck the render method of `"+r+"`."),n||(t=e(t))&&(n="\n\nCheck the top-level render call using <"+t+">."),n}(n),!X[n])){X[n]=!0;var r="";t&&null!=t._owner&&t._owner!==l()&&(r=null,"number"==typeof t._owner.tag?r=e(t._owner.type):"string"==typeof t._owner.name&&(r=t._owner.name),r=" It was passed a child from "+r+".");var o=j.getCurrentStack;j.getCurrentStack=()=>{var e=s(t.type);return o&&(e+=o()||""),e},console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',n,r),j.getCurrentStack=o}}var p,g,y,v,b,w,k,S=m(),x=Symbol.for("react.transitional.element"),_=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),T=Symbol.for("react.profiler"),A=Symbol.for("react.consumer"),P=Symbol.for("react.context"),O=Symbol.for("react.forward_ref"),R=Symbol.for("react.suspense"),I=Symbol.for("react.suspense_list"),L=Symbol.for("react.memo"),M=Symbol.for("react.lazy"),D=Symbol.for("react.offscreen"),F=Symbol.iterator,N=Symbol.for("react.client.reference"),j=S.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,z=Object.prototype.hasOwnProperty,U=Object.assign,V=Symbol.for("react.client.reference"),B=Array.isArray,$=0;r.__reactDisabledLog=!0;var H,W,q,K=!1,Q=new("function"==typeof WeakMap?WeakMap:Map),Y=Symbol.for("react.client.reference"),G={},J={},X={};a.Fragment=C,a.jsx=(e,t,n,r,o)=>c(e,t,n,!1,0,o),a.jsxs=(e,t,n,r,o)=>c(e,t,n,!0,0,o)}()),a)),o.exports),w={exports:{}},k={},S={exports:{}},x={},_={};function C(){return v||(v=1,"production"===process.env.NODE_ENV?S.exports=(g||(g=1,function(e){function t(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<o(i,t)))break e;e[r]=t,e[n]=i,n=r}}function n(e){return 0===e.length?null:e[0]}function r(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,i=e.length,a=i>>>1;r<a;){var s=2*(r+1)-1,l=e[s],u=s+1,c=e[u];if(0>o(l,n))u<i&&0>o(c,l)?(e[r]=c,e[u]=n,r=u):(e[r]=l,e[s]=n,r=s);else{if(!(u<i&&0>o(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(e.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var i=performance;e.unstable_now=()=>i.now()}else{var a=Date,s=a.now();e.unstable_now=()=>a.now()-s}var l=[],u=[],c=1,d=null,f=3,h=!1,p=!1,m=!1,g="function"==typeof setTimeout?setTimeout:null,y="function"==typeof clearTimeout?clearTimeout:null,v="undefined"!=typeof setImmediate?setImmediate:null;function b(e){for(var o=n(u);null!==o;){if(null===o.callback)r(u);else{if(!(o.startTime<=e))break;r(u),o.sortIndex=o.expirationTime,t(l,o)}o=n(u)}}function w(e){if(m=!1,b(e),!p)if(null!==n(l))p=!0,O();else{var t=n(u);null!==t&&R(w,t.startTime-e)}}var k,S=!1,x=-1,_=5,C=-1;function E(){return!(e.unstable_now()-C<_)}function T(){if(S){var t=e.unstable_now();C=t;var o=!0;try{e:{p=!1,m&&(m=!1,y(x),x=-1),h=!0;var i=f;try{t:{for(b(t),d=n(l);null!==d&&!(d.expirationTime>t&&E());){var a=d.callback;if("function"==typeof a){d.callback=null,f=d.priorityLevel;var s=a(d.expirationTime<=t);if(t=e.unstable_now(),"function"==typeof s){d.callback=s,b(t),o=!0;break t}d===n(l)&&r(l),b(t)}else r(l);d=n(l)}if(null!==d)o=!0;else{var c=n(u);null!==c&&R(w,c.startTime-t),o=!1}}break e}finally{d=null,f=i,h=!1}o=void 0}}finally{o?k():S=!1}}}if("function"==typeof v)k=()=>{v(T)};else if("undefined"!=typeof MessageChannel){var A=new MessageChannel,P=A.port2;A.port1.onmessage=T,k=()=>{P.postMessage(null)}}else k=()=>{g(T,0)};function O(){S||(S=!0,k())}function R(t,n){x=g((()=>{t(e.unstable_now())}),n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=e=>{e.callback=null},e.unstable_continueExecution=()=>{p||h||(p=!0,O())},e.unstable_forceFrameRate=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"):_=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=()=>f,e.unstable_getFirstCallbackNode=()=>n(l),e.unstable_next=e=>{switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_pauseExecution=()=>{},e.unstable_requestPaint=()=>{},e.unstable_runWithPriority=(e,t)=>{switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=(r,o,i)=>{var a=e.unstable_now();switch(i="object"==typeof i&&null!==i&&"number"==typeof(i=i.delay)&&0<i?a+i:a,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return r={id:c++,callback:o,priorityLevel:r,startTime:i,expirationTime:s=i+s,sortIndex:-1},i>a?(r.sortIndex=i,t(u,r),null===n(l)&&r===n(u)&&(m?(y(x),x=-1):m=!0,R(w,i-a))):(r.sortIndex=s,t(l,r),p||h||(p=!0,O())),r},e.unstable_shouldYield=E,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}}(x)),x):S.exports=(y||(y=1,e=_,"production"!==process.env.NODE_ENV&&function(){function t(){if(C){var t=e.unstable_now();A=t;var n=!0;try{e:{w=!1,k&&(k=!1,x(E),E=-1),b=!0;var i=v;try{t:{for(a(t),y=r(p);null!==y&&!(y.expirationTime>t&&l());){var u=y.callback;if("function"==typeof u){y.callback=null,v=y.priorityLevel;var d=u(y.expirationTime<=t);if(t=e.unstable_now(),"function"==typeof d){y.callback=d,a(t),n=!0;break t}y===r(p)&&o(p),a(t)}else o(p);y=r(p)}if(null!==y)n=!0;else{var f=r(m);null!==f&&c(s,f.startTime-t),n=!1}}break e}finally{y=null,v=i,b=!1}n=void 0}}finally{n?P():C=!1}}}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 s=2*(r+1)-1,l=e[s],u=s+1,c=e[u];if(0>i(l,n))u<o&&0>i(c,l)?(e[r]=c,e[u]=n,r=u):(e[r]=l,e[s]=n,r=s);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}function a(e){for(var t=r(m);null!==t;){if(null===t.callback)o(m);else{if(!(t.startTime<=e))break;o(m),t.sortIndex=t.expirationTime,n(p,t)}t=r(m)}}function s(e){if(k=!1,a(e),!w)if(null!==r(p))w=!0,u();else{var t=r(m);null!==t&&c(s,t.startTime-e)}}function l(){return!(e.unstable_now()-A<T)}function u(){C||(C=!0,P())}function c(t,n){E=S((()=>{t(e.unstable_now())}),n)}if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),e.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var d=performance;e.unstable_now=()=>d.now()}else{var f=Date,h=f.now();e.unstable_now=()=>f.now()-h}var p=[],m=[],g=1,y=null,v=3,b=!1,w=!1,k=!1,S="function"==typeof setTimeout?setTimeout:null,x="function"==typeof clearTimeout?clearTimeout:null,_="undefined"!=typeof setImmediate?setImmediate:null,C=!1,E=-1,T=5,A=-1;if("function"==typeof _)var P=()=>{_(t)};else if("undefined"!=typeof MessageChannel){var O=new MessageChannel,R=O.port2;O.port1.onmessage=t,P=()=>{R.postMessage(null)}}else P=()=>{S(t,0)};e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=e=>{e.callback=null},e.unstable_continueExecution=()=>{w||b||(w=!0,u())},e.unstable_forceFrameRate=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"):T=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=()=>v,e.unstable_getFirstCallbackNode=()=>r(p),e.unstable_next=e=>{switch(v){case 1:case 2:case 3:var t=3;break;default:t=v}var n=v;v=t;try{return e()}finally{v=n}},e.unstable_pauseExecution=()=>{},e.unstable_requestPaint=()=>{},e.unstable_runWithPriority=(e,t)=>{switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=v;v=e;try{return t()}finally{v=n}},e.unstable_scheduleCallback=(t,o,i)=>{var a=e.unstable_now();switch(i="object"==typeof i&&null!==i&&"number"==typeof(i=i.delay)&&0<i?a+i:a,t){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 t={id:g++,callback:o,priorityLevel:t,startTime:i,expirationTime:l=i+l,sortIndex:-1},i>a?(t.sortIndex=i,n(m,t),null===r(p)&&t===r(m)&&(k?(x(E),E=-1):k=!0,c(s,i-a))):(t.sortIndex=l,n(p,t),w||b||(w=!0,u())),t},e.unstable_shouldYield=l,e.unstable_wrapCallback=function(e){var t=v;return function(){var n=v;v=t;try{return e.apply(this,arguments)}finally{v=n}}},"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),_)),S.exports;var e}var E,T={exports:{}},A={};var P,O,R,I={};function L(){return O||(O=1,"production"===process.env.NODE_ENV?(function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){if("production"!==process.env.NODE_ENV)throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),T.exports=function(){if(E)return A;E=1;var e=m();function t(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;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."}function n(){}var r={d:{f:n,r:()=>{throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},o=Symbol.for("react.portal"),i=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function a(e,t){return"font"===e?"":"string"==typeof t?"use-credentials"===t?t:"":void 0}return A.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,A.createPortal=function(e,n){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!n||1!==n.nodeType&&9!==n.nodeType&&11!==n.nodeType)throw Error(t(299));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:o,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,n,null,r)},A.flushSync=e=>{var t=i.T,n=r.p;try{if(i.T=null,r.p=2,e)return e()}finally{i.T=t,r.p=n,r.d.f()}},A.preconnect=(e,t)=>{"string"==typeof e&&(t=t?"string"==typeof(t=t.crossOrigin)?"use-credentials"===t?t:"":void 0:null,r.d.C(e,t))},A.prefetchDNS=e=>{"string"==typeof e&&r.d.D(e)},A.preinit=(e,t)=>{if("string"==typeof e&&t&&"string"==typeof t.as){var n=t.as,o=a(n,t.crossOrigin),i="string"==typeof t.integrity?t.integrity:void 0,s="string"==typeof t.fetchPriority?t.fetchPriority:void 0;"style"===n?r.d.S(e,"string"==typeof t.precedence?t.precedence:void 0,{crossOrigin:o,integrity:i,fetchPriority:s}):"script"===n&&r.d.X(e,{crossOrigin:o,integrity:i,fetchPriority:s,nonce:"string"==typeof t.nonce?t.nonce:void 0})}},A.preinitModule=(e,t)=>{if("string"==typeof e)if("object"==typeof t&&null!==t){if(null==t.as||"script"===t.as){var n=a(t.as,t.crossOrigin);r.d.M(e,{crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0})}}else null==t&&r.d.M(e)},A.preload=(e,t)=>{if("string"==typeof e&&"object"==typeof t&&null!==t&&"string"==typeof t.as){var n=t.as,o=a(n,t.crossOrigin);r.d.L(e,n,{crossOrigin:o,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,type:"string"==typeof t.type?t.type:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0,referrerPolicy:"string"==typeof t.referrerPolicy?t.referrerPolicy:void 0,imageSrcSet:"string"==typeof t.imageSrcSet?t.imageSrcSet:void 0,imageSizes:"string"==typeof t.imageSizes?t.imageSizes:void 0,media:"string"==typeof t.media?t.media:void 0})}},A.preloadModule=(e,t)=>{if("string"==typeof e)if(t){var n=a(t.as,t.crossOrigin);r.d.m(e,{as:"string"==typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0})}else r.d.m(e)},A.requestFormReset=e=>{r.d.r(e)},A.unstable_batchedUpdates=(e,t)=>e(t),A.useFormState=(e,t,n)=>i.H.useFormState(e,t,n),A.useFormStatus=()=>i.H.useHostTransitionStatus(),A.version="19.0.0",A}()):T.exports=(P||(P=1,"production"!==process.env.NODE_ENV&&(()=>{function e(){}function t(e){return""+e}function n(e,t){return"font"===e?"":"string"==typeof t?"use-credentials"===t?t:"":void 0}function r(e){return null===e?"`null`":void 0===e?"`undefined`":""===e?"an empty string":'something with type "'+typeof e+'"'}function o(e){return null===e?"`null`":void 0===e?"`undefined`":""===e?"an empty string":"string"==typeof e?JSON.stringify(e):"number"==typeof e?"`"+e+"`":'something with type "'+typeof e+'"'}function i(){var e=u.H;return null===e&&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:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."),e}"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var a=m(),s={d:{f:e,r:()=>{throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:e,C:e,L:e,m:e,X:e,S:e,M:e},p:0,findDOMNode:null},l=Symbol.for("react.portal"),u=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;"function"==typeof Map&&null!=Map.prototype&&"function"==typeof Map.prototype.forEach&&"function"==typeof Set&&null!=Set.prototype&&"function"==typeof Set.prototype.clear&&"function"==typeof Set.prototype.forEach||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),I.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s,I.createPortal=function(e,n){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!n||1!==n.nodeType&&9!==n.nodeType&&11!==n.nodeType)throw Error("Target container is not a DOM element.");return function(e,n,r){var o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;try{t(o);var i=!1}catch(e){i=!0}return i&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.","function"==typeof Symbol&&Symbol.toStringTag&&o[Symbol.toStringTag]||o.constructor.name||"Object"),t(o)),{$$typeof:l,key:null==o?null:""+o,children:e,containerInfo:n,implementation:r}}(e,n,null,r)},I.flushSync=e=>{var t=u.T,n=s.p;try{if(u.T=null,s.p=2,e)return e()}finally{u.T=t,s.p=n,s.d.f()&&console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.")}},I.preconnect=(e,t)=>{"string"==typeof e&&e?null!=t&&"object"!=typeof t?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",o(t)):null!=t&&"string"!=typeof t.crossOrigin&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",r(t.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",r(e)),"string"==typeof e&&(t=t?"string"==typeof(t=t.crossOrigin)?"use-credentials"===t?t:"":void 0:null,s.d.C(e,t))},I.prefetchDNS=function(e){if("string"==typeof e&&e){if(1<arguments.length){var t=arguments[1];"object"==typeof t&&t.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",o(t)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",o(t))}}else console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",r(e));"string"==typeof e&&s.d.D(e)},I.preinit=(e,t)=>{if("string"==typeof e&&e?null==t||"object"!=typeof t?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",o(t)):"style"!==t.as&&"script"!==t.as&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',o(t.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",r(e)),"string"==typeof e&&t&&"string"==typeof t.as){var i=t.as,a=n(i,t.crossOrigin),l="string"==typeof t.integrity?t.integrity:void 0,u="string"==typeof t.fetchPriority?t.fetchPriority:void 0;"style"===i?s.d.S(e,"string"==typeof t.precedence?t.precedence:void 0,{crossOrigin:a,integrity:l,fetchPriority:u}):"script"===i&&s.d.X(e,{crossOrigin:a,integrity:l,fetchPriority:u,nonce:"string"==typeof t.nonce?t.nonce:void 0})}},I.preinitModule=(e,t)=>{var i="";"string"==typeof e&&e||(i+=" The `href` argument encountered was "+r(e)+"."),void 0!==t&&"object"!=typeof t?i+=" The `options` argument encountered was "+r(t)+".":t&&"as"in t&&"script"!==t.as&&(i+=" The `as` option encountered was "+o(t.as)+"."),i?console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",i):"script"===(i=t&&"string"==typeof t.as?t.as:"script")||(i=o(i),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',i,e)),"string"==typeof e&&("object"==typeof t&&null!==t?null!=t.as&&"script"!==t.as||(i=n(t.as,t.crossOrigin),s.d.M(e,{crossOrigin:i,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0})):null==t&&s.d.M(e))},I.preload=(e,t)=>{var o="";if("string"==typeof e&&e||(o+=" The `href` argument encountered was "+r(e)+"."),null==t||"object"!=typeof t?o+=" The `options` argument encountered was "+r(t)+".":"string"==typeof t.as&&t.as||(o+=" The `as` option encountered was "+r(t.as)+"."),o&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',o),"string"==typeof e&&"object"==typeof t&&null!==t&&"string"==typeof t.as){var i=n(o=t.as,t.crossOrigin);s.d.L(e,o,{crossOrigin:i,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,type:"string"==typeof t.type?t.type:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0,referrerPolicy:"string"==typeof t.referrerPolicy?t.referrerPolicy:void 0,imageSrcSet:"string"==typeof t.imageSrcSet?t.imageSrcSet:void 0,imageSizes:"string"==typeof t.imageSizes?t.imageSizes:void 0,media:"string"==typeof t.media?t.media:void 0})}},I.preloadModule=(e,t)=>{var o="";"string"==typeof e&&e||(o+=" The `href` argument encountered was "+r(e)+"."),void 0!==t&&"object"!=typeof t?o+=" The `options` argument encountered was "+r(t)+".":t&&"as"in t&&"string"!=typeof t.as&&(o+=" The `as` option encountered was "+r(t.as)+"."),o&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',o),"string"==typeof e&&(t?(o=n(t.as,t.crossOrigin),s.d.m(e,{as:"string"==typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:o,integrity:"string"==typeof t.integrity?t.integrity:void 0})):s.d.m(e))},I.requestFormReset=e=>{s.d.r(e)},I.unstable_batchedUpdates=(e,t)=>e(t),I.useFormState=(e,t,n)=>i().useFormState(e,t,n),I.useFormStatus=()=>i().useHostTransitionStatus(),I.version="19.0.0","undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),I)),T.exports}var M,D,F={};var N=(D||(D=1,"production"===process.env.NODE_ENV?(function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){if("production"!==process.env.NODE_ENV)throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),w.exports=function(){if(R)return k;R=1;var e=C(),t=m(),n=L();function r(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;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."}function o(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}var i=Symbol.for("react.element"),a=Symbol.for("react.transitional.element"),s=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),d=Symbol.for("react.provider"),f=Symbol.for("react.consumer"),h=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),y=Symbol.for("react.suspense_list"),v=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),S=Symbol.for("react.memo_cache_sentinel"),x=Symbol.iterator;function _(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=x&&e[x]||e["@@iterator"])?e:null}var E=Symbol.for("react.client.reference");function T(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===E?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case l:return"Fragment";case s:return"Portal";case c:return"Profiler";case u:return"StrictMode";case g:return"Suspense";case y:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case h:return(e.displayName||"Context")+".Provider";case f:return(e._context.displayName||"Context")+".Consumer";case p:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case v:return null!==(t=e.displayName||null)?t:T(e.type)||"Memo";case b:t=e._payload,e=e._init;try{return T(e(t))}catch(e){}}return null}var A,P,O=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,I=Object.assign;function M(e){if(void 0===A)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);A=t&&t[1]||"",P=-1<e.stack.indexOf("\n    at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+A+e+P}var D=!1;function F(e,t){if(!e||D)return"";D=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:()=>{try{if(t){var n=()=>{throw Error()};if(Object.defineProperty(n.prototype,"props",{set:()=>{throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&"function"==typeof n.catch&&n.catch((()=>{}))}}catch(e){if(e&&r&&"string"==typeof e.stack)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var i=r.DetermineComponentFrameRoot(),a=i[0],s=i[1];if(a&&s){var l=a.split("\n"),u=s.split("\n");for(o=r=0;r<l.length&&!l[r].includes("DetermineComponentFrameRoot");)r++;for(;o<u.length&&!u[o].includes("DetermineComponentFrameRoot");)o++;if(r===l.length||o===u.length)for(r=l.length-1,o=u.length-1;1<=r&&0<=o&&l[r]!==u[o];)o--;for(;1<=r&&0<=o;r--,o--)if(l[r]!==u[o]){if(1!==r||1!==o)do{if(r--,0>--o||l[r]!==u[o]){var c="\n"+l[r].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}}while(1<=r&&0<=o);break}}}finally{D=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?M(n):""}function N(e){switch(e.tag){case 26:case 27:case 5:return M(e.type);case 16:return M("Lazy");case 13:return M("Suspense");case 19:return M("SuspenseList");case 0:case 15:return F(e.type,!1);case 11:return F(e.type.render,!1);case 1:return F(e.type,!0);default:return""}}function j(e){try{var t="";do{t+=N(e),e=e.return}while(e);return t}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}function z(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 U(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 V(e){if(z(e)!==e)throw Error(r(188))}function B(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e;for(e=e.child;null!==e;){if(null!==(t=B(e)))return t;e=e.sibling}return null}var $=Array.isArray,H=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,W={pending:!1,data:null,method:null,action:null},q=[],K=-1;function Q(e){return{current:e}}function Y(e){0>K||(e.current=q[K],q[K]=null,K--)}function G(e,t){K++,q[K]=e.current,e.current=t}var J=Q(null),X=Q(null),Z=Q(null),ee=Q(null);function te(e,t){switch(G(Z,t),G(X,e),G(J,null),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)&&(t=t.namespaceURI)?Xc(t):0;break;default:if(t=(e=8===e?t.parentNode:t).tagName,e=e.namespaceURI)t=Zc(e=Xc(e),t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}Y(J),G(J,t)}function ne(){Y(J),Y(X),Y(Z)}function re(e){null!==e.memoizedState&&G(ee,e);var t=J.current,n=Zc(t,e.type);t!==n&&(G(X,e),G(J,n))}function oe(e){X.current===e&&(Y(J),Y(X)),ee.current===e&&(Y(ee),jd._currentValue=W)}var ie=Object.prototype.hasOwnProperty,ae=e.unstable_scheduleCallback,se=e.unstable_cancelCallback,le=e.unstable_shouldYield,ue=e.unstable_requestPaint,ce=e.unstable_now,de=e.unstable_getCurrentPriorityLevel,fe=e.unstable_ImmediatePriority,he=e.unstable_UserBlockingPriority,pe=e.unstable_NormalPriority,me=e.unstable_LowPriority,ge=e.unstable_IdlePriority,ye=e.log,ve=e.unstable_setDisableYieldValue,be=null,we=null;function ke(e){if("function"==typeof ye&&ve(e),we&&"function"==typeof we.setStrictMode)try{we.setStrictMode(be,e)}catch(e){}}var Se=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(xe(e)/_e|0)|0},xe=Math.log,_e=Math.LN2,Ce=128,Ee=4194304;function Te(e){var t=42&e;if(0!==t)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 4194176&e;case 4194304:case 8388608:case 16777216:case 33554432:return 62914560&e;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Ae(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=e.warmLanes;e=0!==e.finishedLanes;var s=134217727&n;return 0!==s?0!=(n=s&~o)?r=Te(n):0!=(i&=s)?r=Te(i):e||0!=(a=s&~a)&&(r=Te(a)):0!=(s=n&~o)?r=Te(s):0!==i?r=Te(i):e||0!=(a=n&~a)&&(r=Te(a)),0===r?0:0===t||t===r||t&o||!((o=r&-r)>=(a=t&-t)||32===o&&4194176&a)?r:t}function Pe(e,t){return!(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function Oe(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;default:return-1}}function Re(){var e=Ce;return!(4194176&(Ce<<=1))&&(Ce=128),e}function Ie(){var e=Ee;return!(62914560&(Ee<<=1))&&(Ee=4194304),e}function Le(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Me(e,t){e.pendingLanes|=t,268435456!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function De(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-Se(t);e.entangledLanes|=t,e.entanglements[r]=1073741824|e.entanglements[r]|4194218&n}function Fe(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Se(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}function Ne(e){return 2<(e&=-e)?8<e?134217727&e?32:268435456:8:2}function je(){var e=H.p;return 0!==e?e:void 0===(e=window.event)?32:Zd(e.type)}var ze=Math.random().toString(36).slice(2),Ue="__reactFiber$"+ze,Ve="__reactProps$"+ze,Be="__reactContainer$"+ze,$e="__reactEvents$"+ze,He="__reactListeners$"+ze,We="__reactHandles$"+ze,qe="__reactResources$"+ze,Ke="__reactMarker$"+ze;function Qe(e){delete e[Ue],delete e[Ve],delete e[$e],delete e[He],delete e[We]}function Ye(e){var t=e[Ue];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Be]||n[Ue]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=cd(e);null!==e;){if(n=e[Ue])return n;e=cd(e)}return t}n=(e=n).parentNode}return null}function Ge(e){if(e=e[Ue]||e[Be]){var t=e.tag;if(5===t||6===t||13===t||26===t||27===t||3===t)return e}return null}function Je(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e.stateNode;throw Error(r(33))}function Xe(e){var t=e[qe];return t||(t=e[qe]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Ze(e){e[Ke]=!0}var et=new Set,tt={};function nt(e,t){rt(e,t),rt(e+"Capture",t)}function rt(e,t){for(tt[e]=t,e=0;e<t.length;e++)et.add(t[e])}var ot=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),it=RegExp("^[: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]*$"),at={},st={};function lt(e,t,n){if(o=t,ie.call(st,o)||!ie.call(at,o)&&(it.test(o)?st[o]=!0:(at[o]=!0,0)))if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":return void e.removeAttribute(t);case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return void e.removeAttribute(t)}e.setAttribute(t,""+n)}var o}function ut(e,t,n){if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(t)}e.setAttribute(t,""+n)}}function ct(e,t,n,r){if(null===r)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(n)}e.setAttributeNS(t,n,""+r)}}function dt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function ft(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function ht(e){e._valueTracker||(e._valueTracker=function(e){var t=ft(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:()=>r,setValue:e=>{r=""+e},stopTracking:()=>{e._valueTracker=null,delete e[t]}}}}(e))}function pt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ft(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function mt(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}}var gt=/[\n"\\]/g;function yt(e){return e.replace(gt,(e=>"\\"+e.charCodeAt(0).toString(16)+" "))}function vt(e,t,n,r,o,i,a,s){e.name="",null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a?e.type=a:e.removeAttribute("type"),null!=t?"number"===a?(0===t&&""===e.value||e.value!=t)&&(e.value=""+dt(t)):e.value!==""+dt(t)&&(e.value=""+dt(t)):"submit"!==a&&"reset"!==a||e.removeAttribute("value"),null!=t?wt(e,a,dt(t)):null!=n?wt(e,a,dt(n)):null!=r&&e.removeAttribute("value"),null==o&&null!=i&&(e.defaultChecked=!!i),null!=o&&(e.checked=o&&"function"!=typeof o&&"symbol"!=typeof o),null!=s&&"function"!=typeof s&&"symbol"!=typeof s&&"boolean"!=typeof s?e.name=""+dt(s):e.removeAttribute("name")}function bt(e,t,n,r,o,i,a,s){if(null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i&&(e.type=i),null!=t||null!=n){if(("submit"===i||"reset"===i)&&null==t)return;n=null!=n?""+dt(n):"",t=null!=t?""+dt(t):n,s||t===e.value||(e.value=t),e.defaultValue=t}r="function"!=typeof(r=null!=r?r:o)&&"symbol"!=typeof r&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a&&(e.name=a)}function wt(e,t,n){"number"===t&&mt(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function kt(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=""+dt(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 St(e,t,n){null==t||((t=""+dt(t))!==e.value&&(e.value=t),null!=n)?e.defaultValue=null!=n?""+dt(n):"":e.defaultValue!==t&&(e.defaultValue=t)}function xt(e,t,n,o){if(null==t){if(null!=o){if(null!=n)throw Error(r(92));if($(o)){if(1<o.length)throw Error(r(93));o=o[0]}n=o}null==n&&(n=""),t=n}n=dt(t),e.defaultValue=n,(o=e.textContent)===n&&""!==o&&null!==o&&(e.value=o)}function _t(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 Ct=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Et(e,t,n){var r=0===t.indexOf("--");null==n||"boolean"==typeof n||""===n?r?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":r?e.setProperty(t,n):"number"!=typeof n||0===n||Ct.has(t)?"float"===t?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function Tt(e,t,n){if(null!=t&&"object"!=typeof t)throw Error(r(62));if(e=e.style,null!=n){for(var o in n)!n.hasOwnProperty(o)||null!=t&&t.hasOwnProperty(o)||(0===o.indexOf("--")?e.setProperty(o,""):"float"===o?e.cssFloat="":e[o]="");for(var i in t)o=t[i],t.hasOwnProperty(i)&&n[i]!==o&&Et(e,i,o)}else for(var a in t)t.hasOwnProperty(a)&&Et(e,a,t[a])}function At(e){if(-1===e.indexOf("-"))return!1;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 Pt=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Ot=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Rt(e){return Ot.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var It=null;function Lt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Mt=null,Dt=null;function Ft(e){var t=Ge(e);if(t&&(e=t.stateNode)){var n=e[Ve]||null;e:switch(e=t.stateNode,t.type){case"input":if(vt(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+yt(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var o=n[t];if(o!==e&&o.form===e.form){var i=o[Ve]||null;if(!i)throw Error(r(90));vt(o,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name)}}for(t=0;t<n.length;t++)(o=n[t]).form===e.form&&pt(o)}break e;case"textarea":St(e,n.value,n.defaultValue);break e;case"select":null!=(t=n.value)&&kt(e,!!n.multiple,t,!1)}}}var Nt=!1;function jt(e,t,n){if(Nt)return e(t,n);Nt=!0;try{return e(t)}finally{if(Nt=!1,(null!==Mt||null!==Dt)&&(Uu(),Mt&&(t=Mt,e=Dt,Dt=Mt=null,Ft(t),e)))for(t=0;t<e.length;t++)Ft(e[t])}}function zt(e,t){var n=e.stateNode;if(null===n)return null;var o=n[Ve]||null;if(null===o)return null;n=o[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":(o=!o.disabled)||(o=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!o;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(r(231,t,typeof n));return n}var Ut=!1;if(ot)try{var Vt={};Object.defineProperty(Vt,"passive",{get:()=>{Ut=!0}}),window.addEventListener("test",Vt,Vt),window.removeEventListener("test",Vt,Vt)}catch(e){Ut=!1}var Bt=null,$t=null,Ht=null;function Wt(){if(Ht)return Ht;var e,t,n=$t,r=n.length,o="value"in Bt?Bt.value:Bt.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 Ht=o.slice(e,1<t?1-t:void 0)}function qt(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 Kt(){return!0}function Qt(){return!1}function Yt(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)?Kt:Qt,this.isPropagationStopped=Qt,this}return I(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Kt)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Kt)},persist:()=>{},isPersistent:Kt}),t}var Gt,Jt,Xt,Zt={eventPhase:0,bubbles:0,cancelable:0,timeStamp:e=>e.timeStamp||Date.now(),defaultPrevented:0,isTrusted:0},en=Yt(Zt),tn=I({},Zt,{view:0,detail:0}),nn=Yt(tn),rn=I({},tn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:mn,button:0,buttons:0,relatedTarget:e=>void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget,movementX:e=>"movementX"in e?e.movementX:(e!==Xt&&(Xt&&"mousemove"===e.type?(Gt=e.screenX-Xt.screenX,Jt=e.screenY-Xt.screenY):Jt=Gt=0,Xt=e),Gt),movementY:e=>"movementY"in e?e.movementY:Jt}),on=Yt(rn),an=Yt(I({},rn,{dataTransfer:0})),sn=Yt(I({},tn,{relatedTarget:0})),ln=Yt(I({},Zt,{animationName:0,elapsedTime:0,pseudoElement:0})),un=Yt(I({},Zt,{clipboardData:e=>"clipboardData"in e?e.clipboardData:window.clipboardData})),cn=Yt(I({},Zt,{data:0})),dn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},fn={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"},hn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function pn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=hn[e])&&!!t[e]}function mn(){return pn}var gn=Yt(I({},tn,{key:e=>{if(e.key){var t=dn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=qt(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?fn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:mn,charCode:e=>"keypress"===e.type?qt(e):0,keyCode:e=>"keydown"===e.type||"keyup"===e.type?e.keyCode:0,which:e=>"keypress"===e.type?qt(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0})),yn=Yt(I({},rn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),vn=Yt(I({},tn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:mn})),bn=Yt(I({},Zt,{propertyName:0,elapsedTime:0,pseudoElement:0})),wn=Yt(I({},rn,{deltaX:e=>"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0,deltaY:e=>"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0,deltaZ:0,deltaMode:0})),kn=Yt(I({},Zt,{newState:0,oldState:0})),Sn=[9,13,27,32],xn=ot&&"CompositionEvent"in window,_n=null;ot&&"documentMode"in document&&(_n=document.documentMode);var Cn=ot&&"TextEvent"in window&&!_n,En=ot&&(!xn||_n&&8<_n&&11>=_n),Tn=String.fromCharCode(32),An=!1;function Pn(e,t){switch(e){case"keyup":return-1!==Sn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function On(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Rn=!1,In={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 Ln(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!In[e.type]:"textarea"===t}function Mn(e,t,n,r){Mt?Dt?Dt.push(r):Dt=[r]:Mt=r,0<(t=jc(t,"onChange")).length&&(n=new en("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Dn=null,Fn=null;function Nn(e){Oc(e,0)}function jn(e){if(pt(Je(e)))return e}function zn(e,t){if("change"===e)return t}var Un=!1;if(ot){var Vn;if(ot){var Bn="oninput"in document;if(!Bn){var $n=document.createElement("div");$n.setAttribute("oninput","return;"),Bn="function"==typeof $n.oninput}Vn=Bn}else Vn=!1;Un=Vn&&(!document.documentMode||9<document.documentMode)}function Hn(){Dn&&(Dn.detachEvent("onpropertychange",Wn),Fn=Dn=null)}function Wn(e){if("value"===e.propertyName&&jn(Fn)){var t=[];Mn(t,Fn,e,Lt(e)),jt(Nn,t)}}function qn(e,t,n){"focusin"===e?(Hn(),Fn=n,(Dn=t).attachEvent("onpropertychange",Wn)):"focusout"===e&&Hn()}function Kn(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return jn(Fn)}function Qn(e,t){if("click"===e)return jn(t)}function Yn(e,t){if("input"===e||"change"===e)return jn(t)}var Gn="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function Jn(e,t){if(Gn(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(!ie.call(t,o)||!Gn(e[o],t[o]))return!1}return!0}function Xn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Zn(e,t){var n,r=Xn(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=Xn(r)}}function er(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?er(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function tr(e){for(var t=mt((e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window).document);t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=mt((e=t.contentWindow).document)}return t}function nr(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 rr(e,t){var n=tr(t);t=e.focusedElem;var r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&er(t.ownerDocument.documentElement,t)){if(null!==r&&nr(t))if(e=r.start,void 0===(n=r.end)&&(n=e),"selectionStart"in t)t.selectionStart=e,t.selectionEnd=Math.min(n,t.value.length);else if((n=(e=t.ownerDocument||document)&&e.defaultView||window).getSelection){n=n.getSelection();var o=t.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!n.extend&&i>r&&(o=r,r=i,i=o),o=Zn(t,i);var a=Zn(t,r);o&&a&&(1!==n.rangeCount||n.anchorNode!==o.node||n.anchorOffset!==o.offset||n.focusNode!==a.node||n.focusOffset!==a.offset)&&((e=e.createRange()).setStart(o.node,o.offset),n.removeAllRanges(),i>r?(n.addRange(e),n.extend(a.node,a.offset)):(e.setEnd(a.node,a.offset),n.addRange(e)))}for(e=[],n=t;n=n.parentNode;)1===n.nodeType&&e.push({element:n,left:n.scrollLeft,top:n.scrollTop});for("function"==typeof t.focus&&t.focus(),t=0;t<e.length;t++)(n=e[t]).element.scrollLeft=n.left,n.element.scrollTop=n.top}}var or=ot&&"documentMode"in document&&11>=document.documentMode,ir=null,ar=null,sr=null,lr=!1;function ur(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;lr||null==ir||ir!==mt(r)||(r="selectionStart"in(r=ir)&&nr(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},sr&&Jn(sr,r)||(sr=r,0<(r=jc(ar,"onSelect")).length&&(t=new en("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=ir)))}function cr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var dr={animationend:cr("Animation","AnimationEnd"),animationiteration:cr("Animation","AnimationIteration"),animationstart:cr("Animation","AnimationStart"),transitionrun:cr("Transition","TransitionRun"),transitionstart:cr("Transition","TransitionStart"),transitioncancel:cr("Transition","TransitionCancel"),transitionend:cr("Transition","TransitionEnd")},fr={},hr={};function pr(e){if(fr[e])return fr[e];if(!dr[e])return e;var t,n=dr[e];for(t in n)if(n.hasOwnProperty(t)&&t in hr)return fr[e]=n[t];return e}ot&&(hr=document.createElement("div").style,"AnimationEvent"in window||(delete dr.animationend.animation,delete dr.animationiteration.animation,delete dr.animationstart.animation),"TransitionEvent"in window||delete dr.transitionend.transition);var mr=pr("animationend"),gr=pr("animationiteration"),yr=pr("animationstart"),vr=pr("transitionrun"),br=pr("transitionstart"),wr=pr("transitioncancel"),kr=pr("transitionend"),Sr=new Map,xr="abort auxClick beforeToggle 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 scrollEnd toggle touchMove waiting wheel".split(" ");function _r(e,t){Sr.set(e,t),nt(t,[e])}var Cr=[],Er=0,Tr=0;function Ar(){for(var e=Er,t=Tr=Er=0;t<e;){var n=Cr[t];Cr[t++]=null;var r=Cr[t];Cr[t++]=null;var o=Cr[t];Cr[t++]=null;var i=Cr[t];if(Cr[t++]=null,null!==r&&null!==o){var a=r.pending;null===a?o.next=o:(o.next=a.next,a.next=o),r.pending=o}0!==i&&Ir(n,o,i)}}function Pr(e,t,n,r){Cr[Er++]=e,Cr[Er++]=t,Cr[Er++]=n,Cr[Er++]=r,Tr|=r,e.lanes|=r,null!==(e=e.alternate)&&(e.lanes|=r)}function Or(e,t,n,r){return Pr(e,t,n,r),Lr(e)}function Rr(e,t){return Pr(e,null,null,t),Lr(e)}function Ir(e,t,n){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n);for(var o=!1,i=e.return;null!==i;)i.childLanes|=n,null!==(r=i.alternate)&&(r.childLanes|=n),22===i.tag&&(null===(e=i.stateNode)||1&e._visibility||(o=!0)),e=i,i=i.return;o&&null!==t&&3===e.tag&&(i=e.stateNode,o=31-Se(n),null===(e=(i=i.hiddenUpdates)[o])?i[o]=[t]:e.push(t),t.lane=536870912|n)}function Lr(e){if(50<Ou)throw Ou=0,Ru=null,Error(r(185));for(var t=e.return;null!==t;)t=(e=t).return;return 3===e.tag?e.stateNode:null}var Mr={},Dr=new WeakMap;function Fr(e,t){if("object"==typeof e&&null!==e){var n=Dr.get(e);return void 0!==n?n:(t={value:e,source:t,stack:j(t)},Dr.set(e,t),t)}return{value:e,source:t,stack:j(t)}}var Nr=[],jr=0,zr=null,Ur=0,Vr=[],Br=0,$r=null,Hr=1,Wr="";function qr(e,t){Nr[jr++]=Ur,Nr[jr++]=zr,zr=e,Ur=t}function Kr(e,t,n){Vr[Br++]=Hr,Vr[Br++]=Wr,Vr[Br++]=$r,$r=e;var r=Hr;e=Wr;var o=32-Se(r)-1;r&=~(1<<o),n+=1;var i=32-Se(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Hr=1<<32-Se(t)+o|n<<o|r,Wr=i+e}else Hr=1<<i|n<<o|r,Wr=e}function Qr(e){null!==e.return&&(qr(e,1),Kr(e,1,0))}function Yr(e){for(;e===zr;)zr=Nr[--jr],Nr[jr]=null,Ur=Nr[--jr],Nr[jr]=null;for(;e===$r;)$r=Vr[--Br],Vr[Br]=null,Wr=Vr[--Br],Vr[Br]=null,Hr=Vr[--Br],Vr[Br]=null}var Gr=null,Jr=null,Xr=!1,Zr=null,eo=!1,to=Error(r(519));function no(e){throw so(Fr(Error(r(418,"")),e)),to}function ro(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[Ue]=e,t[Ve]=r,n){case"dialog":Rc("cancel",t),Rc("close",t);break;case"iframe":case"object":case"embed":Rc("load",t);break;case"video":case"audio":for(n=0;n<Ac.length;n++)Rc(Ac[n],t);break;case"source":Rc("error",t);break;case"img":case"image":case"link":Rc("error",t),Rc("load",t);break;case"details":Rc("toggle",t);break;case"input":Rc("invalid",t),bt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0),ht(t);break;case"select":Rc("invalid",t);break;case"textarea":Rc("invalid",t),xt(t,r.value,r.defaultValue,r.children),ht(t)}"string"!=typeof(n=r.children)&&"number"!=typeof n&&"bigint"!=typeof n||t.textContent===""+n||!0===r.suppressHydrationWarning||Hc(t.textContent,n)?(null!=r.popover&&(Rc("beforetoggle",t),Rc("toggle",t)),null!=r.onScroll&&Rc("scroll",t),null!=r.onScrollEnd&&Rc("scrollend",t),null!=r.onClick&&(t.onclick=Wc),t=!0):t=!1,t||no(e)}function oo(e){for(Gr=e.return;Gr;)switch(Gr.tag){case 3:case 27:return void(eo=!0);case 5:case 13:return void(eo=!1);default:Gr=Gr.return}}function io(e){if(e!==Gr)return!1;if(!Xr)return oo(e),Xr=!0,!1;var t,n=!1;if((t=3!==e.tag&&27!==e.tag)&&((t=5===e.tag)&&(t=!("form"!==(t=e.type)&&"button"!==t)||ed(e.type,e.memoizedProps)),t=!t),t&&(n=!0),n&&Jr&&no(e),oo(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(r(317));e:{for(e=e.nextSibling,n=0;e;){if(8===e.nodeType)if("/$"===(t=e.data)){if(0===n){Jr=ud(e.nextSibling);break e}n--}else"$"!==t&&"$!"!==t&&"$?"!==t||n++;e=e.nextSibling}Jr=null}}else Jr=Gr?ud(e.stateNode.nextSibling):null;return!0}function ao(){Jr=Gr=null,Xr=!1}function so(e){null===Zr?Zr=[e]:Zr.push(e)}var lo=Error(r(460)),uo=Error(r(474)),co={then:()=>{}};function fo(e){return"fulfilled"===(e=e.status)||"rejected"===e}function ho(){}function po(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(ho,ho),t=n),t.status){case"fulfilled":return t.value;case"rejected":if((e=t.reason)===lo)throw Error(r(483));throw e;default:if("string"==typeof t.status)t.then(ho,ho);else{if(null!==(e=ru)&&100<e.shellSuspendCounter)throw Error(r(482));(e=t).status="pending",e.then((e=>{if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}}),(e=>{if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}}))}switch(t.status){case"fulfilled":return t.value;case"rejected":if((e=t.reason)===lo)throw Error(r(483));throw e}throw mo=t,lo}}var mo=null;function go(){if(null===mo)throw Error(r(459));var e=mo;return mo=null,e}var yo=null,vo=0;function bo(e){var t=vo;return vo+=1,null===yo&&(yo=[]),po(yo,e,t)}function wo(e,t){t=t.props.ref,e.ref=void 0!==t?t:null}function ko(e,t){if(t.$$typeof===i)throw Error(r(525));throw e=Object.prototype.toString.call(t),Error(r(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function So(e){return(0,e._init)(e._payload)}function xo(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 o(e){for(var t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function i(e,t){return(e=zl(e,t)).index=0,e.sibling=null,e}function u(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=33554434,n):r:(t.flags|=33554434,n):(t.flags|=1048576,n)}function c(t){return e&&null===t.alternate&&(t.flags|=33554434),t}function d(e,t,n,r){return null===t||6!==t.tag?((t=Hl(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function f(e,t,n,r){var o=n.type;return o===l?m(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===b&&So(o)===t.type)?(wo(t=i(t,n.props),n),t.return=e,t):(wo(t=Vl(n.type,n.key,n.props,null,e.mode,r),n),t.return=e,t)}function p(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Wl(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function m(e,t,n,r,o){return null===t||7!==t.tag?((t=Bl(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function g(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t||"bigint"==typeof t)return(t=Hl(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case a:return wo(n=Vl(t.type,t.key,t.props,null,e.mode,n),t),n.return=e,n;case s:return(t=Wl(t,e.mode,n)).return=e,t;case b:return g(e,t=(0,t._init)(t._payload),n)}if($(t)||_(t))return(t=Bl(t,e.mode,n,null)).return=e,t;if("function"==typeof t.then)return g(e,bo(t),n);if(t.$$typeof===h)return g(e,As(e,t),n);ko(e,t)}return null}function y(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n||"bigint"==typeof n)return null!==o?null:d(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case a:return n.key===o?f(e,t,n,r):null;case s:return n.key===o?p(e,t,n,r):null;case b:return y(e,t,n=(o=n._init)(n._payload),r)}if($(n)||_(n))return null!==o?null:m(e,t,n,r,null);if("function"==typeof n.then)return y(e,t,bo(n),r);if(n.$$typeof===h)return y(e,t,As(e,n),r);ko(e,n)}return null}function v(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r||"bigint"==typeof r)return d(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case a:return f(t,e=e.get(null===r.key?n:r.key)||null,r,o);case s:return p(t,e=e.get(null===r.key?n:r.key)||null,r,o);case b:return v(e,t,n,r=(0,r._init)(r._payload),o)}if($(r)||_(r))return m(t,e=e.get(n)||null,r,o,null);if("function"==typeof r.then)return v(e,t,n,bo(r),o);if(r.$$typeof===h)return v(e,t,n,As(t,r),o);ko(t,r)}return null}function w(d,f,p,m){if("object"==typeof p&&null!==p&&p.type===l&&null===p.key&&(p=p.props.children),"object"==typeof p&&null!==p){switch(p.$$typeof){case a:e:{for(var k=p.key;null!==f;){if(f.key===k){if((k=p.type)===l){if(7===f.tag){n(d,f.sibling),(m=i(f,p.props.children)).return=d,d=m;break e}}else if(f.elementType===k||"object"==typeof k&&null!==k&&k.$$typeof===b&&So(k)===f.type){n(d,f.sibling),wo(m=i(f,p.props),p),m.return=d,d=m;break e}n(d,f);break}t(d,f),f=f.sibling}p.type===l?((m=Bl(p.props.children,d.mode,m,p.key)).return=d,d=m):(wo(m=Vl(p.type,p.key,p.props,null,d.mode,m),p),m.return=d,d=m)}return c(d);case s:e:{for(k=p.key;null!==f;){if(f.key===k){if(4===f.tag&&f.stateNode.containerInfo===p.containerInfo&&f.stateNode.implementation===p.implementation){n(d,f.sibling),(m=i(f,p.children||[])).return=d,d=m;break e}n(d,f);break}t(d,f),f=f.sibling}(m=Wl(p,d.mode,m)).return=d,d=m}return c(d);case b:return w(d,f,p=(k=p._init)(p._payload),m)}if($(p))return function(r,i,a,s){for(var l=null,c=null,d=i,f=i=0,h=null;null!==d&&f<a.length;f++){d.index>f?(h=d,d=null):h=d.sibling;var p=y(r,d,a[f],s);if(null===p){null===d&&(d=h);break}e&&d&&null===p.alternate&&t(r,d),i=u(p,i,f),null===c?l=p:c.sibling=p,c=p,d=h}if(f===a.length)return n(r,d),Xr&&qr(r,f),l;if(null===d){for(;f<a.length;f++)null!==(d=g(r,a[f],s))&&(i=u(d,i,f),null===c?l=d:c.sibling=d,c=d);return Xr&&qr(r,f),l}for(d=o(d);f<a.length;f++)null!==(h=v(d,r,f,a[f],s))&&(e&&null!==h.alternate&&d.delete(null===h.key?f:h.key),i=u(h,i,f),null===c?l=h:c.sibling=h,c=h);return e&&d.forEach((e=>t(r,e))),Xr&&qr(r,f),l}(d,f,p,m);if(_(p)){if("function"!=typeof(k=_(p)))throw Error(r(150));return function(i,a,s,l){if(null==s)throw Error(r(151));for(var c=null,d=null,f=a,h=a=0,p=null,m=s.next();null!==f&&!m.done;h++,m=s.next()){f.index>h?(p=f,f=null):p=f.sibling;var b=y(i,f,m.value,l);if(null===b){null===f&&(f=p);break}e&&f&&null===b.alternate&&t(i,f),a=u(b,a,h),null===d?c=b:d.sibling=b,d=b,f=p}if(m.done)return n(i,f),Xr&&qr(i,h),c;if(null===f){for(;!m.done;h++,m=s.next())null!==(m=g(i,m.value,l))&&(a=u(m,a,h),null===d?c=m:d.sibling=m,d=m);return Xr&&qr(i,h),c}for(f=o(f);!m.done;h++,m=s.next())null!==(m=v(f,i,h,m.value,l))&&(e&&null!==m.alternate&&f.delete(null===m.key?h:m.key),a=u(m,a,h),null===d?c=m:d.sibling=m,d=m);return e&&f.forEach((e=>t(i,e))),Xr&&qr(i,h),c}(d,f,p=k.call(p),m)}if("function"==typeof p.then)return w(d,f,bo(p),m);if(p.$$typeof===h)return w(d,f,As(d,p),m);ko(d,p)}return"string"==typeof p&&""!==p||"number"==typeof p||"bigint"==typeof p?(p=""+p,null!==f&&6===f.tag?(n(d,f.sibling),(m=i(f,p)).return=d,d=m):(n(d,f),(m=Hl(p,d.mode,m)).return=d,d=m),c(d)):n(d,f)}return(e,t,n,r)=>{try{vo=0;var o=w(e,t,n,r);return yo=null,o}catch(t){if(t===lo)throw t;var i=Nl(29,t,null,e.mode);return i.lanes=r,i.return=e,i}}}var _o=xo(!0),Co=xo(!1),Eo=Q(null),To=Q(0);function Ao(e,t){G(To,e=du),G(Eo,t),du=e|t.baseLanes}function Po(){G(To,du),G(Eo,Eo.current)}function Oo(){du=To.current,Y(Eo),Y(To)}var Ro=Q(null),Io=null;function Lo(e){var t=e.alternate;G(No,1&No.current),G(Ro,e),null===Io&&(null===t||null!==Eo.current||null!==t.memoizedState)&&(Io=e)}function Mo(e){if(22===e.tag){if(G(No,No.current),G(Ro,e),null===Io){var t=e.alternate;null!==t&&null!==t.memoizedState&&(Io=e)}}else Do()}function Do(){G(No,No.current),G(Ro,Ro.current)}function Fo(e){Y(Ro),Io===e&&(Io=null),Y(No)}var No=Q(0);function jo(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 zo="undefined"!=typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:(t,n)=>{e.push(n)}};this.abort=()=>{t.aborted=!0,e.forEach((e=>e()))}},Uo=e.unstable_scheduleCallback,Vo=e.unstable_NormalPriority,Bo={$$typeof:h,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function $o(){return{controller:new zo,data:new Map,refCount:0}}function Ho(e){e.refCount--,0===e.refCount&&Uo(Vo,(()=>{e.controller.abort()}))}var Wo=null,qo=0,Ko=0,Qo=null;function Yo(){if(0==--qo&&null!==Wo){null!==Qo&&(Qo.status="fulfilled");var e=Wo;Wo=null,Ko=0,Qo=null;for(var t=0;t<e.length;t++)(0,e[t])()}}var Go=O.S;O.S=(e,t)=>{"object"==typeof t&&null!==t&&"function"==typeof t.then&&function(e,t){if(null===Wo){var n=Wo=[];qo=0,Ko=xc(),Qo={status:"pending",value:void 0,then:e=>{n.push(e)}}}qo++,t.then(Yo,Yo)}(0,t),null!==Go&&Go(e,t)};var Jo=Q(null);function Xo(){var e=Jo.current;return null!==e?e:ru.pooledCache}function Zo(e,t){G(Jo,null===t?Jo.current:t.pool)}function ei(){var e=Xo();return null===e?null:{parent:Bo._currentValue,pool:e}}var ti=0,ni=null,ri=null,oi=null,ii=!1,ai=!1,si=!1,li=0,ui=0,ci=null,di=0;function fi(){throw Error(r(321))}function hi(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Gn(e[n],t[n]))return!1;return!0}function pi(e,t,n,r,o,i){return ti=i,ni=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,O.H=null===e||null===e.memoizedState?Aa:Pa,si=!1,i=n(r,o),si=!1,ai&&(i=gi(t,n,r,o)),mi(e),i}function mi(e){O.H=Ta;var t=null!==ri&&null!==ri.next;if(ti=0,oi=ri=ni=null,ii=!1,ui=0,ci=null,t)throw Error(r(300));null===e||qa||null!==(e=e.dependencies)&&Cs(e)&&(qa=!0)}function gi(e,t,n,o){ni=e;var i=0;do{if(ai&&(ci=null),ui=0,ai=!1,25<=i)throw Error(r(301));if(i+=1,oi=ri=null,null!=e.updateQueue){var a=e.updateQueue;a.lastEffect=null,a.events=null,a.stores=null,null!=a.memoCache&&(a.memoCache.index=0)}O.H=Oa,a=t(n,o)}while(ai);return a}function yi(){var e=O.H,t=e.useState()[0];return t="function"==typeof t.then?xi(t):t,e=e.useState()[0],(null!==ri?ri.memoizedState:null)!==e&&(ni.flags|=1024),t}function vi(){var e=0!==li;return li=0,e}function bi(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function wi(e){if(ii){for(e=e.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}ii=!1}ti=0,oi=ri=ni=null,ai=!1,ui=li=0,ci=null}function ki(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===oi?ni.memoizedState=oi=e:oi=oi.next=e,oi}function Si(){if(null===ri){var e=ni.alternate;e=null!==e?e.memoizedState:null}else e=ri.next;var t=null===oi?ni.memoizedState:oi.next;if(null!==t)oi=t,ri=e;else{if(null===e){if(null===ni.alternate)throw Error(r(467));throw Error(r(310))}e={memoizedState:(ri=e).memoizedState,baseState:ri.baseState,baseQueue:ri.baseQueue,queue:ri.queue,next:null},null===oi?ni.memoizedState=oi=e:oi=oi.next=e}return oi}function xi(e){var t=ui;return ui+=1,null===ci&&(ci=[]),e=po(ci,e,t),t=ni,null===(null===oi?t.memoizedState:oi.next)&&(t=t.alternate,O.H=null===t||null===t.memoizedState?Aa:Pa),e}function _i(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return xi(e);if(e.$$typeof===h)return Ts(e)}throw Error(r(438,String(e)))}function Ci(e){var t=null,n=ni.updateQueue;if(null!==n&&(t=n.memoCache),null==t){var r=ni.alternate;null!==r&&null!==(r=r.updateQueue)&&null!=(r=r.memoCache)&&(t={data:r.data.map((e=>e.slice())),index:0})}if(null==t&&(t={data:[],index:0}),null===n&&(n={lastEffect:null,events:null,stores:null,memoCache:null},ni.updateQueue=n),n.memoCache=t,void 0===(n=t.data[t.index]))for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=S;return t.index++,n}function Ei(e,t){return"function"==typeof t?t(e):t}function Ti(e){return Ai(Si(),ri,e)}function Ai(e,t,n){var o=e.queue;if(null===o)throw Error(r(311));o.lastRenderedReducer=n;var i=e.baseQueue,a=o.pending;if(null!==a){if(null!==i){var s=i.next;i.next=a.next,a.next=s}t.baseQueue=i=a,o.pending=null}if(a=e.baseState,null===i)e.memoizedState=a;else{var l=s=null,u=null,c=t=i.next,d=!1;do{var f=-536870913&c.lane;if(f!==c.lane?(iu&f)===f:(ti&f)===f){var h=c.revertLane;if(0===h)null!==u&&(u=u.next={lane:0,revertLane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),f===Ko&&(d=!0);else{if((ti&h)===h){c=c.next,h===Ko&&(d=!0);continue}f={lane:0,revertLane:c.revertLane,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(l=u=f,s=a):u=u.next=f,ni.lanes|=h,hu|=h}f=c.action,si&&n(a,f),a=c.hasEagerState?c.eagerState:n(a,f)}else h={lane:f,revertLane:c.revertLane,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(l=u=h,s=a):u=u.next=h,ni.lanes|=f,hu|=f;c=c.next}while(null!==c&&c!==t);if(null===u?s=a:u.next=l,!Gn(a,e.memoizedState)&&(qa=!0,d&&null!==(n=Qo)))throw n;e.memoizedState=a,e.baseState=s,e.baseQueue=u,o.lastRenderedState=a}return null===i&&(o.lanes=0),[e.memoizedState,o.dispatch]}function Pi(e){var t=Si(),n=t.queue;if(null===n)throw Error(r(311));n.lastRenderedReducer=e;var o=n.dispatch,i=n.pending,a=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{a=e(a,s.action),s=s.next}while(s!==i);Gn(a,t.memoizedState)||(qa=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,o]}function Oi(e,t,n){var o=ni,i=Si(),a=Xr;if(a){if(void 0===n)throw Error(r(407));n=n()}else n=t();var s=!Gn((ri||i).memoizedState,n);if(s&&(i.memoizedState=n,qa=!0),i=i.queue,ta(Li.bind(null,o,i,e),[e]),i.getSnapshot!==t||s||null!==oi&&1&oi.memoizedState.tag){if(o.flags|=2048,Gi(9,Ii.bind(null,o,i,n,t),{destroy:void 0},null),null===ru)throw Error(r(349));a||60&ti||Ri(o,t,n)}return n}function Ri(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=ni.updateQueue)?(t={lastEffect:null,events:null,stores:null,memoCache:null},ni.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ii(e,t,n,r){t.value=n,t.getSnapshot=r,Mi(t)&&Di(e)}function Li(e,t,n){return n((()=>{Mi(t)&&Di(e)}))}function Mi(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Gn(e,n)}catch(e){return!0}}function Di(e){var t=Rr(e,2);null!==t&&Mu(t,e,2)}function Fi(e){var t=ki();if("function"==typeof e){var n=e;if(e=n(),si){ke(!0);try{n()}finally{ke(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ei,lastRenderedState:e},t}function Ni(e,t,n,r){return e.baseState=n,Ai(e,ri,"function"==typeof r?r:Ei)}function ji(e,t,n,o,i){if(_a(e))throw Error(r(485));if(null!==(e=t.action)){var a={payload:i,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:e=>{a.listeners.push(e)}};null!==O.T?n(!0):a.isTransition=!1,o(a),null===(n=t.pending)?(a.next=t.pending=a,zi(t,a)):(a.next=n.next,t.pending=n.next=a)}}function zi(e,t){var n=t.action,r=t.payload,o=e.state;if(t.isTransition){var i=O.T,a={};O.T=a;try{var s=n(o,r),l=O.S;null!==l&&l(a,s),Ui(e,t,s)}catch(n){Bi(e,t,n)}finally{O.T=i}}else try{Ui(e,t,i=n(o,r))}catch(n){Bi(e,t,n)}}function Ui(e,t,n){null!==n&&"object"==typeof n&&"function"==typeof n.then?n.then((n=>{Vi(e,t,n)}),(n=>Bi(e,t,n))):Vi(e,t,n)}function Vi(e,t,n){t.status="fulfilled",t.value=n,$i(t),e.state=n,null!==(t=e.pending)&&((n=t.next)===t?e.pending=null:(n=n.next,t.next=n,zi(e,n)))}function Bi(e,t,n){var r=e.pending;if(e.pending=null,null!==r){r=r.next;do{t.status="rejected",t.reason=n,$i(t),t=t.next}while(t!==r)}e.action=null}function $i(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Hi(e,t){return t}function Wi(e,t){if(Xr){var n=ru.formState;if(null!==n){e:{var r=ni;if(Xr){if(Jr){t:{for(var o=Jr,i=eo;8!==o.nodeType;){if(!i){o=null;break t}if(null===(o=ud(o.nextSibling))){o=null;break t}}o="F!"===(i=o.data)||"F"===i?o:null}if(o){Jr=ud(o.nextSibling),r="F!"===o.data;break e}}no(r)}r=!1}r&&(t=n[0])}}return(n=ki()).memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Hi,lastRenderedState:t},n.queue=r,n=ka.bind(null,ni,r),r.dispatch=n,r=Fi(!1),i=xa.bind(null,ni,!1,r.queue),o={state:t,dispatch:null,action:e,pending:null},(r=ki()).queue=o,n=ji.bind(null,ni,o,i,n),o.dispatch=n,r.memoizedState=e,[t,n,!1]}function qi(e){return Ki(Si(),ri,e)}function Ki(e,t,n){t=Ai(e,t,Hi)[0],e=Ti(Ei)[0],t="object"==typeof t&&null!==t&&"function"==typeof t.then?xi(t):t;var r=Si(),o=r.queue,i=o.dispatch;return n!==r.memoizedState&&(ni.flags|=2048,Gi(9,Qi.bind(null,o,n),{destroy:void 0},null)),[t,i,e]}function Qi(e,t){e.action=t}function Yi(e){var t=Si(),n=ri;if(null!==n)return Ki(t,n,e);Si(),t=t.memoizedState;var r=(n=Si()).queue.dispatch;return n.memoizedState=e,[t,r,!1]}function Gi(e,t,n,r){return e={tag:e,create:t,inst:n,deps:r,next:null},null===(t=ni.updateQueue)&&(t={lastEffect:null,events:null,stores:null,memoCache:null},ni.updateQueue=t),null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Ji(){return Si().memoizedState}function Xi(e,t,n,r){var o=ki();ni.flags|=e,o.memoizedState=Gi(1|t,n,{destroy:void 0},void 0===r?null:r)}function Zi(e,t,n,r){var o=Si();r=void 0===r?null:r;var i=o.memoizedState.inst;null!==ri&&null!==r&&hi(r,ri.memoizedState.deps)?o.memoizedState=Gi(t,n,i,r):(ni.flags|=e,o.memoizedState=Gi(1|t,n,i,r))}function ea(e,t){Xi(8390656,8,e,t)}function ta(e,t){Zi(2048,8,e,t)}function na(e,t){return Zi(4,2,e,t)}function ra(e,t){return Zi(4,4,e,t)}function oa(e,t){if("function"==typeof t){e=e();var n=t(e);return()=>{"function"==typeof n?n():t(null)}}if(null!=t)return e=e(),t.current=e,()=>{t.current=null}}function ia(e,t,n){n=null!=n?n.concat([e]):null,Zi(4,4,oa.bind(null,t,e),n)}function aa(){}function sa(e,t){var n=Si();t=void 0===t?null:t;var r=n.memoizedState;return null!==t&&hi(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function la(e,t){var n=Si();t=void 0===t?null:t;var r=n.memoizedState;if(null!==t&&hi(t,r[1]))return r[0];if(r=e(),si){ke(!0);try{e()}finally{ke(!1)}}return n.memoizedState=[r,t],r}function ua(e,t,n){return void 0===n||1073741824&ti?e.memoizedState=t:(e.memoizedState=n,e=Lu(),ni.lanes|=e,hu|=e,n)}function ca(e,t,n,r){return Gn(n,t)?n:null!==Eo.current?(e=ua(e,n,r),Gn(e,t)||(qa=!0),e):42&ti?(e=Lu(),ni.lanes|=e,hu|=e,t):(qa=!0,e.memoizedState=n)}function da(e,t,n,r,o){var i=H.p;H.p=0!==i&&8>i?i:8;var a,s,l,u=O.T,c={};O.T=c,xa(e,!1,t,n);try{var d=o(),f=O.S;null!==f&&f(c,d),null!==d&&"object"==typeof d&&"function"==typeof d.then?Sa(e,t,(a=r,s=[],l={status:"pending",value:null,reason:null,then:e=>{s.push(e)}},d.then((()=>{l.status="fulfilled",l.value=a;for(var e=0;e<s.length;e++)(0,s[e])(a)}),(e=>{for(l.status="rejected",l.reason=e,e=0;e<s.length;e++)(0,s[e])(void 0)})),l),Iu()):Sa(e,t,r,Iu())}catch(n){Sa(e,t,{then:()=>{},status:"rejected",reason:n},Iu())}finally{H.p=i,O.T=u}}function fa(){}function ha(e,t,n,o){if(5!==e.tag)throw Error(r(476));var i=pa(e).queue;da(e,i,t,W,null===n?fa:()=>(ma(e),n(o)))}function pa(e){var t=e.memoizedState;if(null!==t)return t;var n={};return(t={memoizedState:W,baseState:W,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ei,lastRenderedState:W},next:null}).next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ei,lastRenderedState:n},next:null},e.memoizedState=t,null!==(e=e.alternate)&&(e.memoizedState=t),t}function ma(e){Sa(e,pa(e).next.queue,{},Iu())}function ga(){return Ts(jd)}function ya(){return Si().memoizedState}function va(){return Si().memoizedState}function ba(e){for(var t=e.return;null!==t;){switch(t.tag){case 24:case 3:var n=Iu(),r=Ms(t,e=Ls(n),n);return null!==r&&(Mu(r,t,n),Ds(r,t,n)),t={cache:$o()},void(e.payload=t)}t=t.return}}function wa(e,t,n){var r=Iu();n={lane:r,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null},_a(e)?Ca(t,n):null!==(n=Or(e,t,n,r))&&(Mu(n,e,r),Ea(n,t,r))}function ka(e,t,n){Sa(e,t,n,Iu())}function Sa(e,t,n,r){var o={lane:r,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if(_a(e))Ca(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,s=i(a,n);if(o.hasEagerState=!0,o.eagerState=s,Gn(s,a))return Pr(e,t,o,0),null===ru&&Ar(),!1}catch(e){}if(null!==(n=Or(e,t,o,r)))return Mu(n,e,r),Ea(n,t,r),!0}return!1}function xa(e,t,n,o){if(o={lane:2,revertLane:xc(),action:o,hasEagerState:!1,eagerState:null,next:null},_a(e)){if(t)throw Error(r(479))}else null!==(t=Or(e,n,o,2))&&Mu(t,e,2)}function _a(e){var t=e.alternate;return e===ni||null!==t&&t===ni}function Ca(e,t){ai=ii=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ea(e,t,n){if(4194176&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Fe(e,n)}}var Ta={readContext:Ts,use:_i,useCallback:fi,useContext:fi,useEffect:fi,useImperativeHandle:fi,useLayoutEffect:fi,useInsertionEffect:fi,useMemo:fi,useReducer:fi,useRef:fi,useState:fi,useDebugValue:fi,useDeferredValue:fi,useTransition:fi,useSyncExternalStore:fi,useId:fi};Ta.useCacheRefresh=fi,Ta.useMemoCache=fi,Ta.useHostTransitionStatus=fi,Ta.useFormState=fi,Ta.useActionState=fi,Ta.useOptimistic=fi;var Aa={readContext:Ts,use:_i,useCallback:(e,t)=>(ki().memoizedState=[e,void 0===t?null:t],e),useContext:Ts,useEffect:ea,useImperativeHandle:(e,t,n)=>{n=null!=n?n.concat([e]):null,Xi(4194308,4,oa.bind(null,t,e),n)},useLayoutEffect:(e,t)=>Xi(4194308,4,e,t),useInsertionEffect:(e,t)=>{Xi(4,2,e,t)},useMemo:(e,t)=>{var n=ki();t=void 0===t?null:t;var r=e();if(si){ke(!0);try{e()}finally{ke(!1)}}return n.memoizedState=[r,t],r},useReducer:(e,t,n)=>{var r=ki();if(void 0!==n){var o=n(t);if(si){ke(!0);try{n(t)}finally{ke(!1)}}}else o=t;return r.memoizedState=r.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},r.queue=e,e=e.dispatch=wa.bind(null,ni,e),[r.memoizedState,e]},useRef:e=>(e={current:e},ki().memoizedState=e),useState:e=>{var t=(e=Fi(e)).queue,n=ka.bind(null,ni,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:aa,useDeferredValue:(e,t)=>ua(ki(),e,t),useTransition:()=>{var e=Fi(!1);return e=da.bind(null,ni,e.queue,!0,!1),ki().memoizedState=e,[!1,e]},useSyncExternalStore:(e,t,n)=>{var o=ni,i=ki();if(Xr){if(void 0===n)throw Error(r(407));n=n()}else{if(n=t(),null===ru)throw Error(r(349));60&iu||Ri(o,t,n)}i.memoizedState=n;var a={value:n,getSnapshot:t};return i.queue=a,ea(Li.bind(null,o,a,e),[e]),o.flags|=2048,Gi(9,Ii.bind(null,o,a,n,t),{destroy:void 0},null),n},useId:()=>{var e=ki(),t=ru.identifierPrefix;if(Xr){var n=Wr;t=":"+t+"R"+(n=(Hr&~(1<<32-Se(Hr)-1)).toString(32)+n),0<(n=li++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=di++).toString(32)+":";return e.memoizedState=t},useCacheRefresh:()=>ki().memoizedState=ba.bind(null,ni)};Aa.useMemoCache=Ci,Aa.useHostTransitionStatus=ga,Aa.useFormState=Wi,Aa.useActionState=Wi,Aa.useOptimistic=e=>{var t=ki();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=xa.bind(null,ni,!0,n),n.dispatch=t,[e,t]};var Pa={readContext:Ts,use:_i,useCallback:sa,useContext:Ts,useEffect:ta,useImperativeHandle:ia,useInsertionEffect:na,useLayoutEffect:ra,useMemo:la,useReducer:Ti,useRef:Ji,useState:()=>Ti(Ei),useDebugValue:aa,useDeferredValue:(e,t)=>ca(Si(),ri.memoizedState,e,t),useTransition:()=>{var e=Ti(Ei)[0],t=Si().memoizedState;return["boolean"==typeof e?e:xi(e),t]},useSyncExternalStore:Oi,useId:ya};Pa.useCacheRefresh=va,Pa.useMemoCache=Ci,Pa.useHostTransitionStatus=ga,Pa.useFormState=qi,Pa.useActionState=qi,Pa.useOptimistic=(e,t)=>Ni(Si(),0,e,t);var Oa={readContext:Ts,use:_i,useCallback:sa,useContext:Ts,useEffect:ta,useImperativeHandle:ia,useInsertionEffect:na,useLayoutEffect:ra,useMemo:la,useReducer:Pi,useRef:Ji,useState:()=>Pi(Ei),useDebugValue:aa,useDeferredValue:(e,t)=>{var n=Si();return null===ri?ua(n,e,t):ca(n,ri.memoizedState,e,t)},useTransition:()=>{var e=Pi(Ei)[0],t=Si().memoizedState;return["boolean"==typeof e?e:xi(e),t]},useSyncExternalStore:Oi,useId:ya};function Ra(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:I({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}Oa.useCacheRefresh=va,Oa.useMemoCache=Ci,Oa.useHostTransitionStatus=ga,Oa.useFormState=Yi,Oa.useActionState=Yi,Oa.useOptimistic=(e,t)=>{var n=Si();return null!==ri?Ni(n,0,e,t):(n.baseState=e,[e,n.queue.dispatch])};var Ia={isMounted:e=>!!(e=e._reactInternals)&&z(e)===e,enqueueSetState:(e,t,n)=>{e=e._reactInternals;var r=Iu(),o=Ls(r);o.payload=t,null!=n&&(o.callback=n),null!==(t=Ms(e,o,r))&&(Mu(t,e,r),Ds(t,e,r))},enqueueReplaceState:(e,t,n)=>{e=e._reactInternals;var r=Iu(),o=Ls(r);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=Ms(e,o,r))&&(Mu(t,e,r),Ds(t,e,r))},enqueueForceUpdate:(e,t)=>{e=e._reactInternals;var n=Iu(),r=Ls(n);r.tag=2,null!=t&&(r.callback=t),null!==(t=Ms(e,r,n))&&(Mu(t,e,n),Ds(t,e,n))}};function La(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!(t.prototype&&t.prototype.isPureReactComponent&&Jn(n,r)&&Jn(o,i))}function Ma(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&&Ia.enqueueReplaceState(t,t.state,null)}function Da(e,t){var n=t;if("ref"in t)for(var r in n={},t)"ref"!==r&&(n[r]=t[r]);if(e=e.defaultProps)for(var o in n===t&&(n=I({},n)),e)void 0===n[o]&&(n[o]=e[o]);return n}var Fa="function"==typeof reportError?reportError:e=>{if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)};function Na(e){Fa(e)}function ja(e){console.error(e)}function za(e){Fa(e)}function Ua(e,t){try{(0,e.onUncaughtError)(t.value,{componentStack:t.stack})}catch(e){setTimeout((()=>{throw e}))}}function Va(e,t,n){try{(0,e.onCaughtError)(n.value,{componentStack:n.stack,errorBoundary:1===t.tag?t.stateNode:null})}catch(e){setTimeout((()=>{throw e}))}}function Ba(e,t,n){return(n=Ls(n)).tag=3,n.payload={element:null},n.callback=()=>{Ua(e,t)},n}function $a(e){return(e=Ls(e)).tag=3,e}function Ha(e,t,n,r){var o=n.type.getDerivedStateFromError;if("function"==typeof o){var i=r.value;e.payload=()=>o(i),e.callback=()=>{Va(t,n,r)}}var a=n.stateNode;null!==a&&"function"==typeof a.componentDidCatch&&(e.callback=function(){Va(t,n,r),"function"!=typeof o&&(null===_u?_u=new Set([this]):_u.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:null!==e?e:""})})}var Wa=Error(r(461)),qa=!1;function Ka(e,t,n,r){t.child=null===e?Co(t,null,n,r):_o(t,e.child,n,r)}function Qa(e,t,n,r,o){n=n.render;var i=t.ref;if("ref"in r){var a={};for(var s in r)"ref"!==s&&(a[s]=r[s])}else a=r;return Es(t),r=pi(e,t,n,a,i,o),s=vi(),null===e||qa?(Xr&&s&&Qr(t),t.flags|=1,Ka(e,t,r,o),t.child):(bi(e,t,o),ps(e,t,o))}function Ya(e,t,n,r,o){if(null===e){var i=n.type;return"function"!=typeof i||jl(i)||void 0!==i.defaultProps||null!==n.compare?((e=Vl(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Ga(e,t,i,r,o))}if(i=e.child,!ms(e,o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:Jn)(a,r)&&e.ref===t.ref)return ps(e,t,o)}return t.flags|=1,(e=zl(i,r)).ref=t.ref,e.return=t,t.child=e}function Ga(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(Jn(i,r)&&e.ref===t.ref){if(qa=!1,t.pendingProps=r=i,!ms(e,o))return t.lanes=e.lanes,ps(e,t,o);131072&e.flags&&(qa=!0)}}return es(e,t,n,r,o)}function Ja(e,t,n){var r=t.pendingProps,o=r.children,i=!!(2&t.stateNode._pendingVisibility),a=null!==e?e.memoizedState:null;if(Za(e,t),"hidden"===r.mode||i){if(128&t.flags){if(r=null!==a?a.baseLanes|n:n,null!==e){for(o=t.child=e.child,i=0;null!==o;)i=i|o.lanes|o.childLanes,o=o.sibling;t.childLanes=i&~r}else t.childLanes=0,t.child=null;return Xa(e,t,r,n)}if(!(536870912&n))return t.lanes=t.childLanes=536870912,Xa(e,t,null!==a?a.baseLanes|n:n,n);t.memoizedState={baseLanes:0,cachePool:null},null!==e&&Zo(0,null!==a?a.cachePool:null),null!==a?Ao(t,a):Po(),Mo(t)}else null!==a?(Zo(0,a.cachePool),Ao(t,a),Do(),t.memoizedState=null):(null!==e&&Zo(0,null),Po(),Do());return Ka(e,t,o,n),t.child}function Xa(e,t,n,r){var o=Xo();return o=null===o?null:{parent:Bo._currentValue,pool:o},t.memoizedState={baseLanes:n,cachePool:o},null!==e&&Zo(0,null),Po(),Mo(t),null!==e&&_s(e,t,r,!0),null}function Za(e,t){var n=t.ref;if(null===n)null!==e&&null!==e.ref&&(t.flags|=2097664);else{if("function"!=typeof n&&"object"!=typeof n)throw Error(r(284));null!==e&&e.ref===n||(t.flags|=2097664)}}function es(e,t,n,r,o){return Es(t),n=pi(e,t,n,r,void 0,o),r=vi(),null===e||qa?(Xr&&r&&Qr(t),t.flags|=1,Ka(e,t,n,o),t.child):(bi(e,t,o),ps(e,t,o))}function ts(e,t,n,r,o,i){return Es(t),t.updateQueue=null,n=gi(t,r,n,o),mi(e),r=vi(),null===e||qa?(Xr&&r&&Qr(t),t.flags|=1,Ka(e,t,n,i),t.child):(bi(e,t,i),ps(e,t,i))}function ns(e,t,n,r,o){if(Es(t),null===t.stateNode){var i=Mr,a=n.contextType;"object"==typeof a&&null!==a&&(i=Ts(a)),i=new n(r,i),t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,i.updater=Ia,t.stateNode=i,i._reactInternals=t,(i=t.stateNode).props=r,i.state=t.memoizedState,i.refs={},Rs(t),a=n.contextType,i.context="object"==typeof a&&null!==a?Ts(a):Mr,i.state=t.memoizedState,"function"==typeof(a=n.getDerivedStateFromProps)&&(Ra(t,n,a,r),i.state=t.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(a=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),a!==i.state&&Ia.enqueueReplaceState(i,i.state,null),zs(t,r,i,o),js(),i.state=t.memoizedState),"function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!0}else if(null===e){i=t.stateNode;var s=t.memoizedProps,l=Da(n,s);i.props=l;var u=i.context,c=n.contextType;a=Mr,"object"==typeof c&&null!==c&&(a=Ts(c));var d=n.getDerivedStateFromProps;c="function"==typeof d||"function"==typeof i.getSnapshotBeforeUpdate,s=t.pendingProps!==s,c||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s||u!==a)&&Ma(t,i,r,a),Os=!1;var f=t.memoizedState;i.state=f,zs(t,r,i,o),js(),u=t.memoizedState,s||f!==u||Os?("function"==typeof d&&(Ra(t,n,d,r),u=t.memoizedState),(l=Os||La(t,n,l,r,f,u,a))?(c||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),i.props=r,i.state=u,i.context=a,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Is(e,t),c=Da(n,a=t.memoizedProps),i.props=c,d=t.pendingProps,f=i.context,u=n.contextType,l=Mr,"object"==typeof u&&null!==u&&(l=Ts(u)),(u="function"==typeof(s=n.getDerivedStateFromProps)||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(a!==d||f!==l)&&Ma(t,i,r,l),Os=!1,f=t.memoizedState,i.state=f,zs(t,r,i,o),js();var h=t.memoizedState;a!==d||f!==h||Os||null!==e&&null!==e.dependencies&&Cs(e.dependencies)?("function"==typeof s&&(Ra(t,n,s,r),h=t.memoizedState),(c=Os||La(t,n,c,r,f,h,l)||null!==e&&null!==e.dependencies&&Cs(e.dependencies))?(u||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,h,l),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,h,l)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),i.props=r,i.state=h,i.context=l,r=c):("function"!=typeof i.componentDidUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return i=r,Za(e,t),r=!!(128&t.flags),i||r?(i=t.stateNode,n=r&&"function"!=typeof n.getDerivedStateFromError?null:i.render(),t.flags|=1,null!==e&&r?(t.child=_o(t,e.child,null,o),t.child=_o(t,null,n,o)):Ka(e,t,n,o),t.memoizedState=i.state,e=t.child):e=ps(e,t,o),e}function rs(e,t,n,r){return ao(),t.flags|=256,Ka(e,t,n,r),t.child}var os={dehydrated:null,treeContext:null,retryLane:0};function is(e){return{baseLanes:e,cachePool:ei()}}function as(e,t,n){return e=null!==e?e.childLanes&~n:0,t&&(e|=gu),e}function ss(e,t,n){var o,i=t.pendingProps,a=!1,s=!!(128&t.flags);if((o=s)||(o=(null===e||null!==e.memoizedState)&&!!(2&No.current)),o&&(a=!0,t.flags&=-129),o=!!(32&t.flags),t.flags&=-33,null===e){if(Xr){if(a?Lo(t):Do(),Xr){var l,u=Jr;if(l=u){e:{for(l=u,u=eo;8!==l.nodeType;){if(!u){u=null;break e}if(null===(l=ud(l.nextSibling))){u=null;break e}}u=l}null!==u?(t.memoizedState={dehydrated:u,treeContext:null!==$r?{id:Hr,overflow:Wr}:null,retryLane:536870912},(l=Nl(18,null,null,0)).stateNode=u,l.return=t,t.child=l,Gr=t,Jr=null,l=!0):l=!1}l||no(t)}if(null!==(u=t.memoizedState)&&null!==(u=u.dehydrated))return"$!"===u.data?t.lanes=16:t.lanes=536870912,null;Fo(t)}return u=i.children,i=i.fallback,a?(Do(),u=us({mode:"hidden",children:u},a=t.mode),i=Bl(i,a,n,null),u.return=t,i.return=t,u.sibling=i,t.child=u,(a=t.child).memoizedState=is(n),a.childLanes=as(e,o,n),t.memoizedState=os,i):(Lo(t),ls(t,u))}if(null!==(l=e.memoizedState)&&null!==(u=l.dehydrated)){if(s)256&t.flags?(Lo(t),t.flags&=-257,t=cs(e,t,n)):null!==t.memoizedState?(Do(),t.child=e.child,t.flags|=128,t=null):(Do(),a=i.fallback,u=t.mode,i=us({mode:"visible",children:i.children},u),(a=Bl(a,u,n,null)).flags|=2,i.return=t,a.return=t,i.sibling=a,t.child=i,_o(t,e.child,null,n),(i=t.child).memoizedState=is(n),i.childLanes=as(e,o,n),t.memoizedState=os,t=a);else if(Lo(t),"$!"===u.data){if(o=u.nextSibling&&u.nextSibling.dataset)var c=o.dgst;o=c,(i=Error(r(419))).stack="",i.digest=o,so({value:i,source:null,stack:null}),t=cs(e,t,n)}else if(qa||_s(e,t,n,!1),o=!!(n&e.childLanes),qa||o){if(null!==(o=ru)){if(42&(i=n&-n))i=1;else switch(i){case 2:i=1;break;case 8:i=4;break;case 32:i=16;break;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:i=64;break;case 268435456:i=134217728;break;default:i=0}if(0!==(i=i&(o.suspendedLanes|n)?0:i)&&i!==l.retryLane)throw l.retryLane=i,Rr(e,i),Mu(o,e,i),Wa}"$?"===u.data||qu(),t=cs(e,t,n)}else"$?"===u.data?(t.flags|=128,t.child=e.child,t=uc.bind(null,e),u._reactRetry=t,t=null):(e=l.treeContext,Jr=ud(u.nextSibling),Gr=t,Xr=!0,Zr=null,eo=!1,null!==e&&(Vr[Br++]=Hr,Vr[Br++]=Wr,Vr[Br++]=$r,Hr=e.id,Wr=e.overflow,$r=t),(t=ls(t,i.children)).flags|=4096);return t}return a?(Do(),a=i.fallback,u=t.mode,c=(l=e.child).sibling,(i=zl(l,{mode:"hidden",children:i.children})).subtreeFlags=31457280&l.subtreeFlags,null!==c?a=zl(c,a):(a=Bl(a,u,n,null)).flags|=2,a.return=t,i.return=t,i.sibling=a,t.child=i,i=a,a=t.child,null===(u=e.child.memoizedState)?u=is(n):(null!==(l=u.cachePool)?(c=Bo._currentValue,l=l.parent!==c?{parent:c,pool:c}:l):l=ei(),u={baseLanes:u.baseLanes|n,cachePool:l}),a.memoizedState=u,a.childLanes=as(e,o,n),t.memoizedState=os,i):(Lo(t),e=(n=e.child).sibling,(n=zl(n,{mode:"visible",children:i.children})).return=t,n.sibling=null,null!==e&&(null===(o=t.deletions)?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=n,t.memoizedState=null,n)}function ls(e,t){return(t=us({mode:"visible",children:t},e.mode)).return=e,e.child=t}function us(e,t){return $l(e,t,0,null)}function cs(e,t,n){return _o(t,e.child,null,n),(e=ls(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function ds(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ss(e.return,t,n)}function fs(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 hs(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Ka(e,t,r.children,n),2&(r=No.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&&ds(e,n,t);else if(19===e.tag)ds(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}switch(G(No,r),o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===jo(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),fs(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===jo(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}fs(t,!0,n,null,i);break;case"together":fs(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ps(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),hu|=t.lanes,!(n&t.childLanes)){if(null===e)return null;if(_s(e,t,n,!1),!(n&t.childLanes))return null}if(null!==e&&t.child!==e.child)throw Error(r(153));if(null!==t.child){for(n=zl(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=zl(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function ms(e,t){return!!(e.lanes&t)||!(null===(e=e.dependencies)||!Cs(e))}function gs(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps)qa=!0;else{if(!(ms(e,n)||128&t.flags))return qa=!1,function(e,t,n){switch(t.tag){case 3:te(t,t.stateNode.containerInfo),ws(t,Bo,e.memoizedState.cache),ao();break;case 27:case 5:re(t);break;case 4:te(t,t.stateNode.containerInfo);break;case 10:ws(t,t.type,t.memoizedProps.value);break;case 13:var r=t.memoizedState;if(null!==r)return null!==r.dehydrated?(Lo(t),t.flags|=128,null):n&t.child.childLanes?ss(e,t,n):(Lo(t),null!==(e=ps(e,t,n))?e.sibling:null);Lo(t);break;case 19:var o=!!(128&e.flags);if((r=!!(n&t.childLanes))||(_s(e,t,n,!1),r=!!(n&t.childLanes)),o){if(r)return hs(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),G(No,No.current),r)break;return null;case 22:case 23:return t.lanes=0,Ja(e,t,n);case 24:ws(t,Bo,e.memoizedState.cache)}return ps(e,t,n)}(e,t,n);qa=!!(131072&e.flags)}else qa=!1,Xr&&1048576&t.flags&&Kr(t,Ur,t.index);switch(t.lanes=0,t.tag){case 16:e:{e=t.pendingProps;var o=t.elementType,i=o._init;if(o=i(o._payload),t.type=o,"function"!=typeof o){if(null!=o){if((i=o.$$typeof)===p){t.tag=11,t=Qa(null,t,o,e,n);break e}if(i===v){t.tag=14,t=Ya(null,t,o,e,n);break e}}throw t=T(o)||o,Error(r(306,t,""))}jl(o)?(e=Da(o,e),t.tag=1,t=ns(null,t,o,e,n)):(t.tag=0,t=es(null,t,o,e,n))}return t;case 0:return es(e,t,t.type,t.pendingProps,n);case 1:return ns(e,t,o=t.type,i=Da(o,t.pendingProps),n);case 3:e:{if(te(t,t.stateNode.containerInfo),null===e)throw Error(r(387));var a=t.pendingProps;o=(i=t.memoizedState).element,Is(e,t),zs(t,a,null,n);var s=t.memoizedState;if(a=s.cache,ws(t,Bo,a),a!==i.cache&&xs(t,[Bo],n,!0),js(),a=s.element,i.isDehydrated){if(i={element:a,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=rs(e,t,a,n);break e}if(a!==o){so(o=Fr(Error(r(424)),t)),t=rs(e,t,a,n);break e}for(Jr=ud(t.stateNode.containerInfo.firstChild),Gr=t,Xr=!0,Zr=null,eo=!0,n=Co(t,null,a,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(ao(),a===o){t=ps(e,t,n);break e}Ka(e,t,a,n)}t=t.child}return t;case 26:return Za(e,t),null===e?(n=vd(t.type,null,t.pendingProps,null))?t.memoizedState=n:Xr||(n=t.type,e=t.pendingProps,(o=Jc(Z.current).createElement(n))[Ue]=t,o[Ve]=e,Qc(o,n,e),Ze(o),t.stateNode=o):t.memoizedState=vd(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return re(t),null===e&&Xr&&(o=t.stateNode=dd(t.type,t.pendingProps,Z.current),Gr=t,eo=!0,Jr=ud(o.firstChild)),o=t.pendingProps.children,null!==e||Xr?Ka(e,t,o,n):t.child=_o(t,null,o,n),Za(e,t),t.child;case 5:return null===e&&Xr&&((i=o=Jr)&&(o=function(e,t,n,r){for(;1===e.nodeType;){var o=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(r){if(!e[Ke])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(i=e.getAttribute("rel"))&&e.hasAttribute("data-precedence"))break;if(i!==o.rel||e.getAttribute("href")!==(null==o.href?null:o.href)||e.getAttribute("crossorigin")!==(null==o.crossOrigin?null:o.crossOrigin)||e.getAttribute("title")!==(null==o.title?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((i=e.getAttribute("src"))!==(null==o.src?null:o.src)||e.getAttribute("type")!==(null==o.type?null:o.type)||e.getAttribute("crossorigin")!==(null==o.crossOrigin?null:o.crossOrigin))&&i&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else{if("input"!==t||"hidden"!==e.type)return e;var i=null==o.name?null:""+o.name;if("hidden"===o.type&&e.getAttribute("name")===i)return e}if(null===(e=ud(e.nextSibling)))break}return null}(o,t.type,t.pendingProps,eo),null!==o?(t.stateNode=o,Gr=t,Jr=ud(o.firstChild),eo=!1,i=!0):i=!1),i||no(t)),re(t),i=t.type,a=t.pendingProps,s=null!==e?e.memoizedProps:null,o=a.children,ed(i,a)?o=null:null!==s&&ed(i,s)&&(t.flags|=32),null!==t.memoizedState&&(i=pi(e,t,yi,null,null,n),jd._currentValue=i),Za(e,t),Ka(e,t,o,n),t.child;case 6:return null===e&&Xr&&((e=n=Jr)&&(n=function(e,t,n){if(""===t)return null;for(;3!==e.nodeType;){if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!n)return null;if(null===(e=ud(e.nextSibling)))return null}return e}(n,t.pendingProps,eo),null!==n?(t.stateNode=n,Gr=t,Jr=null,e=!0):e=!1),e||no(t)),null;case 13:return ss(e,t,n);case 4:return te(t,t.stateNode.containerInfo),o=t.pendingProps,null===e?t.child=_o(t,null,o,n):Ka(e,t,o,n),t.child;case 11:return Qa(e,t,t.type,t.pendingProps,n);case 7:return Ka(e,t,t.pendingProps,n),t.child;case 8:case 12:return Ka(e,t,t.pendingProps.children,n),t.child;case 10:return o=t.pendingProps,ws(t,t.type,o.value),Ka(e,t,o.children,n),t.child;case 9:return i=t.type._context,o=t.pendingProps.children,Es(t),o=o(i=Ts(i)),t.flags|=1,Ka(e,t,o,n),t.child;case 14:return Ya(e,t,t.type,t.pendingProps,n);case 15:return Ga(e,t,t.type,t.pendingProps,n);case 19:return hs(e,t,n);case 22:return Ja(e,t,n);case 24:return Es(t),o=Ts(Bo),null===e?(null===(i=Xo())&&(i=ru,a=$o(),i.pooledCache=a,a.refCount++,null!==a&&(i.pooledCacheLanes|=n),i=a),t.memoizedState={parent:o,cache:i},Rs(t),ws(t,Bo,i)):(!!(e.lanes&n)&&(Is(e,t),zs(t,null,null,n),js()),i=e.memoizedState,a=t.memoizedState,i.parent!==o?(i={parent:o,cache:o},t.memoizedState=i,0===t.lanes&&(t.memoizedState=t.updateQueue.baseState=i),ws(t,Bo,o)):(o=a.cache,ws(t,Bo,o),o!==i.cache&&xs(t,[Bo],n,!0))),Ka(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(r(156,t.tag))}var ys=Q(null),vs=null,bs=null;function ws(e,t,n){G(ys,t._currentValue),t._currentValue=n}function ks(e){e._currentValue=ys.current,Y(ys)}function Ss(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 xs(e,t,n,o){var i=e.child;for(null!==i&&(i.return=e);null!==i;){var a=i.dependencies;if(null!==a){var s=i.child;a=a.firstContext;e:for(;null!==a;){var l=a;a=i;for(var u=0;u<t.length;u++)if(l.context===t[u]){a.lanes|=n,null!==(l=a.alternate)&&(l.lanes|=n),Ss(a.return,n,e),o||(s=null);break e}a=l.next}}else if(18===i.tag){if(null===(s=i.return))throw Error(r(341));s.lanes|=n,null!==(a=s.alternate)&&(a.lanes|=n),Ss(s,n,e),s=null}else s=i.child;if(null!==s)s.return=i;else for(s=i;null!==s;){if(s===e){s=null;break}if(null!==(i=s.sibling)){i.return=s.return,s=i;break}s=s.return}i=s}}function _s(e,t,n,o){e=null;for(var i=t,a=!1;null!==i;){if(!a)if(524288&i.flags)a=!0;else if(262144&i.flags)break;if(10===i.tag){var s=i.alternate;if(null===s)throw Error(r(387));if(null!==(s=s.memoizedProps)){var l=i.type;Gn(i.pendingProps.value,s.value)||(null!==e?e.push(l):e=[l])}}else if(i===ee.current){if(null===(s=i.alternate))throw Error(r(387));s.memoizedState.memoizedState!==i.memoizedState.memoizedState&&(null!==e?e.push(jd):e=[jd])}i=i.return}null!==e&&xs(t,e,n,o),t.flags|=262144}function Cs(e){for(e=e.firstContext;null!==e;){if(!Gn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Es(e){vs=e,bs=null,null!==(e=e.dependencies)&&(e.firstContext=null)}function Ts(e){return Ps(vs,e)}function As(e,t){return null===vs&&Es(e),Ps(e,t)}function Ps(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},null===bs){if(null===e)throw Error(r(308));bs=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else bs=bs.next=t;return n}var Os=!1;function Rs(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Is(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ls(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Ms(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&nu){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,t=Lr(e),Ir(e,null,n),t}return Pr(e,r,t,n),Lr(e)}function Ds(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194176&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Fe(e,n)}}function Fs(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={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,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,callbacks:r.callbacks},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Ns=!1;function js(){if(Ns&&null!==Qo)throw Qo}function zs(e,t,n,r){Ns=!1;var o=e.updateQueue;Os=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var l=s,u=l.next;l.next=null,null===a?i=u:a.next=u,a=l;var c=e.alternate;null!==c&&(s=(c=c.updateQueue).lastBaseUpdate)!==a&&(null===s?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l)}if(null!==i){var d=o.baseState;for(a=0,c=u=l=null,s=i;;){var f=-536870913&s.lane,h=f!==s.lane;if(h?(iu&f)===f:(r&f)===f){0!==f&&f===Ko&&(Ns=!0),null!==c&&(c=c.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});e:{var p=e,m=s;f=t;var g=n;switch(m.tag){case 1:if("function"==typeof(p=m.payload)){d=p.call(g,d,f);break e}d=p;break e;case 3:p.flags=-65537&p.flags|128;case 0:if(null==(f="function"==typeof(p=m.payload)?p.call(g,d,f):p))break e;d=I({},d,f);break e;case 2:Os=!0}}null!==(f=s.callback)&&(e.flags|=64,h&&(e.flags|=8192),null===(h=o.callbacks)?o.callbacks=[f]:h.push(f))}else h={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===c?(u=c=h,l=d):c=c.next=h,a|=f;if(null===(s=s.next)){if(null===(s=o.shared.pending))break;s=(h=s).next,h.next=null,o.lastBaseUpdate=h,o.shared.pending=null}}null===c&&(l=d),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=c,null===i&&(o.shared.lanes=0),hu|=a,e.lanes=a,e.memoizedState=d}}function Us(e,t){if("function"!=typeof e)throw Error(r(191,e));e.call(t)}function Vs(e,t){var n=e.callbacks;if(null!==n)for(e.callbacks=null,e=0;e<n.length;e++)Us(n[e],t)}function Bs(e,t){try{var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var o=r.next;n=o;do{if((n.tag&e)===e){r=void 0;var i=n.create,a=n.inst;r=i(),a.destroy=r}n=n.next}while(n!==o)}}catch(e){ic(t,t.return,e)}}function $s(e,t,n){try{var r=t.updateQueue,o=null!==r?r.lastEffect:null;if(null!==o){var i=o.next;r=i;do{if((r.tag&e)===e){var a=r.inst,s=a.destroy;if(void 0!==s){a.destroy=void 0,o=t;var l=n;try{s()}catch(e){ic(o,l,e)}}}r=r.next}while(r!==i)}}catch(e){ic(t,t.return,e)}}function Hs(e){var t=e.updateQueue;if(null!==t){var n=e.stateNode;try{Vs(t,n)}catch(t){ic(e,e.return,t)}}}function Ws(e,t,n){n.props=Da(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){ic(e,t,n)}}function qs(e,t){try{var n=e.ref;if(null!==n){var r=e.stateNode;switch(e.tag){case 26:case 27:case 5:var o=r;break;default:o=r}"function"==typeof n?e.refCleanup=n(o):n.current=o}}catch(n){ic(e,t,n)}}function Ks(e,t){var n=e.ref,r=e.refCleanup;if(null!==n)if("function"==typeof r)try{r()}catch(n){ic(e,t,n)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"==typeof n)try{n(null)}catch(n){ic(e,t,n)}else n.current=null}function Qs(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&r.focus();break e;case"img":n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){ic(e,e.return,t)}}function Ys(e,t,n){try{var o=e.stateNode;!function(e,t,n,o){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var i=null,a=null,s=null,l=null,u=null,c=null,d=null;for(p in n){var f=n[p];if(n.hasOwnProperty(p)&&null!=f)switch(p){case"checked":case"value":break;case"defaultValue":u=f;default:o.hasOwnProperty(p)||qc(e,t,p,null,o,f)}}for(var h in o){var p=o[h];if(f=n[h],o.hasOwnProperty(h)&&(null!=p||null!=f))switch(h){case"type":a=p;break;case"name":i=p;break;case"checked":c=p;break;case"defaultChecked":d=p;break;case"value":s=p;break;case"defaultValue":l=p;break;case"children":case"dangerouslySetInnerHTML":if(null!=p)throw Error(r(137,t));break;default:p!==f&&qc(e,t,h,p,o,f)}}return void vt(e,s,l,u,c,d,a,i);case"select":for(a in p=s=l=h=null,n)if(u=n[a],n.hasOwnProperty(a)&&null!=u)switch(a){case"value":break;case"multiple":p=u;default:o.hasOwnProperty(a)||qc(e,t,a,null,o,u)}for(i in o)if(a=o[i],u=n[i],o.hasOwnProperty(i)&&(null!=a||null!=u))switch(i){case"value":h=a;break;case"defaultValue":l=a;break;case"multiple":s=a;default:a!==u&&qc(e,t,i,a,o,u)}return t=l,n=s,o=p,void(null!=h?kt(e,!!n,h,!1):!!o!=!!n&&(null!=t?kt(e,!!n,t,!0):kt(e,!!n,n?[]:"",!1)));case"textarea":for(l in p=h=null,n)if(i=n[l],n.hasOwnProperty(l)&&null!=i&&!o.hasOwnProperty(l))switch(l){case"value":case"children":break;default:qc(e,t,l,null,o,i)}for(s in o)if(i=o[s],a=n[s],o.hasOwnProperty(s)&&(null!=i||null!=a))switch(s){case"value":h=i;break;case"defaultValue":p=i;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=i)throw Error(r(91));break;default:i!==a&&qc(e,t,s,i,o,a)}return void St(e,h,p);case"option":for(var m in n)h=n[m],n.hasOwnProperty(m)&&null!=h&&!o.hasOwnProperty(m)&&("selected"===m?e.selected=!1:qc(e,t,m,null,o,h));for(u in o)h=o[u],p=n[u],!o.hasOwnProperty(u)||h===p||null==h&&null==p||("selected"===u?e.selected=h&&"function"!=typeof h&&"symbol"!=typeof h:qc(e,t,u,h,o,p));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var g in n)h=n[g],n.hasOwnProperty(g)&&null!=h&&!o.hasOwnProperty(g)&&qc(e,t,g,null,o,h);for(c in o)if(h=o[c],p=n[c],o.hasOwnProperty(c)&&h!==p&&(null!=h||null!=p))switch(c){case"children":case"dangerouslySetInnerHTML":if(null!=h)throw Error(r(137,t));break;default:qc(e,t,c,h,o,p)}return;default:if(At(t)){for(var y in n)h=n[y],n.hasOwnProperty(y)&&void 0!==h&&!o.hasOwnProperty(y)&&Kc(e,t,y,void 0,o,h);for(d in o)h=o[d],p=n[d],!o.hasOwnProperty(d)||h===p||void 0===h&&void 0===p||Kc(e,t,d,h,o,p);return}}for(var v in n)h=n[v],n.hasOwnProperty(v)&&null!=h&&!o.hasOwnProperty(v)&&qc(e,t,v,null,o,h);for(f in o)h=o[f],p=n[f],!o.hasOwnProperty(f)||h===p||null==h&&null==p||qc(e,t,f,h,o,p)}(o,e.type,n,t),o[Ve]=t}catch(t){ic(e,e.return,t)}}function Gs(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag||4===e.tag}function Js(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||Gs(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&27!==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 Xs(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=Wc));else if(4!==r&&27!==r&&null!==(e=e.child))for(Xs(e,t,n),e=e.sibling;null!==e;)Xs(e,t,n),e=e.sibling}function Zs(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&&27!==r&&null!==(e=e.child))for(Zs(e,t,n),e=e.sibling;null!==e;)Zs(e,t,n),e=e.sibling}var el=!1,tl=!1,nl=!1,rl="function"==typeof WeakSet?WeakSet:Set,ol=null,il=!1;function al(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:bl(e,n),4&r&&Bs(5,n);break;case 1:if(bl(e,n),4&r)if(e=n.stateNode,null===t)try{e.componentDidMount()}catch(e){ic(n,n.return,e)}else{var o=Da(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(o,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){ic(n,n.return,e)}}64&r&&Hs(n),512&r&&qs(n,n.return);break;case 3:if(bl(e,n),64&r&&null!==(r=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 27:case 5:case 1:e=n.child.stateNode}try{Vs(r,e)}catch(e){ic(n,n.return,e)}}break;case 26:bl(e,n),512&r&&qs(n,n.return);break;case 27:case 5:bl(e,n),null===t&&4&r&&Qs(n),512&r&&qs(n,n.return);break;case 12:default:bl(e,n);break;case 13:bl(e,n),4&r&&fl(e,n);break;case 22:if(!(o=null!==n.memoizedState||el)){t=null!==t&&null!==t.memoizedState||tl;var i=el,a=tl;el=o,(tl=t)&&!a?kl(e,n,!!(8772&n.subtreeFlags)):bl(e,n),el=i,tl=a}512&r&&("manual"===n.memoizedProps.mode?qs(n,n.return):Ks(n,n.return))}}function sl(e){var t=e.alternate;null!==t&&(e.alternate=null,sl(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&Qe(t),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var ll=null,ul=!1;function cl(e,t,n){for(n=n.child;null!==n;)dl(e,t,n),n=n.sibling}function dl(e,t,n){if(we&&"function"==typeof we.onCommitFiberUnmount)try{we.onCommitFiberUnmount(be,n)}catch(e){}switch(n.tag){case 26:tl||Ks(n,t),cl(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode).parentNode.removeChild(n);break;case 27:tl||Ks(n,t);var r=ll,o=ul;for(ll=n.stateNode,cl(e,t,n),t=(n=n.stateNode).attributes;t.length;)n.removeAttributeNode(t[0]);Qe(n),ll=r,ul=o;break;case 5:tl||Ks(n,t);case 6:o=ll;var i=ul;if(ll=null,cl(e,t,n),ul=i,null!==(ll=o))if(ul)try{e=ll,r=n.stateNode,8===e.nodeType?e.parentNode.removeChild(r):e.removeChild(r)}catch(e){ic(n,t,e)}else try{ll.removeChild(n.stateNode)}catch(e){ic(n,t,e)}break;case 18:null!==ll&&(ul?(t=ll,n=n.stateNode,8===t.nodeType?sd(t.parentNode,n):1===t.nodeType&&sd(t,n),vf(t)):sd(ll,n.stateNode));break;case 4:r=ll,o=ul,ll=n.stateNode.containerInfo,ul=!0,cl(e,t,n),ll=r,ul=o;break;case 0:case 11:case 14:case 15:tl||$s(2,n,t),tl||$s(4,n,t),cl(e,t,n);break;case 1:tl||(Ks(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount&&Ws(n,t,r)),cl(e,t,n);break;case 21:cl(e,t,n);break;case 22:tl||Ks(n,t),tl=(r=tl)||null!==n.memoizedState,cl(e,t,n),tl=r;break;default:cl(e,t,n)}}function fl(e,t){if(null===t.memoizedState&&null!==(e=t.alternate)&&null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))try{vf(e)}catch(e){ic(t,t.return,e)}}function hl(e,t){var n=function(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return null===t&&(t=e.stateNode=new rl),t;case 22:return null===(t=(e=e.stateNode)._retryCache)&&(t=e._retryCache=new rl),t;default:throw Error(r(435,e.tag))}}(e);t.forEach((t=>{var r=cc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}function pl(e,t){var n=t.deletions;if(null!==n)for(var o=0;o<n.length;o++){var i=n[o],a=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 27:case 5:ll=l.stateNode,ul=!1;break e;case 3:case 4:ll=l.stateNode.containerInfo,ul=!0;break e}l=l.return}if(null===ll)throw Error(r(160));dl(a,s,i),ll=null,ul=!1,null!==(a=i.alternate)&&(a.return=null),i.return=null}if(13878&t.subtreeFlags)for(t=t.child;null!==t;)gl(t,e),t=t.sibling}var ml=null;function gl(e,t){var n=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:pl(t,e),yl(e),4&o&&($s(3,e,e.return),Bs(3,e),$s(5,e,e.return));break;case 1:pl(t,e),yl(e),512&o&&(tl||null===n||Ks(n,n.return)),64&o&&el&&null!==(e=e.updateQueue)&&null!==(o=e.callbacks)&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=null===n?o:n.concat(o));break;case 26:var i=ml;if(pl(t,e),yl(e),512&o&&(tl||null===n||Ks(n,n.return)),4&o){var a=null!==n?n.memoizedState:null;if(o=e.memoizedState,null===n)if(null===o)if(null===e.stateNode){e:{o=e.type,n=e.memoizedProps,i=i.ownerDocument||i;t:switch(o){case"title":(!(a=i.getElementsByTagName("title")[0])||a[Ke]||a[Ue]||"http://www.w3.org/2000/svg"===a.namespaceURI||a.hasAttribute("itemprop"))&&(a=i.createElement(o),i.head.insertBefore(a,i.querySelector("head > title"))),Qc(a,o,n),a[Ue]=e,Ze(a),o=a;break e;case"link":var s=Pd("link","href",i).get(o+(n.href||""));if(s)for(var l=0;l<s.length;l++)if((a=s[l]).getAttribute("href")===(null==n.href?null:n.href)&&a.getAttribute("rel")===(null==n.rel?null:n.rel)&&a.getAttribute("title")===(null==n.title?null:n.title)&&a.getAttribute("crossorigin")===(null==n.crossOrigin?null:n.crossOrigin)){s.splice(l,1);break t}Qc(a=i.createElement(o),o,n),i.head.appendChild(a);break;case"meta":if(s=Pd("meta","content",i).get(o+(n.content||"")))for(l=0;l<s.length;l++)if((a=s[l]).getAttribute("content")===(null==n.content?null:""+n.content)&&a.getAttribute("name")===(null==n.name?null:n.name)&&a.getAttribute("property")===(null==n.property?null:n.property)&&a.getAttribute("http-equiv")===(null==n.httpEquiv?null:n.httpEquiv)&&a.getAttribute("charset")===(null==n.charSet?null:n.charSet)){s.splice(l,1);break t}Qc(a=i.createElement(o),o,n),i.head.appendChild(a);break;default:throw Error(r(468,o))}a[Ue]=e,Ze(a),o=a}e.stateNode=o}else Od(i,e.type,e.stateNode);else e.stateNode=_d(i,o,e.memoizedProps);else a!==o?(null===a?null!==n.stateNode&&(n=n.stateNode).parentNode.removeChild(n):a.count--,null===o?Od(i,e.type,e.stateNode):_d(i,o,e.memoizedProps)):null===o&&null!==e.stateNode&&Ys(e,e.memoizedProps,n.memoizedProps)}break;case 27:if(4&o&&null===e.alternate){i=e.stateNode,a=e.memoizedProps;try{for(var u=i.firstChild;u;){var c=u.nextSibling,d=u.nodeName;u[Ke]||"HEAD"===d||"BODY"===d||"SCRIPT"===d||"STYLE"===d||"LINK"===d&&"stylesheet"===u.rel.toLowerCase()||i.removeChild(u),u=c}for(var f=e.type,h=i.attributes;h.length;)i.removeAttributeNode(h[0]);Qc(i,f,a),i[Ue]=e,i[Ve]=a}catch(t){ic(e,e.return,t)}}case 5:if(pl(t,e),yl(e),512&o&&(tl||null===n||Ks(n,n.return)),32&e.flags){i=e.stateNode;try{_t(i,"")}catch(t){ic(e,e.return,t)}}4&o&&null!=e.stateNode&&Ys(e,i=e.memoizedProps,null!==n?n.memoizedProps:i),1024&o&&(nl=!0);break;case 6:if(pl(t,e),yl(e),4&o){if(null===e.stateNode)throw Error(r(162));o=e.memoizedProps,n=e.stateNode;try{n.nodeValue=o}catch(t){ic(e,e.return,t)}}break;case 3:if(Ad=null,i=ml,ml=pd(t.containerInfo),pl(t,e),ml=i,yl(e),4&o&&null!==n&&n.memoizedState.isDehydrated)try{vf(t.containerInfo)}catch(t){ic(e,e.return,t)}nl&&(nl=!1,vl(e));break;case 4:o=ml,ml=pd(e.stateNode.containerInfo),pl(t,e),yl(e),ml=o;break;case 12:pl(t,e),yl(e);break;case 13:pl(t,e),yl(e),8192&e.child.flags&&null!==e.memoizedState!=(null!==n&&null!==n.memoizedState)&&(ku=ce()),4&o&&null!==(o=e.updateQueue)&&(e.updateQueue=null,hl(e,o));break;case 22:if(512&o&&(tl||null===n||Ks(n,n.return)),u=null!==e.memoizedState,c=null!==n&&null!==n.memoizedState,el=(d=el)||u,tl=(f=tl)||c,pl(t,e),tl=f,el=d,yl(e),(t=e.stateNode)._current=e,t._visibility&=-3,t._visibility|=2&t._pendingVisibility,8192&o&&(t._visibility=u?-2&t._visibility:1|t._visibility,u&&(t=el||tl,null===n||c||t||wl(e)),null===e.memoizedProps||"manual"!==e.memoizedProps.mode))e:for(n=null,t=e;;){if(5===t.tag||26===t.tag||27===t.tag){if(null===n){c=n=t;try{if(i=c.stateNode,u)"function"==typeof(a=i.style).setProperty?a.setProperty("display","none","important"):a.display="none";else{s=c.stateNode;var p=null!=(l=c.memoizedProps.style)&&l.hasOwnProperty("display")?l.display:null;s.style.display=null==p||"boolean"==typeof p?"":(""+p).trim()}}catch(e){ic(c,c.return,e)}}}else if(6===t.tag){if(null===n){c=t;try{c.stateNode.nodeValue=u?"":c.memoizedProps}catch(e){ic(c,c.return,e)}}}else if((22!==t.tag&&23!==t.tag||null===t.memoizedState||t===e)&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;null===t.sibling;){if(null===t.return||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}4&o&&null!==(o=e.updateQueue)&&null!==(n=o.retryQueue)&&(o.retryQueue=null,hl(e,n));break;case 19:pl(t,e),yl(e),4&o&&null!==(o=e.updateQueue)&&(e.updateQueue=null,hl(e,o));break;case 21:break;default:pl(t,e),yl(e)}}function yl(e){var t=e.flags;if(2&t){try{if(27!==e.tag){e:{for(var n=e.return;null!==n;){if(Gs(n)){var o=n;break e}n=n.return}throw Error(r(160))}switch(o.tag){case 27:var i=o.stateNode;Zs(e,Js(e),i);break;case 5:var a=o.stateNode;32&o.flags&&(_t(a,""),o.flags&=-33),Zs(e,Js(e),a);break;case 3:case 4:var s=o.stateNode.containerInfo;Xs(e,Js(e),s);break;default:throw Error(r(161))}}}catch(t){ic(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function vl(e){if(1024&e.subtreeFlags)for(e=e.child;null!==e;){var t=e;vl(t),5===t.tag&&1024&t.flags&&t.stateNode.reset(),e=e.sibling}}function bl(e,t){if(8772&t.subtreeFlags)for(t=t.child;null!==t;)al(e,t.alternate,t),t=t.sibling}function wl(e){for(e=e.child;null!==e;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:$s(4,t,t.return),wl(t);break;case 1:Ks(t,t.return);var n=t.stateNode;"function"==typeof n.componentWillUnmount&&Ws(t,t.return,n),wl(t);break;case 26:case 27:case 5:Ks(t,t.return),wl(t);break;case 22:Ks(t,t.return),null===t.memoizedState&&wl(t);break;default:wl(t)}e=e.sibling}}function kl(e,t,n){for(n=n&&!!(8772&t.subtreeFlags),t=t.child;null!==t;){var r=t.alternate,o=e,i=t,a=i.flags;switch(i.tag){case 0:case 11:case 15:kl(o,i,n),Bs(4,i);break;case 1:if(kl(o,i,n),"function"==typeof(o=(r=i).stateNode).componentDidMount)try{o.componentDidMount()}catch(e){ic(r,r.return,e)}if(null!==(o=(r=i).updateQueue)){var s=r.stateNode;try{var l=o.shared.hiddenCallbacks;if(null!==l)for(o.shared.hiddenCallbacks=null,o=0;o<l.length;o++)Us(l[o],s)}catch(e){ic(r,r.return,e)}}n&&64&a&&Hs(i),qs(i,i.return);break;case 26:case 27:case 5:kl(o,i,n),n&&null===r&&4&a&&Qs(i),qs(i,i.return);break;case 12:default:kl(o,i,n);break;case 13:kl(o,i,n),n&&4&a&&fl(o,i);break;case 22:null===i.memoizedState&&kl(o,i,n),qs(i,i.return)}t=t.sibling}}function Sl(e,t){var n=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),e=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(e=t.memoizedState.cachePool.pool),e!==n&&(null!=e&&e.refCount++,null!=n&&Ho(n))}function xl(e,t){e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&Ho(e))}function _l(e,t,n,r){if(10256&t.subtreeFlags)for(t=t.child;null!==t;)Cl(e,t,n,r),t=t.sibling}function Cl(e,t,n,r){var o=t.flags;switch(t.tag){case 0:case 11:case 15:_l(e,t,n,r),2048&o&&Bs(9,t);break;case 3:_l(e,t,n,r),2048&o&&(e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&Ho(e)));break;case 12:if(2048&o){_l(e,t,n,r),e=t.stateNode;try{var i=t.memoizedProps,a=i.id,s=i.onPostCommit;"function"==typeof s&&s(a,null===t.alternate?"mount":"update",e.passiveEffectDuration,-0)}catch(e){ic(t,t.return,e)}}else _l(e,t,n,r);break;case 23:break;case 22:i=t.stateNode,null!==t.memoizedState?4&i._visibility?_l(e,t,n,r):Tl(e,t):4&i._visibility?_l(e,t,n,r):(i._visibility|=4,El(e,t,n,r,!!(10256&t.subtreeFlags))),2048&o&&Sl(t.alternate,t);break;case 24:_l(e,t,n,r),2048&o&&xl(t.alternate,t);break;default:_l(e,t,n,r)}}function El(e,t,n,r,o){for(o=o&&!!(10256&t.subtreeFlags),t=t.child;null!==t;){var i=e,a=t,s=n,l=r,u=a.flags;switch(a.tag){case 0:case 11:case 15:El(i,a,s,l,o),Bs(8,a);break;case 23:break;case 22:var c=a.stateNode;null!==a.memoizedState?4&c._visibility?El(i,a,s,l,o):Tl(i,a):(c._visibility|=4,El(i,a,s,l,o)),o&&2048&u&&Sl(a.alternate,a);break;case 24:El(i,a,s,l,o),o&&2048&u&&xl(a.alternate,a);break;default:El(i,a,s,l,o)}t=t.sibling}}function Tl(e,t){if(10256&t.subtreeFlags)for(t=t.child;null!==t;){var n=e,r=t,o=r.flags;switch(r.tag){case 22:Tl(n,r),2048&o&&Sl(r.alternate,r);break;case 24:Tl(n,r),2048&o&&xl(r.alternate,r);break;default:Tl(n,r)}t=t.sibling}}var Al=8192;function Pl(e){if(e.subtreeFlags&Al)for(e=e.child;null!==e;)Ol(e),e=e.sibling}function Ol(e){switch(e.tag){case 26:Pl(e),e.flags&Al&&null!==e.memoizedState&&function(e,t,n){if(null===Id)throw Error(r(475));var o=Id;if(!("stylesheet"!==t.type||"string"==typeof n.media&&!1===matchMedia(n.media).matches||4&t.state.loading)){if(null===t.instance){var i=bd(n.href),a=e.querySelector(wd(i));if(a)return null!==(e=a._p)&&"object"==typeof e&&"function"==typeof e.then&&(o.count++,o=Md.bind(o),e.then(o,o)),t.state.loading|=4,t.instance=a,void Ze(a);a=e.ownerDocument||e,n=kd(n),(i=fd.get(i))&&Ed(n,i),Ze(a=a.createElement("link"));var s=a;s._p=new Promise(((e,t)=>{s.onload=e,s.onerror=t})),Qc(a,"link",n),t.instance=a}null===o.stylesheets&&(o.stylesheets=new Map),o.stylesheets.set(t,e),(e=t.state.preload)&&!(3&t.state.loading)&&(o.count++,t=Md.bind(o),e.addEventListener("load",t),e.addEventListener("error",t))}}(ml,e.memoizedState,e.memoizedProps);break;case 5:default:Pl(e);break;case 3:case 4:var t=ml;ml=pd(e.stateNode.containerInfo),Pl(e),ml=t;break;case 22:null===e.memoizedState&&(null!==(t=e.alternate)&&null!==t.memoizedState?(t=Al,Al=16777216,Pl(e),Al=t):Pl(e))}}function Rl(e){var t=e.alternate;if(null!==t&&null!==(e=t.child)){t.child=null;do{t=e.sibling,e.sibling=null,e=t}while(null!==e)}}function Il(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];ol=r,Dl(r,e)}Rl(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)Ll(e),e=e.sibling}function Ll(e){switch(e.tag){case 0:case 11:case 15:Il(e),2048&e.flags&&$s(9,e,e.return);break;case 3:case 12:default:Il(e);break;case 22:var t=e.stateNode;null!==e.memoizedState&&4&t._visibility&&(null===e.return||13!==e.return.tag)?(t._visibility&=-5,Ml(e)):Il(e)}}function Ml(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];ol=r,Dl(r,e)}Rl(e)}for(e=e.child;null!==e;){switch((t=e).tag){case 0:case 11:case 15:$s(8,t,t.return),Ml(t);break;case 22:4&(n=t.stateNode)._visibility&&(n._visibility&=-5,Ml(t));break;default:Ml(t)}e=e.sibling}}function Dl(e,t){for(;null!==ol;){var n=ol;switch(n.tag){case 0:case 11:case 15:$s(8,n,t);break;case 23:case 22:if(null!==n.memoizedState&&null!==n.memoizedState.cachePool){var r=n.memoizedState.cachePool.pool;null!=r&&r.refCount++}break;case 24:Ho(n.memoizedState.cache)}if(null!==(r=n.child))r.return=n,ol=r;else e:for(n=e;null!==ol;){var o=(r=ol).sibling,i=r.return;if(sl(r),r===n){ol=null;break e}if(null!==o){o.return=i,ol=o;break e}ol=i}}}function Fl(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.refCleanup=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 Nl(e,t,n,r){return new Fl(e,t,n,r)}function jl(e){return!(!(e=e.prototype)||!e.isReactComponent)}function zl(e,t){var n=e.alternate;return null===n?((n=Nl(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=31457280&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.refCleanup=e.refCleanup,n}function Ul(e,t){e.flags&=31457282;var n=e.alternate;return null===n?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Vl(e,t,n,o,i,a){var s=0;if(o=e,"function"==typeof e)jl(e)&&(s=1);else if("string"==typeof e)s=function(e,t,n){if(1===n||null!=t.itemProp)return!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!=typeof t.precedence||"string"!=typeof t.href||""===t.href)break;return!0;case"link":if("string"!=typeof t.rel||"string"!=typeof t.href||""===t.href||t.onLoad||t.onError)break;return"stylesheet"!==t.rel||(e=t.disabled,"string"==typeof t.precedence&&null==e);case"script":if(t.async&&"function"!=typeof t.async&&"symbol"!=typeof t.async&&!t.onLoad&&!t.onError&&t.src&&"string"==typeof t.src)return!0}return!1}(e,n,J.current)?26:"html"===e||"head"===e||"body"===e?27:5;else e:switch(e){case l:return Bl(n.children,i,a,t);case u:s=8,i|=24;break;case c:return(e=Nl(12,n,t,2|i)).elementType=c,e.lanes=a,e;case g:return(e=Nl(13,n,t,i)).elementType=g,e.lanes=a,e;case y:return(e=Nl(19,n,t,i)).elementType=y,e.lanes=a,e;case w:return $l(n,i,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case d:case h:s=10;break e;case f:s=9;break e;case p:s=11;break e;case v:s=14;break e;case b:s=16,o=null;break e}s=29,n=Error(r(130,null===e?"null":typeof e,"")),o=null}return(t=Nl(s,n,t,i)).elementType=e,t.type=o,t.lanes=a,t}function Bl(e,t,n,r){return(e=Nl(7,e,r,t)).lanes=n,e}function $l(e,t,n,o){(e=Nl(22,e,o,t)).elementType=w,e.lanes=n;var i={_visibility:1,_pendingVisibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null,_current:null,detach:()=>{var e=i._current;if(null===e)throw Error(r(456));if(!(2&i._pendingVisibility)){var t=Rr(e,2);null!==t&&(i._pendingVisibility|=2,Mu(t,e,2))}},attach:()=>{var e=i._current;if(null===e)throw Error(r(456));if(2&i._pendingVisibility){var t=Rr(e,2);null!==t&&(i._pendingVisibility&=-3,Mu(t,e,2))}}};return e.stateNode=i,e}function Hl(e,t,n){return(e=Nl(6,e,null,t)).lanes=n,e}function Wl(e,t,n){return(t=Nl(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ql(e){e.flags|=4}function Kl(e,t){if("stylesheet"!==t.type||4&t.state.loading)e.flags&=-16777217;else if(e.flags|=16777216,!Rd(t)){if(null!==(t=Ro.current)&&((4194176&iu)===iu?null!==Io:(62914560&iu)!==iu&&!(536870912&iu)||t!==Io))throw mo=co,uo;e.flags|=8192}}function Ql(e,t){null!==t&&(e.flags|=4),16384&e.flags&&(t=22!==e.tag?Ie():536870912,e.lanes|=t,yu|=t)}function Yl(e,t){if(!Xr)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 Gl(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|=31457280&o.subtreeFlags,r|=31457280&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 Jl(e,t,n){var o=t.pendingProps;switch(Yr(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return Gl(t),null;case 3:return n=t.stateNode,o=null,null!==e&&(o=e.memoizedState.cache),t.memoizedState.cache!==o&&(t.flags|=2048),ks(Bo),ne(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||(io(t)?ql(t):null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==Zr&&(Fu(Zr),Zr=null))),Gl(t),null;case 26:return n=t.memoizedState,null===e?(ql(t),null!==n?(Gl(t),Kl(t,n)):(Gl(t),t.flags&=-16777217)):n?n!==e.memoizedState?(ql(t),Gl(t),Kl(t,n)):(Gl(t),t.flags&=-16777217):(e.memoizedProps!==o&&ql(t),Gl(t),t.flags&=-16777217),null;case 27:oe(t),n=Z.current;var i=t.type;if(null!==e&&null!=t.stateNode)e.memoizedProps!==o&&ql(t);else{if(!o){if(null===t.stateNode)throw Error(r(166));return Gl(t),null}e=J.current,io(t)?ro(t):(e=dd(i,o,n),t.stateNode=e,ql(t))}return Gl(t),null;case 5:if(oe(t),n=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==o&&ql(t);else{if(!o){if(null===t.stateNode)throw Error(r(166));return Gl(t),null}if(e=J.current,io(t))ro(t);else{switch(i=Jc(Z.current),e){case 1:e=i.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:e=i.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":e=i.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":e=i.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":(e=i.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e="string"==typeof o.is?i.createElement("select",{is:o.is}):i.createElement("select"),o.multiple?e.multiple=!0:o.size&&(e.size=o.size);break;default:e="string"==typeof o.is?i.createElement(n,{is:o.is}):i.createElement(n)}}e[Ue]=t,e[Ve]=o;e:for(i=t.child;null!==i;){if(5===i.tag||6===i.tag)e.appendChild(i.stateNode);else if(4!==i.tag&&27!==i.tag&&null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break e;for(;null===i.sibling;){if(null===i.return||i.return===t)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}t.stateNode=e;e:switch(Qc(e,n,o),n){case"button":case"input":case"select":case"textarea":e=!!o.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&ql(t)}}return Gl(t),t.flags&=-16777217,null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==o&&ql(t);else{if("string"!=typeof o&&null===t.stateNode)throw Error(r(166));if(e=Z.current,io(t)){if(e=t.stateNode,n=t.memoizedProps,o=null,null!==(i=Gr))switch(i.tag){case 27:case 5:o=i.memoizedProps}e[Ue]=t,(e=!!(e.nodeValue===n||null!==o&&!0===o.suppressHydrationWarning||Hc(e.nodeValue,n)))||no(t)}else(e=Jc(e).createTextNode(o))[Ue]=t,t.stateNode=e}return Gl(t),null;case 13:if(o=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(i=io(t),null!==o&&null!==o.dehydrated){if(null===e){if(!i)throw Error(r(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(r(317));i[Ue]=t}else ao(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Gl(t),i=!1}else null!==Zr&&(Fu(Zr),Zr=null),i=!0;if(!i)return 256&t.flags?(Fo(t),t):(Fo(t),null)}if(Fo(t),128&t.flags)return t.lanes=n,t;if(n=null!==o,e=null!==e&&null!==e.memoizedState,n){i=null,null!==(o=t.child).alternate&&null!==o.alternate.memoizedState&&null!==o.alternate.memoizedState.cachePool&&(i=o.alternate.memoizedState.cachePool.pool);var a=null;null!==o.memoizedState&&null!==o.memoizedState.cachePool&&(a=o.memoizedState.cachePool.pool),a!==i&&(o.flags|=2048)}return n!==e&&n&&(t.child.flags|=8192),Ql(t,t.updateQueue),Gl(t),null;case 4:return ne(),null===e&&Mc(t.stateNode.containerInfo),Gl(t),null;case 10:return ks(t.type),Gl(t),null;case 19:if(Y(No),null===(i=t.memoizedState))return Gl(t),null;if(o=!!(128&t.flags),null===(a=i.rendering))if(o)Yl(i,!1);else{if(0!==fu||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(a=jo(e))){for(t.flags|=128,Yl(i,!1),e=a.updateQueue,t.updateQueue=e,Ql(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)Ul(n,e),n=n.sibling;return G(No,1&No.current|2),t.child}e=e.sibling}null!==i.tail&&ce()>Su&&(t.flags|=128,o=!0,Yl(i,!1),t.lanes=4194304)}else{if(!o)if(null!==(e=jo(a))){if(t.flags|=128,o=!0,e=e.updateQueue,t.updateQueue=e,Ql(t,e),Yl(i,!0),null===i.tail&&"hidden"===i.tailMode&&!a.alternate&&!Xr)return Gl(t),null}else 2*ce()-i.renderingStartTime>Su&&536870912!==n&&(t.flags|=128,o=!0,Yl(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(null!==(e=i.last)?e.sibling=a:t.child=a,i.last=a)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=ce(),t.sibling=null,e=No.current,G(No,o?1&e|2:1&e),t):(Gl(t),null);case 22:case 23:return Fo(t),Oo(),o=null!==t.memoizedState,null!==e?null!==e.memoizedState!==o&&(t.flags|=8192):o&&(t.flags|=8192),o?!!(536870912&n)&&!(128&t.flags)&&(Gl(t),6&t.subtreeFlags&&(t.flags|=8192)):Gl(t),null!==(n=t.updateQueue)&&Ql(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),o=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(o=t.memoizedState.cachePool.pool),o!==n&&(t.flags|=2048),null!==e&&Y(Jo),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),ks(Bo),Gl(t),null;case 25:return null}throw Error(r(156,t.tag))}function Xl(e,t){switch(Yr(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ks(Bo),ne(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return oe(t),null;case 13:if(Fo(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(r(340));ao()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Y(No),null;case 4:return ne(),null;case 10:return ks(t.type),null;case 22:case 23:return Fo(t),Oo(),null!==e&&Y(Jo),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return ks(Bo),null;default:return null}}function Zl(e,t){switch(Yr(t),t.tag){case 3:ks(Bo),ne();break;case 26:case 27:case 5:oe(t);break;case 4:ne();break;case 13:Fo(t);break;case 19:Y(No);break;case 10:ks(t.type);break;case 22:case 23:Fo(t),Oo(),null!==e&&Y(Jo);break;case 24:ks(Bo)}}var eu={getCacheForType:e=>{var t=Ts(Bo),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n}},tu="function"==typeof WeakMap?WeakMap:Map,nu=0,ru=null,ou=null,iu=0,au=0,su=null,lu=!1,uu=!1,cu=!1,du=0,fu=0,hu=0,pu=0,mu=0,gu=0,yu=0,vu=null,bu=null,wu=!1,ku=0,Su=1/0,xu=null,_u=null,Cu=!1,Eu=null,Tu=0,Au=0,Pu=null,Ou=0,Ru=null;function Iu(){return 2&nu&&0!==iu?iu&-iu:null!==O.T?0!==Ko?Ko:xc():je()}function Lu(){0===gu&&(gu=536870912&iu&&!Xr?536870912:Re());var e=Ro.current;return null!==e&&(e.flags|=32),gu}function Mu(e,t,n){(e===ru&&2===au||null!==e.cancelPendingCommit)&&(Bu(e,0),zu(e,iu,gu,!1)),Me(e,n),2&nu&&e===ru||(e===ru&&(!(2&nu)&&(pu|=n),4===fu&&zu(e,iu,gu,!1)),yc(e))}function Du(e,t,n){if(6&nu)throw Error(r(327));for(var o=!n&&!(60&t)&&!(t&e.expiredLanes)||Pe(e,t),i=o?function(e,t){var n=nu;nu|=2;var o=Hu(),i=Wu();ru!==e||iu!==t?(xu=null,Su=ce()+500,Bu(e,t)):uu=Pe(e,t);e:for(;;)try{if(0!==au&&null!==ou){t=ou;var a=su;t:switch(au){case 1:au=0,su=null,Xu(e,t,a,1);break;case 2:if(fo(a)){au=0,su=null,Ju(t);break}t=()=>{2===au&&ru===e&&(au=7),yc(e)},a.then(t,t);break e;case 3:au=7;break e;case 4:au=5;break e;case 7:fo(a)?(au=0,su=null,Ju(t)):(au=0,su=null,Xu(e,t,a,7));break;case 5:var s=null;switch(ou.tag){case 26:s=ou.memoizedState;case 5:case 27:var l=ou;if(!s||Rd(s)){au=0,su=null;var u=l.sibling;if(null!==u)ou=u;else{var c=l.return;null!==c?(ou=c,Zu(c)):ou=null}break t}}au=0,su=null,Xu(e,t,a,5);break;case 6:au=0,su=null,Xu(e,t,a,6);break;case 8:Vu(),fu=6;break e;default:throw Error(r(462))}}Yu();break}catch(t){$u(e,t)}return bs=vs=null,O.H=o,O.A=i,nu=n,null!==ou?0:(ru=null,iu=0,Ar(),fu)}(e,t):Ku(e,t,!0),a=o;;){if(0===i){uu&&!o&&zu(e,t,0,!1);break}if(6===i)zu(e,t,0,!lu);else{if(n=e.current.alternate,a&&!ju(n)){i=Ku(e,t,!1),a=!1;continue}if(2===i){if(a=t,e.errorRecoveryDisabledLanes&a)var s=0;else s=0!=(s=-536870913&e.pendingLanes)?s:536870912&s?536870912:0;if(0!==s){t=s;e:{var l=e;i=vu;var u=l.current.memoizedState.isDehydrated;if(u&&(Bu(l,s).flags|=256),2!==(s=Ku(l,s,!1))){if(cu&&!u){l.errorRecoveryDisabledLanes|=a,pu|=a,i=4;break e}a=bu,bu=i,null!==a&&Fu(a)}i=s}if(a=!1,2!==i)continue}}if(1===i){Bu(e,0),zu(e,t,0,!0);break}e:{switch(o=e,i){case 0:case 1:throw Error(r(345));case 4:if((4194176&t)===t){zu(o,t,gu,!lu);break e}break;case 2:bu=null;break;case 3:case 5:break;default:throw Error(r(329))}if(o.finishedWork=n,o.finishedLanes=t,(62914560&t)===t&&10<(a=ku+300-ce())){if(zu(o,t,gu,!lu),0!==Ae(o,0))break e;o.timeoutHandle=nd(Nu.bind(null,o,n,bu,xu,wu,t,gu,pu,yu,lu,2,-0,0),a)}else Nu(o,n,bu,xu,wu,t,gu,pu,yu,lu,0,-0,0)}}break}yc(e)}function Fu(e){null===bu?bu=e:bu.push.apply(bu,e)}function Nu(e,t,n,o,i,a,s,l,u,c,d,f,h){var p=t.subtreeFlags;if((8192&p||!(16785408&~p))&&(Id={stylesheets:null,count:0,unsuspend:Ld},Ol(t),null!==(t=function(){if(null===Id)throw Error(r(475));var e=Id;return e.stylesheets&&0===e.count&&Fd(e,e.stylesheets),0<e.count?t=>{var n=setTimeout((()=>{if(e.stylesheets&&Fd(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}),6e4);return e.unsuspend=t,()=>{e.unsuspend=null,clearTimeout(n)}}:null}())))return e.cancelPendingCommit=t(tc.bind(null,e,n,o,i,s,l,u,1,f,h)),void zu(e,a,s,!c);tc(e,n,o,i,s,l,u,d,f,h)}function ju(e){for(var t=e;;){var n=t.tag;if((0===n||11===n||15===n)&&16384&t.flags&&null!==(n=t.updateQueue)&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!Gn(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}function zu(e,t,n,r){t&=~mu,t&=~pu,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var o=t;0<o;){var i=31-Se(o),a=1<<i;r[i]=-1,o&=~a}0!==n&&De(e,n,t)}function Uu(){return!!(6&nu)||(vc(0),!1)}function Vu(){if(null!==ou){if(0===au)var e=ou.return;else bs=vs=null,wi(e=ou),yo=null,vo=0,e=ou;for(;null!==e;)Zl(e.alternate,e),e=e.return;ou=null}}function Bu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;-1!==n&&(e.timeoutHandle=-1,rd(n)),null!==(n=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,n()),Vu(),ru=e,ou=n=zl(e.current,null),iu=t,au=0,su=null,lu=!1,uu=Pe(e,t),cu=!1,yu=gu=mu=pu=hu=fu=0,bu=vu=null,wu=!1,8&t&&(t|=32&t);var r=e.entangledLanes;if(0!==r)for(e=e.entanglements,r&=t;0<r;){var o=31-Se(r),i=1<<o;t|=e[o],r&=~i}return du=t,Ar(),n}function $u(e,t){ni=null,O.H=Ta,t===lo?(t=go(),au=3):t===uo?(t=go(),au=4):au=t===Wa?8:null!==t&&"object"==typeof t&&"function"==typeof t.then?6:1,su=t,null===ou&&(fu=1,Ua(e,Fr(t,e.current)))}function Hu(){var e=O.H;return O.H=Ta,null===e?Ta:e}function Wu(){var e=O.A;return O.A=eu,e}function qu(){fu=4,lu||(4194176&iu)!==iu&&null!==Ro.current||(uu=!0),!(134217727&hu)&&!(134217727&pu)||null===ru||zu(ru,iu,gu,!1)}function Ku(e,t,n){var r=nu;nu|=2;var o=Hu(),i=Wu();ru===e&&iu===t||(xu=null,Bu(e,t)),t=!1;var a=fu;e:for(;;)try{if(0!==au&&null!==ou){var s=ou,l=su;switch(au){case 8:Vu(),a=6;break e;case 3:case 2:case 6:null===Ro.current&&(t=!0);var u=au;if(au=0,su=null,Xu(e,s,l,u),n&&uu){a=0;break e}break;default:u=au,au=0,su=null,Xu(e,s,l,u)}}Qu(),a=fu;break}catch(t){$u(e,t)}return t&&e.shellSuspendCounter++,bs=vs=null,nu=r,O.H=o,O.A=i,null===ou&&(ru=null,iu=0,Ar()),a}function Qu(){for(;null!==ou;)Gu(ou)}function Yu(){for(;null!==ou&&!le();)Gu(ou)}function Gu(e){var t=gs(e.alternate,e,du);e.memoizedProps=e.pendingProps,null===t?Zu(e):ou=t}function Ju(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=ts(n,t,t.pendingProps,t.type,void 0,iu);break;case 11:t=ts(n,t,t.pendingProps,t.type.render,t.ref,iu);break;case 5:wi(t);default:Zl(n,t),t=gs(n,t=ou=Ul(t,du),du)}e.memoizedProps=e.pendingProps,null===t?Zu(e):ou=t}function Xu(e,t,n,o){bs=vs=null,wi(t),yo=null,vo=0;var i=t.return;try{if(function(e,t,n,o,i){if(n.flags|=32768,null!==o&&"object"==typeof o&&"function"==typeof o.then){if(null!==(t=n.alternate)&&_s(t,n,i,!0),null!==(n=Ro.current)){switch(n.tag){case 13:return null===Io?qu():null===n.alternate&&0===fu&&(fu=3),n.flags&=-257,n.flags|=65536,n.lanes=i,o===co?n.flags|=16384:(null===(t=n.updateQueue)?n.updateQueue=new Set([o]):t.add(o),ac(e,o,i)),!1;case 22:return n.flags|=65536,o===co?n.flags|=16384:(null===(t=n.updateQueue)?(t={transitions:null,markerInstances:null,retryQueue:new Set([o])},n.updateQueue=t):null===(n=t.retryQueue)?t.retryQueue=new Set([o]):n.add(o),ac(e,o,i)),!1}throw Error(r(435,n.tag))}return ac(e,o,i),qu(),!1}if(Xr)return null!==(t=Ro.current)?(!(65536&t.flags)&&(t.flags|=256),t.flags|=65536,t.lanes=i,o!==to&&so(Fr(e=Error(r(422),{cause:o}),n))):(o!==to&&so(Fr(t=Error(r(423),{cause:o}),n)),(e=e.current.alternate).flags|=65536,i&=-i,e.lanes|=i,o=Fr(o,n),Fs(e,i=Ba(e.stateNode,o,i)),4!==fu&&(fu=2)),!1;var a=Error(r(520),{cause:o});if(a=Fr(a,n),null===vu?vu=[a]:vu.push(a),4!==fu&&(fu=2),null===t)return!0;o=Fr(o,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=i&-i,n.lanes|=e,Fs(n,e=Ba(n.stateNode,o,e)),!1;case 1:if(t=n.type,a=n.stateNode,!(128&n.flags||"function"!=typeof t.getDerivedStateFromError&&(null===a||"function"!=typeof a.componentDidCatch||null!==_u&&_u.has(a))))return n.flags|=65536,i&=-i,n.lanes|=i,Ha(i=$a(i),e,n,o),Fs(n,i),!1}n=n.return}while(null!==n);return!1}(e,i,t,n,iu))return fu=1,Ua(e,Fr(n,e.current)),void(ou=null)}catch(t){if(null!==i)throw ou=i,t;return fu=1,Ua(e,Fr(n,e.current)),void(ou=null)}32768&t.flags?(Xr||1===o?e=!0:uu||536870912&iu?e=!1:(lu=e=!0,(2===o||3===o||6===o)&&null!==(o=Ro.current)&&13===o.tag&&(o.flags|=16384)),ec(t,e)):Zu(t)}function Zu(e){var t=e;do{if(32768&t.flags)return void ec(t,lu);e=t.return;var n=Jl(t.alternate,t,du);if(null!==n)return void(ou=n);if(null!==(t=t.sibling))return void(ou=t);ou=t=e}while(null!==t);0===fu&&(fu=5)}function ec(e,t){do{var n=Xl(e.alternate,e);if(null!==n)return n.flags&=32767,void(ou=n);if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&null!==(e=e.sibling))return void(ou=e);ou=e=n}while(null!==e);fu=6,ou=null}function tc(e,t,n,o,i,a,s,l,u,c){var d=O.T,f=H.p;try{H.p=2,O.T=null,function(e,t,n,o,i,a,s,l){do{rc()}while(null!==Eu);if(6&nu)throw Error(r(327));var u=e.finishedWork;if(o=e.finishedLanes,null===u)return null;if(e.finishedWork=null,e.finishedLanes=0,u===e.current)throw Error(r(177));e.callbackNode=null,e.callbackPriority=0,e.cancelPendingCommit=null;var c=u.lanes|u.childLanes;if(function(e,t,n,r,o,i){var a=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 s=e.entanglements,l=e.expirationTimes,u=e.hiddenUpdates;for(n=a&~n;0<n;){var c=31-Se(n),d=1<<c;s[c]=0,l[c]=-1;var f=u[c];if(null!==f)for(u[c]=null,c=0;c<f.length;c++){var h=f[c];null!==h&&(h.lane&=-536870913)}n&=~d}0!==r&&De(e,r,0),0!==i&&0===o&&0!==e.tag&&(e.suspendedLanes|=i&~(a&~t))}(e,o,c|=Tr,a,s,l),e===ru&&(ou=ru=null,iu=0),!(10256&u.subtreeFlags)&&!(10256&u.flags)||Cu||(Cu=!0,Au=c,Pu=n,function(e){ae(e,(()=>(rc(),null)))}(pe)),n=!!(15990&u.flags),15990&u.subtreeFlags||n?(n=O.T,O.T=null,a=H.p,H.p=2,s=nu,nu|=4,function(e,t){if(e=e.containerInfo,Yc=qd,nr(e=tr(e))){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var o=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(o&&0!==o.rangeCount){n=o.anchorNode;var i=o.anchorOffset,a=o.focusNode;o=o.focusOffset;try{n.nodeType,a.nodeType}catch(e){n=null;break e}var s=0,l=-1,u=-1,c=0,d=0,f=e,h=null;t:for(;;){for(var p;f!==n||0!==i&&3!==f.nodeType||(l=s+i),f!==a||0!==o&&3!==f.nodeType||(u=s+o),3===f.nodeType&&(s+=f.nodeValue.length),null!==(p=f.firstChild);)h=f,f=p;for(;;){if(f===e)break t;if(h===n&&++c===i&&(l=s),h===a&&++d===o&&(u=s),null!==(p=f.nextSibling))break;h=(f=h).parentNode}f=p}n=-1===l||-1===u?null:{start:l,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Gc={focusedElem:e,selectionRange:n},qd=!1,ol=t;null!==ol;)if(e=(t=ol).child,1028&t.subtreeFlags&&null!==e)e.return=t,ol=e;else for(;null!==ol;){switch(a=(t=ol).alternate,e=t.flags,t.tag){case 0:case 11:case 15:case 5:case 26:case 27:case 6:case 4:case 17:break;case 1:if(1024&e&&null!==a){e=void 0,n=t,i=a.memoizedProps,a=a.memoizedState,o=n.stateNode;try{var m=Da(n.type,i,(n.elementType,n.type));e=o.getSnapshotBeforeUpdate(m,a),o.__reactInternalSnapshotBeforeUpdate=e}catch(e){ic(n,n.return,e)}}break;case 3:if(1024&e)if(9===(n=(e=t.stateNode.containerInfo).nodeType))ld(e);else if(1===n)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":ld(e);break;default:e.textContent=""}break;default:if(1024&e)throw Error(r(163))}if(null!==(e=t.sibling)){e.return=t.return,ol=e;break}ol=t.return}m=il,il=!1}(e,u),gl(u,e),rr(Gc,e.containerInfo),qd=!!Yc,Gc=Yc=null,e.current=u,al(e,u.alternate,u),ue(),nu=s,H.p=a,O.T=n):e.current=u,Cu?(Cu=!1,Eu=e,Tu=o):nc(e,c),0===(c=e.pendingLanes)&&(_u=null),function(e){if(we&&"function"==typeof we.onCommitFiberRoot)try{we.onCommitFiberRoot(be,e,void 0,!(128&~e.current.flags))}catch(e){}}(u.stateNode),yc(e),null!==t)for(i=e.onRecoverableError,u=0;u<t.length;u++)i((c=t[u]).value,{componentStack:c.stack});!!(3&Tu)&&rc(),c=e.pendingLanes,4194218&o&&42&c?e===Ru?Ou++:(Ou=0,Ru=e):Ou=0,vc(0)}(e,t,n,o,f,i,a,s)}finally{O.T=d,H.p=f}}function nc(e,t){0==(e.pooledCacheLanes&=t)&&null!=(t=e.pooledCache)&&(e.pooledCache=null,Ho(t))}function rc(){if(null!==Eu){var e=Eu,t=Au;Au=0;var n=Ne(Tu),o=O.T,i=H.p;try{if(H.p=32>n?32:n,O.T=null,null===Eu)var a=!1;else{n=Pu,Pu=null;var s=Eu,l=Tu;if(Eu=null,Tu=0,6&nu)throw Error(r(331));var u=nu;if(nu|=4,Ll(s.current),Cl(s,s.current,l,n),nu=u,vc(0,!1),we&&"function"==typeof we.onPostCommitFiberRoot)try{we.onPostCommitFiberRoot(be,s)}catch(e){}a=!0}return a}finally{H.p=i,O.T=o,nc(e,t)}}return!1}function oc(e,t,n){t=Fr(n,t),null!==(e=Ms(e,t=Ba(e.stateNode,t,2),2))&&(Me(e,2),yc(e))}function ic(e,t,n){if(3===e.tag)oc(e,e,n);else for(;null!==t;){if(3===t.tag){oc(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===_u||!_u.has(r))){e=Fr(n,e),null!==(r=Ms(t,n=$a(2),2))&&(Ha(n,r,t,e),Me(r,2),yc(r));break}}t=t.return}}function ac(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new tu;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)||(cu=!0,o.add(n),e=sc.bind(null,e,t,n),t.then(e,e))}function sc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,ru===e&&(iu&n)===n&&(4===fu||3===fu&&(62914560&iu)===iu&&300>ce()-ku?!(2&nu)&&Bu(e,0):mu|=n,yu===iu&&(yu=0)),yc(e)}function lc(e,t){0===t&&(t=Ie()),null!==(e=Rr(e,t))&&(Me(e,t),yc(e))}function uc(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),lc(e,n)}function cc(e,t){var n=0;switch(e.tag){case 13:var o=e.stateNode,i=e.memoizedState;null!==i&&(n=i.retryLane);break;case 19:o=e.stateNode;break;case 22:o=e.stateNode._retryCache;break;default:throw Error(r(314))}null!==o&&o.delete(t),lc(e,n)}var dc=null,fc=null,hc=!1,pc=!1,mc=!1,gc=0;function yc(e){var t;e!==fc&&null===e.next&&(null===fc?dc=fc=e:fc=fc.next=e),pc=!0,hc||(hc=!0,t=bc,id((()=>{6&nu?ae(fe,t):t()})))}function vc(e,t){if(!mc&&pc){mc=!0;do{for(var n=!1,r=dc;null!==r;){if(0!==e){var o=r.pendingLanes;if(0===o)var i=0;else{var a=r.suspendedLanes,s=r.pingedLanes;i=(1<<31-Se(42|e)+1)-1,i=201326677&(i&=o&~(a&~s))?201326677&i|1:i?2|i:0}0!==i&&(n=!0,Sc(r,i))}else i=iu,!(3&(i=Ae(r,r===ru?i:0)))||Pe(r,i)||(n=!0,Sc(r,i));r=r.next}}while(n);mc=!1}}function bc(){pc=hc=!1;var e=0;0!==gc&&(function(){var e=window.event;return e&&"popstate"===e.type?e!==td&&(td=e,!0):(td=null,!1)}()&&(e=gc),gc=0);for(var t=ce(),n=null,r=dc;null!==r;){var o=r.next,i=wc(r,t);0===i?(r.next=null,null===n?dc=o:n.next=o,null===o&&(fc=n)):(n=r,(0!==e||3&i)&&(pc=!0)),r=o}vc(e)}function wc(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=-62914561&e.pendingLanes;0<i;){var a=31-Se(i),s=1<<a,l=o[a];-1===l?!!(s&n)&&!(s&r)||(o[a]=Oe(s,t)):l<=t&&(e.expiredLanes|=s),i&=~s}if(n=iu,n=Ae(e,e===(t=ru)?n:0),r=e.callbackNode,0===n||e===t&&2===au||null!==e.cancelPendingCommit)return null!==r&&null!==r&&se(r),e.callbackNode=null,e.callbackPriority=0;if(!(3&n)||Pe(e,n)){if((t=n&-n)===e.callbackPriority)return t;switch(null!==r&&se(r),Ne(n)){case 2:case 8:n=he;break;case 32:default:n=pe;break;case 268435456:n=ge}return r=kc.bind(null,e),n=ae(n,r),e.callbackPriority=t,e.callbackNode=n,t}return null!==r&&null!==r&&se(r),e.callbackPriority=2,e.callbackNode=null,2}function kc(e,t){var n=e.callbackNode;if(rc()&&e.callbackNode!==n)return null;var r=iu;return 0===(r=Ae(e,e===ru?r:0))?null:(Du(e,r,t),wc(e,ce()),null!=e.callbackNode&&e.callbackNode===n?kc.bind(null,e):null)}function Sc(e,t){if(rc())return null;Du(e,t,!0)}function xc(){return 0===gc&&(gc=Re()),gc}function _c(e){return null==e||"symbol"==typeof e||"boolean"==typeof e?null:"function"==typeof e?e:Rt(""+e)}function Cc(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}for(var Ec=0;Ec<xr.length;Ec++){var Tc=xr[Ec];_r(Tc.toLowerCase(),"on"+(Tc[0].toUpperCase()+Tc.slice(1)))}_r(mr,"onAnimationEnd"),_r(gr,"onAnimationIteration"),_r(yr,"onAnimationStart"),_r("dblclick","onDoubleClick"),_r("focusin","onFocus"),_r("focusout","onBlur"),_r(vr,"onTransitionRun"),_r(br,"onTransitionStart"),_r(wr,"onTransitionCancel"),_r(kr,"onTransitionEnd"),rt("onMouseEnter",["mouseout","mouseover"]),rt("onMouseLeave",["mouseout","mouseover"]),rt("onPointerEnter",["pointerout","pointerover"]),rt("onPointerLeave",["pointerout","pointerover"]),nt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),nt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),nt("onBeforeInput",["compositionend","keypress","textInput","paste"]),nt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),nt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),nt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ac="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(" "),Pc=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Ac));function Oc(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 s=r[a],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==i&&o.isPropagationStopped())break e;i=s,o.currentTarget=u;try{i(o)}catch(e){Fa(e)}o.currentTarget=null,i=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,u=s.currentTarget,s=s.listener,l!==i&&o.isPropagationStopped())break e;i=s,o.currentTarget=u;try{i(o)}catch(e){Fa(e)}o.currentTarget=null,i=l}}}}function Rc(e,t){var n=t[$e];void 0===n&&(n=t[$e]=new Set);var r=e+"__bubble";n.has(r)||(Dc(t,e,2,!1),n.add(r))}function Ic(e,t,n){var r=0;t&&(r|=4),Dc(n,e,r,t)}var Lc="_reactListening"+Math.random().toString(36).slice(2);function Mc(e){if(!e[Lc]){e[Lc]=!0,et.forEach((t=>{"selectionchange"!==t&&(Pc.has(t)||Ic(t,!1,e),Ic(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Lc]||(t[Lc]=!0,Ic("selectionchange",!1,t))}}function Dc(e,t,n,r){switch(Zd(t)){case 2:var o=Kd;break;case 8:o=Qd;break;default:o=Yd}n=o.bind(null,t,n,e),o=void 0,!Ut||"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 Fc(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 s=r.stateNode.containerInfo;if(s===o||8===s.nodeType&&s.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===o||8===l.nodeType&&l.parentNode===o))return;a=a.return}for(;null!==s;){if(null===(a=Ye(s)))return;if(5===(l=a.tag)||6===l||26===l||27===l){r=i=a;continue e}s=s.parentNode}}r=r.return}jt((()=>{var r=i,o=Lt(n),a=[];e:{var s=Sr.get(e);if(void 0!==s){var l=en,u=e;switch(e){case"keypress":if(0===qt(n))break e;case"keydown":case"keyup":l=gn;break;case"focusin":u="focus",l=sn;break;case"focusout":u="blur",l=sn;break;case"beforeblur":case"afterblur":l=sn;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":l=on;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=an;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=vn;break;case mr:case gr:case yr:l=ln;break;case kr:l=bn;break;case"scroll":case"scrollend":l=nn;break;case"wheel":l=wn;break;case"copy":case"cut":case"paste":l=un;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=yn;break;case"toggle":case"beforetoggle":l=kn}var c=!!(4&t),d=!c&&("scroll"===e||"scrollend"===e),f=c?null!==s?s+"Capture":null:s;c=[];for(var h,p=r;null!==p;){var m=p;if(h=m.stateNode,5!==(m=m.tag)&&26!==m&&27!==m||null===h||null===f||null!=(m=zt(p,f))&&c.push(Nc(p,m,h)),d)break;p=p.return}0<c.length&&(s=new l(s,u,null,n,o),a.push({event:s,listeners:c}))}}if(!(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===It||!(u=n.relatedTarget||n.fromElement)||!Ye(u)&&!u[Be])&&(l||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(u=(u=n.relatedTarget||n.toElement)?Ye(u):null)&&(d=z(u),c=u.tag,u!==d||5!==c&&27!==c&&6!==c)&&(u=null)):(l=null,u=r),l!==u)){if(c=on,m="onMouseLeave",f="onMouseEnter",p="mouse","pointerout"!==e&&"pointerover"!==e||(c=yn,m="onPointerLeave",f="onPointerEnter",p="pointer"),d=null==l?s:Je(l),h=null==u?s:Je(u),(s=new c(m,p+"leave",l,n,o)).target=d,s.relatedTarget=h,m=null,Ye(o)===r&&((c=new c(f,p+"enter",u,n,o)).target=h,c.relatedTarget=d,m=c),d=m,l&&u)e:{for(f=u,p=0,h=c=l;h;h=zc(h))p++;for(h=0,m=f;m;m=zc(m))h++;for(;0<p-h;)c=zc(c),p--;for(;0<h-p;)f=zc(f),h--;for(;p--;){if(c===f||null!==f&&c===f.alternate)break e;c=zc(c),f=zc(f)}c=null}else c=null;null!==l&&Uc(a,s,l,c,!1),null!==u&&null!==d&&Uc(a,d,u,c,!0)}if("select"===(l=(s=r?Je(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var g=zn;else if(Ln(s))if(Un)g=Yn;else{g=Kn;var y=qn}else!(l=s.nodeName)||"input"!==l.toLowerCase()||"checkbox"!==s.type&&"radio"!==s.type?r&&At(r.elementType)&&(g=zn):g=Qn;switch(g&&(g=g(e,r))?Mn(a,g,n,o):(y&&y(e,s,r),"focusout"===e&&r&&"number"===s.type&&null!=r.memoizedProps.value&&wt(s,"number",s.value)),y=r?Je(r):window,e){case"focusin":(Ln(y)||"true"===y.contentEditable)&&(ir=y,ar=r,sr=null);break;case"focusout":sr=ar=ir=null;break;case"mousedown":lr=!0;break;case"contextmenu":case"mouseup":case"dragend":lr=!1,ur(a,n,o);break;case"selectionchange":if(or)break;case"keydown":case"keyup":ur(a,n,o)}var v;if(xn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Rn?Pn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(En&&"ko"!==n.locale&&(Rn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Rn&&(v=Wt()):($t="value"in(Bt=o)?Bt.value:Bt.textContent,Rn=!0)),0<(y=jc(r,b)).length&&(b=new cn(b,e,null,n,o),a.push({event:b,listeners:y}),(v||null!==(v=On(n)))&&(b.data=v))),(v=Cn?function(e,t){switch(e){case"compositionend":return On(t);case"keypress":return 32!==t.which?null:(An=!0,Tn);case"textInput":return(e=t.data)===Tn&&An?null:e;default:return null}}(e,n):function(e,t){if(Rn)return"compositionend"===e||!xn&&Pn(e,t)?(e=Wt(),Ht=$t=Bt=null,Rn=!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 En&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(b=jc(r,"onBeforeInput")).length&&(y=new cn("onBeforeInput","beforeinput",null,n,o),a.push({event:y,listeners:b}),y.data=v),function(e,t,n,r,o){if("submit"===t&&n&&n.stateNode===o){var i=_c((o[Ve]||null).action),a=r.submitter;a&&null!==(t=(t=a[Ve]||null)?_c(t.formAction):a.getAttribute("formAction"))&&(i=t,a=null);var s=new en("action","action",null,r,o);e.push({event:s,listeners:[{instance:null,listener:()=>{if(r.defaultPrevented){if(0!==gc){var e=a?Cc(o,a):new FormData(o);ha(n,{pending:!0,data:e,method:o.method,action:i},null,e)}}else"function"==typeof i&&(s.preventDefault(),e=a?Cc(o,a):new FormData(o),ha(n,{pending:!0,data:e,method:o.method,action:i},i,e))},currentTarget:o}]})}}(a,e,r,n,o)}Oc(a,t)}))}function Nc(e,t,n){return{instance:e,listener:t,currentTarget:n}}function jc(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5!==(o=o.tag)&&26!==o&&27!==o||null===i||(null!=(o=zt(e,n))&&r.unshift(Nc(e,o,i)),null!=(o=zt(e,t))&&r.push(Nc(e,o,i))),e=e.return}return r}function zc(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag&&27!==e.tag);return e||null}function Uc(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,u=s.stateNode;if(s=s.tag,null!==l&&l===r)break;5!==s&&26!==s&&27!==s||null===u||(l=u,o?null!=(u=zt(n,i))&&a.unshift(Nc(n,u,l)):o||null!=(u=zt(n,i))&&a.push(Nc(n,u,l))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Vc=/\r\n?/g,Bc=/\u0000|\uFFFD/g;function $c(e){return("string"==typeof e?e:""+e).replace(Vc,"\n").replace(Bc,"")}function Hc(e,t){return t=$c(t),$c(e)===t}function Wc(){}function qc(e,t,n,o,i,a){switch(n){case"children":"string"==typeof o?"body"===t||"textarea"===t&&""===o||_t(e,o):("number"==typeof o||"bigint"==typeof o)&&"body"!==t&&_t(e,""+o);break;case"className":ut(e,"class",o);break;case"tabIndex":ut(e,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":ut(e,n,o);break;case"style":Tt(e,o,a);break;case"data":if("object"!==t){ut(e,"data",o);break}case"src":case"href":if(""===o&&("a"!==t||"href"!==n)){e.removeAttribute(n);break}if(null==o||"function"==typeof o||"symbol"==typeof o||"boolean"==typeof o){e.removeAttribute(n);break}o=Rt(""+o),e.setAttribute(n,o);break;case"action":case"formAction":if("function"==typeof o){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"==typeof a&&("formAction"===n?("input"!==t&&qc(e,t,"name",i.name,i,null),qc(e,t,"formEncType",i.formEncType,i,null),qc(e,t,"formMethod",i.formMethod,i,null),qc(e,t,"formTarget",i.formTarget,i,null)):(qc(e,t,"encType",i.encType,i,null),qc(e,t,"method",i.method,i,null),qc(e,t,"target",i.target,i,null))),null==o||"symbol"==typeof o||"boolean"==typeof o){e.removeAttribute(n);break}o=Rt(""+o),e.setAttribute(n,o);break;case"onClick":null!=o&&(e.onclick=Wc);break;case"onScroll":null!=o&&Rc("scroll",e);break;case"onScrollEnd":null!=o&&Rc("scrollend",e);break;case"dangerouslySetInnerHTML":if(null!=o){if("object"!=typeof o||!("__html"in o))throw Error(r(61));if(null!=(n=o.__html)){if(null!=i.children)throw Error(r(60));e.innerHTML=n}}break;case"multiple":e.multiple=o&&"function"!=typeof o&&"symbol"!=typeof o;break;case"muted":e.muted=o&&"function"!=typeof o&&"symbol"!=typeof o;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":break;case"xlinkHref":if(null==o||"function"==typeof o||"boolean"==typeof o||"symbol"==typeof o){e.removeAttribute("xlink:href");break}n=Rt(""+o),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=o&&"function"!=typeof o&&"symbol"!=typeof o?e.setAttribute(n,""+o):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":o&&"function"!=typeof o&&"symbol"!=typeof o?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":!0===o?e.setAttribute(n,""):!1!==o&&null!=o&&"function"!=typeof o&&"symbol"!=typeof o?e.setAttribute(n,o):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":null!=o&&"function"!=typeof o&&"symbol"!=typeof o&&!isNaN(o)&&1<=o?e.setAttribute(n,o):e.removeAttribute(n);break;case"rowSpan":case"start":null==o||"function"==typeof o||"symbol"==typeof o||isNaN(o)?e.removeAttribute(n):e.setAttribute(n,o);break;case"popover":Rc("beforetoggle",e),Rc("toggle",e),lt(e,"popover",o);break;case"xlinkActuate":ct(e,"http://www.w3.org/1999/xlink","xlink:actuate",o);break;case"xlinkArcrole":ct(e,"http://www.w3.org/1999/xlink","xlink:arcrole",o);break;case"xlinkRole":ct(e,"http://www.w3.org/1999/xlink","xlink:role",o);break;case"xlinkShow":ct(e,"http://www.w3.org/1999/xlink","xlink:show",o);break;case"xlinkTitle":ct(e,"http://www.w3.org/1999/xlink","xlink:title",o);break;case"xlinkType":ct(e,"http://www.w3.org/1999/xlink","xlink:type",o);break;case"xmlBase":ct(e,"http://www.w3.org/XML/1998/namespace","xml:base",o);break;case"xmlLang":ct(e,"http://www.w3.org/XML/1998/namespace","xml:lang",o);break;case"xmlSpace":ct(e,"http://www.w3.org/XML/1998/namespace","xml:space",o);break;case"is":lt(e,"is",o);break;case"innerText":case"textContent":break;default:(!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])&&lt(e,n=Pt.get(n)||n,o)}}function Kc(e,t,n,o,i,a){switch(n){case"style":Tt(e,o,a);break;case"dangerouslySetInnerHTML":if(null!=o){if("object"!=typeof o||!("__html"in o))throw Error(r(61));if(null!=(n=o.__html)){if(null!=i.children)throw Error(r(60));e.innerHTML=n}}break;case"children":"string"==typeof o?_t(e,o):("number"==typeof o||"bigint"==typeof o)&&_t(e,""+o);break;case"onScroll":null!=o&&Rc("scroll",e);break;case"onScrollEnd":null!=o&&Rc("scrollend",e);break;case"onClick":null!=o&&(e.onclick=Wc);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":break;default:tt.hasOwnProperty(n)||("o"!==n[0]||"n"!==n[1]||(i=n.endsWith("Capture"),t=n.slice(2,i?n.length-7:void 0),"function"==typeof(a=null!=(a=e[Ve]||null)?a[n]:null)&&e.removeEventListener(t,a,i),"function"!=typeof o)?n in e?e[n]=o:!0===o?e.setAttribute(n,""):lt(e,n,o):("function"!=typeof a&&null!==a&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,o,i)))}}function Qc(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Rc("error",e),Rc("load",e);var o,i=!1,a=!1;for(o in n)if(n.hasOwnProperty(o)){var s=n[o];if(null!=s)switch(o){case"src":i=!0;break;case"srcSet":a=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:qc(e,t,o,s,n,null)}}return a&&qc(e,t,"srcSet",n.srcSet,n,null),void(i&&qc(e,t,"src",n.src,n,null));case"input":Rc("invalid",e);var l=o=s=a=null,u=null,c=null;for(i in n)if(n.hasOwnProperty(i)){var d=n[i];if(null!=d)switch(i){case"name":a=d;break;case"type":s=d;break;case"checked":u=d;break;case"defaultChecked":c=d;break;case"value":o=d;break;case"defaultValue":l=d;break;case"children":case"dangerouslySetInnerHTML":if(null!=d)throw Error(r(137,t));break;default:qc(e,t,i,d,n,null)}}return bt(e,o,l,u,c,s,a,!1),void ht(e);case"select":for(a in Rc("invalid",e),i=s=o=null,n)if(n.hasOwnProperty(a)&&null!=(l=n[a]))switch(a){case"value":o=l;break;case"defaultValue":s=l;break;case"multiple":i=l;default:qc(e,t,a,l,n,null)}return t=o,n=s,e.multiple=!!i,void(null!=t?kt(e,!!i,t,!1):null!=n&&kt(e,!!i,n,!0));case"textarea":for(s in Rc("invalid",e),o=a=i=null,n)if(n.hasOwnProperty(s)&&null!=(l=n[s]))switch(s){case"value":i=l;break;case"defaultValue":a=l;break;case"children":o=l;break;case"dangerouslySetInnerHTML":if(null!=l)throw Error(r(91));break;default:qc(e,t,s,l,n,null)}return xt(e,i,a,o),void ht(e);case"option":for(u in n)n.hasOwnProperty(u)&&null!=(i=n[u])&&("selected"===u?e.selected=i&&"function"!=typeof i&&"symbol"!=typeof i:qc(e,t,u,i,n,null));return;case"dialog":Rc("cancel",e),Rc("close",e);break;case"iframe":case"object":Rc("load",e);break;case"video":case"audio":for(i=0;i<Ac.length;i++)Rc(Ac[i],e);break;case"image":Rc("error",e),Rc("load",e);break;case"details":Rc("toggle",e);break;case"embed":case"source":case"link":Rc("error",e),Rc("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(c in n)if(n.hasOwnProperty(c)&&null!=(i=n[c]))switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:qc(e,t,c,i,n,null)}return;default:if(At(t)){for(d in n)n.hasOwnProperty(d)&&void 0!==(i=n[d])&&Kc(e,t,d,i,n,void 0);return}}for(l in n)n.hasOwnProperty(l)&&null!=(i=n[l])&&qc(e,t,l,i,n,null)}var Yc=null,Gc=null;function Jc(e){return 9===e.nodeType?e:e.ownerDocument}function Xc(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Zc(e,t){if(0===e)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return 1===e&&"foreignObject"===t?0:e}function ed(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"bigint"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var td=null,nd="function"==typeof setTimeout?setTimeout:void 0,rd="function"==typeof clearTimeout?clearTimeout:void 0,od="function"==typeof Promise?Promise:void 0,id="function"==typeof queueMicrotask?queueMicrotask:void 0!==od?e=>od.resolve(null).then(e).catch(ad):nd;function ad(e){setTimeout((()=>{throw e}))}function sd(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 vf(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);vf(t)}function ld(e){var t=e.firstChild;for(t&&10===t.nodeType&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":ld(n),Qe(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===n.rel.toLowerCase())continue}e.removeChild(n)}}function ud(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||"F!"===t||"F"===t)break;if("/$"===t)return null}}return e}function cd(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}function dd(e,t,n){switch(t=Jc(n),e){case"html":if(!(e=t.documentElement))throw Error(r(452));return e;case"head":if(!(e=t.head))throw Error(r(453));return e;case"body":if(!(e=t.body))throw Error(r(454));return e;default:throw Error(r(451))}}var fd=new Map,hd=new Set;function pd(e){return"function"==typeof e.getRootNode?e.getRootNode():e.ownerDocument}var md=H.d;H.d={f:function(){var e=md.f(),t=Uu();return e||t},r:function(e){var t=Ge(e);null!==t&&5===t.tag&&"form"===t.type?ma(t):md.r(e)},D:function(e){md.D(e),yd("dns-prefetch",e,null)},C:function(e,t){md.C(e,t),yd("preconnect",e,t)},L:function(e,t,n){md.L(e,t,n);var r=gd;if(r&&e&&t){var o='link[rel="preload"][as="'+yt(t)+'"]';"image"===t&&n&&n.imageSrcSet?(o+='[imagesrcset="'+yt(n.imageSrcSet)+'"]',"string"==typeof n.imageSizes&&(o+='[imagesizes="'+yt(n.imageSizes)+'"]')):o+='[href="'+yt(e)+'"]';var i=o;switch(t){case"style":i=bd(e);break;case"script":i=Sd(e)}fd.has(i)||(e=I({rel:"preload",href:"image"===t&&n&&n.imageSrcSet?void 0:e,as:t},n),fd.set(i,e),null!==r.querySelector(o)||"style"===t&&r.querySelector(wd(i))||"script"===t&&r.querySelector(xd(i))||(Qc(t=r.createElement("link"),"link",e),Ze(t),r.head.appendChild(t)))}},m:function(e,t){md.m(e,t);var n=gd;if(n&&e){var r=t&&"string"==typeof t.as?t.as:"script",o='link[rel="modulepreload"][as="'+yt(r)+'"][href="'+yt(e)+'"]',i=o;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=Sd(e)}if(!fd.has(i)&&(e=I({rel:"modulepreload",href:e},t),fd.set(i,e),null===n.querySelector(o))){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(xd(i)))return}Qc(r=n.createElement("link"),"link",e),Ze(r),n.head.appendChild(r)}}},X:function(e,t){md.X(e,t);var n=gd;if(n&&e){var r=Xe(n).hoistableScripts,o=Sd(e),i=r.get(o);i||((i=n.querySelector(xd(o)))||(e=I({src:e,async:!0},t),(t=fd.get(o))&&Td(e,t),Ze(i=n.createElement("script")),Qc(i,"link",e),n.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},r.set(o,i))}},S:function(e,t,n){md.S(e,t,n);var r=gd;if(r&&e){var o=Xe(r).hoistableStyles,i=bd(e);t=t||"default";var a=o.get(i);if(!a){var s={loading:0,preload:null};if(a=r.querySelector(wd(i)))s.loading=5;else{e=I({rel:"stylesheet",href:e,"data-precedence":t},n),(n=fd.get(i))&&Ed(e,n);var l=a=r.createElement("link");Ze(l),Qc(l,"link",e),l._p=new Promise(((e,t)=>{l.onload=e,l.onerror=t})),l.addEventListener("load",(()=>{s.loading|=1})),l.addEventListener("error",(()=>{s.loading|=2})),s.loading|=4,Cd(a,t,r)}a={type:"stylesheet",instance:a,count:1,state:s},o.set(i,a)}}},M:function(e,t){md.M(e,t);var n=gd;if(n&&e){var r=Xe(n).hoistableScripts,o=Sd(e),i=r.get(o);i||((i=n.querySelector(xd(o)))||(e=I({src:e,async:!0,type:"module"},t),(t=fd.get(o))&&Td(e,t),Ze(i=n.createElement("script")),Qc(i,"link",e),n.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},r.set(o,i))}}};var gd="undefined"==typeof document?null:document;function yd(e,t,n){var r=gd;if(r&&"string"==typeof t&&t){var o=yt(t);o='link[rel="'+e+'"][href="'+o+'"]',"string"==typeof n&&(o+='[crossorigin="'+n+'"]'),hd.has(o)||(hd.add(o),e={rel:e,crossOrigin:n,href:t},null===r.querySelector(o)&&(Qc(t=r.createElement("link"),"link",e),Ze(t),r.head.appendChild(t)))}}function vd(e,t,n,o){var i,a,s,l,u=(u=Z.current)?pd(u):null;if(!u)throw Error(r(446));switch(e){case"meta":case"title":return null;case"style":return"string"==typeof n.precedence&&"string"==typeof n.href?(t=bd(n.href),(o=(n=Xe(u).hoistableStyles).get(t))||(o={type:"style",instance:null,count:0,state:null},n.set(t,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===n.rel&&"string"==typeof n.href&&"string"==typeof n.precedence){e=bd(n.href);var c=Xe(u).hoistableStyles,d=c.get(e);if(d||(u=u.ownerDocument||u,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(e,d),(c=u.querySelector(wd(e)))&&!c._p&&(d.instance=c,d.state.loading=5),fd.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},fd.set(e,n),c||(i=u,a=e,s=n,l=d.state,i.querySelector('link[rel="preload"][as="style"]['+a+"]")?l.loading=1:(a=i.createElement("link"),l.preload=a,a.addEventListener("load",(()=>l.loading|=1)),a.addEventListener("error",(()=>l.loading|=2)),Qc(a,"link",s),Ze(a),i.head.appendChild(a))))),t&&null===o)throw Error(r(528,""));return d}if(t&&null!==o)throw Error(r(529,""));return null;case"script":return t=n.async,"string"==typeof(n=n.src)&&t&&"function"!=typeof t&&"symbol"!=typeof t?(t=Sd(n),(o=(n=Xe(u).hoistableScripts).get(t))||(o={type:"script",instance:null,count:0,state:null},n.set(t,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,e))}}function bd(e){return'href="'+yt(e)+'"'}function wd(e){return'link[rel="stylesheet"]['+e+"]"}function kd(e){return I({},e,{"data-precedence":e.precedence,precedence:null})}function Sd(e){return'[src="'+yt(e)+'"]'}function xd(e){return"script[async]"+e}function _d(e,t,n){if(t.count++,null===t.instance)switch(t.type){case"style":var o=e.querySelector('style[data-href~="'+yt(n.href)+'"]');if(o)return t.instance=o,Ze(o),o;var i=I({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return Ze(o=(e.ownerDocument||e).createElement("style")),Qc(o,"style",i),Cd(o,n.precedence,e),t.instance=o;case"stylesheet":i=bd(n.href);var a=e.querySelector(wd(i));if(a)return t.state.loading|=4,t.instance=a,Ze(a),a;o=kd(n),(i=fd.get(i))&&Ed(o,i),Ze(a=(e.ownerDocument||e).createElement("link"));var s=a;return s._p=new Promise(((e,t)=>{s.onload=e,s.onerror=t})),Qc(a,"link",o),t.state.loading|=4,Cd(a,n.precedence,e),t.instance=a;case"script":return a=Sd(n.src),(i=e.querySelector(xd(a)))?(t.instance=i,Ze(i),i):(o=n,(i=fd.get(a))&&Td(o=I({},n),i),Ze(i=(e=e.ownerDocument||e).createElement("script")),Qc(i,"link",o),e.head.appendChild(i),t.instance=i);case"void":return null;default:throw Error(r(443,t.type))}else"stylesheet"===t.type&&!(4&t.state.loading)&&(o=t.instance,t.state.loading|=4,Cd(o,n.precedence,e));return t.instance}function Cd(e,t,n){for(var r=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=r.length?r[r.length-1]:null,i=o,a=0;a<r.length;a++){var s=r[a];if(s.dataset.precedence===t)i=s;else if(i!==o)break}i?i.parentNode.insertBefore(e,i.nextSibling):(t=9===n.nodeType?n.head:n).insertBefore(e,t.firstChild)}function Ed(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.title&&(e.title=t.title)}function Td(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.integrity&&(e.integrity=t.integrity)}var Ad=null;function Pd(e,t,n){if(null===Ad){var r=new Map,o=Ad=new Map;o.set(n,r)}else(r=(o=Ad).get(n))||(r=new Map,o.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),o=0;o<n.length;o++){var i=n[o];if(!(i[Ke]||i[Ue]||"link"===e&&"stylesheet"===i.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==i.namespaceURI){var a=i.getAttribute(t)||"";a=e+a;var s=r.get(a);s?s.push(i):r.set(a,[i])}}return r}function Od(e,t,n){(e=e.ownerDocument||e).head.insertBefore(n,"title"===t?e.querySelector("head > title"):null)}function Rd(e){return!!("stylesheet"!==e.type||3&e.state.loading)}var Id=null;function Ld(){}function Md(){if(this.count--,0===this.count)if(this.stylesheets)Fd(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}var Dd=null;function Fd(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,Dd=new Map,t.forEach(Nd,e),Dd=null,Md.call(e))}function Nd(e,t){if(!(4&t.state.loading)){var n=Dd.get(e);if(n)var r=n.get(null);else{n=new Map,Dd.set(e,n);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<o.length;i++){var a=o[i];"LINK"!==a.nodeName&&"not all"===a.getAttribute("media")||(n.set(a.dataset.precedence,a),r=a)}r&&n.set(null,r)}a=(o=t.instance).getAttribute("data-precedence"),(i=n.get(a)||r)===r&&n.set(null,o),n.set(a,o),this.count++,r=Md.bind(this),o.addEventListener("load",r),o.addEventListener("error",r),i?i.parentNode.insertBefore(o,i.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(o,e.firstChild),t.state.loading|=4}}var jd={$$typeof:h,Provider:null,Consumer:null,_currentValue:W,_currentValue2:W,_threadCount:0};function zd(e,t,n,r,o,i,a,s){this.tag=1,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Le(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Le(0),this.hiddenUpdates=Le(null),this.identifierPrefix=r,this.onUncaughtError=o,this.onCaughtError=i,this.onRecoverableError=a,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.incompleteTransitions=new Map}function Ud(e,t,n,r,o,i,a,s,l,u,c,d){return e=new zd(e,t,n,a,s,l,u,d),t=1,!0===i&&(t|=24),i=Nl(3,null,null,t),e.current=i,i.stateNode=e,(t=$o()).refCount++,e.pooledCache=t,t.refCount++,i.memoizedState={element:r,isDehydrated:n,cache:t},Rs(i),e}function Vd(e){return e?e=Mr:Mr}function Bd(e,t,n,r,o,i){o=Vd(o),null===r.context?r.context=o:r.pendingContext=o,(r=Ls(t)).payload={element:n},null!==(i=void 0===i?null:i)&&(r.callback=i),null!==(n=Ms(e,r,t))&&(Mu(n,0,t),Ds(n,e,t))}function $d(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Hd(e,t){$d(e,t),(e=e.alternate)&&$d(e,t)}function Wd(e){if(13===e.tag){var t=Rr(e,67108864);null!==t&&Mu(t,0,67108864),Hd(e,67108864)}}var qd=!0;function Kd(e,t,n,r){var o=O.T;O.T=null;var i=H.p;try{H.p=2,Yd(e,t,n,r)}finally{H.p=i,O.T=o}}function Qd(e,t,n,r){var o=O.T;O.T=null;var i=H.p;try{H.p=8,Yd(e,t,n,r)}finally{H.p=i,O.T=o}}function Yd(e,t,n,r){if(qd){var o=Gd(r);if(null===o)Fc(e,t,r,Jd,n),uf(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return tf=cf(tf,e,t,n,r,o),!0;case"dragenter":return nf=cf(nf,e,t,n,r,o),!0;case"mouseover":return rf=cf(rf,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return of.set(i,cf(of.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,af.set(i,cf(af.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(uf(e,r),4&t&&-1<lf.indexOf(e)){for(;null!==o;){var i=Ge(o);if(null!==i)switch(i.tag){case 3:if((i=i.stateNode).current.memoizedState.isDehydrated){var a=Te(i.pendingLanes);if(0!==a){var s=i;for(s.pendingLanes|=2,s.entangledLanes|=2;a;){var l=1<<31-Se(a);s.entanglements[1]|=l,a&=~l}yc(i),!(6&nu)&&(Su=ce()+500,vc(0))}}break;case 13:null!==(s=Rr(i,2))&&Mu(s,0,2),Uu(),Hd(i,2)}if(null===(i=Gd(r))&&Fc(e,t,r,Jd,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else Fc(e,t,r,null,n)}}function Gd(e){return Xd(e=Lt(e))}var Jd=null;function Xd(e){if(Jd=null,null!==(e=Ye(e))){var t=z(e);if(null===t)e=null;else{var n=t.tag;if(13===n){if(null!==(e=U(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 Jd=e,null}function Zd(e){switch(e){case"beforetoggle":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"toggle":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 2;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(de()){case fe:return 2;case he:return 8;case pe:case me:return 32;case ge:return 268435456;default:return 32}default:return 32}}var ef=!1,tf=null,nf=null,rf=null,of=new Map,af=new Map,sf=[],lf="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".split(" ");function uf(e,t){switch(e){case"focusin":case"focusout":tf=null;break;case"dragenter":case"dragleave":nf=null;break;case"mouseover":case"mouseout":rf=null;break;case"pointerover":case"pointerout":of.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":af.delete(t.pointerId)}}function cf(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=Ge(t))&&Wd(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function df(e){var t=Ye(e.target);if(null!==t){var n=z(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=U(n)))return e.blockedOn=t,void function(e,t){var n=H.p;try{return H.p=e,t()}finally{H.p=n}}(e.priority,(()=>{if(13===n.tag){var e=Iu(),t=Rr(n,e);null!==t&&Mu(t,0,e),Hd(n,e)}}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function ff(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Gd(e.nativeEvent);if(null!==n)return null!==(t=Ge(n))&&Wd(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);It=r,n.target.dispatchEvent(r),It=null,t.shift()}return!0}function hf(e,t,n){ff(e)&&n.delete(t)}function pf(){ef=!1,null!==tf&&ff(tf)&&(tf=null),null!==nf&&ff(nf)&&(nf=null),null!==rf&&ff(rf)&&(rf=null),of.forEach(hf),af.forEach(hf)}function mf(t,n){t.blockedOn===n&&(t.blockedOn=null,ef||(ef=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,pf)))}var gf=null;function yf(t){gf!==t&&(gf=t,e.unstable_scheduleCallback(e.unstable_NormalPriority,(()=>{gf===t&&(gf=null);for(var e=0;e<t.length;e+=3){var n=t[e],r=t[e+1],o=t[e+2];if("function"!=typeof r){if(null===Xd(r||n))continue;break}var i=Ge(n);null!==i&&(t.splice(e,3),e-=3,ha(i,{pending:!0,data:o,method:n.method,action:r},r,o))}})))}function vf(e){function t(t){return mf(t,e)}null!==tf&&mf(tf,e),null!==nf&&mf(nf,e),null!==rf&&mf(rf,e),of.forEach(t),af.forEach(t);for(var n=0;n<sf.length;n++){var r=sf[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<sf.length&&null===(n=sf[0]).blockedOn;)df(n),null===n.blockedOn&&sf.shift();if(null!=(n=(e.ownerDocument||e).$$reactFormReplay))for(r=0;r<n.length;r+=3){var o=n[r],i=n[r+1],a=o[Ve]||null;if("function"==typeof i)a||yf(n);else if(a){var s=null;if(i&&i.hasAttribute("formAction")){if(o=i,a=i[Ve]||null)s=a.formAction;else if(null!==Xd(o))continue}else s=a.action;"function"==typeof s?n[r+1]=s:(n.splice(r,3),r-=3),yf(n)}}}function bf(e){this._internalRoot=e}function wf(e){this._internalRoot=e}wf.prototype.render=bf.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(r(409));Bd(t.current,Iu(),e,t,null,null)},wf.prototype.unmount=bf.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;0===e.tag&&rc(),Bd(e.current,2,null,e,null,null),Uu(),t[Be]=null}},wf.prototype.unstable_scheduleHydration=e=>{if(e){var t=je();e={blockedOn:null,target:e,priority:t};for(var n=0;n<sf.length&&0!==t&&t<sf[n].priority;n++);sf.splice(n,0,e),0===n&&df(e)}};var kf=t.version;if("19.0.0"!==kf)throw Error(r(527,kf,"19.0.0"));H.findDOMNode=e=>{var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(r(188));throw e=Object.keys(e).join(","),Error(r(268,e))}return e=function(e){var t=e.alternate;if(!t){if(null===(t=z(e)))throw Error(r(188));return t!==e?null:e}for(var n=e,o=t;;){var i=n.return;if(null===i)break;var a=i.alternate;if(null===a){if(null!==(o=i.return)){n=o;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return V(i),e;if(a===o)return V(i),t;a=a.sibling}throw Error(r(188))}if(n.return!==o.return)n=i,o=a;else{for(var s=!1,l=i.child;l;){if(l===n){s=!0,n=i,o=a;break}if(l===o){s=!0,o=i,n=a;break}l=l.sibling}if(!s){for(l=a.child;l;){if(l===n){s=!0,n=a,o=i;break}if(l===o){s=!0,o=a,n=i;break}l=l.sibling}if(!s)throw Error(r(189))}}if(n.alternate!==o)throw Error(r(190))}if(3!==n.tag)throw Error(r(188));return n.stateNode.current===n?e:t}(t),null===(e=null!==e?B(e):null)?null:e.stateNode};var Sf={bundleType:0,version:"19.0.0",rendererPackageName:"react-dom",currentDispatcherRef:O,findFiberByHostInstance:Ye,reconcilerVersion:"19.0.0"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var xf=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!xf.isDisabled&&xf.supportsFiber)try{be=xf.inject(Sf),we=xf}catch(e){}}return k.createRoot=(e,t)=>{if(!o(e))throw Error(r(299));var n=!1,i="",a=Na,s=ja,l=za;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(i=t.identifierPrefix),void 0!==t.onUncaughtError&&(a=t.onUncaughtError),void 0!==t.onCaughtError&&(s=t.onCaughtError),void 0!==t.onRecoverableError&&(l=t.onRecoverableError),void 0!==t.unstable_transitionCallbacks&&t.unstable_transitionCallbacks),t=Ud(e,1,!1,null,0,n,i,a,s,l,0,null),e[Be]=t.current,Mc(8===e.nodeType?e.parentNode:e),new bf(t)},k.hydrateRoot=(e,t,n)=>{if(!o(e))throw Error(r(299));var i=!1,a="",s=Na,l=ja,u=za,c=null;return null!=n&&(!0===n.unstable_strictMode&&(i=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onUncaughtError&&(s=n.onUncaughtError),void 0!==n.onCaughtError&&(l=n.onCaughtError),void 0!==n.onRecoverableError&&(u=n.onRecoverableError),void 0!==n.unstable_transitionCallbacks&&n.unstable_transitionCallbacks,void 0!==n.formState&&(c=n.formState)),(t=Ud(e,1,!0,t,0,i,a,s,l,u,0,c)).context=Vd(null),n=t.current,(a=Ls(i=Iu())).callback=null,Ms(n,a,i),t.current.lanes=i,Me(t,i),yc(t),e[Be]=t.current,Mc(e),new wf(t)},k.version="19.0.0",k}()):w.exports=(M||(M=1,"production"!==process.env.NODE_ENV&&function(){function e(e,t){for(e=e.memoizedState;null!==e&&0<t;)e=e.next,t--;return e}function t(e,n,r,o){if(r>=n.length)return o;var i=n[r],a=Bc(e)?e.slice():Mc({},e);return a[i]=t(e[i],n,r+1,o),a}function n(e,t,n){if(t.length===n.length){for(var o=0;o<n.length-1;o++)if(t[o]!==n[o])return void console.warn("copyWithRename() expects paths to be the same except for the deepest key");return r(e,t,n,0)}console.warn("copyWithRename() expects paths of the same length")}function r(e,t,n,o){var i=t[o],a=Bc(e)?e.slice():Mc({},e);return o+1===t.length?(a[n[o]]=a[i],Bc(a)?a.splice(i,1):delete a[i]):a[i]=r(e[i],t,n,o+1),a}function o(e,t,n){var r=t[n],i=Bc(e)?e.slice():Mc({},e);return n+1===t.length?(Bc(i)?i.splice(r,1):delete i[r],i):(i[r]=o(e[r],t,n+1),i)}function i(){return!1}function a(){return null}function s(e,t,n,r){return new Ga(e,t,n,r)}function l(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function u(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function c(){}function d(){}function f(e){var t=[];return e.forEach((e=>{t.push(e)})),t.sort().join(", ")}function h(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function p(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Rc&&e[Rc]||e["@@iterator"])?e:null}function g(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===Ic?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case vc:return"Fragment";case yc:return"Portal";case wc:return"Profiler";case bc:return"StrictMode";case Cc:return"Suspense";case Ec:return"SuspenseList"}if("object"==typeof e)switch("number"==typeof e.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case xc:return(e.displayName||"Context")+".Provider";case Sc:return(e._context.displayName||"Context")+".Consumer";case _c:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case Tc:return null!==(t=e.displayName||null)?t:g(e.type)||"Memo";case Ac:t=e._payload,e=e._init;try{return g(e(t))}catch(e){}}return null}function y(e){return"number"==typeof e.tag?v(e):"string"==typeof e.name?e.name:null}function v(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t._context.displayName||"Context")+".Consumer";case 10:return(t.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 26:case 27:case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return g(t);case 8:return t===bc?"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 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t;break;case 29:if(null!=(t=e._debugInfo))for(var n=t.length-1;0<=n;n--)if("string"==typeof t[n].name)return t[n].name;if(null!==e.return)return v(e.return)}return null}function b(){}function w(e){if(void 0===Fc)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Fc=t&&t[1]||"",Nc=-1<e.stack.indexOf("\n    at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+Fc+e+Nc}function k(e,t){if(!e||jc)return"";var n,r=zc.get(e);if(void 0!==r)return r;jc=!0,r=Error.prepareStackTrace,Error.prepareStackTrace=void 0,n=Lc.H,Lc.H=null,function(){if(0===Dc){ic=console.log,ac=console.info,sc=console.warn,lc=console.error,uc=console.group,cc=console.groupCollapsed,dc=console.groupEnd;var e={configurable:!0,enumerable:!0,value:b,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Dc++}();try{var o={DetermineComponentFrameRoot:()=>{try{if(t){var n=()=>{throw Error()};if(Object.defineProperty(n.prototype,"props",{set:()=>{throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&"function"==typeof n.catch&&n.catch((()=>{}))}}catch(e){if(e&&r&&"string"==typeof e.stack)return[e.stack,r.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var a=o.DetermineComponentFrameRoot(),s=a[0],l=a[1];if(s&&l){var u=s.split("\n"),c=l.split("\n");for(a=i=0;i<u.length&&!u[i].includes("DetermineComponentFrameRoot");)i++;for(;a<c.length&&!c[a].includes("DetermineComponentFrameRoot");)a++;if(i===u.length||a===c.length)for(i=u.length-1,a=c.length-1;1<=i&&0<=a&&u[i]!==c[a];)a--;for(;1<=i&&0<=a;i--,a--)if(u[i]!==c[a]){if(1!==i||1!==a)do{if(i--,0>--a||u[i]!==c[a]){var d="\n"+u[i].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),"function"==typeof e&&zc.set(e,d),d}}while(1<=i&&0<=a);break}}}finally{jc=!1,Lc.H=n,function(){if(0==--Dc){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Mc({},e,{value:ic}),info:Mc({},e,{value:ac}),warn:Mc({},e,{value:sc}),error:Mc({},e,{value:lc}),group:Mc({},e,{value:uc}),groupCollapsed:Mc({},e,{value:cc}),groupEnd:Mc({},e,{value:dc})})}0>Dc&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=r}return u=(u=e?e.displayName||e.name:"")?w(u):"","function"==typeof e&&zc.set(e,u),u}function S(e){switch(e.tag){case 26:case 27:case 5:return w(e.type);case 16:return w("Lazy");case 13:return w("Suspense");case 19:return w("SuspenseList");case 0:case 15:return k(e.type,!1);case 11:return k(e.type.render,!1);case 1:return k(e.type,!0);default:return""}}function x(e){try{var t="";do{t+=S(e);var n=e._debugInfo;if(n)for(var r=n.length-1;0<=r;r--){var o=n[r];if("string"==typeof o.name){var i=t,a=o.env;t=i+w(o.name+(a?" ["+a+"]":""))}}e=e.return}while(e);return t}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}function _(){if(null===Uc)return null;var e=Uc._debugOwner;return null!=e?y(e):null}function E(){return null===Uc?"":x(Uc)}function T(e,t,n,r,o,i,a){var s=Uc;Lc.getCurrentStack=null===e?null:E,Vc=!1,Uc=e;try{return t(n,r,o,i,a)}finally{Uc=s}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function A(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 P(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 O(e){if(A(e)!==e)throw Error("Unable to find node on an unmounted component.")}function R(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e;for(e=e.child;null!==e;){if(null!==(t=R(e)))return t;e=e.sibling}return null}function I(e){return{current:e}}function M(e,t){0>Kc?console.error("Unexpected pop."):(t!==qc[Kc]&&console.error("Unexpected Fiber popped."),e.current=Wc[Kc],Wc[Kc]=null,qc[Kc]=null,Kc--)}function D(e,t,n){Kc++,Wc[Kc]=e.current,qc[Kc]=n,e.current=t}function N(e){return null===e&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function j(e,t){D(Gc,t,e),D(Yc,e,e),D(Qc,null,e);var n=t.nodeType;switch(n){case 9:case 11:n=9===n?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?Bl(t):cb;break;default:if(n=(t=8===n?t.parentNode:t).tagName,t=t.namespaceURI)t=$l(t=Bl(t),n);else switch(n){case"svg":t=db;break;case"math":t=fb;break;default:t=cb}}n={context:t,ancestorInfo:n=ct(null,n=n.toLowerCase())},M(Qc,e),D(Qc,n,e)}function z(e){M(Qc,e),M(Yc,e),M(Gc,e)}function U(){return N(Qc.current)}function V(e){null!==e.memoizedState&&D(Jc,e,e);var t=N(Qc.current),n=e.type,r=$l(t.context,n);t!==(r={context:r,ancestorInfo:n=ct(t.ancestorInfo,n)})&&(D(Yc,e,e),D(Qc,r,e))}function B(e){Yc.current===e&&(M(Qc,e),M(Yc,e)),Jc.current===e&&(M(Jc,e),Wb._currentValue=Hb)}function $(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function H(e){try{return W(e),!1}catch(e){return!0}}function W(e){return""+e}function q(e,t){if(H(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,$(e)),W(e)}function K(e,t){if(H(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,$(e)),W(e)}function Q(e){if(H(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.",$(e)),W(e)}function Y(e){if("function"==typeof cd&&dd(e),hd&&"function"==typeof hd.setStrictMode)try{hd.setStrictMode(fd,e)}catch(e){md||(md=!0,console.error("React instrumentation encountered an error: %s",e))}}function G(){null!==pd&&"function"==typeof pd.markCommitStopped&&pd.markCommitStopped()}function J(e){null!==pd&&"function"==typeof pd.markComponentRenderStarted&&pd.markComponentRenderStarted(e)}function X(){null!==pd&&"function"==typeof pd.markComponentRenderStopped&&pd.markComponentRenderStopped()}function Z(e){null!==pd&&"function"==typeof pd.markRenderStarted&&pd.markRenderStarted(e)}function ee(){null!==pd&&"function"==typeof pd.markRenderStopped&&pd.markRenderStopped()}function te(e,t){null!==pd&&"function"==typeof pd.markStateUpdateScheduled&&pd.markStateUpdateScheduled(e,t)}function ne(e){return 1&e?"SyncHydrationLane":2&e?"Sync":4&e?"InputContinuousHydration":8&e?"InputContinuous":16&e?"DefaultHydration":32&e?"Default":64&e?"TransitionHydration":4194176&e?"Transition":62914560&e?"Retry":67108864&e?"SelectiveHydration":134217728&e?"IdleHydration":268435456&e?"Idle":536870912&e?"Offscreen":1073741824&e?"Deferred":void 0}function re(e){var t=42&e;if(0!==t)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 4194176&e;case 4194304:case 8388608:case 16777216:case 33554432:return 62914560&e;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 oe(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=e.warmLanes;e=0!==e.finishedLanes;var s=134217727&n;return 0!==s?0!=(n=s&~o)?r=re(n):0!=(i&=s)?r=re(i):e||0!=(a=s&~a)&&(r=re(a)):0!=(s=n&~o)?r=re(s):0!==i?r=re(i):e||0!=(a=n&~a)&&(r=re(a)),0===r?0:0===t||t===r||t&o||!((o=r&-r)>=(a=t&-t)||32===o&&4194176&a)?r:t}function ie(e,t){return!(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function ae(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: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 se(){var e=wd;return!(4194176&(wd<<=1))&&(wd=128),e}function le(){var e=kd;return!(62914560&(kd<<=1))&&(kd=4194304),e}function ue(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ce(e,t){e.pendingLanes|=t,268435456!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function de(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-yd(t);e.entangledLanes|=t,e.entanglements[r]=1073741824|e.entanglements[r]|4194218&n}function fe(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-yd(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}function he(e,t,n){if(gd)for(e=e.pendingUpdatersLaneMap;0<n;){var r=31-yd(n),o=1<<r;e[r].add(t),n&=~o}}function pe(e,t){if(gd)for(var n=e.pendingUpdatersLaneMap,r=e.memoizedUpdaters;0<t;){var o=31-yd(t);e=1<<o,0<(o=n[o]).size&&(o.forEach((e=>{var t=e.alternate;null!==t&&r.has(t)||r.add(e)})),o.clear()),t&=~e}}function me(e){return Sd<(e&=-e)?xd<e?134217727&e?_d:Cd:xd:Sd}function ge(){var e=$c.p;return 0!==e?e:void 0===(e=window.event)?_d:qu(e.type)}function ye(e){delete e[Td],delete e[Ad],delete e[Od],delete e[Rd],delete e[Id]}function ve(e){var t=e[Td];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Pd]||n[Td]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=lu(e);null!==e;){if(n=e[Td])return n;e=lu(e)}return t}n=(e=n).parentNode}return null}function be(e){if(e=e[Td]||e[Pd]){var t=e.tag;if(5===t||6===t||13===t||26===t||27===t||3===t)return e}return null}function we(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function ke(e){var t=e[Ld];return t||(t=e[Ld]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Se(e){e[Md]=!0}function xe(e,t){_e(e,t),_e(e+"Capture",t)}function _e(e,t){Fd[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Fd[e]=t;var n=e.toLowerCase();for(Nd[n]=e,"onDoubleClick"===e&&(Nd.ondblclick=e),e=0;e<t.length;e++)Dd.add(t[e])}function Ce(e,t){zd[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||null==t.value||("select"===e?console.error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`."):console.error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")),t.onChange||t.readOnly||t.disabled||null==t.checked||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Ee(e){return!!Xc.call(Bd,e)||!Xc.call(Vd,e)&&(Ud.test(e)?Bd[e]=!0:(Vd[e]=!0,console.error("Invalid attribute name: `%s`",e),!1))}function Te(e,t,n){if(Ee(t)){if(!e.hasAttribute(t)){switch(typeof n){case"symbol":case"object":case"function":return n;case"boolean":if(!1===n)return n}return void 0===n?void 0:null}return""===(e=e.getAttribute(t))&&!0===n||(q(n,t),e===""+n?n:e)}}function Ae(e,t,n){if(Ee(t))if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":return void e.removeAttribute(t);case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return void e.removeAttribute(t)}q(n,t),e.setAttribute(t,""+n)}}function Pe(e,t,n){if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(t)}q(n,t),e.setAttribute(t,""+n)}}function Oe(e,t,n,r){if(null===r)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(n)}q(r,n),e.setAttributeNS(t,n,""+r)}}function Re(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return Q(e),e;default:return""}}function Ie(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Le(e){e._valueTracker||(e._valueTracker=function(e){var t=Ie(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);Q(e[t]);var 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){Q(e),r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:()=>r,setValue:e=>{Q(e),r=""+e},stopTracking:()=>{e._valueTracker=null,delete e[t]}}}}(e))}function Me(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ie(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function De(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 Fe(e){return e.replace($d,(e=>"\\"+e.charCodeAt(0).toString(16)+" "))}function Ne(e,t){void 0===t.checked||void 0===t.defaultChecked||Wd||(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",_()||"A component",t.type),Wd=!0),void 0===t.value||void 0===t.defaultValue||Hd||(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",_()||"A component",t.type),Hd=!0)}function je(e,t,n,r,o,i,a,s){e.name="",null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a?(q(a,"type"),e.type=a):e.removeAttribute("type"),null!=t?"number"===a?(0===t&&""===e.value||e.value!=t)&&(e.value=""+Re(t)):e.value!==""+Re(t)&&(e.value=""+Re(t)):"submit"!==a&&"reset"!==a||e.removeAttribute("value"),null!=t?Ue(e,a,Re(t)):null!=n?Ue(e,a,Re(n)):null!=r&&e.removeAttribute("value"),null==o&&null!=i&&(e.defaultChecked=!!i),null!=o&&(e.checked=o&&"function"!=typeof o&&"symbol"!=typeof o),null!=s&&"function"!=typeof s&&"symbol"!=typeof s&&"boolean"!=typeof s?(q(s,"name"),e.name=""+Re(s)):e.removeAttribute("name")}function ze(e,t,n,r,o,i,a,s){if(null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i&&(q(i,"type"),e.type=i),null!=t||null!=n){if(("submit"===i||"reset"===i)&&null==t)return;n=null!=n?""+Re(n):"",t=null!=t?""+Re(t):n,s||t===e.value||(e.value=t),e.defaultValue=t}r="function"!=typeof(r=null!=r?r:o)&&"symbol"!=typeof r&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a&&(q(a,"name"),e.name=a)}function Ue(e,t,n){"number"===t&&De(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function Ve(e,t){null==t.value&&("object"==typeof t.children&&null!==t.children?hc.Children.forEach(t.children,(e=>{null==e||"string"==typeof e||"number"==typeof e||"bigint"==typeof e||Kd||(Kd=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))})):null==t.dangerouslySetInnerHTML||Qd||(Qd=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),null==t.selected||qd||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),qd=!0)}function Be(){var e=_();return e?"\n\nCheck the render method of `"+e+"`.":""}function $e(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=""+Re(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 He(e,t){for(e=0;e<Gd.length;e++){var n=Gd[e];if(null!=t[n]){var r=Bc(t[n]);t.multiple&&!r?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,Be()):!t.multiple&&r&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,Be())}}void 0===t.value||void 0===t.defaultValue||Yd||(console.error("Select 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 select element and remove one of these props. More info: https://react.dev/link/controlled-components"),Yd=!0)}function We(e,t){void 0===t.value||void 0===t.defaultValue||Jd||(console.error("%s contains a textarea with both value and defaultValue props. Textarea 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 textarea and remove one of these props. More info: https://react.dev/link/controlled-components",_()||"A component"),Jd=!0),null!=t.children&&null==t.value&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function qe(e,t,n){null==t||((t=""+Re(t))!==e.value&&(e.value=t),null!=n)?e.defaultValue=null!=n?""+Re(n):"":e.defaultValue!==t&&(e.defaultValue=t)}function Ke(e,t,n,r){if(null==t){if(null!=r){if(null!=n)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Bc(r)){if(1<r.length)throw Error("<textarea> can only have at most one child.");r=r[0]}n=r}null==n&&(n=""),t=n}n=Re(t),e.defaultValue=n,(r=e.textContent)===n&&""!==r&&null!==r&&(e.value=r)}function Qe(e,t){return void 0===e.serverProps&&0===e.serverTail.length&&1===e.children.length&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?Qe(e.children[0],t):e}function Ye(e){return"  "+"  ".repeat(e)}function Ge(e){return"+ "+"  ".repeat(e)}function Je(e){return"- "+"  ".repeat(e)}function Xe(e){switch(e.tag){case 26:case 27:case 5:return e.type;case 16:return"Lazy";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:case 1:return(e=e.type).displayName||e.name||null;case 11:return(e=e.type.render).displayName||e.name||null;default:return null}}function Ze(e,t){return Xd.test(e)?(e=JSON.stringify(e)).length>t-2?8>t?'{"..."}':"{"+e.slice(0,t-7)+'..."}':"{"+e+"}":e.length>t?5>t?'{"..."}':e.slice(0,t-3)+"...":e}function et(e,t,n){var r=120-2*n;if(null===t)return Ge(n)+Ze(e,r)+"\n";if("string"==typeof t){for(var o=0;o<t.length&&o<e.length&&t.charCodeAt(o)===e.charCodeAt(o);o++);return o>r-8&&10<o&&(e="..."+e.slice(o-8),t="..."+t.slice(o-8)),Ge(n)+Ze(e,r)+"\n"+Je(n)+Ze(t,r)+"\n"}return Ye(n)+Ze(e,r)+"\n"}function tt(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,((e,t)=>t))}function nt(e,t){switch(typeof e){case"string":return(e=JSON.stringify(e)).length>t?5>t?'"..."':e.slice(0,t-4)+'..."':e;case"object":if(null===e)return"null";if(Bc(e))return"[...]";if(e.$$typeof===gc)return(t=g(e.type))?"<"+t+">":"<...>";var n=tt(e);if("Object"===n){for(var r in n="",t-=2,e)if(e.hasOwnProperty(r)){var o=JSON.stringify(r);if(o!=='"'+r+'"'&&(r=o),t-=r.length-2,0>(t-=(o=nt(e[r],15>t?t:15)).length)){n+=""===n?"...":", ...";break}n+=(""===n?"":",")+r+":"+o}return"{"+n+"}"}return n;case"function":return(t=e.displayName||e.name)?"function "+t:"function";default:return String(e)}}function rt(e,t){return"string"!=typeof e||Xd.test(e)?"{"+nt(e,t-2)+"}":e.length>t-2?5>t?'"..."':'"'+e.slice(0,t-5)+'..."':'"'+e+'"'}function ot(e,t,n){var r,o=120-n.length-e.length,i=[];for(r in t)if(t.hasOwnProperty(r)&&"children"!==r){var a=rt(t[r],120-n.length-r.length-1);o-=r.length+a.length+2,i.push(r+"="+a)}return 0===i.length?n+"<"+e+">\n":0<o?n+"<"+e+" "+i.join(" ")+">\n":n+"<"+e+"\n"+n+"  "+i.join("\n"+n+"  ")+"\n"+n+">\n"}function it(e,t,n){var r,o="",i=Mc({},t);for(r in e)if(e.hasOwnProperty(r)){delete i[r];var a=120-2*n-r.length-2,s=nt(e[r],a);t.hasOwnProperty(r)?(a=nt(t[r],a),o+=Ge(n)+r+": "+s+"\n",o+=Je(n)+r+": "+a+"\n"):o+=Ge(n)+r+": "+s+"\n"}for(var l in i)i.hasOwnProperty(l)&&(e=nt(i[l],120-2*n-l.length-2),o+=Je(n)+l+": "+e+"\n");return o}function at(e,t){var n=Xe(e);if(null===n){for(n="",e=e.child;e;)n+=at(e,t),e=e.sibling;return n}return Ye(t)+"<"+n+">\n"}function st(e,t){var n=Qe(e,t);if(n!==e&&(1!==e.children.length||e.children[0]!==n))return Ye(t)+"...\n"+st(n,t+1);n="";var r=e.fiber._debugInfo;if(r)for(var o=0;o<r.length;o++){var i=r[o].name;"string"==typeof i&&(n+=Ye(t)+"<"+i+">\n",t++)}if(r="",o=e.fiber.pendingProps,6===e.fiber.tag)r=et(o,e.serverProps,t),t++;else if(null!==(i=Xe(e.fiber)))if(void 0===e.serverProps){var a=120-2*(r=t)-i.length-2,s="";for(u in o)if(o.hasOwnProperty(u)&&"children"!==u){var l=rt(o[u],15);if(0>(a-=u.length+l.length+2)){s+=" ...";break}s+=" "+u+"="+l}r=Ye(r)+"<"+i+s+">\n",t++}else null===e.serverProps?(r=ot(i,o,Ge(t)),t++):"string"==typeof e.serverProps?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(r=function(e,t,n,r){var o="",i=new Map;for(u in n)n.hasOwnProperty(u)&&i.set(u.toLowerCase(),u);if(1===i.size&&i.has("children"))o+=ot(e,t,Ye(r));else{for(var a in t)if(t.hasOwnProperty(a)&&"children"!==a){var s=120-2*(r+1)-a.length-1,l=i.get(a.toLowerCase());if(void 0!==l){i.delete(a.toLowerCase());var u=t[a];l=n[l];var c=rt(u,s);s=rt(l,s),"object"==typeof u&&null!==u&&"object"==typeof l&&null!==l&&"Object"===tt(u)&&"Object"===tt(l)&&(2<Object.keys(u).length||2<Object.keys(l).length||-1<c.indexOf("...")||-1<s.indexOf("..."))?o+=Ye(r+1)+a+"={{\n"+it(u,l,r+2)+Ye(r+1)+"}}\n":(o+=Ge(r+1)+a+"="+c+"\n",o+=Je(r+1)+a+"="+s+"\n")}else o+=Ye(r+1)+a+"="+rt(t[a],s)+"\n"}i.forEach((e=>{if("children"!==e){var t=120-2*(r+1)-e.length-1;o+=Je(r+1)+e+"="+rt(n[e],t)+"\n"}})),o=""===o?Ye(r)+"<"+e+">\n":Ye(r)+"<"+e+"\n"+o+Ye(r)+">\n"}return e=n.children,t=t.children,"string"==typeof e||"number"==typeof e||"bigint"==typeof e?(i="","string"!=typeof t&&"number"!=typeof t&&"bigint"!=typeof t||(i=""+t),o+=et(i,""+e,r+1)):"string"!=typeof t&&"number"!=typeof t&&"bigint"!=typeof t||(o=null==e?o+et(""+t,null,r+1):o+et(""+t,void 0,r+1)),o}(i,o,e.serverProps,t),t++);var u="";for(o=e.fiber.child,i=0;o&&i<e.children.length;)(a=e.children[i]).fiber===o?(u+=st(a,t),i++):u+=at(o,t),o=o.sibling;for(o&&0<e.children.length&&(u+=Ye(t)+"...\n"),o=e.serverTail,null===e.serverProps&&t--,e=0;e<o.length;e++)u="string"==typeof(i=o[e])?u+(Je(t)+Ze(i,120-2*t)+"\n"):u+ot(i.type,i.props,Je(t));return n+r+u}function lt(e){try{return"\n\n"+st(e,0)}catch(e){return""}}function ut(e,t,n){for(var r=t,o=null,i=0;r;)r===e&&(i=0),o={fiber:r,children:null!==o?[o]:[],serverProps:r===t?n:r===e?null:void 0,serverTail:[],distanceFromLeaf:i},i++,r=r.return;return null!==o?lt(o).replaceAll(/^[+-]/gm,">"):""}function ct(e,t){e=Mc({},e||rf);var n={tag:t};return-1!==ef.indexOf(t)&&(e.aTagInScope=null,e.buttonTagInScope=null,e.nobrTagInScope=null),-1!==tf.indexOf(t)&&(e.pTagInButtonScope=null),-1!==Zd.indexOf(t)&&"address"!==t&&"div"!==t&&"p"!==t&&(e.listItemTagAutoclosing=null,e.dlItemTagAutoclosing=null),e.current=n,"form"===t&&(e.formTag=n),"a"===t&&(e.aTagInScope=n),"button"===t&&(e.buttonTagInScope=n),"nobr"===t&&(e.nobrTagInScope=n),"p"===t&&(e.pTagInButtonScope=n),"li"===t&&(e.listItemTagAutoclosing=n),"dd"!==t&&"dt"!==t||(e.dlItemTagAutoclosing=n),"#document"===t||"html"===t?e.containerTagInScope=null:e.containerTagInScope||(e.containerTagInScope=n),e}function dt(e,t){switch(t){case"select":return"hr"===e||"option"===e||"optgroup"===e||"#text"===e;case"optgroup":return"option"===e||"#text"===e;case"option":return"#text"===e;case"tr":return"th"===e||"td"===e||"style"===e||"script"===e||"template"===e;case"tbody":case"thead":case"tfoot":return"tr"===e||"style"===e||"script"===e||"template"===e;case"colgroup":return"col"===e||"template"===e;case"table":return"caption"===e||"colgroup"===e||"tbody"===e||"tfoot"===e||"thead"===e||"style"===e||"script"===e||"template"===e;case"head":return"base"===e||"basefont"===e||"bgsound"===e||"link"===e||"meta"===e||"title"===e||"noscript"===e||"noframes"===e||"style"===e||"script"===e||"template"===e;case"html":return"head"===e||"body"===e||"frameset"===e;case"frameset":return"frame"===e;case"#document":return"html"===e}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return"h1"!==t&&"h2"!==t&&"h3"!==t&&"h4"!==t&&"h5"!==t&&"h6"!==t;case"rp":case"rt":return-1===nf.indexOf(t);case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return null==t}return!0}function ft(e,t){for(;e;){switch(e.tag){case 5:case 26:case 27:if(e.type===t)return e}e=e.return}return null}function ht(e,t){var n=(t=t||rf).current;if(t=(n=dt(e,n&&n.tag)?null:n)?null:function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}(e,t),!(t=n||t))return!0;t=t.tag;var r=String(!!n)+"|"+e+"|"+t;if(of[r])return!1;of[r]=!0;var o=(r=Uc)?ft(r.return,t):null;return r=null!==r&&null!==o?ut(o,r,null):"",o="<"+e+">",n?(n="","table"===t&&"tr"===e&&(n+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error("In HTML, %s cannot be a child of <%s>.%s\nThis will cause a hydration error.%s",o,t,n,r)):console.error("In HTML, %s cannot be a descendant of <%s>.\nThis will cause a hydration error.%s",o,t,r),!1}function pt(e,t){if(dt("#text",t))return!0;var n="#text|"+t;if(of[n])return!1;of[n]=!0;var r=(n=Uc)?ft(n,t):null;return n=null!==n&&null!==r?ut(r,n,6!==n.tag?{children:null}:null):"",/\S/.test(e)?console.error("In HTML, text nodes cannot be a child of <%s>.\nThis will cause a hydration error.%s",t,n):console.error("In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.\nThis will cause a hydration error.%s",t,n),!1}function mt(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function gt(e,t,n){var r=0===t.indexOf("--");r||(-1<t.indexOf("-")?mf.hasOwnProperty(t)&&mf[t]||(mf[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,function(e){return e.replace(hf,((e,t)=>t.toUpperCase()))}(t.replace(ff,"ms-")))):df.test(t)?mf.hasOwnProperty(t)&&mf[t]||(mf[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!pf.test(n)||gf.hasOwnProperty(n)&&gf[n]||(gf[n]=!0,console.error('Style property values shouldn\'t contain a semicolon. Try "%s: %s" instead.',t,n.replace(pf,""))),"number"==typeof n&&(isNaN(n)?yf||(yf=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(n)||vf||(vf=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),null==n||"boolean"==typeof n||""===n?r?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":r?e.setProperty(t,n):"number"!=typeof n||0===n||bf.has(t)?"float"===t?e.cssFloat=n:(K(n,t),e[t]=(""+n).trim()):e[t]=n+"px"}function yt(e,t,n){if(null!=t&&"object"!=typeof t)throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(t&&Object.freeze(t),e=e.style,null!=n){if(t){var r={};if(n)for(var o in n)if(n.hasOwnProperty(o)&&!t.hasOwnProperty(o))for(var i=lf[o]||[o],a=0;a<i.length;a++)r[i[a]]=o;for(var s in t)if(t.hasOwnProperty(s)&&(!n||n[s]!==t[s]))for(o=lf[s]||[s],i=0;i<o.length;i++)r[o[i]]=s;for(var l in s={},t)for(o=lf[l]||[l],i=0;i<o.length;i++)s[o[i]]=l;for(var u in l={},r)if(o=r[u],(i=s[u])&&o!==i&&!l[a=o+","+i]){l[a]=!0,a=console;var c=t[o];a.error.call(a,"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",null==c||"boolean"==typeof c||""===c?"Removing":"Updating",o,i)}}for(var d in n)!n.hasOwnProperty(d)||null!=t&&t.hasOwnProperty(d)||(0===d.indexOf("--")?e.setProperty(d,""):"float"===d?e.cssFloat="":e[d]="");for(var f in t)u=t[f],t.hasOwnProperty(f)&&n[f]!==u&&gt(e,f,u)}else for(r in t)t.hasOwnProperty(r)&&gt(e,r,t[r])}function vt(e){if(-1===e.indexOf("-"))return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function bt(e){return wf.get(e)||e}function wt(e,t){if(Xc.call(xf,t)&&xf[t])return!0;if(Cf.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),null==(e=Sf.hasOwnProperty(e)?e:null))return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),xf[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),xf[t]=!0}if(_f.test(t)){if(e=t.toLowerCase(),null==(e=Sf.hasOwnProperty(e)?e:null))return xf[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),xf[t]=!0)}return!0}function kt(e,t,n,r){if(Xc.call(Tf,t)&&Tf[t])return!0;var o=t.toLowerCase();if("onfocusin"===o||"onfocusout"===o)return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Tf[t]=!0;if("function"==typeof n&&("form"===e&&"action"===t||"input"===e&&"formAction"===t||"button"===e&&"formAction"===t))return!0;if(null!=r){if(e=r.possibleRegistrationNames,r.registrationNameDependencies.hasOwnProperty(t))return!0;if(null!=(r=e.hasOwnProperty(o)?e[o]:null))return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,r),Tf[t]=!0;if(Af.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),Tf[t]=!0}else if(Af.test(t))return Pf.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Tf[t]=!0;if(Of.test(t)||Rf.test(t))return!0;if("innerhtml"===o)return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Tf[t]=!0;if("aria"===o)return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Tf[t]=!0;if("is"===o&&null!=n&&"string"!=typeof n)return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),Tf[t]=!0;if("number"==typeof n&&isNaN(n))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Tf[t]=!0;if(kf.hasOwnProperty(o)){if((o=kf[o])!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,o),Tf[t]=!0}else if(t!==o)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,o),Tf[t]=!0;switch(t){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"innerText":case"textContent":return!0}switch(typeof n){case"boolean":switch(t){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:return"data-"===(o=t.toLowerCase().slice(0,5))||"aria-"===o||(n?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',n,t,t,n,t):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',n,t,t,n,t,t,t),Tf[t]=!0)}case"function":case"symbol":return Tf[t]=!0,!1;case"string":if("false"===n||"true"===n){switch(t){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,"false"===n?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,n),Tf[t]=!0}}return!0}function St(e){return If.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function xt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function _t(e){var t=be(e);if(t&&(e=t.stateNode)){var n=e[Ad]||null;e:switch(e=t.stateNode,t.type){case"input":if(je(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(q(t,"name"),n=n.querySelectorAll('input[name="'+Fe(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=r[Ad]||null;if(!o)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");je(r,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(t=0;t<n.length;t++)(r=n[t]).form===e.form&&Me(r)}break e;case"textarea":qe(e,n.value,n.defaultValue);break e;case"select":null!=(t=n.value)&&$e(e,!!n.multiple,t,!1)}}}function Ct(e,t,n){if(Ff)return e(t,n);Ff=!0;try{return e(t)}finally{if(Ff=!1,(null!==Mf||null!==Df)&&(xs(),Mf&&(t=Mf,e=Df,Df=Mf=null,_t(t),e)))for(t=0;t<e.length;t++)_t(e[t])}}function Et(e,t){var n=e.stateNode;if(null===n)return null;var r=n[Ad]||null;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("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof n+"` type.");return n}function Tt(){if(Hf)return Hf;var e,t,n=$f,r=n.length,o="value"in Bf?Bf.value:Bf.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 Hf=o.slice(e,1<t?1-t:void 0)}function At(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 Pt(){return!0}function Ot(){return!1}function Rt(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)?Pt:Ot,this.isPropagationStopped=Ot,this}return Mc(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=Pt)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Pt)},persist:()=>{},isPersistent:Pt}),t}function It(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=ih[e])&&!!t[e]}function Lt(){return It}function Mt(e,t){switch(e){case"keyup":return-1!==fh.indexOf(t.keyCode);case"keydown":return t.keyCode!==hh;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Dt(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}function Ft(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Sh[e.type]:"textarea"===t}function Nt(e,t,n,r){Mf?Df?Df.push(r):Df=[r]:Mf=r,0<(t=bl(t,"onChange")).length&&(n=new qf("onChange","change",null,n,r),e.push({event:n,listeners:t}))}function jt(e){fl(e,0)}function zt(e){if(Me(we(e)))return e}function Ut(e,t){if("change"===e)return t}function Vt(){xh&&(xh.detachEvent("onpropertychange",Bt),_h=xh=null)}function Bt(e){if("value"===e.propertyName&&zt(_h)){var t=[];Nt(t,_h,e,xt(e)),Ct(jt,t)}}function $t(e,t,n){"focusin"===e?(Vt(),_h=n,(xh=t).attachEvent("onpropertychange",Bt)):"focusout"===e&&Vt()}function Ht(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return zt(_h)}function Wt(e,t){if("click"===e)return zt(t)}function qt(e,t){if("input"===e||"change"===e)return zt(t)}function Kt(e,t){if(Eh(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(!Xc.call(t,o)||!Eh(e[o],t[o]))return!1}return!0}function Qt(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Yt(e,t){var n,r=Qt(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=Qt(r)}}function Gt(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?Gt(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Jt(e){for(var t=De((e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window).document);t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=De((e=t.contentWindow).document)}return t}function Xt(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 Zt(e,t){var n=Jt(t);t=e.focusedElem;var r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&Gt(t.ownerDocument.documentElement,t)){if(null!==r&&Xt(t))if(e=r.start,void 0===(n=r.end)&&(n=e),"selectionStart"in t)t.selectionStart=e,t.selectionEnd=Math.min(n,t.value.length);else if((n=(e=t.ownerDocument||document)&&e.defaultView||window).getSelection){n=n.getSelection();var o=t.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!n.extend&&i>r&&(o=r,r=i,i=o),o=Yt(t,i);var a=Yt(t,r);o&&a&&(1!==n.rangeCount||n.anchorNode!==o.node||n.anchorOffset!==o.offset||n.focusNode!==a.node||n.focusOffset!==a.offset)&&((e=e.createRange()).setStart(o.node,o.offset),n.removeAllRanges(),i>r?(n.addRange(e),n.extend(a.node,a.offset)):(e.setEnd(a.node,a.offset),n.addRange(e)))}for(e=[],n=t;n=n.parentNode;)1===n.nodeType&&e.push({element:n,left:n.scrollLeft,top:n.scrollTop});for("function"==typeof t.focus&&t.focus(),t=0;t<e.length;t++)(n=e[t]).element.scrollLeft=n.left,n.element.scrollTop=n.top}}function en(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Rh||null==Ah||Ah!==De(r)||(r="selectionStart"in(r=Ah)&&Xt(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},Oh&&Kt(Oh,r)||(Oh=r,0<(r=bl(Ph,"onSelect")).length&&(t=new qf("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Ah)))}function tn(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}function nn(e){if(Lh[e])return Lh[e];if(!Ih[e])return e;var t,n=Ih[e];for(t in n)if(n.hasOwnProperty(t)&&t in Mh)return Lh[e]=n[t];return e}function rn(e,t){Bh.set(e,t),xe(t,[e])}function on(){for(var e=Qh,t=Yh=Qh=0;t<e;){var n=Kh[t];Kh[t++]=null;var r=Kh[t];Kh[t++]=null;var o=Kh[t];Kh[t++]=null;var i=Kh[t];if(Kh[t++]=null,null!==r&&null!==o){var a=r.pending;null===a?o.next=o:(o.next=a.next,a.next=o),r.pending=o}0!==i&&un(n,o,i)}}function an(e,t,n,r){Kh[Qh++]=e,Kh[Qh++]=t,Kh[Qh++]=n,Kh[Qh++]=r,Yh|=r,e.lanes|=r,null!==(e=e.alternate)&&(e.lanes|=r)}function sn(e,t,n,r){return an(e,t,n,r),cn(e)}function ln(e,t){return an(e,null,null,t),cn(e)}function un(e,t,n){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n);for(var o=!1,i=e.return;null!==i;)i.childLanes|=n,null!==(r=i.alternate)&&(r.childLanes|=n),22===i.tag&&(null===(e=i.stateNode)||e._visibility&Hh||(o=!0)),e=i,i=i.return;o&&null!==t&&3===e.tag&&(i=e.stateNode,o=31-yd(n),null===(e=(i=i.hiddenUpdates)[o])?i[o]=[t]:e.push(t),t.lane=536870912|n)}function cn(e){if(vv>yv)throw xv=vv=0,_v=bv=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");xv>Sv&&(xv=0,_v=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),null===e.alternate&&4098&e.flags&&Zs(e);for(var t=e,n=t.return;null!==n;)null===t.alternate&&!!(4098&t.flags)&&Zs(e),n=(t=n).return;return 3===t.tag?t.stateNode:null}function dn(e){if(null===Jh)return e;var t=Jh(e);return void 0===t?e:t.current}function fn(e){if(null===Jh)return e;var t=Jh(e);return void 0===t?null!=e&&"function"==typeof e.render&&(t=dn(e.render),e.render!==t)?(t={$$typeof:_c,render:t},void 0!==e.displayName&&(t.displayName=e.displayName),t):e:t.current}function hn(e,t){if(null===Jh)return!1;var n=e.elementType,r=!1,o="object"==typeof(t=t.type)&&null!==t?t.$$typeof:null;switch(e.tag){case 1:"function"==typeof t&&(r=!0);break;case 0:("function"==typeof t||o===Ac)&&(r=!0);break;case 11:(o===_c||o===Ac)&&(r=!0);break;case 14:case 15:(o===Tc||o===Ac)&&(r=!0);break;default:return!1}return!(!r||(e=Jh(n),void 0===e||e!==Jh(t)))}function pn(e){null!==Jh&&"function"==typeof WeakSet&&(null===Xh&&(Xh=new WeakSet),Xh.add(e))}function mn(e,t,n){var r=e.alternate,o=e.child,i=e.sibling,a=e.tag,s=e.type,l=null;switch(a){case 0:case 15:case 1:l=s;break;case 11:l=s.render}if(null===Jh)throw Error("Expected resolveFamily to be set during hot reload.");var u=!1;s=!1,null!==l&&void 0!==(l=Jh(l))&&(n.has(l)?s=!0:t.has(l)&&(1===a?s=!0:u=!0)),null!==Xh&&(Xh.has(e)||null!==r&&Xh.has(r))&&(s=!0),s&&(e._debugNeedsRemount=!0),(s||u)&&null!==(r=ln(e,2))&&ys(r,e,2),null===o||s||mn(o,t,n),null!==i&&mn(i,t,n)}function gn(){var e=up;return up=0,e}function yn(e){var t=up;return up=e,t}function vn(e){var t=up;return up+=e,t}function bn(e){lp=ip(),0>e.actualStartTime&&(e.actualStartTime=lp)}function wn(e){if(0<=lp){var t=ip()-lp;e.actualDuration+=t,e.selfBaseDuration=t,lp=-1}}function kn(e){if(0<=lp){var t=ip()-lp;e.actualDuration+=t,lp=-1}}function Sn(){if(0<=lp){var e=ip()-lp;lp=-1,up+=e}}function xn(){lp=ip()}function _n(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Cn(e,t){if("object"==typeof e&&null!==e){var n=xp.get(e);return void 0!==n?n:(t={value:e,source:t,stack:x(t)},xp.set(e,t),t)}return{value:e,source:t,stack:x(t)}}function En(e,t){On(),_p[Cp++]=Tp,_p[Cp++]=Ep,Ep=e,Tp=t}function Tn(e,t,n){On(),Ap[Pp++]=Rp,Ap[Pp++]=Ip,Ap[Pp++]=Op,Op=e;var r=Rp;e=Ip;var o=32-yd(r)-1;r&=~(1<<o),n+=1;var i=32-yd(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Rp=1<<32-yd(t)+o|n<<o|r,Ip=i+e}else Rp=1<<i|n<<o|r,Ip=e}function An(e){On(),null!==e.return&&(En(e,1),Tn(e,1,0))}function Pn(e){for(;e===Ep;)Ep=_p[--Cp],_p[Cp]=null,Tp=_p[--Cp],_p[Cp]=null;for(;e===Op;)Op=Ap[--Pp],Ap[Pp]=null,Ip=Ap[--Pp],Ap[Pp]=null,Rp=Ap[--Pp],Ap[Pp]=null}function On(){Dp||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function Rn(e,t){if(null===e.return){if(null===Np)Np={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(Np.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");Np.distanceFromLeaf>t&&(Np.distanceFromLeaf=t)}return Np}var n=Rn(e.return,t+1).children;return 0<n.length&&n[n.length-1].fiber===e?((n=n[n.length-1]).distanceFromLeaf>t&&(n.distanceFromLeaf=t),n):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},n.push(t),t)}function In(e,t){Fp||((e=Rn(e,0)).serverProps=null,null!==t&&(t=iu(t),e.serverTail.push(t)))}function Ln(e){var t="",n=Np;throw null!==n&&(Np=null,t=lt(n)),jn(Cn(Error("Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\nhttps://react.dev/link/hydration-mismatch"+t),e)),Up}function Mn(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[Td]=e,t[Ad]=r,Sl(n,r),n){case"dialog":hl("cancel",t),hl("close",t);break;case"iframe":case"object":case"embed":hl("load",t);break;case"video":case"audio":for(n=0;n<Uv.length;n++)hl(Uv[n],t);break;case"source":hl("error",t);break;case"img":case"image":case"link":hl("error",t),hl("load",t);break;case"details":hl("toggle",t);break;case"input":Ce("input",r),hl("invalid",t),Ne(0,r),ze(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0),Le(t);break;case"option":Ve(0,r);break;case"select":Ce("select",r),hl("invalid",t),He(t,r);break;case"textarea":Ce("textarea",r),hl("invalid",t),We(0,r),Ke(t,r.value,r.defaultValue,r.children),Le(t)}"string"!=typeof(n=r.children)&&"number"!=typeof n&&"bigint"!=typeof n||t.textContent===""+n||!0===r.suppressHydrationWarning||Tl(t.textContent,n)?(null!=r.popover&&(hl("beforetoggle",t),hl("toggle",t)),null!=r.onScroll&&hl("scroll",t),null!=r.onScrollEnd&&hl("scrollend",t),null!=r.onClick&&(t.onclick=Al),t=!0):t=!1,t||Ln(e)}function Dn(e){for(Lp=e.return;Lp;)switch(Lp.tag){case 3:case 27:return void(zp=!0);case 5:case 13:return void(zp=!1);default:Lp=Lp.return}}function Fn(e){if(e!==Lp)return!1;if(!Dp)return Dn(e),Dp=!0,!1;var t,n=!1;if((t=3!==e.tag&&27!==e.tag)&&((t=5===e.tag)&&(t=!("form"!==(t=e.type)&&"button"!==t)||Hl(e.type,e.memoizedProps)),t=!t),t&&(n=!0),n&&Mp){for(n=Mp;n;){t=Rn(e,0);var r=iu(n);t.serverTail.push(r),n="Suspense"===r.type?su(n):ou(n.nextSibling)}Ln(e)}if(Dn(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");Mp=su(e)}else Mp=Lp?ou(e.stateNode.nextSibling):null;return!0}function Nn(){Mp=Lp=null,Fp=Dp=!1}function jn(e){null===jp?jp=[e]:jp.push(e)}function zn(){var e=Np;null!==e&&(Np=null,e=lt(e),console.error("A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\n%s%s","https://react.dev/link/hydration-mismatch",e))}function Un(e){return"fulfilled"===(e=e.status)||"rejected"===e}function Vn(){}function Bn(e,t,n){null!==Lc.actQueue&&(Lc.didUsePromise=!0);var r=e.thenables;switch(void 0===(n=r[n])?r.push(t):n!==t&&(e.didWarnAboutUncachedPromise||(e.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),t.then(Vn,Vn),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw Hn(e=t.reason),e;default:if("string"==typeof t.status)t.then(Vn,Vn);else{if(null!==(e=Ly)&&100<e.shellSuspendCounter)throw Error("async/await is not yet supported in Client Components, only Server Components. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");(e=t).status="pending",e.then((e=>{if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}}),(e=>{if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}}))}switch(t.status){case"fulfilled":return t.value;case"rejected":throw Hn(e=t.reason),e}throw Hp=t,Wp=!0,Vp}}function $n(){if(null===Hp)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=Hp;return Hp=null,Wp=!1,e}function Hn(e){if(e===Vp)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function Wn(e){var t=fm;return null!=e&&(fm=null===t?e:t.concat(e)),t}function qn(e,t,n){for(var r=Object.keys(e.props),o=0;o<r.length;o++){var i=r[o];if("children"!==i&&"key"!==i){null===t&&((t=ts(e,n.mode,0))._debugInfo=fm,t.return=n),T(t,(e=>{console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",e)}),i);break}}}function Kn(e){var t=dm;return dm+=1,null===cm&&(cm={didWarnAboutUncachedPromise:!1,thenables:[]}),Bn(cm,e,t)}function Qn(e,t){t=t.props.ref,e.ref=void 0!==t?t:null}function Yn(e,t){if(t.$$typeof===mc)throw Error('A React Element from an older version of React was rendered. This is not supported. It can happen if:\n- Multiple copies of the "react" package is used.\n- A library pre-bundled an old copy of "react" or "react/jsx-runtime".\n- A compiler tries to "inline" JSX instead of using the runtime.');throw e=Object.prototype.toString.call(t),Error("Objects are not valid as a React child (found: "+("[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.")}function Gn(e,t){var n=v(e)||"Component";mm[n]||(mm[n]=!0,t=t.displayName||t.name||"Component",3===e.tag?console.error("Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.\n  root.render(%s)",t,t,t):console.error("Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.\n  <%s>{%s}</%s>",t,t,n,t,n))}function Jn(e,t){var n=v(e)||"Component";gm[n]||(gm[n]=!0,t=String(t),3===e.tag?console.error("Symbols are not valid as a React child.\n  root.render(%s)",t):console.error("Symbols are not valid as a React child.\n  <%s>%s</%s>",n,t,n))}function Xn(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){for(var t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function o(e,t){return(e=Xa(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=33554434,n):r:(t.flags|=33554434,n):(t.flags|=1048576,n)}function a(t){return e&&null===t.alternate&&(t.flags|=33554434),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=os(n,e.mode,r)).return=e,t._debugOwner=e,t._debugInfo=fm,t):((t=o(t,n)).return=e,t._debugInfo=fm,t)}function u(e,t,n,r){var i=n.type;return i===vc?(qn(n,t=f(e,t,n.props.children,r,n.key),e),t):null!==t&&(t.elementType===i||hn(t,n)||"object"==typeof i&&null!==i&&i.$$typeof===Ac&&um(i)===t.type)?(Qn(t=o(t,n.props),n),t.return=e,t._debugOwner=n._owner,t._debugInfo=fm,t):(Qn(t=ts(n,e.mode,r),n),t.return=e,t._debugInfo=fm,t)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=is(n,e.mode,r)).return=e,t._debugInfo=fm,t):((t=o(t,n.children||[])).return=e,t._debugInfo=fm,t)}function f(e,t,n,r,i){return null===t||7!==t.tag?((t=ns(n,e.mode,r,i)).return=e,t._debugOwner=e,t._debugInfo=fm,t):((t=o(t,n)).return=e,t._debugInfo=fm,t)}function h(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t||"bigint"==typeof t)return(t=os(""+t,e.mode,n)).return=e,t._debugOwner=e,t._debugInfo=fm,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case gc:return Qn(n=ts(t,e.mode,n),t),n.return=e,e=Wn(t._debugInfo),n._debugInfo=fm,fm=e,n;case yc:return(t=is(t,e.mode,n)).return=e,t._debugInfo=fm,t;case Ac:var r=Wn(t._debugInfo);return e=h(e,t=um(t),n),fm=r,e}if(Bc(t)||p(t))return(n=ns(t,e.mode,n,null)).return=e,n._debugOwner=e,e=Wn(t._debugInfo),n._debugInfo=fm,fm=e,n;if("function"==typeof t.then)return r=Wn(t._debugInfo),e=h(e,Kn(t),n),fm=r,e;if(t.$$typeof===xc)return h(e,ji(e,t),n);Yn(e,t)}return"function"==typeof t&&Gn(e,t),"symbol"==typeof t&&Jn(e,t),null}function m(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n||"bigint"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case gc:return n.key===o?(o=Wn(n._debugInfo),e=u(e,t,n,r),fm=o,e):null;case yc:return n.key===o?c(e,t,n,r):null;case Ac:return o=Wn(n._debugInfo),e=m(e,t,n=um(n),r),fm=o,e}if(Bc(n)||p(n))return null!==o?null:(o=Wn(n._debugInfo),e=f(e,t,n,r,null),fm=o,e);if("function"==typeof n.then)return o=Wn(n._debugInfo),e=m(e,t,Kn(n),r),fm=o,e;if(n.$$typeof===xc)return m(e,t,ji(e,n),r);Yn(e,n)}return"function"==typeof n&&Gn(e,n),"symbol"==typeof n&&Jn(e,n),null}function g(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r||"bigint"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case gc:return n=e.get(null===r.key?n:r.key)||null,e=Wn(r._debugInfo),t=u(t,n,r,o),fm=e,t;case yc:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case Ac:var i=Wn(r._debugInfo);return t=g(e,t,n,r=um(r),o),fm=i,t}if(Bc(r)||p(r))return n=e.get(n)||null,e=Wn(r._debugInfo),t=f(t,n,r,o,null),fm=e,t;if("function"==typeof r.then)return i=Wn(r._debugInfo),t=g(e,t,n,Kn(r),o),fm=i,t;if(r.$$typeof===xc)return g(e,t,n,ji(t,r),o);Yn(t,r)}return"function"==typeof r&&Gn(t,r),"symbol"==typeof r&&Jn(t,r),null}function y(e,t,n,r){if("object"!=typeof n||null===n)return r;switch(n.$$typeof){case gc:case yc:d(e,t,n);var o=n.key;if("string"!=typeof o)break;if(null===r){(r=new Set).add(o);break}if(!r.has(o)){r.add(o);break}T(t,(()=>{console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",o)}));break;case Ac:y(e,t,n=um(n),r)}return r}function v(s,l,u,c){if("object"==typeof u&&null!==u&&u.type===vc&&null===u.key&&(qn(u,null,s),u=u.props.children),"object"==typeof u&&null!==u){switch(u.$$typeof){case gc:var d=Wn(u._debugInfo);e:{for(var f=u.key;null!==l;){if(l.key===f){if((f=u.type)===vc){if(7===l.tag){n(s,l.sibling),(c=o(l,u.props.children)).return=s,c._debugOwner=u._owner,c._debugInfo=fm,qn(u,c,s),s=c;break e}}else if(l.elementType===f||hn(l,u)||"object"==typeof f&&null!==f&&f.$$typeof===Ac&&um(f)===l.type){n(s,l.sibling),Qn(c=o(l,u.props),u),c.return=s,c._debugOwner=u._owner,c._debugInfo=fm,s=c;break e}n(s,l);break}t(s,l),l=l.sibling}u.type===vc?((c=ns(u.props.children,s.mode,c,u.key)).return=s,c._debugOwner=s,c._debugInfo=fm,qn(u,c,s),s=c):(Qn(c=ts(u,s.mode,c),u),c.return=s,c._debugInfo=fm,s=c)}return s=a(s),fm=d,s;case yc:e:{for(u=(d=u).key;null!==l;){if(l.key===u){if(4===l.tag&&l.stateNode.containerInfo===d.containerInfo&&l.stateNode.implementation===d.implementation){n(s,l.sibling),(c=o(l,d.children||[])).return=s,s=c;break e}n(s,l);break}t(s,l),l=l.sibling}(c=is(d,s.mode,c)).return=s,s=c}return a(s);case Ac:return d=Wn(u._debugInfo),s=v(s,l,u=um(u),c),fm=d,s}if(Bc(u))return d=Wn(u._debugInfo),s=function(o,a,s,l){for(var u=null,c=null,d=null,f=a,p=a=0,v=null;null!==f&&p<s.length;p++){f.index>p?(v=f,f=null):v=f.sibling;var b=m(o,f,s[p],l);if(null===b){null===f&&(f=v);break}u=y(o,b,s[p],u),e&&f&&null===b.alternate&&t(o,f),a=i(b,a,p),null===d?c=b:d.sibling=b,d=b,f=v}if(p===s.length)return n(o,f),Dp&&En(o,p),c;if(null===f){for(;p<s.length;p++)null!==(f=h(o,s[p],l))&&(u=y(o,f,s[p],u),a=i(f,a,p),null===d?c=f:d.sibling=f,d=f);return Dp&&En(o,p),c}for(f=r(f);p<s.length;p++)null!==(v=g(f,o,p,s[p],l))&&(u=y(o,v,s[p],u),e&&null!==v.alternate&&f.delete(null===v.key?p:v.key),a=i(v,a,p),null===d?c=v:d.sibling=v,d=v);return e&&f.forEach((e=>t(o,e))),Dp&&En(o,p),c}(s,l,u,c),fm=d,s;if(p(u)){if(d=Wn(u._debugInfo),"function"!=typeof(f=p(u)))throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var b=f.call(u);return b===u?0===s.tag&&"[object GeneratorFunction]"===Object.prototype.toString.call(s.type)&&"[object Generator]"===Object.prototype.toString.call(b)||(hm||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),hm=!0):u.entries!==f||Sp||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Sp=!0),s=function(o,a,s,l){if(null==s)throw Error("An iterable object provided no iterator.");for(var u=null,c=null,d=a,f=a=0,p=null,v=null,b=s.next();null!==d&&!b.done;f++,b=s.next()){d.index>f?(p=d,d=null):p=d.sibling;var w=m(o,d,b.value,l);if(null===w){null===d&&(d=p);break}v=y(o,w,b.value,v),e&&d&&null===w.alternate&&t(o,d),a=i(w,a,f),null===c?u=w:c.sibling=w,c=w,d=p}if(b.done)return n(o,d),Dp&&En(o,f),u;if(null===d){for(;!b.done;f++,b=s.next())null!==(d=h(o,b.value,l))&&(v=y(o,d,b.value,v),a=i(d,a,f),null===c?u=d:c.sibling=d,c=d);return Dp&&En(o,f),u}for(d=r(d);!b.done;f++,b=s.next())null!==(p=g(d,o,f,b.value,l))&&(v=y(o,p,b.value,v),e&&null!==p.alternate&&d.delete(null===p.key?f:p.key),a=i(p,a,f),null===c?u=p:c.sibling=p,c=p);return e&&d.forEach((e=>t(o,e))),Dp&&En(o,f),u}(s,l,b,c),fm=d,s}if("function"==typeof u.then)return d=Wn(u._debugInfo),s=v(s,l,Kn(u),c),fm=d,s;if(u.$$typeof===xc)return v(s,l,ji(s,u),c);Yn(s,u)}return"string"==typeof u&&""!==u||"number"==typeof u||"bigint"==typeof u?(d=""+u,null!==l&&6===l.tag?(n(s,l.sibling),(c=o(l,d)).return=s,s=c):(n(s,l),(c=os(d,s.mode,c)).return=s,c._debugOwner=s,c._debugInfo=fm,s=c),a(s)):("function"==typeof u&&Gn(s,u),"symbol"==typeof u&&Jn(s,u),n(s,l))}return(e,t,n,r)=>{var o=fm;fm=null;try{dm=0;var i=v(e,t,n,r);return cm=null,i}catch(t){if(t===Vp)throw t;var a=s(29,t,null,e.mode);a.lanes=r,a.return=e;var l=a._debugInfo=fm;if(a._debugOwner=e._debugOwner,null!=l)for(var u=l.length-1;0<=u;u--)if("string"==typeof l[u].stack){a._debugOwner=l[u];break}return a}finally{fm=o}}}function Zn(e,t){var n=Gy;D(wm,n,e),D(bm,t,e),Gy=n|t.baseLanes}function er(e){D(wm,Gy,e),D(bm,bm.current,e)}function tr(e){Gy=wm.current,M(bm,e),M(wm,e)}function nr(e){var t=e.alternate;D(Cm,Cm.current&xm,e),D(km,e,e),null===Sm&&(null===t||null!==bm.current||null!==t.memoizedState)&&(Sm=e)}function rr(e){if(22===e.tag){if(D(Cm,Cm.current,e),D(km,e,e),null===Sm){var t=e.alternate;null!==t&&null!==t.memoizedState&&(Sm=e)}}else or(e)}function or(e){D(Cm,Cm.current,e),D(km,km.current,e)}function ir(e){M(km,e),Sm===e&&(Sm=null),M(Cm,e)}function ar(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||n.data===ib||n.data===ab))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}function sr(){return{controller:new Rm,data:new Map,refCount:0}}function lr(e){e.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),e.refCount++}function ur(e){e.refCount--,0>e.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),0===e.refCount&&Im(Lm,(()=>{e.controller.abort()}))}function cr(){if(0==--Fm&&null!==Dm){null!==jm&&(jm.status="fulfilled");var e=Dm;Dm=null,Nm=0,jm=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function dr(){var e=Vm.current;return null!==e?e:Ly.pooledCache}function fr(e,t){D(Vm,null===t?Vm.current:t.pool,e)}function hr(){var e=dr();return null===e?null:{parent:Mm._currentValue,pool:e}}function pr(){var e=og;null===ig?ig=[e]:ig.push(e)}function mr(){var e=og;if(null!==ig&&(ag++,ig[ag]!==e)){var t=v(Km);if(!Bm.has(t)&&(Bm.add(t),null!==ig)){for(var n="",r=0;r<=ag;r++){var o=ig[r],i=r===ag?e:o;for(o=r+1+". "+o;30>o.length;)o+=" ";n+=o+=i+"\n"}console.error("React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks\n\n   Previous render            Next render\n   ------------------------------------------------------\n%s   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n",t,n)}}}function gr(e){null==e||Bc(e)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",og,typeof e)}function yr(){var e=v(Km);Wm.has(e)||(Wm.add(e),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",e))}function vr(){throw 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:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.")}function br(e,t){if(sg)return!1;if(null===t)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",og),!1;e.length!==t.length&&console.error("The final argument passed to %s changed size between renders. The order and size of this array must remain constant.\n\nPrevious: %s\nIncoming: %s",og,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!Eh(e[n],t[n]))return!1;return!0}function wr(e,t,n,r,o,i){qm=i,Km=t,ig=null!==e?e._debugHookTypes:null,ag=-1,sg=null!==e&&e.type!==t.type,"[object AsyncFunction]"!==Object.prototype.toString.call(n)&&"[object AsyncGeneratorFunction]"!==Object.prototype.toString.call(n)||(i=v(Km),Hm.has(i)||(Hm.add(i),console.error("async/await is not yet supported in Client Components, only Server Components. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server."))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,Lc.H=null!==e&&null!==e.memoizedState?fg:null!==ig?dg:cg,Xm=i=(t.mode&np)!==Zh;var a=Kp(n,r,o);if(Xm=!1,Jm&&(a=Sr(t,n,r,o)),i){Y(!0);try{a=Sr(t,n,r,o)}finally{Y(!1)}}return kr(e,t),a}function kr(e,t){t._debugHookTypes=ig,null===t.dependencies?null!==tg&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:tg}):t.dependencies._debugThenableState=tg,Lc.H=ug;var n=null!==Qm&&null!==Qm.next;if(qm=0,ig=og=Ym=Qm=Km=null,ag=-1,null!==e&&(31457280&e.flags)!=(31457280&t.flags)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),Gm=!1,eg=0,tg=null,n)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");null===e||Lg||null!==(e=e.dependencies)&&Di(e)&&(Lg=!0),Wp?(Wp=!1,e=!0):e=!1,e&&(t=v(t)||"Unknown",$m.has(t)||Hm.has(t)||($m.add(t),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function Sr(e,t,n,r){Km=e;var o=0;do{if(Jm&&(tg=null),eg=0,Jm=!1,o>=rg)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(o+=1,sg=!1,Ym=Qm=null,null!=e.updateQueue){var i=e.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,null!=i.memoCache&&(i.memoCache.index=0)}ag=-1,Lc.H=hg,i=Kp(t,n,r)}while(Jm);return i}function xr(){var e=Lc.H,t=e.useState()[0];return t="function"==typeof t.then?Pr(t):t,e=e.useState()[0],(null!==Qm?Qm.memoizedState:null)!==e&&(Km.flags|=1024),t}function _r(){var e=0!==Zm;return Zm=0,e}function Cr(e,t,n){t.updateQueue=e.updateQueue,t.flags=(t.mode&rp)!==Zh?-201328645&t.flags:-2053&t.flags,e.lanes&=~n}function Er(e){if(Gm){for(e=e.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}Gm=!1}qm=0,ig=Ym=Qm=Km=null,ag=-1,og=null,Jm=!1,eg=Zm=0,tg=null}function Tr(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Ym?Km.memoizedState=Ym=e:Ym=Ym.next=e,Ym}function Ar(){if(null===Qm){var e=Km.alternate;e=null!==e?e.memoizedState:null}else e=Qm.next;var t=null===Ym?Km.memoizedState:Ym.next;if(null!==t)Ym=t,Qm=e;else{if(null===e){if(null===Km.alternate)throw Error("Update hook called on initial render. This is likely a bug in React. Please file an issue.");throw Error("Rendered more hooks than during the previous render.")}e={memoizedState:(Qm=e).memoizedState,baseState:Qm.baseState,baseQueue:Qm.baseQueue,queue:Qm.queue,next:null},null===Ym?Km.memoizedState=Ym=e:Ym=Ym.next=e}return Ym}function Pr(e){var t=eg;return eg+=1,null===tg&&(tg={didWarnAboutUncachedPromise:!1,thenables:[]}),e=Bn(tg,e,t),t=Km,null===(null===Ym?t.memoizedState:Ym.next)&&(t=t.alternate,Lc.H=null!==t&&null!==t.memoizedState?fg:cg),e}function Or(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return Pr(e);if(e.$$typeof===xc)return Ni(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function Rr(e){var t=null,n=Km.updateQueue;if(null!==n&&(t=n.memoCache),null==t){var r=Km.alternate;null!==r&&null!==(r=r.updateQueue)&&null!=(r=r.memoCache)&&(t={data:r.data.map((e=>e.slice())),index:0})}if(null==t&&(t={data:[],index:0}),null===n&&(n=lg(),Km.updateQueue=n),n.memoCache=t,void 0===(n=t.data[t.index])||sg)for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=Oc;else n.length!==e&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",n.length,e);return t.index++,n}function Ir(e,t){return"function"==typeof t?t(e):t}function Lr(e,t,n){var r=Tr();if(void 0!==n){var o=n(t);if(Xm){Y(!0);try{n(t)}finally{Y(!1)}}}else o=t;return r.memoizedState=r.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},r.queue=e,e=e.dispatch=jo.bind(null,Km,e),[r.memoizedState,e]}function Mr(e){return Dr(Ar(),Qm,e)}function Dr(e,t,n){var r=e.queue;if(null===r)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");r.lastRenderedReducer=n;var o=e.baseQueue,i=r.pending;if(null!==i){if(null!==o){var a=o.next;o.next=i.next,i.next=a}t.baseQueue!==o&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=o=i,r.pending=null}if(i=e.baseState,null===o)e.memoizedState=i;else{var s=a=null,l=null,u=t=o.next,c=!1;do{var d=-536870913&u.lane;if(d!==u.lane?(Dy&d)===d:(qm&d)===d){var f=u.revertLane;if(0===f)null!==l&&(l=l.next={lane:0,revertLane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),d===Nm&&(c=!0);else{if((qm&f)===f){u=u.next,f===Nm&&(c=!0);continue}d={lane:0,revertLane:u.revertLane,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},null===l?(s=l=d,a=i):l=l.next=d,Km.lanes|=f,Xy|=f}d=u.action,Xm&&n(i,d),i=u.hasEagerState?u.eagerState:n(i,d)}else f={lane:d,revertLane:u.revertLane,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},null===l?(s=l=f,a=i):l=l.next=f,Km.lanes|=d,Xy|=d;u=u.next}while(null!==u&&u!==t);if(null===l?a=i:l.next=s,!Eh(i,e.memoizedState)&&(Lg=!0,c&&null!==(n=jm)))throw n;e.memoizedState=i,e.baseState=a,e.baseQueue=l,r.lastRenderedState=i}return null===o&&(r.lanes=0),[e.memoizedState,r.dispatch]}function Fr(e){var t=Ar(),n=t.queue;if(null===n)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var a=o=o.next;do{i=e(i,a.action),a=a.next}while(a!==o);Eh(i,t.memoizedState)||(Lg=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Nr(e,t,n){var r=Km,o=Tr();if(Dp){if(void 0===n)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var i=n();Um||i===n()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),Um=!0)}else{if(i=t(),Um||(n=t(),Eh(i,n)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Um=!0)),null===Ly)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");60&Dy||zr(r,t,i)}return o.memoizedState=i,n={value:i,getSnapshot:t},o.queue=n,ho(Vr.bind(null,r,n,e),[e]),r.flags|=2048,lo(Tm|Om,Ur.bind(null,r,n,i,t),{destroy:void 0},null),i}function jr(e,t,n){var r=Km,o=Ar(),i=Dp;if(i){if(void 0===n)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");n=n()}else if(n=t(),!Um){var a=t();Eh(n,a)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Um=!0)}(a=!Eh((Qm||o).memoizedState,n))&&(o.memoizedState=n,Lg=!0),o=o.queue;var s=Vr.bind(null,r,o,e);if(fo(2048,Om,s,[e]),o.getSnapshot!==t||a||null!==Ym&&Ym.memoizedState.tag&Tm){if(r.flags|=2048,lo(Tm|Om,Ur.bind(null,r,o,n,t),{destroy:void 0},null),null===Ly)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");i||60&qm||zr(r,t,n)}return n}function zr(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=Km.updateQueue)?(t=lg(),Km.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ur(e,t,n,r){t.value=n,t.getSnapshot=r,Br(t)&&$r(e)}function Vr(e,t,n){return n((()=>{Br(t)&&$r(e)}))}function Br(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Eh(e,n)}catch(e){return!0}}function $r(e){var t=ln(e,2);null!==t&&ys(t,e,2)}function Hr(e){var t=Tr();if("function"==typeof e){var n=e;if(e=n(),Xm){Y(!0);try{n()}finally{Y(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ir,lastRenderedState:e},t}function Wr(e){var t=(e=Hr(e)).queue,n=zo.bind(null,Km,t);return t.dispatch=n,[e.memoizedState,n]}function qr(e){var t=Tr();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Vo.bind(null,Km,!0,n),n.dispatch=t,[e,t]}function Kr(e,t){return Qr(Ar(),0,e,t)}function Qr(e,t,n,r){return e.baseState=n,Dr(e,Qm,"function"==typeof r?r:Ir)}function Yr(e,t){var n=Ar();return null!==Qm?Qr(n,0,e,t):(n.baseState=e,[e,n.queue.dispatch])}function Gr(e,t,n,r,o){if(Bo(e))throw Error("Cannot update form state while rendering.");if(null!==(e=t.action)){var i={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:e=>{i.listeners.push(e)}};null!==Lc.T?n(!0):i.isTransition=!1,r(i),null===(n=t.pending)?(i.next=t.pending=i,Jr(t,i)):(i.next=n.next,t.pending=n.next=i)}}function Jr(e,t){var n=t.action,r=t.payload,o=e.state;if(t.isTransition){var i=Lc.T,a={};Lc.T=a,Lc.T._updatedFibers=new Set;try{var s=n(o,r),l=Lc.S;null!==l&&l(a,s),Xr(e,t,s)}catch(n){eo(e,t,n)}finally{Lc.T=i,null===i&&a._updatedFibers&&(e=a._updatedFibers.size,a._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{Xr(e,t,a=n(o,r))}catch(n){eo(e,t,n)}}function Xr(e,t,n){null!==n&&"object"==typeof n&&"function"==typeof n.then?(n.then((n=>{Zr(e,t,n)}),(n=>eo(e,t,n))),t.isTransition||console.error("An async function was passed to useActionState, but it was dispatched outside of an action context. This is likely not what you intended. Either pass the dispatch function to an `action` prop, or dispatch manually inside `startTransition`")):Zr(e,t,n)}function Zr(e,t,n){t.status="fulfilled",t.value=n,to(t),e.state=n,null!==(t=e.pending)&&((n=t.next)===t?e.pending=null:(n=n.next,t.next=n,Jr(e,n)))}function eo(e,t,n){var r=e.pending;if(e.pending=null,null!==r){r=r.next;do{t.status="rejected",t.reason=n,to(t),t=t.next}while(t!==r)}e.action=null}function to(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function no(e,t){return t}function ro(e,t){if(Dp){var n=Ly.formState;if(null!==n){e:{var r=Km;if(Dp){if(Mp){t:{for(var o=Mp,i=zp;8!==o.nodeType;){if(!i){o=null;break t}if(null===(o=ou(o.nextSibling))){o=null;break t}}o=(i=o.data)===sb||i===lb?o:null}if(o){Mp=ou(o.nextSibling),r=o.data===sb;break e}}Ln(r)}r=!1}r&&(t=n[0])}}return(n=Tr()).memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:no,lastRenderedState:t},n.queue=r,n=zo.bind(null,Km,r),r.dispatch=n,r=Hr(!1),i=Vo.bind(null,Km,!1,r.queue),o={state:t,dispatch:null,action:e,pending:null},(r=Tr()).queue=o,n=Gr.bind(null,Km,o,i,n),o.dispatch=n,r.memoizedState=e,[t,n,!1]}function oo(e){return io(Ar(),Qm,e)}function io(e,t,n){t=Dr(e,t,no)[0],e=Mr(Ir)[0],t="object"==typeof t&&null!==t&&"function"==typeof t.then?Pr(t):t;var r=Ar(),o=r.queue,i=o.dispatch;return n!==r.memoizedState&&(Km.flags|=2048,lo(Tm|Om,ao.bind(null,o,n),{destroy:void 0},null)),[t,i,e]}function ao(e,t){e.action=t}function so(e){var t=Ar(),n=Qm;if(null!==n)return io(t,n,e);Ar(),t=t.memoizedState;var r=(n=Ar()).queue.dispatch;return n.memoizedState=e,[t,r,!1]}function lo(e,t,n,r){return e={tag:e,create:t,inst:n,deps:r,next:null},null===(t=Km.updateQueue)&&(t=lg(),Km.updateQueue=t),null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function uo(e){return e={current:e},Tr().memoizedState=e}function co(e,t,n,r){var o=Tr();Km.flags|=e,o.memoizedState=lo(Tm|t,n,{destroy:void 0},void 0===r?null:r)}function fo(e,t,n,r){var o=Ar();r=void 0===r?null:r;var i=o.memoizedState.inst;null!==Qm&&null!==r&&br(r,Qm.memoizedState.deps)?o.memoizedState=lo(t,n,i,r):(Km.flags|=e,o.memoizedState=lo(Tm|t,n,i,r))}function ho(e,t){(Km.mode&rp)!==Zh&&(Km.mode&op)===Zh?co(142608384,Om,e,t):co(8390656,Om,e,t)}function po(e,t){var n=4194308;return(Km.mode&rp)!==Zh&&(n|=67108864),co(n,Pm,e,t)}function mo(e,t){if("function"==typeof t){e=e();var n=t(e);return()=>{"function"==typeof n?n():t(null)}}if(null!=t)return t.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(t).join(", ")+"}"),e=e(),t.current=e,()=>{t.current=null}}function go(e,t,n){"function"!=typeof t&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",null!==t?typeof t:"null"),n=null!=n?n.concat([e]):null;var r=4194308;(Km.mode&rp)!==Zh&&(r|=67108864),co(r,Pm,mo.bind(null,t,e),n)}function yo(e,t,n){"function"!=typeof t&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",null!==t?typeof t:"null"),n=null!=n?n.concat([e]):null,fo(4,Pm,mo.bind(null,t,e),n)}function vo(e,t){return Tr().memoizedState=[e,void 0===t?null:t],e}function bo(e,t){var n=Ar();t=void 0===t?null:t;var r=n.memoizedState;return null!==t&&br(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function wo(e,t){var n=Tr();t=void 0===t?null:t;var r=e();if(Xm){Y(!0);try{e()}finally{Y(!1)}}return n.memoizedState=[r,t],r}function ko(e,t){var n=Ar();t=void 0===t?null:t;var r=n.memoizedState;if(null!==t&&br(t,r[1]))return r[0];if(r=e(),Xm){Y(!0);try{e()}finally{Y(!1)}}return n.memoizedState=[r,t],r}function So(e,t){return Co(Tr(),e,t)}function xo(e,t){return Eo(Ar(),Qm.memoizedState,e,t)}function _o(e,t){var n=Ar();return null===Qm?Co(n,e,t):Eo(n,Qm.memoizedState,e,t)}function Co(e,t,n){return void 0===n||1073741824&qm?e.memoizedState=t:(e.memoizedState=n,e=gs(),Km.lanes|=e,Xy|=e,n)}function Eo(e,t,n,r){return Eh(n,t)?n:null!==bm.current?(e=Co(e,n,r),Eh(e,t)||(Lg=!0),e):42&qm?(e=gs(),Km.lanes|=e,Xy|=e,t):(Lg=!0,e.memoizedState=n)}function To(e,t,n,r,o){var i=$c.p;$c.p=0!==i&&i<xd?i:xd;var a,s,l,u=Lc.T,c={};Lc.T=c,Vo(e,!1,t,n),c._updatedFibers=new Set;try{var d=o(),f=Lc.S;null!==f&&f(c,d),null!==d&&"object"==typeof d&&"function"==typeof d.then?Uo(e,t,(a=r,s=[],l={status:"pending",value:null,reason:null,then:e=>{s.push(e)}},d.then((()=>{l.status="fulfilled",l.value=a;for(var e=0;e<s.length;e++)(0,s[e])(a)}),(e=>{for(l.status="rejected",l.reason=e,e=0;e<s.length;e++)(0,s[e])(void 0)})),l),ms(e)):Uo(e,t,r,ms(e))}catch(n){Uo(e,t,{then:()=>{},status:"rejected",reason:n},ms(e))}finally{$c.p=i,Lc.T=u,null===u&&c._updatedFibers&&(e=c._updatedFibers.size,c._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function Ao(e,t,n,r){if(5!==e.tag)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var o=Po(e).queue;To(e,o,t,Hb,null===n?c:()=>(Oo(e),n(r)))}function Po(e){var t=e.memoizedState;if(null!==t)return t;var n={};return(t={memoizedState:Hb,baseState:Hb,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ir,lastRenderedState:Hb},next:null}).next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ir,lastRenderedState:n},next:null},e.memoizedState=t,null!==(e=e.alternate)&&(e.memoizedState=t),t}function Oo(e){null===Lc.T&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition."),Uo(e,Po(e).next.queue,{},ms(e))}function Ro(){var e=Hr(!1);return e=To.bind(null,Km,e.queue,!0,!1),Tr().memoizedState=e,[!1,e]}function Io(){var e=Mr(Ir)[0],t=Ar().memoizedState;return["boolean"==typeof e?e:Pr(e),t]}function Lo(){var e=Fr(Ir)[0],t=Ar().memoizedState;return["boolean"==typeof e?e:Pr(e),t]}function Mo(){return Ni(Wb)}function Do(){var e=Tr(),t=Ly.identifierPrefix;if(Dp){var n=Ip;t=":"+t+"R"+(n=(Rp&~(1<<32-yd(Rp)-1)).toString(32)+n),0<(n=Zm++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=ng++).toString(32)+":";return e.memoizedState=t}function Fo(){return Tr().memoizedState=No.bind(null,Km)}function No(e,t){for(var n=e.return;null!==n;){switch(n.tag){case 24:case 3:var r=ms(n),o=$i(n,e=Bi(r),r);return null!==o&&(ys(o,n,r),Hi(o,n,r)),n=sr(),null!=t&&null!==o&&console.error("The seed argument is not enabled outside experimental channels."),void(e.payload={cache:n})}n=n.return}}function jo(e,t,n,r){"function"==typeof r&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),n={lane:r=ms(e),revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null},Bo(e)?$o(t,n):null!==(n=sn(e,t,n,r))&&(ys(n,e,r),Ho(n,t,r)),te(e,r)}function zo(e,t,n,r){"function"==typeof r&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),Uo(e,t,n,r=ms(e)),te(e,r)}function Uo(e,t,n,r){var o={lane:r,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if(Bo(e))$o(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer)){var a=Lc.H;Lc.H=mg;try{var s=t.lastRenderedState,l=i(s,n);if(o.hasEagerState=!0,o.eagerState=l,Eh(l,s))return an(e,t,o,0),null===Ly&&on(),!1}catch(e){}finally{Lc.H=a}}if(null!==(n=sn(e,t,o,r)))return ys(n,e,r),Ho(n,t,r),!0}return!1}function Vo(e,t,n,r){if(null===Lc.T&&0===Nm&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),r={lane:2,revertLane:ul(),action:r,hasEagerState:!1,eagerState:null,next:null},Bo(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else null!==(t=sn(e,n,r,2))&&ys(t,e,2);te(e,2)}function Bo(e){var t=e.alternate;return e===Km||null!==t&&t===Km}function $o(e,t){Jm=Gm=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ho(e,t,n){if(4194176&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,fe(e,n)}}function Wo(e){if(null!==e&&"function"!=typeof e){var t=String(e);Tg.has(t)||(Tg.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function qo(e,t,n,r){var o=e.memoizedState,i=n(r,o);if(e.mode&np){Y(!0);try{i=n(r,o)}finally{Y(!1)}}void 0===i&&(t=g(t)||"Component",xg.has(t)||(xg.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),o=null==i?o:Mc({},o,i),e.memoizedState=o,0===e.lanes&&(e.updateQueue.baseState=o)}function Ko(e,t,n,r,o,i,a){var s=e.stateNode;if("function"==typeof s.shouldComponentUpdate){if(n=s.shouldComponentUpdate(r,i,a),e.mode&np){Y(!0);try{n=s.shouldComponentUpdate(r,i,a)}finally{Y(!1)}}return void 0===n&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",g(t)||"Component"),n}return!(t.prototype&&t.prototype.isPureReactComponent&&Kt(n,r)&&Kt(o,i))}function Qo(e,t,n,r){var o=t.state;"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==o&&(e=v(e)||"Component",vg.has(e)||(vg.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),Ag.enqueueReplaceState(t,t.state,null))}function Yo(e,t){var n=t;if("ref"in t)for(var r in n={},t)"ref"!==r&&(n[r]=t[r]);if(e=e.defaultProps)for(var o in n===t&&(n=Mc({},n)),e)void 0===n[o]&&(n[o]=e[o]);return n}function Go(e,t){Pg(e),e=Og?"An error occurred in the <"+Og+"> component.":"An error occurred in one of your React components.";var n=Lc.getCurrentStack,r=null!=t.componentStack?t.componentStack:"";Lc.getCurrentStack=()=>r;try{console.warn("%s\n\n%s\n",e,"Consider adding an error boundary to your tree to customize error handling behavior.\nVisit https://react.dev/link/error-boundaries to learn more about error boundaries.")}finally{Lc.getCurrentStack=n}}function Jo(e,t){var n=Og?"The above error occurred in the <"+Og+"> component.":"The above error occurred in one of your React components.",r="React will try to recreate this component tree from scratch using the error boundary you provided, "+(Rg||"Anonymous")+".",o=Lc.getCurrentStack,i=null!=t.componentStack?t.componentStack:"";Lc.getCurrentStack=()=>i;try{"object"==typeof e&&null!==e&&"string"==typeof e.environmentName?function(e,t,n){var r=0;switch(e){case"dir":case"dirxml":case"groupEnd":case"table":return Gb.apply(console[e],[console].concat(t));case"assert":r=1}return"string"==typeof(t=t.slice(0))[r]?t.splice(r,1,qb+t[r],Kb,Yb+n+Yb,Qb):t.splice(r,0,qb,Kb,Yb+n+Yb,Qb),t.unshift(console),Gb.apply(console[e],t)}("error",["%o\n\n%s\n\n%s\n",e,n,r],e.environmentName)():console.error("%o\n\n%s\n\n%s\n",e,n,r)}finally{Lc.getCurrentStack=o}}function Xo(e){Pg(e)}function Zo(e,t){try{Og=t.source?v(t.source):null,Rg=null;var n=t.value;null!==Lc.actQueue?Lc.thrownErrors.push(n):(0,e.onUncaughtError)(n,{componentStack:t.stack})}catch(e){setTimeout((()=>{throw e}))}}function ei(e,t,n){try{Og=n.source?v(n.source):null,Rg=v(t),(0,e.onCaughtError)(n.value,{componentStack:n.stack,errorBoundary:1===t.tag?t.stateNode:null})}catch(e){setTimeout((()=>{throw e}))}}function ti(e,t,n){return(n=Bi(n)).tag=Xg,n.payload={element:null},n.callback=()=>{T(t.source,Zo,e,t)},n}function ni(e){return(e=Bi(e)).tag=Xg,e}function ri(e,t,n,r){var o=n.type.getDerivedStateFromError;if("function"==typeof o){var i=r.value;e.payload=()=>o(i),e.callback=()=>{pn(n),T(r.source,ei,t,n,r)}}var a=n.stateNode;null!==a&&"function"==typeof a.componentDidCatch&&(e.callback=function(){pn(n),T(r.source,ei,t,n,r),"function"!=typeof o&&(null===dv?dv=new Set([this]):dv.add(this)),tm(this,r),"function"==typeof o||!(2&n.lanes)&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",v(n)||"Unknown")})}function oi(e,t,n,r){t.child=null===e?vm(t,null,n,r):ym(t,e.child,n,r)}function ii(e,t,n,r,o){n=n.render;var i=t.ref;if("ref"in r){var a={};for(var s in r)"ref"!==s&&(a[s]=r[s])}else a=r;return Fi(t),J(t),r=wr(e,t,n,a,i,o),s=_r(),X(),null===e||Lg?(Dp&&s&&An(t),t.flags|=1,oi(e,t,r,o),t.child):(Cr(e,t,o),Ei(e,t,o))}function ai(e,t,n,r,o){if(null===e){var i=n.type;return"function"!=typeof i||Ja(i)||void 0!==i.defaultProps||null!==n.compare?((e=es(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(n=dn(i),t.tag=15,t.type=n,mi(t,i),si(e,t,n,r,o))}if(i=e.child,!Ti(e,o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:Kt)(a,r)&&e.ref===t.ref)return Ei(e,t,o)}return t.flags|=1,(e=Xa(i,r)).ref=t.ref,e.return=t,t.child=e}function si(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(Kt(i,r)&&e.ref===t.ref&&t.type===e.type){if(Lg=!1,t.pendingProps=r=i,!Ti(e,o))return t.lanes=e.lanes,Ei(e,t,o);131072&e.flags&&(Lg=!0)}}return di(e,t,n,r,o)}function li(e,t,n){var r=t.pendingProps,o=r.children,i=!!(t.stateNode._pendingVisibility&Wh),a=null!==e?e.memoizedState:null;if(ci(e,t),"hidden"===r.mode||i){if(128&t.flags){if(r=null!==a?a.baseLanes|n:n,null!==e){for(o=t.child=e.child,i=0;null!==o;)i=i|o.lanes|o.childLanes,o=o.sibling;t.childLanes=i&~r}else t.childLanes=0,t.child=null;return ui(e,t,r,n)}if(!(536870912&n))return t.lanes=t.childLanes=536870912,ui(e,t,null!==a?a.baseLanes|n:n,n);t.memoizedState={baseLanes:0,cachePool:null},null!==e&&fr(t,null!==a?a.cachePool:null),null!==a?Zn(t,a):er(t),rr(t)}else null!==a?(fr(t,a.cachePool),Zn(t,a),or(t),t.memoizedState=null):(null!==e&&fr(t,null),er(t),or(t));return oi(e,t,o,n),t.child}function ui(e,t,n,r){var o=dr();return o=null===o?null:{parent:Mm._currentValue,pool:o},t.memoizedState={baseLanes:n,cachePool:o},null!==e&&fr(t,null),er(t),rr(t),null!==e&&Mi(e,t,r,!0),null}function ci(e,t){var n=t.ref;if(null===n)null!==e&&null!==e.ref&&(t.flags|=2097664);else{if("function"!=typeof n&&"object"!=typeof n)throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");null!==e&&e.ref===n||(t.flags|=2097664)}}function di(e,t,n,r,o){if(n.prototype&&"function"==typeof n.prototype.render){var i=g(n)||"Unknown";Mg[i]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",i,i),Mg[i]=!0)}return t.mode&np&&fp.recordLegacyContextWarning(t,null),null===e&&(mi(t,t.type),n.contextTypes&&(i=g(n)||"Unknown",Fg[i]||(Fg[i]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",i)))),Fi(t),J(t),n=wr(e,t,n,r,void 0,o),r=_r(),X(),null===e||Lg?(Dp&&r&&An(t),t.flags|=1,oi(e,t,n,o),t.child):(Cr(e,t,o),Ei(e,t,o))}function fi(e,t,n,r,o,i){return Fi(t),J(t),ag=-1,sg=null!==e&&e.type!==t.type,t.updateQueue=null,n=Sr(t,r,n,o),kr(e,t),r=_r(),X(),null===e||Lg?(Dp&&r&&An(t),t.flags|=1,oi(e,t,n,i),t.child):(Cr(e,t,i),Ei(e,t,i))}function hi(e,t,n,r,o){switch(a(t)){case!1:var i=t.stateNode,s=new t.type(t.memoizedProps,i.context).state;i.updater.enqueueSetState(i,s,null);break;case!0:t.flags|=128,t.flags|=65536,i=Error("Simulated error coming from DevTools");var l=o&-o;if(t.lanes|=l,null===(s=Ly))throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");ri(l=ni(l),s,t,Cn(i,t)),Wi(t,l)}if(Fi(t),null===t.stateNode){if(s=Gh,i=n.contextType,"contextType"in n&&null!==i&&(void 0===i||i.$$typeof!==xc)&&!Eg.has(n)&&(Eg.add(n),l=void 0===i?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":"object"!=typeof i?" However, it is set to a "+typeof i+".":i.$$typeof===Sc?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(i).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",g(n)||"Component",l)),"object"==typeof i&&null!==i&&(s=Ni(i)),i=new n(r,s),t.mode&np){Y(!0);try{i=new n(r,s)}finally{Y(!1)}}if(s=t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,i.updater=Ag,t.stateNode=i,i._reactInternals=t,i._reactInternalInstance=yg,"function"==typeof n.getDerivedStateFromProps&&null===s&&(s=g(n)||"Component",bg.has(s)||(bg.add(s),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",s,null===i.state?"null":"undefined",s))),"function"==typeof n.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate){var u=l=s=null;if("function"==typeof i.componentWillMount&&!0!==i.componentWillMount.__suppressDeprecationWarning?s="componentWillMount":"function"==typeof i.UNSAFE_componentWillMount&&(s="UNSAFE_componentWillMount"),"function"==typeof i.componentWillReceiveProps&&!0!==i.componentWillReceiveProps.__suppressDeprecationWarning?l="componentWillReceiveProps":"function"==typeof i.UNSAFE_componentWillReceiveProps&&(l="UNSAFE_componentWillReceiveProps"),"function"==typeof i.componentWillUpdate&&!0!==i.componentWillUpdate.__suppressDeprecationWarning?u="componentWillUpdate":"function"==typeof i.UNSAFE_componentWillUpdate&&(u="UNSAFE_componentWillUpdate"),null!==s||null!==l||null!==u){i=g(n)||"Component";var c="function"==typeof n.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";kg.has(i)||(kg.add(i),console.error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://react.dev/link/unsafe-component-lifecycles",i,c,null!==s?"\n  "+s:"",null!==l?"\n  "+l:"",null!==u?"\n  "+u:""))}}i=t.stateNode,s=g(n)||"Component",i.render||(n.prototype&&"function"==typeof n.prototype.render?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",s):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",s)),!i.getInitialState||i.getInitialState.isReactClassApproved||i.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",s),i.getDefaultProps&&!i.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",s),i.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",s),n.childContextTypes&&!Cg.has(n)&&(Cg.add(n),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",s)),n.contextTypes&&!_g.has(n)&&(_g.add(n),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",s)),"function"==typeof i.componentShouldUpdate&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",s),n.prototype&&n.prototype.isPureReactComponent&&void 0!==i.shouldComponentUpdate&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",g(n)||"A pure component"),"function"==typeof i.componentDidUnmount&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",s),"function"==typeof i.componentDidReceiveProps&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",s),"function"==typeof i.componentWillRecieveProps&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",s),"function"==typeof i.UNSAFE_componentWillRecieveProps&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",s),l=i.props!==r,void 0!==i.props&&l&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",s),i.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",s,s),"function"!=typeof i.getSnapshotBeforeUpdate||"function"==typeof i.componentDidUpdate||wg.has(n)||(wg.add(n),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",g(n))),"function"==typeof i.getDerivedStateFromProps&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",s),"function"==typeof i.getDerivedStateFromError&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",s),"function"==typeof n.getSnapshotBeforeUpdate&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",s),(l=i.state)&&("object"!=typeof l||Bc(l))&&console.error("%s.state: must be set to an object or null",s),"function"==typeof i.getChildContext&&"object"!=typeof n.childContextTypes&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",s),(i=t.stateNode).props=r,i.state=t.memoizedState,i.refs={},Ui(t),s=n.contextType,i.context="object"==typeof s&&null!==s?Ni(s):Gh,i.state===r&&(s=g(n)||"Component",Sg.has(s)||(Sg.add(s),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",s))),t.mode&np&&fp.recordLegacyContextWarning(t,i),fp.recordUnsafeLifecycleWarnings(t,i),i.state=t.memoizedState,"function"==typeof(s=n.getDerivedStateFromProps)&&(qo(t,n,s,r),i.state=t.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(s=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),s!==i.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",v(t)||"Component"),Ag.enqueueReplaceState(i,i.state,null)),Ki(t,r,i,o),qi(),i.state=t.memoizedState),"function"==typeof i.componentDidMount&&(t.flags|=4194308),(t.mode&rp)!==Zh&&(t.flags|=67108864),i=!0}else if(null===e){i=t.stateNode;var d=t.memoizedProps;l=Yo(n,d),i.props=l;var f=i.context;u=n.contextType,s=Gh,"object"==typeof u&&null!==u&&(s=Ni(u)),u="function"==typeof(c=n.getDerivedStateFromProps)||"function"==typeof i.getSnapshotBeforeUpdate,d=t.pendingProps!==d,u||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(d||f!==s)&&Qo(t,i,r,s),Zg=!1;var h=t.memoizedState;i.state=h,Ki(t,r,i,o),qi(),f=t.memoizedState,d||h!==f||Zg?("function"==typeof c&&(qo(t,n,c,r),f=t.memoizedState),(l=Zg||Ko(t,n,l,r,h,f,s))?(u||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308),(t.mode&rp)!==Zh&&(t.flags|=67108864)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),(t.mode&rp)!==Zh&&(t.flags|=67108864),t.memoizedProps=r,t.memoizedState=f),i.props=r,i.state=f,i.context=s,i=l):("function"==typeof i.componentDidMount&&(t.flags|=4194308),(t.mode&rp)!==Zh&&(t.flags|=67108864),i=!1)}else{i=t.stateNode,Vi(e,t),u=Yo(n,s=t.memoizedProps),i.props=u,c=t.pendingProps,h=i.context,f=n.contextType,l=Gh,"object"==typeof f&&null!==f&&(l=Ni(f)),(f="function"==typeof(d=n.getDerivedStateFromProps)||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==c||h!==l)&&Qo(t,i,r,l),Zg=!1,h=t.memoizedState,i.state=h,Ki(t,r,i,o),qi();var p=t.memoizedState;s!==c||h!==p||Zg||null!==e&&null!==e.dependencies&&Di(e.dependencies)?("function"==typeof d&&(qo(t,n,d,r),p=t.memoizedState),(u=Zg||Ko(t,n,u,r,h,p,l)||null!==e&&null!==e.dependencies&&Di(e.dependencies))?(f||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,p,l),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,p,l)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),i.props=r,i.state=p,i.context=l,i=u):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),i=!1)}if(l=i,ci(e,t),s=!!(128&t.flags),l||s){if(l=t.stateNode,Lc.getCurrentStack=null===t?null:E,Vc=!1,Uc=t,s&&"function"!=typeof n.getDerivedStateFromError)n=null,lp=-1;else{if(J(t),n=Yp(l),t.mode&np){Y(!0);try{Yp(l)}finally{Y(!1)}}X()}t.flags|=1,null!==e&&s?(t.child=ym(t,e.child,null,o),t.child=ym(t,null,n,o)):oi(e,t,n,o),t.memoizedState=l.state,e=t.child}else e=Ei(e,t,o);return o=t.stateNode,i&&o.props!==r&&(jg||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",v(t)||"a component"),jg=!0),e}function pi(e,t,n,r){return Nn(),t.flags|=256,oi(e,t,n,r),t.child}function mi(e,t){t&&t.childContextTypes&&console.error("childContextTypes cannot be defined on a function component.\n  %s.childContextTypes = ...",t.displayName||t.name||"Component"),"function"==typeof t.getDerivedStateFromProps&&(e=g(t)||"Unknown",Ng[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),Ng[e]=!0)),"object"==typeof t.contextType&&null!==t.contextType&&(t=g(t)||"Unknown",Dg[t]||(console.error("%s: Function components do not support contextType.",t),Dg[t]=!0))}function gi(e){return{baseLanes:e,cachePool:hr()}}function yi(e,t,n){return e=null!==e?e.childLanes&~n:0,t&&(e|=tv),e}function vi(e,t,n){var r,o=t.pendingProps;i(t)&&(t.flags|=128);var a=!1,l=!!(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&!!(Cm.current&_m)),r&&(a=!0,t.flags&=-129),r=!!(32&t.flags),t.flags&=-33,null===e){if(Dp){if(a?nr(t):or(t),Dp){var u,c=Mp;if(!(u=!c)){e:{var d=c;for(u=zp;8!==d.nodeType;){if(!u){u=null;break e}if(null===(d=ou(d.nextSibling))){u=null;break e}}u=d}null!==u?(On(),t.memoizedState={dehydrated:u,treeContext:null!==Op?{id:Rp,overflow:Ip}:null,retryLane:536870912},(d=s(18,null,null,Zh)).stateNode=u,d.return=t,t.child=d,Lp=t,Mp=null,u=!0):u=!1,u=!u}u&&(In(t,c),Ln(t))}if(null!==(c=t.memoizedState)&&null!==(c=c.dehydrated))return c.data===ab?t.lanes=16:t.lanes=536870912,null;ir(t)}return c=o.children,o=o.fallback,a?(or(t),c=wi({mode:"hidden",children:c},a=t.mode),o=ns(o,a,n,null),c.return=t,o.return=t,c.sibling=o,t.child=c,(a=t.child).memoizedState=gi(n),a.childLanes=yi(e,r,n),t.memoizedState=Vg,o):(nr(t),bi(t,c))}var f=e.memoizedState;if(null!==f&&null!==(c=f.dehydrated)){if(l)256&t.flags?(nr(t),t.flags&=-257,t=ki(e,t,n)):null!==t.memoizedState?(or(t),t.child=e.child,t.flags|=128,t=null):(or(t),a=o.fallback,c=t.mode,o=wi({mode:"visible",children:o.children},c),(a=ns(a,c,n,null)).flags|=2,o.return=t,a.return=t,o.sibling=a,t.child=o,ym(t,e.child,null,n),(o=t.child).memoizedState=gi(n),o.childLanes=yi(e,r,n),t.memoizedState=Vg,t=a);else if(nr(t),Dp&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug."),c.data===ab){if(r=c.nextSibling&&c.nextSibling.dataset){u=r.dgst;var h=r.msg;d=r.stck;var p=r.cstck}r=u,o=d,u=a=p,(a=(c=h)?Error(c):Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.")).stack=o||"",a.digest=r,o={value:a,source:null,stack:r=void 0===u?null:u},"string"==typeof r&&xp.set(a,o),jn(o),t=ki(e,t,n)}else if(Lg||Mi(e,t,n,!1),r=!!(n&e.childLanes),Lg||r){if(null!==(r=Ly)){if(42&(o=n&-n))o=1;else switch(o){case 2:o=1;break;case 8:o=4;break;case 32:o=16;break;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:o=64;break;case 268435456:o=134217728;break;default:o=0}if(0!==(o=o&(r.suspendedLanes|n)?0:o)&&o!==f.retryLane)throw f.retryLane=o,ln(e,o),ys(r,e,o),Ig}c.data===ib||Ps(),t=ki(e,t,n)}else c.data===ib?(t.flags|=128,t.child=e.child,t=Qs.bind(null,e),c._reactRetry=t,t=null):(e=f.treeContext,Mp=ou(c.nextSibling),Lp=t,Dp=!0,jp=null,Fp=!1,Np=null,zp=!1,null!==e&&(On(),Ap[Pp++]=Rp,Ap[Pp++]=Ip,Ap[Pp++]=Op,Rp=e.id,Ip=e.overflow,Op=t),(t=bi(t,o.children)).flags|=4096);return t}return a?(or(t),a=o.fallback,c=t.mode,d=(u=e.child).sibling,(o=Xa(u,{mode:"hidden",children:o.children})).subtreeFlags=31457280&u.subtreeFlags,null!==d?a=Xa(d,a):(a=ns(a,c,n,null)).flags|=2,a.return=t,o.return=t,o.sibling=a,t.child=o,o=a,a=t.child,null===(c=e.child.memoizedState)?c=gi(n):(null!==(u=c.cachePool)?(d=Mm._currentValue,u=u.parent!==d?{parent:d,pool:d}:u):u=hr(),c={baseLanes:c.baseLanes|n,cachePool:u}),a.memoizedState=c,a.childLanes=yi(e,r,n),t.memoizedState=Vg,o):(nr(t),e=(n=e.child).sibling,(n=Xa(n,{mode:"visible",children:o.children})).return=t,n.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n)}function bi(e,t){return(t=wi({mode:"visible",children:t},e.mode)).return=e,e.child=t}function wi(e,t){return rs(e,t,0,null)}function ki(e,t,n){return ym(t,e.child,null,n),(e=bi(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Si(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ii(e.return,t,n)}function xi(e,t){var n=Bc(e);return e=!n&&"function"==typeof p(e),!n&&!e||(n=n?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",n,t,n),!1)}function _i(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 Ci(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(r=r.children,void 0!==o&&"forwards"!==o&&"backwards"!==o&&"together"!==o&&!zg[o])if(zg[o]=!0,"string"==typeof o)switch(o.toLowerCase()){case"together":case"forwards":case"backwards":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',o,o.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',o,o.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',o)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',o);void 0===i||Ug[i]||("collapsed"!==i&&"hidden"!==i?(Ug[i]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',i)):"forwards"!==o&&"backwards"!==o&&(Ug[i]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',i)));e:if(("forwards"===o||"backwards"===o)&&null!=r&&!1!==r)if(Bc(r)){for(var a=0;a<r.length;a++)if(!xi(r[a],a))break e}else if(a=p(r),"function"==typeof a){if(a=a.call(r))for(var s=a.next(),l=0;!s.done;s=a.next()){if(!xi(s.value,l))break e;l++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',o);if(oi(e,t,r,n),(r=Cm.current)&_m)r=r&xm|_m,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Si(e,n,t);else if(19===e.tag)Si(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&=xm}switch(D(Cm,r,t),o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ar(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),_i(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===ar(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}_i(t,!0,n,null,i);break;case"together":_i(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ei(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),lp=-1,Xy|=t.lanes,!(n&t.childLanes)){if(null===e)return null;if(Mi(e,t,n,!1),!(n&t.childLanes))return null}if(null!==e&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(null!==t.child){for(n=Xa(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Xa(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Ti(e,t){return!!(e.lanes&t)||!(null===(e=e.dependencies)||!Di(e))}function Ai(e,t,n){if(t._debugNeedsRemount&&null!==e){n=es(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes);var r=t.return;if(null===r)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,n._debugInfo=t._debugInfo,t===r.child)r.child=n;else{var o=r.child;if(null===o)throw Error("Expected parent to have a child.");for(;o.sibling!==t;)if(null===(o=o.sibling))throw Error("Expected to find the previous sibling.");o.sibling=n}return null===(t=r.deletions)?(r.deletions=[e],r.flags|=16):t.push(e),n.flags|=2,n}if(null!==e)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)Lg=!0;else{if(!(Ti(e,n)||128&t.flags))return Lg=!1,function(e,t,n){switch(t.tag){case 3:j(t,t.stateNode.containerInfo),Oi(t,Mm,e.memoizedState.cache),Nn();break;case 27:case 5:V(t);break;case 4:j(t,t.stateNode.containerInfo);break;case 10:Oi(t,t.type,t.memoizedProps.value);break;case 12:!!(n&t.childLanes)&&(t.flags|=4),t.flags|=2048;var r=t.stateNode;r.effectDuration=-0,r.passiveEffectDuration=-0;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(nr(t),t.flags|=128,null):n&t.child.childLanes?vi(e,t,n):(nr(t),null!==(e=Ei(e,t,n))?e.sibling:null);nr(t);break;case 19:var o=!!(128&e.flags);if((r=!!(n&t.childLanes))||(Mi(e,t,n,!1),r=!!(n&t.childLanes)),o){if(r)return Ci(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),D(Cm,Cm.current,t),r)break;return null;case 22:case 23:return t.lanes=0,li(e,t,n);case 24:Oi(t,Mm,e.memoizedState.cache)}return Ei(e,t,n)}(e,t,n);Lg=!!(131072&e.flags)}else Lg=!1,(r=Dp)&&(On(),r=!!(1048576&t.flags)),r&&(r=t.index,On(),Tn(t,Tp,r));switch(t.lanes=0,t.tag){case 16:e:{if(r=t.pendingProps,e=um(t.elementType),t.type=e,"function"!=typeof e){if(null!=e){if((o=e.$$typeof)===_c){t.tag=11,t.type=e=fn(e),t=ii(null,t,e,r,n);break e}if(o===Tc){t.tag=14,t=ai(null,t,e,r,n);break e}}throw t="",null!==e&&"object"==typeof e&&e.$$typeof===Ac&&(t=" Did you wrap a component in React.lazy() more than once?"),e=g(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+e+". Lazy element type must resolve to a class or function."+t)}Ja(e)?(r=Yo(e,r),t.tag=1,t.type=e=dn(e),t=hi(null,t,e,r,n)):(t.tag=0,mi(t,e),t.type=e=dn(e),t=di(null,t,e,r,n))}return t;case 0:return di(e,t,t.type,t.pendingProps,n);case 1:return hi(e,t,r=t.type,o=Yo(r,t.pendingProps),n);case 3:e:{if(j(t,t.stateNode.containerInfo),null===e)throw Error("Should have a current fiber. This is a bug in React.");var i=t.pendingProps;r=(o=t.memoizedState).element,Vi(e,t),Ki(t,i,null,n);var a=t.memoizedState;if(i=a.cache,Oi(t,Mm,i),i!==o.cache&&Li(t,[Mm],n,!0),qi(),i=a.element,o.isDehydrated){if(o={element:i,isDehydrated:!1,cache:a.cache},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){t=pi(e,t,i,n);break e}if(i!==r){jn(r=Cn(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t)),t=pi(e,t,i,n);break e}for(Mp=ou(t.stateNode.containerInfo.firstChild),Lp=t,Dp=!0,jp=null,Fp=!1,Np=null,zp=!0,e=vm(t,null,i,n),t.child=e;e;)e.flags=-3&e.flags|4096,e=e.sibling}else{if(Nn(),i===r){t=Ei(e,t,n);break e}oi(e,t,i,n)}t=t.child}return t;case 26:return ci(e,t),null===e?(e=mu(t.type,null,t.pendingProps,null))?t.memoizedState=e:Dp||(e=t.type,n=t.pendingProps,(r=Vl(r=N(Gc.current)).createElement(e))[Td]=t,r[Ad]=n,Rl(r,e,n),Se(r),t.stateNode=r):t.memoizedState=mu(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return V(t),null===e&&Dp&&(o=N(Gc.current),r=U(),o=t.stateNode=du(t.type,t.pendingProps,o,r,!1),Fp||null!==(r=Ul(o,t.type,t.pendingProps,r))&&(Rn(t,0).serverProps=r),Lp=t,zp=!0,Mp=ou(o.firstChild)),r=t.pendingProps.children,null!==e||Dp?oi(e,t,r,n):t.child=ym(t,null,r,n),ci(e,t),t.child;case 5:return null===e&&Dp&&(i=U(),r=ht(t.type,i.ancestorInfo),(a=!(o=Mp))||(a=function(e,t,n,r){for(;1===e.nodeType;){var o=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(r){if(!e[Md])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(i=e.getAttribute("rel"))&&e.hasAttribute("data-precedence"))break;if(i!==o.rel||e.getAttribute("href")!==(null==o.href?null:o.href)||e.getAttribute("crossorigin")!==(null==o.crossOrigin?null:o.crossOrigin)||e.getAttribute("title")!==(null==o.title?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((i=e.getAttribute("src"))!==(null==o.src?null:o.src)||e.getAttribute("type")!==(null==o.type?null:o.type)||e.getAttribute("crossorigin")!==(null==o.crossOrigin?null:o.crossOrigin))&&i&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else{if("input"!==t||"hidden"!==e.type)return e;q(o.name,"name");var i=null==o.name?null:""+o.name;if("hidden"===o.type&&e.getAttribute("name")===i)return e}if(null===(e=ou(e.nextSibling)))break}return null}(o,t.type,t.pendingProps,zp),null!==a?(t.stateNode=a,Fp||null!==(i=Ul(a,t.type,t.pendingProps,i))&&(Rn(t,0).serverProps=i),Lp=t,Mp=ou(a.firstChild),zp=!1,i=!0):i=!1,a=!i),a&&(r&&In(t,o),Ln(t))),V(t),o=t.type,i=t.pendingProps,a=null!==e?e.memoizedProps:null,r=i.children,Hl(o,i)?r=null:null!==a&&Hl(o,a)&&(t.flags|=32),null!==t.memoizedState&&(o=wr(e,t,xr,null,null,n),Wb._currentValue=o),ci(e,t),oi(e,t,r,n),t.child;case 6:return null===e&&Dp&&(e=t.pendingProps,e=null==(n=U().ancestorInfo.current)||pt(e,n.tag),(r=!(n=Mp))||(r=function(e,t,n){if(""===t)return null;for(;3!==e.nodeType;){if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!n)return null;if(null===(e=ou(e.nextSibling)))return null}return e}(n,t.pendingProps,zp),null!==r?(t.stateNode=r,Lp=t,Mp=null,r=!0):r=!1,r=!r),r&&(e&&In(t,n),Ln(t))),null;case 13:return vi(e,t,n);case 4:return j(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=ym(t,null,r,n):oi(e,t,r,n),t.child;case 11:return ii(e,t,t.type,t.pendingProps,n);case 7:return oi(e,t,t.pendingProps,n),t.child;case 8:return oi(e,t,t.pendingProps.children,n),t.child;case 12:return t.flags|=4,t.flags|=2048,(r=t.stateNode).effectDuration=-0,r.passiveEffectDuration=-0,oi(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.type,i=(o=t.pendingProps).value,"value"in o||Bg||(Bg=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),Oi(t,r,i),oi(e,t,o.children,n),t.child;case 9:return o=t.type._context,"function"!=typeof(r=t.pendingProps.children)&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),Fi(t),o=Ni(o),J(t),r=Kp(r,o,void 0),X(),t.flags|=1,oi(e,t,r,n),t.child;case 14:return ai(e,t,t.type,t.pendingProps,n);case 15:return si(e,t,t.type,t.pendingProps,n);case 19:return Ci(e,t,n);case 22:return li(e,t,n);case 24:return Fi(t),r=Ni(Mm),null===e?(null===(o=dr())&&(o=Ly,i=sr(),o.pooledCache=i,lr(i),null!==i&&(o.pooledCacheLanes|=n),o=i),t.memoizedState={parent:r,cache:o},Ui(t),Oi(t,Mm,o)):(!!(e.lanes&n)&&(Vi(e,t),Ki(t,null,null,n),qi()),o=e.memoizedState,i=t.memoizedState,o.parent!==r?(o={parent:r,cache:r},t.memoizedState=o,0===t.lanes&&(t.memoizedState=t.updateQueue.baseState=o),Oi(t,Mm,r)):(r=i.cache,Oi(t,Mm,r),r!==o.cache&&Li(t,[Mm],n,!0))),oi(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Pi(){Kg=qg=null,Qg=!1}function Oi(e,t,n){D($g,t._currentValue,e),t._currentValue=n,D(Hg,t._currentRenderer,e),void 0!==t._currentRenderer&&null!==t._currentRenderer&&t._currentRenderer!==Wg&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=Wg}function Ri(e,t){e._currentValue=$g.current;var n=Hg.current;M(Hg,t),e._currentRenderer=n,M($g,t)}function Ii(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}e!==n&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function Li(e,t,n,r){var o=e.child;for(null!==o&&(o.return=e);null!==o;){var i=o.dependencies;if(null!==i){var a=o.child;i=i.firstContext;e:for(;null!==i;){var s=i;i=o;for(var l=0;l<t.length;l++)if(s.context===t[l]){i.lanes|=n,null!==(s=i.alternate)&&(s.lanes|=n),Ii(i.return,n,e),r||(a=null);break e}i=s.next}}else if(18===o.tag){if(null===(a=o.return))throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");a.lanes|=n,null!==(i=a.alternate)&&(i.lanes|=n),Ii(a,n,e),a=null}else a=o.child;if(null!==a)a.return=o;else for(a=o;null!==a;){if(a===e){a=null;break}if(null!==(o=a.sibling)){o.return=a.return,a=o;break}a=a.return}o=a}}function Mi(e,t,n,r){e=null;for(var o=t,i=!1;null!==o;){if(!i)if(524288&o.flags)i=!0;else if(262144&o.flags)break;if(10===o.tag){var a=o.alternate;if(null===a)throw Error("Should have a current fiber. This is a bug in React.");if(null!==(a=a.memoizedProps)){var s=o.type;Eh(o.pendingProps.value,a.value)||(null!==e?e.push(s):e=[s])}}else if(o===Jc.current){if(null===(a=o.alternate))throw Error("Should have a current fiber. This is a bug in React.");a.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(null!==e?e.push(Wb):e=[Wb])}o=o.return}null!==e&&Li(t,e,n,r),t.flags|=262144}function Di(e){for(e=e.firstContext;null!==e;){if(!Eh(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Fi(e){qg=e,Kg=null,null!==(e=e.dependencies)&&(e.firstContext=null)}function Ni(e){return Qg&&console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),zi(qg,e)}function ji(e,t){return null===qg&&Fi(e),zi(e,t)}function zi(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},null===Kg){if(null===e)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Kg=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else Kg=Kg.next=t;return n}function Ui(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Vi(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Bi(e){return{lane:e,tag:Yg,payload:null,callback:null,next:null}}function $i(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,ty===r&&!ey){var o=v(e);console.error("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.\n\nPlease update the following component: %s",o),ey=!0}return(Iy&xy)!==Sy?(null===(o=r.pending)?t.next=t:(t.next=o.next,o.next=t),r.pending=t,t=cn(e),un(e,null,n),t):(an(e,r,t,n),cn(e))}function Hi(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194176&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,fe(e,n)}}function Wi(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={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,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,callbacks:r.callbacks},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function qi(){if(ny&&null!==jm)throw jm}function Ki(e,t,n,r){ny=!1;var o=e.updateQueue;Zg=!1,ty=o.shared;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var l=s,u=l.next;l.next=null,null===a?i=u:a.next=u,a=l;var c=e.alternate;null!==c&&(s=(c=c.updateQueue).lastBaseUpdate)!==a&&(null===s?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l)}if(null!==i){var d=o.baseState;for(a=0,c=u=l=null,s=i;;){var f=-536870913&s.lane,h=f!==s.lane;if(h?(Dy&f)===f:(r&f)===f){0!==f&&f===Nm&&(ny=!0),null!==c&&(c=c.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});e:{f=e;var p=s,m=t,g=n;switch(p.tag){case Gg:if("function"==typeof(p=p.payload)){Qg=!0;var y=p.call(g,d,m);if(f.mode&np){Y(!0);try{p.call(g,d,m)}finally{Y(!1)}}Qg=!1,d=y;break e}d=p;break e;case Xg:f.flags=-65537&f.flags|128;case Yg:if("function"==typeof(y=p.payload)){if(Qg=!0,p=y.call(g,d,m),f.mode&np){Y(!0);try{y.call(g,d,m)}finally{Y(!1)}}Qg=!1}else p=y;if(null==p)break e;d=Mc({},d,p);break e;case Jg:Zg=!0}}null!==(f=s.callback)&&(e.flags|=64,h&&(e.flags|=8192),null===(h=o.callbacks)?o.callbacks=[f]:h.push(f))}else h={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===c?(u=c=h,l=d):c=c.next=h,a|=f;if(null===(s=s.next)){if(null===(s=o.shared.pending))break;s=(h=s).next,h.next=null,o.lastBaseUpdate=h,o.shared.pending=null}}null===c&&(l=d),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=c,null===i&&(o.shared.lanes=0),Xy|=a,e.lanes=a,e.memoizedState=d}ty=null}function Qi(e,t){if("function"!=typeof e)throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function Yi(e,t){var n=e.shared.hiddenCallbacks;if(null!==n)for(e.shared.hiddenCallbacks=null,e=0;e<n.length;e++)Qi(n[e],t)}function Gi(e,t){var n=e.callbacks;if(null!==n)for(e.callbacks=null,e=0;e<n.length;e++)Qi(n[e],t)}function Ji(e){return(e.mode&tp)!==Zh}function Xi(e,t){Ji(e)?(xn(),ea(t,e),Sn()):ea(t,e)}function Zi(e,t,n){Ji(e)?(xn(),ta(n,e,t),Sn()):ta(n,e,t)}function ea(e,t){try{var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var o=r.next;n=o;do{var i;(n.tag&e)===e&&((e&Om)!==Em?null!==pd&&"function"==typeof pd.markComponentPassiveEffectMountStarted&&pd.markComponentPassiveEffectMountStarted(t):(e&Pm)!==Em&&null!==pd&&"function"==typeof pd.markComponentLayoutEffectMountStarted&&pd.markComponentLayoutEffectMountStarted(t),r=void 0,(e&Am)!==Em&&(Cv=!0),r=T(t,im,n),(e&Am)!==Em&&(Cv=!1),(e&Om)!==Em?null!==pd&&"function"==typeof pd.markComponentPassiveEffectMountStopped&&pd.markComponentPassiveEffectMountStopped():(e&Pm)!==Em&&null!==pd&&"function"==typeof pd.markComponentLayoutEffectMountStopped&&pd.markComponentLayoutEffectMountStopped(),void 0!==r&&"function"!=typeof r)&&T(t,((e,t)=>{console.error("%s must not return anything besides a function, which is used for clean-up.%s",e,t)}),i=n.tag&Pm?"useLayoutEffect":n.tag&Am?"useInsertionEffect":"useEffect",null===r?" You returned null. If your effect does not require clean up, return undefined (or nothing).":"function"==typeof r.then?"\n\nIt looks like you wrote "+i+"(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:\n\n"+i+"(() => {\n  async function fetchData() {\n    // You can await here\n    const response = await MyAPI.getData(someId);\n    // ...\n  }\n  fetchData();\n}, [someId]); // Or [] if effect doesn't need props or state\n\nLearn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching":" You returned: "+r),n=n.next}while(n!==o)}}catch(e){Hs(t,t.return,e)}}function ta(e,t,n){try{var r=t.updateQueue,o=null!==r?r.lastEffect:null;if(null!==o){var i=o.next;r=i;do{if((r.tag&e)===e){var a=r.inst,s=a.destroy;void 0!==s&&(a.destroy=void 0,(e&Om)!==Em?null!==pd&&"function"==typeof pd.markComponentPassiveEffectUnmountStarted&&pd.markComponentPassiveEffectUnmountStarted(t):(e&Pm)!==Em&&null!==pd&&"function"==typeof pd.markComponentLayoutEffectUnmountStarted&&pd.markComponentLayoutEffectUnmountStarted(t),(e&Am)!==Em&&(Cv=!0),T(t,sm,t,n,s),(e&Am)!==Em&&(Cv=!1),(e&Om)!==Em?null!==pd&&"function"==typeof pd.markComponentPassiveEffectUnmountStopped&&pd.markComponentPassiveEffectUnmountStopped():(e&Pm)!==Em&&null!==pd&&"function"==typeof pd.markComponentLayoutEffectUnmountStopped&&pd.markComponentLayoutEffectUnmountStopped())}r=r.next}while(r!==i)}}catch(e){Hs(t,t.return,e)}}function na(e,t){Ji(e)?(xn(),ea(t,e),Sn()):ea(t,e)}function ra(e,t,n){Ji(e)?(xn(),ta(n,e,t),Sn()):ta(n,e,t)}function oa(e){var t=e.updateQueue;if(null!==t){var n=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||jg||(n.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",v(e)||"instance"),n.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",v(e)||"instance"));try{T(e,Gi,t,n)}catch(t){Hs(e,e.return,t)}}}function ia(e,t,n){return e.getSnapshotBeforeUpdate(t,n)}function aa(e,t){var n=t.memoizedProps,r=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||jg||(t.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",v(e)||"instance"),t.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",v(e)||"instance"));try{var o=Yo(e.type,n,(e.elementType,e.type)),i=T(e,ia,t,o,r);n=ry,void 0!==i||n.has(e.type)||(n.add(e.type),T(e,(()=>{console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",v(e))}))),t.__reactInternalSnapshotBeforeUpdate=i}catch(t){Hs(e,e.return,t)}}function sa(e,t,n){n.props=Yo(e.type,e.memoizedProps),n.state=e.memoizedState,Ji(e)?(xn(),T(e,rm,e,t,n),Sn()):T(e,rm,e,t,n)}function la(e){var t=e.ref;if(null!==t){var n=e.stateNode;if("function"==typeof t)if(Ji(e))try{xn(),e.refCleanup=t(n)}finally{Sn()}else e.refCleanup=t(n);else"string"==typeof t?console.error("String refs are no longer supported."):t.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",v(e)),t.current=n}}function ua(e,t){try{T(e,la,e)}catch(n){Hs(e,t,n)}}function ca(e,t){var n=e.ref,r=e.refCleanup;if(null!==n)if("function"==typeof r)try{if(Ji(e))try{xn(),T(e,r)}finally{Sn()}else T(e,r)}catch(n){Hs(e,t,n)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"==typeof n)try{if(Ji(e))try{xn(),T(e,n,null)}finally{Sn()}else T(e,n,null)}catch(n){Hs(e,t,n)}else n.current=null}function da(e,t,n,r){var o=e.memoizedProps,i=o.id,a=o.onCommit;o=o.onRender,t=null===t?"mount":"update",cp&&(t="nested-update"),"function"==typeof o&&o(i,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,n),"function"==typeof a&&a(e.memoizedProps.id,t,r,n)}function fa(e,t,n,r){var o=e.memoizedProps;e=o.id,o=o.onPostCommit,t=null===t?"mount":"update",cp&&(t="nested-update"),"function"==typeof o&&o(e,t,r,n)}function ha(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{T(e,ql,r,t,n,e)}catch(t){Hs(e,e.return,t)}}function pa(e,t,n){try{T(e,Kl,e.stateNode,e.type,n,t,e)}catch(t){Hs(e,e.return,t)}}function ma(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag||4===e.tag}function ga(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ma(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&27!==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 ya(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=Al));else if(4!==r&&27!==r&&null!==(e=e.child))for(ya(e,t,n),e=e.sibling;null!==e;)ya(e,t,n),e=e.sibling}function va(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&&27!==r&&null!==(e=e.child))for(va(e,t,n),e=e.sibling;null!==e;)va(e,t,n),e=e.sibling}function ba(e){if(27!==e.tag){e:{for(var t=e.return;null!==t;){if(ma(t)){var n=t;break e}t=t.return}throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}switch(n.tag){case 27:t=n.stateNode,va(e,n=ga(e),t);break;case 5:t=n.stateNode,32&n.flags&&(Ql(t),n.flags&=-33),va(e,n=ga(e),t);break;case 3:case 4:t=n.stateNode.containerInfo,ya(e,n=ga(e),t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}}function wa(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:Oa(e,n),4&r&&Xi(n,Pm|Tm);break;case 1:if(Oa(e,n),4&r)if(e=n.stateNode,null===t)n.type.defaultProps||"ref"in n.memoizedProps||jg||(e.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",v(n)||"instance"),e.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",v(n)||"instance")),Ji(n)?(xn(),T(n,Jp,n,e),Sn()):T(n,Jp,n,e);else{var o=Yo(n.type,t.memoizedProps);t=t.memoizedState,n.type.defaultProps||"ref"in n.memoizedProps||jg||(e.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",v(n)||"instance"),e.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",v(n)||"instance")),Ji(n)?(xn(),T(n,Zp,n,e,o,t,e.__reactInternalSnapshotBeforeUpdate),Sn()):T(n,Zp,n,e,o,t,e.__reactInternalSnapshotBeforeUpdate)}64&r&&oa(n),512&r&&ua(n,n.return);break;case 3:if(t=gn(),Oa(e,n),64&r&&null!==(r=n.updateQueue)){if(o=null,null!==n.child)switch(n.child.tag){case 27:case 5:case 1:o=n.child.stateNode}try{T(n,Gi,r,o)}catch(e){Hs(n,n.return,e)}}e.effectDuration+=yn(t);break;case 26:Oa(e,n),512&r&&ua(n,n.return);break;case 27:case 5:Oa(e,n),null===t&&4&r&&ha(n),512&r&&ua(n,n.return);break;case 12:if(4&r){r=gn(),Oa(e,n),(e=n.stateNode).effectDuration+=vn(r);try{T(n,da,n,t,sp,e.effectDuration)}catch(e){Hs(n,n.return,e)}}else Oa(e,n);break;case 13:Oa(e,n),4&r&&_a(e,n);break;case 22:if(!(o=null!==n.memoizedState||oy)){t=null!==t&&null!==t.memoizedState||iy;var i=oy,a=iy;oy=o,(iy=t)&&!a?Ma(e,n,!!(8772&n.subtreeFlags)):Oa(e,n),oy=i,iy=a}512&r&&("manual"===n.memoizedProps.mode?ua(n,n.return):ca(n,n.return));break;default:Oa(e,n)}}function ka(e){var t=e.alternate;null!==t&&(e.alternate=null,ka(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&ye(t),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Sa(e,t,n){for(n=n.child;null!==n;)xa(e,t,n),n=n.sibling}function xa(e,t,n){if(hd&&"function"==typeof hd.onCommitFiberUnmount)try{hd.onCommitFiberUnmount(fd,n)}catch(e){md||(md=!0,console.error("React instrumentation encountered an error: %s",e))}switch(n.tag){case 26:iy||ca(n,t),Sa(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode).parentNode.removeChild(n);break;case 27:iy||ca(n,t);var r=fy,o=hy;for(fy=n.stateNode,Sa(e,t,n),e=(n=n.stateNode).attributes;e.length;)n.removeAttributeNode(e[0]);ye(n),fy=r,hy=o;break;case 5:iy||ca(n,t);case 6:if(r=fy,o=hy,fy=null,Sa(e,t,n),hy=o,null!==(fy=r))if(hy)try{T(n,Jl,fy,n.stateNode)}catch(e){Hs(n,t,e)}else try{T(n,Gl,fy,n.stateNode)}catch(e){Hs(n,t,e)}break;case 18:null!==fy&&(hy?(e=fy,n=n.stateNode,8===e.nodeType?Xl(e.parentNode,n):1===e.nodeType&&Xl(e,n),tc(e)):Xl(fy,n.stateNode));break;case 4:r=fy,o=hy,fy=n.stateNode.containerInfo,hy=!0,Sa(e,t,n),fy=r,hy=o;break;case 0:case 11:case 14:case 15:iy||ta(Am,n,t),iy||Zi(n,t,Pm),Sa(e,t,n);break;case 1:iy||(ca(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount&&sa(n,t,r)),Sa(e,t,n);break;case 21:Sa(e,t,n);break;case 22:iy||ca(n,t),iy=(r=iy)||null!==n.memoizedState,Sa(e,t,n),iy=r;break;default:Sa(e,t,n)}}function _a(e,t){if(null===t.memoizedState&&null!==(e=t.alternate)&&null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))try{T(t,cu,e)}catch(e){Hs(t,t.return,e)}}function Ca(e,t){var n=function(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return null===t&&(t=e.stateNode=new sy),t;case 22:return null===(t=(e=e.stateNode)._retryCache)&&(t=e._retryCache=new sy),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}(e);t.forEach((t=>{var r=Ys.bind(null,e,t);if(!n.has(t)){if(n.add(t),gd){if(null===uy||null===cy)throw Error("Expected finished root and lanes to be set. This is a bug in React.");el(cy,uy)}t.then(r,r)}}))}function Ea(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=e,i=t,a=n[r],s=i;e:for(;null!==s;){switch(s.tag){case 27:case 5:fy=s.stateNode,hy=!1;break e;case 3:case 4:fy=s.stateNode.containerInfo,hy=!0;break e}s=s.return}if(null===fy)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");xa(o,i,a),fy=null,hy=!1,null!==(i=(o=a).alternate)&&(i.return=null),o.return=null}if(13878&t.subtreeFlags)for(t=t.child;null!==t;)Ta(t,e),t=t.sibling}function Ta(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Ea(t,e),Aa(e),4&r&&(ta(Am|Tm,e,e.return),ea(Am|Tm,e),Zi(e,e.return,Pm|Tm));break;case 1:Ea(t,e),Aa(e),512&r&&(iy||null===n||ca(n,n.return)),64&r&&oy&&null!==(e=e.updateQueue)&&null!==(r=e.callbacks)&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=null===n?r:n.concat(r));break;case 26:var o=py;if(Ea(t,e),Aa(e),512&r&&(iy||null===n||ca(n,n.return)),4&r)if(t=null!==n?n.memoizedState:null,r=e.memoizedState,null===n)if(null===r)if(null===e.stateNode){e:{r=e.type,n=e.memoizedProps,t=o.ownerDocument||o;t:switch(r){case"title":(!(o=t.getElementsByTagName("title")[0])||o[Md]||o[Td]||o.namespaceURI===sf||o.hasAttribute("itemprop"))&&(o=t.createElement(r),t.head.insertBefore(o,t.querySelector("head > title"))),Rl(o,r,n),o[Td]=e,Se(o),r=o;break e;case"link":var i=Eu("link","href",t).get(r+(n.href||""));if(i)for(var a=0;a<i.length;a++)if((o=i[a]).getAttribute("href")===(null==n.href?null:n.href)&&o.getAttribute("rel")===(null==n.rel?null:n.rel)&&o.getAttribute("title")===(null==n.title?null:n.title)&&o.getAttribute("crossorigin")===(null==n.crossOrigin?null:n.crossOrigin)){i.splice(a,1);break t}Rl(o=t.createElement(r),r,n),t.head.appendChild(o);break;case"meta":if(i=Eu("meta","content",t).get(r+(n.content||"")))for(a=0;a<i.length;a++)if(o=i[a],q(n.content,"content"),o.getAttribute("content")===(null==n.content?null:""+n.content)&&o.getAttribute("name")===(null==n.name?null:n.name)&&o.getAttribute("property")===(null==n.property?null:n.property)&&o.getAttribute("http-equiv")===(null==n.httpEquiv?null:n.httpEquiv)&&o.getAttribute("charset")===(null==n.charSet?null:n.charSet)){i.splice(a,1);break t}Rl(o=t.createElement(r),r,n),t.head.appendChild(o);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+r+'". This is a bug in React.')}o[Td]=e,Se(o),r=o}e.stateNode=r}else Tu(o,e.type,e.stateNode);else e.stateNode=Su(o,r,e.memoizedProps);else t!==r?(null===t?null!==n.stateNode&&(n=n.stateNode).parentNode.removeChild(n):t.count--,null===r?Tu(o,e.type,e.stateNode):Su(o,r,e.memoizedProps)):null===r&&null!==e.stateNode&&pa(e,e.memoizedProps,n.memoizedProps);break;case 27:if(4&r&&null===e.alternate){o=e.stateNode,i=e.memoizedProps;try{for(a=o.firstChild;a;){var s=a.nextSibling,l=a.nodeName;a[Md]||"HEAD"===l||"BODY"===l||"SCRIPT"===l||"STYLE"===l||"LINK"===l&&"stylesheet"===a.rel.toLowerCase()||o.removeChild(a),a=s}T(e,fu,e.type,i,o,e)}catch(t){Hs(e,e.return,t)}}case 5:if(Ea(t,e),Aa(e),512&r&&(iy||null===n||ca(n,n.return)),32&e.flags){t=e.stateNode;try{T(e,Ql,t)}catch(t){Hs(e,e.return,t)}}4&r&&null!=e.stateNode&&pa(e,t=e.memoizedProps,null!==n?n.memoizedProps:t),1024&r&&(ay=!0,"form"!==e.type&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(Ea(t,e),Aa(e),4&r){if(null===e.stateNode)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");r=e.memoizedProps,n=null!==n?n.memoizedProps:r,t=e.stateNode;try{T(e,Yl,t,n,r)}catch(t){Hs(e,e.return,t)}}break;case 3:if(o=gn(),Ub=null,i=py,py=hu(t.containerInfo),Ea(t,e),py=i,Aa(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{T(e,uu,t.containerInfo)}catch(t){Hs(e,e.return,t)}ay&&(ay=!1,Pa(e)),t.effectDuration+=yn(o);break;case 4:r=py,py=hu(e.stateNode.containerInfo),Ea(t,e),Aa(e),py=r;break;case 12:r=gn(),Ea(t,e),Aa(e),e.stateNode.effectDuration+=vn(r);break;case 13:Ea(t,e),Aa(e),8192&e.child.flags&&null!==e.memoizedState!=(null!==n&&null!==n.memoizedState)&&(av=rd()),4&r&&null!==(r=e.updateQueue)&&(e.updateQueue=null,Ca(e,r));break;case 22:512&r&&(iy||null===n||ca(n,n.return)),a=null!==e.memoizedState,s=null!==n&&null!==n.memoizedState;var u=iy;if(oy=(l=oy)||a,iy=u||s,Ea(t,e),iy=u,oy=l,Aa(e),(t=e.stateNode)._current=e,t._visibility&=~Wh,t._visibility|=t._pendingVisibility&Wh,8192&r&&(t._visibility=a?t._visibility&~Hh:t._visibility|Hh,a&&(t=oy||iy,null===n||s||t||Ia(e)),null===e.memoizedProps||"manual"!==e.memoizedProps.mode))e:for(n=null,t=e;;){if(5===t.tag||26===t.tag||27===t.tag){if(null===n){s=n=t;try{o=s.stateNode,a?T(s,Zl,o):T(s,tu,s.stateNode,s.memoizedProps)}catch(e){Hs(s,s.return,e)}}}else if(6===t.tag){if(null===n){s=t;try{i=s.stateNode,a?T(s,eu,i):T(s,nu,i,s.memoizedProps)}catch(e){Hs(s,s.return,e)}}}else if((22!==t.tag&&23!==t.tag||null===t.memoizedState||t===e)&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;null===t.sibling;){if(null===t.return||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}4&r&&null!==(r=e.updateQueue)&&null!==(n=r.retryQueue)&&(r.retryQueue=null,Ca(e,n));break;case 19:Ea(t,e),Aa(e),4&r&&null!==(r=e.updateQueue)&&(e.updateQueue=null,Ca(e,r));break;case 21:break;default:Ea(t,e),Aa(e)}}function Aa(e){var t=e.flags;if(2&t){try{T(e,ba,e)}catch(t){Hs(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function Pa(e){if(1024&e.subtreeFlags)for(e=e.child;null!==e;){var t=e;Pa(t),5===t.tag&&1024&t.flags&&t.stateNode.reset(),e=e.sibling}}function Oa(e,t){if(8772&t.subtreeFlags)for(t=t.child;null!==t;)wa(e,t.alternate,t),t=t.sibling}function Ra(e){switch(e.tag){case 0:case 11:case 14:case 15:Zi(e,e.return,Pm),Ia(e);break;case 1:ca(e,e.return);var t=e.stateNode;"function"==typeof t.componentWillUnmount&&sa(e,e.return,t),Ia(e);break;case 26:case 27:case 5:ca(e,e.return),Ia(e);break;case 22:ca(e,e.return),null===e.memoizedState&&Ia(e);break;default:Ia(e)}}function Ia(e){for(e=e.child;null!==e;)Ra(e),e=e.sibling}function La(e,t,n,r){var o=n.flags;switch(n.tag){case 0:case 11:case 15:Ma(e,n,r),Xi(n,Pm);break;case 1:if(Ma(e,n,r),"function"==typeof(t=n.stateNode).componentDidMount&&T(n,Jp,n,t),null!==(t=n.updateQueue)){e=n.stateNode;try{T(n,Yi,t,e)}catch(e){Hs(n,n.return,e)}}r&&64&o&&oa(n),ua(n,n.return);break;case 26:case 27:case 5:Ma(e,n,r),r&&null===t&&4&o&&ha(n),ua(n,n.return);break;case 12:if(r&&4&o){o=gn(),Ma(e,n,r),(r=n.stateNode).effectDuration+=vn(o);try{T(n,da,n,t,sp,r.effectDuration)}catch(e){Hs(n,n.return,e)}}else Ma(e,n,r);break;case 13:Ma(e,n,r),r&&4&o&&_a(e,n);break;case 22:null===n.memoizedState&&Ma(e,n,r),ua(n,n.return);break;default:Ma(e,n,r)}}function Ma(e,t,n){for(n=n&&!!(8772&t.subtreeFlags),t=t.child;null!==t;)La(e,t.alternate,t,n),t=t.sibling}function Da(e,t){var n=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),e=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(e=t.memoizedState.cachePool.pool),e!==n&&(null!=e&&lr(e),null!=n&&ur(n))}function Fa(e,t){e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(lr(t),null!=e&&ur(e))}function Na(e,t,n,r){if(10256&t.subtreeFlags)for(t=t.child;null!==t;)ja(e,t,n,r),t=t.sibling}function ja(e,t,n,r){var o=t.flags;switch(t.tag){case 0:case 11:case 15:Na(e,t,n,r),2048&o&&na(t,Om|Tm);break;case 3:var i=gn();Na(e,t,n,r),2048&o&&(n=null,null!==t.alternate&&(n=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==n&&(lr(t),null!=n&&ur(n))),e.passiveEffectDuration+=yn(i);break;case 12:if(2048&o){i=gn(),Na(e,t,n,r),(e=t.stateNode).passiveEffectDuration+=vn(i);try{T(t,fa,t,t.alternate,sp,e.passiveEffectDuration)}catch(e){Hs(t,t.return,e)}}else Na(e,t,n,r);break;case 23:break;case 22:i=t.stateNode,null!==t.memoizedState?i._visibility&qh?Na(e,t,n,r):Va(e,t):i._visibility&qh?Na(e,t,n,r):(i._visibility|=qh,za(e,t,n,r,!!(10256&t.subtreeFlags))),2048&o&&Da(t.alternate,t);break;case 24:Na(e,t,n,r),2048&o&&Fa(t.alternate,t);break;default:Na(e,t,n,r)}}function za(e,t,n,r,o){for(o=o&&!!(10256&t.subtreeFlags),t=t.child;null!==t;)Ua(e,t,n,r,o),t=t.sibling}function Ua(e,t,n,r,o){var i=t.flags;switch(t.tag){case 0:case 11:case 15:za(e,t,n,r,o),na(t,Om);break;case 23:break;case 22:var a=t.stateNode;null!==t.memoizedState?a._visibility&qh?za(e,t,n,r,o):Va(e,t):(a._visibility|=qh,za(e,t,n,r,o)),o&&2048&i&&Da(t.alternate,t);break;case 24:za(e,t,n,r,o),o&&2048&i&&Fa(t.alternate,t);break;default:za(e,t,n,r,o)}}function Va(e,t){if(10256&t.subtreeFlags)for(t=t.child;null!==t;){var n=e,r=t,o=r.flags;switch(r.tag){case 22:Va(n,r),2048&o&&Da(r.alternate,r);break;case 24:Va(n,r),2048&o&&Fa(r.alternate,r);break;default:Va(n,r)}t=t.sibling}}function Ba(e){if(e.subtreeFlags&my)for(e=e.child;null!==e;)$a(e),e=e.sibling}function $a(e){switch(e.tag){case 26:Ba(e),e.flags&my&&null!==e.memoizedState&&function(e,t,n){if(null===Vb)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var r=Vb;if("stylesheet"===t.type&&("string"!=typeof n.media||!1!==matchMedia(n.media).matches)&&(t.state.loading&Eb)===Sb){if(null===t.instance){var o=yu(n.href),i=e.querySelector(vu(o));if(i)return null!==(e=i._p)&&"object"==typeof e&&"function"==typeof e.then&&(r.count++,r=Ou.bind(r),e.then(r,r)),t.state.loading|=Eb,t.instance=i,void Se(i);i=e.ownerDocument||e,n=bu(n),(o=Tb.get(o))&&_u(n,o),Se(i=i.createElement("link"));var a=i;a._p=new Promise(((e,t)=>{a.onload=e,a.onerror=t})),Rl(i,"link",n),t.instance=i}null===r.stylesheets&&(r.stylesheets=new Map),r.stylesheets.set(t,e),(e=t.state.preload)&&(t.state.loading&Cb)===Sb&&(r.count++,t=Ou.bind(r),e.addEventListener("load",t),e.addEventListener("error",t))}}(py,e.memoizedState,e.memoizedProps);break;case 5:default:Ba(e);break;case 3:case 4:var t=py;py=hu(e.stateNode.containerInfo),Ba(e),py=t;break;case 22:null===e.memoizedState&&(null!==(t=e.alternate)&&null!==t.memoizedState?(t=my,my=16777216,Ba(e),my=t):Ba(e))}}function Ha(e){var t=e.alternate;if(null!==t&&null!==(e=t.child)){t.child=null;do{t=e.sibling,e.sibling=null,e=t}while(null!==e)}}function Wa(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];ly=r,Ya(r,e)}Ha(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)qa(e),e=e.sibling}function qa(e){switch(e.tag){case 0:case 11:case 15:Wa(e),2048&e.flags&&ra(e,e.return,Om|Tm);break;case 3:var t=gn();Wa(e),e.stateNode.passiveEffectDuration+=yn(t);break;case 12:t=gn(),Wa(e),e.stateNode.passiveEffectDuration+=vn(t);break;case 22:t=e.stateNode,null!==e.memoizedState&&t._visibility&qh&&(null===e.return||13!==e.return.tag)?(t._visibility&=~qh,Ka(e)):Wa(e);break;default:Wa(e)}}function Ka(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];ly=r,Ya(r,e)}Ha(e)}for(e=e.child;null!==e;)Qa(e),e=e.sibling}function Qa(e){switch(e.tag){case 0:case 11:case 15:ra(e,e.return,Om),Ka(e);break;case 22:var t=e.stateNode;t._visibility&qh&&(t._visibility&=~qh,Ka(e));break;default:Ka(e)}}function Ya(e,t){for(;null!==ly;){var n=ly,r=n;switch(r.tag){case 0:case 11:case 15:ra(r,t,Om);break;case 23:case 22:null!==r.memoizedState&&null!==r.memoizedState.cachePool&&null!=(r=r.memoizedState.cachePool.pool)&&lr(r);break;case 24:ur(r.memoizedState.cache)}if(null!==(r=n.child))r.return=n,ly=r;else e:for(n=e;null!==ly;){var o=(r=ly).sibling,i=r.return;if(ka(r),r===n){ly=null;break e}if(null!==o){o.return=i,ly=o;break e}ly=i}}}function Ga(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.refCleanup=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,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,gy||"function"!=typeof Object.preventExtensions||Object.preventExtensions(this)}function Ja(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Xa(e,t){var n=e.alternate;switch(null===n?((n=s(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugOwner=e._debugOwner,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null,n.actualDuration=-0,n.actualStartTime=-1.1),n.flags=31457280&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,_debugThenableState:t._debugThenableState},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugInfo=e._debugInfo,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case 0:case 15:case 1:n.type=dn(e.type);break;case 11:n.type=fn(e.type)}return n}function Za(e,t){e.flags&=31457282;var n=e.alternate;return null===n?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration),e}function es(e,t,n,r,o,i){var a=0,l=e;if("function"==typeof e)Ja(e)&&(a=1),l=dn(l);else if("string"==typeof e)a=function(e,t,n){var r=!n.ancestorInfo.containerTagInScope;if(n.context===db||null!=t.itemProp)return!r||null==t.itemProp||"meta"!==e&&"title"!==e&&"style"!==e&&"link"!==e&&"script"!==e||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",e,e),!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!=typeof t.precedence||"string"!=typeof t.href||""===t.href){r&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflic with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags.  Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`, or move the <style> to the <style> tag.');break}return!0;case"link":if("string"!=typeof t.rel||"string"!=typeof t.href||""===t.href||t.onLoad||t.onError){if("stylesheet"===t.rel&&"string"==typeof t.precedence){e=t.href;var o=t.onError,i=t.disabled;n=[],t.onLoad&&n.push("`onLoad`"),o&&n.push("`onError`"),null!=i&&n.push("`disabled`"),o=function(e){switch(e.length){case 0:return"";case 1:return e[0];case 2:return e[0]+" and "+e[1];default:return e.slice(0,-1).join(", ")+", and "+e[e.length-1]}}(n),o+=1===n.length?" prop":" props",i=1===n.length?"an "+o:"the "+o,n.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',e,i,o)}r&&("string"!=typeof t.rel||"string"!=typeof t.href||""===t.href?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(t.onError||t.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}return"stylesheet"!==t.rel||(e=t.precedence,t=t.disabled,"string"!=typeof e&&r&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),"string"==typeof e&&null==t);case"script":if(!(e=t.async&&"function"!=typeof t.async&&"symbol"!=typeof t.async)||t.onLoad||t.onError||!t.src||"string"!=typeof t.src){r&&(e?t.onLoad||t.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":r&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}(e,n,a=U())?26:"html"===e||"head"===e||"body"===e?27:5;else e:switch(e){case vc:return ns(n.children,o,i,t);case bc:a=8,o|=np,o|=rp;break;case wc:return r=o,"string"!=typeof(e=n).id&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),(t=s(12,e,t,r|tp)).elementType=wc,t.lanes=i,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case Cc:return(t=s(13,n,t,o)).elementType=Cc,t.lanes=i,t;case Ec:return(t=s(19,n,t,o)).elementType=Ec,t.lanes=i,t;case Pc:return rs(n,o,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case kc:case xc:a=10;break e;case Sc:a=9;break e;case _c:a=11,l=fn(l);break e;case Tc:a=14;break e;case Ac:a=16,l=null;break e}l="",(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(l+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),null===e?n="null":Bc(e)?n="array":void 0!==e&&e.$$typeof===gc?(n="<"+(g(e.type)||"Unknown")+" />",l=" Did you accidentally export a JSX literal instead of a component?"):n=typeof e,(a=r?y(r):null)&&(l+="\n\nCheck the render method of `"+a+"`."),a=29,n=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+n+"."+l),l=null}return(t=s(a,n,t,o)).elementType=e,t.type=l,t.lanes=i,t._debugOwner=r,t}function ts(e,t,n){return(t=es(e.type,e.key,e.props,e._owner,t,n))._debugOwner=e._owner,t}function ns(e,t,n,r){return(e=s(7,e,r,t)).lanes=n,e}function rs(e,t,n,r){(e=s(22,e,r,t)).elementType=Pc,e.lanes=n;var o={_visibility:Hh,_pendingVisibility:Hh,_pendingMarkers:null,_retryCache:null,_transitions:null,_current:null,detach:()=>{var e=o,t=e._current;if(null===t)throw Error("Calling Offscreen.detach before instance handle has been set.");if(!(e._pendingVisibility&Wh)){var n=ln(t,2);null!==n&&(e._pendingVisibility|=Wh,ys(n,t,2))}},attach:()=>{var e=o,t=e._current;if(null===t)throw Error("Calling Offscreen.detach before instance handle has been set.");if(e._pendingVisibility&Wh){var n=ln(t,2);null!==n&&(e._pendingVisibility&=~Wh,ys(n,t,2))}}};return e.stateNode=o,e}function os(e,t,n){return(e=s(6,e,null,t)).lanes=n,e}function is(e,t,n){return(t=s(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function as(e){e.flags|=4}function ss(e,t){if("stylesheet"!==t.type||(t.state.loading&Eb)!==Sb)e.flags&=-16777217;else if(e.flags|=16777216,!Au(t)){if(null!==(t=km.current)&&((4194176&Dy)===Dy?null!==Sm:(62914560&Dy)!==Dy&&!(536870912&Dy)||t!==Sm))throw Hp=$p,Bp;e.flags|=8192}}function ls(e,t){null!==t&&(e.flags|=4),16384&e.flags&&(t=22!==e.tag?le():536870912,e.lanes|=t,nv|=t)}function us(e,t){if(!Dp)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 cs(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)if((e.mode&tp)!==Zh){for(var o=e.selfBaseDuration,i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=31457280&i.subtreeFlags,r|=31457280&i.flags,o+=i.treeBaseDuration,i=i.sibling;e.treeBaseDuration=o}else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=31457280&o.subtreeFlags,r|=31457280&o.flags,o.return=e,o=o.sibling;else if((e.mode&tp)!==Zh){o=e.actualDuration,i=e.selfBaseDuration;for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,o+=a.actualDuration,i+=a.treeBaseDuration,a=a.sibling;e.actualDuration=o,e.treeBaseDuration=i}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 ds(e,t,n){var r=t.pendingProps;switch(Pn(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return cs(t),null;case 3:return r=t.stateNode,n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Ri(Mm,t),z(t),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Fn(t)?(zn(),as(t)):null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==jp&&(bs(jp),jp=null))),cs(t),null;case 26:return n=t.memoizedState,null===e?(as(t),null!==n?(cs(t),ss(t,n)):(cs(t),t.flags&=-16777217)):n?n!==e.memoizedState?(as(t),cs(t),ss(t,n)):(cs(t),t.flags&=-16777217):(e.memoizedProps!==r&&as(t),cs(t),t.flags&=-16777217),null;case 27:B(t),n=N(Gc.current);var o=t.type;if(null!==e&&null!=t.stateNode)e.memoizedProps!==r&&as(t);else{if(!r){if(null===t.stateNode)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return cs(t),null}e=U(),Fn(t)?Mn(t):(e=du(o,r,n,e,!0),t.stateNode=e,as(t))}return cs(t),null;case 5:if(B(t),n=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&as(t);else{if(!r){if(null===t.stateNode)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return cs(t),null}if(o=U(),Fn(t))Mn(t);else{switch(e=N(Gc.current),ht(n,o.ancestorInfo),o=o.context,e=Vl(e),o){case db:e=e.createElementNS(sf,n);break;case fb:e=e.createElementNS(af,n);break;default:switch(n){case"svg":e=e.createElementNS(sf,n);break;case"math":e=e.createElementNS(af,n);break;case"script":(e=e.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e="string"==typeof r.is?e.createElement("select",{is:r.is}):e.createElement("select"),r.multiple?e.multiple=!0:r.size&&(e.size=r.size);break;default:e="string"==typeof r.is?e.createElement(n,{is:r.is}):e.createElement(n),-1===n.indexOf("-")&&(n!==n.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",n),"[object HTMLUnknownElement]"!==Object.prototype.toString.call(e)||Xc.call(mb,n)||(mb[n]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",n)))}}e[Td]=t,e[Ad]=r;e:for(o=t.child;null!==o;){if(5===o.tag||6===o.tag)e.appendChild(o.stateNode);else if(4!==o.tag&&27!==o.tag&&null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break e;for(;null===o.sibling;){if(null===o.return||o.return===t)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}t.stateNode=e;e:switch(Rl(e,n,r),n){case"button":case"input":case"select":case"textarea":e=!!r.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&as(t)}}return cs(t),t.flags&=-16777217,null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==r&&as(t);else{if("string"!=typeof r&&null===t.stateNode)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(e=N(Gc.current),n=U(),Fn(t)){e=t.stateNode,r=t.memoizedProps,o=!Fp,n=null;var i=Lp;if(null!==i)switch(i.tag){case 3:o&&null!==(o=au(e,r,n))&&(Rn(t,0).serverProps=o);break;case 27:case 5:n=i.memoizedProps,o&&null!==(o=au(e,r,n))&&(Rn(t,0).serverProps=o)}e[Td]=t,(e=!!(e.nodeValue===r||null!==n&&!0===n.suppressHydrationWarning||Tl(e.nodeValue,r)))||Ln(t)}else null!=(n=n.ancestorInfo.current)&&pt(r,n.tag),(e=Vl(e).createTextNode(r))[Td]=t,t.stateNode=e}return cs(t),null;case 13:if(r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(o=Fn(t),null!==r&&null!==r.dehydrated){if(null===e){if(!o)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(!(o=null!==(o=t.memoizedState)?o.dehydrated:null))throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");o[Td]=t,cs(t),(t.mode&tp)!==Zh&&null!==r&&null!==(o=t.child)&&(t.treeBaseDuration-=o.treeBaseDuration)}else zn(),Nn(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4,cs(t),(t.mode&tp)!==Zh&&null!==r&&null!==(o=t.child)&&(t.treeBaseDuration-=o.treeBaseDuration);o=!1}else null!==jp&&(bs(jp),jp=null),o=!0;if(!o)return 256&t.flags?(ir(t),t):(ir(t),null)}return ir(t),128&t.flags?(t.lanes=n,(t.mode&tp)!==Zh&&_n(t),t):(r=null!==r,e=null!==e&&null!==e.memoizedState,r&&(o=null,null!==(n=t.child).alternate&&null!==n.alternate.memoizedState&&null!==n.alternate.memoizedState.cachePool&&(o=n.alternate.memoizedState.cachePool.pool),i=null,null!==n.memoizedState&&null!==n.memoizedState.cachePool&&(i=n.memoizedState.cachePool.pool),i!==o&&(n.flags|=2048)),r!==e&&r&&(t.child.flags|=8192),ls(t,t.updateQueue),cs(t),(t.mode&tp)!==Zh&&r&&null!==(e=t.child)&&(t.treeBaseDuration-=e.treeBaseDuration),null);case 4:return z(t),null===e&&ml(t.stateNode.containerInfo),cs(t),null;case 10:return Ri(t.type,t),cs(t),null;case 19:if(M(Cm,t),null===(o=t.memoizedState))return cs(t),null;if(r=!!(128&t.flags),null===(i=o.rendering))if(r)us(o,!1);else{if(Jy!==Cy||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(i=ar(e))){for(t.flags|=128,us(o,!1),e=i.updateQueue,t.updateQueue=e,ls(t,e),t.subtreeFlags=0,e=n,r=t.child;null!==r;)Za(r,e),r=r.sibling;return D(Cm,Cm.current&xm|_m,t),t.child}e=e.sibling}null!==o.tail&&rd()>lv&&(t.flags|=128,r=!0,us(o,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ar(i))){if(t.flags|=128,r=!0,e=e.updateQueue,t.updateQueue=e,ls(t,e),us(o,!0),null===o.tail&&"hidden"===o.tailMode&&!i.alternate&&!Dp)return cs(t),null}else 2*rd()-o.renderingStartTime>lv&&536870912!==n&&(t.flags|=128,r=!0,us(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(null!==(e=o.last)?e.sibling=i:t.child=i,o.last=i)}return null!==o.tail?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=rd(),e.sibling=null,n=Cm.current,D(Cm,n=r?n&xm|_m:n&xm,t),e):(cs(t),null);case 22:case 23:return ir(t),tr(t),r=null!==t.memoizedState,null!==e?null!==e.memoizedState!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?!!(536870912&n)&&!(128&t.flags)&&(cs(t),6&t.subtreeFlags&&(t.flags|=8192)):cs(t),null!==(r=t.updateQueue)&&ls(t,r.retryQueue),r=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(r=e.memoizedState.cachePool.pool),n=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(n=t.memoizedState.cachePool.pool),n!==r&&(t.flags|=2048),null!==e&&M(Vm,t),null;case 24:return r=null,null!==e&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Ri(Mm,t),cs(t),null;case 25:return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function fs(e,t){switch(Pn(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,(t.mode&tp)!==Zh&&_n(t),t):null;case 3:return Ri(Mm,t),z(t),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return B(t),null;case 13:if(ir(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Nn()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,(t.mode&tp)!==Zh&&_n(t),t):null;case 19:return M(Cm,t),null;case 4:return z(t),null;case 10:return Ri(t.type,t),null;case 22:case 23:return ir(t),tr(t),null!==e&&M(Vm,t),65536&(e=t.flags)?(t.flags=-65537&e|128,(t.mode&tp)!==Zh&&_n(t),t):null;case 24:return Ri(Mm,t),null;default:return null}}function hs(e,t){switch(Pn(t),t.tag){case 3:Ri(Mm,t),z(t);break;case 26:case 27:case 5:B(t);break;case 4:z(t);break;case 13:ir(t);break;case 19:M(Cm,t);break;case 10:Ri(t.type,t);break;case 22:case 23:ir(t),tr(t),null!==e&&M(Vm,t);break;case 24:Ri(Mm,t)}}function ps(){var e="undefined"!=typeof IS_REACT_ACT_ENVIRONMENT?IS_REACT_ACT_ENVIRONMENT:void 0;return e||null===Lc.actQueue||console.error("The current testing environment is not configured to support act(...)"),e}function ms(e){if((Iy&xy)!==Sy&&0!==Dy)return Dy&-Dy;var t=Lc.T;return null!==t?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),0!==(e=Nm)?e:ul()):ge()}function gs(){0===tv&&(tv=536870912&Dy&&!Dp?536870912:se());var e=km.current;return null!==e&&(e.flags|=32),tv}function ys(e,t,n){if(Cv&&console.error("useInsertionEffect must not schedule updates."),wv&&(kv=!0),(e===Ly&&Wy===jy||null!==e.cancelPendingCommit)&&(Cs(e,0),Ss(e,Dy,tv,!1)),ce(e,n),Iy&xy&&e===Ly){if(Vc)switch(t.tag){case 0:case 11:case 15:e=My&&v(My)||"Unknown",Rv.has(e)||(Rv.add(e),t=v(t)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",t,e,e));break;case 1:Ov||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),Ov=!0)}}else gd&&he(e,t,n),function(e){ps()&&null===Lc.actQueue&&T(e,(()=>{console.error("An update to %s inside a test was not wrapped in act(...).\n\nWhen testing, code that causes React state updates should be wrapped into act(...):\n\nact(() => {\n  /* fire events that update state */\n});\n/* assert on the output */\n\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act",v(e))}))}(t),e===Ly&&((Iy&xy)===Sy&&(Zy|=n),Jy===Py&&Ss(e,Dy,tv,!1)),tl(e)}function vs(e,t,n){if((Iy&(xy|_y))!==Sy)throw Error("Should not already be working.");for(var r=!n&&!(60&t)&&!(t&e.expiredLanes)||ie(e,t),o=r?function(e,t){var n=Iy;Iy|=xy;var r=Ts(),o=As();if(Ly!==e||Dy!==t){if(gd){var i=e.memoizedUpdaters;0<i.size&&(el(e,Dy),i.clear()),pe(e,t)}cv=null,lv=rd()+uv,Cs(e,t)}else Qy=ie(e,t);Z(t);e:for(;;)try{if(Wy!==Fy&&null!==My)t:switch(t=My,i=qy,Wy){case Ny:Wy=Fy,qy=null,Fs(e,t,i,Ny);break;case jy:if(Un(i)){Wy=Fy,qy=null,Ms(t);break}t=()=>{Wy===jy&&Ly===e&&(Wy=$y),tl(e)},i.then(t,t);break e;case zy:Wy=$y;break e;case Uy:Wy=Vy;break e;case $y:Un(i)?(Wy=Fy,qy=null,Ms(t)):(Wy=Fy,qy=null,Fs(e,t,i,$y));break;case Vy:var a=null;switch(My.tag){case 26:a=My.memoizedState;case 5:case 27:var s=My;if(!a||Au(a)){Wy=Fy,qy=null;var l=s.sibling;if(null!==l)My=l;else{var u=s.return;null!==u?(My=u,Ns(u)):My=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}Wy=Fy,qy=null,Fs(e,t,i,Vy);break;case By:Wy=Fy,qy=null,Fs(e,t,i,By);break;case Hy:_s(),Jy=Ry;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}null!==Lc.actQueue?Rs():Is();break}catch(t){Es(e,t)}return Pi(),Lc.H=r,Lc.A=o,Iy=n,null!==My?(null!==pd&&"function"==typeof pd.markRenderYielded&&pd.markRenderYielded(),Cy):(ee(),Ly=null,Dy=0,on(),Jy)}(e,t):Os(e,t,!0),i=r;;){if(o===Cy){Qy&&!r&&Ss(e,t,0,!1);break}if(o===Ry)Ss(e,t,0,!Ky);else{if(n=e.current.alternate,i&&!ks(n)){o=Os(e,t,!1),i=!1;continue}if(o===Ty){if(i=t,e.errorRecoveryDisabledLanes&i)var a=0;else a=0!=(a=-536870913&e.pendingLanes)?a:536870912&a?536870912:0;if(0!==a){t=a;e:{var s=a;a=rv;var l=(o=e).current.memoizedState.isDehydrated;if(l&&(Cs(o,s).flags|=256),(s=Os(o,s,!1))!==Ty){if(Yy&&!l){o.errorRecoveryDisabledLanes|=i,Zy|=i,o=Py;break e}o=ov,ov=a,null!==o&&bs(o)}o=s}if(i=!1,o!==Ty)continue}}if(o===Ey){Cs(e,0),Ss(e,t,0,!0);break}e:{switch(r=e,o){case Cy:case Ey:throw Error("Root did not complete. This is a bug in React.");case Py:if((4194176&t)===t){Ss(r,t,tv,!Ky);break e}break;case Ty:ov=null;break;case Ay:case Oy:break;default:throw Error("Unknown root exit status.")}if(r.finishedWork=n,r.finishedLanes=t,null!==Lc.actQueue)zs(r,ov,cv,iv,tv,Zy,nv);else{if((62914560&t)===t&&10<(o=av+sv-rd())){if(Ss(r,t,tv,!Ky),0!==oe(r,0))break e;r.timeoutHandle=yb(ws.bind(null,r,n,ov,cv,iv,t,tv,Zy,nv,Ky,Av,ap,0),o);break e}ws(r,n,ov,cv,iv,t,tv,Zy,nv,Ky,Ev,ap,0)}}}break}tl(e)}function bs(e){null===ov?ov=e:ov.push.apply(ov,e)}function ws(e,t,n,r,o,i,a,s,l,u,c,d,f){var h=t.subtreeFlags;if((8192&h||!(16785408&~h))&&(Vb={stylesheets:null,count:0,unsuspend:Pu},$a(t),null!==(t=function(){if(null===Vb)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var e=Vb;return e.stylesheets&&0===e.count&&Ru(e,e.stylesheets),0<e.count?t=>{var n=setTimeout((()=>{if(e.stylesheets&&Ru(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}),6e4);return e.unsuspend=t,()=>{e.unsuspend=null,clearTimeout(n)}}:null}())))return e.cancelPendingCommit=t(zs.bind(null,e,n,r,o,a,s,l,Tv,d,f)),void Ss(e,i,a,!u);zs(e,n,r,o,a,s,l)}function ks(e){for(var t=e;;){var n=t.tag;if((0===n||11===n||15===n)&&16384&t.flags&&null!==(n=t.updateQueue)&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!Eh(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}function Ss(e,t,n,r){t&=~ev,t&=~Zy,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var o=t;0<o;){var i=31-yd(o),a=1<<i;r[i]=-1,o&=~a}0!==n&&de(e,n,t)}function xs(){return(Iy&(xy|_y))!==Sy||(nl(0),!1)}function _s(){if(null!==My){if(Wy===Fy)var e=My.return;else e=My,Pi(),Er(e),cm=null,dm=0,e=My;for(;null!==e;)hs(e.alternate,e),e=e.return;My=null}}function Cs(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;n!==bb&&(e.timeoutHandle=bb,vb(n)),null!==(n=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,n()),_s(),Ly=e,My=n=Xa(e.current,null),Dy=t,Wy=Fy,qy=null,Ky=!1,Qy=ie(e,t),Yy=!1,Jy=Cy,nv=tv=ev=Zy=Xy=0,ov=rv=null,iv=!1,8&t&&(t|=32&t);var r=e.entangledLanes;if(0!==r)for(e=e.entanglements,r&=t;0<r;){var o=31-yd(r),i=1<<o;t|=e[o],r&=~i}return Gy=t,on(),fp.discardPendingWarnings(),n}function Es(e,t){Km=null,Lc.H=ug,Lc.getCurrentStack=null,Vc=!1,Uc=null,t===Vp?(t=$n(),Wy=zy):t===Bp?(t=$n(),Wy=Uy):Wy=t===Ig?Hy:null!==t&&"object"==typeof t&&"function"==typeof t.then?By:Ny,qy=t;var n=My;if(null===n)Jy=Ey,Zo(e,Cn(t,e.current));else switch(n.mode&tp&&wn(n),X(),Wy){case Ny:null!==pd&&"function"==typeof pd.markComponentErrored&&pd.markComponentErrored(n,t,Dy);break;case jy:case zy:case By:case $y:null!==pd&&"function"==typeof pd.markComponentSuspended&&pd.markComponentSuspended(n,t,Dy)}}function Ts(){var e=Lc.H;return Lc.H=ug,null===e?ug:e}function As(){var e=Lc.A;return Lc.A=vy,e}function Ps(){Jy=Py,Ky||(4194176&Dy)!==Dy&&null!==km.current||(Qy=!0),!(134217727&Xy)&&!(134217727&Zy)||null===Ly||Ss(Ly,Dy,tv,!1)}function Os(e,t,n){var r=Iy;Iy|=xy;var o=Ts(),i=As();if(Ly!==e||Dy!==t){if(gd){var a=e.memoizedUpdaters;0<a.size&&(el(e,Dy),a.clear()),pe(e,t)}cv=null,Cs(e,t)}Z(t),t=!1,a=Jy;e:for(;;)try{if(Wy!==Fy&&null!==My){var s=My,l=qy;switch(Wy){case Hy:_s(),a=Ry;break e;case zy:case jy:case By:null===km.current&&(t=!0);var u=Wy;if(Wy=Fy,qy=null,Fs(e,s,l,u),n&&Qy){a=Cy;break e}break;default:u=Wy,Wy=Fy,qy=null,Fs(e,s,l,u)}}Rs(),a=Jy;break}catch(t){Es(e,t)}return t&&e.shellSuspendCounter++,Pi(),Iy=r,Lc.H=o,Lc.A=i,ee(),null===My&&(Ly=null,Dy=0,on()),a}function Rs(){for(;null!==My;)Ls(My)}function Is(){for(;null!==My&&!td();)Ls(My)}function Ls(e){var t=e.alternate;(e.mode&tp)!==Zh?(bn(e),t=T(e,Ai,t,e,Gy),wn(e)):t=T(e,Ai,t,e,Gy),e.memoizedProps=e.pendingProps,null===t?Ns(e):My=t}function Ms(e){var t=T(e,Ds,e);e.memoizedProps=e.pendingProps,null===t?Ns(e):My=t}function Ds(e){var t=e.alternate,n=(e.mode&tp)!==Zh;switch(n&&bn(e),e.tag){case 15:case 0:t=fi(t,e,e.pendingProps,e.type,void 0,Dy);break;case 11:t=fi(t,e,e.pendingProps,e.type.render,e.ref,Dy);break;case 5:Er(e);default:hs(t,e),t=Ai(t,e=My=Za(e,Gy),Gy)}return n&&wn(e),t}function Fs(e,t,n,r){Pi(),Er(t),cm=null,dm=0;var o=t.return;try{if(function(e,t,n,r,o){if(n.flags|=32768,gd&&el(e,o),null!==r&&"object"==typeof r&&"function"==typeof r.then){if(null!==(t=n.alternate)&&Mi(t,n,o,!0),Dp&&(Fp=!0),null!==(n=km.current)){switch(n.tag){case 13:return null===Sm?Ps():null===n.alternate&&Jy===Cy&&(Jy=Ay),n.flags&=-257,n.flags|=65536,n.lanes=o,r===$p?n.flags|=16384:(null===(t=n.updateQueue)?n.updateQueue=new Set([r]):t.add(r),Ws(e,r,o)),!1;case 22:return n.flags|=65536,r===$p?n.flags|=16384:(null===(t=n.updateQueue)?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):null===(n=t.retryQueue)?t.retryQueue=new Set([r]):n.add(r),Ws(e,r,o)),!1}throw Error("Unexpected Suspense handler tag ("+n.tag+"). This is a bug in React.")}return Ws(e,r,o),Ps(),!1}if(Dp)return Fp=!0,null!==(t=km.current)?(!(65536&t.flags)&&(t.flags|=256),t.flags|=65536,t.lanes=o,r!==Up&&jn(Cn(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:r}),n))):(r!==Up&&jn(Cn(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:r}),n)),(e=e.current.alternate).flags|=65536,o&=-o,e.lanes|=o,r=Cn(r,n),Wi(e,o=ti(e.stateNode,r,o)),Jy!==Py&&(Jy=Ty)),!1;var i=Cn(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:r}),n);if(null===rv?rv=[i]:rv.push(i),Jy!==Py&&(Jy=Ty),null===t)return!0;r=Cn(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=o&-o,n.lanes|=e,Wi(n,e=ti(n.stateNode,r,e)),!1;case 1:if(t=n.type,i=n.stateNode,!(128&n.flags||"function"!=typeof t.getDerivedStateFromError&&(null===i||"function"!=typeof i.componentDidCatch||null!==dv&&dv.has(i))))return n.flags|=65536,o&=-o,n.lanes|=o,ri(o=ni(o),e,n,r),Wi(n,o),!1}n=n.return}while(null!==n);return!1}(e,o,t,n,Dy))return Jy=Ey,Zo(e,Cn(n,e.current)),void(My=null)}catch(t){if(null!==o)throw My=o,t;return Jy=Ey,Zo(e,Cn(n,e.current)),void(My=null)}32768&t.flags?(Dp||r===Ny?e=!0:Qy||536870912&Dy?e=!1:(Ky=e=!0,(r===jy||r===zy||r===By)&&null!==(r=km.current)&&13===r.tag&&(r.flags|=16384)),js(t,e)):Ns(t)}function Ns(e){var t=e;do{if(32768&t.flags)return void js(t,Ky);var n=t.alternate;if(e=t.return,bn(t),n=T(t,ds,n,t,Gy),(t.mode&tp)!==Zh&&kn(t),null!==n)return void(My=n);if(null!==(t=t.sibling))return void(My=t);My=t=e}while(null!==t);Jy===Cy&&(Jy=Oy)}function js(e,t){do{var n=fs(e.alternate,e);if(null!==n)return n.flags&=32767,void(My=n);if((e.mode&tp)!==Zh){kn(e),n=e.actualDuration;for(var r=e.child;null!==r;)n+=r.actualDuration,r=r.sibling;e.actualDuration=n}if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&null!==(e=e.sibling))return void(My=e);My=e=n}while(null!==e);Jy=Ry,My=null}function zs(e,t,n,r,o,i,a,s,l,u){var c=Lc.T,d=$c.p;try{$c.p=Sd,Lc.T=null,function(e,t,n,r,o,i,a,s){do{Bs()}while(null!==hv);if(fp.flushLegacyContextWarning(),fp.flushPendingUnsafeLifecycleWarnings(),(Iy&(xy|_y))!==Sy)throw Error("Should not already be working.");var l=e.finishedWork;if(r=e.finishedLanes,null!==pd&&"function"==typeof pd.markCommitStarted&&pd.markCommitStarted(r),null===l)return G(),null;if(0===r&&console.error("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=0,l===e.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=0,e.cancelPendingCommit=null;var u=l.lanes|l.childLanes;if(function(e,t,n,r,o,i){var a=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 s=e.entanglements,l=e.expirationTimes,u=e.hiddenUpdates;for(n=a&~n;0<n;){var c=31-yd(n),d=1<<c;s[c]=0,l[c]=-1;var f=u[c];if(null!==f)for(u[c]=null,c=0;c<f.length;c++){var h=f[c];null!==h&&(h.lane&=-536870913)}n&=~d}0!==r&&de(e,r,0),0!==i&&0===o&&0!==e.tag&&(e.suspendedLanes|=i&~(a&~t))}(e,r,u|=Yh,i,a,s),e===Ly&&(My=Ly=null,Dy=0),!(10256&l.subtreeFlags)&&!(10256&l.flags)||fv||(fv=!0,mv=u,gv=n,function(e,t){var n=Lc.actQueue;null!==n?n.push(t):Zc(e,t)}(sd,(()=>(Bs(),null)))),sp=ip(),n=!!(15990&l.flags),15990&l.subtreeFlags||n?(n=Lc.T,Lc.T=null,i=$c.p,$c.p=Sd,a=Iy,Iy|=_y,function(e,t){if(e=e.containerInfo,hb=Zb,Xt(e=Jt(e))){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,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(e){n=null;break e}var a=0,s=-1,l=-1,u=0,c=0,d=e,f=null;t:for(;;){for(var h;d!==n||0!==o&&3!==d.nodeType||(s=a+o),d!==i||0!==r&&3!==d.nodeType||(l=a+r),3===d.nodeType&&(a+=d.nodeValue.length),null!==(h=d.firstChild);)f=d,d=h;for(;;){if(d===e)break t;if(f===n&&++u===o&&(s=a),f===i&&++c===r&&(l=a),null!==(h=d.nextSibling))break;f=(d=f).parentNode}d=h}n=-1===s||-1===l?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(pb={focusedElem:e,selectionRange:n},Zb=!1,ly=t;null!==ly;)if(e=(t=ly).child,1028&t.subtreeFlags&&null!==e)e.return=t,ly=e;else for(;null!==ly;){switch(n=(e=t=ly).alternate,o=e.flags,e.tag){case 0:case 11:case 15:case 5:case 26:case 27:case 6:case 4:case 17:break;case 1:1024&o&&null!==n&&aa(e,n);break;case 3:if(1024&o)if(9===(n=(e=e.stateNode.containerInfo).nodeType))ru(e);else if(1===n)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":ru(e);break;default:e.textContent=""}break;default:if(1024&o)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(null!==(e=t.sibling)){e.return=t.return,ly=e;break}ly=t.return}t=dy,dy=!1}(e,l),function(e,t,n){uy=n,cy=e,Ta(t,e),cy=uy=null}(e,l,r),Zt(pb,e.containerInfo),Zb=!!hb,pb=hb=null,e.current=l,null!==pd&&"function"==typeof pd.markLayoutEffectsStarted&&pd.markLayoutEffectsStarted(r),function(e,t,n){uy=n,cy=t,wa(t,e.alternate,e),cy=uy=null}(l,e,r),null!==pd&&"function"==typeof pd.markLayoutEffectsStopped&&pd.markLayoutEffectsStopped(),nd(),Iy=a,$c.p=i,Lc.T=n):e.current=l,(n=fv)?(fv=!1,hv=e,pv=r):(Vs(e,u),xv=0,_v=null),0===(u=e.pendingLanes)&&(dv=null),n||Xs(e),function(e,t){if(hd&&"function"==typeof hd.onCommitFiberRoot)try{var n=!(128&~e.current.flags);switch(t){case Sd:var r=id;break;case xd:r=ad;break;case _d:r=sd;break;case Cd:r=ud;break;default:r=sd}hd.onCommitFiberRoot(fd,e,r,n)}catch(e){md||(md=!0,console.error("React instrumentation encountered an error: %s",e))}}(l.stateNode,o),gd&&e.memoizedUpdaters.clear(),wy.forEach((e=>e())),tl(e),null!==t)for(o=e.onRecoverableError,l=0;l<t.length;l++)n=Us((u=t[l]).stack),T(u.source,o,u.value,n);!!(3&pv)&&Bs(),u=e.pendingLanes,4194218&r&&42&u?(dp=!0,e===bv?vv++:(vv=0,bv=e)):vv=0,nl(0),G()}(e,t,n,r,d,o,i,a)}finally{Lc.T=c,$c.p=d}}function Us(e){return e={componentStack:e},Object.defineProperty(e,"digest",{get:()=>{console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),e}function Vs(e,t){0==(e.pooledCacheLanes&=t)&&null!=(t=e.pooledCache)&&(e.pooledCache=null,ur(t))}function Bs(){if(null!==hv){var e=hv,t=mv;mv=0;var n=me(pv),r=_d>n?_d:n;n=Lc.T;var o=$c.p;try{if($c.p=r,Lc.T=null,null===hv)var i=!1;else{r=gv,gv=null;var a=hv,s=pv;if(hv=null,pv=0,(Iy&(xy|_y))!==Sy)throw Error("Cannot flush passive effects while already rendering.");wv=!0,kv=!1,null!==pd&&"function"==typeof pd.markPassiveEffectsStarted&&pd.markPassiveEffectsStarted(s);var l=Iy;if(Iy|=_y,qa(a.current),ja(a,a.current,s,r),null!==pd&&"function"==typeof pd.markPassiveEffectsStopped&&pd.markPassiveEffectsStopped(),Xs(a),Iy=l,nl(0),kv?a===_v?xv++:(xv=0,_v=a):xv=0,kv=wv=!1,hd&&"function"==typeof hd.onPostCommitFiberRoot)try{hd.onPostCommitFiberRoot(fd,a)}catch(e){md||(md=!0,console.error("React instrumentation encountered an error: %s",e))}var u=a.current.stateNode;u.effectDuration=0,u.passiveEffectDuration=0,i=!0}return i}finally{$c.p=o,Lc.T=n,Vs(e,t)}}return!1}function $s(e,t,n){t=Cn(n,t),null!==(e=$i(e,t=ti(e.stateNode,t,2),2))&&(ce(e,2),tl(e))}function Hs(e,t,n){if(Cv=!1,3===e.tag)$s(e,e,n);else{for(;null!==t;){if(3===t.tag)return void $s(t,e,n);if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===dv||!dv.has(r)))return e=Cn(n,e),void(null!==(r=$i(t,n=ni(2),2))&&(ri(n,r,t,e),ce(r,2),tl(r)))}t=t.return}console.error("Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.\n\nError message:\n\n%s",n)}}function Ws(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new ky;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)||(Yy=!0,o.add(n),r=qs.bind(null,e,t,n),gd&&el(e,n),t.then(r,r))}function qs(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,ps()&&null===Lc.actQueue&&console.error("A suspended resource finished loading inside a test, but the event was not wrapped in act(...).\n\nWhen testing, code that resolves suspended data should be wrapped into act(...):\n\nact(() => {\n  /* finish loading suspended data */\n});\n/* assert on the output */\n\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act"),Ly===e&&(Dy&n)===n&&(Jy===Py||Jy===Ay&&(62914560&Dy)===Dy&&rd()-av<sv?(Iy&xy)===Sy&&Cs(e,0):ev|=n,nv===Dy&&(nv=0)),tl(e)}function Ks(e,t){0===t&&(t=le()),null!==(e=ln(e,t))&&(ce(e,t),tl(e))}function Qs(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Ks(e,n)}function Ys(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;case 22:r=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}null!==r&&r.delete(t),Ks(e,n)}function Gs(e,t,n){if(33562624&t.subtreeFlags)for(t=t.child;null!==t;){var r=e,o=t,i=o.type===bc;i=n||i,22!==o.tag?33554432&o.flags?i&&T(o,Js,r,o,(o.mode&op)===Zh):Gs(r,o,i):null===o.memoizedState&&(i&&8192&o.flags?T(o,Js,r,o):33554432&o.subtreeFlags&&T(o,Gs,r,o,i)),t=t.sibling}}function Js(e,t){var n=!(2<arguments.length&&void 0!==arguments[2])||arguments[2];Y(!0);try{Ra(t),n&&Qa(t),La(e,t.alternate,t,!1),n&&Ua(e,t,0,null,!1)}finally{Y(!1)}}function Xs(e){var t=!0;e.current.mode&(np|rp)||(t=!1),Gs(e,e.current,t)}function Zs(e){if((Iy&xy)===Sy){var t=e.tag;if(3===t||1===t||0===t||11===t||14===t||15===t){if(t=v(e)||"ReactComponent",null!==Pv){if(Pv.has(t))return;Pv.add(t)}else Pv=new Set([t]);T(e,(()=>{console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}))}}}function el(e,t){gd&&e.memoizedUpdaters.forEach((n=>{he(e,n,t)}))}function tl(e){e!==Lv&&null===e.next&&(null===Lv?Iv=Lv=e:Lv=Lv.next=e),Fv=!0,null!==Lc.actQueue?Dv||(Dv=!0,ll(rl)):Mv||(Mv=!0,ll(rl))}function nl(e,t){if(!Nv&&Fv){Nv=!0;do{for(var n=!1,r=Iv;null!==r;){if(0!==e){var o=r.pendingLanes;if(0===o)var i=0;else{var a=r.suspendedLanes,s=r.pingedLanes;i=(1<<31-yd(42|e)+1)-1,i=201326677&(i&=o&~(a&~s))?201326677&i|1:i?2|i:0}0!==i&&(n=!0,al(r,i))}else i=Dy,!(3&(i=oe(r,r===Ly?i:0)))||ie(r,i)||(n=!0,al(r,i));r=r.next}}while(n);Nv=!1}}function rl(){Fv=Dv=Mv=!1;var e=0;0!==jv&&(function(){var e=window.event;return e&&"popstate"===e.type?e!==gb&&(gb=e,!0):(gb=null,!1)}()&&(e=jv),jv=0);for(var t=rd(),n=null,r=Iv;null!==r;){var o=r.next,i=ol(r,t);0===i?(r.next=null,null===n?Iv=o:n.next=o,null===o&&(Lv=n)):(n=r,(0!==e||3&i)&&(Fv=!0)),r=o}nl(e)}function ol(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=-62914561&e.pendingLanes;0<i;){var a=31-yd(i),s=1<<a,l=o[a];-1===l?!!(s&n)&&!(s&r)||(o[a]=ae(s,t)):l<=t&&(e.expiredLanes|=s),i&=~s}if(n=Dy,n=oe(e,e===(t=Ly)?n:0),r=e.callbackNode,0===n||e===t&&Wy===jy||null!==e.cancelPendingCommit)return null!==r&&sl(r),e.callbackNode=null,e.callbackPriority=0;if(!(3&n)||ie(e,n)){if((t=n&-n)===e.callbackPriority&&(null===Lc.actQueue||r===zv))return t;switch(sl(r),me(n)){case Sd:case xd:n=ad;break;case _d:n=sd;break;case Cd:n=ud;break;default:n=sd}return r=il.bind(null,e),null!==Lc.actQueue?(Lc.actQueue.push(r),n=zv):n=Zc(n,r),e.callbackPriority=t,e.callbackNode=n,t}return null!==r&&sl(r),e.callbackPriority=2,e.callbackNode=null,2}function il(e,t){dp=cp=!1;var n=e.callbackNode;if(Bs()&&e.callbackNode!==n)return null;var r=Dy;return 0===(r=oe(e,e===Ly?r:0))?null:(vs(e,r,t),ol(e,rd()),null!=e.callbackNode&&e.callbackNode===n?il.bind(null,e):null)}function al(e,t){if(Bs())return null;cp=dp,dp=!1,vs(e,t,!0)}function sl(e){e!==zv&&null!==e&&ed(e)}function ll(e){null!==Lc.actQueue&&Lc.actQueue.push((()=>(e(),null))),kb((()=>{(Iy&(xy|_y))!==Sy?Zc(id,e):e()}))}function ul(){return 0===jv&&(jv=se()),jv}function cl(e){return null==e||"symbol"==typeof e||"boolean"==typeof e?null:"function"==typeof e?e:(q(e,"action"),St(""+e))}function dl(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function fl(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n];e:{var o=void 0,i=r.event;if(r=r.listeners,t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==o&&i.isPropagationStopped())break e;(o=i).currentTarget=u;try{s(o)}catch(e){Pg(e)}o.currentTarget=null,o=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,u=s.currentTarget,s=s.listener,l!==o&&i.isPropagationStopped())break e;(o=i).currentTarget=u;try{s(o)}catch(e){Pg(e)}o.currentTarget=null,o=l}}}}function hl(e,t){Vv.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=t[Od];void 0===n&&(n=t[Od]=new Set);var r=e+"__bubble";n.has(r)||(gl(t,e,2,!1),n.add(r))}function pl(e,t,n){Vv.has(e)&&!t&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var r=0;t&&(r|=4),gl(n,e,r,t)}function ml(e){if(!e[Bv]){e[Bv]=!0,Dd.forEach((t=>{"selectionchange"!==t&&(Vv.has(t)||pl(t,!1,e),pl(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Bv]||(t[Bv]=!0,pl("selectionchange",!1,t))}}function gl(e,t,n,r){switch(qu(t)){case Sd:var o=Vu;break;case xd:o=Bu;break;default:o=$u}n=o.bind(null,t,n,e),o=void 0,!Nf||"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 yl(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 s=r.stateNode.containerInfo;if(s===o||8===s.nodeType&&s.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===o||8===l.nodeType&&l.parentNode===o))return;a=a.return}for(;null!==s;){if(null===(a=ve(s)))return;if(5===(l=a.tag)||6===l||26===l||27===l){r=i=a;continue e}s=s.parentNode}}r=r.return}Ct((()=>{var r=i,o=xt(n),a=[];e:{var s=Bh.get(e);if(void 0!==s){var l=qf,u=e;switch(e){case"keypress":if(0===At(n))break e;case"keydown":case"keyup":l=ah;break;case"focusin":u="focus",l=Xf;break;case"focusout":u="blur",l=Xf;break;case"beforeblur":case"afterblur":l=Xf;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":l=Gf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=Jf;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=lh;break;case Dh:case Fh:case Nh:l=Zf;break;case Vh:l=uh;break;case"scroll":case"scrollend":l=Qf;break;case"wheel":l=ch;break;case"copy":case"cut":case"paste":l=eh;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=sh;break;case"toggle":case"beforetoggle":l=dh}var c=!!(4&t),d=!c&&("scroll"===e||"scrollend"===e),f=c?null!==s?s+"Capture":null:s;c=[];for(var h,p=r;null!==p;){var m=p;if(h=m.stateNode,5!==(m=m.tag)&&26!==m&&27!==m||null===h||null===f||null!=(m=Et(p,f))&&c.push(vl(p,m,h)),d)break;p=p.return}0<c.length&&(s=new l(s,u,null,n,o),a.push({event:s,listeners:c}))}}if(!(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===Lf||!(u=n.relatedTarget||n.fromElement)||!ve(u)&&!u[Pd])&&(l||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(u=(u=n.relatedTarget||n.toElement)?ve(u):null)&&(d=A(u),c=u.tag,u!==d||5!==c&&27!==c&&6!==c)&&(u=null)):(l=null,u=r),l!==u)){if(c=Gf,m="onMouseLeave",f="onMouseEnter",p="mouse","pointerout"!==e&&"pointerover"!==e||(c=sh,m="onPointerLeave",f="onPointerEnter",p="pointer"),d=null==l?s:we(l),h=null==u?s:we(u),(s=new c(m,p+"leave",l,n,o)).target=d,s.relatedTarget=h,m=null,ve(o)===r&&((c=new c(f,p+"enter",u,n,o)).target=h,c.relatedTarget=d,m=c),d=m,l&&u)e:{for(f=u,p=0,h=c=l;h;h=wl(h))p++;for(h=0,m=f;m;m=wl(m))h++;for(;0<p-h;)c=wl(c),p--;for(;0<h-p;)f=wl(f),h--;for(;p--;){if(c===f||null!==f&&c===f.alternate)break e;c=wl(c),f=wl(f)}c=null}else c=null;null!==l&&kl(a,s,l,c,!1),null!==u&&null!==d&&kl(a,d,u,c,!0)}if("select"===(l=(s=r?we(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var g=Ut;else if(Ft(s))if(Ch)g=qt;else{g=Ht;var y=$t}else!(l=s.nodeName)||"input"!==l.toLowerCase()||"checkbox"!==s.type&&"radio"!==s.type?r&&vt(r.elementType)&&(g=Ut):g=Wt;switch(g&&(g=g(e,r))?Nt(a,g,n,o):(y&&y(e,s,r),"focusout"===e&&r&&"number"===s.type&&null!=r.memoizedProps.value&&Ue(s,"number",s.value)),y=r?we(r):window,e){case"focusin":(Ft(y)||"true"===y.contentEditable)&&(Ah=y,Ph=r,Oh=null);break;case"focusout":Oh=Ph=Ah=null;break;case"mousedown":Rh=!0;break;case"contextmenu":case"mouseup":case"dragend":Rh=!1,en(a,n,o);break;case"selectionchange":if(Th)break;case"keydown":case"keyup":en(a,n,o)}var v;if(ph)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else kh?Mt(e,n)&&(b="onCompositionEnd"):"keydown"===e&&n.keyCode===hh&&(b="onCompositionStart");b&&(yh&&"ko"!==n.locale&&(kh||"onCompositionStart"!==b?"onCompositionEnd"===b&&kh&&(v=Tt()):($f="value"in(Bf=o)?Bf.value:Bf.textContent,kh=!0)),0<(y=bl(r,b)).length&&(b=new th(b,e,null,n,o),a.push({event:b,listeners:y}),(v||null!==(v=Dt(n)))&&(b.data=v))),(v=gh?function(e,t){switch(e){case"compositionend":return Dt(t);case"keypress":return t.which!==vh?null:(wh=!0,bh);case"textInput":return(e=t.data)===bh&&wh?null:e;default:return null}}(e,n):function(e,t){if(kh)return"compositionend"===e||!ph&&Mt(e,t)?(e=Tt(),Hf=$f=Bf=null,kh=!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 yh&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(b=bl(r,"onBeforeInput")).length&&(y=new nh("onBeforeInput","beforeinput",null,n,o),a.push({event:y,listeners:b}),y.data=v),function(e,t,n,r,o){if("submit"===t&&n&&n.stateNode===o){var i=cl((o[Ad]||null).action),a=r.submitter;a&&null!==(t=(t=a[Ad]||null)?cl(t.formAction):a.getAttribute("formAction"))&&(i=t,a=null);var s=new qf("action","action",null,r,o);e.push({event:s,listeners:[{instance:null,listener:()=>{if(r.defaultPrevented){if(0!==jv){var e=a?dl(o,a):new FormData(o),t={pending:!0,data:e,method:o.method,action:i};Object.freeze(t),Ao(n,t,null,e)}}else"function"==typeof i&&(s.preventDefault(),t={pending:!0,data:e=a?dl(o,a):new FormData(o),method:o.method,action:i},Object.freeze(t),Ao(n,t,i,e))},currentTarget:o}]})}}(a,e,r,n,o)}fl(a,t)}))}function vl(e,t,n){return{instance:e,listener:t,currentTarget:n}}function bl(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5!==(o=o.tag)&&26!==o&&27!==o||null===i||(null!=(o=Et(e,n))&&r.unshift(vl(e,o,i)),null!=(o=Et(e,t))&&r.push(vl(e,o,i))),e=e.return}return r}function wl(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag&&27!==e.tag);return e||null}function kl(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,u=s.stateNode;if(s=s.tag,null!==l&&l===r)break;5!==s&&26!==s&&27!==s||null===u||(l=u,o?null!=(u=Et(n,i))&&a.unshift(vl(n,u,l)):o||null!=(u=Et(n,i))&&a.push(vl(n,u,l))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}function Sl(e,t){!function(e,t){var n,r=[];for(n in t)wt(e,n)||r.push(n);t=r.map((e=>"`"+e+"`")).join(", "),1===r.length?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<r.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}(e,t),"input"!==e&&"textarea"!==e&&"select"!==e||null==t||null!==t.value||Ef||(Ef=!0,"select"===e&&t.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var n={registrationNameDependencies:Fd,possibleRegistrationNames:Nd};vt(e)||"string"==typeof t.is||function(e,t,n){var r,o=[];for(r in t)kt(e,r,t[r],n)||o.push(r);t=o.map((e=>"`"+e+"`")).join(", "),1===o.length?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e):1<o.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e)}(e,t,n),t.contentEditable&&!t.suppressContentEditableWarning&&null!=t.children&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function xl(e,t,n,r){t!==n&&(n=El(n),El(t)!==n&&(r[e]=t))}function _l(e,t){!1===t?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)}function Cl(e,t){return(e=e.namespaceURI===af||e.namespaceURI===sf?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName)).innerHTML=t,e.innerHTML}function El(e){return H(e)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",$(e)),W(e)),("string"==typeof e?e:""+e).replace(Jv,"\n").replace(Xv,"")}function Tl(e,t){return t=El(t),El(e)===t}function Al(){}function Pl(e,t,n,r,o,i){switch(n){case"children":"string"==typeof r?(pt(r,t),"body"===t||"textarea"===t&&""===r||mt(e,r)):"number"!=typeof r&&"bigint"!=typeof r||(pt(""+r,t),"body"!==t&&mt(e,""+r));break;case"className":Pe(e,"class",r);break;case"tabIndex":Pe(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":Pe(e,n,r);break;case"style":yt(e,r,i);break;case"data":if("object"!==t){Pe(e,"data",r);break}case"src":case"href":if(""===r&&("a"!==t||"href"!==n)){"src"===n?console.error('An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',n,n):console.error('An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',n,n),e.removeAttribute(n);break}if(null==r||"function"==typeof r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}q(r,n),r=St(""+r),e.setAttribute(n,r);break;case"action":case"formAction":if(null!=r&&("form"===t?"formAction"===n?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):"function"==typeof r&&(null==o.encType&&null==o.method||Qv||(Qv=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),null==o.target||Kv||(Kv=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):"input"===t||"button"===t?"action"===n?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):"input"!==t||"submit"===o.type||"image"===o.type||Wv?"button"!==t||null==o.type||"submit"===o.type||Wv?"function"==typeof r&&(null==o.name||qv||(qv=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),null==o.formEncType&&null==o.formMethod||Qv||(Qv=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),null==o.formTarget||Kv||(Kv=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(Wv=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(Wv=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):"action"===n?console.error("You can only pass the action prop to <form>."):console.error("You can only pass the formAction prop to <input> or <button>.")),"function"==typeof r){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"==typeof i&&("formAction"===n?("input"!==t&&Pl(e,t,"name",o.name,o,null),Pl(e,t,"formEncType",o.formEncType,o,null),Pl(e,t,"formMethod",o.formMethod,o,null),Pl(e,t,"formTarget",o.formTarget,o,null)):(Pl(e,t,"encType",o.encType,o,null),Pl(e,t,"method",o.method,o,null),Pl(e,t,"target",o.target,o,null))),null==r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(n);break}q(r,n),r=St(""+r),e.setAttribute(n,r);break;case"onClick":null!=r&&("function"!=typeof r&&_l(n,r),e.onclick=Al);break;case"onScroll":null!=r&&("function"!=typeof r&&_l(n,r),hl("scroll",e));break;case"onScrollEnd":null!=r&&("function"!=typeof r&&_l(n,r),hl("scrollend",e));break;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(null!=(n=r.__html)){if(null!=o.children)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case"multiple":e.multiple=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"muted":e.muted=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":break;case"xlinkHref":if(null==r||"function"==typeof r||"boolean"==typeof r||"symbol"==typeof r){e.removeAttribute("xlink:href");break}q(r,n),n=St(""+r),e.setAttributeNS(Zv,"xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=r&&"function"!=typeof r&&"symbol"!=typeof r?(q(r,n),e.setAttribute(n,""+r)):e.removeAttribute(n);break;case"inert":""!==r||Gv[n]||(Gv[n]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",n));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":!0===r?e.setAttribute(n,""):!1!==r&&null!=r&&"function"!=typeof r&&"symbol"!=typeof r?(q(r,n),e.setAttribute(n,r)):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":null!=r&&"function"!=typeof r&&"symbol"!=typeof r&&!isNaN(r)&&1<=r?(q(r,n),e.setAttribute(n,r)):e.removeAttribute(n);break;case"rowSpan":case"start":null==r||"function"==typeof r||"symbol"==typeof r||isNaN(r)?e.removeAttribute(n):(q(r,n),e.setAttribute(n,r));break;case"popover":hl("beforetoggle",e),hl("toggle",e),Ae(e,"popover",r);break;case"xlinkActuate":Oe(e,Zv,"xlink:actuate",r);break;case"xlinkArcrole":Oe(e,Zv,"xlink:arcrole",r);break;case"xlinkRole":Oe(e,Zv,"xlink:role",r);break;case"xlinkShow":Oe(e,Zv,"xlink:show",r);break;case"xlinkTitle":Oe(e,Zv,"xlink:title",r);break;case"xlinkType":Oe(e,Zv,"xlink:type",r);break;case"xmlBase":Oe(e,eb,"xml:base",r);break;case"xmlLang":Oe(e,eb,"xml:lang",r);break;case"xmlSpace":Oe(e,eb,"xml:space",r);break;case"is":null!=i&&console.error('Cannot update the "is" prop after it has been initialized.'),Ae(e,"is",r);break;case"innerText":case"textContent":break;case"popoverTarget":Yv||null==r||"object"!=typeof r||(Yv=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",r));default:!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1]?Ae(e,n=bt(n),r):Fd.hasOwnProperty(n)&&null!=r&&"function"!=typeof r&&_l(n,r)}}function Ol(e,t,n,r,o,i){switch(n){case"style":yt(e,r,i);break;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(null!=(n=r.__html)){if(null!=o.children)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case"children":"string"==typeof r?mt(e,r):("number"==typeof r||"bigint"==typeof r)&&mt(e,""+r);break;case"onScroll":null!=r&&("function"!=typeof r&&_l(n,r),hl("scroll",e));break;case"onScrollEnd":null!=r&&("function"!=typeof r&&_l(n,r),hl("scrollend",e));break;case"onClick":null!=r&&("function"!=typeof r&&_l(n,r),e.onclick=Al);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":break;default:Fd.hasOwnProperty(n)?null!=r&&"function"!=typeof r&&_l(n,r):"o"!==n[0]||"n"!==n[1]||(o=n.endsWith("Capture"),t=n.slice(2,o?n.length-7:void 0),"function"==typeof(i=null!=(i=e[Ad]||null)?i[n]:null)&&e.removeEventListener(t,i,o),"function"!=typeof r)?n in e?e[n]=r:!0===r?e.setAttribute(n,""):Ae(e,n,r):("function"!=typeof i&&null!==i&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,o))}}function Rl(e,t,n){switch(Sl(t,n),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":hl("error",e),hl("load",e);var r,o=!1,i=!1;for(r in n)if(n.hasOwnProperty(r)){var a=n[r];if(null!=a)switch(r){case"src":o=!0;break;case"srcSet":i=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Pl(e,t,r,a,n,null)}}return i&&Pl(e,t,"srcSet",n.srcSet,n,null),void(o&&Pl(e,t,"src",n.src,n,null));case"input":Ce("input",n),hl("invalid",e);var s=r=a=i=null,l=null,u=null;for(o in n)if(n.hasOwnProperty(o)){var c=n[o];if(null!=c)switch(o){case"name":i=c;break;case"type":a=c;break;case"checked":l=c;break;case"defaultChecked":u=c;break;case"value":r=c;break;case"defaultValue":s=c;break;case"children":case"dangerouslySetInnerHTML":if(null!=c)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Pl(e,t,o,c,n,null)}}return Ne(0,n),ze(e,r,s,l,u,a,i,!1),void Le(e);case"select":for(i in Ce("select",n),hl("invalid",e),o=a=r=null,n)if(n.hasOwnProperty(i)&&null!=(s=n[i]))switch(i){case"value":r=s;break;case"defaultValue":a=s;break;case"multiple":o=s;default:Pl(e,t,i,s,n,null)}return He(e,n),t=r,n=a,e.multiple=!!o,void(null!=t?$e(e,!!o,t,!1):null!=n&&$e(e,!!o,n,!0));case"textarea":for(a in Ce("textarea",n),hl("invalid",e),r=i=o=null,n)if(n.hasOwnProperty(a)&&null!=(s=n[a]))switch(a){case"value":o=s;break;case"defaultValue":i=s;break;case"children":r=s;break;case"dangerouslySetInnerHTML":if(null!=s)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:Pl(e,t,a,s,n,null)}return We(0,n),Ke(e,o,i,r),void Le(e);case"option":for(l in Ve(0,n),n)n.hasOwnProperty(l)&&null!=(o=n[l])&&("selected"===l?e.selected=o&&"function"!=typeof o&&"symbol"!=typeof o:Pl(e,t,l,o,n,null));return;case"dialog":hl("cancel",e),hl("close",e);break;case"iframe":case"object":hl("load",e);break;case"video":case"audio":for(o=0;o<Uv.length;o++)hl(Uv[o],e);break;case"image":hl("error",e),hl("load",e);break;case"details":hl("toggle",e);break;case"embed":case"source":case"link":hl("error",e),hl("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(u in n)if(n.hasOwnProperty(u)&&null!=(o=n[u]))switch(u){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Pl(e,t,u,o,n,null)}return;default:if(vt(t)){for(c in n)n.hasOwnProperty(c)&&void 0!==(o=n[c])&&Ol(e,t,c,o,n,void 0);return}}for(s in n)n.hasOwnProperty(s)&&null!=(o=n[s])&&Pl(e,t,s,o,n,null)}function Il(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function Ll(e){var t={};e=e.style;for(var n=0;n<e.length;n++){var r=e[n];t[r]=e.getPropertyValue(r)}return t}function Ml(e,t,n){if(null!=t&&"object"!=typeof t)console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var r,o,i=r="";for(o in t)if(t.hasOwnProperty(o)){var a=t[o];null!=a&&"boolean"!=typeof a&&""!==a&&(0===o.indexOf("--")?(K(a,o),r+=i+o+":"+(""+a).trim()):"number"!=typeof a||0===a||bf.has(o)?(K(a,o),r+=i+o.replace(uf,"-$1").toLowerCase().replace(cf,"-ms-")+":"+(""+a).trim()):r+=i+o.replace(uf,"-$1").toLowerCase().replace(cf,"-ms-")+":"+a+"px",i=";")}r=r||null,(t=e.getAttribute("style"))!==r&&(r=El(r),El(t)!==r&&(n.style=Ll(e)))}}function Dl(e,t,n,r,o,i){if(o.delete(n),null===(e=e.getAttribute(n)))switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":return}else if(null!=r)switch(typeof r){case"function":case"symbol":case"boolean":break;default:if(q(r,t),e===""+r)return}xl(t,e,r,i)}function Fl(e,t,n,r,o,i){if(o.delete(n),null===(e=e.getAttribute(n))){switch(typeof r){case"function":case"symbol":return}if(!r)return}else switch(typeof r){case"function":case"symbol":break;default:if(r)return}xl(t,e,r,i)}function Nl(e,t,n,r,o,i){if(o.delete(n),null===(e=e.getAttribute(n)))switch(typeof r){case"undefined":case"function":case"symbol":return}else if(null!=r)switch(typeof r){case"function":case"symbol":break;default:if(q(r,n),e===""+r)return}xl(t,e,r,i)}function jl(e,t,n,r,o,i){if(o.delete(n),null===(e=e.getAttribute(n)))switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(r))return}else if(null!=r)switch(typeof r){case"function":case"symbol":case"boolean":break;default:if(!isNaN(r)&&(q(r,t),e===""+r))return}xl(t,e,r,i)}function zl(e,t,n,r,o,i){if(o.delete(n),null===(e=e.getAttribute(n)))switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":return}else if(null!=r)switch(typeof r){case"function":case"symbol":case"boolean":break;default:if(q(r,t),e===(n=St(""+r)))return}xl(t,e,r,i)}function Ul(e,t,n,r){for(var o={},i=new Set,a=e.attributes,s=0;s<a.length;s++)switch(a[s].name.toLowerCase()){case"value":case"checked":case"selected":break;default:i.add(a[s].name)}if(vt(t)){for(var l in n)if(n.hasOwnProperty(l)){var u=n[l];if(null!=u)if(Fd.hasOwnProperty(l))"function"!=typeof u&&_l(l,u);else if(!0!==n.suppressHydrationWarning)switch(l){case"children":"string"!=typeof u&&"number"!=typeof u||xl("children",e.textContent,u,o);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":a=e.innerHTML,null!=(u=u?u.__html:void 0)&&xl(l,a,u=Cl(e,u),o);continue;case"style":i.delete(l),Ml(e,u,o);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":i.delete(l.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",l);continue;case"className":i.delete("class"),xl("className",a=Te(e,"class",u),u,o);continue;default:r.context===cb&&"svg"!==t&&"math"!==t?i.delete(l.toLowerCase()):i.delete(l),xl(l,a=Te(e,l,u),u,o)}}}else for(u in n)if(n.hasOwnProperty(u)&&null!=(l=n[u]))if(Fd.hasOwnProperty(u))"function"!=typeof l&&_l(u,l);else if(!0!==n.suppressHydrationWarning)switch(u){case"children":"string"!=typeof l&&"number"!=typeof l||xl("children",e.textContent,l,o);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":a=e.innerHTML,null!=(l=l?l.__html:void 0)&&a!==(l=Cl(e,l))&&(o[u]={__html:a});continue;case"className":Dl(e,u,"class",l,i,o);continue;case"tabIndex":Dl(e,u,"tabindex",l,i,o);continue;case"style":i.delete(u),Ml(e,l,o);continue;case"multiple":i.delete(u),xl(u,e.multiple,l,o);continue;case"muted":i.delete(u),xl(u,e.muted,l,o);continue;case"autoFocus":i.delete("autofocus"),xl(u,e.autofocus,l,o);continue;case"data":if("object"!==t){i.delete(u),xl(u,a=e.getAttribute("data"),l,o);continue}case"src":case"href":if(!(""!==l||"a"===t&&"href"===u||"object"===t&&"data"===u)){"src"===u?console.error('An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',u,u):console.error('An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',u,u),zl(e,u,u,null,i,o);continue}zl(e,u,u,l,i,o);continue;case"action":case"formAction":if(a=e.getAttribute(u),"function"==typeof l){i.delete(u.toLowerCase()),"formAction"===u?(i.delete("name"),i.delete("formenctype"),i.delete("formmethod"),i.delete("formtarget")):(i.delete("enctype"),i.delete("method"),i.delete("target"));continue}if(a===tb){i.delete(u.toLowerCase()),xl(u,"function",l,o);continue}zl(e,u,u.toLowerCase(),l,i,o);continue;case"xlinkHref":zl(e,u,"xlink:href",l,i,o);continue;case"contentEditable":Nl(e,u,"contenteditable",l,i,o);continue;case"spellCheck":Nl(e,u,"spellcheck",l,i,o);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":Nl(e,u,u,l,i,o);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":Fl(e,u,u.toLowerCase(),l,i,o);continue;case"capture":case"download":e:{s=e;var c=a=u,d=o;if(i.delete(c),null===(s=s.getAttribute(c)))switch(typeof l){case"undefined":case"function":case"symbol":break e;default:if(!1===l)break e}else if(null!=l)switch(typeof l){case"function":case"symbol":break;case"boolean":if(!0===l&&""===s)break e;break;default:if(q(l,a),s===""+l)break e}xl(a,s,l,d)}continue;case"cols":case"rows":case"size":case"span":e:{if(s=e,c=a=u,d=o,i.delete(c),null===(s=s.getAttribute(c)))switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(l)||1>l)break e}else if(null!=l)switch(typeof l){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(l)||1>l)&&(q(l,a),s===""+l))break e}xl(a,s,l,d)}continue;case"rowSpan":jl(e,u,"rowspan",l,i,o);continue;case"start":jl(e,u,u,l,i,o);continue;case"xHeight":Dl(e,u,"x-height",l,i,o);continue;case"xlinkActuate":Dl(e,u,"xlink:actuate",l,i,o);continue;case"xlinkArcrole":Dl(e,u,"xlink:arcrole",l,i,o);continue;case"xlinkRole":Dl(e,u,"xlink:role",l,i,o);continue;case"xlinkShow":Dl(e,u,"xlink:show",l,i,o);continue;case"xlinkTitle":Dl(e,u,"xlink:title",l,i,o);continue;case"xlinkType":Dl(e,u,"xlink:type",l,i,o);continue;case"xmlBase":Dl(e,u,"xml:base",l,i,o);continue;case"xmlLang":Dl(e,u,"xml:lang",l,i,o);continue;case"xmlSpace":Dl(e,u,"xml:space",l,i,o);continue;case"inert":""!==l||Gv[u]||(Gv[u]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",u)),Fl(e,u,u,l,i,o);continue;default:if(!(2<u.length)||"o"!==u[0]&&"O"!==u[0]||"n"!==u[1]&&"N"!==u[1]){s=bt(u),a=!1,r.context===cb&&"svg"!==t&&"math"!==t?i.delete(s.toLowerCase()):(c=u.toLowerCase(),null!==(c=kf.hasOwnProperty(c)&&kf[c]||null)&&c!==u&&(a=!0,i.delete(c)),i.delete(s));e:if(c=e,d=s,s=l,Ee(d))if(c.hasAttribute(d))c=c.getAttribute(d),q(s,d),s=c===""+s?s:c;else{switch(typeof s){case"function":case"symbol":break e;case"boolean":if("data-"!==(c=d.toLowerCase().slice(0,5))&&"aria-"!==c)break e}s=void 0===s?void 0:null}else s=void 0;a||xl(u,s,l,o)}}return 0<i.size&&!0!==n.suppressHydrationWarning&&function(e,t,n){t.forEach((t=>{n[Il(t)]="style"===t?Ll(e):e.getAttribute(t)}))}(e,i,o),0===Object.keys(o).length?null:o}function Vl(e){return 9===e.nodeType?e:e.ownerDocument}function Bl(e){switch(e){case sf:return db;case af:return fb;default:return cb}}function $l(e,t){if(e===cb)switch(t){case"svg":return db;case"math":return fb;default:return cb}return e===db&&"foreignObject"===t?cb:e}function Hl(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"bigint"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}function Wl(e){setTimeout((()=>{throw e}))}function ql(e,t,n){switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&e.focus();break;case"img":n.src?e.src=n.src:n.srcSet&&(e.srcset=n.srcSet)}}function Kl(e,t,n,r){!function(e,t,n,r){switch(Sl(t,r),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,i=null,a=null,s=null,l=null,u=null,c=null;for(h in n){var d=n[h];if(n.hasOwnProperty(h)&&null!=d)switch(h){case"checked":case"value":break;case"defaultValue":l=d;default:r.hasOwnProperty(h)||Pl(e,t,h,null,r,d)}}for(var f in r){var h=r[f];if(d=n[f],r.hasOwnProperty(f)&&(null!=h||null!=d))switch(f){case"type":i=h;break;case"name":o=h;break;case"checked":u=h;break;case"defaultChecked":c=h;break;case"value":a=h;break;case"defaultValue":s=h;break;case"children":case"dangerouslySetInnerHTML":if(null!=h)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:h!==d&&Pl(e,t,f,h,r,d)}}return t="checkbox"===n.type||"radio"===n.type?null!=n.checked:null!=n.value,r="checkbox"===r.type||"radio"===r.type?null!=r.checked:null!=r.value,t||!r||Hv||(console.error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),Hv=!0),!t||r||$v||(console.error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),$v=!0),void je(e,a,s,l,u,c,i,o);case"select":for(i in h=a=s=f=null,n)if(l=n[i],n.hasOwnProperty(i)&&null!=l)switch(i){case"value":break;case"multiple":h=l;default:r.hasOwnProperty(i)||Pl(e,t,i,null,r,l)}for(o in r)if(i=r[o],l=n[o],r.hasOwnProperty(o)&&(null!=i||null!=l))switch(o){case"value":f=i;break;case"defaultValue":s=i;break;case"multiple":a=i;default:i!==l&&Pl(e,t,o,i,r,l)}return r=s,t=a,n=h,void(null!=f?$e(e,!!t,f,!1):!!n!=!!t&&(null!=r?$e(e,!!t,r,!0):$e(e,!!t,t?[]:"",!1)));case"textarea":for(s in h=f=null,n)if(o=n[s],n.hasOwnProperty(s)&&null!=o&&!r.hasOwnProperty(s))switch(s){case"value":case"children":break;default:Pl(e,t,s,null,r,o)}for(a in r)if(o=r[a],i=n[a],r.hasOwnProperty(a)&&(null!=o||null!=i))switch(a){case"value":f=o;break;case"defaultValue":h=o;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=o)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:o!==i&&Pl(e,t,a,o,r,i)}return void qe(e,f,h);case"option":for(var p in n)f=n[p],n.hasOwnProperty(p)&&null!=f&&!r.hasOwnProperty(p)&&("selected"===p?e.selected=!1:Pl(e,t,p,null,r,f));for(l in r)f=r[l],h=n[l],!r.hasOwnProperty(l)||f===h||null==f&&null==h||("selected"===l?e.selected=f&&"function"!=typeof f&&"symbol"!=typeof f:Pl(e,t,l,f,r,h));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var m in n)f=n[m],n.hasOwnProperty(m)&&null!=f&&!r.hasOwnProperty(m)&&Pl(e,t,m,null,r,f);for(u in r)if(f=r[u],h=n[u],r.hasOwnProperty(u)&&f!==h&&(null!=f||null!=h))switch(u){case"children":case"dangerouslySetInnerHTML":if(null!=f)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Pl(e,t,u,f,r,h)}return;default:if(vt(t)){for(var g in n)f=n[g],n.hasOwnProperty(g)&&void 0!==f&&!r.hasOwnProperty(g)&&Ol(e,t,g,void 0,r,f);for(c in r)f=r[c],h=n[c],!r.hasOwnProperty(c)||f===h||void 0===f&&void 0===h||Ol(e,t,c,f,r,h);return}}for(var y in n)f=n[y],n.hasOwnProperty(y)&&null!=f&&!r.hasOwnProperty(y)&&Pl(e,t,y,null,r,f);for(d in r)f=r[d],h=n[d],!r.hasOwnProperty(d)||f===h||null==f&&null==h||Pl(e,t,d,f,r,h)}(e,t,n,r),e[Ad]=r}function Ql(e){mt(e,"")}function Yl(e,t,n){e.nodeValue=n}function Gl(e,t){e.removeChild(t)}function Jl(e,t){8===e.nodeType?e.parentNode.removeChild(t):e.removeChild(t)}function Xl(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if((n=o.data)===ob){if(0===r)return e.removeChild(o),void tc(t);r--}else n!==rb&&n!==ib&&n!==ab||r++;n=o}while(n);tc(t)}function Zl(e){"function"==typeof(e=e.style).setProperty?e.setProperty("display","none","important"):e.display="none"}function eu(e){e.nodeValue=""}function tu(e,t){t=null!=(t=t[ub])&&t.hasOwnProperty("display")?t.display:null,e.style.display=null==t||"boolean"==typeof t?"":(""+t).trim()}function nu(e,t){e.nodeValue=t}function ru(e){var t=e.firstChild;for(t&&10===t.nodeType&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":ru(n),ye(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===n.rel.toLowerCase())continue}e.removeChild(n)}}function ou(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if((t=e.data)===rb||t===ab||t===ib||t===sb||t===lb)break;if(t===ob)return null}}return e}function iu(e){if(1===e.nodeType){for(var t=e.nodeName.toLowerCase(),n={},r=e.attributes,o=0;o<r.length;o++){var i=r[o];n[Il(i.name)]="style"===i.name.toLowerCase()?Ll(e):i.value}return{type:t,props:n}}return 8===e.nodeType?{type:"Suspense",props:{}}:e.nodeValue}function au(e,t,n){return null===n||!0!==n[nb]?(e.nodeValue===t?e=null:(t=El(t),e=El(e.nodeValue)===t?null:e.nodeValue),e):null}function su(e){e=e.nextSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if(n===ob){if(0===t)return ou(e.nextSibling);t--}else n!==rb&&n!==ab&&n!==ib||t++}e=e.nextSibling}return null}function lu(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if(n===rb||n===ab||n===ib){if(0===t)return e;t--}else n===ob&&t++}e=e.previousSibling}return null}function uu(e){tc(e)}function cu(e){tc(e)}function du(e,t,n,r,o){switch(o&&ht(e,r.ancestorInfo),t=Vl(n),e){case"html":if(!(e=t.documentElement))throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"head":if(!(e=t.head))throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"body":if(!(e=t.body))throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return e;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function fu(e,t,n,r){if(be(n)){var o=n.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",o,o,o)}switch(e){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(o=n.attributes;o.length;)n.removeAttributeNode(o[0]);Rl(n,e,t),n[Td]=r,n[Ad]=t}function hu(e){return"function"==typeof e.getRootNode?e.getRootNode():e.ownerDocument}function pu(e,t,n){var r=zb;if(r&&"string"==typeof t&&t){var o=Fe(t);o='link[rel="'+e+'"][href="'+o+'"]',"string"==typeof n&&(o+='[crossorigin="'+n+'"]'),Ab.has(o)||(Ab.add(o),e={rel:e,crossOrigin:n,href:t},null===r.querySelector(o)&&(Rl(t=r.createElement("link"),"link",e),Se(t),r.head.appendChild(t)))}}function mu(e,t,n,r){var o=(o=Gc.current)?hu(o):null;if(!o)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return"string"==typeof n.precedence&&"string"==typeof n.href?(n=yu(n.href),(r=(t=ke(o).hoistableStyles).get(n))||(r={type:"style",instance:null,count:0,state:null},t.set(n,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===n.rel&&"string"==typeof n.href&&"string"==typeof n.precedence){e=yu(n.href);var i=ke(o).hoistableStyles,a=i.get(e);if(!a&&(o=o.ownerDocument||o,a={type:"stylesheet",instance:null,count:0,state:{loading:Sb,preload:null}},i.set(e,a),(i=o.querySelector(vu(e)))&&!i._p&&(a.instance=i,a.state.loading=xb|Eb),!Tb.has(e))){var s={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy};Tb.set(e,s),i||function(e,t,n,r){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?r.loading=xb:(t=e.createElement("link"),r.preload=t,t.addEventListener("load",(()=>r.loading|=xb)),t.addEventListener("error",(()=>r.loading|=_b)),Rl(t,"link",n),Se(t),e.head.appendChild(t))}(o,e,s,a.state)}if(t&&null===r)throw n="\n\n  - "+gu(t)+"\n  + "+gu(n),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+n);return a}if(t&&null!==r)throw n="\n\n  - "+gu(t)+"\n  + "+gu(n),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+n);return null;case"script":return t=n.async,"string"==typeof(n=n.src)&&t&&"function"!=typeof t&&"symbol"!=typeof t?(n=wu(n),(r=(t=ke(o).hoistableScripts).get(n))||(r={type:"script",instance:null,count:0,state:null},t.set(n,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+e+'". this is a bug in React.')}}function gu(e){var t=0,n="<link";return"string"==typeof e.rel?(t++,n+=' rel="'+e.rel+'"'):Xc.call(e,"rel")&&(t++,n+=' rel="'+(null===e.rel?"null":"invalid type "+typeof e.rel)+'"'),"string"==typeof e.href?(t++,n+=' href="'+e.href+'"'):Xc.call(e,"href")&&(t++,n+=' href="'+(null===e.href?"null":"invalid type "+typeof e.href)+'"'),"string"==typeof e.precedence?(t++,n+=' precedence="'+e.precedence+'"'):Xc.call(e,"precedence")&&(t++,n+=" precedence={"+(null===e.precedence?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(n+=" ..."),n+" />"}function yu(e){return'href="'+Fe(e)+'"'}function vu(e){return'link[rel="stylesheet"]['+e+"]"}function bu(e){return Mc({},e,{"data-precedence":e.precedence,precedence:null})}function wu(e){return'[src="'+Fe(e)+'"]'}function ku(e){return"script[async]"+e}function Su(e,t,n){if(t.count++,null===t.instance)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+Fe(n.href)+'"]');if(r)return t.instance=r,Se(r),r;var o=Mc({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return Se(r=(e.ownerDocument||e).createElement("style")),Rl(r,"style",o),xu(r,n.precedence,e),t.instance=r;case"stylesheet":o=yu(n.href);var i=e.querySelector(vu(o));if(i)return t.state.loading|=Eb,t.instance=i,Se(i),i;r=bu(n),(o=Tb.get(o))&&_u(r,o),Se(i=(e.ownerDocument||e).createElement("link"));var a=i;return a._p=new Promise(((e,t)=>{a.onload=e,a.onerror=t})),Rl(i,"link",r),t.state.loading|=Eb,xu(i,n.precedence,e),t.instance=i;case"script":return i=wu(n.src),(o=e.querySelector(ku(i)))?(t.instance=o,Se(o),o):(r=n,(o=Tb.get(i))&&Cu(r=Mc({},n),o),Se(o=(e=e.ownerDocument||e).createElement("script")),Rl(o,"link",r),e.head.appendChild(o),t.instance=o);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+t.type+'". this is a bug in React.')}else"stylesheet"===t.type&&(t.state.loading&Eb)===Sb&&(r=t.instance,t.state.loading|=Eb,xu(r,n.precedence,e));return t.instance}function xu(e,t,n){for(var r=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=r.length?r[r.length-1]:null,i=o,a=0;a<r.length;a++){var s=r[a];if(s.dataset.precedence===t)i=s;else if(i!==o)break}i?i.parentNode.insertBefore(e,i.nextSibling):(t=9===n.nodeType?n.head:n).insertBefore(e,t.firstChild)}function _u(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.title&&(e.title=t.title)}function Cu(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.integrity&&(e.integrity=t.integrity)}function Eu(e,t,n){if(null===Ub){var r=new Map,o=Ub=new Map;o.set(n,r)}else(r=(o=Ub).get(n))||(r=new Map,o.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),o=0;o<n.length;o++){var i=n[o];if(!(i[Md]||i[Td]||"link"===e&&"stylesheet"===i.getAttribute("rel"))&&i.namespaceURI!==sf){var a=i.getAttribute(t)||"";a=e+a;var s=r.get(a);s?s.push(i):r.set(a,[i])}}return r}function Tu(e,t,n){(e=e.ownerDocument||e).head.insertBefore(n,"title"===t?e.querySelector("head > title"):null)}function Au(e){return"stylesheet"!==e.type||(e.state.loading&Cb)!==Sb}function Pu(){}function Ou(){if(this.count--,0===this.count)if(this.stylesheets)Ru(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}function Ru(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,$b=new Map,t.forEach(Iu,e),$b=null,Ou.call(e))}function Iu(e,t){if(!(t.state.loading&Eb)){var n=$b.get(e);if(n)var r=n.get(Bb);else{n=new Map,$b.set(e,n);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<o.length;i++){var a=o[i];"LINK"!==a.nodeName&&"not all"===a.getAttribute("media")||(n.set(a.dataset.precedence,a),r=a)}r&&n.set(Bb,r)}a=(o=t.instance).getAttribute("data-precedence"),(i=n.get(a)||r)===r&&n.set(Bb,o),n.set(a,o),this.count++,r=Ou.bind(this),o.addEventListener("load",r),o.addEventListener("error",r),i?i.parentNode.insertBefore(o,i.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(o,e.firstChild),t.state.loading|=Eb}}function Lu(e,t,n,r,o,i,a,s){for(this.tag=1,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=bb,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=ue(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ue(0),this.hiddenUpdates=ue(null),this.identifierPrefix=r,this.onUncaughtError=o,this.onCaughtError=i,this.onRecoverableError=a,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],t=0;31>t;t++)e.push(new Set);this._debugRootType=n?"hydrateRoot()":"createRoot()"}function Mu(e,t,n,r,o,i,a,l,u,c,d,f){return e=new Lu(e,t,n,a,l,u,c,f),t=ep,!0===i&&(t|=np|rp),gd&&(t|=tp),i=s(3,null,null,t),e.current=i,i.stateNode=e,lr(t=sr()),e.pooledCache=t,lr(t),i.memoizedState={element:r,isDehydrated:n,cache:t},Ui(i),e}function Du(e){return e?e=Gh:Gh}function Fu(e,t,n,r){return 0===t.tag&&Bs(),Nu(t.current,2,e,t,n,r),2}function Nu(e,t,n,r,o,i){if(hd&&"function"==typeof hd.onScheduleFiberRoot)try{hd.onScheduleFiberRoot(fd,r,n)}catch(e){md||(md=!0,console.error("React instrumentation encountered an error: %s",e))}null!==pd&&"function"==typeof pd.markRenderScheduled&&pd.markRenderScheduled(t),o=Du(o),null===r.context?r.context=o:r.pendingContext=o,Vc&&null!==Uc&&!Jb&&(Jb=!0,console.error("Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.\n\nCheck the render method of %s.",v(Uc)||"Unknown")),(r=Bi(t)).payload={element:n},null!==(i=void 0===i?null:i)&&("function"!=typeof i&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",i),r.callback=i),null!==(n=$i(e,r,t))&&(ys(n,e,t),Hi(n,e,t))}function ju(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function zu(e,t){ju(e,t),(e=e.alternate)&&ju(e,t)}function Uu(e){if(13===e.tag){var t=ln(e,67108864);null!==t&&ys(t,e,67108864),zu(e,67108864)}}function Vu(e,t,n,r){var o=Lc.T;Lc.T=null;var i=$c.p;try{$c.p=Sd,$u(e,t,n,r)}finally{$c.p=i,Lc.T=o}}function Bu(e,t,n,r){var o=Lc.T;Lc.T=null;var i=$c.p;try{$c.p=xd,$u(e,t,n,r)}finally{$c.p=i,Lc.T=o}}function $u(e,t,n,r){if(Zb){var o=Hu(r);if(null===o)yl(e,t,r,ew,n),Ku(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return nw=Qu(nw,e,t,n,r,o),!0;case"dragenter":return rw=Qu(rw,e,t,n,r,o),!0;case"mouseover":return ow=Qu(ow,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return iw.set(i,Qu(iw.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,aw.set(i,Qu(aw.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Ku(e,r),4&t&&-1<lw.indexOf(e)){for(;null!==o;){var i=be(o);if(null!==i)switch(i.tag){case 3:if((i=i.stateNode).current.memoizedState.isDehydrated){var a=re(i.pendingLanes);if(0!==a){var s=i;for(s.pendingLanes|=2,s.entangledLanes|=2;a;){var l=1<<31-yd(a);s.entanglements[1]|=l,a&=~l}tl(i),(Iy&(xy|_y))===Sy&&(lv=rd()+uv,nl(0))}}break;case 13:null!==(s=ln(i,2))&&ys(s,i,2),xs(),zu(i,2)}if(null===(i=Hu(r))&&yl(e,t,r,ew,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else yl(e,t,r,null,n)}}function Hu(e){return Wu(e=xt(e))}function Wu(e){if(ew=null,null!==(e=ve(e))){var t=A(e);if(null===t)e=null;else{var n=t.tag;if(13===n){if(null!==(e=P(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 ew=e,null}function qu(e){switch(e){case"beforetoggle":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"toggle":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 Sd;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return xd;case"message":switch(od()){case id:return Sd;case ad:return xd;case sd:case ld:return _d;case ud:return Cd;default:return _d}default:return _d}}function Ku(e,t){switch(e){case"focusin":case"focusout":nw=null;break;case"dragenter":case"dragleave":rw=null;break;case"mouseover":case"mouseout":ow=null;break;case"pointerover":case"pointerout":iw.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":aw.delete(t.pointerId)}}function Qu(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=be(t))&&Uu(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Yu(e){var t=ve(e.target);if(null!==t){var n=A(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=P(n)))return e.blockedOn=t,void function(e,t){var n=$c.p;try{return $c.p=e,t()}finally{$c.p=n}}(e.priority,(()=>{if(13===n.tag){var e=ms(n),t=ln(n,e);null!==t&&ys(t,n,e),zu(n,e)}}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Gu(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Hu(e.nativeEvent);if(null!==n)return null!==(t=be(n))&&Uu(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n),o=r;null!==Lf&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Lf=o,n.target.dispatchEvent(r),null===Lf&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Lf=null,t.shift()}return!0}function Ju(e,t,n){Gu(e)&&n.delete(t)}function Xu(){tw=!1,null!==nw&&Gu(nw)&&(nw=null),null!==rw&&Gu(rw)&&(rw=null),null!==ow&&Gu(ow)&&(ow=null),iw.forEach(Ju),aw.forEach(Ju)}function Zu(e,t){e.blockedOn===t&&(e.blockedOn=null,tw||(tw=!0,fc.unstable_scheduleCallback(fc.unstable_NormalPriority,Xu)))}function ec(e){uw!==e&&(uw=e,fc.unstable_scheduleCallback(fc.unstable_NormalPriority,(()=>{uw===e&&(uw=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],o=e[t+2];if("function"!=typeof r){if(null===Wu(r||n))continue;break}var i=be(n);null!==i&&(e.splice(t,3),t-=3,n={pending:!0,data:o,method:n.method,action:r},Object.freeze(n),Ao(i,n,r,o))}})))}function tc(e){function t(t){return Zu(t,e)}null!==nw&&Zu(nw,e),null!==rw&&Zu(rw,e),null!==ow&&Zu(ow,e),iw.forEach(t),aw.forEach(t);for(var n=0;n<sw.length;n++){var r=sw[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<sw.length&&null===(n=sw[0]).blockedOn;)Yu(n),null===n.blockedOn&&sw.shift();if(null!=(n=(e.ownerDocument||e).$$reactFormReplay))for(r=0;r<n.length;r+=3){var o=n[r],i=n[r+1],a=o[Ad]||null;if("function"==typeof i)a||ec(n);else if(a){var s=null;if(i&&i.hasAttribute("formAction")){if(o=i,a=i[Ad]||null)s=a.formAction;else if(null!==Wu(o))continue}else s=a.action;"function"==typeof s?n[r+1]=s:(n.splice(r,3),r-=3),ec(n)}}}function nc(e){this._internalRoot=e}function rc(e){this._internalRoot=e}function oc(e){e[Pd]&&(e._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var ic,ac,sc,lc,uc,cc,dc,fc=C(),hc=m(),pc=L(),mc=Symbol.for("react.element"),gc=Symbol.for("react.transitional.element"),yc=Symbol.for("react.portal"),vc=Symbol.for("react.fragment"),bc=Symbol.for("react.strict_mode"),wc=Symbol.for("react.profiler"),kc=Symbol.for("react.provider"),Sc=Symbol.for("react.consumer"),xc=Symbol.for("react.context"),_c=Symbol.for("react.forward_ref"),Cc=Symbol.for("react.suspense"),Ec=Symbol.for("react.suspense_list"),Tc=Symbol.for("react.memo"),Ac=Symbol.for("react.lazy"),Pc=Symbol.for("react.offscreen"),Oc=Symbol.for("react.memo_cache_sentinel"),Rc=Symbol.iterator,Ic=Symbol.for("react.client.reference"),Lc=hc.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Mc=Object.assign,Dc=0;b.__reactDisabledLog=!0;var Fc,Nc,jc=!1,zc=new("function"==typeof WeakMap?WeakMap:Map),Uc=null,Vc=!1,Bc=Array.isArray,$c=pc.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Hc=Object.freeze({pending:!1,data:null,method:null,action:null}),Wc=[],qc=[],Kc=-1,Qc=I(null),Yc=I(null),Gc=I(null),Jc=I(null),Xc=Object.prototype.hasOwnProperty,Zc=fc.unstable_scheduleCallback,ed=fc.unstable_cancelCallback,td=fc.unstable_shouldYield,nd=fc.unstable_requestPaint,rd=fc.unstable_now,od=fc.unstable_getCurrentPriorityLevel,id=fc.unstable_ImmediatePriority,ad=fc.unstable_UserBlockingPriority,sd=fc.unstable_NormalPriority,ld=fc.unstable_LowPriority,ud=fc.unstable_IdlePriority,cd=fc.log,dd=fc.unstable_setDisableYieldValue,fd=null,hd=null,pd=null,md=!1,gd="undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__,yd=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(vd(e)/bd|0)|0},vd=Math.log,bd=Math.LN2,wd=128,kd=4194304,Sd=2,xd=8,_d=32,Cd=268435456,Ed=Math.random().toString(36).slice(2),Td="__reactFiber$"+Ed,Ad="__reactProps$"+Ed,Pd="__reactContainer$"+Ed,Od="__reactEvents$"+Ed,Rd="__reactListeners$"+Ed,Id="__reactHandles$"+Ed,Ld="__reactResources$"+Ed,Md="__reactMarker$"+Ed,Dd=new Set,Fd={},Nd={},jd=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),zd={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},Ud=RegExp("^[: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]*$"),Vd={},Bd={},$d=/[\n"\\]/g,Hd=!1,Wd=!1,qd=!1,Kd=!1,Qd=!1,Yd=!1,Gd=["value","defaultValue"],Jd=!1,Xd=/["'&<>\n\t]|^\s|\s$/,Zd="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),ef="applet caption html table td th marquee object template foreignObject desc title".split(" "),tf=ef.concat(["button"]),nf="dd dt li option optgroup p rp rt".split(" "),rf={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null},of={},af="http://www.w3.org/1998/Math/MathML",sf="http://www.w3.org/2000/svg",lf={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},uf=/([A-Z])/g,cf=/^ms-/,df=/^(?:webkit|moz|o)[A-Z]/,ff=/^-ms-/,hf=/-(.)/g,pf=/;\s*$/,mf={},gf={},yf=!1,vf=!1,bf=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),wf=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),kf={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Sf={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},xf={},_f=RegExp("^(aria)-[: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]*$"),Cf=RegExp("^(aria)[A-Z][: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]*$"),Ef=!1,Tf={},Af=/^on./,Pf=/^on[^A-Z]/,Of=RegExp("^(aria)-[: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]*$"),Rf=RegExp("^(aria)[A-Z][: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]*$"),If=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,Lf=null,Mf=null,Df=null,Ff=!1,Nf=!1;if(jd)try{var jf={};Object.defineProperty(jf,"passive",{get:()=>{Nf=!0}}),window.addEventListener("test",jf,jf),window.removeEventListener("test",jf,jf)}catch(e){Nf=!1}var zf,Uf,Vf,Bf=null,$f=null,Hf=null,Wf={eventPhase:0,bubbles:0,cancelable:0,timeStamp:e=>e.timeStamp||Date.now(),defaultPrevented:0,isTrusted:0},qf=Rt(Wf),Kf=Mc({},Wf,{view:0,detail:0}),Qf=Rt(Kf),Yf=Mc({},Kf,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Lt,button:0,buttons:0,relatedTarget:e=>void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget,movementX:e=>"movementX"in e?e.movementX:(e!==Vf&&(Vf&&"mousemove"===e.type?(zf=e.screenX-Vf.screenX,Uf=e.screenY-Vf.screenY):Uf=zf=0,Vf=e),zf),movementY:e=>"movementY"in e?e.movementY:Uf}),Gf=Rt(Yf),Jf=Rt(Mc({},Yf,{dataTransfer:0})),Xf=Rt(Mc({},Kf,{relatedTarget:0})),Zf=Rt(Mc({},Wf,{animationName:0,elapsedTime:0,pseudoElement:0})),eh=Rt(Mc({},Wf,{clipboardData:e=>"clipboardData"in e?e.clipboardData:window.clipboardData})),th=Rt(Mc({},Wf,{data:0})),nh=th,rh={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},oh={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"},ih={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},ah=Rt(Mc({},Kf,{key:e=>{if(e.key){var t=rh[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=At(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?oh[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Lt,charCode:e=>"keypress"===e.type?At(e):0,keyCode:e=>"keydown"===e.type||"keyup"===e.type?e.keyCode:0,which:e=>"keypress"===e.type?At(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0})),sh=Rt(Mc({},Yf,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),lh=Rt(Mc({},Kf,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Lt})),uh=Rt(Mc({},Wf,{propertyName:0,elapsedTime:0,pseudoElement:0})),ch=Rt(Mc({},Yf,{deltaX:e=>"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0,deltaY:e=>"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0,deltaZ:0,deltaMode:0})),dh=Rt(Mc({},Wf,{newState:0,oldState:0})),fh=[9,13,27,32],hh=229,ph=jd&&"CompositionEvent"in window,mh=null;jd&&"documentMode"in document&&(mh=document.documentMode);var gh=jd&&"TextEvent"in window&&!mh,yh=jd&&(!ph||mh&&8<mh&&11>=mh),vh=32,bh=String.fromCharCode(vh),wh=!1,kh=!1,Sh={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},xh=null,_h=null,Ch=!1;jd&&(Ch=function(e){if(!jd)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}("input")&&(!document.documentMode||9<document.documentMode));var Eh="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Th=jd&&"documentMode"in document&&11>=document.documentMode,Ah=null,Ph=null,Oh=null,Rh=!1,Ih={animationend:tn("Animation","AnimationEnd"),animationiteration:tn("Animation","AnimationIteration"),animationstart:tn("Animation","AnimationStart"),transitionrun:tn("Transition","TransitionRun"),transitionstart:tn("Transition","TransitionStart"),transitioncancel:tn("Transition","TransitionCancel"),transitionend:tn("Transition","TransitionEnd")},Lh={},Mh={};jd&&(Mh=document.createElement("div").style,"AnimationEvent"in window||(delete Ih.animationend.animation,delete Ih.animationiteration.animation,delete Ih.animationstart.animation),"TransitionEvent"in window||delete Ih.transitionend.transition);var Dh=nn("animationend"),Fh=nn("animationiteration"),Nh=nn("animationstart"),jh=nn("transitionrun"),zh=nn("transitionstart"),Uh=nn("transitioncancel"),Vh=nn("transitionend"),Bh=new Map,$h="abort auxClick beforeToggle 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 scrollEnd toggle touchMove waiting wheel".split(" "),Hh=1,Wh=2,qh=4,Kh=[],Qh=0,Yh=0,Gh={};Object.freeze(Gh);var Jh=null,Xh=null,Zh=0,ep=1,tp=2,np=8,rp=16,op=64,ip=fc.unstable_now,ap=-0,sp=-0,lp=-1.1,up=-0,cp=!1,dp=!1,fp={recordUnsafeLifecycleWarnings:()=>{},flushPendingUnsafeLifecycleWarnings:()=>{},recordLegacyContextWarning:()=>{},flushLegacyContextWarning:()=>{},discardPendingWarnings:()=>{}},hp=[],pp=[],mp=[],gp=[],yp=[],vp=[],bp=new Set;fp.recordUnsafeLifecycleWarnings=(e,t)=>{bp.has(e.type)||("function"==typeof t.componentWillMount&&!0!==t.componentWillMount.__suppressDeprecationWarning&&hp.push(e),e.mode&np&&"function"==typeof t.UNSAFE_componentWillMount&&pp.push(e),"function"==typeof t.componentWillReceiveProps&&!0!==t.componentWillReceiveProps.__suppressDeprecationWarning&&mp.push(e),e.mode&np&&"function"==typeof t.UNSAFE_componentWillReceiveProps&&gp.push(e),"function"==typeof t.componentWillUpdate&&!0!==t.componentWillUpdate.__suppressDeprecationWarning&&yp.push(e),e.mode&np&&"function"==typeof t.UNSAFE_componentWillUpdate&&vp.push(e))},fp.flushPendingUnsafeLifecycleWarnings=()=>{var e=new Set;0<hp.length&&(hp.forEach((t=>{e.add(v(t)||"Component"),bp.add(t.type)})),hp=[]);var t=new Set;0<pp.length&&(pp.forEach((e=>{t.add(v(e)||"Component"),bp.add(e.type)})),pp=[]);var n=new Set;0<mp.length&&(mp.forEach((e=>{n.add(v(e)||"Component"),bp.add(e.type)})),mp=[]);var r=new Set;0<gp.length&&(gp.forEach((e=>{r.add(v(e)||"Component"),bp.add(e.type)})),gp=[]);var o=new Set;0<yp.length&&(yp.forEach((e=>{o.add(v(e)||"Component"),bp.add(e.type)})),yp=[]);var i=new Set;if(0<vp.length&&(vp.forEach((e=>{i.add(v(e)||"Component"),bp.add(e.type)})),vp=[]),0<t.size){var a=f(t);console.error("Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n\nPlease update the following components: %s",a)}0<r.size&&(a=f(r),console.error("Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state\n\nPlease update the following components: %s",a)),0<i.size&&(a=f(i),console.error("Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n\nPlease update the following components: %s",a)),0<e.size&&(a=f(e),console.warn("componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",a)),0<n.size&&(a=f(n),console.warn("componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state\n* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",a)),0<o.size&&(a=f(o),console.warn("componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",a))};var wp=new Map,kp=new Set;fp.recordLegacyContextWarning=(e,t)=>{for(var n=null,r=e;null!==r;)r.mode&np&&(n=r),r=r.return;null===n?console.error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."):!kp.has(e.type)&&(r=wp.get(n),null!=e.type.contextTypes||null!=e.type.childContextTypes||null!==t&&"function"==typeof t.getChildContext)&&(void 0===r&&(r=[],wp.set(n,r)),r.push(e))},fp.flushLegacyContextWarning=()=>{wp.forEach((e=>{if(0!==e.length){var t=e[0],n=new Set;e.forEach((e=>{n.add(v(e)||"Component"),kp.add(e.type)}));var r=f(n);T(t,(()=>{console.error("Legacy context API has been detected within a strict-mode tree.\n\nThe old API will be supported in all 16.x releases, but applications using it should migrate to the new version.\n\nPlease update the following components: %s\n\nLearn more about this warning here: https://react.dev/link/legacy-context",r)}))}}))},fp.discardPendingWarnings=()=>{hp=[],pp=[],mp=[],gp=[],yp=[],vp=[],wp=new Map};var Sp,xp=new WeakMap,_p=[],Cp=0,Ep=null,Tp=0,Ap=[],Pp=0,Op=null,Rp=1,Ip="",Lp=null,Mp=null,Dp=!1,Fp=!1,Np=null,jp=null,zp=!1,Up=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),Vp=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`"),Bp=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),$p={then:()=>{console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},Hp=null,Wp=!1,qp={"react-stack-bottom-frame":(e,t,n)=>{var r=Vc;Vc=!0;try{return e(t,n)}finally{Vc=r}}},Kp=qp["react-stack-bottom-frame"].bind(qp),Qp={"react-stack-bottom-frame":e=>{var t=Vc;Vc=!0;try{return e.render()}finally{Vc=t}}},Yp=Qp["react-stack-bottom-frame"].bind(Qp),Gp={"react-stack-bottom-frame":(e,t)=>{try{t.componentDidMount()}catch(t){Hs(e,e.return,t)}}},Jp=Gp["react-stack-bottom-frame"].bind(Gp),Xp={"react-stack-bottom-frame":(e,t,n,r,o)=>{try{t.componentDidUpdate(n,r,o)}catch(t){Hs(e,e.return,t)}}},Zp=Xp["react-stack-bottom-frame"].bind(Xp),em={"react-stack-bottom-frame":(e,t)=>{var n=t.stack;e.componentDidCatch(t.value,{componentStack:null!==n?n:""})}},tm=em["react-stack-bottom-frame"].bind(em),nm={"react-stack-bottom-frame":(e,t,n)=>{try{n.componentWillUnmount()}catch(n){Hs(e,t,n)}}},rm=nm["react-stack-bottom-frame"].bind(nm),om={"react-stack-bottom-frame":e=>{var t=e.create;return e=e.inst,t=t(),e.destroy=t}},im=om["react-stack-bottom-frame"].bind(om),am={"react-stack-bottom-frame":(e,t,n)=>{try{n()}catch(n){Hs(e,t,n)}}},sm=am["react-stack-bottom-frame"].bind(am),lm={"react-stack-bottom-frame":e=>(0,e._init)(e._payload)},um=lm["react-stack-bottom-frame"].bind(lm),cm=null,dm=0,fm=null,hm=Sp=!1,pm={},mm={},gm={};d=(e,t,n)=>{if(null!==n&&"object"==typeof n&&n._store&&(!n._store.validated&&null==n.key||2===n._store.validated)){if("object"!=typeof n._store)throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");n._store.validated=1;var r=v(e),o=r||"null";if(!pm[o]){pm[o]=!0,n=n._owner,e=e._debugOwner;var i="";e&&"number"==typeof e.tag&&(o=v(e))&&(i="\n\nCheck the render method of `"+o+"`."),i||r&&(i="\n\nCheck the top-level render call using <"+r+">.");var a="";null!=n&&e!==n&&(r=null,"number"==typeof n.tag?r=v(n):"string"==typeof n.name&&(r=n.name),r&&(a=" It was passed a child from "+r+".")),T(t,(()=>{console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',i,a)}))}}};var ym=Xn(!0),vm=Xn(!1),bm=I(null),wm=I(0),km=I(null),Sm=null,xm=1,_m=2,Cm=I(0),Em=0,Tm=1,Am=2,Pm=4,Om=8,Rm="undefined"!=typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:(t,n)=>{e.push(n)}};this.abort=()=>{t.aborted=!0,e.forEach((e=>e()))}},Im=fc.unstable_scheduleCallback,Lm=fc.unstable_NormalPriority,Mm={$$typeof:xc,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Dm=null,Fm=0,Nm=0,jm=null,zm=Lc.S;Lc.S=(e,t)=>{"object"==typeof t&&null!==t&&"function"==typeof t.then&&function(e,t){if(null===Dm){var n=Dm=[];Fm=0,Nm=ul(),jm={status:"pending",value:void 0,then:e=>{n.push(e)}}}Fm++,t.then(cr,cr)}(0,t),null!==zm&&zm(e,t)};var Um,Vm=I(null),Bm=new Set,$m=new Set,Hm=new Set,Wm=new Set,qm=0,Km=null,Qm=null,Ym=null,Gm=!1,Jm=!1,Xm=!1,Zm=0,eg=0,tg=null,ng=0,rg=25,og=null,ig=null,ag=-1,sg=!1,lg=()=>({lastEffect:null,events:null,stores:null,memoCache:null}),ug={readContext:Ni,use:Or,useCallback:vr,useContext:vr,useEffect:vr,useImperativeHandle:vr,useLayoutEffect:vr,useInsertionEffect:vr,useMemo:vr,useReducer:vr,useRef:vr,useState:vr,useDebugValue:vr,useDeferredValue:vr,useTransition:vr,useSyncExternalStore:vr,useId:vr};ug.useCacheRefresh=vr,ug.useMemoCache=vr,ug.useHostTransitionStatus=vr,ug.useFormState=vr,ug.useActionState=vr,ug.useOptimistic=vr;var cg=null,dg=null,fg=null,hg=null,pg=null,mg=null,gg=null;cg={readContext:e=>Ni(e),use:Or,useCallback:(e,t)=>(og="useCallback",pr(),gr(t),vo(e,t)),useContext:e=>(og="useContext",pr(),Ni(e)),useEffect:(e,t)=>(og="useEffect",pr(),gr(t),ho(e,t)),useImperativeHandle:(e,t,n)=>(og="useImperativeHandle",pr(),gr(n),go(e,t,n)),useInsertionEffect:(e,t)=>{og="useInsertionEffect",pr(),gr(t),co(4,Am,e,t)},useLayoutEffect:(e,t)=>(og="useLayoutEffect",pr(),gr(t),po(e,t)),useMemo:(e,t)=>{og="useMemo",pr(),gr(t);var n=Lc.H;Lc.H=pg;try{return wo(e,t)}finally{Lc.H=n}},useReducer:(e,t,n)=>{og="useReducer",pr();var r=Lc.H;Lc.H=pg;try{return Lr(e,t,n)}finally{Lc.H=r}},useRef:e=>(og="useRef",pr(),uo(e)),useState:e=>{og="useState",pr();var t=Lc.H;Lc.H=pg;try{return Wr(e)}finally{Lc.H=t}},useDebugValue:()=>{og="useDebugValue",pr()},useDeferredValue:(e,t)=>(og="useDeferredValue",pr(),So(e,t)),useTransition:()=>(og="useTransition",pr(),Ro()),useSyncExternalStore:(e,t,n)=>(og="useSyncExternalStore",pr(),Nr(e,t,n)),useId:()=>(og="useId",pr(),Do()),useCacheRefresh:()=>(og="useCacheRefresh",pr(),Fo())},cg.useMemoCache=Rr,cg.useHostTransitionStatus=Mo,cg.useFormState=(e,t)=>(og="useFormState",pr(),yr(),ro(e,t)),cg.useActionState=(e,t)=>(og="useActionState",pr(),ro(e,t)),cg.useOptimistic=e=>(og="useOptimistic",pr(),qr(e)),dg={readContext:e=>Ni(e),use:Or,useCallback:(e,t)=>(og="useCallback",mr(),vo(e,t)),useContext:e=>(og="useContext",mr(),Ni(e)),useEffect:(e,t)=>(og="useEffect",mr(),ho(e,t)),useImperativeHandle:(e,t,n)=>(og="useImperativeHandle",mr(),go(e,t,n)),useInsertionEffect:(e,t)=>{og="useInsertionEffect",mr(),co(4,Am,e,t)},useLayoutEffect:(e,t)=>(og="useLayoutEffect",mr(),po(e,t)),useMemo:(e,t)=>{og="useMemo",mr();var n=Lc.H;Lc.H=pg;try{return wo(e,t)}finally{Lc.H=n}},useReducer:(e,t,n)=>{og="useReducer",mr();var r=Lc.H;Lc.H=pg;try{return Lr(e,t,n)}finally{Lc.H=r}},useRef:e=>(og="useRef",mr(),uo(e)),useState:e=>{og="useState",mr();var t=Lc.H;Lc.H=pg;try{return Wr(e)}finally{Lc.H=t}},useDebugValue:()=>{og="useDebugValue",mr()},useDeferredValue:(e,t)=>(og="useDeferredValue",mr(),So(e,t)),useTransition:()=>(og="useTransition",mr(),Ro()),useSyncExternalStore:(e,t,n)=>(og="useSyncExternalStore",mr(),Nr(e,t,n)),useId:()=>(og="useId",mr(),Do()),useCacheRefresh:()=>(og="useCacheRefresh",mr(),Fo())},dg.useMemoCache=Rr,dg.useHostTransitionStatus=Mo,dg.useFormState=(e,t)=>(og="useFormState",mr(),yr(),ro(e,t)),dg.useActionState=(e,t)=>(og="useActionState",mr(),ro(e,t)),dg.useOptimistic=e=>(og="useOptimistic",mr(),qr(e)),fg={readContext:e=>Ni(e),use:Or,useCallback:(e,t)=>(og="useCallback",mr(),bo(e,t)),useContext:e=>(og="useContext",mr(),Ni(e)),useEffect:(e,t)=>{og="useEffect",mr(),fo(2048,Om,e,t)},useImperativeHandle:(e,t,n)=>(og="useImperativeHandle",mr(),yo(e,t,n)),useInsertionEffect:(e,t)=>(og="useInsertionEffect",mr(),fo(4,Am,e,t)),useLayoutEffect:(e,t)=>(og="useLayoutEffect",mr(),fo(4,Pm,e,t)),useMemo:(e,t)=>{og="useMemo",mr();var n=Lc.H;Lc.H=mg;try{return ko(e,t)}finally{Lc.H=n}},useReducer:(e,t,n)=>{og="useReducer",mr();var r=Lc.H;Lc.H=mg;try{return Mr(e)}finally{Lc.H=r}},useRef:()=>(og="useRef",mr(),Ar().memoizedState),useState:()=>{og="useState",mr();var e=Lc.H;Lc.H=mg;try{return Mr(Ir)}finally{Lc.H=e}},useDebugValue:()=>{og="useDebugValue",mr()},useDeferredValue:(e,t)=>(og="useDeferredValue",mr(),xo(e,t)),useTransition:()=>(og="useTransition",mr(),Io()),useSyncExternalStore:(e,t,n)=>(og="useSyncExternalStore",mr(),jr(e,t,n)),useId:()=>(og="useId",mr(),Ar().memoizedState),useCacheRefresh:()=>(og="useCacheRefresh",mr(),Ar().memoizedState)},fg.useMemoCache=Rr,fg.useHostTransitionStatus=Mo,fg.useFormState=e=>(og="useFormState",mr(),yr(),oo(e)),fg.useActionState=e=>(og="useActionState",mr(),oo(e)),fg.useOptimistic=(e,t)=>(og="useOptimistic",mr(),Kr(e,t)),hg={readContext:e=>Ni(e),use:Or,useCallback:(e,t)=>(og="useCallback",mr(),bo(e,t)),useContext:e=>(og="useContext",mr(),Ni(e)),useEffect:(e,t)=>{og="useEffect",mr(),fo(2048,Om,e,t)},useImperativeHandle:(e,t,n)=>(og="useImperativeHandle",mr(),yo(e,t,n)),useInsertionEffect:(e,t)=>(og="useInsertionEffect",mr(),fo(4,Am,e,t)),useLayoutEffect:(e,t)=>(og="useLayoutEffect",mr(),fo(4,Pm,e,t)),useMemo:(e,t)=>{og="useMemo",mr();var n=Lc.H;Lc.H=gg;try{return ko(e,t)}finally{Lc.H=n}},useReducer:(e,t,n)=>{og="useReducer",mr();var r=Lc.H;Lc.H=gg;try{return Fr(e)}finally{Lc.H=r}},useRef:()=>(og="useRef",mr(),Ar().memoizedState),useState:()=>{og="useState",mr();var e=Lc.H;Lc.H=gg;try{return Fr(Ir)}finally{Lc.H=e}},useDebugValue:()=>{og="useDebugValue",mr()},useDeferredValue:(e,t)=>(og="useDeferredValue",mr(),_o(e,t)),useTransition:()=>(og="useTransition",mr(),Lo()),useSyncExternalStore:(e,t,n)=>(og="useSyncExternalStore",mr(),jr(e,t,n)),useId:()=>(og="useId",mr(),Ar().memoizedState),useCacheRefresh:()=>(og="useCacheRefresh",mr(),Ar().memoizedState)},hg.useMemoCache=Rr,hg.useHostTransitionStatus=Mo,hg.useFormState=e=>(og="useFormState",mr(),yr(),so(e)),hg.useActionState=e=>(og="useActionState",mr(),so(e)),hg.useOptimistic=(e,t)=>(og="useOptimistic",mr(),Yr(e,t)),pg={readContext:e=>(u(),Ni(e)),use:e=>(l(),Or(e)),useCallback:(e,t)=>(og="useCallback",l(),pr(),vo(e,t)),useContext:e=>(og="useContext",l(),pr(),Ni(e)),useEffect:(e,t)=>(og="useEffect",l(),pr(),ho(e,t)),useImperativeHandle:(e,t,n)=>(og="useImperativeHandle",l(),pr(),go(e,t,n)),useInsertionEffect:(e,t)=>{og="useInsertionEffect",l(),pr(),co(4,Am,e,t)},useLayoutEffect:(e,t)=>(og="useLayoutEffect",l(),pr(),po(e,t)),useMemo:(e,t)=>{og="useMemo",l(),pr();var n=Lc.H;Lc.H=pg;try{return wo(e,t)}finally{Lc.H=n}},useReducer:(e,t,n)=>{og="useReducer",l(),pr();var r=Lc.H;Lc.H=pg;try{return Lr(e,t,n)}finally{Lc.H=r}},useRef:e=>(og="useRef",l(),pr(),uo(e)),useState:e=>{og="useState",l(),pr();var t=Lc.H;Lc.H=pg;try{return Wr(e)}finally{Lc.H=t}},useDebugValue:()=>{og="useDebugValue",l(),pr()},useDeferredValue:(e,t)=>(og="useDeferredValue",l(),pr(),So(e,t)),useTransition:()=>(og="useTransition",l(),pr(),Ro()),useSyncExternalStore:(e,t,n)=>(og="useSyncExternalStore",l(),pr(),Nr(e,t,n)),useId:()=>(og="useId",l(),pr(),Do()),useCacheRefresh:()=>(og="useCacheRefresh",pr(),Fo()),useMemoCache:e=>(l(),Rr(e))},pg.useHostTransitionStatus=Mo,pg.useFormState=(e,t)=>(og="useFormState",l(),pr(),ro(e,t)),pg.useActionState=(e,t)=>(og="useActionState",l(),pr(),ro(e,t)),pg.useOptimistic=e=>(og="useOptimistic",l(),pr(),qr(e)),mg={readContext:e=>(u(),Ni(e)),use:e=>(l(),Or(e)),useCallback:(e,t)=>(og="useCallback",l(),mr(),bo(e,t)),useContext:e=>(og="useContext",l(),mr(),Ni(e)),useEffect:(e,t)=>{og="useEffect",l(),mr(),fo(2048,Om,e,t)},useImperativeHandle:(e,t,n)=>(og="useImperativeHandle",l(),mr(),yo(e,t,n)),useInsertionEffect:(e,t)=>(og="useInsertionEffect",l(),mr(),fo(4,Am,e,t)),useLayoutEffect:(e,t)=>(og="useLayoutEffect",l(),mr(),fo(4,Pm,e,t)),useMemo:(e,t)=>{og="useMemo",l(),mr();var n=Lc.H;Lc.H=mg;try{return ko(e,t)}finally{Lc.H=n}},useReducer:(e,t,n)=>{og="useReducer",l(),mr();var r=Lc.H;Lc.H=mg;try{return Mr(e)}finally{Lc.H=r}},useRef:()=>(og="useRef",l(),mr(),Ar().memoizedState),useState:()=>{og="useState",l(),mr();var e=Lc.H;Lc.H=mg;try{return Mr(Ir)}finally{Lc.H=e}},useDebugValue:()=>{og="useDebugValue",l(),mr()},useDeferredValue:(e,t)=>(og="useDeferredValue",l(),mr(),xo(e,t)),useTransition:()=>(og="useTransition",l(),mr(),Io()),useSyncExternalStore:(e,t,n)=>(og="useSyncExternalStore",l(),mr(),jr(e,t,n)),useId:()=>(og="useId",l(),mr(),Ar().memoizedState),useCacheRefresh:()=>(og="useCacheRefresh",mr(),Ar().memoizedState),useMemoCache:e=>(l(),Rr(e))},mg.useHostTransitionStatus=Mo,mg.useFormState=e=>(og="useFormState",l(),mr(),oo(e)),mg.useActionState=e=>(og="useActionState",l(),mr(),oo(e)),mg.useOptimistic=(e,t)=>(og="useOptimistic",l(),mr(),Kr(e,t)),gg={readContext:e=>(u(),Ni(e)),use:e=>(l(),Or(e)),useCallback:(e,t)=>(og="useCallback",l(),mr(),bo(e,t)),useContext:e=>(og="useContext",l(),mr(),Ni(e)),useEffect:(e,t)=>{og="useEffect",l(),mr(),fo(2048,Om,e,t)},useImperativeHandle:(e,t,n)=>(og="useImperativeHandle",l(),mr(),yo(e,t,n)),useInsertionEffect:(e,t)=>(og="useInsertionEffect",l(),mr(),fo(4,Am,e,t)),useLayoutEffect:(e,t)=>(og="useLayoutEffect",l(),mr(),fo(4,Pm,e,t)),useMemo:(e,t)=>{og="useMemo",l(),mr();var n=Lc.H;Lc.H=mg;try{return ko(e,t)}finally{Lc.H=n}},useReducer:(e,t,n)=>{og="useReducer",l(),mr();var r=Lc.H;Lc.H=mg;try{return Fr(e)}finally{Lc.H=r}},useRef:()=>(og="useRef",l(),mr(),Ar().memoizedState),useState:()=>{og="useState",l(),mr();var e=Lc.H;Lc.H=mg;try{return Fr(Ir)}finally{Lc.H=e}},useDebugValue:()=>{og="useDebugValue",l(),mr()},useDeferredValue:(e,t)=>(og="useDeferredValue",l(),mr(),_o(e,t)),useTransition:()=>(og="useTransition",l(),mr(),Lo()),useSyncExternalStore:(e,t,n)=>(og="useSyncExternalStore",l(),mr(),jr(e,t,n)),useId:()=>(og="useId",l(),mr(),Ar().memoizedState),useCacheRefresh:()=>(og="useCacheRefresh",mr(),Ar().memoizedState),useMemoCache:e=>(l(),Rr(e))},gg.useHostTransitionStatus=Mo,gg.useFormState=e=>(og="useFormState",l(),mr(),so(e)),gg.useActionState=e=>(og="useActionState",l(),mr(),so(e)),gg.useOptimistic=(e,t)=>(og="useOptimistic",l(),mr(),Yr(e,t));var yg={},vg=new Set,bg=new Set,wg=new Set,kg=new Set,Sg=new Set,xg=new Set,_g=new Set,Cg=new Set,Eg=new Set,Tg=new Set;Object.freeze(yg);var Ag={isMounted:e=>{var t=Uc;if(null!==t&&Vc&&1===t.tag){var n=t.stateNode;n._warnedAboutRefsInRender||console.error("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",v(t)||"A component"),n._warnedAboutRefsInRender=!0}return!!(e=e._reactInternals)&&A(e)===e},enqueueSetState:(e,t,n)=>{var r=ms(e=e._reactInternals),o=Bi(r);o.payload=t,null!=n&&(Wo(n),o.callback=n),null!==(t=$i(e,o,r))&&(ys(t,e,r),Hi(t,e,r)),te(e,r)},enqueueReplaceState:(e,t,n)=>{var r=ms(e=e._reactInternals),o=Bi(r);o.tag=Gg,o.payload=t,null!=n&&(Wo(n),o.callback=n),null!==(t=$i(e,o,r))&&(ys(t,e,r),Hi(t,e,r)),te(e,r)},enqueueForceUpdate:(e,t)=>{var n=ms(e=e._reactInternals),r=Bi(n);r.tag=Jg,null!=t&&(Wo(t),r.callback=t),null!==(t=$i(e,r,n))&&(ys(t,e,n),Hi(t,e,n)),null!==pd&&"function"==typeof pd.markForceUpdateScheduled&&pd.markForceUpdateScheduled(e,n)}},Pg="function"==typeof reportError?reportError:e=>{if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)},Og=null,Rg=null,Ig=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),Lg=!1,Mg={},Dg={},Fg={},Ng={},jg=!1,zg={},Ug={},Vg={dehydrated:null,treeContext:null,retryLane:0},Bg=!1,$g=I(null),Hg=I(null),Wg={},qg=null,Kg=null,Qg=!1,Yg=0,Gg=1,Jg=2,Xg=3,Zg=!1,ey=!1,ty=null,ny=!1,ry=null;ry=new Set;var oy=!1,iy=!1,ay=!1,sy="function"==typeof WeakSet?WeakSet:Set,ly=null,uy=null,cy=null,dy=!1,fy=null,hy=!1,py=null,my=8192,gy=!1;try{var yy=Object.preventExtensions({});new Map([[yy,null]]),new Set([yy])}catch(e){gy=!0}var vy={getCacheForType:e=>{var t=Ni(Mm),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n},getOwner:()=>Uc};if("function"==typeof Symbol&&Symbol.for){var by=Symbol.for;by("selector.component"),by("selector.has_pseudo_class"),by("selector.role"),by("selector.test_id"),by("selector.text")}var wy=[],ky="function"==typeof WeakMap?WeakMap:Map,Sy=0,xy=2,_y=4,Cy=0,Ey=1,Ty=2,Ay=3,Py=4,Oy=5,Ry=6,Iy=Sy,Ly=null,My=null,Dy=0,Fy=0,Ny=1,jy=2,zy=3,Uy=4,Vy=5,By=6,$y=7,Hy=8,Wy=Fy,qy=null,Ky=!1,Qy=!1,Yy=!1,Gy=0,Jy=Cy,Xy=0,Zy=0,ev=0,tv=0,nv=0,rv=null,ov=null,iv=!1,av=0,sv=300,lv=1/0,uv=500,cv=null,dv=null,fv=!1,hv=null,pv=0,mv=0,gv=null,yv=50,vv=0,bv=null,wv=!1,kv=!1,Sv=50,xv=0,_v=null,Cv=!1,Ev=0,Tv=1,Av=2,Pv=null,Ov=!1,Rv=new Set,Iv=null,Lv=null,Mv=!1,Dv=!1,Fv=!1,Nv=!1,jv=0,zv={};(()=>{for(var e=0;e<$h.length;e++){var t=$h[e];rn(t.toLowerCase(),"on"+(t=t[0].toUpperCase()+t.slice(1)))}rn(Dh,"onAnimationEnd"),rn(Fh,"onAnimationIteration"),rn(Nh,"onAnimationStart"),rn("dblclick","onDoubleClick"),rn("focusin","onFocus"),rn("focusout","onBlur"),rn(jh,"onTransitionRun"),rn(zh,"onTransitionStart"),rn(Uh,"onTransitionCancel"),rn(Vh,"onTransitionEnd")})(),_e("onMouseEnter",["mouseout","mouseover"]),_e("onMouseLeave",["mouseout","mouseover"]),_e("onPointerEnter",["pointerout","pointerover"]),_e("onPointerLeave",["pointerout","pointerover"]),xe("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),xe("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),xe("onBeforeInput",["compositionend","keypress","textInput","paste"]),xe("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),xe("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),xe("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Uv="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(" "),Vv=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Uv)),Bv="_reactListening"+Math.random().toString(36).slice(2),$v=!1,Hv=!1,Wv=!1,qv=!1,Kv=!1,Qv=!1,Yv=!1,Gv={},Jv=/\r\n?/g,Xv=/\u0000|\uFFFD/g,Zv="http://www.w3.org/1999/xlink",eb="http://www.w3.org/XML/1998/namespace",tb="javascript:throw new Error('React form unexpectedly submitted.')",nb="suppressHydrationWarning",rb="$",ob="/$",ib="$?",ab="$!",sb="F!",lb="F",ub="style",cb=0,db=1,fb=2,hb=null,pb=null,mb={dialog:!0,webview:!0},gb=null,yb="function"==typeof setTimeout?setTimeout:void 0,vb="function"==typeof clearTimeout?clearTimeout:void 0,bb=-1,wb="function"==typeof Promise?Promise:void 0,kb="function"==typeof queueMicrotask?queueMicrotask:void 0!==wb?e=>wb.resolve(null).then(e).catch(Wl):yb,Sb=0,xb=1,_b=2,Cb=3,Eb=4,Tb=new Map,Ab=new Set,Pb=$c.d;$c.d={f:()=>{var e=Pb.f(),t=xs();return e||t},r:e=>{var t=be(e);null!==t&&5===t.tag&&"form"===t.type?Oo(t):Pb.r(e)},D:e=>{Pb.D(e),pu("dns-prefetch",e,null)},C:(e,t)=>{Pb.C(e,t),pu("preconnect",e,t)},L:(e,t,n)=>{Pb.L(e,t,n);var r=zb;if(r&&e&&t){var o='link[rel="preload"][as="'+Fe(t)+'"]';"image"===t&&n&&n.imageSrcSet?(o+='[imagesrcset="'+Fe(n.imageSrcSet)+'"]',"string"==typeof n.imageSizes&&(o+='[imagesizes="'+Fe(n.imageSizes)+'"]')):o+='[href="'+Fe(e)+'"]';var i=o;switch(t){case"style":i=yu(e);break;case"script":i=wu(e)}Tb.has(i)||(e=Mc({rel:"preload",href:"image"===t&&n&&n.imageSrcSet?void 0:e,as:t},n),Tb.set(i,e),null!==r.querySelector(o)||"style"===t&&r.querySelector(vu(i))||"script"===t&&r.querySelector(ku(i))||(Rl(t=r.createElement("link"),"link",e),Se(t),r.head.appendChild(t)))}},m:(e,t)=>{Pb.m(e,t);var n=zb;if(n&&e){var r=t&&"string"==typeof t.as?t.as:"script",o='link[rel="modulepreload"][as="'+Fe(r)+'"][href="'+Fe(e)+'"]',i=o;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=wu(e)}if(!Tb.has(i)&&(e=Mc({rel:"modulepreload",href:e},t),Tb.set(i,e),null===n.querySelector(o))){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(ku(i)))return}Rl(r=n.createElement("link"),"link",e),Se(r),n.head.appendChild(r)}}},X:(e,t)=>{Pb.X(e,t);var n=zb;if(n&&e){var r=ke(n).hoistableScripts,o=wu(e),i=r.get(o);i||((i=n.querySelector(ku(o)))||(e=Mc({src:e,async:!0},t),(t=Tb.get(o))&&Cu(e,t),Se(i=n.createElement("script")),Rl(i,"link",e),n.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},r.set(o,i))}},S:(e,t,n)=>{Pb.S(e,t,n);var r=zb;if(r&&e){var o=ke(r).hoistableStyles,i=yu(e);t=t||"default";var a=o.get(i);if(!a){var s={loading:Sb,preload:null};if(a=r.querySelector(vu(i)))s.loading=xb|Eb;else{e=Mc({rel:"stylesheet",href:e,"data-precedence":t},n),(n=Tb.get(i))&&_u(e,n);var l=a=r.createElement("link");Se(l),Rl(l,"link",e),l._p=new Promise(((e,t)=>{l.onload=e,l.onerror=t})),l.addEventListener("load",(()=>{s.loading|=xb})),l.addEventListener("error",(()=>{s.loading|=_b})),s.loading|=Eb,xu(a,t,r)}a={type:"stylesheet",instance:a,count:1,state:s},o.set(i,a)}}},M:(e,t)=>{Pb.M(e,t);var n=zb;if(n&&e){var r=ke(n).hoistableScripts,o=wu(e),i=r.get(o);i||((i=n.querySelector(ku(o)))||(e=Mc({src:e,async:!0,type:"module"},t),(t=Tb.get(o))&&Cu(e,t),Se(i=n.createElement("script")),Rl(i,"link",e),n.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},r.set(o,i))}}};var Ob,Rb,Ib,Lb,Mb,Db,Fb,Nb,jb,zb="undefined"==typeof document?null:document,Ub=null,Vb=null,Bb=null,$b=null,Hb=Hc,Wb={$$typeof:xc,Provider:null,Consumer:null,_currentValue:Hb,_currentValue2:Hb,_threadCount:0},qb="%c%s%c ",Kb="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",Qb="",Yb=" ",Gb=Function.prototype.bind,Jb=!1;Ob=(n,r,o,i)=>{null!==(r=e(n,r))&&(o=t(r.memoizedState,o,0,i),r.memoizedState=o,r.baseState=o,n.memoizedProps=Mc({},n.memoizedProps),null!==(o=ln(n,2))&&ys(o,n,2))},Rb=(t,n,r)=>{null!==(n=e(t,n))&&(r=o(n.memoizedState,r,0),n.memoizedState=r,n.baseState=r,t.memoizedProps=Mc({},t.memoizedProps),null!==(r=ln(t,2))&&ys(r,t,2))},Ib=(t,r,o,i)=>{null!==(r=e(t,r))&&(o=n(r.memoizedState,o,i),r.memoizedState=o,r.baseState=o,t.memoizedProps=Mc({},t.memoizedProps),null!==(o=ln(t,2))&&ys(o,t,2))},Lb=(e,n,r)=>{e.pendingProps=t(e.memoizedProps,n,0,r),e.alternate&&(e.alternate.pendingProps=e.pendingProps),null!==(n=ln(e,2))&&ys(n,e,2)},Mb=(e,t)=>{e.pendingProps=o(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),null!==(t=ln(e,2))&&ys(t,e,2)},Db=(e,t,r)=>{e.pendingProps=n(e.memoizedProps,t,r),e.alternate&&(e.alternate.pendingProps=e.pendingProps),null!==(t=ln(e,2))&&ys(t,e,2)},Fb=e=>{var t=ln(e,2);null!==t&&ys(t,e,2)},Nb=e=>{a=e},jb=e=>{i=e};var Xb,Zb=!0,ew=null,tw=!1,nw=null,rw=null,ow=null,iw=new Map,aw=new Map,sw=[],lw="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".split(" "),uw=null;if(rc.prototype.render=nc.prototype.render=function(e,t){var n=this._internalRoot;if(null===n)throw Error("Cannot update an unmounted root.");"function"==typeof t?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):h(t)?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):void 0!==t&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),Nu(t=n.current,ms(t),e,n,null,null)},rc.prototype.unmount=nc.prototype.unmount=function(e){if("function"==typeof e&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),null!==(e=this._internalRoot)){this._internalRoot=null;var t=e.containerInfo;(Iy&(xy|_y))!==Sy&&console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),Fu(null,e,null,null),xs(),t[Pd]=null}},rc.prototype.unstable_scheduleHydration=e=>{if(e){var t=ge();e={blockedOn:null,target:e,priority:t};for(var n=0;n<sw.length&&0!==t&&t<sw[n].priority;n++);sw.splice(n,0,e),0===n&&Yu(e)}},(()=>{var e=hc.version;if("19.0.0"!==e)throw Error('Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n  - react:      '+e+"\n  - react-dom:  19.0.0\nLearn more: https://react.dev/warnings/version-mismatch")})(),"function"==typeof Map&&null!=Map.prototype&&"function"==typeof Map.prototype.forEach&&"function"==typeof Set&&null!=Set.prototype&&"function"==typeof Set.prototype.clear&&"function"==typeof Set.prototype.forEach||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),$c.findDOMNode=e=>{var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error("Unable to find node on an unmounted component.");throw e=Object.keys(e).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+e)}return e=function(e){var t=e.alternate;if(!t){if(null===(t=A(e)))throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return O(o),e;if(i===r)return O(o),t;i=i.sibling}throw Error("Unable to find node on an unmounted component.")}if(n.return!==r.return)n=o,r=i;else{for(var a=!1,s=o.child;s;){if(s===n){a=!0,n=o,r=i;break}if(s===r){a=!0,r=o,n=i;break}s=s.sibling}if(!a){for(s=i.child;s;){if(s===n){a=!0,n=i,r=o;break}if(s===r){a=!0,r=i,n=o;break}s=s.sibling}if(!a)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!==r)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(3!==n.tag)throw Error("Unable to find node on an unmounted component.");return n.stateNode.current===n?e:t}(t),null===(e=null!==e?R(e):null)?null:e.stateNode},(Xb={bundleType:1,version:"19.0.0",rendererPackageName:"react-dom",currentDispatcherRef:Lc,findFiberByHostInstance:ve,reconcilerVersion:"19.0.0"}).overrideHookState=Ob,Xb.overrideHookStateDeletePath=Rb,Xb.overrideHookStateRenamePath=Ib,Xb.overrideProps=Lb,Xb.overridePropsDeletePath=Mb,Xb.overridePropsRenamePath=Db,Xb.scheduleUpdate=Fb,Xb.setErrorHandler=Nb,Xb.setSuspenseHandler=jb,Xb.scheduleRefresh=function(e,t){if(null!==Jh){var n=t.staleFamilies;t=t.updatedFamilies,Bs(),mn(e.current,t,n),xs()}},Xb.scheduleRoot=function(e,t){e.context===Gh&&(Fu(t,e,null,null),xs())},Xb.setRefreshHandler=function(e){Jh=e},Xb.getCurrentFiber=function(){return Uc},Xb.getLaneLabelMap=function(){for(var e=new Map,t=1,n=0;31>n;n++){var r=ne(t);e.set(t,r),t*=2}return e},Xb.injectProfilingHooks=function(e){pd=e},!(e=>{if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)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{fd=t.inject(e),hd=t}catch(e){console.error("React instrumentation encountered an error: %s.",e)}return!!t.checkDCE})(Xb)&&jd&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&-1===navigator.userAgent.indexOf("Edge")||-1<navigator.userAgent.indexOf("Firefox"))){var cw=window.location.protocol;/^(https?|file):$/.test(cw)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+("file:"===cw?"\nYou might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq":""),"font-weight:bold")}F.createRoot=(e,t)=>{if(!h(e))throw Error("Target container is not a DOM element.");oc(e);var n=!1,r="",o=Go,i=Jo,a=Xo;return null!=t&&(t.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):"object"==typeof t&&null!==t&&t.$$typeof===gc&&console.error("You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:\n\n  let root = createRoot(domContainer);\n  root.render(<App />);"),!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onUncaughtError&&(o=t.onUncaughtError),void 0!==t.onCaughtError&&(i=t.onCaughtError),void 0!==t.onRecoverableError&&(a=t.onRecoverableError),void 0!==t.unstable_transitionCallbacks&&t.unstable_transitionCallbacks),t=Mu(e,1,!1,null,0,n,r,o,i,a,0,null),e[Pd]=t.current,ml(8===e.nodeType?e.parentNode:e),new nc(t)},F.hydrateRoot=(e,t,n)=>{if(!h(e))throw Error("Target container is not a DOM element.");oc(e),void 0===t&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var r=!1,o="",i=Go,a=Jo,s=Xo,l=null;return null!=n&&(!0===n.unstable_strictMode&&(r=!0),void 0!==n.identifierPrefix&&(o=n.identifierPrefix),void 0!==n.onUncaughtError&&(i=n.onUncaughtError),void 0!==n.onCaughtError&&(a=n.onCaughtError),void 0!==n.onRecoverableError&&(s=n.onRecoverableError),void 0!==n.unstable_transitionCallbacks&&n.unstable_transitionCallbacks,void 0!==n.formState&&(l=n.formState)),(t=Mu(e,1,!0,t,0,r,o,i,a,s,0,l)).context=Du(null),(o=Bi(r=ms(n=t.current))).callback=null,$i(n,o,r),t.current.lanes=r,ce(t,r),tl(t),e[Pd]=t.current,ml(e),new rc(t)},F.version="19.0.0","undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),F)),w.exports),j=function(){return j=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},j.apply(this,arguments)};function z(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))}"function"==typeof SuppressedError&&SuppressedError;var U,V,B=/^((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|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,$=function(e){var t=Object.create(null);return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>B.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91)),H=m(),W=t(H),q=(V||(V=1,U=(e,t,n,r)=>{var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<i.length;l++){var u=i[l];if(!s(u))return!1;var c=e[u],d=t[u];if(!1===(o=n?n.call(r,c,d,u):void 0)||void 0===o&&c!==d)return!1}return!0}),U),K=t(q),Q="-ms-",Y="-moz-",G="-webkit-",J="comm",X="rule",Z="decl",ee="@keyframes",te=Math.abs,ne=String.fromCharCode,re=Object.assign;function oe(e){return e.trim()}function ie(e,t){return(e=t.exec(e))?e[0]:e}function ae(e,t,n){return e.replace(t,n)}function se(e,t,n){return e.indexOf(t,n)}function le(e,t){return 0|e.charCodeAt(t)}function ue(e,t,n){return e.slice(t,n)}function ce(e){return e.length}function de(e){return e.length}function fe(e,t){return t.push(e),e}function he(e,t){return e.filter((e=>!ie(e,t)))}var pe=1,me=1,ge=0,ye=0,ve=0,be="";function we(e,t,n,r,o,i,a,s){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:pe,column:me,length:a,return:"",siblings:s}}function ke(e,t){return re(we("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Se(e){for(;e.root;)e=ke(e.root,{children:[e]});fe(e,e.siblings)}function xe(){return ve=ye<ge?le(be,ye++):0,me++,10===ve&&(me=1,pe++),ve}function _e(){return le(be,ye)}function Ce(){return ye}function Ee(e,t){return ue(be,e,t)}function Te(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 Ae(e){return oe(Ee(ye-1,Re(91===e?e+2:40===e?e+1:e)))}function Pe(e){for(;(ve=_e())&&ve<33;)xe();return Te(e)>2||Te(ve)>3?"":" "}function Oe(e,t){for(;--t&&xe()&&!(ve<48||ve>102||ve>57&&ve<65||ve>70&&ve<97););return Ee(e,Ce()+(t<6&&32==_e()&&32==xe()))}function Re(e){for(;xe();)switch(ve){case e:return ye;case 34:case 39:34!==e&&39!==e&&Re(ve);break;case 40:41===e&&Re(e);break;case 92:xe()}return ye}function Ie(e,t){for(;xe()&&e+ve!==57&&(e+ve!==84||47!==_e()););return"/*"+Ee(t,ye-1)+"*"+ne(47===e?e:xe())}function Le(e){for(;!Te(_e());)xe();return Ee(e,ye)}function Me(e){return function(e){return be="",e}(De("",null,null,null,[""],e=function(e){return pe=me=1,ge=ce(be=e),ye=0,[]}(e),0,[0],e))}function De(e,t,n,r,o,i,a,s,l){for(var u=0,c=0,d=a,f=0,h=0,p=0,m=1,g=1,y=1,v=0,b="",w=o,k=i,S=r,x=b;g;)switch(p=v,v=xe()){case 40:if(108!=p&&58==le(x,d-1)){-1!=se(x+=ae(Ae(v),"&","&\f"),"&\f",te(u?s[u-1]:0))&&(y=-1);break}case 34:case 39:case 91:x+=Ae(v);break;case 9:case 10:case 13:case 32:x+=Pe(p);break;case 92:x+=Oe(Ce()-1,7);continue;case 47:switch(_e()){case 42:case 47:fe(Ne(Ie(xe(),Ce()),t,n,l),l);break;default:x+="/"}break;case 123*m:s[u++]=ce(x)*y;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+c:-1==y&&(x=ae(x,/\f/g,"")),h>0&&ce(x)-d&&fe(h>32?je(x+";",r,n,d-1,l):je(ae(x," ","")+";",r,n,d-2,l),l);break;case 59:x+=";";default:if(fe(S=Fe(x,t,n,u,c,o,s,b,w=[],k=[],d,i),i),123===v)if(0===c)De(x,t,S,S,w,i,d,s,k);else switch(99===f&&110===le(x,3)?100:f){case 100:case 108:case 109:case 115:De(e,S,S,r&&fe(Fe(e,S,S,0,0,o,s,b,o,w=[],d,k),k),o,k,d,s,r?w:k);break;default:De(x,S,S,S,[""],k,0,s,k)}}u=c=h=0,m=y=1,b=x="",d=a;break;case 58:d=1+ce(x),h=p;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==(ve=ye>0?le(be,--ye):0,me--,10===ve&&(me=1,pe--),ve))continue;switch(x+=ne(v),v*m){case 38:y=c>0?1:(x+="\f",-1);break;case 44:s[u++]=(ce(x)-1)*y,y=1;break;case 64:45===_e()&&(x+=Ae(xe())),f=_e(),c=d=ce(b=x+=Le(Ce())),v++;break;case 45:45===p&&2==ce(x)&&(m=0)}}return i}function Fe(e,t,n,r,o,i,a,s,l,u,c,d){for(var f=o-1,h=0===o?i:[""],p=de(h),m=0,g=0,y=0;m<r;++m)for(var v=0,b=ue(e,f+1,f=te(g=a[m])),w=e;v<p;++v)(w=oe(g>0?h[v]+" "+b:ae(b,/&\f/g,h[v])))&&(l[y++]=w);return we(e,t,n,0===o?X:s,l,u,c,d)}function Ne(e,t,n,r){return we(e,t,n,J,ne(ve),ue(e,2,-2),0,r)}function je(e,t,n,r,o){return we(e,t,n,Z,ue(e,0,r),ue(e,r+1,-1),r,o)}function ze(e,t,n){switch(function(e,t){return 45^le(e,0)?(((t<<2^le(e,0))<<2^le(e,1))<<2^le(e,2))<<2^le(e,3):0}(e,t)){case 5103:return G+"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 G+e+e;case 4789:return Y+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return G+e+Y+e+Q+e+e;case 5936:switch(le(e,t+11)){case 114:return G+e+Q+ae(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return G+e+Q+ae(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return G+e+Q+ae(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return G+e+Q+e+e;case 6165:return G+e+Q+"flex-"+e+e;case 5187:return G+e+ae(e,/(\w+).+(:[^]+)/,G+"box-$1$2"+Q+"flex-$1$2")+e;case 5443:return G+e+Q+"flex-item-"+ae(e,/flex-|-self/g,"")+(ie(e,/flex-|baseline/)?"":Q+"grid-row-"+ae(e,/flex-|-self/g,""))+e;case 4675:return G+e+Q+"flex-line-pack"+ae(e,/align-content|flex-|-self/g,"")+e;case 5548:return G+e+Q+ae(e,"shrink","negative")+e;case 5292:return G+e+Q+ae(e,"basis","preferred-size")+e;case 6060:return G+"box-"+ae(e,"-grow","")+G+e+Q+ae(e,"grow","positive")+e;case 4554:return G+ae(e,/([^-])(transform)/g,"$1"+G+"$2")+e;case 6187:return ae(ae(ae(e,/(zoom-|grab)/,G+"$1"),/(image-set)/,G+"$1"),e,"")+e;case 5495:case 3959:return ae(e,/(image-set\([^]*)/,G+"$1$`$1");case 4968:return ae(ae(e,/(.+:)(flex-)?(.*)/,G+"box-pack:$3"+Q+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+G+e+e;case 4200:if(!ie(e,/flex-|baseline/))return Q+"grid-column-align"+ue(e,t)+e;break;case 2592:case 3360:return Q+ae(e,"template-","")+e;case 4384:case 3616:return n&&n.some(((e,n)=>(t=n,ie(e.props,/grid-\w+-end/))))?~se(e+(n=n[t].value),"span",0)?e:Q+ae(e,"-start","")+e+Q+"grid-row-span:"+(~se(n,"span",0)?ie(n,/\d+/):+ie(n,/\d+/)-+ie(e,/\d+/))+";":Q+ae(e,"-start","")+e;case 4896:case 4128:return n&&n.some((e=>ie(e.props,/grid-\w+-start/)))?e:Q+ae(ae(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return ae(e,/(.+)-inline(.+)/,G+"$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(ce(e)-1-t>6)switch(le(e,t+1)){case 109:if(45!==le(e,t+4))break;case 102:return ae(e,/(.+:)(.+)-([^]+)/,"$1"+G+"$2-$3$1"+Y+(108==le(e,t+3)?"$3":"$2-$3"))+e;case 115:return~se(e,"stretch",0)?ze(ae(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return ae(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,((t,n,r,o,i,a,s)=>Q+n+":"+r+s+(o?Q+n+"-span:"+(i?a:+a-+r)+s:"")+e));case 4949:if(121===le(e,t+6))return ae(e,":",":"+G)+e;break;case 6444:switch(le(e,45===le(e,14)?18:11)){case 120:return ae(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+G+(45===le(e,14)?"inline-":"")+"box$3$1"+G+"$2$3$1"+Q+"$2box$3")+e;case 100:return ae(e,":",":"+Q)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return ae(e,"scroll-","scroll-snap-")+e}return e}function Ue(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function Ve(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Z:return e.return=e.return||e.value;case J:return"";case ee:return e.return=e.value+"{"+Ue(e.children,r)+"}";case X:if(!ce(e.value=e.props.join(",")))return""}return ce(n=Ue(e.children,r))?e.return=e.value+"{"+n+"}":""}function Be(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Z:return void(e.return=ze(e.value,e.length,n));case ee:return Ue([ke(e,{value:ae(e.value,"@","@"+G)})],r);case X:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(t=>{switch(ie(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Se(ke(e,{props:[ae(t,/:(read-\w+)/,":-moz-$1")]})),Se(ke(e,{props:[t]})),re(e,{props:he(n,r)});break;case"::placeholder":Se(ke(e,{props:[ae(t,/:(plac\w+)/,":"+G+"input-$1")]})),Se(ke(e,{props:[ae(t,/:(plac\w+)/,":-moz-$1")]})),Se(ke(e,{props:[ae(t,/:(plac\w+)/,Q+"input-$1")]})),Se(ke(e,{props:[t]})),re(e,{props:he(n,r)})}return""}))}}var $e={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,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},He="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",We="active",qe="data-styled-version",Ke="6.1.19",Qe="/*!sc*/\n",Ye="undefined"!=typeof window&&"undefined"!=typeof document,Ge=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY?"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:"production"!==process.env.NODE_ENV),Je=/invalid hook call/i,Xe=new Set,Ze=Object.freeze([]),et=Object.freeze({}),tt=new Set(["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","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","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","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),nt=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,rt=/(^-|-$)/g;function ot(e){return e.replace(nt,"-").replace(rt,"")}var it=/(a)(d)/gi,at=e=>String.fromCharCode(e+(e>25?39:97));function st(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=at(t%52)+n;return(at(t%52)+n).replace(it,"$1-$2")}var lt,ut=(e,t)=>{for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},ct=e=>ut(5381,e);function dt(e){return st(ct(e)>>>0)}function ft(e){return"production"!==process.env.NODE_ENV&&"string"==typeof e&&e||e.displayName||e.name||"Component"}function ht(e){return"string"==typeof e&&("production"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var pt="function"==typeof Symbol&&Symbol.for,mt=pt?Symbol.for("react.memo"):60115,gt=pt?Symbol.for("react.forward_ref"):60112,yt={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},vt={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},bt={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},wt=((lt={})[gt]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},lt[mt]=bt,lt);function kt(e){return("type"in(t=e)&&t.type.$$typeof)===mt?bt:"$$typeof"in e?wt[e.$$typeof]:yt;var t}var St=Object.defineProperty,xt=Object.getOwnPropertyNames,_t=Object.getOwnPropertySymbols,Ct=Object.getOwnPropertyDescriptor,Et=Object.getPrototypeOf,Tt=Object.prototype;function At(e,t,n){if("string"!=typeof t){if(Tt){var r=Et(t);r&&r!==Tt&&At(e,r,n)}var o=xt(t);_t&&(o=o.concat(_t(t)));for(var i=kt(e),a=kt(t),s=0;s<o.length;++s){var l=o[s];if(!(l in vt||n&&n[l]||a&&l in a||i&&l in i)){var u=Ct(t,l);try{St(e,l,u)}catch(e){}}}}return e}function Pt(e){return"function"==typeof e}function Ot(e){return"object"==typeof e&&"styledComponentId"in e}function Rt(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function It(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r<e.length;r++)n+=e[r];return n}function Lt(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function Mt(e,t,n){if(void 0===n&&(n=!1),!n&&!Lt(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=Mt(e[r],t[r]);else if(Lt(t))for(var r in t)e[r]=Mt(e[r],t[r]);return e}function Dt(e,t){Object.defineProperty(e,"toString",{value:t})}var Ft="production"!==process.env.NODE_ENV?{1:"Cannot create styled-component for component: %s.\n\n",2:"Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",3:"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",4:"The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",5:"The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",6:"Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:'ThemeProvider: Please make your "theme" prop an object.\n\n',9:"Missing document `<head>`\n\n",10:"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",11:"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",14:'ThemeProvider: "theme" prop is required.\n\n',15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:"Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",17:"CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n",18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function Nt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],r=[],o=1,i=e.length;o<i;o+=1)r.push(e[o]);return r.forEach((e=>{n=n.replace(/%[a-z]/,e)})),n}function jt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return"production"===process.env.NODE_ENV?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(Nt.apply(void 0,z([Ft[e]],t,!1)).trim())}var zt=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)if((o<<=1)<0)throw jt(16,"".concat(e));this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var i=r;i<o;i++)this.groupSizes[i]=0}for(var a=this.indexOfGroup(e+1),s=(i=0,t.length);i<s;i++)this.tag.insertRule(a,t[i])&&(this.groupSizes[e]++,a++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var o=n;o<r;o++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,i=r;i<o;i++)t+="".concat(this.tag.getRule(i)).concat(Qe);return t},e}(),Ut=1<<30,Vt=new Map,Bt=new Map,$t=1,Ht=e=>{if(Vt.has(e))return Vt.get(e);for(;Bt.has($t);)$t++;var t=$t++;if("production"!==process.env.NODE_ENV&&((0|t)<0||t>Ut))throw jt(16,"".concat(t));return Vt.set(e,t),Bt.set(t,e),t},Wt=(e,t)=>{$t=t+1,Vt.set(e,t),Bt.set(t,e)},qt="style[".concat(He,"][").concat(qe,'="').concat(Ke,'"]'),Kt=new RegExp("^".concat(He,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Qt=(e,t,n)=>{for(var r,o=n.split(","),i=0,a=o.length;i<a;i++)(r=o[i])&&e.registerName(t,r)},Yt=(e,t)=>{for(var n,r=(null!==(n=t.textContent)&&void 0!==n?n:"").split(Qe),o=[],i=0,a=r.length;i<a;i++){var s=r[i].trim();if(s){var l=s.match(Kt);if(l){var u=0|parseInt(l[1],10),c=l[2];0!==u&&(Wt(c,u),Qt(e,c,l[3]),e.getTag().insertRules(u,o)),o.length=0}else o.push(s)}}},Gt=e=>{for(var t=document.querySelectorAll(qt),n=0,r=t.length;n<r;n++){var o=t[n];o&&o.getAttribute(He)!==We&&(Yt(e,o),o.parentNode&&o.parentNode.removeChild(o))}},Jt=e=>{var t=document.head,n=e||t,r=document.createElement("style"),o=(e=>{var t=Array.from(e.querySelectorAll("style[".concat(He,"]")));return t[t.length-1]})(n),i=void 0!==o?o.nextSibling:null;r.setAttribute(He,We),r.setAttribute(qe,Ke);var a="undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null;return a&&r.setAttribute("nonce",a),n.insertBefore(r,i),r},Xt=function(){function e(e){this.element=Jt(e),this.element.appendChild(document.createTextNode("")),this.sheet=(e=>{if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var o=t[n];if(o.ownerNode===e)return o}throw jt(17)})(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),Zt=function(){function e(e){this.element=Jt(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),en=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),tn=Ye,nn={isServer:!Ye,useCSSOMInjection:!Ge},rn=function(){function e(e,t,n){void 0===e&&(e=et),void 0===t&&(t={});var r=this;this.options=j(j({},nn),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&Ye&&tn&&(tn=!1,Gt(this)),Dt(this,(()=>(e=>{for(var t=e.getTag(),n=t.length,r="",o=n=>{var o=(e=>Bt.get(e))(n);if(void 0===o)return"continue";var i=e.names.get(o),a=t.getGroup(n);if(void 0===i||!i.size||0===a.length)return"continue";var s="".concat(He,".g").concat(n,'[id="').concat(o,'"]'),l="";void 0!==i&&i.forEach((e=>{e.length>0&&(l+="".concat(e,","))})),r+="".concat(a).concat(s,'{content:"').concat(l,'"}').concat(Qe)},i=0;i<n;i++)o(i);return r})(r)))}return e.registerId=e=>Ht(e),e.prototype.rehydrate=function(){!this.server&&Ye&&Gt(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(j(j({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=(e=>{var t=e.useCSSOMInjection,n=e.target;return e.isServer?new en(n):t?new Xt(n):new Zt(n)})(this.options),new zt(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(Ht(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(Ht(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(Ht(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),on=/&/g,an=/^\s*\/\/.*$/gm;function sn(e,t){return e.map((e=>("rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map((e=>"".concat(t," ").concat(e)))),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=sn(e.children,t)),e)))}function ln(e){var t,n,r,o=void 0===e?et:e,i=o.options,a=void 0===i?et:i,s=o.plugins,l=void 0===s?Ze:s,u=(e,r,o)=>o.startsWith(n)&&o.endsWith(n)&&o.replaceAll(n,"").length>0?".".concat(t):e,c=l.slice();c.push((e=>{e.type===X&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(on,n).replace(r,u))})),a.prefix&&c.push(Be),c.push(Ve);var d=(e,o,i,s)=>{void 0===o&&(o=""),void 0===i&&(i=""),void 0===s&&(s="&"),t=s,n=o,r=new RegExp("\\".concat(n,"\\b"),"g");var l=e.replace(an,""),u=Me(i||o?"".concat(i," ").concat(o," { ").concat(l," }"):l);a.namespace&&(u=sn(u,a.namespace));var d,f=[];return Ue(u,function(e){var t=de(e);return(n,r,o,i)=>{for(var a="",s=0;s<t;s++)a+=e[s](n,r,o,i)||"";return a}}(c.concat((d=e=>f.push(e),e=>{e.root||(e=e.return)&&d(e)})))),f};return d.hash=l.length?l.reduce(((e,t)=>(t.name||jt(15),ut(e,t.name))),5381).toString():"",d}var un=new rn,cn=ln(),dn=W.createContext({shouldForwardProp:void 0,styleSheet:un,stylis:cn});dn.Consumer;var fn=W.createContext(void 0);function hn(){return H.useContext(dn)}function pn(e){var t=H.useState(e.stylisPlugins),n=t[0],r=t[1],o=hn().styleSheet,i=H.useMemo((()=>{var t=o;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target,o]),a=H.useMemo((()=>ln({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:n})),[e.enableVendorPrefixes,e.namespace,n]);H.useEffect((()=>{K(n,e.stylisPlugins)||r(e.stylisPlugins)}),[e.stylisPlugins]);var s=H.useMemo((()=>({shouldForwardProp:e.shouldForwardProp,styleSheet:i,stylis:a})),[e.shouldForwardProp,i,a]);return W.createElement(dn.Provider,{value:s},W.createElement(fn.Provider,{value:a},e.children))}var mn=function(){function e(e,t){var n=this;this.inject=(e,t)=>{void 0===t&&(t=cn);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,Dt(this,(()=>{throw jt(12,String(n.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=cn),this.name+e.hash},e}(),gn=e=>e>="A"&&e<="Z";function yn(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(1===n&&"-"===r&&"-"===e[0])return e;gn(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var vn=e=>null==e||!1===e||""===e,bn=e=>{var t,n,r=[];for(var o in e){var i=e[o];e.hasOwnProperty(o)&&!vn(i)&&(Array.isArray(i)&&i.isCss||Pt(i)?r.push("".concat(yn(o),":"),i,";"):Lt(i)?r.push.apply(r,z(z(["".concat(o," {")],bn(i),!1),["}"],!1)):r.push("".concat(yn(o),": ").concat((t=o,null==(n=i)||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||t in $e||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return r};function wn(e,t,n,r){if(vn(e))return[];if(Ot(e))return[".".concat(e.styledComponentId)];if(Pt(e)){if(!Pt(i=e)||i.prototype&&i.prototype.isReactComponent||!t)return[e];var o=e(t);return"production"===process.env.NODE_ENV||"object"!=typeof o||Array.isArray(o)||o instanceof mn||Lt(o)||null===o||console.error("".concat(ft(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),wn(o,t,n,r)}var i;return e instanceof mn?n?(e.inject(n,r),[e.getName(r)]):[e]:Lt(e)?bn(e):Array.isArray(e)?Array.prototype.concat.apply(Ze,e.map((e=>wn(e,t,n,r)))):[e.toString()]}var kn=ct(Ke),Sn=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic="production"===process.env.NODE_ENV&&(void 0===n||n.isStatic)&&function(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(Pt(n)&&!Ot(n))return!1}return!0}(e),this.componentId=t,this.baseHash=ut(kn,t),this.baseStyle=n,rn.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))r=Rt(r,this.staticRulesId);else{var o=It(wn(this.rules,e,t,n)),i=st(ut(this.baseHash,o)>>>0);if(!t.hasNameForId(this.componentId,i)){var a=n(o,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,a)}r=Rt(r,i),this.staticRulesId=i}else{for(var s=ut(this.baseHash,n.hash),l="",u=0;u<this.rules.length;u++){var c=this.rules[u];if("string"==typeof c)l+=c,"production"!==process.env.NODE_ENV&&(s=ut(s,c));else if(c){var d=It(wn(c,e,t,n));s=ut(s,d+u),l+=d}}if(l){var f=st(s>>>0);t.hasNameForId(this.componentId,f)||t.insertRules(this.componentId,f,n(l,".".concat(f),void 0,this.componentId)),r=Rt(r,f)}}return r},e}(),xn=W.createContext(void 0);xn.Consumer;var _n={},Cn=new Set;function En(e,t,n){var r=Ot(e),o=e,i=!ht(e),a=t.attrs,s=void 0===a?Ze:a,l=t.componentId,u=void 0===l?((e,t)=>{var n="string"!=typeof e?"sc":ot(e);_n[n]=(_n[n]||0)+1;var r="".concat(n,"-").concat(dt(Ke+n+_n[n]));return t?"".concat(t,"-").concat(r):r})(t.displayName,t.parentComponentId):l,c=t.displayName,d=void 0===c?(e=>ht(e)?"styled.".concat(e):"Styled(".concat(ft(e),")"))(e):c,f=t.displayName&&t.componentId?"".concat(ot(t.displayName),"-").concat(t.componentId):t.componentId||u,h=r&&o.attrs?o.attrs.concat(s).filter(Boolean):s,p=t.shouldForwardProp;if(r&&o.shouldForwardProp){var m=o.shouldForwardProp;if(t.shouldForwardProp){var g=t.shouldForwardProp;p=(e,t)=>m(e,t)&&g(e,t)}else p=m}var y=new Sn(n,f,r?o.componentStyle:void 0);function v(e,t){return((e,t,n)=>{var r=e.attrs,o=e.componentStyle,i=e.defaultProps,a=e.foldedComponentIds,s=e.styledComponentId,l=e.target,u=W.useContext(xn),c=hn(),d=e.shouldForwardProp||c.shouldForwardProp;"production"!==process.env.NODE_ENV&&H.useDebugValue(s);var f=function(e,t,n){return void 0===n&&(n=et),e.theme!==n.theme&&e.theme||t||n.theme}(t,u,i)||et,h=((e,t,n)=>{for(var r,o=j(j({},t),{className:void 0,theme:n}),i=0;i<e.length;i+=1){var a=Pt(r=e[i])?r(o):r;for(var s in a)o[s]="className"===s?Rt(o[s],a[s]):"style"===s?j(j({},o[s]),a[s]):a[s]}return t.className&&(o.className=Rt(o.className,t.className)),o})(r,t,f),p=h.as||l,m={};for(var g in h)void 0===h[g]||"$"===g[0]||"as"===g||"theme"===g&&h.theme===f||("forwardedAs"===g?m.as=h.forwardedAs:d&&!d(g,p)||(m[g]=h[g],d||"development"!==process.env.NODE_ENV||$(g)||Cn.has(g)||!tt.has(p)||(Cn.add(g),console.warn('styled-components: it looks like an unknown prop "'.concat(g,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var y=((e,t)=>{var n=hn(),r=e.generateAndInjectStyles(t,n.styleSheet,n.stylis);return"production"!==process.env.NODE_ENV&&H.useDebugValue(r),r})(o,h);"production"!==process.env.NODE_ENV&&e.warnTooManyClasses&&e.warnTooManyClasses(y);var v=Rt(a,s);return y&&(v+=" "+y),h.className&&(v+=" "+h.className),m[ht(p)&&!tt.has(p)?"class":"className"]=v,n&&(m.ref=n),H.createElement(p,m)})(b,e,t)}v.displayName=d;var b=W.forwardRef(v);return b.attrs=h,b.componentStyle=y,b.displayName=d,b.shouldForwardProp=p,b.foldedComponentIds=r?Rt(o.foldedComponentIds,o.styledComponentId):"",b.styledComponentId=f,b.target=r?o.target:e,Object.defineProperty(b,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=r?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,o=t;r<o.length;r++)Mt(e,o[r],!0);return e}({},o.defaultProps,e):e}}),"production"!==process.env.NODE_ENV&&(((e,t)=>{if("production"!==process.env.NODE_ENV){var n=t?' with the id of "'.concat(t,'"'):"",r="The component ".concat(e).concat(n," has been created dynamically.\n")+"You may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.\nSee https://styled-components.com/docs/basics#define-styled-components-outside-of-the-render-method for more info.\n",o=console.error;try{var i=!0;console.error=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];Je.test(e)?(i=!1,Xe.delete(r)):o.apply(void 0,z([e],t,!1))},H.useRef(),i&&!Xe.has(r)&&(console.warn(r),Xe.add(r))}catch(e){Je.test(e.message)&&Xe.delete(r)}finally{console.error=o}}})(d,f),b.warnTooManyClasses=((e,t)=>{var n={},r=!1;return o=>{if(!r&&(n[o]=!0,Object.keys(n).length>=200)){var i=t?' with the id of "'.concat(t,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(e).concat(i,".\n")+"Consider using the attrs method, together with a style object for frequently changed styles.\nExample:\n  const Component = styled.div.attrs(props => ({\n    style: {\n      background: props.background,\n    },\n  }))`width: 100%;`\n\n  <Component />"),r=!0,n={}}}})(d,f)),Dt(b,(()=>".".concat(b.styledComponentId))),i&&At(b,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),b}function Tn(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n}var An=e=>Object.assign(e,{isCss:!0});function Pn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(Pt(e)||Lt(e))return An(wn(Tn(Ze,z([e],t,!0))));var r=e;return 0===t.length&&1===r.length&&"string"==typeof r[0]?wn(r):An(wn(Tn(r,t)))}function On(e,t,n){if(void 0===n&&(n=et),!t)throw jt(1,t);var r=function(r){for(var o=[],i=1;i<arguments.length;i++)o[i-1]=arguments[i];return e(t,n,Pn.apply(void 0,z([r],o,!1)))};return r.attrs=r=>On(e,t,j(j({},n),{attrs:Array.prototype.concat(n.attrs,r).filter(Boolean)})),r.withConfig=r=>On(e,t,j(j({},n),r)),r}var Rn=e=>On(En,e),In=Rn;tt.forEach((e=>{In[e]=Rn(e)})),"production"!==process.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native");var Ln="__sc-".concat(He,"__");"production"!==process.env.NODE_ENV&&"test"!==process.env.NODE_ENV&&"undefined"!=typeof window&&(window[Ln]||(window[Ln]=0),1===window[Ln]&&console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\n\nSee https://s-c.sh/2BAXzed for more info."),window[Ln]+=1);const Mn=H.createContext({isOpen:!1,setIsOpen:()=>{},clientKey:""}),Dn=H.createContext({});function Fn(e){const t=H.useRef(null);return null===t.current&&(t.current=e()),t.current}const Nn="undefined"!=typeof window,jn=Nn?H.useLayoutEffect:H.useEffect,zn=H.createContext(null),Un=H.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function Vn(e){return"object"==typeof e&&null!==e}function Bn(e){return Vn(e)&&"offsetHeight"in e}class $n extends H.Component{getSnapshotBeforeUpdate(e){const t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){const e=t.offsetParent,n=Bn(e)&&e.offsetWidth||0,r=this.props.sizeRef.current;r.height=t.offsetHeight||0,r.width=t.offsetWidth||0,r.top=t.offsetTop,r.left=t.offsetLeft,r.right=n-r.width-r.left}return null}componentDidUpdate(){}render(){return this.props.children}}function Hn({children:e,isPresent:t,anchorX:n}){const r=H.useId(),o=H.useRef(null),i=H.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:a}=H.useContext(Un);return H.useInsertionEffect((()=>{const{width:e,height:s,top:l,left:u,right:c}=i.current;if(t||!o.current||!e||!s)return;const d="left"===n?`left: ${u}`:`right: ${c}`;o.current.dataset.motionPopId=r;const f=document.createElement("style");return a&&(f.nonce=a),document.head.appendChild(f),f.sheet&&f.sheet.insertRule(`\n          [data-motion-pop-id="${r}"] {\n            position: absolute !important;\n            width: ${e}px !important;\n            height: ${s}px !important;\n            ${d}px !important;\n            top: ${l}px !important;\n          }\n        `),()=>{document.head.contains(f)&&document.head.removeChild(f)}}),[t]),b.jsx($n,{isPresent:t,childRef:o,sizeRef:i,children:H.cloneElement(e,{ref:o})})}const Wn=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:o,presenceAffectsLayout:i,mode:a,anchorX:s})=>{const l=Fn(qn),u=H.useId();let c=!0,d=H.useMemo((()=>(c=!1,{id:u,initial:t,isPresent:n,custom:o,onExitComplete:e=>{l.set(e,!0);for(const e of l.values())if(!e)return;r&&r()},register:e=>(l.set(e,!1),()=>l.delete(e))})),[n,l,r]);return i&&c&&(d={...d}),H.useMemo((()=>{l.forEach(((e,t)=>l.set(t,!1)))}),[n]),H.useEffect((()=>{!n&&!l.size&&r&&r()}),[n]),"popLayout"===a&&(e=b.jsx(Hn,{isPresent:n,anchorX:s,children:e})),b.jsx(zn.Provider,{value:d,children:e})};function qn(){return new Map}function Kn(e=!0){const t=H.useContext(zn);if(null===t)return[!0,null];const{isPresent:n,onExitComplete:r,register:o}=t,i=H.useId();H.useEffect((()=>{if(e)return o(i)}),[e]);const a=H.useCallback((()=>e&&r&&r(i)),[i,r,e]);return!n&&r?[!1,a]:[!0]}const Qn=e=>e.key||"";function Yn(e){const t=[];return H.Children.forEach(e,(e=>{H.isValidElement(e)&&t.push(e)})),t}const Gn=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:o=!0,mode:i="sync",propagate:a=!1,anchorX:s="left"})=>{const[l,u]=Kn(a),c=H.useMemo((()=>Yn(e)),[e]),d=a&&!l?[]:c.map(Qn),f=H.useRef(!0),h=H.useRef(c),p=Fn((()=>new Map)),[m,g]=H.useState(c),[y,v]=H.useState(c);jn((()=>{f.current=!1,h.current=c;for(let e=0;e<y.length;e++){const t=Qn(y[e]);d.includes(t)?p.delete(t):!0!==p.get(t)&&p.set(t,!1)}}),[y,d.length,d.join("-")]);const w=[];if(c!==m){let e=[...c];for(let t=0;t<y.length;t++){const n=y[t],r=Qn(n);d.includes(r)||(e.splice(t,0,n),w.push(n))}return"wait"===i&&w.length&&(e=w),v(Yn(e)),g(c),null}"production"!==process.env.NODE_ENV&&"wait"===i&&y.length>1&&console.warn('You\'re attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.');const{forceRender:k}=H.useContext(Dn);return b.jsx(b.Fragment,{children:y.map((e=>{const m=Qn(e),g=!(a&&!l)&&(c===y||d.includes(m));return b.jsx(Wn,{isPresent:g,initial:!(f.current&&!n)&&void 0,custom:t,presenceAffectsLayout:o,mode:i,onExitComplete:g?void 0:()=>{if(!p.has(m))return;p.set(m,!0);let e=!0;p.forEach((t=>{t||(e=!1)})),e&&(k?.(),v(h.current),a&&u?.(),r&&r())},anchorX:s,children:e},m)}))})},Jn=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],Xn={value:null},Zn={};function er(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,a=Jn.reduce(((e,n)=>(e[n]=function(e,t){let n=new Set,r=new Set,o=!1,i=!1;const a=new WeakSet;let s={delta:0,timestamp:0,isProcessing:!1},l=0;function u(t){a.has(t)&&(c.schedule(t),e()),l++,t(s)}const c={schedule:(e,t=!1,i=!1)=>{const s=i&&o?n:r;return t&&a.add(e),s.has(e)||s.add(e),e},cancel:e=>{r.delete(e),a.delete(e)},process:e=>{s=e,o?i=!0:(o=!0,[n,r]=[r,n],n.forEach(u),t&&Xn.value&&Xn.value.frameloop[t].push(l),l=0,n.clear(),o=!1,i&&(i=!1,c.process(e)))}};return c}(i,t?n:void 0),e)),{}),{setup:s,read:l,resolveKeyframes:u,preUpdate:c,update:d,preRender:f,render:h,postRender:p}=a,m=()=>{const i=Zn.useManualTiming?o.timestamp:performance.now();n=!1,Zn.useManualTiming||(o.delta=r?1e3/60:Math.max(Math.min(i-o.timestamp,40),1)),o.timestamp=i,o.isProcessing=!0,s.process(o),l.process(o),u.process(o),c.process(o),d.process(o),f.process(o),h.process(o),p.process(o),o.isProcessing=!1,n&&t&&(r=!1,e(m))},g=Jn.reduce(((t,i)=>{const s=a[i];return t[i]=(t,i=!1,a=!1)=>(n||(n=!0,r=!0,o.isProcessing||e(m)),s.schedule(t,i,a)),t}),{});return{schedule:g,cancel:e=>{for(let t=0;t<Jn.length;t++)a[Jn[t]].cancel(e)},state:o,steps:a}}const tr=e=>e,{schedule:nr,cancel:rr,state:or,steps:ir}=er("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:tr,!0),ar=H.createContext({strict:!1}),sr={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},lr={};for(const e in sr)lr[e]={isEnabled:t=>sr[e].some((e=>!!t[e]))};const ur=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function cr(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||ur.has(e)}let dr=e=>!cr(e);try{"function"==typeof(fr=require("@emotion/is-prop-valid").default)&&(dr=e=>e.startsWith("on")?!cr(e):fr(e))}catch{}var fr;const hr=new Set;function pr(e,t,n){e||hr.has(t)||(console.warn(t),hr.add(t))}const mr=H.createContext({});function gr(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function yr(e){return"string"==typeof e||Array.isArray(e)}const vr=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],br=["initial",...vr];function wr(e){return gr(e.animate)||br.some((t=>yr(e[t])))}function kr(e){return Boolean(wr(e)||e.variants)}function Sr(e){return Array.isArray(e)?e.join(" "):e}const xr=Symbol.for("motionComponentSymbol");function _r(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function Cr(e,t,n){return H.useCallback((r=>{r&&e.onMount&&e.onMount(r),t&&(r?t.mount(r):t.unmount()),n&&("function"==typeof n?n(r):_r(n)&&(n.current=r))}),[t])}const Er=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),Tr="data-"+Er("framerAppearId"),Ar=H.createContext({}),{schedule:Pr}=er(queueMicrotask,!1);function Or(e,t,n,r,o){const{visualElement:i}=H.useContext(mr),a=H.useContext(ar),s=H.useContext(zn),l=H.useContext(Un).reducedMotion,u=H.useRef(null);r=r||a.renderer,!u.current&&r&&(u.current=r(e,{visualState:t,parent:i,props:n,presenceContext:s,blockInitialAnimation:!!s&&!1===s.initial,reducedMotionConfig:l}));const c=u.current,d=H.useContext(Ar);!c||c.projection||!o||"html"!==c.type&&"svg"!==c.type||function(e,t,n,r){const{layoutId:o,layout:i,drag:a,dragConstraints:s,layoutScroll:l,layoutRoot:u,layoutCrossfade:c}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:Rr(e.parent)),e.projection.setOptions({layoutId:o,layout:i,alwaysMeasureLayout:Boolean(a)||s&&_r(s),visualElement:e,animationType:"string"==typeof i?i:"both",initialPromotionConfig:r,crossfade:c,layoutScroll:l,layoutRoot:u})}(u.current,n,o,d);const f=H.useRef(!1);H.useInsertionEffect((()=>{c&&f.current&&c.update(n,s)}));const h=n[Tr],p=H.useRef(Boolean(h)&&!window.MotionHandoffIsComplete?.(h)&&window.MotionHasOptimisedAnimation?.(h));return jn((()=>{c&&(f.current=!0,window.MotionIsMounted=!0,c.updateFeatures(),Pr.render(c.render),p.current&&c.animationState&&c.animationState.animateChanges())})),H.useEffect((()=>{c&&(!p.current&&c.animationState&&c.animationState.animateChanges(),p.current&&(queueMicrotask((()=>{window.MotionHandoffMarkAsComplete?.(h)})),p.current=!1))})),c}function Rr(e){if(e)return!1!==e.options.allowProjection?e.projection:Rr(e.parent)}let Ir=()=>{},Lr=()=>{};function Mr({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:o}){function i(i,a){let s;const l={...H.useContext(Un),...i,layoutId:Dr(i)},{isStatic:u}=l,c=function(e){const{initial:t,animate:n}=function(e,t){if(wr(e)){const{initial:t,animate:n}=e;return{initial:!1===t||yr(t)?t:void 0,animate:yr(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,H.useContext(mr));return H.useMemo((()=>({initial:t,animate:n})),[Sr(t),Sr(n)])}(i),d=r(i,u);if(!u&&Nn){!function(e,t){const n=H.useContext(ar).strict;if("production"!==process.env.NODE_ENV&&t&&n){const t="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";e.ignoreStrict?Ir(!1,t):Lr(!1,t)}}(l,e);const n=function(e){const{drag:t,layout:n}=lr;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}(l);s=n.MeasureLayout,c.visualElement=Or(o,d,l,t,n.ProjectionNode)}return b.jsxs(mr.Provider,{value:c,children:[s&&c.visualElement?b.jsx(s,{visualElement:c.visualElement,...l}):null,n(o,i,Cr(d,c.visualElement,a),d,u,c.visualElement)]})}e&&function(e){for(const t in e)lr[t]={...lr[t],...e[t]}}(e),i.displayName=`motion.${"string"==typeof o?o:`create(${o.displayName??o.name??""})`}`;const a=H.forwardRef(i);return a[xr]=o,a}function Dr({layoutId:e}){const t=H.useContext(Dn).id;return t&&void 0!==e?t+"-"+e:e}"production"!==process.env.NODE_ENV&&(Ir=(e,t)=>{e||"undefined"==typeof console||console.warn(t)},Lr=(e,t)=>{if(!e)throw new Error(t)});const Fr=e=>t=>"string"==typeof t&&t.startsWith(e),Nr=Fr("--"),jr=Fr("var(--"),zr=e=>!!jr(e)&&Ur.test(e.split("/*")[0].trim()),Ur=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Vr={},Br=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],$r=new Set(Br);function Hr(e,{layout:t,layoutId:n}){return $r.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!Vr[e]||"opacity"===e)}const Wr=(e,t)=>t&&"number"==typeof e?t.transform(e):e,qr=(e,t,n)=>n>t?t:n<e?e:n,Kr={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},Qr={...Kr,transform:e=>qr(0,1,e)},Yr={...Kr,default:1},Gr={...Kr,transform:Math.round},Jr=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),Xr=Jr("deg"),Zr=Jr("%"),eo=Jr("px"),to=Jr("vh"),no=Jr("vw"),ro={...Zr,parse:e=>Zr.parse(e)/100,transform:e=>Zr.transform(100*e)},oo={borderWidth:eo,borderTopWidth:eo,borderRightWidth:eo,borderBottomWidth:eo,borderLeftWidth:eo,borderRadius:eo,radius:eo,borderTopLeftRadius:eo,borderTopRightRadius:eo,borderBottomRightRadius:eo,borderBottomLeftRadius:eo,width:eo,maxWidth:eo,height:eo,maxHeight:eo,top:eo,right:eo,bottom:eo,left:eo,padding:eo,paddingTop:eo,paddingRight:eo,paddingBottom:eo,paddingLeft:eo,margin:eo,marginTop:eo,marginRight:eo,marginBottom:eo,marginLeft:eo,backgroundPositionX:eo,backgroundPositionY:eo,rotate:Xr,rotateX:Xr,rotateY:Xr,rotateZ:Xr,scale:Yr,scaleX:Yr,scaleY:Yr,scaleZ:Yr,skew:Xr,skewX:Xr,skewY:Xr,distance:eo,translateX:eo,translateY:eo,translateZ:eo,x:eo,y:eo,z:eo,perspective:eo,transformPerspective:eo,opacity:Qr,originX:ro,originY:ro,originZ:eo,zIndex:Gr,fillOpacity:Qr,strokeOpacity:Qr,numOctaves:Gr},io={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},ao=Br.length;function so(e,t,n){const{style:r,vars:o,transformOrigin:i}=e;let a=!1,s=!1;for(const e in t){const n=t[e];if($r.has(e))a=!0;else if(Nr(e))o[e]=n;else{const t=Wr(n,oo[e]);e.startsWith("origin")?(s=!0,i[e]=t):r[e]=t}}if(t.transform||(a||n?r.transform=function(e,t,n){let r="",o=!0;for(let i=0;i<ao;i++){const a=Br[i],s=e[a];if(void 0===s)continue;let l=!0;if(l="number"==typeof s?s===(a.startsWith("scale")?1:0):0===parseFloat(s),!l||n){const e=Wr(s,oo[a]);l||(o=!1,r+=`${io[a]||a}(${e}) `),n&&(t[a]=e)}}return r=r.trim(),n?r=n(t,o?"":r):o&&(r="none"),r}(t,e.transform,n):r.transform&&(r.transform="none")),s){const{originX:e="50%",originY:t="50%",originZ:n=0}=i;r.transformOrigin=`${e} ${t} ${n}`}}const lo=e=>Boolean(e&&e.getVelocity);function uo(e,t,n){for(const r in t)lo(t[r])||Hr(r,n)||(e[r]=t[r])}function co(e,t){const n={},r=function(e,t){const n={};return uo(n,e.style||{},e),Object.assign(n,function({transformTemplate:e},t){return H.useMemo((()=>{const n={style:{},transform:{},transformOrigin:{},vars:{}};return so(n,t,e),Object.assign({},n.vars,n.style)}),[t])}(e,t)),n}(e,t);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const fo={offset:"stroke-dashoffset",array:"stroke-dasharray"},ho={offset:"strokeDashoffset",array:"strokeDasharray"};function po(e,{attrX:t,attrY:n,attrScale:r,pathLength:o,pathSpacing:i=1,pathOffset:a=0,...s},l,u,c){if(so(e,s,u),l)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:d,style:f}=e;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),f.transform&&(f.transformBox=c?.transformBox??"fill-box",delete d.transformBox),void 0!==t&&(d.x=t),void 0!==n&&(d.y=n),void 0!==r&&(d.scale=r),void 0!==o&&function(e,t,n=1,r=0,o=!0){e.pathLength=1;const i=o?fo:ho;e[i.offset]=eo.transform(-r);const a=eo.transform(t),s=eo.transform(n);e[i.array]=`${a} ${s}`}(d,o,i,a,!1)}const mo=e=>"string"==typeof e&&"svg"===e.toLowerCase();function go(e,t,n,r){const o=H.useMemo((()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return po(n,t,mo(r),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}}),[t]);if(e.style){const t={};uo(t,e.style,e),o.style={...t,...o.style}}return o}const yo=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function vo(e){return"string"==typeof e&&!e.includes("-")&&!!(yo.indexOf(e)>-1||/[A-Z]/u.test(e))}function bo(e=!1){return(t,n,r,{latestValues:o},i)=>{const a=(vo(t)?go:co)(n,o,i,t),s=function(e,t,n){const r={};for(const o in e)"values"===o&&"object"==typeof e.values||(dr(o)||!0===n&&cr(o)||!t&&!cr(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}(n,"string"==typeof t,e),l=t!==H.Fragment?{...s,...a,ref:r}:{},{children:u}=n,c=H.useMemo((()=>lo(u)?u.get():u),[u]);return H.createElement(t,{...l,children:c})}}function wo(e){const t=[{},{}];return e?.values.forEach(((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()})),t}function ko(e,t,n,r){if("function"==typeof t){const[o,i]=wo(r);t=t(void 0!==n?n:e.custom,o,i)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){const[o,i]=wo(r);t=t(void 0!==n?n:e.custom,o,i)}return t}function So(e){return lo(e)?e.get():e}const xo=e=>(t,n)=>{const r=H.useContext(mr),o=H.useContext(zn),i=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,o){return{latestValues:_o(n,r,o,e),renderState:t()}}(e,t,r,o);return n?i():Fn(i)};function _o(e,t,n,r){const o={},i=r(e,{});for(const e in i)o[e]=So(i[e]);let{initial:a,animate:s}=e;const l=wr(e),u=kr(e);t&&u&&!l&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===s&&(s=t.animate));let c=!!n&&!1===n.initial;c=c||!1===a;const d=c?s:a;if(d&&"boolean"!=typeof d&&!gr(d)){const t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){const r=ko(e,t[n]);if(r){const{transitionEnd:e,transition:t,...n}=r;for(const e in n){let t=n[e];Array.isArray(t)&&(t=t[c?t.length-1:0]),null!==t&&(o[e]=t)}for(const t in e)o[t]=e[t]}}}return o}function Co(e,t,n){const{style:r}=e,o={};for(const i in r)(lo(r[i])||t.style&&lo(t.style[i])||Hr(i,e)||void 0!==n?.getValue(i)?.liveStyle)&&(o[i]=r[i]);return o}const Eo={useVisualState:xo({scrapeMotionValuesFromProps:Co,createRenderState:()=>({style:{},transform:{},transformOrigin:{},vars:{}})})};function To(e,t,n){const r=Co(e,t,n);for(const n in e)(lo(e[n])||lo(t[n]))&&(r[-1!==Br.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]);return r}const Ao={useVisualState:xo({scrapeMotionValuesFromProps:To,createRenderState:()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}})})};function Po(e,t,n){const r=e.getProps();return ko(r,t,void 0!==n?n:r.custom,e)}const Oo=e=>Array.isArray(e);let Ro;function Io(){Ro=void 0}const Lo={now:()=>(void 0===Ro&&Lo.set(or.isProcessing||Zn.useManualTiming?or.timestamp:performance.now()),Ro),set:e=>{Ro=e,queueMicrotask(Io)}};function Mo(e,t){-1===e.indexOf(t)&&e.push(t)}function Do(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Fo{constructor(){this.subscriptions=[]}add(e){return Mo(this.subscriptions,e),()=>Do(this.subscriptions,e)}notify(e,t,n){const r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(let o=0;o<r;o++){const r=this.subscriptions[o];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function No(e,t){return t?e*(1e3/t):0}class jo{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,t=!0)=>{const n=Lo.now();if(this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const e of this.dependents)e.dirty();t&&this.events.renderRequest?.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){var t;this.current=e,this.updatedAt=Lo.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t))))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return"production"!==process.env.NODE_ENV&&pr(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new Fo);const n=this.events[e].add(t);return"change"===e?()=>{n(),nr.read((()=>{this.events.change.getSize()||this.stop()}))}:n}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=Lo.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;const t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return No(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise((t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()})).then((()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()}))}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function zo(e,t){return new jo(e,t)}function Uo(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,zo(n))}function Vo(e){return Oo(e)?e[e.length-1]||0:e}function Bo(e,t){const n=e.getValue("willChange");if(r=n,Boolean(lo(r)&&r.add))return n.add(t);if(!n&&Zn.WillChange){const n=new Zn.WillChange("auto");e.addValue("willChange",n),n.add(t)}var r}function $o(e){return e.props[Tr]}const Ho=e=>null!==e,Wo={type:"spring",stiffness:500,damping:25,restSpeed:10},qo={type:"keyframes",duration:.8},Ko={type:"keyframes",ease:[.25,.1,.35,1],duration:.3};function Qo(e,t){return e?.[t]??e?.default??e}const Yo=e=>1e3*e,Go=e=>e/1e3,Jo=e=>Math.round(1e5*e)/1e5,Xo=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,Zo=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,ei=(e,t)=>n=>Boolean("string"==typeof n&&Zo.test(n)&&n.startsWith(e)||t&&!function(e){return null==e}(n)&&Object.prototype.hasOwnProperty.call(n,t)),ti=(e,t,n)=>r=>{if("string"!=typeof r)return r;const[o,i,a,s]=r.match(Xo);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},ni={...Kr,transform:e=>Math.round((e=>qr(0,255,e))(e))},ri={test:ei("rgb","red"),parse:ti("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+ni.transform(e)+", "+ni.transform(t)+", "+ni.transform(n)+", "+Jo(Qr.transform(r))+")"},oi={test:ei("#"),parse:function(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),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:ri.transform},ii={test:ei("hsl","hue"),parse:ti("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Zr.transform(Jo(t))+", "+Zr.transform(Jo(n))+", "+Jo(Qr.transform(r))+")"},ai={test:e=>ri.test(e)||oi.test(e)||ii.test(e),parse:e=>ri.test(e)?ri.parse(e):ii.test(e)?ii.parse(e):oi.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?ri.transform(e):ii.transform(e),getAnimatableNone:e=>{const t=ai.parse(e);return t.alpha=0,ai.transform(t)}},si=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,li="number",ui="color",ci=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function di(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},o=[];let i=0;const a=t.replace(ci,(e=>(ai.test(e)?(r.color.push(i),o.push(ui),n.push(ai.parse(e))):e.startsWith("var(")?(r.var.push(i),o.push("var"),n.push(e)):(r.number.push(i),o.push(li),n.push(parseFloat(e))),++i,"${}"))).split("${}");return{values:n,split:a,indexes:r,types:o}}function fi(e){return di(e).values}function hi(e){const{split:t,types:n}=di(e),r=t.length;return e=>{let o="";for(let i=0;i<r;i++)if(o+=t[i],void 0!==e[i]){const t=n[i];o+=t===li?Jo(e[i]):t===ui?ai.transform(e[i]):e[i]}return o}}const pi=e=>"number"==typeof e?0:ai.test(e)?ai.getAnimatableNone(e):e,mi={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(Xo)?.length||0)+(e.match(si)?.length||0)>0},parse:fi,createTransformer:hi,getAnimatableNone:function(e){const t=fi(e);return hi(e)(t.map(pi))}};function gi(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 yi(e,t){return n=>n>0?t:e}const vi=(e,t,n)=>e+(t-e)*n,bi=(e,t,n)=>{const r=e*e,o=n*(t*t-r)+r;return o<0?0:Math.sqrt(o)},wi=[oi,ri,ii];function ki(e){const t=(e=>wi.find((t=>t.test(e))))(e);if(Ir(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`),!Boolean(t))return!1;let n=t.parse(e);return t===ii&&(n=function({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,s=2*n-r;o=gi(s,r,e+1/3),i=gi(s,r,e),a=gi(s,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}}(n)),n}const Si=(e,t)=>{const n=ki(e),r=ki(t);if(!n||!r)return yi(e,t);const o={...n};return e=>(o.red=bi(n.red,r.red,e),o.green=bi(n.green,r.green,e),o.blue=bi(n.blue,r.blue,e),o.alpha=vi(n.alpha,r.alpha,e),ri.transform(o))},xi=new Set(["none","hidden"]),_i=(e,t)=>n=>t(e(n)),Ci=(...e)=>e.reduce(_i);function Ei(e,t){return n=>vi(e,t,n)}function Ti(e){return"number"==typeof e?Ei:"string"==typeof e?zr(e)?yi:ai.test(e)?Si:Oi:Array.isArray(e)?Ai:"object"==typeof e?ai.test(e)?Si:Pi:yi}function Ai(e,t){const n=[...e],r=n.length,o=e.map(((e,n)=>Ti(e)(e,t[n])));return e=>{for(let t=0;t<r;t++)n[t]=o[t](e);return n}}function Pi(e,t){const n={...e,...t},r={};for(const o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=Ti(e[o])(e[o],t[o]));return e=>{for(const t in r)n[t]=r[t](e);return n}}const Oi=(e,t)=>{const n=mi.createTransformer(t),r=di(e),o=di(t);return r.indexes.var.length===o.indexes.var.length&&r.indexes.color.length===o.indexes.color.length&&r.indexes.number.length>=o.indexes.number.length?xi.has(e)&&!o.values.length||xi.has(t)&&!r.values.length?function(e,t){return xi.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}(e,t):Ci(Ai(function(e,t){const n=[],r={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){const i=t.types[o],a=e.indexes[i][r[i]],s=e.values[a]??0;n[o]=s,r[i]++}return n}(r,o),o.values),n):(Ir(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),yi(e,t))};function Ri(e,t,n){return"number"==typeof e&&"number"==typeof t&&"number"==typeof n?vi(e,t,n):Ti(e)(e,t)}const Ii=e=>{const t=({timestamp:t})=>e(t);return{start:(e=!0)=>nr.update(t,e),stop:()=>rr(t),now:()=>or.isProcessing?or.timestamp:Lo.now()}},Li=(e,t,n=10)=>{let r="";const o=Math.max(Math.round(t/n),2);for(let t=0;t<o;t++)r+=Math.round(1e4*e(t/(o-1)))/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},Mi=2e4;function Di(e){let t=0,n=e.next(t);for(;!n.done&&t<Mi;)t+=50,n=e.next(t);return t>=Mi?1/0:t}function Fi(e,t,n){const r=Math.max(t-5,0);return No(n-e(r),t-r)}const Ni=.01,ji=2,zi=.005,Ui=.5;const Vi=12;function Bi(e,t){return e*Math.sqrt(1-t*t)}const $i=["duration","bounce"],Hi=["stiffness","damping","mass"];function Wi(e,t){return t.some((t=>void 0!==e[t]))}function qi(e=.3,t=.3){const n="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:o}=n;const i=n.keyframes[0],a=n.keyframes[n.keyframes.length-1],s={done:!1,value:i},{stiffness:l,damping:u,mass:c,duration:d,velocity:f,isResolvedFromDuration:h}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Wi(e,Hi)&&Wi(e,$i))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(1.2*n),o=r*r,i=2*qr(.05,1,1-(e.bounce||0))*Math.sqrt(o);t={...t,mass:1,stiffness:o,damping:i}}else{const n=function({duration:e=800,bounce:t=.3,velocity:n=0,mass:r=1}){let o,i;Ir(e<=Yo(10),"Spring duration must be 10 seconds or less");let a=1-t;a=qr(.05,1,a),e=qr(.01,10,Go(e)),a<1?(o=t=>{const r=t*a,o=r*e;return.001-(r-n)/Bi(t,a)*Math.exp(-o)},i=t=>{const r=t*a*e,i=r*n+n,s=Math.pow(a,2)*Math.pow(t,2)*e,l=Math.exp(-r),u=Bi(Math.pow(t,2),a);return(.001-o(t)>0?-1:1)*((i-s)*l)/u}):(o=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,i=t=>Math.exp(-t*e)*(e*e*(n-t)));const s=function(e,t,n){let r=n;for(let n=1;n<Vi;n++)r-=e(r)/t(r);return r}(o,i,5/e);if(e=Yo(e),isNaN(s))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(s,2)*r;return{stiffness:t,damping:2*a*Math.sqrt(r*t),duration:e}}}(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}({...n,velocity:-Go(n.velocity||0)}),p=f||0,m=u/(2*Math.sqrt(l*c)),g=a-i,y=Go(Math.sqrt(l/c)),v=Math.abs(g)<5;let b;if(r||(r=v?Ni:ji),o||(o=v?zi:Ui),m<1){const e=Bi(y,m);b=t=>{const n=Math.exp(-m*y*t);return a-n*((p+m*y*g)/e*Math.sin(e*t)+g*Math.cos(e*t))}}else if(1===m)b=e=>a-Math.exp(-y*e)*(g+(p+y*g)*e);else{const e=y*Math.sqrt(m*m-1);b=t=>{const n=Math.exp(-m*y*t),r=Math.min(e*t,300);return a-n*((p+m*y*g)*Math.sinh(r)+e*g*Math.cosh(r))/e}}const w={calculatedDuration:h&&d||null,next:e=>{const t=b(e);if(h)s.done=e>=d;else{let n=0===e?p:0;m<1&&(n=0===e?Yo(p):Fi(b,e,t));const i=Math.abs(n)<=r,l=Math.abs(a-t)<=o;s.done=i&&l}return s.value=s.done?a:t,s},toString:()=>{const e=Math.min(Di(w),Mi),t=Li((t=>w.next(e*t).value),e,30);return e+"ms "+t},toTransition:()=>{}};return w}function Ki({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:a,min:s,max:l,restDelta:u=.5,restSpeed:c}){const d=e[0],f={done:!1,value:d},h=e=>void 0===s?l:void 0===l||Math.abs(s-e)<Math.abs(l-e)?s:l;let p=n*t;const m=d+p,g=void 0===a?m:a(m);g!==m&&(p=g-d);const y=e=>-p*Math.exp(-e/r),v=e=>g+y(e),b=e=>{const t=y(e),n=v(e);f.done=Math.abs(t)<=u,f.value=f.done?g:n};let w,k;const S=e=>{(e=>void 0!==s&&e<s||void 0!==l&&e>l)(f.value)&&(w=e,k=qi({keyframes:[f.value,h(f.value)],velocity:Fi(v,e,f.value),damping:o,stiffness:i,restDelta:u,restSpeed:c}))};return S(0),{calculatedDuration:null,next:e=>{let t=!1;return k||void 0!==w||(t=!0,b(e),S(e)),void 0!==w&&e>=w?k.next(e-w):(!t&&b(e),f)}}}qi.applyToOptions=e=>{const t=function(e,t=100,n){const r=n({...e,keyframes:[0,t]}),o=Math.min(Di(r),Mi);return{type:"keyframes",ease:e=>r.next(o*e).value/t,duration:Go(o)}}(e,100,qi);return e.ease=t.ease,e.duration=Yo(t.duration),e.type="keyframes",e};const Qi=(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r};const Yi=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function Gi(e,t,n,r){if(e===t&&n===r)return tr;const o=t=>function(e,t,n,r,o){let i,a,s=0;do{a=t+(n-t)/2,i=Yi(a,r,o)-e,i>0?n=a:t=a}while(Math.abs(i)>1e-7&&++s<12);return a}(t,0,1,e,n);return e=>0===e||1===e?e:Yi(o(e),t,r)}const Ji=Gi(.42,0,1,1),Xi=Gi(0,0,.58,1),Zi=Gi(.42,0,.58,1),ea=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,ta=e=>t=>1-e(1-t),na=Gi(.33,1.53,.69,.99),ra=ta(na),oa=ea(ra),ia=e=>(e*=2)<1?.5*ra(e):.5*(2-Math.pow(2,-10*(e-1))),aa=e=>1-Math.sin(Math.acos(e)),sa=ta(aa),la=ea(aa),ua=e=>Array.isArray(e)&&"number"==typeof e[0],ca={linear:tr,easeIn:Ji,easeInOut:Zi,easeOut:Xi,circIn:aa,circInOut:la,circOut:sa,backIn:ra,backInOut:oa,backOut:na,anticipate:ia},da=e=>{if(ua(e)){Lr(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,o]=e;return Gi(t,n,r,o)}return"string"==typeof e?(Lr(void 0!==ca[e],`Invalid easing type '${e}'`),ca[e]):e};function fa({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=(e=>Array.isArray(e)&&"number"!=typeof e[0])(r)?r.map(da):da(r),i={done:!1,value:t[0]},a=function(e,t){return e.map((e=>e*t))}(n&&n.length===t.length?n:function(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=Qi(0,t,r);e.push(vi(n,1,o))}}(t,e.length-1),t}(t),e),s=function(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const i=e.length;if(Lr(i===t.length,"Both input and output ranges must be the same length"),1===i)return()=>t[0];if(2===i&&t[0]===t[1])return()=>t[1];const a=e[0]===e[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=function(e,t,n){const r=[],o=n||Zn.mix||Ri,i=e.length-1;for(let n=0;n<i;n++){let i=o(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||tr:t;i=Ci(e,i)}r.push(i)}return r}(t,r,o),l=s.length,u=n=>{if(a&&n<e[0])return t[0];let r=0;if(l>1)for(;r<e.length-2&&!(n<e[r+1]);r++);const o=Qi(e[r],e[r+1],n);return s[r](o)};return n?t=>u(qr(e[0],e[i-1],t)):u}(a,t,{ease:Array.isArray(o)?o:(l=t,u=o,l.map((()=>u||Zi)).splice(0,l.length-1))});var l,u;return{calculatedDuration:e,next:t=>(i.value=s(t),i.done=t>=e,i)}}const ha=e=>null!==e;function pa(e,{repeat:t,repeatType:n="loop"},r,o=1){const i=e.filter(ha),a=o<0||t&&"loop"!==n&&t%2==1?0:i.length-1;return a&&void 0!==r?r:i[a]}const ma={decay:Ki,inertia:Ki,tween:fa,keyframes:fa,spring:qi};function ga(e){"string"==typeof e.type&&(e.type=ma[e.type])}class ya{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise((e=>{this.resolve=e}))}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}const va=e=>e/100;class ba extends ya{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:e}=this.options;e&&e.updatedAt!==Lo.now()&&this.tick(Lo.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){const{options:e}=this;ga(e);const{type:t=fa,repeat:n=0,repeatDelay:r=0,repeatType:o,velocity:i=0}=e;let{keyframes:a}=e;const s=t||fa;"production"!==process.env.NODE_ENV&&s!==fa&&Lr(a.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${a}`),s!==fa&&"number"!=typeof a[0]&&(this.mixKeyframes=Ci(va,Ri(a[0],a[1])),a=[0,100]);const l=s({...e,keyframes:a});"mirror"===o&&(this.mirroredGenerator=s({...e,keyframes:[...a].reverse(),velocity:-i})),null===l.calculatedDuration&&(l.calculatedDuration=Di(l));const{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=l}updateTime(e){const t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){const{generator:n,totalDuration:r,mixKeyframes:o,mirroredGenerator:i,resolvedDuration:a,calculatedDuration:s}=this;if(null===this.startTime)return n.next(0);const{delay:l=0,keyframes:u,repeat:c,repeatType:d,repeatDelay:f,type:h,onUpdate:p,finalKeyframe:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);const g=this.currentTime-l*(this.playbackSpeed>=0?1:-1),y=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);let v=this.currentTime,b=n;if(c){const e=Math.min(this.currentTime,r)/a;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,c+1),Boolean(t%2)&&("reverse"===d?(n=1-n,f&&(n-=f/a)):"mirror"===d&&(b=i)),v=qr(0,1,n)*a}const w=y?{done:!1,value:u[0]}:b.next(v);o&&(w.value=o(w.value));let{done:k}=w;y||null===s||(k=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);const S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&k);return S&&h!==Ki&&(w.value=pa(u,this.options,m,this.speed)),p&&p(w.value),S&&this.finish(),w}then(e,t){return this.finished.then(e,t)}get duration(){return Go(this.calculatedDuration)}get time(){return Go(this.currentTime)}set time(e){e=Yo(e),this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(Lo.now());const t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=Go(this.currentTime))}play(){if(this.isStopped)return;const{driver:e=Ii,startTime:t}=this.options;this.driver||(this.driver=e((e=>this.tick(e)))),this.options.onPlay?.();const n=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=n):null!==this.holdTime?this.startTime=n-this.holdTime:this.startTime||(this.startTime=t??n),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Lo.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}const wa=e=>180*e/Math.PI,ka=e=>{const t=wa(Math.atan2(e[1],e[0]));return xa(t)},Sa={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:ka,rotateZ:ka,skewX:e=>wa(Math.atan(e[1])),skewY:e=>wa(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},xa=e=>((e%=360)<0&&(e+=360),e),_a=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Ca=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),Ea={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:_a,scaleY:Ca,scale:e=>(_a(e)+Ca(e))/2,rotateX:e=>xa(wa(Math.atan2(e[6],e[5]))),rotateY:e=>xa(wa(Math.atan2(-e[2],e[0]))),rotateZ:ka,rotate:ka,skewX:e=>wa(Math.atan(e[4])),skewY:e=>wa(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Ta(e){return e.includes("scale")?1:0}function Aa(e,t){if(!e||"none"===e)return Ta(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,o;if(n)r=Ea,o=n;else{const t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=Sa,o=t}if(!o)return Ta(t);const i=r[t],a=o[1].split(",").map(Pa);return"function"==typeof i?i(a):a[i]}function Pa(e){return parseFloat(e.trim())}const Oa=e=>e===Kr||e===eo,Ra=new Set(["x","y","z"]),Ia=Br.filter((e=>!Ra.has(e))),La={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>Aa(t,"x"),y:(e,{transform:t})=>Aa(t,"y")};La.translateX=La.x,La.translateY=La.y;const Ma=new Set;let Da=!1,Fa=!1,Na=!1;function ja(){if(Fa){const e=Array.from(Ma).filter((e=>e.needsMeasurement)),t=new Set(e.map((e=>e.element))),n=new Map;t.forEach((e=>{const t=function(e){const t=[];return Ia.forEach((n=>{const r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))})),t}(e);t.length&&(n.set(e,t),e.render())})),e.forEach((e=>e.measureInitialState())),t.forEach((e=>{e.render();const t=n.get(e);t&&t.forEach((([t,n])=>{e.getValue(t)?.set(n)}))})),e.forEach((e=>e.measureEndState())),e.forEach((e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)}))}Fa=!1,Da=!1,Ma.forEach((e=>e.complete(Na))),Ma.clear()}function za(){Ma.forEach((e=>{e.readKeyframes(),e.needsMeasurement&&(Fa=!0)}))}class Ua{constructor(e,t,n,r,o,i=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=o,this.isAsync=i}scheduleResolve(){this.state="scheduled",this.isAsync?(Ma.add(this),Da||(Da=!0,nr.read(za),nr.resolveKeyframes(ja))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(null===e[0]){const o=r?.get(),i=e[e.length-1];if(void 0!==o)e[0]=o;else if(n&&t){const r=n.readValue(t,i);null!=r&&(e[0]=r)}void 0===e[0]&&(e[0]=i),r&&void 0===o&&r.set(e[0])}!function(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),Ma.delete(this)}cancel(){"scheduled"===this.state&&(Ma.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}function Va(e){let t;return()=>(void 0===t&&(t=e()),t)}const Ba=Va((()=>void 0!==window.ScrollTimeline)),$a={};const Ha=function(e,t){const n=Va(e);return()=>$a[t]??n()}((()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0}),"linearEasing"),Wa=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,qa={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Wa([0,.65,.55,1]),circOut:Wa([.55,0,1,.45]),backIn:Wa([.31,.01,.66,-.59]),backOut:Wa([.33,1.53,.69,.99])};function Ka(e,t){return e?"function"==typeof e?Ha()?Li(e,t):"ease-out":ua(e)?Wa(e):Array.isArray(e)?e.map((e=>Ka(e,t)||qa.easeOut)):qa[e]:void 0}function Qa(e,t,n,{delay:r=0,duration:o=300,repeat:i=0,repeatType:a="loop",ease:s="easeOut",times:l}={},u=void 0){const c={[t]:n};l&&(c.offset=l);const d=Ka(s,o);Array.isArray(d)&&(c.easing=d);const f={delay:r,duration:o,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:i+1,direction:"reverse"===a?"alternate":"normal"};return u&&(f.pseudoElement=u),e.animate(c,f)}function Ya(e){return"function"==typeof e&&"applyToOptions"in e}class Ga extends ya{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,!e)return;const{element:t,name:n,keyframes:r,pseudoElement:o,allowFlatten:i=!1,finalKeyframe:a,onComplete:s}=e;this.isPseudoElement=Boolean(o),this.allowFlatten=i,this.options=e,Lr("string"!=typeof e.type,'animateMini doesn\'t support "type" as a string. Did you mean to import { spring } from "motion"?');const l=function({type:e,...t}){return Ya(e)&&Ha()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=Qa(t,n,r,l,o),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){const e=pa(r,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(e):function(e,t,n){(e=>e.startsWith("--"))(t)?e.style.setProperty(t,n):e.style[t]=n}(t,n,e),this.animation.cancel()}s?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(e){}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:e}=this;"idle"!==e&&"finished"!==e&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const e=this.animation.effect?.getComputedTiming?.().duration||0;return Go(Number(e))}get time(){return Go(Number(this.animation.currentTime)||0)}set time(e){this.finishedTime=null,this.animation.currentTime=Yo(e)}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(e){this.animation.startTime=e}attachTimeline({timeline:e,observe:t}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&Ba()?(this.animation.timeline=e,tr):t(this)}}const Ja={anticipate:ia,backInOut:oa,circInOut:la};class Xa extends Ga{constructor(e){(function(e){"string"==typeof e.ease&&e.ease in Ja&&(e.ease=Ja[e.ease])})(e),ga(e),super(e),e.startTime&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){const{motionValue:t,onUpdate:n,onComplete:r,element:o,...i}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);const a=new ba({...i,autoplay:!1}),s=Yo(this.finishedTime??this.time);t.setWithVelocity(a.sample(s-10).value,a.sample(s).value,10),a.stop()}}const Za=(e,t)=>!("zIndex"===t||"number"!=typeof e&&!Array.isArray(e)&&("string"!=typeof e||!mi.test(e)&&"0"!==e||e.startsWith("url("))),es=new Set(["opacity","clipPath","filter","transform"]),ts=Va((()=>Object.hasOwnProperty.call(Element.prototype,"animate")));class ns extends ya{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:r=0,repeatDelay:o=0,repeatType:i="loop",keyframes:a,name:s,motionValue:l,element:u,...c}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Lo.now();const d={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:o,repeatType:i,name:s,motionValue:l,element:u,...c},f=u?.KeyframeResolver||Ua;this.keyframeResolver=new f(a,((e,t,n)=>this.onKeyframesResolved(e,t,d,!n)),s,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;const{name:o,type:i,velocity:a,delay:s,isHandoff:l,onUpdate:u}=n;this.resolvedAt=Lo.now(),function(e,t,n,r){const o=e[0];if(null===o)return!1;if("display"===t||"visibility"===t)return!0;const i=e[e.length-1],a=Za(o,t),s=Za(i,t);return Ir(a===s,`You are trying to animate ${t} from "${o}" to "${i}". ${o} is not an animatable value - to enable this animation set ${o} to a value animatable to ${i} via the \`style\` property.`),!(!a||!s)&&((e=>{const t=e[0];if(1===e.length)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0})(e)||("spring"===n||Ya(n))&&r)}(e,o,i,a)||(!Zn.instantAnimations&&s||u?.(pa(e,n,t)),e[0]=e[e.length-1],n.duration=0,n.repeat=0);const c={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},d=!l&&function(e){const{motionValue:t,name:n,repeatDelay:r,repeatType:o,damping:i,type:a}=e;if(!Bn(t?.owner?.current))return!1;const{onUpdate:s,transformTemplate:l}=t.owner.getProps();return ts()&&n&&es.has(n)&&("transform"!==n||!l)&&!s&&!r&&"mirror"!==o&&0!==i&&"inertia"!==a}(c)?new Xa({...c,element:c.motionValue.owner.current}):new ba(c);d.finished.then((()=>this.notifyFinished())).catch(tr),this.pendingTimeline&&(this.stopTimeline=d.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=d}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then((()=>{}))}get animation(){return this._animation||(this.keyframeResolver?.resume(),Na=!0,za(),ja(),Na=!1),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const rs=(e,t,n,r={},o,i)=>a=>{const s=Qo(r,e)||{},l=s.delay||r.delay||0;let{elapsed:u=0}=r;u-=Yo(l);const c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...s,delay:-u,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{a(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:i?void 0:o};(function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:i,repeatType:a,repeatDelay:s,from:l,elapsed:u,...c}){return!!Object.keys(c).length})(s)||Object.assign(c,((e,{keyframes:t})=>t.length>2?qo:$r.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:Wo:Ko)(e,c)),c.duration&&(c.duration=Yo(c.duration)),c.repeatDelay&&(c.repeatDelay=Yo(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let d=!1;if((!1===c.type||0===c.duration&&!c.repeatDelay)&&(c.duration=0,0===c.delay&&(d=!0)),(Zn.instantAnimations||Zn.skipAnimations)&&(d=!0,c.duration=0,c.delay=0),c.allowFlatten=!s.type&&!s.ease,d&&!i&&void 0!==t.get()){const e=function(e,{repeat:t,repeatType:n="loop"}){const r=e.filter(Ho);return r[t&&"loop"!==n&&t%2==1?0:r.length-1]}(c.keyframes,s);if(void 0!==e)return void nr.update((()=>{c.onUpdate(e),c.onComplete()}))}return s.isSync?new ba(c):new ns(c)},os=new Set(["width","height","top","left","right","bottom",...Br]);function is({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}function as(e,t,{delay:n=0,transitionOverride:r,type:o}={}){let{transition:i=e.getDefaultTransition(),transitionEnd:a,...s}=t;r&&(i=r);const l=[],u=o&&e.animationState&&e.animationState.getState()[o];for(const t in s){const r=e.getValue(t,e.latestValues[t]??null),o=s[t];if(void 0===o||u&&is(u,t))continue;const a={delay:n,...Qo(i||{},t)},c=r.get();if(void 0!==c&&!r.isAnimating&&!Array.isArray(o)&&o===c&&!a.velocity)continue;let d=!1;if(window.MotionHandoffAnimation){const n=$o(e);if(n){const e=window.MotionHandoffAnimation(n,t,nr);null!==e&&(a.startTime=e,d=!0)}}Bo(e,t),r.start(rs(t,r,o,e.shouldReduceMotion&&os.has(t)?{type:!1}:a,e,d));const f=r.animation;f&&l.push(f)}return a&&Promise.all(l).then((()=>{nr.update((()=>{a&&function(e,t){const n=Po(e,t);let{transitionEnd:r={},transition:o={},...i}=n||{};i={...i,...r};for(const t in i)Uo(e,t,Vo(i[t]))}(e,a)}))})),l}function ss(e,t,n={}){const r=Po(e,t,"exit"===n.type?e.presenceContext?.custom:void 0);let{transition:o=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(o=n.transitionOverride);const i=r?()=>Promise.all(as(e,r,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(r=0)=>{const{delayChildren:i=0,staggerChildren:a,staggerDirection:s}=o;return function(e,t,n=0,r=0,o=1,i){const a=[],s=(e.variantChildren.size-1)*r,l=1===o?(e=0)=>e*r:(e=0)=>s-e*r;return Array.from(e.variantChildren).sort(ls).forEach(((e,r)=>{e.notify("AnimationStart",t),a.push(ss(e,t,{...i,delay:n+l(r)}).then((()=>e.notify("AnimationComplete",t))))})),Promise.all(a)}(e,t,i+r,a,s,n)}:()=>Promise.resolve(),{when:s}=o;if(s){const[e,t]="beforeChildren"===s?[i,a]:[a,i];return e().then((()=>t()))}return Promise.all([i(),a(n.delay)])}function ls(e,t){return e.sortNodePosition(t)}function us(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}const cs=br.length;function ds(e){if(!e)return;if(!e.isControllingVariants){const t=e.parent&&ds(e.parent)||{};return void 0!==e.props.initial&&(t.initial=e.props.initial),t}const t={};for(let n=0;n<cs;n++){const r=br[n],o=e.props[r];(yr(o)||!1===o)&&(t[r]=o)}return t}const fs=[...vr].reverse(),hs=vr.length;function ps(e){let t=function(e){return t=>Promise.all(t.map((({animation:t,options:n})=>function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t)){const o=t.map((t=>ss(e,t,n)));r=Promise.all(o)}else if("string"==typeof t)r=ss(e,t,n);else{const o="function"==typeof t?Po(e,t,n.custom):t;r=Promise.all(as(e,o,n))}return r.then((()=>{e.notify("AnimationComplete",t)}))}(e,t,n))))}(e),n=ys(),r=!0;const o=t=>(n,r)=>{const o=Po(e,r,"exit"===t?e.presenceContext?.custom:void 0);if(o){const{transition:e,transitionEnd:t,...r}=o;n={...n,...r,...t}}return n};function i(i){const{props:a}=e,s=ds(e.parent)||{},l=[],u=new Set;let c={},d=1/0;for(let t=0;t<hs;t++){const f=fs[t],h=n[f],p=void 0!==a[f]?a[f]:s[f],m=yr(p),g=f===i?h.isActive:null;!1===g&&(d=t);let y=p===s[f]&&p!==a[f]&&m;if(y&&r&&e.manuallyAnimateOnMount&&(y=!1),h.protectedKeys={...c},!h.isActive&&null===g||!p&&!h.prevProp||gr(p)||"boolean"==typeof p)continue;const v=ms(h.prevProp,p);let b=v||f===i&&h.isActive&&!y&&m||t>d&&m,w=!1;const k=Array.isArray(p)?p:[p];let S=k.reduce(o(f),{});!1===g&&(S={});const{prevResolvedValues:x={}}=h,_={...x,...S},C=t=>{b=!0,u.has(t)&&(w=!0,u.delete(t)),h.needsAnimating[t]=!0;const n=e.getValue(t);n&&(n.liveStyle=!1)};for(const e in _){const t=S[e],n=x[e];if(c.hasOwnProperty(e))continue;let r=!1;r=Oo(t)&&Oo(n)?!us(t,n):t!==n,r?null!=t?C(e):u.add(e):void 0!==t&&u.has(e)?C(e):h.protectedKeys[e]=!0}h.prevProp=p,h.prevResolvedValues=S,h.isActive&&(c={...c,...S}),r&&e.blockInitialAnimation&&(b=!1),b&&(!y||!v||w)&&l.push(...k.map((e=>({animation:e,options:{type:f}}))))}if(u.size){const t={};if("boolean"!=typeof a.initial){const n=Po(e,Array.isArray(a.initial)?a.initial[0]:a.initial);n&&n.transition&&(t.transition=n.transition)}u.forEach((n=>{const r=e.getBaseTarget(n),o=e.getValue(n);o&&(o.liveStyle=!0),t[n]=r??null})),l.push({animation:t})}let f=Boolean(l.length);return!r||!1!==a.initial&&a.initial!==a.animate||e.manuallyAnimateOnMount||(f=!1),r=!1,f?t(l):Promise.resolve()}return{animateChanges:i,setActive:function(t,r){if(n[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach((e=>e.animationState?.setActive(t,r))),n[t].isActive=r;const o=i(t);for(const e in n)n[e].protectedKeys={};return o},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=ys(),r=!0}}}function ms(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!us(t,e)}function gs(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ys(){return{animate:gs(!0),whileInView:gs(),whileHover:gs(),whileTap:gs(),whileDrag:gs(),whileFocus:gs(),exit:gs()}}class vs{constructor(e){this.isMounted=!1,this.node=e}update(){}}let bs=0;const ws={animation:{Feature:class extends vs{constructor(e){super(e),e.animationState||(e.animationState=ps(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();gr(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends vs{constructor(){super(...arguments),this.id=bs++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;const r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then((()=>{t(this.id)}))}mount(){const{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}}};function ks(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const Ss=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function xs(e){return{point:{x:e.pageX,y:e.pageY}}}function _s(e,t,n,r){return ks(e,t,(e=>t=>Ss(t)&&e(t,xs(t)))(n),r)}function Cs({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Es(e){return e.max-e.min}function Ts(e,t,n,r=.5){e.origin=r,e.originPoint=vi(t.min,t.max,e.origin),e.scale=Es(n)/Es(t),e.translate=vi(n.min,n.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function As(e,t,n,r){Ts(e.x,t.x,n.x,r?r.originX:void 0),Ts(e.y,t.y,n.y,r?r.originY:void 0)}function Ps(e,t,n){e.min=n.min+t.min,e.max=e.min+Es(t)}function Os(e,t,n){e.min=t.min-n.min,e.max=e.min+Es(t)}function Rs(e,t,n){Os(e.x,t.x,n.x),Os(e.y,t.y,n.y)}const Is=()=>({x:{min:0,max:0},y:{min:0,max:0}});function Ls(e){return[e("x"),e("y")]}function Ms(e){return void 0===e||1===e}function Ds({scale:e,scaleX:t,scaleY:n}){return!Ms(e)||!Ms(t)||!Ms(n)}function Fs(e){return Ds(e)||Ns(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Ns(e){return js(e.x)||js(e.y)}function js(e){return e&&"0%"!==e}function zs(e,t,n){return n+t*(e-n)}function Us(e,t,n,r,o){return void 0!==o&&(e=zs(e,o,r)),zs(e,n,r)+t}function Vs(e,t=0,n=1,r,o){e.min=Us(e.min,t,n,r,o),e.max=Us(e.max,t,n,r,o)}function Bs(e,{x:t,y:n}){Vs(e.x,t.translate,t.scale,t.originPoint),Vs(e.y,n.translate,n.scale,n.originPoint)}const $s=.999999999999,Hs=1.0000000000001;function Ws(e,t){e.min=e.min+t,e.max=e.max+t}function qs(e,t,n,r,o=.5){Vs(e,t,n,vi(e.min,e.max,o),r)}function Ks(e,t){qs(e.x,t.x,t.scaleX,t.scale,t.originX),qs(e.y,t.y,t.scaleY,t.scale,t.originY)}function Qs(e,t){return Cs(function(e,t){if(!t)return e;const 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))}const Ys=({current:e})=>e?e.ownerDocument.defaultView:null,Gs=(e,t)=>Math.abs(e-t);class Js{constructor(e,t,{transformPagePoint:n,contextWindow:r,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const e=el(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=Gs(e.x,t.x),r=Gs(e.y,t.y);return Math.sqrt(n**2+r**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;const{point:r}=e,{timestamp:o}=or;this.history.push({...r,timestamp:o});const{onStart:i,onMove:a}=this.handlers;t||(i&&i(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=Xs(t,this.transformPagePoint),nr.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();const{onEnd:n,onSessionEnd:r,resumeAnimation:o}=this.handlers;if(this.dragSnapToOrigin&&o&&o(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const i=el("pointercancel"===e.type?this.lastMoveEventInfo:Xs(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,i),r&&r(e,i)},!Ss(e))return;this.dragSnapToOrigin=o,this.handlers=t,this.transformPagePoint=n,this.contextWindow=r||window;const i=Xs(xs(e),this.transformPagePoint),{point:a}=i,{timestamp:s}=or;this.history=[{...a,timestamp:s}];const{onSessionStart:l}=t;l&&l(e,el(i,this.history)),this.removeListeners=Ci(_s(this.contextWindow,"pointermove",this.handlePointerMove),_s(this.contextWindow,"pointerup",this.handlePointerUp),_s(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),rr(this.updatePoint)}}function Xs(e,t){return t?{point:t(e.point)}:e}function Zs(e,t){return{x:e.x-t.x,y:e.y-t.y}}function el({point:e},t){return{point:e,delta:Zs(e,nl(t)),offset:Zs(e,tl(t)),velocity:rl(t,.1)}}function tl(e){return e[0]}function nl(e){return e[e.length-1]}function rl(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=nl(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>Yo(t)));)n--;if(!r)return{x:0,y:0};const i=Go(o.timestamp-r.timestamp);if(0===i)return{x:0,y:0};const 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 ol(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 il(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}const al=.35;function sl(e,t,n){return{min:ll(e,t),max:ll(e,n)}}function ll(e,t){return"number"==typeof e?e:e[t]||0}const ul={x:!1,y:!1};function cl(){return ul.x||ul.y}const dl=new WeakMap;class fl{constructor(e){this.openDragLock=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}start(e,{snapToCursor:t=!1}={}){const{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;const{dragSnapToOrigin:r}=this.getProps();this.panSession=new Js(e,{onSessionStart:e=>{const{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(xs(e).point)},onStart:(e,t)=>{const{drag:n,dragPropagation:r,onDragStart:o}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock="x"===(i=n)||"y"===i?ul[i]?null:(ul[i]=!0,()=>{ul[i]=!1}):ul.x||ul.y?null:(ul.x=ul.y=!0,()=>{ul.x=ul.y=!1}),!this.openDragLock))return;var i;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Ls((e=>{let t=this.getAxisMotionValue(e).get()||0;if(Zr.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[e];r&&(t=Es(r)*(parseFloat(t)/100))}}this.originPoint[e]=t})),o&&nr.postRender((()=>o(e,t))),Bo(this.visualElement,"transform");const{animationState:a}=this.visualElement;a&&a.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:r,onDirectionLock:o,onDrag:i}=this.getProps();if(!n&&!this.openDragLock)return;const{offset:a}=t;if(r&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}(a),void(null!==this.currentDirection&&o&&o(this.currentDirection));this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),i&&i(e,t)},onSessionEnd:(e,t)=>this.stop(e,t),resumeAnimation:()=>Ls((e=>"paused"===this.getAnimationState(e)&&this.getAxisMotionValue(e).animation?.play()))},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:r,contextWindow:Ys(this.visualElement)})}stop(e,t){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:r}=t;this.startAnimation(r);const{onDragEnd:o}=this.getProps();o&&nr.postRender((()=>o(e,t)))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){const{drag:r}=this.getProps();if(!n||!hl(e,r,this.currentDirection))return;const o=this.getAxisMotionValue(e);let i=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(i=function(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?vi(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?vi(n,e,r.max):Math.min(e,n)),e}(i,this.constraints[e],this.elastic[e])),o.set(i)}resolveConstraints(){const{dragConstraints:e,dragElastic:t}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;e&&_r(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:r,right:o}){return{x:ol(e.x,n,o),y:ol(e.y,t,r)}}(n.layoutBox,e),this.elastic=function(e=al){return!1===e?e=0:!0===e&&(e=al),{x:sl(e,"left","right"),y:sl(e,"top","bottom")}}(t),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&Ls((e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){const n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(n.layoutBox[e],this.constraints[e]))}))}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!_r(e))return!1;const n=e.current;Lr(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const o=function(e,t,n){const r=Qs(e,n),{scroll:o}=t;return o&&(Ws(r.x,o.offset.x),Ws(r.y,o.offset.y)),r}(n,r.root,this.visualElement.getTransformPagePoint());let i=function(e,t){return{x:il(e.x,t.x),y:il(e.y,t.y)}}(r.layout.layoutBox,o);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(i));this.hasMutatedConstraints=!!e,e&&(i=Cs(e))}return i}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:r,dragTransition:o,dragSnapToOrigin:i,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=Ls((a=>{if(!hl(a,t,this.currentDirection))return;let l=s&&s[a]||{};i&&(l={min:0,max:0});const u=r?200:1e6,c=r?40:1e7,d={type:"inertia",velocity:n?e[a]:0,bounceStiffness:u,bounceDamping:c,timeConstant:750,restDelta:1,restSpeed:10,...o,...l};return this.startAxisValueAnimation(a,d)}));return Promise.all(l).then(a)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return Bo(this.visualElement,e),n.start(rs(e,n,0,t,this.visualElement,!1))}stopAnimation(){Ls((e=>this.getAxisMotionValue(e).stop()))}pauseAnimation(){Ls((e=>this.getAxisMotionValue(e).animation?.pause()))}getAnimationState(e){return this.getAxisMotionValue(e).animation?.state}getAxisMotionValue(e){const t=`_drag${e.toUpperCase()}`,n=this.visualElement.getProps();return n[t]||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){Ls((t=>{const{drag:n}=this.getProps();if(!hl(t,n,this.currentDirection))return;const{projection:r}=this.visualElement,o=this.getAxisMotionValue(t);if(r&&r.layout){const{min:n,max:i}=r.layout.layoutBox[t];o.set(e[t]-vi(n,i,.5))}}))}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!_r(t)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};Ls((e=>{const t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){const n=t.get();r[e]=function(e,t){let n=.5;const r=Es(e),o=Es(t);return o>r?n=Qi(t.min,t.max-r,e.min):r>o&&(n=Qi(e.min,e.max-o,t.min)),qr(0,1,n)}({min:n,max:n},this.constraints[e])}}));const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),Ls((t=>{if(!hl(t,e,null))return;const n=this.getAxisMotionValue(t),{min:o,max:i}=this.constraints[t];n.set(vi(o,i,r[t]))}))}addListeners(){if(!this.visualElement.current)return;dl.set(this.visualElement,this);const e=_s(this.visualElement.current,"pointerdown",(e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)})),t=()=>{const{dragConstraints:e}=this.getProps();_r(e)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,r=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),nr.read(t);const o=ks(window,"resize",(()=>this.scalePositionWithinConstraints())),i=n.addEventListener("didUpdate",(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Ls((t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))})),this.visualElement.render())}));return()=>{o(),e(),r(),i&&i()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:o=!1,dragElastic:i=al,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:o,dragElastic:i,dragMomentum:a}}}function hl(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const pl=e=>(t,n)=>{e&&nr.postRender((()=>e(t,n)))},ml={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function gl(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const yl={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!eo.test(e))return e;e=parseFloat(e)}return`${gl(e,t.target.x)}% ${gl(e,t.target.y)}%`}},vl={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=mi.parse(e);if(o.length>5)return r;const i=mi.createTransformer(e),a="number"!=typeof o[0]?1:0,s=n.x.scale*t.x,l=n.y.scale*t.y;o[0+a]/=s,o[1+a]/=l;const u=vi(s,l,.5);return"number"==typeof o[2+a]&&(o[2+a]/=u),"number"==typeof o[3+a]&&(o[3+a]/=u),i(o)}};class bl extends H.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:o}=e;!function(e){for(const t in e)Vr[t]=e[t],Nr(t)&&(Vr[t].isCSSVariable=!0)}(kl),o&&(t.group&&t.group.add(o),n&&n.register&&r&&n.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",(()=>{this.safeToRemove()})),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),ml.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:r,isPresent:o}=this.props,{projection:i}=n;return i?(i.isPresent=o,r||e.layoutDependency!==t||void 0===t||e.isPresent!==o?i.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?i.promote():i.relegate()||nr.postRender((()=>{const e=i.getStack();e&&e.members.length||this.safeToRemove()}))),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),Pr.postRender((()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()})))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function wl(e){const[t,n]=Kn(),r=H.useContext(Dn);return b.jsx(bl,{...e,layoutGroup:r,switchLayoutGroup:H.useContext(Ar),isPresent:t,safeToRemove:n})}const kl={borderRadius:{...yl,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:yl,borderTopRightRadius:yl,borderBottomLeftRadius:yl,borderBottomRightRadius:yl,boxShadow:vl},Sl=(e,t)=>e.depth-t.depth;class xl{constructor(){this.children=[],this.isDirty=!1}add(e){Mo(this.children,e),this.isDirty=!0}remove(e){Do(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Sl),this.isDirty=!1,this.children.forEach(e)}}const _l=["TopLeft","TopRight","BottomLeft","BottomRight"],Cl=_l.length,El=e=>"string"==typeof e?parseFloat(e):e,Tl=e=>"number"==typeof e||eo.test(e);function Al(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const Pl=Rl(0,.5,sa),Ol=Rl(.5,.95,tr);function Rl(e,t,n){return r=>r<e?0:r>t?1:n(Qi(e,t,r))}function Il(e,t){e.min=t.min,e.max=t.max}function Ll(e,t){Il(e.x,t.x),Il(e.y,t.y)}function Ml(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Dl(e,t,n,r,o){return e=zs(e-=t,1/n,r),void 0!==o&&(e=zs(e,1/o,r)),e}function Fl(e,t,[n,r,o],i,a){!function(e,t=0,n=1,r=.5,o,i=e,a=e){if(Zr.test(t)&&(t=parseFloat(t),t=vi(a.min,a.max,t/100)-a.min),"number"!=typeof t)return;let s=vi(i.min,i.max,r);e===i&&(s-=t),e.min=Dl(e.min,t,n,s,o),e.max=Dl(e.max,t,n,s,o)}(e,t[n],t[r],t[o],t.scale,i,a)}const Nl=["x","scaleX","originX"],jl=["y","scaleY","originY"];function zl(e,t,n,r){Fl(e.x,t,Nl,n?n.x:void 0,r?r.x:void 0),Fl(e.y,t,jl,n?n.y:void 0,r?r.y:void 0)}function Ul(e){return 0===e.translate&&1===e.scale}function Vl(e){return Ul(e.x)&&Ul(e.y)}function Bl(e,t){return e.min===t.min&&e.max===t.max}function $l(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Hl(e,t){return $l(e.x,t.x)&&$l(e.y,t.y)}function Wl(e){return Es(e.x)/Es(e.y)}function ql(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class Kl{constructor(){this.members=[]}add(e){Mo(this.members,e),e.scheduleRender()}remove(e){if(Do(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex((t=>e===t));if(0===t)return!1;let n;for(let e=t;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(e,t){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:r}=e.options;!1===r&&n.hide()}}exitAnimationComplete(){this.members.forEach((e=>{const{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()}))}scheduleRender(){this.members.forEach((e=>{e.instance&&e.scheduleRender(!1)}))}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Ql(e){return Vn(e)&&"ownerSVGElement"in e}const Yl=["","X","Y","Z"],Gl={visibility:"hidden"};let Jl=0;function Xl(e,t,n,r){const{latestValues:o}=t;o[e]&&(n[e]=o[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Zl(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=$o(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",nr,!(t||r))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Zl(r)}function eu({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(e={},n=t?.()){this.id=Jl++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(ru),this.nodes.forEach(cu),this.nodes.forEach(du),this.nodes.forEach(ou)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new xl)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Fo),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=Ql(t)&&!function(e){return Ql(e)&&"svg"===e.tagName}(t),this.instance=t;const{layoutId:n,layout:r,visualElement:o}=this.options;if(o&&!o.current&&o.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||n)&&(this.isLayoutDirty=!0),e){let n;const r=()=>this.root.updateBlockedByResize=!1;e(t,(()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e){const t=Lo.now(),n=({timestamp:r})=>{const o=r-t;o>=250&&(rr(n),e(o-250))};return nr.setup(n,!0),()=>rr(n)}(r),ml.hasAnimatedSinceResize&&(ml.hasAnimatedSinceResize=!1,this.nodes.forEach(uu))}))}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&o&&(n||r)&&this.addEventListener("didUpdate",(({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const i=this.options.transition||o.getDefaultTransition()||yu,{onLayoutAnimationStart:a,onLayoutAnimationComplete:s}=o.getProps(),l=!this.targetLayout||!Hl(this.targetLayout,r),u=!t&&n;if(this.options.layoutRoot||this.resumeFrom||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const t={...Qo(i,"layout"),onPlay:a,onComplete:s};(o.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,u)}else t||uu(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r}))}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),rr(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(fu),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Zl(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){const t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;const r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(au);this.isUpdating||this.nodes.forEach(su),this.isUpdating=!1,this.nodes.forEach(lu),this.nodes.forEach(tu),this.nodes.forEach(nu),this.clearAllSnapshots();const e=Lo.now();or.delta=qr(0,1e3/60,e-or.timestamp),or.timestamp=e,or.isProcessing=!0,ir.update.process(or),ir.preRender.process(or),ir.render.process(or),or.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Pr.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(iu),this.sharedNodes.forEach(hu)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,nr.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){nr.postRender((()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()}))}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||Es(this.snapshot.measuredBox.x)||Es(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();const e=this.layout;this.layout=this.measure(!1),this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){const t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!o)return;const e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!Vl(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,i=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||Fs(this.latestValues)||i)&&(o(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var r;return e&&(n=this.removeTransform(n)),wu((r=n).x),wu(r.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:e}=this.options;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};const t=e.measureViewportBox();if(!this.scroll?.wasRoot&&!this.path.some(Su)){const{scroll:e}=this.root;e&&(Ws(t.x,e.offset.x),Ws(t.y,e.offset.y))}return t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};if(Ll(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){const r=this.path[n],{scroll:o,options:i}=r;r!==this.root&&o&&i.layoutScroll&&(o.wasRoot&&Ll(t,e),Ws(t.x,o.offset.x),Ws(t.y,o.offset.y))}return t}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};Ll(n,e);for(let e=0;e<this.path.length;e++){const r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&Ks(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),Fs(r.latestValues)&&Ks(n,r.latestValues)}return Fs(this.latestValues)&&Ks(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Ll(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!Fs(n.latestValues))continue;Ds(n.latestValues)&&n.updateSnapshot();const r={x:{min:0,max:0},y:{min:0,max:0}};Ll(r,n.measurePageBox()),zl(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return Fs(this.latestValues)&&zl(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){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}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==or.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){const t=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty);const n=Boolean(this.resumingFrom)||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:r,layoutId:o}=this.options;if(this.layout&&(r||o)){if(this.resolvedRelativeTargetAt=or.timestamp,!this.targetDelta&&!this.relativeTarget){const e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Rs(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),Ll(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}var i,a,s;if((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&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),i=this.target,a=this.relativeTarget,s=this.relativeParent.target,Ps(i.x,a.x,s.x),Ps(i.y,a.y,s.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):Ll(this.target,this.layout.layoutBox),Bs(this.target,this.targetDelta)):Ll(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const e=this.getClosestProjectingParent();e&&Boolean(e.resumingFrom)===Boolean(this.resumingFrom)&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Rs(this.relativeTargetOrigin,this.target,e.target),Ll(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(this.parent&&!Ds(this.parent.latestValues)&&!Ns(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){const e=this.getLead(),t=Boolean(this.resumingFrom)||this!==e;let n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===or.timestamp&&(n=!1),n)return;const{layout:r,layoutId:o}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!r&&!o)return;Ll(this.layoutCorrected,this.layout.layoutBox);const i=this.treeScale.x,a=this.treeScale.y;!function(e,t,n,r=!1){const o=n.length;if(!o)return;let i,a;t.x=t.y=1;for(let s=0;s<o;s++){i=n[s],a=i.projectionDelta;const{visualElement:o}=i.options;o&&o.props.style&&"contents"===o.props.style.display||(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&Ks(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,Bs(e,a)),r&&Fs(i.latestValues)&&Ks(e,i.latestValues))}t.x<Hs&&t.x>$s&&(t.x=1),t.y<Hs&&t.y>$s&&(t.y=1)}(this.layoutCorrected,this.treeScale,this.path,t),!e.layout||e.target||1===this.treeScale.x&&1===this.treeScale.y||(e.target=e.layout.layoutBox,e.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}});const{target:s}=e;s?(this.projectionDelta&&this.prevProjectionDelta?(Ml(this.prevProjectionDelta.x,this.projectionDelta.x),Ml(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),As(this.projectionDelta,this.layoutCorrected,s,this.latestValues),this.treeScale.x===i&&this.treeScale.y===a&&ql(this.projectionDelta.x,this.prevProjectionDelta.x)&&ql(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",s))):this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender())}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},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}}}setAnimationOrigin(e,t=!1){const n=this.snapshot,r=n?n.latestValues:{},o={...this.latestValues},i={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const a={x:{min:0,max:0},y:{min:0,max:0}},s=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),u=!l||l.members.length<=1,c=Boolean(s&&!u&&!0===this.options.crossfade&&!this.path.some(gu));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;var l,f;pu(i.x,e.x,n),pu(i.y,e.y,n),this.setTargetDelta(i),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Rs(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,n,r){mu(e.x,t.x,n.x,r),mu(e.y,t.y,n.y,r)}(this.relativeTarget,this.relativeTargetOrigin,a,n),d&&(l=this.relativeTarget,f=d,Bl(l.x,f.x)&&Bl(l.y,f.y))&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),Ll(d,this.relativeTarget)),s&&(this.animationValues=o,function(e,t,n,r,o,i){o?(e.opacity=vi(0,n.opacity??1,Pl(r)),e.opacityExit=vi(t.opacity??1,0,Ol(r))):i&&(e.opacity=vi(t.opacity??1,n.opacity??1,r));for(let o=0;o<Cl;o++){const i=`border${_l[o]}Radius`;let a=Al(t,i),s=Al(n,i);void 0===a&&void 0===s||(a||(a=0),s||(s=0),0===a||0===s||Tl(a)===Tl(s)?(e[i]=Math.max(vi(El(a),El(s),r),0),(Zr.test(s)||Zr.test(a))&&(e[i]+="%")):e[i]=s)}(t.rotate||n.rotate)&&(e.rotate=vi(t.rotate||0,n.rotate||0,r))}(o,r,this.latestValues,n,c,u)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(rr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=nr.update((()=>{ml.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=zo(0)),this.currentAnimation=function(e,t,n){const r=lo(e)?e:zo(e);return r.start(rs("",r,[0,1e3],n)),r.animation}(this.motionValue,0,{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0}))}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:r,latestValues:o}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&ku(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=Es(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const r=Es(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}Ll(t,n),Ks(t,o),As(this.projectionDeltaWithTransform,this.layoutCorrected,t,o)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Kl),this.sharedNodes.get(e).add(t);const n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){const{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){const{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){const r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;const r={};n.z&&Xl("z",e,r,this.animationValues);for(let t=0;t<Yl.length;t++)Xl(`rotate${Yl[t]}`,e,r,this.animationValues),Xl(`skew${Yl[t]}`,e,r,this.animationValues);e.render();for(const t in r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}getProjectionStyles(e){if(!this.instance||this.isSVG)return;if(!this.isVisible)return Gl;const t={visibility:""},n=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,t.opacity="",t.pointerEvents=So(e?.pointerEvents)||"",t.transform=n?n(this.latestValues,""):"none",t;const r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=So(e?.pointerEvents)||""),this.hasProjected&&!Fs(this.latestValues)&&(t.transform=n?n({},""):"none",this.hasProjected=!1),t}const o=r.animationValues||r.latestValues;this.applyTransformsToTarget(),t.transform=function(e,t,n){let r="";const o=e.x.translate/t.x,i=e.y.translate/t.y,a=n?.z||0;if((o||i||a)&&(r=`translate3d(${o}px, ${i}px, ${a}px) `),1===t.x&&1===t.y||(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:e,rotate:t,rotateX:o,rotateY:i,skewX:a,skewY:s}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),o&&(r+=`rotateX(${o}deg) `),i&&(r+=`rotateY(${i}deg) `),a&&(r+=`skewX(${a}deg) `),s&&(r+=`skewY(${s}deg) `)}const s=e.x.scale*t.x,l=e.y.scale*t.y;return 1===s&&1===l||(r+=`scale(${s}, ${l})`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,o),n&&(t.transform=n(o,t.transform));const{x:i,y:a}=this.projectionDelta;t.transformOrigin=`${100*i.origin}% ${100*a.origin}% 0`,r.animationValues?t.opacity=r===this?o.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:t.opacity=r===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0;for(const e in Vr){if(void 0===o[e])continue;const{correct:n,applyTo:i,isCSSVariable:a}=Vr[e],s="none"===t.transform?o[e]:n(o[e],r);if(i){const e=i.length;for(let n=0;n<e;n++)t[i[n]]=s}else a?this.options.visualElement.renderState.vars[e]=s:t[e]=s}return this.options.layoutId&&(t.pointerEvents=r===this?So(e?.pointerEvents)||"":"none"),t}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach((e=>e.currentAnimation?.stop())),this.root.nodes.forEach(au),this.root.sharedNodes.clear()}}}function tu(e){e.updateLayout()}function nu(e){const t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:r}=e.layout,{animationType:o}=e.options,i=t.source!==e.layout.source;"size"===o?Ls((e=>{const r=i?t.measuredBox[e]:t.layoutBox[e],o=Es(r);r.min=n[e].min,r.max=r.min+o})):ku(o,t.layoutBox,n)&&Ls((r=>{const o=i?t.measuredBox[r]:t.layoutBox[r],a=Es(n[r]);o.max=o.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+a)}));const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};As(a,n,t.layoutBox);const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};i?As(s,e.applyTransform(r,!0),t.measuredBox):As(s,n,t.layoutBox);const l=!Vl(a);let u=!1;if(!e.resumeFrom){const r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){const{snapshot:o,layout:i}=r;if(o&&i){const a={x:{min:0,max:0},y:{min:0,max:0}};Rs(a,t.layoutBox,o.layoutBox);const s={x:{min:0,max:0},y:{min:0,max:0}};Rs(s,n,i.layoutBox),Hl(a,s)||(u=!0),r.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=a,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:t,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function ru(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function ou(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function iu(e){e.clearSnapshot()}function au(e){e.clearMeasurements()}function su(e){e.isLayoutDirty=!1}function lu(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function uu(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function cu(e){e.resolveTargetDelta()}function du(e){e.calcProjection()}function fu(e){e.resetSkewAndRotation()}function hu(e){e.removeLeadSnapshot()}function pu(e,t,n){e.translate=vi(t.translate,0,n),e.scale=vi(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function mu(e,t,n,r){e.min=vi(t.min,n.min,r),e.max=vi(t.max,n.max,r)}function gu(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const yu={duration:.45,ease:[.4,0,.1,1]},vu=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),bu=vu("applewebkit/")&&!vu("chrome/")?Math.round:tr;function wu(e){e.min=bu(e.min),e.max=bu(e.max)}function ku(e,t,n){return"position"===e||"preserve-aspect"===e&&(r=Wl(t),o=Wl(n),!(Math.abs(r-o)<=.2));var r,o}function Su(e){return e!==e.root&&e.scroll?.wasRoot}const xu=eu({attachResizeListener:(e,t)=>ks(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),_u={current:void 0},Cu=eu({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!_u.current){const e=new xu({});e.mount(window),e.setOptions({layoutScroll:!0}),_u.current=e}return _u.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),Eu={pan:{Feature:class extends vs{constructor(){super(...arguments),this.removePointerDownListener=tr}onPointerDown(e){this.session=new Js(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Ys(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:pl(e),onStart:pl(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&nr.postRender((()=>r(e,t)))}}}mount(){this.removePointerDownListener=_s(this.node.current,"pointerdown",(e=>this.onPointerDown(e)))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends vs{constructor(e){super(e),this.removeGroupControls=tr,this.removeListeners=tr,this.controls=new fl(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tr}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:Cu,MeasureLayout:wl}};function Tu(e,t){const n=function(e){if(e instanceof EventTarget)return[e];if("string"==typeof e){const t=document.querySelectorAll(e);return t?Array.from(t):[]}return Array.from(e)}(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function Au(e){return!("touch"===e.pointerType||cl())}function Pu(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover","Start"===n);const o=r["onHover"+n];o&&nr.postRender((()=>o(t,xs(t))))}const Ou=(e,t)=>!!t&&(e===t||Ou(e,t.parentElement)),Ru=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),Iu=new WeakSet;function Lu(e){return t=>{"Enter"===t.key&&e(t)}}function Mu(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function Du(e){return Ss(e)&&!cl()}function Fu(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap","Start"===n);const o=r["onTap"+("End"===n?"":n)];o&&nr.postRender((()=>o(t,xs(t))))}const Nu=new WeakMap,ju=new WeakMap,zu=e=>{const t=Nu.get(e.target);t&&t(e)},Uu=e=>{e.forEach(zu)};const Vu={some:0,all:1},Bu={inView:{Feature:class extends vs{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:o}=e,i={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:Vu[r]};return function(e,t,n){const r=function({root:e,...t}){const n=e||document;ju.has(n)||ju.set(n,{});const r=ju.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(Uu,{root:e,...t})),r[o]}(t);return Nu.set(e,n),r.observe(e),()=>{Nu.delete(e),r.unobserve(e)}}(this.node.current,i,(e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,o&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),i=t?n:r;i&&i(e)}))}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node,n=["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t));n&&this.startObserver()}unmount(){}}},tap:{Feature:class extends vs{mount(){const{current:e}=this.node;e&&(this.unmount=function(e,t,n={}){const[r,o,i]=Tu(e,n),a=e=>{const r=e.currentTarget;if(!Du(e))return;Iu.add(r);const i=t(r,e),a=(e,t)=>{window.removeEventListener("pointerup",s),window.removeEventListener("pointercancel",l),Iu.has(r)&&Iu.delete(r),Du(e)&&"function"==typeof i&&i(e,{success:t})},s=e=>{a(e,r===window||r===document||n.useGlobalTarget||Ou(r,e.target))},l=e=>{a(e,!1)};window.addEventListener("pointerup",s,o),window.addEventListener("pointercancel",l,o)};return r.forEach((e=>{(n.useGlobalTarget?window:e).addEventListener("pointerdown",a,o),Bn(e)&&(e.addEventListener("focus",(e=>((e,t)=>{const n=e.currentTarget;if(!n)return;const r=Lu((()=>{if(Iu.has(n))return;Mu(n,"down");const e=Lu((()=>{Mu(n,"up")}));n.addEventListener("keyup",e,t),n.addEventListener("blur",(()=>Mu(n,"cancel")),t)}));n.addEventListener("keydown",r,t),n.addEventListener("blur",(()=>n.removeEventListener("keydown",r)),t)})(e,o))),function(e){return Ru.has(e.tagName)||-1!==e.tabIndex}(e)||e.hasAttribute("tabindex")||(e.tabIndex=0))})),i}(e,((e,t)=>(Fu(this.node,t,"Start"),(e,{success:t})=>Fu(this.node,e,t?"End":"Cancel"))),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}},focus:{Feature:class extends vs{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Ci(ks(this.node.current,"focus",(()=>this.onFocus())),ks(this.node.current,"blur",(()=>this.onBlur())))}unmount(){}}},hover:{Feature:class extends vs{mount(){const{current:e}=this.node;e&&(this.unmount=function(e,t,n={}){const[r,o,i]=Tu(e,n),a=e=>{if(!Au(e))return;const{target:n}=e,r=t(n,e);if("function"!=typeof r||!n)return;const i=e=>{Au(e)&&(r(e),n.removeEventListener("pointerleave",i))};n.addEventListener("pointerleave",i,o)};return r.forEach((e=>{e.addEventListener("pointerenter",a,o)})),i}(e,((e,t)=>(Pu(this.node,t,"Start"),e=>Pu(this.node,e,"End")))))}unmount(){}}}},$u={layout:{ProjectionNode:Cu,MeasureLayout:wl}},Hu={current:null},Wu={current:!1},qu=new WeakMap,Ku=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),Qu=e=>/^0[^.\s]+$/u.test(e),Yu=e=>t=>t.test(e),Gu=[Kr,eo,Zr,Xr,no,to,{test:e=>"auto"===e,parse:e=>e}],Ju=e=>Gu.find(Yu(e)),Xu=[...Gu,ai,mi],Zu=new Set(["brightness","contrast","saturate","opacity"]);function ec(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(Xo)||[];if(!r)return e;const o=n.replace(r,"");let i=Zu.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const tc=/\b([a-z-]*)\(.*?\)/gu,nc={...mi,getAnimatableNone:e=>{const t=e.match(tc);return t?t.map(ec).join(" "):e}},rc={...oo,color:ai,backgroundColor:ai,outlineColor:ai,fill:ai,stroke:ai,borderColor:ai,borderTopColor:ai,borderRightColor:ai,borderBottomColor:ai,borderLeftColor:ai,filter:nc,WebkitFilter:nc},oc=e=>rc[e];function ic(e,t){let n=oc(e);return n!==nc&&(n=mi),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const ac=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class sc{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,blockInitialAnimation:o,visualState:i},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Ua,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const e=Lo.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,nr.render(this.render,!1,!0))};const{latestValues:s,renderState:l}=i;this.latestValues=s,this.baseTarget={...s},this.initialValues=t.initial?{...s}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=a,this.blockInitialAnimation=Boolean(o),this.isControllingVariants=wr(t),this.isVariantNode=kr(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:u,...c}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in c){const t=c[e];void 0!==s[e]&&lo(t)&&t.set(s[e],!1)}}mount(e){this.current=e,qu.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach(((e,t)=>this.bindToMotionValue(t,e))),Wu.current||function(){if(Wu.current=!0,Nn)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Hu.current=e.matches;e.addListener(t),t()}else Hu.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||Hu.current),"production"!==process.env.NODE_ENV&&pr(!0!==this.shouldReduceMotion,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),rr(this.notifyUpdate),rr(this.render),this.valueSubscriptions.forEach((e=>e())),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const n=$r.has(e);n&&this.onBindTransform&&this.onBindTransform();const r=t.on("change",(t=>{this.latestValues[e]=t,this.props.onUpdate&&nr.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)})),o=t.on("renderRequest",this.scheduleRender);let i;window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,(()=>{r(),o(),i&&i(),t.owner&&t.stop()}))}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in lr){const t=lr[e];if(!t)continue;const{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<ac.length;t++){const n=ac[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){for(const r in t){const o=t[r],i=n[r];if(lo(o))e.addValue(r,o);else if(lo(i))e.addValue(r,zo(o,{owner:e}));else if(i!==o)if(e.hasValue(r)){const t=e.getValue(r);!0===t.liveStyle?t.jump(o):t.hasAnimated||t.set(o)}else{const t=e.getStaticValue(r);e.addValue(r,zo(void 0!==t?t:o,{owner:e}))}}for(const r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){const n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=zo(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];return null!=n&&("string"==typeof n&&(Ku(n)||Qu(n))?n=parseFloat(n):!(e=>Xu.find(Yu(e)))(n)&&mi.test(t)&&(n=ic(e,t)),this.setBaseTarget(e,lo(n)?n.get():n)),lo(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){const{initial:t}=this.props;let n;if("string"==typeof t||"object"==typeof t){const r=ko(this.props,t,this.presenceContext?.custom);r&&(n=r[e])}if(t&&void 0!==n)return n;const r=this.getBaseTargetFromProps(this.props,e);return void 0===r||lo(r)?void 0!==this.initialValues[e]&&void 0===n?void 0:this.baseTarget[e]:r}on(e,t){return this.events[e]||(this.events[e]=new Fo),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}const lc=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function uc(e,t,n=1){Lr(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,o]=function(e){const t=lc.exec(e);if(!t)return[,];const[,n,r,o]=t;return[`--${n??r}`,o]}(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);if(i){const e=i.trim();return Ku(e)?parseFloat(e):e}return zr(o)?uc(o,t,n+1):o}function cc(e){return"number"==typeof e?0===e:null===e||"none"===e||"0"===e||Qu(e)}const dc=new Set(["auto","none","0"]);class fc extends Ua{constructor(e,t,n,r,o){super(e,t,n,r,o,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if("string"==typeof r&&(r=r.trim(),zr(r))){const o=uc(r,t.current);void 0!==o&&(e[n]=o),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!os.has(n)||2!==e.length)return;const[r,o]=e,i=Ju(r),a=Ju(o);if(i!==a)if(Oa(i)&&Oa(a))for(let t=0;t<e.length;t++){const n=e[t];"string"==typeof n&&(e[t]=parseFloat(n))}else La[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(null===e[t]||cc(e[t]))&&n.push(t);n.length&&function(e,t,n){let r,o=0;for(;o<e.length&&!r;){const t=e[o];"string"==typeof t&&!dc.has(t)&&di(t).values.length&&(r=e[o]),o++}if(r&&n)for(const o of t)e[o]=ic(n,r)}(e,n,t)}measureInitialState(){const{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=La[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;const r=t[t.length-1];void 0!==r&&e.getValue(n,r).jump(r,!1)}measureEndState(){const{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;const r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);const o=n.length-1,i=n[o];n[o]=La[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==i&&void 0===this.finalKeyframe&&(this.finalKeyframe=i),this.removedTransforms?.length&&this.removedTransforms.forEach((([t,n])=>{e.getValue(t).set(n)})),this.resolveNoneKeyframes()}}class hc extends sc{constructor(){super(...arguments),this.KeyframeResolver=fc}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;lo(e)&&(this.childSubscription=e.on("change",(e=>{this.current&&(this.current.textContent=`${e}`)})))}}function pc(e,{style:t,vars:n},r,o){Object.assign(e.style,t,o&&o.getProjectionStyles(r));for(const t in n)e.style.setProperty(t,n[t])}class mc extends hc{constructor(){super(...arguments),this.type="html",this.renderInstance=pc}readValueFromInstance(e,t){if($r.has(t))return this.projection?.isProjecting?Ta(t):((e,t)=>{const{transform:n="none"}=getComputedStyle(e);return Aa(n,t)})(e,t);{const n=function(e){return window.getComputedStyle(e)}(e),r=(Nr(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return Qs(e,t)}build(e,t,n){so(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return Co(e,t,n)}}const gc=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);class yc extends hc{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Is}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if($r.has(t)){const e=oc(t);return e&&e.default||0}return t=gc.has(t)?t:Er(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return To(e,t,n)}build(e,t,n){po(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){!function(e,t,n,r){pc(e,t,void 0,r);for(const n in t.attrs)e.setAttribute(gc.has(n)?n:Er(n),t.attrs[n])}(e,t,0,r)}mount(e){this.isSVGTag=mo(e.tagName),super.mount(e)}}const vc=function(e){if("undefined"==typeof Proxy)return e;const t=new Map;return new Proxy(((...t)=>("production"!==process.env.NODE_ENV&&pr(!1,"motion() is deprecated. Use motion.create() instead."),e(...t))),{get:(n,r)=>"create"===r?e:(t.has(r)||t.set(r,e(r)),t.get(r))})}(function(e,t){return function(n,{forwardMotionProps:r}={forwardMotionProps:!1}){return Mr({...vo(n)?Ao:Eo,preloadedFeatures:e,useRender:bo(r),createVisualElement:t,Component:n})}}({...ws,...Bu,...Eu,...$u},((e,t)=>vo(e)?new yc(t):new mc(t,{allowProjection:e!==H.Fragment})))),bc="0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)",wc="0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",kc="0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)",Sc="0 25px 50px -12px rgba(0, 0, 0, 0.1)",xc="#eff6ff",_c="#dbeafe",Cc="#bfdbfe",Ec="#3b82f6",Tc="#2563eb",Ac="#f9fafb",Pc="#f3f4f6",Oc="#e5e7eb",Rc="#eef2ff",Ic="#c7d2fe",Lc="#6366f1",Mc="#4f46e5",Dc="0.25rem",Fc="0.5rem",Nc="0.75rem",jc="1rem",zc="1.5rem",Uc={primary:{50:xc,100:_c,200:Cc,300:"#93c5fd",400:"#60a5fa",500:Ec,600:Tc,700:"#1d4ed8"},surface:{primary:Ac,secondary:Pc,elevated:"#ffffff"},border:{light:Pc,medium:Oc},text:{primary:"#374151",secondary:"#6b7280",muted:"#9ca3af",inverted:"#ffffff",onDark:Oc}},Vc="0.5rem",Bc="0.75rem",$c="1rem",Hc="9999px",Wc=In.svg(["width:",";height:",";fill:none;stroke:currentColor;flex-shrink:0;transition:transform 0.2s ease-in-out;*:hover > &{transform:scale(1.05);}path{stroke-width:2;}"],(e=>e.$size||"1rem"),(e=>e.$size||"1rem")),qc=({size:e,children:t,viewBox:n="0 0 24 24"})=>b.jsx(Wc,{viewBox:n,$size:e,children:t}),Kc=({size:e}={})=>b.jsx(qc,{size:e,children:b.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 19l9 2-9-18-9 18 9-2zm0 0v-8"})}),Qc=In.div(["text-align:center;font-size:0.75rem;color:",";padding:"," 0;margin-top:",";background:linear-gradient(to bottom,transparent,",");flex-shrink:0;"],Uc.text.secondary,Dc,Fc,Uc.surface.primary),Yc=In.a(["color:",";text-decoration:none;font-weight:500;transition:all 0.2s ease-in-out;&:hover{color:",";text-decoration:underline;}&:focus{outline:2px solid ",";outline-offset:2px;border-radius:2px;}"],Uc.primary[600],Uc.primary[700],Uc.primary[400]),Gc=In.span(["opacity:0.8;margin-right:0.25rem;"]),Jc=({url:e,name:t})=>b.jsxs(Qc,{children:[b.jsx(Gc,{children:"Powered by"}),b.jsx(Yc,{href:e,target:"_blank",rel:"noopener noreferrer",children:t})]}),Xc=In.button(["display:inline-flex;align-items:center;padding:"," ",";font-size:0.75rem;font-weight:500;color:",";background-color:",";border:1px solid ",";border-radius:",";transition:all 0.2s ease-in-out;transform:scale(1);cursor:pointer;&:hover{background-color:",";border-color:",";transform:scale(1.05);opacity:",";}&:active{transform:scale(0.95);}&:focus{outline:none;box-shadow:0 0 0 2px ",",0 0 0 4px ",";}"],Fc,Nc,(e=>e.$backgroundColor?"#ffffff":Uc.primary[700]),(e=>e.$backgroundColor||Uc.primary[100]),(e=>e.$backgroundColor?"transparent":Uc.primary[200]),Hc,(e=>e.$backgroundColor||Uc.primary[200]),(e=>e.$backgroundColor?"transparent":Uc.primary[300]),(e=>e.$backgroundColor?.8:1),(e=>e.$backgroundColor||Uc.primary[400]),(e=>e.$backgroundColor?`${e.$backgroundColor}33`:"rgba(59, 130, 246, 0.3)")),Zc=({text:e,onClick:t,backgroundColor:n,className:r})=>b.jsx(Xc,{onClick:t,$backgroundColor:n,className:r,children:e}),ed=In.div(["display:flex;flex-direction:column;justify-content:center;align-items:center;height:100%;padding:",";"],jc),td=In.div(["text-align:center;padding:",";background:linear-gradient(to right,",",",");border-radius:",";border:1px solid ",";box-shadow:",";max-width:100%;margin-bottom:",";"],zc,Uc.primary[50],Uc.primary[100],$c,Uc.primary[200],bc,jc),nd=In.div(["font-size:1.5rem;margin-bottom:",";"],Fc),rd=In.div(["color:",";font-size:0.875rem;line-height:1.625;"],Uc.text.primary),od=In.div(["width:100%;max-width:24rem;"]),id=In.div(["font-size:0.75rem;color:",";margin-bottom:",";text-align:center;"],Uc.text.secondary,Nc),ad=In.div(["display:flex;flex-wrap:wrap;gap:",";justify-content:center;"],Fc),sd=({message:e,suggestion:t,suggestionColor:n,onSuggestionClick:r})=>b.jsxs(ed,{children:[b.jsxs(td,{children:[b.jsx(nd,{children:"👋"}),b.jsx(rd,{children:e})]}),t&&t.length>0&&b.jsxs(od,{children:[b.jsx(id,{children:"Suggestions rapides"}),b.jsx(ad,{children:t.map((e=>b.jsx(Zc,{backgroundColor:n.backgroundColor,text:e,onClick:()=>r(e)},e)))})]})]}),ld=In.div(["display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;padding:1.5rem;"]),ud=In.div(["background-color:#fef2f2;border:1px solid #fecaca;border-radius:1rem;padding:1.5rem;max-width:20rem;width:100%;text-align:center;box-shadow:0 1px 3px rgba(0,0,0,0.1);"]),cd=In.div(["font-size:2.25rem;margin-bottom:0.75rem;"]),dd=In.h3(["font-size:1.125rem;font-weight:600;color:#991b1b;margin-bottom:0.5rem;"]),fd=In.p(["font-size:0.875rem;color:#dc2626;margin-bottom:1rem;line-height:1.6;"]),hd=In.div(["display:flex;flex-direction:column;gap:0.5rem;"]),pd=In.button(["background-color:#ef4444;color:white;padding:0.5rem 1rem;border-radius:9999px;font-size:0.875rem;font-weight:500;border:none;cursor:pointer;transition:all 200ms ease;transform-origin:center;&:hover{background-color:#dc2626;transform:scale(1.05);}&:active{transform:scale(0.95);}&:focus{outline:none;box-shadow:0 0 0 2px #f87171,0 0 0 4px rgba(248,113,113,0.2);}"]),md=In.button(["background-color:#f3f4f6;color:#374151;padding:0.5rem 1rem;border-radius:9999px;font-size:0.875rem;font-weight:500;border:none;cursor:pointer;transition:all 200ms ease;transform-origin:center;&:hover{background-color:#e5e7eb;transform:scale(1.05);}&:active{transform:scale(0.95);}&:focus{outline:none;box-shadow:0 0 0 2px #9ca3af,0 0 0 4px rgba(156,163,175,0.2);}"]),gd=In.details(["margin-top:1rem;text-align:left;"]),yd=In.summary(["font-size:0.75rem;color:#6b7280;cursor:pointer;transition:color 200ms ease;&:hover{color:#374151;}"]),vd=In.div(["margin-top:0.5rem;padding:0.5rem;background-color:#f3f4f6;border-radius:0.25rem;font-size:0.75rem;color:#4b5563;font-family:'Courier New',monospace;word-break:break-all;"]),bd=({error:e,onRetry:t})=>{const n=(e=>e.message.includes("401")||e.message.includes("403")?{title:"Accès refusé",message:"Votre session a expiré. Veuillez actualiser la page.",icon:"🔒",canRetry:!1}:{title:"Difficulté de se connecter au serveur",message:e.message||"Le serveur rencontre des difficultés. Réessayez dans quelques instants.",icon:"⚠️",canRetry:!0})(e);return b.jsx(ld,{children:b.jsxs(ud,{children:[b.jsx(cd,{children:n.icon}),b.jsx(dd,{children:n.title}),b.jsx(fd,{children:n.message}),b.jsxs(hd,{children:[n.canRetry&&t&&b.jsx(pd,{onClick:t,children:"🔄 Réessayer"}),b.jsx(md,{onClick:()=>window.location.reload(),children:"🔄 Actualiser la page"})]}),b.jsxs(gd,{children:[b.jsx(yd,{children:"Détails techniques"}),b.jsx(vd,{children:e.message})]})]})})},wd=({scrollToBottom:e})=>b.jsx("button",{onClick:e,className:"absolute bottom-0 right-[45%] bg-white hover:bg-gray-50 border border-gray-200 rounded-full shadow-lg flex items-center justify-center transition-all duration-200 transform hover:scale-105 active:scale-95 z-10","aria-label":"Retour en bas",children:b.jsx("div",{className:"flex items-center gap-2 px-2 py-2",children:b.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",className:"text-gray-600",children:b.jsx("path",{d:"M7 14l5 5 5-5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})}),kd=e=>"assistant"===e.role,Sd=({messages:e,messageSoundPath:t})=>{const n=H.useRef(null),r=H.useRef(null);return H.useEffect((()=>{if(0===e.length)return;const t=e[e.length-1];t&&kd(t)&&t.id!==r.current?(n.current?.play(),r.current=t.id):t&&t.id!==r.current&&(r.current=t.id)}),[e]),b.jsx("audio",{ref:n,src:t,preload:"auto",style:{display:"none"}})},xd=In.div(["display:flex;justify-content:",";margin-bottom:0.75rem;padding:0 0.75rem;"],(e=>e.$isUser?"flex-end":"flex-start")),_d=In.div(["padding:0.5rem 1rem;border-radius:1rem;font-size:0.875rem;word-break:break-words;overflow-wrap:anywhere;background-color:",";color:",";border-radius:",";border:",";"],(e=>e.$backgroundColor),(e=>e.$textColor||(e.$isUser?"white":"black")),(e=>e.$isUser?"1rem 1rem 0.125rem 1rem":"1rem 1rem 1rem 0.125rem"),(e=>e.$isUser?"none":"1px solid #dbeafe")),Cd=({children:e,isUser:t=!1,bgColor:n,textColor:r,className:o})=>b.jsx(xd,{$isUser:t,className:o,children:b.jsx(_d,{className:o,$isUser:t,$backgroundColor:n,$textColor:r,children:e})}),Ed=({message:e,bgColor:t,textColor:n})=>b.jsx(Cd,{isUser:!0,bgColor:t,textColor:n,children:e.parts?.map(((t,n)=>"text"===t.type?b.jsx("div",{children:t.text},`${e.id}-${n}`):null))}),Td=({part:e,onSuggestionClick:t})=>b.jsx("div",{className:"flex flex-wrap gap-2 justify-center",children:e.result.suggestions.map((e=>b.jsx(Zc,{text:e,onClick:()=>t(e)},e)))}),Ad=In.div(["width:100%;margin-bottom:",";"],Nc),Pd=In.div(["margin-bottom:",";padding:0 ",";"],Nc,Nc),Od=In.h4(["font-size:0.875rem;font-weight:600;color:",";margin-bottom:",";"],Uc.text.primary,Dc),Rd=In.div(["display:flex;flex-direction:column;align-items:center;justify-content:center;padding:"," ",";margin:0 ",";background:linear-gradient(135deg,"," 0%,"," 100%);border:1px solid ",";border-radius:",";box-shadow:",";"],Fc,Fc,Dc,Ac,xc,Uc.border.light,$c,bc),Id=In.div(["width:4rem;height:4rem;background:linear-gradient(135deg,"," 0%,"," 100%);border-radius:",";display:flex;align-items:center;justify-content:center;margin-bottom:",";font-size:1.5rem;"],Pc,_c,Hc,jc),Ld=In.h5(["font-size:0.875rem;font-weight:600;color:",";margin-bottom:",";text-align:center;"],Uc.text.primary,Fc),Md=In.p(["font-size:0.75rem;color:",";text-align:center;line-height:1.4;max-width:200px;"],Uc.text.secondary),Dd=In.div(["overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;&::-webkit-scrollbar{display:none;}"]),Fd=In.div(["display:flex;gap:",";padding:0 "," "," ",";width:max-content;"],Nc,Nc,Fc,Nc),Nd=In.div(["flex-shrink:0;width:12rem;background:linear-gradient(135deg,"," 0%,"," 100%);border:1px solid ",";border-radius:",";padding:",";box-shadow:",";transition:all 0.2s ease;transform:scale(1);&:hover{box-shadow:",";transform:scale(1.05);}"],Rc,xc,Ic,$c,jc,bc,wc),jd=In.img(["width:100%;height:6rem;object-fit:cover;border-radius:",";margin-bottom:",";"],Bc,Nc),zd=In.div(["width:100%;height:6rem;background:linear-gradient(135deg,"," 0%,"," 100%);border-radius:",";margin-bottom:",";display:flex;align-items:center;justify-content:center;span{font-size:1.5rem;}"],Ic,Cc,Bc,Nc),Ud=In.div(["display:flex;flex-direction:column;gap:",";"],Fc),Vd=In.h5(["font-weight:500;color:",";font-size:0.875rem;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;"],Uc.text.primary),Bd=In.div(["display:flex;align-items:center;justify-content:space-between;"]),$d=In.span(["font-size:1.125rem;font-weight:bold;color:",";"],Mc),Hd=In.span(["font-size:0.75rem;color:",";background-color:",";padding:"," ",";border-radius:",";"],Uc.text.secondary,Uc.surface.elevated,Dc,Fc,Hc),Wd=In.a(["display:block;background:linear-gradient(135deg,"," 0%,"," 100%);color:",";font-size:0.75rem;font-weight:500;padding:"," ",";border-radius:",";text-align:center;text-decoration:none;transition:all 0.2s ease;transform:scale(1);&:hover{background:linear-gradient(135deg,"," 0%,"," 100%);transform:scale(1.05);}&:active{transform:scale(0.95);}"],Lc,Ec,Uc.text.inverted,Fc,Nc,Bc,Mc,Tc),qd=In.div(["display:flex;justify-content:center;margin-top:",";"],Fc),Kd=In.div(["display:flex;gap:",";"],Dc),Qd=In.div(["width:0.375rem;height:0.375rem;background-color:",";border-radius:",";"],Uc.border.medium,Hc),Yd=({part:e})=>{const t=e.result.products;return 0===t?.length?b.jsx(Ad,{children:b.jsxs(Rd,{children:[b.jsx(Id,{children:"🔍"}),b.jsx(Ld,{children:"Aucun produit trouvé"}),b.jsx(Md,{children:"Nous n'avons pas trouvé de produits correspondant à votre recherche pour le moment."})]})}):b.jsxs(Ad,{children:[b.jsx(Pd,{children:b.jsx(Od,{children:"✨ Produits magiques disponibles"})}),b.jsx(Dd,{children:b.jsx(Fd,{children:t.map(((e,t)=>b.jsxs(Nd,{children:[e.image?b.jsx(jd,{src:e.image,alt:e.name}):b.jsx(zd,{children:b.jsx("span",{children:"🪄"})}),b.jsxs(Ud,{children:[b.jsx(Vd,{children:e.name}),b.jsxs(Bd,{children:[b.jsxs($d,{children:[e.price,"€"]}),b.jsx(Hd,{children:"⭐ Magique"})]}),b.jsx(Wd,{href:e.link,target:"_blank",rel:"noopener noreferrer",children:"Découvrir ✨"})]})]},t)))})}),b.jsx(qd,{children:b.jsx(Kd,{children:t.map(((e,t)=>b.jsx(Qd,{},t)))})})]})};let Gd=(e=>(e.UnknownTool="unknownTool",e.ProductsAvailable="products",e.NotFound="notFound",e.GetInformation="getInformation",e))({});const Jd=({part:e,onSuggestionClick:t})=>{const n=((e,t)=>{switch(e.toolName){case Gd.NotFound:return b.jsx(Td,{part:e,onSuggestionClick:t});case Gd.ProductsAvailable:return b.jsx(Yd,{part:e});case Gd.GetInformation:return e.result.suggestions?.map((e=>b.jsx(Zc,{text:e,onClick:()=>t(e)},e)));default:return b.jsx("div",{})}})(e,t);return b.jsx("div",{className:"my-2",children:n})};const Xd=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Zd=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,ef={};function tf(e,t){return(ef.jsx?Zd:Xd).test(e)}const nf=/[ \t\n\f\r]/g;function rf(e){return""===e.replace(nf,"")}class of{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function af(e,t){const n={},r={};for(const t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new of(n,r,t)}function sf(e){return e.toLowerCase()}of.prototype.normal={},of.prototype.property={},of.prototype.space=void 0;let lf=class{constructor(e,t){this.attribute=t,this.property=e}};lf.prototype.attribute="",lf.prototype.booleanish=!1,lf.prototype.boolean=!1,lf.prototype.commaOrSpaceSeparated=!1,lf.prototype.commaSeparated=!1,lf.prototype.defined=!1,lf.prototype.mustUseProperty=!1,lf.prototype.number=!1,lf.prototype.overloadedBoolean=!1,lf.prototype.property="",lf.prototype.spaceSeparated=!1,lf.prototype.space=void 0;let uf=0;const cf=yf(),df=yf(),ff=yf(),hf=yf(),pf=yf(),mf=yf(),gf=yf();function yf(){return 2**++uf}var vf=Object.freeze({__proto__:null,boolean:cf,booleanish:df,commaOrSpaceSeparated:gf,commaSeparated:mf,number:hf,overloadedBoolean:ff,spaceSeparated:pf});const bf=Object.keys(vf);class wf extends lf{constructor(e,t,n,r){let o=-1;if(super(e,t),kf(this,"space",r),"number"==typeof n)for(;++o<bf.length;){const e=bf[o];kf(this,bf[o],(n&vf[e])===vf[e])}}}function kf(e,t,n){n&&(e[t]=n)}function Sf(e){const t={},n={};for(const[r,o]of Object.entries(e.properties)){const i=new wf(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[sf(r)]=r,n[sf(i.attribute)]=r}return new of(t,n,e.space)}wf.prototype.defined=!0;const xf=Sf({properties:{ariaActiveDescendant:null,ariaAtomic:df,ariaAutoComplete:null,ariaBusy:df,ariaChecked:df,ariaColCount:hf,ariaColIndex:hf,ariaColSpan:hf,ariaControls:pf,ariaCurrent:null,ariaDescribedBy:pf,ariaDetails:null,ariaDisabled:df,ariaDropEffect:pf,ariaErrorMessage:null,ariaExpanded:df,ariaFlowTo:pf,ariaGrabbed:df,ariaHasPopup:null,ariaHidden:df,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:pf,ariaLevel:hf,ariaLive:null,ariaModal:df,ariaMultiLine:df,ariaMultiSelectable:df,ariaOrientation:null,ariaOwns:pf,ariaPlaceholder:null,ariaPosInSet:hf,ariaPressed:df,ariaReadOnly:df,ariaRelevant:null,ariaRequired:df,ariaRoleDescription:pf,ariaRowCount:hf,ariaRowIndex:hf,ariaRowSpan:hf,ariaSelected:df,ariaSetSize:hf,ariaSort:null,ariaValueMax:hf,ariaValueMin:hf,ariaValueNow:hf,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function _f(e,t){return t in e?e[t]:t}function Cf(e,t){return _f(e,t.toLowerCase())}const Ef=Sf({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:mf,acceptCharset:pf,accessKey:pf,action:null,allow:null,allowFullScreen:cf,allowPaymentRequest:cf,allowUserMedia:cf,alt:null,as:null,async:cf,autoCapitalize:null,autoComplete:pf,autoFocus:cf,autoPlay:cf,blocking:pf,capture:null,charSet:null,checked:cf,cite:null,className:pf,cols:hf,colSpan:null,content:null,contentEditable:df,controls:cf,controlsList:pf,coords:hf|mf,crossOrigin:null,data:null,dateTime:null,decoding:null,default:cf,defer:cf,dir:null,dirName:null,disabled:cf,download:ff,draggable:df,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:cf,formTarget:null,headers:pf,height:hf,hidden:ff,high:hf,href:null,hrefLang:null,htmlFor:pf,httpEquiv:pf,id:null,imageSizes:null,imageSrcSet:null,inert:cf,inputMode:null,integrity:null,is:null,isMap:cf,itemId:null,itemProp:pf,itemRef:pf,itemScope:cf,itemType:pf,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:cf,low:hf,manifest:null,max:null,maxLength:hf,media:null,method:null,min:null,minLength:hf,multiple:cf,muted:cf,name:null,nonce:null,noModule:cf,noValidate:cf,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:cf,optimum:hf,pattern:null,ping:pf,placeholder:null,playsInline:cf,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:cf,referrerPolicy:null,rel:pf,required:cf,reversed:cf,rows:hf,rowSpan:hf,sandbox:pf,scope:null,scoped:cf,seamless:cf,selected:cf,shadowRootClonable:cf,shadowRootDelegatesFocus:cf,shadowRootMode:null,shape:null,size:hf,sizes:null,slot:null,span:hf,spellCheck:df,src:null,srcDoc:null,srcLang:null,srcSet:null,start:hf,step:null,style:null,tabIndex:hf,target:null,title:null,translate:null,type:null,typeMustMatch:cf,useMap:null,value:df,width:hf,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:pf,axis:null,background:null,bgColor:null,border:hf,borderColor:null,bottomMargin:hf,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:cf,declare:cf,event:null,face:null,frame:null,frameBorder:null,hSpace:hf,leftMargin:hf,link:null,longDesc:null,lowSrc:null,marginHeight:hf,marginWidth:hf,noResize:cf,noHref:cf,noShade:cf,noWrap:cf,object:null,profile:null,prompt:null,rev:null,rightMargin:hf,rules:null,scheme:null,scrolling:df,standby:null,summary:null,text:null,topMargin:hf,valueType:null,version:null,vAlign:null,vLink:null,vSpace:hf,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:cf,disableRemotePlayback:cf,prefix:null,property:null,results:hf,security:null,unselectable:null},space:"html",transform:Cf}),Tf=Sf({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:gf,accentHeight:hf,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:hf,amplitude:hf,arabicForm:null,ascent:hf,attributeName:null,attributeType:null,azimuth:hf,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:hf,by:null,calcMode:null,capHeight:hf,className:pf,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:hf,diffuseConstant:hf,direction:null,display:null,dur:null,divisor:hf,dominantBaseline:null,download:cf,dx:null,dy:null,edgeMode:null,editable:null,elevation:hf,enableBackground:null,end:null,event:null,exponent:hf,externalResourcesRequired:null,fill:null,fillOpacity:hf,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:mf,g2:mf,glyphName:mf,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:hf,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:hf,horizOriginX:hf,horizOriginY:hf,id:null,ideographic:hf,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:hf,k:hf,k1:hf,k2:hf,k3:hf,k4:hf,kernelMatrix:gf,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:hf,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:hf,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:hf,overlineThickness:hf,paintOrder:null,panose1:null,path:null,pathLength:hf,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:pf,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:hf,pointsAtY:hf,pointsAtZ:hf,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:gf,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:gf,rev:gf,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:gf,requiredFeatures:gf,requiredFonts:gf,requiredFormats:gf,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:hf,specularExponent:hf,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:hf,strikethroughThickness:hf,string:null,stroke:null,strokeDashArray:gf,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:hf,strokeOpacity:hf,strokeWidth:null,style:null,surfaceScale:hf,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:gf,tabIndex:hf,tableValues:null,target:null,targetX:hf,targetY:hf,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:gf,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:hf,underlineThickness:hf,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:hf,values:null,vAlphabetic:hf,vMathematical:hf,vectorEffect:null,vHanging:hf,vIdeographic:hf,version:null,vertAdvY:hf,vertOriginX:hf,vertOriginY:hf,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:hf,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:_f}),Af=Sf({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),Pf=Sf({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Cf}),Of=Sf({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),Rf={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},If=/[A-Z]/g,Lf=/-[a-z]/g,Mf=/^data[-\w.:]+$/i;function Df(e){return"-"+e.toLowerCase()}function Ff(e){return e.charAt(1).toUpperCase()}const Nf=af([xf,Ef,Af,Pf,Of],"html"),jf=af([xf,Tf,Af,Pf,Of],"svg");var zf,Uf,Vf,Bf={};var $f,Hf,Wf,qf={};var Kf=t(function(){if(Wf)return Hf;Wf=1;var e=(Hf&&Hf.__importDefault||(e=>e&&e.__esModule?e:{default:e}))(function(){if(Vf)return Bf;Vf=1;var e=Bf&&Bf.__importDefault||(e=>e&&e.__esModule?e:{default:e});Object.defineProperty(Bf,"__esModule",{value:!0}),Bf.default=function(e,n){var r=null;if(!e||"string"!=typeof e)return r;var o=(0,t.default)(e),i="function"==typeof n;return o.forEach((e=>{if("declaration"===e.type){var t=e.property,o=e.value;i?n(t,o,e):o&&((r=r||{})[t]=o)}})),r};var t=e(function(){if(Uf)return zf;Uf=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,i=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,s=/^\s+|\s+$/g,l="";function u(e){return e?e.replace(s,l):l}return zf=function(s,c){if("string"!=typeof s)throw new TypeError("First argument must be a string");if(!s)return[];c=c||{};var d=1,f=1;function h(e){var n=e.match(t);n&&(d+=n.length);var r=e.lastIndexOf("\n");f=~r?e.length-r:f+e.length}function p(){var e={line:d,column:f};return t=>(t.position=new m(e),v(),t)}function m(e){this.start=e,this.end={line:d,column:f},this.source=c.source}function g(e){var t=new Error(c.source+":"+d+":"+f+": "+e);if(t.reason=e,t.filename=c.source,t.line=d,t.column=f,t.source=s,!c.silent)throw t}function y(e){var t=e.exec(s);if(t){var n=t[0];return h(n),s=s.slice(n.length),t}}function v(){y(n)}function b(e){var t;for(e=e||[];t=w();)!1!==t&&e.push(t);return e}function w(){var e=p();if("/"==s.charAt(0)&&"*"==s.charAt(1)){for(var t=2;l!=s.charAt(t)&&("*"!=s.charAt(t)||"/"!=s.charAt(t+1));)++t;if(t+=2,l===s.charAt(t-1))return g("End of comment missing");var n=s.slice(2,t-2);return f+=2,h(n),s=s.slice(t),f+=2,e({type:"comment",comment:n})}}function k(){var t=p(),n=y(r);if(n){if(w(),!y(o))return g("property missing ':'");var s=y(i),c=t({type:"declaration",property:u(n[0].replace(e,l)),value:s?u(s[0].replace(e,l)):l});return y(a),c}}return m.prototype.content=s,v(),(()=>{var e,t=[];for(b(t);e=k();)!1!==e&&(t.push(e),b(t));return t})()},zf}());return Bf}()),t=function(){if($f)return qf;$f=1,Object.defineProperty(qf,"__esModule",{value:!0}),qf.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,o=/^-(ms)-/,i=(e,t)=>t.toUpperCase(),a=(e,t)=>"".concat(t,"-");return qf.camelCase=(s,l)=>(void 0===l&&(l={}),(t=>!t||n.test(t)||e.test(t))(s)?s:(s=s.toLowerCase(),(s=l.reactCompat?s.replace(o,a):s.replace(r,a)).replace(t,i))),qf}();function n(n,r){var o={};return n&&"string"==typeof n?((0,e.default)(n,((e,n)=>{e&&n&&(o[(0,t.camelCase)(e,r)]=n)})),o):o}return n.default=n,Hf=n}());const Qf=Gf("end"),Yf=Gf("start");function Gf(e){return function(t){const n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function Jf(e){return e&&"object"==typeof e?"position"in e||"type"in e?Zf(e.position):"start"in e||"end"in e?Zf(e):"line"in e||"column"in e?Xf(e):"":""}function Xf(e){return eh(e&&e.line)+":"+eh(e&&e.column)}function Zf(e){return Xf(e&&e.start)+"-"+Xf(e&&e.end)}function eh(e){return e&&"number"==typeof e?e:1}class th extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",o={},i=!1;if(t&&(o="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?r=e:!o.cause&&e&&(i=!0,r=e.message,o.cause=e),!o.ruleId&&!o.source&&"string"==typeof n){const e=n.indexOf(":");-1===e?o.ruleId=n:(o.source=n.slice(0,e),o.ruleId=n.slice(e+1))}if(!o.place&&o.ancestors&&o.ancestors){const e=o.ancestors[o.ancestors.length-1];e&&(o.place=e.position)}const a=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=a?a.line:void 0,this.name=Jf(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=i&&o.cause&&"string"==typeof o.cause.stack?o.cause.stack:"",this.actual,this.expected,this.note,this.url}}th.prototype.file="",th.prototype.name="",th.prototype.reason="",th.prototype.message="",th.prototype.stack="",th.prototype.column=void 0,th.prototype.line=void 0,th.prototype.ancestors=void 0,th.prototype.cause=void 0,th.prototype.fatal=void 0,th.prototype.place=void 0,th.prototype.ruleId=void 0,th.prototype.source=void 0;const nh={}.hasOwnProperty,rh=new Map,oh=/[A-Z]/g,ih=new Set(["table","tbody","thead","tfoot","tr"]),ah=new Set(["td","th"]),sh="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function lh(e,t,n){return"element"===t.type?function(e,t,n){const r=e.schema;let o=r;"svg"===t.tagName.toLowerCase()&&"html"===r.space&&(o=jf,e.schema=o),e.ancestors.push(t);const i=hh(e,t.tagName,!1),a=function(e,t){const n={};let r,o;for(o in t.properties)if("children"!==o&&nh.call(t.properties,o)){const i=fh(e,o,t.properties[o]);if(i){const[o,a]=i;e.tableCellAlignToStyle&&"align"===o&&"string"==typeof a&&ah.has(t.tagName)?r=a:n[o]=a}}return r&&((n.style||(n.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=r),n}(e,t);let s=dh(e,t);return ih.has(t.tagName)&&(s=s.filter((e=>{return"string"!=typeof e||!("object"==typeof(t=e)?"text"===t.type&&rf(t.value):rf(t));var t}))),uh(e,a,i,t),ch(a,s),e.ancestors.pop(),e.schema=r,e.create(t,i,a,n)}(e,t,n):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){const n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}ph(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?function(e,t,n){const r=e.schema;let o=r;"svg"===t.name&&"html"===r.space&&(o=jf,e.schema=o),e.ancestors.push(t);const i=null===t.name?e.Fragment:hh(e,t.name,!0),a=function(e,t){const n={};for(const r of t.attributes)if("mdxJsxExpressionAttribute"===r.type)if(r.data&&r.data.estree&&e.evaluater){const t=r.data.estree.body[0];t.type;const o=t.expression;o.type;const i=o.properties[0];i.type,Object.assign(n,e.evaluater.evaluateExpression(i.argument))}else ph(e,t.position);else{const o=r.name;let i;if(r.value&&"object"==typeof r.value)if(r.value.data&&r.value.data.estree&&e.evaluater){const t=r.value.data.estree.body[0];t.type,i=e.evaluater.evaluateExpression(t.expression)}else ph(e,t.position);else i=null===r.value||r.value;n[o]=i}return n}(e,t),s=dh(e,t);return uh(e,a,i,t),ch(a,s),e.ancestors.pop(),e.schema=r,e.create(t,i,a,n)}(e,t,n):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);ph(e,t.position)}(e,t):"root"===t.type?function(e,t,n){const r={};return ch(r,dh(e,t)),e.create(t,e.Fragment,r,n)}(e,t,n):"text"===t.type?function(e,t){return t.value}(0,t):void 0}function uh(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function ch(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function dh(e,t){const n=[];let r=-1;const o=e.passKeys?new Map:rh;for(;++r<t.children.length;){const i=t.children[r];let a;if(e.passKeys){const e="element"===i.type?i.tagName:"mdxJsxFlowElement"===i.type||"mdxJsxTextElement"===i.type?i.name:void 0;if(e){const t=o.get(e)||0;a=e+"-"+t,o.set(e,t+1)}}const s=lh(e,i,a);void 0!==s&&n.push(s)}return n}function fh(e,t,n){const r=function(e,t){const n=sf(t);let r=t,o=lf;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&Mf.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(Lf,Ff);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!Lf.test(e)){let n=e.replace(If,Df);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}o=wf}return new o(r,t)}(e.schema,t);if(!(null==n||"number"==typeof n&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?function(e){const t={};return(""===e[e.length-1]?[...e,""]:e).join((t.padRight?" ":"")+","+(!1===t.padLeft?"":" ")).trim()}(n):n.join(" ").trim()),"style"===r.property){let t="object"==typeof n?n:function(e,t){try{return Kf(t,{reactCompat:!0})}catch(t){if(e.ignoreInvalidStyle)return{};const n=t,r=new th("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=sh+"#cannot-parse-style-attribute",r}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){const t={};let n;for(n in e)nh.call(e,n)&&(t[mh(n)]=e[n]);return t}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?Rf[r.property]||r.property:r.attribute,n]}}function hh(e,t,n){let r;if(n)if(t.includes(".")){const e=t.split(".");let n,o=-1;for(;++o<e.length;){const t=tf(e[o])?{type:"Identifier",name:e[o]}:{type:"Literal",value:e[o]};n=n?{type:"MemberExpression",object:n,property:t,computed:Boolean(o&&"Literal"===t.type),optional:!1}:t}r=n}else r=tf(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};else r={type:"Literal",value:t};if("Literal"===r.type){const t=r.value;return nh.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);ph(e)}function ph(e,t){const n=new th("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=sh+"#cannot-handle-mdx-estrees-without-createevaluater",n}function mh(e){let t=e.replace(oh,gh);return"ms-"===t.slice(0,3)&&(t="-"+t),t}function gh(e){return"-"+e.toLowerCase()}const yh={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},vh={};function bh(e,t){return wh(e,"boolean"!=typeof vh.includeImageAlt||vh.includeImageAlt,"boolean"!=typeof vh.includeHtml||vh.includeHtml)}function wh(e,t,n){if(function(e){return Boolean(e&&"object"==typeof e)}(e)){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return kh(e.children,t,n)}return Array.isArray(e)?kh(e,t,n):""}function kh(e,t,n){const r=[];let o=-1;for(;++o<e.length;)r[o]=wh(e[o],t,n);return r.join("")}const Sh=document.createElement("i");function xh(e){const t="&"+e+";";Sh.innerHTML=t;const n=Sh.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}function _h(e,t,n,r){const o=e.length;let i,a=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)i=Array.from(r),i.unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);a<r.length;)i=r.slice(a,a+1e4),i.unshift(t,0),e.splice(...i),a+=1e4,t+=1e4}function Ch(e,t){return e.length>0?(_h(e,e.length,0,t),e):t}const Eh={}.hasOwnProperty;function Th(e){const t={};let n=-1;for(;++n<e.length;)Ah(t,e[n]);return t}function Ah(e,t){let n;for(n in t){const r=(Eh.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];let i;if(o)for(i in o){Eh.call(r,i)||(r[i]=[]);const e=o[i];Ph(r[i],Array.isArray(e)?e:e?[e]:[])}}}function Ph(e,t){let n=-1;const r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);_h(e,0,0,r)}function Oh(e,t){const n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||!(65535&~n)||65534==(65535&n)||n>1114111?"�":String.fromCodePoint(n)}function Rh(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Ih=Hh(/[A-Za-z]/),Lh=Hh(/[\dA-Za-z]/),Mh=Hh(/[#-'*+\--9=?A-Z^-~]/);function Dh(e){return null!==e&&(e<32||127===e)}const Fh=Hh(/\d/),Nh=Hh(/[\dA-Fa-f]/),jh=Hh(/[!-/:-@[-`{-~]/);function zh(e){return null!==e&&e<-2}function Uh(e){return null!==e&&(e<0||32===e)}function Vh(e){return-2===e||-1===e||32===e}const Bh=Hh(/\p{P}|\p{S}/u),$h=Hh(/\s/);function Hh(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function Wh(e){const t=[];let n=-1,r=0,o=0;for(;++n<e.length;){const i=e.charCodeAt(n);let a="";if(37===i&&Lh(e.charCodeAt(n+1))&&Lh(e.charCodeAt(n+2)))o=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(a=String.fromCharCode(i));else if(i>55295&&i<57344){const t=e.charCodeAt(n+1);i<56320&&t>56319&&t<57344?(a=String.fromCharCode(i,t),o=1):a="�"}else a=String.fromCharCode(i);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+o+1,a=""),o&&(n+=o,o=0)}return t.join("")+e.slice(r)}function qh(e,t,n,r){const o=r?r-1:Number.POSITIVE_INFINITY;let i=0;return function(r){return Vh(r)?(e.enter(n),a(r)):t(r)};function a(r){return Vh(r)&&i++<o?(e.consume(r),a):(e.exit(n),t(r))}}const Kh={tokenize:function(e){const t=e.attempt(this.parser.constructs.contentInitial,(function(n){if(null!==n)return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),qh(e,t,"linePrefix");e.consume(n)}),(function(t){return e.enter("paragraph"),r(t)}));let n;return t;function r(t){const r=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=r),n=r,o(t)}function o(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):zh(t)?(e.consume(t),e.exit("chunkText"),r):(e.consume(t),o)}}},Qh={tokenize:function(e){const t=this,n=[];let r,o,i,a=0;return s;function s(r){if(a<n.length){const o=n[a];return t.containerState=o[1],e.attempt(o[0].continuation,l,u)(r)}return u(r)}function l(e){if(a++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,r&&v();const n=t.events.length;let o,i=n;for(;i--;)if("exit"===t.events[i][0]&&"chunkFlow"===t.events[i][1].type){o=t.events[i][1].end;break}y(a);let s=n;for(;s<t.events.length;)t.events[s][1].end={...o},s++;return _h(t.events,i+1,0,t.events.slice(n)),t.events.length=s,u(e)}return s(e)}function u(o){if(a===n.length){if(!r)return f(o);if(r.currentConstruct&&r.currentConstruct.concrete)return p(o);t.interrupt=Boolean(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Yh,c,d)(o)}function c(e){return r&&v(),y(a),f(e)}function d(e){return t.parser.lazy[t.now().line]=a!==n.length,i=t.now().offset,p(e)}function f(n){return t.containerState={},e.attempt(Yh,h,p)(n)}function h(e){return a++,n.push([t.currentConstruct,t.containerState]),f(e)}function p(n){return null===n?(r&&v(),y(0),void e.consume(n)):(r=r||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:r,contentType:"flow",previous:o}),m(n))}function m(n){return null===n?(g(e.exit("chunkFlow"),!0),y(0),void e.consume(n)):zh(n)?(e.consume(n),g(e.exit("chunkFlow")),a=0,t.interrupt=void 0,s):(e.consume(n),m)}function g(e,n){const s=t.sliceStream(e);if(n&&s.push(null),e.previous=o,o&&(o.next=e),o=e,r.defineSkip(e.start),r.write(s),t.parser.lazy[e.start.line]){let e=r.events.length;for(;e--;)if(r.events[e][1].start.offset<i&&(!r.events[e][1].end||r.events[e][1].end.offset>i))return;const n=t.events.length;let o,s,l=n;for(;l--;)if("exit"===t.events[l][0]&&"chunkFlow"===t.events[l][1].type){if(o){s=t.events[l][1].end;break}o=!0}for(y(a),e=n;e<t.events.length;)t.events[e][1].end={...s},e++;_h(t.events,l+1,0,t.events.slice(n)),t.events.length=e}}function y(r){let o=n.length;for(;o-- >r;){const r=n[o];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function v(){r.write([null]),o=void 0,r=void 0,t.containerState._closeFlow=void 0}}},Yh={tokenize:function(e,t,n){return qh(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};function Gh(e){return null===e||Uh(e)||$h(e)?1:Bh(e)?2:void 0}function Jh(e,t,n){const r=[];let o=-1;for(;++o<e.length;){const i=e[o].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}const Xh={name:"attention",resolveAll:function(e,t){let n,r,o,i,a,s,l,u,c=-1;for(;++c<e.length;)if("enter"===e[c][0]&&"attentionSequence"===e[c][1].type&&e[c][1]._close)for(n=c;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[c][1]).charCodeAt(0)){if((e[n][1]._close||e[c][1]._open)&&(e[c][1].end.offset-e[c][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[c][1].end.offset-e[c][1].start.offset)%3))continue;s=e[n][1].end.offset-e[n][1].start.offset>1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;const d={...e[n][1].end},f={...e[c][1].start};Zh(d,-s),Zh(f,s),i={type:s>1?"strongSequence":"emphasisSequence",start:d,end:{...e[n][1].end}},a={type:s>1?"strongSequence":"emphasisSequence",start:{...e[c][1].start},end:f},o={type:s>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[c][1].start}},r={type:s>1?"strong":"emphasis",start:{...i.start},end:{...a.end}},e[n][1].end={...i.start},e[c][1].start={...a.end},l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=Ch(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=Ch(l,[["enter",r,t],["enter",i,t],["exit",i,t],["enter",o,t]]),l=Ch(l,Jh(t.parser.constructs.insideSpan.null,e.slice(n+1,c),t)),l=Ch(l,[["exit",o,t],["enter",a,t],["exit",a,t],["exit",r,t]]),e[c][1].end.offset-e[c][1].start.offset?(u=2,l=Ch(l,[["enter",e[c][1],t],["exit",e[c][1],t]])):u=0,_h(e,n-1,c-n+3,l),c=n+l.length-u-2;break}for(c=-1;++c<e.length;)"attentionSequence"===e[c][1].type&&(e[c][1].type="data");return e},tokenize:function(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,o=Gh(r);let i;return function(t){return i=t,e.enter("attentionSequence"),a(t)};function a(s){if(s===i)return e.consume(s),a;const l=e.exit("attentionSequence"),u=Gh(s),c=!u||2===u&&o||n.includes(s),d=!o||2===o&&u||n.includes(r);return l._open=Boolean(42===i?c:c&&(o||!d)),l._close=Boolean(42===i?d:d&&(u||!c)),t(s)}}};function Zh(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const ep={name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o};function o(t){return Ih(t)?(e.consume(t),i):64===t?n(t):l(t)}function i(e){return 43===e||45===e||46===e||Lh(e)?(r=1,a(e)):l(e)}function a(t){return 58===t?(e.consume(t),r=0,s):(43===t||45===t||46===t||Lh(t))&&r++<32?(e.consume(t),a):(r=0,l(t))}function s(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||Dh(r)?n(r):(e.consume(r),s)}function l(t){return 64===t?(e.consume(t),u):Mh(t)?(e.consume(t),l):n(t)}function u(e){return Lh(e)?c(e):n(e)}function c(n){return 46===n?(e.consume(n),r=0,u):62===n?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t):d(n)}function d(t){if((45===t||Lh(t))&&r++<63){const n=45===t?d:c;return e.consume(t),n}return n(t)}}},tp={partial:!0,tokenize:function(e,t,n){return function(t){return Vh(t)?qh(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||zh(e)?t(e):n(e)}}},np={continuation:{tokenize:function(e,t,n){const r=this;return function(t){return Vh(t)?qh(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):o(t)};function o(r){return e.attempt(np,t,n)(r)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,n){const r=this;return function(t){if(62===t){const n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),o}return n(t)};function o(n){return Vh(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}},rp={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return jh(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},op={name:"characterReference",tokenize:function(e,t,n){const r=this;let o,i,a=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),s};function s(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),o=31,i=Lh,u(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,i=Nh,u):(e.enter("characterReferenceValue"),o=7,i=Fh,u(t))}function u(s){if(59===s&&a){const o=e.exit("characterReferenceValue");return i!==Lh||xh(r.sliceSerialize(o))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(s)}return i(s)&&a++<o?(e.consume(s),u):n(s)}}},ip={partial:!0,tokenize:function(e,t,n){const r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o)};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},ap={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){const r=this,o={partial:!0,tokenize:function(e,t,n){let o=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a};function a(t){return e.enter("codeFencedFence"),Vh(t)?qh(e,l,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):l(t)}function l(t){return t===i?(e.enter("codeFencedFenceSequence"),u(t)):n(t)}function u(t){return t===i?(o++,e.consume(t),u):o>=s?(e.exit("codeFencedFenceSequence"),Vh(t)?qh(e,c,"whitespace")(t):c(t)):n(t)}function c(r){return null===r||zh(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}};let i,a=0,s=0;return function(t){return function(t){const n=r.events[r.events.length-1];return a=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,i=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),l(t)}(t)};function l(t){return t===i?(s++,e.consume(t),l):s<3?n(t):(e.exit("codeFencedFenceSequence"),Vh(t)?qh(e,u,"whitespace")(t):u(t))}function u(n){return null===n||zh(n)?(e.exit("codeFencedFence"),r.interrupt?t(n):e.check(ip,h,v)(n)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),c(n))}function c(t){return null===t||zh(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),u(t)):Vh(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),qh(e,d,"whitespace")(t)):96===t&&t===i?n(t):(e.consume(t),c)}function d(t){return null===t||zh(t)?u(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),f(t))}function f(t){return null===t||zh(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),u(t)):96===t&&t===i?n(t):(e.consume(t),f)}function h(t){return e.attempt(o,v,p)(t)}function p(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),m}function m(t){return a>0&&Vh(t)?qh(e,g,"linePrefix",a+1)(t):g(t)}function g(t){return null===t||zh(t)?e.check(ip,h,v)(t):(e.enter("codeFlowValue"),y(t))}function y(t){return null===t||zh(t)?(e.exit("codeFlowValue"),g(t)):(e.consume(t),y)}function v(n){return e.exit("codeFenced"),t(n)}}},sp={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),qh(e,o,"linePrefix",5)(t)};function o(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?i(e):n(e)}function i(t){return null===t?s(t):zh(t)?e.attempt(lp,i,s)(t):(e.enter("codeFlowValue"),a(t))}function a(t){return null===t||zh(t)?(e.exit("codeFlowValue"),i(t)):(e.consume(t),a)}function s(n){return e.exit("codeIndented"),t(n)}}},lp={partial:!0,tokenize:function(e,t,n){const r=this;return o;function o(t){return r.parser.lazy[r.now().line]?n(t):zh(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o):qh(e,i,"linePrefix",5)(t)}function i(e){const i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(e):zh(e)?o(e):n(e)}}},up={name:"codeText",previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(e){let t,n,r=e.length-4,o=3;if(!("lineEnding"!==e[o][1].type&&"space"!==e[o][1].type||"lineEnding"!==e[r][1].type&&"space"!==e[r][1].type))for(t=o;++t<r;)if("codeTextData"===e[t][1].type){e[o][1].type="codeTextPadding",e[r][1].type="codeTextPadding",o+=2,r-=2;break}for(t=o-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):t!==r&&"lineEnding"!==e[t][1].type||(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},tokenize:function(e,t,n){let r,o,i=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),a(t)};function a(t){return 96===t?(e.consume(t),i++,a):(e.exit("codeTextSequence"),s(t))}function s(t){return null===t?n(t):32===t?(e.enter("space"),e.consume(t),e.exit("space"),s):96===t?(o=e.enter("codeTextSequence"),r=0,u(t)):zh(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s):(e.enter("codeTextData"),l(t))}function l(t){return null===t||32===t||96===t||zh(t)?(e.exit("codeTextData"),s(t)):(e.consume(t),l)}function u(n){return 96===n?(e.consume(n),r++,u):r===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(o.type="codeTextData",l(n))}}};class cp{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){const n=t??Number.POSITIVE_INFINITY;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){const r=t||0;this.setCursor(Math.trunc(e));const o=this.right.splice(this.right.length-r,Number.POSITIVE_INFINITY);return n&&dp(this.left,n),o.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),dp(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),dp(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&0===this.right.length||e<0&&0===this.left.length))if(e<this.left.length){const t=this.left.splice(e,Number.POSITIVE_INFINITY);dp(this.right,t.reverse())}else{const t=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);dp(this.left,t.reverse())}}}function dp(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function fp(e){const t={};let n,r,o,i,a,s,l,u=-1;const c=new cp(e);for(;++u<c.length;){for(;u in t;)u=t[u];if(n=c.get(u),u&&"chunkFlow"===n[1].type&&"listItemPrefix"===c.get(u-1)[1].type&&(s=n[1]._tokenizer.events,o=0,o<s.length&&"lineEndingBlank"===s[o][1].type&&(o+=2),o<s.length&&"content"===s[o][1].type))for(;++o<s.length&&"content"!==s[o][1].type;)"chunkText"===s[o][1].type&&(s[o][1]._isInFirstContentOfListItem=!0,o++);if("enter"===n[0])n[1].contentType&&(Object.assign(t,hp(c,u)),u=t[u],l=!0);else if(n[1]._container){for(o=u,r=void 0;o--;)if(i=c.get(o),"lineEnding"===i[1].type||"lineEndingBlank"===i[1].type)"enter"===i[0]&&(r&&(c.get(r)[1].type="lineEndingBlank"),i[1].type="lineEnding",r=o);else if("linePrefix"!==i[1].type&&"listItemIndent"!==i[1].type)break;r&&(n[1].end={...c.get(r)[1].start},a=c.slice(r,u),a.unshift(n),c.splice(r,u-r+1,a))}}return _h(e,0,Number.POSITIVE_INFINITY,c.slice(0)),!l}function hp(e,t){const n=e.get(t)[1],r=e.get(t)[2];let o=t-1;const i=[];let a=n._tokenizer;a||(a=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(a._contentTypeTextTrailing=!0));const s=a.events,l=[],u={};let c,d,f=-1,h=n,p=0,m=0;const g=[m];for(;h;){for(;e.get(++o)[1]!==h;);i.push(o),h._tokenizer||(c=r.sliceStream(h),h.next||c.push(null),d&&a.defineSkip(h.start),h._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(c),h._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),d=h,h=h.next}for(h=n;++f<s.length;)"exit"===s[f][0]&&"enter"===s[f-1][0]&&s[f][1].type===s[f-1][1].type&&s[f][1].start.line!==s[f][1].end.line&&(m=f+1,g.push(m),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(a.events=[],h?(h._tokenizer=void 0,h.previous=void 0):g.pop(),f=g.length;f--;){const t=s.slice(g[f],g[f+1]),n=i.pop();l.push([n,n+t.length-1]),e.splice(n,2,t)}for(l.reverse(),f=-1;++f<l.length;)u[p+l[f][0]]=p+l[f][1],p+=l[f][1]-l[f][0]-1;return u}const pp={resolve:function(e){return fp(e),e},tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?o(t):zh(t)?e.check(mp,i,o)(t):(e.consume(t),r)}function o(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function i(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},mp={partial:!0,tokenize:function(e,t,n){const r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),qh(e,o,"linePrefix")};function o(o){if(null===o||zh(o))return n(o);const i=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}};function gp(e,t,n,r,o,i,a,s,l){const u=l||Number.POSITIVE_INFINITY;let c=0;return function(t){return 60===t?(e.enter(r),e.enter(o),e.enter(i),e.consume(t),e.exit(i),d):null===t||32===t||41===t||Dh(t)?n(t):(e.enter(r),e.enter(a),e.enter(s),e.enter("chunkString",{contentType:"string"}),p(t))};function d(n){return 62===n?(e.enter(i),e.consume(n),e.exit(i),e.exit(o),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),f(n))}function f(t){return 62===t?(e.exit("chunkString"),e.exit(s),d(t)):null===t||60===t||zh(t)?n(t):(e.consume(t),92===t?h:f)}function h(t){return 60===t||62===t||92===t?(e.consume(t),f):f(t)}function p(o){return c||null!==o&&41!==o&&!Uh(o)?c<u&&40===o?(e.consume(o),c++,p):41===o?(e.consume(o),c--,p):null===o||32===o||40===o||Dh(o)?n(o):(e.consume(o),92===o?m:p):(e.exit("chunkString"),e.exit(s),e.exit(a),e.exit(r),t(o))}function m(t){return 40===t||41===t||92===t?(e.consume(t),p):p(t)}}function yp(e,t,n,r,o,i){const a=this;let s,l=0;return function(t){return e.enter(r),e.enter(o),e.consume(t),e.exit(o),e.enter(i),u};function u(d){return l>999||null===d||91===d||93===d&&!s||94===d&&!l&&"_hiddenFootnoteSupport"in a.parser.constructs?n(d):93===d?(e.exit(i),e.enter(o),e.consume(d),e.exit(o),e.exit(r),t):zh(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),c(d))}function c(t){return null===t||91===t||93===t||zh(t)||l++>999?(e.exit("chunkString"),u(t)):(e.consume(t),s||(s=!Vh(t)),92===t?d:c)}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,c):c(t)}}function vp(e,t,n,r,o,i){let a;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(o),e.consume(t),e.exit(o),a=40===t?41:t,s):n(t)};function s(n){return n===a?(e.enter(o),e.consume(n),e.exit(o),e.exit(r),t):(e.enter(i),l(n))}function l(t){return t===a?(e.exit(i),s(a)):null===t?n(t):zh(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),qh(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(t))}function u(t){return t===a||null===t||zh(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?c:u)}function c(t){return t===a||92===t?(e.consume(t),u):u(t)}}function bp(e,t){let n;return function r(o){return zh(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,r):Vh(o)?qh(e,r,n?"linePrefix":"lineSuffix")(o):t(o)}}const wp={name:"definition",tokenize:function(e,t,n){const r=this;let o;return function(t){return e.enter("definition"),function(t){return yp.call(r,e,i,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function i(t){return o=Rh(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),a):n(t)}function a(t){return Uh(t)?bp(e,s)(t):s(t)}function s(t){return gp(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt(kp,u,u)(t)}function u(t){return Vh(t)?qh(e,c,"whitespace")(t):c(t)}function c(i){return null===i||zh(i)?(e.exit("definition"),r.parser.defined.push(o),t(i)):n(i)}}},kp={partial:!0,tokenize:function(e,t,n){return function(t){return Uh(t)?bp(e,r)(t):n(t)};function r(t){return vp(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function o(t){return Vh(t)?qh(e,i,"whitespace")(t):i(t)}function i(e){return null===e||zh(e)?t(e):n(e)}}},Sp={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return zh(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},xp={name:"headingAtx",resolve:function(e,t){let n,r,o=e.length-2,i=3;return"whitespace"===e[i][1].type&&(i+=2),o-2>i&&"whitespace"===e[o][1].type&&(o-=2),"atxHeadingSequence"===e[o][1].type&&(i===o-1||o-4>i&&"whitespace"===e[o-2][1].type)&&(o-=i+1===o?2:4),o>i&&(n={type:"atxHeadingText",start:e[i][1].start,end:e[o][1].end},r={type:"chunkText",start:e[i][1].start,end:e[o][1].end,contentType:"text"},_h(e,i,o-i+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e},tokenize:function(e,t,n){let r=0;return function(t){return e.enter("atxHeading"),function(t){return e.enter("atxHeadingSequence"),o(t)}(t)};function o(t){return 35===t&&r++<6?(e.consume(t),o):null===t||Uh(t)?(e.exit("atxHeadingSequence"),i(t)):n(t)}function i(n){return 35===n?(e.enter("atxHeadingSequence"),a(n)):null===n||zh(n)?(e.exit("atxHeading"),t(n)):Vh(n)?qh(e,i,"whitespace")(n):(e.enter("atxHeadingText"),s(n))}function a(t){return 35===t?(e.consume(t),a):(e.exit("atxHeadingSequence"),i(t))}function s(t){return null===t||35===t||Uh(t)?(e.exit("atxHeadingText"),i(t)):(e.consume(t),s)}}},_p=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Cp=["pre","script","style","textarea"],Ep={concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},tokenize:function(e,t,n){const r=this;let o,i,a,s,l;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),u}(t)};function u(s){return 33===s?(e.consume(s),c):47===s?(e.consume(s),i=!0,h):63===s?(e.consume(s),o=3,r.interrupt?t:M):Ih(s)?(e.consume(s),a=String.fromCharCode(s),p):n(s)}function c(i){return 45===i?(e.consume(i),o=2,d):91===i?(e.consume(i),o=5,s=0,f):Ih(i)?(e.consume(i),o=4,r.interrupt?t:M):n(i)}function d(o){return 45===o?(e.consume(o),r.interrupt?t:M):n(o)}function f(o){return o==="CDATA[".charCodeAt(s++)?(e.consume(o),6===s?r.interrupt?t:E:f):n(o)}function h(t){return Ih(t)?(e.consume(t),a=String.fromCharCode(t),p):n(t)}function p(s){if(null===s||47===s||62===s||Uh(s)){const l=47===s,u=a.toLowerCase();return l||i||!Cp.includes(u)?_p.includes(a.toLowerCase())?(o=6,l?(e.consume(s),m):r.interrupt?t(s):E(s)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(s):i?g(s):y(s)):(o=1,r.interrupt?t(s):E(s))}return 45===s||Lh(s)?(e.consume(s),a+=String.fromCharCode(s),p):n(s)}function m(o){return 62===o?(e.consume(o),r.interrupt?t:E):n(o)}function g(t){return Vh(t)?(e.consume(t),g):_(t)}function y(t){return 47===t?(e.consume(t),_):58===t||95===t||Ih(t)?(e.consume(t),v):Vh(t)?(e.consume(t),y):_(t)}function v(t){return 45===t||46===t||58===t||95===t||Lh(t)?(e.consume(t),v):b(t)}function b(t){return 61===t?(e.consume(t),w):Vh(t)?(e.consume(t),b):y(t)}function w(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),l=t,k):Vh(t)?(e.consume(t),w):S(t)}function k(t){return t===l?(e.consume(t),l=null,x):null===t||zh(t)?n(t):(e.consume(t),k)}function S(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||Uh(t)?b(t):(e.consume(t),S)}function x(e){return 47===e||62===e||Vh(e)?y(e):n(e)}function _(t){return 62===t?(e.consume(t),C):n(t)}function C(t){return null===t||zh(t)?E(t):Vh(t)?(e.consume(t),C):n(t)}function E(t){return 45===t&&2===o?(e.consume(t),O):60===t&&1===o?(e.consume(t),R):62===t&&4===o?(e.consume(t),D):63===t&&3===o?(e.consume(t),M):93===t&&5===o?(e.consume(t),L):!zh(t)||6!==o&&7!==o?null===t||zh(t)?(e.exit("htmlFlowData"),T(t)):(e.consume(t),E):(e.exit("htmlFlowData"),e.check(Tp,F,T)(t))}function T(t){return e.check(Ap,A,F)(t)}function A(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),P}function P(t){return null===t||zh(t)?T(t):(e.enter("htmlFlowData"),E(t))}function O(t){return 45===t?(e.consume(t),M):E(t)}function R(t){return 47===t?(e.consume(t),a="",I):E(t)}function I(t){if(62===t){const n=a.toLowerCase();return Cp.includes(n)?(e.consume(t),D):E(t)}return Ih(t)&&a.length<8?(e.consume(t),a+=String.fromCharCode(t),I):E(t)}function L(t){return 93===t?(e.consume(t),M):E(t)}function M(t){return 62===t?(e.consume(t),D):45===t&&2===o?(e.consume(t),M):E(t)}function D(t){return null===t||zh(t)?(e.exit("htmlFlowData"),F(t)):(e.consume(t),D)}function F(n){return e.exit("htmlFlow"),t(n)}}},Tp={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(tp,t,n)}}},Ap={partial:!0,tokenize:function(e,t,n){const r=this;return function(t){return zh(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o):n(t)};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},Pp={name:"htmlText",tokenize:function(e,t,n){const r=this;let o,i,a;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),s};function s(t){return 33===t?(e.consume(t),l):47===t?(e.consume(t),w):63===t?(e.consume(t),v):Ih(t)?(e.consume(t),x):n(t)}function l(t){return 45===t?(e.consume(t),u):91===t?(e.consume(t),i=0,h):Ih(t)?(e.consume(t),y):n(t)}function u(t){return 45===t?(e.consume(t),f):n(t)}function c(t){return null===t?n(t):45===t?(e.consume(t),d):zh(t)?(a=c,I(t)):(e.consume(t),c)}function d(t){return 45===t?(e.consume(t),f):c(t)}function f(e){return 62===e?R(e):45===e?d(e):c(e)}function h(t){return t==="CDATA[".charCodeAt(i++)?(e.consume(t),6===i?p:h):n(t)}function p(t){return null===t?n(t):93===t?(e.consume(t),m):zh(t)?(a=p,I(t)):(e.consume(t),p)}function m(t){return 93===t?(e.consume(t),g):p(t)}function g(t){return 62===t?R(t):93===t?(e.consume(t),g):p(t)}function y(t){return null===t||62===t?R(t):zh(t)?(a=y,I(t)):(e.consume(t),y)}function v(t){return null===t?n(t):63===t?(e.consume(t),b):zh(t)?(a=v,I(t)):(e.consume(t),v)}function b(e){return 62===e?R(e):v(e)}function w(t){return Ih(t)?(e.consume(t),k):n(t)}function k(t){return 45===t||Lh(t)?(e.consume(t),k):S(t)}function S(t){return zh(t)?(a=S,I(t)):Vh(t)?(e.consume(t),S):R(t)}function x(t){return 45===t||Lh(t)?(e.consume(t),x):47===t||62===t||Uh(t)?_(t):n(t)}function _(t){return 47===t?(e.consume(t),R):58===t||95===t||Ih(t)?(e.consume(t),C):zh(t)?(a=_,I(t)):Vh(t)?(e.consume(t),_):R(t)}function C(t){return 45===t||46===t||58===t||95===t||Lh(t)?(e.consume(t),C):E(t)}function E(t){return 61===t?(e.consume(t),T):zh(t)?(a=E,I(t)):Vh(t)?(e.consume(t),E):_(t)}function T(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),o=t,A):zh(t)?(a=T,I(t)):Vh(t)?(e.consume(t),T):(e.consume(t),P)}function A(t){return t===o?(e.consume(t),o=void 0,O):null===t?n(t):zh(t)?(a=A,I(t)):(e.consume(t),A)}function P(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||Uh(t)?_(t):(e.consume(t),P)}function O(e){return 47===e||62===e||Uh(e)?_(e):n(e)}function R(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function I(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),L}function L(t){return Vh(t)?qh(e,M,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):M(t)}function M(t){return e.enter("htmlTextData"),a(t)}}},Op={name:"labelEnd",resolveAll:function(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),"labelImage"===r.type||"labelLink"===r.type||"labelEnd"===r.type){const e="labelImage"===r.type?4:2;r.type="data",t+=e}}return e.length!==n.length&&_h(e,0,e.length,n),e},resolveTo:function(e,t){let n,r,o,i,a=e.length,s=0;for(;a--;)if(n=e[a][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[a][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(o){if("enter"===e[a][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=a,"labelLink"!==n.type)){s=2;break}}else"labelEnd"===n.type&&(o=a);const l={type:"labelLink"===e[r][1].type?"link":"image",start:{...e[r][1].start},end:{...e[e.length-1][1].end}},u={type:"label",start:{...e[r][1].start},end:{...e[o][1].end}},c={type:"labelText",start:{...e[r+s+2][1].end},end:{...e[o-2][1].start}};return i=[["enter",l,t],["enter",u,t]],i=Ch(i,e.slice(r+1,r+s+3)),i=Ch(i,[["enter",c,t]]),i=Ch(i,Jh(t.parser.constructs.insideSpan.null,e.slice(r+s+4,o-3),t)),i=Ch(i,[["exit",c,t],e[o-2],e[o-1],["exit",u,t]]),i=Ch(i,e.slice(o+1)),i=Ch(i,[["exit",l,t]]),_h(e,r,e.length,i),e},tokenize:function(e,t,n){const r=this;let o,i,a=r.events.length;for(;a--;)if(("labelImage"===r.events[a][1].type||"labelLink"===r.events[a][1].type)&&!r.events[a][1]._balanced){o=r.events[a][1];break}return function(t){return o?o._inactive?c(t):(i=r.parser.defined.includes(Rh(r.sliceSerialize({start:o.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),s):n(t)};function s(t){return 40===t?e.attempt(Rp,u,i?u:c)(t):91===t?e.attempt(Ip,u,i?l:c)(t):i?u(t):c(t)}function l(t){return e.attempt(Lp,u,c)(t)}function u(e){return t(e)}function c(e){return o._balanced=!0,n(e)}}},Rp={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return Uh(t)?bp(e,o)(t):o(t)}function o(t){return 41===t?u(t):gp(e,i,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function i(t){return Uh(t)?bp(e,s)(t):u(t)}function a(e){return n(e)}function s(t){return 34===t||39===t||40===t?vp(e,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):u(t)}function l(t){return Uh(t)?bp(e,u)(t):u(t)}function u(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},Ip={tokenize:function(e,t,n){const r=this;return function(t){return yp.call(r,e,o,i,"reference","referenceMarker","referenceString")(t)};function o(e){return r.parser.defined.includes(Rh(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function i(e){return n(e)}}},Lp={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}},Mp={name:"labelStartImage",resolveAll:Op.resolveAll,tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),o};function o(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),i):n(t)}function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}},Dp={name:"labelStartLink",resolveAll:Op.resolveAll,tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),o};function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}},Fp={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),qh(e,t,"linePrefix")}}},Np={name:"thematicBreak",tokenize:function(e,t,n){let r,o=0;return function(t){return e.enter("thematicBreak"),function(e){return r=e,i(e)}(t)};function i(i){return i===r?(e.enter("thematicBreakSequence"),a(i)):o>=3&&(null===i||zh(i))?(e.exit("thematicBreak"),t(i)):n(i)}function a(t){return t===r?(e.consume(t),o++,a):(e.exit("thematicBreakSequence"),Vh(t)?qh(e,i,"whitespace")(t):i(t))}}},jp={continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(tp,(function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,qh(e,t,"listItemIndent",r.containerState.size+1)(n)}),(function(n){return r.containerState.furtherBlankLines||!Vh(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Up,t,o)(n))}));function o(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,qh(e,e.attempt(jp,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){const r=this,o=r.events[r.events.length-1];let i=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,a=0;return function(t){const o=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===o?!r.containerState.marker||t===r.containerState.marker:Fh(t)){if(r.containerState.type||(r.containerState.type=o,e.enter(o,{_container:!0})),"listUnordered"===o)return e.enter("listItemPrefix"),42===t||45===t?e.check(Np,n,l)(t):l(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(t)}return n(t)};function s(t){return Fh(t)&&++a<10?(e.consume(t),s):(!r.interrupt||a<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),l(t)):n(t)}function l(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(tp,r.interrupt?n:u,e.attempt(zp,d,c))}function u(e){return r.containerState.initialBlankLine=!0,i++,d(e)}function c(t){return Vh(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),d):n(t)}function d(n){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},zp={partial:!0,tokenize:function(e,t,n){const r=this;return qh(e,(function(e){const o=r.events[r.events.length-1];return!Vh(e)&&o&&"listItemPrefixWhitespace"===o[1].type?t(e):n(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},Up={partial:!0,tokenize:function(e,t,n){const r=this;return qh(e,(function(e){const o=r.events[r.events.length-1];return o&&"listItemIndent"===o[1].type&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(e):n(e)}),"listItemIndent",r.containerState.size+1)}},Vp={name:"setextUnderline",resolveTo:function(e,t){let n,r,o,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){n=i;break}"paragraph"===e[i][1].type&&(r=i)}else"content"===e[i][1].type&&e.splice(i,1),o||"definition"!==e[i][1].type||(o=i);const a={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",a,t]),e.splice(o+1,0,["exit",e[n][1],t]),e[n][1].end={...e[o][1].end}):e[n][1]=a,e.push(["exit",a,t]),e},tokenize:function(e,t,n){const r=this;let o;return function(t){let a,s=r.events.length;for(;s--;)if("lineEnding"!==r.events[s][1].type&&"linePrefix"!==r.events[s][1].type&&"content"!==r.events[s][1].type){a="paragraph"===r.events[s][1].type;break}return r.parser.lazy[r.now().line]||!r.interrupt&&!a?n(t):(e.enter("setextHeadingLine"),o=t,function(t){return e.enter("setextHeadingLineSequence"),i(t)}(t))};function i(t){return t===o?(e.consume(t),i):(e.exit("setextHeadingLineSequence"),Vh(t)?qh(e,a,"lineSuffix")(t):a(t))}function a(r){return null===r||zh(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}},Bp={tokenize:function(e){const t=this,n=e.attempt(tp,(function(r){if(null!==r)return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n;e.consume(r)}),e.attempt(this.parser.constructs.flowInitial,r,qh(e,e.attempt(this.parser.constructs.flow,r,e.attempt(pp,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}},$p={resolveAll:Kp()},Hp=qp("string"),Wp=qp("text");function qp(e){return{resolveAll:Kp("text"===e?Qp:void 0),tokenize:function(t){const n=this,r=this.parser.constructs[e],o=t.attempt(r,i,a);return i;function i(e){return l(e)?o(e):a(e)}function a(e){if(null!==e)return t.enter("data"),t.consume(e),s;t.consume(e)}function s(e){return l(e)?(t.exit("data"),o(e)):(t.consume(e),s)}function l(e){if(null===e)return!0;const t=r[e];let o=-1;if(t)for(;++o<t.length;){const e=t[o];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}}function Kp(e){return function(t,n){let r,o=-1;for(;++o<=t.length;)void 0===r?t[o]&&"data"===t[o][1].type&&(r=o,o++):t[o]&&"data"===t[o][1].type||(o!==r+2&&(t[r][1].end=t[o-1][1].end,t.splice(r+2,o-r-2),o=r+2),r=void 0);return e?e(t,n):t}}function Qp(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){const r=e[n-1][1],o=t.sliceStream(r);let i,a=o.length,s=-1,l=0;for(;a--;){const e=o[a];if("string"==typeof e){for(s=e.length;32===e.charCodeAt(s-1);)l++,s--;if(s)break;s=-1}else if(-2===e)i=!0,l++;else if(-1!==e){a++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(l=0),l){const o={type:n===e.length||i||l<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?s:r.start._bufferIndex+s,_index:r.start._index+a,line:r.end.line,column:r.end.column-l,offset:r.end.offset-l},end:{...r.end}};r.end={...o.start},r.start.offset===r.end.offset?Object.assign(r,o):(e.splice(n,0,["enter",o,t],["exit",o,t]),n+=2)}n++}return e}const Yp={42:jp,43:jp,45:jp,48:jp,49:jp,50:jp,51:jp,52:jp,53:jp,54:jp,55:jp,56:jp,57:jp,62:np},Gp={91:wp},Jp={[-2]:sp,[-1]:sp,32:sp},Xp={35:xp,42:Np,45:[Vp,Np],60:Ep,61:Vp,95:Np,96:ap,126:ap},Zp={38:op,92:rp},em={[-5]:Fp,[-4]:Fp,[-3]:Fp,33:Mp,38:op,42:Xh,60:[ep,Pp],91:Dp,92:[Sp,rp],93:Op,95:Xh,96:up},tm={null:[Xh,$p]};var nm=Object.freeze({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:Gp,disable:{null:[]},document:Yp,flow:Xp,flowInitial:Jp,insideSpan:tm,string:Zp,text:em});function rm(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const o={},i=[];let a=[],s=[];const l={attempt:m((function(e,t){g(e,t.from)})),check:m(p),consume:function(e){zh(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,y()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=e},enter:function(e,t){const n=t||{};return n.type=e,n.start=f(),u.events.push(["enter",n,u]),s.push(n),n},exit:function(e){const t=s.pop();return t.end=f(),u.events.push(["exit",t,u]),t},interrupt:m(p,{interrupt:!0})},u={code:null,containerState:{},defineSkip:function(e){o[e.line]=e.column,y()},events:[],now:f,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let n=-1;const r=[];let o;for(;++n<e.length;){const i=e[n];let a;if("string"==typeof i)a=i;else switch(i){case-5:a="\r";break;case-4:a="\n";break;case-3:a="\r\n";break;case-2:a=t?" ":"\t";break;case-1:if(!t&&o)continue;a=" ";break;default:a=String.fromCharCode(i)}o=-2===i,r.push(a)}return r.join("")}(d(e),t)},sliceStream:d,write:function(e){return a=Ch(a,e),function(){let e;for(;r._index<a.length;){const t=a[r._index];if("string"==typeof t)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)h(t.charCodeAt(r._bufferIndex));else h(t)}}(),null!==a[a.length-1]?[]:(g(t,0),u.events=Jh(i,u.events,u),u.events)}};let c=t.tokenize.call(u,l);return t.resolveAll&&i.push(t),u;function d(e){return function(e,t){const n=t.start._index,r=t.start._bufferIndex,o=t.end._index,i=t.end._bufferIndex;let a;if(n===o)a=[e[n].slice(r,i)];else{if(a=e.slice(n,o),r>-1){const e=a[0];"string"==typeof e?a[0]=e.slice(r):a.shift()}i>0&&a.push(e[o].slice(0,i))}return a}(a,e)}function f(){const{_bufferIndex:e,_index:t,line:n,column:o,offset:i}=r;return{_bufferIndex:e,_index:t,line:n,column:o,offset:i}}function h(e){c=c(e)}function p(e,t){t.restore()}function m(e,t){return function(n,o,i){let a,c,d,h;return Array.isArray(n)?p(n):"tokenize"in n?p([n]):function(e){return function(t){const n=null!==t&&e[t],r=null!==t&&e.null;return p([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}(n);function p(e){return a=e,c=0,0===e.length?i:m(e[c])}function m(e){return function(n){return h=function(){const e=f(),t=u.previous,n=u.currentConstruct,o=u.events.length,i=Array.from(s);return{from:o,restore:function(){r=e,u.previous=t,u.currentConstruct=n,u.events.length=o,s=i,y()}}}(),d=e,e.partial||(u.currentConstruct=e),e.name&&u.parser.constructs.disable.null.includes(e.name)?v():e.tokenize.call(t?Object.assign(Object.create(u),t):u,l,g,v)(n)}}function g(t){return e(d,h),o}function v(e){return h.restore(),++c<a.length?m(a[c]):i}}}function g(e,t){e.resolveAll&&!i.includes(e)&&i.push(e),e.resolve&&_h(u.events,t,u.events.length-t,e.resolve(u.events.slice(t),u)),e.resolveTo&&(u.events=e.resolveTo(u.events,u))}function y(){r.line in o&&r.column<2&&(r.column=o[r.line],r.offset+=o[r.line]-1)}}const om=/[\0\t\n\r]/g,im=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function am(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return Oh(n.slice(t?2:1),t?16:10)}return xh(n)||e}const sm={}.hasOwnProperty;function lm(e,t,n){return"string"!=typeof t&&(n=t,t=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(v),autolinkProtocol:c,autolinkEmail:c,atxHeading:o(m),blockQuote:o((function(){return{type:"blockquote",children:[]}})),characterEscape:c,characterReference:c,codeFenced:o(p),codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:o(p,i),codeText:o((function(){return{type:"inlineCode",value:""}}),i),codeTextData:c,data:c,codeFlowValue:c,definition:o((function(){return{type:"definition",identifier:"",label:null,title:null,url:""}})),definitionDestinationString:i,definitionLabelString:i,definitionTitleString:i,emphasis:o((function(){return{type:"emphasis",children:[]}})),hardBreakEscape:o(g),hardBreakTrailing:o(g),htmlFlow:o(y,i),htmlFlowData:c,htmlText:o(y,i),htmlTextData:c,image:o((function(){return{type:"image",title:null,url:"",alt:null}})),label:i,link:o(v),listItem:o((function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}})),listItemValue:function(e){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:o(b,(function(){this.data.expectingFirstListItemValue=!0})),listUnordered:o(b),paragraph:o((function(){return{type:"paragraph",children:[]}})),reference:function(){this.data.referenceType="collapsed"},referenceString:i,resourceDestinationString:i,resourceTitleString:i,setextHeading:o(m),strong:o((function(){return{type:"strong",children:[]}})),thematicBreak:o((function(){return{type:"thematicBreak"}}))},exit:{atxHeading:s(),atxHeadingSequence:function(e){const t=this.stack[this.stack.length-1];if(!t.depth){const n=this.sliceSerialize(e).length;t.depth=n}},autolink:s(),autolinkEmail:function(e){d.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){d.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:s(),characterEscapeValue:d,characterReferenceMarkerHexadecimal:h,characterReferenceMarkerNumeric:h,characterReferenceValue:function(e){const t=this.sliceSerialize(e),n=this.data.characterReferenceType;let r;n?(r=Oh(t,"characterReferenceMarkerNumeric"===n?10:16),this.data.characterReferenceType=void 0):r=xh(t);this.stack[this.stack.length-1].value+=r},characterReference:function(e){this.stack.pop().position.end=um(e.end)},codeFenced:s((function(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0})),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){const e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){const e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:d,codeIndented:s((function(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")})),codeText:s((function(){const e=this.resume();this.stack[this.stack.length-1].value=e})),codeTextData:d,data:d,definition:s(),definitionDestinationString:function(){const e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=Rh(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){const e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:s(),hardBreakEscape:s(f),hardBreakTrailing:s(f),htmlFlow:s((function(){const e=this.resume();this.stack[this.stack.length-1].value=e})),htmlFlowData:d,htmlText:s((function(){const e=this.resume();this.stack[this.stack.length-1].value=e})),htmlTextData:d,image:s((function(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0})),label:function(){const e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];if(this.data.inReference=!0,"link"===n.type){const t=e.children;n.children=t}else n.alt=t},labelText:function(e){const t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=function(e){return e.replace(im,am)}(t),n.identifier=Rh(t).toLowerCase()},lineEnding:function(e){const n=this.stack[this.stack.length-1];if(this.data.atHardBreak)return n.children[n.children.length-1].position.end=um(e.end),void(this.data.atHardBreak=void 0);!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(c.call(this,e),d.call(this,e))},link:s((function(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0})),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:function(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=Rh(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){const e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){const e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){this.data.inReference=void 0},setextHeading:s((function(){this.data.setextHeadingSlurpLineEnding=void 0})),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:s(),thematicBreak:s()}};cm(t,(e||{}).mdastExtensions||[]);const n={};return function(e){let o={type:"root",children:[]};const s={stack:[o],tokenStack:[],config:t,enter:a,exit:l,buffer:i,resume:u,data:n},c=[];let d=-1;for(;++d<e.length;)"listOrdered"!==e[d][1].type&&"listUnordered"!==e[d][1].type||("enter"===e[d][0]?c.push(d):d=r(e,c.pop(),d));for(d=-1;++d<e.length;){const n=t[e[d][0]];sm.call(n,e[d][1].type)&&n[e[d][1].type].call(Object.assign({sliceSerialize:e[d][2].sliceSerialize},s),e[d][1])}if(s.tokenStack.length>0){const e=s.tokenStack[s.tokenStack.length-1];(e[1]||fm).call(s,void 0,e[0])}for(o.position={start:um(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:um(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},d=-1;++d<t.transforms.length;)o=t.transforms[d](o)||o;return o};function r(e,t,n){let r,o,i,a,s=t-1,l=-1,u=!1;for(;++s<=n;){const t=e[s];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?l++:l--,a=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||a||l||i||(i=s),a=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:a=void 0}if(!l&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===l&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let a=s;for(o=void 0;a--;){const t=e[a];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;o&&(e[o][1].type="lineEndingBlank",u=!0),t[1].type="lineEnding",o=a}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break}i&&(!o||i<o)&&(r._spread=!0),r.end=Object.assign({},o?e[o][1].start:t[1].end),e.splice(o||s,0,["exit",r,t[2]]),s++,n++}if("listItemPrefix"===t[1].type){const o={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=o,e.splice(s,0,["enter",o,t[2]]),s++,n++,i=void 0,a=!0}}}return e[t][1]._spread=u,n}function o(e,t){return function(n){a.call(this,e(n),n),t&&t.call(this,n)}}function i(){this.stack.push({type:"fragment",children:[]})}function a(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:um(t.start),end:void 0}}function s(e){return function(t){e&&e.call(this,t),l.call(this,t)}}function l(e,t){const n=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw new Error("Cannot close `"+e.type+"` ("+Jf({start:e.start,end:e.end})+"): it’s not open");r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||fm).call(this,e,r[0])),n.position.end=um(e.end)}function u(){return bh(this.stack.pop())}function c(e){const t=this.stack[this.stack.length-1].children;let n=t[t.length-1];n&&"text"===n.type||(n={type:"text",value:""},n.position={start:um(e.start),end:void 0},t.push(n)),this.stack.push(n)}function d(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=um(e.end)}function f(){this.data.atHardBreak=!0}function h(e){this.data.characterReferenceType=e.type}function p(){return{type:"code",lang:null,meta:null,value:""}}function m(){return{type:"heading",depth:0,children:[]}}function g(){return{type:"break"}}function y(){return{type:"html",value:""}}function v(){return{type:"link",title:null,url:"",children:[]}}function b(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}}(n)(function(e){for(;!fp(e););return e}(function(e){const t={constructs:Th([nm,...(e||{}).extensions||[]]),content:n(Kh),defined:[],document:n(Qh),flow:n(Bp),lazy:{},string:n(Hp),text:n(Wp)};return t;function n(e){return n=>rm(t,e,n)}}(n).document().write(function(){let e,t=1,n="",r=!0;return(o,i,a)=>{const s=[];let l,u,c,d,f;for(o=n+("string"==typeof o?o.toString():new TextDecoder(i||void 0).decode(o)),c=0,n="",r&&(65279===o.charCodeAt(0)&&c++,r=void 0);c<o.length;){if(om.lastIndex=c,l=om.exec(o),d=l&&void 0!==l.index?l.index:o.length,f=o.charCodeAt(d),!l){n=o.slice(c);break}if(10===f&&c===d&&e)s.push(-3),e=void 0;else switch(e&&(s.push(-5),e=void 0),c<d&&(s.push(o.slice(c,d)),t+=d-c),f){case 0:s.push(65533),t++;break;case 9:for(u=4*Math.ceil(t/4),s.push(-2);t++<u;)s.push(-1);break;case 10:s.push(-4),t=1;break;default:e=!0,t=1}c=d+1}return a&&(e&&s.push(-5),n&&s.push(n),s.push(null)),s}}()(e,t,!0))))}function um(e){return{line:e.line,column:e.column,offset:e.offset}}function cm(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?cm(e,r):dm(e,r)}}function dm(e,t){let n;for(n in t)if(sm.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function fm(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Jf({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Jf({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Jf({start:t.start,end:t.end})+") is still open")}function hm(e){const t=this;t.parser=function(n){return lm(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function pm(e,t){const n=t.referenceType;let r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];const o=e.all(t),i=o[0];i&&"text"===i.type?i.value="["+i.value:o.unshift({type:"text",value:"["});const a=o[o.length-1];return a&&"text"===a.type?a.value+=r:o.push({type:"text",value:r}),o}function mm(e){return e.spread??e.children.length>1}function gm(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),o=0;const i=[];for(;r;)i.push(ym(t.slice(o,r.index),o>0,!0),r[0]),o=r.index+r[0].length,r=n.exec(t);return i.push(ym(t.slice(o),o>0,!1)),i.join("")}function ym(e,t,n){let r=0,o=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(o-1);for(;9===t||32===t;)o--,t=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}const vm={blockquote:function(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){const n=t.value?t.value+"\n":"",r={};t.lang&&(r.className=["language-"+t.lang]);let o={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o},delete:function(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){const n="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),o=Wh(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);let a,s=e.footnoteCounts.get(r);void 0===s?(s=0,e.footnoteOrder.push(r),a=e.footnoteOrder.length):a=i+1,s+=1,e.footnoteCounts.set(r,s);const l={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+o,id:n+"fnref-"+o+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};e.patch(t,l);const u={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,u),e.applyData(t,u)},heading:function(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return pm(e,t);const o={src:Wh(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(o.title=r.title);const i={type:"element",tagName:"img",properties:o,children:[]};return e.patch(t,i),e.applyData(t,i)},image:function(e,t){const n={src:Wh(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return pm(e,t);const o={href:Wh(r.url||"")};null!==r.title&&void 0!==r.title&&(o.title=r.title);const i={type:"element",tagName:"a",properties:o,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},link:function(e,t){const n={href:Wh(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){const r=e.all(t),o=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=mm(n[r])}return t}(n):mm(t),i={},a=[];if("boolean"==typeof t.checked){const e=r[0];let n;e&&"element"===e.type&&"p"===e.tagName?n=e:(n={type:"element",tagName:"p",properties:{},children:[]},r.unshift(n)),n.children.length>0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let s=-1;for(;++s<r.length;){const e=r[s];(o||0!==s||"element"!==e.type||"p"!==e.tagName)&&a.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||o?a.push(e):a.push(...e.children)}const l=r[r.length-1];l&&(o||"element"!==l.type||"p"!==l.tagName)&&a.push({type:"text",value:"\n"});const u={type:"element",tagName:"li",properties:i,children:a};return e.patch(t,u),e.applyData(t,u)},list:function(e,t){const n={},r=e.all(t);let o=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++o<r.length;){const e=r[o];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const i={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,i),e.applyData(t,i)},paragraph:function(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){const n=e.all(t),r=n.shift(),o=[];if(r){const n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),o.push(n)}if(n.length>0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},i=Yf(t.children[1]),a=Qf(t.children[t.children.length-1]);i&&a&&(r.position={start:i,end:a}),o.push(r)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,i),e.applyData(t,i)},tableCell:function(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){const r=n?n.children:void 0,o=0===(r?r.indexOf(t):1)?"th":"td",i=n&&"table"===n.type?n.align:void 0,a=i?i.length:t.children.length;let s=-1;const l=[];for(;++s<a;){const n=t.children[s],r={},a=i?i[s]:void 0;a&&(r.align=a);let u={type:"element",tagName:o,properties:r,children:[]};n&&(u.children=e.all(n),e.patch(n,u),u=e.applyData(n,u)),l.push(u)}const u={type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)};return e.patch(t,u),e.applyData(t,u)},text:function(e,t){const n={type:"text",value:gm(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:bm,yaml:bm,definition:bm,footnoteDefinition:bm};function bm(){}const wm="object"==typeof self?self:globalThis,km=e=>((e,t)=>{const n=(t,n)=>(e.set(n,t),t),r=o=>{if(e.has(o))return e.get(o);const[i,a]=t[o];switch(i){case 0:case-1:return n(a,o);case 1:{const e=n([],o);for(const t of a)e.push(r(t));return e}case 2:{const e=n({},o);for(const[t,n]of a)e[r(t)]=r(n);return e}case 3:return n(new Date(a),o);case 4:{const{source:e,flags:t}=a;return n(new RegExp(e,t),o)}case 5:{const e=n(new Map,o);for(const[t,n]of a)e.set(r(t),r(n));return e}case 6:{const e=n(new Set,o);for(const t of a)e.add(r(t));return e}case 7:{const{name:e,message:t}=a;return n(new wm[e](t),o)}case 8:return n(BigInt(a),o);case"BigInt":return n(Object(BigInt(a)),o);case"ArrayBuffer":return n(new Uint8Array(a).buffer,a);case"DataView":{const{buffer:e}=new Uint8Array(a);return n(new DataView(e),a)}}return n(new wm[i](a),o)};return r})(new Map,e)(0),Sm="",{toString:xm}={},{keys:_m}=Object,Cm=e=>{const t=typeof e;if("object"!==t||!e)return[0,t];const n=xm.call(e).slice(8,-1);switch(n){case"Array":return[1,Sm];case"Object":return[2,Sm];case"Date":return[3,Sm];case"RegExp":return[4,Sm];case"Map":return[5,Sm];case"Set":return[6,Sm];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},Em=([e,t])=>0===e&&("function"===t||"symbol"===t),Tm=(e,{json:t,lossy:n}={})=>{const r=[];return((e,t,n,r)=>{const o=(e,t)=>{const o=r.push(e)-1;return n.set(t,o),o},i=r=>{if(n.has(r))return n.get(r);let[a,s]=Cm(r);switch(a){case 0:{let t=r;switch(s){case"bigint":a=8,t=r.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+s);t=null;break;case"undefined":return o([-1],r)}return o([a,t],r)}case 1:{if(s){let e=r;return"DataView"===s?e=new Uint8Array(r.buffer):"ArrayBuffer"===s&&(e=new Uint8Array(r)),o([s,[...e]],r)}const e=[],t=o([a,e],r);for(const t of r)e.push(i(t));return t}case 2:{if(s)switch(s){case"BigInt":return o([s,r.toString()],r);case"Boolean":case"Number":case"String":return o([s,r.valueOf()],r)}if(t&&"toJSON"in r)return i(r.toJSON());const n=[],l=o([a,n],r);for(const t of _m(r))!e&&Em(Cm(r[t]))||n.push([i(t),i(r[t])]);return l}case 3:return o([a,r.toISOString()],r);case 4:{const{source:e,flags:t}=r;return o([a,{source:e,flags:t}],r)}case 5:{const t=[],n=o([a,t],r);for(const[n,o]of r)(e||!Em(Cm(n))&&!Em(Cm(o)))&&t.push([i(n),i(o)]);return n}case 6:{const t=[],n=o([a,t],r);for(const n of r)!e&&Em(Cm(n))||t.push(i(n));return n}}const{message:l}=r;return o([a,{name:s,message:l}],r)};return i})(!(t||n),!!t,new Map,r)(e),r};var Am="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?km(Tm(e,t)):structuredClone(e):(e,t)=>km(Tm(e,t));function Pm(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function Om(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}const Rm=function(e){if(null==e)return Lm;if("function"==typeof e)return Im(e);if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Rm(e[n]);return Im((function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}))}(e):function(e){const t=e;return Im((function(n){const r=n;let o;for(o in e)if(r[o]!==t[o])return!1;return!0}))}(e);if("string"==typeof e)return function(e){return Im((function(t){return t&&t.type===e}))}(e);throw new Error("Expected function, string, or object as test")};function Im(e){return function(t,n,r){return Boolean(function(e){return null!==e&&"object"==typeof e&&"type"in e}(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function Lm(){return!0}const Mm=[],Dm=!1;function Fm(e,t,n,r){let o;"function"==typeof t&&"function"!=typeof n?(r=n,n=t):o=t;const i=Rm(o),a=r?-1:1;!function e(o,s,l){const u=o&&"object"==typeof o?o:{};if("string"==typeof u.type){const e="string"==typeof u.tagName?u.tagName:"string"==typeof u.name?u.name:void 0;Object.defineProperty(c,"name",{value:"node ("+o.type+(e?"<"+e+">":"")+")"})}return c;function c(){let u,c,d,f=Mm;if((!t||i(o,s,l[l.length-1]||void 0))&&(f=function(e){return Array.isArray(e)?e:"number"==typeof e?[true,e]:null==e?Mm:[e]}(n(o,l)),f[0]===Dm))return f;if("children"in o&&o.children){const t=o;if(t.children&&"skip"!==f[0])for(c=(r?t.children.length:-1)+a,d=l.concat(t);c>-1&&c<t.children.length;){const n=t.children[c];if(u=e(n,c,d)(),u[0]===Dm)return u;c="number"==typeof u[1]?u[1]:c+a}}return f}}(e,void 0,[])()}function Nm(e,t,n,r){let o,i,a;"function"==typeof t&&"function"!=typeof n?(i=void 0,a=t,o=n):(i=t,a=n,o=r),Fm(e,i,(function(e,t){const n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return a(e,r,n)}),o)}const jm={}.hasOwnProperty,zm={};function Um(e,t){e.position&&(t.position=function(e){const t=Yf(e),n=Qf(e);if(t&&n)return{start:t,end:n}}(e))}function Vm(e,t){let n=t;if(e&&e.data){const t=e.data.hName,r=e.data.hChildren,o=e.data.hProperties;"string"==typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}),"element"===n.type&&o&&Object.assign(n.properties,Am(o)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function Bm(e,t){const n=t.data||{},r=!("value"in t)||jm.call(n,"hProperties")||jm.call(n,"hChildren")?{type:"element",tagName:"div",properties:{},children:e.all(t)}:{type:"text",value:t.value};return e.patch(t,r),e.applyData(t,r)}function $m(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function Hm(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function Wm(e,t){const n=function(e,t){const n=t||zm,r=new Map,o=new Map,i=new Map,a={...vm,...n.handlers},s={all:e=>{const t=[];if("children"in e){const n=e.children;let r=-1;for(;++r<n.length;){const o=s.one(n[r],e);if(o){if(r&&"break"===n[r-1].type&&(Array.isArray(o)||"text"!==o.type||(o.value=Hm(o.value)),!Array.isArray(o)&&"element"===o.type)){const e=o.children[0];e&&"text"===e.type&&(e.value=Hm(e.value))}Array.isArray(o)?t.push(...o):t.push(o)}}}return t},applyData:Vm,definitionById:r,footnoteById:o,footnoteCounts:i,footnoteOrder:[],handlers:a,one:(e,t)=>{const n=e.type,r=s.handlers[n];if(jm.call(s.handlers,n)&&r)return r(s,e,t);if(s.options.passThrough&&s.options.passThrough.includes(n)){if("children"in e){const{children:t,...n}=e,r=Am(n);return r.children=s.all(e),r}return Am(e)}return(s.options.unknownHandler||Bm)(s,e,t)},options:n,patch:Um,wrap:$m};return Nm(e,(e=>{if("definition"===e.type||"footnoteDefinition"===e.type){const t="definition"===e.type?r:o,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}})),s}(e,t),r=n.one(e,void 0),o=function(e){const t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||Pm,r=e.options.footnoteBackLabel||Om,o=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",a=e.options.footnoteLabelProperties||{className:["sr-only"]},s=[];let l=-1;for(;++l<e.footnoteOrder.length;){const o=e.footnoteById.get(e.footnoteOrder[l]);if(!o)continue;const i=e.all(o),a=String(o.identifier).toUpperCase(),u=Wh(a.toLowerCase());let c=0;const d=[],f=e.footnoteCounts.get(a);for(;void 0!==f&&++c<=f;){d.length>0&&d.push({type:"text",value:" "});let e="string"==typeof n?n:n(l,c);"string"==typeof e&&(e={type:"text",value:e}),d.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+u+(c>1?"-"+c:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(l,c),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}const h=i[i.length-1];if(h&&"element"===h.type&&"p"===h.tagName){const e=h.children[h.children.length-1];e&&"text"===e.type?e.value+=" ":h.children.push({type:"text",value:" "}),h.children.push(...d)}else i.push(...d);const p={type:"element",tagName:"li",properties:{id:t+"fn-"+u},children:e.wrap(i,!0)};e.patch(o,p),s.push(p)}if(0!==s.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...Am(a),id:"footnote-label"},children:[{type:"text",value:o}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)},{type:"text",value:"\n"}]}}(n),i=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return o&&i.children.push({type:"text",value:"\n"},o),i}function qm(e,t){return e&&"run"in e?async(n,r)=>{const o=Wm(n,{file:r,...t});await e.run(o,r)}:(n,r)=>Wm(n,{file:r,...e||t})}function Km(e){if(e)throw e}var Qm,Ym,Gm=function(){if(Ym)return Qm;Ym=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===t.call(e)},i=function(n){if(!n||"[object Object]"!==t.call(n))return!1;var r,o=e.call(n,"constructor"),i=n.constructor&&n.constructor.prototype&&e.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!o&&!i)return!1;for(r in n);return void 0===r||e.call(n,r)},a=function(e,t){n&&"__proto__"===t.name?n(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},s=function(t,n){if("__proto__"===n){if(!e.call(t,n))return;if(r)return r(t,n).value}return t[n]};return Qm=function e(){var t,n,r,l,u,c,d=arguments[0],f=1,h=arguments.length,p=!1;for("boolean"==typeof d&&(p=d,d=arguments[1]||{},f=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});f<h;++f)if(null!=(t=arguments[f]))for(n in t)r=s(d,n),d!==(l=s(t,n))&&(p&&l&&(i(l)||(u=o(l)))?(u?(u=!1,c=r&&o(r)?r:[]):c=r&&i(r)?r:{},a(d,{name:n,newValue:e(p,c,l)})):void 0!==l&&a(d,{name:n,newValue:l}));return d},Qm}(),Jm=t(Gm);function Xm(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}const Zm=function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');og(e);let n,r=0,o=-1,i=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else o<0&&(n=!0,o=i+1);return o<0?"":e.slice(r,o)}if(t===e)return"";let a=-1,s=t.length-1;for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else a<0&&(n=!0,a=i+1),s>-1&&(e.codePointAt(i)===t.codePointAt(s--)?s<0&&(o=i):(s=-1,o=a));return r===o?o=a:o<0&&(o=e.length),e.slice(r,o)},eg=function(e){if(og(e),0===e.length)return".";let t,n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},tg=function(e){og(e);let t,n=e.length,r=-1,o=0,i=-1,a=0;for(;n--;){const s=e.codePointAt(n);if(47!==s)r<0&&(t=!0,r=n+1),46===s?i<0?i=n:1!==a&&(a=1):i>-1&&(a=-1);else if(t){o=n+1;break}}return i<0||r<0||0===a||1===a&&i===r-1&&i===o+1?"":e.slice(i,r)},ng=function(...e){let t,n=-1;for(;++n<e.length;)og(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){og(e);const t=47===e.codePointAt(0);let n=function(e,t){let n,r,o="",i=0,a=-1,s=0,l=-1;for(;++l<=e.length;){if(l<e.length)n=e.codePointAt(l);else{if(47===n)break;n=47}if(47===n){if(a===l-1||1===s);else if(a!==l-1&&2===s){if(o.length<2||2!==i||46!==o.codePointAt(o.length-1)||46!==o.codePointAt(o.length-2))if(o.length>2){if(r=o.lastIndexOf("/"),r!==o.length-1){r<0?(o="",i=0):(o=o.slice(0,r),i=o.length-1-o.lastIndexOf("/")),a=l,s=0;continue}}else if(o.length>0){o="",i=0,a=l,s=0;continue}t&&(o=o.length>0?o+"/..":"..",i=2)}else o.length>0?o+="/"+e.slice(a+1,l):o=e.slice(a+1,l),i=l-a-1;a=l,s=0}else 46===n&&s>-1?s++:s=-1}return o}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)},rg="/";function og(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const ig=function(){return"/"};function ag(e){return Boolean(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}const sg=["history","path","basename","stem","extname","dirname"];class lg{constructor(e){let t;t=e?ag(e)?{path:e}:"string"==typeof e||function(e){return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd="cwd"in t?"":ig(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n,r=-1;for(;++r<sg.length;){const e=sg[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)sg.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?Zm(this.path):void 0}set basename(e){cg(e,"basename"),ug(e,"basename"),this.path=ng(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?eg(this.path):void 0}set dirname(e){dg(this.basename,"dirname"),this.path=ng(e||"",this.basename)}get extname(){return"string"==typeof this.path?tg(this.path):void 0}set extname(e){if(ug(e,"extname"),dg(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=ng(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){ag(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!ag(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){const e=t.codePointAt(n+2);if(70===e||102===e){const e=new TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),cg(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?Zm(this.path,this.extname):void 0}set stem(e){cg(e,"stem"),ug(e,"stem"),this.path=ng(this.dirname||"",e+(this.extname||""))}fail(e,t,n){const r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){const r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){const r=new th(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){return void 0===this.value?"":"string"==typeof this.value?this.value:new TextDecoder(e||void 0).decode(this.value)}}function ug(e,t){if(e&&e.includes(rg))throw new Error("`"+t+"` cannot be a path: did not expect `"+rg+"`")}function cg(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function dg(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}const fg=function(e){const t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r},hg={}.hasOwnProperty;class pg extends fg{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=function(){const e=[],t={run:function(...t){let n=-1;const r=t.pop();if("function"!=typeof r)throw new TypeError("Expected function as last argument, not "+r);!function o(i,...a){const s=e[++n];let l=-1;if(i)r(i);else{for(;++l<t.length;)null!==a[l]&&void 0!==a[l]||(a[l]=t[l]);t=a,s?function(e,t){let n;return function(...t){const i=e.length>t.length;let a;i&&t.push(r);try{a=e.apply(this,t)}catch(e){if(i&&n)throw e;return r(e)}i||(a&&a.then&&"function"==typeof a.then?a.then(o,r):a instanceof Error?r(a):o(a))};function r(e,...r){n||(n=!0,t(e,...r))}function o(e){r(null,e)}}(s,o)(...a):r(null,...a)}}(null,...t)},use:function(n){if("function"!=typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}()}copy(){const e=new pg;let t=-1;for(;++t<this.attachers.length;){const n=this.attachers[t];e.use(...n)}return e.data(Jm(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2===arguments.length?(vg("data",this.frozen),this.namespace[e]=t,this):hg.call(this.namespace,e)&&this.namespace[e]||void 0:e?(vg("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;const e=this;for(;++this.freezeIndex<this.attachers.length;){const[t,...n]=this.attachers[this.freezeIndex];if(!1===n[0])continue;!0===n[0]&&(n[0]=void 0);const r=t.call(e,...n);"function"==typeof r&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();const t=kg(e),n=this.parser||this.Parser;return gg("parse",n),n(String(t),t)}process(e,t){const n=this;return this.freeze(),gg("process",this.parser||this.Parser),yg("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,o){const i=kg(e),a=n.parse(i);function s(e,n){e||!n?o(e):r?r(n):t(void 0,n)}n.run(a,i,((e,t,r)=>{if(e||!t||!r)return s(e);const o=t,i=n.stringify(o,r);var a;"string"==typeof(a=i)||(e=>Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e))(a)?r.value=i:r.result=i,s(e,r)}))}}processSync(e){let t,n=!1;return this.freeze(),gg("processSync",this.parser||this.Parser),yg("processSync",this.compiler||this.Compiler),this.process(e,(function(e,r){n=!0,Km(e),t=r})),wg("processSync","process",n),t}run(e,t,n){bg(e),this.freeze();const r=this.transformers;return n||"function"!=typeof t||(n=t,t=void 0),n?o(void 0,n):new Promise(o);function o(o,i){const a=kg(t);r.run(e,a,(function(t,r,a){const s=r||e;t?i(t):o?o(s):n(void 0,s,a)}))}}runSync(e,t){let n,r=!1;return this.run(e,t,(function(e,t){Km(e),n=t,r=!0})),wg("runSync","run",r),n}stringify(e,t){this.freeze();const n=kg(t),r=this.compiler||this.Compiler;return yg("stringify",r),bg(e),r(e,n)}use(e,...t){const n=this.attachers,r=this.namespace;if(vg("use",this.frozen),null==e);else if("function"==typeof e)s(e,t);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?a(e):i(e)}return this;function o(e){if("function"==typeof e)s(e,[]);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){const[t,...n]=e;s(t,n)}else i(e)}}function i(e){if(!("plugins"in e)&&!("settings"in e))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");a(e.plugins),e.settings&&(r.settings=Jm(!0,r.settings,e.settings))}function a(e){let t=-1;if(null==e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;)o(e[t])}}function s(e,t){let r=-1,o=-1;for(;++r<n.length;)if(n[r][0]===e){o=r;break}if(-1===o)n.push([e,...t]);else if(t.length>0){let[r,...i]=t;const a=n[o][1];Xm(a)&&Xm(r)&&(r=Jm(!0,a,r)),n[o]=[e,r,...i]}}}}const mg=(new pg).freeze();function gg(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `parser`")}function yg(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `compiler`")}function vg(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function bg(e){if(!Xm(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function wg(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function kg(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new lg(e)}const Sg=[],xg={allowDangerousHtml:!0},_g=/^(https?|ircs?|mailto|xmpp)$/i,Cg=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function Eg(e){const t=function(e){const t=e.rehypePlugins||Sg,n=e.remarkPlugins||Sg,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...xg}:xg;return mg().use(hm).use(n).use(qm,r).use(t)}(e),n=function(e){const t=e.children||"",n=new lg;return"string"==typeof t&&(n.value=t),n}(e);return function(e,t){const n=t.allowedElements,r=t.allowElement,o=t.components,i=t.disallowedElements,a=t.skipHtml,s=t.unwrapDisallowed,l=t.urlTransform||Tg;for(const e of Cg)Object.hasOwn(t,e.from)&&(e.from,e.to&&e.to,e.id);return Nm(e,(function(e,t,o){if("raw"===e.type&&o&&"number"==typeof t)return a?o.children.splice(t,1):o.children[t]={type:"text",value:e.value},t;if("element"===e.type){let t;for(t in yh)if(Object.hasOwn(yh,t)&&Object.hasOwn(e.properties,t)){const n=e.properties[t],r=yh[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=l(String(n||""),t,e))}}if("element"===e.type){let a=n?!n.includes(e.tagName):!!i&&i.includes(e.tagName);if(!a&&r&&"number"==typeof t&&(a=!r(e,t,o)),a&&o&&"number"==typeof t)return s&&e.children?o.children.splice(t,1,...e.children):o.children.splice(t,1),t}})),function(e,t){if(!t||void 0===t.Fragment)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if("function"!=typeof t.jsxDEV)throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=function(e,t){return function(n,r,o,i){const a=Array.isArray(o.children),s=Yf(n);return t(r,o,i,a,{columnNumber:s?s.column-1:void 0,fileName:e,lineNumber:s?s.line:void 0},void 0)}}(n,t.jsxDEV)}else{if("function"!=typeof t.jsx)throw new TypeError("Expected `jsx` in production options");if("function"!=typeof t.jsxs)throw new TypeError("Expected `jsxs` in production options");r=function(e,t,n){return function(e,r,o,i){const a=Array.isArray(o.children)?n:t;return i?a(r,o,i):a(r,o)}}(0,t.jsx,t.jsxs)}const o={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?jf:Nf,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},i=lh(o,e,void 0);return i&&"string"!=typeof i?i:o.create(e,o.Fragment,{children:i||void 0},void 0)}(e,{Fragment:b.Fragment,components:o,ignoreInvalidStyle:!0,jsx:b.jsx,jsxs:b.jsxs,passKeys:!0,passNode:!0})}(t.runSync(t.parse(n),n),e)}function Tg(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),o=e.indexOf("/");return-1===t||-1!==o&&t>o||-1!==n&&t>n||-1!==r&&t>r||_g.test(e.slice(0,t))?e:""}function Ag(e,t){const n=String(e);if("string"!=typeof t)throw new TypeError("Expected character");let r=0,o=n.indexOf(t);for(;-1!==o;)r++,o=n.indexOf(t,o+t.length);return r}function Pg(e){return"string"==typeof e?new RegExp(function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e}function Og(e){return"function"==typeof e?e:()=>e}const Rg="phrasing",Ig=["autolink","link","image","label"];function Lg(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function Mg(e){this.config.enter.autolinkProtocol.call(this,e)}function Dg(e){this.config.exit.autolinkProtocol.call(this,e)}function Fg(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function Ng(e){this.config.exit.autolinkEmail.call(this,e)}function jg(e){this.exit(e)}function zg(e){!function(e,t,n){const r=Rm((n||{}).ignore||[]),o=function(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const e=n[r];t.push([Pg(e[0]),Og(e[1])])}return t}(t);let i=-1;for(;++i<o.length;)Fm(e,"text",a);function a(e,t){let n,a=-1;for(;++a<t.length;){const e=t[a],o=n?n.children:void 0;if(r(e,o?o.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){const n=t[t.length-1],r=o[i][0],a=o[i][1];let s=0;const l=n.children.indexOf(e);let u=!1,c=[];r.lastIndex=0;let d=r.exec(e.value);for(;d;){const n=d.index,o={index:d.index,input:d.input,stack:[...t,e]};let i=a(...d,o);if("string"==typeof i&&(i=i.length>0?{type:"text",value:i}:void 0),!1===i?r.lastIndex=n+1:(s!==n&&c.push({type:"text",value:e.value.slice(s,n)}),Array.isArray(i)?c.push(...i):i&&c.push(i),s=n+d[0].length,u=!0),!r.global)break;d=r.exec(e.value)}return u?(s<e.value.length&&c.push({type:"text",value:e.value.slice(s)}),n.children.splice(l,1,...c)):c=[e],l+c.length}(e,t)}}(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Ug],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,Vg]],{ignore:["link","linkReference"]})}function Ug(e,t,n,r,o){let i="";if(!Bg(o))return!1;if(/^w/i.test(t)&&(n=t+n,t="",i="http://"),!function(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}(n))return!1;const a=function(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const o=Ag(e,"(");let i=Ag(e,")");for(;-1!==r&&o>i;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),i++;return[e,n]}(n+r);if(!a[0])return!1;const s={type:"link",title:null,url:i+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[s,{type:"text",value:a[1]}]:s}function Vg(e,t,n,r){return!(!Bg(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function Bg(e,t){const n=e.input.charCodeAt(e.index-1);return(0===e.index||$h(n)||Bh(n))&&(!t||47!==n)}function $g(){this.buffer()}function Hg(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Wg(){this.buffer()}function qg(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function Kg(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Rh(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Qg(e){this.exit(e)}function Yg(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Rh(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Gg(e){this.exit(e)}function Jg(e,t,n,r){const o=n.createTracker(r);let i=o.move("[^");const a=n.enter("footnoteReference"),s=n.enter("reference");return i+=o.move(n.safe(n.associationId(e),{after:"]",before:i})),s(),a(),i+=o.move("]"),i}function Xg(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:function(e,n,r,o){const i=r.createTracker(o);let a=i.move("[^");const s=r.enter("footnoteDefinition"),l=r.enter("label");return a+=i.move(r.safe(r.associationId(e),{before:a,after:"]"})),l(),a+=i.move("]:"),e.children&&e.children.length>0&&(i.shift(4),a+=i.move((t?"\n":" ")+r.indentLines(r.containerFlow(e,i.current()),t?ey:Zg))),s(),a},footnoteReference:Jg},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]}}function Zg(e,t,n){return 0===t?e:ey(e,t,n)}function ey(e,t,n){return(n?"":"    ")+e}Jg.peek=function(){return"["};const ty=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function ny(e){this.enter({type:"delete",children:[]},e)}function ry(e){this.exit(e)}function oy(e,t,n,r){const o=n.createTracker(r),i=n.enter("strikethrough");let a=o.move("~~");return a+=n.containerPhrasing(e,{...o.current(),before:a,after:"~"}),a+=o.move("~~"),i(),a}function iy(e){return e.length}function ay(e){return null==e?"":String(e)}function sy(e){const t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function ly(e,t,n){return">"+(n?"":" ")+e}function uy(e,t){return cy(e,t.inConstruct,!0)&&!cy(e,t.notInConstruct,!1)}function cy(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function dy(e,t,n,r){let o=-1;for(;++o<n.unsafe.length;)if("\n"===n.unsafe[o].character&&uy(n.stack,n.unsafe[o]))return/[ \t]/.test(r.before)?"":" ";return"\\\n"}function fy(e,t,n){return(n?"":"    ")+e}function hy(e){const t=e.options.quote||'"';if('"'!==t&&"'"!==t)throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function py(e){return"&#x"+e.toString(16).toUpperCase()+";"}function my(e,t,n){const r=Gh(e),o=Gh(t);return void 0===r?void 0===o?"_"===n?{inside:!0,outside:!0}:{inside:!1,outside:!1}:1===o?{inside:!0,outside:!0}:{inside:!1,outside:!0}:1===r?void 0===o?{inside:!1,outside:!1}:1===o?{inside:!0,outside:!0}:{inside:!1,outside:!1}:void 0===o?{inside:!1,outside:!1}:1===o?{inside:!0,outside:!1}:{inside:!1,outside:!1}}function gy(e,t,n,r){const o=function(e){const t=e.options.emphasis||"*";if("*"!==t&&"_"!==t)throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}(n),i=n.enter("emphasis"),a=n.createTracker(r),s=a.move(o);let l=a.move(n.containerPhrasing(e,{after:o,before:s,...a.current()}));const u=l.charCodeAt(0),c=my(r.before.charCodeAt(r.before.length-1),u,o);c.inside&&(l=py(u)+l.slice(1));const d=l.charCodeAt(l.length-1),f=my(r.after.charCodeAt(0),d,o);f.inside&&(l=l.slice(0,-1)+py(d));const h=a.move(o);return i(),n.attentionEncodeSurroundingInfo={after:f.outside,before:c.outside},s+l+h}function yy(e){return e.value||""}function vy(e,t,n,r){const o=hy(n),i='"'===o?"Quote":"Apostrophe",a=n.enter("image");let s=n.enter("label");const l=n.createTracker(r);let u=l.move("![");return u+=l.move(n.safe(e.alt,{before:u,after:"]",...l.current()})),u+=l.move("]("),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),u+=l.move("<"),u+=l.move(n.safe(e.url,{before:u,after:">",...l.current()})),u+=l.move(">")):(s=n.enter("destinationRaw"),u+=l.move(n.safe(e.url,{before:u,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),u+=l.move(" "+o),u+=l.move(n.safe(e.title,{before:u,after:o,...l.current()})),u+=l.move(o),s()),u+=l.move(")"),a(),u}function by(e,t,n,r){const o=e.referenceType,i=n.enter("imageReference");let a=n.enter("label");const s=n.createTracker(r);let l=s.move("![");const u=n.safe(e.alt,{before:l,after:"]",...s.current()});l+=s.move(u+"]["),a();const c=n.stack;n.stack=[],a=n.enter("reference");const d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return a(),n.stack=c,i(),"full"!==o&&u&&u===d?"shortcut"===o?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function wy(e,t,n){let r=e.value||"",o="`",i=-1;for(;new RegExp("(^|[^`])"+o+"([^`]|$)").test(r);)o+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i<n.unsafe.length;){const e=n.unsafe[i],t=n.compilePattern(e);let o;if(e.atBreak)for(;o=t.exec(r);){let e=o.index;10===r.charCodeAt(e)&&13===r.charCodeAt(e-1)&&e--,r=r.slice(0,e)+" "+r.slice(o.index+1)}}return o+r+o}function ky(e,t){const n=bh(e);return Boolean(!t.options.resourceLink&&e.url&&!e.title&&e.children&&1===e.children.length&&"text"===e.children[0].type&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}function Sy(e,t,n,r){const o=hy(n),i='"'===o?"Quote":"Apostrophe",a=n.createTracker(r);let s,l;if(ky(e,n)){const t=n.stack;n.stack=[],s=n.enter("autolink");let r=a.move("<");return r+=a.move(n.containerPhrasing(e,{before:r,after:">",...a.current()})),r+=a.move(">"),s(),n.stack=t,r}s=n.enter("link"),l=n.enter("label");let u=a.move("[");return u+=a.move(n.containerPhrasing(e,{before:u,after:"](",...a.current()})),u+=a.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),u+=a.move("<"),u+=a.move(n.safe(e.url,{before:u,after:">",...a.current()})),u+=a.move(">")):(l=n.enter("destinationRaw"),u+=a.move(n.safe(e.url,{before:u,after:e.title?" ":")",...a.current()}))),l(),e.title&&(l=n.enter(`title${i}`),u+=a.move(" "+o),u+=a.move(n.safe(e.title,{before:u,after:o,...a.current()})),u+=a.move(o),l()),u+=a.move(")"),s(),u}function xy(e,t,n,r){const o=e.referenceType,i=n.enter("linkReference");let a=n.enter("label");const s=n.createTracker(r);let l=s.move("[");const u=n.containerPhrasing(e,{before:l,after:"]",...s.current()});l+=s.move(u+"]["),a();const c=n.stack;n.stack=[],a=n.enter("reference");const d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return a(),n.stack=c,i(),"full"!==o&&u&&u===d?"shortcut"===o?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function _y(e){const t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function Cy(e){const t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}oy.peek=function(){return"~"},gy.peek=function(e,t,n){return n.options.emphasis||"*"},yy.peek=function(){return"<"},vy.peek=function(){return"!"},by.peek=function(){return"!"},wy.peek=function(){return"`"},Sy.peek=function(e,t,n){return ky(e,n)?"<":"["},xy.peek=function(){return"["};const Ey=Rm(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function Ty(e,t,n,r){const o=function(e){const t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),i=n.enter("strong"),a=n.createTracker(r),s=a.move(o+o);let l=a.move(n.containerPhrasing(e,{after:o,before:s,...a.current()}));const u=l.charCodeAt(0),c=my(r.before.charCodeAt(r.before.length-1),u,o);c.inside&&(l=py(u)+l.slice(1));const d=l.charCodeAt(l.length-1),f=my(r.after.charCodeAt(0),d,o);f.inside&&(l=l.slice(0,-1)+py(d));const h=a.move(o+o);return i(),n.attentionEncodeSurroundingInfo={after:f.outside,before:c.outside},s+l+h}Ty.peek=function(e,t,n){return n.options.strong||"*"};const Ay={blockquote:function(e,t,n,r){const o=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2);const a=n.indentLines(n.containerFlow(e,i.current()),ly);return o(),a},break:dy,code:function(e,t,n,r){const o=function(e){const t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),i=e.value||"",a="`"===o?"GraveAccent":"Tilde";if(function(e,t){return Boolean(!1===t.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}(e,n)){const e=n.enter("codeIndented"),t=n.indentLines(i,fy);return e(),t}const s=n.createTracker(r),l=o.repeat(Math.max(function(e,t){const n=String(e);let r=n.indexOf(t),o=r,i=0,a=0;if("string"!=typeof t)throw new TypeError("Expected substring");for(;-1!==r;)r===o?++i>a&&(a=i):i=1,o=r+t.length,r=n.indexOf(t,o);return a}(i,o)+1,3)),u=n.enter("codeFenced");let c=s.move(l);if(e.lang){const t=n.enter(`codeFencedLang${a}`);c+=s.move(n.safe(e.lang,{before:c,after:" ",encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){const t=n.enter(`codeFencedMeta${a}`);c+=s.move(" "),c+=s.move(n.safe(e.meta,{before:c,after:"\n",encode:["`"],...s.current()})),t()}return c+=s.move("\n"),i&&(c+=s.move(i+"\n")),c+=s.move(l),u(),c},definition:function(e,t,n,r){const o=hy(n),i='"'===o?"Quote":"Apostrophe",a=n.enter("definition");let s=n.enter("label");const l=n.createTracker(r);let u=l.move("[");return u+=l.move(n.safe(n.associationId(e),{before:u,after:"]",...l.current()})),u+=l.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),u+=l.move("<"),u+=l.move(n.safe(e.url,{before:u,after:">",...l.current()})),u+=l.move(">")):(s=n.enter("destinationRaw"),u+=l.move(n.safe(e.url,{before:u,after:e.title?" ":"\n",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),u+=l.move(" "+o),u+=l.move(n.safe(e.title,{before:u,after:o,...l.current()})),u+=l.move(o),s()),a(),u},emphasis:gy,hardBreak:dy,heading:function(e,t,n,r){const o=Math.max(Math.min(6,e.depth||1),1),i=n.createTracker(r);if(function(e,t){let n=!1;return Nm(e,(e=>{if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return n=!0,Dm})),Boolean((!e.depth||e.depth<3)&&bh(e)&&(t.options.setext||n))}(e,n)){const t=n.enter("headingSetext"),r=n.enter("phrasing"),a=n.containerPhrasing(e,{...i.current(),before:"\n",after:"\n"});return r(),t(),a+"\n"+(1===o?"=":"-").repeat(a.length-(Math.max(a.lastIndexOf("\r"),a.lastIndexOf("\n"))+1))}const a="#".repeat(o),s=n.enter("headingAtx"),l=n.enter("phrasing");i.move(a+" ");let u=n.containerPhrasing(e,{before:"# ",after:"\n",...i.current()});return/^[\t ]/.test(u)&&(u=py(u.charCodeAt(0))+u.slice(1)),u=u?a+" "+u:a,n.options.closeAtx&&(u+=" "+a),l(),s(),u},html:yy,image:vy,imageReference:by,inlineCode:wy,link:Sy,linkReference:xy,list:function(e,t,n,r){const o=n.enter("list"),i=n.bulletCurrent;let a=e.ordered?function(e){const t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):_y(n);const s=e.ordered?"."===a?")":".":function(e){const t=_y(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n);let l=!(!t||!n.bulletLastUsed)&&a===n.bulletLastUsed;if(!e.ordered){const t=e.children?e.children[0]:void 0;if("*"!==a&&"-"!==a||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(l=!0),Cy(n)===a&&t){let t=-1;for(;++t<e.children.length;){const n=e.children[t];if(n&&"listItem"===n.type&&n.children&&n.children[0]&&"thematicBreak"===n.children[0].type){l=!0;break}}}}l&&(a=s),n.bulletCurrent=a;const u=n.containerFlow(e,r);return n.bulletLastUsed=a,n.bulletCurrent=i,o(),u},listItem:function(e,t,n,r){const o=function(e){const t=e.options.listItemIndent||"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(n);let i=n.bulletCurrent||_y(n);t&&"list"===t.type&&t.ordered&&(i=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+i);let a=i.length+1;("tab"===o||"mixed"===o&&(t&&"list"===t.type&&t.spread||e.spread))&&(a=4*Math.ceil(a/4));const s=n.createTracker(r);s.move(i+" ".repeat(a-i.length)),s.shift(a);const l=n.enter("listItem"),u=n.indentLines(n.containerFlow(e,s.current()),(function(e,t,n){return t?(n?"":" ".repeat(a))+e:(n?i:i+" ".repeat(a-i.length))+e}));return l(),u},paragraph:function(e,t,n,r){const o=n.enter("paragraph"),i=n.enter("phrasing"),a=n.containerPhrasing(e,r);return i(),o(),a},root:function(e,t,n,r){return(e.children.some((e=>Ey(e)))?n.containerPhrasing:n.containerFlow).call(n,e,r)},strong:Ty,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){const r=(Cy(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}};function Py(e){const t=e._align;this.enter({type:"table",align:t.map((e=>"none"===e?null:e)),children:[]},e),this.data.inTable=!0}function Oy(e){this.exit(e),this.data.inTable=void 0}function Ry(e){this.enter({type:"tableRow",children:[]},e)}function Iy(e){this.exit(e)}function Ly(e){this.enter({type:"tableCell",children:[]},e)}function My(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Dy));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function Dy(e,t){return"|"===t?t:e}function Fy(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,o=t.stringLength,i=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(e,t,n){let r=Ay.inlineCode(e,t,n);return n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&")),r},table:function(e,t,n,r){return s(function(e,t,n){const r=e.children;let o=-1;const i=[],a=t.enter("table");for(;++o<r.length;)i[o]=l(r[o],t,n);return a(),i}(e,n,r),e.align)},tableCell:a,tableRow:function(e,t,n,r){const o=s([l(e,n,r)]);return o.slice(0,o.indexOf("\n"))}}};function a(e,t,n,r){const o=n.enter("tableCell"),a=n.enter("phrasing"),s=n.containerPhrasing(e,{...r,before:i,after:i});return a(),o(),s}function s(e,t){return function(e,t){const n=t||{},r=(n.align||[]).concat(),o=n.stringLength||iy,i=[],a=[],s=[],l=[];let u=0,c=-1;for(;++c<e.length;){const t=[],r=[];let i=-1;for(e[c].length>u&&(u=e[c].length);++i<e[c].length;){const a=ay(e[c][i]);if(!1!==n.alignDelimiters){const e=o(a);r[i]=e,(void 0===l[i]||e>l[i])&&(l[i]=e)}t.push(a)}a[c]=t,s[c]=r}let d=-1;if("object"==typeof r&&"length"in r)for(;++d<u;)i[d]=sy(r[d]);else{const e=sy(r);for(;++d<u;)i[d]=e}d=-1;const f=[],h=[];for(;++d<u;){const e=i[d];let t="",r="";99===e?(t=":",r=":"):108===e?t=":":114===e&&(r=":");let o=!1===n.alignDelimiters?1:Math.max(1,l[d]-t.length-r.length);const a=t+"-".repeat(o)+r;!1!==n.alignDelimiters&&(o=t.length+o+r.length,o>l[d]&&(l[d]=o),h[d]=o),f[d]=a}a.splice(1,0,f),s.splice(1,0,h),c=-1;const p=[];for(;++c<a.length;){const e=a[c],t=s[c];d=-1;const r=[];for(;++d<u;){const o=e[d]||"";let a="",s="";if(!1!==n.alignDelimiters){const e=l[d]-(t[d]||0),n=i[d];114===n?a=" ".repeat(e):99===n?e%2?(a=" ".repeat(e/2+.5),s=" ".repeat(e/2-.5)):(a=" ".repeat(e/2),s=a):s=" ".repeat(e)}!1===n.delimiterStart||d||r.push("|"),!1===n.padding||!1===n.alignDelimiters&&""===o||!1===n.delimiterStart&&!d||r.push(" "),!1!==n.alignDelimiters&&r.push(a),r.push(o),!1!==n.alignDelimiters&&r.push(s),!1!==n.padding&&r.push(" "),!1===n.delimiterEnd&&d===u-1||r.push("|")}p.push(!1===n.delimiterEnd?r.join("").replace(/ +$/,""):r.join(""))}return p.join("\n")}(e,{align:t,alignDelimiters:r,padding:n,stringLength:o})}function l(e,t,n){const r=e.children;let o=-1;const i=[],s=t.enter("tableRow");for(;++o<r.length;)i[o]=a(r[o],0,t,n);return s(),i}}function Ny(e){const t=this.stack[this.stack.length-2];t.type,t.checked="taskListCheckValueChecked"===e.type}function jy(e){const t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){const e=this.stack[this.stack.length-1];e.type;const n=e.children[0];if(n&&"text"===n.type){const r=t.children;let o,i=-1;for(;++i<r.length;){const e=r[i];if("paragraph"===e.type){o=e;break}}o===e&&(n.value=n.value.slice(1),0===n.value.length?e.children.shift():e.position&&n.position&&"number"==typeof n.position.start.offset&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function zy(e,t,n,r){const o=e.children[0],i="boolean"==typeof e.checked&&o&&"paragraph"===o.type,a="["+(e.checked?"x":" ")+"] ",s=n.createTracker(r);i&&s.move(a);let l=Ay.listItem(e,t,n,{...r,...s.current()});return i&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,(function(e){return e+a}))),l}const Uy={tokenize:function(e,t,n){let r=0;return function t(i){return(87===i||119===i)&&r<3?(r++,e.consume(i),t):46===i&&3===r?(e.consume(i),o):n(i)};function o(e){return null===e?n(e):t(e)}},partial:!0},Vy={tokenize:function(e,t,n){let r,o,i;return a;function a(t){return 46===t||95===t?e.check($y,l,s)(t):null===t||Uh(t)||$h(t)||45!==t&&Bh(t)?l(t):(i=!0,e.consume(t),a)}function s(t){return 95===t?r=!0:(o=r,r=void 0),e.consume(t),a}function l(e){return o||r||!i?n(e):t(e)}},partial:!0},By={tokenize:function(e,t){let n=0,r=0;return o;function o(a){return 40===a?(n++,e.consume(a),o):41===a&&r<n?i(a):33===a||34===a||38===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||60===a||63===a||93===a||95===a||126===a?e.check($y,t,i)(a):null===a||Uh(a)||$h(a)?t(a):(e.consume(a),o)}function i(t){return 41===t&&r++,e.consume(t),o}},partial:!0},$y={tokenize:function(e,t,n){return r;function r(a){return 33===a||34===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||63===a||95===a||126===a?(e.consume(a),r):38===a?(e.consume(a),i):93===a?(e.consume(a),o):60===a||null===a||Uh(a)||$h(a)?t(a):n(a)}function o(e){return null===e||40===e||91===e||Uh(e)||$h(e)?t(e):r(e)}function i(e){return Ih(e)?a(e):n(e)}function a(t){return 59===t?(e.consume(t),r):Ih(t)?(e.consume(t),a):n(t)}},partial:!0},Hy={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(e){return Lh(e)?n(e):t(e)}},partial:!0},Wy={name:"wwwAutolink",tokenize:function(e,t,n){const r=this;return function(t){return 87!==t&&119!==t||!Gy.call(r,r.previous)||ev(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(Uy,e.attempt(Vy,e.attempt(By,o),n),n)(t))};function o(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:Gy},qy={name:"protocolAutolink",tokenize:function(e,t,n){const r=this;let o="",i=!1;return function(t){return 72!==t&&104!==t||!Jy.call(r,r.previous)||ev(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),o+=String.fromCodePoint(t),e.consume(t),a)};function a(t){if(Ih(t)&&o.length<5)return o+=String.fromCodePoint(t),e.consume(t),a;if(58===t){const n=o.toLowerCase();if("http"===n||"https"===n)return e.consume(t),s}return n(t)}function s(t){return 47===t?(e.consume(t),i?l:(i=!0,s)):n(t)}function l(t){return null===t||Dh(t)||Uh(t)||$h(t)||Bh(t)?n(t):e.attempt(Vy,e.attempt(By,u),n)(t)}function u(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:Jy},Ky={name:"emailAutolink",tokenize:function(e,t,n){const r=this;let o,i;return function(t){return Zy(t)&&Xy.call(r,r.previous)&&!ev(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),a(t)):n(t)};function a(t){return Zy(t)?(e.consume(t),a):64===t?(e.consume(t),s):n(t)}function s(t){return 46===t?e.check(Hy,u,l)(t):45===t||95===t||Lh(t)?(i=!0,e.consume(t),s):u(t)}function l(t){return e.consume(t),o=!0,s}function u(a){return i&&o&&Ih(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(a)):n(a)}},previous:Xy},Qy={};let Yy=48;for(;Yy<123;)Qy[Yy]=Ky,Yy++,58===Yy?Yy=65:91===Yy&&(Yy=97);function Gy(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||Uh(e)}function Jy(e){return!Ih(e)}function Xy(e){return!(47===e||Zy(e))}function Zy(e){return 43===e||45===e||46===e||95===e||Lh(e)}function ev(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if(("labelLink"===r.type||"labelImage"===r.type)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}Qy[43]=Ky,Qy[45]=Ky,Qy[46]=Ky,Qy[95]=Ky,Qy[72]=[Ky,qy],Qy[104]=[Ky,qy],Qy[87]=[Ky,Wy],Qy[119]=[Ky,Wy];const tv={tokenize:function(e,t,n){const r=this;return qh(e,(function(e){const o=r.events[r.events.length-1];return o&&"gfmFootnoteDefinitionIndent"===o[1].type&&4===o[2].sliceSerialize(o[1],!0).length?t(e):n(e)}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function nv(e,t,n){const r=this;let o=r.events.length;const i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;o--;){const e=r.events[o][1];if("labelImage"===e.type){a=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(o){if(!a||!a._balanced)return n(o);const s=Rh(r.sliceSerialize({start:a.end,end:r.now()}));return 94===s.codePointAt(0)&&i.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o)):n(o)}}function rv(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;const i={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},e[e.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",o,t],["exit",o,t],["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function ov(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,a=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),s};function s(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l)}function l(s){if(a>999||93===s&&!i||null===s||91===s||Uh(s))return n(s);if(93===s){e.exit("chunkString");const i=e.exit("gfmFootnoteCallString");return o.includes(Rh(r.sliceSerialize(i)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(s)}return Uh(s)||(i=!0),a++,e.consume(s),92===s?u:l}function u(t){return 91===t||92===t||93===t?(e.consume(t),a++,l):l(t)}}function iv(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,a,s=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),l};function l(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(t)}function u(t){if(s>999||93===t&&!a||null===t||91===t||Uh(t))return n(t);if(93===t){e.exit("chunkString");const n=e.exit("gfmFootnoteDefinitionLabelString");return i=Rh(r.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return Uh(t)||(a=!0),s++,e.consume(t),92===t?c:u}function c(t){return 91===t||92===t||93===t?(e.consume(t),s++,u):u(t)}function d(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),o.includes(i)||o.push(i),qh(e,f,"gfmFootnoteDefinitionWhitespace")):n(t)}function f(e){return t(e)}}function av(e,t,n){return e.check(tp,t,e.attempt(tv,t,n))}function sv(e){e.exit("gfmFootnoteDefinition")}function lv(e){let t=(e||{}).singleTilde;const n={name:"strikethrough",tokenize:function(e,n,r){const o=this.previous,i=this.events;let a=0;return function(t){return 126===o&&"characterEscape"!==i[i.length-1][1].type?r(t):(e.enter("strikethroughSequenceTemporary"),s(t))};function s(i){const l=Gh(o);if(126===i)return a>1?r(i):(e.consume(i),a++,s);if(a<2&&!t)return r(i);const u=e.exit("strikethroughSequenceTemporary"),c=Gh(i);return u._open=!c||2===c&&Boolean(l),u._close=!l||2===l&&Boolean(c),n(i)}},resolveAll:function(e,t){let n=-1;for(;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close){let r=n;for(;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset==e[r][1].end.offset-e[r][1].start.offset){e[n][1].type="strikethroughSequence",e[r][1].type="strikethroughSequence";const o={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},i={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},a=[["enter",o,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",i,t]],s=t.parser.constructs.insideSpan.null;s&&_h(a,a.length,0,Jh(s,e.slice(r+1,n),t)),_h(a,a.length,0,[["exit",i,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",o,t]]),_h(e,r-1,n-r+3,a),n=r+a.length-2;break}}for(n=-1;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}};return null==t&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}}}class uv{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let o=0;if(0!==n||0!==r.length){for(;o<e.map.length;){if(e.map[o][0]===t)return e.map[o][1]+=n,void e.map[o][2].push(...r);o+=1}e.map.push([t,n,r])}}(this,e,t,n)}consume(e){if(this.map.sort(((e,t)=>e[0]-t[0])),0===this.map.length)return;let t=this.map.length;const n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push(e.slice()),e.length=0;let r=n.pop();for(;r;){for(const t of r)e.push(t);r=n.pop()}this.map.length=0}}function cv(e,t){let n=!1;const r=[];for(;t<e.length;){const o=e[t];if(n){if("enter"===o[0])"tableContent"===o[1].type&&r.push("tableDelimiterMarker"===e[t+1][1].type?"left":"none");else if("tableContent"===o[1].type){if("tableDelimiterMarker"===e[t-1][1].type){const e=r.length-1;r[e]="left"===r[e]?"center":"right"}}else if("tableDelimiterRow"===o[1].type)break}else"enter"===o[0]&&"tableDelimiterRow"===o[1].type&&(n=!0);t+=1}return r}function dv(e,t,n){const r=this;let o,i=0,a=0;return function(e){let t=r.events.length-1;for(;t>-1;){const e=r.events[t][1].type;if("lineEnding"!==e&&"linePrefix"!==e)break;t--}const o=t>-1?r.events[t][1].type:null,i="tableHead"===o||"tableRow"===o?w:s;return i===w&&r.parser.lazy[r.now().line]?n(e):i(e)};function s(t){return e.enter("tableHead"),e.enter("tableRow"),function(e){return 124===e||(o=!0,a+=1),l(e)}(t)}function l(t){return null===t?n(t):zh(t)?a>1?(a=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d):n(t):Vh(t)?qh(e,l,"whitespace")(t):(a+=1,o&&(o=!1,i+=1),124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),o=!0,l):(e.enter("data"),u(t)))}function u(t){return null===t||124===t||Uh(t)?(e.exit("data"),l(t)):(e.consume(t),92===t?c:u)}function c(t){return 92===t||124===t?(e.consume(t),u):u(t)}function d(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter("tableDelimiterRow"),o=!1,Vh(t)?qh(e,f,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):f(t))}function f(t){return 45===t||58===t?p(t):124===t?(o=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),h):b(t)}function h(t){return Vh(t)?qh(e,p,"whitespace")(t):p(t)}function p(t){return 58===t?(a+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),m):45===t?(a+=1,m(t)):null===t||zh(t)?v(t):b(t)}function m(t){return 45===t?(e.enter("tableDelimiterFiller"),g(t)):b(t)}function g(t){return 45===t?(e.consume(t),g):58===t?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),y):(e.exit("tableDelimiterFiller"),y(t))}function y(t){return Vh(t)?qh(e,v,"whitespace")(t):v(t)}function v(n){return 124===n?f(n):(null===n||zh(n))&&o&&i===a?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(n)):b(n)}function b(e){return n(e)}function w(t){return e.enter("tableRow"),k(t)}function k(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),k):null===n||zh(n)?(e.exit("tableRow"),t(n)):Vh(n)?qh(e,k,"whitespace")(n):(e.enter("data"),S(n))}function S(t){return null===t||124===t||Uh(t)?(e.exit("data"),k(t)):(e.consume(t),92===t?x:S)}function x(t){return 92===t||124===t?(e.consume(t),S):S(t)}}function fv(e,t){let n,r,o,i=-1,a=!0,s=0,l=[0,0,0,0],u=[0,0,0,0],c=!1,d=0;const f=new uv;for(;++i<e.length;){const h=e[i],p=h[1];"enter"===h[0]?"tableHead"===p.type?(c=!1,0!==d&&(pv(f,t,d,n,r),r=void 0,d=0),n={type:"table",start:Object.assign({},p.start),end:Object.assign({},p.end)},f.add(i,0,[["enter",n,t]])):"tableRow"===p.type||"tableDelimiterRow"===p.type?(a=!0,o=void 0,l=[0,0,0,0],u=[0,i+1,0,0],c&&(c=!1,r={type:"tableBody",start:Object.assign({},p.start),end:Object.assign({},p.end)},f.add(i,0,[["enter",r,t]])),s="tableDelimiterRow"===p.type?2:r?3:1):!s||"data"!==p.type&&"tableDelimiterMarker"!==p.type&&"tableDelimiterFiller"!==p.type?"tableCellDivider"===p.type&&(a?a=!1:(0!==l[1]&&(u[0]=u[1],o=hv(f,t,l,s,void 0,o)),l=u,u=[l[1],i,0,0])):(a=!1,0===u[2]&&(0!==l[1]&&(u[0]=u[1],o=hv(f,t,l,s,void 0,o),l=[0,0,0,0]),u[2]=i)):"tableHead"===p.type?(c=!0,d=i):"tableRow"===p.type||"tableDelimiterRow"===p.type?(d=i,0!==l[1]?(u[0]=u[1],o=hv(f,t,l,s,i,o)):0!==u[1]&&(o=hv(f,t,u,s,i,o)),s=0):!s||"data"!==p.type&&"tableDelimiterMarker"!==p.type&&"tableDelimiterFiller"!==p.type||(u[3]=i)}for(0!==d&&pv(f,t,d,n,r),f.consume(t.events),i=-1;++i<t.events.length;){const e=t.events[i];"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=cv(t.events,i))}return e}function hv(e,t,n,r,o,i){const a=1===r?"tableHeader":2===r?"tableDelimiter":"tableData";0!==n[0]&&(i.end=Object.assign({},mv(t.events,n[0])),e.add(n[0],0,[["exit",i,t]]));const s=mv(t.events,n[1]);if(i={type:a,start:Object.assign({},s),end:Object.assign({},s)},e.add(n[1],0,[["enter",i,t]]),0!==n[2]){const o=mv(t.events,n[2]),i=mv(t.events,n[3]),a={type:"tableContent",start:Object.assign({},o),end:Object.assign({},i)};if(e.add(n[2],0,[["enter",a,t]]),2!==r){const r=t.events[n[2]],o=t.events[n[3]];if(r[1].end=Object.assign({},o[1].end),r[1].type="chunkText",r[1].contentType="text",n[3]>n[2]+1){const t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",a,t]])}return void 0!==o&&(i.end=Object.assign({},mv(t.events,o)),e.add(o,0,[["exit",i,t]]),i=void 0),i}function pv(e,t,n,r,o){const i=[],a=mv(t.events,n);o&&(o.end=Object.assign({},a),i.push(["exit",o,t])),r.end=Object.assign({},a),i.push(["exit",r,t]),e.add(n+1,0,i)}function mv(e,t){const n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}const gv={name:"tasklistCheck",tokenize:function(e,t,n){const r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),o):n(t)};function o(t){return Uh(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),i):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),i):n(t)}function i(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),a):n(t)}function a(r){return zh(r)?t(r):Vh(r)?e.check({tokenize:yv},t,n)(r):n(r)}}};function yv(e,t,n){return qh(e,(function(e){return null===e?n(e):t(e)}),"whitespace")}const vv={};function bv(e){const t=e||vv,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),o=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),i=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push(function(e){return Th([{text:Qy},{document:{91:{name:"gfmFootnoteDefinition",tokenize:iv,continuation:{tokenize:av},exit:sv}},text:{91:{name:"gfmFootnoteCall",tokenize:ov},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:nv,resolveTo:rv}}},lv(e),{flow:{null:{name:"table",tokenize:dv,resolveAll:fv}}},{text:{91:gv}}])}(t)),o.push([{transforms:[zg],enter:{literalAutolink:Lg,literalAutolinkEmail:Mg,literalAutolinkHttp:Mg,literalAutolinkWww:Mg},exit:{literalAutolink:jg,literalAutolinkEmail:Ng,literalAutolinkHttp:Dg,literalAutolinkWww:Fg}},{enter:{gfmFootnoteCallString:$g,gfmFootnoteCall:Hg,gfmFootnoteDefinitionLabelString:Wg,gfmFootnoteDefinition:qg},exit:{gfmFootnoteCallString:Kg,gfmFootnoteCall:Qg,gfmFootnoteDefinitionLabelString:Yg,gfmFootnoteDefinition:Gg}},{canContainEols:["delete"],enter:{strikethrough:ny},exit:{strikethrough:ry}},{enter:{table:Py,tableData:Ly,tableHeader:Ly,tableRow:Ry},exit:{codeText:My,table:Oy,tableData:Iy,tableHeader:Iy,tableRow:Iy}},{exit:{taskListCheckValueChecked:Ny,taskListCheckValueUnchecked:Ny,paragraph:jy}}]),i.push(function(e){return{extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Rg,notInConstruct:Ig},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Rg,notInConstruct:Ig},{character:":",before:"[ps]",after:"\\/",inConstruct:Rg,notInConstruct:Ig}]},Xg(e),{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:ty}],handlers:{delete:oy}},Fy(e),{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:zy}}]}}(t))}const wv=In.div(["font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Roboto',sans-serif;line-height:1.6;color:",";h1,h2,h3,h4,h5,h6{margin:"," 0 "," 0;font-weight:600;line-height:1.3;color:",";}h1{font-size:1.5rem;}h2{font-size:1.3rem;}h3{font-size:1.1rem;}h4,h5,h6{font-size:1rem;}p{margin:"," 0;}a{color:",";text-decoration:none;&:hover{text-decoration:underline;}}strong{font-weight:600;color:",";}em{font-style:italic;}ul,ol{margin:"," 0;padding-left:",";}li{margin:"," 0;}code{background-color:",";padding:0.125rem 0.25rem;border-radius:",";font-family:'Courier New',monospace;font-size:0.875rem;color:",";}pre{background-color:",";padding:",";border-radius:",";overflow-x:auto;margin:"," 0;code{background:none;padding:0;}}blockquote{border-left:4px solid ",";padding-left:",";margin:"," 0;color:",";font-style:italic;}table{border-collapse:collapse;width:100%;margin:"," 0;}th,td{border:1px solid ",";padding:",";text-align:left;}th{background-color:",";font-weight:600;}hr{border:none;border-top:1px solid ",";margin:"," 0;}del{color:",";}"],(e=>e.$textColor||Uc.text.primary),jc,Fc,(e=>e.$textColor||Uc.text.primary),Fc,Uc.primary[600],(e=>e.$textColor||Uc.text.primary),Fc,jc,Dc,Uc.surface.secondary,"0.125rem",(e=>e.$textColor||Uc.text.primary),Uc.surface.secondary,Nc,"0.375rem",Nc,Uc.border.medium,Nc,Nc,Uc.text.secondary,Nc,Uc.border.light,Fc,Uc.surface.secondary,Uc.border.medium,jc,Uc.text.muted),kv=({content:e,textColor:t})=>b.jsx(wv,{$textColor:t,children:b.jsx(Eg,{remarkPlugins:[bv],components:{a:({node:e,...t})=>b.jsx("a",{...t,target:"_blank",rel:"noopener noreferrer"})},children:e})}),Sv=e=>!!e&&[/^#{1,6}\s+/m,/\*\*.*?\*\*/,/\*.*?\*/,/`.*?`/,/```[\s\S]*?```/,/^\s*[\*\-\+]\s+/m,/^\s*\d+\.\s+/m,/^\s*>\s+/m,/\[.*?\]\(.*?\)/,/!\[.*?\]\(.*?\)/,/\|.*\|/,/^---+$/m,/~~.*?~~/].some((t=>t.test(e))),xv=({children:e,bgColor:t,textColor:n})=>b.jsx(Cd,{isUser:!1,bgColor:t,textColor:n,children:e}),_v=H.memo((({message:e,bgColor:t,textColor:n,onSuggestionClick:r})=>{const o=e?.parts;return b.jsx("div",{children:o?.map(((o,i)=>{switch(o.type){case"text":return b.jsx(xv,{bgColor:t,textColor:n,children:Sv(o.text)?b.jsx(kv,{content:o.text,textColor:n}):b.jsx("span",{style:{whiteSpace:"pre-wrap"},children:o.text})},`${e.id}-${i}`);case"tool-invocation":return"result"===o.toolInvocation.state?b.jsx(Jd,{part:o.toolInvocation,onSuggestionClick:r},`${e.id}-${i}`):null;default:return null}}))})}),((e,t)=>e.message.parts===t.message.parts&&e.bgColor===t.bgColor&&e.textColor===t.textColor)),Cv=({agent:e,loadingColor:t})=>{const n=e.branding.bubble.aiTextColor||"black";return b.jsx(Cd,{isUser:!1,bgColor:e.branding.bubble.aiBgColor,textColor:n,children:b.jsx("span",{style:{display:"inline-block",verticalAlign:"middle"},children:b.jsxs("svg",{width:"24",height:"8",viewBox:"0 0 24 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[b.jsx("circle",{cx:"4",cy:"4",r:"3",fill:t||n,children:b.jsx("animate",{attributeName:"opacity",values:"1;0.3;1",dur:"1s",repeatCount:"indefinite",begin:"0s"})}),b.jsx("circle",{cx:"12",cy:"4",r:"3",fill:t||n,children:b.jsx("animate",{attributeName:"opacity",values:"1;0.3;1",dur:"1s",repeatCount:"indefinite",begin:"0.2s"})}),b.jsx("circle",{cx:"20",cy:"4",r:"3",fill:t||n,children:b.jsx("animate",{attributeName:"opacity",values:"1;0.3;1",dur:"1s",repeatCount:"indefinite",begin:"0.4s"})})]})})})},Ev=In(Zc)(["margin:0.25rem;opacity:0.8;&:hover{opacity:1;}"]),Tv=In.div(["display:flex;flex-direction:column;height:100%;min-height:0;"]),Av=In.div(["margin:0.5rem 0;text-align:center;font-size:0.75rem;color:#6b7280;"]),Pv=In(Cd)(["gap:0.5rem;margin-top:auto;border:0;text-align:right;"]),Ov=({messages:e,agent:t,status:n,onSuggestionClick:r})=>{const o=e[e.length-1],i="submitted"===n||o&&kd(o)&&0===o.content.length,a=e.filter((e=>"assistant"===e.role)).length<2&&!i;return b.jsxs(Tv,{children:[b.jsx(Av,{children:(new Date).toLocaleTimeString()}),e.map((e=>"user"===e.role?b.jsx(Ed,{message:e,bgColor:t.branding.bubble.userBgColor,textColor:t.branding.bubble.userTextColor},e.id+e.content):b.jsx(_v,{message:e,bgColor:t.branding.bubble.aiBgColor,textColor:t.branding.bubble.aiTextColor,onSuggestionClick:r},e.id+e.content))),a&&b.jsx(Pv,{children:t.suggestions.initial.map((e=>b.jsx(Ev,{backgroundColor:t.branding.bubble.userBgColor,text:e,onClick:()=>r(e)},e)))}),i&&b.jsx(Cv,{agent:t})]})},Rv=In.div(["position:relative;flex:1;display:flex;flex-direction:column;min-height:0;"]),Iv=In.div(["overflow-y:auto;background-color:white;flex:1;min-height:450px;@media (max-width:640px){min-height:450px;flex:1;}@media (min-width:641px){min-height:450px;flex:1;}&::-webkit-scrollbar{width:3px;}&::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px;transition:background 0.2s;}&::-webkit-scrollbar-thumb:hover{background:#a8a8a8;}"]),Lv=In.div([""]),Mv={shouldSroll:!0,messageSoundPath:""},Dv=({error:e,messages:t,agent:n,onSuggestionClick:r,status:o,className:i,options:a=Mv})=>{const s=H.useRef(null),l=H.useRef(null),[u,c]=H.useState(!1),d=()=>s.current?.scrollIntoView({behavior:"smooth"});H.useEffect((()=>{a.shouldSroll&&d()}),[t]);const f=()=>{if(l.current){const{scrollTop:e,scrollHeight:n,clientHeight:r}=l.current;c(!(n-e-r<200)&&t.length>0)}};return H.useEffect((()=>{const e=l.current;if(e)return e.addEventListener("scroll",f),()=>e.removeEventListener("scroll",f)}),[t.length]),b.jsx(Rv,{children:b.jsxs(Iv,{ref:l,className:i,children:[e?b.jsx(bd,{error:e}):b.jsx(b.Fragment,{children:0===t.length?b.jsx(sd,{suggestionColor:{backgroundColor:n.branding.bubble.userBgColor},message:n.text.welcomeMessage,suggestion:n.suggestions.initial,onSuggestionClick:r}):b.jsx(Ov,{messages:t,agent:n,status:o,onSuggestionClick:r})}),a.messageSoundPath&&b.jsx(Sd,{messages:t,messageSoundPath:a.messageSoundPath}),b.jsx(Lv,{ref:s}),u&&b.jsx(wd,{scrollToBottom:d})]})})};var Fv,Nv=Object.defineProperty,jv=(e,t,n)=>((e,t,n)=>t in e?Nv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n),zv=class{requestAnimationFrame(e){return requestAnimationFrame(e)}cancelAnimationFrame(e){cancelAnimationFrame(e)}},Uv=class{constructor(){jv(this,"_lastHandleId",0),jv(this,"_lastImmediate",null)}requestAnimationFrame(e){return this._lastHandleId>=Number.MAX_SAFE_INTEGER&&(this._lastHandleId=0),this._lastHandleId+=1,this._lastImmediate=setImmediate((()=>{e(Date.now())})),this._lastHandleId}cancelAnimationFrame(e){this._lastImmediate&&clearImmediate(this._lastImmediate)}},Vv=class{constructor(){jv(this,"_strategy"),this._strategy="function"==typeof requestAnimationFrame?new zv:new Uv}requestAnimationFrame(e){return this._strategy.requestAnimationFrame(e)}cancelAnimationFrame(e){this._strategy.cancelAnimationFrame(e)}},Bv=typeof window<"u"&&typeof window.document<"u",$v=new Uint8Array([80,75,3,4]),Hv=["v","ip","op","layers","fr","w","h"],Wv="0.48.0",qv="@lottiefiles/dotlottie-web",Kv=(Fv=typeof document<"u"?document.currentScript?.src:void 0,function(e={}){var t,n,r,o=e,i=new Promise(((e,r)=>{t=e,n=r})),a=Object.assign({},o),s="./this.program",l="";typeof document<"u"&&document.currentScript&&(l=document.currentScript.src),Fv&&(l=Fv),l=l.startsWith("blob:")?"":l.substr(0,l.replace(/[?#].*/,"").lastIndexOf("/")+1),r=async e=>{if((e=await fetch(e,{credentials:"same-origin"})).ok)return e.arrayBuffer();throw Error(e.status+" : "+e.url)};var u=o.print||console.log.bind(console),c=o.printErr||console.error.bind(console);Object.assign(o,a),a=null,o.thisProgram&&(s=o.thisProgram);var d,f,h,p,m,g,y,v,b,w,k=o.wasmBinary,S=!1;function x(){var e=d.buffer;o.HEAP8=h=new Int8Array(e),o.HEAP16=m=new Int16Array(e),o.HEAPU8=p=new Uint8Array(e),o.HEAPU16=g=new Uint16Array(e),o.HEAP32=y=new Int32Array(e),o.HEAPU32=v=new Uint32Array(e),o.HEAPF32=b=new Float32Array(e),o.HEAPF64=w=new Float64Array(e)}var _=[],C=[],E=[];function T(){var e=o.preRun.shift();_.unshift(e)}var A=0,P=null;function O(e){throw o.onAbort?.(e),c(e="Aborted("+e+")"),S=!0,e=new WebAssembly.RuntimeError(e+". Build with -sASSERTIONS for more info."),n(e),e}var R,I=e=>e.startsWith("data:application/octet-stream;base64,");async function L(e,t){try{var n=await(async e=>{if(!k)try{var t=await r(e);return new Uint8Array(t)}catch{}if(e!=R||!k)throw"both async and sync fetching of the wasm failed";return new Uint8Array(k)})(e);return await WebAssembly.instantiate(n,t)}catch(e){c(`failed to asynchronously prepare wasm: ${e}`),O(e)}}class M{constructor(e){jv(this,"name","ExitStatus"),this.message=`Program terminated with exit(${e})`,this.status=e}}var D=e=>{for(;0<e.length;)e.shift()(o)},F=o.noExitRuntime||!0,N=typeof TextDecoder<"u"?new TextDecoder:void 0,j=(e,t=0,n=NaN)=>{var r=t+n;for(n=t;e[n]&&!(n>=r);)++n;if(16<n-t&&e.buffer&&N)return N.decode(e.subarray(t,n));for(r="";t<n;){var o=e[t++];if(128&o){var i=63&e[t++];if(192==(224&o))r+=String.fromCharCode((31&o)<<6|i);else{var a=63&e[t++];65536>(o=224==(240&o)?(15&o)<<12|i<<6|a:(7&o)<<18|i<<12|a<<6|63&e[t++])?r+=String.fromCharCode(o):(o-=65536,r+=String.fromCharCode(55296|o>>10,56320|1023&o))}}else r+=String.fromCharCode(o)}return r},z=0;class U{constructor(e){this.Pa=e-24}}var V=(e,t,n)=>{var r=p;if(0<n){n=t+n-1;for(var o=0;o<e.length;++o){var i=e.charCodeAt(o);if(55296<=i&&57343>=i&&(i=65536+((1023&i)<<10)|1023&e.charCodeAt(++o)),127>=i){if(t>=n)break;r[t++]=i}else{if(2047>=i){if(t+1>=n)break;r[t++]=192|i>>6}else{if(65535>=i){if(t+2>=n)break;r[t++]=224|i>>12}else{if(t+3>=n)break;r[t++]=240|i>>18,r[t++]=128|i>>12&63}r[t++]=128|i>>6&63}r[t++]=128|63&i}}r[t]=0}},B={},$=e=>{for(;e.length;){var t=e.pop();e.pop()(t)}};function H(e){return this.fromWireType(v[e>>2])}var W,q,K,Q={},Y={},G={},J=(e,t,n)=>{function r(t){if((t=n(t)).length!==e.length)throw new W("Mismatched type converter count");for(var r=0;r<e.length;++r)Z(e[r],t[r])}e.forEach((e=>G[e]=t));var o=Array(t.length),i=[],a=0;t.forEach(((e,t)=>{Y.hasOwnProperty(e)?o[t]=Y[e]:(i.push(e),Q.hasOwnProperty(e)||(Q[e]=[]),Q[e].push((()=>{o[t]=Y[e],++a===i.length&&r(o)})))})),0===i.length&&r(o)},X=e=>{for(var t="";p[e];)t+=q[p[e++]];return t};function Z(e,t,n={}){return((e,t,n={})=>{var r=t.name;if(!e)throw new K(`type "${r}" must have a positive integer typeid pointer`);if(Y.hasOwnProperty(e)){if(n.vb)return;throw new K(`Cannot register type '${r}' twice`)}Y[e]=t,delete G[e],Q.hasOwnProperty(e)&&(t=Q[e],delete Q[e],t.forEach((e=>e())))})(e,t,n)}var ee=e=>{throw new K(e.Oa.Ra.Qa.name+" instance already deleted")},te=!1,ne=()=>{},re=(e,t,n)=>t===n?e:void 0===n.Ua||null===(e=re(e,t,n.Ua))?null:n.ob(e),oe={},ie={},ae=(e,t)=>{if(!t.Ra||!t.Pa)throw new W("makeClassHandle requires ptr and ptrType");if(!!t.Va!=!!t.Ta)throw new W("Both smartPtrType and smartPtr must be specified");return t.count={value:1},se(Object.create(e,{Oa:{value:t,writable:!0}}))},se=e=>typeof FinalizationRegistry>"u"?(se=e=>e,e):(te=new FinalizationRegistry((e=>{--(e=e.Oa).count.value,0===e.count.value&&(e.Ta?e.Va.Ya(e.Ta):e.Ra.Qa.Ya(e.Pa))})),ne=e=>{te.unregister(e)},(se=e=>{var t=e.Oa;return t.Ta&&te.register(e,{Oa:t},e),e})(e));function le(){}var ue=(e,t)=>Object.defineProperty(t,"name",{value:e}),ce=(e,t,n)=>{if(void 0===e[t].Sa){var r=e[t];e[t]=function(...r){if(!e[t].Sa.hasOwnProperty(r.length))throw new K(`Function '${n}' called with an invalid number of arguments (${r.length}) - expects one of (${e[t].Sa})!`);return e[t].Sa[r.length].apply(this,r)},e[t].Sa=[],e[t].Sa[r.ab]=r}},de=(e,t,n)=>{if(o.hasOwnProperty(e)){if(void 0===n||void 0!==o[e].Sa&&void 0!==o[e].Sa[n])throw new K(`Cannot register public name '${e}' twice`);if(ce(o,e,e),o[e].Sa.hasOwnProperty(n))throw new K(`Cannot register multiple overloads of a function with the same number of arguments (${n})!`);o[e].Sa[n]=t}else o[e]=t,o[e].ab=n};function fe(e,t,n,r,o,i,a,s){this.name=e,this.constructor=t,this.$a=n,this.Ya=r,this.Ua=o,this.qb=i,this.eb=a,this.ob=s,this.xb=[]}var he=(e,t,n)=>{for(;t!==n;){if(!t.eb)throw new K(`Expected null or instance of ${n.name}, got an instance of ${t.name}`);e=t.eb(e),t=t.Ua}return e};function pe(e,t){if(null===t){if(this.hb)throw new K(`null is not a valid ${this.name}`);return 0}if(!t.Oa)throw new K(`Cannot pass "${je(t)}" as a ${this.name}`);if(!t.Oa.Pa)throw new K(`Cannot pass deleted object as a pointer of type ${this.name}`);return he(t.Oa.Pa,t.Oa.Ra.Qa,this.Qa)}function me(e,t){if(null===t){if(this.hb)throw new K(`null is not a valid ${this.name}`);if(this.gb){var n=this.ib();return null!==e&&e.push(this.Ya,n),n}return 0}if(!t||!t.Oa)throw new K(`Cannot pass "${je(t)}" as a ${this.name}`);if(!t.Oa.Pa)throw new K(`Cannot pass deleted object as a pointer of type ${this.name}`);if(!this.fb&&t.Oa.Ra.fb)throw new K(`Cannot convert argument of type ${t.Oa.Va?t.Oa.Va.name:t.Oa.Ra.name} to parameter type ${this.name}`);if(n=he(t.Oa.Pa,t.Oa.Ra.Qa,this.Qa),this.gb){if(void 0===t.Oa.Ta)throw new K("Passing raw pointer to smart pointer is illegal");switch(this.Cb){case 0:if(t.Oa.Va!==this)throw new K(`Cannot convert argument of type ${t.Oa.Va?t.Oa.Va.name:t.Oa.Ra.name} to parameter type ${this.name}`);n=t.Oa.Ta;break;case 1:n=t.Oa.Ta;break;case 2:if(t.Oa.Va===this)n=t.Oa.Ta;else{var r=t.clone();n=this.yb(n,Me((()=>r.delete()))),null!==e&&e.push(this.Ya,n)}break;default:throw new K("Unsupporting sharing policy")}}return n}function ge(e,t){if(null===t){if(this.hb)throw new K(`null is not a valid ${this.name}`);return 0}if(!t.Oa)throw new K(`Cannot pass "${je(t)}" as a ${this.name}`);if(!t.Oa.Pa)throw new K(`Cannot pass deleted object as a pointer of type ${this.name}`);if(t.Oa.Ra.fb)throw new K(`Cannot convert argument of type ${t.Oa.Ra.name} to parameter type ${this.name}`);return he(t.Oa.Pa,t.Oa.Ra.Qa,this.Qa)}function ye(e,t,n,r,o,i,a,s,l,u,c){this.name=e,this.Qa=t,this.hb=n,this.fb=r,this.gb=o,this.wb=i,this.Cb=a,this.mb=s,this.ib=l,this.yb=u,this.Ya=c,o||void 0!==t.Ua?this.toWireType=me:(this.toWireType=r?pe:ge,this.Xa=null)}var ve,be,we=(e,t,n)=>{if(!o.hasOwnProperty(e))throw new W("Replacing nonexistent public symbol");void 0!==o[e].Sa&&void 0!==n?o[e].Sa[n]=t:(o[e]=t,o[e].ab=n)},ke=(e,t)=>{var n=(e=X(e)).includes("j")?((e,t)=>(...n)=>((e,t,n=[])=>(e.includes("j")?(e=e.replace(/p/g,"i"),t=(0,o["dynCall_"+e])(t,...n)):t=ve.get(t)(...n),t))(e,t,n))(e,t):ve.get(t);if("function"!=typeof n)throw new K(`unknown function pointer with signature ${e}: ${t}`);return n},Se=e=>{e=dt(e);var t=X(e);return ft(e),t},xe=(e,t)=>{var n=[],r={};throw t.forEach((function e(t){r[t]||Y[t]||(G[t]?G[t].forEach(e):(n.push(t),r[t]=!0))})),new be(`${e}: `+n.map(Se).join([", "]))},_e=(e,t)=>{for(var n=[],r=0;r<e;r++)n.push(v[t+4*r>>2]);return n};function Ce(e,t,n,r,o){var i=t.length;if(2>i)throw new K("argTypes array size mismatch! Must at least get return value and 'this' types!");var a=null!==t[1]&&null!==n,s=(e=>{for(var t=1;t<e.length;++t)if(null!==e[t]&&void 0===e[t].Xa)return!0;return!1})(t),l="void"!==t[0].name,u=i-2,c=Array(u),d=[],f=[];return ue(e,(function(...e){if(f.length=0,d.length=a?2:1,d[0]=o,a){var n=t[1].toWireType(f,this);d[1]=n}for(var i=0;i<u;++i)c[i]=t[i+2].toWireType(f,e[i]),d.push(c[i]);if(e=r(...d),s)$(f);else for(i=a?1:2;i<t.length;i++){var h=1===i?n:c[i-2];null!==t[i].Xa&&t[i].Xa(h)}return l?t[0].fromWireType(e):void 0}))}var Ee,Te,Ae,Pe=e=>{let t=(e=e.trim()).indexOf("(");return-1!==t?e.substr(0,t):e},Oe=[],Re=[],Ie=e=>{9<e&&0==--Re[e+1]&&(Re[e]=void 0,Oe.push(e))},Le=e=>{if(!e)throw new K("Cannot use deleted val. handle = "+e);return Re[e]},Me=e=>{switch(e){case void 0:return 2;case null:return 4;case!0:return 6;case!1:return 8;default:let t=Oe.pop()||Re.length;return Re[t]=e,Re[t+1]=1,t}},De={name:"emscripten::val",fromWireType:e=>{var t=Le(e);return Ie(e),t},toWireType:(e,t)=>Me(t),Wa:8,readValueFromPointer:H,Xa:null},Fe=(e,t,n)=>{switch(t){case 1:return n?function(e){return this.fromWireType(h[e])}:function(e){return this.fromWireType(p[e])};case 2:return n?function(e){return this.fromWireType(m[e>>1])}:function(e){return this.fromWireType(g[e>>1])};case 4:return n?function(e){return this.fromWireType(y[e>>2])}:function(e){return this.fromWireType(v[e>>2])};default:throw new TypeError(`invalid integer width (${t}): ${e}`)}},Ne=(e,t)=>{var n=Y[e];if(void 0===n)throw e=`${t} has unknown type ${Se(e)}`,new K(e);return n},je=e=>{if(null===e)return"null";var t=typeof e;return"object"===t||"array"===t||"function"===t?e.toString():""+e},ze=(e,t)=>{switch(t){case 4:return function(e){return this.fromWireType(b[e>>2])};case 8:return function(e){return this.fromWireType(w[e>>3])};default:throw new TypeError(`invalid float width (${t}): ${e}`)}},Ue=(e,t,n)=>{switch(t){case 1:return n?e=>h[e]:e=>p[e];case 2:return n?e=>m[e>>1]:e=>g[e>>1];case 4:return n?e=>y[e>>2]:e=>v[e>>2];default:throw new TypeError(`invalid integer width (${t}): ${e}`)}},Ve=Object.assign({optional:!0},De),Be=typeof TextDecoder<"u"?new TextDecoder("utf-16le"):void 0,$e=(e,t)=>{for(var n=e>>1,r=n+t/2;!(n>=r)&&g[n];)++n;if(32<(n<<=1)-e&&Be)return Be.decode(p.subarray(e,n));for(n="",r=0;!(r>=t/2);++r){var o=m[e+2*r>>1];if(0==o)break;n+=String.fromCharCode(o)}return n},He=(e,t,n)=>{if(n??(n=2147483647),2>n)return 0;var r=t;n=(n-=2)<2*e.length?n/2:e.length;for(var o=0;o<n;++o)m[t>>1]=e.charCodeAt(o),t+=2;return m[t>>1]=0,t-r},We=e=>2*e.length,qe=(e,t)=>{for(var n=0,r="";!(n>=t/4);){var o=y[e+4*n>>2];if(0==o)break;++n,65536<=o?(o-=65536,r+=String.fromCharCode(55296|o>>10,56320|1023&o)):r+=String.fromCharCode(o)}return r},Ke=(e,t,n)=>{if(n??(n=2147483647),4>n)return 0;var r=t;n=r+n-4;for(var o=0;o<e.length;++o){var i=e.charCodeAt(o);if(55296<=i&&57343>=i&&(i=65536+((1023&i)<<10)|1023&e.charCodeAt(++o)),y[t>>2]=i,(t+=4)+4>n)break}return y[t>>2]=0,t-r},Qe=e=>{for(var t=0,n=0;n<e.length;++n){var r=e.charCodeAt(n);55296<=r&&57343>=r&&++n,t+=4}return t},Ye=0,Ge=(e,t,n)=>{var r=[];return e=e.toWireType(r,n),r.length&&(v[t>>2]=Me(r)),e},Je=[],Xe=Reflect.construct,Ze={},et=e=>{if(!(e instanceof M||"unwind"==e))throw e},tt=e=>{throw f=e,F||0<Ye||(o.onExit?.(e),S=!0),new M(e)},nt={},rt=()=>{if(!Ee){var e,t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:s||"./this.program"};for(e in nt)void 0===nt[e]?delete t[e]:t[e]=nt[e];var n=[];for(e in t)n.push(`${e}=${t[e]}`);Ee=n}return Ee},ot=[null,[],[]],it=e=>(it=(()=>{if("object"==typeof crypto&&"function"==typeof crypto.getRandomValues)return e=>crypto.getRandomValues(e);O("initRandomDevice")})())(e);W=o.InternalError=class extends Error{constructor(e){super(e),this.name="InternalError"}};for(var at=Array(256),st=0;256>st;++st)at[st]=String.fromCharCode(st);q=at,K=o.BindingError=class extends Error{constructor(e){super(e),this.name="BindingError"}},Object.assign(le.prototype,{isAliasOf:function(e){if(!(this instanceof le&&e instanceof le))return!1;var t=this.Oa.Ra.Qa,n=this.Oa.Pa;e.Oa=e.Oa;var r=e.Oa.Ra.Qa;for(e=e.Oa.Pa;t.Ua;)n=t.eb(n),t=t.Ua;for(;r.Ua;)e=r.eb(e),r=r.Ua;return t===r&&n===e},clone:function(){if(this.Oa.Pa||ee(this),this.Oa.cb)return this.Oa.count.value+=1,this;var e=se,t=Object,n=t.create,r=Object.getPrototypeOf(this),o=this.Oa;return(e=e(n.call(t,r,{Oa:{value:{count:o.count,bb:o.bb,cb:o.cb,Pa:o.Pa,Ra:o.Ra,Ta:o.Ta,Va:o.Va}}}))).Oa.count.value+=1,e.Oa.bb=!1,e},delete(){if(this.Oa.Pa||ee(this),this.Oa.bb&&!this.Oa.cb)throw new K("Object already scheduled for deletion");ne(this);var e=this.Oa;--e.count.value,0===e.count.value&&(e.Ta?e.Va.Ya(e.Ta):e.Ra.Qa.Ya(e.Pa)),this.Oa.cb||(this.Oa.Ta=void 0,this.Oa.Pa=void 0)},isDeleted:function(){return!this.Oa.Pa},deleteLater:function(){if(this.Oa.Pa||ee(this),this.Oa.bb&&!this.Oa.cb)throw new K("Object already scheduled for deletion");return this.Oa.bb=!0,this}}),Object.assign(ye.prototype,{rb(e){return this.mb&&(e=this.mb(e)),e},kb(e){this.Ya?.(e)},Wa:8,readValueFromPointer:H,fromWireType:function(e){function t(){return this.gb?ae(this.Qa.$a,{Ra:this.wb,Pa:n,Va:this,Ta:e}):ae(this.Qa.$a,{Ra:this,Pa:e})}var n=this.rb(e);if(!n)return this.kb(e),null;var r=((e,t)=>{if(void 0===t)throw new K("ptr should not be undefined");for(;e.Ua;)t=e.eb(t),e=e.Ua;return ie[t]})(this.Qa,n);if(void 0!==r)return 0===r.Oa.count.value?(r.Oa.Pa=n,r.Oa.Ta=e,r.clone()):(r=r.clone(),this.kb(e),r);if(r=this.Qa.qb(n),!(r=oe[r]))return t.call(this);r=this.fb?r.nb:r.pointerType;var o=re(n,this.Qa,r.Qa);return null===o?t.call(this):this.gb?ae(r.Qa.$a,{Ra:r,Pa:o,Va:this,Ta:e}):ae(r.Qa.$a,{Ra:r,Pa:o})}}),be=o.UnboundTypeError=(Te=Error,(Ae=ue("UnboundTypeError",(function(e){this.name="UnboundTypeError",this.message=e,void 0!==(e=Error(e).stack)&&(this.stack=this.toString()+"\n"+e.replace(/^Error(:[^\n]*)?\n/,""))}))).prototype=Object.create(Te.prototype),Ae.prototype.constructor=Ae,Ae.prototype.toString=function(){return void 0===this.message?this.name:`${this.name}: ${this.message}`},Ae),Re.push(0,1,void 0,1,null,1,!0,1,!1,1),o.count_emval_handles=()=>Re.length/2-5-Oe.length;var lt,ut={d:(e,t,n,r)=>O(`Assertion failed: ${e?j(p,e):""}, at: `+[t?t?j(p,t):"":"unknown filename",n,r?r?j(p,r):"":"unknown function"]),c:()=>(()=>{var e=z;if(!e)return mt(0),0;var t=new U(e);v[t.Pa+16>>2]=e;var n=v[t.Pa+4>>2];if(!n)return mt(0),e;for(var r of[]){if(0===r||r===n)break;if(vt(r,n,t.Pa+16))return mt(r),e}return mt(n),e})(),n:(e,t,n)=>{var r=new U(e);throw v[r.Pa+16>>2]=0,v[r.Pa+4>>2]=t,v[r.Pa+8>>2]=n,z=e},e:e=>{throw z||(z=e),z},T:()=>{},Q:()=>{},R:()=>{},V:()=>{},S:()=>{},X:()=>O(""),w:e=>{var t=B[e];delete B[e];var n=t.ib,r=t.Ya,o=t.lb,i=o.map((e=>e.ub)).concat(o.map((e=>e.Ab)));J([e],i,(e=>{var i={};return o.forEach(((t,n)=>{var r=e[n],a=t.sb,s=t.tb,l=e[n+o.length],u=t.zb,c=t.Bb;i[t.pb]={read:e=>r.fromWireType(a(s,e)),write:(e,t)=>{var n=[];u(c,e,l.toWireType(n,t)),$(n)}}})),[{name:t.name,fromWireType:e=>{var t,n={};for(t in i)n[t]=i[t].read(e);return r(e),n},toWireType:(e,t)=>{for(var o in i)if(!(o in t))throw new TypeError(`Missing field: "${o}"`);var a=n();for(o in i)i[o].write(a,t[o]);return null!==e&&e.push(r,a),a},Wa:8,readValueFromPointer:H,Xa:r}]}))},H:()=>{},fa:(e,t,n,r)=>{Z(e,{name:t=X(t),fromWireType:e=>!!e,toWireType:(e,t)=>t?n:r,Wa:8,readValueFromPointer:function(e){return this.fromWireType(p[e])},Xa:null})},u:(e,t,n,r,o,i,a,s,l,u,c,d,f)=>{c=X(c),i=ke(o,i),s&&(s=ke(a,s)),u&&(u=ke(l,u)),f=ke(d,f);var h=(e=>{var t=(e=e.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return 48<=t&&57>=t?`_${e}`:e})(c);de(h,(()=>{xe(`Cannot construct ${c} due to unbound types`,[r])})),J([e,t,n],r?[r]:[],(t=>{if(t=t[0],r)var n=t.Qa,o=n.$a;else o=le.prototype;t=ue(c,(function(...e){if(Object.getPrototypeOf(this)!==a)throw new K("Use 'new' to construct "+c);if(void 0===d.Za)throw new K(c+" has no accessible constructor");var t=d.Za[e.length];if(void 0===t)throw new K(`Tried to invoke ctor of ${c} with invalid number of parameters (${e.length}) - expected (${Object.keys(d.Za).toString()}) parameters instead!`);return t.apply(this,e)}));var a=Object.create(o,{constructor:{value:t}});t.prototype=a;var l,d=new fe(c,t,a,f,n,i,s,u);return d.Ua&&((l=d.Ua).jb??(l.jb=[]),d.Ua.jb.push(d)),n=new ye(c,d,!0,!1,!1),l=new ye(c+"*",d,!1,!1,!1),o=new ye(c+" const*",d,!1,!0,!1),oe[e]={pointerType:l,nb:o},we(h,t),[n,l,o]}))},t:(e,t,n,r,o,i)=>{var a=_e(t,n);o=ke(r,o),J([],[e],(e=>{var n=`constructor ${(e=e[0]).name}`;if(void 0===e.Qa.Za&&(e.Qa.Za=[]),void 0!==e.Qa.Za[t-1])throw new K(`Cannot register multiple constructors with identical number of parameters (${t-1}) for class '${e.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);return e.Qa.Za[t-1]=()=>{xe(`Cannot construct ${e.name} due to unbound types`,a)},J([],a,(r=>(r.splice(1,0,null),e.Qa.Za[t-1]=Ce(n,r,null,o,i),[]))),[]}))},h:(e,t,n,r,o,i,a,s)=>{var l=_e(n,r);t=X(t),t=Pe(t),i=ke(o,i),J([],[e],(e=>{function r(){xe(`Cannot call ${o} due to unbound types`,l)}var o=`${(e=e[0]).name}.${t}`;t.startsWith("@@")&&(t=Symbol[t.substring(2)]),s&&e.Qa.xb.push(t);var u=e.Qa.$a,c=u[t];return void 0===c||void 0===c.Sa&&c.className!==e.name&&c.ab===n-2?(r.ab=n-2,r.className=e.name,u[t]=r):(ce(u,t,o),u[t].Sa[n-2]=r),J([],l,(r=>(r=Ce(o,r,e,i,a),void 0===u[t].Sa?(r.ab=n-2,u[t]=r):u[t].Sa[n-2]=r,[]))),[]}))},da:e=>Z(e,De),y:(e,t,n,r)=>{function o(){}t=X(t),o.values={},Z(e,{name:t,constructor:o,fromWireType:function(e){return this.constructor.values[e]},toWireType:(e,t)=>t.value,Wa:8,readValueFromPointer:Fe(t,n,r),Xa:null}),de(t,o)},l:(e,t,n)=>{var r=Ne(e,"enum");t=X(t),e=r.constructor,r=Object.create(r.constructor.prototype,{value:{value:n},constructor:{value:ue(`${r.name}_${t}`,(()=>{}))}}),e.values[n]=r,e[t]=r},E:(e,t,n)=>{Z(e,{name:t=X(t),fromWireType:e=>e,toWireType:(e,t)=>t,Wa:8,readValueFromPointer:ze(t,n),Xa:null})},v:(e,t,n,r,o,i)=>{var a=_e(t,n);e=X(e),e=Pe(e),o=ke(r,o),de(e,(()=>{xe(`Cannot call ${e} due to unbound types`,a)}),t-1),J([],a,(n=>(we(e,Ce(e,[n[0],null].concat(n.slice(1)),null,o,i),t-1),[])))},p:(e,t,n,r,o)=>{if(t=X(t),-1===o&&(o=4294967295),o=e=>e,0===r){var i=32-8*n;o=e=>e<<i>>>i}var a=t.includes("unsigned")?(e,t)=>t>>>0:(e,t)=>t;Z(e,{name:t,fromWireType:o,toWireType:a,Wa:8,readValueFromPointer:Ue(t,n,0!==r),Xa:null})},k:(e,t,n)=>{function r(e){return new o(h.buffer,v[e+4>>2],v[e>>2])}var o=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][t];Z(e,{name:n=X(n),fromWireType:r,Wa:8,readValueFromPointer:r},{vb:!0})},x:e=>{Z(e,Ve)},la:(e,t,n,r,o,i,a,s,l,u,c,d)=>{n=X(n),i=ke(o,i),s=ke(a,s),u=ke(l,u),d=ke(c,d),J([e],[t],(e=>(e=e[0],[new ye(n,e.Qa,!1,!1,!0,e,r,i,s,u,d)])))},ea:(e,t)=>{Z(e,{name:t=X(t),fromWireType:e=>{for(var t,n=v[e>>2],r=e+4,o=r,i=0;i<=n;++i){var a=r+i;(i==n||0==p[a])&&(o=o?j(p,o,a-o):"",void 0===t?t=o:(t+="\0",t+=o),o=a+1)}return ft(e),t},toWireType:(e,t)=>{t instanceof ArrayBuffer&&(t=new Uint8Array(t));var n,r="string"==typeof t;if(!(r||t instanceof Uint8Array||t instanceof Uint8ClampedArray||t instanceof Int8Array))throw new K("Cannot pass non-string to std::string");if(r)for(var o=n=0;o<t.length;++o){var i=t.charCodeAt(o);127>=i?n++:2047>=i?n+=2:55296<=i&&57343>=i?(n+=4,++o):n+=3}else n=t.length;if(i=(o=ct(4+n+1))+4,v[o>>2]=n,r)V(t,i,n+1);else if(r)for(r=0;r<n;++r){var a=t.charCodeAt(r);if(255<a)throw ft(i),new K("String has UTF-16 code units that do not fit in 8 bits");p[i+r]=a}else for(r=0;r<n;++r)p[i+r]=t[r];return null!==e&&e.push(ft,o),o},Wa:8,readValueFromPointer:H,Xa(e){ft(e)}})},A:(e,t,n)=>{if(n=X(n),2===t)var r=$e,o=He,i=We,a=e=>g[e>>1];else 4===t&&(r=qe,o=Ke,i=Qe,a=e=>v[e>>2]);Z(e,{name:n,fromWireType:e=>{for(var n,o=v[e>>2],i=e+4,s=0;s<=o;++s){var l=e+4+s*t;(s==o||0==a(l))&&(i=r(i,l-i),void 0===n?n=i:(n+="\0",n+=i),i=l+t)}return ft(e),n},toWireType:(e,r)=>{if("string"!=typeof r)throw new K(`Cannot pass non-string to C++ string type ${n}`);var a=i(r),s=ct(4+a+t);return v[s>>2]=a/t,o(r,s+4,a+t),null!==e&&e.push(ft,s),s},Wa:8,readValueFromPointer:H,Xa(e){ft(e)}})},s:(e,t,n,r,o,i)=>{B[e]={name:X(t),ib:ke(n,r),Ya:ke(o,i),lb:[]}},m:(e,t,n,r,o,i,a,s,l,u)=>{B[e].lb.push({pb:X(t),ub:n,sb:ke(r,o),tb:i,Ab:a,zb:ke(s,l),Bb:u})},ga:(e,t)=>{Z(e,{Db:!0,name:t=X(t),Wa:0,fromWireType:()=>{},toWireType:()=>{}})},O:()=>{F=!1,Ye=0},I:()=>{throw 1/0},F:(e,t,n)=>(e=Le(e),t=Ne(t,"emval::as"),Ge(t,n,e)),ja:(e,t,n,r)=>(e=Je[e])(null,t=Le(t),n,r),M:Ie,ia:(e,t,n)=>{var r=((e,t)=>{for(var n=Array(e),r=0;r<e;++r)n[r]=Ne(v[t+4*r>>2],"parameter "+r);return n})(e,t),o=r.shift();e--;var i=Array(e);return t=`methodCaller<(${r.map((e=>e.name)).join(", ")}) => ${o.name}>`,(e=>{var t=Je.length;return Je.push(e),t})(ue(t,((t,a,s,l)=>{for(var u=0,c=0;c<e;++c)i[c]=r[c].readValueFromPointer(l+u),u+=r[c].Wa;return t=1===n?Xe(a,i):a.apply(t,i),Ge(o,s,t)})))},ka:e=>{9<e&&(Re[e+1]+=1)},ha:e=>{var t=Le(e);$(t),Ie(e)},r:(e,t)=>(e=(e=Ne(e,"_emval_take_value")).readValueFromPointer(t),Me(e)),K:(e,t)=>{if(Ze[e]&&(clearTimeout(Ze[e].id),delete Ze[e]),!t)return 0;var n=setTimeout((()=>{delete Ze[e],(e=>{if(!S)try{if(e(),!(F||0<Ye))try{f=e=f,tt(e)}catch(e){et(e)}}catch(e){et(e)}})((()=>ht(e,performance.now())))}),t);return Ze[e]={id:n,Eb:t},0},L:(e,t,n,r)=>{var o=(new Date).getFullYear(),i=new Date(o,0,1).getTimezoneOffset();o=new Date(o,6,1).getTimezoneOffset(),v[e>>2]=60*Math.max(i,o),y[t>>2]=+(i!=o),e=(t=e=>{var t=Math.abs(e);return`UTC${0<=e?"-":"+"}${String(Math.floor(t/60)).padStart(2,"0")}${String(t%60).padStart(2,"0")}`})(i),t=t(o),o<i?(V(e,n,17),V(t,r,17)):(V(e,r,17),V(t,n,17))},ca:()=>performance.now(),N:e=>{var t=p.length;if(2147483648<(e>>>=0))return!1;for(var n=1;4>=n;n*=2){var r=t*(1+.2/n);r=Math.min(r,e+100663296);e:{r=(Math.min(2147483648,65536*Math.ceil(Math.max(e,r)/65536))-d.buffer.byteLength+65535)/65536|0;try{d.grow(r),x();var o=1;break e}catch{}o=void 0}if(o)return!0}return!1},Z:(e,t)=>{var n=0;return rt().forEach(((r,o)=>{var i=t+n;for(o=v[e+4*o>>2]=i,i=0;i<r.length;++i)h[o++]=r.charCodeAt(i);h[o]=0,n+=r.length+1})),0},_:(e,t)=>{var n=rt();v[e>>2]=n.length;var r=0;return n.forEach((e=>r+=e.length+1)),v[t>>2]=r,0},W:()=>52,U:()=>52,B:(e,t,n,r)=>{for(var o=0,i=0;i<n;i++){var a=v[t>>2],s=v[t+4>>2];t+=8;for(var l=0;l<s;l++){var d=e,f=p[a+l],h=ot[d];0===f||10===f?((1===d?u:c)(j(h)),h.length=0):h.push(f)}o+=s}return v[r>>2]=o,0},$:(e,t)=>{var n=yt();try{return ve.get(e)(t)}catch(e){if(gt(n),e!==e+0)throw e;pt(1,0)}},aa:(e,t,n,r)=>{var o=yt();try{return ve.get(e)(t,n,r)}catch(e){if(gt(o),e!==e+0)throw e;pt(1,0)}},J:(e,t,n)=>{var r=yt();try{return ve.get(e)(t,n)}catch(e){if(gt(r),e!==e+0)throw e;pt(1,0)}},j:(e,t)=>{var n=yt();try{return ve.get(e)(t)}catch(e){if(gt(n),e!==e+0)throw e;pt(1,0)}},i:(e,t,n)=>{var r=yt();try{return ve.get(e)(t,n)}catch(e){if(gt(r),e!==e+0)throw e;pt(1,0)}},g:(e,t,n,r)=>{var o=yt();try{return ve.get(e)(t,n,r)}catch(e){if(gt(o),e!==e+0)throw e;pt(1,0)}},ba:(e,t,n,r,o)=>{var i=yt();try{return ve.get(e)(t,n,r,o)}catch(e){if(gt(i),e!==e+0)throw e;pt(1,0)}},z:(e,t,n,r,o,i)=>{var a=yt();try{return ve.get(e)(t,n,r,o,i)}catch(e){if(gt(a),e!==e+0)throw e;pt(1,0)}},C:(e,t,n,r,o,i,a,s)=>{var l=yt();try{return ve.get(e)(t,n,r,o,i,a,s)}catch(e){if(gt(l),e!==e+0)throw e;pt(1,0)}},D:e=>{var t=yt();try{ve.get(e)()}catch(e){if(gt(t),e!==e+0)throw e;pt(1,0)}},a:(e,t)=>{var n=yt();try{ve.get(e)(t)}catch(e){if(gt(n),e!==e+0)throw e;pt(1,0)}},b:(e,t,n)=>{var r=yt();try{ve.get(e)(t,n)}catch(e){if(gt(r),e!==e+0)throw e;pt(1,0)}},f:(e,t,n,r)=>{var o=yt();try{ve.get(e)(t,n,r)}catch(e){if(gt(o),e!==e+0)throw e;pt(1,0)}},o:(e,t,n,r,o)=>{var i=yt();try{ve.get(e)(t,n,r,o)}catch(e){if(gt(i),e!==e+0)throw e;pt(1,0)}},q:(e,t,n,r,o,i)=>{var a=yt();try{ve.get(e)(t,n,r,o,i)}catch(e){if(gt(a),e!==e+0)throw e;pt(1,0)}},G:(e,t,n,r,o,i,a,s,l,u)=>{var c=yt();try{wt(e,t,n,r,o,i,a,s,l,u)}catch(e){if(gt(c),e!==e+0)throw e;pt(1,0)}},Y:tt,P:(e,t)=>(it(p.subarray(e,e+t)),0)};(async()=>{function e(e){return lt=e.exports,d=lt.ma,x(),ve=lt.ra,C.unshift(lt.na),A--,o.monitorRunDependencies?.(A),0==A&&P&&(e=P,P=null,e()),lt}A++,o.monitorRunDependencies?.(A);var t={a:ut};if(o.instantiateWasm)try{return o.instantiateWasm(t,e)}catch(e){c(`Module.instantiateWasm callback failed with error: ${e}`),n(e)}R??(R=I("DotLottiePlayer.wasm")?"DotLottiePlayer.wasm":o.locateFile?o.locateFile("DotLottiePlayer.wasm",l):l+"DotLottiePlayer.wasm");try{var r=await(async e=>{var t=R;if(!k&&"function"==typeof WebAssembly.instantiateStreaming&&!I(t)&&"function"==typeof fetch)try{var n=fetch(t,{credentials:"same-origin"});return await WebAssembly.instantiateStreaming(n,e)}catch(e){c(`wasm streaming compile failed: ${e}`),c("falling back to ArrayBuffer instantiation")}return L(t,e)})(t);return e(r.instance),r}catch(e){n(e)}})();var ct=e=>(ct=lt.oa)(e),dt=e=>(dt=lt.pa)(e),ft=e=>(ft=lt.qa)(e),ht=(e,t)=>(ht=lt.sa)(e,t),pt=(e,t)=>(pt=lt.ta)(e,t),mt=e=>(mt=lt.ua)(e),gt=e=>(gt=lt.va)(e),yt=()=>(yt=lt.wa)(),vt=(e,t,n)=>(vt=lt.xa)(e,t,n);o.dynCall_iijj=(e,t,n,r,i,a)=>(o.dynCall_iijj=lt.ya)(e,t,n,r,i,a),o.dynCall_vijj=(e,t,n,r,i,a)=>(o.dynCall_vijj=lt.za)(e,t,n,r,i,a),o.dynCall_jiii=(e,t,n,r)=>(o.dynCall_jiii=lt.Aa)(e,t,n,r);var bt,wt=o.dynCall_vijjjj=(e,t,n,r,i,a,s,l,u,c)=>(wt=o.dynCall_vijjjj=lt.Ba)(e,t,n,r,i,a,s,l,u,c);function kt(){function e(){if(!bt&&(bt=!0,o.calledRun=!0,!S)){if(D(C),t(o),o.onRuntimeInitialized?.(),o.postRun)for("function"==typeof o.postRun&&(o.postRun=[o.postRun]);o.postRun.length;){var e=o.postRun.shift();E.unshift(e)}D(E)}}if(!(0<A)){if(o.preRun)for("function"==typeof o.preRun&&(o.preRun=[o.preRun]);o.preRun.length;)T();D(_),0<A||(o.setStatus?(o.setStatus("Running..."),setTimeout((()=>{setTimeout((()=>o.setStatus("")),1),e()}),1)):e())}}if(o.dynCall_jii=(e,t,n)=>(o.dynCall_jii=lt.Ca)(e,t,n),o.dynCall_vjii=(e,t,n,r,i)=>(o.dynCall_vjii=lt.Da)(e,t,n,r,i),o.dynCall_vjfii=(e,t,n,r,i,a)=>(o.dynCall_vjfii=lt.Ea)(e,t,n,r,i,a),o.dynCall_vjiii=(e,t,n,r,i,a)=>(o.dynCall_vjiii=lt.Fa)(e,t,n,r,i,a),o.dynCall_vj=(e,t,n)=>(o.dynCall_vj=lt.Ga)(e,t,n),o.dynCall_vjiiiii=(e,t,n,r,i,a,s,l)=>(o.dynCall_vjiiiii=lt.Ha)(e,t,n,r,i,a,s,l),o.dynCall_vjiffii=(e,t,n,r,i,a,s,l)=>(o.dynCall_vjiffii=lt.Ia)(e,t,n,r,i,a,s,l),o.dynCall_vjiiii=(e,t,n,r,i,a,s)=>(o.dynCall_vjiiii=lt.Ja)(e,t,n,r,i,a,s),o.dynCall_viijii=(e,t,n,r,i,a,s)=>(o.dynCall_viijii=lt.Ka)(e,t,n,r,i,a,s),o.dynCall_iiiiij=(e,t,n,r,i,a,s)=>(o.dynCall_iiiiij=lt.La)(e,t,n,r,i,a,s),o.dynCall_iiiiijj=(e,t,n,r,i,a,s,l,u)=>(o.dynCall_iiiiijj=lt.Ma)(e,t,n,r,i,a,s,l,u),o.dynCall_iiiiiijj=(e,t,n,r,i,a,s,l,u,c)=>(o.dynCall_iiiiiijj=lt.Na)(e,t,n,r,i,a,s,l,u,c),P=function e(){bt||kt(),bt||(P=e)},o.preInit)for("function"==typeof o.preInit&&(o.preInit=[o.preInit]);0<o.preInit.length;)o.preInit.pop()();return kt(),i}),Qv=Kv,Yv=class{constructor(){throw new Error("RendererLoader is a static class and cannot be instantiated.")}static async _tryLoad(e){return await Qv({locateFile:()=>e})}static async _loadWithBackup(){return this._ModulePromise||(this._ModulePromise=this._tryLoad(this._wasmURL).catch((async e=>{let t=`https://unpkg.com/${qv}@${Wv}/dist/dotlottie-player.wasm`;console.warn(`Primary WASM load failed from ${this._wasmURL}. Error: ${e.message}`),console.warn(`Attempting to load WASM from backup URL: ${t}`);try{return await this._tryLoad(t)}catch(t){throw console.error(`Primary WASM URL failed: ${e.message}`),console.error(`Backup WASM URL failed: ${t.message}`),new Error("WASM loading failed from all sources.")}}))),this._ModulePromise}static async load(){return this._loadWithBackup()}static setWasmUrl(e){e!==this._wasmURL&&(this._wasmURL=e,this._ModulePromise=null)}};jv(Yv,"_ModulePromise",null),jv(Yv,"_wasmURL",`https://cdn.jsdelivr.net/npm/${qv}@${Wv}/dist/dotlottie-player.wasm`);var Gv=class{constructor(){jv(this,"_eventListeners",new Map)}addEventListener(e,t){let n=this._eventListeners.get(e);n||(n=new Set,this._eventListeners.set(e,n)),n.add(t)}removeEventListener(e,t){let n=this._eventListeners.get(e);n&&(t?(n.delete(t),0===n.size&&this._eventListeners.delete(e)):this._eventListeners.delete(e))}dispatch(e){this._eventListeners.get(e.type)?.forEach((t=>t(e)))}removeAllEventListeners(){this._eventListeners.clear()}},Jv=class{static _initializeObserver(){this._observer||(this._observer=new IntersectionObserver((e=>{e.forEach((e=>{let t=this._observedCanvases.get(e.target);t&&(e.isIntersecting?t.unfreeze():t.freeze())}))}),{threshold:0}))}static observe(e,t){this._initializeObserver(),!this._observedCanvases.has(e)&&(this._observedCanvases.set(e,t),this._observer?.observe(e))}static unobserve(e){this._observer?.unobserve(e),this._observedCanvases.delete(e),0===this._observedCanvases.size&&(this._observer?.disconnect(),this._observer=null)}};jv(Jv,"_observer",null),jv(Jv,"_observedCanvases",new Map);var Xv=class{static _initializeObserver(){this._observer||(this._observer=new ResizeObserver((e=>{e.forEach((e=>{let t=this._observedCanvases.get(e.target);if(!t)return;let[n,r]=t;clearTimeout(r);let o=setTimeout((()=>{n.resize()}),100);this._observedCanvases.set(e.target,[n,o])}))})))}static observe(e,t){this._initializeObserver(),!this._observedCanvases.has(e)&&(this._observedCanvases.set(e,[t,0]),this._observer?.observe(e))}static unobserve(e){let t=this._observedCanvases.get(e);if(t){let e=t[1];e&&clearTimeout(e)}this._observer?.unobserve(e),this._observedCanvases.delete(e),!this._observedCanvases.size&&this._observer&&(this._observer.disconnect(),this._observer=null)}};function Zv(e){if(!function(e){return/^#([\da-f]{6}|[\da-f]{8})$/iu.test(e)}(e))return 0;let t=e.replace("#","");return t=6===t.length?`${t}ff`:t,parseInt(t,16)}function eb(e){if(e.byteLength<4)return!1;let t=new Uint8Array(e.slice(0,$v.byteLength));for(let e=0;e<$v.length;e+=1)if($v[e]!==t[e])return!1;return!0}function tb(e){return Hv.every((t=>Object.prototype.hasOwnProperty.call(e,t)))}function nb(e){if("string"!=typeof e)return tb(e);try{return tb(JSON.parse(e))}catch{return!1}}function rb(){return 1+.75*((Bv?window.devicePixelRatio:1)-1)}function ob(e){let t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)}jv(Xv,"_observer",null),jv(Xv,"_observedCanvases",new Map);var ib=(e,t)=>"reverse"===e?t.Mode.Reverse:"bounce"===e?t.Mode.Bounce:"reverse-bounce"===e?t.Mode.ReverseBounce:t.Mode.Forward,ab=(e,t)=>"contain"===e?t.Fit.Contain:"cover"===e?t.Fit.Cover:"fill"===e?t.Fit.Fill:"fit-height"===e?t.Fit.FitHeight:"fit-width"===e?t.Fit.FitWidth:t.Fit.None,sb=(e,t)=>{let n=new t.VectorFloat;return n.push_back(e[0]),n.push_back(e[1]),n},lb=(e,t)=>{let n=new t.VectorFloat;return 2!==e.length||(n.push_back(e[0]),n.push_back(e[1])),n},ub=(e,t)=>e?{align:sb(e.align??[.5,.5],t),fit:ab(e.fit??"contain",t)}:t.createDefaultLayout(),cb=class e{constructor(t){jv(this,"_canvas"),jv(this,"_context",null),jv(this,"_eventManager"),jv(this,"_animationFrameId",null),jv(this,"_frameManager"),jv(this,"_dotLottieCore",null),jv(this,"_renderConfig",{}),jv(this,"_isFrozen",!1),jv(this,"_backgroundColor",null),jv(this,"_pointerUpMethod"),jv(this,"_pointerDownMethod"),jv(this,"_pointerMoveMethod"),jv(this,"_pointerEnterMethod"),jv(this,"_pointerExitMethod"),this._canvas=t.canvas,this._eventManager=new Gv,this._frameManager=new Vv,this._renderConfig={...t.renderConfig,devicePixelRatio:t.renderConfig?.devicePixelRatio||rb(),freezeOnOffscreen:t.renderConfig?.freezeOnOffscreen??!0},Yv.load().then((n=>{e._wasmModule=n,this._dotLottieCore=new n.DotLottiePlayer({animationId:t.animationId??"",themeId:t.themeId??"",stateMachineId:"",autoplay:t.autoplay??!1,backgroundColor:0,loopAnimation:t.loop??!1,mode:ib(t.mode??"forward",n),segment:lb(t.segment??[],n),speed:t.speed??1,useFrameInterpolation:t.useFrameInterpolation??!0,marker:t.marker??"",layout:ub(t.layout,n)}),this._eventManager.dispatch({type:"ready"}),t.data?this._loadFromData(t.data):t.src&&this._loadFromSrc(t.src),t.backgroundColor&&this.setBackgroundColor(t.backgroundColor)})).catch((e=>{this._eventManager.dispatch({type:"loadError",error:new Error(`Failed to load wasm module: ${e}`)})})),this._pointerUpMethod=this._onPointerUp.bind(this),this._pointerDownMethod=this._onPointerDown.bind(this),this._pointerMoveMethod=this._onPointerMove.bind(this),this._pointerEnterMethod=this._onPointerEnter.bind(this),this._pointerExitMethod=this._onPointerLeave.bind(this)}_dispatchError(e){console.error(e),this._eventManager.dispatch({type:"loadError",error:new Error(e)})}async _fetchData(e){let t=await fetch(e);if(!t.ok)throw new Error(`Failed to fetch animation data from URL: ${e}. ${t.status}: ${t.statusText}`);let n=await t.arrayBuffer();return eb(n)?n:(new TextDecoder).decode(n)}_loadFromData(e){if(null===this._dotLottieCore)return;let t=this._canvas.width,n=this._canvas.height,r=!1;if("string"==typeof e){if(!nb(e))return void this._dispatchError("Invalid Lottie JSON string: The provided string does not conform to the Lottie JSON format.");r=this._dotLottieCore.loadAnimationData(e,t,n)}else if(e instanceof ArrayBuffer){if(!eb(e))return void this._dispatchError("Invalid dotLottie ArrayBuffer: The provided ArrayBuffer does not conform to the dotLottie format.");r=this._dotLottieCore.loadDotLottieData(e,t,n)}else{if("object"!=typeof e)return void this._dispatchError("Unsupported data type for animation data. Expected: \n          - string (Lottie JSON),\n          - ArrayBuffer (dotLottie),\n          - object (Lottie JSON). \n          Received: "+typeof e);if(!nb(e))return void this._dispatchError("Invalid Lottie JSON object: The provided object does not conform to the Lottie JSON format.");r=this._dotLottieCore.loadAnimationData(JSON.stringify(e),t,n)}r?(this._eventManager.dispatch({type:"load"}),Bv&&this.resize(),this._eventManager.dispatch({type:"frame",currentFrame:this.currentFrame}),this._render(),this._dotLottieCore.config().autoplay&&(this._dotLottieCore.play(),this._dotLottieCore.isPlaying()?(this._eventManager.dispatch({type:"play"}),this._animationFrameId=this._frameManager.requestAnimationFrame(this._draw.bind(this))):console.error("something went wrong, the animation was suppose to autoplay")),Bv&&this._canvas instanceof HTMLCanvasElement&&(this._renderConfig.freezeOnOffscreen&&Jv.observe(this._canvas,this),this._renderConfig.autoResize&&Xv.observe(this._canvas,this))):this._dispatchError("Failed to load animation data")}_loadFromSrc(e){this._fetchData(e).then((e=>this._loadFromData(e))).catch((t=>this._dispatchError(`Failed to load animation data from URL: ${e}. ${t}`)))}get buffer(){return this._dotLottieCore?this._dotLottieCore.buffer():null}get activeAnimationId(){return this._dotLottieCore?.activeAnimationId()}get activeThemeId(){return this._dotLottieCore?.activeThemeId()}get layout(){let t=this._dotLottieCore?.config().layout;if(t)return{align:[t.align.get(0),t.align.get(1)],fit:(()=>{switch(t.fit){case e._wasmModule?.Fit.Contain:return"contain";case e._wasmModule?.Fit.Cover:return"cover";case e._wasmModule?.Fit.Fill:return"fill";case e._wasmModule?.Fit.FitHeight:return"fit-height";case e._wasmModule?.Fit.FitWidth:return"fit-width";case e._wasmModule?.Fit.None:return"none";default:return"contain"}})()}}get marker(){return this._dotLottieCore?.config().marker}get manifest(){try{let e=this._dotLottieCore?.manifestString();if(null===this._dotLottieCore||!e)return null;let t=JSON.parse(e);return 0===Object.keys(t).length?null:t}catch{return null}}get renderConfig(){return this._renderConfig}get segment(){let e=this._dotLottieCore?.config().segment;if(e&&2===e.size())return[e.get(0),e.get(1)]}get loop(){return this._dotLottieCore?.config().loopAnimation??!1}get mode(){let t=this._dotLottieCore?.config().mode;return t===e._wasmModule?.Mode.Reverse?"reverse":t===e._wasmModule?.Mode.Bounce?"bounce":t===e._wasmModule?.Mode.ReverseBounce?"reverse-bounce":"forward"}get isFrozen(){return this._isFrozen}get backgroundColor(){return this._backgroundColor??""}get autoplay(){return this._dotLottieCore?.config().autoplay??!1}get useFrameInterpolation(){return this._dotLottieCore?.config().useFrameInterpolation??!1}get speed(){return this._dotLottieCore?.config().speed??0}get isReady(){return null!==this._dotLottieCore}get isLoaded(){return this._dotLottieCore?.isLoaded()??!1}get isPlaying(){return this._dotLottieCore?.isPlaying()??!1}get isPaused(){return this._dotLottieCore?.isPaused()??!1}get isStopped(){return this._dotLottieCore?.isStopped()??!1}get currentFrame(){return this._dotLottieCore?Math.round(100*this._dotLottieCore.currentFrame())/100:0}get loopCount(){return this._dotLottieCore?.loopCount()??0}get totalFrames(){return this._dotLottieCore?.totalFrames()??0}get duration(){return this._dotLottieCore?.duration()??0}get segmentDuration(){return this._dotLottieCore?.segmentDuration()??0}get canvas(){return this._canvas}load(t){null===this._dotLottieCore||null===e._wasmModule||(null!==this._animationFrameId&&(this._frameManager.cancelAnimationFrame(this._animationFrameId),this._animationFrameId=null),this._isFrozen=!1,this._dotLottieCore.setConfig({animationId:t.animationId??"",themeId:t.themeId??"",stateMachineId:"",autoplay:t.autoplay??!1,backgroundColor:0,loopAnimation:t.loop??!1,mode:ib(t.mode??"forward",e._wasmModule),segment:lb(t.segment??[],e._wasmModule),speed:t.speed??1,useFrameInterpolation:t.useFrameInterpolation??!0,marker:t.marker??"",layout:ub(t.layout,e._wasmModule)}),t.data?this._loadFromData(t.data):t.src&&this._loadFromSrc(t.src),this.setBackgroundColor(t.backgroundColor??""))}_render(){if(null===this._dotLottieCore)return!1;if(!this._context&&"getContext"in this._canvas&&"function"==typeof this._canvas.getContext&&(this._context=this._canvas.getContext("2d")),this._dotLottieCore.render()){if(this._context){let e=this._dotLottieCore.buffer(),t=this._canvas.width*this._canvas.height*4;if(e.byteLength!==t)return console.warn(`Buffer size mismatch: got ${e.byteLength}, expected ${t}`),!1;let n=null,r=new Uint8ClampedArray(e,0,e.byteLength);typeof ImageData>"u"?(n=this._context.createImageData(this._canvas.width,this._canvas.height),n.data.set(r)):n=new ImageData(r,this._canvas.width,this._canvas.height),this._context.putImageData(n,0,0)}return this._eventManager.dispatch({type:"render",currentFrame:this.currentFrame}),!0}return!1}_draw(){if(null!==this._dotLottieCore&&this._dotLottieCore.isPlaying())try{if(this._dotLottieCore.isTweening())this._dotLottieCore.tweenUpdate()&&this._render();else{let e=Math.round(1e3*this._dotLottieCore.requestFrame())/1e3;if(this._dotLottieCore.setFrame(e)&&(this._eventManager.dispatch({type:"frame",currentFrame:this.currentFrame}),this._render()&&this._dotLottieCore.isComplete())){if(!this._dotLottieCore.config().loopAnimation)return void this._eventManager.dispatch({type:"complete"});this._eventManager.dispatch({type:"loop",loopCount:this._dotLottieCore.loopCount()})}}this._animationFrameId=this._frameManager.requestAnimationFrame(this._draw.bind(this))}catch(e){console.error("Error in animation frame:",e),this._eventManager.dispatch({type:"renderError",error:e}),e instanceof WebAssembly.RuntimeError&&this.destroy()}}play(){null!==this._dotLottieCore&&(null!==this._animationFrameId&&(this._frameManager.cancelAnimationFrame(this._animationFrameId),this._animationFrameId=null),(this._dotLottieCore.play()||this._dotLottieCore.isPlaying())&&(this._isFrozen=!1,this._eventManager.dispatch({type:"play"}),this._animationFrameId=this._frameManager.requestAnimationFrame(this._draw.bind(this))),Bv&&this._canvas instanceof HTMLCanvasElement&&this._renderConfig.freezeOnOffscreen&&!ob(this._canvas)&&this.freeze())}pause(){null!==this._dotLottieCore&&(this._dotLottieCore.pause()||this._dotLottieCore.isPaused())&&this._eventManager.dispatch({type:"pause"})}stop(){null!==this._dotLottieCore&&this._dotLottieCore.stop()&&(this._eventManager.dispatch({type:"frame",currentFrame:this.currentFrame}),this._render(),this._eventManager.dispatch({type:"stop"}))}setFrame(e){null===this._dotLottieCore||e<0||e>this._dotLottieCore.totalFrames()||this._dotLottieCore.seek(e)&&(this._eventManager.dispatch({type:"frame",currentFrame:this.currentFrame}),this._render())}setSpeed(e){null!==this._dotLottieCore&&this._dotLottieCore.setConfig({...this._dotLottieCore.config(),speed:e})}setBackgroundColor(e){null!==this._dotLottieCore&&(Bv&&this._canvas instanceof HTMLCanvasElement?this._canvas.style.backgroundColor=e:this._dotLottieCore.setConfig({...this._dotLottieCore.config(),backgroundColor:Zv(e)}),this._backgroundColor=e)}setLoop(e){null!==this._dotLottieCore&&this._dotLottieCore.setConfig({...this._dotLottieCore.config(),loopAnimation:e})}setUseFrameInterpolation(e){null!==this._dotLottieCore&&this._dotLottieCore.setConfig({...this._dotLottieCore.config(),useFrameInterpolation:e})}addEventListener(e,t){this._eventManager.addEventListener(e,t)}removeEventListener(e,t){this._eventManager.removeEventListener(e,t)}destroy(){null!==this._animationFrameId&&(this._frameManager.cancelAnimationFrame(this._animationFrameId),this._animationFrameId=null),Bv&&this._canvas instanceof HTMLCanvasElement&&(Jv.unobserve(this._canvas),Xv.unobserve(this._canvas)),this._dotLottieCore?.delete(),this._dotLottieCore=null,this._context=null,this._eventManager.dispatch({type:"destroy"}),this._eventManager.removeAllEventListeners(),this._cleanupStateMachineListeners()}freeze(){null!==this._animationFrameId&&(this._frameManager.cancelAnimationFrame(this._animationFrameId),this._animationFrameId=null,this._isFrozen=!0,this._eventManager.dispatch({type:"freeze"}))}unfreeze(){null===this._animationFrameId&&(this._animationFrameId=this._frameManager.requestAnimationFrame(this._draw.bind(this)),this._isFrozen=!1,this._eventManager.dispatch({type:"unfreeze"}))}resize(){if(this._dotLottieCore&&this.isLoaded){if(Bv&&this._canvas instanceof HTMLCanvasElement){let e=this._renderConfig.devicePixelRatio||window.devicePixelRatio||1,{height:t,width:n}=this._canvas.getBoundingClientRect();0!==t&&0!==n&&(this._canvas.width=n*e,this._canvas.height=t*e)}this._dotLottieCore.resize(this._canvas.width,this._canvas.height)&&this._render()}}setSegment(t,n){null===this._dotLottieCore||null===e._wasmModule||this._dotLottieCore.setConfig({...this._dotLottieCore.config(),segment:lb([t,n],e._wasmModule)})}setMode(t){null===this._dotLottieCore||null===e._wasmModule||this._dotLottieCore.setConfig({...this._dotLottieCore.config(),mode:ib(t,e._wasmModule)})}setRenderConfig(e){let{devicePixelRatio:t,freezeOnOffscreen:n,...r}=e;this._renderConfig={...this._renderConfig,...r,devicePixelRatio:t||rb(),freezeOnOffscreen:n??!0},Bv&&this._canvas instanceof HTMLCanvasElement&&(this._renderConfig.autoResize?Xv.observe(this._canvas,this):Xv.unobserve(this._canvas),this._renderConfig.freezeOnOffscreen?Jv.observe(this._canvas,this):(Jv.unobserve(this._canvas),this._isFrozen&&this.unfreeze()))}loadAnimation(e){null===this._dotLottieCore||this._dotLottieCore.activeAnimationId()===e||(this._dotLottieCore.loadAnimation(e,this._canvas.width,this._canvas.height)?(this._eventManager.dispatch({type:"load"}),this.resize()):this._eventManager.dispatch({type:"loadError",error:new Error(`Failed to animation :${e}`)}))}setMarker(e){null!==this._dotLottieCore&&this._dotLottieCore.setConfig({...this._dotLottieCore.config(),marker:e})}markers(){let e=this._dotLottieCore?.markers();if(e){let t=[];for(let n=0;n<e.size();n+=1){let r=e.get(n);t.push({name:r.name,time:r.time,duration:r.duration})}return t}return[]}setTheme(e){if(null===this._dotLottieCore)return!1;let t=this._dotLottieCore.setTheme(e);return this._render(),t}resetTheme(){return null!==this._dotLottieCore&&this._dotLottieCore.resetTheme()}setThemeData(e){if(null===this._dotLottieCore)return!1;let t=this._dotLottieCore.setThemeData(e);return this._render(),t}setSlots(e){null!==this._dotLottieCore&&this._dotLottieCore.setSlots(e)}setLayout(t){null===this._dotLottieCore||null===e._wasmModule||this._dotLottieCore.setConfig({...this._dotLottieCore.config(),layout:ub(t,e._wasmModule)})}setViewport(e,t,n,r){return null!==this._dotLottieCore&&this._dotLottieCore.setViewport(e,t,n,r)}static setWasmUrl(e){Yv.setWasmUrl(e)}loadStateMachine(e){return this._dotLottieCore?.stateMachineLoad(e)??!1}startStateMachine(){if(null===e._wasmModule||null===this._dotLottieCore)return!1;let t=e._wasmModule.createDefaultOpenURL(),n=this._dotLottieCore.stateMachineStart(t);return n&&this._setupStateMachineListeners(),n}stopStateMachine(){let e=this._dotLottieCore?.stateMachineStop()??!1;return e&&this._cleanupStateMachineListeners(),e}_getPointerPosition(e){let t=this._canvas.getBoundingClientRect(),n=this._canvas.width/t.width,r=this._canvas.height/t.height,o=this._renderConfig.devicePixelRatio||window.devicePixelRatio||1;return{x:(e.clientX-t.left)*n/o,y:(e.clientY-t.top)*r/o}}_onPointerUp(e){let{x:t,y:n}=this._getPointerPosition(e);this.postPointerUpEvent(t,n)}_onPointerDown(e){let{x:t,y:n}=this._getPointerPosition(e);this.postPointerDownEvent(t,n)}_onPointerMove(e){let{x:t,y:n}=this._getPointerPosition(e);this.postPointerMoveEvent(t,n)}_onPointerEnter(e){let{x:t,y:n}=this._getPointerPosition(e);this.postPointerEnterEvent(t,n)}_onPointerLeave(e){let{x:t,y:n}=this._getPointerPosition(e);this.postPointerExitEvent(t,n)}postPointerUpEvent(e,t){return this._dotLottieCore?.stateMachinePostPointerUpEvent(e,t)}postPointerDownEvent(e,t){return this._dotLottieCore?.stateMachinePostPointerDownEvent(e,t)}postPointerMoveEvent(e,t){return this._dotLottieCore?.stateMachinePostPointerMoveEvent(e,t)}postPointerEnterEvent(e,t){return this._dotLottieCore?.stateMachinePostPointerEnterEvent(e,t)}postPointerExitEvent(e,t){return this._dotLottieCore?.stateMachinePostPointerExitEvent(e,t)}getStateMachineListeners(){if(!this._dotLottieCore)return[];let e=this._dotLottieCore.stateMachineFrameworkSetup(),t=[];for(let n=0;n<e.size();n+=1)t.push(e.get(n));return t}_setupStateMachineListeners(){if(Bv&&this._canvas instanceof HTMLCanvasElement&&null!==this._dotLottieCore&&this.isLoaded){let e=this.getStateMachineListeners();e.includes("PointerUp")&&this._canvas.addEventListener("pointerup",this._pointerUpMethod),e.includes("PointerDown")&&this._canvas.addEventListener("pointerdown",this._pointerDownMethod),e.includes("PointerMove")&&this._canvas.addEventListener("pointermove",this._pointerMoveMethod),e.includes("PointerEnter")&&this._canvas.addEventListener("pointerenter",this._pointerEnterMethod),e.includes("PointerExit")&&this._canvas.addEventListener("pointerleave",this._pointerExitMethod)}}_cleanupStateMachineListeners(){Bv&&this._canvas instanceof HTMLCanvasElement&&(this._canvas.removeEventListener("pointerup",this._pointerUpMethod),this._canvas.removeEventListener("pointerdown",this._pointerDownMethod),this._canvas.removeEventListener("pointermove",this._pointerMoveMethod),this._canvas.removeEventListener("pointerenter",this._pointerEnterMethod),this._canvas.removeEventListener("pointerleave",this._pointerExitMethod))}loadStateMachineData(e){return this._dotLottieCore?.stateMachineLoadData(e)??!1}animationSize(){return{width:this._dotLottieCore?.animationSize().get(0)??0,height:this._dotLottieCore?.animationSize().get(1)??0}}setStateMachineBooleanContext(e,t){return this._dotLottieCore?.stateMachineSetBooleanInput(e,t)??!1}setStateMachineNumericContext(e,t){return this._dotLottieCore?.stateMachineSetNumericInput(e,t)??!1}setStateMachineStringContext(e,t){return this._dotLottieCore?.stateMachineSetStringInput(e,t)??!1}getLayerBoundingBox(e){let t=this._dotLottieCore?.getLayerBounds(e);if(!t||8!==t.size())return;let n=[];for(let e=0;e<8;e+=1)n.push(t.get(e));return n}tween(t,n){if(!e._wasmModule)return!1;let r=[0,0,1,1],o=new e._wasmModule.VectorFloat;for(let e of r)o.push_back(e);return this._dotLottieCore?.tween(t,n,o)??!1}tweenToMarker(t,n){if(!e._wasmModule)return!1;let r=[0,0,1,1],o=new e._wasmModule.VectorFloat;for(let e of r)o.push_back(e);return this._dotLottieCore?.tweenToMarker(t,n,o)??!1}static transformThemeToLottieSlots(t,n){return e._wasmModule?.transformThemeToLottieSlots(t,n)??""}};jv(cb,"_wasmModule",null);var db=cb,fb=class{constructor(){if(typeof Worker>"u")throw new Error("Worker is not supported in this environment.");let e=new Blob([new Uint8Array([34,117,115,101,32,115,116,114,105,99,116,34,59,10,40,40,41,32,61,62,32,123,10,32,32,118,97,114,32,95,95,100,101,102,80,114,111,112,32,61,32,79,98,106,101,99,116,46,100,101,102,105,110,101,80,114,111,112,101,114,116,121,59,10,32,32,118,97,114,32,95,95,100,101,102,78,111,114,109,97,108,80,114,111,112,32,61,32,40,111,98,106,44,32,107,101,121,44,32,118,97,108,117,101,41,32,61,62,32,107,101,121,32,105,110,32,111,98,106,32,63,32,95,95,100,101,102,80,114,111,112,40,111,98,106,44,32,107,101,121,44,32,123,32,101,110,117,109,101,114,97,98,108,101,58,32,116,114,117,101,44,32,99,111,110,102,105,103,117,114,97,98,108,101,58,32,116,114,117,101,44,32,119,114,105,116,97,98,108,101,58,32,116,114,117,101,44,32,118,97,108,117,101,32,125,41,32,58,32,111,98,106,91,107,101,121,93,32,61,32,118,97,108,117,101,59,10,32,32,118,97,114,32,95,95,112,117,98,108,105,99,70,105,101,108,100,32,61,32,40,111,98,106,44,32,107,101,121,44,32,118,97,108,117,101,41,32,61,62,32,95,95,100,101,102,78,111,114,109,97,108,80,114,111,112,40,111,98,106,44,32,116,121,112,101,111,102,32,107,101,121,32,33,61,61,32,34,115,121,109,98,111,108,34,32,63,32,107,101,121,32,43,32,34,34,32,58,32,107,101,121,44,32,118,97,108,117,101,41,59,10,10,32,32,47,47,32,115,114,99,47,97,110,105,109,97,116,105,111,110,45,102,114,97,109,101,45,109,97,110,97,103,101,114,46,116,115,10,32,32,118,97,114,32,87,101,98,65,110,105,109,97,116,105,111,110,70,114,97,109,101,83,116,114,97,116,101,103,121,32,61,32,99,108,97,115,115,32,123,10,32,32,32,32,114,101,113,117,101,115,116,65,110,105,109,97,116,105,111,110,70,114,97,109,101,40,99,97,108,108,98,97,99,107,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,114,101,113,117,101,115,116,65,110,105,109,97,116,105,111,110,70,114,97,109,101,40,99,97,108,108,98,97,99,107,41,59,10,32,32,32,32,125,10,32,32,32,32,99,97,110,99,101,108,65,110,105,109,97,116,105,111,110,70,114,97,109,101,40,105,100,41,32,123,10,32,32,32,32,32,32,99,97,110,99,101,108,65,110,105,109,97,116,105,111,110,70,114,97,109,101,40,105,100,41,59,10,32,32,32,32,125,10,32,32,125,59,10,32,32,118,97,114,32,78,111,100,101,65,110,105,109,97,116,105,111,110,70,114,97,109,101,83,116,114,97,116,101,103,121,32,61,32,99,108,97,115,115,32,123,10,32,32,32,32,99,111,110,115,116,114,117,99,116,111,114,40,41,32,123,10,32,32,32,32,32,32,95,95,112,117,98,108,105,99,70,105,101,108,100,40,116,104,105,115,44,32,34,95,108,97,115,116,72,97,110,100,108,101,73,100,34,44,32,48,41,59,10,32,32,32,32,32,32,95,95,112,117,98,108,105,99,70,105,101,108,100,40,116,104,105,115,44,32,34,95,108,97,115,116,73,109,109,101,100,105,97,116,101,34,44,32,110,117,108,108,41,59,10,32,32,32,32,125,10,32,32,32,32,114,101,113,117,101,115,116,65,110,105,109,97,116,105,111,110,70,114,97,109,101,40,99,97,108,108,98,97,99,107,41,32,123,10,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,108,97,115,116,72,97,110,100,108,101,73,100,32,62,61,32,78,117,109,98,101,114,46,77,65,88,95,83,65,70,69,95,73,78,84,69,71,69,82,41,32,123,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,108,97,115,116,72,97,110,100,108,101,73,100,32,61,32,48,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,116,104,105,115,46,95,108,97,115,116,72,97,110,100,108,101,73,100,32,43,61,32,49,59,10,32,32,32,32,32,32,116,104,105,115,46,95,108,97,115,116,73,109,109,101,100,105,97,116,101,32,61,32,115,101,116,73,109,109,101,100,105,97,116,101,40,40,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,99,97,108,108,98,97,99,107,40,68,97,116,101,46,110,111,119,40,41,41,59,10,32,32,32,32,32,32,125,41,59,10,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,95,108,97,115,116,72,97,110,100,108,101,73,100,59,10,32,32,32,32,125,10,32,32,32,32,99,97,110,99,101,108,65,110,105,109,97,116,105,111,110,70,114,97,109,101,40,95,105,100,41,32,123,10,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,108,97,115,116,73,109,109,101,100,105,97,116,101,41,32,123,10,32,32,32,32,32,32,32,32,99,108,101,97,114,73,109,109,101,100,105,97,116,101,40,116,104,105,115,46,95,108,97,115,116,73,109,109,101,100,105,97,116,101,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,125,10,32,32,125,59,10,32,32,118,97,114,32,65,110,105,109,97,116,105,111,110,70,114,97,109,101,77,97,110,97,103,101,114,32,61,32,99,108,97,115,115,32,123,10,32,32,32,32,99,111,110,115,116,114,117,99,116,111,114,40,41,32,123,10,32,32,32,32,32,32,95,95,112,117,98,108,105,99,70,105,101,108,100,40,116,104,105,115,44,32,34,95,115,116,114,97,116,101,103,121,34,41,59,10,32,32,32,32,32,32,116,104,105,115,46,95,115,116,114,97,116,101,103,121,32,61,32,116,121,112,101,111,102,32,114,101,113,117,101,115,116,65,110,105,109,97,116,105,111,110,70,114,97,109,101,32,61,61,61,32,34,102,117,110,99,116,105,111,110,34,32,63,32,110,101,119,32,87,101,98,65,110,105,109,97,116,105,111,110,70,114,97,109,101,83,116,114,97,116,101,103,121,40,41,32,58,32,110,101,119,32,78,111,100,101,65,110,105,109,97,116,105,111,110,70,114,97,109,101,83,116,114,97,116,101,103,121,40,41,59,10,32,32,32,32,125,10,32,32,32,32,114,101,113,117,101,115,116,65,110,105,109,97,116,105,111,110,70,114,97,109,101,40,99,97,108,108,98,97,99,107,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,95,115,116,114,97,116,101,103,121,46,114,101,113,117,101,115,116,65,110,105,109,97,116,105,111,110,70,114,97,109,101,40,99,97,108,108,98,97,99,107,41,59,10,32,32,32,32,125,10,32,32,32,32,99,97,110,99,101,108,65,110,105,109,97,116,105,111,110,70,114,97,109,101,40,105,100,41,32,123,10,32,32,32,32,32,32,116,104,105,115,46,95,115,116,114,97,116,101,103,121,46,99,97,110,99,101,108,65,110,105,109,97,116,105,111,110,70,114,97,109,101,40,105,100,41,59,10,32,32,32,32,125,10,32,32,125,59,10,10,32,32,47,47,32,115,114,99,47,99,111,110,115,116,97,110,116,115,46,116,115,10,32,32,118,97,114,32,73,83,95,66,82,79,87,83,69,82,32,61,32,116,121,112,101,111,102,32,119,105,110,100,111,119,32,33,61,61,32,34,117,110,100,101,102,105,110,101,100,34,32,38,38,32,116,121,112,101,111,102,32,119,105,110,100,111,119,46,100,111,99,117,109,101,110,116,32,33,61,61,32,34,117,110,100,101,102,105,110,101,100,34,59,10,32,32,118,97,114,32,90,73,80,95,83,73,71,78,65,84,85,82,69,32,61,32,110,101,119,32,85,105,110,116,56,65,114,114,97,121,40,91,56,48,44,32,55,53,44,32,51,44,32,52,93,41,59,10,32,32,118,97,114,32,76,79,84,84,73,69,95,74,83,79,78,95,77,65,78,68,65,84,79,82,89,95,70,73,69,76,68,83,32,61,32,91,34,118,34,44,32,34,105,112,34,44,32,34,111,112,34,44,32,34,108,97,121,101,114,115,34,44,32,34,102,114,34,44,32,34,119,34,44,32,34,104,34,93,59,10,32,32,118,97,114,32,80,65,67,75,65,71,69,95,86,69,82,83,73,79,78,32,61,32,34,48,46,52,56,46,48,34,59,10,32,32,118,97,114,32,80,65,67,75,65,71,69,95,78,65,77,69,32,61,32,34,64,108,111,116,116,105,101,102,105,108,101,115,47,100,111,116,108,111,116,116,105,101,45,119,101,98,34,59,10,32,32,118,97,114,32,68,69,70,65,85,76,84,95,68,80,82,95,70,65,67,84,79,82,32,61,32,48,46,55,53,59,10,32,32,118,97,114,32,66,89,84,69,83,95,80,69,82,95,80,73,88,69,76,32,61,32,52,59,10,10,32,32,47,47,32,115,114,99,47,99,111,114,101,47,100,111,116,108,111,116,116,105,101,45,112,108,97,121,101,114,46,106,115,10,32,32,118,97,114,32,99,114,101,97,116,101,68,111,116,76,111,116,116,105,101,80,108,97,121,101,114,77,111,100,117,108,101,32,61,32,40,40,41,32,61,62,32,123,10,32,32,32,32,118,97,114,32,95,115,99,114,105,112,116,78,97,109,101,32,61,32,116,121,112,101,111,102,32,100,111,99,117,109,101,110,116,32,33,61,32,34,117,110,100,101,102,105,110,101,100,34,32,63,32,100,111,99,117,109,101,110,116,46,99,117,114,114,101,110,116,83,99,114,105,112,116,63,46,115,114,99,32,58,32,118,111,105,100,32,48,59,10,32,32,32,32,114,101,116,117,114,110,32,102,117,110,99,116,105,111,110,40,109,111,100,117,108,101,65,114,103,32,61,32,123,125,41,32,123,10,32,32,32,32,32,32,118,97,114,32,109,111,100,117,108,101,82,116,110,59,10,32,32,32,32,32,32,118,97,114,32,107,32,61,32,109,111,100,117,108,101,65,114,103,44,32,97,97,44,32,98,97,44,32,99,97,32,61,32,110,101,119,32,80,114,111,109,105,115,101,40,40,97,44,32,98,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,97,97,32,61,32,97,59,10,32,32,32,32,32,32,32,32,98,97,32,61,32,98,59,10,32,32,32,32,32,32,125,41,44,32,100,97,32,61,32,79,98,106,101,99,116,46,97,115,115,105,103,110,40,123,125,44,32,107,41,44,32,101,97,32,61,32,34,46,47,116,104,105,115,46,112,114,111,103,114,97,109,34,44,32,113,32,61,32,34,34,44,32,105,97,59,10,32,32,32,32,32,32,34,117,110,100,101,102,105,110,101,100,34,32,33,61,32,116,121,112,101,111,102,32,100,111,99,117,109,101,110,116,32,38,38,32,100,111,99,117,109,101,110,116,46,99,117,114,114,101,110,116,83,99,114,105,112,116,32,38,38,32,40,113,32,61,32,100,111,99,117,109,101,110,116,46,99,117,114,114,101,110,116,83,99,114,105,112,116,46,115,114,99,41,59,10,32,32,32,32,32,32,95,115,99,114,105,112,116,78,97,109,101,32,38,38,32,40,113,32,61,32,95,115,99,114,105,112,116,78,97,109,101,41,59,10,32,32,32,32,32,32,113,46,115,116,97,114,116,115,87,105,116,104,40,34,98,108,111,98,58,34,41,32,63,32,113,32,61,32,34,34,32,58,32,113,32,61,32,113,46,115,117,98,115,116,114,40,48,44,32,113,46,114,101,112,108,97,99,101,40,47,91,63,35,93,46,42,47,44,32,34,34,41,46,108,97,115,116,73,110,100,101,120,79,102,40,34,47,34,41,32,43,32,49,41,59,10,32,32,32,32,32,32,105,97,32,61,32,97,115,121,110,99,32,40,97,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,97,32,61,32,97,119,97,105,116,32,102,101,116,99,104,40,97,44,32,123,32,99,114,101,100,101,110,116,105,97,108,115,58,32,34,115,97,109,101,45,111,114,105,103,105,110,34,32,125,41,59,10,32,32,32,32,32,32,32,32,105,102,32,40,97,46,111,107,41,32,114,101,116,117,114,110,32,97,46,97,114,114,97,121,66,117,102,102,101,114,40,41,59,10,32,32,32,32,32,32,32,32,116,104,114,111,119,32,69,114,114,111,114,40,97,46,115,116,97,116,117,115,32,43,32,34,32,58,32,34,32,43,32,97,46,117,114,108,41,59,10,32,32,32,32,32,32,125,59,10,32,32,32,32,32,32,118,97,114,32,106,97,32,61,32,107,46,112,114,105,110,116,32,124,124,32,99,111,110,115,111,108,101,46,108,111,103,46,98,105,110,100,40,99,111,110,115,111,108,101,41,44,32,114,32,61,32,107,46,112,114,105,110,116,69,114,114,32,124,124,32,99,111,110,115,111,108,101,46,101,114,114,111,114,46,98,105,110,100,40,99,111,110,115,111,108,101,41,59,10,32,32,32,32,32,32,79,98,106,101,99,116,46,97,115,115,105,103,110,40,107,44,32,100,97,41,59,10,32,32,32,32,32,32,100,97,32,61,32,110,117,108,108,59,10,32,32,32,32,32,32,107,46,116,104,105,115,80,114,111,103,114,97,109,32,38,38,32,40,101,97,32,61,32,107,46,116,104,105,115,80,114,111,103,114,97,109,41,59,10,32,32,32,32,32,32,118,97,114,32,107,97,32,61,32,107,46,119,97,115,109,66,105,110,97,114,121,44,32,108,97,44,32,109,97,32,61,32,102,97,108,115,101,44,32,110,97,44,32,117,44,32,120,44,32,121,44,32,122,44,32,65,44,32,66,44,32,111,97,44,32,112,97,59,10,32,32,32,32,32,32,102,117,110,99,116,105,111,110,32,113,97,40,41,32,123,10,32,32,32,32,32,32,32,32,118,97,114,32,97,32,61,32,108,97,46,98,117,102,102,101,114,59,10,32,32,32,32,32,32,32,32,107,46,72,69,65,80,56,32,61,32,117,32,61,32,110,101,119,32,73,110,116,56,65,114,114,97,121,40,97,41,59,10,32,32,32,32,32,32,32,32,107,46,72,69,65,80,49,54,32,61,32,121,32,61,32,110,101,119,32,73,110,116,49,54,65,114,114,97,121,40,97,41,59,10,32,32,32,32,32,32,32,32,107,46,72,69,65,80,85,56,32,61,32,120,32,61,32,110,101,119,32,85,105,110,116,56,65,114,114,97,121,40,97,41,59,10,32,32,32,32,32,32,32,32,107,46,72,69,65,80,85,49,54,32,61,32,122,32,61,32,110,101,119,32,85,105,110,116,49,54,65,114,114,97,121,40,97,41,59,10,32,32,32,32,32,32,32,32,107,46,72,69,65,80,51,50,32,61,32,65,32,61,32,110,101,119,32,73,110,116,51,50,65,114,114,97,121,40,97,41,59,10,32,32,32,32,32,32,32,32,107,46,72,69,65,80,85,51,50,32,61,32,66,32,61,32,110,101,119,32,85,105,110,116,51,50,65,114,114,97,121,40,97,41,59,10,32,32,32,32,32,32,32,32,107,46,72,69,65,80,70,51,50,32,61,32,111,97,32,61,32,110,101,119,32,70,108,111,97,116,51,50,65,114,114,97,121,40,97,41,59,10,32,32,32,32,32,32,32,32,107,46,72,69,65,80,70,54,52,32,61,32,112,97,32,61,32,110,101,119,32,70,108,111,97,116,54,52,65,114,114,97,121,40,97,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,118,97,114,32,114,97,32,61,32,91,93,44,32,115,97,32,61,32,91,93,44,32,116,97,32,61,32,91,93,59,10,32,32,32,32,32,32,102,117,110,99,116,105,111,110,32,117,97,40,41,32,123,10,32,32,32,32,32,32,32,32,118,97,114,32,97,32,61,32,107,46,112,114,101,82,117,110,46,115,104,105,102,116,40,41,59,10,32,32,32,32,32,32,32,32,114,97,46,117,110,115,104,105,102,116,40,97,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,118,97,114,32,67,32,61,32,48,44,32,68,32,61,32,110,117,108,108,59,10,32,32,32,32,32,32,102,117,110,99,116,105,111,110,32,118,97,40,97,41,32,123,10,32,32,32,32,32,32,32,32,107,46,111,110,65,98,111,114,116,63,46,40,97,41,59,10,32,32,32,32,32,32,32,32,97,32,61,32,34,65,98,111,114,116,101,100,40,34,32,43,32,97,32,43,32,34,41,34,59,10,32,32,32,32,32,32,32,32,114,40,97,41,59,10,32,32,32,32,32,32,32,32,109,97,32,61,32,116,114,117,101,59,10,32,32,32,32,32,32,32,32,97,32,61,32,110,101,119,32,87,101,98,65,115,115,101,109,98,108,121,46,82,117,110,116,105,109,101,69,114,114,111,114,40,97,32,43,32,34,46,32,66,117,105,108,100,32,119,105,116,104,32,45,115,65,83,83,69,82,84,73,79,78,83,32,102,111,114,32,109,111,114,101,32,105,110,102,111,46,34,41,59,10,32,32,32,32,32,32,32,32,98,97,40,97,41,59,10,32,32,32,32,32,32,32,32,116,104,114,111,119,32,97,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,118,97,114,32,119,97,32,61,32,40,97,41,32,61,62,32,97,46,115,116,97,114,116,115,87,105,116,104,40,34,100,97,116,97,58,97,112,112,108,105,99,97,116,105,111,110,47,111,99,116,101,116,45,115,116,114,101,97,109,59,98,97,115,101,54,52,44,34,41,44,32,120,97,59,10,32,32,32,32,32,32,97,115,121,110,99,32,102,117,110,99,116,105,111,110,32,121,97,40,97,41,32,123,10,32,32,32,32,32,32,32,32,105,102,32,40,33,107,97,41,10,32,32,32,32,32,32,32,32,32,32,116,114,121,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,118,97,114,32,98,32,61,32,97,119,97,105,116,32,105,97,40,97,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,110,101,119,32,85,105,110,116,56,65,114,114,97,121,40,98,41,59,10,32,32,32,32,32,32,32,32,32,32,125,32,99,97,116,99,104,32,123,10,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,105,102,32,40,97,32,61,61,32,120,97,32,38,38,32,107,97,41,32,97,32,61,32,110,101,119,32,85,105,110,116,56,65,114,114,97,121,40,107,97,41,59,10,32,32,32,32,32,32,32,32,101,108,115,101,32,116,104,114,111,119,32,34,98,111,116,104,32,97,115,121,110,99,32,97,110,100,32,115,121,110,99,32,102,101,116,99,104,105,110,103,32,111,102,32,116,104,101,32,119,97,115,109,32,102,97,105,108,101,100,34,59,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,97,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,97,115,121,110,99,32,102,117,110,99,116,105,111,110,32,122,97,40,97,44,32,98,41,32,123,10,32,32,32,32,32,32,32,32,116,114,121,32,123,10,32,32,32,32,32,32,32,32,32,32,118,97,114,32,99,32,61,32,97,119,97,105,116,32,121,97,40,97,41,59,10,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,97,119,97,105,116,32,87,101,98,65,115,115,101,109,98,108,121,46,105,110,115,116,97,110,116,105,97,116,101,40,99,44,32,98,41,59,10,32,32,32,32,32,32,32,32,125,32,99,97,116,99,104,32,40,100,41,32,123,10,32,32,32,32,32,32,32,32,32,32,114,40,96,102,97,105,108,101,100,32,116,111,32,97,115,121,110,99,104,114,111,110,111,117,115,108,121,32,112,114,101,112,97,114,101,32,119,97,115,109,58,32,36,123,100,125,96,41,44,32,118,97,40,100,41,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,97,115,121,110,99,32,102,117,110,99,116,105,111,110,32,65,97,40,97,41,32,123,10,32,32,32,32,32,32,32,32,118,97,114,32,98,32,61,32,120,97,59,10,32,32,32,32,32,32,32,32,105,102,32,40,33,107,97,32,38,38,32,34,102,117,110,99,116,105,111,110,34,32,61,61,32,116,121,112,101,111,102,32,87,101,98,65,115,115,101,109,98,108,121,46,105,110,115,116,97,110,116,105,97,116,101,83,116,114,101,97,109,105,110,103,32,38,38,32,33,119,97,40,98,41,32,38,38,32,34,102,117,110,99,116,105,111,110,34,32,61,61,32,116,121,112,101,111,102,32,102,101,116,99,104,41,10,32,32,32,32,32,32,32,32,32,32,116,114,121,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,118,97,114,32,99,32,61,32,102,101,116,99,104,40,98,44,32,123,32,99,114,101,100,101,110,116,105,97,108,115,58,32,34,115,97,109,101,45,111,114,105,103,105,110,34,32,125,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,97,119,97,105,116,32,87,101,98,65,115,115,101,109,98,108,121,46,105,110,115,116,97,110,116,105,97,116,101,83,116,114,101,97,109,105,110,103,40,99,44,32,97,41,59,10,32,32,32,32,32,32,32,32,32,32,125,32,99,97,116,99,104,32,40,100,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,114,40,96,119,97,115,109,32,115,116,114,101,97,109,105,110,103,32,99,111,109,112,105,108,101,32,102,97,105,108,101,100,58,32,36,123,100,125,96,41,44,32,114,40,34,102,97,108,108,105,110,103,32,98,97,99,107,32,116,111,32,65,114,114,97,121,66,117,102,102,101,114,32,105,110,115,116,97,110,116,105,97,116,105,111,110,34,41,59,10,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,122,97,40,98,44,32,97,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,99,108,97,115,115,32,66,97,32,123,10,32,32,32,32,32,32,32,32,99,111,110,115,116,114,117,99,116,111,114,40,97,41,32,123,10,32,32,32,32,32,32,32,32,32,32,95,95,112,117,98,108,105,99,70,105,101,108,100,40,116,104,105,115,44,32,34,110,97,109,101,34,44,32,34,69,120,105,116,83,116,97,116,117,115,34,41,59,10,32,32,32,32,32,32,32,32,32,32,116,104,105,115,46,109,101,115,115,97,103,101,32,61,32,96,80,114,111,103,114,97,109,32,116,101,114,109,105,110,97,116,101,100,32,119,105,116,104,32,101,120,105,116,40,36,123,97,125,41,96,59,10,32,32,32,32,32,32,32,32,32,32,116,104,105,115,46,115,116,97,116,117,115,32,61,32,97,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,118,97,114,32,67,97,32,61,32,40,97,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,102,111,114,32,40,59,32,48,32,60,32,97,46,108,101,110,103,116,104,59,32,41,32,97,46,115,104,105,102,116,40,41,40,107,41,59,10,32,32,32,32,32,32,125,44,32,68,97,32,61,32,107,46,110,111,69,120,105,116,82,117,110,116,105,109,101,32,124,124,32,116,114,117,101,44,32,69,97,32,61,32,34,117,110,100,101,102,105,110,101,100,34,32,33,61,32,116,121,112,101,111,102,32,84,101,120,116,68,101,99,111,100,101,114,32,63,32,110,101,119,32,84,101,120,116,68,101,99,111,100,101,114,40,41,32,58,32,118,111,105,100,32,48,44,32,71,32,61,32,40,97,44,32,98,32,61,32,48,44,32,99,32,61,32,78,97,78,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,118,97,114,32,100,32,61,32,98,32,43,32,99,59,10,32,32,32,32,32,32,32,32,102,111,114,32,40,99,32,61,32,98,59,32,97,91,99,93,32,38,38,32,33,40,99,32,62,61,32,100,41,59,32,41,32,43,43,99,59,10,32,32,32,32,32,32,32,32,105,102,32,40,49,54,32,60,32,99,32,45,32,98,32,38,38,32,97,46,98,117,102,102,101,114,32,38,38,32,69,97,41,32,114,101,116,117,114,110,32,69,97,46,100,101,99,111,100,101,40,97,46,115,117,98,97,114,114,97,121,40,98,44,32,99,41,41,59,10,32,32,32,32,32,32,32,32,102,111,114,32,40,100,32,61,32,34,34,59,32,98,32,60,32,99,59,32,41,32,123,10,32,32,32,32,32,32,32,32,32,32,118,97,114,32,101,32,61,32,97,91,98,43,43,93,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,101,32,38,32,49,50,56,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,118,97,114,32,102,32,61,32,97,91,98,43,43,93,32,38,32,54,51,59,10,32,32,32,32,32,32,32,32,32,32,32,32,105,102,32,40,49,57,50,32,61,61,32,40,101,32,38,32,50,50,52,41,41,32,100,32,43,61,32,83,116,114,105,110,103,46,102,114,111,109,67,104,97,114,67,111,100,101,40,40,101,32,38,32,51,49,41,32,60,60,32,54,32,124,32,102,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,101,108,115,101,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,118,97,114,32,104,32,61,32,97,91,98,43,43,93,32,38,32,54,51,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,101,32,61,32,50,50,52,32,61,61,32,40,101,32,38,32,50,52,48,41,32,63,32,40,101,32,38,32,49,53,41,32,60,60,32,49,50,32,124,32,102,32,60,60,32,54,32,124,32,104,32,58,32,40,101,32,38,32,55,41,32,60,60,32,49,56,32,124,32,102,32,60,60,32,49,50,32,124,32,104,32,60,60,32,54,32,124,32,97,91,98,43,43,93,32,38,32,54,51,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,54,53,53,51,54,32,62,32,101,32,63,32,100,32,43,61,32,83,116,114,105,110,103,46,102,114,111,109,67,104,97,114,67,111,100,101,40,101,41,32,58,32,40,101,32,45,61,32,54,53,53,51,54,44,32,100,32,43,61,32,83,116,114,105,110,103,46,102,114,111,109,67,104,97,114,67,111,100,101,40,53,53,50,57,54,32,124,32,101,32,62,62,32,49,48,44,32,53,54,51,50,48,32,124,32,101,32,38,32,49,48,50,51,41,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,32,32,125,32,101,108,115,101,32,100,32,43,61,32,83,116,114,105,110,103,46,102,114,111,109,67,104,97,114,67,111,100,101,40,101,41,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,100,59,10,32,32,32,32,32,32,125,44,32,73,32,61,32,48,59,10,32,32,32,32,32,32,99,108,97,115,115,32,70,97,32,123,10,32,32,32,32,32,32,32,32,99,111,110,115,116,114,117,99,116,111,114,40,97,41,32,123,10,32,32,32,32,32,32,32,32,32,32,116,104,105,115,46,80,97,32,61,32,97,32,45,32,50,52,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,118,97,114,32,72,97,32,61,32,40,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,118,97,114,32,97,32,61,32,91,93,44,32,98,32,61,32,73,59,10,32,32,32,32,32,32,32,32,105,102,32,40,33,98,41,32,114,101,116,117,114,110,32,74,40,48,41,44,32,48,59,10,32,32,32,32,32,32,32,32,118,97,114,32,99,32,61,32,110,101,119,32,70,97,40,98,41,59,10,32,32,32,32,32,32,32,32,66,91,99,46,80,97,32,43,32,49,54,32,62,62,32,50,93,32,61,32,98,59,10,32,32,32,32,32,32,32,32,118,97,114,32,100,32,61,32,66,91,99,46,80,97,32,43,32,52,32,62,62,32,50,93,59,10,32,32,32,32,32,32,32,32,105,102,32,40,33,100,41,32,114,101,116,117,114,110,32,74,40,48,41,44,32,98,59,10,32,32,32,32,32,32,32,32,102,111,114,32,40,118,97,114,32,101,32,111,102,32,97,41,32,123,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,48,32,61,61,61,32,101,32,124,124,32,101,32,61,61,61,32,100,41,32,98,114,101,97,107,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,71,97,40,101,44,32,100,44,32,99,46,80,97,32,43,32,49,54,41,41,32,114,101,116,117,114,110,32,74,40,101,41,44,32,98,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,74,40,100,41,59,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,98,59,10,32,32,32,32,32,32,125,44,32,73,97,32,61,32,48,44,32,75,32,61,32,40,97,44,32,98,44,32,99,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,118,97,114,32,100,32,61,32,120,59,10,32,32,32,32,32,32,32,32,105,102,32,40,48,32,60,32,99,41,32,123,10,32,32,32,32,32,32,32,32,32,32,99,32,61,32,98,32,43,32,99,32,45,32,49,59,10,32,32,32,32,32,32,32,32,32,32,102,111,114,32,40,118,97,114,32,101,32,61,32,48,59,32,101,32,60,32,97,46,108,101,110,103,116,104,59,32,43,43,101,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,118,97,114,32,102,32,61,32,97,46,99,104,97,114,67,111,100,101,65,116,40,101,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,105,102,32,40,53,53,50,57,54,32,60,61,32,102,32,38,38,32,53,55,51,52,51,32,62,61,32,102,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,118,97,114,32,104,32,61,32,97,46,99,104,97,114,67,111,100,101,65,116,40,43,43,101,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,102,32,61,32,54,53,53,51,54,32,43,32,40,40,102,32,38,32,49,48,50,51,41,32,60,60,32,49,48,41,32,124,32,104,32,38,32,49,48,50,51,59,10,32,32,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,32,32,32,32,105,102,32,40,49,50,55,32,62,61,32,102,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,105,102,32,40,98,32,62,61,32,99,41,32,98,114,101,97,107,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,100,91,98,43,43,93,32,61,32,102,59,10,32,32,32,32,32,32,32,32,32,32,32,32,125,32,101,108,115,101,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,105,102,32,40,50,48,52,55,32,62,61,32,102,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,105,102,32,40,98,32,43,32,49,32,62,61,32,99,41,32,98,114,101,97,107,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,100,91,98,43,43,93,32,61,32,49,57,50,32,124,32,102,32,62,62,32,54,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,125,32,101,108,115,101,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,105,102,32,40,54,53,53,51,53,32,62,61,32,102,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,105,102,32,40,98,32,43,32,50,32,62,61,32,99,41,32,98,114,101,97,107,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,100,91,98,43,43,93,32,61,32,50,50,52,32,124,32,102,32,62,62,32,49,50,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,125,32,101,108,115,101,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,105,102,32,40,98,32,43,32,51,32,62,61,32,99,41,32,98,114,101,97,107,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,100,91,98,43,43,93,32,61,32,50,52,48,32,124,32,102,32,62,62,32,49,56,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,100,91,98,43,43,93,32,61,32,49,50,56,32,124,32,102,32,62,62,32,49,50,32,38,32,54,51,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,100,91,98,43,43,93,32,61,32,49,50,56,32,124,32,102,32,62,62,32,54,32,38,32,54,51,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,100,91,98,43,43,93,32,61,32,49,50,56,32,124,32,102,32,38,32,54,51,59,10,32,32,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,32,32,100,91,98,93,32,61,32,48,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,44,32,74,97,32,61,32,123,125,44,32,75,97,32,61,32,40,97,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,102,111,114,32,40,59,32,97,46,108,101,110,103,116,104,59,32,41,32,123,10,32,32,32,32,32,32,32,32,32,32,118,97,114,32,98,32,61,32,97,46,112,111,112,40,41,59,10,32,32,32,32,32,32,32,32,32,32,97,46,112,111,112,40,41,40,98,41,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,59,10,32,32,32,32,32,32,102,117,110,99,116,105,111,110,32,76,40,97,41,32,123,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,102,114,111,109,87,105,114,101,84,121,112,101,40,66,91,97,32,62,62,32,50,93,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,118,97,114,32,77,32,61,32,123,125,44,32,78,32,61,32,123,125,44,32,76,97,32,61,32,123,125,44,32,77,97,44,32,80,32,61,32,40,97,44,32,98,44,32,99,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,102,117,110,99,116,105,111,110,32,100,40,103,41,32,123,10,32,32,32,32,32,32,32,32,32,32,103,32,61,32,99,40,103,41,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,103,46,108,101,110,103,116,104,32,33,61,61,32,97,46,108,101,110,103,116,104,41,32,116,104,114,111,119,32,110,101,119,32,77,97,40,34,77,105,115,109,97,116,99,104,101,100,32,116,121,112,101,32,99,111,110,118,101,114,116,101,114,32,99,111,117,110,116,34,41,59,10,32,32,32,32,32,32,32,32,32,32,102,111,114,32,40,118,97,114,32,108,32,61,32,48,59,32,108,32,60,32,97,46,108,101,110,103,116,104,59,32,43,43,108,41,32,79,40,97,91,108,93,44,32,103,91,108,93,41,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,97,46,102,111,114,69,97,99,104,40,40,103,41,32,61,62,32,76,97,91,103,93,32,61,32,98,41,59,10,32,32,32,32,32,32,32,32,118,97,114,32,101,32,61,32,65,114,114,97,121,40,98,46,108,101,110,103,116,104,41,44,32,102,32,61,32,91,93,44,32,104,32,61,32,48,59,10,32,32,32,32,32,32,32,32,98,46,102,111,114,69,97,99,104,40,40,103,44,32,108,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,78,46,104,97,115,79,119,110,80,114,111,112,101,114,116,121,40,103,41,32,63,32,101,91,108,93,32,61,32,78,91,103,93,32,58,32,40,102,46,112,117,115,104,40,103,41,44,32,77,46,104,97,115,79,119,110,80,114,111,112,101,114,116,121,40,103,41,32,124,124,32,40,77,91,103,93,32,61,32,91,93,41,44,32,77,91,103,93,46,112,117,115,104,40,40,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,101,91,108,93,32,61,32,78,91,103,93,59,10,32,32,32,32,32,32,32,32,32,32,32,32,43,43,104,59,10,32,32,32,32,32,32,32,32,32,32,32,32,104,32,61,61,61,32,102,46,108,101,110,103,116,104,32,38,38,32,100,40,101,41,59,10,32,32,32,32,32,32,32,32,32,32,125,41,41,59,10,32,32,32,32,32,32,32,32,125,41,59,10,32,32,32,32,32,32,32,32,48,32,61,61,61,32,102,46,108,101,110,103,116,104,32,38,38,32,100,40,101,41,59,10,32,32,32,32,32,32,125,44,32,78,97,44,32,81,32,61,32,40,97,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,102,111,114,32,40,118,97,114,32,98,32,61,32,34,34,59,32,120,91,97,93,59,32,41,32,98,32,43,61,32,78,97,91,120,91,97,43,43,93,93,59,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,98,59,10,32,32,32,32,32,32,125,44,32,82,59,10,32,32,32,32,32,32,102,117,110,99,116,105,111,110,32,79,97,40,97,44,32,98,44,32,99,32,61,32,123,125,41,32,123,10,32,32,32,32,32,32,32,32,118,97,114,32,100,32,61,32,98,46,110,97,109,101,59,10,32,32,32,32,32,32,32,32,105,102,32,40,33,97,41,32,116,104,114,111,119,32,110,101,119,32,82,40,96,116,121,112,101,32,34,36,123,100,125,34,32,109,117,115,116,32,104,97,118,101,32,97,32,112,111,115,105,116,105,118,101,32,105,110,116,101,103,101,114,32,116,121,112,101,105,100,32,112,111,105,110,116,101,114,96,41,59,10,32,32,32,32,32,32,32,32,105,102,32,40,78,46,104,97,115,79,119,110,80,114,111,112,101,114,116,121,40,97,41,41,32,123,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,99,46,118,98,41,32,114,101,116,117,114,110,59,10,32,32,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,82,40,96,67,97,110,110,111,116,32,114,101,103,105,115,116,101,114,32,116,121,112,101,32,39,36,123,100,125,39,32,116,119,105,99,101,96,41,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,78,91,97,93,32,61,32,98,59,10,32,32,32,32,32,32,32,32,100,101,108,101,116,101,32,76,97,91,97,93,59,10,32,32,32,32,32,32,32,32,77,46,104,97,115,79,119,110,80,114,111,112,101,114,116,121,40,97,41,32,38,38,32,40,98,32,61,32,77,91,97,93,44,32,100,101,108,101,116,101,32,77,91,97,93,44,32,98,46,102,111,114,69,97,99,104,40,40,101,41,32,61,62,32,101,40,41,41,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,102,117,110,99,116,105,111,110,32,79,40,97,44,32,98,44,32,99,32,61,32,123,125,41,32,123,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,79,97,40,97,44,32,98,44,32,99,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,118,97,114,32,81,97,32,61,32,40,97,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,82,40,97,46,79,97,46,82,97,46,81,97,46,110,97,109,101,32,43,32,34,32,105,110,115,116,97,110,99,101,32,97,108,114,101,97,100,121,32,100,101,108,101,116,101,100,34,41,59,10,32,32,32,32,32,32,125,44,32,82,97,32,61,32,102,97,108,115,101,44,32,83,97,32,61,32,40,41,32,61,62,32,123,10,32,32,32,32,32,32,125,44,32,84,97,32,61,32,40,97,44,32,98,44,32,99,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,105,102,32,40,98,32,61,61,61,32,99,41,32,114,101,116,117,114,110,32,97,59,10,32,32,32,32,32,32,32,32,105,102,32,40,118,111,105,100,32,48,32,61,61,61,32,99,46,85,97,41,32,114,101,116,117,114,110,32,110,117,108,108,59,10,32,32,32,32,32,32,32,32,97,32,61,32,84,97,40,97,44,32,98,44,32,99,46,85,97,41,59,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,110,117,108,108,32,61,61,61,32,97,32,63,32,110,117,108,108,32,58,32,99,46,111,98,40,97,41,59,10,32,32,32,32,32,32,125,44,32,85,97,32,61,32,123,125,44,32,86,97,32,61,32,123,125,44,32,87,97,32,61,32,40,97,44,32,98,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,105,102,32,40,118,111,105,100,32,48,32,61,61,61,32,98,41,32,116,104,114,111,119,32,110,101,119,32,82,40,34,112,116,114,32,115,104,111,117,108,100,32,110,111,116,32,98,101,32,117,110,100,101,102,105,110,101,100,34,41,59,10,32,32,32,32,32,32,32,32,102,111,114,32,40,59,32,97,46,85,97,59,32,41,32,98,32,61,32,97,46,101,98,40,98,41,44,32,97,32,61,32,97,46,85,97,59,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,86,97,91,98,93,59,10,32,32,32,32,32,32,125,44,32,89,97,32,61,32,40,97,44,32,98,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,105,102,32,40,33,98,46,82,97,32,124,124,32,33,98,46,80,97,41,32,116,104,114,111,119,32,110,101,119,32,77,97,40,34,109,97,107,101,67,108,97,115,115,72,97,110,100,108,101,32,114,101,113,117,105,114,101,115,32,112,116,114,32,97,110,100,32,112,116,114,84,121,112,101,34,41,59,10,32,32,32,32,32,32,32,32,105,102,32,40,33,33,98,46,86,97,32,33,61,61,32,33,33,98,46,84,97,41,32,116,104,114,111,119,32,110,101,119,32,77,97,40,34,66,111,116,104,32,115,109,97,114,116,80,116,114,84,121,112,101,32,97,110,100,32,115,109,97,114,116,80,116,114,32,109,117,115,116,32,98,101,32,115,112,101,99,105,102,105,101,100,34,41,59,10,32,32,32,32,32,32,32,32,98,46,99,111,117,110,116,32,61,32,123,32,118,97,108,117,101,58,32,49,32,125,59,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,88,97,40,79,98,106,101,99,116,46,99,114,101,97,116,101,40,97,44,32,123,32,79,97,58,32,123,32,118,97,108,117,101,58,32,98,44,32,119,114,105,116,97,98,108,101,58,32,116,114,117,101,32,125,32,125,41,41,59,10,32,32,32,32,32,32,125,44,32,88,97,32,61,32,40,97,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,105,102,32,40,34,117,110,100,101,102,105,110,101,100,34,32,61,61,61,32,116,121,112,101,111,102,32,70,105,110,97,108,105,122,97,116,105,111,110,82,101,103,105,115,116,114,121,41,32,114,101,116,117,114,110,32,88,97,32,61,32,40,98,41,32,61,62,32,98,44,32,97,59,10,32,32,32,32,32,32,32,32,82,97,32,61,32,110,101,119,32,70,105,110,97,108,105,122,97,116,105,111,110,82,101,103,105,115,116,114,121,40,40,98,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,98,32,61,32,98,46,79,97,59,10,32,32,32,32,32,32,32,32,32,32,45,45,98,46,99,111,117,110,116,46,118,97,108,117,101,59,10,32,32,32,32,32,32,32,32,32,32,48,32,61,61,61,32,98,46,99,111,117,110,116,46,118,97,108,117,101,32,38,38,32,40,98,46,84,97,32,63,32,98,46,86,97,46,89,97,40,98,46,84,97,41,32,58,32,98,46,82,97,46,81,97,46,89,97,40,98,46,80,97,41,41,59,10,32,32,32,32,32,32,32,32,125,41,59,10,32,32,32,32,32,32,32,32,88,97,32,61,32,40,98,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,118,97,114,32,99,32,61,32,98,46,79,97,59,10,32,32,32,32,32,32,32,32,32,32,99,46,84,97,32,38,38,32,82,97,46,114,101,103,105,115,116,101,114,40,98,44,32,123,32,79,97,58,32,99,32,125,44,32,98,41,59,10,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,98,59,10,32,32,32,32,32,32,32,32,125,59,10,32,32,32,32,32,32,32,32,83,97,32,61,32,40,98,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,82,97,46,117,110,114,101,103,105,115,116,101,114,40,98,41,59,10,32,32,32,32,32,32,32,32,125,59,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,88,97,40,97,41,59,10,32,32,32,32,32,32,125,44,32,90,97,32,61,32,91,93,59,10,32,32,32,32,32,32,102,117,110,99,116,105,111,110,32,36,97,40,41,32,123,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,118,97,114,32,97,98,32,61,32,40,97,44,32,98,41,32,61,62,32,79,98,106,101,99,116,46,100,101,102,105,110,101,80,114,111,112,101,114,116,121,40,98,44,32,34,110,97,109,101,34,44,32,123,32,118,97,108,117,101,58,32,97,32,125,41,44,32,98,98,32,61,32,40,97,44,32,98,44,32,99,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,105,102,32,40,118,111,105,100,32,48,32,61,61,61,32,97,91,98,93,46,83,97,41,32,123,10,32,32,32,32,32,32,32,32,32,32,118,97,114,32,100,32,61,32,97,91,98,93,59,10,32,32,32,32,32,32,32,32,32,32,97,91,98,93,32,61,32,102,117,110,99,116,105,111,110,40,46,46,46,101,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,105,102,32,40,33,97,91,98,93,46,83,97,46,104,97,115,79,119,110,80,114,111,112,101,114,116,121,40,101,46,108,101,110,103,116,104,41,41,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,82,40,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,96,70,117,110,99,116,105,111,110,32,39,36,123,99,125,39,32,99,97,108,108,101,100,32,119,105,116,104,32,97,110,32,105,110,118,97,108,105,100,32,110,117,109,98,101,114,32,111,102,32,97,114,103,117,109,101,110,116,115,32,40,36,123,101,46,108,101,110,103,116,104,125,41,32,45,32,101,120,112,101,99,116,115,32,111,110,101,32,111,102,32,40,36,123,97,91,98,93,46,83,97,125,41,33,96,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,97,91,98,93,46,83,97,91,101,46,108,101,110,103,116,104,93,46,97,112,112,108,121,40,116,104,105,115,44,32,101,41,59,10,32,32,32,32,32,32,32,32,32,32,125,59,10,32,32,32,32,32,32,32,32,32,32,97,91,98,93,46,83,97,32,61,32,91,93,59,10,32,32,32,32,32,32,32,32,32,32,97,91,98,93,46,83,97,91,100,46,97,98,93,32,61,32,100,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,44,32,99,98,32,61,32,40,97,44,32,98,44,32,99,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,105,102,32,40,107,46,104,97,115,79,119,110,80,114,111,112,101,114,116,121,40,97,41,41,32,123,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,118,111,105,100,32,48,32,61,61,61,32,99,32,124,124,32,118,111,105,100,32,48,32,33,61,61,32,107,91,97,93,46,83,97,32,38,38,32,118,111,105,100,32,48,32,33,61,61,32,107,91,97,93,46,83,97,91,99,93,41,10,32,32,32,32,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,82,40,96,67,97,110,110,111,116,32,114,101,103,105,115,116,101,114,32,112,117,98,108,105,99,32,110,97,109,101,32,39,36,123,97,125,39,32,116,119,105,99,101,96,41,59,10,32,32,32,32,32,32,32,32,32,32,98,98,40,107,44,32,97,44,32,97,41,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,107,91,97,93,46,83,97,46,104,97,115,79,119,110,80,114,111,112,101,114,116,121,40,99,41,41,10,32,32,32,32,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,82,40,96,67,97,110,110,111,116,32,114,101,103,105,115,116,101,114,32,109,117,108,116,105,112,108,101,32,111,118,101,114,108,111,97,100,115,32,111,102,32,97,32,102,117,110,99,116,105,111,110,32,119,105,116,104,32,116,104,101,32,115,97,109,101,32,110,117,109,98,101,114,32,111,102,32,97,114,103,117,109,101,110,116,115,32,40,36,123,99,125,41,33,96,41,59,10,32,32,32,32,32,32,32,32,32,32,107,91,97,93,46,83,97,91,99,93,32,61,32,98,59,10,32,32,32,32,32,32,32,32,125,32,101,108,115,101,32,107,91,97,93,32,61,32,98,44,32,107,91,97,93,46,97,98,32,61,32,99,59,10,32,32,32,32,32,32,125,44,32,100,98,32,61,32,40,97,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,97,32,61,32,97,46,114,101,112,108,97,99,101,40,47,91,94,97,45,122,65,45,90,48,45,57,95,93,47,103,44,32,34,36,34,41,59,10,32,32,32,32,32,32,32,32,118,97,114,32,98,32,61,32,97,46,99,104,97,114,67,111,100,101,65,116,40,48,41,59,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,52,56,32,60,61,32,98,32,38,38,32,53,55,32,62,61,32,98,32,63,32,96,95,36,123,97,125,96,32,58,32,97,59,10,32,32,32,32,32,32,125,59,10,32,32,32,32,32,32,102,117,110,99,116,105,111,110,32,101,98,40,97,44,32,98,44,32,99,44,32,100,44,32,101,44,32,102,44,32,104,44,32,103,41,32,123,10,32,32,32,32,32,32,32,32,116,104,105,115,46,110,97,109,101,32,61,32,97,59,10,32,32,32,32,32,32,32,32,116,104,105,115,46,99,111,110,115,116,114,117,99,116,111,114,32,61,32,98,59,10,32,32,32,32,32,32,32,32,116,104,105,115,46,36,97,32,61,32,99,59,10,32,32,32,32,32,32,32,32,116,104,105,115,46,89,97,32,61,32,100,59,10,32,32,32,32,32,32,32,32,116,104,105,115,46,85,97,32,61,32,101,59,10,32,32,32,32,32,32,32,32,116,104,105,115,46,113,98,32,61,32,102,59,10,32,32,32,32,32,32,32,32,116,104,105,115,46,101,98,32,61,32,104,59,10,32,32,32,32,32,32,32,32,116,104,105,115,46,111,98,32,61,32,103,59,10,32,32,32,32,32,32,32,32,116,104,105,115,46,120,98,32,61,32,91,93,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,118,97,114,32,102,98,32,61,32,40,97,44,32,98,44,32,99,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,102,111,114,32,40,59,32,98,32,33,61,61,32,99,59,32,41,32,123,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,33,98,46,101,98,41,32,116,104,114,111,119,32,110,101,119,32,82,40,96,69,120,112,101,99,116,101,100,32,110,117,108,108,32,111,114,32,105,110,115,116,97,110,99,101,32,111,102,32,36,123,99,46,110,97,109,101,125,44,32,103,111,116,32,97,110,32,105,110,115,116,97,110,99,101,32,111,102,32,36,123,98,46,110,97,109,101,125,96,41,59,10,32,32,32,32,32,32,32,32,32,32,97,32,61,32,98,46,101,98,40,97,41,59,10,32,32,32,32,32,32,32,32,32,32,98,32,61,32,98,46,85,97,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,97,59,10,32,32,32,32,32,32,125,59,10,32,32,32,32,32,32,102,117,110,99,116,105,111,110,32,103,98,40,97,44,32,98,41,32,123,10,32,32,32,32,32,32,32,32,105,102,32,40,110,117,108,108,32,61,61,61,32,98,41,32,123,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,104,98,41,32,116,104,114,111,119,32,110,101,119,32,82,40,96,110,117,108,108,32,105,115,32,110,111,116,32,97,32,118,97,108,105,100,32,36,123,116,104,105,115,46,110,97,109,101,125,96,41,59,10,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,48,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,105,102,32,40,33,98,46,79,97,41,32,116,104,114,111,119,32,110,101,119,32,82,40,96,67,97,110,110,111,116,32,112,97,115,115,32,34,36,123,104,98,40,98,41,125,34,32,97,115,32,97,32,36,123,116,104,105,115,46,110,97,109,101,125,96,41,59,10,32,32,32,32,32,32,32,32,105,102,32,40,33,98,46,79,97,46,80,97,41,32,116,104,114,111,119,32,110,101,119,32,82,40,96,67,97,110,110,111,116,32,112,97,115,115,32,100,101,108,101,116,101,100,32,111,98,106,101,99,116,32,97,115,32,97,32,112,111,105,110,116,101,114,32,111,102,32,116,121,112,101,32,36,123,116,104,105,115,46,110,97,109,101,125,96,41,59,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,102,98,40,98,46,79,97,46,80,97,44,32,98,46,79,97,46,82,97,46,81,97,44,32,116,104,105,115,46,81,97,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,102,117,110,99,116,105,111,110,32,105,98,40,97,44,32,98,41,32,123,10,32,32,32,32,32,32,32,32,105,102,32,40,110,117,108,108,32,61,61,61,32,98,41,32,123,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,104,98,41,32,116,104,114,111,119,32,110,101,119,32,82,40,96,110,117,108,108,32,105,115,32,110,111,116,32,97,32,118,97,108,105,100,32,36,123,116,104,105,115,46,110,97,109,101,125,96,41,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,103,98,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,118,97,114,32,99,32,61,32,116,104,105,115,46,105,98,40,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,110,117,108,108,32,33,61,61,32,97,32,38,38,32,97,46,112,117,115,104,40,116,104,105,115,46,89,97,44,32,99,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,99,59,10,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,48,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,105,102,32,40,33,98,32,124,124,32,33,98,46,79,97,41,32,116,104,114,111,119,32,110,101,119,32,82,40,96,67,97,110,110,111,116,32,112,97,115,115,32,34,36,123,104,98,40,98,41,125,34,32,97,115,32,97,32,36,123,116,104,105,115,46,110,97,109,101,125,96,41,59,10,32,32,32,32,32,32,32,32,105,102,32,40,33,98,46,79,97,46,80,97,41,32,116,104,114,111,119,32,110,101,119,32,82,40,96,67,97,110,110,111,116,32,112,97,115,115,32,100,101,108,101,116,101,100,32,111,98,106,101,99,116,32,97,115,32,97,32,112,111,105,110,116,101,114,32,111,102,32,116,121,112,101,32,36,123,116,104,105,115,46,110,97,109,101,125,96,41,59,10,32,32,32,32,32,32,32,32,105,102,32,40,33,116,104,105,115,46,102,98,32,38,38,32,98,46,79,97,46,82,97,46,102,98,41,10,32,32,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,82,40,10,32,32,32,32,32,32,32,32,32,32,32,32,96,67,97,110,110,111,116,32,99,111,110,118,101,114,116,32,97,114,103,117,109,101,110,116,32,111,102,32,116,121,112,101,32,36,123,98,46,79,97,46,86,97,32,63,32,98,46,79,97,46,86,97,46,110,97,109,101,32,58,32,98,46,79,97,46,82,97,46,110,97,109,101,125,32,116,111,32,112,97,114,97,109,101,116,101,114,32,116,121,112,101,32,36,123,116,104,105,115,46,110,97,109,101,125,96,10,32,32,32,32,32,32,32,32,32,32,41,59,10,32,32,32,32,32,32,32,32,99,32,61,32,102,98,40,98,46,79,97,46,80,97,44,32,98,46,79,97,46,82,97,46,81,97,44,32,116,104,105,115,46,81,97,41,59,10,32,32,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,103,98,41,32,123,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,118,111,105,100,32,48,32,61,61,61,32,98,46,79,97,46,84,97,41,32,116,104,114,111,119,32,110,101,119,32,82,40,34,80,97,115,115,105,110,103,32,114,97,119,32,112,111,105,110,116,101,114,32,116,111,32,115,109,97,114,116,32,112,111,105,110,116,101,114,32,105,115,32,105,108,108,101,103,97,108,34,41,59,10,32,32,32,32,32,32,32,32,32,32,115,119,105,116,99,104,32,40,116,104,105,115,46,67,98,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,99,97,115,101,32,48,58,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,105,102,32,40,98,46,79,97,46,86,97,32,61,61,61,32,116,104,105,115,41,32,99,32,61,32,98,46,79,97,46,84,97,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,101,108,115,101,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,82,40,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,96,67,97,110,110,111,116,32,99,111,110,118,101,114,116,32,97,114,103,117,109,101,110,116,32,111,102,32,116,121,112,101,32,36,123,98,46,79,97,46,86,97,32,63,32,98,46,79,97,46,86,97,46,110,97,109,101,32,58,32,98,46,79,97,46,82,97,46,110,97,109,101,125,32,116,111,32,112,97,114,97,109,101,116,101,114,32,116,121,112,101,32,36,123,116,104,105,115,46,110,97,109,101,125,96,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,98,114,101,97,107,59,10,32,32,32,32,32,32,32,32,32,32,32,32,99,97,115,101,32,49,58,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,99,32,61,32,98,46,79,97,46,84,97,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,98,114,101,97,107,59,10,32,32,32,32,32,32,32,32,32,32,32,32,99,97,115,101,32,50,58,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,105,102,32,40,98,46,79,97,46,86,97,32,61,61,61,32,116,104,105,115,41,32,99,32,61,32,98,46,79,97,46,84,97,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,101,108,115,101,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,118,97,114,32,100,32,61,32,98,46,99,108,111,110,101,40,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,99,32,61,32,116,104,105,115,46,121,98,40,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,99,44,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,106,98,40,40,41,32,61,62,32,100,91,34,100,101,108,101,116,101,34,93,40,41,41,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,110,117,108,108,32,33,61,61,32,97,32,38,38,32,97,46,112,117,115,104,40,116,104,105,115,46,89,97,44,32,99,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,98,114,101,97,107,59,10,32,32,32,32,32,32,32,32,32,32,32,32,100,101,102,97,117,108,116,58,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,82,40,34,85,110,115,117,112,112,111,114,116,105,110,103,32,115,104,97,114,105,110,103,32,112,111,108,105,99,121,34,41,59,10,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,99,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,102,117,110,99,116,105,111,110,32,107,98,40,97,44,32,98,41,32,123,10,32,32,32,32,32,32,32,32,105,102,32,40,110,117,108,108,32,61,61,61,32,98,41,32,123,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,104,98,41,32,116,104,114,111,119,32,110,101,119,32,82,40,96,110,117,108,108,32,105,115,32,110,111,116,32,97,32,118,97,108,105,100,32,36,123,116,104,105,115,46,110,97,109,101,125,96,41,59,10,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,48,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,105,102,32,40,33,98,46,79,97,41,32,116,104,114,111,119,32,110,101,119,32,82,40,96,67,97,110,110,111,116,32,112,97,115,115,32,34,36,123,104,98,40,98,41,125,34,32,97,115,32,97,32,36,123,116,104,105,115,46,110,97,109,101,125,96,41,59,10,32,32,32,32,32,32,32,32,105,102,32,40,33,98,46,79,97,46,80,97,41,32,116,104,114,111,119,32,110,101,119,32,82,40,96,67,97,110,110,111,116,32,112,97,115,115,32,100,101,108,101,116,101,100,32,111,98,106,101,99,116,32,97,115,32,97,32,112,111,105,110,116,101,114,32,111,102,32,116,121,112,101,32,36,123,116,104,105,115,46,110,97,109,101,125,96,41,59,10,32,32,32,32,32,32,32,32,105,102,32,40,98,46,79,97,46,82,97,46,102,98,41,32,116,104,114,111,119,32,110,101,119,32,82,40,96,67,97,110,110,111,116,32,99,111,110,118,101,114,116,32,97,114,103,117,109,101,110,116,32,111,102,32,116,121,112,101,32,36,123,98,46,79,97,46,82,97,46,110,97,109,101,125,32,116,111,32,112,97,114,97,109,101,116,101,114,32,116,121,112,101,32,36,123,116,104,105,115,46,110,97,109,101,125,96,41,59,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,102,98,40,98,46,79,97,46,80,97,44,32,98,46,79,97,46,82,97,46,81,97,44,32,116,104,105,115,46,81,97,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,102,117,110,99,116,105,111,110,32,108,98,40,97,44,32,98,44,32,99,44,32,100,44,32,101,44,32,102,44,32,104,44,32,103,44,32,108,44,32,109,44,32,110,41,32,123,10,32,32,32,32,32,32,32,32,116,104,105,115,46,110,97,109,101,32,61,32,97,59,10,32,32,32,32,32,32,32,32,116,104,105,115,46,81,97,32,61,32,98,59,10,32,32,32,32,32,32,32,32,116,104,105,115,46,104,98,32,61,32,99,59,10,32,32,32,32,32,32,32,32,116,104,105,115,46,102,98,32,61,32,100,59,10,32,32,32,32,32,32,32,32,116,104,105,115,46,103,98,32,61,32,101,59,10,32,32,32,32,32,32,32,32,116,104,105,115,46,119,98,32,61,32,102,59,10,32,32,32,32,32,32,32,32,116,104,105,115,46,67,98,32,61,32,104,59,10,32,32,32,32,32,32,32,32,116,104,105,115,46,109,98,32,61,32,103,59,10,32,32,32,32,32,32,32,32,116,104,105,115,46,105,98,32,61,32,108,59,10,32,32,32,32,32,32,32,32,116,104,105,115,46,121,98,32,61,32,109,59,10,32,32,32,32,32,32,32,32,116,104,105,115,46,89,97,32,61,32,110,59,10,32,32,32,32,32,32,32,32,101,32,124,124,32,118,111,105,100,32,48,32,33,61,61,32,98,46,85,97,32,63,32,116,104,105,115,46,116,111,87,105,114,101,84,121,112,101,32,61,32,105,98,32,58,32,40,116,104,105,115,46,116,111,87,105,114,101,84,121,112,101,32,61,32,100,32,63,32,103,98,32,58,32,107,98,44,32,116,104,105,115,46,88,97,32,61,32,110,117,108,108,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,118,97,114,32,109,98,32,61,32,40,97,44,32,98,44,32,99,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,105,102,32,40,33,107,46,104,97,115,79,119,110,80,114,111,112,101,114,116,121,40,97,41,41,32,116,104,114,111,119,32,110,101,119,32,77,97,40,34,82,101,112,108,97,99,105,110,103,32,110,111,110,101,120,105,115,116,101,110,116,32,112,117,98,108,105,99,32,115,121,109,98,111,108,34,41,59,10,32,32,32,32,32,32,32,32,118,111,105,100,32,48,32,33,61,61,32,107,91,97,93,46,83,97,32,38,38,32,118,111,105,100,32,48,32,33,61,61,32,99,32,63,32,107,91,97,93,46,83,97,91,99,93,32,61,32,98,32,58,32,40,107,91,97,93,32,61,32,98,44,32,107,91,97,93,46,97,98,32,61,32,99,41,59,10,32,32,32,32,32,32,125,44,32,83,44,32,110,98,32,61,32,40,97,44,32,98,44,32,99,32,61,32,91,93,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,97,46,105,110,99,108,117,100,101,115,40,34,106,34,41,32,63,32,40,97,32,61,32,97,46,114,101,112,108,97,99,101,40,47,112,47,103,44,32,34,105,34,41,44,32,98,32,61,32,40,48,44,32,107,91,34,100,121,110,67,97,108,108,95,34,32,43,32,97,93,41,40,98,44,32,46,46,46,99,41,41,32,58,32,98,32,61,32,83,46,103,101,116,40,98,41,40,46,46,46,99,41,59,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,98,59,10,32,32,32,32,32,32,125,44,32,111,98,32,61,32,40,97,44,32,98,41,32,61,62,32,40,46,46,46,99,41,32,61,62,32,110,98,40,97,44,32,98,44,32,99,41,44,32,84,32,61,32,40,97,44,32,98,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,97,32,61,32,81,40,97,41,59,10,32,32,32,32,32,32,32,32,118,97,114,32,99,32,61,32,97,46,105,110,99,108,117,100,101,115,40,34,106,34,41,32,63,32,111,98,40,97,44,32,98,41,32,58,32,83,46,103,101,116,40,98,41,59,10,32,32,32,32,32,32,32,32,105,102,32,40,34,102,117,110,99,116,105,111,110,34,32,33,61,32,116,121,112,101,111,102,32,99,41,32,116,104,114,111,119,32,110,101,119,32,82,40,96,117,110,107,110,111,119,110,32,102,117,110,99,116,105,111,110,32,112,111,105,110,116,101,114,32,119,105,116,104,32,115,105,103,110,97,116,117,114,101,32,36,123,97,125,58,32,36,123,98,125,96,41,59,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,99,59,10,32,32,32,32,32,32,125,44,32,112,98,44,32,114,98,32,61,32,40,97,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,97,32,61,32,113,98,40,97,41,59,10,32,32,32,32,32,32,32,32,118,97,114,32,98,32,61,32,81,40,97,41,59,10,32,32,32,32,32,32,32,32,85,40,97,41,59,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,98,59,10,32,32,32,32,32,32,125,44,32,115,98,32,61,32,40,97,44,32,98,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,102,117,110,99,116,105,111,110,32,99,40,102,41,32,123,10,32,32,32,32,32,32,32,32,32,32,101,91,102,93,32,124,124,32,78,91,102,93,32,124,124,32,40,76,97,91,102,93,32,63,32,76,97,91,102,93,46,102,111,114,69,97,99,104,40,99,41,32,58,32,40,100,46,112,117,115,104,40,102,41,44,32,101,91,102,93,32,61,32,116,114,117,101,41,41,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,118,97,114,32,100,32,61,32,91,93,44,32,101,32,61,32,123,125,59,10,32,32,32,32,32,32,32,32,98,46,102,111,114,69,97,99,104,40,99,41,59,10,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,112,98,40,96,36,123,97,125,58,32,96,32,43,32,100,46,109,97,112,40,114,98,41,46,106,111,105,110,40,91,34,44,32,34,93,41,41,59,10,32,32,32,32,32,32,125,44,32,116,98,32,61,32,40,97,44,32,98,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,102,111,114,32,40,118,97,114,32,99,32,61,32,91,93,44,32,100,32,61,32,48,59,32,100,32,60,32,97,59,32,100,43,43,41,32,99,46,112,117,115,104,40,66,91,98,32,43,32,52,32,42,32,100,32,62,62,32,50,93,41,59,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,99,59,10,32,32,32,32,32,32,125,59,10,32,32,32,32,32,32,102,117,110,99,116,105,111,110,32,117,98,40,97,41,32,123,10,32,32,32,32,32,32,32,32,102,111,114,32,40,118,97,114,32,98,32,61,32,49,59,32,98,32,60,32,97,46,108,101,110,103,116,104,59,32,43,43,98,41,32,105,102,32,40,110,117,108,108,32,33,61,61,32,97,91,98,93,32,38,38,32,118,111,105,100,32,48,32,61,61,61,32,97,91,98,93,46,88,97,41,32,114,101,116,117,114,110,32,116,114,117,101,59,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,102,97,108,115,101,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,102,117,110,99,116,105,111,110,32,118,98,40,97,44,32,98,44,32,99,44,32,100,44,32,101,41,32,123,10,32,32,32,32,32,32,32,32,118,97,114,32,102,32,61,32,98,46,108,101,110,103,116,104,59,10,32,32,32,32,32,32,32,32,105,102,32,40,50,32,62,32,102,41,32,116,104,114,111,119,32,110,101,119,32,82,40,34,97,114,103,84,121,112,101,115,32,97,114,114,97,121,32,115,105,122,101,32,109,105,115,109,97,116,99,104,33,32,77,117,115,116,32,97,116,32,108,101,97,115,116,32,103,101,116,32,114,101,116,117,114,110,32,118,97,108,117,101,32,97,110,100,32,39,116,104,105,115,39,32,116,121,112,101,115,33,34,41,59,10,32,32,32,32,32,32,32,32,118,97,114,32,104,32,61,32,110,117,108,108,32,33,61,61,32,98,91,49,93,32,38,38,32,110,117,108,108,32,33,61,61,32,99,44,32,103,32,61,32,117,98,40,98,41,44,32,108,32,61,32,34,118,111,105,100,34,32,33,61,61,32,98,91,48,93,46,110,97,109,101,44,32,109,32,61,32,102,32,45,32,50,44,32,110,32,61,32,65,114,114,97,121,40,109,41,44,32,112,32,61,32,91,93,44,32,116,32,61,32,91,93,59,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,97,98,40,97,44,32,102,117,110,99,116,105,111,110,40,46,46,46,69,41,32,123,10,32,32,32,32,32,32,32,32,32,32,116,46,108,101,110,103,116,104,32,61,32,48,59,10,32,32,32,32,32,32,32,32,32,32,112,46,108,101,110,103,116,104,32,61,32,104,32,63,32,50,32,58,32,49,59,10,32,32,32,32,32,32,32,32,32,32,112,91,48,93,32,61,32,101,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,104,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,118,97,114,32,118,32,61,32,98,91,49,93,46,116,111,87,105,114,101,84,121,112,101,40,116,44,32,116,104,105,115,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,112,91,49,93,32,61,32,118,59,10,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,32,32,102,111,114,32,40,118,97,114,32,119,32,61,32,48,59,32,119,32,60,32,109,59,32,43,43,119,41,32,110,91,119,93,32,61,32,98,91,119,32,43,32,50,93,46,116,111,87,105,114,101,84,121,112,101,40,116,44,32,69,91,119,93,41,44,32,112,46,112,117,115,104,40,110,91,119,93,41,59,10,32,32,32,32,32,32,32,32,32,32,69,32,61,32,100,40,46,46,46,112,41,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,103,41,32,75,97,40,116,41,59,10,32,32,32,32,32,32,32,32,32,32,101,108,115,101,10,32,32,32,32,32,32,32,32,32,32,32,32,102,111,114,32,40,119,32,61,32,104,32,63,32,49,32,58,32,50,59,32,119,32,60,32,98,46,108,101,110,103,116,104,59,32,119,43,43,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,118,97,114,32,72,32,61,32,49,32,61,61,61,32,119,32,63,32,118,32,58,32,110,91,119,32,45,32,50,93,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,110,117,108,108,32,33,61,61,32,98,91,119,93,46,88,97,32,38,38,32,98,91,119,93,46,88,97,40,72,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,32,32,118,32,61,32,108,32,63,32,98,91,48,93,46,102,114,111,109,87,105,114,101,84,121,112,101,40,69,41,32,58,32,118,111,105,100,32,48,59,10,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,118,59,10,32,32,32,32,32,32,32,32,125,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,118,97,114,32,119,98,32,61,32,40,97,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,97,32,61,32,97,46,116,114,105,109,40,41,59,10,32,32,32,32,32,32,32,32,99,111,110,115,116,32,98,32,61,32,97,46,105,110,100,101,120,79,102,40,34,40,34,41,59,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,45,49,32,33,61,61,32,98,32,63,32,97,46,115,117,98,115,116,114,40,48,44,32,98,41,32,58,32,97,59,10,32,32,32,32,32,32,125,44,32,121,98,32,61,32,91,93,44,32,86,32,61,32,91,93,44,32,122,98,32,61,32,40,97,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,57,32,60,32,97,32,38,38,32,48,32,61,61,61,32,45,45,86,91,97,32,43,32,49,93,32,38,38,32,40,86,91,97,93,32,61,32,118,111,105,100,32,48,44,32,121,98,46,112,117,115,104,40,97,41,41,59,10,32,32,32,32,32,32,125,44,32,65,98,32,61,32,40,97,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,105,102,32,40,33,97,41,32,116,104,114,111,119,32,110,101,119,32,82,40,34,67,97,110,110,111,116,32,117,115,101,32,100,101,108,101,116,101,100,32,118,97,108,46,32,104,97,110,100,108,101,32,61,32,34,32,43,32,97,41,59,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,86,91,97,93,59,10,32,32,32,32,32,32,125,44,32,106,98,32,61,32,40,97,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,115,119,105,116,99,104,32,40,97,41,32,123,10,32,32,32,32,32,32,32,32,32,32,99,97,115,101,32,118,111,105,100,32,48,58,10,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,50,59,10,32,32,32,32,32,32,32,32,32,32,99,97,115,101,32,110,117,108,108,58,10,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,52,59,10,32,32,32,32,32,32,32,32,32,32,99,97,115,101,32,116,114,117,101,58,10,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,54,59,10,32,32,32,32,32,32,32,32,32,32,99,97,115,101,32,102,97,108,115,101,58,10,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,56,59,10,32,32,32,32,32,32,32,32,32,32,100,101,102,97,117,108,116,58,10,32,32,32,32,32,32,32,32,32,32,32,32,99,111,110,115,116,32,98,32,61,32,121,98,46,112,111,112,40,41,32,124,124,32,86,46,108,101,110,103,116,104,59,10,32,32,32,32,32,32,32,32,32,32,32,32,86,91,98,93,32,61,32,97,59,10,32,32,32,32,32,32,32,32,32,32,32,32,86,91,98,32,43,32,49,93,32,61,32,49,59,10,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,98,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,44,32,66,98,32,61,32,123,10,32,32,32,32,32,32,32,32,110,97,109,101,58,32,34,101,109,115,99,114,105,112,116,101,110,58,58,118,97,108,34,44,10,32,32,32,32,32,32,32,32,102,114,111,109,87,105,114,101,84,121,112,101,58,32,40,97,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,118,97,114,32,98,32,61,32,65,98,40,97,41,59,10,32,32,32,32,32,32,32,32,32,32,122,98,40,97,41,59,10,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,98,59,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,116,111,87,105,114,101,84,121,112,101,58,32,40,97,44,32,98,41,32,61,62,32,106,98,40,98,41,44,10,32,32,32,32,32,32,32,32,87,97,58,32,56,44,10,32,32,32,32,32,32,32,32,114,101,97,100,86,97,108,117,101,70,114,111,109,80,111,105,110,116,101,114,58,32,76,44,10,32,32,32,32,32,32,32,32,88,97,58,32,110,117,108,108,10,32,32,32,32,32,32,125,44,32,67,98,32,61,32,40,97,44,32,98,44,32,99,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,115,119,105,116,99,104,32,40,98,41,32,123,10,32,32,32,32,32,32,32,32,32,32,99,97,115,101,32,49,58,10,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,99,32,63,32,102,117,110,99,116,105,111,110,40,100,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,102,114,111,109,87,105,114,101,84,121,112,101,40,117,91,100,93,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,125,32,58,32,102,117,110,99,116,105,111,110,40,100,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,102,114,111,109,87,105,114,101,84,121,112,101,40,120,91,100,93,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,125,59,10,32,32,32,32,32,32,32,32,32,32,99,97,115,101,32,50,58,10,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,99,32,63,32,102,117,110,99,116,105,111,110,40,100,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,102,114,111,109,87,105,114,101,84,121,112,101,40,121,91,100,32,62,62,32,49,93,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,125,32,58,32,102,117,110,99,116,105,111,110,40,100,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,102,114,111,109,87,105,114,101,84,121,112,101,40,122,91,100,32,62,62,32,49,93,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,125,59,10,32,32,32,32,32,32,32,32,32,32,99,97,115,101,32,52,58,10,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,99,32,63,32,102,117,110,99,116,105,111,110,40,100,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,102,114,111,109,87,105,114,101,84,121,112,101,40,65,91,100,32,62,62,32,50,93,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,125,32,58,32,102,117,110,99,116,105,111,110,40,100,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,102,114,111,109,87,105,114,101,84,121,112,101,40,66,91,100,32,62,62,32,50,93,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,125,59,10,32,32,32,32,32,32,32,32,32,32,100,101,102,97,117,108,116,58,10,32,32,32,32,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,84,121,112,101,69,114,114,111,114,40,96,105,110,118,97,108,105,100,32,105,110,116,101,103,101,114,32,119,105,100,116,104,32,40,36,123,98,125,41,58,32,36,123,97,125,96,41,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,44,32,68,98,32,61,32,40,97,44,32,98,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,118,97,114,32,99,32,61,32,78,91,97,93,59,10,32,32,32,32,32,32,32,32,105,102,32,40,118,111,105,100,32,48,32,61,61,61,32,99,41,32,116,104,114,111,119,32,97,32,61,32,96,36,123,98,125,32,104,97,115,32,117,110,107,110,111,119,110,32,116,121,112,101,32,36,123,114,98,40,97,41,125,96,44,32,110,101,119,32,82,40,97,41,59,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,99,59,10,32,32,32,32,32,32,125,44,32,104,98,32,61,32,40,97,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,105,102,32,40,110,117,108,108,32,61,61,61,32,97,41,32,114,101,116,117,114,110,32,34,110,117,108,108,34,59,10,32,32,32,32,32,32,32,32,118,97,114,32,98,32,61,32,116,121,112,101,111,102,32,97,59,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,34,111,98,106,101,99,116,34,32,61,61,61,32,98,32,124,124,32,34,97,114,114,97,121,34,32,61,61,61,32,98,32,124,124,32,34,102,117,110,99,116,105,111,110,34,32,61,61,61,32,98,32,63,32,97,46,116,111,83,116,114,105,110,103,40,41,32,58,32,34,34,32,43,32,97,59,10,32,32,32,32,32,32,125,44,32,69,98,32,61,32,40,97,44,32,98,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,115,119,105,116,99,104,32,40,98,41,32,123,10,32,32,32,32,32,32,32,32,32,32,99,97,115,101,32,52,58,10,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,102,117,110,99,116,105,111,110,40,99,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,102,114,111,109,87,105,114,101,84,121,112,101,40,111,97,91,99,32,62,62,32,50,93,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,125,59,10,32,32,32,32,32,32,32,32,32,32,99,97,115,101,32,56,58,10,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,102,117,110,99,116,105,111,110,40,99,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,102,114,111,109,87,105,114,101,84,121,112,101,40,112,97,91,99,32,62,62,32,51,93,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,125,59,10,32,32,32,32,32,32,32,32,32,32,100,101,102,97,117,108,116,58,10,32,32,32,32,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,84,121,112,101,69,114,114,111,114,40,96,105,110,118,97,108,105,100,32,102,108,111,97,116,32,119,105,100,116,104,32,40,36,123,98,125,41,58,32,36,123,97,125,96,41,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,44,32,70,98,32,61,32,40,97,44,32,98,44,32,99,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,115,119,105,116,99,104,32,40,98,41,32,123,10,32,32,32,32,32,32,32,32,32,32,99,97,115,101,32,49,58,10,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,99,32,63,32,40,100,41,32,61,62,32,117,91,100,93,32,58,32,40,100,41,32,61,62,32,120,91,100,93,59,10,32,32,32,32,32,32,32,32,32,32,99,97,115,101,32,50,58,10,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,99,32,63,32,40,100,41,32,61,62,32,121,91,100,32,62,62,32,49,93,32,58,32,40,100,41,32,61,62,32,122,91,100,32,62,62,32,49,93,59,10,32,32,32,32,32,32,32,32,32,32,99,97,115,101,32,52,58,10,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,99,32,63,32,40,100,41,32,61,62,32,65,91,100,32,62,62,32,50,93,32,58,32,40,100,41,32,61,62,32,66,91,100,32,62,62,32,50,93,59,10,32,32,32,32,32,32,32,32,32,32,100,101,102,97,117,108,116,58,10,32,32,32,32,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,84,121,112,101,69,114,114,111,114,40,96,105,110,118,97,108,105,100,32,105,110,116,101,103,101,114,32,119,105,100,116,104,32,40,36,123,98,125,41,58,32,36,123,97,125,96,41,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,44,32,71,98,32,61,32,79,98,106,101,99,116,46,97,115,115,105,103,110,40,123,32,111,112,116,105,111,110,97,108,58,32,116,114,117,101,32,125,44,32,66,98,41,44,32,72,98,32,61,32,34,117,110,100,101,102,105,110,101,100,34,32,33,61,32,116,121,112,101,111,102,32,84,101,120,116,68,101,99,111,100,101,114,32,63,32,110,101,119,32,84,101,120,116,68,101,99,111,100,101,114,40,34,117,116,102,45,49,54,108,101,34,41,32,58,32,118,111,105,100,32,48,44,32,73,98,32,61,32,40,97,44,32,98,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,118,97,114,32,99,32,61,32,97,32,62,62,32,49,59,10,32,32,32,32,32,32,32,32,102,111,114,32,40,118,97,114,32,100,32,61,32,99,32,43,32,98,32,47,32,50,59,32,33,40,99,32,62,61,32,100,41,32,38,38,32,122,91,99,93,59,32,41,32,43,43,99,59,10,32,32,32,32,32,32,32,32,99,32,60,60,61,32,49,59,10,32,32,32,32,32,32,32,32,105,102,32,40,51,50,32,60,32,99,32,45,32,97,32,38,38,32,72,98,41,32,114,101,116,117,114,110,32,72,98,46,100,101,99,111,100,101,40,120,46,115,117,98,97,114,114,97,121,40,97,44,32,99,41,41,59,10,32,32,32,32,32,32,32,32,99,32,61,32,34,34,59,10,32,32,32,32,32,32,32,32,102,111,114,32,40,100,32,61,32,48,59,32,33,40,100,32,62,61,32,98,32,47,32,50,41,59,32,43,43,100,41,32,123,10,32,32,32,32,32,32,32,32,32,32,118,97,114,32,101,32,61,32,121,91,97,32,43,32,50,32,42,32,100,32,62,62,32,49,93,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,48,32,61,61,32,101,41,32,98,114,101,97,107,59,10,32,32,32,32,32,32,32,32,32,32,99,32,43,61,32,83,116,114,105,110,103,46,102,114,111,109,67,104,97,114,67,111,100,101,40,101,41,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,99,59,10,32,32,32,32,32,32,125,44,32,74,98,32,61,32,40,97,44,32,98,44,32,99,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,99,32,63,63,32,40,99,32,61,32,50,49,52,55,52,56,51,54,52,55,41,59,10,32,32,32,32,32,32,32,32,105,102,32,40,50,32,62,32,99,41,32,114,101,116,117,114,110,32,48,59,10,32,32,32,32,32,32,32,32,99,32,45,61,32,50,59,10,32,32,32,32,32,32,32,32,118,97,114,32,100,32,61,32,98,59,10,32,32,32,32,32,32,32,32,99,32,61,32,99,32,60,32,50,32,42,32,97,46,108,101,110,103,116,104,32,63,32,99,32,47,32,50,32,58,32,97,46,108,101,110,103,116,104,59,10,32,32,32,32,32,32,32,32,102,111,114,32,40,118,97,114,32,101,32,61,32,48,59,32,101,32,60,32,99,59,32,43,43,101,41,32,121,91,98,32,62,62,32,49,93,32,61,32,97,46,99,104,97,114,67,111,100,101,65,116,40,101,41,44,32,98,32,43,61,32,50,59,10,32,32,32,32,32,32,32,32,121,91,98,32,62,62,32,49,93,32,61,32,48,59,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,98,32,45,32,100,59,10,32,32,32,32,32,32,125,44,32,75,98,32,61,32,40,97,41,32,61,62,32,50,32,42,32,97,46,108,101,110,103,116,104,44,32,76,98,32,61,32,40,97,44,32,98,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,102,111,114,32,40,118,97,114,32,99,32,61,32,48,44,32,100,32,61,32,34,34,59,32,33,40,99,32,62,61,32,98,32,47,32,52,41,59,32,41,32,123,10,32,32,32,32,32,32,32,32,32,32,118,97,114,32,101,32,61,32,65,91,97,32,43,32,52,32,42,32,99,32,62,62,32,50,93,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,48,32,61,61,32,101,41,32,98,114,101,97,107,59,10,32,32,32,32,32,32,32,32,32,32,43,43,99,59,10,32,32,32,32,32,32,32,32,32,32,54,53,53,51,54,32,60,61,32,101,32,63,32,40,101,32,45,61,32,54,53,53,51,54,44,32,100,32,43,61,32,83,116,114,105,110,103,46,102,114,111,109,67,104,97,114,67,111,100,101,40,53,53,50,57,54,32,124,32,101,32,62,62,32,49,48,44,32,53,54,51,50,48,32,124,32,101,32,38,32,49,48,50,51,41,41,32,58,32,100,32,43,61,32,83,116,114,105,110,103,46,102,114,111,109,67,104,97,114,67,111,100,101,40,101,41,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,100,59,10,32,32,32,32,32,32,125,44,32,77,98,32,61,32,40,97,44,32,98,44,32,99,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,99,32,63,63,32,40,99,32,61,32,50,49,52,55,52,56,51,54,52,55,41,59,10,32,32,32,32,32,32,32,32,105,102,32,40,52,32,62,32,99,41,32,114,101,116,117,114,110,32,48,59,10,32,32,32,32,32,32,32,32,118,97,114,32,100,32,61,32,98,59,10,32,32,32,32,32,32,32,32,99,32,61,32,100,32,43,32,99,32,45,32,52,59,10,32,32,32,32,32,32,32,32,102,111,114,32,40,118,97,114,32,101,32,61,32,48,59,32,101,32,60,32,97,46,108,101,110,103,116,104,59,32,43,43,101,41,32,123,10,32,32,32,32,32,32,32,32,32,32,118,97,114,32,102,32,61,32,97,46,99,104,97,114,67,111,100,101,65,116,40,101,41,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,53,53,50,57,54,32,60,61,32,102,32,38,38,32,53,55,51,52,51,32,62,61,32,102,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,118,97,114,32,104,32,61,32,97,46,99,104,97,114,67,111,100,101,65,116,40,43,43,101,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,102,32,61,32,54,53,53,51,54,32,43,32,40,40,102,32,38,32,49,48,50,51,41,32,60,60,32,49,48,41,32,124,32,104,32,38,32,49,48,50,51,59,10,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,32,32,65,91,98,32,62,62,32,50,93,32,61,32,102,59,10,32,32,32,32,32,32,32,32,32,32,98,32,43,61,32,52,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,98,32,43,32,52,32,62,32,99,41,32,98,114,101,97,107,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,65,91,98,32,62,62,32,50,93,32,61,32,48,59,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,98,32,45,32,100,59,10,32,32,32,32,32,32,125,44,32,78,98,32,61,32,40,97,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,102,111,114,32,40,118,97,114,32,98,32,61,32,48,44,32,99,32,61,32,48,59,32,99,32,60,32,97,46,108,101,110,103,116,104,59,32,43,43,99,41,32,123,10,32,32,32,32,32,32,32,32,32,32,118,97,114,32,100,32,61,32,97,46,99,104,97,114,67,111,100,101,65,116,40,99,41,59,10,32,32,32,32,32,32,32,32,32,32,53,53,50,57,54,32,60,61,32,100,32,38,38,32,53,55,51,52,51,32,62,61,32,100,32,38,38,32,43,43,99,59,10,32,32,32,32,32,32,32,32,32,32,98,32,43,61,32,52,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,98,59,10,32,32,32,32,32,32,125,44,32,79,98,32,61,32,48,44,32,80,98,32,61,32,40,97,44,32,98,44,32,99,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,118,97,114,32,100,32,61,32,91,93,59,10,32,32,32,32,32,32,32,32,97,32,61,32,97,46,116,111,87,105,114,101,84,121,112,101,40,100,44,32,99,41,59,10,32,32,32,32,32,32,32,32,100,46,108,101,110,103,116,104,32,38,38,32,40,66,91,98,32,62,62,32,50,93,32,61,32,106,98,40,100,41,41,59,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,97,59,10,32,32,32,32,32,32,125,44,32,81,98,32,61,32,91,93,44,32,82,98,32,61,32,40,97,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,118,97,114,32,98,32,61,32,81,98,46,108,101,110,103,116,104,59,10,32,32,32,32,32,32,32,32,81,98,46,112,117,115,104,40,97,41,59,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,98,59,10,32,32,32,32,32,32,125,44,32,83,98,32,61,32,40,97,44,32,98,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,102,111,114,32,40,118,97,114,32,99,32,61,32,65,114,114,97,121,40,97,41,44,32,100,32,61,32,48,59,32,100,32,60,32,97,59,32,43,43,100,41,32,99,91,100,93,32,61,32,68,98,40,66,91,98,32,43,32,52,32,42,32,100,32,62,62,32,50,93,44,32,34,112,97,114,97,109,101,116,101,114,32,34,32,43,32,100,41,59,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,99,59,10,32,32,32,32,32,32,125,44,32,84,98,32,61,32,82,101,102,108,101,99,116,46,99,111,110,115,116,114,117,99,116,44,32,85,98,32,61,32,123,125,44,32,86,98,32,61,32,40,97,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,105,102,32,40,33,40,97,32,105,110,115,116,97,110,99,101,111,102,32,66,97,32,124,124,32,34,117,110,119,105,110,100,34,32,61,61,32,97,41,41,32,116,104,114,111,119,32,97,59,10,32,32,32,32,32,32,125,44,32,87,98,32,61,32,40,97,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,110,97,32,61,32,97,59,10,32,32,32,32,32,32,32,32,68,97,32,124,124,32,48,32,60,32,79,98,32,124,124,32,40,107,46,111,110,69,120,105,116,63,46,40,97,41,44,32,109,97,32,61,32,116,114,117,101,41,59,10,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,66,97,40,97,41,59,10,32,32,32,32,32,32,125,44,32,88,98,32,61,32,40,97,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,105,102,32,40,33,109,97,41,10,32,32,32,32,32,32,32,32,32,32,116,114,121,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,105,102,32,40,97,40,41,44,32,33,40,68,97,32,124,124,32,48,32,60,32,79,98,41,41,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,116,114,121,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,110,97,32,61,32,97,32,61,32,110,97,44,32,87,98,40,97,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,125,32,99,97,116,99,104,32,40,98,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,86,98,40,98,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,32,32,125,32,99,97,116,99,104,32,40,98,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,86,98,40,98,41,59,10,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,44,32,89,98,32,61,32,123,125,44,32,36,98,32,61,32,40,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,105,102,32,40,33,90,98,41,32,123,10,32,32,32,32,32,32,32,32,32,32,118,97,114,32,97,32,61,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,85,83,69,82,58,32,34,119,101,98,95,117,115,101,114,34,44,10,32,32,32,32,32,32,32,32,32,32,32,32,76,79,71,78,65,77,69,58,32,34,119,101,98,95,117,115,101,114,34,44,10,32,32,32,32,32,32,32,32,32,32,32,32,80,65,84,72,58,32,34,47,34,44,10,32,32,32,32,32,32,32,32,32,32,32,32,80,87,68,58,32,34,47,34,44,10,32,32,32,32,32,32,32,32,32,32,32,32,72,79,77,69,58,32,34,47,104,111,109,101,47,119,101,98,95,117,115,101,114,34,44,10,32,32,32,32,32,32,32,32,32,32,32,32,76,65,78,71,58,32,40,34,111,98,106,101,99,116,34,32,61,61,32,116,121,112,101,111,102,32,110,97,118,105,103,97,116,111,114,32,38,38,32,110,97,118,105,103,97,116,111,114,46,108,97,110,103,117,97,103,101,115,32,38,38,32,110,97,118,105,103,97,116,111,114,46,108,97,110,103,117,97,103,101,115,91,48,93,32,124,124,32,34,67,34,41,46,114,101,112,108,97,99,101,40,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,34,45,34,44,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,34,95,34,10,32,32,32,32,32,32,32,32,32,32,32,32,41,32,43,32,34,46,85,84,70,45,56,34,44,10,32,32,32,32,32,32,32,32,32,32,32,32,95,58,32,101,97,32,124,124,32,34,46,47,116,104,105,115,46,112,114,111,103,114,97,109,34,10,32,32,32,32,32,32,32,32,32,32,125,44,32,98,59,10,32,32,32,32,32,32,32,32,32,32,102,111,114,32,40,98,32,105,110,32,89,98,41,32,118,111,105,100,32,48,32,61,61,61,32,89,98,91,98,93,32,63,32,100,101,108,101,116,101,32,97,91,98,93,32,58,32,97,91,98,93,32,61,32,89,98,91,98,93,59,10,32,32,32,32,32,32,32,32,32,32,118,97,114,32,99,32,61,32,91,93,59,10,32,32,32,32,32,32,32,32,32,32,102,111,114,32,40,98,32,105,110,32,97,41,32,99,46,112,117,115,104,40,96,36,123,98,125,61,36,123,97,91,98,93,125,96,41,59,10,32,32,32,32,32,32,32,32,32,32,90,98,32,61,32,99,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,90,98,59,10,32,32,32,32,32,32,125,44,32,90,98,44,32,97,99,32,61,32,91,110,117,108,108,44,32,91,93,44,32,91,93,93,44,32,98,99,32,61,32,40,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,105,102,32,40,34,111,98,106,101,99,116,34,32,61,61,32,116,121,112,101,111,102,32,99,114,121,112,116,111,32,38,38,32,34,102,117,110,99,116,105,111,110,34,32,61,61,32,116,121,112,101,111,102,32,99,114,121,112,116,111,46,103,101,116,82,97,110,100,111,109,86,97,108,117,101,115,41,10,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,40,97,41,32,61,62,32,99,114,121,112,116,111,46,103,101,116,82,97,110,100,111,109,86,97,108,117,101,115,40,97,41,59,10,32,32,32,32,32,32,32,32,118,97,40,34,105,110,105,116,82,97,110,100,111,109,68,101,118,105,99,101,34,41,59,10,32,32,32,32,32,32,125,44,32,99,99,32,61,32,40,97,41,32,61,62,32,40,99,99,32,61,32,98,99,40,41,41,40,97,41,59,10,32,32,32,32,32,32,77,97,32,61,32,107,46,73,110,116,101,114,110,97,108,69,114,114,111,114,32,61,32,99,108,97,115,115,32,101,120,116,101,110,100,115,32,69,114,114,111,114,32,123,10,32,32,32,32,32,32,32,32,99,111,110,115,116,114,117,99,116,111,114,40,97,41,32,123,10,32,32,32,32,32,32,32,32,32,32,115,117,112,101,114,40,97,41,59,10,32,32,32,32,32,32,32,32,32,32,116,104,105,115,46,110,97,109,101,32,61,32,34,73,110,116,101,114,110,97,108,69,114,114,111,114,34,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,59,10,32,32,32,32,32,32,102,111,114,32,40,118,97,114,32,100,99,32,61,32,65,114,114,97,121,40,50,53,54,41,44,32,101,99,32,61,32,48,59,32,50,53,54,32,62,32,101,99,59,32,43,43,101,99,41,32,100,99,91,101,99,93,32,61,32,83,116,114,105,110,103,46,102,114,111,109,67,104,97,114,67,111,100,101,40,101,99,41,59,10,32,32,32,32,32,32,78,97,32,61,32,100,99,59,10,32,32,32,32,32,32,82,32,61,32,107,46,66,105,110,100,105,110,103,69,114,114,111,114,32,61,32,99,108,97,115,115,32,101,120,116,101,110,100,115,32,69,114,114,111,114,32,123,10,32,32,32,32,32,32,32,32,99,111,110,115,116,114,117,99,116,111,114,40,97,41,32,123,10,32,32,32,32,32,32,32,32,32,32,115,117,112,101,114,40,97,41,59,10,32,32,32,32,32,32,32,32,32,32,116,104,105,115,46,110,97,109,101,32,61,32,34,66,105,110,100,105,110,103,69,114,114,111,114,34,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,59,10,32,32,32,32,32,32,79,98,106,101,99,116,46,97,115,115,105,103,110,40,36,97,46,112,114,111,116,111,116,121,112,101,44,32,123,10,32,32,32,32,32,32,32,32,105,115,65,108,105,97,115,79,102,58,32,102,117,110,99,116,105,111,110,40,97,41,32,123,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,33,40,116,104,105,115,32,105,110,115,116,97,110,99,101,111,102,32,36,97,32,38,38,32,97,32,105,110,115,116,97,110,99,101,111,102,32,36,97,41,41,32,114,101,116,117,114,110,32,102,97,108,115,101,59,10,32,32,32,32,32,32,32,32,32,32,118,97,114,32,98,32,61,32,116,104,105,115,46,79,97,46,82,97,46,81,97,44,32,99,32,61,32,116,104,105,115,46,79,97,46,80,97,59,10,32,32,32,32,32,32,32,32,32,32,97,46,79,97,32,61,32,97,46,79,97,59,10,32,32,32,32,32,32,32,32,32,32,118,97,114,32,100,32,61,32,97,46,79,97,46,82,97,46,81,97,59,10,32,32,32,32,32,32,32,32,32,32,102,111,114,32,40,97,32,61,32,97,46,79,97,46,80,97,59,32,98,46,85,97,59,32,41,32,99,32,61,32,98,46,101,98,40,99,41,44,32,98,32,61,32,98,46,85,97,59,10,32,32,32,32,32,32,32,32,32,32,102,111,114,32,40,59,32,100,46,85,97,59,32,41,32,97,32,61,32,100,46,101,98,40,97,41,44,32,100,32,61,32,100,46,85,97,59,10,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,98,32,61,61,61,32,100,32,38,38,32,99,32,61,61,61,32,97,59,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,99,108,111,110,101,58,32,102,117,110,99,116,105,111,110,40,41,32,123,10,32,32,32,32,32,32,32,32,32,32,116,104,105,115,46,79,97,46,80,97,32,124,124,32,81,97,40,116,104,105,115,41,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,79,97,46,99,98,41,32,114,101,116,117,114,110,32,116,104,105,115,46,79,97,46,99,111,117,110,116,46,118,97,108,117,101,32,43,61,32,49,44,32,116,104,105,115,59,10,32,32,32,32,32,32,32,32,32,32,118,97,114,32,97,32,61,32,88,97,44,32,98,32,61,32,79,98,106,101,99,116,44,32,99,32,61,32,98,46,99,114,101,97,116,101,44,32,100,32,61,32,79,98,106,101,99,116,46,103,101,116,80,114,111,116,111,116,121,112,101,79,102,40,116,104,105,115,41,44,32,101,32,61,32,116,104,105,115,46,79,97,59,10,32,32,32,32,32,32,32,32,32,32,97,32,61,32,97,40,10,32,32,32,32,32,32,32,32,32,32,32,32,99,46,99,97,108,108,40,98,44,32,100,44,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,79,97,58,32,123,32,118,97,108,117,101,58,32,123,32,99,111,117,110,116,58,32,101,46,99,111,117,110,116,44,32,98,98,58,32,101,46,98,98,44,32,99,98,58,32,101,46,99,98,44,32,80,97,58,32,101,46,80,97,44,32,82,97,58,32,101,46,82,97,44,32,84,97,58,32,101,46,84,97,44,32,86,97,58,32,101,46,86,97,32,125,32,125,10,32,32,32,32,32,32,32,32,32,32,32,32,125,41,10,32,32,32,32,32,32,32,32,32,32,41,59,10,32,32,32,32,32,32,32,32,32,32,97,46,79,97,46,99,111,117,110,116,46,118,97,108,117,101,32,43,61,32,49,59,10,32,32,32,32,32,32,32,32,32,32,97,46,79,97,46,98,98,32,61,32,102,97,108,115,101,59,10,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,97,59,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,91,34,100,101,108,101,116,101,34,93,40,41,32,123,10,32,32,32,32,32,32,32,32,32,32,116,104,105,115,46,79,97,46,80,97,32,124,124,32,81,97,40,116,104,105,115,41,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,79,97,46,98,98,32,38,38,32,33,116,104,105,115,46,79,97,46,99,98,41,32,116,104,114,111,119,32,110,101,119,32,82,40,34,79,98,106,101,99,116,32,97,108,114,101,97,100,121,32,115,99,104,101,100,117,108,101,100,32,102,111,114,32,100,101,108,101,116,105,111,110,34,41,59,10,32,32,32,32,32,32,32,32,32,32,83,97,40,116,104,105,115,41,59,10,32,32,32,32,32,32,32,32,32,32,118,97,114,32,97,32,61,32,116,104,105,115,46,79,97,59,10,32,32,32,32,32,32,32,32,32,32,45,45,97,46,99,111,117,110,116,46,118,97,108,117,101,59,10,32,32,32,32,32,32,32,32,32,32,48,32,61,61,61,32,97,46,99,111,117,110,116,46,118,97,108,117,101,32,38,38,32,40,97,46,84,97,32,63,32,97,46,86,97,46,89,97,40,97,46,84,97,41,32,58,32,97,46,82,97,46,81,97,46,89,97,40,97,46,80,97,41,41,59,10,32,32,32,32,32,32,32,32,32,32,116,104,105,115,46,79,97,46,99,98,32,124,124,32,40,116,104,105,115,46,79,97,46,84,97,32,61,32,118,111,105,100,32,48,44,32,116,104,105,115,46,79,97,46,80,97,32,61,32,118,111,105,100,32,48,41,59,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,105,115,68,101,108,101,116,101,100,58,32,102,117,110,99,116,105,111,110,40,41,32,123,10,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,33,116,104,105,115,46,79,97,46,80,97,59,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,100,101,108,101,116,101,76,97,116,101,114,58,32,102,117,110,99,116,105,111,110,40,41,32,123,10,32,32,32,32,32,32,32,32,32,32,116,104,105,115,46,79,97,46,80,97,32,124,124,32,81,97,40,116,104,105,115,41,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,79,97,46,98,98,32,38,38,32,33,116,104,105,115,46,79,97,46,99,98,41,32,116,104,114,111,119,32,110,101,119,32,82,40,34,79,98,106,101,99,116,32,97,108,114,101,97,100,121,32,115,99,104,101,100,117,108,101,100,32,102,111,114,32,100,101,108,101,116,105,111,110,34,41,59,10,32,32,32,32,32,32,32,32,32,32,90,97,46,112,117,115,104,40,116,104,105,115,41,59,10,32,32,32,32,32,32,32,32,32,32,116,104,105,115,46,79,97,46,98,98,32,61,32,116,114,117,101,59,10,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,41,59,10,32,32,32,32,32,32,79,98,106,101,99,116,46,97,115,115,105,103,110,40,108,98,46,112,114,111,116,111,116,121,112,101,44,32,123,10,32,32,32,32,32,32,32,32,114,98,40,97,41,32,123,10,32,32,32,32,32,32,32,32,32,32,116,104,105,115,46,109,98,32,38,38,32,40,97,32,61,32,116,104,105,115,46,109,98,40,97,41,41,59,10,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,97,59,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,107,98,40,97,41,32,123,10,32,32,32,32,32,32,32,32,32,32,116,104,105,115,46,89,97,63,46,40,97,41,59,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,87,97,58,32,56,44,10,32,32,32,32,32,32,32,32,114,101,97,100,86,97,108,117,101,70,114,111,109,80,111,105,110,116,101,114,58,32,76,44,10,32,32,32,32,32,32,32,32,102,114,111,109,87,105,114,101,84,121,112,101,58,32,102,117,110,99,116,105,111,110,40,97,41,32,123,10,32,32,32,32,32,32,32,32,32,32,102,117,110,99,116,105,111,110,32,98,40,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,103,98,32,63,32,89,97,40,116,104,105,115,46,81,97,46,36,97,44,32,123,32,82,97,58,32,116,104,105,115,46,119,98,44,32,80,97,58,32,99,44,32,86,97,58,32,116,104,105,115,44,32,84,97,58,32,97,32,125,41,32,58,32,89,97,40,116,104,105,115,46,81,97,46,36,97,44,32,123,32,82,97,58,32,116,104,105,115,44,32,80,97,58,32,97,32,125,41,59,10,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,32,32,118,97,114,32,99,32,61,32,116,104,105,115,46,114,98,40,97,41,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,33,99,41,32,114,101,116,117,114,110,32,116,104,105,115,46,107,98,40,97,41,44,32,110,117,108,108,59,10,32,32,32,32,32,32,32,32,32,32,118,97,114,32,100,32,61,32,87,97,40,116,104,105,115,46,81,97,44,32,99,41,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,118,111,105,100,32,48,32,33,61,61,32,100,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,105,102,32,40,48,32,61,61,61,32,100,46,79,97,46,99,111,117,110,116,46,118,97,108,117,101,41,32,114,101,116,117,114,110,32,100,46,79,97,46,80,97,32,61,32,99,44,32,100,46,79,97,46,84,97,32,61,32,97,44,32,100,46,99,108,111,110,101,40,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,100,32,61,32,100,46,99,108,111,110,101,40,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,116,104,105,115,46,107,98,40,97,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,100,59,10,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,32,32,100,32,61,32,116,104,105,115,46,81,97,46,113,98,40,99,41,59,10,32,32,32,32,32,32,32,32,32,32,100,32,61,32,85,97,91,100,93,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,33,100,41,32,114,101,116,117,114,110,32,98,46,99,97,108,108,40,116,104,105,115,41,59,10,32,32,32,32,32,32,32,32,32,32,100,32,61,32,116,104,105,115,46,102,98,32,63,32,100,46,110,98,32,58,32,100,46,112,111,105,110,116,101,114,84,121,112,101,59,10,32,32,32,32,32,32,32,32,32,32,118,97,114,32,101,32,61,32,84,97,40,99,44,32,116,104,105,115,46,81,97,44,32,100,46,81,97,41,59,10,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,110,117,108,108,32,61,61,61,32,101,32,63,32,98,46,99,97,108,108,40,116,104,105,115,41,32,58,32,116,104,105,115,46,103,98,32,63,32,89,97,40,100,46,81,97,46,36,97,44,32,123,32,82,97,58,32,100,44,32,80,97,58,32,101,44,32,86,97,58,32,116,104,105,115,44,32,84,97,58,32,97,32,125,41,32,58,32,89,97,40,100,46,81,97,46,36,97,44,32,123,32,82,97,58,32,100,44,32,80,97,58,32,101,32,125,41,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,41,59,10,32,32,32,32,32,32,112,98,32,61,32,107,46,85,110,98,111,117,110,100,84,121,112,101,69,114,114,111,114,32,61,32,40,40,97,44,32,98,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,118,97,114,32,99,32,61,32,97,98,40,98,44,32,102,117,110,99,116,105,111,110,40,100,41,32,123,10,32,32,32,32,32,32,32,32,32,32,116,104,105,115,46,110,97,109,101,32,61,32,98,59,10,32,32,32,32,32,32,32,32,32,32,116,104,105,115,46,109,101,115,115,97,103,101,32,61,32,100,59,10,32,32,32,32,32,32,32,32,32,32,100,32,61,32,69,114,114,111,114,40,100,41,46,115,116,97,99,107,59,10,32,32,32,32,32,32,32,32,32,32,118,111,105,100,32,48,32,33,61,61,32,100,32,38,38,32,40,116,104,105,115,46,115,116,97,99,107,32,61,32,116,104,105,115,46,116,111,83,116,114,105,110,103,40,41,32,43,32,34,92,110,34,32,43,32,100,46,114,101,112,108,97,99,101,40,47,94,69,114,114,111,114,40,58,91,94,92,110,93,42,41,63,92,110,47,44,32,34,34,41,41,59,10,32,32,32,32,32,32,32,32,125,41,59,10,32,32,32,32,32,32,32,32,99,46,112,114,111,116,111,116,121,112,101,32,61,32,79,98,106,101,99,116,46,99,114,101,97,116,101,40,97,46,112,114,111,116,111,116,121,112,101,41,59,10,32,32,32,32,32,32,32,32,99,46,112,114,111,116,111,116,121,112,101,46,99,111,110,115,116,114,117,99,116,111,114,32,61,32,99,59,10,32,32,32,32,32,32,32,32,99,46,112,114,111,116,111,116,121,112,101,46,116,111,83,116,114,105,110,103,32,61,32,102,117,110,99,116,105,111,110,40,41,32,123,10,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,118,111,105,100,32,48,32,61,61,61,32,116,104,105,115,46,109,101,115,115,97,103,101,32,63,32,116,104,105,115,46,110,97,109,101,32,58,32,96,36,123,116,104,105,115,46,110,97,109,101,125,58,32,36,123,116,104,105,115,46,109,101,115,115,97,103,101,125,96,59,10,32,32,32,32,32,32,32,32,125,59,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,99,59,10,32,32,32,32,32,32,125,41,40,69,114,114,111,114,44,32,34,85,110,98,111,117,110,100,84,121,112,101,69,114,114,111,114,34,41,59,10,32,32,32,32,32,32,86,46,112,117,115,104,40,48,44,32,49,44,32,118,111,105,100,32,48,44,32,49,44,32,110,117,108,108,44,32,49,44,32,116,114,117,101,44,32,49,44,32,102,97,108,115,101,44,32,49,41,59,10,32,32,32,32,32,32,107,46,99,111,117,110,116,95,101,109,118,97,108,95,104,97,110,100,108,101,115,32,61,32,40,41,32,61,62,32,86,46,108,101,110,103,116,104,32,47,32,50,32,45,32,53,32,45,32,121,98,46,108,101,110,103,116,104,59,10,32,32,32,32,32,32,118,97,114,32,120,99,32,61,32,123,10,32,32,32,32,32,32,32,32,100,58,32,40,97,44,32,98,44,32,99,44,32,100,41,32,61,62,32,118,97,40,10,32,32,32,32,32,32,32,32,32,32,96,65,115,115,101,114,116,105,111,110,32,102,97,105,108,101,100,58,32,36,123,97,32,63,32,71,40,120,44,32,97,41,32,58,32,34,34,125,44,32,97,116,58,32,96,32,43,32,91,98,32,63,32,98,32,63,32,71,40,120,44,32,98,41,32,58,32,34,34,32,58,32,34,117,110,107,110,111,119,110,32,102,105,108,101,110,97,109,101,34,44,32,99,44,32,100,32,63,32,100,32,63,32,71,40,120,44,32,100,41,32,58,32,34,34,32,58,32,34,117,110,107,110,111,119,110,32,102,117,110,99,116,105,111,110,34,93,10,32,32,32,32,32,32,32,32,41,44,10,32,32,32,32,32,32,32,32,99,58,32,40,41,32,61,62,32,72,97,40,41,44,10,32,32,32,32,32,32,32,32,110,58,32,40,97,44,32,98,44,32,99,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,118,97,114,32,100,32,61,32,110,101,119,32,70,97,40,97,41,59,10,32,32,32,32,32,32,32,32,32,32,66,91,100,46,80,97,32,43,32,49,54,32,62,62,32,50,93,32,61,32,48,59,10,32,32,32,32,32,32,32,32,32,32,66,91,100,46,80,97,32,43,32,52,32,62,62,32,50,93,32,61,32,98,59,10,32,32,32,32,32,32,32,32,32,32,66,91,100,46,80,97,32,43,32,56,32,62,62,32,50,93,32,61,32,99,59,10,32,32,32,32,32,32,32,32,32,32,73,32,61,32,97,59,10,32,32,32,32,32,32,32,32,32,32,73,97,43,43,59,10,32,32,32,32,32,32,32,32,32,32,116,104,114,111,119,32,73,59,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,101,58,32,40,97,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,73,32,124,124,32,40,73,32,61,32,97,41,59,10,32,32,32,32,32,32,32,32,32,32,116,104,114,111,119,32,73,59,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,84,58,32,40,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,81,58,32,40,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,82,58,32,40,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,86,58,32,102,117,110,99,116,105,111,110,40,41,32,123,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,83,58,32,40,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,88,58,32,40,41,32,61,62,32,118,97,40,34,34,41,44,10,32,32,32,32,32,32,32,32,119,58,32,40,97,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,118,97,114,32,98,32,61,32,74,97,91,97,93,59,10,32,32,32,32,32,32,32,32,32,32,100,101,108,101,116,101,32,74,97,91,97,93,59,10,32,32,32,32,32,32,32,32,32,32,118,97,114,32,99,32,61,32,98,46,105,98,44,32,100,32,61,32,98,46,89,97,44,32,101,32,61,32,98,46,108,98,44,32,102,32,61,32,101,46,109,97,112,40,40,104,41,32,61,62,32,104,46,117,98,41,46,99,111,110,99,97,116,40,101,46,109,97,112,40,40,104,41,32,61,62,32,104,46,65,98,41,41,59,10,32,32,32,32,32,32,32,32,32,32,80,40,91,97,93,44,32,102,44,32,40,104,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,118,97,114,32,103,32,61,32,123,125,59,10,32,32,32,32,32,32,32,32,32,32,32,32,101,46,102,111,114,69,97,99,104,40,40,108,44,32,109,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,118,97,114,32,110,32,61,32,104,91,109,93,44,32,112,32,61,32,108,46,115,98,44,32,116,32,61,32,108,46,116,98,44,32,69,32,61,32,104,91,109,32,43,32,101,46,108,101,110,103,116,104,93,44,32,118,32,61,32,108,46,122,98,44,32,119,32,61,32,108,46,66,98,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,103,91,108,46,112,98,93,32,61,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,114,101,97,100,58,32,40,72,41,32,61,62,32,110,46,102,114,111,109,87,105,114,101,84,121,112,101,40,112,40,116,44,32,72,41,41,44,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,119,114,105,116,101,58,32,40,72,44,32,102,97,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,118,97,114,32,70,32,61,32,91,93,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,118,40,119,44,32,72,44,32,69,46,116,111,87,105,114,101,84,121,112,101,40,70,44,32,102,97,41,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,75,97,40,70,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,125,59,10,32,32,32,32,32,32,32,32,32,32,32,32,125,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,91,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,110,97,109,101,58,32,98,46,110,97,109,101,44,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,102,114,111,109,87,105,114,101,84,121,112,101,58,32,40,108,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,118,97,114,32,109,32,61,32,123,125,44,32,110,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,102,111,114,32,40,110,32,105,110,32,103,41,32,109,91,110,93,32,61,32,103,91,110,93,46,114,101,97,100,40,108,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,100,40,108,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,109,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,116,111,87,105,114,101,84,121,112,101,58,32,40,108,44,32,109,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,102,111,114,32,40,118,97,114,32,110,32,105,110,32,103,41,32,105,102,32,40,33,40,110,32,105,110,32,109,41,41,32,116,104,114,111,119,32,110,101,119,32,84,121,112,101,69,114,114,111,114,40,96,77,105,115,115,105,110,103,32,102,105,101,108,100,58,32,34,36,123,110,125,34,96,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,118,97,114,32,112,32,61,32,99,40,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,102,111,114,32,40,110,32,105,110,32,103,41,32,103,91,110,93,46,119,114,105,116,101,40,112,44,32,109,91,110,93,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,110,117,108,108,32,33,61,61,32,108,32,38,38,32,108,46,112,117,115,104,40,100,44,32,112,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,112,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,87,97,58,32,56,44,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,114,101,97,100,86,97,108,117,101,70,114,111,109,80,111,105,110,116,101,114,58,32,76,44,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,88,97,58,32,100,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,32,32,32,32,93,59,10,32,32,32,32,32,32,32,32,32,32,125,41,59,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,72,58,32,40,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,102,97,58,32,40,97,44,32,98,44,32,99,44,32,100,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,98,32,61,32,81,40,98,41,59,10,32,32,32,32,32,32,32,32,32,32,79,40,97,44,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,110,97,109,101,58,32,98,44,10,32,32,32,32,32,32,32,32,32,32,32,32,102,114,111,109,87,105,114,101,84,121,112,101,58,32,102,117,110,99,116,105,111,110,40,101,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,33,33,101,59,10,32,32,32,32,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,32,32,32,32,116,111,87,105,114,101,84,121,112,101,58,32,102,117,110,99,116,105,111,110,40,101,44,32,102,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,102,32,63,32,99,32,58,32,100,59,10,32,32,32,32,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,32,32,32,32,87,97,58,32,56,44,10,32,32,32,32,32,32,32,32,32,32,32,32,114,101,97,100,86,97,108,117,101,70,114,111,109,80,111,105,110,116,101,114,58,32,102,117,110,99,116,105,111,110,40,101,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,102,114,111,109,87,105,114,101,84,121,112,101,40,120,91,101,93,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,32,32,32,32,88,97,58,32,110,117,108,108,10,32,32,32,32,32,32,32,32,32,32,125,41,59,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,117,58,32,40,97,44,32,98,44,32,99,44,32,100,44,32,101,44,32,102,44,32,104,44,32,103,44,32,108,44,32,109,44,32,110,44,32,112,44,32,116,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,110,32,61,32,81,40,110,41,59,10,32,32,32,32,32,32,32,32,32,32,102,32,61,32,84,40,101,44,32,102,41,59,10,32,32,32,32,32,32,32,32,32,32,103,32,38,38,32,40,103,32,61,32,84,40,104,44,32,103,41,41,59,10,32,32,32,32,32,32,32,32,32,32,109,32,38,38,32,40,109,32,61,32,84,40,108,44,32,109,41,41,59,10,32,32,32,32,32,32,32,32,32,32,116,32,61,32,84,40,112,44,32,116,41,59,10,32,32,32,32,32,32,32,32,32,32,118,97,114,32,69,32,61,32,100,98,40,110,41,59,10,32,32,32,32,32,32,32,32,32,32,99,98,40,69,44,32,102,117,110,99,116,105,111,110,40,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,115,98,40,96,67,97,110,110,111,116,32,99,111,110,115,116,114,117,99,116,32,36,123,110,125,32,100,117,101,32,116,111,32,117,110,98,111,117,110,100,32,116,121,112,101,115,96,44,32,91,100,93,41,59,10,32,32,32,32,32,32,32,32,32,32,125,41,59,10,32,32,32,32,32,32,32,32,32,32,80,40,91,97,44,32,98,44,32,99,93,44,32,100,32,63,32,91,100,93,32,58,32,91,93,44,32,40,118,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,118,32,61,32,118,91,48,93,59,10,32,32,32,32,32,32,32,32,32,32,32,32,105,102,32,40,100,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,118,97,114,32,119,32,61,32,118,46,81,97,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,118,97,114,32,72,32,61,32,119,46,36,97,59,10,32,32,32,32,32,32,32,32,32,32,32,32,125,32,101,108,115,101,32,72,32,61,32,36,97,46,112,114,111,116,111,116,121,112,101,59,10,32,32,32,32,32,32,32,32,32,32,32,32,118,32,61,32,97,98,40,110,44,32,102,117,110,99,116,105,111,110,40,46,46,46,80,97,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,105,102,32,40,79,98,106,101,99,116,46,103,101,116,80,114,111,116,111,116,121,112,101,79,102,40,116,104,105,115,41,32,33,61,61,32,102,97,41,32,116,104,114,111,119,32,110,101,119,32,82,40,34,85,115,101,32,39,110,101,119,39,32,116,111,32,99,111,110,115,116,114,117,99,116,32,34,32,43,32,110,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,105,102,32,40,118,111,105,100,32,48,32,61,61,61,32,70,46,90,97,41,32,116,104,114,111,119,32,110,101,119,32,82,40,110,32,43,32,34,32,104,97,115,32,110,111,32,97,99,99,101,115,115,105,98,108,101,32,99,111,110,115,116,114,117,99,116,111,114,34,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,118,97,114,32,120,98,32,61,32,70,46,90,97,91,80,97,46,108,101,110,103,116,104,93,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,105,102,32,40,118,111,105,100,32,48,32,61,61,61,32,120,98,41,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,82,40,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,96,84,114,105,101,100,32,116,111,32,105,110,118,111,107,101,32,99,116,111,114,32,111,102,32,36,123,110,125,32,119,105,116,104,32,105,110,118,97,108,105,100,32,110,117,109,98,101,114,32,111,102,32,112,97,114,97,109,101,116,101,114,115,32,40,36,123,80,97,46,108,101,110,103,116,104,125,41,32,45,32,101,120,112,101,99,116,101,100,32,40,36,123,79,98,106,101,99,116,46,107,101,121,115,40,70,46,90,97,41,46,116,111,83,116,114,105,110,103,40,41,125,41,32,112,97,114,97,109,101,116,101,114,115,32,105,110,115,116,101,97,100,33,96,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,120,98,46,97,112,112,108,121,40,116,104,105,115,44,32,80,97,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,125,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,118,97,114,32,102,97,32,61,32,79,98,106,101,99,116,46,99,114,101,97,116,101,40,72,44,32,123,32,99,111,110,115,116,114,117,99,116,111,114,58,32,123,32,118,97,108,117,101,58,32,118,32,125,32,125,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,118,46,112,114,111,116,111,116,121,112,101,32,61,32,102,97,59,10,32,32,32,32,32,32,32,32,32,32,32,32,118,97,114,32,70,32,61,32,110,101,119,32,101,98,40,110,44,32,118,44,32,102,97,44,32,116,44,32,119,44,32,102,44,32,103,44,32,109,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,105,102,32,40,70,46,85,97,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,118,97,114,32,104,97,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,40,104,97,32,61,32,70,46,85,97,41,46,106,98,32,63,63,32,40,104,97,46,106,98,32,61,32,91,93,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,70,46,85,97,46,106,98,46,112,117,115,104,40,70,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,32,32,32,32,119,32,61,32,110,101,119,32,108,98,40,110,44,32,70,44,32,116,114,117,101,44,32,102,97,108,115,101,44,32,102,97,108,115,101,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,104,97,32,61,32,110,101,119,32,108,98,40,110,32,43,32,34,42,34,44,32,70,44,32,102,97,108,115,101,44,32,102,97,108,115,101,44,32,102,97,108,115,101,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,72,32,61,32,110,101,119,32,108,98,40,110,32,43,32,34,32,99,111,110,115,116,42,34,44,32,70,44,32,102,97,108,115,101,44,32,116,114,117,101,44,32,102,97,108,115,101,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,85,97,91,97,93,32,61,32,123,32,112,111,105,110,116,101,114,84,121,112,101,58,32,104,97,44,32,110,98,58,32,72,32,125,59,10,32,32,32,32,32,32,32,32,32,32,32,32,109,98,40,69,44,32,118,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,91,119,44,32,104,97,44,32,72,93,59,10,32,32,32,32,32,32,32,32,32,32,125,41,59,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,116,58,32,40,97,44,32,98,44,32,99,44,32,100,44,32,101,44,32,102,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,118,97,114,32,104,32,61,32,116,98,40,98,44,32,99,41,59,10,32,32,32,32,32,32,32,32,32,32,101,32,61,32,84,40,100,44,32,101,41,59,10,32,32,32,32,32,32,32,32,32,32,80,40,91,93,44,32,91,97,93,44,32,40,103,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,103,32,61,32,103,91,48,93,59,10,32,32,32,32,32,32,32,32,32,32,32,32,118,97,114,32,108,32,61,32,96,99,111,110,115,116,114,117,99,116,111,114,32,36,123,103,46,110,97,109,101,125,96,59,10,32,32,32,32,32,32,32,32,32,32,32,32,118,111,105,100,32,48,32,61,61,61,32,103,46,81,97,46,90,97,32,38,38,32,40,103,46,81,97,46,90,97,32,61,32,91,93,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,105,102,32,40,118,111,105,100,32,48,32,33,61,61,32,103,46,81,97,46,90,97,91,98,32,45,32,49,93,41,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,82,40,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,96,67,97,110,110,111,116,32,114,101,103,105,115,116,101,114,32,109,117,108,116,105,112,108,101,32,99,111,110,115,116,114,117,99,116,111,114,115,32,119,105,116,104,32,105,100,101,110,116,105,99,97,108,32,110,117,109,98,101,114,32,111,102,32,112,97,114,97,109,101,116,101,114,115,32,40,36,123,98,32,45,32,49,125,41,32,102,111,114,32,99,108,97,115,115,32,39,36,123,103,46,110,97,109,101,125,39,33,32,79,118,101,114,108,111,97,100,32,114,101,115,111,108,117,116,105,111,110,32,105,115,32,99,117,114,114,101,110,116,108,121,32,111,110,108,121,32,112,101,114,102,111,114,109,101,100,32,117,115,105,110,103,32,116,104,101,32,112,97,114,97,109,101,116,101,114,32,99,111,117,110,116,44,32,110,111,116,32,97,99,116,117,97,108,32,116,121,112,101,32,105,110,102,111,33,96,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,103,46,81,97,46,90,97,91,98,32,45,32,49,93,32,61,32,40,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,115,98,40,96,67,97,110,110,111,116,32,99,111,110,115,116,114,117,99,116,32,36,123,103,46,110,97,109,101,125,32,100,117,101,32,116,111,32,117,110,98,111,117,110,100,32,116,121,112,101,115,96,44,32,104,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,125,59,10,32,32,32,32,32,32,32,32,32,32,32,32,80,40,91,93,44,32,104,44,32,40,109,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,109,46,115,112,108,105,99,101,40,49,44,32,48,44,32,110,117,108,108,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,103,46,81,97,46,90,97,91,98,32,45,32,49,93,32,61,32,118,98,40,108,44,32,109,44,32,110,117,108,108,44,32,101,44,32,102,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,91,93,59,10,32,32,32,32,32,32,32,32,32,32,32,32,125,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,91,93,59,10,32,32,32,32,32,32,32,32,32,32,125,41,59,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,104,58,32,40,97,44,32,98,44,32,99,44,32,100,44,32,101,44,32,102,44,32,104,44,32,103,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,118,97,114,32,108,32,61,32,116,98,40,99,44,32,100,41,59,10,32,32,32,32,32,32,32,32,32,32,98,32,61,32,81,40,98,41,59,10,32,32,32,32,32,32,32,32,32,32,98,32,61,32,119,98,40,98,41,59,10,32,32,32,32,32,32,32,32,32,32,102,32,61,32,84,40,101,44,32,102,41,59,10,32,32,32,32,32,32,32,32,32,32,80,40,91,93,44,32,91,97,93,44,32,40,109,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,102,117,110,99,116,105,111,110,32,110,40,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,115,98,40,96,67,97,110,110,111,116,32,99,97,108,108,32,36,123,112,125,32,100,117,101,32,116,111,32,117,110,98,111,117,110,100,32,116,121,112,101,115,96,44,32,108,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,32,32,32,32,109,32,61,32,109,91,48,93,59,10,32,32,32,32,32,32,32,32,32,32,32,32,118,97,114,32,112,32,61,32,96,36,123,109,46,110,97,109,101,125,46,36,123,98,125,96,59,10,32,32,32,32,32,32,32,32,32,32,32,32,98,46,115,116,97,114,116,115,87,105,116,104,40,34,64,64,34,41,32,38,38,32,40,98,32,61,32,83,121,109,98,111,108,91,98,46,115,117,98,115,116,114,105,110,103,40,50,41,93,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,103,32,38,38,32,109,46,81,97,46,120,98,46,112,117,115,104,40,98,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,118,97,114,32,116,32,61,32,109,46,81,97,46,36,97,44,32,69,32,61,32,116,91,98,93,59,10,32,32,32,32,32,32,32,32,32,32,32,32,118,111,105,100,32,48,32,61,61,61,32,69,32,124,124,32,118,111,105,100,32,48,32,61,61,61,32,69,46,83,97,32,38,38,32,69,46,99,108,97,115,115,78,97,109,101,32,33,61,61,32,109,46,110,97,109,101,32,38,38,32,69,46,97,98,32,61,61,61,32,99,32,45,32,50,32,63,32,40,110,46,97,98,32,61,32,99,32,45,32,50,44,32,110,46,99,108,97,115,115,78,97,109,101,32,61,32,109,46,110,97,109,101,44,32,116,91,98,93,32,61,32,110,41,32,58,32,40,98,98,40,116,44,32,98,44,32,112,41,44,32,116,91,98,93,46,83,97,91,99,32,45,32,50,93,32,61,32,110,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,80,40,91,93,44,32,108,44,32,40,118,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,118,32,61,32,118,98,40,112,44,32,118,44,32,109,44,32,102,44,32,104,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,118,111,105,100,32,48,32,61,61,61,32,116,91,98,93,46,83,97,32,63,32,40,118,46,97,98,32,61,32,99,32,45,32,50,44,32,116,91,98,93,32,61,32,118,41,32,58,32,116,91,98,93,46,83,97,91,99,32,45,32,50,93,32,61,32,118,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,91,93,59,10,32,32,32,32,32,32,32,32,32,32,32,32,125,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,91,93,59,10,32,32,32,32,32,32,32,32,32,32,125,41,59,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,100,97,58,32,40,97,41,32,61,62,32,79,40,97,44,32,66,98,41,44,10,32,32,32,32,32,32,32,32,121,58,32,40,97,44,32,98,44,32,99,44,32,100,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,102,117,110,99,116,105,111,110,32,101,40,41,32,123,10,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,32,32,98,32,61,32,81,40,98,41,59,10,32,32,32,32,32,32,32,32,32,32,101,46,118,97,108,117,101,115,32,61,32,123,125,59,10,32,32,32,32,32,32,32,32,32,32,79,40,97,44,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,110,97,109,101,58,32,98,44,10,32,32,32,32,32,32,32,32,32,32,32,32,99,111,110,115,116,114,117,99,116,111,114,58,32,101,44,10,32,32,32,32,32,32,32,32,32,32,32,32,102,114,111,109,87,105,114,101,84,121,112,101,58,32,102,117,110,99,116,105,111,110,40,102,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,99,111,110,115,116,114,117,99,116,111,114,46,118,97,108,117,101,115,91,102,93,59,10,32,32,32,32,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,32,32,32,32,116,111,87,105,114,101,84,121,112,101,58,32,40,102,44,32,104,41,32,61,62,32,104,46,118,97,108,117,101,44,10,32,32,32,32,32,32,32,32,32,32,32,32,87,97,58,32,56,44,10,32,32,32,32,32,32,32,32,32,32,32,32,114,101,97,100,86,97,108,117,101,70,114,111,109,80,111,105,110,116,101,114,58,32,67,98,40,98,44,32,99,44,32,100,41,44,10,32,32,32,32,32,32,32,32,32,32,32,32,88,97,58,32,110,117,108,108,10,32,32,32,32,32,32,32,32,32,32,125,41,59,10,32,32,32,32,32,32,32,32,32,32,99,98,40,98,44,32,101,41,59,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,108,58,32,40,97,44,32,98,44,32,99,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,118,97,114,32,100,32,61,32,68,98,40,97,44,32,34,101,110,117,109,34,41,59,10,32,32,32,32,32,32,32,32,32,32,98,32,61,32,81,40,98,41,59,10,32,32,32,32,32,32,32,32,32,32,97,32,61,32,100,46,99,111,110,115,116,114,117,99,116,111,114,59,10,32,32,32,32,32,32,32,32,32,32,100,32,61,32,79,98,106,101,99,116,46,99,114,101,97,116,101,40,100,46,99,111,110,115,116,114,117,99,116,111,114,46,112,114,111,116,111,116,121,112,101,44,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,118,97,108,117,101,58,32,123,32,118,97,108,117,101,58,32,99,32,125,44,10,32,32,32,32,32,32,32,32,32,32,32,32,99,111,110,115,116,114,117,99,116,111,114,58,32,123,32,118,97,108,117,101,58,32,97,98,40,96,36,123,100,46,110,97,109,101,125,95,36,123,98,125,96,44,32,102,117,110,99,116,105,111,110,40,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,125,41,32,125,10,32,32,32,32,32,32,32,32,32,32,125,41,59,10,32,32,32,32,32,32,32,32,32,32,97,46,118,97,108,117,101,115,91,99,93,32,61,32,100,59,10,32,32,32,32,32,32,32,32,32,32,97,91,98,93,32,61,32,100,59,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,69,58,32,40,97,44,32,98,44,32,99,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,98,32,61,32,81,40,98,41,59,10,32,32,32,32,32,32,32,32,32,32,79,40,97,44,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,110,97,109,101,58,32,98,44,10,32,32,32,32,32,32,32,32,32,32,32,32,102,114,111,109,87,105,114,101,84,121,112,101,58,32,40,100,41,32,61,62,32,100,44,10,32,32,32,32,32,32,32,32,32,32,32,32,116,111,87,105,114,101,84,121,112,101,58,32,40,100,44,32,101,41,32,61,62,32,101,44,10,32,32,32,32,32,32,32,32,32,32,32,32,87,97,58,32,56,44,10,32,32,32,32,32,32,32,32,32,32,32,32,114,101,97,100,86,97,108,117,101,70,114,111,109,80,111,105,110,116,101,114,58,32,69,98,40,98,44,32,99,41,44,10,32,32,32,32,32,32,32,32,32,32,32,32,88,97,58,32,110,117,108,108,10,32,32,32,32,32,32,32,32,32,32,125,41,59,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,118,58,32,40,97,44,32,98,44,32,99,44,32,100,44,32,101,44,32,102,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,118,97,114,32,104,32,61,32,116,98,40,98,44,32,99,41,59,10,32,32,32,32,32,32,32,32,32,32,97,32,61,32,81,40,97,41,59,10,32,32,32,32,32,32,32,32,32,32,97,32,61,32,119,98,40,97,41,59,10,32,32,32,32,32,32,32,32,32,32,101,32,61,32,84,40,100,44,32,101,41,59,10,32,32,32,32,32,32,32,32,32,32,99,98,40,10,32,32,32,32,32,32,32,32,32,32,32,32,97,44,10,32,32,32,32,32,32,32,32,32,32,32,32,102,117,110,99,116,105,111,110,40,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,115,98,40,96,67,97,110,110,111,116,32,99,97,108,108,32,36,123,97,125,32,100,117,101,32,116,111,32,117,110,98,111,117,110,100,32,116,121,112,101,115,96,44,32,104,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,32,32,32,32,98,32,45,32,49,10,32,32,32,32,32,32,32,32,32,32,41,59,10,32,32,32,32,32,32,32,32,32,32,80,40,91,93,44,32,104,44,32,40,103,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,109,98,40,97,44,32,118,98,40,97,44,32,91,103,91,48,93,44,32,110,117,108,108,93,46,99,111,110,99,97,116,40,103,46,115,108,105,99,101,40,49,41,41,44,32,110,117,108,108,44,32,101,44,32,102,41,44,32,98,32,45,32,49,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,91,93,59,10,32,32,32,32,32,32,32,32,32,32,125,41,59,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,112,58,32,40,97,44,32,98,44,32,99,44,32,100,44,32,101,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,98,32,61,32,81,40,98,41,59,10,32,32,32,32,32,32,32,32,32,32,45,49,32,61,61,61,32,101,32,38,38,32,40,101,32,61,32,52,50,57,52,57,54,55,50,57,53,41,59,10,32,32,32,32,32,32,32,32,32,32,101,32,61,32,40,103,41,32,61,62,32,103,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,48,32,61,61,61,32,100,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,118,97,114,32,102,32,61,32,51,50,32,45,32,56,32,42,32,99,59,10,32,32,32,32,32,32,32,32,32,32,32,32,101,32,61,32,40,103,41,32,61,62,32,103,32,60,60,32,102,32,62,62,62,32,102,59,10,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,32,32,118,97,114,32,104,32,61,32,98,46,105,110,99,108,117,100,101,115,40,34,117,110,115,105,103,110,101,100,34,41,32,63,32,102,117,110,99,116,105,111,110,40,103,44,32,108,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,108,32,62,62,62,32,48,59,10,32,32,32,32,32,32,32,32,32,32,125,32,58,32,102,117,110,99,116,105,111,110,40,103,44,32,108,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,108,59,10,32,32,32,32,32,32,32,32,32,32,125,59,10,32,32,32,32,32,32,32,32,32,32,79,40,97,44,32,123,32,110,97,109,101,58,32,98,44,32,102,114,111,109,87,105,114,101,84,121,112,101,58,32,101,44,32,116,111,87,105,114,101,84,121,112,101,58,32,104,44,32,87,97,58,32,56,44,32,114,101,97,100,86,97,108,117,101,70,114,111,109,80,111,105,110,116,101,114,58,32,70,98,40,98,44,32,99,44,32,48,32,33,61,61,32,100,41,44,32,88,97,58,32,110,117,108,108,32,125,41,59,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,107,58,32,40,97,44,32,98,44,32,99,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,102,117,110,99,116,105,111,110,32,100,40,102,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,110,101,119,32,101,40,117,46,98,117,102,102,101,114,44,32,66,91,102,32,43,32,52,32,62,62,32,50,93,44,32,66,91,102,32,62,62,32,50,93,41,59,10,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,32,32,118,97,114,32,101,32,61,32,91,73,110,116,56,65,114,114,97,121,44,32,85,105,110,116,56,65,114,114,97,121,44,32,73,110,116,49,54,65,114,114,97,121,44,32,85,105,110,116,49,54,65,114,114,97,121,44,32,73,110,116,51,50,65,114,114,97,121,44,32,85,105,110,116,51,50,65,114,114,97,121,44,32,70,108,111,97,116,51,50,65,114,114,97,121,44,32,70,108,111,97,116,54,52,65,114,114,97,121,93,91,98,93,59,10,32,32,32,32,32,32,32,32,32,32,99,32,61,32,81,40,99,41,59,10,32,32,32,32,32,32,32,32,32,32,79,40,97,44,32,123,32,110,97,109,101,58,32,99,44,32,102,114,111,109,87,105,114,101,84,121,112,101,58,32,100,44,32,87,97,58,32,56,44,32,114,101,97,100,86,97,108,117,101,70,114,111,109,80,111,105,110,116,101,114,58,32,100,32,125,44,32,123,32,118,98,58,32,116,114,117,101,32,125,41,59,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,120,58,32,40,97,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,79,40,97,44,32,71,98,41,59,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,108,97,58,32,40,97,44,32,98,44,32,99,44,32,100,44,32,101,44,32,102,44,32,104,44,32,103,44,32,108,44,32,109,44,32,110,44,32,112,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,99,32,61,32,81,40,99,41,59,10,32,32,32,32,32,32,32,32,32,32,102,32,61,32,84,40,101,44,32,102,41,59,10,32,32,32,32,32,32,32,32,32,32,103,32,61,32,84,40,104,44,32,103,41,59,10,32,32,32,32,32,32,32,32,32,32,109,32,61,32,84,40,108,44,32,109,41,59,10,32,32,32,32,32,32,32,32,32,32,112,32,61,32,84,40,110,44,32,112,41,59,10,32,32,32,32,32,32,32,32,32,32,80,40,91,97,93,44,32,91,98,93,44,32,40,116,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,116,32,61,32,116,91,48,93,59,10,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,91,110,101,119,32,108,98,40,99,44,32,116,46,81,97,44,32,102,97,108,115,101,44,32,102,97,108,115,101,44,32,116,114,117,101,44,32,116,44,32,100,44,32,102,44,32,103,44,32,109,44,32,112,41,93,59,10,32,32,32,32,32,32,32,32,32,32,125,41,59,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,101,97,58,32,40,97,44,32,98,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,98,32,61,32,81,40,98,41,59,10,32,32,32,32,32,32,32,32,32,32,79,40,97,44,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,110,97,109,101,58,32,98,44,10,32,32,32,32,32,32,32,32,32,32,32,32,102,114,111,109,87,105,114,101,84,121,112,101,58,32,102,117,110,99,116,105,111,110,40,99,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,102,111,114,32,40,118,97,114,32,100,32,61,32,66,91,99,32,62,62,32,50,93,44,32,101,32,61,32,99,32,43,32,52,44,32,102,44,32,104,32,61,32,101,44,32,103,32,61,32,48,59,32,103,32,60,61,32,100,59,32,43,43,103,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,118,97,114,32,108,32,61,32,101,32,43,32,103,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,105,102,32,40,103,32,61,61,32,100,32,124,124,32,48,32,61,61,32,120,91,108,93,41,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,104,32,61,32,104,32,63,32,71,40,120,44,32,104,44,32,108,32,45,32,104,41,32,58,32,34,34,44,32,118,111,105,100,32,48,32,61,61,61,32,102,32,63,32,102,32,61,32,104,32,58,32,40,102,32,43,61,32,83,116,114,105,110,103,46,102,114,111,109,67,104,97,114,67,111,100,101,40,48,41,44,32,102,32,43,61,32,104,41,44,32,104,32,61,32,108,32,43,32,49,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,85,40,99,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,102,59,10,32,32,32,32,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,32,32,32,32,116,111,87,105,114,101,84,121,112,101,58,32,102,117,110,99,116,105,111,110,40,99,44,32,100,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,100,32,105,110,115,116,97,110,99,101,111,102,32,65,114,114,97,121,66,117,102,102,101,114,32,38,38,32,40,100,32,61,32,110,101,119,32,85,105,110,116,56,65,114,114,97,121,40,100,41,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,118,97,114,32,101,44,32,102,32,61,32,34,115,116,114,105,110,103,34,32,61,61,32,116,121,112,101,111,102,32,100,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,105,102,32,40,33,40,102,32,124,124,32,100,32,105,110,115,116,97,110,99,101,111,102,32,85,105,110,116,56,65,114,114,97,121,32,124,124,32,100,32,105,110,115,116,97,110,99,101,111,102,32,85,105,110,116,56,67,108,97,109,112,101,100,65,114,114,97,121,32,124,124,32,100,32,105,110,115,116,97,110,99,101,111,102,32,73,110,116,56,65,114,114,97,121,41,41,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,82,40,34,67,97,110,110,111,116,32,112,97,115,115,32,110,111,110,45,115,116,114,105,110,103,32,116,111,32,115,116,100,58,58,115,116,114,105,110,103,34,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,105,102,32,40,102,41,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,102,111,114,32,40,118,97,114,32,104,32,61,32,101,32,61,32,48,59,32,104,32,60,32,100,46,108,101,110,103,116,104,59,32,43,43,104,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,118,97,114,32,103,32,61,32,100,46,99,104,97,114,67,111,100,101,65,116,40,104,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,49,50,55,32,62,61,32,103,32,63,32,101,43,43,32,58,32,50,48,52,55,32,62,61,32,103,32,63,32,101,32,43,61,32,50,32,58,32,53,53,50,57,54,32,60,61,32,103,32,38,38,32,53,55,51,52,51,32,62,61,32,103,32,63,32,40,101,32,43,61,32,52,44,32,43,43,104,41,32,58,32,101,32,43,61,32,51,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,101,108,115,101,32,101,32,61,32,100,46,108,101,110,103,116,104,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,104,32,61,32,102,99,40,52,32,43,32,101,32,43,32,49,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,103,32,61,32,104,32,43,32,52,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,66,91,104,32,62,62,32,50,93,32,61,32,101,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,105,102,32,40,102,41,32,75,40,100,44,32,103,44,32,101,32,43,32,49,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,101,108,115,101,32,105,102,32,40,102,41,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,102,111,114,32,40,102,32,61,32,48,59,32,102,32,60,32,101,59,32,43,43,102,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,118,97,114,32,108,32,61,32,100,46,99,104,97,114,67,111,100,101,65,116,40,102,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,105,102,32,40,50,53,53,32,60,32,108,41,32,116,104,114,111,119,32,85,40,103,41,44,32,110,101,119,32,82,40,34,83,116,114,105,110,103,32,104,97,115,32,85,84,70,45,49,54,32,99,111,100,101,32,117,110,105,116,115,32,116,104,97,116,32,100,111,32,110,111,116,32,102,105,116,32,105,110,32,56,32,98,105,116,115,34,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,120,91,103,32,43,32,102,93,32,61,32,108,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,101,108,115,101,32,102,111,114,32,40,102,32,61,32,48,59,32,102,32,60,32,101,59,32,43,43,102,41,32,120,91,103,32,43,32,102,93,32,61,32,100,91,102,93,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,110,117,108,108,32,33,61,61,32,99,32,38,38,32,99,46,112,117,115,104,40,85,44,32,104,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,104,59,10,32,32,32,32,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,32,32,32,32,87,97,58,32,56,44,10,32,32,32,32,32,32,32,32,32,32,32,32,114,101,97,100,86,97,108,117,101,70,114,111,109,80,111,105,110,116,101,114,58,32,76,44,10,32,32,32,32,32,32,32,32,32,32,32,32,88,97,40,99,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,85,40,99,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,32,32,125,41,59,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,65,58,32,40,97,44,32,98,44,32,99,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,99,32,61,32,81,40,99,41,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,50,32,61,61,61,32,98,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,118,97,114,32,100,32,61,32,73,98,59,10,32,32,32,32,32,32,32,32,32,32,32,32,118,97,114,32,101,32,61,32,74,98,59,10,32,32,32,32,32,32,32,32,32,32,32,32,118,97,114,32,102,32,61,32,75,98,59,10,32,32,32,32,32,32,32,32,32,32,32,32,118,97,114,32,104,32,61,32,40,103,41,32,61,62,32,122,91,103,32,62,62,32,49,93,59,10,32,32,32,32,32,32,32,32,32,32,125,32,101,108,115,101,32,52,32,61,61,61,32,98,32,38,38,32,40,100,32,61,32,76,98,44,32,101,32,61,32,77,98,44,32,102,32,61,32,78,98,44,32,104,32,61,32,40,103,41,32,61,62,32,66,91,103,32,62,62,32,50,93,41,59,10,32,32,32,32,32,32,32,32,32,32,79,40,97,44,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,110,97,109,101,58,32,99,44,10,32,32,32,32,32,32,32,32,32,32,32,32,102,114,111,109,87,105,114,101,84,121,112,101,58,32,40,103,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,102,111,114,32,40,118,97,114,32,108,32,61,32,66,91,103,32,62,62,32,50,93,44,32,109,44,32,110,32,61,32,103,32,43,32,52,44,32,112,32,61,32,48,59,32,112,32,60,61,32,108,59,32,43,43,112,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,118,97,114,32,116,32,61,32,103,32,43,32,52,32,43,32,112,32,42,32,98,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,105,102,32,40,112,32,61,61,32,108,32,124,124,32,48,32,61,61,32,104,40,116,41,41,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,110,32,61,32,100,40,110,44,32,116,32,45,32,110,41,44,32,118,111,105,100,32,48,32,61,61,61,32,109,32,63,32,109,32,61,32,110,32,58,32,40,109,32,43,61,32,83,116,114,105,110,103,46,102,114,111,109,67,104,97,114,67,111,100,101,40,48,41,44,32,109,32,43,61,32,110,41,44,32,110,32,61,32,116,32,43,32,98,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,85,40,103,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,109,59,10,32,32,32,32,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,32,32,32,32,116,111,87,105,114,101,84,121,112,101,58,32,40,103,44,32,108,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,105,102,32,40,34,115,116,114,105,110,103,34,32,33,61,32,116,121,112,101,111,102,32,108,41,32,116,104,114,111,119,32,110,101,119,32,82,40,96,67,97,110,110,111,116,32,112,97,115,115,32,110,111,110,45,115,116,114,105,110,103,32,116,111,32,67,43,43,32,115,116,114,105,110,103,32,116,121,112,101,32,36,123,99,125,96,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,118,97,114,32,109,32,61,32,102,40,108,41,44,32,110,32,61,32,102,99,40,52,32,43,32,109,32,43,32,98,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,66,91,110,32,62,62,32,50,93,32,61,32,109,32,47,32,98,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,101,40,108,44,32,110,32,43,32,52,44,32,109,32,43,32,98,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,110,117,108,108,32,33,61,61,32,103,32,38,38,32,103,46,112,117,115,104,40,85,44,32,110,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,110,59,10,32,32,32,32,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,32,32,32,32,87,97,58,32,56,44,10,32,32,32,32,32,32,32,32,32,32,32,32,114,101,97,100,86,97,108,117,101,70,114,111,109,80,111,105,110,116,101,114,58,32,76,44,10,32,32,32,32,32,32,32,32,32,32,32,32,88,97,40,103,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,85,40,103,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,32,32,125,41,59,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,115,58,32,40,97,44,32,98,44,32,99,44,32,100,44,32,101,44,32,102,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,74,97,91,97,93,32,61,32,123,32,110,97,109,101,58,32,81,40,98,41,44,32,105,98,58,32,84,40,99,44,32,100,41,44,32,89,97,58,32,84,40,101,44,32,102,41,44,32,108,98,58,32,91,93,32,125,59,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,109,58,32,40,97,44,32,98,44,32,99,44,32,100,44,32,101,44,32,102,44,32,104,44,32,103,44,32,108,44,32,109,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,74,97,91,97,93,46,108,98,46,112,117,115,104,40,123,32,112,98,58,32,81,40,98,41,44,32,117,98,58,32,99,44,32,115,98,58,32,84,40,100,44,32,101,41,44,32,116,98,58,32,102,44,32,65,98,58,32,104,44,32,122,98,58,32,84,40,103,44,32,108,41,44,32,66,98,58,32,109,32,125,41,59,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,103,97,58,32,40,97,44,32,98,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,98,32,61,32,81,40,98,41,59,10,32,32,32,32,32,32,32,32,32,32,79,40,97,44,32,123,32,68,98,58,32,116,114,117,101,44,32,110,97,109,101,58,32,98,44,32,87,97,58,32,48,44,32,102,114,111,109,87,105,114,101,84,121,112,101,58,32,40,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,125,44,32,116,111,87,105,114,101,84,121,112,101,58,32,40,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,125,32,125,41,59,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,79,58,32,40,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,68,97,32,61,32,102,97,108,115,101,59,10,32,32,32,32,32,32,32,32,32,32,79,98,32,61,32,48,59,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,73,58,32,40,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,116,104,114,111,119,32,73,110,102,105,110,105,116,121,59,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,70,58,32,40,97,44,32,98,44,32,99,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,97,32,61,32,65,98,40,97,41,59,10,32,32,32,32,32,32,32,32,32,32,98,32,61,32,68,98,40,98,44,32,34,101,109,118,97,108,58,58,97,115,34,41,59,10,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,80,98,40,98,44,32,99,44,32,97,41,59,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,106,97,58,32,40,97,44,32,98,44,32,99,44,32,100,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,97,32,61,32,81,98,91,97,93,59,10,32,32,32,32,32,32,32,32,32,32,98,32,61,32,65,98,40,98,41,59,10,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,97,40,110,117,108,108,44,32,98,44,32,99,44,32,100,41,59,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,77,58,32,122,98,44,10,32,32,32,32,32,32,32,32,105,97,58,32,40,97,44,32,98,44,32,99,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,118,97,114,32,100,32,61,32,83,98,40,97,44,32,98,41,44,32,101,32,61,32,100,46,115,104,105,102,116,40,41,59,10,32,32,32,32,32,32,32,32,32,32,97,45,45,59,10,32,32,32,32,32,32,32,32,32,32,118,97,114,32,102,32,61,32,65,114,114,97,121,40,97,41,59,10,32,32,32,32,32,32,32,32,32,32,98,32,61,32,96,109,101,116,104,111,100,67,97,108,108,101,114,60,40,36,123,100,46,109,97,112,40,40,104,41,32,61,62,32,104,46,110,97,109,101,41,46,106,111,105,110,40,34,44,32,34,41,125,41,32,61,62,32,36,123,101,46,110,97,109,101,125,62,96,59,10,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,82,98,40,10,32,32,32,32,32,32,32,32,32,32,32,32,97,98,40,98,44,32,40,104,44,32,103,44,32,108,44,32,109,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,102,111,114,32,40,118,97,114,32,110,32,61,32,48,44,32,112,32,61,32,48,59,32,112,32,60,32,97,59,32,43,43,112,41,32,102,91,112,93,32,61,32,100,91,112,93,46,114,101,97,100,86,97,108,117,101,70,114,111,109,80,111,105,110,116,101,114,40,109,32,43,32,110,41,44,32,110,32,43,61,32,100,91,112,93,46,87,97,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,104,32,61,32,49,32,61,61,61,32,99,32,63,32,84,98,40,103,44,32,102,41,32,58,32,103,46,97,112,112,108,121,40,104,44,32,102,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,80,98,40,101,44,32,108,44,32,104,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,125,41,10,32,32,32,32,32,32,32,32,32,32,41,59,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,107,97,58,32,40,97,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,57,32,60,32,97,32,38,38,32,40,86,91,97,32,43,32,49,93,32,43,61,32,49,41,59,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,104,97,58,32,40,97,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,118,97,114,32,98,32,61,32,65,98,40,97,41,59,10,32,32,32,32,32,32,32,32,32,32,75,97,40,98,41,59,10,32,32,32,32,32,32,32,32,32,32,122,98,40,97,41,59,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,114,58,32,40,97,44,32,98,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,97,32,61,32,68,98,40,97,44,32,34,95,101,109,118,97,108,95,116,97,107,101,95,118,97,108,117,101,34,41,59,10,32,32,32,32,32,32,32,32,32,32,97,32,61,32,97,46,114,101,97,100,86,97,108,117,101,70,114,111,109,80,111,105,110,116,101,114,40,98,41,59,10,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,106,98,40,97,41,59,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,75,58,32,40,97,44,32,98,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,85,98,91,97,93,32,38,38,32,40,99,108,101,97,114,84,105,109,101,111,117,116,40,85,98,91,97,93,46,105,100,41,44,32,100,101,108,101,116,101,32,85,98,91,97,93,41,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,33,98,41,32,114,101,116,117,114,110,32,48,59,10,32,32,32,32,32,32,32,32,32,32,118,97,114,32,99,32,61,32,115,101,116,84,105,109,101,111,117,116,40,40,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,100,101,108,101,116,101,32,85,98,91,97,93,59,10,32,32,32,32,32,32,32,32,32,32,32,32,88,98,40,40,41,32,61,62,32,103,99,40,97,44,32,112,101,114,102,111,114,109,97,110,99,101,46,110,111,119,40,41,41,41,59,10,32,32,32,32,32,32,32,32,32,32,125,44,32,98,41,59,10,32,32,32,32,32,32,32,32,32,32,85,98,91,97,93,32,61,32,123,32,105,100,58,32,99,44,32,69,98,58,32,98,32,125,59,10,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,48,59,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,76,58,32,40,97,44,32,98,44,32,99,44,32,100,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,118,97,114,32,101,32,61,32,40,47,42,32,64,95,95,80,85,82,69,95,95,32,42,47,32,110,101,119,32,68,97,116,101,40,41,41,46,103,101,116,70,117,108,108,89,101,97,114,40,41,44,32,102,32,61,32,110,101,119,32,68,97,116,101,40,101,44,32,48,44,32,49,41,46,103,101,116,84,105,109,101,122,111,110,101,79,102,102,115,101,116,40,41,59,10,32,32,32,32,32,32,32,32,32,32,101,32,61,32,110,101,119,32,68,97,116,101,40,101,44,32,54,44,32,49,41,46,103,101,116,84,105,109,101,122,111,110,101,79,102,102,115,101,116,40,41,59,10,32,32,32,32,32,32,32,32,32,32,66,91,97,32,62,62,32,50,93,32,61,32,54,48,32,42,32,77,97,116,104,46,109,97,120,40,102,44,32,101,41,59,10,32,32,32,32,32,32,32,32,32,32,65,91,98,32,62,62,32,50,93,32,61,32,78,117,109,98,101,114,40,102,32,33,61,32,101,41,59,10,32,32,32,32,32,32,32,32,32,32,98,32,61,32,40,104,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,118,97,114,32,103,32,61,32,77,97,116,104,46,97,98,115,40,104,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,96,85,84,67,36,123,48,32,60,61,32,104,32,63,32,34,45,34,32,58,32,34,43,34,125,36,123,83,116,114,105,110,103,40,77,97,116,104,46,102,108,111,111,114,40,103,32,47,32,54,48,41,41,46,112,97,100,83,116,97,114,116,40,50,44,32,34,48,34,41,125,36,123,83,116,114,105,110,103,40,103,32,37,32,54,48,41,46,112,97,100,83,116,97,114,116,40,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,50,44,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,34,48,34,10,32,32,32,32,32,32,32,32,32,32,32,32,41,125,96,59,10,32,32,32,32,32,32,32,32,32,32,125,59,10,32,32,32,32,32,32,32,32,32,32,97,32,61,32,98,40,102,41,59,10,32,32,32,32,32,32,32,32,32,32,98,32,61,32,98,40,101,41,59,10,32,32,32,32,32,32,32,32,32,32,101,32,60,32,102,32,63,32,40,75,40,97,44,32,99,44,32,49,55,41,44,32,75,40,98,44,32,100,44,32,49,55,41,41,32,58,32,40,75,40,97,44,32,100,44,32,49,55,41,44,32,75,40,98,44,32,99,44,32,49,55,41,41,59,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,99,97,58,32,40,41,32,61,62,32,112,101,114,102,111,114,109,97,110,99,101,46,110,111,119,40,41,44,10,32,32,32,32,32,32,32,32,78,58,32,40,97,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,118,97,114,32,98,32,61,32,120,46,108,101,110,103,116,104,59,10,32,32,32,32,32,32,32,32,32,32,97,32,62,62,62,61,32,48,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,50,49,52,55,52,56,51,54,52,56,32,60,32,97,41,32,114,101,116,117,114,110,32,102,97,108,115,101,59,10,32,32,32,32,32,32,32,32,32,32,102,111,114,32,40,118,97,114,32,99,32,61,32,49,59,32,52,32,62,61,32,99,59,32,99,32,42,61,32,50,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,118,97,114,32,100,32,61,32,98,32,42,32,40,49,32,43,32,48,46,50,32,47,32,99,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,100,32,61,32,77,97,116,104,46,109,105,110,40,100,44,32,97,32,43,32,49,48,48,54,54,51,50,57,54,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,97,58,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,100,32,61,32,40,77,97,116,104,46,109,105,110,40,50,49,52,55,52,56,51,54,52,56,44,32,54,53,53,51,54,32,42,32,77,97,116,104,46,99,101,105,108,40,77,97,116,104,46,109,97,120,40,97,44,32,100,41,32,47,32,54,53,53,51,54,41,41,32,45,32,108,97,46,98,117,102,102,101,114,46,98,121,116,101,76,101,110,103,116,104,32,43,32,54,53,53,51,53,41,32,47,32,54,53,53,51,54,32,124,32,48,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,116,114,121,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,108,97,46,103,114,111,119,40,100,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,113,97,40,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,118,97,114,32,101,32,61,32,49,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,98,114,101,97,107,32,97,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,125,32,99,97,116,99,104,32,40,102,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,101,32,61,32,118,111,105,100,32,48,59,10,32,32,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,32,32,32,32,105,102,32,40,101,41,32,114,101,116,117,114,110,32,116,114,117,101,59,10,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,102,97,108,115,101,59,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,90,58,32,40,97,44,32,98,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,118,97,114,32,99,32,61,32,48,59,10,32,32,32,32,32,32,32,32,32,32,36,98,40,41,46,102,111,114,69,97,99,104,40,40,100,44,32,101,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,118,97,114,32,102,32,61,32,98,32,43,32,99,59,10,32,32,32,32,32,32,32,32,32,32,32,32,101,32,61,32,66,91,97,32,43,32,52,32,42,32,101,32,62,62,32,50,93,32,61,32,102,59,10,32,32,32,32,32,32,32,32,32,32,32,32,102,111,114,32,40,102,32,61,32,48,59,32,102,32,60,32,100,46,108,101,110,103,116,104,59,32,43,43,102,41,32,117,91,101,43,43,93,32,61,32,100,46,99,104,97,114,67,111,100,101,65,116,40,102,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,117,91,101,93,32,61,32,48,59,10,32,32,32,32,32,32,32,32,32,32,32,32,99,32,43,61,32,100,46,108,101,110,103,116,104,32,43,32,49,59,10,32,32,32,32,32,32,32,32,32,32,125,41,59,10,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,48,59,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,95,58,32,40,97,44,32,98,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,118,97,114,32,99,32,61,32,36,98,40,41,59,10,32,32,32,32,32,32,32,32,32,32,66,91,97,32,62,62,32,50,93,32,61,32,99,46,108,101,110,103,116,104,59,10,32,32,32,32,32,32,32,32,32,32,118,97,114,32,100,32,61,32,48,59,10,32,32,32,32,32,32,32,32,32,32,99,46,102,111,114,69,97,99,104,40,40,101,41,32,61,62,32,100,32,43,61,32,101,46,108,101,110,103,116,104,32,43,32,49,41,59,10,32,32,32,32,32,32,32,32,32,32,66,91,98,32,62,62,32,50,93,32,61,32,100,59,10,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,48,59,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,87,58,32,40,41,32,61,62,32,53,50,44,10,32,32,32,32,32,32,32,32,85,58,32,40,41,32,61,62,32,53,50,44,10,32,32,32,32,32,32,32,32,66,58,32,40,97,44,32,98,44,32,99,44,32,100,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,102,111,114,32,40,118,97,114,32,101,32,61,32,48,44,32,102,32,61,32,48,59,32,102,32,60,32,99,59,32,102,43,43,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,118,97,114,32,104,32,61,32,66,91,98,32,62,62,32,50,93,44,32,103,32,61,32,66,91,98,32,43,32,52,32,62,62,32,50,93,59,10,32,32,32,32,32,32,32,32,32,32,32,32,98,32,43,61,32,56,59,10,32,32,32,32,32,32,32,32,32,32,32,32,102,111,114,32,40,118,97,114,32,108,32,61,32,48,59,32,108,32,60,32,103,59,32,108,43,43,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,118,97,114,32,109,32,61,32,97,44,32,110,32,61,32,120,91,104,32,43,32,108,93,44,32,112,32,61,32,97,99,91,109,93,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,48,32,61,61,61,32,110,32,124,124,32,49,48,32,61,61,61,32,110,32,63,32,40,40,49,32,61,61,61,32,109,32,63,32,106,97,32,58,32,114,41,40,71,40,112,41,41,44,32,112,46,108,101,110,103,116,104,32,61,32,48,41,32,58,32,112,46,112,117,115,104,40,110,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,32,32,32,32,101,32,43,61,32,103,59,10,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,32,32,66,91,100,32,62,62,32,50,93,32,61,32,101,59,10,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,48,59,10,32,32,32,32,32,32,32,32,125,44,10,32,32,32,32,32,32,32,32,36,58,32,104,99,44,10,32,32,32,32,32,32,32,32,97,97,58,32,105,99,44,10,32,32,32,32,32,32,32,32,74,58,32,106,99,44,10,32,32,32,32,32,32,32,32,106,58,32,107,99,44,10,32,32,32,32,32,32,32,32,105,58,32,108,99,44,10,32,32,32,32,32,32,32,32,103,58,32,109,99,44,10,32,32,32,32,32,32,32,32,98,97,58,32,110,99,44,10,32,32,32,32,32,32,32,32,122,58,32,111,99,44,10,32,32,32,32,32,32,32,32,67,58,32,112,99,44,10,32,32,32,32,32,32,32,32,68,58,32,113,99,44,10,32,32,32,32,32,32,32,32,97,58,32,114,99,44,10,32,32,32,32,32,32,32,32,98,58,32,115,99,44,10,32,32,32,32,32,32,32,32,102,58,32,116,99,44,10,32,32,32,32,32,32,32,32,111,58,32,117,99,44,10,32,32,32,32,32,32,32,32,113,58,32,118,99,44,10,32,32,32,32,32,32,32,32,71,58,32,119,99,44,10,32,32,32,32,32,32,32,32,89,58,32,87,98,44,10,32,32,32,32,32,32,32,32,80,58,32,40,97,44,32,98,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,99,99,40,120,46,115,117,98,97,114,114,97,121,40,97,44,32,97,32,43,32,98,41,41,59,10,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,48,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,44,32,87,59,10,32,32,32,32,32,32,40,97,115,121,110,99,32,102,117,110,99,116,105,111,110,40,41,32,123,10,32,32,32,32,32,32,32,32,102,117,110,99,116,105,111,110,32,97,40,100,41,32,123,10,32,32,32,32,32,32,32,32,32,32,87,32,61,32,100,46,101,120,112,111,114,116,115,59,10,32,32,32,32,32,32,32,32,32,32,108,97,32,61,32,87,46,109,97,59,10,32,32,32,32,32,32,32,32,32,32,113,97,40,41,59,10,32,32,32,32,32,32,32,32,32,32,83,32,61,32,87,46,114,97,59,10,32,32,32,32,32,32,32,32,32,32,115,97,46,117,110,115,104,105,102,116,40,87,46,110,97,41,59,10,32,32,32,32,32,32,32,32,32,32,67,45,45,59,10,32,32,32,32,32,32,32,32,32,32,107,46,109,111,110,105,116,111,114,82,117,110,68,101,112,101,110,100,101,110,99,105,101,115,63,46,40,67,41,59,10,32,32,32,32,32,32,32,32,32,32,48,32,61,61,32,67,32,38,38,32,68,32,38,38,32,40,100,32,61,32,68,44,32,68,32,61,32,110,117,108,108,44,32,100,40,41,41,59,10,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,87,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,67,43,43,59,10,32,32,32,32,32,32,32,32,107,46,109,111,110,105,116,111,114,82,117,110,68,101,112,101,110,100,101,110,99,105,101,115,63,46,40,67,41,59,10,32,32,32,32,32,32,32,32,118,97,114,32,98,32,61,32,123,32,97,58,32,120,99,32,125,59,10,32,32,32,32,32,32,32,32,105,102,32,40,107,46,105,110,115,116,97,110,116,105,97,116,101,87,97,115,109,41,10,32,32,32,32,32,32,32,32,32,32,116,114,121,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,107,46,105,110,115,116,97,110,116,105,97,116,101,87,97,115,109,40,98,44,32,97,41,59,10,32,32,32,32,32,32,32,32,32,32,125,32,99,97,116,99,104,32,40,100,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,114,40,96,77,111,100,117,108,101,46,105,110,115,116,97,110,116,105,97,116,101,87,97,115,109,32,99,97,108,108,98,97,99,107,32,102,97,105,108,101,100,32,119,105,116,104,32,101,114,114,111,114,58,32,36,123,100,125,96,41,44,32,98,97,40,100,41,59,10,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,120,97,32,63,63,32,40,120,97,32,61,32,119,97,40,34,68,111,116,76,111,116,116,105,101,80,108,97,121,101,114,46,119,97,115,109,34,41,32,63,32,34,68,111,116,76,111,116,116,105,101,80,108,97,121,101,114,46,119,97,115,109,34,32,58,32,107,46,108,111,99,97,116,101,70,105,108,101,32,63,32,107,46,108,111,99,97,116,101,70,105,108,101,40,34,68,111,116,76,111,116,116,105,101,80,108,97,121,101,114,46,119,97,115,109,34,44,32,113,41,32,58,32,113,32,43,32,34,68,111,116,76,111,116,116,105,101,80,108,97,121,101,114,46,119,97,115,109,34,41,59,10,32,32,32,32,32,32,32,32,116,114,121,32,123,10,32,32,32,32,32,32,32,32,32,32,118,97,114,32,99,32,61,32,97,119,97,105,116,32,65,97,40,98,41,59,10,32,32,32,32,32,32,32,32,32,32,97,40,99,46,105,110,115,116,97,110,99,101,41,59,10,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,99,59,10,32,32,32,32,32,32,32,32,125,32,99,97,116,99,104,32,40,100,41,32,123,10,32,32,32,32,32,32,32,32,32,32,98,97,40,100,41,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,41,40,41,59,10,32,32,32,32,32,32,118,97,114,32,102,99,32,61,32,40,97,41,32,61,62,32,40,102,99,32,61,32,87,46,111,97,41,40,97,41,44,32,113,98,32,61,32,40,97,41,32,61,62,32,40,113,98,32,61,32,87,46,112,97,41,40,97,41,44,32,85,32,61,32,40,97,41,32,61,62,32,40,85,32,61,32,87,46,113,97,41,40,97,41,44,32,103,99,32,61,32,40,97,44,32,98,41,32,61,62,32,40,103,99,32,61,32,87,46,115,97,41,40,97,44,32,98,41,44,32,88,32,61,32,40,97,44,32,98,41,32,61,62,32,40,88,32,61,32,87,46,116,97,41,40,97,44,32,98,41,44,32,74,32,61,32,40,97,41,32,61,62,32,40,74,32,61,32,87,46,117,97,41,40,97,41,44,32,89,32,61,32,40,97,41,32,61,62,32,40,89,32,61,32,87,46,118,97,41,40,97,41,44,32,90,32,61,32,40,41,32,61,62,32,40,90,32,61,32,87,46,119,97,41,40,41,44,32,71,97,32,61,32,40,97,44,32,98,44,32,99,41,32,61,62,32,40,71,97,32,61,32,87,46,120,97,41,40,97,44,32,98,44,32,99,41,59,10,32,32,32,32,32,32,107,46,100,121,110,67,97,108,108,95,105,105,106,106,32,61,32,40,97,44,32,98,44,32,99,44,32,100,44,32,101,44,32,102,41,32,61,62,32,40,107,46,100,121,110,67,97,108,108,95,105,105,106,106,32,61,32,87,46,121,97,41,40,97,44,32,98,44,32,99,44,32,100,44,32,101,44,32,102,41,59,10,32,32,32,32,32,32,107,46,100,121,110,67,97,108,108,95,118,105,106,106,32,61,32,40,97,44,32,98,44,32,99,44,32,100,44,32,101,44,32,102,41,32,61,62,32,40,107,46,100,121,110,67,97,108,108,95,118,105,106,106,32,61,32,87,46,122,97,41,40,97,44,32,98,44,32,99,44,32,100,44,32,101,44,32,102,41,59,10,32,32,32,32,32,32,107,46,100,121,110,67,97,108,108,95,106,105,105,105,32,61,32,40,97,44,32,98,44,32,99,44,32,100,41,32,61,62,32,40,107,46,100,121,110,67,97,108,108,95,106,105,105,105,32,61,32,87,46,65,97,41,40,97,44,32,98,44,32,99,44,32,100,41,59,10,32,32,32,32,32,32,118,97,114,32,121,99,32,61,32,107,46,100,121,110,67,97,108,108,95,118,105,106,106,106,106,32,61,32,40,97,44,32,98,44,32,99,44,32,100,44,32,101,44,32,102,44,32,104,44,32,103,44,32,108,44,32,109,41,32,61,62,32,40,121,99,32,61,32,107,46,100,121,110,67,97,108,108,95,118,105,106,106,106,106,32,61,32,87,46,66,97,41,40,97,44,32,98,44,32,99,44,32,100,44,32,101,44,32,102,44,32,104,44,32,103,44,32,108,44,32,109,41,59,10,32,32,32,32,32,32,107,46,100,121,110,67,97,108,108,95,106,105,105,32,61,32,40,97,44,32,98,44,32,99,41,32,61,62,32,40,107,46,100,121,110,67,97,108,108,95,106,105,105,32,61,32,87,46,67,97,41,40,97,44,32,98,44,32,99,41,59,10,32,32,32,32,32,32,107,46,100,121,110,67,97,108,108,95,118,106,105,105,32,61,32,40,97,44,32,98,44,32,99,44,32,100,44,32,101,41,32,61,62,32,40,107,46,100,121,110,67,97,108,108,95,118,106,105,105,32,61,32,87,46,68,97,41,40,97,44,32,98,44,32,99,44,32,100,44,32,101,41,59,10,32,32,32,32,32,32,107,46,100,121,110,67,97,108,108,95,118,106,102,105,105,32,61,32,40,97,44,32,98,44,32,99,44,32,100,44,32,101,44,32,102,41,32,61,62,32,40,107,46,100,121,110,67,97,108,108,95,118,106,102,105,105,32,61,32,87,46,69,97,41,40,97,44,32,98,44,32,99,44,32,100,44,32,101,44,32,102,41,59,10,32,32,32,32,32,32,107,46,100,121,110,67,97,108,108,95,118,106,105,105,105,32,61,32,40,97,44,32,98,44,32,99,44,32,100,44,32,101,44,32,102,41,32,61,62,32,40,107,46,100,121,110,67,97,108,108,95,118,106,105,105,105,32,61,32,87,46,70,97,41,40,97,44,32,98,44,32,99,44,32,100,44,32,101,44,32,102,41,59,10,32,32,32,32,32,32,107,46,100,121,110,67,97,108,108,95,118,106,32,61,32,40,97,44,32,98,44,32,99,41,32,61,62,32,40,107,46,100,121,110,67,97,108,108,95,118,106,32,61,32,87,46,71,97,41,40,97,44,32,98,44,32,99,41,59,10,32,32,32,32,32,32,107,46,100,121,110,67,97,108,108,95,118,106,105,105,105,105,105,32,61,32,40,97,44,32,98,44,32,99,44,32,100,44,32,101,44,32,102,44,32,104,44,32,103,41,32,61,62,32,40,107,46,100,121,110,67,97,108,108,95,118,106,105,105,105,105,105,32,61,32,87,46,72,97,41,40,97,44,32,98,44,32,99,44,32,100,44,32,101,44,32,102,44,32,104,44,32,103,41,59,10,32,32,32,32,32,32,107,46,100,121,110,67,97,108,108,95,118,106,105,102,102,105,105,32,61,32,40,97,44,32,98,44,32,99,44,32,100,44,32,101,44,32,102,44,32,104,44,32,103,41,32,61,62,32,40,107,46,100,121,110,67,97,108,108,95,118,106,105,102,102,105,105,32,61,32,87,46,73,97,41,40,97,44,32,98,44,32,99,44,32,100,44,32,101,44,32,102,44,32,104,44,32,103,41,59,10,32,32,32,32,32,32,107,46,100,121,110,67,97,108,108,95,118,106,105,105,105,105,32,61,32,40,97,44,32,98,44,32,99,44,32,100,44,32,101,44,32,102,44,32,104,41,32,61,62,32,40,107,46,100,121,110,67,97,108,108,95,118,106,105,105,105,105,32,61,32,87,46,74,97,41,40,97,44,32,98,44,32,99,44,32,100,44,32,101,44,32,102,44,32,104,41,59,10,32,32,32,32,32,32,107,46,100,121,110,67,97,108,108,95,118,105,105,106,105,105,32,61,32,40,97,44,32,98,44,32,99,44,32,100,44,32,101,44,32,102,44,32,104,41,32,61,62,32,40,107,46,100,121,110,67,97,108,108,95,118,105,105,106,105,105,32,61,32,87,46,75,97,41,40,97,44,32,98,44,32,99,44,32,100,44,32,101,44,32,102,44,32,104,41,59,10,32,32,32,32,32,32,107,46,100,121,110,67,97,108,108,95,105,105,105,105,105,106,32,61,32,40,97,44,32,98,44,32,99,44,32,100,44,32,101,44,32,102,44,32,104,41,32,61,62,32,40,107,46,100,121,110,67,97,108,108,95,105,105,105,105,105,106,32,61,32,87,46,76,97,41,40,97,44,32,98,44,32,99,44,32,100,44,32,101,44,32,102,44,32,104,41,59,10,32,32,32,32,32,32,107,46,100,121,110,67,97,108,108,95,105,105,105,105,105,106,106,32,61,32,40,97,44,32,98,44,32,99,44,32,100,44,32,101,44,32,102,44,32,104,44,32,103,44,32,108,41,32,61,62,32,40,107,46,100,121,110,67,97,108,108,95,105,105,105,105,105,106,106,32,61,32,87,46,77,97,41,40,97,44,32,98,44,32,99,44,32,100,44,32,101,44,32,102,44,32,104,44,32,103,44,32,108,41,59,10,32,32,32,32,32,32,107,46,100,121,110,67,97,108,108,95,105,105,105,105,105,105,106,106,32,61,32,40,97,44,32,98,44,32,99,44,32,100,44,32,101,44,32,102,44,32,104,44,32,103,44,32,108,44,32,109,41,32,61,62,32,40,107,46,100,121,110,67,97,108,108,95,105,105,105,105,105,105,106,106,32,61,32,87,46,78,97,41,40,97,44,32,98,44,32,99,44,32,100,44,32,101,44,32,102,44,32,104,44,32,103,44,32,108,44,32,109,41,59,10,32,32,32,32,32,32,102,117,110,99,116,105,111,110,32,114,99,40,97,44,32,98,41,32,123,10,32,32,32,32,32,32,32,32,118,97,114,32,99,32,61,32,90,40,41,59,10,32,32,32,32,32,32,32,32,116,114,121,32,123,10,32,32,32,32,32,32,32,32,32,32,83,46,103,101,116,40,97,41,40,98,41,59,10,32,32,32,32,32,32,32,32,125,32,99,97,116,99,104,32,40,100,41,32,123,10,32,32,32,32,32,32,32,32,32,32,89,40,99,41,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,100,32,33,61,61,32,100,32,43,32,48,41,32,116,104,114,111,119,32,100,59,10,32,32,32,32,32,32,32,32,32,32,88,40,49,44,32,48,41,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,102,117,110,99,116,105,111,110,32,110,99,40,97,44,32,98,44,32,99,44,32,100,44,32,101,41,32,123,10,32,32,32,32,32,32,32,32,118,97,114,32,102,32,61,32,90,40,41,59,10,32,32,32,32,32,32,32,32,116,114,121,32,123,10,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,83,46,103,101,116,40,97,41,40,98,44,32,99,44,32,100,44,32,101,41,59,10,32,32,32,32,32,32,32,32,125,32,99,97,116,99,104,32,40,104,41,32,123,10,32,32,32,32,32,32,32,32,32,32,89,40,102,41,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,104,32,33,61,61,32,104,32,43,32,48,41,32,116,104,114,111,119,32,104,59,10,32,32,32,32,32,32,32,32,32,32,88,40,49,44,32,48,41,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,102,117,110,99,116,105,111,110,32,115,99,40,97,44,32,98,44,32,99,41,32,123,10,32,32,32,32,32,32,32,32,118,97,114,32,100,32,61,32,90,40,41,59,10,32,32,32,32,32,32,32,32,116,114,121,32,123,10,32,32,32,32,32,32,32,32,32,32,83,46,103,101,116,40,97,41,40,98,44,32,99,41,59,10,32,32,32,32,32,32,32,32,125,32,99,97,116,99,104,32,40,101,41,32,123,10,32,32,32,32,32,32,32,32,32,32,89,40,100,41,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,101,32,33,61,61,32,101,32,43,32,48,41,32,116,104,114,111,119,32,101,59,10,32,32,32,32,32,32,32,32,32,32,88,40,49,44,32,48,41,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,102,117,110,99,116,105,111,110,32,116,99,40,97,44,32,98,44,32,99,44,32,100,41,32,123,10,32,32,32,32,32,32,32,32,118,97,114,32,101,32,61,32,90,40,41,59,10,32,32,32,32,32,32,32,32,116,114,121,32,123,10,32,32,32,32,32,32,32,32,32,32,83,46,103,101,116,40,97,41,40,98,44,32,99,44,32,100,41,59,10,32,32,32,32,32,32,32,32,125,32,99,97,116,99,104,32,40,102,41,32,123,10,32,32,32,32,32,32,32,32,32,32,89,40,101,41,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,102,32,33,61,61,32,102,32,43,32,48,41,32,116,104,114,111,119,32,102,59,10,32,32,32,32,32,32,32,32,32,32,88,40,49,44,32,48,41,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,102,117,110,99,116,105,111,110,32,107,99,40,97,44,32,98,41,32,123,10,32,32,32,32,32,32,32,32,118,97,114,32,99,32,61,32,90,40,41,59,10,32,32,32,32,32,32,32,32,116,114,121,32,123,10,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,83,46,103,101,116,40,97,41,40,98,41,59,10,32,32,32,32,32,32,32,32,125,32,99,97,116,99,104,32,40,100,41,32,123,10,32,32,32,32,32,32,32,32,32,32,89,40,99,41,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,100,32,33,61,61,32,100,32,43,32,48,41,32,116,104,114,111,119,32,100,59,10,32,32,32,32,32,32,32,32,32,32,88,40,49,44,32,48,41,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,102,117,110,99,116,105,111,110,32,118,99,40,97,44,32,98,44,32,99,44,32,100,44,32,101,44,32,102,41,32,123,10,32,32,32,32,32,32,32,32,118,97,114,32,104,32,61,32,90,40,41,59,10,32,32,32,32,32,32,32,32,116,114,121,32,123,10,32,32,32,32,32,32,32,32,32,32,83,46,103,101,116,40,97,41,40,98,44,32,99,44,32,100,44,32,101,44,32,102,41,59,10,32,32,32,32,32,32,32,32,125,32,99,97,116,99,104,32,40,103,41,32,123,10,32,32,32,32,32,32,32,32,32,32,89,40,104,41,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,103,32,33,61,61,32,103,32,43,32,48,41,32,116,104,114,111,119,32,103,59,10,32,32,32,32,32,32,32,32,32,32,88,40,49,44,32,48,41,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,102,117,110,99,116,105,111,110,32,113,99,40,97,41,32,123,10,32,32,32,32,32,32,32,32,118,97,114,32,98,32,61,32,90,40,41,59,10,32,32,32,32,32,32,32,32,116,114,121,32,123,10,32,32,32,32,32,32,32,32,32,32,83,46,103,101,116,40,97,41,40,41,59,10,32,32,32,32,32,32,32,32,125,32,99,97,116,99,104,32,40,99,41,32,123,10,32,32,32,32,32,32,32,32,32,32,89,40,98,41,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,99,32,33,61,61,32,99,32,43,32,48,41,32,116,104,114,111,119,32,99,59,10,32,32,32,32,32,32,32,32,32,32,88,40,49,44,32,48,41,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,102,117,110,99,116,105,111,110,32,117,99,40,97,44,32,98,44,32,99,44,32,100,44,32,101,41,32,123,10,32,32,32,32,32,32,32,32,118,97,114,32,102,32,61,32,90,40,41,59,10,32,32,32,32,32,32,32,32,116,114,121,32,123,10,32,32,32,32,32,32,32,32,32,32,83,46,103,101,116,40,97,41,40,98,44,32,99,44,32,100,44,32,101,41,59,10,32,32,32,32,32,32,32,32,125,32,99,97,116,99,104,32,40,104,41,32,123,10,32,32,32,32,32,32,32,32,32,32,89,40,102,41,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,104,32,33,61,61,32,104,32,43,32,48,41,32,116,104,114,111,119,32,104,59,10,32,32,32,32,32,32,32,32,32,32,88,40,49,44,32,48,41,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,102,117,110,99,116,105,111,110,32,112,99,40,97,44,32,98,44,32,99,44,32,100,44,32,101,44,32,102,44,32,104,44,32,103,41,32,123,10,32,32,32,32,32,32,32,32,118,97,114,32,108,32,61,32,90,40,41,59,10,32,32,32,32,32,32,32,32,116,114,121,32,123,10,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,83,46,103,101,116,40,97,41,40,98,44,32,99,44,32,100,44,32,101,44,32,102,44,32,104,44,32,103,41,59,10,32,32,32,32,32,32,32,32,125,32,99,97,116,99,104,32,40,109,41,32,123,10,32,32,32,32,32,32,32,32,32,32,89,40,108,41,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,109,32,33,61,61,32,109,32,43,32,48,41,32,116,104,114,111,119,32,109,59,10,32,32,32,32,32,32,32,32,32,32,88,40,49,44,32,48,41,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,102,117,110,99,116,105,111,110,32,109,99,40,97,44,32,98,44,32,99,44,32,100,41,32,123,10,32,32,32,32,32,32,32,32,118,97,114,32,101,32,61,32,90,40,41,59,10,32,32,32,32,32,32,32,32,116,114,121,32,123,10,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,83,46,103,101,116,40,97,41,40,98,44,32,99,44,32,100,41,59,10,32,32,32,32,32,32,32,32,125,32,99,97,116,99,104,32,40,102,41,32,123,10,32,32,32,32,32,32,32,32,32,32,89,40,101,41,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,102,32,33,61,61,32,102,32,43,32,48,41,32,116,104,114,111,119,32,102,59,10,32,32,32,32,32,32,32,32,32,32,88,40,49,44,32,48,41,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,102,117,110,99,116,105,111,110,32,108,99,40,97,44,32,98,44,32,99,41,32,123,10,32,32,32,32,32,32,32,32,118,97,114,32,100,32,61,32,90,40,41,59,10,32,32,32,32,32,32,32,32,116,114,121,32,123,10,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,83,46,103,101,116,40,97,41,40,98,44,32,99,41,59,10,32,32,32,32,32,32,32,32,125,32,99,97,116,99,104,32,40,101,41,32,123,10,32,32,32,32,32,32,32,32,32,32,89,40,100,41,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,101,32,33,61,61,32,101,32,43,32,48,41,32,116,104,114,111,119,32,101,59,10,32,32,32,32,32,32,32,32,32,32,88,40,49,44,32,48,41,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,102,117,110,99,116,105,111,110,32,111,99,40,97,44,32,98,44,32,99,44,32,100,44,32,101,44,32,102,41,32,123,10,32,32,32,32,32,32,32,32,118,97,114,32,104,32,61,32,90,40,41,59,10,32,32,32,32,32,32,32,32,116,114,121,32,123,10,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,83,46,103,101,116,40,97,41,40,98,44,32,99,44,32,100,44,32,101,44,32,102,41,59,10,32,32,32,32,32,32,32,32,125,32,99,97,116,99,104,32,40,103,41,32,123,10,32,32,32,32,32,32,32,32,32,32,89,40,104,41,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,103,32,33,61,61,32,103,32,43,32,48,41,32,116,104,114,111,119,32,103,59,10,32,32,32,32,32,32,32,32,32,32,88,40,49,44,32,48,41,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,102,117,110,99,116,105,111,110,32,105,99,40,97,44,32,98,44,32,99,44,32,100,41,32,123,10,32,32,32,32,32,32,32,32,118,97,114,32,101,32,61,32,90,40,41,59,10,32,32,32,32,32,32,32,32,116,114,121,32,123,10,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,83,46,103,101,116,40,97,41,40,98,44,32,99,44,32,100,41,59,10,32,32,32,32,32,32,32,32,125,32,99,97,116,99,104,32,40,102,41,32,123,10,32,32,32,32,32,32,32,32,32,32,89,40,101,41,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,102,32,33,61,61,32,102,32,43,32,48,41,32,116,104,114,111,119,32,102,59,10,32,32,32,32,32,32,32,32,32,32,88,40,49,44,32,48,41,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,102,117,110,99,116,105,111,110,32,104,99,40,97,44,32,98,41,32,123,10,32,32,32,32,32,32,32,32,118,97,114,32,99,32,61,32,90,40,41,59,10,32,32,32,32,32,32,32,32,116,114,121,32,123,10,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,83,46,103,101,116,40,97,41,40,98,41,59,10,32,32,32,32,32,32,32,32,125,32,99,97,116,99,104,32,40,100,41,32,123,10,32,32,32,32,32,32,32,32,32,32,89,40,99,41,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,100,32,33,61,61,32,100,32,43,32,48,41,32,116,104,114,111,119,32,100,59,10,32,32,32,32,32,32,32,32,32,32,88,40,49,44,32,48,41,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,102,117,110,99,116,105,111,110,32,106,99,40,97,44,32,98,44,32,99,41,32,123,10,32,32,32,32,32,32,32,32,118,97,114,32,100,32,61,32,90,40,41,59,10,32,32,32,32,32,32,32,32,116,114,121,32,123,10,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,83,46,103,101,116,40,97,41,40,98,44,32,99,41,59,10,32,32,32,32,32,32,32,32,125,32,99,97,116,99,104,32,40,101,41,32,123,10,32,32,32,32,32,32,32,32,32,32,89,40,100,41,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,101,32,33,61,61,32,101,32,43,32,48,41,32,116,104,114,111,119,32,101,59,10,32,32,32,32,32,32,32,32,32,32,88,40,49,44,32,48,41,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,102,117,110,99,116,105,111,110,32,119,99,40,97,44,32,98,44,32,99,44,32,100,44,32,101,44,32,102,44,32,104,44,32,103,44,32,108,44,32,109,41,32,123,10,32,32,32,32,32,32,32,32,118,97,114,32,110,32,61,32,90,40,41,59,10,32,32,32,32,32,32,32,32,116,114,121,32,123,10,32,32,32,32,32,32,32,32,32,32,121,99,40,97,44,32,98,44,32,99,44,32,100,44,32,101,44,32,102,44,32,104,44,32,103,44,32,108,44,32,109,41,59,10,32,32,32,32,32,32,32,32,125,32,99,97,116,99,104,32,40,112,41,32,123,10,32,32,32,32,32,32,32,32,32,32,89,40,110,41,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,112,32,33,61,61,32,112,32,43,32,48,41,32,116,104,114,111,119,32,112,59,10,32,32,32,32,32,32,32,32,32,32,88,40,49,44,32,48,41,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,118,97,114,32,122,99,59,10,32,32,32,32,32,32,68,32,61,32,102,117,110,99,116,105,111,110,32,65,99,40,41,32,123,10,32,32,32,32,32,32,32,32,122,99,32,124,124,32,66,99,40,41,59,10,32,32,32,32,32,32,32,32,122,99,32,124,124,32,40,68,32,61,32,65,99,41,59,10,32,32,32,32,32,32,125,59,10,32,32,32,32,32,32,102,117,110,99,116,105,111,110,32,66,99,40,41,32,123,10,32,32,32,32,32,32,32,32,102,117,110,99,116,105,111,110,32,97,40,41,32,123,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,33,122,99,32,38,38,32,40,122,99,32,61,32,116,114,117,101,44,32,107,46,99,97,108,108,101,100,82,117,110,32,61,32,116,114,117,101,44,32,33,109,97,41,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,67,97,40,115,97,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,97,97,40,107,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,107,46,111,110,82,117,110,116,105,109,101,73,110,105,116,105,97,108,105,122,101,100,63,46,40,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,105,102,32,40,107,46,112,111,115,116,82,117,110,41,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,102,111,114,32,40,34,102,117,110,99,116,105,111,110,34,32,61,61,32,116,121,112,101,111,102,32,107,46,112,111,115,116,82,117,110,32,38,38,32,40,107,46,112,111,115,116,82,117,110,32,61,32,91,107,46,112,111,115,116,82,117,110,93,41,59,32,107,46,112,111,115,116,82,117,110,46,108,101,110,103,116,104,59,32,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,118,97,114,32,98,32,61,32,107,46,112,111,115,116,82,117,110,46,115,104,105,102,116,40,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,116,97,46,117,110,115,104,105,102,116,40,98,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,32,32,32,32,67,97,40,116,97,41,59,10,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,105,102,32,40,33,40,48,32,60,32,67,41,41,32,123,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,107,46,112,114,101,82,117,110,41,32,102,111,114,32,40,34,102,117,110,99,116,105,111,110,34,32,61,61,32,116,121,112,101,111,102,32,107,46,112,114,101,82,117,110,32,38,38,32,40,107,46,112,114,101,82,117,110,32,61,32,91,107,46,112,114,101,82,117,110,93,41,59,32,107,46,112,114,101,82,117,110,46,108,101,110,103,116,104,59,32,41,32,117,97,40,41,59,10,32,32,32,32,32,32,32,32,32,32,67,97,40,114,97,41,59,10,32,32,32,32,32,32,32,32,32,32,48,32,60,32,67,32,124,124,32,40,107,46,115,101,116,83,116,97,116,117,115,32,63,32,40,107,46,115,101,116,83,116,97,116,117,115,40,34,82,117,110,110,105,110,103,46,46,46,34,41,44,32,115,101,116,84,105,109,101,111,117,116,40,40,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,115,101,116,84,105,109,101,111,117,116,40,40,41,32,61,62,32,107,46,115,101,116,83,116,97,116,117,115,40,34,34,41,44,32,49,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,97,40,41,59,10,32,32,32,32,32,32,32,32,32,32,125,44,32,49,41,41,32,58,32,97,40,41,41,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,105,102,32,40,107,46,112,114,101,73,110,105,116,41,10,32,32,32,32,32,32,32,32,102,111,114,32,40,34,102,117,110,99,116,105,111,110,34,32,61,61,32,116,121,112,101,111,102,32,107,46,112,114,101,73,110,105,116,32,38,38,32,40,107,46,112,114,101,73,110,105,116,32,61,32,91,107,46,112,114,101,73,110,105,116,93,41,59,32,48,32,60,32,107,46,112,114,101,73,110,105,116,46,108,101,110,103,116,104,59,32,41,32,107,46,112,114,101,73,110,105,116,46,112,111,112,40,41,40,41,59,10,32,32,32,32,32,32,66,99,40,41,59,10,32,32,32,32,32,32,109,111,100,117,108,101,82,116,110,32,61,32,99,97,59,10,32,32,32,32,32,32,114,101,116,117,114,110,32,109,111,100,117,108,101,82,116,110,59,10,32,32,32,32,125,59,10,32,32,125,41,40,41,59,10,32,32,118,97,114,32,100,111,116,108,111,116,116,105,101,95,112,108,97,121,101,114,95,100,101,102,97,117,108,116,32,61,32,99,114,101,97,116,101,68,111,116,76,111,116,116,105,101,80,108,97,121,101,114,77,111,100,117,108,101,59,10,10,32,32,47,47,32,115,114,99,47,99,111,114,101,47,100,111,116,108,111,116,116,105,101,45,119,97,115,109,45,108,111,97,100,101,114,46,116,115,10,32,32,118,97,114,32,68,111,116,76,111,116,116,105,101,87,97,115,109,76,111,97,100,101,114,32,61,32,99,108,97,115,115,32,123,10,32,32,32,32,99,111,110,115,116,114,117,99,116,111,114,40,41,32,123,10,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,69,114,114,111,114,40,34,82,101,110,100,101,114,101,114,76,111,97,100,101,114,32,105,115,32,97,32,115,116,97,116,105,99,32,99,108,97,115,115,32,97,110,100,32,99,97,110,110,111,116,32,98,101,32,105,110,115,116,97,110,116,105,97,116,101,100,46,34,41,59,10,32,32,32,32,125,10,32,32,32,32,115,116,97,116,105,99,32,97,115,121,110,99,32,95,116,114,121,76,111,97,100,40,117,114,108,41,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,109,111,100,117,108,101,32,61,32,97,119,97,105,116,32,100,111,116,108,111,116,116,105,101,95,112,108,97,121,101,114,95,100,101,102,97,117,108,116,40,123,32,108,111,99,97,116,101,70,105,108,101,58,32,40,41,32,61,62,32,117,114,108,32,125,41,59,10,32,32,32,32,32,32,114,101,116,117,114,110,32,109,111,100,117,108,101,59,10,32,32,32,32,125,10,32,32,32,32,47,42,42,10,32,32,32,32,32,42,32,84,114,105,101,115,32,116,111,32,108,111,97,100,32,116,104,101,32,87,65,83,77,32,109,111,100,117,108,101,32,102,114,111,109,32,116,104,101,32,112,114,105,109,97,114,121,32,85,82,76,44,32,102,97,108,108,105,110,103,32,98,97,99,107,32,116,111,32,97,32,98,97,99,107,117,112,32,85,82,76,32,105,102,32,110,101,99,101,115,115,97,114,121,46,10,32,32,32,32,32,42,32,84,104,114,111,119,115,32,97,110,32,101,114,114,111,114,32,105,102,32,98,111,116,104,32,85,82,76,115,32,102,97,105,108,32,116,111,32,108,111,97,100,32,116,104,101,32,109,111,100,117,108,101,46,10,32,32,32,32,32,42,32,64,114,101,116,117,114,110,115,32,80,114,111,109,105,115,101,60,77,111,100,117,108,101,62,32,45,32,65,32,112,114,111,109,105,115,101,32,116,104,97,116,32,114,101,115,111,108,118,101,115,32,116,111,32,116,104,101,32,108,111,97,100,101,100,32,109,111,100,117,108,101,46,10,32,32,32,32,32,42,47,10,32,32,32,32,115,116,97,116,105,99,32,97,115,121,110,99,32,95,108,111,97,100,87,105,116,104,66,97,99,107,117,112,40,41,32,123,10,32,32,32,32,32,32,105,102,32,40,33,116,104,105,115,46,95,77,111,100,117,108,101,80,114,111,109,105,115,101,41,32,123,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,77,111,100,117,108,101,80,114,111,109,105,115,101,32,61,32,116,104,105,115,46,95,116,114,121,76,111,97,100,40,116,104,105,115,46,95,119,97,115,109,85,82,76,41,46,99,97,116,99,104,40,97,115,121,110,99,32,40,105,110,105,116,105,97,108,69,114,114,111,114,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,99,111,110,115,116,32,98,97,99,107,117,112,85,114,108,32,61,32,96,104,116,116,112,115,58,47,47,117,110,112,107,103,46,99,111,109,47,36,123,80,65,67,75,65,71,69,95,78,65,77,69,125,64,36,123,80,65,67,75,65,71,69,95,86,69,82,83,73,79,78,125,47,100,105,115,116,47,100,111,116,108,111,116,116,105,101,45,112,108,97,121,101,114,46,119,97,115,109,96,59,10,32,32,32,32,32,32,32,32,32,32,99,111,110,115,111,108,101,46,119,97,114,110,40,96,80,114,105,109,97,114,121,32,87,65,83,77,32,108,111,97,100,32,102,97,105,108,101,100,32,102,114,111,109,32,36,123,116,104,105,115,46,95,119,97,115,109,85,82,76,125,46,32,69,114,114,111,114,58,32,36,123,105,110,105,116,105,97,108,69,114,114,111,114,46,109,101,115,115,97,103,101,125,96,41,59,10,32,32,32,32,32,32,32,32,32,32,99,111,110,115,111,108,101,46,119,97,114,110,40,96,65,116,116,101,109,112,116,105,110,103,32,116,111,32,108,111,97,100,32,87,65,83,77,32,102,114,111,109,32,98,97,99,107,117,112,32,85,82,76,58,32,36,123,98,97,99,107,117,112,85,114,108,125,96,41,59,10,32,32,32,32,32,32,32,32,32,32,116,114,121,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,97,119,97,105,116,32,116,104,105,115,46,95,116,114,121,76,111,97,100,40,98,97,99,107,117,112,85,114,108,41,59,10,32,32,32,32,32,32,32,32,32,32,125,32,99,97,116,99,104,32,40,98,97,99,107,117,112,69,114,114,111,114,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,99,111,110,115,111,108,101,46,101,114,114,111,114,40,96,80,114,105,109,97,114,121,32,87,65,83,77,32,85,82,76,32,102,97,105,108,101,100,58,32,36,123,105,110,105,116,105,97,108,69,114,114,111,114,46,109,101,115,115,97,103,101,125,96,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,99,111,110,115,111,108,101,46,101,114,114,111,114,40,96,66,97,99,107,117,112,32,87,65,83,77,32,85,82,76,32,102,97,105,108,101,100,58,32,36,123,98,97,99,107,117,112,69,114,114,111,114,46,109,101,115,115,97,103,101,125,96,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,69,114,114,111,114,40,34,87,65,83,77,32,108,111,97,100,105,110,103,32,102,97,105,108,101,100,32,102,114,111,109,32,97,108,108,32,115,111,117,114,99,101,115,46,34,41,59,10,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,125,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,95,77,111,100,117,108,101,80,114,111,109,105,115,101,59,10,32,32,32,32,125,10,32,32,32,32,47,42,42,10,32,32,32,32,32,42,32,80,117,98,108,105,99,32,109,101,116,104,111,100,32,116,111,32,108,111,97,100,32,116,104,101,32,87,101,98,65,115,115,101,109,98,108,121,32,109,111,100,117,108,101,46,10,32,32,32,32,32,42,32,85,116,105,108,105,122,101,115,32,97,32,112,114,105,109,97,114,121,32,97,110,100,32,98,97,99,107,117,112,32,85,82,76,32,102,111,114,32,114,111,98,117,115,116,110,101,115,115,46,10,32,32,32,32,32,42,32,64,114,101,116,117,114,110,115,32,80,114,111,109,105,115,101,60,77,111,100,117,108,101,62,32,45,32,65,32,112,114,111,109,105,115,101,32,116,104,97,116,32,114,101,115,111,108,118,101,115,32,116,111,32,116,104,101,32,108,111,97,100,101,100,32,109,111,100,117,108,101,46,10,32,32,32,32,32,42,47,10,32,32,32,32,115,116,97,116,105,99,32,97,115,121,110,99,32,108,111,97,100,40,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,95,108,111,97,100,87,105,116,104,66,97,99,107,117,112,40,41,59,10,32,32,32,32,125,10,32,32,32,32,47,42,42,10,32,32,32,32,32,42,32,83,101,116,115,32,97,32,110,101,119,32,85,82,76,32,102,111,114,32,116,104,101,32,87,65,83,77,32,102,105,108,101,32,97,110,100,32,105,110,118,97,108,105,100,97,116,101,115,32,116,104,101,32,99,117,114,114,101,110,116,32,109,111,100,117,108,101,32,112,114,111,109,105,115,101,46,10,32,32,32,32,32,42,10,32,32,32,32,32,42,32,64,112,97,114,97,109,32,115,116,114,105,110,103,32,45,32,32,84,104,101,32,110,101,119,32,85,82,76,32,102,111,114,32,116,104,101,32,87,65,83,77,32,102,105,108,101,46,10,32,32,32,32,32,42,47,10,32,32,32,32,115,116,97,116,105,99,32,115,101,116,87,97,115,109,85,114,108,40,117,114,108,41,32,123,10,32,32,32,32,32,32,105,102,32,40,117,114,108,32,61,61,61,32,116,104,105,115,46,95,119,97,115,109,85,82,76,41,32,114,101,116,117,114,110,59,10,32,32,32,32,32,32,116,104,105,115,46,95,119,97,115,109,85,82,76,32,61,32,117,114,108,59,10,32,32,32,32,32,32,116,104,105,115,46,95,77,111,100,117,108,101,80,114,111,109,105,115,101,32,61,32,110,117,108,108,59,10,32,32,32,32,125,10,32,32,125,59,10,32,32,47,47,32,101,115,108,105,110,116,45,100,105,115,97,98,108,101,45,110,101,120,116,45,108,105,110,101,32,64,116,121,112,101,115,99,114,105,112,116,45,101,115,108,105,110,116,47,110,97,109,105,110,103,45,99,111,110,118,101,110,116,105,111,110,10,32,32,95,95,112,117,98,108,105,99,70,105,101,108,100,40,68,111,116,76,111,116,116,105,101,87,97,115,109,76,111,97,100,101,114,44,32,34,95,77,111,100,117,108,101,80,114,111,109,105,115,101,34,44,32,110,117,108,108,41,59,10,32,32,47,47,32,85,82,76,32,102,111,114,32,116,104,101,32,87,65,83,77,32,102,105,108,101,44,32,99,111,110,115,116,114,117,99,116,101,100,32,117,115,105,110,103,32,112,97,99,107,97,103,101,32,105,110,102,111,114,109,97,116,105,111,110,10,32,32,95,95,112,117,98,108,105,99,70,105,101,108,100,40,68,111,116,76,111,116,116,105,101,87,97,115,109,76,111,97,100,101,114,44,32,34,95,119,97,115,109,85,82,76,34,44,32,96,104,116,116,112,115,58,47,47,99,100,110,46,106,115,100,101,108,105,118,114,46,110,101,116,47,110,112,109,47,36,123,80,65,67,75,65,71,69,95,78,65,77,69,125,64,36,123,80,65,67,75,65,71,69,95,86,69,82,83,73,79,78,125,47,100,105,115,116,47,100,111,116,108,111,116,116,105,101,45,112,108,97,121,101,114,46,119,97,115,109,96,41,59,10,10,32,32,47,47,32,115,114,99,47,101,118,101,110,116,45,109,97,110,97,103,101,114,46,116,115,10,32,32,118,97,114,32,69,118,101,110,116,77,97,110,97,103,101,114,32,61,32,99,108,97,115,115,32,123,10,32,32,32,32,99,111,110,115,116,114,117,99,116,111,114,40,41,32,123,10,32,32,32,32,32,32,95,95,112,117,98,108,105,99,70,105,101,108,100,40,116,104,105,115,44,32,34,95,101,118,101,110,116,76,105,115,116,101,110,101,114,115,34,44,32,47,42,32,64,95,95,80,85,82,69,95,95,32,42,47,32,110,101,119,32,77,97,112,40,41,41,59,10,32,32,32,32,125,10,32,32,32,32,97,100,100,69,118,101,110,116,76,105,115,116,101,110,101,114,40,116,121,112,101,44,32,108,105,115,116,101,110,101,114,41,32,123,10,32,32,32,32,32,32,108,101,116,32,108,105,115,116,101,110,101,114,115,32,61,32,116,104,105,115,46,95,101,118,101,110,116,76,105,115,116,101,110,101,114,115,46,103,101,116,40,116,121,112,101,41,59,10,32,32,32,32,32,32,105,102,32,40,33,108,105,115,116,101,110,101,114,115,41,32,123,10,32,32,32,32,32,32,32,32,108,105,115,116,101,110,101,114,115,32,61,32,47,42,32,64,95,95,80,85,82,69,95,95,32,42,47,32,110,101,119,32,83,101,116,40,41,59,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,101,118,101,110,116,76,105,115,116,101,110,101,114,115,46,115,101,116,40,116,121,112,101,44,32,108,105,115,116,101,110,101,114,115,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,108,105,115,116,101,110,101,114,115,46,97,100,100,40,108,105,115,116,101,110,101,114,41,59,10,32,32,32,32,125,10,32,32,32,32,114,101,109,111,118,101,69,118,101,110,116,76,105,115,116,101,110,101,114,40,116,121,112,101,44,32,108,105,115,116,101,110,101,114,41,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,108,105,115,116,101,110,101,114,115,32,61,32,116,104,105,115,46,95,101,118,101,110,116,76,105,115,116,101,110,101,114,115,46,103,101,116,40,116,121,112,101,41,59,10,32,32,32,32,32,32,105,102,32,40,33,108,105,115,116,101,110,101,114,115,41,32,114,101,116,117,114,110,59,10,32,32,32,32,32,32,105,102,32,40,108,105,115,116,101,110,101,114,41,32,123,10,32,32,32,32,32,32,32,32,108,105,115,116,101,110,101,114,115,46,100,101,108,101,116,101,40,108,105,115,116,101,110,101,114,41,59,10,32,32,32,32,32,32,32,32,105,102,32,40,108,105,115,116,101,110,101,114,115,46,115,105,122,101,32,61,61,61,32,48,41,32,123,10,32,32,32,32,32,32,32,32,32,32,116,104,105,115,46,95,101,118,101,110,116,76,105,115,116,101,110,101,114,115,46,100,101,108,101,116,101,40,116,121,112,101,41,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,32,101,108,115,101,32,123,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,101,118,101,110,116,76,105,115,116,101,110,101,114,115,46,100,101,108,101,116,101,40,116,121,112,101,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,125,10,32,32,32,32,100,105,115,112,97,116,99,104,40,101,118,101,110,116,41,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,108,105,115,116,101,110,101,114,115,32,61,32,116,104,105,115,46,95,101,118,101,110,116,76,105,115,116,101,110,101,114,115,46,103,101,116,40,101,118,101,110,116,46,116,121,112,101,41,59,10,32,32,32,32,32,32,108,105,115,116,101,110,101,114,115,63,46,102,111,114,69,97,99,104,40,40,108,105,115,116,101,110,101,114,41,32,61,62,32,108,105,115,116,101,110,101,114,40,101,118,101,110,116,41,41,59,10,32,32,32,32,125,10,32,32,32,32,114,101,109,111,118,101,65,108,108,69,118,101,110,116,76,105,115,116,101,110,101,114,115,40,41,32,123,10,32,32,32,32,32,32,116,104,105,115,46,95,101,118,101,110,116,76,105,115,116,101,110,101,114,115,46,99,108,101,97,114,40,41,59,10,32,32,32,32,125,10,32,32,125,59,10,10,32,32,47,47,32,115,114,99,47,111,102,102,115,99,114,101,101,110,45,111,98,115,101,114,118,101,114,46,116,115,10,32,32,118,97,114,32,79,102,102,115,99,114,101,101,110,79,98,115,101,114,118,101,114,32,61,32,99,108,97,115,115,32,123,10,32,32,32,32,115,116,97,116,105,99,32,95,105,110,105,116,105,97,108,105,122,101,79,98,115,101,114,118,101,114,40,41,32,123,10,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,111,98,115,101,114,118,101,114,41,32,114,101,116,117,114,110,59,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,116,101,114,115,101,99,116,105,111,110,79,98,115,101,114,118,101,114,67,97,108,108,98,97,99,107,32,61,32,40,101,110,116,114,105,101,115,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,101,110,116,114,105,101,115,46,102,111,114,69,97,99,104,40,40,101,110,116,114,121,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,32,61,32,116,104,105,115,46,95,111,98,115,101,114,118,101,100,67,97,110,118,97,115,101,115,46,103,101,116,40,101,110,116,114,121,46,116,97,114,103,101,116,41,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,105,110,115,116,97,110,99,101,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,105,102,32,40,101,110,116,114,121,46,105,115,73,110,116,101,114,115,101,99,116,105,110,103,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,105,110,115,116,97,110,99,101,46,117,110,102,114,101,101,122,101,40,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,125,32,101,108,115,101,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,105,110,115,116,97,110,99,101,46,102,114,101,101,122,101,40,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,125,41,59,10,32,32,32,32,32,32,125,59,10,32,32,32,32,32,32,116,104,105,115,46,95,111,98,115,101,114,118,101,114,32,61,32,110,101,119,32,73,110,116,101,114,115,101,99,116,105,111,110,79,98,115,101,114,118,101,114,40,105,110,116,101,114,115,101,99,116,105,111,110,79,98,115,101,114,118,101,114,67,97,108,108,98,97,99,107,44,32,123,10,32,32,32,32,32,32,32,32,116,104,114,101,115,104,111,108,100,58,32,48,10,32,32,32,32,32,32,125,41,59,10,32,32,32,32,125,10,32,32,32,32,115,116,97,116,105,99,32,111,98,115,101,114,118,101,40,99,97,110,118,97,115,44,32,100,111,116,76,111,116,116,105,101,73,110,115,116,97,110,99,101,41,32,123,10,32,32,32,32,32,32,116,104,105,115,46,95,105,110,105,116,105,97,108,105,122,101,79,98,115,101,114,118,101,114,40,41,59,10,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,111,98,115,101,114,118,101,100,67,97,110,118,97,115,101,115,46,104,97,115,40,99,97,110,118,97,115,41,41,32,114,101,116,117,114,110,59,10,32,32,32,32,32,32,116,104,105,115,46,95,111,98,115,101,114,118,101,100,67,97,110,118,97,115,101,115,46,115,101,116,40,99,97,110,118,97,115,44,32,100,111,116,76,111,116,116,105,101,73,110,115,116,97,110,99,101,41,59,10,32,32,32,32,32,32,116,104,105,115,46,95,111,98,115,101,114,118,101,114,63,46,111,98,115,101,114,118,101,40,99,97,110,118,97,115,41,59,10,32,32,32,32,125,10,32,32,32,32,115,116,97,116,105,99,32,117,110,111,98,115,101,114,118,101,40,99,97,110,118,97,115,41,32,123,10,32,32,32,32,32,32,116,104,105,115,46,95,111,98,115,101,114,118,101,114,63,46,117,110,111,98,115,101,114,118,101,40,99,97,110,118,97,115,41,59,10,32,32,32,32,32,32,116,104,105,115,46,95,111,98,115,101,114,118,101,100,67,97,110,118,97,115,101,115,46,100,101,108,101,116,101,40,99,97,110,118,97,115,41,59,10,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,111,98,115,101,114,118,101,100,67,97,110,118,97,115,101,115,46,115,105,122,101,32,61,61,61,32,48,41,32,123,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,111,98,115,101,114,118,101,114,63,46,100,105,115,99,111,110,110,101,99,116,40,41,59,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,111,98,115,101,114,118,101,114,32,61,32,110,117,108,108,59,10,32,32,32,32,32,32,125,10,32,32,32,32,125,10,32,32,125,59,10,32,32,95,95,112,117,98,108,105,99,70,105,101,108,100,40,79,102,102,115,99,114,101,101,110,79,98,115,101,114,118,101,114,44,32,34,95,111,98,115,101,114,118,101,114,34,44,32,110,117,108,108,41,59,10,32,32,95,95,112,117,98,108,105,99,70,105,101,108,100,40,79,102,102,115,99,114,101,101,110,79,98,115,101,114,118,101,114,44,32,34,95,111,98,115,101,114,118,101,100,67,97,110,118,97,115,101,115,34,44,32,47,42,32,64,95,95,80,85,82,69,95,95,32,42,47,32,110,101,119,32,77,97,112,40,41,41,59,10,10,32,32,47,47,32,115,114,99,47,114,101,115,105,122,101,45,111,98,115,101,114,118,101,114,46,116,115,10,32,32,118,97,114,32,82,69,83,73,90,69,95,68,69,66,79,85,78,67,69,95,84,73,77,69,32,61,32,49,48,48,59,10,32,32,118,97,114,32,67,97,110,118,97,115,82,101,115,105,122,101,79,98,115,101,114,118,101,114,32,61,32,99,108,97,115,115,32,123,10,32,32,32,32,115,116,97,116,105,99,32,95,105,110,105,116,105,97,108,105,122,101,79,98,115,101,114,118,101,114,40,41,32,123,10,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,111,98,115,101,114,118,101,114,41,32,114,101,116,117,114,110,59,10,32,32,32,32,32,32,99,111,110,115,116,32,114,101,115,105,122,101,72,97,110,100,108,101,114,32,61,32,40,101,110,116,114,105,101,115,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,101,110,116,114,105,101,115,46,102,111,114,69,97,99,104,40,40,101,110,116,114,121,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,99,111,110,115,116,32,101,108,101,109,101,110,116,32,61,32,116,104,105,115,46,95,111,98,115,101,114,118,101,100,67,97,110,118,97,115,101,115,46,103,101,116,40,101,110,116,114,121,46,116,97,114,103,101,116,41,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,33,101,108,101,109,101,110,116,41,32,114,101,116,117,114,110,59,10,32,32,32,32,32,32,32,32,32,32,99,111,110,115,116,32,91,100,111,116,76,111,116,116,105,101,73,110,115,116,97,110,99,101,44,32,116,105,109,101,111,117,116,93,32,61,32,101,108,101,109,101,110,116,59,10,32,32,32,32,32,32,32,32,32,32,99,108,101,97,114,84,105,109,101,111,117,116,40,116,105,109,101,111,117,116,41,59,10,32,32,32,32,32,32,32,32,32,32,99,111,110,115,116,32,110,101,119,84,105,109,101,111,117,116,32,61,32,115,101,116,84,105,109,101,111,117,116,40,40,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,100,111,116,76,111,116,116,105,101,73,110,115,116,97,110,99,101,46,114,101,115,105,122,101,40,41,59,10,32,32,32,32,32,32,32,32,32,32,125,44,32,82,69,83,73,90,69,95,68,69,66,79,85,78,67,69,95,84,73,77,69,41,59,10,32,32,32,32,32,32,32,32,32,32,116,104,105,115,46,95,111,98,115,101,114,118,101,100,67,97,110,118,97,115,101,115,46,115,101,116,40,101,110,116,114,121,46,116,97,114,103,101,116,44,32,91,100,111,116,76,111,116,116,105,101,73,110,115,116,97,110,99,101,44,32,110,101,119,84,105,109,101,111,117,116,93,41,59,10,32,32,32,32,32,32,32,32,125,41,59,10,32,32,32,32,32,32,125,59,10,32,32,32,32,32,32,116,104,105,115,46,95,111,98,115,101,114,118,101,114,32,61,32,110,101,119,32,82,101,115,105,122,101,79,98,115,101,114,118,101,114,40,114,101,115,105,122,101,72,97,110,100,108,101,114,41,59,10,32,32,32,32,125,10,32,32,32,32,115,116,97,116,105,99,32,111,98,115,101,114,118,101,40,99,97,110,118,97,115,44,32,100,111,116,76,111,116,116,105,101,73,110,115,116,97,110,99,101,41,32,123,10,32,32,32,32,32,32,116,104,105,115,46,95,105,110,105,116,105,97,108,105,122,101,79,98,115,101,114,118,101,114,40,41,59,10,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,111,98,115,101,114,118,101,100,67,97,110,118,97,115,101,115,46,104,97,115,40,99,97,110,118,97,115,41,41,32,114,101,116,117,114,110,59,10,32,32,32,32,32,32,116,104,105,115,46,95,111,98,115,101,114,118,101,100,67,97,110,118,97,115,101,115,46,115,101,116,40,99,97,110,118,97,115,44,32,91,100,111,116,76,111,116,116,105,101,73,110,115,116,97,110,99,101,44,32,48,93,41,59,10,32,32,32,32,32,32,116,104,105,115,46,95,111,98,115,101,114,118,101,114,63,46,111,98,115,101,114,118,101,40,99,97,110,118,97,115,41,59,10,32,32,32,32,125,10,32,32,32,32,115,116,97,116,105,99,32,117,110,111,98,115,101,114,118,101,40,99,97,110,118,97,115,41,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,101,108,101,109,101,110,116,32,61,32,116,104,105,115,46,95,111,98,115,101,114,118,101,100,67,97,110,118,97,115,101,115,46,103,101,116,40,99,97,110,118,97,115,41,59,10,32,32,32,32,32,32,105,102,32,40,101,108,101,109,101,110,116,41,32,123,10,32,32,32,32,32,32,32,32,99,111,110,115,116,32,116,105,109,101,111,117,116,73,100,32,61,32,101,108,101,109,101,110,116,91,49,93,59,10,32,32,32,32,32,32,32,32,105,102,32,40,116,105,109,101,111,117,116,73,100,41,32,99,108,101,97,114,84,105,109,101,111,117,116,40,116,105,109,101,111,117,116,73,100,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,116,104,105,115,46,95,111,98,115,101,114,118,101,114,63,46,117,110,111,98,115,101,114,118,101,40,99,97,110,118,97,115,41,59,10,32,32,32,32,32,32,116,104,105,115,46,95,111,98,115,101,114,118,101,100,67,97,110,118,97,115,101,115,46,100,101,108,101,116,101,40,99,97,110,118,97,115,41,59,10,32,32,32,32,32,32,105,102,32,40,33,116,104,105,115,46,95,111,98,115,101,114,118,101,100,67,97,110,118,97,115,101,115,46,115,105,122,101,32,38,38,32,116,104,105,115,46,95,111,98,115,101,114,118,101,114,41,32,123,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,111,98,115,101,114,118,101,114,46,100,105,115,99,111,110,110,101,99,116,40,41,59,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,111,98,115,101,114,118,101,114,32,61,32,110,117,108,108,59,10,32,32,32,32,32,32,125,10,32,32,32,32,125,10,32,32,125,59,10,32,32,95,95,112,117,98,108,105,99,70,105,101,108,100,40,67,97,110,118,97,115,82,101,115,105,122,101,79,98,115,101,114,118,101,114,44,32,34,95,111,98,115,101,114,118,101,114,34,44,32,110,117,108,108,41,59,10,32,32,95,95,112,117,98,108,105,99,70,105,101,108,100,40,67,97,110,118,97,115,82,101,115,105,122,101,79,98,115,101,114,118,101,114,44,32,34,95,111,98,115,101,114,118,101,100,67,97,110,118,97,115,101,115,34,44,32,47,42,32,64,95,95,80,85,82,69,95,95,32,42,47,32,110,101,119,32,77,97,112,40,41,41,59,10,10,32,32,47,47,32,115,114,99,47,117,116,105,108,115,46,116,115,10,32,32,102,117,110,99,116,105,111,110,32,105,115,72,101,120,67,111,108,111,114,40,99,111,108,111,114,41,32,123,10,32,32,32,32,114,101,116,117,114,110,32,47,94,35,40,91,92,100,97,45,102,93,123,54,125,124,91,92,100,97,45,102,93,123,56,125,41,36,47,105,117,46,116,101,115,116,40,99,111,108,111,114,41,59,10,32,32,125,10,32,32,102,117,110,99,116,105,111,110,32,104,101,120,83,116,114,105,110,103,84,111,82,71,66,65,73,110,116,40,99,111,108,111,114,72,101,120,41,32,123,10,32,32,32,32,105,102,32,40,33,105,115,72,101,120,67,111,108,111,114,40,99,111,108,111,114,72,101,120,41,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,48,59,10,32,32,32,32,125,10,32,32,32,32,108,101,116,32,104,101,120,32,61,32,99,111,108,111,114,72,101,120,46,114,101,112,108,97,99,101,40,34,35,34,44,32,34,34,41,59,10,32,32,32,32,104,101,120,32,61,32,104,101,120,46,108,101,110,103,116,104,32,61,61,61,32,54,32,63,32,96,36,123,104,101,120,125,102,102,96,32,58,32,104,101,120,59,10,32,32,32,32,114,101,116,117,114,110,32,112,97,114,115,101,73,110,116,40,104,101,120,44,32,49,54,41,59,10,32,32,125,10,32,32,102,117,110,99,116,105,111,110,32,105,115,68,111,116,76,111,116,116,105,101,40,102,105,108,101,68,97,116,97,41,32,123,10,32,32,32,32,105,102,32,40,102,105,108,101,68,97,116,97,46,98,121,116,101,76,101,110,103,116,104,32,60,32,52,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,102,97,108,115,101,59,10,32,32,32,32,125,10,32,32,32,32,99,111,110,115,116,32,102,105,108,101,83,105,103,110,97,116,117,114,101,32,61,32,110,101,119,32,85,105,110,116,56,65,114,114,97,121,40,102,105,108,101,68,97,116,97,46,115,108,105,99,101,40,48,44,32,90,73,80,95,83,73,71,78,65,84,85,82,69,46,98,121,116,101,76,101,110,103,116,104,41,41,59,10,32,32,32,32,102,111,114,32,40,108,101,116,32,105,32,61,32,48,59,32,105,32,60,32,90,73,80,95,83,73,71,78,65,84,85,82,69,46,108,101,110,103,116,104,59,32,105,32,43,61,32,49,41,32,123,10,32,32,32,32,32,32,105,102,32,40,90,73,80,95,83,73,71,78,65,84,85,82,69,91,105,93,32,33,61,61,32,102,105,108,101,83,105,103,110,97,116,117,114,101,91,105,93,41,32,123,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,102,97,108,115,101,59,10,32,32,32,32,32,32,125,10,32,32,32,32,125,10,32,32,32,32,114,101,116,117,114,110,32,116,114,117,101,59,10,32,32,125,10,32,32,102,117,110,99,116,105,111,110,32,105,115,76,111,116,116,105,101,74,83,79,78,40,106,115,111,110,41,32,123,10,32,32,32,32,114,101,116,117,114,110,32,76,79,84,84,73,69,95,74,83,79,78,95,77,65,78,68,65,84,79,82,89,95,70,73,69,76,68,83,46,101,118,101,114,121,40,40,102,105,101,108,100,41,32,61,62,32,79,98,106,101,99,116,46,112,114,111,116,111,116,121,112,101,46,104,97,115,79,119,110,80,114,111,112,101,114,116,121,46,99,97,108,108,40,106,115,111,110,44,32,102,105,101,108,100,41,41,59,10,32,32,125,10,32,32,102,117,110,99,116,105,111,110,32,105,115,76,111,116,116,105,101,40,102,105,108,101,68,97,116,97,41,32,123,10,32,32,32,32,105,102,32,40,116,121,112,101,111,102,32,102,105,108,101,68,97,116,97,32,61,61,61,32,34,115,116,114,105,110,103,34,41,32,123,10,32,32,32,32,32,32,116,114,121,32,123,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,105,115,76,111,116,116,105,101,74,83,79,78,40,74,83,79,78,46,112,97,114,115,101,40,102,105,108,101,68,97,116,97,41,41,59,10,32,32,32,32,32,32,125,32,99,97,116,99,104,32,40,95,101,41,32,123,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,102,97,108,115,101,59,10,32,32,32,32,32,32,125,10,32,32,32,32,125,32,101,108,115,101,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,105,115,76,111,116,116,105,101,74,83,79,78,40,102,105,108,101,68,97,116,97,41,59,10,32,32,32,32,125,10,32,32,125,10,32,32,102,117,110,99,116,105,111,110,32,103,101,116,68,101,102,97,117,108,116,68,80,82,40,41,32,123,10,32,32,32,32,99,111,110,115,116,32,100,112,114,32,61,32,73,83,95,66,82,79,87,83,69,82,32,63,32,119,105,110,100,111,119,46,100,101,118,105,99,101,80,105,120,101,108,82,97,116,105,111,32,58,32,49,59,10,32,32,32,32,114,101,116,117,114,110,32,49,32,43,32,40,100,112,114,32,45,32,49,41,32,42,32,68,69,70,65,85,76,84,95,68,80,82,95,70,65,67,84,79,82,59,10,32,32,125,10,32,32,102,117,110,99,116,105,111,110,32,105,115,69,108,101,109,101,110,116,73,110,86,105,101,119,112,111,114,116,40,101,108,101,109,101,110,116,41,32,123,10,32,32,32,32,99,111,110,115,116,32,114,101,99,116,32,61,32,101,108,101,109,101,110,116,46,103,101,116,66,111,117,110,100,105,110,103,67,108,105,101,110,116,82,101,99,116,40,41,59,10,32,32,32,32,114,101,116,117,114,110,32,114,101,99,116,46,116,111,112,32,62,61,32,48,32,38,38,32,114,101,99,116,46,108,101,102,116,32,62,61,32,48,32,38,38,32,114,101,99,116,46,98,111,116,116,111,109,32,60,61,32,40,119,105,110,100,111,119,46,105,110,110,101,114,72,101,105,103,104,116,32,124,124,32,100,111,99,117,109,101,110,116,46,100,111,99,117,109,101,110,116,69,108,101,109,101,110,116,46,99,108,105,101,110,116,72,101,105,103,104,116,41,32,38,38,32,114,101,99,116,46,114,105,103,104,116,32,60,61,32,40,119,105,110,100,111,119,46,105,110,110,101,114,87,105,100,116,104,32,124,124,32,100,111,99,117,109,101,110,116,46,100,111,99,117,109,101,110,116,69,108,101,109,101,110,116,46,99,108,105,101,110,116,87,105,100,116,104,41,59,10,32,32,125,10,10,32,32,47,47,32,115,114,99,47,100,111,116,108,111,116,116,105,101,46,116,115,10,32,32,118,97,114,32,99,114,101,97,116,101,67,111,114,101,77,111,100,101,32,61,32,40,109,111,100,101,44,32,109,111,100,117,108,101,41,32,61,62,32,123,10,32,32,32,32,105,102,32,40,109,111,100,101,32,61,61,61,32,34,114,101,118,101,114,115,101,34,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,109,111,100,117,108,101,46,77,111,100,101,46,82,101,118,101,114,115,101,59,10,32,32,32,32,125,32,101,108,115,101,32,105,102,32,40,109,111,100,101,32,61,61,61,32,34,98,111,117,110,99,101,34,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,109,111,100,117,108,101,46,77,111,100,101,46,66,111,117,110,99,101,59,10,32,32,32,32,125,32,101,108,115,101,32,105,102,32,40,109,111,100,101,32,61,61,61,32,34,114,101,118,101,114,115,101,45,98,111,117,110,99,101,34,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,109,111,100,117,108,101,46,77,111,100,101,46,82,101,118,101,114,115,101,66,111,117,110,99,101,59,10,32,32,32,32,125,32,101,108,115,101,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,109,111,100,117,108,101,46,77,111,100,101,46,70,111,114,119,97,114,100,59,10,32,32,32,32,125,10,32,32,125,59,10,32,32,118,97,114,32,99,114,101,97,116,101,67,111,114,101,70,105,116,32,61,32,40,102,105,116,44,32,109,111,100,117,108,101,41,32,61,62,32,123,10,32,32,32,32,105,102,32,40,102,105,116,32,61,61,61,32,34,99,111,110,116,97,105,110,34,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,109,111,100,117,108,101,46,70,105,116,46,67,111,110,116,97,105,110,59,10,32,32,32,32,125,32,101,108,115,101,32,105,102,32,40,102,105,116,32,61,61,61,32,34,99,111,118,101,114,34,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,109,111,100,117,108,101,46,70,105,116,46,67,111,118,101,114,59,10,32,32,32,32,125,32,101,108,115,101,32,105,102,32,40,102,105,116,32,61,61,61,32,34,102,105,108,108,34,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,109,111,100,117,108,101,46,70,105,116,46,70,105,108,108,59,10,32,32,32,32,125,32,101,108,115,101,32,105,102,32,40,102,105,116,32,61,61,61,32,34,102,105,116,45,104,101,105,103,104,116,34,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,109,111,100,117,108,101,46,70,105,116,46,70,105,116,72,101,105,103,104,116,59,10,32,32,32,32,125,32,101,108,115,101,32,105,102,32,40,102,105,116,32,61,61,61,32,34,102,105,116,45,119,105,100,116,104,34,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,109,111,100,117,108,101,46,70,105,116,46,70,105,116,87,105,100,116,104,59,10,32,32,32,32,125,32,101,108,115,101,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,109,111,100,117,108,101,46,70,105,116,46,78,111,110,101,59,10,32,32,32,32,125,10,32,32,125,59,10,32,32,118,97,114,32,99,114,101,97,116,101,67,111,114,101,65,108,105,103,110,32,61,32,40,97,108,105,103,110,44,32,109,111,100,117,108,101,41,32,61,62,32,123,10,32,32,32,32,99,111,110,115,116,32,99,111,114,101,65,108,105,103,110,32,61,32,110,101,119,32,109,111,100,117,108,101,46,86,101,99,116,111,114,70,108,111,97,116,40,41,59,10,32,32,32,32,99,111,114,101,65,108,105,103,110,46,112,117,115,104,95,98,97,99,107,40,97,108,105,103,110,91,48,93,41,59,10,32,32,32,32,99,111,114,101,65,108,105,103,110,46,112,117,115,104,95,98,97,99,107,40,97,108,105,103,110,91,49,93,41,59,10,32,32,32,32,114,101,116,117,114,110,32,99,111,114,101,65,108,105,103,110,59,10,32,32,125,59,10,32,32,118,97,114,32,99,114,101,97,116,101,67,111,114,101,83,101,103,109,101,110,116,32,61,32,40,115,101,103,109,101,110,116,44,32,109,111,100,117,108,101,41,32,61,62,32,123,10,32,32,32,32,99,111,110,115,116,32,99,111,114,101,115,101,103,109,101,110,116,32,61,32,110,101,119,32,109,111,100,117,108,101,46,86,101,99,116,111,114,70,108,111,97,116,40,41,59,10,32,32,32,32,105,102,32,40,115,101,103,109,101,110,116,46,108,101,110,103,116,104,32,33,61,61,32,50,41,32,114,101,116,117,114,110,32,99,111,114,101,115,101,103,109,101,110,116,59,10,32,32,32,32,99,111,114,101,115,101,103,109,101,110,116,46,112,117,115,104,95,98,97,99,107,40,115,101,103,109,101,110,116,91,48,93,41,59,10,32,32,32,32,99,111,114,101,115,101,103,109,101,110,116,46,112,117,115,104,95,98,97,99,107,40,115,101,103,109,101,110,116,91,49,93,41,59,10,32,32,32,32,114,101,116,117,114,110,32,99,111,114,101,115,101,103,109,101,110,116,59,10,32,32,125,59,10,32,32,118,97,114,32,99,114,101,97,116,101,67,111,114,101,76,97,121,111,117,116,32,61,32,40,108,97,121,111,117,116,44,32,109,111,100,117,108,101,41,32,61,62,32,123,10,32,32,32,32,105,102,32,40,33,108,97,121,111,117,116,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,109,111,100,117,108,101,46,99,114,101,97,116,101,68,101,102,97,117,108,116,76,97,121,111,117,116,40,41,59,10,32,32,32,32,125,10,32,32,32,32,114,101,116,117,114,110,32,123,10,32,32,32,32,32,32,97,108,105,103,110,58,32,99,114,101,97,116,101,67,111,114,101,65,108,105,103,110,40,108,97,121,111,117,116,46,97,108,105,103,110,32,63,63,32,91,48,46,53,44,32,48,46,53,93,44,32,109,111,100,117,108,101,41,44,10,32,32,32,32,32,32,102,105,116,58,32,99,114,101,97,116,101,67,111,114,101,70,105,116,40,108,97,121,111,117,116,46,102,105,116,32,63,63,32,34,99,111,110,116,97,105,110,34,44,32,109,111,100,117,108,101,41,10,32,32,32,32,125,59,10,32,32,125,59,10,32,32,118,97,114,32,95,68,111,116,76,111,116,116,105,101,32,61,32,99,108,97,115,115,32,95,68,111,116,76,111,116,116,105,101,32,123,10,32,32,32,32,99,111,110,115,116,114,117,99,116,111,114,40,99,111,110,102,105,103,41,32,123,10,32,32,32,32,32,32,95,95,112,117,98,108,105,99,70,105,101,108,100,40,116,104,105,115,44,32,34,95,99,97,110,118,97,115,34,41,59,10,32,32,32,32,32,32,95,95,112,117,98,108,105,99,70,105,101,108,100,40,116,104,105,115,44,32,34,95,99,111,110,116,101,120,116,34,44,32,110,117,108,108,41,59,10,32,32,32,32,32,32,95,95,112,117,98,108,105,99,70,105,101,108,100,40,116,104,105,115,44,32,34,95,101,118,101,110,116,77,97,110,97,103,101,114,34,41,59,10,32,32,32,32,32,32,95,95,112,117,98,108,105,99,70,105,101,108,100,40,116,104,105,115,44,32,34,95,97,110,105,109,97,116,105,111,110,70,114,97,109,101,73,100,34,44,32,110,117,108,108,41,59,10,32,32,32,32,32,32,95,95,112,117,98,108,105,99,70,105,101,108,100,40,116,104,105,115,44,32,34,95,102,114,97,109,101,77,97,110,97,103,101,114,34,41,59,10,32,32,32,32,32,32,95,95,112,117,98,108,105,99,70,105,101,108,100,40,116,104,105,115,44,32,34,95,100,111,116,76,111,116,116,105,101,67,111,114,101,34,44,32,110,117,108,108,41,59,10,32,32,32,32,32,32,95,95,112,117,98,108,105,99,70,105,101,108,100,40,116,104,105,115,44,32,34,95,114,101,110,100,101,114,67,111,110,102,105,103,34,44,32,123,125,41,59,10,32,32,32,32,32,32,95,95,112,117,98,108,105,99,70,105,101,108,100,40,116,104,105,115,44,32,34,95,105,115,70,114,111,122,101,110,34,44,32,102,97,108,115,101,41,59,10,32,32,32,32,32,32,95,95,112,117,98,108,105,99,70,105,101,108,100,40,116,104,105,115,44,32,34,95,98,97,99,107,103,114,111,117,110,100,67,111,108,111,114,34,44,32,110,117,108,108,41,59,10,32,32,32,32,32,32,95,95,112,117,98,108,105,99,70,105,101,108,100,40,116,104,105,115,44,32,34,95,112,111,105,110,116,101,114,85,112,77,101,116,104,111,100,34,41,59,10,32,32,32,32,32,32,95,95,112,117,98,108,105,99,70,105,101,108,100,40,116,104,105,115,44,32,34,95,112,111,105,110,116,101,114,68,111,119,110,77,101,116,104,111,100,34,41,59,10,32,32,32,32,32,32,95,95,112,117,98,108,105,99,70,105,101,108,100,40,116,104,105,115,44,32,34,95,112,111,105,110,116,101,114,77,111,118,101,77,101,116,104,111,100,34,41,59,10,32,32,32,32,32,32,95,95,112,117,98,108,105,99,70,105,101,108,100,40,116,104,105,115,44,32,34,95,112,111,105,110,116,101,114,69,110,116,101,114,77,101,116,104,111,100,34,41,59,10,32,32,32,32,32,32,95,95,112,117,98,108,105,99,70,105,101,108,100,40,116,104,105,115,44,32,34,95,112,111,105,110,116,101,114,69,120,105,116,77,101,116,104,111,100,34,41,59,10,32,32,32,32,32,32,116,104,105,115,46,95,99,97,110,118,97,115,32,61,32,99,111,110,102,105,103,46,99,97,110,118,97,115,59,10,32,32,32,32,32,32,116,104,105,115,46,95,101,118,101,110,116,77,97,110,97,103,101,114,32,61,32,110,101,119,32,69,118,101,110,116,77,97,110,97,103,101,114,40,41,59,10,32,32,32,32,32,32,116,104,105,115,46,95,102,114,97,109,101,77,97,110,97,103,101,114,32,61,32,110,101,119,32,65,110,105,109,97,116,105,111,110,70,114,97,109,101,77,97,110,97,103,101,114,40,41,59,10,32,32,32,32,32,32,116,104,105,115,46,95,114,101,110,100,101,114,67,111,110,102,105,103,32,61,32,123,10,32,32,32,32,32,32,32,32,46,46,46,99,111,110,102,105,103,46,114,101,110,100,101,114,67,111,110,102,105,103,44,10,32,32,32,32,32,32,32,32,100,101,118,105,99,101,80,105,120,101,108,82,97,116,105,111,58,32,99,111,110,102,105,103,46,114,101,110,100,101,114,67,111,110,102,105,103,63,46,100,101,118,105,99,101,80,105,120,101,108,82,97,116,105,111,32,124,124,32,103,101,116,68,101,102,97,117,108,116,68,80,82,40,41,44,10,32,32,32,32,32,32,32,32,47,47,32,102,114,101,101,122,101,79,110,79,102,102,115,99,114,101,101,110,32,105,115,32,116,114,117,101,32,98,121,32,100,101,102,97,117,108,116,32,116,111,32,112,114,101,118,101,110,116,32,117,110,110,101,99,101,115,115,97,114,121,32,114,101,110,100,101,114,105,110,103,32,119,104,101,110,32,116,104,101,32,99,97,110,118,97,115,32,105,115,32,111,102,102,115,99,114,101,101,110,10,32,32,32,32,32,32,32,32,102,114,101,101,122,101,79,110,79,102,102,115,99,114,101,101,110,58,32,99,111,110,102,105,103,46,114,101,110,100,101,114,67,111,110,102,105,103,63,46,102,114,101,101,122,101,79,110,79,102,102,115,99,114,101,101,110,32,63,63,32,116,114,117,101,10,32,32,32,32,32,32,125,59,10,32,32,32,32,32,32,68,111,116,76,111,116,116,105,101,87,97,115,109,76,111,97,100,101,114,46,108,111,97,100,40,41,46,116,104,101,110,40,40,109,111,100,117,108,101,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,95,68,111,116,76,111,116,116,105,101,46,95,119,97,115,109,77,111,100,117,108,101,32,61,32,109,111,100,117,108,101,59,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,32,61,32,110,101,119,32,109,111,100,117,108,101,46,68,111,116,76,111,116,116,105,101,80,108,97,121,101,114,40,123,10,32,32,32,32,32,32,32,32,32,32,97,110,105,109,97,116,105,111,110,73,100,58,32,99,111,110,102,105,103,46,97,110,105,109,97,116,105,111,110,73,100,32,63,63,32,34,34,44,10,32,32,32,32,32,32,32,32,32,32,116,104,101,109,101,73,100,58,32,99,111,110,102,105,103,46,116,104,101,109,101,73,100,32,63,63,32,34,34,44,10,32,32,32,32,32,32,32,32,32,32,115,116,97,116,101,77,97,99,104,105,110,101,73,100,58,32,34,34,44,10,32,32,32,32,32,32,32,32,32,32,97,117,116,111,112,108,97,121,58,32,99,111,110,102,105,103,46,97,117,116,111,112,108,97,121,32,63,63,32,102,97,108,115,101,44,10,32,32,32,32,32,32,32,32,32,32,98,97,99,107,103,114,111,117,110,100,67,111,108,111,114,58,32,48,44,10,32,32,32,32,32,32,32,32,32,32,108,111,111,112,65,110,105,109,97,116,105,111,110,58,32,99,111,110,102,105,103,46,108,111,111,112,32,63,63,32,102,97,108,115,101,44,10,32,32,32,32,32,32,32,32,32,32,109,111,100,101,58,32,99,114,101,97,116,101,67,111,114,101,77,111,100,101,40,99,111,110,102,105,103,46,109,111,100,101,32,63,63,32,34,102,111,114,119,97,114,100,34,44,32,109,111,100,117,108,101,41,44,10,32,32,32,32,32,32,32,32,32,32,115,101,103,109,101,110,116,58,32,99,114,101,97,116,101,67,111,114,101,83,101,103,109,101,110,116,40,99,111,110,102,105,103,46,115,101,103,109,101,110,116,32,63,63,32,91,93,44,32,109,111,100,117,108,101,41,44,10,32,32,32,32,32,32,32,32,32,32,115,112,101,101,100,58,32,99,111,110,102,105,103,46,115,112,101,101,100,32,63,63,32,49,44,10,32,32,32,32,32,32,32,32,32,32,117,115,101,70,114,97,109,101,73,110,116,101,114,112,111,108,97,116,105,111,110,58,32,99,111,110,102,105,103,46,117,115,101,70,114,97,109,101,73,110,116,101,114,112,111,108,97,116,105,111,110,32,63,63,32,116,114,117,101,44,10,32,32,32,32,32,32,32,32,32,32,109,97,114,107,101,114,58,32,99,111,110,102,105,103,46,109,97,114,107,101,114,32,63,63,32,34,34,44,10,32,32,32,32,32,32,32,32,32,32,108,97,121,111,117,116,58,32,99,114,101,97,116,101,67,111,114,101,76,97,121,111,117,116,40,99,111,110,102,105,103,46,108,97,121,111,117,116,44,32,109,111,100,117,108,101,41,10,32,32,32,32,32,32,32,32,125,41,59,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,101,118,101,110,116,77,97,110,97,103,101,114,46,100,105,115,112,97,116,99,104,40,123,32,116,121,112,101,58,32,34,114,101,97,100,121,34,32,125,41,59,10,32,32,32,32,32,32,32,32,105,102,32,40,99,111,110,102,105,103,46,100,97,116,97,41,32,123,10,32,32,32,32,32,32,32,32,32,32,116,104,105,115,46,95,108,111,97,100,70,114,111,109,68,97,116,97,40,99,111,110,102,105,103,46,100,97,116,97,41,59,10,32,32,32,32,32,32,32,32,125,32,101,108,115,101,32,105,102,32,40,99,111,110,102,105,103,46,115,114,99,41,32,123,10,32,32,32,32,32,32,32,32,32,32,116,104,105,115,46,95,108,111,97,100,70,114,111,109,83,114,99,40,99,111,110,102,105,103,46,115,114,99,41,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,105,102,32,40,99,111,110,102,105,103,46,98,97,99,107,103,114,111,117,110,100,67,111,108,111,114,41,32,123,10,32,32,32,32,32,32,32,32,32,32,116,104,105,115,46,115,101,116,66,97,99,107,103,114,111,117,110,100,67,111,108,111,114,40,99,111,110,102,105,103,46,98,97,99,107,103,114,111,117,110,100,67,111,108,111,114,41,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,41,46,99,97,116,99,104,40,40,101,114,114,111,114,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,101,118,101,110,116,77,97,110,97,103,101,114,46,100,105,115,112,97,116,99,104,40,123,10,32,32,32,32,32,32,32,32,32,32,116,121,112,101,58,32,34,108,111,97,100,69,114,114,111,114,34,44,10,32,32,32,32,32,32,32,32,32,32,101,114,114,111,114,58,32,110,101,119,32,69,114,114,111,114,40,96,70,97,105,108,101,100,32,116,111,32,108,111,97,100,32,119,97,115,109,32,109,111,100,117,108,101,58,32,36,123,101,114,114,111,114,125,96,41,10,32,32,32,32,32,32,32,32,125,41,59,10,32,32,32,32,32,32,125,41,59,10,32,32,32,32,32,32,116,104,105,115,46,95,112,111,105,110,116,101,114,85,112,77,101,116,104,111,100,32,61,32,116,104,105,115,46,95,111,110,80,111,105,110,116,101,114,85,112,46,98,105,110,100,40,116,104,105,115,41,59,10,32,32,32,32,32,32,116,104,105,115,46,95,112,111,105,110,116,101,114,68,111,119,110,77,101,116,104,111,100,32,61,32,116,104,105,115,46,95,111,110,80,111,105,110,116,101,114,68,111,119,110,46,98,105,110,100,40,116,104,105,115,41,59,10,32,32,32,32,32,32,116,104,105,115,46,95,112,111,105,110,116,101,114,77,111,118,101,77,101,116,104,111,100,32,61,32,116,104,105,115,46,95,111,110,80,111,105,110,116,101,114,77,111,118,101,46,98,105,110,100,40,116,104,105,115,41,59,10,32,32,32,32,32,32,116,104,105,115,46,95,112,111,105,110,116,101,114,69,110,116,101,114,77,101,116,104,111,100,32,61,32,116,104,105,115,46,95,111,110,80,111,105,110,116,101,114,69,110,116,101,114,46,98,105,110,100,40,116,104,105,115,41,59,10,32,32,32,32,32,32,116,104,105,115,46,95,112,111,105,110,116,101,114,69,120,105,116,77,101,116,104,111,100,32,61,32,116,104,105,115,46,95,111,110,80,111,105,110,116,101,114,76,101,97,118,101,46,98,105,110,100,40,116,104,105,115,41,59,10,32,32,32,32,125,10,32,32,32,32,95,100,105,115,112,97,116,99,104,69,114,114,111,114,40,109,101,115,115,97,103,101,41,32,123,10,32,32,32,32,32,32,99,111,110,115,111,108,101,46,101,114,114,111,114,40,109,101,115,115,97,103,101,41,59,10,32,32,32,32,32,32,116,104,105,115,46,95,101,118,101,110,116,77,97,110,97,103,101,114,46,100,105,115,112,97,116,99,104,40,123,32,116,121,112,101,58,32,34,108,111,97,100,69,114,114,111,114,34,44,32,101,114,114,111,114,58,32,110,101,119,32,69,114,114,111,114,40,109,101,115,115,97,103,101,41,32,125,41,59,10,32,32,32,32,125,10,32,32,32,32,97,115,121,110,99,32,95,102,101,116,99,104,68,97,116,97,40,115,114,99,41,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,114,101,115,112,111,110,115,101,32,61,32,97,119,97,105,116,32,102,101,116,99,104,40,115,114,99,41,59,10,32,32,32,32,32,32,105,102,32,40,33,114,101,115,112,111,110,115,101,46,111,107,41,32,123,10,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,69,114,114,111,114,40,96,70,97,105,108,101,100,32,116,111,32,102,101,116,99,104,32,97,110,105,109,97,116,105,111,110,32,100,97,116,97,32,102,114,111,109,32,85,82,76,58,32,36,123,115,114,99,125,46,32,36,123,114,101,115,112,111,110,115,101,46,115,116,97,116,117,115,125,58,32,36,123,114,101,115,112,111,110,115,101,46,115,116,97,116,117,115,84,101,120,116,125,96,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,99,111,110,115,116,32,100,97,116,97,32,61,32,97,119,97,105,116,32,114,101,115,112,111,110,115,101,46,97,114,114,97,121,66,117,102,102,101,114,40,41,59,10,32,32,32,32,32,32,105,102,32,40,105,115,68,111,116,76,111,116,116,105,101,40,100,97,116,97,41,41,32,123,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,100,97,116,97,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,114,101,116,117,114,110,32,110,101,119,32,84,101,120,116,68,101,99,111,100,101,114,40,41,46,100,101,99,111,100,101,40,100,97,116,97,41,59,10,32,32,32,32,125,10,32,32,32,32,95,108,111,97,100,70,114,111,109,68,97,116,97,40,100,97,116,97,41,32,123,10,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,32,61,61,61,32,110,117,108,108,41,32,114,101,116,117,114,110,59,10,32,32,32,32,32,32,99,111,110,115,116,32,119,105,100,116,104,32,61,32,116,104,105,115,46,95,99,97,110,118,97,115,46,119,105,100,116,104,59,10,32,32,32,32,32,32,99,111,110,115,116,32,104,101,105,103,104,116,32,61,32,116,104,105,115,46,95,99,97,110,118,97,115,46,104,101,105,103,104,116,59,10,32,32,32,32,32,32,108,101,116,32,108,111,97,100,101,100,32,61,32,102,97,108,115,101,59,10,32,32,32,32,32,32,105,102,32,40,116,121,112,101,111,102,32,100,97,116,97,32,61,61,61,32,34,115,116,114,105,110,103,34,41,32,123,10,32,32,32,32,32,32,32,32,105,102,32,40,33,105,115,76,111,116,116,105,101,40,100,97,116,97,41,41,32,123,10,32,32,32,32,32,32,32,32,32,32,116,104,105,115,46,95,100,105,115,112,97,116,99,104,69,114,114,111,114,40,10,32,32,32,32,32,32,32,32,32,32,32,32,34,73,110,118,97,108,105,100,32,76,111,116,116,105,101,32,74,83,79,78,32,115,116,114,105,110,103,58,32,84,104,101,32,112,114,111,118,105,100,101,100,32,115,116,114,105,110,103,32,100,111,101,115,32,110,111,116,32,99,111,110,102,111,114,109,32,116,111,32,116,104,101,32,76,111,116,116,105,101,32,74,83,79,78,32,102,111,114,109,97,116,46,34,10,32,32,32,32,32,32,32,32,32,32,41,59,10,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,108,111,97,100,101,100,32,61,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,108,111,97,100,65,110,105,109,97,116,105,111,110,68,97,116,97,40,100,97,116,97,44,32,119,105,100,116,104,44,32,104,101,105,103,104,116,41,59,10,32,32,32,32,32,32,125,32,101,108,115,101,32,105,102,32,40,100,97,116,97,32,105,110,115,116,97,110,99,101,111,102,32,65,114,114,97,121,66,117,102,102,101,114,41,32,123,10,32,32,32,32,32,32,32,32,105,102,32,40,33,105,115,68,111,116,76,111,116,116,105,101,40,100,97,116,97,41,41,32,123,10,32,32,32,32,32,32,32,32,32,32,116,104,105,115,46,95,100,105,115,112,97,116,99,104,69,114,114,111,114,40,10,32,32,32,32,32,32,32,32,32,32,32,32,34,73,110,118,97,108,105,100,32,100,111,116,76,111,116,116,105,101,32,65,114,114,97,121,66,117,102,102,101,114,58,32,84,104,101,32,112,114,111,118,105,100,101,100,32,65,114,114,97,121,66,117,102,102,101,114,32,100,111,101,115,32,110,111,116,32,99,111,110,102,111,114,109,32,116,111,32,116,104,101,32,100,111,116,76,111,116,116,105,101,32,102,111,114,109,97,116,46,34,10,32,32,32,32,32,32,32,32,32,32,41,59,10,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,108,111,97,100,101,100,32,61,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,108,111,97,100,68,111,116,76,111,116,116,105,101,68,97,116,97,40,100,97,116,97,44,32,119,105,100,116,104,44,32,104,101,105,103,104,116,41,59,10,32,32,32,32,32,32,125,32,101,108,115,101,32,105,102,32,40,116,121,112,101,111,102,32,100,97,116,97,32,61,61,61,32,34,111,98,106,101,99,116,34,41,32,123,10,32,32,32,32,32,32,32,32,105,102,32,40,33,105,115,76,111,116,116,105,101,40,100,97,116,97,41,41,32,123,10,32,32,32,32,32,32,32,32,32,32,116,104,105,115,46,95,100,105,115,112,97,116,99,104,69,114,114,111,114,40,10,32,32,32,32,32,32,32,32,32,32,32,32,34,73,110,118,97,108,105,100,32,76,111,116,116,105,101,32,74,83,79,78,32,111,98,106,101,99,116,58,32,84,104,101,32,112,114,111,118,105,100,101,100,32,111,98,106,101,99,116,32,100,111,101,115,32,110,111,116,32,99,111,110,102,111,114,109,32,116,111,32,116,104,101,32,76,111,116,116,105,101,32,74,83,79,78,32,102,111,114,109,97,116,46,34,10,32,32,32,32,32,32,32,32,32,32,41,59,10,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,108,111,97,100,101,100,32,61,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,108,111,97,100,65,110,105,109,97,116,105,111,110,68,97,116,97,40,74,83,79,78,46,115,116,114,105,110,103,105,102,121,40,100,97,116,97,41,44,32,119,105,100,116,104,44,32,104,101,105,103,104,116,41,59,10,32,32,32,32,32,32,125,32,101,108,115,101,32,123,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,100,105,115,112,97,116,99,104,69,114,114,111,114,40,10,32,32,32,32,32,32,32,32,32,32,96,85,110,115,117,112,112,111,114,116,101,100,32,100,97,116,97,32,116,121,112,101,32,102,111,114,32,97,110,105,109,97,116,105,111,110,32,100,97,116,97,46,32,69,120,112,101,99,116,101,100,58,32,10,32,32,32,32,32,32,32,32,32,32,45,32,115,116,114,105,110,103,32,40,76,111,116,116,105,101,32,74,83,79,78,41,44,10,32,32,32,32,32,32,32,32,32,32,45,32,65,114,114,97,121,66,117,102,102,101,114,32,40,100,111,116,76,111,116,116,105,101,41,44,10,32,32,32,32,32,32,32,32,32,32,45,32,111,98,106,101,99,116,32,40,76,111,116,116,105,101,32,74,83,79,78,41,46,32,10,32,32,32,32,32,32,32,32,32,32,82,101,99,101,105,118,101,100,58,32,36,123,116,121,112,101,111,102,32,100,97,116,97,125,96,10,32,32,32,32,32,32,32,32,41,59,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,105,102,32,40,108,111,97,100,101,100,41,32,123,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,101,118,101,110,116,77,97,110,97,103,101,114,46,100,105,115,112,97,116,99,104,40,123,32,116,121,112,101,58,32,34,108,111,97,100,34,32,125,41,59,10,32,32,32,32,32,32,32,32,105,102,32,40,73,83,95,66,82,79,87,83,69,82,41,32,123,10,32,32,32,32,32,32,32,32,32,32,116,104,105,115,46,114,101,115,105,122,101,40,41,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,101,118,101,110,116,77,97,110,97,103,101,114,46,100,105,115,112,97,116,99,104,40,123,10,32,32,32,32,32,32,32,32,32,32,116,121,112,101,58,32,34,102,114,97,109,101,34,44,10,32,32,32,32,32,32,32,32,32,32,99,117,114,114,101,110,116,70,114,97,109,101,58,32,116,104,105,115,46,99,117,114,114,101,110,116,70,114,97,109,101,10,32,32,32,32,32,32,32,32,125,41,59,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,114,101,110,100,101,114,40,41,59,10,32,32,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,99,111,110,102,105,103,40,41,46,97,117,116,111,112,108,97,121,41,32,123,10,32,32,32,32,32,32,32,32,32,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,112,108,97,121,40,41,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,105,115,80,108,97,121,105,110,103,40,41,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,116,104,105,115,46,95,101,118,101,110,116,77,97,110,97,103,101,114,46,100,105,115,112,97,116,99,104,40,123,32,116,121,112,101,58,32,34,112,108,97,121,34,32,125,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,116,104,105,115,46,95,97,110,105,109,97,116,105,111,110,70,114,97,109,101,73,100,32,61,32,116,104,105,115,46,95,102,114,97,109,101,77,97,110,97,103,101,114,46,114,101,113,117,101,115,116,65,110,105,109,97,116,105,111,110,70,114,97,109,101,40,116,104,105,115,46,95,100,114,97,119,46,98,105,110,100,40,116,104,105,115,41,41,59,10,32,32,32,32,32,32,32,32,32,32,125,32,101,108,115,101,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,99,111,110,115,111,108,101,46,101,114,114,111,114,40,34,115,111,109,101,116,104,105,110,103,32,119,101,110,116,32,119,114,111,110,103,44,32,116,104,101,32,97,110,105,109,97,116,105,111,110,32,119,97,115,32,115,117,112,112,111,115,101,32,116,111,32,97,117,116,111,112,108,97,121,34,41,59,10,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,105,102,32,40,73,83,95,66,82,79,87,83,69,82,32,38,38,32,116,104,105,115,46,95,99,97,110,118,97,115,32,105,110,115,116,97,110,99,101,111,102,32,72,84,77,76,67,97,110,118,97,115,69,108,101,109,101,110,116,41,32,123,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,114,101,110,100,101,114,67,111,110,102,105,103,46,102,114,101,101,122,101,79,110,79,102,102,115,99,114,101,101,110,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,79,102,102,115,99,114,101,101,110,79,98,115,101,114,118,101,114,46,111,98,115,101,114,118,101,40,116,104,105,115,46,95,99,97,110,118,97,115,44,32,116,104,105,115,41,59,10,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,114,101,110,100,101,114,67,111,110,102,105,103,46,97,117,116,111,82,101,115,105,122,101,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,67,97,110,118,97,115,82,101,115,105,122,101,79,98,115,101,114,118,101,114,46,111,98,115,101,114,118,101,40,116,104,105,115,46,95,99,97,110,118,97,115,44,32,116,104,105,115,41,59,10,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,32,101,108,115,101,32,123,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,100,105,115,112,97,116,99,104,69,114,114,111,114,40,34,70,97,105,108,101,100,32,116,111,32,108,111,97,100,32,97,110,105,109,97,116,105,111,110,32,100,97,116,97,34,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,125,10,32,32,32,32,95,108,111,97,100,70,114,111,109,83,114,99,40,115,114,99,41,32,123,10,32,32,32,32,32,32,116,104,105,115,46,95,102,101,116,99,104,68,97,116,97,40,115,114,99,41,46,116,104,101,110,40,40,100,97,116,97,41,32,61,62,32,116,104,105,115,46,95,108,111,97,100,70,114,111,109,68,97,116,97,40,100,97,116,97,41,41,46,99,97,116,99,104,40,40,101,114,114,111,114,41,32,61,62,32,116,104,105,115,46,95,100,105,115,112,97,116,99,104,69,114,114,111,114,40,96,70,97,105,108,101,100,32,116,111,32,108,111,97,100,32,97,110,105,109,97,116,105,111,110,32,100,97,116,97,32,102,114,111,109,32,85,82,76,58,32,36,123,115,114,99,125,46,32,36,123,101,114,114,111,114,125,96,41,41,59,10,32,32,32,32,125,10,32,32,32,32,103,101,116,32,98,117,102,102,101,114,40,41,32,123,10,32,32,32,32,32,32,105,102,32,40,33,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,41,32,114,101,116,117,114,110,32,110,117,108,108,59,10,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,98,117,102,102,101,114,40,41,59,10,32,32,32,32,125,10,32,32,32,32,103,101,116,32,97,99,116,105,118,101,65,110,105,109,97,116,105,111,110,73,100,40,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,63,46,97,99,116,105,118,101,65,110,105,109,97,116,105,111,110,73,100,40,41,59,10,32,32,32,32,125,10,32,32,32,32,103,101,116,32,97,99,116,105,118,101,84,104,101,109,101,73,100,40,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,63,46,97,99,116,105,118,101,84,104,101,109,101,73,100,40,41,59,10,32,32,32,32,125,10,32,32,32,32,103,101,116,32,108,97,121,111,117,116,40,41,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,108,97,121,111,117,116,32,61,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,63,46,99,111,110,102,105,103,40,41,46,108,97,121,111,117,116,59,10,32,32,32,32,32,32,105,102,32,40,108,97,121,111,117,116,41,32,123,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,123,10,32,32,32,32,32,32,32,32,32,32,97,108,105,103,110,58,32,91,108,97,121,111,117,116,46,97,108,105,103,110,46,103,101,116,40,48,41,44,32,108,97,121,111,117,116,46,97,108,105,103,110,46,103,101,116,40,49,41,93,44,10,32,32,32,32,32,32,32,32,32,32,102,105,116,58,32,40,40,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,115,119,105,116,99,104,32,40,108,97,121,111,117,116,46,102,105,116,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,99,97,115,101,32,95,68,111,116,76,111,116,116,105,101,46,95,119,97,115,109,77,111,100,117,108,101,63,46,70,105,116,46,67,111,110,116,97,105,110,58,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,34,99,111,110,116,97,105,110,34,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,99,97,115,101,32,95,68,111,116,76,111,116,116,105,101,46,95,119,97,115,109,77,111,100,117,108,101,63,46,70,105,116,46,67,111,118,101,114,58,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,34,99,111,118,101,114,34,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,99,97,115,101,32,95,68,111,116,76,111,116,116,105,101,46,95,119,97,115,109,77,111,100,117,108,101,63,46,70,105,116,46,70,105,108,108,58,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,34,102,105,108,108,34,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,99,97,115,101,32,95,68,111,116,76,111,116,116,105,101,46,95,119,97,115,109,77,111,100,117,108,101,63,46,70,105,116,46,70,105,116,72,101,105,103,104,116,58,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,34,102,105,116,45,104,101,105,103,104,116,34,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,99,97,115,101,32,95,68,111,116,76,111,116,116,105,101,46,95,119,97,115,109,77,111,100,117,108,101,63,46,70,105,116,46,70,105,116,87,105,100,116,104,58,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,34,102,105,116,45,119,105,100,116,104,34,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,99,97,115,101,32,95,68,111,116,76,111,116,116,105,101,46,95,119,97,115,109,77,111,100,117,108,101,63,46,70,105,116,46,78,111,110,101,58,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,34,110,111,110,101,34,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,100,101,102,97,117,108,116,58,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,34,99,111,110,116,97,105,110,34,59,10,32,32,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,32,32,125,41,40,41,10,32,32,32,32,32,32,32,32,125,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,114,101,116,117,114,110,32,118,111,105,100,32,48,59,10,32,32,32,32,125,10,32,32,32,32,103,101,116,32,109,97,114,107,101,114,40,41,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,109,97,114,107,101,114,32,61,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,63,46,99,111,110,102,105,103,40,41,46,109,97,114,107,101,114,59,10,32,32,32,32,32,32,114,101,116,117,114,110,32,109,97,114,107,101,114,59,10,32,32,32,32,125,10,32,32,32,32,103,101,116,32,109,97,110,105,102,101,115,116,40,41,32,123,10,32,32,32,32,32,32,116,114,121,32,123,10,32,32,32,32,32,32,32,32,99,111,110,115,116,32,109,97,110,105,102,101,115,116,32,61,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,63,46,109,97,110,105,102,101,115,116,83,116,114,105,110,103,40,41,59,10,32,32,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,32,61,61,61,32,110,117,108,108,32,124,124,32,33,109,97,110,105,102,101,115,116,41,32,114,101,116,117,114,110,32,110,117,108,108,59,10,32,32,32,32,32,32,32,32,99,111,110,115,116,32,109,97,110,105,102,101,115,116,74,115,111,110,32,61,32,74,83,79,78,46,112,97,114,115,101,40,109,97,110,105,102,101,115,116,41,59,10,32,32,32,32,32,32,32,32,105,102,32,40,79,98,106,101,99,116,46,107,101,121,115,40,109,97,110,105,102,101,115,116,74,115,111,110,41,46,108,101,110,103,116,104,32,61,61,61,32,48,41,32,114,101,116,117,114,110,32,110,117,108,108,59,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,109,97,110,105,102,101,115,116,74,115,111,110,59,10,32,32,32,32,32,32,125,32,99,97,116,99,104,32,40,95,101,114,114,41,32,123,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,110,117,108,108,59,10,32,32,32,32,32,32,125,10,32,32,32,32,125,10,32,32,32,32,103,101,116,32,114,101,110,100,101,114,67,111,110,102,105,103,40,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,95,114,101,110,100,101,114,67,111,110,102,105,103,59,10,32,32,32,32,125,10,32,32,32,32,103,101,116,32,115,101,103,109,101,110,116,40,41,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,115,101,103,109,101,110,116,32,61,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,63,46,99,111,110,102,105,103,40,41,46,115,101,103,109,101,110,116,59,10,32,32,32,32,32,32,105,102,32,40,115,101,103,109,101,110,116,32,38,38,32,115,101,103,109,101,110,116,46,115,105,122,101,40,41,32,61,61,61,32,50,41,32,123,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,91,115,101,103,109,101,110,116,46,103,101,116,40,48,41,44,32,115,101,103,109,101,110,116,46,103,101,116,40,49,41,93,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,114,101,116,117,114,110,32,118,111,105,100,32,48,59,10,32,32,32,32,125,10,32,32,32,32,103,101,116,32,108,111,111,112,40,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,63,46,99,111,110,102,105,103,40,41,46,108,111,111,112,65,110,105,109,97,116,105,111,110,32,63,63,32,102,97,108,115,101,59,10,32,32,32,32,125,10,32,32,32,32,103,101,116,32,109,111,100,101,40,41,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,109,111,100,101,32,61,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,63,46,99,111,110,102,105,103,40,41,46,109,111,100,101,59,10,32,32,32,32,32,32,105,102,32,40,109,111,100,101,32,61,61,61,32,95,68,111,116,76,111,116,116,105,101,46,95,119,97,115,109,77,111,100,117,108,101,63,46,77,111,100,101,46,82,101,118,101,114,115,101,41,32,123,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,34,114,101,118,101,114,115,101,34,59,10,32,32,32,32,32,32,125,32,101,108,115,101,32,105,102,32,40,109,111,100,101,32,61,61,61,32,95,68,111,116,76,111,116,116,105,101,46,95,119,97,115,109,77,111,100,117,108,101,63,46,77,111,100,101,46,66,111,117,110,99,101,41,32,123,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,34,98,111,117,110,99,101,34,59,10,32,32,32,32,32,32,125,32,101,108,115,101,32,105,102,32,40,109,111,100,101,32,61,61,61,32,95,68,111,116,76,111,116,116,105,101,46,95,119,97,115,109,77,111,100,117,108,101,63,46,77,111,100,101,46,82,101,118,101,114,115,101,66,111,117,110,99,101,41,32,123,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,34,114,101,118,101,114,115,101,45,98,111,117,110,99,101,34,59,10,32,32,32,32,32,32,125,32,101,108,115,101,32,123,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,34,102,111,114,119,97,114,100,34,59,10,32,32,32,32,32,32,125,10,32,32,32,32,125,10,32,32,32,32,103,101,116,32,105,115,70,114,111,122,101,110,40,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,95,105,115,70,114,111,122,101,110,59,10,32,32,32,32,125,10,32,32,32,32,103,101,116,32,98,97,99,107,103,114,111,117,110,100,67,111,108,111,114,40,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,95,98,97,99,107,103,114,111,117,110,100,67,111,108,111,114,32,63,63,32,34,34,59,10,32,32,32,32,125,10,32,32,32,32,103,101,116,32,97,117,116,111,112,108,97,121,40,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,63,46,99,111,110,102,105,103,40,41,46,97,117,116,111,112,108,97,121,32,63,63,32,102,97,108,115,101,59,10,32,32,32,32,125,10,32,32,32,32,103,101,116,32,117,115,101,70,114,97,109,101,73,110,116,101,114,112,111,108,97,116,105,111,110,40,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,63,46,99,111,110,102,105,103,40,41,46,117,115,101,70,114,97,109,101,73,110,116,101,114,112,111,108,97,116,105,111,110,32,63,63,32,102,97,108,115,101,59,10,32,32,32,32,125,10,32,32,32,32,103,101,116,32,115,112,101,101,100,40,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,63,46,99,111,110,102,105,103,40,41,46,115,112,101,101,100,32,63,63,32,48,59,10,32,32,32,32,125,10,32,32,32,32,103,101,116,32,105,115,82,101,97,100,121,40,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,32,33,61,61,32,110,117,108,108,59,10,32,32,32,32,125,10,32,32,32,32,103,101,116,32,105,115,76,111,97,100,101,100,40,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,63,46,105,115,76,111,97,100,101,100,40,41,32,63,63,32,102,97,108,115,101,59,10,32,32,32,32,125,10,32,32,32,32,103,101,116,32,105,115,80,108,97,121,105,110,103,40,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,63,46,105,115,80,108,97,121,105,110,103,40,41,32,63,63,32,102,97,108,115,101,59,10,32,32,32,32,125,10,32,32,32,32,103,101,116,32,105,115,80,97,117,115,101,100,40,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,63,46,105,115,80,97,117,115,101,100,40,41,32,63,63,32,102,97,108,115,101,59,10,32,32,32,32,125,10,32,32,32,32,103,101,116,32,105,115,83,116,111,112,112,101,100,40,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,63,46,105,115,83,116,111,112,112,101,100,40,41,32,63,63,32,102,97,108,115,101,59,10,32,32,32,32,125,10,32,32,32,32,103,101,116,32,99,117,114,114,101,110,116,70,114,97,109,101,40,41,32,123,10,32,32,32,32,32,32,105,102,32,40,33,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,41,32,114,101,116,117,114,110,32,48,59,10,32,32,32,32,32,32,114,101,116,117,114,110,32,77,97,116,104,46,114,111,117,110,100,40,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,99,117,114,114,101,110,116,70,114,97,109,101,40,41,32,42,32,49,48,48,41,32,47,32,49,48,48,59,10,32,32,32,32,125,10,32,32,32,32,103,101,116,32,108,111,111,112,67,111,117,110,116,40,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,63,46,108,111,111,112,67,111,117,110,116,40,41,32,63,63,32,48,59,10,32,32,32,32,125,10,32,32,32,32,103,101,116,32,116,111,116,97,108,70,114,97,109,101,115,40,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,63,46,116,111,116,97,108,70,114,97,109,101,115,40,41,32,63,63,32,48,59,10,32,32,32,32,125,10,32,32,32,32,103,101,116,32,100,117,114,97,116,105,111,110,40,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,63,46,100,117,114,97,116,105,111,110,40,41,32,63,63,32,48,59,10,32,32,32,32,125,10,32,32,32,32,103,101,116,32,115,101,103,109,101,110,116,68,117,114,97,116,105,111,110,40,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,63,46,115,101,103,109,101,110,116,68,117,114,97,116,105,111,110,40,41,32,63,63,32,48,59,10,32,32,32,32,125,10,32,32,32,32,103,101,116,32,99,97,110,118,97,115,40,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,95,99,97,110,118,97,115,59,10,32,32,32,32,125,10,32,32,32,32,108,111,97,100,40,99,111,110,102,105,103,41,32,123,10,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,32,61,61,61,32,110,117,108,108,32,124,124,32,95,68,111,116,76,111,116,116,105,101,46,95,119,97,115,109,77,111,100,117,108,101,32,61,61,61,32,110,117,108,108,41,32,114,101,116,117,114,110,59,10,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,97,110,105,109,97,116,105,111,110,70,114,97,109,101,73,100,32,33,61,61,32,110,117,108,108,41,32,123,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,102,114,97,109,101,77,97,110,97,103,101,114,46,99,97,110,99,101,108,65,110,105,109,97,116,105,111,110,70,114,97,109,101,40,116,104,105,115,46,95,97,110,105,109,97,116,105,111,110,70,114,97,109,101,73,100,41,59,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,97,110,105,109,97,116,105,111,110,70,114,97,109,101,73,100,32,61,32,110,117,108,108,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,116,104,105,115,46,95,105,115,70,114,111,122,101,110,32,61,32,102,97,108,115,101,59,10,32,32,32,32,32,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,115,101,116,67,111,110,102,105,103,40,123,10,32,32,32,32,32,32,32,32,97,110,105,109,97,116,105,111,110,73,100,58,32,99,111,110,102,105,103,46,97,110,105,109,97,116,105,111,110,73,100,32,63,63,32,34,34,44,10,32,32,32,32,32,32,32,32,116,104,101,109,101,73,100,58,32,99,111,110,102,105,103,46,116,104,101,109,101,73,100,32,63,63,32,34,34,44,10,32,32,32,32,32,32,32,32,115,116,97,116,101,77,97,99,104,105,110,101,73,100,58,32,34,34,44,10,32,32,32,32,32,32,32,32,97,117,116,111,112,108,97,121,58,32,99,111,110,102,105,103,46,97,117,116,111,112,108,97,121,32,63,63,32,102,97,108,115,101,44,10,32,32,32,32,32,32,32,32,98,97,99,107,103,114,111,117,110,100,67,111,108,111,114,58,32,48,44,10,32,32,32,32,32,32,32,32,108,111,111,112,65,110,105,109,97,116,105,111,110,58,32,99,111,110,102,105,103,46,108,111,111,112,32,63,63,32,102,97,108,115,101,44,10,32,32,32,32,32,32,32,32,109,111,100,101,58,32,99,114,101,97,116,101,67,111,114,101,77,111,100,101,40,99,111,110,102,105,103,46,109,111,100,101,32,63,63,32,34,102,111,114,119,97,114,100,34,44,32,95,68,111,116,76,111,116,116,105,101,46,95,119,97,115,109,77,111,100,117,108,101,41,44,10,32,32,32,32,32,32,32,32,115,101,103,109,101,110,116,58,32,99,114,101,97,116,101,67,111,114,101,83,101,103,109,101,110,116,40,99,111,110,102,105,103,46,115,101,103,109,101,110,116,32,63,63,32,91,93,44,32,95,68,111,116,76,111,116,116,105,101,46,95,119,97,115,109,77,111,100,117,108,101,41,44,10,32,32,32,32,32,32,32,32,115,112,101,101,100,58,32,99,111,110,102,105,103,46,115,112,101,101,100,32,63,63,32,49,44,10,32,32,32,32,32,32,32,32,117,115,101,70,114,97,109,101,73,110,116,101,114,112,111,108,97,116,105,111,110,58,32,99,111,110,102,105,103,46,117,115,101,70,114,97,109,101,73,110,116,101,114,112,111,108,97,116,105,111,110,32,63,63,32,116,114,117,101,44,10,32,32,32,32,32,32,32,32,109,97,114,107,101,114,58,32,99,111,110,102,105,103,46,109,97,114,107,101,114,32,63,63,32,34,34,44,10,32,32,32,32,32,32,32,32,108,97,121,111,117,116,58,32,99,114,101,97,116,101,67,111,114,101,76,97,121,111,117,116,40,99,111,110,102,105,103,46,108,97,121,111,117,116,44,32,95,68,111,116,76,111,116,116,105,101,46,95,119,97,115,109,77,111,100,117,108,101,41,10,32,32,32,32,32,32,125,41,59,10,32,32,32,32,32,32,105,102,32,40,99,111,110,102,105,103,46,100,97,116,97,41,32,123,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,108,111,97,100,70,114,111,109,68,97,116,97,40,99,111,110,102,105,103,46,100,97,116,97,41,59,10,32,32,32,32,32,32,125,32,101,108,115,101,32,105,102,32,40,99,111,110,102,105,103,46,115,114,99,41,32,123,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,108,111,97,100,70,114,111,109,83,114,99,40,99,111,110,102,105,103,46,115,114,99,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,116,104,105,115,46,115,101,116,66,97,99,107,103,114,111,117,110,100,67,111,108,111,114,40,99,111,110,102,105,103,46,98,97,99,107,103,114,111,117,110,100,67,111,108,111,114,32,63,63,32,34,34,41,59,10,32,32,32,32,125,10,32,32,32,32,95,114,101,110,100,101,114,40,41,32,123,10,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,32,61,61,61,32,110,117,108,108,41,32,114,101,116,117,114,110,32,102,97,108,115,101,59,10,32,32,32,32,32,32,105,102,32,40,33,116,104,105,115,46,95,99,111,110,116,101,120,116,32,38,38,32,34,103,101,116,67,111,110,116,101,120,116,34,32,105,110,32,116,104,105,115,46,95,99,97,110,118,97,115,32,38,38,32,116,121,112,101,111,102,32,116,104,105,115,46,95,99,97,110,118,97,115,46,103,101,116,67,111,110,116,101,120,116,32,61,61,61,32,34,102,117,110,99,116,105,111,110,34,41,32,123,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,99,111,110,116,101,120,116,32,61,32,116,104,105,115,46,95,99,97,110,118,97,115,46,103,101,116,67,111,110,116,101,120,116,40,34,50,100,34,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,99,111,110,115,116,32,114,101,110,100,101,114,101,100,32,61,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,114,101,110,100,101,114,40,41,59,10,32,32,32,32,32,32,105,102,32,40,114,101,110,100,101,114,101,100,41,32,123,10,32,32,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,99,111,110,116,101,120,116,41,32,123,10,32,32,32,32,32,32,32,32,32,32,99,111,110,115,116,32,98,117,102,102,101,114,32,61,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,98,117,102,102,101,114,40,41,59,10,32,32,32,32,32,32,32,32,32,32,99,111,110,115,116,32,101,120,112,101,99,116,101,100,76,101,110,103,116,104,32,61,32,116,104,105,115,46,95,99,97,110,118,97,115,46,119,105,100,116,104,32,42,32,116,104,105,115,46,95,99,97,110,118,97,115,46,104,101,105,103,104,116,32,42,32,66,89,84,69,83,95,80,69,82,95,80,73,88,69,76,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,98,117,102,102,101,114,46,98,121,116,101,76,101,110,103,116,104,32,33,61,61,32,101,120,112,101,99,116,101,100,76,101,110,103,116,104,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,99,111,110,115,111,108,101,46,119,97,114,110,40,96,66,117,102,102,101,114,32,115,105,122,101,32,109,105,115,109,97,116,99,104,58,32,103,111,116,32,36,123,98,117,102,102,101,114,46,98,121,116,101,76,101,110,103,116,104,125,44,32,101,120,112,101,99,116,101,100,32,36,123,101,120,112,101,99,116,101,100,76,101,110,103,116,104,125,96,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,102,97,108,115,101,59,10,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,32,32,108,101,116,32,105,109,97,103,101,68,97,116,97,32,61,32,110,117,108,108,59,10,32,32,32,32,32,32,32,32,32,32,99,111,110,115,116,32,99,108,97,109,112,101,100,66,117,102,102,101,114,32,61,32,110,101,119,32,85,105,110,116,56,67,108,97,109,112,101,100,65,114,114,97,121,40,98,117,102,102,101,114,44,32,48,44,32,98,117,102,102,101,114,46,98,121,116,101,76,101,110,103,116,104,41,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,116,121,112,101,111,102,32,73,109,97,103,101,68,97,116,97,32,61,61,61,32,34,117,110,100,101,102,105,110,101,100,34,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,105,109,97,103,101,68,97,116,97,32,61,32,116,104,105,115,46,95,99,111,110,116,101,120,116,46,99,114,101,97,116,101,73,109,97,103,101,68,97,116,97,40,116,104,105,115,46,95,99,97,110,118,97,115,46,119,105,100,116,104,44,32,116,104,105,115,46,95,99,97,110,118,97,115,46,104,101,105,103,104,116,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,105,109,97,103,101,68,97,116,97,46,100,97,116,97,46,115,101,116,40,99,108,97,109,112,101,100,66,117,102,102,101,114,41,59,10,32,32,32,32,32,32,32,32,32,32,125,32,101,108,115,101,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,105,109,97,103,101,68,97,116,97,32,61,32,110,101,119,32,73,109,97,103,101,68,97,116,97,40,99,108,97,109,112,101,100,66,117,102,102,101,114,44,32,116,104,105,115,46,95,99,97,110,118,97,115,46,119,105,100,116,104,44,32,116,104,105,115,46,95,99,97,110,118,97,115,46,104,101,105,103,104,116,41,59,10,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,32,32,116,104,105,115,46,95,99,111,110,116,101,120,116,46,112,117,116,73,109,97,103,101,68,97,116,97,40,105,109,97,103,101,68,97,116,97,44,32,48,44,32,48,41,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,101,118,101,110,116,77,97,110,97,103,101,114,46,100,105,115,112,97,116,99,104,40,123,10,32,32,32,32,32,32,32,32,32,32,116,121,112,101,58,32,34,114,101,110,100,101,114,34,44,10,32,32,32,32,32,32,32,32,32,32,99,117,114,114,101,110,116,70,114,97,109,101,58,32,116,104,105,115,46,99,117,114,114,101,110,116,70,114,97,109,101,10,32,32,32,32,32,32,32,32,125,41,59,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,116,114,117,101,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,114,101,116,117,114,110,32,102,97,108,115,101,59,10,32,32,32,32,125,10,32,32,32,32,95,100,114,97,119,40,41,32,123,10,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,32,61,61,61,32,110,117,108,108,32,124,124,32,33,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,105,115,80,108,97,121,105,110,103,40,41,41,32,114,101,116,117,114,110,59,10,32,32,32,32,32,32,116,114,121,32,123,10,32,32,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,105,115,84,119,101,101,110,105,110,103,40,41,41,32,123,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,116,119,101,101,110,85,112,100,97,116,101,40,41,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,116,104,105,115,46,95,114,101,110,100,101,114,40,41,59,10,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,125,32,101,108,115,101,32,123,10,32,32,32,32,32,32,32,32,32,32,99,111,110,115,116,32,110,101,120,116,70,114,97,109,101,32,61,32,77,97,116,104,46,114,111,117,110,100,40,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,114,101,113,117,101,115,116,70,114,97,109,101,40,41,32,42,32,49,101,51,41,32,47,32,49,101,51,59,10,32,32,32,32,32,32,32,32,32,32,99,111,110,115,116,32,117,112,100,97,116,101,100,32,61,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,115,101,116,70,114,97,109,101,40,110,101,120,116,70,114,97,109,101,41,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,117,112,100,97,116,101,100,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,116,104,105,115,46,95,101,118,101,110,116,77,97,110,97,103,101,114,46,100,105,115,112,97,116,99,104,40,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,116,121,112,101,58,32,34,102,114,97,109,101,34,44,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,99,117,114,114,101,110,116,70,114,97,109,101,58,32,116,104,105,115,46,99,117,114,114,101,110,116,70,114,97,109,101,10,32,32,32,32,32,32,32,32,32,32,32,32,125,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,99,111,110,115,116,32,114,101,110,100,101,114,101,100,32,61,32,116,104,105,115,46,95,114,101,110,100,101,114,40,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,105,102,32,40,114,101,110,100,101,114,101,100,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,105,115,67,111,109,112,108,101,116,101,40,41,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,99,111,110,102,105,103,40,41,46,108,111,111,112,65,110,105,109,97,116,105,111,110,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,116,104,105,115,46,95,101,118,101,110,116,77,97,110,97,103,101,114,46,100,105,115,112,97,116,99,104,40,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,116,121,112,101,58,32,34,108,111,111,112,34,44,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,108,111,111,112,67,111,117,110,116,58,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,108,111,111,112,67,111,117,110,116,40,41,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,125,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,125,32,101,108,115,101,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,116,104,105,115,46,95,101,118,101,110,116,77,97,110,97,103,101,114,46,100,105,115,112,97,116,99,104,40,123,32,116,121,112,101,58,32,34,99,111,109,112,108,101,116,101,34,32,125,41,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,114,101,116,117,114,110,59,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,97,110,105,109,97,116,105,111,110,70,114,97,109,101,73,100,32,61,32,116,104,105,115,46,95,102,114,97,109,101,77,97,110,97,103,101,114,46,114,101,113,117,101,115,116,65,110,105,109,97,116,105,111,110,70,114,97,109,101,40,116,104,105,115,46,95,100,114,97,119,46,98,105,110,100,40,116,104,105,115,41,41,59,10,32,32,32,32,32,32,125,32,99,97,116,99,104,32,40,101,114,114,111,114,41,32,123,10,32,32,32,32,32,32,32,32,99,111,110,115,111,108,101,46,101,114,114,111,114,40,34,69,114,114,111,114,32,105,110,32,97,110,105,109,97,116,105,111,110,32,102,114,97,109,101,58,34,44,32,101,114,114,111,114,41,59,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,101,118,101,110,116,77,97,110,97,103,101,114,46,100,105,115,112,97,116,99,104,40,123,32,116,121,112,101,58,32,34,114,101,110,100,101,114,69,114,114,111,114,34,44,32,101,114,114,111,114,32,125,41,59,10,32,32,32,32,32,32,32,32,105,102,32,40,101,114,114,111,114,32,105,110,115,116,97,110,99,101,111,102,32,87,101,98,65,115,115,101,109,98,108,121,46,82,117,110,116,105,109,101,69,114,114,111,114,41,32,123,10,32,32,32,32,32,32,32,32,32,32,116,104,105,115,46,100,101,115,116,114,111,121,40,41,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,10,32,32,32,32,125,10,32,32,32,32,112,108,97,121,40,41,32,123,10,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,32,61,61,61,32,110,117,108,108,41,32,114,101,116,117,114,110,59,10,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,97,110,105,109,97,116,105,111,110,70,114,97,109,101,73,100,32,33,61,61,32,110,117,108,108,41,32,123,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,102,114,97,109,101,77,97,110,97,103,101,114,46,99,97,110,99,101,108,65,110,105,109,97,116,105,111,110,70,114,97,109,101,40,116,104,105,115,46,95,97,110,105,109,97,116,105,111,110,70,114,97,109,101,73,100,41,59,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,97,110,105,109,97,116,105,111,110,70,114,97,109,101,73,100,32,61,32,110,117,108,108,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,99,111,110,115,116,32,111,107,32,61,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,112,108,97,121,40,41,59,10,32,32,32,32,32,32,105,102,32,40,111,107,32,124,124,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,105,115,80,108,97,121,105,110,103,40,41,41,32,123,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,105,115,70,114,111,122,101,110,32,61,32,102,97,108,115,101,59,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,101,118,101,110,116,77,97,110,97,103,101,114,46,100,105,115,112,97,116,99,104,40,123,32,116,121,112,101,58,32,34,112,108,97,121,34,32,125,41,59,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,97,110,105,109,97,116,105,111,110,70,114,97,109,101,73,100,32,61,32,116,104,105,115,46,95,102,114,97,109,101,77,97,110,97,103,101,114,46,114,101,113,117,101,115,116,65,110,105,109,97,116,105,111,110,70,114,97,109,101,40,116,104,105,115,46,95,100,114,97,119,46,98,105,110,100,40,116,104,105,115,41,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,105,102,32,40,73,83,95,66,82,79,87,83,69,82,32,38,38,32,116,104,105,115,46,95,99,97,110,118,97,115,32,105,110,115,116,97,110,99,101,111,102,32,72,84,77,76,67,97,110,118,97,115,69,108,101,109,101,110,116,32,38,38,32,116,104,105,115,46,95,114,101,110,100,101,114,67,111,110,102,105,103,46,102,114,101,101,122,101,79,110,79,102,102,115,99,114,101,101,110,32,38,38,32,33,105,115,69,108,101,109,101,110,116,73,110,86,105,101,119,112,111,114,116,40,116,104,105,115,46,95,99,97,110,118,97,115,41,41,32,123,10,32,32,32,32,32,32,32,32,116,104,105,115,46,102,114,101,101,122,101,40,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,125,10,32,32,32,32,112,97,117,115,101,40,41,32,123,10,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,32,61,61,61,32,110,117,108,108,41,32,114,101,116,117,114,110,59,10,32,32,32,32,32,32,99,111,110,115,116,32,111,107,32,61,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,112,97,117,115,101,40,41,59,10,32,32,32,32,32,32,105,102,32,40,111,107,32,124,124,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,105,115,80,97,117,115,101,100,40,41,41,32,123,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,101,118,101,110,116,77,97,110,97,103,101,114,46,100,105,115,112,97,116,99,104,40,123,32,116,121,112,101,58,32,34,112,97,117,115,101,34,32,125,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,125,10,32,32,32,32,115,116,111,112,40,41,32,123,10,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,32,61,61,61,32,110,117,108,108,41,32,114,101,116,117,114,110,59,10,32,32,32,32,32,32,99,111,110,115,116,32,111,107,32,61,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,115,116,111,112,40,41,59,10,32,32,32,32,32,32,105,102,32,40,111,107,41,32,123,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,101,118,101,110,116,77,97,110,97,103,101,114,46,100,105,115,112,97,116,99,104,40,123,32,116,121,112,101,58,32,34,102,114,97,109,101,34,44,32,99,117,114,114,101,110,116,70,114,97,109,101,58,32,116,104,105,115,46,99,117,114,114,101,110,116,70,114,97,109,101,32,125,41,59,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,114,101,110,100,101,114,40,41,59,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,101,118,101,110,116,77,97,110,97,103,101,114,46,100,105,115,112,97,116,99,104,40,123,32,116,121,112,101,58,32,34,115,116,111,112,34,32,125,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,125,10,32,32,32,32,115,101,116,70,114,97,109,101,40,102,114,97,109,101,41,32,123,10,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,32,61,61,61,32,110,117,108,108,41,32,114,101,116,117,114,110,59,10,32,32,32,32,32,32,105,102,32,40,102,114,97,109,101,32,60,32,48,32,124,124,32,102,114,97,109,101,32,62,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,116,111,116,97,108,70,114,97,109,101,115,40,41,41,32,114,101,116,117,114,110,59,10,32,32,32,32,32,32,99,111,110,115,116,32,111,107,32,61,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,115,101,101,107,40,102,114,97,109,101,41,59,10,32,32,32,32,32,32,105,102,32,40,111,107,41,32,123,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,101,118,101,110,116,77,97,110,97,103,101,114,46,100,105,115,112,97,116,99,104,40,123,32,116,121,112,101,58,32,34,102,114,97,109,101,34,44,32,99,117,114,114,101,110,116,70,114,97,109,101,58,32,116,104,105,115,46,99,117,114,114,101,110,116,70,114,97,109,101,32,125,41,59,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,114,101,110,100,101,114,40,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,125,10,32,32,32,32,115,101,116,83,112,101,101,100,40,115,112,101,101,100,41,32,123,10,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,32,61,61,61,32,110,117,108,108,41,32,114,101,116,117,114,110,59,10,32,32,32,32,32,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,115,101,116,67,111,110,102,105,103,40,123,10,32,32,32,32,32,32,32,32,46,46,46,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,99,111,110,102,105,103,40,41,44,10,32,32,32,32,32,32,32,32,115,112,101,101,100,10,32,32,32,32,32,32,125,41,59,10,32,32,32,32,125,10,32,32,32,32,115,101,116,66,97,99,107,103,114,111,117,110,100,67,111,108,111,114,40,99,111,108,111,114,41,32,123,10,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,32,61,61,61,32,110,117,108,108,41,32,114,101,116,117,114,110,59,10,32,32,32,32,32,32,105,102,32,40,73,83,95,66,82,79,87,83,69,82,32,38,38,32,116,104,105,115,46,95,99,97,110,118,97,115,32,105,110,115,116,97,110,99,101,111,102,32,72,84,77,76,67,97,110,118,97,115,69,108,101,109,101,110,116,41,32,123,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,99,97,110,118,97,115,46,115,116,121,108,101,46,98,97,99,107,103,114,111,117,110,100,67,111,108,111,114,32,61,32,99,111,108,111,114,59,10,32,32,32,32,32,32,125,32,101,108,115,101,32,123,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,115,101,116,67,111,110,102,105,103,40,123,10,32,32,32,32,32,32,32,32,32,32,46,46,46,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,99,111,110,102,105,103,40,41,44,10,32,32,32,32,32,32,32,32,32,32,98,97,99,107,103,114,111,117,110,100,67,111,108,111,114,58,32,104,101,120,83,116,114,105,110,103,84,111,82,71,66,65,73,110,116,40,99,111,108,111,114,41,10,32,32,32,32,32,32,32,32,125,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,116,104,105,115,46,95,98,97,99,107,103,114,111,117,110,100,67,111,108,111,114,32,61,32,99,111,108,111,114,59,10,32,32,32,32,125,10,32,32,32,32,115,101,116,76,111,111,112,40,108,111,111,112,41,32,123,10,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,32,61,61,61,32,110,117,108,108,41,32,114,101,116,117,114,110,59,10,32,32,32,32,32,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,115,101,116,67,111,110,102,105,103,40,123,10,32,32,32,32,32,32,32,32,46,46,46,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,99,111,110,102,105,103,40,41,44,10,32,32,32,32,32,32,32,32,108,111,111,112,65,110,105,109,97,116,105,111,110,58,32,108,111,111,112,10,32,32,32,32,32,32,125,41,59,10,32,32,32,32,125,10,32,32,32,32,115,101,116,85,115,101,70,114,97,109,101,73,110,116,101,114,112,111,108,97,116,105,111,110,40,117,115,101,70,114,97,109,101,73,110,116,101,114,112,111,108,97,116,105,111,110,41,32,123,10,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,32,61,61,61,32,110,117,108,108,41,32,114,101,116,117,114,110,59,10,32,32,32,32,32,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,115,101,116,67,111,110,102,105,103,40,123,10,32,32,32,32,32,32,32,32,46,46,46,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,99,111,110,102,105,103,40,41,44,10,32,32,32,32,32,32,32,32,117,115,101,70,114,97,109,101,73,110,116,101,114,112,111,108,97,116,105,111,110,10,32,32,32,32,32,32,125,41,59,10,32,32,32,32,125,10,32,32,32,32,97,100,100,69,118,101,110,116,76,105,115,116,101,110,101,114,40,116,121,112,101,44,32,108,105,115,116,101,110,101,114,41,32,123,10,32,32,32,32,32,32,116,104,105,115,46,95,101,118,101,110,116,77,97,110,97,103,101,114,46,97,100,100,69,118,101,110,116,76,105,115,116,101,110,101,114,40,116,121,112,101,44,32,108,105,115,116,101,110,101,114,41,59,10,32,32,32,32,125,10,32,32,32,32,114,101,109,111,118,101,69,118,101,110,116,76,105,115,116,101,110,101,114,40,116,121,112,101,44,32,108,105,115,116,101,110,101,114,41,32,123,10,32,32,32,32,32,32,116,104,105,115,46,95,101,118,101,110,116,77,97,110,97,103,101,114,46,114,101,109,111,118,101,69,118,101,110,116,76,105,115,116,101,110,101,114,40,116,121,112,101,44,32,108,105,115,116,101,110,101,114,41,59,10,32,32,32,32,125,10,32,32,32,32,100,101,115,116,114,111,121,40,41,32,123,10,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,97,110,105,109,97,116,105,111,110,70,114,97,109,101,73,100,32,33,61,61,32,110,117,108,108,41,32,123,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,102,114,97,109,101,77,97,110,97,103,101,114,46,99,97,110,99,101,108,65,110,105,109,97,116,105,111,110,70,114,97,109,101,40,116,104,105,115,46,95,97,110,105,109,97,116,105,111,110,70,114,97,109,101,73,100,41,59,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,97,110,105,109,97,116,105,111,110,70,114,97,109,101,73,100,32,61,32,110,117,108,108,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,105,102,32,40,73,83,95,66,82,79,87,83,69,82,32,38,38,32,116,104,105,115,46,95,99,97,110,118,97,115,32,105,110,115,116,97,110,99,101,111,102,32,72,84,77,76,67,97,110,118,97,115,69,108,101,109,101,110,116,41,32,123,10,32,32,32,32,32,32,32,32,79,102,102,115,99,114,101,101,110,79,98,115,101,114,118,101,114,46,117,110,111,98,115,101,114,118,101,40,116,104,105,115,46,95,99,97,110,118,97,115,41,59,10,32,32,32,32,32,32,32,32,67,97,110,118,97,115,82,101,115,105,122,101,79,98,115,101,114,118,101,114,46,117,110,111,98,115,101,114,118,101,40,116,104,105,115,46,95,99,97,110,118,97,115,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,63,46,100,101,108,101,116,101,40,41,59,10,32,32,32,32,32,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,32,61,32,110,117,108,108,59,10,32,32,32,32,32,32,116,104,105,115,46,95,99,111,110,116,101,120,116,32,61,32,110,117,108,108,59,10,32,32,32,32,32,32,116,104,105,115,46,95,101,118,101,110,116,77,97,110,97,103,101,114,46,100,105,115,112,97,116,99,104,40,123,10,32,32,32,32,32,32,32,32,116,121,112,101,58,32,34,100,101,115,116,114,111,121,34,10,32,32,32,32,32,32,125,41,59,10,32,32,32,32,32,32,116,104,105,115,46,95,101,118,101,110,116,77,97,110,97,103,101,114,46,114,101,109,111,118,101,65,108,108,69,118,101,110,116,76,105,115,116,101,110,101,114,115,40,41,59,10,32,32,32,32,32,32,116,104,105,115,46,95,99,108,101,97,110,117,112,83,116,97,116,101,77,97,99,104,105,110,101,76,105,115,116,101,110,101,114,115,40,41,59,10,32,32,32,32,125,10,32,32,32,32,102,114,101,101,122,101,40,41,32,123,10,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,97,110,105,109,97,116,105,111,110,70,114,97,109,101,73,100,32,61,61,61,32,110,117,108,108,41,32,114,101,116,117,114,110,59,10,32,32,32,32,32,32,116,104,105,115,46,95,102,114,97,109,101,77,97,110,97,103,101,114,46,99,97,110,99,101,108,65,110,105,109,97,116,105,111,110,70,114,97,109,101,40,116,104,105,115,46,95,97,110,105,109,97,116,105,111,110,70,114,97,109,101,73,100,41,59,10,32,32,32,32,32,32,116,104,105,115,46,95,97,110,105,109,97,116,105,111,110,70,114,97,109,101,73,100,32,61,32,110,117,108,108,59,10,32,32,32,32,32,32,116,104,105,115,46,95,105,115,70,114,111,122,101,110,32,61,32,116,114,117,101,59,10,32,32,32,32,32,32,116,104,105,115,46,95,101,118,101,110,116,77,97,110,97,103,101,114,46,100,105,115,112,97,116,99,104,40,123,32,116,121,112,101,58,32,34,102,114,101,101,122,101,34,32,125,41,59,10,32,32,32,32,125,10,32,32,32,32,117,110,102,114,101,101,122,101,40,41,32,123,10,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,97,110,105,109,97,116,105,111,110,70,114,97,109,101,73,100,32,33,61,61,32,110,117,108,108,41,32,114,101,116,117,114,110,59,10,32,32,32,32,32,32,116,104,105,115,46,95,97,110,105,109,97,116,105,111,110,70,114,97,109,101,73,100,32,61,32,116,104,105,115,46,95,102,114,97,109,101,77,97,110,97,103,101,114,46,114,101,113,117,101,115,116,65,110,105,109,97,116,105,111,110,70,114,97,109,101,40,116,104,105,115,46,95,100,114,97,119,46,98,105,110,100,40,116,104,105,115,41,41,59,10,32,32,32,32,32,32,116,104,105,115,46,95,105,115,70,114,111,122,101,110,32,61,32,102,97,108,115,101,59,10,32,32,32,32,32,32,116,104,105,115,46,95,101,118,101,110,116,77,97,110,97,103,101,114,46,100,105,115,112,97,116,99,104,40,123,32,116,121,112,101,58,32,34,117,110,102,114,101,101,122,101,34,32,125,41,59,10,32,32,32,32,125,10,32,32,32,32,114,101,115,105,122,101,40,41,32,123,10,32,32,32,32,32,32,105,102,32,40,33,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,32,124,124,32,33,116,104,105,115,46,105,115,76,111,97,100,101,100,41,32,114,101,116,117,114,110,59,10,32,32,32,32,32,32,105,102,32,40,73,83,95,66,82,79,87,83,69,82,32,38,38,32,116,104,105,115,46,95,99,97,110,118,97,115,32,105,110,115,116,97,110,99,101,111,102,32,72,84,77,76,67,97,110,118,97,115,69,108,101,109,101,110,116,41,32,123,10,32,32,32,32,32,32,32,32,99,111,110,115,116,32,100,112,114,32,61,32,116,104,105,115,46,95,114,101,110,100,101,114,67,111,110,102,105,103,46,100,101,118,105,99,101,80,105,120,101,108,82,97,116,105,111,32,124,124,32,119,105,110,100,111,119,46,100,101,118,105,99,101,80,105,120,101,108,82,97,116,105,111,32,124,124,32,49,59,10,32,32,32,32,32,32,32,32,99,111,110,115,116,32,123,32,104,101,105,103,104,116,58,32,99,108,105,101,110,116,72,101,105,103,104,116,44,32,119,105,100,116,104,58,32,99,108,105,101,110,116,87,105,100,116,104,32,125,32,61,32,116,104,105,115,46,95,99,97,110,118,97,115,46,103,101,116,66,111,117,110,100,105,110,103,67,108,105,101,110,116,82,101,99,116,40,41,59,10,32,32,32,32,32,32,32,32,105,102,32,40,99,108,105,101,110,116,72,101,105,103,104,116,32,33,61,61,32,48,32,38,38,32,99,108,105,101,110,116,87,105,100,116,104,32,33,61,61,32,48,41,32,123,10,32,32,32,32,32,32,32,32,32,32,116,104,105,115,46,95,99,97,110,118,97,115,46,119,105,100,116,104,32,61,32,99,108,105,101,110,116,87,105,100,116,104,32,42,32,100,112,114,59,10,32,32,32,32,32,32,32,32,32,32,116,104,105,115,46,95,99,97,110,118,97,115,46,104,101,105,103,104,116,32,61,32,99,108,105,101,110,116,72,101,105,103,104,116,32,42,32,100,112,114,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,99,111,110,115,116,32,111,107,32,61,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,114,101,115,105,122,101,40,116,104,105,115,46,95,99,97,110,118,97,115,46,119,105,100,116,104,44,32,116,104,105,115,46,95,99,97,110,118,97,115,46,104,101,105,103,104,116,41,59,10,32,32,32,32,32,32,105,102,32,40,111,107,41,32,123,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,114,101,110,100,101,114,40,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,125,10,32,32,32,32,115,101,116,83,101,103,109,101,110,116,40,115,116,97,114,116,70,114,97,109,101,44,32,101,110,100,70,114,97,109,101,41,32,123,10,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,32,61,61,61,32,110,117,108,108,32,124,124,32,95,68,111,116,76,111,116,116,105,101,46,95,119,97,115,109,77,111,100,117,108,101,32,61,61,61,32,110,117,108,108,41,32,114,101,116,117,114,110,59,10,32,32,32,32,32,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,115,101,116,67,111,110,102,105,103,40,123,10,32,32,32,32,32,32,32,32,46,46,46,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,99,111,110,102,105,103,40,41,44,10,32,32,32,32,32,32,32,32,115,101,103,109,101,110,116,58,32,99,114,101,97,116,101,67,111,114,101,83,101,103,109,101,110,116,40,91,115,116,97,114,116,70,114,97,109,101,44,32,101,110,100,70,114,97,109,101,93,44,32,95,68,111,116,76,111,116,116,105,101,46,95,119,97,115,109,77,111,100,117,108,101,41,10,32,32,32,32,32,32,125,41,59,10,32,32,32,32,125,10,32,32,32,32,115,101,116,77,111,100,101,40,109,111,100,101,41,32,123,10,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,32,61,61,61,32,110,117,108,108,32,124,124,32,95,68,111,116,76,111,116,116,105,101,46,95,119,97,115,109,77,111,100,117,108,101,32,61,61,61,32,110,117,108,108,41,32,114,101,116,117,114,110,59,10,32,32,32,32,32,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,115,101,116,67,111,110,102,105,103,40,123,10,32,32,32,32,32,32,32,32,46,46,46,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,99,111,110,102,105,103,40,41,44,10,32,32,32,32,32,32,32,32,109,111,100,101,58,32,99,114,101,97,116,101,67,111,114,101,77,111,100,101,40,109,111,100,101,44,32,95,68,111,116,76,111,116,116,105,101,46,95,119,97,115,109,77,111,100,117,108,101,41,10,32,32,32,32,32,32,125,41,59,10,32,32,32,32,125,10,32,32,32,32,115,101,116,82,101,110,100,101,114,67,111,110,102,105,103,40,99,111,110,102,105,103,41,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,123,32,100,101,118,105,99,101,80,105,120,101,108,82,97,116,105,111,44,32,102,114,101,101,122,101,79,110,79,102,102,115,99,114,101,101,110,44,32,46,46,46,114,101,115,116,67,111,110,102,105,103,32,125,32,61,32,99,111,110,102,105,103,59,10,32,32,32,32,32,32,116,104,105,115,46,95,114,101,110,100,101,114,67,111,110,102,105,103,32,61,32,123,10,32,32,32,32,32,32,32,32,46,46,46,116,104,105,115,46,95,114,101,110,100,101,114,67,111,110,102,105,103,44,10,32,32,32,32,32,32,32,32,46,46,46,114,101,115,116,67,111,110,102,105,103,44,10,32,32,32,32,32,32,32,32,47,47,32,100,101,118,105,99,101,80,105,120,101,108,82,97,116,105,111,32,105,115,32,97,32,115,112,101,99,105,97,108,32,99,97,115,101,44,32,105,116,32,115,104,111,117,108,100,32,98,101,32,115,101,116,32,116,111,32,116,104,101,32,100,101,102,97,117,108,116,32,118,97,108,117,101,32,105,102,32,105,116,39,115,32,110,111,116,32,112,114,111,118,105,100,101,100,10,32,32,32,32,32,32,32,32,100,101,118,105,99,101,80,105,120,101,108,82,97,116,105,111,58,32,100,101,118,105,99,101,80,105,120,101,108,82,97,116,105,111,32,124,124,32,103,101,116,68,101,102,97,117,108,116,68,80,82,40,41,44,10,32,32,32,32,32,32,32,32,102,114,101,101,122,101,79,110,79,102,102,115,99,114,101,101,110,58,32,102,114,101,101,122,101,79,110,79,102,102,115,99,114,101,101,110,32,63,63,32,116,114,117,101,10,32,32,32,32,32,32,125,59,10,32,32,32,32,32,32,105,102,32,40,73,83,95,66,82,79,87,83,69,82,32,38,38,32,116,104,105,115,46,95,99,97,110,118,97,115,32,105,110,115,116,97,110,99,101,111,102,32,72,84,77,76,67,97,110,118,97,115,69,108,101,109,101,110,116,41,32,123,10,32,32,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,114,101,110,100,101,114,67,111,110,102,105,103,46,97,117,116,111,82,101,115,105,122,101,41,32,123,10,32,32,32,32,32,32,32,32,32,32,67,97,110,118,97,115,82,101,115,105,122,101,79,98,115,101,114,118,101,114,46,111,98,115,101,114,118,101,40,116,104,105,115,46,95,99,97,110,118,97,115,44,32,116,104,105,115,41,59,10,32,32,32,32,32,32,32,32,125,32,101,108,115,101,32,123,10,32,32,32,32,32,32,32,32,32,32,67,97,110,118,97,115,82,101,115,105,122,101,79,98,115,101,114,118,101,114,46,117,110,111,98,115,101,114,118,101,40,116,104,105,115,46,95,99,97,110,118,97,115,41,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,114,101,110,100,101,114,67,111,110,102,105,103,46,102,114,101,101,122,101,79,110,79,102,102,115,99,114,101,101,110,41,32,123,10,32,32,32,32,32,32,32,32,32,32,79,102,102,115,99,114,101,101,110,79,98,115,101,114,118,101,114,46,111,98,115,101,114,118,101,40,116,104,105,115,46,95,99,97,110,118,97,115,44,32,116,104,105,115,41,59,10,32,32,32,32,32,32,32,32,125,32,101,108,115,101,32,123,10,32,32,32,32,32,32,32,32,32,32,79,102,102,115,99,114,101,101,110,79,98,115,101,114,118,101,114,46,117,110,111,98,115,101,114,118,101,40,116,104,105,115,46,95,99,97,110,118,97,115,41,59,10,32,32,32,32,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,105,115,70,114,111,122,101,110,41,32,123,10,32,32,32,32,32,32,32,32,32,32,32,32,116,104,105,115,46,117,110,102,114,101,101,122,101,40,41,59,10,32,32,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,10,32,32,32,32,125,10,32,32,32,32,108,111,97,100,65,110,105,109,97,116,105,111,110,40,97,110,105,109,97,116,105,111,110,73,100,41,32,123,10,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,32,61,61,61,32,110,117,108,108,32,124,124,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,97,99,116,105,118,101,65,110,105,109,97,116,105,111,110,73,100,40,41,32,61,61,61,32,97,110,105,109,97,116,105,111,110,73,100,41,32,114,101,116,117,114,110,59,10,32,32,32,32,32,32,99,111,110,115,116,32,108,111,97,100,101,100,32,61,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,108,111,97,100,65,110,105,109,97,116,105,111,110,40,97,110,105,109,97,116,105,111,110,73,100,44,32,116,104,105,115,46,95,99,97,110,118,97,115,46,119,105,100,116,104,44,32,116,104,105,115,46,95,99,97,110,118,97,115,46,104,101,105,103,104,116,41,59,10,32,32,32,32,32,32,105,102,32,40,108,111,97,100,101,100,41,32,123,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,101,118,101,110,116,77,97,110,97,103,101,114,46,100,105,115,112,97,116,99,104,40,123,32,116,121,112,101,58,32,34,108,111,97,100,34,32,125,41,59,10,32,32,32,32,32,32,32,32,116,104,105,115,46,114,101,115,105,122,101,40,41,59,10,32,32,32,32,32,32,125,32,101,108,115,101,32,123,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,101,118,101,110,116,77,97,110,97,103,101,114,46,100,105,115,112,97,116,99,104,40,123,10,32,32,32,32,32,32,32,32,32,32,116,121,112,101,58,32,34,108,111,97,100,69,114,114,111,114,34,44,10,32,32,32,32,32,32,32,32,32,32,101,114,114,111,114,58,32,110,101,119,32,69,114,114,111,114,40,96,70,97,105,108,101,100,32,116,111,32,97,110,105,109,97,116,105,111,110,32,58,36,123,97,110,105,109,97,116,105,111,110,73,100,125,96,41,10,32,32,32,32,32,32,32,32,125,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,125,10,32,32,32,32,115,101,116,77,97,114,107,101,114,40,109,97,114,107,101,114,41,32,123,10,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,32,61,61,61,32,110,117,108,108,41,32,114,101,116,117,114,110,59,10,32,32,32,32,32,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,115,101,116,67,111,110,102,105,103,40,123,10,32,32,32,32,32,32,32,32,46,46,46,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,99,111,110,102,105,103,40,41,44,10,32,32,32,32,32,32,32,32,109,97,114,107,101,114,10,32,32,32,32,32,32,125,41,59,10,32,32,32,32,125,10,32,32,32,32,109,97,114,107,101,114,115,40,41,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,109,97,114,107,101,114,115,32,61,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,63,46,109,97,114,107,101,114,115,40,41,59,10,32,32,32,32,32,32,105,102,32,40,109,97,114,107,101,114,115,41,32,123,10,32,32,32,32,32,32,32,32,99,111,110,115,116,32,114,101,115,117,108,116,32,61,32,91,93,59,10,32,32,32,32,32,32,32,32,102,111,114,32,40,108,101,116,32,105,32,61,32,48,59,32,105,32,60,32,109,97,114,107,101,114,115,46,115,105,122,101,40,41,59,32,105,32,43,61,32,49,41,32,123,10,32,32,32,32,32,32,32,32,32,32,99,111,110,115,116,32,109,97,114,107,101,114,32,61,32,109,97,114,107,101,114,115,46,103,101,116,40,105,41,59,10,32,32,32,32,32,32,32,32,32,32,114,101,115,117,108,116,46,112,117,115,104,40,123,10,32,32,32,32,32,32,32,32,32,32,32,32,110,97,109,101,58,32,109,97,114,107,101,114,46,110,97,109,101,44,10,32,32,32,32,32,32,32,32,32,32,32,32,116,105,109,101,58,32,109,97,114,107,101,114,46,116,105,109,101,44,10,32,32,32,32,32,32,32,32,32,32,32,32,100,117,114,97,116,105,111,110,58,32,109,97,114,107,101,114,46,100,117,114,97,116,105,111,110,10,32,32,32,32,32,32,32,32,32,32,125,41,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,114,101,116,117,114,110,32,114,101,115,117,108,116,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,114,101,116,117,114,110,32,91,93,59,10,32,32,32,32,125,10,32,32,32,32,115,101,116,84,104,101,109,101,40,116,104,101,109,101,73,100,41,32,123,10,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,32,61,61,61,32,110,117,108,108,41,32,114,101,116,117,114,110,32,102,97,108,115,101,59,10,32,32,32,32,32,32,99,111,110,115,116,32,108,111,97,100,101,100,32,61,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,115,101,116,84,104,101,109,101,40,116,104,101,109,101,73,100,41,59,10,32,32,32,32,32,32,116,104,105,115,46,95,114,101,110,100,101,114,40,41,59,10,32,32,32,32,32,32,114,101,116,117,114,110,32,108,111,97,100,101,100,59,10,32,32,32,32,125,10,32,32,32,32,114,101,115,101,116,84,104,101,109,101,40,41,32,123,10,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,32,61,61,61,32,110,117,108,108,41,32,114,101,116,117,114,110,32,102,97,108,115,101,59,10,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,114,101,115,101,116,84,104,101,109,101,40,41,59,10,32,32,32,32,125,10,32,32,32,32,115,101,116,84,104,101,109,101,68,97,116,97,40,116,104,101,109,101,68,97,116,97,41,32,123,10,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,32,61,61,61,32,110,117,108,108,41,32,114,101,116,117,114,110,32,102,97,108,115,101,59,10,32,32,32,32,32,32,99,111,110,115,116,32,108,111,97,100,101,100,32,61,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,115,101,116,84,104,101,109,101,68,97,116,97,40,116,104,101,109,101,68,97,116,97,41,59,10,32,32,32,32,32,32,116,104,105,115,46,95,114,101,110,100,101,114,40,41,59,10,32,32,32,32,32,32,114,101,116,117,114,110,32,108,111,97,100,101,100,59,10,32,32,32,32,125,10,32,32,32,32,115,101,116,83,108,111,116,115,40,115,108,111,116,115,41,32,123,10,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,32,61,61,61,32,110,117,108,108,41,32,114,101,116,117,114,110,59,10,32,32,32,32,32,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,115,101,116,83,108,111,116,115,40,115,108,111,116,115,41,59,10,32,32,32,32,125,10,32,32,32,32,115,101,116,76,97,121,111,117,116,40,108,97,121,111,117,116,41,32,123,10,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,32,61,61,61,32,110,117,108,108,32,124,124,32,95,68,111,116,76,111,116,116,105,101,46,95,119,97,115,109,77,111,100,117,108,101,32,61,61,61,32,110,117,108,108,41,32,114,101,116,117,114,110,59,10,32,32,32,32,32,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,115,101,116,67,111,110,102,105,103,40,123,10,32,32,32,32,32,32,32,32,46,46,46,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,99,111,110,102,105,103,40,41,44,10,32,32,32,32,32,32,32,32,108,97,121,111,117,116,58,32,99,114,101,97,116,101,67,111,114,101,76,97,121,111,117,116,40,108,97,121,111,117,116,44,32,95,68,111,116,76,111,116,116,105,101,46,95,119,97,115,109,77,111,100,117,108,101,41,10,32,32,32,32,32,32,125,41,59,10,32,32,32,32,125,10,32,32,32,32,115,101,116,86,105,101,119,112,111,114,116,40,120,44,32,121,44,32,119,105,100,116,104,44,32,104,101,105,103,104,116,41,32,123,10,32,32,32,32,32,32,105,102,32,40,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,32,61,61,61,32,110,117,108,108,41,32,114,101,116,117,114,110,32,102,97,108,115,101,59,10,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,115,101,116,86,105,101,119,112,111,114,116,40,120,44,32,121,44,32,119,105,100,116,104,44,32,104,101,105,103,104,116,41,59,10,32,32,32,32,125,10,32,32,32,32,115,116,97,116,105,99,32,115,101,116,87,97,115,109,85,114,108,40,117,114,108,41,32,123,10,32,32,32,32,32,32,68,111,116,76,111,116,116,105,101,87,97,115,109,76,111,97,100,101,114,46,115,101,116,87,97,115,109,85,114,108,40,117,114,108,41,59,10,32,32,32,32,125,10,32,32,32,32,108,111,97,100,83,116,97,116,101,77,97,99,104,105,110,101,40,115,116,97,116,101,77,97,99,104,105,110,101,73,100,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,63,46,115,116,97,116,101,77,97,99,104,105,110,101,76,111,97,100,40,115,116,97,116,101,77,97,99,104,105,110,101,73,100,41,32,63,63,32,102,97,108,115,101,59,10,32,32,32,32,125,10,32,32,32,32,115,116,97,114,116,83,116,97,116,101,77,97,99,104,105,110,101,40,41,32,123,10,32,32,32,32,32,32,105,102,32,40,95,68,111,116,76,111,116,116,105,101,46,95,119,97,115,109,77,111,100,117,108,101,32,61,61,61,32,110,117,108,108,32,124,124,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,32,61,61,61,32,110,117,108,108,41,32,114,101,116,117,114,110,32,102,97,108,115,101,59,10,32,32,32,32,32,32,99,111,110,115,116,32,111,112,101,110,85,114,108,32,61,32,95,68,111,116,76,111,116,116,105,101,46,95,119,97,115,109,77,111,100,117,108,101,46,99,114,101,97,116,101,68,101,102,97,117,108,116,79,112,101,110,85,82,76,40,41,59,10,32,32,32,32,32,32,99,111,110,115,116,32,115,116,97,114,116,101,100,32,61,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,115,116,97,116,101,77,97,99,104,105,110,101,83,116,97,114,116,40,111,112,101,110,85,114,108,41,59,10,32,32,32,32,32,32,105,102,32,40,115,116,97,114,116,101,100,41,32,123,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,115,101,116,117,112,83,116,97,116,101,77,97,99,104,105,110,101,76,105,115,116,101,110,101,114,115,40,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,114,101,116,117,114,110,32,115,116,97,114,116,101,100,59,10,32,32,32,32,125,10,32,32,32,32,115,116,111,112,83,116,97,116,101,77,97,99,104,105,110,101,40,41,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,115,116,111,112,112,101,100,32,61,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,63,46,115,116,97,116,101,77,97,99,104,105,110,101,83,116,111,112,40,41,32,63,63,32,102,97,108,115,101,59,10,32,32,32,32,32,32,105,102,32,40,115,116,111,112,112,101,100,41,32,123,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,99,108,101,97,110,117,112,83,116,97,116,101,77,97,99,104,105,110,101,76,105,115,116,101,110,101,114,115,40,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,114,101,116,117,114,110,32,115,116,111,112,112,101,100,59,10,32,32,32,32,125,10,32,32,32,32,95,103,101,116,80,111,105,110,116,101,114,80,111,115,105,116,105,111,110,40,101,118,101,110,116,41,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,114,101,99,116,32,61,32,116,104,105,115,46,95,99,97,110,118,97,115,46,103,101,116,66,111,117,110,100,105,110,103,67,108,105,101,110,116,82,101,99,116,40,41,59,10,32,32,32,32,32,32,99,111,110,115,116,32,115,99,97,108,101,88,32,61,32,116,104,105,115,46,95,99,97,110,118,97,115,46,119,105,100,116,104,32,47,32,114,101,99,116,46,119,105,100,116,104,59,10,32,32,32,32,32,32,99,111,110,115,116,32,115,99,97,108,101,89,32,61,32,116,104,105,115,46,95,99,97,110,118,97,115,46,104,101,105,103,104,116,32,47,32,114,101,99,116,46,104,101,105,103,104,116,59,10,32,32,32,32,32,32,99,111,110,115,116,32,100,101,118,105,99,101,80,105,120,101,108,82,97,116,105,111,32,61,32,116,104,105,115,46,95,114,101,110,100,101,114,67,111,110,102,105,103,46,100,101,118,105,99,101,80,105,120,101,108,82,97,116,105,111,32,124,124,32,119,105,110,100,111,119,46,100,101,118,105,99,101,80,105,120,101,108,82,97,116,105,111,32,124,124,32,49,59,10,32,32,32,32,32,32,99,111,110,115,116,32,120,32,61,32,40,101,118,101,110,116,46,99,108,105,101,110,116,88,32,45,32,114,101,99,116,46,108,101,102,116,41,32,42,32,115,99,97,108,101,88,32,47,32,100,101,118,105,99,101,80,105,120,101,108,82,97,116,105,111,59,10,32,32,32,32,32,32,99,111,110,115,116,32,121,32,61,32,40,101,118,101,110,116,46,99,108,105,101,110,116,89,32,45,32,114,101,99,116,46,116,111,112,41,32,42,32,115,99,97,108,101,89,32,47,32,100,101,118,105,99,101,80,105,120,101,108,82,97,116,105,111,59,10,32,32,32,32,32,32,114,101,116,117,114,110,32,123,10,32,32,32,32,32,32,32,32,120,44,10,32,32,32,32,32,32,32,32,121,10,32,32,32,32,32,32,125,59,10,32,32,32,32,125,10,32,32,32,32,95,111,110,80,111,105,110,116,101,114,85,112,40,101,118,101,110,116,41,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,123,32,120,44,32,121,32,125,32,61,32,116,104,105,115,46,95,103,101,116,80,111,105,110,116,101,114,80,111,115,105,116,105,111,110,40,101,118,101,110,116,41,59,10,32,32,32,32,32,32,116,104,105,115,46,112,111,115,116,80,111,105,110,116,101,114,85,112,69,118,101,110,116,40,120,44,32,121,41,59,10,32,32,32,32,125,10,32,32,32,32,95,111,110,80,111,105,110,116,101,114,68,111,119,110,40,101,118,101,110,116,41,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,123,32,120,44,32,121,32,125,32,61,32,116,104,105,115,46,95,103,101,116,80,111,105,110,116,101,114,80,111,115,105,116,105,111,110,40,101,118,101,110,116,41,59,10,32,32,32,32,32,32,116,104,105,115,46,112,111,115,116,80,111,105,110,116,101,114,68,111,119,110,69,118,101,110,116,40,120,44,32,121,41,59,10,32,32,32,32,125,10,32,32,32,32,95,111,110,80,111,105,110,116,101,114,77,111,118,101,40,101,118,101,110,116,41,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,123,32,120,44,32,121,32,125,32,61,32,116,104,105,115,46,95,103,101,116,80,111,105,110,116,101,114,80,111,115,105,116,105,111,110,40,101,118,101,110,116,41,59,10,32,32,32,32,32,32,116,104,105,115,46,112,111,115,116,80,111,105,110,116,101,114,77,111,118,101,69,118,101,110,116,40,120,44,32,121,41,59,10,32,32,32,32,125,10,32,32,32,32,95,111,110,80,111,105,110,116,101,114,69,110,116,101,114,40,101,118,101,110,116,41,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,123,32,120,44,32,121,32,125,32,61,32,116,104,105,115,46,95,103,101,116,80,111,105,110,116,101,114,80,111,115,105,116,105,111,110,40,101,118,101,110,116,41,59,10,32,32,32,32,32,32,116,104,105,115,46,112,111,115,116,80,111,105,110,116,101,114,69,110,116,101,114,69,118,101,110,116,40,120,44,32,121,41,59,10,32,32,32,32,125,10,32,32,32,32,95,111,110,80,111,105,110,116,101,114,76,101,97,118,101,40,101,118,101,110,116,41,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,123,32,120,44,32,121,32,125,32,61,32,116,104,105,115,46,95,103,101,116,80,111,105,110,116,101,114,80,111,115,105,116,105,111,110,40,101,118,101,110,116,41,59,10,32,32,32,32,32,32,116,104,105,115,46,112,111,115,116,80,111,105,110,116,101,114,69,120,105,116,69,118,101,110,116,40,120,44,32,121,41,59,10,32,32,32,32,125,10,32,32,32,32,112,111,115,116,80,111,105,110,116,101,114,85,112,69,118,101,110,116,40,120,44,32,121,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,63,46,115,116,97,116,101,77,97,99,104,105,110,101,80,111,115,116,80,111,105,110,116,101,114,85,112,69,118,101,110,116,40,120,44,32,121,41,59,10,32,32,32,32,125,10,32,32,32,32,112,111,115,116,80,111,105,110,116,101,114,68,111,119,110,69,118,101,110,116,40,120,44,32,121,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,63,46,115,116,97,116,101,77,97,99,104,105,110,101,80,111,115,116,80,111,105,110,116,101,114,68,111,119,110,69,118,101,110,116,40,120,44,32,121,41,59,10,32,32,32,32,125,10,32,32,32,32,112,111,115,116,80,111,105,110,116,101,114,77,111,118,101,69,118,101,110,116,40,120,44,32,121,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,63,46,115,116,97,116,101,77,97,99,104,105,110,101,80,111,115,116,80,111,105,110,116,101,114,77,111,118,101,69,118,101,110,116,40,120,44,32,121,41,59,10,32,32,32,32,125,10,32,32,32,32,112,111,115,116,80,111,105,110,116,101,114,69,110,116,101,114,69,118,101,110,116,40,120,44,32,121,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,63,46,115,116,97,116,101,77,97,99,104,105,110,101,80,111,115,116,80,111,105,110,116,101,114,69,110,116,101,114,69,118,101,110,116,40,120,44,32,121,41,59,10,32,32,32,32,125,10,32,32,32,32,112,111,115,116,80,111,105,110,116,101,114,69,120,105,116,69,118,101,110,116,40,120,44,32,121,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,63,46,115,116,97,116,101,77,97,99,104,105,110,101,80,111,115,116,80,111,105,110,116,101,114,69,120,105,116,69,118,101,110,116,40,120,44,32,121,41,59,10,32,32,32,32,125,10,32,32,32,32,103,101,116,83,116,97,116,101,77,97,99,104,105,110,101,76,105,115,116,101,110,101,114,115,40,41,32,123,10,32,32,32,32,32,32,105,102,32,40,33,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,41,32,114,101,116,117,114,110,32,91,93,59,10,32,32,32,32,32,32,99,111,110,115,116,32,108,105,115,116,101,110,101,114,115,86,101,99,116,111,114,32,61,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,46,115,116,97,116,101,77,97,99,104,105,110,101,70,114,97,109,101,119,111,114,107,83,101,116,117,112,40,41,59,10,32,32,32,32,32,32,99,111,110,115,116,32,108,105,115,116,101,110,101,114,115,32,61,32,91,93,59,10,32,32,32,32,32,32,102,111,114,32,40,108,101,116,32,105,32,61,32,48,59,32,105,32,60,32,108,105,115,116,101,110,101,114,115,86,101,99,116,111,114,46,115,105,122,101,40,41,59,32,105,32,43,61,32,49,41,32,123,10,32,32,32,32,32,32,32,32,108,105,115,116,101,110,101,114,115,46,112,117,115,104,40,108,105,115,116,101,110,101,114,115,86,101,99,116,111,114,46,103,101,116,40,105,41,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,114,101,116,117,114,110,32,108,105,115,116,101,110,101,114,115,59,10,32,32,32,32,125,10,32,32,32,32,95,115,101,116,117,112,83,116,97,116,101,77,97,99,104,105,110,101,76,105,115,116,101,110,101,114,115,40,41,32,123,10,32,32,32,32,32,32,105,102,32,40,73,83,95,66,82,79,87,83,69,82,32,38,38,32,116,104,105,115,46,95,99,97,110,118,97,115,32,105,110,115,116,97,110,99,101,111,102,32,72,84,77,76,67,97,110,118,97,115,69,108,101,109,101,110,116,32,38,38,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,32,33,61,61,32,110,117,108,108,32,38,38,32,116,104,105,115,46,105,115,76,111,97,100,101,100,41,32,123,10,32,32,32,32,32,32,32,32,99,111,110,115,116,32,108,105,115,116,101,110,101,114,115,32,61,32,116,104,105,115,46,103,101,116,83,116,97,116,101,77,97,99,104,105,110,101,76,105,115,116,101,110,101,114,115,40,41,59,10,32,32,32,32,32,32,32,32,105,102,32,40,108,105,115,116,101,110,101,114,115,46,105,110,99,108,117,100,101,115,40,34,80,111,105,110,116,101,114,85,112,34,41,41,32,123,10,32,32,32,32,32,32,32,32,32,32,116,104,105,115,46,95,99,97,110,118,97,115,46,97,100,100,69,118,101,110,116,76,105,115,116,101,110,101,114,40,34,112,111,105,110,116,101,114,117,112,34,44,32,116,104,105,115,46,95,112,111,105,110,116,101,114,85,112,77,101,116,104,111,100,41,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,105,102,32,40,108,105,115,116,101,110,101,114,115,46,105,110,99,108,117,100,101,115,40,34,80,111,105,110,116,101,114,68,111,119,110,34,41,41,32,123,10,32,32,32,32,32,32,32,32,32,32,116,104,105,115,46,95,99,97,110,118,97,115,46,97,100,100,69,118,101,110,116,76,105,115,116,101,110,101,114,40,34,112,111,105,110,116,101,114,100,111,119,110,34,44,32,116,104,105,115,46,95,112,111,105,110,116,101,114,68,111,119,110,77,101,116,104,111,100,41,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,105,102,32,40,108,105,115,116,101,110,101,114,115,46,105,110,99,108,117,100,101,115,40,34,80,111,105,110,116,101,114,77,111,118,101,34,41,41,32,123,10,32,32,32,32,32,32,32,32,32,32,116,104,105,115,46,95,99,97,110,118,97,115,46,97,100,100,69,118,101,110,116,76,105,115,116,101,110,101,114,40,34,112,111,105,110,116,101,114,109,111,118,101,34,44,32,116,104,105,115,46,95,112,111,105,110,116,101,114,77,111,118,101,77,101,116,104,111,100,41,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,105,102,32,40,108,105,115,116,101,110,101,114,115,46,105,110,99,108,117,100,101,115,40,34,80,111,105,110,116,101,114,69,110,116,101,114,34,41,41,32,123,10,32,32,32,32,32,32,32,32,32,32,116,104,105,115,46,95,99,97,110,118,97,115,46,97,100,100,69,118,101,110,116,76,105,115,116,101,110,101,114,40,34,112,111,105,110,116,101,114,101,110,116,101,114,34,44,32,116,104,105,115,46,95,112,111,105,110,116,101,114,69,110,116,101,114,77,101,116,104,111,100,41,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,32,32,105,102,32,40,108,105,115,116,101,110,101,114,115,46,105,110,99,108,117,100,101,115,40,34,80,111,105,110,116,101,114,69,120,105,116,34,41,41,32,123,10,32,32,32,32,32,32,32,32,32,32,116,104,105,115,46,95,99,97,110,118,97,115,46,97,100,100,69,118,101,110,116,76,105,115,116,101,110,101,114,40,34,112,111,105,110,116,101,114,108,101,97,118,101,34,44,32,116,104,105,115,46,95,112,111,105,110,116,101,114,69,120,105,116,77,101,116,104,111,100,41,59,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,10,32,32,32,32,125,10,32,32,32,32,95,99,108,101,97,110,117,112,83,116,97,116,101,77,97,99,104,105,110,101,76,105,115,116,101,110,101,114,115,40,41,32,123,10,32,32,32,32,32,32,105,102,32,40,73,83,95,66,82,79,87,83,69,82,32,38,38,32,116,104,105,115,46,95,99,97,110,118,97,115,32,105,110,115,116,97,110,99,101,111,102,32,72,84,77,76,67,97,110,118,97,115,69,108,101,109,101,110,116,41,32,123,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,99,97,110,118,97,115,46,114,101,109,111,118,101,69,118,101,110,116,76,105,115,116,101,110,101,114,40,34,112,111,105,110,116,101,114,117,112,34,44,32,116,104,105,115,46,95,112,111,105,110,116,101,114,85,112,77,101,116,104,111,100,41,59,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,99,97,110,118,97,115,46,114,101,109,111,118,101,69,118,101,110,116,76,105,115,116,101,110,101,114,40,34,112,111,105,110,116,101,114,100,111,119,110,34,44,32,116,104,105,115,46,95,112,111,105,110,116,101,114,68,111,119,110,77,101,116,104,111,100,41,59,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,99,97,110,118,97,115,46,114,101,109,111,118,101,69,118,101,110,116,76,105,115,116,101,110,101,114,40,34,112,111,105,110,116,101,114,109,111,118,101,34,44,32,116,104,105,115,46,95,112,111,105,110,116,101,114,77,111,118,101,77,101,116,104,111,100,41,59,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,99,97,110,118,97,115,46,114,101,109,111,118,101,69,118,101,110,116,76,105,115,116,101,110,101,114,40,34,112,111,105,110,116,101,114,101,110,116,101,114,34,44,32,116,104,105,115,46,95,112,111,105,110,116,101,114,69,110,116,101,114,77,101,116,104,111,100,41,59,10,32,32,32,32,32,32,32,32,116,104,105,115,46,95,99,97,110,118,97,115,46,114,101,109,111,118,101,69,118,101,110,116,76,105,115,116,101,110,101,114,40,34,112,111,105,110,116,101,114,108,101,97,118,101,34,44,32,116,104,105,115,46,95,112,111,105,110,116,101,114,69,120,105,116,77,101,116,104,111,100,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,125,10,32,32,32,32,108,111,97,100,83,116,97,116,101,77,97,99,104,105,110,101,68,97,116,97,40,115,116,97,116,101,77,97,99,104,105,110,101,68,97,116,97,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,63,46,115,116,97,116,101,77,97,99,104,105,110,101,76,111,97,100,68,97,116,97,40,115,116,97,116,101,77,97,99,104,105,110,101,68,97,116,97,41,32,63,63,32,102,97,108,115,101,59,10,32,32,32,32,125,10,32,32,32,32,97,110,105,109,97,116,105,111,110,83,105,122,101,40,41,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,119,105,100,116,104,32,61,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,63,46,97,110,105,109,97,116,105,111,110,83,105,122,101,40,41,46,103,101,116,40,48,41,32,63,63,32,48,59,10,32,32,32,32,32,32,99,111,110,115,116,32,104,101,105,103,104,116,32,61,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,63,46,97,110,105,109,97,116,105,111,110,83,105,122,101,40,41,46,103,101,116,40,49,41,32,63,63,32,48,59,10,32,32,32,32,32,32,114,101,116,117,114,110,32,123,10,32,32,32,32,32,32,32,32,119,105,100,116,104,44,10,32,32,32,32,32,32,32,32,104,101,105,103,104,116,10,32,32,32,32,32,32,125,59,10,32,32,32,32,125,10,32,32,32,32,115,101,116,83,116,97,116,101,77,97,99,104,105,110,101,66,111,111,108,101,97,110,67,111,110,116,101,120,116,40,110,97,109,101,44,32,118,97,108,117,101,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,63,46,115,116,97,116,101,77,97,99,104,105,110,101,83,101,116,66,111,111,108,101,97,110,73,110,112,117,116,40,110,97,109,101,44,32,118,97,108,117,101,41,32,63,63,32,102,97,108,115,101,59,10,32,32,32,32,125,10,32,32,32,32,115,101,116,83,116,97,116,101,77,97,99,104,105,110,101,78,117,109,101,114,105,99,67,111,110,116,101,120,116,40,110,97,109,101,44,32,118,97,108,117,101,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,63,46,115,116,97,116,101,77,97,99,104,105,110,101,83,101,116,78,117,109,101,114,105,99,73,110,112,117,116,40,110,97,109,101,44,32,118,97,108,117,101,41,32,63,63,32,102,97,108,115,101,59,10,32,32,32,32,125,10,32,32,32,32,115,101,116,83,116,97,116,101,77,97,99,104,105,110,101,83,116,114,105,110,103,67,111,110,116,101,120,116,40,110,97,109,101,44,32,118,97,108,117,101,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,63,46,115,116,97,116,101,77,97,99,104,105,110,101,83,101,116,83,116,114,105,110,103,73,110,112,117,116,40,110,97,109,101,44,32,118,97,108,117,101,41,32,63,63,32,102,97,108,115,101,59,10,32,32,32,32,125,10,32,32,32,32,47,42,42,10,32,32,32,32,32,42,32,71,101,116,32,116,104,101,32,79,114,105,101,110,116,101,100,32,66,111,117,110,100,105,110,103,32,66,111,120,32,40,79,66,66,41,32,112,111,105,110,116,115,32,111,102,32,97,32,108,97,121,101,114,32,98,121,32,105,116,115,32,110,97,109,101,10,32,32,32,32,32,42,32,64,112,97,114,97,109,32,108,97,121,101,114,78,97,109,101,32,45,32,84,104,101,32,110,97,109,101,32,111,102,32,116,104,101,32,108,97,121,101,114,10,32,32,32,32,32,42,32,64,114,101,116,117,114,110,115,32,65,110,32,97,114,114,97,121,32,111,102,32,56,32,110,117,109,98,101,114,115,32,114,101,112,114,101,115,101,110,116,105,110,103,32,52,32,112,111,105,110,116,115,32,40,120,44,121,41,32,111,102,32,116,104,101,32,79,66,66,32,105,110,32,99,108,111,99,107,119,105,115,101,32,111,114,100,101,114,32,115,116,97,114,116,105,110,103,32,102,114,111,109,32,116,111,112,45,108,101,102,116,10,32,32,32,32,32,42,32,32,32,32,32,32,32,32,32,32,91,120,48,44,32,121,48,44,32,120,49,44,32,121,49,44,32,120,50,44,32,121,50,44,32,120,51,44,32,121,51,93,10,32,32,32,32,32,42,10,32,32,32,32,32,42,32,64,101,120,97,109,112,108,101,10,32,32,32,32,32,42,32,96,96,96,116,121,112,101,115,99,114,105,112,116,10,32,32,32,32,32,42,32,47,47,32,68,114,97,119,32,97,32,112,111,108,121,103,111,110,32,97,114,111,117,110,100,32,116,104,101,32,108,97,121,101,114,32,39,76,97,121,101,114,32,49,39,10,32,32,32,32,32,42,32,100,111,116,76,111,116,116,105,101,46,97,100,100,69,118,101,110,116,76,105,115,116,101,110,101,114,40,39,114,101,110,100,101,114,39,44,32,40,41,32,61,62,32,123,10,32,32,32,32,32,42,32,32,32,99,111,110,115,116,32,111,98,98,80,111,105,110,116,115,32,61,32,100,111,116,76,111,116,116,105,101,46,103,101,116,76,97,121,101,114,66,111,117,110,100,105,110,103,66,111,120,40,39,76,97,121,101,114,32,49,39,41,59,10,32,32,32,32,32,42,10,32,32,32,32,32,42,32,32,32,105,102,32,40,111,98,98,80,111,105,110,116,115,41,32,123,10,32,32,32,32,32,42,32,32,32,32,32,99,111,110,116,101,120,116,46,98,101,103,105,110,80,97,116,104,40,41,59,10,32,32,32,32,32,42,32,32,32,32,32,99,111,110,116,101,120,116,46,109,111,118,101,84,111,40,111,98,98,80,111,105,110,116,115,91,48,93,44,32,111,98,98,80,111,105,110,116,115,91,49,93,41,59,32,47,47,32,70,105,114,115,116,32,112,111,105,110,116,10,32,32,32,32,32,42,32,32,32,32,32,99,111,110,116,101,120,116,46,108,105,110,101,84,111,40,111,98,98,80,111,105,110,116,115,91,50,93,44,32,111,98,98,80,111,105,110,116,115,91,51,93,41,59,32,47,47,32,83,101,99,111,110,100,32,112,111,105,110,116,10,32,32,32,32,32,42,32,32,32,32,32,99,111,110,116,101,120,116,46,108,105,110,101,84,111,40,111,98,98,80,111,105,110,116,115,91,52,93,44,32,111,98,98,80,111,105,110,116,115,91,53,93,41,59,32,47,47,32,84,104,105,114,100,32,112,111,105,110,116,10,32,32,32,32,32,42,32,32,32,32,32,99,111,110,116,101,120,116,46,108,105,110,101,84,111,40,111,98,98,80,111,105,110,116,115,91,54,93,44,32,111,98,98,80,111,105,110,116,115,91,55,93,41,59,32,47,47,32,70,111,117,114,116,104,32,112,111,105,110,116,10,32,32,32,32,32,42,32,32,32,32,32,99,111,110,116,101,120,116,46,99,108,111,115,101,80,97,116,104,40,41,59,10,32,32,32,32,32,42,32,32,32,32,32,99,111,110,116,101,120,116,46,115,116,114,111,107,101,40,41,59,10,32,32,32,32,32,42,32,32,32,125,10,32,32,32,32,32,42,32,125,41,59,10,32,32,32,32,32,42,32,96,96,96,10,32,32,32,32,32,42,47,10,32,32,32,32,103,101,116,76,97,121,101,114,66,111,117,110,100,105,110,103,66,111,120,40,108,97,121,101,114,78,97,109,101,41,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,98,111,117,110,100,115,32,61,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,63,46,103,101,116,76,97,121,101,114,66,111,117,110,100,115,40,108,97,121,101,114,78,97,109,101,41,59,10,32,32,32,32,32,32,105,102,32,40,33,98,111,117,110,100,115,41,32,114,101,116,117,114,110,32,118,111,105,100,32,48,59,10,32,32,32,32,32,32,105,102,32,40,98,111,117,110,100,115,46,115,105,122,101,40,41,32,33,61,61,32,56,41,32,114,101,116,117,114,110,32,118,111,105,100,32,48,59,10,32,32,32,32,32,32,99,111,110,115,116,32,112,111,105,110,116,115,32,61,32,91,93,59,10,32,32,32,32,32,32,102,111,114,32,40,108,101,116,32,105,32,61,32,48,59,32,105,32,60,32,56,59,32,105,32,43,61,32,49,41,32,123,10,32,32,32,32,32,32,32,32,112,111,105,110,116,115,46,112,117,115,104,40,98,111,117,110,100,115,46,103,101,116,40,105,41,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,114,101,116,117,114,110,32,112,111,105,110,116,115,59,10,32,32,32,32,125,10,32,32,32,32,47,42,42,10,32,32,32,32,32,42,32,64,101,120,112,101,114,105,109,101,110,116,97,108,10,32,32,32,32,32,42,32,83,116,97,114,116,32,97,32,116,119,101,101,110,32,97,110,105,109,97,116,105,111,110,32,98,101,116,119,101,101,110,32,116,119,111,32,102,114,97,109,101,32,118,97,108,117,101,115,32,119,105,116,104,32,99,117,115,116,111,109,32,101,97,115,105,110,103,10,32,32,32,32,32,42,32,64,112,97,114,97,109,32,102,114,97,109,101,32,45,32,83,116,97,114,116,105,110,103,32,102,114,97,109,101,32,118,97,108,117,101,10,32,32,32,32,32,42,32,64,112,97,114,97,109,32,100,117,114,97,116,105,111,110,32,45,32,68,117,114,97,116,105,111,110,32,111,102,32,116,104,101,32,116,119,101,101,110,32,105,110,32,115,101,99,111,110,100,115,10,32,32,32,32,32,42,32,64,114,101,116,117,114,110,115,32,116,114,117,101,32,105,102,32,116,119,101,101,110,32,119,97,115,32,115,116,97,114,116,101,100,32,115,117,99,99,101,115,115,102,117,108,108,121,10,32,32,32,32,32,42,47,10,32,32,32,32,116,119,101,101,110,40,102,114,97,109,101,44,32,100,117,114,97,116,105,111,110,41,32,123,10,32,32,32,32,32,32,105,102,32,40,33,95,68,111,116,76,111,116,116,105,101,46,95,119,97,115,109,77,111,100,117,108,101,41,32,114,101,116,117,114,110,32,102,97,108,115,101,59,10,32,32,32,32,32,32,99,111,110,115,116,32,101,97,115,105,110,103,32,61,32,91,48,44,32,48,44,32,49,44,32,49,93,59,10,32,32,32,32,32,32,99,111,110,115,116,32,101,97,115,105,110,103,86,101,99,116,111,114,32,61,32,110,101,119,32,95,68,111,116,76,111,116,116,105,101,46,95,119,97,115,109,77,111,100,117,108,101,46,86,101,99,116,111,114,70,108,111,97,116,40,41,59,10,32,32,32,32,32,32,102,111,114,32,40,99,111,110,115,116,32,118,97,108,32,111,102,32,101,97,115,105,110,103,41,32,123,10,32,32,32,32,32,32,32,32,101,97,115,105,110,103,86,101,99,116,111,114,46,112,117,115,104,95,98,97,99,107,40,118,97,108,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,63,46,116,119,101,101,110,40,102,114,97,109,101,44,32,100,117,114,97,116,105,111,110,44,32,101,97,115,105,110,103,86,101,99,116,111,114,41,32,63,63,32,102,97,108,115,101,59,10,32,32,32,32,125,10,32,32,32,32,47,42,42,10,32,32,32,32,32,42,32,64,101,120,112,101,114,105,109,101,110,116,97,108,10,32,32,32,32,32,42,32,83,116,97,114,116,32,97,32,116,119,101,101,110,32,97,110,105,109,97,116,105,111,110,32,116,111,32,97,32,115,112,101,99,105,102,105,99,32,109,97,114,107,101,114,10,32,32,32,32,32,42,32,64,112,97,114,97,109,32,109,97,114,107,101,114,32,45,32,84,104,101,32,109,97,114,107,101,114,32,110,97,109,101,32,116,111,32,116,119,101,101,110,32,116,111,10,32,32,32,32,32,42,32,64,114,101,116,117,114,110,115,32,116,114,117,101,32,105,102,32,116,119,101,101,110,32,119,97,115,32,115,116,97,114,116,101,100,32,115,117,99,99,101,115,115,102,117,108,108,121,10,32,32,32,32,32,42,47,10,32,32,32,32,116,119,101,101,110,84,111,77,97,114,107,101,114,40,109,97,114,107,101,114,44,32,100,117,114,97,116,105,111,110,41,32,123,10,32,32,32,32,32,32,105,102,32,40,33,95,68,111,116,76,111,116,116,105,101,46,95,119,97,115,109,77,111,100,117,108,101,41,32,114,101,116,117,114,110,32,102,97,108,115,101,59,10,32,32,32,32,32,32,99,111,110,115,116,32,101,97,115,105,110,103,32,61,32,91,48,44,32,48,44,32,49,44,32,49,93,59,10,32,32,32,32,32,32,99,111,110,115,116,32,101,97,115,105,110,103,86,101,99,116,111,114,32,61,32,110,101,119,32,95,68,111,116,76,111,116,116,105,101,46,95,119,97,115,109,77,111,100,117,108,101,46,86,101,99,116,111,114,70,108,111,97,116,40,41,59,10,32,32,32,32,32,32,102,111,114,32,40,99,111,110,115,116,32,118,97,108,32,111,102,32,101,97,115,105,110,103,41,32,123,10,32,32,32,32,32,32,32,32,101,97,115,105,110,103,86,101,99,116,111,114,46,112,117,115,104,95,98,97,99,107,40,118,97,108,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,114,101,116,117,114,110,32,116,104,105,115,46,95,100,111,116,76,111,116,116,105,101,67,111,114,101,63,46,116,119,101,101,110,84,111,77,97,114,107,101,114,40,109,97,114,107,101,114,44,32,100,117,114,97,116,105,111,110,44,32,101,97,115,105,110,103,86,101,99,116,111,114,41,32,63,63,32,102,97,108,115,101,59,10,32,32,32,32,125,10,32,32,32,32,115,116,97,116,105,99,32,116,114,97,110,115,102,111,114,109,84,104,101,109,101,84,111,76,111,116,116,105,101,83,108,111,116,115,40,116,104,101,109,101,44,32,115,108,111,116,115,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,95,68,111,116,76,111,116,116,105,101,46,95,119,97,115,109,77,111,100,117,108,101,63,46,116,114,97,110,115,102,111,114,109,84,104,101,109,101,84,111,76,111,116,116,105,101,83,108,111,116,115,40,116,104,101,109,101,44,32,115,108,111,116,115,41,32,63,63,32,34,34,59,10,32,32,32,32,125,10,32,32,125,59,10,32,32,95,95,112,117,98,108,105,99,70,105,101,108,100,40,95,68,111,116,76,111,116,116,105,101,44,32,34,95,119,97,115,109,77,111,100,117,108,101,34,44,32,110,117,108,108,41,59,10,32,32,118,97,114,32,68,111,116,76,111,116,116,105,101,32,61,32,95,68,111,116,76,111,116,116,105,101,59,10,10,32,32,47,47,32,115,114,99,47,119,111,114,107,101,114,47,100,111,116,108,111,116,116,105,101,46,119,111,114,107,101,114,46,116,115,10,32,32,118,97,114,32,105,110,115,116,97,110,99,101,115,77,97,112,32,61,32,47,42,32,64,95,95,80,85,82,69,95,95,32,42,47,32,110,101,119,32,77,97,112,40,41,59,10,32,32,118,97,114,32,101,118,101,110,116,72,97,110,100,108,101,114,77,97,112,32,61,32,123,10,32,32,32,32,114,101,97,100,121,58,32,40,105,110,115,116,97,110,99,101,73,100,41,32,61,62,32,40,101,118,101,110,116,41,32,61,62,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,114,101,115,112,111,110,115,101,32,61,32,123,10,32,32,32,32,32,32,32,32,105,100,58,32,34,34,44,10,32,32,32,32,32,32,32,32,109,101,116,104,111,100,58,32,34,111,110,82,101,97,100,121,34,44,10,32,32,32,32,32,32,32,32,114,101,115,117,108,116,58,32,123,10,32,32,32,32,32,32,32,32,32,32,105,110,115,116,97,110,99,101,73,100,44,10,32,32,32,32,32,32,32,32,32,32,101,118,101,110,116,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,59,10,32,32,32,32,32,32,115,101,108,102,46,112,111,115,116,77,101,115,115,97,103,101,40,114,101,115,112,111,110,115,101,41,59,10,32,32,32,32,125,44,10,32,32,32,32,99,111,109,112,108,101,116,101,58,32,40,105,110,115,116,97,110,99,101,73,100,41,32,61,62,32,40,101,118,101,110,116,41,32,61,62,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,114,101,115,112,111,110,115,101,32,61,32,123,10,32,32,32,32,32,32,32,32,105,100,58,32,34,34,44,10,32,32,32,32,32,32,32,32,109,101,116,104,111,100,58,32,34,111,110,67,111,109,112,108,101,116,101,34,44,10,32,32,32,32,32,32,32,32,114,101,115,117,108,116,58,32,123,10,32,32,32,32,32,32,32,32,32,32,105,110,115,116,97,110,99,101,73,100,44,10,32,32,32,32,32,32,32,32,32,32,101,118,101,110,116,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,59,10,32,32,32,32,32,32,115,101,108,102,46,112,111,115,116,77,101,115,115,97,103,101,40,114,101,115,112,111,110,115,101,41,59,10,32,32,32,32,125,44,10,32,32,32,32,108,111,97,100,58,32,40,105,110,115,116,97,110,99,101,73,100,41,32,61,62,32,40,101,118,101,110,116,41,32,61,62,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,108,111,97,100,69,118,101,110,116,32,61,32,101,118,101,110,116,59,10,32,32,32,32,32,32,99,111,110,115,116,32,114,101,115,112,111,110,115,101,32,61,32,123,10,32,32,32,32,32,32,32,32,105,100,58,32,34,34,44,10,32,32,32,32,32,32,32,32,109,101,116,104,111,100,58,32,34,111,110,76,111,97,100,34,44,10,32,32,32,32,32,32,32,32,114,101,115,117,108,116,58,32,123,10,32,32,32,32,32,32,32,32,32,32,105,110,115,116,97,110,99,101,73,100,44,10,32,32,32,32,32,32,32,32,32,32,101,118,101,110,116,58,32,108,111,97,100,69,118,101,110,116,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,59,10,32,32,32,32,32,32,115,101,108,102,46,112,111,115,116,77,101,115,115,97,103,101,40,114,101,115,112,111,110,115,101,41,59,10,32,32,32,32,125,44,10,32,32,32,32,108,111,97,100,69,114,114,111,114,58,32,40,105,110,115,116,97,110,99,101,73,100,41,32,61,62,32,40,101,118,101,110,116,41,32,61,62,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,108,111,97,100,69,114,114,111,114,69,118,101,110,116,32,61,32,101,118,101,110,116,59,10,32,32,32,32,32,32,99,111,110,115,116,32,114,101,115,112,111,110,115,101,32,61,32,123,10,32,32,32,32,32,32,32,32,105,100,58,32,34,34,44,10,32,32,32,32,32,32,32,32,109,101,116,104,111,100,58,32,34,111,110,76,111,97,100,69,114,114,111,114,34,44,10,32,32,32,32,32,32,32,32,114,101,115,117,108,116,58,32,123,10,32,32,32,32,32,32,32,32,32,32,105,110,115,116,97,110,99,101,73,100,44,10,32,32,32,32,32,32,32,32,32,32,101,118,101,110,116,58,32,108,111,97,100,69,114,114,111,114,69,118,101,110,116,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,59,10,32,32,32,32,32,32,115,101,108,102,46,112,111,115,116,77,101,115,115,97,103,101,40,114,101,115,112,111,110,115,101,41,59,10,32,32,32,32,125,44,10,32,32,32,32,114,101,110,100,101,114,69,114,114,111,114,58,32,40,105,110,115,116,97,110,99,101,73,100,41,32,61,62,32,40,101,118,101,110,116,41,32,61,62,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,114,101,110,100,101,114,69,114,114,111,114,69,118,101,110,116,32,61,32,101,118,101,110,116,59,10,32,32,32,32,32,32,99,111,110,115,116,32,114,101,115,112,111,110,115,101,32,61,32,123,10,32,32,32,32,32,32,32,32,105,100,58,32,34,34,44,10,32,32,32,32,32,32,32,32,109,101,116,104,111,100,58,32,34,111,110,82,101,110,100,101,114,69,114,114,111,114,34,44,10,32,32,32,32,32,32,32,32,114,101,115,117,108,116,58,32,123,10,32,32,32,32,32,32,32,32,32,32,105,110,115,116,97,110,99,101,73,100,44,10,32,32,32,32,32,32,32,32,32,32,101,118,101,110,116,58,32,114,101,110,100,101,114,69,114,114,111,114,69,118,101,110,116,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,59,10,32,32,32,32,32,32,115,101,108,102,46,112,111,115,116,77,101,115,115,97,103,101,40,114,101,115,112,111,110,115,101,41,59,10,32,32,32,32,125,44,10,32,32,32,32,108,111,111,112,58,32,40,105,110,115,116,97,110,99,101,73,100,41,32,61,62,32,40,101,118,101,110,116,41,32,61,62,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,108,111,111,112,69,118,101,110,116,32,61,32,101,118,101,110,116,59,10,32,32,32,32,32,32,99,111,110,115,116,32,114,101,115,112,111,110,115,101,32,61,32,123,10,32,32,32,32,32,32,32,32,105,100,58,32,34,34,44,10,32,32,32,32,32,32,32,32,109,101,116,104,111,100,58,32,34,111,110,76,111,111,112,34,44,10,32,32,32,32,32,32,32,32,114,101,115,117,108,116,58,32,123,10,32,32,32,32,32,32,32,32,32,32,105,110,115,116,97,110,99,101,73,100,44,10,32,32,32,32,32,32,32,32,32,32,101,118,101,110,116,58,32,108,111,111,112,69,118,101,110,116,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,59,10,32,32,32,32,32,32,115,101,108,102,46,112,111,115,116,77,101,115,115,97,103,101,40,114,101,115,112,111,110,115,101,41,59,10,32,32,32,32,125,44,10,32,32,32,32,112,108,97,121,58,32,40,105,110,115,116,97,110,99,101,73,100,41,32,61,62,32,40,101,118,101,110,116,41,32,61,62,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,112,108,97,121,69,118,101,110,116,32,61,32,101,118,101,110,116,59,10,32,32,32,32,32,32,99,111,110,115,116,32,114,101,115,112,111,110,115,101,32,61,32,123,10,32,32,32,32,32,32,32,32,105,100,58,32,34,34,44,10,32,32,32,32,32,32,32,32,109,101,116,104,111,100,58,32,34,111,110,80,108,97,121,34,44,10,32,32,32,32,32,32,32,32,114,101,115,117,108,116,58,32,123,10,32,32,32,32,32,32,32,32,32,32,105,110,115,116,97,110,99,101,73,100,44,10,32,32,32,32,32,32,32,32,32,32,101,118,101,110,116,58,32,112,108,97,121,69,118,101,110,116,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,59,10,32,32,32,32,32,32,115,101,108,102,46,112,111,115,116,77,101,115,115,97,103,101,40,114,101,115,112,111,110,115,101,41,59,10,32,32,32,32,125,44,10,32,32,32,32,112,97,117,115,101,58,32,40,105,110,115,116,97,110,99,101,73,100,41,32,61,62,32,40,101,118,101,110,116,41,32,61,62,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,112,97,117,115,101,69,118,101,110,116,32,61,32,101,118,101,110,116,59,10,32,32,32,32,32,32,99,111,110,115,116,32,114,101,115,112,111,110,115,101,32,61,32,123,10,32,32,32,32,32,32,32,32,105,100,58,32,34,34,44,10,32,32,32,32,32,32,32,32,109,101,116,104,111,100,58,32,34,111,110,80,97,117,115,101,34,44,10,32,32,32,32,32,32,32,32,114,101,115,117,108,116,58,32,123,10,32,32,32,32,32,32,32,32,32,32,105,110,115,116,97,110,99,101,73,100,44,10,32,32,32,32,32,32,32,32,32,32,101,118,101,110,116,58,32,112,97,117,115,101,69,118,101,110,116,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,59,10,32,32,32,32,32,32,115,101,108,102,46,112,111,115,116,77,101,115,115,97,103,101,40,114,101,115,112,111,110,115,101,41,59,10,32,32,32,32,125,44,10,32,32,32,32,115,116,111,112,58,32,40,105,110,115,116,97,110,99,101,73,100,41,32,61,62,32,40,101,118,101,110,116,41,32,61,62,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,115,116,111,112,69,118,101,110,116,32,61,32,101,118,101,110,116,59,10,32,32,32,32,32,32,99,111,110,115,116,32,114,101,115,112,111,110,115,101,32,61,32,123,10,32,32,32,32,32,32,32,32,105,100,58,32,34,34,44,10,32,32,32,32,32,32,32,32,109,101,116,104,111,100,58,32,34,111,110,83,116,111,112,34,44,10,32,32,32,32,32,32,32,32,114,101,115,117,108,116,58,32,123,10,32,32,32,32,32,32,32,32,32,32,105,110,115,116,97,110,99,101,73,100,44,10,32,32,32,32,32,32,32,32,32,32,101,118,101,110,116,58,32,115,116,111,112,69,118,101,110,116,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,59,10,32,32,32,32,32,32,115,101,108,102,46,112,111,115,116,77,101,115,115,97,103,101,40,114,101,115,112,111,110,115,101,41,59,10,32,32,32,32,125,44,10,32,32,32,32,102,114,97,109,101,58,32,40,105,110,115,116,97,110,99,101,73,100,41,32,61,62,32,40,101,118,101,110,116,41,32,61,62,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,102,114,97,109,101,69,118,101,110,116,32,61,32,101,118,101,110,116,59,10,32,32,32,32,32,32,99,111,110,115,116,32,114,101,115,112,111,110,115,101,32,61,32,123,10,32,32,32,32,32,32,32,32,105,100,58,32,34,34,44,10,32,32,32,32,32,32,32,32,109,101,116,104,111,100,58,32,34,111,110,70,114,97,109,101,34,44,10,32,32,32,32,32,32,32,32,114,101,115,117,108,116,58,32,123,10,32,32,32,32,32,32,32,32,32,32,105,110,115,116,97,110,99,101,73,100,44,10,32,32,32,32,32,32,32,32,32,32,101,118,101,110,116,58,32,102,114,97,109,101,69,118,101,110,116,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,59,10,32,32,32,32,32,32,115,101,108,102,46,112,111,115,116,77,101,115,115,97,103,101,40,114,101,115,112,111,110,115,101,41,59,10,32,32,32,32,125,44,10,32,32,32,32,114,101,110,100,101,114,58,32,40,105,110,115,116,97,110,99,101,73,100,41,32,61,62,32,40,101,118,101,110,116,41,32,61,62,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,114,101,110,100,101,114,69,118,101,110,116,32,61,32,101,118,101,110,116,59,10,32,32,32,32,32,32,99,111,110,115,116,32,114,101,115,112,111,110,115,101,32,61,32,123,10,32,32,32,32,32,32,32,32,105,100,58,32,34,34,44,10,32,32,32,32,32,32,32,32,109,101,116,104,111,100,58,32,34,111,110,82,101,110,100,101,114,34,44,10,32,32,32,32,32,32,32,32,114,101,115,117,108,116,58,32,123,10,32,32,32,32,32,32,32,32,32,32,105,110,115,116,97,110,99,101,73,100,44,10,32,32,32,32,32,32,32,32,32,32,101,118,101,110,116,58,32,114,101,110,100,101,114,69,118,101,110,116,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,59,10,32,32,32,32,32,32,115,101,108,102,46,112,111,115,116,77,101,115,115,97,103,101,40,114,101,115,112,111,110,115,101,41,59,10,32,32,32,32,125,44,10,32,32,32,32,102,114,101,101,122,101,58,32,40,105,110,115,116,97,110,99,101,73,100,41,32,61,62,32,40,101,118,101,110,116,41,32,61,62,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,102,114,101,101,122,101,69,118,101,110,116,32,61,32,101,118,101,110,116,59,10,32,32,32,32,32,32,99,111,110,115,116,32,114,101,115,112,111,110,115,101,32,61,32,123,10,32,32,32,32,32,32,32,32,105,100,58,32,34,34,44,10,32,32,32,32,32,32,32,32,109,101,116,104,111,100,58,32,34,111,110,70,114,101,101,122,101,34,44,10,32,32,32,32,32,32,32,32,114,101,115,117,108,116,58,32,123,10,32,32,32,32,32,32,32,32,32,32,105,110,115,116,97,110,99,101,73,100,44,10,32,32,32,32,32,32,32,32,32,32,101,118,101,110,116,58,32,102,114,101,101,122,101,69,118,101,110,116,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,59,10,32,32,32,32,32,32,115,101,108,102,46,112,111,115,116,77,101,115,115,97,103,101,40,114,101,115,112,111,110,115,101,41,59,10,32,32,32,32,125,44,10,32,32,32,32,117,110,102,114,101,101,122,101,58,32,40,105,110,115,116,97,110,99,101,73,100,41,32,61,62,32,40,101,118,101,110,116,41,32,61,62,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,117,110,102,114,101,101,122,101,69,118,101,110,116,32,61,32,101,118,101,110,116,59,10,32,32,32,32,32,32,99,111,110,115,116,32,114,101,115,112,111,110,115,101,32,61,32,123,10,32,32,32,32,32,32,32,32,105,100,58,32,34,34,44,10,32,32,32,32,32,32,32,32,109,101,116,104,111,100,58,32,34,111,110,85,110,102,114,101,101,122,101,34,44,10,32,32,32,32,32,32,32,32,114,101,115,117,108,116,58,32,123,10,32,32,32,32,32,32,32,32,32,32,105,110,115,116,97,110,99,101,73,100,44,10,32,32,32,32,32,32,32,32,32,32,101,118,101,110,116,58,32,117,110,102,114,101,101,122,101,69,118,101,110,116,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,59,10,32,32,32,32,32,32,115,101,108,102,46,112,111,115,116,77,101,115,115,97,103,101,40,114,101,115,112,111,110,115,101,41,59,10,32,32,32,32,125,44,10,32,32,32,32,100,101,115,116,114,111,121,58,32,40,105,110,115,116,97,110,99,101,73,100,41,32,61,62,32,40,101,118,101,110,116,41,32,61,62,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,100,101,115,116,114,111,121,69,118,101,110,116,32,61,32,101,118,101,110,116,59,10,32,32,32,32,32,32,99,111,110,115,116,32,114,101,115,112,111,110,115,101,32,61,32,123,10,32,32,32,32,32,32,32,32,105,100,58,32,34,34,44,10,32,32,32,32,32,32,32,32,109,101,116,104,111,100,58,32,34,111,110,68,101,115,116,114,111,121,34,44,10,32,32,32,32,32,32,32,32,114,101,115,117,108,116,58,32,123,10,32,32,32,32,32,32,32,32,32,32,105,110,115,116,97,110,99,101,73,100,44,10,32,32,32,32,32,32,32,32,32,32,101,118,101,110,116,58,32,100,101,115,116,114,111,121,69,118,101,110,116,10,32,32,32,32,32,32,32,32,125,10,32,32,32,32,32,32,125,59,10,32,32,32,32,32,32,115,101,108,102,46,112,111,115,116,77,101,115,115,97,103,101,40,114,101,115,112,111,110,115,101,41,59,10,32,32,32,32,125,10,32,32,125,59,10,32,32,118,97,114,32,99,111,109,109,97,110,100,115,32,61,32,123,10,32,32,32,32,103,101,116,68,111,116,76,111,116,116,105,101,73,110,115,116,97,110,99,101,83,116,97,116,101,40,114,101,113,117,101,115,116,41,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,73,100,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,105,110,115,116,97,110,99,101,73,100,59,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,32,61,32,105,110,115,116,97,110,99,101,115,77,97,112,46,103,101,116,40,105,110,115,116,97,110,99,101,73,100,41,59,10,32,32,32,32,32,32,105,102,32,40,33,105,110,115,116,97,110,99,101,41,32,123,10,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,69,114,114,111,114,40,96,73,110,115,116,97,110,99,101,32,119,105,116,104,32,105,100,32,36,123,105,110,115,116,97,110,99,101,73,100,125,32,100,111,101,115,32,110,111,116,32,101,120,105,115,116,46,96,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,99,111,110,115,116,32,115,116,97,116,101,32,61,32,123,10,32,32,32,32,32,32,32,32,108,111,111,112,67,111,117,110,116,58,32,105,110,115,116,97,110,99,101,46,108,111,111,112,67,111,117,110,116,44,10,32,32,32,32,32,32,32,32,105,115,76,111,97,100,101,100,58,32,105,110,115,116,97,110,99,101,46,105,115,76,111,97,100,101,100,44,10,32,32,32,32,32,32,32,32,105,115,80,97,117,115,101,100,58,32,105,110,115,116,97,110,99,101,46,105,115,80,97,117,115,101,100,44,10,32,32,32,32,32,32,32,32,105,115,80,108,97,121,105,110,103,58,32,105,110,115,116,97,110,99,101,46,105,115,80,108,97,121,105,110,103,44,10,32,32,32,32,32,32,32,32,105,115,83,116,111,112,112,101,100,58,32,105,110,115,116,97,110,99,101,46,105,115,83,116,111,112,112,101,100,44,10,32,32,32,32,32,32,32,32,105,115,70,114,111,122,101,110,58,32,105,110,115,116,97,110,99,101,46,105,115,70,114,111,122,101,110,44,10,32,32,32,32,32,32,32,32,108,111,111,112,58,32,105,110,115,116,97,110,99,101,46,108,111,111,112,44,10,32,32,32,32,32,32,32,32,109,111,100,101,58,32,105,110,115,116,97,110,99,101,46,109,111,100,101,44,10,32,32,32,32,32,32,32,32,115,112,101,101,100,58,32,105,110,115,116,97,110,99,101,46,115,112,101,101,100,44,10,32,32,32,32,32,32,32,32,99,117,114,114,101,110,116,70,114,97,109,101,58,32,105,110,115,116,97,110,99,101,46,99,117,114,114,101,110,116,70,114,97,109,101,44,10,32,32,32,32,32,32,32,32,116,111,116,97,108,70,114,97,109,101,115,58,32,105,110,115,116,97,110,99,101,46,116,111,116,97,108,70,114,97,109,101,115,44,10,32,32,32,32,32,32,32,32,100,117,114,97,116,105,111,110,58,32,105,110,115,116,97,110,99,101,46,100,117,114,97,116,105,111,110,44,10,32,32,32,32,32,32,32,32,117,115,101,70,114,97,109,101,73,110,116,101,114,112,111,108,97,116,105,111,110,58,32,105,110,115,116,97,110,99,101,46,117,115,101,70,114,97,109,101,73,110,116,101,114,112,111,108,97,116,105,111,110,44,10,32,32,32,32,32,32,32,32,114,101,110,100,101,114,67,111,110,102,105,103,58,32,105,110,115,116,97,110,99,101,46,114,101,110,100,101,114,67,111,110,102,105,103,44,10,32,32,32,32,32,32,32,32,109,97,114,107,101,114,58,32,105,110,115,116,97,110,99,101,46,109,97,114,107,101,114,44,10,32,32,32,32,32,32,32,32,98,97,99,107,103,114,111,117,110,100,67,111,108,111,114,58,32,105,110,115,116,97,110,99,101,46,98,97,99,107,103,114,111,117,110,100,67,111,108,111,114,44,10,32,32,32,32,32,32,32,32,109,97,114,107,101,114,115,58,32,105,110,115,116,97,110,99,101,46,109,97,114,107,101,114,115,40,41,44,10,32,32,32,32,32,32,32,32,97,99,116,105,118,101,65,110,105,109,97,116,105,111,110,73,100,58,32,105,110,115,116,97,110,99,101,46,97,99,116,105,118,101,65,110,105,109,97,116,105,111,110,73,100,44,10,32,32,32,32,32,32,32,32,97,99,116,105,118,101,84,104,101,109,101,73,100,58,32,105,110,115,116,97,110,99,101,46,97,99,116,105,118,101,84,104,101,109,101,73,100,44,10,32,32,32,32,32,32,32,32,97,117,116,111,112,108,97,121,58,32,105,110,115,116,97,110,99,101,46,97,117,116,111,112,108,97,121,44,10,32,32,32,32,32,32,32,32,115,101,103,109,101,110,116,58,32,105,110,115,116,97,110,99,101,46,115,101,103,109,101,110,116,44,10,32,32,32,32,32,32,32,32,108,97,121,111,117,116,58,32,105,110,115,116,97,110,99,101,46,108,97,121,111,117,116,44,10,32,32,32,32,32,32,32,32,115,101,103,109,101,110,116,68,117,114,97,116,105,111,110,58,32,105,110,115,116,97,110,99,101,46,115,101,103,109,101,110,116,68,117,114,97,116,105,111,110,44,10,32,32,32,32,32,32,32,32,105,115,82,101,97,100,121,58,32,105,110,115,116,97,110,99,101,46,105,115,82,101,97,100,121,44,10,32,32,32,32,32,32,32,32,109,97,110,105,102,101,115,116,58,32,105,110,115,116,97,110,99,101,46,109,97,110,105,102,101,115,116,10,32,32,32,32,32,32,125,59,10,32,32,32,32,32,32,114,101,116,117,114,110,32,123,10,32,32,32,32,32,32,32,32,115,116,97,116,101,10,32,32,32,32,32,32,125,59,10,32,32,32,32,125,44,10,32,32,32,32,115,101,116,76,97,121,111,117,116,40,114,101,113,117,101,115,116,41,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,73,100,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,105,110,115,116,97,110,99,101,73,100,59,10,32,32,32,32,32,32,99,111,110,115,116,32,108,97,121,111,117,116,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,108,97,121,111,117,116,59,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,32,61,32,105,110,115,116,97,110,99,101,115,77,97,112,46,103,101,116,40,105,110,115,116,97,110,99,101,73,100,41,59,10,32,32,32,32,32,32,105,102,32,40,33,105,110,115,116,97,110,99,101,41,32,123,10,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,69,114,114,111,114,40,96,73,110,115,116,97,110,99,101,32,119,105,116,104,32,105,100,32,36,123,105,110,115,116,97,110,99,101,73,100,125,32,100,111,101,115,32,110,111,116,32,101,120,105,115,116,46,96,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,105,110,115,116,97,110,99,101,46,115,101,116,76,97,121,111,117,116,40,108,97,121,111,117,116,41,59,10,32,32,32,32,32,32,114,101,116,117,114,110,32,123,10,32,32,32,32,32,32,32,32,115,117,99,99,101,115,115,58,32,116,114,117,101,10,32,32,32,32,32,32,125,59,10,32,32,32,32,125,44,10,32,32,32,32,103,101,116,83,116,97,116,101,77,97,99,104,105,110,101,76,105,115,116,101,110,101,114,115,40,114,101,113,117,101,115,116,41,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,73,100,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,105,110,115,116,97,110,99,101,73,100,59,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,32,61,32,105,110,115,116,97,110,99,101,115,77,97,112,46,103,101,116,40,105,110,115,116,97,110,99,101,73,100,41,59,10,32,32,32,32,32,32,105,102,32,40,33,105,110,115,116,97,110,99,101,41,32,123,10,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,69,114,114,111,114,40,96,73,110,115,116,97,110,99,101,32,119,105,116,104,32,105,100,32,36,123,105,110,115,116,97,110,99,101,73,100,125,32,100,111,101,115,32,110,111,116,32,101,120,105,115,116,46,96,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,114,101,116,117,114,110,32,105,110,115,116,97,110,99,101,46,103,101,116,83,116,97,116,101,77,97,99,104,105,110,101,76,105,115,116,101,110,101,114,115,40,41,59,10,32,32,32,32,125,44,10,32,32,32,32,112,111,115,116,80,111,105,110,116,101,114,68,111,119,110,69,118,101,110,116,40,114,101,113,117,101,115,116,41,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,73,100,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,105,110,115,116,97,110,99,101,73,100,59,10,32,32,32,32,32,32,99,111,110,115,116,32,120,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,120,59,10,32,32,32,32,32,32,99,111,110,115,116,32,121,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,121,59,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,32,61,32,105,110,115,116,97,110,99,101,115,77,97,112,46,103,101,116,40,105,110,115,116,97,110,99,101,73,100,41,59,10,32,32,32,32,32,32,105,102,32,40,33,105,110,115,116,97,110,99,101,41,32,123,10,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,69,114,114,111,114,40,96,73,110,115,116,97,110,99,101,32,119,105,116,104,32,105,100,32,36,123,105,110,115,116,97,110,99,101,73,100,125,32,100,111,101,115,32,110,111,116,32,101,120,105,115,116,46,96,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,114,101,116,117,114,110,32,105,110,115,116,97,110,99,101,46,112,111,115,116,80,111,105,110,116,101,114,68,111,119,110,69,118,101,110,116,40,120,44,32,121,41,59,10,32,32,32,32,125,44,10,32,32,32,32,112,111,115,116,80,111,105,110,116,101,114,69,110,116,101,114,69,118,101,110,116,40,114,101,113,117,101,115,116,41,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,73,100,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,105,110,115,116,97,110,99,101,73,100,59,10,32,32,32,32,32,32,99,111,110,115,116,32,120,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,120,59,10,32,32,32,32,32,32,99,111,110,115,116,32,121,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,121,59,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,32,61,32,105,110,115,116,97,110,99,101,115,77,97,112,46,103,101,116,40,105,110,115,116,97,110,99,101,73,100,41,59,10,32,32,32,32,32,32,105,102,32,40,33,105,110,115,116,97,110,99,101,41,32,123,10,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,69,114,114,111,114,40,96,73,110,115,116,97,110,99,101,32,119,105,116,104,32,105,100,32,36,123,105,110,115,116,97,110,99,101,73,100,125,32,100,111,101,115,32,110,111,116,32,101,120,105,115,116,46,96,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,114,101,116,117,114,110,32,105,110,115,116,97,110,99,101,46,112,111,115,116,80,111,105,110,116,101,114,69,110,116,101,114,69,118,101,110,116,40,120,44,32,121,41,59,10,32,32,32,32,125,44,10,32,32,32,32,112,111,115,116,80,111,105,110,116,101,114,69,120,105,116,69,118,101,110,116,40,114,101,113,117,101,115,116,41,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,73,100,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,105,110,115,116,97,110,99,101,73,100,59,10,32,32,32,32,32,32,99,111,110,115,116,32,120,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,120,59,10,32,32,32,32,32,32,99,111,110,115,116,32,121,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,121,59,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,32,61,32,105,110,115,116,97,110,99,101,115,77,97,112,46,103,101,116,40,105,110,115,116,97,110,99,101,73,100,41,59,10,32,32,32,32,32,32,105,102,32,40,33,105,110,115,116,97,110,99,101,41,32,123,10,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,69,114,114,111,114,40,96,73,110,115,116,97,110,99,101,32,119,105,116,104,32,105,100,32,36,123,105,110,115,116,97,110,99,101,73,100,125,32,100,111,101,115,32,110,111,116,32,101,120,105,115,116,46,96,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,114,101,116,117,114,110,32,105,110,115,116,97,110,99,101,46,112,111,115,116,80,111,105,110,116,101,114,69,120,105,116,69,118,101,110,116,40,120,44,32,121,41,59,10,32,32,32,32,125,44,10,32,32,32,32,112,111,115,116,80,111,105,110,116,101,114,77,111,118,101,69,118,101,110,116,40,114,101,113,117,101,115,116,41,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,73,100,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,105,110,115,116,97,110,99,101,73,100,59,10,32,32,32,32,32,32,99,111,110,115,116,32,120,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,120,59,10,32,32,32,32,32,32,99,111,110,115,116,32,121,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,121,59,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,32,61,32,105,110,115,116,97,110,99,101,115,77,97,112,46,103,101,116,40,105,110,115,116,97,110,99,101,73,100,41,59,10,32,32,32,32,32,32,105,102,32,40,33,105,110,115,116,97,110,99,101,41,32,123,10,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,69,114,114,111,114,40,96,73,110,115,116,97,110,99,101,32,119,105,116,104,32,105,100,32,36,123,105,110,115,116,97,110,99,101,73,100,125,32,100,111,101,115,32,110,111,116,32,101,120,105,115,116,46,96,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,114,101,116,117,114,110,32,105,110,115,116,97,110,99,101,46,112,111,115,116,80,111,105,110,116,101,114,77,111,118,101,69,118,101,110,116,40,120,44,32,121,41,59,10,32,32,32,32,125,44,10,32,32,32,32,112,111,115,116,80,111,105,110,116,101,114,85,112,69,118,101,110,116,40,114,101,113,117,101,115,116,41,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,73,100,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,105,110,115,116,97,110,99,101,73,100,59,10,32,32,32,32,32,32,99,111,110,115,116,32,120,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,120,59,10,32,32,32,32,32,32,99,111,110,115,116,32,121,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,121,59,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,32,61,32,105,110,115,116,97,110,99,101,115,77,97,112,46,103,101,116,40,105,110,115,116,97,110,99,101,73,100,41,59,10,32,32,32,32,32,32,105,102,32,40,33,105,110,115,116,97,110,99,101,41,32,123,10,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,69,114,114,111,114,40,96,73,110,115,116,97,110,99,101,32,119,105,116,104,32,105,100,32,36,123,105,110,115,116,97,110,99,101,73,100,125,32,100,111,101,115,32,110,111,116,32,101,120,105,115,116,46,96,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,114,101,116,117,114,110,32,105,110,115,116,97,110,99,101,46,112,111,115,116,80,111,105,110,116,101,114,85,112,69,118,101,110,116,40,120,44,32,121,41,59,10,32,32,32,32,125,44,10,32,32,32,32,115,116,97,114,116,83,116,97,116,101,77,97,99,104,105,110,101,40,114,101,113,117,101,115,116,41,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,73,100,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,105,110,115,116,97,110,99,101,73,100,59,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,32,61,32,105,110,115,116,97,110,99,101,115,77,97,112,46,103,101,116,40,105,110,115,116,97,110,99,101,73,100,41,59,10,32,32,32,32,32,32,105,102,32,40,33,105,110,115,116,97,110,99,101,41,32,123,10,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,69,114,114,111,114,40,96,73,110,115,116,97,110,99,101,32,119,105,116,104,32,105,100,32,36,123,105,110,115,116,97,110,99,101,73,100,125,32,100,111,101,115,32,110,111,116,32,101,120,105,115,116,46,96,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,114,101,116,117,114,110,32,105,110,115,116,97,110,99,101,46,115,116,97,114,116,83,116,97,116,101,77,97,99,104,105,110,101,40,41,59,10,32,32,32,32,125,44,10,32,32,32,32,115,116,111,112,83,116,97,116,101,77,97,99,104,105,110,101,40,114,101,113,117,101,115,116,41,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,73,100,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,105,110,115,116,97,110,99,101,73,100,59,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,32,61,32,105,110,115,116,97,110,99,101,115,77,97,112,46,103,101,116,40,105,110,115,116,97,110,99,101,73,100,41,59,10,32,32,32,32,32,32,105,102,32,40,33,105,110,115,116,97,110,99,101,41,32,123,10,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,69,114,114,111,114,40,96,73,110,115,116,97,110,99,101,32,119,105,116,104,32,105,100,32,36,123,105,110,115,116,97,110,99,101,73,100,125,32,100,111,101,115,32,110,111,116,32,101,120,105,115,116,46,96,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,114,101,116,117,114,110,32,105,110,115,116,97,110,99,101,46,115,116,111,112,83,116,97,116,101,77,97,99,104,105,110,101,40,41,59,10,32,32,32,32,125,44,10,32,32,32,32,108,111,97,100,83,116,97,116,101,77,97,99,104,105,110,101,40,114,101,113,117,101,115,116,41,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,73,100,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,105,110,115,116,97,110,99,101,73,100,59,10,32,32,32,32,32,32,99,111,110,115,116,32,115,116,97,116,101,77,97,99,104,105,110,101,73,100,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,115,116,97,116,101,77,97,99,104,105,110,101,73,100,59,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,32,61,32,105,110,115,116,97,110,99,101,115,77,97,112,46,103,101,116,40,105,110,115,116,97,110,99,101,73,100,41,59,10,32,32,32,32,32,32,105,102,32,40,33,105,110,115,116,97,110,99,101,41,32,123,10,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,69,114,114,111,114,40,96,73,110,115,116,97,110,99,101,32,119,105,116,104,32,105,100,32,36,123,105,110,115,116,97,110,99,101,73,100,125,32,100,111,101,115,32,110,111,116,32,101,120,105,115,116,46,96,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,114,101,116,117,114,110,32,105,110,115,116,97,110,99,101,46,108,111,97,100,83,116,97,116,101,77,97,99,104,105,110,101,40,115,116,97,116,101,77,97,99,104,105,110,101,73,100,41,59,10,32,32,32,32,125,44,10,32,32,32,32,108,111,97,100,83,116,97,116,101,77,97,99,104,105,110,101,68,97,116,97,40,114,101,113,117,101,115,116,41,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,73,100,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,105,110,115,116,97,110,99,101,73,100,59,10,32,32,32,32,32,32,99,111,110,115,116,32,115,116,97,116,101,77,97,99,104,105,110,101,68,97,116,97,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,115,116,97,116,101,77,97,99,104,105,110,101,68,97,116,97,59,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,32,61,32,105,110,115,116,97,110,99,101,115,77,97,112,46,103,101,116,40,105,110,115,116,97,110,99,101,73,100,41,59,10,32,32,32,32,32,32,105,102,32,40,33,105,110,115,116,97,110,99,101,41,32,123,10,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,69,114,114,111,114,40,96,73,110,115,116,97,110,99,101,32,119,105,116,104,32,105,100,32,36,123,105,110,115,116,97,110,99,101,73,100,125,32,100,111,101,115,32,110,111,116,32,101,120,105,115,116,46,96,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,114,101,116,117,114,110,32,105,110,115,116,97,110,99,101,46,108,111,97,100,83,116,97,116,101,77,97,99,104,105,110,101,68,97,116,97,40,115,116,97,116,101,77,97,99,104,105,110,101,68,97,116,97,41,59,10,32,32,32,32,125,44,10,32,32,32,32,99,114,101,97,116,101,58,32,40,114,101,113,117,101,115,116,41,32,61,62,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,73,100,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,105,110,115,116,97,110,99,101,73,100,59,10,32,32,32,32,32,32,99,111,110,115,116,32,99,111,110,102,105,103,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,99,111,110,102,105,103,59,10,32,32,32,32,32,32,99,111,110,115,116,32,119,105,100,116,104,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,119,105,100,116,104,59,10,32,32,32,32,32,32,99,111,110,115,116,32,104,101,105,103,104,116,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,104,101,105,103,104,116,59,10,32,32,32,32,32,32,105,102,32,40,105,110,115,116,97,110,99,101,115,77,97,112,46,104,97,115,40,105,110,115,116,97,110,99,101,73,100,41,41,32,123,10,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,69,114,114,111,114,40,96,73,110,115,116,97,110,99,101,32,119,105,116,104,32,105,100,32,36,123,105,110,115,116,97,110,99,101,73,100,125,32,97,108,114,101,97,100,121,32,101,120,105,115,116,115,46,96,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,32,61,32,110,101,119,32,68,111,116,76,111,116,116,105,101,40,99,111,110,102,105,103,41,59,10,32,32,32,32,32,32,105,110,115,116,97,110,99,101,46,99,97,110,118,97,115,46,104,101,105,103,104,116,32,61,32,104,101,105,103,104,116,59,10,32,32,32,32,32,32,105,110,115,116,97,110,99,101,46,99,97,110,118,97,115,46,119,105,100,116,104,32,61,32,119,105,100,116,104,59,10,32,32,32,32,32,32,105,110,115,116,97,110,99,101,115,77,97,112,46,115,101,116,40,105,110,115,116,97,110,99,101,73,100,44,32,105,110,115,116,97,110,99,101,41,59,10,32,32,32,32,32,32,99,111,110,115,116,32,101,118,101,110,116,115,32,61,32,91,10,32,32,32,32,32,32,32,32,34,99,111,109,112,108,101,116,101,34,44,10,32,32,32,32,32,32,32,32,34,102,114,97,109,101,34,44,10,32,32,32,32,32,32,32,32,34,108,111,97,100,34,44,10,32,32,32,32,32,32,32,32,34,108,111,97,100,69,114,114,111,114,34,44,10,32,32,32,32,32,32,32,32,34,114,101,110,100,101,114,69,114,114,111,114,34,44,10,32,32,32,32,32,32,32,32,34,108,111,111,112,34,44,10,32,32,32,32,32,32,32,32,34,112,97,117,115,101,34,44,10,32,32,32,32,32,32,32,32,34,112,108,97,121,34,44,10,32,32,32,32,32,32,32,32,34,115,116,111,112,34,44,10,32,32,32,32,32,32,32,32,34,100,101,115,116,114,111,121,34,44,10,32,32,32,32,32,32,32,32,34,102,114,101,101,122,101,34,44,10,32,32,32,32,32,32,32,32,34,117,110,102,114,101,101,122,101,34,44,10,32,32,32,32,32,32,32,32,34,114,101,110,100,101,114,34,44,10,32,32,32,32,32,32,32,32,34,114,101,97,100,121,34,10,32,32,32,32,32,32,93,59,10,32,32,32,32,32,32,101,118,101,110,116,115,46,102,111,114,69,97,99,104,40,40,101,118,101,110,116,41,32,61,62,32,123,10,32,32,32,32,32,32,32,32,105,110,115,116,97,110,99,101,46,97,100,100,69,118,101,110,116,76,105,115,116,101,110,101,114,40,101,118,101,110,116,44,32,101,118,101,110,116,72,97,110,100,108,101,114,77,97,112,91,101,118,101,110,116,93,40,105,110,115,116,97,110,99,101,73,100,41,41,59,10,32,32,32,32,32,32,125,41,59,10,32,32,32,32,32,32,114,101,116,117,114,110,32,123,10,32,32,32,32,32,32,32,32,105,110,115,116,97,110,99,101,73,100,10,32,32,32,32,32,32,125,59,10,32,32,32,32,125,44,10,32,32,32,32,100,101,115,116,114,111,121,58,32,40,114,101,113,117,101,115,116,41,32,61,62,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,73,100,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,105,110,115,116,97,110,99,101,73,100,59,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,32,61,32,105,110,115,116,97,110,99,101,115,77,97,112,46,103,101,116,40,105,110,115,116,97,110,99,101,73,100,41,59,10,32,32,32,32,32,32,105,102,32,40,33,105,110,115,116,97,110,99,101,41,32,114,101,116,117,114,110,59,10,32,32,32,32,32,32,105,110,115,116,97,110,99,101,46,100,101,115,116,114,111,121,40,41,59,10,32,32,32,32,32,32,105,110,115,116,97,110,99,101,115,77,97,112,46,100,101,108,101,116,101,40,105,110,115,116,97,110,99,101,73,100,41,59,10,32,32,32,32,125,44,10,32,32,32,32,102,114,101,101,122,101,58,32,40,114,101,113,117,101,115,116,41,32,61,62,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,73,100,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,105,110,115,116,97,110,99,101,73,100,59,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,32,61,32,105,110,115,116,97,110,99,101,115,77,97,112,46,103,101,116,40,105,110,115,116,97,110,99,101,73,100,41,59,10,32,32,32,32,32,32,105,102,32,40,33,105,110,115,116,97,110,99,101,41,32,123,10,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,69,114,114,111,114,40,96,73,110,115,116,97,110,99,101,32,119,105,116,104,32,105,100,32,36,123,105,110,115,116,97,110,99,101,73,100,125,32,100,111,101,115,32,110,111,116,32,101,120,105,115,116,46,96,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,105,110,115,116,97,110,99,101,46,102,114,101,101,122,101,40,41,59,10,32,32,32,32,125,44,10,32,32,32,32,108,111,97,100,58,32,40,114,101,113,117,101,115,116,41,32,61,62,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,73,100,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,105,110,115,116,97,110,99,101,73,100,59,10,32,32,32,32,32,32,99,111,110,115,116,32,99,111,110,102,105,103,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,99,111,110,102,105,103,59,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,32,61,32,105,110,115,116,97,110,99,101,115,77,97,112,46,103,101,116,40,105,110,115,116,97,110,99,101,73,100,41,59,10,32,32,32,32,32,32,105,102,32,40,33,105,110,115,116,97,110,99,101,41,32,123,10,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,69,114,114,111,114,40,96,73,110,115,116,97,110,99,101,32,119,105,116,104,32,105,100,32,36,123,105,110,115,116,97,110,99,101,73,100,125,32,100,111,101,115,32,110,111,116,32,101,120,105,115,116,46,96,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,105,110,115,116,97,110,99,101,46,108,111,97,100,40,99,111,110,102,105,103,41,59,10,32,32,32,32,125,44,10,32,32,32,32,108,111,97,100,65,110,105,109,97,116,105,111,110,58,32,40,114,101,113,117,101,115,116,41,32,61,62,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,73,100,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,105,110,115,116,97,110,99,101,73,100,59,10,32,32,32,32,32,32,99,111,110,115,116,32,97,110,105,109,97,116,105,111,110,73,100,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,97,110,105,109,97,116,105,111,110,73,100,59,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,32,61,32,105,110,115,116,97,110,99,101,115,77,97,112,46,103,101,116,40,105,110,115,116,97,110,99,101,73,100,41,59,10,32,32,32,32,32,32,105,102,32,40,33,105,110,115,116,97,110,99,101,41,32,123,10,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,69,114,114,111,114,40,96,73,110,115,116,97,110,99,101,32,119,105,116,104,32,105,100,32,36,123,105,110,115,116,97,110,99,101,73,100,125,32,100,111,101,115,32,110,111,116,32,101,120,105,115,116,46,96,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,105,110,115,116,97,110,99,101,46,108,111,97,100,65,110,105,109,97,116,105,111,110,40,97,110,105,109,97,116,105,111,110,73,100,41,59,10,32,32,32,32,125,44,10,32,32,32,32,115,101,116,84,104,101,109,101,58,32,40,114,101,113,117,101,115,116,41,32,61,62,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,73,100,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,105,110,115,116,97,110,99,101,73,100,59,10,32,32,32,32,32,32,99,111,110,115,116,32,116,104,101,109,101,73,100,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,116,104,101,109,101,73,100,59,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,32,61,32,105,110,115,116,97,110,99,101,115,77,97,112,46,103,101,116,40,105,110,115,116,97,110,99,101,73,100,41,59,10,32,32,32,32,32,32,105,102,32,40,33,105,110,115,116,97,110,99,101,41,32,123,10,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,69,114,114,111,114,40,96,73,110,115,116,97,110,99,101,32,119,105,116,104,32,105,100,32,36,123,105,110,115,116,97,110,99,101,73,100,125,32,100,111,101,115,32,110,111,116,32,101,120,105,115,116,46,96,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,114,101,116,117,114,110,32,105,110,115,116,97,110,99,101,46,115,101,116,84,104,101,109,101,40,116,104,101,109,101,73,100,41,59,10,32,32,32,32,125,44,10,32,32,32,32,115,101,116,84,104,101,109,101,68,97,116,97,58,32,40,114,101,113,117,101,115,116,41,32,61,62,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,73,100,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,105,110,115,116,97,110,99,101,73,100,59,10,32,32,32,32,32,32,99,111,110,115,116,32,116,104,101,109,101,68,97,116,97,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,116,104,101,109,101,68,97,116,97,59,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,32,61,32,105,110,115,116,97,110,99,101,115,77,97,112,46,103,101,116,40,105,110,115,116,97,110,99,101,73,100,41,59,10,32,32,32,32,32,32,105,102,32,40,33,105,110,115,116,97,110,99,101,41,32,123,10,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,69,114,114,111,114,40,96,73,110,115,116,97,110,99,101,32,119,105,116,104,32,105,100,32,36,123,105,110,115,116,97,110,99,101,73,100,125,32,100,111,101,115,32,110,111,116,32,101,120,105,115,116,46,96,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,114,101,116,117,114,110,32,105,110,115,116,97,110,99,101,46,115,101,116,84,104,101,109,101,68,97,116,97,40,116,104,101,109,101,68,97,116,97,41,59,10,32,32,32,32,125,44,10,32,32,32,32,112,97,117,115,101,58,32,40,114,101,113,117,101,115,116,41,32,61,62,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,73,100,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,105,110,115,116,97,110,99,101,73,100,59,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,32,61,32,105,110,115,116,97,110,99,101,115,77,97,112,46,103,101,116,40,105,110,115,116,97,110,99,101,73,100,41,59,10,32,32,32,32,32,32,105,102,32,40,33,105,110,115,116,97,110,99,101,41,32,123,10,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,69,114,114,111,114,40,96,73,110,115,116,97,110,99,101,32,119,105,116,104,32,105,100,32,36,123,105,110,115,116,97,110,99,101,73,100,125,32,100,111,101,115,32,110,111,116,32,101,120,105,115,116,46,96,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,114,101,116,117,114,110,32,105,110,115,116,97,110,99,101,46,112,97,117,115,101,40,41,59,10,32,32,32,32,125,44,10,32,32,32,32,112,108,97,121,58,32,40,114,101,113,117,101,115,116,41,32,61,62,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,73,100,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,105,110,115,116,97,110,99,101,73,100,59,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,32,61,32,105,110,115,116,97,110,99,101,115,77,97,112,46,103,101,116,40,105,110,115,116,97,110,99,101,73,100,41,59,10,32,32,32,32,32,32,105,102,32,40,33,105,110,115,116,97,110,99,101,41,32,123,10,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,69,114,114,111,114,40,96,73,110,115,116,97,110,99,101,32,119,105,116,104,32,105,100,32,36,123,105,110,115,116,97,110,99,101,73,100,125,32,100,111,101,115,32,110,111,116,32,101,120,105,115,116,46,96,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,114,101,116,117,114,110,32,105,110,115,116,97,110,99,101,46,112,108,97,121,40,41,59,10,32,32,32,32,125,44,10,32,32,32,32,114,101,115,105,122,101,58,32,40,114,101,113,117,101,115,116,41,32,61,62,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,73,100,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,105,110,115,116,97,110,99,101,73,100,59,10,32,32,32,32,32,32,99,111,110,115,116,32,119,105,100,116,104,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,119,105,100,116,104,59,10,32,32,32,32,32,32,99,111,110,115,116,32,104,101,105,103,104,116,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,104,101,105,103,104,116,59,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,32,61,32,105,110,115,116,97,110,99,101,115,77,97,112,46,103,101,116,40,105,110,115,116,97,110,99,101,73,100,41,59,10,32,32,32,32,32,32,105,102,32,40,33,105,110,115,116,97,110,99,101,41,32,123,10,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,69,114,114,111,114,40,96,73,110,115,116,97,110,99,101,32,119,105,116,104,32,105,100,32,36,123,105,110,115,116,97,110,99,101,73,100,125,32,100,111,101,115,32,110,111,116,32,101,120,105,115,116,46,96,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,105,110,115,116,97,110,99,101,46,99,97,110,118,97,115,46,104,101,105,103,104,116,32,61,32,104,101,105,103,104,116,59,10,32,32,32,32,32,32,105,110,115,116,97,110,99,101,46,99,97,110,118,97,115,46,119,105,100,116,104,32,61,32,119,105,100,116,104,59,10,32,32,32,32,32,32,105,110,115,116,97,110,99,101,46,114,101,115,105,122,101,40,41,59,10,32,32,32,32,32,32,114,101,116,117,114,110,32,123,10,32,32,32,32,32,32,32,32,115,117,99,99,101,115,115,58,32,116,114,117,101,10,32,32,32,32,32,32,125,59,10,32,32,32,32,125,44,10,32,32,32,32,115,101,116,66,97,99,107,103,114,111,117,110,100,67,111,108,111,114,58,32,40,114,101,113,117,101,115,116,41,32,61,62,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,73,100,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,105,110,115,116,97,110,99,101,73,100,59,10,32,32,32,32,32,32,99,111,110,115,116,32,98,97,99,107,103,114,111,117,110,100,67,111,108,111,114,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,98,97,99,107,103,114,111,117,110,100,67,111,108,111,114,59,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,32,61,32,105,110,115,116,97,110,99,101,115,77,97,112,46,103,101,116,40,105,110,115,116,97,110,99,101,73,100,41,59,10,32,32,32,32,32,32,105,102,32,40,33,105,110,115,116,97,110,99,101,41,32,123,10,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,69,114,114,111,114,40,96,73,110,115,116,97,110,99,101,32,119,105,116,104,32,105,100,32,36,123,105,110,115,116,97,110,99,101,73,100,125,32,100,111,101,115,32,110,111,116,32,101,120,105,115,116,46,96,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,105,110,115,116,97,110,99,101,46,115,101,116,66,97,99,107,103,114,111,117,110,100,67,111,108,111,114,40,98,97,99,107,103,114,111,117,110,100,67,111,108,111,114,41,59,10,32,32,32,32,125,44,10,32,32,32,32,115,101,116,70,114,97,109,101,58,32,40,114,101,113,117,101,115,116,41,32,61,62,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,73,100,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,105,110,115,116,97,110,99,101,73,100,59,10,32,32,32,32,32,32,99,111,110,115,116,32,102,114,97,109,101,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,102,114,97,109,101,59,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,32,61,32,105,110,115,116,97,110,99,101,115,77,97,112,46,103,101,116,40,105,110,115,116,97,110,99,101,73,100,41,59,10,32,32,32,32,32,32,105,102,32,40,33,105,110,115,116,97,110,99,101,41,32,123,10,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,69,114,114,111,114,40,96,73,110,115,116,97,110,99,101,32,119,105,116,104,32,105,100,32,36,123,105,110,115,116,97,110,99,101,73,100,125,32,100,111,101,115,32,110,111,116,32,101,120,105,115,116,46,96,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,105,110,115,116,97,110,99,101,46,115,101,116,70,114,97,109,101,40,102,114,97,109,101,41,59,10,32,32,32,32,125,44,10,32,32,32,32,115,101,116,77,111,100,101,58,32,40,114,101,113,117,101,115,116,41,32,61,62,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,73,100,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,105,110,115,116,97,110,99,101,73,100,59,10,32,32,32,32,32,32,99,111,110,115,116,32,109,111,100,101,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,109,111,100,101,59,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,32,61,32,105,110,115,116,97,110,99,101,115,77,97,112,46,103,101,116,40,105,110,115,116,97,110,99,101,73,100,41,59,10,32,32,32,32,32,32,105,102,32,40,33,105,110,115,116,97,110,99,101,41,32,123,10,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,69,114,114,111,114,40,96,73,110,115,116,97,110,99,101,32,119,105,116,104,32,105,100,32,36,123,105,110,115,116,97,110,99,101,73,100,125,32,100,111,101,115,32,110,111,116,32,101,120,105,115,116,46,96,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,105,110,115,116,97,110,99,101,46,115,101,116,77,111,100,101,40,109,111,100,101,41,59,10,32,32,32,32,125,44,10,32,32,32,32,115,101,116,82,101,110,100,101,114,67,111,110,102,105,103,58,32,40,114,101,113,117,101,115,116,41,32,61,62,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,73,100,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,105,110,115,116,97,110,99,101,73,100,59,10,32,32,32,32,32,32,99,111,110,115,116,32,114,101,110,100,101,114,67,111,110,102,105,103,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,114,101,110,100,101,114,67,111,110,102,105,103,59,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,32,61,32,105,110,115,116,97,110,99,101,115,77,97,112,46,103,101,116,40,105,110,115,116,97,110,99,101,73,100,41,59,10,32,32,32,32,32,32,105,102,32,40,33,105,110,115,116,97,110,99,101,41,32,123,10,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,69,114,114,111,114,40,96,73,110,115,116,97,110,99,101,32,119,105,116,104,32,105,100,32,36,123,105,110,115,116,97,110,99,101,73,100,125,32,100,111,101,115,32,110,111,116,32,101,120,105,115,116,46,96,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,105,110,115,116,97,110,99,101,46,115,101,116,82,101,110,100,101,114,67,111,110,102,105,103,40,114,101,110,100,101,114,67,111,110,102,105,103,41,59,10,32,32,32,32,125,44,10,32,32,32,32,115,101,116,83,101,103,109,101,110,116,58,32,40,114,101,113,117,101,115,116,41,32,61,62,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,73,100,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,105,110,115,116,97,110,99,101,73,100,59,10,32,32,32,32,32,32,99,111,110,115,116,32,115,101,103,109,101,110,116,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,115,101,103,109,101,110,116,59,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,32,61,32,105,110,115,116,97,110,99,101,115,77,97,112,46,103,101,116,40,105,110,115,116,97,110,99,101,73,100,41,59,10,32,32,32,32,32,32,105,102,32,40,33,105,110,115,116,97,110,99,101,41,32,123,10,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,69,114,114,111,114,40,96,73,110,115,116,97,110,99,101,32,119,105,116,104,32,105,100,32,36,123,105,110,115,116,97,110,99,101,73,100,125,32,100,111,101,115,32,110,111,116,32,101,120,105,115,116,46,96,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,105,110,115,116,97,110,99,101,46,115,101,116,83,101,103,109,101,110,116,40,115,101,103,109,101,110,116,91,48,93,44,32,115,101,103,109,101,110,116,91,49,93,41,59,10,32,32,32,32,125,44,10,32,32,32,32,115,101,116,83,112,101,101,100,58,32,40,114,101,113,117,101,115,116,41,32,61,62,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,73,100,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,105,110,115,116,97,110,99,101,73,100,59,10,32,32,32,32,32,32,99,111,110,115,116,32,115,112,101,101,100,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,115,112,101,101,100,59,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,32,61,32,105,110,115,116,97,110,99,101,115,77,97,112,46,103,101,116,40,105,110,115,116,97,110,99,101,73,100,41,59,10,32,32,32,32,32,32,105,102,32,40,33,105,110,115,116,97,110,99,101,41,32,123,10,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,69,114,114,111,114,40,96,73,110,115,116,97,110,99,101,32,119,105,116,104,32,105,100,32,36,123,105,110,115,116,97,110,99,101,73,100,125,32,100,111,101,115,32,110,111,116,32,101,120,105,115,116,46,96,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,105,110,115,116,97,110,99,101,46,115,101,116,83,112,101,101,100,40,115,112,101,101,100,41,59,10,32,32,32,32,125,44,10,32,32,32,32,115,101,116,85,115,101,70,114,97,109,101,73,110,116,101,114,112,111,108,97,116,105,111,110,58,32,40,114,101,113,117,101,115,116,41,32,61,62,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,73,100,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,105,110,115,116,97,110,99,101,73,100,59,10,32,32,32,32,32,32,99,111,110,115,116,32,117,115,101,70,114,97,109,101,73,110,116,101,114,112,111,108,97,116,105,111,110,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,117,115,101,70,114,97,109,101,73,110,116,101,114,112,111,108,97,116,105,111,110,59,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,32,61,32,105,110,115,116,97,110,99,101,115,77,97,112,46,103,101,116,40,105,110,115,116,97,110,99,101,73,100,41,59,10,32,32,32,32,32,32,105,102,32,40,33,105,110,115,116,97,110,99,101,41,32,123,10,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,69,114,114,111,114,40,96,73,110,115,116,97,110,99,101,32,119,105,116,104,32,105,100,32,36,123,105,110,115,116,97,110,99,101,73,100,125,32,100,111,101,115,32,110,111,116,32,101,120,105,115,116,46,96,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,105,110,115,116,97,110,99,101,46,115,101,116,85,115,101,70,114,97,109,101,73,110,116,101,114,112,111,108,97,116,105,111,110,40,117,115,101,70,114,97,109,101,73,110,116,101,114,112,111,108,97,116,105,111,110,41,59,10,32,32,32,32,125,44,10,32,32,32,32,115,101,116,87,97,115,109,85,114,108,58,32,40,114,101,113,117,101,115,116,41,32,61,62,32,123,10,32,32,32,32,32,32,68,111,116,76,111,116,116,105,101,46,115,101,116,87,97,115,109,85,114,108,40,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,117,114,108,41,59,10,32,32,32,32,125,44,10,32,32,32,32,115,116,111,112,58,32,40,114,101,113,117,101,115,116,41,32,61,62,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,73,100,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,105,110,115,116,97,110,99,101,73,100,59,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,32,61,32,105,110,115,116,97,110,99,101,115,77,97,112,46,103,101,116,40,105,110,115,116,97,110,99,101,73,100,41,59,10,32,32,32,32,32,32,105,102,32,40,33,105,110,115,116,97,110,99,101,41,32,123,10,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,69,114,114,111,114,40,96,73,110,115,116,97,110,99,101,32,119,105,116,104,32,105,100,32,36,123,105,110,115,116,97,110,99,101,73,100,125,32,100,111,101,115,32,110,111,116,32,101,120,105,115,116,46,96,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,105,110,115,116,97,110,99,101,46,115,116,111,112,40,41,59,10,32,32,32,32,125,44,10,32,32,32,32,117,110,102,114,101,101,122,101,58,32,40,114,101,113,117,101,115,116,41,32,61,62,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,73,100,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,105,110,115,116,97,110,99,101,73,100,59,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,32,61,32,105,110,115,116,97,110,99,101,115,77,97,112,46,103,101,116,40,105,110,115,116,97,110,99,101,73,100,41,59,10,32,32,32,32,32,32,105,102,32,40,33,105,110,115,116,97,110,99,101,41,32,123,10,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,69,114,114,111,114,40,96,73,110,115,116,97,110,99,101,32,119,105,116,104,32,105,100,32,36,123,105,110,115,116,97,110,99,101,73,100,125,32,100,111,101,115,32,110,111,116,32,101,120,105,115,116,46,96,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,105,110,115,116,97,110,99,101,46,117,110,102,114,101,101,122,101,40,41,59,10,32,32,32,32,125,44,10,32,32,32,32,116,119,101,101,110,58,32,40,114,101,113,117,101,115,116,41,32,61,62,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,73,100,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,105,110,115,116,97,110,99,101,73,100,59,10,32,32,32,32,32,32,99,111,110,115,116,32,102,114,97,109,101,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,102,114,97,109,101,59,10,32,32,32,32,32,32,99,111,110,115,116,32,100,117,114,97,116,105,111,110,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,100,117,114,97,116,105,111,110,59,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,32,61,32,105,110,115,116,97,110,99,101,115,77,97,112,46,103,101,116,40,105,110,115,116,97,110,99,101,73,100,41,59,10,32,32,32,32,32,32,105,102,32,40,33,105,110,115,116,97,110,99,101,41,32,123,10,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,69,114,114,111,114,40,96,73,110,115,116,97,110,99,101,32,119,105,116,104,32,105,100,32,36,123,105,110,115,116,97,110,99,101,73,100,125,32,100,111,101,115,32,110,111,116,32,101,120,105,115,116,46,96,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,114,101,116,117,114,110,32,105,110,115,116,97,110,99,101,46,116,119,101,101,110,40,102,114,97,109,101,44,32,100,117,114,97,116,105,111,110,41,59,10,32,32,32,32,125,44,10,32,32,32,32,116,119,101,101,110,84,111,77,97,114,107,101,114,58,32,40,114,101,113,117,101,115,116,41,32,61,62,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,73,100,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,105,110,115,116,97,110,99,101,73,100,59,10,32,32,32,32,32,32,99,111,110,115,116,32,109,97,114,107,101,114,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,109,97,114,107,101,114,59,10,32,32,32,32,32,32,99,111,110,115,116,32,100,117,114,97,116,105,111,110,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,100,117,114,97,116,105,111,110,59,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,32,61,32,105,110,115,116,97,110,99,101,115,77,97,112,46,103,101,116,40,105,110,115,116,97,110,99,101,73,100,41,59,10,32,32,32,32,32,32,105,102,32,40,33,105,110,115,116,97,110,99,101,41,32,123,10,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,69,114,114,111,114,40,96,73,110,115,116,97,110,99,101,32,119,105,116,104,32,105,100,32,36,123,105,110,115,116,97,110,99,101,73,100,125,32,100,111,101,115,32,110,111,116,32,101,120,105,115,116,46,96,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,114,101,116,117,114,110,32,105,110,115,116,97,110,99,101,46,116,119,101,101,110,84,111,77,97,114,107,101,114,40,109,97,114,107,101,114,44,32,100,117,114,97,116,105,111,110,41,59,10,32,32,32,32,125,44,10,32,32,32,32,115,101,116,86,105,101,119,112,111,114,116,40,114,101,113,117,101,115,116,41,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,73,100,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,105,110,115,116,97,110,99,101,73,100,59,10,32,32,32,32,32,32,99,111,110,115,116,32,120,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,120,59,10,32,32,32,32,32,32,99,111,110,115,116,32,121,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,121,59,10,32,32,32,32,32,32,99,111,110,115,116,32,119,105,100,116,104,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,119,105,100,116,104,59,10,32,32,32,32,32,32,99,111,110,115,116,32,104,101,105,103,104,116,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,104,101,105,103,104,116,59,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,32,61,32,105,110,115,116,97,110,99,101,115,77,97,112,46,103,101,116,40,105,110,115,116,97,110,99,101,73,100,41,59,10,32,32,32,32,32,32,105,102,32,40,33,105,110,115,116,97,110,99,101,41,32,123,10,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,69,114,114,111,114,40,96,73,110,115,116,97,110,99,101,32,119,105,116,104,32,105,100,32,36,123,105,110,115,116,97,110,99,101,73,100,125,32,100,111,101,115,32,110,111,116,32,101,120,105,115,116,46,96,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,114,101,116,117,114,110,32,105,110,115,116,97,110,99,101,46,115,101,116,86,105,101,119,112,111,114,116,40,120,44,32,121,44,32,119,105,100,116,104,44,32,104,101,105,103,104,116,41,59,10,32,32,32,32,125,44,10,32,32,32,32,97,110,105,109,97,116,105,111,110,83,105,122,101,40,114,101,113,117,101,115,116,41,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,73,100,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,105,110,115,116,97,110,99,101,73,100,59,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,32,61,32,105,110,115,116,97,110,99,101,115,77,97,112,46,103,101,116,40,105,110,115,116,97,110,99,101,73,100,41,59,10,32,32,32,32,32,32,105,102,32,40,33,105,110,115,116,97,110,99,101,41,32,123,10,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,69,114,114,111,114,40,96,73,110,115,116,97,110,99,101,32,119,105,116,104,32,105,100,32,36,123,105,110,115,116,97,110,99,101,73,100,125,32,100,111,101,115,32,110,111,116,32,101,120,105,115,116,46,96,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,99,111,110,115,116,32,123,32,104,101,105,103,104,116,44,32,119,105,100,116,104,32,125,32,61,32,105,110,115,116,97,110,99,101,46,97,110,105,109,97,116,105,111,110,83,105,122,101,40,41,59,10,32,32,32,32,32,32,114,101,116,117,114,110,32,123,10,32,32,32,32,32,32,32,32,104,101,105,103,104,116,44,10,32,32,32,32,32,32,32,32,119,105,100,116,104,10,32,32,32,32,32,32,125,59,10,32,32,32,32,125,44,10,32,32,32,32,115,101,116,77,97,114,107,101,114,40,114,101,113,117,101,115,116,41,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,73,100,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,105,110,115,116,97,110,99,101,73,100,59,10,32,32,32,32,32,32,99,111,110,115,116,32,109,97,114,107,101,114,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,109,97,114,107,101,114,59,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,32,61,32,105,110,115,116,97,110,99,101,115,77,97,112,46,103,101,116,40,105,110,115,116,97,110,99,101,73,100,41,59,10,32,32,32,32,32,32,105,102,32,40,33,105,110,115,116,97,110,99,101,41,32,123,10,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,69,114,114,111,114,40,96,73,110,115,116,97,110,99,101,32,119,105,116,104,32,105,100,32,36,123,105,110,115,116,97,110,99,101,73,100,125,32,100,111,101,115,32,110,111,116,32,101,120,105,115,116,46,96,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,105,110,115,116,97,110,99,101,46,115,101,116,77,97,114,107,101,114,40,109,97,114,107,101,114,41,59,10,32,32,32,32,32,32,114,101,116,117,114,110,32,123,10,32,32,32,32,32,32,32,32,115,117,99,99,101,115,115,58,32,116,114,117,101,10,32,32,32,32,32,32,125,59,10,32,32,32,32,125,44,10,32,32,32,32,115,101,116,76,111,111,112,40,114,101,113,117,101,115,116,41,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,73,100,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,105,110,115,116,97,110,99,101,73,100,59,10,32,32,32,32,32,32,99,111,110,115,116,32,108,111,111,112,32,61,32,114,101,113,117,101,115,116,46,112,97,114,97,109,115,46,108,111,111,112,59,10,32,32,32,32,32,32,99,111,110,115,116,32,105,110,115,116,97,110,99,101,32,61,32,105,110,115,116,97,110,99,101,115,77,97,112,46,103,101,116,40,105,110,115,116,97,110,99,101,73,100,41,59,10,32,32,32,32,32,32,105,102,32,40,33,105,110,115,116,97,110,99,101,41,32,123,10,32,32,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,69,114,114,111,114,40,96,73,110,115,116,97,110,99,101,32,119,105,116,104,32,105,100,32,36,123,105,110,115,116,97,110,99,101,73,100,125,32,100,111,101,115,32,110,111,116,32,101,120,105,115,116,46,96,41,59,10,32,32,32,32,32,32,125,10,32,32,32,32,32,32,105,110,115,116,97,110,99,101,46,115,101,116,76,111,111,112,40,108,111,111,112,41,59,10,32,32,32,32,32,32,114,101,116,117,114,110,32,123,10,32,32,32,32,32,32,32,32,115,117,99,99,101,115,115,58,32,116,114,117,101,10,32,32,32,32,32,32,125,59,10,32,32,32,32,125,10,32,32,125,59,10,32,32,102,117,110,99,116,105,111,110,32,101,120,101,99,117,116,101,67,111,109,109,97,110,100,40,114,112,99,82,101,113,117,101,115,116,41,32,123,10,32,32,32,32,99,111,110,115,116,32,109,101,116,104,111,100,32,61,32,114,112,99,82,101,113,117,101,115,116,46,109,101,116,104,111,100,59,10,32,32,32,32,105,102,32,40,116,121,112,101,111,102,32,99,111,109,109,97,110,100,115,91,109,101,116,104,111,100,93,32,61,61,61,32,34,102,117,110,99,116,105,111,110,34,41,32,123,10,32,32,32,32,32,32,114,101,116,117,114,110,32,99,111,109,109,97,110,100,115,91,109,101,116,104,111,100,93,40,114,112,99,82,101,113,117,101,115,116,41,59,10,32,32,32,32,125,32,101,108,115,101,32,123,10,32,32,32,32,32,32,116,104,114,111,119,32,110,101,119,32,69,114,114,111,114,40,96,77,101,116,104,111,100,32,36,123,109,101,116,104,111,100,125,32,105,115,32,110,111,116,32,105,109,112,108,101,109,101,110,116,101,100,32,105,110,32,99,111,109,109,97,110,100,115,46,96,41,59,10,32,32,32,32,125,10,32,32,125,10,32,32,115,101,108,102,46,111,110,109,101,115,115,97,103,101,32,61,32,40,101,118,101,110,116,41,32,61,62,32,123,10,32,32,32,32,116,114,121,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,114,101,115,117,108,116,32,61,32,101,120,101,99,117,116,101,67,111,109,109,97,110,100,40,101,118,101,110,116,46,100,97,116,97,41,59,10,32,32,32,32,32,32,99,111,110,115,116,32,114,101,115,112,111,110,115,101,32,61,32,123,10,32,32,32,32,32,32,32,32,105,100,58,32,101,118,101,110,116,46,100,97,116,97,46,105,100,44,10,32,32,32,32,32,32,32,32,109,101,116,104,111,100,58,32,101,118,101,110,116,46,100,97,116,97,46,109,101,116,104,111,100,44,10,32,32,32,32,32,32,32,32,114,101,115,117,108,116,10,32,32,32,32,32,32,125,59,10,32,32,32,32,32,32,115,101,108,102,46,112,111,115,116,77,101,115,115,97,103,101,40,114,101,115,112,111,110,115,101,41,59,10,32,32,32,32,125,32,99,97,116,99,104,32,40,101,114,114,111,114,41,32,123,10,32,32,32,32,32,32,99,111,110,115,116,32,101,114,114,111,114,82,101,115,112,111,110,115,101,32,61,32,123,10,32,32,32,32,32,32,32,32,105,100,58,32,101,118,101,110,116,46,100,97,116,97,46,105,100,44,10,32,32,32,32,32,32,32,32,109,101,116,104,111,100,58,32,101,118,101,110,116,46,100,97,116,97,46,109,101,116,104,111,100,44,10,32,32,32,32,32,32,32,32,101,114,114,111,114,58,32,101,114,114,111,114,46,109,101,115,115,97,103,101,10,32,32,32,32,32,32,125,59,10,32,32,32,32,32,32,115,101,108,102,46,112,111,115,116,77,101,115,115,97,103,101,40,101,114,114,111,114,82,101,115,112,111,110,115,101,41,59,10,32,32,32,32,125,10,32,32,125,59,10,32,32,118,97,114,32,100,117,109,109,121,32,61,32,34,34,59,10,32,32,118,97,114,32,100,111,116,108,111,116,116,105,101,95,119,111,114,107,101,114,95,100,101,102,97,117,108,116,32,61,32,100,117,109,109,121,59,10,125,41,40,41,59,10])],{type:"application/javascript"}),t=URL.createObjectURL(e),n=new Worker(t);return URL.revokeObjectURL(t),n}};function hb(e,t){if(e instanceof HTMLCanvasElement){let{height:n,width:r}=e.getBoundingClientRect();if(0!==n&&0!==r)return{width:r*t,height:n*t}}return{width:e.width,height:e.height}}function pb(){return Date.now().toString(36)+Math.random().toString(36).substr(2,9)}var mb=class e{constructor(t){jv(this,"_eventManager",new Gv),jv(this,"_id"),jv(this,"_worker"),jv(this,"_canvas"),jv(this,"_dotLottieInstanceState",{loopCount:0,markers:[],autoplay:!1,backgroundColor:"",currentFrame:0,duration:0,loop:!1,mode:"forward",segment:[0,0],segmentDuration:0,speed:1,totalFrames:0,isLoaded:!1,isPlaying:!1,isPaused:!1,isStopped:!0,isFrozen:!1,useFrameInterpolation:!1,renderConfig:{devicePixelRatio:rb()},activeAnimationId:"",activeThemeId:"",layout:void 0,marker:void 0,isReady:!1,manifest:null}),jv(this,"_created",!1),jv(this,"_pointerUpMethod"),jv(this,"_pointerDownMethod"),jv(this,"_pointerMoveMethod"),jv(this,"_pointerEnterMethod"),jv(this,"_pointerExitMethod"),this._canvas=t.canvas,this._id=`dotlottie-${pb()}`;let n=t.workerId||"defaultWorker";this._worker=e._workerManager.getWorker(n),e._workerManager.assignAnimationToWorker(this._id,n),e._wasmUrl&&this._sendMessage("setWasmUrl",{url:e._wasmUrl}),this._create({...t,renderConfig:{...t.renderConfig,devicePixelRatio:t.renderConfig?.devicePixelRatio||rb(),freezeOnOffscreen:t.renderConfig?.freezeOnOffscreen??!0}}),this._worker.addEventListener("message",this._handleWorkerEvent.bind(this)),this._pointerUpMethod=this._onPointerUp.bind(this),this._pointerDownMethod=this._onPointerDown.bind(this),this._pointerMoveMethod=this._onPointerMove.bind(this),this._pointerEnterMethod=this._onPointerEnter.bind(this),this._pointerExitMethod=this._onPointerLeave.bind(this)}async _handleWorkerEvent(e){let t=e.data;t.id||("onLoad"===t.method&&t.result.instanceId===this._id&&(await this._updateDotLottieInstanceState(),this._eventManager.dispatch(t.result.event),Bv&&this._canvas instanceof HTMLCanvasElement&&(this._dotLottieInstanceState.renderConfig.freezeOnOffscreen&&Jv.observe(this._canvas,this),this._dotLottieInstanceState.renderConfig.autoResize&&Xv.observe(this._canvas,this))),"onComplete"===t.method&&t.result.instanceId===this._id&&(await this._updateDotLottieInstanceState(),this._eventManager.dispatch(t.result.event)),"onDestroy"===t.method&&t.result.instanceId===this._id&&this._eventManager.dispatch(t.result.event),"onUnfreeze"===t.method&&t.result.instanceId===this._id&&(await this._updateDotLottieInstanceState(),this._dotLottieInstanceState.isFrozen=!1,this._eventManager.dispatch(t.result.event)),"onFrame"===t.method&&t.result.instanceId===this._id&&(this._dotLottieInstanceState.currentFrame=t.result.event.currentFrame,this._eventManager.dispatch(t.result.event)),"onRender"===t.method&&t.result.instanceId===this._id&&this._eventManager.dispatch(t.result.event),"onFreeze"===t.method&&t.result.instanceId===this._id&&(await this._updateDotLottieInstanceState(),this._eventManager.dispatch(t.result.event)),"onPause"===t.method&&t.result.instanceId===this._id&&(await this._updateDotLottieInstanceState(),this._eventManager.dispatch(t.result.event)),"onPlay"===t.method&&t.result.instanceId===this._id&&(await this._updateDotLottieInstanceState(),this._eventManager.dispatch(t.result.event)),"onStop"===t.method&&t.result.instanceId===this._id&&(await this._updateDotLottieInstanceState(),this._eventManager.dispatch(t.result.event)),"onLoadError"===t.method&&t.result.instanceId===this._id&&(await this._updateDotLottieInstanceState(),this._eventManager.dispatch(t.result.event)),"onRenderError"===t.method&&t.result.instanceId===this._id&&this._eventManager.dispatch(t.result.event),"onReady"===t.method&&t.result.instanceId===this._id&&(await this._updateDotLottieInstanceState(),this._eventManager.dispatch(t.result.event)),"onLoop"===t.method&&t.result.instanceId===this._id&&(await this._updateDotLottieInstanceState(),this._eventManager.dispatch(t.result.event)))}async _create(e){let t;t=this._canvas instanceof HTMLCanvasElement?this._canvas.transferControlToOffscreen():this._canvas;let{instanceId:n}=await this._sendMessage("create",{instanceId:this._id,config:{...e,canvas:t},...hb(this._canvas,e.renderConfig?.devicePixelRatio||rb())},[t]);if(n!==this._id)throw new Error("Instance ID mismatch");this._created=!0,await this._updateDotLottieInstanceState()}get loopCount(){return this._dotLottieInstanceState.loopCount}get isLoaded(){return this._dotLottieInstanceState.isLoaded}get isPlaying(){return this._dotLottieInstanceState.isPlaying}get isPaused(){return this._dotLottieInstanceState.isPaused}get isStopped(){return this._dotLottieInstanceState.isStopped}get currentFrame(){return this._dotLottieInstanceState.currentFrame}get isFrozen(){return this._dotLottieInstanceState.isFrozen}get segmentDuration(){return this._dotLottieInstanceState.segmentDuration}get totalFrames(){return this._dotLottieInstanceState.totalFrames}get segment(){return this._dotLottieInstanceState.segment}get speed(){return this._dotLottieInstanceState.speed}get duration(){return this._dotLottieInstanceState.duration}get isReady(){return this._dotLottieInstanceState.isReady}get mode(){return this._dotLottieInstanceState.mode}get canvas(){return this._canvas}get autoplay(){return this._dotLottieInstanceState.autoplay}get backgroundColor(){return this._dotLottieInstanceState.backgroundColor}get loop(){return this._dotLottieInstanceState.loop}get useFrameInterpolation(){return this._dotLottieInstanceState.useFrameInterpolation}get renderConfig(){return this._dotLottieInstanceState.renderConfig}get manifest(){return this._dotLottieInstanceState.manifest}get activeAnimationId(){return this._dotLottieInstanceState.activeAnimationId}get marker(){return this._dotLottieInstanceState.marker}get activeThemeId(){return this._dotLottieInstanceState.activeThemeId}get layout(){return this._dotLottieInstanceState.layout}async play(){this._created&&(await this._sendMessage("play",{instanceId:this._id}),await this._updateDotLottieInstanceState(),Bv&&this._canvas instanceof HTMLCanvasElement&&this._dotLottieInstanceState.renderConfig.freezeOnOffscreen&&!ob(this._canvas)&&await this.freeze())}async pause(){this._created&&(await this._sendMessage("pause",{instanceId:this._id}),await this._updateDotLottieInstanceState())}async stop(){this._created&&(await this._sendMessage("stop",{instanceId:this._id}),await this._updateDotLottieInstanceState())}async setSpeed(e){this._created&&(await this._sendMessage("setSpeed",{instanceId:this._id,speed:e}),await this._updateDotLottieInstanceState())}async setMode(e){this._created&&(await this._sendMessage("setMode",{instanceId:this._id,mode:e}),await this._updateDotLottieInstanceState())}async setFrame(e){this._created&&(await this._sendMessage("setFrame",{frame:e,instanceId:this._id}),await this._updateDotLottieInstanceState())}async setSegment(e,t){this._created&&(await this._sendMessage("setSegment",{instanceId:this._id,segment:[e,t]}),await this._updateDotLottieInstanceState())}async setRenderConfig(e){if(!this._created)return;let{devicePixelRatio:t,freezeOnOffscreen:n,...r}=e;await this._sendMessage("setRenderConfig",{instanceId:this._id,renderConfig:{...this._dotLottieInstanceState.renderConfig,...r,devicePixelRatio:t||rb(),freezeOnOffscreen:n??!0}}),await this._updateDotLottieInstanceState(),Bv&&this._canvas instanceof HTMLCanvasElement&&(this._dotLottieInstanceState.renderConfig.autoResize?Xv.observe(this._canvas,this):Xv.unobserve(this._canvas),this._dotLottieInstanceState.renderConfig.freezeOnOffscreen?Jv.observe(this._canvas,this):(Jv.unobserve(this._canvas),this._dotLottieInstanceState.isFrozen&&await this.unfreeze()))}async setUseFrameInterpolation(e){this._created&&(await this._sendMessage("setUseFrameInterpolation",{instanceId:this._id,useFrameInterpolation:e}),await this._updateDotLottieInstanceState())}async setTheme(e){if(!this._created)return!1;let t=this._sendMessage("setTheme",{instanceId:this._id,themeId:e});return await this._updateDotLottieInstanceState(),t}async load(e){this._created&&(await this._sendMessage("load",{config:e,instanceId:this._id}),await this._updateDotLottieInstanceState())}async setLoop(e){this._created&&(await this._sendMessage("setLoop",{instanceId:this._id,loop:e}),await this._updateDotLottieInstanceState())}async resize(){if(!this._created)return;let{height:e,width:t}=hb(this._canvas,this._dotLottieInstanceState.renderConfig.devicePixelRatio||rb());await this._sendMessage("resize",{height:e,instanceId:this._id,width:t}),await this._updateDotLottieInstanceState()}async destroy(){this._created&&(this._created=!1,await this._sendMessage("destroy",{instanceId:this._id}),this._cleanupStateMachineListeners(),e._workerManager.unassignAnimationFromWorker(this._id),this._eventManager.removeAllEventListeners(),Bv&&this._canvas instanceof HTMLCanvasElement&&(Jv.unobserve(this._canvas),Xv.unobserve(this._canvas)))}async freeze(){this._created&&(await this._sendMessage("freeze",{instanceId:this._id}),await this._updateDotLottieInstanceState())}async unfreeze(){this._created&&(await this._sendMessage("unfreeze",{instanceId:this._id}),await this._updateDotLottieInstanceState())}async setBackgroundColor(e){this._created&&(await this._sendMessage("setBackgroundColor",{instanceId:this._id,backgroundColor:e}),await this._updateDotLottieInstanceState())}async loadAnimation(e){this._created&&(await this._sendMessage("loadAnimation",{animationId:e,instanceId:this._id}),await this._updateDotLottieInstanceState())}async setLayout(e){this._created&&(await this._sendMessage("setLayout",{instanceId:this._id,layout:e}),await this._updateDotLottieInstanceState())}async _updateDotLottieInstanceState(){if(!this._created)return;let e=await this._sendMessage("getDotLottieInstanceState",{instanceId:this._id});this._dotLottieInstanceState=e.state}markers(){return this._dotLottieInstanceState.markers}async setMarker(e){this._created&&(await this._sendMessage("setMarker",{instanceId:this._id,marker:e}),await this._updateDotLottieInstanceState())}async setThemeData(e){if(!this._created)return!1;let t=await this._sendMessage("setThemeData",{instanceId:this._id,themeData:e});return await this._updateDotLottieInstanceState(),t}async setViewport(e,t,n,r){return!!this._created&&this._sendMessage("setViewport",{x:e,y:t,width:n,height:r,instanceId:this._id})}async animationSize(){return this._created?this._sendMessage("animationSize",{instanceId:this._id}):{height:0,width:0}}async tween(e,t){return!!this._created&&this._sendMessage("tween",{instanceId:this._id,frame:e,duration:t})}async tweenToMarker(e,t){return!!this._created&&this._sendMessage("tweenToMarker",{instanceId:this._id,marker:e,duration:t})}async _sendMessage(e,t,n){let r={id:`dotlottie-request-${pb()}`,method:e,params:t};return this._worker.postMessage(r,n||[]),new Promise(((t,n)=>{let o=i=>{let a=i.data;a.id===r.id&&(this._worker.removeEventListener("message",o),a.error?n(new Error(`Failed to execute method ${e}: ${a.error}`)):t(a.result))};this._worker.addEventListener("message",o)}))}addEventListener(e,t){this._eventManager.addEventListener(e,t)}removeEventListener(e,t){this._eventManager.removeEventListener(e,t)}static setWasmUrl(t){e._wasmUrl=t}async loadStateMachine(e){if(!this._created)return!1;let t=await this._sendMessage("loadStateMachine",{instanceId:this._id,stateMachineId:e});return await this._updateDotLottieInstanceState(),t}async loadStateMachineData(e){if(!this._created)return!1;let t=await this._sendMessage("loadStateMachineData",{instanceId:this._id,stateMachineData:e});return await this._updateDotLottieInstanceState(),t}async startStateMachine(){if(!this._created)return!1;this._setupStateMachineListeners();let e=await this._sendMessage("startStateMachine",{instanceId:this._id});return await this._updateDotLottieInstanceState(),e}async stopStateMachine(){return!!this._created&&(this._cleanupStateMachineListeners(),this._sendMessage("stopStateMachine",{instanceId:this._id}))}async getStateMachineListeners(){return this._created?this._sendMessage("getStateMachineListeners",{instanceId:this._id}):[]}_getPointerPosition(e){let t=this._canvas.getBoundingClientRect(),n=this._canvas.width/t.width,r=this._canvas.height/t.height,o=this._dotLottieInstanceState.renderConfig.devicePixelRatio||window.devicePixelRatio||1;return{x:(e.clientX-t.left)*n/o,y:(e.clientY-t.top)*r/o}}_onPointerUp(e){let{x:t,y:n}=this._getPointerPosition(e);this._sendMessage("postPointerUpEvent",{instanceId:this._id,x:t,y:n})}_onPointerDown(e){let{x:t,y:n}=this._getPointerPosition(e);this._sendMessage("postPointerDownEvent",{instanceId:this._id,x:t,y:n})}_onPointerMove(e){let{x:t,y:n}=this._getPointerPosition(e);this._sendMessage("postPointerMoveEvent",{instanceId:this._id,x:t,y:n})}_onPointerEnter(e){let{x:t,y:n}=this._getPointerPosition(e);this._sendMessage("postPointerEnterEvent",{instanceId:this._id,x:t,y:n})}_onPointerLeave(e){let{x:t,y:n}=this._getPointerPosition(e);this._sendMessage("postPointerExitEvent",{instanceId:this._id,x:t,y:n})}async _setupStateMachineListeners(){if(Bv&&this._canvas instanceof HTMLCanvasElement&&this.isLoaded){let e=await this._sendMessage("getStateMachineListeners",{instanceId:this._id});e.includes("PointerUp")&&this._canvas.addEventListener("pointerup",this._pointerUpMethod),e.includes("PointerDown")&&this._canvas.addEventListener("pointerdown",this._pointerDownMethod),e.includes("PointerMove")&&this._canvas.addEventListener("pointermove",this._pointerMoveMethod),e.includes("PointerEnter")&&this._canvas.addEventListener("pointerenter",this._pointerEnterMethod),e.includes("PointerExit")&&this._canvas.addEventListener("pointerleave",this._pointerExitMethod)}}_cleanupStateMachineListeners(){Bv&&this._canvas instanceof HTMLCanvasElement&&(this._canvas.removeEventListener("pointerup",this._pointerUpMethod),this._canvas.removeEventListener("pointerdown",this._pointerDownMethod),this._canvas.removeEventListener("pointermove",this._pointerMoveMethod),this._canvas.removeEventListener("pointerenter",this._pointerEnterMethod),this._canvas.removeEventListener("pointerleave",this._pointerExitMethod))}};jv(mb,"_workerManager",new class{constructor(){jv(this,"_workers",new Map),jv(this,"_animationWorkerMap",new Map)}getWorker(e){return this._workers.has(e)||this._workers.set(e,new fb),this._workers.get(e)}assignAnimationToWorker(e,t){this._animationWorkerMap.set(e,t)}unassignAnimationFromWorker(e){this._animationWorkerMap.delete(e)}sendMessage(e,t,n){this.getWorker(e).postMessage(t,n||[])}terminateWorker(e){let t=this._workers.get(e);t&&(t.terminate(),this._workers.delete(e))}}),jv(mb,"_wasmUrl","");var gb=({animationId:e,autoplay:t,backgroundColor:n,className:r,createDotLottie:o,data:i,dotLottieRefCallback:a,layout:s,loop:l,mode:u,playOnHover:c,renderConfig:d,segment:f,speed:h,src:p,style:m,themeData:g,themeId:y,useFrameInterpolation:v,workerId:w,...k})=>{let S=H.useRef(null),x=H.useRef(null),_=H.useRef(a),C={speed:h,mode:u,loop:l,useFrameInterpolation:v,segment:f,backgroundColor:n,autoplay:t,themeId:y,workerId:w,src:p,data:i,layout:s,renderConfig:d,animationId:e},E=H.useRef(C);_.current=a,E.current=C;let T=H.useCallback((e=>{x.current=e,e?S.current=o({...E.current,canvas:e}):(S.current?.destroy(),S.current=null),_.current?.(S.current)}),[]);return H.useEffect((()=>{let e=e=>{c&&("mouseenter"===e.type&&S.current?.play(),"mouseleave"===e.type&&S.current?.pause())};return x.current?.addEventListener("mouseenter",e),x.current?.addEventListener("mouseleave",e),()=>{x.current?.removeEventListener("mouseenter",e),x.current?.removeEventListener("mouseleave",e)}}),[c]),H.useEffect((()=>{S.current?.setSpeed(h??1)}),[h]),H.useEffect((()=>{S.current?.setMode(u??"forward")}),[u]),H.useEffect((()=>{S.current?.setLoop(l??!1)}),[l]),H.useEffect((()=>{S.current?.setUseFrameInterpolation(v??!0)}),[v]),H.useEffect((()=>{"number"==typeof f?.[0]&&"number"==typeof f[1]&&S.current?.setSegment(f[0],f[1])}),[f]),H.useEffect((()=>{S.current?.setBackgroundColor(n??"")}),[n]),H.useEffect((()=>{S.current?.setRenderConfig(d??{})}),[JSON.stringify(d)]),H.useEffect((()=>{"string"!=typeof i&&"object"!=typeof i||S.current?.load({data:i,...E.current})}),[i]),H.useEffect((()=>{"string"==typeof p&&S.current?.load({src:p,...E.current})}),[p]),H.useEffect((()=>{S.current?.setMarker(k.marker??"")}),[k.marker]),H.useEffect((()=>{S.current?.loadAnimation(e??"")}),[e]),H.useEffect((()=>{"string"==typeof y&&S.current?.setTheme(y)}),[y]),H.useEffect((()=>{S.current?.setThemeData(g??"")}),[g]),H.useEffect((()=>{S.current?.setLayout(s??{})}),[s?.fit,s?.align&&s.align[0],s?.align&&s.align[1]]),b.jsx("div",{className:r,...!r&&{style:{width:"100%",height:"100%",lineHeight:0,...m}},children:b.jsx("canvas",{ref:T,style:{width:"100%",height:"100%"},...k})})},yb=e=>new db(e),vb=e=>b.jsx(gb,{...e,createDotLottie:yb});const bb=e=>`https://chat.kolia.fr//${e}`,wb=In.div(["display:flex;flex-direction:column;width:100%;height:100%;position:relative;"]),kb=In.div(["flex-shrink:0;background-color:",";"],Uc.surface.elevated),Sb=In.form(["position:relative;display:flex;align-items:center;padding:0.5rem;border-top:1px solid ",";flex-shrink:0;"],Uc.border.light),xb=In.input(["border-width:0px;width:100%;padding:"," 3rem "," ",";font-size:0.75rem;color:",";background-color:",";transition:all 0.2s ease-in-out;box-shadow:",";&:focus{border-color:",";outline:none;}&:disabled{opacity:0.6;cursor:not-allowed;}"],Nc,Nc,jc,Uc.text.primary,Uc.surface.elevated,bc,Uc.primary[400]),_b=In.button(["position:absolute;right:",";background:linear-gradient(to right,",",",");color:",";padding:",";border-radius:",";border:none;transition:all 0.2s ease-in-out;transform:scale(1);box-shadow:",";cursor:pointer;&:hover:not(:disabled){background:linear-gradient(to right,",",",");transform:scale(1.05);box-shadow:",";}&:active:not(:disabled){transform:scale(0.95);}&:focus{outline:2px solid ",";outline-offset:1px;}&:disabled{opacity:0.6;cursor:not-allowed;transform:scale(1);}"],Nc,Uc.primary[500],Uc.primary[600],Uc.text.inverted,Dc,Hc,kc,Uc.primary[600],Uc.primary[700],Sc,Uc.primary[400]);function Cb({agent:e,appInformation:t,chatData:n,children:r}){const{messages:o,input:i,handleInputChange:a,handleSubmit:s,append:l,error:u,status:c}=n,d="submitted"===c||"streaming"===c||!i.trim();return b.jsxs(wb,{children:[b.jsx(Dv,{error:u,messages:o,agent:e,onSuggestionClick:e=>{l({role:"user",content:e})},status:c,options:{messageSoundPath:bb("/notification.wav"),shouldSroll:!0}}),r,b.jsxs(kb,{children:[b.jsxs(Sb,{onSubmit:s,children:[b.jsx(xb,{id:"chat-input",disabled:!!u,$disabled:!!u,value:i,placeholder:e.text.placeholder,onChange:a}),b.jsx(_b,{type:"submit",disabled:d,$disabled:d,children:"streaming"===c?b.jsx(vb,{src:bb("/loading2.lottie"),loop:!0,autoplay:!0,style:{width:"16px",height:"16px"}}):b.jsx(Kc,{})})]}),t.app&&b.jsx(Jc,{name:t.app.name,url:t.app.url})]})]})}const Eb=({size:e}={})=>b.jsx(qc,{size:e,children:b.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})}),Tb=()=>b.jsx(qc,{children:b.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[b.jsx("circle",{cx:"3",cy:"8",r:"1",fill:"currentColor"}),b.jsx("circle",{cx:"8",cy:"8",r:"1",fill:"currentColor"}),b.jsx("circle",{cx:"13",cy:"8",r:"1",fill:"currentColor"})]})}),Ab=()=>b.jsx(qc,{children:b.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:b.jsx("path",{d:"M6 2L6 6L2 6M10 14L10 10L14 10M2 6L6 2M14 10L10 14",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),Pb=()=>b.jsx(qc,{children:b.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:b.jsx("path",{d:"M10 6L10 2L14 2M6 10L6 14L2 14M14 2L10 6M2 14L6 10",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),Ob=In(In.button(["color:#9ca3af;padding:0.5rem;border-radius:50%;border:none;background:none;cursor:pointer;transition:all 200ms;position:relative;&:hover{color:#4b5563;background-color:#f3f4f6;transform:scale(1.05);}"]))([""]),Rb=In.div(["position:absolute;top:calc(100% + 4px);right:0;background:white;border:1px solid ",";border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,0.15);min-width:150px;z-index:1000;opacity:",";visibility:",";transform:",";transition:all 200ms ease-in-out;pointer-events:",";"],Uc.border.light,(e=>e.$isOpen?1:0),(e=>e.$isOpen?"visible":"hidden"),(e=>e.$isOpen?"translateY(0)":"translateY(-8px)"),(e=>e.$isOpen?"auto":"none")),Ib=In.button(["width:100%;padding:"," ",";border:none;background:none;text-align:left;font-size:0.875rem;color:",";cursor:pointer;display:flex;align-items:center;gap:",";transition:background-color 200ms;white-space:nowrap;&:hover{background-color:",";}&:first-child{border-radius:7px 7px 0 0;}&:last-child{border-radius:0 0 7px 7px;}&:only-child{border-radius:7px;}svg{flex-shrink:0;}"],Fc,Nc,Uc.text.primary,Fc,Uc.surface.elevated),Lb=In.div(["position:relative;@media (max-width:640px){display:none;}"]),Mb=({isExpanded:e,onToggleExpanded:t})=>{const[n,r]=H.useState(!1),o=H.useRef(null),i=H.useRef(null);return H.useEffect((()=>{const e=e=>{o.current&&!o.current.contains(e.target)&&i.current&&!i.current.contains(e.target)&&r(!1)};if(n)return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}}),[n]),b.jsxs(Lb,{ref:o,children:[b.jsx(Ob,{onClick:()=>{r(!n)},"aria-label":"Menu des actions",ref:i,children:b.jsx(Tb,{})}),b.jsx(Rb,{$isOpen:n,children:b.jsxs(Ib,{onClick:()=>{t(),r(!1)},children:[e?b.jsx(Pb,{}):b.jsx(Ab,{}),e?"Réduire":"Agrandir"]})})]})},Db=(function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];"production"!==process.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.");var r=It(Pn.apply(void 0,z([e],t,!1))),o=dt(r);return new mn(o,r)})`
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
`,Fb=In.div(["display:flex;flex-direction:column;gap:",";"," border-bottom:1px solid ",";flex-shrink:0;"],Dc,(({$bgColor:e})=>e&&`background-color: ${e};`),Uc.border.light),Nb=In.div(["display:flex;justify-content:space-between;align-items:center;"]),jb=In.div(["display:flex;gap:",";margin:0 -",";padding:0 ",";border-top:1px solid ",";"],Fc,Dc,Dc,Uc.border.light),zb=In.button(["flex:1;padding:"," ",";background:none;border:none;font-size:0.813rem;font-weight:500;color:",";position:relative;cursor:pointer;transition:all 200ms;&:hover{color:",";}&::after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:2px;background-color:",";transform:scaleX(",");transform-origin:center;transition:transform 200ms;}"],Fc,Fc,(e=>e.$isActive?Uc.primary[600]:Uc.text.secondary),(e=>e.$isActive?Uc.primary[600]:Uc.text.primary),Uc.primary[600],(e=>e.$isActive?1:0)),Ub=In.div(["display:flex;align-items:center;gap:0.75rem;flex:1;padding:",";"],Nc),Vb=In.div(["position:relative;height:2.5rem;width:2.5rem;overflow:hidden;border-radius:50%;border:2px solid ",";background:linear-gradient(135deg,#c084fc,#3b82f6);box-shadow:0 1px 2px 0 rgba(0,0,0,0.05);"],(({$borderColor:e})=>e||"#8b5cf6")),Bb=In.div(["display:flex;height:100%;width:100%;align-items:center;justify-content:center;"]),$b=In.img(["height:100%;width:100%;object-fit:cover;"]),Hb=In.div(["flex:1;min-width:0;"]),Wb=In.h3(["color:#1f2937;font-weight:600;font-size:0.875rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0;"]),qb=In.div(["display:flex;align-items:center;gap:0.25rem;"]),Kb=In.div(["margin-left:0.5rem;width:12px;height:12px;border-radius:50%;background-color:",";display:flex;align-items:center;justify-content:center;font-size:8px;color:white;opacity:0.8;&::after{content:'✓';font-weight:bold;}"],Uc.primary[500]),Qb=In.div(["height:0.5rem;width:0.5rem;background-color:#4ade80;border-radius:50%;animation:"," 2s cubic-bezier(0.4,0,0.6,1) infinite;"],Db),Yb=In.span(["font-size:0.75rem;color:#6b7280;"]),Gb=In.button(["color:#9ca3af;padding:0.5rem;border-radius:50%;border:none;background:none;cursor:pointer;transition:all 200ms;&:hover{color:#4b5563;background-color:#f3f4f6;transform:scale(1.05);}"]),Jb=In.div(["display:flex;align-items:center;gap:",";"],Dc),Xb=({agent:e,setIsOpen:t,activeTab:n,onTabChange:r,showTabs:o=!0,isExpanded:i=!1,onToggleExpanded:a})=>b.jsxs(Fb,{$bgColor:e.branding?.chat?.headerBgColor,children:[b.jsxs(Nb,{children:[b.jsxs(Ub,{children:[b.jsx(Vb,{$borderColor:e.branding?.chat?.avatarColor,children:b.jsx(Bb,{children:b.jsx($b,{src:e.avatarUrl,alt:e.name})})}),b.jsxs(Hb,{children:[b.jsxs(Wb,{children:["Chat avec ",e.name]}),b.jsxs(qb,{children:[b.jsx(Qb,{}),b.jsx(Yb,{children:"En ligne"}),e.contact?.email&&b.jsx(Kb,{title:`Contact connu: ${e.contact.email}`})]})]})]}),b.jsxs(Jb,{children:[a&&b.jsx(Mb,{isExpanded:i,onToggleExpanded:a}),b.jsx(Gb,{onClick:()=>t(!1),"aria-label":"Fermer le chat",children:b.jsx(Eb,{})})]})]}),o&&b.jsxs(jb,{children:[b.jsx(zb,{$isActive:"conversation"===n,onClick:()=>r("conversation"),"aria-label":"Onglet conversation",children:"Conversation"}),b.jsx(zb,{$isActive:"faq"===n,onClick:()=>r("faq"),"aria-label":"Onglet FAQ",children:"FAQ"})]})]});function Zb({delay:e,shouldActivate:t=!0,onActivate:n,dependencies:r=[]}){const[o,i]=H.useState(!1),a=H.useCallback((()=>{i(!0),n?.()}),[n]);return H.useEffect((()=>{if(!t)return void i(!1);if(e<1)return void a();const n=setTimeout(a,e);return()=>clearTimeout(n)}),[e,t,a,...r]),o}const ew=In(vc.div)(["position:absolute;bottom:100%;width:200px;right:0;margin-bottom:",";display:flex;flex-direction:column;gap:",";max-height:300px;&::-webkit-scrollbar{width:6px;}&::-webkit-scrollbar-track{background:transparent;}&::-webkit-scrollbar-thumb{background:",";border-radius:",";}"],Fc,Fc,Uc.border.medium,Hc),tw=In(vc.div)(["cursor:pointer;> div{margin-bottom:0;}"]),nw=({messages:e,bgColor:t,textColor:n,onClick:r})=>{const o=e.filter((e=>"assistant"===e.role&&!e.isRead)),i=e=>{r()};return b.jsx(Gn,{children:o.length>0&&b.jsx(ew,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:20},transition:{duration:.3,ease:"easeOut"},children:o.map(((e,o)=>b.jsx(tw,{onClick:r,initial:{opacity:0,x:50},animate:{opacity:1,x:0},transition:{delay:.1*o,duration:.3,ease:"easeOut"},whileHover:{scale:1.02},children:b.jsx(_v,{message:e,bgColor:t,textColor:n,onSuggestionClick:i})},e.id)))})})},rw=In.div(["position:fixed;bottom:",";right:",";color:",";border:none;border-radius:",";cursor:pointer;z-index:9999;"],Nc,Nc,Uc.text.inverted,Vc),ow=In.div(["position:absolute;top:-4px;right:-4px;min-width:20px;height:20px;display:flex;align-items:center;justify-content:center;padding:0 6px;font-size:12px;font-weight:600;color:",";background-color:#ef4444;border-radius:",";border:1px solid ",";box-shadow:",";"],Uc.text.inverted,Hc,Uc.surface.primary,bc),iw=In(vc.button)(["position:relative;display:flex;align-items:center;gap:",";border-radius:",";background-color:",";padding:",";color:",";box-shadow:",";transition:all 0.3s ease-in-out;border:none;cursor:pointer;&:hover{background-color:",";box-shadow:",";}&:focus{outline:none;box-shadow:",",0 0 0 2px ",",0 0 0 4px rgba(59,130,246,0.3);}"],Nc,Hc,(e=>e.$backgroundColor),Nc,Uc.text.inverted,kc,(e=>{const t=e.$backgroundColor;return`rgba(${parseInt(t.slice(1,3),16)}, ${parseInt(t.slice(3,5),16)}, ${parseInt(t.slice(5,7),16)}, 0.75)`}),Sc,Sc,Uc.primary[500]),aw=In.div(["position:relative;height:3rem;width:3rem;overflow:hidden;border-radius:",";border:2px solid ",";background-color:",";"],Hc,Uc.surface.elevated,(e=>e.$backgroundColor)),sw=In.div(["display:flex;height:100%;width:100%;align-items:center;justify-content:center;"]),lw=In.img(["border-radius:",";width:100%;height:100%;object-fit:cover;"],Hc),uw=In(vc.div)(["display:flex;flex-direction:column;align-items:flex-start;"]),cw=In.span(["display:flex;align-items:center;gap:",";font-weight:500;"],Fc),dw=In.span(["color:",";font-weight:bold;"],(e=>e.$color)),fw=In.span(["font-size:0.875rem;color:",";max-width:300px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;"],Uc.text.onDark),hw=({agent:e,onClickOpen:t,options:n={},unreadCount:r=0,unreadMessages:o=[]})=>{const[i,a]=H.useState(e.shouldOpenDefault),s=function(e,t=0){return Zb({delay:t,shouldActivate:!0===e})}(n.showNotification,0);return b.jsxs(rw,{children:[b.jsx(nw,{onClick:t,messages:o,bgColor:e.branding.bubble.aiBgColor,textColor:e.branding.bubble.aiTextColor}),b.jsxs(iw,{$backgroundColor:e.branding.chat.foldedBgColor,onClick:t,"aria-label":"Open chat",onHoverStart:()=>a(!0),onHoverEnd:()=>setTimeout((()=>a(!1)),5e3),whileHover:{scale:1.05},whileTap:{scale:.95},children:[s&&r?b.jsx(ow,{children:r>99?'99"+':r}):b.jsx(b.Fragment,{}),b.jsx(aw,{$backgroundColor:e.branding.chat.avatarColor,children:b.jsx(sw,{children:b.jsx(lw,{src:e.avatarUrl,alt:e.name})})}),b.jsx(Gn,{children:i&&b.jsxs(uw,{initial:{x:50,opacity:0},animate:{x:0,opacity:1},exit:{x:50,opacity:0},transition:{duration:.5,ease:"easeInOut"},children:[b.jsxs(cw,{children:[e.name," ",b.jsx(dw,{$color:e.branding?.chat?.avatarColor,children:"Assistant"})," ✨"]}),b.jsx(fw,{children:e.text.welcomeMessage})]})})]})]})},pw=In.div(["padding:",";border-top:1px solid ",";background-color:",";"],jc,Uc.border.light,Uc.surface.secondary),mw=In.p(["font-size:0.813rem;color:",";margin:0 0 "," 0;text-align:center;"],Uc.text.secondary,Nc),gw=In.div(["display:flex;justify-content:center;gap:",";"],Fc),yw=In.button(["background:",";border:2px solid ",";border-radius:",";width:40px;height:40px;cursor:pointer;padding:0;display:flex;align-items:center;justify-content:center;transition:all 200ms;transform:",";&:hover{transform:scale(1.15);box-shadow:",";}&:active{transform:scale(0.95);}svg{width:24px;height:24px;transition:all 200ms;}"],(e=>e.$isSelected?e.$smileyColor:e.$isHovered?Uc.surface.elevated:"transparent"),(e=>e.$isSelected?e.$smileyColor:Uc.border.light),Hc,(e=>e.$isHovered?"scale(1.1)":"scale(1)"),wc),vw=In.svg(["animation:",";@keyframes bounce{0%{transform:scale(1) rotate(0deg);}25%{transform:scale(1.2) rotate(-10deg);}50%{transform:scale(0.9) rotate(10deg);}75%{transform:scale(1.1) rotate(-5deg);}100%{transform:scale(1) rotate(0deg);}}"],(e=>e.$isSelected?"bounce 0.5s ease-out":"none")),bw=[{id:1,path:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM8.5 8c.83 0 1.5.67 1.5 1.5S9.33 11 8.5 11 7 10.33 7 9.5 7.67 8 8.5 8zm9 4.5c0 2.33-2.67 3.5-5.5 3.5s-5.5-1.17-5.5-3.5c0-.42.34-.75.75-.75s.75.33.75.75c0 1.3 1.8 2 4 2s4-.7 4-2c0-.42.34-.75.75-.75s.75.33.75.75zM15.5 11c-.83 0-1.5-.67-1.5-1.5S14.67 8 15.5 8s1.5.67 1.5 1.5-.67 1.5-1.5 1.5z",color:"#f44336"},{id:2,path:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM8.5 8c.83 0 1.5.67 1.5 1.5S9.33 11 8.5 11 7 10.33 7 9.5 7.67 8 8.5 8zm9 6.5c0 .42-.34.75-.75.75s-.75-.33-.75-.75c0-1.3-1.8-2-4-2s-4 .7-4 2c0 .42-.34.75-.75.75s-.75-.33-.75-.75c0-2.33 2.67-3.5 5.5-3.5s5.5 1.17 5.5 3.5zM15.5 11c-.83 0-1.5-.67-1.5-1.5S14.67 8 15.5 8s1.5.67 1.5 1.5-.67 1.5-1.5 1.5z",color:"#ff9800"},{id:3,path:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM8.5 8c.83 0 1.5.67 1.5 1.5S9.33 11 8.5 11 7 10.33 7 9.5 7.67 8 8.5 8zM12 18c-2.28 0-4.22-1.66-5-4h10c-.78 2.34-2.72 4-5 4zm3.5-7c-.83 0-1.5-.67-1.5-1.5S14.67 8 15.5 8s1.5.67 1.5 1.5-.67 1.5-1.5 1.5z",color:"#ffc107"},{id:4,path:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM8.5 8c.83 0 1.5.67 1.5 1.5S9.33 11 8.5 11 7 10.33 7 9.5 7.67 8 8.5 8zm3.5 9.5c-2.33 0-4.31-1.46-5.11-3.5h10.22c-.8 2.04-2.78 3.5-5.11 3.5zM15.5 11c-.83 0-1.5-.67-1.5-1.5S14.67 8 15.5 8s1.5.67 1.5 1.5-.67 1.5-1.5 1.5z",color:"#8bc34a"},{id:5,path:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM8.5 8c.83 0 1.5.67 1.5 1.5S9.33 11 8.5 11 7 10.33 7 9.5 7.67 8 8.5 8zm3.5 9.5c-2.33 0-4.31-1.46-5.11-3.5h10.22c-.8 2.04-2.78 3.5-5.11 3.5zM15.5 11c-.83 0-1.5-.67-1.5-1.5S14.67 8 15.5 8s1.5.67 1.5 1.5-.67 1.5-1.5 1.5z",color:"#4caf50"}],ww=({questionId:e,onVoteClick:t})=>{const[n,r]=H.useState(null),[o,i]=H.useState(null);return b.jsxs(pw,{children:[b.jsx(mw,{children:"Cette réponse vous a aidé ?"}),b.jsx(gw,{children:bw.map((a=>b.jsx(yw,{$isSelected:n===a.id,$isHovered:o===a.id,$smileyColor:a.color,onMouseEnter:()=>i(a.id),onMouseLeave:()=>i(null),onClick:()=>{return n=a.id,r(n),void(t&&t(e,n));var n},"aria-label":`Vote ${a.id} sur 5`,children:b.jsx(vw,{$isSelected:n===a.id,viewBox:"0 0 24 24",fill:n===a.id?"white":a.color,children:b.jsx("path",{d:a.path})})},a.id)))})]})},kw=In.div(["background-color:",";border:1px solid ",";border-radius:",";overflow:hidden;transition:all 200ms;box-shadow:",";&:hover{box-shadow:",";border-color:",";}"],Uc.surface.elevated,Uc.border.light,Vc,(e=>e.$isExpanded?wc:bc),wc,Uc.border.medium),Sw=In.button(["width:100%;padding:",";background:none;border:none;text-align:left;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:",";transition:all 200ms;&:hover{background-color:",";}"],jc,Nc,Uc.surface.secondary),xw=In.span(["font-size:0.875rem;font-weight:500;color:",";flex:1;"],Uc.text.primary),_w=In.svg(["width:1.25rem;height:1.25rem;color:",";transform:rotate(",");transition:transform 200ms;flex-shrink:0;"],Uc.text.secondary,(e=>e.$isExpanded?"180deg":"0")),Cw=In.div(["max-height:",";overflow:hidden;transition:max-height 300ms ease-in-out;"],(e=>e.$isExpanded?"500px":"0")),Ew=In.p(["padding:0 "," "," ",";font-size:0.813rem;color:",";line-height:1.5;margin:0;"],jc,jc,jc,Uc.text.secondary),Tw=({question:e,answer:t,isExpanded:n,onToggle:r,questionId:o,onVoteClick:i})=>b.jsxs(kw,{$isExpanded:n,children:[b.jsxs(Sw,{onClick:r,"aria-expanded":n,children:[b.jsx(xw,{children:e}),b.jsx(_w,{$isExpanded:n,viewBox:"0 0 20 20",fill:"currentColor",children:b.jsx("path",{fillRule:"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z",clipRule:"evenodd"})})]}),b.jsxs(Cw,{$isExpanded:n,children:[b.jsx(Ew,{children:t}),n&&b.jsx(ww,{questionId:o,onVoteClick:i})]})]});var Aw=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Pw="undefined"==typeof window||"Deno"in globalThis;function Ow(){}function Rw(e){return"number"==typeof e&&e>=0&&e!==1/0}function Iw(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Lw(e,t){return"function"==typeof e?e(t):e}function Mw(e,t){return"function"==typeof e?e(t):e}function Dw(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:a,stale:s}=e;if(a)if(r){if(t.queryHash!==Nw(a,t.options))return!1}else if(!zw(t.queryKey,a))return!1;if("all"!==n){const e=t.isActive();if("active"===n&&!e)return!1;if("inactive"===n&&e)return!1}return!("boolean"==typeof s&&t.isStale()!==s||o&&o!==t.state.fetchStatus||i&&!i(t))}function Fw(e,t){const{exact:n,status:r,predicate:o,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(jw(t.options.mutationKey)!==jw(i))return!1}else if(!zw(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function Nw(e,t){return(t?.queryKeyHashFn||jw)(e)}function jw(e){return JSON.stringify(e,((e,t)=>$w(t)?Object.keys(t).sort().reduce(((e,n)=>(e[n]=t[n],e)),{}):t))}function zw(e,t){return e===t||typeof e==typeof t&&!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&Object.keys(t).every((n=>zw(e[n],t[n])))}function Uw(e,t){if(e===t)return e;const n=Bw(e)&&Bw(t);if(n||$w(e)&&$w(t)){const r=n?e:Object.keys(e),o=r.length,i=n?t:Object.keys(t),a=i.length,s=n?[]:{},l=new Set(r);let u=0;for(let r=0;r<a;r++){const o=n?r:i[r];(!n&&l.has(o)||n)&&void 0===e[o]&&void 0===t[o]?(s[o]=void 0,u++):(s[o]=Uw(e[o],t[o]),s[o]===e[o]&&void 0!==e[o]&&u++)}return o===a&&u===o?e:s}return t}function Vw(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function Bw(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function $w(e){if(!Hw(e))return!1;const t=e.constructor;if(void 0===t)return!0;const n=t.prototype;return!!Hw(n)&&!!n.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype}function Hw(e){return"[object Object]"===Object.prototype.toString.call(e)}function Ww(e,t,n){if("function"==typeof n.structuralSharing)return n.structuralSharing(e,t);if(!1!==n.structuralSharing){if("production"!==process.env.NODE_ENV)try{return Uw(e,t)}catch(e){throw console.error(`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${n.queryHash}]: ${e}`),e}return Uw(e,t)}return t}function qw(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function Kw(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Qw=Symbol();function Yw(e,t){return"production"!==process.env.NODE_ENV&&e.queryFn===Qw&&console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`),!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==Qw?e.queryFn:()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`))}function Gw(e,t){return"function"==typeof e?e(...t):!!e}var Jw=new class extends Aw{#e;#t;#n;constructor(){super(),this.#n=e=>{if(!Pw&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e((e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()}))}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach((t=>{t(e)}))}isFocused(){return"boolean"==typeof this.#e?this.#e:"hidden"!==globalThis.document?.visibilityState}},Xw=new class extends Aw{#r=!0;#t;#n;constructor(){super(),this.#n=e=>{if(!Pw&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#r!==e&&(this.#r=e,this.listeners.forEach((t=>{t(e)})))}isOnline(){return this.#r}};function Zw(){let e,t;const n=new Promise(((n,r)=>{e=n,t=r}));function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.status="pending",n.catch((()=>{})),n.resolve=t=>{r({status:"fulfilled",value:t}),e(t)},n.reject=e=>{r({status:"rejected",reason:e}),t(e)},n}function ek(e){return Math.min(1e3*2**e,3e4)}function tk(e){return"online"!==(e??"online")||Xw.isOnline()}var nk=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function rk(e){return e instanceof nk}function ok(e){let t,n=!1,r=0,o=!1;const i=Zw(),a=()=>Jw.isFocused()&&("always"===e.networkMode||Xw.isOnline())&&e.canRun(),s=()=>tk(e.networkMode)&&e.canRun(),l=n=>{o||(o=!0,e.onSuccess?.(n),t?.(),i.resolve(n))},u=n=>{o||(o=!0,e.onError?.(n),t?.(),i.reject(n))},c=()=>new Promise((n=>{t=e=>{(o||a())&&n(e)},e.onPause?.()})).then((()=>{t=void 0,o||e.onContinue?.()})),d=()=>{if(o)return;let t;const i=0===r?e.initialPromise:void 0;try{t=i??e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(l).catch((t=>{if(o)return;const i=e.retry??(Pw?0:3),s=e.retryDelay??ek,l="function"==typeof s?s(r,t):s,f=!0===i||"number"==typeof i&&r<i||"function"==typeof i&&i(r,t);var h;!n&&f?(r++,e.onFail?.(r,t),(h=l,new Promise((e=>{setTimeout(e,h)}))).then((()=>a()?void 0:c())).then((()=>{n?u(t):d()}))):u(t)}))};return{promise:i,cancel:t=>{o||(u(new nk(t)),e.abort?.())},continue:()=>(t?.(),i),cancelRetry:()=>{n=!0},continueRetry:()=>{n=!1},canStart:s,start:()=>(s()?d():c().then(d),i)}}var ik=e=>setTimeout(e,0),ak=function(){let e=[],t=0,n=e=>{e()},r=e=>{e()},o=ik;const i=r=>{t?e.push(r):o((()=>{n(r)}))};return{batch:i=>{let a;t++;try{a=i()}finally{t--,t||(()=>{const t=e;e=[],t.length&&o((()=>{r((()=>{t.forEach((e=>{n(e)}))}))}))})()}return a},batchCalls:e=>(...t)=>{i((()=>{e(...t)}))},schedule:i,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{o=e}}}(),sk=class{#o;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Rw(this.gcTime)&&(this.#o=setTimeout((()=>{this.optionalRemove()}),this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Pw?1/0:3e5))}clearGcTimeout(){this.#o&&(clearTimeout(this.#o),this.#o=void 0)}},lk=class extends sk{#i;#a;#s;#l;#u;#c;#d;constructor(e){super(),this.#d=!1,this.#c=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#l=e.client,this.#s=this.#l.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#i=function(e){const t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==t,r=n?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}(this.options),this.state=e.state??this.#i,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#u?.promise}setOptions(e){this.options={...this.#c,...e},this.updateGcTime(this.options.gcTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#s.remove(this)}setData(e,t){const n=Ww(this.state.data,e,this.options);return this.#f({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){this.#f({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#u?.promise;return this.#u?.cancel(e),t?t.then(Ow).catch(Ow):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#i)}isActive(){return this.observers.some((e=>!1!==Mw(e.options.enabled,this)))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Qw||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0&&this.observers.some((e=>"static"===Lw(e.options.staleTime,this)))}isStale(){return this.getObserversCount()>0?this.observers.some((e=>e.getCurrentResult().isStale)):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(e=0){return void 0===this.state.data||"static"!==e&&(!!this.state.isInvalidated||!Iw(this.state.dataUpdatedAt,e))}onFocus(){const e=this.observers.find((e=>e.shouldFetchOnWindowFocus()));e?.refetch({cancelRefetch:!1}),this.#u?.continue()}onOnline(){const e=this.observers.find((e=>e.shouldFetchOnReconnect()));e?.refetch({cancelRefetch:!1}),this.#u?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#s.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter((t=>t!==e)),this.observers.length||(this.#u&&(this.#d?this.#u.cancel({revert:!0}):this.#u.cancelRetry()),this.scheduleGc()),this.#s.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#f({type:"invalidate"})}fetch(e,t){if("idle"!==this.state.fetchStatus)if(void 0!==this.state.data&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#u)return this.#u.continueRetry(),this.#u.promise;if(e&&this.setOptions(e),!this.options.queryFn){const e=this.observers.find((e=>e.options.queryFn));e&&this.setOptions(e.options)}"production"!==process.env.NODE_ENV&&(Array.isArray(this.options.queryKey)||console.error("As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']"));const n=new AbortController,r=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#d=!0,n.signal)})},o=()=>{const e=Yw(this.options,t),n=(()=>{const e={client:this.#l,queryKey:this.queryKey,meta:this.meta};return r(e),e})();return this.#d=!1,this.options.persister?this.options.persister(e,n,this):e(n)},i=(()=>{const e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#l,state:this.state,fetchFn:o};return r(e),e})();this.options.behavior?.onFetch(i,this),this.#a=this.state,"idle"!==this.state.fetchStatus&&this.state.fetchMeta===i.fetchOptions?.meta||this.#f({type:"fetch",meta:i.fetchOptions?.meta});const a=e=>{rk(e)&&e.silent||this.#f({type:"error",error:e}),rk(e)||(this.#s.config.onError?.(e,this),this.#s.config.onSettled?.(this.state.data,e,this)),this.scheduleGc()};return this.#u=ok({initialPromise:t?.initialPromise,fn:i.fetchFn,abort:n.abort.bind(n),onSuccess:e=>{if(void 0===e)return"production"!==process.env.NODE_ENV&&console.error(`Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`),void a(new Error(`${this.queryHash} data is undefined`));try{this.setData(e)}catch(e){return void a(e)}this.#s.config.onSuccess?.(e,this),this.#s.config.onSettled?.(e,this.state.error,this),this.scheduleGc()},onError:a,onFail:(e,t)=>{this.#f({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#f({type:"pause"})},onContinue:()=>{this.#f({type:"continue"})},retry:i.options.retry,retryDelay:i.options.retryDelay,networkMode:i.options.networkMode,canRun:()=>!0}),this.#u.start()}#f(e){this.state=(t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...uk(t.data,this.options),fetchMeta:e.meta??null};case"success":return this.#a=void 0,{...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const n=e.error;return rk(n)&&n.revert&&this.#a?{...this.#a,fetchStatus:"idle"}:{...t,error:n,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:n,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),ak.batch((()=>{this.observers.forEach((e=>{e.onQueryUpdate()})),this.#s.notify({query:this,type:"updated",action:e})}))}};function uk(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:tk(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}var ck=class extends Aw{constructor(e={}){super(),this.config=e,this.#h=new Map}#h;build(e,t,n){const r=t.queryKey,o=t.queryHash??Nw(r,t);let i=this.get(o);return i||(i=new lk({client:e,queryKey:r,queryHash:o,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(i)),i}add(e){this.#h.has(e.queryHash)||(this.#h.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#h.get(e.queryHash);t&&(e.destroy(),t===e&&this.#h.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){ak.batch((()=>{this.getAll().forEach((e=>{this.remove(e)}))}))}get(e){return this.#h.get(e)}getAll(){return[...this.#h.values()]}find(e){const t={exact:!0,...e};return this.getAll().find((e=>Dw(t,e)))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter((t=>Dw(e,t))):t}notify(e){ak.batch((()=>{this.listeners.forEach((t=>{t(e)}))}))}onFocus(){ak.batch((()=>{this.getAll().forEach((e=>{e.onFocus()}))}))}onOnline(){ak.batch((()=>{this.getAll().forEach((e=>{e.onOnline()}))}))}},dk=class extends sk{#p;#m;#u;constructor(e){super(),this.mutationId=e.mutationId,this.#m=e.mutationCache,this.#p=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#p.includes(e)||(this.#p.push(e),this.clearGcTimeout(),this.#m.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#p=this.#p.filter((t=>t!==e)),this.scheduleGc(),this.#m.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#p.length||("pending"===this.state.status?this.scheduleGc():this.#m.remove(this))}continue(){return this.#u?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{this.#f({type:"continue"})};this.#u=ok({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(new Error("No mutationFn found")),onFail:(e,t)=>{this.#f({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#f({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#m.canRun(this)});const n="pending"===this.state.status,r=!this.#u.canStart();try{if(n)t();else{this.#f({type:"pending",variables:e,isPaused:r}),await(this.#m.config.onMutate?.(e,this));const t=await(this.options.onMutate?.(e));t!==this.state.context&&this.#f({type:"pending",context:t,variables:e,isPaused:r})}const o=await this.#u.start();return await(this.#m.config.onSuccess?.(o,e,this.state.context,this)),await(this.options.onSuccess?.(o,e,this.state.context)),await(this.#m.config.onSettled?.(o,null,this.state.variables,this.state.context,this)),await(this.options.onSettled?.(o,null,e,this.state.context)),this.#f({type:"success",data:o}),o}catch(t){try{throw await(this.#m.config.onError?.(t,e,this.state.context,this)),await(this.options.onError?.(t,e,this.state.context)),await(this.#m.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this)),await(this.options.onSettled?.(void 0,t,e,this.state.context)),t}finally{this.#f({type:"error",error:t})}}finally{this.#m.runNext(this)}}#f(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),ak.batch((()=>{this.#p.forEach((t=>{t.onMutationUpdate(e)})),this.#m.notify({mutation:this,type:"updated",action:e})}))}},fk=class extends Aw{constructor(e={}){super(),this.config=e,this.#g=new Set,this.#y=new Map,this.#v=0}#g;#y;#v;build(e,t,n){const r=new dk({mutationCache:this,mutationId:++this.#v,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#g.add(e);const t=hk(e);if("string"==typeof t){const n=this.#y.get(t);n?n.push(e):this.#y.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#g.delete(e)){const t=hk(e);if("string"==typeof t){const n=this.#y.get(t);if(n)if(n.length>1){const t=n.indexOf(e);-1!==t&&n.splice(t,1)}else n[0]===e&&this.#y.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=hk(e);if("string"==typeof t){const n=this.#y.get(t),r=n?.find((e=>"pending"===e.state.status));return!r||r===e}return!0}runNext(e){const t=hk(e);if("string"==typeof t){const n=this.#y.get(t)?.find((t=>t!==e&&t.state.isPaused));return n?.continue()??Promise.resolve()}return Promise.resolve()}clear(){ak.batch((()=>{this.#g.forEach((e=>{this.notify({type:"removed",mutation:e})})),this.#g.clear(),this.#y.clear()}))}getAll(){return Array.from(this.#g)}find(e){const t={exact:!0,...e};return this.getAll().find((e=>Fw(t,e)))}findAll(e={}){return this.getAll().filter((t=>Fw(e,t)))}notify(e){ak.batch((()=>{this.listeners.forEach((t=>{t(e)}))}))}resumePausedMutations(){const e=this.getAll().filter((e=>e.state.isPaused));return ak.batch((()=>Promise.all(e.map((e=>e.continue().catch(Ow))))))}};function hk(e){return e.options.scope?.id}function pk(e){return{onFetch:(t,n)=>{const r=t.options,o=t.fetchOptions?.meta?.fetchMore?.direction,i=t.state.data?.pages||[],a=t.state.data?.pageParams||[];let s={pages:[],pageParams:[]},l=0;const u=async()=>{let n=!1;const u=Yw(t.options,t.fetchOptions),c=async(e,r,o)=>{if(n)return Promise.reject();if(null==r&&e.pages.length)return Promise.resolve(e);const i=(()=>{const e={client:t.client,queryKey:t.queryKey,pageParam:r,direction:o?"backward":"forward",meta:t.options.meta};var i;return i=e,Object.defineProperty(i,"signal",{enumerable:!0,get:()=>(t.signal.aborted?n=!0:t.signal.addEventListener("abort",(()=>{n=!0})),t.signal)}),e})(),a=await u(i),{maxPages:s}=t.options,l=o?Kw:qw;return{pages:l(e.pages,a,s),pageParams:l(e.pageParams,r,s)}};if(o&&i.length){const e="backward"===o,t={pages:i,pageParams:a},n=(e?gk:mk)(r,t);s=await c(t,n,e)}else{const t=e??i.length;do{const e=0===l?a[0]??r.initialPageParam:mk(r,s);if(l>0&&null==e)break;s=await c(s,e),l++}while(l<t)}return s};t.options.persister?t.fetchFn=()=>t.options.persister?.(u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=u}}}function mk(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function gk(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var yk=class extends Aw{constructor(e,t){super(),this.options=t,this.#l=e,this.#b=null,this.#w=Zw(),this.options.experimental_prefetchInRender||this.#w.reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(t)}#l;#k=void 0;#S=void 0;#x=void 0;#_;#C;#w;#b;#E;#T;#A;#P;#O;#R;#I=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#k.addObserver(this),vk(this.#k,this.options)?this.#L():this.updateResult(),this.#M())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return bk(this.#k,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return bk(this.#k,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#D(),this.#F(),this.#k.removeObserver(this)}setOptions(e){const t=this.options,n=this.#k;if(this.options=this.#l.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof Mw(this.options.enabled,this.#k))throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#N(),this.#k.setOptions(this.options),t._defaulted&&!Vw(this.options,t)&&this.#l.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#k,observer:this});const r=this.hasListeners();r&&wk(this.#k,n,this.options,t)&&this.#L(),this.updateResult(),!r||this.#k===n&&Mw(this.options.enabled,this.#k)===Mw(t.enabled,this.#k)&&Lw(this.options.staleTime,this.#k)===Lw(t.staleTime,this.#k)||this.#j();const o=this.#z();!r||this.#k===n&&Mw(this.options.enabled,this.#k)===Mw(t.enabled,this.#k)&&o===this.#R||this.#U(o)}getOptimisticResult(e){const t=this.#l.getQueryCache().build(this.#l,e),n=this.createResult(t,e);return function(e,t){return!Vw(e.getCurrentResult(),t)}(this,n)&&(this.#x=n,this.#C=this.options,this.#_=this.#k.state),n}getCurrentResult(){return this.#x}trackResult(e,t){return new Proxy(e,{get:(e,n)=>(this.trackProp(n),t?.(n),Reflect.get(e,n))})}trackProp(e){this.#I.add(e)}getCurrentQuery(){return this.#k}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#l.defaultQueryOptions(e),n=this.#l.getQueryCache().build(this.#l,t);return n.fetch().then((()=>this.createResult(n,t)))}fetch(e){return this.#L({...e,cancelRefetch:e.cancelRefetch??!0}).then((()=>(this.updateResult(),this.#x)))}#L(e){this.#N();let t=this.#k.fetch(this.options,e);return e?.throwOnError||(t=t.catch(Ow)),t}#j(){this.#D();const e=Lw(this.options.staleTime,this.#k);if(Pw||this.#x.isStale||!Rw(e))return;const t=Iw(this.#x.dataUpdatedAt,e)+1;this.#P=setTimeout((()=>{this.#x.isStale||this.updateResult()}),t)}#z(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#k):this.options.refetchInterval)??!1}#U(e){this.#F(),this.#R=e,!Pw&&!1!==Mw(this.options.enabled,this.#k)&&Rw(this.#R)&&0!==this.#R&&(this.#O=setInterval((()=>{(this.options.refetchIntervalInBackground||Jw.isFocused())&&this.#L()}),this.#R))}#M(){this.#j(),this.#U(this.#z())}#D(){this.#P&&(clearTimeout(this.#P),this.#P=void 0)}#F(){this.#O&&(clearInterval(this.#O),this.#O=void 0)}createResult(e,t){const n=this.#k,r=this.options,o=this.#x,i=this.#_,a=this.#C,s=e!==n?e.state:this.#S,{state:l}=e;let u,c={...l},d=!1;if(t._optimisticResults){const o=this.hasListeners(),i=!o&&vk(e,t),a=o&&wk(e,n,t,r);(i||a)&&(c={...c,...uk(l.data,e.options)}),"isRestoring"===t._optimisticResults&&(c.fetchStatus="idle")}let{error:f,errorUpdatedAt:h,status:p}=c;u=c.data;let m=!1;if(void 0!==t.placeholderData&&void 0===u&&"pending"===p){let e;o?.isPlaceholderData&&t.placeholderData===a?.placeholderData?(e=o.data,m=!0):e="function"==typeof t.placeholderData?t.placeholderData(this.#A?.state.data,this.#A):t.placeholderData,void 0!==e&&(p="success",u=Ww(o?.data,e,t),d=!0)}if(t.select&&void 0!==u&&!m)if(o&&u===i?.data&&t.select===this.#E)u=this.#T;else try{this.#E=t.select,u=t.select(u),u=Ww(o?.data,u,t),this.#T=u,this.#b=null}catch(e){this.#b=e}this.#b&&(f=this.#b,u=this.#T,h=Date.now(),p="error");const g="fetching"===c.fetchStatus,y="pending"===p,v="error"===p,b=y&&g,w=void 0!==u,k={status:p,fetchStatus:c.fetchStatus,isPending:y,isSuccess:"success"===p,isError:v,isInitialLoading:b,isLoading:b,data:u,dataUpdatedAt:c.dataUpdatedAt,error:f,errorUpdatedAt:h,failureCount:c.fetchFailureCount,failureReason:c.fetchFailureReason,errorUpdateCount:c.errorUpdateCount,isFetched:c.dataUpdateCount>0||c.errorUpdateCount>0,isFetchedAfterMount:c.dataUpdateCount>s.dataUpdateCount||c.errorUpdateCount>s.errorUpdateCount,isFetching:g,isRefetching:g&&!y,isLoadingError:v&&!w,isPaused:"paused"===c.fetchStatus,isPlaceholderData:d,isRefetchError:v&&w,isStale:kk(e,t),refetch:this.refetch,promise:this.#w,isEnabled:!1!==Mw(t.enabled,e)};if(this.options.experimental_prefetchInRender){const t=e=>{"error"===k.status?e.reject(k.error):void 0!==k.data&&e.resolve(k.data)},r=()=>{const e=this.#w=k.promise=Zw();t(e)},o=this.#w;switch(o.status){case"pending":e.queryHash===n.queryHash&&t(o);break;case"fulfilled":"error"!==k.status&&k.data===o.value||r();break;case"rejected":"error"===k.status&&k.error===o.reason||r()}}return k}updateResult(){const e=this.#x,t=this.createResult(this.#k,this.options);this.#_=this.#k.state,this.#C=this.options,void 0!==this.#_.data&&(this.#A=this.#k),Vw(t,e)||(this.#x=t,this.#V({listeners:(()=>{if(!e)return!0;const{notifyOnChangeProps:t}=this.options,n="function"==typeof t?t():t;if("all"===n||!n&&!this.#I.size)return!0;const r=new Set(n??this.#I);return this.options.throwOnError&&r.add("error"),Object.keys(this.#x).some((t=>{const n=t;return this.#x[n]!==e[n]&&r.has(n)}))})()}))}#N(){const e=this.#l.getQueryCache().build(this.#l,this.options);if(e===this.#k)return;const t=this.#k;this.#k=e,this.#S=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#M()}#V(e){ak.batch((()=>{e.listeners&&this.listeners.forEach((e=>{e(this.#x)})),this.#l.getQueryCache().notify({query:this.#k,type:"observerResultsUpdated"})}))}};function vk(e,t){return function(e,t){return!1!==Mw(t.enabled,e)&&void 0===e.state.data&&!("error"===e.state.status&&!1===t.retryOnMount)}(e,t)||void 0!==e.state.data&&bk(e,t,t.refetchOnMount)}function bk(e,t,n){if(!1!==Mw(t.enabled,e)&&"static"!==Lw(t.staleTime,e)){const r="function"==typeof n?n(e):n;return"always"===r||!1!==r&&kk(e,t)}return!1}function wk(e,t,n,r){return(e!==t||!1===Mw(r.enabled,e))&&(!n.suspense||"error"!==e.state.status)&&kk(e,n)}function kk(e,t){return!1!==Mw(t.enabled,e)&&e.isStaleByTime(Lw(t.staleTime,e))}var Sk=class extends Aw{#l;#x=void 0;#B;#$;constructor(e,t){super(),this.#l=e,this.setOptions(t),this.bindMethods(),this.#H()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){const t=this.options;this.options=this.#l.defaultMutationOptions(e),Vw(this.options,t)||this.#l.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#B,observer:this}),t?.mutationKey&&this.options.mutationKey&&jw(t.mutationKey)!==jw(this.options.mutationKey)?this.reset():"pending"===this.#B?.state.status&&this.#B.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#B?.removeObserver(this)}onMutationUpdate(e){this.#H(),this.#V(e)}getCurrentResult(){return this.#x}reset(){this.#B?.removeObserver(this),this.#B=void 0,this.#H(),this.#V()}mutate(e,t){return this.#$=t,this.#B?.removeObserver(this),this.#B=this.#l.getMutationCache().build(this.#l,this.options),this.#B.addObserver(this),this.#B.execute(e)}#H(){const e=this.#B?.state??{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0};this.#x={...e,isPending:"pending"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset}}#V(e){ak.batch((()=>{if(this.#$&&this.hasListeners()){const t=this.#x.variables,n=this.#x.context;"success"===e?.type?(this.#$.onSuccess?.(e.data,t,n),this.#$.onSettled?.(e.data,null,t,n)):"error"===e?.type&&(this.#$.onError?.(e.error,t,n),this.#$.onSettled?.(void 0,e.error,t,n))}this.listeners.forEach((e=>{e(this.#x)}))}))}},xk=H.createContext(void 0),_k=e=>{const t=H.useContext(xk);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},Ck=({client:e,children:t})=>(H.useEffect((()=>(e.mount(),()=>{e.unmount()})),[e]),b.jsx(xk.Provider,{value:e,children:t})),Ek=H.createContext(!1);Ek.Provider;var Tk=H.createContext(function(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}()),Ak=(e,t,n)=>t.fetchOptimistic(e).catch((()=>{n.clearReset()}));function Pk(e,t){return function(e,t){if("production"!==process.env.NODE_ENV&&("object"!=typeof e||Array.isArray(e)))throw new Error('Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object');const n=H.useContext(Ek),r=H.useContext(Tk),o=_k(),i=o.defaultQueryOptions(e);o.getDefaultOptions().queries?._experimental_beforeQuery?.(i),"production"!==process.env.NODE_ENV&&(i.queryFn||console.error(`[${i.queryHash}]: No queryFn was passed as an option, and no default queryFn was found. The queryFn parameter is only optional when using a default queryFn. More info here: https://tanstack.com/query/latest/docs/framework/react/guides/default-query-function`)),i._optimisticResults=n?"isRestoring":"optimistic",(e=>{if(e.suspense){const t=e=>"static"===e?e:Math.max(e??1e3,1e3),n=e.staleTime;e.staleTime="function"==typeof n?(...e)=>t(n(...e)):t(n),"number"==typeof e.gcTime&&(e.gcTime=Math.max(e.gcTime,1e3))}})(i),((e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))})(i,r),(e=>{H.useEffect((()=>{e.clearReset()}),[e])})(r);const a=!o.getQueryCache().get(i.queryHash),[s]=H.useState((()=>new t(o,i))),l=s.getOptimisticResult(i),u=!n&&!1!==e.subscribed;if(H.useSyncExternalStore(H.useCallback((e=>{const t=u?s.subscribe(ak.batchCalls(e)):Ow;return s.updateResult(),t}),[s,u]),(()=>s.getCurrentResult()),(()=>s.getCurrentResult())),H.useEffect((()=>{s.setOptions(i)}),[i,s]),((e,t)=>e?.suspense&&t.isPending)(i,l))throw Ak(i,s,r);if((({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:o})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(o&&void 0===e.data||Gw(n,[e.error,r])))({result:l,errorResetBoundary:r,throwOnError:i.throwOnError,query:o.getQueryCache().get(i.queryHash),suspense:i.suspense}))throw l.error;if(o.getDefaultOptions().queries?._experimental_afterQuery?.(i,l),i.experimental_prefetchInRender&&!Pw&&((e,t)=>e.isLoading&&e.isFetching&&!t)(l,n)){const e=a?Ak(i,s,r):o.getQueryCache().get(i.queryHash)?.promise;e?.catch(Ow).finally((()=>{s.updateResult()}))}return i.notifyOnChangeProps?l:s.trackResult(l)}(e,yk)}function Ok(e,t){const n=_k(),[r]=H.useState((()=>new Sk(n,e)));H.useEffect((()=>{r.setOptions(e)}),[r,e]);const o=H.useSyncExternalStore(H.useCallback((e=>r.subscribe(ak.batchCalls(e))),[r]),(()=>r.getCurrentResult()),(()=>r.getCurrentResult())),i=H.useCallback(((e,t)=>{r.mutate(e,t).catch(Ow)}),[r]);if(o.error&&Gw(r.options.throwOnError,[o.error]))throw o.error;return{...o,mutate:i,mutateAsync:o.mutate}}let Rk="https://app.kolia.fr/api/agents",Ik=!1;try{e&&"SCRIPT"===e.tagName.toUpperCase()&&e.src||new URL("widget.js",document.baseURI).href}catch{}Ik||"undefined"==typeof process||"development"!==process.env.NODE_ENV||(Ik=!0),Ik&&(Rk="/api/agents");const Lk=(e,t)=>fetch(`${Rk}${e}`,t),Mk={async submitVote({faqId:e,visitorId:t,vote:n}){const r=await Lk(`/faqs/${e}/vote`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({visitorId:t,vote:n})});if(!r.ok){const e=await r.json().catch((()=>({error:"Failed to submit vote"})));throw new Error(e.error||"Failed to submit vote")}return(await r.json()).voteStats},async getVoteStats(e){const t=await Lk(`/faqs/${e}/vote`);if(!t.ok){const e=await t.json().catch((()=>({error:"Failed to fetch vote stats"})));throw new Error(e.error||"Failed to fetch vote stats")}return(await t.json()).voteStats}},Dk=In.div(["flex:1;overflow-y:auto;padding:",";background-color:",";max-height:500px;height:500px;"],jc,Uc.surface.primary),Fk=In.h3(["font-size:1rem;font-weight:600;color:",";margin-bottom:",";"],Uc.text.primary,jc),Nk=In.p(["font-size:0.875rem;color:",";margin-bottom:",";"],Uc.text.secondary,"1.25rem"),jk=In.div(["display:flex;flex-direction:column;gap:",";"],Nc),zk=In.div(["text-align:center;padding:"," ",";color:",";font-size:0.875rem;"],"2rem",jc,Uc.text.secondary),Uk=({faqs:e=[],visitorId:t})=>{const[n,r]=H.useState(new Set),{submitVote:o}=(()=>{const{mutate:e,isPending:t,error:n}=Ok({mutationFn:Mk.submitVote,onError:e=>{console.error("Error submitting vote:",e)}});return{submitVote:e,useFetchVoteStats:e=>Pk({queryKey:["faq-votes",e],queryFn:()=>Mk.getVoteStats(e),enabled:!!e}),isVoting:t,voteError:n}})(),i=(e,n)=>{o({faqId:e,visitorId:t,vote:n})};return b.jsxs(Dk,{children:[b.jsx(Fk,{children:"Questions Fréquentes"}),b.jsx(Nk,{children:"Trouvez rapidement des réponses aux questions les plus courantes"}),e.length>0?b.jsx(jk,{children:e.map((e=>b.jsx(Tw,{questionId:e.id,question:e.question,answer:e.answer,isExpanded:n.has(e.id),onToggle:()=>(e=>{r((t=>{const n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n}))})(e.id),onVoteClick:i},e.id)))}):b.jsx(zk,{children:"Aucune question fréquente n'est disponible pour le moment."})]})},Vk={async createContact({contactId:e,agentId:t}){const n=await Lk(`/contact/${e}?agentId=${t}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({entryPage:window.location.href})});if(!n.ok){const e=await n.json().catch((()=>({error:"Failed to create contact"})));throw new Error(e.error||"Failed to create contact")}return n.json()},async updateContact({contactId:e,email:t,name:n,phone:r}){const o={};void 0!==t&&(o.email=t),void 0!==n&&(o.name=n),void 0!==r&&(o.phone=r);const i=await Lk(`/contact/${e}/update`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(o)});if(!i.ok){const e=await i.json().catch((()=>({error:"Failed to update contact"})));throw new Error(e.error||"Failed to update contact")}return i.json()}};var Bk,$k="vercel.ai.error",Hk=Symbol.for($k),Wk=class e extends Error{constructor({name:e,message:t,cause:n}){super(t),this[Bk]=!0,this.name=e,this.cause=n}static isInstance(t){return e.hasMarker(t,$k)}static hasMarker(e,t){const n=Symbol.for(t);return null!=e&&"object"==typeof e&&n in e&&"boolean"==typeof e[n]&&!0===e[n]}};Bk=Hk;var qk=Wk;function Kk(e){return null==e?"unknown error":"string"==typeof e?e:e instanceof Error?e.message:JSON.stringify(e)}var Qk,Yk="AI_InvalidArgumentError",Gk=`vercel.ai.error.${Yk}`,Jk=Symbol.for(Gk),Xk=class extends qk{constructor({message:e,cause:t,argument:n}){super({name:Yk,message:e,cause:t}),this[Qk]=!0,this.argument=n}static isInstance(e){return qk.hasMarker(e,Gk)}};Qk=Jk;var Zk,eS="AI_JSONParseError",tS=`vercel.ai.error.${eS}`,nS=Symbol.for(tS),rS=class extends qk{constructor({text:e,cause:t}){super({name:eS,message:`JSON parsing failed: Text: ${e}.\nError message: ${Kk(t)}`,cause:t}),this[Zk]=!0,this.text=e}static isInstance(e){return qk.hasMarker(e,tS)}};Zk=nS;var oS,iS="AI_TypeValidationError",aS=`vercel.ai.error.${iS}`,sS=Symbol.for(aS);oS=sS;var lS,uS=class e extends qk{constructor({value:e,cause:t}){super({name:iS,message:`Type validation failed: Value: ${JSON.stringify(e)}.\nError message: ${Kk(t)}`,cause:t}),this[oS]=!0,this.value=e}static isInstance(e){return qk.hasMarker(e,aS)}static wrap({value:t,cause:n}){return e.isInstance(n)&&n.value===t?n:new e({value:t,cause:n})}},cS={exports:{}},dS=function(){if(lS)return cS.exports;lS=1;const e="undefined"!=typeof Buffer,t=/"(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])"\s*:/,n=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/;function r(r,i,a){null==a&&null!==i&&"object"==typeof i&&(a=i,i=void 0),e&&Buffer.isBuffer(r)&&(r=r.toString()),r&&65279===r.charCodeAt(0)&&(r=r.slice(1));const s=JSON.parse(r,i);if(null===s||"object"!=typeof s)return s;const l=a&&a.protoAction||"error",u=a&&a.constructorAction||"error";if("ignore"===l&&"ignore"===u)return s;if("ignore"!==l&&"ignore"!==u){if(!1===t.test(r)&&!1===n.test(r))return s}else if("ignore"!==l&&"ignore"===u){if(!1===t.test(r))return s}else if(!1===n.test(r))return s;return o(s,{protoAction:l,constructorAction:u,safe:a&&a.safe})}function o(e,{protoAction:t="error",constructorAction:n="error",safe:r}={}){let o=[e];for(;o.length;){const e=o;o=[];for(const i of e){if("ignore"!==t&&Object.prototype.hasOwnProperty.call(i,"__proto__")){if(!0===r)return null;if("error"===t)throw new SyntaxError("Object contains forbidden prototype property");delete i.__proto__}if("ignore"!==n&&Object.prototype.hasOwnProperty.call(i,"constructor")&&Object.prototype.hasOwnProperty.call(i.constructor,"prototype")){if(!0===r)return null;if("error"===n)throw new SyntaxError("Object contains forbidden prototype property");delete i.constructor}for(const e in i){const t=i[e];t&&"object"==typeof t&&o.push(t)}}}return e}function i(e,t,n){const o=Error.stackTraceLimit;Error.stackTraceLimit=0;try{return r(e,t,n)}finally{Error.stackTraceLimit=o}}return cS.exports=i,cS.exports.default=i,cS.exports.parse=i,cS.exports.safeParse=function(e,t){const n=Error.stackTraceLimit;Error.stackTraceLimit=0;try{return r(e,t,{safe:!0})}catch(e){return null}finally{Error.stackTraceLimit=n}},cS.exports.scan=o,cS.exports}(),fS=t(dS),hS=(({prefix:e,size:t=16,alphabet:n="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",separator:r="-"}={})=>{const o=((e,t=21)=>(n=t)=>{let r="",o=0|n;for(;o--;)r+=e[Math.random()*e.length|0];return r})(n,t);if(null==e)return o;if(n.includes(r))throw new Xk({argument:"separator",message:`The separator "${r}" must not be part of the alphabet "${n}".`});return t=>`${e}${r}${o(t)}`})(),pS=Symbol.for("vercel.ai.validator");function mS({text:e,schema:t}){try{const n=fS.parse(e);if(null==t)return{success:!0,value:n,rawValue:n};const r=function({value:e,schema:t}){const n=function(e){return function(e){return"object"==typeof e&&null!==e&&pS in e&&!0===e[pS]&&"validate"in e}(e)?e:(t=e,n=e=>{const n=t.safeParse(e);return n.success?{success:!0,value:n.data}:{success:!1,error:n.error}},{[pS]:!0,validate:n});var t,n}(t);try{if(null==n.validate)return{success:!0,value:e};const t=n.validate(e);return t.success?t:{success:!1,error:uS.wrap({value:e,cause:t.error})}}catch(t){return{success:!1,error:uS.wrap({value:e,cause:t})}}}({value:n,schema:t});return r.success?{...r,rawValue:n}:r}catch(t){return{success:!1,error:rS.isInstance(t)?t:new rS({text:e,cause:t})}}}new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");var gS={code:"0",name:"text",parse:e=>{if("string"!=typeof e)throw new Error('"text" parts expect a string value.');return{type:"text",value:e}}},yS={code:"3",name:"error",parse:e=>{if("string"!=typeof e)throw new Error('"error" parts expect a string value.');return{type:"error",value:e}}},vS={code:"4",name:"assistant_message",parse:e=>{if(!(null!=e&&"object"==typeof e&&"id"in e&&"role"in e&&"content"in e&&"string"==typeof e.id&&"string"==typeof e.role&&"assistant"===e.role&&Array.isArray(e.content)&&e.content.every((e=>null!=e&&"object"==typeof e&&"type"in e&&"text"===e.type&&"text"in e&&null!=e.text&&"object"==typeof e.text&&"value"in e.text&&"string"==typeof e.text.value))))throw new Error('"assistant_message" parts expect an object with an "id", "role", and "content" property.');return{type:"assistant_message",value:e}}},bS={code:"5",name:"assistant_control_data",parse:e=>{if(null==e||"object"!=typeof e||!("threadId"in e)||!("messageId"in e)||"string"!=typeof e.threadId||"string"!=typeof e.messageId)throw new Error('"assistant_control_data" parts expect an object with a "threadId" and "messageId" property.');return{type:"assistant_control_data",value:{threadId:e.threadId,messageId:e.messageId}}}},wS={code:"6",name:"data_message",parse:e=>{if(null==e||"object"!=typeof e||!("role"in e)||!("data"in e)||"string"!=typeof e.role||"data"!==e.role)throw new Error('"data_message" parts expect an object with a "role" and "data" property.');return{type:"data_message",value:e}}};function kS(e){const t=["ROOT"];let n=-1,r=null;function o(e,o,i){switch(e){case'"':n=o,t.pop(),t.push(i),t.push("INSIDE_STRING");break;case"f":case"t":case"n":n=o,r=o,t.pop(),t.push(i),t.push("INSIDE_LITERAL");break;case"-":t.pop(),t.push(i),t.push("INSIDE_NUMBER");break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":n=o,t.pop(),t.push(i),t.push("INSIDE_NUMBER");break;case"{":n=o,t.pop(),t.push(i),t.push("INSIDE_OBJECT_START");break;case"[":n=o,t.pop(),t.push(i),t.push("INSIDE_ARRAY_START")}}function i(e,r){switch(e){case",":t.pop(),t.push("INSIDE_OBJECT_AFTER_COMMA");break;case"}":n=r,t.pop()}}function a(e,r){switch(e){case",":t.pop(),t.push("INSIDE_ARRAY_AFTER_COMMA");break;case"]":n=r,t.pop()}}for(let s=0;s<e.length;s++){const l=e[s];switch(t[t.length-1]){case"ROOT":o(l,s,"FINISH");break;case"INSIDE_OBJECT_START":switch(l){case'"':t.pop(),t.push("INSIDE_OBJECT_KEY");break;case"}":n=s,t.pop()}break;case"INSIDE_OBJECT_AFTER_COMMA":'"'===l&&(t.pop(),t.push("INSIDE_OBJECT_KEY"));break;case"INSIDE_OBJECT_KEY":'"'===l&&(t.pop(),t.push("INSIDE_OBJECT_AFTER_KEY"));break;case"INSIDE_OBJECT_AFTER_KEY":":"===l&&(t.pop(),t.push("INSIDE_OBJECT_BEFORE_VALUE"));break;case"INSIDE_OBJECT_BEFORE_VALUE":o(l,s,"INSIDE_OBJECT_AFTER_VALUE");break;case"INSIDE_OBJECT_AFTER_VALUE":i(l,s);break;case"INSIDE_STRING":switch(l){case'"':t.pop(),n=s;break;case"\\":t.push("INSIDE_STRING_ESCAPE");break;default:n=s}break;case"INSIDE_ARRAY_START":"]"===l?(n=s,t.pop()):(n=s,o(l,s,"INSIDE_ARRAY_AFTER_VALUE"));break;case"INSIDE_ARRAY_AFTER_VALUE":switch(l){case",":t.pop(),t.push("INSIDE_ARRAY_AFTER_COMMA");break;case"]":n=s,t.pop();break;default:n=s}break;case"INSIDE_ARRAY_AFTER_COMMA":o(l,s,"INSIDE_ARRAY_AFTER_VALUE");break;case"INSIDE_STRING_ESCAPE":t.pop(),n=s;break;case"INSIDE_NUMBER":switch(l){case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":n=s;break;case"e":case"E":case"-":case".":break;case",":t.pop(),"INSIDE_ARRAY_AFTER_VALUE"===t[t.length-1]&&a(l,s),"INSIDE_OBJECT_AFTER_VALUE"===t[t.length-1]&&i(l,s);break;case"}":t.pop(),"INSIDE_OBJECT_AFTER_VALUE"===t[t.length-1]&&i(l,s);break;case"]":t.pop(),"INSIDE_ARRAY_AFTER_VALUE"===t[t.length-1]&&a(l,s);break;default:t.pop()}break;case"INSIDE_LITERAL":{const o=e.substring(r,s+1);"false".startsWith(o)||"true".startsWith(o)||"null".startsWith(o)?n=s:(t.pop(),"INSIDE_OBJECT_AFTER_VALUE"===t[t.length-1]?i(l,s):"INSIDE_ARRAY_AFTER_VALUE"===t[t.length-1]&&a(l,s));break}}}let s=e.slice(0,n+1);for(let n=t.length-1;n>=0;n--)switch(t[n]){case"INSIDE_STRING":s+='"';break;case"INSIDE_OBJECT_KEY":case"INSIDE_OBJECT_AFTER_KEY":case"INSIDE_OBJECT_AFTER_COMMA":case"INSIDE_OBJECT_START":case"INSIDE_OBJECT_BEFORE_VALUE":case"INSIDE_OBJECT_AFTER_VALUE":s+="}";break;case"INSIDE_ARRAY_START":case"INSIDE_ARRAY_AFTER_COMMA":case"INSIDE_ARRAY_AFTER_VALUE":s+="]";break;case"INSIDE_LITERAL":{const t=e.substring(r,e.length);"true".startsWith(t)?s+="true".slice(t.length):"false".startsWith(t)?s+="false".slice(t.length):"null".startsWith(t)&&(s+="null".slice(t.length))}}return s}[gS,yS,vS,bS,wS].map((e=>e.code));var SS=[{code:"0",name:"text",parse:e=>{if("string"!=typeof e)throw new Error('"text" parts expect a string value.');return{type:"text",value:e}}},{code:"2",name:"data",parse:e=>{if(!Array.isArray(e))throw new Error('"data" parts expect an array value.');return{type:"data",value:e}}},{code:"3",name:"error",parse:e=>{if("string"!=typeof e)throw new Error('"error" parts expect a string value.');return{type:"error",value:e}}},{code:"8",name:"message_annotations",parse:e=>{if(!Array.isArray(e))throw new Error('"message_annotations" parts expect an array value.');return{type:"message_annotations",value:e}}},{code:"9",name:"tool_call",parse:e=>{if(null==e||"object"!=typeof e||!("toolCallId"in e)||"string"!=typeof e.toolCallId||!("toolName"in e)||"string"!=typeof e.toolName||!("args"in e)||"object"!=typeof e.args)throw new Error('"tool_call" parts expect an object with a "toolCallId", "toolName", and "args" property.');return{type:"tool_call",value:e}}},{code:"a",name:"tool_result",parse:e=>{if(null==e||"object"!=typeof e||!("toolCallId"in e)||"string"!=typeof e.toolCallId||!("result"in e))throw new Error('"tool_result" parts expect an object with a "toolCallId" and a "result" property.');return{type:"tool_result",value:e}}},{code:"b",name:"tool_call_streaming_start",parse:e=>{if(null==e||"object"!=typeof e||!("toolCallId"in e)||"string"!=typeof e.toolCallId||!("toolName"in e)||"string"!=typeof e.toolName)throw new Error('"tool_call_streaming_start" parts expect an object with a "toolCallId" and "toolName" property.');return{type:"tool_call_streaming_start",value:e}}},{code:"c",name:"tool_call_delta",parse:e=>{if(null==e||"object"!=typeof e||!("toolCallId"in e)||"string"!=typeof e.toolCallId||!("argsTextDelta"in e)||"string"!=typeof e.argsTextDelta)throw new Error('"tool_call_delta" parts expect an object with a "toolCallId" and "argsTextDelta" property.');return{type:"tool_call_delta",value:e}}},{code:"d",name:"finish_message",parse:e=>{if(null==e||"object"!=typeof e||!("finishReason"in e)||"string"!=typeof e.finishReason)throw new Error('"finish_message" parts expect an object with a "finishReason" property.');const t={finishReason:e.finishReason};return"usage"in e&&null!=e.usage&&"object"==typeof e.usage&&"promptTokens"in e.usage&&"completionTokens"in e.usage&&(t.usage={promptTokens:"number"==typeof e.usage.promptTokens?e.usage.promptTokens:Number.NaN,completionTokens:"number"==typeof e.usage.completionTokens?e.usage.completionTokens:Number.NaN}),{type:"finish_message",value:t}}},{code:"e",name:"finish_step",parse:e=>{if(null==e||"object"!=typeof e||!("finishReason"in e)||"string"!=typeof e.finishReason)throw new Error('"finish_step" parts expect an object with a "finishReason" property.');const t={finishReason:e.finishReason,isContinued:!1};return"usage"in e&&null!=e.usage&&"object"==typeof e.usage&&"promptTokens"in e.usage&&"completionTokens"in e.usage&&(t.usage={promptTokens:"number"==typeof e.usage.promptTokens?e.usage.promptTokens:Number.NaN,completionTokens:"number"==typeof e.usage.completionTokens?e.usage.completionTokens:Number.NaN}),"isContinued"in e&&"boolean"==typeof e.isContinued&&(t.isContinued=e.isContinued),{type:"finish_step",value:t}}},{code:"f",name:"start_step",parse:e=>{if(null==e||"object"!=typeof e||!("messageId"in e)||"string"!=typeof e.messageId)throw new Error('"start_step" parts expect an object with an "id" property.');return{type:"start_step",value:{messageId:e.messageId}}}},{code:"g",name:"reasoning",parse:e=>{if("string"!=typeof e)throw new Error('"reasoning" parts expect a string value.');return{type:"reasoning",value:e}}},{code:"h",name:"source",parse:e=>{if(null==e||"object"!=typeof e)throw new Error('"source" parts expect a Source object.');return{type:"source",value:e}}},{code:"i",name:"redacted_reasoning",parse:e=>{if(null==e||"object"!=typeof e||!("data"in e)||"string"!=typeof e.data)throw new Error('"redacted_reasoning" parts expect an object with a "data" property.');return{type:"redacted_reasoning",value:{data:e.data}}}},{code:"j",name:"reasoning_signature",parse:e=>{if(null==e||"object"!=typeof e||!("signature"in e)||"string"!=typeof e.signature)throw new Error('"reasoning_signature" parts expect an object with a "signature" property.');return{type:"reasoning_signature",value:{signature:e.signature}}}},{code:"k",name:"file",parse:e=>{if(null==e||"object"!=typeof e||!("data"in e)||"string"!=typeof e.data||!("mimeType"in e)||"string"!=typeof e.mimeType)throw new Error('"file" parts expect an object with a "data" and "mimeType" property.');return{type:"file",value:e}}}],xS=Object.fromEntries(SS.map((e=>[e.code,e])));Object.fromEntries(SS.map((e=>[e.name,e.code])));var _S=SS.map((e=>e.code)),CS=e=>{const t=e.indexOf(":");if(-1===t)throw new Error("Failed to parse stream string. No separator found.");const n=e.slice(0,t);if(!_S.includes(n))throw new Error(`Failed to parse stream string. Invalid code ${n}.`);const r=n,o=e.slice(t+1),i=JSON.parse(o);return xS[r].parse(i)},ES="\n".charCodeAt(0);function TS(e,t){const n=new Uint8Array(t);let r=0;for(const t of e)n.set(t,r),r+=t.length;return e.length=0,n}var AS=()=>fetch;function PS(e){return null==e?void 0:e.reduce(((e,t)=>{var n;return Math.max(e,null!=(n=t.step)?n:0)}),0)}function OS(e){var t;return null!=(t=e.parts)?t:[...e.toolInvocations?e.toolInvocations.map((e=>({type:"tool-invocation",toolInvocation:e}))):[],...e.reasoning?[{type:"reasoning",reasoning:e.reasoning,details:[{type:"text",text:e.reasoning}]}]:[],...e.content?[{type:"text",text:e.content}]:[]]}function RS(e){return e.map((e=>({...e,parts:OS(e)})))}function IS(e,t){if(e===t)return!0;if(null==e||null==t)return!1;if("object"!=typeof e&&"object"!=typeof t)return e===t;if(e.constructor!==t.constructor)return!1;if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(Array.isArray(e)){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!IS(e[n],t[n]))return!1;return!0}const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(const o of n){if(!r.includes(o))return!1;if(!IS(e[o],t[o]))return!1}return!0}async function LS(e){if(!e)return[];if(globalThis.FileList&&e instanceof globalThis.FileList)return Promise.all(Array.from(e).map((async e=>{const{name:t,type:n}=e,r=await new Promise(((t,n)=>{const r=new FileReader;r.onload=e=>{var n;t(null==(n=e.target)?void 0:n.result)},r.onerror=e=>n(e),r.readAsDataURL(e)}));return{name:t,contentType:n,url:r}})));if(Array.isArray(e))return e;throw new Error("Invalid attachments type")}function MS(e){if("assistant"!==e.role)return!1;const t=e.parts.reduce(((e,t,n)=>"step-start"===t.type?n:e),-1),n=e.parts.slice(t+1).filter((e=>"tool-invocation"===e.type));return n.length>0&&n.every((e=>"result"in e.toolInvocation))}var DS,FS,NS,jS={exports:{}},zS={},US={},VS=(NS||(NS=1,"production"===process.env.NODE_ENV?jS.exports=(()=>{if(DS)return zS;DS=1;var e=m(),t="function"==typeof Object.is?Object.is:(e,t)=>e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t,n=e.useState,r=e.useEffect,o=e.useLayoutEffect,i=e.useDebugValue;function a(e){var n=e.getSnapshot;e=e.value;try{var r=n();return!t(e,r)}catch(e){return!0}}var s="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?(e,t)=>t():(e,t)=>{var s=t(),l=n({inst:{value:s,getSnapshot:t}}),u=l[0].inst,c=l[1];return o((()=>{u.value=s,u.getSnapshot=t,a(u)&&c({inst:u})}),[e,s,t]),r((()=>(a(u)&&c({inst:u}),e((()=>{a(u)&&c({inst:u})})))),[e]),i(s),s};return zS.useSyncExternalStore=void 0!==e.useSyncExternalStore?e.useSyncExternalStore:s,zS})():jS.exports=(FS||(FS=1,"production"!==process.env.NODE_ENV&&(()=>{function e(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!n(e,r)}catch(e){return!0}}"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var t=m(),n="function"==typeof Object.is?Object.is:(e,t)=>e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t,r=t.useState,o=t.useEffect,i=t.useLayoutEffect,a=t.useDebugValue,s=!1,l=!1,u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?(e,t)=>t():(u,c)=>{s||void 0===t.startTransition||(s=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var d=c();if(!l){var f=c();n(d,f)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),l=!0)}var h=(f=r({inst:{value:d,getSnapshot:c}}))[0].inst,p=f[1];return i((()=>{h.value=d,h.getSnapshot=c,e(h)&&p({inst:h})}),[u,d,c]),o((()=>(e(h)&&p({inst:h}),u((()=>{e(h)&&p({inst:h})})))),[u]),a(d),d};US.useSyncExternalStore=void 0!==t.useSyncExternalStore?t.useSyncExternalStore:u,"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),US)),jS.exports),BS=Object.prototype.hasOwnProperty;const $S=new WeakMap,HS=()=>{},WS=void 0,qS=Object,KS=e=>e===WS,QS=e=>"function"==typeof e,YS=(e,t)=>({...e,...t}),GS=e=>QS(e.then),JS={},XS={},ZS="undefined",ex=typeof window!=ZS,tx=typeof document!=ZS,nx=ex&&"Deno"in window,rx=(e,t)=>{const n=$S.get(e);return[()=>!KS(t)&&e.get(t)||JS,r=>{if(!KS(t)){const o=e.get(t);t in XS||(XS[t]=o),n[5](t,YS(o,r),o||JS)}},n[6],()=>!KS(t)&&t in XS?XS[t]:!KS(t)&&e.get(t)||JS]};let ox=!0;const[ix,ax]=ex&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[HS,HS],sx={isOnline:()=>ox,isVisible:()=>{const e=tx&&document.visibilityState;return KS(e)||"hidden"!==e}},lx={initFocus:e=>(tx&&document.addEventListener("visibilitychange",e),ix("focus",e),()=>{tx&&document.removeEventListener("visibilitychange",e),ax("focus",e)}),initReconnect:e=>{const t=()=>{ox=!0,e()},n=()=>{ox=!1};return ix("online",t),ix("offline",n),()=>{ax("online",t),ax("offline",n)}}},ux=!W.useId,cx=!ex||nx,dx=cx?H.useEffect:H.useLayoutEffect,fx="undefined"!=typeof navigator&&navigator.connection,hx=!cx&&fx&&(["slow-2g","2g"].includes(fx.effectiveType)||fx.saveData),px=new WeakMap,mx=(e,t)=>e===`[object ${t}]`;let gx=0;const yx=e=>{const t=typeof e,n=(r=e,qS.prototype.toString.call(r));var r;const o=mx(n,"Date"),i=mx(n,"RegExp"),a=mx(n,"Object");let s,l;if(qS(e)!==e||o||i)s=o?e.toJSON():"symbol"==t?e.toString():"string"==t?JSON.stringify(e):""+e;else{if(s=px.get(e),s)return s;if(s=++gx+"~",px.set(e,s),Array.isArray(e)){for(s="@",l=0;l<e.length;l++)s+=yx(e[l])+",";px.set(e,s)}if(a){s="#";const t=qS.keys(e).sort();for(;!KS(l=t.pop());)KS(e[l])||(s+=l+":"+yx(e[l])+",");px.set(e,s)}}return s},vx=e=>{if(QS(e))try{e=e()}catch(t){e=""}const t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?yx(e):"",t]};let bx=0;const wx=()=>++bx;async function kx(...e){const[t,n,r,o]=e,i=YS({populateCache:!0,throwOnError:!0},"boolean"==typeof o?{revalidate:o}:o||{});let a=i.populateCache;const s=i.rollbackOnError;let l=i.optimisticData;const u=i.throwOnError;if(QS(n)){const e=n,r=[],o=t.keys();for(const n of o)!/^\$(inf|sub)\$/.test(n)&&e(t.get(n)._k)&&r.push(n);return Promise.all(r.map(c))}return c(n);async function c(n){const[o]=vx(n);if(!o)return;const[c,d]=rx(t,o),[f,h,p,m]=$S.get(t),g=()=>{const e=f[o];return(QS(i.revalidate)?i.revalidate(c().data,n):!1!==i.revalidate)&&(delete p[o],delete m[o],e&&e[0])?e[0](2).then((()=>c().data)):c().data};if(e.length<3)return g();let y,v=r,b=!1;const w=wx();h[o]=[w,0];const k=!KS(l),S=c(),x=S.data,_=S._c,C=KS(_)?x:_;if(k&&(l=QS(l)?l(C,x):l,d({data:l,_c:C})),QS(v))try{v=v(C)}catch(e){y=e,b=!0}if(v&&GS(v)){if(v=await v.catch((e=>{y=e,b=!0})),w!==h[o][0]){if(b)throw y;return v}b&&k&&(e=>"function"==typeof s?s(e):!1!==s)(y)&&(a=!0,d({data:C,_c:WS}))}if(a&&!b)if(QS(a)){const e=a(v,C);d({data:e,error:WS,_c:WS})}else d({data:v,error:WS,_c:WS});if(h[o][1]=wx(),Promise.resolve(g()).then((()=>{d({_c:WS})})),!b)return v;if(u)throw y}}const Sx=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},[xx,_x]=(e=>{if(!$S.has(e)){const t=YS(lx,void 0),n=Object.create(null),r=kx.bind(WS,e);let o=HS;const i=Object.create(null),a=(e,t)=>{const n=i[e]||[];return i[e]=n,n.push(t),()=>n.splice(n.indexOf(t),1)},s=(t,n,r)=>{e.set(t,n);const o=i[t];if(o)for(const e of o)e(n,r)},l=()=>{if(!$S.has(e)&&($S.set(e,[n,Object.create(null),Object.create(null),Object.create(null),r,s,a]),!cx)){const r=t.initFocus(setTimeout.bind(WS,Sx.bind(WS,n,0))),i=t.initReconnect(setTimeout.bind(WS,Sx.bind(WS,n,1)));o=()=>{r&&r(),i&&i(),$S.delete(e)}}};return l(),[e,r,l,o]}return[e,$S.get(e)[4]]})(new Map),Cx=YS({onLoadingSlow:HS,onSuccess:HS,onError:HS,onErrorRetry:(e,t,n,r,o)=>{const i=n.errorRetryCount,a=o.retryCount,s=~~((Math.random()+.5)*(1<<(a<8?a:8)))*n.errorRetryInterval;!KS(i)&&a>i||setTimeout(r,s,o)},onDiscarded:HS,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:hx?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:hx?5e3:3e3,compare:function e(t,n){var r,o;if(t===n)return!0;if(t&&n&&(r=t.constructor)===n.constructor){if(r===Date)return t.getTime()===n.getTime();if(r===RegExp)return t.toString()===n.toString();if(r===Array){if((o=t.length)===n.length)for(;o--&&e(t[o],n[o]););return-1===o}if(!r||"object"==typeof t){for(r in o=0,t){if(BS.call(t,r)&&++o&&!BS.call(n,r))return!1;if(!(r in n)||!e(t[r],n[r]))return!1}return Object.keys(n).length===o}}return t!=t&&n!=n},isPaused:()=>!1,cache:xx,mutate:_x,fallback:{}},sx),Ex=H.createContext({}),Tx=ex&&window.__SWR_DEVTOOLS_USE__,Ax=(Tx?window.__SWR_DEVTOOLS_USE__:[]).concat((e=>(t,n,r)=>{const o=n&&((...e)=>{const[r]=vx(t),[,,,o]=$S.get(xx);if(r.startsWith("$inf$"))return n(...e);const i=o[r];return KS(i)?n(...e):(delete o[r],i)});return e(t,o,r)}));Tx&&(window.__SWR_DEVTOOLS_REACT__=W);const Px=W.use||(e=>{switch(e.status){case"pending":throw e;case"fulfilled":return e.value;case"rejected":throw e.reason;default:throw e.status="pending",e.then((t=>{e.status="fulfilled",e.value=t}),(t=>{e.status="rejected",e.reason=t})),e}}),Ox={dedupe:!0},Rx=(Ix=(e,t,n)=>{const{cache:r,compare:o,suspense:i,fallbackData:a,revalidateOnMount:s,revalidateIfStale:l,refreshInterval:u,refreshWhenHidden:c,refreshWhenOffline:d,keepPreviousData:f}=n,[h,p,m,g]=$S.get(r),[y,v]=vx(e),b=H.useRef(!1),w=H.useRef(!1),k=H.useRef(y),S=H.useRef(t),x=H.useRef(n),_=()=>x.current,C=()=>_().isVisible()&&_().isOnline(),[E,T,A,P]=rx(r,y),O=H.useRef({}).current,R=KS(a)?KS(n.fallback)?WS:n.fallback[y]:a,I=(e,t)=>{for(const n in O){const r=n;if("data"===r){if(!o(e[r],t[r])){if(!KS(e[r]))return!1;if(!o(V,t[r]))return!1}}else if(t[r]!==e[r])return!1}return!0},L=H.useMemo((()=>{const e=!!y&&!!t&&(KS(s)?!_().isPaused()&&!i&&!1!==l:s),n=t=>{const n=YS(t);return delete n._k,e?{isValidating:!0,isLoading:!0,...n}:n},r=E(),o=P(),a=n(r),u=r===o?a:n(o);let c=a;return[()=>{const e=n(E());return I(e,c)?(c.data=e.data,c.isLoading=e.isLoading,c.isValidating=e.isValidating,c.error=e.error,c):(c=e,e)},()=>u]}),[r,y]),M=VS.useSyncExternalStore(H.useCallback((e=>A(y,((t,n)=>{I(n,t)||e()}))),[r,y]),L[0],L[1]),D=!b.current,F=h[y]&&h[y].length>0,N=M.data,j=KS(N)?R&&GS(R)?Px(R):R:N,z=M.error,U=H.useRef(j),V=f?KS(N)?KS(U.current)?j:U.current:N:j,B=!(F&&!KS(z))&&(D&&!KS(s)?s:!_().isPaused()&&(i?!KS(j)&&l:KS(j)||l)),$=!!(y&&t&&D&&B),W=KS(M.isValidating)?$:M.isValidating,q=KS(M.isLoading)?$:M.isLoading,K=H.useCallback((async e=>{const t=S.current;if(!y||!t||w.current||_().isPaused())return!1;let r,i,a=!0;const s=e||{},l=!m[y]||!s.dedupe,u=()=>ux?!w.current&&y===k.current&&b.current:y===k.current,c={isValidating:!1,isLoading:!1},d=()=>{T(c)},f=()=>{const e=m[y];e&&e[1]===i&&delete m[y]},g={isValidating:!0};KS(E().data)&&(g.isLoading=!0);try{if(l&&(T(g),n.loadingTimeout&&KS(E().data)&&setTimeout((()=>{a&&u()&&_().onLoadingSlow(y,n)}),n.loadingTimeout),m[y]=[t(v),wx()]),[r,i]=m[y],r=await r,l&&setTimeout(f,n.dedupingInterval),!m[y]||m[y][1]!==i)return l&&u()&&_().onDiscarded(y),!1;c.error=WS;const e=p[y];if(!KS(e)&&(i<=e[0]||i<=e[1]||0===e[1]))return d(),l&&u()&&_().onDiscarded(y),!1;const s=E().data;c.data=o(s,r)?s:r,l&&u()&&_().onSuccess(r,y,n)}catch(e){f();const t=_(),{shouldRetryOnError:n}=t;t.isPaused()||(c.error=e,l&&u()&&(t.onError(e,y,t),(!0===n||QS(n)&&n(e))&&(_().revalidateOnFocus&&_().revalidateOnReconnect&&!C()||t.onErrorRetry(e,y,t,(e=>{const t=h[y];t&&t[0]&&t[0](3,e)}),{retryCount:(s.retryCount||0)+1,dedupe:!0}))))}return a=!1,d(),!0}),[y,r]),Q=H.useCallback(((...e)=>kx(r,k.current,...e)),[]);if(dx((()=>{S.current=t,x.current=n,KS(N)||(U.current=N)})),dx((()=>{if(!y)return;const e=K.bind(WS,Ox);let t=0;if(_().revalidateOnFocus){const e=Date.now();t=e+_().focusThrottleInterval}const n=((e,t,n)=>{const r=t[e]||(t[e]=[]);return r.push(n),()=>{const e=r.indexOf(n);e>=0&&(r[e]=r[r.length-1],r.pop())}})(y,h,((n,r={})=>{if(0==n){const n=Date.now();_().revalidateOnFocus&&n>t&&C()&&(t=n+_().focusThrottleInterval,e())}else if(1==n)_().revalidateOnReconnect&&C()&&e();else{if(2==n)return K();if(3==n)return K(r)}}));return w.current=!1,k.current=y,b.current=!0,T({_k:v}),B&&(m[y]||(KS(j)||cx?e():(e=>{ex&&typeof window.requestAnimationFrame!=ZS?window.requestAnimationFrame(e):setTimeout(e,1)})(e))),()=>{w.current=!0,n()}}),[y]),dx((()=>{let e;function t(){const t=QS(u)?u(E().data):u;t&&-1!==e&&(e=setTimeout(n,t))}function n(){E().error||!c&&!_().isVisible()||!d&&!_().isOnline()?t():K(Ox).then(t)}return t(),()=>{e&&(clearTimeout(e),e=-1)}}),[u,c,d,y]),H.useDebugValue(V),i&&KS(j)&&y){if(!ux&&cx)throw new Error("Fallback data is required when using Suspense in SSR.");S.current=t,x.current=n,w.current=!1;const e=g[y];if(!KS(e)){const t=Q(e);Px(t)}if(!KS(z))throw z;{const e=K(Ox);KS(V)||(e.status="fulfilled",e.value=!0),Px(e)}}return{mutate:Q,get data(){return O.data=!0,V},get error(){return O.error=!0,z},get isValidating(){return O.isValidating=!0,W},get isLoading(){return O.isLoading=!0,q}}},(...e)=>{const t=YS(Cx,H.useContext(Ex)),[n,r,o]=(e=>QS(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}])(e),i=((e,t)=>{const n=YS(e,t);if(t){const{use:r,fallback:o}=e,{use:i,fallback:a}=t;r&&i&&(n.use=r.concat(i)),o&&a&&(n.fallback=YS(o,a))}return n})(t,o);let a=Ix;const{use:s}=i,l=(s||[]).concat(Ax);for(let e=l.length;e--;)a=l[e](a);return a(n,r||i.fetcher||null,i)});var Ix,Lx,Mx;var Dx=t((Mx||(Mx=1,Lx=function(e,t){if("function"!=typeof e)throw new TypeError(`Expected the first argument to be a \`function\`, got \`${typeof e}\`.`);let n,r=0;return function(...o){clearTimeout(n);const i=Date.now(),a=t-(i-r);a<=0?(r=i,e.apply(this,o)):n=setTimeout((()=>{r=Date.now(),e.apply(this,o)}),a)}}),Lx));function Fx(e,t){return null!=t?Dx(e,t):e}function Nx(e){const[t,n]=H.useState(e);return H.useEffect((()=>{IS(e,t)||n(e)}),[e,t]),t}function jx({api:e="/api/chat",id:t,initialMessages:n,initialInput:r="",sendExtraMessageFields:o,onToolCall:i,experimental_prepareRequestBody:a,maxSteps:s=1,streamProtocol:l="data",onResponse:u,onFinish:c,onError:d,credentials:f,headers:h,body:p,generateId:m=hS,fetch:g,keepLastMessageOnError:y=!0,experimental_throttle:v}={}){const[b]=H.useState(m),w=null!=t?t:b,k="string"==typeof e?[e,w]:w,S=Nx(null!=n?n:[]),x=H.useMemo((()=>RS(S)),[S]),{data:_,mutate:C}=Rx([k,"messages"],null,{fallbackData:x}),E=H.useRef(_||[]);H.useEffect((()=>{E.current=_||[]}),[_]);const{data:T,mutate:A}=Rx([k,"streamData"],null),P=H.useRef(T);H.useEffect((()=>{P.current=T}),[T]);const{data:O="ready",mutate:R}=Rx([k,"status"],null),{data:I,mutate:L}=Rx([k,"error"],null),M=H.useRef(null),D=H.useRef({credentials:f,headers:h,body:p});H.useEffect((()=>{D.current={credentials:f,headers:h,body:p}}),[f,h,p]);const F=H.useCallback((async(t,n="generate")=>{var r,f;R("submitted"),L(void 0);const h=RS(t.messages),p=h.length,b=PS(null==(r=h[h.length-1])?void 0:r.toolInvocations);try{const r=new AbortController;M.current=r;const s=Fx(C,v),d=Fx(A,v),p=E.current;s(h,!1);const b=o?h:h.map((({role:e,content:t,experimental_attachments:n,data:r,annotations:o,toolInvocations:i,parts:a})=>({role:e,content:t,...void 0!==n&&{experimental_attachments:n},...void 0!==r&&{data:r},...void 0!==o&&{annotations:o},...void 0!==i&&{toolInvocations:i},...void 0!==a&&{parts:a}}))),k=P.current;await async function({api:e,body:t,streamProtocol:n="data",credentials:r,headers:o,abortController:i,restoreMessagesOnFailure:a,onResponse:s,onUpdate:l,onFinish:u,onToolCall:c,generateId:d,fetch:f=AS(),lastMessage:h,requestType:p="generate"}){var m,g,y;const v="resume"===p?f(`${e}?chatId=${t.id}`,{method:"GET",headers:{"Content-Type":"application/json",...o},signal:null==(m=null==i?void 0:i())?void 0:m.signal,credentials:r}):f(e,{method:"POST",body:JSON.stringify(t),headers:{"Content-Type":"application/json",...o},signal:null==(g=null==i?void 0:i())?void 0:g.signal,credentials:r}),b=await v.catch((e=>{throw a(),e}));if(s)try{await s(b)}catch(e){throw e}if(!b.ok)throw a(),new Error(null!=(y=await b.text())?y:"Failed to fetch the chat response.");if(!b.body)throw new Error("The response body is empty.");switch(n){case"text":return void await async function({stream:e,update:t,onFinish:n,getCurrentDate:r=()=>new Date,generateId:o=hS}){const i={type:"text",text:""},a={id:o(),createdAt:r(),role:"assistant",content:"",parts:[i]};await async function({stream:e,onTextPart:t}){const n=e.pipeThrough(new TextDecoderStream).getReader();for(;;){const{done:e,value:r}=await n.read();if(e)break;await t(r)}}({stream:e,onTextPart:e=>{a.content+=e,i.text+=e,t({message:{...a},data:[],replaceLastMessage:!1})}}),null==n||n(a,{usage:{completionTokens:NaN,promptTokens:NaN,totalTokens:NaN},finishReason:"unknown"})}({stream:b.body,update:l,onFinish:u,generateId:d});case"data":return void await async function({stream:e,update:t,onToolCall:n,onFinish:r,generateId:o=hS,getCurrentDate:i=()=>new Date,lastMessage:a}){var s,l;const u="assistant"===(null==a?void 0:a.role);let c=u?1+(null!=(l=null==(s=a.toolInvocations)?void 0:s.reduce(((e,t)=>{var n;return Math.max(e,null!=(n=t.step)?n:0)}),0))?l:0):0;const d=u?structuredClone(a):{id:o(),createdAt:i(),role:"assistant",content:"",parts:[]};let f,h,p;function m(e,t){const n=d.parts.find((t=>"tool-invocation"===t.type&&t.toolInvocation.toolCallId===e));null!=n?n.toolInvocation=t:d.parts.push({type:"tool-invocation",toolInvocation:t})}const g=[];let y=u?null==a?void 0:a.annotations:void 0;const v={};let b={completionTokens:NaN,promptTokens:NaN,totalTokens:NaN},w="unknown";function k(){const e=[...g];(null==y?void 0:y.length)&&(d.annotations=y);const n={...structuredClone(d),revisionId:o()};t({message:n,data:e,replaceLastMessage:u})}await async function({stream:e,onTextPart:t,onReasoningPart:n,onReasoningSignaturePart:r,onRedactedReasoningPart:o,onSourcePart:i,onFilePart:a,onDataPart:s,onErrorPart:l,onToolCallStreamingStartPart:u,onToolCallDeltaPart:c,onToolCallPart:d,onToolResultPart:f,onMessageAnnotationsPart:h,onFinishMessagePart:p,onFinishStepPart:m,onStartStepPart:g}){const y=e.getReader(),v=new TextDecoder,b=[];let w=0;for(;;){const{value:e}=await y.read();if(e&&(b.push(e),w+=e.length,e[e.length-1]!==ES))continue;if(0===b.length)break;const k=TS(b,w);w=0;const S=v.decode(k,{stream:!0}).split("\n").filter((e=>""!==e)).map(CS);for(const{type:e,value:y}of S)switch(e){case"text":await(null==t?void 0:t(y));break;case"reasoning":await(null==n?void 0:n(y));break;case"reasoning_signature":await(null==r?void 0:r(y));break;case"redacted_reasoning":await(null==o?void 0:o(y));break;case"file":await(null==a?void 0:a(y));break;case"source":await(null==i?void 0:i(y));break;case"data":await(null==s?void 0:s(y));break;case"error":await(null==l?void 0:l(y));break;case"message_annotations":await(null==h?void 0:h(y));break;case"tool_call_streaming_start":await(null==u?void 0:u(y));break;case"tool_call_delta":await(null==c?void 0:c(y));break;case"tool_call":await(null==d?void 0:d(y));break;case"tool_result":await(null==f?void 0:f(y));break;case"finish_message":await(null==p?void 0:p(y));break;case"finish_step":await(null==m?void 0:m(y));break;case"start_step":await(null==g?void 0:g(y));break;default:throw new Error(`Unknown stream part type: ${e}`)}}}({stream:e,onTextPart(e){null==f?(f={type:"text",text:e},d.parts.push(f)):f.text+=e,d.content+=e,k()},onReasoningPart(e){var t;null==p?(p={type:"text",text:e},null!=h&&h.details.push(p)):p.text+=e,null==h?(h={type:"reasoning",reasoning:e,details:[p]},d.parts.push(h)):h.reasoning+=e,d.reasoning=(null!=(t=d.reasoning)?t:"")+e,k()},onReasoningSignaturePart(e){null!=p&&(p.signature=e.signature)},onRedactedReasoningPart(e){null==h&&(h={type:"reasoning",reasoning:"",details:[]},d.parts.push(h)),h.details.push({type:"redacted",data:e.data}),p=void 0,k()},onFilePart(e){d.parts.push({type:"file",mimeType:e.mimeType,data:e.data}),k()},onSourcePart(e){d.parts.push({type:"source",source:e}),k()},onToolCallStreamingStartPart(e){null==d.toolInvocations&&(d.toolInvocations=[]),v[e.toolCallId]={text:"",step:c,toolName:e.toolName,index:d.toolInvocations.length};const t={state:"partial-call",step:c,toolCallId:e.toolCallId,toolName:e.toolName,args:void 0};d.toolInvocations.push(t),m(e.toolCallId,t),k()},onToolCallDeltaPart(e){const t=v[e.toolCallId];t.text+=e.argsTextDelta;const{value:n}=function(e){if(void 0===e)return{value:void 0,state:"undefined-input"};let t=mS({text:e});return t.success?{value:t.value,state:"successful-parse"}:(t=mS({text:kS(e)}),t.success?{value:t.value,state:"repaired-parse"}:{value:void 0,state:"failed-parse"})}(t.text),r={state:"partial-call",step:t.step,toolCallId:e.toolCallId,toolName:t.toolName,args:n};d.toolInvocations[t.index]=r,m(e.toolCallId,r),k()},async onToolCallPart(e){const t={state:"call",step:c,...e};if(null!=v[e.toolCallId]?d.toolInvocations[v[e.toolCallId].index]=t:(null==d.toolInvocations&&(d.toolInvocations=[]),d.toolInvocations.push(t)),m(e.toolCallId,t),k(),n){const t=await n({toolCall:e});if(null!=t){const n={state:"result",step:c,...e,result:t};d.toolInvocations[d.toolInvocations.length-1]=n,m(e.toolCallId,n),k()}}},onToolResultPart(e){const t=d.toolInvocations;if(null==t)throw new Error("tool_result must be preceded by a tool_call");const n=t.findIndex((t=>t.toolCallId===e.toolCallId));if(-1===n)throw new Error("tool_result must be preceded by a tool_call with the same toolCallId");const r={...t[n],state:"result",...e};t[n]=r,m(e.toolCallId,r),k()},onDataPart(e){g.push(...e),k()},onMessageAnnotationsPart(e){null==y?y=[...e]:y.push(...e),k()},onFinishStepPart(e){c+=1,f=e.isContinued?f:void 0,h=void 0,p=void 0},onStartStepPart(e){u||(d.id=e.messageId),d.parts.push({type:"step-start"}),k()},onFinishMessagePart(e){w=e.finishReason,null!=e.usage&&(b=function({promptTokens:e,completionTokens:t}){return{promptTokens:e,completionTokens:t,totalTokens:e+t}}(e.usage))},onErrorPart(e){throw new Error(e)}}),null==r||r({message:d,finishReason:w,usage:b})}({stream:b.body,update:l,lastMessage:h,onToolCall:c,onFinish({message:e,finishReason:t,usage:n}){u&&null!=e&&u(e,{usage:n,finishReason:t})},generateId:d});default:throw new Error(`Unknown stream protocol: ${n}`)}}({api:e,body:null!=(f=null==a?void 0:a({id:w,messages:h,requestData:t.data,requestBody:t.body}))?f:{id:w,messages:b,data:t.data,...D.current.body,...t.body},streamProtocol:l,credentials:D.current.credentials,headers:{...D.current.headers,...t.headers},abortController:()=>M.current,restoreMessagesOnFailure(){y||s(p,!1)},onResponse:u,onUpdate({message:e,data:t,replaceLastMessage:n}){R("streaming"),s([...n?h.slice(0,h.length-1):h,e],!1),(null==t?void 0:t.length)&&d([...null!=k?k:[],...t],!1)},onToolCall:i,onFinish:c,generateId:m,fetch:g,lastMessage:h[h.length-1],requestType:n}),M.current=null,R("ready")}catch(e){if("AbortError"===e.name)return M.current=null,R("ready"),null;d&&e instanceof Error&&d(e),L(e),R("error")}const k=E.current;(function({originalMaxToolInvocationStep:e,originalMessageCount:t,maxSteps:n,messages:r}){var o;const i=r[r.length-1];return n>1&&null!=i&&(r.length>t||PS(i.toolInvocations)!==e)&&MS(i)&&(null!=(o=PS(i.toolInvocations))?o:0)<n})({originalMaxToolInvocationStep:b,originalMessageCount:p,maxSteps:s,messages:k})&&await F({messages:k})}),[C,R,e,D,u,c,d,L,A,P,l,o,a,i,s,E,M,m,g,y,v,w]),N=H.useCallback((async(e,{data:t,headers:n,body:r,experimental_attachments:o=e.experimental_attachments}={})=>{var i,a;const s=await LS(o),l=E.current.concat({...e,id:null!=(i=e.id)?i:m(),createdAt:null!=(a=e.createdAt)?a:new Date,experimental_attachments:s.length>0?s:void 0,parts:OS(e)});return F({messages:l,headers:n,body:r,data:t})}),[F,m]),j=H.useCallback((async({data:e,headers:t,body:n}={})=>{const r=E.current;if(0===r.length)return null;const o=r[r.length-1];return F({messages:"assistant"===o.role?r.slice(0,-1):r,headers:t,body:n,data:e})}),[F]),z=H.useCallback((()=>{M.current&&(M.current.abort(),M.current=null)}),[]),U=H.useCallback((async()=>{const e=E.current;F({messages:e},"resume")}),[F]),V=H.useCallback((e=>{"function"==typeof e&&(e=e(E.current));const t=RS(e);C(t,!1),E.current=t}),[C]),B=H.useCallback((e=>{"function"==typeof e&&(e=e(P.current)),A(e,!1),P.current=e}),[A]),[$,W]=H.useState(r),q=H.useCallback((async(e,t={},n)=>{var r;if(null==(r=null==e?void 0:e.preventDefault)||r.call(e),!$&&!t.allowEmptySubmit)return;n&&(D.current={...D.current,...n});const o=await LS(t.experimental_attachments),i={messages:E.current.concat({id:m(),createdAt:new Date,role:"user",content:$,experimental_attachments:o.length>0?o:void 0,parts:[{type:"text",text:$}]}),headers:t.headers,body:t.body,data:t.data};F(i),W("")}),[$,m,F]),K=H.useCallback((({toolCallId:e,result:t})=>{const n=E.current;(function({messages:e,toolCallId:t,toolResult:n}){var r;const o=e[e.length-1],i=o.parts.find((e=>"tool-invocation"===e.type&&e.toolInvocation.toolCallId===t));if(null==i)return;const a={...i.toolInvocation,state:"result",result:n};i.toolInvocation=a,o.toolInvocations=null==(r=o.toolInvocations)?void 0:r.map((e=>e.toolCallId===t?a:e))})({messages:n,toolCallId:e,toolResult:t}),C([...n.slice(0,n.length-1),{...n[n.length-1]}],!1),"submitted"!==O&&"streaming"!==O&&MS(n[n.length-1])&&F({messages:n})}),[C,O,F]);return{messages:null!=_?_:[],id:w,setMessages:V,data:T,setData:B,error:I,append:N,reload:j,stop:z,experimental_resume:U,input:$,setInput:W,handleInputChange:e=>{W(e.target.value)},handleSubmit:q,isLoading:"submitted"===O||"streaming"===O,status:O,addToolResult:K}}const zx=In.div(["width:calc(100% - ",");margin:"," "," ",";padding:",";background:",";border:1px solid ",";border-radius:",";box-shadow:",";position:relative;box-sizing:border-box;flex-shrink:0;@media (max-width:640px){width:calc(100% - ",");margin:"," "," ",";padding:",";}"],jc,Fc,Fc,Dc,Nc,(e=>e.$userBgColor),(e=>e.$userBgColor),$c,kc,Nc,Fc,Dc,Dc,Fc),Ux=In.button(["position:absolute;top:",";right:",";width:20px;height:20px;border:none;background:","80;border-radius:",";cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:12px;color:",";transition:all 0.2s ease-in-out;&:hover{background:",";transform:scale(1.1);}&:active{transform:scale(0.95);}"],Dc,Dc,(e=>e.$userBgColor),Hc,Uc.text.inverted,(e=>e.$userBgColor)),Vx=In.p(["font-size:0.75rem;color:",";margin-bottom:",";margin-right:",";line-height:1.4;text-align:center;@media (max-width:640px){font-size:0.7rem;margin-right:",";margin-bottom:",";}"],Uc.text.primary,Fc,jc,Nc,Fc),Bx=In.form(["display:flex;flex-direction:column;gap:",";"],Fc),$x=In.div(["display:flex;gap:",";align-items:flex-end;@media (max-width:480px){flex-direction:column;align-items:stretch;gap:",";}"],Fc,Nc),Hx=In.input(["flex:1;padding:"," ",";border:1px solid ",";border-radius:",";font-size:0.75rem;color:",";background-color:",";transition:all 0.2s ease-in-out;&:focus{outline:none;border-color:",";box-shadow:0 0 0 2px ","30;}&::placeholder{color:",";}"],Fc,Nc,(e=>e.$hasError?e.$userBgColor:Uc.border.light),Vc,Uc.text.primary,Uc.surface.elevated,(e=>e.$userBgColor),(e=>e.$userBgColor),Uc.text.secondary),Wx=In.button(["padding:"," ",";background:",";color:",";border:none;border-radius:",";font-size:0.75rem;font-weight:600;cursor:pointer;transition:all 0.2s ease-in-out;white-space:nowrap;min-width:100px;&:hover:not(:disabled){background:","E6;transform:translateY(-1px);box-shadow:",";}&:active:not(:disabled){transform:translateY(0);}&:disabled{opacity:0.6;cursor:not-allowed;transform:none;}@media (max-width:480px){width:100%;min-width:auto;}"],Fc,jc,(e=>e.$userBgColor),Uc.text.inverted,Vc,(e=>e.$userBgColor),wc),qx=In.span(["font-size:0.7rem;color:",";text-align:center;margin-top:",";"],(e=>e.$userBgColor),Dc),Kx=In.div(["padding:",";background:","20;border:1px solid ","40;border-radius:",";color:",";font-size:0.75rem;font-weight:500;text-align:center;"],Fc,(e=>e.$userBgColor),(e=>e.$userBgColor),Vc,(e=>e.$userBgColor)),Qx=({contactId:e,agent:t,onComplete:n,onClose:r,updateContact:o,isPending:i=!1,isSuccess:a=!1,error:s})=>{const[l,u]=H.useState(""),[c,d]=H.useState("");H.useEffect((()=>{a&&l&&n?.(l)}),[a,n,l]),H.useEffect((()=>{s&&d("Une erreur s'est produite. Veuillez réessayer.")}),[s]);const f=t.branding.bubble.userBgColor;return a?b.jsx(zx,{$userBgColor:f,children:b.jsx(Kx,{$userBgColor:f,children:"Merci ! Votre email a été enregistré avec succès."})}):b.jsxs(zx,{$userBgColor:f,children:[b.jsx(Ux,{onClick:()=>r?.(),title:"Fermer",$userBgColor:f,children:"×"}),b.jsx(Vx,{children:"📧 Pour vous offrir un meilleur service, j'aimerais connaître votre adresse email"}),b.jsxs(Bx,{onSubmit:t=>{t.preventDefault(),d(""),l.trim()?(e=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e))(l)?o?.({contactId:e,email:l}):d("Veuillez entrer une adresse email valide"):d("Veuillez entrer votre adresse email")},children:[b.jsxs($x,{children:[b.jsx(Hx,{id:"email",type:"email",placeholder:"mon@email.com",value:l,onChange:e=>u(e.target.value),$hasError:!!c,$userBgColor:f}),b.jsx(Wx,{type:"submit",$disabled:i,$userBgColor:f,children:i?"Envoi...":"Confirmer"})]}),c&&b.jsx(qx,{$userBgColor:f,children:c})]})]})},Yx=In(vc.div)(["position:fixed;bottom:",";right:",";background-color:",";border:1px solid ",";border-radius:",";box-shadow:",";z-index:9999;display:flex;flex-direction:column;@media (max-width:640px){width:90vw !important;height:90vh !important;max-height:90vh !important;bottom:5vh;right:5vw;left:5vw;}"],zc,zc,Uc.surface.elevated,Uc.border.medium,Vc,kc);function Gx({agent:e,appInformation:t,contactId:n}){const{isOpen:r,setIsOpen:o}=H.useContext(Mn),{createContact:i}=(()=>{const{mutate:e}=Ok({mutationFn:Vk.createContact,onSuccess:e=>{console.log(e)},onError:e=>{console.error(e)}});return{createContact:e}})(),{updateContact:a,isPending:s,isSuccess:l,error:u}=(()=>{const{mutate:e,isPending:t,isSuccess:n,error:r}=Ok({mutationFn:Vk.updateContact,onSuccess:e=>{console.log("Contact updated successfully:",e)},onError:e=>{console.error("Failed to update contact:",e)}});return{updateContact:e,isPending:t,isSuccess:n,error:r}})(),[c,d]=H.useState("conversation"),[f,h]=H.useState(!1),p=e.faqs&&e.faqs.length>0,m=(e=>Zb({delay:e.uiOptions.delayDisplayChat,shouldActivate:!0}))(e),[g,y]=H.useState(!1),[v,w]=H.useState(e),k=!g&&v.requestedFields?.includes("email"),S=jx({api:(x=`/chat/${v.id}?contactId=${n}`,`${Rk}${x}`),maxSteps:3});var x;const{trackedMessages:_,unreadCount:C}=function(e,t){const[n,r]=H.useState([]),o=H.useRef(t);H.useEffect((()=>{r((t=>e.map((e=>{const n=t.find((t=>t.id===e.id));return{...e,isRead:n?.isRead??!1}}))))}),[e]),H.useEffect((()=>{!0===o.current&&!1===t&&r((e=>e.map((e=>({...e,isRead:!0}))))),o.current=t}),[t]);const i=n.filter((e=>!e.isRead&&"assistant"===e.role)).length;return{trackedMessages:n,unreadCount:i}}(S.messages,r),E=v.uiOptions.delayDisplayMessage+6e3;return Zb({delay:E,shouldActivate:0===S.messages.length&&0!==E,onActivate:()=>{S.setMessages([{id:"initial-message",role:"assistant",content:"Comment puis-je vous aider ?"}])},dependencies:[S.messages.length,S.setMessages]}),m?r?b.jsxs(Yx,{animate:{width:f?"650px":"500px",height:f?"750px":"650px"},transition:{type:"spring",stiffness:200,damping:25,duration:.5},children:[b.jsx("div",{style:{flexShrink:0},children:b.jsx(Xb,{agent:v,setIsOpen:o,activeTab:c,onTabChange:d,showTabs:p,isExpanded:f,onToggleExpanded:()=>h(!f)})}),b.jsx("div",{style:{flex:1,minHeight:0,display:"flex",flexDirection:"column"},children:"conversation"!==c&&p?b.jsx(Uk,{faqs:v.faqs,visitorId:n}):b.jsx(Cb,{chatData:S,agent:v,appInformation:t,children:k&&b.jsx(Qx,{contactId:n,agent:v,onComplete:e=>{y(!0),w((t=>({...t,contact:{email:e},requestedFields:t.requestedFields?.filter((e=>"email"!==e))})))},onClose:()=>y(!0),updateContact:a,isPending:s,isSuccess:l,error:u})})})]}):b.jsx("div",{children:b.jsx(hw,{agent:v,onClickOpen:()=>{i({contactId:n,agentId:v.id}),o(!0)},options:{showNotification:v.uiOptions?.showNotification},unreadCount:C,unreadMessages:_.filter((e=>"assistant"===e.role&&!e.isRead))})}):null}const Jx=function(e,t){if("function"==typeof e)return function(){return e(arguments)?t.apply(this,arguments):e=>t(e,...arguments)};switch(e){case 0:case 1:throw new RangeError(`Invalid arity ${e}`);case 2:return function(e,n){return arguments.length>=2?t(e,n):n=>t(n,e)};case 3:return function(e,n,r){return arguments.length>=3?t(e,n,r):r=>t(r,e,n)};case 4:return function(e,n,r,o){return arguments.length>=4?t(e,n,r,o):o=>t(o,e,n,r)};case 5:return function(e,n,r,o,i){return arguments.length>=5?t(e,n,r,o,i):i=>t(i,e,n,r,o)};default:return function(){if(arguments.length>=e)return t.apply(this,arguments);const n=arguments;return e=>t(e,...n)}}},Xx=e=>e,Zx=e=>()=>e,e_=Zx(!0),t_=Zx(!1),n_=Zx(void 0),r_=n_;function o_(e,t,n,r,o,i,a,s,l){switch(arguments.length){case 1:return e;case 2:return t(e);case 3:return n(t(e));case 4:return r(n(t(e)));case 5:return o(r(n(t(e))));case 6:return i(o(r(n(t(e)))));case 7:return a(i(o(r(n(t(e))))));case 8:return s(a(i(o(r(n(t(e)))))));case 9:return l(s(a(i(o(r(n(t(e))))))));default:{let e=arguments[0];for(let t=1;t<arguments.length;t++)e=arguments[t](e);return e}}}const i_=e=>(t,n)=>t===n||e(t,n),a_=(e,t)=>e===t,s_=a_,l_=Jx(2,((e,t)=>i_(((n,r)=>e(t(n),t(r)))))),u_=l_(s_,(e=>e.getTime())),c_="effect/GlobalValue";let d_;const f_=(e,t)=>(d_||(globalThis[c_]??=new Map,d_=globalThis[c_]),d_.has(e)||d_.set(e,t()),d_.get(e)),h_=e=>"string"==typeof e,p_=e=>"number"==typeof e,m_=e=>"boolean"==typeof e,g_=e=>"bigint"==typeof e,y_=e=>"symbol"==typeof e,v_=e=>"function"==typeof e,b_=e=>void 0===e,w_=e=>!1,k_=e=>"object"==typeof e&&null!==e,S_=e=>k_(e)||v_(e),x_=Jx(2,((e,t)=>S_(e)&&t in e)),__=Jx(2,((e,t)=>x_(e,"_tag")&&e._tag===t)),C_=e=>null==e,E_=e=>null!=e,T_=e=>e instanceof Date,A_=e=>x_(e,Symbol.iterator),P_=e=>`BUG: ${e} - please report an issue at https://github.com/Effect-TS/effect/issues`;let O_=class e{self;called=!1;constructor(e){this.self=e}next(e){return this.called?{value:e,done:!0}:(this.called=!0,{value:this.self,done:!1})}return(e){return{value:e,done:!0}}throw(e){throw e}[Symbol.iterator](){return new e(this.self)}};class R_{_state;constructor(e,t,n,r){return C_(t)&&C_(e)?(t=4294967295*Math.random()>>>0,e=0):C_(t)&&(t=e,e=0),C_(r)&&C_(n)?(r=this._state?this._state[3]:4150755663,n=this._state?this._state[2]:335903614):C_(r)&&(r=n,n=0),this._state=new Int32Array([0,0,n>>>0,(1|(r||0))>>>0]),this._next(),I_(this._state,this._state[0],this._state[1],e>>>0,t>>>0),this._next(),this}getState(){return[this._state[0],this._state[1],this._state[2],this._state[3]]}setState(e){this._state[0]=e[0],this._state[1]=e[1],this._state[2]=e[2],this._state[3]=1|e[3]}integer(e){return Math.round(this.number()*Number.MAX_SAFE_INTEGER)%e}number(){return(1*(67108863&this._next())*134217728+1*(134217727&this._next()))/9007199254740992}_next(){const e=this._state[0]>>>0,t=this._state[1]>>>0;!function(e,t,n,r,o){let i=32557*(n>>>16)>>>0,a=19605*(65535&n)>>>0,s=32557*(65535&n)>>>0,l=19605*(n>>>16)+((a>>>16)+(i>>>16))>>>0;a=a<<16>>>0,s=s+a>>>0,s>>>0<a>>>0&&(l=l+1>>>0),i=i<<16>>>0,s=s+i>>>0,s>>>0<i>>>0&&(l=l+1>>>0),l=l+Math.imul(n,1481765933)>>>0,l=l+Math.imul(t,o)>>>0,e[0]=l,e[1]=s}(this._state,e,t,0,1284865837),I_(this._state,this._state[0],this._state[1],this._state[2],this._state[3]);let n=e>>>18,r=(t>>>18|e<<14)>>>0;n=(n^e)>>>0,r=(r^t)>>>0;const o=(r>>>27|n<<5)>>>0,i=e>>>27;return(o>>>i|o<<((-i>>>0&31)>>>0))>>>0}}function I_(e,t,n,r,o){let i=t+r>>>0;const a=n+o>>>0;a>>>0<n>>>0&&(i=i+1|0),e[0]=i,e[1]=a}const L_=Symbol.for("effect/Utils/YieldWrap");class M_{#W;constructor(e){this.#W=e}[L_](){return this.#W}}const D_=f_("effect/Utils/isStructuralRegion",(()=>({enabled:!1,tester:void 0}))),F_={effect_internal_function:e=>e()},N_=!0===F_.effect_internal_function((()=>(new Error).stack))?.includes("effect_internal_function")?F_.effect_internal_function:e=>{try{return e()}finally{}},j_=f_(Symbol.for("effect/Hash/randomHashCache"),(()=>new WeakMap)),z_=Symbol.for("effect/Hash"),U_=e=>{if(!0===D_.enabled)return 0;switch(typeof e){case"number":return W_(e);case"bigint":return q_(e.toString(10));case"boolean":case"symbol":return q_(String(e));case"string":return q_(e);case"undefined":return q_("undefined");case"function":case"object":return null===e?q_("null"):e instanceof Date?U_(e.toISOString()):e instanceof URL?U_(e.href):H_(e)?e[z_]():V_(e);default:throw new Error(`BUG: unhandled typeof ${typeof e} - please report an issue at https://github.com/Effect-TS/effect/issues`)}},V_=e=>(j_.has(e)||j_.set(e,W_(Math.floor(Math.random()*Number.MAX_SAFE_INTEGER))),j_.get(e)),B_=e=>t=>53*t^e,$_=e=>3221225471&e|e>>>1&1073741824,H_=e=>x_(e,z_),W_=e=>{if(e!=e||e===1/0)return 0;let t=0|e;for(t!==e&&(t^=4294967295*e);e>4294967295;)t^=e/=4294967295;return $_(t)},q_=e=>{let t=5381,n=e.length;for(;n;)t=33*t^e.charCodeAt(--n);return $_(t)},K_=e=>((e,t)=>{let n=12289;for(let r=0;r<t.length;r++)n^=o_(q_(t[r]),B_(U_(e[t[r]])));return $_(n)})(e,Object.keys(e)),Q_=e=>{let t=6151;for(let n=0;n<e.length;n++)t=o_(t,B_(U_(e[n])));return $_(t)},Y_=function(){if(1===arguments.length){const e=arguments[0];return t=>(Object.defineProperty(e,z_,{value:()=>t,enumerable:!1}),t)}const e=arguments[0],t=arguments[1];return Object.defineProperty(e,z_,{value:()=>t,enumerable:!1}),t},G_=Symbol.for("effect/Equal");function J_(){return 1===arguments.length?e=>X_(e,arguments[0]):X_(arguments[0],arguments[1])}function X_(e,t){if(e===t)return!0;const n=typeof e;if(n!==typeof t)return!1;if("object"===n||"function"===n){if(null!==e&&null!==t){if(Z_(e)&&Z_(t))return!(U_(e)!==U_(t)||!e[G_](t))||!(!D_.enabled||!D_.tester)&&D_.tester(e,t);if(e instanceof Date&&t instanceof Date)return e.toISOString()===t.toISOString();if(e instanceof URL&&t instanceof URL)return e.href===t.href}if(D_.enabled){if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every(((e,n)=>X_(e,t[n])));if(Object.getPrototypeOf(e)===Object.prototype&&Object.getPrototypeOf(e)===Object.prototype){const n=Object.keys(e),r=Object.keys(t);if(n.length===r.length){for(const r of n)if(!(r in t)||!X_(e[r],t[r]))return!!D_.tester&&D_.tester(e,t);return!0}}return!!D_.tester&&D_.tester(e,t)}}return!(!D_.enabled||!D_.tester)&&D_.tester(e,t)}const Z_=e=>x_(e,G_),eC=()=>J_,tC=Symbol.for("nodejs.util.inspect.custom"),nC=e=>{try{if(x_(e,"toJSON")&&v_(e.toJSON)&&0===e.toJSON.length)return e.toJSON();if(Array.isArray(e))return e.map(nC)}catch{return{}}return uC(e)},rC=e=>JSON.stringify(e,null,2),oC=(e,t=2)=>{if("string"==typeof e)return e;try{return"object"==typeof e?iC(e,t):String(e)}catch{return String(e)}},iC=(e,t)=>{let n=[];const r=JSON.stringify(e,((e,t)=>"object"==typeof t&&null!==t?n.includes(t)?void 0:n.push(t)&&(void 0!==lC.fiberRefs&&sC(t)?t[aC](lC.fiberRefs):t):t),t);return n=void 0,r},aC=Symbol.for("effect/Inspectable/Redactable"),sC=e=>"object"==typeof e&&null!==e&&aC in e,lC=f_("effect/Inspectable/redactableState",(()=>({fiberRefs:void 0}))),uC=e=>sC(e)&&void 0!==lC.fiberRefs?e[aC](lC.fiberRefs):e,cC=(e,t)=>{switch(t.length){case 0:return e;case 1:return t[0](e);case 2:return t[1](t[0](e));case 3:return t[2](t[1](t[0](e)));case 4:return t[3](t[2](t[1](t[0](e))));case 5:return t[4](t[3](t[2](t[1](t[0](e)))));case 6:return t[5](t[4](t[3](t[2](t[1](t[0](e))))));case 7:return t[6](t[5](t[4](t[3](t[2](t[1](t[0](e)))))));case 8:return t[7](t[6](t[5](t[4](t[3](t[2](t[1](t[0](e))))))));case 9:return t[8](t[7](t[6](t[5](t[4](t[3](t[2](t[1](t[0](e)))))))));default:{let n=e;for(let e=0,r=t.length;e<r;e++)n=t[e](n);return n}}},dC="Async",fC="Commit",hC="Failure",pC="OnFailure",mC="OnSuccess",gC="OnSuccessAndFailure",yC="Success",vC="Sync",bC="Tag",wC="UpdateRuntimeFlags",kC="While",SC="Iterator",xC="WithRuntime",_C="Yield",CC="RevertFlags",EC=Symbol.for("effect/Effect"),TC=Symbol.for("effect/Stream"),AC=Symbol.for("effect/Sink"),PC=Symbol.for("effect/Channel"),OC={_R:e=>e,_E:e=>e,_A:e=>e,_V:"3.17.2"},RC={[EC]:OC,[TC]:OC,[AC]:{_A:e=>e,_In:e=>e,_L:e=>e,_E:e=>e,_R:e=>e},[PC]:{_Env:e=>e,_InErr:e=>e,_InElem:e=>e,_InDone:e=>e,_OutErr:e=>e,_OutElem:e=>e,_OutDone:e=>e},[G_](e){return this===e},[z_](){return Y_(this,V_(this))},[Symbol.iterator](){return new O_(new M_(this))},pipe(){return cC(this,arguments)}},IC={[z_](){return Y_(this,K_(this))},[G_](e){const t=Object.keys(this),n=Object.keys(e);if(t.length!==n.length)return!1;for(const n of t)if(!(n in e)||!J_(this[n],e[n]))return!1;return!0}},LC={...RC,_op:fC},MC={...LC,...IC},DC=(()=>{function e(){}return e.prototype=LC,e})(),FC=Symbol.for("effect/Option"),NC={...RC,[FC]:{_A:e=>e},[tC](){return this.toJSON()},toString(){return rC(this.toJSON())}},jC=Object.assign(Object.create(NC),{_tag:"Some",_op:"Some",[G_](e){return VC(e)&&$C(e)&&J_(this.value,e.value)},[z_](){return Y_(this,B_(U_(this._tag))(U_(this.value)))},toJSON(){return{_id:"Option",_tag:this._tag,value:nC(this.value)}}}),zC=U_("None"),UC=Object.assign(Object.create(NC),{_tag:"None",_op:"None",[G_]:e=>VC(e)&&BC(e),[z_]:()=>zC,toJSON(){return{_id:"Option",_tag:this._tag}}}),VC=e=>x_(e,FC),BC=e=>"None"===e._tag,$C=e=>"Some"===e._tag,HC=Object.create(UC),WC=e=>{const t=Object.create(jC);return t.value=e,t},qC=Symbol.for("effect/Either"),KC={...RC,[qC]:{_R:e=>e},[tC](){return this.toJSON()},toString(){return rC(this.toJSON())}},QC=Object.assign(Object.create(KC),{_tag:"Right",_op:"Right",[G_](e){return GC(e)&&XC(e)&&J_(this.right,e.right)},[z_](){return B_(U_(this._tag))(U_(this.right))},toJSON(){return{_id:"Either",_tag:this._tag,right:nC(this.right)}}}),YC=Object.assign(Object.create(KC),{_tag:"Left",_op:"Left",[G_](e){return GC(e)&&JC(e)&&J_(this.left,e.left)},[z_](){return B_(U_(this._tag))(U_(this.left))},toJSON(){return{_id:"Either",_tag:this._tag,left:nC(this.left)}}}),GC=e=>x_(e,qC),JC=e=>"Left"===e._tag,XC=e=>"Right"===e._tag,ZC=e=>{const t=Object.create(QC);return t.right=e,t},eE=e=>{const t=Object.create(YC);return t.left=e,t},tE=GC,nE=JC,rE=XC,oE=Jx(2,((e,t)=>nE(e)?eE(t(e.left)):ZC(e.right))),iE=Jx(2,((e,t)=>rE(e)?ZC(t(e.right)):eE(e.left))),aE=Jx(2,((e,{onLeft:t,onRight:n})=>nE(e)?t(e.left):n(e.right))),sE=aE({onLeft:Xx,onRight:Xx}),lE=Jx(2,((e,t)=>{if(rE(e))return e.right;throw t(e.left)})),uE=lE((()=>new Error("getOrThrow called on a Left"))),cE=e=>e.length>0,dE=e=>(t,n)=>t===n?0:e(t,n),fE=dE(((e,t)=>e<t?-1:1)),hE=Jx(2,((e,t)=>dE(((n,r)=>e(t(n),t(r)))))),pE=()=>HC,mE=WC,gE=BC,yE=$C,vE=Jx(2,((e,{onNone:t,onSome:n})=>gE(e)?t():n(e.value))),bE=Jx(2,((e,t)=>gE(e)?t():e.value)),wE=Jx(2,((e,t)=>gE(e)?t():e)),kE=Jx(2,((e,t)=>gE(e)?mE(t()):e)),SE=e=>null==e?pE():mE(e),xE=bE(n_),_E=Jx(2,((e,t)=>gE(e)?pE():mE(t(e.value)))),CE=Jx(2,((e,t)=>gE(e)?pE():t(e.value))),EE=Jx(2,((e,t)=>gE(e)?pE():SE(t(e.value)))),TE=(e=>Jx(2,((t,n)=>!gE(t)&&e(t.value,n))))(eC()),AE=Jx(2,((e,t)=>!gE(e)&&t(e.value))),PE=(...e)=>e,OE=e=>new Array(e),RE=Jx(2,((e,t)=>{const n=Math.max(1,Math.floor(e)),r=new Array(n);for(let e=0;e<n;e++)r[e]=t(e);return r})),IE=e=>Array.isArray(e)?e:Array.from(e),LE=Jx(2,((e,{onEmpty:t,onNonEmpty:n})=>zE(e)?n(HE(e),qE(e)):t())),ME=Jx(2,((e,t)=>[t,...e])),DE=Jx(2,((e,t)=>[...e,t])),FE=Jx(2,((e,t)=>IE(e).concat(IE(t)))),NE=Array.isArray,jE=cE,zE=cE,UE=(e,t)=>e<0||e>=t.length,VE=Jx(2,((e,t)=>{const n=Math.floor(t);return UE(n,e)?pE():mE(e[n])})),BE=Jx(2,((e,t)=>{const n=Math.floor(t);if(UE(n,e))throw new Error(`Index ${n} out of bounds`);return e[n]})),$E=VE(0),HE=BE(0),WE=e=>e[e.length-1],qE=e=>e.slice(1),KE=Jx(2,((e,t)=>eT(e,((e,t)=>{let n=0;for(const r of e){if(!t(r,n))break;n++}return n})(e,t)))),QE=Jx(2,((e,t)=>{const n=IE(e);return n.slice(((e,t)=>Math.floor(Math.min(Math.max(0,e),t.length)))(t,n),n.length)})),YE=e=>Array.from(e).reverse(),GE=Jx(2,((e,t)=>{const n=Array.from(e);return n.sort(t),n})),JE=Jx(2,((e,t)=>XE(e,t,PE))),XE=Jx(3,((e,t,n)=>{const r=IE(e),o=IE(t);if(zE(r)&&zE(o)){const e=[n(HE(r),HE(o))],t=Math.min(r.length,o.length);for(let i=1;i<t;i++)e[i]=n(r[i],o[i]);return e}return[]})),ZE=eC(),eT=Jx(2,((e,t)=>{const n=Array.from(e),r=Math.floor(t);return zE(n)?r>=1?tT(n,r):[[],n]:[n,[]]})),tT=Jx(2,((e,t)=>{const n=Math.max(1,Math.floor(t));return n>=e.length?[nT(e),[]]:[ME(e.slice(1,n),HE(e)),e.slice(n)]})),nT=e=>e.slice(),rT=Jx(3,((e,t,n)=>{const r=IE(e),o=IE(t);return zE(r)?zE(o)?hT(n)(FE(r,o)):r:o})),oT=Jx(2,((e,t)=>rT(e,t,ZE))),iT=e=>[e],aT=Jx(2,((e,t)=>e.map(t))),sT=Jx(2,((e,t)=>{if((e=>0===e.length)(e))return[];const n=[];for(let r=0;r<e.length;r++){const o=t(e[r],r);for(let e=0;e<o.length;e++)n.push(o[e])}return n})),lT=sT(Xx),uT=Jx(2,((e,t)=>{const n=IE(e),r=[];for(let e=0;e<n.length;e++){const o=t(n[e],e);yE(o)&&r.push(o.value)}return r})),cT=Jx(3,((e,t,n)=>IE(e).reduce(((e,t,r)=>n(e,t,r)),t))),dT=(e,t)=>{const n=[];let r,o=e;for(;yE(r=t(o));){const[e,t]=r.value;n.push(e),o=t}return n},fT=e=>i_(((t,n)=>{if(t.length!==n.length)return!1;for(let r=0;r<t.length;r++)if(!e(t[r],n[r]))return!1;return!0})),hT=Jx(2,((e,t)=>{const n=IE(e);if(zE(n)){const e=[HE(n)],r=qE(n);for(const n of r)e.every((e=>!t(n,e)))&&e.push(n);return e}return[]})),pT=e=>hT(e,eC()),mT=Jx(2,((e,t)=>IE(e).join(t))),gT=(e,t)=>{switch(t._tag){case"StringKeyword":case"TemplateLiteral":return Object.keys(e);case"SymbolKeyword":return Object.getOwnPropertySymbols(e);case"Refinement":return gT(e,t.from)}},yT=e=>Object.keys(e).concat(Object.getOwnPropertySymbols(e)),vT=e=>{let t,n=!1;return()=>(n||(t=e(),n=!0),t)},bT=e=>{try{return e.toISOString()}catch{return String(e)}},wT=(e,t=!0)=>{if(Array.isArray(e))return`[${e.map((e=>wT(e,t))).join(",")}]`;if(T_(e))return bT(e);if(x_(e,"toString")&&v_(e.toString)&&e.toString!==Object.prototype.toString)return e.toString();if(h_(e))return JSON.stringify(e);if(p_(e)||null==e||m_(e)||y_(e))return String(e);if(g_(e))return String(e)+"n";if(A_(e))return`${e.constructor.name}(${wT(Array.from(e),t)})`;try{t&&JSON.stringify(e);const n=`{${yT(e).map((t=>`${h_(t)?JSON.stringify(t):String(t)}:${wT(e[t],!1)}`)).join(",")}}`,r=e.constructor.name;return e.constructor!==Object.prototype.constructor?`${r}(${n})`:n}catch{return"<circular structure>"}},kT=e=>Array.isArray(e),ST=e=>`[${(e=>"string"==typeof e?JSON.stringify(e):String(e))(e)}]`,xT=(e,t,n,r)=>{let o=e;return void 0!==t&&(o+=`\ndetails: ${t}`),r&&(o+=`\nschema (${r._tag}): ${r}`),o},_T=e=>xT("Duplicate index signature",`${e} index signature`),CT=xT("Unsupported index signature parameter","An index signature parameter type must be `string`, `symbol`, a template literal type or a refinement of the previous types"),ET=xT("Invalid element","A required element cannot follow an optional element. ts(1257)"),TT=e=>xT("Duplicate property signature transformation",`Duplicate key ${wT(e)}`),AT=e=>xT("Duplicate property signature",`Duplicate key ${wT(e)}`),PT=Symbol.for("effect/SchemaId/DateFromSelf"),OT=fE,RT=e=>e.replace(/[/\\^$*+?.()|[\]{}]/g,"\\$&"),IT=Symbol.for("effect/annotation/Brand"),LT=Symbol.for("effect/annotation/SchemaId"),MT=Symbol.for("effect/annotation/Message"),DT=Symbol.for("effect/annotation/MissingMessage"),FT=Symbol.for("effect/annotation/Identifier"),NT=Symbol.for("effect/annotation/Title"),jT=Symbol.for("effect/annotation/AutoTitle"),zT=Symbol.for("effect/annotation/Description"),UT=Symbol.for("effect/annotation/Examples"),VT=Symbol.for("effect/annotation/Default"),BT=Symbol.for("effect/annotation/JSONSchema"),$T=Symbol.for("effect/annotation/Arbitrary"),HT=Symbol.for("effect/annotation/Pretty"),WT=Symbol.for("effect/annotation/Equivalence"),qT=Symbol.for("effect/annotation/Documentation"),KT=Symbol.for("effect/annotation/Concurrency"),QT=Symbol.for("effect/annotation/Batching"),YT=Symbol.for("effect/annotation/ParseIssueTitle"),GT=Symbol.for("effect/annotation/ParseOptions"),JT=Symbol.for("effect/annotation/DecodingFallback"),XT=Symbol.for("effect/annotation/Surrogate"),ZT=Symbol.for("effect/annotation/StableFilter"),eA=Jx(2,((e,t)=>Object.prototype.hasOwnProperty.call(e.annotations,t)?mE(e.annotations[t]):pE())),tA=eA(IT),nA=eA(MT),rA=eA(DT),oA=eA(NT),iA=eA(jT),aA=eA(FT),sA=eA(zT),lA=eA(KT),uA=eA(QT),cA=eA(YT),dA=eA(GT),fA=eA(JT),hA=eA(XT),pA=eA(ZT),mA=Symbol.for("effect/annotation/JSONIdentifier"),gA=eA(mA);class yA{typeParameters;decodeUnknown;encodeUnknown;annotations;_tag="Declaration";constructor(e,t,n,r={}){this.typeParameters=e,this.decodeUnknown=t,this.encodeUnknown=n,this.annotations=r}toString(){return bE(wP(this),(()=>"<declaration schema>"))}toJSON(){return{_tag:this._tag,typeParameters:this.typeParameters.map((e=>e.toJSON())),annotations:gP(this.annotations)}}}const vA=e=>t=>t._tag===e;class bA{literal;annotations;_tag="Literal";constructor(e,t={}){this.literal=e,this.annotations=t}toString(){return bE(wP(this),(()=>wT(this.literal)))}toJSON(){return{_tag:this._tag,literal:g_(this.literal)?String(this.literal):this.literal,annotations:gP(this.annotations)}}}const wA=vA("Literal"),kA=new bA(null);class SA{symbol;annotations;_tag="UniqueSymbol";constructor(e,t={}){this.symbol=e,this.annotations=t}toString(){return bE(wP(this),(()=>wT(this.symbol)))}toJSON(){return{_tag:this._tag,symbol:String(this.symbol),annotations:gP(this.annotations)}}}const xA=new class{annotations;_tag="UndefinedKeyword";constructor(e={}){this.annotations=e}toString(){return vP(this)}toJSON(){return{_tag:this._tag,annotations:gP(this.annotations)}}}({[NT]:"undefined"});const _A=new class{annotations;_tag="NeverKeyword";constructor(e={}){this.annotations=e}toString(){return vP(this)}toJSON(){return{_tag:this._tag,annotations:gP(this.annotations)}}}({[NT]:"never"});const CA=new class{annotations;_tag="UnknownKeyword";constructor(e={}){this.annotations=e}toString(){return vP(this)}toJSON(){return{_tag:this._tag,annotations:gP(this.annotations)}}}({[NT]:"unknown"});const EA=new class{annotations;_tag="AnyKeyword";constructor(e={}){this.annotations=e}toString(){return vP(this)}toJSON(){return{_tag:this._tag,annotations:gP(this.annotations)}}}({[NT]:"any"});const TA=new class{annotations;_tag="StringKeyword";constructor(e={}){this.annotations=e}toString(){return vP(this)}toJSON(){return{_tag:this._tag,annotations:gP(this.annotations)}}}({[NT]:"string",[zT]:"a string"}),AA=vA("StringKeyword");const PA=new class{annotations;_tag="NumberKeyword";constructor(e={}){this.annotations=e}toString(){return vP(this)}toJSON(){return{_tag:this._tag,annotations:gP(this.annotations)}}}({[NT]:"number",[zT]:"a number"}),OA=vA("SymbolKeyword");let RA=class{type;annotations;constructor(e,t={}){this.type=e,this.annotations=t}toJSON(){return{type:this.type.toJSON(),annotations:gP(this.annotations)}}toString(){return String(this.type)}};class IA extends RA{isOptional;constructor(e,t,n={}){super(e,n),this.isOptional=t}toJSON(){return{type:this.type.toJSON(),isOptional:this.isOptional,annotations:gP(this.annotations)}}toString(){return String(this.type)+(this.isOptional?"?":"")}}const LA=e=>e.map((e=>e.type));class MA{elements;rest;isReadonly;annotations;_tag="TupleType";constructor(e,t,n,r={}){this.elements=e,this.rest=t,this.isReadonly=n,this.annotations=r;let o=!1,i=!1;for(const t of e)if(t.isOptional)o=!0;else if(o){i=!0;break}if(i||o&&t.length>1)throw new Error(ET)}toString(){return bE(wP(this),(()=>DA(this)))}toJSON(){return{_tag:this._tag,elements:this.elements.map((e=>e.toJSON())),rest:this.rest.map((e=>e.toJSON())),isReadonly:this.isReadonly,annotations:gP(this.annotations)}}}const DA=e=>{const t=e.elements.map(String).join(", ");return LE(e.rest,{onEmpty:()=>`readonly [${t}]`,onNonEmpty:(n,r)=>{const o=String(n),i=o.includes(" | ")?`(${o})`:o;if(r.length>0){const n=r.map(String).join(", ");return e.elements.length>0?`readonly [${t}, ...${i}[], ${n}]`:`readonly [...${i}[], ${n}]`}return e.elements.length>0?`readonly [${t}, ...${i}[]]`:`ReadonlyArray<${o}>`}})};class FA extends IA{name;isReadonly;constructor(e,t,n,r,o){super(t,n,o),this.name=e,this.isReadonly=r}toString(){return(this.isReadonly?"readonly ":"")+String(this.name)+(this.isOptional?"?":"")+": "+this.type}toJSON(){return{name:String(this.name),type:this.type.toJSON(),isOptional:this.isOptional,isReadonly:this.isReadonly,annotations:gP(this.annotations)}}}const NA=e=>{switch(e._tag){case"StringKeyword":case"SymbolKeyword":case"TemplateLiteral":return!0;case"Refinement":return NA(e.from)}return!1};class jA{type;isReadonly;parameter;constructor(e,t,n){if(this.type=t,this.isReadonly=n,!NA(e))throw new Error(CT);this.parameter=e}toString(){return(this.isReadonly?"readonly ":"")+`[x: ${this.parameter}]: ${this.type}`}toJSON(){return{parameter:this.parameter.toJSON(),type:this.type.toJSON(),isReadonly:this.isReadonly}}}class zA{annotations;_tag="TypeLiteral";propertySignatures;indexSignatures;constructor(e,t,n={}){this.annotations=n;const r={};for(let t=0;t<e.length;t++){const n=e[t].name;if(Object.prototype.hasOwnProperty.call(r,n))throw new Error(AT(n));r[n]=null}const o={string:!1,symbol:!1};for(let e=0;e<t.length;e++){const n=yP(t[e].parameter);if(AA(n)){if(o.string)throw new Error(_T("string"));o.string=!0}else if(OA(n)){if(o.symbol)throw new Error(_T("symbol"));o.symbol=!0}}this.propertySignatures=e,this.indexSignatures=t}toString(){return bE(wP(this),(()=>VA(this)))}toJSON(){return{_tag:this._tag,propertySignatures:this.propertySignatures.map((e=>e.toJSON())),indexSignatures:this.indexSignatures.map((e=>e.toJSON())),annotations:gP(this.annotations)}}}const UA=e=>e.map(String).join("; "),VA=e=>{if(e.propertySignatures.length>0){const t=e.propertySignatures.map(String).join("; ");return e.indexSignatures.length>0?`{ ${t}; ${UA(e.indexSignatures)} }`:`{ ${t} }`}return e.indexSignatures.length>0?`{ ${UA(e.indexSignatures)} }`:"{}"},BA=GE(hE(OT,(e=>{switch(e._tag){case"AnyKeyword":return 0;case"UnknownKeyword":return 1;case"ObjectKeyword":return 2;case"StringKeyword":case"NumberKeyword":case"BooleanKeyword":case"BigIntKeyword":case"SymbolKeyword":return 3}return 4}))),$A={string:"StringKeyword",number:"NumberKeyword",boolean:"BooleanKeyword",bigint:"BigIntKeyword"},HA=e=>sT(e,(e=>KA(e)?HA(e.types):[e]));let WA=class e{types;annotations;static make=(t,n)=>qA(t)?new e(t,n):1===t.length?t[0]:_A;static unify=(t,n)=>e.make((e=>{const t=BA(e),n=[],r={},o=[];for(const e of t)switch(e._tag){case"NeverKeyword":break;case"AnyKeyword":return[EA];case"UnknownKeyword":return[CA];case"ObjectKeyword":case"UndefinedKeyword":case"VoidKeyword":case"StringKeyword":case"NumberKeyword":case"BooleanKeyword":case"BigIntKeyword":case"SymbolKeyword":r[e._tag]||(r[e._tag]=e,n.push(e));break;case"Literal":{const t=typeof e.literal;switch(t){case"string":case"number":case"bigint":case"boolean":r[$A[t]]||o.includes(e.literal)||(o.push(e.literal),n.push(e));break;case"object":o.includes(e.literal)||(o.push(e.literal),n.push(e))}break}case"UniqueSymbol":r.SymbolKeyword||o.includes(e.symbol)||(o.push(e.symbol),n.push(e));break;case"TupleType":r.ObjectKeyword||n.push(e);break;case"TypeLiteral":0===e.propertySignatures.length&&0===e.indexSignatures.length?r["{}"]||(r["{}"]=e,n.push(e)):r.ObjectKeyword||n.push(e);break;default:n.push(e)}return n})(HA(t)),n);_tag="Union";constructor(e,t={}){this.types=e,this.annotations=t}toString(){return bE(wP(this),(()=>this.types.map(String).join(" | ")))}toJSON(){return{_tag:this._tag,types:this.types.map((e=>e.toJSON())),annotations:gP(this.annotations)}}};const qA=e=>e.length>1,KA=vA("Union"),QA=f_(Symbol.for("effect/Schema/AST/toJSONMemoMap"),(()=>new WeakMap));class YA{f;annotations;_tag="Suspend";constructor(e,t={}){this.f=e,this.annotations=t,this.f=vT(e)}toString(){return wP(this).pipe(wE((()=>CE((e=>(...t)=>{try{return mE(e(...t))}catch{return pE()}})(this.f)(),(e=>wP(e))))),bE((()=>"<suspended schema>")))}toJSON(){const e=this.f();let t=QA.get(e);return t||(QA.set(e,{_tag:this._tag}),t={_tag:this._tag,ast:e.toJSON(),annotations:gP(this.annotations)},QA.set(e,t),t)}}let GA=class{from;filter;annotations;_tag="Refinement";constructor(e,t,n={}){this.from=e,this.filter=t,this.annotations=n}toString(){return aA(this).pipe(bE((()=>vE(bP(this),{onNone:()=>`{ ${this.from} | filter }`,onSome:e=>JA(this.from)?String(this.from)+" & "+e:e}))))}toJSON(){return{_tag:this._tag,from:this.from.toJSON(),annotations:gP(this.annotations)}}};const JA=vA("Refinement"),XA={};let ZA=class{from;to;transformation;annotations;_tag="Transformation";constructor(e,t,n,r={}){this.from=e,this.to=t,this.transformation=n,this.annotations=r}toString(){return bE(wP(this),(()=>`(${String(this.from)} <-> ${String(this.to)})`))}toJSON(){return{_tag:this._tag,from:this.from.toJSON(),to:this.to.toJSON(),annotations:gP(this.annotations)}}};class eP{decode;encode;_tag="FinalTransformation";constructor(e,t){this.decode=e,this.encode=t}}let tP=class{from;to;decode;encode;constructor(e,t,n,r){this.from=e,this.to=t,this.decode=n,this.encode=r}};class nP{propertySignatureTransformations;_tag="TypeLiteralTransformation";constructor(e){this.propertySignatureTransformations=e;const t={},n={};for(const r of e){const e=r.from;if(t[e])throw new Error(TT(e));t[e]=!0;const o=r.to;if(n[o])throw new Error(TT(o));n[o]=!0}}}const rP=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={...e.annotations,...t},o=hA(e);return yE(o)&&(r[XT]=rP(o.value,t)),n.annotations.value=r,Object.create(Object.getPrototypeOf(e),n)},oP=(e,t)=>{switch(e._tag){case"Literal":return RT(String(e.literal));case"StringKeyword":return"[\\s\\S]*";case"NumberKeyword":return"[+-]?\\d*\\.?\\d+(?:[Ee][+-]?\\d+)?";case"TemplateLiteral":return aP(e);case"Union":return e.types.map((e=>oP(e))).join("|")}},iP=(e,t,n,r)=>KA(e)?`(${t})`:t,aP=(e,t,n)=>{let r="";""!==e.head&&(r+=RT(e.head));for(const t of e.spans){const e=oP(t.type);r+=iP(t.type,e),""!==t.literal&&(r+=RT(t.literal))}return r},sP=(e,t)=>{const n=[],r=[],o=e=>{switch(e._tag){case"NeverKeyword":break;case"StringKeyword":case"SymbolKeyword":case"TemplateLiteral":case"Refinement":r.push(new jA(e,t,!0));break;case"Literal":if(!h_(e.literal)&&!p_(e.literal))throw new Error((i=e.literal,xT("Unsupported literal",`literal value: ${wT(i)}`)));n.push(new FA(e.literal,t,!1,!0));break;case"Enums":for(const[r,o]of e.enums)n.push(new FA(o,t,!1,!0));break;case"UniqueSymbol":n.push(new FA(e.symbol,t,!1,!0));break;case"Union":e.types.forEach(o);break;default:throw new Error(xT("Unsupported key schema",void 0,0,e))}var i};return o(e),{propertySignatures:n,indexSignatures:r}},lP=e=>{switch(e._tag){case"TupleType":return!1===e.isReadonly?e:new MA(e.elements,e.rest,!1,e.annotations);case"TypeLiteral":{const t=hP(e.propertySignatures,(e=>!1===e.isReadonly?e:new FA(e.name,e.type,e.isOptional,!1,e.annotations))),n=hP(e.indexSignatures,(e=>!1===e.isReadonly?e:new jA(e.parameter,e.type,!1)));return t===e.propertySignatures&&n===e.indexSignatures?e:new zA(t,n,e.annotations)}case"Union":{const t=hP(e.types,lP);return t===e.types?e:WA.make(t,e.annotations)}case"Suspend":return new YA((()=>lP(e.f())),e.annotations);case"Refinement":{const t=lP(e.from);return t===e.from?e:new GA(t,e.filter,e.annotations)}case"Transformation":{const t=lP(e.from),n=lP(e.to);return t===e.from&&n===e.to?e:new ZA(t,n,e.transformation,e.annotations)}}return e},uP=e=>t=>{let n;for(const r of e)Object.prototype.hasOwnProperty.call(t.annotations,r)&&(void 0===n&&(n={}),n[r]=t.annotations[r]);return n},cP=uP([UT,VT,BT,$T,HT,WT]),dP=e=>{switch(e._tag){case"Declaration":{const t=hP(e.typeParameters,dP);return t===e.typeParameters?e:new yA(t,e.decodeUnknown,e.encodeUnknown,e.annotations)}case"TupleType":{const t=hP(e.elements,(e=>{const t=dP(e.type);return t===e.type?e:new IA(t,e.isOptional)})),n=LA(e.rest),r=hP(n,dP);return t===e.elements&&r===n?e:new MA(t,r.map((e=>new RA(e))),e.isReadonly,e.annotations)}case"TypeLiteral":{const t=hP(e.propertySignatures,(e=>{const t=dP(e.type);return t===e.type?e:new FA(e.name,t,e.isOptional,e.isReadonly)})),n=hP(e.indexSignatures,(e=>{const t=dP(e.type);return t===e.type?e:new jA(e.parameter,t,e.isReadonly)}));return t===e.propertySignatures&&n===e.indexSignatures?e:new zA(t,n,e.annotations)}case"Union":{const t=hP(e.types,dP);return t===e.types?e:WA.make(t,e.annotations)}case"Suspend":return new YA((()=>dP(e.f())),e.annotations);case"Refinement":{const t=dP(e.from);return t===e.from?e:new GA(t,e.filter,e.annotations)}case"Transformation":{const t=cP(e);return dP(void 0!==t?rP(e.to,t):e.to)}}return e},fP=e=>vE((e=>wE(gA(e),(()=>aA(e))))(e),{onNone:()=>{},onSome:e=>({[mA]:e})});function hP(e,t){let n=!1;const r=OE(e.length);for(let o=0;o<e.length;o++){const i=e[o],a=t(i);a!==i&&(n=!0),r[o]=a}return n?r:e}const pP=(e,t)=>{switch(e._tag){case"Declaration":{const t=hP(e.typeParameters,(e=>pP(e)));return t===e.typeParameters?e:new yA(t,e.decodeUnknown,e.encodeUnknown,e.annotations)}case"TupleType":{const t=hP(e.elements,(e=>{const t=pP(e.type);return t===e.type?e:new IA(t,e.isOptional)})),n=LA(e.rest),r=hP(n,(e=>pP(e)));return t===e.elements&&r===n?e:new MA(t,r.map((e=>new RA(e))),e.isReadonly,fP(e))}case"TypeLiteral":{const t=hP(e.propertySignatures,(e=>{const t=pP(e.type);return t===e.type?e:new FA(e.name,t,e.isOptional,e.isReadonly)})),n=hP(e.indexSignatures,(e=>{const t=pP(e.type);return t===e.type?e:new jA(e.parameter,t,e.isReadonly)}));return t===e.propertySignatures&&n===e.indexSignatures?e:new zA(t,n,fP(e))}case"Union":{const t=hP(e.types,(e=>pP(e)));return t===e.types?e:WA.make(t,fP(e))}case"Suspend":return new YA((()=>pP(e.f())),fP(e));case"Refinement":{const t=pP(e.from),n=fP(e);return n?rP(t,n):t}case"Transformation":{const t=fP(e);return pP(t?rP(e.from,t):e.from)}}return e},mP=e=>pP(e),gP=e=>{const t={};for(const n of Object.getOwnPropertySymbols(e))t[String(n)]=e[n];return t},yP=e=>{switch(e._tag){case"StringKeyword":case"SymbolKeyword":case"TemplateLiteral":return e;case"Refinement":return yP(e.from)}},vP=e=>bE(wP(e),(()=>e._tag)),bP=e=>oA(e).pipe(wE((()=>sA(e))),wE((()=>iA(e))),_E((t=>t+function(e){return vE(tA(e),{onNone:()=>"",onSome:e=>e.map((e=>` & Brand<${wT(e)}>`)).join("")})}(e)))),wP=e=>wE(aA(e),(()=>bP(e))),kP=Symbol.for("effect/Context/Tag"),SP=Symbol.for("effect/Context/Reference"),xP=Symbol.for("effect/STM"),_P={...RC,_op:"Tag",[xP]:OC,[kP]:{_Service:e=>e,_Identifier:e=>e},toString(){return rC(this.toJSON())},toJSON(){return{_id:"Tag",key:this.key,stack:this.stack}},[tC](){return this.toJSON()},of:e=>e,context(e){return RP(this,e)}},CP={..._P,[SP]:SP},EP=Symbol.for("effect/Context"),TP={[EP]:{_Services:e=>e},[G_](e){if(PP(e)&&this.unsafeMap.size===e.unsafeMap.size){for(const t of this.unsafeMap.keys())if(!e.unsafeMap.has(t)||!J_(this.unsafeMap.get(t),e.unsafeMap.get(t)))return!1;return!0}return!1},[z_](){return Y_(this,W_(this.unsafeMap.size))},pipe(){return cC(this,arguments)},toString(){return rC(this.toJSON())},toJSON(){return{_id:"Context",services:Array.from(this.unsafeMap).map(nC)}},[tC](){return this.toJSON()}},AP=e=>{const t=Object.create(TP);return t.unsafeMap=e,t},PP=e=>x_(e,EP),OP=AP(new Map),RP=(e,t)=>AP(new Map([[e.key,t]])),IP=Jx(3,((e,t,n)=>{const r=new Map(e.unsafeMap);return r.set(t.key,n),AP(r)})),LP=f_("effect/Context/defaultValueCache",(()=>new Map)),MP=e=>{if(LP.has(e.key))return LP.get(e.key);const t=e.defaultValue();return LP.set(e.key,t),t},DP=Jx(2,((e,t)=>{if(!e.unsafeMap.has(t.key)){if(SP in t)return MP(t);throw(e=>{const t=new Error("Service not found"+(e.key?`: ${String(e.key)}`:""));if(e.stack){const n=e.stack.split("\n");if(n.length>2){const e=n[2].match(/at (.*)/);e&&(t.message=t.message+` (defined at ${e[1]})`)}}if(t.stack){const e=t.stack.split("\n");e.splice(1,3),t.stack=e.join("\n")}return t})(t)}return e.unsafeMap.get(t.key)})),FP=DP,NP=Jx(2,((e,t)=>e.unsafeMap.has(t.key)?WC(e.unsafeMap.get(t.key)):x_(t,SP)?WC(MP(t)):HC)),jP=Jx(2,((e,t)=>{const n=new Map(e.unsafeMap);for(const[e,r]of t.unsafeMap)n.set(e,r);return AP(n)})),zP=e=>{const t=Error.stackTraceLimit;Error.stackTraceLimit=2;const n=new Error;Error.stackTraceLimit=t;const r=Object.create(_P);return Object.defineProperty(r,"stack",{get:()=>n.stack}),r.key=e,r},UP=()=>OP,VP=RP,BP=IP,$P=FP,HP=DP,WP=NP,qP=jP,KP=()=>(e,t)=>{const n=Error.stackTraceLimit;Error.stackTraceLimit=2;const r=new Error;function o(){}return Error.stackTraceLimit=n,Object.setPrototypeOf(o,CP),o.key=e,o.defaultValue=t.defaultValue,Object.defineProperty(o,"stack",{get:()=>r.stack}),o},QP=Symbol.for("effect/Chunk"),YP=[],GP=(e=>i_(((t,n)=>t.length===n.length&&aO(t).every(((t,r)=>e(t,cO(n,r)))))))(J_),JP={[QP]:{_A:e=>e},toString(){return rC(this.toJSON())},toJSON(){return{_id:"Chunk",values:aO(this).map(nC)}},[tC](){return this.toJSON()},[G_](e){return ZP(e)&&GP(this,e)},[z_](){return Y_(this,Q_(aO(this)))},[Symbol.iterator](){switch(this.backing._tag){case"IArray":return this.backing.array[Symbol.iterator]();case"IEmpty":return YP[Symbol.iterator]();default:return aO(this)[Symbol.iterator]()}},pipe(){return cC(this,arguments)}},XP=e=>{const t=Object.create(JP);switch(t.backing=e,e._tag){case"IEmpty":t.length=0,t.depth=0,t.left=t,t.right=t;break;case"IConcat":t.length=e.left.length+e.right.length,t.depth=1+Math.max(e.left.depth,e.right.depth),t.left=e.left,t.right=e.right;break;case"IArray":t.length=e.array.length,t.depth=0,t.left=eO,t.right=eO;break;case"ISingleton":t.length=1,t.depth=0,t.left=eO,t.right=eO;break;case"ISlice":t.length=e.length,t.depth=e.chunk.depth+1,t.left=eO,t.right=eO}return t},ZP=e=>x_(e,QP),eO=XP({_tag:"IEmpty"}),tO=()=>eO,nO=(...e)=>uO(e),rO=e=>XP({_tag:"ISingleton",a:e}),oO=e=>ZP(e)?e:lO(IE(e)),iO=(e,t,n)=>{switch(e.backing._tag){case"IArray":!function(e,t,n,r,o){for(let t=0;t<Math.min(e.length,0+o);t++)n[r+t-0]=e[t]}(e.backing.array,0,t,n,e.length);break;case"IConcat":iO(e.left,t,n),iO(e.right,t,n+e.left.length);break;case"ISingleton":t[n]=e.backing.a;break;case"ISlice":{let r=0,o=n;for(;r<e.length;)t[o]=cO(e,r),r+=1,o+=1;break}}},aO=e=>{switch(e.backing._tag){case"IEmpty":return YP;case"IArray":return e.backing.array;default:{const t=new Array(e.length);return iO(e,t,0),e.backing={_tag:"IArray",array:t},e.left=eO,e.right=eO,e.depth=0,t}}},sO=e=>{switch(e.backing._tag){case"IEmpty":case"ISingleton":return e;case"IArray":return XP({_tag:"IArray",array:YE(e.backing.array)});case"IConcat":return XP({_tag:"IConcat",left:sO(e.backing.right),right:sO(e.backing.left)});case"ISlice":return lO(YE(aO(e)))}},lO=e=>0===e.length?tO():1===e.length?rO(e[0]):XP({_tag:"IArray",array:e}),uO=e=>lO(e),cO=Jx(2,((e,t)=>{switch(e.backing._tag){case"IEmpty":throw new Error("Index out of bounds");case"ISingleton":if(0!==t)throw new Error("Index out of bounds");return e.backing.a;case"IArray":if(t>=e.length||t<0)throw new Error("Index out of bounds");return e.backing.array[t];case"IConcat":return t<e.left.length?cO(e.left,t):cO(e.right,t-e.left.length);case"ISlice":return cO(e.backing.chunk,t+e.backing.offset)}})),dO=Jx(2,((e,t)=>pO(e,rO(t)))),fO=Jx(2,((e,t)=>pO(rO(t),e))),hO=Jx(2,((e,t)=>{if(t<=0)return e;if(t>=e.length)return eO;switch(e.backing._tag){case"ISlice":return XP({_tag:"ISlice",chunk:e.backing.chunk,offset:e.backing.offset+t,length:e.backing.length-t});case"IConcat":return t>e.left.length?hO(e.right,t-e.left.length):XP({_tag:"IConcat",left:hO(e.left,t),right:e.right});default:return XP({_tag:"ISlice",chunk:e,offset:t,length:e.length-t})}})),pO=Jx(2,((e,t)=>{if("IEmpty"===e.backing._tag)return t;if("IEmpty"===t.backing._tag)return e;const n=t.depth-e.depth;if(Math.abs(n)<=1)return XP({_tag:"IConcat",left:e,right:t});if(n<-1){if(e.left.depth>=e.right.depth){const n=pO(e.right,t);return XP({_tag:"IConcat",left:e.left,right:n})}{const n=pO(e.right.right,t);if(n.depth===e.depth-3){const t=XP({_tag:"IConcat",left:e.right.left,right:n});return XP({_tag:"IConcat",left:e.left,right:t})}{const t=XP({_tag:"IConcat",left:e.left,right:e.right.left});return XP({_tag:"IConcat",left:t,right:n})}}}if(t.right.depth>=t.left.depth){const n=pO(e,t.left);return XP({_tag:"IConcat",left:n,right:t.right})}{const n=pO(e,t.left.left);if(n.depth===t.depth-3){const e=XP({_tag:"IConcat",left:n,right:t.left.right});return XP({_tag:"IConcat",left:e,right:t.right})}{const e=XP({_tag:"IConcat",left:t.left.right,right:t.right});return XP({_tag:"IConcat",left:n,right:e})}}})),mO=e=>0===e.length,gO=e=>e.length>0,yO=e=>cO(e,0),vO=yO,bO=e=>hO(e,1),wO=Symbol.for("effect/Duration"),kO=BigInt(0),SO=BigInt(24),xO=BigInt(60),_O=BigInt(1e3),CO=BigInt(1e6),EO=BigInt(1e9),TO=/^(-?\d+(?:\.\d+)?)\s+(nanos?|micros?|millis?|seconds?|minutes?|hours?|days?|weeks?)$/,AO=e=>{if(LO(e))return e;if(p_(e))return jO(e);if(g_(e))return FO(e);if(Array.isArray(e)&&2===e.length&&e.every(p_))return e[0]===-1/0||e[1]===-1/0||Number.isNaN(e[0])||Number.isNaN(e[1])?MO:e[0]===1/0||e[1]===1/0?DO:FO(BigInt(Math.round(1e9*e[0]))+BigInt(Math.round(e[1])));if(h_(e)){const t=TO.exec(e);if(t){const[e,n,r]=t,o=Number(n);switch(r){case"nano":case"nanos":return FO(BigInt(n));case"micro":case"micros":return NO(BigInt(n));case"milli":case"millis":return jO(o);case"second":case"seconds":return zO(o);case"minute":case"minutes":return UO(o);case"hour":case"hours":return VO(o);case"day":case"days":return BO(o);case"week":case"weeks":return $O(o)}}}throw new Error("Invalid DurationInput")},PO={_tag:"Millis",millis:0},OO={_tag:"Infinity"},RO={[wO]:wO,[z_](){return Y_(this,K_(this.value))},[G_](e){return LO(e)&&GO(this,e)},toString(){return`Duration(${JO(this)})`},toJSON(){switch(this.value._tag){case"Millis":return{_id:"Duration",_tag:"Millis",millis:this.value.millis};case"Nanos":return{_id:"Duration",_tag:"Nanos",hrtime:WO(this)};case"Infinity":return{_id:"Duration",_tag:"Infinity"}}},[tC](){return this.toJSON()},pipe(){return cC(this,arguments)}},IO=e=>{const t=Object.create(RO);return p_(e)?isNaN(e)||e<=0?t.value=PO:Number.isFinite(e)?Number.isInteger(e)?t.value={_tag:"Millis",millis:e}:t.value={_tag:"Nanos",nanos:BigInt(Math.round(1e6*e))}:t.value=OO:t.value=e<=kO?PO:{_tag:"Nanos",nanos:e},t},LO=e=>x_(e,wO),MO=IO(0),DO=IO(1/0),FO=e=>IO(e),NO=e=>IO(e*_O),jO=e=>IO(e),zO=e=>IO(1e3*e),UO=e=>IO(6e4*e),VO=e=>IO(36e5*e),BO=e=>IO(864e5*e),$O=e=>IO(6048e5*e),HO=e=>qO(e,{onMillis:e=>e,onNanos:e=>Number(e)/1e6}),WO=e=>{const t=AO(e);switch(t.value._tag){case"Infinity":return[1/0,0];case"Nanos":return[Number(t.value.nanos/EO),Number(t.value.nanos%EO)];case"Millis":return[Math.floor(t.value.millis/1e3),Math.round(t.value.millis%1e3*1e6)]}},qO=Jx(2,((e,t)=>{const n=AO(e);switch(n.value._tag){case"Nanos":return t.onNanos(n.value.nanos);case"Infinity":return t.onMillis(1/0);case"Millis":return t.onMillis(n.value.millis)}})),KO=Jx(3,((e,t,n)=>{const r=AO(e),o=AO(t);if("Infinity"===r.value._tag||"Infinity"===o.value._tag)return n.onMillis(HO(r),HO(o));if("Nanos"===r.value._tag||"Nanos"===o.value._tag){const e="Nanos"===r.value._tag?r.value.nanos:BigInt(Math.round(1e6*r.value.millis)),t="Nanos"===o.value._tag?o.value.nanos:BigInt(Math.round(1e6*o.value.millis));return n.onNanos(e,t)}return n.onMillis(r.value.millis,o.value.millis)})),QO=Jx(2,((e,t)=>KO(e,t,{onMillis:(e,t)=>e<=t,onNanos:(e,t)=>e<=t}))),YO=Jx(2,((e,t)=>KO(e,t,{onMillis:(e,t)=>e>=t,onNanos:(e,t)=>e>=t}))),GO=Jx(2,((e,t)=>((e,t)=>KO(e,t,{onMillis:(e,t)=>e===t,onNanos:(e,t)=>e===t}))(AO(e),AO(t)))),JO=e=>{const t=AO(e);if("Infinity"===t.value._tag)return"Infinity";if((e=>{switch(e.value._tag){case"Millis":return 0===e.value.millis;case"Nanos":return e.value.nanos===kO;case"Infinity":return!1}})(t))return"0";const n=(e=>{const t=AO(e);if("Infinity"===t.value._tag)return{days:1/0,hours:1/0,minutes:1/0,seconds:1/0,millis:1/0,nanos:1/0};const n=(e=>{const t=AO(e);switch(t.value._tag){case"Infinity":throw new Error("Cannot convert infinite duration to nanos");case"Nanos":return t.value.nanos;case"Millis":return BigInt(Math.round(1e6*t.value.millis))}})(t),r=n/CO,o=r/_O,i=o/xO,a=i/xO;return{days:Number(a/SO),hours:Number(a%SO),minutes:Number(i%xO),seconds:Number(o%xO),millis:Number(r%_O),nanos:Number(n%CO)}})(t),r=[];return 0!==n.days&&r.push(`${n.days}d`),0!==n.hours&&r.push(`${n.hours}h`),0!==n.minutes&&r.push(`${n.minutes}m`),0!==n.seconds&&r.push(`${n.seconds}s`),0!==n.millis&&r.push(`${n.millis}ms`),0!==n.nanos&&r.push(`${n.nanos}ns`),r.join(" ")},XO=Math.pow(2,5),ZO=XO-1,eR=XO/2,tR=XO/4;function nR(e,t){return t>>>e&ZO}function rR(e){return 1<<e}function oR(e,t){return function(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,127&(e+=e>>8)+(e>>16)}(e&t-1)}const iR=(e,t)=>({value:e,previous:t});function aR(e,t,n,r){let o=r;if(!e){const e=r.length;o=new Array(e);for(let t=0;t<e;++t)o[t]=r[t]}return o[t]=n,o}function sR(e,t,n){const r=n.length-1;let o=0,i=0,a=n;if(e)o=i=t;else for(a=new Array(r);o<t;)a[i++]=n[o++];for(++o;o<=r;)a[i++]=n[o++];return e&&(a.length=r),a}class lR{_tag="EmptyNode";modify(e,t,n,r,o,i){const a=n(pE());return gE(a)?new lR:(++i.value,new dR(e,r,o,a))}}function uR(e){return __(e,"EmptyNode")}function cR(e,t){return!uR(e)&&t===e.edit}class dR{edit;hash;key;value;_tag="LeafNode";constructor(e,t,n,r){this.edit=e,this.hash=t,this.key=n,this.value=r}modify(e,t,n,r,o,i){if(J_(o,this.key)){const t=n(this.value);return t===this.value?this:gE(t)?(--i.value,new lR):cR(this,e)?(this.value=t,this):new dR(e,r,o,t)}const a=n(pE());return gE(a)?this:(++i.value,gR(e,t,this.hash,this,r,new dR(e,r,o,a)))}}class fR{edit;hash;children;_tag="CollisionNode";constructor(e,t,n){this.edit=e,this.hash=t,this.children=n}modify(e,t,n,r,o,i){if(r===this.hash){const t=cR(this,e),r=this.updateCollisionList(t,e,this.hash,this.children,n,o,i);return r===this.children?this:r.length>1?new fR(e,this.hash,r):r[0]}const a=n(pE());return gE(a)?this:(++i.value,gR(e,t,this.hash,this,r,new dR(e,r,o,a)))}updateCollisionList(e,t,n,r,o,i,a){const s=r.length;for(let l=0;l<s;++l){const s=r[l];if("key"in s&&J_(i,s.key)){const u=s.value,c=o(u);return c===u?r:gE(c)?(--a.value,sR(e,l,r)):aR(e,l,new dR(t,n,i,c),r)}}const l=o(pE());return gE(l)?r:(++a.value,aR(e,s,new dR(t,n,i,l),r))}}class hR{edit;mask;children;_tag="IndexedNode";constructor(e,t,n){this.edit=e,this.mask=t,this.children=n}modify(e,t,n,r,o,i){const a=this.mask,s=this.children,l=nR(t,r),u=rR(l),c=oR(a,u),d=a&u,f=cR(this,e);if(!d){const d=(new lR).modify(e,t+5,n,r,o,i);return d?s.length>=eR?function(e,t,n,r,o){const i=[];let a=r,s=0;for(let e=0;a;++e)1&a&&(i[e]=o[s++]),a>>>=1;return i[t]=n,new pR(e,s+1,i)}(e,l,d,a,s):new hR(e,a|u,function(e,t,n,r){const o=r.length;if(e){let e=o;for(;e>=t;)r[e--]=r[e];return r[t]=n,r}let i=0,a=0;const s=new Array(o+1);for(;i<t;)s[a++]=r[i++];for(s[t]=n;i<o;)s[++a]=r[i++];return s}(f,c,d,s)):this}const h=s[c],p=h.modify(e,t+5,n,r,o,i);if(h===p)return this;let m,g=a;if(uR(p)){if(g&=~u,!g)return new lR;if(s.length<=2&&function(e){return uR(e)||"LeafNode"===e._tag||"CollisionNode"===e._tag}(s[1^c]))return s[1^c];m=sR(f,c,s)}else m=aR(f,c,p,s);return f?(this.mask=g,this.children=m,this):new hR(e,g,m)}}class pR{edit;size;children;_tag="ArrayNode";constructor(e,t,n){this.edit=e,this.size=t,this.children=n}modify(e,t,n,r,o,i){let a=this.size;const s=this.children,l=nR(t,r),u=s[l],c=(u||new lR).modify(e,t+5,n,r,o,i);if(u===c)return this;const d=cR(this,e);let f;if(uR(u)&&!uR(c))++a,f=aR(d,l,c,s);else if(!uR(u)&&uR(c)){if(--a,a<=tR)return function(e,t,n,r){const o=new Array(t-1);let i=0,a=0;for(let e=0,t=r.length;e<t;++e)if(e!==n){const t=r[e];t&&!uR(t)&&(o[i++]=t,a|=1<<e)}return new hR(e,a,o)}(e,a,l,s);f=aR(d,l,new lR,s)}else f=aR(d,l,c,s);return d?(this.size=a,this.children=f,this):new pR(e,a,f)}}function mR(e,t,n,r,o,i){if(n===o)return new fR(e,n,[i,r]);const a=nR(t,n),s=nR(t,o);if(a===s)return t=>new hR(e,rR(a)|rR(s),[t]);{const t=a<s?[r,i]:[i,r];return new hR(e,rR(a)|rR(s),t)}}function gR(e,t,n,r,o,i){let a,s=t;for(;;){const t=mR(e,s,n,r,o,i);if("function"!=typeof t){let e=t;for(;null!=a;)e=a.value(e),a=a.previous;return e}a=iR(t,a),s+=5}}const yR="effect/HashMap",vR=Symbol.for(yR),bR={[vR]:vR,[Symbol.iterator](){return new kR(this,((e,t)=>[e,t]))},[z_](){let e=U_(yR);for(const t of this)e^=o_(U_(t[0]),B_(U_(t[1])));return Y_(this,e)},[G_](e){if(TR(e)){if(e._size!==this._size)return!1;for(const t of this){const n=o_(e,PR(t[0],U_(t[0])));if(gE(n))return!1;if(!J_(t[1],n.value))return!1}return!0}return!1},toString(){return rC(this.toJSON())},toJSON(){return{_id:"HashMap",values:Array.from(this).map(nC)}},[tC](){return this.toJSON()},pipe(){return cC(this,arguments)}},wR=(e,t,n,r)=>{const o=Object.create(bR);return o._editable=e,o._edit=t,o._root=n,o._size=r,o};class kR{map;f;v;constructor(e,t){this.map=e,this.f=t,this.v=xR(this.map._root,this.f,void 0)}next(){if(gE(this.v))return{done:!0,value:void 0};const e=this.v.value;return this.v=SR(e.cont),{done:!1,value:e.value}}[Symbol.iterator](){return new kR(this.map,this.f)}}const SR=e=>e?_R(e[0],e[1],e[2],e[3],e[4]):pE(),xR=(e,t,n=void 0)=>{switch(e._tag){case"LeafNode":return yE(e.value)?mE({value:t(e.key,e.value.value),cont:n}):SR(n);case"CollisionNode":case"ArrayNode":case"IndexedNode":{const r=e.children;return _R(r.length,r,0,t,n)}default:return SR(n)}},_R=(e,t,n,r,o)=>{for(;n<e;){const i=t[n++];if(i&&!uR(i))return xR(i,r,[e,t,n,r,o])}return SR(o)},CR=wR(!1,0,new lR,0),ER=()=>CR,TR=e=>x_(e,vR),AR=Jx(2,((e,t)=>PR(e,t,U_(t)))),PR=Jx(3,((e,t,n)=>{let r=e._root,o=0;for(;;)switch(r._tag){case"LeafNode":return J_(t,r.key)?r.value:pE();case"CollisionNode":if(n===r.hash){const e=r.children;for(let n=0,r=e.length;n<r;++n){const r=e[n];if("key"in r&&J_(t,r.key))return r.value}}return pE();case"IndexedNode":{const e=rR(nR(o,n));if(r.mask&e){r=r.children[oR(r.mask,e)],o+=5;break}return pE()}case"ArrayNode":if(r=r.children[nR(o,n)],r){o+=5;break}return pE();default:return pE()}})),OR=Jx(2,((e,t)=>yE(PR(e,t,U_(t))))),RR=Jx(3,((e,t,n)=>FR(e,t,(()=>mE(n))))),IR=Jx(3,((e,t,n)=>e._editable?(e._root=t,e._size=n,e):t===e._root?e:wR(e._editable,e._edit,t,n))),LR=e=>new kR(e,(e=>e)),MR=e=>e._size,DR=e=>wR(!0,e._edit+1,e._root,e._size),FR=Jx(3,((e,t,n)=>NR(e,t,U_(t),n))),NR=Jx(4,((e,t,n,r)=>{const o={value:e._size},i=e._root.modify(e._editable?e._edit:NaN,0,r,n,t,o);return o_(e,IR(i,o.value))})),jR=Jx(2,((e,t)=>FR(e,t,pE))),zR=Jx(2,((e,t)=>VR(e,ER(),((e,n,r)=>RR(e,r,t(n,r)))))),UR=Jx(2,((e,t)=>VR(e,void 0,((e,n,r)=>t(n,r))))),VR=Jx(3,((e,t,n)=>{const r=e._root;if("LeafNode"===r._tag)return yE(r.value)?n(t,r.value.value,r.key):t;if("EmptyNode"===r._tag)return t;const o=[r.children];let i;for(;i=o.pop();)for(let e=0,r=i.length;e<r;){const r=i[e++];r&&!uR(r)&&("LeafNode"===r._tag?yE(r.value)&&(t=n(t,r.value.value,r.key)):o.push(r.children))}return t})),BR="effect/HashSet",$R=Symbol.for(BR),HR={[$R]:$R,[Symbol.iterator](){return LR(this._keyMap)},[z_](){return Y_(this,B_(U_(this._keyMap))(U_(BR)))},[G_](e){return!!qR(e)&&MR(this._keyMap)===MR(e._keyMap)&&J_(this._keyMap,e._keyMap)},toString(){return rC(this.toJSON())},toJSON(){return{_id:"HashSet",values:Array.from(this).map(nC)}},[tC](){return this.toJSON()},pipe(){return cC(this,arguments)}},WR=e=>{const t=Object.create(HR);return t._keyMap=e,t},qR=e=>x_(e,$R),KR=WR(ER()),QR=()=>KR,YR=Jx(2,((e,t)=>OR(e._keyMap,t))),GR=e=>WR(DR(e._keyMap)),JR=e=>(e._keyMap._editable=!1,e),XR=Jx(2,((e,t)=>{const n=GR(e);return t(n),JR(n)})),ZR=Jx(2,((e,t)=>e._keyMap._editable?(RR(t,!0)(e._keyMap),e):WR(RR(t,!0)(e._keyMap)))),eI=Jx(2,((e,t)=>e._keyMap._editable?(jR(t)(e._keyMap),e):WR(jR(t)(e._keyMap)))),tI=Jx(2,((e,t)=>XR(e,(e=>{for(const n of t)eI(e,n)})))),nI=Jx(2,((e,t)=>XR(QR(),(n=>{rI(e,(e=>ZR(n,e)));for(const e of t)ZR(n,e)})))),rI=Jx(2,((e,t)=>UR(e._keyMap,((e,n)=>t(n))))),oI=Jx(3,((e,t,n)=>VR(e._keyMap,t,((e,t,r)=>n(e,r))))),iI=QR,aI=(...e)=>{const t=GR(QR());for(const n of e)ZR(t,n);return JR(t)},sI=YR,lI=e=>MR(e._keyMap),uI=ZR,cI=eI,dI=tI,fI=nI,hI=oI,pI=Symbol.for("effect/MutableRef"),mI={[pI]:pI,toString(){return rC(this.toJSON())},toJSON(){return{_id:"MutableRef",current:nC(this.current)}},[tC](){return this.toJSON()},pipe(){return cC(this,arguments)}},gI=e=>{const t=Object.create(mI);return t.current=e,t},yI=e=>e.current,vI=Jx(2,((e,t)=>(e.current=t,e))),bI="effect/FiberId",wI=Symbol.for(bI),kI="None",SI="Runtime",xI=q_(`${bI}-${kI}`);class _I{id;startTimeMillis;[wI]=wI;_tag=SI;constructor(e,t){this.id=e,this.startTimeMillis=t}[z_](){return Y_(this,q_(`${bI}-${this._tag}-${this.id}-${this.startTimeMillis}`))}[G_](e){return EI(e)&&e._tag===SI&&this.id===e.id&&this.startTimeMillis===e.startTimeMillis}toString(){return rC(this.toJSON())}toJSON(){return{_id:"FiberId",_tag:this._tag,id:this.id,startTimeMillis:this.startTimeMillis}}[tC](){return this.toJSON()}}const CI=new class{[wI]=wI;_tag=kI;id=-1;startTimeMillis=-1;[z_](){return xI}[G_](e){return EI(e)&&e._tag===kI}toString(){return rC(this.toJSON())}toJSON(){return{_id:"FiberId",_tag:this._tag}}[tC](){return this.toJSON()}},EI=e=>x_(e,wI),TI=e=>{switch(e._tag){case kI:return iI();case SI:return aI(e.id);case"Composite":return o_(TI(e.left),fI(TI(e.right)))}},AI=f_(Symbol.for("effect/Fiber/Id/_fiberCounter"),(()=>gI(0))),PI=e=>Array.from(TI(e)).map((e=>`#${e}`)).join(","),OI=CI,RI=PI,II=()=>{const e=yI(AI);return o_(AI,vI(e+1)),new _I(e,Date.now())},LI=ER,MI=AR,DI=RR,FI=LR,NI=FR,jI=zR,zI=VR,UI=Symbol.for("effect/List"),VI=e=>IE(e),BI=(e=>l_(fT(e),VI))(J_),$I={[UI]:UI,_tag:"Cons",toString(){return rC(this.toJSON())},toJSON(){return{_id:"List",_tag:"Cons",values:VI(this).map(nC)}},[tC](){return this.toJSON()},[G_](e){return QI(e)&&this._tag===e._tag&&BI(this,e)},[z_](){return Y_(this,Q_(VI(this)))},[Symbol.iterator](){let e=!1,t=this;return{next(){if(e)return this.return();if("Nil"===t._tag)return e=!0,this.return();const n=t.head;return t=t.tail,{done:e,value:n}},return:t=>(e||(e=!0),{done:!0,value:t})}},pipe(){return cC(this,arguments)}},HI=(e,t)=>{const n=Object.create($I);return n.head=e,n.tail=t,n},WI=q_("Nil"),qI={[UI]:UI,_tag:"Nil",toString(){return rC(this.toJSON())},toJSON:()=>({_id:"List",_tag:"Nil"}),[tC](){return this.toJSON()},[z_]:()=>WI,[G_](e){return QI(e)&&this._tag===e._tag},[Symbol.iterator]:()=>({next:()=>({done:!0,value:void 0})}),pipe(){return cC(this,arguments)}},KI=Object.create(qI),QI=e=>x_(e,UI),YI=e=>"Nil"===e._tag,GI=e=>"Cons"===e._tag,JI=(e,t)=>HI(e,t),XI=()=>KI,ZI=e=>HI(e,KI),eL=Jx(2,((e,t)=>nL(t,e))),tL=Jx(2,((e,t)=>JI(t,e))),nL=Jx(2,((e,t)=>{if(YI(e))return t;if(YI(t))return e;{const n=HI(t.head,e);let r=n,o=t.tail;for(;!YI(o);){const t=HI(o.head,e);r.tail=t,r=t,o=o.tail}return n}})),rL=Jx(3,((e,t,n)=>{let r=t,o=e;for(;!YI(o);)r=n(r,o.head),o=o.tail;return r})),oL=e=>{let t=XI(),n=e;for(;!YI(n);)t=tL(t,n.head),n=n.tail;return t},iL=function(){function e(e){e&&Object.assign(this,e)}return e.prototype=IC,e}();iL.prototype;const aL=Symbol.for("effect/DifferContextPatch");function sL(e){return e}const lL={...iL.prototype,[aL]:{_Value:sL,_Patch:sL}},uL=Object.assign(Object.create(lL),{_tag:"Empty"}),cL=Object.create(uL),dL=()=>cL,fL=Object.assign(Object.create(lL),{_tag:"AndThen"}),hL=Object.assign(Object.create(lL),{_tag:"AddService"}),pL=(e,t)=>{const n=Object.create(hL);return n.key=e,n.service=t,n},mL=Object.assign(Object.create(lL),{_tag:"RemoveService"}),gL=e=>{const t=Object.create(mL);return t.key=e,t},yL=Object.assign(Object.create(lL),{_tag:"UpdateService"}),vL=(e,t)=>{const n=Object.create(yL);return n.key=e,n.update=t,n},bL=Jx(2,((e,t)=>((e,t)=>{const n=Object.create(fL);return n.first=e,n.second=t,n})(e,t))),wL=Jx(2,((e,t)=>{if("Empty"===e._tag)return t;let n=!1,r=rO(e);const o=new Map(t.unsafeMap);for(;gO(r);){const e=vO(r),t=bO(r);switch(e._tag){case"Empty":r=t;break;case"AddService":o.set(e.key,e.service),r=t;break;case"AndThen":r=fO(fO(t,e.second),e.first);break;case"RemoveService":o.delete(e.key),r=t;break;case"UpdateService":o.set(e.key,e.update(o.get(e.key))),n=!0,r=t}}if(!n)return AP(o);const i=new Map;for(const[e]of t.unsafeMap)o.has(e)&&(i.set(e,o.get(e)),o.delete(e));for(const[e,t]of o)i.set(e,t);return AP(i)}));iL.prototype;const kL=Symbol.for("effect/DifferHashSetPatch");function SL(e){return e}const xL={...iL.prototype,[kL]:{_Value:SL,_Key:SL,_Patch:SL}},_L=Object.assign(Object.create(xL),{_tag:"Empty"}),CL=Object.create(_L),EL=()=>CL,TL=Object.assign(Object.create(xL),{_tag:"AndThen"}),AL=Object.assign(Object.create(xL),{_tag:"Add"}),PL=e=>{const t=Object.create(AL);return t.value=e,t},OL=Object.assign(Object.create(xL),{_tag:"Remove"}),RL=Jx(2,((e,t)=>((e,t)=>{const n=Object.create(TL);return n.first=e,n.second=t,n})(e,t))),IL=Jx(2,((e,t)=>{if("Empty"===e._tag)return t;let n=t,r=rO(e);for(;gO(r);){const e=vO(r),t=bO(r);switch(e._tag){case"Empty":r=t;break;case"AndThen":r=fO(e.first)(fO(e.second)(t));break;case"Add":n=uI(e.value)(n),r=t;break;case"Remove":n=cI(e.value)(n),r=t}}return n}));iL.prototype;const LL=Symbol.for("effect/DifferReadonlyArrayPatch");function ML(e){return e}const DL={...iL.prototype,[LL]:{_Value:ML,_Patch:ML}},FL=Object.assign(Object.create(DL),{_tag:"Empty"}),NL=Object.create(FL),jL=()=>NL,zL=Object.assign(Object.create(DL),{_tag:"AndThen"}),UL=Object.assign(Object.create(DL),{_tag:"Append"}),VL=Object.assign(Object.create(DL),{_tag:"Slice"}),BL=Object.assign(Object.create(DL),{_tag:"Update"}),$L=(e,t)=>{const n=Object.create(BL);return n.index=e,n.patch=t,n},HL=Jx(2,((e,t)=>((e,t)=>{const n=Object.create(zL);return n.first=e,n.second=t,n})(e,t))),WL=Jx(3,((e,t,n)=>{if("Empty"===e._tag)return t;let r=t.slice(),o=iT(e);for(;jE(o);){const e=HE(o),t=qE(o);switch(e._tag){case"Empty":o=t;break;case"AndThen":t.unshift(e.first,e.second),o=t;break;case"Append":for(const t of e.values)r.push(t);o=t;break;case"Slice":r=r.slice(e.from,e.until),o=t;break;case"Update":r[e.index]=n.patch(e.patch,r[e.index]),o=t}}return r})),qL=Symbol.for("effect/Differ"),KL={[qL]:{_P:Xx,_V:Xx},pipe(){return cC(this,arguments)}},QL=e=>{const t=Object.create(KL);return t.empty=e.empty,t.diff=e.diff,t.combine=e.combine,t.patch=e.patch,t},YL=()=>GL(((e,t)=>t)),GL=e=>QL({empty:Xx,combine:(e,t)=>e===Xx?t:t===Xx?e:n=>t(e(n)),diff:(e,t)=>J_(e,t)?Xx:Zx(t),patch:(t,n)=>e(n,t(n))}),JL=255,XL=e=>e&JL,ZL=e=>e>>8&JL,eM=(e,t)=>(e&JL)+((t&e&JL)<<8),tM=eM(0,0),nM=Jx(2,((e,t)=>eM(XL(e)&~t,ZL(e)))),rM=Jx(2,((e,t)=>e|t)),oM=e=>lM(e,32),iM=Jx(2,((e,t)=>e|t)),aM=e=>sM(e)&&!fM(e),sM=e=>lM(e,1),lM=Jx(2,((e,t)=>!!(e&t))),uM=(...e)=>e.reduce(((e,t)=>e|t),0),cM=uM(0),dM=e=>lM(e,4),fM=e=>lM(e,16),hM=Jx(2,((e,t)=>eM(e^t,t))),pM=Jx(2,((e,t)=>e&(~XL(t)>>>0&JL|ZL(t))|XL(t)&ZL(t))),mM=QL({empty:tM,diff:(e,t)=>hM(e,t),combine:(e,t)=>rM(t)(e),patch:(e,t)=>pM(t,e)}),gM=e=>eM(e,0),yM=nM,vM=(e,t)=>({_tag:"Par",left:e,right:t}),bM=(e,t)=>({_tag:"Seq",left:e,right:t}),wM=e=>{let t=e,n=CM(),r=XI(),o=XI();for(;;)switch(t._tag){case"Empty":if(YI(r))return[n,o];t=r.head,r=r.tail;break;case"Par":r=JI(t.right,r),t=t.left;break;case"Seq":{const e=t.left,n=t.right;switch(e._tag){case"Empty":t=n;break;case"Par":{const r=e.left,o=e.right;t=vM(bM(r,n),bM(o,n));break}case"Seq":{const r=e.left,o=e.right;t=bM(r,bM(o,n));break}case"Single":t=e,o=JI(n,o)}break}case"Single":if(n=EM(n,t),YI(r))return[n,o];t=r.head,r=r.tail}throw new Error("BUG: BlockedRequests.step - please report an issue at https://github.com/Effect-TS/effect/issues")},kM=(e,t)=>{if(YI(e))return ZI(OM(t));if(AM(t))return e;const n=FM(e.head),r=PM(t);return 1===n.length&&1===r.length&&J_(n[0],r[0])?JI(DM(e.head,OM(t)),e.tail):JI(OM(t),e)},SM=Symbol.for("effect/RequestBlock/RequestBlockParallel"),xM={_R:e=>e};class _M{map;[SM]=xM;constructor(e){this.map=e}}const CM=()=>new _M(LI()),EM=(e,t)=>new _M(NI(e.map,t.dataSource,(e=>kE(_E(e,dO(t.blockedRequest)),(()=>rO(t.blockedRequest)))))),TM=(e,t)=>new _M(zI(e.map,t.map,((e,t,n)=>DI(e,n,vE(MI(e,n),{onNone:()=>t,onSome:e=>pO(t,e)}))))),AM=e=>(e=>e&&uR(e._root))(e.map),PM=e=>Array.from(FI(e.map)),OM=e=>MM(jI(e.map,(e=>rO(e)))),RM=Symbol.for("effect/RequestBlock/RequestBlockSequential"),IM={_R:e=>e};class LM{map;[RM]=IM;constructor(e){this.map=e}}const MM=e=>new LM(e),DM=(e,t)=>new LM(zI(t.map,e.map,((e,t,n)=>DI(e,n,vE(MI(e,n),{onNone:()=>tO(),onSome:e=>pO(e,t)}))))),FM=e=>Array.from(FI(e.map)),NM="Die",jM="Empty",zM="Fail",UM="Interrupt",VM="Parallel",BM="Sequential",$M="effect/Cause",HM=Symbol.for($M),WM={[HM]:{_E:e=>e},[z_](){return o_(U_($M),B_(U_(nD(this))),Y_(this))},[G_](e){return XM(e)&&tD(this,e)},pipe(){return cC(this,arguments)},toJSON(){switch(this._tag){case"Empty":return{_id:"Cause",_tag:this._tag};case"Die":return{_id:"Cause",_tag:this._tag,defect:nC(this.defect)};case"Interrupt":return{_id:"Cause",_tag:this._tag,fiberId:this.fiberId.toJSON()};case"Fail":return{_id:"Cause",_tag:this._tag,failure:nC(this.error)};case"Sequential":case"Parallel":return{_id:"Cause",_tag:this._tag,left:nC(this.left),right:nC(this.right)}}},toString(){return fD(this)},[tC](){return this.toJSON()}},qM=(()=>{const e=Object.create(WM);return e._tag=jM,e})(),KM=e=>{const t=Object.create(WM);return t._tag=zM,t.error=e,t},QM=e=>{const t=Object.create(WM);return t._tag=NM,t.defect=e,t},YM=e=>{const t=Object.create(WM);return t._tag=UM,t.fiberId=e,t},GM=(e,t)=>{const n=Object.create(WM);return n._tag=VM,n.left=e,n.right=t,n},JM=(e,t)=>{const n=Object.create(WM);return n._tag=BM,n.left=e,n.right=t,n},XM=e=>x_(e,HM),ZM=e=>dD(void 0,aD)(e),eD=e=>uD(e,{onEmpty:qM,onFail:()=>qM,onDie:QM,onInterrupt:YM,onSequential:JM,onParallel:GM}),tD=(e,t)=>{let n=rO(e),r=rO(t);for(;gO(n)&&gO(r);){const[e,t]=o_(vO(n),cD([iI(),tO()],(([e,t],n)=>{const[r,o]=iD(n);return mE([o_(e,fI(r)),o_(t,pO(o))])}))),[o,i]=o_(vO(r),cD([iI(),tO()],(([e,t],n)=>{const[r,o]=iD(n);return mE([o_(e,fI(r)),o_(t,pO(o))])})));if(!J_(e,o))return!1;n=t,r=i}return!0},nD=e=>rD(rO(e),tO()),rD=(e,t)=>{for(;;){const[n,r]=o_(e,cT([iI(),tO()],(([e,t],n)=>{const[r,o]=iD(n);return[o_(e,fI(r)),o_(t,pO(o))]}))),o=lI(n)>0?o_(t,fO(n)):t;if(mO(r))return sO(o);e=r,t=o}throw new Error(P_("Cause.flattenCauseLoop"))},oD=Jx(2,((e,t)=>{const n=[e];for(;n.length>0;){const e=n.pop(),r=t(e);switch(r._tag){case"None":switch(e._tag){case BM:case VM:n.push(e.right),n.push(e.left)}break;case"Some":return r}}return pE()})),iD=e=>{let t=e;const n=[];let r=iI(),o=tO();for(;void 0!==t;)switch(t._tag){case jM:if(0===n.length)return[r,o];t=n.pop();break;case zM:if(r=uI(r,nO(t._tag,t.error)),0===n.length)return[r,o];t=n.pop();break;case NM:if(r=uI(r,nO(t._tag,t.defect)),0===n.length)return[r,o];t=n.pop();break;case UM:if(r=uI(r,nO(t._tag,t.fiberId)),0===n.length)return[r,o];t=n.pop();break;case BM:switch(t.left._tag){case jM:t=t.right;break;case BM:t=JM(t.left.left,JM(t.left.right,t.right));break;case VM:t=GM(JM(t.left.left,t.right),JM(t.left.right,t.right));break;default:o=fO(o,t.right),t=t.left}break;case VM:n.push(t.right),t=t.left}throw new Error(P_("Cause.evaluateCauseLoop"))},aD={emptyCase:e_,failCase:t_,dieCase:t_,interruptCase:e_,sequentialCase:(e,t,n)=>t&&n,parallelCase:(e,t,n)=>t&&n},sD="SequentialCase",lD="ParallelCase",uD=Jx(2,((e,{onDie:t,onEmpty:n,onFail:r,onInterrupt:o,onParallel:i,onSequential:a})=>dD(e,void 0,{emptyCase:()=>n,failCase:(e,t)=>r(t),dieCase:(e,n)=>t(n),interruptCase:(e,t)=>o(t),sequentialCase:(e,t,n)=>a(t,n),parallelCase:(e,t,n)=>i(t,n)}))),cD=Jx(3,((e,t,n)=>{let r=t,o=e;const i=[];for(;void 0!==o;){const e=n(r,o);switch(r=yE(e)?e.value:r,o._tag){case BM:case VM:i.push(o.right),o=o.left;break;default:o=void 0}void 0===o&&i.length>0&&(o=i.pop())}return r})),dD=Jx(3,((e,t,n)=>{const r=[e],o=[];for(;r.length>0;){const e=r.pop();switch(e._tag){case jM:o.push(ZC(n.emptyCase(t)));break;case zM:o.push(ZC(n.failCase(t,e.error)));break;case NM:o.push(ZC(n.dieCase(t,e.defect)));break;case UM:o.push(ZC(n.interruptCase(t,e.fiberId)));break;case BM:r.push(e.right),r.push(e.left),o.push(eE({_tag:sD}));break;case VM:r.push(e.right),r.push(e.left),o.push(eE({_tag:lD}))}}const i=[];for(;o.length>0;){const e=o.pop();switch(e._tag){case"Left":switch(e.left._tag){case sD:{const e=i.pop(),r=i.pop(),o=n.sequentialCase(t,e,r);i.push(o);break}case lD:{const e=i.pop(),r=i.pop(),o=n.parallelCase(t,e,r);i.push(o);break}}break;case"Right":i.push(e.right)}}if(0===i.length)throw new Error("BUG: Cause.reduceWithContext - please report an issue at https://github.com/Effect-TS/effect/issues");return i.pop()})),fD=(e,t)=>ZM(e)?"All fibers interrupted without errors.":wD(e).map((e=>!0!==t?.renderErrorCause||void 0===e.cause?e.stack:`${e.stack} {\n${hD(e.cause,"  ")}\n}`)).join("\n"),hD=(e,t)=>{const n=e.stack.split("\n");let r=`${t}[cause]: ${n[0]}`;for(let e=1,o=n.length;e<o;e++)r+=`\n${t}${n[e]}`;return e.cause&&(r+=` {\n${hD(e.cause,`${t}  `)}\n${t}}`),r};class pD extends globalThis.Error{span=void 0;constructor(e){const t="object"==typeof e&&null!==e,n=Error.stackTraceLimit;Error.stackTraceLimit=1,super(mD(e),t&&"cause"in e&&void 0!==e.cause?{cause:new pD(e.cause)}:void 0),""===this.message&&(this.message="An error has occurred"),Error.stackTraceLimit=n,this.name=e instanceof Error?e.name:"Error",t&&(bD in e&&(this.span=e[bD]),Object.keys(e).forEach((t=>{t in this||(this[t]=e[t])}))),this.stack=vD(`${this.name}: ${this.message}`,e instanceof Error&&e.stack?e.stack:"",this.span)}}const mD=e=>{if("string"==typeof e)return e;if("object"==typeof e&&null!==e&&e instanceof Error)return e.message;try{if(x_(e,"toString")&&v_(e.toString)&&e.toString!==Object.prototype.toString&&e.toString!==globalThis.Array.prototype.toString)return e.toString()}catch{}return iC(e)},gD=/\((.*)\)/g,yD=f_("effect/Tracer/spanToTrace",(()=>new WeakMap)),vD=(e,t,n)=>{const r=[e],o=t.startsWith(e)?t.slice(e.length).split("\n"):t.split("\n");for(let e=1;e<o.length;e++)if(o[e].includes(" at new BaseEffectError")||o[e].includes(" at new YieldableError"))e++;else{if(o[e].includes("Generator.next"))break;if(o[e].includes("effect_internal_function"))break;r.push(o[e].replace(/at .*effect_instruction_i.*\((.*)\)/,"at $1").replace(/EffectPrimitive\.\w+/,"<anonymous>"))}if(n){let e=n,t=0;for(;e&&"Span"===e._tag&&t<10;){const n=yD.get(e);if("function"==typeof n){const t=n();if("string"==typeof t){const n=t.matchAll(gD);let o=!1;for(const[,t]of n)o=!0,r.push(`    at ${e.name} (${t})`);o||r.push(`    at ${e.name} (${t.replace(/^at /,"")})`)}else r.push(`    at ${e.name}`)}else r.push(`    at ${e.name}`);e=xE(e.parent),t++}}return r.join("\n")},bD=Symbol.for("effect/SpanAnnotation"),wD=e=>dD(e,void 0,{emptyCase:()=>[],dieCase:(e,t)=>[new pD(t)],failCase:(e,t)=>[new pD(t)],interruptCase:()=>[],parallelCase:(e,t,n)=>[...t,...n],sequentialCase:(e,t,n)=>[...t,...n]}),kD="Pending",SD="Done",xD=Symbol.for("effect/Deferred"),_D={_E:e=>e,_A:e=>e};class CD{self;called=!1;constructor(e){this.self=e}next(e){return this.called?{value:e,done:!0}:(this.called=!0,{value:this.self,done:!1})}return(e){return{value:e,done:!0}}throw(e){throw e}[Symbol.iterator](){return new CD(this.self)}}const ED=(e,t)=>{const n=new PD("Blocked");return n.effect_instruction_i0=e,n.effect_instruction_i1=t,n},TD=Symbol.for("effect/Effect");class AD{patch;op;_op=CC;constructor(e,t){this.patch=e,this.op=t}}class PD{_op;effect_instruction_i0=void 0;effect_instruction_i1=void 0;effect_instruction_i2=void 0;trace=void 0;[TD]=OC;constructor(e){this._op=e}[G_](e){return this===e}[z_](){return Y_(this,V_(this))}pipe(){return cC(this,arguments)}toJSON(){return{_id:"Effect",_op:this._op,effect_instruction_i0:nC(this.effect_instruction_i0),effect_instruction_i1:nC(this.effect_instruction_i1),effect_instruction_i2:nC(this.effect_instruction_i2)}}toString(){return rC(this.toJSON())}[tC](){return this.toJSON()}[Symbol.iterator](){return new CD(new M_(this))}}class OD{_op;effect_instruction_i0=void 0;effect_instruction_i1=void 0;effect_instruction_i2=void 0;trace=void 0;[TD]=OC;constructor(e){this._op=e,this._tag=e}[G_](e){return fN(e)&&"Failure"===e._op&&J_(this.effect_instruction_i0,e.effect_instruction_i0)}[z_](){return o_(q_(this._tag),B_(U_(this.effect_instruction_i0)),Y_(this))}get cause(){return this.effect_instruction_i0}pipe(){return cC(this,arguments)}toJSON(){return{_id:"Exit",_tag:this._op,cause:this.cause.toJSON()}}toString(){return rC(this.toJSON())}[tC](){return this.toJSON()}[Symbol.iterator](){return new CD(new M_(this))}}class RD{_op;effect_instruction_i0=void 0;effect_instruction_i1=void 0;effect_instruction_i2=void 0;trace=void 0;[TD]=OC;constructor(e){this._op=e,this._tag=e}[G_](e){return fN(e)&&"Success"===e._op&&J_(this.effect_instruction_i0,e.effect_instruction_i0)}[z_](){return o_(q_(this._tag),B_(U_(this.effect_instruction_i0)),Y_(this))}get value(){return this.effect_instruction_i0}pipe(){return cC(this,arguments)}toJSON(){return{_id:"Exit",_tag:this._op,value:nC(this.value)}}toString(){return rC(this.toJSON())}[tC](){return this.toJSON()}[Symbol.iterator](){return new CD(new M_(this))}}const ID=e=>x_(e,TD),LD=e=>{const t=new PD(xC);return t.effect_instruction_i0=e,t},MD=Jx(3,((e,t,n)=>vF((r=>ZD(e,(e=>ZD(qD(pF((()=>r(t(e))))),(t=>pF((()=>n(e,t))).pipe(rF({onFailure:e=>{switch(t._tag){case hC:return YD(JM(t.effect_instruction_i0,e));case yC:return YD(e)}},onSuccess:()=>t})))))))))),DD=Jx(2,((e,t)=>ZD(e,(()=>hF(t))))),FD=e=>DD(e,void 0),ND=function(){const e=new PD(fC);switch(arguments.length){case 2:e.effect_instruction_i0=arguments[0],e.commit=arguments[1];break;case 3:e.effect_instruction_i0=arguments[0],e.effect_instruction_i1=arguments[1],e.commit=arguments[2];break;case 4:e.effect_instruction_i0=arguments[0],e.effect_instruction_i1=arguments[1],e.effect_instruction_i2=arguments[2],e.commit=arguments[3];break;default:throw new Error(P_("you're not supposed to end up here"))}return e},jD=(e,t=OI)=>{const n=new PD(dC);let r;return n.effect_instruction_i0=t=>{r=e(t)},n.effect_instruction_i1=t,fF(n,(e=>ID(r)?r:bF))},zD=(e,t=OI)=>ND(e,(function(){let e,n;function r(t){e?e(t):void 0===n&&(n=t)}const o=new PD(dC);let i,a;return o.effect_instruction_i0=t=>{e=t,n&&t(n)},o.effect_instruction_i1=t,1!==this.effect_instruction_i0.length?(a=new AbortController,i=N_((()=>this.effect_instruction_i0(r,a.signal)))):i=N_((()=>this.effect_instruction_i0(r))),i||a?fF(o,(e=>(a&&a.abort(),i??bF))):o})),UD=Jx(2,((e,t)=>oF(e,{onFailure:t,onSuccess:hF}))),VD=Symbol.for("effect/OriginalAnnotation"),BD=(e,t)=>yE(t)?new Proxy(e,{has:(e,t)=>t===bD||t===VD||t in e,get:(n,r)=>r===bD?t.value:r===VD?e:n[r]}):e,$D=e=>S_(e)&&!(bD in e)?LD((t=>YD(QM(BD(e,ON(t)))))):YD(QM(e)),HD=e=>GD((()=>QM(new iN(e)))),WD=e=>oF(e,{onFailure:e=>hF(eE(e)),onSuccess:e=>hF(ZC(e))}),qD=e=>nF(e,{onFailure:mN,onSuccess:vN}),KD=e=>S_(e)&&!(bD in e)?LD((t=>YD(KM(BD(e,ON(t)))))):YD(KM(e)),QD=e=>ZD(mF(e),KD),YD=e=>{const t=new OD(hC);return t.effect_instruction_i0=e,t},GD=e=>ZD(mF(e),YD),JD=LD((e=>hF(e.id()))),XD=e=>LD((t=>e(t.id()))),ZD=Jx(2,((e,t)=>{const n=new PD(mC);return n.effect_instruction_i0=e,n.effect_instruction_i1=t,n})),eF=e=>{const t=new PD("OnStep");return t.effect_instruction_i0=e,t},tF=e=>ZD(e,Xx),nF=Jx(2,((e,t)=>rF(e,{onFailure:e=>hF(t.onFailure(e)),onSuccess:e=>hF(t.onSuccess(e))}))),rF=Jx(2,((e,t)=>{const n=new PD(gC);return n.effect_instruction_i0=e,n.effect_instruction_i1=t.onFailure,n.effect_instruction_i2=t.onSuccess,n})),oF=Jx(2,((e,t)=>rF(e,{onFailure:e=>{const n=(e=>sO(cD(e,tO(),((e,t)=>t._tag===NM?mE(o_(e,fO(t.defect))):pE()))))(e);if(n.length>0)return YD((e=>uD(e,{onEmpty:qM,onFail:QM,onDie:QM,onInterrupt:YM,onSequential:JM,onParallel:GM}))(e));const r=(e=>sO(cD(e,tO(),((e,t)=>t._tag===zM?mE(o_(e,fO(t.error))):pE()))))(e);return r.length>0?t.onFailure(yO(r)):YD(e)},onSuccess:t.onSuccess}))),iF=Jx(2,((e,t)=>pF((()=>{const n=IE(e),r=OE(n.length);let o=0;return DD(wF({while:()=>o<n.length,body:()=>t(n[o],o),step:e=>{r[o++]=e}}),r)})))),aF=Jx(2,((e,t)=>pF((()=>{const n=IE(e);let r=0;return wF({while:()=>r<n.length,body:()=>t(n[r],r),step:()=>{r++}})})))),sF=e=>{const t=new PD(wC);return t.effect_instruction_i0=(e=>eM(e,e))(1),t.effect_instruction_i1=()=>e,t},lF=Jx(2,((e,t)=>ZD(e,(e=>mF((()=>t(e))))))),uF=Jx(2,((e,t)=>oF(e,{onFailure:e=>QD((()=>t.onFailure(e))),onSuccess:e=>mF((()=>t.onSuccess(e)))}))),cF=Jx(2,((e,t)=>rF(e,{onFailure:e=>{const n=(e=>{const t=(e=>oD(e,(e=>e._tag===zM?mE(e.error):pE())))(e);switch(t._tag){case"None":return ZC(e);case"Some":return eE(t.value)}})(e);switch(n._tag){case"Left":return QD((()=>t(n.left)));case"Right":return YD(n.right)}},onSuccess:hF}))),dF=Jx(2,((e,t)=>vF((n=>rF(n(e),{onFailure:e=>{const n=mN(e);return rF(t(n),{onFailure:t=>mN(JM(e,t)),onSuccess:()=>n})},onSuccess:e=>{const n=vN(e);return _F(t(n),n)}}))))),fF=Jx(2,((e,t)=>dF(e,yN({onFailure:e=>ZM(e)?FD(t((e=>cD(e,iI(),((e,t)=>t._tag===UM?mE(o_(e,uI(t.fiberId))):pE())))(e))):bF,onSuccess:()=>bF})))),hF=e=>{const t=new RD(yC);return t.effect_instruction_i0=e,t},pF=e=>{const t=new PD(fC);return t.commit=e,t},mF=e=>{const t=new PD(vC);return t.effect_instruction_i0=e,t},gF=Jx((e=>3===e.length||2===e.length&&!(S_(e[1])&&"onlyEffect"in e[1])),((e,t)=>ZD(e,(e=>{const n="function"==typeof t?t(e):t;return ID(n)?DD(n,e):x_(r=n,"then")&&v_(r.then)?jD((t=>{n.then((n=>t(hF(e))),(e=>t(KD(new dN(e,"An unknown error occurred in Effect.tap")))))})):hF(e);var r})))),yF=e=>{const t=new PD(wC);return t.effect_instruction_i0=gM(1),t.effect_instruction_i1=()=>e,t},vF=e=>ND(e,(function(){const e=new PD(wC);return e.effect_instruction_i0=gM(1),e.effect_instruction_i1=e=>sM(e)?N_((()=>this.effect_instruction_i0(sF))):N_((()=>this.effect_instruction_i0(yF))),e})),bF=hF(void 0),wF=e=>{const t=new PD(kC);return t.effect_instruction_i0=e.while,t.effect_instruction_i1=e.body,t.effect_instruction_i2=e.step,t},kF=e=>{const t=new PD(_C);return void 0!==e?.priority?KF(t,e.priority):t},SF=Jx(2,((e,t)=>ZD(e,(e=>lF(t,(t=>[e,t])))))),xF=Jx(2,((e,t)=>ZD(e,(e=>DD(t,e))))),_F=Jx(2,((e,t)=>ZD(e,(()=>t)))),CF=Jx(2,((e,t)=>ZD(e.interruptAsFork(t),(()=>e.await)))),EF=(Number.MIN_SAFE_INTEGER,{_tag:"Warning",syslog:4,label:"WARN",ordinal:3e4,pipe(){return cC(this,arguments)}}),TF={_tag:"Info",syslog:6,label:"INFO",ordinal:2e4,pipe(){return cC(this,arguments)}},AF={_tag:"Debug",syslog:7,label:"DEBUG",ordinal:1e4,pipe(){return cC(this,arguments)}},PF=(Number.MAX_SAFE_INTEGER,Symbol.for("effect/FiberRef")),OF={_A:e=>e},RF=e=>LD((t=>vN(t.getFiberRef(e)))),IF=Jx(2,((e,t)=>ZD(RF(e),t))),LF=Jx(2,((e,t)=>MF(e,(()=>[void 0,t])))),MF=Jx(2,((e,t)=>LD((n=>{const[r,o]=t(n.getFiberRef(e));return n.setFiberRef(e,o),hF(r)})))),DF=Jx(3,((e,t,n)=>MD(xF(RF(t),LF(t,n)),(()=>e),(e=>LF(t,e))))),FF=(e,t)=>UF(e,{differ:YL(),fork:t?.fork??Xx,join:t?.join}),NF=e=>{const t=QL({empty:EL(),combine:(e,t)=>RL(t)(e),diff:(e,t)=>((e,t)=>{const[n,r]=hI([e,EL()],(([e,t],n)=>sI(n)(e)?[cI(n)(e),t]:[e,RL(PL(n))(t)]))(t);return hI(r,((e,t)=>RL((e=>{const t=Object.create(OL);return t.value=e,t})(t))(e)))(n)})(e,t),patch:(e,t)=>IL(t)(e)});return UF(e,{differ:t,fork:t.empty})},jF=e=>{const t=(e=>QL({empty:jL(),combine:(e,t)=>HL(e,t),diff:(t,n)=>(e=>{let t=0,n=jL();for(;t<e.oldValue.length&&t<e.newValue.length;){const r=e.oldValue[t],o=e.newValue[t],i=e.differ.diff(r,o);J_(i,e.differ.empty)||(n=HL(n,$L(t,i))),t+=1}return t<e.oldValue.length&&(n=HL(n,((e,t)=>{const n=Object.create(VL);return n.from=0,n.until=t,n})(0,t))),t<e.newValue.length&&(n=HL(n,(e=>{const t=Object.create(UL);return t.values=e,t})(QE(t)(e.newValue)))),n})({oldValue:t,newValue:n,differ:e}),patch:(t,n)=>WL(t,n,e)}))(YL());return UF(e,{differ:t,fork:t.empty})},zF=e=>{const t=QL({empty:dL(),combine:(e,t)=>bL(t)(e),diff:(e,t)=>((e,t)=>{const n=new Map(e.unsafeMap);let r=dL();for(const[e,o]of t.unsafeMap.entries())if(n.has(e)){const t=n.get(e);n.delete(e),J_(t,o)||(r=bL(vL(e,(()=>o)))(r))}else n.delete(e),r=bL(pL(e,o))(r);for(const[e]of n.entries())r=bL(gL(e))(r);return r})(e,t),patch:(e,t)=>wL(t)(e)});return UF(e,{differ:t,fork:t.empty})},UF=(e,t)=>{const n={...LC,[PF]:OF,initial:e,commit(){return RF(this)},diff:(e,n)=>t.differ.diff(e,n),combine:(e,n)=>t.differ.combine(e,n),patch:e=>n=>t.differ.patch(e,n),fork:t.fork,join:t.join??((e,t)=>t)};return n},VF=f_(Symbol.for("effect/FiberRef/currentContext"),(()=>zF(UP()))),BF=f_(Symbol.for("effect/FiberRef/currentSchedulingPriority"),(()=>FF(0))),$F=f_(Symbol.for("effect/FiberRef/currentMaxOpsBeforeYield"),(()=>FF(2048))),HF=f_(Symbol.for("effect/FiberRef/currentLogAnnotation"),(()=>FF(LI()))),WF=f_(Symbol.for("effect/FiberRef/currentLogLevel"),(()=>FF(TF))),qF=f_(Symbol.for("effect/FiberRef/currentLogSpan"),(()=>FF(XI()))),KF=Jx(2,((e,t)=>DF(e,BF,t))),QF=f_(Symbol.for("effect/FiberRef/currentConcurrency"),(()=>FF("unbounded"))),YF=f_(Symbol.for("effect/FiberRef/currentRequestBatching"),(()=>FF(!0))),GF=f_(Symbol.for("effect/FiberRef/currentUnhandledErrorLogLevel"),(()=>FF(mE(AF)))),JF=f_(Symbol.for("effect/FiberRef/versionMismatchErrorLogLevel"),(()=>FF(mE(EF)))),XF=f_(Symbol.for("effect/FiberRef/currentMetricLabels"),(()=>jF([]))),ZF=f_(Symbol.for("effect/FiberRef/currentForkScopeOverride"),(()=>FF(pE(),{fork:()=>pE(),join:(e,t)=>e}))),eN=f_(Symbol.for("effect/FiberRef/currentInterruptedCause"),(()=>FF(qM,{fork:()=>qM,join:(e,t)=>e}))),tN=(e,t)=>e.fork(t),nN=function(){class e extends globalThis.Error{commit(){return KD(this)}toJSON(){const e={...this};return this.message&&(e.message=this.message),this.cause&&(e.cause=this.cause),e}[tC](){return this.toString!==globalThis.Error.prototype.toString?this.stack?`${this.toString()}\n${this.stack.split("\n").slice(1).join("\n")}`:this.toString():"Bun"in globalThis?fD(KM(this),{renderErrorCause:!0}):this}}return Object.assign(e.prototype,MC),e}(),rN=(e,t)=>{class n extends nN{_tag=t}return Object.assign(n.prototype,e),n.prototype.name=t,n},oN=Symbol.for("effect/Cause/errors/RuntimeException"),iN=rN({[oN]:oN},"RuntimeException"),aN=Symbol.for("effect/Cause/errors/InterruptedException"),sN=e=>x_(e,aN),lN=Symbol.for("effect/Cause/errors/NoSuchElement"),uN=rN({[lN]:lN},"NoSuchElementException"),cN=Symbol.for("effect/Cause/errors/UnknownException"),dN=function(){class e extends nN{_tag="UnknownException";error;constructor(e,t){super(t??"An unknown error occurred",{cause:e}),this.error=e}}return Object.assign(e.prototype,{[cN]:cN,name:"UnknownException"}),e}(),fN=e=>ID(e)&&"_tag"in e&&("Success"===e._tag||"Failure"===e._tag),hN=(e,t)=>kN(e,t?.parallel?GM:JM),pN=e=>mN(KM(e)),mN=e=>{const t=new OD(hC);return t.effect_instruction_i0=e,t},gN=Jx(2,((e,t)=>{switch(e._tag){case hC:return mN(e.effect_instruction_i0);case yC:return vN(t(e.effect_instruction_i0))}})),yN=Jx(2,((e,{onFailure:t,onSuccess:n})=>{switch(e._tag){case hC:return t(e.effect_instruction_i0);case yC:return n(e.effect_instruction_i0)}})),vN=e=>{const t=new RD(yC);return t.effect_instruction_i0=e,t},bN=vN(void 0),wN=Jx(3,((e,t,{onFailure:n,onSuccess:r})=>{switch(e._tag){case hC:switch(t._tag){case yC:return mN(e.effect_instruction_i0);case hC:return mN(n(e.effect_instruction_i0,t.effect_instruction_i0))}case yC:switch(t._tag){case yC:return vN(r(e.effect_instruction_i0,t.effect_instruction_i0));case hC:return mN(t.effect_instruction_i0)}}})),kN=(e,t)=>{const n=oO(e);return gO(n)?o_(bO(n),cT(o_(vO(n),gN(rO)),((e,n)=>o_(e,wN(n,{onSuccess:(e,t)=>o_(e,fO(t)),onFailure:t})))),gN(sO),gN((e=>aO(e))),mE):pE()},SN=e=>{var t;return{...LC,[xD]:_D,state:gI((t=[],{_tag:kD,joiners:t})),commit(){return xN(this)},blockingOn:e}},xN=e=>((e,t=OI)=>pF((()=>jD(e,t))))((t=>{const n=yI(e.state);switch(n._tag){case SD:return t(n.effect);case kD:return n.joiners.push(t),CN(e,t)}}),e.blockingOn),_N=(e,t)=>{const n=yI(e.state);if(n._tag===kD){vI(e.state,(e=>({_tag:SD,effect:e}))(t));for(let e=0,r=n.joiners.length;e<r;e++)n.joiners[e](t)}},CN=(e,t)=>mF((()=>{const n=yI(e.state);if(n._tag===kD){const e=n.joiners.indexOf(t);e>=0&&n.joiners.splice(e,1)}})),EN=LD((e=>vN(e.currentContext))),TN=e=>ZD(EN,e),AN=Jx(2,((e,t)=>DF(VF,t)(e))),PN=Jx(2,((e,t)=>TN((n=>AN(e,t(n)))))),ON=e=>{const t=e.currentSpan;return void 0!==t&&"Span"===t._tag?mE(t):pE()},RN=Symbol.for("effect/MutableHashMap"),IN={[RN]:RN,[Symbol.iterator](){return new LN(this)},toString(){return rC(this.toJSON())},toJSON(){return{_id:"MutableHashMap",values:Array.from(this).map(nC)}},[tC](){return this.toJSON()},pipe(){return cC(this,arguments)}};class LN{self;referentialIterator;bucketIterator;constructor(e){this.self=e,this.referentialIterator=e.referential[Symbol.iterator]()}next(){if(void 0!==this.bucketIterator)return this.bucketIterator.next();const e=this.referentialIterator.next();return e.done?(this.bucketIterator=new MN(this.self.buckets.values()),this.next()):e}[Symbol.iterator](){return new LN(this.self)}}class MN{backing;constructor(e){this.backing=e}currentBucket;next(){if(void 0===this.currentBucket){const e=this.backing.next();if(e.done)return e;this.currentBucket=e.value[Symbol.iterator]()}const e=this.currentBucket.next();return e.done?(this.currentBucket=void 0,this.next()):e}}const DN=Jx(2,((e,t)=>{if(!1===Z_(t))return e.referential.has(t)?mE(e.referential.get(t)):pE();const n=t[z_](),r=e.buckets.get(n);return void 0===r?pE():FN(e,r,t)})),FN=(e,t,n,r=!1)=>{for(let o=0,i=t.length;o<i;o++)if(n[G_](t[o][0])){const n=t[o][1];return r&&(t.splice(o,1),e.bucketsSize--),mE(n)}return pE()},NN=Jx(2,((e,t)=>yE(DN(e,t)))),jN=Jx(3,((e,t,n)=>{if(!1===Z_(t))return e.referential.set(t,n),e;const r=t[z_](),o=e.buckets.get(r);return void 0===o?(e.buckets.set(r,[[t,n]]),e.bucketsSize++,e):(zN(e,o,t),o.push([t,n]),e.bucketsSize++,e)})),zN=(e,t,n)=>{for(let r=0,o=t.length;r<o;r++)if(n[G_](t[r][0]))return t.splice(r,1),void e.bucketsSize--},UN=Symbol.for("effect/Clock"),VN=zP("effect/Clock"),BN={unsafeSchedule(e,t){const n=HO(t);if(n>2147483647)return t_;let r=!1;const o=setTimeout((()=>{r=!0,e()}),n);return()=>(clearTimeout(o),!r)}},$N=(()=>{const e=BigInt(1e6);if("undefined"==typeof performance)return()=>BigInt(Date.now())*e;let t;return()=>(void 0===t&&(t=BigInt(Date.now())*e-BigInt(Math.round(1e6*performance.now()))),t+BigInt(Math.round(1e6*performance.now())))})(),HN=(()=>{const e="object"==typeof process&&"hrtime"in process&&"function"==typeof process.hrtime.bigint?process.hrtime:void 0;if(!e)return $N;const t=$N()-e.bigint();return()=>t+e.bigint()})();class WN{[UN]=UN;unsafeCurrentTimeMillis(){return Date.now()}unsafeCurrentTimeNanos(){return HN()}currentTimeMillis=mF((()=>this.unsafeCurrentTimeMillis()));currentTimeNanos=mF((()=>this.unsafeCurrentTimeNanos()));scheduler(){return hF(BN)}sleep(e){return zD((t=>{const n=BN.unsafeSchedule((()=>t(bF)),e);return FD(mF(n))}))}}const qN="InvalidData",KN="MissingData",QN="SourceUnavailable",YN="Unsupported",GN=Symbol.for("effect/ConfigError"),JN={_tag:"ConfigError",[GN]:GN},XN=(e,t)=>{const n=Object.create(JN);return n._op="And",n.left=e,n.right=t,Object.defineProperty(n,"toString",{enumerable:!1,value(){return`${this.left} and ${this.right}`}}),Object.defineProperty(n,"message",{enumerable:!1,get(){return this.toString()}}),n},ZN=(e,t)=>{const n=Object.create(JN);return n._op="Or",n.left=e,n.right=t,Object.defineProperty(n,"toString",{enumerable:!1,value(){return`${this.left} or ${this.right}`}}),Object.defineProperty(n,"message",{enumerable:!1,get(){return this.toString()}}),n},ej=(e,t,n={pathDelim:"."})=>{const r=Object.create(JN);return r._op=qN,r.path=e,r.message=t,Object.defineProperty(r,"toString",{enumerable:!1,value(){return`(Invalid data at ${o_(this.path,mT(n.pathDelim))}: "${this.message}")`}}),r},tj=(e,t,n={pathDelim:"."})=>{const r=Object.create(JN);return r._op=KN,r.path=e,r.message=t,Object.defineProperty(r,"toString",{enumerable:!1,value(){return`(Missing data at ${o_(this.path,mT(n.pathDelim))}: "${this.message}")`}}),r},nj=(e,t,n,r={pathDelim:"."})=>{const o=Object.create(JN);return o._op=QN,o.path=e,o.message=t,o.cause=n,Object.defineProperty(o,"toString",{enumerable:!1,value(){return`(Source unavailable at ${o_(this.path,mT(r.pathDelim))}: "${this.message}")`}}),o},rj=(e,t,n={pathDelim:"."})=>{const r=Object.create(JN);return r._op=YN,r.path=e,r.message=t,Object.defineProperty(r,"toString",{enumerable:!1,value(){return`(Unsupported operation at ${o_(this.path,mT(n.pathDelim))}: "${this.message}")`}}),r},oj=Jx(2,((e,t)=>{switch(e._op){case"And":return XN(oj(e.left,t),oj(e.right,t));case"Or":return ZN(oj(e.left,t),oj(e.right,t));case qN:return ej([...t,...e.path],e.message);case KN:return tj([...t,...e.path],e.message);case QN:return nj([...t,...e.path],e.message,e.cause);case YN:return rj([...t,...e.path],e.message)}})),ij={_tag:"Empty"},aj=Jx(2,((e,t)=>{let n=ZI(t),r=e;for(;GI(n);){const e=n.head;switch(e._tag){case"Empty":n=n.tail;break;case"AndThen":n=JI(e.first,JI(e.second,n.tail));break;case"MapName":r=aT(r,e.f),n=n.tail;break;case"Nested":r=ME(r,e.name),n=n.tail;break;case"Unnested":if(!o_($E(r),TE(e.name)))return eE(tj(r,`Expected ${e.name} to be in path in ConfigProvider#unnested`));r=qE(r),n=n.tail}}return ZC(r)})),sj=(e,t)=>[...e,...t],lj=Symbol.for("effect/ConfigProvider"),uj=zP("effect/ConfigProvider"),cj=Symbol.for("effect/ConfigProviderFlat"),dj=e=>({[lj]:lj,pipe(){return cC(this,arguments)},...e}),fj=(e,t,n,r)=>{const o=n;switch(o._tag){case"Constant":return hF(iT(o.value));case"Described":return pF((()=>fj(e,t,o.config,r)));case"Fail":return KD(tj(t,o.message));case"Fallback":return o_(pF((()=>fj(e,t,o.first,r))),UD((n=>o.condition(n)?o_(fj(e,t,o.second,r),UD((e=>KD(ZN(n,e))))):KD(n))));case"Lazy":return pF((()=>fj(e,t,o.config(),r)));case"MapOrFail":return pF((()=>o_(fj(e,t,o.original,r),ZD(iF((e=>o_(o.mapOrFail(e),cF(oj(((e,t)=>{let n=t;if("Nested"===n._tag){const t=e.slice();for(;"Nested"===n._tag;)t.push(n.name),n=n.config;return t}return e})(t,o.original))))))))));case"Nested":return pF((()=>fj(e,sj(t,iT(o.name)),o.config,r)));case"Primitive":return o_(aj(t,e.patch),ZD((t=>o_(e.load(t,o,r),ZD((e=>{if(0===e.length){const e=o_((e=>zE(e)?mE(WE(e)):pE())(t),bE((()=>"<n/a>")));return KD(tj([],`Expected ${o.description} with name ${e}`))}return hF(e)}))))));case"Sequence":return o_(aj(t,e.patch),ZD((n=>o_(e.enumerateChildren(n),ZD(gj),ZD((n=>0===n.length?pF((()=>lF(fj(e,t,o.config,!0),iT))):o_(iF(n,(n=>fj(e,DE(t,`[${n}]`),o.config,!0))),lF((e=>{const t=lT(e);return 0===t.length?iT([]):iT(t)})))))))));case"HashMap":return pF((()=>o_(aj(t,e.patch),ZD((t=>o_(e.enumerateChildren(t),ZD((n=>o_(n,iF((n=>fj(e,sj(t,iT(n)),o.valueConfig,r))),lF((e=>0===e.length?iT(LI()):o_(mj(e),aT((e=>(e=>{const t=DR(ER());for(const n of e)RR(t,n[0],n[1]);return(e=>(e._editable=!1,e))(t)})(JE(IE(n),e))))))))))))))));case"ZipWith":return pF((()=>o_(fj(e,t,o.left,r),WD,ZD((n=>o_(fj(e,t,o.right,r),WD,ZD((e=>{if(nE(n)&&nE(e))return KD(XN(n.left,e.left));if(nE(n)&&rE(e))return KD(n.left);if(rE(n)&&nE(e))return KD(e.left);if(rE(n)&&rE(e)){const r=o_(t,mT(".")),i=hj(t,r),[a,s]=((e,t,n,r)=>{const o=dT(n.length,(t=>t>=r.length?pE():mE([e(t),t+1]))),i=dT(r.length,(e=>e>=n.length?pE():mE([t(e),e+1])));return[sj(n,o),sj(r,i)]})(i,i,o_(n.right,aT(ZC)),o_(e.right,aT(ZC)));return o_(a,JE(s),iF((([e,t])=>o_(SF(e,t),lF((([e,t])=>o.zip(e,t)))))))}throw new Error("BUG: ConfigProvider.fromFlatLoop - please report an issue at https://github.com/Effect-TS/effect/issues")}))))))))}},hj=(e,t)=>n=>eE(tj(e,`The element at index ${n} in a sequence at path "${t}" was missing`)),pj=(e,t,n,r,o)=>o?o_(((e,t)=>e.split(new RegExp(`\\s*${RT(t)}\\s*`)))(e,r),iF((e=>n.parse(e.trim()))),cF(oj(t))):o_(n.parse(e),uF({onFailure:oj(t),onSuccess:iT})),mj=e=>Object.keys(e[0]).map((t=>e.map((e=>e[t])))),gj=e=>o_(iF(e,vj),uF({onFailure:()=>[],onSuccess:GE(OT)}),WD,lF(sE)),yj=/^(\[(\d+)\])$/,vj=e=>{const t=e.match(yj);if(null!==t){const e=t[2];return o_(void 0!==e&&e.length>0?mE(e):pE(),CE(bj))}return pE()},bj=e=>{const t=Number.parseInt(e);return Number.isNaN(t)?pE():mE(t)},wj=Symbol.for("effect/Console"),kj=zP("effect/Console"),Sj={[wj]:wj,assert:(e,...t)=>mF((()=>{console.assert(e,...t)})),clear:mF((()=>{console.clear()})),count:e=>mF((()=>{console.count(e)})),countReset:e=>mF((()=>{console.countReset(e)})),debug:(...e)=>mF((()=>{console.debug(...e)})),dir:(e,t)=>mF((()=>{console.dir(e,t)})),dirxml:(...e)=>mF((()=>{console.dirxml(...e)})),error:(...e)=>mF((()=>{console.error(...e)})),group:e=>mF(e?.collapsed?()=>console.groupCollapsed(e?.label):()=>console.group(e?.label)),groupEnd:mF((()=>{console.groupEnd()})),info:(...e)=>mF((()=>{console.info(...e)})),log:(...e)=>mF((()=>{console.log(...e)})),table:(e,t)=>mF((()=>{console.table(e,t)})),time:e=>mF((()=>console.time(e))),timeEnd:e=>mF((()=>console.timeEnd(e))),timeLog:(e,...t)=>mF((()=>{console.timeLog(e,...t)})),trace:(...e)=>mF((()=>{console.trace(...e)})),warn:(...e)=>mF((()=>{console.warn(...e)})),unsafe:console},xj=Symbol.for("effect/Random"),_j=zP("effect/Random");class Cj{seed;[xj]=xj;PRNG;constructor(e){this.seed=e,this.PRNG=new R_(e)}get next(){return mF((()=>this.PRNG.number()))}get nextBoolean(){return lF(this.next,(e=>e>.5))}get nextInt(){return mF((()=>this.PRNG.integer(Number.MAX_SAFE_INTEGER)))}nextRange(e,t){return lF(this.next,(n=>(t-e)*n+e))}nextIntBetween(e,t){return mF((()=>this.PRNG.integer(t-e)+e))}shuffle(e){return Ej(e,(e=>this.nextIntBetween(0,e)))}}const Ej=(e,t)=>pF((()=>o_(mF((()=>Array.from(e))),ZD((e=>{const n=[];for(let t=e.length;t>=2;t-=1)n.push(t);return o_(n,aF((n=>o_(t(n),lF((t=>Tj(e,n-1,t)))))),DD(oO(e)))}))))),Tj=(e,t,n)=>{const r=e[t];return e[t]=e[n],e[n]=r,e},Aj=Symbol.for("effect/Tracer"),Pj=zP("effect/Tracer"),Oj=zP("effect/ParentSpan"),Rj=e=>{let t="";for(let n=0;n<e;n++)t+="abcdef0123456789".charAt(Math.floor(16*Math.random()));return t};class Ij{name;parent;context;startTime;kind;_tag="Span";spanId;traceId="native";sampled=!0;status;attributes;events=[];links;constructor(e,t,n,r,o,i){this.name=e,this.parent=t,this.context=n,this.startTime=o,this.kind=i,this.status={_tag:"Started",startTime:o},this.attributes=new Map,this.traceId="Some"===t._tag?t.value.traceId:Rj(32),this.spanId=Rj(16),this.links=Array.from(r)}end(e,t){this.status={_tag:"Ended",endTime:e,exit:t,startTime:this.status.startTime}}attribute(e,t){this.attributes.set(e,t)}event(e,t,n){this.events.push([e,t,n??{}])}addLinks(e){this.links.push(...e)}}const Lj=(e=>({[Aj]:Aj,...e}))({span:(e,t,n,r,o,i)=>new Ij(e,t,n,r,o,i),context:e=>e()}),Mj=o_(UP(),BP(VN,new WN),BP(kj,Sj),BP(_j,(e=>new Cj(U_(e)))(Math.random())),BP(uj,(e=>{const{pathDelim:t,seqDelim:n}=Object.assign({},{pathDelim:"_",seqDelim:","},e),r=()=>"undefined"!=typeof process&&"env"in process&&"object"==typeof process.env?process.env:{};return o=(e=>({[cj]:cj,patch:e.patch,load:(t,n,r=!0)=>e.load(t,n,r),enumerateChildren:e.enumerateChildren}))({load:(e,o,i=!0)=>{const a=(e=>o_(e,mT(t)))(e),s=r();return o_(a in s?mE(s[a]):pE(),cF((()=>tj(e,`Expected ${a} to exist in the process context`))),ZD((t=>pj(t,e,o,n,i))))},enumerateChildren:e=>mF((()=>{const n=r(),o=Object.keys(n).map((e=>e.toUpperCase().split(t))).filter((t=>{for(let n=0;n<e.length;n++){const r=o_(e,BE(n)),o=t[n];if(void 0===o||r!==o)return!1}return!0})).flatMap((t=>t.slice(e.length,e.length+1)));return(e=>{const t=GR(QR());for(const n of e)ZR(t,n);return JR(t)})(o)})),patch:ij}),dj({load:e=>ZD(fj(o,[],e,!1),(t=>vE($E(t),{onNone:()=>KD(tj([],`Expected a single value having structure: ${e}`)),onSome:hF}))),flattened:o});var o})()),BP(Pj,Lj)),Dj=f_(Symbol.for("effect/DefaultServices/currentServices"),(()=>zF(Mj))),Fj=Symbol.for("effect/FiberRefs");class Nj{locals;[Fj]=Fj;constructor(e){this.locals=e}pipe(){return cC(this,arguments)}}const jj=Jx(3,((e,t,n)=>{const r=new Map(e.locals);return n.locals.forEach(((e,n)=>{const o=e[0][1];if(!e[0][0][G_](t)){if(!r.has(n)){if(J_(o,n.initial))return;return void r.set(n,[[t,n.join(n.initial,o)]])}const i=r.get(n),[a,s]=((e,t,n,r=!1)=>{const o=e;let i,a=t,s=n,l=r;for(;void 0===i;)if(zE(a)&&zE(s)){const e=HE(a)[0],t=qE(a),n=HE(s)[0],r=HE(s)[1],o=qE(s);e.startTimeMillis<n.startTimeMillis?(s=o,l=!0):e.startTimeMillis>n.startTimeMillis?a=t:e.id<n.id?(s=o,l=!0):e.id>n.id?a=t:i=[r,l]}else i=[o.initial,!0];return i})(n,i,e);if(s){const e=n.diff(a,o),s=i[0][1],l=n.join(s,n.patch(e)(s));if(!J_(s,l)){let e;const o=i[0][0];e=o[G_](t)?[[o,l],...i.slice(1)]:[[t,l],...i],r.set(n,e)}}}})),new Nj(r)})),zj=Jx(2,((e,t)=>{const n=new Map;return Uj(e,n,t),new Nj(n)})),Uj=(e,t,n)=>{e.locals.forEach(((e,r)=>{const o=e[0][1],i=r.patch(r.fork)(o);J_(o,i)?t.set(r,e):t.set(r,[[n,i],...e])}))},Vj=Jx(2,((e,t)=>{const n=new Map(e.locals);return n.delete(t),new Nj(n)})),Bj=Jx(2,((e,t)=>e.locals.has(t)?mE(HE(e.locals.get(t))[1]):pE())),$j=Jx(2,((e,t)=>o_(Bj(e,t),bE((()=>t.initial))))),Hj=Jx(2,((e,{fiberId:t,fiberRef:n,value:r})=>{if(0===e.locals.size)return new Nj(new Map([[n,[[t,r]]]]));const o=new Map(e.locals);return Wj(o,t,n,r),new Nj(o)})),Wj=(e,t,n,r)=>{const o=e.get(n)??[];let i;if(zE(o)){const[e,n]=HE(o);if(e[G_](t)){if(J_(n,r))return;i=[[t,r],...o.slice(1)]}else i=[[t,r],...o]}else i=[[t,r]];e.set(n,i)},qj=Jx(2,((e,{entries:t,forkAs:n})=>{if(0===e.locals.size)return new Nj(new Map(t));const r=new Map(e.locals);return void 0!==n&&Uj(e,r,n),t.forEach((([e,t])=>{1===t.length?Wj(r,t[0][0],e,t[0][1]):t.forEach((([t,n])=>{Wj(r,t,e,n)}))})),new Nj(r)})),Kj=$j,Qj=qj,Yj=TF,Gj=(e=>Jx(2,((t,n)=>1===e(t,n))))(o_(OT,hE((e=>e.ordinal)))),Jj=e=>e.replace(/[\s="]/g,"_"),Xj=e=>t=>`${Jj(t.label)}=${e-t.startTime}ms`,Zj=RC,ez=DC;class tz extends ez{}const nz="Empty",rz="Remove",oz="Update",iz="AndThen",az={_tag:nz},sz=Jx(2,((e,t)=>({_tag:iz,first:e,second:t}))),lz=Jx(3,((e,t,n)=>{let r=n,o=iT(e);for(;zE(o);){const e=HE(o),n=qE(o);switch(e._tag){case nz:o=n;break;case"Add":r=Hj(r,{fiberId:t,fiberRef:e.fiberRef,value:e.value}),o=n;break;case rz:r=Vj(r,e.fiberRef),o=n;break;case oz:{const i=$j(r,e.fiberRef);r=Hj(r,{fiberId:t,fiberRef:e.fiberRef,value:e.fiberRef.patch(e.patch)(i)}),o=n;break}case iz:o=ME(e.first)(ME(e.second)(n))}}return r})),uz="effect/MetricLabel",cz=Symbol.for(uz);class dz{key;value;[cz]=cz;_hash;constructor(e,t){this.key=e,this.value=t,this._hash=q_(uz+this.key+this.value)}[z_](){return this._hash}[G_](e){return hz(e)&&this.key===e.key&&this.value===e.value}pipe(){return cC(this,arguments)}}const fz=(e,t)=>new dz(e,t),hz=e=>x_(e,cz),pz={_tag:"Sequential"},mz=pz,gz={_tag:"Parallel"},yz=e=>({_tag:"ParallelN",parallelism:e}),vz=lz,bz="effect/FiberStatus",wz=Symbol.for(bz),kz="Done",Sz="Running",xz="Suspended",_z=q_(`${bz}-${kz}`);class Cz{runtimeFlags;[wz]=wz;_tag=Sz;constructor(e){this.runtimeFlags=e}[z_](){return o_(U_(bz),B_(U_(this._tag)),B_(U_(this.runtimeFlags)),Y_(this))}[G_](e){return Tz(e)&&e._tag===Sz&&this.runtimeFlags===e.runtimeFlags}}class Ez{runtimeFlags;blockingOn;[wz]=wz;_tag=xz;constructor(e,t){this.runtimeFlags=e,this.blockingOn=t}[z_](){return o_(U_(bz),B_(U_(this._tag)),B_(U_(this.runtimeFlags)),B_(U_(this.blockingOn)),Y_(this))}[G_](e){return Tz(e)&&e._tag===xz&&this.runtimeFlags===e.runtimeFlags&&J_(this.blockingOn,e.blockingOn)}}const Tz=e=>x_(e,wz),Az=new class{[wz]=wz;_tag=kz;[z_](){return _z}[G_](e){return Tz(e)&&e._tag===kz}},Pz=e=>new Cz(e),Oz=Symbol.for("effect/Micro"),Rz=Symbol.for("effect/Micro/MicroExit"),Iz=Symbol.for("effect/Micro/MicroCause"),Lz={_E:Xx};class Mz extends globalThis.Error{_tag;traces;[Iz];constructor(e,t,n){const r=`MicroCause.${e}`;let o,i,a;if(t instanceof globalThis.Error){o=`(${r}) ${t.name}`,i=t.message;const e=i.split("\n").length;a=t.stack?`(${r}) ${t.stack.split("\n").slice(0,e+3).join("\n")}`:`${o}: ${i}`}else o=r,i=oC(t,0),a=`${o}: ${i}`;n.length>0&&(a+=`\n    ${n.join("\n    ")}`),super(i),this._tag=e,this.traces=n,this[Iz]=Lz,this.name=o,this.stack=a}pipe(){return cC(this,arguments)}toString(){return this.stack}[tC](){return this.stack}}class Dz extends Mz{defect;constructor(e,t=[]){super("Die",e,t),this.defect=e}}class Fz extends Mz{constructor(e=[]){super("Interrupt","interrupted",e)}}const Nz=e=>"Interrupt"===e._tag,jz=Symbol.for("effect/Micro/MicroFiber"),zz={_A:Xx,_E:Xx};class Uz{context;interruptible;[jz];_stack=[];_observers=[];_exit;_children;currentOpCount=0;constructor(e,t=!0){this.context=e,this.interruptible=t,this[jz]=zz}getRef(e){return((e,t)=>e.unsafeMap.has(t.key)?e.unsafeMap.get(t.key):MP(t))(this.context,e)}addObserver(e){return this._exit?(e(this._exit),r_):(this._observers.push(e),()=>{const t=this._observers.indexOf(e);t>=0&&this._observers.splice(t,1)})}_interrupted=!1;unsafeInterrupt(){this._exit||(this._interrupted=!0,this.interruptible&&this.evaluate(dU))}unsafePoll(){return this._exit}evaluate(e){if(this._exit)return;if(void 0!==this._yielded){const e=this._yielded;this._yielded=void 0,e()}const t=this.runLoop(e);if(t===Qz)return;const n=Vz.interruptChildren&&Vz.interruptChildren(this);if(void 0!==n)return this.evaluate(aU(n,(()=>t)));this._exit=t;for(let e=0;e<this._observers.length;e++)this._observers[e](t);this._observers.length=0}runLoop(e){let t=!1,n=e;this.currentOpCount=0;try{for(;;){if(this.currentOpCount++,!t&&this.getRef(bU).shouldYield(this)){t=!0;const e=n;n=aU(rU,(()=>e))}if(n=n[Hz](this),n===Qz){const e=this._yielded;return Rz in e?(this._yielded=void 0,e):Qz}}}catch(e){return x_(n,Hz)?fU(e):fU(`MicroFiber.runLoop: Not a valid effect: ${String(n)}`)}}getCont(e){for(;;){const t=this._stack.pop();if(!t)return;const n=t[Kz]&&t[Kz](this);if(n)return{[e]:n};if(t[e])return t}}_yielded=void 0;yieldWith(e){return this._yielded=e,Qz}children(){return this._children??=new Set}}const Vz=f_("effect/Micro/fiberMiddleware",(()=>({interruptChildren:void 0}))),Bz=Symbol.for("effect/Micro/identifier"),$z=Symbol.for("effect/Micro/args"),Hz=Symbol.for("effect/Micro/evaluate"),Wz=Symbol.for("effect/Micro/successCont"),qz=Symbol.for("effect/Micro/failureCont"),Kz=Symbol.for("effect/Micro/ensureCont"),Qz=Symbol.for("effect/Micro/Yield"),Yz={_A:Xx,_E:Xx,_R:Xx},Gz={...Zj,_op:"Micro",[Oz]:Yz,pipe(){return cC(this,arguments)},[Symbol.iterator](){return new O_(new M_(this))},toJSON(){return{_id:"Micro",op:this[Bz],...$z in this?{args:this[$z]}:void 0}},toString(){return rC(this)},[tC](){return rC(this)}};function Jz(e){return fU("Micro.evaluate: Not implemented")}const Xz=e=>({...Gz,[Bz]:e.op,[Hz]:e.eval??Jz,[Wz]:e.contA,[qz]:e.contE,[Kz]:e.ensure}),Zz=e=>{const t=Xz(e);return function(){const n=Object.create(t);return n[$z]=!1===e.single?arguments:arguments[0],n}},eU=e=>{const t={...Xz(e),[Rz]:Rz,_tag:e.op,get[e.prop](){return this[$z]},toJSON(){return{_id:"MicroExit",_tag:e.op,[e.prop]:this[$z]}},[G_](t){return lU(t)&&t._tag===e.op&&J_(this[$z],t[$z])},[z_](){return Y_(this,B_(q_(e.op))(U_(this[$z])))}};return e=>{const n=Object.create(t);return n[$z]=e,n[Wz]=void 0,n[qz]=void 0,n[Kz]=void 0,n}},tU=eU({op:"Success",prop:"value",eval(e){const t=e.getCont(Wz);return t?t[Wz](this[$z],e):e.yieldWith(this)}}),nU=eU({op:"Failure",prop:"cause",eval(e){let t=e.getCont(qz);for(;Nz(this[$z])&&t&&e.interruptible;)t=e.getCont(qz);return t?t[qz](this[$z],e):e.yieldWith(this)}}),rU=Zz({op:"Yield",eval(e){let t=!1;return e.getRef(bU).scheduleTask((()=>{t||e.evaluate(hU)}),this[$z]??0),e.yieldWith((()=>{t=!0}))}})(0),oU=tU(void 0),iU=Zz({op:"WithMicroFiber",eval(e){return this[$z](e)}}),aU=Jx(2,((e,t)=>{const n=Object.create(sU);return n[$z]=e,n[Wz]=t,n})),sU=Xz({op:"OnSuccess",eval(e){return e._stack.push(this),this[$z]}}),lU=e=>x_(e,Rz),uU=tU,cU=nU,dU=cU(((e=[])=>new Fz(e))()),fU=e=>cU(((e,t=[])=>new Dz(e,t))(e)),hU=uU(void 0),pU="setImmediate"in globalThis?globalThis.setImmediate:e=>setTimeout(e,0);class mU{tasks=[];running=!1;scheduleTask(e,t){this.tasks.push(e),this.running||(this.running=!0,pU(this.afterScheduled))}afterScheduled=()=>{this.running=!1,this.runTasks()};runTasks(){const e=this.tasks;this.tasks=[];for(let t=0,n=e.length;t<n;t++)e[t]()}shouldYield(e){return e.currentOpCount>=e.getRef(vU)}flush(){for(;this.tasks.length>0;)this.runTasks()}}const gU=Jx(2,((e,t)=>iU((n=>{const r=n.context;return n.context=t(r),SU(e,(()=>(n.context=r,oU)))})))),yU=Jx(2,((e,t)=>gU(e,qP(t))));class vU extends(KP()("effect/Micro/currentMaxOpsBeforeYield",{defaultValue:()=>2048})){}class bU extends(KP()("effect/Micro/currentScheduler",{defaultValue:()=>new mU})){}const wU=Jx(2,((e,t)=>{const n=Object.create(kU);return n[$z]=e,n[Wz]=t.onSuccess,n[qz]=t.onFailure,n})),kU=Xz({op:"OnSuccessAndFailure",eval(e){return e._stack.push(this),this[$z]}}),SU=Jx(2,((e,t)=>CU((n=>wU(n(e),{onFailure:e=>aU(t(cU(e)),(()=>nU(e))),onSuccess:e=>aU(t(uU(e)),(()=>tU(e)))}))))),xU=Zz({op:"SetInterruptible",ensure(e){if(e.interruptible=this[$z],e._interrupted&&e.interruptible)return()=>dU}}),_U=e=>iU((t=>t.interruptible?e:(t.interruptible=!0,t._stack.push(xU(!1)),t._interrupted?dU:e))),CU=e=>iU((t=>t.interruptible?(t.interruptible=!1,t._stack.push(xU(!0)),e(_U)):e(Xx)));class EU{buckets=[];scheduleTask(e,t){const n=this.buckets.length;let r,o=0;for(;o<n&&this.buckets[o][0]<=t;o++)r=this.buckets[o];r&&r[0]===t?r[1].push(e):o===n?this.buckets.push([t,[e]]):this.buckets.splice(o,0,[t,[e]])}}class TU{maxNextTickBeforeTimer;running=!1;tasks=new EU;constructor(e){this.maxNextTickBeforeTimer=e}starveInternal(e){const t=this.tasks.buckets;this.tasks.buckets=[];for(const[e,n]of t)for(let e=0;e<n.length;e++)n[e]();0===this.tasks.buckets.length?this.running=!1:this.starve(e)}starve(e=0){e>=this.maxNextTickBeforeTimer?setTimeout((()=>this.starveInternal(0)),0):Promise.resolve(void 0).then((()=>this.starveInternal(e+1)))}shouldYield(e){return e.currentOpCount>e.getFiberRef($F)&&e.getFiberRef(BF)}scheduleTask(e,t){this.tasks.scheduleTask(e,t),this.running||(this.running=!0,this.starve())}}const AU=f_(Symbol.for("effect/Scheduler/defaultScheduler"),(()=>new TU(2048)));class PU{tasks=new EU;deferred=!1;scheduleTask(e,t){this.deferred?AU.scheduleTask(e,t):this.tasks.scheduleTask(e,t)}shouldYield(e){return e.currentOpCount>e.getFiberRef($F)&&e.getFiberRef(BF)}flush(){for(;this.tasks.buckets.length>0;){const e=this.tasks.buckets;this.tasks.buckets=[];for(const[t,n]of e)for(let e=0;e<n.length;e++)n[e]()}this.deferred=!0}}const OU=f_(Symbol.for("effect/FiberRef/currentScheduler"),(()=>FF(AU))),RU=f_(Symbol.for("effect/FiberRef/currentRequestMap"),(()=>FF(new Map))),IU=(e,t,n,r)=>{switch(e){case void 0:return t();case"unbounded":return n();case"inherit":return IF(QF,(e=>"unbounded"===e?n():e>1?r(e):t()));default:return e>1?r(e):t()}},LU="InterruptSignal",MU="Stateful",DU="Resume",FU="YieldNow",NU=e=>({_tag:LU,cause:e}),jU=e=>({_tag:MU,onFiber:e}),zU=e=>({_tag:DU,effect:e}),UU=Symbol.for("effect/FiberScope");class VU{[UU]=UU;fiberId=OI;roots=new Set;add(e,t){this.roots.add(t),t.addObserver((()=>{this.roots.delete(t)}))}}class BU{fiberId;parent;[UU]=UU;constructor(e,t){this.fiberId=e,this.parent=t}add(e,t){this.parent.tell(jU((e=>{e.addChild(t),t.addObserver((()=>{e.removeChild(t)}))})))}}const $U=f_(Symbol.for("effect/FiberScope/Global"),(()=>new VU)),HU=Symbol.for("effect/Fiber"),WU={_E:e=>e,_A:e=>e},qU=Symbol.for("effect/Fiber"),KU=e=>xF(tF(e.await),e.inheritAll),QU="effect/FiberCurrent",YU=Symbol.for("effect/Logger"),GU={_Message:e=>e,_Output:e=>e},JU=e=>({[YU]:GU,log:e,pipe(){return cC(this,arguments)}}),XU=/^[^\s"=]*$/,ZU=JU(((e,t)=>({annotations:n,cause:r,date:o,fiberId:i,logLevel:a,message:s,spans:l})=>{const u=(t,n)=>`${Jj(t)}=${(t=>t.match(XU)?t:e(t))(n)}`,c=(e,t)=>" "+u(e,t);let d=u("timestamp",o.toISOString());d+=c("level",a.label),d+=c("fiber",PI(i));const f=(e=>Array.isArray(e)?e:[e])(s);for(let e=0;e<f.length;e++)d+=c("message",oC(f[e],t));(e=>e._tag===jM)(r)||(d+=c("cause",fD(r,{renderErrorCause:!0})));for(const e of l)d+=" "+Xj(o.getTime())(e);for(const[e,r]of n)d+=c(e,oC(r,t));return d})((e=>`"${e.replace(/\\([\s\S])|(")/g,"\\$1$2")}"`)));"object"==typeof process&&null!==process&&"object"==typeof process.stdout&&null!==process.stdout&&process.stdout.isTTY;const eV="effect/MetricBoundaries",tV=Symbol.for(eV);class nV{values;[tV]=tV;constructor(e){this.values=e,this._hash=o_(q_(eV),B_(Q_(this.values)))}_hash;[z_](){return this._hash}[G_](e){return rV(e)&&J_(this.values,e.values)}pipe(){return cC(this,arguments)}}const rV=e=>x_(e,tV),oV=e=>{const t=o_(e,FE(rO(Number.POSITIVE_INFINITY)),pT);return new nV(t)},iV=Symbol.for("effect/MetricKeyType"),aV="effect/MetricKeyType/Counter",sV=Symbol.for(aV),lV=Symbol.for("effect/MetricKeyType/Frequency"),uV=Symbol.for("effect/MetricKeyType/Gauge"),cV="effect/MetricKeyType/Histogram",dV=Symbol.for(cV),fV=Symbol.for("effect/MetricKeyType/Summary"),hV={_In:e=>e,_Out:e=>e};class pV{incremental;bigint;[iV]=hV;[sV]=sV;constructor(e,t){this.incremental=e,this.bigint=t,this._hash=q_(aV)}_hash;[z_](){return this._hash}[G_](e){return gV(e)}pipe(){return cC(this,arguments)}}class mV{boundaries;[iV]=hV;[dV]=dV;constructor(e){this.boundaries=e,this._hash=o_(q_(cV),B_(U_(this.boundaries)))}_hash;[z_](){return this._hash}[G_](e){return yV(e)&&J_(this.boundaries,e.boundaries)}pipe(){return cC(this,arguments)}}const gV=e=>x_(e,sV),yV=e=>x_(e,dV),vV=Symbol.for("effect/MetricKey"),bV={_Type:e=>e},wV=fT(J_);class kV{name;keyType;description;tags;[vV]=bV;constructor(e,t,n,r=[]){this.name=e,this.keyType=t,this.description=n,this.tags=r,this._hash=o_(q_(this.name+this.description),B_(U_(this.keyType)),B_(Q_(this.tags)))}_hash;[z_](){return this._hash}[G_](e){return SV(e)&&this.name===e.name&&J_(this.keyType,e.keyType)&&J_(this.description,e.description)&&wV(this.tags,e.tags)}pipe(){return cC(this,arguments)}}const SV=e=>x_(e,vV),xV=Jx(2,((e,t)=>0===t.length?e:new kV(e.name,e.keyType,e.description,oT(e.tags,t)))),_V=Symbol.for("effect/MetricState"),CV="effect/MetricState/Counter",EV=Symbol.for(CV),TV="effect/MetricState/Frequency",AV=Symbol.for(TV),PV="effect/MetricState/Gauge",OV=Symbol.for(PV),RV="effect/MetricState/Histogram",IV=Symbol.for(RV),LV="effect/MetricState/Summary",MV=Symbol.for(LV),DV={_A:e=>e};class FV{count;[_V]=DV;[EV]=EV;constructor(e){this.count=e}[z_](){return o_(U_(CV),B_(U_(this.count)),Y_(this))}[G_](e){return BV(e)&&this.count===e.count}pipe(){return cC(this,arguments)}}const NV=fT(J_);class jV{occurrences;[_V]=DV;[AV]=AV;constructor(e){this.occurrences=e}_hash;[z_](){return o_(q_(TV),B_(Q_(IE(this.occurrences.entries()))),Y_(this))}[G_](e){return $V(e)&&NV(IE(this.occurrences.entries()),IE(e.occurrences.entries()))}pipe(){return cC(this,arguments)}}class zV{value;[_V]=DV;[OV]=OV;constructor(e){this.value=e}[z_](){return o_(U_(PV),B_(U_(this.value)),Y_(this))}[G_](e){return HV(e)&&this.value===e.value}pipe(){return cC(this,arguments)}}class UV{buckets;count;min;max;sum;[_V]=DV;[IV]=IV;constructor(e,t,n,r,o){this.buckets=e,this.count=t,this.min=n,this.max=r,this.sum=o}[z_](){return o_(U_(RV),B_(U_(this.buckets)),B_(U_(this.count)),B_(U_(this.min)),B_(U_(this.max)),B_(U_(this.sum)),Y_(this))}[G_](e){return WV(e)&&J_(this.buckets,e.buckets)&&this.count===e.count&&this.min===e.min&&this.max===e.max&&this.sum===e.sum}pipe(){return cC(this,arguments)}}class VV{error;quantiles;count;min;max;sum;[_V]=DV;[MV]=MV;constructor(e,t,n,r,o,i){this.error=e,this.quantiles=t,this.count=n,this.min=r,this.max=o,this.sum=i}[z_](){return o_(U_(LV),B_(U_(this.error)),B_(U_(this.quantiles)),B_(U_(this.count)),B_(U_(this.min)),B_(U_(this.max)),B_(U_(this.sum)),Y_(this))}[G_](e){return qV(e)&&this.error===e.error&&J_(this.quantiles,e.quantiles)&&this.count===e.count&&this.min===e.min&&this.max===e.max&&this.sum===e.sum}pipe(){return cC(this,arguments)}}const BV=e=>x_(e,EV),$V=e=>x_(e,AV),HV=e=>x_(e,OV),WV=e=>x_(e,IV),qV=e=>x_(e,MV),KV=Symbol.for("effect/MetricHook"),QV={_In:e=>e,_Out:e=>e},YV=e=>({[KV]:QV,pipe(){return cC(this,arguments)},...e}),GV=BigInt(0),JV=(e,t,n)=>{const r=n.length;if(!zE(t))return[];const o=t[0],i=t.slice(1),a=XV(e,r,pE(),0,o,n),s=iT(a);return i.forEach((t=>{s.push(XV(e,r,a.value,a.consumed,t,a.rest))})),aT(s,(e=>[e.quantile,e.value]))},XV=(e,t,n,r,o,i)=>{let a=e,s=t,l=n,u=r,c=o,d=i,f=e,h=t,p=n,m=r,g=o,y=i;for(;;){if(!zE(d))return{quantile:c,value:pE(),consumed:u,rest:[]};if(1===c)return{quantile:c,value:mE(WE(d)),consumed:u+d.length,rest:[]};const e=HE(d),t=KE(d,(t=>t===e)),n=c*s,r=a/2*n,o=u+t[0].length,i=Math.abs(o-n);if(o<n-r)f=a,h=s,p=$E(d),m=o,g=c,y=t[1],a=f,s=h,l=p,u=m,c=g,d=y;else{if(o>n+r)return{quantile:c,value:gE(l)?mE(e):l,consumed:u,rest:d};switch(l._tag){case"None":f=a,h=s,p=$E(d),m=o,g=c,y=t[1],a=f,s=h,l=p,u=m,c=g,d=y;continue;case"Some":if(i<Math.abs(n-l.value)){f=a,h=s,p=$E(d),m=o,g=c,y=t[1],a=f,s=h,l=p,u=m,c=g,d=y;continue}return{quantile:c,value:mE(l.value),consumed:u,rest:d}}}}throw new Error("BUG: MetricHook.resolveQuantiles - please report an issue at https://github.com/Effect-TS/effect/issues")},ZV=Symbol.for("effect/MetricPair"),eB={_Type:e=>e},tB=(e,t)=>({[ZV]:eB,metricKey:e,metricState:t,pipe(){return cC(this,arguments)}}),nB=Symbol.for("effect/MetricRegistry");class rB{[nB]=nB;map=(()=>{const e=Object.create(IN);return e.referential=new Map,e.buckets=new Map,e.bucketsSize=0,e})();snapshot(){const e=[];for(const[t,n]of this.map)e.push(tB(t,n.get()));return e}get(e){const t=o_(this.map,DN(e),xE);if(null==t){if(gV(e.keyType))return this.getCounter(e);if(n=e.keyType,x_(n,uV))return this.getGauge(e);if((e=>x_(e,lV))(e.keyType))return this.getFrequency(e);if(yV(e.keyType))return this.getHistogram(e);if((e=>x_(e,fV))(e.keyType))return this.getSummary(e);throw new Error("BUG: MetricRegistry.get - unknown MetricKeyType - please report an issue at https://github.com/Effect-TS/effect/issues")}return t;var n}getCounter(e){let t=o_(this.map,DN(e),xE);if(null==t){const n=(e=>{let t=e.keyType.bigint?GV:0;const n=e.keyType.incremental?e.keyType.bigint?e=>e>=GV:e=>e>=0:e=>!0,r=e=>{n(e)&&(t+=e)};return YV({get:()=>new FV(t),update:r,modify:r})})(e);o_(this.map,NN(e))||o_(this.map,jN(e,n)),t=n}return t}getFrequency(e){let t=o_(this.map,DN(e),xE);if(null==t){const n=(e=>{const t=new Map;for(const n of e.keyType.preregisteredWords)t.set(n,0);const n=e=>{const n=t.get(e)??0;t.set(e,n+1)};return YV({get:()=>new jV(t),update:n,modify:n})})(e);o_(this.map,NN(e))||o_(this.map,jN(e,n)),t=n}return t}getGauge(e){let t=o_(this.map,DN(e),xE);if(null==t){const n=((e,t)=>{let n=t;return YV({get:()=>new zV(n),update:e=>{n=e},modify:e=>{n+=e}})})(0,e.keyType.bigint?BigInt(0):0);o_(this.map,NN(e))||o_(this.map,jN(e,n)),t=n}return t}getHistogram(e){let t=o_(this.map,DN(e),xE);if(null==t){const n=(e=>{const t=e.keyType.boundaries.values,n=t.length,r=new Uint32Array(n+1),o=new Float32Array(n);let i=0,a=0,s=Number.MAX_VALUE,l=Number.MIN_VALUE;o_(t,GE(OT),aT(((e,t)=>{o[t]=e})));const u=e=>{let t=0,u=n;for(;t!==u;){const n=Math.floor(t+(u-t)/2);e<=o[n]?u=n:t=n,u===t+1&&(e<=o[t]?u=t:t=u)}r[t]=r[t]+1,i+=1,a+=e,e<s&&(s=e),e>l&&(l=e)},c=()=>{const e=OE(n);let t=0;for(let i=0;i<n;i++){const n=o[i];t+=r[i],e[i]=[n,t]}return e};return YV({get:()=>{return e={buckets:c(),count:i,min:s,max:l,sum:a},new UV(e.buckets,e.count,e.min,e.max,e.sum);var e},update:u,modify:u})})(e);o_(this.map,NN(e))||o_(this.map,jN(e,n)),t=n}return t}getSummary(e){let t=o_(this.map,DN(e),xE);if(null==t){const n=(e=>{const{error:t,maxAge:n,maxSize:r,quantiles:o}=e.keyType,i=o_(o,GE(OT)),a=OE(r);let s=0,l=0,u=0,c=0,d=0;const f=e=>{const o=[];let s=0;for(;s!==r-1;){const t=a[s];if(null!=t){const[r,i]=t,a=jO(e-r);YO(a,MO)&&QO(a,n)&&o.push(i)}s+=1}return JV(t,i,GE(o,OT))},h=(e,t)=>{r>0&&(s+=1,a[s%r]=[t,e]),c=0===l?e:Math.min(c,e),d=0===l?e:Math.max(d,e),l+=1,u+=e};return YV({get:()=>{return e={error:t,quantiles:f(Date.now()),count:l,min:c,max:d,sum:u},new VV(e.error,e.quantiles,e.count,e.min,e.max,e.sum);var e},update:([e,t])=>h(e,t),modify:([e,t])=>h(e,t)})})(e);o_(this.map,NN(e))||o_(this.map,jN(e,n)),t=n}return t}}const oB=Symbol.for("effect/Metric"),iB={_Type:e=>e,_In:e=>e,_Out:e=>e},aB=f_(Symbol.for("effect/Metric/globalMetricRegistry"),(()=>new rB)),sB=function(e,t,n,r){const o=Object.assign((e=>gF(e,(e=>fB(o,e)))),{[oB]:iB,keyType:e,unsafeUpdate:t,unsafeValue:n,unsafeModify:r,register(){return this.unsafeValue([]),this},pipe(){return cC(this,arguments)}});return o},lB=(e,t)=>uB(((e,t)=>new kV(e,(e=>new pV(e?.incremental??!1,e?.bigint??!1))(t),SE(t?.description)))(e,t)),uB=e=>{let t;const n=new WeakMap,r=r=>{if(0===r.length)return void 0!==t||(t=aB.get(e)),t;let o=n.get(r);return void 0!==o||(o=aB.get(xV(e,r)),n.set(r,o)),o};return sB(e.keyType,((e,t)=>r(t).update(e)),(e=>r(e).get()),((e,t)=>r(t).modify(e)))},cB=Jx(3,((e,t,n)=>dB(e,[fz(t,n)]))),dB=Jx(2,((e,t)=>sB(e.keyType,((n,r)=>e.unsafeUpdate(n,oT(t,r))),(n=>e.unsafeValue(oT(t,n))),((n,r)=>e.unsafeModify(n,oT(t,r)))))),fB=Jx(2,((e,t)=>IF(XF,(n=>mF((()=>e.unsafeUpdate(t,n))))))),hB=Jx(2,((e,t)=>IF(RU,(n=>mF((()=>{if(n.has(e)){const r=n.get(e);r.state.completed||(r.state.completed=!0,_N(r.result,t))}})))))),pB=Symbol.for("effect/Supervisor"),mB={_T:e=>e};class gB{underlying;value0;[pB]=mB;constructor(e,t){this.underlying=e,this.value0=t}get value(){return this.value0}onStart(e,t,n,r){this.underlying.onStart(e,t,n,r)}onEnd(e,t){this.underlying.onEnd(e,t)}onEffect(e,t){this.underlying.onEffect(e,t)}onSuspend(e){this.underlying.onSuspend(e)}onResume(e){this.underlying.onResume(e)}map(e){return new gB(this,o_(this.value,lF(e)))}zip(e){return new yB(this,e)}}class yB{left;right;_tag="Zip";[pB]=mB;constructor(e,t){this.left=e,this.right=t}get value(){return SF(this.left.value,this.right.value)}onStart(e,t,n,r){this.left.onStart(e,t,n,r),this.right.onStart(e,t,n,r)}onEnd(e,t){this.left.onEnd(e,t),this.right.onEnd(e,t)}onEffect(e,t){this.left.onEffect(e,t),this.right.onEffect(e,t)}onSuspend(e){this.left.onSuspend(e),this.right.onSuspend(e)}onResume(e){this.left.onResume(e),this.right.onResume(e)}map(e){return new gB(this,o_(this.value,lF(e)))}zip(e){return new yB(this,e)}}const vB=e=>x_(e,pB)&&__(e,"Zip");class bB{effect;[pB]=mB;constructor(e){this.effect=e}get value(){return this.effect}onStart(e,t,n,r){}onEnd(e,t){}onEffect(e,t){}onSuspend(e){}onResume(e){}map(e){return new gB(this,o_(this.value,lF(e)))}zip(e){return new yB(this,e)}onRun(e,t){return e()}}const wB=f_("effect/Supervisor/none",(()=>new bB(bF))),kB="Empty",SB="AddSupervisor",xB="RemoveSupervisor",_B="AndThen",CB={_tag:kB},EB=(e,t)=>({_tag:_B,first:e,second:t}),TB=(e,t)=>J_(e,t)?wB:vB(e)?TB(e.left,t).zip(TB(e.right,t)):e,AB=e=>J_(e,wB)?iI():vB(e)?o_(AB(e.left),fI(AB(e.right))):aI(e),PB=QL({empty:CB,patch:(e,t)=>((e,t)=>{let n=e,r=t;for(;gO(r);){const e=vO(r);switch(e._tag){case kB:r=bO(r);break;case SB:n=n.zip(e.supervisor),r=bO(r);break;case xB:n=TB(n,e.supervisor),r=bO(r);break;case _B:r=fO(e.first)(fO(e.second)(bO(r)))}}return n})(t,rO(e)),combine:EB,diff:(e,t)=>{if(J_(e,t))return CB;const n=AB(e),r=AB(t),o=o_(r,dI(n),hI(CB,((e,t)=>EB(e,{_tag:SB,supervisor:t})))),i=o_(n,dI(r),hI(CB,((e,t)=>EB(e,{_tag:xB,supervisor:t}))));return EB(o,i)}}),OB=lB("effect_fiber_started",{incremental:!0}),RB=lB("effect_fiber_active"),IB=lB("effect_fiber_successes",{incremental:!0}),LB=lB("effect_fiber_failures",{incremental:!0}),MB=cB(((e,t,n)=>uB(((e,t,n)=>new kV(e,(e=>new mV(e))(t),SE(n)))(e,t,n)))("effect_fiber_lifetimes",(e=>o_(RE(e.count-1,(t=>e.start*Math.pow(e.factor,t))),lO,oV))({start:.5,factor:2,count:35})),"time_unit","milliseconds"),DB="Continue",FB="Yield",NB={_E:e=>e,_A:e=>e},jB=e=>{throw new Error(`BUG: FiberRuntime - ${oC(e)} - please report an issue at https://github.com/Effect-TS/effect/issues`)},zB=Symbol.for("effect/internal/fiberRuntime/YieldedOp"),UB=f_("effect/internal/fiberRuntime/yieldedOpChannel",(()=>({currentOp:null}))),VB={[mC]:(e,t,n)=>N_((()=>t.effect_instruction_i1(n))),OnStep:(e,t,n)=>vN(vN(n)),[gC]:(e,t,n)=>N_((()=>t.effect_instruction_i2(n))),[CC]:(e,t,n)=>(e.patchRuntimeFlags(e.currentRuntimeFlags,t.patch),aM(e.currentRuntimeFlags)&&e.isInterrupted()?mN(e.getInterruptedCause()):vN(n)),[kC]:(e,t,n)=>(N_((()=>t.effect_instruction_i2(n))),N_((()=>t.effect_instruction_i0()))?(e.pushStack(t),N_((()=>t.effect_instruction_i1()))):bF),[SC]:(e,t,n)=>{const r=N_((()=>t.effect_instruction_i0.next(n)));return r.done?vN(r.value):(e.pushStack(t),function(e){if("object"==typeof e&&null!==e&&L_ in e)return e[L_]();throw new Error(P_("yieldWrapGet"))}(r.value))}},BB={[LU]:(e,t,n,r)=>(e.processNewInterruptSignal(r.cause),aM(t)?mN(r.cause):n),[DU]:(e,t,n,r)=>{throw new Error("It is illegal to have multiple concurrent run loops in a single fiber")},[MU]:(e,t,n,r)=>(r.onFiber(e,Pz(t)),n),[FU]:(e,t,n,r)=>ZD(kF(),(()=>n))};class $B extends tz{[HU]=WU;[qU]=NB;_fiberRefs;_fiberId;_queue=new Array;_children=null;_observers=new Array;_running=!1;_stack=[];_asyncInterruptor=null;_asyncBlockingOn=null;_exitValue=null;_steps=[];_isYielding=!1;currentRuntimeFlags;currentOpCount=0;currentSupervisor;currentScheduler;currentTracer;currentSpan;currentContext;currentDefaultServices;constructor(e,t,n){if(super(),this.currentRuntimeFlags=n,this._fiberId=e,this._fiberRefs=t,dM(n)){const e=this.getFiberRef(XF);OB.unsafeUpdate(1,e),RB.unsafeUpdate(1,e)}this.refreshRefCache()}commit(){return KU(this)}id(){return this._fiberId}resume(e){this.tell(zU(e))}get status(){return this.ask(((e,t)=>t))}get runtimeFlags(){return this.ask(((e,t)=>(e=>e._tag===kz)(t)?e.currentRuntimeFlags:t.runtimeFlags))}scope(){return new BU((e=this).id(),e);var e}get children(){return this.ask((e=>Array.from(e.getChildren())))}getChildren(){return null===this._children&&(this._children=new Set),this._children}getInterruptedCause(){return this.getFiberRef(eN)}fiberRefs(){return this.ask((e=>e.getFiberRefs()))}ask(e){return pF((()=>{const t=SN(this._fiberId);return this.tell(jU(((n,r)=>{_N(t,mF((()=>e(n,r))))}))),xN(t)}))}tell(e){this._queue.push(e),this._running||(this._running=!0,this.drainQueueLaterOnExecutor())}get await(){return zD((e=>{const t=t=>e(hF(t));return this.tell(jU(((e,n)=>{null!==e._exitValue?t(this._exitValue):e.addObserver(t)}))),mF((()=>this.tell(jU(((e,n)=>{e.removeObserver(t)})))))}),this.id())}get inheritAll(){return LD(((e,t)=>{const n=e.id(),r=e.getFiberRefs(),o=t.runtimeFlags,i=this.getFiberRefs(),a=jj(r,n,i);e.setFiberRefs(a);const s=e.getFiberRef(l$);return(e=>{const t=new PD(wC);return t.effect_instruction_i0=e,t.effect_instruction_i1=void 0,t})(o_(hM(o,s),yM(1),yM(16)))}))}get poll(){return mF((()=>SE(this._exitValue)))}unsafePoll(){return this._exitValue}interruptAsFork(e){return mF((()=>this.tell(NU(YM(e)))))}unsafeInterruptAsFork(e){this.tell(NU(YM(e)))}addObserver(e){null!==this._exitValue?e(this._exitValue):this._observers.push(e)}removeObserver(e){this._observers=this._observers.filter((t=>t!==e))}getFiberRefs(){return this.setFiberRef(l$,this.currentRuntimeFlags),this._fiberRefs}unsafeDeleteFiberRef(e){this._fiberRefs=Vj(this._fiberRefs,e)}getFiberRef(e){return this._fiberRefs.locals.has(e)?this._fiberRefs.locals.get(e)[0][1]:e.initial}setFiberRef(e,t){this._fiberRefs=Hj(this._fiberRefs,{fiberId:this._fiberId,fiberRef:e,value:t}),this.refreshRefCache()}refreshRefCache(){this.currentDefaultServices=this.getFiberRef(Dj),this.currentTracer=this.currentDefaultServices.unsafeMap.get(Pj.key),this.currentSupervisor=this.getFiberRef(u$),this.currentScheduler=this.getFiberRef(OU),this.currentContext=this.getFiberRef(VF),this.currentSpan=this.currentContext.unsafeMap.get(Oj.key)}setFiberRefs(e){this._fiberRefs=e,this.refreshRefCache()}addChild(e){this.getChildren().add(e)}removeChild(e){this.getChildren().delete(e)}transferChildren(e){const t=this._children;if(this._children=null,null!==t&&t.size>0)for(const n of t)null===n._exitValue&&e.add(this.currentRuntimeFlags,n)}drainQueueOnCurrentThread(){let e=!0;for(;e;){let t=DB;const n=globalThis[QU];globalThis[QU]=this;try{for(;t===DB;)t=0===this._queue.length?"Done":this.evaluateMessageWhileSuspended(this._queue.splice(0,1)[0])}finally{this._running=!1,globalThis[QU]=n}this._queue.length>0&&!this._running?(this._running=!0,t===FB?(this.drainQueueLaterOnExecutor(),e=!1):e=!0):e=!1}}drainQueueLaterOnExecutor(){this.currentScheduler.scheduleTask(this.run,this.getFiberRef(BF))}drainQueueWhileRunning(e,t){let n=t;for(;this._queue.length>0;){const t=this._queue.splice(0,1)[0];n=BB[t._tag](this,e,n,t)}return n}isInterrupted(){return!(e=>e._tag===jM||cD(e,!0,((e,t)=>{switch(t._tag){case jM:return mE(e);case NM:case zM:case UM:return mE(!1);default:return pE()}})))(this.getFiberRef(eN))}addInterruptedCause(e){const t=this.getFiberRef(eN);this.setFiberRef(eN,JM(t,e))}processNewInterruptSignal(e){this.addInterruptedCause(e),this.sendInterruptSignalToAllChildren()}sendInterruptSignalToAllChildren(){if(null===this._children||0===this._children.size)return!1;let e=!1;for(const t of this._children)t.tell(NU(YM(this.id()))),e=!0;return e}interruptAllChildren(){if(this.sendInterruptSignalToAllChildren()){const e=this._children.values();this._children=null;let t=!1;return wF({while:()=>!t,body:()=>{const n=e.next();return n.done?mF((()=>{t=!0})):FD(n.value.await)},step:()=>{}})}return null}reportExitValue(e){if(dM(this.currentRuntimeFlags)){const t=this.getFiberRef(XF),n=this.id().startTimeMillis,r=Date.now();switch(MB.unsafeUpdate(r-n,t),RB.unsafeUpdate(-1,t),e._tag){case yC:IB.unsafeUpdate(1,t);break;case hC:LB.unsafeUpdate(1,t)}}if("Failure"===e._tag){const t=this.getFiberRef(GF);ZM(e.cause)||"Some"!==t._tag||this.log("Fiber terminated with an unhandled error",e.cause,t)}}setExitValue(e){this._exitValue=e,this.reportExitValue(e);for(let t=this._observers.length-1;t>=0;t--)this._observers[t](e);this._observers=[]}getLoggers(){return this.getFiberRef(KB)}log(e,t,n){const r=yE(n)?n.value:this.getFiberRef(WF),o=this.getFiberRef(HB);if(Gj(o,r))return;const i=this.getFiberRef(qF),a=this.getFiberRef(HF),s=this.getLoggers(),l=this.getFiberRefs();if(lI(s)>0){const n=$P(this.getFiberRef(Dj),VN),o=new Date(n.unsafeCurrentTimeMillis());((e,t)=>{const n=lC.fiberRefs;lC.fiberRefs=e;try{return t()}finally{lC.fiberRefs=n}})(l,(()=>{for(const n of s)n.log({fiberId:this.id(),logLevel:r,message:e,cause:t,context:l,spans:i,annotations:a,date:o})}))}}evaluateMessageWhileSuspended(e){switch(e._tag){case FU:return FB;case LU:return this.processNewInterruptSignal(e.cause),null!==this._asyncInterruptor&&(this._asyncInterruptor(mN(e.cause)),this._asyncInterruptor=null),DB;case DU:return this._asyncInterruptor=null,this._asyncBlockingOn=null,this.evaluateEffect(e.effect),DB;case MU:return e.onFiber(this,null!==this._exitValue?Az:((e,t)=>new Ez(e,t))(this.currentRuntimeFlags,this._asyncBlockingOn)),DB;default:return jB(e)}}evaluateEffect(e){this.currentSupervisor.onResume(this);try{let t=aM(this.currentRuntimeFlags)&&this.isInterrupted()?mN(this.getInterruptedCause()):e;for(;null!==t;){const e=t,n=this.runLoop(e);if(n===zB){const e=UB.currentOp;UB.currentOp=null,e._op===_C?oM(this.currentRuntimeFlags)?(this.tell({_tag:FU}),this.tell(zU(bN)),t=null):t=bN:e._op===dC&&(t=null)}else{this.currentRuntimeFlags=o_(this.currentRuntimeFlags,iM(16));const e=this.interruptAllChildren();null!==e?t=ZD(e,(()=>n)):(0===this._queue.length?this.setExitValue(n):this.tell(zU(n)),t=null)}}}finally{this.currentSupervisor.onSuspend(this)}}start(e){if(this._running)this.tell(zU(e));else{this._running=!0;const t=globalThis[QU];globalThis[QU]=this;try{this.evaluateEffect(e)}finally{this._running=!1,globalThis[QU]=t,this._queue.length>0&&this.drainQueueLaterOnExecutor()}}}startFork(e){this.tell(zU(e))}patchRuntimeFlags(e,t){const n=pM(e,t);return globalThis[QU]=this,this.currentRuntimeFlags=n,n}initiateAsync(e,t){let n=!1;const r=e=>{n||(n=!0,this.tell(zU(e)))};aM(e)&&(this._asyncInterruptor=r);try{t(r)}catch(e){r(YD(QM(e)))}}pushStack(e){this._stack.push(e),"OnStep"===e._op&&this._steps.push({refs:this.getFiberRefs(),flags:this.currentRuntimeFlags})}popStack(){const e=this._stack.pop();if(e)return"OnStep"===e._op&&this._steps.pop(),e}getNextSuccessCont(){let e=this.popStack();for(;e;){if(e._op!==pC)return e;e=this.popStack()}}getNextFailCont(){let e=this.popStack();for(;e;){if(e._op!==mC&&e._op!==kC&&e._op!==SC)return e;e=this.popStack()}}[bC](e){return mF((()=>HP(this.currentContext,e)))}Left(e){return KD(e.left)}None(e){return KD(new uN)}Right(e){return vN(e.right)}Some(e){return vN(e.value)}Micro(e){return jD((t=>{let n=t;const r=(e=>{const t=new Uz(bU.context(new mU));return t.evaluate(e),t})(yU(e,this.currentContext));return r.addObserver((e=>{if("Success"===e._tag)return n(vN(e.value));switch(e.cause._tag){case"Interrupt":return n(mN(YM(OI)));case"Fail":return n(KD(e.cause.error));case"Die":return n($D(e.cause.defect))}})),jD((e=>{n=t=>{e(bF)},r.unsafeInterrupt()}))}))}[vC](e){const t=N_((()=>e.effect_instruction_i0())),n=this.getNextSuccessCont();return void 0!==n?(n._op in VB||jB(n),VB[n._op](this,n,t)):(UB.currentOp=vN(t),zB)}[yC](e){const t=e,n=this.getNextSuccessCont();return void 0!==n?(n._op in VB||jB(n),VB[n._op](this,n,t.effect_instruction_i0)):(UB.currentOp=t,zB)}[hC](e){const t=e.effect_instruction_i0,n=this.getNextFailCont();if(void 0===n)return UB.currentOp=mN(t),zB;switch(n._op){case pC:case gC:return aM(this.currentRuntimeFlags)&&this.isInterrupted()?mN(eD(t)):N_((()=>n.effect_instruction_i1(t)));case"OnStep":return aM(this.currentRuntimeFlags)&&this.isInterrupted()?mN(eD(t)):vN(mN(t));case CC:return this.patchRuntimeFlags(this.currentRuntimeFlags,n.patch),aM(this.currentRuntimeFlags)&&this.isInterrupted()?mN(JM(t,this.getInterruptedCause())):mN(t);default:jB(n)}}[xC](e){return N_((()=>e.effect_instruction_i0(this,Pz(this.currentRuntimeFlags))))}Blocked(e){const t=this.getFiberRefs(),n=this.currentRuntimeFlags;if(this._steps.length>0){const r=[],o=this._steps[this._steps.length-1];let i=this.popStack();for(;i&&"OnStep"!==i._op;)r.push(i),i=this.popStack();this.setFiberRefs(o.refs),this.currentRuntimeFlags=o.flags;const a=((e,t)=>{const n=new Map(e.locals);let r=az;for(const[e,o]of t.locals.entries()){const t=HE(o)[1],i=n.get(e);if(void 0!==i){const n=HE(i)[1];J_(n,t)||(r=sz({_tag:oz,fiberRef:e,patch:e.diff(n,t)})(r))}else r=sz({_tag:"Add",fiberRef:e,value:t})(r);n.delete(e)}for(const[e]of n.entries())r=sz({_tag:rz,fiberRef:e})(r);return r})(o.refs,t),s=hM(o.flags,n);return vN(ED(e.effect_instruction_i0,LD((t=>{for(;r.length>0;)t.pushStack(r.pop());return t.setFiberRefs(vz(t.id(),t.getFiberRefs())(a)),t.currentRuntimeFlags=pM(s)(t.currentRuntimeFlags),e.effect_instruction_i1}))))}return vF((t=>ZD(XB((e=>{const t=new PD("RunBlocked");return t.effect_instruction_i0=e,t})(e.effect_instruction_i0)),(()=>t(e.effect_instruction_i1)))))}RunBlocked(e){return(e=>aF((e=>{let t=ZI(e),n=XI();for(;;){const[e,r]=rL(t,[CM(),XI()],(([e,t],n)=>{const[r,o]=wM(n);return[TM(e,r),eL(t,o)]}));if(n=kM(n,e),YI(r))return oL(n);t=r}throw new Error("BUG: BlockedRequests.flatten - please report an issue at https://github.com/Effect-TS/effect/issues")})(e),(e=>GB((e=>Array.from(e.map))(e),(([e,t])=>{const n=new Map,r=[];for(const e of t){r.push(aO(e));for(const t of e)n.set(t.request,t)}const o=r.flat();return DF(c$(e.runAll(r),o,(()=>o.forEach((e=>{e.listeners.interrupted=!0})))),RU,n)}),!1,!1))))(e.effect_instruction_i0)}[wC](e){const t=e.effect_instruction_i0,n=this.currentRuntimeFlags,r=pM(n,t);if(aM(r)&&this.isInterrupted())return mN(this.getInterruptedCause());if(this.patchRuntimeFlags(this.currentRuntimeFlags,t),e.effect_instruction_i1){const t=hM(r,n);return this.pushStack(new AD(t,e)),N_((()=>e.effect_instruction_i1(n)))}return bN}[mC](e){return this.pushStack(e),e.effect_instruction_i0}OnStep(e){return this.pushStack(e),e.effect_instruction_i0}[pC](e){return this.pushStack(e),e.effect_instruction_i0}[gC](e){return this.pushStack(e),e.effect_instruction_i0}[dC](e){return this._asyncBlockingOn=e.effect_instruction_i1,this.initiateAsync(this.currentRuntimeFlags,e.effect_instruction_i0),UB.currentOp=e,zB}[_C](e){return this._isYielding=!1,UB.currentOp=e,zB}[kC](e){const t=e.effect_instruction_i0,n=e.effect_instruction_i1;return t()?(this.pushStack(e),n()):bN}[SC](e){return VB[SC](this,e,void 0)}[fC](e){return N_((()=>e.commit()))}runLoop(e){let t=e;for(this.currentOpCount=0;;){if(2&this.currentRuntimeFlags&&this.currentSupervisor.onEffect(this,t),this._queue.length>0&&(t=this.drainQueueWhileRunning(this.currentRuntimeFlags,t)),!this._isYielding){this.currentOpCount+=1;const e=this.currentScheduler.shouldYield(this);if(!1!==e){this._isYielding=!0,this.currentOpCount=0;const n=t;t=ZD(kF({priority:e}),(()=>n))}}try{if(t=this.currentTracer.context((()=>{if("3.17.2"!==t[TD]._V){const e=this.getFiberRef(JF);if("Some"===e._tag){const n=t[TD]._V;this.log(`Executing an Effect versioned ${n} with a Runtime of version 3.17.2, you may want to dedupe the effect dependencies, you can use the language service plugin to detect this at compile time: https://github.com/Effect-TS/language-service`,qM,e)}}return this[t._op](t)}),this),t===zB){const e=UB.currentOp;return e._op===_C||e._op===dC?zB:(UB.currentOp=null,e._op===yC||e._op===hC?e:mN(QM(e)))}}catch(e){t=t!==zB&&!x_(t,"_op")||!(t._op in this)?HD(`Not a valid effect: ${oC(t)}`):sN(e)?mN(JM(QM(e),YM(OI))):$D(e)}}}run=()=>{this.drainQueueOnCurrentThread()}}const HB=f_("effect/FiberRef/currentMinimumLogLevel",(()=>FF(Yj))),WB=f_(Symbol.for("effect/Logger/defaultLogger"),(()=>(e=>JU((t=>{const n=Kj(t.context,Dj);$P(n,kj).unsafe.log(e.log(t))})))(ZU))),qB=f_(Symbol.for("effect/Logger/tracerLogger"),(()=>JU((({annotations:e,cause:t,context:n,fiberId:r,logLevel:o,message:i})=>{const a=WP($j(n,VF),Oj);if("None"===a._tag||"ExternalSpan"===a.value._tag)return;const s=HP($j(n,Dj),VN),l={};for(const[t,n]of e)l[t]=n;l["effect.fiberId"]=RI(r),l["effect.logLevel"]=o.label,null!==t&&"Empty"!==t._tag&&(l["effect.cause"]=fD(t,{renderErrorCause:!0})),a.value.event(oC(Array.isArray(i)?i[0]:i),s.unsafeCurrentTimeNanos(),l)})))),KB=f_(Symbol.for("effect/FiberRef/currentLoggers"),(()=>NF(aI(WB,qB)))),QB=Jx((e=>A_(e[0])),((e,t,n)=>LD((r=>{const o=!0===n?.batching||"inherit"===n?.batching&&r.getFiberRef(YF);return n?.discard?IU(n.concurrency,(()=>o$(mz,n?.concurrentFinalizers)((n=>o?GB(e,((e,r)=>n(t(e,r))),!0,!1,1):aF(e,((e,r)=>n(t(e,r))))))),(()=>o$(gz,n?.concurrentFinalizers)((n=>GB(e,((e,r)=>n(t(e,r))),o,!1)))),(r=>o$(yz(r),n?.concurrentFinalizers)((n=>GB(e,((e,r)=>n(t(e,r))),o,!1,r))))):IU(n?.concurrency,(()=>o$(mz,n?.concurrentFinalizers)((n=>o?JB(e,1,((e,r)=>n(t(e,r))),!0):iF(e,((e,r)=>n(t(e,r))))))),(()=>o$(gz,n?.concurrentFinalizers)((n=>YB(e,((e,r)=>n(t(e,r))),o)))),(r=>o$(yz(r),n?.concurrentFinalizers)((n=>JB(e,r,((e,r)=>n(t(e,r))),o)))))})))),YB=(e,t,n)=>pF((()=>{const r=IE(e),o=new Array(r.length);return _F(GB(r,((e,n)=>ZD(t(e,n),(e=>mF((()=>o[n]=e))))),n,!1),hF(o))})),GB=(e,t,n,r,o)=>vF((i=>(e=>LD((t=>{const n=o_(t.getFiberRef(ZF),bE((()=>t.scope())));return e(DF(ZF,mE(n)))})))((a=>LD((s=>{let l=Array.from(e).reverse(),u=l.length;if(0===u)return bF;let c=0,d=!1;const f=o?Math.min(l.length,o):l.length,h=new Set,p=new Array,m=new Array,g=new Array,y=new Array,v=()=>{const e=p.filter((({exit:e})=>"Failure"===e._tag)).sort(((e,t)=>e.index<t.index?-1:e.index===t.index?0:1)).map((({exit:e})=>e));return 0===e.length&&e.push(bN),e},b=(e,t=!1)=>{const n=yF(a(e)),r=ZB(n,s,s.currentRuntimeFlags,$U);return s.currentScheduler.scheduleTask((()=>{t&&r.unsafeInterruptAsFork(s.id()),r.resume(n)}),0),r},w=()=>{r||(u-=l.length,l=[]),d=!0,h.forEach((e=>{e.currentScheduler.scheduleTask((()=>{e.unsafeInterruptAsFork(s.id())}),0)}))},k=n?eF:qD,S=b(zD((e=>{const r=(e,t)=>{"Blocked"===e._op?y.push(e):(p.push({index:t,exit:e}),"Failure"!==e._op||d||w())},a=()=>{if(l.length>0){const f=l.pop();let w=c++;const S=()=>{const e=l.pop();return w=c++,ZD(kF(),(()=>ZD(k(i(t(e,w))),x)))},x=e=>l.length>0&&(r(e,w),l.length>0)?S():hF(e),_=ZD(k(i(t(f,w))),x),C=b(_);m.push(C),h.add(C),d&&C.currentScheduler.scheduleTask((()=>{C.unsafeInterruptAsFork(s.id())}),0),C.addObserver((t=>{let i;if(i="Failure"===t._op?t:t.effect_instruction_i0,g.push(C),h.delete(C),r(i,w),p.length===u)e(hF(bE(hN(v(),{parallel:!0}),(()=>bN))));else if(y.length+p.length===u){const t=v(),r=y.map((e=>e.effect_instruction_i0)).reduce(vM);e(hF(ED(r,GB([bE(hN(t,{parallel:!0}),(()=>bN)),...y.map((e=>e.effect_instruction_i1))],(e=>e),n,!0,o))))}else a()}))}};for(let e=0;e<f;e++)a()})));return FD(dF(tF(i(KU(S))),yN({onFailure:e=>{w();const t=y.length+1,n=Math.min("number"==typeof o?o:y.length,y.length),r=Array.from(y);return zD((o=>{let i=0;const a=(n,a)=>n=>{i++,i===t&&o(vN(mN(e))),r.length>0&&a&&s()},s=()=>{b(r.pop(),!0).addObserver(a(0,!0))};S.addObserver(a(0,!1));for(let e=0;e<n;e++)s()}))},onSuccess:()=>iF(g,(e=>e.inheritAll))})))})))))),JB=(e,t,n,r)=>pF((()=>{const o=IE(e),i=new Array(o.length);return _F(GB(o,((e,t)=>lF(n(e,t),(e=>i[t]=e))),r,!1,t),hF(i))})),XB=e=>t$(e,$U),ZB=(e,t,n,r=null)=>e$(e,t,n,r),e$=(e,t,n,r=null)=>{const o=II(),i=t.getFiberRefs(),a=zj(i,o),s=new $B(o,a,n),l=$j(a,VF),u=s.currentSupervisor;return u.onStart(l,e,mE(t),s),s.addObserver((e=>u.onEnd(e,s))),(null!==r?r:o_(t.getFiberRef(ZF),bE((()=>t.scope())))).add(n,s),s},t$=(e,t)=>LD(((n,r)=>hF(((e,t,n,r=null)=>{const o=e$(e,t,n,r);return o.resume(e),o})(e,n,r.runtimeFlags,t)))),n$=e=>TN((t=>vE(WP(t,a$),{onNone:()=>e,onSome:t=>{switch(t.strategy._tag){case"Parallel":return e;case"Sequential":case"ParallelN":return ZD(tN(t,gz),(t=>s$(e,t)))}}}))),r$=e=>t=>TN((n=>vE(WP(n,a$),{onNone:()=>t,onSome:n=>"ParallelN"===n.strategy._tag&&n.strategy.parallelism===e?t:ZD(tN(n,yz(e)),(e=>s$(t,e)))}))),o$=(e,t)=>n=>TN((r=>vE(WP(r,a$),{onNone:()=>n(Xx),onSome:r=>{if(!0!==t)return n(Xx);{const t="Parallel"===e._tag?n$:"Sequential"===e._tag?i$:r$(e.parallelism);switch(r.strategy._tag){case"Parallel":return t(n(n$));case"Sequential":return t(n(i$));case"ParallelN":return t(n(r$(r.strategy.parallelism)))}}}}))),i$=e=>TN((t=>vE(WP(t,a$),{onNone:()=>e,onSome:t=>{switch(t.strategy._tag){case"Sequential":return e;case"Parallel":case"ParallelN":return ZD(tN(t,mz),(t=>s$(e,t)))}}}))),a$=zP("effect/Scope"),s$=Jx(2,((e,t)=>PN(e,qP(VP(a$,t))))),l$=(e=>UF(e,{differ:mM,fork:mM.empty}))(cM),u$=(e=>UF(e,{differ:PB,fork:CB}))(wB),c$=(e,t,n)=>XD((r=>ZD(ZD(XB(sF(e)),(e=>zD((r=>{const o=t.map((e=>e.listeners.count)),i=()=>{o.every((e=>0===e))&&t.every((e=>"Pending"===e.result.state.current._tag||!("Done"!==e.result.state.current._tag||!fN(e.result.state.current.effect)||"Failure"!==e.result.state.current.effect._tag||!(e=>yE((e=>oD(e,(e=>e._tag===UM?mE(e.fiberId):pE())))(e)))(e.result.state.current.effect.cause))))&&(a.forEach((e=>e())),n?.(),r((e=>ZD(JD,(t=>o_(e,CF(t)))))(e)))};e.addObserver((e=>{a.forEach((e=>e())),r(e)}));const a=t.map(((e,t)=>{const n=e=>{o[t]=e,i()};return e.listeners.addObserver(n),()=>e.listeners.removeObserver(n)}));return i(),mF((()=>{a.forEach((e=>e()))}))})))),(()=>pF((()=>{const e=t.flatMap((e=>e.state.completed?[]:[e]));return aF(e,(e=>hB(e.request,(e=>mN(YM(e)))(r))))})))))),d$=fD,f$=tN,h$=e=>function(){if(1===arguments.length){const t=arguments[0];return(n,...r)=>e(t,n,...r)}return e.apply(this,arguments)},p$=h$(((e,t,n)=>{const r=II(),o=[[VF,[[r,e.context]]]];n?.scheduler&&o.push([OU,[[r,n.scheduler]]]);let i=Qj(e.fiberRefs,{entries:o,forkAs:r});n?.updateRefs&&(i=n.updateRefs(i,r));const a=new $B(r,i,e.runtimeFlags);let s=t;n?.scope&&(s=ZD(f$(n.scope,pz),(e=>_F(((e,t)=>e.addFinalizer((()=>FD(t))))(e,XD((e=>J_(e,a.id())?bF:CF(a,e)))),dF(t,(t=>((e,t)=>e.close(t))(e,t)))))));const l=a.currentSupervisor;return l!==wB&&(l.onStart(e.context,s,pE(),a),a.addObserver((e=>l.onEnd(e,a)))),$U.add(e.runtimeFlags,a),!1===n?.immediate?a.resume(s):a.start(s),a})),m$=h$(((e,t)=>{const n=S$(e)(t);if("Failure"===n._tag)throw w$(n.effect_instruction_i0);return n.effect_instruction_i0}));class g$ extends Error{fiber;_tag="AsyncFiberException";constructor(e){super(`Fiber #${e.id().id} cannot be resolved synchronously. This is caused by using runSync on an effect that performs async work`),this.fiber=e,this.name=this._tag,this.stack=this.message}}const y$=Symbol.for("effect/Runtime/FiberFailure"),v$=Symbol.for("effect/Runtime/FiberFailure/Cause");class b$ extends Error{[y$];[v$];constructor(e){const t=wD(e)[0];super(t?.message||"An error has occurred"),this[y$]=y$,this[v$]=e,this.name=t?`(FiberFailure) ${t.name}`:"FiberFailure",t?.stack&&(this.stack=t.stack)}toJSON(){return{_id:"FiberFailure",cause:this[v$].toJSON()}}toString(){return"(FiberFailure) "+fD(this[v$],{renderErrorCause:!0})}[tC](){return this.toString()}}const w$=e=>{const t=Error.stackTraceLimit;Error.stackTraceLimit=0;const n=new b$(e);return Error.stackTraceLimit=t,n},k$=e=>{const t=e;switch(t._op){case"Failure":case"Success":return t;case"Left":return pN(t.left);case"Right":return vN(t.right);case"Some":return vN(t.value);case"None":return pN(uN())}},S$=h$(((e,t)=>{const n=k$(t);if(n)return n;const r=new PU,o=p$(e)(t,{scheduler:r});r.flush();return o.unsafePoll()||(i=BD((e=>{const t=Error.stackTraceLimit;Error.stackTraceLimit=0;const n=new g$(e);return Error.stackTraceLimit=t,n})(o),ON(o)),mN(QM(i)));var i})),x$=h$(((e,t,n)=>_$(e,t,n).then((e=>{switch(e._tag){case yC:return e.effect_instruction_i0;case hC:throw w$(e.effect_instruction_i0)}})))),_$=h$(((e,t,n)=>new Promise((r=>{const o=k$(t);o&&r(o);const i=p$(e)(t);i.addObserver((e=>{r(e)})),void 0!==n?.signal&&(n.signal.aborted?i.unsafeInterruptAsFork(i.id()):n.signal.addEventListener("abort",(()=>{i.unsafeInterruptAsFork(i.id())}),{once:!0}))}))));class C${context;runtimeFlags;fiberRefs;constructor(e,t,n){this.context=e,this.runtimeFlags=t,this.fiberRefs=n}pipe(){return cC(this,arguments)}}const E$=uM(1,32,4),T$=(e=>new C$(e.context,e.runtimeFlags,e.fiberRefs))({context:UP(),runtimeFlags:E$,fiberRefs:function(){return e=new Map,new Nj(e);var e}()}),A$=p$(T$),P$=x$(T$),O$=m$(T$),R$=function(){const e=Symbol.for("effect/Data/Error/plainArgs");return class extends nN{constructor(t){super(t?.message,t?.cause?{cause:t.cause}:void 0),t&&(Object.assign(this,t),Object.defineProperty(this,e,{value:t,enumerable:!1}))}toJSON(){return{...this[e],...this}}}}(),I$=ID,L$=QB,M$=KD,D$=pF,F$=bF,N$=UD,j$=e=>{let t,n;"function"==typeof e?t=e:(t=e.try,n=e.catch);const r=e=>n?QD((()=>n(e))):KD(new dN(e,"An unknown error occurred in Effect.tryPromise"));return t.length>=1?zD(((e,n)=>{try{t(n).then((t=>e(vN(t))),(t=>e(r(t))))}catch(t){e(r(t))}})):zD((e=>{try{t().then((t=>e(vN(t))),(t=>e(r(t))))}catch(t){e(r(t))}}))},z$=lF,U$=cF,V$=WD,B$=ZD,$$=A$,H$=P$,W$=O$;class q${path;actual;issue;_tag="Pointer";constructor(e,t,n){this.path=e,this.actual=t,this.issue=n}}class K${actual;message;_tag="Unexpected";constructor(e,t){this.actual=e,this.message=t}}class Q${ast;message;_tag="Missing";actual=void 0;constructor(e,t){this.ast=e,this.message=t}}class Y${ast;actual;issues;output;_tag="Composite";constructor(e,t,n,r){this.ast=e,this.actual=t,this.issues=n,this.output=r}}class G${ast;actual;kind;issue;_tag="Refinement";constructor(e,t,n,r){this.ast=e,this.actual=t,this.kind=n,this.issue=r}}class J${ast;actual;kind;issue;_tag="Transformation";constructor(e,t,n,r){this.ast=e,this.actual=t,this.kind=n,this.issue=r}}class X${ast;actual;message;_tag="Type";constructor(e,t,n){this.ast=e,this.actual=t,this.message=n}}class Z${ast;actual;message;_tag="Forbidden";constructor(e,t,n){this.ast=e,this.actual=t,this.message=n}}const eH=Symbol.for("effect/Schema/ParseErrorTypeId");class tH extends((e=>{const t={BaseEffectError:class extends R${_tag=e}};return t.BaseEffectError.prototype.name=e,t.BaseEffectError})("ParseError")){[eH]=eH;get message(){return this.toString()}toString(){return CH.formatIssueSync(this.issue)}toJSON(){return{_id:"ParseError",message:this.toString()}}[tC](){return this.toJSON()}}const nH=e=>new tH({issue:e}),rH=ZC,oH=eE,iH=tE,aH=Jx(2,((e,t)=>iH(e)?aE(e,{onLeft:eE,onRight:t}):B$(e,t))),sH=Jx(2,((e,t)=>iH(e)?iE(e,t):z$(e,t))),lH=Jx(2,((e,t)=>iH(e)?oE(e,t):U$(e,t))),uH=Jx(2,((e,t)=>iH(e)?aE(e,{onLeft:t,onRight:ZC}):N$(e,t))),cH=(e,t)=>void 0===t||p_(t)?e:void 0===e?t:{...e,...t},dH=(e,t)=>((e,t,n)=>{const r=((e,t,n)=>{const r=hH(e);return(e,t)=>r(e,cH(n,t))})(e,0,n);return(e,t)=>lE(r(e,t),nH)})(dP(e.ast),0,t),fH=f_(Symbol.for("effect/ParseResult/decodeMemoMap"),(()=>new WeakMap)),hH=(e,t)=>{const n=fH,r=n.get(e);if(r)return r;const o=gH(e),i=dA(e),a=yE(i)?(e,t)=>o(e,cH(t,i.value)):o,s=fA(e),l=yE(s)?(t,n)=>wH(uH(a(t,n),s.value),e,t,n):a;return n.set(e,l),l},pH=e=>xE(lA(e)),mH=e=>xE(uA(e)),gH=(e,t)=>{switch(e._tag){case"Refinement":{const t=hH(e.from);return(n,r)=>{r=r??XA;const o="all"===r?.errors,i=aH(uH(t(n,r),(t=>{const i=new G$(e,n,"From",t);return o&&AE(pA(e),(e=>!0===e))&&LH(t)?vE(e.filter(n,r,e),{onNone:()=>eE(i),onSome:t=>eE(new Y$(e,n,[i,new G$(e,n,"Predicate",t)]))}):eE(i)})),(t=>vE(e.filter(t,r,e),{onNone:()=>ZC(t),onSome:t=>eE(new G$(e,n,"Predicate",t))})));return wH(i,e,n,r)}}case"Transformation":{const t=xH(e.transformation),n=hH(e.from),r=hH(e.to);return(o,i)=>wH(aH(lH(n(o,i),(t=>new J$(e,o,"Encoded",t))),(n=>aH(lH(t(n,i??XA,e,o),(t=>new J$(e,o,"Transformation",t))),(t=>lH(r(t,i),(t=>new J$(e,o,"Type",t))))))),e,o,i)}case"Declaration":{const t=e.decodeUnknown(...e.typeParameters);return(n,r)=>wH(t(n,r??XA,e),e,n,r)}case"Literal":return yH(e,(t=>t===e.literal));case"UniqueSymbol":return yH(e,(t=>t===e.symbol));case"UndefinedKeyword":return yH(e,b_);case"NeverKeyword":return yH(e,w_);case"UnknownKeyword":case"AnyKeyword":case"VoidKeyword":return ZC;case"StringKeyword":return yH(e,h_);case"NumberKeyword":return yH(e,p_);case"BooleanKeyword":return yH(e,m_);case"BigIntKeyword":return yH(e,g_);case"SymbolKeyword":return yH(e,y_);case"ObjectKeyword":return yH(e,S_);case"Enums":return yH(e,(t=>e.enums.some((([e,n])=>n===t))));case"TemplateLiteral":{const t=(e=>new RegExp(`^${aP(e)}$`))(e);return yH(e,(e=>h_(e)&&t.test(e)))}case"TupleType":{const t=e.elements.map((e=>hH(e.type))),n=e.rest.map((e=>hH(e.type)));let r=e.elements.filter((e=>!e.isOptional));e.rest.length>0&&(r=r.concat(e.rest.slice(1)));const o=r.length,i=e.elements.length>0?e.elements.map(((e,t)=>t)).join(" | "):"never",a=pH(e),s=mH(e);return(l,u)=>{if(!NE(l))return eE(new X$(e,l));const c="all"===u?.errors,d=[];let f=0;const h=[],p=l.length;for(let t=p;t<=o-1;t++){const n=new q$(t,l,new Q$(r[t-p]));if(!c)return eE(new Y$(e,l,n,h));d.push([f++,n])}if(0===e.rest.length)for(let t=e.elements.length;t<=p-1;t++){const n=new q$(t,l,new K$(l[t],`is unexpected, expected: ${i}`));if(!c)return eE(new Y$(e,l,n,h));d.push([f++,n])}let m,g=0;for(;g<t.length;g++)if(p<g+1){if(e.elements[g].isOptional)continue}else{const n=(0,t[g])(l[g],u);if(iH(n)){if(nE(n)){const t=new q$(g,l,n.left);if(c){d.push([f++,t]);continue}return eE(new Y$(e,l,t,SH(h)))}h.push([f++,n.right])}else{const t=f++,r=g;m||(m=[]),m.push((({es:o,output:i})=>B$(V$(n),(n=>{if(nE(n)){const a=new q$(r,l,n.left);return c?(o.push([t,a]),F$):eE(new Y$(e,l,a,SH(i)))}return i.push([t,n.right]),F$}))))}}if(zE(n)){const[t,...r]=n;for(;g<p-r.length;g++){const n=t(l[g],u);if(iH(n)){if(nE(n)){const t=new q$(g,l,n.left);if(c){d.push([f++,t]);continue}return eE(new Y$(e,l,t,SH(h)))}h.push([f++,n.right])}else{const t=f++,r=g;m||(m=[]),m.push((({es:o,output:i})=>B$(V$(n),(n=>{if(nE(n)){const a=new q$(r,l,n.left);return c?(o.push([t,a]),F$):eE(new Y$(e,l,a,SH(i)))}return i.push([t,n.right]),F$}))))}}for(let t=0;t<r.length;t++)if(g+=t,!(p<g+1)){const n=r[t](l[g],u);if(iH(n)){if(nE(n)){const t=new q$(g,l,n.left);if(c){d.push([f++,t]);continue}return eE(new Y$(e,l,t,SH(h)))}h.push([f++,n.right])}else{const t=f++,r=g;m||(m=[]),m.push((({es:o,output:i})=>B$(V$(n),(n=>{if(nE(n)){const a=new q$(r,l,n.left);return c?(o.push([t,a]),F$):eE(new Y$(e,l,a,SH(i)))}return i.push([t,n.right]),F$}))))}}}const y=({es:t,output:n})=>jE(t)?eE(new Y$(e,l,SH(t),SH(n))):ZC(SH(n));if(m&&m.length>0){const e=m;return D$((()=>{const t={es:nT(d),output:nT(h)};return B$(L$(e,(e=>e(t)),{concurrency:a,batching:s,discard:!0}),(()=>y(t)))}))}return y({output:h,es:d})}}case"TypeLiteral":{if(0===e.propertySignatures.length&&0===e.indexSignatures.length)return yH(e,E_);const t=[],n={},r=[];for(const o of e.propertySignatures)t.push([hH(o.type),o]),n[o.name]=null,r.push(o.name);const o=e.indexSignatures.map((e=>[hH(e.parameter),hH(e.type),e.parameter])),i=WA.make(e.indexSignatures.map((e=>e.parameter)).concat(r.map((e=>y_(e)?new SA(e):new bA(e))))),a=hH(i),s=pH(e),l=mH(e);return(u,c)=>{if(!(e=>k_(e)&&!Array.isArray(e))(u))return eE(new X$(e,u));const d="all"===c?.errors,f=[];let h=0;const p="error"===c?.onExcessProperty,m={};let g,y;if(p||"preserve"===c?.onExcessProperty){g=yT(u);for(const t of g){const n=a(t,c);if(iH(n)&&nE(n)){if(p){const n=new q$(t,u,new K$(u[t],`is unexpected, expected: ${String(i)}`));if(d){f.push([h++,n]);continue}return eE(new Y$(e,u,n,m))}m[t]=u[t]}}}const v=!0===c?.exact;for(let n=0;n<t.length;n++){const r=t[n][1],o=r.name,i=Object.prototype.hasOwnProperty.call(u,o);if(!i){if(r.isOptional)continue;if(v){const t=new q$(o,u,new Q$(r));if(d){f.push([h++,t]);continue}return eE(new Y$(e,u,t,m))}}const a=(0,t[n][0])(u[o],c);if(iH(a)){if(nE(a)){const t=new q$(o,u,i?a.left:new Q$(r));if(d){f.push([h++,t]);continue}return eE(new Y$(e,u,t,m))}m[o]=a.right}else{const t=h++,n=o;y||(y=[]),y.push((({es:o,output:s})=>B$(V$(a),(a=>{if(nE(a)){const l=new q$(n,u,i?a.left:new Q$(r));return d?(o.push([t,l]),F$):eE(new Y$(e,u,l,s))}return s[n]=a.right,F$}))))}}for(let t=0;t<o.length;t++){const r=o[t],i=r[0],a=r[1],s=gT(u,r[2]);for(const t of s){const r=i(t,c);if(iH(r)&&rE(r)){const r=a(u[t],c);if(iH(r)){if(nE(r)){const n=new q$(t,u,r.left);if(d){f.push([h++,n]);continue}return eE(new Y$(e,u,n,m))}Object.prototype.hasOwnProperty.call(n,t)||(m[t]=r.right)}else{const o=h++,i=t;y||(y=[]),y.push((({es:a,output:s})=>B$(V$(r),(r=>{if(nE(r)){const t=new q$(i,u,r.left);return d?(a.push([o,t]),F$):eE(new Y$(e,u,t,s))}return Object.prototype.hasOwnProperty.call(n,t)||(s[t]=r.right),F$}))))}}}}const b=({es:t,output:n})=>{if(jE(t))return eE(new Y$(e,u,SH(t),n));if("original"===c?.propertyOrder){const e=g||yT(u);for(const t of r)-1===e.indexOf(t)&&e.push(t);const t={};for(const r of e)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return ZC(t)}return ZC(n)};if(y&&y.length>0){const e=y;return D$((()=>{const t={es:nT(f),output:Object.assign({},m)};return B$(L$(e,(e=>e(t)),{concurrency:s,batching:l,discard:!0}),(()=>b(t)))}))}return b({es:f,output:m})}}case"Union":{const t=bH(e.types),n=yT(t.keys),r=n.length,o=e.types.length,i=new Map;for(let t=0;t<o;t++)i.set(e.types[t],hH(e.types[t]));const a=pH(e)??1,s=mH(e);return(l,u)=>{const c=[];let d,f=0,h=[];if(r>0)if(k_(l))for(let e=0;e<r;e++){const r=n[e],i=t.keys[r].buckets;if(Object.prototype.hasOwnProperty.call(l,r)){const e=String(l[r]);if(Object.prototype.hasOwnProperty.call(i,e))h=h.concat(i[e]);else{const{candidates:e,literals:n}=t.keys[r],i=WA.make(n),a=e.length===o?new zA([new FA(r,i,!1,!0)],[]):WA.make(e);c.push([f++,new Y$(a,l,new q$(r,l,new X$(i,l[r])))])}}else{const{candidates:e,literals:n}=t.keys[r],i=new FA(r,WA.make(n),!1,!0),a=e.length===o?new zA([i],[]):WA.make(e);c.push([f++,new Y$(a,l,new q$(r,l,new Q$(i)))])}}else{const n=t.candidates.length===o?e:WA.make(t.candidates);c.push([f++,new X$(n,l)])}t.otherwise.length>0&&(h=h.concat(t.otherwise));for(let e=0;e<h.length;e++){const t=h[e],n=i.get(t)(l,u);if(!iH(n)||d&&0!==d.length){const e=f++;d||(d=[]),d.push((t=>D$((()=>"finalResult"in t?F$:B$(V$(n),(n=>(rE(n)?t.finalResult=n:t.es.push([e,n.left]),F$)))))))}else{if(rE(n))return n;c.push([f++,n.left])}}const p=t=>jE(t)?1===t.length&&"Type"===t[0][1]._tag?eE(t[0][1]):eE(new Y$(e,l,SH(t))):eE(new X$(e,l));if(d&&d.length>0){const e=d;return D$((()=>{const t={es:nT(c)};return B$(L$(e,(e=>e(t)),{concurrency:a,batching:s,discard:!0}),(()=>"finalResult"in t?t.finalResult:p(t.es)))}))}return p(c)}}case"Suspend":{const t=vT((()=>hH(rP(e.f(),e.annotations))));return(e,n)=>t()(e,n)}}},yH=(e,t)=>n=>t(n)?ZC(n):eE(new X$(e,n)),vH=(e,t)=>{switch(e._tag){case"Declaration":{const t=hA(e);if(yE(t))return vH(t.value);break}case"TypeLiteral":{const t=[];for(let n=0;n<e.propertySignatures.length;n++){const r=e.propertySignatures[n],o=mP(r.type);wA(o)&&!r.isOptional&&t.push([r.name,o])}return t}case"TupleType":{const t=[];for(let n=0;n<e.elements.length;n++){const r=e.elements[n],o=mP(r.type);wA(o)&&!r.isOptional&&t.push([n,o])}return t}case"Refinement":case"Transformation":return vH(e.from);case"Suspend":return vH(e.f())}return[]},bH=(e,t)=>{const n={},r=[],o=[];for(let t=0;t<e.length;t++){const i=e[t],a=vH(i);if(a.length>0){o.push(i);for(let e=0;e<a.length;e++){const[t,r]=a[e],o=String(r.literal);n[t]=n[t]||{buckets:{},literals:[],candidates:[]};const s=n[t].buckets;if(!Object.prototype.hasOwnProperty.call(s,o)){s[o]=[i],n[t].literals.push(r),n[t].candidates.push(i);break}e<a.length-1||(s[o].push(i),n[t].literals.push(r),n[t].candidates.push(i))}}else r.push(i)}return{keys:n,otherwise:r,candidates:o}},wH=(e,t,n,r)=>{if(!0===r?.isEffectAllowed)return e;if(iH(e))return e;const o=new PU,i=$$(e,{scheduler:o});o.flush();const a=i.unsafePoll();if(a){if((e=>"Success"===e._tag)(a))return ZC(a.value);const e=a.cause;return(e=>e._tag===zM)(e)?eE(e.error):eE(new Z$(t,n,d$(e)))}return eE(new Z$(t,n,"cannot be be resolved synchronously, this is caused by using runSync on an effect that performs async work"))},kH=([e],[t])=>e>t?1:e<t?-1:0;function SH(e){return e.sort(kH).map((e=>e[1]))}const xH=(e,t)=>{switch(e._tag){case"FinalTransformation":return e.decode;case"ComposeTransformation":return ZC;case"TypeLiteralTransformation":return t=>{let n=ZC(t);for(const t of e.propertySignatureTransformations){const[e,r]=[t.from,t.to],o=t.decode,i=t=>{const n=o(Object.prototype.hasOwnProperty.call(t,e)?mE(t[e]):pE());return delete t[e],yE(n)&&(t[r]=n.value),t};n=sH(n,i)}return n}}},_H=(e,t=[])=>({value:e,forest:t}),CH={formatIssue:e=>sH(UH(e),EH),formatIssueSync:e=>{const t=CH.formatIssue(e);return iH(t)?uE(t):W$(t)},formatError:e=>CH.formatIssue(e.issue),formatErrorSync:e=>CH.formatIssueSync(e.issue)},EH=e=>e.value+TH("\n",e.forest),TH=(e,t)=>{let n="";const r=t.length;let o;for(let i=0;i<r;i++){o=t[i];const a=i===r-1;n+=e+(a?"└":"├")+"─ "+o.value,n+=TH(e+(r>1&&!a?"│  ":"   "),o.forest)}return n},AH=e=>{switch(e){case"Encoded":return"Encoded side transformation failure";case"Transformation":return"Transformation process failure";case"Type":return"Type side transformation failure"}},PH=e=>{switch(e){case"From":return"From side refinement failure";case"Predicate":return"Predicate refinement failure"}},OH=e=>"ast"in e?mE(e.ast):pE(),RH=ZC(void 0),IH=e=>t=>t._tag===e,LH=IH("Composite"),MH=IH("Refinement"),DH=IH("Transformation"),FH=e=>aH((e=>OH(e).pipe(CE(nA),vE({onNone:()=>RH,onSome:t=>{const n=t(e);return h_(n)?ZC({message:n,override:!1}):I$(n)?z$(n,(e=>({message:e,override:!1}))):h_(n.message)?ZC({message:n.message,override:n.override}):z$(n.message,(e=>({message:e,override:n.override})))}})))(e),(t=>void 0!==t?!t.override&&(LH(e)||MH(e)&&"From"===e.kind||DH(e)&&"Transformation"!==e.kind)?DH(e)||MH(e)?FH(e.issue):RH:ZC(t.message):RH)),NH=e=>OH(e).pipe(CE(cA),EE((t=>t(e))),xE);const jH=e=>NH(e)??String(e.ast),zH=e=>e.message??"is forbidden",UH=e=>{switch(e._tag){case"Type":return sH((e=>sH(FH(e),(t=>t??NH(e)??function(e){return void 0!==e.message?e.message:`Expected ${JA(e.ast)?(t=e.ast,sA(t).pipe(wE((()=>oA(t))),wE((()=>iA(t))),wE((()=>aA(t))),bE((()=>`{ ${t.from} | filter }`)))):String(e.ast)}, actual ${wT(e.actual)}`;var t}(e))))(e),_H);case"Forbidden":return ZC(_H(jH(e),[_H(zH(e))]));case"Unexpected":return ZC(_H((e=>e.message??"is unexpected")(e)));case"Missing":return sH((e=>{const t=rA(e.ast);if(yE(t)){const e=t.value();return h_(e)?ZC(e):e}return ZC(e.message??"is missing")})(e),_H);case"Transformation":return aH(FH(e),(t=>void 0!==t?ZC(_H(t)):sH(UH(e.issue),(t=>_H(jH(e),[_H(AH(e.kind),[t])])))));case"Refinement":return aH(FH(e),(t=>void 0!==t?ZC(_H(t)):sH(UH(e.issue),(t=>_H(jH(e),[_H(PH(e.kind),[t])])))));case"Pointer":return sH(UH(e.issue),(t=>_H((e=>kT(e)?e.map(ST).join(""):ST(e))(e.path),[t])));case"Composite":return aH(FH(e),(t=>{if(void 0!==t)return ZC(_H(t));const n=jH(e);return kT(e.issues)?sH(L$(e.issues,UH),(e=>_H(n,e))):sH(UH(e.issues),(e=>_H(n,[e])))}))}},VH=Jx((e=>S_(e[0])),((e,...t)=>{const n={};for(const r of t)r in e&&(n[r]=e[r]);return n})),BH=Jx((e=>S_(e[0])),((e,...t)=>{const n={...e};for(const e of t)delete n[e];return n})),$H=Symbol.for("effect/Schema");function HH(e){return class{[$H]=WH;static ast=e;static annotations(e){return HH(QH(this.ast,e))}static pipe(){return cC(this,arguments)}static toString(){return String(e)}static Type;static Encoded;static Context;static[$H]=WH}}const WH={_A:e=>e,_I:e=>e,_R:e=>e},qH={schemaId:LT,message:MT,missingMessage:DT,identifier:FT,title:NT,description:zT,examples:UT,default:VT,documentation:qT,jsonSchema:BT,arbitrary:$T,pretty:HT,equivalence:WT,concurrency:KT,batching:QT,parseIssueTitle:YT,parseOptions:GT,decodingFallback:JT},KH=e=>{if(!e)return{};const t={...e};for(const n in qH)n in e&&(t[qH[n]]=e[n],delete t[n]);return t},QH=(e,t)=>rP(e,KH(t)),YH=e=>x_(e,$H)&&S_(e[$H]);function GH(e,t){return class extends(HH(t)){static annotations(e){return GH(this.typeParameters,QH(this.ast,e))}static typeParameters=[...e]}}class JH extends(HH(xA)){}class XH extends(HH(kA)){}class ZH extends(HH(_A)){}class eW extends(HH(TA)){}function tW(e,t=(e=>WA.make(e.map((e=>e.ast))))(e)){return class extends(HH(t)){static annotations(e){return tW(this.members,QH(this.ast,e))}static members=[...e]}}function nW(...e){return qA(e)?tW(e):zE(e)?e[0]:ZH}const rW=e=>nW(e,XH);function oW(e,t,n=((e,t)=>new MA(e.map((e=>YH(e)?new IA(e.ast,!1):e.ast)),t.map((e=>YH(e)?new RA(e.ast):e.ast)),!0))(e,t)){return class extends(HH(n)){static annotations(e){return oW(this.elements,this.rest,QH(this.ast,e))}static elements=[...e];static rest=[...t]}}function iW(e,t){return class extends(oW([],[e],t)){static annotations(e){return iW(this.value,QH(this.ast,e))}static value=e}}const aW=e=>iW(e),sW=e=>e?'"?:"':'":"';class lW extends IA{isReadonly;defaultValue;_tag="PropertySignatureDeclaration";constructor(e,t,n,r,o){super(e,t,r),this.isReadonly=n,this.defaultValue=o}toString(){const e=sW(this.isOptional),t=String(this.type);return`PropertySignature<${e}, ${t}, never, ${e}, ${t}>`}}class uW extends IA{isReadonly;defaultValue;constructor(e,t,n,r,o){super(e,t,r),this.isReadonly=n,this.defaultValue=o}}class cW{from;to;decode;encode;_tag="PropertySignatureTransformation";constructor(e,t,n,r){this.from=e,this.to=t,this.decode=n,this.encode=r}toString(){return`PropertySignature<${sW(this.to.isOptional)}, ${this.to.type}, ${(e=>void 0===e?"never":h_(e)?JSON.stringify(e):String(e))(this.from.fromKey)}, ${sW(this.from.isOptional)}, ${this.from.type}>`}}const dW=(e,t)=>{switch(e._tag){case"PropertySignatureDeclaration":return new lW(e.type,e.isOptional,e.isReadonly,{...e.annotations,...t},e.defaultValue);case"PropertySignatureTransformation":return new cW(e.from,new uW(e.to.type,e.to.isOptional,e.to.isReadonly,{...e.to.annotations,...t},e.to.defaultValue),e.decode,e.encode)}},fW=Symbol.for("effect/PropertySignature"),hW=e=>x_(e,fW);class pW{ast;[$H];[fW]=null;_TypeToken;_Key;_EncodedToken;_HasDefault;constructor(e){this.ast=e}pipe(){return cC(this,arguments)}annotations(e){return new pW(dW(this.ast,KH(e)))}toString(){return String(this.ast)}}class mW extends pW{from;constructor(e,t){super(e),this.from=t}annotations(e){return new mW(dW(this.ast,KH(e)),this.from)}}const gW=e=>{const t=e.ast===xA||e.ast===_A?xA:(e=>nW(e,JH))(e).ast;return new mW(new lW(t,!0,!0,{},void 0),e)},yW=uP([DT]);function vW(e,t,n=((e,t)=>{const n=yT(e),r=[];if(n.length>0){const o=[],i=[],a=[];for(let t=0;t<n.length;t++){const s=n[t],l=e[s];if(hW(l)){const e=l.ast;switch(e._tag){case"PropertySignatureDeclaration":{const t=e.type,n=e.isOptional,a=e.annotations;o.push(new FA(s,t,n,!0,yW(e))),i.push(new FA(s,dP(t),n,!0,a)),r.push(new FA(s,t,n,!0,a));break}case"PropertySignatureTransformation":{const t=e.from.fromKey??s;o.push(new FA(t,e.from.type,e.from.isOptional,!0,e.from.annotations)),i.push(new FA(s,e.to.type,e.to.isOptional,!0,e.to.annotations)),a.push(new tP(t,s,e.decode,e.encode));break}}}else o.push(new FA(s,l.ast,!1,!0)),i.push(new FA(s,dP(l.ast),!1,!0)),r.push(new FA(s,l.ast,!1,!0))}if(zE(a)){const e=[],n=[];for(const r of t){const{indexSignatures:t,propertySignatures:a}=sP(r.key.ast,r.value.ast);a.forEach((e=>{o.push(e),i.push(new FA(e.name,dP(e.type),e.isOptional,e.isReadonly,e.annotations))})),t.forEach((t=>{e.push(t),n.push(new jA(t.parameter,dP(t.type),t.isReadonly))}))}return new ZA(new zA(o,e,{[jT]:"Struct (Encoded side)"}),new zA(i,n,{[jT]:"Struct (Type side)"}),new nP(a))}}const o=[];for(const e of t){const{indexSignatures:t,propertySignatures:n}=sP(e.key.ast,e.value.ast);n.forEach((e=>r.push(e))),t.forEach((e=>o.push(e)))}return new zA(r,o)})(e,t)){return class extends(HH(n)){static annotations(e){return vW(this.fields,this.records,QH(this.ast,e))}static fields={...e};static records=[...t];static make=(t,n)=>{const r=((e,t)=>{const n=yT(e);for(const r of n){const n=e[r];if(void 0===t[r]&&hW(n)){const e=n.ast,o="PropertySignatureDeclaration"===e._tag?e.defaultValue:e.to.defaultValue;void 0!==o&&(t[r]=o())}}return t})(e,{...t});return LW(n)?r:dH(this)(r)};static pick(...t){return bW(VH(e,...t))}static omit(...t){return bW(BH(e,...t))}}}function bW(e,...t){return vW(e,t)}const wW=e=>HH(lP(e.ast)),kW=Symbol.for("effect/SchemaId/Refine");function SW(e,t,n){return class extends(HH(n)){static annotations(e){return SW(this.from,this.filter,QH(this.ast,e))}static[kW]=e;static from=e;static filter=t;static make=(e,t)=>LW(t)?e:dH(this)(e)}}const xW=(e,t,n)=>{if(m_(e))return e?pE():mE(new X$(t,n));if(h_(e))return mE(new X$(t,n,e));if(void 0!==e){if("_tag"in e)return mE(e);const r=new X$(t,n,e.message);return mE(zE(e.path)?new q$(e.path,n,r):r)}return pE()};function _W(e,t){return n=>{function r(t,n,r){return((e,t,n)=>{if((e=>!Array.isArray(e))(e))return xW(e,t,n);if(zE(e)){const r=uT(e,(e=>xW(e,t,n)));if(zE(r))return mE(1===r.length?r[0]:new Y$(t,n,r))}return pE()})(e(t,n,r),r,t)}return SW(n,r,new GA(n.ast,r,KH(t)))}}function CW(e,t,n){return class extends(HH(n)){static annotations(e){return CW(this.from,this.to,QH(this.ast,e))}static from=e;static to=t}}const EW=Jx((e=>YH(e[0])&&YH(e[1])),((e,t,n)=>CW(e,t,new ZA(e.ast,t.ast,new eP(n.decode,n.encode))))),TW=Jx((e=>YH(e[0])&&YH(e[1])),((e,t,n)=>EW(e,t,{strict:!0,decode:(e,t,r,o)=>rH(n.decode(e,o)),encode:(e,t,r,o)=>rH(n.encode(e,o))}))),AW=Symbol.for("effect/SchemaId/ValidDate"),PW=PT;class OW extends(function(){return Array.isArray(arguments[0])?((e,t,n)=>GH(e,new yA(e.map((e=>e.ast)),((...e)=>t.decode(...e.map(HH))),((...e)=>t.encode(...e.map(HH))),KH(n))))(arguments[0],arguments[1],arguments[2]):((e,t)=>{const n=()=>(t,n,r)=>e(t)?rH(t):oH(new X$(r,t));return GH([],new yA([],n,n,KH(t)))})(arguments[0],arguments[1])}(T_,{identifier:"DateFromSelf",schemaId:PW,[PW]:{noInvalidDate:!1},description:"a potentially invalid Date instance",pretty:()=>e=>`new Date(${JSON.stringify(e)})`,arbitrary:()=>e=>e.date({noInvalidDate:!1}),equivalence:()=>u_})){}class RW extends(TW(eW.annotations({description:"a string to be decoded into a Date"}),OW,{strict:!0,decode:e=>new Date(e),encode:e=>bT(e)}).annotations({identifier:"DateFromString"})){}class IW extends(RW.pipe((e=>t=>t.pipe(_W((e=>!Number.isNaN(e.getTime())),{schemaId:AW,[AW]:{noInvalidDate:!0},title:"validDate",description:"a valid Date",...e})))({identifier:"Date"}))){}function LW(e){return m_(e)?e:e?.disableValidation??!1}const MW=bW({id:eW,question:eW,answer:eW,category:rW(eW),order:class extends(HH(PA)){}}),DW=bW({id:eW,name:eW,slug:eW,logo:rW(eW),text:bW({welcomeMessage:eW,placeholder:eW,notificationMessage:gW(eW)}),suggestions:bW({initial:wW(aW(eW)),notFound:wW(aW(eW))}),branding:bW({chat:bW({headerBgColor:eW,avatarColor:eW,foldedBgColor:eW}),bubble:bW({userBgColor:eW,aiBgColor:eW,userTextColor:eW,aiTextColor:eW})}),promptInformation:bW({bio:eW,prompt:eW,styles:wW(aW(eW)),topics:wW(aW(eW)),adjectives:wW(aW(eW))}),faqs:gW(wW(aW(MW))),requestedFields:gW(wW(aW(eW))),contact:gW(bW({email:gW(eW)})),createdAt:IW,updatedAt:IW}),FW=(t,n,r)=>function(){const e=1===arguments.length?arguments[0]:arguments[1].bind(arguments[0]);return t=()=>e(o_),pF((()=>{const e=new PD(SC);return e.effect_instruction_i0=t(),e}));var t}((function*(o){const i=(()=>{try{e&&"SCRIPT"===e.tagName.toUpperCase()&&e.src||new URL("widget.js",document.baseURI).href}catch{}return"undefined"!=typeof process&&"development"===process.env.NODE_ENV?"/api/agents":"https://app.kolia.fr/api/agents"})();let a;if(i.startsWith("/")){const e="undefined"!=typeof window?window.location.origin:"http://localhost:3000";a=new URL(`${e}${i}/agent/${t}`)}else a=new URL(`${i}/agent/${t}`);a.searchParams.append("contactId",n),r&&a.searchParams.append("isTestConversation","true");const s=yield*o(j$({try:()=>fetch(a.toString()),catch:e=>new Error(`Network error: ${e}`)}));s.ok||(yield*o(M$(new Error(`HTTP ${s.status}: ${s.statusText}`))));const l=yield*o(j$({try:()=>s.json(),catch:()=>new Error("Failed to parse response")}));return yield*o((e=>{const t=((e,t)=>((e,t,n)=>{const r=hH(e);return(e,t)=>r(e,{...cH(n,t),isEffectAllowed:!0})})(e.ast,0,t))(e,void 0);return(e,n)=>lH(t(e,n),nH)})(DW)(l))})),NW=e=>{try{return{...e,uiOptions:{delayDisplayChat:1e3,delayDisplayMessage:0,showNotification:!0,delayNotification:1e4},shouldOpenDefault:!0,avatarUrl:e.logo||"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxASEBAQExIREA8QEBAVEBAQEhAQEBAQFRIYGBcSFRcYHSggGBolGxMWIjEhJSkrLi4uFx8zODMuNygtLisBCgoKDg0OGBAQGi8lHR8tLS0tMC0vMCstKystLS0rKy03LS0rKy0tLS0tKysrLS0vKy0rKysrLSstLS01My0rLf/AABEIAOEA4QMBIgACEQEDEQH/xAAcAAEAAQUBAQAAAAAAAAAAAAAAAwECBAUGBwj/xABIEAACAQIDBAYGBwQFDQAAAAAAAQIDEQQSIQUxQVEGImFxgaEHEzJSkbEjQmJyssHRFDOC4RdDdJLwFSVEVHODk6KzwsPT4v/EABgBAQEBAQEAAAAAAAAAAAAAAAACAQME/8QAHhEBAQACAwEBAQEAAAAAAAAAAAECEQMSMSEEQSL/2gAMAwEAAhEDEQA/APcQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAALZTS3uwFwMeWLjwuyKrim00urdNXvqu1G6rNpK2Opxdr3a3pa2IXtOPLzNatnR96b8V+hd+wQ5y+JXWM22H+U48vMkp7QpvS9u/cav9ghzl8S17Oj7014r9BqG3Qg1+ErOEFB3ll0TejtwRkxxUe1E6btOC2M09zuXGNAAAAAAAAAAAAAAAAAAAAAAAhxlTLCT47viBDWxLbyx+JYoLe9TEq4qFKm5zlGMYxcpyk1GMYpXbk3uSR5b0k9L6TlDB0vW2uvX180ad+cKatJrtbj3FyJtetznG1l5GPVrxirylGK5yaivM+cNp9Ntp4i+fF1YRf1KD9RFdn0dm13tmhq3m8025y96bc5fFlTFFzj6bxHSfAU/bxmEg+UsRRT/EYz6bbLX+nYTwrQfyZ82qmXZDerO76QXTfZf+vYXxrQXzZPQ6VbOm7RxuEk+SxFG/wzHzRkKOmOp3fVdHEwnrCcZrnCSl8iTMfJ0IZXmj1ZLdKOjXijc7O6XbSw/wC7xde3u1J+uh3ZamZLwM6t7x9MKZl4bFXeV+DPE9g+l+aahjKKlHjWw91Jdrpyevg13HqOzto0q9KFajNVKU1eE47n+aaejT1TRlipXTAjoTzRi+a8yQ5rAAAAAAAAAAAAAAAAAABHiKqhFyfDhzfI5mptGpOpZy6mvVVkje7W/d+K+TOWT+lXc/kXjGVxHpp2rONDD4WLajXnOdS31oUstoPszTT/AIEeSRiekeml3qYH7mJ/FSPO4I6Rxz9VjAlVI2WwNj1MVWjRp2u1eUn7MILfJ/Fac2ju8R6M0qd4V26lvrwSpyfLR3j5nXHC15OT9GGF1lXmfqyuQzsVhZU5ypzWWcJOMk+DREoDTp22x8ha4GU4FYUrtJJtt2SWrb5IaOzDdIjlA9N2b6NnOnmq1nCbV8lOKkodjbfWfdY5HpP0fqYOooTanGSbp1ErKaW9NcGrrTtQuFjnx/pwzy6yublE9F9C21Zxr4jCNt050vXRXCNSEoxk13qa/uI8+mjsPRHptGX9krf9Skcq9eF+vaKGPqxqSSm8qekXqtyOlwtbPFPc+K7TkKT+kl3r5I6fZXsvwOeUdozgAQ0AAAAAAAAAAAAAAABh7Vj9G+xpv/HiclN/SLxO4kk1Z6p70c7tnZMYJ1Yydk1eL13u2/xKxrK8f9Mb+kwX3MR+KmefwO99MCefBS4ZcQr9t6bsefxZ1jjn66zobt+GDqVJShKaqQiuq0pJp348HfyR139JdN6PD1FHmpxb+FvzPLIVCaNU7Y52TTxcn5ePPK5Wfa3G3toqviKtZRyKbjaLteygo69vVMBSMdTOg6P9GauLpyqQqU4KE8jU8175U76Ld1vJmzdrbceLH78kadyJ9n4lU6tKpbMqdSE8u6+WSdvI3G2uiNbDUZV51KUoxcVljnzPNJR0uu3yZzDmLuemGWPJj/m7j0z+kqnHSOHqNcW5xi/JM5vpn0ohjI0oxpyhklKTc3F71aytw/kcs6pFOoZc7U8f5ePGyyeI6jOt9FD/AM4S/stb8dM4+TOu9FSf7fN8Fhat3yvUp2ONe3D17Bh/bff+R1Wy11W+41eytjKUY1ZTdpa5UrP43/I39OCSSWiW45Wu8i4AEtAAAAAAAAAAAAAAAACLF0FUhKD3STV+T4MlAHk/TPo9+00ZYefUrU5Zqcne0ZpNa84tNrxvwPGdp7Mr4aeStTlTd9G/Yn2xlul4H1jtHZlOsusrSW6cdJLs7V2HMbS6L1LOOWFem98Wlqu2MtGdJki47fNikXqZ6ztToDg23moVMPJ8ablTXhGV4/BGixHo4h/V4mS/2lOM/OLiXtzuFcMqhtdidIK+Fk5UpLrJKUJrNCVt11dPS+9NG4qejvEL2a9GX3o1IfK5jv0f43hPDP8A3lVf+M2ZaRlxTKasYu3elGIxSiqjioRd1TpxcYZved223Z8zSSqHSLoBjvfw3/Eq/wDrMin6O8Q/arUY/dVSXzSNue/TDhmE1jHIOZa5HeUPRwv6zEtrlTpKPnKT+RvdlejvC6WpVsS1xnKTj4qCSt3k9lzCvKsHhKtafq6UJVZ+7BXa7XwS7Xoew+jvolLDxcXaWJruLqtaxpQjuinxtdtvi33HW7I6IOEVFRp4amvqU4xv8I6eNzqsBgKdGOWC3+1J6yl3si5Okx0npU1GKit0Uku5IvAOawAAAAAAAAAAAAAAAAAAAAABp9obehC8YL1klvd7QXjxLNnbRr1E5SUIxfs5VJSfbdvcbqs229WrFb9ew1eMpUpKT9TTvZ6uEXLdzsZEKd9WKsFvNkHKulS91fFot/Z6Xu/80v1NhjtlSu5U7a/UenwZqqlKtHfTmv4W18VoWxN6il7vnL9SqpUvdXmzHhTqvdTm/wCGRssHsqbadTqx91O8n8NwG12ZGnGEWqVO9t+WKlv5m0pYmL03PkzBikkktEty7CyoibDbcA01fHVoRvHLK29STbt2WZXBbcUtJxy/aWsfFcCdVu24BRO+q1TKmNAAAAAAAAAAAAAAAAAAANJtzHvWlF/fa/D+ptMbXyQcuO6PecpWe/mVjGVjQpZpxj7zS8DqKNNaJaJLd2Lgc7gP30O9/hZ0tB7yqxKyCpO/cK1TgR5jJBUqW5hmNFxQpmGYCpSe4ZijkBGaqtTyza4b13M2eYwMa+v/AAr5sDYbIxji8jfVe77L/Q3hytI6HAVs0Nd8dH+TJsbGSACWgAAAAAAAAAAAAAAUbA0+2qt5KPCK173/ACNLVM/FTu2+bbMCqdIlFhpWqQf2vnodDQqpXuaXZVDPWiuCUm/CLt52M1TFGQ5lMxDmGYCbMMxDmGYCbMMxDmGYCbMHIhzFs56AX5jCxD6/gifOUx1Kzpy4Tpxfe7v8rAUpGz2dUtJcnoaykZtEDegtpyuk+aLjmoAAAAAAAAAAAAACDGStCXdb4k5i7S9jxQg0dYwqpm1jCqnRLYdGad6lSXuxS/vO/wD2mPjsDGNSeW8Hmb6jsnfXdu4m26OUbUnL35NruWnzuWbeo+zUX3Zfl+fkTv63+NN9KvrRmvtLK/itPIrDEu6jKLi3ezupLQZiypG7Tu01ez04lMZWYZjEvPnF96t8iuef2fiwMrMMxi55/Z+LKXnziu5NgS1cQ08qi5O196Ste3EhnOq+MILsvN/kglZ3bbdrbktLjMBWlg1OUYycpuTS6z6ur5LQ3m3qKUabSsotxXYmv/kxtgUM03PhBafef8r+RtdrUs1KXNWkvDf5XJt+taGkZtIwqRm0imNtg5dW3Jk5i4Hc/AyiL6qAAMAAAAAAAAAAACytTzRceZeAOcxdGUXZq3bwfcR4bZ86jWjUOMnut2c2dOCuzNLacFFKK0SSSXYi2vSU4uL3SVv5kgJa47E0pQk4S3rzXBoizHUbV2eqsdLKpH2X+T7DlK0ZQk4yWWS3pnSXaavzDMQ5ynrEaJ8xSVQx3ULcwE2cuppyaileTdkubIYXbSV23oktW2dTsXZXqlnnrUa3b1Bcu/tJt0RnYDCqnTUOO+T5ye9mQAQpo8XgHCTaV4Pdb6vYxh4NuyVzeArszSOhTyq3Hj3kgBLQAAAAAAAAAAAAAAAAAAAAAMbHYCnVVprduktJR7mZIA5XF9HKsdabVRcn1Zfoa2ps6vHfSqeEXL5HeArtWacFDAV3upVPGEl8zPwvR6tL2stNdrzS+C08zrgOxphbP2ZTo+yry4zlrL+SM0AloAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFGyoaAhniIohltCCMiVGL4EbwcOQEcdowZLDExZRYOHIkjQiuAF8ZJlSiRUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD//2Q==",suggestions:{initial:e.suggestions?.initial||[]},faqs:e.faqs||[],updatedAt:e.updatedAt||new Date,createdAt:e.createdAt||new Date,text:e.text,branding:e.branding}}catch(e){return void console.error("Error in selectAgentInformation:",e)}},jW={async getAppInfo(){const e=await Lk("/appInfo");if(!e.ok){const t=await e.json().catch((()=>({error:"Failed to fetch app info"})));throw new Error(t.error||"Failed to fetch app info")}return e.json()}},zW=()=>jW.getAppInfo(),UW=new class{#q;#m;#c;#K;#Q;#Y;#G;#J;constructor(e={}){this.#q=e.queryCache||new ck,this.#m=e.mutationCache||new fk,this.#c=e.defaultOptions||{},this.#K=new Map,this.#Q=new Map,this.#Y=0}mount(){this.#Y++,1===this.#Y&&(this.#G=Jw.subscribe((async e=>{e&&(await this.resumePausedMutations(),this.#q.onFocus())})),this.#J=Xw.subscribe((async e=>{e&&(await this.resumePausedMutations(),this.#q.onOnline())})))}unmount(){this.#Y--,0===this.#Y&&(this.#G?.(),this.#G=void 0,this.#J?.(),this.#J=void 0)}isFetching(e){return this.#q.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#m.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#q.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=this.#q.build(this,t),r=n.state.data;return void 0===r?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Lw(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#q.findAll(e).map((({queryKey:e,state:t})=>[e,t.data]))}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),o=this.#q.get(r.queryHash),i=o?.state.data,a=function(e,t){return"function"==typeof e?e(t):e}(t,i);if(void 0!==a)return this.#q.build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return ak.batch((()=>this.#q.findAll(e).map((({queryKey:e})=>[e,this.setQueryData(e,t,n)]))))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#q.get(t.queryHash)?.state}removeQueries(e){const t=this.#q;ak.batch((()=>{t.findAll(e).forEach((e=>{t.remove(e)}))}))}resetQueries(e,t){const n=this.#q;return ak.batch((()=>(n.findAll(e).forEach((e=>{e.reset()})),this.refetchQueries({type:"active",...e},t))))}cancelQueries(e,t={}){const n={revert:!0,...t},r=ak.batch((()=>this.#q.findAll(e).map((e=>e.cancel(n)))));return Promise.all(r).then(Ow).catch(Ow)}invalidateQueries(e,t={}){return ak.batch((()=>(this.#q.findAll(e).forEach((e=>{e.invalidate()})),"none"===e?.refetchType?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t))))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=ak.batch((()=>this.#q.findAll(e).filter((e=>!e.isDisabled()&&!e.isStatic())).map((e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(Ow)),"paused"===e.state.fetchStatus?Promise.resolve():t}))));return Promise.all(r).then(Ow)}fetchQuery(e){const t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);const n=this.#q.build(this,t);return n.isStaleByTime(Lw(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Ow).catch(Ow)}fetchInfiniteQuery(e){return e.behavior=pk(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Ow).catch(Ow)}ensureInfiniteQueryData(e){return e.behavior=pk(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Xw.isOnline()?this.#m.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#q}getMutationCache(){return this.#m}getDefaultOptions(){return this.#c}setDefaultOptions(e){this.#c=e}setQueryDefaults(e,t){this.#K.set(jw(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#K.values()],n={};return t.forEach((t=>{zw(e,t.queryKey)&&Object.assign(n,t.defaultOptions)})),n}setMutationDefaults(e,t){this.#Q.set(jw(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#Q.values()],n={};return t.forEach((t=>{zw(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)})),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#c.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Nw(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===Qw&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#c.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#q.clear(),this.#m.clear()}};function VW({clientKey:e,isTestConversation:t=!1,agentOverrides:n}){const[r,o]=H.useState(!1),[i,a]=H.useState(!1);return H.useEffect((()=>{o(!0)}),[]),r?b.jsx(Ck,{client:UW,children:b.jsx(BW,{isTestConversation:t,isOpen:i,setIsOpen:a,clientKey:e,agentOverrides:n})}):null}const BW=({isOpen:e,setIsOpen:t,clientKey:n,isTestConversation:r,agentOverrides:o})=>{const{contactId:i}=function(){const e="chat_user_id";let t=localStorage.getItem(e);return t||(t=crypto.randomUUID(),localStorage.setItem(e,t)),{contactId:t}}(),{agentInformation:a}=((e,t,n)=>{const{data:r,error:o}=Pk({queryKey:["agent",e,t,n],queryFn:async()=>{try{return await H$(FW(e,t,n))}catch(e){throw console.error("Error fetching agent:",e),e}},select:NW,staleTime:36e5,gcTime:864e5,refetchOnWindowFocus:!1,refetchOnMount:!1});return o&&console.error("Query error:",o),{agentInformation:r}})(n,i,r),{appInformation:s}=(()=>{const{data:e}=Pk({queryKey:["app"],queryFn:zW});return{appInformation:e}})();if(!a)return null;const l=o?{...a,...o}:a;return b.jsx(Mn.Provider,{value:{isOpen:e,setIsOpen:t,clientKey:n},children:b.jsx("div",{className:"chat-kolia",children:b.jsx(Gx,{appInformation:s,agent:l,contactId:i})})})};function $W(){try{const e=document.createElement("div");e.appendChild(document.createComment("Kolia Chat Widget")),e.style.display="block";const t=e.attachShadow({mode:"open"}),n=document.createElement("div"),r=function(){const e=document.currentScript,t=document.querySelector("chat-widget-external2"),n=Array.from(document.getElementsByTagName("script")).find((e=>e.src&&e.src.includes("kolia-widget"))),r=e||t||n;return r&&new URL(r.src).searchParams.get("apiKey")||"error-key"}();n.id="widget-root",n.textContent=" ";const o=b.jsx(pn,{target:t,children:b.jsx(VW,{clientKey:r})});t.appendChild(n),N.hydrateRoot(n,o),document.body.appendChild(e)}catch(e){console.warn("Widget initialization failed:",e)}}"loading"!==document.readyState?$W():document.addEventListener("DOMContentLoaded",$W)}();
//# sourceMappingURL=/sm/2e6dd868f87415c65173b2e7fe6f38038ee6dc995ff50deec45dd20766890c24.map