PageSourceSearch

https://scam-db.vercel.app/assets/index-5r6jX38h.js

js scam-db.vercel.app collected 2026-10-03 07:40:00 UTC 480,640 bytes, 19 lines download raw bytes

1var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(e&&(t=e(e=0)),t),s=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),c=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},l=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},u=(n,r,a)=>(a=n==null?{}:e(i(n)),l(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n)),d=e=>a.call(e,`module.exports`)?e[`module.exports`]:l(t({},`__esModule`,{value:!0}),e);(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var f=s((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.iterator;function m(e){return typeof e!=`object`||!e?null:(e=p&&e[p]||e[`@@iterator`],typeof e==`function`?e:null)}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,_={};function v(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)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`)},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function y(){}y.prototype=v.prototype;function b(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}var x=b.prototype=new y;x.constructor=b,g(x,v.prototype),x.isPureReactComponent=!0;var S=Array.isArray;function C(){}var w={H:null,A:null,T:null,S:null},ee=Object.prototype.hasOwnProperty;function te(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function ne(e,t){return te(e.type,t,e.props)}function re(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function T(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var ie=/\/+/g;function ae(e,t){return typeof e==`object`&&e&&e.key!=null?T(``+e.key):t.toString(36)}function oe(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(C,C):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function se(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,se(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+ae(e,0):a,S(o)?(i=``,c!=null&&(i=c.replace(ie,`$&/`)+`/`),se(o,r,i,``,function(e){return e}
vendor: 4,829 bytes, line 1
1)):o!=null&&(re(o)&&(o=ne(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(ie,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(S(e))for(var u=0;u<e.length;u++)a=e[u],s=l+ae(a,u),c+=se(a,r,i,s,o);else if(u=m(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+ae(a,u++),c+=se(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return se(oe(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function ce(e,t,n){if(e==null)return e;var r=[],i=0;return se(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function le(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var E=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},D={map:ce,forEach:function(e,t,n){ce(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ce(e,function(){t++}),t},toArray:function(e){return ce(e,function(e){return e})||[]},only:function(e){if(!re(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=D,e.Component=v,e.Fragment=r,e.Profiler=a,e.PureComponent=b,e.StrictMode=i,e.Suspense=l,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return w.H.useMemoCache(e)}},e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=g({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!ee.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return te(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)ee.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return te(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=re,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:le}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=w.T,n={};w.T=n;try{var r=e(),i=w.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(C,E)}catch(e){E(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),w.T=t}},e.unstable_useCacheRefresh=function(){return w.H.useCacheRefresh()},e.use=function(e){return w.H.use(e)},e.useActionState=function(e,t,n){return w.H.useActionState(e,t,n)},e.useCallback=function(e,t){return w.H.useCallback(e,t)},e.useContext=function(e){return w.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return w.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return w.H.useEffect(e,t)},e.useEffectEvent=function(e){return w.H.useEffectEvent(e)},e.useId=function(){return w.H.useId()},e.useImperativeHandle=function(e,t,n){return w.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return w.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return w.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return w.H.useMemo(e,t)},e.useOptimistic=function(e,t){return w.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return w.H.useReducer(e,t,n)},e.useRef=function(e){return w.H.useRef(e)},e.useState=function(e){return w.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return w.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return w.H.useTransition()}
vendor: 11,829 bytes, lines 1-3
1,e.version=`19.2.4`})),p=s(((e,t)=>{t.exports=f()})),m=s((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m)if(n(c)!==null)m=!0,S||(S=!0,re());else{var t=n(l);t!==null&&ae(x,t.startTime-e)}}var S=!1,C=-1,w=5,ee=-1;function te(){return g?!0:!(e.unstable_now()-ee<w)}function ne(){if(g=!1,S){var t=e.unstable_now();ee=t;var i=!0;try{a:{m=!1,h&&(h=!1,v(C),C=-1),p=!0;var a=f;try{b:{for(b(t),d=n(c);d!==null&&!(d.expirationTime>t&&te());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&ae(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?re():S=!1}}}var re;if(typeof y==`function`)re=function(){y(ne)};else if(typeof MessageChannel<`u`){var T=new MessageChannel,ie=T.port2;T.port1.onmessage=ne,re=function(){ie.postMessage(null)}}else re=function(){_(ne,0)};function ae(t,n){C=_(function(){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=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):w=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(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_requestPaint=function(){g=!0},e.unstable_runWithPriority=function(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=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,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 s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(C),C=-1):h=!0,ae(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,S||(S=!0,re()))),r},e.unstable_shouldYield=te,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),h=s(((e,t)=>{t.exports=m()})),g=s((e=>{var t=p();function n(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 r(){}var i={d:{f:r,r:function(){throw Error(n(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},a=Symbol.for(`react.portal`);function o(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:r==null?null:``+r,children:e,containerInfo:t,implementation:n}}var s=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,e.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(n(299));return o(e,t,null,r)},e.flushSync=function(e){var t=s.T,n=i.p;try{if(s.T=null,i.p=2,e)return e()}finally{s.T=t,i.p=n,i.d.f()}},e.preconnect=function(e,t){typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,i.d.C(e,t))},e.prefetchDNS=function(e){typeof e==`string`&&i.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=c(n,t.crossOrigin),a=typeof t.integrity==`string`?t.integrity:void 0,o=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?i.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:a,fetchPriority:o}):n===`script`&&i.d.X(e,{crossOrigin:r,integrity:a,fetchPriority:o,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){if(typeof e==`string`)if(typeof t==`object`&&t){if(t.as==null||t.as===`script`){var n=c(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0})}}else t??i.d.M(e)},e.preload=function(e,t){if(typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){var n=t.as,r=c(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){if(typeof e==`string`)if(t){var n=c(t.as,t.crossOrigin);i.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0})}else i.d.m(e)},e.requestFormReset=function(e){i.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return s.H.useFormState(e,t,n)},e.useFormStatus=function(){return s.H.useHostTransitionStatus()},e.version=`19.2.4`})),_=s(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=g()})),v=s((e=>{var t=h(),n=p(),r=_();function i(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 a(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function o(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function s(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function c(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function l(e){if(o(e)!==e)throw Error(i(188))}function u(e){var t=e.alternate;if(!t){if(t=o(e),t===null)throw Error(i(188));return t===e?e:null}for(var n=e,r=t;;){var a=n.return;if(a===null)break;var s=a.alternate;if(s===null){if(r=a.return,r!==null){n=r;continue}break}if(a.child===s.child){for(s=a.child;s;){if(s===n)return l(a),e;if(s===r)return l(a),t;s=s.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=s;else{for(var c=!1,u=a.child;u;){if(u===n){c=!0,n=a,r=s;break}if(u===r){c=!0,r=a,n=s;break}u=u.sibling}if(!c){for(u=s.child;u;){if(u===n){c=!0,n=s,r=a;break}if(u===r){c=!0,r=s,n=a;break}u=u.sibling}if(!c)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(n.tag!==3)throw Error(i(188));return n.stateNode.current===n?e:t}function d(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=d(e),t!==null)return t;e=e.sibling}return null}var f=Object.assign,m=Symbol.for(`react.element`),g=Symbol.for(`react.transitional.element`),v=Symbol.for(`react.portal`),y=Symbol.for(`react.fragment`),b=Symbol.for(`react.strict_mode`),x=Symbol.for(`react.profiler`),S=Symbol.for(`react.consumer`),C=Symbol.for(`react.context`),w=Symbol.for(`react.forward_ref`),ee=Symbol.for(`react.suspense`),te=Symbol.for(`react.suspense_list`),ne=Symbol.for(`react.memo`),re=Symbol.for(`react.lazy`),T=Symbol.for(`react.activity`),ie=Symbol.for(`react.memo_cache_sentinel`),ae=Symbol.iterator;function oe(e){return typeof e!=`object`||!e?null:(e=ae&&e[ae]||e[`@@iterator`],typeof e==`function`?e:null)}var se=Symbol.for(`react.client.reference`);function ce(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===se?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case y:return`Fragment`;case x:return`Profiler`;case b:return`StrictMode`;case ee:return`Suspense`;case te:return`SuspenseList`;case T:return`Activity`}if(typeof e==`object`)switch(e.$$typeof){case v:return`Portal`;case C:return e.displayName||`Context`;case S:return(e._context.displayName||`Context`)+`.Consumer`;case w:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case ne:return t=e.displayName||null,t===null?ce(e.type)||`Memo`:t;case re:t=e._payload,e=e._init;try{return ce(e(t))}catch{}}return null}var le=Array.isArray,E=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,D=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ue={pending:!1,data:null,method:null,action:null},de=[],fe=-1;function pe(e){return{current:e}}function me(e){0>fe||(e.current=de[fe],de[fe]=null,fe--)}function O(e,t){fe++,de[fe]=e.current,e.current=t}var he=pe(null),ge=pe(null),_e=pe(null),ve=pe(null);function ye(e,t){switch(O(_e,t),O(ge,e),O(he,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Ud(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Ud(t),e=Wd(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}me(he),O(he,e)}function be(){me(he),me(ge),me(_e)}function xe(e){e.memoizedState!==null&&O(ve,e);var t=he.current,n=Wd(t,e.type);t!==n&&(O(ge,e),O(he,n))}function Se(e){ge.current===e&&(me(he),me(ge)),ve.current===e&&(me(ve),ep._currentValue=ue)}var Ce,we;function Te(e){if(Ce===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Ce=t&&t[1]||``,we=-1<e.stack.indexOf(`
2    at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
3`+Ce+e+we}var Ee=!1;function De(e,t){if(!e||Ee)return``;Ee=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,`props`,{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}
vendor: 6,582 bytes, lines 3-8
3else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,`name`);i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,`name`,{value:`DetermineComponentFrameRoot`});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var c=o.split(`
4`),l=s.split(`
5`);for(i=r=0;r<c.length&&!c[r].includes(`DetermineComponentFrameRoot`);)r++;for(;i<l.length&&!l[i].includes(`DetermineComponentFrameRoot`);)i++;if(r===c.length||i===l.length)for(r=c.length-1,i=l.length-1;1<=r&&0<=i&&c[r]!==l[i];)i--;for(;1<=r&&0<=i;r--,i--)if(c[r]!==l[i]){if(r!==1||i!==1)do if(r--,i--,0>i||c[r]!==l[i]){var u=`
6`+c[r].replace(` at new `,` at `);return e.displayName&&u.includes(`<anonymous>`)&&(u=u.replace(`<anonymous>`,e.displayName)),u}while(1<=r&&0<=i);break}}}finally{Ee=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?Te(n):``}function Oe(e,t){switch(e.tag){case 26:case 27:case 5:return Te(e.type);case 16:return Te(`Lazy`);case 13:return e.child!==t&&t!==null?Te(`Suspense Fallback`):Te(`Suspense`);case 19:return Te(`SuspenseList`);case 0:case 15:return De(e.type,!1);case 11:return De(e.type.render,!1);case 1:return De(e.type,!0);case 31:return Te(`Activity`);default:return``}}function ke(e){try{var t=``,n=null;do t+=Oe(e,n),n=e,e=e.return;while(e);return t}catch(e){return`
7Error generating stack: `+e.message+`
8`+e.stack}}var Ae=Object.prototype.hasOwnProperty,je=t.unstable_scheduleCallback,Me=t.unstable_cancelCallback,Ne=t.unstable_shouldYield,Pe=t.unstable_requestPaint,Fe=t.unstable_now,Ie=t.unstable_getCurrentPriorityLevel,Le=t.unstable_ImmediatePriority,Re=t.unstable_UserBlockingPriority,ze=t.unstable_NormalPriority,Be=t.unstable_LowPriority,Ve=t.unstable_IdlePriority,He=t.log,Ue=t.unstable_setDisableYieldValue,We=null,Ge=null;function Ke(e){if(typeof He==`function`&&Ue(e),Ge&&typeof Ge.setStrictMode==`function`)try{Ge.setStrictMode(We,e)}catch{}}var qe=Math.clz32?Math.clz32:Xe,Je=Math.log,Ye=Math.LN2;function Xe(e){return e>>>=0,e===0?32:31-(Je(e)/Ye|0)|0}var Ze=256,Qe=262144,$e=4194304;function et(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function tt(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=et(n))):i=et(o):i=et(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=et(n))):i=et(o)):i=et(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function nt(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function rt(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function it(){var e=$e;return $e<<=1,!($e&62914560)&&($e=4194304),e}function at(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ot(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function st(e,t,n,r,i,a){var o=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,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0<n;){var u=31-qe(n),d=1<<u;s[u]=0,c[u]=-1;var f=l[u];if(f!==null)for(l[u]=null,u=0;u<f.length;u++){var p=f[u];p!==null&&(p.lane&=-536870913)}n&=~d}r!==0&&ct(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function ct(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-qe(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&261930}function lt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-qe(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function ut(e,t){var n=t&-t;return n=n&42?1:dt(n),(n&(e.suspendedLanes|t))===0?n:0}function dt(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function ft(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function pt(){var e=D.p;return e===0?(e=window.event,e===void 0?32:gp(e.type)):e}function mt(e,t){var n=D.p;try{return D.p=e,t()}finally{D.p=n}}var ht=Math.random().toString(36).slice(2),gt=`__reactFiber$`+ht,_t=`__reactProps$`+ht,vt=`__reactContainer$`+ht,yt=`__reactEvents$`+ht,bt=`__reactListeners$`+ht,xt=`__reactHandles$`+ht,St=`__reactResources$`+ht,Ct=`__reactMarker$`+ht;function wt(e){delete e[gt],delete e[_t],delete e[yt],delete e[bt],delete e[xt]}function Tt(e){var t=e[gt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[vt]||n[gt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=pf(e);e!==null;){if(n=e[gt])return n;e=pf(e)}return t}e=n,n=e.parentNode}return null}function Et(e){if(e=e[gt]||e[vt]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Dt(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(i(33))}function Ot(e){var t=e[St];return t||=e[St]={hoistableStyles:new Map,hoistableScripts:new Map},t}function kt(e){e[Ct]=!0}var At=new Set,jt={};function Mt(e,t){Nt(e,t),Nt(e+`Capture`,t)}function Nt(e,t){for(jt[e]=t,e=0;e<t.length;e++)At.add(t[e])}var Pt=RegExp(`^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u
8037D\\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]*$`),Ft={},It={};function Lt(e){return Ae.call(It,e)?!0:Ae.call(Ft,e)?!1:Pt.test(e)?It[e]=!0:(Ft[e]=!0,!1)}function Rt(e,t,n){if(Lt(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:e.removeAttribute(t);return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`){e.removeAttribute(t);return}}e.setAttribute(t,``+n)}}function zt(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(t);return}e.setAttribute(t,``+n)}}function Bt(e,t,n,r){if(r===null)e.removeAttribute(n);else{switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(n);return}e.setAttributeNS(t,n,``+r)}}function Vt(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function Ht(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function Ut(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&r!==void 0&&typeof r.get==`function`&&typeof r.set==`function`){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Wt(e){if(!e._valueTracker){var t=Ht(e)?`checked`:`value`;e._valueTracker=Ut(e,t,``+e[t])}}function Gt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=Ht(e)?e.checked?`true`:`false`:e.value),e=r,e===n?!1:(t.setValue(e),!0)}function Kt(e){if(e||=typeof document<`u`?document:void 0,e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}var qt=/[\n"\\]/g;function Jt(e){return e.replace(qt,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function Yt(e,t,n,r,i,a,o,s){e.name=``,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`?e.type=o:e.removeAttribute(`type`),t==null?o!==`submit`&&o!==`reset`||e.removeAttribute(`value`):o===`number`?(t===0&&e.value===``||e.value!=t)&&(e.value=``+Vt(t)):e.value!==``+Vt(t)&&(e.value=``+Vt(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):Zt(e,o,Vt(n)):Zt(e,o,Vt(t)),i==null&&a!=null&&(e.defaultChecked=!!a),i!=null&&(e.checked=i&&typeof i!=`function`&&typeof i!=`symbol`),s!=null&&typeof s!=`function`&&typeof s!=`symbol`&&typeof s!=`boolean`?e.name=``+Vt(s):e.removeAttribute(`name`)}function Xt(e,t,n,r,i,a,o,s){if(a!=null&&typeof a!=`function`&&typeof a!=`symbol`&&typeof a!=`boolean`&&(e.type=a),t!=null||n!=null){if(!(a!==`submit`&&a!==`reset`||t!=null)){Wt(e);return}n=n==null?``:``+Vt(n),t=t==null?n:``+Vt(t),s||t===e.value||(e.value=t),e.defaultValue=t}r??=i,r=typeof r!=`function`&&typeof r!=`symbol`&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`&&(e.name=o),Wt(e)}function Zt(e,t,n){t===`number`&&Kt(e.ownerDocument)===e||e.defaultValue===``+n||(e.defaultValue=``+n)}function Qt(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[`$`+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(`$`+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=``+Vt(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function $t(e,t,n){if(t!=null&&(t=``+Vt(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n==null?``:``+Vt(n)}function en(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error(i(92));if(le(r)){if(1<r.length)throw Error(i(93));r=r[0]}n=r}n??=``,t=n}
vendor: 133,063 bytes, lines 8-9
8n=Vt(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r),Wt(e)}function tn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var nn=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 rn(e,t,n){var r=t.indexOf(`--`)===0;n==null||typeof n==`boolean`||n===``?r?e.setProperty(t,``):t===`float`?e.cssFloat=``:e[t]=``:r?e.setProperty(t,n):typeof n!=`number`||n===0||nn.has(t)?t===`float`?e.cssFloat=n:e[t]=(``+n).trim():e[t]=n+`px`}function an(e,t,n){if(t!=null&&typeof t!=`object`)throw Error(i(62));if(e=e.style,n!=null){for(var r in n)!n.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf(`--`)===0?e.setProperty(r,``):r===`float`?e.cssFloat=``:e[r]=``);for(var a in t)r=t[a],t.hasOwnProperty(a)&&n[a]!==r&&rn(e,a,r)}else for(var o in t)t.hasOwnProperty(o)&&rn(e,o,t[o])}function on(e){if(e.indexOf(`-`)===-1)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 sn=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`]]),cn=/^[\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 ln(e){return cn.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function un(){}var dn=null;function fn(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var pn=null,mn=null;function hn(e){var t=Et(e);if(t&&(e=t.stateNode)){var n=e[_t]||null;a:switch(e=t.stateNode,t.type){case`input`:if(Yt(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type===`radio`&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(`input[name="`+Jt(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=r[_t]||null;if(!a)throw Error(i(90));Yt(r,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<n.length;t++)r=n[t],r.form===e.form&&Gt(r)}break a;case`textarea`:$t(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&Qt(e,!!n.multiple,t,!1)}}}var gn=!1;function _n(e,t,n){if(gn)return e(t,n);gn=!0;try{return e(t)}finally{if(gn=!1,(pn!==null||mn!==null)&&(Cu(),pn&&(t=pn,e=mn,mn=pn=null,hn(t),e)))for(t=0;t<e.length;t++)hn(e[t])}}function vn(e,t){var n=e.stateNode;if(n===null)return null;var r=n[_t]||null;if(r===null)return null;n=r[t];a:switch(t){case`onClick`:case`onClickCapture`:case`onDoubleClick`:case`onDoubleClickCapture`:case`onMouseDown`:case`onMouseDownCapture`:case`onMouseMove`:case`onMouseMoveCapture`:case`onMouseUp`:case`onMouseUpCapture`:case`onMouseEnter`:(r=!r.disabled)||(e=e.type,r=!(e===`button`||e===`input`||e===`select`||e===`textarea`)),e=!r;break a;default:e=!1}if(e)return null;if(n&&typeof n!=`function`)throw Error(i(231,t,typeof n));return n}var yn=!(typeof window>`u`||window.document===void 0||window.document.createElement===void 0),bn=!1;if(yn)try{var xn={};Object.defineProperty(xn,`passive`,{get:function(){bn=!0}}),window.addEventListener(`test`,xn,xn),window.removeEventListener(`test`,xn,xn)}catch{bn=!1}var Sn=null,Cn=null,wn=null;function Tn(){if(wn)return wn;var e,t=Cn,n=t.length,r,i=`value`in Sn?Sn.value:Sn.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return wn=i.slice(e,1<r?1-r:void 0)}function En(e){var t=e.keyCode;return`charCode`in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Dn(){return!0}function On(){return!1}function kn(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?Dn:On,this.isPropagationStopped=On,this}return f(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=Dn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=Dn)},persist:function(){},isPersistent:Dn}),t}var An={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},jn=kn(An),Mn=f({},An,{view:0,detail:0}),Nn=kn(Mn),Pn,Fn,In,Ln=f({},Mn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Jn,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return`movementX`in e?e.movementX:(e!==In&&(In&&e.type===`mousemove`?(Pn=e.screenX-In.screenX,Fn=e.screenY-In.screenY):Fn=Pn=0,In=e),Pn)},movementY:function(e){return`movementY`in e?e.movementY:Fn}}),Rn=kn(Ln),zn=kn(f({},Ln,{dataTransfer:0})),Bn=kn(f({},Mn,{relatedTarget:0})),Vn=kn(f({},An,{animationName:0,elapsedTime:0,pseudoElement:0})),Hn=kn(f({},An,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),Un=kn(f({},An,{data:0})),Wn={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},Gn={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`},Kn={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function qn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Kn[e])?!!t[e]:!1}function Jn(){return qn}var Yn=kn(f({},Mn,{key:function(e){if(e.key){var t=Wn[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=En(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?Gn[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Jn,charCode:function(e){return e.type===`keypress`?En(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?En(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),Xn=kn(f({},Ln,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Zn=kn(f({},Mn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Jn})),Qn=kn(f({},An,{propertyName:0,elapsedTime:0,pseudoElement:0})),$n=kn(f({},Ln,{deltaX:function(e){return`deltaX`in e?e.deltaX:`wheelDeltaX`in e?-e.wheelDeltaX:0},deltaY:function(e){return`deltaY`in e?e.deltaY:`wheelDeltaY`in e?-e.wheelDeltaY:`wheelDelta`in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),er=kn(f({},An,{newState:0,oldState:0})),tr=[9,13,27,32],nr=yn&&`CompositionEvent`in window,rr=null;yn&&`documentMode`in document&&(rr=document.documentMode);var ir=yn&&`TextEvent`in window&&!rr,ar=yn&&(!nr||rr&&8<rr&&11>=rr),or=` `,sr=!1;function cr(e,t){switch(e){case`keyup`:return tr.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function lr(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var ur=!1;function dr(e,t){switch(e){case`compositionend`:return lr(t);case`keypress`:return t.which===32?(sr=!0,or):null;case`textInput`:return e=t.data,e===or&&sr?null:e;default:return null}}function fr(e,t){if(ur)return e===`compositionend`||!nr&&cr(e,t)?(e=Tn(),wn=Cn=Sn=null,ur=!1,e):null;switch(e){case`paste`: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 ar&&t.locale!==`ko`?null:t.data;default:return null}}var pr={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 mr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!pr[e.type]:t===`textarea`}function hr(e,t,n,r){pn?mn?mn.push(r):mn=[r]:pn=r,t=Od(t,`onChange`),0<t.length&&(n=new jn(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var gr=null,_r=null;function vr(e){Sd(e,0)}function yr(e){if(Gt(Dt(e)))return e}function br(e,t){if(e===`change`)return t}var xr=!1;if(yn){var Sr;if(yn){var Cr=`oninput`in document;if(!Cr){var wr=document.createElement(`div`);wr.setAttribute(`oninput`,`return;`),Cr=typeof wr.oninput==`function`}Sr=Cr}else Sr=!1;xr=Sr&&(!document.documentMode||9<document.documentMode)}function Tr(){gr&&(gr.detachEvent(`onpropertychange`,Er),_r=gr=null)}function Er(e){if(e.propertyName===`value`&&yr(_r)){var t=[];hr(t,_r,e,fn(e)),_n(vr,t)}}function Dr(e,t,n){e===`focusin`?(Tr(),gr=t,_r=n,gr.attachEvent(`onpropertychange`,Er)):e===`focusout`&&Tr()}function Or(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return yr(_r)}function kr(e,t){if(e===`click`)return yr(t)}function Ar(e,t){if(e===`input`||e===`change`)return yr(t)}function jr(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var Mr=typeof Object.is==`function`?Object.is:jr;function Nr(e,t){if(Mr(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!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 i=n[r];if(!Ae.call(t,i)||!Mr(e[i],t[i]))return!1}return!0}function Pr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Fr(e,t){var n=Pr(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=Pr(n)}}function Ir(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Ir(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Lr(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Kt(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=Kt(e.document)}return t}function Rr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}var zr=yn&&`documentMode`in document&&11>=document.documentMode,Br=null,Vr=null,Hr=null,Ur=!1;function Wr(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ur||Br==null||Br!==Kt(r)||(r=Br,`selectionStart`in r&&Rr(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Hr&&Nr(Hr,r)||(Hr=r,r=Od(Vr,`onSelect`),0<r.length&&(t=new jn(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Br)))}function Gr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var Kr={animationend:Gr(`Animation`,`AnimationEnd`),animationiteration:Gr(`Animation`,`AnimationIteration`),animationstart:Gr(`Animation`,`AnimationStart`),transitionrun:Gr(`Transition`,`TransitionRun`),transitionstart:Gr(`Transition`,`TransitionStart`),transitioncancel:Gr(`Transition`,`TransitionCancel`),transitionend:Gr(`Transition`,`TransitionEnd`)},qr={},Jr={};yn&&(Jr=document.createElement(`div`).style,`AnimationEvent`in window||(delete Kr.animationend.animation,delete Kr.animationiteration.animation,delete Kr.animationstart.animation),`TransitionEvent`in window||delete Kr.transitionend.transition);function Yr(e){if(qr[e])return qr[e];if(!Kr[e])return e;var t=Kr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Jr)return qr[e]=t[n];return e}var Xr=Yr(`animationend`),Zr=Yr(`animationiteration`),k=Yr(`animationstart`),Qr=Yr(`transitionrun`),$r=Yr(`transitionstart`),ei=Yr(`transitioncancel`),ti=Yr(`transitionend`),ni=new Map,ri=`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 toggle touchMove waiting wheel`.split(` `);ri.push(`scrollEnd`);function ii(e,t){ni.set(e,t),Mt(t,[e])}var ai=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},oi=[],si=0,ci=0;function li(){for(var e=si,t=ci=si=0;t<e;){var n=oi[t];oi[t++]=null;var r=oi[t];oi[t++]=null;var i=oi[t];oi[t++]=null;var a=oi[t];if(oi[t++]=null,r!==null&&i!==null){var o=r.pending;o===null?i.next=i:(i.next=o.next,o.next=i),r.pending=i}a!==0&&pi(n,i,a)}}function ui(e,t,n,r){oi[si++]=e,oi[si++]=t,oi[si++]=n,oi[si++]=r,ci|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function di(e,t,n,r){return ui(e,t,n,r),mi(e)}function fi(e,t){return ui(e,null,null,t),mi(e)}function pi(e,t,n){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n);for(var i=!1,a=e.return;a!==null;)a.childLanes|=n,r=a.alternate,r!==null&&(r.childLanes|=n),a.tag===22&&(e=a.stateNode,e===null||e._visibility&1||(i=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,i&&t!==null&&(i=31-qe(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function mi(e){if(50<mu)throw mu=0,hu=null,Error(i(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var hi={};function gi(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 _i(e,t,n,r){return new gi(e,t,n,r)}function vi(e){return e=e.prototype,!(!e||!e.isReactComponent)}function yi(e,t){var n=e.alternate;return n===null?(n=_i(e.tag,t,e.key,e.mode),n.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=e.flags&65011712,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=t===null?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 bi(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(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=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function xi(e,t,n,r,a,o){var s=0;if(r=e,typeof e==`function`)vi(e)&&(s=1);else if(typeof e==`string`)s=Gf(e,n,he.current)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(e){case T:return e=_i(31,n,t,a),e.elementType=T,e.lanes=o,e;case y:return Si(n.children,a,o,t);case b:s=8,a|=24;break;case x:return e=_i(12,n,t,a|2),e.elementType=x,e.lanes=o,e;case ee:return e=_i(13,n,t,a),e.elementType=ee,e.lanes=o,e;case te:return e=_i(19,n,t,a),e.elementType=te,e.lanes=o,e;default:if(typeof e==`object`&&e)switch(e.$$typeof){case C:s=10;break a;case S:s=9;break a;case w:s=11;break a;case ne:s=14;break a;case re:s=16,r=null;break a}s=29,n=Error(i(130,e===null?`null`:typeof e,``)),r=null}return t=_i(s,n,t,a),t.elementType=e,t.type=r,t.lanes=o,t}function Si(e,t,n,r){return e=_i(7,e,r,t),e.lanes=n,e}function Ci(e,t,n){return e=_i(6,e,null,t),e.lanes=n,e}function wi(e){var t=_i(18,null,null,0);return t.stateNode=e,t}function Ti(e,t,n){return t=_i(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Ei=new WeakMap;function Di(e,t){if(typeof e==`object`&&e){var n=Ei.get(e);return n===void 0?(t={value:e,source:t,stack:ke(t)},Ei.set(e,t),t):n}return{value:e,source:t,stack:ke(t)}}var A=[],Oi=0,ki=null,Ai=0,ji=[],j=0,Mi=null,Ni=1,Pi=``;function Fi(e,t){A[Oi++]=Ai,A[Oi++]=ki,ki=e,Ai=t}function Ii(e,t,n){ji[j++]=Ni,ji[j++]=Pi,ji[j++]=Mi,Mi=e;var r=Ni;e=Pi;var i=32-qe(r)-1;r&=~(1<<i),n+=1;var a=32-qe(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Ni=1<<32-qe(t)+i|n<<i|r,Pi=a+e}else Ni=1<<a|n<<i|r,Pi=e}function Li(e){e.return!==null&&(Fi(e,1),Ii(e,1,0))}function Ri(e){for(;e===ki;)ki=A[--Oi],A[Oi]=null,Ai=A[--Oi],A[Oi]=null;for(;e===Mi;)Mi=ji[--j],ji[j]=null,Pi=ji[--j],ji[j]=null,Ni=ji[--j],ji[j]=null}function zi(e,t){ji[j++]=Ni,ji[j++]=Pi,ji[j++]=Mi,Ni=t.id,Pi=t.overflow,Mi=e}var Bi=null,M=null,N=!1,Vi=null,Hi=!1,Ui=Error(i(519));function Wi(e){throw Yi(Di(Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?`text`:`HTML`,``)),e)),Ui}function Gi(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[gt]=e,t[_t]=r,n){case`dialog`:Y(`cancel`,t),Y(`close`,t);break;case`iframe`:case`object`:case`embed`:Y(`load`,t);break;case`video`:case`audio`:for(n=0;n<bd.length;n++)Y(bd[n],t);break;case`source`:Y(`error`,t);break;case`img`:case`image`:case`link`:Y(`error`,t),Y(`load`,t);break;case`details`:Y(`toggle`,t);break;case`input`:Y(`invalid`,t),Xt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case`select`:Y(`invalid`,t);break;case`textarea`:Y(`invalid`,t),en(t,r.value,r.defaultValue,r.children)}n=r.children,typeof n!=`string`&&typeof n!=`number`&&typeof n!=`bigint`||t.textContent===``+n||!0===r.suppressHydrationWarning||Pd(t.textContent,n)?(r.popover!=null&&(Y(`beforetoggle`,t),Y(`toggle`,t)),r.onScroll!=null&&Y(`scroll`,t),r.onScrollEnd!=null&&Y(`scrollend`,t),r.onClick!=null&&(t.onclick=un),t=!0):t=!1,t||Wi(e,!0)}function Ki(e){for(Bi=e.return;Bi;)switch(Bi.tag){case 5:case 31:case 13:Hi=!1;return;case 27:case 3:Hi=!0;return;default:Bi=Bi.return}}function qi(e){if(e!==Bi)return!1;if(!N)return Ki(e),N=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!==`form`&&n!==`button`)||Gd(e.type,e.memoizedProps)),n=!n),n&&M&&Wi(e),Ki(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));M=ff(e)}else if(t===31){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));M=ff(e)}else t===27?(t=M,$d(e.type)?(e=df,df=null,M=e):M=t):M=Bi?uf(e.stateNode.nextSibling):null;return!0}function Ji(){M=Bi=null,N=!1}function P(){var e=Vi;return e!==null&&(eu===null?eu=e:eu.push.apply(eu,e),Vi=null),e}function Yi(e){Vi===null?Vi=[e]:Vi.push(e)}var Xi=pe(null),Zi=null,Qi=null;function $i(e,t,n){O(Xi,t._currentValue),t._currentValue=n}function ea(e){e._currentValue=Xi.current,me(Xi)}function ta(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}}function na(e,t,n,r){var a=e.child;for(a!==null&&(a.return=e);a!==null;){var o=a.dependencies;if(o!==null){var s=a.child;o=o.firstContext;a:for(;o!==null;){var c=o;o=a;for(var l=0;l<t.length;l++)if(c.context===t[l]){o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),ta(o.return,n,e),r||(s=null);break a}o=c.next}}else if(a.tag===18){if(s=a.return,s===null)throw Error(i(341));s.lanes|=n,o=s.alternate,o!==null&&(o.lanes|=n),ta(s,n,e),s=null}else s=a.child;if(s!==null)s.return=a;else for(s=a;s!==null;){if(s===e){s=null;break}if(a=s.sibling,a!==null){a.return=s.return,s=a;break}s=s.return}a=s}}function ra(e,t,n,r){e=null;for(var a=t,o=!1;a!==null;){if(!o){if(a.flags&524288)o=!0;else if(a.flags&262144)break}if(a.tag===10){var s=a.alternate;if(s===null)throw Error(i(387));if(s=s.memoizedProps,s!==null){var c=a.type;Mr(a.pendingProps.value,s.value)||(e===null?e=[c]:e.push(c))}}else if(a===ve.current){if(s=a.alternate,s===null)throw Error(i(387));s.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(e===null?e=[ep]:e.push(ep))}a=a.return}e!==null&&na(t,e,n,r),t.flags|=262144}function ia(e){for(e=e.firstContext;e!==null;){if(!Mr(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function aa(e){Zi=e,Qi=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function oa(e){return ca(Zi,e)}function sa(e,t){return Zi===null&&aa(e),ca(e,t)}function ca(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Qi===null){if(e===null)throw Error(i(308));Qi=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Qi=Qi.next=t;return n}var la=typeof AbortController<`u`?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},ua=t.unstable_scheduleCallback,da=t.unstable_NormalPriority,fa={$$typeof:C,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function pa(){return{controller:new la,data:new Map,refCount:0}}function F(e){e.refCount--,e.refCount===0&&ua(da,function(){e.controller.abort()})}var ma=null,ha=0,ga=0,_a=null;function va(e,t){if(ma===null){var n=ma=[];ha=0,ga=md(),_a={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return ha++,t.then(ya,ya),t}function ya(){if(--ha===0&&ma!==null){_a!==null&&(_a.status=`fulfilled`);var e=ma;ma=null,ga=0,_a=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function ba(e,t){var n=[],r={status:`pending`,value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){r.status=`fulfilled`,r.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(r.status=`rejected`,r.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),r}var xa=E.S;E.S=function(e,t){ru=Fe(),typeof t==`object`&&t&&typeof t.then==`function`&&va(e,t),xa!==null&&xa(e,t)};var Sa=pe(null);function Ca(){var e=Sa.current;return e===null?U.pooledCache:e}function wa(e,t){t===null?O(Sa,Sa.current):O(Sa,t.pool)}function Ta(){var e=Ca();return e===null?null:{parent:fa._currentValue,pool:e}}var Ea=Error(i(460)),Da=Error(i(474)),Oa=Error(i(542)),ka={then:function(){}};function Aa(e){return e=e.status,e===`fulfilled`||e===`rejected`}function ja(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(un,un),t=n),t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Fa(e),e;default:if(typeof t.status==`string`)t.then(un,un);else{if(e=U,e!==null&&100<e.shellSuspendCounter)throw Error(i(482));e=t,e.status=`pending`,e.then(function(e){if(t.status===`pending`){var n=t;n.status=`fulfilled`,n.value=e}},function(e){if(t.status===`pending`){var n=t;n.status=`rejected`,n.reason=e}})}switch(t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Fa(e),e}throw Na=t,Ea}}function Ma(e){try{var t=e._init;return t(e._payload)}catch(e){throw typeof e==`object`&&e&&typeof e.then==`function`?(Na=e,Ea):e}}var Na=null;function Pa(){if(Na===null)throw Error(i(459));var e=Na;return Na=null,e}function Fa(e){if(e===Ea||e===Oa)throw Error(i(483))}var Ia=null,La=0;function Ra(e){var t=La;return La+=1,Ia===null&&(Ia=[]),ja(Ia,e,t)}function za(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function Ba(e,t){throw t.$$typeof===m?Error(i(525)):(e=Object.prototype.toString.call(t),Error(i(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e)))}function Va(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;e!==null;)e.key===null?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function a(e,t){return e=yi(e,t),e.index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=67108866,n):(r=r.index,r<n?(t.flags|=67108866,n):r)):(t.flags|=1048576,n)}function s(t){return e&&t.alternate===null&&(t.flags|=67108866),t}function c(e,t,n,r){return t===null||t.tag!==6?(t=Ci(n,e.mode,r),t.return=e,t):(t=a(t,n),t.return=e,t)}function l(e,t,n,r){var i=n.type;return i===y?d(e,t,n.props.children,r,n.key):t!==null&&(t.elementType===i||typeof i==`object`&&i&&i.$$typeof===re&&Ma(i)===t.type)?(t=a(t,n.props),za(t,n),t.return=e,t):(t=xi(n.type,n.key,n.props,null,e.mode,r),za(t,n),t.return=e,t)}function u(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=Ti(n,e.mode,r),t.return=e,t):(t=a(t,n.children||[]),t.return=e,t)}function d(e,t,n,r,i){return t===null||t.tag!==7?(t=Si(n,e.mode,r,i),t.return=e,t):(t=a(t,n),t.return=e,t)}function f(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`||typeof t==`bigint`)return t=Ci(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case g:return n=xi(t.type,t.key,t.props,null,e.mode,n),za(n,t),n.return=e,n;case v:return t=Ti(t,e.mode,n),t.return=e,t;case re:return t=Ma(t),f(e,t,n)}if(le(t)||oe(t))return t=Si(t,e.mode,n,null),t.return=e,t;if(typeof t.then==`function`)return f(e,Ra(t),n);if(t.$$typeof===C)return f(e,sa(e,t),n);Ba(e,t)}return null}function p(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`||typeof n==`bigint`)return i===null?c(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case g:return n.key===i?l(e,t,n,r):null;case v:return n.key===i?u(e,t,n,r):null;case re:return n=Ma(n),p(e,t,n,r)}if(le(n)||oe(n))return i===null?d(e,t,n,r,null):null;if(typeof n.then==`function`)return p(e,t,Ra(n),r);if(n.$$typeof===C)return p(e,t,sa(e,n),r);Ba(e,n)}return null}function m(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`||typeof r==`bigint`)return e=e.get(n)||null,c(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case g:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case v:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case re:return r=Ma(r),m(e,t,n,r,i)}if(le(r)||oe(r))return e=e.get(n)||null,d(t,e,r,i,null);if(typeof r.then==`function`)return m(e,t,n,Ra(r),i);if(r.$$typeof===C)return m(e,t,n,sa(t,r),i);Ba(t,r)}return null}function h(i,a,s,c){for(var l=null,u=null,d=a,h=a=0,g=null;d!==null&&h<s.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var _=p(i,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(i,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(i,d),N&&Fi(i,h),l;if(d===null){for(;h<s.length;h++)d=f(i,s[h],c),d!==null&&(a=o(d,a,h),u===null?l=d:u.sibling=d,u=d);return N&&Fi(i,h),l}for(d=r(d);h<s.length;h++)g=m(d,i,h,s[h],c),g!==null&&(e&&g.alternate!==null&&d.delete(g.key===null?h:g.key),a=o(g,a,h),u===null?l=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(i,e)}),N&&Fi(i,h),l}function _(a,s,c,l){if(c==null)throw Error(i(151));for(var u=null,d=null,h=s,g=s=0,_=null,v=c.next();h!==null&&!v.done;g++,v=c.next()){h.index>g?(_=h,h=null):_=h.sibling;var y=p(a,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(a,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(a,h),N&&Fi(a,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return N&&Fi(a,g),u}for(h=r(h);!v.done;g++,v=c.next())v=m(h,a,g,v.value,l),v!==null&&(e&&v.alternate!==null&&h.delete(v.key===null?g:v.key),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(a,e)}),N&&Fi(a,g),u}function b(e,r,o,c){if(typeof o==`object`&&o&&o.type===y&&o.key===null&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case g:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===y){if(r.tag===7){n(e,r.sibling),c=a(r,o.props.children),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===re&&Ma(l)===r.type){n(e,r.sibling),c=a(r,o.props),za(c,o),c.return=e,e=c;break a}n(e,r);break}else t(e,r);r=r.sibling}o.type===y?(c=Si(o.props.children,e.mode,c,o.key),c.return=e,e=c):(c=xi(o.type,o.key,o.props,null,e.mode,c),za(c,o),c.return=e,e=c)}return s(e);case v:a:{for(l=o.key;r!==null;){if(r.key===l)if(r.tag===4&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),c=a(r,o.children||[]),c.return=e,e=c;break a}else{n(e,r);break}else t(e,r);r=r.sibling}c=Ti(o,e.mode,c),c.return=e,e=c}return s(e);case re:return o=Ma(o),b(e,r,o,c)}if(le(o))return h(e,r,o,c);if(oe(o)){if(l=oe(o),typeof l!=`function`)throw Error(i(150));return o=l.call(o),_(e,r,o,c)}if(typeof o.then==`function`)return b(e,r,Ra(o),c);if(o.$$typeof===C)return b(e,r,sa(e,o),c);Ba(e,o)}return typeof o==`string`&&o!==``||typeof o==`number`||typeof o==`bigint`?(o=``+o,r!==null&&r.tag===6?(n(e,r.sibling),c=a(r,o),c.return=e,e=c):(n(e,r),c=Ci(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{La=0;var i=b(e,t,n,r);return Ia=null,i}catch(t){if(t===Ea||t===Oa)throw t;var a=_i(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var Ha=Va(!0),Ua=Va(!1),Wa=!1;function Ga(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ka(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 qa(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Ja(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,H&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=mi(e),pi(e,null,n),t}return ui(e,r,t,n),mi(e)}function Ya(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,lt(e,n)}}function Xa(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Za=!1;function Qa(){if(Za){var e=_a;if(e!==null)throw e}}function $a(e,t,n,r){Za=!1;var i=e.updateQueue;Wa=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var p=s.lane&-536870913,m=p!==s.lane;if(m?(G&p)===p:(r&p)===p){p!==0&&p===ga&&(Za=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{var h=e,g=s;p=t;var _=n;switch(g.tag){case 1:if(h=g.payload,typeof h==`function`){d=h.call(_,d,p);break a}d=h;break a;case 3:h.flags=h.flags&-65537|128;case 0:if(h=g.payload,p=typeof h==`function`?h.call(_,d,p):h,p==null)break a;d=f({},d,p);break a;case 2:Wa=!0}}p=s.callback,p!==null&&(e.flags|=64,m&&(e.flags|=8192),m=i.callbacks,m===null?i.callbacks=[p]:m.push(p))}else m={lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=m,c=d):u=u.next=m,o|=p;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;m=s,s=m.next,m.next=null,i.lastBaseUpdate=m,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),Jl|=o,e.lanes=o,e.memoizedState=d}}function eo(e,t){if(typeof e!=`function`)throw Error(i(191,e));e.call(t)}function to(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)eo(n[e],t)}var no=pe(null),ro=pe(0);function io(e,t){e=ql,O(ro,e),O(no,t),ql=e|t.baseLanes}function ao(){O(ro,ql),O(no,no.current)}function oo(){ql=ro.current,me(no),me(ro)}var so=pe(null),co=null;function lo(e){var t=e.alternate;O(I,I.current&1),O(so,e),co===null&&(t===null||no.current!==null||t.memoizedState!==null)&&(co=e)}function uo(e){O(I,I.current),O(so,e),co===null&&(co=e)}function fo(e){e.tag===22?(O(I,I.current),O(so,e),co===null&&(co=e)):po(e)}function po(){O(I,I.current),O(so,so.current)}function mo(e){me(so),co===e&&(co=null),me(I)}var I=pe(0);function ho(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||sf(n)||cf(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder===`forwards`||t.memoizedProps.revealOrder===`backwards`||t.memoizedProps.revealOrder===`unstable_legacy-backwards`||t.memoizedProps.revealOrder===`together`)){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var go=0,L=null,R=null,_o=null,vo=!1,yo=!1,bo=!1,xo=0,So=0,Co=null,wo=0;function z(){throw Error(i(321))}function To(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Mr(e[n],t[n]))return!1;return!0}function Eo(e,t,n,r,i,a){return go=a,L=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,E.H=e===null||e.memoizedState===null?Us:Ws,bo=!1,a=n(r,i),bo=!1,yo&&(a=Oo(t,n,r,i)),Do(e),a}function Do(e){E.H=Hs;var t=R!==null&&R.next!==null;if(go=0,_o=R=L=null,vo=!1,So=0,Co=null,t)throw Error(i(300));e===null||sc||(e=e.dependencies,e!==null&&ia(e)&&(sc=!0))}function Oo(e,t,n,r){L=e;var a=0;do{if(yo&&(Co=null),So=0,yo=!1,25<=a)throw Error(i(301));if(a+=1,_o=R=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}E.H=Gs,o=t(n,r)}while(yo);return o}function ko(){var e=E.H,t=e.useState()[0];return t=typeof t.then==`function`?Io(t):t,e=e.useState()[0],(R===null?null:R.memoizedState)!==e&&(L.flags|=1024),t}function Ao(){var e=xo!==0;return xo=0,e}function jo(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Mo(e){if(vo){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}vo=!1}go=0,_o=R=L=null,yo=!1,So=xo=0,Co=null}function No(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return _o===null?L.memoizedState=_o=e:_o=_o.next=e,_o}function Po(){if(R===null){var e=L.alternate;e=e===null?null:e.memoizedState}else e=R.next;var t=_o===null?L.memoizedState:_o.next;if(t!==null)_o=t,R=e;else{if(e===null)throw L.alternate===null?Error(i(467)):Error(i(310));R=e,e={memoizedState:R.memoizedState,baseState:R.baseState,baseQueue:R.baseQueue,queue:R.queue,next:null},_o===null?L.memoizedState=_o=e:_o=_o.next=e}return _o}function Fo(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Io(e){var t=So;return So+=1,Co===null&&(Co=[]),e=ja(Co,e,t),t=L,(_o===null?t.memoizedState:_o.next)===null&&(t=t.alternate,E.H=t===null||t.memoizedState===null?Us:Ws),e}function Lo(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return Io(e);if(e.$$typeof===C)return oa(e)}throw Error(i(438,String(e)))}function Ro(e){var t=null,n=L.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=L.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(t??={data:[],index:0},n===null&&(n=Fo(),L.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=ie;return t.index++,n}function zo(e,t){return typeof t==`function`?t(e):t}function Bo(e){return Vo(Po(),R,e)}function Vo(e,t,n){var r=e.queue;if(r===null)throw Error(i(311));r.lastRenderedReducer=n;var a=e.baseQueue,o=r.pending;if(o!==null){if(a!==null){var s=a.next;a.next=o.next,o.next=s}t.baseQueue=a=o,r.pending=null}if(o=e.baseState,a===null)e.memoizedState=o;else{t=a.next;var c=s=null,l=null,u=t,d=!1;do{var f=u.lane&-536870913;if(f===u.lane?(go&f)===f:(G&f)===f){var p=u.revertLane;if(p===0)l!==null&&(l=l.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),f===ga&&(d=!0);else if((go&p)===p){u=u.next,p===ga&&(d=!0);continue}else f={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=f,s=o):l=l.next=f,L.lanes|=p,Jl|=p;f=u.action,bo&&n(o,f),o=u.hasEagerState?u.eagerState:n(o,f)}else p={lane:f,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=p,s=o):l=l.next=p,L.lanes|=f,Jl|=f;u=u.next}while(u!==null&&u!==t);if(l===null?s=o:l.next=c,!Mr(o,e.memoizedState)&&(sc=!0,d&&(n=_a,n!==null)))throw n;e.memoizedState=o,e.baseState=s,e.baseQueue=l,r.lastRenderedState=o}return a===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function Ho(e){var t=Po(),n=t.queue;if(n===null)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(a!==null){n.pending=null;var s=a=a.next;do o=e(o,s.action),s=s.next;while(s!==a);Mr(o,t.memoizedState)||(sc=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Uo(e,t,n){var r=L,a=Po(),o=N;if(o){if(n===void 0)throw Error(i(407));n=n()}else n=t();var s=!Mr((R||a).memoizedState,n);if(s&&(a.memoizedState=n,sc=!0),a=a.queue,ms(Ko.bind(null,r,a,e),[e]),a.getSnapshot!==t||s||_o!==null&&_o.memoizedState.tag&1){if(r.flags|=2048,ls(9,{destroy:void 0},Go.bind(null,r,a,n,t),null),U===null)throw Error(i(349));o||go&127||Wo(r,t,n)}return n}function Wo(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=L.updateQueue,t===null?(t=Fo(),L.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Go(e,t,n,r){t.value=n,t.getSnapshot=r,qo(t)&&Jo(e)}function Ko(e,t,n){return n(function(){qo(t)&&Jo(e)})}function qo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Mr(e,n)}catch{return!0}}function Jo(e){var t=fi(e,2);t!==null&&vu(t,e,2)}function Yo(e){var t=No();if(typeof e==`function`){var n=e;if(e=n(),bo){Ke(!0);try{n()}finally{Ke(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:zo,lastRenderedState:e},t}function Xo(e,t,n,r){return e.baseState=n,Vo(e,R,typeof r==`function`?r:zo)}function Zo(e,t,n,r,a){if(zs(e))throw Error(i(485));if(e=t.action,e!==null){var o={payload:a,action:e,next:null,isTransition:!0,status:`pending`,value:null,reason:null,listeners:[],then:function(e){o.listeners.push(e)}};E.T===null?o.isTransition=!1:n(!0),r(o),n=t.pending,n===null?(o.next=t.pending=o,Qo(t,o)):(o.next=n.next,t.pending=n.next=o)}}function Qo(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=E.T,o={};E.T=o;try{var s=n(i,r),c=E.S;c!==null&&c(o,s),$o(e,t,s)}catch(n){ts(e,t,n)}finally{a!==null&&o.types!==null&&(a.types=o.types),E.T=a}}else try{a=n(i,r),$o(e,t,a)}catch(n){ts(e,t,n)}}function $o(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?n.then(function(n){es(e,t,n)},function(n){return ts(e,t,n)}):es(e,t,n)}function es(e,t,n){t.status=`fulfilled`,t.value=n,ns(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Qo(e,n)))}function ts(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,ns(t),t=t.next;while(t!==r)}e.action=null}function ns(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function rs(e,t){return t}function is(e,t){if(N){var n=U.formState;if(n!==null){a:{var r=L;if(N){if(M){b:{for(var i=M,a=Hi;i.nodeType!==8;){if(!a){i=null;break b}if(i=uf(i.nextSibling),i===null){i=null;break b}}a=i.data,i=a===`F!`||a===`F`?i:null}if(i){M=uf(i.nextSibling),r=i.data===`F!`;break a}}Wi(r)}r=!1}r&&(t=n[0])}}return n=No(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:rs,lastRenderedState:t},n.queue=r,n=Is.bind(null,L,r),r.dispatch=n,r=Yo(!1),a=Rs.bind(null,L,!1,r.queue),r=No(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=Zo.bind(null,L,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function as(e){return os(Po(),R,e)}function os(e,t,n){if(t=Vo(e,t,rs)[0],e=Bo(zo)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=Io(t)}catch(e){throw e===Ea?Oa:e}else r=t;t=Po();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(L.flags|=2048,ls(9,{destroy:void 0},ss.bind(null,i,n),null)),[r,a,e]}function ss(e,t){e.action=t}function cs(e){var t=Po(),n=R;if(n!==null)return os(t,n,e);Po(),t=t.memoizedState,n=Po();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function ls(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=L.updateQueue,t===null&&(t=Fo(),L.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function us(){return Po().memoizedState}function ds(e,t,n,r){var i=No();L.flags|=e,i.memoizedState=ls(1|t,{destroy:void 0},n,r===void 0?null:r)}function fs(e,t,n,r){var i=Po();r=r===void 0?null:r;var a=i.memoizedState.inst;R!==null&&r!==null&&To(r,R.memoizedState.deps)?i.memoizedState=ls(t,a,n,r):(L.flags|=e,i.memoizedState=ls(1|t,a,n,r))}function ps(e,t){ds(8390656,8,e,t)}function ms(e,t){fs(2048,8,e,t)}function hs(e){L.flags|=4;var t=L.updateQueue;if(t===null)t=Fo(),L.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function gs(e){var t=Po().memoizedState;return hs({ref:t,nextImpl:e}),function(){if(H&2)throw Error(i(440));return t.impl.apply(void 0,arguments)}}function _s(e,t){return fs(4,2,e,t)}function vs(e,t){return fs(4,4,e,t)}function ys(e,t){if(typeof t==`function`){e=e();var n=t(e);return function(){typeof n==`function`?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function bs(e,t,n){n=n==null?null:n.concat([e]),fs(4,4,ys.bind(null,t,e),n)}function xs(){}function Ss(e,t){var n=Po();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&To(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Cs(e,t){var n=Po();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&To(t,r[1]))return r[0];if(r=e(),bo){Ke(!0);try{e()}finally{Ke(!1)}}return n.memoizedState=[r,t],r}function ws(e,t,n){return n===void 0||go&1073741824&&!(G&261930)?e.memoizedState=t:(e.memoizedState=n,e=_u(),L.lanes|=e,Jl|=e,n)}function Ts(e,t,n,r){return Mr(n,t)?n:no.current===null?!(go&42)||go&1073741824&&!(G&261930)?(sc=!0,e.memoizedState=n):(e=_u(),L.lanes|=e,Jl|=e,t):(e=ws(e,n,r),Mr(e,t)||(sc=!0),e)}function Es(e,t,n,r,i){var a=D.p;D.p=a!==0&&8>a?a:8;var o=E.T,s={};E.T=s,Rs(e,!1,t,n);try{var c=i(),l=E.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?Ls(e,t,ba(c,r),gu(e)):Ls(e,t,r,gu(e))}catch(n){Ls(e,t,{then:function(){},status:`rejected`,reason:n},gu())}finally{D.p=a,o!==null&&s.types!==null&&(o.types=s.types),E.T=o}}function Ds(){}function Os(e,t,n,r){if(e.tag!==5)throw Error(i(476));var a=ks(e).queue;Es(e,a,t,ue,n===null?Ds:function(){return As(e),n(r)})}function ks(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ue,baseState:ue,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:zo,lastRenderedState:ue},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:zo,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function As(e){var t=ks(e);t.next===null&&(t=e.alternate.memoizedState),Ls(e,t.next.queue,{},gu())}function js(){return oa(ep)}function Ms(){return Po().memoizedState}function Ns(){return Po().memoizedState}function Ps(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=gu();e=qa(n);var r=Ja(t,e,n);r!==null&&(vu(r,t,n),Ya(r,t,n)),t={cache:pa()},e.payload=t;return}t=t.return}}function Fs(e,t,n){var r=gu();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},zs(e)?Bs(t,n):(n=di(e,t,n,r),n!==null&&(vu(n,e,r),Vs(n,t,r)))}function Is(e,t,n){Ls(e,t,n,gu())}function Ls(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(zs(e))Bs(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,Mr(s,o))return ui(e,t,i,0),U===null&&li(),!1}catch{}if(n=di(e,t,i,r),n!==null)return vu(n,e,r),Vs(n,t,r),!0}return!1}function Rs(e,t,n,r){if(r={lane:2,revertLane:md(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},zs(e)){if(t)throw Error(i(479))}else t=di(e,n,r,2),t!==null&&vu(t,e,2)}function zs(e){var t=e.alternate;return e===L||t!==null&&t===L}function Bs(e,t){yo=vo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Vs(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,lt(e,n)}}var Hs={readContext:oa,use:Lo,useCallback:z,useContext:z,useEffect:z,useImperativeHandle:z,useLayoutEffect:z,useInsertionEffect:z,useMemo:z,useReducer:z,useRef:z,useState:z,useDebugValue:z,useDeferredValue:z,useTransition:z,useSyncExternalStore:z,useId:z,useHostTransitionStatus:z,useFormState:z,useActionState:z,useOptimistic:z,useMemoCache:z,useCacheRefresh:z};Hs.useEffectEvent=z;var Us={readContext:oa,use:Lo,useCallback:function(e,t){return No().memoizedState=[e,t===void 0?null:t],e},useContext:oa,useEffect:ps,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),ds(4194308,4,ys.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ds(4194308,4,e,t)},useInsertionEffect:function(e,t){ds(4,2,e,t)},useMemo:function(e,t){var n=No();t=t===void 0?null:t;var r=e();if(bo){Ke(!0);try{e()}finally{Ke(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=No();if(n!==void 0){var i=n(t);if(bo){Ke(!0);try{n(t)}finally{Ke(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=Fs.bind(null,L,e),[r.memoizedState,e]},useRef:function(e){var t=No();return e={current:e},t.memoizedState=e},useState:function(e){e=Yo(e);var t=e.queue,n=Is.bind(null,L,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:xs,useDeferredValue:function(e,t){return ws(No(),e,t)},useTransition:function(){var e=Yo(!1);return e=Es.bind(null,L,e.queue,!0,!1),No().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=L,a=No();if(N){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),U===null)throw Error(i(349));G&127||Wo(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,ps(Ko.bind(null,r,o,e),[e]),r.flags|=2048,ls(9,{destroy:void 0},Go.bind(null,r,o,n,t),null),n},useId:function(){var e=No(),t=U.identifierPrefix;if(N){var n=Pi,r=Ni;n=(r&~(1<<32-qe(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=xo++,0<n&&(t+=`H`+n.toString(32)),t+=`_`}else n=wo++,t=`_`+t+`r_`+n.toString(32)+`_`;return e.memoizedState=t},useHostTransitionStatus:js,useFormState:is,useActionState:is,useOptimistic:function(e){var t=No();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Rs.bind(null,L,!0,n),n.dispatch=t,[e,t]},useMemoCache:Ro,useCacheRefresh:function(){return No().memoizedState=Ps.bind(null,L)},useEffectEvent:function(e){var t=No(),n={impl:e};return t.memoizedState=n,function(){if(H&2)throw Error(i(440));return n.impl.apply(void 0,arguments)}}},Ws={readContext:oa,use:Lo,useCallback:Ss,useContext:oa,useEffect:ms,useImperativeHandle:bs,useInsertionEffect:_s,useLayoutEffect:vs,useMemo:Cs,useReducer:Bo,useRef:us,useState:function(){return Bo(zo)},useDebugValue:xs,useDeferredValue:function(e,t){return Ts(Po(),R.memoizedState,e,t)},useTransition:function(){var e=Bo(zo)[0],t=Po().memoizedState;return[typeof e==`boolean`?e:Io(e),t]},useSyncExternalStore:Uo,useId:Ms,useHostTransitionStatus:js,useFormState:as,useActionState:as,useOptimistic:function(e,t){return Xo(Po(),R,e,t)},useMemoCache:Ro,useCacheRefresh:Ns};Ws.useEffectEvent=gs;var Gs={readContext:oa,use:Lo,useCallback:Ss,useContext:oa,useEffect:ms,useImperativeHandle:bs,useInsertionEffect:_s,useLayoutEffect:vs,useMemo:Cs,useReducer:Ho,useRef:us,useState:function(){return Ho(zo)},useDebugValue:xs,useDeferredValue:function(e,t){var n=Po();return R===null?ws(n,e,t):Ts(n,R.memoizedState,e,t)},useTransition:function(){var e=Ho(zo)[0],t=Po().memoizedState;return[typeof e==`boolean`?e:Io(e),t]},useSyncExternalStore:Uo,useId:Ms,useHostTransitionStatus:js,useFormState:cs,useActionState:cs,useOptimistic:function(e,t){var n=Po();return R===null?(n.baseState=e,[e,n.queue.dispatch]):Xo(n,R,e,t)},useMemoCache:Ro,useCacheRefresh:Ns};Gs.useEffectEvent=gs;function Ks(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:f({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var qs={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=gu(),i=qa(r);i.payload=t,n!=null&&(i.callback=n),t=Ja(e,i,r),t!==null&&(vu(t,e,r),Ya(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=gu(),i=qa(r);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Ja(e,i,r),t!==null&&(vu(t,e,r),Ya(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=gu(),r=qa(n);r.tag=2,t!=null&&(r.callback=t),t=Ja(e,r,n),t!==null&&(vu(t,e,n),Ya(t,e,n))}};function Js(e,t,n,r,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate==`function`?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!Nr(n,r)||!Nr(i,a):!0}function Ys(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps==`function`&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==`function`&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&qs.enqueueReplaceState(t,t.state,null)}function Xs(e,t){var n=t;if(`ref`in t)for(var r in n={},t)r!==`ref`&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=f({},n)),e)n[i]===void 0&&(n[i]=e[i]);return n}function Zs(e){ai(e)}function Qs(e){console.error(e)}function $s(e){ai(e)}function ec(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function tc(e,t,n){try{var r=e.onCaughtError;r(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function nc(e,t,n){return n=qa(n),n.tag=3,n.payload={element:null},n.callback=function(){ec(e,t)},n}function rc(e){return e=qa(e),e.tag=3,e}function ic(e,t,n,r){var i=n.type.getDerivedStateFromError;if(typeof i==`function`){var a=r.value;e.payload=function(){return i(a)},e.callback=function(){tc(t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){tc(t,n,r),typeof i!=`function`&&(ou===null?ou=new Set([this]):ou.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:e===null?``:e})})}function ac(e,t,n,r,a){if(n.flags|=32768,typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&ra(t,n,a,!0),n=so.current,n!==null){switch(n.tag){case 31:case 13:return co===null?Au():n.alternate===null&&q===0&&(q=3),n.flags&=-257,n.flags|=65536,n.lanes=a,r===ka?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),Ju(e,r,a)),!1;case 22:return n.flags|=65536,r===ka?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([r]):n.add(r)),Ju(e,r,a)),!1}throw Error(i(435,n.tag))}return Ju(e,r,a),Au(),!1}if(N)return t=so.current,t===null?(r!==Ui&&(t=Error(i(423),{cause:r}),Yi(Di(t,n))),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,r=Di(r,n),a=nc(e.stateNode,r,a),Xa(e,a),q!==4&&(q=2)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=a,r!==Ui&&(e=Error(i(422),{cause:r}),Yi(Di(e,n)))),!1;var o=Error(i(520),{cause:r});if(o=Di(o,n),$l===null?$l=[o]:$l.push(o),q!==4&&(q=2),t===null)return!0;r=Di(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,e=nc(n.stateNode,r,e),Xa(n,e),!1;case 1:if(t=n.type,o=n.stateNode,!(n.flags&128)&&(typeof t.getDerivedStateFromError==`function`||o!==null&&typeof o.componentDidCatch==`function`&&(ou===null||!ou.has(o))))return n.flags|=65536,a&=-a,n.lanes|=a,a=rc(a),ic(a,e,n,r),Xa(n,a),!1}n=n.return}while(n!==null);return!1}var oc=Error(i(461)),sc=!1;function cc(e,t,n,r){t.child=e===null?Ua(t,null,n,r):Ha(t,e.child,n,r)}function lc(e,t,n,r,i){n=n.render;var a=t.ref;if(`ref`in r){var o={};for(var s in r)s!==`ref`&&(o[s]=r[s])}else o=r;return aa(t),r=Eo(e,t,n,o,a,i),s=Ao(),e!==null&&!sc?(jo(e,t,i),Nc(e,t,i)):(N&&s&&Li(t),t.flags|=1,cc(e,t,r,i),t.child)}function uc(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!vi(a)&&a.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=a,dc(e,t,a,r,i)):(e=xi(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!Pc(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?Nr:n,n(o,r)&&e.ref===t.ref)return Nc(e,t,i)}return t.flags|=1,e=yi(a,r),e.ref=t.ref,e.return=t,t.child=e}function dc(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(Nr(a,r)&&e.ref===t.ref)if(sc=!1,t.pendingProps=r=a,Pc(e,i))e.flags&131072&&(sc=!0);else return t.lanes=e.lanes,Nc(e,t,i)}return yc(e,t,n,r,i)}function fc(e,t,n,r){var i=r.children,a=e===null?null:e.memoizedState;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode===`hidden`){if(t.flags&128){if(a=a===null?n:a.baseLanes|n,e!==null){for(r=t.child=e.child,i=0;r!==null;)i=i|r.lanes|r.childLanes,r=r.sibling;r=i&~a}else r=0,t.child=null;return mc(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&wa(t,a===null?null:a.cachePool),a===null?ao():io(t,a),fo(t);else return r=t.lanes=536870912,mc(e,t,a===null?n:a.baseLanes|n,n,r)}else a===null?(e!==null&&wa(t,null),ao(),po(t)):(wa(t,a.cachePool),io(t,a),po(t),t.memoizedState=null);return cc(e,t,i,n),t.child}function pc(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function mc(e,t,n,r,i){var a=Ca();return a=a===null?null:{parent:fa._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&wa(t,null),ao(),fo(t),e!==null&&ra(e,t,r,!0),t.childLanes=i,null}function hc(e,t){return t=Oc({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function gc(e,t,n){return Ha(t,e.child,null,n),e=hc(t,t.pendingProps),e.flags|=2,mo(t),t.memoizedState=null,e}function _c(e,t,n){var r=t.pendingProps,a=(t.flags&128)!=0;if(t.flags&=-129,e===null){if(N){if(r.mode===`hidden`)return e=hc(t,r),t.lanes=536870912,pc(null,e);if(uo(t),(e=M)?(e=of(e,Hi),e=e!==null&&e.data===`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Mi===null?null:{id:Ni,overflow:Pi},retryLane:536870912,hydrationErrors:null},n=wi(e),n.return=t,t.child=n,Bi=t,M=null)):e=null,e===null)throw Wi(t);return t.lanes=536870912,null}return hc(t,r)}var o=e.memoizedState;if(o!==null){var s=o.dehydrated;if(uo(t),a)if(t.flags&256)t.flags&=-257,t=gc(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(i(558));else if(sc||ra(e,t,n,!1),a=(n&e.childLanes)!==0,sc||a){if(r=U,r!==null&&(s=ut(r,n),s!==0&&s!==o.retryLane))throw o.retryLane=s,fi(e,s),vu(r,e,s),oc;Au(),t=gc(e,t,n)}else e=o.treeContext,M=uf(s.nextSibling),Bi=t,N=!0,Vi=null,Hi=!1,e!==null&&zi(t,e),t=hc(t,r),t.flags|=4096;return t}return e=yi(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function vc(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!=`function`&&typeof n!=`object`)throw Error(i(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function yc(e,t,n,r,i){return aa(t),n=Eo(e,t,n,r,void 0,i),r=Ao(),e!==null&&!sc?(jo(e,t,i),Nc(e,t,i)):(N&&r&&Li(t),t.flags|=1,cc(e,t,n,i),t.child)}function bc(e,t,n,r,i,a){return aa(t),t.updateQueue=null,n=Oo(t,r,n,i),Do(e),r=Ao(),e!==null&&!sc?(jo(e,t,a),Nc(e,t,a)):(N&&r&&Li(t),t.flags|=1,cc(e,t,n,a),t.child)}function xc(e,t,n,r,i){if(aa(t),t.stateNode===null){var a=hi,o=n.contextType;typeof o==`object`&&o&&(a=oa(o)),a=new n(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=qs,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},Ga(t),o=n.contextType,a.context=typeof o==`object`&&o?oa(o):hi,a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(Ks(t,n,o,r),a.state=t.memoizedState),typeof n.getDerivedStateFromProps==`function`||typeof a.getSnapshotBeforeUpdate==`function`||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(o=a.state,typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount(),o!==a.state&&qs.enqueueReplaceState(a,a.state,null),$a(t,r,a,i),Qa(),a.state=t.memoizedState),typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!0}else if(e===null){a=t.stateNode;var s=t.memoizedProps,c=Xs(n,s);a.props=c;var l=a.context,u=n.contextType;o=hi,typeof u==`object`&&u&&(o=oa(u));var d=n.getDerivedStateFromProps;u=typeof d==`function`||typeof a.getSnapshotBeforeUpdate==`function`,s=t.pendingProps!==s,u||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(s||l!==o)&&Ys(t,a,r,o),Wa=!1;var f=t.memoizedState;a.state=f,$a(t,r,a,i),Qa(),l=t.memoizedState,s||f!==l||Wa?(typeof d==`function`&&(Ks(t,n,d,r),l=t.memoizedState),(c=Wa||Js(t,n,c,r,f,l,o))?(u||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount==`function`&&(t.flags|=4194308)):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=o,r=c):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Ka(e,t),o=t.memoizedProps,u=Xs(n,o),a.props=u,d=t.pendingProps,f=a.context,l=n.contextType,c=hi,typeof l==`object`&&l&&(c=oa(l)),s=n.getDerivedStateFromProps,(l=typeof s==`function`||typeof a.getSnapshotBeforeUpdate==`function`)||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(o!==d||f!==c)&&Ys(t,a,r,c),Wa=!1,f=t.memoizedState,a.state=f,$a(t,r,a,i),Qa();var p=t.memoizedState;o!==d||f!==p||Wa||e!==null&&e.dependencies!==null&&ia(e.dependencies)?(typeof s==`function`&&(Ks(t,n,s,r),p=t.memoizedState),(u=Wa||Js(t,n,u,r,f,p,c)||e!==null&&e.dependencies!==null&&ia(e.dependencies))?(l||typeof a.UNSAFE_componentWillUpdate!=`function`&&typeof a.componentWillUpdate!=`function`||(typeof a.componentWillUpdate==`function`&&a.componentWillUpdate(r,p,c),typeof a.UNSAFE_componentWillUpdate==`function`&&a.UNSAFE_componentWillUpdate(r,p,c)),typeof a.componentDidUpdate==`function`&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=c,r=u):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,vc(e,t),r=(t.flags&128)!=0,a||r?(a=t.stateNode,n=r&&typeof n.getDerivedStateFromError!=`function`?null:a.render(),t.flags|=1,e!==null&&r?(t.child=Ha(t,e.child,null,i),t.child=Ha(t,null,n,i)):cc(e,t,n,i),t.memoizedState=a.state,e=t.child):e=Nc(e,t,i),e}function Sc(e,t,n,r){return Ji(),t.flags|=256,cc(e,t,n,r),t.child}var Cc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function wc(e){return{baseLanes:e,cachePool:Ta()}}function Tc(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=Zl),e}function Ec(e,t,n){var r=t.pendingProps,a=!1,o=(t.flags&128)!=0,s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:(I.current&2)!=0),s&&(a=!0,t.flags&=-129),s=(t.flags&32)!=0,t.flags&=-33,e===null){if(N){if(a?lo(t):po(t),(e=M)?(e=of(e,Hi),e=e!==null&&e.data!==`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Mi===null?null:{id:Ni,overflow:Pi},retryLane:536870912,hydrationErrors:null},n=wi(e),n.return=t,t.child=n,Bi=t,M=null)):e=null,e===null)throw Wi(t);return cf(e)?t.lanes=32:t.lanes=536870912,null}var c=r.children;return r=r.fallback,a?(po(t),a=t.mode,c=Oc({mode:`hidden`,children:c},a),r=Si(r,a,n,null),c.return=t,r.return=t,c.sibling=r,t.child=c,r=t.child,r.memoizedState=wc(n),r.childLanes=Tc(e,s,n),t.memoizedState=Cc,pc(null,r)):(lo(t),Dc(t,c))}var l=e.memoizedState;if(l!==null&&(c=l.dehydrated,c!==null)){if(o)t.flags&256?(lo(t),t.flags&=-257,t=kc(e,t,n)):t.memoizedState===null?(po(t),c=r.fallback,a=t.mode,r=Oc({mode:`visible`,children:r.children},a),c=Si(c,a,n,null),c.flags|=2,r.return=t,c.return=t,r.sibling=c,t.child=r,Ha(t,e.child,null,n),r=t.child,r.memoizedState=wc(n),r.childLanes=Tc(e,s,n),t.memoizedState=Cc,t=pc(null,r)):(po(t),t.child=e.child,t.flags|=128,t=null);else if(lo(t),cf(c)){if(s=c.nextSibling&&c.nextSibling.dataset,s)var u=s.dgst;s=u,r=Error(i(419)),r.stack=``,r.digest=s,Yi({value:r,source:null,stack:null}),t=kc(e,t,n)}else if(sc||ra(e,t,n,!1),s=(n&e.childLanes)!==0,sc||s){if(s=U,s!==null&&(r=ut(s,n),r!==0&&r!==l.retryLane))throw l.retryLane=r,fi(e,r),vu(s,e,r),oc;sf(c)||Au(),t=kc(e,t,n)}else sf(c)?(t.flags|=192,t.child=e.child,t=null):(e=l.treeContext,M=uf(c.nextSibling),Bi=t,N=!0,Vi=null,Hi=!1,e!==null&&zi(t,e),t=Dc(t,r.children),t.flags|=4096);return t}return a?(po(t),c=r.fallback,a=t.mode,l=e.child,u=l.sibling,r=yi(l,{mode:`hidden`,children:r.children}),r.subtreeFlags=l.subtreeFlags&65011712,u===null?(c=Si(c,a,n,null),c.flags|=2):c=yi(u,c),c.return=t,r.return=t,r.sibling=c,t.child=r,pc(null,r),r=t.child,c=e.child.memoizedState,c===null?c=wc(n):(a=c.cachePool,a===null?a=Ta():(l=fa._currentValue,a=a.parent===l?a:{parent:l,pool:l}),c={baseLanes:c.baseLanes|n,cachePool:a}),r.memoizedState=c,r.childLanes=Tc(e,s,n),t.memoizedState=Cc,pc(e.child,r)):(lo(t),n=e.child,e=n.sibling,n=yi(n,{mode:`visible`,children:r.children}),n.return=t,n.sibling=null,e!==null&&(s=t.deletions,s===null?(t.deletions=[e],t.flags|=16):s.push(e)),t.child=n,t.memoizedState=null,n)}function Dc(e,t){return t=Oc({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function Oc(e,t){return e=_i(22,e,null,t),e.lanes=0,e}function kc(e,t,n){return Ha(t,e.child,null,n),e=Dc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Ac(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),ta(e.return,t,n)}function jc(e,t,n,r,i,a){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,treeForkCount:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i,o.treeForkCount=a)}function Mc(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;r=r.children;var o=I.current,s=(o&2)!=0;if(s?(o=o&1|2,t.flags|=128):o&=1,O(I,o),cc(e,t,r,n),r=N?Ai:0,!s&&e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ac(e,n,t);else if(e.tag===19)Ac(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break a;for(;e.sibling===null;){if(e.return===null||e.return===t)break a;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case`forwards`:for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&ho(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),jc(t,!1,i,n,a,r);break;case`backwards`:case`unstable_legacy-backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&ho(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}jc(t,!0,n,null,a,r);break;case`together`:jc(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function Nc(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Jl|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(ra(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(i(153));if(t.child!==null){for(e=t.child,n=yi(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=yi(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Pc(e,t){return(e.lanes&t)===0?(e=e.dependencies,!!(e!==null&&ia(e))):!0}function Fc(e,t,n){switch(t.tag){case 3:ye(t,t.stateNode.containerInfo),$i(t,fa,e.memoizedState.cache),Ji();break;case 27:case 5:xe(t);break;case 4:ye(t,t.stateNode.containerInfo);break;case 10:$i(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,uo(t),null;break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(lo(t),e=Nc(e,t,n),e===null?null:e.sibling):Ec(e,t,n):(lo(t),t.flags|=128,null);lo(t);break;case 19:var i=(e.flags&128)!=0;if(r=(n&t.childLanes)!==0,r||=(ra(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return Mc(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),O(I,I.current),r)break;return null;case 22:return t.lanes=0,fc(e,t,n,t.pendingProps);case 24:$i(t,fa,e.memoizedState.cache)}return Nc(e,t,n)}function Ic(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)sc=!0;else{if(!Pc(e,n)&&!(t.flags&128))return sc=!1,Fc(e,t,n);sc=!!(e.flags&131072)}else sc=!1,N&&t.flags&1048576&&Ii(t,Ai,t.index);switch(t.lanes=0,t.tag){case 16:a:{var r=t.pendingProps;if(e=Ma(t.elementType),t.type=e,typeof e==`function`)vi(e)?(r=Xs(e,r),t.tag=1,t=xc(null,t,e,r,n)):(t.tag=0,t=yc(null,t,e,r,n));else{if(e!=null){var a=e.$$typeof;if(a===w){t.tag=11,t=lc(null,t,e,r,n);break a}else if(a===ne){t.tag=14,t=uc(null,t,e,r,n);break a}}throw t=ce(e)||e,Error(i(306,t,``))}}return t;case 0:return yc(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,a=Xs(r,t.pendingProps),xc(e,t,r,a,n);case 3:a:{if(ye(t,t.stateNode.containerInfo),e===null)throw Error(i(387));r=t.pendingProps;var o=t.memoizedState;a=o.element,Ka(e,t),$a(t,r,null,n);var s=t.memoizedState;if(r=s.cache,$i(t,fa,r),r!==o.cache&&na(t,[fa],n,!0),Qa(),r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){t=Sc(e,t,r,n);break a}else if(r!==a){a=Di(Error(i(424)),t),Yi(a),t=Sc(e,t,r,n);break a}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName===`HTML`?e.ownerDocument.body:e}for(M=uf(e.firstChild),Bi=t,N=!0,Vi=null,Hi=!0,n=Ua(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Ji(),r===a){t=Nc(e,t,n);break a}cc(e,t,r,n)}t=t.child}return t;case 26:return vc(e,t),e===null?(n=jf(t.type,null,t.pendingProps,null))?t.memoizedState=n:N||(n=t.type,e=t.pendingProps,r=Hd(_e.current).createElement(n),r[gt]=t,r[_t]=e,Id(r,n,e),kt(r),t.stateNode=r):t.memoizedState=jf(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return xe(t),e===null&&N&&(r=t.stateNode=mf(t.type,t.pendingProps,_e.current),Bi=t,Hi=!0,a=M,$d(t.type)?(df=a,M=uf(r.firstChild)):M=a),cc(e,t,t.pendingProps.children,n),vc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&N&&((a=r=M)&&(r=rf(r,t.type,t.pendingProps,Hi),r===null?a=!1:(t.stateNode=r,Bi=t,M=uf(r.firstChild),Hi=!1,a=!0)),a||Wi(t)),xe(t),a=t.type,o=t.pendingProps,s=e===null?null:e.memoizedProps,r=o.children,Gd(a,o)?r=null:s!==null&&Gd(a,s)&&(t.flags|=32),t.memoizedState!==null&&(a=Eo(e,t,ko,null,null,n),ep._currentValue=a),vc(e,t),cc(e,t,r,n),t.child;case 6:return e===null&&N&&((e=n=M)&&(n=af(n,t.pendingProps,Hi),n===null?e=!1:(t.stateNode=n,Bi=t,M=null,e=!0)),e||Wi(t)),null;case 13:return Ec(e,t,n);case 4:return ye(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ha(t,null,r,n):cc(e,t,r,n),t.child;case 11:return lc(e,t,t.type,t.pendingProps,n);case 7:return cc(e,t,t.pendingProps,n),t.child;case 8:return cc(e,t,t.pendingProps.children,n),t.child;case 12:return cc(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,$i(t,t.type,r.value),cc(e,t,r.children,n),t.child;case 9:return a=t.type._context,r=t.pendingProps.children,aa(t),a=oa(a),r=r(a),t.flags|=1,cc(e,t,r,n),t.child;case 14:return uc(e,t,t.type,t.pendingProps,n);case 15:return dc(e,t,t.type,t.pendingProps,n);case 19:return Mc(e,t,n);case 31:return _c(e,t,n);case 22:return fc(e,t,n,t.pendingProps);case 24:return aa(t),r=oa(fa),e===null?(a=Ca(),a===null&&(a=U,o=pa(),a.pooledCache=o,o.refCount++,o!==null&&(a.pooledCacheLanes|=n),a=o),t.memoizedState={parent:r,cache:a},Ga(t),$i(t,fa,a)):((e.lanes&n)!==0&&(Ka(e,t),$a(t,null,null,n),Qa()),a=e.memoizedState,o=t.memoizedState,a.parent===r?(r=o.cache,$i(t,fa,r),r!==a.cache&&na(t,[fa],n,!0)):(a={parent:r,cache:r},t.memoizedState=a,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=a),$i(t,fa,r))),cc(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(i(156,t.tag))}function Lc(e){e.flags|=4}function Rc(e,t,n,r,i){if((t=(e.mode&32)!=0)&&(t=!1),t){if(e.flags|=16777216,(i&335544128)===i)if(e.stateNode.complete)e.flags|=8192;else if(Du())e.flags|=8192;else throw Na=ka,Da}else e.flags&=-16777217}function zc(e,t){if(t.type!==`stylesheet`||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!Kf(t))if(Du())e.flags|=8192;else throw Na=ka,Da}function Bc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:it(),e.lanes|=t,Ql|=t)}function Vc(e,t){if(!N)switch(e.tailMode){case`hidden`:t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case`collapsed`:n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function B(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&65011712,r|=i.flags&65011712,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Hc(e,t,n){var r=t.pendingProps;switch(Ri(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return B(t),null;case 1:return B(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),ea(fa),be(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(qi(t)?Lc(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,P())),B(t),null;case 26:var a=t.type,o=t.memoizedState;return e===null?(Lc(t),o===null?(B(t),Rc(t,a,null,r,n)):(B(t),zc(t,o))):o?o===e.memoizedState?(B(t),t.flags&=-16777217):(Lc(t),B(t),zc(t,o)):(e=e.memoizedProps,e!==r&&Lc(t),B(t),Rc(t,a,e,r,n)),null;case 27:if(Se(t),n=_e.current,a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Lc(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return B(t),null}e=he.current,qi(t)?Gi(t,e):(e=mf(a,r,n),t.stateNode=e,Lc(t))}return B(t),null;case 5:if(Se(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Lc(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return B(t),null}if(o=he.current,qi(t))Gi(t,o);else{var s=Hd(_e.current);switch(o){case 1:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case 2:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;default:switch(a){case`svg`:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case`math`:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;case`script`:o=s.createElement(`div`),o.innerHTML=`<script><\/script>`,o=o.removeChild(o.firstChild);break;case`select`:o=typeof r.is==`string`?s.createElement(`select`,{is:r.is}):s.createElement(`select`),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o=typeof r.is==`string`?s.createElement(a,{is:r.is}):s.createElement(a)}}o[gt]=t,o[_t]=r;a:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)o.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break a;for(;s.sibling===null;){if(s.return===null||s.return===t)break a;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=o;a:switch(Id(o,a,r),a){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&Lc(t)}}return B(t),Rc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Lc(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(i(166));if(e=_e.current,qi(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,a=Bi,a!==null)switch(a.tag){case 27:case 5:r=a.memoizedProps}e[gt]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||Pd(e.nodeValue,n)),e||Wi(t,!0)}else e=Hd(e).createTextNode(r),e[gt]=t,t.stateNode=e}return B(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=qi(t),n!==null){if(e===null){if(!r)throw Error(i(318));if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(557));e[gt]=t}else Ji(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;B(t),e=!1}else n=P(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(mo(t),t):(mo(t),null);if(t.flags&128)throw Error(i(558))}return B(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=qi(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(i(318));if(a=t.memoizedState,a=a===null?null:a.dehydrated,!a)throw Error(i(317));a[gt]=t}else Ji(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;B(t),a=!1}else a=P(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(mo(t),t):(mo(t),null)}return mo(t),t.flags&128?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,a=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(a=r.alternate.memoizedState.cachePool.pool),o=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),o!==a&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Bc(t,t.updateQueue),B(t),null);case 4:return be(),e===null&&Td(t.stateNode.containerInfo),B(t),null;case 10:return ea(t.type),B(t),null;case 19:if(me(I),r=t.memoizedState,r===null)return B(t),null;if(a=(t.flags&128)!=0,o=r.rendering,o===null)if(a)Vc(r,!1);else{if(q!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=ho(e),o!==null){for(t.flags|=128,Vc(r,!1),e=o.updateQueue,t.updateQueue=e,Bc(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)bi(n,e),n=n.sibling;return O(I,I.current&1|2),N&&Fi(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&Fe()>iu&&(t.flags|=128,a=!0,Vc(r,!1),t.lanes=4194304)}else{if(!a)if(e=ho(o),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,Bc(t,e),Vc(r,!0),r.tail===null&&r.tailMode===`hidden`&&!o.alternate&&!N)return B(t),null}else 2*Fe()-r.renderingStartTime>iu&&n!==536870912&&(t.flags|=128,a=!0,Vc(r,!1),t.lanes=4194304);r.isBackwards?(o.sibling=t.child,t.child=o):(e=r.last,e===null?t.child=o:e.sibling=o,r.last=o)}return r.tail===null?(B(t),null):(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=Fe(),e.sibling=null,n=I.current,O(I,a?n&1|2:n&1),N&&Fi(t,r.treeForkCount),e);case 22:case 23:return mo(t),oo(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(B(t),t.subtreeFlags&6&&(t.flags|=8192)):B(t),n=t.updateQueue,n!==null&&Bc(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&me(Sa),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),ea(fa),B(t),null;case 25:return null;case 30:return null}throw Error(i(156,t.tag))}function Uc(e,t){switch(Ri(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ea(fa),be(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Se(t),null;case 31:if(t.memoizedState!==null){if(mo(t),t.alternate===null)throw Error(i(340));Ji()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(mo(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));Ji()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return me(I),null;case 4:return be(),null;case 10:return ea(t.type),null;case 22:case 23:return mo(t),oo(),e!==null&&me(Sa),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return ea(fa),null;case 25:return null;default:return null}}function Wc(e,t){switch(Ri(t),t.tag){case 3:ea(fa),be();break;case 26:case 27:case 5:Se(t);break;case 4:be();break;case 31:t.memoizedState!==null&&mo(t);break;case 13:mo(t);break;case 19:me(I);break;case 10:ea(t.type);break;case 22:case 23:mo(t),oo(),e!==null&&me(Sa);break;case 24:ea(fa)}}function Gc(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(e){J(t,t.return,e)}}function Kc(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var c=n,l=s;try{l()}catch(e){J(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){J(t,t.return,e)}}function qc(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{to(t,n)}catch(t){J(e,e.return,t)}}}function Jc(e,t,n){n.props=Xs(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){J(e,t,n)}}function Yc(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}typeof n==`function`?e.refCleanup=n(r):n.current=r}}catch(n){J(e,t,n)}}function Xc(e,t){var n=e.ref,r=e.refCleanup;if(n!==null)if(typeof r==`function`)try{r()}catch(n){J(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{n(null)}catch(n){J(e,t,n)}else n.current=null}function Zc(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{a:switch(t){case`button`:case`input`:case`select`:case`textarea`:n.autoFocus&&r.focus();break a;case`img`:n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){J(e,e.return,t)}}function Qc(e,t,n){try{var r=e.stateNode;Ld(r,e.type,n,t),r[_t]=t}catch(t){J(e,e.return,t)}}function $c(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&$d(e.type)||e.tag===4}function el(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||$c(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&$d(e.type)||e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function tl(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=un));else if(r!==4&&(r===27&&$d(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(tl(e,t,n),e=e.sibling;e!==null;)tl(e,t,n),e=e.sibling}function nl(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(r===27&&$d(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(nl(e,t,n),e=e.sibling;e!==null;)nl(e,t,n),e=e.sibling}function rl(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);Id(t,r,n),t[gt]=e,t[_t]=n}catch(t){J(e,e.return,t)}}var il=!1,al=!1,ol=!1,sl=typeof WeakSet==`function`?WeakSet:Set,cl=null;function ll(e,t){if(e=e.containerInfo,Bd=lp,e=Lr(e),Rr(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var a=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==n||a!==0&&f.nodeType!==3||(c=s+a),f!==o||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===n&&++u===a&&(c=s),p===o&&++d===r&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}n=c===-1||l===-1?null:{start:c,end:l}}else n=null}n||={start:0,end:0}}else n=null;for(Vd={focusedElem:e,selectionRange:n},lp=!1,cl=t;cl!==null;)if(t=cl,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,cl=e;else for(;cl!==null;){switch(t=cl,o=t.alternate,e=t.flags,t.tag){case 0:if(e&4&&(e=t.updateQueue,e=e===null?null:e.events,e!==null))for(n=0;n<e.length;n++)a=e[n],a.ref.impl=a.nextImpl;break;case 11:case 15:break;case 1:if(e&1024&&o!==null){e=void 0,n=t,a=o.memoizedProps,o=o.memoizedState,r=n.stateNode;try{var h=Xs(n.type,a);e=r.getSnapshotBeforeUpdate(h,o),r.__reactInternalSnapshotBeforeUpdate=e}catch(e){J(n,n.return,e)}}break;case 3:if(e&1024){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)nf(e);else if(n===1)switch(e.nodeName){case`HEAD`:case`HTML`:case`BODY`:nf(e);break;default:e.textContent=``}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(e&1024)throw Error(i(163))}if(e=t.sibling,e!==null){e.return=t.return,cl=e;break}cl=t.return}}function ul(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:wl(e,n),r&4&&Gc(5,n);break;case 1:if(wl(e,n),r&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(e){J(n,n.return,e)}else{var i=Xs(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){J(n,n.return,e)}}r&64&&qc(n),r&512&&Yc(n,n.return);break;case 3:if(wl(e,n),r&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{to(e,t)}catch(e){J(n,n.return,e)}}break;case 27:t===null&&r&4&&rl(n);case 26:case 5:wl(e,n),t===null&&r&4&&Zc(n),r&512&&Yc(n,n.return);break;case 12:wl(e,n);break;case 31:wl(e,n),r&4&&hl(e,n);break;case 13:wl(e,n),r&4&&gl(e,n),r&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=Zu.bind(null,n),lf(e,n))));break;case 22:if(r=n.memoizedState!==null||il,!r){t=t!==null&&t.memoizedState!==null||al,i=il;var a=al;il=r,(al=t)&&!a?El(e,n,(n.subtreeFlags&8772)!=0):wl(e,n),il=i,al=a}break;case 30:break;default:wl(e,n)}}function dl(e){var t=e.alternate;t!==null&&(e.alternate=null,dl(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&wt(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 V=null,fl=!1;function pl(e,t,n){for(n=n.child;n!==null;)ml(e,t,n),n=n.sibling}function ml(e,t,n){if(Ge&&typeof Ge.onCommitFiberUnmount==`function`)try{Ge.onCommitFiberUnmount(We,n)}catch{}switch(n.tag){case 26:al||Xc(n,t),pl(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:al||Xc(n,t);var r=V,i=fl;$d(n.type)&&(V=n.stateNode,fl=!1),pl(e,t,n),hf(n.stateNode),V=r,fl=i;break;case 5:al||Xc(n,t);case 6:if(r=V,i=fl,V=null,pl(e,t,n),V=r,fl=i,V!==null)if(fl)try{(V.nodeType===9?V.body:V.nodeName===`HTML`?V.ownerDocument.body:V).removeChild(n.stateNode)}catch(e){J(n,t,e)}else try{V.removeChild(n.stateNode)}catch(e){J(n,t,e)}break;case 18:V!==null&&(fl?(e=V,ef(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),Pp(e)):ef(V,n.stateNode));break;case 4:r=V,i=fl,V=n.stateNode.containerInfo,fl=!0,pl(e,t,n),V=r,fl=i;break;case 0:case 11:case 14:case 15:Kc(2,n,t),al||Kc(4,n,t),pl(e,t,n);break;case 1:al||(Xc(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`&&Jc(n,t,r)),pl(e,t,n);break;case 21:pl(e,t,n);break;case 22:al=(r=al)||n.memoizedState!==null,pl(e,t,n),al=r;break;default:pl(e,t,n)}}function hl(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Pp(e)}catch(e){J(t,t.return,e)}}}function gl(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Pp(e)}catch(e){J(t,t.return,e)}}function _l(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new sl),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new sl),t;default:throw Error(i(435,e.tag))}}function vl(e,t){var n=_l(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=Qu.bind(null,e,t);t.then(r,r)}})}function yl(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var a=n[r],o=e,s=t,c=s;a:for(;c!==null;){switch(c.tag){case 27:if($d(c.type)){V=c.stateNode,fl=!1;break a}break;case 5:V=c.stateNode,fl=!1;break a;case 3:case 4:V=c.stateNode.containerInfo,fl=!0;break a}c=c.return}if(V===null)throw Error(i(160));ml(o,s,a),V=null,fl=!1,o=a.alternate,o!==null&&(o.return=null),a.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)xl(t,e),t=t.sibling}var bl=null;function xl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:yl(t,e),Sl(e),r&4&&(Kc(3,e,e.return),Gc(3,e),Kc(5,e,e.return));break;case 1:yl(t,e),Sl(e),r&512&&(al||n===null||Xc(n,n.return)),r&64&&il&&(e=e.updateQueue,e!==null&&(r=e.callbacks,r!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?r:n.concat(r))));break;case 26:var a=bl;if(yl(t,e),Sl(e),r&512&&(al||n===null||Xc(n,n.return)),r&4){var o=n===null?null:n.memoizedState;if(r=e.memoizedState,n===null)if(r===null)if(e.stateNode===null){a:{r=e.type,n=e.memoizedProps,a=a.ownerDocument||a;b:switch(r){case`title`:o=a.getElementsByTagName(`title`)[0],(!o||o[Ct]||o[gt]||o.namespaceURI===`http://www.w3.org/2000/svg`||o.hasAttribute(`itemprop`))&&(o=a.createElement(r),a.head.insertBefore(o,a.querySelector(`head > title`))),Id(o,r,n),o[gt]=e,kt(o),r=o;break a;case`link`:var s=Uf(`link`,`href`,a).get(r+(n.href||``));if(s){for(var c=0;c<s.length;c++)if(o=s[c],o.getAttribute(`href`)===(n.href==null||n.href===``?null:n.href)&&o.getAttribute(`rel`)===(n.rel==null?null:n.rel)&&o.getAttribute(`title`)===(n.title==null?null:n.title)&&o.getAttribute(`crossorigin`)===(n.crossOrigin==null?null:n.crossOrigin)){s.splice(c,1);break b}}o=a.createElement(r),Id(o,r,n),a.head.appendChild(o);break;case`meta`:if(s=Uf(`meta`,`content`,a).get(r+(n.content||``))){for(c=0;c<s.length;c++)if(o=s[c],o.getAttribute(`content`)===(n.content==null?null:``+n.content)&&o.getAttribute(`name`)===(n.name==null?null:n.name)&&o.getAttribute(`property`)===(n.property==null?null:n.property)&&o.getAttribute(`http-equiv`)===(n.httpEquiv==null?null:n.httpEquiv)&&o.getAttribute(`charset`)===(n.charSet==null?null:n.charSet)){s.splice(c,1);break b}}o=a.createElement(r),Id(o,r,n),a.head.appendChild(o);break;default:throw Error(i(468,r))}o[gt]=e,kt(o),r=o}e.stateNode=r}else Wf(a,e.type,e.stateNode);else e.stateNode=Rf(a,r,e.memoizedProps);else o===r?r===null&&e.stateNode!==null&&Qc(e,e.memoizedProps,n.memoizedProps):(o===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):o.count--,r===null?Wf(a,e.type,e.stateNode):Rf(a,r,e.memoizedProps))}break;case 27:yl(t,e),Sl(e),r&512&&(al||n===null||Xc(n,n.return)),n!==null&&r&4&&Qc(e,e.memoizedProps,n.memoizedProps);break;case 5:if(yl(t,e),Sl(e),r&512&&(al||n===null||Xc(n,n.return)),e.flags&32){a=e.stateNode;try{tn(a,``)}catch(t){J(e,e.return,t)}}r&4&&e.stateNode!=null&&(a=e.memoizedProps,Qc(e,a,n===null?a:n.memoizedProps)),r&1024&&(ol=!0);break;case 6:if(yl(t,e),Sl(e),r&4){if(e.stateNode===null)throw Error(i(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(t){J(e,e.return,t)}}break;case 3:if(Hf=null,a=bl,bl=vf(t.containerInfo),yl(t,e),bl=a,Sl(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Pp(t.containerInfo)}catch(t){J(e,e.return,t)}ol&&(ol=!1,Cl(e));break;case 4:r=bl,bl=vf(e.stateNode.containerInfo),yl(t,e),Sl(e),bl=r;break;case 12:yl(t,e),Sl(e);break;case 31:yl(t,e),Sl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,vl(e,r)));break;case 13:yl(t,e),Sl(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(nu=Fe()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,vl(e,r)));break;case 22:a=e.memoizedState!==null;var l=n!==null&&n.memoizedState!==null,u=il,d=al;if(il=u||a,al=d||l,yl(t,e),al=d,il=u,Sl(e),r&8192)a:for(t=e.stateNode,t._visibility=a?t._visibility&-2:t._visibility|1,a&&(n===null||l||il||al||Tl(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){l=n=t;try{if(o=l.stateNode,a)s=o.style,typeof s.setProperty==`function`?s.setProperty(`display`,`none`,`important`):s.display=`none`;else{c=l.stateNode;var f=l.memoizedProps.style,p=f!=null&&f.hasOwnProperty(`display`)?f.display:null;c.style.display=p==null||typeof p==`boolean`?``:(``+p).trim()}}catch(e){J(l,l.return,e)}}}else if(t.tag===6){if(n===null){l=t;try{l.stateNode.nodeValue=a?``:l.memoizedProps}catch(e){J(l,l.return,e)}}}else if(t.tag===18){if(n===null){l=t;try{var m=l.stateNode;a?tf(m,!0):tf(l.stateNode,!1)}catch(e){J(l,l.return,e)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break a;for(;t.sibling===null;){if(t.return===null||t.return===e)break a;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}r&4&&(r=e.updateQueue,r!==null&&(n=r.retryQueue,n!==null&&(r.retryQueue=null,vl(e,n))));break;case 19:yl(t,e),Sl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,vl(e,r)));break;case 30:break;case 21:break;default:yl(t,e),Sl(e)}}function Sl(e){var t=e.flags;if(t&2){try{for(var n,r=e.return;r!==null;){if($c(r)){n=r;break}r=r.return}if(n==null)throw Error(i(160));switch(n.tag){case 27:var a=n.stateNode;nl(e,el(e),a);break;case 5:var o=n.stateNode;n.flags&32&&(tn(o,``),n.flags&=-33),nl(e,el(e),o);break;case 3:case 4:var s=n.stateNode.containerInfo;tl(e,el(e),s);break;default:throw Error(i(161))}}catch(t){J(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Cl(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Cl(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function wl(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)ul(e,t.alternate,t),t=t.sibling}function Tl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Kc(4,t,t.return),Tl(t);break;case 1:Xc(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount==`function`&&Jc(t,t.return,n),Tl(t);break;case 27:hf(t.stateNode);case 26:case 5:Xc(t,t.return),Tl(t);break;case 22:t.memoizedState===null&&Tl(t);break;case 30:Tl(t);break;default:Tl(t)}e=e.sibling}}function El(e,t,n){for(n&&=(t.subtreeFlags&8772)!=0,t=t.child;t!==null;){var r=t.alternate,i=e,a=t,o=a.flags;switch(a.tag){case 0:case 11:case 15:El(i,a,n),Gc(4,a);break;case 1:if(El(i,a,n),r=a,i=r.stateNode,typeof i.componentDidMount==`function`)try{i.componentDidMount()}catch(e){J(r,r.return,e)}if(r=a,i=r.updateQueue,i!==null){var s=r.stateNode;try{var c=i.shared.hiddenCallbacks;if(c!==null)for(i.shared.hiddenCallbacks=null,i=0;i<c.length;i++)eo(c[i],s)}catch(e){J(r,r.return,e)}}n&&o&64&&qc(a),Yc(a,a.return);break;case 27:rl(a);case 26:case 5:El(i,a,n),n&&r===null&&o&4&&Zc(a),Yc(a,a.return);break;case 12:El(i,a,n);break;case 31:El(i,a,n),n&&o&4&&hl(i,a);break;case 13:El(i,a,n),n&&o&4&&gl(i,a);break;case 22:a.memoizedState===null&&El(i,a,n),Yc(a,a.return);break;case 30:break;default:El(i,a,n)}t=t.sibling}}function Dl(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&F(n))}function Ol(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&F(e))}function kl(e,t,n,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Al(e,t,n,r),t=t.sibling}function Al(e,t,n,r){var i=t.flags;switch(t.tag){case 0:case 11:case 15:kl(e,t,n,r),i&2048&&Gc(9,t);break;case 1:kl(e,t,n,r);break;case 3:kl(e,t,n,r),i&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&F(e)));break;case 12:if(i&2048){kl(e,t,n,r),e=t.stateNode;try{var a=t.memoizedProps,o=a.id,s=a.onPostCommit;typeof s==`function`&&s(o,t.alternate===null?`mount`:`update`,e.passiveEffectDuration,-0)}catch(e){J(t,t.return,e)}}else kl(e,t,n,r);break;case 31:kl(e,t,n,r);break;case 13:kl(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,o=t.alternate,t.memoizedState===null?a._visibility&2?kl(e,t,n,r):(a._visibility|=2,jl(e,t,n,r,(t.subtreeFlags&10256)!=0||!1)):a._visibility&2?kl(e,t,n,r):Ml(e,t),i&2048&&Dl(o,t);break;case 24:kl(e,t,n,r),i&2048&&Ol(t.alternate,t);break;default:kl(e,t,n,r)}}function jl(e,t,n,r,i){for(i&&=(t.subtreeFlags&10256)!=0||!1,t=t.child;t!==null;){var a=e,o=t,s=n,c=r,l=o.flags;switch(o.tag){case 0:case 11:case 15:jl(a,o,s,c,i),Gc(8,o);break;case 23:break;case 22:var u=o.stateNode;o.memoizedState===null?(u._visibility|=2,jl(a,o,s,c,i)):u._visibility&2?jl(a,o,s,c,i):Ml(a,o),i&&l&2048&&Dl(o.alternate,o);break;case 24:jl(a,o,s,c,i),i&&l&2048&&Ol(o.alternate,o);break;default:jl(a,o,s,c,i)}t=t.sibling}}function Ml(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,r=t,i=r.flags;switch(r.tag){case 22:Ml(n,r),i&2048&&Dl(r.alternate,r);break;case 24:Ml(n,r),i&2048&&Ol(r.alternate,r);break;default:Ml(n,r)}t=t.sibling}}var Nl=8192;function Pl(e,t,n){if(e.subtreeFlags&Nl)for(e=e.child;e!==null;)Fl(e,t,n),e=e.sibling}function Fl(e,t,n){switch(e.tag){case 26:Pl(e,t,n),e.flags&Nl&&e.memoizedState!==null&&qf(n,bl,e.memoizedState,e.memoizedProps);break;case 5:Pl(e,t,n);break;case 3:case 4:var r=bl;bl=vf(e.stateNode.containerInfo),Pl(e,t,n),bl=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=Nl,Nl=16777216,Pl(e,t,n),Nl=r):Pl(e,t,n));break;default:Pl(e,t,n)}}function Il(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Ll(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];cl=r,Bl(r,e)}Il(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Rl(e),e=e.sibling}function Rl(e){switch(e.tag){case 0:case 11:case 15:Ll(e),e.flags&2048&&Kc(9,e,e.return);break;case 3:Ll(e);break;case 12:Ll(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,zl(e)):Ll(e);break;default:Ll(e)}}function zl(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];cl=r,Bl(r,e)}Il(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Kc(8,t,t.return),zl(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,zl(t));break;default:zl(t)}e=e.sibling}}function Bl(e,t){for(;cl!==null;){var n=cl;switch(n.tag){case 0:case 11:case 15:Kc(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var r=n.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:F(n.memoizedState.cache)}if(r=n.child,r!==null)r.return=n,cl=r;else a:for(n=e;cl!==null;){r=cl;var i=r.sibling,a=r.return;if(dl(r),r===n){cl=null;break a}if(i!==null){i.return=a,cl=i;break a}cl=a}}}var Vl={getCacheForType:function(e){var t=oa(fa),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return oa(fa).controller.signal}},Hl=typeof WeakMap==`function`?WeakMap:Map,H=0,U=null,W=null,G=0,K=0,Ul=null,Wl=!1,Gl=!1,Kl=!1,ql=0,q=0,Jl=0,Yl=0,Xl=0,Zl=0,Ql=0,$l=null,eu=null,tu=!1,nu=0,ru=0,iu=1/0,au=null,ou=null,su=0,cu=null,lu=null,uu=0,du=0,fu=null,pu=null,mu=0,hu=null;function gu(){return H&2&&G!==0?G&-G:E.T===null?pt():md()}function _u(){if(Zl===0)if(!(G&536870912)||N){var e=Qe;Qe<<=1,!(Qe&3932160)&&(Qe=262144),Zl=e}else Zl=536870912;return e=so.current,e!==null&&(e.flags|=32),Zl}function vu(e,t,n){(e===U&&(K===2||K===9)||e.cancelPendingCommit!==null)&&(Tu(e,0),Su(e,G,Zl,!1)),ot(e,n),(!(H&2)||e!==U)&&(e===U&&(!(H&2)&&(Yl|=n),q===4&&Su(e,G,Zl,!1)),od(e))}function yu(e,t,n){if(H&6)throw Error(i(327));var r=!n&&(t&127)==0&&(t&e.expiredLanes)===0||nt(e,t),a=r?Nu(e,t):ju(e,t,!0),o=r;do{if(a===0){Gl&&!r&&Su(e,t,0,!1);break}else{if(n=e.current.alternate,o&&!xu(n)){a=ju(e,t,!1),o=!1;continue}if(a===2){if(o=t,e.errorRecoveryDisabledLanes&o)var s=0;else s=e.pendingLanes&-536870913,s=s===0?s&536870912?536870912:0:s;if(s!==0){t=s;a:{var c=e;a=$l;var l=c.current.memoizedState.isDehydrated;if(l&&(Tu(c,s).flags|=256),s=ju(c,s,!1),s!==2){if(Kl&&!l){c.errorRecoveryDisabledLanes|=o,Yl|=o,a=4;break a}o=eu,eu=a,o!==null&&(eu===null?eu=o:eu.push.apply(eu,o))}a=s}if(o=!1,a!==2)continue}}if(a===1){Tu(e,0),Su(e,t,0,!0);break}a:{switch(r=e,o=a,o){case 0:case 1:throw Error(i(345));case 4:if((t&4194048)!==t)break;case 6:Su(r,t,Zl,!Wl);break a;case 2:eu=null;break;case 3:case 5:break;default:throw Error(i(329))}if((t&62914560)===t&&(a=nu+300-Fe(),10<a)){if(Su(r,t,Zl,!Wl),tt(r,0,!0)!==0)break a;uu=t,r.timeoutHandle=Jd(bu.bind(null,r,n,eu,au,tu,t,Zl,Yl,Ql,Wl,o,`Throttled`,-0,0),a);break a}bu(r,n,eu,au,tu,t,Zl,Yl,Ql,Wl,o,null,-0,0)}}break}while(1);od(e)}function bu(e,t,n,r,i,a,o,s,c,l,u,d,f,p){if(e.timeoutHandle=-1,d=t.subtreeFlags,d&8192||(d&16785408)==16785408){d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:un},Fl(t,a,d);var m=(a&62914560)===a?nu-Fe():(a&4194048)===a?ru-Fe():0;if(m=Yf(d,m),m!==null){uu=a,e.cancelPendingCommit=m(Bu.bind(null,e,t,a,n,r,i,o,s,c,u,d,null,f,p)),Su(e,a,o,!l);return}}Bu(e,t,a,n,r,i,o,s,c)}function xu(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!Mr(a(),i))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Su(e,t,n,r){t&=~Xl,t&=~Yl,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-qe(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&ct(e,n,t)}function Cu(){return H&6?!0:(sd(0,!1),!1)}function wu(){if(W!==null){if(K===0)var e=W.return;else e=W,Qi=Zi=null,Mo(e),Ia=null,La=0,e=W;for(;e!==null;)Wc(e.alternate,e),e=e.return;W=null}}function Tu(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,Yd(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),uu=0,wu(),U=e,W=n=yi(e.current,null),G=t,K=0,Ul=null,Wl=!1,Gl=nt(e,t),Kl=!1,Ql=Zl=Xl=Yl=Jl=q=0,eu=$l=null,tu=!1,t&8&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var i=31-qe(r),a=1<<i;t|=e[i],r&=~a}return ql=t,li(),n}function Eu(e,t){L=null,E.H=Hs,t===Ea||t===Oa?(t=Pa(),K=3):t===Da?(t=Pa(),K=4):K=t===oc?8:typeof t==`object`&&t&&typeof t.then==`function`?6:1,Ul=t,W===null&&(q=1,ec(e,Di(t,e.current)))}function Du(){var e=so.current;return e===null?!0:(G&4194048)===G?co===null:(G&62914560)===G||G&536870912?e===co:!1}function Ou(){var e=E.H;return E.H=Hs,e===null?Hs:e}function ku(){var e=E.A;return E.A=Vl,e}function Au(){q=4,Wl||(G&4194048)!==G&&so.current!==null||(Gl=!0),!(Jl&134217727)&&!(Yl&134217727)||U===null||Su(U,G,Zl,!1)}function ju(e,t,n){var r=H;H|=2;var i=Ou(),a=ku();(U!==e||G!==t)&&(au=null,Tu(e,t)),t=!1;var o=q;a:do try{if(K!==0&&W!==null){var s=W,c=Ul;switch(K){case 8:wu(),o=6;break a;case 3:case 2:case 9:case 6:so.current===null&&(t=!0);var l=K;if(K=0,Ul=null,Lu(e,s,c,l),n&&Gl){o=0;break a}break;default:l=K,K=0,Ul=null,Lu(e,s,c,l)}}Mu(),o=q;break}catch(t){Eu(e,t)}while(1);return t&&e.shellSuspendCounter++,Qi=Zi=null,H=r,E.H=i,E.A=a,W===null&&(U=null,G=0,li()),o}function Mu(){for(;W!==null;)Fu(W)}function Nu(e,t){var n=H;H|=2;var r=Ou(),a=ku();U!==e||G!==t?(au=null,iu=Fe()+500,Tu(e,t)):Gl=nt(e,t);a:do try{if(K!==0&&W!==null){t=W;var o=Ul;b:switch(K){case 1:K=0,Ul=null,Lu(e,t,o,1);break;case 2:case 9:if(Aa(o)){K=0,Ul=null,Iu(t);break}t=function(){K!==2&&K!==9||U!==e||(K=7),od(e)},o.then(t,t);break a;case 3:K=7;break a;case 4:K=5;break a;case 7:Aa(o)?(K=0,Ul=null,Iu(t)):(K=0,Ul=null,Lu(e,t,o,7));break;case 5:var s=null;switch(W.tag){case 26:s=W.memoizedState;case 5:case 27:var c=W;if(s?Kf(s):c.stateNode.complete){K=0,Ul=null;var l=c.sibling;if(l!==null)W=l;else{var u=c.return;u===null?W=null:(W=u,Ru(u))}break b}}K=0,Ul=null,Lu(e,t,o,5);break;case 6:K=0,Ul=null,Lu(e,t,o,6);break;case 8:wu(),q=6;break a;default:throw Error(i(462))}}Pu();break}catch(t){Eu(e,t)}while(1);return Qi=Zi=null,E.H=r,E.A=a,H=n,W===null?(U=null,G=0,li(),q):0}function Pu(){for(;W!==null&&!Ne();)Fu(W)}function Fu(e){var t=Ic(e.alternate,e,ql);e.memoizedProps=e.pendingProps,t===null?Ru(e):W=t}function Iu(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=bc(n,t,t.pendingProps,t.type,void 0,G);break;case 11:t=bc(n,t,t.pendingProps,t.type.render,t.ref,G);break;case 5:Mo(t);default:Wc(n,t),t=W=bi(t,ql),t=Ic(n,t,ql)}e.memoizedProps=e.pendingProps,t===null?Ru(e):W=t}function Lu(e,t,n,r){Qi=Zi=null,Mo(t),Ia=null,La=0;var i=t.return;try{if(ac(e,i,t,n,G)){q=1,ec(e,Di(n,e.current)),W=null;return}}catch(t){if(i!==null)throw W=i,t;q=1,ec(e,Di(n,e.current)),W=null;return}t.flags&32768?(N||r===1?e=!0:Gl||G&536870912?e=!1:(Wl=e=!0,(r===2||r===9||r===3||r===6)&&(r=so.current,r!==null&&r.tag===13&&(r.flags|=16384))),zu(t,e)):Ru(t)}function Ru(e){var t=e;do{if(t.flags&32768){zu(t,Wl);return}e=t.return;var n=Hc(t.alternate,t,ql);if(n!==null){W=n;return}if(t=t.sibling,t!==null){W=t;return}W=t=e}while(t!==null);q===0&&(q=5)}function zu(e,t){do{var n=Uc(e.alternate,e);if(n!==null){n.flags&=32767,W=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){W=e;return}W=e=n}while(e!==null);q=6,W=null}function Bu(e,t,n,r,a,o,s,c,l){e.cancelPendingCommit=null;do Gu();while(su!==0);if(H&6)throw Error(i(327));if(t!==null){if(t===e.current)throw Error(i(177));if(o=t.lanes|t.childLanes,o|=ci,st(e,n,o,s,c,l),e===U&&(W=U=null,G=0),lu=t,cu=e,uu=n,du=o,fu=a,pu=r,t.subtreeFlags&10256||t.flags&10256?(e.callbackNode=null,e.callbackPriority=0,$u(ze,function(){return Ku(),null})):(e.callbackNode=null,e.callbackPriority=0),r=(t.flags&13878)!=0,t.subtreeFlags&13878||r){r=E.T,E.T=null,a=D.p,D.p=2,s=H,H|=4;try{ll(e,t,n)}finally{H=s,D.p=a,E.T=r}}su=1,Vu(),Hu(),Uu()}}function Vu(){if(su===1){su=0;var e=cu,t=lu,n=(t.flags&13878)!=0;if(t.subtreeFlags&13878||n){n=E.T,E.T=null;var r=D.p;D.p=2;var i=H;H|=4;try{xl(t,e);var a=Vd,o=Lr(e.containerInfo),s=a.focusedElem,c=a.selectionRange;if(o!==s&&s&&s.ownerDocument&&Ir(s.ownerDocument.documentElement,s)){if(c!==null&&Rr(s)){var l=c.start,u=c.end;if(u===void 0&&(u=l),`selectionStart`in s)s.selectionStart=l,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),m=s.textContent.length,h=Math.min(c.start,m),g=c.end===void 0?h:Math.min(c.end,m);!p.extend&&h>g&&(o=g,g=h,h=o);var _=Fr(s,h),v=Fr(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;s<d.length;s++){var b=d[s];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}lp=!!Bd,Vd=Bd=null}finally{H=i,D.p=r,E.T=n}}e.current=t,su=2}}function Hu(){if(su===2){su=0;var e=cu,t=lu,n=(t.flags&8772)!=0;if(t.subtreeFlags&8772||n){n=E.T,E.T=null;var r=D.p;D.p=2;var i=H;H|=4;try{ul(e,t.alternate,t)}finally{H=i,D.p=r,E.T=n}}su=3}}function Uu(){if(su===4||su===3){su=0,Pe();var e=cu,t=lu,n=uu,r=pu;t.subtreeFlags&10256||t.flags&10256?su=5:(su=0,lu=cu=null,Wu(e,e.pendingLanes));var i=e.pendingLanes;if(i===0&&(ou=null),ft(n),t=t.stateNode,Ge&&typeof Ge.onCommitFiberRoot==`function`)try{Ge.onCommitFiberRoot(We,t,void 0,(t.current.flags&128)==128)}catch{}if(r!==null){t=E.T,i=D.p,D.p=2,E.T=null;try{for(var a=e.onRecoverableError,o=0;o<r.length;o++){var s=r[o];a(s.value,{componentStack:s.stack})}}finally{E.T=t,D.p=i}}uu&3&&Gu(),od(e),i=e.pendingLanes,n&261930&&i&42?e===hu?mu++:(mu=0,hu=e):mu=0,sd(0,!1)}}function Wu(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,F(t)))}function Gu(){return Vu(),Hu(),Uu(),Ku()}function Ku(){if(su!==5)return!1;var e=cu,t=du;du=0;var n=ft(uu),r=E.T,a=D.p;try{D.p=32>n?32:n,E.T=null,n=fu,fu=null;var o=cu,s=uu;if(su=0,lu=cu=null,uu=0,H&6)throw Error(i(331));var c=H;if(H|=4,Rl(o.current),Al(o,o.current,s,n),H=c,sd(0,!1),Ge&&typeof Ge.onPostCommitFiberRoot==`function`)try{Ge.onPostCommitFiberRoot(We,o)}catch{}return!0}finally{D.p=a,E.T=r,Wu(e,t)}}function qu(e,t,n){t=Di(n,t),t=nc(e.stateNode,t,2),e=Ja(e,t,2),e!==null&&(ot(e,2),od(e))}function J(e,t,n){if(e.tag===3)qu(e,e,n);else for(;t!==null;){if(t.tag===3){qu(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(ou===null||!ou.has(r))){e=Di(n,e),n=rc(2),r=Ja(t,n,2),r!==null&&(ic(n,r,t,e),ot(r,2),od(r));break}}t=t.return}}function Ju(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Hl;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(Kl=!0,i.add(n),e=Yu.bind(null,e,t,n),t.then(e,e))}function Yu(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,U===e&&(G&n)===n&&(q===4||q===3&&(G&62914560)===G&&300>Fe()-nu?!(H&2)&&Tu(e,0):Xl|=n,Ql===G&&(Ql=0)),od(e)}function Xu(e,t){t===0&&(t=it()),e=fi(e,t),e!==null&&(ot(e,t),od(e))}function Zu(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Xu(e,n)}function Qu(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}r!==null&&r.delete(t),Xu(e,n)}function $u(e,t){return je(e,t)}var ed=null,td=null,nd=!1,rd=!1,id=!1,ad=0;function od(e){e!==td&&e.next===null&&(td===null?ed=td=e:td=td.next=e),rd=!0,nd||(nd=!0,pd())}function sd(e,t){if(!id&&rd){id=!0;do for(var n=!1,r=ed;r!==null;){if(!t)if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-qe(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,fd(r,a))}else a=G,a=tt(r,r===U?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||nt(r,a)||(n=!0,fd(r,a));r=r.next}while(n);id=!1}}function cd(){ld()}function ld(){rd=nd=!1;var e=0;ad!==0&&qd()&&(e=ad);for(var t=Fe(),n=null,r=ed;r!==null;){var i=r.next,a=ud(r,t);a===0?(r.next=null,n===null?ed=i:n.next=i,i===null&&(td=n)):(n=r,(e!==0||a&3)&&(rd=!0)),r=i}su!==0&&su!==5||sd(e,!1),ad!==0&&(ad=0)}function ud(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-qe(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=rt(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=U,n=G,n=tt(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,n===0||e===t&&(K===2||K===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&Me(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||nt(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(r!==null&&Me(r),ft(n)){case 2:case 8:n=Re;break;case 32:n=ze;break;case 268435456:n=Ve;break;default:n=ze}return r=dd.bind(null,e),n=je(n,r),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&r!==null&&Me(r),e.callbackPriority=2,e.callbackNode=null,2}function dd(e,t){if(su!==0&&su!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Gu()&&e.callbackNode!==n)return null;var r=G;return r=tt(e,e===U?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(yu(e,r,t),ud(e,Fe()),e.callbackNode!=null&&e.callbackNode===n?dd.bind(null,e):null)}function fd(e,t){if(Gu())return null;yu(e,t,!0)}function pd(){Zd(function(){H&6?je(Le,cd):ld()})}function md(){if(ad===0){var e=ga;e===0&&(e=Ze,Ze<<=1,!(Ze&261888)&&(Ze=256)),ad=e}return ad}function hd(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:ln(``+e)}function gd(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 _d(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=hd((i[_t]||null).action),o=r.submitter;o&&(t=(t=o[_t]||null)?hd(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new jn(`action`,`action`,null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(ad!==0){var e=o?gd(i,o):new FormData(i);Os(n,{pending:!0,data:e,method:i.method,action:a},null,e)}}else typeof a==`function`&&(s.preventDefault(),e=o?gd(i,o):new FormData(i),Os(n,{pending:!0,data:e,method:i.method,action:a},a,e))},currentTarget:i}]})}}for(var vd=0;vd<ri.length;vd++){var yd=ri[vd];ii(yd.toLowerCase(),`on`+(yd[0].toUpperCase()+yd.slice(1)))}ii(Xr,`onAnimationEnd`),ii(Zr,`onAnimationIteration`),ii(k,`onAnimationStart`),ii(`dblclick`,`onDoubleClick`),ii(`focusin`,`onFocus`),ii(`focusout`,`onBlur`),ii(Qr,`onTransitionRun`),ii($r,`onTransitionStart`),ii(ei,`onTransitionCancel`),ii(ti,`onTransitionEnd`),Nt(`onMouseEnter`,[`mouseout`,`mouseover`]),Nt(`onMouseLeave`,[`mouseout`,`mouseover`]),Nt(`onPointerEnter`,[`pointerout`,`pointerover`]),Nt(`onPointerLeave`,[`pointerout`,`pointerover`]),Mt(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),Mt(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),Mt(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),Mt(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),Mt(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),Mt(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var bd=`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(` `),xd=new Set(`beforetoggle cancel close invalid load scroll scrollend toggle`.split(` `).concat(bd));function Sd(e,t){t=(t&4)!=0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;a:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){ai(e)}i.currentTarget=null,a=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){ai(e)}i.currentTarget=null,a=c}}}}function Y(e,t){var n=t[yt];n===void 0&&(n=t[yt]=new Set);var r=e+`__bubble`;n.has(r)||(Ed(t,e,2,!1),n.add(r))}function Cd(e,t,n){var r=0;t&&(r|=4),Ed(n,e,r,t)}var wd=`_reactListening`+Math.random().toString(36).slice(2);function Td(e){if(!e[wd]){e[wd]=!0,At.forEach(function(t){t!==`selectionchange`&&(xd.has(t)||Cd(t,!1,e),Cd(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[wd]||(t[wd]=!0,Cd(`selectionchange`,!1,t))}}function Ed(e,t,n,r){switch(gp(t)){case 2:var i=up;break;case 8:i=dp;break;default:i=fp}n=i.bind(null,t,n,e),i=void 0,!bn||t!==`touchstart`&&t!==`touchmove`&&t!==`wheel`||(i=!0),r?i===void 0?e.addEventListener(t,n,!0):e.addEventListener(t,n,{capture:!0,passive:i}):i===void 0?e.addEventListener(t,n,!1):e.addEventListener(t,n,{passive:i})}function Dd(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var c=r.stateNode.containerInfo;if(c===i)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&s.stateNode.containerInfo===i)return;s=s.return}for(;c!==null;){if(s=Tt(c),s===null)return;if(l=s.tag,l===5||l===6||l===26||l===27){r=a=s;continue a}c=c.parentNode}}r=r.return}_n(function(){var r=a,i=fn(n),s=[];a:{var c=ni.get(e);if(c!==void 0){var l=jn,u=e;switch(e){case`keypress`:if(En(n)===0)break a;case`keydown`:case`keyup`:l=Yn;break;case`focusin`:u=`focus`,l=Bn;break;case`focusout`:u=`blur`,l=Bn;break;case`beforeblur`:case`afterblur`:l=Bn;break;case`click`:if(n.button===2)break a;case`auxclick`:case`dblclick`:case`mousedown`:case`mousemove`:case`mouseup`:case`mouseout`:case`mouseover`:case`contextmenu`:l=Rn;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:l=zn;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:l=Zn;break;case Xr:case Zr:case k:l=Vn;break;case ti:l=Qn;break;case`scroll`:case`scrollend`:l=Nn;break;case`wheel`:l=$n;break;case`copy`:case`cut`:case`paste`:l=Hn;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:l=Xn;break;case`toggle`:case`beforetoggle`:l=er}var d=(t&4)!=0,f=!d&&(e===`scroll`||e===`scrollend`),p=d?c===null?null:c+`Capture`:c;d=[];for(var m=r,h;m!==null;){var g=m;if(h=g.stateNode,g=g.tag,g!==5&&g!==26&&g!==27||h===null||p===null||(g=vn(m,p),g!=null&&d.push(X(m,g,h))),f)break;m=m.return}0<d.length&&(c=new l(c,u,null,n,i),s.push({event:c,listeners:d}))}}if(!(t&7)){a:{if(c=e===`mouseover`||e===`pointerover`,l=e===`mouseout`||e===`pointerout`,c&&n!==dn&&(u=n.relatedTarget||n.fromElement)&&(Tt(u)||u[vt]))break a;if((l||c)&&(c=i.window===i?i:(c=i.ownerDocument)?c.defaultView||c.parentWindow:window,l?(u=n.relatedTarget||n.toElement,l=r,u=u?Tt(u):null,u!==null&&(f=o(u),d=u.tag,u!==f||d!==5&&d!==27&&d!==6)&&(u=null)):(l=null,u=r),l!==u)){if(d=Rn,g=`onMouseLeave`,p=`onMouseEnter`,m=`mouse`,(e===`pointerout`||e===`pointerover`)&&(d=Xn,g=`onPointerLeave`,p=`onPointerEnter`,m=`pointer`),f=l==null?c:Dt(l),h=u==null?c:Dt(u),c=new d(g,m+`leave`,l,n,i),c.target=f,c.relatedTarget=h,g=null,Tt(i)===r&&(d=new d(p,m+`enter`,u,n,i),d.target=h,d.relatedTarget=f,g=d),f=g,l&&u)b:{for(d=kd,p=l,m=u,h=0,g=p;g;g=d(g))h++;g=0;for(var _=m;_;_=d(_))g++;for(;0<h-g;)p=d(p),h--;for(;0<g-h;)m=d(m),g--;for(;h--;){if(p===m||m!==null&&p===m.alternate){d=p;break b}p=d(p),m=d(m)}d=null}else d=null;l!==null&&Ad(s,c,l,d,!1),u!==null&&f!==null&&Ad(s,f,u,d,!0)}}a:{if(c=r?Dt(r):window,l=c.nodeName&&c.nodeName.toLowerCase(),l===`select`||l===`input`&&c.type===`file`)var v=br;else if(mr(c))if(xr)v=Ar;else{v=Or;var y=Dr}else l=c.nodeName,!l||l.toLowerCase()!==`input`||c.type!==`checkbox`&&c.type!==`radio`?r&&on(r.elementType)&&(v=br):v=kr;if(v&&=v(e,r)){hr(s,v,n,i);break a}y&&y(e,c,r),e===`focusout`&&r&&c.type===`number`&&r.memoizedProps.value!=null&&Zt(c,`number`,c.value)}switch(y=r?Dt(r):window,e){case`focusin`:(mr(y)||y.contentEditable===`true`)&&(Br=y,Vr=r,Hr=null);break;case`focusout`:Hr=Vr=Br=null;break;case`mousedown`:Ur=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:Ur=!1,Wr(s,n,i);break;case`selectionchange`:if(zr)break;case`keydown`:case`keyup`:Wr(s,n,i)}var b;if(nr)b:{switch(e){case`compositionstart`:var x=`onCompositionStart`;break b;case`compositionend`:x=`onCompositionEnd`;break b;case`compositionupdate`:x=`onCompositionUpdate`;break b}x=void 0}else ur?cr(e,n)&&(x=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(x=`onCompositionStart`);x&&(ar&&n.locale!==`ko`&&(ur||x!==`onCompositionStart`?x===`onCompositionEnd`&&ur&&(b=Tn()):(Sn=i,Cn=`value`in Sn?Sn.value:Sn.textContent,ur=!0)),y=Od(r,x),0<y.length&&(x=new Un(x,e,null,n,i),s.push({event:x,listeners:y}),b?x.data=b:(b=lr(n),b!==null&&(x.data=b)))),(b=ir?dr(e,n):fr(e,n))&&(x=Od(r,`onBeforeInput`),0<x.length&&(y=new Un(`onBeforeInput`,`beforeinput`,null,n,i),s.push({event:y,listeners:x}),y.data=b)),_d(s,e,r,n,i)}Sd(s,t)})}function X(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Od(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||a===null||(i=vn(e,n),i!=null&&r.unshift(X(e,i,a)),i=vn(e,t),i!=null&&r.push(X(e,i,a))),e.tag===3)return r;e=e.return}return[]}function kd(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Ad(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(s=s.tag,c!==null&&c===r)break;s!==5&&s!==26&&s!==27||l===null||(c=l,i?(l=vn(n,a),l!=null&&o.unshift(X(n,l,c))):i||(l=vn(n,a),l!=null&&o.push(X(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var jd=/\r\n?/g,Md=/\u0000|\uFFFD/g;function Nd(e){return(typeof e==`string`?e:``+e).replace(jd,`
9`).replace(Md,``)}function Pd(e,t){return t=Nd(t),Nd(e)===t}function Z(e,t,n,r,a,o){switch(n){case`children`:typeof r==`string`?t===`body`||t===`textarea`&&r===``||tn(e,r):(typeof r==`number`||typeof r==`bigint`)&&t!==`body`&&tn(e,``+r);break;case`className`:zt(e,`class`,r);break;case`tabIndex`:zt(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:zt(e,n,r);break;case`style`:an(e,r,o);break;case`data`:if(t!==`object`){zt(e,`data`,r);break}case`src`:case`href`:if(r===``&&(t!==`a`||n!==`href`)){e.removeAttribute(n);break}if(r==null||typeof r==`function`||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=ln(``+r),e.setAttribute(n,r);break;case`action`:case`formAction`:if(typeof r==`function`){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}else typeof o==`function`&&(n===`formAction`?(t!==`input`&&Z(e,t,`name`,a.name,a,null),Z(e,t,`formEncType`,a.formEncType,a,null),Z(e,t,`formMethod`,a.formMethod,a,null),Z(e,t,`formTarget`,a.formTarget,a,null)):(Z(e,t,`encType`,a.encType,a,null),Z(e,t,`method`,a.method,a,null),Z(e,t,`target`,a.target,a,null)));if(r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=ln(``+r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(e.onclick=un);break;case`onScroll`:r!=null&&Y(`scroll`,e);break;case`onScrollEnd`:r!=null&&Y(`scrollend`,e);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));e.innerHTML=n}}break;case`multiple`:e.multiple=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`muted`:e.muted=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:break;case`autoFocus`:break;case`xlinkHref`:if(r==null||typeof r==`function`||typeof r==`boolean`||typeof r==`symbol`){e.removeAttribute(`xlink:href`);break}n=ln(``+r),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`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``+r):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`:r&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``):e.removeAttribute(n);break;case`capture`:case`download`:!0===r?e.setAttribute(n,``):!1!==r&&r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,r):e.removeAttribute(n);break;case`cols`:case`rows`:case`size`:case`span`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case`rowSpan`:case`start`:r==null||typeof r==`function`||typeof r==`symbol`||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case`popover`:Y(`beforetoggle`,e),Y(`toggle`,e),Rt(e,`popover`,r);break;case`xlinkActuate`:Bt(e,`http://www.w3.org/1999/xlink`,`xlink:actuate`,r);break;case`xlinkArcrole`:Bt(e,`http://www.w3.org/1999/xlink`,`xlink:arcrole`,r);break;case`xlinkRole`:Bt(e,`http://www.w3.org/1999/xlink`,`xlink:role`,r);break;case`xlinkShow`:Bt(e,`http://www.w3.org/1999/xlink`,`xlink:show`,r);break;case`xlinkTitle`:Bt(e,`http://www.w3.org/1999/xlink`,`xlink:title`,r);break;case`xlinkType`:Bt(e,`http://www.w3.org/1999/xlink`,`xlink:type`,r);break;case`xmlBase`:Bt(e,`http://www.w3.org/XML/1998/namespace`,`xml:base`,r);break;case`xmlLang`:Bt(e,`http://www.w3.org/XML/1998/namespace`,`xml:lang`,r);break;case`xmlSpace`:Bt(e,`http://www.w3.org/XML/1998/namespace`,`xml:space`,r);break;case`is`:Rt(e,`is`,r);break;case`innerText`:case`textContent`:break;default:(!(2<n.length)||n[0]!==`o`&&n[0]!==`O`||n[1]!==`n`&&n[1]!==`N`)&&(n=sn.get(n)||n,Rt(e,n,r))}}function Fd(e,t,n,r,a,o){switch(n){case`style`:an(e,r,o);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));e.innerHTML=n}}break;case`children`:typeof r==`string`?tn(e,r):(typeof r==`number`||typeof r==`bigint`)&&tn(e,``+r);break;case`onScroll`:r!=null&&Y(`scroll`,e);break;case`onScrollEnd`:r!=null&&Y(`scrollend`,e);break;case`onClick`:r!=null&&(e.onclick=un);break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:break;case`innerText`:case`textContent`:break;default:if(!jt.hasOwnProperty(n))a:{if(n[0]===`o`&&n[1]===`n`&&(a=n.endsWith(`Capture`),t=n.slice(2,a?n.length-7:void 0),o=e[_t]||null,o=o==null?null:o[n],typeof o==`function`&&e.removeEventListener(t,o,a),typeof r==`function`)){typeof o!=`function`&&o!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,a);break a}n in e?e[n]=r:!0===r?e.setAttribute(n,``):Rt(e,n,r)}}}function Id(e,t,n){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`img`:Y(`error`,e),Y(`load`,e);var r=!1,a=!1,o;for(o in n)if(n.hasOwnProperty(o)){var s=n[o];if(s!=null)switch(o){case`src`:r=!0;break;case`srcSet`:a=!0;break;case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:Z(e,t,o,s,n,null)}}a&&Z(e,t,`srcSet`,n.srcSet,n,null),r&&Z(e,t,`src`,n.src,n,null);return;case`input`:Y(`invalid`,e);var c=o=s=a=null,l=null,u=null;for(r in n)if(n.hasOwnProperty(r)){var d=n[r];if(d!=null)switch(r){case`name`:a=d;break;case`type`:s=d;break;case`checked`:l=d;break;case`defaultChecked`:u=d;break;case`value`:o=d;break;case`defaultValue`:c=d;break;case`children`:case`dangerouslySetInnerHTML`:if(d!=null)throw Error(i(137,t));break;default:Z(e,t,r,d,n,null)}}Xt(e,o,c,l,u,s,a,!1);return;case`select`:for(a in Y(`invalid`,e),r=s=o=null,n)if(n.hasOwnProperty(a)&&(c=n[a],c!=null))switch(a){case`value`:o=c;break;case`defaultValue`:s=c;break;case`multiple`:r=c;default:Z(e,t,a,c,n,null)}t=o,n=s,e.multiple=!!r,t==null?n!=null&&Qt(e,!!r,n,!0):Qt(e,!!r,t,!1);return;case`textarea`:for(s in Y(`invalid`,e),o=a=r=null,n)if(n.hasOwnProperty(s)&&(c=n[s],c!=null))switch(s){case`value`:r=c;break;case`defaultValue`:a=c;break;case`children`:o=c;break;case`dangerouslySetInnerHTML`:if(c!=null)throw Error(i(91));break;default:Z(e,t,s,c,n,null)}en(e,r,a,o);return;case`option`:for(l in n)if(n.hasOwnProperty(l)&&(r=n[l],r!=null))switch(l){case`selected`:e.selected=r&&typeof r!=`function`&&typeof r!=`symbol`;break;default:Z(e,t,l,r,n,null)}return;case`dialog`:Y(`beforetoggle`,e),Y(`toggle`,e),Y(`cancel`,e),Y(`close`,e);break;case`iframe`:case`object`:Y(`load`,e);break;case`video`:case`audio`:for(r=0;r<bd.length;r++)Y(bd[r],e);break;case`image`:Y(`error`,e),Y(`load`,e);break;case`details`:Y(`toggle`,e);break;case`embed`:case`source`:case`link`:Y(`error`,e),Y(`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)&&(r=n[u],r!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:Z(e,t,u,r,n,null)}return;default:if(on(t)){for(d in n)n.hasOwnProperty(d)&&(r=n[d],r!==void 0&&Fd(e,t,d,r,n,void 0));return}}for(c in n)n.hasOwnProperty(c)&&(r=n[c],r!=null&&Z(e,t,c,r,n,null))}function Ld(e,t,n,r){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`input`:var a=null,o=null,s=null,c=null,l=null,u=null,d=null;for(m in n){var f=n[m];if(n.hasOwnProperty(m)&&f!=null)switch(m){case`checked`:break;case`value`:break;case`defaultValue`:l=f;default:r.hasOwnProperty(m)||Z(e,t,m,null,r,f)}}for(var p in r){var m=r[p];if(f=n[p],r.hasOwnProperty(p)&&(m!=null||f!=null))switch(p){case`type`:o=m;break;case`name`:a=m;break;case`checked`:u=m;break;case`defaultChecked`:d=m;break;case`value`:s=m;break;case`defaultValue`:c=m;break;case`children`:case`dangerouslySetInnerHTML`:if(m!=null)throw Error(i(137,t));break;default:m!==f&&Z(e,t,p,m,r,f)}}Yt(e,s,c,l,u,d,o,a);return;case`select`:for(o in m=s=c=p=null,n)if(l=n[o],n.hasOwnProperty(o)&&l!=null)switch(o){case`value`:break;case`multiple`:m=l;default:r.hasOwnProperty(o)||Z(e,t,o,null,r,l)}for(a in r)if(o=r[a],l=n[a],r.hasOwnProperty(a)&&(o!=null||l!=null))switch(a){case`value`:p=o;break;case`defaultValue`:c=o;break;case`multiple`:s=o;default:o!==l&&Z(e,t,a,o,r,l)}t=c,n=s,r=m,p==null?!!r!=!!n&&(t==null?Qt(e,!!n,n?[]:``,!1):Qt(e,!!n,t,!0)):Qt(e,!!n,p,!1);return;case`textarea`:for(c in m=p=null,n)if(a=n[c],n.hasOwnProperty(c)&&a!=null&&!r.hasOwnProperty(c))switch(c){case`value`:break;case`children`:break;default:Z(e,t,c,null,r,a)}for(s in r)if(a=r[s],o=n[s],r.hasOwnProperty(s)&&(a!=null||o!=null))switch(s){case`value`:p=a;break;case`defaultValue`:m=a;break;case`children`:break;case`dangerouslySetInnerHTML`:if(a!=null)throw Error(i(91));break;default:a!==o&&Z(e,t,s,a,r,o)}$t(e,p,m);return;case`option`:for(var h in n)if(p=n[h],n.hasOwnProperty(h)&&p!=null&&!r.hasOwnProperty(h))switch(h){case`selected`:e.selected=!1;break;default:Z(e,t,h,null,r,p)}for(l in r)if(p=r[l],m=n[l],r.hasOwnProperty(l)&&p!==m&&(p!=null||m!=null))switch(l){case`selected`:e.selected=p&&typeof p!=`function`&&typeof p!=`symbol`;break;default:Z(e,t,l,p,r,m)}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)p=n[g],n.hasOwnProperty(g)&&p!=null&&!r.hasOwnProperty(g)&&Z(e,t,g,null,r,p);for(u in r)if(p=r[u],m=n[u],r.hasOwnProperty(u)&&p!==m&&(p!=null||m!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:if(p!=null)throw Error(i(137,t));break;default:Z(e,t,u,p,r,m)}return;default:if(on(t)){for(var _ in n)p=n[_],n.hasOwnProperty(_)&&p!==void 0&&!r.hasOwnProperty(_)&&Fd(e,t,_,void 0,r,p);
vendor: 4,461 bytes, line 9
9for(d in r)p=r[d],m=n[d],!r.hasOwnProperty(d)||p===m||p===void 0&&m===void 0||Fd(e,t,d,p,r,m);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&p!=null&&!r.hasOwnProperty(v)&&Z(e,t,v,null,r,p);for(f in r)p=r[f],m=n[f],!r.hasOwnProperty(f)||p===m||p==null&&m==null||Z(e,t,f,p,r,m)}function Rd(e){switch(e){case`css`:case`script`:case`font`:case`img`:case`image`:case`input`:case`link`:return!0;default:return!1}}function zd(){if(typeof performance.getEntriesByType==`function`){for(var e=0,t=0,n=performance.getEntriesByType(`resource`),r=0;r<n.length;r++){var i=n[r],a=i.transferSize,o=i.initiatorType,s=i.duration;if(a&&s&&Rd(o)){for(o=0,s=i.responseEnd,r+=1;r<n.length;r++){var c=n[r],l=c.startTime;if(l>s)break;var u=c.transferSize,d=c.initiatorType;u&&Rd(d)&&(c=c.responseEnd,o+=u*(c<s?1:(s-l)/(c-l)))}if(--r,t+=8*(a+o)/(i.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e==`number`)?e:5}var Bd=null,Vd=null;function Hd(e){return e.nodeType===9?e:e.ownerDocument}function Ud(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 Wd(e,t){if(e===0)switch(t){case`svg`:return 1;case`math`:return 2;default:return 0}return e===1&&t===`foreignObject`?0:e}function Gd(e,t){return e===`textarea`||e===`noscript`||typeof t.children==`string`||typeof t.children==`number`||typeof t.children==`bigint`||typeof t.dangerouslySetInnerHTML==`object`&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Kd=null;function qd(){var e=window.event;return e&&e.type===`popstate`?e===Kd?!1:(Kd=e,!0):(Kd=null,!1)}var Jd=typeof setTimeout==`function`?setTimeout:void 0,Yd=typeof clearTimeout==`function`?clearTimeout:void 0,Xd=typeof Promise==`function`?Promise:void 0,Zd=typeof queueMicrotask==`function`?queueMicrotask:Xd===void 0?Jd:function(e){return Xd.resolve(null).then(e).catch(Qd)};function Qd(e){setTimeout(function(){throw e})}function $d(e){return e===`head`}function ef(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n===`/$`||n===`/&`){if(r===0){e.removeChild(i),Pp(t);return}r--}else if(n===`$`||n===`$?`||n===`$~`||n===`$!`||n===`&`)r++;else if(n===`html`)hf(e.ownerDocument.documentElement);else if(n===`head`){n=e.ownerDocument.head,hf(n);for(var a=n.firstChild;a;){var o=a.nextSibling,s=a.nodeName;a[Ct]||s===`SCRIPT`||s===`STYLE`||s===`LINK`&&a.rel.toLowerCase()===`stylesheet`||n.removeChild(a),a=o}}else n===`body`&&hf(e.ownerDocument.body);n=i}while(n);Pp(t)}function tf(e,t){var n=e;e=0;do{var r=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display=`none`):(n.style.display=n._stashedDisplay||``,n.getAttribute(`style`)===``&&n.removeAttribute(`style`)):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=``):n.nodeValue=n._stashedText||``),r&&r.nodeType===8)if(n=r.data,n===`/$`){if(e===0)break;e--}else n!==`$`&&n!==`$?`&&n!==`$~`&&n!==`$!`||e++;n=r}while(n)}function nf(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case`HTML`:case`HEAD`:case`BODY`:nf(n),wt(n);continue;case`SCRIPT`:case`STYLE`:continue;case`LINK`:if(n.rel.toLowerCase()===`stylesheet`)continue}e.removeChild(n)}}function rf(e,t,n,r){for(;e.nodeType===1;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!==`INPUT`||e.type!==`hidden`))break}else if(!r)if(t===`input`&&e.type===`hidden`){var a=i.name==null?null:``+i.name;if(i.type===`hidden`&&e.getAttribute(`name`)===a)return e}else return e;else if(!e[Ct])switch(t){case`meta`:if(!e.hasAttribute(`itemprop`))break;return e;case`link`:if(a=e.getAttribute(`rel`),a===`stylesheet`&&e.hasAttribute(`data-precedence`)||a!==i.rel||e.getAttribute(`href`)!==(i.href==null||i.href===``?null:i.href)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute(`title`)!==(i.title==null?null:i.title))break;return e;case`style`:if(e.hasAttribute(`data-precedence`))break;return e;case`script`:if(a=e.getAttribute(`src`),(a!==(i.src==null?null:i.src)||e.getAttribute(`type`)!==(i.type==null?null:i.type)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin))&&a&&e.hasAttribute(`async`)&&!e.hasAttribute(`itemprop`))break;return e;default:return e}if(e=uf(e.nextSibling),e===null)break}return null}function af(e,t,n){if(t===``)return null;for(;
vendor: 20,212 bytes, line 9
9e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!n||(e=uf(e.nextSibling),e===null))return null;return e}function of(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!t||(e=uf(e.nextSibling),e===null))return null;return e}function sf(e){return e.data===`$?`||e.data===`$~`}function cf(e){return e.data===`$!`||e.data===`$?`&&e.ownerDocument.readyState!==`loading`}function lf(e,t){var n=e.ownerDocument;if(e.data===`$~`)e._reactRetry=t;else if(e.data!==`$?`||n.readyState!==`loading`)t();else{var r=function(){t(),n.removeEventListener(`DOMContentLoaded`,r)};n.addEventListener(`DOMContentLoaded`,r),e._reactRetry=r}}function uf(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===`$`||t===`$!`||t===`$?`||t===`$~`||t===`&`||t===`F!`||t===`F`)break;if(t===`/$`||t===`/&`)return null}}return e}var df=null;function ff(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`/$`||n===`/&`){if(t===0)return uf(e.nextSibling);t--}else n!==`$`&&n!==`$!`&&n!==`$?`&&n!==`$~`&&n!==`&`||t++}e=e.nextSibling}return null}function pf(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`$`||n===`$!`||n===`$?`||n===`$~`||n===`&`){if(t===0)return e;t--}else n!==`/$`&&n!==`/&`||t++}e=e.previousSibling}return null}function mf(e,t,n){switch(t=Hd(n),e){case`html`:if(e=t.documentElement,!e)throw Error(i(452));return e;case`head`:if(e=t.head,!e)throw Error(i(453));return e;case`body`:if(e=t.body,!e)throw Error(i(454));return e;default:throw Error(i(451))}}function hf(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);wt(e)}var gf=new Map,_f=new Set;function vf(e){return typeof e.getRootNode==`function`?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var yf=D.d;D.d={f:bf,r:xf,D:wf,C:Tf,L:Ef,m:Df,X:kf,S:Of,M:Af};function bf(){var e=yf.f(),t=Cu();return e||t}function xf(e){var t=Et(e);t!==null&&t.tag===5&&t.type===`form`?As(t):yf.r(e)}var Sf=typeof document>`u`?null:document;function Cf(e,t,n){var r=Sf;if(r&&typeof t==`string`&&t){var i=Jt(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),_f.has(i)||(_f.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),Id(t,`link`,e),kt(t),r.head.appendChild(t)))}}function wf(e){yf.D(e),Cf(`dns-prefetch`,e,null)}function Tf(e,t){yf.C(e,t),Cf(`preconnect`,e,t)}function Ef(e,t,n){yf.L(e,t,n);var r=Sf;if(r&&e&&t){var i=`link[rel="preload"][as="`+Jt(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+Jt(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+Jt(n.imageSizes)+`"]`)):i+=`[href="`+Jt(e)+`"]`;var a=i;switch(t){case`style`:a=Mf(e);break;case`script`:a=If(e)}gf.has(a)||(e=f({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),gf.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(Nf(a))||t===`script`&&r.querySelector(Lf(a))||(t=r.createElement(`link`),Id(t,`link`,e),kt(t),r.head.appendChild(t)))}}function Df(e,t){yf.m(e,t);var n=Sf;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+Jt(r)+`"][href="`+Jt(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=If(e)}if(!gf.has(a)&&(e=f({rel:`modulepreload`,href:e},t),gf.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(Lf(a)))return}r=n.createElement(`link`),Id(r,`link`,e),kt(r),n.head.appendChild(r)}}}function Of(e,t,n){yf.S(e,t,n);var r=Sf;if(r&&e){var i=Ot(r).hoistableStyles,a=Mf(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(Nf(a)))s.loading=5;else{e=f({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=gf.get(a))&&Bf(e,n);var c=o=r.createElement(`link`);kt(c),Id(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=1}),c.addEventListener(`error`,function(){s.loading|=2}),s.loading|=4,zf(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function kf(e,t){yf.X(e,t);var n=Sf;if(n&&e){var r=Ot(n).hoistableScripts,i=If(e),a=r.get(i);a||(a=n.querySelector(Lf(i)),a||(e=f({src:e,async:!0},t),(t=gf.get(i))&&Vf(e,t),a=n.createElement(`script`),kt(a),Id(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Af(e,t){yf.M(e,t);var n=Sf;if(n&&e){var r=Ot(n).hoistableScripts,i=If(e),a=r.get(i);a||(a=n.querySelector(Lf(i)),a||(e=f({src:e,async:!0,type:`module`},t),(t=gf.get(i))&&Vf(e,t),a=n.createElement(`script`),kt(a),Id(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function jf(e,t,n,r){var a=(a=_e.current)?vf(a):null;if(!a)throw Error(i(446));switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(t=Mf(n.href),n=Ot(a).hoistableStyles,r=n.get(t),r||(r={type:`style`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=Mf(n.href);var o=Ot(a).hoistableStyles,s=o.get(e);if(s||(a=a.ownerDocument||a,s={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},o.set(e,s),(o=a.querySelector(Nf(e)))&&!o._p&&(s.instance=o,s.state.loading=5),gf.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},gf.set(e,n),o||Ff(a,e,n,s.state))),t&&r===null)throw Error(i(528,``));return s}if(t&&r!==null)throw Error(i(529,``));return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(t=If(n),n=Ot(a).hoistableScripts,r=n.get(t),r||(r={type:`script`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(i(444,e))}}function Mf(e){return`href="`+Jt(e)+`"`}function Nf(e){return`link[rel="stylesheet"][`+e+`]`}function Pf(e){return f({},e,{"data-precedence":e.precedence,precedence:null})}function Ff(e,t,n,r){e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)?r.loading=1:(t=e.createElement(`link`),r.preload=t,t.addEventListener(`load`,function(){return r.loading|=1}),t.addEventListener(`error`,function(){return r.loading|=2}),Id(t,`link`,n),kt(t),e.head.appendChild(t))}function If(e){return`[src="`+Jt(e)+`"]`}function Lf(e){return`script[async]`+e}function Rf(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+Jt(n.href)+`"]`);if(r)return t.instance=r,kt(r),r;var a=f({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),kt(r),Id(r,`style`,a),zf(r,n.precedence,e),t.instance=r;case`stylesheet`:a=Mf(n.href);var o=e.querySelector(Nf(a));if(o)return t.state.loading|=4,t.instance=o,kt(o),o;r=Pf(n),(a=gf.get(a))&&Bf(r,a),o=(e.ownerDocument||e).createElement(`link`),kt(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),Id(o,`link`,r),t.state.loading|=4,zf(o,n.precedence,e),t.instance=o;case`script`:return o=If(n.src),(a=e.querySelector(Lf(o)))?(t.instance=a,kt(a),a):(r=n,(a=gf.get(o))&&(r=f({},n),Vf(r,a)),e=e.ownerDocument||e,a=e.createElement(`script`),kt(a),Id(a,`link`,r),e.head.appendChild(a),t.instance=a);case`void`:return null;default:throw Error(i(443,t.type))}else t.type===`stylesheet`&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,zf(r,n.precedence,e));return t.instance}function zf(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o<r.length;o++){var s=r[o];if(s.dataset.precedence===t)a=s;else if(a!==i)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Bf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.title??=t.title}function Vf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.integrity??=t.integrity}var Hf=null;function Uf(e,t,n){if(Hf===null){var r=new Map,i=Hf=new Map;i.set(n,r)}else i=Hf,r=i.get(n),r||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var a=n[i];if(!(a[Ct]||a[gt]||e===`link`&&a.getAttribute(`rel`)===`stylesheet`)&&a.namespaceURI!==`http://www.w3.org/2000/svg`){var o=a.getAttribute(t)||``;o=e+o;var s=r.get(o);s?s.push(a):r.set(o,[a])}}return r}function Wf(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t===`title`?e.querySelector(`head > title`):null)}function Gf(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``)break;return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError)break;switch(t.rel){case`stylesheet`:return e=t.disabled,typeof t.precedence==`string`&&e==null;default:return!0}case`script`:if(t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`&&!t.onLoad&&!t.onError&&t.src&&typeof t.src==`string`)return!0}return!1}function Kf(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function qf(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&!(n.state.loading&4)){if(n.instance===null){var i=Mf(r.href),a=t.querySelector(Nf(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=Xf.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,kt(a);return}a=t.ownerDocument||t,r=Pf(r),(i=gf.get(i))&&Bf(r,i),a=a.createElement(`link`),kt(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),Id(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(n.state.loading&3)&&(e.count++,n=Xf.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var Jf=0;function Yf(e,t){return e.stylesheets&&e.count===0&&Qf(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&Qf(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4+t);0<e.imgBytes&&Jf===0&&(Jf=62500*zd());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Qf(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>Jf?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function Xf(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Qf(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Zf=null;function Qf(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Zf=new Map,t.forEach($f,e),Zf=null,Xf.call(e))}function $f(e,t){if(!(t.state.loading&4)){var n=Zf.get(e);if(n)var r=n.get(null);else{n=new Map,Zf.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a<i.length;a++){var o=i[a];(o.nodeName===`LINK`||o.getAttribute(`media`)!==`not all`)&&(n.set(o.dataset.precedence,o),r=o)}r&&n.set(null,r)}i=t.instance,o=i.getAttribute(`data-precedence`),a=n.get(o)||r,a===r&&n.set(null,i),n.set(o,i),this.count++,r=Xf.bind(this),i.addEventListener(`load`,r),i.addEventListener(`error`,r),a?a.parentNode.insertBefore(i,a.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=4}}var ep={$$typeof:C,Provider:null,Consumer:null,_currentValue:ue,_currentValue2:ue,_threadCount:0};function tp(e,t,n,r,i,a,o,s,c){this.tag=1,this.containerInfo=e,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=at(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=at(0),this.hiddenUpdates=at(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=a,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=c,this.incompleteTransitions=new Map}function np(e,t,n,r,i,a,o,s,c,l,u,d){return e=new tp(e,t,n,o,c,l,u,d,s),t=1,!0===a&&(t|=24),a=_i(3,null,null,t),e.current=a,a.stateNode=e,t=pa(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},Ga(a),e}function rp(e){return e?(e=hi,e):hi}function ip(e,t,n,r,i,a){i=rp(i),r.context===null?r.context=i:r.pendingContext=i,r=qa(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(r.callback=a),n=Ja(e,r,t),n!==null&&(vu(n,e,t),Ya(n,e,t))}function ap(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function op(e,t){ap(e,t),(e=e.alternate)&&ap(e,t)}function sp(e){if(e.tag===13||e.tag===31){var t=fi(e,67108864);t!==null&&vu(t,e,67108864),op(e,67108864)}}function cp(e){if(e.tag===13||e.tag===31){var t=gu();t=dt(t);var n=fi(e,t);n!==null&&vu(n,e,t),op(e,t)}}var lp=!0;function up(e,t,n,r){var i=E.T;E.T=null;var a=D.p;try{D.p=2,fp(e,t,n,r)}finally{D.p=a,E.T=i}}function dp(e,t,n,r){var i=E.T;E.T=null;var a=D.p;try{D.p=8,fp(e,t,n,r)}finally{D.p=a,E.T=i}}function fp(e,t,n,r){if(lp){var i=pp(r);if(i===null)Dd(e,t,r,mp,n),Tp(e,r);else if(Dp(i,e,t,n,r))r.stopPropagation();else if(Tp(e,r),t&4&&-1<wp.indexOf(e)){for(;i!==null;){var a=Et(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=et(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var c=1<<31-qe(o);s.entanglements[1]|=c,o&=~c}od(a),!(H&6)&&(iu=Fe()+500,sd(0,!1))}}break;case 31:case 13:s=fi(a,2),s!==null&&vu(s,a,2),Cu(),op(a,2)}if(a=pp(r),a===null&&Dd(e,t,r,mp,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else Dd(e,t,r,null,n)}}function pp(e){return e=fn(e),hp(e)}var mp=null;function hp(e){if(mp=null,e=Tt(e),e!==null){var t=o(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=s(t),e!==null)return e;e=null}else if(n===31){if(e=c(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return mp=e,null}function gp(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(Ie()){case Le:return 2;case Re:return 8;case ze:case Be:return 32;case Ve:return 268435456;default:return 32}default:return 32}}var _p=!1,vp=null,yp=null,bp=null,xp=new Map,Sp=new Map,Cp=[],wp=`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 Tp(e,t){switch(e){case`focusin`:case`focusout`:vp=null;break;case`dragenter`:case`dragleave`:yp=null;break;case`mouseover`:case`mouseout`:bp=null;break;case`pointerover`:case`pointerout`:xp.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:Sp.delete(t.pointerId)}}function Ep(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=Et(t),t!==null&&sp(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Dp(e,t,n,r,i){switch(t){case`focusin`:return vp=Ep(vp,e,t,n,r,i),!0;case`dragenter`:return yp=Ep(yp,e,t,n,r,i),!0;case`mouseover`:return bp=Ep(bp,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return xp.set(a,Ep(xp.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,Sp.set(a,Ep(Sp.get(a)||null,e,t,n,r,i)),!0}return!1}function Op(e){var t=Tt(e.target);if(t!==null){var n=o(t);if(n!==null){if(t=n.tag,t===13){if(t=s(n),t!==null){e.blockedOn=t,mt(e.priority,function(){cp(n)});return}}else if(t===31){if(t=c(n),t!==null){e.blockedOn=t,mt(e.priority,function(){cp(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function kp(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=pp(e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);dn=r,n.target.dispatchEvent(r),dn=null}else return t=Et(n),t!==null&&sp(t),e.blockedOn=n,!1;t.shift()}return!0}function Ap(e,t,n){kp(e)&&n.delete(t)}function Q(){_p=!1,vp!==null&&kp(vp)&&(vp=null),yp!==null&&kp(yp)&&(yp=null),bp!==null&&kp(bp)&&(bp=null),xp.forEach(Ap),Sp.forEach(Ap)}function jp(e,n){e.blockedOn===n&&(e.blockedOn=null,_p||(_p=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Q)))}var Mp=null;function Np(e){Mp!==e&&(Mp=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Mp===e&&(Mp=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if(typeof r!=`function`){if(hp(r||n)===null)continue;break}var a=Et(n);a!==null&&(e.splice(t,3),t-=3,Os(a,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function Pp(e){function t(t){return jp(t,e)}vp!==null&&jp(vp,e),yp!==null&&jp(yp,e),bp!==null&&jp(bp,e),xp.forEach(t),Sp.forEach(t);for(var n=0;n<Cp.length;n++){var r=Cp[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Cp.length&&(n=Cp[0],n.blockedOn===null);)Op(n),n.blockedOn===null&&Cp.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(r=0;r<n.length;r+=3){var i=n[r],a=n[r+1],o=i[_t]||null;if(typeof a==`function`)o||Np(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[_t]||null)s=o.formAction;else if(hp(i)!==null)continue}else s=o.action;typeof s==`function`?n[r+1]=s:(n.splice(r,3),r-=3),Np(n)}}}function Fp(){function e(e){e.canIntercept&&e.info===`react-transition`&&e.intercept({handler:function(){return new Promise(function(e){return i=e})},focusReset:`manual`,scroll:`manual`})}function t(){i!==null&&(i(),i=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&e.url!=null&&navigation.navigate(e.url,{state:e.getState(),info:`react-transition`,history:`replace`})}}if(typeof navigation==`object`){var r=!1,i=null;return navigation.addEventListener(`navigate`,e),navigation.addEventListener(`navigatesuccess`,t),navigation.addEventListener(`navigateerror`,t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener(`navigate`,e),navigation.removeEventListener(`navigatesuccess`,t),navigation.removeEventListener(`navigateerror`,t),i!==null&&(i(),i=null)}}}function Ip(e){this._internalRoot=e}Lp.prototype.render=Ip.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(i(409));var n=t.current;ip(n,gu(),e,t,null,null)},Lp.prototype.unmount=Ip.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;
9ip(e.current,2,null,e,null,null),Cu(),t[vt]=null}};function Lp(e){this._internalRoot=e}Lp.prototype.unstable_scheduleHydration=function(e){if(e){var t=pt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Cp.length&&t!==0&&t<Cp[n].priority;n++);Cp.splice(n,0,e),n===0&&Op(e)}};var $=n.version;if($!==`19.2.4`)throw Error(i(527,$,`19.2.4`));D.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(i(188)):(e=Object.keys(e).join(`,`),Error(i(268,e)));return e=u(t),e=e===null?null:d(e),e=e===null?null:e.stateNode,e};var Rp={bundleType:0,version:`19.2.4`,rendererPackageName:`react-dom`,currentDispatcherRef:E,reconcilerVersion:`19.2.4`};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var zp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!zp.isDisabled&&zp.supportsFiber)try{We=zp.inject(Rp),Ge=zp}catch{}}e.createRoot=function(e,t){if(!a(e))throw Error(i(299));var n=!1,r=``,o=Zs,s=Qs,c=$s;return t!=null&&(!0===t.unstable_strictMode&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(s=t.onCaughtError),t.onRecoverableError!==void 0&&(c=t.onRecoverableError)),t=np(e,1,!1,null,null,n,r,null,o,s,c,Fp),e[vt]=t.current,Td(e),new Ip(t)}})),y=s(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=v()})),b=u(p(),1),x=y(),S=`modulepreload`,C=function(e){return`/`+e},w={},ee=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}r=o(t.map(t=>{if(t=C(t,n),t in w)return;w[t]=!0;let r=t.endsWith(`.css`),i=r?`[rel="stylesheet"]`:``;if(n)for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}else if(document.querySelector(`link[href="${t}"]${i}`))return;let o=document.createElement(`link`);if(o.rel=r?`stylesheet`:S,r||(o.as=`script`),o.crossOrigin=``,o.href=t,a&&o.setAttribute(`nonce`,a),document.head.appendChild(o),r)return new Promise((e,n)=>{o.addEventListener(`load`,e),o.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},te=`popstate`;function ne(e){return typeof e==`object`&&!!e&&`pathname`in e&&`search`in e&&`hash`in e&&`state`in e&&`key`in e}function re(e={}){function t(e,t){let n=t.state?.masked,{pathname:r,search:i,hash:a}=n||e.location;return se(``,{pathname:r,search:i,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||`default`,n?{pathname:e.location.pathname,search:e.location.search,hash:e.location.hash}:void 0)}function n(e,t){return typeof t==`string`?t:ce(t)}return E(t,n,null,e)}function T(e,t){if(e===!1||e==null)throw Error(t)}function ie(e,t){if(!e){typeof console<`u`&&console.warn(t);try{throw Error(t)}catch{}}}function ae(){return Math.random().toString(36).substring(2,10)}function oe(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.unstable_mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function se(e,t,n=null,r,i){return{pathname:typeof e==`string`?e:e.pathname,search:``,hash:``,...typeof t==`string`?le(t):t,state:n,key:t&&t.key||r||ae(),unstable_mask:i}}function ce({pathname:e=`/`,search:t=``,hash:n=``}){return t&&t!==`?`&&(e+=t.charAt(0)===`?`?t:`?`+t),n&&n!==`#`&&(e+=n.charAt(0)===`#`?n:`#`+n),e}function le(e){let t={};if(e){let n=e.indexOf(`#`);n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf(`?`);r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function E(e,t,n,r={}){let{window:i=document.defaultView,v5Compat:a=!1}=r,o=i.history,s=`POP`,c=null,l=u();l??(l=0,o.replaceState({...o.state,idx:l},``));function u(){return(o.state||{idx:null}).idx}function d(){s=`POP`;let e=u(),t=e==null?null:e-l;l=e,c&&c({action:s,location:h.location,delta:t})}function f(e,t){s=`PUSH`;let r=ne(e)?e:se(h.location,e,t);n&&n(r,e),l=u()+1;let d=oe(r,l),f=h.createHref(r.unstable_mask||r);try{o.pushState(d,``,f)}catch(e){if(e instanceof DOMException&&e.name===`DataCloneError`)throw e;i.location.assign(f)}a&&c&&c({action:s,location:h.location,delta:1})}function p(e,t){s=`REPLACE`;let r=ne(e)?e:se(h.location,e,t);n&&n(r,e),l=u();let i=oe(r,l),d=h.createHref(r.unstable_mask||r);o.replaceState(i,``,d),a&&c&&c({action:s,location:h.location,delta:0})}function m(e){return D(e)}let h={get action(){return s},get location(){return e(i,o)},listen(e){if(c)throw Error(`A history only accepts one active listener`);return i.addEventListener(te,d),c=e,()=>{i.removeEventListener(te,d),c=null}},createHref(e){return t(i,e)},createURL:m,encodeLocation(e){let t=m(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:f,replace:p,go(e){return o.go(e)}};return h}function D(e,t=!1){let n=`http://localhost`;typeof window<`u`&&(n=window.location.origin===`null`?window.location.href:window.location.origin),T(n,`No window.location.(origin|href) available to create URL`);let r=typeof e==`string`?e:ce(e);return r=r.replace(/ $/,`%20`),!t&&r.startsWith(`//`)&&(r=n+r),new URL(r,n)}function ue(e,t,n=`/`){return de(e,t,n,!1)}function de(e,t,n,r){let i=Oe((typeof t==`string`?le(t):t).pathname||`/`,n);if(i==null)return null;let a=pe(e);O(a);let o=null;for(let e=0;o==null&&e<a.length;++e){let t=De(i);o=we(a[e],t,r)}return o}function fe(e,t){let{route:n,pathname:r,params:i}=e;return{id:n.id,pathname:r,params:i,data:t[n.id],loaderData:t[n.id],handle:n.handle}}function pe(e,t=[],n=[],r=``,i=!1){let a=(e,a,o=i,s)=>{let c={relativePath:s===void 0?e.path||``:s,caseSensitive:e.caseSensitive===!0,childrenIndex:a,route:e};if(c.relativePath.startsWith(`/`)){if(!c.relativePath.startsWith(r)&&o)return;T(c.relativePath.startsWith(r),`Absolute route path "${c.relativePath}" nested under path "${r}
9" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),c.relativePath=c.relativePath.slice(r.length)}let l=Ie([r,c.relativePath]),u=n.concat(c);e.children&&e.children.length>0&&(T(e.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${l}".`),pe(e.children,t,u,l,o)),!(e.path==null&&!e.index)&&t.push({path:l,score:Se(l,e.index),routesMeta:u})};return e.forEach((e,t)=>{if(e.path===``||!e.path?.includes(`?`))a(e,t);else for(let n of me(e.path))a(e,t,!0,n)}),t}function me(e){let t=e.split(`/`);if(t.length===0)return[];let[n,...r]=t,i=n.endsWith(`?`),a=n.replace(/\?$/,``);if(r.length===0)return i?[a,``]:[a];let o=me(r.join(`/`)),s=[];return s.push(...o.map(e=>e===``?a:[a,e].join(`/`))),i&&s.push(...o),s.map(t=>e.startsWith(`/`)&&t===``?`/`:t)}function O(e){e.sort((e,t)=>e.score===t.score?Ce(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)):t.score-e.score)}var he=/^:[\w-]+$/,ge=3,_e=2,ve=1,ye=10,be=-2,xe=e=>e===`*`;function Se(e,t){let n=e.split(`/`),r=n.length;return n.some(xe)&&(r+=be),t&&(r+=_e),n.filter(e=>!xe(e)).reduce((e,t)=>e+(he.test(t)?ge:t===``?ve:ye),r)}function Ce(e,t){return e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n])?e[e.length-1]-t[t.length-1]:0}function we(e,t,n=!1){let{routesMeta:r}=e,i={},a=`/`,o=[];for(let e=0;e<r.length;++e){let s=r[e],c=e===r.length-1,l=a===`/`?t:t.slice(a.length)||`/`,u=Te({path:s.relativePath,caseSensitive:s.caseSensitive,end:c},l),d=s.route;if(!u&&c&&n&&!r[r.length-1].route.index&&(u=Te({path:s.relativePath,caseSensitive:s.caseSensitive,end:!1},l)),!u)return null;
9Object.assign(i,u.params),o.push({params:i,pathname:Ie([a,u.pathname]),pathnameBase:Le(Ie([a,u.pathnameBase])),route:d}),u.pathnameBase!==`/`&&(a=Ie([a,u.pathnameBase]))}return o}function Te(e,t){typeof e==`string`&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=Ee(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let a=i[0],o=a.replace(/(.)\/+$/,`$1`),s=i.slice(1);return{params:r.reduce((e,{paramName:t,isOptional:n},r)=>{if(t===`*`){let e=s[r]||``;o=a.slice(0,a.length-e.length).replace(/(.)\/+$/,`$1`)}let i=s[r];return n&&!i?e[t]=void 0:e[t]=(i||``).replace(/%2F/g,`/`),e},{}),pathname:a,pathnameBase:o,pattern:e}}function Ee(e,t=!1,n=!0){ie(e===`*`||!e.endsWith(`*`)||e.endsWith(`/*`),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,`/*`)}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,`/*`)}".`);let r=[],i=`^`+e.replace(/\/*\*?$/,``).replace(/^\/*/,`/`).replace(/[\\.*+^${}|()[\]]/g,`\\$&`).replace(/\/:([\w-]+)(\?)?/g,(e,t,n,i,a)=>{if(r.push({paramName:t,isOptional:n!=null}),n){let t=a.charAt(i+e.length);return t&&t!==`/`?`/([^\\/]*)`:`(?:/([^\\/]*))?`}return`/([^\\/]+)`}).replace(/\/([\w-]+)\?(\/|$)/g,`(/$1)?$2`);return e.endsWith(`*`)?(r.push({paramName:`*`}),i+=e===`*`||e===`/*`?`(.*)$`:`(?:\\/(.+)|\\/*)$`):n?i+=`\\/*$`:e!==``&&e!==`/`&&(i+=`(?:(?=\\/|$))`),[new RegExp(i,t?void 0:`i`),r]}function De(e){try{return e.split(`/`).map(e=>decodeURIComponent(e).replace(/\//g,`%2F`)).join(`/`)}catch(t){return ie(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function Oe(e,t){if(t===`/`)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith(`/`)?t.length-1:t.length,r=e.charAt(n);return r&&r!==`/`?null:e.slice(n)||`/`}var ke=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function Ae(e,t=`/`){let{pathname:n,search:r=``,hash:i=``}=typeof e==`string`?le(e):e,a;return n?(n=n.replace(/\/\/+/g,`/`),a=n.startsWith(`/`)?je(n.substring(1),`/`):je(n,t)):a=t,{pathname:a,search:Re(r),hash:ze(i)}}function je(e,t){let n=t.replace(/\/+$/,``).split(`/`);return e.split(`/`).forEach(e=>{e===`..`?n.length>1&&n.pop():e!==`.`&&n.push(e)}),n.length>1?n.join(`/`):`/`}function Me(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}].  Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Ne(e){return e.filter((e,t)=>t===0||e.route.path&&e.route.path.length>0)}function Pe(e){let t=Ne(e);return t.map((e,n)=>n===t.length-1?e.pathname:e.pathnameBase)}function Fe(e,t,n,r=!1){let i;typeof e==`string`?i=le(e):(i={...e},T(!i.pathname||!i.pathname.includes(`?`),Me(`?`,`pathname`,`search`,i)),T(!i.pathname||!i.pathname.includes(`#`),Me(`#`,`pathname`,`hash`,i)),T(!i.search||!i.search.includes(`#`),Me(`#`,`search`,`hash`,i)));let a=e===``||i.pathname===``,o=a?`/`:i.pathname,s;if(o==null)s=n;else{let e=t.length-1;if(!r&&o.startsWith(`..`)){let t=o.split(`/`);for(;t[0]===`..`;)t.shift(),--e;i.pathname=t.join(`/`)}s=e>=0?t[e]:`/`}let c=Ae(i,s),l=o&&o!==`/`&&o.endsWith(`/`),u=(a||o===`.`)&&n.endsWith(`/`);return!c.pathname.endsWith(`/`)&&(l||u)&&(c.pathname+=`/`),c}var Ie=e=>e.join(`/`).replace(/\/\/+/g,`/`),Le=e=>e.replace(/\/+$/,``).replace(/^\/*/,`/`),Re=e=>!e||e===`?`?``:e.startsWith(`?`)?e:`?`+e,ze=e=>!e||e===`#`?``:e.startsWith(`#`)?e:`#`+e,Be=class{constructor(e,t,n,r=!1){this.status=e,this.statusText=t||``,this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function Ve(e){return e!=null&&typeof e.status==`number`&&typeof e.statusText==`string`&&typeof e.internal==`boolean`&&`data`in e}function He(e){return e.map(e=>e.route.path).filter(Boolean).join(`/`).replace(/\/\/*/g,`/`)||`/`}var Ue=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;function We(e,t){let n=e;if(typeof n!=`string`||!ke.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,i=!1;if(Ue)try{let e=new URL(window.location.href),r=n.startsWith(`//`)?new URL(e.protocol+n):new URL(n),a=Oe(r.pathname,t);r.origin===e.origin&&a!=null?n=a+r.search+r.hash:i=!0}catch{ie(!1,`<Link to="${n}">
9 contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:i,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join(`\0`);var Ge=[`POST`,`PUT`,`PATCH`,`DELETE`];new Set(Ge);var Ke=[`GET`,...Ge];new Set(Ke);var qe=b.createContext(null);qe.displayName=`DataRouter`;var Je=b.createContext(null);Je.displayName=`DataRouterState`;var Ye=b.createContext(!1);function Xe(){return b.useContext(Ye)}var Ze=b.createContext({isTransitioning:!1});Ze.displayName=`ViewTransition`;var Qe=b.createContext(new Map);Qe.displayName=`Fetchers`;var $e=b.createContext(null);$e.displayName=`Await`;var et=b.createContext(null);et.displayName=`Navigation`;var tt=b.createContext(null);tt.displayName=`Location`;var nt=b.createContext({outlet:null,matches:[],isDataRoute:!1});nt.displayName=`Route`;var rt=b.createContext(null);rt.displayName=`RouteError`;var it=`REACT_ROUTER_ERROR`,at=`REDIRECT`,ot=`ROUTE_ERROR_RESPONSE`;function st(e){if(e.startsWith(`${it}:${at}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t==`object`&&t&&typeof t.status==`number`&&typeof t.statusText==`string`&&typeof t.location==`string`&&typeof t.reloadDocument==`boolean`&&typeof t.replace==`boolean`)return t}catch{}}function ct(e){if(e.startsWith(`${it}:${ot}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t==`object`&&t&&typeof t.status==`number`&&typeof t.statusText==`string`)return new Be(t.status,t.statusText,t.data)}catch{}}function lt(e,{relative:t}={}){T(ut(),`useHref() may be used only in the context of a <Router> component.`);let{basename:n,navigator:r}=b.useContext(et),{hash:i,pathname:a,search:o}=yt(e,{relative:t}),s=a;return n!==`/`&&(s=a===`/`?n:Ie([n,a])),r.createHref({pathname:s,search:o,hash:i})}function ut(){return b.useContext(tt)!=null}function dt(){return T(ut(),`useLocation() may be used only in the context of a <Router> component.`),b.useContext(tt).location}var ft=`You should call navigate() in a React.useEffect(), not when your component is first rendered.`;function pt(e){b.useContext(et).static||b.useLayoutEffect(e)}function mt(){let{isDataRoute:e}=b.useContext(nt);return e?Rt():ht()}function ht(){T(ut(),`useNavigate() may be used only in the context of a <Router> component.`);let e=b.useContext(qe),{basename:t,navigator:n}=b.useContext(et),{matches:r}=b.useContext(nt),{pathname:i}=dt(),a=JSON.stringify(Pe(r)),o=b.useRef(!1);return pt(()=>{o.current=!0}),b.useCallback((r,s={})=>{if(ie(o.current,ft),!o.current)return;if(typeof r==`number`){n.go(r);return}let c=Fe(r,JSON.parse(a),i,s.relative===`path`);e==null&&t!==`/`&&(c.pathname=c.pathname===`/`?t:Ie([t,c.pathname])),(s.replace?n.replace:n.push)(c,s.state,s)},[t,n,a,i,e])}var gt=b.createContext(null);function _t(e){let t=b.useContext(nt).outlet;return b.useMemo(()=>t&&b.createElement(gt.Provider,{value:e},t),[t,e])}function vt(){let{matches:e}=b.useContext(nt),t=e[e.length-1];return t?t.params:{}}function yt(e,{relative:t}={}){let{matches:n}=b.useContext(nt),{pathname:r}=dt(),i=JSON.stringify(Pe(n));return b.useMemo(()=>Fe(e,JSON.parse(i),r,t===`path`),[e,i,r,t])}function bt(e,t){return xt(e,t)}function xt(e,t,n){T(ut(),`useRoutes() may be used only in the context of a <Router> component.`);let{navigator:r}=b.useContext(et),{matches:i}=b.useContext(nt),a=i[i.length-1],o=a?a.params:{},s=a?a.pathname:`/`,c=a?a.pathnameBase:`/`,l=a&&a.route;{let e=l&&l.path||``;Bt(s,!l||e.endsWith(`*`)||e.endsWith(`*?`),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${s}" (under <Route path="${e}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
10
11Please change the parent <Route path="${e}"> to <Route path="${e===`/`?`*`:`${e}/*`}">.`)}let u=dt(),d;if(t){let e=typeof t==`string`?le(t):t;T(c===`/`||e.pathname?.startsWith(c),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${c}" but pathname "${e.pathname}" was given in the \`location\` prop.`),d=e}else d=u;let f=d.pathname||`/`,p=f;if(c!==`/`){let e=c.replace(/^\//,``).split(`/`);p=`/`+f.replace(/^\//,``).split(`/`).slice(e.length).join(`/`)}let m=ue(e,{pathname:p});ie(l||m!=null,`No routes matched location "${d.pathname}${d.search}${d.hash}" `),ie(m==null||m[m.length-1].route.element!==void 0||m[m.length-1].route.Component!==void 0||m[m.length-1].route.lazy!==void 0,`Matched leaf route at location "${d.pathname}${d.search}${d.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let h=Ot(m&&m.map(e=>Object.assign({},e,{params:Object.assign({},o,e.params),pathname:Ie([c,r.encodeLocation?r.encodeLocation(e.pathname.replace(/%/g,`%25`).replace(/\?/g,`%3F`).replace(/#/g,`%23`)).pathname:e.pathname]),pathnameBase:e.pathnameBase===`/`?c:Ie([c,r.encodeLocation?r.encodeLocation(e.pathnameBase.replace(/%/g,`%25`).replace(/\?/g,`%3F`).replace(/#/g,`%23`)).pathname:e.pathnameBase])})),i,n);return t&&h?b.createElement(tt.Provider,{value:{location:{pathname:`/`,search:``,hash:``,state:null,key:`default`,unstable_mask:void 0,...d},navigationType:`POP`}},h):h}function St(){let e=Lt(),t=Ve(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r=`rgba(200,200,200, 0.5)`,i={padding:`0.5rem`,backgroundColor:r},a={padding:`2px 4px`,backgroundColor:r},o=null;return console.error(`Error handled by React Router default ErrorBoundary:`,e),o=b.createElement(b.Fragment,null,b.createElement(`p`,null,`💿 Hey developer 👋`),b.createElement(`p`,null,`You can provide a way better UX than this when your app throws errors by providing your own `,b.createElement(`code`,{style:a},`ErrorBoundary`),` or`,` `,b.createElement(`code`,{style:a},`errorElement`),` prop on your route.`)),b.createElement(b.Fragment,null,b.createElement(`h2`,null,`Unexpected Application 
11Error!`),b.createElement(`h3`,{style:{fontStyle:`italic`}},t),n?b.createElement(`pre`,{style:i},n):null,o)}var Ct=b.createElement(St,null),wt=class extends b.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!==`idle`&&e.revalidation===`idle`?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error===void 0?t.error:e.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error(`React Router caught the following error during render`,e)}render(){let e=this.state.error;if(this.context&&typeof e==`object`&&e&&`digest`in e&&typeof e.digest==`string`){let t=ct(e.digest);t&&(e=t)}let t=e===void 0?this.props.children:b.createElement(nt.Provider,{value:this.props.routeContext},b.createElement(rt.Provider,{value:e,children:this.props.component}));return this.context?b.createElement(Et,{error:e},t):t}};wt.contextType=Ye;var Tt=new WeakMap;function Et({children:e,error:t}){let{basename:n}=b.useContext(et);if(typeof t==`object`&&t&&`digest`in t&&typeof t.digest==`string`){let e=st(t.digest);if(e){let r=Tt.get(t);if(r)throw r;let i=We(e.location,n);if(Ue&&!Tt.get(t))if(i.isExternal||e.reloadDocument)window.location.href=i.absoluteURL||i.to;else{let n=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(i.to,{replace:e.replace}));throw Tt.set(t,n),n}return b.createElement(`meta`,{httpEquiv:`refresh`,content:`0;url=${i.absoluteURL||i.to}`})}}return e}function Dt({routeContext:e,match:t,children:n}){let r=b.useContext(qe);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),b.createElement(nt.Provider,{value:e},n)}function Ot(e,t=[],n){let r=n?.state;if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let i=e,a=r?.errors;if(a!=null){let e=i.findIndex(e=>e.route.id&&a?.[e.route.id]!==void 0);T(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(`,`)}`),i=i.slice(0,Math.min(i.length,e+1))}let o=!1,s=-1;if(n&&r){o=r.renderFallback;for(let e=0;e<i.length;e++){let t=i[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(s=e),t.route.id){let{loaderData:e,errors:a}=r,c=t.route.loader&&!e.hasOwnProperty(t.route.id)&&(!a||a[t.route.id]===void 0);if(t.route.lazy||c){n.isStatic&&(o=!0),i=s>=0?i.slice(0,s+1):[i[0]];break}}}}let c=n?.onError,l=r&&c?(e,t)=>{c(e,{location:r.location,params:r.matches?.[0]?.params??{},unstable_pattern:He(r.matches),errorInfo:t})}:void 0;return i.reduceRight((e,n,c)=>{let u,d=!1,f=null,p=null;r&&(u=a&&n.route.id?a[n.route.id]:void 0,f=n.route.errorElement||Ct,o&&(s<0&&c===0?(Bt(`route-fallback`,!1,"No `HydrateFallback` element provided to render during initial hydration"),d=!0,p=null):s===c&&(d=!0,p=n.route.hydrateFallbackElement||null)));let m=t.concat(i.slice(0,c+1)),h=()=>{let t;return t=u?f:d?p:n.route.Component?b.createElement(n.route.Component,null):n.route.element?n.route.element:e,b.createElement(Dt,{match:n,routeContext:{outlet:e,matches:m,isDataRoute:r!=null},children:t})};return r&&(n.route.ErrorBoundary||n.route.errorElement||c===0)?b.createElement(wt,{location:r.location,revalidation:r.revalidation,component:f,error:u,children:h(),routeContext:{outlet:null,matches:m,isDataRoute:!0},onError:l}):h()},null)}function kt(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function At(e){let t=b.useContext(qe);return T(t,kt(e)),t}function jt(e){let t=b.useContext(Je);return T(t,kt(e)),t}function Mt(e){let t=b.useContext(nt);return T(t,kt(e)),t}function Nt(e){let t=Mt(e),n=t.matches[t.matches.length-1];return T(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function Pt(){return Nt(`useRouteId`)}function Ft(){return jt(`useNavigation`).navigation}function It(){let{matches:e,loaderData:t}=jt(`useMatches`);return b.useMemo(()=>e.map(e=>fe(e,t)),[e,t])}function Lt(){let e=b.useContext(rt),t=jt(`useRouteError`),n=Nt(`useRouteError`);return e===void 0?t.errors?.[n]:e}function Rt(){let{router:e}=At(`useNavigate`),t=Nt(`useNavigate`),n=b.useRef(!1);return pt(()=>{n.current=!0}),b.useCallback(async(r,i={})=>{ie(n.current,ft),n.current&&(typeof r==`number`?await e.navigate(r):await e.navigate(r,{fromRouteId:t,...i}))},[e,t])}var zt={};function Bt(e,t,n){!t&&!zt[e]&&(zt[e]=!0,ie(!1,n))}b.useOptimistic,b.memo(Vt);function Vt({routes:e,future:t,state:n,isStatic:r,onError:i}){return xt(e,void 0,{state:n,isStatic:r,onError:i,future:t})}function Ht(e){return _t(e.context)}function Ut(e){T(!1,`A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.`)}function Wt({basename:e=`/`,children:t=null,location:n,navigationType:r=`POP`,navigator:i,static:a=!1,unstable_useTransitions:o}){T(!ut(),`You cannot render a <Router> inside another <Router>. You should never have more than one in your app.`);let s=e.replace(/^\/*/,`/`),c=b.useMemo(()=>({basename:s,navigator:i,static:a,unstable_useTransitions:o,future:{}}),[s,i,a,o]);typeof n==`string`&&(n=le(n));let{pathname:l=`/`,search:u=``,hash:d=``,state:f=null,key:p=`default`,unstable_mask:m}=n,h=b.useMemo(()=>{let e=Oe(l,s);return e==null?null:{location:{pathname:e,search:u,hash:d,state:f,key:p,unstable_mask:m},navigationType:r}},[s,l,u,d,f,p,r,m]);
11return ie(h!=null,`<Router basename="${s}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`),h==null?null:b.createElement(et.Provider,{value:c},b.createElement(tt.Provider,{children:t,value:h}))}function Gt({children:e,location:t}){return bt(Kt(e),t)}b.Component;function Kt(e,t=[]){let n=[];return b.Children.forEach(e,(e,r)=>{if(!b.isValidElement(e))return;let i=[...t,r];if(e.type===b.Fragment){n.push.apply(n,Kt(e.props.children,i));return}T(e.type===Ut,`[${typeof e.type==`string`?e.type:e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),T(!e.props.index||!e.props.children,`An index route cannot have child routes.`);let a={id:e.props.id||i.join(`-`),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,middleware:e.props.middleware,loader:e.props.loader,action:e.props.action,hydrateFallbackElement:e.props.hydrateFallbackElement,HydrateFallback:e.props.HydrateFallback,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:e.props.hasErrorBoundary===!0||e.props.ErrorBoundary!=null||e.props.errorElement!=null,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(a.children=Kt(e.props.children,i)),n.push(a)}),n}var qt=`get`,Jt=`application/x-www-form-urlencoded`;function Yt(e){return typeof HTMLElement<`u`&&e instanceof HTMLElement}function Xt(e){return Yt(e)&&e.tagName.toLowerCase()===`button`}function Zt(e){return Yt(e)&&e.tagName.toLowerCase()===`form`}function Qt(e){return Yt(e)&&e.tagName.toLowerCase()===`input`}function $t(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function en(e,t){return e.button===0&&(!t||t===`_self`)&&!$t(e)}function tn(e=``){return new URLSearchParams(typeof e==`string`||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(e=>[n,e]):[[n,r]])},[]))}function nn(e,t){let n=tn(e);return t&&t.forEach((e,r)=>{n.has(r)||t.getAll(r).forEach(e=>{n.append(r,e)})}),n}var rn=null;function an(){if(rn===null)try{new FormData(document.createElement(`form`),0),rn=!1}catch{rn=!0}return rn}var on=new Set([`application/x-www-form-urlencoded`,`multipart/form-data`,`text/plain`]);function sn(e){return e!=null&&!on.has(e)?(ie(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Jt}"`),null):e}function cn(e,t){let n,r,i,a,o;if(Zt(e)){let o=e.getAttribute(`action`);r=o?Oe(o,t):null,n=e.getAttribute(`method`)||qt,i=sn(e.getAttribute(`enctype`))||Jt,a=new FormData(e)}else if(Xt(e)||Qt(e)&&(e.type===`submit`||e.type===`image`)){let o=e.form;if(o==null)throw Error(`Cannot submit a <button> or <input type="submit"> without a <form>`);let s=e.getAttribute(`formaction`)||o.getAttribute(`action`);if(r=s?Oe(s,t):null,n=e.getAttribute(`formmethod`)||o.getAttribute(`method`)||qt,i=sn(e.getAttribute(`formenctype`))||sn(o.getAttribute(`enctype`))||Jt,a=new FormData(o,e),!an()){let{name:t,type:n,value:r}=e;if(n===`image`){let e=t?`${t}.`:``;a.append(`${e}x`,`0`),a.append(`${e}y`,`0`)}else t&&a.append(t,r)}}else if(Yt(e))throw Error(`Cannot submit element that is not <form>, <button>, or <input type="submit|image">`);else n=qt,r=null,i=Jt,o=e;return a&&i===`text/plain`&&(o=a,a=void 0),{action:r,method:n.toLowerCase(),encType:i,formData:a,body:o}}Object.getOwnPropertyNames(Object.prototype).sort().join(`\0`);var ln={"&":`\\u0026`,">":`\\u003e`,"<":`\\u003c`,"\u2028":`\\u2028`,"\u2029":`\\u2029`},un=/[&><\u2028\u2029]/g;function dn(e){return e.replace(un,e=>ln[e])}function fn(e,t){if(e===!1||e==null)throw Error(t)}function pn(e,t,n,r){let i=typeof e==`string`?new URL(e,typeof window>`u`?`server://singlefetch/`:window.location.origin):e;return n?i.pathname.endsWith(`/`)?i.pathname=`${i.pathname}_.${r}`:i.pathname=`${i.pathname}.${r}`:i.pathname===`/`?i.pathname=`_root.${r}`:t&&Oe(i.pathname,t)===`/`?i.pathname=`${t.replace(/\/$/,``)}/_root.${r}`:i.pathname=`${i.pathname.replace(/\/$/,``)}.${r}`,i}async function mn(e,t){if(e.id in t)return t[e.id];try{let n=await ee(()=>import(e.module),[]);return t[e.id]=n,n}catch(t){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(t),window.__reactRouterContext&&window.__reactRouterContext.
11isSpaMode,window.location.reload(),new Promise(()=>{})}}function hn(e){return e!=null&&typeof e.page==`string`}function gn(e){return e==null?!1:e.href==null?e.rel===`preload`&&typeof e.imageSrcSet==`string`&&typeof e.imageSizes==`string`:typeof e.rel==`string`&&typeof e.href==`string`}async function _n(e,t,n){return Sn((await Promise.all(e.map(async e=>{let r=t.routes[e.route.id];if(r){let e=await mn(r,n);return e.links?e.links():[]}return[]}))).flat(1).filter(gn).filter(e=>e.rel===`stylesheet`||e.rel===`preload`).map(e=>e.rel===`stylesheet`?{...e,rel:`prefetch`,as:`style`}:{...e,rel:`prefetch`}))}function vn(e,t,n,r,i,a){let o=(e,t)=>n[t]?e.route.id!==n[t].route.id:!0,s=(e,t)=>n[t].pathname!==e.pathname||n[t].route.path?.endsWith(`*`)&&n[t].params[`*`]!==e.params[`*`];return a===`assets`?t.filter((e,t)=>o(e,t)||s(e,t)):a===`data`?t.filter((t,a)=>{let c=r.routes[t.route.id];if(!c||!c.hasLoader)return!1;if(o(t,a)||s(t,a))return!0;if(t.route.shouldRevalidate){let r=t.route.shouldRevalidate({currentUrl:new URL(i.pathname+i.search+i.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if(typeof r==`boolean`)return r}return!0}):[]}function yn(e,t,{includeHydrateFallback:n}={}){return bn(e.map(e=>{let r=t.routes[e.route.id];if(!r)return[];let i=[r.module];return r.clientActionModule&&(i=i.concat(r.clientActionModule)),r.clientLoaderModule&&(i=i.concat(r.clientLoaderModule)),n&&r.hydrateFallbackModule&&(i=i.concat(r.hydrateFallbackModule)),r.imports&&(i=i.concat(r.imports)),i}).flat(1))}function bn(e){return[...new Set(e)]}function xn(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}function Sn(e,t){let n=new Set,r=new Set(t);return e.reduce((e,i)=>{if(t&&!hn(i)&&i.as===`script`&&i.href&&r.has(i.href))return e;let a=JSON.stringify(xn(i));return n.has(a)||(n.add(a),e.push({key:a,link:i})),e},[])}function Cn(){let e=b.useContext(qe);return fn(e,`You must render this element inside a <DataRouterContext.Provider> element`),e}function wn(){let e=b.useContext(Je);return fn(e,`You must render this element inside a <DataRouterStateContext.Provider> element`),e}var Tn=b.createContext(void 0);Tn.displayName=`FrameworkContext`;function En(){let e=b.useContext(Tn);return fn(e,`You must render this element inside a <HydratedRouter> element`),e}function Dn(e,t){let n=b.useContext(Tn),[r,i]=b.useState(!1),[a,o]=b.useState(!1),{onFocus:s,onBlur:c,onMouseEnter:l,onMouseLeave:u,onTouchStart:d}=t,f=b.useRef(null);b.useEffect(()=>{if(e===`render`&&o(!0),e===`viewport`){let e=new IntersectionObserver(e=>{e.forEach(e=>{o(e.isIntersecting)})},{threshold:.5});return f.current&&e.observe(f.current),()=>{e.disconnect()}}},[e]),b.useEffect(()=>{if(r){let e=setTimeout(()=>{o(!0)},100);return()=>{clearTimeout(e)}}},[r]);let p=()=>{i(!0)},m=()=>{i(!1),o(!1)};return n?e===`intent`?[a,f,{onFocus:On(s,p),onBlur:On(c,m),onMouseEnter:On(l,p),onMouseLeave:On(u,m),onTouchStart:On(d,p)}]:[a,f,{}]:[!1,f,{}]}function On(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function kn({page:e,...t}){let n=Xe(),{router:r}=Cn(),i=b.useMemo(()=>ue(r.routes,e,r.basename),[r.routes,e,r.basename]);return i?n?b.createElement(jn,{page:e,matches:i,...t}):b.createElement(Mn,{page:e,matches:i,...t}):null}function An(e){let{manifest:t,routeModules:n}=En(),[r,i]=b.useState([]);return b.useEffect(()=>{let r=!1;return _n(e,t,n).then(e=>{r||i(e)}),()=>{r=!0}},[e,t,n]),r}function jn({page:e,matches:t,...n}){let r=dt(),{future:i}=En(),{basename:a}=Cn(),o=b.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let n=pn(e,a,i.unstable_trailingSlashAwareDataRequests,`rsc`),o=!1,s=[];for(let e of t)typeof e.route.shouldRevalidate==`function`?o=!0:s.push(e.route.id);return o&&s.length>0&&n.searchParams.set(`_routes`,s.join(`,`)),[n.pathname+n.search]},[a,i.unstable_trailingSlashAwareDataRequests,e,r,t]);return b.createElement(b.Fragment,null,o.map(e=>b.createElement(`link`,{key:e,rel:`prefetch`,as:`fetch`,href:e,...n})))}function Mn({page:e,matches:t,...n}){let r=dt(),{future:i,manifest:a,routeModules:o}=En(),{basename:s}=Cn(),{loaderData:c,matches:l}=wn(),u=b.useMemo(()=>vn(e,t,l,a,r,`data`),[e,t,l,a,r]),d=b.useMemo(()=>vn(e,t,l,a,r,`assets`),[e,t,l,a,r]),f=b.useMemo(()=>
11{if(e===r.pathname+r.search+r.hash)return[];let n=new Set,l=!1;if(t.forEach(e=>{let t=a.routes[e.route.id];!t||!t.hasLoader||(!u.some(t=>t.route.id===e.route.id)&&e.route.id in c&&o[e.route.id]?.shouldRevalidate||t.hasClientLoader?l=!0:n.add(e.route.id))}),n.size===0)return[];let d=pn(e,s,i.unstable_trailingSlashAwareDataRequests,`data`);return l&&n.size>0&&d.searchParams.set(`_routes`,t.filter(e=>n.has(e.route.id)).map(e=>e.route.id).join(`,`)),[d.pathname+d.search]},[s,i.unstable_trailingSlashAwareDataRequests,c,r,a,u,t,e,o]),p=b.useMemo(()=>yn(d,a),[d,a]),m=An(d);return b.createElement(b.Fragment,null,f.map(e=>b.createElement(`link`,{key:e,rel:`prefetch`,as:`fetch`,href:e,...n})),p.map(e=>b.createElement(`link`,{key:e,rel:`modulepreload`,href:e,...n})),m.map(({key:e,link:t})=>b.createElement(`link`,{key:e,nonce:n.nonce,...t,crossOrigin:t.crossOrigin??n.crossOrigin})))}function Nn(...e){return t=>{e.forEach(e=>{typeof e==`function`?e(t):e!=null&&(e.current=t)})}}b.Component;var Pn=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;try{Pn&&(window.__reactRouterVersion=`7.14.0`)}catch{}function Fn({basename:e,children:t,unstable_useTransitions:n,window:r}){let i=b.useRef();i.current??=re({window:r,v5Compat:!0});let a=i.current,[o,s]=b.useState({action:a.action,location:a.location}),c=b.useCallback(e=>{n===!1?s(e):b.startTransition(()=>s(e))},[n]);return b.useLayoutEffect(()=>a.listen(c),[a,c]),b.createElement(Wt,{basename:e,children:t,location:o.location,navigationType:o.action,navigator:a,unstable_useTransitions:n})}function In({basename:e,children:t,history:n,unstable_useTransitions:r}){let[i,a]=b.useState({action:n.action,location:n.location}),o=b.useCallback(e=>{r===!1?a(e):b.startTransition(()=>a(e))},[r]);return b.useLayoutEffect(()=>n.listen(o),[n,o]),b.createElement(Wt,{basename:e,children:t,location:i.location,navigationType:i.action,navigator:n,unstable_useTransitions:r})}In.displayName=`unstable_HistoryRouter`;var Ln=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Rn=b.forwardRef(function({onClick:e,discover:t=`render`,prefetch:n=`none`,relative:r,reloadDocument:i,replace:a,unstable_mask:o,state:s,target:c,to:l,preventScrollReset:u,viewTransition:d,unstable_defaultShouldRevalidate:f,...p},m){let{basename:h,navigator:g,unstable_useTransitions:_}=b.useContext(et),v=typeof l==`string`&&Ln.test(l),y=We(l,h);l=y.to;let x=lt(l,{relative:r}),S=dt(),C=null;if(o){let e=Fe(o,[],S.unstable_mask?S.unstable_mask.pathname:`/`,!0);h!==`/`&&(e.pathname=e.pathname===`/`?h:Ie([h,e.pathname])),C=g.createHref(e)}let[w,ee,te]=Dn(n,p),ne=Gn(l,{replace:a,unstable_mask:o,state:s,target:c,preventScrollReset:u,relative:r,viewTransition:d,unstable_defaultShouldRevalidate:f,unstable_useTransitions:_});function re(t){e&&e(t),t.defaultPrevented||ne(t)}let T=!(y.isExternal||i),ie=b.createElement(`a`,{...p,...te,href:(T?C:void 0)||y.absoluteURL||x,onClick:T?re:e,ref:Nn(m,ee),target:c,"data-discover":!v&&t===`render`?`true`:void 0});return w&&!v?b.createElement(b.Fragment,null,ie,b.createElement(kn,{page:x})):ie});Rn.displayName=`Link`;var zn=b.forwardRef(function({"aria-current":e=`page`,caseSensitive:t=!1,className:n=``,end:r=!1,style:i,to:a,viewTransition:o,children:s,...c},l){let u=yt(a,{relative:c.relative}),d=dt(),f=b.useContext(Je),{navigator:p,basename:m}=b.useContext(et),h=f!=null&&nr(u)&&o===!0,g=p.encodeLocation?p.encodeLocation(u).pathname:u.pathname,_=d.pathname,v=f&&f.navigation&&f.navigation.location?f.navigation.location.pathname:null;t||(_=_.toLowerCase(),v=v?v.toLowerCase():null,g=g.toLowerCase()),v&&m&&(v=Oe(v,m)||v);let y=g!==`/`&&g.endsWith(`/`)?g.length-1:g.length,x=_===g||!r&&_.startsWith(g)&&_.charAt(y)===`/`,S=v!=null&&(v===g||!r&&v.startsWith(g)&&v.charAt(g.length)===`/`),C={isActive:x,isPending:S,isTransitioning:h},w=x?e:void 0,ee;ee=typeof n==`function`?n(C):[n,x?`active`:null,S?`pending`:null,h?`transitioning`:null].filter(Boolean).join(` `);let te=typeof i==`function`?i(C):i;return b.createElement(Rn,{...c,"aria-current":w,className:ee,ref:l,style:te,to:a,viewTransition:o},typeof s==`function`?s(C):s)});zn.displayName=`NavLink`;var Bn=b.forwardRef(({discover:e=`render`,fetcherKey:t,navigate:n,reloadDocument:r,replace:i,state:a,method:o=qt,action:s,onSubmit:c,relative:l,preventScrollReset:u,viewTransition:d,unstable_defaultShouldRevalidate:f,...p},m)=>{let{unstable_useTransitions:h}=b.useContext(et),g=Yn(),_=Xn(s,{relative:l}),v=o.toLowerCase()===`get`?`get`:`post`,y=typeof s==`string`&&Ln.test(s);return b.createElement(`form`,{ref:m,method:v,action:_,onSubmit:r?c:e=>{if(c&&c(e),e.defaultPrevented)return;e.preventDefault();let r=e.nativeEvent.submitter,s=r?.getAttribute(`formmethod`)||o,p=()=>g(r||e.currentTarget,{fetcherKey:t,method:s,navigate:n,replace:i,state:a,relative:l,preventScrollReset:u,viewTransition:d,unstable_defaultShouldRevalidate:f});h&&n!==!1?b.startTransition(()=>p()):p()},...p,"data-discover":!y&&e===`render`?`true`:void 0})});Bn.displayName=`Form`;function Vn({getKey:e,storageKey:t,...n}){let r=b.useContext(Tn),{basename:i}=b.useContext(et),a=dt(),o=It();er({getKey:e,storageKey:t});let s=b.useMemo(()=>
11{if(!r||!e)return null;let t=$n(a,o,i,e);return t===a.key?null:t},[]);if(!r||r.isSpaMode)return null;let c=((e,t)=>{if(!window.history.state||!window.history.state.key){let e=Math.random().toString(32).slice(2);window.history.replaceState({key:e},``)}try{let n=JSON.parse(sessionStorage.getItem(e)||`{}`)[t||window.history.state.key];typeof n==`number`&&window.scrollTo(0,n)}catch(t){console.error(t),sessionStorage.removeItem(e)}}).toString();return b.createElement(`script`,{...n,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${c})(${dn(JSON.stringify(t||Zn))}, ${dn(JSON.stringify(s))})`}})}Vn.displayName=`ScrollRestoration`;function Hn(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Un(e){let t=b.useContext(qe);return T(t,Hn(e)),t}function Wn(e){let t=b.useContext(Je);return T(t,Hn(e)),t}function Gn(e,{target:t,replace:n,unstable_mask:r,state:i,preventScrollReset:a,relative:o,viewTransition:s,unstable_defaultShouldRevalidate:c,unstable_useTransitions:l}={}){let u=mt(),d=dt(),f=yt(e,{relative:o});return b.useCallback(p=>{if(en(p,t)){p.preventDefault();let t=n===void 0?ce(d)===ce(f):n,m=()=>u(e,{replace:t,unstable_mask:r,state:i,preventScrollReset:a,relative:o,viewTransition:s,unstable_defaultShouldRevalidate:c});l?b.startTransition(()=>m()):m()}},[d,u,f,n,r,i,t,e,a,o,s,c,l])}function Kn(e){ie(typeof URLSearchParams<`u`,"You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=b.useRef(tn(e)),n=b.useRef(!1),r=dt(),i=b.useMemo(()=>nn(r.search,n.current?null:t.current),[r.search]),a=mt();return[i,b.useCallback((e,t)=>{let r=tn(typeof e==`function`?e(new URLSearchParams(i)):e);n.current=!0,a(`?`+r,t)},[a,i])]}var qn=0,Jn=()=>`__${String(++qn)}__`;function Yn(){let{router:e}=Un(`useSubmit`),{basename:t}=b.useContext(et),n=Pt(),r=e.fetch,i=e.navigate;return b.useCallback(async(e,a={})=>{let{action:o,method:s,encType:c,formData:l,body:u}=cn(e,t);a.navigate===!1?await r(a.fetcherKey||Jn(),n,a.action||o,{unstable_defaultShouldRevalidate:a.unstable_defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:l,body:u,formMethod:a.method||s,formEncType:a.encType||c,flushSync:a.flushSync}):await i(a.action||o,{unstable_defaultShouldRevalidate:a.unstable_defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:l,body:u,formMethod:a.method||s,formEncType:a.encType||c,replace:a.replace,state:a.state,fromRouteId:n,flushSync:a.flushSync,viewTransition:a.viewTransition})},[r,i,t,n])}function Xn(e,{relative:t}={}){let{basename:n}=b.useContext(et),r=b.useContext(nt);T(r,`useFormAction must be used inside a RouteContext`);let[i]=r.matches.slice(-1),a={...yt(e||`.`,{relative:t})},o=dt();if(e==null){a.search=o.search;let e=new URLSearchParams(a.search),t=e.getAll(`index`);if(t.some(e=>e===``)){e.delete(`index`),t.filter(e=>e).forEach(t=>e.append(`index`,t));let n=e.toString();a.search=n?`?${n}`:``}}return(!e||e===`.`)&&i.route.index&&(a.search=a.search?a.search.replace(/^\?/,`?index&`):`?index`),n!==`/`&&(a.pathname=a.pathname===`/`?n:Ie([n,a.pathname])),ce(a)}var Zn=`react-router-scroll-positions`,Qn={};function $n(e,t,n,r){let i=null;return r&&(i=r(n===`/`?e:{...e,pathname:Oe(e.pathname,n)||e.pathname},t)),i??=e.key,i}function er({getKey:e,storageKey:t}={}){let{router:n}=Un(`useScrollRestoration`),{restoreScrollPosition:r,preventScrollReset:i}=Wn(`useScrollRestoration`),{basename:a}=b.useContext(et),o=dt(),s=It(),c=Ft();b.useEffect(()=>(window.history.scrollRestoration=`manual`,()=>{window.history.scrollRestoration=`auto`}),[]),tr(b.useCallback(()=>{if(c.state===`idle`){let t=$n(o,s,a,e);Qn[t]=window.scrollY}try{sessionStorage.setItem(t||Zn,JSON.stringify(Qn))}catch(e){ie(!1,`Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly (${e}).`)}window.history.scrollRestoration=`auto`},[c.state,e,a,o,s,t])),typeof document<`u`&&(b.useLayoutEffect(()=>{try{let e=sessionStorage.getItem(t||Zn);e&&(Qn=JSON.parse(e))}catch{}},[t]),b.useLayoutEffect(()=>{let t=n?.enableScrollRestoration(Qn,()=>window.scrollY,e?(t,n)=>$n(t,n,a,e):void 0);return()=>t&&t()},[n,a,e]),b.useLayoutEffect(()=>{if(r!==!1){if(typeof r==`number`){window.scrollTo(0,r);return}try{if(o.hash){let e=document.getElementById(decodeURIComponent(o.hash.slice(1)));if(e){e.scrollIntoView();return}}}catch{ie(!1,`"${o.hash.slice(1)}" is not a decodable element ID. The view will not scroll to it.`)}i!==!0&&window.scrollTo(0,0)}},[o,r,i]))}function tr(e,t){let{capture:n}=t||{};b.useEffect(()=>{let t=n==null?void 0:{capture:n};return window.addEventListener(`pagehide`,e,t),()=>{window.removeEventListener(`pagehide`,e,t)}},[e,n])}function nr(e,{relative:t}={}){let n=b.useContext(Ze);T(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=Un(`useViewTransitionState`),i=yt(e,{relative:t});if(!n.isTransitioning)return!1;let a=Oe(n.currentLocation.pathname,r)||n.currentLocation.pathname,o=Oe(n.nextLocation.pathname,r)||n.nextLocation.pathname;return Te(i.pathname,o)!=null||Te(i.pathname,a)!=null}var rr=s((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),ir=s(((e,t)=>{t.exports=rr()})),ar=(0,b.createContext)({});function or(e){let t=(0,b.useRef)(null);return t.current===null&&(t.current=e()),t.current}var sr=typeof window<`u`?b.useLayoutEffect:b.useEffect,cr=(0,b.createContext)(null);function lr(e,t){e.indexOf(t)===-1&&e.push(t)}function ur(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}
11var dr=(e,t,n)=>n>t?t:n<e?e:n,fr={},pr=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function mr(e){return typeof e==`object`&&!!e}var hr=e=>/^0[^.\s]+$/u.test(e);function gr(e){let t;return()=>(t===void 0&&(t=e()),t)}var _r=e=>e,vr=(e,t)=>n=>t(e(n)),yr=(...e)=>e.reduce(vr),br=(e,t,n)=>{let r=t-e;return r===0?1:(n-e)/r},xr=class{constructor(){this.subscriptions=[]}add(e){return lr(this.subscriptions,e),()=>ur(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}},Sr=e=>e*1e3,Cr=e=>e/1e3;function wr(e,t){return t?1e3/t*e:0}var Tr=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Er=1e-7,Dr=12;function Or(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=Tr(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>Er&&++s<Dr);return o}function kr(e,t,n,r){if(e===t&&n===r)return _r;let i=t=>Or(t,0,1,e,n);return e=>e===0||e===1?e:Tr(i(e),t,r)}var Ar=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,jr=e=>t=>1-e(1-t),Mr=kr(.33,1.53,.69,.99),Nr=jr(Mr),Pr=Ar(Nr),Fr=e=>e>=1?1:(e*=2)<1?.5*Nr(e):.5*(2-2**(-10*(e-1))),Ir=e=>1-Math.sin(Math.acos(e)),Lr=jr(Ir),Rr=Ar(Ir),zr=kr(.42,0,1,1),Br=kr(0,0,.58,1),Vr=kr(.42,0,.58,1),Hr=e=>Array.isArray(e)&&typeof e[0]!=`number`,Ur=e=>Array.isArray(e)&&typeof e[0]==`number`,Wr={linear:_r,easeIn:zr,easeInOut:Vr,easeOut:Br,circIn:Ir,circInOut:Rr,circOut:Lr,backIn:Nr,backInOut:Pr,backOut:Mr,anticipate:Fr},Gr=e=>typeof e==`string`,Kr=e=>{if(Ur(e)){e.length;let[t,n,r,i]=e;return kr(t,n,r,i)}else if(Gr(e))return Wr[e],`${e}`,Wr[e];return e},qr=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`],Jr={value:null,addProjectionMetrics:null};function Yr(e,t){let n=new Set,r=new Set,i=!1,a=!1,o=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1},c=0;function l(t){o.has(t)&&(u.schedule(t),e()),c++,t(s)}let u={schedule:(e,t=!1,a=!1)=>{let s=a&&i?n:r;return t&&o.add(e),s.add(e),e},cancel:e=>{r.delete(e),o.delete(e)},process:e=>{if(s=e,i){a=!0;return}i=!0;let o=n;n=r,r=o,n.forEach(l),t&&Jr.value&&Jr.value.frameloop[t].push(c),c=0,n.clear(),i=!1,a&&(a=!1,u.process(e))}};return u}var Xr=40;function Zr(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=qr.reduce((e,n)=>(e[n]=Yr(a,t?n:void 0),e),{}),{setup:s,read:c,resolveKeyframes:l,preUpdate:u,update:d,preRender:f,render:p,postRender:m}=o,h=()=>{let a=fr.useManualTiming,o=a?i.timestamp:performance.now();n=!1,a||(i.delta=r?1e3/60:Math.max(Math.min(o-i.timestamp,Xr),1)),i.timestamp=o,i.isProcessing=!0,s.process(i),c.process(i),l.process(i),u.process(i),d.process(i),f.process(i),p.process(i),m.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(h))},g=()=>{n=!0,r=!0,i.isProcessing||e(h)};return{schedule:qr.reduce((e,t)=>{let r=o[t];return e[t]=(e,t=!1,i=!1)=>(n||g(),r.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<qr.length;t++)o[qr[t]].cancel(e)},state:i,steps:o}}var{schedule:k,cancel:Qr,state:$r,steps:ei}=Zr(typeof requestAnimationFrame<`u`?requestAnimationFrame:_r,!0),ti;function ni(){ti=void 0}var ri={now:()=>(ti===void 0&&ri.set($r.isProcessing||fr.useManualTiming?$r.timestamp:performance.now()),ti),set:e=>{ti=e,queueMicrotask(ni)}},ii={layout:0,mainThread:0,waapi:0},ai=e=>t=>typeof t==`string`&&t.startsWith(e),oi=ai(`--`),si=ai(`var(--`),ci=e=>si(e)?li.test(e.split(`/*`)[0].trim()):!1,li=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function ui(e){return typeof e==`string`?e.split(`/*`)[0].includes(`var(--`):!1}var di={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},fi={...di,transform:e=>dr(0,1,e)},pi={...di,default:1},mi=e=>Math.round(e*1e5)/1e5,hi=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function gi(e){return e==null}var _i=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,vi=(e,t)=>n=>!!(typeof n==`string`&&_i.test(n)&&n.startsWith(e)||t&&!gi(n)&&Object.prototype.hasOwnProperty.call(n,t)),yi=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(hi);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}},bi=e=>dr(0,255,e),xi={...di,transform:e=>Math.round(bi(e))},Si={test:vi(`rgb`,`red`),parse:yi(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+xi.transform(e)+`, `+xi.transform(t)+`, `+xi.transform(n)+`, `+mi(fi.transform(r))+`)`};function Ci(e){let t=``,n=``,r=``,i=``;return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alph
11a:i?parseInt(i,16)/255:1}}var wi={test:vi(`#`),parse:Ci,transform:Si.transform},Ti=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Ei=Ti(`deg`),Di=Ti(`%`),A=Ti(`px`),Oi=Ti(`vh`),ki=Ti(`vw`),Ai={...Di,parse:e=>Di.parse(e)/100,transform:e=>Di.transform(e*100)},ji={test:vi(`hsl`,`hue`),parse:yi(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+Di.transform(mi(t))+`, `+Di.transform(mi(n))+`, `+mi(fi.transform(r))+`)`},j={test:e=>Si.test(e)||wi.test(e)||ji.test(e),parse:e=>Si.test(e)?Si.parse(e):ji.test(e)?ji.parse(e):wi.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?Si.transform(e):ji.transform(e),getAnimatableNone:e=>{let t=j.parse(e);return t.alpha=0,j.transform(t)}},Mi=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Ni(e){return isNaN(e)&&typeof e==`string`&&(e.match(hi)?.length||0)+(e.match(Mi)?.length||0)>0}var Pi=`number`,Fi=`color`,Ii=`var`,Li=`var(`,Ri="${}",zi=/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 Bi(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(zi,e=>(j.test(e)?(r.color.push(a),i.push(Fi),n.push(j.parse(e))):e.startsWith(Li)?(r.var.push(a),i.push(Ii),n.push(e)):(r.number.push(a),i.push(Pi),n.push(parseFloat(e))),++a,Ri)).split(Ri),indexes:r,types:i}}function M(e){return Bi(e).values}function N({split:e,types:t}){let n=e.length;return r=>{let i=``;for(let a=0;a<n;a++)if(i+=e[a],r[a]!==void 0){let e=t[a];e===Pi?i+=mi(r[a]):e===Fi?i+=j.transform(r[a]):i+=r[a]}return i}}function Vi(e){return N(Bi(e))}var Hi=e=>typeof e==`number`?0:j.test(e)?j.getAnimatableNone(e):e,Ui=(e,t)=>typeof e==`number`?t?.trim().endsWith(`/`)?e:0:Hi(e);function Wi(e){let t=Bi(e);return N(t)(t.values.map((e,n)=>Ui(e,t.split[n])))}var Gi={test:Ni,parse:M,createTransformer:Vi,getAnimatableNone:Wi};function Ki(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function qi({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,o=0;if(!t)i=a=o=n;else{let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=Ki(s,r,e+1/3),a=Ki(s,r,e),o=Ki(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}function Ji(e,t){return n=>n>0?t:e}var P=(e,t,n)=>e+(t-e)*n,Yi=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},Xi=[wi,Si,ji],Zi=e=>Xi.find(t=>t.test(e));function Qi(e){let t=Zi(e);if(`${e}`,!t)return!1;let n=t.parse(e);return t===ji&&(n=qi(n)),n}var $i=(e,t)=>{let n=Qi(e),r=Qi(t);if(!n||!r)return Ji(e,t);let i={...n};return e=>(i.red=Yi(n.red,r.red,e),i.green=Yi(n.green,r.green,e),i.blue=Yi(n.blue,r.blue,e),i.alpha=P(n.alpha,r.alpha,e),Si.transform(i))},ea=new Set([`none`,`hidden`]);function ta(e,t){return ea.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function na(e,t){return n=>P(e,t,n)}function ra(e){return typeof e==`number`?na:typeof e==`string`?ci(e)?Ji:j.test(e)?$i:sa:Array.isArray(e)?ia:typeof e==`object`?j.test(e)?$i:aa:Ji}function ia(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>ra(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function aa(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=ra(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}function oa(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let a=t.types[i],o=e.indexes[a][r[a]];n[i]=e.values[o]??0,r[a]++}return n}var sa=(e,t)=>{let n=Gi.createTransformer(t),r=Bi(e),i=Bi(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?ea.has(e)&&!i.values.length||ea.has(t)&&!r.values.length?ta(e,t):yr(ia(oa(r,i),i.values),n):(`${e}${t}`,Ji(e,t))};function ca(e,t,n){return typeof e==`number`&&typeof t==`number`&&typeof n==`
11number`?P(e,t,n):ra(e)(e,t)}var la=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>k.update(t,e),stop:()=>Qr(t),now:()=>$r.isProcessing?$r.timestamp:ri.now()}},ua=(e,t,n=10)=>{let r=``,i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=Math.round(e(t/(i-1))*1e4)/1e4+`, `;return`linear(${r.substring(0,r.length-2)})`},da=2e4;function fa(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}function pa(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(fa(r),da);return{type:`keyframes`,ease:e=>r.next(i*e).value/t,duration:Cr(i)}}var F={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function ma(e,t){return e*Math.sqrt(1-t*t)}var ha=12;function ga(e,t,n){let r=n;for(let n=1;n<ha;n++)r-=e(r)/t(r);return r}var _a=.001;function va({duration:e=F.duration,bounce:t=F.bounce,velocity:n=F.velocity,mass:r=F.mass}){let i,a;F.maxDuration;let o=1-t;o=dr(F.minDamping,F.maxDamping,o),e=dr(F.minDuration,F.maxDuration,Cr(e)),o<1?(i=t=>{let r=t*o,i=r*e,a=r-n,s=ma(t,o),c=Math.exp(-i);return _a-a/s*c},a=t=>{let r=t*o*e,a=r*n+n,s=o**2*t**2*e,c=Math.exp(-r),l=ma(t**2,o);return(-i(t)+_a>0?-1:1)*((a-s)*c)/l}):(i=t=>{let r=Math.exp(-t*e),i=(t-n)*e+1;return-_a+r*i},a=t=>Math.exp(-t*e)*((n-t)*(e*e)));let s=5/e,c=ga(i,a,s);if(e=Sr(e),isNaN(c))return{stiffness:F.stiffness,damping:F.damping,duration:e};{let t=c**2*r;return{stiffness:t,damping:o*2*Math.sqrt(r*t),duration:e}}}var ya=[`duration`,`bounce`],ba=[`stiffness`,`damping`,`mass`];function xa(e,t){return t.some(t=>e[t]!==void 0)}function Sa(e){let t={velocity:F.velocity,stiffness:F.stiffness,damping:F.damping,mass:F.mass,isResolvedFromDuration:!1,...e};if(!xa(e,ba)&&xa(e,ya))if(t.velocity=0,e.visualDuration){let n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*dr(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:F.mass,stiffness:i,damping:a}}else{let n=va({...e,velocity:0});t={...t,...n,mass:F.mass},t.isResolvedFromDuration=!0}return t}function Ca(e=F.visualDuration,t=F.bounce){let n=typeof e==`object`?e:{visualDuration:e,keyframes:[0,1],bounce:t},{restSpeed:r,restDelta:i}=n,a=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],s={done:!1,value:a},{stiffness:c,damping:l,mass:u,duration:d,velocity:f,isResolvedFromDuration:p}=Sa({...n,velocity:-Cr(n.velocity||0)}),m=f||0,h=l/(2*Math.sqrt(c*u)),g=o-a,_=Cr(Math.sqrt(c/u)),v=Math.abs(g)<5;r||=v?F.restSpeed.granular:F.restSpeed.default,i||=v?F.restDelta.granular:F.restDelta.default;let y,b,x,S,C,w;if(h<1)x=ma(_,h),S=(m+h*_*g)/x,y=e=>o-Math.exp(-h*_*e)*(S*Math.sin(x*e)+g*Math.cos(x*e)),C=h*_*S+g*x,w=h*_*g-S*x,b=e=>Math.exp(-h*_*e)*(C*Math.sin(x*e)+w*Math.cos(x*e));else if(h===1){y=e=>o-Math.exp(-_*e)*(g+(m+_*g)*e);let e=m+_*g;b=t=>Math.exp(-_*t)*(_*e*t-m)}else{let e=_*Math.sqrt(h*h-1);y=t=>{let n=Math.exp(-h*_*t),r=Math.min(e*t,300);return o-n*((m+h*_*g)*Math.sinh(r)+e*g*Math.cosh(r))/e};let t=(m+h*_*g)/e,n=h*_*t-g*e,r=h*_*g-t*e;b=t=>{let i=Math.exp(-h*_*t),a=Math.min(e*t,300);return i*(n*Math.sinh(a)+r*Math.cosh(a))}}let ee={calculatedDuration:p&&d||null,velocity:e=>Sr(b(e)),next:e=>{if(!p&&h<1){let t=Math.exp(-h*_*e),n=Math.sin(x*e),a=Math.cos(x*e),c=o-t*(S*n+g*a),l=Sr(t*(C*n+w*a));return s.done=Math.abs(l)<=r&&Math.abs(o-c)<=i,s.value=s.done?o:c,s}let t=y(e);if(p)s.done=e>=d;else{let n=Sr(b(e));s.done=Math.abs(n)<=r&&Math.abs(o-t)<=i}return s.value=s.done?o:t,s},toString:()=>{let e=Math.min(fa(ee),da),t=ua(t=>ee.next(e*t).value,e,30);return e+`ms `+t},toTransition:()=>{}};return ee}Ca.applyToOptions=e=>{let t=pa(e,100,Ca);return e.ease=t.ease,e.duration=Sr(t.duration),e.type=`keyframes`,e};var wa=5;function Ta(e,t,n){let r=Math.max(t-wa,0);return wr(n-e(r),t-r)}
11function Ea({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:o,min:s,max:c,restDelta:l=.5,restSpeed:u}){let d=e[0],f={done:!1,value:d},p=e=>s!==void 0&&e<s||c!==void 0&&e>c,m=e=>s===void 0?c:c===void 0||Math.abs(s-e)<Math.abs(c-e)?s:c,h=n*t,g=d+h,_=o===void 0?g:o(g);_!==g&&(h=_-d);let v=e=>-h*Math.exp(-e/r),y=e=>_+v(e),b=e=>{let t=v(e),n=y(e);f.done=Math.abs(t)<=l,f.value=f.done?_:n},x,S,C=e=>{p(f.value)&&(x=e,S=Ca({keyframes:[f.value,m(f.value)],velocity:Ta(y,e,f.value),damping:i,stiffness:a,restDelta:l,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return!S&&x===void 0&&(t=!0,b(e),C(e)),x!==void 0&&e>=x?S.next(e-x):(!t&&b(e),f)}}}function Da(e,t,n){let r=[],i=n||fr.mix||ca,a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);t&&(a=yr(Array.isArray(t)?t[n]||_r:t,a)),r.push(a)}return r}function Oa(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let a=e.length;if(t.length,a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=Da(t,r,i),c=s.length,l=n=>{if(o&&n<e[0])return t[0];let r=0;if(c>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=br(e[r],e[r+1],n);return s[r](i)};return n?t=>l(dr(e[0],e[a-1],t)):l}function ka(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=br(0,t,r);e.push(P(n,1,i))}}function Aa(e){let t=[0];return ka(t,e.length-1),t}function ja(e,t){return e.map(e=>e*t)}function Ma(e,t){return e.map(()=>t||Vr).splice(0,e.length-1)}function Na({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`}){let i=Hr(r)?r.map(Kr):Kr(r),a={done:!1,value:t[0]},o=Oa(ja(n&&n.length===t.length?n:Aa(t),e),t,{ease:Array.isArray(i)?i:Ma(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}var Pa=e=>e!==null;function Fa(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter(Pa),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var Ia={decay:Ea,inertia:Ea,tween:Na,keyframes:Na,spring:Ca};function La(e){typeof e.type==`string`&&(e.type=Ia[e.type])}var Ra=class{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)}},za=e=>e/100,Ba=class extends Ra{constructor(e){super(),this.state=`idle`,this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==ri.now()&&this.tick(ri.now()),this.isStopped=!0,this.state!==`idle`&&(this.teardown(),this.options.onStop?.())},ii.mainThread++,this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){let{options:e}=this;La(e);let{type:t=Na,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||Na;s!==Na&&typeof o[0]!=`number`&&(this.mixKeyframes=yr(za,ca(o[0],o[1])),o=[0,100]);let c=s({...e,keyframes:o});i===`mirror`&&(this.mirroredGenerator=s({...e,keyframes:[...o].reverse(),velocity:-a})),c.calculatedDuration===null&&(c.calculatedDuration=fa(c));let{calculatedDuration:l}=c;this.calculatedDuration=l,this.resolvedDuration=l+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=c}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime===null?this.currentTime=t:this.currentTime=this.holdTime}tick(e,t=!1){let{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:s}=this;if(this.startTime===null)return n.next(0);let{delay:c=0,keyframes:l,repeat:u,repeatType:d,repeatDelay:f,type:p,onUpdate:m,finalKeyframe:h}=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);let g=this.currentTime-c*(this.playbackSpeed>=0?1:-1),_=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),this.state===`finished`&&this.holdTime===null&&(this.currentTime=r);let v=this.currentTime,y=n;if(u){let e=Math.min(this.currentTime,r)/o,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),n===1&&t--,t=Math.min(t,u+1),t%2&&(d===`reverse`?(n=1-n,f&&(n-=f/o)):d===`mirror`&&(y=a)),v=dr(0,1,n)*o}let b;_?(this.delayState.value=l[0],b=this.delayState):b=y.next(v),i&&!_&&(b.value=i(b.value));let{done:x}=b;!_&&s!==null&&(x=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let S=this.holdTime===null&&(this.state===`finished`||this.state===`running`&&x);return S&&p!==Ea&&(b.value=Fa(l,this.options,h,this.speed)),m&&m(b.value),S&&this.finish(),b}then(e,t){return this.finished.then(e,t)}get duration(){return Cr(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+Cr(e)}get time(){return Cr(this.currentTime)}set time(e){e=Sr(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state=`paused`,this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return Ta(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(ri.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=Cr(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=la,startTime:t}=this.options;this.driver||=e(e=>this.tick(e)),this.options.onPlay?.();let n=this.driver.now();this.state===`finished`?(this.updateFinished(),this.startTime=n):this.holdTime===null?this.startTime||=t??n:this.startTime=n-this.holdTime,this.state===`finished`&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state=`running`,this.driver.start()}pause(){this.state=`paused`,this.updateTime(ri.now()),this.holdTime=this.currentTime}complete(){this.state!==`running`&&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,ii.mainThread--}stopDriver(){this.driver&&=(this.driver.stop(),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)}};function Va(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var Ha=e=>e*180/Math.PI,Ua=e=>Ga(Ha(Math.atan2(e[1],e[0]))),Wa={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Ua,rotateZ:Ua,skewX:e=>Ha(Math.atan(e[1])),skewY:e=>Ha(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Ga=e=>(e%=360,e<0&&(e+=360),e),Ka=Ua,qa=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Ja=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),Ya={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:qa,scaleY:Ja,scale:e=>(qa(e)+Ja(e))/2,rotateX:e=>Ga(Ha(Math.atan2(e[6],e[5]))),rotateY:e=>Ga(Ha(Math.atan2(-e[2],e[0]))),rotateZ:Ka,rotate:Ka,skewX:e=>Ha(Math.atan(e[4])),skewY:e=>Ha(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Xa(e){return e.includes(`scale`)?1:0}
11function Za(e,t){if(!e||e===`none`)return Xa(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,i;if(n)r=Ya,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=Wa,i=t}if(!i)return Xa(t);let a=r[t],o=i[1].split(`,`).map($a);return typeof a==`function`?a(o):o[a]}var Qa=(e,t)=>{let{transform:n=`none`}=getComputedStyle(e);return Za(n,t)};function $a(e){return parseFloat(e.trim())}var eo=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],to=new Set(eo),no=e=>e===di||e===A,ro=new Set([`x`,`y`,`z`]),io=eo.filter(e=>!ro.has(e));function ao(e){let t=[];return io.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith(`scale`)?1:0))}),t}var oo={width:({x:e},{paddingLeft:t=`0`,paddingRight:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t=`0`,paddingBottom:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-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})=>Za(t,`x`),y:(e,{transform:t})=>Za(t,`y`)};oo.translateX=oo.x,oo.translateY=oo.y;var so=new Set,co=!1,lo=!1,uo=!1;function fo(){if(lo){let e=Array.from(so).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=ao(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{e.suspendedScrollY!==void 0&&window.scrollTo(0,e.suspendedScrollY)})}lo=!1,co=!1,so.forEach(e=>e.complete(uo)),so.clear()}function po(){so.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(lo=!0)})}function mo(){uo=!0,po(),fo(),uo=!1}var I=class{constructor(e,t,n,r,i,a=!1){this.state=`pending`,this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=a}scheduleResolve(){this.state=`scheduled`,this.isAsync?(so.add(this),co||(co=!0,k.read(po),k.resolveKeyframes(fo))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(e[0]===null){let i=r?.get(),a=e[e.length-1];if(i!==void 0)e[0]=i;else if(n&&t){let r=n.readValue(t,a);r!=null&&(e[0]=r)}e[0]===void 0&&(e[0]=a),r&&i===void 0&&r.set(e[0])}Va(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),so.delete(this)}cancel(){this.state===`scheduled`&&(so.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}},ho=e=>e.startsWith(`--`);function go(e,t,n){ho(t)?e.style.setProperty(t,n):e.style[t]=n}var L={};function R(e,t){let n=gr(e);return()=>L[t]??n()}var _o=R(()=>window.ScrollTimeline!==void 0,`scrollTimeline`),vo=R(()=>{try{document.createElement(`div`).animate({opacity:0}
11,{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`),yo=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,bo={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:yo([0,.65,.55,1]),circOut:yo([.55,0,1,.45]),backIn:yo([.31,.01,.66,-.59]),backOut:yo([.33,1.53,.69,.99])};function xo(e,t){if(e)return typeof e==`function`?vo()?ua(e,t):`ease-out`:Ur(e)?yo(e):Array.isArray(e)?e.map(e=>xo(e,t)||bo.easeOut):bo[e]}function So(e,t,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:o=`loop`,ease:s=`easeOut`,times:c}={},l=void 0){let u={[t]:n};c&&(u.offset=c);let d=xo(s,i);Array.isArray(d)&&(u.easing=d),Jr.value&&ii.waapi++;let f={delay:r,duration:i,easing:Array.isArray(d)?`linear`:d,fill:`both`,iterations:a+1,direction:o===`reverse`?`alternate`:`normal`};l&&(f.pseudoElement=l);let p=e.animate(u,f);return Jr.value&&p.finished.finally(()=>{ii.waapi--}),p}function Co(e){return typeof e==`function`&&`applyToOptions`in e}function wo({type:e,...t}){return Co(e)&&vo()?e.applyToOptions(t):(t.duration??=300,t.ease??=`easeOut`,t)}var z=class extends Ra{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;let{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:a=!1,finalKeyframe:o,onComplete:s}=e;this.isPseudoElement=!!i,this.allowFlatten=a,this.options=e,e.type;let c=wo(e);this.animation=So(t,n,r,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=Fa(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),go(t,n,e),this.animation.cancel()}s?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state===`finished`&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;e===`idle`||e===`finished`||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return Cr(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+Cr(e)}get time(){return Cr(Number(this.animation.currentTime)||0)}set time(e){let t=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Sr(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime===null?this.animation.playState:`f
11inished`}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:n,observe:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:`linear`}),this.animation.onfinish=null,e&&_o()?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),_r):r(this)}},To={anticipate:Fr,backInOut:Pr,circInOut:Rr};function Eo(e){return e in To}function Do(e){typeof e.ease==`string`&&Eo(e.ease)&&(e.ease=To[e.ease])}var Oo=10,ko=class extends z{constructor(e){Do(e),La(e),super(e),e.startTime!==void 0&&e.autoplay!==!1&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:n,onComplete:r,element:i,...a}=this.options;if(!t)return;if(e!==void 0){t.set(e);return}let o=new Ba({...a,autoplay:!1}),s=Math.max(Oo,ri.now()-this.startTime),c=dr(0,Oo,s-Oo),l=o.sample(s).value,{name:u}=this.options;i&&u&&go(i,u,l),t.setWithVelocity(o.sample(Math.max(0,s-c)).value,l,c),o.stop()}},Ao=(e,t)=>t===`zIndex`?!1:!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(Gi.test(e)||e===`0`)&&!e.startsWith(`url(`));function jo(e){let t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function Mo(e,t,n,r){let i=e[0];if(i===null)return!1;if(t===`display`||t===`visibility`)return!0;let a=e[e.length-1],o=Ao(i,t),s=Ao(a,t);return`${t}${i}${a}${o?a:i}`,!o||!s?!1:jo(e)||(n===`spring`||Co(n))&&r}function No(e){e.duration=0,e.type=`keyframes`}var Po=new Set([`opacity`,`clipPath`,`filter`,`transform`]),Fo=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function Io(e){for(let t=0;t<e.length;t++)if(typeof e[t]==`string`&&Fo.test(e[t]))return!0;return!1}var Lo=new Set([`color`,`backgroundColor`,`outlineColor`,`fill`,`stroke`,`borderColor`,`borderTopColor`,`borderRightColor`,`borderBottomColor`,`borderLeftColor`]),Ro=gr(()=>Object.hasOwnProperty.call(Element.prototype,`animate`));function zo(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:a,type:o,keyframes:s}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:c,transformTemplate:l}=t.owner.getProps();return Ro()&&n&&(Po.has(n)||Lo.has(n)&&Io(s))&&(n!==`transform`||!l)&&!c&&!r&&i!==`mirror`&&a!==0&&o!==`inertia`}var Bo=40,Vo=class extends Ra{constructor({autoplay:e=!0,delay:t=0,type:n=`keyframes`,repeat:r=0,repeatDelay:i=0,repeatType:a=`loop`,keyframes:o,name:s,motionValue:c,element:l,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=ri.now();let d={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:a,name:s,motionValue:c,element:l,...u};this.keyframeResolver=new(l?.KeyframeResolver||I)(o,(e,t,n)=>this.onKeyframesResolved(e,t,d,!n),s,c,l),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;let{name:i,type:a,velocity:o,delay:s,isHandoff:c,onUpdate:l}=n;this.resolvedAt=ri.now();let u=!0;Mo(e,i,a,o)||(u=!1,(fr.instantAnimations||!s)&&l?.(Fa(e,n,t)),e[0]=e[e.length-1],No(n),n.repeat=0);let d={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>Bo?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},f=u&&!c&&zo(d),p=d.motionValue?.owner?.current,m;if(f)try{m=new ko({...d,element:p})}catch{m=new Ba(d)}else m=new Ba(d);m.finished.then(()=>{this.notifyFinished()}).catch(_r),this.pendingTimeline&&=(this.stopTimeline=m.attachTimeline(this.pendingTimeline),void 0),this._animation=m}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(),mo()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}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()}};function Ho(e,t,n,r=0,i=1){let a=Array.from(e).sort((e,t)=>
11e.sortNodePosition(t)).indexOf(t),o=e.size,s=(o-1)*r;return typeof n==`function`?n(a,o):i===1?a*r:s-a*r}var Uo=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Wo(e){let t=Uo.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}function Go(e,t,n=1){`${e}`;let[r,i]=Wo(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let e=a.trim();return pr(e)?parseFloat(e):e}return ci(i)?Go(i,t,n+1):i}var Ko={type:`spring`,stiffness:500,damping:25,restSpeed:10},qo=e=>({type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Jo={type:`keyframes`,duration:.8},Yo={type:`keyframes`,ease:[.25,.1,.35,1],duration:.3},Xo=(e,{keyframes:t})=>t.length>2?Jo:to.has(e)?e.startsWith(`scale`)?qo(t[1]):Ko:Yo;function Zo(e,t){if(e?.inherit&&t){let{inherit:n,...r}=e;return{...t,...r}}return e}function Qo(e,t){let n=e?.[t]??e?.default??e;return n===e?n:Zo(n,e)}var $o=new Set([`when`,`delay`,`delayChildren`,`staggerChildren`,`staggerDirection`,`repeat`,`repeatType`,`repeatDelay`,`from`,`elapsed`]);function es(e){for(let t in e)if(!$o.has(t))return!0;return!1}var ts=(e,t,n,r={},i,a)=>o=>{let s=Qo(r,e)||{},c=s.delay||r.delay||0,{elapsed:l=0}=r;l-=Sr(c);let u={keyframes:Array.isArray(n)?n:[null,n],ease:`easeOut`,velocity:t.getVelocity(),...s,delay:-l,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{o(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:a?void 0:i};es(s)||Object.assign(u,Xo(e,u)),u.duration&&=Sr(u.duration),u.repeatDelay&&=Sr(u.repeatDelay),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(No(u),u.delay===0&&(d=!0)),(fr.instantAnimations||fr.skipAnimations||i?.shouldSkipAnimations)&&(d=!0,No(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!a&&t.get()!==void 0){let e=Fa(u.keyframes,s);if(e!==void 0){k.update(()=>{u.onUpdate(e),u.onComplete()});return}}return s.isSync?new Ba(u):new Vo(u)};function ns(e){let t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function rs(e,t,n,r){if(typeof t==`function`){let[i,a]=ns(r);t=t(n===void 0?e.custom:n,i,a)}if(typeof t==`string`&&(t=e.variants&&e.variants[t]),typeof t==`function`){let[i,a]=ns(r);t=t(n===void 0?e.custom:n,i,a)}return t}function is(e,t,n){let r=e.getProps();return rs(r,t,n===void 0?r.custom:n,e)}var as=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,...eo]),os=30,ss=e=>!isNaN(parseFloat(e)),cs={current:void 0},ls=class{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=ri.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=ri.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=ss(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on(`change`,e)}on(e,t){this.events[e]||(this.events[e]=new xr);let n=this.events[e].add(t);return e===`change`?()=>{n(),k.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}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||=new Set,this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return cs.current&&cs.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=ri.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>os)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,os);return wr(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 us(e,t){return new ls(e,t)}var ds=e=>Array.isArray(e);function fs(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,us(n))}function ps(e){return ds(e)?e[e.length-1]||0:e}function ms(e,t){let{transitionEnd:n={},transition:r={},...i}=is(e,t)||{};i={...i,...n};for(let t in i)fs(e,t,ps(i[t]))}var hs=e=>!!(e&&e.getVelocity);function gs(e){return!!(hs(e)&&e.add)}function _s(e,t){let n=e.getValue(`willChange`);if(gs(n))return n.add(t);if(!n&&fr.WillChange){let n=new fr.WillChange(`auto`);e.addValue(`willChange`,n),n.add(t)}}function vs(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}var ys=`data-`+vs(`framerAppearId`);function bs(e){return e.props[ys]}function xs({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function Ss(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a,transitionEnd:o,...s}=t,c=e.getDefaultTransition();a=a?Zo(a,c):c;let l=a?.reduceMotion;r&&(a=r);let u=[],d=i&&e.animationState&&e.animationState.getState()[i];for(let t in s){let r=e.getValue(t,e.latestValues[t]??null),i=s[t];if(i===void 0||d&&xs(d,t))continue;let o={delay:n,...Qo(a||{},t)},c=r.get();if(c!==void 0&&!r.isAnimating()&&!Array.isArray(i)&&i===c&&!o.velocity){k.update(()=>r.set(i));continue}let f=!1;if(window.MotionHandoffAnimation){let n=bs(e);if(n){let e=window.MotionHandoffAnimation(n,t,k);e!==null&&(o.startTime=e,f=!0)}}_s(e,t);let p=l??e.shouldReduceMotion;r.start(ts(t,r,i,p&&as.has(t)?{type:!1}:o,e,f));let m=r.animation;m&&u.push(m)}if(o){let t=()=>k.update(()=>{o&&ms(e,o)});u.length?Promise.all(u).then(t):t()}return u}function Cs(e,t,n={}){let r=is(e,t,n.type===`exit`?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let a=r?()=>Promise.all(Ss(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:a=0,staggerChildren:o,staggerDirection:s}=i;return ws(e,t,r,a,o,s,n)}:()=>Promise.resolve(),{when:s}=i;
11if(s){let[e,t]=s===`beforeChildren`?[a,o]:[o,a];return e().then(()=>t())}else return Promise.all([a(),o(n.delay)])}function ws(e,t,n=0,r=0,i=0,a=1,o){let s=[];for(let c of e.variantChildren)c.notify(`AnimationStart`,t),s.push(Cs(c,t,{...o,delay:n+(typeof r==`function`?0:r)+Ho(e.variantChildren,c,r,i,a)}).then(()=>c.notify(`AnimationComplete`,t)));return Promise.all(s)}function Ts(e,t,n={}){e.notify(`AnimationStart`,t);let r;if(Array.isArray(t)){let i=t.map(t=>Cs(e,t,n));r=Promise.all(i)}else if(typeof t==`string`)r=Cs(e,t,n);else{let i=typeof t==`function`?is(e,t,n.custom):t;r=Promise.all(Ss(e,i,n))}return r.then(()=>{e.notify(`AnimationComplete`,t)})}var Es={test:e=>e===`auto`,parse:e=>e},Ds=e=>t=>t.test(e),Os=[di,A,Di,Ei,ki,Oi,Es],ks=e=>Os.find(Ds(e));function As(e){return typeof e==`number`?e===0:e===null?!0:e===`none`||e===`0`||hr(e)}var js=new Set([`brightness`,`contrast`,`saturate`,`opacity`]);function Ms(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(hi)||[];if(!r)return e;let i=n.replace(r,``),a=js.has(t)?1:0;return r!==n&&(a*=100),t+`(`+a+i+`)`}var Ns=/\b([a-z-]*)\(.*?\)/gu,Ps={...Gi,getAnimatableNone:e=>{let t=e.match(Ns);return t?t.map(Ms).join(` `):e}},Fs={...Gi,getAnimatableNone:e=>{let t=Gi.parse(e);return Gi.createTransformer(e)(t.map(e=>typeof e==`number`?0:typeof e==`object`?{...e,alpha:1}:e))}},Is={...di,transform:Math.round},Ls={borderWidth:A,borderTopWidth:A,borderRightWidth:A,borderBottomWidth:A,borderLeftWidth:A,borderRadius:A,borderTopLeftRadius:A,borderTopRightRadius:A,borderBottomRightRadius:A,borderBottomLeftRadius:A,width:A,maxWidth:A,height:A,maxHeight:A,top:A,right:A,bottom:A,left:A,inset:A,insetBlock:A,insetBlockStart:A,insetBlockEnd:A,insetInline:A,insetInlineStart:A,insetInlineEnd:A,padding:A,paddingTop:A,paddingRight:A,paddingBottom:A,paddingLeft:A,paddingBlock:A,paddingBlockStart:A,paddingBlockEnd:A,paddingInline:A,paddingInlineStart:A,paddingInlineEnd:A,margin:A,marginTop:A,marginRight:A,marginBottom:A,marginLeft:A,marginBlock:A,marginBlockStart:A,marginBlockEnd:A,marginInline:A,marginInlineStart:A,marginInlineEnd:A,fontSize:A,backgroundPositionX:A,backgroundPositionY:A,rotate:Ei,rotateX:Ei,rotateY:Ei,rotateZ:Ei,scale:pi,scaleX:pi,scaleY:pi,scaleZ:pi,skew:Ei,skewX:Ei,skewY:Ei,distance:A,translateX:A,translateY:A,translateZ:A,x:A,y:A,z:A,perspective:A,transformPerspective:A,opacity:fi,originX:Ai,originY:Ai,originZ:A,zIndex:Is,fillOpacity:fi,strokeOpacity:fi,numOctaves:Is},Rs={...Ls,color:j,backgroundColor:j,outlineColor:j,fill:j,stroke:j,borderColor:j,borderTopColor:j,borderRightColor:j,borderBottomColor:j,borderLeftColor:j,filter:Ps,WebkitFilter:Ps,mask:Fs,WebkitMask:Fs},zs=e=>Rs[e],Bs=new Set([Ps,Fs]);function Vs(e,t){let n=zs(e);return Bs.has(n)||(n=Gi),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var Hs=new Set([`auto`,`none`,`0`]);function Us(e,t,n){let r=0,i;for(;r<e.length&&!i;){let t=e[r];typeof t==`string`&&!Hs.has(t)&&Bi(t).values.length&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]=Vs(n,i)}var Ws=class extends I{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{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(typeof r==`string`&&(r=r.trim(),ci(r))){let i=Go(r,t.current);i!==void 0&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!as.has(n)||e.length!==2)return;let[r,i]=e,a=ks(r),o=ks(i);if(ui(r)!==ui(i)&&oo[n]){this.needsMeasurement=!0;return}if(a!==o)if(no(a)&&no(o))for(let t=0;t<e.length;t++){let n=e[t];typeof n==`string`&&(e[t]=parseFloat(n))}else oo[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(e[t]===null||As(e[t]))&&n.push(t);n.length&&Us(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;n===`height`&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=oo[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];r!==void 0&&e.getValue(n,r).jump(r,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);let i=n.length-1,a=n[i];n[i]=oo[t](e.measureViewportBox(),window.getComputedStyle(e.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),this.removedTransforms?.length&&this.removedTransforms.forEac
11h(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}};function Gs(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e==`string`){let r=document;t&&(r=t.current);let i=n?.[e]??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>e!=null)}var Ks=(e,t)=>t&&typeof e==`number`?t.transform(e):e;function qs(e){return mr(e)&&`offsetHeight`in e&&!(`ownerSVGElement`in e)}var{schedule:Js,cancel:Ys}=Zr(queueMicrotask,!1),Xs={x:!1,y:!1};function Zs(){return Xs.x||Xs.y}function Qs(e){return e===`x`||e===`y`?Xs[e]?null:(Xs[e]=!0,()=>{Xs[e]=!1}):Xs.x||Xs.y?null:(Xs.x=Xs.y=!0,()=>{Xs.x=Xs.y=!1})}function $s(e,t){let n=Gs(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function ec(e){return!(e.pointerType===`touch`||Zs())}function tc(e,t,n={}){let[r,i,a]=$s(e,n);return r.forEach(e=>{let n=!1,r=!1,a,o=()=>{e.removeEventListener(`pointerleave`,u)},s=e=>{a&&=(a(e),void 0),o()},c=e=>{n=!1,window.removeEventListener(`pointerup`,c),window.removeEventListener(`pointercancel`,c),r&&(r=!1,s(e))},l=()=>{n=!0,window.addEventListener(`pointerup`,c,i),window.addEventListener(`pointercancel`,c,i)},u=e=>{if(e.pointerType!==`touch`){if(n){r=!0;return}s(e)}};e.addEventListener(`pointerenter`,n=>{if(!ec(n))return;r=!1;let o=t(e,n);typeof o==`function`&&(a=o,e.addEventListener(`pointerleave`,u,i))},i),e.addEventListener(`pointerdown`,l,i)}),a}var nc=(e,t)=>t?e===t?!0:nc(e,t.parentElement):!1,rc=e=>e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1,ic=new Set([`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`,`A`]);function ac(e){return ic.has(e.tagName)||e.isContentEditable===!0}var oc=new Set([`INPUT`,`SELECT`,`TEXTAREA`]);function sc(e){return oc.has(e.tagName)||e.isContentEditable===!0}var cc=new WeakSet;function lc(e){return t=>{t.key===`Enter`&&e(t)}}function uc(e,t){e.dispatchEvent(new PointerEvent(`pointer`+t,{isPrimary:!0,bubbles:!0}))}var dc=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=lc(()=>{if(cc.has(n))return;uc(n,`down`);let e=lc(()=>{uc(n,`up`)});n.addEventListener(`keyup`,e,t),n.addEventListener(`blur`,()=>uc(n,`cancel`),t)});n.addEventListener(`keydown`,r,t),n.addEventListener(`blur`,()=>n.removeEventListener(`keydown`,r),t)};function fc(e){return rc(e)&&!Zs()}var pc=new WeakSet;function mc(e,t,n={}){let[r,i,a]=$s(e,n),o=e=>{let r=e.currentTarget;if(!fc(e)||pc.has(e))return;cc.add(r),n.stopPropagation&&pc.add(e);let a=t(r,e),o=(e,t)=>{window.removeEventListener(`pointerup`,s),window.removeEventListener(`pointercancel`,c),cc.has(r)&&cc.delete(r),fc(e)&&typeof a==`function`&&a(e,{success:t})},s=e=>{o(e,r===window||r===document||n.useGlobalTarget||nc(r,e.target))},c=e=>{o(e,!1)};window.addEventListener(`pointerup`,s,i),window.addEventListener(`pointercancel`,c,i)};return r.forEach(e=>{(n.useGlobalTarget?window:e).addEventListener(`pointerdown`,o,i),qs(e)&&(e.addEventListener(`focus`,e=>dc(e,i)),!ac(e)&&!e.hasAttribute(`tabindex`)&&(e.tabIndex=0))}),a}function hc(e){return mr(e)&&`ownerSVGElement`in e}var gc=new WeakMap,_c,vc=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+`Size`]:hc(r)&&`getBBox`in r?r.getBBox()[t]:r[n],yc=vc(`inline`,`width`,`offsetWidth`),bc=vc(`block`,`height`,`offsetHeight`);function xc({target:e,borderBoxSize:t}){gc.get(e)?.forEach(n=>{n(e,{get width(){return yc(e,t)},get height(){return bc(e,t)}})})}function Sc(e){e.forEach(xc)}function Cc(){typeof ResizeObserver>`u`||(_c=new ResizeObserver(Sc))}function wc(e,t){_c||Cc();let n=Gs(e);return n.forEach(e=>{let n=gc.get(e);n||(n=new Set,gc.set(e,n)),n.add(t),_c?.observe(e)}),()=>{n.forEach(e=>{let n=gc.get(e);n?.delete(t),n?.size||_c?.unobserve(e)})}}var Tc=new Set,Ec;function Dc(){Ec=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};Tc.forEach(t=>t(e))},window.addEventListener(`resize`,Ec)}function Oc(e){return Tc.add(e),Ec||Dc(),()=>{Tc.delete(e),!Tc.size&&typeof Ec==`function`&&(window.removeEventListener(`resize`,Ec),Ec=void 0)}}function kc(e,t){return typeof e==`function`?Oc(e):wc(e,t)}function Ac(e){return hc(e)&&e.tagName===`svg`}var jc=[...Os,j,Gi],Mc=e=>jc.find(Ds(e)),Nc=()=>({translate:0,scale:1,origin:0,originPoint:0}),Pc=()=>({x:Nc(),y:Nc()}),Fc=()=>({min:0,max:0}),Ic=()=>({x:Fc(),y:Fc()}),Lc=new WeakMap;function Rc(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}function zc(e){return typeof e==`string`||Array.isArray(e)}var Bc=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`],Vc=[`initial`,...Bc];function B(e){return Rc(e.animate)||Vc.some(t=>zc(e[t]))}function Hc(e){return!!(B(e)||e.variants)}function Uc(e,t,n){for(let r in t){let i=t[r],a=n[r];if(hs(i))e.addValue(r,i);else if(hs(a))e.addValue(r,us(i,{owner:e}));else if(a!==i)if(e.hasValue(r)){let t=e.getValue(r);t.liveStyle===!0?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,us(t===void 0?i:t,{owner:e}))}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var Wc={current:null},Gc={current:!1},Kc=typeof window<`u`;function qc(){if(Gc.current=!0,Kc)if(window.matchMedia){let e=window.matchMedia(`(prefers-reduced-motion)`),t=()=>Wc.current=e.matches;e.addEventListener(`change`,t),t()}else Wc.current=!1}var Jc=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],Yc={};function Xc(e){Yc=e}function Zc(){return Yc}var Qc=class{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,skipAnimations:i,blockInitialAnimation:a,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=I,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,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=()=>{let e=ri.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,k.render(this.render,!1,!0))};let{latestValues:c,renderState:l}=o;this.latestValues=c,this.baseTarget={...c},this.initialValues=t.initial?{...c}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=i,this.options=s,this.blockInitialAnimation=!!a,this.isControllingVariants=B(t),this.isVariantNode=Hc(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];c[e]!==void 0&&hs(t)&&t.set(c[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,Lc.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.forEac
11h((e,t)=>this.bindToMotionValue(t,e)),this.reducedMotionConfig===`never`?this.shouldReduceMotion=!1:this.reducedMotionConfig===`always`?this.shouldReduceMotion=!0:(Gc.current||qc(),this.shouldReduceMotion=Wc.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),Qr(this.notifyUpdate),Qr(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let e in this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??=new Set,this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&Po.has(e)&&this.current instanceof HTMLElement){let{factory:n,keyframes:r,times:i,ease:a,duration:o}=t.accelerate,s=new z({element:this.current,name:e,keyframes:r,times:i,ease:a,duration:Sr(o)}),c=n(s);this.valueSubscriptions.set(e,()=>{c(),s.cancel()});return}let n=to.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on(`change`,t=>{this.latestValues[e]=t,this.props.onUpdate&&k.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),i;typeof window<`u`&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i&&i(),t.owner&&t.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e=`animation`;for(e in Yc){let t=Yc[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let 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):Ic()}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<Jc.length;t++){let n=Jc[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e[`on`+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=Uc(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){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let 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);let 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 n===void 0&&t!==void 0&&(n=us(t===null?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return n!=null&&(typeof n==`string`&&(pr(n)||hr(n))?n=parseFloat(n):!Mc(n)&&Gi.test(t)&&(n=Vs(e,t)),this.setBaseTarget(e,hs(n)?n.get():n)),hs(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let{initial:t}=this.props,n;if(typeof t==`string`||typeof t==`object`){let r=rs(this.props,t,this.presenceContext?.custom);r&&(n=r[e])}if(t&&n!==void 0)return n;let r=this.getBaseTargetFromProps(this.props,e);return r!==void 0&&!hs(r)?r:this.initialValues[e]!==void 0&&n===void 0?void 0:this.baseTarget[e]}on(e,t){return this.events[e]||(this.events[e]=new xr),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){Js.render(this.render)}},$c=class extends Qc{constructor(){super(...arguments),this.KeyframeResolver=Ws}sortInstanceNodePosition(e,t){return e.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(e,t){let n=e.style;return n?n[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;hs(e)&&(this.childSubscription=e.on(`change`,e=>{this.current&&(this.current.textContent=`${e}`)}))}},el=class{constructor(e){this.isMounted=!1,this.node=e}update(){}};function tl({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function nl({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function rl(e,t){if(!t)return e;let 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}}function il(e){return e===void 0||e===1}function al({scale:e,scaleX:t,scaleY:n}){return!il(e)||!il(t)||!il(n)}function ol(e){return al(e)||sl(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function sl(e){return cl(e.x)||cl(e.y)}function cl(e){return e&&e!==`0%`}function ll(e,t,n){return n+t*(e-n)}function ul(e,t,n,r,i){return i!==void 0&&(e=ll(e,i,r)),ll(e,n,r)+t}function dl(e,t=0,n=1,r,i){e.min=ul(e.min,t,n,r,i),e.max=ul(e.max,t,n,r,i)}function V(e,{x:t,y:n}){dl(e.x,t.translate,t.scale,t.originPoint),dl(e.y,n.translate,n.scale,n.originPoint)}var fl=.999999999999,pl=1.0000000000001;function ml(e,t,n,r=!1){let i=n.length;if(!i)return;t.x=t.y=1;let a,o;for(let s=0;s<i;s++){a=n[s],o=a.projectionDelta;let{visualElement:i}=a.options;i&&i.props.style&&i.props.style.display===`contents`||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&(hl(e.x,-a.scroll.offset.x),hl(e.y,-a.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,V(e,o)),r&&ol(a.latestValues)&&vl(e,a.latestValues,a.layout?.layoutBox))}t.x<pl&&t.x>fl&&(t.x=1),t.y<pl&&t.y>fl&&(t.y=1)}function hl(e,t){e.min+=t,e.max+=t}function gl(e,t,n,r,i=.5){dl(e,t,n,P(e.min,e.max,i),r)}function _l(e,t){return typeof e==`string`?parseFloat(e)/100*(t.max-t.min):e}function vl(e,t,n){let r=n??e;gl(e.x,_l(t.x,r.x),t.scaleX,t.scale,t.originX),gl(e.y,_l(t.y,r.y),t.scaleY,t.scale,t.originY)}function yl(e,t){return tl(rl(e.getBoundingClientRect(),t))}function bl(e,t,n){let r=yl(e,n),{scroll:i}=t;return i&&(hl(r.x,i.offset.x),hl(r.y,i.offset.y)),r}var xl={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},Sl=eo.length;function Cl(e,t,n){let r=``,i=!0;for(let a=0;a<Sl;a++){let o=eo[a],s=e[o];if(s===void 0)continue;let c=!0;
11if(typeof s==`number`)c=s===(o.startsWith(`scale`)?1:0);else{let e=parseFloat(s);c=o.startsWith(`scale`)?e===1:e===0}if(!c||n){let e=Ks(s,Ls[o]);if(!c){i=!1;let t=xl[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}return r=r.trim(),n?r=n(t,i?``:r):i&&(r=`none`),r}function wl(e,t,n){let{style:r,vars:i,transformOrigin:a}=e,o=!1,s=!1;for(let e in t){let n=t[e];if(to.has(e)){o=!0;continue}else if(oi(e)){i[e]=n;continue}else{let t=Ks(n,Ls[e]);e.startsWith(`origin`)?(s=!0,a[e]=t):r[e]=t}}if(t.transform||(o||n?r.transform=Cl(t,e.transform,n):r.transform&&=`none`),s){let{originX:e=`50%`,originY:t=`50%`,originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}function Tl(e,{style:t,vars:n},r,i){let a=e.style,o;for(o in t)a[o]=t[o];for(o in i?.applyProjectionStyles(a,r),n)a.setProperty(o,n[o])}function El(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var Dl={correct:(e,t)=>{if(!t.target)return e;if(typeof e==`string`)if(A.test(e))e=parseFloat(e);else return e;return`${El(e,t.target.x)}% ${El(e,t.target.y)}%`}},Ol={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=Gi.parse(e);if(i.length>5)return r;let a=Gi.createTransformer(e),o=typeof i[0]==`number`?0:1,s=n.x.scale*t.x,c=n.y.scale*t.y;i[0+o]/=s,i[1+o]/=c;let l=P(s,c,.5);return typeof i[2+o]==`number`&&(i[2+o]/=l),typeof i[3+o]==`number`&&(i[3+o]/=l),a(i)}},kl={borderRadius:{...Dl,applyTo:[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomLeftRadius`,`borderBottomRightRadius`]},borderTopLeftRadius:Dl,borderTopRightRadius:Dl,borderBottomLeftRadius:Dl,borderBottomRightRadius:Dl,boxShadow:Ol};function Al(e,{layout:t,layoutId:n}){return to.has(e)||e.startsWith(`origin`)||(t||n!==void 0)&&(!!kl[e]||e===`opacity`)}function jl(e,t,n){let r=e.style,i=t?.style,a={};if(!r)return a;for(let t in r)(hs(r[t])||i&&hs(i[t])||Al(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(a[t]=r[t]);return a}function Ml(e){return window.getComputedStyle(e)}var Nl=class extends $c{constructor(){super(...arguments),this.type=`html`,this.renderInstance=Tl}readValueFromInstance(e,t){if(to.has(t))return this.projection?.isProjecting?Xa(t):Qa(e,t);{let n=Ml(e),r=(oi(t)?n.getPropertyValue(t):n[t])||0;return typeof r==`string`?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return yl(e,t)}build(e,t,n){wl(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return jl(e,t,n)}},Pl={offset:`stroke-dashoffset`,array:`stroke-dasharray`},Fl={offset:`strokeDashoffset`,array:`strokeDasharray`};function Il(e,t,n=1,r=0,i=!0){e.pathLength=1;let a=i?Pl:Fl;e[a.offset]=`${-r}`,e[a.array]=`${t} ${n}`}var Ll=[`offsetDistance`,`offsetPath`,`offsetRotate`,`offsetAnchor`];function Rl(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s},c,l,u){if(wl(e,s,l),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{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=u?.transformBox??`fill-box`,delete d.transformBox);for(let e of Ll)d[e]!==void 0&&(f[e]=d[e],delete d[e]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&Il(d,i,a,o,!1)}var zl=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`]),Bl=e=>typeof e==`string`&&e.toLowerCase()===`svg`;function Vl(e,t,n,r){Tl(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(zl.has(n)?n:vs(n),t.attrs[n])}function Hl(e,t,n){let r=jl(e,t,n);for(let n in e)if(hs(e[n])||hs(t[n])){let t=eo.indexOf(n)===-1?n:`attr`+n.charAt(0).toUpperCase()+n.substring(1);r[t]=e[n]}return r}var H=class extends $c{constructor(){super(...arguments),this.type=`svg`,this.isSVGTag=!1,this.measureInstanceViewportBox=Ic}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(to.has(t)){let e=zs(t);return e&&e.default||0}return t=zl.has(t)?t:vs(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return Hl(e,t,n)}
11build(e,t,n){Rl(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){Vl(e,t,n,r)}mount(e){this.isSVGTag=Bl(e.tagName),super.mount(e)}},U=Vc.length;function W(e){if(!e)return;if(!e.isControllingVariants){let t=e.parent&&W(e.parent)||{};return e.props.initial!==void 0&&(t.initial=e.props.initial),t}let t={};for(let n=0;n<U;n++){let r=Vc[n],i=e.props[r];(zc(i)||i===!1)&&(t[r]=i)}return t}function G(e,t){if(!Array.isArray(t))return!1;let 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}var K=[...Bc].reverse(),Ul=Bc.length;function Wl(e){return t=>Promise.all(t.map(({animation:t,options:n})=>Ts(e,t,n)))}function Gl(e){let t=Wl(e),n=q(),r=!0,i=!1,a=t=>(n,r)=>{let i=is(e,r,t===`exit`?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function o(n){t=n(e)}function s(o){let{props:s}=e,c=W(e.parent)||{},l=[],u=new Set,d={},f=1/0;for(let t=0;t<Ul;t++){let p=K[t],m=n[p],h=s[p]===void 0?c[p]:s[p],g=zc(h),_=p===o?m.isActive:null;_===!1&&(f=t);let v=h===c[p]&&h!==s[p]&&g;if(v&&(r||i)&&e.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...d},!m.isActive&&_===null||!h&&!m.prevProp||Rc(h)||typeof h==`boolean`)continue;if(p===`exit`&&m.isActive&&_!==!0){m.prevResolvedValues&&(d={...d,...m.prevResolvedValues});continue}let y=Kl(m.prevProp,h),b=y||p===o&&m.isActive&&!v&&g||t>f&&g,x=!1,S=Array.isArray(h)?h:[h],C=S.reduce(a(p),{});_===!1&&(C={});let{prevResolvedValues:w={}}=m,ee={...w,...C},te=t=>{b=!0,u.has(t)&&(x=!0,u.delete(t)),m.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in ee){let t=C[e],n=w[e];if(d.hasOwnProperty(e))continue;let r=!1;r=ds(t)&&ds(n)?!G(t,n):t!==n,r?t==null?u.add(e):te(e):t!==void 0&&u.has(e)?te(e):m.protectedKeys[e]=!0}m.prevProp=h,m.prevResolvedValues=C,m.isActive&&(d={...d,...C}),(r||i)&&e.blockInitialAnimation&&(b=!1);let ne=v&&y;b&&(!ne||x)&&l.push(...S.map(t=>{let n={type:p};if(typeof t==`string`&&(r||i)&&!ne&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,i=is(r,t);if(r.enteringChildren&&i){let{delayChildren:t}=i.transition||{};n.delay=Ho(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(u.size){let t={};if(typeof s.initial!=`boolean`){let n=is(e,Array.isArray(s.initial)?s.initial[0]:s.initial);n&&n.transition&&(t.transition=n.transition)}u.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=r??null}),l.push({animation:t})}let p=!!l.length;return r&&(s.initial===!1||s.initial===s.animate)&&!e.manuallyAnimateOnMount&&(p=!1),r=!1,i=!1,p?t(l):Promise.resolve()}function c(t,r){if(n[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),n[t].isActive=r;let i=s(t);for(let e in n)n[e].protectedKeys={};return i}return{animateChanges:s,setActive:c,setAnimateFunction:o,getState:()=>n,reset:()=>{n=q(),i=!0}}}function Kl(e,t){return typeof t==`string`?t!==e:Array.isArray(t)?!G(t,e):!1}function ql(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function q(){return{animate:ql(!0),whileInView:ql(),whileHover:ql(),whileTap:ql(),whileDrag:ql(),whileFocus:ql(),exit:ql()}}function Jl(e,t){e.min=t.min,e.max=t.max}function Yl(e,t){Jl(e.x,t.x),Jl(e.y,t.y)}function Xl(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var Zl=1e-4,Ql=1-Zl,$l=1+Zl,eu=.01,tu=0-eu,nu=0+eu;function ru(e){return e.max-e.min}function iu(e,t,n){return Math.abs(e-t)<=n}function au(e,t,n,r=.5){e.origin=r,e.originPoint=P(t.min,t.max,e.origin),e.scale=ru(n)/ru(t),e.translate=P(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Ql&&e.scale<=$l||isNaN(e.scale))&&(e.scale=1),(e.translate>=tu&&e.translate<=nu||isNaN(e.translate))&&(e.translate=0)}function ou(e,t,n,r){au(e.x,t.x,n.x,r?r.originX:void 0),au(e.y,t.y,n.y,r?r.originY:void 0)}function su(e,t,n,r=0){e.min=(r?P(n.min,n.max,r):n.min)+t.min,e.max=e.min+ru(t)}function cu(e,t,n,r){su(e.x,t.x,n.x,r?.x),su(e.y,t.y,n.y,r?.y)}function lu(e,t,n,r=0){let i=r?P(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+ru(t)}function uu(e,t,n,r){lu(e.x,t.x,n.x,r?.x),lu(e.y,t.y,n.y,r?.y)}function du(e,t,n,r,i){return e-=t,e=ll(e,1/n,r),i!==void 0&&(e=ll(e,1/i,r)),e}function fu(e,t=0,n=1,r=.5,i,a=e,o=e){if(Di.test(t)&&(t=parseFloat(t),t=P(o.min,o.max,t/100)-o.min),typeof t!=`number`)return;let s=P(a.min,a.max,r);e===a&&(s-=t),e.min=du(e.min,t,n,s,i),e.max=du(e.max,t,n,s,i)}function pu(e,t,[n,r,i],a,o){fu(e,t[n],t[r],t[i],t.scale,a,o)}var mu=[`x`,`scaleX`,`originX`],hu=[`y`,`scaleY`,`originY`];function gu(e,t,n,r){pu(e.x,t,mu,n?n.x:void 0,r?r.x:void 0),pu(e.y,t,hu,n?n.y:void 0,r?r.y:void 0)}function _u(e){return e.translate===0&&e.scale===1}function vu(e){return _u(e.x)&&_u(e.y)}function yu(e,t){return e.min===t.min&&e.max===t.max}function bu(e,t){return yu(e.x,t.x)&&yu(e.y,t.y)}function xu(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Su(e,t){return xu(e.x,t.x)&&xu(e.y,t.y)}function Cu(e){return ru(e.x)/ru(e.y)}function wu(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Tu(e){return[e(`x`),e(`y`)]}function Eu(e,t,n){let r=``,i=e.x.translate/t.x,a=e.y.translate/t.y,o=n?.z||0;if((i||a||o)&&(r=`translate3d(${i}px, ${a}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,rotateX:i,rotateY:a,skewX:o,skewY:s}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotateX(${i}deg) `),a&&(r+=`rotateY(${a}deg) `),o&&(r+=`skewX(${o}deg) `),s&&(r+=`skewY(${s}deg) `)}let s=e.x.scale*t.x,c=e.y.scale*t.y;return(s!==1||c!==1)&&(r+=`scale(${s}, ${c})`),r||`none`}var Du=[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomLeftRadius`,`borderBottomRightRadius`],Ou=Du.length,ku=e=>typeof e==`string`?parseFloat(e):e,Au=e=>typeof e==`number`||A.test(e);function ju(e,t,n,r,i,a){i?(e.opacity=P(0,n.opacity??1,Nu(r)),e.o
11pacityExit=P(t.opacity??1,0,Pu(r))):a&&(e.opacity=P(t.opacity??1,n.opacity??1,r));for(let i=0;i<Ou;i++){let a=Du[i],o=Mu(t,a),s=Mu(n,a);o===void 0&&s===void 0||(o||=0,s||=0,o===0||s===0||Au(o)===Au(s)?(e[a]=Math.max(P(ku(o),ku(s),r),0),(Di.test(s)||Di.test(o))&&(e[a]+=`%`)):e[a]=s)}(t.rotate||n.rotate)&&(e.rotate=P(t.rotate||0,n.rotate||0,r))}function Mu(e,t){return e[t]===void 0?e.borderRadius:e[t]}var Nu=Fu(0,.5,Lr),Pu=Fu(.5,.95,_r);function Fu(e,t,n){return r=>r<e?0:r>t?1:n(br(e,t,r))}function Iu(e,t,n){let r=hs(e)?e:us(e);return r.start(ts(``,r,t,n)),r.animation}function Lu(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}var Ru=(e,t)=>e.depth-t.depth,zu=class{constructor(){this.children=[],this.isDirty=!1}add(e){lr(this.children,e),this.isDirty=!0}remove(e){ur(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Ru),this.isDirty=!1,this.children.forEach(e)}};function Bu(e,t){let n=ri.now(),r=({timestamp:i})=>{let a=i-n;a>=t&&(Qr(r),e(a-t))};return k.setup(r,!0),()=>Qr(r)}function Vu(e){return hs(e)?e.get():e}var Hu=class{constructor(){this.members=[]}add(e){lr(this.members,e);for(let t=this.members.length-1;t>=0;t--){let n=this.members[t];if(n===e||n===this.lead||n===this.prevLead)continue;let r=n.instance;(!r||r.isConnected===!1)&&!n.snapshot&&(ur(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(ur(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(e.isPresent!==!1&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.updateSnapshot(),e.scheduleRender();let{layoutDependency:r}=n.options,{layoutDependency:i}=e.options;(r===void 0||r!==i)&&(e.resumeFrom=n,t&&(n.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),e.options.crossfade===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}},Uu={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Wu={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},Gu=[``,`X`,`Y`,`Z`],Ku=1e3,qu=0;function J(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Ju(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=bs(t);if(window.MotionHasOptimisedAnimation(n,`transform`)){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,`transform`,k,!(t||r))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Ju(r)}function Yu({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=qu++,this.animationId=0,this.animationCommitId=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.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Jr.value&&(Wu.nodes=Wu.calculatedTargetDeltas=Wu.calculatedProjections=0),this.nodes.forEach(Qu),this.nodes.forEach(sd),this.nodes.forEach(cd),this.nodes.forEach($u),Jr.addProjectionMetrics&&Jr.addProjectionMetrics(Wu)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=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 zu)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new xr),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=hc(t)&&!Ac(t),this.instance=t;let{layoutId:n,layout:r,visualElement:i}=this.options;if(i&&!i.current&&i.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,r=0,i=()=>this.root.updateBlockedByResize=!1;k.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=Bu(i,250),Uu.hasAnimatedSinceResize&&(Uu.hasAnimatedSinceResize=!1,this.nodes.forEac
11h(od)))})}n&&this.root.registerSharedNode(n,this),this.options.animate!==!1&&i&&(n||r)&&this.addEventListener(`didUpdate`,({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let a=this.options.transition||i.getDefaultTransition()||hd,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=i.getProps(),c=!this.targetLayout||!Su(this.targetLayout,r),l=!t&&n;if(this.options.layoutRoot||this.resumeFrom||l||t&&(c||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...Qo(a,`layout`),onPlay:o,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,l)}else t||od(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Qr(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(ld),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Ju(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,(typeof t.latestValues.x==`string`||typeof t.latestValues.y==`string`)&&(t.isLayoutDirty=!0),t.updateScroll(`snapshot`),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(t===void 0&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,``):void 0,this.updateSnapshot(),e&&this.notifyListeners(`willUpdate`)}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(nd),this.nodes.forEach(td);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(rd);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(id),this.nodes.forEach(ad),this.nodes.forEach(Xu),this.nodes.forEach(Zu)):this.nodes.forEach(rd),this.clearAllSnapshots();let e=ri.now();$r.delta=dr(0,1e3/60,e-$r.timestamp),$r.timestamp=e,$r.isProcessing=!0,ei.update.process($r),ei.preRender.process($r),ei.render.process($r),$r.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Js.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(ed),this.sharedNodes.forEach(ud)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,k.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){k.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!ru(this.snapshot.measuredBox.x)&&!ru(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(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();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||=Ic(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners(`measure`,this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify(`LayoutMeasure`,this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e=`measure`){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let 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(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!vu(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,``):void 0,a=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||ol(this.latestValues)||a)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){let t=this.measurePageBox(),n=this.removeElementScroll(t);return e&&(n=this.removeTransform(n)),yd(n),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return Ic();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(xd))){let{scroll:e}=this.root;e&&(hl(t.x,e.offset.x),hl(t.y,e.offset.y))}return t}removeElementScroll(e){let t=Ic();if(Yl(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:a}=r;r!==this.root&&i&&a.layoutScroll&&(i.wasRoot&&Yl(t,e),hl(t.x,i.offset.x),hl(t.y,i.offset.y))}return t}applyTransform(e,t=!1,n){let r=n||Ic();Yl(r,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(hl(r.x,-n.scroll.offset.x),hl(r.y,-n.scroll.offset.y)),ol(n.latestValues)&&vl(r,n.latestValues,n.layout?.layoutBox)}return ol(this.latestValues)&&vl(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){let t=Ic();Yl(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!ol(n.latestValues))continue;let r;n.instance&&(al(n.latestValues)&&n.updateSnapshot(),r=Ic(),Yl(r,n.measurePageBox())),gu(t,n.latestValues,n.snapshot?.layoutBox,r)}return ol(this.latestValues)&&gu(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:e.crossfade===void 0?!0: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!==$r.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||=t.isProjectionDirty,this.isTransformDirty||=t.isTransformDirty,this.isSharedProjectionDirty||=t.isSharedProjectionDirty;let n=!!this.resumingFrom||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:i}=this.options;
11if(!this.layout||!(r||i))return;this.resolvedRelativeTargetAt=$r.timestamp;let a=this.getClosestProjectingParent();a&&this.linkedParentVersion!==a.layoutVersion&&!a.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&a&&a.layout?this.createRelativeTarget(a,this.layout.layoutBox,a.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Ic(),this.targetWithTransforms=Ic()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),cu(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Yl(this.target,this.layout.layoutBox),V(this.target,this.targetDelta)):Yl(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&a&&!!a.resumingFrom==!!this.resumingFrom&&!a.options.layoutScroll&&a.target&&this.animationProgress!==1?this.createRelativeTarget(a,this.target,a.target):this.relativeParent=this.relativeTarget=void 0),Jr.value&&Wu.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||al(this.parent.latestValues)||sl(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,n){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ic(),this.relativeTargetOrigin=Ic(),uu(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),Yl(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===$r.timestamp&&(n=!1),n)return;let{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||i))return;Yl(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;ml(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=Ic());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Xl(this.prevProjectionDelta.x,this.projectionDelta.x),Xl(this.prevProjectionDelta.y,this.projectionDelta.y)),ou(this.projectionDelta,this.layoutCorrected,s,this.latestValues),(this.treeScale.x!==a||this.treeScale.y!==o||!wu(this.projectionDelta.x,this.prevProjectionDelta.x)||!wu(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(`projectionUpdate`,s)),Jr.value&&Wu.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Pc(),this.projectionDelta=Pc(),this.projectionDeltaWithTransform=Pc()}setAnimationOrigin(e,t=!1){let n=this.snapshot,r=n?n.latestValues:{},i={...this.latestValues},a=Pc();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let o=Ic(),s=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),c=this.getStack(),l=!c||c.members.length<=1,u=!!(s&&!l&&this.options.crossfade===!0&&!this.path.some(md));this.animationProgress=0;let d;this.mixTargetDelta=t=>{let n=t/1e3;dd(a.x,e.x,n),dd(a.y,e.y,n),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(uu(o,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),pd(this.relativeTarget,this.relativeTargetOrigin,o,n),d&&bu(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||=Ic(),Yl(d,this.relativeTarget)),s&&(this.animationValues=i,ju(i,r,this.latestValues,n,u,l)),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&&=(Qr(this.pendingAnimation),void 0),this.pendingAnimation=k.update(()=>{Uu.hasAnimatedSinceResize=!0,ii.layout++,this.motionValue||=us(0),this.motionValue.jump(0,!1),this.currentAnimation=Iu(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{ii.layout--},onComplete:()=>{ii.layout--,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);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners(`animationComplete`)}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Ku),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(!(!t||!n||!r)){if(this!==e&&this.layout&&r&&bd(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||Ic();let t=ru(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=ru(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}Yl(t,n),vl(t,i),ou(this.projectionDeltaWithTransform,this.layoutCorrected,t,i
11)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Hu),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return e?e.lead===this:!0}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return e?e.relegate(this):!1}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&J(`z`,e,r,this.animationValues);for(let t=0;t<Gu.length;t++)J(`rotate${Gu[t]}`,e,r,this.animationValues),J(`skew${Gu[t]}`,e,r,this.animationValues);e.render();for(let t in r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility=`hidden`;return}let n=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility=``,e.opacity=``,e.pointerEvents=Vu(t?.pointerEvents)||``,e.transform=n?n(this.latestValues,``):`none`;return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(e.opacity=this.latestValues.opacity===void 0?1:this.latestValues.opacity,e.pointerEvents=Vu(t?.pointerEvents)||``),this.hasProjected&&!ol(this.latestValues)&&(e.transform=n?n({},``):`none`,this.hasProjected=!1);return}e.visibility=``;let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();let a=Eu(this.projectionDeltaWithTransform,this.treeScale,i);n&&(a=n(i,a)),e.transform=a;let{x:o,y:s}=this.projectionDelta;e.transformOrigin=`${o.origin*100}% ${s.origin*100}% 0`,r.animationValues?e.opacity=r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:e.opacity=r===this?i.opacity===void 0?``:i.opacity:i.opacityExit===void 0?0:i.opacityExit;for(let t in kl){if(i[t]===void 0)continue;let{correct:n,applyTo:o,isCSSVariable:s}=kl[t],c=a===`none`?i[t]:n(i[t],r);if(o){let t=o.length;for(let n=0;n<t;n++)e[o[n]]=c}else s?this.options.visualElement.renderState.vars[t]=c:e[t]=c}this.options.layoutId&&(e.pointerEvents=r===this?Vu(t?.pointerEvents)||``:`none`)}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(td),this.root.sharedNodes.clear()}}}function Xu(e){e.updateLayout()}function Zu(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners(`didUpdate`)){let{layoutBox:n,measuredBox:r}=e.layout,{animationType:i}=e.options,a=t.source!==e.layout.source;if(i===`size`)Tu(e=>{let r=a?t.measuredBox[e]:t.layoutBox[e],i=ru(r);r.min=n[e].min,r.max=r.min+i});else if(i===`x`||i===`y`){let e=i===`x`?`y`:`x`;Jl(a?t.measuredBox[e]:t.layoutBox[e],n[e])}else bd(i,t.layoutBox,n)&&Tu(r=>{let i=a?t.measuredBox[r]:t.layoutBox[r],o=ru(n[r]);i.max=i.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+o)});let o=Pc();ou(o,n,t.layoutBox);let s=Pc();a?ou(s,e.applyTransform(r,!0),t.measuredBox):ou(s,n,t.layoutBox);let c=!vu(o),l=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:a}=r;if(i&&a){let o=e.options.layoutAnchor||void 0,s=Ic();uu(s,t.layoutBox,i.layoutBox,o);let c=Ic();uu(c,n,a.layoutBox,o),Su(s,c)||(l=!0),r.options.layoutRoot&&(e.relativeTarget=c,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners(`didUpdate`,{layout:n,snapshot:t,delta:s,layoutDelta:o,hasLayoutChanged:c,hasRelativeLayoutChanged:l})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function Qu(e){Jr.value&&Wu.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty),e.isTransformDirty||=e.parent.isTransformDirty)}function $u(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function ed(e){e.clearSnapshot()}function td(e){e.clearMeasurements()}
11function nd(e){e.isLayoutDirty=!0,e.updateLayout()}function rd(e){e.isLayoutDirty=!1}function id(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function ad(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify(`BeforeLayoutMeasure`),e.resetTransform()}function od(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function sd(e){e.resolveTargetDelta()}function cd(e){e.calcProjection()}function ld(e){e.resetSkewAndRotation()}function ud(e){e.removeLeadSnapshot()}function dd(e,t,n){e.translate=P(t.translate,0,n),e.scale=P(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function fd(e,t,n,r){e.min=P(t.min,n.min,r),e.max=P(t.max,n.max,r)}function pd(e,t,n,r){fd(e.x,t.x,n.x,r),fd(e.y,t.y,n.y,r)}function md(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var hd={duration:.45,ease:[.4,0,.1,1]},gd=e=>typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),_d=gd(`applewebkit/`)&&!gd(`chrome/`)?Math.round:_r;function vd(e){e.min=_d(e.min),e.max=_d(e.max)}function yd(e){vd(e.x),vd(e.y)}function bd(e,t,n){return e===`position`||e===`preserve-aspect`&&!iu(Cu(t),Cu(n),.2)}function xd(e){return e!==e.root&&e.scroll?.wasRoot}var Sd=Yu({attachResizeListener:(e,t)=>Lu(e,`resize`,t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Y={current:void 0},Cd=Yu({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Y.current){let e=new Sd({});e.mount(window),e.setOptions({layoutScroll:!0}),Y.current=e}return Y.current},resetTransform:(e,t)=>{e.style.transform=t===void 0?`none`:t},checkIsScrollRoot:e=>window.getComputedStyle(e).position===`fixed`}),wd=(0,b.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:`never`});function Td(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function Ed(...e){return t=>{let n=!1,r=e.map(e=>{let r=Td(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():Td(e[t],null)}}}}function Dd(...e){return b.useCallback(Ed(...e),e)}var X=ir(),Od=class extends b.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(qs(t)&&e.isPresent&&!this.props.isPresent&&this.props.pop!==!1){let e=t.offsetParent,n=qs(e)&&e.offsetWidth||0,r=qs(e)&&e.offsetHeight||0,i=getComputedStyle(t),a=this.props.sizeRef.current;a.height=parseFloat(i.height),a.width=parseFloat(i.width),a.top=t.offsetTop,a.left=t.offsetLeft,a.right=n-a.width-a.left,a.bottom=r-a.height-a.top}return null}componentDidUpdate(){}render(){return this.props.children}};function kd({children:e,isPresent:t,anchorX:n,anchorY:r,root:i,pop:a}){let o=(0,b.useId)(),s=(0,b.useRef)(null),c=(0,b.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:l}=(0,b.useContext)(wd),u=Dd(s,e.props?.ref??e?.ref);return(0,b.useInsertionEffect)(()=>{let{width:e,height:u,top:d,left:f,right:p,bottom:m}=c.current;if(t||a===!1||!s.current||!e||!u)return;let h=n===`left`?`left: ${f}`:`right: ${p}`,g=r===`bottom`?`bottom: ${m}`:`top: ${d}`;s.current.dataset.motionPopId=o;let _=document.createElement(`style`);l&&(_.nonce=l);let v=i??document.head;return v.appendChild(_),_.sheet&&_.sheet.insertRule(`
12          [data-motion-pop-id="${o}"] {
13            position: absolute !important;
14            width: ${e}px !important;
15            height: ${u}px !important;
16            ${h}px !important;
17            ${g}px !important;
18          }
19        `),()=>{s.current?.removeAttribute(`data-motion-pop-id`),v.contains(_)&&v.removeChild(_)}},[t]),(0,X.jsx)(Od,{isPresent:t,childRef:s,sizeRef:c,pop:a,children:a===!1?e:b.cloneElement(e,{ref:u})})}var Ad=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:a,mode:o,anchorX:s,anchorY:c,root:l})=>{let u=or(jd),d=(0,b.useId)(),f=!0,p=(0,b.useMemo)(()=>(f=!1,{id:d,initial:t,isPresent:n,custom:i,onExitComplete:e=>{u.set(e,!0);for(let e of u.values())if(!e)return;r&&r()},register:e=>(u.set(e,!1),()=>u.delete(e))}),[n,u,r]);return a&&f&&(p={...p}),(0,b.useMemo)(()=>{u.forEach((e,t)=>u.set(t,!1))},[n]),b.useEffect(()=>{!n&&!u.size&&r&&r()},[n]),e=(0,X.jsx)(kd,{pop:o===`popLayout`,isPresent:n,anchorX:s,anchorY:c,root:l,children:e}),(0,X.jsx)(cr.Provider,{value:p,children:e})};
19function jd(){return new Map}function Md(e=!0){let t=(0,b.useContext)(cr);if(t===null)return[!0,null];let{isPresent:n,onExitComplete:r,register:i}=t,a=(0,b.useId)();(0,b.useEffect)(()=>{if(e)return i(a)},[e]);let o=(0,b.useCallback)(()=>e&&r&&r(a),[a,r,e]);return!n&&r?[!1,o]:[!0]}var Nd=e=>e.key||``;function Pd(e){let t=[];return b.Children.forEach(e,e=>{(0,b.isValidElement)(e)&&t.push(e)}),t}var Z=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:a=`sync`,propagate:o=!1,anchorX:s=`left`,anchorY:c=`top`,root:l})=>{let[u,d]=Md(o),f=(0,b.useMemo)(()=>Pd(e),[e]),p=o&&!u?[]:f.map(Nd),m=(0,b.useRef)(!0),h=(0,b.useRef)(f),g=or(()=>new Map),_=(0,b.useRef)(new Set),[v,y]=(0,b.useState)(f),[x,S]=(0,b.useState)(f);sr(()=>{m.current=!1,h.current=f;for(let e=0;e<x.length;e++){let t=Nd(x[e]);p.includes(t)?(g.delete(t),_.current.delete(t)):g.get(t)!==!0&&g.set(t,!1)}},[x,p.length,p.join(`-`)]);let C=[];if(f!==v){let e=[...f];for(let t=0;t<x.length;t++){let n=x[t],r=Nd(n);p.includes(r)||(e.splice(t,0,n),C.push(n))}return a===`wait`&&C.length&&(e=C),S(Pd(e)),y(f),null}let{forceRender:w}=(0,b.useContext)(ar);return(0,X.jsx)(X.Fragment,{children:x.map(e=>{let v=Nd(e),y=o&&!u?!1:f===x||p.includes(v);return(0,X.jsx)(Ad,{isPresent:y,initial:!m.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:a,root:l,onExitComplete:y?void 0:()=>{if(_.current.has(v))return;if(g.has(v))_.current.add(v),g.set(v,!0);else return;let e=!0;g.forEach(t=>{t||(e=!1)}),e&&(w?.(),S(h.current),o&&d?.(),r&&r())},anchorX:s,anchorY:c,children:e},v)})})},Fd=(0,b.createContext)({strict:!1}),Id={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`]},Ld=!1;function Rd(){if(Ld)return;let e={};for(let t in Id)e[t]={isEnabled:e=>Id[t].some(t=>!!e[t])};Xc(e),Ld=!0}function zd(){return Rd(),Zc()}function Bd(e){let t=zd();for(let n in e)t[n]={...t[n],...e[n]};Xc(t)}var Vd=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.propagate.ignoreStrict.viewport`.split(`.`));function Hd(e){return e.startsWith(`while`)||e.startsWith(`drag`)&&e!==`draggable`||e.startsWith(`layout`)||e.startsWith(`onTap`)||e.startsWith(`onPan`)||e.startsWith(`onLayout`)||Vd.has(e)}var Ud=c({default:()=>Wd}),Wd,Gd=o((()=>{throw Wd={},Error(`Could not resolve "@emotion/is-prop-valid" imported by "framer-motion". Is it installed?`)})),Kd=e=>!Hd(e);function qd(e){typeof e==`function`&&(Kd=t=>t.startsWith(`on`)?!Hd(t):e(t))}try{qd((Gd(),d(Ud)).default)}catch{}function Jd(e,t,n){let r={};for(let i in e)i===`values`&&typeof e.values==`object`||hs(e[i])||(Kd(i)||n===!0&&Hd(i)||!t&&!Hd(i)||e.draggable&&i.startsWith(`onDrag`))&&(r[i]=e[i]);return r}var Yd=(0,b.createContext)({});function Xd(e,t){if(B(e)){let{initial:t,animate:n}=e;return{initial:t===!1||zc(t)?t:void 0,animate:zc(n)?n:void 0}}return e.inherit===!1?{}:t}function Zd(e){let{initial:t,animate:n}=Xd(e,(0,b.useContext)(Yd));return(0,b.useMemo)(()=>({initial:t,animate:n}),[Qd(t),Qd(n)])}function Qd(e){return Array.isArray(e)?e.join(` `):e}var $d=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function ef(e,t,n){for(let r in t)!hs(t[r])&&!Al(r,n)&&(e[r]=t[r])}function tf({transformTemplate:e},t){return(0,b.useMemo)(()=>{let n=$d();return wl(n,t,e),Object.assign({},n.vars,n.style)},[t])}function nf(e,t){let n=e.style||{},r={};return ef(r,n,e),Object.assign(r,tf(e,t)),r}function rf(e,t){let n={},r=nf(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout=`none`,r.touchAction=e.drag===!0?`none`:`pan-${e.drag===`x`?`y`:`x`}
19`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}var af=()=>({...$d(),attrs:{}});function of(e,t,n,r){let i=(0,b.useMemo)(()=>{let n=af();return Rl(n,t,Bl(r),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};ef(t,e.style,e),i.style={...t,...i.style}}return i}var sf=[`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 cf(e){return typeof e!=`string`||e.includes(`-`)?!1:!!(sf.indexOf(e)>-1||/[A-Z]/u.test(e))}function lf(e,t,n,{latestValues:r},i,a=!1,o){let s=(o??cf(e)?of:rf)(t,r,i,e),c=Jd(t,typeof e==`string`,a),l=e===b.Fragment?{}:{...c,...s,ref:n},{children:u}=t,d=(0,b.useMemo)(()=>hs(u)?u.get():u,[u]);return(0,b.createElement)(e,{...l,children:d})}function uf({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:df(n,r,i,e),renderState:t()}}function df(e,t,n,r){let i={},a=r(e,{});for(let e in a)i[e]=Vu(a[e]);let{initial:o,animate:s}=e,c=B(e),l=Hc(e);t&&l&&!c&&e.inherit!==!1&&(o===void 0&&(o=t.initial),s===void 0&&(s=t.animate));let u=n?n.initial===!1:!1;u||=o===!1;let d=u?s:o;if(d&&typeof d!=`boolean`&&!Rc(d)){let t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){let r=rs(e,t[n]);if(r){let{transitionEnd:e,transition:t,...n}=r;for(let e in n){let t=n[e];if(Array.isArray(t)){let e=u?t.length-1:0;t=t[e]}t!==null&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}var ff=e=>(t,n)=>{let r=(0,b.useContext)(Yd),i=(0,b.useContext)(cr),a=()=>uf(e,t,r,i);return n?a():or(a)},pf=ff({scrapeMotionValuesFromProps:jl,createRenderState:$d}),mf=ff({scrapeMotionValuesFromProps:Hl,createRenderState:af}),hf=Symbol.for(`motionComponentSymbol`);function gf(e,t,n){let r=(0,b.useRef)(n);(0,b.useInsertionEffect)(()=>{r.current=n});let i=(0,b.useRef)(null);return(0,b.useCallback)(n=>{n&&e.onMount?.(n);let a=r.current;if(typeof a==`function`)if(n){let e=a(n);typeof e==`function`&&(i.current=e)}else i.current?(i.current(),i.current=null):a(n);else a&&(a.current=n);t&&(n?t.mount(n):t.unmount())},[t])}var _f=(0,b.createContext)({});function vf(e){return e&&typeof e==`object`&&Object.prototype.hasOwnProperty.call(e,`current`)}function yf(e,t,n,r,i,a){let{visualElement:o}=(0,b.useContext)(Yd),s=(0,b.useContext)(Fd),c=(0,b.useContext)(cr),l=(0,b.useContext)(wd),u=l.reducedMotion,d=l.skipAnimations,f=(0,b.useRef)(null),p=(0,b.useRef)(!1);r||=s.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:o,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:u,skipAnimations:d,isSVG:a}),p.current&&f.current&&(f.current.manuallyAnimateOnMount=!0));let m=f.current,h=(0,b.useContext)(_f);m&&!m.projection&&i&&(m.type===`html`||m.type===`svg`)&&bf(f.current,n,i,h);let g=(0,b.useRef)(!1);(0,b.useInsertionEffect)(()=>{m&&g.current&&m.update(n,c)});let _=n[ys],v=(0,b.useRef)(!!_&&typeof window<`u`&&!window.MotionHandoffIsComplete?.(_)&&window.MotionHasOptimisedAnimation?.(_));return sr(()=>{p.current=!0,m&&(g.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),v.current&&m.animationState&&m.animationState.animateChanges())}),(0,b.useEffect)(()=>{m&&(!v.current&&m.animationState&&m.animationState.animateChanges(),v.current&&=(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(_)}),!1),m.enteringChildren=void 0)}),m}function bf(e,t,n,r){let{layoutId:i,layout:a,drag:o,dragConstraints:s,layoutScroll:c,layoutRoot:l,layoutAnchor:u,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t[`data-framer-portal-id`]?void 0:xf(e.parent)),e.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:!!o||s&&vf(s),visualElement:e,animationType:typeof a==`string`?a:`both`,initialPromotionConfig:r,crossfade:d,layoutScroll:c,layoutRoot:l,layoutAnchor:u})}function xf(e){if(e)return e.options.allowProjection===!1?xf(e.parent):e.projection}function Sf(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&Bd(r);let a=n?n===`svg`:cf(e),o=a?mf:pf;function s(n,s){let c,l={...(0,b.useContext)(wd),...n,layoutId:Cf(n)},{isStatic:u}=l,d=Zd(n),f=o(n,u);if(!u&&typeof window<`u`){wf(l,r);let t=Tf(l);c=t.MeasureLayout,d.visualElement=yf(e,f,l,i,t.ProjectionNode,a)}return(0,X.jsxs)(Yd.Provider,{value:d,children:[c&&d.visualElement?(0,X.jsx)(c,{visualElement:d.visualElement,...l}):null,lf(e,n,gf(f,d.visualElement,s),f,u,t,a)]})}s.displayName=`motion.${typeof e==`string`?e:`create(${e.displayName??e.name??``})`}`;let c=(0,b.forwardRef)(s);return c[hf]=e,c}function Cf({layoutId:e}){let t=(0,b.useContext)(ar).id;return t&&e!==void 0?t+`-`+e:e}function wf(e,t){(0,b.useContext)(Fd).strict}function Tf(e){let{drag:t,layout:n}=zd();if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}
19function Ef(e,t){if(typeof Proxy>`u`)return Sf;let n=new Map,r=(n,r)=>Sf(n,r,e,t);return new Proxy((e,t)=>r(e,t),{get:(i,a)=>a===`create`?r:(n.has(a)||n.set(a,Sf(a,void 0,e,t)),n.get(a))})}var Df=(e,t)=>t.isSVG??cf(e)?new H(t):new Nl(t,{allowProjection:e!==b.Fragment}),Of=class extends el{constructor(e){super(e),e.animationState||=Gl(e)}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();Rc(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}},kf=0,Af={animation:{Feature:Of},exit:{Feature:class extends el{constructor(){super(...arguments),this.id=kf++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;if(e&&n===!1){if(this.isExitComplete){let{initial:e,custom:t}=this.node.getProps();if(typeof e==`string`){let n=is(this.node,e,t);if(n){let{transition:e,transitionEnd:t,...r}=n;for(let e in r)this.node.getValue(e)?.jump(r[e])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive(`exit`,!1);this.isExitComplete=!1;return}let r=this.node.animationState.setActive(`exit`,!e);t&&!e&&r.then(()=>{this.isExitComplete=!0,t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}}};function jf(e){return{point:{x:e.pageX,y:e.pageY}}}var Mf=e=>t=>rc(t)&&e(t,jf(t));function Nf(e,t,n,r){return Lu(e,t,Mf(n),r)}var Pf=({current:e})=>e?e.ownerDocument.defaultView:null,Ff=(e,t)=>Math.abs(e-t);function If(e,t){let n=Ff(e.x,t.x),r=Ff(e.y,t.y);return Math.sqrt(n**2+r**2)}var Lf=new Set([`auto`,`scroll`]),Rf=class{constructor(e,t,{transformPagePoint:n,contextWindow:r=window,dragSnapToOrigin:i=!1,distanceThreshold:a=3,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=zf(this.lastRawMoveEventInfo,this.transformPagePoint));let e=Vf(this.lastMoveEventInfo,this.history),t=this.startEvent!==null,n=If(e.offset,{x:0,y:0})>=this.distanceThreshold;if(!t&&!n)return;let{point:r}=e,{timestamp:i}=$r;this.history.push({...r,timestamp:i});let{onStart:a,onMove:o}=this.handlers;t||(a&&a(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=zf(t,this.transformPagePoint),k.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:n,onSessionEnd:r,resumeAnimation:i}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let a=Vf(e.type===`pointercancel`?this.lastMoveEventInfo:zf(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,a),r&&r(e,a)},!rc(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=a,this.contextWindow=r||window;let s=zf(jf(e),this.transformPagePoint),{point:c}=s,{timestamp:l}=$r;this.history=[{...c,timestamp:l}];let{onSessionStart:u}=t;u&&u(e,Vf(s,this.history)),this.removeListeners=yr(Nf(this.contextWindow,`pointermove`,this.handlePointerMove),Nf(this.contextWindow,`pointerup`,this.handlePointerUp),Nf(this.contextWindow,`pointercancel`,this.handlePointerUp)),o&&this.startScrollTracking(o)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(Lf.has(e.overflowX)||Lf.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener(`scroll`,this.onElementScroll,{capture:!0}),window.addEventListener(`scroll`,this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener(`scroll`,this.onElementScroll,{capture:!0}),window.removeEventListener(`scroll`,this.onWindowScroll)}}handleScroll(e){let t=this.scrollPositions.get(e);if(!t)return;let n=e===window,r=n?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},i={x:r.x-t.x,y:r.y-t.y};i.x===0&&i.y===0||(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(e,r),k.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Qr(this.updatePoint)}};function zf(e,t){return t?{point:t(e.point)}:e}function Bf(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Vf({point:e}
19,t){return{point:e,delta:Bf(e,Uf(t)),offset:Bf(e,Hf(t)),velocity:Wf(t,.1)}}function Hf(e){return e[0]}function Uf(e){return e[e.length-1]}function Wf(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=Uf(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Sr(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&i.timestamp-r.timestamp>Sr(t)*2&&(r=e[1]);let a=Cr(i.timestamp-r.timestamp);if(a===0)return{x:0,y:0};let o={x:(i.x-r.x)/a,y:(i.y-r.y)/a};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function Gf(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?P(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?P(n,e,r.max):Math.min(e,n)),e}function Kf(e,t,n){return{min:t===void 0?void 0:e.min+t,max:n===void 0?void 0:e.max+n-(e.max-e.min)}}function qf(e,{top:t,left:n,bottom:r,right:i}){return{x:Kf(e.x,n,i),y:Kf(e.y,t,r)}}function Jf(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}}function Yf(e,t){return{x:Jf(e.x,t.x),y:Jf(e.y,t.y)}}function Xf(e,t){let n=.5,r=ru(e),i=ru(t);return i>r?n=br(t.min,t.max-r,e.min):r>i&&(n=br(e.min,e.max-i,t.min)),dr(0,1,n)}function Zf(e,t){let n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}var Qf=.35;function $f(e=Qf){return e===!1?e=0:e===!0&&(e=Qf),{x:ep(e,`left`,`right`),y:ep(e,`top`,`bottom`)}}function ep(e,t,n){return{min:tp(e,t),max:tp(e,n)}}function tp(e,t){return typeof e==`number`?e:e[t]||0}var np=new WeakMap,rp=class{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=Ic(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:n}={}){let{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;let i=e=>{t&&this.snapToCursor(jf(e).point),this.stopAnimation()},a=(e,t)=>{let{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Qs(n),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Tu(e=>{let t=this.getAxisMotionValue(e).get()||0;if(Di.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[e];r&&(t=ru(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&k.update(()=>i(e,t),!1,!0),_s(this.visualElement,`transform`);let{animationState:a}=this.visualElement;a&&a.setActive(`whileDrag`,!0)},o=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:a}=this.getProps();if(!n&&!this.openDragLock)return;let{offset:o}=t;if(r&&this.currentDirection===null){this.currentDirection=sp(o),this.currentDirection!==null&&i&&i(this.currentDirection);return}this.updateAxis(`x`,t.point,o),this.updateAxis(`y`,t.point,o),this.visualElement.render(),a&&k.update(()=>a(e,t),!1,!0)},s=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:l}=this.getProps();this.panSession=new Rf(e,{onSessionStart:i,onStart:a,onMove:o,onSessionEnd:s,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,distanceThreshold:n,contextWindow:Pf(this.visualElement),element:this.visualElement.current})}stop(e,t){let n=e||this.latestPointerEvent,r=t||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!r||!n)return;let{velocity:a}=r;this.startAnimation(a);let{onDragEnd:o}=this.getProps();o&&k.postRender(()=>o(n,r))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive(`whileDrag`,!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!op(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),a=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(a=Gf(a,this.constraints[e],this.elastic[e])),i.set(a)}resolveConstraints(){let{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&&vf(e)?this.constraints||=this.resolveRefConstraints():e&&n?this.constraints=qf(n.layoutBox,e):this.constraints=!1,this.elastic=$f(t),r!==this.constraints&&!vf(e)&&n&&this.constraints&&!this.hasMutatedConstraints&&Tu(e=>{this.constraints!==!1&&this.getAxisMotionValue(e)&&(this.constraints[e]=Zf(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){let{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!vf(e))return!1;let n=e.current,{projection:r}=this.visualElement;if(!r||!r.layout)return!1;let i=bl(n,r.root,this.visualElement.getTransformPagePoint()),a=Yf(r.layout.layoutBox,i);if(t){let e=t(nl(a));this.hasMutatedConstraints=!!e,e&&(a=tl(e))}return a}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:o}=this.getProps(),s=this.constraints||{},c=Tu(o=>{if(!op(o,t,this.currentDirection))return;let c=s&&s[o]||{};(a===!0||a===o)&&(c={min:0,max:0});let l=r?200:1e6,u=r?40:1e7,d={type:`inertia`,velocity:n?e[o]:0,bounceStiffness:l,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...i,...c};return this.startAxisValueAnimation(o,d)});return Promise.all(c).then(o)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return _s(this.visualElement,e),n.start(ts(e,n,0,t,this.visualElement,!1))}stopAnimation(){Tu(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let 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){Tu(t=>{let{drag:n}=this.getProps();if(!op(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){let{min:n,max:a}=r.layout.layoutBox[t],o=i.get()||0;i.set(e[t]-P(n,a,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!vf(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};Tu(e=>{let t=this.getAxisMotionValue(e);if(t&&this.constraints!==!1){let n=t.get();r[e]=Xf({min:n,max:n},this.constraints[e])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},``):`none`,n.root&&n.root.updateScroll(),n.updateLayout(),this.constraints=!1,this.resolveConstraints(),Tu(t=>
19{if(!op(t,e,null))return;let n=this.getAxisMotionValue(t),{min:i,max:a}=this.constraints[t];n.set(P(i,a,r[t]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;np.set(this.visualElement,this);let e=this.visualElement.current,t=Nf(e,`pointerdown`,t=>{let{drag:n,dragListener:r=!0}=this.getProps(),i=t.target,a=i!==e&&sc(i);n&&r&&!a&&this.start(t)}),n,r=()=>{let{dragConstraints:t}=this.getProps();vf(t)&&t.current&&(this.constraints=this.resolveRefConstraints(),n||=ap(e,t.current,()=>this.scalePositionWithinConstraints()))},{projection:i}=this.visualElement,a=i.addEventListener(`measure`,r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),k.read(r);let o=Lu(window,`resize`,()=>this.scalePositionWithinConstraints()),s=i.addEventListener(`didUpdate`,(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Tu(t=>{let n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())}));return()=>{o(),t(),a(),s&&s(),n&&n()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:a=Qf,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:a,dragMomentum:o}}};function ip(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function ap(e,t,n){let r=kc(e,ip(n)),i=kc(t,ip(n));return()=>{r(),i()}}function op(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function sp(e,t=10){let n=null;return Math.abs(e.y)>t?n=`y`:Math.abs(e.x)>t&&(n=`x`),n}var cp=class extends el{constructor(e){super(e),this.removeGroupControls=_r,this.removeListeners=_r,this.controls=new rp(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||_r}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},lp=e=>(t,n)=>{e&&k.update(()=>e(t,n),!1,!0)},up=class extends el{constructor(){super(...arguments),this.removePointerDownListener=_r}onPointerDown(e){this.session=new Rf(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Pf(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:lp(e),onStart:lp(t),onMove:lp(n),onEnd:(e,t)=>{delete this.session,r&&k.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=Nf(this.node.current,`pointerdown`,e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}},dp=!1,fp=class extends b.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),dp&&i.root.didUpdate(),i.addEventListener(`animationComplete`,()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Uu.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,{projection:a}=n;return a?(a.isPresent=i,e.layoutDependency!==t&&a.setOptions({...a.options,layoutDependency:t}),dp=!0,r||e.layoutDependency!==t||t===void 0||e.isPresent!==i?a.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?a.promote():a.relegate()||k.postRender(()=>{let e=a.getStack();(!e||!e.members.length)&&this.safeToRemove()})),null):null}componentDidUpdate(){let{visualElement:e,layoutAnchor:t}=this.props,{projection:n}=e;n&&(n.options.layoutAnchor=t,n.root.didUpdate(),Js.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;dp=!0,r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}};function pp(e){let[t,n]=Md(),r=(0,b.useContext)(ar);return(0,X.jsx)(fp,{...e,layoutGroup:r,switchLayoutGroup:(0,b.useContext)(_f),isPresent:t,safeToRemove:n})}var mp={pan:{Feature:up},drag:{Feature:cp,ProjectionNode:Cd,MeasureLayout:pp}};function hp(e,t,n){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive(`whileHover`,n===`Start`);let i=r[`onHover`+n];i&&k.postRender(()=>i(t,jf(t)))}var gp=class extends el{mount(){let{current:e}=this.node;e&&(this.unmount=tc(e,(e,t)=>(hp(this.node,t,`Start`),e=>hp(this.node,e,`End`))))}unmount(){}},_p=class extends el{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(`:focus-visible`)}catch{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=yr(Lu(this.node.current,`focus`,()=>this.onFocus()),Lu(this.node.current,`blur`,()=>this.onBlur()))}unmount(){}};function vp(e,t,n){let{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive(`whileTap`,n===`Start`);let i=r[`onTap`+(n===`End`?``:n)];i&&k.postRender(()=>i(t,jf(t)))}var yp=class extends el{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:n}=this.node.props;this.unmount=mc(e,(e,t)=>(vp(this.node,t,`Start`),(e,{success:t})=>vp(this.node,e,t?`End`:`Cancel`)),{useGlobalTarget:t,stopPropagation:n?.tap===!1})}unmount(){}},bp=new WeakMap,xp=new WeakMap,Sp=e=>{let t=bp.get(e.target);t&&t(e)},Cp=e=>{e.forEach(Sp)};function wp({root:e,...t}){let n=e||document;xp.has(n)||xp.set(n,{});let r=xp.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(Cp,{root:e,...t})),r[i]}function Tp(e,t,n){let r=wp(t);return bp.set(e,n),r.observe(e),()=>{bp.delete(e),r.unobserve(e)}}var Ep={some:0,all:1},Dp=class extends el{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();let{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r=`some`,once:i}=e,a={root:t?t.current:void 0,rootMargin:n,threshold:typeof r==`number`?r:Ep[r]};this.stopObserver=Tp(this.node.current,a,e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive(`whileInView`,t);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),a=t?n:r;a&&a(e)})}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>`u`)return;let{props:e,prevProps:t}=this.node;[`amount`,`margin`,`root`].some(Op(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}};function Op({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}var kp={inView:{Feature:Dp},tap:{Feature:yp},focus:{Feature:_p},hover:{Feature:gp}},Ap={layout:{ProjectionNode:Cd,MeasureLayout:pp}},Q=Ef({...Af,...kp,...mp,...Ap},Df);function jp(){let[e,t]=(0,b.useState)(!1),[n,r]=(0,b.useState)(!1);return(0,b.useEffect)(()=>{function e(){t(window.scrollY>20)}return window.addEventListener(`scroll`,e,{passive:!0}),()=>window.removeEventListener(`scroll`,e)},[]),(0,X.jsxs)(`header`,{className:`header ${e?`header--scrolled`:``}`,children:[(0,X.jsxs)(`div`,{className:`container header__inner`,children:[(0,X.jsxs)(Rn,{to:`/`,className:`header__logo`,"aria-label":`ScamDB Home`,children:[(0,X.jsx)(`div`,{className:`header__logo-icon`,children:(0,X.jsxs)(`svg`,{width:`34`,height:`34`,viewBox:`0 0 34 34`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:[(0,X.jsx)(`rect`,{width:`34`,height:`34`,rx:`10`,fill:`var(--color-primary)`}),(0,X.jsx)(`path`,{d:`M17 8L8 13V21L17 26L26 21V13L17 8Z`,fill:`white`,fillOpacity:`0.2`,stroke:`white`,strokeWidth:`1.5`,strokeLinejoin:`round`}),(0,X.jsx)(`path`,{d:`M17 12L12 15V19L17 22L22 19V15L17 12Z`,fill:`white`})]})}),(0,X.jsxs)(`div`,{className:`header__logo-text`,children:[(0,X.jsx)(`span`,{className:`header__logo-name`,children:`ScamDB`}),(0,X.jsx)(`span`,{className:`header__logo-sub`,children:`by myfactree.org`})]})]}),(0,X.jsxs)(`nav`,{className:`header__nav`,"aria-label":`Main navigation`,children:[(0,X.jsx)(zn,{to:`/`,end:!0,className:({isActive:e})=>`header__nav-link ${e?`header__nav-link--active`:``}`,children:`Home`}),(0,X.jsx)(zn,{to:`/scams`,className:({isActive:e})=>`header__nav-link ${e?`header__nav-link--active`:``}`,children:`Browse Scams`}),(0,X.jsx)(zn,{to:`/reports`,className:({isActive:e})=>`header__nav-link ${e?`header__nav-link--active`:``}`,children:`Community Reports`}),(0,X.jsx)(zn,{to:`/submit`,className:({isActive:e})=>`header__nav-link ${e?`header__nav-link--active`:``}`,children:`Submit a Scam`}),(0,X.jsx)(`a`,{href:`https://myfactree.org`,target:`_blank`,rel:`noopener noreferrer`,className:`header__nav-link`,children:`myfactree.org ↗`})]}),(0,X.jsxs)(`div`,{className:`header__actions`,children:[(0,X.jsx)(`a`,{href:`https://cybercrime.gov.in`,target:`_blank`,rel:`noopener noreferrer`,className:`header__cta`,children:`Report a Scam`}),(0,X.jsx)(`button`,{className:`header__burger`,onClick:()=>r(!n),"aria-label":`Toggle menu`,"aria-expanded":n,children:(0,X.jsxs)(`span`,{className:`header__burger-icon ${n?`header__burger-icon--open`:``}`,children:[(0,X.jsx)(`span`,{}),(0,X.jsx)(`span`,{}),(0,X.jsx)(`span`,{})]})})]})]}),(0,X.jsx)(Z,{children:n&&(0,X.jsx)(Q.div,{className:`header__mobile`,initial:{opacity:0,height:0}
19,animate:{opacity:1,height:`auto`},exit:{opacity:0,height:0},transition:{duration:.22,ease:`easeInOut`},children:(0,X.jsxs)(`nav`,{className:`header__mobile-nav`,children:[(0,X.jsx)(Rn,{to:`/`,className:`header__mobile-link`,onClick:()=>r(!1),children:`Home`}),(0,X.jsx)(Rn,{to:`/scams`,className:`header__mobile-link`,onClick:()=>r(!1),children:`Browse Scams`}),(0,X.jsx)(Rn,{to:`/reports`,className:`header__mobile-link`,onClick:()=>r(!1),children:`Community Reports`}),(0,X.jsx)(Rn,{to:`/submit`,className:`header__mobile-link`,onClick:()=>r(!1),children:`Submit a Scam`}),(0,X.jsx)(`a`,{href:`https://myfactree.org`,target:`_blank`,rel:`noopener noreferrer`,className:`header__mobile-link`,children:`myfactree.org`}),(0,X.jsx)(`a`,{href:`https://cybercrime.gov.in`,target:`_blank`,rel:`noopener noreferrer`,className:`header__mobile-link header__mobile-link--cta`,children:`Report a Scam`})]})})})]})}var Mp=[{label:`Instagram`,href:`https://instagram.com/myfactree`,icon:`fa-brands fa-instagram`},{label:`Twitter/X`,href:`https://x.com/myfactree`,icon:`fa-brands fa-x-twitter`},{label:`YouTube`,href:`https://youtube.com/@myfactree`,icon:`fa-brands fa-youtube`},{label:`Facebook`,href:`https://facebook.com/myfactree`,icon:`fa-brands fa-facebook-f`}],Np=[{label:`Home`,to:`/`},{label:`Browse Scams`,to:`/scams`},{label:`Community Reports`,to:`/reports`},{label:`Submit a Scam`,to:`/submit`},{label:`myfactree.org`,href:`https://myfactree.org`}],Pp=[{label:`Report Cybercrime`,href:`https://cybercrime.gov.in`},{label:`Cybercrime Helpline: 1930`,href:`tel:1930`},{label:`SEBI Investor Grievance`,href:`https://scores.sebi.gov.in`},{label:`RBI Sachet Portal`,href:`https://sachet.rbi.org.in`},{label:`UIDAI (Aadhaar)`,href:`https://uidai.gov.in`}];function Fp(){return(0,X.jsxs)(`footer`,{className:`footer`,children:[(0,X.jsxs)(`div`,{className:`container footer__inner`,children:[(0,X.jsxs)(`div`,{className:`footer__brand`,children:[(0,X.jsxs)(Rn,{to:`/`,className:`footer__logo`,children:[(0,X.jsxs)(`svg`,{width:`30`,height:`30`,viewBox:`0 0 34 34`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:[(0,X.jsx)(`rect`,{width:`34`,height:`34`,rx:`10`,fill:`var(--color-primary)`}),(0,X.jsx)(`path`,{d:`M17 8L8 13V21L17 26L26 21V13L17 8Z`,fill:`white`,fillOpacity:`0.2`,stroke:`white`,strokeWidth:`1.5`,strokeLinejoin:`round`}),(0,X.jsx)(`path`,{d:`M17 12L12 15V19L17 22L22 19V15L17 12Z`,fill:`white`})]}),(0,X.jsx)(`span`,{children:`ScamDB`})]}),(0,X.jsx)(`p`,{className:`footer__tagline`,children:`A free, public scam awareness database by myfactree.org. Built to educate, not to scare.`}),(0,X.jsx)(`div`,{className:`footer__socials`,children:Mp.map(e=>(0,X.jsx)(`a`,{href:e.href,target:`_blank`,rel:`noopener noreferrer`,className:`footer__social-btn`,"aria-label":e.label,children:(0,X.jsx)(`i`,{className:e.icon})},e.label))})]}),(0,X.jsxs)(`div`,{className:`footer__col`,children:[(0,X.jsx)(`h4`,{className:`footer__col-title`,children:`Navigate`}),(0,X.jsx)(`ul`,{className:`footer__links`,children:Np.map(e=>e.to?(0,X.jsx)(`li`,{children:(0,X.jsx)(Rn,{to:e.to,className:`footer__link`,children:e.label})},e.label):(0,X.jsx)(`li`,{children:(0,X.jsx)(`a`,{href:e.href,target:`_blank`,rel:`noopener noreferrer`,className:`footer__link`,children:e.label})},e.label))})]}),(0,X.jsxs)(`div`,{className:`footer__col`,children:[(0,X.jsx)(`h4`,{className:`footer__col-title`,children:`Official Resources`}),(0,X.jsx)(`ul`,{className:`footer__links`,children:Pp.map(e=>(0,X.jsx)(`li`,{children:(0,X.jsx)(`a`,{href:e.href,target:`_blank`,rel:`noopener noreferrer`,className:`footer__link`,children:e.label})},e.label))})]}),(0,X.jsxs)(`div`,{className:`footer__col`,children:[(0,X.jsx)(`h4`,{className:`footer__col-title`,children:`Emergency`}),(0,X.jsxs)(`div`,{className:`footer__emergency`,children:[(0,X.jsxs)(`a`,{href:`tel:1930`,className:`footer__helpline`,children:[(0,X.jsx)(`span`,{className:`footer__helpline-number`,children:`1930`}),(0,X.jsx)(`span`,{className:`footer__helpline-label`,children:`National Cybercrime Helpline`})]}),(0,X.jsx)(`p`,{className:`footer__emergency-note`,children:`If you've been scammed, call immediately. Available 24/7.`})]})]})]}),(0,X.jsx)(`div`,{className:`footer__bottom`,children:(0,X.jsxs)(`div`,{className:`container footer__bottom-inner`,children:[(0,X.jsxs)(`p`,{className:`footer__c
19opy`,children:[`© `,new Date().getFullYear(),` myfactree.org. All rights reserved.`]}),(0,X.jsx)(`p`,{className:`footer__disclaimer`,children:`ScamDB is for awareness only. Always verify through official sources.`})]})})]})}function Ip(){let{pathname:e}=dt();return(0,b.useEffect)(()=>{window.scrollTo({top:0,behavior:`instant`})},[e]),(0,X.jsxs)(`div`,{className:`layout`,children:[(0,X.jsx)(jp,{}),(0,X.jsx)(`main`,{className:`layout__main`,children:(0,X.jsx)(Ht,{})}),(0,X.jsx)(Fp,{})]})}var Lp={search:(0,X.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z`}),arrow:(0,X.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M17 8l4 4m0 0l-4 4m4-4H3`}),"arrow-up-right":(0,X.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M7 17L17 7M17 7H7m10 0v10`}),close:(0,X.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M6 18L18 6M6 6l12 12`}),chevron:(0,X.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M9 5l7 7-7 7`}),warning:(0,X.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z`}),shield:(0,X.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z`}),check:(0,X.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M5 13l4 4L19 7`}),"check-circle":(0,X.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z`}),calendar:(0,X.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z`}),"trending-up":(0,X.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M13 7h8m0 0v8m0-8l-8 8-4-4-6 6`}),tag:(0,X.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M7 7h.01M7 3h5c.512 0 1.024.195 1.414.586l7 7a2 2 0 010 2.828l-7 7a2 2 0 01-2.828 0l-7-7A1.994 1.994 0 013 12V7a4 4 0 014-4z`}),menu:(0,X.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M4 6h16M4 12h16M4 18h16`}),"external-link":(0,X.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14`}),filter:(0,X.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M3 4a1 1 0 011-1h16a1 1 0 011 1v2.586a1 1 0 01-.293.707l-6.414 6.414a1 1 0 00-.293.707V17l-4 4v-6.586a1 1 0 00-.293-.707L3.293 7.293A1 1 0 013 6.586V4z`}),back:(0,X.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M15 19l-7-7 7-7`})};function $({name:e,size:t=24,color:n=`currentColor`,className:r=``}){let i=Lp[e];return i?(0,X.jsx)(`svg`,{width:t,height:t,viewBox:`0 0 24 24`,fill:`none`,stroke:n,xmlns:`http://www.w3.org/2000/svg`,className:r,"aria-hidden":`true`,children:i}):null}function Rp(e){return new Date(e).toLocaleDateString(`en-IN`,{day:`numeric`,month:`short`,year:`numeric`})}function zp(e,t=120){return e?e.length<=t?e:e.slice(0,t).trim()+`...`:``}function Bp(e){switch(e){case`high`:return{label:`High Risk`,color:`var(--color-accent-red)`,subtleColor:`var(--color-accent-red-subtle)`,gradient:`var(--gradient-red)`};case`medium`:return{label:`Medium Risk`,color:`var(--color-accent-amber)`,subtleColor:`var(--color-accent-amber-subtle)`,gradient:`var(--gradient-amber)`};default:return{label:`Low Risk`,color:`var(--color-accent-green)`,subtleColor:`var(--color-accent-green-subtle)`,gradient:`var(--gradient-green)`}}}function Vp(e){return e?e.toLocaleString(`en-IN`):`0`}var Hp=[`UPI fraud`,`WhatsApp scam`,`fake job offer`,`investment fraud`,`phishing email`,`Aadhaar misuse`,`online shopping scam`,`romance scam`,`loan app`,`lottery scam`];function Up({initialValue:e=``,onSearch:t,autoFocus:n=!1,size:r=`lg`}){let[i,a]=(0,b.useState)(e),[o,s]=(0,b.useState)(!1),c=(0,b.useRef)(null),l=mt();(0,b.useEffect)(()=>{a(e)},[e]),(0,b.useEffect)(()=>{n&&c.current&&c.current.focus()},[n]);function u(e){e.preventDefault();let n=i.trim();n&&(t?t(n):l(`/scams?q=${encodeURIComponent(n)}`),s(!1))}function d(e){a(e),s(!1),t?t(e):l(`/scams?q=${encodeURIComponent(e)}`)}function f(){a(``),c.current?.focus(),t&&t(``)}return(0,X.jsxs)(`div`,{className:`search-bar search-bar--${r}`,children:[(0,X.jsxs)(`form`,{className:`search-bar__form ${o?`search-bar__form--focused`:``}`,onSubmit:u,children:[(0,X.jsx)(`div`,{className:`search-bar__icon`,children:(0,X.jsx)($,{name:`search`,size:r===`lg`?20:17})}),(0,X.jsx)(`input`,{ref:c,type:`text`,className:`search-bar__input`,placeholder:`Search scams, keywords, or categories...`,value:i,onChange:e=>a(e.target.value),onFocus:()=>s(!0),onBlur:()=>setTimeout(()=>s(!1),150),"aria-label":`Search scams`}),(0,X.jsx)(Z,{children:i&&(0,X.jsx)(Q.button,{type:`button`,className:`search-bar__clear`,onClick:f,initial:{opacity:0,scale:.7}
19,animate:{opacity:1,scale:1},exit:{opacity:0,scale:.7},transition:{duration:.12},"aria-label":`Clear`,children:(0,X.jsx)($,{name:`close`,size:14})})}),(0,X.jsxs)(`button`,{type:`submit`,className:`search-bar__submit`,children:[`Search`,(0,X.jsx)($,{name:`arrow`,size:14})]})]}),(0,X.jsx)(Z,{children:o&&!i&&(0,X.jsxs)(Q.div,{className:`search-bar__suggestions`,initial:{opacity:0,y:-6},animate:{opacity:1,y:0},exit:{opacity:0,y:-6},transition:{duration:.18},children:[(0,X.jsx)(`p`,{className:`search-bar__suggestions-label`,children:`Try searching for`}),(0,X.jsx)(`div`,{className:`search-bar__chips`,children:Hp.map(e=>(0,X.jsx)(`button`,{type:`button`,className:`search-bar__chip`,onMouseDown:()=>d(e),children:e},e))})]})})]})}var Wp=[{number:`40+`,label:`Scam types documented`},{number:`46K+`,label:`Reports tracked`},{number:`1930`,label:`Helpline number`}];function Gp(){return(0,X.jsxs)(`section`,{className:`hero`,children:[(0,X.jsxs)(`div`,{className:`hero__bg`,children:[(0,X.jsx)(`div`,{className:`hero__blob hero__blob--1`}),(0,X.jsx)(`div`,{className:`hero__blob hero__blob--2`}),(0,X.jsx)(`div`,{className:`hero__grid`})]}),(0,X.jsxs)(`div`,{className:`container hero__inner`,children:[(0,X.jsxs)(Q.div,{className:`hero__content`,initial:{opacity:0,y:32},animate:{opacity:1,y:0},transition:{duration:.6,ease:[.22,1,.36,1]},children:[(0,X.jsxs)(Q.div,{className:`hero__badge`,initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{duration:.4,delay:.1},children:[(0,X.jsx)(`span`,{className:`hero__badge-dot`}),`Free Scam Awareness Database`]}),(0,X.jsxs)(Q.h1,{className:`hero__title`,initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.15},children:[`Don't get fooled.`,(0,X.jsx)(`br`,{}),(0,X.jsx)(`span`,{className:`hero__title-highlight`,children:`Know the scam.`})]}),(0,X.jsx)(Q.p,{className:`hero__subtitle`,initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.5,delay:.25},children:`Search our database of scams targeting people. Learn how they work, spot the red flags, and know exactly what to do if you're targeted.`}),(0,X.jsx)(Q.div,{className:`hero__search`,initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.5,delay:.35},children:(0,X.jsx)(Up,{size:`lg`})})]}),(0,X.jsx)(Q.div,{className:`hero__stats`,initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,delay:.5},children:Wp.map((e,t)=>(0,X.jsxs)(`div`,{className:`hero__stat`,children:[(0,X.jsx)(`span`,{className:`hero__stat-number`,children:e.number}),(0,X.jsx)(`span`,{className:`hero__stat-label`,children:e.label})]},t))})]})]})}function Kp({severity:e,size:t=`sm`}){let n=Bp(e);return(0,X.jsxs)(`span`,{className:`severity-badge severity-badge--${e} severity-badge--${t}`,style:{"--badge-color":n.color,"--badge-subtle":n.subtleColor},children:[(0,X.jsx)(`span`,{className:`severity-badge__dot`}),n.label]})}var qp={Phishing:`🎣`,Romance:`💔`,"Tech Support":`💻`,Financial:`💸`,Employment:`💼`,"Identity Theft":`🪪`,Education:`🎓`,Utility:`⚡`,"E-Commerce":`🛒`};function Jp({scam:e,index:t=0}){let n=qp[e.category]||`⚠️`,r=Bp(e.severity);return(0,X.jsx)(Q.div,{initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{duration:.4,delay:t*.05,ease:[.22,1,.36,1]},children:(0,X.jsxs)(Rn,{to:`/scams/${e.slug}`,className:`scam-card`,"aria-label":`Learn about ${e.title}`,children:[(0,X.jsx)(`div`,{className:`scam-card__accent`,style:{background:r.subtleColor}}),(0,X.jsxs)(`div`,{className:`scam-card__top`,children:[(0,X.jsx)(`div`,{className:`scam-card__emoji`,children:n}),(0,X.jsx)(Kp,{severity:e.severity})]}),(0,X.jsxs)(`div`,{className:`scam-card__body`,children:[(0,X.jsx)(`p`,{className:`scam-card__category`,children:e.category}),(0,X.jsx)(`h3`,{className:`scam-card__title`,children:e.title}),(0,X.jsx)(`p`,{className:`scam-card__description`,children:e.short_description})]}),(0,X.jsxs)(`div`,{className:`scam-card__footer`,children:[(0,X.jsxs)(`div`,{className:`scam-card__stat`,children:[(0,X.jsx)($,{name:`trending-up`,size:13}),(0,X.jsxs)(`span`,{children:[Vp(e.reported_cases),` reports`]})]}),(0,X.jsx)(`div`,{className:`scam-card__arrow`,children:(0,X.jsx)($,{name:`arrow`,size:15})})]})]})})}function Yp({categories:e,selected:t,onSelect:n}){return(0,X.jsx)(`div`,{className:`category-filter`,role:`group`,"aria-label":`Filter by category`,children:e.map(e=>{let r=t===e;
19return(0,X.jsxs)(`button`,{className:`category-filter__btn ${r?`category-filter__btn--active`:``}`,onClick:()=>n(e),"aria-pressed":r,children:[r&&(0,X.jsx)(Q.span,{className:`category-filter__bg`,layoutId:`cat-active`,transition:{type:`spring`,stiffness:400,damping:35}}),(0,X.jsx)(`span`,{className:`category-filter__label`,children:e})]},e)})})}var Xp=JSON.parse(`[{"id":"1","slug":"phishing-email","title":"Phishing Email","category":"Phishing","severity":"high","short_description":"Fraudulent emails disguised as legitimate institutions to steal your login credentials and personal data.","how_it_works":"Phishing emails are crafted to look almost identical to messages from banks, government agencies, e-commerce platforms, or popular services like Google and Netflix. Scammers send mass emails with urgent subject lines like 'Your account has been compromised' or 'Immediate action required.' The email contains a link that takes you to a fake website that mirrors the real one. When you enter your credentials, they go straight to the attacker. Modern phishing attacks are highly sophisticated with spoofed logos, fonts, and even sender domains. Some emails include malware attachments disguised as invoices or shipping notices that install keyloggers on your device.","red_flags":["Urgent language pressuring you to act immediately","Sender email domain is slightly misspelled (e.g., [email protected])","Generic greetings like 'Dear Customer' instead of your name","Links that show a different URL when you hover over them","Requests for passwords, OTPs, or card numbers via email","Unexpected emails about accounts you didn't create or orders you didn't place"],"what_to_do":["Never click links in suspicious emails, go directly to the website by typing the URL","Report the phishing email to your email provider and the impersonated organization","If you accidentally entered credentials, change your password immediately and enable 2FA","Run a malware scan if you downloaded any attachment","Check your account for unauthorized activity"],"reported_cases":3400,"source_link":"https://cybercrime.gov.in","tags":["email","credentials","identity theft","password","online"]},{"id":"2","slug":"romance-scam","title":"Romance Scam","category":"Romance","severity":"high","short_description":"Fake romantic relationships built over weeks or months to emotionally manipulate victims into sending money.","how_it_works":"Romance scammers create fake profiles on dating apps, social media, or even LinkedIn using stolen photos of attractive people. They invest significant time building an emotional connection with their target, sometimes communicating daily for weeks or months. Once trust is established, a crisis emerges like a medical emergency, a business deal gone wrong, or a plane ticket to visit you. The ask for money starts small and escalates. Victims often send tens of thousands of rupees before realizing the person never existed. These operations are frequently run by organized crime syndicates.","red_flags":["Profile photos look too perfect, reverse image search often reveals stock photos","They can never video call and always have excuses like a bad connection","They fall in love unusually fast and use excessive flattery","They work abroad in high-status roles like military, oil rig, or UN worker","Any request for money, gift cards, or cryptocurrency","They discourage you from telling friends or family about the relationship"],"what_to_do":["Reverse image search any profile photos immediately","Never send money, gift cards, or cryptocurrency to someone you haven't met in person","Talk to a trusted friend or family member about the relationship","Report the profile to the platform and to your local cybercrime authority","If you've sent money, contact your bank immediately to attempt a reversal"],"reported_cases":1890,"source_link":"https://cybercrime.gov.in","tags":["dating","emotional manipulation","money transfer","social media","trust"]},{"id":"3","slug":"tech-support-scam","title":"Tech Support Scam","category":"Tech Support","severity":"high","short_description":"Fake Microsoft or Apple alerts claiming your computer is infected, tricking you into paying for fake fixes.","how_it_works":"A pop-up suddenly fills your screen warning that your computer is infected with a virus and that you must call a toll-free number immediately. The number connects you to a scammer posing as a Microsoft or Apple technician. They ask to remotely access your computer using tools like AnyDesk or TeamViewer. Once they have access, they pretend to find threats, show you alarming system logs, and pressure you into paying hundreds for fake repair services. Often, while they have access, they are actually installing malware or stealing saved passwords. Elderly users are disproportionately targeted.","red_flags":["Unsolicited pop-ups claiming to be from Microsoft, Apple, or your antivirus","Phone numbers dis
19played in alarming alerts since legitimate companies don't work this way","Any request to install remote access software","Pressure to pay immediately via gift cards, wire transfer, or crypto","Claims that your IP address or license key has been stolen"],"what_to_do":["Close the pop-up by pressing Alt+F4 or force-quitting your browser","Never call numbers shown in pop-up warnings","Never allow remote access to someone who contacted you first","Run a legitimate antivirus scan using Windows Defender or Malwarebytes","If you gave them access, change all passwords and contact your bank"],"reported_cases":2150,"source_link":"https://cybercrime.gov.in","tags":["computer","remote access","Microsoft","Apple","pop-up","software"]},{"id":"4","slug":"investment-fraud","title":"Investment Fraud","category":"Financial","severity":"high","short_description":"Fake investment platforms promising extraordinary returns on crypto, stocks, or forex to steal your capital.","how_it_works":"Investment fraud has exploded with the rise of cryptocurrency. Scammers build professional platforms with real-time dashboards showing your profits growing. They recruit victims via social media, WhatsApp groups, or through someone you trust. Initial small investments appear to succeed and you can even withdraw a little profit at first, which builds confidence. When you invest a large amount, the platform either disappears overnight or invents excuses why you cannot withdraw. Some scams are run as Ponzi schemes where early investors are paid using funds from newer ones.","red_flags":["Guaranteed high returns with zero risk since no legitimate investment can promise this","Pressure to invest quickly before a limited opportunity closes","Platform not registered with SEBI, AMFI, or other financial regulators","Recruiters who earn commission for bringing in new investors","Withdrawal requests met with delays, fees, or complete silence","Communication only via Telegram or WhatsApp"],"what_to_do":["Verify any investment platform on SEBI's registered entities list","Never invest more than you can afford to lose in any unverified platform","Report to SEBI, RBI, or your local cybercrime police with all evidence","Do not pay any release fees or taxes to withdraw as this is a further scam","Consult a licensed financial advisor before any significant investment"],"reported_cases":5200,"source_link":"https://sachet.rbi.org.in","tags":["crypto","stocks","forex","ponzi","money","returns","SEBI"]},{"id":"5","slug":"job-offer-scam","title":"Fake Job Offer","category":"Employment","severity":"medium","short_description":"Fraudulent job listings that collect personal information or upfront fees from unsuspecting job seekers.","how_it_works":"Fake job offers appear on legitimate job boards like LinkedIn, Indeed, or Naukri, or arrive via WhatsApp and email. The listings offer high-paying remote work with minimal qualifications. After an easy interview, you receive an offer letter from what looks like a real company. Then come the traps like a registration fee, a training kit purchase, or a request for your Aadhaar, PAN, and bank details for payroll processing. Some scams involve task-based jobs where you are asked to like videos or rate products and paid small initial amounts before being scammed for a larger sum.","red_flags":["Any upfront payment required for registration, training, or equipment","Extremely high salary for vague or minimal work","Interview conducted entirely over WhatsApp or Telegram with no video","Offer letter from a company with no verifiable online presence","Request for full bank account details, Aadhaar, or PAN before formal onboarding","Urgency to accept the offer within hours"],"what_to_do":["Research the company independently by looking up their official website and LinkedIn","Never pay money to get a job since no legitimate employer asks for this","Verify the job listing exists on the company's official careers page","Report fake listings to the job platform and to cybercrime.gov.in","Don't share sensitive documents until you've verified the employer thoroughly"],"reported_cases":3100,"source_link":"https://cybercrime.gov.in","tags":["job","employment","LinkedIn","WhatsApp","WhatsApp scam","registration fee","identity"]},{"id":"6","slug":"lottery-prize-scam","title":"Lottery and Prize Scam","category":"Financial","severity":"medium","short_description":"Fake winning notifications that demand fees or taxes before releasing a prize that never existed.","how_it_works":"You receive a message, email, or even a physical letter claiming you have won a lottery, prize draw, or competition you never entered. The prize is often a large cash sum, an iPhone, or a car. To claim it, you are asked to pay a processing fee, customs duty, or release tax. Each payment unlocks another fee but the prize never arrives. These scams exploit the psychological rush of unexpected good fortune and the sunk cost fallacy. Some variants impersonate KBC, government schemes, or international lotteries.","red_flags":["Winning a lottery or competition you never entered","Any request for payment to release your prize","Urgency to claim within 24 to 48 hours or forfeit","Communication via unofficial Gmail or Yahoo addresses","The prize authority asks for personal and bank details upfront","Impersonation of KBC, government schemes, or well-known brands"],"what_to_do":["Understand that legitimate lotteries never require you to pay fees to claim winnings","Do not share any personal or financial details","Block and report the sender","Inform family members, especially older relatives who are common targets","Report to the National Cyber Crime Reporting Portal at cybercrime.gov.in"],"reported_cases":2800,"source_link":"https://cybercrime.gov.in","tags":["lottery","prize","KBC","WhatsApp","winning","fee"]},{"id":"7","slug":"sim-swap-scam","title":"SIM Swap Fraud","category":"Identity Theft","severity":"high","short_description":"Criminals port your mobile number to a new SIM to bypass OTP-based security and drain your bank accounts.","how_it_works":"A SIM swap attack is extremely sophisticated. The attacker first collects your personal data through phishing, data breaches, or social engineering. They then visit a mobile store or call your carrier, impersonate you, and request that your number be transferred to a new SIM. Once successful, your phone loses signal. The attacker now receives all your OTPs and can reset passwords for your email, bank accounts, and UPI apps. Within minutes, accounts can be emptied. Victims often don't realize what happened until they notice their phone has no service.","red_flags":["Your phone suddenly loses all network signal without explanation","You stop receiving calls and SMS messages unexpectedly","You receive alerts about a SIM change you didn't initiate","Unknown login alerts or password reset emails you didn't request","Someone asking for your Aadhaar number, date of birth, or carrier details over phone"],"what_to_do":["If your phone loses signal, call your carrier immediately from another device","Enable SIM lock or port protection with your mobile carrier","Use authenticator apps like Google Authenticator instead of SMS OTP where possible","Alert your bank immediately if you suspect a SIM swap has occurred","File a police complaint and contact TRAI's grievance portal"],"reported_cases":1450,"source_link":"https://cybercrime.gov.in","tags":["SIM","OTP","mobile","bank","identity","UPI","telecom"]},{"id":"8","slug":"upi-payment-scam","title":"UPI Payment Scam","category":"Financial","severity":"high","short_description":"Fraudsters trick UPI users into scanning fake QR codes or approving payment requests disguised as money receipts.","how_it_works":"UPI scams exploit one fundamental confusion: entering your PIN to receive money is actually how you send it. Scammers pose as buyers on OLX or Quikr, or as someone who accidentally sent you money. They send a payment request through PhonePe, Google Pay, or Paytm and tell you to enter your PIN to accept the money. You enter your PIN and money leaves your account. In QR code variants, victims are sent a code to scan to receive payment, but QR codes on UPI can only initiate payments. Social engineering is the core mechanic.","red_flags":["Anyone asking you to enter your UPI PIN to receive money","Incoming collect requests from unknown UPI IDs","QR codes sent via WhatsApp or SMS to receive a payment","Buyer on OLX or Quikr sending multiple small payment requests to test before a large one","Caller claiming to be from your bank asking to verify UPI details"],"what_to_do":["Remember that you only need your PIN to send money, never to receive it","Decline all collect requests from unknown numbers","Never scan QR codes sent by strangers to receive money","Report fraud immediately via the UPI app's support and your bank's helpline","File a complaint at cybercrime.gov.in or call 1930"],"reported_cases":6700,"source_link":"https://cybercrime.gov.in","tags":["UPI","UPI fraud","PhonePe","GPay","Paytm","QR code","OLX","payment"]},{"id":"9","slug":"parcel-courier-scam","title":"Fake Parcel / Courier Scam","category":"Phishing","severity":"medium","short_description":"Fake delivery notifications trick you into paying customs fees or revealing personal data for parcels you never ordered.","how_it_works":"You receive an SMS or WhatsApp message claiming a parcel is awaiting delivery but requires a small customs or re-delivery fee. The link leads to a convincing fake page for FedEx, DHL, India Post, or Amazon. When you pay the fee, you hand over your card details, which are then used for much larger unauthorized transactions. Other variants claim your parcel contains contraband and a police officer calls threatening arrest unless you pay a fine.","red_flags":["Unexpected delivery notifications for parcels you didn't order","Links in SMS or WhatsApp messages leading to payment pages","Requests for card details or OTP to pay a small delivery fee","Calls claiming a parcel in your name contains illegal items","Threats of arrest or legal action unless you pay immediately","Sender numbers that are international or don't match official courier numbers"],"what_to_do":["Always track parcels only through the official courier website, not SMS links","Legitimate customs fees are never paid via links sent on WhatsApp","Hang up on any caller threatening arrest for a parcel since police don't work this way","Do not engage, just block and report the number","Report digital arrest scams to cybercrime.gov.in immediately"],"reported_cases":4100,"source_link":"https://cybercrime.gov.in","tags":["courier","parcel","DHL","FedEx","customs","delivery","digital arrest"]}
19,{"id":"10","slug":"aadhaar-pan-fraud","title":"Aadhaar / PAN Card Fraud","category":"Identity Theft","severity":"high","short_description":"Criminals misuse your Aadhaar or PAN to open bank accounts, take loans, or file fake tax returns in your name.","how_it_works":"Your Aadhaar and PAN numbers are gateways to your financial identity. Scammers obtain these through phishing, data leaks, fake KYC calls, or by purchasing data from corrupt insiders. With your details, they can open bank accounts for money laundering, apply for instant personal loans through digital lending apps, or file fraudulent income tax returns to claim refunds. Victims often discover the fraud only when they apply for a loan themselves and find their credit score destroyed, or receive notices from the Income Tax department.","red_flags":["Calls asking to update or verify your Aadhaar for banking or government schemes","Unsolicited OTPs for Aadhaar authentication you didn't trigger","Unexpected loan approval alerts or CIBIL score changes","Income Tax notices for returns you never filed","SIM cards or bank accounts active in your name that you didn't open"],"what_to_do":["Lock your Aadhaar biometrics via the UIDAI website or mAadhaar app when not in use","Check your Aadhaar authentication history on the UIDAI portal regularly","Monitor your CIBIL score every few months for unauthorized credit activity","Never share Aadhaar or PAN details over phone or unverified websites","Report misuse to UIDAI, cybercrime.gov.in, and the Income Tax department"],"reported_cases":3800,"source_link":"https://uidai.gov.in","tags":["Aadhaar","PAN","identity","KYC","loan","tax","UIDAI"]},{"id":"11","slug":"scholarship-education-scam","title":"Fake Scholarship Scam","category":"Education","severity":"medium","short_description":"Fraudulent scholarships targeting students and parents with fake government scheme names to extract registration fees.","how_it_works":"Fake scholarship scams target students and families who genuinely need financial support. Scammers send messages or make calls claiming the recipient has been selected for a government or private scholarship. The scheme often uses names similar to real government programs like PM Scholarship or NSP. To process the scholarship, victims are asked to pay a small registration fee or processing charge. Some variants collect bank account details to transfer the scholarship amount, then use them for fraudulent transactions.","red_flags":["Scholarship notifications via WhatsApp or informal SMS","Any fee required to apply for or receive a scholarship","Scheme names that sound like but are not exact government programs","Requests for bank account details to deposit the scholarship","No official government website or application portal mentioned","Pressure to complete payment quickly before the scheme closes"],"what_to_do":["Verify all scholarships on the National Scholarship Portal","Legitimate government scholarships never require payment","Cross-check with your school or college administration before applying","Report fake scholarship messages to cybercrime.gov.in","Educate younger siblings and peers about these scams"],"reported_cases":1600,"source_link":"https://cybercrime.gov.in","tags":["scholarship","education","students","government","PM scholarship","NSP"]},{"id":"12","slug":"electricity-bill-scam","title":"Electricity Bill Scam","category":"Utility","severity":"medium","short_description":"Fake electricity disconnection threats via SMS or WhatsApp forcing you to make immediate payments through unofficial channels.","how_it_works":"You receive an SMS or WhatsApp message claiming your electricity connection will be disconnected tonight due to an unpaid bill. The message provides a mobile number to call or a payment link. When you call, a convincing electricity department employee asks for your consumer number and then asks you to pay via UPI or by sharing card details. Sometimes they send a QR code or a payment link. If you pay, the money goes directly to the scammer. The threat of immediate disconnection creates enough panic to bypass rational judgment.","red_flags":["Disconnection threats via WhatsApp or informal SMS","Mobile numbers provided for payments instead of official helpline numbers","Requests to pay via personal UPI IDs rather than official government portals","Urgency claiming disconnection in 2 to 4 hours if you don't pay immediately","Calls from unfamiliar numbers claiming to be from your electricity board"],"what_to_do":["Check your actual bill status on your electricity provider's official website or app","Never pay via numbers or links received on WhatsApp","Call your electricity board's official helpline to verify","Official electricity board payments happen only through their portal or designated payment apps","Report the number to cybercrime.gov.in and TRAI's DND service"],"reported_cases":2900,"source_link":"https://cybercrime.gov.in","tags":["electricity","bill","disconnection","utility","WhatsApp","UPI"]}
19,{"id":"13","slug":"online-shopping-fraud","title":"Online Shopping Fraud","category":"E-Commerce","severity":"medium","short_description":"Fake e-commerce websites or social media shops that take your money and deliver counterfeit goods or nothing at all.","how_it_works":"Fraudulent online stores are built with professional templates, stolen product images, and fake reviews to appear legitimate. They advertise heavily on Instagram and Facebook with steep discounts, often 60 to 80 percent off branded goods. Payments are taken, but products either never arrive, arrive as cheap counterfeits, or are wildly different from what was shown. Instagram and Facebook shops run by unknown accounts are common vectors. These stores often have slight variations of legitimate brand URLs.","red_flags":["Prices that are 60 to 80 percent lower than any other retailer","Website URL that closely mimics a known brand but isn't quite right","No clear return or refund policy","Only accepts UPI transfers to personal IDs or informal payment methods","Instagram page with only a few weeks of history and no genuine reviews","Pressure deals with countdown timers"],"what_to_do":["Stick to established platforms like Amazon, Flipkart, or brands' official websites","Check WHOIS data to see when the website was registered since new sites are suspicious","Search for the store name plus the word scam or review before purchasing","Prefer credit card or COD for unknown stores because UPI transfers are harder to reverse","Report fraudulent sites to cybercrime.gov.in and the platform they advertise on"],"reported_cases":5500,"source_link":"https://cybercrime.gov.in","tags":["shopping","e-commerce","Instagram","fake website","counterfeit","delivery"]},{"id":"14","slug":"loan-app-scam","title":"Predatory Loan App Scam","category":"Financial","severity":"high","short_description":"Illegal lending apps that access your contacts and photos to harass and blackmail you into paying extortionate interest.","how_it_works":"Predatory loan apps are marketed aggressively on social media as instant, no-documentation micro-loans. They request access to your contacts, photos, and gallery during setup. When you accept the loan, you agree to hidden terms with interest rates that can exceed 300 percent APR. Within days, when you cannot repay, the harassment begins. Collection agents call your family and colleagues using your stolen contacts, send morphed photos, and threaten to expose you. These apps are often not registered with the RBI.","red_flags":["App asks for access to contacts, photos, and camera before loan approval","No RBI registration number displayed","Loan amount received is less than what you applied for with fees deducted upfront","Interest and repayment terms are unclear or hidden in long terms and conditions","Repayment collectors call your contacts or threaten to share personal images","App is available only as an APK download, not on the official Play Store"],"what_to_do":["Only borrow from RBI-registered NBFCs or banks by verifying on rbi.org.in","Revoke all permissions granted to suspicious apps immediately in phone settings","Report harassment to cybercrime.gov.in and the RBI Sachet portal","If your photos are being misused, file a complaint under IT Act Section 67","Contact the National Cyber Crime Helpline at 1930"],"reported_cases":4800,"source_link":"https://sachet.rbi.org.in","tags":["loan app","NBFC","harassment","blackmail","contacts","RBI","interest"]},{"id":"15","slug":"customer-care-impersonation","title":"Fake Customer Care","category":"Phishing","severity":"medium","short_description":"Scammers pose as bank or app customer support to extract OTPs and account access from unsuspecting users.","how_it_works":"When you search for a customer care number on Google, the top results aren't always legitimate. Scammers buy Google Ads or create SEO-optimized fake pages to get their fraudulent numbers ranked high. When you call with a genuine complaint, you reach a scammer who sounds professional, uses your name, and asks you to verify your account by sharing your OTP, card number, or UPI PIN. They may claim to process a refund using remote access tools. This also happens on social media where fake support accounts reply to complaints.","red_flags":["Customer care numbers found on Google that aren't on the company's official website","Support agents asking for OTPs, card CVVs, or UPI PINs to verify your account","Being asked to install AnyDesk or QuickSupport for technical assistance","Fake social media handles with slight variations of official brand names replying to complaints","Any refund that requires you to enter your payment details again"],"what_to_do":["Always find customer care numbers from the official app or website, not Google search","No legitimate support agent will ever ask for your OTP or full card number","Never install remote access apps on the instruction of someone who called you","Report fake support numbers to the company directly and to Google's feedback tool","File a complaint at cybercrime.gov.in with the phone number and call details"],"reported_cases":3600,"source_link":"https://cybercrime.gov.in","tags":["customer care","OTP","bank","Google","support","impersonation","UPI"]}
19,{"id":"16","slug":"digital-arrest-scam","title":"Digital Arrest Scam","category":"Identity Theft","severity":"high","short_description":"Scammers pose as CBI or Customs officers on a video call, claiming your Aadhaar is linked to illegal goods and forcing you to transfer funds to 'clear your name'.","how_it_works":"You receive an automated call claiming a FedEx package in your name contains passports, MDMA, or illegal SIM cards. The call is transferred to someone posing as a cyber police officer. They force you to join a Skype or WhatsApp video call where they are sitting in a fake police station setup. They tell you that you are under 'digital arrest' and cannot hang up or leave your room. To verify your innocence, they force you to transfer all your savings to a secret RBI safe account, promising it will be refunded after verification. It never is.","red_flags":["Automated voice calls from courier companies about illegal packages","Police officers requesting to interrogate you over Skype or WhatsApp","Official-looking letters bearing CBI, ED, or RBI logos sent over WhatsApp","Being told you are under 'digital arrest', a term that does not exist in Indian law","Demands to transfer money to a 'safe account' for verification"],"what_to_do":["Hang up immediately. Real police do not interrogate or arrest people via Skype.","Never transfer money to prove your innocence.","Call the national cybercrime helpline at 1930 immediately.","Block the numbers and report them on the Chakshu portal."],"reported_cases":8400,"source_link":"https://cybercrime.gov.in","tags":["digital arrest","CBI","customs","video call","FedEx","extortion"]},{"id":"17","slug":"telegram-task-scam","title":"YouTube/Movie Rating Task Scam","category":"Employment","severity":"high","short_description":"Victims are paid small amounts to like YouTube videos, then manipulated into investing large sums into 'prepaid tasks' for higher returns.","how_it_works":"You receive a WhatsApp message offering a part-time job that only requires liking YouTube videos or rating hotels on Google. When you complete the first few tasks, they actually pay you 150 to 500 rupees to build deep trust. You are then added to a Telegram VIP group. Here, the 'manager' introduces 'prepaid tasks' or 'merchant tasks' where you must invest your own money to unlock higher commissions. Fake group members post screenshots of massive profits. Once you invest a large amount, they freeze your account and demand 'tax payments' to release your funds.","red_flags":["Unsolicited WhatsApp messages offering part-time work for simple clicks","Being moved to Telegram groups to receive instructions","Getting paid real money initially for doing almost nothing","Suddenly being asked to deposit money to unlock the next tier of tasks","The receptionist or manager using crypto terms for payment"],"what_to_do":["Block the sender the moment you receive a WhatsApp message offering money for liking videos.","If you received the initial small payment, keep it and block them immediately.","Do not join their Telegram groups.","Never pay a 'security deposit' or 'prepaid fee' for freelance work."],"reported_cases":12500,"source_link":"https://cybercrime.gov.in","tags":["Telegram","WhatsApp","YouTube","task","part-time","investment"]},{"id":"18","slug":"fake-traffic-challan","title":"Fake E-Challan Scam","category":"Phishing","severity":"medium","short_description":"Fraudsters send SMS alerts mimicking traffic police, providing a malicious link to pay a fake speeding or parking fine.","how_it_works":"You receive a text message stating that a traffic violation has been registered against your vehicle. The SMS includes a link to view the challan and pay the fine. The link looks very similar to the official Parivahan website but is slightly misspelled. When you click the link, it either takes you to a fake payment gateway that steals your banking credentials, or it prompts you to download an APK file disguised as a challan receipt, which actually installs malware on your phone to intercept your OTPs.","red_flags":["The SMS comes from a standard 10-digit mobile number, not a verified sender ID","The link does not end in .gov.in","The website asks you to download an application to view the photo of your violation","The site asks for your ATM PIN or NetBanking password directly on the homepage"],"what_to_do":["Never click links in SMS messages regarding traffic fines.","Check your pending challans only on the official echallan.parivahan.gov.in website or through the mParivahan app.","If you downloaded an APK, turn on airplane mode, delete the app, and format your phone.","Report the malicious link to the cyber police."],"reported_cases":4200,"source_link":"https://cybercrime.gov.in","tags":["challan","traffic","RTO","SMS","phishing","malware"]}
19,{"id":"19","slug":"video-call-sextortion","title":"Video Call Sextortion","category":"Romance","severity":"high","short_description":"Scammers initiate a video call, display inappropriate content, screen-record your face, and then blackmail you with the footage.","how_it_works":"You receive a random video call on WhatsApp from an unknown number, often with an attractive profile picture. If you answer, the screen might be black for a second, or it might immediately show explicit content. The scammers secretly screen-record the call, capturing your face alongside the explicit video. Within minutes, they send you the recorded clip and threaten to send it to your entire contact list and family members unless you pay a hefty ransom. They often pose as police officers calling later to 'settle the case' for a fee.","red_flags":["Unexpected WhatsApp video calls from unknown numbers, especially late at night","Profile pictures that look like professional models","Callers who immediately start taking off their clothes or showing explicit videos","Follow-up calls from individuals claiming to be YouTube executives or police officers offering to delete the video for money"],"what_to_do":["Never answer video calls from unknown numbers.","If you accidentally answer, cover your camera immediately and cut the call.","Do not pay the ransom. Paying once only leads to more demands.","Deactivate your social media accounts temporarily so they cannot find your friends and family.","Report the incident to the police immediately; they handle these cases frequently."],"reported_cases":9100,"source_link":"https://cybercrime.gov.in","tags":["sextortion","video call","WhatsApp","blackmail","ransom"]},{"id":"20","slug":"aeps-biometric-cloning","title":"AePS Biometric Cloning","category":"Financial","severity":"high","short_description":"Fraudsters clone your fingerprints from public property registries to drain your bank accounts using the Aadhaar Enabled Payment System.","how_it_works":"The Aadhaar Enabled Payment System allows cash withdrawals using just an Aadhaar number and a fingerprint, bypassing the need for an OTP or ATM card. Scammers obtain your Aadhaar number and download copies of your property registration documents from state government websites. They use silicon and glue to create physical clones of your thumbprint. Using a cheap biometric device and a compromised banking correspondent login, they withdraw money from your account in small tranches without you ever receiving a warning.","red_flags":["Money is deducted from your account but you receive no OTPs beforehand","The bank statement shows AePS Withdrawal or MicroATM transactions you didn't make","You recently registered property or submitted physical thumbprints for official documents"],"what_to_do":["Open the mAadhaar app or UIDAI website and lock your Aadhaar biometrics immediately.","You can temporarily unlock your biometrics when you actually need to use them.","If money is stolen, notify your bank within 24 hours to ensure you have zero liability.","File a police complaint and dispute the AePS transaction with your bank branch."],"reported_cases":5600,"source_link":"https://uidai.gov.in","tags":["Aadhaar","AePS","biometric","fingerprint","bank withdrawal"]},{"id":"21","slug":"fake-ipo-trading","title":"Institutional Trading / Fake IPO Scam","category":"Financial","severity":"high","short_description":"Scammers add you to WhatsApp groups offering 'pre-IPO' shares or institutional block deals through a fake trading application.","how_it_works":"You are added to a WhatsApp or Telegram group run by someone posing as a famous stock market analyst or a representative of a major brokerage firm. They share daily stock tips that actually work, building trust. Then, they announce an exclusive institutional quota or pre-IPO access where you can buy shares at a massive discount. To participate, you must download their special trading app. You transfer money, and the app shows massive profits. When you try to withdraw, they freeze the account and demand 20 percent in profit taxes.","red_flags":["Being added to stock market WhatsApp groups without your permission","Promises of guaranteed 500 percent returns or guaranteed IPO allotments","Instru
19ctions to download a trading app via an APK link instead of the Google Play Store","The bank accounts you are asked to deposit money into belong to random individuals or shell companies, not the actual brokerage firm"],"what_to_do":["Exit and report any unsolicited stock market WhatsApp groups.","Verify the broker's registration on the SEBI website before investing a single rupee.","Never install trading apps from unknown links.","Understand that there is no secret institutional quota available to retail investors through WhatsApp."],"reported_cases":7800,"source_link":"https://sachet.rbi.org.in","tags":["stocks","IPO","trading","WhatsApp","investment","SEBI"]},{"id":"22","slug":"olx-army-scam","title":"Armed Forces / OLX Scam","category":"E-Commerce","severity":"medium","short_description":"Fraudsters pose as military personnel being urgently transferred, offering vehicles at cheap prices but demanding advance transport fees.","how_it_works":"You find a listing on OLX, Quikr, or Facebook Marketplace for a car, bike, or smartphone at an unbelievably low price. The seller claims to be in the Indian Army, CISF, or Air Force and says they are being abruptly transferred, hence the cheap price. To prove their identity, they send you photos of a fake military ID card and a fake Aadhaar card. They tell you the vehicle is currently at a military base and will be delivered by an Army Cargo truck. They ask you to pay a small token amount, then a transport fee, then insurance. The vehicle never arrives.","red_flags":["Items priced significantly lower than market value","Sellers volunteering to send their ID cards before you even ask","The seller refuses to meet in person or let you inspect the item","Requests to pay a gate pass fee or army courier charge via UPI","The seller creates a fake sense of urgency due to a military transfer"],"what_to_do":["Never buy a second-hand vehicle without physically inspecting it and checking the engine number.","Do not trust ID cards sent over WhatsApp as they are easily forged.","Never pay advance shipping fees for items bought on classified sites.","Report the seller account on the platform immediately."],"reported_cases":6200,"source_link":"https://cybercrime.gov.in","tags":["OLX","Quikr","military","second-hand","advance fee","vehicle"]},{"id":"23","slug":"government-scheme-scam","title":"Fake Government Scheme Scam","category":"Identity Theft","severity":"medium","short_description":"Scammers circulate links on WhatsApp promising free laptops, solar panels, or cash deposits under popular government welfare schemes.","how_it_works":"A viral message circulates in family WhatsApp groups claiming the government is giving away free laptops to students, free solar panels, or cash to women under schemes like PM Vishwakarma or Ladli Behna. The message includes a link to apply. The website looks official and features photos of political leaders. It asks you to fill out a form with your Aadhaar number, bank details, and mother's maiden name. After collecting your data, the site asks you to share the link with 10 WhatsApp groups to confirm your registration. Your data is then sold to other scammers.","red_flags":["Messages requiring you to forward the link to others to claim a benefit","Website URLs that use domains like .blogspot.com, .xyz, or .club instead of .gov.in","Websites with poor grammar or low-resolution government logos","Requests for your ATM PIN or NetBanking password to deposit the scheme money"],"what_to_do":["Do not forward unverified scheme messages to family or friends.","Check the official MyGov.in portal or the specific state government website to verify if the scheme actually exists.","Never enter your Aadhaar or bank details on a website that does not end in .gov.in or .nic.in."],"reported_cases":3100,"source_link":"https://cybercrime.gov.in","tags":["WhatsApp","government","schemes","data theft","fake website"]},{"id":"24","slug":"credit-card-reward-scam","title":"Credit Card Reward Points Scam","category":"Phishing","severity":"high","short_description":"Victims receive alerts that their credit card reward points are expiring and are tricked into installing malicious APKs to redeem them.","how_it_works":"You receive an SMS or WhatsApp message appearing to be from your bank stating that you have thousands of reward points worth real cash expiring today. The message provides a link to an official redemption portal. When you visit the site, it asks you to download a Reward App to process the cash back. Once installed, the app requests permission to read your SMS messages. You are then asked to enter your credit card details to receive the money. The scammers initiate high-value transactions, and the malicious app intercepts the OTPs without you seeing them.","red_flags":["Urgent messages about points expiring today","Being asked to install an app from a website rather than the official Play Store or App Store","The app specifically requesting permission to view and send SMS messages","A reward redemption process that requires you to enter your CVV and expiry date"],"what_to_do":["Only redeem reward points directly through your bank's official mobile banking app or verified net banking portal.","Never install APK files sent via SMS or WhatsApp.","If you entered your details, call your bank's toll-free number immediately to hotlist the card.","Review your app permissions and remove any unrecognized apps."],"reported_cases":4700,"source_link":"https://cybercrime.gov.in","tags":["credit card","reward points","APK","malware","OTP","bank"]}
19,{"id":"25","slug":"whatsapp-hijacking","title":"WhatsApp Account Hijacking","category":"Identity Theft","severity":"high","short_description":"Scammers trick you into dialing a USSD code that forwards your calls, allowing them to steal your WhatsApp account via voice OTP.","how_it_works":"You receive a call from someone claiming to be from your telecom provider or a courier company. They tell you there is an issue with your SIM card or parcel and ask you to dial a specific code, usually starting with *401*, followed by a 10-digit mobile number. Dialing *401* activates unconditional call forwarding on your phone. The scammer then installs WhatsApp on their device and enters your number. When WhatsApp asks for verification, they select Call Me. Since your calls are forwarded to them, they receive the voice OTP, hijack your WhatsApp, and start asking your contacts for emergency money.","red_flags":["Anyone asking you to dial a code starting with *401* or *21*","Callers creating panic about your SIM card being blocked in the next 2 hours","Receiving WhatsApp verification codes via SMS when you did not request them","Friends or family reporting that 'you' are messaging them asking for money urgently"],"what_to_do":["Never dial USSD codes provided by strangers over the phone.","Enable Two-Step Verification in your WhatsApp settings immediately.","If you suspect your calls are forwarded, check your phone's call settings and disable call forwarding.","If your account is hijacked, reinstall WhatsApp, request a new OTP via SMS, and log the scammer out."],"reported_cases":8800,"source_link":"https://cybercrime.gov.in","tags":["WhatsApp","hijacking","call forwarding","OTP","impersonation"]},{"id":"26","slug":"fastag-kyc-scam","title":"FASTag KYC Block Scam","category":"Phishing","severity":"medium","short_description":"Fraudsters send SMS alerts claiming your FASTag will be blocked unless you immediately update your KYC via a malicious link.","how_it_works":"You receive an SMS warning that your vehicle's FASTag wallet has been suspended due to incomplete KYC documentation. The message contains a link that looks like the official NHAI or bank portal. Once you click it, you are taken to a fake website that asks for your mobile number, vehicle registration number, and OTP to log in. In reality, the scammers use these details to access your actual banking portal or mobile wallet and drain the linked account.","red_flags":["SMS alerts from regular 10-digit mobile numbers instead of verified sender IDs","Links that do not belong to your specific bank or the official IHMCL website","Requests to enter your debit card details or UPI PIN to verify your FASTag identity","Urgent threats of heavy penalties at toll plazas if you don't act within 24 hours"],"what_to_do":["Do not click links in SMS messages regarding FASTag updates.","Check your FASTag status only through your bank's official mobile app or the My FASTag app.","If you entered your details, immediately contact your bank to secure your account.","Report the malicious sender number to the Chakshu portal."],"reported_cases":3200,"source_link":"https://cybercrime.gov.in","tags":["FASTag","KYC","toll","phishing","SMS","vehicle"]},{"id":"27","slug":"matrimonial-fraud","title":"Matrimonial Site Fraud","category":"Romance","severity":"high","short_description":"Scammers create fake profiles on matrimonial sites, build trust, and then extort money claiming customs issues with imported gifts.","how_it_works":"Scammers target individuals on popular Indian matrimonial websites using profiles of well-educated NRIs, doctors, or engineers. They quickly move the conversation to WhatsApp and build trust by discussing marriage plans with your parents. After a few weeks, they claim they are flying to India to meet you or are sending expensive gifts like gold jewelry or iPhones. Shortly after, you receive a call from someone posing as a Customs Officer claiming your partner or their parcel has been detained at the airport due to unpaid taxes. They demand heavy penalty fees to release them.","red_flags":["Profiles that look flawless but the person refuses to do a live video call","Rushing marriage plans without meeting you or your family in person","Claims of sending expensive gifts from abroad without your consent","Unexpected calls from individuals claiming to be airport customs or police","Requests to pay customs clearance fees into a personal saving account"],"what_to_do":["Never pay customs duty or clearance fees for gifts sent by someone you met online.","Official customs departments do not ask for payments via personal UPI IDs or bank transfers.","Report the fake profile to the matrimonial website immediately.","Cut off all communication and block the numbers.","File a cybercrime complaint if you have transferred any money."],"reported_cases":4500,"source_link":"https://cybercrime.gov.in","tags":["matrimonial","marriage","customs","extortion","NRI","gifts"]},{"id":"28","slug":"rental-accommodation-scam","title":"Fake Flat/PG Rental Scam","category":"E-Commerce","severity":"medium","short_description":"Fake landlords post attractive property listings online and demand a booking token via UPI before allowing you to view the property.","how_it_works":"Scammers post listings for fully furnished apartments or PGs in prime locations on platforms like NoBroker, MagicBricks, or Facebook Groups at incredibly low rents. When you contact them, they claim to be military personnel or out of town on urgent business. They say there is high demand for the property and insist you transfer a token advance of 2000 to 5000 rupees via UPI to lock the deal and get the gate pass for the society. Once you pay, they either block your number or ask for more money as a 
19security deposit. The property either does not exist or belongs to someone else.","red_flags":["Rent prices that are significantly lower than the market rate for the area","Landlords claiming to be in the army and sending photos of ID cards to build trust","Refusal to let you visit the property unless a booking amount is paid first","Demanding payment through UPI instead of a formal bank transfer with an agreement","Creating artificial urgency by saying another tenant is ready to pay right now"],"what_to_do":["Never pay any token amount, deposit, or rent without physically visiting the property.","Verify the identity of the landlord and ask for proof of ownership like an electricity bill.","Do not trust photos of military ID cards sent over WhatsApp.","Report the fraudulent listing to the real estate platform immediately."],"reported_cases":5800,"source_link":"https://cybercrime.gov.in","tags":["rental","PG","flat","advance fee","real estate","NoBroker"]},{"id":"29","slug":"income-tax-refund-scam","title":"Fake Tax Refund Scam","category":"Phishing","severity":"medium","short_description":"Scammers send SMS alerts claiming your income tax refund has been approved and ask you to update your bank details via a malicious link.","how_it_works":"During tax filing season, you receive an SMS or email that appears to be from the Income Tax Department. It states that a refund of a specific amount has been approved for your PAN, but your bank details are incorrect. It provides a link to an e-filing portal to update your account number. The website is a sophisticated clone of the actual government portal. When you enter your NetBanking credentials or debit card details to receive the refund, the scammers capture the data and empty your bank account.","red_flags":["Messages containing links that do not end exactly in incometax.gov.in","SMS alerts from 10-digit mobile numbers instead of verified IDs like ITDEPT","Requests to verify your identity by entering your ATM PIN or NetBanking password","Urgent language claiming the refund will expire if not claimed within 24 hours"],"what_to_do":["Never click on links in SMS or email regarding income tax refunds.","Always log in directly to the official incometax.gov.in portal to check your refund status.","Remember that the Income Tax Department never asks for your PIN or password.","Report phishing messages to [email protected] and the cyber police."],"reported_cases":2400,"source_link":"https://cybercrime.gov.in","tags":["income tax","refund","ITR","phishing","bank details","PAN"]},{"id":"30","slug":"overseas-visa-scam","title":"Overseas Job and Visa Fraud","category":"Employment","severity":"high","short_description":"Fake immigration consultants promise guaranteed work visas for countries like Canada or the UK, charging massive upfront processing fees.","how_it_works":"Fraudulent travel agencies and immigration consultants run ads on social media offering guaranteed jobs and work visas for the UK, Canada, Australia, or Gulf countries. They conduct fake interviews and provide forged offer letters from foreign companies. To process the visa, they demand exorbitant fees ranging from 1 to 10 lakh rupees for medical tests, embassy fees, and travel insurance. After collecting the money over several months, the agency shuts down its office, disables its website, and disappears entirely.","red_flags":["Agencies guaranteeing a work visa since only embassies can issue visas","Offers of high-paying jobs abroad without requiring you to clear formal interviews","Demands to pay massive visa fees into personal bank accounts instead of embassy portals","Agencies that are not registered with the Ministry of External Affairs","Providing visa approval letters that have grammatical errors or low-quality logos"],"what_to_do":["Verify the credibility of the recruiting agent on the Ministry of External Affairs eMigrate portal.","Never pay cash for visa processing to unofficial agents.","Cross-check job offer letters directly with the foreign company's HR department.","Apply for visas directly through official embassy websites or authorized centers like VFS Global.","File a police complaint against the fraudulent agency with all payment receipts."],"reported_cases":3900,"source_link":"https://cybercrime.gov.in","tags":["visa","overseas","immigration","Canada","UK","jobs","travel"]},{"id":"31","slug":"pension-update-scam","title":"Elderly Pension / Jeevan Pramaan Scam","category":"Identity Theft","severity":"high","short_description":"Scammers call elderly pensioners claiming their life certificate has expired, tricking them into sharing OTPs to drain their accounts.","how_it_works":"Scammers target senior citizens who receive government pensions. They call pretending to be officers from the Treasury Department or the pensioner's bank. They state that the pensioner's annual Life Certificate, known as Jeevan Pramaan, has not been updated and their pension 
19will be stopped immediately. They offer to update it digitally over the phone to save the elderly person a trip to the bank. They then trigger a password reset on the pensioner's bank account and ask the senior citizen to share the OTP they just received to complete the certificate update.","red_flags":["Calls from individuals claiming to be bank managers asking to process Jeevan Pramaan over the phone","Threats that the monthly pension will be stopped by evening if an OTP is not shared","Requests to download remote desktop apps to help fill out the pension form","Being asked to share debit card numbers or CVVs for verification"],"what_to_do":["Never share OTPs with anyone claiming to call from the bank or treasury.","Inform elderly family members about this specific scam to keep them prepared.","Submit Life Certificates only through the official Jeevan Pramaan portal, post offices, or bank branches.","If bank details are compromised, block the account immediately by calling the bank."],"reported_cases":2100,"source_link":"https://cybercrime.gov.in","tags":["pension","elderly","Jeevan Pramaan","life certificate","OTP","bank"]},{"id":"32","slug":"data-entry-deposit-scam","title":"Data Entry Penalty Scam","category":"Employment","severity":"medium","short_description":"Fake companies offer typing jobs but demand security deposits, then extort penalty fees by claiming the work is full of errors.","how_it_works":"You find an ad for simple offline data entry, captcha typing, or form-filling jobs that pay well for working from home. The company asks you to sign an online contract and pay a refundable security deposit to get the software. After you spend days completing the typing work, you submit it. The company intentionally fails your work, claiming it falls below their 90 percent accuracy rule. They refuse to pay you, keep your deposit, and then send fake legal notices from a lawyer demanding you pay a penalty fee for breach of contract, threatening court action.","red_flags":["Jobs that require you to pay a security deposit for software or training materials","Extremely strict and unrealistic accuracy guidelines hidden in the contract","Companies that have no physical office address or verifiable reviews","Receiving legal notices via WhatsApp or email demanding immediate penalty payments","Threats of police complaints if you resign or refuse to pay the penalty"],"what_to_do":["Never pay a security deposit for a data entry or typing job.","Ignore fake legal notices sent via WhatsApp as they have no legal standing.","Do not pay any penalty or cancellation fees to these fraudulent companies.","Block their numbers and report the website to cyber authorities."],"reported_cases":4300,"source_link":"https://cybercrime.gov.in","tags":["data entry","typing","work from home","penalty","legal notice","deposit"]}
19,{"id":"33","slug":"fake-travel-booking","title":"Fake Flight and Holiday Package Scam","category":"E-Commerce","severity":"medium","short_description":"Fraudulent travel agents offer incredibly cheap flight tickets or tour packages, provide fake PNRs, and cancel right before departure.","how_it_works":"You search for cheap flights or holiday packages and find sponsored ads or Instagram pages offering massive discounts. You contact the agent, who asks for payment via UPI or bank transfer. They send you a seemingly valid PDF ticket with a PNR number. The PNR might even work on the airline's website initially because the scammer reserved the ticket without fully paying for it, or booked a refundable fare. Just hours before your trip, the scammer cancels the ticket, pockets the refund, and blocks your number, leaving you stranded at the airport.","red_flags":["Flight tickets priced significantly lower than major portals like MakeMyTrip or Goibibo","Travel agents who operate exclusively through WhatsApp and Instagram","Refusal to accept credit cards, demanding only direct bank transfers or UPI","The agency name does not match the bank account name you are asked to pay","Tickets that show unconfirmed status on the airline website"],"what_to_do":["Always book flights directly through airline websites or highly reputed aggregators.","If booking through an agent, ensure they are IATA certified.","Check the PNR status on the official airline website immediately after receiving the ticket.","Use credit cards for travel bookings as they offer better fraud protection and chargeback options."],"reported_cases":2600,"source_link":"https://cybercrime.gov.in","tags":["travel","flight","holiday","booking","PNR","agency"]},{"id":"34","slug":"credit-card-limit-scam","title":"Credit Card Limit Increase Scam","category":"Phishing","severity":"high","short_description":"Scammers call offering to make your credit card lifetime free or increase your limit, extracting your card details and OTP.","how_it_works":"You receive a call from someone who speaks fluent English or Hindi, claiming to be from your bank's credit card division. They inform you that due to your good payment history, you are eligible for a massive limit increase, or that your card is being converted to lifetime free. To process this upgrade, they ask you to verify your card details. Once you share your 16-digit number and CVV, they initiate a transaction and ask you for the OTP, claiming it is an authorization code to activate the new limit. Sharing it leads to instant financial loss.","red_flags":["Callers asking for your complete 16-digit card number and CVV","Being asked to share an OTP over the phone to activate a service","The caller insists the upgrade can only be done right now on this call","Receiving an OTP message where the text clearly says it is for a purchase, not an upgrade"],"what_to_do":["Disconnect the call immediately if anyone asks for your CVV or OTP.","Manage your credit card limit directly through your bank's official mobile app.","Remember that banks never call to ask for OTPs to upgrade your services.","If you shared your details, call your bank's emergency helpline to block the card."],"reported_cases":5100,"source_link":"https://cybercrime.gov.in","tags":["credit card","limit increase","lifetime free","OTP","bank fraud"]},{"id":"35","slug":"social-media-impersonation","title":"Social Media Friend Impersonation","category":"Identity Theft","severity":"medium","short_description":"Hackers clone or steal a friend's social media account and message you urgently asking for money due to a fabricated emergency.","how_it_works":"Scammers duplicate a friend's Facebook or Instagram account by stealing their profile picture and name, or they hack the actual account. They send you a direct message claiming they are in a desperate situation like an accident, a hospital emergency, or their wallet was stolen while traveling. They ask you to quickly transfer money via GPay or Paytm to a specific number, promising to return it by tomorrow. Because the message appears to come from someone you trust, victims often transfer the money without a second thought.","red_flags":["Sudden requests for money via direct message from friends or family","The friend refuses to take a phone call to explain the situation","The UPI name on the payment app does not match your friend's real name","The grammar or typing style is completely different from how your friend usually speaks","Receiving a friend request from someone you are already friends with on the platform"],"what_to_do":["Always call the person on their regular phone number to verify the emergency before sending money.","Check the UPI name carefully before authorizing any payment.","Report the fake or hacked profile to the social media platform.","Post a status alerting your mutual friends that the account is compromised."],"reported_cases":6300,"source_link":"https://cybercrime.gov.in","tags":["social media","impersonation","emergency","Facebook","Instagram","UPI"]}
19,{"id":"36","slug":"fake-restaurant-booking","title":"Fake Restaurant Booking Scam","category":"Phishing","severity":"medium","short_description":"Scammers manipulate Google Maps listings for popular restaurants, answering calls to collect fake table reservation deposits.","how_it_works":"Scammers use the suggest an edit feature on Google Maps to change the contact numbers of famous restaurants, pubs, or bakeries to their own numbers. When you search for the venue and call to book a table or place an order, the scammer answers professionally. They tell you the venue is fully booked but they can reserve a table if you pay an advance deposit of 1000 rupees. They send a payment link or a UPI ID. When you arrive at the restaurant, the staff has no record of your booking, and the scammer's number is switched off.","red_flags":["Restaurants demanding a table reservation fee via an unverified UPI link","The person on the phone sending a payment link that asks you to enter your UPI PIN","Mobile numbers listed on Google Maps that do not match the numbers on the restaurant's official social media pages","The caller insists on immediate payment to hold the table"],"what_to_do":["Verify restaurant contact numbers through their official Instagram page or Zomato/Swiggy listings.","Most legitimate restaurants do not ask for advance reservation fees via UPI.","Never click on unknown payment links sent via SMS or WhatsApp to secure a booking.","Report the incorrect number on Google Maps to get it removed."],"reported_cases":1800,"source_link":"https://cybercrime.gov.in","tags":["restaurant","booking","Google Maps","reservation","UPI","fake number"]},{"id":"37","slug":"mule-account-scam","title":"Bank Account Renting / Money Mule","category":"Financial","severity":"high","short_description":"Scammers offer you money to rent your bank account, which they then use to route stolen funds, making you the primary suspect.","how_it_works":"You see an ad on Telegram or receive a message offering 10,000 to 20,000 rupees a month simply for renting out your unused bank account, debit card, or UPI credentials. The scammers claim they need it for a gaming business or cryptocurrency trading. In reality, they use your account to receive funds stolen from victims of other cybercrimes like phishing or loan app scams. When the police investigate the fraud, the money trail leads directly to your bank account. You get arrested as a money mule while the mastermind remains hidden.","red_flags":["Offers of easy money in exchange for your ATM card, PIN, or net banking passwords","Strangers asking to transfer money into your account and have you withdraw it as cash for them","Agencies asking you to open a new corporate bank account and hand over the welcome kit","Unexpected large deposits in your bank account from unknown sources"],"what_to_do":["Never share your bank account details, ATM card, or passwords with anyone.","Understand that allowing others to use your bank account for illegal activities is a criminal offense.","If you receive money by mistake, ask the bank to reverse it rather than transferring it to a third party yourself.","Report anyone asking to rent accounts to the local police."],"reported_cases":3400,"source_link":"https://cybercrime.gov.in","tags":["money mule","bank account","renting","laundering","illegal","arrest"]},{"id":"38","slug":"fake-charity-scam","title":"Fake Charity and Medical Donation Scam","category":"E-Commerce","severity":"medium","short_description":"Fraudsters create emotional campaigns for fake medical emergencies or disaster relief to collect donations into personal accounts.","how_it_works":"Scammers steal photos of sick children, injured animals, or disaster victims and run highly emotional sponsored ads on Facebook and Instagram. The posts beg for urgent financial help to pay for a life-saving surgery or food. They provide a UPI number or a link to an unverified crowdfunding page. Generous people donate thinking they are saving a life, but the money goes directly into the scammer's pocket. These campaigns often spike during natural disasters or major festivals.","red_flags":["Fundraising ads with heavy emotional manipulation but very few verifiable medical documents","Requests to donate directly to a personal UPI ID rather than a registered NGO or hospital account","Campaigns that cannot be found on reputed crowdfunding platforms like Ketto or Milaap","Pages that disable comments on their ads so people cannot call out the scam"],"what_to_do":["Always verify the authenticity of a campaign before donating.","Donate through registered NGOs, recognized crowdfunding platforms, or directly to hospital billing accounts.","Check if the NGO has a valid 80G tax exemption certificate.","Report fake donation ads to the social media platform."],"reported_cases":2200,"source_link":"https://cybercrime.gov.in","tags":["charity","donation","medical","fake ad","social media","NGO"]},{"id":"39","slug":"public-wifi-theft","title":"Public Wi-Fi / Evil Twin Scam","category":"Identity Theft","severity":"high","short_description":"Hackers set up fake free Wi-Fi networks in cafes or airports to intercept your traffic and steal login credentials.","how_it_works":"While waiting at an airport, hotel, or cafe, you search for free Wi-Fi and connect to a network named something like Free Airport Wi-Fi or Cafe Guest. This is actually a malicious hotspot set up by a hacker sitting nearby using a portable router, known as an Evil Twin attack. Once you connect, the hacker can intercept unencrypted traffic. If the network prompts you to install an update or log in using your social media or banking details to access the internet, they capture your passwords instantly.","red_flags":["Unsecured Wi-Fi networks in public places that don't require a password to join","Networks with names very similar to the official venue but slightly misspelled","A pop-up page asking you to download a security certificate or app to browse","Warnings from your browser that the website you are visiting is not secure"],"what_to_do":["Avoid using public Wi-Fi for banking, shopping, or accessing sensitive information.","Always use a Virtual Private Network to encrypt your data on public networks.","Ask the staff for the exact name of the official Wi-Fi network before connecting.","Turn off auto-connect features on your phone so it doesn't join unknown networks automatically."],"reported_cases":1100,"source_link":"https://cybercrime.gov.in","tags":["Wi-Fi","hacker","evil twin","public network","interception","passwords"]},{"id":"40","slug":"medical-emergency-scam","title":"Fake Medical Supply Scam","category":"E-Commerce","severity":"high","short_description":"Scammers exploit families in medical crises by offering rare medicines or blood, taking advance payments, and disappearing.","how_it_works":"When a family is desperately searching for rare blood types, oxygen cylinders, or critical medicines, they often post requests on X or Facebook with their phone numbers. Scammers monitor these posts and call the family, claiming they run a pharmacy or a blood bank and have the exact item in stock. Because the situation is critical, they ask for full or partial payment upfront via UPI to reserve the item or pay for ambulance delivery. Once the distressed family pays, the scammer stops answering calls, leaving the patient in danger.","red_flags":["Callers responding to social media SOS posts demanding advance payment","Refusal to share a live location or physical address of the pharmacy or blood bank","Insisting that the delivery driver has already left but needs fuel money via UPI","Prices quoted being significantly higher than market rates due to emergency demand"],"what_to_do":["Never pay in advance for medical supplies arranged through strangers online.","Insist on paying cash on delivery only after inspecting the medicine or equipment.","Verify the caller's identity by asking for the pharmacy license or checking their number on truecaller.","Rely on established hospital networks, official helplines, or registered blood banks during emergencie
19s."],"reported_cases":2900,"source_link":"https://cybercrime.gov.in","tags":["medical","emergency","blood bank","medicine","advance fee","extortion"]}]`);function Zp(){let[e,t]=(0,b.useState)([]),[n,r]=(0,b.useState)(!0),[i,a]=(0,b.useState)(null);return(0,b.useEffect)(()=>{let e=!1;async function n(){try{r(!0),e||(t(Xp),a(null))}catch(t){e||a(t.message)}finally{e||r(!1)}}return n(),()=>{e=!0}},[]),{scams:e,loading:n,error:i}}function Qp(e){let{scams:t,loading:n,error:r}=Zp();return{scam:(0,b.useMemo)(()=>t.find(t=>t.slug===e)||null,[t,e]),loading:n,error:r}}function $p({query:e=``,category:t=`All`,severity:n=`All`}={}){let{scams:r,loading:i,error:a}=Zp();return{scams:(0,b.useMemo)(()=>r.filter(r=>{let i=!e||r.title.toLowerCase().includes(e.toLowerCase())||r.short_description.toLowerCase().includes(e.toLowerCase())||r.tags.some(t=>t.toLowerCase().includes(e.toLowerCase())),a=t===`All`||r.category===t,o=n===`All`||r.severity===n;return i&&a&&o}),[r,e,t,n]),loading:i,error:a}}function em(){let{scams:e}=Zp();return(0,b.useMemo)(()=>[`All`,...new Set(e.map(e=>e.category))],[e])}function tm({showSearch:e=!1,showTitle:t=!0,initialQuery:n=``,limit:r}){let[i,a]=(0,b.useState)(n),[o,s]=(0,b.useState)(`All`),[c,l]=(0,b.useState)(`All`),u=em(),{scams:d,loading:f}=$p({query:i,category:o,severity:c}),p=r?d.slice(0,r):d;return(0,X.jsx)(`section`,{className:`scam-grid-section`,children:(0,X.jsxs)(`div`,{className:`container`,children:[t&&(0,X.jsxs)(`div`,{className:`scam-grid__header`,children:[(0,X.jsxs)(`div`,{children:[(0,X.jsx)(`h2`,{className:`scam-grid__title`,children:`Scam Database`}),(0,X.jsx)(`p`,{className:`scam-grid__subtitle`,children:`Browse all documented scams. Click any card to learn more.`})]}),(0,X.jsxs)(Rn,{to:`/scams`,className:`scam-grid__view-all`,children:[`View all scams`,(0,X.jsx)($,{name:`arrow`,size:15})]})]}),e&&(0,X.jsx)(`div`,{className:`scam-grid__search`,children:(0,X.jsx)(Up,{size:`md`,initialValue:i,onSearch:a})}),(0,X.jsxs)(`div`,{className:`scam-grid__filters`,children:[(0,X.jsxs)(`div`,{className:`scam-grid__filter-row`,children:[(0,X.jsx)($,{name:`filter`,size:15,color:`var(--color-text-tertiary)`}),(0,X.jsx)(Yp,{categories:u,selected:o,onSelect:s})]}),(0,X.jsx)(`div`,{className:`scam-grid__severity-row`,children:[`All`,`high`,`medium`,`low`].map(e=>(0,X.jsx)(`button`,{className:`scam-grid__severity-btn scam-grid__severity-btn--${e} ${c===e?`scam-grid__severity-btn--active`:``}`,onClick:()=>l(e),children:e===`All`?`All Risk`:e.charAt(0).toUpperCase()+e.slice(1)},e))})]}),f?(0,X.jsx)(`div`,{className:`scam-grid__skeleton`,children:Array.from({length:6}).map((e,t)=>(0,X.jsx)(`div`,{className:`scam-grid__skeleton-card skeleton`},t))}):d.length===0?(0,X.jsxs)(Q.div,{className:`scam-grid__empty`,initial:{opacity:0}
19,animate:{opacity:1},children:[(0,X.jsx)(`span`,{className:`scam-grid__empty-icon`,children:`🔍`}),(0,X.jsx)(`h3`,{children:`No scams found`}),(0,X.jsx)(`p`,{children:`Try a different search term or clear your filters.`}),(0,X.jsx)(`button`,{className:`scam-grid__reset`,onClick:()=>{a(``),s(`All`),l(`All`)},children:`Clear all filters`})]}):(0,X.jsx)(Z,{mode:`wait`,children:(0,X.jsx)(`div`,{className:`scam-grid__grid`,children:p.map((e,t)=>(0,X.jsx)(Jp,{scam:e,index:t},e.id))})}),!e&&!f&&d.length>0&&(0,X.jsx)(`div`,{className:`scam-grid__bottom`,children:(0,X.jsxs)(Rn,{to:`/scams`,className:`scam-grid__browse-btn`,children:[`Browse all `,d.length,` scams`,(0,X.jsx)($,{name:`arrow`,size:16})]})})]})})}var nm=`https://spot-the-scam-ebon.vercel.app/`;function rm(){let e=(0,b.useRef)(null),[t,n]=(0,b.useState)(!1);return(0,X.jsx)(`section`,{className:`spot-section`,children:(0,X.jsxs)(`div`,{className:`container`,children:[(0,X.jsxs)(Q.div,{className:`spot__header`,initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:`-80px`},transition:{duration:.5,ease:[.22,1,.36,1]},children:[(0,X.jsxs)(`div`,{className:`spot__label`,children:[(0,X.jsx)(`span`,{className:`spot__label-dot`}),`Interactive Tool`]}),(0,X.jsxs)(`h2`,{className:`spot__title`,children:[`Can you `,(0,X.jsx)(`span`,{className:`spot__title-highlight`,children:`spot the scam?`})]}),(0,X.jsx)(`p`,{className:`spot__subtitle`,children:`Put your scam-detection skills to the test. Real scenarios, real tactics — see if you can tell what's genuine from what's fraud.`}),(0,X.jsxs)(`a`,{href:nm,target:`_blank`,rel:`noopener noreferrer`,className:`spot__launch-btn`,children:[(0,X.jsx)(`i`,{className:`fa-solid fa-arrow-up-right-from-square`}),`Open full app`]})]}),(0,X.jsxs)(Q.div,{className:`spot__embed-wrap`,initial:{opacity:0,y:32},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:`-60px`},transition:{duration:.6,delay:.1,ease:[.22,1,.36,1]},children:[!t&&(0,X.jsxs)(`div`,{className:`spot__loading`,children:[(0,X.jsx)(`div`,{className:`spot__loading-spinner`}),(0,X.jsx)(`p`,{children:`Loading interactive tool...`})]}),(0,X.jsx)(`iframe`,{ref:e,src:nm,className:`spot__iframe ${t?`spot__iframe--loaded`:``}`,title:`Spot the Scam — Interactive Quiz`,onLoad:()=>n(!0),loading:`lazy`})]}),(0,X.jsxs)(`p`,{className:`spot__attribution`,children:[`Built by `,(0,X.jsx)(`a`,{href:`https://myfactree.org`,target:`_blank`,rel:`noopener noreferrer`,children:`myfactree.org`}),` as a free media literacy tool.`]})]})})}var im=`https://myfactree.org/wp-json/scamdb/v1/reports`,am=[{id:1,date:`2024-11-10`,scam_category:`Financial`,scam_platform:`WhatsApp`,what_happened:`I received a WhatsApp message from someone claiming to be my bank asking me to verify my account. They sent a link that looked exactly like my bank's website. I entered my details and within minutes Rs. 45,000 was transferred out of my account.`,red_flags_noticed:`The URL had a slight difference — it was "sbibank-secure.com" instead of the official domain. I only noticed after the money was gone.`,amount_lost:45e3,city:`Pune`,state:`Maharashtra`,display_name:`Rahul S.`},{id:2,date:`2024-10-28`,scam_category:`Employment`,scam_platform:`Telegram`,what_happened:`Got a message on Telegram offering a work-from-home job liking YouTube videos. They paid me Rs. 500 initially to build trust. Then asked me to invest Rs. 5,000 to unlock higher paying tasks. Once I paid, they disappeared.`,red_flags_noticed:`The initial payment was the hook. No legitimate job pays you to like videos.`,amount_lost:5e3,city:`Bengaluru`,state:`Karnataka`,display_name:`Anonymous`},{id:3,date:`2024-10-15`,scam_category:`Phishing`,scam_platform:`SMS`,what_happened:`Received an SMS saying my electricity connection would be cut in 2 hours. Called the number and gave them my consumer ID. They then sent a UPI collect request and I approved it thinking it was the payment. Lost Rs. 3,200.`,red_flags_noticed:`Official electricity board never sends personal mobile numbers. I should have checked the official website directly.`,amount_lost:3200,city:`Hyderabad`,state:`Telangana`,display_name:`Priya M.`}];function om(){let[e,t]=(0,b.useState)([]),[n,r]=(0,b.useState)(!0),[i,a]=(0,b.useState)(null);return(0,b.useEffect)(()=>{let e=!1;async function n(){try{r(!0);let n=await fetch(im);if(!n.ok)throw Error(`Reports API unavailable`);let i=await n.json();e||(t(i),a(null))}catch{e||(t(am),a(null))}finally{e||r(!1)}}return n(),()=>{e=!0}},[]),{reports:e,loading:n,error:i}}var sm={WhatsApp:`💬`,"Phone Call":`📞`,SMS:`📱`,Email:`📧`,Instagram:`📸`,Facebook:`👥`,Telegram:`✈️`,"Dating App":`❤️`,"Job Portal":`💼`,Website:`🌐`,"In Person":`🤝`,Other:`⚠️`};function cm(){let{reports:e,loading:t}=om(),n=e.slice(0,3);return(0,X.jsx)(`section`,{className:`community-section`,children:(0,X.jsxs)(`div`,{className:`container`,children:[(0,X.jsxs)(Q.div,{className:`community__header`,initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:`-80px`},transition:{duration:.5,ease:[.22,1,.36,1]},children:[(0,X.jsxs)(`div`,{children:[(0,X.jsx)(`p`,{className:`community__eyebrow`,children:`From the community`}),(0,X.jsx)(`h2`,{className:`community__title`,children:`Real stories. Real scams.`}),(0,X.jsx)(`p`,{className:`community__subtitle`,children:`Submitted by people who've been there — so you don't have to be.`})]}),(0,X.jsxs)(Rn,{to:`/reports`,className:`community__view-all`,children:[`View all reports`,(0,X.jsx)($,{name:`arrow`,size:15})]})]}),t?(0,X.jsx)(`div`,{className:`community__skeleton`,children:Array.from({length:3}).map((e,t)=>(0,X.jsx)(`div`,{className:`skeleton community__skeleton-card`},t))}):n.length===0?(0,X.jsx)(Q.div,{className:`community__empty`,initial:{opacity:0}
19,animate:{opacity:1},children:(0,X.jsxs)(`p`,{children:[`No reports yet. `,(0,X.jsx)(Rn,{to:`/submit`,children:`Be the first to share your experience.`})]})}):(0,X.jsx)(`div`,{className:`community__grid`,children:n.map((e,t)=>(0,X.jsxs)(Q.div,{className:`community-card`,initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:`-60px`},transition:{duration:.45,delay:t*.08,ease:[.22,1,.36,1]},children:[(0,X.jsx)(`div`,{className:`community-card__quote`,children:`"`}),(0,X.jsx)(`p`,{className:`community-card__text`,children:e.what_happened.length>180?e.what_happened.slice(0,180).trim()+`...`:e.what_happened}),e.red_flags_noticed&&(0,X.jsxs)(`div`,{className:`community-card__flag`,children:[(0,X.jsx)(`span`,{children:`🚩`}),(0,X.jsx)(`span`,{children:e.red_flags_noticed.length>100?e.red_flags_noticed.slice(0,100).trim()+`...`:e.red_flags_noticed})]}),(0,X.jsxs)(`div`,{className:`community-card__footer`,children:[(0,X.jsxs)(`div`,{className:`community-card__author`,children:[(0,X.jsx)(`div`,{className:`community-card__avatar`,children:e.display_name.charAt(0).toUpperCase()}),(0,X.jsxs)(`div`,{children:[(0,X.jsx)(`p`,{className:`community-card__name`,children:e.display_name}),e.city&&e.state&&(0,X.jsxs)(`p`,{className:`community-card__location`,children:[e.city,`, `,e.state]})]})]}),(0,X.jsxs)(`div`,{className:`community-card__meta`,children:[(0,X.jsxs)(`span`,{className:`community-card__platform`,children:[sm[e.scam_platform]||`⚠️`,` `,e.scam_platform]}),e.amount_lost>0&&(0,X.jsxs)(`span`,{className:`community-card__loss`,children:[`₹`,Number(e.amount_lost).toLocaleString(`en-IN`),` lost`]})]})]})]},e.id))}),(0,X.jsxs)(Q.div,{className:`community__cta`,initial:{opacity:0,y:16},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:.2},children:[(0,X.jsx)(`p`,{children:`Had a scam experience?`}),(0,X.jsxs)(Rn,{to:`/submit`,className:`community__submit-btn`,children:[`Share your story`,(0,X.jsx)($,{name:`arrow`,size:15})]})]})]})})}function lm({post:e,index:t=0}){return(0,X.jsxs)(Q.a,{href:e.link,target:`_blank`,rel:`noopener noreferrer`,className:`blog-card`,initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.4,delay:t*.08,ease:[.22,1,.36,1]},"aria-label":`Read: ${e.title}`,children:[(0,X.jsx)(`div`,{className:`blog-card__image-wrap`,children:e.featured_image?(0,X.jsx)(`img`,{src:e.featured_image,alt:e.title,className:`blog-card__image`,loading:`lazy`}):(0,X.jsx)(`div`,{className:`blog-card__placeholder`,children:`📰`})}),(0,X.jsxs)(`div`,{className:`blog-card__body`,children:[(0,X.jsxs)(`div`,{className:`blog-card__meta`,children:[(0,X.jsx)(`span`,{className:`blog-card__category`,children:e.category}),(0,X.jsxs)(`span`,{className:`blog-card__date`,children:[(0,X.jsx)($,{name:`calendar`,size:11}),Rp(e.date)]})]}),(0,X.jsx)(`h3`,{className:`blog-card__title`,children:e.title}),(0,X.jsx)(`p`,{className:`blog-card__excerpt`,children:zp(e.excerpt,100)})]}),(0,X.jsx)(`div`,{className:`blog-card__footer`,children:(0,X.jsxs)(`span`,{className:`blog-card__read`,children:[`Read on myfactree.org`,(0,X.jsx)($,{name:`external-link`,size:12})]})})]})}var um=`https://myfactree.org/wp-json/wp/v2/posts?per_page=4&_embed`,dm=[{id:1,slug:`how-to-spot-deepfake-scams`,title:`How to Spot Deepfake Scams in 2024`,excerpt:`AI-generated videos are being used to impersonate politicians and business leaders. Here is what to look for.`,date:`2024-11-12`,link:`https://myfactree.org`,featured_image:null,category:`Media Literacy`},{id:2,slug:`upi-safety-guide`,title:`The Complete UPI Safety Guide for Indian Users`,excerpt:`UPI fraud is at an all-time high. This step-by-step guide will help you transact safely and spot tricks scammers use.`,date:`2024-10-28`,link:`https://myfactree.org`,featured_image:null,category:`Financial Safety`},{id:3,slug:`digital-arrest-explainer`,title:`What is a Digital Arrest Scam? A Full Explainer`,excerpt:`Fake police officers are using video calls to extort money from terrified victims. We break down exactly how it works.`,date:`2024-10-15`,link:`https://myfactree.org`,featured_image:null,category:`Awareness`},{id:4,slug:`protecting-elderly-parents-online`,title:`Protecting Your Parents from Online Scams`,excerpt:`Older adults are disproportionately targeted by scammers. Here is a practical guide to have with your family.`,date:`2024-09-30`,link:`https://myfactree.org`,featured_image:null,category:`Family Safety`}];function fm(e){let t=e._embedded?.[`wp:featuredmedia`]?.[0]?.source_url||null,n=e._embedded?.[`wp:term`]?.[0]?.[0]?.name||`General`;return{id:e.id,slug:e.slug,title:e.title.rendered.replace(/&#8217;/g,`'`).replace(/&amp;/g,`&`),excerpt:e.excerpt.rendered.replace(/<[^>]+>/g,``).replace(/\[&hellip;\]/g,`...`).trim(),date:e.date,link:e.link,featured_image:t,category:n}}function pm(){let[e,t]=(0,b.useState)([]),[n,r]=(0,b.useState)(!0),[i,a]=(0,b.useState)(null);return(0,b.useEffect)(()=>{let e=!1;async function n(){try{r(!0);let n=await fetch(um);if(!n.ok)throw Error(`Blog API unavailable`);let i=await n.json();e||(t(i.map(fm)),a(null))}catch{e||(t(dm),a(null))}finally{e||r(!1)}}return n(),()=>{e=!0}},[]),{posts:e,loading:n,error:i}}function mm(){let{posts:e,loading:t}=pm();return(0,X.jsx)(`section`,{className:`blogs-section`,children:(0,X.jsxs)(`div`,{className:`container`,children:[(0,X.jsxs)(Q.div,{className:`blogs__header`,initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:`-80px`},transition:{duration:.5,ease:[.22,1,.36,1]},children:[(0,X.jsxs)(`div`,{children:[(0,X.jsx)(`p`,{className:`blogs__eyebrow`,children:`From the blog`}),(0,X.jsx)(`h2`,{className:`blogs__title`,children:`Latest from myfactree.org`}),(0,X.jsx)(`p`,{className:`blogs__subtitle`,children:`In-depth articles, explainers, and guides on media literacy and digital safety.`})]}),(0,X.jsx)(`a`,{href:`https://myfactree.org/blog`,target:`_blank`,rel:`noopener noreferrer`,className:`blogs__all-link`,children:`View all articles ↗`})]}),t?(0,X.jsx)(`div`,{className:`blogs__skeleton`,children:Array.from({length:4}).map((e,t)=>(0,X.jsx)(`div`,{className:`blogs__skeleton-card skeleton`},t))}):(0,X.jsx)(`div`,{className:`blogs__grid`,children:e.map((e,t)=>(0,X.jsx)(lm,{post:e,index:t},e.id))})]})})}function hm(){return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(Gp,{}),(0,X.jsx)(tm,{showTitle:!0,showSearch:!1,limit:9}),(0,X.jsx)(rm,{}),(0,X.jsx)(cm,{}),(0,X.jsx)(mm,{})]})}function gm(){let[e]=Kn(),t=e.get(`q`)||``;return(0,X.jsxs)(`div`,{className:`scams-page`,children:[(0,X.jsx)(`div`,{className:`scams-page__hero`,children:(0,X.jsx)(`div`,{className:`container`,children:(0,X.jsxs)(Q.div,{className:`scams-page__hero-inner`,initial:{opacity:0,y:20}
19,animate:{opacity:1,y:0},transition:{duration:.5,ease:[.22,1,.36,1]},children:[(0,X.jsx)(`h1`,{className:`scams-page__title`,children:`Scam Database`}),(0,X.jsx)(`p`,{className:`scams-page__subtitle`,children:`Every scam documented, explained, and fact-checked. Search, filter, and learn — so you're never caught off guard.`})]})})}),(0,X.jsx)(tm,{showTitle:!1,showSearch:!0,initialQuery:t})]})}var _m={Phishing:`🎣`,Romance:`💔`,"Tech Support":`💻`,Financial:`💸`,Employment:`💼`,"Identity Theft":`🪪`,Education:`🎓`,Utility:`⚡`,"E-Commerce":`🛒`};function vm(){let{slug:e}=vt(),t=mt(),{scam:n,loading:r}=Qp(e),{scams:i}=Zp(),a=i.filter(t=>t.category===n?.category&&t.slug!==e).slice(0,3);if(r)return(0,X.jsx)(`div`,{className:`detail-loading`,children:(0,X.jsx)(`div`,{className:`container`,children:(0,X.jsxs)(`div`,{className:`detail-loading__content`,children:[(0,X.jsx)(`div`,{className:`skeleton`,style:{height:28,width:120,borderRadius:99}}),(0,X.jsx)(`div`,{className:`skeleton`,style:{height:52,width:`60%`,marginTop:16}}),(0,X.jsx)(`div`,{className:`skeleton`,style:{height:24,width:`40%`,marginTop:12}}),(0,X.jsx)(`div`,{className:`skeleton`,style:{height:200,marginTop:32,borderRadius:16}})]})})});if(!n)return(0,X.jsx)(`div`,{className:`detail-notfound`,children:(0,X.jsx)(`div`,{className:`container`,children:(0,X.jsxs)(`div`,{className:`detail-notfound__inner`,children:[(0,X.jsx)(`span`,{className:`detail-notfound__emoji`,children:`🔍`}),(0,X.jsx)(`h1`,{children:`Scam not found`}),(0,X.jsx)(`p`,{children:`We couldn't find a scam matching that URL. It may have been moved or renamed.`}),(0,X.jsx)(Rn,{to:`/scams`,className:`detail-notfound__btn`,children:`Browse all scams`})]})})});let o=_m[n.category]||`⚠️`;return(0,X.jsxs)(`div`,{className:`detail-page`,children:[(0,X.jsx)(`div`,{className:`detail-page__nav`,children:(0,X.jsxs)(`div`,{className:`container`,children:[(0,X.jsxs)(`button`,{className:`detail-page__back`,onClick:()=>t(-1),children:[(0,X.jsx)($,{name:`back`,size:16}),`Back`]}),(0,X.jsxs)(`div`,{className:`detail-page__breadcrumb`,children:[(0,X.jsx)(Rn,{to:`/`,children:`Home`}),(0,X.jsx)($,{name:`chevron`,size:13}),(0,X.jsx)(Rn,{to:`/scams`,children:`Scams`}),(0,X.jsx)($,{name:`chevron`,size:13}),(0,X.jsx)(`span`,{children:n.title})]})]})}),(0,X.jsx)(Q.div,{className:`detail-page__hero`,initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{duration:.5,ease:[.22,1,.36,1]},children:(0,X.jsx)(`div`,{className:`container`,children:(0,X.jsxs)(`div`,{className:`detail-page__hero-inner`,children:[(0,X.jsxs)(`div`,{className:`detail-page__hero-left`,children:[(0,X.jsxs)(`div`,{className:`detail-page__meta`,children:[(0,X.jsx)(`span`,{className:`detail-page__emoji`,children:o}),(0,X.jsx)(`span`,{className:`detail-page__category`,children:n.category}),(0,X.jsx)(Kp,{severity:n.severity,size:`md`})]}),(0,X.jsx)(`h1`,{className:`detail-page__title`,children:n.title}),(0,X.jsx)(`p`,{className:`detail-page__lead`,children:n.short_description}),(0,X.jsxs)(`div`,{className:`detail-page__stat`,children:[(0,X.jsx)($,{name:`trending-up`,size:16,color:`var(--color-accent-red)`}),(0,X.jsxs)(`span`,{children:[(0,X.jsx)(`strong`,{children:Vp(n.reported_cases)}),` reported cases`]})]})]}),(0,X.jsx)(`div`,{className:`detail-page__hero-right`,children:(0,X.jsxs)(`div`,{className:`detail-page__share`,children:[(0,X.jsx)(`p`,{className:`detail-page__share-label`,children:`Share this page`}),(0,X.jsxs)(`div`,{className:`detail-page__share-btns`,children:[(0,X.jsx)(`a`,{href:`https://twitter.com/intent/tweet?text=Learn about the "${n.title}" scam&url=${encodeURIComponent(window.location.href)}`,target:`_blank`,rel:`noopener noreferrer`,className:`detail-page__share-btn`,children:`Share on X`}),(0,X.jsx)(`button`,{className:`detail-page__share-btn`,onClick:()=>navigator.clipboard.writeText(window.location.href),children:`Copy link`})]})]})})]})})}),(0,X.jsxs)(`div`,{className:`container detail-page__body`,children:[(0,X.jsxs)(`div`,{className:`detail-page__main`,children:[(0,X.jsxs)(Q.section,{className:`detail-section`,initial:{opacity:0,y:20}
19,animate:{opacity:1,y:0},transition:{duration:.4,delay:.1},children:[(0,X.jsxs)(`h2`,{className:`detail-section__title`,children:[(0,X.jsx)(`span`,{className:`detail-section__icon`,children:`🧠`}),`How this scam works`]}),(0,X.jsx)(`p`,{className:`detail-section__body`,children:n.how_it_works})]}),(0,X.jsxs)(Q.section,{className:`detail-section`,initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.4,delay:.18},children:[(0,X.jsxs)(`h2`,{className:`detail-section__title`,children:[(0,X.jsx)(`span`,{className:`detail-section__icon`,children:`🚩`}),`Red flags to watch for`]}),(0,X.jsx)(`ul`,{className:`detail-section__list detail-section__list--red`,children:n.red_flags.map((e,t)=>(0,X.jsxs)(`li`,{className:`detail-section__list-item`,children:[(0,X.jsx)($,{name:`warning`,size:16,color:`var(--color-accent-red)`}),(0,X.jsx)(`span`,{children:e})]},t))})]}),(0,X.jsxs)(Q.section,{className:`detail-section`,initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.4,delay:.26},children:[(0,X.jsxs)(`h2`,{className:`detail-section__title`,children:[(0,X.jsx)(`span`,{className:`detail-section__icon`,children:`✅`}),`What to do`]}),(0,X.jsx)(`ul`,{className:`detail-section__list detail-section__list--green`,children:n.what_to_do.map((e,t)=>(0,X.jsxs)(`li`,{className:`detail-section__list-item`,children:[(0,X.jsx)($,{name:`check-circle`,size:16,color:`var(--color-accent-green)`}),(0,X.jsx)(`span`,{children:e})]},t))})]}),n.tags?.length>0&&(0,X.jsxs)(Q.div,{className:`detail-page__tags`,initial:{opacity:0}
19,animate:{opacity:1},transition:{duration:.4,delay:.32},children:[(0,X.jsx)($,{name:`tag`,size:14,color:`var(--color-text-tertiary)`}),n.tags.map(e=>(0,X.jsx)(Rn,{to:`/scams?q=${encodeURIComponent(e)}`,className:`detail-page__tag`,children:e},e))]})]}),(0,X.jsxs)(`aside`,{className:`detail-page__sidebar`,children:[(0,X.jsxs)(Q.div,{className:`detail-sidebar__card detail-sidebar__card--emergency`,initial:{opacity:0,x:20},animate:{opacity:1,x:0},transition:{duration:.4,delay:.2},children:[(0,X.jsx)(`h3`,{className:`detail-sidebar__title`,children:`Been scammed?`}),(0,X.jsx)(`p`,{className:`detail-sidebar__body`,children:`Act fast. Every minute counts when it comes to recovering lost funds.`}),(0,X.jsxs)(`a`,{href:`tel:1930`,className:`detail-sidebar__helpline`,children:[(0,X.jsx)(`span`,{className:`detail-sidebar__helpline-num`,children:`1930`}),(0,X.jsx)(`span`,{className:`detail-sidebar__helpline-label`,children:`National Cybercrime Helpline`})]}),(0,X.jsxs)(`a`,{href:`https://cybercrime.gov.in`,target:`_blank`,rel:`noopener noreferrer`,className:`detail-sidebar__report-btn`,children:[`File a complaint online`,(0,X.jsx)($,{name:`external-link`,size:13})]})]}),(0,X.jsxs)(Q.div,{className:`detail-sidebar__card`,initial:{opacity:0,x:20},animate:{opacity:1,x:0},transition:{duration:.4,delay:.28},children:[(0,X.jsx)(`h3`,{className:`detail-sidebar__title`,children:`Quick facts`}),(0,X.jsxs)(`ul`,{className:`detail-sidebar__facts`,children:[(0,X.jsxs)(`li`,{children:[(0,X.jsx)(`span`,{className:`detail-sidebar__fact-label`,children:`Category`}),(0,X.jsx)(`span`,{className:`detail-sidebar__fact-value`,children:n.category})]}),(0,X.jsxs)(`li`,{children:[(0,X.jsx)(`span`,{className:`detail-sidebar__fact-label`,children:`Risk Level`}),(0,X.jsx)(Kp,{severity:n.severity,size:`sm`})]}),(0,X.jsxs)(`li`,{children:[(0,X.jsx)(`span`,{className:`detail-sidebar__fact-label`,children:`Reported Cases`}),(0,X.jsx)(`span`,{className:`detail-sidebar__fact-value`,children:Vp(n.reported_cases)})]})]})]}),(0,X.jsxs)(Q.div,{className:`detail-sidebar__card detail-sidebar__card--test`,initial:{opacity:0,x:20},animate:{opacity:1,x:0},transition:{duration:.4,delay:.36},children:[(0,X.jsx)(`span`,{className:`detail-sidebar__test-emoji`,children:`🎯`}),(0,X.jsx)(`h3`,{className:`detail-sidebar__title`,children:`Test your knowledge`}),(0,X.jsx)(`p`,{className:`detail-sidebar__body`,children:`Think you can spot a scam in real life? Try our interactive quiz.`}),(0,X.jsx)(Rn,{to:`/#spot-the-scam`,className:`detail-sidebar__test-btn`,children:`Try Spot the Scam`})]})]})]}),a.length>0&&(0,X.jsx)(`div`,{className:`detail-page__related`,children:(0,X.jsxs)(`div`,{className:`container`,children:[(0,X.jsxs)(`h2`,{className:`detail-page__related-title`,children:[`Related scams in `,n.category]}),(0,X.jsx)(`div`,{className:`detail-page__related-grid`,children:a.map((e,t)=>(0,X.jsx)(Jp,{scam:e,index:t},e.id))})]})})]})}var ym={WhatsApp:`💬`,"Phone Call":`📞`,SMS:`📱`,Email:`📧`,Instagram:`📸`,Facebook:`👥`,Telegram:`✈️`,"Dating App":`❤️`,"Job Portal":`💼`,Website:`🌐`,"In Person":`🤝`,Other:`⚠️`};function bm({report:e,index:t}){let[n,r]=(0,b.useState)(!1),i=ym[e.scam_platform]||`⚠️`,a=e.what_happened.length>220;return(0,X.jsxs)(Q.div,{className:`report-card`,initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.4,delay:t*.06,ease:[.22,1,.36,1]},children:[(0,X.jsxs)(`div`,{className:`report-card__top`,children:[(0,X.jsxs)(`div`,{className:`report-card__meta`,children:[(0,X.jsxs)(`span`,{className:`report-card__platform`,children:[i,` `,e.scam_platform]}),(0,X.jsx)(`span`,{className:`report-card__category`,children:e.scam_category})]}),(0,X.jsx)(`span`,{className:`report-card__date`,children:Rp(e.date)})]}),(0,X.jsxs)(`div`,{className:`report-card__body`,children:[(0,X.jsxs)(`p`,{className:`report-card__text ${!n&&a?`report-card__text--clamped`:``}`,children:[`"`,e.what_happened,`"`]}),a&&(0,X.jsx)(`button`,{className:`report-card__expand`,onClick:()=>r(!n),children:n?`Show less`:`Read more`})]}),e.red_flags_noticed&&(0,X.jsxs)(`div`,{className:`report-card__flags`,children:[(0,X.jsx)(`span`,{className:`report-card__flags-label`,children:`🚩 Red flag spotted:`}),(0,X.jsx)(`span`,{children:e.red_flags_noticed})]}),(0,X.jsxs)(`div`,{className:`report-card__footer`,children:[(0,X.jsxs)(`div`,{className:`report-card__author`,children:[(0,X.jsx)(`div`,{className:`report-card__avatar`,children:e.display_name.charAt(0).toUpperCase()}),(0,X.jsxs)(`div`,{children:[(0,X.jsx)(`p`,{className:`report-card__name`,children:e.display_name}),e.city&&e.state&&(0,X.jsxs)(`p`,{className:`report-card__location`,children:[e.city,`, `,e.state]})]})]}),e.amount_lost>0&&(0,X.jsxs)(`div`,{className:`report-card__loss`,children:[(0,X.jsx)(`span`,{className:`report-card__loss-label`,children:`Lost`}),(0,X.jsxs)(`span`,{className:`report-card__loss-amount`,children:[`₹`,Number(e.amount_lost).toLocaleStr
19ing(`en-IN`)]})]})]})]})}function xm(){let{reports:e,loading:t}=om(),[n,r]=(0,b.useState)(`All`),i=[`All`,...new Set(e.map(e=>e.scam_category).filter(Boolean))],a=n===`All`?e:e.filter(e=>e.scam_category===n);return(0,X.jsxs)(`div`,{className:`reports-page`,children:[(0,X.jsx)(`div`,{className:`reports-page__hero`,children:(0,X.jsx)(`div`,{className:`container`,children:(0,X.jsxs)(Q.div,{className:`reports-page__hero-inner`,initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,ease:[.22,1,.36,1]},children:[(0,X.jsx)(`h1`,{className:`reports-page__title`,children:`Community Reports`}),(0,X.jsx)(`p`,{className:`reports-page__subtitle`,children:`Real experiences from real people. Every story here was reviewed by our team and shared with permission to help others stay safe.`}),(0,X.jsxs)(Rn,{to:`/submit`,className:`reports-page__cta`,children:[`Share your experience`,(0,X.jsx)($,{name:`arrow`,size:15})]})]})})}),(0,X.jsxs)(`div`,{className:`container reports-page__body`,children:[(0,X.jsx)(`div`,{className:`reports-page__filters`,children:i.map(e=>(0,X.jsx)(`button`,{className:`reports-filter__btn ${n===e?`reports-filter__btn--active`:``}`,onClick:()=>r(e),children:e},e))}),t?(0,X.jsx)(`div`,{className:`reports-page__skeleton`,children:Array.from({length:4}).map((e,t)=>(0,X.jsx)(`div`,{className:`skeleton`,style:{height:220,borderRadius:16}},t))}):a.length===0?(0,X.jsxs)(`div`,{className:`reports-page__empty`,children:[(0,X.jsx)(`span`,{children:`📭`}),(0,X.jsx)(`p`,{children:`No reports yet in this category.`})]}):(0,X.jsx)(`div`,{className:`reports-page__grid`,children:a.map((e,t)=>(0,X.jsx)(bm,{report:e,index:t},e.id))}),(0,X.jsx)(`div`,{className:`reports-page__submit-nudge`,children:(0,X.jsxs)(`div`,{className:`reports-nudge__inner`,children:[(0,X.jsx)(`span`,{children:`🛡️`}),(0,X.jsxs)(`div`,{children:[(0,X.jsx)(`h3`,{children:`Had a scam experience?`}),(0,X.jsx)(`p`,{children:`Your story could stop someone else from being scammed.`})]}),(0,X.jsxs)(Rn,{to:`/submit`,className:`reports-nudge__btn`,children:[`Submit a report`,(0,X.jsx)($,{name:`arrow`,size:14})]})]})})]})]})}var Sm=`https://myfactree.org/wp-json/scamdb/v1/submit`,Cm=[`Phishing`,`Romance`,`Tech Support`,`Financial`,`Employment`,`Identity Theft`,`Education`,`Utility`,`E-Commerce`,`Other`],wm=[`WhatsApp`,`Phone Call`,`SMS`,`Email`,`Instagram`,`Facebook`,`Telegram`,`Dating App`,`Job Portal`,`Website`,`In Person`,`Other`],Tm=[`Andhra Pradesh`,`Delhi`,`Gujarat`,`Karnataka`,`Kerala`,`Madhya Pradesh`,`Maharashtra`,`Punjab`,`Rajasthan`,`Tamil Nadu`,`Telangana`,`Uttar Pradesh`,`West Bengal`,`Other`],Em={scam_category:``,scam_platform:``,what_happened:``,red_flags_noticed:``,amount_lost:``,reported_to_police:``,city:``,state:``,submitter_name:``,submitter_email:``,consent:!1};function Dm(){let[e,t]=(0,b.useState)(Em),[n,r]=(0,b.useState)({}),[i,a]=(0,b.useState)(`idle`);function o(e,i){t(t=>({...t,[e]:i})),n[e]&&r(t=>({...t,[e]:null}))}function s(){let t={};return e.scam_category||(t.scam_category=`Please select a category`),e.scam_platform||(t.scam_platform=`Please select a platform`),(!e.what_happened||e.what_happened.trim().length<30)&&(t.what_happened=`Please describe what happened (at least 30 characters)`),e.consent||(t.consent=`Please confirm your consent`),t}async function c(n){n.preventDefault();let i=s();if(Object.keys(i).length>0){r(i);return}a(`submitting`);try{if(!(await fetch(Sm,{method:`POST`,headers:{"Content-Type":`application/json`},body:JSON.stringify(e)})).ok)throw Error(`Submission failed`);a(`success`),t(Em)}catch{a(`error`)}}return(0,X.jsxs)(`div`,{className:`submit-page`,children:[(0,X.jsx)(`div`,{className:`submit-page__hero`,children:(0,X.jsx)(`div`,{className:`container`,children:(0,X.jsxs)(Q.div,{className:`submit-page__hero-inner`,initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,ease:[.22,1,.36,1]},children:[(0,X.jsxs)(`div`,{className:`submit-page__badge`,children:[(0,X.jsx)(`span`,{children:`🛡️`}),` Community Report`]}),(0,X.jsx)(`h1`,{className:`submit-page__title`,children:`Share your experience`}),(0,X.jsx)(`p`,{className:`submit-page__subtitle`,children:`Your story could protect someone else. All submissions are reviewed before being published. Personal details are never shared publicly.`})]})})}),(0,X.jsx)(`div`,{className:`container submit-page__body`,children:(0,X.jsx)(Z,{mode:`wait`,children:i===`success`?(0,X.jsxs)(Q.div,{className:`submit-page__success`,initial:{opacity:0,scale:.95}
19,animate:{opacity:1,scale:1},transition:{duration:.4},children:[(0,X.jsx)(`div`,{className:`submit-success__icon`,children:`✅`}),(0,X.jsx)(`h2`,{children:`Thank you for sharing`}),(0,X.jsx)(`p`,{children:`Your submission has been received and is under review. Once approved, it will appear on the Community Reports page to help others stay safe.`}),(0,X.jsx)(`button`,{className:`submit-success__btn`,onClick:()=>a(`idle`),children:`Submit another report`})]},`success`):(0,X.jsxs)(Q.div,{className:`submit-page__layout`,initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.4,delay:.1},children:[(0,X.jsxs)(`form`,{className:`submit-form`,onSubmit:c,noValidate:!0,children:[(0,X.jsxs)(`div`,{className:`submit-form__section`,children:[(0,X.jsx)(`h2`,{className:`submit-form__section-title`,children:`About the scam`}),(0,X.jsxs)(`div`,{className:`submit-form__row`,children:[(0,X.jsxs)(`div`,{className:`submit-form__field ${n.scam_category?`submit-form__field--error`:``}`,children:[(0,X.jsxs)(`label`,{className:`submit-form__label`,children:[`Scam type `,(0,X.jsx)(`span`,{children:`*`})]}),(0,X.jsxs)(`select`,{className:`submit-form__select`,value:e.scam_category,onChange:e=>o(`scam_category`,e.target.value),children:[(0,X.jsx)(`option`,{value:``,children:`Select a category`}),Cm.map(e=>(0,X.jsx)(`option`,{value:e,children:e},e))]}),n.scam_category&&(0,X.jsx)(`p`,{className:`submit-form__error`,children:n.scam_category})]}),(0,X.jsxs)(`div`,{className:`submit-form__field ${n.scam_platform?`submit-form__field--error`:``}`,children:[(0,X.jsxs)(`label`,{className:`submit-form__label`,children:[`How were you contacted? `,(0,X.jsx)(`span`,{children:`*`})]}),(0,X.jsxs)(`select`,{className:`submit-form__select`,value:e.scam_platform,onChange:e=>o(`scam_platform`,e.target.value),children:[(0,X.jsx)(`option`,{value:``,children:`Select a platform`}),wm.map(e=>(0,X.jsx)(`option`,{value:e,children:e},e))]}),n.scam_platform&&(0,X.jsx)(`p`,{className:`submit-form__error`,children:n.scam_platform})]})]}),(0,X.jsxs)(`div`,{className:`submit-form__field ${n.what_happened?`submit-form__field--error`:``}`,children:[(0,X.jsxs)(`label`,{className:`submit-form__label`,children:[`What happened? `,(0,X.jsx)(`span`,{children:`*`})]}),(0,X.jsx)(`textarea`,{className:`submit-form__textarea`,placeholder:`Describe the scam in as much detail as you're comfortable sharing. How did they contact you? What did they say? What happened next?`,rows:6,value:e.what_happened,onChange:e=>o(`what_happened`,e.target.value)}),(0,X.jsxs)(`div`,{className:`submit-form__char-count`,children:[e.what_happened.length,` characters `,e.what_happened.length<30&&`(minimum 30)`]}),n.what_happened&&(0,X.jsx)(`p`,{className:`submit-form__error`,children:n.what_happened})]}),(0,X.jsxs)(`div`,{className:`submit-form__field`,children:[(0,X.jsxs)(`label`,{className:`submit-form__label`,children:[`Red flags you noticed `,(0,X.jsx)(`span`,{className:`submit-form__optional`,children:`(optional)`})]}),(0,X.jsx)(`textarea`,{className:`submit-form__textarea`,placeholder:`What seemed suspicious? What gave it away — even if you only realised afterwards?`,rows:4,value:e.red_flags_noticed,onChange:e=>o(`red_flags_noticed`,e.target.value)})]})]}),(0,X.jsxs)(`div`,{className:`submit-form__section`,children:[(0,X.jsx)(`h2`,{className:`submit-form__section-title`,children:`Additional details`}),(0,X.jsx)(`p`,{className:`submit-form__section-sub`,children:`All optional. Helps us identify patterns.`}),(0,X.jsxs)(`div`,{className:`submit-form__row`,children:[(0,X.jsxs)(`div`,{className:`submit-form__field`,children:[(0,X.jsx)(`label`,{className:`submit-form__label`,children:`Amount lost (₹)`}),(0,X.jsx)(`input`,{type:`number`,className:`submit-form__input`,placeholder:`0 if no money lost`,min:`0`,value:e.amount_lost,onChange:e=>o(`amount_lost`,e.target.value)})]}),(0,X.jsxs)(`div`,{className:`submit-form__field`,children:[(0,X.jsx)(`label`,{className:`submit-form__label`,children:`Reported to authorities?`}),(0,X.jsxs)(`select`,{className:`submit-form__select`,value:e.reported_to_police,onChange:e=>o(`reported_to_police`,e.target.value),children:[(0,X.jsx)(`option`,{value:``,children:`Select`}),(0,X.jsx)(`option`,{value:`yes`,children:`Yes`}),(0,X.jsx)(`option`,{value:`no`,children:`No`}),(0,X.jsx)(`option`,{value:`planning_to`,children:`Planning to`})]})]})]}),(0,X.jsxs)(`div`,{className:`submit-form__row`,children:[(0,X.jsxs)(`div`,{className:`submit-form__field`,children:[(0,X.jsx)(`label`,{className:`submit-form__label`,children:`City`}),(0,X.jsx)(`input`,{type:`text`,className:`submit-form__input`,placeholder:`e.g. Mumbai`,value:e.city,onChange:e=>o(`city`,e.target.value)})]}),(0,X.jsxs)(`div`,{className:`submit-form__field`,children:[(0,X.jsx)(`label`,{className:`submit-form__label`,children:`State`}),(0,X.jsxs)(`select`,{className:`submit-form__select`,value:e.state,onChange:e=>o(`state`,e.target.value),children:[(0,X.jsx)(`option`,{value:``,children:`Select state`}),Tm.map(e=>(0,X.jsx)(`option`,{value:e,children:e},e))]})]})]})]}),(0,X.jsxs)(`div`,{className:`submit-form__section`,children:[(0,X.jsx)(`h2`,{className:`submit-form__section-title`,children:`Your details`}),(0,X.jsx)(`p`,{className:`submit-form__section-sub`,children:`Never displayed publicly. Only used if we need to follow up.`}),(0,X.jsxs)(`div`,{className:`submit-form__row`,children:[(0,X.jsxs)(`div`,{className:`submit-form__field`,children:[(0,X.jsx)(`label`,{className:`submit-form__label`,children:`Your name`}),(0,X.jsx)(`input`,{type:`text`,className:`submit-form__input`,placeholder:`First name or leave blank`,value:e.submitter_name,onChange:e=>o(`submitter_name`,e.target.value)})]}),(0,X.jsxs)(`div`,{className:`submit-form__field`,children:[(0,X.jsx)(`label`,{className:`submit-form__label`,children:`Email address`}),(0,X.jsx)(`input`,{type:`email`,className:`submit-form__input`,placeholder:`Optional`,value:e.submitter_email,onChange:e=>o(`submitter_email`,e.target.value)})]})]})]}),(0,X.jsxs)(`div`,{className:`submit-form__consent ${n.consent?`submit-form__field--error`:``}`,children:[(0,X.jsxs)(`label`,{className:`submit-form__checkbox-label`,children:[(0,X.jsx)(`input`,{type:`checkbox`,checked:e.consent,onChange:e=>o(`consent`,e.target.checked)}),(0,X.jsx)(`span`,{children:`I confirm this is a genuine experience. I understand my submission will be reviewed before publication and my personal details will never be shared publicly.`})]}),n.consent&&(0,X.jsx)(`p`,{className:`submit-form__error`,children:n.consent})]}),i===`error`&&(0,X.jsxs)(`div`,{className:`submit-form__api-error`,children:[(0,X.jsx)($,{name:`warning`,size:16}),`Something went wrong. Please try again or email us directly at [email protected]`]}),(0,X.jsx)(`button`,{type:`submit`,className:`submit-form__btn`,disabled:i===`submitting`,children:i===`submitting`?(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(`span`,{className:`submit-form__spinner`}),` Submitting...`]}
19):(0,X.jsxs)(X.Fragment,{children:[`Submit your report `,(0,X.jsx)($,{name:`arrow`,size:16})]})})]}),(0,X.jsxs)(`aside`,{className:`submit-page__sidebar`,children:[(0,X.jsxs)(`div`,{className:`submit-sidebar__card`,children:[(0,X.jsx)(`span`,{className:`submit-sidebar__icon`,children:`🔒`}),(0,X.jsx)(`h3`,{children:`Your privacy matters`}),(0,X.jsx)(`p`,{children:`Your name and contact details are never published. We only display what you explicitly share in the description.`})]}),(0,X.jsxs)(`div`,{className:`submit-sidebar__card`,children:[(0,X.jsx)(`span`,{className:`submit-sidebar__icon`,children:`✍️`}),(0,X.jsx)(`h3`,{children:`Editorial review`}),(0,X.jsx)(`p`,{children:`Every submission is reviewed by our team before going live. We may lightly edit for clarity but never change the facts.`})]}),(0,X.jsxs)(`div`,{className:`submit-sidebar__card submit-sidebar__card--helpline`,children:[(0,X.jsx)(`h3`,{children:`Need immediate help?`}),(0,X.jsxs)(`a`,{href:`tel:1930`,className:`submit-sidebar__helpline`,children:[(0,X.jsx)(`span`,{children:`1930`}
19),(0,X.jsx)(`small`,{children:`National Cybercrime Helpline`})]})]})]})]},`form`)})})]})}function Om(){return(0,X.jsx)(Fn,{children:(0,X.jsx)(Gt,{children:(0,X.jsxs)(Ut,{path:`/`,element:(0,X.jsx)(Ip,{}),children:[(0,X.jsx)(Ut,{index:!0,element:(0,X.jsx)(hm,{})}),(0,X.jsx)(Ut,{path:`scams`,element:(0,X.jsx)(gm,{})}),(0,X.jsx)(Ut,{path:`scams/:slug`,element:(0,X.jsx)(vm,{})}),(0,X.jsx)(Ut,{path:`reports`,element:(0,X.jsx)(xm,{})}),(0,X.jsx)(Ut,{path:`submit`,element:(0,X.jsx)(Dm,{})})]})})})}(0,x.createRoot)(document.getElementById(`root`)).render((0,X.jsx)(b.StrictMode,{children:(0,X.jsx)(Om,{})}));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.