feat: Fluent UI Outlook Lite + connections mockup

This commit is contained in:
Lago committed 2026-04-14 18:52:25 +00:00
1 parent 1199eff6c3
commit dfa4010406
34820 files changed
+1003810 -202

No files matched your search

+138
View File
@@ -0,0 +1,138 @@
function dm(n,r){for(var l=0;l<r.length;l++){const i=r[l];if(typeof i!="string"&&!Array.isArray(i)){for(const s in i)if(s!=="default"&&!(s in n)){const f=Object.getOwnPropertyDescriptor(i,s);f&&Object.defineProperty(n,s,f.get?f:{enumerable:!0,get:()=>i[s]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))i(s);new MutationObserver(s=>{for(const f of s)if(f.type==="childList")for(const v of f.addedNodes)v.tagName==="LINK"&&v.rel==="modulepreload"&&i(v)}).observe(document,{childList:!0,subtree:!0});function l(s){const f={};return s.integrity&&(f.integrity=s.integrity),s.referrerPolicy&&(f.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?f.credentials="include":s.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function i(s){if(s.ep)return;s.ep=!0;const f=l(s);fetch(s.href,f)}})();function xs(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Fc={exports:{}},yr={};/**
* @license React
* react-jsx-runtime.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Pv;function pp(){if(Pv)return yr;Pv=1;var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function l(i,s,f){var v=null;if(f!==void 0&&(v=""+f),s.key!==void 0&&(v=""+s.key),"key"in s){f={};for(var m in s)m!=="key"&&(f[m]=s[m])}else f=s;return s=f.ref,{$$typeof:n,type:i,key:v,ref:s!==void 0?s:null,props:f}}return yr.Fragment=r,yr.jsx=l,yr.jsxs=l,yr}var Zv;function yp(){return Zv||(Zv=1,Fc.exports=pp()),Fc.exports}var H=yp();const xp=xs(H),Sp=dm({__proto__:null,default:xp},[H]);var Uc={exports:{}},ie={};/**
* @license React
* react.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Xv;function _p(){if(Xv)return ie;Xv=1;var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),v=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),x=Symbol.iterator;function _(B){return B===null||typeof B!="object"?null:(B=x&&B[x]||B["@@iterator"],typeof B=="function"?B:null)}var z={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},k=Object.assign,O={};function D(B,P,K){this.props=B,this.context=P,this.refs=O,this.updater=K||z}D.prototype.isReactComponent={},D.prototype.setState=function(B,P){if(typeof B!="object"&&typeof B!="function"&&B!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,B,P,"setState")},D.prototype.forceUpdate=function(B){this.updater.enqueueForceUpdate(this,B,"forceUpdate")};function U(){}U.prototype=D.prototype;function R(B,P,K){this.props=B,this.context=P,this.refs=O,this.updater=K||z}var V=R.prototype=new U;V.constructor=R,k(V,D.prototype),V.isPureReactComponent=!0;var X=Array.isArray;function Y(){}var G={H:null,A:null,T:null,S:null},le=Object.prototype.hasOwnProperty;function Xe(B,P,K){var $=K.ref;return{$$typeof:n,type:B,key:P,ref:$!==void 0?$:null,props:K}}function Ue(B,P){return Xe(B.type,P,B.props)}function et(B){return typeof B=="object"&&B!==null&&B.$$typeof===n}function W(B){var P={"=":"=0",":":"=2"};return"$"+B.replace(/[=:]/g,function(K){return P[K]})}var pe=/\/+/g;function at(B,P){return typeof B=="object"&&B!==null&&B.key!=null?W(""+B.key):P.toString(36)}function vt(B){switch(B.status){case"fulfilled":return B.value;case"rejected":throw B.reason;default:switch(typeof B.status=="string"?B.then(Y,Y):(B.status="pending",B.then(function(P){B.status==="pending"&&(B.status="fulfilled",B.value=P)},function(P){B.status==="pending"&&(B.status="rejected",B.reason=P)})),B.status){case"fulfilled":return B.value;case"rejected":throw B.reason}}throw B}function M(B,P,K,$,ue){var fe=typeof B;(fe==="undefined"||fe==="boolean")&&(B=null);var ze=!1;if(B===null)ze=!0;else switch(fe){case"bigint":case"string":case"number":ze=!0;break;case"object":switch(B.$$typeof){case n:case r:ze=!0;break;case y:return ze=B._init,M(ze(B._payload),P,K,$,ue)}}if(ze)return ue=ue(B),ze=$===""?"."+at(B,0):$,X(ue)?(K="",ze!=null&&(K=ze.replace(pe,"$&/")+"/"),M(ue,P,K,"",function(Ba){return Ba})):ue!=null&&(et(ue)&&(ue=Ue(ue,K+(ue.key==null||B&&B.key===ue.key?"":(""+ue.key).replace(pe,"$&/")+"/")+ze)),P.push(ue)),1;ze=0;var ht=$===""?".":$+":";if(X(B))for(var Le=0;Le<B.length;Le++)$=B[Le],fe=ht+at($,Le),ze+=M($,P,K,fe,ue);else if(Le=_(B),typeof Le=="function")for(B=Le.call(B),Le=0;!($=B.next()).done;)$=$.value,fe=ht+at($,Le++),ze+=M($,P,K,fe,ue);else if(fe==="object"){if(typeof B.then=="function")return M(vt(B),P,K,$,ue);throw P=String(B),Error("Objects are not valid as a React child (found: "+(P==="[object Object]"?"object with keys {"+Object.keys(B).join(", ")+"}":P)+"). If you meant to render a collection of children, use an array instead.")}return ze}function Q(B,P,K){if(B==null)return B;var $=[],ue=0;return M(B,$,"","",function(fe){return P.call(K,fe,ue++)}),$}function oe(B){if(B._status===-1){var P=B._result;P=P(),P.then(function(K){(B._status===0||B._status===-1)&&(B._status=1,B._result=K)},function(K){(B._status===0||B._status===-1)&&(B._status=2,B._result=K)}),B._status===-1&&(B._status=0,B._result=P)}if(B._status===1)return B._result.default;throw B._result}var Se=typeof reportError=="function"?reportError:function(B){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var P=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof B=="object"&&B!==null&&typeof B.message=="string"?String(B.message):String(B),error:B});if(!window.dispatchEvent(P))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",B);return}console.error(B)},Be={map:Q,forEach:function(B,P,K){Q(B,function(){P.apply(this,arguments)},K)},count:function(B){var P=0;return Q(B,function(){P++}),P},toArray:function(B){return Q(B,function(P){return P})||[]},only:function(B){if(!et(B))throw Error("React.Children.only expected to receive a single React element child.");return B}};return ie.Activity=p,ie.Children=Be,ie.Component=D,ie.Fragment=l,ie.Profiler=s,ie.PureComponent=R,ie.StrictMode=i,ie.Suspense=g,ie.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=G,ie.__COMPILER_RUNTIME={__proto__:null,c:function(B){return G.H.useMemoCache(B)}},ie.cache=function(B){return function(){return B.apply(null,arguments)}},ie.cacheSignal=function(){return null},ie.cloneElement=function(B,P,K){if(B==null)throw ErroLine truncated
* @license React
* scheduler.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Yv;function wp(){return Yv||(Yv=1,(function(n){function r(M,Q){var oe=M.length;M.push(Q);e:for(;0<oe;){var Se=oe-1>>>1,Be=M[Se];if(0<s(Be,Q))M[Se]=Q,M[oe]=Be,oe=Se;else break e}}function l(M){return M.length===0?null:M[0]}function i(M){if(M.length===0)return null;var Q=M[0],oe=M.pop();if(oe!==Q){M[0]=oe;e:for(var Se=0,Be=M.length,B=Be>>>1;Se<B;){var P=2*(Se+1)-1,K=M[P],$=P+1,ue=M[$];if(0>s(K,oe))$<Be&&0>s(ue,K)?(M[Se]=ue,M[$]=oe,Se=$):(M[Se]=K,M[P]=oe,Se=P);else if($<Be&&0>s(ue,oe))M[Se]=ue,M[$]=oe,Se=$;else break e}}return Q}function s(M,Q){var oe=M.sortIndex-Q.sortIndex;return oe!==0?oe:M.id-Q.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;n.unstable_now=function(){return f.now()}}else{var v=Date,m=v.now();n.unstable_now=function(){return v.now()-m}}var g=[],h=[],y=1,p=null,x=3,_=!1,z=!1,k=!1,O=!1,D=typeof setTimeout=="function"?setTimeout:null,U=typeof clearTimeout=="function"?clearTimeout:null,R=typeof setImmediate<"u"?setImmediate:null;function V(M){for(var Q=l(h);Q!==null;){if(Q.callback===null)i(h);else if(Q.startTime<=M)i(h),Q.sortIndex=Q.expirationTime,r(g,Q);else break;Q=l(h)}}function X(M){if(k=!1,V(M),!z)if(l(g)!==null)z=!0,Y||(Y=!0,W());else{var Q=l(h);Q!==null&&vt(X,Q.startTime-M)}}var Y=!1,G=-1,le=5,Xe=-1;function Ue(){return O?!0:!(n.unstable_now()-Xe<le)}function et(){if(O=!1,Y){var M=n.unstable_now();Xe=M;var Q=!0;try{e:{z=!1,k&&(k=!1,U(G),G=-1),_=!0;var oe=x;try{t:{for(V(M),p=l(g);p!==null&&!(p.expirationTime>M&&Ue());){var Se=p.callback;if(typeof Se=="function"){p.callback=null,x=p.priorityLevel;var Be=Se(p.expirationTime<=M);if(M=n.unstable_now(),typeof Be=="function"){p.callback=Be,V(M),Q=!0;break t}p===l(g)&&i(g),V(M)}else i(g);p=l(g)}if(p!==null)Q=!0;else{var B=l(h);B!==null&&vt(X,B.startTime-M),Q=!1}}break e}finally{p=null,x=oe,_=!1}Q=void 0}}finally{Q?W():Y=!1}}}var W;if(typeof R=="function")W=function(){R(et)};else if(typeof MessageChannel<"u"){var pe=new MessageChannel,at=pe.port2;pe.port1.onmessage=et,W=function(){at.postMessage(null)}}else W=function(){D(et,0)};function vt(M,Q){G=D(function(){M(n.unstable_now())},Q)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(M){M.callback=null},n.unstable_forceFrameRate=function(M){0>M||125<M?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):le=0<M?Math.floor(1e3/M):5},n.unstable_getCurrentPriorityLevel=function(){return x},n.unstable_next=function(M){switch(x){case 1:case 2:case 3:var Q=3;break;default:Q=x}var oe=x;x=Q;try{return M()}finally{x=oe}},n.unstable_requestPaint=function(){O=!0},n.unstable_runWithPriority=function(M,Q){switch(M){case 1:case 2:case 3:case 4:case 5:break;default:M=3}var oe=x;x=M;try{return Q()}finally{x=oe}},n.unstable_scheduleCallback=function(M,Q,oe){var Se=n.unstable_now();switch(typeof oe=="object"&&oe!==null?(oe=oe.delay,oe=typeof oe=="number"&&0<oe?Se+oe:Se):oe=Se,M){case 1:var Be=-1;break;case 2:Be=250;break;case 5:Be=1073741823;break;case 4:Be=1e4;break;default:Be=5e3}return Be=oe+Be,M={id:y++,callback:Q,priorityLevel:M,startTime:oe,expirationTime:Be,sortIndex:-1},oe>Se?(M.sortIndex=oe,r(h,M),l(g)===null&&M===l(h)&&(k?(U(G),G=-1):k=!0,vt(X,oe-Se))):(M.sortIndex=Be,r(g,M),z||_||(z=!0,Y||(Y=!0,W()))),M},n.unstable_shouldYield=Ue,n.unstable_wrapCallback=function(M){var Q=x;return function(){var oe=x;x=Q;try{return M.apply(this,arguments)}finally{x=oe}}}})(Pc)),Pc}var Qv;function vm(){return Qv||(Qv=1,Gc.exports=wp()),Gc.exports}var Zc={exports:{}},ft={};/**
* @license React
* react-dom.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Kv;function zp(){if(Kv)return ft;Kv=1;var n=Ss();function r(g){var h="https://react.dev/errors/"+g;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var y=2;y<arguments.length;y++)h+="&args[]="+encodeURIComponent(arguments[y])}return"Minified React error #"+g+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(){}var i={d:{f:l,r:function(){throw Error(r(522))},D:l,C:l,L:l,m:l,X:l,S:l,M:l},p:0,findDOMNode:null},s=Symbol.for("react.portal");function f(g,h,y){var p=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s,key:p==null?null:""+p,children:g,containerInfo:h,implementation:y}}var v=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function m(g,h){if(g==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return ft.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,ft.createPortal=function(g,h){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!h||h.nodeType!==1&&h.nodeType!==9&&h.nodeType!==11)throw Error(r(299));return f(g,h,null,y)},ft.flushSync=function(g){var h=v.T,y=i.p;try{if(v.T=null,i.p=2,g)return g()}finally{v.T=h,i.p=y,i.d.f()}},ft.preconnect=function(g,h){typeof g=="string"&&(h?(h=h.crossOrigin,h=typeof h=="string"?h==="use-credentials"?h:"":void 0):h=null,i.d.C(g,h))},ft.prefetchDNS=function(g){typeof g=="string"&&i.d.D(g)},ft.preinit=function(g,h){if(typeof g=="string"&&h&&typeof h.as=="string"){var y=h.as,p=m(y,h.crossOrigin),x=typeof h.integrity=="string"?h.integrity:void 0,_=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;y==="style"?i.d.S(g,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:p,integrity:x,fetchPriority:_}):y==="script"&&i.d.X(g,{crossOrigin:p,integrity:x,fetchPriority:_,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},ft.preinitModule=function(g,h){if(typeof g=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var y=m(h.as,h.crossOrigin);i.d.M(g,{crossOrigin:y,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0})}}else h==null&&i.d.M(g)},ft.preload=function(g,h){if(typeof g=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var y=h.as,p=m(y,h.crossOrigin);i.d.L(g,y,{crossOrigin:p,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0,type:typeof h.type=="string"?h.type:void 0,fetchPriority:typeof h.fetchPriority=="string"?h.fetchPriority:void 0,referrerPolicy:typeof h.referrerPolicy=="string"?h.referrerPolicy:void 0,imageSrcSet:typeof h.imageSrcSet=="string"?h.imageSrcSet:void 0,imageSizes:typeof h.imageSizes=="string"?h.imageSizes:void 0,media:typeof h.media=="string"?h.media:void 0})}},ft.preloadModule=function(g,h){if(typeof g=="string")if(h){var y=m(h.as,h.crossOrigin);i.d.m(g,{as:typeof h.as=="string"&&h.as!=="script"?h.as:void 0,crossOrigin:y,integrity:typeof h.integrity=="string"?h.integrity:void 0})}else i.d.m(g)},ft.requestFormReset=function(g){i.d.r(g)},ft.unstable_batchedUpdates=function(g,h){return g(h)},ft.useFormState=function(g,h,y){return v.H.useFormState(g,h,y)},ft.useFormStatus=function(){return v.H.useHostTransitionStatus()},ft.version="19.2.5",ft}var Wv;function hm(){if(Wv)return Zc.exports;Wv=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(r){console.error(r)}}return n(),Zc.exports=zp(),Zc.exports}/**
* @license React
* react-dom-client.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Iv;function kp(){if(Iv)return xr;Iv=1;var n=vm(),r=Ss(),l=hm();function i(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var o=2;o<arguments.length;o++)t+="&args[]="+encodeURIComponent(arguments[o])}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 s(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function f(e){var t=e,o=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(o=t.return),e=t.return;while(e)}return t.tag===3?o:null}function v(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 m(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 g(e){if(f(e)!==e)throw Error(i(188))}function h(e){var t=e.alternate;if(!t){if(t=f(e),t===null)throw Error(i(188));return t!==e?null:e}for(var o=e,a=t;;){var u=o.return;if(u===null)break;var c=u.alternate;if(c===null){if(a=u.return,a!==null){o=a;continue}break}if(u.child===c.child){for(c=u.child;c;){if(c===o)return g(u),e;if(c===a)return g(u),t;c=c.sibling}throw Error(i(188))}if(o.return!==a.return)o=u,a=c;else{for(var d=!1,b=u.child;b;){if(b===o){d=!0,o=u,a=c;break}if(b===a){d=!0,a=u,o=c;break}b=b.sibling}if(!d){for(b=c.child;b;){if(b===o){d=!0,o=c,a=u;break}if(b===a){d=!0,a=c,o=u;break}b=b.sibling}if(!d)throw Error(i(189))}}if(o.alternate!==a)throw Error(i(190))}if(o.tag!==3)throw Error(i(188));return o.stateNode.current===o?e:t}function y(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=y(e),t!==null)return t;e=e.sibling}return null}var p=Object.assign,x=Symbol.for("react.element"),_=Symbol.for("react.transitional.element"),z=Symbol.for("react.portal"),k=Symbol.for("react.fragment"),O=Symbol.for("react.strict_mode"),D=Symbol.for("react.profiler"),U=Symbol.for("react.consumer"),R=Symbol.for("react.context"),V=Symbol.for("react.forward_ref"),X=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),G=Symbol.for("react.memo"),le=Symbol.for("react.lazy"),Xe=Symbol.for("react.activity"),Ue=Symbol.for("react.memo_cache_sentinel"),et=Symbol.iterator;function W(e){return e===null||typeof e!="object"?null:(e=et&&e[et]||e["@@iterator"],typeof e=="function"?e:null)}var pe=Symbol.for("react.client.reference");function at(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===pe?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case k:return"Fragment";case D:return"Profiler";case O:return"StrictMode";case X:return"Suspense";case Y:return"SuspenseList";case Xe:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case z:return"Portal";case R:return e.displayName||"Context";case U:return(e._context.displayName||"Context")+".Consumer";case V:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case G:return t=e.displayName||null,t!==null?t:at(e.type)||"Memo";case le:t=e._payload,e=e._init;try{return at(e(t))}catch{}}return null}var vt=Array.isArray,M=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q=l.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,oe={pending:!1,data:null,method:null,action:null},Se=[],Be=-1;function B(e){return{current:e}}function P(e){0>Be||(e.current=Se[Be],Se[Be]=null,Be--)}function K(e,t){Be++,Se[Be]=e.current,e.current=t}var $=B(null),ue=B(null),fe=B(null),ze=B(null);function ht(e,t){switch(K(fe,t),K(ue,e),K($,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?dv(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=dv(t),e=vv(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}P($),K($,e)}function Le(){P($),P(ue),P(fe)}function Ba(e){e.memoizedState!==null&&K(ze,e);var t=$.current,o=vv(t,e.type);t!==o&&(K(ue,e),K($,o))}function Ar(e){ue.current===e&&(P($),P(ue)),ze.current===e&&(P(ze),mr._currentValue=oe)}var Si,Ls;function ln(e){if(Si===void 0)try{throw Error()}catch(o){var t=o.stack.trim().match(/\n( *(at )?)/);Si=t&&t[1]||"",Ls=-1<o.stack.indexOf(`
at`)?" (<anonymous>)":-1<o.stack.indexOf("@")?"@unknown:0:0":""}return`
`+Si+e+Ls}var _i=!1;function wi(e,t){if(!e||_i)return"";_i=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var L=function(){throw Error()};if(Object.defineProperty(L.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(L,[])}catch(N){var C=N}Reflect.construct(e,[],L)}else{try{L.call()}catch(N){C=N}e.call(L.prototype)}}else{try{throw Error()}catch(N){C=N}(L=e())&&typeof L.catch=="function"&&L.catch(function(){})}}catch(N){if(N&&C&&typeof N.stack=="string")return[N.stack,C.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var u=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");u&&u.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var c=a.DetermineComponentFrameRoot(),d=c[0],b=c[1];if(d&&b){var S=d.split(`
`),j=b.split(`
`);for(u=a=0;a<S.length&&!S[a].includes("DetermineComponentFrameRoot");)a++;for(;u<j.length&&!j[u].includes("DetermineComponentFrameRoot");)u++;if(a===S.length||u===j.length)for(a=S.length-1,u=j.length-1;1<=a&&0<=u&&S[a]!==j[u];)u--;for(;1<=a&&0<=u;a--,u--)if(S[a]!==j[u]){if(a!==1||u!==1)do if(a--,u--,0>u||S[a]!==j[u]){var q=`
`+S[a].replace(" at new "," at ");return e.displayName&&q.includes("<anonymous>")&&(q=q.replace("<anonymous>",e.displayName)),q}while(1<=a&&0<=u);break}}}finally{_i=!1,Error.prepareStackTrace=o}return(o=e?e.displayName||e.name:"")?ln(o):""}function K1(e,t){switch(e.tag){case 26:case 27:case 5:return ln(e.type);case 16:return ln("Lazy");case 13:return e.child!==t&&t!==null?ln("Suspense Fallback"):ln("Suspense");case 19:return ln("SuspenseList");case 0:case 15:return wi(e.type,!1);case 11:return wi(e.type.render,!1);case 1:return wi(e.type,!0);case 31:return ln("Activity");default:return""}}function Gs(e){try{var t="",o=null;do t+=K1(e,o),o=e,e=e.return;while(e);return t}catch(a){return`
Error generating stack: `+a.message+`
`+a.stack}}var zi=Object.prototype.hasOwnProperty,ki=n.unstable_scheduleCallback,Bi=n.unstable_cancelCallback,W1=n.unstable_shouldYield,I1=n.unstable_requestPaint,Bt=n.unstable_now,J1=n.unstable_getCurrentPriorityLevel,Ps=n.unstable_ImmediatePriority,Zs=n.unstable_UserBlockingPriority,Cr=n.unstable_NormalPriority,$1=n.unstable_LowPriority,Xs=n.unstable_IdlePriority,eg=n.log,tg=n.unstable_setDisableYieldValue,Ta=null,Tt=null;function Ao(e){if(typeof eg=="function"&&tg(e),Tt&&typeof Tt.setStrictMode=="function")try{Tt.setStrictMode(Ta,e)}catch{}}var Et=Math.clz32?Math.clz32:ag,og=Math.log,ng=Math.LN2;function ag(e){return e>>>=0,e===0?32:31-(og(e)/ng|0)|0}var Nr=256,Dr=262144,Rr=4194304;function un(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 qr(e,t,o){var a=e.pendingLanes;if(a===0)return 0;var u=0,c=e.suspendedLanes,d=e.pingedLanes;e=e.warmLanes;var b=a&134217727;return b!==0?(a=b&~c,a!==0?u=un(a):(d&=b,d!==0?u=un(d):o||(o=b&~e,o!==0&&(u=un(o))))):(b=a&~c,b!==0?u=un(b):d!==0?u=un(d):o||(o=a&~e,o!==0&&(u=un(o)))),u===0?0:t!==0&&t!==u&&(t&c)===0&&(c=u&-u,o=t&-t,c>=o||c===32&&(o&4194048)!==0)?t:u}function Ea(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function rg(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 Vs(){var e=Rr;return Rr<<=1,(Rr&62914560)===0&&(Rr=4194304),e}function Ti(e){for(var t=[],o=0;31>o;o++)t.push(e);return t}function ja(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function lg(e,t,o,a,u,c){var d=e.pendingLanes;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=o,e.entangledLanes&=o,e.errorRecoveryDisabledLanes&=o,e.shellSuspendCounter=0;var b=e.entanglements,S=e.expirationTimes,j=e.hiddenUpdates;for(o=d&~o;0<o;){var q=31-Et(o),L=1<<q;b[q]=0,S[q]=-1;var C=j[q];if(C!==null)for(j[q]=null,q=0;q<C.length;q++){var N=C[q];N!==null&&(N.lane&=-536870913)}o&=~L}a!==0&&Ys(e,a,0),c!==0&&u===0&&e.tag!==0&&(e.suspendedLanes|=c&~(d&~t))}function Ys(e,t,o){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-Et(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|o&261930}function Qs(e,t){var o=e.entangledLanes|=t;for(e=e.entanglements;o;){var a=31-Et(o),u=1<<a;u&t|e[a]&t&&(e[a]|=t),o&=~u}}function Ks(e,t){var o=t&-t;return o=(o&42)!==0?1:Ei(o),(o&(e.suspendedLanes|t))!==0?0:o}function Ei(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 ji(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Ws(){var e=Q.p;return e!==0?e:(e=window.event,e===void 0?32:Mv(e.type))}function Is(e,t){var o=Q.p;try{return Q.p=e,t()}finally{Q.p=o}}var Co=Math.random().toString(36).slice(2),rt="__reactFiber$"+Co,bt="__reactProps$"+Co,Nn="__reactContainer$"+Co,Ai="__reactEvents$"+Co,ig="__reactListeners$"+Co,ug="__reactHandles$"+Co,Js="__reactResources$"+Co,Aa="__reactMarker$"+Co;function Ci(e){delete e[rt],delete e[bt],delete e[Ai],delete e[ig],delete e[ug]}function Dn(e){var t=e[rt];if(t)return t;for(var o=e.parentNode;o;){if(t=o[Nn]||o[rt]){if(o=t.alternate,t.child!==null||o!==null&&o.child!==null)for(e=xv(e);e!==null;){if(o=e[rt])return o;e=xv(e)}return t}e=o,o=e.parentNode}return null}function Rn(e){if(e=e[rt]||e[Nn]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Ca(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(i(33))}function qn(e){var t=e[Js];return t||(t=e[Js]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function tt(e){e[Aa]=!0}var $s=new Set,ef={};function cn(e,t){Mn(e,t),Mn(e+"Capture",t)}function Mn(e,t){for(ef[e]=t,e=0;e<t.length;e++)$s.add(t[e])}var cg=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u21 Line truncated
`).replace(Ub,"")}function sv(e,t){return t=cv(t),cv(e)===t}function Ae(e,t,o,a,u,c){switch(o){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||Hn(e,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&Hn(e,""+a);break;case"className":Or(e,"class",a);break;case"tabIndex":Or(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Or(e,o,a);break;case"style":sf(e,a,c);break;case"data":if(t!=="object"){Or(e,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||o!=="href")){e.removeAttribute(o);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(o);break}a=Fr(""+a),e.setAttribute(o,a);break;case"action":case"formAction":if(typeof a=="function"){e.setAttribute(o,"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 c=="function"&&(o==="formAction"?(t!=="input"&&Ae(e,t,"name",u.name,u,null),Ae(e,t,"formEncType",u.formEncType,u,null),Ae(e,t,"formMethod",u.formMethod,u,null),Ae(e,t,"formTarget",u.formTarget,u,null)):(Ae(e,t,"encType",u.encType,u,null),Ae(e,t,"method",u.method,u,null),Ae(e,t,"target",u.target,u,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(o);break}a=Fr(""+a),e.setAttribute(o,a);break;case"onClick":a!=null&&(e.onclick=so);break;case"onScroll":a!=null&&ve("scroll",e);break;case"onScrollEnd":a!=null&&ve("scrollend",e);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(i(61));if(o=a.__html,o!=null){if(u.children!=null)throw Error(i(60));e.innerHTML=o}}break;case"multiple":e.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":e.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){e.removeAttribute("xlink:href");break}o=Fr(""+a),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",o);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(o,""+a):e.removeAttribute(o);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":a&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(o,""):e.removeAttribute(o);break;case"capture":case"download":a===!0?e.setAttribute(o,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(o,a):e.removeAttribute(o);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?e.setAttribute(o,a):e.removeAttribute(o);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?e.removeAttribute(o):e.setAttribute(o,a);break;case"popover":ve("beforetoggle",e),ve("toggle",e),Mr(e,"popover",a);break;case"xlinkActuate":co(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":co(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":co(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":co(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":co(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":co(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":co(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":co(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":co(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Mr(e,"is",a);break;case"innerText":case"textContent":break;default:(!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")&&(o=hg.get(o)||o,Mr(e,o,a))}}function Sc(e,t,o,a,u,c){switch(o){case"style":sf(e,a,c);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(i(61));if(o=a.__html,o!=null){if(u.children!=null)throw Error(i(60));e.innerHTML=o}}break;case"children":typeof a=="string"?Hn(e,a):(typeof a=="number"||typeof a=="bigint")&&Hn(e,""+a);break;case"onScroll":a!=null&&ve("scroll",e);break;case"onScrollEnd":a!=null&&ve("scrollend",e);break;case"onClick":a!=null&&(e.onclick=so);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"inne Line truncated
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*//*!
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/const nn="data-tabster",r5="data-tabster-dummy",r1=`:is(${["a[href]","button","input","select","textarea","*[tabindex]","*[contenteditable]","details > summary","audio[controls]","video[controls]"].join(", ")}):not(:disabled)`,ba={EscapeGroupper:1,Restorer:2,Deloser:3},za={Source:0,Target:1},l5={Outside:2};/*!
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/function Wt(n,r){var l;return(l=n.storageEntry(r))===null||l===void 0?void 0:l.tabster}function l1(n,r,l){var i,s,f;const v=l||n._noop?void 0:r.getAttribute(nn);let m=n.storageEntry(r),g;if(v)if(v!==((i=m==null?void 0:m.attr)===null||i===void 0?void 0:i.string))try{const x=JSON.parse(v);if(typeof x!="object")throw new Error(`Value is not a JSON object, got '${v}'.`);g={string:v,object:x}}catch{}else return;else if(!m)return;m||(m=n.storageEntry(r,!0)),m.tabster||(m.tabster={});const h=m.tabster||{},y=((s=m.attr)===null||s===void 0?void 0:s.object)||{},p=(g==null?void 0:g.object)||{};for(const x of Object.keys(y))if(!p[x]){if(x==="root"){const _=h[x];_&&n.root.onRoot(_,!0)}switch(x){case"deloser":case"root":case"groupper":case"modalizer":case"restorer":case"mover":const _=h[x];_&&(_.dispose(),delete h[x]);break;case"observed":delete h[x],n.observedElement&&n.observedElement.onObservedElementUpdate(r);break;case"focusable":case"outline":case"uncontrolled":case"sys":delete h[x];break}}for(const x of Object.keys(p)){const _=p.sys;switch(x){case"deloser":h.deloser?h.deloser.setProps(p.deloser):n.deloser&&(h.deloser=n.deloser.createDeloser(r,p.deloser));break;case"root":h.root?h.root.setProps(p.root):h.root=n.root.createRoot(r,p.root,_),n.root.onRoot(h.root);break;case"modalizer":{let z;const k=n.modalizer;if(h.modalizer){const O=p.modalizer,D=O.id;D&&((f=y==null?void 0:y.modalizer)===null||f===void 0?void 0:f.id)!==D?(h.modalizer.dispose(),z=O):h.modalizer.setProps(O)}else k&&(z=p.modalizer);k&&z&&(h.modalizer=k.createModalizer(r,z,_))}break;case"restorer":h.restorer?h.restorer.setProps(p.restorer):n.restorer&&p.restorer&&(h.restorer=n.restorer.createRestorer(r,p.restorer));break;case"focusable":h.focusable=p.focusable;break;case"groupper":h.groupper?h.groupper.setProps(p.groupper):n.groupper&&(h.groupper=n.groupper.createGroupper(r,p.groupper,_));break;case"mover":h.mover?h.mover.setProps(p.mover):n.mover&&(h.mover=n.mover.createMover(r,p.mover,_));break;case"observed":n.observedElement&&(h.observed=p.observed,n.observedElement.onObservedElementUpdate(r));break;case"uncontrolled":h.uncontrolled=p.uncontrolled;break;case"outline":n.outline&&(h.outline=p.outline);break;case"sys":h.sys=p.sys;break;default:console.error(`Unknown key '${x}' in data-tabster attribute value.`)}}g?m.attr=g:(Object.keys(h).length===0&&(delete m.tabster,delete m.attr),n.storageEntry(r,!1))}/*!
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/const i5="tabster:focusin",u5="tabster:focusout",c5="tabster:movefocus",s5="tabster:modalizer:active",f5="tabster:modalizer:inactive",ms="tabster:restorer:restore-focus",d5="tabster:root:focus",v5="tabster:root:blur",h5=typeof CustomEvent<"u"?CustomEvent:function(){};class rn extends h5{constructor(r,l){super(r,{bubbles:!0,cancelable:!0,composed:!0,detail:l}),this.details=l}}class m5 extends rn{constructor(r){super(i5,r)}}class g5 extends rn{constructor(r){super(u5,r)}}class kr extends rn{constructor(r){super(c5,r)}}class b5 extends rn{constructor(r){super(s5,r)}}class p5 extends rn{constructor(r){super(f5,r)}}class Sh extends rn{constructor(){super(ms)}}class y5 extends rn{constructor(r){super(d5,r)}}class x5 extends rn{constructor(r){super(v5,r)}}/*!
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/const S5=n=>new MutationObserver(n),_5=(n,r,l,i)=>n.createTreeWalker(r,l,i),w5=n=>n?n.parentNode:null,z5=n=>n?n.parentElement:null,k5=(n,r)=>!!(r&&(n!=null&&n.contains(r))),B5=n=>n.activeElement,T5=(n,r)=>n.querySelector(r),E5=(n,r)=>Array.prototype.slice.call(n.querySelectorAll(r),0),j5=(n,r)=>n.getElementById(r),A5=n=>(n==null?void 0:n.firstChild)||null,C5=n=>(n==null?void 0:n.lastChild)||null,N5=n=>(n==null?void 0:n.nextSibling)||null,D5=n=>(n==null?void 0:n.previousSibling)||null,R5=n=>(n==null?void 0:n.firstElementChild)||null,q5=n=>(n==null?void 0:n.lastElementChild)||null,M5=n=>(n==null?void 0:n.nextElementSibling)||null,O5=n=>(n==null?void 0:n.previousElementSibling)||null,H5=(n,r)=>n.appendChild(r),F5=(n,r,l)=>n.insertBefore(r,l),U5=n=>{var r;return((r=n.ownerDocument)===null||r===void 0?void 0:r.getSelection())||null},L5=(n,r)=>n.ownerDocument.getElementsByName(r),I={createMutationObserver:S5,createTreeWalker:_5,getParentNode:w5,getParentElement:z5,nodeContains:k5,getActiveElement:B5,querySelector:T5,querySelectorAll:E5,getElementById:j5,getFirstChild:A5,getLastChild:C5,getNextSibling:N5,getPreviousSibling:D5,getFirstElementChild:R5,getLastElementChild:q5,getNextElementSibling:M5,getPreviousElementSibling:O5,appendChild:H5,insertBefore:F5,getSelection:U5,getElementsByName:L5};function G5(n){for(const r of Object.keys(n))I[r]=n[r]}/*!
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/let gs,P5=0;try{document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT),gs=!1}catch{gs=!0}const es=100;function Cn(n){const r=n();let l=r.__tabsterInstanceContext;return l||(l={elementByUId:{},basics:{Promise:r.Promise||void 0,WeakRef:r.WeakRef||void 0},containerBoundingRectCache:{},lastContainerBoundingRectCacheId:0,fakeWeakRefs:[],fakeWeakRefsStarted:!1},r.__tabsterInstanceContext=l),l}function Z5(n){const r=n.__tabsterInstanceContext;r&&(r.elementByUId={},delete r.WeakRef,r.containerBoundingRectCache={},r.containerBoundingRectCacheTimer&&n.clearTimeout(r.containerBoundingRectCacheTimer),r.fakeWeakRefsTimer&&n.clearTimeout(r.fakeWeakRefsTimer),r.fakeWeakRefs=[],delete n.__tabsterInstanceContext)}function X5(n){const r=n.__tabsterInstanceContext;return new((r==null?void 0:r.basics.WeakMap)||WeakMap)}function V5(n){return!!n.querySelector(r1)}class i1{constructor(r){this._target=r}deref(){return this._target}static cleanup(r,l){return r._target?l||!Cs(r._target.ownerDocument,r._target)?(delete r._target,!0):!1:!0}}class oo{constructor(r,l,i){const s=Cn(r);let f;s.WeakRef?f=new s.WeakRef(l):(f=new i1(l),s.fakeWeakRefs.push(f)),this._ref=f,this._data=i}get(){const r=this._ref;let l;return r&&(l=r.deref(),l||delete this._ref),l}getData(){return this._data}}function u1(n,r){const l=Cn(n);l.fakeWeakRefs=l.fakeWeakRefs.filter(i=>!i1.cleanup(i,r))}function c1(n){const r=Cn(n);r.fakeWeakRefsStarted||(r.fakeWeakRefsStarted=!0,r.WeakRef=J5(r)),r.fakeWeakRefsTimer||(r.fakeWeakRefsTimer=n().setTimeout(()=>{r.fakeWeakRefsTimer=void 0,u1(n),c1(n)},120*1e3))}function Y5(n){const r=Cn(n);r.fakeWeakRefsStarted=!1,r.fakeWeakRefsTimer&&(n().clearTimeout(r.fakeWeakRefsTimer),r.fakeWeakRefsTimer=void 0,r.fakeWeakRefs=[])}function s1(n,r,l){if(r.nodeType!==Node.ELEMENT_NODE)return;const i=gs?l:{acceptNode:l};return I.createTreeWalker(n,r,NodeFilter.SHOW_ELEMENT,i,!1)}function Q5(n){n.__shouldIgnoreFocus=!0}function f1(n){return!!n.__shouldIgnoreFocus}function K5(n){const r=new Uint32Array(4);if(n.crypto&&n.crypto.getRandomValues)n.crypto.getRandomValues(r);else if(n.msCrypto&&n.msCrypto.getRandomValues)n.msCrypto.getRandomValues(r);else for(let i=0;i<r.length;i++)r[i]=4294967295*Math.random();const l=[];for(let i=0;i<r.length;i++)l.push(r[i].toString(36));return l.push("|"),l.push((++P5).toString(36)),l.push("|"),l.push(Date.now().toString(36)),l.join("")}function W5(n,r){const l=Cn(n);let i=r.__tabsterElementUID;return i||(i=r.__tabsterElementUID=K5(n())),!l.elementByUId[i]&&Cs(r.ownerDocument,r)&&(l.elementByUId[i]=new oo(n,r)),i}function _h(n,r){const l=Cn(n);for(const i of Object.keys(l.elementByUId)){const s=l.elementByUId[i],f=s&&s.get();f&&r&&!I.nodeContains(r,f)||delete l.elementByUId[i]}}function Cs(n,r){return I.nodeContains(n==null?void 0:n.body,r)}function I5(n,r){const l=n.matches||n.matchesSelector||n.msMatchesSelector||n.webkitMatchesSelector;return l&&l.call(n,r)}function J5(n){return n.basics.WeakRef}let $5=0;class Ns{constructor(r,l,i){const s=r.getWindow;this._tabster=r,this._element=new oo(s,l),this._props={...i},this.id="i"+ ++$5}getElement(){return this._element.get()}getProps(){return this._props}setProps(r){this._props={...r}}}class fi{constructor(r,l,i,s,f){var v;this._focusIn=y=>{if(this._fixedTarget){const x=this._fixedTarget.get();x&&jn(x);return}const p=this.input;if(this.onFocusIn&&p){const x=y.relatedTarget;this.onFocusIn(this,this._isBackward(!0,p,x),x)}},this._focusOut=y=>{if(this._fixedTarget)return;this.useDefaultAction=!1;const p=this.input;if(this.onFocusOut&&p){const x=y.relatedTarget;this.onFocusOut(this,this._isBackward(!1,p,x),x)}};const m=r(),g=m.document.createElement("i");g.tabIndex=0,g.setAttribute("role","none"),g.setAttribute(r5,""),g.setAttribute("aria-hidden","true");const h=g.style;h.position="fixed",h.width=h.height="1px",h.opacity="0.001",h.zIndex="-1",h.setProperty("content-visibility","hidden"),Q5(g),this.input=g,this.isFirst=i.isFirst,this.isOutside=l,this._isPhantom=(v=i.isPhantom)!==null&&v!==void 0?v:!1,this._fixedTarget=f,g.addEventListener("focusin",this._focusIn),g.addEventListener("focusout",this._focusOut),g.__tabsterDummyContainer=s,this._isPhantom&&(this._disposeTimer=m.setTimeout(()=>{delete this._disposeTimer,this.dispose()},0),this._clearDisposeTimeout=()=>{this._disposeTimer&&(m.clearTimeout(this._disposeTimer),delete this._disposeTimer),delete this._clearDisposeTimeout})}dispose(){var r;this._clearDisposeTimeout&&this._clearDisposeTimeout();const l=this.input;l&&(delete this._fixedTarget,delete this.onFocusIn,delete this.onFocusOut,delete this.input,l.removeEventListener("focusin",this._focusIn),l.removeEventListener("focusout",this._focusOut),delete l.__tabsterDummyContainer,(r=I.getParentNode(l))===null||r===void 0||r.removeChild(l))}setTopLeft(r,l){var i;const s=(i=this.input)===null||i===void 0?void 0:i.style;s&&(s.top=`${r}px`,s.left=`${l}px`)}_isBackward(r,l,i){return r&&!i?!this.isFirst:!!(i&&l.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_FLine truncated
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/function h1(n,r){return JSON.stringify(n)}function ax(n,r){for(const l of Object.keys(r)){const i=r[l];i?n[l]=i:delete n[l]}}function rx(n,r,l){let i;{const s=n.getAttribute(nn);if(s)try{i=JSON.parse(s)}catch{}}i||(i={}),ax(i,r),Object.keys(i).length>0?n.setAttribute(nn,h1(i)):n.removeAttribute(nn)}class wh extends di{constructor(r,l,i,s){super(r,l,d1.Root,s,void 0,!0),this._onDummyInputFocus=f=>{var v;if(f.useDefaultAction)this._setFocused(!1);else{this._tabster.keyboardNavigation.setNavigatingWithKeyboard(!0);const m=this._element.get();if(m){this._setFocused(!0);const g=this._tabster.focusedElement.getFirstOrLastTabbable(f.isFirst,{container:m,ignoreAccessibility:!0});if(g){jn(g);return}}(v=f.input)===null||v===void 0||v.blur()}},this._setHandlers(this._onDummyInputFocus),this._tabster=r,this._setFocused=i}}class lx extends Ns{constructor(r,l,i,s,f){super(r,l,s),this._isFocused=!1,this._setFocused=h=>{var y;if(this._setFocusedTimer&&(this._tabster.getWindow().clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),this._isFocused===h)return;const p=this._element.get();p&&(h?(this._isFocused=!0,(y=this._dummyManager)===null||y===void 0||y.setTabbable(!1),p.dispatchEvent(new y5({element:p}))):this._setFocusedTimer=this._tabster.getWindow().setTimeout(()=>{var x;delete this._setFocusedTimer,this._isFocused=!1,(x=this._dummyManager)===null||x===void 0||x.setTabbable(!0),p.dispatchEvent(new x5({element:p}))},0))},this._onFocusIn=h=>{const y=this._tabster.getParent,p=this._element.get();let x=h.composedPath()[0];do{if(x===p){this._setFocused(!0);return}x=x&&y(x)}while(x)},this._onFocusOut=()=>{this._setFocused(!1)},this._onDispose=i;const v=r.getWindow;this.uid=W5(v,l),this._sys=f,(r.controlTab||r.rootDummyInputs)&&this.addDummyInputs();const g=v().document;g.addEventListener(jo,this._onFocusIn),g.addEventListener(Tr,this._onFocusOut),this._add()}addDummyInputs(){this._dummyManager||(this._dummyManager=new wh(this._tabster,this._element,this._setFocused,this._sys))}dispose(){var r;this._onDispose(this);const l=this._tabster.getWindow(),i=l.document;i.removeEventListener(jo,this._onFocusIn),i.removeEventListener(Tr,this._onFocusOut),this._setFocusedTimer&&(l.clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),(r=this._dummyManager)===null||r===void 0||r.dispose(),this._remove()}moveOutWithDefaultAction(r,l){const i=this._dummyManager;if(i)i.moveOutWithDefaultAction(r,l);else{const s=this.getElement();s&&wh.moveWithPhantomDummy(this._tabster,s,!0,r,l)}}_add(){}_remove(){}}class We{constructor(r,l){this._autoRootWaiting=!1,this._roots={},this._forceDummy=!1,this.rootById={},this._autoRootCreate=()=>{var i;const s=this._win().document,f=s.body;if(f){this._autoRootUnwait(s);const v=this._autoRoot;if(v)return rx(f,{root:v}),l1(this._tabster,f),(i=Wt(this._tabster,f))===null||i===void 0?void 0:i.root}else this._autoRootWaiting||(this._autoRootWaiting=!0,s.addEventListener("readystatechange",this._autoRootCreate))},this._onRootDispose=i=>{delete this._roots[i.id]},this._tabster=r,this._win=r.getWindow,this._autoRoot=l,r.queueInit(()=>{this._autoRoot&&this._autoRootCreate()})}_autoRootUnwait(r){r.removeEventListener("readystatechange",this._autoRootCreate),this._autoRootWaiting=!1}dispose(){const r=this._win();this._autoRootUnwait(r.document),delete this._autoRoot,Object.keys(this._roots).forEach(l=>{this._roots[l]&&(this._roots[l].dispose(),delete this._roots[l])}),this.rootById={}}createRoot(r,l,i){const s=new lx(this._tabster,r,this._onRootDispose,l,i);return this._roots[s.id]=s,this._forceDummy&&s.addDummyInputs(),s}addDummyInputs(){this._forceDummy=!0;const r=this._roots;for(const l of Object.keys(r))r[l].addDummyInputs()}static getRootByUId(r,l){const i=r().__tabsterInstance;return i&&i.root.rootById[l]}static getTabsterContext(r,l,i={}){var s,f,v,m;if(!l.ownerDocument)return;const{checkRtl:g,referenceElement:h}=i,y=r.getParent;r.drainInitQueue();let p,x,_,z,k=!1,O,D,U,R,V=h||l;const X={};for(;V&&(!p||g);){const G=Wt(r,V);if(g&&U===void 0){const W=V.dir;W&&(U=W.toLowerCase()==="rtl")}if(!G){V=y(V);continue}const le=V.tagName;(G.uncontrolled||le==="IFRAME"||le==="WEBVIEW")&&r.focusable.isVisible(V)&&(R=V),!z&&(!((s=G.focusable)===null||s===void 0)&&s.excludeFromMover)&&!_&&(k=!0);const Xe=G.modalizer,Ue=G.groupper,et=G.mover;!x&&Xe&&(x=Xe),!_&&Ue&&(!x||Xe)&&(x?(!Ue.isActive()&&Ue.getProps().tabbability&&x.userId!==((f=r.modalizer)===null||f===void 0?void 0:f.activeId)&&(x=void 0,_=Ue),D=Ue):_=Ue),!z&&et&&(!x||Xe)&&(!Ue||V!==l)&&V.contains(l)&&(z=et,O=!!_&&_!==Ue),G.root&&(p=G.root),!((v=G.focusable)===null||v===void 0)&&v.ignoreKeydown&&Object.assign(X,G.focusable.ignoreKeydown),V=y(V)}if(!p){const G=r.root;G._autoRoot&&!((m=l.ownerDocument)===null||m===void 0)&&m.body&&(p=G._autoRootCreate())}return _&&!z&&(O=!0),p?{root:p,modalizer:x,groupper:_,mover:z,groupperBeforeMover:O,modalizerInGroupper:D,rtl:g?!!U:void 0,uncontrolled:R,excludedFromMover:k,ignoreKeydown:G=>!!X[G.key]}:void 0}stLine truncated
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/class m1{constructor(){this._callbacks=[]}dispose(){this._callbacks=[],delete this._val}subscribe(r){const l=this._callbacks;l.indexOf(r)<0&&l.push(r)}subscribeFirst(r){const l=this._callbacks,i=l.indexOf(r);i>=0&&l.splice(i,1),l.unshift(r)}unsubscribe(r){const l=this._callbacks.indexOf(r);l>=0&&this._callbacks.splice(l,1)}setVal(r,l){this._val!==r&&(this._val=r,this._callCallbacks(r,l))}getVal(){return this._val}trigger(r,l){this._callCallbacks(r,l)}_callCallbacks(r,l){this._callbacks.forEach(i=>i(r,l))}}/*!
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/class ix{constructor(r){this._tabster=r}dispose(){}getProps(r){const l=Wt(this._tabster,r);return l&&l.focusable||{}}isFocusable(r,l,i,s){return I5(r,r1)&&(l||r.tabIndex!==-1)?(i||this.isVisible(r))&&(s||this.isAccessible(r)):!1}isVisible(r){if(!r.ownerDocument||r.nodeType!==Node.ELEMENT_NODE||ox(r))return!1;const l=r.ownerDocument.body.getBoundingClientRect();return!(l.width===0&&l.height===0)}isAccessible(r){var l;for(let i=r;i;i=I.getParentElement(i)){const s=Wt(this._tabster,i);if(this._isHidden(i)||!((l=s==null?void 0:s.focusable)===null||l===void 0?void 0:l.ignoreAriaDisabled)&&this._isDisabled(i))return!1}return!0}_isDisabled(r){return r.hasAttribute("disabled")}_isHidden(r){var l;const i=r.getAttribute("aria-hidden");return!!(i&&i.toLowerCase()==="true"&&!(!((l=this._tabster.modalizer)===null||l===void 0)&&l.isAugmented(r)))}findFirst(r,l){return this.findElement({...r},l)}findLast(r,l){return this.findElement({isBackward:!0,...r},l)}findNext(r,l){return this.findElement({...r},l)}findPrev(r,l){return this.findElement({...r,isBackward:!0},l)}findDefault(r,l){return this.findElement({...r,acceptCondition:i=>this.isFocusable(i,r.includeProgrammaticallyFocusable)&&!!this.getProps(i).isDefault},l)||null}findAll(r){return this._findElements(!0,r)||[]}findElement(r,l){const i=this._findElements(!1,r,l);return i&&i[0]}_findElements(r,l,i){var s,f,v;const{container:m,currentElement:g=null,includeProgrammaticallyFocusable:h,useActiveModalizer:y,ignoreAccessibility:p,modalizerId:x,isBackward:_,onElement:z}=l;i||(i={});const k=[];let{acceptCondition:O}=l;const D=!!O;if(!m)return null;O||(O=X=>this.isFocusable(X,h,!1,p));const U={container:m,modalizerUserId:x===void 0&&y?(s=this._tabster.modalizer)===null||s===void 0?void 0:s.activeId:x||((v=(f=We.getTabsterContext(this._tabster,m))===null||f===void 0?void 0:f.modalizer)===null||v===void 0?void 0:v.userId),from:g||m,isBackward:_,isFindAll:r,acceptCondition:O,hasCustomCondition:D,includeProgrammaticallyFocusable:h,ignoreAccessibility:p,cachedGrouppers:{},cachedRadioGroups:{}},R=s1(m.ownerDocument,m,X=>this._acceptElement(X,U));if(!R)return null;const V=X=>{var Y,G;const le=(Y=U.foundElement)!==null&&Y!==void 0?Y:U.foundBackward;return le&&k.push(le),r?le&&(U.found=!1,delete U.foundElement,delete U.foundBackward,delete U.fromCtx,U.from=le,z&&!z(le))?!1:!!(le||X):(le&&i&&(i.uncontrolled=(G=We.getTabsterContext(this._tabster,le))===null||G===void 0?void 0:G.uncontrolled),!!(X&&!le))};if(g||(i.outOfDOMOrder=!0),g&&I.nodeContains(m,g))R.currentNode=g;else if(_){const X=v1(m);if(!X)return null;if(this._acceptElement(X,U)===NodeFilter.FILTER_ACCEPT&&!V(!0))return U.skippedFocusable&&(i.outOfDOMOrder=!0),k;R.currentNode=X}do _?R.previousNode():R.nextNode();while(V());return U.skippedFocusable&&(i.outOfDOMOrder=!0),k.length?k:null}_acceptElement(r,l){var i,s,f;if(l.found)return NodeFilter.FILTER_ACCEPT;const v=l.foundBackward;if(v&&(r===v||!I.nodeContains(v,r)))return l.found=!0,l.foundElement=v,NodeFilter.FILTER_ACCEPT;const m=l.container;if(r===m)return NodeFilter.FILTER_SKIP;if(!I.nodeContains(m,r)||Ds(r)||I.nodeContains(l.rejectElementsFrom,r))return NodeFilter.FILTER_REJECT;const g=l.currentCtx=We.getTabsterContext(this._tabster,r);if(!g)return NodeFilter.FILTER_SKIP;if(f1(r))return this.isFocusable(r,void 0,!0,!0)&&(l.skippedFocusable=!0),NodeFilter.FILTER_SKIP;if(!l.hasCustomCondition&&(r.tagName==="IFRAME"||r.tagName==="WEBVIEW"))return this.isVisible(r)&&((i=g.modalizer)===null||i===void 0?void 0:i.userId)===((s=this._tabster.modalizer)===null||s===void 0?void 0:s.activeId)?(l.found=!0,l.rejectElementsFrom=l.foundElement=r,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT;if(!l.ignoreAccessibility&&!this.isAccessible(r))return this.isFocusable(r,!1,!0,!0)&&(l.skippedFocusable=!0),NodeFilter.FILTER_REJECT;let h,y=l.fromCtx;y||(y=l.fromCtx=We.getTabsterContext(this._tabster,l.from));const p=y==null?void 0:y.mover;let x=g.groupper,_=g.mover;if(h=(f=this._tabster.modalizer)===null||f===void 0?void 0:f.acceptElement(r,l),h!==void 0&&(l.skippedFocusable=!0),h===void 0&&(x||_||p)){const z=x==null?void 0:x.getElement(),k=p==null?void 0:p.getElement();let O=_==null?void 0:_.getElement();if(O&&I.nodeContains(k,O)&&I.nodeContains(m,k)&&(!z||!_||I.nodeContains(k,z))&&(_=p,O=k),z){if(z===m||!I.nodeContains(m,z))x=void 0;else if(!I.nodeContains(z,r))return NodeFilter.FILTER_REJECT}if(O){if(!I.nodeContains(m,O))_=void 0;else if(!I.nodeContains(O,r))return NodeFilter.FILTER_REJECT}x&&_&&(O&&z&&!I.nodeContains(z,O)?_=void 0:x=void 0),x&&(h=x.acceptElement(r,l)),_&&(h=_.acceptElement(r,l))}if(h===void 0&&(h=l.acceptCondition(r)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,h===NodeFilter.FILTER_SKIP&&this.isFocusable(r,!1,!0,!0)&&(l.skippedFocusable=!0)),h===NodeFilter.FILTER_ACCEPT&&!l.found){if(!l.isFindAll&&bs(r)&&!r.checked){const z=r.name;let k=l.cachedRadioGroups[z];if(k||(k=nx(r),k&&(l.cachedRadioGroups[z]=k)),k!=null&&k.checked&&k.checked!==r)return NodeFilter.FILTLine truncated
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/const g1={Tab:"Tab",Escape:"Escape"};/*!
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/function ux(n,r){var l;const i=n.getParent;let s=r;do{const f=(l=Wt(n,s))===null||l===void 0?void 0:l.uncontrolled;if(f&&n.uncontrolled.isUncontrolledCompletely(s,!!f.completely))return s;s=i(s)}while(s)}const zh={[ba.Restorer]:0,[ba.Deloser]:1,[ba.EscapeGroupper]:2};class $e extends m1{constructor(r,l){super(),this._init=()=>{const i=this._win(),s=i.document;s.addEventListener(jo,this._onFocusIn,!0),s.addEventListener(Tr,this._onFocusOut,!0),i.addEventListener("keydown",this._onKeyDown,!0);const f=I.getActiveElement(s);f&&f!==s.body&&this._setFocusedElement(f),this.subscribe(this._onChanged)},this._onFocusIn=i=>{const s=i.composedPath()[0];s&&this._setFocusedElement(s,i.detail.relatedTarget,i.detail.isFocusedProgrammatically)},this._onFocusOut=i=>{var s;this._setFocusedElement(void 0,(s=i.detail)===null||s===void 0?void 0:s.originalEvent.relatedTarget)},this._validateFocusedElement=i=>{},this._onKeyDown=i=>{if(i.key!==g1.Tab||i.ctrlKey)return;const s=this.getVal();if(!s||!s.ownerDocument||s.contentEditable==="true")return;const f=this._tabster,v=f.controlTab,m=We.getTabsterContext(f,s);if(!m||m.ignoreKeydown(i))return;const g=i.shiftKey,h=$e.findNextTabbable(f,m,void 0,s,void 0,g,!0),y=m.root.getElement();if(!y)return;const p=h==null?void 0:h.element,x=ux(f,s);if(p){const _=h.uncontrolled;if(m.uncontrolled||I.nodeContains(_,s)){if(!h.outOfDOMOrder&&_===m.uncontrolled||x&&!I.nodeContains(x,p))return;di.addPhantomDummyWithTarget(f,s,g,p);return}if(_&&f.focusable.isVisible(_)||p.tagName==="IFRAME"&&f.focusable.isVisible(p)){y.dispatchEvent(new kr({by:"root",owner:y,next:p,relatedEvent:i}))&&di.moveWithPhantomDummy(f,_??p,!1,g,i);return}(v||h!=null&&h.outOfDOMOrder)&&y.dispatchEvent(new kr({by:"root",owner:y,next:p,relatedEvent:i}))&&(i.preventDefault(),i.stopImmediatePropagation(),jn(p))}else!x&&y.dispatchEvent(new kr({by:"root",owner:y,next:null,relatedEvent:i}))&&m.root.moveOutWithDefaultAction(g,i)},this._onChanged=(i,s)=>{var f,v;if(i)i.dispatchEvent(new m5(s));else{const m=(f=this._lastVal)===null||f===void 0?void 0:f.get();if(m){const g={...s},h=We.getTabsterContext(this._tabster,m),y=(v=h==null?void 0:h.modalizer)===null||v===void 0?void 0:v.userId;y&&(g.modalizerId=y),m.dispatchEvent(new g5(g))}}},this._tabster=r,this._win=l,r.queueInit(this._init)}dispose(){super.dispose();const r=this._win(),l=r.document;l.removeEventListener(jo,this._onFocusIn,!0),l.removeEventListener(Tr,this._onFocusOut,!0),r.removeEventListener("keydown",this._onKeyDown,!0),this.unsubscribe(this._onChanged);const i=this._asyncFocus;i&&(r.clearTimeout(i.timeout),delete this._asyncFocus),delete $e._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(r,l){var i,s;let f=$e._lastResetElement,v=f&&f.get();v&&I.nodeContains(l,v)&&delete $e._lastResetElement,v=(s=(i=r._nextVal)===null||i===void 0?void 0:i.element)===null||s===void 0?void 0:s.get(),v&&I.nodeContains(l,v)&&delete r._nextVal,f=r._lastVal,v=f&&f.get(),v&&I.nodeContains(l,v)&&delete r._lastVal}getFocusedElement(){return this.getVal()}getLastFocusedElement(){var r;let l=(r=this._lastVal)===null||r===void 0?void 0:r.get();return(!l||l&&!Cs(l.ownerDocument,l))&&(this._lastVal=l=void 0),l}focus(r,l,i,s){return this._tabster.focusable.isFocusable(r,l,!1,i)?(r.focus({preventScroll:s}),!0):!1}focusDefault(r){const l=this._tabster.focusable.findDefault({container:r});return l?(this._tabster.focusedElement.focus(l),!0):!1}getFirstOrLastTabbable(r,l){var i;const{container:s,ignoreAccessibility:f}=l;let v;if(s){const m=We.getTabsterContext(this._tabster,s);m&&(v=(i=$e.findNextTabbable(this._tabster,m,s,void 0,void 0,!r,f))===null||i===void 0?void 0:i.element)}return v&&!I.nodeContains(s,v)&&(v=void 0),v||void 0}_focusFirstOrLast(r,l){const i=this.getFirstOrLastTabbable(r,l);return i?(this.focus(i,!1,!0),!0):!1}focusFirst(r){return this._focusFirstOrLast(!0,r)}focusLast(r){return this._focusFirstOrLast(!1,r)}resetFocus(r){if(!this._tabster.focusable.isVisible(r))return!1;if(this._tabster.focusable.isFocusable(r,!0,!0,!0))this.focus(r);else{const l=r.getAttribute("tabindex"),i=r.getAttribute("aria-hidden");r.tabIndex=-1,r.setAttribute("aria-hidden","true"),$e._lastResetElement=new oo(this._win,r),this.focus(r,!0,!0),this._setOrRemoveAttribute(r,"tabindex",l),this._setOrRemoveAttribute(r,"aria-hidden",i)}return!0}requestAsyncFocus(r,l,i){const s=this._tabster.getWindow(),f=this._asyncFocus;if(f){if(zh[r]>zh[f.source])return;s.clearTimeout(f.timeout)}this._asyncFocus={source:r,callback:l,timeout:s.setTimeout(()=>{this._asyncFocus=void 0,l()},i)}}cancelAsyncFocus(r){const l=this._asyncFocus;(l==null?void 0:l.source)===r&&(this._tabster.getWindow().clearTimeout(l.timeout),this._asyncFocus=void 0)}_setOrRemoveAttribute(r,l,i){i===null?r.removeAttribute(l):r.setAttribute(l,i)}_setFocusedElement(r,l,i){var s,f;if(this._tabster._noop)return;const v={relatedTarget:l};if(r){const g=(s=$e._lastResetElement)===null||s===void 0?void 0:s.get();if($e._lastResetElement=Line truncated
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/class cx extends m1{constructor(r){super(),this._onChange=l=>{this.setVal(l,void 0)},this._keyborg=n1(r()),this._keyborg.subscribe(this._onChange)}dispose(){super.dispose(),this._keyborg&&(this._keyborg.unsubscribe(this._onChange),a1(this._keyborg),delete this._keyborg)}setNavigatingWithKeyboard(r){var l;(l=this._keyborg)===null||l===void 0||l.setVal(r)}isNavigatingWithKeyboard(){var r;return!!(!((r=this._keyborg)===null||r===void 0)&&r.isNavigatingWithKeyboard())}}/*!
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/let sx=0;const os="aria-hidden";class fx extends di{constructor(r,l,i){super(l,r,d1.Modalizer,i),this._setHandlers((s,f)=>{var v,m;const g=r.get(),h=g&&((v=We.getRoot(l,g))===null||v===void 0?void 0:v.getElement()),y=s.input;let p;if(h&&y){const x=Ds(y),_=We.getTabsterContext(l,x||y);_&&(p=(m=$e.findNextTabbable(l,_,h,y,void 0,f,!0))===null||m===void 0?void 0:m.element),p&&jn(p)}})}}class dx extends Ns{constructor(r,l,i,s,f,v){super(r,l,s),this._wasFocused=0,this.userId=s.id,this._onDispose=i,this._activeElements=v,r.controlTab||(this.dummyManager=new fx(this._element,r,f))}makeActive(r){if(this._isActive!==r){this._isActive=r;const l=this.getElement();if(l){const i=this._activeElements,s=i.map(f=>f.get()).indexOf(l);r?s<0&&i.push(new oo(this._tabster.getWindow,l)):s>=0&&i.splice(s,1)}this._dispatchEvent(r)}}focused(r){return r||(this._wasFocused=++sx),this._wasFocused}setProps(r){r.id&&(this.userId=r.id),this._props={...r}}dispose(){var r;this.makeActive(!1),this._onDispose(this),(r=this.dummyManager)===null||r===void 0||r.dispose(),delete this.dummyManager,this._activeElements=[],this._remove()}isActive(){return!!this._isActive}contains(r){return I.nodeContains(this.getElement(),r)}findNextTabbable(r,l,i,s){var f,v;if(!this.getElement())return null;const g=this._tabster;let h=null,y=!1,p;const x=r&&((f=We.getRoot(g,r))===null||f===void 0?void 0:f.getElement());if(x){const _={container:x,currentElement:r,referenceElement:l,ignoreAccessibility:s,useActiveModalizer:!0},z={};h=g.focusable[i?"findPrev":"findNext"](_,z),!h&&this._props.isTrapped&&(!((v=g.modalizer)===null||v===void 0)&&v.activeId)?(h=g.focusable[i?"findLast":"findFirst"]({container:x,ignoreAccessibility:s,useActiveModalizer:!0},z),h===null&&(h=r),y=!0):y=!!z.outOfDOMOrder,p=z.uncontrolled}return{element:h,uncontrolled:p,outOfDOMOrder:y}}_dispatchEvent(r,l){const i=this.getElement();let s=!1;if(i){const f=l?this._activeElements.map(v=>v.get()):[i];for(const v of f)if(v){const m={id:this.userId,element:i},g=r?new b5(m):new p5(m);v.dispatchEvent(g),g.defaultPrevented&&(s=!0)}}return s}_remove(){}}class vx{constructor(r,l,i){this._onModalizerDispose=f=>{const v=f.id,m=f.userId,g=this._parts[m];if(delete this._modalizers[v],g&&(delete g[v],Object.keys(g).length===0)){delete this._parts[m];const h=this._activationHistory,y=[];let p;for(let x=h.length;x--;){const _=h[x];_!==m&&_!==p&&(p=_,(_||y.length>0)&&y.unshift(_))}if(this._activationHistory=y,this.activeId===m){const x=y[0],_=x?Object.values(this._parts[x])[0]:void 0;this.setActive(_)}}},this._onKeyDown=f=>{var v;if(f.key!==g1.Escape)return;const m=this._tabster,g=m.focusedElement.getFocusedElement();if(g){const h=We.getTabsterContext(m,g),y=h==null?void 0:h.modalizer;if(h&&!h.groupper&&(y!=null&&y.isActive())&&!h.ignoreKeydown(f)){const p=y.userId;if(p){const x=this._parts[p];if(x){const _=Object.keys(x).map(z=>{var k;const O=x[z],D=O.getElement();let U;return D&&(U=(k=Wt(m,D))===null||k===void 0?void 0:k.groupper),O&&D&&U?{el:D,focusedSince:O.focused(!0)}:{focusedSince:0}}).filter(z=>z.focusedSince>0).sort((z,k)=>z.focusedSince>k.focusedSince?-1:z.focusedSince<k.focusedSince?1:0);if(_.length){const z=_[0].el;z&&((v=m.groupper)===null||v===void 0||v.handleKeyPress(z,f,!0))}}}}}},this._onFocus=(f,v)=>{var m;const g=this._tabster,h=f&&We.getTabsterContext(g,f);if(!h||!f)return;const y=this._augMap;for(let z=f;z;z=I.getParentElement(z))y.has(z)&&(y.delete(z),ts(g,z,os));let p=h.modalizer;const x=Wt(g,f),_=x==null?void 0:x.modalizer;if(_&&(_.focused(),_.userId===this.activeId&&x.groupper)){const z=g.getParent(f),k=z&&((m=We.getTabsterContext(g,z))===null||m===void 0?void 0:m.modalizer);if(k)p=k;else{this.setActive(void 0);return}}if(p==null||p.focused(),(p==null?void 0:p.userId)===this.activeId){this.currentIsOthersAccessible=p==null?void 0:p.getProps().isOthersAccessible;return}if(v.isFocusedProgrammatically||this.currentIsOthersAccessible||p!=null&&p.getProps().isAlwaysAccessible)this.setActive(p);else{const z=this._win();z.clearTimeout(this._restoreModalizerFocusTimer),this._restoreModalizerFocusTimer=z.setTimeout(()=>this._restoreModalizerFocus(f),100)}},this._tabster=r,this._win=r.getWindow,this._modalizers={},this._parts={},this._augMap=new WeakMap,this._aug=[],this._alwaysAccessibleSelector=l,this._accessibleCheck=i,this._activationHistory=[],this.activeElements=[],r.controlTab||r.root.addDummyInputs(),this._win().addEventListener("keydown",this._onKeyDown,!0),r.queueInit(()=>{this._tabster.focusedElement.subscribe(this._onFocus)})}dispose(){const r=this._win();r.removeEventListener("keydown",this._onKeyDown,!0),Object.keys(this._modalizers).forEach(l=>{this._modalizers[l]&&(this._modalizers[l].dispose(),delete this._modalizers[l])}),r.clearTimeout(this._restoreModalizerFocusTimer),r.clearTimeout(this._hiddenUpdateTimer),this._parts={},delete this.activeId,this.activeElements=[],this._augMap=new WeakMap,this._aug=[],this._tabster.focusedElement.unsubscribe(this._onFocus)}createModalizer(rLine truncated
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/function hx(n,r,l,i){if(typeof MutationObserver>"u")return()=>{};const s=r.getWindow;let f;const v=y=>{var p,x,_,z,k;const O=new Set;for(const D of y){const U=D.target,R=D.removedNodes,V=D.addedNodes;if(D.type==="attributes")D.attributeName===nn&&(O.has(U)||l(r,U));else{for(let X=0;X<R.length;X++){const Y=R[X];O.add(Y),m(Y,!0),(x=(p=r._dummyObserver).domChanged)===null||x===void 0||x.call(p,U)}for(let X=0;X<V.length;X++)m(V[X]),(z=(_=r._dummyObserver).domChanged)===null||z===void 0||z.call(_,U)}}O.clear(),(k=r.modalizer)===null||k===void 0||k.hiddenUpdate()};function m(y,p){f||(f=Cn(s).elementByUId),g(y,p);const x=s1(n,y,_=>g(_,p));if(x)for(;x.nextNode(););}function g(y,p){var x;if(!y.getAttribute)return NodeFilter.FILTER_SKIP;const _=y.__tabsterElementUID;return _&&f&&(p?delete f[_]:(x=f[_])!==null&&x!==void 0||(f[_]=new oo(s,y))),(Wt(r,y)||y.hasAttribute(nn))&&l(r,y,p),NodeFilter.FILTER_SKIP}const h=I.createMutationObserver(v);return i&&m(s().document.body),h.observe(n,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[nn]}),()=>{h.disconnect()}}/*!
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/class mx{constructor(r){this._isUncontrolledCompletely=r}isUncontrolledCompletely(r,l){var i;const s=(i=this._isUncontrolledCompletely)===null||i===void 0?void 0:i.call(this,r,l);return s===void 0?l:s}}/*!
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/class gx extends Ns{constructor(r,l,i){var s;if(super(r,l,i),this._hasFocus=!1,this._onFocusOut=f=>{var v;const m=(v=this._element)===null||v===void 0?void 0:v.get();m&&f.relatedTarget===null&&m.dispatchEvent(new Sh),m&&!I.nodeContains(m,f.relatedTarget)&&(this._hasFocus=!1)},this._onFocusIn=()=>{this._hasFocus=!0},this._props.type===za.Source){const f=(s=this._element)===null||s===void 0?void 0:s.get();f==null||f.addEventListener("focusout",this._onFocusOut),f==null||f.addEventListener("focusin",this._onFocusIn),this._hasFocus=I.nodeContains(f,f&&I.getActiveElement(f.ownerDocument))}}dispose(){var r;if(this._props.type===za.Source){const l=(r=this._element)===null||r===void 0?void 0:r.get();l==null||l.removeEventListener("focusout",this._onFocusOut),l==null||l.removeEventListener("focusin",this._onFocusIn),this._hasFocus&&this._tabster.getWindow().document.body.dispatchEvent(new Sh)}}}class xi{constructor(r){this._stack=[],this._getWindow=r}push(r){var l;((l=this._stack[this._stack.length-1])===null||l===void 0?void 0:l.get())!==r&&(this._stack.length>xi.DEPTH&&this._stack.shift(),this._stack.push(new oo(this._getWindow,r)))}pop(r=()=>!0){var l;const i=this._getWindow().document;for(let s=this._stack.length-1;s>=0;s--){const f=(l=this._stack.pop())===null||l===void 0?void 0:l.get();if(f&&I.nodeContains(i.body,I.getParentElement(f))&&r(f))return f}}}xi.DEPTH=10;class bx{constructor(r){this._onRestoreFocus=l=>{var i,s;this._focusedElementState.cancelAsyncFocus(ba.Restorer);const f=l.composedPath()[0];if(f){const v=(s=(i=Wt(this._tabster,f))===null||i===void 0?void 0:i.restorer)===null||s===void 0?void 0:s.getProps().id;this._focusedElementState.requestAsyncFocus(ba.Restorer,()=>this._restoreFocus(f,v),0)}},this._onFocusIn=l=>{var i;if(!l)return;const s=Wt(this._tabster,l);((i=s==null?void 0:s.restorer)===null||i===void 0?void 0:i.getProps().type)===za.Target&&this._history.push(l)},this._restoreFocus=(l,i)=>{var s;const f=this._getWindow().document;if(I.getActiveElement(f)!==f.body||!this._keyboardNavState.isNavigatingWithKeyboard()&&I.nodeContains(f.body,l))return;const v=m=>{var g,h;const y=(h=(g=Wt(this._tabster,m))===null||g===void 0?void 0:g.restorer)===null||h===void 0?void 0:h.getProps();return y?y.id:null};(s=this._history.pop(m=>i===v(m)))===null||s===void 0||s.focus()},this._tabster=r,this._getWindow=r.getWindow,this._getWindow().addEventListener(ms,this._onRestoreFocus),this._history=new xi(this._getWindow),this._keyboardNavState=r.keyboardNavigation,this._focusedElementState=r.focusedElement,this._focusedElementState.subscribe(this._onFocusIn)}dispose(){const r=this._getWindow();this._focusedElementState.unsubscribe(this._onFocusIn),this._focusedElementState.cancelAsyncFocus(ba.Restorer),r.removeEventListener(ms,this._onRestoreFocus)}createRestorer(r,l){const i=new gx(this._tabster,r,l);return l.type===za.Target&&I.getActiveElement(r.ownerDocument)===r&&this._history.push(r),i}}/*!
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/class px{constructor(r){this.keyboardNavigation=r.keyboardNavigation,this.focusedElement=r.focusedElement,this.focusable=r.focusable,this.root=r.root,this.uncontrolled=r.uncontrolled,this.core=r}}class yx{constructor(r,l){var i,s;this._forgetMemorizedElements=[],this._wrappers=new Set,this._initQueue=[],this._version="8.7.0",this._noop=!1,this.getWindow=()=>{if(!this._win)throw new Error("Using disposed Tabster.");return this._win},this._storage=X5(r),this._win=r;const f=this.getWindow;l!=null&&l.DOMAPI&&G5({...l.DOMAPI}),this.keyboardNavigation=new cx(f),this.focusedElement=new $e(this,f),this.focusable=new ix(this),this.root=new We(this,l==null?void 0:l.autoRoot),this.uncontrolled=new mx((l==null?void 0:l.checkUncontrolledCompletely)||(l==null?void 0:l.checkUncontrolledTrappingFocus)),this.controlTab=(i=l==null?void 0:l.controlTab)!==null&&i!==void 0?i:!0,this.rootDummyInputs=!!(l!=null&&l.rootDummyInputs),this._dummyObserver=new ex(f),this.getParent=(s=l==null?void 0:l.getParent)!==null&&s!==void 0?s:I.getParentNode,this.internal={stopObserver:()=>{this._unobserve&&(this._unobserve(),delete this._unobserve)},resumeObserver:v=>{if(!this._unobserve){const m=f().document;this._unobserve=hx(m,this,l1,v)}}},c1(f),this.queueInit(()=>{this.internal.resumeObserver(!0)})}_mergeProps(r){var l;r&&(this.getParent=(l=r.getParent)!==null&&l!==void 0?l:this.getParent)}createTabster(r,l){const i=new px(this);return r||this._wrappers.add(i),this._mergeProps(l),i}disposeTabster(r,l){l?this._wrappers.clear():this._wrappers.delete(r),this._wrappers.size===0&&this.dispose()}dispose(){var r,l,i,s,f,v,m,g;this.internal.stopObserver();const h=this._win;h==null||h.clearTimeout(this._initTimer),delete this._initTimer,this._initQueue=[],this._forgetMemorizedElements=[],h&&this._forgetMemorizedTimer&&(h.clearTimeout(this._forgetMemorizedTimer),delete this._forgetMemorizedTimer),(r=this.outline)===null||r===void 0||r.dispose(),(l=this.crossOrigin)===null||l===void 0||l.dispose(),(i=this.deloser)===null||i===void 0||i.dispose(),(s=this.groupper)===null||s===void 0||s.dispose(),(f=this.mover)===null||f===void 0||f.dispose(),(v=this.modalizer)===null||v===void 0||v.dispose(),(m=this.observedElement)===null||m===void 0||m.dispose(),(g=this.restorer)===null||g===void 0||g.dispose(),this.keyboardNavigation.dispose(),this.focusable.dispose(),this.focusedElement.dispose(),this.root.dispose(),this._dummyObserver.dispose(),Y5(this.getWindow),_h(this.getWindow),this._storage=new WeakMap,this._wrappers.clear(),h&&(Z5(h),delete h.__tabsterInstance,delete this._win)}storageEntry(r,l){const i=this._storage;let s=i.get(r);return s?l===!1&&Object.keys(s).length===0&&i.delete(r):l===!0&&(s={},i.set(r,s)),s}forceCleanup(){this._win&&(this._forgetMemorizedElements.push(this._win.document.body),!this._forgetMemorizedTimer&&(this._forgetMemorizedTimer=this._win.setTimeout(()=>{delete this._forgetMemorizedTimer;for(let r=this._forgetMemorizedElements.shift();r;r=this._forgetMemorizedElements.shift())_h(this.getWindow,r),$e.forgetMemorized(this.focusedElement,r)},0),u1(this.getWindow,!0)))}queueInit(r){var l;this._win&&(this._initQueue.push(r),this._initTimer||(this._initTimer=(l=this._win)===null||l===void 0?void 0:l.setTimeout(()=>{delete this._initTimer,this.drainInitQueue()},0)))}drainInitQueue(){if(!this._win)return;const r=this._initQueue;this._initQueue=[],r.forEach(l=>l())}}function xx(n,r){let l=zx(n);return l?l.createTabster(!1,r):(l=new yx(n,r),n.__tabsterInstance=l,l.createTabster())}function Sx(n,r,l){const i=n.core;return i.modalizer||(i.modalizer=new vx(i,r,l)),i.modalizer}function _x(n){const r=n.core;return r.restorer||(r.restorer=new bx(r)),r.restorer}function wx(n,r){n.core.disposeTabster(n,r)}function zx(n){return n.__tabsterInstance}const kx=n=>n;function Bx(n){const r=(n==null?void 0:n.defaultView)||void 0,l=r==null?void 0:r.__tabsterShadowDOMAPI;if(r)return xx(r,{autoRoot:{},controlTab:!1,getParent:Y2,checkUncontrolledCompletely:i=>{var s;return((s=i.firstElementChild)===null||s===void 0?void 0:s.hasAttribute("data-is-focus-trap-zone-bumper"))===!0||void 0},DOMAPI:l})}function Rs(n=kx){const{targetDocument:r}=no(),l=A.useRef(null);return uo(()=>{const i=Bx(r);if(i)return l.current=n(i),()=>{wx(i),l.current=null}},[r,n]),l}const kh=n=>{Rs();const r=h1(n);return A.useMemo(()=>({[nn]:r}),[r])},Tx=()=>{const n=Rs(),{targetDocument:r}=no(),l=A.useCallback((m,g)=>{var h;return m&&((h=n.current)===null||h===void 0?void 0:h.focusable.findAll({container:m,acceptCondition:g}))||[]},[n]),i=A.useCallback(m=>{var g;return m&&((g=n.current)===null||g===void 0?void 0:g.focusable.findFirst({container:m}))},[n]),s=A.useCallback(m=>{var g;return m&&((g=n.current)===null||g===void 0?void 0:g.focusable.findLast({container:m}))},[n]),f=A.useCallback((m,g={})=>{if(!n.current||!r||!m)return null;const{container:h=r.body}=g;return n.current.focusable.findNext({currentElement:m,container:h})},[n,r]),v=A.useCallback((m,g={})=>{if(!n.current||!r||!m)returnLine truncated
`,"Motion factories require a single child element to be passed. ","That element element should support ref forwarding i.e. it should be either an intrinsic element (e.g. div) or a component that uses React.forwardRef()."].join("");function S1(n,r=!0){const l=A.useRef(null);A.useEffect(()=>{},[r]);try{const i=A.Children.only(n);if(A.isValidElement(i))return[A.cloneElement(i,{ref:Im(l,Z2(i))}),l]}catch{}throw new Error(z3)}const _1=A.createContext(void 0);_1.Provider;const w1=()=>{var n;return(n=A.useContext(_1))!==null&&n!==void 0?n:"default"},k3=Symbol("MOTION_DEFINITION");function Kh(n){return Object.assign(l=>{"use no memo";const{children:i,imperativeRef:s,onMotionFinish:f,onMotionStart:v,onMotionCancel:m,...g}=l,h=g,[y,p]=S1(i),x=y1(s),_=w1()==="skip",z=A.useRef({skipMotions:_,params:h}),k=p1(),O=x1(),D=gt(()=>{v==null||v(null)}),U=gt(()=>{f==null||f(null)}),R=gt(()=>{m==null||m(null)});return uo(()=>{z.current={skipMotions:_,params:h}}),uo(()=>{const V=p.current;if(V){const X=typeof n=="function"?n({element:V,...z.current.params}):n;D();const Y=k(V,X,{isReducedMotion:O()});return x.current=Y,Y.setMotionEndCallbacks(U,R),z.current.skipMotions&&Y.finish(),()=>{Y.cancel()}}},[k,p,x,O,U,D,R]),y},{[k3]:typeof n=="function"?n:()=>n})}const z1=A.createContext(void 0);z1.Provider;function B3(n=!1,r=!1){const l=A.useRef(r?n:!0),i=H2(),s=A.useCallback(f=>{l.current!==f&&(l.current=f,i())},[i]);return A.useEffect(()=>{n&&(l.current=n)}),[n||l.current,s]}const k1=Symbol("PRESENCE_MOTION_DEFINITION"),T3=Symbol.for("interruptablePresence");function qs(n){return Object.assign(r=>{"use no memo";const i={...A.useContext(z1),...r},s=w1()==="skip",{appear:f,children:v,imperativeRef:m,onExit:g,onMotionFinish:h,onMotionStart:y,onMotionCancel:p,visible:x,unmountOnExit:_,...z}=i,k=z,[O,D]=B3(x,_),[U,R]=S1(v,O),V=y1(m),X=A.useRef({appear:f,params:k,skipMotions:s}),Y=p1(),G=O2(),le=x1(),Xe=gt(W=>{y==null||y(null,{direction:W})}),Ue=gt(W=>{h==null||h(null,{direction:W}),W==="exit"&&_&&(D(!1),g==null||g())}),et=gt(W=>{p==null||p(null,{direction:W})});return uo(()=>{X.current={appear:f,params:k,skipMotions:s}}),uo(()=>{const W=R.current;if(!W)return;let pe;function at(){pe&&(M&&pe.isRunning()||(pe.cancel(),V.current=void 0))}const vt=typeof n=="function"?n({element:W,...X.current.params}):n,M=vt[T3];if(M&&(pe=V.current,pe&&pe.isRunning()))return pe.reverse(),at;const Q=x?vt.enter:vt.exit,oe=x?"enter":"exit",Se=!X.current.appear&&G,Be=X.current.skipMotions;return Se||Xe(oe),pe=Y(W,Q,{isReducedMotion:le()}),Se?(pe.finish(),at):(V.current=pe,pe.setMotionEndCallbacks(()=>Ue(oe),()=>et(oe)),Be&&pe.finish(),at)},[Y,R,V,le,Ue,Xe,et,x]),A.useEffect(()=>{if(_&&!O){var W;(W=V.current)===null||W===void 0||W.dispose()}},[V,_,O]),O?U:null},{[k1]:typeof n=="function"?n:()=>n},{In:Kh(typeof n=="function"?(...r)=>n(...r).enter:n.enter),Out:Kh(typeof n=="function"?(...r)=>n(...r).exit:n.exit)})}function E3(n,r){return i=>n({...r,...i})}function jr(n,r){const l=n[k1],i=E3(l,r);return qs(i)}const Ms=A.createContext(void 0);function j3(){return A.useContext(Ms)}const B1=A.forwardRef((n,r)=>A.createElement(Ms.Provider,{value:r},n.children));B1.displayName="MotionRefForwarder";const T1=n=>A.createElement(Ms.Provider,{value:void 0},n.children);T1.displayName="MotionRefForwarderReset";function E1(n,r){const{as:l,children:i,...s}=n??{};if(n===null){const v=!r.defaultProps.visible&&r.defaultProps.unmountOnExit,m=(g,h)=>v?null:A.createElement(A.Fragment,null,h.children);return{[si]:m,[wa]:r.elementType}}const f={...r.defaultProps,...s,[wa]:r.elementType};return typeof i=="function"&&(f[si]=i),f}const vi=({direction:n,duration:r,easing:l=nt.curveLinear,delay:i=0,outOpacity:s=0,inOpacity:f=1})=>{const v=[{opacity:s},{opacity:f}];return n==="exit"&&v.reverse(),{keyframes:v,duration:r,easing:l,delay:i,fill:"both"}},A3=({duration:n=nt.durationNormal,easing:r=nt.curveEasyEase,delay:l=0,exitDuration:i=n,exitEasing:s=r,exitDelay:f=l,outOpacity:v=0,inOpacity:m=1})=>({enter:vi({direction:"enter",duration:n,easing:r,delay:l,outOpacity:v,inOpacity:m}),exit:vi({direction:"exit",duration:i,easing:s,delay:f,outOpacity:v,inOpacity:m})}),j1=qs(A3);jr(j1,{duration:nt.durationFast});const C3=jr(j1,{duration:nt.durationGentle}),Wh=({direction:n,duration:r,easing:l=nt.curveLinear,delay:i=0,outScale:s=.9,inScale:f=1})=>{const v=[{scale:s},{scale:f}];return n==="exit"&&v.reverse(),{keyframes:v,duration:r,easing:l,delay:i}},N3=({duration:n=nt.durationGentle,easing:r=nt.curveDecelerateMax,delay:l=0,exitDuration:i=nt.durationNormal,exitEasing:s=nt.curveAccelerateMax,exitDelay:f=l,outScale:v=.9,inScale:m=1,animateOpacity:g=!0})=>{const h=[Wh({direction:"enter",duration:n,easing:r,delay:l,outScale:v,inScale:m})],y=[Wh({direction:"exit",duration:i,easing:s,delay:f,outScale:v,inScale:m})];return g&&(h.push(vi({direction:"enter",duration:n,easing:r,delay:l})),y.push(vi({direction:"exit",duration:i,easing:s,delay:f}))),{enter:h,exit:y}},Os=qs(N3);jr(Os,{duration:nt.durationNormal,exitDu Line truncated
Vamos a planificar el sprint del mes que viene el jueves a las 10:00. Necesito que reviseis los temas pendientes del backlog.
Un saludo`,receivedAt:new Date(Date.now()-1e3*60*30).toISOString(),isRead:!1,folder:"inbox"},{id:"2",from:"[email protected]",fromName:"María García",to:"[email protected]",subject:"RE: Presupuesto proyecto digital 2026",body:`Hola Lago,
Gracias por la información. He revisado el presupuesto y parece correcto. Adjunto la propuesta final.
¿Podemos hablar mañana por teléfono?
Saludos`,receivedAt:new Date(Date.now()-1e3*60*60*2).toISOString(),isRead:!1,folder:"inbox"},{id:"3",from:"[email protected]",fromName:"DevOps Team",to:"[email protected]",subject:"[Alert] Production deployment failed — pipeline #4821",body:`Pipeline #4821 failed at stage: build
Error: npm ERR! code ETARGET
npm ERR! notarget No valid target for react@19.0.1
View logs: https://devops.company.com/pipelines/4821`,receivedAt:new Date(Date.now()-1e3*60*60*5).toISOString(),isRead:!0,folder:"inbox"},{id:"4",from:"[email protected]",fromName:"Lago",to:"[email protected]",subject:"Resumen semanal — Power Platform",body:`Equipo,
Aquí va el resumen de lo hecho esta semana:
• Demo de code apps publicada en el blog
• Connector de Outlook integrado
• Migración del backlog a Dataverse completada
Para la semana que viene:
• Terminar la integración con Teams
• Revisar los permisos de producción
Saludos`,receivedAt:new Date(Date.now()-1e3*60*60*24).toISOString(),isRead:!0,folder:"sent"},{id:"5",from:"[email protected]",fromName:"Tech Weekly",to:"[email protected]",subject:"This Week in AI & Power Platform — Issue #47",body:`Top stories this week:
1. Microsoft announces GPT-5 integration for Copilot Studio
2. Power Apps code apps reach 1,400+ connectors milestone
3. Dataverse 2026 Wave 1 features now generally available
Read more inside...`,receivedAt:new Date(Date.now()-1e3*60*60*48).toISOString(),isRead:!0,folder:"inbox"},{id:"6",from:"[email protected]",fromName:"LinkedIn",to:"[email protected]",subject:"5 people viewed your profile this week",body:`Your profile got noticed!
5 people in Austria viewed your profile in the past week, including recruiters and hiring managers.
View who they are →`,receivedAt:new Date(Date.now()-1e3*60*60*72).toISOString(),isRead:!0,folder:"inbox"},{id:"7",from:"[email protected]",fromName:"Lago",to:"draft",subject:"Borrador: Propuesta reunión trimestral",body:"Borrador de la propuesta para la reunión trimestral con dirección...",receivedAt:new Date(Date.now()-1e3*60*60*6).toISOString(),isRead:!0,folder:"drafts"}];class gw{delay(r){return new Promise(l=>setTimeout(l,r))}async getProfile(){return await this.delay(300),ls}async getMessages(r="inbox"){return await this.delay(600),ti.filter(l=>l.folder===r)}async getMessage(r){return await this.delay(200),ti.find(l=>l.id===r)}async sendMessage(r){await this.delay(800);const l={id:Date.now().toString(),from:ls.email,fromName:ls.displayName,to:r.to||"",subject:r.subject||"(Sin asunto)",body:r.body||"",receivedAt:new Date().toISOString(),isRead:!0,folder:"sent"};return ti.push(l),l}async markAsRead(r){await this.delay(100);const l=ti.find(i=>i.id===r);l&&(l.isRead=!0)}}const is=new gw,Q1=Qy({appShell:{display:"flex",height:"100vh",width:"100vw",overflow:"hidden"},navRail:{width:"64px",backgroundColor:ae.colorNeutralBackground2,display:"flex",flexDirection:"column",alignItems:"center",paddingTop:"12px",paddingBottom:"12px",gap:"8px",borderRight:`1px solid ${ae.colorNeutralStroke2}`,flexShrink:0},navIcon:{width:"40px",height:"40px",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"8px",cursor:"pointer",color:ae.colorNeutralForeground2,transition:"all 150ms ease",border:"none",background:"transparent",fontSize:"0"},navIconActive:{backgroundColor:ae.colorBrandBackground,color:ae.colorNeutralForegroundInverted},toolbar:{display:"flex",alignItems:"center",gap:"8px",padding:"8px 16px",borderBottom:`1px solid ${ae.colorNeutralStroke2}`,backgroundColor:ae.colorNeutralBackground2,flexShrink:0},toolbarSpacer:{flex:1},contentArea:{flex:1,display:"flex",overflow:"hidden"},folderPanel:{width:"220px",borderRight:`1px solid ${ae.colorNeutralStroke2}`,backgroundColor:ae.colorNeutralBackground2,overflowY:"auto",padding:"8px 0",flexShrink:0},folderItem:{display:"flex",alignItems:"center",gap:"10px",padding:"8px 16px",cursor:"pointer",fontSize:"14px",color:ae.colorNeutralForeground2,transition:"all 100ms",border:"none",background:"transparent",width:"100%",textAlign:"left",borderRadius:"0"},folderItemActive:{backgroundColor:ae.colorBrandBackground2,color:ae.colorBrandForeground1,borderRight:`3px solid ${ae.colorBrandForeground1}`},folderBadge:{marginLeft:"auto"},emailListPanel:{width:"340px",borderRight:`1px solid ${ae.colorNeutralStroke2}`,overflowY:"auto",flexShrink:0,backgroundColor:ae.colorNeutralBackground1},emailItem:{padding:"12px 16px",borderBottom:`1px solid ${ae.colorNeutralStroke2}`,cursor:"pointer",transition:"background 100ms",backgroundColor:ae.colorNeutralBackground1},emailItemUnread:{borderLeft:`3px solid ${ae.colorBrandForeground1}`},emailItemSelected:{backgroundColor:ae.colorBrandBackground2},emailFrom:{fontSize:"14px",fontWeight:"600",color:ae.colorNeutralForeground1,display:"flex",alignItems:"center",gap:"6px"},emailSubject:{fontSize:"13px",color:ae.colorNeutralForeground1,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",marginTop:"2px"},emailPreview:{fontSize:"12px",color:ae.colorNeutralForeground3,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",marginTop:"2px"},emailTime:{fontSize:"11px",color:ae.colorNeutralForeground3,marginLeft:"auto",flexShrink:0},detailPanel:{flex:1,overflowY:"auto",padding:"24px 32px",backgroundColor:ae.colorNeutralBackground1},detailHeader:{display:"flex",gap:"14px",alignItems:"flex-start",marginBottom:"20px"},detailMeta:{flex:1},detailSubject:{fontSize:"18px",fontWeight:"700",color:ae.colorNeutralForeground1,marginTop:"4px"},detailBody:{fontSize:"14px",lineHeight:"1.7",color:ae.colorNeutralForeground1,whiteSpace:"pre-wrap",marginTop:"16px"},detailActions:{display:"flex",gap:"8px",marginTop:"24px"},emptyState:{flex:1,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"12px",color:ae.colorNeutralForeground3,backgroundColor:ae.colorNeutralBackground1},composeField:{display:"flex",flexDirection:"column",gap:"4px",padding:"8px 0"},composeFooter:{display:"flex",gap:"8px",paddingTop:"16px"},connectionsPanel:{flex:1,overflowY:"auto",padding:"32px",backgroundColor:ae.colorNeutralBackground1},connCard:{backgroundColor:ae.colorNeutralBackground2,border:`1px solid ${ae.colorNeutralStroke2}`,borderRadius:"8px",padding:"16px",transition:"all 150ms"},connCode:{background:"#1a1a2e",borderRadius:"6px",padding:"16px 20px",fontFamily:"monospace",fontSize:"13px",color:"#a0a0b0",lineHeight:1.8}}),cm=[{id:"inbox",name:"Bandeja de entrada",icon:"📥",unreadCount:4},{id:"sent",name:"Enviados",icon:"📤",unreadCount:0},{id:"drafts",name:"Borradores",icon:"📝",unreadCount:1},{id:"trash",name:"Papelera",icon:"🗑️",unreadCount:0}];function bw(n){const r=new Date(n),i=new Date().getTime()-r.getTime(),s=Math.fl Line truncated
+1
View File
@@ -0,0 +1 @@
*{box-sizing:border-box;margin:0;padding:0}:root{--bg-primary: #1a1a2e;--bg-secondary: #16213e;--bg-surface: #0f3460;--accent: #e94560;--accent-hover: #ff6b6b;--text-primary: #eaeaea;--text-secondary: #a0a0b0;--border: #2a2a4a;--selected: #1e3a5f}body{font-family:Segoe UI,system-ui,sans-serif;background:var(--bg-primary);color:var(--text-primary);height:100vh;overflow:hidden}.app{display:flex;height:100vh}.sidebar{width:60px;background:var(--bg-secondary);border-right:1px solid var(--border);display:flex;flex-direction:column;align-items:center;padding:12px 0;gap:8px}.sidebar-icon{width:40px;height:40px;border-radius:8px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s;font-size:18px}.sidebar-icon:hover{background:var(--bg-surface)}.sidebar-icon.active{background:var(--accent)}.main-area{flex:1;display:flex;flex-direction:column;overflow:hidden}.toolbar{display:flex;align-items:center;gap:12px;padding:8px 16px;background:var(--bg-secondary);border-bottom:1px solid var(--border)}.toolbar-btn{padding:6px 12px;background:var(--bg-surface);border:1px solid var(--border);border-radius:4px;color:var(--text-primary);cursor:pointer;font-size:13px;transition:all .2s}.toolbar-btn:hover{background:var(--selected);border-color:var(--accent)}.toolbar-btn.primary{background:var(--accent);border-color:var(--accent)}.toolbar-btn.primary:hover{background:var(--accent-hover)}.search-box{flex:1;display:flex;align-items:center;background:var(--bg-primary);border:1px solid var(--border);border-radius:6px;padding:6px 12px;gap:8px}.search-box input{flex:1;background:transparent;border:none;outline:none;color:var(--text-primary);font-size:13px}.search-box input::placeholder{color:var(--text-secondary)}.content{flex:1;display:flex;overflow:hidden}.folder-list{width:180px;background:var(--bg-secondary);border-right:1px solid var(--border);overflow-y:auto;padding:8px 0}.folder-item{display:flex;align-items:center;gap:8px;padding:8px 16px;cursor:pointer;font-size:13px;color:var(--text-secondary);transition:all .15s}.folder-item:hover{background:var(--bg-surface);color:var(--text-primary)}.folder-item.active{background:var(--selected);color:var(--text-primary);border-right:2px solid var(--accent)}.folder-item .folder-icon{font-size:16px}.folder-item .unread{margin-left:auto;background:var(--accent);color:#fff;font-size:11px;padding:1px 6px;border-radius:10px}.email-list{width:320px;border-right:1px solid var(--border);overflow-y:auto}.email-item{display:flex;flex-direction:column;gap:4px;padding:12px 16px;border-bottom:1px solid var(--border);cursor:pointer;transition:background .15s}.email-item:hover{background:var(--bg-surface)}.email-item.selected{background:var(--selected)}.email-item.unread{border-left:3px solid var(--accent)}.email-from{font-size:13px;font-weight:600;color:var(--text-primary)}.email-item.unread .email-from{color:var(--accent)}.email-subject{font-size:13px;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.email-preview{font-size:12px;color:var(--text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.email-time{font-size:11px;color:var(--text-secondary);margin-left:auto}.email-detail{flex:1;display:flex;flex-direction:column;overflow-y:auto;padding:20px 24px;gap:16px}.email-detail-header{display:flex;align-items:flex-start;gap:12px}.email-avatar{width:40px;height:40px;border-radius:50%;background:var(--accent);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:16px;flex-shrink:0}.email-meta{flex:1;min-width:0}.email-meta-from{font-size:14px;font-weight:600;color:var(--text-primary)}.email-meta-subject{font-size:16px;font-weight:600;color:var(--text-primary);margin-top:4px}.email-meta-time{font-size:12px;color:var(--text-secondary);margin-top:2px}.email-body{font-size:14px;line-height:1.7;color:var(--text-primary);white-space:pre-wrap}.email-actions{display:flex;gap:8px;border-top:1px solid var(--border);padding-top:16px}.empty-state{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:var(--text-secondary)}.empty-state-icon{font-size:48px;opacity:.3}.empty-state-text{font-size:14px}.compose-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:100}.compose{width:600px;background:var(--bg-secondary);border-radius:8px;border:1px solid var(--border);display:flex;flex-direction:column;max-height:80vh}.compose-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid var(--border);font-size:14px;font-weight:600}.compose-close{background:none;border:none;color:var(--text-secondary);cursor:pointer;font-size:18px}.compose-close:hover{color:var(--text-primary)}.compose-field{display:flex;align-items:center;border-bottom:1px solid var(--border);padding:8px 16px;gap:8px}.compose-field-label{font-size:13px;color:var(-Line truncated
+13
View File
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Outlook Lite — Power Apps Code Apps Part 2</title>
<script type="module" crossorigin src="/assets/index-Cyu5-a_6.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-DjuLdqDL.css">
</head>
<body>
<div id="root"></div>
</body>
</html>