vendor: 22,474 bytes, lines 1-9
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/terms-of-use-DjY4yx2b.js","assets/roblox-fak-king-DGWt0-2L.js","assets/LegalPage-LlWaZ9lM.js","assets/header-logo-o1lqHiaH.js","assets/privacy-policy-99vl_hyV.js","assets/job-applicant-privacy-DThB-jrX.js","assets/routes-DckV3YgC.js","assets/external-link-o4AKh7XR.js","assets/articles.index-CaL7yrgo.js","assets/ArticleShell-DrGEexnX.js","assets/work._slug-BjOrfmwG.js","assets/arrow-left-C7f8m_WU.js","assets/articles._slug-C8-ziTP0.js"])))=>i.map(i=>d[i]); 2import{$ as e,A as t,B as n,C as r,D as i,E as a,F as o,G as s,H as c,I as l,J as u,K as d,L as f,M as p,N as m,O as h,P as g,Q as _,R as v,S as y,T as b,U as x,V as ee,W as S,X as te,Y as ne,Z as re,_ as C,a as ie,at as ae,b as oe,c as se,d as ce,et as w,f as E,g as D,h as le,i as ue,it as de,j as fe,k as O,l as pe,m as me,n as he,nt as ge,o as _e,p as ve,q as ye,r as be,rt as xe,s as Se,t as Ce,tt as we,u as Te,v as Ee,w as De,x as Oe,y as ke,z as Ae}from"./roblox-fak-king-DGWt0-2L.js";var je=de((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,ee||(ee=!0,ie());else{var t=n(l);t!==null&&se(x,t.startTime-e)}}var ee=!1,S=-1,te=5,ne=-1;function re(){return g?!0:!(e.unstable_now()-ne<te)}function C(){if(g=!1,ee){var t=e.unstable_now();ne=t;var i=!0;try{a:{m=!1,h&&(h=!1,v(S),S=-1),p=!0;var a=f;try{b:{for(b(t),d=n(c);d!==null&&!(d.expirationTime>t&&re());){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&&se(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?ie():ee=!1}}}var ie;if(typeof y==`function`)ie=function(){y(C)};else if(typeof MessageChannel<`u`){var ae=new MessageChannel,oe=ae.port2;ae.port1.onmessage=C,ie=function(){oe.postMessage(null)}}else ie=function(){_(C,0)};function se(t,n){S=_(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`):te=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(S),S=-1):h=!0,se(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,ee||(ee=!0,ie()))),r},e.unstable_shouldYield=re,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),Me=de(((e,t)=>{t.exports=je()})),Ne=de((e=>{var t=Me(),n=xe(),r=ge();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,p=Symbol.for(`react.element`),m=Symbol.for(`react.transitional.element`),h=Symbol.for(`react.portal`),g=Symbol.for(`react.fragment`),_=Symbol.for(`react.strict_mode`),v=Symbol.for(`react.profiler`),y=Symbol.for(`react.consumer`),b=Symbol.for(`react.context`),x=Symbol.for(`react.forward_ref`),ee=Symbol.for(`react.suspense`),S=Symbol.for(`react.suspense_list`),te=Symbol.for(`react.memo`),ne=Symbol.for(`react.lazy`),re=Symbol.for(`react.activity`),C=Symbol.for(`react.memo_cache_sentinel`),ie=Symbol.iterator;function ae(e){return typeof e!=`object`||!e?null:(e=ie&&e[ie]||e[`@@iterator`],typeof e==`function`?e:null)}var oe=Symbol.for(`react.client.reference`);function se(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===oe?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case g:return`Fragment`;case v:return`Profiler`;case _:return`StrictMode`;case ee:return`Suspense`;case S:return`SuspenseList`;case re:return`Activity`}if(typeof e==`object`)switch(e.$$typeof){case h:return`Portal`;case b:return e.displayName||`Context`;case y:return(e._context.displayName||`Context`)+`.Consumer`;case x:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case te:return t=e.displayName||null,t===null?se(e.type)||`Memo`:t;case ne:t=e._payload,e=e._init;try{return se(e(t))}catch{}}return null}var ce=Array.isArray,w=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,E=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,D={pending:!1,data:null,method:null,action:null},le=[],ue=-1;function de(e){return{current:e}}function fe(e){0>ue||(e.current=le[ue],le[ue]=null,ue--)}function O(e,t){ue++,le[ue]=e.current,e.current=t}var pe=de(null),me=de(null),he=de(null),_e=de(null);function ve(e,t){switch(O(he,t),O(me,e),O(pe,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Hd(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Hd(t),e=Ud(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}fe(pe),O(pe,e)}function ye(){fe(pe),fe(me),fe(he)}function be(e){e.memoizedState!==null&&O(_e,e);var t=pe.current,n=Ud(t,e.type);t!==n&&(O(me,e),O(pe,n))}function Se(e){me.current===e&&(fe(pe),fe(me)),_e.current===e&&(fe(_e),$f._currentValue=D)}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(` 3 at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return` 4`+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)}else{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(` 5`),l=s.split(` 6`);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=` 7`+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` 8Error generating stack: `+e.message+` 9`+e.stack}}var Ae=Object.prototype.hasOwnProperty,je=t.unstable_scheduleCallback,Ne=t.unstable_cancelCallback,Pe=t.unstable_shouldYield,Fe=t.unstable_requestPaint,Ie=t.unstable_now,Le=t.unstable_getCurrentPriorityLevel,Re=t.unstable_ImmediatePriority,ze=t.unstable_UserBlockingPriority,Be=t.unstable_NormalPriority,Ve=t.unstable_LowPriority,He=t.unstable_IdlePriority,Ue=t.log,We=t.unstable_setDisableYieldValue,Ge=null,Ke=null;function qe(e){if(typeof Ue==`function`&&We(e),Ke&&typeof Ke.setStrictMode==`function`)try{Ke.setStrictMode(Ge,e)}catch{}}var Je=Math.clz32?Math.clz32:Ze,Ye=Math.log,Xe=Math.LN2;function Ze(e){return e>>>=0,e===0?32:31-(Ye(e)/Xe|0)|0}var Qe=256,$e=262144,et=4194304;function tt(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 nt(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=tt(n))):i=tt(o):i=tt(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=tt(n))):i=tt(o)):i=tt(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 rt(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function it(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 at(){var e=et;return et<<=1,!(et&62914560)&&(et=4194304),e}function ot(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function st(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function ct(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-Je(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&<(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function lt(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-Je(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&261930}function ut(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Je(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function dt(e,t){var n=t&-t;return n=n&42?1:ft(n),(n&(e.suspendedLanes|t))===0?n:0}function ft(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 pt(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function mt(){var e=E.p;return e===0?(e=window.event,e===void 0?32:hp(e.type)):e}function ht(e,t){var n=E.p;try{return E.p=e,t()}finally{E.p=n}}var gt=Math.random().toString(36).slice(2),_t=`__reactFiber$`+gt,vt=`__reactProps$`+gt,yt=`__reactContainer$`+gt,bt=`__reactEvents$`+gt,xt=`__reactListeners$`+gt,St=`__reactHandles$`+gt,Ct=`__reactResources$`+gt,wt=`__reactMarker$`+gt;function Tt(e){delete e[_t],delete e[vt],delete e[bt],delete e[xt],delete e[St]}function Et(e){var t=e[_t];if(t)return t;for(var n=e.parentNode;n;){if(t=n[yt]||n[_t]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=ff(e);e!==null;){if(n=e[_t])return n;e=ff(e)}return t}e=n,n=e.parentNode}return null}function Dt(e){if(e=e[_t]||e[yt]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Ot(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(i(33))}function kt(e){var t=e[Ct];return t||=e[Ct]={hoistableStyles:new Map,hoistableScripts:new Map},t}function At(e){e[wt]=!0}var jt=new Set,Mt={};function Nt(e,t){Pt(e,t),Pt(e+`Capture`,t)}function Pt(e,t){for(Mt[e]=t,e=0;e<t.length;e++)jt.add(t[e])}var Ft=RegExp(`^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`),It={},Lt={};function Rt(e){return Ae.call(Lt,e)?!0:Ae.call(It,e)?!1:Ft.test(e)?Lt[e]=!0:(It[e]=!0,!1)}function zt(e,t,n){if(Rt(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 Bt(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 Vt(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 Ht(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function Ut(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function Wt(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 Gt(e){if(!e._valueTracker){var t=Ut(e)?`checked`:`value`;e._valueTracker=Wt(e,t,``+e[t])}}function Kt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=Ut(e)?e.checked?`true`:`false`:e.value),e=r,e===n?!1:(t.setValue(e),!0)}function qt(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 Jt=/[\n"\\]/g;function Yt(e){return e.replace(Jt,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function Xt(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=``+Ht(t)):e.value!==``+Ht(t)&&(e.value=``+Ht(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):Qt(e,o,Ht(n)):Qt(e,o,Ht(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=``+Ht(s):e.removeAttribute(`name`)}function Zt(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)){Gt(e);return}n=n==null?``:``+Ht(n),t=t==null?n:``+Ht(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),Gt(e)}function Qt(e,t,n){t===`number`&&qt(e.ownerDocument)===e||e.defaultValue===``+n||(e.defaultValue=``+n)}function $t(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=``+Ht(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 en(e,t,n){if(t!=null&&(t=``+Ht(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n==null?``:``+Ht(n)}function tn(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error(i(92));if(ce(r)){if(1<r.length)throw Error(i(93));r=r[0]}n=r}n??=``,t=n}n=Ht(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r),Gt(e)}function nn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var rn=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 an(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||rn.has(t)?t===`float`?e.cssFloat=n:e[t]=(``+n).trim():e[t]=n+`px`}function on(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&&an(e,a,r)}else for(var o in t)t.hasOwnProperty(o)&&an(e,o,t[o])}function sn(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 cn=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`],[`
9clipPath`,`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`]]),ln=/^[\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 un(e){return ln.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function dn(){}var fn=null;function pn(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var mn=null,hn=null;function gn(e){var t=Dt(e);if(t&&(e=t.stateNode)){var n=e[vt]||null;a:switch(e=t.stateNode,t.type){case`input`:if(Xt(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="`+Yt(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=r[vt]||null;if(!a)throw Error(i(90));Xt(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&&Kt(r)}break a;case`textarea`:en(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&$t(e,!!n.multiple,t,!1)}}}var _n=!1;
vendor: 127,179 bytes, lines 9-10
9function vn(e,t,n){if(_n)return e(t,n);_n=!0;try{return e(t)}finally{if(_n=!1,(mn!==null||hn!==null)&&(xu(),mn&&(t=mn,e=hn,hn=mn=null,gn(t),e)))for(t=0;t<e.length;t++)gn(e[t])}}function yn(e,t){var n=e.stateNode;if(n===null)return null;var r=n[vt]||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 bn=!(typeof window>`u`||window.document===void 0||window.document.createElement===void 0),xn=!1;if(bn)try{var Sn={};Object.defineProperty(Sn,"passive",{get:function(){xn=!0}}),window.addEventListener(`test`,Sn,Sn),window.removeEventListener(`test`,Sn,Sn)}catch{xn=!1}var Cn=null,wn=null,Tn=null;function En(){if(Tn)return Tn;var e,t=wn,n=t.length,r,i=`value`in Cn?Cn.value:Cn.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 Tn=i.slice(e,1<r?1-r:void 0)}function Dn(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 On(){return!0}function kn(){return!1}function An(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)?On:kn,this.isPropagationStopped=kn,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=On)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=On)},persist:function(){},isPersistent:On}),t}var jn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Mn=An(jn),Nn=f({},jn,{view:0,detail:0}),Pn=An(Nn),Fn,In,Ln,Rn=f({},Nn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:qn,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!==Ln&&(Ln&&e.type===`mousemove`?(Fn=e.screenX-Ln.screenX,In=e.screenY-Ln.screenY):In=Fn=0,Ln=e),Fn)},movementY:function(e){return`movementY`in e?e.movementY:In}}),zn=An(Rn),k=An(f({},Rn,{dataTransfer:0})),Bn=An(f({},Nn,{relatedTarget:0})),Vn=An(f({},jn,{animationName:0,elapsedTime:0,pseudoElement:0})),Hn=An(f({},jn,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),A=An(f({},jn,{data:0})),Un={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},Wn={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`},Gn={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function Kn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Gn[e])?!!t[e]:!1}function qn(){return Kn}var Jn=An(f({},Nn,{key:function(e){if(e.key){var t=Un[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=Dn(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?Wn[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:qn,charCode:function(e){return e.type===`keypress`?Dn(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?Dn(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),Yn=An(f({},Rn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Xn=An(f({},Nn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:qn})),Zn=An(f({},jn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Qn=An(f({},Rn,{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})),$n=An(f({},jn,{newState:0,oldState:0})),er=[9,13,27,32],tr=bn&&`CompositionEvent`in window,nr=null;bn&&`documentMode`in document&&(nr=document.documentMode);var rr=bn&&`TextEvent`in window&&!nr,ir=bn&&(!tr||nr&&8<nr&&11>=nr),ar=` `,or=!1;function sr(e,t){switch(e){case`keyup`:return er.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function cr(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var lr=!1;function ur(e,t){switch(e){case`compositionend`:return cr(t);case`keypress`:return t.which===32?(or=!0,ar):null;case`textInput`:return e=t.data,e===ar&&or?null:e;default:return null}}function dr(e,t){if(lr)return e===`compositionend`||!tr&&sr(e,t)?(e=En(),Tn=wn=Cn=null,lr=!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 ir&&t.locale!==`ko`?null:t.data;default:return null}}var fr={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 pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!fr[e.type]:t===`textarea`}function mr(e,t,n,r){mn?hn?hn.push(r):hn=[r]:mn=r,t=Dd(t,`onChange`),0<t.length&&(n=new Mn(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var hr=null,gr=null;function _r(e){bd(e,0)}function vr(e){if(Kt(Ot(e)))return e}function yr(e,t){if(e===`change`)return t}var br=!1;if(bn){var xr;if(bn){var Sr=`oninput`in document;if(!Sr){var Cr=document.createElement(`div`);Cr.setAttribute(`oninput`,`return;`),Sr=typeof Cr.oninput==`function`}xr=Sr}else xr=!1;br=xr&&(!document.documentMode||9<document.documentMode)}function wr(){hr&&(hr.detachEvent(`onpropertychange`,Tr),gr=hr=null)}function Tr(e){if(e.propertyName===`value`&&vr(gr)){var t=[];mr(t,gr,e,pn(e)),vn(_r,t)}}function Er(e,t,n){e===`focusin`?(wr(),hr=t,gr=n,hr.attachEvent(`onpropertychange`,Tr)):e===`focusout`&&wr()}function Dr(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return vr(gr)}function Or(e,t){if(e===`click`)return vr(t)}function kr(e,t){if(e===`input`||e===`change`)return vr(t)}function Ar(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var jr=typeof Object.is==`function`?Object.is:Ar;function Mr(e,t){if(jr(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)||!jr(e[i],t[i]))return!1}return!0}function Nr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Pr(e,t){var n=Nr(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=Nr(n)}}function Fr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Fr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ir(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=qt(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=qt(e.document)}return t}function Lr(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 Rr=bn&&`documentMode`in document&&11>=document.documentMode,zr=null,Br=null,Vr=null,Hr=!1;function Ur(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Hr||zr==null||zr!==qt(r)||(r=zr,`selectionStart`in r&&Lr(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}),Vr&&Mr(Vr,r)||(Vr=r,r=Dd(Br,`onSelect`),0<r.length&&(t=new Mn(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=zr)))}function Wr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var Gr={animationend:Wr(`Animation`,`AnimationEnd`),animationiteration:Wr(`Animation`,`AnimationIteration`),animationstart:Wr(`Animation`,`AnimationStart`),transitionrun:Wr(`Transition`,`TransitionRun`),transitionstart:Wr(`Transition`,`TransitionStart`),transitioncancel:Wr(`Transition`,`TransitionCancel`),transitionend:Wr(`Transition`,`TransitionEnd`)},Kr={},qr={};bn&&(qr=document.createElement(`div`).style,`AnimationEvent`in window||(delete Gr.animationend.animation,delete Gr.animationiteration.animation,delete Gr.animationstart.animation),`TransitionEvent`in window||delete Gr.transitionend.transition);function Jr(e){if(Kr[e])return Kr[e];if(!Gr[e])return e;var t=Gr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in qr)return Kr[e]=t[n];return e}var Yr=Jr(`animationend`),Xr=Jr(`animationiteration`),Zr=Jr(`animationstart`),Qr=Jr(`transitionrun`),$r=Jr(`transitionstart`),ei=Jr(`transitioncancel`),ti=Jr(`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),Nt(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-Je(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<fu)throw fu=0,pu=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=Wf(e,n,pe.current)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(e){case re:return e=_i(31,n,t,a),e.elementType=re,e.lanes=o,e;case g:return Si(n.children,a,o,t);case _:s=8,a|=24;break;case v:return e=_i(12,n,t,a|2),e.elementType=v,e.lanes=o,e;case ee:return e=_i(13,n,t,a),e.elementType=ee,e.lanes=o,e;case S:return e=_i(19,n,t,a),e.elementType=S,e.lanes=o,e;default:if(typeof e==`object`&&e)switch(e.$$typeof){case b:s=10;break a;case y:s=9;break a;case x:s=11;break a;case te:s=14;break a;case ne: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 Oi=[],ki=0,Ai=null,ji=0,Mi=[],Ni=0,Pi=null,Fi=1,Ii=``;function Li(e,t){Oi[ki++]=ji,Oi[ki++]=Ai,Ai=e,ji=t}function Ri(e,t,n){Mi[Ni++]=Fi,Mi[Ni++]=Ii,Mi[Ni++]=Pi,Pi=e;var r=Fi;e=Ii;var i=32-Je(r)-1;r&=~(1<<i),n+=1;var a=32-Je(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Fi=1<<32-Je(t)+i|n<<i|r,Ii=a+e}else Fi=1<<a|n<<i|r,Ii=e}function zi(e){e.return!==null&&(Li(e,1),Ri(e,1,0))}function Bi(e){for(;e===Ai;)Ai=Oi[--ki],Oi[ki]=null,ji=Oi[--ki],Oi[ki]=null;for(;e===Pi;)Pi=Mi[--Ni],Mi[Ni]=null,Ii=Mi[--Ni],Mi[Ni]=null,Fi=Mi[--Ni],Mi[Ni]=null}function Vi(e,t){Mi[Ni++]=Fi,Mi[Ni++]=Ii,Mi[Ni++]=Pi,Fi=t.id,Ii=t.overflow,Pi=e}var Hi=null,j=null,M=!1,Ui=null,Wi=!1,Gi=Error(i(519));function Ki(e){throw Qi(Di(Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?`text`:`HTML`,``)),e)),Gi}function qi(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[_t]=e,t[vt]=r,n){case`dialog`:Q(`cancel`,t),Q(`close`,t);break;case`iframe`:case`object`:case`embed`:Q(`load`,t);break;case`video`:case`audio`:for(n=0;n<vd.length;n++)Q(vd[n],t);break;case`source`:Q(`error`,t);break;case`img`:case`image`:case`link`:Q(`error`,t),Q(`load`,t);break;case`details`:Q(`toggle`,t);break;case`input`:Q(`invalid`,t),Zt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case`select`:Q(`invalid`,t);break;case`textarea`:Q(`invalid`,t),tn(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||Nd(t.textContent,n)?(r.popover!=null&&(Q(`beforetoggle`,t),Q(`toggle`,t)),r.onScroll!=null&&Q(`scroll`,t),r.onScrollEnd!=null&&Q(`scrollend`,t),r.onClick!=null&&(t.onclick=dn),t=!0):t=!1,t||Ki(e,!0)}function Ji(e){for(Hi=e.return;Hi;)switch(Hi.tag){case 5:case 31:case 13:Wi=!1;return;case 27:case 3:Wi=!0;return;default:Hi=Hi.return}}function Yi(e){if(e!==Hi)return!1;if(!M)return Ji(e),M=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!==`form`&&n!==`button`)||Wd(e.type,e.memoizedProps)),n=!n),n&&j&&Ki(e),Ji(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));j=df(e)}else if(t===31){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));j=df(e)}else t===27?(t=j,Qd(e.type)?(e=uf,uf=null,j=e):j=t):j=Hi?lf(e.stateNode.nextSibling):null;return!0}function Xi(){j=Hi=null,M=!1}function Zi(){var e=Ui;return e!==null&&(Ql===null?Ql=e:Ql.push.apply(Ql,e),Ui=null),e}function Qi(e){Ui===null?Ui=[e]:Ui.push(e)}var $i=de(null),ea=null,ta=null;function na(e,t,n){O($i,t._currentValue),t._currentValue=n}function ra(e){e._currentValue=$i.current,fe($i)}function ia(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 aa(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),ia(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),ia(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 oa(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;jr(a.pendingProps.value,s.value)||(e===null?e=[c]:e.push(c))}}else if(a===_e.current){if(s=a.alternate,s===null)throw Error(i(387));s.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(e===null?e=[$f]:e.push($f))}a=a.return}e!==null&&aa(t,e,n,r),t.flags|=262144}function sa(e){for(e=e.firstContext;e!==null;){if(!jr(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ca(e){ea=e,ta=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function la(e){return da(ea,e)}function ua(e,t){return ea===null&&ca(e),da(e,t)}function da(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},ta===null){if(e===null)throw Error(i(308));ta=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else ta=ta.next=t;return n}var fa=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()})}},pa=t.unstable_scheduleCallback,ma=t.unstable_NormalPriority,N={$$typeof:b,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function ha(){return{controller:new fa,data:new Map,refCount:0}}function ga(e){e.refCount--,e.refCount===0&&pa(ma,function(){e.controller.abort()})}var _a=null,va=0,ya=0,ba=null;function xa(e,t){if(_a===null){var n=_a=[];va=0,ya=fd(),ba={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return va++,t.then(Sa,Sa),t}function Sa(){if(--va===0&&_a!==null){ba!==null&&(ba.status=`fulfilled`);var e=_a;_a=null,ya=0,ba=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Ca(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 wa=w.S;w.S=function(e,t){tu=Ie(),typeof t==`object`&&t&&typeof t.then==`function`&&xa(e,t),wa!==null&&wa(e,t)};var Ta=de(null);function Ea(){var e=Ta.current;return e===null?q.pooledCache:e}function Da(e,t){t===null?O(Ta,Ta.current):O(Ta,t.pool)}function Oa(){var e=Ea();return e===null?null:{parent:N._currentValue,pool:e}}var ka=Error(i(460)),Aa=Error(i(474)),ja=Error(i(542)),Ma={then:function(){}};function Na(e){return e=e.status,e===`fulfilled`||e===`rejected`}function Pa(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(dn,dn),t=n),t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Ra(e),e;default:if(typeof t.status==`string`)t.then(dn,dn);else{if(e=q,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,Ra(e),e}throw Ia=t,ka}}function Fa(e){try{var t=e._init;return t(e._payload)}catch(e){throw typeof e==`object`&&e&&typeof e.then==`function`?(Ia=e,ka):e}}var Ia=null;function La(){if(Ia===null)throw Error(i(459));var e=Ia;return Ia=null,e}function Ra(e){if(e===ka||e===ja)throw Error(i(483))}var za=null,Ba=0;function Va(e){var t=Ba;return Ba+=1,za===null&&(za=[]),Pa(za,e,t)}function Ha(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function Ua(e,t){throw t.$$typeof===p?Error(i(525)):(e=Object.prototype.toString.call(t),Error(i(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e)))}function Wa(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===g?d(e,t,n.props.children,r,n.key):t!==null&&(t.elementType===i||typeof i==`object`&&i&&i.$$typeof===ne&&Fa(i)===t.type)?(t=a(t,n.props),Ha(t,n),t.return=e,t):(t=xi(n.type,n.key,n.props,null,e.mode,r),Ha(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 m:return n=xi(t.type,t.key,t.props,null,e.mode,n),Ha(n,t),n.return=e,n;case h:return t=Ti(t,e.mode,n),t.return=e,t;case ne:return t=Fa(t),f(e,t,n)}if(ce(t)||ae(t))return t=Si(t,e.mode,n,null),t.return=e,t;if(typeof t.then==`function`)return f(e,Va(t),n);if(t.$$typeof===b)return f(e,ua(e,t),n);Ua(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 m:return n.key===i?l(e,t,n,r):null;case h:return n.key===i?u(e,t,n,r):null;case ne:return n=Fa(n),p(e,t,n,r)}if(ce(n)||ae(n))return i===null?d(e,t,n,r,null):null;if(typeof n.then==`function`)return p(e,t,Va(n),r);if(n.$$typeof===b)return p(e,t,ua(e,n),r);Ua(e,n)}return null}function _(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 m:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case h:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case ne:return r=Fa(r),_(e,t,n,r,i)}if(ce(r)||ae(r))return e=e.get(n)||null,d(t,e,r,i,null);if(typeof r.then==`function`)return _(e,t,n,Va(r),i);if(r.$$typeof===b)return _(e,t,n,ua(t,r),i);Ua(t,r)}return null}function v(i,a,s,c){for(var l=null,u=null,d=a,m=a=0,h=null;d!==null&&m<s.length;m++){d.index>m?(h=d,d=null):h=d.sibling;var g=p(i,d,s[m],c);if(g===null){d===null&&(d=h);break}e&&d&&g.alternate===null&&t(i,d),a=o(g,a,m),u===null?l=g:u.sibling=g,u=g,d=h}if(m===s.length)return n(i,d),M&&Li(i,m),l;if(d===null){for(;m<s.length;m++)d=f(i,s[m],c),d!==null&&(a=o(d,a,m),u===null?l=d:u.sibling=d,u=d);return M&&Li(i,m),l}for(d=r(d);m<s.length;m++)h=_(d,i,m,s[m],c),h!==null&&(e&&h.alternate!==null&&d.delete(h.key===null?m:h.key),a=o(h,a,m),u===null?l=h:u.sibling=h,u=h);return e&&d.forEach(function(e){return t(i,e)}),M&&Li(i,m),l}function y(a,s,c,l){if(c==null)throw Error(i(151));for(var u=null,d=null,m=s,h=s=0,g=null,v=c.next();m!==null&&!v.done;h++,v=c.next()){m.index>h?(g=m,m=null):g=m.sibling;var y=p(a,m,v.value,l);if(y===null){m===null&&(m=g);break}e&&m&&y.alternate===null&&t(a,m),s=o(y,s,h),d===null?u=y:d.sibling=y,d=y,m=g}if(v.done)return n(a,m),M&&Li(a,h),u;if(m===null){for(;!v.done;h++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,h),d===null?u=v:d.sibling=v,d=v);return M&&Li(a,h),u}for(m=r(m);!v.done;h++,v=c.next())v=_(m,a,h,v.value,l),v!==null&&(e&&v.alternate!==null&&m.delete(v.key===null?h:v.key),s=o(v,s,h),d===null?u=v:d.sibling=v,d=v);return e&&m.forEach(function(e){return t(a,e)}),M&&Li(a,h),u}function x(e,r,o,c){if(typeof o==`object`&&o&&o.type===g&&o.key===null&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case m:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===g){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===ne&&Fa(l)===r.type){n(e,r.sibling),c=a(r,o.props),Ha(c,o),c.return=e,e=c;break a}n(e,r);break}else t(e,r);r=r.sibling}o.type===g?(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),Ha(c,o),c.return=e,e=c)}return s(e);case h: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 ne:return o=Fa(o),x(e,r,o,c)}if(ce(o))return v(e,r,o,c);if(ae(o)){if(l=ae(o),typeof l!=`function`)throw Error(i(150));return o=l.call(o),y(e,r,o,c)}if(typeof o.then==`function`)return x(e,r,Va(o),c);if(o.$$typeof===b)return x(e,r,ua(e,o),c);Ua(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{Ba=0;var i=x(e,t,n,r);return za=null,i}catch(t){if(t===ka||t===ja)throw t;var a=_i(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var Ga=Wa(!0),Ka=Wa(!1),qa=!1;function Ja(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ya(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 Xa(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function P(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,K&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 Za(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,ut(e,n)}}function Qa(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 $a=!1;function eo(){if($a){var e=ba;if(e!==null)throw e}}function to(e,t,n,r){$a=!1;var i=e.updateQueue;qa=!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?(Y&p)===p:(r&p)===p){p!==0&&p===ya&&($a=!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:qa=!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),Kl|=o,e.lanes=o,e.memoizedState=d}}function no(e,t){if(typeof e!=`function`)throw Error(i(191,e));e.call(t)}function ro(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)no(n[e],t)}var io=de(null),ao=de(0);function oo(e,t){e=Wl,O(ao,e),O(io,t),Wl=e|t.baseLanes}function so(){O(ao,Wl),O(io,io.current)}function co(){Wl=ao.current,fe(io),fe(ao)}var lo=de(null),uo=null;function fo(e){var t=e.alternate;O(F,F.current&1),O(lo,e),uo===null&&(t===null||io.current!==null||t.memoizedState!==null)&&(uo=e)}function po(e){O(F,F.current),O(lo,e),uo===null&&(uo=e)}function mo(e){e.tag===22?(O(F,F.current),O(lo,e),uo===null&&(uo=e)):ho(e)}function ho(){O(F,F.current),O(lo,lo.current)}function go(e){fe(lo),uo===e&&(uo=null),fe(F)}var F=de(0);function _o(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||of(n)||sf(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 vo=0,I=null,L=null,yo=null,bo=!1,xo=!1,So=!1,Co=0,wo=0,To=null,Eo=0;function R(){throw Error(i(321))}function Do(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!jr(e[n],t[n]))return!1;return!0}function Oo(e,t,n,r,i,a){return vo=a,I=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,w.H=e===null||e.memoizedState===null?Vs:Hs,So=!1,a=n(r,i),So=!1,xo&&(a=Ao(t,n,r,i)),ko(e),a}function ko(e){w.H=Bs;var t=L!==null&&L.next!==null;if(vo=0,yo=L=I=null,bo=!1,wo=0,To=null,t)throw Error(i(300));e===null||U||(e=e.dependencies,e!==null&&sa(e)&&(U=!0))}function Ao(e,t,n,r){I=e;var a=0;do{if(xo&&(To=null),wo=0,xo=!1,25<=a)throw Error(i(301));if(a+=1,yo=L=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}w.H=Us,o=t(n,r)}while(xo);return o}function jo(){var e=w.H,t=e.useState()[0];return t=typeof t.then==`function`?Lo(t):t,e=e.useState()[0],(L===null?null:L.memoizedState)!==e&&(I.flags|=1024),t}function Mo(){var e=Co!==0;return Co=0,e}function No(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Po(e){if(bo){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}bo=!1}vo=0,yo=L=I=null,xo=!1,wo=Co=0,To=null}function Fo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return yo===null?I.memoizedState=yo=e:yo=yo.next=e,yo}function z(){if(L===null){var e=I.alternate;e=e===null?null:e.memoizedState}else e=L.next;var t=yo===null?I.memoizedState:yo.next;if(t!==null)yo=t,L=e;else{if(e===null)throw I.alternate===null?Error(i(467)):Error(i(310));L=e,e={memoizedState:L.memoizedState,baseState:L.baseState,baseQueue:L.baseQueue,queue:L.queue,next:null},yo===null?I.memoizedState=yo=e:yo=yo.next=e}return yo}function Io(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Lo(e){var t=wo;return wo+=1,To===null&&(To=[]),e=Pa(To,e,t),t=I,(yo===null?t.memoizedState:yo.next)===null&&(t=t.alternate,w.H=t===null||t.memoizedState===null?Vs:Hs),e}function Ro(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return Lo(e);if(e.$$typeof===b)return la(e)}throw Error(i(438,String(e)))}function zo(e){var t=null,n=I.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=I.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=Io(),I.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]=C;return t.index++,n}function Bo(e,t){return typeof t==`function`?t(e):t}function Vo(e){return Ho(z(),L,e)}function Ho(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?(vo&f)===f:(Y&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===ya&&(d=!0);else if((vo&p)===p){u=u.next,p===ya&&(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,I.lanes|=p,Kl|=p;f=u.action,So&&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,I.lanes|=f,Kl|=f;u=u.next}while(u!==null&&u!==t);if(l===null?s=o:l.next=c,!jr(o,e.memoizedState)&&(U=!0,d&&(n=ba,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 Uo(e){var t=z(),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);jr(o,t.memoizedState)||(U=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function B(e,t,n){var r=I,a=z(),o=M;if(o){if(n===void 0)throw Error(i(407));n=n()}else n=t();var s=!jr((L||a).memoizedState,n);if(s&&(a.memoizedState=n,U=!0),a=a.queue,fs(Go.bind(null,r,a,e),[e]),a.getSnapshot!==t||s||yo!==null&&yo.memoizedState.tag&1){if(r.flags|=2048,ss(9,{destroy:void 0},Wo.bind(null,r,a,n,t),null),q===null)throw Error(i(349));o||vo&127||V(r,t,n)}return n}function V(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=I.updateQueue,t===null?(t=Io(),I.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Wo(e,t,n,r){t.value=n,t.getSnapshot=r,Ko(t)&&qo(e)}function Go(e,t,n){return n(function(){Ko(t)&&qo(e)})}function Ko(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!jr(e,n)}catch{return!0}}function qo(e){var t=fi(e,2);t!==null&&gu(t,e,2)}function Jo(e){var t=Fo();if(typeof e==`function`){var n=e;if(e=n(),So){qe(!0);try{n()}finally{qe(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Bo,lastRenderedState:e},t}function Yo(e,t,n,r){return e.baseState=n,Ho(e,L,typeof r==`function`?r:Bo)}function Xo(e,t,n,r,a){if(Ls(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)}};w.T===null?o.isTransition=!1:n(!0),r(o),n=t.pending,n===null?(o.next=t.pending=o,Zo(t,o)):(o.next=n.next,t.pending=n.next=o)}}function Zo(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=w.T,o={};w.T=o;try{var s=n(i,r),c=w.S;c!==null&&c(o,s),H(e,t,s)}catch(n){$o(e,t,n)}finally{a!==null&&o.types!==null&&(a.types=o.types),w.T=a}}else try{a=n(i,r),H(e,t,a)}catch(n){$o(e,t,n)}}function H(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?n.then(function(n){Qo(e,t,n)},function(n){return $o(e,t,n)}):Qo(e,t,n)}function Qo(e,t,n){t.status=`fulfilled`,t.value=n,es(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Zo(e,n)))}function $o(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,es(t),t=t.next;while(t!==r)}e.action=null}function es(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function ts(e,t){return t}function ns(e,t){if(M){var n=q.formState;if(n!==null){a:{var r=I;if(M){if(j){b:{for(var i=j,a=Wi;i.nodeType!==8;){if(!a){i=null;break b}if(i=lf(i.nextSibling),i===null){i=null;break b}}a=i.data,i=a===`F!`||a===`F`?i:null}if(i){j=lf(i.nextSibling),r=i.data===`F!`;break a}}Ki(r)}r=!1}r&&(t=n[0])}}return n=Fo(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ts,lastRenderedState:t},n.queue=r,n=Ps.bind(null,I,r),r.dispatch=n,r=Jo(!1),a=Is.bind(null,I,!1,r.queue),r=Fo(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=Xo.bind(null,I,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function rs(e){return is(z(),L,e)}function is(e,t,n){if(t=Ho(e,t,ts)[0],e=Vo(Bo)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=Lo(t)}catch(e){throw e===ka?ja:e}else r=t;t=z();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(I.flags|=2048,ss(9,{destroy:void 0},as.bind(null,i,n),null)),[r,a,e]}function as(e,t){e.action=t}function os(e){var t=z(),n=L;if(n!==null)return is(t,n,e);z(),t=t.memoizedState,n=z();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function ss(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=I.updateQueue,t===null&&(t=Io(),I.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 cs(){return z().memoizedState}function ls(e,t,n,r){var i=Fo();I.flags|=e,i.memoizedState=ss(1|t,{destroy:void 0},n,r===void 0?null:r)}function us(e,t,n,r){var i=z();r=r===void 0?null:r;var a=i.memoizedState.inst;L!==null&&r!==null&&Do(r,L.memoizedState.deps)?i.memoizedState=ss(t,a,n,r):(I.flags|=e,i.memoizedState=ss(1|t,a,n,r))}function ds(e,t){ls(8390656,8,e,t)}function fs(e,t){us(2048,8,e,t)}function ps(e){I.flags|=4;var t=I.updateQueue;if(t===null)t=Io(),I.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function ms(e){var t=z().memoizedState;return ps({ref:t,nextImpl:e}),function(){if(K&2)throw Error(i(440));return t.impl.apply(void 0,arguments)}}function hs(e,t){return us(4,2,e,t)}function gs(e,t){return us(4,4,e,t)}function _s(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 vs(e,t,n){n=n==null?null:n.concat([e]),us(4,4,_s.bind(null,t,e),n)}function ys(){}function bs(e,t){var n=z();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&Do(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function xs(e,t){var n=z();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&Do(t,r[1]))return r[0];if(r=e(),So){qe(!0);try{e()}finally{qe(!1)}}return n.memoizedState=[r,t],r}function Ss(e,t,n){return n===void 0||vo&1073741824&&!(Y&261930)?e.memoizedState=t:(e.memoizedState=n,e=hu(),I.lanes|=e,Kl|=e,n)}function Cs(e,t,n,r){return jr(n,t)?n:io.current===null?!(vo&42)||vo&1073741824&&!(Y&261930)?(U=!0,e.memoizedState=n):(e=hu(),I.lanes|=e,Kl|=e,t):(e=Ss(e,n,r),jr(e,t)||(U=!0),e)}function ws(e,t,n,r,i){var a=E.p;E.p=a!==0&&8>a?a:8;var o=w.T,s={};w.T=s,Is(e,!1,t,n);try{var c=i(),l=w.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?Fs(e,t,Ca(c,r),mu(e)):Fs(e,t,r,mu(e))}catch(n){Fs(e,t,{then:function(){},status:`rejected`,reason:n},mu())}finally{E.p=a,o!==null&&s.types!==null&&(o.types=s.types),w.T=o}}function Ts(){}function Es(e,t,n,r){if(e.tag!==5)throw Error(i(476));var a=Ds(e).queue;ws(e,a,t,D,n===null?Ts:function(){return Os(e),n(r)})}function Ds(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:D,baseState:D,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Bo,lastRenderedState:D},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Bo,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Os(e){var t=Ds(e);t.next===null&&(t=e.alternate.memoizedState),Fs(e,t.next.queue,{},mu())}function ks(){return la($f)}function As(){return z().memoizedState}function js(){return z().memoizedState}function Ms(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=mu();e=Xa(n);var r=P(t,e,n);r!==null&&(gu(r,t,n),Za(r,t,n)),t={cache:ha()},e.payload=t;return}t=t.return}}function Ns(e,t,n){var r=mu();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Ls(e)?Rs(t,n):(n=di(e,t,n,r),n!==null&&(gu(n,e,r),zs(n,t,r)))}function Ps(e,t,n){Fs(e,t,n,mu())}function Fs(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ls(e))Rs(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,jr(s,o))return ui(e,t,i,0),q===null&&li(),!1}catch{}if(n=di(e,t,i,r),n!==null)return gu(n,e,r),zs(n,t,r),!0}return!1}function Is(e,t,n,r){if(r={lane:2,revertLane:fd(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Ls(e)){if(t)throw Error(i(479))}else t=di(e,n,r,2),t!==null&&gu(t,e,2)}function Ls(e){var t=e.alternate;return e===I||t!==null&&t===I}function Rs(e,t){xo=bo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function zs(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ut(e,n)}}var Bs={readContext:la,use:Ro,useCallback:R,useContext:R,useEffect:R,useImperativeHandle:R,useLayoutEffect:R,useInsertionEffect:R,useMemo:R,useReducer:R,useRef:R,useState:R,useDebugValue:R,useDeferredValue:R,useTransition:R,useSyncExternalStore:R,useId:R,useHostTransitionStatus:R,useFormState:R,useActionState:R,useOptimistic:R,useMemoCache:R,useCacheRefresh:R};Bs.useEffectEvent=R;var Vs={readContext:la,use:Ro,useCallback:function(e,t){return Fo().memoizedState=[e,t===void 0?null:t],e},useContext:la,useEffect:ds,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),ls(4194308,4,_s.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ls(4194308,4,e,t)},useInsertionEffect:function(e,t){ls(4,2,e,t)},useMemo:function(e,t){var n=Fo();t=t===void 0?null:t;var r=e();if(So){qe(!0);try{e()}finally{qe(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=Fo();if(n!==void 0){var i=n(t);if(So){qe(!0);try{n(t)}finally{qe(!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=Ns.bind(null,I,e),[r.memoizedState,e]},useRef:function(e){var t=Fo();return e={current:e},t.memoizedState=e},useState:function(e){e=Jo(e);var t=e.queue,n=Ps.bind(null,I,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:ys,useDeferredValue:function(e,t){return Ss(Fo(),e,t)},useTransition:function(){var e=Jo(!1);return e=ws.bind(null,I,e.queue,!0,!1),Fo().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=I,a=Fo();if(M){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),q===null)throw Error(i(349));Y&127||V(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,ds(Go.bind(null,r,o,e),[e]),r.flags|=2048,ss(9,{destroy:void 0},Wo.bind(null,r,o,n,t),null),n},useId:function(){var e=Fo(),t=q.identifierPrefix;if(M){var n=Ii,r=Fi;n=(r&~(1<<32-Je(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=Co++,0<n&&(t+=`H`+n.toString(32)),t+=`_`}else n=Eo++,t=`_`+t+`r_`+n.toString(32)+`_`;return e.memoizedState=t},useHostTransitionStatus:ks,useFormState:ns,useActionState:ns,useOptimistic:function(e){var t=Fo();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Is.bind(null,I,!0,n),n.dispatch=t,[e,t]},useMemoCache:zo,useCacheRefresh:function(){return Fo().memoizedState=Ms.bind(null,I)},useEffectEvent:function(e){var t=Fo(),n={impl:e};return t.memoizedState=n,function(){if(K&2)throw Error(i(440));return n.impl.apply(void 0,arguments)}}},Hs={readContext:la,use:Ro,useCallback:bs,useContext:la,useEffect:fs,useImperativeHandle:vs,useInsertionEffect:hs,useLayoutEffect:gs,useMemo:xs,useReducer:Vo,useRef:cs,useState:function(){return Vo(Bo)},useDebugValue:ys,useDeferredValue:function(e,t){return Cs(z(),L.memoizedState,e,t)},useTransition:function(){var e=Vo(Bo)[0],t=z().memoizedState;return[typeof e==`boolean`?e:Lo(e),t]},useSyncExternalStore:B,useId:As,useHostTransitionStatus:ks,useFormState:rs,useActionState:rs,useOptimistic:function(e,t){return Yo(z(),L,e,t)},useMemoCache:zo,useCacheRefresh:js};Hs.useEffectEvent=ms;var Us={readContext:la,use:Ro,useCallback:bs,useContext:la,useEffect:fs,useImperativeHandle:vs,useInsertionEffect:hs,useLayoutEffect:gs,useMemo:xs,useReducer:Uo,useRef:cs,useState:function(){return Uo(Bo)},useDebugValue:ys,useDeferredValue:function(e,t){var n=z();return L===null?Ss(n,e,t):Cs(n,L.memoizedState,e,t)},useTransition:function(){var e=Uo(Bo)[0],t=z().memoizedState;return[typeof e==`boolean`?e:Lo(e),t]},useSyncExternalStore:B,useId:As,useHostTransitionStatus:ks,useFormState:os,useActionState:os,useOptimistic:function(e,t){var n=z();return L===null?(n.baseState=e,[e,n.queue.dispatch]):Yo(n,L,e,t)},useMemoCache:zo,useCacheRefresh:js};Us.useEffectEvent=ms;function Ws(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 Gs={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=mu(),i=Xa(r);i.payload=t,n!=null&&(i.callback=n),t=P(e,i,r),t!==null&&(gu(t,e,r),Za(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=mu(),i=Xa(r);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=P(e,i,r),t!==null&&(gu(t,e,r),Za(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=mu(),r=Xa(n);r.tag=2,t!=null&&(r.callback=t),t=P(e,r,n),t!==null&&(gu(t,e,n),Za(t,e,n))}};function Ks(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?!Mr(n,r)||!Mr(i,a):!0}function qs(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&&Gs.enqueueReplaceState(t,t.state,null)}function Js(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 Ys(e){ai(e)}function Xs(e){console.error(e)}function Zs(e){ai(e)}function Qs(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function $s(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 ec(e,t,n){return n=Xa(n),n.tag=3,n.payload={element:null},n.callback=function(){Qs(e,t)},n}function tc(e){return e=Xa(e),e.tag=3,e}function nc(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(){$s(t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){$s(t,n,r),typeof i!=`function`&&(iu===null?iu=new Set([this]):iu.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:e===null?``:e})})}function rc(e,t,n,r,a){if(n.flags|=32768,typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&oa(t,n,a,!0),n=lo.current,n!==null){switch(n.tag){case 31:case 13:return uo===null?Ou():n.alternate===null&&Gl===0&&(Gl=3),n.flags&=-257,n.flags|=65536,n.lanes=a,r===Ma?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),Ku(e,r,a)),!1;case 22:return n.flags|=65536,r===Ma?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)),Ku(e,r,a)),!1}throw Error(i(435,n.tag))}return Ku(e,r,a),Ou(),!1}if(M)return t=lo.current,t===null?(r!==Gi&&(t=Error(i(423),{cause:r}),Qi(Di(t,n))),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,r=Di(r,n),a=ec(e.stateNode,r,a),Qa(e,a),Gl!==4&&(Gl=2)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=a,r!==Gi&&(e=Error(i(422),{cause:r}),Qi(Di(e,n)))),!1;var o=Error(i(520),{cause:r});if(o=Di(o,n),Zl===null?Zl=[o]:Zl.push(o),Gl!==4&&(Gl=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=ec(n.stateNode,r,e),Qa(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`&&(iu===null||!iu.has(o))))return n.flags|=65536,a&=-a,n.lanes|=a,a=tc(a),nc(a,e,n,r),Qa(n,a),!1}n=n.return}while(n!==null);return!1}var ic=Error(i(461)),U=!1;function ac(e,t,n,r){t.child=e===null?Ka(t,null,n,r):Ga(t,e.child,n,r)}function oc(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 ca(t),r=Oo(e,t,n,o,a,i),s=Mo(),e!==null&&!U?(No(e,t,i),Ac(e,t,i)):(M&&s&&zi(t),t.flags|=1,ac(e,t,r,i),t.child)}function sc(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,cc(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,!jc(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?Mr:n,n(o,r)&&e.ref===t.ref)return Ac(e,t,i)}return t.flags|=1,e=yi(a,r),e.ref=t.ref,e.return=t,t.child=e}function cc(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(Mr(a,r)&&e.ref===t.ref)if(U=!1,t.pendingProps=r=a,jc(e,i))e.flags&131072&&(U=!0);else return t.lanes=e.lanes,Ac(e,t,i)}return gc(e,t,n,r,i)}function lc(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 dc(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Da(t,a===null?null:a.cachePool),a===null?so():oo(t,a),mo(t);else return r=t.lanes=536870912,dc(e,t,a===null?n:a.baseLanes|n,n,r)}else a===null?(e!==null&&Da(t,null),so(),ho(t)):(Da(t,a.cachePool),oo(t,a),ho(t),t.memoizedState=null);return ac(e,t,i,n),t.child}function uc(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function dc(e,t,n,r,i){var a=Ea();return a=a===null?null:{parent:N._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&Da(t,null),so(),mo(t),e!==null&&oa(e,t,r,!0),t.childLanes=i,null}function fc(e,t){return t=Tc({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function pc(e,t,n){return Ga(t,e.child,null,n),e=fc(t,t.pendingProps),e.flags|=2,go(t),t.memoizedState=null,e}function mc(e,t,n){var r=t.pendingProps,a=(t.flags&128)!=0;if(t.flags&=-129,e===null){if(M){if(r.mode===`hidden`)return e=fc(t,r),t.lanes=536870912,uc(null,e);if(po(t),(e=j)?(e=af(e,Wi),e=e!==null&&e.data===`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Pi===null?null:{id:Fi,overflow:Ii},retryLane:536870912,hydrationErrors:null},n=wi(e),n.return=t,t.child=n,Hi=t,j=null)):e=null,e===null)throw Ki(t);return t.lanes=536870912,null}return fc(t,r)}var o=e.memoizedState;if(o!==null){var s=o.dehydrated;if(po(t),a)if(t.flags&256)t.flags&=-257,t=pc(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(i(558));else if(U||oa(e,t,n,!1),a=(n&e.childLanes)!==0,U||a){if(r=q,r!==null&&(s=dt(r,n),s!==0&&s!==o.retryLane))throw o.retryLane=s,fi(e,s),gu(r,e,s),ic;Ou(),t=pc(e,t,n)}else e=o.treeContext,j=lf(s.nextSibling),Hi=t,M=!0,Ui=null,Wi=!1,e!==null&&Vi(t,e),t=fc(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 hc(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 gc(e,t,n,r,i){return ca(t),n=Oo(e,t,n,r,void 0,i),r=Mo(),e!==null&&!U?(No(e,t,i),Ac(e,t,i)):(M&&r&&zi(t),t.flags|=1,ac(e,t,n,i),t.child)}function _c(e,t,n,r,i,a){return ca(t),t.updateQueue=null,n=Ao(t,r,n,i),ko(e),r=Mo(),e!==null&&!U?(No(e,t,a),Ac(e,t,a)):(M&&r&&zi(t),t.flags|=1,ac(e,t,n,a),t.child)}function vc(e,t,n,r,i){if(ca(t),t.stateNode===null){var a=hi,o=n.contextType;typeof o==`object`&&o&&(a=la(o)),a=new n(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=Gs,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},Ja(t),o=n.contextType,a.context=typeof o==`object`&&o?la(o):hi,a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(Ws(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&&Gs.enqueueReplaceState(a,a.state,null),to(t,r,a,i),eo(),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=Js(n,s);a.props=c;var l=a.context,u=n.contextType;o=hi,typeof u==`object`&&u&&(o=la(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)&&qs(t,a,r,o),qa=!1;var f=t.memoizedState;a.state=f,to(t,r,a,i),eo(),l=t.memoizedState,s||f!==l||qa?(typeof d==`function`&&(Ws(t,n,d,r),l=t.memoizedState),(c=qa||Ks(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,Ya(e,t),o=t.memoizedProps,u=Js(n,o),a.props=u,d=t.pendingProps,f=a.context,l=n.contextType,c=hi,typeof l==`object`&&l&&(c=la(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)&&qs(t,a,r,c),qa=!1,f=t.memoizedState,a.state=f,to(t,r,a,i),eo();var p=t.memoizedState;o!==d||f!==p||qa||e!==null&&e.dependencies!==null&&sa(e.dependencies)?(typeof s==`function`&&(Ws(t,n,s,r),p=t.memoizedState),(u=qa||Ks(t,n,u,r,f,p,c)||e!==null&&e.dependencies!==null&&sa(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,hc(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=Ga(t,e.child,null,i),t.child=Ga(t,null,n,i)):ac(e,t,n,i),t.memoizedState=a.state,e=t.child):e=Ac(e,t,i),e}function yc(e,t,n,r){return Xi(),t.flags|=256,ac(e,t,n,r),t.child}var bc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function xc(e){return{baseLanes:e,cachePool:Oa()}}function Sc(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=Yl),e}function Cc(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:(F.current&2)!=0),s&&(a=!0,t.flags&=-129),s=(t.flags&32)!=0,t.flags&=-33,e===null){if(M){if(a?fo(t):ho(t),(e=j)?(e=af(e,Wi),e=e!==null&&e.data!==`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Pi===null?null:{id:Fi,overflow:Ii},retryLane:536870912,hydrationErrors:null},n=wi(e),n.return=t,t.child=n,Hi=t,j=null)):e=null,e===null)throw Ki(t);return sf(e)?t.lanes=32:t.lanes=536870912,null}var c=r.children;return r=r.fallback,a?(ho(t),a=t.mode,c=Tc({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=xc(n),r.childLanes=Sc(e,s,n),t.memoizedState=bc,uc(null,r)):(fo(t),wc(t,c))}var l=e.memoizedState;if(l!==null&&(c=l.dehydrated,c!==null)){if(o)t.flags&256?(fo(t),t.flags&=-257,t=Ec(e,t,n)):t.memoizedState===null?(ho(t),c=r.fallback,a=t.mode,r=Tc({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,Ga(t,e.child,null,n),r=t.child,r.memoizedState=xc(n),r.childLanes=Sc(e,s,n),t.memoizedState=bc,t=uc(null,r)):(ho(t),t.child=e.child,t.flags|=128,t=null);else if(fo(t),sf(c)){if(s=c.nextSibling&&c.nextSibling.dataset,s)var u=s.dgst;s=u,r=Error(i(419)),r.stack=``,r.digest=s,Qi({value:r,source:null,stack:null}),t=Ec(e,t,n)}else if(U||oa(e,t,n,!1),s=(n&e.childLanes)!==0,U||s){if(s=q,s!==null&&(r=dt(s,n),r!==0&&r!==l.retryLane))throw l.retryLane=r,fi(e,r),gu(s,e,r),ic;of(c)||Ou(),t=Ec(e,t,n)}else of(c)?(t.flags|=192,t.child=e.child,t=null):(e=l.treeContext,j=lf(c.nextSibling),Hi=t,M=!0,Ui=null,Wi=!1,e!==null&&Vi(t,e),t=wc(t,r.children),t.flags|=4096);return t}return a?(ho(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,uc(null,r),r=t.child,c=e.child.memoizedState,c===null?c=xc(n):(a=c.cachePool,a===null?a=Oa():(l=N._currentValue,a=a.parent===l?a:{parent:l,pool:l}),c={baseLanes:c.baseLanes|n,cachePool:a}),r.memoizedState=c,r.childLanes=Sc(e,s,n),t.memoizedState=bc,uc(e.child,r)):(fo(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 wc(e,t){return t=Tc({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function Tc(e,t){return e=_i(22,e,null,t),e.lanes=0,e}function Ec(e,t,n){return Ga(t,e.child,null,n),e=wc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Dc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),ia(e.return,t,n)}function Oc(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 kc(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;r=r.children;var o=F.current,s=(o&2)!=0;if(s?(o=o&1|2,t.flags|=128):o&=1,O(F,o),ac(e,t,r,n),r=M?ji:0,!s&&e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Dc(e,n,t);else if(e.tag===19)Dc(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&&_o(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Oc(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&&_o(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Oc(t,!0,n,null,a,r);break;case`together`:Oc(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function Ac(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Kl|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(oa(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 jc(e,t){return(e.lanes&t)===0?(e=e.dependencies,!!(e!==null&&sa(e))):!0}function Mc(e,t,n){switch(t.tag){case 3:ve(t,t.stateNode.containerInfo),na(t,N,e.memoizedState.cache),Xi();break;case 27:case 5:be(t);break;case 4:ve(t,t.stateNode.containerInfo);break;case 10:na(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,po(t),null;break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(fo(t),e=Ac(e,t,n),e===null?null:e.sibling):Cc(e,t,n):(fo(t),t.flags|=128,null);fo(t);break;case 19:var i=(e.flags&128)!=0;if(r=(n&t.childLanes)!==0,r||=(oa(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return kc(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),O(F,F.current),r)break;return null;case 22:return t.lanes=0,lc(e,t,n,t.pendingProps);case 24:na(t,N,e.memoizedState.cache)}return Ac(e,t,n)}function Nc(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)U=!0;else{if(!jc(e,n)&&!(t.flags&128))return U=!1,Mc(e,t,n);U=!!(e.flags&131072)}else U=!1,M&&t.flags&1048576&&Ri(t,ji,t.index);switch(t.lanes=0,t.tag){case 16:a:{var r=t.pendingProps;if(e=Fa(t.elementType),t.type=e,typeof e==`function`)vi(e)?(r=Js(e,r),t.tag=1,t=vc(null,t,e,r,n)):(t.tag=0,t=gc(null,t,e,r,n));else{if(e!=null){var a=e.$$typeof;if(a===x){t.tag=11,t=oc(null,t,e,r,n);break a}else if(a===te){t.tag=14,t=sc(null,t,e,r,n);break a}}throw t=se(e)||e,Error(i(306,t,``))}}return t;case 0:return gc(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,a=Js(r,t.pendingProps),vc(e,t,r,a,n);case 3:a:{if(ve(t,t.stateNode.containerInfo),e===null)throw Error(i(387));r=t.pendingProps;var o=t.memoizedState;a=o.element,Ya(e,t),to(t,r,null,n);var s=t.memoizedState;if(r=s.cache,na(t,N,r),r!==o.cache&&aa(t,[N],n,!0),eo(),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=yc(e,t,r,n);break a}else if(r!==a){a=Di(Error(i(424)),t),Qi(a),t=yc(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(j=lf(e.firstChild),Hi=t,M=!0,Ui=null,Wi=!0,n=Ka(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Xi(),r===a){t=Ac(e,t,n);break a}ac(e,t,r,n)}t=t.child}return t;case 26:return hc(e,t),e===null?(n=Af(t.type,null,t.pendingProps,null))?t.memoizedState=n:M||(n=t.type,e=t.pendingProps,r=Vd(he.current).createElement(n),r[_t]=t,r[vt]=e,Fd(r,n,e),At(r),t.stateNode=r):t.memoizedState=Af(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return be(t),e===null&&M&&(r=t.stateNode=pf(t.type,t.pendingProps,he.current),Hi=t,Wi=!0,a=j,Qd(t.type)?(uf=a,j=lf(r.firstChild)):j=a),ac(e,t,t.pendingProps.children,n),hc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&M&&((a=r=j)&&(r=nf(r,t.type,t.pendingProps,Wi),r===null?a=!1:(t.stateNode=r,Hi=t,j=lf(r.firstChild),Wi=!1,a=!0)),a||Ki(t)),be(t),a=t.type,o=t.pendingProps,s=e===null?null:e.memoizedProps,r=o.children,Wd(a,o)?r=null:s!==null&&Wd(a,s)&&(t.flags|=32),t.memoizedState!==null&&(a=Oo(e,t,jo,null,null,n),$f._currentValue=a),hc(e,t),ac(e,t,r,n),t.child;case 6:return e===null&&M&&((e=n=j)&&(n=rf(n,t.pendingProps,Wi),n===null?e=!1:(t.stateNode=n,Hi=t,j=null,e=!0)),e||Ki(t)),null;case 13:return Cc(e,t,n);case 4:return ve(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ga(t,null,r,n):ac(e,t,r,n),t.child;case 11:return oc(e,t,t.type,t.pendingProps,n);case 7:return ac(e,t,t.pendingProps,n),t.child;case 8:return ac(e,t,t.pendingProps.children,n),t.child;case 12:return ac(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,na(t,t.type,r.value),ac(e,t,r.children,n),t.child;case 9:return a=t.type._context,r=t.pendingProps.children,ca(t),a=la(a),r=r(a),t.flags|=1,ac(e,t,r,n),t.child;case 14:return sc(e,t,t.type,t.pendingProps,n);case 15:return cc(e,t,t.type,t.pendingProps,n);case 19:return kc(e,t,n);case 31:return mc(e,t,n);case 22:return lc(e,t,n,t.pendingProps);case 24:return ca(t),r=la(N),e===null?(a=Ea(),a===null&&(a=q,o=ha(),a.pooledCache=o,o.refCount++,o!==null&&(a.pooledCacheLanes|=n),a=o),t.memoizedState={parent:r,cache:a},Ja(t),na(t,N,a)):((e.lanes&n)!==0&&(Ya(e,t),to(t,null,null,n),eo()),a=e.memoizedState,o=t.memoizedState,a.parent===r?(r=o.cache,na(t,N,r),r!==a.cache&&aa(t,[N],n,!0)):(a={parent:r,cache:r},t.memoizedState=a,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=a),na(t,N,r))),ac(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(i(156,t.tag))}function Pc(e){e.flags|=4}function Fc(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(Tu())e.flags|=8192;else throw Ia=Ma,Aa}else e.flags&=-16777217}function Ic(e,t){if(t.type!==`stylesheet`||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!Gf(t))if(Tu())e.flags|=8192;else throw Ia=Ma,Aa}function Lc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:at(),e.lanes|=t,Xl|=t)}function Rc(e,t){if(!M)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 W(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 zc(e,t,n){var r=t.pendingProps;switch(Bi(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return W(t),null;case 1:return W(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),ra(N),ye(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Yi(t)?Pc(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Zi())),W(t),null;case 26:var a=t.type,o=t.memoizedState;return e===null?(Pc(t),o===null?(W(t),Fc(t,a,null,r,n)):(W(t),Ic(t,o))):o?o===e.memoizedState?(W(t),t.flags&=-16777217):(Pc(t),W(t),Ic(t,o)):(e=e.memoizedProps,e!==r&&Pc(t),W(t),Fc(t,a,e,r,n)),null;case 27:if(Se(t),n=he.current,a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Pc(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return W(t),null}e=pe.current,Yi(t)?qi(t,e):(e=pf(a,r,n),t.stateNode=e,Pc(t))}return W(t),null;case 5:if(Se(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Pc(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return W(t),null}if(o=pe.current,Yi(t))qi(t,o);else{var s=Vd(he.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[_t]=t,o[vt]=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(Fd(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&&Pc(t)}}return W(t),Fc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Pc(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(i(166));if(e=he.current,Yi(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,a=Hi,a!==null)switch(a.tag){case 27:case 5:r=a.memoizedProps}e[_t]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||Nd(e.nodeValue,n)),e||Ki(t,!0)}else e=Vd(e).createTextNode(r),e[_t]=t,t.stateNode=e}return W(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=Yi(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[_t]=t}else Xi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;W(t),e=!1}else n=Zi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(go(t),t):(go(t),null);if(t.flags&128)throw Error(i(558))}return W(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=Yi(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[_t]=t}else Xi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;W(t),a=!1}else a=Zi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(go(t),t):(go(t),null)}return go(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),Lc(t,t.updateQueue),W(t),null);case 4:return ye(),e===null&&Cd(t.stateNode.containerInfo),W(t),null;case 10:return ra(t.type),W(t),null;case 19:if(fe(F),r=t.memoizedState,r===null)return W(t),null;if(a=(t.flags&128)!=0,o=r.rendering,o===null)if(a)Rc(r,!1);else{if(Gl!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=_o(e),o!==null){for(t.flags|=128,Rc(r,!1),e=o.updateQueue,t.updateQueue=e,Lc(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)bi(n,e),n=n.sibling;return O(F,F.current&1|2),M&&Li(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&Ie()>nu&&(t.flags|=128,a=!0,Rc(r,!1),t.lanes=4194304)}else{if(!a)if(e=_o(o),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,Lc(t,e),Rc(r,!0),r.tail===null&&r.tailMode===`hidden`&&!o.alternate&&!M)return W(t),null}else 2*Ie()-r.renderingStartTime>nu&&n!==536870912&&(t.flags|=128,a=!0,Rc(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?(W(t),null):(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=Ie(),e.sibling=null,n=F.current,O(F,a?n&1|2:n&1),M&&Li(t,r.treeForkCount),e);case 22:case 23:return go(t),co(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(W(t),t.subtreeFlags&6&&(t.flags|=8192)):W(t),n=t.updateQueue,n!==null&&Lc(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&&fe(Ta),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),ra(N),W(t),null;case 25:return null;case 30:return null}throw Error(i(156,t.tag))}function Bc(e,t){switch(Bi(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ra(N),ye(),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(go(t),t.alternate===null)throw Error(i(340));Xi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(go(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));Xi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return fe(F),null;case 4:return ye(),null;case 10:return ra(t.type),null;case 22:case 23:return go(t),co(),e!==null&&fe(Ta),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return ra(N),null;case 25:return null;default:return null}}function Vc(e,t){switch(Bi(t),t.tag){case 3:ra(N),ye();break;case 26:case 27:case 5:Se(t);break;case 4:ye();break;case 31:t.memoizedState!==null&&go(t);break;case 13:go(t);break;case 19:fe(F);break;case 10:ra(t.type);break;case 22:case 23:go(t),co(),e!==null&&fe(Ta);break;case 24:ra(N)}}function Hc(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){Z(t,t.return,e)}}function Uc(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){Z(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){Z(t,t.return,e)}}function Wc(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{ro(t,n)}catch(t){Z(e,e.return,t)}}}function Gc(e,t,n){n.props=Js(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){Z(e,t,n)}}function Kc(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){Z(e,t,n)}}function qc(e,t){var n=e.ref,r=e.refCleanup;if(n!==null)if(typeof r==`function`)try{r()}catch(n){Z(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){Z(e,t,n)}else n.current=null}function Jc(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){Z(e,e.return,t)}}function Yc(e,t,n){try{var r=e.stateNode;Id(r,e.type,n,t),r[vt]=t}catch(t){Z(e,e.return,t)}}function Xc(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Qd(e.type)||e.tag===4}function Zc(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||Xc(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&&Qd(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 Qc(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=dn));else if(r!==4&&(r===27&&Qd(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(Qc(e,t,n),e=e.sibling;e!==null;)Qc(e,t,n),e=e.sibling}function $c(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&&Qd(e.type)&&(n=e.stateNode),e=e.child,e!==null))for($c(e,t,n),e=e.sibling;e!==null;)$c(e,t,n),e=e.sibling}function el(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);Fd(t,r,n),t[_t]=e,t[vt]=n}catch(t){Z(e,e.return,t)}}var tl=!1,nl=!1,rl=!1,il=typeof WeakSet==`function`?WeakSet:Set,al=null;function ol(e,t){if(e=e.containerInfo,zd=cp,e=Ir(e),Lr(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(Bd={focusedElem:e,selectionRange:n},cp=!1,al=t;al!==null;)if(t=al,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,al=e;else for(;al!==null;){switch(t=al,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=Js(n.type,a);e=r.getSnapshotBeforeUpdate(h,o),r.__reactInternalSnapshotBeforeUpdate=e}catch(e){Z(n,n.return,e)}}break;case 3:if(e&1024){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)tf(e);else if(n===1)switch(e.nodeName){case`HEAD`:case`HTML`:case`BODY`:tf(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,al=e;break}al=t.return}}function sl(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:xl(e,n),r&4&&Hc(5,n);break;case 1:if(xl(e,n),r&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(e){Z(n,n.return,e)}else{var i=Js(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){Z(n,n.return,e)}}r&64&&Wc(n),r&512&&Kc(n,n.return);break;case 3:if(xl(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{ro(e,t)}catch(e){Z(n,n.return,e)}}break;case 27:t===null&&r&4&&el(n);case 26:case 5:xl(e,n),t===null&&r&4&&Jc(n),r&512&&Kc(n,n.return);break;case 12:xl(e,n);break;case 31:xl(e,n),r&4&&fl(e,n);break;case 13:xl(e,n),r&4&&pl(e,n),r&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=Yu.bind(null,n),cf(e,n))));break;case 22:if(r=n.memoizedState!==null||tl,!r){t=t!==null&&t.memoizedState!==null||nl,i=tl;var a=nl;tl=r,(nl=t)&&!a?Cl(e,n,(n.subtreeFlags&8772)!=0):xl(e,n),tl=i,nl=a}break;case 30:break;default:xl(e,n)}}function cl(e){var t=e.alternate;t!==null&&(e.alternate=null,cl(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Tt(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 G=null,ll=!1;function ul(e,t,n){for(n=n.child;n!==null;)dl(e,t,n),n=n.sibling}function dl(e,t,n){if(Ke&&typeof Ke.onCommitFiberUnmount==`function`)try{Ke.onCommitFiberUnmount(Ge,n)}catch{}switch(n.tag){case 26:nl||qc(n,t),ul(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:nl||qc(n,t);var r=G,i=ll;Qd(n.type)&&(G=n.stateNode,ll=!1),ul(e,t,n),mf(n.stateNode),G=r,ll=i;break;case 5:nl||qc(n,t);case 6:if(r=G,i=ll,G=null,ul(e,t,n),G=r,ll=i,G!==null)if(ll)try{(G.nodeType===9?G.body:G.nodeName===`HTML`?G.ownerDocument.body:G).removeChild(n.stateNode)}catch(e){Z(n,t,e)}else try{G.removeChild(n.stateNode)}catch(e){Z(n,t,e)}break;case 18:G!==null&&(ll?(e=G,$d(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),Pp(e)):$d(G,n.stateNode));break;case 4:r=G,i=ll,G=n.stateNode.containerInfo,ll=!0,ul(e,t,n),G=r,ll=i;break;case 0:case 11:case 14:case 15:Uc(2,n,t),nl||Uc(4,n,t),ul(e,t,n);break;case 1:nl||(qc(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`&&Gc(n,t,r)),ul(e,t,n);break;case 21:ul(e,t,n);break;case 22:nl=(r=nl)||n.memoizedState!==null,ul(e,t,n),nl=r;break;default:ul(e,t,n)}}function fl(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Pp(e)}catch(e){Z(t,t.return,e)}}}function pl(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){Z(t,t.return,e)}}function ml(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new il),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new il),t;default:throw Error(i(435,e.tag))}}function hl(e,t){var n=ml(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=Xu.bind(null,e,t);t.then(r,r)}})}function gl(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(Qd(c.type)){G=c.stateNode,ll=!1;break a}break;case 5:G=c.stateNode,ll=!1;break a;case 3:case 4:G=c.stateNode.containerInfo,ll=!0;break a}c=c.return}if(G===null)throw Error(i(160));dl(o,s,a),G=null,ll=!1,o=a.alternate,o!==null&&(o.return=null),a.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)vl(t,e),t=t.sibling}var _l=null;function vl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:gl(t,e),yl(e),r&4&&(Uc(3,e,e.return),Hc(3,e),Uc(5,e,e.return));break;case 1:gl(t,e),yl(e),r&512&&(nl||n===null||qc(n,n.return)),r&64&&tl&&(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=_l;if(gl(t,e),yl(e),r&512&&(nl||n===null||qc(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[wt]||o[_t]||o.namespaceURI===`http://www.w3.org/2000/svg`||o.hasAttribute(`itemprop`))&&(o=a.createElement(r),a.head.insertBefore(o,a.querySelector(`head > title`))),Fd(o,r,n),o[_t]=e,At(o),r=o;break a;case`link`:var s=Hf(`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),Fd(o,r,n),a.head.appendChild(o);break;case`meta`:if(s=Hf(`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),Fd(o,r,n),a.head.appendChild(o);break;default:throw Error(i(468,r))}o[_t]=e,At(o),r=o}e.stateNode=r}else Uf(a,e.type,e.stateNode);else e.stateNode=Lf(a,r,e.memoizedProps);else o===r?r===null&&e.stateNode!==null&&Yc(e,e.memoizedProps,n.memoizedProps):(o===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):o.count--,r===null?Uf(a,e.type,e.stateNode):Lf(a,r,e.memoizedProps))}break;case 27:gl(t,e),yl(e),r&512&&(nl||n===null||qc(n,n.return)),n!==null&&r&4&&Yc(e,e.memoizedProps,n.memoizedProps);break;case 5:if(gl(t,e),yl(e),r&512&&(nl||n===null||qc(n,n.return)),e.flags&32){a=e.stateNode;try{nn(a,``)}catch(t){Z(e,e.return,t)}}r&4&&e.stateNode!=null&&(a=e.memoizedProps,Yc(e,a,n===null?a:n.memoizedProps)),r&1024&&(rl=!0);break;case 6:if(gl(t,e),yl(e),r&4){if(e.stateNode===null)throw Error(i(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(t){Z(e,e.return,t)}}break;case 3:if(Vf=null,a=_l,_l=_f(t.containerInfo),gl(t,e),_l=a,yl(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Pp(t.containerInfo)}catch(t){Z(e,e.return,t)}rl&&(rl=!1,bl(e));break;case 4:r=_l,_l=_f(e.stateNode.containerInfo),gl(t,e),yl(e),_l=r;break;case 12:gl(t,e),yl(e);break;case 31:gl(t,e),yl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,hl(e,r)));break;case 13:gl(t,e),yl(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(eu=Ie()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,hl(e,r)));break;case 22:a=e.memoizedState!==null;var l=n!==null&&n.memoizedState!==null,u=tl,d=nl;if(tl=u||a,nl=d||l,gl(t,e),nl=d,tl=u,yl(e),r&8192)a:for(t=e.stateNode,t._visibility=a?t._visibility&-2:t._visibility|1,a&&(n===null||l||tl||nl||Sl(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){Z(l,l.return,e)}}}else if(t.tag===6){if(n===null){l=t;try{l.stateNode.nodeValue=a?``:l.memoizedProps}catch(e){Z(l,l.return,e)}}}else if(t.tag===18){if(n===null){l=t;try{var m=l.stateNode;a?ef(m,!0):ef(l.stateNode,!1)}catch(e){Z(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,hl(e,n))));break;case 19:gl(t,e),yl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,hl(e,r)));break;case 30:break;case 21:break;default:gl(t,e),yl(e)}}function yl(e){var t=e.flags;if(t&2){try{for(var n,r=e.return;r!==null;){if(Xc(r)){n=r;break}r=r.return}if(n==null)throw Error(i(160));switch(n.tag){case 27:var a=n.stateNode;$c(e,Zc(e),a);break;case 5:var o=n.stateNode;n.flags&32&&(nn(o,``),n.flags&=-33),$c(e,Zc(e),o);break;case 3:case 4:var s=n.stateNode.containerInfo;Qc(e,Zc(e),s);break;default:throw Error(i(161))}}catch(t){Z(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function bl(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;bl(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function xl(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)sl(e,t.alternate,t),t=t.sibling}function Sl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Uc(4,t,t.return),Sl(t);break;case 1:qc(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount==`function`&&Gc(t,t.return,n),Sl(t);break;case 27:mf(t.stateNode);case 26:case 5:qc(t,t.return),Sl(t);break;case 22:t.memoizedState===null&&Sl(t);break;case 30:Sl(t);break;default:Sl(t)}e=e.sibling}}function Cl(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:Cl(i,a,n),Hc(4,a);break;case 1:if(Cl(i,a,n),r=a,i=r.stateNode,typeof i.componentDidMount==`function`)try{i.componentDidMount()}catch(e){Z(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++)no(c[i],s)}catch(e){Z(r,r.return,e)}}n&&o&64&&Wc(a),Kc(a,a.return);break;case 27:el(a);case 26:case 5:Cl(i,a,n),n&&r===null&&o&4&&Jc(a),Kc(a,a.return);break;case 12:Cl(i,a,n);break;case 31:Cl(i,a,n),n&&o&4&&fl(i,a);break;case 13:Cl(i,a,n),n&&o&4&&pl(i,a);break;case 22:a.memoizedState===null&&Cl(i,a,n),Kc(a,a.return);break;case 30:break;default:Cl(i,a,n)}t=t.sibling}}function wl(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&&ga(n))}function Tl(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&ga(e))}function El(e,t,n,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Dl(e,t,n,r),t=t.sibling}function Dl(e,t,n,r){var i=t.flags;switch(t.tag){case 0:case 11:case 15:El(e,t,n,r),i&2048&&Hc(9,t);break;case 1:El(e,t,n,r);break;case 3:El(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&&ga(e)));break;case 12:if(i&2048){El(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){Z(t,t.return,e)}}else El(e,t,n,r);break;case 31:El(e,t,n,r);break;case 13:El(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,o=t.alternate,t.memoizedState===null?a._visibility&2?El(e,t,n,r):(a._visibility|=2,Ol(e,t,n,r,(t.subtreeFlags&10256)!=0||!1)):a._visibility&2?El(e,t,n,r):kl(e,t),i&2048&&wl(o,t);break;case 24:El(e,t,n,r),i&2048&&Tl(t.alternate,t);break;default:El(e,t,n,r)}}function Ol(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:Ol(a,o,s,c,i),Hc(8,o);break;case 23:break;case 22:var u=o.stateNode;o.memoizedState===null?(u._visibility|=2,Ol(a,o,s,c,i)):u._visibility&2?Ol(a,o,s,c,i):kl(a,o),i&&l&2048&&wl(o.alternate,o);break;case 24:Ol(a,o,s,c,i),i&&l&2048&&Tl(o.alternate,o);break;default:Ol(a,o,s,c,i)}t=t.sibling}}function kl(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:kl(n,r),i&2048&&wl(r.alternate,r);break;case 24:kl(n,r),i&2048&&Tl(r.alternate,r);break;default:kl(n,r)}t=t.sibling}}var Al=8192;function jl(e,t,n){if(e.subtreeFlags&Al)for(e=e.child;e!==null;)Ml(e,t,n),e=e.sibling}function Ml(e,t,n){switch(e.tag){case 26:jl(e,t,n),e.flags&Al&&e.memoizedState!==null&&Kf(n,_l,e.memoizedState,e.memoizedProps);break;case 5:jl(e,t,n);break;case 3:case 4:var r=_l;_l=_f(e.stateNode.containerInfo),jl(e,t,n),_l=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=Al,Al=16777216,jl(e,t,n),Al=r):jl(e,t,n));break;default:jl(e,t,n)}}function Nl(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 Pl(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];al=r,Ll(r,e)}Nl(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Fl(e),e=e.sibling}function Fl(e){switch(e.tag){case 0:case 11:case 15:Pl(e),e.flags&2048&&Uc(9,e,e.return);break;case 3:Pl(e);break;case 12:Pl(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Il(e)):Pl(e);break;default:Pl(e)}}function Il(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];al=r,Ll(r,e)}Nl(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Uc(8,t,t.return),Il(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,Il(t));break;default:Il(t)}e=e.sibling}}function Ll(e,t){for(;al!==null;){var n=al;switch(n.tag){case 0:case 11:case 15:Uc(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:ga(n.memoizedState.cache)}if(r=n.child,r!==null)r.return=n,al=r;else a:for(n=e;al!==null;){r=al;var i=r.sibling,a=r.return;if(cl(r),r===n){al=null;break a}if(i!==null){i.return=a,al=i;break a}al=a}}}var Rl={getCacheForType:function(e){var t=la(N),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return la(N).controller.signal}},zl=typeof WeakMap==`function`?WeakMap:Map,K=0,q=null,J=null,Y=0,X=0,Bl=null,Vl=!1,Hl=!1,Ul=!1,Wl=0,Gl=0,Kl=0,ql=0,Jl=0,Yl=0,Xl=0,Zl=null,Ql=null,$l=!1,eu=0,tu=0,nu=1/0,ru=null,iu=null,au=0,ou=null,su=null,cu=0,lu=0,uu=null,du=null,fu=0,pu=null;function mu(){return K&2&&Y!==0?Y&-Y:w.T===null?mt():fd()}function hu(){if(Yl===0)if(!(Y&536870912)||M){var e=$e;$e<<=1,!($e&3932160)&&($e=262144),Yl=e}else Yl=536870912;return e=lo.current,e!==null&&(e.flags|=32),Yl}function gu(e,t,n){(e===q&&(X===2||X===9)||e.cancelPendingCommit!==null)&&(Cu(e,0),bu(e,Y,Yl,!1)),st(e,n),(!(K&2)||e!==q)&&(e===q&&(!(K&2)&&(ql|=n),Gl===4&&bu(e,Y,Yl,!1)),id(e))}function _u(e,t,n){if(K&6)throw Error(i(327));var r=!n&&(t&127)==0&&(t&e.expiredLanes)===0||rt(e,t),a=r?ju(e,t):ku(e,t,!0),o=r;do{if(a===0){Hl&&!r&&bu(e,t,0,!1);break}else{if(n=e.current.alternate,o&&!yu(n)){a=ku(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=Zl;var l=c.current.memoizedState.isDehydrated;if(l&&(Cu(c,s).flags|=256),s=ku(c,s,!1),s!==2){if(Ul&&!l){c.errorRecoveryDisabledLanes|=o,ql|=o,a=4;break a}o=Ql,Ql=a,o!==null&&(Ql===null?Ql=o:Ql.push.apply(Ql,o))}a=s}if(o=!1,a!==2)continue}}if(a===1){Cu(e,0),bu(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:bu(r,t,Yl,!Vl);break a;case 2:Ql=null;break;case 3:case 5:break;default:throw Error(i(329))}if((t&62914560)===t&&(a=eu+300-Ie(),10<a)){if(bu(r,t,Yl,!Vl),nt(r,0,!0)!==0)break a;cu=t,r.timeoutHandle=qd(vu.bind(null,r,n,Ql,ru,$l,t,Yl,ql,Xl,Vl,o,`Throttled`,-0,0),a);break a}vu(r,n,Ql,ru,$l,t,Yl,ql,Xl,Vl,o,null,-0,0)}}break}while(1);id(e)}function vu(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:dn},Ml(t,a,d);var m=(a&62914560)===a?eu-Ie():(a&4194048)===a?tu-Ie():0;if(m=Jf(d,m),m!==null){cu=a,e.cancelPendingCommit=m(Ru.bind(null,e,t,a,n,r,i,o,s,c,u,d,null,f,p)),bu(e,a,o,!l);return}}Ru(e,t,a,n,r,i,o,s,c)}function yu(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(!jr(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 bu(e,t,n,r){t&=~Jl,t&=~ql,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-Je(i),o=1<<a;r[a]=-1,i&=~o}n!==0&<(e,n,t)}function xu(){return K&6?!0:(ad(0,!1),!1)}function Su(){if(J!==null){if(X===0)var e=J.return;else e=J,ta=ea=null,Po(e),za=null,Ba=0,e=J;for(;e!==null;)Vc(e.alternate,e),e=e.return;J=null}}function Cu(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,Jd(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),cu=0,Su(),q=e,J=n=yi(e.current,null),Y=t,X=0,Bl=null,Vl=!1,Hl=rt(e,t),Ul=!1,Xl=Yl=Jl=ql=Kl=Gl=0,Ql=Zl=null,$l=!1,t&8&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var i=31-Je(r),a=1<<i;t|=e[i],r&=~a}return Wl=t,li(),n}function wu(e,t){I=null,w.H=Bs,t===ka||t===ja?(t=La(),X=3):t===Aa?(t=La(),X=4):X=t===ic?8:typeof t==`object`&&t&&typeof t.then==`function`?6:1,Bl=t,J===null&&(Gl=1,Qs(e,Di(t,e.current)))}function Tu(){var e=lo.current;return e===null?!0:(Y&4194048)===Y?uo===null:(Y&62914560)===Y||Y&536870912?e===uo:!1}function Eu(){var e=w.H;return w.H=Bs,e===null?Bs:e}function Du(){var e=w.A;return w.A=Rl,e}function Ou(){Gl=4,Vl||(Y&4194048)!==Y&&lo.current!==null||(Hl=!0),!(Kl&134217727)&&!(ql&134217727)||q===null||bu(q,Y,Yl,!1)}function ku(e,t,n){var r=K;K|=2;var i=Eu(),a=Du();(q!==e||Y!==t)&&(ru=null,Cu(e,t)),t=!1;var o=Gl;a:do try{if(X!==0&&J!==null){var s=J,c=Bl;switch(X){case 8:Su(),o=6;break a;case 3:case 2:case 9:case 6:lo.current===null&&(t=!0);var l=X;if(X=0,Bl=null,Fu(e,s,c,l),n&&Hl){o=0;break a}break;default:l=X,X=0,Bl=null,Fu(e,s,c,l)}}Au(),o=Gl;break}catch(t){wu(e,t)}while(1);return t&&e.shellSuspendCounter++,ta=ea=null,K=r,w.H=i,w.A=a,J===null&&(q=null,Y=0,li()),o}function Au(){for(;J!==null;)Nu(J)}function ju(e,t){var n=K;K|=2;var r=Eu(),a=Du();q!==e||Y!==t?(ru=null,nu=Ie()+500,Cu(e,t)):Hl=rt(e,t);a:do try{if(X!==0&&J!==null){t=J;var o=Bl;b:switch(X){case 1:X=0,Bl=null,Fu(e,t,o,1);break;case 2:case 9:if(Na(o)){X=0,Bl=null,Pu(t);break}t=function(){X!==2&&X!==9||q!==e||(X=7),id(e)},o.then(t,t);break a;case 3:X=7;break a;case 4:X=5;break a;case 7:Na(o)?(X=0,Bl=null,Pu(t)):(X=0,Bl=null,Fu(e,t,o,7));break;case 5:var s=null;switch(J.tag){case 26:s=J.memoizedState;case 5:case 27:var c=J;if(s?Gf(s):c.stateNode.complete){X=0,Bl=null;var l=c.sibling;if(l!==null)J=l;else{var u=c.return;u===null?J=null:(J=u,Iu(u))}break b}}X=0,Bl=null,Fu(e,t,o,5);break;case 6:X=0,Bl=null,Fu(e,t,o,6);break;case 8:Su(),Gl=6;break a;default:throw Error(i(462))}}Mu();break}catch(t){wu(e,t)}while(1);return ta=ea=null,w.H=r,w.A=a,K=n,J===null?(q=null,Y=0,li(),Gl):0}function Mu(){for(;J!==null&&!Pe();)Nu(J)}function Nu(e){var t=Nc(e.alternate,e,Wl);e.memoizedProps=e.pendingProps,t===null?Iu(e):J=t}function Pu(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=_c(n,t,t.pendingProps,t.type,void 0,Y);break;case 11:t=_c(n,t,t.pendingProps,t.type.render,t.ref,Y);break;case 5:Po(t);default:Vc(n,t),t=J=bi(t,Wl),t=Nc(n,t,Wl)}e.memoizedProps=e.pendingProps,t===null?Iu(e):J=t}function Fu(e,t,n,r){ta=ea=null,Po(t),za=null,Ba=0;var i=t.return;try{if(rc(e,i,t,n,Y)){Gl=1,Qs(e,Di(n,e.current)),J=null;return}}catch(t){if(i!==null)throw J=i,t;Gl=1,Qs(e,Di(n,e.current)),J=null;return}t.flags&32768?(M||r===1?e=!0:Hl||Y&536870912?e=!1:(Vl=e=!0,(r===2||r===9||r===3||r===6)&&(r=lo.current,r!==null&&r.tag===13&&(r.flags|=16384))),Lu(t,e)):Iu(t)}function Iu(e){var t=e;do{if(t.flags&32768){Lu(t,Vl);return}e=t.return;var n=zc(t.alternate,t,Wl);if(n!==null){J=n;return}if(t=t.sibling,t!==null){J=t;return}J=t=e}while(t!==null);Gl===0&&(Gl=5)}function Lu(e,t){do{var n=Bc(e.alternate,e);if(n!==null){n.flags&=32767,J=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){J=e;return}J=e=n}while(e!==null);Gl=6,J=null}function Ru(e,t,n,r,a,o,s,c,l){e.cancelPendingCommit=null;do Uu();while(au!==0);if(K&6)throw Error(i(327));if(t!==null){if(t===e.current)throw Error(i(177));if(o=t.lanes|t.childLanes,o|=ci,ct(e,n,o,s,c,l),e===q&&(J=q=null,Y=0),su=t,ou=e,cu=n,lu=o,uu=a,du=r,t.subtreeFlags&10256||t.flags&10256?(e.callbackNode=null,e.callbackPriority=0,Zu(Be,function(){return Wu(),null})):(e.callbackNode=null,e.callbackPriority=0),r=(t.flags&13878)!=0,t.subtreeFlags&13878||r){r=w.T,w.T=null,a=E.p,E.p=2,s=K,K|=4;try{ol(e,t,n)}finally{K=s,E.p=a,w.T=r}}au=1,zu(),Bu(),Vu()}}function zu(){if(au===1){au=0;var e=ou,t=su,n=(t.flags&13878)!=0;if(t.subtreeFlags&13878||n){n=w.T,w.T=null;var r=E.p;E.p=2;var i=K;K|=4;try{vl(t,e);var a=Bd,o=Ir(e.containerInfo),s=a.focusedElem,c=a.selectionRange;if(o!==s&&s&&s.ownerDocument&&Fr(s.ownerDocument.documentElement,s)){if(c!==null&&Lr(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 _=Pr(s,h),v=Pr(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}}cp=!!zd,Bd=zd=null}finally{K=i,E.p=r,w.T=n}}e.current=t,au=2}}function Bu(){if(au===2){au=0;var e=ou,t=su,n=(t.flags&8772)!=0;if(t.subtreeFlags&8772||n){n=w.T,w.T=null;var r=E.p;E.p=2;var i=K;K|=4;try{sl(e,t.alternate,t)}finally{K=i,E.p=r,w.T=n}}au=3}}function Vu(){if(au===4||au===3){au=0,Fe();var e=ou,t=su,n=cu,r=du;t.subtreeFlags&10256||t.flags&10256?au=5:(au=0,su=ou=null,Hu(e,e.pendingLanes));var i=e.pendingLanes;if(i===0&&(iu=null),pt(n),t=t.stateNode,Ke&&typeof Ke.onCommitFiberRoot==`function`)try{Ke.onCommitFiberRoot(Ge,t,void 0,(t.current.flags&128)==128)}catch{}if(r!==null){t=w.T,i=E.p,E.p=2,w.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{w.T=t,E.p=i}}cu&3&&Uu(),id(e),i=e.pendingLanes,n&261930&&i&42?e===pu?fu++:(fu=0,pu=e):fu=0,ad(0,!1)}}function Hu(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,ga(t)))}function Uu(){return zu(),Bu(),Vu(),Wu()}function Wu(){if(au!==5)return!1;var e=ou,t=lu;lu=0;var n=pt(cu),r=w.T,a=E.p;try{E.p=32>n?32:n,w.T=null,n=uu,uu=null;var o=ou,s=cu;if(au=0,su=ou=null,cu=0,K&6)throw Error(i(331));var c=K;if(K|=4,Fl(o.current),Dl(o,o.current,s,n),K=c,ad(0,!1),Ke&&typeof Ke.onPostCommitFiberRoot==`function`)try{Ke.onPostCommitFiberRoot(Ge,o)}catch{}return!0}finally{E.p=a,w.T=r,Hu(e,t)}}function Gu(e,t,n){t=Di(n,t),t=ec(e.stateNode,t,2),e=P(e,t,2),e!==null&&(st(e,2),id(e))}function Z(e,t,n){if(e.tag===3)Gu(e,e,n);else for(;t!==null;){if(t.tag===3){Gu(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(iu===null||!iu.has(r))){e=Di(n,e),n=tc(2),r=P(t,n,2),r!==null&&(nc(n,r,t,e),st(r,2),id(r));break}}t=t.return}}function Ku(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new zl;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)||(Ul=!0,i.add(n),e=qu.bind(null,e,t,n),t.then(e,e))}function qu(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,q===e&&(Y&n)===n&&(Gl===4||Gl===3&&(Y&62914560)===Y&&300>Ie()-eu?!(K&2)&&Cu(e,0):Jl|=n,Xl===Y&&(Xl=0)),id(e)}function Ju(e,t){t===0&&(t=at()),e=fi(e,t),e!==null&&(st(e,t),id(e))}function Yu(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Ju(e,n)}function Xu(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),Ju(e,n)}function Zu(e,t){return je(e,t)}var Qu=null,$u=null,ed=!1,td=!1,nd=!1,rd=0;function id(e){e!==$u&&e.next===null&&($u===null?Qu=$u=e:$u=$u.next=e),td=!0,ed||(ed=!0,dd())}function ad(e,t){if(!nd&&td){nd=!0;do for(var n=!1,r=Qu;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-Je(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,ud(r,a))}else a=Y,a=nt(r,r===q?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||rt(r,a)||(n=!0,ud(r,a));r=r.next}while(n);nd=!1}}function od(){sd()}function sd(){td=ed=!1;var e=0;rd!==0&&Kd()&&(e=rd);for(var t=Ie(),n=null,r=Qu;r!==null;){var i=r.next,a=cd(r,t);a===0?(r.next=null,n===null?Qu=i:n.next=i,i===null&&($u=n)):(n=r,(e!==0||a&3)&&(td=!0)),r=i}au!==0&&au!==5||ad(e,!1),rd!==0&&(rd=0)}function cd(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-Je(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=it(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=q,n=Y,n=nt(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,n===0||e===t&&(X===2||X===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&Ne(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||rt(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(r!==null&&Ne(r),pt(n)){case 2:case 8:n=ze;break;case 32:n=Be;break;case 268435456:n=He;break;default:n=Be}return r=ld.bind(null,e),n=je(n,r),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&r!==null&&Ne(r),e.callbackPriority=2,e.callbackNode=null,2}function ld(e,t){if(au!==0&&au!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Uu()&&e.callbackNode!==n)return null;var r=Y;return r=nt(e,e===q?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(_u(e,r,t),cd(e,Ie()),e.callbackNode!=null&&e.callbackNode===n?ld.bind(null,e):null)}function ud(e,t){if(Uu())return null;_u(e,t,!0)}function dd(){Xd(function(){K&6?je(Re,od):sd()})}function fd(){if(rd===0){var e=ya;e===0&&(e=Qe,Qe<<=1,!(Qe&261888)&&(Qe=256)),rd=e}return rd}function pd(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:un(``+e)}function md(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 hd(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=pd((i[vt]||null).action),o=r.submitter;o&&(t=(t=o[vt]||null)?pd(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new Mn(`action`,`action`,null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(rd!==0){var e=o?md(i,o):new FormData(i);Es(n,{pending:!0,data:e,method:i.method,action:a},null,e)}}else typeof a==`function`&&(s.preventDefault(),e=o?md(i,o):new FormData(i),Es(n,{pending:!0,data:e,method:i.method,action:a},a,e))},currentTarget:i}]})}}for(var gd=0;gd<ri.length;gd++){var _d=ri[gd];ii(_d.toLowerCase(),`on`+(_d[0].toUpperCase()+_d.slice(1)))}ii(Yr,`onAnimationEnd`),ii(Xr,`onAnimationIteration`),ii(Zr,`onAnimationStart`),ii(`dblclick`,`onDoubleClick`),ii(`focusin`,`onFocus`),ii(`focusout`,`onBlur`),ii(Qr,`onTransitionRun`),ii($r,`onTransitionStart`),ii(ei,`onTransitionCancel`),ii(ti,`onTransitionEnd`),Pt(`onMouseEnter`,[`mouseout`,`mouseover`]),Pt(`onMouseLeave`,[`mouseout`,`mouseover`]),Pt(`onPointerEnter`,[`pointerout`,`pointerover`]),Pt(`onPointerLeave`,[`pointerout`,`pointerover`]),Nt(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),Nt(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),Nt(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),Nt(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),Nt(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),Nt(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var vd=`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(` `),yd=new Set(`beforetoggle cancel close invalid load scroll scrollend toggle`.split(` `).concat(vd));function bd(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 Q(e,t){var n=t[bt];n===void 0&&(n=t[bt]=new Set);var r=e+`__bubble`;n.has(r)||(wd(t,e,2,!1),n.add(r))}function xd(e,t,n){var r=0;t&&(r|=4),wd(n,e,r,t)}var Sd=`_reactListening`+Math.random().toString(36).slice(2);function Cd(e){if(!e[Sd]){e[Sd]=!0,jt.forEach(function(t){t!==`selectionchange`&&(yd.has(t)||xd(t,!1,e),xd(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Sd]||(t[Sd]=!0,xd(`selectionchange`,!1,t))}}function wd(e,t,n,r){switch(hp(t)){case 2:var i=lp;break;case 8:i=up;break;default:i=dp}n=i.bind(null,t,n,e),i=void 0,!xn||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 Td(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=Et(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}vn(function(){var r=a,i=pn(n),s=[];a:{var c=ni.get(e);if(c!==void 0){var l=Mn,u=e;switch(e){case`keypress`:if(Dn(n)===0)break a;case`keydown`:case`keyup`:l=Jn;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=zn;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:l=k;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:l=Xn;break;case Yr:case Xr:case Zr:l=Vn;break;case ti:l=Zn;break;case`scroll`:case`scrollend`:l=Pn;break;case`wheel`:l=Qn;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=Yn;break;case`toggle`:case`beforetoggle`:l=$n}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=yn(m,p),g!=null&&d.push(Ed(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!==fn&&(u=n.relatedTarget||n.fromElement)&&(Et(u)||u[yt]))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?Et(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=zn,g=`onMouseLeave`,p=`onMouseEnter`,m=`mouse`,(e===`pointerout`||e===`pointerover`)&&(d=Yn,g=`onPointerLeave`,p=`onPointerEnter`,m=`pointer`),f=l==null?c:Ot(l),h=u==null?c:Ot(u),c=new d(g,m+`leave`,l,n,i),c.target=f,c.relatedTarget=h,g=null,Et(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=Od,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&&kd(s,c,l,d,!1),u!==null&&f!==null&&kd(s,f,u,d,!0)}}a:{if(c=r?Ot(r):window,l=c.nodeName&&c.nodeName.toLowerCase(),l===`select`||l===`input`&&c.type===`file`)var v=yr;else if(pr(c))if(br)v=kr;else{v=Dr;var y=Er}else l=c.nodeName,!l||l.toLowerCase()!==`input`||c.type!==`checkbox`&&c.type!==`radio`?r&&sn(r.elementType)&&(v=yr):v=Or;if(v&&=v(e,r)){mr(s,v,n,i);break a}y&&y(e,c,r),e===`focusout`&&r&&c.type===`number`&&r.memoizedProps.value!=null&&Qt(c,`number`,c.value)}switch(y=r?Ot(r):window,e){case`focusin`:(pr(y)||y.contentEditable===`true`)&&(zr=y,Br=r,Vr=null);break;case`focusout`:Vr=Br=zr=null;break;case`mousedown`:Hr=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:Hr=!1,Ur(s,n,i);break;case`selectionchange`:if(Rr)break;case`keydown`:case`keyup`:Ur(s,n,i)}var b;if(tr)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 lr?sr(e,n)&&(x=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(x=`onCompositionStart`);x&&(ir&&n.locale!==`ko`&&(lr||x!==`onCompositionStart`?x===`onCompositionEnd`&&lr&&(b=En()):(Cn=i,wn=`value`in Cn?Cn.value:Cn.textContent,lr=!0)),y=Dd(r,x),0<y.length&&(x=new A(x,e,null,n,i),s.push({event:x,listeners:y}),b?x.data=b:(b=cr(n),b!==null&&(x.data=b)))),(b=rr?ur(e,n):dr(e,n))&&(x=Dd(r,`onBeforeInput`),0<x.length&&(y=new A(`onBeforeInput`,`beforeinput`,null,n,i),s.push({event:y,listeners:x}),y.data=b)),hd(s,e,r,n,i)}bd(s,t)})}function Ed(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Dd(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=yn(e,n),i!=null&&r.unshift(Ed(e,i,a)),i=yn(e,t),i!=null&&r.push(Ed(e,i,a))),e.tag===3)return r;e=e.return}return[]}function Od(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function kd(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=yn(n,a),l!=null&&o.unshift(Ed(n,l,c))):i||(l=yn(n,a),l!=null&&o.push(Ed(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var Ad=/\r\n?/g,jd=/\u0000|\uFFFD/g;function Md(e){return(typeof e==`string`?e:``+e).replace(Ad,` 10`).replace(jd,``)}function Nd(e,t){return t=Md(t),Md(e)===t}function $(e,t,n,r,a,o){switch(n){case`children`:typeof r==`string`?t===`body`||t===`textarea`&&r===``||nn(e,r):(typeof r==`number`||typeof r==`bigint`)&&t!==`body`&&nn(e,``+r);break;case`className`:Bt(e,`class`,r);break;case`tabIndex`:Bt(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:Bt(e,n,r);break;case`style`:on(e,r,o);break;case`data`:if(t!==`object`){Bt(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=un(``+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`&&$(e,t,`name`,a.name,a,null),$(e,t,`formEncType`,a.formEncType,a,null),$(e,t,`formMethod`,a.formMethod,a,null),$(e,t,`formTarget`,a.formTarget,a,null)):($(e,t,`encType`,a.encType,a,null),$(e,t,`method`,a.method,a,null),$(e,t,`target`,a.target,a,null)));if(r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=un(``+r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(e.onclick=dn);break;case`onScroll`:r!=null&&Q(`scroll`,e);break;case`onScrollEnd`:r!=null&&Q(`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=un(``+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`:Q(`beforetoggle`,e),Q(`toggle`,e),zt(e,`popover`,r);break;case`xlinkActuate`:Vt(e,`http://www.w3.org/1999/xlink`,`xlink:actuate`,r);break;case`xlinkArcrole`:Vt(e,`http://www.w3.org/1999/xlink`,`xlink:arcrole`,r);break;case`xlinkRole`:Vt(e,`http://www.w3.org/1999/xlink`,`xlink:role`,r);break;case`xlinkShow`:Vt(e,`http://www.w3.org/1999/xlink`,`xlink:show`,r);break;case`xlinkTitle`:Vt(e,`http://www.w3.org/1999/xlink`,`xlink:title`,r);break;case`xlinkType`:Vt(e,`http://www.w3.org/1999/xlink`,`xlink:type`,r);break;case`xmlBase`:Vt(e,`http://www.w3.org/XML/1998/namespace`,`xml:base`,r);break;case`xmlLang`:Vt(e,`http://www.w3.org/XML/1998/namespace`,`xml:lang`,r);break;case`xmlSpace`:Vt(e,`http://www.w3.org/XML/1998/namespace`,`xml:space`,r);break;case`is`:zt(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=cn.get(n)||n,zt(e,n,r))}}function Pd(e,t,n,r,a,o){switch(n){case`style`:on(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`?nn(e,r):(typeof r==`number`||typeof r==`bigint`)&&nn(e,``+r);break;case`onScroll`:r!=null&&Q(`scroll`,e);break;case`onScrollEnd`:r!=null&&Q(`scrollend`,e);break;case`onClick`:r!=null&&(e.onclick=dn);break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:break;case`innerText`:case`textContent`:break;default:if(!Mt.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[vt]||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,``):zt(e,n,r)}}}function Fd(e,t,n){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`img`:Q(`error`,e),Q(`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:$(e,t,o,s,n,null)}}a&&$(e,t,`srcSet`,n.srcSet,n,null),r&&$(e,t,`src`,n.src,n,null);return;case`input`:Q(`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:$(e,t,r,d,n,null)}}Zt(e,o,c,l,u,s,a,!1);return;case`select`:for(a in Q(`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:$(e,t,a,c,n,null)}t=o,n=s,e.multiple=!!r,t==null?n!=null&&$t(e,!!r,n,!0):$t(e,!!r,t,!1);return;case`textarea`:for(s in Q(`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:$(e,t,s,c,n,null)}tn(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:$(e,t,l,r,n,null)}return;case`dialog`:Q(`beforetoggle`,e),Q(`toggle`,e),Q(`cancel`,e),Q(`close`,e);break;case`iframe`:case`object`:Q(`load`,e);break;case`video`:case`audio`:for(r=0;r<vd.length;r++)Q(vd[r],e);break;case`image`:Q(`error`,e),Q(`load`,e);break;case`details`:Q(`toggle`,e);break;case`embed`:case`source`:case`link`:Q(`error`,e),Q(`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:$(e,t,u,r,n,null)}return;default:if(sn(t)){for(d in n)n.hasOwnProperty(d)&&(r=n[d],r!==void 0&&Pd(e,t,d,r,n,void 0));return}}for(c in n)n.hasOwnProperty(c)&&(r=n[c],r!=null&&$(e,t,c,r,n,null))}function Id(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)||$(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&&$(e,t,p,m,r,f)}}Xt(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)||$(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&&$(e,t,a,o,r,l)}t=c,n=s,r=m,p==null?!!r!=!!n&&(t==null?$t(e,!!n,n?[]:``,!1):$t(e,!!n,t,!0)):$t(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:$(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&&$(e,t,s,a,r,o)}en(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:$(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:$(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)&&$(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:$(e,t,u,p,r,m)}return;default:if(sn(t)){for(var _ in n)p=n[_],n.hasOwnProperty(_)&&p!==void 0&&!r.hasOwnProperty(_)&&Pd(e,t,_,void 0,r,p);
vendor: 4,461 bytes, line 10
10for(d in r)p=r[d],m=n[d],!r.hasOwnProperty(d)||p===m||p===void 0&&m===void 0||Pd(e,t,d,p,r,m);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&p!=null&&!r.hasOwnProperty(v)&&$(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||$(e,t,f,p,r,m)}function Ld(e){switch(e){case`css`:case`script`:case`font`:case`img`:case`image`:case`input`:case`link`:return!0;default:return!1}}function Rd(){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&&Ld(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&&Ld(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 zd=null,Bd=null;function Vd(e){return e.nodeType===9?e:e.ownerDocument}function Hd(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 Ud(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 Wd(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 Gd=null;function Kd(){var e=window.event;return e&&e.type===`popstate`?e===Gd?!1:(Gd=e,!0):(Gd=null,!1)}var qd=typeof setTimeout==`function`?setTimeout:void 0,Jd=typeof clearTimeout==`function`?clearTimeout:void 0,Yd=typeof Promise==`function`?Promise:void 0,Xd=typeof queueMicrotask==`function`?queueMicrotask:Yd===void 0?qd:function(e){return Yd.resolve(null).then(e).catch(Zd)};function Zd(e){setTimeout(function(){throw e})}function Qd(e){return e===`head`}function $d(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`)mf(e.ownerDocument.documentElement);else if(n===`head`){n=e.ownerDocument.head,mf(n);for(var a=n.firstChild;a;){var o=a.nextSibling,s=a.nodeName;a[wt]||s===`SCRIPT`||s===`STYLE`||s===`LINK`&&a.rel.toLowerCase()===`stylesheet`||n.removeChild(a),a=o}}else n===`body`&&mf(e.ownerDocument.body);n=i}while(n);Pp(t)}function ef(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 tf(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`:tf(n),Tt(n);continue;case`SCRIPT`:case`STYLE`:continue;case`LINK`:if(n.rel.toLowerCase()===`stylesheet`)continue}e.removeChild(n)}}function nf(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[wt])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=lf(e.nextSibling),e===null)break}return null}function rf(e,t,n){if(t===``)return null;for(;
vendor: 20,902 bytes, line 10
10e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!n||(e=lf(e.nextSibling),e===null))return null;return e}function af(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!t||(e=lf(e.nextSibling),e===null))return null;return e}function of(e){return e.data===`$?`||e.data===`$~`}function sf(e){return e.data===`$!`||e.data===`$?`&&e.ownerDocument.readyState!==`loading`}function cf(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 lf(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 uf=null;function df(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`/$`||n===`/&`){if(t===0)return lf(e.nextSibling);t--}else n!==`$`&&n!==`$!`&&n!==`$?`&&n!==`$~`&&n!==`&`||t++}e=e.nextSibling}return null}function ff(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 pf(e,t,n){switch(t=Vd(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 mf(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Tt(e)}var hf=new Map,gf=new Set;function _f(e){return typeof e.getRootNode==`function`?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var vf=E.d;E.d={f:yf,r:bf,D:Cf,C:wf,L:Tf,m:Ef,X:Of,S:Df,M:kf};function yf(){var e=vf.f(),t=xu();return e||t}function bf(e){var t=Dt(e);t!==null&&t.tag===5&&t.type===`form`?Os(t):vf.r(e)}var xf=typeof document>`u`?null:document;function Sf(e,t,n){var r=xf;if(r&&typeof t==`string`&&t){var i=Yt(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),gf.has(i)||(gf.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),Fd(t,`link`,e),At(t),r.head.appendChild(t)))}}function Cf(e){vf.D(e),Sf(`dns-prefetch`,e,null)}function wf(e,t){vf.C(e,t),Sf(`preconnect`,e,t)}function Tf(e,t,n){vf.L(e,t,n);var r=xf;if(r&&e&&t){var i=`link[rel="preload"][as="`+Yt(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+Yt(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+Yt(n.imageSizes)+`"]`)):i+=`[href="`+Yt(e)+`"]`;var a=i;switch(t){case`style`:a=jf(e);break;case`script`:a=Ff(e)}hf.has(a)||(e=f({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),hf.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(Mf(a))||t===`script`&&r.querySelector(If(a))||(t=r.createElement(`link`),Fd(t,`link`,e),At(t),r.head.appendChild(t)))}}function Ef(e,t){vf.m(e,t);var n=xf;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+Yt(r)+`"][href="`+Yt(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=Ff(e)}if(!hf.has(a)&&(e=f({rel:`modulepreload`,href:e},t),hf.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(If(a)))return}r=n.createElement(`link`),Fd(r,`link`,e),At(r),n.head.appendChild(r)}}}function Df(e,t,n){vf.S(e,t,n);var r=xf;if(r&&e){var i=kt(r).hoistableStyles,a=jf(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(Mf(a)))s.loading=5;else{e=f({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=hf.get(a))&&zf(e,n);var c=o=r.createElement(`link`);At(c),Fd(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,Rf(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function Of(e,t){vf.X(e,t);var n=xf;if(n&&e){var r=kt(n).hoistableScripts,i=Ff(e),a=r.get(i);a||(a=n.querySelector(If(i)),a||(e=f({src:e,async:!0},t),(t=hf.get(i))&&Bf(e,t),a=n.createElement(`script`),At(a),Fd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function kf(e,t){vf.M(e,t);var n=xf;if(n&&e){var r=kt(n).hoistableScripts,i=Ff(e),a=r.get(i);a||(a=n.querySelector(If(i)),a||(e=f({src:e,async:!0,type:`module`},t),(t=hf.get(i))&&Bf(e,t),a=n.createElement(`script`),At(a),Fd(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Af(e,t,n,r){var a=(a=he.current)?_f(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=jf(n.href),n=kt(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=jf(n.href);var o=kt(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(Mf(e)))&&!o._p&&(s.instance=o,s.state.loading=5),hf.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},hf.set(e,n),o||Pf(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=Ff(n),n=kt(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 jf(e){return`href="`+Yt(e)+`"`}function Mf(e){return`link[rel="stylesheet"][`+e+`]`}function Nf(e){return f({},e,{"data-precedence":e.precedence,precedence:null})}function Pf(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}),Fd(t,`link`,n),At(t),e.head.appendChild(t))}function Ff(e){return`[src="`+Yt(e)+`"]`}function If(e){return`script[async]`+e}function Lf(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+Yt(n.href)+`"]`);if(r)return t.instance=r,At(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`),At(r),Fd(r,`style`,a),Rf(r,n.precedence,e),t.instance=r;case`stylesheet`:a=jf(n.href);var o=e.querySelector(Mf(a));if(o)return t.state.loading|=4,t.instance=o,At(o),o;r=Nf(n),(a=hf.get(a))&&zf(r,a),o=(e.ownerDocument||e).createElement(`link`),At(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),Fd(o,`link`,r),t.state.loading|=4,Rf(o,n.precedence,e),t.instance=o;case`script`:return o=Ff(n.src),(a=e.querySelector(If(o)))?(t.instance=a,At(a),a):(r=n,(a=hf.get(o))&&(r=f({},n),Bf(r,a)),e=e.ownerDocument||e,a=e.createElement(`script`),At(a),Fd(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,Rf(r,n.precedence,e));return t.instance}function Rf(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 zf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.title??=t.title}function Bf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.integrity??=t.integrity}var Vf=null;function Hf(e,t,n){if(Vf===null){var r=new Map,i=Vf=new Map;i.set(n,r)}else i=Vf,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[wt]||a[_t]||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 Uf(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t===`title`?e.querySelector(`head > title`):null)}function Wf(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 Gf(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function Kf(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=jf(r.href),a=t.querySelector(Mf(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=Yf.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,At(a);return}a=t.ownerDocument||t,r=Nf(r),(i=hf.get(i))&&zf(r,i),a=a.createElement(`link`),At(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),Fd(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=Yf.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var qf=0;function Jf(e,t){return e.stylesheets&&e.count===0&&Zf(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&Zf(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4+t);0<e.imgBytes&&qf===0&&(qf=62500*Rd());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Zf(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>qf?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function Yf(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Zf(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Xf=null;function Zf(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Xf=new Map,t.forEach(Qf,e),Xf=null,Yf.call(e))}function Qf(e,t){if(!(t.state.loading&4)){var n=Xf.get(e);if(n)var r=n.get(null);else{n=new Map,Xf.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=Yf.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 $f={$$typeof:b,Provider:null,Consumer:null,_currentValue:D,_currentValue2:D,_threadCount:0};function ep(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=ot(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ot(0),this.hiddenUpdates=ot(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 tp(e,t,n,r,i,a,o,s,c,l,u,d){return e=new ep(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=ha(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},Ja(a),e}function np(e){return e?(e=hi,e):hi}function rp(e,t,n,r,i,a){i=np(i),r.context===null?r.context=i:r.pendingContext=i,r=Xa(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(r.callback=a),n=P(e,r,t),n!==null&&(gu(n,e,t),Za(n,e,t))}function ip(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function ap(e,t){ip(e,t),(e=e.alternate)&&ip(e,t)}function op(e){if(e.tag===13||e.tag===31){var t=fi(e,67108864);t!==null&&gu(t,e,67108864),ap(e,67108864)}}function sp(e){if(e.tag===13||e.tag===31){var t=mu();t=ft(t);var n=fi(e,t);n!==null&&gu(n,e,t),ap(e,t)}}var cp=!0;function lp(e,t,n,r){var i=w.T;w.T=null;var a=E.p;try{E.p=2,dp(e,t,n,r)}finally{E.p=a,w.T=i}}function up(e,t,n,r){var i=w.T;w.T=null;var a=E.p;try{E.p=8,dp(e,t,n,r)}finally{E.p=a,w.T=i}}function dp(e,t,n,r){if(cp){var i=fp(r);if(i===null)Td(e,t,r,pp,n),wp(e,r);else if(Ep(i,e,t,n,r))r.stopPropagation();else if(wp(e,r),t&4&&-1<Cp.indexOf(e)){for(;i!==null;){var a=Dt(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=tt(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var c=1<<31-Je(o);s.entanglements[1]|=c,o&=~c}id(a),!(K&6)&&(nu=Ie()+500,ad(0,!1))}}break;case 31:case 13:s=fi(a,2),s!==null&&gu(s,a,2),xu(),ap(a,2)}if(a=fp(r),a===null&&Td(e,t,r,pp,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else Td(e,t,r,null,n)}}function fp(e){return e=pn(e),mp(e)}var pp=null;function mp(e){if(pp=null,e=Et(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 pp=e,null}function hp(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(Le()){case Re:return 2;case ze:return 8;case Be:case Ve:return 32;case He:return 268435456;default:return 32}default:return 32}}var gp=!1,_p=null,vp=null,yp=null,bp=new Map,xp=new Map,Sp=[],Cp=`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 wp(e,t){switch(e){case`focusin`:case`focusout`:_p=null;break;case`dragenter`:case`dragleave`:vp=null;break;case`mouseover`:case`mouseout`:yp=null;break;case`pointerover`:case`pointerout`:bp.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:xp.delete(t.pointerId)}}function Tp(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=Dt(t),t!==null&&op(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Ep(e,t,n,r,i){switch(t){case`focusin`:return _p=Tp(_p,e,t,n,r,i),!0;case`dragenter`:return vp=Tp(vp,e,t,n,r,i),!0;case`mouseover`:return yp=Tp(yp,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return bp.set(a,Tp(bp.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,xp.set(a,Tp(xp.get(a)||null,e,t,n,r,i)),!0}return!1}function Dp(e){var t=Et(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,ht(e.priority,function(){sp(n)});return}}else if(t===31){if(t=c(n),t!==null){e.blockedOn=t,ht(e.priority,function(){sp(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 Op(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=fp(e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);fn=r,n.target.dispatchEvent(r),fn=null}else return t=Dt(n),t!==null&&op(t),e.blockedOn=n,!1;t.shift()}return!0}function kp(e,t,n){Op(e)&&n.delete(t)}function Ap(){gp=!1,_p!==null&&Op(_p)&&(_p=null),vp!==null&&Op(vp)&&(vp=null),yp!==null&&Op(yp)&&(yp=null),bp.forEach(kp),xp.forEach(kp)}function jp(e,n){e.blockedOn===n&&(e.blockedOn=null,gp||(gp=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Ap)))}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(mp(r||n)===null)continue;break}var a=Dt(n);a!==null&&(e.splice(t,3),t-=3,Es(a,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function Pp(e){function t(t){return jp(t,e)}_p!==null&&jp(_p,e),vp!==null&&jp(vp,e),yp!==null&&jp(yp,e),bp.forEach(t),xp.forEach(t);for(var n=0;n<Sp.length;n++){var r=Sp[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Sp.length&&(n=Sp[0],n.blockedOn===null);)Dp(n),n.blockedOn===null&&Sp.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[vt]||null;if(typeof a==`function`)o||Np(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[vt]||null)s=o.formAction;else if(mp(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;rp(n,mu(),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;rp(e.current,2,null,e,null,null),xu(),t[yt]=null}};function Lp(e){this._internalRoot=e}Lp.prototype.unstable_scheduleHydration=function(e){if(e){var t=mt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Sp.length&&t!==0&&t<Sp[n].priority;n++);Sp.splice(n,0,e),n===0&&Dp(e)}};var Rp=n.version;if(Rp!==`19.2.5`)throw Error(i(527,Rp,`19.2.5`));E.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 zp={bundleType:0,version:`19.2.5`,rendererPackageName:`react-dom`,currentDispatcherRef:w,reconcilerVersion:`19.2.5`};
10if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var Bp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Bp.isDisabled&&Bp.supportsFiber)try{Ge=Bp.inject(zp),Ke=Bp}catch{}}e.hydrateRoot=function(e,t,n){if(!a(e))throw Error(i(299));var r=!1,o=``,s=Ys,c=Xs,l=Zs,u=null;return n!=null&&(!0===n.unstable_strictMode&&(r=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onUncaughtError!==void 0&&(s=n.onUncaughtError),n.onCaughtError!==void 0&&(c=n.onCaughtError),n.onRecoverableError!==void 0&&(l=n.onRecoverableError),n.formState!==void 0&&(u=n.formState)),t=tp(e,1,!0,t,n??null,r,o,u,s,c,l,Fp),t.context=np(null),n=t.current,r=mu(),r=ft(r),o=Xa(r),o.callback=null,P(n,o,r),n=r,t.current.lanes=n,st(t,n),id(t),e[yt]=t.current,Cd(e),new Lp(t)}})),Pe=de(((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=Ne()})),Fe=`__TSS_CONTEXT`,Ie=Symbol.for(`TSS_SERVER_FUNCTION`),Le=`application/x-tss-framed`,Re={JSON:0,CHUNK:1,END:2,ERROR:3};`${Le}`;var ze=/;\s*v=(\d+)/;function Be(e){let t=e.match(ze);return t?parseInt(t[1],10):void 0}function Ve(e){let t=Be(e);if(t!==void 0&&t!==1)throw Error(`Incompatible framed protocol version: server=${t}, client=1. Please ensure client and server are using compatible versions.`)}var He=()=>window.__TSS_START_OPTIONS__;function Ue(e={}){if(e.isNotFound=!0,e.throw)throw e;return e}function We(e){return e?.isNotFound===!0}function Ge(e,t=String){let n=new URLSearchParams;for(let r in e){let i=e[r];i!==void 0&&n.set(r,t(i))}return n.toString()}function Ke(e){return e?e===`false`?!1:e===`true`?!0:e*0==0&&+e+``===e?+e:e:``}function qe(e){let t=new URLSearchParams(e),n=Object.create(null);for(let[e,r]of t.entries()){let t=n[e];t==null?n[e]=Ke(r):Array.isArray(t)?t.push(Ke(r)):n[e]=[t,Ke(r)]}return n}var Je=Xe(JSON.parse),Ye=Ze(JSON.stringify,JSON.parse);function Xe(e){return t=>{t[0]===`?`&&(t=t.substring(1));let n=qe(t);for(let t in n){let r=n[t];if(typeof r==`string`)try{n[t]=e(r)}catch{}}return n}}function Ze(e,t){let n=typeof t==`function`;function r(r){if(typeof r==`object`&&r)try{return e(r)}catch{}else if(n&&typeof r==`string`)try{return t(r),e(r)}catch{}return r}return e=>{let t=Ge(e,r);return t?`?${t}`:``}}var Qe=`__root__`;function $e(e){if(e.statusCode=e.statusCode||e.code||307,!e._builtLocation&&!e.reloadDocument&&typeof e.href==`string`)try{new URL(e.href),e.reloadDocument=!0}catch{}let t=new Headers(e.headers);e.href&&t.get(`Location`)===null&&t.set(`Location`,e.href);let n=new Response(null,{status:e.statusCode,headers:t});if(n.options=e,e.throw)throw n;return n}function et(e){return e instanceof Response&&!!e.options}function tt(e){if(typeof e==`object`&&e&&e.isSerializedRedirect)return $e(e)}var nt=e=>{if(!e.rendered)return e.rendered=!0,e.onReady?.()},rt=e=>e.stores.matchesId.get().some(t=>e.stores.matchStores.get(t)?.get()._forcePending),it=(e,t)=>!!(e.preload&&!e.router.stores.matchStores.has(t)),at=(e,t,n=!0)=>{let r={...e.router.options.context??{}},i=n?t:t-1;for(let t=0;t<=i;t++){let n=e.matches[t];if(!n)continue;let i=e.router.getMatch(n.id);
10i&&Object.assign(r,i.__routeContext,i.__beforeLoadContext)}return r},ot=(e,t)=>{if(!e.matches.length)return;let n=t.routeId,r=e.matches.findIndex(t=>t.routeId===e.router.routeTree.id),i=r>=0?r:0,a=n?e.matches.findIndex(e=>e.routeId===n):e.firstBadMatchIndex??e.matches.length-1;a<0&&(a=i);for(let t=a;t>=0;t--){let n=e.matches[t];if(e.router.looseRoutesById[n.routeId].options.notFoundComponent)return t}return n?a:i},st=(e,t,n)=>{if(!(!et(n)&&!We(n)))throw et(n)&&n.redirectHandled&&!n.options.reloadDocument?n:(t&&(t._nonReactive.beforeLoadPromise?.resolve(),t._nonReactive.loaderPromise?.resolve(),t._nonReactive.beforeLoadPromise=void 0,t._nonReactive.loaderPromise=void 0,t._nonReactive.error=n,e.updateMatch(t.id,r=>({...r,status:et(n)?`redirected`:We(n)?`notFound`:r.status===`pending`?`success`:r.status,context:at(e,t.index),isFetching:!1,error:n})),We(n)&&!n.routeId&&(n.routeId=t.routeId),t._nonReactive.loadPromise?.resolve()),et(n)&&(e.rendered=!0,n.options._fromLocation=e.location,n.redirectHandled=!0,n=e.router.resolveRedirect(n)),n)},ct=(e,t)=>{let n=e.router.getMatch(t);return!!(!n||n._nonReactive.dehydrated)},lt=(e,t,n)=>{let r=at(e,n);e.updateMatch(t,e=>({...e,context:r}))},ut=(e,t,n)=>{let{id:r,routeId:i}=e.matches[t],a=e.router.looseRoutesById[i];if(n instanceof Promise)throw n;e.firstBadMatchIndex??=t,st(e,e.router.getMatch(r),n);try{a.options.onError?.(n)}catch(t){n=t,st(e,e.router.getMatch(r),n)}e.updateMatch(r,e=>(e._nonReactive.beforeLoadPromise?.resolve(),e._nonReactive.beforeLoadPromise=void 0,e._nonReactive.loadPromise?.resolve(),{...e,error:n,status:`error`,isFetching:!1,updatedAt:Date.now(),abortController:new AbortController})),!e.preload&&!et(n)&&!We(n)&&(e.serialError??=n)},dt=(e,t,n,r)=>{if(r._nonReactive.pendingTimeout!==void 0)return;let i=n.options.pendingMs??e.router.options.defaultPendingMs;if(e.onReady&&!it(e,t)&&(n.options.loader||n.options.beforeLoad||St(n))&&typeof i==`number`&&i!==1/0&&(n.options.pendingComponent??e.router.options?.defaultPendingComponent)){let t=setTimeout(()=>{nt(e)},i);r._nonReactive.pendingTimeout=t}},ft=(e,t,n)=>{let r=e.router.getMatch(t);if(!r._nonReactive.beforeLoadPromise&&!r._nonReactive.loaderPromise)return;dt(e,t,n,r);let i=()=>{let n=e.router.getMatch(t);n.preload&&(n.status===`redirected`||n.status===`notFound`)&&st(e,n,n.error)};return r._nonReactive.beforeLoadPromise?r._nonReactive.beforeLoadPromise.then(i):i()},pt=(e,t,n,r)=>{let i=e.router.getMatch(t),a=i._nonReactive.loadPromise;i._nonReactive.loadPromise=x(()=>{a?.resolve(),a=void 0});let{paramsError:o,searchError:s}=i;o&&ut(e,n,o),s&&ut(e,n,s),dt(e,t,r,i);let c=new AbortController,l=!1,u=()=>{l||(l=!0,e.updateMatch(t,e=>({...e,isFetching:`beforeLoad`,fetchCount:e.fetchCount+1,abortController:c})))},d=()=>{i._nonReactive.beforeLoadPromise?.resolve(),i._nonReactive.beforeLoadPromise=void 0,e.updateMatch(t,e=>({...e,isFetching:!1}))};if(!r.options.beforeLoad){e.router.batch(()=>{u(),d()});return}i._nonReactive.beforeLoadPromise=x();let f={...at(e,n,!1),...i.__routeContext},{search:p,params:m,cause:h}=i,g=it(e,t),v={search:p,abortController:c,params:m,preload:g,context:f,location:e.location,navigate:t=>e.router.navigate({...t,_fromLocation:e.location}),buildLocation:e.router.buildLocation,cause:g?`preload`:h,matches:e.matches,routeId:r.id,...e.router.options.additionalContext},y=r=>{if(r===void 0){e.router.batch(()=>{u(),d()});return}(et(r)||We(r))&&(u(),ut(e,n,r)),e.router.batch(()=>{u(),e.updateMatch(t,e=>({...e,__beforeLoadContext:r})),d()})},b;try{if(b=r.options.beforeLoad(v),_(b))return u(),b.catch(t=>{ut(e,n,t)}).then(y)}catch(t){u(),ut(e,n,t)}y(b)},mt=(e,t)=>{let{id:n,routeId:r}=e.matches[t],i=e.router.looseRoutesById[r],a=()=>s(),o=()=>pt(e,n,t,i),s=()=>{if(ct(e,n))return;let t=ft(e,n,i);return _(t)?t.then(o):o()};return a()},ht=(e,t,n)=>{let r=e.router.getMatch(t);if(!r||!n.options.head&&!n.options.scripts&&!n.options.headers)return;let i={ssr:e.router.options.ssr,matches:e.matches,match:r,params:r.params,loaderData:r.loaderData};return Promise.all([n.options.head?.(i),n.options.scripts?.(i),n.options.headers?.(i)]).then(([e,t,n])=>({meta:e?.meta,links:e?.links,headScripts:e?.scripts,headers:n,scripts:t,styles:e?.styles}))},gt=(e,t,n,r,i)=>{let a=t[r-1],{params:o,loaderDeps:s,abortController:c,cause:l}=e.router.getMatch(n),u=at(e,r),d=it(e,n);return{params:o,deps:s,preload:!!d,parentMatchPromise:a,abortController:c,context:u,location:e.location,navigate:t=>e.router.navigate({...t,_fromLocation:e.location}),cause:d?`preload`:l,route:i,...e.router.options.additionalContext}},_t=async(e,t,n,r,i)=>{try{let a=e.router.getMatch(n);try{xt(i);let o=i.options.loader,s=typeof o==`function`?o:o?.handler,c=s?.(gt(e,t,n,r,i)),l=!!s&&_(c);if((l||i._lazyPromise||i._componentsPromise||i.options.head||i.options.scripts||i.options.headers||a._nonReactive.minPendingPromise)&&e.updateMatch(n,e=>({...e,isFetching:`loader`})),s){let t=l?await c:c;st(e,e.router.getMatch(n),t),t!==void 0&&e.updateMatch(n,e=>({...e,loaderData:t}))}i._lazyPromise&&await i._lazyPromise;let u=a._nonReactive.minPendingPromise;u&&await u,i._componentsPromise&&await i._componentsPromise,e.updateMatch(n,t=>({...t,error:void 0,context:at(e,r),status:`success`,isFetching:!1,updatedAt:Date.now()}))}catch(t){let o=t;if(o?.name===`AbortError`){if(a.abortController.signal.aborted){a._nonReactive.loaderPromise?.resolve(),a._nonReactive.loaderPromise=void 0;return}e.updateMatch(n,t=>
10({...t,status:t.status===`pending`?`success`:t.status,isFetching:!1,context:at(e,r)}));return}let s=a._nonReactive.minPendingPromise;s&&await s,We(t)&&await i.options.notFoundComponent?.preload?.(),st(e,e.router.getMatch(n),t);try{i.options.onError?.(t)}catch(t){o=t,st(e,e.router.getMatch(n),t)}!et(o)&&!We(o)&&await xt(i,[`errorComponent`]),e.updateMatch(n,t=>({...t,error:o,context:at(e,r),status:`error`,isFetching:!1}))}}catch(t){let r=e.router.getMatch(n);r&&(r._nonReactive.loaderPromise=void 0),st(e,r,t)}},vt=async(e,t,n)=>{async function r(r,a,c,l,d){let f=Date.now()-a.updatedAt,p=r?d.options.preloadStaleTime??e.router.options.defaultPreloadStaleTime??3e4:d.options.staleTime??e.router.options.defaultStaleTime??0,m=d.options.shouldReload,h=typeof m==`function`?m(gt(e,t,i,n,d)):m,{status:g,invalid:_}=l,v=f>=p&&(!!e.forceStaleReload||l.cause===`enter`||c!==void 0&&c!==l.id);o=g===`success`&&(_||(h??v)),r&&d.options.preload===!1||(o&&!e.sync&&u?(s=!0,(async()=>{try{await _t(e,t,i,n,d);let r=e.router.getMatch(i);r._nonReactive.loaderPromise?.resolve(),r._nonReactive.loadPromise?.resolve(),r._nonReactive.loaderPromise=void 0,r._nonReactive.loadPromise=void 0}catch(t){et(t)&&await e.router.navigate(t.options)}})()):g!==`success`||o?await _t(e,t,i,n,d):lt(e,i,n))}let{id:i,routeId:a}=e.matches[n],o=!1,s=!1,c=e.router.looseRoutesById[a],l=c.options.loader,u=((typeof l==`function`?void 0:l?.staleReloadMode)??e.router.options.defaultStaleReloadMode)!==`blocking`;if(ct(e,i)){if(!e.router.getMatch(i))return e.matches[n];lt(e,i,n)}else{let t=e.router.getMatch(i),o=e.router.stores.matchesId.get()[n],s=(o&&e.router.stores.matchStores.get(o)||null)?.routeId===a?o:e.router.stores.matches.get().find(e=>e.routeId===a)?.id,l=it(e,i);if(t._nonReactive.loaderPromise){if(t.status===`success`&&!e.sync&&!t.preload&&u)return t;await t._nonReactive.loaderPromise;let n=e.router.getMatch(i),a=n._nonReactive.error||n.error;a&&st(e,n,a),n.status===`pending`&&await r(l,t,s,n,c)}else{let n=l&&!e.router.stores.matchStores.has(i),a=e.router.getMatch(i);a._nonReactive.loaderPromise=x(),n!==a.preload&&e.updateMatch(i,e=>({...e,preload:n})),await r(l,t,s,a,c)}}let d=e.router.getMatch(i);s||(d._nonReactive.loaderPromise?.resolve(),d._nonReactive.loadPromise?.resolve(),d._nonReactive.loadPromise=void 0),clearTimeout(d._nonReactive.pendingTimeout),d._nonReactive.pendingTimeout=void 0,s||(d._nonReactive.loaderPromise=void 0),d._nonReactive.dehydrated=void 0;let f=s?d.isFetching:!1;return f!==d.isFetching||d.invalid!==!1?(e.updateMatch(i,e=>({...e,isFetching:f,invalid:!1})),e.router.getMatch(i)):d};async function yt(e){let t=e,r=[];rt(t.router)&&nt(t);let i;for(let e=0;e<t.matches.length;e++){try{let n=mt(t,e);_(n)&&await n}catch(e){if(et(e))throw e;if(We(e))i=e;else if(!t.preload)throw e;break}if(t.serialError||t.firstBadMatchIndex!=null)break}let a=t.firstBadMatchIndex??t.matches.length,o=i&&!t.preload?ot(t,i):void 0,s=i&&t.preload?0:o===void 0?a:Math.min(o+1,a),c,l;for(let e=0;e<s;e++)r.push(vt(t,r,e));try{await Promise.all(r)}catch{let e=await Promise.allSettled(r);for(let t of e){if(t.status!==`rejected`)continue;let e=t.reason;if(et(e))throw e;We(e)?c??=e:l??=e}if(l!==void 0)throw l}let u=c??(i&&!t.preload?i:void 0),d=t.firstBadMatchIndex===void 0?t.matches.length-1:t.firstBadMatchIndex;if(!u&&i&&t.preload)return t.matches;if(u){let e=ot(t,u);e===void 0&&n();let r=t.matches[e],i=t.router.looseRoutesById[r.routeId],a=t.router.options?.defaultNotFoundComponent;!i.options.notFoundComponent&&a&&(i.options.notFoundComponent=a),u.routeId=r.routeId;let o=r.routeId===t.router.routeTree.id;t.updateMatch(r.id,e=>({...e,...o?{status:`success`,globalNotFound:!0,error:void 0}:{status:`notFound`,error:u},isFetching:!1})),d=e,await xt(i,[`notFoundComponent`])}else if(!t.preload){let e=t.matches[0];e.globalNotFound||t.router.getMatch(e.id)?.globalNotFound&&t.updateMatch(e.id,e=>({...e,globalNotFound:!1,error:void 0}))}if(t.serialError&&t.firstBadMatchIndex!==void 0){let e=t.router.looseRoutesById[t.matches[t.firstBadMatchIndex].routeId];await xt(e,[`errorComponent`])}for(let e=0;e<=d;e++){let{id:n,routeId:r}=t.matches[e],i=t.router.looseRoutesById[r];
10try{let e=ht(t,n,i);if(e){let r=await e;t.updateMatch(n,e=>({...e,...r}))}}catch(e){console.error(`Error executing head for route ${r}:`,e)}}let f=nt(t);if(_(f)&&await f,u)throw u;if(t.serialError&&!t.preload&&!t.onReady)throw t.serialError;return t.matches}function bt(e,t){let n=t.map(t=>e.options[t]?.preload?.()).filter(Boolean);if(n.length!==0)return Promise.all(n)}function xt(e,t=Ct){!e._lazyLoaded&&e._lazyPromise===void 0&&(e.lazyFn?e._lazyPromise=e.lazyFn().then(t=>{let{id:n,...r}=t.options;Object.assign(e.options,r),e._lazyLoaded=!0,e._lazyPromise=void 0}):e._lazyLoaded=!0);let n=()=>e._componentsLoaded?void 0:t===Ct?(()=>{if(e._componentsPromise===void 0){let t=bt(e,Ct);t?e._componentsPromise=t.then(()=>{e._componentsLoaded=!0,e._componentsPromise=void 0}):e._componentsLoaded=!0}return e._componentsPromise})():bt(e,t);return e._lazyPromise?e._lazyPromise.then(n):n()}function St(e){for(let t of Ct)if(e.options[t]?.preload)return!0;return!1}var Ct=[`component`,`errorComponent`,`pendingComponent`,`notFoundComponent`];function wt(e){return{input:({url:t})=>{for(let n of e)t=Et(n,t);return t},output:({url:t})=>{for(let n=e.length-1;n>=0;n--)t=Dt(e[n],t);return t}}}function Tt(e){let n=t(e.basepath),r=`/${n}`,i=e.caseSensitive?r:r.toLowerCase(),a=`${i}/`;return{input:({url:t})=>{let n=e.caseSensitive?t.pathname:t.pathname.toLowerCase();return n===i?t.pathname=`/`:n.startsWith(a)&&(t.pathname=t.pathname.slice(r.length)),t},output:({url:e})=>(e.pathname=h([`/`,n,e.pathname]),e)}}function Et(e,t){let n=e?.input?.({url:t});if(n){if(typeof n==`string`)return new URL(n);if(n instanceof URL)return n}return t}function Dt(e,t){let n=e?.output?.({url:t});if(n){if(typeof n==`string`)return new URL(n);if(n instanceof URL)return n}return t}function Ot(e,t){let{createMutableStore:n,createReadonlyStore:r,batch:i,init:a}=t,o=new Map,s=new Map,c=new Map,l=n(e.status),u=n(e.loadedAt),d=n(e.isLoading),f=n(e.isTransitioning),p=n(e.location),m=n(e.resolvedLocation),h=n(e.statusCode),g=n(e.redirect),_=n([]),v=n([]),y=n([]),b=r(()=>kt(o,_.get())),x=r(()=>kt(s,v.get())),ee=r(()=>kt(c,y.get())),S=r(()=>_.get()[0]),te=r(()=>_.get().some(e=>o.get(e)?.get().status===`pending`)),ne=r(()=>({locationHref:p.get().href,resolvedLocationHref:m.get()?.href,status:l.get()})),re=r(()=>({status:l.get(),loadedAt:u.get(),isLoading:d.get(),isTransitioning:f.get(),matches:b.get(),location:p.get(),resolvedLocation:m.get(),statusCode:h.get(),redirect:g.get()})),C=Ae(64);function ie(e){let t=C.get(e);return t||(t=r(()=>{let t=_.get();for(let n of t){let t=o.get(n);if(t&&t.routeId===e)return t.get()}}),C.set(e,t)),t}let ae={status:l,loadedAt:u,isLoading:d,isTransitioning:f,location:p,resolvedLocation:m,statusCode:h,redirect:g,matchesId:_,pendingIds:v,cachedIds:y,matches:b,pendingMatches:x,cachedMatches:ee,firstId:S,hasPending:te,matchRouteDeps:ne,matchStores:o,pendingMatchStores:s,cachedMatchStores:c,__store:re,getRouteMatchStore:ie,setMatches:oe,setPending:se,setCached:ce};oe(e.matches),a?.(ae);function oe(e){At(e,o,_,n,i)}function se(e){At(e,s,v,n,i)}function ce(e){At(e,c,y,n,i)}return ae}function kt(e,t){let n=[];for(let r of t){let t=e.get(r);t&&n.push(t.get())}return n}function At(e,t,n,r,i){let a=e.map(e=>e.id),o=new Set(a);i(()=>{for(let e of t.keys())o.has(e)||t.delete(e);for(let n of e){let e=t.get(n.id);if(!e){let e=r(n);e.routeId=n.routeId,t.set(n.id,e);continue}e.routeId=n.routeId,e.get()!==n&&e.set(n)}c(n.get(),a)||n.set(a)})}var jt=`__TSR_index`,Mt=`popstate`,Nt=`beforeunload`;function Pt(e){let t=e.getLocation(),n=new Set,r=r=>{t=e.getLocation(),n.forEach(e=>e({location:t,action:r}))},i=n=>{e.notifyOnIndexChange??!0?r(n):t=e.getLocation()},a=async({task:n,navigateOpts:r,...i})=>{if(r?.ignoreBlocker??!1){n();return}let a=e.getBlockers?.()??[],o=i.type===`PUSH`||i.type===`REPLACE`;if(typeof document<`u`&&a.length&&o)for(let n of a){let r=Rt(i.path,i.state);if(await n.blockerFn({currentLocation:t,nextLocation:r,action:i.type})){e.onBlocked?.();return}}n()};return{get location(){return t},get length(){return e.getLength()},subscribers:n,subscribe:e=>(n.add(e),()=>{n.delete(e)}),push:(n,i,o)=>{let s=t.state[jt];i=Ft(s+1,i),a({task:()=>{e.pushState(n,i),r({type:`PUSH`})},navigateOpts:o,type:`PUSH`,path:n,state:i})},replace:(n,i,o)=>{let s=t.state[jt];i=Ft(s,i),a({task:()=>{e.replaceState(n,i),r({type:`REPLACE`})},navigateOpts:o,type:`REPLACE`,path:n,state:i})},go:(t,n)=>{a({task:()=>{e.go(t),i({type:`GO`,index:t})},navigateOpts:n,type:`GO`})},back:t=>{a({task:()=>{e.back(t?.ignoreBlocker??!1),i({type:`BACK`})},navigateOpts:t,type:`BACK`})},forward:t=>{a({task:()=>{e.forward(t?.ignoreBlocker??!1),i({type:`FORWARD`})},navigateOpts:t,type:`FORWARD`})},canGoBack:()=>t.state[jt]!==0,createHref:t=>e.createHref(t),block:t=>{if(!e.setBlockers)return()=>{};let n=e.getBlockers?.()??[];return e.setBlockers([...n,t]),()=>{let n=e.getBlockers?.()??[];e.setBlockers?.(n.filter(e=>e!==t))}},flush:()=>e.flush?.(),destroy:()=>e.destroy?.(),notify:r}}function Ft(e,t){t||={};let n=zt();return{...t,key:n,__TSR_key:n,[jt]:e}}function It(e){let t=e?.window??(typeof document<`u`?window:void 0),n=t.history.pushState,r=t.history.replaceState,i=[],a=()=>i,o=e=>i=e,s=e?.createHref??(e=>e),c=e?.parseLocation??(()=>Rt(`${t.location.pathname}${t.location.search}${t.location.hash}`,t.history.state));if(!t.history.state?.__TSR_key&&!t.history.state?.key){let e=zt();t.history.replaceState({[jt]:0,key:e,__TSR_key:e},``)}let l=c(),u,d=!1,f=!1,p=!1,m=!1,h=()=>l,g,_,v=()=>{g&&(S._ignoreSubscribers=!0,(g.isPush?t.history.pushState:t.history.replaceState)(g.state,``,g.href),S._ignoreSubscribers=!1,g=void 0,_=void 0,u=void 0)},y=(e,t,n)=>{let r=s(t);_||(u=l),l=Rt(t,n),g={href:r,state:n,isPush:g?.isPush||e===`push`},_||=Promise.resolve().then(()=>v())},b=e=>{l=c(),S.notify({type:e})},x=async()=>
10{if(f){f=!1;return}let e=c(),n=e.state[jt]-l.state[jt],r=n===1,i=n===-1,o=!r&&!i||d;d=!1;let s=o?`GO`:i?`BACK`:`FORWARD`,u=o?{type:`GO`,index:n}:{type:i?`BACK`:`FORWARD`};if(p)p=!1;else{let n=a();if(typeof document<`u`&&n.length){for(let r of n)if(await r.blockerFn({currentLocation:l,nextLocation:e,action:s})){f=!0,t.history.go(1),S.notify(u);return}}}l=c(),S.notify(u)},ee=e=>{if(m){m=!1;return}let t=!1,n=a();if(typeof document<`u`&&n.length)for(let e of n){let n=e.enableBeforeUnload??!0;if(n===!0){t=!0;break}if(typeof n==`function`&&n()===!0){t=!0;break}}if(t)return e.preventDefault(),e.returnValue=``},S=Pt({getLocation:h,getLength:()=>t.history.length,pushState:(e,t)=>y(`push`,e,t),replaceState:(e,t)=>y(`replace`,e,t),back:e=>(e&&(p=!0),m=!0,t.history.back()),forward:e=>{e&&(p=!0),m=!0,t.history.forward()},go:e=>{d=!0,t.history.go(e)},createHref:e=>s(e),flush:v,destroy:()=>{t.history.pushState=n,t.history.replaceState=r,t.removeEventListener(Nt,ee,{capture:!0}),t.removeEventListener(Mt,x)},onBlocked:()=>{u&&l!==u&&(l=u)},getBlockers:a,setBlockers:o,notifyOnIndexChange:!1});return t.addEventListener(Nt,ee,{capture:!0}),t.addEventListener(Mt,x),t.history.pushState=function(...e){let r=n.apply(t.history,e);return S._ignoreSubscribers||b(`PUSH`),r},t.history.replaceState=function(...e){let n=r.apply(t.history,e);return S._ignoreSubscribers||b(`REPLACE`),n},S}function Lt(e){let t=e.replace(/[\x00-\x1f\x7f]/g,``);return t.startsWith(`//`)&&(t=`/`+t.replace(/^\/+/,``)),t}function Rt(e,t){let n=Lt(e),r=n.indexOf(`#`),i=n.indexOf(`?`),a=zt();return{href:n,pathname:n.substring(0,r>0?i>0?Math.min(r,i):r:i>0?i:n.length),hash:r>-1?n.substring(r):``,search:i>-1?n.slice(i,r===-1?void 0:r):``,state:t||{[jt]:0,key:a,__TSR_key:a}}}function zt(){return(Math.random()+1).toString(36).substring(7)}function Bt(e){return e instanceof Error?{name:e.name,message:e.message}:{data:e}}function Vt(e,t){let n=t,r=e;return{fromLocation:n,toLocation:r,pathChanged:n?.pathname!==r.pathname,hrefChanged:n?.href!==r.href,hashChanged:n?.hash!==r.hash}}var Ht=new WeakMap,Ut=class{constructor(e,n){this.tempLocationKey=`${Math.round(Math.random()*1e7)}`,this._scroll={next:!0},this.shouldViewTransition=void 0,this.isViewTransitionTypesSupported=void 0,this.subscribers=new Set,this.routeBranchCache=new WeakMap,this.startTransition=e=>e(),this.update=e=>{let n=this.options,r=this.basepath??n?.basepath??`/`,i=this.basepath===void 0,o=n?.rewrite;if(this.options={...n,...e},this.isServer=this.options.isServer??typeof document>`u`,this.protocolAllowlist=new Set(this.options.protocolAllowlist),this.options.pathParamsAllowedCharacters&&(this.pathParamsDecoder=a(this.options.pathParamsAllowedCharacters)),(!this.history||this.options.history&&this.options.history!==this.history)&&(this.options.history?this.history=this.options.history:this.history=It()),this.origin=this.options.origin,this.origin||(window?.origin&&window.origin!==`null`?this.origin=window.origin:this.origin=`http://localhost`),this.history&&this.updateLatestLocation(),this.options.routeTree!==this.routeTree){this.routeTree=this.options.routeTree;let e;this.resolvePathCache=Ae(1e3),e=this.buildRouteTree(),this.setRoutes(e)}if(!this.stores&&this.latestLocation){let e=this.getStoreConfig(this);this.batch=e.batch,this.stores=Ot(Kt(this.latestLocation),e),pn(this)}let s=!1,c=this.options.basepath??`/`,l=this.options.rewrite;if(i||r!==c||o!==l){this.basepath=c;let e=[],n=t(c);n&&n!==`/`&&e.push(Tt({basepath:c})),l&&e.push(l),this.rewrite=e.length===0?void 0:e.length===1?e[0]:wt(e),this.history&&this.updateLatestLocation(),s=!0}s&&this.stores&&this.stores.location.set(this.latestLocation),typeof window<`u`&&`CSS`in window&&typeof window.CSS?.supports==`function`&&(this.isViewTransitionTypesSupported=window.CSS.supports(`selector(:active-view-transition-type(a))`))},this.updateLatestLocation=()=>{this.latestLocation=this.parseLocation(this.history.location,this.latestLocation)},this.buildRouteTree=()=>{let e=v(this.routeTree,this.options.caseSensitive,(e,t)=>{e.init({originalIndex:t})});return this.options.routeMasks&&f(this.options.routeMasks,e.processedTree),e},this.subscribe=(e,t)=>
10{let n={eventType:e,fn:t};return this.subscribers.add(n),()=>{this.subscribers.delete(n)}},this.emit=e=>{this.subscribers.forEach(t=>{t.eventType===e.type&&t.fn(e)})},this.parseLocation=(e,t)=>{let n=({pathname:e,search:n,hash:r,href:i,state:a})=>{if(!this.rewrite&&!/[ \x00-\x1f\x7f\u0080-\uffff]/.test(e)){let i=this.options.parseSearch(n),o=this.options.stringifySearch(i);return{href:e+o+r,publicHref:e+o+r,pathname:S(e).path,external:!1,searchStr:o,search:w(t?.search,i),hash:S(r.slice(1)).path,state:we(t?.state,a)}}let o=new URL(i,this.origin),s=Et(this.rewrite,o),c=this.options.parseSearch(s.search),l=this.options.stringifySearch(c);return s.search=l,{href:s.href.replace(s.origin,``),publicHref:i,pathname:S(s.pathname).path,external:!!this.rewrite&&s.origin!==this.origin,searchStr:l,search:w(t?.search,c),hash:S(s.hash.slice(1)).path,state:we(t?.state,a)}},r=n(e),{__tempLocation:i,__tempKey:a}=r.state;if(i&&(!a||a===this.tempLocationKey)){let e=n(i);return e.state.key=r.state.key,e.state.__TSR_key=r.state.__TSR_key,delete e.state.__tempLocation,{...e,maskedLocation:r}}return r},this.resolvePathWithBase=(e,t)=>O({base:e,to:t.includes(`//`)?b(t):t,trailingSlash:this.options.trailingSlash,cache:this.resolvePathCache}),this.matchRoutes=(e,t,n)=>typeof e==`string`?this.matchRoutesInternal({pathname:e,search:t},n):this.matchRoutesInternal(e,t),this.getMatchedRoutes=e=>Jt({pathname:e,routesById:this.routesById,processedTree:this.processedTree}),this.cancelMatch=e=>{let t=this.getMatch(e);t&&(t.abortController.abort(),clearTimeout(t._nonReactive.pendingTimeout),t._nonReactive.pendingTimeout=void 0)},this.cancelMatches=()=>{this.stores.pendingIds.get().forEach(e=>{this.cancelMatch(e)}),this.stores.matchesId.get().forEach(e=>{if(this.stores.pendingMatchStores.has(e))return;let t=this.stores.matchStores.get(e)?.get();t&&(t.status===`pending`||t.isFetching===`loader`)&&this.cancelMatch(e)})},this.buildLocation=e=>{let t=(t={})=>{let n=t._fromLocation||this.pendingBuiltLocation||this.latestLocation,r=this.matchRoutesLightweight(n);t.from;let a=t.unsafeRelative===`path`?n.pathname:t.from??r.fullPath,o=t.to?`${t.to}`:void 0,s=r.search,c=Object.assign(Object.create(null),r.params),l=o?.charCodeAt(0)===47?`/`:this.resolvePathWithBase(a,`.`),f=o?this.resolvePathWithBase(l,o):l,m=t.params===!1||t.params===null?Object.create(null):(t.params??!0)===!0?c:Object.assign(c,u(t.params,c)),h=this.routesByPath[p(f)],g;if(h)g=this.getRouteBranch(h);else if(f.includes(`$`))g=[];else{let e=this.getMatchedRoutes(f);g=e.matchedRoutes,this.options.notFoundRoute&&(!e.foundRoute||e.foundRoute.path!==`/`&&e.routeParams[`**`])&&(g=[...g,this.options.notFoundRoute])}if(g.length&&ne(m))for(let e of g){let t=e.options.params?.stringify??e.options.stringifyParams;if(t)try{Object.assign(m,t(m))}catch{}}let _=e.leaveParams?f:S(i({path:f,params:m,decoder:this.pathParamsDecoder,server:this.isServer}).interpolatedPath).path,v=s;if(e._includeValidateSearch&&this.options.search?.strict){let e={};g.forEach(t=>{if(t.options.validateSearch)try{Object.assign(e,qt(t.options.validateSearch,{...e,...v}))}catch{}}),v=e}v=Yt({search:v,dest:t,destRoutes:g,_includeValidateSearch:e._includeValidateSearch}),v=w(s,v);let y=this.options.stringifySearch(v),b=t.hash===!0?n.hash:t.hash?u(t.hash,n.hash):void 0,x=b?`#${b}`:``,ee=t.state===!0?n.state:t.state?u(t.state,n.state):{};ee=we(n.state,ee);let te=`${_}${y}${x}`,re,C,ie=!1;if(this.rewrite){let e=new URL(te,this.origin),t=Dt(this.rewrite,e);re=e.href.replace(e.origin,``),t.origin===this.origin?C=t.pathname+t.search+t.hash:(C=t.href,ie=!0)}else re=d(te),C=re;return{publicHref:C,href:re,pathname:_,search:v,searchStr:y,state:ee,hash:b??``,external:ie,unmaskOnReload:t.unmaskOnReload}},n=(n={},r)=>{let i=t(n),a=r?t(r):void 0;if(!a){let n=Object.create(null);if(this.options.routeMasks){let o=g(i.pathname,this.processedTree);if(o){Object.assign(n,o.rawParams);let{from:i,params:s,...c}=o.route,l=s===!1||s===null?Object.create(null):(s??!0)===!0?n:Object.assign(n,u(s,n));r={from:e.from,...c,params:l},a=t(r)}}}return a&&(i.maskedLocation=a),i};return e.mask?n(e,{from:e.from,...e.mask}):n(e)},this.commitLocation=async({viewTransition:e,ignoreBlocker:t,...n})=>{let r,i=()=>{let e=[`key`,`__TSR_key`,`__TSR_index`,`__hashScrollIntoViewOptions`];
10e.forEach(e=>{n.state[e]=this.latestLocation.state[e]});let t=s(n.state,this.latestLocation.state);return e.forEach(e=>{delete n.state[e]}),t},a=p(this.latestLocation.href)===p(n.href),o=this.commitLocationPromise;if(this.commitLocationPromise=x(()=>{o?.resolve(),o=void 0}),a&&i())this.load();else{let{maskedLocation:i,hashScrollIntoView:a,...o}=n;i&&(o={...i,state:{...i.state,__tempKey:void 0,__tempLocation:{...o,search:o.searchStr,state:{...o.state,__tempKey:void 0,__tempLocation:void 0,__TSR_key:void 0,key:void 0}}}},(o.unmaskOnReload??this.options.unmaskOnReload??!1)&&(o.state.__tempKey=this.tempLocationKey)),o.state.__hashScrollIntoViewOptions=a??this.options.defaultHashScrollIntoView??!0,this.shouldViewTransition=e,r=n.replace?`REPLACE`:`PUSH`,this.history[r===`REPLACE`?`replace`:`push`](o.publicHref,o.state,{ignoreBlocker:t})}return this._scroll.next=n.resetScroll??!0,this.history.subscribers.size||this.load(r?{action:{type:r}}:void 0),this.commitLocationPromise},this.buildAndCommitLocation=({replace:e,resetScroll:t,hashScrollIntoView:n,viewTransition:r,ignoreBlocker:i,href:a,...o}={})=>{if(a){let t=this.history.location.state.__TSR_index,n=Rt(a,{__TSR_index:e?t:t+1}),r=new URL(n.pathname,this.origin);o.to=Et(this.rewrite,r).pathname,o.search=this.options.parseSearch(n.search),o.hash=n.hash.slice(1)}let s=this.buildLocation({...o,_includeValidateSearch:!0});this.pendingBuiltLocation=s;let c=this.commitLocation({...s,viewTransition:r,replace:e,resetScroll:t,hashScrollIntoView:n,ignoreBlocker:i});return Promise.resolve().then(()=>{this.pendingBuiltLocation===s&&(this.pendingBuiltLocation=void 0)}),c},this.navigate=async({to:e,reloadDocument:t,href:n,publicHref:r,...i})=>{let a=!1;if(n)try{new URL(`${n}`),a=!0}catch{}if(a&&!t&&(t=!0),t){if(e!==void 0||!n){let t=this.buildLocation({to:e,...i});n??=t.publicHref,r??=t.publicHref}let t=!a&&r?r:n;if(te(t,this.protocolAllowlist))return Promise.resolve();if(!i.ignoreBlocker){let e=this.history.getBlockers?.()??[];for(let t of e)if(t?.blockerFn&&await t.blockerFn({currentLocation:this.latestLocation,nextLocation:this.latestLocation,action:`PUSH`}))return Promise.resolve()}return i.replace?window.location.replace(t):window.location.href=t,Promise.resolve()}return this.buildAndCommitLocation({...i,href:n,to:e,_isNavigate:!0})},this.beforeLoad=()=>{this.cancelMatches(),this.updateLatestLocation();let e=this.matchRoutes(this.latestLocation),t=this.stores.cachedMatches.get().filter(t=>!e.some(e=>e.id===t.id));this.batch(()=>{this.stores.status.set(`pending`),this.stores.statusCode.set(200),this.stores.isLoading.set(!0),this.stores.location.set(this.latestLocation),this.stores.setPending(e),this.stores.setCached(t)})},this.load=async e=>{let t=e?.action?.type,n,r,i,a=this.stores.resolvedLocation.get()??this.stores.location.get();for(i=new Promise(o=>{this.startTransition(async()=>{try{this.beforeLoad(),t?Ht.set(this.latestLocation,t):Ht.delete(this.latestLocation);let n=this.latestLocation,r=Vt(n,this.stores.resolvedLocation.get());this.stores.redirect.get()||this.emit({type:`onBeforeNavigate`,...r}),this.emit({type:`onBeforeLoad`,...r}),await yt({router:this,sync:e?.sync,forceStaleReload:a.href===n.href,matches:this.stores.pendingMatches.get(),location:n,updateMatch:this.updateMatch,onReady:async()=>{this.startTransition(()=>{this.startViewTransition(async()=>{let e=null,t=null,n=null,r=null;this.batch(()=>{let i=this.stores.pendingMatches.get(),a=i.length,o=this.stores.matches.get();e=a?o.filter(e=>!this.stores.pendingMatchStores.has(e.id)):null;let s=new Set;for(let e of this.stores.pendingMatchStores.values())e.routeId&&s.add(e.routeId);let c=new Set;for(let e of this.stores.matchStores.values())e.routeId&&c.add(e.routeId);t=a?o.filter(e=>!s.has(e.routeId)):null,n=a?i.filter(e=>!c.has(e.routeId)):null,r=a?i.filter(e=>c.has(e.routeId)):o,this.stores.isLoading.set(!1),this.stores.loadedAt.set(Date.now()),a&&(this.stores.setMatches(i),this.stores.setPending([]),this.stores.setCached([...this.stores.cachedMatches.get(),...e.filter(e=>e.status!==`error`&&e.status!==`notFound`&&e.status!==`redirected`)]),this.clearExpiredCache())});for(let[e,i]of[[t,`onLeave`],[n,`onEnter`],[r,`onStay`]])if(e)for(let t of e)this.looseRoutesById[t.routeId].options[i]?.(t)})})}})}catch(e){et(e)?(n=e,this.navigate({...n.options,replace:!0,ignoreBlocker:!0})):We(e)&&(r=e);let t=n?n.status:r?404:this.stores.matches.get().some(e=>e.status===`error`)?500:200;this.batch(()=>{this.stores.statusCode.set(t),this.stores.redirect.set(n)})}this.latestLoadPromise===i&&(this.commitLocationPromise?.resolve(),this.latestLoadPromise=void 0,this.commitLocationPromise=void 0),o()})}),this.latestLoadPromise=i,await i;this.latestLoadPromise&&i!==this.latestLoadPromise;)await this.latestLoadPromise;let o;this.hasNotFoundMatch()?o=404:this.stores.matches.get().some(e=>e.status===`error`)&&(o=500),o!==void 0&&this.stores.statusCode.set(o)},this.startViewTransition=e=>{let t=this.shouldViewTransition??this.options.defaultViewTransition;if(this.shouldViewTransition=void 0,t&&typeof document<`u`&&`startViewTransition`in document&&typeof document.startViewTransition==`function`){let n;if(typeof t==`object`&&this.isViewTransitionTypesSupported){let r=this.latestLocation,i=this.stores.resolvedLocation.get(),a=typeof t.types==`function`?t.types(Vt(r,i)):t.types;if(a===!1){e();return}n={update:e,types:a}}else n=e;document.startViewTransition(n)}else e()},this.updateMatch=(e,t)=>{this.startTransition(()=>
10{let n=this.stores.pendingMatchStores.get(e);if(n){n.set(t);return}let r=this.stores.matchStores.get(e);if(r){r.set(t);return}let i=this.stores.cachedMatchStores.get(e);if(i){let n=t(i.get());n.status===`redirected`?this.stores.cachedMatchStores.delete(e)&&this.stores.cachedIds.set(t=>t.filter(t=>t!==e)):i.set(n)}})},this.getMatch=e=>this.stores.cachedMatchStores.get(e)?.get()??this.stores.pendingMatchStores.get(e)?.get()??this.stores.matchStores.get(e)?.get(),this.invalidate=e=>{let t=t=>e?.filter?.(t)??!0?{...t,invalid:!0,...e?.forcePending||t.status===`error`||t.status===`notFound`?{status:`pending`,error:void 0}:void 0}:t;return this.batch(()=>{this.stores.setMatches(this.stores.matches.get().map(t)),this.stores.setCached(this.stores.cachedMatches.get().map(t)),this.stores.setPending(this.stores.pendingMatches.get().map(t))}),this.shouldViewTransition=!1,this.load({sync:e?.sync})},this.getParsedLocationHref=e=>e.publicHref||`/`,this.resolveRedirect=e=>{let t=e.headers.get(`Location`);if(!e.options.href||e.options._builtLocation){let t=e.options._builtLocation??this.buildLocation(e.options),n=this.getParsedLocationHref(t);e.options.href=n,e.headers.set(`Location`,n)}else if(t)try{let n=new URL(t);if(this.origin&&n.origin===this.origin){let t=n.pathname+n.search+n.hash;e.options.href=t,e.headers.set(`Location`,t)}}catch{}if(e.options.href&&!e.options._builtLocation&&te(e.options.href,this.protocolAllowlist))throw Error(`Redirect blocked: unsafe protocol`);return e.headers.get(`Location`)||e.headers.set(`Location`,e.options.href),e},this.clearCache=e=>{let t=e?.filter;t===void 0?this.stores.setCached([]):this.stores.setCached(this.stores.cachedMatches.get().filter(e=>!t(e)))},this.clearExpiredCache=()=>{let e=Date.now();this.clearCache({filter:t=>{let n=this.looseRoutesById[t.routeId];if(!n.options.loader)return!0;let r=(t.preload?n.options.preloadGcTime??this.options.defaultPreloadGcTime:n.options.gcTime??this.options.defaultGcTime)??300*1e3;return t.status===`error`?!0:e-t.updatedAt>=r}})},this.loadRouteChunk=xt,this.preloadRoute=async e=>{let t=e._builtLocation??this.buildLocation(e),n=this.matchRoutes(t,{throwOnError:!0,preload:!0,dest:e}),r=new Set([...this.stores.matchesId.get(),...this.stores.pendingIds.get()]),i=new Set([...r,...this.stores.cachedIds.get()]),a=n.filter(e=>!i.has(e.id));if(a.length){let e=this.stores.cachedMatches.get();this.stores.setCached([...e,...a])}try{return n=await yt({router:this,matches:n,location:t,preload:!0,updateMatch:(e,t)=>{r.has(e)?n=n.map(n=>n.id===e?t(n):n):this.updateMatch(e,t)}}),n}catch(e){if(et(e))return e.options.reloadDocument?void 0:await this.preloadRoute({...e.options,_fromLocation:t});We(e)||console.error(e);return}},this.matchRoute=(e,t)=>{let n={...e,to:e.to?this.resolvePathWithBase(e.from||``,e.to):void 0,params:e.params||{},leaveParams:!0},r=this.buildLocation(n);if(t?.pending&&this.stores.status.get()!==`pending`)return!1;let i=(t?.pending===void 0?!this.stores.isLoading.get():t.pending)?this.latestLocation:this.stores.resolvedLocation.get()||this.stores.location.get(),a=l(r.pathname,t?.caseSensitive??!1,t?.fuzzy??!1,i.pathname,this.processedTree);return!a||e.params&&!s(a.rawParams,e.params,{partial:!0})?!1:t?.includeSearch??!0?s(i.search,r.search,{partial:!0})?a.rawParams:!1:a.rawParams},this.hasNotFoundMatch=()=>this.stores.matches.get().some(e=>e.status===`notFound`||e.globalNotFound),this.getStoreConfig=n,this.update({defaultPreloadDelay:50,defaultPendingMs:1e3,defaultPendingMinMs:500,context:void 0,...e,caseSensitive:e.caseSensitive??!1,notFoundMode:e.notFoundMode??`fuzzy`,stringifySearch:e.stringifySearch??Ye,parseSearch:e.parseSearch??Je,protocolAllowlist:e.protocolAllowlist??ee}),typeof document<`u`&&(self.__TSR_ROUTER__=this)}isShell(){return!!this.options.isShell}isPrerendering(){return!!this.options.isPrerendering}get state(){return this.stores.__store.get()}setRoutes({routesById:e,routesByPath:t,processedTree:n}){this.routesById=e,this.routesByPath=t,this.processedTree=n;let r=this.options.notFoundRoute;r&&(r.init({originalIndex:99999999999}),this.routesById[r.id]=r)}getRouteBranch(e){let t=this.routeBranchCache.get(e);return t||(t=m(e),this.routeBranchCache.set(e,t)),t}get looseRoutesById(){return this.routesById}getParentContext(e){return e?.id?e.context??this.options.context??void 0:this.options.context??void 0}matchRoutesInternal(e,t){let n=this.getMatchedRoutes(e.pathname),{foundRoute:r,routeParam
10s:a}=n,{matchedRoutes:o}=n,s=!1;(r?r.path!==`/`&&a[`**`]:p(e.pathname))&&(this.options.notFoundRoute?o=[...o,this.options.notFoundRoute]:s=!0);let c=s?Zt(this.options.notFoundMode,o):void 0,l=Array(o.length),u=new Map;for(let e of this.stores.matchStores.values())e.routeId&&u.set(e.routeId,e.get());for(let n=0;n<o.length;n++){let r=o[n],s=l[n-1],d,f,p;{let n=s?.search??e.search,i=s?._strictSearch??void 0;try{let e=qt(r.options.validateSearch,{...n})??void 0;d={...n,...e},f={...i,...e},p=void 0}catch(e){let r=e;if(e instanceof Wt||(r=new Wt(e.message,{cause:e})),t?.throwOnError)throw r;d=n,f={},p=r}}let m=r.options.loaderDeps?.({search:d})??``,h=m?JSON.stringify(m):``,{interpolatedPath:g,usedParams:_}=i({path:r.fullPath,params:a,decoder:this.pathParamsDecoder,server:this.isServer}),v=r.id+g+h,y=this.getMatch(v),b=u.get(r.id),ee=y?._strictParams??_,S;if(!y)try{Qt(r,ee)}catch(e){if(S=We(e)||et(e)?e:new Gt(e.message,{cause:e}),t?.throwOnError)throw S}Object.assign(a,ee);let te=b?`stay`:`enter`,ne;if(y)ne={...y,cause:te,params:b?.params??a,_strictParams:ee,search:w(b?b.search:y.search,d),_strictSearch:f};else{let e=r.options.loader||r.options.beforeLoad||r.lazyFn||St(r)?`pending`:`success`;ne={id:v,ssr:r.options.ssr,index:n,routeId:r.id,params:b?.params??a,_strictParams:ee,pathname:g,updatedAt:Date.now(),search:b?w(b.search,d):d,_strictSearch:f,searchError:void 0,status:e,isFetching:!1,error:void 0,paramsError:S,__routeContext:void 0,_nonReactive:{loadPromise:x()},__beforeLoadContext:void 0,context:{},abortController:new AbortController,fetchCount:0,cause:te,loaderDeps:b?we(b.loaderDeps,m):m,invalid:!1,preload:!1,links:void 0,scripts:void 0,headScripts:void 0,meta:void 0,staticData:r.options.staticData||{},fullPath:r.fullPath}}t?.preload||(ne.globalNotFound=c===r.id),ne.searchError=p;let re=this.getParentContext(s);ne.context={...re,...ne.__routeContext,...ne.__beforeLoadContext},l[n]=ne}for(let t=0;t<l.length;t++){let n=l[t],r=this.looseRoutesById[n.routeId],i=this.getMatch(n.id),o=u.get(n.routeId);if(n.params=o?w(o.params,a):a,!i){let i=l[t-1],a=this.getParentContext(i);if(r.options.context){let t={deps:n.loaderDeps,params:n.params,context:a??{},location:e,navigate:t=>this.navigate({...t,_fromLocation:e}),buildLocation:this.buildLocation,cause:n.cause,abortController:n.abortController,preload:!!n.preload,matches:l,routeId:r.id};n.__routeContext=r.options.context(t)??void 0}n.context={...a,...n.__routeContext,...n.__beforeLoadContext}}}return l}matchRoutesLightweight(t){let{matchedRoutes:n,routeParams:r}=this.getMatchedRoutes(t.pathname),i=e(n),a={...t.search};for(let e of n)try{Object.assign(a,qt(e.options.validateSearch,a))}catch{}let o=e(this.stores.matchesId.get()),s=o&&this.stores.matchStores.get(o)?.get(),c=s&&s.routeId===i.id&&s.pathname===t.pathname,l;if(c)l=s.params;else{let e=Object.assign(Object.create(null),r);for(let t of n)try{Qt(t,e)}catch{}l=e}return{matchedRoutes:n,fullPath:i.fullPath,search:a,params:l}}},Wt=class extends Error{},Gt=class extends Error{};function Kt(e){return{loadedAt:0,isLoading:!1,isTransitioning:!1,status:`idle`,resolvedLocation:void 0,location:e,matches:[],statusCode:200}}function qt(e,t){if(e==null)return{};if(`~standard`in e){let n=e[`~standard`].validate(t);if(n instanceof Promise)throw new Wt(`Async validation not supported`);if(n.issues)throw new Wt(JSON.stringify(n.issues,void 0,2),{cause:n});return n.value}return`parse`in e?e.parse(t):typeof e==`function`?e(t):{}}function Jt({pathname:e,routesById:t,processedTree:n}){let r=Object.create(null),i=p(e),a,s=o(i,n,!0);return s&&(a=s.route,Object.assign(r,s.rawParams)),{matchedRoutes:s?.branch||[t.__root__],routeParams:r,foundRoute:a}}function Yt({search:e,dest:t,destRoutes:n,_includeValidateSearch:r}){return Xt(n)(e,t,r??!1)}function Xt(e){let t,n,r=[];for(let t of e){let e=t.options;`search`in e?e.search?.middlewares&&r.push(...e.search.middlewares):(e.preSearchFilters||e.postSearchFilters)&&r.push(({search:t,next:n})=>{let r=n(e.preSearchFilters?e.preSearchFilters.reduce((e,t)=>t(e),t):t);return e.postSearchFilters?e.postSearchFilters.reduce((e,t)=>
10t(e),r):r});let i=e.validateSearch;i&&r.push(({search:e,next:t,meta:r})=>{let a=t(e);if(n)try{let e=qt(i,a);if(r&&e)for(let t in e)t in a||(r.defaulted||=new Map).set(t,e[t]);return{...a,...e}}catch{}return a})}let i=(e,n,a)=>{if(e>=r.length){if(!t.search)return{};if(t.search===!0)return n;let e=u(t.search,n);return a&&(a.explicit=e),e}return r[e]({search:n,next:(t,n)=>{if(n){let n=a||{};return{search:i(e+1,t,n),meta:n}}return i(e+1,t,a)},meta:a})};return function(e,r,a){return t=r,n=a,i(0,e)}}function Zt(e,t){if(e!==`root`)for(let e=t.length-1;e>=0;e--){let n=t[e];if(n.children)return n.id}return Qe}function Qt(e,t){let n=e.options.params?.parse??e.options.parseParams;if(n){let e=n(t);if(e===!1)throw Error(`Route params.parse returned false for a matched route`);Object.assign(t,e)}}function $t(){try{return sessionStorage}catch{return}}var en=`tsr-scroll-restoration-v1_3`,tn=$t();function nn(){try{return JSON.parse(tn?.getItem(`tsr-scroll-restoration-v1_3`)||`{}`)}catch{return{}}}function rn(){try{tn?.setItem(en,JSON.stringify(an))}catch{}}var an=nn(),on=`data-scroll-restoration-id`,sn=e=>e.state.__TSR_key||e.href;function cn(e){let t=e.getAttribute(on);if(t)return`[${on}="${t}"]`;let n=``,r=e,i;for(;i=r.parentNode;){let e=1,t=r;for(;t=t.previousElementSibling;)e++;let a=`${r.localName}:nth-child(${e})`;n=n?`${a} > ${n}`:a,r=i}return n}var ln=!1,un=`window`;function dn(e){try{return typeof e==`function`?e():document.querySelector(e)}catch{}}function fn(e){let t=[];for(let n of e){if(n===un)continue;let e=dn(n);e&&t.push(e)}return t}function pn(e,t){let n=t??e.options.scrollRestoration,r=e._scroll;n&&(r.restoring=!0);let i=e.options.getScrollRestorationKey||sn,a=new Map,o=(e,t,n)=>{let r=a.get(e)||{};r.scrollX=t,r.scrollY=n,a.set(e,r)},s=e=>{if(!(ln||!r.restoring))if(e.target===document)o(un,scrollX,scrollY);else{let t=e.target;o(t,t.scrollLeft,t.scrollTop)}},c=e=>{if(!r.restoring)return;let t=an[e]||={};for(let[e,n]of a)e===un?t[un]=n:e.isConnected&&(t[cn(e)]=n)};n&&!r.restoration&&(r.restoration=!0,ln=!1,history.scrollRestoration=`manual`,document.addEventListener(`scroll`,s,!0),e.subscribe(`onBeforeLoad`,e=>{e.fromLocation&&c(i(e.fromLocation)),a.clear()}),addEventListener(`pagehide`,()=>{c(i(e.stores.resolvedLocation.get()??e.stores.location.get())),rn()})),!r.reset&&(r.reset=!0,e.subscribe(`onRendered`,t=>{let n=e.options.scrollRestorationBehavior,o=e.options.scrollToTopSelectors,s=r.next,c;if(a.clear(),s||(r.next=!0),typeof e.options.scrollRestoration==`function`&&!e.options.scrollRestoration({location:e.latestLocation}))return;let l=i(t.toLocation),u=t.fromLocation&&i(t.fromLocation);if(r.restoring&&u&&u!==l){let e=an[u];if(e){let t=an[l];for(let n in e){if(n===un){if(s)continue}else{let e=dn(n);if(!e||s&&o&&(c??=fn(o),c.includes(e)))continue}t||=an[l]={},t[n]??=e[n]}}}ln=!0;try{let e=t.toLocation.hash,i=t.toLocation.state.__hashScrollIntoViewOptions??!0,a=!1;if(s){let s=Ht.get(t.toLocation),u=e&&i&&(s===`PUSH`||s===`REPLACE`),d=r.restoring?an[l]:void 0;if(d)for(let e in d){let{scrollX:t,scrollY:r}=d[e];if(e===un){if(u)continue;scrollTo({top:r,left:t,behavior:n}),a=!0}else{let n=dn(e);n&&(n.scrollLeft=t,n.scrollTop=r)}}if(!a&&!e){let e={top:0,left:0,behavior:n};if(scrollTo(e),o){c??=fn(o);for(let t of c)t.scrollTo(e)}}}!a&&e&&i&&document.getElementById(e)?.scrollIntoView(i)}finally{ln=!1}}))}var mn=Symbol.for(`TSR_DEFERRED_PROMISE`);function hn(e,t){let n=e;return n[mn]?n:(n[mn]={status:`pending`},n.then(e=>{n[mn].status=`success`,n[mn].data=e}).catch(e=>{n[mn].status=`error`,n[mn].error={data:(t?.serializeError??Bt)(e),__isServerError:!0}}),n)}function gn(e,t){if(e)return typeof e==`string`?e:e[t]}function _n(e){return e?.scriptFormat??`module`}
10function vn(e,t,n){let r=yn(t),i=gn(n,`script`)??r.crossOrigin;return{..._n(e)===`iife`?{rel:`preload`,as:`script`}:{rel:`modulepreload`},href:r.href,...i?{crossOrigin:i}:{}}}function yn(e){return typeof e==`string`?{href:e,crossOrigin:void 0}:e}function bn(e,t){if(t.length===0)return;if(t.length===1){e.push(t[0]);return}let n=new Set;for(let r of t){let t=JSON.stringify(r);n.has(t)||(n.add(t),e.push(r))}}function xn(e){return typeof e==`string`?{href:e,crossOrigin:void 0}:e}var Sn=class{get to(){return this._to}get id(){return this._id}get path(){return this._path}get fullPath(){return this._fullPath}constructor(e){if(this.init=e=>{this.originalIndex=e.originalIndex;let t=this.options,r=!t?.path&&!t?.id;this.parentRoute=this.options.getParentRoute?.(),r?this._path=Qe:this.parentRoute||n();let i=r?Qe:t?.path;i&&i!==`/`&&(i=fe(i));let a=t?.id||i,o=r?Qe:h([this.parentRoute.id===`__root__`?``:this.parentRoute.id,a]);i===`__root__`&&(i=`/`),o!==`__root__`&&(o=h([`/`,o]));let s=o===`__root__`?`/`:h([this.parentRoute.fullPath,i]);this._path=i,this._id=o,this._fullPath=s,this._to=p(s)},this.addChildren=e=>this._addFileChildren(e),this._addFileChildren=e=>(Array.isArray(e)&&(this.children=e),typeof e==`object`&&e&&(this.children=Object.values(e)),this),this._addFileTypes=()=>this,this.updateLoader=e=>(Object.assign(this.options,e),this),this.update=e=>(Object.assign(this.options,e),this),this.lazy=e=>(this.lazyFn=e,this),this.redirect=e=>$e({from:this.fullPath,...e}),this.options=e||{},this.isRoot=!e?.getParentRoute,e?.id&&e?.path)throw Error(`Route cannot have both an 'id' and a 'path' option.`)}},Cn=class extends Sn{constructor(e){super(e)}},wn=(e=>(e[e.AggregateError=1]=`AggregateError`,e[e.ArrowFunction=2]=`ArrowFunction`,e[e.ErrorPrototypeStack=4]=`ErrorPrototypeStack`,e[e.ObjectAssign=8]=`ObjectAssign`,e[e.BigIntTypedArray=16]=`BigIntTypedArray`,e[e.RegExp=32]=`RegExp`,e))(wn||{}),Tn=Symbol.asyncIterator,En=Symbol.hasInstance,Dn=Symbol.isConcatSpreadable,On=Symbol.iterator,kn=Symbol.match,An=Symbol.matchAll,jn=Symbol.replace,Mn=Symbol.search,Nn=Symbol.species,Pn=Symbol.split,Fn=Symbol.toPrimitive,In=Symbol.toStringTag,Ln=Symbol.unscopables,Rn={[Tn]:0,[En]:1,[Dn]:2,[On]:3,[kn]:4,[An]:5,[jn]:6,[Mn]:7,[Nn]:8,[Pn]:9,[Fn]:10,[In]:11,[Ln]:12},zn={0:Tn,1:En,2:Dn,3:On,4:kn,5:An,6:jn,7:Mn,8:Nn,9:Pn,10:Fn,11:In,12:Ln},k=void 0,Bn={2:!0,3:!1,1:k,0:null,4:-0,5:1/0,6:-1/0,7:NaN},Vn={0:`Error`,1:`EvalError`,2:`RangeError`,3:`ReferenceError`,4:`SyntaxError`,5:`TypeError`,6:`URIError`},Hn={0:Error,1:EvalError,2:RangeError,3:ReferenceError,4:SyntaxError,5:TypeError,6:URIError};function A(e,t,n,r,i,a,o,s,c,l,u,d){return{t:e,i:t,s:n,c:r,m:i,p:a,e:o,a:s,f:c,b:l,o:u,l:d}}function Un(e){return A(2,k,e,k,k,k,k,k,k,k,k,k)}var Wn=Un(2),Gn=Un(3),Kn=Un(1),qn=Un(0),Jn=Un(4),Yn=Un(5),Xn=Un(6),Zn=Un(7);function Qn(e){switch(e){case`"`:return`\\"`;case`\\`:return`\\\\`;case` 11`:return`\\n`;case`\r`:return`\\r`;case`\b`:return`\\b`;case` `:return`\\t`;case`\f`:return`\\f`;case`<`:return`\\x3C`;case`\u2028`:return`\\u2028`;case`\u2029`:return`\\u2029`;default:return k}}function $n(e){let t=``,n=0,r;for(let i=0,a=e.length;i<a;i++)r=Qn(e[i]),r&&(t+=e.slice(n,i)+r,n=i+1);return n===0?t=e:t+=e.slice(n),t}function er(e){switch(e){case`\\\\`:return`\\`;case`\\"`:return`"`;case`\\n`:return` 12`;case`\\r`:return`\r`;case`\\b`:return`\b`;case`\\t`:return` `;case`\\f`:return`\f`;case`\\x3C`:return`<`;case`\\u2028`:return`\u2028`;case`\\u2029`:return`\u2029`;default:return e}}function tr(e){return e.replace(/(\\\\|\\"|\\n|\\r|\\b|\\t|\\f|\\u2028|\\u2029|\\x3C)/g,er)}var nr=`__SEROVAL_REFS__`,rr=new Map,ir=new Map;function ar(e){return rr.has(e)}function or(e){return ir.has(e)}function sr(e){if(ar(e))return rr.get(e);throw new Yr(e)}function cr(e){if(or(e))return ir.get(e);throw new Xr(e)}typeof globalThis<`u`?Object.defineProperty(globalThis,nr,{value:ir,configurable:!0,writable:!1,enumerable:!1}):typeof window<`u`?Object.defineProperty(window,nr,{value:ir,configurable:!0,writable:!1,enumerable:!1}):typeof self<`u`?Object.defineProperty(self,nr,{value:ir,configurable:!0,writable:!1,enumerable:!1}):typeof global<`u`&&Object.defineProperty(global,nr,{value:ir,configurable:!0,writable:!1,enumerable:!1});function lr(e){return e instanceof EvalError?1:e instanceof RangeError?2:e instanceof ReferenceError?3:e instanceof SyntaxError?4:e instanceof TypeError?5:e instanceof URIError?6:0}function ur(e){let t=Vn[lr(e)];return e.name===t?e.constructor.name===t?{}:{name:e.constructor.name}:{name:e.name}}function dr(e,t){let n=ur(e),r=Object.getOwnPropertyNames(e);for(let i=0,a=r.length,o;i<a;i++)o=r[i],o!==`name`&&o!==`message`&&(o===`stack`?t&4&&(n||={},n[o]=e[o]):(n||={},n[o]=e[o]));return n}function fr(e){return Object.isFrozen(e)?3:Object.isSealed(e)?2:+!Object.isExtensible(e)}function pr(e){switch(e){case 1/0:return Yn;case-1/0:return Xn}return e===e?Object.is(e,-0)?Jn:A(0,k,e,k,k,k,k,k,k,k,k,k):Zn}function mr(e){return A(1,k,$n(e),k,k,k,k,k,k,k,k,k)}function hr(e){return A(3,k,``+e,k,k,k,k,k,k,k,k,k)}function gr(e){return A(4,e,k,k,k,k,k,k,k,k,k,k)}function _r(e,t){let n=t.valueOf();return A(5,e,n===n?t.toISOString():``,k,k,k,k,k,k,k,k,k)}function vr(e,t){return A(6,e,k,$n(t.source),t.flags,k,k,k,k,k,k,k)}function yr(e,t){return A(17,e,Rn[t],k,k,k,k,k,k,k,k,k)}function br(e,t){return A(18,e,$n(sr(t)),k,k,k,k,k,k,k,k,k)}function xr(e,t,n){return A(25,e,n,$n(t),k,k,k,k,k,k,k,k)}function Sr(e,t,n){return A(9,e,k,k,k,k,k,n,k,k,fr(t),k)}function Cr(e,t){return A(21,e,k,k,k,k,k,k,t,k,k,k)}function wr(e,t,n){return A(15,e,k,t.constructor.name,k,k,k,k,n,t.byteOffset,k,t.length)}function Tr(e,t,n){return A(16,e,k,t.constructor.name,k,k,k,k,n,t.byteOffset,k,t.byteLength)}function Er(e,t,n){return A(20,e,k,k,k,k,k,k,n,t.byteOffset,k,t.byteLength)}function Dr(e,t,n){return A(13,e,lr(t),k,$n(t.message),n,k,k,k,k,k,k)}function Or(e,t,n){return A(14,e,lr(t),k,$n(t.message),n,k,k,k,k,k,k)}function kr(e,t){return A(7,e,k,k,k,k,k,t,k,k,k,k)}function Ar(e,t){return A(28,k,k,k,k,k,k,[e,t],k,k,k,k)}function jr(e,t){return A(30,k,k,k,k,k,k,[e,t],k,k,k,k)}function Mr(e,t,n){return A(31,e,k,k,k,k,k,n,t,k,k,k)}function Nr(e,t){return A(32,e,k,k,k,k,k,k,t,k,k,k)}function Pr(e,t){return A(33,e,k,k,k,k,k,k,t,k,k,k)}function Fr(e,t){return A(34,e,k,k,k,k,k,k,t,k,k,k)}function Ir(e,t,n,r){return A(35,e,n,k,k,k,k,t,k,k,k,r)}var{toString:Lr}
12=Object.prototype,Rr={parsing:1,serialization:2,deserialization:3};function zr(e){return`Seroval Error (step: ${Rr[e]})`}var Br=(e,t)=>zr(e),Vr=class extends Error{constructor(e,t){super(Br(e,t)),this.cause=t}},Hr=class extends Vr{constructor(e){super(`parsing`,e)}},Ur=class extends Vr{constructor(e){super(`deserialization`,e)}};function Wr(e){return`Seroval Error (specific: ${e})`}var Gr=class extends Error{constructor(e){super(Wr(1)),this.value=e}},Kr=class extends Error{constructor(e){super(Wr(2))}},qr=class extends Error{constructor(e){super(Wr(3))}},Jr=class extends Error{constructor(e){super(Wr(4))}},Yr=class extends Error{constructor(e){super(Wr(5)),this.value=e}},Xr=class extends Error{constructor(e){super(Wr(6))}},Zr=class extends Error{constructor(e){super(Wr(7))}},Qr=class extends Error{constructor(e){super(Wr(8))}},$r=class extends Error{constructor(e){super(Wr(9))}},ei=class{constructor(e,t){this.value=e,this.replacement=t}},ti=()=>{let e={p:0,s:0,f:0};return e.p=new Promise((t,n)=>{e.s=t,e.f=n}),e};ti.toString(),((e,t)=>{e.s(t),e.p.s=1,e.p.v=t}).toString(),((e,t)=>{e.f(t),e.p.s=2,e.p.v=t}).toString();var ni=()=>{let e=[],t=[],n=!0,r=!1,i=0,a=(e,n,r)=>{for(r=0;r<i;r++)t[r]&&t[r][n](e)},o=(t,i,a,o)=>{for(i=0,a=e.length;i<a;i++)o=e[i],!n&&i===a-1?t[r?`return`:`throw`](o):t.next(o)},s=(e,r)=>(n&&(r=i++,t[r]=e),o(e),()=>{n&&(t[r]=t[i],t[i--]=void 0)});return{__SEROVAL_STREAM__:!0,on:e=>s(e),next:t=>{n&&(e.push(t),a(t,`next`))},throw:i=>{n&&(e.push(i),a(i,`throw`),n=!1,r=!1,t.length=0)},return:i=>{n&&(e.push(i),a(i,`return`),n=!1,r=!0,t.length=0)}}};ni.toString();var ri=e=>t=>()=>{let n=0,r={[e]:()=>r,next:()=>{if(n>t.d)return{done:!0,value:void 0};let e=n++,r=t.v[e];if(e===t.t)throw r;return{done:e===t.d,value:r}}};return r};ri.toString();var ii=(e,t)=>n=>()=>{let r=0,i=-1,a=!1,o=[],s=[],c=(e=0,t=s.length)=>{for(;e<t;e++)s[e].s({done:!0,value:void 0})};n.on({next:e=>{let t=s.shift();t&&t.s({done:!1,value:e}),o.push(e)},throw:e=>{let t=s.shift();t&&t.f(e),c(),i=o.length,a=!0,o.push(e)},return:e=>{let t=s.shift();t&&t.s({done:!0,value:e}),c(),i=o.length,o.push(e)}});let l={[e]:()=>l,next:()=>{if(i===-1){let e=r++;if(e>=o.length){let e=t();return s.push(e),e.p}return{done:!1,value:o[e]}}if(r>i)return{done:!0,value:void 0};let e=r++,n=o[e];if(e!==i)return{done:!1,value:n};if(a)throw n;return{done:!0,value:n}}};return l};ii.toString();var ai=e=>{let t=atob(e),n=t.length,r=new Uint8Array(n);for(let e=0;e<n;e++)r[e]=t.charCodeAt(e);return r.buffer};ai.toString();function oi(e){return`__SEROVAL_SEQUENCE__`in e}function si(e,t,n){return{__SEROVAL_SEQUENCE__:!0,v:e,t,d:n}}function ci(e){let t=[],n=-1,r=-1,i=e[On]();for(;;)try{let e=i.next();if(t.push(e.value),e.done){r=t.length-1;break}}catch(e){n=t.length,t.push(e)}return si(t,n,r)}var li=ri(On);function ui(e){return li(e)}var di={},fi={},pi={0:{},1:{},2:{},3:{},4:{},5:{}};function mi(e){return`__SEROVAL_STREAM__`in e}function hi(){return ni()}function gi(e){let t=hi(),n=e[Tn]();async function r(){try{let e=await n.next();e.done?t.return(e.value):(t.next(e.value),await r())}catch(e){t.throw(e)}}return r().catch(()=>{}),t}var _i=ii(Tn,ti);function vi(e){return _i(e)}async function yi(e){try{return[1,await e]}catch(e){return[0,e]}}function bi(e,t){return{plugins:t.plugins,mode:e,marked:new Set,features:63^(t.disabledFeatures||0),refs:t.refs||new Map,depthLimit:t.depthLimit||1e3}}function xi(e,t){e.marked.add(t)}function Si(e,t){let n=e.refs.size;return e.refs.set(t,n),n}function Ci(e,t){let n=e.refs.get(t);return n==null?{type:0,value:Si(e,t)}:(xi(e,n),{type:1,value:gr(n)})}function wi(e,t){let n=Ci(e,t);return n.type===1?n:ar(t)?{type:2,value:br(n.value,t)}:n}function Ti(e,t){let n=wi(e,t);if(n.type!==0)return n.value;if(t in Rn)return yr(n.value,t);throw new Gr(t)}function Ei(e,t){let n=Ci(e,pi[t]);return n.type===1?n.value:A(26,n.value,t,k,k,k,k,k,k,k,k,k)}function Di(e){let t=Ci(e,di);return t.type===1?t.value:A(27,t.value,k,k,k,k,k,k,Ti(e,On),k,k,k)}function Oi(e){let t=Ci(e,fi);return t.type===1?t.value:A(29,t.value,k,k,k,k,k,[Ei(e,1),Ti(e,Tn)],k,k,k,k)}function ki(e,t,n,r){return A(n?11:10,e,k,k,k,r,k,k,k,k,fr(t),k)}function Ai(e,t,n,r){return A(8,t,k,k,k,k,{k:n,v:r},k,Ei(e,0),k,k,k)}function ji(e,t,n){let r=new Uint8Array(n),i=``;for(let e=0,t=r.length;e<t;e++)i+=String.fromCharCode(r[e]);return A(19,t,$n(btoa(i)),k,k,k,k,k,Ei(e,5),k,k,k)}function Mi(e,t){return{base:bi(e,t),child:void 0}}var Ni=class{constructor(e,t){this._p=e,this.depth=t}parse(e){return Zi(this._p,this.depth,e)}};async function Pi(e,t,n){let r=[];for(let i=0,a=n.length;i<a;i++)i in n?r[i]=await Zi(e,t,n[i]):r[i]=0;return r}async function Fi(e,t,n,r){return Sr(n,r,await Pi(e,t,r))}async function Ii(e,t,n){let r=Object.entries(n),i=[],a=[];for(let n=0,o=r.length;n<o;n++)i.push($n(r[n][0])),a.push(await Zi(e,t,r[n][1]));return On in n&&(i.push(Ti(e.base,On)),a.push(Ar(Di(e.base),await Zi(e,t,ci(n))))),Tn in n&&(i.push(Ti(e.base,Tn)),a.push(jr(Oi(e.base),await Zi(e,t,gi(n))))),In in n&&(i.push(Ti(e.base,In)),a.push(mr(n[In]))),Dn in n&&(i.push(Ti(e.base,Dn)),a.push(n[Dn]?Wn:Gn)
12),{k:i,v:a}}async function Li(e,t,n,r,i){return ki(n,r,i,await Ii(e,t,r))}async function Ri(e,t,n,r){return Cr(n,await Zi(e,t,r.valueOf()))}async function zi(e,t,n,r){return wr(n,r,await Zi(e,t,r.buffer))}async function Bi(e,t,n,r){return Tr(n,r,await Zi(e,t,r.buffer))}async function Vi(e,t,n,r){return Er(n,r,await Zi(e,t,r.buffer))}async function Hi(e,t,n,r){let i=dr(r,e.base.features);return Dr(n,r,i?await Ii(e,t,i):k)}async function j(e,t,n,r){let i=dr(r,e.base.features);return Or(n,r,i?await Ii(e,t,i):k)}async function M(e,t,n,r){let i=[],a=[];for(let[n,o]of r.entries())i.push(await Zi(e,t,n)),a.push(await Zi(e,t,o));return Ai(e.base,n,i,a)}async function Ui(e,t,n,r){let i=[];for(let n of r.keys())i.push(await Zi(e,t,n));return kr(n,i)}async function Wi(e,t,n,r){let i=e.base.plugins;if(i)for(let a=0,o=i.length;a<o;a++){let o=i[a];if(o.parse.async&&o.test(r))return xr(n,o.tag,await o.parse.async(r,new Ni(e,t),{id:n}))}return k}async function Gi(e,t,n,r){let[i,a]=await yi(r);return A(12,n,i,k,k,k,k,k,await Zi(e,t,a),k,k,k)}function Ki(e,t,n,r,i){let a=[],o=n.on({next:n=>{xi(this.base,t),Zi(this,e,n).then(e=>{a.push(Nr(t,e))},e=>{i(e),o()})},throw:n=>{xi(this.base,t),Zi(this,e,n).then(e=>{a.push(Pr(t,e)),r(a),o()},e=>{i(e),o()})},return:n=>{xi(this.base,t),Zi(this,e,n).then(e=>{a.push(Fr(t,e)),r(a),o()},e=>{i(e),o()})}})}async function qi(e,t,n,r){return Mr(n,Ei(e.base,4),await new Promise(Ki.bind(e,t,n,r)))}async function Ji(e,t,n,r){let i=[];for(let n=0,a=r.v.length;n<a;n++)i[n]=await Zi(e,t,r.v[n]);return Ir(n,i,r.t,r.d)}async function Yi(e,t,n,r){if(Array.isArray(r))return Fi(e,t,n,r);if(mi(r))return qi(e,t,n,r);if(oi(r))return Ji(e,t,n,r);let i=r.constructor;if(i===ei)return Zi(e,t,r.replacement);let a=await Wi(e,t,n,r);if(a)return a;switch(i){case Object:return Li(e,t,n,r,!1);case k:return Li(e,t,n,r,!0);case Date:return _r(n,r);case Error:case EvalError:case RangeError:case ReferenceError:case SyntaxError:case TypeError:case URIError:return Hi(e,t,n,r);case Number:case Boolean:case String:case BigInt:return Ri(e,t,n,r);case ArrayBuffer:return ji(e.base,n,r);case Int8Array:case Int16Array:case Int32Array:case Uint8Array:case Uint16Array:case Uint32Array:case Uint8ClampedArray:case Float32Array:case Float64Array:return zi(e,t,n,r);case DataView:return Vi(e,t,n,r);case Map:return M(e,t,n,r);case Set:return Ui(e,t,n,r);default:break}if(i===Promise||r instanceof Promise)return Gi(e,t,n,r);let o=e.base.features;if(o&32&&i===RegExp)return vr(n,r);if(o&16)switch(i){case BigInt64Array:case BigUint64Array:return Bi(e,t,n,r);default:break}if(o&1&&typeof AggregateError<`u`&&(i===AggregateError||r instanceof AggregateError))return j(e,t,n,r);if(r instanceof Error)return Hi(e,t,n,r);if(On in r||Tn in r)return Li(e,t,n,r,!!i);throw new Gr(r)}async function Xi(e,t,n){let r=wi(e.base,n);if(r.type!==0)return r.value;let i=await Wi(e,t,r.value,n);if(i)return i;throw new Gr(n)}async function Zi(e,t,n){switch(typeof n){case`boolean`:return n?Wn:Gn;case`undefined`:return Kn;case`string`:return mr(n);case`number`:return pr(n);case`bigint`:return hr(n);case`object`:if(n){let r=wi(e.base,n);return r.type===0?await Yi(e,t+1,r.value,n):r.value}return qn;case`symbol`:return Ti(e.base,n);case`function`:return Xi(e,t,n);default:throw new Gr(n)}}async function Qi(e,t){try{return await Zi(e,0,t)}catch(e){throw e instanceof Hr?e:new Hr(e)}}var $i=(e=>(e[e.Vanilla=1]=`Vanilla`,e[e.Cross=2]=`Cross`,e))($i||{});function ea(e){return e}function ta(e,t){for(let n=0,r=t.length;n<r;n++){let r=t[n];e.has(r)||(e.add(r),r.extends&&ta(e,r.extends))}}function na(e){if(e){let t=new Set;return ta(t,e),[...t]}}function ra(e){switch(e){case`Int8Array`:return Int8Array;case`Int16Array`:return Int16Array;case`Int32Array`:return Int32Array;case`Uint8Array`:return Uint8Array;case`Uint16Array`:return Uint16Array;case`Uint32Array`:return Uint32Array;case`Uint8ClampedArray`:return Uint8ClampedArray;case`Float32Array`:return Float32Array;case`Float64Array`:return Float64Array;case`BigInt64Array`:return BigInt64Array;case`BigUint64Array`:return BigUint64Array;default:throw new Zr(e)}}var ia=1e6,aa=1e4,oa=2e4;function sa(e,t){switch(t){case 3:return Object.freeze(e);case 1:return Object.preventExtensions(e);case 2:return Object.seal(e);default:return e}}var ca=1e3;function la(e,t){let n=t.refs||new Map;return`types`in n||Object.assign(n,{types:new Map}),{mode:e,plugins:t.plugins,refs:n,features:t.features??63^(t.disabledFeatures||0),depthLimit:t.depthLimit||ca}}
12function ua(e){return{mode:2,base:la(2,e),child:k}}var da=class{constructor(e,t){this._p=e,this.depth=t}deserialize(e){return P(this._p,this.depth,e)}};function fa(e,t){if(t<0||!Number.isFinite(t)||!Number.isInteger(t))throw new Qr({t:4,i:t});if(e.refs.has(t))throw Error(`Conflicted ref id: `+t)}function pa(e,t,n){return fa(e.base,t),e.state.marked.has(t)&&e.base.refs.set(t,n),n}function ma(e,t,n){return fa(e.base,t),e.base.refs.set(t,n),n}function N(e,t,n){return e.mode===1?pa(e,t,n):ma(e,t,n)}function ha(e,t,n){if(Object.hasOwn(t,n))return t[n];throw new Qr(e)}function ga(e,t){return N(e,t.i,cr(tr(t.s)))}function _a(e,t,n){let r=n.a,i=r.length,a=N(e,n.i,Array(i));for(let n=0,o;n<i;n++)o=r[n],o&&(a[n]=P(e,t,o));return sa(a,n.o),a}function va(e){switch(e){case`constructor`:case`__proto__`:case`prototype`:case`__defineGetter__`:case`__defineSetter__`:case`__lookupGetter__`:case`__lookupSetter__`:return!1;default:return!0}}function ya(e){switch(e){case Tn:case Dn:case In:case On:return!0;default:return!1}}function ba(e,t,n){va(t)?e[t]=n:Object.defineProperty(e,t,{value:n,configurable:!0,enumerable:!0,writable:!0})}function xa(e,t,n,r,i){if(typeof r==`string`)ba(n,tr(r),P(e,t,i));else{let a=P(e,t,r);switch(typeof a){case`string`:ba(n,a,P(e,t,i));break;case`symbol`:ya(a)&&(n[a]=P(e,t,i));break;default:throw new Qr(r)}}}function Sa(e,t,n){e.base.refs.types.set(t,n)}function Ca(e,t,n,r){if(e.base.refs.types.get(n)!==r)throw new Qr(t)}function wa(e,t,n,r){let i=n.k;if(i.length>0)for(let a=0,o=n.v,s=i.length;a<s;a++)xa(e,t,r,i[a],o[a]);return r}function Ta(e,t,n){let r=N(e,n.i,n.t===10?{}:Object.create(null));return wa(e,t,n.p,r),sa(r,n.o),r}function Ea(e,t){return N(e,t.i,new Date(t.s))}function Da(e,t){if(e.base.features&32){let n=tr(t.c);if(n.length>oa)throw new Qr(t);return N(e,t.i,new RegExp(n,t.m))}throw new Kr(t)}function Oa(e,t,n){let r=N(e,n.i,new Set);for(let i=0,a=n.a,o=a.length;i<o;i++)r.add(P(e,t,a[i]));return r}function ka(e,t,n){let r=N(e,n.i,new Map);for(let i=0,a=n.e.k,o=n.e.v,s=a.length;i<s;i++)r.set(P(e,t,a[i]),P(e,t,o[i]));return r}function Aa(e,t){if(t.s.length>ia)throw new Qr(t);return N(e,t.i,ai(tr(t.s)))}function ja(e,t,n){let r=ra(n.c),i=P(e,t,n.f),a=n.b??0;if(a<0||a>i.byteLength)throw new Qr(n);return N(e,n.i,new r(i,a,n.l))}function Ma(e,t,n){let r=P(e,t,n.f),i=n.b??0;if(i<0||i>r.byteLength)throw new Qr(n);return N(e,n.i,new DataView(r,i,n.l))}function Na(e,t,n,r){if(n.p){let i=wa(e,t,n.p,{});Object.defineProperties(r,Object.getOwnPropertyDescriptors(i))}return r}function Pa(e,t,n){return Na(e,t,n,N(e,n.i,AggregateError([],tr(n.m))))}function Fa(e,t,n){let r=ha(n,Hn,n.s);return Na(e,t,n,N(e,n.i,new r(tr(n.m))))}function Ia(e,t,n){let r=ti(),i=N(e,n.i,r.p),a=P(e,t,n.f);return n.s?r.s(a):r.f(a),i}function La(e,t,n){return N(e,n.i,Object(P(e,t,n.f)))}function Ra(e,t,n){let r=e.base.plugins;if(r){let i=tr(n.c);for(let a=0,o=r.length;a<o;a++){let o=r[a];if(o.tag===i)return N(e,n.i,o.deserialize(n.s,new da(e,t),{id:n.i}))}}throw new qr(n.c)}function za(e,t){let n=N(e,t.i,N(e,t.s,ti()).p);return Sa(e,t.s,22),n}function Ba(e,t,n){let r=e.base.refs.get(n.i);if(r)return Ca(e,n,n.i,22),r.s(P(e,t,n.a[1])),k;throw new Jr(`Promise`)}function Va(e,t,n){let r=e.base.refs.get(n.i);if(r)return Ca(e,n,n.i,22),r.f(P(e,t,n.a[1])),k;throw new Jr(`Promise`)}function Ha(e,t,n){return P(e,t,n.a[0]),ui(P(e,t,n.a[1]))}function Ua(e,t,n){return P(e,t,n.a[0]),vi(P(e,t,n.a[1]))}function Wa(e,t,n){let r=N(e,n.i,hi());Sa(e,n.i,31);let i=n.a,a=i.length;if(a)for(let n=0;n<a;n++)P(e,t,i[n]);return r}function Ga(e,t,n){let r=e.base.refs.get(n.i);if(r)return Ca(e,n,n.i,31),r.next(P(e,t,n.f)),k;throw new Jr(`Stream`)}function Ka(e,t,n){let r=e.base.refs.get(n.i);if(r)return Ca(e,n,n.i,31),r.throw(P(e,t,n.f)),k;throw new Jr(`Stream`)}function qa(e,t,n){let r=e.base.refs.get(n.i);if(r)return Ca(e,n,n.i,31),r.return(P(e,t,n.f)),k;throw new Jr(`Stream`)}function Ja(e,t,n){return P(e,t,n.f),k}function Ya(e,t,n){return P(e,t,n.a[1]),k}function Xa(e,t,n){let r=N(e,n.i,si([],n.s,n.l));for(let i=0,a=n.a.length;i<a;i++)r.v[i]=P(e,t,n.a[i]);return r}function P(e,t,n){if(t>e.base.depthLimit)throw new $r(e.base.depthLimit);switch(t+=1,n.t){case 2:return ha(n,Bn,n.s);case 0:return Number(n.s);case 1:return tr(String(n.s));case 3:if(String(n.s).length>aa)throw new Qr(n);return BigInt(n.s);case 4:return e.base.refs.get(n.i);case 18:return ga(e,n);case 9:return _a(e,t,n);case 10:case 11:return Ta(e,t,n);case 5:return Ea(e,n);
12case 6:return Da(e,n);case 7:return Oa(e,t,n);case 8:return ka(e,t,n);case 19:return Aa(e,n);case 16:case 15:return ja(e,t,n);case 20:return Ma(e,t,n);case 14:return Pa(e,t,n);case 13:return Fa(e,t,n);case 12:return Ia(e,t,n);case 17:return ha(n,zn,n.s);case 21:return La(e,t,n);case 25:return Ra(e,t,n);case 22:return za(e,n);case 23:return Ba(e,t,n);case 24:return Va(e,t,n);case 28:return Ha(e,t,n);case 30:return Ua(e,t,n);case 31:return Wa(e,t,n);case 32:return Ga(e,t,n);case 33:return Ka(e,t,n);case 34:return qa(e,t,n);case 27:return Ja(e,t,n);case 29:return Ya(e,t,n);case 35:return Xa(e,t,n);default:throw new Kr(n)}}function Za(e,t){try{return P(e,0,t)}catch(e){throw new Ur(e)}}var Qa=(()=>T).toString();/=>/.test(Qa);function $a(e,t){return Za(ua({plugins:na(t.plugins),refs:t.refs,features:t.features,disabledFeatures:t.disabledFeatures,depthLimit:t.depthLimit}),e)}async function eo(e,t={}){let n=Mi(1,{plugins:na(t.plugins),disabledFeatures:t.disabledFeatures});return{t:await Qi(n,e),f:n.base.features,m:Array.from(n.base.marked)}}function to(e){return e}function no(e){return ea({tag:`$TSR/t/`+e.key,test:e.test,parse:{sync(t,n,r){return{v:n.parse(e.toSerializable(t))}},async async(t,n,r){return{v:await n.parse(e.toSerializable(t))}},stream(t,n,r){return{v:n.parse(e.toSerializable(t))}}},serialize:void 0,deserialize(t,n,r){return e.fromSerializable(n.deserialize(t.v))}})}var ro=class{constructor(e,t){this.stream=e,this.hint=t?.hint??`binary`}},io=globalThis.Buffer,ao=!!io&&typeof io.from==`function`;function oo(e){if(e.length===0)return``;if(ao)return io.from(e).toString(`base64`);let t=32768,n=[];for(let r=0;r<e.length;r+=t){let i=e.subarray(r,r+t);n.push(String.fromCharCode.apply(null,i))}return btoa(n.join(``))}function so(e){if(e.length===0)return new Uint8Array;
12if(ao){let t=io.from(e,`base64`);return new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}let t=atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return n}var co=Object.create(null),lo=Object.create(null),uo=e=>new ReadableStream({start(t){e.on({next(e){try{t.enqueue(so(e))}catch{}},throw(e){t.error(e)},return(){try{t.close()}catch{}}})}}),fo=new TextEncoder,po=e=>new ReadableStream({start(t){e.on({next(e){try{typeof e==`string`?t.enqueue(fo.encode(e)):t.enqueue(so(e.$b64))}catch{}},throw(e){t.error(e)},return(){try{t.close()}catch{}}})}}),mo=`(s=>new ReadableStream({start(c){s.on({next(b){try{const d=atob(b),a=new Uint8Array(d.length);for(let i=0;i<d.length;i++)a[i]=d.charCodeAt(i);c.enqueue(a)}catch(_){}},throw(e){c.error(e)},return(){try{c.close()}catch(_){}}})}}))`,ho=`(s=>{const e=new TextEncoder();return new ReadableStream({start(c){s.on({next(v){try{if(typeof v==='string'){c.enqueue(e.encode(v))}else{const d=atob(v.$b64),a=new Uint8Array(d.length);for(let i=0;i<d.length;i++)a[i]=d.charCodeAt(i);c.enqueue(a)}}catch(_){}},throw(x){c.error(x)},return(){try{c.close()}catch(_){}}})}})})`;function go(e){let t=hi(),n=e.getReader();return(async()=>{try{for(;;){let{done:e,value:r}=await n.read();if(e){t.return(void 0);break}t.next(oo(r))}}catch(e){t.throw(e)}finally{n.releaseLock()}})(),t}function F(e){let t=hi(),n=e.getReader(),r=new TextDecoder(`utf-8`,{fatal:!0});return(async()=>{try{for(;;){let{done:e,value:i}=await n.read();if(e){try{let e=r.decode();e.length>0&&t.next(e)}catch{}t.return(void 0);break}try{let e=r.decode(i,{stream:!0});e.length>0&&t.next(e)}catch{t.next({$b64:oo(i)})}}}catch(e){t.throw(e)}finally{n.releaseLock()}})(),t}var _o=ea({tag:`tss/RawStream`,extends:[ea({tag:`tss/RawStreamFactory`,test(e){return e===co},parse:{sync(e,t,n){return{}},async async(e,t,n){return{}},stream(e,t,n){return{}}},serialize(e,t,n){return mo},deserialize(e,t,n){return co}}),ea({tag:`tss/RawStreamFactoryText`,test(e){return e===lo},parse:{sync(e,t,n){return{}},async async(e,t,n){return{}},stream(e,t,n){return{}}},serialize(e,t,n){return ho},deserialize(e,t,n){return lo}})],test(e){return e instanceof ro},parse:{sync(e,t,n){let r=e.hint===`text`?lo:co;return{hint:t.parse(e.hint),factory:t.parse(r),stream:t.parse(hi())}},async async(e,t,n){let r=e.hint===`text`?lo:co,i=e.hint===`text`?F(e.stream):go(e.stream);return{hint:await t.parse(e.hint),factory:await t.parse(r),stream:await t.parse(i)}},stream(e,t,n){let r=e.hint===`text`?lo:co,i=e.hint===`text`?F(e.stream):go(e.stream);return{hint:t.parse(e.hint),factory:t.parse(r),stream:t.parse(i)}}},serialize(e,t,n){return`(`+t.serialize(e.factory)+`)(`+t.serialize(e.stream)+`)`},deserialize(e,t,n){let r=t.deserialize(e.stream);return t.deserialize(e.hint)===`text`?po(r):uo(r)}});function vo(e){return ea({tag:`tss/RawStream`,test:()=>!1,parse:{},serialize(){throw Error(`RawStreamDeserializePlugin.serialize should not be called. Client only deserializes.`)},deserialize(t,n,r){return e(typeof n?.deserialize==`function`?n.deserialize(t.streamId):t.streamId)}})}var I=ea({tag:`$TSR/Error`,test(e){return e instanceof Error},parse:{sync(e,t){return{message:t.parse(e.message)}},async async(e,t){return{message:await t.parse(e.message)}},stream(e,t){return{message:t.parse(e.message)}}},serialize(e,t){return`new Error(`+t.serialize(e.message)+`)`},deserialize(e,t){return Error(t.deserialize(e.message))}}),L={},yo=e=>new ReadableStream({start:t=>{e.on({next:e=>{try{t.enqueue(e)}catch{}},throw:e=>{t.error(e)},return:()=>{try{t.close()}catch{}}})}}),bo=ea({tag:`seroval-plugins/web/ReadableStreamFactory`,test(e){return e===L},parse:{sync(){return L},async async(){return await Promise.resolve(L)},stream(){return L}},serialize(){return yo.toString()},deserialize(){return L}});function xo(e){let t=hi(),n=e.getReader();async function r(){try{let e=await n.read();e.done?t.return(e.value):(t.next(e.value),await r())}catch(e){t.throw(e)}}return r().catch(()=>{}),t}var So=[I,_o,ea({tag:`seroval/plugins/web/ReadableStream`,extends:[bo],test(e){return typeof ReadableStream>`u`?!1:e instanceof ReadableStream},parse:{sync(e,t){return{factory:t.parse(L),stream:t.parse(hi())}},async async(e,t){return{factory:await t.parse(L),stream:await t.parse(xo(e))}},stream(e,t){return{factory:t.parse(L),stream:t.parse(xo(e))}}},serialize(e,t){return`(`+t.serialize(e.factory)+`)(`+t.serialize(e.stream)+`)`},deserialize(e,t){return yo(t.deserialize(e.stream))}})];function Co(){return[...(He()?.serializationAdapters)?.map(no)??[],...So]}var wo=new TextDecoder,To=new Uint8Array,Eo=16*1024*1024,R=32*1024*1024,Do=1024,Oo=1e5;function ko(e){let t=new Map,n=new Map,r=new Set,i=!1,a=null,o=0,s,c=new ReadableStream({start(e){s=e},cancel(){i=!0;try{a?.cancel()}catch{}
12t.forEach(e=>{try{e.error(Error(`Framed response cancelled`))}catch{}}),t.clear(),n.clear(),r.clear()}});function l(e){let i=n.get(e);if(i)return i;if(r.has(e))return new ReadableStream({start(e){e.close()}});if(n.size>=Do)throw Error(`Too many raw streams in framed response (max ${Do})`);let a=new ReadableStream({start(n){t.set(e,n)},cancel(){r.add(e),t.delete(e),n.delete(e)}});return n.set(e,a),a}function u(e){return l(e),t.get(e)}return(async()=>{let n=e.getReader();a=n;let c=[],l=0;function d(){if(l<9)return null;let e=c[0];if(e.length>=9)return{type:e[0],streamId:(e[1]<<24|e[2]<<16|e[3]<<8|e[4])>>>0,length:(e[5]<<24|e[6]<<16|e[7]<<8|e[8])>>>0};let t=new Uint8Array(9),n=0,r=9;for(let e=0;e<c.length&&r>0;e++){let i=c[e],a=Math.min(i.length,r);t.set(i.subarray(0,a),n),n+=a,r-=a}return{type:t[0],streamId:(t[1]<<24|t[2]<<16|t[3]<<8|t[4])>>>0,length:(t[5]<<24|t[6]<<16|t[7]<<8|t[8])>>>0}}function f(e){if(e===0)return To;let t=new Uint8Array(e),n=0,r=e;for(;r>0&&c.length>0;){let e=c[0];if(!e)break;let i=Math.min(e.length,r);t.set(e.subarray(0,i),n),n+=i,r-=i,i===e.length?c.shift():c[0]=e.subarray(i)}return l-=e,t}try{for(;;){let{done:e,value:a}=await n.read();if(i||e)break;if(a){if(l+a.length>R)throw Error(`Framed response buffer exceeded ${R} bytes`);for(c.push(a),l+=a.length;;){let e=d();if(!e)break;let{type:n,streamId:i,length:a}=e;if(n!==Re.JSON&&n!==Re.CHUNK&&n!==Re.END&&n!==Re.ERROR)throw Error(`Unknown frame type: ${n}`);if(n===Re.JSON){if(i!==0)throw Error(`Invalid JSON frame streamId (expected 0)`)}else if(i===0)throw Error(`Invalid raw frame streamId (expected non-zero)`);if(a>Eo)throw Error(`Frame payload too large: ${a} bytes (max ${Eo})`);let c=9+a;if(l<c)break;if(++o>Oo)throw Error(`Too many frames in framed response (max ${Oo})`);f(9);let p=f(a);switch(n){case Re.JSON:try{s.enqueue(wo.decode(p))}catch{}break;case Re.CHUNK:{let e=u(i);e&&e.enqueue(p);break}case Re.END:{let e=u(i);if(r.add(i),e){try{e.close()}catch{}t.delete(i)}break}case Re.ERROR:{let e=u(i);if(r.add(i),e){let n=wo.decode(p);e.error(Error(n)),t.delete(i)}break}}}}}if(l!==0)throw Error(`Incomplete frame at end of framed response`);try{s.close()}catch{}t.forEach(e=>{try{e.close()}catch{}}),t.clear()}catch(e){try{s.error(e)}catch{}t.forEach(t=>{try{t.error(e)}catch{}}),t.clear()}finally{try{n.releaseLock()}catch{}a=null}})(),{getOrCreateStream:l,jsonChunks:c}}var Ao=null;async function jo(e){e.length>0&&await Promise.allSettled(e)}var Mo=Object.prototype.hasOwnProperty;function No(e){for(let t in e)if(Mo.call(e,t))return!0;return!1}async function Po(e,t,n){Ao||=Co();let r=t[0],i=r.fetch??n,a=r.data instanceof FormData?`formData`:`payload`,o=r.headers?new Headers(r.headers):new Headers;if(o.set(`x-tsr-serverFn`,`true`),a===`payload`&&o.set(`accept`,`${Le}, application/x-ndjson, application/json`),r.method===`GET`){if(a===`formData`)throw Error(`FormData is not supported with GET requests`);let t=await Fo(r);if(t!==void 0){let n=Ge({payload:t});e.includes(`?`)?e+=`&${n}`:e+=`?${n}`}}let s;if(r.method===`POST`){let e=await Io(r);e?.contentType&&o.set(`content-type`,e.contentType),s=e?.body}return await Lo(async()=>i(e,{method:r.method,headers:o,signal:r.signal,body:s}))}async function Fo(e){let t=!1,n={};if(e.data!==void 0&&(t=!0,n.data=e.data),e.context&&No(e.context)&&(t=!0,n.context=e.context),t)return z(n)}async function z(e){return JSON.stringify(await Promise.resolve(eo(e,{plugins:Ao})))}async function Io(e){if(e.data instanceof FormData){let t;return e.context&&No(e.context)&&(t=await z(e.context)),t!==void 0&&e.data.set(Fe,t),{body:e.data}}let t=await Fo(e);if(t)return{body:t,contentType:`application/json`}}async function Lo(e){let t;try{t=await e()}catch(e){if(e instanceof Response)t=e;else throw console.log(e),e}if(t.headers.get(`x-tss-raw`)===`true`)return t;let r=t.headers.get(`content-type`);if(r||n(),t.headers.get(`x-tss-serialized`)){let e;if(r.includes(`application/x-tss-framed`)){if(Ve(r),!t.body)throw Error(`No response body for framed response`);let{getOrCreateStream:n,jsonChunks:i}=ko(t.body),a=[vo(n),...Ao||[]],o=new Map;e=await Ro({jsonStream:i,onMessage:e=>$a(e,{refs:o,plugins:a}),onError(e,t){console.error(e,t)}})}else if(r.includes(`application/json`)){let n=await t.json(),r=[];try{e=$a(n,{plugins:Ao})}finally{}await jo(r)}if(e||n(),e instanceof Error)throw e;return e}if(r.includes(`application/json`)){let e=await t.json(),n=tt(e);if(n)throw n;if(We(e))throw e;return e}if(!t.ok)throw Error(await t.text());return t}async function Ro({jsonStream:e,onMessage:t,onError:n}){let r=e.getReader(),{value:i,done:a}=await r.read();if(a||!i)throw Error(`Stream ended before first object`);let o=JSON.parse(i),s=!1,c=(async()=>{try{for(;;){let{value:e,done:i}=await r.read();if(i)break;if(e)try{let n=[];try{t(JSON.parse(e))}finally{}await jo(n)}catch(t){n?.(`Invalid JSON: ${e}`,t)}}}catch(e){s||n?.(`Stream processing error:`,e)}})(),l,u=[];try{l=t(o)}catch(e){throw s=!0,r.cancel().catch(()=>{}),e}return await jo(u),Promise.resolve(l).catch(()=>{s=!0,r.cancel().catch(()=>{})}),c.finally(()=>{try{r.releaseLock()}catch{}}),l}function zo(e){let t=`/_serverFn/`+e;return Object.assign((...e)=>{let n=He()?.serverFns?.fetch;return Po(t,e,n??fetch)},{url:t,serverFnMeta:{id:e},[Ie]:!0})}var Bo=to({key:`$TSS/serverfn`,test:e=>typeof e!=`function`||!(Ie in e)?!1:!!e[Ie],toSerializable:({serverFnMeta:e})=>({functionId:e.id}),fromSerializable:({functionId:e})=>zo(e)});function Vo(e){return e.replaceAll(`\0`,`/`).replaceAll(`�`,`/`)}function Ho(e,t){e.id=t.i,e.__beforeLoadContext=t.b,e.loaderData=t.l,e.
12status=t.s,e.ssr=t.ssr,e.updatedAt=t.u,e.error=t.e,t.g!==void 0&&(e.globalNotFound=t.g)}async function Uo(e){window.$_TSR||n();let t=e.options.serializationAdapters;if(t?.length){let e=new Map;t.forEach(t=>{e.set(t.key,t.fromSerializable)}),window.$_TSR.t=e,window.$_TSR.buffer.forEach(e=>e())}window.$_TSR.initialized=!0,window.$_TSR.router||n();let r=window.$_TSR.router;r.matches.forEach(e=>{e.i=Vo(e.i)}),r.lastMatchId&&=Vo(r.lastMatchId);let{manifest:i,dehydratedData:a,lastMatchId:o}=r;e.ssr={manifest:i};let s=document.querySelector(`meta[property="csp-nonce"]`)?.content;e.options.ssr={nonce:s},await e.options.hydrate?.(a);let c=e.matchRoutes(e.stores.location.get()),l=Promise.all(c.map(t=>e.loadRouteChunk(e.looseRoutesById[t.routeId])));function u(t){let n=e.looseRoutesById[t.routeId].options.pendingMinMs??e.options.defaultPendingMinMs;if(n){let r=x();t._nonReactive.minPendingPromise=r,t._forcePending=!0,setTimeout(()=>{r.resolve(),e.updateMatch(t.id,e=>(e._nonReactive.minPendingPromise=void 0,{...e,_forcePending:void 0}))},n)}}function d(t){let n=e.looseRoutesById[t.routeId];n&&(n.options.ssr=t.ssr)}let f;c.forEach(e=>{let t=r.matches.find(t=>t.i===e.id);if(!t){e._nonReactive.dehydrated=!1,e.ssr=!1,d(e);return}Ho(e,t),d(e),e._nonReactive.dehydrated=e.ssr!==!1,(e.ssr===`data-only`||e.ssr===!1)&&f===void 0&&(f=e.index,u(e))}),e.stores.setMatches(c);let p=e.stores.matches.get(),m=e.stores.location.get();await Promise.all(p.map(async t=>{try{let n=e.looseRoutesById[t.routeId],r=p[t.index-1]?.context??e.options.context;if(n.options.context){let i={deps:t.loaderDeps,params:t.params,context:r??{},location:m,navigate:t=>e.navigate({...t,_fromLocation:m}),buildLocation:e.buildLocation,cause:t.cause,abortController:t.abortController,preload:!1,matches:c,routeId:n.id};t.__routeContext=n.options.context(i)??void 0}t.context={...r,...t.__routeContext,...t.__beforeLoadContext};let i={ssr:e.options.ssr,matches:p,match:t,params:t.params,loaderData:t.loaderData},a=await n.options.head?.(i),o=await n.options.scripts?.(i);t.meta=a?.meta,t.links=a?.links,t.headScripts=a?.scripts,t.styles=a?.styles,t.scripts=o}catch(e){if(We(e))t.error={isNotFound:!0},console.error(`NotFound error during hydration for routeId: ${t.routeId}`,e);else throw t.error=e,console.error(`Error during hydration for route ${t.routeId}:`,e),e}}));let h=c[c.length-1].id!==o;if(!c.some(e=>e.ssr===!1)&&!h)return c.forEach(e=>{e._nonReactive.dehydrated=void 0}),e.stores.resolvedLocation.set(e.stores.location.get()),l;let g=Promise.resolve().then(()=>e.load()).catch(e=>{console.error(`Error during router hydration:`,e)});if(h){let t=c[1];t||n(),u(t),t._displayPending=!0,t._nonReactive.displayPendingPromise=g,g.then(()=>{e.batch(()=>{e.stores.status.get()===`pending`&&(e.stores.status.set(`idle`),e.stores.resolvedLocation.set(e.stores.location.get())),e.updateMatch(t.id,e=>({...e,_displayPending:void 0,displayPendingPromise:void 0}))})})}return l}var B=ae(xe(),1),V=Oe();function Wo({promise:e}){if(y)return y(e);let t=hn(e);if(t[mn].status===`pending`)throw t;if(t[mn].status===`error`)throw t[mn].error;return t[mn].data}function Go(e){let t=(0,V.jsx)(Ko,{...e});return e.fallback?(0,V.jsx)(B.Suspense,{fallback:e.fallback,children:t}):t}function Ko(e){let t=Wo(e);return e.children(t)}function qo(e){let t=e.errorComponent??Yo;return(0,V.jsx)(Jo,{getResetKey:e.getResetKey,onCatch:e.onCatch,children:({error:n,reset:r})=>n?B.createElement(t,{error:n,reset:r}):e.children})}var Jo=class extends B.Component{constructor(...e){super(...e),this.state={error:null}}static getDerivedStateFromProps(e,t){let n=e.getResetKey();return t.error&&t.resetKey!==n?{resetKey:n,error:null}:{resetKey:n}}static getDerivedStateFromError(e){return{error:e}}reset(){this.setState({error:null})}componentDidCatch(e,t){this.props.onCatch&&this.props.onCatch(e,t)}render(){return this.props.children({error:this.state.error,reset:()=>{this.reset()}})}};function Yo({error:e}){let[t,n]=B.useState(!1);return(0,V.jsxs)(`div`,{style:{padding:`.5rem`,maxWidth:`100%`},children:[(0,V.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:`.5rem`},children:[(0,V.jsx)(`strong`,{style:{fontSize:`1rem`},children:`Something went wrong!`}),(0,V.jsx)(`button`,{style:{appearance:`none`,fontSize:`.6em`,border:`1px solid currentColor`,padding:`.1rem .2rem`,fontWeight:`bold`,borderRadius:`.25rem`},onClick:()=>n(e=>!e),children:t?`Hide Error`:`Show Error`})]}),(0,V.jsx)(`div`,{style:{height:`.25rem`}}),t?(0,V.jsx)(`div`,{children:(0,V.jsx)(`pre`,{style:{fontSize:`.7em`,border:`1px solid red`,borderRadius:`.25rem`,padding:`.3rem`,color:`red`,overflow:`auto`}
12,children:e.message?(0,V.jsx)(`code`,{children:e.message}):null})}):null]})}var Xo=B.createContext(void 0),Zo=B.createContext(void 0),H=(e=>(e[e.None=0]=`None`,e[e.Mutable=1]=`Mutable`,e[e.Watching=2]=`Watching`,e[e.RecursedCheck=4]=`RecursedCheck`,e[e.Recursed=8]=`Recursed`,e[e.Dirty=16]=`Dirty`,e[e.Pending=32]=`Pending`,e))(H||{});function Qo({update:e,notify:t,unwatched:n}){return{link:r,unlink:i,propagate:a,checkDirty:o,shallowPropagate:s};function r(e,t,n){let r=t.depsTail;if(r!==void 0&&r.dep===e)return;let i=r===void 0?t.deps:r.nextDep;if(i!==void 0&&i.dep===e){i.version=n,t.depsTail=i;return}let a=e.subsTail;if(a!==void 0&&a.version===n&&a.sub===t)return;let o=t.depsTail=e.subsTail={version:n,dep:e,sub:t,prevDep:r,nextDep:i,prevSub:a,nextSub:void 0};i!==void 0&&(i.prevDep=o),r===void 0?t.deps=o:r.nextDep=o,a===void 0?e.subs=o:a.nextSub=o}function i(e,t=e.sub){let r=e.dep,i=e.prevDep,a=e.nextDep,o=e.nextSub,s=e.prevSub;return a===void 0?t.depsTail=i:a.prevDep=i,i===void 0?t.deps=a:i.nextDep=a,o===void 0?r.subsTail=s:o.prevSub=s,s===void 0?(r.subs=o)===void 0&&n(r):s.nextSub=o,a}function a(e){let n=e.nextSub,r;top:do{let i=e.sub,a=i.flags;if(a&60?a&12?a&4?!(a&48)&&c(e,i)?(i.flags=a|40,a&=1):a=0:i.flags=a&-9|32:a=0:i.flags=a|32,a&2&&t(i),a&1){let t=i.subs;if(t!==void 0){let i=(e=t).nextSub;i!==void 0&&(r={value:n,prev:r},n=i);continue}}if((e=n)!==void 0){n=e.nextSub;continue}for(;r!==void 0;)if(e=r.value,r=r.prev,e!==void 0){n=e.nextSub;continue top}break}while(!0)}function o(t,n){let r,i=0,a=!1;top:do{let o=t.dep,c=o.flags;if(n.flags&16)a=!0;else if((c&17)==17){if(e(o)){let e=o.subs;e.nextSub!==void 0&&s(e),a=!0}}else if((c&33)==33){(t.nextSub!==void 0||t.prevSub!==void 0)&&(r={value:t,prev:r}),t=o.deps,n=o,++i;continue}if(!a){let e=t.nextDep;if(e!==void 0){t=e;continue}}for(;i--;){let i=n.subs,o=i.nextSub!==void 0;if(o?(t=r.value,r=r.prev):t=i,a){if(e(n)){o&&s(i),n=t.sub;continue}a=!1}else n.flags&=-33;n=t.sub;let c=t.nextDep;if(c!==void 0){t=c;continue top}}return a}while(!0)}function s(e){do{let n=e.sub,r=n.flags;(r&48)==32&&(n.flags=r|16,(r&6)==2&&t(n))}while((e=e.nextSub)!==void 0)}function c(e,t){let n=t.depsTail;for(;n!==void 0;){if(n===e)return!0;n=n.prevDep}return!1}}function $o(e,t,n){let r=typeof e==`object`,i=r?e:void 0;return{next:(r?e.next:e)?.bind(i),error:(r?e.error:t)?.bind(i),complete:(r?e.complete:n)?.bind(i)}}var es=[],ts=0,{link:ns,unlink:rs,propagate:is,checkDirty:as,shallowPropagate:os}=Qo({update(e){return e._update()},notify(e){es[cs++]=e,e.flags&=~H.Watching},unwatched(e){e.depsTail!==void 0&&(e.depsTail=void 0,e.flags=H.Mutable|H.Dirty,fs(e))}}),ss=0,cs=0,ls,us=0;function ds(e){try{++us,e()}finally{--us||ps()}}function fs(e){let t=e.depsTail,n=t===void 0?e.deps:t.nextDep;for(;n!==void 0;)n=rs(n,e)}function ps(){if(!(us>0)){for(;ss<cs;){let e=es[ss];es[ss++]=void 0,e.notify()}ss=0,cs=0}}function ms(e,t){let n=typeof e==`function`,r=e,i={_snapshot:n?void 0:e,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:n?H.None:H.Mutable,get(){return ls!==void 0&&ns(i,ls,ts),i._snapshot},subscribe(e){let t=$o(e),n={current:!1},r=hs(()=>{i.get(),n.current?t.next?.(i._snapshot):n.current=!0});return{unsubscribe:()=>{r.stop()}}},_update(e){let a=ls,o=t?.compare??Object.is;if(n)ls=i,++ts,i.depsTail=void 0;else if(e===void 0)return!1;n&&(i.flags=H.Mutable|H.RecursedCheck);try{let t=i._snapshot,a=typeof e==`function`?e(t):e===void 0&&n?r(t):e;return t===void 0||!o(t,a)?(i._snapshot=a,!0):!1}finally{ls=a,n&&(i.flags&=~H.RecursedCheck),fs(i)}}};return n?(i.flags=H.Mutable|H.Dirty,i.get=function(){let e=i.flags;if(e&H.Dirty||e&H.Pending&&as(i.deps,i)){if(i._update()){let e=i.subs;e!==void 0&&os(e)}}else e&H.Pending&&(i.flags=e&~H.Pending);return ls!==void 0&&ns(i,ls,ts),i._snapshot}):i.set=function(e){if(i._update(e)){let e=i.subs;e!==void 0&&(is(e),os(e),ps())}},i}function hs(e){let t=()=>{let t=ls;ls=n,++ts,n.depsTail=void 0,n.flags=H.Watching|H.RecursedCheck;try{return e()}finally{ls=t,n.flags&=~H.RecursedCheck,fs(n)}},n={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:H.Watching|H.RecursedCheck,notify(){let e=this.flags;e&H.Dirty||e&H.Pending&&as(this.deps,this)?t():this.flags=H.Watching},stop(){this.flags=H.None,this.depsTail=void 0,fs(this)}};return t(),n}var gs={get(){},subscribe(){return{unsubscribe(){}}}};function _s(e,t){let n=B.useRef();return r=>{let i=e?.select?e.select(r):r;return e?.structuralSharing??t.options.defaultStructuralSharing?n.current=we(n.current,i):i}}function vs(e){let t=C(),r=B.useContext(e.from?Zo:Xo),i=e.from?t.stores.getRouteMatchStore(e.from):t.stores.matchStores.get(r),a=_s(e,t),o=D(i??gs,e=>e?a(e):gs);if(o!==gs)return o;(e.shouldThrow??!0)&&n()}function ys(e){return vs({from:e.from,strict:e.strict,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.loaderData):t.loaderData})}function bs(e){let{select:t,...n}=e;return vs({...n,select:e=>t?t(e.loaderDeps):e.loaderDeps})}function xs(e){return vs({from:e.from,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,strict:e.strict,select:t=>{let n=e.strict===!1?t.params:t._strictParams;return e.select?e.select(n):n}})}function Ss(e){return vs({from:e.from,strict:e.strict,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.search):t.search})}function Cs(e){let t=C();return B.useCallback(n=>t.navigate({...n,from:n.from??e?.from}),[e?.from,t])}function ws(e){return vs({...e,select:t=>e.select?e.select(t.context):t.context})}var Ts=class extends Sn{constructor(e){super(e),this.useMatch=e=>vs({select:e?.select,from:this.id,structuralSharing:e?.structuralSharing}),this.useRouteContext=e=>ws({...e,from:this.id}),this.useSearch=e=>Ss({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useParams=e=>xs({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useLoaderDeps=e=>bs({...e,from:this.id}),this.useLoaderData=e=>ys({...e,from:this.id}),this.useNavigate=()=>Cs({from:this.fullPath}),this.Link=B.forwardRef((e,t)=>
12(0,V.jsx)(le,{ref:t,from:this.fullPath,...e}))}};function Es(e){return new Ts(e)}function Ds(){return e=>ks(e)}var Os=class extends Cn{constructor(e){super(e),this.useMatch=e=>vs({select:e?.select,from:this.id,structuralSharing:e?.structuralSharing}),this.useRouteContext=e=>ws({...e,from:this.id}),this.useSearch=e=>Ss({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useParams=e=>xs({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useLoaderDeps=e=>bs({...e,from:this.id}),this.useLoaderData=e=>ys({...e,from:this.id}),this.useNavigate=()=>Cs({from:this.fullPath}),this.Link=B.forwardRef((e,t)=>(0,V.jsx)(le,{ref:t,from:this.fullPath,...e}))}};function ks(e){return new Os(e)}function As(e){return new js(e,{silent:!0}).createRoute}var js=class{constructor(e,t){this.path=e,this.createRoute=e=>{let t=Es(e);return t.isRoot=!1,t},this.silent=t?.silent}};function Ms(e,t){let n,r,i,a,o=()=>(n||=e().then(e=>{n=void 0,r=e[t??`default`]}).catch(e=>{if(i=e,re(i)&&i instanceof Error&&typeof window<`u`&&typeof sessionStorage<`u`){let e=`tanstack_router_reload:${i.message}`;sessionStorage.getItem(e)||(sessionStorage.setItem(e,`1`),a=!0)}}),n),s=function(e){if(a)throw window.location.reload(),new Promise(()=>{});if(i)throw i;if(!r)if(y)y(o());else throw o();return B.createElement(r,e)};return s.preload=o,s}function Ns(e){let t=C(),n=`not-found-${D(t.stores.location,e=>e.pathname)}-${D(t.stores.status,e=>e)}`;return(0,V.jsx)(qo,{getResetKey:()=>n,onCatch:(t,n)=>{if(We(t))e.onCatch?.(t,n);else throw t},errorComponent:({error:t})=>{if(We(t))return e.fallback?.(t);throw t},children:e.children})}function Ps(){return(0,V.jsx)(`p`,{children:`Not Found`})}function Fs(e){return(0,V.jsx)(V.Fragment,{children:e.children})}function Is(e,t,n){return t.options.notFoundComponent?(0,V.jsx)(t.options.notFoundComponent,{...n}):e.options.defaultNotFoundComponent?(0,V.jsx)(e.options.defaultNotFoundComponent,{...n}):(0,V.jsx)(Ps,{})}var Ls=(e,t)=>e.routeId===t.routeId&&e._displayPending===t._displayPending,Rs=(e,t)=>e[0]===t[0]&&e[1]===t[1],zs=B.memo(function({matchId:e}){let t=C(),r=t.stores.matchStores.get(e);r||n();let i=D(t.stores.loadedAt,e=>e),a=D(r,e=>e,Ls);return(0,V.jsx)(Bs,{router:t,matchId:e,resetKey:i,matchState:B.useMemo(()=>{let e=a.routeId,n=t.routesById[e].parentRoute?.id;return{routeId:e,ssr:a.ssr,_displayPending:a._displayPending,parentRouteId:n}},[a._displayPending,a.routeId,a.ssr,t.routesById])})});function Bs({router:e,matchId:t,resetKey:n,matchState:r}){let i=e.routesById[r.routeId],a=i.options.pendingComponent??e.options.defaultPendingComponent,o=a?(0,V.jsx)(a,{}):null,s=i.options.errorComponent??e.options.defaultErrorComponent,c=i.options.onCatch??e.options.defaultOnCatch,l=i.isRoot?i.options.notFoundComponent??e.options.notFoundRoute?.options.component:i.options.notFoundComponent,u=r.ssr===!1||r.ssr===`data-only`,d=(!i.isRoot||i.options.wrapInSuspense||u)&&(i.options.wrapInSuspense??a??(i.options.errorComponent?.preload||u))?B.Suspense:Fs,f=s?qo:Fs,p=l?Ns:Fs;return(0,V.jsxs)(i.isRoot?i.options.shellComponent??Fs:Fs,{children:[(0,V.jsx)(Xo.Provider,{value:t,children:(0,V.jsx)(d,{fallback:o,children:(0,V.jsx)(f,{getResetKey:()=>n,errorComponent:s||Yo,onCatch:(e,t)=>{if(We(e))throw e.routeId??=r.routeId,e;c?.(e,t)},children:(0,V.jsx)(p,{fallback:e=>{if(e.routeId??=r.routeId,!l||e.routeId&&e.routeId!==r.routeId||!e.routeId&&!i.isRoot)throw e;return B.createElement(l,e)},children:u||r._displayPending?(0,V.jsx)(ke,{fallback:o,children:(0,V.jsx)(Hs,{matchId:t})}):(0,V.jsx)(Hs,{matchId:t})})})})}),r.parentRouteId===`__root__`?(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(Vs,{}),(e.options.scrollRestoration,null)]}):null]})}function Vs(){let e=C(),t=B.useRef();return r(()=>{let n=e.stores.resolvedLocation.get(),r=t.current;n&&(!r||r.href!==n.href)&&e.emit({type:`onRendered`,...Vt(e.stores.location.get(),r??n)}),t.current=n},[D(e.stores.resolvedLocation,e=>e?.state.__TSR_key),e]),null}var Hs=B.memo(function({matchId:e}){let t=C(),r=(e,n)=>t.getMatch(e.id)?._nonReactive[n]??e._nonReactive[n],i=t.stores.matchStores.get(e);i||n();let a=D(i,e=>e),o=a.routeId,s=t.routesById[o],c=B.useMemo(()=>{let e=(t.routesById[o].options.remountDeps??t.options.defaultRemountDeps)?.({routeId:o,loaderDeps:a.loaderDeps,params:a._strictParams,search:a._strictSearch});return e?JSON.stringify(e):void 0},[o,a.loaderDeps,a._strictParams,a._strictSearch,t.options.defaultRemountDeps,t.routesById]),l=B.useMemo(()=>{let e=s.options.component??t.options.defaultComponent;return e?(0,V.jsx)(e,{},c):(0,V.jsx)(Us,{})},[c,s.options.component,t.options.defaultComponent]);if(a._displayPending)throw r(a,`displayPendingPromise`);if(a._forcePending)throw r(a,`minPendingPromise`);
12if(a.status===`pending`){let e=s.options.pendingMinMs??t.options.defaultPendingMinMs;if(e){let n=t.getMatch(a.id);if(n&&!n._nonReactive.minPendingPromise){let t=x();n._nonReactive.minPendingPromise=t,setTimeout(()=>{t.resolve(),n._nonReactive.minPendingPromise=void 0},e)}}throw r(a,`loadPromise`)}if(a.status===`notFound`)return We(a.error)||n(),Is(t,s,a.error);if(a.status===`redirected`)throw et(a.error)||n(),r(a,`loadPromise`);if(a.status===`error`)throw a.error;return l}),Us=B.memo(function(){let e=C(),t=B.useContext(Xo),r,i=!1,a;{let n=t?e.stores.matchStores.get(t):void 0;[r,i]=D(n,e=>[e?.routeId,e?.globalNotFound??!1],Rs),a=D(e.stores.matchesId,e=>e[e.findIndex(e=>e===t)+1])}let o=r?e.routesById[r]:void 0,s=e.options.defaultPendingComponent?(0,V.jsx)(e.options.defaultPendingComponent,{}):null;if(i)return o||n(),Is(e,o,void 0);if(!a)return null;let c=(0,V.jsx)(zs,{matchId:a});return r===`__root__`?(0,V.jsx)(B.Suspense,{fallback:s,children:c}):c});function Ws(){let e=C(),t=B.useRef({router:e,mounted:!1}),[n,i]=B.useState(!1),a=D(e.stores.isLoading,e=>e),o=D(e.stores.hasPending,e=>e),s=De(a),c=a||n||o,l=De(c),u=a||o,d=De(u);return e.startTransition=e=>{i(!0),B.startTransition(()=>{e(),i(!1)})},B.useEffect(()=>{let t=e.history.subscribe(e.load),n=e.buildLocation({to:e.latestLocation.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});return p(e.latestLocation.publicHref)!==p(n.publicHref)&&e.commitLocation({...n,replace:!0}),()=>{t()}},[e,e.history]),r(()=>{typeof window<`u`&&e.ssr||t.current.router===e&&t.current.mounted||(t.current={router:e,mounted:!0},(async()=>{try{await e.load()}catch(e){console.error(e)}})())},[e]),r(()=>{s&&!a&&e.emit({type:`onLoad`,...Vt(e.stores.location.get(),e.stores.resolvedLocation.get())})},[s,e,a]),r(()=>{d&&!u&&e.emit({type:`onBeforeRouteMount`,...Vt(e.stores.location.get(),e.stores.resolvedLocation.get())})},[u,d,e]),r(()=>{if(l&&!c){let t=Vt(e.stores.location.get(),e.stores.resolvedLocation.get());e.emit({type:`onResolved`,...t}),ds(()=>{e.stores.status.set(`idle`),e.stores.resolvedLocation.set(e.stores.location.get())})}},[c,l,e]),null}function Gs(){let e=C(),t=e.routesById.__root__.options.pendingComponent??e.options.defaultPendingComponent,n=t?(0,V.jsx)(t,{}):null,r=(0,V.jsxs)(typeof document<`u`&&e.ssr?Fs:B.Suspense,{fallback:n,children:[(0,V.jsx)(Ws,{}),(0,V.jsx)(Ks,{})]});return e.options.InnerWrap?(0,V.jsx)(e.options.InnerWrap,{children:r}):r}function Ks(){let e=C(),t=D(e.stores.firstId,e=>e),n=D(e.stores.loadedAt,e=>e),r=t?(0,V.jsx)(zs,{matchId:t}):null;return(0,V.jsx)(Xo.Provider,{value:t,children:e.options.disableGlobalCatchBoundary?r:(0,V.jsx)(qo,{getResetKey:()=>n,errorComponent:Yo,onCatch:void 0,children:r})})}var qs=e=>({createMutableStore:ms,createReadonlyStore:ms,batch:ds}),Js=e=>new Ys(e),Ys=class extends Ut{constructor(e){super(e,qs)}};function Xs({router:e,children:t,...n}
12){ne(n)&&e.update({...e.options,...n,context:{...e.options.context,...n.context}});let r=(0,V.jsx)(Ee.Provider,{value:e,children:t});return e.options.Wrap?(0,V.jsx)(e.options.Wrap,{children:r}):r}function Zs({router:e,...t}){return(0,V.jsx)(Xs,{router:e,...t,children:(0,V.jsx)(Gs,{})})}function Qs(e,t){if(t)for(let[n,r]of Object.entries(t))n!==`suppressHydrationWarning`&&r!==void 0&&r!==!1&&e.setAttribute(n,typeof r==`boolean`?``:String(r))}function $s(e){let{attrs:t,children:n,nonce:r,preventScriptHoist:i}=e;switch(e.tag){case`title`:return(0,V.jsx)(`title`,{...t,suppressHydrationWarning:!0,children:n});case`meta`:return(0,V.jsx)(`meta`,{...t,suppressHydrationWarning:!0});case`link`:return(0,V.jsx)(`link`,{...t,precedence:t?.precedence??(t?.rel===`stylesheet`?`default`:void 0),nonce:r,suppressHydrationWarning:!0});case`style`:return e.inlineCss,(0,V.jsx)(`style`,{...t,dangerouslySetInnerHTML:{__html:n},nonce:r});case`script`:return(0,V.jsx)(ec,{attrs:t,preventScriptHoist:i,children:n});default:return null}}function ec({attrs:e,children:t,preventScriptHoist:n}){C();let r=oe(),i=typeof e?.type==`string`&&e.type!==``&&e.type!==`text/javascript`&&e.type!==`module`;if(B.useEffect(()=>{if(!i){if(e?.src){let t=(()=>{try{let t=document.baseURI||window.location.href;return new URL(e.src,t).href}catch{return e.src}})();for(let e of document.querySelectorAll(`script[src]`))if(e.src===t)return;let n=document.createElement(`script`);return Qs(n,e),document.head.appendChild(n),()=>n.remove()}if(typeof t==`string`){let n=typeof e?.type==`string`?e.type:`text/javascript`,r=typeof e?.nonce==`string`?e.nonce:void 0;for(let e of document.querySelectorAll(`script:not([src])`)){if(!(e instanceof HTMLScriptElement))continue;let i=e.getAttribute(`type`)??`text/javascript`,a=e.getAttribute(`nonce`)??void 0;if(e.textContent===t&&i===n&&a===r)return}let i=document.createElement(`script`);return i.textContent=t,Qs(i,e),document.head.appendChild(i),()=>i.remove()}}},[e,t,i]),i&&typeof t==`string`)return(0,V.jsx)(`script`,{...e,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:t}});if(!r){if(e?.src)return(0,V.jsx)(`script`,{...e,suppressHydrationWarning:!0});if(typeof t==`string`)return(0,V.jsx)(`script`,{...e,dangerouslySetInnerHTML:{__html:t},suppressHydrationWarning:!0})}return null}var tc=e=>{let t=C(),n=t.options.ssr?.nonce,r=D(t.stores.matches,e=>e.map(e=>e.meta).filter(e=>e!==void 0),s),i=B.useMemo(()=>{let e=[],t={},i;for(let a=r.length-1;a>=0;a--){let o=r[a];for(let r=o.length-1;r>=0;r--){let a=o[r];if(a)if(a.title)i||={tag:`title`,children:a.title};else if(`script:ld+json`in a)try{let t=JSON.stringify(a[`script:ld+json`]);e.push({tag:`script`,attrs:{type:`application/ld+json`},children:ye(t)})}catch{}else{let r=a.name??a.property;if(r){if(t[r])continue;t[r]=!0}e.push({tag:`meta`,attrs:{...a,nonce:n}})}}}return i&&e.push(i),n&&e.push({tag:`meta`,attrs:{property:`csp-nonce`,content:n}}),e.reverse(),e},[r,n]),a=D(t.stores.matches,e=>e.flatMap(e=>e.links??[]).filter(e=>e!==void 0).map(e=>({tag:`link`,attrs:{...e,nonce:n}})),s),o=D(t.stores.matches,r=>{let i=t.ssr?.manifest,a=[];return i?(r.forEach(t=>{i.routes[t.routeId]?.css?.forEach(t=>{let r=xn(t);a.push({tag:`link`,attrs:{rel:`stylesheet`,...r,crossOrigin:gn(e,`stylesheet`)??r.crossOrigin,suppressHydrationWarning:!0,nonce:n}})})}),i.inlineStyle&&a.push({tag:`style`,attrs:{...i.inlineStyle.attrs,nonce:n},children:i.inlineStyle.children,inlineCss:!0}),a):a},s),c=D(t.stores.matches,r=>{let i=[],a=t.ssr?.manifest;return a&&r.forEach(t=>{a.routes[t.routeId]?.preloads?.forEach(t=>{i.push({tag:`link`,attrs:{...vn(a,t,e),nonce:n}})})}),i},s),l=D(t.stores.matches,e=>e.flatMap(e=>e.styles??[]).filter(e=>e!==void 0).map(({children:e,...t})=>({tag:`style`,attrs:{...t,nonce:n},children:e})),s),u=D(t.stores.matches,e=>e.flatMap(e=>e.headScripts??[]).filter(e=>e!==void 0).map(({children:e,...t})=>({tag:`script`,attrs:{...t,nonce:n},children:e})),s),d=[];return bn(d,i),d.push(...c),bn(d,a),d.push(...o),bn(d,l),bn(d,u),d};function nc(e){let t=tc(e.assetCrossOrigin),n=C().options.ssr?.nonce;return(0,V.jsx)(V.Fragment,{children:t.map(e=>(0,B.createElement)($s,{...e,key:`tsr-meta-${JSON.stringify(e)}`,nonce:n}))})}var rc=()=>{let e=C(),t=e.options.ssr?.nonce,n=n=>{let r=[],i=e.ssr?.manifest;if(!i)return[];for(let e of n){let n=i.routes[e.routeId]?.scripts;if(n)for(let e of n)r.push({tag:`script`,attrs:{...e.attrs,nonce:t},children:e.children,...typeof e.attrs?.src==`string`?{preventScriptHoist:!0}:{}})}return r},r=e=>e.map(e=>
12e.scripts).flat(1).filter(Boolean).map(({children:e,...n})=>({tag:`script`,attrs:{...n,suppressHydrationWarning:!0,nonce:t},children:e})),i=D(e.stores.matches,n,s);return ic(e,D(e.stores.matches,r,s),i)};function ic(e,t,n){let r=[...t,...n];return(0,V.jsx)(V.Fragment,{children:r.map((e,t)=>(0,B.createElement)($s,{...e,key:`tsr-scripts-${e.tag}-${t}`}))})}var U=(e,t)=>{let n={type:`request`,...t||e},r=e=>U({},Object.assign(n,{validator:e,inputValidator:e}));return{options:n,middleware:e=>U({},Object.assign(n,{middleware:e})),validator:r,inputValidator:r,client:e=>U({},Object.assign(n,{client:e})),server:e=>U({},Object.assign(n,{server:e}))}};function ac(e,t){for(let n=0,r=t.length;n<r;n++){let r=t[n];e.has(r)||(e.add(r),r.extends&&ac(e,r.extends))}}var oc=e=>({getOptions:async()=>{let t=await e();if(t.serializationAdapters){let e=new Set;ac(e,t.serializationAdapters),t.serializationAdapters=Array.from(e)}return t},createMiddleware:U}),sc=U(),cc=oc(()=>({requestMiddleware:[sc]})),lc=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},uc=new class extends lc{#e;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e();return window.addEventListener(`visibilitychange`,t,!1),()=>{window.removeEventListener(`visibilitychange`,t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(e=>{typeof e==`boolean`?this.setFocused(e):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e==`boolean`?this.#e:globalThis.document?.visibilityState!==`hidden`}},dc={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},fc=new class{#e=dc;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}};function pc(e){setTimeout(e,0)}var mc=typeof window>`u`||`Deno`in globalThis;function hc(){}function gc(e,t){return typeof e==`function`?e(t):e}function _c(e){return typeof e==`number`&&e>=0&&e!==1/0}function vc(e,t){return Math.max(e+(t||0)-Date.now(),0)}function yc(e,t){return typeof e==`function`?e(t):e}function bc(e,t){return typeof e==`function`?e(t):e}function xc(e,t){let{type:n=`all`,exact:r,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(o){if(r){if(t.queryHash!==Cc(o,t.options))return!1}else if(!Tc(t.queryKey,o))return!1}if(n!==`all`){let e=t.isActive();if(n===`active`&&!e||n===`inactive`&&e)return!1}return!(typeof s==`boolean`&&t.isStale()!==s||i&&i!==t.state.fetchStatus||a&&!a(t))}function Sc(e,t){let{exact:n,status:r,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(wc(t.options.mutationKey)!==wc(a))return!1}else if(!Tc(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function Cc(e,t){return(t?.queryKeyHashFn||wc)(e)}function wc(e){return JSON.stringify(e,(e,t)=>kc(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function Tc(e,t){return e===t?!0:typeof e==typeof t&&e&&t&&typeof e==`object`&&typeof t==`object`?Object.keys(t).every(n=>Tc(e[n],t[n])):!1}var Ec=Object.prototype.hasOwnProperty;function Dc(e,t,n=0){if(e===t)return e;if(n>500)return t;let r=Oc(e)&&Oc(t);if(!r&&!(kc(e)&&kc(t)))return t;let i=(r?e:Object.keys(e)).length,a=r?t:Object.keys(t),o=a.length,s=r?Array(o):{},c=0;for(let l=0;l<o;l++){let o=r?l:a[l],u=e[o],d=t[o];if(u===d){s[o]=u,(r?l<i:Ec.call(e,o))&&c++;continue}if(u===null||d===null||typeof u!=`object`||typeof d!=`object`){s[o]=d;continue}let f=Dc(u,d,n+1);s[o]=f,f===u&&c++}return i===o&&c===i?e:s}function Oc(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function kc(e){if(!Ac(e))return!1;let t=e.constructor;if(t===void 0)return!0;let n=t.prototype;return!(!Ac(n)||!n.hasOwnProperty(`isPrototypeOf`)||Object.getPrototypeOf(e)!==Object.prototype)}function Ac(e){return Object.prototype.toString.call(e)===`[object Object]`}function jc(e){return new Promise(t=>{fc.setTimeout(t,e)})}function Mc(e,t,n){return typeof n.structuralSharing==`function`?n.structuralSharing(e,t):n.structuralSharing===!1?t:Dc(e,t)}function Nc(e,t,n=0){let r=[...e,t];return n&&r.length>n?r.slice(1):r}function Pc(e,t,n=0){let r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Fc=Symbol();function Ic(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===Fc?()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function Lc(e,t,n){let r=!1,i;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(i??=t(),r?i:(r=!0,i.aborted?n():i.addEventListener(`abort`,n,{once:!0}),i))}),e}var Rc=(()=>{let e=()=>mc;return{isServer(){return e()},setIsServer(t){e=t}}})();function W(){let e,t,n=new Promise((n,r)=>{e=n,t=r});n.status=`pending`,n.catch(()=>{});function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.resolve=t=>{r({status:`fulfilled`,value:t}),e(t)},n.reject=e=>{r({status:`rejected`,reason:e}),t(e)},n}var zc=pc;function Bc(){let e=[],t=0,n=e=>{e()},r=e=>{e()},i=zc,a=r=>{t?e.push(r):i(()=>{n(r)})},o=()=>{let t=e;e=[],t.length&&i(()=>{r(()=>
12{t.forEach(e=>{n(e)})})})};return{batch:e=>{let n;t++;try{n=e()}finally{t--,t||o()}return n},batchCalls:e=>(...t)=>{a(()=>{e(...t)})},schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{i=e}}}var Vc=Bc(),Hc=new class extends lc{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e(!0),n=()=>e(!1);return window.addEventListener(`online`,t,!1),window.addEventListener(`offline`,n,!1),()=>{window.removeEventListener(`online`,t),window.removeEventListener(`offline`,n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#e}};function Uc(e){return Math.min(1e3*2**e,3e4)}function Wc(e){return(e??`online`)===`online`?Hc.isOnline():!0}var Gc=class extends Error{constructor(e){super(`CancelledError`),this.revert=e?.revert,this.silent=e?.silent}};function Kc(e){let t=!1,n=0,r,i=W(),a=()=>i.status!==`pending`,o=t=>{if(!a()){let n=new Gc(t);f(n),e.onCancel?.(n)}},s=()=>{t=!0},c=()=>{t=!1},l=()=>uc.isFocused()&&(e.networkMode===`always`||Hc.isOnline())&&e.canRun(),u=()=>Wc(e.networkMode)&&e.canRun(),d=e=>{a()||(r?.(),i.resolve(e))},f=e=>{a()||(r?.(),i.reject(e))},p=()=>new Promise(t=>{r=e=>{(a()||l())&&t(e)},e.onPause?.()}).then(()=>{r=void 0,a()||e.onContinue?.()}),m=()=>{if(a())return;let r,i=n===0?e.initialPromise:void 0;try{r=i??e.fn()}catch(e){r=Promise.reject(e)}Promise.resolve(r).then(d).catch(r=>{if(a())return;let i=e.retry??(Rc.isServer()?0:3),o=e.retryDelay??Uc,s=typeof o==`function`?o(n,r):o,c=i===!0||typeof i==`number`&&n<i||typeof i==`function`&&i(n,r);if(t||!c){f(r);return}n++,e.onFail?.(n,r),jc(s).then(()=>l()?void 0:p()).then(()=>{t?f(r):m()})})};return{promise:i,status:()=>i.status,cancel:o,continue:()=>(r?.(),i),cancelRetry:s,continueRetry:c,canStart:u,start:()=>(u()?m():p().then(m),i)}}var qc=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),_c(this.gcTime)&&(this.#e=fc.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Rc.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#e!==void 0&&(fc.clearTimeout(this.#e),this.#e=void 0)}};function Jc(e){return{onFetch:(t,n)=>{let r=t.options,i=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],o=t.state.data?.pageParams||[],s={pages:[],pageParams:[]},c=0,l=async()=>{let n=!1,l=e=>{Lc(e,()=>t.signal,()=>n=!0)},u=Ic(t.options,t.fetchOptions),d=async(e,r,i)=>{if(n)return Promise.reject(t.signal.reason);if(r==null&&e.pages.length)return Promise.resolve(e);let a=await u((()=>{let e={client:t.client,queryKey:t.queryKey,pageParam:r,direction:i?`backward`:`forward`,meta:t.options.meta};return l(e),e})()),{maxPages:o}=t.options,s=i?Pc:Nc;return{pages:s(e.pages,a,o),pageParams:s(e.pageParams,r,o)}};if(i&&a.length){let e=i===`backward`,t=e?Xc:Yc,n={pages:a,pageParams:o};s=await d(n,t(r,n),e)}else{let t=e??a.length;do{let e=c===0?o[0]??r.initialPageParam:Yc(r,s);if(c>0&&e==null)break;s=await d(s,e),c++}while(c<t)}return s};t.options.persister?t.fetchFn=()=>t.options.persister?.(l,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=l}}}function Yc(e,{pages:t,pageParams:n}){let r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function Xc(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var Zc=class extends qc{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e){super(),this.#s=!1,this.#o=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#i=e.client,this.#r=this.#i.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=el(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#e}get promise(){return this.#a?.promise}setOptions(e){if(this.options={...this.#o,...e},e?._type&&(this.#e=e._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){let e=el(this.options);e.data!==void 0&&(this.setState($c(e.data,e.dataUpdatedAt)),this.#t=e)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus===`idle`&&this.#r.remove(this)}setData(e,t){let n=Mc(this.state.data,e,this.options);return this.#l({data:n,type:`success`,dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e){this.#l({type:`setState`,state:e})}cancel(e){let t=this.#a?.promise;return this.#a?.cancel(e),t?t.then(hc).catch(hc):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>bc(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Fc||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdate
12Count>0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>yc(e.options.staleTime,this)===`static`):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e===`static`?!1:this.state.isInvalidated?!0:!vc(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#a?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#a?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#r.notify({type:`observerAdded`,query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#a&&(this.#s||this.#c()?this.#a.cancel({revert:!0}):this.#a.cancelRetry()),this.scheduleGc()),this.#r.notify({type:`observerRemoved`,query:this,observer:e}))}getObserversCount(){return this.observers.length}#c(){return this.state.fetchStatus===`paused`&&this.state.status===`pending`}invalidate(){this.state.isInvalidated||this.#l({type:`invalidate`})}async fetch(e,t){if(this.state.fetchStatus!==`idle`&&this.#a?.status()!==`rejected`){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#a)return this.#a.continueRetry(),this.#a.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let n=new AbortController,r=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#s=!0,n.signal)})},i=()=>{let e=Ic(this.options,t),n=(()=>{let e={client:this.#i,queryKey:this.queryKey,meta:this.meta};return r(e),e})();return this.#s=!1,this.options.persister?this.options.persister(e,n,this):e(n)},a=(()=>{let e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#i,state:this.state,fetchFn:i};return r(e),e})();(this.#e===`infinite`?Jc(this.options.pages):this.options.behavior)?.onFetch(a,this),this.#n=this.state,(this.state.fetchStatus===`idle`||this.state.fetchMeta!==a.fetchOptions?.meta)&&this.#l({type:`fetch`,meta:a.fetchOptions?.meta}),this.#a=Kc({initialPromise:t?.initialPromise,fn:a.fetchFn,onCancel:e=>{e instanceof Gc&&e.revert&&this.setState({...this.#n,fetchStatus:`idle`}),n.abort()},onFail:(e,t)=>{this.#l({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#l({type:`pause`})},onContinue:()=>{this.#l({type:`continue`})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0});try{let e=await this.#a.start();if(e===void 0)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#r.config.onSuccess?.(e,this),this.#r.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof Gc){if(e.silent)return this.#a.promise;if(e.revert){if(this.state.data===void 0)throw e;return this.state.data}}throw this.#l({type:`error`,error:e}),this.#r.config.onError?.(e,this),this.#r.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#l(e){let t=t=>{switch(e.type){case`failed`:return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case`pause`:return{...t,fetchStatus:`paused`};case`continue`:return{...t,fetchStatus:`fetching`};case`fetch`:return{...t,...Qc(t.data,this.options),fetchMeta:e.meta??null};case`success`:let n={...t,...$c(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:`idle`,fetchFailureCount:0,fetchFailureReason:null}};return this.#n=e.manual?n:void 0,n;case`error`:let r=e.error;return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:`idle`,status:`error`,isInvalidated:!0};case`invalidate`:return{...t,isInvalidated:!0};case`setState`:return{...t,...e.state}}};this.state=t(this.state),Vc.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#r.notify({query:this,type:`updated`,action:e})})}};function Qc(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Wc(t.networkMode)?`fetching`:`paused`,...e===void 0&&{error:null,status:`pending`}}}function $c(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:`success`}}function el(e){let t=typeof e.initialData==`function`?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt==`function`?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdate
12Count:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?`success`:`pending`,fetchStatus:`idle`}}var tl=class extends qc{#e;#t;#n;#r;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||nl(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:`observerAdded`,mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:`observerRemoved`,mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status===`pending`?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{this.#i({type:`continue`})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#r=Kc({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(Error(`No mutationFn found`)),onFail:(e,t)=>{this.#i({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#i({type:`pause`})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});let r=this.state.status===`pending`,i=!this.#r.canStart();try{if(r)t();else{this.#i({type:`pending`,variables:e,isPaused:i}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,n);let t=await this.options.onMutate?.(e,n);t!==this.state.context&&this.#i({type:`pending`,context:t,variables:e,isPaused:i})}let a=await this.#r.start();return await this.#n.config.onSuccess?.(a,e,this.state.context,this,n),await this.options.onSuccess?.(a,e,this.state.context,n),await this.#n.config.onSettled?.(a,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(a,null,e,this.state.context,n),this.#i({type:`success`,data:a}),a}catch(t){try{await this.#n.config.onError?.(t,e,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,n)}catch(e){Promise.reject(e)}try{await this.#n.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,n)}catch(e){Promise.reject(e)}throw this.#i({type:`error`,error:t}),t}finally{this.#n.runNext(this)}}#i(e){let t=t=>{switch(e.type){case`failed`:return{...t,failureCount:e.failureCount,failureReason:e.error};case`pause`:return{...t,isPaused:!0};case`continue`:return{...t,isPaused:!1};case`pending`:return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:`pending`,variables:e.variables,submittedAt:Date.now()};case`success`:return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:`success`,isPaused:!1};case`error`:return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:`error`}}};this.state=t(this.state),Vc.batch(()=>{this.#t.forEach(t=>{t.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:`updated`,action:e})})}};function nl(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:`idle`,variables:void 0,submittedAt:0}}var rl=class extends lc{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(e,t,n){let r=new tl({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#e.add(e);let t=il(e);if(typeof t==`string`){let n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:`added`,mutation:e})}remove(e){if(this.#e.delete(e)){let t=il(e);if(typeof t==`string`){let n=this.#t.get(t);if(n)if(n.length>1){let t=n.indexOf(e);t!==-1&&n.splice(t,1)}else n[0]===e&&this.#t.delete(t)}}this.notify({type:`removed`,mutation:e})}canRun(e){let t=il(e);if(typeof t==`string`){let n=this.#t.get(t)?.find(e=>
vendor: 4,250 bytes, line 12
12e.state.status===`pending`);return!n||n===e}else return!0}runNext(e){let t=il(e);return typeof t==`string`?(this.#t.get(t)?.find(t=>t!==e&&t.state.isPaused))?.continue()??Promise.resolve():Promise.resolve()}clear(){Vc.batch(()=>{this.#e.forEach(e=>{this.notify({type:`removed`,mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>Sc(t,e))}findAll(e={}){return this.getAll().filter(t=>Sc(e,t))}notify(e){Vc.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return Vc.batch(()=>Promise.all(e.map(e=>e.continue().catch(hc))))}};function il(e){return e.options.scope?.id}var al=class extends lc{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){let r=t.queryKey,i=t.queryHash??Cc(r,t),a=this.get(i);return a||(a=new Zc({client:e,queryKey:r,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(a)),a}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:`added`,query:e}))}remove(e){let t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:`removed`,query:e}))}clear(){Vc.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>xc(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>xc(e,t)):t}notify(e){Vc.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){Vc.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){Vc.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},ol=class{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e={}){this.#e=e.queryCache||new al,this.#t=e.mutationCache||new rl,this.#n=e.defaultOptions||{},this.#r=new Map,this.#i=new Map,this.#a=0}mount(){this.#a++,this.#a===1&&(this.#o=uc.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=Hc.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#a--,this.#a===0&&(this.#o?.(),this.#o=void 0,this.#s?.(),this.#s=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:`fetching`}).length}isMutating(e){return this.#t.findAll({...e,status:`pending`}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#e.build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(yc(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let r=this.defaultQueryOptions({queryKey:e}),i=this.#e.get(r.queryHash)?.state.data,a=gc(t,i);if(a!==void 0)return this.#e.build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return Vc.batch(()=>this.#e.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){let t=this.#e;Vc.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#e;return Vc.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:`active`,...e},t)))}cancelQueries(e,t={}){let n={revert:!0,...t},r=Vc.batch(()=>this.#e.findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(hc).catch(hc)}invalidateQueries(e,t={}){return Vc.batch(()=>(this.#e.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType===`none`?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??`active`},t)))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0},r=Vc.batch(()=>this.#e.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(hc)),e.state.fetchStatus===`paused`?Promise.resolve():t}));return Promise.all(r).then(hc)}fetchQuery(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t);return n.isStaleByTime(yc(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}
12prefetchQuery(e){return this.fetchQuery(e).then(hc).catch(hc)}fetchInfiniteQuery(e){return e._type=`infinite`,this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(hc).catch(hc)}ensureInfiniteQueryData(e){return e._type=`infinite`,this.ensureQueryData(e)}resumePausedMutations(){return Hc.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(wc(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#r.values()],n={};return t.forEach(t=>{Tc(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#i.set(wc(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#i.values()],n={};return t.forEach(t=>{Tc(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||=Cc(t.queryKey,t),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!==`always`),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode=`offlineFirst`),t.queryFn===Fc&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},sl=B.createContext(void 0),cl=({client:e,children:t})=>(B.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,V.jsx)(sl.Provider,{value:e,children:t})),G=`/assets/styles-Bi5lCyHo.css`,ll=new URL(`https://www.enrapture.world`);if(ll.protocol!==`https:`||ll.username||ll.password||ll.pathname!==`/`||ll.search||ll.hash)throw Error(`VITE_SITE_URL must be an HTTPS origin without a path, query, credentials, or fragment`);var ul=ll.origin;function dl(e){return new URL(e,`${ul}/`).href}function fl(e){let t=/^(January|February|March|April|May|June|July|August|September|October|November|December) (\d{1,2}), (\d{4})$/.exec(e);if(!t)return;let n=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`].indexOf(t[1])+1,r=`${t[3]}-${String(n).padStart(2,`0`)}-${t[2].padStart(2,`0`)}`,i=new Date(`${r}T00:00:00Z`);return Number.isFinite(i.valueOf())&&i.toISOString().slice(0,10)===r?r:void 0}function pl(e){return JSON.stringify(e).replace(/</g,`\\u003c`)}function ml(e,t,n,r=`website`){let i=dl(n);return{meta:[{title:e},{name:`description`,content:t},{property:`og:title`,content:e},{property:`og:description`,content:t},{property:`og:type`,content:r},{property:`og:url`,content:i},{name:`twitter:card`,content:`summary_large_image`},{name:`twitter:title`,content:e},{name:`twitter:description`,content:t}],links:[{rel:`canonical`,href:i}]}}function hl(){return(0,V.jsx)(`div`,{className:`flex min-h-screen items-center justify-center bg-background px-4`,children:(0,V.jsxs)(`div`,{className:`max-w-md text-center`,children:[(0,V.jsx)(`h1`,{className:`text-7xl font-bold text-foreground`,children:`404`}),(0,V.jsx)(`h2`,{className:`mt-4 text-xl font-semibold text-foreground`,children:`Page not found`}),(0,V.jsx)(`p`,{className:`mt-2 text-sm text-muted-foreground`,children:`The page you're looking for doesn't exist or has been moved.`}),(0,V.jsx)(`div`,{className:`mt-6`,children:(0,V.jsx)(le,{to:`/`,className:`inline-flex items-center justify-center rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground transition-colors hover:bg-primary/90`,children:`Go home`})})]})})}function gl({error:e,reset:t}){console.error(e);let n=C();return(0,V.jsx)(`div`,{className:`flex min-h-screen items-center justify-center bg-background px-4`,children:(0,V.jsxs)(`div`,{className:`max-w-md text-center`,children:[(0,V.jsx)(`h1`,{className:`text-xl font-semibold tracking-tight text-foreground`,children:`This page didn't load`}),(0,V.jsx)(`p`,{className:`mt-2 text-sm text-muted-foreground`,children:`Something went wrong on our end. You can try refreshing or head back home.`}),(0,V.jsxs)(`div`,{className:`mt-6 flex flex-wrap justify-center gap-2`,children:[(0,V.jsx)(`button`,{onClick:()=>{n.invalidate(),t()},className:`inline-flex items-center justify-center rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground transition-colors hover:bg-primary/90`,children:`Try again`}),(0,V.jsx)(`a`,{href:`/`,className:`inline-flex items-center justify-center rounded-md border border-input bg-background px-4 py-2 text-sm font-medium text-foreground transition-colors hover:bg-accent`,children:`Go home`})]})]})})}var _l=Ds()({head:()=>({meta:[{charSet:`utf-8`},{name:`viewport`,content:`width=device-width, initial-scale=1`},{title:`Enrapture â Reality. Broken.`},{name:`description`,content:`Game-centric brand development & marketing. A virtual-world native team building immersive, creator-economy-first experiences across the metaverse.`},{name:`author`,content:`Enrapture`},{property:`og:title`,content:`Enrapture â Reality. Broken.`},{property:`og:description`,content:`Game-centric brand development & marketing. A virtual-world native team building immersive, creator-economy-first experiences across the metaverse.`},{property:`og:type`,content:`website`},{name:`twitter:card`,content:`summary_large_image`},{name:`twitter:title`,content:`Enrapture â Reality. Broken.`},{name:`twitter:description`,content:`Game-centric brand development & marketing. A virtual-world native team building immersive, creator-economy-first experiences across the metaverse.`},{property:`og:image`,content:dl(`/og-image.jpg`)},{name:`twitter:image`,content:dl(`/og-image.jpg`)},{property:`og:site_name`,content:`Enrapture`}],links:[{rel:`stylesheet`,href:G}
12,{rel:`icon`,type:`image/png`,href:`/favicon.png`},{rel:`preconnect`,href:`https://fonts.googleapis.com`},{rel:`preconnect`,href:`https://fonts.gstatic.com`,crossOrigin:`anonymous`},{rel:`stylesheet`,href:`https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap`}]}),shellComponent:vl,component:yl,notFoundComponent:hl,errorComponent:gl});function vl({children:e}){return(0,V.jsxs)(`html`,{lang:`en`,children:[(0,V.jsxs)(`head`,{children:[(0,V.jsx)(nc,{}),(0,V.jsx)(`noscript`,{children:(0,V.jsx)(`style`,{children:` 13 .hero-scroll { height: auto; } 14 .hero-stage { position: relative; height: auto; padding: 8rem 0 5rem; } 15 .hero-arrival, .hero-field, .hero-rings, .hero-bloom { display: none; } 16 .hero-mark { position: relative; transform: none; opacity: 1; } 17 .hero-emerge { position: relative; opacity: 1; transform: none; pointer-events: auto; margin-top: 2rem; } 18 `})})]}),(0,V.jsxs)(`body`,{children:[e,(0,V.jsx)(rc,{})]})]})}function yl(){let{queryClient:e}=_l.useRouteContext();return(0,V.jsxs)(cl,{client:e,children:[(0,V.jsx)(bl,{}),(0,V.jsx)(Us,{})]})}function bl(){return(0,B.useEffect)(()=>{if(window.location.hostname!==`www.enrapture.world`)return;let e=window,t=e.dataLayer??=[];t.push({"gtm.start":Date.now(),event:`gtm.js`});let n=document.createElement(`script`);n.async=!0,n.src=`https://www.googletagmanager.com/gtm.js?id=GTM-KG84NRQC`,document.head.appendChild(n);let r=document.createElement(`script`);r.async=!0,r.src=`https://www.googletagmanager.com/gtag/js?id=G-7Z4N00BMKT`,document.head.appendChild(r);let i=(...e)=>t.push(e);i(`js`,new Date),i(`config`,`G-7Z4N00BMKT`)},[]),null}var xl=`modulepreload`,Sl=function(e){return`/`+e},Cl={},wl=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=Sl(t,n),t in Cl)return;Cl[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`:xl,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)})},Tl=()=>wl(()=>import(`./terms-of-use-DjY4yx2b.js`),__vite__mapDeps([0,1,2,3])),El=`The terms governing your use of the Enrapture website, including intellectual property, liability, linking, and cookies.`,Dl=As(`/terms-of-use`)({head:()=>ml(`Terms of Use | Enrapture`,El,`/terms-of-use`,`article`),component:Ms(Tl,`component`)}),Ol=()=>wl(()=>import(`./privacy-policy-99vl_hyV.js`),__vite__mapDeps([4,1,2,3])),kl=`How Enrapture collects, uses, and protects information from visitors to enrapture.world and its related websites.`,Al=As(`/privacy-policy`)({head:()=>ml(`Privacy Policy | Enrapture`,kl,`/privacy-policy`,`article`),component:Ms(Ol,`component`)}),jl=()=>wl(()=>import(`./job-applicant-privacy-DThB-jrX.js`),__vite__mapDeps([5,1,2,3])),Ml=`How Enrapture SRL collects, uses, shares, and retains personal data of job applicants during the recruitment process.`,Nl=As(`/job-applicant-privacy`)({head:()=>ml(`Job Applicant Privacy Notice | Enrapture`,Ml,`/job-applicant-privacy`,`article`),component:Ms(jl,`component`)}),Pl=As(`/`)({head:()=>({...ml(`Enrapture | Roblox Development & Immersive Experiences`,`Enrapture builds Roblox games, immersive software and virtual experiences for brands, institutions and creators. Explore our studio, portfolio and creator tools.`,`/`),scripts:[{type:`application/ld+json`,children:pl({"@context":`https://schema.org`,"@type":`Organization`,"@id":`${ul}/#organization`,name:`Enrapture`,url:ul,logo:dl(`/favicon.png`),sameAs:[`https://www.linkedin.com/company/91663831/`]})}]}),component:Ms(()=>wl(()=>import(`./routes-DckV3YgC.js`),__vite__mapDeps([6,1,3,7])),`component`)}),Fl=As(`/articles/`)({head:()=>({meta:[{title:`Articles & Research - Enrapture`},{name:`description`,content:`Enrapture insights on virtual worlds, the metaverse economy and immersive technology, plus our peer-reviewed academic publications.`},{property:`og:title`,content:`Articles & Research - Enrapture`},{property:`og:description`,content:`Enrapture insights on virtual worlds, the metaverse economy and immersive technology, plus our peer-reviewed academic publications.`},{property:`og:type`,content:`website`},{property:`og:url`,content:dl(`/articles`)},{name:`twitter:card`,content:`summary_large_image`},{name:`twitter:title`,content:`Articles & Research - Enrapture`},{name:`twitter:description`,content:`Enrapture insights on virtual worlds, the metaverse economy and immersive technology, plus our peer-reviewed academic publications.`}],links:[{rel:`canonical`,href:dl(`/articles`)}]}),component:Ms(()=>wl(()=>import(`./articles.index-CaL7yrgo.js`),__vite__mapDeps([8,1,3,9])),`component`)}),Il=[{id:`flyvend-ecosystem`,title:`Flyvend Creator Ecosystem - Commerce Infrastru
18cture for Virtual Worlds`,cardTitle:`Flyvend Creator Ecosystem`,category:`Creator Commerce Ecosystem`,shortCopy:`Marketplace, analytics, and in-world vending infrastructure trusted by leading Second Life creators and brands.`,subtitle:`A three-pillar commerce platform - Flyvend Marketplace, Flyvend Analytics, and Flyvend In-World - built for professional Second Life creators and brands.`,hero:E,heroAlt:`Flyvend campaign visual featuring shoppers with Flyvend bags`,heroFit:`contain`,gallery:[],executiveSummary:`Flyvend is Enrapture's creator-commerce platform for Second Life, already trusted by a growing roster of premium creators and brands including CATWA, UNIVERSA, BABYcoutURE, Hands On Care, Hands On Mommy, Funsies, BeYou, SQUARE, AVAgirl, Luna Chelsea, Black Vision Gallery, C.Y Fashion, Savage, eXxEsS, AngelicUS, EFX Style, LiminaL, ONE SL, LOTUS, BLACK RIDGE, CIN, Allure Couture, InkMe, Sorumin, Vapor, AIne, Novara, and LVRS. 19 20The ecosystem is organized around three connected products - Flyvend Marketplace (a resident-native shopping destination), Flyvend Analytics (business intelligence), and Flyvend In-World (visitor tracking, vendors, and update delivery) - that together give creators the same operational tools any modern e-commerce business would expect.`,challenge:`Second Life creators run serious businesses, but discovery, sales data, visitor behavior, and customer relationships are scattered across main stores, in-world vendors, CasperVend, the Second Life Marketplace, event boxes, and blogger campaigns - often with little incentive systems to spotlight quality, novelty, trends and convenience. Buyers, meanwhile, lack a modern, resident-native shopping destination that matches the taste and quality of today's premium creator scene. 21 22Flyvend Marketplace answers that gap with a resident-native storefront experience built on the latest quality technology and an incentive system tuned for the three sides of the ecosystem - buyers, bloggers, and sellers - while Flyvend Analytics gives creators the operational clarity to grow behind it.`,solution:`Flyvend unifies discovery, analytics, and in-world commerce into a single operating layer, integrating with the tools creators already use rather than replacing them.`,solutionExtra:[{heading:`Flyvend Marketplace`,body:`A resident-native marketplace for premium Second Life goods - modern storefronts, curated discovery, event visibility, blogger tooling, and a shopping experience built on the latest quality technology, with incentives aligned for buyers, bloggers, and sellers.`},{heading:`Flyvend Analytics`,body:`A business intelligence layer covering revenue, orders, unique buyers, average order value, customer lifetime value, product performance, peak hours, and visitor conversion - with AI-generated CEO-style briefings and real-time alerts to Discord, Telegram, or webhooks. Integrates with Flyvend Marketplace, Second Life Marketplace, CasperVend, and in-world visitor data.`},{heading:`Flyvend In-World`,body:`In-world sign-up terminals, visitor tracking, Flyvend Vendors, and product update delivery through in-world drop boxes - connecting spatial behavior to commercial intelligence.`}],techHighlights:[`Resident-native marketplace with curated discovery, storefronts, and blogger tooling.`,`Three-sided incentive design for buyers, bloggers, and sellers.`,`Unified sales analytics across Flyvend Marketplace, Second Life Marketplace, and CasperVend.`,`Revenue, orders, unique buyers, AOV, and CLV in one performance view.`,`Customer segmentation, repeat-buyer analysis, and value-based cohorts.`,`In-world visitor tracking and conversion attribution.`,`AI-generated business briefings and growth recommendations.`,`Product-update campaigns delivered to customer inventories via in-world drop boxes.`,`Real-time sales and visitor alerts to Discord, Telegram, and custom webhooks.`],businessRelevance:`Flyvend positions Enrapture beyond studio work and into scalable virtual-world SaaS. The ecosystem demonstrates a deep understanding of how creator businesses actually operate - how they sell, how buyers discover, how events shape demand, and how data unlocks better decisions - and packages that understanding into a product used daily by top-tier Second Life brands.`,outcomes:[{label:`Trusted by 70+ premium brands`,body:`including CATWA, UNIVERSA, BABYcoutURE, Hands On Care, Funsies, LOTUS, Allure Couture, and more.`},{label:`Three integrated products`,body:`Marketplace, Analytics, and In-World working as one platform.`},{label:`Resident-native marketplace`,body:`modern shopping built for Second Life's premium creator scene.`},{label:`AI-powered decisions`,body:`CEO-style performance briefings and growth guid
22ance.`},{label:`Real-time operations`,body:`sales and visitor events streamed live to team channels.`}],closing:`Flyvend treats virtual-world businesses as real businesses - with the discovery, data, and customer intelligence they need to grow.`,cta:`Explore Flyvend`,ctaHref:`https://flyvend.com/`,videoEmbed:`7ERNbuDKopA`},{id:`meetwork-ai`,title:`AI Immersive Workrooms - MeetWork.AI`,cardTitle:`AI Immersive Workrooms`,category:`Metaverse-as-a-Service · Collaboration`,shortCopy:`Our European Metaverse-as-a-Service platform for training, healthcare simulation, and immersive team collaboration.`,subtitle:`MeetWork.AI is Enrapture's proprietary Metaverse-as-a-Service software, developed for internal team collaboration and deployed to 1,000+ users through selected B2B tracks and industry events.`,hero:`/articles/meetworkai-0e0ec215.webp`,heroAlt:`MeetWork.AI immersive workroom`,gallery:[{src:pe,alt:`MeetWork.AI beach-front workroom with AI generation controls`},{src:se,alt:`MeetWork.AI classroom with live presentation`},{src:`/articles/meetwork-ai-pic2-762c6792.webp`,alt:`MeetWork.AI development environment`}],executiveSummary:`MeetWork.AI is Enrapture's Metaverse-as-a-Service software solution, originally developed by our team for internal collaboration and selectively opened to over 1,000 users through B2B tracks and dedicated industry occasions. 23 24The platform underpins Enrapture's European-based development capability in immersive training and healthcare simulation, and has directly enabled our participation as a technology partner in five Horizon Europe consortium project proposals.`,challenge:`Remote and hybrid teams need collaboration environments that go beyond video calls - spaces that support presence, training, simulation, and cross-organisational work. At the same time, European institutions, universities, and consortia require immersive infrastru
24cture that respects privacy, ownership, and human-centric design, delivered by a partner with proven metaverse experience.`,solution:`MeetWork.AI provides immersive 3D meeting rooms, private virtual offices, AI-assisted NPC interaction, and custom-built environments for training and simulation. Because the platform is fully developed and operated by Enrapture in Europe, it can be tailored to the specific requirements of research consortia, healthcare partners, and enterprise clients - from clinical training simulations to strategic team offsites.`,techHighlights:[`Proprietary Metaverse-as-a-Service platform, fully developed in-house.`,`European-based development, hosting, and support.`,`Immersive training environments for enterprise and academic partners.`,`Healthcare simulation scenarios built with domain specialists.`,`AI-assisted NPC interaction and in-room generative tooling (ChatGPT, sky and image generation).`,`Private virtual offices, event spaces, and branded networking lands.`,`Deployed to 1,000+ users through curated B2B and industry tracks.`],businessRelevance:`MeetWork.AI is the technical foundation behind Enrapture's positioning in European R&D. It has supported our participation in five Horizon Europe consortium proposals and gives clients - from public institutions to enterprises - a credible, sovereign alternative for immersive training, simulation, and collaboration.`,outcomes:[{label:`5 Horizon Europe proposals`,body:`Enrapture contributed as a technology partner in consortium submissions.`},{label:`1,000+ users onboarded`,body:`through curated B2B tracks and industry occasions.`},{label:`European development`,body:`fully in-house engineering, hosting, and delivery.`},{label:`Training & healthcare simulation`,body:`immersive scenarios co-designed with domain experts.`}],closing:`MeetWork.AI turns Enrapture's metaverse experience into sovereign European infrastructure for training, simulation, and immersive collaboration.`,cta:`Request Meetwork Ai Access`,ctaSection:`let-talk`,videoEmbed:`WJOwaUpFtdE`},{id:`roblox-studio`,title:`Enrapture Roblox Studio - Worlds, UGC & Creator Launches`,cardTitle:`Enrapture Roblox Studio`,category:`Roblox · Game Worlds · UGC`,shortCopy:`Full-stack Roblox development: CATWA's Got Talent, Far Away Kingdom, and the ERSIN UGC collection launch.`,subtitle:`Original Roblox worlds and creator activations built end-to-end by Enrapture - from world design and scripting to UGC drops and launch strategy.`,hero:Te,heroAlt:`Far Away Kingdom - Magic Fights, Music, Roleplay`,heroFit:`contain`,gallery:[{src:Ce,alt:`Far Away Kingdom - Prince on airship, King's crown`,fit:`contain`},{src:be,alt:`CATWA's Got Talent - Judge, Perform & Level Up`,fit:`contain`},{src:he,alt:`CATWA's Got Talent - Clothing selection UI`,fit:`contain`},{src:ue,alt:`Far Away Kingdom - Cast at the castle gates`,fit:`contain`},{src:ce,alt:`ENRAPTURE x ERSIN Roblox UGC Collection`,fit:`contain`}],executiveSummary:`Enrapture Roblox Studio designs, builds, and launches playable worlds and creator activations on Roblox. Our portfolio includes three signature releases developed in-house: CATWA's Got Talent, Far Away Kingdom, and the ENRAPTURE x ERSIN UGC collection launch - each combining world design, scripting, avatar economy, and go-to-market strategy.`,challenge:`Roblox rewards experiences that feel native to the platform: playable, social, avatar-first, and driven by community. Brands and creators entering Roblox need a partner that understands game design as well as the UGC and avatar-identity economy that makes activations resonate with Gen Alpha and Gen Z audiences.`,solution:`Enrapture delivers the full Roblox stack - concept, world design, scripting, mini-games, UGC, store systems, launch storytelling, and creator partnerships - under one studio.`,solutionExtra:[{heading:`CATWA's Got Talent`,body:`A talent-show experience where players judge, perform, and level up through curated clothing and identity systems, developed for the launch event of one of Second Life's most iconic head brands into Roblox.`},{heading:`Far Away Kingdom`,body:`A magical roleplay and combat world - Magic Fights, Music, Roleplay - with progression, mini-games, concerts, and a story-led fantasy identity.`},{heading:`ENRAPTURE x ERSIN Collection`,body:`A Roblox UGC drop bringing a leading virtual-world creator's brand into Roblox through official items - Pink Bow Headband, Pink Hearted Purse, and Cat Backpack - designed to enchant and connect cross-platform audiences.`}],techHighlights:[`Original Roblox world design and Luau scripting.`,`UGC item design and avatar-item integration.`,`Progression, roleplay, and mini-game systems.`,`In-experience ec
24onomies with coins, rewards, and game passes.`,`Creator collaboration playbooks and launch storytelling.`,`Cross-platform creator activations bridging Second Life and Roblox audiences.`,`Safety-conscious design for younger audiences.`],businessRelevance:`The studio's shipped titles show that Enrapture can carry a Roblox project from concept to launch - building experiences that feel native to the platform, support UGC, and give creators and brands a credible route into the Roblox creator economy.`,outcomes:[{label:`3 signature Roblox launches`,body:`CATWA's Got Talent, Far Away Kingdom, and ENRAPTURE x ERSIN.`},{label:`Full-stack delivery`,body:`world design, scripting, UGC, systems, and launch.`},{label:`Creator-first activations`,body:`brand identity translated into playable avatar experiences.`},{label:`Cross-platform bridge`,body:`moving audiences between Second Life and Roblox.`}],closing:`Enrapture Roblox Studio combines worldbuilding, gameplay, and creator strategy into experiences designed for the culture of the platform.`,cta:`Build a Roblox experience`},{id:`immersive-concerts`,title:`Immersive Concerts - Dance to the Beat`,cardTitle:`Immersive Concerts`,category:`Live Virtual Entertainment`,shortCopy:`Groundbreaking live virtual-world concerts with professional dancers, singers, and cinematic staging.`,subtitle:`Enrapture-powered live virtual concerts featuring local musicians, NPC dancers, and cinematic staging across multiple worlds.`,hero:me,heroAlt:`Enrapture immersive concert stage`,heroPosition:`center 25%`,gallery:[{src:ve,alt:`Concert lighting and choreography`},{src:_e,alt:`Cross-platform virtual concert starring Manuel Bly & Ashley`,fit:`contain`}],executiveSummary:`At Enrapture we powered "Dance to the Beat" - immersive concerts featuring local musicians and NPC dance ensembles across multiple virtual worlds - and delivered a groundbreaking live virtual Christmas music show as a premium, ticketed experience. 25 26The production combined custom-built sets, advanced lighting, and special effects with the talents of professional choreographers, live singers, and actors performing in real time and interacting directly with the audience.`,challenge:`Live virtual entertainment often falls short of the emotional impact of physical shows. Delivering a premium, ticketed experience requires the staging quality of a real production - sets, lighting, choreography, and real-time performance - inside a virtual world, with an audience that expects to feel part of the moment.`,solution:`Enrapture produced end-to-e
26nd virtual concerts combining custom set design, an advanced lighting rig, choreographed NPC dancers, and live performers. The Christmas show delivered a fully staged, ticketed event with real-time interaction between artists and audience - proving virtual worlds as a serious entertainment platform.`,techHighlights:[`Custom-built stages and cinematic set design.`,`Advanced virtual lighting and special-effects systems.`,`Choreographed NPC dance ensembles.`,`Live singers, actors, and professional dance choreographers.`,`Real-time audience interaction inside the show.`,`Ticketed premium event production.`],businessRelevance:`The concert programme demonstrates Enrapture's ability to deliver premium, monetizable live entertainment inside virtual worlds - a template applicable to music launches, brand activations, festivals, and holiday campaigns.`,outcomes:[{label:`Premium ticketed show`,body:`a fully staged live Christmas concert delivered virtually.`},{label:`Multi-world tour`,body:`Dance to the Beat performances across multiple virtual environments.`},{label:`Real-time performance`,body:`live singers, actors, and choreographed dancers interacting with the audience.`},{label:`Cinematic staging`,body:`custom sets, advanced lighting, and special effects.`}],closing:`An unforgettable event that heralded the holiday spirit and demonstrated the immense possibility of the virtual world as an entertainment platform.`,cta:`Produce an immersive concert`},{id:`hands-on-care`,title:`Hands On Care Brand - The World's Largest Virtual Maternity Clinic`,cardTitle:`Hands On Care Brand`,category:`Healthcare Simulation · Second Life`,shortCopy:`The largest and most realistic virtual maternity clinic in the world, powering 70,000+ parents since 2014.`,subtitle:`Enrapture powers Hands On Care Maternity & Hands On Mommy - the largest and most realistic virtual maternity simulation in the world.`,hero:`/articles/c522a04d-0afe-45db-99af-7c2a4bb7e00d-8426ced3.webp`,heroAlt:`Hands On Care Maternity`,gallery:[{src:Se,alt:`Hands On Care Maternity Clinic - family moment at the clinic grounds`,fit:`cover`}],executiveSummary:`Enrapture is proud to power Hands On Care Maternity - the largest and most realistic virtual maternity clinic in the world since 2014. An exceptional team of real-life doctors and medical professionals works alongside our studio to create state-of-the-art medical simulations, delivering a world-class learning, training, and roleplay experience to a community of over 70,000 parents in Second Life. 27 28Custom-made equipment combined with our market-leading product creation brings an unparalleled level of realism. Hands On Mommy has been recognized by Ethan's Maternity Psychology Lab as the most comprehensive maternity simulation in a video game (jezebel.com/virtual-pregnancy-metaverse-1850443393). The programme has recently expanded to support other virtual clinics and real-life medical companies developing metaverse expertise, and to launch Hands On Weddings - showcased here: https://www.youtube.com/watch?v=XQAxDSMAMy0`,challenge:`Delivering credible medical simulation inside a consumer virtual world is uniquely demanding: it requires clinical accuracy, emotional sensitivity, avatar-level technical innovation, and long-term community trust - all sustained over more than a decade.`,solution:`Enrapture develops immersive experiences for Hands On Care alongside real-life medical professionals and translates their expertise into interactive systems: medically inspired appointments, health mechanics, HUD interfaces, and Animesh-based physical realism. The Twins Edition introduced a landmark technical innovation - two Animesh babies engineered to count as one attachment - keeping the experience accessible to all Second Life residents. The broader programme now extends into weddings, family life, and partnerships with external clinics.`,solutionExtra:[{heading:`Hands On Mommy - an interactive pregnancy journey`,body:`Hands On Mommy brings pregnancy roleplay to Second Life through animated Animesh babies, optional partner participation, and configurable belly-growth and movement animations. Parents can personalize the baby's appearance using traits from both avatars. 29 30Optional Active Roleplay pairs recurring tasks with a responsive health bar. Development updates, kick counting, a home Doppler, and hospital-bag preparation add detail to the journey. A dedicated Doctor HUD and Clinic Kit support virtual examinations, labor management, and clinic births, alongside an unassisted home-birth experience. 31 32Explore Hands On Mommy: https://www.handsoncarematernity.com/handsonmommy`}],techHighlights:[`Medical realism co-designed with real-life medical professionals.`,`70,000+ parents served in Second Life since 2014.`,`Custom medical equipment and market-leading product creation.`,`Animesh Twins engineered to count as a single attachment.`,`Bento skeleton experimentation for natural, non-mirrored animation.`,`HUD-driven appointments, health mechanics, and roleplay tasks.`,`Expansion into Hands On Weddings and cross-clinic partnerships.`,`Featured by Ethan's Maternity Psychology Lab and Jezebel.`],businessRelevance:`Hands On Care is a durable proof point that Enrapture can build virtual-world products with clinical credibility, deep community loyalty, and sustained commercial performance - a foun
32dation that now extends into healthcare simulation and metaverse consulting for medical companies.`,outcomes:[{label:`70,000+ parents`,body:`served across the Hands On Care community in Second Life.`},{label:`10+ years operating`,body:`the largest and most realistic virtual maternity clinic in the world.`},{label:`Animesh innovation`,body:`twins engineered as a single attachment for universal accessibility.`},{label:`Media recognition`,body:`featured by Ethan's Maternity Psychology Lab and Jezebel.`},{label:`Expansion`,body:`Hands On Weddings launched and partnerships with external clinics underway.`}],closing:`Hands On Care shows Enrapture's ability to build virtual-world products that are technically advanced, commercially successful, and emotionally meaningful. More at handsoncarematernity.com.`,cta:`Hire us for simulations`,videoEmbeds:[{id:`pHRS02mFwPA`,title:`Patch Linden (VP Product Operations, Second Life / Linden Lab) on Hands On Mommy & Maternity Roleplay`},{id:`XQAxDSMAMy0`,title:`Hands On Weddings showcase`},{id:`AZM9VVQOTYs`,title:`Hands On Care Maternity Clinic`}]},{id:`virtual-world-research`,title:`Virtual World Expert Research - Publications & EU Advisory`,cardTitle:`Virtual World Expert Research`,category:`Research · Advisory`,shortCopy:`European Commission advisory, peer-reviewed research, and contribution to the Belgian XR Report 2025.`,subtitle:`Enrapture's research and advisory footprint spans peer-reviewed publications, and national XR ecosystem reporting.`,hero:ie,heroAlt:`Researching virtual worlds and the 3D-AI internet`,gallery:[{alt:`Building Power, Safety, and Trust in Virtual Communities - Second Life and the Immersion Into Virtual Communities`,label:`Book · Building Power, Safety & Trust in Virtual Communities`,href:`https://www.amazon.com/dp/B0CJXH3S4Q`},{alt:`Exploring Team Collaboration in the New Metaverse (The 3D-AI Internet)`,label:`Peer-reviewed article · Exploring Team Collaboration in the New Metaverse`,href:`https://armgpublishing.com/journals/sec/volume-8-issue-2/article-19/`},{alt:`Creators at the Core - How Second Life and Roblox Empowered Creators in the Post-COVID Era`,label:`IEEE publication · Creators at the Core`,href:`https://ieeexplore.ieee.org/abstract/document/10945606/`},{alt:`Belgian XR Report 2025 by XR Valley and Deloitte`,label:`Belgian XR Report 2025 · XR Valley à Deloitte`,href:`https://www.datanews.be/`}],executiveSummary:`Enrapture's founder has written a number of academic books and articles as well as blog posts in the field of Web4.0, decentralization, virtual-worlds, Metaverse & digital news publishing. He also contributed personally as an external expert on virtual worlds for the European Commission / Horizon Europe, informing EU-level thinking on the immersive economy and next-generation internet and connecting virtual-world creators to institutions. 33 34Manuel & Jane focus on the company's research footprint also includes peer-reviewed publications and contributions to landmark national reporting on Europe's XR ecosystem.`,challenge:`Virtual world creators and the immersive creatory economy are still under-represented in industry research, serious policy, and academics. Credible European perspectives - grounded in operational experience are essential to shape the next decade of the 3D-AI internet.`,solution:`Enrapture invests in publishing, advisory, and expert contributions that connect operational metaverse experience with policy and academic audie
34nces - bringing evidence-based insight into virtual communities, team collaboration, creator empowerment, and Europe's XR ecosystem.`,techHighlights:[`European Commission / Horizon Europe external expert contribution on virtual worlds (Manuel Bolognesi).`,`Book: Building Power, Safety, and Trust in Virtual Communities - Second Life and the Immersion Into Virtual Communities.`,`Peer-reviewed article: Exploring Team Collaboration in the New Metaverse (The 3D-AI Internet).`,`IEEE publication: Creators at the Core - How Second Life and Roblox Empowered Creators in the Post-COVID Era.`,`Contribution to the Belgian XR Report 2025 by XR Valley and Deloitte, featured in Data News.`],businessRelevance:`Enrapture's research and advisory work signals credibility beyond commercial delivery: policymakers, universities, and industry partners can engage the company as a thought partner on Europe's immersive future. Enrapture is an official Virtual World Association partner and VRAR Industrial coalition member.`,outcomes:[{label:`European Commission advisory`,body:`external expert contribution on virtual worlds under Horizon Europe.`},{label:`Peer-reviewed publications`,body:`on team collaboration in the metaverse and creator empowerment on Second Life and Roblox.`},{label:`Book publication`,body:`on building power, safety, and trust in virtual communities.`},{label:`Belgian XR Report 2025`,body:`contribution to the joint XR Valley and Deloitte overview of Belgium's XR ecosystem.`}],closing:`Enrapture's research and advisory work anchors the company as a credible European voice on the immersive economy and the 3D-AI internet.`,cta:`Read the research`,ctaSection:`blogs`},{id:`pearls-in-policing`,title:`Pearls in Policing - Metaverse Set Development & Video Showcase`,cardTitle:`Pearls in Policing`,category:`Institutional · Metaverse Set Design`,shortCopy:`Metaverse set development and cinematic video production for the international Pearls in Policing conference.`,subtitle:`A metaverse set development and video showcase project produced for the international Pearls in Policing programme on next-generation policing.`,hero:`/assets/pearls-Cc1xefMw.jpg`,heroAlt:`Pearls in Policing Conference`,gallery:[],executiveSummary:`The Pearls in Policing engagement is a metaverse set development and video showcase project produced for the international Pearls in Policing programme, connected to senior thought leadership on next-generation policing, uncertainty, technology, trust, and legitimacy.`,challenge:`Senior policing and public-institution audiences need communication formats that make future-facing themes tangible without turning them into spectacle. The brief called for a metaverse set and cinematic showcase that would feel serious enough for an international leadership audience.`,solution:`Enrapture developed a bespoke metaverse set and produced a cinematic video showcase - combining 3D environment design, virtual staging, and narrative pacing - to translate a complex strategic agenda into a memorable immersive asset.`,techHighlights:[`Bespoke metaverse set development for institutional storytelling.`,`Cinematic video production and editing.`,`3D environment design tuned for serious strategic themes.`,`Visual framing for policing futures, trust, legitimacy, and technology.`,`Institutional tone suitable for senior international audiences.`],businessRelevance:`The engagement positions Enrapture for institutional, public-sector, and international-conference work, demonstrating that the studio can deliver serious subject matter alongside its entertainment and creator-economy portfolio.`,outcomes:[{label:`Metaverse set delivered`,body:`custom 3D environment built for the Pearls in Policing programme.`}
34,{label:`Cinematic video showcase`,body:`produced end-to-end by Enrapture.`},{label:`Institutional tone`,body:`premium, serious, and suitable for senior international audiences.`}],closing:`Pearls in Policing shows how Enrapture brings future-facing institutional narratives into immersive form - as strategic storytelling assets.`,cta:`Create an immersive experience`}],Ll=As(`/work/$slug`)({loader:({params:e})=>{let t=Il.find(t=>t.id===e.slug);if(!t)throw Ue();return{study:t}},head:({loaderData:e})=>{if(!e)return{meta:[{title:`Case study unavailable | Enrapture`},{name:`robots`,content:`noindex`}]};let{study:t}=e,n=dl(`/work/${t.id}`),r=`${t.cardTitle} | Enrapture Case Study`,i=t.hero?dl(t.hero):dl(`/og-image.jpg`);return{meta:[{title:r},{name:`description`,content:t.shortCopy},{property:`og:title`,content:r},{property:`og:description`,content:t.shortCopy},{property:`og:type`,content:`website`},{property:`og:url`,content:n},{property:`og:image`,content:i},{property:`og:image:alt`,content:t.heroAlt},{name:`twitter:card`,content:`summary_large_image`},{name:`twitter:title`,content:r},{name:`twitter:description`,content:t.shortCopy},{name:`twitter:image`,content:i}],links:[{rel:`canonical`,href:n}],scripts:[{type:`application/ld+json`,children:JSON.stringify({"@context":`https://schema.org`,"@type":`BreadcrumbList`,itemListElement:[{"@type":`ListItem`,position:1,name:`Enrapture`,item:`${ul}/`},{"@type":`ListItem`,position:2,name:t.cardTitle,item:n}]}).replace(/</g,`\\u003c`)}]}},component:Ms(()=>wl(()=>import(`./work._slug-BjOrfmwG.js`),__vite__mapDeps([10,1,3,11,7,9])),`component`)}),Rl=[{slug:`meetwork-ai-a-brussels-based-virtual-world-solution-for-professionals-reflecting-the-eu-metaverse-vision`,title:`Meetwork.AI: A Brussels-Based Virtual World Solution for Professionals, Reflecting the EU Metaverse Vision`,date:`June 9, 2025`,hero:`/articles/meetworkai-0e0ec215.webp`,tags:[`EU AI`,`Europe Metaverse`,`European Union Consultation`,`European Union Metaverse`,`Generative AI`],excerpt:`At Enrapture, a Brussels-based company, we developed Meetwork.AI as a distinctly European solution for virtual collaboration, reflecting Europeâs vision for the future of virtual worlds.`,blocks:[{type:`p`,text:`At Enrapture, a Brussels-based company, we developed Meetwork.AI as a distinctly European solution for virtual collaboration, reflecting [Europeâs vision for the future of virtual worlds](https://digital-strategy.ec.europa.eu/en/policies/virtual-worlds). By embedding the principles outlined in the [European Commissionâs strategy for virtual worlds](https://ec.europa.eu/commission/presscorner/detail/en/ip_23_3718), we offer an accessible and sustainable virtual workspace platform that aligns with European values of privacy, inclusivity, and innovation. As active members of the [VR/AR Industrial Coalition](https://digital-strategy.ec.europa.eu/en/news/vrar-industrial-coalition-statement-support-european-vrar-ecosystem), we are proud to contribute to the growth of Europeâs VR/AR ecosystem, providing small businesses and communities with the tools they need to thrive in the digital age. This article is to share more info on our journey with Meetwork.ai so far.`},{type:`p`,text:`Looking back on the release of Meetwork.AI, it is clear that our platform has improved significantly since its launch in 2024. With over 1,000 downloads, over 1.3 million impressions across platforms, and several updates, Meetwork.AI is now serving as our own online office, and helping small teams across different sectors enhance their virtual collaboration.`},{type:`p`,text:`Meetwork.AI offers an impressive range of options, starting with a large freemium version designed to represent the future of virtual meetings. This freemium model provides unlimited 3D Private Meetings without time restrictions or participant limits, letting users fully experience the future of communication through personalized avatars and AI-powered NPC interactions.`},{type:`p`,text:`For companies looking to create a more immersive virtual office, Meetwork.AIâs premium subscription unlocks AI-driven 3D offices that serve as a hub for enhanced collaboration and productivity. These offices are equipped with cutting-edge Collaborative Generative AI Tools, driving creativity and innovation as team members communicate naturally throughout the workday.`},{type:`image`,src:`/articles/meetwork-ai-pic2-762c6792.webp`,alt:``},{type:`p`,text:`Our Meetwork MaaS (Metaverse as a Service) takes virtual customization to the next level. Users can design their own office spaces, replicate physical locations as digital twins, or develop virtual networking lands and events by communicating with us. VR-first experiences are also possible under this scheme. The flexibility offered by Meetwork MaaS even allows for the creation of fully customized networking worlds, giving businesses the power to tailor their virtual environments to meet their specific needs.`},{type:`p`,text:`Simplicity is at the core of our design, and Meetwork.AIâs intuitive interface-with just five buttons-ensures that users of all backgrounds can navigate it with ease.`},{type:`p`,text:`Developed by a metaverse-native team, Meetwork.AI reflects Enraptureâs emphasis on collaboration, user ownership, and privacy-a contrast to the practices of larger tech companies. Our platform is committed to addressing privacy concerns by granting users ownership of their virtual spaces, promoting trust and transparency.`},{type:`image`,src:`/articles/meetwork-pic-ddf44617.webp`,alt:``},{type:`p`,text:`By focusing on local businesses and neighborhood communities, Meetwork.AI is designed to foster vibrant, smaller markets, al
34igning with our mission to prioritize user needs over the interests of tech giants. As Brussels Cityâs ambassador for the field of Metaverse and simulations, Enrapture remains committed to adhering to European regulations and values. Meetwork.AI not only complies with existing legal frameworks but also upholds sustainability and human-centric design, ensuring that our platform aligns with EU values as we continue to push boundaries in the virtual space.`},{type:`bullet`,text:`[Virtual worlds](https://www.europarl.europa.eu/news/en/press-room/20240112IPR16768/virtual-worlds-ensuring-eu-leadership-and-consistently-applying-existing-rules) should be based on EU values, in a sustainable and human-centric manner.`},{type:`bullet`,text:`Consistency with existing civil, digital, liability and intellectual property EU laws.`},{type:`bullet`,text:`Need to raise public awareness, improve digital skills and access to technologies.`},{type:`p`,text:`Recognizing the transformative potential of virtual living, we genuinely want to share with you the impactful change experience that the 3D virtual version of the internet can bring to you.`},{type:`p`,text:`The internet isnât a separate world - our contemporary lives are a tapestry of the digital and âin real life.â`},{type:`p`,text:`Embracing modern wellness principles, Meetwork.ai incorporates wellness offices designed to promote mental health and productivity. With nature-inspired settings and innovative features, these spaces offer a conducive environment for work and collaboration.`},{type:`image`,src:`/articles/img5-43da6710.webp`,alt:``},{type:`p`,text:`[Planet Wellbeing](https://www.shu.ac.uk/news/all-articles/latest-news/planet-wellbeing-launch) allows people to use physical movement to connect with others and enjoy fun and engaging activities like dancing and playing games in a virtual environment.`},{type:`p`,text:`Whether itâs product showcases, developer hubs, or future-tech forums, these immersive environments provide the perfect backdrop for networking and knowledge exchange.`},{type:`p`,text:`In todayâs world, where sustainability and environmental consciousness are more important than ever, virtual offices provide a smart solution. Gathering under one virtual roof aligns with our commitment to sustainability, offering a responsible alternative to physical office spaces.`}]},{slug:`living-in-the-virtual-two-worlds-one-life`,title:`Living in the Virtual â Two Worlds, One life`,date:`October 4, 2024`,hero:`/articles/williamowens-remove-headset-1b21a2f7-1f39-464a-afb3-7e2717ca2b53-1-fcb88497.webp`,tags:[],excerpt:`Is it possible to truly âexperience lifeâ in a virtual world?`,blocks:[{type:`p`,text:`Is it possible to truly âexperience lifeâ in a virtual world? After spending over 16 years immersed in virtual spaces, we are convinced that the answer is yes. But what exactly does living in the virtual mean? Is it simply spending hours a day glued to a device? And how does living in a virtual world differ from gaming?`},{type:`p`,text:`Letâs explore.`},{type:`heading`,text:`Gaming vs. Virtual Worlds: Whatâs the Difference?`},{type:`p`,text:`Most of us are familiar with popular games like _Grand Theft Auto_ (GTA) and _Fortnite_, where players can lose themselves for hours, if not days. Some might argue this is a form of living in the virtual world, especially since you can chat with friends or even get food delivered while playing. But is this truly living in the virtual sense, or just an extended escape?`},{type:`p`,text:`Now, consider virtual worlds like _Second Life_-places where thereâs no endgame, no missions or objectives, just a space to socialize, shop, and create.`},{type:`p`,text:`As Philip Rosedale, the founder of _Second Life_, once said, â [Iâm not building a game. Iâm building a new country.](https://www.quotetab.com/quote/by-philip-rosedale/im-not-building-a-game-im-building-a-new-country#google_vignette)â`},{type:`p`,text:`[His vision](https://www.theguardian.com/technology/2023/jun/10/who-needs-the-metaverse-meet-the-people-still-living-on-second-life)
34was for a user-driven world where creativity and identity exploration took center stage, not prescribed quests.`},{type:`p`,text:`Both gaming and virtual worlds have grown immensely, but how do they compare in terms of living a âvirtual lifeâ?`},{type:`heading`,text:`The Growth of Gaming`},{type:`p`,text:`[Gaming](https://truelist.co/blog/gaming-statistics/) is now the fastest-growing industry, even outpacing film and music. Video games span a huge variety of genres, from massive multiplayer online games (MMOGs) to casual and social games, each offering different levels of immersion.`},{type:`p`,text:`In the U.S., 63% of people regularly play casual games, while action and shooter games come next at 39%. The global gaming market is valued at a staggering $385 billion, with 85% of revenue coming from free-to-play games like _Fortnite_, that monetize through premium content.`},{type:`p`,text:`As gaming continues to grow, itâs evolved from a niche hobby into one of the largest entertainment markets worldwide. But is this really living in the virtual world, or simply part of a broader entertainment landscape?`},{type:`heading`,text:`The Rise of Virtual Worlds`},{type:`p`,text:`[Virtual worlds](https://learn.g2.com/metaverse-statistics) are becoming increasingly prominent, particularly as businesses target Gen Z and large corporations. Unlike traditional games, these spaces focus on social interaction, creativity, and commerce. From attending virtual concerts to shopping for digital goods, these worlds are quickly becoming integral parts of daily life.`},{type:`bullet`,text:`Hence, solutions like [www.meetwork.ai](http://www.meetwork.ai/) (which Enrapture developed).`},{type:`p`,text:`In 2023, we saw major events in the metaverse, including concerts from stars like Ariana Grande and Travis Scott. _Fortnite_âs event featuring Galactus attracted 15.3 million gamers, while Travis Scottâs concert drew a staggering 45.8 million attendees. These massive events showcased the growing potential of virtual worlds for social interaction and entertainment.`},{type:`p`,text:`Moreover, the first-ever Metaverse Beauty Week in June 2023, hosted by CULT, bridged virtual and physical realms, with the spotlight on top beauty brands in London and online platforms. The statistics below showcase peopleâs preference for Metaverse for events and gaming.`},{type:`bullet`,text:`Fortniteâs event featuring Galactus attracted a staggering 15.3 million gamers and witnessed 3.4 million viewers across platforms like YouTube Gaming and Twitch.`},{type:`bullet`,text:`Topping the list of most attended Metaverse concerts are Travis Scott with 45.8 million viewers, Lil Nas X at 37 million, Ariana Grande with 27 million, 24KGoldn drawing 14.6 million, and 21 Pilots pulling in 13.4 million attendees.`},{type:`p`,text:`As we move towards the end of 2024, the trend continues. Last year, **[Roblox players bought 1.8 billion avatar clothing items](https://stickerfashion.substack.com/p/guide-to-roblox-marketplace-2024)**, showcasing the immense demand for virtual fashion. In fact, [**80% of Gen Z** report drawing physical style inspiration from their avatars](https://www.voguebusiness.com/story/technology/digital-fashion-is-alive-and-well-for-gen-z).`},{type:`heading`,text:`Whatâs Next for Virtual Living?`},{type:`p`,text:`The next phase of the Virtual worlds will likely be driven by marketing and advertising. Many brands have recognized its potential and are laying the foundation for their virtual presence.`},{type:`p`,text:`[While virtual worlds](https://www.gwi.com/reports/gen-alpha) and gaming seem to be on parallel tracks, theyâre increasingly overlapping. More people, especially younger generations like Generation Z and Generation Alpha, are choosing virtual spaces as their preferred social playgrounds. For Generation Alpha, platforms like [_Roblox_ and _Minecraft_](https://www.thedrum.com/news/2022/03/31/the-most-social-ecosystem-the-planet-roblox-s-new-generation-makers-and-buyers) are not just games, but social ecosystems where teamwork and interaction are highly valued.`},{type:`p`,text:`However, the rise of virtual worlds doesnât come without concerns. Around 18% of people voice worries about exposure to inappropriate content in the Metaverse, while 26% fear an increase in cybercrime. Additionally, over half (54%) of those surveyed said they would create an avatar thatâs different from their real-life appearance, reflecting the blurred lines between virtual and real identities.`},{type:`heading`,text:`Generation Alpha: The First Digital Natives`},{type:`p`,text:`Generation Alpha, born into a digital-first world, is significantly shaped by their millennial parents, who have embraced [social media](https://www.britannica.com/topic/social-media) as a way to document and share their childrenâs lives. As a result, much of Generation Alpha has been online since birth. This generation is also the first to grow up immersed in remote learning, [tablet device](https://www.britannica.com/technology/tablet-computer) s, and [ubiquitous](https://www.merriam-webster.com/dictionary/ubiquitous) [streaming](https://www.britannica.com/topic/streaming-d
34ata-transmission) services, forming early habits around these technologies. We argue that this generation is also the first to grow up aware of the worries of social media and the internet, differently from Gen Z. [Artificial intelligence](https://www.britannica.com/technology/artificial-intelligence) (AI) will play an increasingly prominent role in their lives, from everyday interactions with voice assistants like Siri and Alexa to the use of advanced [language](https://www.britannica.com/topic/language) models like [ChatGPT](https://www.britannica.com/technology/ChatGPT).`},{type:`p`,text:`The [COVID-19](https://www.britannica.com/science/COVID-19) [pandemic](https://www.britannica.com/science/pandemic) will likely have an even greater influence on Generation Alpha than on any previous generation. Some experts have even dubbed them âGeneration Câ or âGeneration COVIDâ because their formative years coincide with the global health crisis and its aftermath. The pandemic [accelerated](https://www.britannica.com/dictionary/accelerated) pre-existing trends in technology, pushing digital communication and remote interactions into the forefront of their daily lives, shaping their behaviors, attitudes, and habits in ways that will have long-lasting effects.`},{type:`heading`,text:`Conclusion: Two Worlds, One Life`},{type:`p`,text:`In the end, [virtual worlds and games](https://onlyagame.typepad.com/only_a_game/2007/01/virtual_worlds_.html) arenât replacing each other; theyâre establishing their own distinct markets. As both industries grow, so too does the potential for people to live, work, and socialize in these spaces. Whether youâre perfecting your skills in a game or exploring new identities in a virtual world, the possibility of living in both the real and virtual is no longer science fiction-itâs becoming a reality.`},{type:`p`,text:`Living in the virtual world means more than just spending hours on a device; itâs about creating meaningful experiences in a space that complements, rather than replaces, the real world. And as these virtual spaces expand, so do the opportunities to live, earn, and grow in two worlds at once.`},{type:`heading`,text:`Additional Information`},{type:`p`,text:`For readers interested in diving deeper into these trends, we are excited to share that one of our academic research papers was recently published by ARMG Publishing in the\xA0_SocioEconomic Challenges_\xA0journal.. Titled\xA0_âExploring Team Collaboration in the New Metaverse (The 3D-AI Internet),â_\xA0the paper explores the innovative ways teams can collaborate in this evolving digital landscape.`},{type:`p`,text:`**You can read the full paper here**:\xA0[Exploring Team Collaboration in the New Metaverse (The 3D-AI Internet) \\| ArmgPublishing](https://armgpublishing.com/journals/sec/volume-8-issue-2/article-19/)`}]},{slug:`psychology-of-the-avatar-the-good-the-evil-digital-twin`,title:`Psychology of the Avatar (The Good & The Evil Digital Twin)`,date:`February 19, 2024`,hero:`/articles/78677b52-1a96-4636-946c-fc724cd5d3fc-597ac28b.webp`,tags:[`Avatars`,`Corporate Metaverse`,`Generative AI`,`Metaverse`,`Metaverse Consultation`],excerpt:`The concept of a digital twin is both exciting and futuristic, yet this article argues that it can also be naive.`,blocks:[{type:`p`,text:`The concept of a digital twin is both exciting and futuristic, yet this article argues that it can also be naive. In the realm of avatar psychology, a pattern emerges as users immerse themselves in virtual worlds: behavior between avatars and real-life counterparts converges, while appearance may diverge. Virtual-world users often distance themselves from their physical appearance, crafting various representations and identities for the brands they create. Over time, avatars created for different purposes tend to mirror the preferences and behavior of their creator. Similarly to distinct Instagram pages representing different brands, various avatars may manage different aspects of businesses. Maintaining separate channels for communication, branding, and appearance is often the case. As users gain awareness of virtual dynamics through different avatars, they become more strategic in their positioning and behavioural choices within virtual realms and may shift from simpler âdigital twinsâ.`},{type:`p`,text:`The idea that you can have a âmini-meâ running around in the virtual worlds is very appealing; however this idea may lack the emergence and evolution, not just of the virtual worlds but also of human behaviour.`},{type:`p`,text:`After over two decades of navigating virtual worlds, the initial idea of creating a âmini youâ for mundane tasks like shopping has evolved into something more complex. Once youâve established a basic likeness to your real self in terms of hair and eye color, the urge to refine and perfect your avatar takes hold, akin to real-world cosmetic enhancements. As your avatar begins to closely resemble you, interactions with others reveal a curious phenomenon: an initial sense of invisibility and anonymity leads to brash and sometimes rude behavior. However, prolonged online presence gradually molds this behavior, transforming the virtual twin representing your darker impulses into a relic of the past. This transition marks the emergence of your âgood twinâ persona, shaping your online identity. The outcome-whether a positive or negative twin-depends on the extent of deception regarding your avatarâs characteristics like gender, race, or age.`},{type:`quote`,text:`â Is your avatar the same person you are in real life, just in a different body? The answer is yes, of course you are, but how many will attempt to deceive someone to see if they can get away with it? My experience says many will get away with it because most people simply accept the avatar they are seeing at face value. \xA0So do avatar choices affect our behaviour? Again I have to say yes, many will talk about their avatar in the [3rd person](https://www.frontiersin.org/articles/10.3389/fpsyg.2020.01902/full), did you see what she just did? Etc. As you change your avatar to be more socially acceptable to the virtual world you are playing in, unconsciously you are changing not just your avatar but also how y
34ou use it. â`},{type:`quote`,text:`Jane Godbehere â Ethical International Commerce, BioTech & Virtual Sustainability â Enrapture`},{type:`p`,text:`In virtual worlds, the ability to customize avatars extends beyond mere likeness to oneself, allowing users to alter gender, skin colour, and shape to align with their chosen communities. This flexibility gives rise to fantastical beings and sci-fi characters, where physical attributes no longer hold significance. Avatars serve as personas for interaction, often concealing the true identities of their operators. Many users create multiple avatars, each reflecting different facets of their personality, yet remaining true to themselves. Consistency in names and accounts ensures transparency, revealing daily fluctuations in mood or expression rather than deception.`},{type:`p`,text:`How experiencing discrimination in VR can make you less biased \\| Jeremy Bailenson \\| Big Think - YouTube`},{type:`p`,text:`Tap to unmute`},{type:`p`,text:`[How experiencing discrimination in VR can make you less biased \\| Jeremy Bailenson \\| Big Think](https://www.youtube.com/watch?v=LSUs8m6LD24) [Big Think](https://www.youtube.com/channel/UCvQECJukTDE2i6aCoMnS-Vg)`},{type:`p`,text:`Big Think8.86M subscribers`},{type:`p`,text:`Complete [disassociation](http://frontiersin.org/articles/10.3389/fpsyg.2020.01902/full) from oneâs avatar can lead to problematic behavior, particularly when individuals refer to their avatar as if it were a separate entity, divorcing it from themselves. This disconnection absolves users of responsibility for their avatarâs actions, a trend seen not only in virtual worlds but also across various social platforms where fictitious profiles abound, often used for deceptive or criminal purposes. Anonymity coupled with detachment from oneâs avatar fosters false representations and encourages misconduct. However, leveraging oneâs avatar purposefully can unlock a plethora of opportunities in the virtual realm, making such disassociation unnecessary and detrimental.`},{type:`p`,text:`In January 2024, [UK police](https://www.forbes.com/sites/bernardmarr/2024/01/16/the-metaverse-and-its-dark-side-confronting-the-reality-of-virtual-rape/?sh=1cc604932b66) began investigating a case of virtual rape in the Metaverse. The victim was a young girl under the age of 16 who was sexually attacked by a gang of adult men in an immersive video game. Although the assault was virtual, it caused significant psychological trauma similar to that experienced in a physical assault.`},{type:`p`,text:`As Nick Yee & Jeremy Bailenson note in their paper â [The Proteus Effectâ](https://bigthink.com/articles/the-proteus-effect-and-self-objectification-via-avatars/): The Effect of Transformed Self-Representation on Behaviour: âThe set of studies presented in this paper makes clear that our self-representations have a significant and instantaneous impact on our behavior. The appearances of our avatars shape how we interact with others.â`},{type:`quote`,text:`âI often humorously label the exact replica of oneself as the âevil twin,â as itâs confined to mundane tasks like clothes shopping and real-world practicality. In contrast, the enhanced and customised avatar takes on the role of the âgood twin,â designed with virtual-world-specific behaviour in mind. This socially evolved main avatar enables various facets of your personality to shine, fostering connections with like-minded individuals. It offers a more genuine depiction of you, as assumptions made by others are not solely based on appearance but on deeper virtual interactions. â`},{type:`quote`,text:`Jane Godbehere _â Ethical International Commerce, BioTech & Virtual Sustainability â Enrapture_`},{type:`p`,text:`[Being yourself](https://www.researchgate.net/publication/227516065_The_Proteus_Effect_The_Effect_of_Transformed_Self-Representation_on_Behavior#:~:text=The%20Proteus%20effect%20is%20a,17%5D%5B18%5D%5B19%5D%20.) in your new avatar persona is most important regardless of what your avatar may look like.`},{type:`p`,text:`The best businesses and solutions can be found in the gaps in a personâs real life. These gaps can be enhanced in the virtual and initiate unknowable creativity. This article argues that, actually, the good twin is an i
34dea that starts in the virtual world but improves, enriches and actualises the real world. It is not about the avatar copying the real person but the real person copying and learning from the avatar, as it is easier and more accessible to make dreams, simulations and training happen in virtual worlds first.`}]},{slug:`the-potential-for-trivial-pursuits-mini-gaming-for-virtual-worlds`,title:`The Potential for Trivial Pursuits & Mini Gaming for virtual worlds`,date:`January 19, 2024`,hero:`/articles/to-opt-59f50d43.webp`,tags:[`Gaming`,`Generative AI`,`Metaverse`,`Metaverse Consultation`,`Mini Game`],excerpt:`Trivial pursuits refer to everything that someone or many consider not worth pursuing.`,blocks:[{type:`p`,text:`Trivial pursuits\xA0_refer to everything that someone or many consider not worth pursuing_.`},{type:`p`,text:`In the fast-paced digital age, trivial pursuits take on new meaning as individuals seek escape from the mundane. Whether through daydreaming, playing computer games, or consuming online content, people now have countless ways, both positive and negative, to detach from their surroundings. As the world evolves, so do our avenues for escapism.`},{type:`p`,text:`[Storey telling](https://www.etymonline.com/word/story-telling), once confined to books and films, has undergone a metamorphosis with the rise of technology. In todayâs world, books are giving way to online content, and the younger generation, such as Gen Alpha, embraces mobile phones not just as tools but as gateways to freedom. While phones facilitate life organisation and flexible working hours, their gaming capabilities still remain a somewhat untapped resource.`},{type:`p`,text:`Traditional work hours are becoming obsolete, with a shift towards remote work and the gig economy. Leisure time is now broken into smaller, bite-sized chunks, as evident in the popularity of social platforms like TikTok, Twitter, and Instagram. As widely reported, these platforms may contribute to the shrinking attention spans of users, reflecting a broader trend in how people consume content.`},{type:`p`,text:`We only need to look at the statistics for a few of the top fast-use socialising platforms:`},{type:`p`,text:`[TiKTok,](https://blog.hootsuite.com/tiktok-stats/)\xA0operating as a concise video clip platform, secured the position of the second-most downloaded app globally in 2022, trailing behind Instagram. Notably, TikTok claimed the top spot as the most downloaded app on the Apple App Store during the same period.`},{type:`p`,text:`In the case of\xA0[X (Twitter](https://www.businessofapps.com/data/twitter-statistics/)), a platform characterised by its limitation on the number of words per post, strategic changes and rebranding efforts led to over 540 million monthly active users, as reported by\xA0[Elon Musk](https://twitter.com/elonmusk/status/1684978651857596429).`},{type:`p`,text:`[Instagram](https://sproutsocial.com/insights/instagram-stats/), renowned for its focus on visual pictures and stories, currently boasts 2 billion monthly active users. This makes it the fourth-most-used social media platform.`},{type:`p`,text:`If we look at the overall\xA0[global mobile gaming market](https://newzoo.com/resources/trend-reports/newzoo-global-games-market-report-2022-free-version), we will see that gaming or mini games are played by all ages and for various reasons.`},{type:`p`,text:`**The Rise of Mobile Gaming:**`},{type:`p`,text:`Amidst this evolution, mobile gaming emerges as a prominent player. The global mobile gaming market saw\xA0[2 billion](https://www.lexology.com/library/detail.aspx?g=3f227196-257d-4ae2-b14e-b8cad45c5ebe) players in 2022, a number expected to grow to 3.5 billion by 2025. Players of all ages engage in mobile gaming, with the average age of a mobile gamer being 36. Generations from Z to Boomers are participating, each with distinct preferences and spending patterns.`},{type:`p`,text:`Gen Z and Millennials, known as **Bargain Buyers**, enjoy high-quality free-to-play games. They seem to be inclined to save on entertainment expenses.`},{type:`p`,text:`Instead, Gen X and Baby Boomers, identified as\xA0**Time Fillers**, play games during spare moments. With potentially busier schedules, these generations may view gaming as a way to fill brief moments of leisure, leading them to opt for games that are easily accessible during spare time.`},{type:`p`,text:`Both\xA0[Gen Alpha (73%) and Gen Z (69%)](https://www.blog.udonis.co/mobile-marketing/mobile-games/gen-alpha-gen-z-gamers#:~:text=Main%20Motivations%20for%20Spending,by%20personalizing%20characters%20or%20items.]) predominantly use mobile phones for gaming.\xA0[Newzooâs research](https://www.blog.udonis.co/mobile-marketing/mobile-games/gen-alpha-gen-z-gamers#:~:text=Main%20Motivations%20for%20Spending,by%20personalizing%20characters%20or%20items.)\xA0points out that the number one reason for making an in-app purchase for both Gen Alpha and Gen Z is\xA0unlocking exclusive content. This is followed by personalizing characters or items.`},{type:`p`,text:`Gen Alpha players prioritize their spending on gear, followed by playable characters, and lastly, in-game currencies. In contrast, Gen Z players allocate their expenditures predominantly towards in-game currencies, followed by gear and, lastly, playable characters.`},{type:`p`,text:`**Popular Genres, Gaming Preferences and Potential:**`},{type:`p`,text:`Casual games dominate the market, with\xA0**puzzle, role-playing, action, digital card, and arcade games** leading the way. Mobile gamers, particularly in the U.S., prefer playing on smartphones, with action and shooter games being the top choices. The gaming industry, however, seems to mostly focus on the short
34-term effectiveness of these trivial pursuits, seeing mini games as\xA0**stand-alone entities**\xA0and neglecting the potential for creating virtual communities that foster community engagement in immersive spaces.`},{type:`quote`,text:`âTo give you an idea of how awesome this could be, envision immersing yourself in a variety of Harry Potter Legacy-themed Mobile Mini Games even while in real-life and away from your computer. Picture engaging in friendly competition through these mini games against your community of friends in a (currently nonexistent) multiplayer/virtual-world rendition of the Hogwarts Legacy game. How incredible would that be for Harry Potter Fans? It would connect virtual-world avatars outside of the specific virtual world, without breaking character. â`},{type:`quote`,text:`Manuel Bolognesi â Enrapture Administrator`},{type:`p`,text:`Hogwarts Legacy Multiplayer Gameplay Debut - YouTube`},{type:`p`,text:`Tap to unmute`},{type:`p`,text:`[Hogwarts Legacy Multiplayer Gameplay Debut](https://www.youtube.com/watch?v=5jDoVSF13Sc) [Sadot The Gamer](https://www.youtube.com/channel/UCDZFQQgFuXiVnjyeAs9Ylkg)`},{type:`p`,text:`Sadot The Gamer184K subscribers`},{type:`p`,text:`With\xA0**[63% of gamers playing casual games](https://www.cloudwards.net/online-gaming-statistics/#:~:text=While%20most%20casual%20games%20like,in%20the%20video%20game%20market.)**\xA0on a regular basis, this is the most popular genre in the video game market.`},{type:`p`,text:`As we gather insights, it becomes evident that individuals across all generations exhibit a preference for gaming on their smartphones, even in the presence of more advanced computer games. Additionally, a considerable number of users opt for tablets when engaging in casual titles-a platform favored by 71% of mobile gamers.`},{type:`p`,text:`Casual games are the most popular genre.`},{type:`p`,text:`The\xA0[five](https://www.solitairebliss.com/blog/americans-video-game-obsession)\xA0most popular types of games are:`},{type:`p`,text:`1. Puzzle games (like Candy Crush): 60%`},{type:`p`,text:`2. Role-playing games (like Final Fantasy): 44%`},{type:`p`,text:`3. Action games (like Call of Duty): 42%`},{type:`p`,text:`4. Digital card games (like Solitaire): 41%`},{type:`p`,text:`5. Arcade games (like Subway Surfers): 30%`},{type:`p`,text:`While most casual games like solitaire or Tetris are usually made for single-player PC gaming, many of them have an online play capability or another kind of multiplayer game play. The MMORPG market puts a focus on massive in-game worlds where players can play together, level up their characters, and help each other on quests and missions. A report by\xA0[Mordor Intelligence](https://www.mordorintelligence.com/)\xA0estimates that the\xA0**market will grow**\xA0at a compound annual growth rate of\xA0**9.5% by 2026** **.**`},{type:`p`,text:`[Percentage of Generations](https://www.cloudwards.net/online-gaming-statistics/) That Play Video Games:`},{type:`bullet`,text:`Gen Z: 81%`},{type:`bullet`,text:`Millennials: 77%`},{type:`bullet`,text:`Gen X: 60%`},{type:`bullet`,text:`Baby Boomers: 42%`},{type:`bullet`,text:`Millennials 77%`},{type:`p`,text:`The time for mini-gaming can be during a picnic with the family or in between break hours. In the evolving landscape of the Metaverse, the profound impact of mini gaming on shaping our digital future cannot be overstated. Beyond mere entertainment, mobile gaming serves as a communal bridge spanning generations and demographics. Recognising these player preferences, businesses can delve into this burgeoning market, contributing to the creation of virtual realms intertwined with mini games that transcend profit motives. With this in mind, we at Enrapture are working on 5 mini-games for our upcoming Enrapture World in Roblox, as well as the possibility of creating mini-games for brands in\xA0[MeetWork.AI](https://www.meetwork.ai/), our immersive virtual world of professionals.`},{type:`p`,text:`The lesson learned is that the gaming industry should not underestimate the effectiveness of mini games. Future virtual worlds may be fueled by the engaging nature of mini gaming, becoming more dynamic spaces for shared experiences, connectivity, and âaway from \xA0computer keyboardâ community interaction.`}]},{slug:`ethical-ai-should-we-give-ai-the-ten-commandments`,title:`Ethical AI. Should we give AI the Ten Commandments?`,date:`November 2, 2023`,hero:`/articles/ethicalaienrapture-8c8e08aa.webp`,tags:[`AI Chatbots`,`ChatGPT`,`EU AI`,`Ethical AI`,`European AI`],excerpt:`We all bandy the word âethicalâ everywhere at the moment; an ethical company, ethical music festivals, and now we have ethical AI. But what exactly does that mean?`,blocks:[{type:`p`,text:`We all bandy the word âethicalâ everywhere at the moment; an ethical company, [ethical music festivals](https://www.theguardian.com/travel/2023/jun/22/ethical-music-festivals-in-the-uk-and-europe), and now we have ethical AI. But what exactly does that mean?`},{type:`p`,text:`The word âethicalâ as defined by the [Cambridge Dictionary](https://dictionary.cambridge.org/dictionary/english/ethical), relates to beliefs about what is morally and wrong.`},{type:`p`,text:`Also by the [Collins Dictionary](https://www.collinsdictionary.com/dictionary/english/ethical) as`},{type:`quote`,text:`âHaving to do with ethics or [morality](https://www.collinsdictionary.com/dictionary/english/morality); of or [conforming](https://www.collinsdictionary.com/dictionary/english/conform) to [moral](https://www.collinsdictionary.com/dictionary/english/moral) [standards](https://www.collinsdictionary.com/dictionary/english/standard)â.`},{type:`quote`,text:`âConforming to the standards of conduct of a given profession or groupâ.`},{type:`p`,text:`Basically, Ethics is a set of rules to abide by, so that a matter is fair for all. Ethics has been around for thousands of years as expounded by the likes of [Aristotle](https://www.britannica.com/biography/Aristotle), one the most outstanding philosophers. His writings in ethics and political theory as well as in metaphysics and the philosophy of science continue to be studied, and his work remains a powerful current in contemporary philosophical debate.`},{type:`p`,text:`Also as [Plato](https://www.britannica.com/biography/Plato) defined in his ethics and moral psychology, he developed the view that the good life requires not just a certain kind of knowledge (as Socrates had suggested) but also habituation to healthy emotional responses and therefore harmony between âthe three parts of the soulâ.`},{type:`p`,text:`There is even a 3000-year-old Egyptian boyâs book to teach the sons of the nobility [ethics](https://www.cambridge.org/core/books/abs/cambridge-companion-to-biblical-wisdom-literature/egyptian-wisdom/B47D421C0A9B82D47D843753B70A0819). We have many codes of ethics that allow the precedence of the situation to dictate which ethics we use, given different situations. When we talk of ethical AI, what do we mean? Are we talking to the builders of AI or the users? Whose ethics we are talking about, still seems a little unsure.`},{type:`p`,text:`What is AI Ethics? - YouTube`},{type:`p`,text:`Tap to unmute`},{type:`p`,text:`[What is AI Ethics?](https://www.youtube.com/watch?v=aGwYtUzMQUk) [IBM Technology](https://www.youtube.com/channel/UCKWaEZ-_VweaEx1j62do_vQ)`},{type:`p`,text:`IBM Technology1.76M subscribers`},{type:`p`,text:`On October 30, 2023, the White House issued an [Executive Order](https://www.whitehouse.gov/briefing-room/statements-releases/2023/10/30/fact-sheet-president-biden-issues-executive-order-on-safe-secure-and-trustworthy-artificial-intelligence/) aimed at positioning the United States as a leader in the realm of artificial intelligence (AI) while addressing ethical concerns.`},{type:`p`,text:`This landmark order introduces a range of measures to ensure AI safety, security, and privacy, emphasizing equity and civil rights protection. It calls for new standards, such as sharing safety test results for AI systems, the development of guidelines for agencies to evaluate privacy-preserving techniques, and a commitment to mitigating discrimination and bias in AI applications. The order also promotes innovation, competition, and international collaboration in AI while encouraging responsible and effective government use of AI. This comprehensive strategy underlines the importance of ethical AI considerations and the need for global cooperation to harness AIâs potential.`},{type:`image`,src:`/articles/90-0dd827ab.webp`,alt:``},{type:`p`,text:`Our Summary of key measures for **White Houseâs Executive Order on AI**:`},{type:`quote`,text:`**1\\. AI Safety and Security:** Mandatory sharing of safety test results, rigorous safety standards, and protection against AI-enabled fraud.`},{type:`quote`,text:`**2\\. Protecting Privacy:** Prioritizing privacy-preserving techniques, strengthening privacy guidelines, and evaluating their effectiveness.`},{type:`quote`,text:`**3\\. Advancing Equity and Civil Rights:** Preventing algorithmic discrimination and ensuring fairness in the criminal justice system.`},{type:`quote`,text:`**4\\. Supporting Consumers, Patients, and Students:** Promoting responsible AI use in healthcare and education.`},{type:`quote`,text:`**5\\. Supporting Workers:** Addressing AI-related job displacement and workplace issues.`},{type:`quote`,text:`**6\\. Promoting Innovation and Competition:** Fostering AI research, competitive AI ecosystems, and modernized visa criteria.`},{type:`quote`,text:`**7\\. Advancing Leadership Abroad:** Collaborating on international AI frameworks.`},{type:`quote`,text:`**8\\. Ensuring Responsible Government Use:** Issuing AI use guidance, efficient AI acquisition, and a government-wide AI talent surge.`},{type:`p`,text:`These measures ensure ethical AI while fostering innovation and international cooperation.`},{type:`p`,text:`We also talk about Emotional AI as [computers](https://bernardmarr.com/what-is-artificial-emotional-intelligence/) can read emotions by anal
34yzing data, including facial expressions, gestures, tone of voice, force of keystrokes, and more. Any AI process used to determine a personâs emotional state and then react to it can be called Artificial Emotional Intelligence. This ability will allow humans and machines to interact in a much more natural way, very similar to how human-to-human interaction works.`},{type:`p`,text:`In 2023 [emotional](https://www.wired.co.uk/article/empathy-artificial-intelligence) AI is also becoming common in schools. In Hong Kong, some secondary schools already use an artificial intelligence program, developed by [Find Solutions AI](https://www.findsolutionai.com/), which measures micro-movements of muscles on the studentsâ faces and identifies a range of negative and positive emotions. Teachers are using this system to track emotional changes in students, as well as their motivation and focus, enabling them to make early interventions if a pupil is losing interest.`},{type:`p`,text:`The problem is that the majority of emotional AI is based on flawed science. With emotional AI algorithms, while, for instance, the algorithms can recognize and report that a person is crying, it is not always possible to accurately deduce the reason and meaning behind the tears. As such, AI technologies that make assumptions about emotional states may even exacerbate gender and racial inequalities in our society because of the bias built into it already. For example, a 2019 [UNESCO](https://en.unesco.org/AI-and-GE-2020) report showed the harmful impact of the gendering of AI technologies, with âfeminineâ voice-assistant systems designed according to stereotypes of emotional passiveness and servitude.`},{type:`p`,text:`Emotional AI technologies will become more pervasive by the end of 2023, but if left unchallenged and unexamined, they may act based on systemic racial and gender biases, reinforcing these biases, replicating and strengthening the inequalities of the world, and further disadvantaging those who are already marginalized.`},{type:`p`,text:`The latest research on emotional AI is very promising for disabled people, using AI in [brain mapping](https://www.brainlatam.com/blog/mapping-the-brain-with-machine-learning-2398), and for the tech industries to get better at miniaturizing the components. This leads us towards the emotional recognition of people with Visual Disabilities through Brain-Computer Interfaces.`},{type:`p`,text:`Examples like this application seem very ethical in enabling communication for those who have a disability, but will it enable AI to feel emotions? Our answer is No, AI will recognize if someone is feeling anxiety or anger, however, it will not be able to predict how the person reacts to these feelings, as many elements of how people deal with emotions come into play. It all varies greatly with factors like the nurturing environment people grew up in, or what religion influenced the way they react. At the end of the day would we want AI to empathize with us over traumatic events? Would we want it to say it is sorry, when, we are practically sure it does not mean it?`},{type:`p`,text:`Meet the AI robot capable of human emotions \\| 60 Minutes Australia - YouTube`},{type:`p`,text:`Tap to unmute`},{type:`p`,text:`[Meet the AI robot capable of human emotions \\| 60 Minutes Australia](https://www.youtube.com/watch?v=wGWVKkYEHBE) [60 Minutes Australia](https://www.youtube.com/channel/UC0L1suV8pVgO4pCAIBNGx5w)`},{type:`p`,text:`60 Minutes Australia6.69M subscribers`},{type:`p`,text:`Coming to the articleâs question as to whether or not it is good to give the 10 commandments, for good or bad, we must never forget that it is as simple as [switching a digit](https://www.theguardian.com/tv-and-radio/2023/jul/10/unknown-killer-robots-review-the-future-of-ai-will-fill-you-with-unholy-terror) for AI to go rogue. So, if we are to have AI in any guise, particularly a Chabot, we argue that the interaction will mostly ease our lives and keep us from harm. Under this view, the 10 commandments are not such a bad idea, but they are not enough! As standardized ethics does not exist, Ethical AI can only be as ethical as its programmer; who, as we see, can be any person, company, or Government applying specific types of ethics. As long as the ethical principles the programmers employ and the reasons behind them are completely transparent, we should gain the right insight into their ethical utilization of AI. Shouldnât there be a prerequisite license for embarking on the journey of AI coding and developing ethics?`}]},{slug:`opportunities-for-music-and-ai`,title:`Opportunities for Music and AI â Striking the perfect chord or hitting a sour note?`,date:`October 5, 2023`,hero:`/articles/ai-music-enrapture-31b6cf4a.webp`,tags:[],excerpt:`Letâs discu
34ss creative AI in the arts, including poetry, literature, screenplays, and the visual arts.`,blocks:[{type:`p`,text:`Letâs discuss creative AI in the arts, including poetry, literature, screenplays, and the visual arts. Letâs focus on its role in music, involving singers, orchestras, podcast narration, or simple voice emulation.`},{type:`p`,text:`Creative, generative AI is already present and can do all of the above if programmed well. Although examples are everywhere, they are mainly for amusement at the moment. Yet, as professionals start earning from it, doubts are being cast as to its use. Professionals like [Holly Herndon](https://www.google.com/url?q=https://www.google.com/url?q%3Dhttps://www.barbican.org.uk/holly-herndon-proto%26amp;sa%3DD%26amp;source%3Deditors%26amp;ust%3D1691227025136084%26amp;usg%3DAOvVaw3rNFTcl1ca9AscR0anC1Rp&sa=D&source=docs&ust=1691227025151514&usg=AOvVaw2J1cyStqj3RbsqeJlr5lUU), a Berlin-based, American musical artist who uses uses\xA0artificial intelligence\xA0to transform her image and singing voice. [Governments](https://www.google.com/url?q=https://www.google.com/url?q%3Dhttps://arstechnica.com/information-technology/2023/06/uks-plans-for-first-global-summit-on-ai-safety-draw-criticism/%26amp;sa%3DD%26amp;source%3Deditors%26amp;ust%3D1691227025136496%26amp;usg%3DAOvVaw00nq0xibLTCKGjRJO7pQlY&sa=D&source=docs&ust=1691227025151798&usg=AOvVaw3Rb0FnHC3uCMaT-OSuikz9)\xA0and the public want assurances that our face, voice, or work will only be gathered from our digital footprints with our knowledge.`},{type:`p`,text:`Letâs take the music industry and all its connotations.`},{type:`p`,text:`Right now there are at least\xA0[10 different](https://www.google.com/url?q=https://www.google.com/url?q%3Dhttps://builtin.com/artificial-intelligence/ai-music-examples%26amp;sa%3DD%26amp;source%3Deditors%26amp;ust%3D1691227025137218%26amp;usg%3DAOvVaw3la6o1nwmzvEOvaxSpM4tG&sa=D&source=docs&ust=1691227025152089&usg=AOvVaw3AbZaMJ8x9siAWm-uOhSzo)\xA0music AI models, and people are already releasing their AI music for free online. AI can use any bits from TikTok, films, or even âJoeâ, in his room, singing along to the Beatles album. This is where ethical AI comes in. How do we hope to cover the complex world of royalty fees? Royalty fees are a minefield at the best of times, making sure everyone gets their due, and now that music-making is in the hands of virtually everyone, the concern is making sure AI is adhering to copyright laws,\xA0[sampling laws](https://www.google.com/url?q=https://www.google.com/url?q%3Dhttps://musiciansunion.org.uk/working-performing/recording-and-broadcasting/working-as-a-recording-artist/using-sampling-in-your-music%26amp;sa%3DD%26amp;source%3Deditors%26amp;ust%3D1691227025137553%26amp;usg%3DAOvVaw24KzTTcwCenAXBQ5zXOKLY&sa=D&source=docs&ust=1691227025152264&usg=AOvVaw3y5SnbGFvmt7vVUBP_zuua)\xA0and \xA0[mixing Laws](https://www.google.com/url?q=https://www.google.com/url?q%3Dhttps://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/448274/Exceptions_to_copyright_-_Guidance_for_creators_and_copyright_owners.pdf%26amp;sa%3DD%26amp;source%3Deditors%26amp;ust%3D1691227025137915%26amp;usg%3DAOvVaw2mRVG9Ge0RVQPIY2AEaPR7&sa=D&source=docs&ust=1691227025152395&usg=AOvVaw3YZaYyxSBuoR5Yry_QAG6K).`},{type:`p`,text:`There are two avenues for music creators to harness the power of AI-generated music.`},{type:`p`,text:`The first approach is straightforward: when a company acquires rights to a vast music catalogue, it grants users the freedom to utilise this music without copyright concerns.`},{type:`p`,text:`The second method caters to musicians and composers. On these platforms, you gain access to original music content, purchasing the rights to each piece for a specified fee, which can vary depending on the artist. This model operates on the principle that the creator holds primary copyright authority, surpassing other artists and publishers associated with the music piece.`},{type:`p`,text:`However, there is still a large amount of work to be done to cover everyoneâs rights, especially in light of the new sync and play\xA0[music](https://www.google.com/url?q=https://www.google.com/url?q%3Dhttps://soundcharts.com/blog/music-royalties%26amp;sa%3DD%26amp;source%3Deditors%26amp;ust%3D1691227025138571%26amp;usg%3DAOvVaw3S4WL63gEyfwo9kBhdgGEk&sa=D&source=docs&ust=1691227025152586&usg=AOvVaw12c50kkTk2C7R1j36QPWN0)\xA0of today.`},{type:`p`,text:`With tools like\xA0[Voicify.ai,](https://www.voicify.ai/)\xA0any legendary singer of the present or the past can be made to sing virtually any song through AI models. These models can be trained by users through reference tracks. Voicify AI acknowledges the importance of their AI being used for personal and n
34ot commercial purposes. Their terms and conditions underscore respect for copyrights, prohibiting any infringement. They clarify that their synthetic vocal models, while resembling public figures, are entirely artificial creations, avoiding any association with endorsement.`},{type:`p`,text:`Voicify AI Tutorial - Make Cover Songs in 2 Minutes (MOBILE/PC) - YouTube`},{type:`p`,text:`Tap to unmute`},{type:`p`,text:`[Voicify AI Tutorial - Make Cover Songs in 2 Minutes (MOBILE/PC)](https://www.youtube.com/watch?v=rkBuMWVj5sA) [How To Make an AI Cover Song](https://www.youtube.com/channel/UC885UIgwcEuZFdZclVVJtxQ)`},{type:`p`,text:`How To Make an AI Cover Song789 subscribers`},{type:`p`,text:`But how do the artists feel about AI music? Some, like\xA0[Tom Hanks,](https://www.google.com/url?q=https://www.google.com/url?q%3Dhttps://www.dailymail.co.uk/sciencetech/article-12085409/Tom-Hanks-says-live-big-screen-forever-thanks-AI.html%26amp;sa%3DD%26amp;source%3Deditors%26amp;ust%3D1691227025139205%26amp;usg%3DAOvVaw3HHxoqnGuF0TZDxNcpCRH2&sa=D&source=docs&ust=1691227025152773&usg=AOvVaw0M3DE0OIlHIYl4Pdj86AUI) see it as a chance for them to get their talent to live on forever despite calling out deep fakes made without [permission](https://www.independent.co.uk/arts-entertainment/films/news/tom-hanks-ai-instagram-video-b2422479.html); some are happily selling their\xA0[voice](https://www.google.com/url?q=https://www.google.com/url?q%3Dhttps://www.theverge.com/2023/4/24/23695746/grimes-ai-music-profit-sharing-copyright-ip%26amp;sa%3DD%26amp;source%3Deditors%26amp;ust%3D1691227025139492%26amp;usg%3DAOvVaw3pYyqEj9Z5TfrjhSzPZ3Hh&sa=D&source=docs&ust=1691227025152894&usg=AOvVaw3SwA6v8hVqa7_rC9dBQNuw), like the artist Grimes,\xA0for a cut of the profits. Grimes suggested a 50% split in royalties. Others, like Dolly Parton, simply say ânoâ.\xA0She rejects the idea of having her music played by AI holograms, mentioning that\xA0she doesnât want to keep her soul âgroundedâ here on Earth.`},{type:`p`,text:`On a creative note, there is no doubt that AIâs learning speed far outweighs ours, which, on the plus side, means it may soon, one day, be able to accurately find the creator of anything on the web. No matter how small the sample is, it may be able to ensure the correct creators get their royalties. Could this be an opportunity for blockchain and generative AI to work together?`},{type:`quote`,text:`âWhile the workability and effectiveness of these new models can only be tested with time, it is interesting to note that they are being viewed as\xA0[viable alternatives](https://www.google.com/url?q=https://www.google.com/url?q%3Dhttps://www.bloomberg.com/news/articles/2021-06-07/nfts-shift-power-to-artists-as-the-music-business-evolves%26amp;sa%3DD%26amp;source%3Deditors%26amp;ust%3D1691227025141119%26amp;usg%3DAOvVaw0uNLYLHLjVD8A6X1kn67El&sa=D&source=docs&ust=1691227025153461&usg=AOvVaw2t1dteSfGYWrUyZK9hZpVL)\xA0in an industry that has traditionally been skewed to favour big record labels and corporations more than artists. Retaining ownership over their music while also being able to access better\xA0[downstream revenue](https://www.google.com/url?q=https://www.google.com/url?q%3Dhttps://www.wsj.com/articles/nfts-are-music-industrys-latest-big-hit-11616491801%26amp;sa%3DD%26amp;source%3Deditors%26amp;ust%3D1691227025141408%26amp;usg%3DAOvVaw0d-wMUDtmAgZnatyWeHOYW&sa=D&source=docs&ust=1691227025153589&usg=AOvVaw1EUwzR9ryhcskQmI8GfGgY)\xA0certainly shifts the\xA0[power dynamic](https://www.google.com/url?q=https://www.google.com/url?q%3Dhttps://pitchfork.com/features/article/the-record-industry-expects-a-windfall-where-will-the-money-go/%26amp;sa%3DD%26amp;source%3Deditors%26amp;ust%3D1691227025141673%26amp;usg%3DAOvVaw20C5iXeDX7v7HrqBAfjLof&sa=D&source=docs&ust=1691227025153702&usg=AOvVaw0UzyiMefG09waaMcsvZmxE)\xA0in favour of artists.â`},{type:`quote`,text:`[Spicyip.com](https://www.google.com/url?q=https://www.google.com/url?q%3Dhttps://spicyip.com/2021/07/pandemic-push-royalty-based-business-model-for-better-downstream-revenue-for-musicians.html%26amp;sa%3DD%26amp;source%3Deditors%26amp;ust%3D1691227025140699%26amp;usg%3DAOvVaw2yN4HAk21brIaI8ztTeSvD&sa=D&source=docs&ust=1691227025153307&usg=AOvVaw2GgPBsXziKpwHlN635RPBI)`},{type:`p`,text:`But is this ethical? And is it ethical if the artist is a\xA0[dead](https://www.google.com/url?q=https://www.google.com/url?q%3Dhttps://www.mjvibe.com/artificial-intelligence-ai-and-michael-jackson-good-or-bad/%26amp;sa%3DD%26amp;source%3Deditors%26amp;ust%3D1691227025142121%26amp;usg%3DAOvVaw0ddXmpReRIjh0AazwIZeJj&sa=D&source=docs&ust=1691227025153864&usg=AOvVaw1YMDeVRucXLxaaKZctPOSu) artist\xA0(Michael Jackson, for example) and if AI were to bring\xA0them back to life in the virtual world? When replicating concerts with old or new music, any royalties or credit would most likely go to the artistâs estate, without taking into consideration some companies, musicians, sponsors, or the publishers of the original concert from which the majority of the material for a virtual, AI-copy show was gleaned.`},{type:`p`,text:`YouTube`},{type:`p`,text:`Tap to unmute`},{type:`p`,text:`Video unavailable`},{type:`p`,text:`It was removed following a copyright removal request by Universal Music Group`},{type:`p`,text:`[Spotifyâs](https://www.google.com/url?q=https://www.google.com/url?q%3Dhttps://www.cambridge.org/core/journals/popular-music/article/spotify-and-the-democratisation-of-music/3C232D4AA12F522BF297EB1CCA0C7E02%26amp;sa%3DD%26amp;source%3Deditors%26amp;ust%3D1691227025142526%26amp;usg%3DAOvVaw1p2rxSqhTdr-s-DOlcMcpN&sa=D&source=docs&ust=1691227025154007&usg=AOvVaw2vCXc9XjkjvgdVL-xAoksC) algorithms are already reshaping how music is valued in monetary terms.`},{type:`p`,text:`What struck us at Enrapture when diving into this topic is how every new leap in human creativity, from a simple synth to creative AI, has made us worry about the impact it will make on the music industry. Yet the evidence suggests that, once it becomes thought of as a new tool for the musiciansâ toolbox (like the synthesiser), great leaps will be made in the human creation of music.`},{type:`p`,text:`When any new technology comes along, there is always a furor about the loss of jobs, the dangers to creativity, and the lack of talent. This happened when the synthesiser was invented back in the day, which was\xA0[outlawed by the Musicians Union](https://www.google.com/url?q=https://www.google.com/url?q%3Dhttps://faroutmagazine.co.uk/musicians-union-outlaw-synthesisers/%26amp;sa%3DD%26amp;source%3Deditors%26amp;ust%3D1691227025143553%26amp;usg%3DAOvVaw3L-VAz22H8ZrYBnjrrdYM1&sa=D&source=docs&ust=1691227025154360&usg=AOvVaw1AP1J5BMCUnyGH1JvMANTE)\xA0for a while as a threat to the music industry.`},{type:`p`,text:`Our argument is that once all the teething problems of any earth-shattering breakthroughs subside, then the real experts will shine through. Music makers and immersive show creators will rise above the din of millions of people having fun using AI, and the real talent in music will truly amaze us.`},{type:`p`,text:`Over the years, some of our current team members at Enrapture have hosted virtual events involving music. The ones we enjoyed the most were the Christmas shows, which range from nativity plays set in Bethlehem to pantomimes and discos to full-blown Las Vegas-style shows.`}
34,{type:`image`,src:`/articles/concertv3-daf706e5.webp`,alt:``},{type:`p`,text:`In one of the most memorable shows, which was set in a giant magical cave, avatars booked tables to view a Michael Jackson and Whitney Houston tribute duet with incredible live tribute artists. The collaboration allowed them to create a Vegas-like show with extravagant lights and clothes, as a beautiful gospel choir backed the tracks.`},{type:`quote`,text:`_If you liked this article, explore\xA0[Enrapture](https://www.enrapture.world/), an innovative tech company in the heart of Europe, focused on virtual-world content and experience creation, Metaverse development (3D Design, VR, XR), and consultation. We partner with brands across different industries, creating Branded Worlds for the new generations, Metaverse Healthcare Simulations, immersive Metaverse Music Experiences, captivating 3D Shopping Experiences, and cutting-edge AI Workrooms._`}]},{slug:`a-first-look-into-the-iphone-15-vision-pro-marriage`,title:`A First Look into the Marriage between iPhone 15 Pro & Apple Vision Pro`,date:`September 13, 2023`,hero:`/articles/untitled-design-d5086616.webp`,tags:[`A17 Pro CPU`,`Apple`,`Apple Strategy`,`Apple Vision Pro`,`Belgian Metaverse`],excerpt:`Appleâs latest announcements show how the highly-anticipated iPhone 15 Pro and iPhone 15 Pro Max are set to revolutionize the way people feel about capturing and experiencing reality.`,blocks:[{type:`p`,text:`Appleâs latest announcements show how the highly-anticipated iPhone 15 Pro and iPhone 15 Pro Max are set to revolutionize the way people feel about capturing and experiencing reality. Apple has always been outstandingly good at seamlessly integrating its devices into a unified ecosystem and it is happening again. A harmonious connectivity has always been the utopian objective of Metaverse; creating an interconnected, frictionless, and purposeful link between all aspects of real and virtual life.`},{type:`p`,text:`During the recent Wonderlust event, Appleâs Senior Vice President, Greg Joswiak, revealed that the new smartphones will introduce the concept of âspatial videoâ to the masses. Thanks to the redesigned camera system and the addition of the powerful [A17 Pro CPU](https://www.engadget.com/apple-unveils-a17-pro-a-3nm-chip-powering-iphone-15-pro-182113747.html), using their primary and ultrawide cameras, these phones will have the power to create immersive three-dimensional videos. The real game-changer, however, lies in what you can do with these videos. Soon, youâll be able to watch them on the upcoming Apple Vision Pro headset, slated for an early 2024 release. This headset promises to merge Virtual and Augmented Reality, taking us one step closer to the long-anticipated Metaverse. It is a glimpse into the future, and itâs here sooner than you might think.`},{type:`p`,text:`Apple Event - September 12, 2023 - YouTube`},{type:`p`,text:`Tap to unmute`},{type:`p`,text:`[Apple Event - September 12, 2023](https://www.youtube.com/watch?v=ZiP1l7jlIIA) [Apple](https://www.youtube.com/channel/UCE_M8A5yxnLfW0KghEeajjw)`},{type:`p`,text:`Apple20.7M subscribers`},{type:`p`,text:`The [Vision Proâs mixed reality headset](https://www.cnn.com/2023/06/05/tech/wwdc-2023-apple-event/index.html) looks like the future, or at least an early prototype.`},{type:`p`,text:`Apple unveiled the device at a developer event on June 5th, 2023. The headset blends both Virtual Reality and Augmented Reality, a technology that overlays virtual images on live video of the real world. However, as a marketing choice, no mention was made of Virtual Reality, using the words Augmented Reality instead. This may sound like a surprise to most, as it is the seamless blending of the virtual and real realities that everyone is waiting on in the Metaverse.`},{type:`p`,text:`At first glance, the Apple Vision Pro resembles traditional VR headsets and mixed reality devices like the Meta Quest Pro. However, there are distinct differences upon activation. A quick breakdown of Apple Visionâs Pro main features:`},{type:`bullet`,text:`The front of the visor features a display under a curved pane of 3D laminated glass. This enables the Vision Pro to utilize Eyesight, which shows others your eyes for a more natural interaction experience.`},{type:`bullet`,text:`The glass pane also functions as a lens for the extensive camera array, consisting of 12 cameras and six microphones. Users can control the device without controllers, using eye tracking, hand gestures, and voice commands.`},{type:`bullet`,text:`Appleâs attention to detail extends to the custom curved aluminum alloy frame and modular design. The Light Seal, available in various shapes and sizes, ensures a perfect fit with soft fabric for c
34omfort. The Head Band, also in different sizes, attaches at the front and includes speakers, known as âaudio pods,â delivering immersive Personalized Spatial Audio.`},{type:`bullet`,text:`The Vision Pro includes two buttons: an action button for capturing spatial photos and videos, and a crown-like button for controlling immersion levels. Apple promises that Eyesight will indicate when a photo or video is being taken to address privacy concerns.`},{type:`bullet`,text:`One notable design aspect is the Vision Proâs all-day usage when plugged in, requiring an external battery for wireless operation. The battery lasts approximately two hours and connects via a woven cable, necessitating another proprietary Apple charger.`},{type:`p`,text:`The Vision Pro came with a general expectation not to appeal to the mainstream public simply because of price. Unlike Metaâs Oculus Quest, it seemed more targeted at professional users and early adopters. Yet, with the new iPhone release, Apple may be attempting to change or lower this expectation. It will be interesting to monitor the extent to which regular iPhone 15 buyers will also purchase the Vision Pro. We predict that specialized companies will surely invest in it, although most likely not as a purchase for all employees, and that Apple views Vision Pro as a first step to its long-term Spatial Computing product innovation strategy.`},{type:`p`,text:`Overall, with the dream of Metaverse in mind, Vision Pro still appears too heavy to wear for long lengths of time. However, the overlaying of the useful apps, their ease of use, and the reliance on eyes and fingers, while viewing amazing graphics, are all appealing concepts to the masses. The new slimline battery that fits into a pocket is good, however, battery life is still too short, unless you stay tethered to the spot. The headset is also still a little bulky and the âeye displayâ is an interesting choice, but the thought of being seen out with this device may be off-putting to some people. According to our virtual-world enthusiasts, Vision Pro has still not fully centered the objective of bringing the virtual to real life in a meaningful way; but it is an incredible first step for the company and we are excited to see Apple improving on this.`},{type:`p`,text:`Apple Vision Pro Impressions! - YouTube`},{type:`p`,text:`Tap to unmute`},{type:`p`,text:`[Apple Vision Pro Impressions!](https://www.youtube.com/watch?v=OFvXuyITwBI) [Marques Brownlee](https://www.youtube.com/channel/UCBJycsmduvYEL83R_U4JriQ)`},{type:`p`,text:`Marques Brownlee21.1M subscribers`},{type:`p`,text:`And the biggest question of all âAt almost 10 times the price of the Meta Quest Pro, which has recently reduced its cost, has Apple priced itself out of the market for a glorified new games console? â We do not necessarily think so. The price is aimed at its **short-term target market**, professionals and early adopters. On the contrary, its marketing and the associated new product feature releases (Like the iPhone 15 Proâs) are aimed at slowly getting the masses used to the idea of an immersive, spatial version of the internet; outlining a clear **long-run strategy**. Customer feedback will assist Apple in updating and refining its product, allowing it to create a demand-based product shift to spatial computing. Is this what the Appleverse looks like?`}]},{slug:`releasing-hands-on-mommy-twins`,title:`Powering the Twins-Edition of the Most Realistic Metaverse Pregn
34ancy Simulation`,date:`August 1, 2023`,hero:`/articles/c522a04d-0afe-45db-99af-7c2a4bb7e00d-8426ced3.webp`,tags:[`AI NPCs`,`ChatGPT`,`Horizon Worlds`,`Maternity simulation`,`Medical Simulation`],excerpt:`Enrapture i s pleased to present Hands On Mommy Twins â The Real Animesh Pregnancy Journey with Hands On Care Maternity.`,blocks:[{type:`p`,text:`[Enrapture i](https://www.enrapture.world/) s pleased to present [Hands On Mommy](https://www.handsoncarematernity.com/handsonmommy)\xA0Twins â The Real Animesh Pregnancy Journey with [Hands On Care Maternity.](https://handsoncarematernity.com/)`},{type:`p`,text:`The groundbreaking innovation of Animesh twins, counting as 1 Animesh attachment and, hence, being available to all Second Life Residents regardless of Animesh limitations on the grid, advances our goal of creating the most realistic pregnancy simulations for everyone to enjoy. As stated in an article by [Kady Ruth Ashcraft](https://jezebel.com/virtual-pregnancy-metaverse-1850443393),\xA0 virtual pregnancies are\xA0 âan opportunity to improve how pregnancy is perceived in our imperfect real world. As we create these fantasy virtual worlds, how we include or exclude pregnant bodies matters.â`},{type:`p`,text:`[Enrapture](https://www.enrapture.world/) powers the innovation at Hands On Care Maternity by creating, in conjunction with real-life medical professionals, a totally NEW pregnancy experience in Hands On Mommy Twins.`},{type:`p`,text:`As with everything [Hands On Care Maternity](https://handsoncarematernity.com/) does, the new Hands On Mommy Twins is not limited to just copying Hands On Mommy Single. It is a completely new product that is redefining Second Life pregnancies and that takes into account the additional risks of multiples, without roleplaying tragic scenarios and keeping the goal of a positive pregnancy experience.`},{type:`p`,text:`Anyone can experience complications during pregnancy - regardless of how many babies they are carrying. However, healthcare providers consider [multiple](https://my.clevelandclinic.org/health/articles/9710-expecting-twins-or-triplets) pregnancies higher risk than single pregnancies.`},{type:`p`,text:`**The average duration of multiple pregnancies**`},{type:`image`,src:`/articles/9c856ad123d0a88cfb9566878f36ca99-1-bec29675.webp`,alt:``},{type:`p`,text:`[Multiple](https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2954517/) pregnancies carry a higher risk of prematurity, intrauterine growth restriction, and more serious outcomes, as well as elevated risks to the mother including preeclampsia, diabetes, and moree. Genetic tests and ultrasonography are the most important tests for monitoring during pregnancy.`},{type:`p`,text:`We, at [Enrapture](https://www.enrapture.world/), in conjunction with medical professionals and scripters, wanted to create a product that produces some of the\xA0 specific complications that can come with a twin pregnancy and we aimed for a positive, but more challenging and rewarding\xA0 pregnancy journey.`},{type:`p`,text:`The real innovation comes in the twin Animesh babies, which are created in such a way that the twins can be worn by all residents of SecondLife, not just the premium members. We were able to introduce unprecedented innovation by ensuring that the 2 Animesh babies count as 1 Animesh object. This took several experiments with the bento skeletons of the babies, allowing them to naturally animate and perform different movements (so that they are not a constant mirror of each other) while counting as one attachment. It is essential for us to be inclusive of all avatars and all subscription classes. So much so, that with our products users can carry Hands On Mommy Twins, while also holding one of Hands On Care Maternityâs Lottie Tottie bento newborns.`},{type:`p`,text:`With Hands On Mommy Twins, there are more than a dozen of twin-specific Active Roleplay tasks. From additional daily supplements of folic acid and iron to custom-built items like a realistic home blood pressure home kit, nausea bands, cranberry supplements, twin comfort chairs, ice compresses, and more.`},{type:`p`,text:`The Hands On Mommy health bar is now progressing in a different fashion,\xA0 making the active role-play tasks the same in frequency but more impactful on the avatarâs health. Hence, making it harder to stay healthy all the time.`}
34,{type:`p`,text:`We opted for dichorionic/di-amniotic twins, these have a separate placenta and amniotic sack. Unlike identical monoamniotic twins, they donât share 100 % of the same DNA, allowing moms to customise the babyâs gender and appearance as they see fit, allowing for more diversity in the babies.Thatâs right, the twins donât have to look exactly identical and their appearance can be customised or set simply by inserting the genetics of mom and dadâs avatars.`},{type:`p`,text:`Again, Enrapture is ahead of the medical curve in virtual-worlds when it comes to giving meaning to immersive simulations as [Alexandra Bolshakov](https://jezebel.com/virtual-pregnancy-metaverse-1850443393), a research assistant at Athanâs Maternal Psychology Lab, said: âYou can move your body fat to change your face shape along with your pregnancy, so itâs very detailed and customised.â (In general, the difference in visual detail between Horizon Worldsâ avatars and Second Lifeâs is like the discrepancy between Yogi and Cocaine Bear.) Your pregnant Second Life avatar will be reminded to take prenatal vitamins, and you can choose your virtual babyâs physical features and select its due date. **It is âthe most comprehensive kind of pregnancy experience in a video game that Iâve come across,â** Bolshakov said.`},{type:`p`,text:`When [Hands On\xA0 Mommy](https://www.handsoncarematernity.com/handsonmommy) was first released two years ago, the Second Life Family Roleplay community was simply curious about it and they quickly learned to love it, becoming the golden standard for realistic virtual parenting and maternity in Second Life and a particularly meaningful product to couples in time of social distancing and with other difficulties. Hands On Care Maternity even heard stories of people deciding to pursue a Medical Career in real-life, because of how much they loved the product.`},{type:`image`,src:`/articles/release-small-502f23b2.webp`,alt:``},{type:`p`,text:`Yet, releasing Hands On Mommy Twins this Saturday, two years afterward, something felt incredibly different. We saw avatars of customers lining up since midnight, waiting several hours prior to the release of the product. As the vendors became available, they hardly even checked out the DEMO, it was a race of who âbought it firstâ, and who was the most âloyal customerâ. Many even complained about not receiving the release email on time! With hundreds of sales in a few hours, we registered our all-time sales record, beating the initial [Hands On Mommy Single](https://www.handsoncarematernity.com/) release.\xA0 We received deeply touching messages from clients who had been waiting âyears for this dayâ and who thanked us for listening to their requests and not giving up. Avatars? strangers⦠with mostly hidden identities?..perhaps, but **real** **customers** who simply\xA0 believed in us and wanted us to know it. People say that âThe Metaverse is dead?â, we donât worry about that â **this is the way to the kind of âMetaverseâ that matters to us.**`},{type:`p`,text:`Often moving both its staff and patients to tears, we are very proud to know that Hands On Mommy Twins will continue to help real-life couples unite and that it has empowered many virtual-world users who can either not conceive in real life or who have undergone traumatic experiences.`}]},{slug:`predicted-changes-to-team-collaboration-following-the-surge-of-new-businesses-in-the-metaverse`,title:`Predicted Changes to team collaboration, following the surge of new businesses in the Metaverse`,date:`June 15, 2023`,hero:`/articles/e66a76a6c5fed3caa9ac708c48c591d4-84742adc.webp`,tags:[],excerpt:`The advent of teams working in virtual worlds and Metaverse is revolutionizing team collaboration, presenting opportunities and challenges.`,blocks:[{type:`p`,text:`The advent of teams working in virtual worlds and Metaverse is revolutionizing team collaboration, presenting opportunities and challenges. This article delves into the predicted changes to team dynamics following the surge of virtual-world-focused business teams; including real-world teams that expand to working in the Metaverse and Metaverse-native teams of avatars who met in virtual-worlds and decided to work together. These findings are a short summary of a research thesis submitted by our founder Manuel Bolognesi which followed qualitative research based on interviews conducted within these virtual-world working teams. Because of the qualitative and explorative nature of the study, the research design is built on grounded theory, open-ended interviews, and a coding-based analysis of theories that emerge from triangulation.`},{type:`p`,text:`By examining existing research and incorporating practical insights, we explore key areas that are expected to undergo a transformation; including globalized team culture, payment satisfaction, fictional identities, and training and learning. Understanding these changes is crucial for businesses to adapt and optimize team collaboration in the ever-evolving Metaverse landscape. An environment where innovative office
34s are already developing [assets like:](https://www.interaction.uk.com/insight/articles/5-modern-office-trends/)`},{type:`p`,text:`1\\. Wellness rooms`},{type:`p`,text:`2\\. Collaborative layouts`},{type:`p`,text:`3\\. Sustainable offices`},{type:`p`,text:`4\\. Neurodiverse workspaces`},{type:`p`,text:`5\\. Smart, immersive offices`},{type:`p`,text:`**Globalized Team Culture: Embracing a New Reality**`},{type:`p`,text:`In the Metaverse era, team members must be prepared to transcend the boundaries of time and space. Seamlessly blending work and social life across virtual dimensions will become the norm, demanding a delicate balance that optimizes team productivity. Creating a **balanced private, personal, dimension of virtual life** may be necessary for the well-being of each team member, allowing them to visit different parcels, form virtual families or friendships, and rejuvenate during virtual breaks. Empowering individuals to take charge of their **work-life balance and encouraging authentic self-expression through clothing and avatar appearance choices** will foster a sense of ownership and satisfaction within the virtual-working context.`},{type:`p`,text:`Corporate Social Responsibility (CSR) will be important, with companies needing to demonstrate that they are [âa force for social goodâ](https://www.cranfield.ac.uk/som/thought-leadership-list/what-does-the-future-hold-for-generation-alpha) in order to attract people of Generation Alpha.`},{type:`p`,text:`**Payment Satisfaction: Redefining Value in the Metaverse**`},{type:`p`,text:`The notion of payment satisfaction in the Metaverse will undergo a paradigm shift. While financial security remains important, and the divide between real-world payment rates and the Metaverseâs may eventually meet, **âMetaverse-native teamâ members primarily seek fulfilment and unique experiences out of their virtual jobs.** Fulfilment that may be unattainable for them in the real world due to a lack of experience, courage, age, or health . Second Life or ROBLOX have plenty amateur developers, customer support personnel, who mostly work for **virtual-world specific currency** and **personal validation, to satisfy their avatarâs virtual-world specific demand without investing real-life money in the purchase of the platformâs currency (namely Lindens or Robux, in these cases).** This pursuit of fulfillment revolves around the creation of virtual-life demand. Consequently, businesses should not necessarily anticipate lower payments for Metaverse-native team members compared to their real-life counterparts, but focus on conveying the right levels of purpose, fulfilment and commitment. Addressing payment, it is also essential to **move beyond a singular focus on cryptocurrency** and explore alternative methods of payment that address the volatility and uncertainties associated with digital currencies. Companies aiming to build a metaverse-native team will have to have strong social and ethical policies in place to attract the younger workforce and craft the right job for the right individual, based on the the passions and personal goals that the individual already pursues in his/her free/gaming time within virtual worlds.`},{type:`p`,text:`**Fictional Identities: Establishing Trust and Professionalism**`},{type:`p`,text:`Navigating fictional identities is a critical aspect of Metaverse team collaboration. Building a **Metaverse-specific reputation** will become paramount, ensuring professionalism and trust in an environment where real-life identities and work experiences are often undisclosed. While verifiable real-life work experience may still hold value, Metaverse-specific reputation and the demonstration of verifiable abilities will be the foundation of professionalism. In the long run, we predict that the focus is expected to shift towards enhancing real-life services, emphasizing the importance of real-life experience and discretion, like in the real world. As more and more companies turn to virtual offices,\xA0 knowing and trusting the staff is vital.`},{type:`p`,text:`**Training and Learning: Bridging Virtual and Real-Life Scenarios**`},{type:`p`,text:`Training and learning in the Metaverse will play a crucial role in enhancing both virtual and real-life scenarios. Virtual training will not only improve services within the Metaverse but also serve as a **powerful tool for enhancing real-life skills.** Entrepreneurship in the Metaverse, connecting people solely based on passion and their willingness to work during their âgaming timeâ, proves to be a very challenging and valuable **building ground for real-world leadership skills.** The highly graphic and interactive nature of the Metaverse also provides a unique learning environment that can be leveraged to optimize real-life service quality. However, it is vital for team leaders and trainers to exhibit understanding and adaptability when working towards the well-being of individuals, as the Metaverse introduces [new challenges](https://thinkglobalpeople.com/latest-innovation-trends-for-managing-global-teams-to-meet-your-business-objectives/) and needs that may impact staff turnover rates:`},{type:`p`,text:`· \xA0 \xA0 \xA0 \xA0 Build inclusive Learning programs`},{type:`p`,text:`· \xA0 \xA0 \xA0 \xA0 Offer flexible working`},{type:`p`,text:`· \xA0 \xA0 \xA0 \xA0 Look at pay equity by job and level, not tenure.`},{type:`p`,text:`· \xA0 \xA0 \xA0 \xA0 Bring age diversity into your DEI programs.`},{type:`p`,text:`· \xA0 \xA0 \xA0 \xA0 Give older workers managerial roles, supervisor roles, and mentor roles.`},{type:`p`,text:`· \xA0 \xA0 \xA0 \xA0 Invite them back to work from retirement, by offering them greater social contact and a new skill.`},{type:`p`,text:`· \xA0 \xA0 \xA0 \xA0 Coach recruiters not to discriminate by age and instead how to engage by age.`},{type:`p`,text:`· \xA0 \xA0 \xA0 \xA0 Teach younger leaders about reverse mentoring and how it can expand the workforce.`},{type:`p`,text:`**Solutions:**`},{type:`bullet`,text:`Introduce and use messaging tools. Encourage their use by using them yourself.`},{type:`bullet`,text:`Have a âfunâ or non-formal channel for team members to
34share interesting information from their virtual and real life so as to get to know each other better.`},{type:`bullet`,text:`Before [group conferences](http://www.skype.com/) keep up to 10 minutes at the start to chat informally (though be sure to avoid people using this as an excuse to be late).`},{type:`bullet`,text:`Set up a chart with applicable membersâ time zones and work out an acceptable time for meetings, this may mean some members will have to log in outside of a standard 9-5.`},{type:`bullet`,text:`For those that absolutely canât attend, use a communication tool with a recording function so they can listen back to what has been discussed and add their input.`},{type:`bullet`,text:`Build a culture where team members feel free to ask each other about âjumping on quick callsâ through the day while also feeling confident in knowing when to reject doing so.`},{type:`p`,text:`The work tone for the team should be set by you, finding as close as possible to a happy medium between the team members involved and your expectations.`},{type:`bullet`,text:`On a more informal channel, ask team members to introduce themselves and their country or region and list some ways that they think their culture works differently. This will help them to familiarize each other with potential differences in approach.`},{type:`bullet`,text:`Where possible, use simpler terms and expressions`},{type:`bullet`,text:`Make objectives and deliverables clear to all team members at each project stage.`},{type:`bullet`,text:`Move [away from an hourly work system](https://blog.planview.com/problems-and-solutions-for-managing-international-teams/) and towards a results-based one. Let your team know that the most important thing is getting deliverables in by their due dates; everything else is up to them.`},{type:`p`,text:`To conclude, the rise of virtual businesses in the Metaverse transforms team collaboration. By embracing globalized team culture, redefining payment satisfaction, navigating fictional identities, and investing in training and learning, businesses can adapt to the evolving Metaverse landscape. It is crucial for organizations to recognize the unique dynamics and opportunities that the Metaverse brings to team collaboration. By doing so, they can leverage the power of this new digital frontier and foster thriving and productive teams.`},{type:`image`,src:`/articles/13180a324c10a09953c7ffcd4557ec52-d760aded.webp`,alt:``},{type:`image`,src:`/articles/b18dfd36946a21fe6a7519e90d6c45d9-7f5ac098.webp`,alt:``}]},{slug:`enrapture-immersive-workrooms-why-do-we-believe-in-a-corporate-metaverse`,title:`Enrapture Immersive Workrooms â Why do we believe in a corporate Metaverse?`,date:`June 15, 2023`,hero:`/articles/meetworkintroscreen-844f179d.webp`,tags:[`Ai Immersive Workrooms`,`ChatGPT`,`Corporate Metaverse`,`Gamified Teamwork`,`Generative AI`],excerpt:`A large number of offices today have adopted hybrid-working technology into their working office practices since covid, with video conferencing becoming the norm for most people and offices.`,blocks:[{type:`p`,text:`A large number of offices today have adopted hybrid-working technology into their working office practices since covid, with video conferencing becoming the norm for most people and offices.`},{type:`p`,text:`**What were the leading video conferencing platforms used in 2020?**`},{type:`p`,text:`1. Zoom â 50.3% of respondents`},{type:`p`,text:`2. Microsoft Teams â 12% of respondents`},{type:`p`,text:`3. Facebook Live â 9.4% of respondents`},{type:`p`,text:`4. Instagram Live â 7.3% of respondents`},{type:`p`,text:`5. GoToWebinar â 5.8% of respondents`},{type:`p`,text:`6. YouTube Live â 5.2% of respondents`},{type:`p`,text:`7. On24 â 4.7% of respondents`},{type:`p`,text:`8. WebEx â 1% of respondents`},{type:`p`,text:`At the onset of the pandemic, Zoom was by far the most used video conferencing platform compared to similar counterparts, like Teams and WebEx. This has led to the rise of the so-called [âZoom fatigueâ](https://thehomeofficelife.com/blog/zoom-fatigue).`},{type:`image`,src:`/articles/fd2c6ca5085846807e5b4d978da5fd9c-cf1919d1.webp`,alt:``},{type:`p`,text:`Source: [Buffer](https://buffer.com/state-of-remote-work/2023)`},{type:`p`,text:`_Overall,_ [_research_](https://www.ons.gov.uk/employmentandlabourmarket/peopleinwork/employmentandemployeetypes/articles/ishybridworkingheretostay/2022-05-23) _has shown that for managers to meet employees in the middle it is best 3 days in the office and 2 at home. Yet, employees often prefer to opt for as low as 1-day in the office and the rest at home._`},{type:`bullet`,text:`80% of people leaders reported that a hybrid setup was exhausting for employees`},{type:`bullet`,text:`21% of respondents who had quit their jobs in 2021 reported doing so because of a lack of flexible working hours or location`},{type:`bullet`,text:`Office workers went to the office an average of 3.8 days per week pre-pandemic. Post-COVID, this has reduced to an average of 1.4 days per week.`},{type:`bullet`,text:`Just 13% of workers go into the office on a Frid
34ay`},{type:`bullet`,text:`The proportion of people who are hybrid working has risen in 2022. 14% worked from home exclusively between 27 April and 8 May 2022, while 24% both worked from home and traveled to work·`},{type:`p`,text:`**Hybrid/Physical Trends**`},{type:`p`,text:`Gen Z is leading the way in the workplace now. Research indicates Gen Z is emerging as the most stressed demographic in the workplace. [Similar data](https://www.bbc.com/worklife/article/20230215-are-gen-z-the-most-stressed-generation-in-the-workplace#:~:text=In%20the%20short%20term%2C%20Gen,related%20burnout%20than%20other%20cohorts.Most) shows that unmanageable stress affects almost a quarter of Gen Z respondents (23%), and almost all (98%) are dealing with symptoms of burnout.`},{type:`p`,text:`While working from home is beginning to be the norm for the workforce, it does cause [problems](https://www.offices.co.uk/smarten-up-please-remote-workers-being-told-to-smarten-up/) for employers with monitoring, dress codes, and engagement of staff:`},{type:`bullet`,text:`89% of employees said âabsolutely notâ to formal dress codes for remote work`},{type:`bullet`,text:`65% of managers think employees who work from home should dress smarter`},{type:`bullet`,text:`55% of managers think remote workers should dress more smartly on video calls`},{type:`bullet`,text:`53% of employees say they dress differently for working in the office versus working at home`},{type:`bullet`,text:`48% of employers said they were considering a formal dress code for hybrid work`},{type:`bullet`,text:`42% of employees said having a formal dress code introduced would cause them to look for a new job`},{type:`p`,text:`While it may be stated that productivity has increased with home working, [concerns are growing](https://www.peoplemanagement.co.uk/article/1811252/half-employees-feel-productive-when-working-home-research-finds) for the small percentage that finds home working isolating. While one-fifth (20 percent) of employees are burned out at work, half (51 percent) feel more productive when working from home.`},{type:`p`,text:`**A** [**study**](https://standout-cv.com/employee-monitoring-study) **comparing the data collection features of 32 popular team member monitoring tools discovered:**`},{type:`p`,text:`· \xA0 \xA0 \xA0 \xA0 **94%** track how much time employees spend on tasks`},{type:`p`,text:`· \xA0 \xA0 \xA0 \xA0 **75%** can take screenshots of workersâ desktops`},{type:`p`,text:`· \xA0 \xA0 \xA0 \xA0 **59%** collate and report on keyboard and mouse movements`},{type:`p`,text:`[The bottom line](https://www.instantoffices.com/blog/featured/employee-monitoring-trends/) is that many workers understand that surveillance tactics are important to the business. They want their employers to be upfront about those measures, especially with the upcoming Gen Alpha. Advocates believe that employers need to establish best practices that respect workersâ privacy, offering stronger assurances about privacy protections and data sharing policies, including limits on storage time`},{type:`p`,text:`Based on research into the modern office, and using the trends in the workforce of Gen Z and Gen Alpha, the new hybrid office will be somewhat different from todayâs office.`},{type:`p`,text:`**Traditional offices** usually have a combination of the following characteristics:`},{type:`bullet`,text:`Assigned work areas (cubicles or a private office)`},{type:`bullet`,text:`Partition walls everywhere`},{type:`bullet`,text:`Gloomy colors`},{type:`bullet`,text:`Plain office furniture`},{type:`bullet`,text:`Outdated office decor (picture a painting with a boat on it)`},{type:`bullet`,text:`No recreational or lounge spaces`},{type:`bullet`,text:`Minimal windows and natural light`},{type:`bullet`,text:`A clinical or institutional feel`},{type:`p`,text:`Businesses are looking to [wellness](https://www.interaction.uk.com/insight/articles/5-modern-office-trends/) rooms as one piece of the inclusivity puzzle. When it comes to this unique workplace design trend, wellness spaces should be tailored to the health and well-being requirements of your diverse workforce. This can include:`},{type:`bullet`,text:`Nursing rooms`},{type:`bullet`,text:`Prayer rooms`},{type:`bullet`,text:`Resting rooms`},{type:`p`,text:`As experts in virtual workspaces, we have developed the Enrapture workroom to cater to the specific needs of brands, allowing for customization of design and size. While the core work tools remain unchanged, our virtual environment reduces isolation by promoting socialization and interactivity. This enables companies to customize their workspaces to foster a strong company culture and create the desired atmosphere while ensuring employees feel connected and can strike a healthy balance between work and play through gamification and shared spaces.`},{type:`image`,src:`/articles/b138679dfc81bc34302f900c83bfb7e3-837d8715.webp`,alt:``},{type:`p`,text:`The motivation behind building the Enrapture workroom solution [MeetWork.Ai](http://www.meetwork.ai/) stemmed from our expertise gained through successfully running multiple small businesses in virtual worlds. Recognizing the emerging trends in the current workforce (Gen Z) and the upcoming workforce (Gen Alpha), we sought to address the challenges of remote work by providing a comprehensive virtual office solution. This includes essential features such as video conferencing, collaborative sharing boards, file-sharing capabilities, staff monitoring, and artificial intelligence integration.`},{type:`p`,text:`Enraptureâs AI Workroom solution, [MeetWork.ai](https://www.meetwork.ai/) puts a [t
34imely focus](https://www.interaction.uk.com/insight/articles/5-modern-office-trends/) on:`},{type:`p`,text:`1.\xA0 Advanced Immersivity in work & wellness areas`},{type:`p`,text:`2.\xA0 Secure, easily accessible, collaborative layouts`},{type:`p`,text:`3.\xA0 Sustainable offices`},{type:`p`,text:`4.\xA0 Neurodiverse workspaces`},{type:`p`,text:`5.\xA0 Smart offices for work and collaboration`},{type:`p`,text:`6.\xA0 Gamified team bonding`},{type:`p`,text:`7\\. Most advanced use of Generative AI (Text, Image, 360 Degree Sky, and AI NPC conversations)`},{type:`p`,text:`8\\. Transparent employee monitoring practices`},{type:`image`,src:`/articles/smaller-5dededd1.webp`,alt:``},{type:`p`,text:`However, the true reason behind our virtual office solution extends beyond mere functionality. We acknowledge that modern office design trends align with our understanding of the potential power of virtual worlds. By incorporating well-being spaces that are increasingly sought after in real-world workplaces, we aim to create an immersive virtual experience that can engage groups, classes, teams, or families.`},{type:`p`,text:`We have become master manipulators in the virtual worlds, from creating landscapes and buildings to customized equipment and full animations to create the optimum experience.`}]},{slug:`presenting-enrapture-world-in-roblox`,title:`Presenting Enrapture World in ROBLOX`,date:`June 15, 2023`,hero:`/articles/4622d9c93f3f4777de91727e4f2055bd-e496f5c3.webp`,tags:[],excerpt:`We are proud to present Enrapture World â a stunning game and virtual map environment within the immersive world of ROBLOX.`,blocks:[{type:`heading`,text:`Presenting Enrapture World in ROBLOX`},{type:`p`,text:`We are proud to present Enrapture World â a stunning game and virtual map environment within the immersive world of ROBLOX. With a considerable portion of ROBLOX users falling under the age of 12, our team has crafted a meticulously designed land that caters to this young audience, while also keeping in mind the interests of older youth. Its visual aesthetics of the land were carefully curated with the goal of creating a sense of enchantment and wonder for all who visit.`},{type:`p`,text:`Under 9 : 22%`},{type:`p`,text:`9 â 12: 23%`},{type:`p`,text:`13 â 16: 15%`},{type:`p`,text:`17 â 24: 21%`},{type:`p`,text:`25 + : 17 %`},{type:`p`,text:`Data from Statista as Of December 2022`},{type:`p`,text:`According to [ROBLOX Investor Day presentation,](https://www.statista.com/statistics/1190869/roblox-games-users-global-distribution-age) 54.86% of ROBLOX daily active users were under 13 years old as of 2020. Thatâs largely unchanged from previous years, with 59.3% and 57.76% for 2019 and 2018 respectively.`},{type:`p`,text:`Enrapture World is geared towards Gen Alpha and the tail end of Gen Z. Since the pandemic, much has been made of the childrenâs mental health; so much so that Doctors are actually prescribing more playtimes for stressed and worried children, of millennial parents. Gen Alpha have 12 hours less playtime than their millennial parents had. Looking at the [The American Academy of Paediatrics](https://www.aap.org/en-us/Pages/Default.aspx) report in 2018 titled The Power of Play. It States, âPlay is not frivolous: it enhances brain structure and function and promotes executive functionâ. They went on to recommend that doctors prescribe âplay every dayâ to all their young patientsâ.`},{type:`p`,text:`That is why we have created a space where our users can walk the red carpet, soak in the pool, and bask in the spotlight of a sea of paparazzi.`},{type:`p`,text:`We have an Enrapture World merch shop, reliant on our virtual coin system which is gained through game experience points.`},{type:`p`,text:`With five dynamic mini-games, we immerse players in a world of wonder and excitement, where they become an integral part of the gameâs captivating story. Our mini-games are the perfect blend of fun, magic, and function.`},{type:`p`,text:`At the heart of Enrapture World is a captivating story, which binds all elements of our land together. In much the same way that a companyâs ethics and morals define its identity, our story is the cornerstone of our corporate identity. Our virtual world may entice the young with its stunning graphics and enchanting sounds, but our true identity as a company may not always be immediately apparent. Thatâs why we take great care to ensure that our story reflects the values and vision of our organization. Music is core at Enrapture as it enhances moods, creativity and it can aid concentration. Therefore, we have created a music land that harnesses the power of social audio. At the heart of this project lies our everyoneâs love for music, especially children. There we introduce singers and musicians to give a concert 4 times a day. Our specially designed animations and lighting effects are sure to transport our users to a world of music and magic, where they can channel their inner rockstar and jump on stage. But our music land is more than just a concert venue â it is a true haven of creativity and inspiration. Our team understands the transformative power of music, and how it can influence moods, enhance concentration and`},{type:`p`,text:`Our story is based on all myths, legends, and folklore, but most importantly, it is nature-based, because as George Monbiot says using national trust information â todayâs children are enclosed in school and home, enclosed in cars to and from school. Since the 1970s the area in which children roam without adults has decreased by almost [90 percent](http://naturallycurious.co.uk/sites/default/files/Natural%20Childhood%20%28National%20Trust%2C%20by%20S%20M
34oss%29.pdf).â`},{type:`p`,text:`It is vital for GenZ and Gen Alpha to stay always more committed to the environment, sustainability, and nature. Thus, by giving life to the rocks, the trees, and the waters of Enrapture World, we aim to personify nature and generate a renewed appreciation and respect for its overwhelming beauty. Thus, allowing them to feel the bonds to Enrapture Worldâs mission.`},{type:`p`,text:`âThe possibilities now emerging for companies are as transformational as they are challenging. Businesses must rethink how they deliver value to the consumer, rebalance scale and mass production against personalization, andâmore than everâ practice what they preach when they address marketing issues and work ethicsâ â [Mckinsey](https://www.mckinsey.com/~/media/McKinsey/Industries/Consumer%20Packaged%20Goods/Our%20Insights/True%20Gen%20Generation%20Z%20and%20its%20implications%20for%20companies/Generation-Z-and-its-implication-for-companies.pdf)`},{type:`p`,text:`Great attention has been paid to the intricate details of our story and the enchanting landscape it is set within. Within its walls stands a formidable fortress, a haven for the pursuit of magic training, team collaboration, and building strong bonds. Our system operates on a hierarchical framework of feats, achieved through the successful completion of challenging tasks. In keeping with our magical theme, we have eschewed conventional weapons such as swords or guns, instead, emphasizing the acquisition of magical powers. We ensure that no harm comes from magic; it can only stun and distract, never destroy.`},{type:`p`,text:`As a delightful addition to our magical realm, we offer our players the chance to raise and nurture their very own magical pets. Through the care and nurturing of these magical companions, our players can gain further mastery of magic. They may also engage in the trading of pets, some of which possess rare and unique abilities, with the possibility of increasing powers following gains in experience points. The Fort stands as the epicenter of magical power, the source from which all magic flows. It is here that we deliver updates and engage with our players. This world of enchantment is not only great fun, but we also recognize its potential to provide a much-needed outlet for leisure time and contribute positively to the mental health of Gen Alpha, particularly in light of the challenges posed by the Covid19 pandemic.`},{type:`p`,text:`[Flux trends](https://www.fluxtrends.com/prescribed-play-for-generation-alpha/) stress how ânow, doctors are warning that the decline in playtime is having a devastating effect on the health, mental wellness, socialization and even the cognitive ability of children. Countries where children are given more, free playtime while young, see more academic success as those children get older. So much so, they are now prescribing playtime to overworked, stressed small children, the same way they would prescribe a Panado for a feverâ.`},{type:`p`,text:`The idea of play is what encouraged us to take Enrapture to Roblox, but it raised more questions about the safety of the young online, should the land âbootâ them after an allotted screen time suitable to the age group? And how are we verifying ages? Is the mixing of age groups a good thing or is it safer to only limit interactions between children of similar ages? This is particularly important as of late, because the fastest-growing age groups in Roblox are [16-24 and over. https://www.fastcompany.com/90878692/roblox-grows-up](https://www.fastcompany.com/90878692/roblox-grows-up)`},{type:`p`,text:`These are the points that Enrapture has to consider in addictive environments, our baseline for Enrapture World in Roblox is the youngest age group. These questions we have had to ask in each of the various worlds Enrapture inhabits, and they have each been able to teach us something about how we run our own business.`},{type:`image`,src:`/articles/5bcc48a8c9333cc4342c146525167f50-jpg-1ef50c2d.webp`,alt:``},{type:`p`,text:`Enrapture using Roblox and its average of very young users helped us clarify our thinking on building worlds aimed specifically at the young and incorporating our values ethically and morally. This is a knowledge we can share with our clients.`},{type:`image`,src:`/articles/world3-0c669945.webp`,alt:``},{type:`p`,text:`While we are still developing the game, if you are a brand that would like to be represented in our game, reach out to us at [email protected], and letâs discu
34ss it! We may create branded merch together, add your music to our concerts, or shape new areas of our ROBLOX world (map).`}]},{slug:`the-changing-role-of-hr-and-opportunities-of-virtual-immersivity`,title:`The changing role of HR and opportunities of virtual immersivity`,date:`June 15, 2023`,hero:`/articles/williamowens-a-blogpost-picture-showing-people-working-in-the-2c6270f4-1730f722.webp`,tags:[`ChatGPT`,`Gamified Teamwork`,`Immersive Meetings`,`Immersive WorkRooms`,`Metaverse`,`Metaverse Consultation`,`Metaverse Healthcare`,`Spatial Computing`,`Team Efficiency`,`Teamwork`,`virtual Medical Training`,`Virtual Worlds`],excerpt:`In the past century, HR departments have undergone a significant transformation.`,blocks:[{type:`heading`,text:`The changing role of HR and opportunities of virtual immersivity`},{type:`p`,text:`In the past century, HR departments have undergone a significant transformation. The first prototype HR department emerged in the early 1900s to handle workersâ strikes and walkouts. Since then, HR has evolved to become an essential part of organizations, overseeing talent recruitment, onboarding, and training.`},{type:`p`,text:`Today, HR is no longer just about touchy-feely people skills. Instead, it uses data and people analytics to assess and refine training for the workforce. This enables HR to help mold decision-making and goals in organizations. HR departments now strive to ensure that employees are excited to go to work and create packages tailored to their career needs.`},{type:`p`,text:`To achieve these goals, HR has had to change the way they work. The recruitment of the right talent is of vital importance. Since the COVID-19 pandemic, work patterns and practices have changed. More and more companies work remotely, enabling workers to balance work/home life better, leading to a more fulfilling feeling in their employment.`},{type:`p`,text:`Recruitment Statistics`},{type:`p`,text:`It is acknowledged that more diversity in ages is conducive to a learning and productive company. HR has had to become more like marketing specialists to attract new talent; however, the turnover of staff has also risen.`},{type:`p`,text:`For Gen Z (age 6-24), the average time spent at a job is [2 years and 3 months.](https://peoplemanagingpeople.com/articles/hr-statistics/)`},{type:`p`,text:`For Millennials (25-40) that figure is [2 years and 9 months,](https://peoplemanagingpeople.com/articles/hr-statistics/%29.)`},{type:`p`,text:`Gen X (41-56) are at a job for an average of [5 years and 2 months,](https://peoplemanagingpeople.com/articles/hr-statistics/%29.)`},{type:`p`,text:`Baby Boomers (57-75) spend 8[years and 3 months](https://peoplemanagingpeople.com/articles/hr-statistics/%29.) at a job`},{type:`p`,text:`Gen Z switches jobs at a rate 134% higher than before the pandemic in 2019, according to LinkedIn. Comparatively, Millennials changed jobs 24% more, and boomers switched 4% less.`},{type:`p`,text:`Gen Z is more likely to work multiple jobs (25%) than the average professional (16%), according to [McKinsey](https://peoplemanagingpeople.com/articles/hr-statistics/)`},{type:`p`,text:`Switching jobs paid off: Gen Z job-hoppers got nearly a 30% average raise from changing jobs in the last year, according to the [Bank of America Institute](https://business.bofa.com/content/dam/flagship/bank-of-america-institute/economic-insights/who-is-benefiting-from-the-us-labor-market-may-2022.pdf).`},{type:`p`,text:`Because of the frequency that GenZ changes employment, HR has now turned its lights onto retention of staff and the reasons why staff leaves.`},{type:`p`,text:`Retention of employees is now a priority, and the use of statistics helps define the companyâs policies to the needs of the workforce.`},{type:`p`,text:`Employee retention tops the list at 20% for priorities for businesses in 2023, followed by recruiting at 14% and company culture at 12%, according to [HRReporter](https://www.hrreporter.com/focus-areas/culture-and-engagement/whats-hrs-top-priority-for-2023/367850#:~:text=Employee%20retention%20is%20a%20top,employees%20be%20enticed%20to%20stay%3F).`},{type:`p`,text:`[Paychex](https://www.paychex.com/articles/human-resources/employee-retention-what-makes-employees-stay-leave#:~:text=Overall%2C%20job%20stability%20and%20performing,to%20stay%20at%20their%20companies.) âs statistics also show that the reasons for retention of the workforce are slightly different for varying ages. Baby Boomers (46%) reported that flexibility in work hours or schedule would make them stay long-term at their organization. This is more than Gen X (38%), Millennials (31%), and Gen Z (24%).58% of respondents said lack of appreciation was a reason for leaving their jobs (People Managing People).`},{type:`p`,text:`70% of employees report that the quality of the team leader creates more engaged employees and work relationships. ([Gallup](https://www.gallup.com/wor
34kplace/330017/employee-engagement-rises-following-wild-2020.aspx))`},{type:`p`,text:`76% of Gen Z, see upskilling as key to their career advancement.`},{type:`p`,text:`This requires the HR teams to be more flexible when working with multigenerational employees, and adaptable to the gig economy (short-term contracts or freelance workers) favored by Gen Z. They will be more data-driven and focused on re-skilling for continual improvements in the workplace. This will lead to more specialized HR teams, with titles like culture developer, director of wellness, and head of gig economy, and technical specialist.`},{type:`p`,text:`The way people work now has also changed a great deal since Covid19, people have been able to work from home, and many companies now employ hybrid working, (in the office on odd days). HR thinking is way ahead in these fields, preferring home working as part of a permanent business model. The reasons are varied but the basics are, (among businesses who reported this) improved staff well-being (60%), followed by reduced overheads (43%) and increased productivity (41%).`},{type:`p`,text:`In a few words, What do Gen Z like?`},{type:`bullet`,text:`Improved staff wellbeing`},{type:`bullet`,text:`Reduced overheads`},{type:`bullet`,text:`Increased productivity`},{type:`bullet`,text:`Reduced carbon emissions`},{type:`bullet`,text:`Ability to recruit from a wider geographical pool in the UK`},{type:`bullet`,text:`Ability to better match jobs to skills`},{type:`bullet`,text:`Reduced sickness levels`},{type:`bullet`,text:`Ability to recruit from a wider geographical pool internationally`},{type:`p`,text:`[Office for National Statistics â Business Insights and Conditions Survey](https://www.ons.gov.uk/generator?uri=/employmentandlabourmarket/peopleinwork/employmentandemployeetypes/articles/ishybridworkingheretostay/2022-05-23/e97e955a&format=xls)`},{type:`p`,text:`Training and support`},{type:`p`,text:`Ongoing training is a must for any company wishing to compete in the fast-changing world we now live in. On-the-job training will take precedence with staff completing performance reviews more often than the custom of once a year, with the opposite end of the workforce age spectrum baby boomers and Gen Z, seeking up skills, more frequently.`},{type:`p`,text:`In the rapidly evolving landscape of the metaverse and tech market, it is imperative for HR departments to adapt to the changing needs of employees. While HRâs role in the past primarily revolved around managing employee grievances, today it has evolved to become a crucial function that nurtures a healthy and productive work environment for all employees. Despite the less hands-on approach, HR now plays a vital role in every stage of an employeeâs journey, from hiring to orientation and beyond. In order to engage and retain the best talent, HR must tailor its approach to align with the ethos and principles of the company and foster a sense of community among its employees.`},{type:`p`,text:`As someone with personal experience in the virtual world, I have seen firsthand how virtual environments can be highly engaging and addictive. Virtual worlds offer a unique opportunity to bring emotions to the fore, without the need for specialized equipment or ideal workspaces. Todayâs youth are increasingly turning to these virtual lands for both work and play, as hybrid work is already proving to be a successful venture. However, these virtual worlds still need to be more regulated and up to the standards that younger generations demand. As Gen Alpha enters the workforce, it is essential for companies to prioritize the environment, happy workmates, and flexible work arrangements in order to retain these employees who are statistically more likely to move jobs sooner.`},{type:`p`,text:`While bookending in the metaverse may prove challenging due to time zones, the increasing flexibility in working hours and locations allows for more personalized and meaningful interaction. Gen Z values flexible working not just in hours, but also in changing roles and multi-tasking. Therefore, HR departments must place a strong emphasis on fostering a sense of community and mentorship, as well as maintaining a work-life balance, and creating opportunities for career advancement from within the company. The metaverse presents a unique opportunity for global collaboration, socialization, and training, and HR must be at the forefront of adapting to these new trends in the tech market.`},{type:`p`,text:`The virtual world presents unique opportunities to combat burnout and mental health issues. By creating a supportive, mentally soothing, and inclusive environment in virtual settings, HR departments can promote collaboration, socialization, mentorship, and gamified cool-down time, which are all essential components of a healthy workplace culture. As more and more employees work remotely, HR must also find innovative ways to maintain a sense of community and connection among team members.`}]}],zl=[{slug:`building-power-safety-and-trust-in-virtual-communities`,title:`Building Power, Safety, and Trust in Virtual Communities - Second Life and the Immersion Into Virtual Communities`,date:`Book`,hero:null,tags:[`Virtual Communities`,`Second Life`,`Trust & Safety`],excerpt:`A book on building power, safety, and trust in virtual communities, drawing on more than sixteen years of lived experience inside Second Life and the wider immersive web.`,blocks:[],externalHref:`https://www.amazon.com/dp/B0CJXH3S4Q`,publisher:`Book publication`},{slug:`exploring-team-collaboration-in-the-new-metaverse`,title:`Exploring Team Collaboration in the New Metaverse (The 3D-AI Internet)`,date:`Peer-reviewed article`,hero:null,tags:[`Metaverse`,`Team Collaboration`,`3D-AI Internet`],excerpt:`Peer-reviewed research on how teams collaborate in the new metaverse, and what the 3D-AI internet changes about distributed work.`,blocks:[],externalHref:`https://armgpublishing.com/journals/sec/volume-8-issue-2/article-19/`,publisher:`ARMG Publishing · SEC Journal`},{slug:`creators-at-the-core`,title:`Creators at the Core - How Second Life and Roblox Empowered Creators in the Post-COVID Era`,date:`IEEE publication`,hero:null,tags:[`Creator Economy`,`Roblox`,`Second Life`],excerpt:`IEEE publication examining how Second Life and Roblox empowered creators in the post-COVID era, and what that means for the creator economy of virtual worlds.`,blocks:[],externalHref:`https://ieeexplore.ieee.org/abstract/document/10945606/`,publisher:`IEEE`}],K=[...Rl,...zl];function q(e){return K.find(t=>t.slug===e)}var J=As(`/articles/$slug`)({loader:({params:e})=>{let t=q(e.slug);
34if(!t)throw Ue();return{article:t}},head:({params:e,loaderData:t})=>{if(!t)return{meta:[{title:`Article unavailable - Enrapture`},{name:`robots`,content:`noindex`}]};let{article:n}=t,r=dl(`/articles/${e.slug}`);return{meta:[{title:`${n.title} - Enrapture`},{name:`description`,content:n.excerpt},{property:`og:title`,content:n.title},{property:`og:description`,content:n.excerpt},{property:`og:type`,content:`article`},{property:`og:url`,content:r},{name:`twitter:card`,content:`summary_large_image`},{name:`twitter:title`,content:n.title},{name:`twitter:description`,content:n.excerpt},...n.hero?[{property:`og:image`,content:dl(n.hero)},{name:`twitter:image`,content:dl(n.hero)}]:[]],links:[{rel:`canonical`,href:r}],scripts:[{type:`application/ld+json`,children:pl({"@context":`https://schema.org`,"@type":`Article`,headline:n.title,description:n.excerpt,datePublished:fl(n.date),mainEntityOfPage:r,image:n.hero?dl(n.hero):void 0,author:{"@type":`Organization`,name:`Enrapture`,url:dl(`/`)}})}]}},component:Ms(()=>wl(()=>import(`./articles._slug-C8-ziTP0.js`),__vite__mapDeps([12,1,3,11,9])),`component`)}),Y=Dl.update({id:`/terms-of-use`,path:`/terms-of-use`,getParentRoute:()=>_l}),X=Al.update({id:`/privacy-policy`,path:`/privacy-policy`,getParentRoute:()=>_l}),Bl=Nl.update({id:`/job-applicant-privacy`,path:`/job-applicant-privacy`,getParentRoute:()=>_l}),Vl=Pl.update({id:`/`,path:`/`,getParentRoute:()=>_l}),Hl=Fl.update({id:`/articles/`,path:`/articles/`,getParentRoute:()=>_l}),Ul=Ll.update({id:`/work/$slug`,path:`/work/$slug`,getParentRoute:()=>_l}),Wl={IndexRoute:Vl,JobApplicantPrivacyRoute:Bl,PrivacyPolicyRoute:X,TermsOfUseRoute:Y,ArticlesSlugRoute:J.update({id:`/articles/$slug`,path:`/articles/$slug`,getParentRoute:()=>_l}),WorkSlugRoute:Ul,ArticlesIndexRoute:Hl},Gl=_l._addFileChildren(Wl),Kl=()=>Js({routeTree:Gl,context:{queryClient:new ol},scrollRestoration:!0,defaultPreloadStaleTime:0});async function ql(){let e=await Kl(),t;if(cc){let n=await cc.getOptions();n.serializationAdapters=n.serializationAdapters??[],window.__TSS_START_OPTIONS__=n,t=n.serializationAdapters,e.options.defaultSsr=n.defaultSsr}else t=[],window.__TSS_START_OPTIONS__={serializationAdapters:t};return t.push(Bo),e.options.serializationAdapters&&t.push(...e.options.serializationAdapters),e.update({basepath:``,serializationAdapters:t}),e.stores.matchesId.get().length||await Uo(e),e}var Jl=ql;async function Yl(){let e=await Jl();return window.$_TSR?.h(),e}var Xl;function Zl(){return Xl||=Yl(),(0,V.jsx)(Go,{promise:Xl,children:e=>(0,V.jsx)(Zs,{router:e})})}var Ql=Pe();(0,B.startTransition)(()=>{(0,Ql.hydrateRoot)(document,(0,V.jsx)(B.StrictMode,{children:(0,V.jsx)(Zl,{})}))});export{Il as a,Ll as i,Rl as n,zl as r,J as t};
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.