var e,t,r=Object.defineProperty,o=(e,t,o)=>(((e,t,o)=>{t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o})(e,"symbol"!=typeof t?t+"":t,o),o);import{X as a}from"./index.3938ccd1.js";import{R as n,j as i}from"./react.49d70ecd.js";import{r as s,a as l,b as c,s as d,d as u,R as f}from"./client.58f92968.js";import{b as p,m as h,R as g,t as v,d as m,D as b,h as x,e as y,f as w,i as k,r as B,W as S,M as _,g as N,s as z,j,L as T,S as C,k as D,a as P,c as E}from"./Serializer.f6a5f515.js";import{a as A}from"./axios.65f6a2c9.js";import{d as F}from"./T3Data.cbe80363.js";function R(e){var t=p(e);return function(r,o,a,n){for(var i="",s=0;s<t;s++)i+=e[s](r,o,a,n)||"";return i}}function I(e){return function(t){t.root||(t=t.return)&&e(t)}}
/**
 * @remix-run/router v1.23.0
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */function M(){return M=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},M.apply(this,arguments)}(t=e||(e={})).Pop="POP",t.Push="PUSH",t.Replace="REPLACE";function L(t){return void 0===t&&(t={}),function(t,r,o,a){void 0===a&&(a={});let{window:n=document.defaultView,v5Compat:i=!1}=a,s=n.history,l=e.Pop,c=null,d=u();null==d&&(d=0,s.replaceState(M({},s.state,{idx:d}),""));function u(){return(s.state||{idx:null}).idx}function f(){l=e.Pop;let t=u(),r=null==t?null:t-d;d=t,c&&c({action:l,location:v.location,delta:r})}function p(t,r){l=e.Push;let a=V(v.location,t,r);o&&o(a,t),d=u()+1;let f=H(a,d),p=v.createHref(a);try{s.pushState(f,"",p)}catch(h){if(h instanceof DOMException&&"DataCloneError"===h.name)throw h;n.location.assign(p)}i&&c&&c({action:l,location:v.location,delta:1})}function h(t,r){l=e.Replace;let a=V(v.location,t,r);o&&o(a,t),d=u();let n=H(a,d),f=v.createHref(a);s.replaceState(n,"",f),i&&c&&c({action:l,location:v.location,delta:0})}function g(e){let t="null"!==n.location.origin?n.location.origin:n.location.href,r="string"==typeof e?e:Z(e);return r=r.replace(/ $/,"%20"),O(t,"No window.location.(origin|href) available to create URL for href: "+r),new URL(r,t)}let v={get action(){return l},get location(){return t(n,s)},listen(e){if(c)throw new Error("A history only accepts one active listener");return n.addEventListener("popstate",f),c=e,()=>{n.removeEventListener("popstate",f),c=null}},createHref:e=>r(n,e),createURL:g,encodeLocation(e){let t=g(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:p,replace:h,go:e=>s.go(e)};return v}((function(e,t){let{pathname:r="/",search:o="",hash:a=""}=$(e.location.hash.substr(1));return r.startsWith("/")||r.startsWith(".")||(r="/"+r),V("",{pathname:r,search:o,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){let r=e.document.querySelector("base"),o="";if(r&&r.getAttribute("href")){let t=e.location.href,r=t.indexOf("#");o=-1===r?t:t.slice(0,r)}return o+"#"+("string"==typeof t?t:Z(t))}),(function(e,t){q("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),t)}function O(e,t){if(!1===e||null==e)throw new Error(t)}function q(e,t){if(!e)try{throw new Error(t)}catch(r){}}function H(e,t){return{usr:e.state,key:e.key,idx:t}}function V(e,t,r,o){return void 0===r&&(r=null),M({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?$(t):t,{state:r,key:t&&t.key||o||Math.random().toString(36).substr(2,8)})}function Z(e){let{pathname:t="/",search:r="",hash:o=""}=e;return r&&"?"!==r&&(t+="?"===r.charAt(0)?r:"?"+r),o&&"#"!==o&&(t+="#"===o.charAt(0)?o:"#"+o),t}function $(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let o=e.indexOf("?");o>=0&&(t.search=e.substr(o),e=e.substr(0,o)),e&&(t.pathname=e)}return t}var W,U;function G(e,t,r){return void 0===r&&(r="/"),function(e,t,r,o){let a=oe(("string"==typeof t?$(t):t).pathname||"/",r);if(null==a)return null;let n=X(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){return e.length===t.length&&e.slice(0,-1).every(((e,r)=>e===t[r]))?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(n);let i=null;for(let s=0;null==i&&s<n.length;++s){let e=re(a);i=ee(n[s],e,o)}return i}(e,t,r,!1)}function X(e,t,r,o){void 0===t&&(t=[]),void 0===r&&(r=[]),void 0===o&&(o="");let a=(e,a,n)=>{let i={relativePath:void 0===n?e.path||"":n,caseSensitive:!0===e.caseSensitive,childrenIndex:a,route:e};i.relativePath.startsWith("/")&&(O(i.relativePath.startsWith(o),'Absolute route path "'+i.relativePath+'" nested under path "'+o+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),i.relativePath=i.relativePath.slice(o.length));let s=se([o,i.relativePath]),l=r.concat(i);e.children&&e.children.length>0&&(O(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+s+'".'),X(e.children,t,l,s)),(null!=e.path||e.index)&&t.push({path:s,score:Q(s,e.index),routesMeta:l})};return e.forEach(((e,t)=>{var r;if(""!==e.path&&null!=(r=e.path)&&r.includes("?"))for(let o of K(e.path))a(e,t,o);else a(e,t)})),t}function K(e){let t=e.split("/");if(0===t.length)return[];let[r,...o]=t,a=r.endsWith("?"),n=r.replace(/\?$/,"");if(0===o.length)return a?[n,""]:[n];let i=K(o.join("/")),s=[];return s.push(...i.map((e=>""===e?n:[n,e].join("/")))),a&&s.push(...i),s.map((t=>e.startsWith("/")&&""===t?"/":t))}(U=W||(W={})).data="data",U.deferred="deferred",U.redirect="redirect",U.error="error";const J=/^:[\w-]+$/,Y=e=>"*"===e;function Q(e,t){let r=e.split("/"),o=r.length;return r.some(Y)&&(o+=-2),t&&(o+=2),r.filter((e=>!Y(e))).reduce(((e,t)=>e+(J.test(t)?3:""===t?1:10)),o)}function ee(e,t,r){void 0===r&&(r=!1);let{routesMeta:o}=e,a={},n="/",i=[];for(let s=0;s<o.length;++s){let e=o[s],l=s===o.length-1,c="/"===n?t:t.slice(n.length)||"/",d=te({path:e.relativePath,caseSensitive:e.caseSensitive,end:l},c),u=e.route;if(!d&&l&&r&&!o[o.length-1].route.index&&(d=te({path:e.relativePath,caseSensitive:e.caseSensitive,end:!1},c)),!d)return null;Object.assign(a,d.params),i.push({params:a,pathname:se([n,d.pathname]),pathnameBase:le(se([n,d.pathnameBase])),route:u}),"/"!==d.pathnameBase&&(n=se([n,d.pathnameBase]))}return i}function te(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[r,o]=function(e,t,r){void 0===t&&(t=!1);void 0===r&&(r=!0);q("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let o=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,((e,t,r)=>(o.push({paramName:t,isOptional:null!=r}),r?"/?([^\\/]+)?":"/([^\\/]+)")));e.endsWith("*")?(o.push({paramName:"*"}),a+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?a+="\\/*$":""!==e&&"/"!==e&&(a+="(?:(?=\\/|$))");return[new RegExp(a,t?void 0:"i"),o]}(e.path,e.caseSensitive,e.end),a=t.match(r);if(!a)return null;let n=a[0],i=n.replace(/(.)\/+$/,"$1"),s=a.slice(1);return{params:o.reduce(((e,t,r)=>{let{paramName:o,isOptional:a}=t;if("*"===o){let e=s[r]||"";i=n.slice(0,n.length-e.length).replace(/(.)\/+$/,"$1")}const l=s[r];return e[o]=a&&!l?void 0:(l||"").replace(/%2F/g,"/"),e}),{}),pathname:n,pathnameBase:i,pattern:e}}function re(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(t){return q(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function oe(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,o=e.charAt(r);return o&&"/"!==o?null:e.slice(r)||"/"}function ae(e,t,r,o){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(o)+"].  Please separate it out to the `to."+r+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function ne(e,t){let r=function(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}(e);return t?r.map(((e,t)=>t===r.length-1?e.pathname:e.pathnameBase)):r.map((e=>e.pathnameBase))}function ie(e,t,r,o){let a;void 0===o&&(o=!1),"string"==typeof e?a=$(e):(a=M({},e),O(!a.pathname||!a.pathname.includes("?"),ae("?","pathname","search",a)),O(!a.pathname||!a.pathname.includes("#"),ae("#","pathname","hash",a)),O(!a.search||!a.search.includes("#"),ae("#","search","hash",a)));let n,i=""===e||""===a.pathname,s=i?"/":a.pathname;if(null==s)n=r;else{let e=t.length-1;if(!o&&s.startsWith("..")){let t=s.split("/");for(;".."===t[0];)t.shift(),e-=1;a.pathname=t.join("/")}n=e>=0?t[e]:"/"}let l=function(e,t){void 0===t&&(t="/");let{pathname:r,search:o="",hash:a=""}="string"==typeof e?$(e):e,n=r?r.startsWith("/")?r:function(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?r.length>1&&r.pop():"."!==e&&r.push(e)})),r.length>1?r.join("/"):"/"}(r,t):t;return{pathname:n,search:ce(o),hash:de(a)}}(a,n),c=s&&"/"!==s&&s.endsWith("/"),d=(i||"."===s)&&r.endsWith("/");return l.pathname.endsWith("/")||!c&&!d||(l.pathname+="/"),l}const se=e=>e.join("/").replace(/\/\/+/g,"/"),le=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),ce=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",de=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";
/**
 * React Router v6.30.1
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */
function ue(){return ue=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},ue.apply(this,arguments)}const fe=s.exports.createContext(null),pe=s.exports.createContext(null),he=s.exports.createContext(null),ge=s.exports.createContext(null),ve=s.exports.createContext({outlet:null,matches:[],isDataRoute:!1}),me=s.exports.createContext(null);function be(){return null!=s.exports.useContext(ge)}function xe(){return be()||O(!1),s.exports.useContext(ge).location}function ye(e){s.exports.useContext(he).static||s.exports.useLayoutEffect(e)}function we(){let{isDataRoute:e}=s.exports.useContext(ve);return e?function(){let{router:e}=function(e){let t=s.exports.useContext(fe);return t||O(!1),t}(Te.UseNavigateStable),t=De(Ce.UseNavigateStable),r=s.exports.useRef(!1);return ye((()=>{r.current=!0})),s.exports.useCallback((function(o,a){void 0===a&&(a={}),r.current&&("number"==typeof o?e.navigate(o):e.navigate(o,ue({fromRouteId:t},a)))}),[e,t])}():function(){be()||O(!1);let e=s.exports.useContext(fe),{basename:t,future:r,navigator:o}=s.exports.useContext(he),{matches:a}=s.exports.useContext(ve),{pathname:n}=xe(),i=JSON.stringify(ne(a,r.v7_relativeSplatPath)),l=s.exports.useRef(!1);return ye((()=>{l.current=!0})),s.exports.useCallback((function(r,a){if(void 0===a&&(a={}),!l.current)return;if("number"==typeof r)return void o.go(r);let s=ie(r,JSON.parse(i),n,"path"===a.relative);null==e&&"/"!==t&&(s.pathname="/"===s.pathname?t:se([t,s.pathname])),(a.replace?o.replace:o.push)(s,a.state,a)}),[t,o,i,n,e])}()}const ke=s.exports.createContext(null);function Be(){let{matches:e}=s.exports.useContext(ve),t=e[e.length-1];return t?t.params:{}}function Se(t,r){return function(t,r,o,a){be()||O(!1);let{navigator:n}=s.exports.useContext(he),{matches:i}=s.exports.useContext(ve),l=i[i.length-1],c=l?l.params:{};!l||l.pathname;let d=l?l.pathnameBase:"/";l&&l.route;let u,f=xe();if(r){var p;let e="string"==typeof r?$(r):r;"/"===d||(null==(p=e.pathname)?void 0:p.startsWith(d))||O(!1),u=e}else u=f;let h=u.pathname||"/",g=h;if("/"!==d){let e=d.replace(/^\//,"").split("/");g="/"+h.replace(/^\//,"").split("/").slice(e.length).join("/")}let v=G(t,{pathname:g}),m=function(e,t,r,o){var a;void 0===t&&(t=[]);void 0===r&&(r=null);void 0===o&&(o=null);if(null==e){var n;if(!r)return null;if(r.errors)e=r.matches;else{if(!(null!=(n=o)&&n.v7_partialHydration&&0===t.length&&!r.initialized&&r.matches.length>0))return null;e=r.matches}}let i=e,l=null==(a=r)?void 0:a.errors;if(null!=l){let e=i.findIndex((e=>e.route.id&&void 0!==(null==l?void 0:l[e.route.id])));e>=0||O(!1),i=i.slice(0,Math.min(i.length,e+1))}let c=!1,d=-1;if(r&&o&&o.v7_partialHydration)for(let s=0;s<i.length;s++){let e=i[s];if((e.route.HydrateFallback||e.route.hydrateFallbackElement)&&(d=s),e.route.id){let{loaderData:t,errors:o}=r,a=e.route.loader&&void 0===t[e.route.id]&&(!o||void 0===o[e.route.id]);if(e.route.lazy||a){c=!0,i=d>=0?i.slice(0,d+1):[i[0]];break}}}return i.reduceRight(((e,o,a)=>{let n,u=!1,f=null,p=null;var h;r&&(n=l&&o.route.id?l[o.route.id]:void 0,f=o.route.errorElement||Ne,c&&(d<0&&0===a?(h="route-fallback",!1||Pe[h]||(Pe[h]=!0),u=!0,p=null):d===a&&(u=!0,p=o.route.hydrateFallbackElement||null)));let g=t.concat(i.slice(0,a+1)),v=()=>{let t;return t=n?f:u?p:o.route.Component?s.exports.createElement(o.route.Component,null):o.route.element?o.route.element:e,s.exports.createElement(je,{match:o,routeContext:{outlet:e,matches:g,isDataRoute:null!=r},children:t})};return r&&(o.route.ErrorBoundary||o.route.errorElement||0===a)?s.exports.createElement(ze,{location:r.location,revalidation:r.revalidation,component:f,error:n,children:v(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):v()}),null)}(v&&v.map((e=>Object.assign({},e,{params:Object.assign({},c,e.params),pathname:se([d,n.encodeLocation?n.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?d:se([d,n.encodeLocation?n.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),i,o,a);if(r&&m)return s.exports.createElement(ge.Provider,{value:{location:ue({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:e.Pop}},m);return m}(t,r)}function _e(){let e=function(){var e;let t=s.exports.useContext(me),r=function(e){let t=s.exports.useContext(pe);return t||O(!1),t}(Ce.UseRouteError),o=De(Ce.UseRouteError);if(void 0!==t)return t;return null==(e=r.errors)?void 0:e[o]}(),t=function(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return s.exports.createElement(s.exports.Fragment,null,s.exports.createElement("h2",null,"Unexpected Application Error!"),s.exports.createElement("h3",{style:{fontStyle:"italic"}},t),r?s.exports.createElement("pre",{style:o},r):null,null)}const Ne=s.exports.createElement(_e,null);class ze extends s.exports.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){}render(){return void 0!==this.state.error?s.exports.createElement(ve.Provider,{value:this.props.routeContext},s.exports.createElement(me.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function je(e){let{routeContext:t,match:r,children:o}=e,a=s.exports.useContext(fe);return a&&a.static&&a.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=r.route.id),s.exports.createElement(ve.Provider,{value:t},o)}var Te=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Te||{}),Ce=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Ce||{});function De(e){let t=function(e){let t=s.exports.useContext(ve);return t||O(!1),t}(),r=t.matches[t.matches.length-1];return r.route.id||O(!1),r.route.id}const Pe={};function Ee(e){let{to:t,replace:r,state:o,relative:a}=e;be()||O(!1);let{future:n,static:i}=s.exports.useContext(he),{matches:l}=s.exports.useContext(ve),{pathname:c}=xe(),d=we(),u=ie(t,ne(l,n.v7_relativeSplatPath),c,"path"===a),f=JSON.stringify(u);return s.exports.useEffect((()=>d(JSON.parse(f),{replace:r,state:o,relative:a})),[d,f,a,r,o]),null}function Ae(e){return function(e){let t=s.exports.useContext(ve).outlet;return t?s.exports.createElement(ke.Provider,{value:e},t):t}(e.context)}function Fe(e){O(!1)}function Re(t){let{basename:r="/",children:o=null,location:a,navigationType:n=e.Pop,navigator:i,static:l=!1,future:c}=t;be()&&O(!1);let d=r.replace(/^\/*/,"/"),u=s.exports.useMemo((()=>({basename:d,navigator:i,static:l,future:ue({v7_relativeSplatPath:!1},c)})),[d,c,i,l]);"string"==typeof a&&(a=$(a));let{pathname:f="/",search:p="",hash:h="",state:g=null,key:v="default"}=a,m=s.exports.useMemo((()=>{let e=oe(f,d);return null==e?null:{location:{pathname:e,search:p,hash:h,state:g,key:v},navigationType:n}}),[d,f,p,h,g,v,n]);return null==m?null:s.exports.createElement(he.Provider,{value:u},s.exports.createElement(ge.Provider,{children:o,value:m}))}function Ie(e){let{children:t,location:r}=e;return Se(Me(t),r)}function Me(e,t){void 0===t&&(t=[]);let r=[];return s.exports.Children.forEach(e,((e,o)=>{if(!s.exports.isValidElement(e))return;let a=[...t,o];if(e.type===s.exports.Fragment)return void r.push.apply(r,Me(e.props.children,a));e.type!==Fe&&O(!1),e.props.index&&e.props.children&&O(!1);let n={id:e.props.id||a.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(n.children=Me(e.props.children,a)),r.push(n)})),r}
/**
 * React Router DOM v6.30.1
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */l.startTransition,new Promise((()=>{}));try{window.__reactRouterVersion="6"}catch($P){}const Le=l.startTransition;c.flushSync;function Oe(e){let{basename:t,children:r,future:o,window:a}=e,n=s.exports.useRef();null==n.current&&(n.current=L({window:a,v5Compat:!0}));let i=n.current,[l,c]=s.exports.useState({action:i.action,location:i.location}),{v7_startTransition:d}=o||{},u=s.exports.useCallback((e=>{d&&Le?Le((()=>c(e))):c(e)}),[c,d]);return s.exports.useLayoutEffect((()=>i.listen(u)),[i,u]),s.exports.useEffect((()=>{return null==(e=o)||e.v7_startTransition,void 0===(null==e?void 0:e.v7_relativeSplatPath)&&(!t||t.v7_relativeSplatPath),void(t&&(t.v7_fetcherPersist,t.v7_normalizeFormMethod,t.v7_partialHydration,t.v7_skipActionErrorRevalidation));var e,t}),[o]),s.exports.createElement(Re,{basename:t,children:r,location:l.location,navigationType:l.action,navigator:i,future:o})}var qe,He,Ve,Ze;l.useId,(He=qe||(qe={})).UseScrollRestoration="useScrollRestoration",He.UseSubmit="useSubmit",He.UseSubmitFetcher="useSubmitFetcher",He.UseFetcher="useFetcher",He.useViewTransitionState="useViewTransitionState",(Ze=Ve||(Ve={})).UseFetcher="useFetcher",Ze.UseFetchers="useFetchers",Ze.UseScrollRestoration="useScrollRestoration";const $e="undefined"==typeof window?global:window;function We(e,t){return $e[Symbol.for("@griffel/"+e)]||($e[Symbol.for("@griffel/"+e)]=t),$e[Symbol.for("@griffel/"+e)]}const Ue=We("DEFINITION_LOOKUP_TABLE",{}),Ge="data-make-styles-bucket",Xe="___".length+7,Ke={all:1,borderColor:1,borderStyle:1,borderWidth:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1},Je="DO_NOT_USE_DIRECTLY: @griffel/reset-value";function Ye(e,t,r=[]){return"___"+function(e){const t=e.length;if(7===t)return e;for(let r=t;r<7;r++)e+="0";return e}(h(e+t))}function Qe(e,t){let r="",o="";for(const a in e){const n=e[a];if(0===n){o+=a+" ";continue}const i=Array.isArray(n),s="rtl"===t?(i?n[1]:n)+" ":(i?n[0]:n)+" ";r+=s,o+=s}return[r.slice(0,-1),o.slice(0,-1)]}function et(e,t){const r={};for(const o in e){const[a,n]=Qe(e[o],t);if(""===n){r[o]="";continue}const i=Ye(n,t),s=i+(""===a?"":" "+a);Ue[i]=[e[o],t],r[o]=s}return r}const tt={};function rt(){let e=null,t="",r="";const o=new Array(arguments.length);for(let u=0;u<arguments.length;u++){const e=arguments[u];if("string"==typeof e&&""!==e){const a=e.indexOf("___");if(-1===a)t+=e+" ";else{const n=e.substr(a,Xe);a>0&&(t+=e.slice(0,a)),r+=n,o[u]=n}}}if(""===r)return t.slice(0,-1);const a=tt[r];if(void 0!==a)return t+a;const n=[];for(let u=0;u<arguments.length;u++){const t=o[u];if(t){const r=Ue[t];r&&(n.push(r[0]),e=r[1])}}const i=Object.assign.apply(Object,[{}].concat(n)),[s,l]=Qe(i,e),c=Ye(l,e,o),d=c+" "+s;return tt[r]=d,Ue[c]=[i,e],t+d}const ot=["r","d","l","v","w","f","i","h","a","s","k","t","m","c"].reduce(((e,t,r)=>(e[t]=r,e)),{});function at(e,t,r,o,a={}){var n,i;const s="m"===e,l=null!==(n=a.m)&&void 0!==n?n:"0",c=null!==(i=a.p)&&void 0!==i?i:0,d=function(e,t,r){return("m"===e?e+t:e)+r}(e,l,c);if(!o.stylesheets[d]){const n=t&&t.createElement("style"),i=function(e,t,r,o){const a=[];if(o[Ge]=t,o["data-priority"]=String(r),e)for(const n in o)e.setAttribute(n,o[n]);return{elementAttributes:o,insertRule:function(t){return(null==e?void 0:e.sheet)?e.sheet.insertRule(t,e.sheet.cssRules.length):a.push(t)},element:e,bucketName:t,cssRules:()=>(null==e?void 0:e.sheet)?Array.from(e.sheet.cssRules).map((e=>e.cssText)):a}}(n,e,c,Object.assign({},o.styleElementAttributes,s&&{media:l}));o.stylesheets[d]=i,(null==t?void 0:t.head)&&n&&t.head.insertBefore(n,function(e,t,r,o,a={}){var n,i;const s=ot[r],l=null!==(n=a.m)&&void 0!==n?n:"",c=null!==(i=a.p)&&void 0!==i?i:0;let d=e=>s-ot[e.getAttribute(Ge)],u=e.head.querySelectorAll(`[${Ge}]`);if("m"===r){const t=e.head.querySelectorAll(`[${Ge}="${r}"]`);t.length&&(u=t,d=e=>o.compareMediaQueries(l,e.media))}const f=e=>function(e,t,r){var o,a;const n=t+(null!==(o=r.m)&&void 0!==o?o:""),i=e.getAttribute(Ge)+(null!==(a=e.media)&&void 0!==a?a:"");return n===i}(e,r,a)?c-Number(e.getAttribute("data-priority")):d(e),p=u.length;let h=p-1;for(;h>=0;){const e=u.item(h);if(f(e)>0)return e.nextSibling;h--}if(p>0)return u.item(0);return t?t.nextSibling:null}(t,r,e,o,a))}return o.stylesheets[d]}function nt(e,t){try{e.insertRule(t)}catch($P){}}let it=0;const st=(e,t)=>e<t?-1:e>t?1:0;function lt(e=("undefined"==typeof document?void 0:document),t={}){const{classNameHashSalt:r,unstable_filterCSSRule:o,insertionPoint:a,styleElementAttributes:n,compareMediaQueries:i=st}=t,s={classNameHashSalt:r,insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(n),compareMediaQueries:i,id:"d"+it++,insertCSSRules(t){for(const n in t){const i=t[n];for(let t=0,l=i.length;t<l;t++){const[l,c]=(r=i[t],Array.isArray(r)?r:[r]),d=at(n,e,a||null,s,c);s.insertionCache[l]||(s.insertionCache[l]=n,o?o(l)&&nt(d,l):nt(d,l))}}var r}};return s}const ct=()=>{const e={};return function(t,r){void 0===e[t.id]&&(t.insertCSSRules(r),e[t.id]=!0)}};function dt(e){return e.reduce((function(e,t){var r=t[0],o=t[1];return e[r]=o,e[o]=r,e}),{})}function ut(e){return"number"==typeof e}function ft(e,t){return-1!==e.indexOf(t)}function pt(e,t,r,o){return t+(a=r,0===parseFloat(a)?a:"-"===a[0]?a.slice(1):"-"+a)+o;var a}function ht(e){return e.replace(/ +/g," ").split(" ").map((function(e){return e.trim()})).filter(Boolean).reduce((function(e,t){var r=e.list,o=e.state,a=(t.match(/\(/g)||[]).length,n=(t.match(/\)/g)||[]).length;return o.parensDepth>0?r[r.length-1]=r[r.length-1]+" "+t:r.push(t),o.parensDepth+=a-n,{list:r,state:o}}),{list:[],state:{parensDepth:0}}).list}function gt(e){var t=ht(e);if(t.length<=3||t.length>4)return e;var r=t[0],o=t[1],a=t[2];return[r,t[3],a,o].join(" ")}var vt={padding:function(e){var t=e.value;return ut(t)?t:gt(t)},textShadow:function(e){var t=function(e){for(var t=[],r=0,o=0,a=!1;o<e.length;)a||","!==e[o]?"("===e[o]?(a=!0,o++):")"===e[o]?(a=!1,o++):o++:(t.push(e.substring(r,o).trim()),r=++o);return r!=o&&t.push(e.substring(r,o+1)),t}(e.value).map((function(e){return e.replace(/(^|\s)(-*)([.|\d]+)/,(function(e,t,r,o){return"0"===o?e:""+t+(""===r?"-":"")+o}))}));return t.join(",")},borderColor:function(e){return gt(e.value)},borderRadius:function(e){var t=e.value;if(ut(t))return t;if(ft(t,"/")){var r=t.split("/"),o=r[0],a=r[1];return vt.borderRadius({value:o.trim()})+" / "+vt.borderRadius({value:a.trim()})}var n=ht(t);switch(n.length){case 2:return n.reverse().join(" ");case 4:var i=n[0],s=n[1],l=n[2];return[s,i,n[3],l].join(" ");default:return t}},background:function(e){var t=e.value,r=e.valuesToConvert,o=e.isRtl,a=e.bgImgDirectionRegex,n=e.bgPosDirectionRegex;if(ut(t))return t;var i=t.replace(/(url\(.*?\))|(rgba?\(.*?\))|(hsl\(.*?\))|(#[a-fA-F0-9]+)|((^| )(\D)+( |$))/g,"").trim();return t=t.replace(i,vt.backgroundPosition({value:i,valuesToConvert:r,isRtl:o,bgPosDirectionRegex:n})),vt.backgroundImage({value:t,valuesToConvert:r,bgImgDirectionRegex:a})},backgroundImage:function(e){var t=e.value,r=e.valuesToConvert,o=e.bgImgDirectionRegex;return ft(t,"url(")||ft(t,"linear-gradient(")?t.replace(o,(function(e,t,o){return e.replace(o,r[o])})):t},backgroundPosition:function(e){var t=e.value,r=e.valuesToConvert,o=e.isRtl,a=e.bgPosDirectionRegex;return t.replace(o?/^((-|\d|\.)+%)/:null,(function(e,t){return function(e){var t=e.indexOf(".");if(-1===t)e=100-parseFloat(e)+"%";else{var r=e.length-t-2;e=(e=100-parseFloat(e)).toFixed(r)+"%"}return e}(t)})).replace(a,(function(e){return r[e]}))},backgroundPositionX:function(e){var t=e.value,r=e.valuesToConvert,o=e.isRtl,a=e.bgPosDirectionRegex;return ut(t)?t:vt.backgroundPosition({value:t,valuesToConvert:r,isRtl:o,bgPosDirectionRegex:a})},transition:function(e){var t=e.value,r=e.propertiesToConvert;return t.split(/,\s*/g).map((function(e){var t=e.split(" ");return t[0]=r[t[0]]||t[0],t.join(" ")})).join(", ")},transitionProperty:function(e){var t=e.value,r=e.propertiesToConvert;return t.split(/,\s*/g).map((function(e){return r[e]||e})).join(", ")},transform:function(e){var t=e.value,r="(?:(?:(?:\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",o="((?:-?(?:[0-9]*\\.[0-9]+|[0-9]+)(?:\\s*(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)|-?(?:[_a-z]|[^\\u0020-\\u007e]|"+r+")(?:[_a-z0-9-]|[^\\u0020-\\u007e]|"+r+")*)?)|(?:inherit|auto))",a=new RegExp("(translateX\\s*\\(\\s*)"+o+"(\\s*\\))","gi"),n=new RegExp("(translate\\s*\\(\\s*)"+o+"((?:\\s*,\\s*"+o+"){0,1}\\s*\\))","gi"),i=new RegExp("(translate3d\\s*\\(\\s*)"+o+"((?:\\s*,\\s*"+o+"){0,2}\\s*\\))","gi"),s=new RegExp("(rotate[ZY]?\\s*\\(\\s*)"+o+"(\\s*\\))","gi");return t.replace(a,pt).replace(n,pt).replace(i,pt).replace(s,pt)}};vt.objectPosition=vt.backgroundPosition,vt.margin=vt.padding,vt.borderWidth=vt.padding,vt.boxShadow=vt.textShadow,vt.webkitBoxShadow=vt.boxShadow,vt.mozBoxShadow=vt.boxShadow,vt.WebkitBoxShadow=vt.boxShadow,vt.MozBoxShadow=vt.boxShadow,vt.borderStyle=vt.borderColor,vt.webkitTransform=vt.transform,vt.mozTransform=vt.transform,vt.WebkitTransform=vt.transform,vt.MozTransform=vt.transform,vt.transformOrigin=vt.backgroundPosition,vt.webkitTransformOrigin=vt.transformOrigin,vt.mozTransformOrigin=vt.transformOrigin,vt.WebkitTransformOrigin=vt.transformOrigin,vt.MozTransformOrigin=vt.transformOrigin,vt.webkitTransition=vt.transition,vt.mozTransition=vt.transition,vt.WebkitTransition=vt.transition,vt.MozTransition=vt.transition,vt.webkitTransitionProperty=vt.transitionProperty,vt.mozTransitionProperty=vt.transitionProperty,vt.WebkitTransitionProperty=vt.transitionProperty,vt.MozTransitionProperty=vt.transitionProperty,vt["text-shadow"]=vt.textShadow,vt["border-color"]=vt.borderColor,vt["border-radius"]=vt.borderRadius,vt["background-image"]=vt.backgroundImage,vt["background-position"]=vt.backgroundPosition,vt["background-position-x"]=vt.backgroundPositionX,vt["object-position"]=vt.objectPosition,vt["border-width"]=vt.padding,vt["box-shadow"]=vt.textShadow,vt["-webkit-box-shadow"]=vt.textShadow,vt["-moz-box-shadow"]=vt.textShadow,vt["border-style"]=vt.borderColor,vt["-webkit-transform"]=vt.transform,vt["-moz-transform"]=vt.transform,vt["transform-origin"]=vt.transformOrigin,vt["-webkit-transform-origin"]=vt.transformOrigin,vt["-moz-transform-origin"]=vt.transformOrigin,vt["-webkit-transition"]=vt.transition,vt["-moz-transition"]=vt.transition,vt["transition-property"]=vt.transitionProperty,vt["-webkit-transition-property"]=vt.transitionProperty,vt["-moz-transition-property"]=vt.transitionProperty;var mt=dt([["paddingLeft","paddingRight"],["marginLeft","marginRight"],["left","right"],["borderLeft","borderRight"],["borderLeftColor","borderRightColor"],["borderLeftStyle","borderRightStyle"],["borderLeftWidth","borderRightWidth"],["borderTopLeftRadius","borderTopRightRadius"],["borderBottomLeftRadius","borderBottomRightRadius"],["padding-left","padding-right"],["margin-left","margin-right"],["border-left","border-right"],["border-left-color","border-right-color"],["border-left-style","border-right-style"],["border-left-width","border-right-width"],["border-top-left-radius","border-top-right-radius"],["border-bottom-left-radius","border-bottom-right-radius"]]),bt=["content"],xt=dt([["ltr","rtl"],["left","right"],["w-resize","e-resize"],["sw-resize","se-resize"],["nw-resize","ne-resize"]]),yt=new RegExp("(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)","g"),wt=new RegExp("(left)|(right)");function kt(e){return Object.keys(e).reduce((function(t,r){var o=e[r];if("string"==typeof o&&(o=o.trim()),ft(bt,r))return t[r]=o,t;var a=Bt(r,o),n=a.key,i=a.value;return t[n]=i,t}),Array.isArray(e)?[]:{})}function Bt(e,t){var r,o=/\/\*\s?@noflip\s?\*\//.test(t),a=o?e:mt[r=e]||r,n=o?t:function(e,t){if(!function(e){return t=e,!("boolean"==typeof t||function(e){return null==e}(e));var t}(t))return t;if(r=t,r&&"object"==typeof r)return kt(t);var r;var o,a=ut(t),n=function(e){return"function"==typeof e}(t),i=a||n?t:t.replace(/ !important.*?$/,""),s=!a&&i.length!==t.length,l=vt[e];o=l?l({value:i,valuesToConvert:xt,propertiesToConvert:mt,isRtl:!0,bgImgDirectionRegex:yt,bgPosDirectionRegex:wt}):xt[i]||i;if(s)return o+" !important";return o}(a,t);return{key:a,value:n}}const St=/[A-Z]/g,_t=/^ms-/,Nt={};function zt(e){return"-"+e.toLowerCase()}function jt(e){if(Object.prototype.hasOwnProperty.call(Nt,e))return Nt[e];if("--"===e.substr(0,2))return e;const t=e.replace(St,zt);return Nt[e]=_t.test(t)?"-"+t:t}function Tt(e){return"&"===e.charAt(0)?e.slice(1):e}const Ct=e=>{if(e.type===g){if("string"==typeof e.props)return;e.props=e.props.map((e=>-1===e.indexOf(":global(")?e:v(e).reduce(((e,t,r,o)=>{if(""===t)return e;if(":"===t&&"global"===o[r+1]){const t=o[r+2].slice(1,-1)+" ";return e.unshift(t),o[r+1]="",o[r+2]="",e}return e.push(t),e}),[]).join("")))}};function Dt(e,t,r){switch(x(e,t)){case 5103:return S+"print-"+e+e;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return S+e+e;case 4215:if(102===w(e,9))return S+e+e;if(116===w(e,t+1))return S+e+e;break;case 4789:return _+e+e;case 5349:case 4246:case 6968:return S+e+_+e+e;case 6187:if(!N(e,/grab/))return B(B(B(e,/(zoom-|grab)/,S+"$1"),/(image-set)/,S+"$1"),e,"")+e;case 5495:case 3959:return B(e,/(image-set\([^]*)/,S+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return B(e,/(.+)-inline(.+)/,S+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(y(e)-1-t>6)switch(w(e,t+1)){case 102:if(108===w(e,t+3))return B(e,/(.+:)(.+)-([^]+)/,"$1"+S+"$2-$3$1"+_+(108==w(e,t+3)?"$3":"$2-$3"))+e;case 115:return~k(e,"stretch")?Dt(B(e,"stretch","fill-available"),t)+e:e}}return e}function Pt(e,t,r,o){if(e.length>-1&&!e.return)switch(e.type){case b:return void(e.return=Dt(e.value,e.length));case g:if(e.length)return m(e.props,(function(t){switch(N(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return z([j(e,{props:[B(t,/:(read-\w+)/,":"+_+"$1")]})],o);case"::placeholder":return z([j(e,{props:[B(t,/:(plac\w+)/,":"+S+"input-$1")]}),j(e,{props:[B(t,/:(plac\w+)/,":"+_+"$1")]})],o)}return""}))}}const Et=e=>{(function(e){switch(e.type){case"@container":case D:case C:case T:return!0}return!1})(e)&&Array.isArray(e.children)&&e.children.sort(((e,t)=>e.props[0]>t.props[0]?1:-1))};function At(){}const Ft=/,( *[^ &])/g;function Rt(e,t,r){let o=t;return r.length>0&&(o=r.reduceRight(((e,t)=>{return`${r=t,"&"+Tt(r.replace(Ft,",&$1"))} { ${e} }`;var r}),t)),`${e}{${o}}`}function It(e,t){const{className:r,selectors:o,property:a,rtlClassName:n,rtlProperty:i,rtlValue:s,value:l}=e,{container:c,layer:d,media:u,supports:f}=t;let p=Rt(`.${r}`,Array.isArray(l)?`${l.map((e=>`${jt(a)}: ${e}`)).join(";")};`:`${jt(a)}: ${l};`,o);if(i&&n){p+=Rt(`.${n}`,Array.isArray(s)?`${s.map((e=>`${jt(i)}: ${e}`)).join(";")};`:`${jt(i)}: ${s};`,o)}return u&&(p=`@media ${u} { ${p} }`),d&&(p=`@layer ${d} { ${p} }`),f&&(p=`@supports ${f} { ${p} }`),c&&(p=`@container ${c} { ${p} }`),function(e,t){const r=[];return z(E(e),R([Ct,t?Et:At,Pt,P,I((e=>r.push(e)))])),r}(p,!0)}function Mt(e){let t="";for(const r in e){const o=e[r];if("string"!=typeof o&&"number"!=typeof o){if(Array.isArray(o))for(const e of o)t+=jt(r)+":"+e+";"}else t+=jt(r)+":"+o+";"}return t}function Lt(e){let t="";for(const r in e)t+=`${r}{${Mt(e[r])}}`;return t}function Ot(e,t){const r=[];return z(E(`@keyframes ${e} {${t}}`),R([P,Pt,I((e=>r.push(e)))])),r}const qt={animation:[-1,["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimeline","animationTimingFunction"]],animationRange:[-1,["animationRangeEnd","animationRangeStart"]],background:[-2,["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPosition","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"]],backgroundPosition:[-1,["backgroundPositionX","backgroundPositionY"]],border:[-2,["borderBottom","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeft","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRight","borderRightColor","borderRightStyle","borderRightWidth","borderTop","borderTopColor","borderTopStyle","borderTopWidth"]],borderBottom:[-1,["borderBottomColor","borderBottomStyle","borderBottomWidth"]],borderImage:[-1,["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"]],borderLeft:[-1,["borderLeftColor","borderLeftStyle","borderLeftWidth"]],borderRadius:[-1,["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"]],borderRight:[-1,["borderRightColor","borderRightStyle","borderRightWidth"]],borderTop:[-1,["borderTopColor","borderTopStyle","borderTopWidth"]],caret:[-1,["caretColor","caretShape"]],columnRule:[-1,["columnRuleColor","columnRuleStyle","columnRuleWidth"]],columns:[-1,["columnCount","columnWidth"]],containIntrinsicSize:[-1,["containIntrinsicHeight","containIntrinsicWidth"]],container:[-1,["containerName","containerType"]],flex:[-1,["flexBasis","flexGrow","flexShrink"]],flexFlow:[-1,["flexDirection","flexWrap"]],font:[-1,["fontFamily","fontSize","fontStretch","fontStyle","fontVariant","fontWeight","lineHeight"]],gap:[-1,["columnGap","rowGap"]],grid:[-1,["columnGap","gridAutoColumns","gridAutoFlow","gridAutoRows","gridColumnGap","gridRowGap","gridTemplateAreas","gridTemplateColumns","gridTemplateRows","rowGap"]],gridArea:[-1,["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"]],gridColumn:[-1,["gridColumnEnd","gridColumnStart"]],gridRow:[-1,["gridRowEnd","gridRowStart"]],gridTemplate:[-1,["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"]],inset:[-1,["bottom","left","right","top"]],insetBlock:[-1,["insetBlockEnd","insetBlockStart"]],insetInline:[-1,["insetInlineEnd","insetInlineStart"]],listStyle:[-1,["listStyleImage","listStylePosition","listStyleType"]],margin:[-1,["marginBottom","marginLeft","marginRight","marginTop"]],marginBlock:[-1,["marginBlockEnd","marginBlockStart"]],marginInline:[-1,["marginInlineEnd","marginInlineStart"]],mask:[-1,["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPosition","maskRepeat","maskSize"]],maskBorder:[-1,["maskBorderMode","maskBorderOutset","maskBorderRepeat","maskBorderSlice","maskBorderSource","maskBorderWidth"]],offset:[-1,["offsetAnchor","offsetDistance","offsetPath","offsetPosition","offsetRotate"]],outline:[-1,["outlineColor","outlineStyle","outlineWidth"]],overflow:[-1,["overflowX","overflowY"]],overscrollBehavior:[-1,["overscrollBehaviorX","overscrollBehaviorY"]],padding:[-1,["paddingBottom","paddingLeft","paddingRight","paddingTop"]],paddingBlock:[-1,["paddingBlockEnd","paddingBlockStart"]],paddingInline:[-1,["paddingInlineEnd","paddingInlineStart"]],placeContent:[-1,["alignContent","justifyContent"]],placeItems:[-1,["alignItems","justifyItems"]],placeSelf:[-1,["alignSelf","justifySelf"]],scrollMargin:[-1,["scrollMarginBottom","scrollMarginLeft","scrollMarginRight","scrollMarginTop"]],scrollMarginBlock:[-1,["scrollMarginBlockEnd","scrollMarginBlockStart"]],scrollMarginInline:[-1,["scrollMarginInlineEnd","scrollMarginInlineStart"]],scrollPadding:[-1,["scrollPaddingBottom","scrollPaddingLeft","scrollPaddingRight","scrollPaddingTop"]],scrollPaddingBlock:[-1,["scrollPaddingBlockEnd","scrollPaddingBlockStart"]],scrollPaddingInline:[-1,["scrollPaddingInlineEnd","scrollPaddingInlineStart"]],scrollTimeline:[-1,["scrollTimelineAxis","scrollTimelineName"]],textDecoration:[-1,["textDecorationColor","textDecorationLine","textDecorationStyle","textDecorationThickness"]],textEmphasis:[-1,["textEmphasisColor","textEmphasisStyle"]],transition:[-1,["transitionBehavior","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"]],viewTimeline:[-1,["viewTimelineAxis","viewTimelineName"]]};function Ht(e,t){return 0===e.length?t:`${e} and ${t}`}function Vt(e){return"@media"===e.substr(0,6)}function Zt(e){return"@layer"===e.substr(0,6)}const $t=/^(:|\[|>|&)/;function Wt(e){return $t.test(e)}function Ut(e){return"@supports"===e.substr(0,9)}function Gt(e){return"@container"===e.substring(0,10)}const Xt={"us-w":"w","us-v":"i",nk:"l",si:"v",cu:"f",ve:"h",ti:"a"};function Kt(e,t){if(t.media)return"m";if(t.layer||t.supports)return"t";if(t.container)return"c";if(e.length>0){const t=e[0].trim();if(58===t.charCodeAt(0))return Xt[t.slice(4,8)]||Xt[t.slice(3,5)]||"d"}return"d"}function Jt(e,t){return e?t+e:e}function Yt(e){return Jt(e.container,"c")+Jt(e.media,"m")+Jt(e.layer,"l")+Jt(e.supports,"s")}function Qt(e,t,r){const o=e+Yt(r)+t,a=h(o),n=a.charCodeAt(0);return n>=48&&n<=57?String.fromCharCode(n+17)+a.slice(1):a}function er({property:e,selector:t,salt:r,value:o},a){return"f"+h(r+t+Yt(a)+e+o.trim())}function tr(e){return e===Je}function rr(e){return e.replace(/>\s+/g,">")}function or(e){return qt[e]}function ar(e){var t;return null!==(t=null==e?void 0:e[0])&&void 0!==t?t:0}function nr(e,t,r,o){e[t]=o?[r,o]:r}function ir(e,t){return t.length>0?[e,Object.fromEntries(t)]:e}function sr(e,t,r,o,a,n){var i;const s=[];0!==n&&s.push(["p",n]),"m"===t&&a&&s.push(["m",a]),null!==(i=e[t])&&void 0!==i||(e[t]=[]),r&&e[t].push(ir(r,s)),o&&e[t].push(ir(o,s))}function lr(e,t="",r=[],o={container:"",layer:"",media:"",supports:""},a={},n={},i){for(const l in e){if(Ke.hasOwnProperty(l)){e[l];continue}const c=e[l];if(null!=c)if(tr(c)){nr(a,Qt(rr(r.join("")),l,o),0,void 0)}else if("string"==typeof c||"number"==typeof c){const e=rr(r.join("")),s=or(l);if(s){const e=s[1];lr(Object.fromEntries(e.map((e=>[e,Je]))),t,r,o,a,n)}const d=Qt(e,l,o),u=er({value:c.toString(),salt:t,selector:e,property:l},o),f=i&&{key:l,value:i}||Bt(l,c),p=f.key!==l||f.value!==c,h=p?er({value:f.value.toString(),property:f.key,salt:t,selector:e},o):void 0,g=p?{rtlClassName:h,rtlProperty:f.key,rtlValue:f.value}:void 0,v=Kt(r,o),[m,b]=It(Object.assign({className:u,selectors:r,property:l,value:c},g),o);nr(a,d,u,h),sr(n,v,m,b,o.media,ar(s))}else if("animationName"===l){const e=Array.isArray(c)?c:[c],i=[],s=[];for(const t of e){const e=Lt(t),r=Lt(kt(t)),a="f"+h(e);let l;const c=Ot(a,e);let d=[];e===r?l=a:(l="f"+h(r),d=Ot(l,r));for(let t=0;t<c.length;t++)sr(n,"k",c[t],d[t],o.media,0);i.push(a),s.push(l)}lr({animationName:i.join(", ")},t,r,o,a,n,s.join(", "))}else if(Array.isArray(c)){if(0===c.length)continue;const e=rr(r.join("")),i=or(l);if(i){const e=i[1];lr(Object.fromEntries(e.map((e=>[e,Je]))),t,r,o,a,n)}const s=Qt(e,l,o),d=er({value:c.map((e=>(null!=e?e:"").toString())).join(";"),salt:t,selector:e,property:l},o),u=c.map((e=>Bt(l,e)));if(!!u.some((e=>e.key!==u[0].key)))continue;const f=u[0].key!==l||u.some(((e,t)=>e.value!==c[t])),p=f?er({value:u.map((e=>{var t;return(null!==(t=null==e?void 0:e.value)&&void 0!==t?t:"").toString()})).join(";"),salt:t,property:u[0].key,selector:e},o):void 0,h=f?{rtlClassName:p,rtlProperty:u[0].key,rtlValue:u.map((e=>e.value))}:void 0,g=Kt(r,o),[v,m]=It(Object.assign({className:d,selectors:r,property:l,value:c},h),o);nr(a,s,d,p),sr(n,g,v,m,o.media,ar(i))}else if(null!=(s=c)&&"object"==typeof s&&!1===Array.isArray(s))if(Wt(l))lr(c,t,r.concat(Tt(l)),o,a,n);else if(Vt(l)){const e=Ht(o.media,l.slice(6).trim());lr(c,t,r,Object.assign({},o,{media:e}),a,n)}else if(Zt(l)){const e=(o.layer?`${o.layer}.`:"")+l.slice(6).trim();lr(c,t,r,Object.assign({},o,{layer:e}),a,n)}else if(Ut(l)){const e=Ht(o.supports,l.slice(9).trim());lr(c,t,r,Object.assign({},o,{supports:e}),a,n)}else if(Gt(l)){const e=l.slice(10).trim();lr(c,t,r,Object.assign({},o,{container:e}),a,n)}}var s;return[a,n]}function cr(e,t=ct){const r=t();let o=null,a=null,n=null,i=null;return function(t){const{dir:s,renderer:l}=t;null===o&&([o,a]=function(e,t=""){const r={},o={};for(const a in e){const n=e[a],[i,s]=lr(n,t);r[a]=i,Object.keys(s).forEach((e=>{o[e]=(o[e]||[]).concat(s[e])}))}return[r,o]}(e,l.classNameHashSalt));const c="ltr"===s;return c?null===n&&(n=et(o,s)):null===i&&(i=et(o,s)),r(l,a),c?n:i}}function dr(e,t,r=ct){const o=r();let a=null,n=null;return function(r){const{dir:i,renderer:s}=r,l="ltr"===i;return l?null===a&&(a=et(e,i)):null===n&&(n=et(e,i)),o(s,t),l?a:n}}const ur=l.useInsertionEffect?l.useInsertionEffect:void 0,fr=()=>{const e={};return function(t,r){ur&&"undefined"!=typeof window&&window.document&&window.document.createElement?ur((()=>{t.insertCSSRules(r)}),[t,r]):void 0===e[t.id]&&(t.insertCSSRules(r),e[t.id]=!0)}},pr=s.exports.createContext(lt());function hr(){return s.exports.useContext(pr)}const gr=s.exports.createContext("ltr"),vr=({children:e,dir:t})=>s.exports.createElement(gr.Provider,{value:t},e);function mr(){return s.exports.useContext(gr)}function br(e){const t=cr(e,fr);return function(){const e=mr(),r=hr();return t({dir:e,renderer:r})}}function xr(e,t){const r=dr(e,t,fr);return function(){const e=mr(),t=hr();return r({dir:e,renderer:t})}}function yr(e,t,r){const o=function(e,t,r,o=ct){const a=o();return function(o){const{dir:n,renderer:i}=o,s="ltr"===n?e:t||e;return a(i,Array.isArray(r)?{r:r}:r),s}}(e,t,r,fr);return function(){const e=mr(),t=hr();return o({dir:e,renderer:t})}}const wr=Symbol.for("fui.slotRenderFunction"),kr=Symbol.for("fui.slotElementType"),Br=Symbol.for("fui.slotClassNameProp");function Sr(e,t){const{defaultProps:r,elementType:o}=t,a=Nr(e),n={...r,...a,[kr]:o,[Br]:null==a?void 0:a.className};return a&&"function"==typeof a.children&&(n[wr]=a.children,n.children=null==r?void 0:r.children),n}function _r(e,t){if(null!==e&&(void 0!==e||t.renderByDefault))return Sr(e,t)}function Nr(e){return"string"==typeof e||"number"==typeof e||zr(e)||s.exports.isValidElement(e)?{children:e}:e}const zr=e=>"object"==typeof e&&null!==e&&Symbol.iterator in e;function jr(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)&&!s.exports.isValidElement(e)}function Tr(e){return Boolean(null==e?void 0:e.hasOwnProperty(kr))}const Cr=(...e)=>{const t={};for(const r of e){const e=Array.isArray(r)?r:Object.keys(r);for(const r of e)t[r]=1}return t},Dr=Cr(["onAuxClick","onAnimationEnd","onAnimationStart","onCopy","onCut","onPaste","onCompositionEnd","onCompositionStart","onCompositionUpdate","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onInput","onSubmit","onLoad","onError","onKeyDown","onKeyDownCapture","onKeyPress","onKeyUp","onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting","onClick","onClickCapture","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onMouseUpCapture","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onScroll","onWheel","onPointerCancel","onPointerDown","onPointerEnter","onPointerLeave","onPointerMove","onPointerOut","onPointerOver","onPointerUp","onGotPointerCapture","onLostPointerCapture"]),Pr=Cr(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),Er=Cr(["itemID","itemProp","itemRef","itemScope","itemType"]),Ar=Cr(Pr,Dr,Er),Fr=Cr(Ar,["form"]),Rr=Cr(Ar,["height","loop","muted","preload","src","width"]),Ir=Cr(Rr,["poster"]),Mr=Cr(Ar,["start"]),Lr=Cr(Ar,["value"]),Or=Cr(Ar,["download","href","hrefLang","media","rel","target","type"]),qr=Cr(Ar,["dateTime"]),Hr=Cr(Ar,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]);const Vr={label:Fr,audio:Rr,video:Ir,ol:Mr,li:Lr,a:Or,button:Hr,input:Cr(Hr,["accept","alt","autoCorrect","autoCapitalize","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","minLength","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),textarea:Cr(Hr,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),select:Cr(Hr,["form","multiple","required"]),option:Cr(Ar,["selected","value"]),table:Cr(Ar,["cellPadding","cellSpacing"]),tr:Ar,th:Cr(Ar,["colSpan","rowSpan","scope"]),td:Cr(Ar,["colSpan","headers","rowSpan","scope"]),colGroup:Cr(Ar,["span"]),col:Cr(Ar,["span"]),fieldset:Cr(Ar,["disabled","form"]),form:Cr(Ar,["acceptCharset","action","encType","encType","method","noValidate","target"]),iframe:Cr(Ar,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),img:Cr(Ar,["alt","crossOrigin","height","src","srcSet","useMap","width"]),time:qr,dialog:Cr(Ar,["open","onCancel","onClose"])};function Zr(e,t,r){const o=e&&Vr[e]||Ar;return o.as=1,function(e,t,r){const o=Array.isArray(t),a={},n=Object.keys(e);for(const i of n)!(!o&&t[i]||o&&t.indexOf(i)>=0||0===i.indexOf("data-")||0===i.indexOf("aria-"))||r&&-1!==(null==r?void 0:r.indexOf(i))||(a[i]=e[i]);return a}(t,o,r)}const $r=({primarySlotTagName:e,props:t,excludedPropNames:r})=>({root:{style:t.style,className:t.className},primary:Zr(e,t,[...r||[],"style","className"])}),Wr=(e,t,r)=>{var o;return Zr(null!==(o=t.as)&&void 0!==o?o:e,t,r)};function Ur(e,t){const r=s.exports.useRef(void 0),o=s.exports.useCallback(((o,a)=>(void 0!==r.current&&t(r.current),r.current=e(o,a),r.current)),[t,e]),a=s.exports.useCallback((()=>{void 0!==r.current&&(t(r.current),r.current=void 0)}),[t]);return s.exports.useEffect((()=>a),[a]),[o,a]}const Gr=s.exports.createContext(void 0),Xr=Gr.Provider,Kr=s.exports.createContext(void 0),Jr=Kr.Provider;const Yr=s.exports.createContext(void 0),Qr={},eo=Yr.Provider;const to=s.exports.createContext(void 0),ro={targetDocument:"object"==typeof document?document:void 0,dir:"ltr"},oo=to.Provider;function ao(){var e;return null!==(e=s.exports.useContext(to))&&void 0!==e?e:ro}const no=s.exports.createContext(void 0),io=no.Provider;function so(){var e;return null!==(e=s.exports.useContext(no))&&void 0!==e?e:{}}const lo=s.exports.createContext(void 0),co=()=>{},uo=lo.Provider,fo=e=>{var t,r;return null!==(r=null===(t=s.exports.useContext(lo))||void 0===t?void 0:t[e])&&void 0!==r?r:co},po=s.exports.createContext(void 0),ho=po.Provider;function go(){return s.exports.useContext(po)}const vo=s.exports.createContext(void 0);vo.Provider;const mo=s.exports.createContext(void 0);mo.Provider;const bo=e=>(e(0),0),xo=e=>e;function yo(){const{targetDocument:e}=ao(),t=null==e?void 0:e.defaultView;return Ur(t?t.requestAnimationFrame:bo,t?t.cancelAnimationFrame:xo)}const wo=e=>{const[t,r]=s.exports.useState((()=>void 0===e.defaultState?e.initialState:"function"==typeof e.defaultState?e.defaultState():e.defaultState)),o=s.exports.useRef(e.state);s.exports.useEffect((()=>{o.current=e.state}),[e.state]);const a=s.exports.useCallback((e=>{(function(e){return"function"==typeof e})(e)&&e(o.current)}),[]);return ko(e.state)?[e.state,a]:[t,r]};const ko=e=>{const[t]=s.exports.useState((()=>void 0!==e));return t};function Bo(){return"undefined"!=typeof window&&!(!window.document||!window.document.createElement)}const So={current:0},_o=s.exports.createContext(void 0);function No(){var e;return null!==(e=s.exports.useContext(_o))&&void 0!==e?e:So}const zo=Bo()?s.exports.useLayoutEffect:s.exports.useEffect,jo=e=>{const t=s.exports.useRef((()=>{throw new Error("Cannot call an event handler while rendering")}));return zo((()=>{t.current=e}),[e]),s.exports.useCallback(((...e)=>(0,t.current)(...e)),[t])};function To(){const e=s.exports.useRef(!0);return s.exports.useEffect((()=>{e.current&&(e.current=!1)}),[]),e.current}function Co(){return s.exports.useReducer((e=>e+1),0)[1]}const Do=s.exports.createContext(void 0);function Po(e="fui-",t){const r=No(),o=s.exports.useContext(Do)||"",a=l.useId;if(a){const r=a(),n=s.exports.useMemo((()=>r.replace(/:/g,"")),[r]);return t||`${o}${e}${n}`}return s.exports.useMemo((()=>t||`${o}${e}${++r.current}`),[o,e,t,r])}function Eo(...e){const t=s.exports.useCallback((r=>{t.current=r;for(const t of e)"function"==typeof t?t(r):t&&(t.current=r)}),[...e]);return t}Do.Provider;const Ao=(e,t)=>!!(null==e?void 0:e.contains(t)),Fo=e=>{const{targetDocument:t}=ao(),r=null==t?void 0:t.defaultView,{refs:o,callback:a,element:n,disabled:i,disabledFocusOnIframe:l,contains:c=Ao}=e,d=s.exports.useRef(void 0);Io({element:n,disabled:l||i,callback:a,refs:o,contains:c});const u=s.exports.useRef(!1),f=jo((e=>{if(u.current)return void(u.current=!1);const t=e.composedPath()[0];o.every((e=>!c(e.current||null,t)))&&!i&&a(e)})),p=jo((e=>{u.current=o.some((t=>c(t.current||null,e.target)))}));s.exports.useEffect((()=>{if(i)return;let e=Ro(r);const t=t=>{t!==e?f(t):e=void 0};return null==n||n.addEventListener("click",t,!0),null==n||n.addEventListener("touchstart",t,!0),null==n||n.addEventListener("contextmenu",t,!0),null==n||n.addEventListener("mousedown",p,!0),d.current=null==r?void 0:r.setTimeout((()=>{e=void 0}),1),()=>{null==n||n.removeEventListener("click",t,!0),null==n||n.removeEventListener("touchstart",t,!0),null==n||n.removeEventListener("contextmenu",t,!0),null==n||n.removeEventListener("mousedown",p,!0),null==r||r.clearTimeout(d.current),e=void 0}}),[f,n,i,p,r])},Ro=e=>{var t,r,o;if(e)return"object"==typeof e.window&&e.window===e?e.event:null!==(o=null===(r=e.ownerDocument)||void 0===r||null===(t=r.defaultView)||void 0===t?void 0:t.event)&&void 0!==o?o:void 0},Io=e=>{const{disabled:t,element:r,callback:o,contains:a=Ao,pollDuration:n=100,refs:i}=e,l=s.exports.useRef(),c=jo((e=>{i.every((t=>!a(t.current||null,e.target)))&&!t&&o(e)}));s.exports.useEffect((()=>{if(!t)return null==r||r.addEventListener("fuiframefocus",c,!0),()=>{null==r||r.removeEventListener("fuiframefocus",c,!0)}}),[r,t,c]),s.exports.useEffect((()=>{var e;if(!t)return l.current=null==r||null===(e=r.defaultView)||void 0===e?void 0:e.setInterval((()=>{const e=null==r?void 0:r.activeElement;if("IFRAME"===(null==e?void 0:e.tagName)||"WEBVIEW"===(null==e?void 0:e.tagName)){const t=new CustomEvent("fuiframefocus",{bubbles:!0});e.dispatchEvent(t)}}),n),()=>{var e;null==r||null===(e=r.defaultView)||void 0===e||e.clearTimeout(l.current)}}),[r,t,n])},Mo=e=>{const{refs:t,callback:r,element:o,disabled:a,contains:n}=e,i=jo((e=>{const o=n||((e,t)=>!!(null==e?void 0:e.contains(t))),i=e.composedPath()[0];t.every((e=>!o(e.current||null,i)))&&!a&&r(e)}));s.exports.useEffect((()=>{if(!a)return null==o||o.addEventListener("wheel",i),null==o||o.addEventListener("touchmove",i),()=>{null==o||o.removeEventListener("wheel",i),null==o||o.removeEventListener("touchmove",i)}}),[i,o,a])},Lo=e=>-1,Oo=e=>{};function qo(){const{targetDocument:e}=ao(),t=null==e?void 0:e.defaultView;return Ur(t?t.setTimeout:Lo,t?t.clearTimeout:Oo)}const Ho=parseInt(s.exports.version,10)>=19;function Vo(e){if(e)return Ho?e.props.ref:e.ref}function Zo(e,t){return(...r)=>{null==e||e(...r),null==t||t(...r)}}function $o(e,t){var r;const o=e;var a;return Boolean((null==o||null===(r=o.ownerDocument)||void 0===r?void 0:r.defaultView)&&o instanceof o.ownerDocument.defaultView[null!==(a=null==t?void 0:t.constructorName)&&void 0!==a?a:"HTMLElement"])}function Wo(e){const t=[];let r=0;const o=(e,r)=>{const o=t[e];t[e]=t[r],t[r]=o},a=n=>{let i=n;const s=Uo(n),l=Go(n);s<r&&e(t[s],t[i])<0&&(i=s),l<r&&e(t[l],t[i])<0&&(i=l),i!==n&&(o(i,n),a(i))};return{all:()=>t.slice(0,r),clear:()=>{r=0},contains:e=>{const o=t.indexOf(e);return o>=0&&o<r},dequeue:()=>{if(0===r)throw new Error("Priority queue empty");const e=t[0];return t[0]=t[--r],a(0),e},enqueue:a=>{t[r++]=a;let n=r-1,i=Xo(n);for(;n>0&&e(t[i],t[n])>0;)o(i,n),n=i,i=Xo(n)},peek:()=>0===r?null:t[0],remove:e=>{const o=t.indexOf(e);-1===o||o>=r||(t[o]=t[--r],a(o))},size:()=>r}}const Uo=e=>2*e+1,Go=e=>2*e+2,Xo=e=>Math.floor((e-1)/2);function Ko(e){return Boolean(e.type.isFluentTriggerComponent)}function Jo(e,t){return"function"==typeof e?e(t):e?Yo(e,t):e||null}function Yo(e,t){if(!s.exports.isValidElement(e)||e.type===s.exports.Fragment)throw new Error("A trigger element must be a single element for this component. Please ensure that you're not using React Fragments.");if(Ko(e)){const r=Yo(e.props.children,t);return s.exports.cloneElement(e,void 0,r)}return s.exports.cloneElement(e,t)}function Qo(e){return s.exports.isValidElement(e)?Ko(e)?Qo(e.props.children):e:null}function ea(e,t={}){if(!e)return null;if(!t.skipVirtual){const t=function(e){return(t=e)&&t._virtual&&e._virtual.parent||null;var t}(e);if(t)return t}const r=e.parentNode;return r&&11===r.nodeType?r.host:r}function ta(e,t){if(!e||!t)return!1;if(e===t)return!0;{const r=new WeakSet;for(;t;){const o=ea(t,{skipVirtual:r.has(t)});if(r.add(t),o===e)return!0;t=o}}return!1}function ra(e,t){e&&Object.assign(e,{_virtual:{parent:t}})}function oa(e,t){return function(r,o,a,n,i){return Tr(o)?t(function(e,t){return{...t,[kr]:e}}(r,o),null,a,n,i):Tr(r)?t(r,o,a,n,i):e(r,o,a,n,i)}}function aa(e){const{as:t,[Br]:r,[kr]:o,[wr]:a,...n}=e,i=n,s="string"==typeof o&&null!=t?t:o;return"string"!=typeof s&&t&&(i.as=t),{elementType:s,props:i,renderFunction:a}}const na=n,ia=oa(na.jsx,((e,t,r)=>{const{elementType:o,renderFunction:a,props:n}=aa(e),i={...n,...t};return a?na.jsx(s.exports.Fragment,{children:a(o,i)},r):na.jsx(o,i,r)})),sa=oa(na.jsxs,((e,t,r)=>{const{elementType:o,renderFunction:a,props:n}=aa(e),i={...n,...t};return a?na.jsx(s.exports.Fragment,{children:a(o,{...i,children:na.jsxs(s.exports.Fragment,{children:i.children},void 0)})},r):na.jsxs(o,i,r)})),la=s.exports.createContext(void 0),ca={},da=la.Provider;var ua="undefined"!=typeof WeakRef,fa=class{constructor(e){ua&&"object"==typeof e?this._weakRef=new WeakRef(e):this._instance=e}deref(){var e,t;let r;return this._weakRef?(r=null==(e=this._weakRef)?void 0:e.deref(),r||delete this._weakRef):(r=this._instance,(null==(t=null==r?void 0:r.isDisposed)?void 0:t.call(r))&&delete this._instance),r}};var pa=!1;function ha(e){const t=e.focus;t.__keyborgNativeFocus?t.__keyborgNativeFocus.call(e):e.focus()}var ga=0,va=class e{constructor(e,t){this._cb=[],this._id="k"+ ++ga,this._win=e;const r=e.__keyborg;r?(this._core=r.core,r.refs[this._id]=this):(this._core=new class{constructor(e,t){this._isNavigatingWithKeyboard_DO_NOT_USE=!1,this._onFocusIn=e=>{if(this._isMouseOrTouchUsedTimer)return;if(this.isNavigatingWithKeyboard)return;const t=e.detail;t.relatedTarget&&(t.isFocusedProgrammatically||void 0===t.isFocusedProgrammatically||(this.isNavigatingWithKeyboard=!0))},this._onMouseDown=e=>{0===e.buttons||0===e.clientX&&0===e.clientY&&0===e.screenX&&0===e.screenY||this._onMouseOrTouch()},this._onMouseOrTouch=()=>{const e=this._win;e&&(this._isMouseOrTouchUsedTimer&&e.clearTimeout(this._isMouseOrTouchUsedTimer),this._isMouseOrTouchUsedTimer=e.setTimeout((()=>{delete this._isMouseOrTouchUsedTimer}),1e3)),this.isNavigatingWithKeyboard=!1},this._onKeyDown=e=>{this.isNavigatingWithKeyboard?this._shouldDismissKeyboardNavigation(e)&&this._scheduleDismiss():this._shouldTriggerKeyboardNavigation(e)&&(this.isNavigatingWithKeyboard=!0)},this.id="c"+ ++ga,this._win=e;const r=e.document;if(t){const e=t.triggerKeys,r=t.dismissKeys;(null==e?void 0:e.length)&&(this._triggerKeys=new Set(e)),(null==r?void 0:r.length)&&(this._dismissKeys=new Set(r))}r.addEventListener("keyborg:focusin",this._onFocusIn,!0),r.addEventListener("mousedown",this._onMouseDown,!0),e.addEventListener("keydown",this._onKeyDown,!0),r.addEventListener("touchstart",this._onMouseOrTouch,!0),r.addEventListener("touchend",this._onMouseOrTouch,!0),r.addEventListener("touchcancel",this._onMouseOrTouch,!0),function(e){const t=e;pa||(pa=function(e){const t=e.HTMLElement,r=t.prototype.focus;let o=!1;return t.prototype.focus=function(){o=!0},e.document.createElement("button").focus(),t.prototype.focus=r,o}(t));const r=t.HTMLElement.prototype.focus;if(r.__keyborgNativeFocus)return;t.HTMLElement.prototype.focus=l;const o=new Set,a=e=>{const t=e.target;if(!t)return;const r=new CustomEvent("keyborg:focusout",{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:e}});t.dispatchEvent(r)},n=e=>{const t=e.target;if(!t)return;let r=e.composedPath()[0];const s=new Set;for(;r;)r.nodeType===Node.DOCUMENT_FRAGMENT_NODE?(s.add(r),r=r.host):r=r.parentNode;for(const i of o){const e=i.deref();e&&s.has(e)||(o.delete(i),e&&(e.removeEventListener("focusin",n,!0),e.removeEventListener("focusout",a,!0)))}i(t,e.relatedTarget||void 0)},i=(e,t,r)=>{var i;const l=e.shadowRoot;if(l){for(const e of o)if(e.deref()===l)return;return l.addEventListener("focusin",n,!0),l.addEventListener("focusout",a,!0),void o.add(new fa(l))}const c={relatedTarget:t,originalEvent:r},d=new CustomEvent("keyborg:focusin",{cancelable:!0,bubbles:!0,composed:!0,detail:c});d.details=c,(pa||s.lastFocusedProgrammatically)&&(c.isFocusedProgrammatically=e===(null==(i=s.lastFocusedProgrammatically)?void 0:i.deref()),s.lastFocusedProgrammatically=void 0),e.dispatchEvent(d)},s=t.__keyborgData={focusInHandler:n,focusOutHandler:a,shadowTargets:o};function l(){const e=t.__keyborgData;return e&&(e.lastFocusedProgrammatically=new fa(this)),r.apply(this,arguments)}t.document.addEventListener("focusin",t.__keyborgData.focusInHandler,!0),t.document.addEventListener("focusout",t.__keyborgData.focusOutHandler,!0);let c=t.document.activeElement;for(;c&&c.shadowRoot;)i(c),c=c.shadowRoot.activeElement;l.__keyborgNativeFocus=r}(e)}get isNavigatingWithKeyboard(){return this._isNavigatingWithKeyboard_DO_NOT_USE}set isNavigatingWithKeyboard(e){this._isNavigatingWithKeyboard_DO_NOT_USE!==e&&(this._isNavigatingWithKeyboard_DO_NOT_USE=e,this.update())}dispose(){const e=this._win;if(e){this._isMouseOrTouchUsedTimer&&(e.clearTimeout(this._isMouseOrTouchUsedTimer),this._isMouseOrTouchUsedTimer=void 0),this._dismissTimer&&(e.clearTimeout(this._dismissTimer),this._dismissTimer=void 0),function(e){const t=e,r=t.HTMLElement.prototype,o=r.focus.__keyborgNativeFocus,a=t.__keyborgData;if(a){t.document.removeEventListener("focusin",a.focusInHandler,!0),t.document.removeEventListener("focusout",a.focusOutHandler,!0);for(const e of a.shadowTargets){const t=e.deref();t&&(t.removeEventListener("focusin",a.focusInHandler,!0),t.removeEventListener("focusout",a.focusOutHandler,!0))}a.shadowTargets.clear(),delete t.__keyborgData}o&&(r.focus=o)}(e);const t=e.document;t.removeEventListener("keyborg:focusin",this._onFocusIn,!0),t.removeEventListener("mousedown",this._onMouseDown,!0),e.removeEventListener("keydown",this._onKeyDown,!0),t.removeEventListener("touchstart",this._onMouseOrTouch,!0),t.removeEventListener("touchend",this._onMouseOrTouch,!0),t.removeEventListener("touchcancel",this._onMouseOrTouch,!0),delete this._win}}isDisposed(){return!!this._win}update(){var e,t;const r=null==(t=null==(e=this._win)?void 0:e.__keyborg)?void 0:t.refs;if(r)for(const o of Object.keys(r))va.update(r[o],this.isNavigatingWithKeyboard)}_shouldTriggerKeyboardNavigation(e){var t;if("Tab"===e.key)return!0;const r=null==(t=this._win)?void 0:t.document.activeElement,o=!this._triggerKeys||this._triggerKeys.has(e.keyCode),a=r&&("INPUT"===r.tagName||"TEXTAREA"===r.tagName||r.isContentEditable);return o&&!a}_shouldDismissKeyboardNavigation(e){var t;return null==(t=this._dismissKeys)?void 0:t.has(e.keyCode)}_scheduleDismiss(){const e=this._win;if(e){this._dismissTimer&&(e.clearTimeout(this._dismissTimer),this._dismissTimer=void 0);const t=e.document.activeElement;this._dismissTimer=e.setTimeout((()=>{this._dismissTimer=void 0;const r=e.document.activeElement;t&&r&&t===r&&(this.isNavigatingWithKeyboard=!1)}),500)}}}(e,t),e.__keyborg={core:this._core,refs:{[this._id]:this}})}static create(t,r){return new e(t,r)}static dispose(e){e.dispose()}static update(e,t){e._cb.forEach((e=>e(t)))}dispose(){var e;const t=null==(e=this._win)?void 0:e.__keyborg;(null==t?void 0:t.refs[this._id])&&(delete t.refs[this._id],0===Object.keys(t.refs).length&&(t.core.dispose(),delete this._win.__keyborg)),this._cb=[],delete this._core,delete this._win}isNavigatingWithKeyboard(){var e;return!!(null==(e=this._core)?void 0:e.isNavigatingWithKeyboard)}subscribe(e){this._cb.push(e)}unsubscribe(e){const t=this._cb.indexOf(e);t>=0&&this._cb.splice(t,1)}setVal(e){this._core&&(this._core.isNavigatingWithKeyboard=e)}};function ma(e,t){return va.create(e,t)}function ba(e){va.dispose(e)}
/*!
 * 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 xa="data-tabster",ya=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","*[tabindex]","*[contenteditable]","details > summary","audio[controls]","video[controls]"].join(", "),wa=1,ka=2,Ba=3,Sa=0,_a=1,Na=2,za=0,ja=1,Ta=0,Ca=1,Da=2,Pa=3,Ea=4,Aa={ArrowUp:1,ArrowDown:2,ArrowLeft:3,ArrowRight:4,PageUp:5,PageDown:6,Home:7,End:8},Fa=0,Ra=1,Ia=2,Ma={Enter:1,Escape:2},La=2;
/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */
function Oa(e,t){var r;return null===(r=e.storageEntry(t))||void 0===r?void 0:r.tabster}function qa(e,t,r){var o,a;const n=r||e._noop?void 0:t.getAttribute("data-tabster");let i,s=e.storageEntry(t);if(n){if(n===(null===(o=null==s?void 0:s.attr)||void 0===o?void 0:o.string))return;try{const e=JSON.parse(n);if("object"!=typeof e)throw new Error(`Value is not a JSON object, got '${n}'.`);i={string:n,object:e}}catch($P){}}else if(!s)return;s||(s=e.storageEntry(t,!0)),s.tabster||(s.tabster={});const l=s.tabster||{},c=(null===(a=s.attr)||void 0===a?void 0:a.object)||{},d=(null==i?void 0:i.object)||{};for(const u of Object.keys(c))if(!d[u]){if("root"===u){const t=l[u];t&&e.root.onRoot(t,!0)}switch(u){case"deloser":case"root":case"groupper":case"modalizer":case"restorer":case"mover":const r=l[u];r&&(r.dispose(),delete l[u]);break;case"observed":delete l[u],e.observedElement&&e.observedElement.onObservedElementUpdate(t);break;case"focusable":case"outline":case"uncontrolled":case"sys":delete l[u]}}for(const u of Object.keys(d)){const r=d.sys;switch(u){case"deloser":l.deloser?l.deloser.setProps(d.deloser):e.deloser&&(l.deloser=e.deloser.createDeloser(t,d.deloser));break;case"root":l.root?l.root.setProps(d.root):l.root=e.root.createRoot(t,d.root,r),e.root.onRoot(l.root);break;case"modalizer":l.modalizer?l.modalizer.setProps(d.modalizer):e.modalizer&&(l.modalizer=e.modalizer.createModalizer(t,d.modalizer,r));break;case"restorer":l.restorer?l.restorer.setProps(d.restorer):e.restorer&&d.restorer&&(l.restorer=e.restorer.createRestorer(t,d.restorer));break;case"focusable":l.focusable=d.focusable;break;case"groupper":l.groupper?l.groupper.setProps(d.groupper):e.groupper&&(l.groupper=e.groupper.createGroupper(t,d.groupper,r));break;case"mover":l.mover?l.mover.setProps(d.mover):e.mover&&(l.mover=e.mover.createMover(t,d.mover,r));break;case"observed":e.observedElement&&(l.observed=d.observed,e.observedElement.onObservedElementUpdate(t));break;case"uncontrolled":l.uncontrolled=d.uncontrolled;break;case"outline":e.outline&&(l.outline=d.outline);break;case"sys":l.sys=d.sys}}i?s.attr=i:(0===Object.keys(l).length&&(delete s.tabster,delete s.attr),e.storageEntry(t,!1))}
/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */const Ha="undefined"!=typeof CustomEvent?CustomEvent:function(){};class Va extends Ha{constructor(e,t){super(e,{bubbles:!0,cancelable:!0,composed:!0,detail:t}),this.details=t}}class Za extends Va{constructor(e){super("tabster:focusin",e)}}class $a extends Va{constructor(e){super("tabster:focusout",e)}}class Wa extends Va{constructor(e){super("tabster:movefocus",e)}}class Ua extends Va{constructor(e){super("tabster:mover:state",e)}}class Ga extends Va{constructor(e){super("tabster:mover:movefocus",e)}}class Xa extends Va{constructor(e){super("tabster:groupper:movefocus",e)}}class Ka extends Va{constructor(e){super("tabster:modalizer:active",e)}}class Ja extends Va{constructor(e){super("tabster:modalizer:inactive",e)}}class Ya extends Va{constructor(){super("tabster:restorer:restore-focus")}}class Qa extends Va{constructor(e){super("tabster:root:focus",e)}}class en extends Va{constructor(e){super("tabster:root:blur",e)}}
/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */const tn={createMutationObserver:e=>new MutationObserver(e),createTreeWalker:(e,t,r,o)=>e.createTreeWalker(t,r,o),getParentNode:e=>e?e.parentNode:null,getParentElement:e=>e?e.parentElement:null,nodeContains:(e,t)=>!(!t||!(null==e?void 0:e.contains(t))),getActiveElement:e=>e.activeElement,querySelector:(e,t)=>e.querySelector(t),querySelectorAll:(e,t)=>Array.prototype.slice.call(e.querySelectorAll(t),0),getElementById:(e,t)=>e.getElementById(t),getFirstChild:e=>(null==e?void 0:e.firstChild)||null,getLastChild:e=>(null==e?void 0:e.lastChild)||null,getNextSibling:e=>(null==e?void 0:e.nextSibling)||null,getPreviousSibling:e=>(null==e?void 0:e.previousSibling)||null,getFirstElementChild:e=>(null==e?void 0:e.firstElementChild)||null,getLastElementChild:e=>(null==e?void 0:e.lastElementChild)||null,getNextElementSibling:e=>(null==e?void 0:e.nextElementSibling)||null,getPreviousElementSibling:e=>(null==e?void 0:e.previousElementSibling)||null,appendChild:(e,t)=>e.appendChild(t),insertBefore:(e,t,r)=>e.insertBefore(t,r),getSelection:e=>{var t;return(null===(t=e.ownerDocument)||void 0===t?void 0:t.getSelection())||null},getElementsByName:(e,t)=>e.ownerDocument.getElementsByName(t)};
/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */
let rn;const on="undefined"!=typeof DOMRect?DOMRect:class{constructor(e,t,r,o){this.left=e||0,this.top=t||0,this.right=(e||0)+(r||0),this.bottom=(t||0)+(o||0)}};let an=0;try{document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT),rn=!1}catch($P){rn=!0}function nn(e){const t=e();let r=t.__tabsterInstanceContext;return r||(r={elementByUId:{},basics:{Promise:t.Promise||void 0,WeakRef:t.WeakRef||void 0},containerBoundingRectCache:{},lastContainerBoundingRectCacheId:0,fakeWeakRefs:[],fakeWeakRefsStarted:!1},t.__tabsterInstanceContext=r),r}class sn{constructor(e){this._target=e}deref(){return this._target}static cleanup(e,t){return!e._target||!(!t&&bn(e._target.ownerDocument,e._target))&&(delete e._target,!0)}}class ln{constructor(e,t,r){const o=nn(e);let a;o.WeakRef?a=new o.WeakRef(t):(a=new sn(t),o.fakeWeakRefs.push(a)),this._ref=a,this._data=r}get(){const e=this._ref;let t;return e&&(t=e.deref(),t||delete this._ref),t}getData(){return this._data}}function cn(e,t){const r=nn(e);r.fakeWeakRefs=r.fakeWeakRefs.filter((e=>!sn.cleanup(e,t)))}function dn(e){const t=nn(e);t.fakeWeakRefsStarted||(t.fakeWeakRefsStarted=!0,t.WeakRef=function(e){return e.basics.WeakRef}(t)),t.fakeWeakRefsTimer||(t.fakeWeakRefsTimer=e().setTimeout((()=>{t.fakeWeakRefsTimer=void 0,cn(e),dn(e)}),12e4))}function un(e,t,r){if(t.nodeType!==Node.ELEMENT_NODE)return;const o=rn?r:{acceptNode:r};return tn.createTreeWalker(e,t,NodeFilter.SHOW_ELEMENT,o,!1)}function fn(e,t){let r=t.__tabsterCacheId;const o=nn(e),a=r?o.containerBoundingRectCache[r]:void 0;if(a)return a.rect;const n=t.ownerDocument&&t.ownerDocument.documentElement;if(!n)return new on;let i=0,s=0,l=n.clientWidth,c=n.clientHeight;if(t!==n){const e=t.getBoundingClientRect();i=Math.max(i,e.left),s=Math.max(s,e.top),l=Math.min(l,e.right),c=Math.min(c,e.bottom)}const d=new on(i<l?i:-1,s<c?s:-1,i<l?l-i:0,s<c?c-s:0);return r||(r="r-"+ ++o.lastContainerBoundingRectCacheId,t.__tabsterCacheId=r),o.containerBoundingRectCache[r]={rect:d,element:t},o.containerBoundingRectCacheTimer||(o.containerBoundingRectCacheTimer=window.setTimeout((()=>{o.containerBoundingRectCacheTimer=void 0;for(const e of Object.keys(o.containerBoundingRectCache))delete o.containerBoundingRectCache[e].element.__tabsterCacheId;o.containerBoundingRectCache={}}),50)),d}function pn(e,t,r){const o=hn(t);if(!o)return!1;const a=fn(e,o),n=t.getBoundingClientRect(),i=n.height*(1-r),s=Math.max(0,a.top-n.top)+Math.max(0,n.bottom-a.bottom);return 0===s||s<=i}function hn(e){const t=e.ownerDocument;if(t){for(let t=tn.getParentElement(e);t;t=tn.getParentElement(t))if(t.scrollWidth>t.clientWidth||t.scrollHeight>t.clientHeight)return t;return t.documentElement}return null}function gn(e){return!!e.__shouldIgnoreFocus}function vn(e,t){const r=nn(e);let o=t.__tabsterElementUID;return o||(o=t.__tabsterElementUID=function(e){const t=new Uint32Array(4);if(e.crypto&&e.crypto.getRandomValues)e.crypto.getRandomValues(t);else if(e.msCrypto&&e.msCrypto.getRandomValues)e.msCrypto.getRandomValues(t);else for(let o=0;o<t.length;o++)t[o]=4294967295*Math.random();const r=[];for(let o=0;o<t.length;o++)r.push(t[o].toString(36));return r.push("|"),r.push((++an).toString(36)),r.push("|"),r.push(Date.now().toString(36)),r.join("")}(e())),!r.elementByUId[o]&&bn(t.ownerDocument,t)&&(r.elementByUId[o]=new ln(e,t)),o}function mn(e,t){const r=nn(e);for(const o of Object.keys(r.elementByUId)){const e=r.elementByUId[o],a=e&&e.get();a&&t&&!tn.nodeContains(t,a)||delete r.elementByUId[o]}}function bn(e,t){return tn.nodeContains(null==e?void 0:e.body,t)}function xn(e,t){const r=e.matches||e.matchesSelector||e.msMatchesSelector||e.webkitMatchesSelector;return r&&r.call(e,t)}let yn=0;class wn{constructor(e,t,r){const o=e.getWindow;this._tabster=e,this._element=new ln(o,t),this._props={...r},this.id="i"+ ++yn}getElement(){return this._element.get()}getProps(){return this._props}setProps(e){this._props={...e}}}class kn{constructor(e,t,r,o,a){var n;this._focusIn=e=>{if(this._fixedTarget){const e=this._fixedTarget.get();return void(e&&ha(e))}const t=this.input;if(this.onFocusIn&&t){const r=e.relatedTarget;this.onFocusIn(this,this._isBackward(!0,t,r),r)}},this._focusOut=e=>{if(this._fixedTarget)return;this.useDefaultAction=!1;const t=this.input;if(this.onFocusOut&&t){const r=e.relatedTarget;this.onFocusOut(this,this._isBackward(!1,t,r),r)}};const i=e(),s=i.document.createElement("i");s.tabIndex=0,s.setAttribute("role","none"),s.setAttribute("data-tabster-dummy",""),s.setAttribute("aria-hidden","true");const l=s.style;l.position="fixed",l.width=l.height="1px",l.opacity="0.001",l.zIndex="-1",l.setProperty("content-visibility","hidden"),function(e){e.__shouldIgnoreFocus=!0}(s),this.input=s,this.isFirst=r.isFirst,this.isOutside=t,this._isPhantom=null!==(n=r.isPhantom)&&void 0!==n&&n,this._fixedTarget=a,s.addEventListener("focusin",this._focusIn),s.addEventListener("focusout",this._focusOut),s.__tabsterDummyContainer=o,this._isPhantom&&(this._disposeTimer=i.setTimeout((()=>{delete this._disposeTimer,this.dispose()}),0),this._clearDisposeTimeout=()=>{this._disposeTimer&&(i.clearTimeout(this._disposeTimer),delete this._disposeTimer),delete this._clearDisposeTimeout})}dispose(){var e;this._clearDisposeTimeout&&this._clearDisposeTimeout();const t=this.input;t&&(delete this._fixedTarget,delete this.onFocusIn,delete this.onFocusOut,delete this.input,t.removeEventListener("focusin",this._focusIn),t.removeEventListener("focusout",this._focusOut),delete t.__tabsterDummyContainer,null===(e=tn.getParentNode(t))||void 0===e||e.removeChild(t))}setTopLeft(e,t){var r;const o=null===(r=this.input)||void 0===r?void 0:r.style;o&&(o.top=`${e}px`,o.left=`${t}px`)}_isBackward(e,t,r){return e&&!r?!this.isFirst:!!(r&&t.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_FOLLOWING)}}const Bn=1,Sn=2,_n=3,Nn=4;class zn{constructor(e,t,r,o,a,n){this._element=t,this._instance=new Tn(e,t,this,r,o,a,n)}_setHandlers(e,t){this._onFocusIn=e,this._onFocusOut=t}moveOut(e){var t;null===(t=this._instance)||void 0===t||t.moveOut(e)}moveOutWithDefaultAction(e,t){var r;null===(r=this._instance)||void 0===r||r.moveOutWithDefaultAction(e,t)}getHandler(e){return e?this._onFocusIn:this._onFocusOut}setTabbable(e){var t;null===(t=this._instance)||void 0===t||t.setTabbable(this,e)}dispose(){this._instance&&(this._instance.dispose(this),delete this._instance),delete this._onFocusIn,delete this._onFocusOut}static moveWithPhantomDummy(e,t,r,o,a){const n=new kn(e.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(n){let i,s;if("BODY"===t.tagName)i=t,s=r&&o||!r&&!o?tn.getFirstElementChild(t):null;else{let a,n;r&&(!o||o&&!e.focusable.isFocusable(t,!1,!0,!0))?(i=t,s=o?t.firstElementChild:null):(i=tn.getParentElement(t),s=r&&o||!r&&!o?t:tn.getNextElementSibling(t));do{a=r&&o||!r&&!o?tn.getPreviousElementSibling(s):s,n=En(a),n===t?s=r&&o||!r&&!o?a:tn.getNextElementSibling(a):n=null}while(n)}(null==i?void 0:i.dispatchEvent(new Wa({by:"root",owner:i,next:null,relatedEvent:a})))&&(tn.insertBefore(i,n,s),ha(n))}}static addPhantomDummyWithTarget(e,t,r,o){const a=new kn(e.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new ln(e.getWindow,o)).input;if(a){let e,o;t.querySelector(ya)&&!r?(e=t,o=tn.getFirstElementChild(t)):(e=tn.getParentElement(t),o=r?t:tn.getNextElementSibling(t)),e&&tn.insertBefore(e,a,o)}}}class jn{constructor(e){this._updateQueue=new Set,this._lastUpdateQueueTime=0,this._changedParents=new WeakSet,this._dummyElements=[],this._dummyCallbacks=new WeakMap,this._domChanged=e=>{var t;this._changedParents.has(e)||(this._changedParents.add(e),this._updateDummyInputsTimer||(this._updateDummyInputsTimer=null===(t=this._win)||void 0===t?void 0:t.call(this).setTimeout((()=>{delete this._updateDummyInputsTimer;for(const e of this._dummyElements){const t=e.get();if(t){const e=this._dummyCallbacks.get(t);if(e){const r=tn.getParentNode(t);r&&!this._changedParents.has(r)||e()}}}this._changedParents=new WeakSet}),100)))},this._win=e}add(e,t){!this._dummyCallbacks.has(e)&&this._win&&(this._dummyElements.push(new ln(this._win,e)),this._dummyCallbacks.set(e,t),this.domChanged=this._domChanged)}remove(e){this._dummyElements=this._dummyElements.filter((t=>{const r=t.get();return r&&r!==e})),this._dummyCallbacks.delete(e),0===this._dummyElements.length&&delete this.domChanged}dispose(){var e;const t=null===(e=this._win)||void 0===e?void 0:e.call(this);this._updateTimer&&(null==t||t.clearTimeout(this._updateTimer),delete this._updateTimer),this._updateDummyInputsTimer&&(null==t||t.clearTimeout(this._updateDummyInputsTimer),delete this._updateDummyInputsTimer),this._changedParents=new WeakSet,this._dummyCallbacks=new WeakMap,this._dummyElements=[],this._updateQueue.clear(),delete this.domChanged,delete this._win}updatePositions(e){this._win&&(this._updateQueue.add(e),this._lastUpdateQueueTime=Date.now(),this._scheduledUpdatePositions())}_scheduledUpdatePositions(){var e;this._updateTimer||(this._updateTimer=null===(e=this._win)||void 0===e?void 0:e.call(this).setTimeout((()=>{if(delete this._updateTimer,this._lastUpdateQueueTime+100<=Date.now()){const e=new Map,t=[];for(const r of this._updateQueue)t.push(r(e));this._updateQueue.clear();for(const r of t)r();e.clear()}else this._scheduledUpdatePositions()}),100))}}class Tn{constructor(e,t,r,o,a,n,i){this._wrappers=[],this._isOutside=!1,this._transformElements=new Set,this._onFocusIn=(e,t,r)=>{this._onFocus(!0,e,t,r)},this._onFocusOut=(e,t,r)=>{this._onFocus(!1,e,t,r)},this.moveOut=e=>{var t;const r=this._firstDummy,o=this._lastDummy;if(r&&o){this._ensurePosition();const a=r.input,n=o.input,i=null===(t=this._element)||void 0===t?void 0:t.get();if(a&&n&&i){let t;e?(a.tabIndex=0,t=a):(n.tabIndex=0,t=n),t&&ha(t)}}},this.moveOutWithDefaultAction=(e,t)=>{var r;const o=this._firstDummy,a=this._lastDummy;if(o&&a){this._ensurePosition();const n=o.input,i=a.input,s=null===(r=this._element)||void 0===r?void 0:r.get();if(n&&i&&s){let r;e?!o.isOutside&&this._tabster.focusable.isFocusable(s,!0,!0,!0)?r=s:(o.useDefaultAction=!0,n.tabIndex=0,r=n):(a.useDefaultAction=!0,i.tabIndex=0,r=i),r&&s.dispatchEvent(new Wa({by:"root",owner:s,next:null,relatedEvent:t}))&&ha(r)}}},this.setTabbable=(e,t)=>{var r,o;for(const n of this._wrappers)if(n.manager===e){n.tabbable=t;break}const a=this._getCurrent();if(a){const e=a.tabbable?0:-1;let t=null===(r=this._firstDummy)||void 0===r?void 0:r.input;t&&(t.tabIndex=e),t=null===(o=this._lastDummy)||void 0===o?void 0:o.input,t&&(t.tabIndex=e)}},this._addDummyInputs=()=>{this._addTimer||(this._addTimer=this._getWindow().setTimeout((()=>{delete this._addTimer,this._ensurePosition(),this._addTransformOffsets()}),0))},this._addTransformOffsets=()=>{this._tabster._dummyObserver.updatePositions(this._computeTransformOffsets)},this._computeTransformOffsets=e=>{var t,r;const o=(null===(t=this._firstDummy)||void 0===t?void 0:t.input)||(null===(r=this._lastDummy)||void 0===r?void 0:r.input),a=this._transformElements,n=new Set;let i=0,s=0;const l=this._getWindow();for(let c=o;c&&c.nodeType===Node.ELEMENT_NODE;c=tn.getParentElement(c)){let t=e.get(c);if(void 0===t){const r=l.getComputedStyle(c).transform;r&&"none"!==r&&(t={scrollTop:c.scrollTop,scrollLeft:c.scrollLeft}),e.set(c,t||null)}t&&(n.add(c),a.has(c)||c.addEventListener("scroll",this._addTransformOffsets),i+=t.scrollTop,s+=t.scrollLeft)}for(const c of a)n.has(c)||c.removeEventListener("scroll",this._addTransformOffsets);return this._transformElements=n,()=>{var e,t;null===(e=this._firstDummy)||void 0===e||e.setTopLeft(i,s),null===(t=this._lastDummy)||void 0===t||t.setTopLeft(i,s)}};const s=t.get();if(!s)throw new Error("No element");this._tabster=e,this._getWindow=e.getWindow,this._callForDefaultAction=i;const l=s.__tabsterDummy;if((l||this)._wrappers.push({manager:r,priority:o,tabbable:!0}),l)return l;s.__tabsterDummy=this;const c=null==a?void 0:a.dummyInputsPosition,d=s.tagName;this._isOutside=c?c===La:(n||"UL"===d||"OL"===d||"TABLE"===d)&&!("LI"===d||"TD"===d||"TH"===d),this._firstDummy=new kn(this._getWindow,this._isOutside,{isFirst:!0},t),this._lastDummy=new kn(this._getWindow,this._isOutside,{isFirst:!1},t);const u=this._firstDummy.input;u&&e._dummyObserver.add(u,this._addDummyInputs),this._firstDummy.onFocusIn=this._onFocusIn,this._firstDummy.onFocusOut=this._onFocusOut,this._lastDummy.onFocusIn=this._onFocusIn,this._lastDummy.onFocusOut=this._onFocusOut,this._element=t,this._addDummyInputs()}dispose(e,t){var r,o,a,n;if(0===(this._wrappers=this._wrappers.filter((r=>r.manager!==e&&!t))).length){delete(null===(r=this._element)||void 0===r?void 0:r.get()).__tabsterDummy;for(const r of this._transformElements)r.removeEventListener("scroll",this._addTransformOffsets);this._transformElements.clear();const e=this._getWindow();this._addTimer&&(e.clearTimeout(this._addTimer),delete this._addTimer);const t=null===(o=this._firstDummy)||void 0===o?void 0:o.input;t&&this._tabster._dummyObserver.remove(t),null===(a=this._firstDummy)||void 0===a||a.dispose(),null===(n=this._lastDummy)||void 0===n||n.dispose()}}_onFocus(e,t,r,o){var a;const n=this._getCurrent();!n||t.useDefaultAction&&!this._callForDefaultAction||null===(a=n.manager.getHandler(e))||void 0===a||a(t,r,o)}_getCurrent(){return this._wrappers.sort(((e,t)=>e.tabbable!==t.tabbable?e.tabbable?-1:1:e.priority-t.priority)),this._wrappers[0]}_ensurePosition(){var e,t,r;const o=null===(e=this._element)||void 0===e?void 0:e.get(),a=null===(t=this._firstDummy)||void 0===t?void 0:t.input,n=null===(r=this._lastDummy)||void 0===r?void 0:r.input;if(o&&a&&n)if(this._isOutside){const e=tn.getParentNode(o);if(e){const t=tn.getNextSibling(o);t!==n&&tn.insertBefore(e,n,t),tn.getPreviousElementSibling(o)!==a&&tn.insertBefore(e,a,o)}}else{tn.getLastElementChild(o)!==n&&tn.appendChild(o,n);const e=tn.getFirstElementChild(o);e&&e!==a&&e.parentNode&&tn.insertBefore(e.parentNode,a,e)}}}function Cn(e){let t=null;for(let r=tn.getLastElementChild(e);r;r=tn.getLastElementChild(r))t=r;return t||void 0}function Dn(e,t,r,o){const a=e.storageEntry(t,!0);let n=!1;if(!a.aug){if(void 0===o)return n;a.aug={}}if(void 0===o){if(r in a.aug){const e=a.aug[r];delete a.aug[r],null===e?t.removeAttribute(r):t.setAttribute(r,e),n=!0}}else{let e;r in a.aug||(e=t.getAttribute(r)),void 0!==e&&e!==o&&(a.aug[r]=e,null===o?t.removeAttribute(r):t.setAttribute(r,o),n=!0)}return void 0===o&&0===Object.keys(a.aug).length&&(delete a.aug,e.storageEntry(t,!1)),n}function Pn(e){return"INPUT"===e.tagName&&!!e.name&&"radio"===e.type}function En(e){var t;return(null===(t=null==e?void 0:e.__tabsterDummyContainer)||void 0===t?void 0:t.get())||null}
/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */function An(e,t){const r=JSON.stringify(e);return!0===t?r:{"data-tabster":r}}function Fn(e,t,r){let o;if(r){const t=e.getAttribute("data-tabster");if(t)try{o=JSON.parse(t)}catch($P){}}o||(o={}),function(e,t){for(const r of Object.keys(t)){const o=t[r];o?e[r]=o:delete e[r]}}(o,t),Object.keys(o).length>0?e.setAttribute("data-tabster",An(o,!0)):e.removeAttribute("data-tabster")}class Rn extends zn{constructor(e,t,r,o){super(e,t,Bn,o,void 0,!0),this._onDummyInputFocus=e=>{var t;if(e.useDefaultAction)this._setFocused(!1);else{this._tabster.keyboardNavigation.setNavigatingWithKeyboard(!0);const r=this._element.get();if(r){this._setFocused(!0);const t=this._tabster.focusedElement.getFirstOrLastTabbable(e.isFirst,{container:r,ignoreAccessibility:!0});if(t)return void ha(t)}null===(t=e.input)||void 0===t||t.blur()}},this._setHandlers(this._onDummyInputFocus),this._tabster=e,this._setFocused=r}}class In extends wn{constructor(e,t,r,o,a){super(e,t,o),this._isFocused=!1,this._setFocused=e=>{var t;if(this._setFocusedTimer&&(this._tabster.getWindow().clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),this._isFocused===e)return;const r=this._element.get();r&&(e?(this._isFocused=!0,null===(t=this._dummyManager)||void 0===t||t.setTabbable(!1),r.dispatchEvent(new Qa({element:r}))):this._setFocusedTimer=this._tabster.getWindow().setTimeout((()=>{var e;delete this._setFocusedTimer,this._isFocused=!1,null===(e=this._dummyManager)||void 0===e||e.setTabbable(!0),r.dispatchEvent(new en({element:r}))}),0))},this._onFocusIn=e=>{const t=this._tabster.getParent,r=this._element.get();let o=e.composedPath()[0];do{if(o===r)return void this._setFocused(!0);o=o&&t(o)}while(o)},this._onFocusOut=()=>{this._setFocused(!1)},this._onDispose=r;const n=e.getWindow;this.uid=vn(n,t),this._sys=a,(e.controlTab||e.rootDummyInputs)&&this.addDummyInputs();const i=n().document;i.addEventListener("keyborg:focusin",this._onFocusIn),i.addEventListener("keyborg:focusout",this._onFocusOut),this._add()}addDummyInputs(){this._dummyManager||(this._dummyManager=new Rn(this._tabster,this._element,this._setFocused,this._sys))}dispose(){var e;this._onDispose(this);const t=this._tabster.getWindow(),r=t.document;r.removeEventListener("keyborg:focusin",this._onFocusIn),r.removeEventListener("keyborg:focusout",this._onFocusOut),this._setFocusedTimer&&(t.clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),null===(e=this._dummyManager)||void 0===e||e.dispose(),this._remove()}moveOutWithDefaultAction(e,t){const r=this._dummyManager;if(r)r.moveOutWithDefaultAction(e,t);else{const r=this.getElement();r&&Rn.moveWithPhantomDummy(this._tabster,r,!0,e,t)}}_add(){}_remove(){}}class Mn{constructor(e,t){this._autoRootWaiting=!1,this._roots={},this._forceDummy=!1,this.rootById={},this._autoRootCreate=()=>{var e;const t=this._win().document,r=t.body;if(r){this._autoRootUnwait(t);const o=this._autoRoot;if(o)return Fn(r,{root:o},!0),qa(this._tabster,r),null===(e=Oa(this._tabster,r))||void 0===e?void 0:e.root}else this._autoRootWaiting||(this._autoRootWaiting=!0,t.addEventListener("readystatechange",this._autoRootCreate))},this._onRootDispose=e=>{delete this._roots[e.id]},this._tabster=e,this._win=e.getWindow,this._autoRoot=t,e.queueInit((()=>{this._autoRoot&&this._autoRootCreate()}))}_autoRootUnwait(e){e.removeEventListener("readystatechange",this._autoRootCreate),this._autoRootWaiting=!1}dispose(){const e=this._win();this._autoRootUnwait(e.document),delete this._autoRoot,Object.keys(this._roots).forEach((e=>{this._roots[e]&&(this._roots[e].dispose(),delete this._roots[e])})),this.rootById={}}createRoot(e,t,r){const o=new In(this._tabster,e,this._onRootDispose,t,r);return this._roots[o.id]=o,this._forceDummy&&o.addDummyInputs(),o}addDummyInputs(){this._forceDummy=!0;const e=this._roots;for(const t of Object.keys(e))e[t].addDummyInputs()}static getRootByUId(e,t){const r=e().__tabsterInstance;return r&&r.root.rootById[t]}static getTabsterContext(e,t,r){var o,a,n,i;if(void 0===r&&(r={}),!t.ownerDocument)return;const{checkRtl:s,referenceElement:l}=r,c=e.getParent;let d,u,f,p;e.drainInitQueue();let h,g,v,m,b=!1,x=l||t;const y={};for(;x&&(!d||s);){const r=Oa(e,x);if(s&&void 0===v){const e=x.dir;e&&(v="rtl"===e.toLowerCase())}if(!r){x=c(x);continue}const i=x.tagName;(r.uncontrolled||"IFRAME"===i||"WEBVIEW"===i)&&e.focusable.isVisible(x)&&(m=x),p||!(null===(o=r.focusable)||void 0===o?void 0:o.excludeFromMover)||f||(b=!0);const l=r.modalizer,w=r.groupper,k=r.mover;!u&&l&&(u=l),f||!w||u&&!l||(u?(!w.isActive()&&w.getProps().tabbability&&u.userId!==(null===(a=e.modalizer)||void 0===a?void 0:a.activeId)&&(u=void 0,f=w),g=w):f=w),p||!k||u&&!l||w&&x===t||!x.contains(t)||(p=k,h=!!f&&f!==w),r.root&&(d=r.root),(null===(n=r.focusable)||void 0===n?void 0:n.ignoreKeydown)&&Object.assign(y,r.focusable.ignoreKeydown),x=c(x)}if(!d){const r=e.root;r._autoRoot&&(null===(i=t.ownerDocument)||void 0===i?void 0:i.body)&&(d=r._autoRootCreate())}f&&!p&&(h=!0);return d?{root:d,modalizer:u,groupper:f,mover:p,groupperBeforeMover:h,modalizerInGroupper:g,rtl:s?!!v:void 0,uncontrolled:m,excludedFromMover:b,ignoreKeydown:e=>!!y[e.key]}:void 0}static getRoot(e,t){var r;const o=e.getParent;for(let a=t;a;a=o(a)){const t=null===(r=Oa(e,a))||void 0===r?void 0:r.root;if(t)return t}}onRoot(e,t){t?delete this.rootById[e.uid]:this.rootById[e.uid]=e}}
/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */class Ln{constructor(){this._callbacks=[]}dispose(){this._callbacks=[],delete this._val}subscribe(e){const t=this._callbacks;t.indexOf(e)<0&&t.push(e)}subscribeFirst(e){const t=this._callbacks,r=t.indexOf(e);r>=0&&t.splice(r,1),t.unshift(e)}unsubscribe(e){const t=this._callbacks.indexOf(e);t>=0&&this._callbacks.splice(t,1)}setVal(e,t){this._val!==e&&(this._val=e,this._callCallbacks(e,t))}getVal(){return this._val}trigger(e,t){this._callCallbacks(e,t)}_callCallbacks(e,t){this._callbacks.forEach((r=>r(e,t)))}}
/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */class On{constructor(e){this._tabster=e}dispose(){}getProps(e){const t=Oa(this._tabster,e);return t&&t.focusable||{}}isFocusable(e,t,r,o){return!(!xn(e,ya)||!t&&-1===e.tabIndex)&&((r||this.isVisible(e))&&(o||this.isAccessible(e)))}isVisible(e){if(!e.ownerDocument||e.nodeType!==Node.ELEMENT_NODE)return!1;if(function(e){var t,r;const o=e.ownerDocument,a=null===(t=o.defaultView)||void 0===t?void 0:t.getComputedStyle(e);if(null===e.offsetParent&&o.body!==e&&"fixed"!==(null==a?void 0:a.position))return!0;if("hidden"===(null==a?void 0:a.visibility))return!0;if("fixed"===(null==a?void 0:a.position)){if("none"===a.display)return!0;if(null===(null===(r=e.parentElement)||void 0===r?void 0:r.offsetParent)&&o.body!==e.parentElement)return!0}return!1}(e))return!1;const t=e.ownerDocument.body.getBoundingClientRect();return 0!==t.width||0!==t.height}isAccessible(e){var t;for(let r=e;r;r=tn.getParentElement(r)){const e=Oa(this._tabster,r);if(this._isHidden(r))return!1;if(!(null===(t=null==e?void 0:e.focusable)||void 0===t?void 0:t.ignoreAriaDisabled)&&this._isDisabled(r))return!1}return!0}_isDisabled(e){return e.hasAttribute("disabled")}_isHidden(e){var t;const r=e.getAttribute("aria-hidden");return!(!r||"true"!==r.toLowerCase()||(null===(t=this._tabster.modalizer)||void 0===t?void 0:t.isAugmented(e)))}findFirst(e,t){return this.findElement({...e},t)}findLast(e,t){return this.findElement({isBackward:!0,...e},t)}findNext(e,t){return this.findElement({...e},t)}findPrev(e,t){return this.findElement({...e,isBackward:!0},t)}findDefault(e,t){return this.findElement({...e,acceptCondition:t=>this.isFocusable(t,e.includeProgrammaticallyFocusable)&&!!this.getProps(t).isDefault},t)||null}findAll(e){return this._findElements(!0,e)||[]}findElement(e,t){const r=this._findElements(!1,e,t);return r?r[0]:r}_findElements(e,t,r){var o,a,n;const{container:i,currentElement:s=null,includeProgrammaticallyFocusable:l,useActiveModalizer:c,ignoreAccessibility:d,modalizerId:u,isBackward:f,onElement:p}=t;r||(r={});const h=[];let{acceptCondition:g}=t;const v=!!g;if(!i)return null;g||(g=e=>this.isFocusable(e,l,!1,d));const m={container:i,modalizerUserId:void 0===u&&c?null===(o=this._tabster.modalizer)||void 0===o?void 0:o.activeId:u||(null===(n=null===(a=Mn.getTabsterContext(this._tabster,i))||void 0===a?void 0:a.modalizer)||void 0===n?void 0:n.userId),from:s||i,isBackward:f,isFindAll:e,acceptCondition:g,hasCustomCondition:v,includeProgrammaticallyFocusable:l,ignoreAccessibility:d,cachedGrouppers:{},cachedRadioGroups:{}},b=un(i.ownerDocument,i,(e=>this._acceptElement(e,m)));if(!b)return null;const x=t=>{var o,a;const n=null!==(o=m.foundElement)&&void 0!==o?o:m.foundBackward;return n&&h.push(n),e?!(n&&(m.found=!1,delete m.foundElement,delete m.foundBackward,delete m.fromCtx,m.from=n,p&&!p(n)))&&!(!n&&!t):(n&&r&&(r.uncontrolled=null===(a=Mn.getTabsterContext(this._tabster,n))||void 0===a?void 0:a.uncontrolled),!(!t||n))};if(s||(r.outOfDOMOrder=!0),s&&tn.nodeContains(i,s))b.currentNode=s;else if(f){const e=Cn(i);if(!e)return null;if(this._acceptElement(e,m)===NodeFilter.FILTER_ACCEPT&&!x(!0))return m.skippedFocusable&&(r.outOfDOMOrder=!0),h;b.currentNode=e}do{f?b.previousNode():b.nextNode()}while(x());return m.skippedFocusable&&(r.outOfDOMOrder=!0),h.length?h:null}_acceptElement(e,t){var r,o,a;if(t.found)return NodeFilter.FILTER_ACCEPT;const n=t.foundBackward;if(n&&(e===n||!tn.nodeContains(n,e)))return t.found=!0,t.foundElement=n,NodeFilter.FILTER_ACCEPT;const i=t.container;if(e===i)return NodeFilter.FILTER_SKIP;if(!tn.nodeContains(i,e))return NodeFilter.FILTER_REJECT;if(En(e))return NodeFilter.FILTER_REJECT;if(tn.nodeContains(t.rejectElementsFrom,e))return NodeFilter.FILTER_REJECT;const s=t.currentCtx=Mn.getTabsterContext(this._tabster,e);if(!s)return NodeFilter.FILTER_SKIP;if(gn(e))return this.isFocusable(e,void 0,!0,!0)&&(t.skippedFocusable=!0),NodeFilter.FILTER_SKIP;if(!t.hasCustomCondition&&("IFRAME"===e.tagName||"WEBVIEW"===e.tagName))return this.isVisible(e)&&(null===(r=s.modalizer)||void 0===r?void 0:r.userId)===(null===(o=this._tabster.modalizer)||void 0===o?void 0:o.activeId)?(t.found=!0,t.rejectElementsFrom=t.foundElement=e,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT;if(!t.ignoreAccessibility&&!this.isAccessible(e))return this.isFocusable(e,!1,!0,!0)&&(t.skippedFocusable=!0),NodeFilter.FILTER_REJECT;let l,c=t.fromCtx;c||(c=t.fromCtx=Mn.getTabsterContext(this._tabster,t.from));const d=null==c?void 0:c.mover;let u=s.groupper,f=s.mover;if(l=null===(a=this._tabster.modalizer)||void 0===a?void 0:a.acceptElement(e,t),void 0!==l&&(t.skippedFocusable=!0),void 0===l&&(u||f||d)){const r=null==u?void 0:u.getElement(),o=null==d?void 0:d.getElement();let a=null==f?void 0:f.getElement();if(a&&tn.nodeContains(o,a)&&tn.nodeContains(i,o)&&(!r||!f||tn.nodeContains(o,r))&&(f=d,a=o),r)if(r!==i&&tn.nodeContains(i,r)){if(!tn.nodeContains(r,e))return NodeFilter.FILTER_REJECT}else u=void 0;if(a)if(tn.nodeContains(i,a)){if(!tn.nodeContains(a,e))return NodeFilter.FILTER_REJECT}else f=void 0;u&&f&&(a&&r&&!tn.nodeContains(r,a)?f=void 0:u=void 0),u&&(l=u.acceptElement(e,t)),f&&(l=f.acceptElement(e,t))}if(void 0===l&&(l=t.acceptCondition(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,l===NodeFilter.FILTER_SKIP&&this.isFocusable(e,!1,!0,!0)&&(t.skippedFocusable=!0)),l===NodeFilter.FILTER_ACCEPT&&!t.found){if(!t.isFindAll&&Pn(e)&&!e.checked){const r=e.name;let o=t.cachedRadioGroups[r];if(o||(o=function(e){if(!Pn(e))return;const t=e.name;let r,o=Array.from(tn.getElementsByName(e,t));return o=o.filter((e=>!!Pn(e)&&(e.checked&&(r=e),!0))),{name:t,buttons:new Set(o),checked:r}}(e),o&&(t.cachedRadioGroups[r]=o)),(null==o?void 0:o.checked)&&o.checked!==e)return NodeFilter.FILTER_SKIP}t.isBackward?(t.foundBackward=e,l=NodeFilter.FILTER_SKIP):(t.found=!0,t.foundElement=e)}return l}}
/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */const qn="Tab",Hn="Enter",Vn="Escape",Zn="PageUp",$n="PageDown",Wn="End",Un="Home",Gn="ArrowLeft",Xn="ArrowUp",Kn="ArrowRight",Jn="ArrowDown";
/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */const Yn={[ka]:0,[Ba]:1,[wa]:2};class Qn extends Ln{constructor(e,t){super(),this._init=()=>{const e=this._win(),t=e.document;t.addEventListener("keyborg:focusin",this._onFocusIn,!0),t.addEventListener("keyborg:focusout",this._onFocusOut,!0),e.addEventListener("keydown",this._onKeyDown,!0);const r=tn.getActiveElement(t);r&&r!==t.body&&this._setFocusedElement(r),this.subscribe(this._onChanged)},this._onFocusIn=e=>{const t=e.composedPath()[0];t&&this._setFocusedElement(t,e.detail.relatedTarget,e.detail.isFocusedProgrammatically)},this._onFocusOut=e=>{var t;this._setFocusedElement(void 0,null===(t=e.detail)||void 0===t?void 0:t.originalEvent.relatedTarget)},this._validateFocusedElement=e=>{},this._onKeyDown=e=>{if(e.key!==qn||e.ctrlKey)return;const t=this.getVal();if(!t||!t.ownerDocument||"true"===t.contentEditable)return;const r=this._tabster,o=r.controlTab,a=Mn.getTabsterContext(r,t);if(!a||a.ignoreKeydown(e))return;const n=e.shiftKey,i=Qn.findNextTabbable(r,a,void 0,t,void 0,n,!0),s=a.root.getElement();if(!s)return;const l=null==i?void 0:i.element,c=function(e,t){var r;const o=e.getParent;let a=t;do{const t=null===(r=Oa(e,a))||void 0===r?void 0:r.uncontrolled;if(t&&e.uncontrolled.isUncontrolledCompletely(a,!!t.completely))return a;a=o(a)}while(a)}(r,t);if(l){const d=i.uncontrolled;if(a.uncontrolled||tn.nodeContains(d,t)){if(!i.outOfDOMOrder&&d===a.uncontrolled||c&&!tn.nodeContains(c,l))return;return void zn.addPhantomDummyWithTarget(r,t,n,l)}if(d&&r.focusable.isVisible(d)||"IFRAME"===l.tagName&&r.focusable.isVisible(l))return void(s.dispatchEvent(new Wa({by:"root",owner:s,next:l,relatedEvent:e}))&&zn.moveWithPhantomDummy(r,null!=d?d:l,!1,n,e));(o||(null==i?void 0:i.outOfDOMOrder))&&s.dispatchEvent(new Wa({by:"root",owner:s,next:l,relatedEvent:e}))&&(e.preventDefault(),e.stopImmediatePropagation(),ha(l))}else!c&&s.dispatchEvent(new Wa({by:"root",owner:s,next:null,relatedEvent:e}))&&a.root.moveOutWithDefaultAction(n,e)},this._onChanged=(e,t)=>{var r,o;if(e)e.dispatchEvent(new Za(t));else{const e=null===(r=this._lastVal)||void 0===r?void 0:r.get();if(e){const r={...t},a=Mn.getTabsterContext(this._tabster,e),n=null===(o=null==a?void 0:a.modalizer)||void 0===o?void 0:o.userId;n&&(r.modalizerId=n),e.dispatchEvent(new $a(r))}}},this._tabster=e,this._win=t,e.queueInit(this._init)}dispose(){super.dispose();const e=this._win(),t=e.document;t.removeEventListener("keyborg:focusin",this._onFocusIn,!0),t.removeEventListener("keyborg:focusout",this._onFocusOut,!0),e.removeEventListener("keydown",this._onKeyDown,!0),this.unsubscribe(this._onChanged);const r=this._asyncFocus;r&&(e.clearTimeout(r.timeout),delete this._asyncFocus),delete Qn._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(e,t){var r,o;let a=Qn._lastResetElement,n=a&&a.get();n&&tn.nodeContains(t,n)&&delete Qn._lastResetElement,n=null===(o=null===(r=e._nextVal)||void 0===r?void 0:r.element)||void 0===o?void 0:o.get(),n&&tn.nodeContains(t,n)&&delete e._nextVal,a=e._lastVal,n=a&&a.get(),n&&tn.nodeContains(t,n)&&delete e._lastVal}getFocusedElement(){return this.getVal()}getLastFocusedElement(){var e;let t=null===(e=this._lastVal)||void 0===e?void 0:e.get();return(!t||t&&!bn(t.ownerDocument,t))&&(this._lastVal=t=void 0),t}focus(e,t,r,o){return!!this._tabster.focusable.isFocusable(e,t,!1,r)&&(e.focus({preventScroll:o}),!0)}focusDefault(e){const t=this._tabster.focusable.findDefault({container:e});return!!t&&(this._tabster.focusedElement.focus(t),!0)}getFirstOrLastTabbable(e,t){var r;const{container:o,ignoreAccessibility:a}=t;let n;if(o){const t=Mn.getTabsterContext(this._tabster,o);t&&(n=null===(r=Qn.findNextTabbable(this._tabster,t,o,void 0,void 0,!e,a))||void 0===r?void 0:r.element)}return n&&!tn.nodeContains(o,n)&&(n=void 0),n||void 0}_focusFirstOrLast(e,t){const r=this.getFirstOrLastTabbable(e,t);return!!r&&(this.focus(r,!1,!0),!0)}focusFirst(e){return this._focusFirstOrLast(!0,e)}focusLast(e){return this._focusFirstOrLast(!1,e)}resetFocus(e){if(!this._tabster.focusable.isVisible(e))return!1;if(this._tabster.focusable.isFocusable(e,!0,!0,!0))this.focus(e);else{const t=e.getAttribute("tabindex"),r=e.getAttribute("aria-hidden");e.tabIndex=-1,e.setAttribute("aria-hidden","true"),Qn._lastResetElement=new ln(this._win,e),this.focus(e,!0,!0),this._setOrRemoveAttribute(e,"tabindex",t),this._setOrRemoveAttribute(e,"aria-hidden",r)}return!0}requestAsyncFocus(e,t,r){const o=this._tabster.getWindow(),a=this._asyncFocus;if(a){if(Yn[e]>Yn[a.source])return;o.clearTimeout(a.timeout)}this._asyncFocus={source:e,callback:t,timeout:o.setTimeout((()=>{this._asyncFocus=void 0,t()}),r)}}cancelAsyncFocus(e){const t=this._asyncFocus;(null==t?void 0:t.source)===e&&(this._tabster.getWindow().clearTimeout(t.timeout),this._asyncFocus=void 0)}_setOrRemoveAttribute(e,t,r){null===r?e.removeAttribute(t):e.setAttribute(t,r)}_setFocusedElement(e,t,r){var o,a;if(this._tabster._noop)return;const n={relatedTarget:t};if(e){const t=null===(o=Qn._lastResetElement)||void 0===o?void 0:o.get();if(Qn._lastResetElement=void 0,t===e||gn(e))return;n.isFocusedProgrammatically=r;const i=Mn.getTabsterContext(this._tabster,e),s=null===(a=null==i?void 0:i.modalizer)||void 0===a?void 0:a.userId;s&&(n.modalizerId=s)}const i=this._nextVal={element:e?new ln(this._win,e):void 0,detail:n};e&&e!==this._val&&this._validateFocusedElement(e),this._nextVal===i&&this.setVal(e,n),this._nextVal=void 0}setVal(e,t){super.setVal(e,t),e&&(this._lastVal=new ln(this._win,e))}static findNextTabbable(e,t,r,o,a,n,i){const s=r||t.root.getElement();if(!s)return null;let l=null;const c=Qn._isTabbingTimer,d=e.getWindow();c&&d.clearTimeout(c),Qn.isTabbing=!0,Qn._isTabbingTimer=d.setTimeout((()=>{delete Qn._isTabbingTimer,Qn.isTabbing=!1}),0);const u=t.modalizer,f=t.groupper,p=t.mover,h=t=>{if(l=t.findNextTabbable(o,a,n,i),o&&!(null==l?void 0:l.element)){const a=t!==u&&tn.getParentElement(t.getElement());if(a){const s=Mn.getTabsterContext(e,o,{referenceElement:a});if(s){const o=t.getElement(),c=n?o:o&&Cn(o)||o;c&&(l=Qn.findNextTabbable(e,s,r,c,a,n,i),l&&(l.outOfDOMOrder=!0))}}}};if(f&&p)h(t.groupperBeforeMover?f:p);else if(f)h(f);else if(p)h(p);else if(u)h(u);else{const t={container:s,currentElement:o,referenceElement:a,ignoreAccessibility:i,useActiveModalizer:!0},r={},c=e.focusable[n?"findPrev":"findNext"](t,r);l={element:c,outOfDOMOrder:r.outOfDOMOrder,uncontrolled:r.uncontrolled}}return l}}Qn.isTabbing=!1;
/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */
class ei extends zn{constructor(e,t,r,o){super(r,e,Nn,o,!0),this._setHandlers(((o,a,n)=>{var i,s;const l=e.get(),c=o.input;if(l&&c){const e=Mn.getTabsterContext(r,c);if(e){let d;d=null===(i=t.findNextTabbable(n||void 0,void 0,a,!0))||void 0===i?void 0:i.element,d||(d=null===(s=Qn.findNextTabbable(r,e,void 0,o.isOutside?c:function(e,t){let r=e,o=null;for(;r&&!o;)o=t?tn.getPreviousElementSibling(r):tn.getNextElementSibling(r),r=tn.getParentElement(r);return o||void 0}(l,!a),void 0,a,!0))||void 0===s?void 0:s.element),d&&ha(d)}}}))}}class ti extends wn{constructor(e,t,r,o,a){super(e,t,o),this._shouldTabInside=!1,this.makeTabbable(!1),this._onDispose=r,e.controlTab||(this.dummyManager=new ei(this._element,this,e,a))}dispose(){var e;this._onDispose(this),this._element.get(),null===(e=this.dummyManager)||void 0===e||e.dispose(),delete this.dummyManager,delete this._first}findNextTabbable(e,t,r,o){const a=this.getElement();if(!a)return null;const n=En(e)===a;if(!this._shouldTabInside&&e&&tn.nodeContains(a,e)&&!n)return{element:void 0,outOfDOMOrder:!0};const i=this.getFirst(!0);if(!e||!tn.nodeContains(a,e)||n)return{element:i,outOfDOMOrder:!0};const s=this._tabster;let l,c=null,d=!1;if(this._shouldTabInside&&i){const n={container:a,currentElement:e,referenceElement:t,ignoreAccessibility:o,useActiveModalizer:!0},i={};c=s.focusable[r?"findPrev":"findNext"](n,i),d=!!i.outOfDOMOrder,c||this._props.tabbability!==Ia||(c=s.focusable[r?"findLast":"findFirst"]({container:a,ignoreAccessibility:o,useActiveModalizer:!0},i),d=!0),l=i.uncontrolled}return{element:c,uncontrolled:l,outOfDOMOrder:d}}makeTabbable(e){this._shouldTabInside=e||!this._props.tabbability}isActive(e){var t;const r=this.getElement()||null;let o=!0;for(let n=tn.getParentElement(r);n;n=tn.getParentElement(n)){const e=null===(t=Oa(this._tabster,n))||void 0===t?void 0:t.groupper;e&&(e._shouldTabInside||(o=!1))}let a=o?!!this._props.tabbability&&this._shouldTabInside:void 0;if(a&&e){const e=this._tabster.focusedElement.getFocusedElement();e&&(a=e!==this.getFirst(!0))}return a}getFirst(e){var t;const r=this.getElement();let o;if(r){if(e&&this._tabster.focusable.isFocusable(r))return r;o=null===(t=this._first)||void 0===t?void 0:t.get(),o||(o=this._tabster.focusable.findFirst({container:r,useActiveModalizer:!0})||void 0,o&&this.setFirst(o))}return o}setFirst(e){e?this._first=new ln(this._tabster.getWindow,e):delete this._first}acceptElement(e,t){const r=t.cachedGrouppers,o=tn.getParentElement(this.getElement()),a=o&&Mn.getTabsterContext(this._tabster,o),n=null==a?void 0:a.groupper,i=(null==a?void 0:a.groupperBeforeMover)?n:void 0;let s;const l=e=>{let t,o=r[e.id];return o?t=o.isActive:(t=this.isActive(!0),o=r[e.id]={isActive:t}),t};if(i&&(s=i.getElement(),!l(i)&&s&&t.container!==s&&tn.nodeContains(t.container,s)))return t.skippedFocusable=!0,NodeFilter.FILTER_REJECT;const c=l(this),d=this.getElement();if(d&&!0!==c){if(d===e&&n&&(s||(s=n.getElement()),s&&!l(n)&&tn.nodeContains(t.container,s)&&s!==t.container))return t.skippedFocusable=!0,NodeFilter.FILTER_REJECT;if(d!==e&&tn.nodeContains(d,e))return t.skippedFocusable=!0,NodeFilter.FILTER_REJECT;const o=r[this.id];let a;if(a="first"in o?o.first:o.first=this.getFirst(!0),a&&t.acceptCondition(a))return t.rejectElementsFrom=d,t.skippedFocusable=!0,a!==t.from?(t.found=!0,t.foundElement=a,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT}}}class ri{constructor(e,t){this._current={},this._grouppers={},this._init=()=>{const e=this._win();this._tabster.focusedElement.subscribeFirst(this._onFocus);const t=e.document,r=tn.getActiveElement(t);r&&this._onFocus(r),t.addEventListener("mousedown",this._onMouseDown,!0),e.addEventListener("keydown",this._onKeyDown,!0),e.addEventListener("tabster:groupper:movefocus",this._onMoveFocus)},this._onGroupperDispose=e=>{delete this._grouppers[e.id]},this._onFocus=e=>{e&&this._updateCurrent(e)},this._onMouseDown=e=>{let t=e.target;for(;t&&!this._tabster.focusable.isFocusable(t);)t=this._tabster.getParent(t);t&&this._updateCurrent(t)},this._onKeyDown=e=>{if(e.key!==Hn&&e.key!==Vn)return;if(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey)return;const t=this._tabster.focusedElement.getFocusedElement();t&&this.handleKeyPress(t,e)},this._onMoveFocus=e=>{var t;const r=e.composedPath()[0],o=null===(t=e.detail)||void 0===t?void 0:t.action;r&&void 0!==o&&!e.defaultPrevented&&(o===Ma.Enter?this._enterGroupper(r):this._escapeGroupper(r),e.stopImmediatePropagation())},this._tabster=e,this._win=t,e.queueInit(this._init)}dispose(){const e=this._win();this._tabster.focusedElement.cancelAsyncFocus(wa),this._current={},this._updateTimer&&(e.clearTimeout(this._updateTimer),delete this._updateTimer),this._tabster.focusedElement.unsubscribe(this._onFocus),e.document.removeEventListener("mousedown",this._onMouseDown,!0),e.removeEventListener("keydown",this._onKeyDown,!0),e.removeEventListener("tabster:groupper:movefocus",this._onMoveFocus),Object.keys(this._grouppers).forEach((e=>{this._grouppers[e]&&(this._grouppers[e].dispose(),delete this._grouppers[e])}))}createGroupper(e,t,r){const o=this._tabster,a=new ti(o,e,this._onGroupperDispose,t,r);this._grouppers[a.id]=a;const n=o.focusedElement.getFocusedElement();return n&&tn.nodeContains(e,n)&&!this._updateTimer&&(this._updateTimer=this._win().setTimeout((()=>{delete this._updateTimer,n===o.focusedElement.getFocusedElement()&&this._updateCurrent(n)}),0)),a}forgetCurrentGrouppers(){this._current={}}_updateCurrent(e){var t;this._updateTimer&&(this._win().clearTimeout(this._updateTimer),delete this._updateTimer);const r=this._tabster,o={};for(let a=r.getParent(e);a;a=r.getParent(a)){const n=null===(t=Oa(r,a))||void 0===t?void 0:t.groupper;if(n){o[n.id]=!0,this._current[n.id]=n;const t=n.isActive()||e!==a&&(!n.getProps().delegated||n.getFirst(!1)!==e);n.makeTabbable(t)}}for(const a of Object.keys(this._current)){const e=this._current[a];e.id in o||(e.makeTabbable(!1),e.setFirst(void 0),delete this._current[a])}}_enterGroupper(e,t){const r=this._tabster,o=Mn.getTabsterContext(r,e),a=(null==o?void 0:o.groupper)||(null==o?void 0:o.modalizerInGroupper),n=null==a?void 0:a.getElement();if(a&&n&&(e===n||a.getProps().delegated&&e===a.getFirst(!1))){const o=r.focusable.findNext({container:n,currentElement:e,useActiveModalizer:!0});if(o&&(!t||t&&n.dispatchEvent(new Wa({by:"groupper",owner:n,next:o,relatedEvent:t}))))return t&&(t.preventDefault(),t.stopImmediatePropagation()),o.focus(),o}return null}_escapeGroupper(e,t,r){const o=this._tabster,a=Mn.getTabsterContext(o,e);let n=(null==a?void 0:a.groupper)||(null==a?void 0:a.modalizerInGroupper);const i=null==n?void 0:n.getElement();if(n&&i&&tn.nodeContains(i,e)){let a;if(e!==i||r)a=n.getFirst(!0);else{const e=tn.getParentElement(i),t=e?Mn.getTabsterContext(o,e):void 0;n=null==t?void 0:t.groupper,a=null==n?void 0:n.getFirst(!0)}if(a&&(!t||t&&i.dispatchEvent(new Wa({by:"groupper",owner:i,next:a,relatedEvent:t}))))return n&&n.makeTabbable(!1),a.focus(),a}return null}moveFocus(e,t){return t===Ma.Enter?this._enterGroupper(e):this._escapeGroupper(e)}handleKeyPress(e,t,r){const o=this._tabster,a=Mn.getTabsterContext(o,e);if(a&&((null==a?void 0:a.groupper)||(null==a?void 0:a.modalizerInGroupper))){if(o.focusedElement.cancelAsyncFocus(wa),a.ignoreKeydown(t))return;if(t.key===Hn)this._enterGroupper(e,t);else if(t.key===Vn){const a=o.focusedElement.getFocusedElement();o.focusedElement.requestAsyncFocus(wa,(()=>{(a===o.focusedElement.getFocusedElement()||(!r||a)&&r)&&this._escapeGroupper(e,t,r)}),0)}}}}
/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */class oi extends Ln{constructor(e){super(),this._onChange=e=>{this.setVal(e,void 0)},this._keyborg=ma(e()),this._keyborg.subscribe(this._onChange)}dispose(){super.dispose(),this._keyborg&&(this._keyborg.unsubscribe(this._onChange),ba(this._keyborg),delete this._keyborg)}setNavigatingWithKeyboard(e){var t;null===(t=this._keyborg)||void 0===t||t.setVal(e)}isNavigatingWithKeyboard(){var e;return!!(null===(e=this._keyborg)||void 0===e?void 0:e.isNavigatingWithKeyboard())}}
/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */let ai=0;class ni extends zn{constructor(e,t,r){super(t,e,Sn,r),this._setHandlers(((r,o)=>{var a,n;const i=e.get(),s=i&&(null===(a=Mn.getRoot(t,i))||void 0===a?void 0:a.getElement()),l=r.input;let c;if(s&&l){const e=En(l),r=Mn.getTabsterContext(t,e||l);r&&(c=null===(n=Qn.findNextTabbable(t,r,s,l,void 0,o,!0))||void 0===n?void 0:n.element),c&&ha(c)}}))}}class ii extends wn{constructor(e,t,r,o,a,n){super(e,t,o),this._wasFocused=0,this.userId=o.id,this._onDispose=r,this._activeElements=n,e.controlTab||(this.dummyManager=new ni(this._element,e,a))}makeActive(e){if(this._isActive!==e){this._isActive=e;const t=this.getElement();if(t){const r=this._activeElements,o=r.map((e=>e.get())).indexOf(t);e?o<0&&r.push(new ln(this._tabster.getWindow,t)):o>=0&&r.splice(o,1)}this._dispatchEvent(e)}}focused(e){return e||(this._wasFocused=++ai),this._wasFocused}setProps(e){e.id&&(this.userId=e.id),this._props={...e}}dispose(){var e;this.makeActive(!1),this._onDispose(this),null===(e=this.dummyManager)||void 0===e||e.dispose(),delete this.dummyManager,this._activeElements=[],this._remove()}isActive(){return!!this._isActive}contains(e){return tn.nodeContains(this.getElement(),e)}findNextTabbable(e,t,r,o){var a,n;if(!this.getElement())return null;const i=this._tabster;let s,l=null,c=!1;const d=e&&(null===(a=Mn.getRoot(i,e))||void 0===a?void 0:a.getElement());if(d){const a={container:d,currentElement:e,referenceElement:t,ignoreAccessibility:o,useActiveModalizer:!0},u={};l=i.focusable[r?"findPrev":"findNext"](a,u),!l&&this._props.isTrapped&&(null===(n=i.modalizer)||void 0===n?void 0:n.activeId)?(l=i.focusable[r?"findLast":"findFirst"]({container:d,ignoreAccessibility:o,useActiveModalizer:!0},u),null===l&&(l=e),c=!0):c=!!u.outOfDOMOrder,s=u.uncontrolled}return{element:l,uncontrolled:s,outOfDOMOrder:c}}_dispatchEvent(e,t){const r=this.getElement();let o=!1;if(r){const a=t?this._activeElements.map((e=>e.get())):[r];for(const t of a)if(t){const a={id:this.userId,element:r},n=e?new Ka(a):new Ja(a);t.dispatchEvent(n),n.defaultPrevented&&(o=!0)}}return o}_remove(){}}class si{constructor(e,t,r){this._onModalizerDispose=e=>{const t=e.id,r=e.userId,o=this._parts[r];if(delete this._modalizers[t],o&&(delete o[t],0===Object.keys(o).length)){delete this._parts[r];const e=this._activationHistory,t=[];let o;for(let a=e.length;a--;){const n=e[a];n!==r&&(n!==o&&(o=n,(n||t.length>0)&&t.unshift(n)))}if(this._activationHistory=t,this.activeId===r){const e=t[0],r=e?Object.values(this._parts[e])[0]:void 0;this.setActive(r)}}},this._onKeyDown=e=>{var t;if(e.key!==Vn)return;const r=this._tabster,o=r.focusedElement.getFocusedElement();if(o){const a=Mn.getTabsterContext(r,o),n=null==a?void 0:a.modalizer;if(a&&!a.groupper&&(null==n?void 0:n.isActive())&&!a.ignoreKeydown(e)){const o=n.userId;if(o){const a=this._parts[o];if(a){const o=Object.keys(a).map((e=>{var t;const o=a[e],n=o.getElement();let i;return n&&(i=null===(t=Oa(r,n))||void 0===t?void 0:t.groupper),o&&n&&i?{el:n,focusedSince:o.focused(!0)}:{focusedSince:0}})).filter((e=>e.focusedSince>0)).sort(((e,t)=>e.focusedSince>t.focusedSince?-1:e.focusedSince<t.focusedSince?1:0));if(o.length){const a=o[0].el;a&&(null===(t=r.groupper)||void 0===t||t.handleKeyPress(a,e,!0))}}}}}},this._onFocus=(e,t)=>{var r;const o=this._tabster,a=e&&Mn.getTabsterContext(o,e);if(!a||!e)return;const n=this._augMap;for(let c=e;c;c=tn.getParentElement(c))n.has(c)&&(n.delete(c),Dn(o,c,"aria-hidden"));let i=a.modalizer;const s=Oa(o,e),l=null==s?void 0:s.modalizer;if(l&&(l.focused(),l.userId===this.activeId&&s.groupper)){const t=o.getParent(e),a=t&&(null===(r=Mn.getTabsterContext(o,t))||void 0===r?void 0:r.modalizer);if(!a)return void this.setActive(void 0);i=a}if(null==i||i.focused(),(null==i?void 0:i.userId)!==this.activeId)if(t.isFocusedProgrammatically||this.currentIsOthersAccessible||(null==i?void 0:i.getProps().isAlwaysAccessible))this.setActive(i);else{const t=this._win();t.clearTimeout(this._restoreModalizerFocusTimer),this._restoreModalizerFocusTimer=t.setTimeout((()=>this._restoreModalizerFocus(e)),100)}else this.currentIsOthersAccessible=null==i?void 0:i.getProps().isOthersAccessible},this._tabster=e,this._win=e.getWindow,this._modalizers={},this._parts={},this._augMap=new WeakMap,this._aug=[],this._alwaysAccessibleSelector=t,this._accessibleCheck=r,this._activationHistory=[],this.activeElements=[],e.controlTab||e.root.addDummyInputs();this._win().addEventListener("keydown",this._onKeyDown,!0),e.queueInit((()=>{this._tabster.focusedElement.subscribe(this._onFocus)}))}dispose(){const e=this._win();e.removeEventListener("keydown",this._onKeyDown,!0),Object.keys(this._modalizers).forEach((e=>{this._modalizers[e]&&(this._modalizers[e].dispose(),delete this._modalizers[e])})),e.clearTimeout(this._restoreModalizerFocusTimer),e.clearTimeout(this._hiddenUpdateTimer),this._parts={},delete this.activeId,this.activeElements=[],this._augMap=new WeakMap,this._aug=[],this._tabster.focusedElement.unsubscribe(this._onFocus)}createModalizer(e,t,r){var o;const a=new ii(this._tabster,e,this._onModalizerDispose,t,r,this.activeElements),n=a.id,i=t.id;this._modalizers[n]=a;let s=this._parts[i];s||(s=this._parts[i]={}),s[n]=a;const l=null!==(o=this._tabster.focusedElement.getFocusedElement())&&void 0!==o?o:null;return e!==l&&tn.nodeContains(e,l)&&(i!==this.activeId?this.setActive(a):a.makeActive(!0)),a}isAugmented(e){return this._augMap.has(e)}hiddenUpdate(){this._hiddenUpdateTimer||(this._hiddenUpdateTimer=this._win().setTimeout((()=>{delete this._hiddenUpdateTimer,this._hiddenUpdate()}),250))}setActive(e){const t=null==e?void 0:e.userId,r=this.activeId;if(r===t)return;if(this.activeId=t,r){const e=this._parts[r];if(e)for(const t of Object.keys(e))e[t].makeActive(!1)}if(t){const e=this._parts[t];if(e)for(const t of Object.keys(e))e[t].makeActive(!0)}this.currentIsOthersAccessible=null==e?void 0:e.getProps().isOthersAccessible,this.hiddenUpdate();const o=this._activationHistory;o[0]!==t&&(void 0!==t||o.length>0)&&o.unshift(t)}focus(e,t,r){const o=this._tabster,a=Mn.getTabsterContext(o,e),n=null==a?void 0:a.modalizer;if(n){this.setActive(n);const e=n.getProps(),a=n.getElement();if(a){if(void 0===t&&(t=e.isNoFocusFirst),!t&&o.keyboardNavigation.isNavigatingWithKeyboard()&&o.focusedElement.focusFirst({container:a}))return!0;if(void 0===r&&(r=e.isNoFocusDefault),!r&&o.focusedElement.focusDefault(a))return!0;o.focusedElement.resetFocus(a)}}return!1}activate(e){var t;const r=e?null===(t=Mn.getTabsterContext(this._tabster,e))||void 0===t?void 0:t.modalizer:void 0;return!(e&&!r)&&(this.setActive(r),!0)}acceptElement(e,t){var r;const o=t.modalizerUserId,a=null===(r=t.currentCtx)||void 0===r?void 0:r.modalizer;if(o)for(const i of this.activeElements){const t=i.get();if(t&&(tn.nodeContains(e,t)||t===e))return NodeFilter.FILTER_SKIP}const n=o===(null==a?void 0:a.userId)||!o&&(null==a?void 0:a.getProps().isAlwaysAccessible)?void 0:NodeFilter.FILTER_SKIP;return void 0!==n&&(t.skippedFocusable=!0),n}_hiddenUpdate(){var e;const t=this._tabster,r=t.getWindow().document.body,o=this.activeId,a=this._parts,n=[],i=[],s=this._alwaysAccessibleSelector,l=s?Array.from(tn.querySelectorAll(r,s)):[],c=[];for(const v of Object.keys(a)){const e=a[v];for(const t of Object.keys(e)){const r=e[t],a=r.getElement(),s=r.getProps().isAlwaysAccessible;a&&(v===o?(c.push(a),this.currentIsOthersAccessible||n.push(a)):s?l.push(a):i.push(a))}}const d=this._augMap,u=n.length>0?[...n,...l]:void 0,f=[],p=new WeakMap,h=(e,r)=>{var o;const a=e.tagName;if("SCRIPT"===a||"STYLE"===a)return;let n=!1;d.has(e)?r?n=!0:(d.delete(e),Dn(t,e,"aria-hidden")):r&&!(null===(o=this._accessibleCheck)||void 0===o?void 0:o.call(this,e,c))&&Dn(t,e,"aria-hidden","true")&&(d.set(e,!0),n=!0),n&&(f.push(new ln(t.getWindow,e)),p.set(e,!0))},g=e=>{var r;for(let o=tn.getFirstElementChild(e);o;o=tn.getNextElementSibling(o)){let e=!1,a=!1,n=!1;if(u){const i=t.getParent(o);for(const t of u){if(o===t){e=!0;break}if(tn.nodeContains(o,t)){a=!0;break}tn.nodeContains(t,i)&&(n=!0)}a||(null===(r=o.__tabsterElementFlags)||void 0===r?void 0:r.noDirectAriaHidden)?g(o):e||n||h(o,!0)}else h(o,!1)}};u||l.forEach((e=>h(e,!1))),i.forEach((e=>h(e,!0))),r&&g(r),null===(e=this._aug)||void 0===e||e.map((e=>e.get())).forEach((e=>{e&&!p.get(e)&&h(e,!1)})),this._aug=f,this._augMap=p}_restoreModalizerFocus(e){var t;const r=null==e?void 0:e.ownerDocument;if(!e||!r)return;const o=this._tabster.focusedElement.getFocusedElement(),a=o&&(null===(t=Mn.getTabsterContext(this._tabster,o))||void 0===t?void 0:t.modalizer);if(!o||o&&(null==a?void 0:a.userId)===this.activeId)return;const n=this._tabster,i=Mn.getTabsterContext(n,e),s=null==i?void 0:i.modalizer,l=this.activeId;if(!s&&!l||s&&l===s.userId)return;const c=null==i?void 0:i.root.getElement();if(c){let t=n.focusable.findFirst({container:c,useActiveModalizer:!0});if(t){if(e.compareDocumentPosition(t)&document.DOCUMENT_POSITION_PRECEDING&&(t=n.focusable.findLast({container:c,useActiveModalizer:!0}),!t))throw new Error("Something went wrong.");return void n.focusedElement.focus(t)}}e.blur()}}
/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */const li=["input","textarea","*[contenteditable]"].join(", ");class ci extends zn{constructor(e,t,r,o){super(t,e,_n,o),this._onFocusDummyInput=e=>{var t,r;const o=this._element.get(),a=e.input;if(o&&a){const n=Mn.getTabsterContext(this._tabster,o);let i;n&&(i=null===(t=Qn.findNextTabbable(this._tabster,n,void 0,a,void 0,!e.isFirst,!0))||void 0===t?void 0:t.element);const s=null===(r=this._getMemorized())||void 0===r?void 0:r.get();s&&this._tabster.focusable.isFocusable(s)&&(i=s),i&&ha(i)}},this._tabster=t,this._getMemorized=r,this._setHandlers(this._onFocusDummyInput)}}class di extends wn{constructor(e,t,r,o,a){var n;super(e,t,o),this._visible={},this._onIntersection=e=>{for(const t of e){const e=t.target,r=vn(this._win,e);let o,a=this._fullyVisible;if(t.intersectionRatio>=.25?(o=t.intersectionRatio>=.75?Na:_a,o===Na&&(a=r)):o=Sa,this._visible[r]!==o){void 0===o?(delete this._visible[r],a===r&&delete this._fullyVisible):(this._visible[r]=o,this._fullyVisible=a);const t=this.getState(e);t&&e.dispatchEvent(new Ua(t))}}},this._win=e.getWindow,this.visibilityTolerance=null!==(n=o.visibilityTolerance)&&void 0!==n?n:.8,(this._props.trackState||this._props.visibilityAware)&&(this._intersectionObserver=new IntersectionObserver(this._onIntersection,{threshold:[0,.25,.5,.75,1]}),this._observeState()),this._onDispose=r;const i=()=>o.memorizeCurrent?this._current:void 0;e.controlTab||(this.dummyManager=new ci(this._element,e,i,a))}dispose(){var e;this._onDispose(this),this._intersectionObserver&&(this._intersectionObserver.disconnect(),delete this._intersectionObserver),delete this._current,delete this._fullyVisible,delete this._allElements,delete this._updateQueue,this._unobserve&&(this._unobserve(),delete this._unobserve);const t=this._win();this._setCurrentTimer&&(t.clearTimeout(this._setCurrentTimer),delete this._setCurrentTimer),this._updateTimer&&(t.clearTimeout(this._updateTimer),delete this._updateTimer),null===(e=this.dummyManager)||void 0===e||e.dispose(),delete this.dummyManager}setCurrent(e){this._current=e?new ln(this._win,e):void 0,!this._props.trackState&&!this._props.visibilityAware||this._setCurrentTimer||(this._setCurrentTimer=this._win().setTimeout((()=>{var e;delete this._setCurrentTimer;const t=[];this._current!==this._prevCurrent&&(t.push(this._current),t.push(this._prevCurrent),this._prevCurrent=this._current);for(const r of t){const t=null==r?void 0:r.get();if(t&&(null===(e=this._allElements)||void 0===e?void 0:e.get(t))===this){const e=this._props;if(t&&(void 0!==e.visibilityAware||e.trackState)){const e=this.getState(t);e&&t.dispatchEvent(new Ua(e))}}}})))}getCurrent(){var e;return(null===(e=this._current)||void 0===e?void 0:e.get())||null}findNextTabbable(e,t,r,o){const a=this.getElement(),n=a&&En(e)===a;if(!a)return null;let i,s=null,l=!1;if(this._props.tabbable||n||e&&!tn.nodeContains(a,e)){const n={currentElement:e,referenceElement:t,container:a,ignoreAccessibility:o,useActiveModalizer:!0},c={};s=this._tabster.focusable[r?"findPrev":"findNext"](n,c),l=!!c.outOfDOMOrder,i=c.uncontrolled}return{element:s,uncontrolled:i,outOfDOMOrder:l}}acceptElement(e,t){var r,o;if(!Qn.isTabbing)return(null===(r=t.currentCtx)||void 0===r?void 0:r.excludedFromMover)?NodeFilter.FILTER_REJECT:void 0;const{memorizeCurrent:a,visibilityAware:n,hasDefault:i=!0}=this._props,s=this.getElement();if(s&&(a||n||i)&&(!tn.nodeContains(s,t.from)||En(t.from)===s)){let e;if(a){const r=null===(o=this._current)||void 0===o?void 0:o.get();r&&t.acceptCondition(r)&&(e=r)}if(!e&&i&&(e=this._tabster.focusable.findDefault({container:s,useActiveModalizer:!0})),!e&&n&&(e=this._tabster.focusable.findElement({container:s,useActiveModalizer:!0,isBackward:t.isBackward,acceptCondition:e=>{var r;const o=vn(this._win,e),a=this._visible[o];return s!==e&&!!(null===(r=this._allElements)||void 0===r?void 0:r.get(e))&&t.acceptCondition(e)&&(a===Na||a===_a&&(n===_a||!this._fullyVisible))}})),e)return t.found=!0,t.foundElement=e,t.rejectElementsFrom=s,t.skippedFocusable=!0,NodeFilter.FILTER_ACCEPT}}_observeState(){const e=this.getElement();if(this._unobserve||!e||"undefined"==typeof MutationObserver)return;const t=this._win(),r=this._allElements=new WeakMap,o=this._tabster.focusable;let a=this._updateQueue=[];const n=tn.createMutationObserver((e=>{for(const t of e){const e=t.target,r=t.removedNodes,o=t.addedNodes;if("attributes"===t.type)"tabindex"===t.attributeName&&a.push({element:e,type:2});else{for(let e=0;e<r.length;e++)a.push({element:r[e],type:3});for(let e=0;e<o.length;e++)a.push({element:o[e],type:1})}}d()})),i=(e,t)=>{var o,a;const n=r.get(e);n&&t&&(null===(o=this._intersectionObserver)||void 0===o||o.unobserve(e),r.delete(e)),n||t||(r.set(e,this),null===(a=this._intersectionObserver)||void 0===a||a.observe(e))},s=e=>{const t=o.isFocusable(e);r.get(e)?t||i(e,!0):t&&i(e)},l=e=>{const{mover:r}=u(e);if(r&&r!==this){if(r.getElement()!==e||!o.isFocusable(e))return;i(e)}const a=un(t.document,e,(e=>{const{mover:t,groupper:r}=u(e);if(t&&t!==this)return NodeFilter.FILTER_REJECT;const a=null==r?void 0:r.getFirst(!0);return r&&r.getElement()!==e&&a&&a!==e?NodeFilter.FILTER_REJECT:(o.isFocusable(e)&&i(e),NodeFilter.FILTER_SKIP)}));if(a)for(a.currentNode=e;a.nextNode(););},c=e=>{r.get(e)&&i(e,!0);for(let t=tn.getFirstElementChild(e);t;t=tn.getNextElementSibling(t))c(t)},d=()=>{!this._updateTimer&&a.length&&(this._updateTimer=t.setTimeout((()=>{delete this._updateTimer;for(const{element:e,type:t}of a)switch(t){case 2:s(e);break;case 1:l(e);break;case 3:c(e)}a=this._updateQueue=[]}),0))},u=e=>{const t={};for(let r=e;r;r=tn.getParentElement(r)){const e=Oa(this._tabster,r);if(e&&(e.groupper&&!t.groupper&&(t.groupper=e.groupper),e.mover)){t.mover=e.mover;break}}return t};a.push({element:e,type:1}),d(),n.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["tabindex"]}),this._unobserve=()=>{n.disconnect()}}getState(e){const t=vn(this._win,e);if(t in this._visible){const r=this._visible[t]||Sa;return{isCurrent:this._current?this._current.get()===e:void 0,visibility:r}}}}class ui{constructor(e,t){this._init=()=>{const e=this._win();e.addEventListener("keydown",this._onKeyDown,!0),e.addEventListener("tabster:mover:movefocus",this._onMoveFocus),e.addEventListener("tabster:mover:memorized-element",this._onMemorizedElement),this._tabster.focusedElement.subscribe(this._onFocus)},this._onMoverDispose=e=>{delete this._movers[e.id]},this._onFocus=e=>{var t;let r=e,o=e;for(let a=tn.getParentElement(e);a;a=tn.getParentElement(a)){const e=null===(t=Oa(this._tabster,a))||void 0===t?void 0:t.mover;e&&(e.setCurrent(o),r=void 0),!r&&this._tabster.focusable.isFocusable(a)&&(r=o=a)}},this._onKeyDown=async e=>{var t;if(this._ignoredInputTimer&&(this._win().clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer),null===(t=this._ignoredInputResolve)||void 0===t||t.call(this,!1),e.ctrlKey||e.altKey||e.shiftKey||e.metaKey)return;const r=e.key;let o;if(r===Jn?o=Aa.ArrowDown:r===Kn?o=Aa.ArrowRight:r===Xn?o=Aa.ArrowUp:r===Gn?o=Aa.ArrowLeft:r===$n?o=Aa.PageDown:r===Zn?o=Aa.PageUp:r===Un?o=Aa.Home:r===Wn&&(o=Aa.End),!o)return;const a=this._tabster.focusedElement.getFocusedElement();a&&!(await this._isIgnoredInput(a,r))&&this._moveFocus(a,o,e)},this._onMoveFocus=e=>{var t;const r=e.composedPath()[0],o=null===(t=e.detail)||void 0===t?void 0:t.key;r&&void 0!==o&&!e.defaultPrevented&&(this._moveFocus(r,o),e.stopImmediatePropagation())},this._onMemorizedElement=e=>{var t;const r=e.composedPath()[0];let o=null===(t=e.detail)||void 0===t?void 0:t.memorizedElement;if(r){const t=Mn.getTabsterContext(this._tabster,r),a=null==t?void 0:t.mover;a&&(o&&!tn.nodeContains(a.getElement(),o)&&(o=void 0),a.setCurrent(o),e.stopImmediatePropagation())}},this._tabster=e,this._win=t,this._movers={},e.queueInit(this._init)}dispose(){var e;const t=this._win();this._tabster.focusedElement.unsubscribe(this._onFocus),null===(e=this._ignoredInputResolve)||void 0===e||e.call(this,!1),this._ignoredInputTimer&&(t.clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer),t.removeEventListener("keydown",this._onKeyDown,!0),t.removeEventListener("tabster:mover:movefocus",this._onMoveFocus),t.removeEventListener("tabster:mover:memorized-element",this._onMemorizedElement),Object.keys(this._movers).forEach((e=>{this._movers[e]&&(this._movers[e].dispose(),delete this._movers[e])}))}createMover(e,t,r){const o=new di(this._tabster,e,this._onMoverDispose,t,r);return this._movers[o.id]=o,o}moveFocus(e,t){return this._moveFocus(e,t)}_moveFocus(e,t,r){var o,a;const n=this._tabster,i=Mn.getTabsterContext(n,e,{checkRtl:!0});if(!i||!i.mover||i.excludedFromMover||r&&i.ignoreKeydown(r))return null;const s=i.mover,l=s.getElement();if(i.groupperBeforeMover){const e=i.groupper;if(!e||e.isActive(!0))return null;for(let t=tn.getParentElement(e.getElement());t&&t!==l;t=tn.getParentElement(t))if(null===(a=null===(o=Oa(n,t))||void 0===o?void 0:o.groupper)||void 0===a?void 0:a.isActive(!0))return null}if(!l)return null;const c=n.focusable,d=s.getProps(),u=d.direction||Ta,f=u===Ta,p=f||u===Ca,h=f||u===Da,g=u===Ea,v=g||u===Pa,m=d.cyclic;let b,x,y,w=0,k=0;if(v&&(y=e.getBoundingClientRect(),w=Math.ceil(y.left),k=Math.floor(y.right)),i.rtl&&(t===Aa.ArrowRight?t=Aa.ArrowLeft:t===Aa.ArrowLeft&&(t=Aa.ArrowRight)),t===Aa.ArrowDown&&p||t===Aa.ArrowRight&&(h||v))if(b=c.findNext({currentElement:e,container:l,useActiveModalizer:!0}),b&&v){const e=Math.ceil(b.getBoundingClientRect().left);!g&&k>e&&(b=void 0)}else!b&&m&&(b=c.findFirst({container:l,useActiveModalizer:!0}));else if(t===Aa.ArrowUp&&p||t===Aa.ArrowLeft&&(h||v))if(b=c.findPrev({currentElement:e,container:l,useActiveModalizer:!0}),b&&v){const e=Math.floor(b.getBoundingClientRect().right);!g&&e>w&&(b=void 0)}else!b&&m&&(b=c.findLast({container:l,useActiveModalizer:!0}));else if(t===Aa.Home)v?c.findElement({container:l,currentElement:e,useActiveModalizer:!0,isBackward:!0,acceptCondition:t=>{var r;if(!c.isFocusable(t))return!1;const o=Math.ceil(null!==(r=t.getBoundingClientRect().left)&&void 0!==r?r:0);return t!==e&&w<=o||(b=t,!1)}}):b=c.findFirst({container:l,useActiveModalizer:!0});else if(t===Aa.End)v?c.findElement({container:l,currentElement:e,useActiveModalizer:!0,acceptCondition:t=>{var r;if(!c.isFocusable(t))return!1;const o=Math.ceil(null!==(r=t.getBoundingClientRect().left)&&void 0!==r?r:0);return t!==e&&w>=o||(b=t,!1)}}):b=c.findLast({container:l,useActiveModalizer:!0});else if(t===Aa.PageUp){if(c.findElement({currentElement:e,container:l,useActiveModalizer:!0,isBackward:!0,acceptCondition:e=>!!c.isFocusable(e)&&(!pn(this._win,e,s.visibilityTolerance)||(b=e,!1))}),v&&b){const e=Math.ceil(b.getBoundingClientRect().left);c.findElement({currentElement:b,container:l,useActiveModalizer:!0,acceptCondition:t=>{if(!c.isFocusable(t))return!1;const r=Math.ceil(t.getBoundingClientRect().left);return w<r||e>=r||(b=t,!1)}})}x=!1}else if(t===Aa.PageDown){if(c.findElement({currentElement:e,container:l,useActiveModalizer:!0,acceptCondition:e=>!!c.isFocusable(e)&&(!pn(this._win,e,s.visibilityTolerance)||(b=e,!1))}),v&&b){const e=Math.ceil(b.getBoundingClientRect().left);c.findElement({currentElement:b,container:l,useActiveModalizer:!0,isBackward:!0,acceptCondition:t=>{if(!c.isFocusable(t))return!1;const r=Math.ceil(t.getBoundingClientRect().left);return w>r||e<=r||(b=t,!1)}})}x=!0}else if(v){const r=t===Aa.ArrowUp,o=w,a=Math.ceil(y.top),n=k,i=Math.floor(y.bottom);let s,d,u=0;c.findAll({container:l,currentElement:e,isBackward:r,onElement:e=>{const t=e.getBoundingClientRect(),l=Math.ceil(t.left),c=Math.ceil(t.top),f=Math.floor(t.right),p=Math.floor(t.bottom);if(r&&a<p||!r&&i>c)return!0;const h=Math.ceil(Math.min(n,f))-Math.floor(Math.max(o,l)),g=Math.ceil(Math.min(n-o,f-l));if(h>0&&g>=h){const t=h/g;t>u&&(s=e,u=t)}else if(0===u){const t=function(e,t,r,o,a,n,i,s){const l=r<a?a-r:i<e?e-i:0,c=o<n?n-o:s<t?t-s:0;return 0===l?c:0===c?l:Math.sqrt(l*l+c*c)}(o,a,n,i,l,c,f,p);(void 0===d||t<d)&&(d=t,s=e)}else if(u>0)return!1;return!0}}),b=s}return b&&(!r||r&&l.dispatchEvent(new Wa({by:"mover",owner:l,next:b,relatedEvent:r})))?(void 0!==x&&function(e,t,r){const o=hn(t);if(o){const a=fn(e,o),n=t.getBoundingClientRect();o.scrollTop+=r?n.top-a.top:n.bottom-a.bottom}}(this._win,b,x),r&&(r.preventDefault(),r.stopImmediatePropagation()),ha(b),b):null}async _isIgnoredInput(e,t){if("true"===e.getAttribute("aria-expanded")&&e.hasAttribute("aria-activedescendant"))return!0;if(xn(e,li)){let r,o=0,a=0,n=0;if("INPUT"===e.tagName||"TEXTAREA"===e.tagName){const r=e.type,i=e.value;if(n=(i||"").length,"email"===r||"number"===r){if(n){const r=tn.getSelection(e);if(r){const e=r.toString().length,o=t===Gn||t===Xn;if(r.modify("extend",o?"backward":"forward","character"),e!==r.toString().length)return r.modify("extend",o?"forward":"backward","character"),!0;n=0}}}else{const t=e.selectionStart;if(null===t)return"hidden"===r;o=t||0,a=e.selectionEnd||0}}else"true"===e.contentEditable&&(r=new(function(e){const t=nn(e);if(t.basics.Promise)return t.basics.Promise;throw new Error("No Promise defined.")}(this._win))((t=>{this._ignoredInputResolve=e=>{delete this._ignoredInputResolve,t(e)};const r=this._win();this._ignoredInputTimer&&r.clearTimeout(this._ignoredInputTimer);const{anchorNode:i,focusNode:s,anchorOffset:l,focusOffset:c}=tn.getSelection(e)||{};this._ignoredInputTimer=r.setTimeout((()=>{var t,r,d;delete this._ignoredInputTimer;const{anchorNode:u,focusNode:f,anchorOffset:p,focusOffset:h}=tn.getSelection(e)||{};if(u===i&&f===s&&p===l&&h===c){if(o=p||0,a=h||0,n=(null===(r=e.textContent)||void 0===r?void 0:r.length)||0,u&&f&&tn.nodeContains(e,u)&&tn.nodeContains(e,f)&&u!==e){let t=!1;const r=e=>{if(e===u)t=!0;else if(e===f)return!0;const n=e.textContent;if(n&&!tn.getFirstChild(e)){const e=n.length;t?f!==u&&(a+=e):(o+=e,a+=e)}let i=!1;for(let t=tn.getFirstChild(e);t&&!i;t=t.nextSibling)i=r(t);return i};r(e)}null===(d=this._ignoredInputResolve)||void 0===d||d.call(this,!0)}else null===(t=this._ignoredInputResolve)||void 0===t||t.call(this,!1)}),0)})));if(r&&!(await r))return!0;if(o!==a)return!0;if(o>0&&(t===Gn||t===Xn||t===Un))return!0;if(o<n&&(t===Kn||t===Jn||t===Wn))return!0}return!1}}
/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */
/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */
class fi{constructor(e){this._isUncontrolledCompletely=e}isUncontrolledCompletely(e,t){var r;const o=null===(r=this._isUncontrolledCompletely)||void 0===r?void 0:r.call(this,e,t);return void 0===o?t:o}}
/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */class pi extends wn{constructor(e,t,r){var o;if(super(e,t,r),this._hasFocus=!1,this._onFocusOut=e=>{var t;const r=null===(t=this._element)||void 0===t?void 0:t.get();r&&null===e.relatedTarget&&r.dispatchEvent(new Ya),r&&!tn.nodeContains(r,e.relatedTarget)&&(this._hasFocus=!1)},this._onFocusIn=()=>{this._hasFocus=!0},this._props.type===za){const e=null===(o=this._element)||void 0===o?void 0:o.get();null==e||e.addEventListener("focusout",this._onFocusOut),null==e||e.addEventListener("focusin",this._onFocusIn),this._hasFocus=tn.nodeContains(e,e&&tn.getActiveElement(e.ownerDocument))}}dispose(){var e;if(this._props.type===za){const t=null===(e=this._element)||void 0===e?void 0:e.get();if(null==t||t.removeEventListener("focusout",this._onFocusOut),null==t||t.removeEventListener("focusin",this._onFocusIn),this._hasFocus){this._tabster.getWindow().document.body.dispatchEvent(new Ya)}}}}class hi{constructor(e){this._stack=[],this._getWindow=e}push(e){var t;(null===(t=this._stack[this._stack.length-1])||void 0===t?void 0:t.get())!==e&&(this._stack.length>hi.DEPTH&&this._stack.shift(),this._stack.push(new ln(this._getWindow,e)))}pop(e){var t;void 0===e&&(e=()=>!0);const r=this._getWindow().document;for(let o=this._stack.length-1;o>=0;o--){const o=null===(t=this._stack.pop())||void 0===t?void 0:t.get();if(o&&tn.nodeContains(r.body,tn.getParentElement(o))&&e(o))return o}}}hi.DEPTH=10;class gi{constructor(e){this._onRestoreFocus=e=>{var t,r;this._focusedElementState.cancelAsyncFocus(ka);const o=e.composedPath()[0];if(o){const e=null===(r=null===(t=Oa(this._tabster,o))||void 0===t?void 0:t.restorer)||void 0===r?void 0:r.getProps().id;this._focusedElementState.requestAsyncFocus(ka,(()=>this._restoreFocus(o,e)),0)}},this._onFocusIn=e=>{var t;if(!e)return;const r=Oa(this._tabster,e);(null===(t=null==r?void 0:r.restorer)||void 0===t?void 0:t.getProps().type)===ja&&this._history.push(e)},this._restoreFocus=(e,t)=>{var r;const o=this._getWindow().document;if(tn.getActiveElement(o)!==o.body)return;if(!this._keyboardNavState.isNavigatingWithKeyboard()&&tn.nodeContains(o.body,e))return;const a=e=>{var t,r;const o=null===(r=null===(t=Oa(this._tabster,e))||void 0===t?void 0:t.restorer)||void 0===r?void 0:r.getProps();return o?o.id:null};null===(r=this._history.pop((e=>t===a(e))))||void 0===r||r.focus()},this._tabster=e,this._getWindow=e.getWindow,this._getWindow().addEventListener("tabster:restorer:restore-focus",this._onRestoreFocus),this._history=new hi(this._getWindow),this._keyboardNavState=e.keyboardNavigation,this._focusedElementState=e.focusedElement,this._focusedElementState.subscribe(this._onFocusIn)}dispose(){const e=this._getWindow();this._focusedElementState.unsubscribe(this._onFocusIn),this._focusedElementState.cancelAsyncFocus(ka),e.removeEventListener("tabster:restorer:restore-focus",this._onRestoreFocus)}createRestorer(e,t){const r=new pi(this._tabster,e,t);return t.type===ja&&tn.getActiveElement(e.ownerDocument)===e&&this._history.push(e),r}}
/*!
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */class vi{constructor(e){this.keyboardNavigation=e.keyboardNavigation,this.focusedElement=e.focusedElement,this.focusable=e.focusable,this.root=e.root,this.uncontrolled=e.uncontrolled,this.core=e}}class mi{constructor(e,t){var r,o;this._forgetMemorizedElements=[],this._wrappers=new Set,this._initQueue=[],this._version="8.5.6",this._noop=!1,this.getWindow=()=>{if(!this._win)throw new Error("Using disposed Tabster.");return this._win},this._storage=function(e){const t=e.__tabsterInstanceContext;return new((null==t?void 0:t.basics.WeakMap)||WeakMap)}(e),this._win=e;const a=this.getWindow;(null==t?void 0:t.DOMAPI)&&function(e){for(const t of Object.keys(e))tn[t]=e[t]}({...t.DOMAPI}),this.keyboardNavigation=new oi(a),this.focusedElement=new Qn(this,a),this.focusable=new On(this),this.root=new Mn(this,null==t?void 0:t.autoRoot),this.uncontrolled=new fi((null==t?void 0:t.checkUncontrolledCompletely)||(null==t?void 0:t.checkUncontrolledTrappingFocus)),this.controlTab=null===(r=null==t?void 0:t.controlTab)||void 0===r||r,this.rootDummyInputs=!!(null==t?void 0:t.rootDummyInputs),this._dummyObserver=new jn(a),this.getParent=null!==(o=null==t?void 0:t.getParent)&&void 0!==o?o:tn.getParentNode,this.internal={stopObserver:()=>{this._unobserve&&(this._unobserve(),delete this._unobserve)},resumeObserver:e=>{if(!this._unobserve){const t=a().document;this._unobserve=function(e,t,r,o){if("undefined"==typeof MutationObserver)return()=>{};const a=t.getWindow;let n;function i(t,r){n||(n=nn(a).elementByUId),s(t,r);const o=un(e,t,(e=>s(e,r)));if(o)for(;o.nextNode(););}function s(e,o){var i;if(!e.getAttribute)return NodeFilter.FILTER_SKIP;const s=e.__tabsterElementUID;return s&&n&&(o?delete n[s]:null!==(i=n[s])&&void 0!==i||(n[s]=new ln(a,e))),(Oa(t,e)||e.hasAttribute("data-tabster"))&&r(t,e,o),NodeFilter.FILTER_SKIP}const l=tn.createMutationObserver((e=>{var o,a,n,s,l;const c=new Set;for(const d of e){const e=d.target,l=d.removedNodes,u=d.addedNodes;if("attributes"===d.type)"data-tabster"===d.attributeName&&(c.has(e)||r(t,e));else{for(let r=0;r<l.length;r++){const n=l[r];c.add(n),i(n,!0),null===(a=(o=t._dummyObserver).domChanged)||void 0===a||a.call(o,e)}for(let r=0;r<u.length;r++)i(u[r]),null===(s=(n=t._dummyObserver).domChanged)||void 0===s||s.call(n,e)}}c.clear(),null===(l=t.modalizer)||void 0===l||l.hiddenUpdate()}));return o&&i(a().document.body),l.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tabster"]}),()=>{l.disconnect()}}(t,this,qa,e)}}},dn(a),this.queueInit((()=>{this.internal.resumeObserver(!0)}))}_mergeProps(e){var t;e&&(this.getParent=null!==(t=e.getParent)&&void 0!==t?t:this.getParent)}createTabster(e,t){const r=new vi(this);return e||this._wrappers.add(r),this._mergeProps(t),r}disposeTabster(e,t){t?this._wrappers.clear():this._wrappers.delete(e),0===this._wrappers.size&&this.dispose()}dispose(){var e,t,r,o,a,n,i,s;this.internal.stopObserver();const l=this._win;null==l||l.clearTimeout(this._initTimer),delete this._initTimer,this._initQueue=[],this._forgetMemorizedElements=[],l&&this._forgetMemorizedTimer&&(l.clearTimeout(this._forgetMemorizedTimer),delete this._forgetMemorizedTimer),null===(e=this.outline)||void 0===e||e.dispose(),null===(t=this.crossOrigin)||void 0===t||t.dispose(),null===(r=this.deloser)||void 0===r||r.dispose(),null===(o=this.groupper)||void 0===o||o.dispose(),null===(a=this.mover)||void 0===a||a.dispose(),null===(n=this.modalizer)||void 0===n||n.dispose(),null===(i=this.observedElement)||void 0===i||i.dispose(),null===(s=this.restorer)||void 0===s||s.dispose(),this.keyboardNavigation.dispose(),this.focusable.dispose(),this.focusedElement.dispose(),this.root.dispose(),this._dummyObserver.dispose(),function(e){const t=nn(e);t.fakeWeakRefsStarted=!1,t.fakeWeakRefsTimer&&(e().clearTimeout(t.fakeWeakRefsTimer),t.fakeWeakRefsTimer=void 0,t.fakeWeakRefs=[])}(this.getWindow),mn(this.getWindow),this._storage=new WeakMap,this._wrappers.clear(),l&&(!function(e){const t=e.__tabsterInstanceContext;t&&(t.elementByUId={},delete t.WeakRef,t.containerBoundingRectCache={},t.containerBoundingRectCacheTimer&&e.clearTimeout(t.containerBoundingRectCacheTimer),t.fakeWeakRefsTimer&&e.clearTimeout(t.fakeWeakRefsTimer),t.fakeWeakRefs=[],delete e.__tabsterInstanceContext)}(l),delete l.__tabsterInstance,delete this._win)}storageEntry(e,t){const r=this._storage;let o=r.get(e);return o?!1===t&&0===Object.keys(o).length&&r.delete(e):!0===t&&(o={},r.set(e,o)),o}forceCleanup(){this._win&&(this._forgetMemorizedElements.push(this._win.document.body),this._forgetMemorizedTimer||(this._forgetMemorizedTimer=this._win.setTimeout((()=>{delete this._forgetMemorizedTimer;for(let e=this._forgetMemorizedElements.shift();e;e=this._forgetMemorizedElements.shift())mn(this.getWindow,e),Qn.forgetMemorized(this.focusedElement,e)}),0),cn(this.getWindow,!0)))}queueInit(e){var t;this._win&&(this._initQueue.push(e),this._initTimer||(this._initTimer=null===(t=this._win)||void 0===t?void 0:t.setTimeout((()=>{delete this._initTimer,this.drainInitQueue()}),0)))}drainInitQueue(){if(!this._win)return;const e=this._initQueue;this._initQueue=[],e.forEach((e=>e()))}}function bi(e){const t=e.core;return t.groupper||(t.groupper=new ri(t,t.getWindow)),t.groupper}function xi(e){const t=e.core;return t.mover||(t.mover=new ui(t,t.getWindow)),t.mover}function yi(e,t,r){const o=e.core;return o.modalizer||(o.modalizer=new si(o,t,r)),o.modalizer}function wi(e){const t=e.core;return t.restorer||(t.restorer=new gi(t)),t.restorer}function ki(e,t){e.core.disposeTabster(e,t)}const Bi=e=>e;function Si(e){const t=(null==e?void 0:e.defaultView)||void 0,r=null==t?void 0:t.__tabsterShadowDOMAPI;if(t)return function(e,t){let r=function(e){return e.__tabsterInstance}(e);return r?r.createTabster(!1,t):(r=new mi(e,t),e.__tabsterInstance=r,r.createTabster())}(t,{autoRoot:{},controlTab:!1,getParent:ea,checkUncontrolledCompletely:e=>{var t;return!0===(null===(t=e.firstElementChild)||void 0===t?void 0:t.hasAttribute("data-is-focus-trap-zone-bumper"))||void 0},DOMAPI:r})}function _i(e=Bi){const{targetDocument:t}=ao(),r=s.exports.useRef(null);return zo((()=>{const o=Si(t);if(o)return r.current=e(o),()=>{ki(o),r.current=null}}),[t,e]),r}const Ni=e=>{_i();const t=An(e,!0);return s.exports.useMemo((()=>({"data-tabster":t})),[t])},zi=(e={})=>{const{circular:t,axis:r,memorizeCurrent:o=!0,tabbable:a,ignoreDefaultKeydown:n,unstable_hasDefault:i}=e;return _i(xi),Ni({mover:{cyclic:!!t,direction:ji(null!=r?r:"vertical"),memorizeCurrent:o,tabbable:a,hasDefault:i},...n&&{focusable:{ignoreKeydown:n}}})};function ji(e){switch(e){case"horizontal":return Da;case"grid":return Pa;case"grid-linear":return Ea;case"both":return Ta;default:return Ca}}const Ti=e=>(_i(bi),Ni({groupper:{tabbability:Ci(null==e?void 0:e.tabBehavior)},focusable:{ignoreKeydown:null==e?void 0:e.ignoreDefaultKeydown}})),Ci=e=>{switch(e){case"unlimited":return Fa;case"limited":return Ra;case"limited-trap-focus":return Ia;default:return}},Di=()=>{const e=_i(),{targetDocument:t}=ao();return{findAllFocusable:s.exports.useCallback(((t,r)=>{var o;return t&&(null===(o=e.current)||void 0===o?void 0:o.focusable.findAll({container:t,acceptCondition:r}))||[]}),[e]),findFirstFocusable:s.exports.useCallback((t=>{var r;return t&&(null===(r=e.current)||void 0===r?void 0:r.focusable.findFirst({container:t}))}),[e]),findLastFocusable:s.exports.useCallback((t=>{var r;return t&&(null===(r=e.current)||void 0===r?void 0:r.focusable.findLast({container:t}))}),[e]),findNextFocusable:s.exports.useCallback(((r,o={})=>{if(!e.current||!t||!r)return null;const{container:a=t.body}=o;return e.current.focusable.findNext({currentElement:r,container:a})}),[e,t]),findPrevFocusable:s.exports.useCallback(((r,o={})=>{if(!e.current||!t||!r)return null;const{container:a=t.body}=o;return e.current.focusable.findPrev({currentElement:r,container:a})}),[e,t])}};function Pi(e,t){if(Ei(e))return()=>{};const r={current:void 0},o=ma(t);function a(e){o.isNavigatingWithKeyboard()&&$o(e)&&(r.current=e,e.setAttribute("data-fui-focus-visible",""))}function n(){r.current&&(r.current.removeAttribute("data-fui-focus-visible"),r.current=void 0)}o.subscribe((e=>{e?a(t.document.activeElement):n()}));const i=e=>{n();a(e.composedPath()[0])},s=t=>{(!t.relatedTarget||$o(t.relatedTarget)&&!e.contains(t.relatedTarget))&&n()};return e.addEventListener("keyborg:focusin",i),e.addEventListener("focusout",s),e.focusVisible=!0,e.contains(t.document.activeElement)&&a(t.document.activeElement),()=>{n(),e.removeEventListener("keyborg:focusin",i),e.removeEventListener("focusout",s),e.focusVisible=void 0,ba(o)}}function Ei(e){return!!e&&(!!e.focusVisible||Ei(null==e?void 0:e.parentElement))}function Ai(e={}){const t=ao(),r=s.exports.useRef(null);var o;const a=null!==(o=e.targetDocument)&&void 0!==o?o:t.targetDocument;return s.exports.useEffect((()=>{if((null==a?void 0:a.defaultView)&&r.current)return Pi(r.current,a.defaultView)}),[r,a]),r}function Fi(e,t){const r=ma(t);r.subscribe((t=>{t||Ri(e)}));const o=t=>{r.isNavigatingWithKeyboard()&&Ii(t.target)&&e.setAttribute("data-fui-focus-within","")},a=t=>{(!t.relatedTarget||Ii(t.relatedTarget)&&!e.contains(t.relatedTarget))&&Ri(e)};return e.addEventListener("keyborg:focusin",o),e.addEventListener("focusout",a),()=>{e.removeEventListener("keyborg:focusin",o),e.removeEventListener("focusout",a),ba(r)}}function Ri(e){e.removeAttribute("data-fui-focus-within")}function Ii(e){return!!e&&Boolean(e&&"object"==typeof e&&"classList"in e&&"contains"in e)}function Mi(){const{targetDocument:e}=ao(),t=s.exports.useRef(null);return s.exports.useEffect((()=>{if((null==e?void 0:e.defaultView)&&t.current)return Fi(t.current,e.defaultView)}),[t,e]),t}function Li(){const{targetDocument:e}=ao(),t=s.exports.useRef(null);return s.exports.useEffect((()=>{const r=null==e?void 0:e.defaultView;if(r){const e=ma(r);return t.current=e,()=>{ba(e),t.current=null}}}),[e]),t}function Oi(e){const t=Li(),r=jo(e);s.exports.useEffect((()=>{const e=t.current;if(e){const t=e=>{r(e)};return e.subscribe(t),t(e.isNavigatingWithKeyboard()),()=>{e.unsubscribe(t)}}}),[t,r])}const qi=e=>e.hasAttribute("data-tabster-never-hide");function Hi(e){yi(e,void 0,qi),wi(e)}const Vi=(e={})=>{const{trapFocus:t,alwaysFocusable:r,legacyTrapFocus:o}=e;_i(Hi);const a=Po("modal-",e.id);return{modalAttributes:Ni({restorer:{type:za},...t&&{modalizer:{id:a,isOthersAccessible:!t,isAlwaysAccessible:r,isTrapped:o&&t}}}),triggerAttributes:Ni({restorer:{type:ja}})}};function Zi(){const e=Li();return s.exports.useCallback((()=>{var t,r;return null!==(r=null===(t=e.current)||void 0===t?void 0:t.isNavigatingWithKeyboard())&&void 0!==r&&r}),[e])}const $i="#050505",Wi="#0a0a0a",Ui="#0f0f0f",Gi="#141414",Xi="#1a1a1a",Ki="#1f1f1f",Ji="#242424",Yi="#292929",Qi="#2e2e2e",es="#333333",ts="#383838",rs="#3d3d3d",os="#424242",as="#4d4d4d",ns="#525252",is="#575757",ss="#5c5c5c",ls="#616161",cs="#666666",ds="#6b6b6b",us="#707070",fs="#757575",ps="#999999",hs="#adadad",gs="#b3b3b3",vs="#bdbdbd",ms="#c7c7c7",bs="#d1d1d1",xs="#d6d6d6",ys="#dbdbdb",ws="#e0e0e0",ks="#e6e6e6",Bs="#ebebeb",Ss="#f0f0f0",_s="#f5f5f5",Ns="#fafafa",zs="rgba(255, 255, 255, 0.05)",js="rgba(255, 255, 255, 0.1)",Ts="rgba(255, 255, 255, 0.2)",Cs="rgba(255, 255, 255, 0.4)",Ds="rgba(255, 255, 255, 0.5)",Ps="rgba(255, 255, 255, 0.6)",Es="rgba(255, 255, 255, 0.7)",As="rgba(255, 255, 255, 0.8)",Fs="rgba(0, 0, 0, 0.05)",Rs="rgba(0, 0, 0, 0.1)",Is="rgba(0, 0, 0, 0.2)",Ms="rgba(0, 0, 0, 0.3)",Ls="rgba(0, 0, 0, 0.4)",Os="rgba(0, 0, 0, 0.5)",qs="rgba(26, 26, 26, 0.5)",Hs="rgba(31, 31, 31, 0.7)",Vs="rgba(36, 36, 36, 0.5)",Zs="rgba(36, 36, 36, 0.8)",$s="#ffffff",Ws={shade50:"#200205",shade40:"#3b0509",shade30:"#6e0811",shade20:"#960b18",shade10:"#b10e1c",primary:"#c50f1f",tint10:"#cc2635",tint20:"#d33f4c",tint30:"#dc626d",tint40:"#eeacb2",tint50:"#f6d1d5",tint60:"#fdf3f4"},Us={shade50:"#031403",shade40:"#052505",shade30:"#094509",shade20:"#0c5e0c",shade10:"#0e700e",primary:"#107c10",tint10:"#218c21",tint20:"#359b35",tint30:"#54b054",tint40:"#9fd89f",tint50:"#c9eac9",tint60:"#f1faf1"},Gs={red:{shade50:"#210809",shade40:"#3f1011",shade30:"#751d1f",shade20:"#9f282b",shade10:"#bc2f32",primary:"#d13438",tint10:"#d7494c",tint20:"#dc5e62",tint30:"#e37d80",tint40:"#f1bbbc",tint50:"#f8dadb",tint60:"#fdf6f6"},green:Us,darkOrange:{shade50:"#230900",shade40:"#411200",shade30:"#7a2101",shade20:"#a62d01",shade10:"#c43501",primary:"#da3b01",tint10:"#de501c",tint20:"#e36537",tint30:"#e9835e",tint40:"#f4bfab",tint50:"#f9dcd1",tint60:"#fdf6f3"},yellow:{shade50:"#282400",shade40:"#4c4400",shade30:"#817400",shade20:"#c0ad00",shade10:"#e4cc00",primary:"#fde300",tint10:"#fde61e",tint20:"#fdea3d",tint30:"#feee66",tint40:"#fef7b2",tint50:"#fffad6",tint60:"#fffef5"},berry:{shade50:"#1f091d",shade40:"#3a1136",shade30:"#6d2064",shade20:"#932b88",shade10:"#af33a1",primary:"#c239b3",tint10:"#c94cbc",tint20:"#d161c4",tint30:"#da7ed0",tint40:"#edbbe7",tint50:"#f5daf2",tint60:"#fdf5fc"},lightGreen:{shade50:"#031a02",shade40:"#063004",shade30:"#0b5a08",shade20:"#0e7a0b",shade10:"#11910d",primary:"#13a10e",tint10:"#27ac22",tint20:"#3db838",tint30:"#5ec75a",tint40:"#a7e3a5",tint50:"#cef0cd",tint60:"#f2fbf2"},marigold:{shade50:"#251a00",shade40:"#463100",shade30:"#835b00",shade20:"#b27c00",shade10:"#d39300",primary:"#eaa300",tint10:"#edad1c",tint20:"#efb839",tint30:"#f2c661",tint40:"#f9e2ae",tint50:"#fcefd3",tint60:"#fefbf4"}},Xs={darkRed:{shade50:"#130204",shade40:"#230308",shade30:"#420610",shade20:"#590815",shade10:"#690a19",primary:"#750b1c",tint10:"#861b2c",tint20:"#962f3f",tint30:"#ac4f5e",tint40:"#d69ca5",tint50:"#e9c7cd",tint60:"#f9f0f2"},cranberry:Ws,pumpkin:{shade50:"#200d03",shade40:"#3d1805",shade30:"#712d09",shade20:"#9a3d0c",shade10:"#b6480e",primary:"#ca5010",tint10:"#d06228",tint20:"#d77440",tint30:"#df8e64",tint40:"#efc4ad",tint50:"#f7dfd2",tint60:"#fdf7f4"},peach:{shade50:"#291600",shade40:"#4d2a00",shade30:"#8f4e00",shade20:"#c26a00",shade10:"#e67e00",primary:"#ff8c00",tint10:"#ff9a1f",tint20:"#ffa83d",tint30:"#ffba66",tint40:"#ffddb3",tint50:"#ffedd6",tint60:"#fffaf5"},gold:{shade50:"#1f1900",shade40:"#3a2f00",shade30:"#6c5700",shade20:"#937700",shade10:"#ae8c00",primary:"#c19c00",tint10:"#c8a718",tint20:"#d0b232",tint30:"#dac157",tint40:"#ecdfa5",tint50:"#f5eece",tint60:"#fdfbf2"},brass:{shade50:"#181202",shade40:"#2e2103",shade30:"#553e06",shade20:"#745408",shade10:"#89640a",primary:"#986f0b",tint10:"#a47d1e",tint20:"#b18c34",tint30:"#c1a256",tint40:"#e0cea2",tint50:"#efe4cb",tint60:"#fbf8f2"},brown:{shade50:"#170e07",shade40:"#2b1a0e",shade30:"#50301a",shade20:"#6c4123",shade10:"#804d29",primary:"#8e562e",tint10:"#9c663f",tint20:"#a97652",tint30:"#bb8f6f",tint40:"#ddc3b0",tint50:"#edded3",tint60:"#faf7f4"},forest:{shade50:"#0c1501",shade40:"#162702",shade30:"#294903",shade20:"#376304",shade10:"#427505",primary:"#498205",tint10:"#599116",tint20:"#6ba02b",tint30:"#85b44c",tint40:"#bdd99b",tint50:"#dbebc7",tint60:"#f6faf0"},seafoam:{shade50:"#002111",shade40:"#003d20",shade30:"#00723b",shade20:"#009b51",shade10:"#00b85f",primary:"#00cc6a",tint10:"#19d279",tint20:"#34d889",tint30:"#5ae0a0",tint40:"#a8f0cd",tint50:"#cff7e4",tint60:"#f3fdf8"},darkGreen:{shade50:"#021102",shade40:"#032003",shade30:"#063b06",shade20:"#085108",shade10:"#0a5f0a",primary:"#0b6a0b",tint10:"#1a7c1a",tint20:"#2d8e2d",tint30:"#4da64d",tint40:"#9ad29a",tint50:"#c6e7c6",tint60:"#f0f9f0"},lightTeal:{shade50:"#001d1f",shade40:"#00373a",shade30:"#00666d",shade20:"#008b94",shade10:"#00a5af",primary:"#00b7c3",tint10:"#18bfca",tint20:"#32c8d1",tint30:"#58d3db",tint40:"#a6e9ed",tint50:"#cef3f5",tint60:"#f2fcfd"},teal:{shade50:"#001516",shade40:"#012728",shade30:"#02494c",shade20:"#026467",shade10:"#037679",primary:"#038387",tint10:"#159195",tint20:"#2aa0a4",tint30:"#4cb4b7",tint40:"#9bd9db",tint50:"#c7ebec",tint60:"#f0fafa"},steel:{shade50:"#000f12",shade40:"#001b22",shade30:"#00333f",shade20:"#004555",shade10:"#005265",primary:"#005b70",tint10:"#0f6c81",tint20:"#237d92",tint30:"#4496a9",tint40:"#94c8d4",tint50:"#c3e1e8",tint60:"#eff7f9"},blue:{shade50:"#001322",shade40:"#002440",shade30:"#004377",shade20:"#005ba1",shade10:"#006cbf",primary:"#0078d4",tint10:"#1a86d9",tint20:"#3595de",tint30:"#5caae5",tint40:"#a9d3f2",tint50:"#d0e7f8",tint60:"#f3f9fd"},royalBlue:{shade50:"#000c16",shade40:"#00172a",shade30:"#002c4e",shade20:"#003b6a",shade10:"#00467e",primary:"#004e8c",tint10:"#125e9a",tint20:"#286fa8",tint30:"#4a89ba",tint40:"#9abfdc",tint50:"#c7dced",tint60:"#f0f6fa"},cornflower:{shade50:"#0d1126",shade40:"#182047",shade30:"#2c3c85",shade20:"#3c51b4",shade10:"#4760d5",primary:"#4f6bed",tint10:"#637cef",tint20:"#778df1",tint30:"#93a4f4",tint40:"#c8d1fa",tint50:"#e1e6fc",tint60:"#f7f9fe"},navy:{shade50:"#00061d",shade40:"#000c36",shade30:"#001665",shade20:"#001e89",shade10:"#0023a2",primary:"#0027b4",tint10:"#173bbd",tint20:"#3050c6",tint30:"#546fd2",tint40:"#a3b2e8",tint50:"#ccd5f3",tint60:"#f2f4fc"},lavender:{shade50:"#120f25",shade40:"#221d46",shade30:"#3f3682",shade20:"#5649b0",shade10:"#6656d1",primary:"#7160e8",tint10:"#8172eb",tint20:"#9184ee",tint30:"#a79cf1",tint40:"#d2ccf8",tint50:"#e7e4fb",tint60:"#f9f8fe"},purple:{shade50:"#0f0717",shade40:"#1c0e2b",shade30:"#341a51",shade20:"#46236e",shade10:"#532982",primary:"#5c2e91",tint10:"#6b3f9e",tint20:"#7c52ab",tint30:"#9470bd",tint40:"#c6b1de",tint50:"#e0d3ed",tint60:"#f7f4fb"},grape:{shade50:"#160418",shade40:"#29072e",shade30:"#4c0d55",shade20:"#671174",shade10:"#7a1589",primary:"#881798",tint10:"#952aa4",tint20:"#a33fb1",tint30:"#b55fc1",tint40:"#d9a7e0",tint50:"#eaceef",tint60:"#faf2fb"},lilac:{shade50:"#1c0b1f",shade40:"#35153a",shade30:"#63276d",shade20:"#863593",shade10:"#9f3faf",primary:"#b146c2",tint10:"#ba58c9",tint20:"#c36bd1",tint30:"#cf87da",tint40:"#e6bfed",tint50:"#f2dcf5",tint60:"#fcf6fd"},pink:{shade50:"#24091b",shade40:"#441232",shade30:"#80215d",shade20:"#ad2d7e",shade10:"#cd3595",primary:"#e43ba6",tint10:"#e750b0",tint20:"#ea66ba",tint30:"#ef85c8",tint40:"#f7c0e3",tint50:"#fbddf0",tint60:"#fef6fb"},magenta:{shade50:"#1f0013",shade40:"#390024",shade30:"#6b0043",shade20:"#91005a",shade10:"#ac006b",primary:"#bf0077",tint10:"#c71885",tint20:"#ce3293",tint30:"#d957a8",tint40:"#eca5d1",tint50:"#f5cee6",tint60:"#fcf2f9"},plum:{shade50:"#13000c",shade40:"#240017",shade30:"#43002b",shade20:"#5a003b",shade10:"#6b0045",primary:"#77004d",tint10:"#87105d",tint20:"#98246f",tint30:"#ad4589",tint40:"#d696c0",tint50:"#e9c4dc",tint60:"#faf0f6"},beige:{shade50:"#141313",shade40:"#252323",shade30:"#444241",shade20:"#5d5958",shade10:"#6e6968",primary:"#7a7574",tint10:"#8a8584",tint20:"#9a9594",tint30:"#afabaa",tint40:"#d7d4d4",tint50:"#eae8e8",tint60:"#faf9f9"},mink:{shade50:"#0f0e0e",shade40:"#1c1b1a",shade30:"#343231",shade20:"#474443",shade10:"#54514f",primary:"#5d5a58",tint10:"#706d6b",tint20:"#84817e",tint30:"#9e9b99",tint40:"#cecccb",tint50:"#e5e4e3",tint60:"#f8f8f8"},platinum:{shade50:"#111314",shade40:"#1f2426",shade30:"#3b4447",shade20:"#505c60",shade10:"#5f6d71",primary:"#69797e",tint10:"#79898d",tint20:"#89989d",tint30:"#a0adb2",tint40:"#cdd6d8",tint50:"#e4e9ea",tint60:"#f8f9fa"},anchor:{shade50:"#090a0b",shade40:"#111315",shade30:"#202427",shade20:"#2b3135",shade10:"#333a3f",primary:"#394146",tint10:"#4d565c",tint20:"#626c72",tint30:"#808a90",tint40:"#bcc3c7",tint50:"#dbdfe1",tint60:"#f6f7f8"}},Ks={cranberry:Ws,green:Us,orange:{shade50:"#271002",shade40:"#4a1e04",shade30:"#8a3707",shade20:"#bc4b09",shade10:"#de590b",primary:"#f7630c",tint10:"#f87528",tint20:"#f98845",tint30:"#faa06b",tint40:"#fdcfb4",tint50:"#fee5d7",tint60:"#fff9f5"}},Js=["red","green","darkOrange","yellow","berry","lightGreen","marigold"],Ys=["darkRed","cranberry","pumpkin","peach","gold","brass","brown","forest","seafoam","darkGreen","lightTeal","teal","steel","blue","royalBlue","cornflower","navy","lavender","purple","grape","lilac","pink","magenta","plum","beige","mink","platinum","anchor"],Qs={success:"green",warning:"orange",danger:"cranberry"},el=Js.reduce(((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),o={[`colorPalette${r}Background1`]:Gs[t].tint60,[`colorPalette${r}Background2`]:Gs[t].tint40,[`colorPalette${r}Background3`]:Gs[t].primary,[`colorPalette${r}Foreground1`]:Gs[t].shade10,[`colorPalette${r}Foreground2`]:Gs[t].shade30,[`colorPalette${r}Foreground3`]:Gs[t].primary,[`colorPalette${r}BorderActive`]:Gs[t].primary,[`colorPalette${r}Border1`]:Gs[t].tint40,[`colorPalette${r}Border2`]:Gs[t].primary};return Object.assign(e,o)}),{});el.colorPaletteYellowForeground1=Gs.yellow.shade30,el.colorPaletteRedForegroundInverted=Gs.red.tint20,el.colorPaletteGreenForegroundInverted=Gs.green.tint20,el.colorPaletteYellowForegroundInverted=Gs.yellow.tint40;const tl=Ys.reduce(((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),o={[`colorPalette${r}Background2`]:Xs[t].tint40,[`colorPalette${r}Foreground2`]:Xs[t].shade30,[`colorPalette${r}BorderActive`]:Xs[t].primary};return Object.assign(e,o)}),{}),rl={...el,...tl},ol=Object.entries(Qs).reduce(((e,[t,r])=>{const o=t.slice(0,1).toUpperCase()+t.slice(1),a={[`colorStatus${o}Background1`]:Ks[r].tint60,[`colorStatus${o}Background2`]:Ks[r].tint40,[`colorStatus${o}Background3`]:Ks[r].primary,[`colorStatus${o}Foreground1`]:Ks[r].shade10,[`colorStatus${o}Foreground2`]:Ks[r].shade30,[`colorStatus${o}Foreground3`]:Ks[r].primary,[`colorStatus${o}ForegroundInverted`]:Ks[r].tint30,[`colorStatus${o}BorderActive`]:Ks[r].primary,[`colorStatus${o}Border1`]:Ks[r].tint40,[`colorStatus${o}Border2`]:Ks[r].primary};return Object.assign(e,a)}),{});ol.colorStatusDangerBackground3Hover=Ks[Qs.danger].shade10,ol.colorStatusDangerBackground3Pressed=Ks[Qs.danger].shade20,ol.colorStatusWarningForeground1=Ks[Qs.warning].shade20,ol.colorStatusWarningForeground3=Ks[Qs.warning].shade20,ol.colorStatusWarningBorder2=Ks[Qs.warning].shade20;const al={borderRadiusNone:"0",borderRadiusSmall:"2px",borderRadiusMedium:"4px",borderRadiusLarge:"6px",borderRadiusXLarge:"8px",borderRadiusCircular:"10000px"},nl={curveAccelerateMax:"cubic-bezier(0.9,0.1,1,0.2)",curveAccelerateMid:"cubic-bezier(1,0,1,1)",curveAccelerateMin:"cubic-bezier(0.8,0,0.78,1)",curveDecelerateMax:"cubic-bezier(0.1,0.9,0.2,1)",curveDecelerateMid:"cubic-bezier(0,0,0,1)",curveDecelerateMin:"cubic-bezier(0.33,0,0.1,1)",curveEasyEaseMax:"cubic-bezier(0.8,0,0.2,1)",curveEasyEase:"cubic-bezier(0.33,0,0.67,1)",curveLinear:"cubic-bezier(0,0,1,1)"},il={durationUltraFast:"50ms",durationFaster:"100ms",durationFast:"150ms",durationNormal:"200ms",durationGentle:"250ms",durationSlow:"300ms",durationSlower:"400ms",durationUltraSlow:"500ms"},sl={fontSizeBase100:"10px",fontSizeBase200:"12px",fontSizeBase300:"14px",fontSizeBase400:"16px",fontSizeBase500:"20px",fontSizeBase600:"24px",fontSizeHero700:"28px",fontSizeHero800:"32px",fontSizeHero900:"40px",fontSizeHero1000:"68px"},ll={lineHeightBase100:"14px",lineHeightBase200:"16px",lineHeightBase300:"20px",lineHeightBase400:"22px",lineHeightBase500:"28px",lineHeightBase600:"32px",lineHeightHero700:"36px",lineHeightHero800:"40px",lineHeightHero900:"52px",lineHeightHero1000:"92px"},cl={fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700},dl={fontFamilyBase:"'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif",fontFamilyMonospace:"Consolas, 'Courier New', Courier, monospace",fontFamilyNumeric:"Bahnschrift, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif"},ul="0",fl="2px",pl="4px",hl="6px",gl="8px",vl="10px",ml="12px",bl="16px",xl="20px",yl="24px",wl="32px",kl={spacingHorizontalNone:ul,spacingHorizontalXXS:fl,spacingHorizontalXS:pl,spacingHorizontalSNudge:hl,spacingHorizontalS:gl,spacingHorizontalMNudge:vl,spacingHorizontalM:ml,spacingHorizontalL:bl,spacingHorizontalXL:xl,spacingHorizontalXXL:yl,spacingHorizontalXXXL:wl},Bl={spacingVerticalNone:ul,spacingVerticalXXS:fl,spacingVerticalXS:pl,spacingVerticalSNudge:hl,spacingVerticalS:gl,spacingVerticalMNudge:vl,spacingVerticalM:ml,spacingVerticalL:bl,spacingVerticalXL:xl,spacingVerticalXXL:yl,spacingVerticalXXXL:wl},Sl={strokeWidthThin:"1px",strokeWidthThick:"2px",strokeWidthThicker:"3px",strokeWidthThickest:"4px"},_l={colorNeutralForeground1:"var(--colorNeutralForeground1)",colorNeutralForeground1Hover:"var(--colorNeutralForeground1Hover)",colorNeutralForeground1Pressed:"var(--colorNeutralForeground1Pressed)",colorNeutralForeground1Selected:"var(--colorNeutralForeground1Selected)",colorNeutralForeground2:"var(--colorNeutralForeground2)",colorNeutralForeground2Hover:"var(--colorNeutralForeground2Hover)",colorNeutralForeground2Pressed:"var(--colorNeutralForeground2Pressed)",colorNeutralForeground2Selected:"var(--colorNeutralForeground2Selected)",colorNeutralForeground2BrandHover:"var(--colorNeutralForeground2BrandHover)",colorNeutralForeground2BrandPressed:"var(--colorNeutralForeground2BrandPressed)",colorNeutralForeground2BrandSelected:"var(--colorNeutralForeground2BrandSelected)",colorNeutralForeground3:"var(--colorNeutralForeground3)",colorNeutralForeground3Hover:"var(--colorNeutralForeground3Hover)",colorNeutralForeground3Pressed:"var(--colorNeutralForeground3Pressed)",colorNeutralForeground3Selected:"var(--colorNeutralForeground3Selected)",colorNeutralForeground3BrandHover:"var(--colorNeutralForeground3BrandHover)",colorNeutralForeground3BrandPressed:"var(--colorNeutralForeground3BrandPressed)",colorNeutralForeground3BrandSelected:"var(--colorNeutralForeground3BrandSelected)",colorNeutralForeground4:"var(--colorNeutralForeground4)",colorNeutralForegroundDisabled:"var(--colorNeutralForegroundDisabled)",colorBrandForegroundLink:"var(--colorBrandForegroundLink)",colorBrandForegroundLinkHover:"var(--colorBrandForegroundLinkHover)",colorBrandForegroundLinkPressed:"var(--colorBrandForegroundLinkPressed)",colorBrandForegroundLinkSelected:"var(--colorBrandForegroundLinkSelected)",colorNeutralForeground2Link:"var(--colorNeutralForeground2Link)",colorNeutralForeground2LinkHover:"var(--colorNeutralForeground2LinkHover)",colorNeutralForeground2LinkPressed:"var(--colorNeutralForeground2LinkPressed)",colorNeutralForeground2LinkSelected:"var(--colorNeutralForeground2LinkSelected)",colorCompoundBrandForeground1:"var(--colorCompoundBrandForeground1)",colorCompoundBrandForeground1Hover:"var(--colorCompoundBrandForeground1Hover)",colorCompoundBrandForeground1Pressed:"var(--colorCompoundBrandForeground1Pressed)",colorNeutralForegroundOnBrand:"var(--colorNeutralForegroundOnBrand)",colorNeutralForegroundInverted:"var(--colorNeutralForegroundInverted)",colorNeutralForegroundInvertedHover:"var(--colorNeutralForegroundInvertedHover)",colorNeutralForegroundInvertedPressed:"var(--colorNeutralForegroundInvertedPressed)",colorNeutralForegroundInvertedSelected:"var(--colorNeutralForegroundInvertedSelected)",colorNeutralForegroundInverted2:"var(--colorNeutralForegroundInverted2)",colorNeutralForegroundStaticInverted:"var(--colorNeutralForegroundStaticInverted)",colorNeutralForegroundInvertedLink:"var(--colorNeutralForegroundInvertedLink)",colorNeutralForegroundInvertedLinkHover:"var(--colorNeutralForegroundInvertedLinkHover)",colorNeutralForegroundInvertedLinkPressed:"var(--colorNeutralForegroundInvertedLinkPressed)",colorNeutralForegroundInvertedLinkSelected:"var(--colorNeutralForegroundInvertedLinkSelected)",colorNeutralForegroundInvertedDisabled:"var(--colorNeutralForegroundInvertedDisabled)",colorBrandForeground1:"var(--colorBrandForeground1)",colorBrandForeground2:"var(--colorBrandForeground2)",colorBrandForeground2Hover:"var(--colorBrandForeground2Hover)",colorBrandForeground2Pressed:"var(--colorBrandForeground2Pressed)",colorNeutralForeground1Static:"var(--colorNeutralForeground1Static)",colorBrandForegroundInverted:"var(--colorBrandForegroundInverted)",colorBrandForegroundInvertedHover:"var(--colorBrandForegroundInvertedHover)",colorBrandForegroundInvertedPressed:"var(--colorBrandForegroundInvertedPressed)",colorBrandForegroundOnLight:"var(--colorBrandForegroundOnLight)",colorBrandForegroundOnLightHover:"var(--colorBrandForegroundOnLightHover)",colorBrandForegroundOnLightPressed:"var(--colorBrandForegroundOnLightPressed)",colorBrandForegroundOnLightSelected:"var(--colorBrandForegroundOnLightSelected)",colorNeutralBackground1:"var(--colorNeutralBackground1)",colorNeutralBackground1Hover:"var(--colorNeutralBackground1Hover)",colorNeutralBackground1Pressed:"var(--colorNeutralBackground1Pressed)",colorNeutralBackground1Selected:"var(--colorNeutralBackground1Selected)",colorNeutralBackground2:"var(--colorNeutralBackground2)",colorNeutralBackground2Hover:"var(--colorNeutralBackground2Hover)",colorNeutralBackground2Pressed:"var(--colorNeutralBackground2Pressed)",colorNeutralBackground2Selected:"var(--colorNeutralBackground2Selected)",colorNeutralBackground3:"var(--colorNeutralBackground3)",colorNeutralBackground3Hover:"var(--colorNeutralBackground3Hover)",colorNeutralBackground3Pressed:"var(--colorNeutralBackground3Pressed)",colorNeutralBackground3Selected:"var(--colorNeutralBackground3Selected)",colorNeutralBackground4:"var(--colorNeutralBackground4)",colorNeutralBackground4Hover:"var(--colorNeutralBackground4Hover)",colorNeutralBackground4Pressed:"var(--colorNeutralBackground4Pressed)",colorNeutralBackground4Selected:"var(--colorNeutralBackground4Selected)",colorNeutralBackground5:"var(--colorNeutralBackground5)",colorNeutralBackground5Hover:"var(--colorNeutralBackground5Hover)",colorNeutralBackground5Pressed:"var(--colorNeutralBackground5Pressed)",colorNeutralBackground5Selected:"var(--colorNeutralBackground5Selected)",colorNeutralBackground6:"var(--colorNeutralBackground6)",colorNeutralBackgroundInverted:"var(--colorNeutralBackgroundInverted)",colorNeutralBackgroundStatic:"var(--colorNeutralBackgroundStatic)",colorNeutralBackgroundAlpha:"var(--colorNeutralBackgroundAlpha)",colorNeutralBackgroundAlpha2:"var(--colorNeutralBackgroundAlpha2)",colorSubtleBackground:"var(--colorSubtleBackground)",colorSubtleBackgroundHover:"var(--colorSubtleBackgroundHover)",colorSubtleBackgroundPressed:"var(--colorSubtleBackgroundPressed)",colorSubtleBackgroundSelected:"var(--colorSubtleBackgroundSelected)",colorSubtleBackgroundLightAlphaHover:"var(--colorSubtleBackgroundLightAlphaHover)",colorSubtleBackgroundLightAlphaPressed:"var(--colorSubtleBackgroundLightAlphaPressed)",colorSubtleBackgroundLightAlphaSelected:"var(--colorSubtleBackgroundLightAlphaSelected)",colorSubtleBackgroundInverted:"var(--colorSubtleBackgroundInverted)",colorSubtleBackgroundInvertedHover:"var(--colorSubtleBackgroundInvertedHover)",colorSubtleBackgroundInvertedPressed:"var(--colorSubtleBackgroundInvertedPressed)",colorSubtleBackgroundInvertedSelected:"var(--colorSubtleBackgroundInvertedSelected)",colorTransparentBackground:"var(--colorTransparentBackground)",colorTransparentBackgroundHover:"var(--colorTransparentBackgroundHover)",colorTransparentBackgroundPressed:"var(--colorTransparentBackgroundPressed)",colorTransparentBackgroundSelected:"var(--colorTransparentBackgroundSelected)",colorNeutralBackgroundDisabled:"var(--colorNeutralBackgroundDisabled)",colorNeutralBackgroundInvertedDisabled:"var(--colorNeutralBackgroundInvertedDisabled)",colorNeutralStencil1:"var(--colorNeutralStencil1)",colorNeutralStencil2:"var(--colorNeutralStencil2)",colorNeutralStencil1Alpha:"var(--colorNeutralStencil1Alpha)",colorNeutralStencil2Alpha:"var(--colorNeutralStencil2Alpha)",colorBackgroundOverlay:"var(--colorBackgroundOverlay)",colorScrollbarOverlay:"var(--colorScrollbarOverlay)",colorBrandBackground:"var(--colorBrandBackground)",colorBrandBackgroundHover:"var(--colorBrandBackgroundHover)",colorBrandBackgroundPressed:"var(--colorBrandBackgroundPressed)",colorBrandBackgroundSelected:"var(--colorBrandBackgroundSelected)",colorCompoundBrandBackground:"var(--colorCompoundBrandBackground)",colorCompoundBrandBackgroundHover:"var(--colorCompoundBrandBackgroundHover)",colorCompoundBrandBackgroundPressed:"var(--colorCompoundBrandBackgroundPressed)",colorBrandBackgroundStatic:"var(--colorBrandBackgroundStatic)",colorBrandBackground2:"var(--colorBrandBackground2)",colorBrandBackground2Hover:"var(--colorBrandBackground2Hover)",colorBrandBackground2Pressed:"var(--colorBrandBackground2Pressed)",colorBrandBackground3Static:"var(--colorBrandBackground3Static)",colorBrandBackground4Static:"var(--colorBrandBackground4Static)",colorBrandBackgroundInverted:"var(--colorBrandBackgroundInverted)",colorBrandBackgroundInvertedHover:"var(--colorBrandBackgroundInvertedHover)",colorBrandBackgroundInvertedPressed:"var(--colorBrandBackgroundInvertedPressed)",colorBrandBackgroundInvertedSelected:"var(--colorBrandBackgroundInvertedSelected)",colorNeutralCardBackground:"var(--colorNeutralCardBackground)",colorNeutralCardBackgroundHover:"var(--colorNeutralCardBackgroundHover)",colorNeutralCardBackgroundPressed:"var(--colorNeutralCardBackgroundPressed)",colorNeutralCardBackgroundSelected:"var(--colorNeutralCardBackgroundSelected)",colorNeutralCardBackgroundDisabled:"var(--colorNeutralCardBackgroundDisabled)",colorNeutralStrokeAccessible:"var(--colorNeutralStrokeAccessible)",colorNeutralStrokeAccessibleHover:"var(--colorNeutralStrokeAccessibleHover)",colorNeutralStrokeAccessiblePressed:"var(--colorNeutralStrokeAccessiblePressed)",colorNeutralStrokeAccessibleSelected:"var(--colorNeutralStrokeAccessibleSelected)",colorNeutralStroke1:"var(--colorNeutralStroke1)",colorNeutralStroke1Hover:"var(--colorNeutralStroke1Hover)",colorNeutralStroke1Pressed:"var(--colorNeutralStroke1Pressed)",colorNeutralStroke1Selected:"var(--colorNeutralStroke1Selected)",colorNeutralStroke2:"var(--colorNeutralStroke2)",colorNeutralStroke3:"var(--colorNeutralStroke3)",colorNeutralStrokeSubtle:"var(--colorNeutralStrokeSubtle)",colorNeutralStrokeOnBrand:"var(--colorNeutralStrokeOnBrand)",colorNeutralStrokeOnBrand2:"var(--colorNeutralStrokeOnBrand2)",colorNeutralStrokeOnBrand2Hover:"var(--colorNeutralStrokeOnBrand2Hover)",colorNeutralStrokeOnBrand2Pressed:"var(--colorNeutralStrokeOnBrand2Pressed)",colorNeutralStrokeOnBrand2Selected:"var(--colorNeutralStrokeOnBrand2Selected)",colorBrandStroke1:"var(--colorBrandStroke1)",colorBrandStroke2:"var(--colorBrandStroke2)",colorBrandStroke2Hover:"var(--colorBrandStroke2Hover)",colorBrandStroke2Pressed:"var(--colorBrandStroke2Pressed)",colorBrandStroke2Contrast:"var(--colorBrandStroke2Contrast)",colorCompoundBrandStroke:"var(--colorCompoundBrandStroke)",colorCompoundBrandStrokeHover:"var(--colorCompoundBrandStrokeHover)",colorCompoundBrandStrokePressed:"var(--colorCompoundBrandStrokePressed)",colorNeutralStrokeDisabled:"var(--colorNeutralStrokeDisabled)",colorNeutralStrokeInvertedDisabled:"var(--colorNeutralStrokeInvertedDisabled)",colorTransparentStroke:"var(--colorTransparentStroke)",colorTransparentStrokeInteractive:"var(--colorTransparentStrokeInteractive)",colorTransparentStrokeDisabled:"var(--colorTransparentStrokeDisabled)",colorNeutralStrokeAlpha:"var(--colorNeutralStrokeAlpha)",colorNeutralStrokeAlpha2:"var(--colorNeutralStrokeAlpha2)",colorStrokeFocus1:"var(--colorStrokeFocus1)",colorStrokeFocus2:"var(--colorStrokeFocus2)",colorNeutralShadowAmbient:"var(--colorNeutralShadowAmbient)",colorNeutralShadowKey:"var(--colorNeutralShadowKey)",colorNeutralShadowAmbientLighter:"var(--colorNeutralShadowAmbientLighter)",colorNeutralShadowKeyLighter:"var(--colorNeutralShadowKeyLighter)",colorNeutralShadowAmbientDarker:"var(--colorNeutralShadowAmbientDarker)",colorNeutralShadowKeyDarker:"var(--colorNeutralShadowKeyDarker)",colorBrandShadowAmbient:"var(--colorBrandShadowAmbient)",colorBrandShadowKey:"var(--colorBrandShadowKey)",colorPaletteRedBackground1:"var(--colorPaletteRedBackground1)",colorPaletteRedBackground2:"var(--colorPaletteRedBackground2)",colorPaletteRedBackground3:"var(--colorPaletteRedBackground3)",colorPaletteRedBorderActive:"var(--colorPaletteRedBorderActive)",colorPaletteRedBorder1:"var(--colorPaletteRedBorder1)",colorPaletteRedBorder2:"var(--colorPaletteRedBorder2)",colorPaletteRedForeground1:"var(--colorPaletteRedForeground1)",colorPaletteRedForeground2:"var(--colorPaletteRedForeground2)",colorPaletteRedForeground3:"var(--colorPaletteRedForeground3)",colorPaletteRedForegroundInverted:"var(--colorPaletteRedForegroundInverted)",colorPaletteGreenBackground1:"var(--colorPaletteGreenBackground1)",colorPaletteGreenBackground2:"var(--colorPaletteGreenBackground2)",colorPaletteGreenBackground3:"var(--colorPaletteGreenBackground3)",colorPaletteGreenBorderActive:"var(--colorPaletteGreenBorderActive)",colorPaletteGreenBorder1:"var(--colorPaletteGreenBorder1)",colorPaletteGreenBorder2:"var(--colorPaletteGreenBorder2)",colorPaletteGreenForeground1:"var(--colorPaletteGreenForeground1)",colorPaletteGreenForeground2:"var(--colorPaletteGreenForeground2)",colorPaletteGreenForeground3:"var(--colorPaletteGreenForeground3)",colorPaletteGreenForegroundInverted:"var(--colorPaletteGreenForegroundInverted)",colorPaletteDarkOrangeBackground1:"var(--colorPaletteDarkOrangeBackground1)",colorPaletteDarkOrangeBackground2:"var(--colorPaletteDarkOrangeBackground2)",colorPaletteDarkOrangeBackground3:"var(--colorPaletteDarkOrangeBackground3)",colorPaletteDarkOrangeBorderActive:"var(--colorPaletteDarkOrangeBorderActive)",colorPaletteDarkOrangeBorder1:"var(--colorPaletteDarkOrangeBorder1)",colorPaletteDarkOrangeBorder2:"var(--colorPaletteDarkOrangeBorder2)",colorPaletteDarkOrangeForeground1:"var(--colorPaletteDarkOrangeForeground1)",colorPaletteDarkOrangeForeground2:"var(--colorPaletteDarkOrangeForeground2)",colorPaletteDarkOrangeForeground3:"var(--colorPaletteDarkOrangeForeground3)",colorPaletteYellowBackground1:"var(--colorPaletteYellowBackground1)",colorPaletteYellowBackground2:"var(--colorPaletteYellowBackground2)",colorPaletteYellowBackground3:"var(--colorPaletteYellowBackground3)",colorPaletteYellowBorderActive:"var(--colorPaletteYellowBorderActive)",colorPaletteYellowBorder1:"var(--colorPaletteYellowBorder1)",colorPaletteYellowBorder2:"var(--colorPaletteYellowBorder2)",colorPaletteYellowForeground1:"var(--colorPaletteYellowForeground1)",colorPaletteYellowForeground2:"var(--colorPaletteYellowForeground2)",colorPaletteYellowForeground3:"var(--colorPaletteYellowForeground3)",colorPaletteYellowForegroundInverted:"var(--colorPaletteYellowForegroundInverted)",colorPaletteBerryBackground1:"var(--colorPaletteBerryBackground1)",colorPaletteBerryBackground2:"var(--colorPaletteBerryBackground2)",colorPaletteBerryBackground3:"var(--colorPaletteBerryBackground3)",colorPaletteBerryBorderActive:"var(--colorPaletteBerryBorderActive)",colorPaletteBerryBorder1:"var(--colorPaletteBerryBorder1)",colorPaletteBerryBorder2:"var(--colorPaletteBerryBorder2)",colorPaletteBerryForeground1:"var(--colorPaletteBerryForeground1)",colorPaletteBerryForeground2:"var(--colorPaletteBerryForeground2)",colorPaletteBerryForeground3:"var(--colorPaletteBerryForeground3)",colorPaletteMarigoldBackground1:"var(--colorPaletteMarigoldBackground1)",colorPaletteMarigoldBackground2:"var(--colorPaletteMarigoldBackground2)",colorPaletteMarigoldBackground3:"var(--colorPaletteMarigoldBackground3)",colorPaletteMarigoldBorderActive:"var(--colorPaletteMarigoldBorderActive)",colorPaletteMarigoldBorder1:"var(--colorPaletteMarigoldBorder1)",colorPaletteMarigoldBorder2:"var(--colorPaletteMarigoldBorder2)",colorPaletteMarigoldForeground1:"var(--colorPaletteMarigoldForeground1)",colorPaletteMarigoldForeground2:"var(--colorPaletteMarigoldForeground2)",colorPaletteMarigoldForeground3:"var(--colorPaletteMarigoldForeground3)",colorPaletteLightGreenBackground1:"var(--colorPaletteLightGreenBackground1)",colorPaletteLightGreenBackground2:"var(--colorPaletteLightGreenBackground2)",colorPaletteLightGreenBackground3:"var(--colorPaletteLightGreenBackground3)",colorPaletteLightGreenBorderActive:"var(--colorPaletteLightGreenBorderActive)",colorPaletteLightGreenBorder1:"var(--colorPaletteLightGreenBorder1)",colorPaletteLightGreenBorder2:"var(--colorPaletteLightGreenBorder2)",colorPaletteLightGreenForeground1:"var(--colorPaletteLightGreenForeground1)",colorPaletteLightGreenForeground2:"var(--colorPaletteLightGreenForeground2)",colorPaletteLightGreenForeground3:"var(--colorPaletteLightGreenForeground3)",colorPaletteAnchorBackground2:"var(--colorPaletteAnchorBackground2)",colorPaletteAnchorBorderActive:"var(--colorPaletteAnchorBorderActive)",colorPaletteAnchorForeground2:"var(--colorPaletteAnchorForeground2)",colorPaletteBeigeBackground2:"var(--colorPaletteBeigeBackground2)",colorPaletteBeigeBorderActive:"var(--colorPaletteBeigeBorderActive)",colorPaletteBeigeForeground2:"var(--colorPaletteBeigeForeground2)",colorPaletteBlueBackground2:"var(--colorPaletteBlueBackground2)",colorPaletteBlueBorderActive:"var(--colorPaletteBlueBorderActive)",colorPaletteBlueForeground2:"var(--colorPaletteBlueForeground2)",colorPaletteBrassBackground2:"var(--colorPaletteBrassBackground2)",colorPaletteBrassBorderActive:"var(--colorPaletteBrassBorderActive)",colorPaletteBrassForeground2:"var(--colorPaletteBrassForeground2)",colorPaletteBrownBackground2:"var(--colorPaletteBrownBackground2)",colorPaletteBrownBorderActive:"var(--colorPaletteBrownBorderActive)",colorPaletteBrownForeground2:"var(--colorPaletteBrownForeground2)",colorPaletteCornflowerBackground2:"var(--colorPaletteCornflowerBackground2)",colorPaletteCornflowerBorderActive:"var(--colorPaletteCornflowerBorderActive)",colorPaletteCornflowerForeground2:"var(--colorPaletteCornflowerForeground2)",colorPaletteCranberryBackground2:"var(--colorPaletteCranberryBackground2)",colorPaletteCranberryBorderActive:"var(--colorPaletteCranberryBorderActive)",colorPaletteCranberryForeground2:"var(--colorPaletteCranberryForeground2)",colorPaletteDarkGreenBackground2:"var(--colorPaletteDarkGreenBackground2)",colorPaletteDarkGreenBorderActive:"var(--colorPaletteDarkGreenBorderActive)",colorPaletteDarkGreenForeground2:"var(--colorPaletteDarkGreenForeground2)",colorPaletteDarkRedBackground2:"var(--colorPaletteDarkRedBackground2)",colorPaletteDarkRedBorderActive:"var(--colorPaletteDarkRedBorderActive)",colorPaletteDarkRedForeground2:"var(--colorPaletteDarkRedForeground2)",colorPaletteForestBackground2:"var(--colorPaletteForestBackground2)",colorPaletteForestBorderActive:"var(--colorPaletteForestBorderActive)",colorPaletteForestForeground2:"var(--colorPaletteForestForeground2)",colorPaletteGoldBackground2:"var(--colorPaletteGoldBackground2)",colorPaletteGoldBorderActive:"var(--colorPaletteGoldBorderActive)",colorPaletteGoldForeground2:"var(--colorPaletteGoldForeground2)",colorPaletteGrapeBackground2:"var(--colorPaletteGrapeBackground2)",colorPaletteGrapeBorderActive:"var(--colorPaletteGrapeBorderActive)",colorPaletteGrapeForeground2:"var(--colorPaletteGrapeForeground2)",colorPaletteLavenderBackground2:"var(--colorPaletteLavenderBackground2)",colorPaletteLavenderBorderActive:"var(--colorPaletteLavenderBorderActive)",colorPaletteLavenderForeground2:"var(--colorPaletteLavenderForeground2)",colorPaletteLightTealBackground2:"var(--colorPaletteLightTealBackground2)",colorPaletteLightTealBorderActive:"var(--colorPaletteLightTealBorderActive)",colorPaletteLightTealForeground2:"var(--colorPaletteLightTealForeground2)",colorPaletteLilacBackground2:"var(--colorPaletteLilacBackground2)",colorPaletteLilacBorderActive:"var(--colorPaletteLilacBorderActive)",colorPaletteLilacForeground2:"var(--colorPaletteLilacForeground2)",colorPaletteMagentaBackground2:"var(--colorPaletteMagentaBackground2)",colorPaletteMagentaBorderActive:"var(--colorPaletteMagentaBorderActive)",colorPaletteMagentaForeground2:"var(--colorPaletteMagentaForeground2)",colorPaletteMinkBackground2:"var(--colorPaletteMinkBackground2)",colorPaletteMinkBorderActive:"var(--colorPaletteMinkBorderActive)",colorPaletteMinkForeground2:"var(--colorPaletteMinkForeground2)",colorPaletteNavyBackground2:"var(--colorPaletteNavyBackground2)",colorPaletteNavyBorderActive:"var(--colorPaletteNavyBorderActive)",colorPaletteNavyForeground2:"var(--colorPaletteNavyForeground2)",colorPalettePeachBackground2:"var(--colorPalettePeachBackground2)",colorPalettePeachBorderActive:"var(--colorPalettePeachBorderActive)",colorPalettePeachForeground2:"var(--colorPalettePeachForeground2)",colorPalettePinkBackground2:"var(--colorPalettePinkBackground2)",colorPalettePinkBorderActive:"var(--colorPalettePinkBorderActive)",colorPalettePinkForeground2:"var(--colorPalettePinkForeground2)",colorPalettePlatinumBackground2:"var(--colorPalettePlatinumBackground2)",colorPalettePlatinumBorderActive:"var(--colorPalettePlatinumBorderActive)",colorPalettePlatinumForeground2:"var(--colorPalettePlatinumForeground2)",colorPalettePlumBackground2:"var(--colorPalettePlumBackground2)",colorPalettePlumBorderActive:"var(--colorPalettePlumBorderActive)",colorPalettePlumForeground2:"var(--colorPalettePlumForeground2)",colorPalettePumpkinBackground2:"var(--colorPalettePumpkinBackground2)",colorPalettePumpkinBorderActive:"var(--colorPalettePumpkinBorderActive)",colorPalettePumpkinForeground2:"var(--colorPalettePumpkinForeground2)",colorPalettePurpleBackground2:"var(--colorPalettePurpleBackground2)",colorPalettePurpleBorderActive:"var(--colorPalettePurpleBorderActive)",colorPalettePurpleForeground2:"var(--colorPalettePurpleForeground2)",colorPaletteRoyalBlueBackground2:"var(--colorPaletteRoyalBlueBackground2)",colorPaletteRoyalBlueBorderActive:"var(--colorPaletteRoyalBlueBorderActive)",colorPaletteRoyalBlueForeground2:"var(--colorPaletteRoyalBlueForeground2)",colorPaletteSeafoamBackground2:"var(--colorPaletteSeafoamBackground2)",colorPaletteSeafoamBorderActive:"var(--colorPaletteSeafoamBorderActive)",colorPaletteSeafoamForeground2:"var(--colorPaletteSeafoamForeground2)",colorPaletteSteelBackground2:"var(--colorPaletteSteelBackground2)",colorPaletteSteelBorderActive:"var(--colorPaletteSteelBorderActive)",colorPaletteSteelForeground2:"var(--colorPaletteSteelForeground2)",colorPaletteTealBackground2:"var(--colorPaletteTealBackground2)",colorPaletteTealBorderActive:"var(--colorPaletteTealBorderActive)",colorPaletteTealForeground2:"var(--colorPaletteTealForeground2)",colorStatusSuccessBackground1:"var(--colorStatusSuccessBackground1)",colorStatusSuccessBackground2:"var(--colorStatusSuccessBackground2)",colorStatusSuccessBackground3:"var(--colorStatusSuccessBackground3)",colorStatusSuccessForeground1:"var(--colorStatusSuccessForeground1)",colorStatusSuccessForeground2:"var(--colorStatusSuccessForeground2)",colorStatusSuccessForeground3:"var(--colorStatusSuccessForeground3)",colorStatusSuccessForegroundInverted:"var(--colorStatusSuccessForegroundInverted)",colorStatusSuccessBorderActive:"var(--colorStatusSuccessBorderActive)",colorStatusSuccessBorder1:"var(--colorStatusSuccessBorder1)",colorStatusSuccessBorder2:"var(--colorStatusSuccessBorder2)",colorStatusWarningBackground1:"var(--colorStatusWarningBackground1)",colorStatusWarningBackground2:"var(--colorStatusWarningBackground2)",colorStatusWarningBackground3:"var(--colorStatusWarningBackground3)",colorStatusWarningForeground1:"var(--colorStatusWarningForeground1)",colorStatusWarningForeground2:"var(--colorStatusWarningForeground2)",colorStatusWarningForeground3:"var(--colorStatusWarningForeground3)",colorStatusWarningForegroundInverted:"var(--colorStatusWarningForegroundInverted)",colorStatusWarningBorderActive:"var(--colorStatusWarningBorderActive)",colorStatusWarningBorder1:"var(--colorStatusWarningBorder1)",colorStatusWarningBorder2:"var(--colorStatusWarningBorder2)",colorStatusDangerBackground1:"var(--colorStatusDangerBackground1)",colorStatusDangerBackground2:"var(--colorStatusDangerBackground2)",colorStatusDangerBackground3:"var(--colorStatusDangerBackground3)",colorStatusDangerBackground3Hover:"var(--colorStatusDangerBackground3Hover)",colorStatusDangerBackground3Pressed:"var(--colorStatusDangerBackground3Pressed)",colorStatusDangerForeground1:"var(--colorStatusDangerForeground1)",colorStatusDangerForeground2:"var(--colorStatusDangerForeground2)",colorStatusDangerForeground3:"var(--colorStatusDangerForeground3)",colorStatusDangerForegroundInverted:"var(--colorStatusDangerForegroundInverted)",colorStatusDangerBorderActive:"var(--colorStatusDangerBorderActive)",colorStatusDangerBorder1:"var(--colorStatusDangerBorder1)",colorStatusDangerBorder2:"var(--colorStatusDangerBorder2)",borderRadiusNone:"var(--borderRadiusNone)",borderRadiusSmall:"var(--borderRadiusSmall)",borderRadiusMedium:"var(--borderRadiusMedium)",borderRadiusLarge:"var(--borderRadiusLarge)",borderRadiusXLarge:"var(--borderRadiusXLarge)",borderRadiusCircular:"var(--borderRadiusCircular)",fontFamilyBase:"var(--fontFamilyBase)",fontFamilyMonospace:"var(--fontFamilyMonospace)",fontFamilyNumeric:"var(--fontFamilyNumeric)",fontSizeBase100:"var(--fontSizeBase100)",fontSizeBase200:"var(--fontSizeBase200)",fontSizeBase300:"var(--fontSizeBase300)",fontSizeBase400:"var(--fontSizeBase400)",fontSizeBase500:"var(--fontSizeBase500)",fontSizeBase600:"var(--fontSizeBase600)",fontSizeHero700:"var(--fontSizeHero700)",fontSizeHero800:"var(--fontSizeHero800)",fontSizeHero900:"var(--fontSizeHero900)",fontSizeHero1000:"var(--fontSizeHero1000)",fontWeightRegular:"var(--fontWeightRegular)",fontWeightMedium:"var(--fontWeightMedium)",fontWeightSemibold:"var(--fontWeightSemibold)",fontWeightBold:"var(--fontWeightBold)",lineHeightBase100:"var(--lineHeightBase100)",lineHeightBase200:"var(--lineHeightBase200)",lineHeightBase300:"var(--lineHeightBase300)",lineHeightBase400:"var(--lineHeightBase400)",lineHeightBase500:"var(--lineHeightBase500)",lineHeightBase600:"var(--lineHeightBase600)",lineHeightHero700:"var(--lineHeightHero700)",lineHeightHero800:"var(--lineHeightHero800)",lineHeightHero900:"var(--lineHeightHero900)",lineHeightHero1000:"var(--lineHeightHero1000)",shadow2:"var(--shadow2)",shadow4:"var(--shadow4)",shadow8:"var(--shadow8)",shadow16:"var(--shadow16)",shadow28:"var(--shadow28)",shadow64:"var(--shadow64)",shadow2Brand:"var(--shadow2Brand)",shadow4Brand:"var(--shadow4Brand)",shadow8Brand:"var(--shadow8Brand)",shadow16Brand:"var(--shadow16Brand)",shadow28Brand:"var(--shadow28Brand)",shadow64Brand:"var(--shadow64Brand)",strokeWidthThin:"var(--strokeWidthThin)",strokeWidthThick:"var(--strokeWidthThick)",strokeWidthThicker:"var(--strokeWidthThicker)",strokeWidthThickest:"var(--strokeWidthThickest)",spacingHorizontalNone:"var(--spacingHorizontalNone)",spacingHorizontalXXS:"var(--spacingHorizontalXXS)",spacingHorizontalXS:"var(--spacingHorizontalXS)",spacingHorizontalSNudge:"var(--spacingHorizontalSNudge)",spacingHorizontalS:"var(--spacingHorizontalS)",spacingHorizontalMNudge:"var(--spacingHorizontalMNudge)",spacingHorizontalM:"var(--spacingHorizontalM)",spacingHorizontalL:"var(--spacingHorizontalL)",spacingHorizontalXL:"var(--spacingHorizontalXL)",spacingHorizontalXXL:"var(--spacingHorizontalXXL)",spacingHorizontalXXXL:"var(--spacingHorizontalXXXL)",spacingVerticalNone:"var(--spacingVerticalNone)",spacingVerticalXXS:"var(--spacingVerticalXXS)",spacingVerticalXS:"var(--spacingVerticalXS)",spacingVerticalSNudge:"var(--spacingVerticalSNudge)",spacingVerticalS:"var(--spacingVerticalS)",spacingVerticalMNudge:"var(--spacingVerticalMNudge)",spacingVerticalM:"var(--spacingVerticalM)",spacingVerticalL:"var(--spacingVerticalL)",spacingVerticalXL:"var(--spacingVerticalXL)",spacingVerticalXXL:"var(--spacingVerticalXXL)",spacingVerticalXXXL:"var(--spacingVerticalXXXL)",durationUltraFast:"var(--durationUltraFast)",durationFaster:"var(--durationFaster)",durationFast:"var(--durationFast)",durationNormal:"var(--durationNormal)",durationGentle:"var(--durationGentle)",durationSlow:"var(--durationSlow)",durationSlower:"var(--durationSlower)",durationUltraSlow:"var(--durationUltraSlow)",curveAccelerateMax:"var(--curveAccelerateMax)",curveAccelerateMid:"var(--curveAccelerateMid)",curveAccelerateMin:"var(--curveAccelerateMin)",curveDecelerateMax:"var(--curveDecelerateMax)",curveDecelerateMid:"var(--curveDecelerateMid)",curveDecelerateMin:"var(--curveDecelerateMin)",curveEasyEaseMax:"var(--curveEasyEaseMax)",curveEasyEase:"var(--curveEasyEase)",curveLinear:"var(--curveLinear)",zIndexBackground:"var(--zIndexBackground, 0)",zIndexContent:"var(--zIndexContent, 1)",zIndexOverlay:"var(--zIndexOverlay, 1000)",zIndexPopup:"var(--zIndexPopup, 2000)",zIndexMessages:"var(--zIndexMessages, 3000)",zIndexFloating:"var(--zIndexFloating, 4000)",zIndexPriority:"var(--zIndexPriority, 5000)",zIndexDebug:"var(--zIndexDebug, 6000)"};function Nl(e,t,r=""){return{[`shadow2${r}`]:`0 0 2px ${e}, 0 1px 2px ${t}`,[`shadow4${r}`]:`0 0 2px ${e}, 0 2px 4px ${t}`,[`shadow8${r}`]:`0 0 2px ${e}, 0 4px 8px ${t}`,[`shadow16${r}`]:`0 0 2px ${e}, 0 8px 16px ${t}`,[`shadow28${r}`]:`0 0 8px ${e}, 0 14px 28px ${t}`,[`shadow64${r}`]:`0 0 8px ${e}, 0 32px 64px ${t}`}}const zl=e=>{const t=(e=>({colorNeutralForeground1:Ji,colorNeutralForeground1Hover:Ji,colorNeutralForeground1Pressed:Ji,colorNeutralForeground1Selected:Ji,colorNeutralForeground2:os,colorNeutralForeground2Hover:Ji,colorNeutralForeground2Pressed:Ji,colorNeutralForeground2Selected:Ji,colorNeutralForeground2BrandHover:e[80],colorNeutralForeground2BrandPressed:e[70],colorNeutralForeground2BrandSelected:e[80],colorNeutralForeground3:ls,colorNeutralForeground3Hover:os,colorNeutralForeground3Pressed:os,colorNeutralForeground3Selected:os,colorNeutralForeground3BrandHover:e[80],colorNeutralForeground3BrandPressed:e[70],colorNeutralForeground3BrandSelected:e[80],colorNeutralForeground4:us,colorNeutralForegroundDisabled:vs,colorNeutralForegroundInvertedDisabled:Cs,colorBrandForegroundLink:e[70],colorBrandForegroundLinkHover:e[60],colorBrandForegroundLinkPressed:e[40],colorBrandForegroundLinkSelected:e[70],colorNeutralForeground2Link:os,colorNeutralForeground2LinkHover:Ji,colorNeutralForeground2LinkPressed:Ji,colorNeutralForeground2LinkSelected:Ji,colorCompoundBrandForeground1:e[80],colorCompoundBrandForeground1Hover:e[70],colorCompoundBrandForeground1Pressed:e[60],colorBrandForeground1:e[80],colorBrandForeground2:e[70],colorBrandForeground2Hover:e[60],colorBrandForeground2Pressed:e[30],colorNeutralForeground1Static:Ji,colorNeutralForegroundStaticInverted:$s,colorNeutralForegroundInverted:$s,colorNeutralForegroundInvertedHover:$s,colorNeutralForegroundInvertedPressed:$s,colorNeutralForegroundInvertedSelected:$s,colorNeutralForegroundInverted2:$s,colorNeutralForegroundOnBrand:$s,colorNeutralForegroundInvertedLink:$s,colorNeutralForegroundInvertedLinkHover:$s,colorNeutralForegroundInvertedLinkPressed:$s,colorNeutralForegroundInvertedLinkSelected:$s,colorBrandForegroundInverted:e[100],colorBrandForegroundInvertedHover:e[110],colorBrandForegroundInvertedPressed:e[100],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:$s,colorNeutralBackground1Hover:_s,colorNeutralBackground1Pressed:ws,colorNeutralBackground1Selected:Bs,colorNeutralBackground2:Ns,colorNeutralBackground2Hover:Ss,colorNeutralBackground2Pressed:ys,colorNeutralBackground2Selected:ks,colorNeutralBackground3:_s,colorNeutralBackground3Hover:Bs,colorNeutralBackground3Pressed:xs,colorNeutralBackground3Selected:ws,colorNeutralBackground4:Ss,colorNeutralBackground4Hover:Ns,colorNeutralBackground4Pressed:_s,colorNeutralBackground4Selected:$s,colorNeutralBackground5:Bs,colorNeutralBackground5Hover:_s,colorNeutralBackground5Pressed:Ss,colorNeutralBackground5Selected:Ns,colorNeutralBackground6:ks,colorNeutralBackgroundInverted:Yi,colorNeutralBackgroundStatic:es,colorNeutralBackgroundAlpha:Ds,colorNeutralBackgroundAlpha2:As,colorSubtleBackground:"transparent",colorSubtleBackgroundHover:_s,colorSubtleBackgroundPressed:ws,colorSubtleBackgroundSelected:Bs,colorSubtleBackgroundLightAlphaHover:Es,colorSubtleBackgroundLightAlphaPressed:Ds,colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:Rs,colorSubtleBackgroundInvertedPressed:Ms,colorSubtleBackgroundInvertedSelected:Is,colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:Ss,colorNeutralBackgroundInvertedDisabled:js,colorNeutralStencil1:ks,colorNeutralStencil2:Ns,colorNeutralStencil1Alpha:Rs,colorNeutralStencil2Alpha:Fs,colorBackgroundOverlay:Ls,colorScrollbarOverlay:Os,colorBrandBackground:e[80],colorBrandBackgroundHover:e[70],colorBrandBackgroundPressed:e[40],colorBrandBackgroundSelected:e[60],colorCompoundBrandBackground:e[80],colorCompoundBrandBackgroundHover:e[70],colorCompoundBrandBackgroundPressed:e[60],colorBrandBackgroundStatic:e[80],colorBrandBackground2:e[160],colorBrandBackground2Hover:e[150],colorBrandBackground2Pressed:e[130],colorBrandBackground3Static:e[60],colorBrandBackground4Static:e[40],colorBrandBackgroundInverted:$s,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:Ns,colorNeutralCardBackgroundHover:$s,colorNeutralCardBackgroundPressed:_s,colorNeutralCardBackgroundSelected:Bs,colorNeutralCardBackgroundDisabled:Ss,colorNeutralStrokeAccessible:ls,colorNeutralStrokeAccessibleHover:is,colorNeutralStrokeAccessiblePressed:as,colorNeutralStrokeAccessibleSelected:e[80],colorNeutralStroke1:bs,colorNeutralStroke1Hover:ms,colorNeutralStroke1Pressed:gs,colorNeutralStroke1Selected:vs,colorNeutralStroke2:ws,colorNeutralStroke3:Ss,colorNeutralStrokeSubtle:ws,colorNeutralStrokeOnBrand:$s,colorNeutralStrokeOnBrand2:$s,colorNeutralStrokeOnBrand2Hover:$s,colorNeutralStrokeOnBrand2Pressed:$s,colorNeutralStrokeOnBrand2Selected:$s,colorBrandStroke1:e[80],colorBrandStroke2:e[140],colorBrandStroke2Hover:e[120],colorBrandStroke2Pressed:e[80],colorBrandStroke2Contrast:e[140],colorCompoundBrandStroke:e[80],colorCompoundBrandStrokeHover:e[70],colorCompoundBrandStrokePressed:e[60],colorNeutralStrokeDisabled:ws,colorNeutralStrokeInvertedDisabled:Cs,colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:Fs,colorNeutralStrokeAlpha2:Ts,colorStrokeFocus1:$s,colorStrokeFocus2:"#000000",colorNeutralShadowAmbient:"rgba(0,0,0,0.12)",colorNeutralShadowKey:"rgba(0,0,0,0.14)",colorNeutralShadowAmbientLighter:"rgba(0,0,0,0.06)",colorNeutralShadowKeyLighter:"rgba(0,0,0,0.07)",colorNeutralShadowAmbientDarker:"rgba(0,0,0,0.20)",colorNeutralShadowKeyDarker:"rgba(0,0,0,0.24)",colorBrandShadowAmbient:"rgba(0,0,0,0.30)",colorBrandShadowKey:"rgba(0,0,0,0.25)"}))(e);return{...al,...sl,...ll,...dl,...cl,...Sl,...kl,...Bl,...il,...nl,...t,...rl,...ol,...Nl(t.colorNeutralShadowAmbient,t.colorNeutralShadowKey),...Nl(t.colorBrandShadowAmbient,t.colorBrandShadowKey,"Brand")}},jl={10:"#061724",20:"#082338",30:"#0a2e4a",40:"#0c3b5e",50:"#0e4775",60:"#0f548c",70:"#115ea3",80:"#0f6cbd",90:"#2886de",100:"#479ef5",110:"#62abf5",120:"#77b7f7",130:"#96c6fa",140:"#b4d6fa",150:"#cfe4fa",160:"#ebf3fc"},Tl=Js.reduce(((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),o={[`colorPalette${r}Background1`]:Gs[t].shade40,[`colorPalette${r}Background2`]:Gs[t].shade30,[`colorPalette${r}Background3`]:Gs[t].primary,[`colorPalette${r}Foreground1`]:Gs[t].tint30,[`colorPalette${r}Foreground2`]:Gs[t].tint40,[`colorPalette${r}Foreground3`]:Gs[t].tint20,[`colorPalette${r}BorderActive`]:Gs[t].tint30,[`colorPalette${r}Border1`]:Gs[t].primary,[`colorPalette${r}Border2`]:Gs[t].tint20};return Object.assign(e,o)}),{});Tl.colorPaletteRedForeground3=Gs.red.tint30,Tl.colorPaletteRedBorder2=Gs.red.tint30,Tl.colorPaletteGreenForeground3=Gs.green.tint40,Tl.colorPaletteGreenBorder2=Gs.green.tint40,Tl.colorPaletteDarkOrangeForeground3=Gs.darkOrange.tint30,Tl.colorPaletteDarkOrangeBorder2=Gs.darkOrange.tint30,Tl.colorPaletteRedForegroundInverted=Gs.red.primary,Tl.colorPaletteGreenForegroundInverted=Gs.green.primary,Tl.colorPaletteYellowForegroundInverted=Gs.yellow.shade30;const Cl=Ys.reduce(((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),o={[`colorPalette${r}Background2`]:Xs[t].shade30,[`colorPalette${r}Foreground2`]:Xs[t].tint40,[`colorPalette${r}BorderActive`]:Xs[t].tint30};return Object.assign(e,o)}),{});Cl.colorPaletteDarkRedBackground2=Xs.darkRed.shade20,Cl.colorPalettePlumBackground2=Xs.plum.shade20;const Dl={...Tl,...Cl},Pl=Object.entries(Qs).reduce(((e,[t,r])=>{const o=t.slice(0,1).toUpperCase()+t.slice(1),a={[`colorStatus${o}Background1`]:Ks[r].shade40,[`colorStatus${o}Background2`]:Ks[r].shade30,[`colorStatus${o}Background3`]:Ks[r].primary,[`colorStatus${o}Foreground1`]:Ks[r].tint30,[`colorStatus${o}Foreground2`]:Ks[r].tint40,[`colorStatus${o}Foreground3`]:Ks[r].tint20,[`colorStatus${o}BorderActive`]:Ks[r].tint30,[`colorStatus${o}ForegroundInverted`]:Ks[r].shade10,[`colorStatus${o}Border1`]:Ks[r].primary,[`colorStatus${o}Border2`]:Ks[r].tint20};return Object.assign(e,a)}),{});Pl.colorStatusDangerBackground3Hover=Ks[Qs.danger].shade10,Pl.colorStatusDangerBackground3Pressed=Ks[Qs.danger].shade20,Pl.colorStatusDangerForeground3=Ks[Qs.danger].tint40,Pl.colorStatusDangerBorder2=Ks[Qs.danger].tint30,Pl.colorStatusSuccessForeground3=Ks[Qs.success].tint40,Pl.colorStatusSuccessBorder2=Ks[Qs.success].tint40,Pl.colorStatusWarningForegroundInverted=Ks[Qs.warning].shade20;const El=zl(jl),Al=(e=>{const t=(e=>({colorNeutralForeground1:$s,colorNeutralForeground1Hover:$s,colorNeutralForeground1Pressed:$s,colorNeutralForeground1Selected:$s,colorNeutralForeground2:xs,colorNeutralForeground2Hover:$s,colorNeutralForeground2Pressed:$s,colorNeutralForeground2Selected:$s,colorNeutralForeground2BrandHover:e[100],colorNeutralForeground2BrandPressed:e[90],colorNeutralForeground2BrandSelected:e[100],colorNeutralForeground3:hs,colorNeutralForeground3Hover:xs,colorNeutralForeground3Pressed:xs,colorNeutralForeground3Selected:xs,colorNeutralForeground3BrandHover:e[100],colorNeutralForeground3BrandPressed:e[90],colorNeutralForeground3BrandSelected:e[100],colorNeutralForeground4:ps,colorNeutralForegroundDisabled:ss,colorNeutralForegroundInvertedDisabled:Cs,colorBrandForegroundLink:e[100],colorBrandForegroundLinkHover:e[110],colorBrandForegroundLinkPressed:e[90],colorBrandForegroundLinkSelected:e[100],colorNeutralForeground2Link:xs,colorNeutralForeground2LinkHover:$s,colorNeutralForeground2LinkPressed:$s,colorNeutralForeground2LinkSelected:$s,colorCompoundBrandForeground1:e[100],colorCompoundBrandForeground1Hover:e[110],colorCompoundBrandForeground1Pressed:e[90],colorBrandForeground1:e[100],colorBrandForeground2:e[110],colorBrandForeground2Hover:e[130],colorBrandForeground2Pressed:e[160],colorNeutralForeground1Static:Ji,colorNeutralForegroundStaticInverted:$s,colorNeutralForegroundInverted:Ji,colorNeutralForegroundInvertedHover:Ji,colorNeutralForegroundInvertedPressed:Ji,colorNeutralForegroundInvertedSelected:Ji,colorNeutralForegroundInverted2:Ji,colorNeutralForegroundOnBrand:$s,colorNeutralForegroundInvertedLink:$s,colorNeutralForegroundInvertedLinkHover:$s,colorNeutralForegroundInvertedLinkPressed:$s,colorNeutralForegroundInvertedLinkSelected:$s,colorBrandForegroundInverted:e[80],colorBrandForegroundInvertedHover:e[70],colorBrandForegroundInvertedPressed:e[60],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:Yi,colorNeutralBackground1Hover:rs,colorNeutralBackground1Pressed:Ki,colorNeutralBackground1Selected:ts,colorNeutralBackground2:Ki,colorNeutralBackground2Hover:es,colorNeutralBackground2Pressed:Gi,colorNeutralBackground2Selected:Qi,colorNeutralBackground3:Gi,colorNeutralBackground3Hover:Yi,colorNeutralBackground3Pressed:Wi,colorNeutralBackground3Selected:Ji,colorNeutralBackground4:Wi,colorNeutralBackground4Hover:Ki,colorNeutralBackground4Pressed:"#000000",colorNeutralBackground4Selected:Xi,colorNeutralBackground5:"#000000",colorNeutralBackground5Hover:Gi,colorNeutralBackground5Pressed:$i,colorNeutralBackground5Selected:Ui,colorNeutralBackground6:es,colorNeutralBackgroundInverted:$s,colorNeutralBackgroundStatic:rs,colorNeutralBackgroundAlpha:qs,colorNeutralBackgroundAlpha2:Hs,colorSubtleBackground:"transparent",colorSubtleBackgroundHover:ts,colorSubtleBackgroundPressed:Qi,colorSubtleBackgroundSelected:es,colorSubtleBackgroundLightAlphaHover:Zs,colorSubtleBackgroundLightAlphaPressed:Vs,colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:Rs,colorSubtleBackgroundInvertedPressed:Ms,colorSubtleBackgroundInvertedSelected:Is,colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:Gi,colorNeutralBackgroundInvertedDisabled:js,colorNeutralStencil1:is,colorNeutralStencil2:es,colorNeutralStencil1Alpha:js,colorNeutralStencil2Alpha:zs,colorBackgroundOverlay:Os,colorScrollbarOverlay:Ps,colorBrandBackground:e[70],colorBrandBackgroundHover:e[80],colorBrandBackgroundPressed:e[40],colorBrandBackgroundSelected:e[60],colorCompoundBrandBackground:e[100],colorCompoundBrandBackgroundHover:e[110],colorCompoundBrandBackgroundPressed:e[90],colorBrandBackgroundStatic:e[80],colorBrandBackground2:e[20],colorBrandBackground2Hover:e[40],colorBrandBackground2Pressed:e[10],colorBrandBackground3Static:e[60],colorBrandBackground4Static:e[40],colorBrandBackgroundInverted:$s,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:es,colorNeutralCardBackgroundHover:rs,colorNeutralCardBackgroundPressed:Qi,colorNeutralCardBackgroundSelected:ts,colorNeutralCardBackgroundDisabled:Gi,colorNeutralStrokeAccessible:hs,colorNeutralStrokeAccessibleHover:vs,colorNeutralStrokeAccessiblePressed:gs,colorNeutralStrokeAccessibleSelected:e[100],colorNeutralStroke1:cs,colorNeutralStroke1Hover:fs,colorNeutralStroke1Pressed:ds,colorNeutralStroke1Selected:us,colorNeutralStroke2:ns,colorNeutralStroke3:rs,colorNeutralStrokeSubtle:Wi,colorNeutralStrokeOnBrand:Yi,colorNeutralStrokeOnBrand2:$s,colorNeutralStrokeOnBrand2Hover:$s,colorNeutralStrokeOnBrand2Pressed:$s,colorNeutralStrokeOnBrand2Selected:$s,colorBrandStroke1:e[100],colorBrandStroke2:e[50],colorBrandStroke2Hover:e[50],colorBrandStroke2Pressed:e[30],colorBrandStroke2Contrast:e[50],colorCompoundBrandStroke:e[100],colorCompoundBrandStrokeHover:e[110],colorCompoundBrandStrokePressed:e[90],colorNeutralStrokeDisabled:os,colorNeutralStrokeInvertedDisabled:Cs,colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:js,colorNeutralStrokeAlpha2:Ts,colorStrokeFocus1:"#000000",colorStrokeFocus2:$s,colorNeutralShadowAmbient:"rgba(0,0,0,0.24)",colorNeutralShadowKey:"rgba(0,0,0,0.28)",colorNeutralShadowAmbientLighter:"rgba(0,0,0,0.12)",colorNeutralShadowKeyLighter:"rgba(0,0,0,0.14)",colorNeutralShadowAmbientDarker:"rgba(0,0,0,0.40)",colorNeutralShadowKeyDarker:"rgba(0,0,0,0.48)",colorBrandShadowAmbient:"rgba(0,0,0,0.30)",colorBrandShadowKey:"rgba(0,0,0,0.25)"}))(e);return{...al,...sl,...ll,...dl,...cl,...Sl,...kl,...Bl,...il,...nl,...t,...Dl,...Pl,...Nl(t.colorNeutralShadowAmbient,t.colorNeutralShadowKey),...Nl(t.colorBrandShadowAmbient,t.colorBrandShadowKey,"Brand")}})(jl),Fl="fui-FluentProvider",Rl=dr({root:{sj55zd:"f19n0e5",De3pzq:"fxugw4r",fsow6f:["f1o700av","fes3tcz"],Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),Il=l.useInsertionEffect?l.useInsertionEffect:zo,Ml=e=>{const{targetDocument:t,theme:r,rendererAttributes:o}=e,a=s.exports.useRef(void 0),n=Po(Fl),i=o,l=s.exports.useMemo((()=>function(e,t){if(t)return`${e} { ${Object.keys(t).reduce(((e,r)=>`${e}--${r}: ${t[r]}; `),"")} }`;return`${e} {}`}(`.${n}`,r)),[r,n]);return function(e,t){s.exports.useState((()=>{if(!e)return;const r=e.getElementById(t);r&&e.head.append(r)}))}(t,n),Il((()=>{const e=null==t?void 0:t.getElementById(n);return e?a.current=e:(a.current=((e,t)=>{if(!(null==e?void 0:e.head))return;const r=e.createElement("style");return Object.keys(t).forEach((e=>{r.setAttribute(e,t[e])})),e.head.appendChild(r),r})(t,{...i,id:n}),a.current&&((e,t)=>{const r=e.sheet;r&&(r.cssRules.length>0&&r.deleteRule(0),r.insertRule(t,0))})(a.current,l)),()=>{var e;null===(e=a.current)||void 0===e||e.remove()}}),[n,t,l,i]),{styleTagId:n,rule:l}};const Ll={},Ol={},ql=(e,t)=>{const r=ao(),o=s.exports.useContext(Gr),a=so(),n=s.exports.useContext(lo)||Ll,{applyStylesToPortals:i=!0,customStyleHooks_unstable:l,dir:c=r.dir,targetDocument:d=r.targetDocument,theme:u,overrides_unstable:f={}}=e,p=Hl(o,u),h=Hl(a,f),g=Hl(n,l),v=hr();var m;const{styleTagId:b,rule:x}=Ml({theme:p,targetDocument:d,rendererAttributes:null!==(m=v.styleElementAttributes)&&void 0!==m?m:Ol});return{applyStylesToPortals:i,customStyleHooks_unstable:g,dir:c,targetDocument:d,theme:p,overrides_unstable:h,themeClassName:b,components:{root:"div"},root:Sr(Wr("div",{...e,dir:c,ref:Eo(t,Ai({targetDocument:d}))}),{elementType:"div"}),serverStyleProps:{cssRule:x,attributes:{...v.styleElementAttributes,id:b}}}};function Hl(e,t){return e&&t?{...e,...t}:e||t}const Vl=s.exports.forwardRef(((e,t)=>{const r=ql(e,t);(e=>{const t=hr(),r=Rl({dir:e.dir,renderer:t});e.root.className=rt(Fl,e.themeClassName,r.root,e.root.className)})(r);const o=function(e){const{applyStylesToPortals:t,customStyleHooks_unstable:r,dir:o,root:a,targetDocument:n,theme:i,themeClassName:l,overrides_unstable:c}=e,d=s.exports.useMemo((()=>({dir:o,targetDocument:n})),[o,n]),[u]=s.exports.useState((()=>({}))),f=s.exports.useMemo((()=>({textDirection:o})),[o]);return{customStyleHooks_unstable:r,overrides_unstable:c,provider:d,textDirection:o,iconDirection:f,tooltip:u,theme:i,themeClassName:t?a.className:l}}(r);return((e,t)=>ia(oo,{value:t.provider,children:ia(Xr,{value:t.theme,children:ia(Jr,{value:t.themeClassName,children:ia(uo,{value:t.customStyleHooks_unstable,children:ia(eo,{value:t.tooltip,children:ia(vr,{dir:t.textDirection,children:ia(da,{value:t.iconDirection,children:ia(io,{value:t.overrides_unstable,children:sa(e.root,{children:[Bo()?null:ia("style",{dangerouslySetInnerHTML:{__html:e.serverStyleProps.cssRule},...e.serverStyleProps.attributes}),e.root.children]})})})})})})})})}))(r,o)}));Vl.displayName="FluentProvider";const Zl=e=>{const t=s.exports.createContext({value:{current:e},version:{current:-1},listeners:[]});var r;return t.Provider=(r=t.Provider,e=>{const t=s.exports.useRef(e.value),o=s.exports.useRef(0),a=s.exports.useRef();return a.current||(a.current={value:t,version:o,listeners:[]}),zo((()=>{t.current=e.value,o.current+=1,d.exports.unstable_runWithPriority(d.exports.unstable_NormalPriority,(()=>{a.current.listeners.forEach((t=>{t([o.current,e.value])}))}))}),[e.value]),s.exports.createElement(r,{value:a.current},e.children)}),delete t.Consumer,t},$l=(e,t)=>{const r=s.exports.useContext(e),{value:{current:o},version:{current:a},listeners:n}=r,i=t(o),[l,c]=s.exports.useState([o,i]),d=e=>{c((r=>{if(!e)return[o,i];if(e[0]<=a)return Object.is(r[1],i)?r:[o,i];try{if(Object.is(r[0],e[1]))return r;const o=t(e[1]);return Object.is(r[1],o)?r:[e[1],o]}catch($P){}return[r[0],r[1]]}))};Object.is(l[1],i)||d(void 0);const u=jo(d);return zo((()=>(n.push(u),()=>{const e=n.indexOf(u);n.splice(e,1)})),[u,n]),l[1]};function Wl(e){const t=s.exports.useContext(e);return!!t.version&&-1!==t.version.current}const Ul="Shift",Gl="Enter",Xl=" ",Kl="ArrowDown",Jl="ArrowLeft",Yl="ArrowRight",Ql="ArrowUp",ec="End",tc="Home",rc="Backspace",oc="Delete",ac="Escape";function nc(e,t){const{disabled:r,disabledFocusable:o=!1,"aria-disabled":a,onClick:n,onKeyDown:i,onKeyUp:s,...l}=null!=t?t:{},c="string"==typeof a?"true"===a:a,d=r||o||c,u=jo((e=>{d?(e.preventDefault(),e.stopPropagation()):null==n||n(e)})),f=jo((e=>{if(null==i||i(e),e.isDefaultPrevented())return;const t=e.key;if(d&&(t===Gl||" "===t))return e.preventDefault(),void e.stopPropagation();" "!==t?t===Gl&&(e.preventDefault(),e.currentTarget.click()):e.preventDefault()})),p=jo((e=>{if(null==s||s(e),e.isDefaultPrevented())return;const t=e.key;if(d&&(t===Gl||" "===t))return e.preventDefault(),void e.stopPropagation();" "===t&&(e.preventDefault(),e.currentTarget.click())}));if("button"===e||void 0===e)return{...l,disabled:r&&!o,"aria-disabled":!!o||c,onClick:o?void 0:u,onKeyUp:o?void 0:s,onKeyDown:o?void 0:i};{const t=!!l.href;let a=t?void 0:"button";!a&&d&&(a="link");const n={role:a,tabIndex:o||!t&&!r?0:void 0,...l,onClick:u,onKeyUp:p,onKeyDown:f,"aria-disabled":d};return"a"===e&&d&&(n.href=void 0),n}}const ic=()=>{},sc={controller:{active:ic,blur:ic,find:ic,first:ic,focus:ic,focusLastActive:ic,scrollActiveIntoView:ic,last:ic,next:ic,prev:ic,showAttributes:ic,hideAttributes:ic,showFocusVisibleAttributes:ic,hideFocusVisibleAttributes:ic}},lc=s.exports.createContext(void 0),cc=lc.Provider,dc=()=>{var e;return null!==(e=s.exports.useContext(lc))&&void 0!==e?e:sc};const uc=e=>{if(!e)return;const t=fc(e.parentElement);if(!t)return;const{offsetHeight:r}=e,o=pc(e,t),{scrollMarginTop:a,scrollMarginBottom:n}=hc(e),{offsetHeight:i,scrollTop:s}=t,l=o+r+n>s+i;o-a<s?t.scrollTo(0,o-a-2):l&&t.scrollTo(0,o+r+n-i+2)},fc=e=>e?e.scrollHeight>e.offsetHeight?e:fc(e.parentElement):null,pc=(e,t)=>e&&e!==t?e.contains(t)?-1*t.offsetTop:e.offsetTop+pc(e.offsetParent,t):0,hc=e=>{var t;const r=null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView;if(!r)return{scrollMarginTop:0,scrollMarginBottom:0};const o=r.getComputedStyle(e);var a;var n;return{scrollMarginTop:null!==(a=gc(o.scrollMarginTop))&&void 0!==a?a:gc(o.scrollMarginBlockStart),scrollMarginBottom:null!==(n=gc(o.scrollMarginBottom))&&void 0!==n?n:gc(o.scrollMarginBlockEnd)}},gc=e=>e?parseInt(e,10):0;function vc(e){const{imperativeRef:t,matchOption:r}=e,o=s.exports.useRef(!1),a=s.exports.useRef(!0),n=s.exports.useRef(null),i=s.exports.useRef(null),l=s.exports.useRef(null),c=s.exports.useRef(!0),d=s.exports.useCallback((()=>{var e;null===(e=l.current)||void 0===e||e.removeAttribute("aria-activedescendant")}),[]),u=s.exports.useCallback((e=>{var t;(e&&(n.current=e),c.current&&n.current)&&(null===(t=l.current)||void 0===t||t.setAttribute("aria-activedescendant",n.current))}),[]);Oi((e=>{o.current=e;const t=v();t&&(e&&a.current?t.setAttribute("data-activedescendant-focusvisible",""):t.removeAttribute("data-activedescendant-focusvisible"))}));const f=jo(r),p=s.exports.useRef(null),{optionWalker:h,listboxCallbackRef:g}=function(e){const{matchOption:t}=e,{targetDocument:r}=ao(),o=s.exports.useRef(null),a=s.exports.useRef(null),n=s.exports.useCallback((e=>$o(e)&&t(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP),[t]),i=s.exports.useCallback((e=>{e&&r?(a.current=e,o.current=r.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,n)):(a.current=null,o.current=null)}),[r,n]);return{optionWalker:s.exports.useMemo((()=>({first:()=>o.current&&a.current?(o.current.currentNode=a.current,o.current.firstChild()):null,last:()=>o.current&&a.current?(o.current.currentNode=a.current,o.current.lastChild()):null,next:()=>o.current?o.current.nextNode():null,prev:()=>o.current?o.current.previousNode():null,find:(e,t)=>{if(!o.current||!a.current)return null;const n=t?null==r?void 0:r.getElementById(t):null;o.current.currentNode=null!=n?n:a.current;let i=o.current.currentNode;for(;i&&!e(i.id);)i=o.current.nextNode();return i},setCurrent:e=>{o.current&&(o.current.currentNode=e)}})),[r]),listboxCallbackRef:i}}({matchOption:f}),v=s.exports.useCallback((()=>{var e;return null===(e=p.current)||void 0===e?void 0:e.querySelector(`#${n.current}`)}),[p]),m=s.exports.useCallback((e=>{a.current=e;const t=v();t&&(e&&o.current?t.setAttribute("data-activedescendant-focusvisible",""):t.removeAttribute("data-activedescendant-focusvisible"))}),[v]),b=s.exports.useCallback((()=>{const e=v();var t;return e&&(e.removeAttribute("data-activedescendant"),e.removeAttribute("data-activedescendant-focusvisible")),d(),i.current=n.current,n.current=null,null!==(t=null==e?void 0:e.id)&&void 0!==t?t:null}),[v,d]),x=s.exports.useCallback((e=>{if(!e)return;const t=b();uc(e),u(e.id),e.setAttribute("data-activedescendant",""),o.current&&a.current&&e.setAttribute("data-activedescendant-focusvisible","");const r=(n={id:e.id,previousId:t},new CustomEvent("activedescendantchange",{bubbles:!0,cancelable:!1,composed:!0,detail:n}));var n;e.dispatchEvent(r)}),[b,u]),y=s.exports.useMemo((()=>({first:({passive:e}={})=>{const t=h.first();return e||x(t),null==t?void 0:t.id},last:({passive:e}={})=>{const t=h.last();return e||x(t),null==t?void 0:t.id},next:({passive:e}={})=>{const t=v();if(!t)return;h.setCurrent(t);const r=h.next();return e||x(r),null==r?void 0:r.id},prev:({passive:e}={})=>{const t=v();if(!t)return;h.setCurrent(t);const r=h.prev();return e||x(r),null==r?void 0:r.id},blur:()=>{b()},active:()=>{var e;return null===(e=v())||void 0===e?void 0:e.id},focus:e=>{if(!p.current)return;const t=p.current.querySelector(`#${e}`);t&&x(t)},focusLastActive:()=>{if(!p.current||!i.current)return;const e=p.current.querySelector(`#${i.current}`);return e?(x(e),!0):void 0},find(e,{passive:t,startFrom:r}={}){const o=h.find(e,r);return t||x(o),null==o?void 0:o.id},scrollActiveIntoView:()=>{if(!p.current)return;const e=v();e&&uc(e)},showAttributes(){c.current=!0,u()},hideAttributes(){c.current=!1,d()},showFocusVisibleAttributes(){m(!0)},hideFocusVisibleAttributes(){m(!1)}})),[h,p,u,d,x,b,v,m]);return s.exports.useImperativeHandle(t,(()=>y)),{listboxRef:Eo(p,g),activeParentRef:l,controller:y}}const mc=xr({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{transform:scaleX(-1);}"]}),bc=(e,t)=>{const{title:r,primaryFill:o="currentColor",...a}=e,n={...a,title:void 0,fill:o},i=mc(),l=(()=>{const e=s.exports.useContext(la);return null!=e?e:ca})();return n.className=rt(i.root,(null==t?void 0:t.flipInRtl)&&"rtl"===(null==l?void 0:l.textDirection)&&i.rtl,n.className),r&&(n["aria-label"]=r),n["aria-label"]||n["aria-labelledby"]?n.role="img":n["aria-hidden"]=!0,n},xc=xr({root:{B8gzw0y:"f1dd5bof"}},{m:[["@media (forced-colors: active){.f1dd5bof{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}]]}),yc=(e,t,r,o)=>{const a="1em"===t?"20":t,n=s.exports.forwardRef(((e,n)=>{const i=xc(),l=bc(e,{flipInRtl:null==o?void 0:o.flipInRtl}),c={...l,className:rt(l.className,i.root),ref:n,width:t,height:t,viewBox:`0 0 ${a} ${a}`,xmlns:"http://www.w3.org/2000/svg"};return"string"==typeof r?s.exports.createElement("svg",{...c,dangerouslySetInnerHTML:{__html:r}}):s.exports.createElement("svg",c,...r.map((e=>s.exports.createElement("path",{d:e,fill:c.fill}))))}));return n.displayName=e,n},wc=yc("AddRegular","1em",["M10 2.5c.28 0 .5.22.5.5v6.5H17a.5.5 0 0 1 0 1h-6.5V17a.5.5 0 0 1-1 0v-6.5H3a.5.5 0 0 1 0-1h6.5V3c0-.28.22-.5.5-.5Z"]),kc=yc("AlertFilled","1em",["M12.45 16a2.5 2.5 0 0 1-4.9 0h4.9ZM10 2a5.92 5.92 0 0 1 5.98 5.36l.02.22V11.4l.95 2.6.03.08.01.09v.08c0 .32-.19.6-.51.71l-.12.03-.11.01H3.75a.75.75 0 0 1-.74-.76v-.12l.04-.12L4 11.4V7.57A5.9 5.9 0 0 1 10 2Z"]),Bc=yc("AlertRegular","1em",["M10 2a5.92 5.92 0 0 1 5.98 5.36l.02.22V11.4l.92 2.22a1 1 0 0 1 .06.17l.01.08.01.13a1 1 0 0 1-.75.97l-.11.02L16 15h-3.5v.17a2.5 2.5 0 0 1-5 0V15H4a1 1 0 0 1-.26-.03l-.13-.04a1 1 0 0 1-.6-1.05l.02-.13.05-.13L4 11.4V7.57A5.9 5.9 0 0 1 10 2Zm1.5 13h-3v.15a1.5 1.5 0 0 0 1.36 1.34l.14.01c.78 0 1.42-.6 1.5-1.36V15ZM10 3a4.9 4.9 0 0 0-4.98 4.38L5 7.6V11.5l-.04.2L4 14h12l-.96-2.3-.04-.2V7.61A4.9 4.9 0 0 0 10 3Z"]),Sc=yc("AlignBottomRegular","1em",["M2 16.5c0 .28.22.5.5.5h15a.5.5 0 0 0 0-1h-15a.5.5 0 0 0-.5.5Zm9-3.5c0 1.1.9 2 2 2h1a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-1a2 2 0 0 0-2 2v5Zm2 1a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1h1a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1h-1Zm-7 1a2 2 0 0 1-2-2V5c0-1.1.9-2 2-2h1a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6Zm-1-2a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v8Z"]),_c=yc("AlignCenterHorizontalRegular","1em",["M18 9.5a.5.5 0 0 1-.5.5H16v2a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-2H9v4a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-4H2.5a.5.5 0 0 1 0-1H4V5c0-1.1.9-2 2-2h1a2 2 0 0 1 2 2v4h2V7c0-1.1.9-2 2-2h1a2 2 0 0 1 2 2v2h1.5c.28 0 .5.22.5.5ZM5 14a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v9Zm7-2a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1h-1a1 1 0 0 0-1 1v5Z"]),Nc=yc("AlignCenterVerticalRegular","1em",["M10.5 18a.5.5 0 0 1-.5-.5V16H8a2 2 0 0 1-2-2v-1c0-1.1.9-2 2-2h2V9H6a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h4V2.5a.5.5 0 0 1 1 0V4h4a2 2 0 0 1 2 2v1a2 2 0 0 1-2 2h-4v2h2a2 2 0 0 1 2 2v1a2 2 0 0 1-2 2h-2v1.5a.5.5 0 0 1-.5.5ZM6 5a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h9a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H6Zm2 7a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1v-1a1 1 0 0 0-1-1H8Z"]),zc=yc("AlignLeftRegular","1em",["M3.5 2a.5.5 0 0 0-.5.5v15a.5.5 0 0 0 1 0v-15a.5.5 0 0 0-.5-.5ZM7 11a2 2 0 0 0-2 2v1c0 1.1.9 2 2 2h5a2 2 0 0 0 2-2v-1a2 2 0 0 0-2-2H7Zm-1 2a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1v-1ZM5 6c0-1.1.9-2 2-2h8a2 2 0 0 1 2 2v1a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6Zm2-1a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H7Z"]),jc=yc("AlignRightRegular","1em",["M16.5 2c.28 0 .5.22.5.5v15a.5.5 0 0 1-1 0v-15c0-.28.22-.5.5-.5ZM13 11a2 2 0 0 1 2 2v1a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2v-1c0-1.1.9-2 2-2h5Zm1 2a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1v-1Zm1-7a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v1c0 1.1.9 2 2 2h8a2 2 0 0 0 2-2V6Zm-2-1a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h8Z"]),Tc=yc("AlignTopRegular","1em",["M2 3.5c0-.28.22-.5.5-.5h15a.5.5 0 0 1 0 1h-15a.5.5 0 0 1-.5-.5ZM11 7c0-1.1.9-2 2-2h1a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2V7Zm2-1a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1h-1ZM6 5a2 2 0 0 0-2 2v8c0 1.1.9 2 2 2h1a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2H6ZM5 7a1 1 0 0 1 1-1h1a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7Z"]),Cc=yc("AppsListRegular","1em",["M2 3.5C2 2.67 2.67 2 3.5 2h1C5.33 2 6 2.67 6 3.5v1C6 5.33 5.33 6 4.5 6h-1A1.5 1.5 0 0 1 2 4.5v-1ZM3.5 3a.5.5 0 0 0-.5.5v1c0 .28.22.5.5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1ZM2 9.5C2 8.67 2.67 8 3.5 8h1C5.33 8 6 8.67 6 9.5v1c0 .83-.67 1.5-1.5 1.5h-1A1.5 1.5 0 0 1 2 10.5v-1ZM3.5 9a.5.5 0 0 0-.5.5v1c0 .28.22.5.5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1ZM2 15.5c0-.83.67-1.5 1.5-1.5h1c.83 0 1.5.67 1.5 1.5v1c0 .83-.67 1.5-1.5 1.5h-1A1.5 1.5 0 0 1 2 16.5v-1Zm1.5-.5a.5.5 0 0 0-.5.5v1c0 .28.22.5.5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1ZM8 4.5c0-.28.22-.5.5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5Zm0 6c0-.28.22-.5.5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5Zm0 6c0-.28.22-.5.5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5Z"]),Dc=yc("ArchiveRegular","1em",["M8.5 10a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3ZM2 4.75C2 3.78 2.78 3 3.75 3h12.5c.97 0 1.75.78 1.75 1.75v1.5c0 .7-.4 1.3-1 1.58V14a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V7.83c-.6-.28-1-.88-1-1.58v-1.5ZM3.75 4a.75.75 0 0 0-.75.75v1.5c0 .41.34.75.75.75h12.5c.41 0 .75-.34.75-.75v-1.5a.75.75 0 0 0-.75-.75H3.75ZM4 8v6c0 1.1.9 2 2 2h8a2 2 0 0 0 2-2V8H4Z"]),Pc=yc("ArrowClockwiseRegular","1em",["M4 10a6 6 0 0 1 10.47-4H12.5a.5.5 0 0 0 0 1h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-1 0v1.6a7 7 0 1 0 1.98 4.36.5.5 0 1 0-1 .08L16 10a6 6 0 0 1-12 0Z"]),Ec=yc("ArrowCounterclockwiseRegular","1em",["M16 10A6 6 0 0 0 5.53 6H7.5a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5v-3a.5.5 0 0 1 1 0v1.6a7 7 0 1 1-1.98 4.36.5.5 0 0 1 1 .08L4 10a6 6 0 0 0 12 0Z"]),Ac=yc("ArrowDownRegular","1em",["M16.87 10.84a.5.5 0 1 0-.74-.68l-5.63 6.17V2.5a.5.5 0 0 0-1 0v13.83l-5.63-6.17a.5.5 0 0 0-.74.68l6.31 6.91a.75.75 0 0 0 1.11 0l6.32-6.91Z"]),Fc=yc("ArrowDownloadRegular","1em",["M15.5 17a.5.5 0 0 1 .09 1H4.5a.5.5 0 0 1-.09-1H15.5ZM10 2a.5.5 0 0 1 .5.41V14.3l3.64-3.65a.5.5 0 0 1 .64-.06l.07.06c.17.17.2.44.06.63l-.06.07-4.5 4.5a.5.5 0 0 1-.25.14L10 16a.5.5 0 0 1-.4-.2l-4.46-4.45a.5.5 0 0 1 .64-.76l.07.06 3.65 3.64V2.5c0-.27.22-.5.5-.5Z"]),Rc=yc("ArrowLeftRegular","1em",["M9.16 16.87a.5.5 0 1 0 .67-.74L3.67 10.5H17.5a.5.5 0 0 0 0-1H3.67l6.16-5.63a.5.5 0 0 0-.67-.74L2.24 9.44a.75.75 0 0 0 0 1.11l6.92 6.32Z"]),Ic=yc("ArrowRedoRegular","1em",["M15 2.5a.5.5 0 0 1 1 0v4.9a.6.6 0 0 1-.6.6h-4.9a.5.5 0 0 1 0-1h3.6l-3.48-3.02a4 4 0 1 0-5.24 6.04l8.17 7.1a.5.5 0 1 1-.66.76l-8.17-7.1a5 5 0 1 1 6.56-7.55L15 6.46V2.5Z"],{flipInRtl:!0}),Mc=yc("ArrowResetRegular","1em",["M5.85 2.65c.2.2.2.5 0 .7L4.21 5H11a6 6 0 1 1-6 6 .5.5 0 0 1 1 0 5 5 0 1 0 5-5H4.2l1.65 1.65a.5.5 0 1 1-.7.7l-2.5-2.5a.5.5 0 0 1 0-.7l2.5-2.5c.2-.2.5-.2.7 0Z"],{flipInRtl:!0}),Lc=yc("ArrowRightRegular","1em",["M10.84 3.13a.5.5 0 0 0-.68.74l6.17 5.63H2.5a.5.5 0 0 0 0 1h13.83l-6.17 5.63a.5.5 0 0 0 .68.74l6.91-6.32a.75.75 0 0 0 0-1.1l-6.91-6.32Z"]),Oc=yc("ArrowRotateClockwiseRegular","1em",["M3 10a7 7 0 1 1 10 6.33V14.5a.5.5 0 0 0-1 0v3c0 .28.22.5.5.5h3a.5.5 0 0 0 0-1h-1.62A8 8 0 1 0 2 10a.5.5 0 0 0 1 0Zm7 2a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0-1a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"],{flipInRtl:!0}),qc=yc("ArrowRotateCounterclockwiseRegular","1em",["M17 10a7 7 0 1 0-10 6.33V14.5a.5.5 0 0 1 1 0v3a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1 0-1h1.62A8 8 0 1 1 18 10a.5.5 0 0 1-1 0Zm-7 2a2 2 0 1 1 0-4 2 2 0 0 1 0 4Zm0-1a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"],{flipInRtl:!0}),Hc=yc("ArrowSortRegular","1em",["M2.35 7.35 5 4.71V16.5a.5.5 0 0 0 1 0V4.7l2.65 2.65a.5.5 0 0 0 .7-.7l-3.49-3.5A.5.5 0 0 0 5.5 3a.5.5 0 0 0-.39.18L1.65 6.65a.5.5 0 1 0 .7.7Zm15.3 5.3L15 15.29V3.5a.5.5 0 0 0-1 0v11.8l-2.65-2.65a.5.5 0 0 0-.7.7l3.49 3.5a.5.5 0 0 0 .36.15.5.5 0 0 0 .39-.18l3.46-3.47a.5.5 0 1 0-.7-.7Z"]),Vc=yc("ArrowSortDownRegular","1em",["m10 15.29 2.65-2.64a.5.5 0 0 1 .7.7L9.9 16.82a.5.5 0 0 1-.74.03h-.01l-3.5-3.5a.5.5 0 1 1 .71-.7L9 15.29V3.5a.5.5 0 0 1 1 0v11.79Z"]),Zc=yc("ArrowSortUpRegular","1em",["M9 4.71 6.35 7.35a.5.5 0 1 1-.7-.7L9.1 3.18a.5.5 0 0 1 .74-.03h.01l3.5 3.5a.5.5 0 1 1-.71.7L10 4.71V16.5a.5.5 0 0 1-1 0V4.71Z"]),$c=yc("ArrowSyncRegular","1em",["M11.41 3.64a.5.5 0 0 0 0-.71L9.3.8a.5.5 0 0 0-.7.7l1 1a7.5 7.5 0 0 0-4.08 13.5.5.5 0 0 0 .6-.8A6.5 6.5 0 0 1 10.14 3.5L8.59 5.04a.5.5 0 0 0 .7.7l2.12-2.11ZM8.6 16.36a.5.5 0 0 0 0 .71l2.12 2.12a.5.5 0 0 0 .7-.7l-1-1a7.5 7.5 0 0 0 4.07-13.5.5.5 0 1 0-.59.8A6.5 6.5 0 0 1 9.86 16.5l1.55-1.55a.5.5 0 1 0-.7-.7l-2.12 2.11Z"],{flipInRtl:!0}),Wc=yc("ArrowUndoRegular","1em",["M5 2.5a.5.5 0 0 0-1 0v4.9c0 .33.27.6.6.6h4.9a.5.5 0 0 0 0-1H5.9l3.48-3.02a4 4 0 0 1 5.25 6.04l-8.17 7.1a.5.5 0 0 0 .65.76l8.17-7.1a5 5 0 0 0-6.56-7.55L5 6.46V2.5Z"],{flipInRtl:!0}),Uc=yc("ArrowUpRegular","1em",["M3.13 9.16a.5.5 0 1 0 .74.68L9.5 3.67V17.5a.5.5 0 1 0 1 0V3.67l5.63 6.17a.5.5 0 0 0 .74-.68l-6.32-6.92a.75.75 0 0 0-1.1 0L3.13 9.16Z"],{flipInRtl:!0}),Gc=yc("ArrowUploadRegular","1em",["M15 3a.5.5 0 0 0 .09-.99H4a.5.5 0 0 0-.09.98L4 3h11ZM9.5 18a.5.5 0 0 0 .5-.41V5.7l3.64 3.65c.17.18.44.2.64.06l.07-.06a.5.5 0 0 0 .06-.63l-.06-.07-4.5-4.5A.5.5 0 0 0 9.6 4h-.1a.5.5 0 0 0-.4.19L4.64 8.65a.5.5 0 0 0 .64.76l.07-.06L9 5.71V17.5c0 .28.22.5.5.5Z"]),Xc=yc("BookRegular","1em",["M6 5a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V5Zm1 0v1h6V5H7ZM4 4v12c0 1.1.9 2 2 2h9.5a.5.5 0 0 0 0-1H6a1 1 0 0 1-1-1h10a1 1 0 0 0 1-1V4a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2Zm10-1a1 1 0 0 1 1 1v11H5V4a1 1 0 0 1 1-1h8Z"]),Kc=yc("BookOpenRegular","1em",["M10 16c-.46.6-1.18 1-2 1H3.5A1.5 1.5 0 0 1 2 15.5v-11C2 3.67 2.67 3 3.5 3H8c.82 0 1.54.4 2 1 .46-.6 1.18-1 2-1h4.5c.83 0 1.5.67 1.5 1.5v11c0 .83-.67 1.5-1.5 1.5H12a2.5 2.5 0 0 1-2-1ZM3 4.5v11c0 .28.22.5.5.5H8c.83 0 1.5-.67 1.5-1.5v-9C9.5 4.67 8.83 4 8 4H3.5a.5.5 0 0 0-.5.5Zm7.5 10c0 .83.67 1.5 1.5 1.5h4.5a.5.5 0 0 0 .5-.5v-11a.5.5 0 0 0-.5-.5H12c-.83 0-1.5.67-1.5 1.5v9Z"]),Jc=yc("BroomRegular","1em",["M17.91 2.18c.2.2.2.51 0 .7l-5.32 5.33a4.5 4.5 0 0 1-.34 6l-.66.66-2.09 3.48a.5.5 0 0 1-.78.1l-7.07-7.08a.5.5 0 0 1 .1-.78L5.22 8.5l.66-.66a4.5 4.5 0 0 1 5.99-.34l5.32-5.32c.2-.2.51-.2.71 0ZM6.24 8.9l4.95 4.95.36-.35A3.5 3.5 0 1 0 6.6 8.55l-.36.35Zm-.78.63L2.8 11.12l6.16 6.17 1.6-2.66-5.11-5.1Z"]),Yc=yc("BugRegular","1em",["M9 2.5a.5.5 0 0 0-1 0V3c0 .4.12.77.32 1.08A3 3 0 0 0 6 7h-.5A1.5 1.5 0 0 1 4 5.5v-2a.5.5 0 0 0-1 0v2A2.5 2.5 0 0 0 5.5 8H6v1.5H2.5a.5.5 0 0 0 0 1H6V12h-.5A2.5 2.5 0 0 0 3 14.5v2a.5.5 0 0 0 1 0v-2c0-.83.67-1.5 1.5-1.5H6a4 4 0 0 0 8 0h.5c.83 0 1.5.67 1.5 1.5v2a.5.5 0 0 0 1 0v-2a2.5 2.5 0 0 0-2.5-2.5H14v-1.5h3.5a.5.5 0 0 0 0-1H14V8h.5A2.5 2.5 0 0 0 17 5.5v-2a.5.5 0 0 0-1 0v2c0 .83-.67 1.5-1.5 1.5H14a3 3 0 0 0-2.32-2.92A2 2 0 0 0 12 3v-.5a.5.5 0 0 0-1 0V3a1 1 0 1 1-2 0v-.5ZM13 7v6a3 3 0 1 1-6 0V7c0-1.1.9-2 2-2h2a2 2 0 0 1 2 2Z"]),Qc=yc("BuildingRegular","1em",["M6.75 6.5a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm.75 2.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Zm-.75 3.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm3.75-6.75a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM9.75 9.5a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm.75 2.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Zm2.25.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5ZM4.5 18a.5.5 0 0 1-.5-.5v-14C4 2.67 4.67 2 5.5 2h6c.83 0 1.5.67 1.5 1.5V8h1.5c.83 0 1.5.67 1.5 1.5v8a.5.5 0 0 1-.5.5h-11ZM5 3.5V17h2v-2.5c0-.28.22-.5.5-.5h5c.28 0 .5.22.5.5V17h2V9.5a.5.5 0 0 0-.5-.5h-2a.5.5 0 0 1-.5-.5v-5a.5.5 0 0 0-.5-.5h-6a.5.5 0 0 0-.5.5ZM12 15h-1.5v2H12v-2Zm-2.5 0H8v2h1.5v-2Z"]),ed=yc("BuildingMultipleRegular","1em",["M2 4c0-1.1.9-2 2-2h6a2 2 0 0 1 2 2v1h4a2 2 0 0 1 2 2v10a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4Zm10 13h2v-2h-2v2Zm3 0h2V7a1 1 0 0 0-1-1h-6a1 1 0 0 0-1 1v10h2v-2a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2ZM11 4a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v13h5V7c0-1.1.9-2 2-2h1V4Zm1 4.75a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Zm-6.75.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5ZM6 5.75a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Zm5.25 6.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5ZM6 14.75a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Zm-.75-2.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5ZM15.5 8.75a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Zm-.75 3.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z"]),td=yc("CalendarFilled","1em",["M5.5 3A2.5 2.5 0 0 0 3 5.5V6h14v-.5A2.5 2.5 0 0 0 14.5 3h-9ZM17 7H3v7.5A2.5 2.5 0 0 0 5.5 17h9a2.5 2.5 0 0 0 2.5-2.5V7Zm-9 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm-1 4a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm4-4a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm-1 4a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm4-4a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"],{flipInRtl:!0}),rd=yc("CalendarRegular","1em",["M7 11a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm1 2a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm2-2a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm1 2a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm2-2a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm4-5.5A2.5 2.5 0 0 0 14.5 3h-9A2.5 2.5 0 0 0 3 5.5v9A2.5 2.5 0 0 0 5.5 17h9a2.5 2.5 0 0 0 2.5-2.5v-9ZM4 7h12v7.5c0 .83-.67 1.5-1.5 1.5h-9A1.5 1.5 0 0 1 4 14.5V7Zm1.5-3h9c.83 0 1.5.67 1.5 1.5V6H4v-.5C4 4.67 4.67 4 5.5 4Z"],{flipInRtl:!0}),od=yc("CalendarDateRegular","1em",["M14.5 3A2.5 2.5 0 0 1 17 5.34v9.16a2.5 2.5 0 0 1-2.34 2.5H5.5A2.5 2.5 0 0 1 3 14.66V5.5A2.5 2.5 0 0 1 5.34 3h9.16ZM16 7H4v7.5c0 .78.6 1.42 1.36 1.5h9.14c.78 0 1.42-.6 1.5-1.36V7Zm-4.48 1.23c.53 0 .95.15 1.27.43.3.28.46.67.46 1.15 0 .28-.07.53-.21.75-.14.21-.34.39-.59.51.3.14.53.33.69.57.16.24.24.5.24.8 0 .5-.17.9-.5 1.2a2 2 0 0 1-1.36.44 2 2 0 0 1-1.36-.44 1.5 1.5 0 0 1-.5-1.2c0-.3.07-.57.24-.81.16-.24.38-.43.67-.56-.24-.12-.43-.3-.58-.51a1.33 1.33 0 0 1-.2-.75c0-.48.15-.87.46-1.15.31-.28.74-.43 1.27-.43ZM8.5 8.3V14h-.95V9.43l-1.4.48v-.8l2.22-.82h.13Zm3.01 3.17c-.27 0-.5.09-.66.26a.94.94 0 0 0-.25.68c0 .28.08.5.25.67a.9.9 0 0 0 .67.25.9.9 0 0 0 .67-.24.92.92 0 0 0 .24-.68c0-.28-.08-.5-.25-.68a.89.89 0 0 0-.67-.26Zm0-2.46a.74.74 0 0 0-.57.22.88.88 0 0 0-.2.63c0 .26.06.47.2.62.15.15.34.23.58.23.24 0 .43-.08.58-.23a.88.88 0 0 0 .2-.62.88.88 0 0 0-.2-.61.74.74 0 0 0-.58-.24Zm2.99-5h-9c-.78 0-1.42.6-1.5 1.36V6h12v-.5c0-.78-.6-1.42-1.36-1.5h-.14Z"]),ad=yc("ChartMultipleRegular","1em",["M16.52 9c.26 0 .48-.2.48-.46V8.5A6.5 6.5 0 0 0 10.5 2h-.04a.47.47 0 0 0-.46.48V8.5c0 .28.22.5.5.5h6.02ZM11 3.02A5.5 5.5 0 0 1 15.98 8H11V3.02ZM8 9V5.1A5 5 0 0 0 9 15v1a6 6 0 0 1-.5-11.98c.28-.02.5.2.5.48V9a1 1 0 0 0 1 1h4.5c.28 0 .5.22.48.5a6 6 0 0 1-.06.5H10a2 2 0 0 1-2-2Zm9 1a1 1 0 0 0-1 1v7a1 1 0 1 0 2 0v-7a1 1 0 0 0-1-1Zm-3 2a1 1 0 0 0-1 1v5a1 1 0 1 0 2 0v-5a1 1 0 0 0-1-1Zm-4 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0v-3Z"]),nd=yc("ChatRegular","1em",["M10 2a8 8 0 1 1-3.61 15.14l-.12-.07-3.65.92a.5.5 0 0 1-.62-.45v-.08l.01-.08.92-3.64-.07-.12a7.95 7.95 0 0 1-.83-2.9l-.02-.37L2 10a8 8 0 0 1 8-8Zm0 1a7 7 0 0 0-6.1 10.42.5.5 0 0 1 .06.28l-.02.1-.75 3.01 3.02-.75a.5.5 0 0 1 .19-.01l.09.02.09.04A7 7 0 1 0 10 3Zm.5 8a.5.5 0 0 1 .09 1H7.5a.5.5 0 0 1-.09-1h3.09Zm2-3a.5.5 0 0 1 .09 1H7.5a.5.5 0 0 1-.09-1h5.09Z"]),id=yc("CheckmarkFilled","1em",["M7.03 13.9 3.56 10a.75.75 0 0 0-1.12 1l4 4.5c.29.32.79.34 1.09.03l10.5-10.5a.75.75 0 0 0-1.06-1.06l-9.94 9.94Z"]),sd=yc("CheckmarkRegular","1em",["M3.37 10.17a.5.5 0 0 0-.74.66l4 4.5c.19.22.52.23.72.02l10.5-10.5a.5.5 0 0 0-.7-.7L7.02 14.27l-3.65-4.1Z"]),ld=yc("CheckmarkCircleFilled","1em",["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm3.36 5.65a.5.5 0 0 0-.64-.06l-.07.06L9 11.3 7.35 9.65l-.07-.06a.5.5 0 0 0-.7.7l.07.07 2 2 .07.06c.17.11.4.11.56 0l.07-.06 4-4 .07-.08a.5.5 0 0 0-.06-.63Z"]),cd=yc("CheckmarkCircleRegular","1em",["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm0 1a7 7 0 1 0 0 14 7 7 0 0 0 0-14Zm3.36 4.65c.17.17.2.44.06.63l-.06.07-4 4a.5.5 0 0 1-.64.07l-.07-.06-2-2a.5.5 0 0 1 .63-.77l.07.06L9 11.3l3.65-3.65c.2-.2.51-.2.7 0Z"]),dd=yc("ChevronDoubleDownRegular","1em",["M15.85 8.65c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 9.35a.5.5 0 1 1 .7-.7L10 13.8l5.15-5.16c.2-.2.5-.2.7 0Zm0-4c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 5.35a.5.5 0 1 1 .7-.7L10 9.8l5.15-5.16c.2-.2.5-.2.7 0Z"]),ud=yc("ChevronDoubleLeftRegular","1em",["M11.35 15.85a.5.5 0 0 1-.7 0L5.16 10.4a.55.55 0 0 1 0-.78l5.49-5.46a.5.5 0 1 1 .7.7L6.2 10l5.16 5.15c.2.2.2.5 0 .7Zm4 0a.5.5 0 0 1-.7 0L9.16 10.4a.55.55 0 0 1 0-.78l5.49-5.46a.5.5 0 1 1 .7.7L10.2 10l5.16 5.15c.2.2.2.5 0 .7Z"]),fd=yc("ChevronDoubleRightRegular","1em",["M8.65 4.15c.2-.2.5-.2.7 0l5.49 5.46c.21.22.21.57 0 .78l-5.49 5.46a.5.5 0 0 1-.7-.7L13.8 10 8.65 4.85a.5.5 0 0 1 0-.7Zm-4 0c.2-.2.5-.2.7 0l5.49 5.46c.21.22.21.57 0 .78l-5.49 5.46a.5.5 0 0 1-.7-.7L9.8 10 4.65 4.85a.5.5 0 0 1 0-.7Z"]),pd=yc("ChevronDoubleUpRegular","1em",["M4.15 9.65a.5.5 0 0 0 .7.7L10 5.2l5.15 5.16a.5.5 0 1 0 .7-.7L10.4 4.16a.55.55 0 0 0-.78 0L4.15 9.65Zm0 5a.5.5 0 0 0 .7.7L10 10.2l5.15 5.16a.5.5 0 1 0 .7-.7L10.4 9.16a.55.55 0 0 0-.78 0l-5.46 5.49Z"]),hd=yc("ChevronDownFilled","1em",["M15.8 7.73c.28.3.27.78-.03 1.06l-5.25 5a.75.75 0 0 1-1.04 0l-5.25-5a.75.75 0 0 1 1.04-1.08L10 12.2l4.73-4.5a.75.75 0 0 1 1.06.02Z"]),gd=yc("ChevronDownRegular","1em",["M15.85 7.65c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16c.2-.2.5-.2.7 0Z"]),vd=yc("ChevronLeftFilled","1em",["M12.27 15.8a.75.75 0 0 1-1.06-.03l-5-5.25a.75.75 0 0 1 0-1.04l5-5.25a.75.75 0 1 1 1.08 1.04L7.8 10l4.5 4.73c.29.3.28.78-.02 1.06Z"]),md=yc("ChevronLeftRegular","1em",["M12.35 15.85a.5.5 0 0 1-.7 0L6.16 10.4a.55.55 0 0 1 0-.78l5.49-5.46a.5.5 0 1 1 .7.7L7.2 10l5.16 5.15c.2.2.2.5 0 .7Z"]),bd=yc("ChevronRightFilled","1em",["M7.73 4.2a.75.75 0 0 1 1.06.03l5 5.25c.28.3.28.75 0 1.04l-5 5.25a.75.75 0 1 1-1.08-1.04L12.2 10l-4.5-4.73a.75.75 0 0 1 .02-1.06Z"]),xd=yc("ChevronRightRegular","1em",["M7.65 4.15c.2-.2.5-.2.7 0l5.49 5.46c.21.22.21.57 0 .78l-5.49 5.46a.5.5 0 0 1-.7-.7L12.8 10 7.65 4.85a.5.5 0 0 1 0-.7Z"]),yd=yc("ChevronUpRegular","1em",["M4.15 12.35a.5.5 0 0 1 0-.7L9.6 6.16a.55.55 0 0 1 .78 0l5.46 5.49a.5.5 0 0 1-.7.7L10 7.2l-5.15 5.16a.5.5 0 0 1-.7 0Z"]),wd=yc("CircleFilled","1em",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]),kd=yc("CircleMultipleConcentricRegular","1em",["M3 10a7 7 0 1 1 14 0 7 7 0 0 1-14 0Zm7-8a8 8 0 1 0 0 16 8 8 0 0 0 0-16Zm-4 8a4 4 0 1 1 8 0 4 4 0 0 1-8 0Zm4-5a5 5 0 1 0 0 10 5 5 0 0 0 0-10Z"]),Bd=yc("ClipboardPasteRegular","1em",["M4.5 4h1.59c.2.58.76 1 1.41 1h3c.65 0 1.2-.42 1.41-1h1.59c.28 0 .5.22.5.5v1a.5.5 0 0 0 1 0v-1c0-.83-.67-1.5-1.5-1.5h-1.59c-.2-.58-.76-1-1.41-1h-3c-.65 0-1.2.42-1.41 1H4.5C3.67 3 3 3.67 3 4.5v12c0 .83.67 1.5 1.5 1.5h3a.5.5 0 0 0 0-1h-3a.5.5 0 0 1-.5-.5v-12c0-.28.22-.5.5-.5Zm3 0a.5.5 0 0 1 0-1h3a.5.5 0 0 1 0 1h-3Zm3 3C9.67 7 9 7.67 9 8.5v8c0 .83.67 1.5 1.5 1.5h5c.83 0 1.5-.67 1.5-1.5v-8c0-.83-.67-1.5-1.5-1.5h-5ZM10 8.5c0-.28.22-.5.5-.5h5c.28 0 .5.22.5.5v8a.5.5 0 0 1-.5.5h-5a.5.5 0 0 1-.5-.5v-8Z"]),Sd=yc("ClipboardTextLtrRegular","1em",["M6.5 8a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7ZM6 11.5c0-.28.22-.5.5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5Zm.5 2.5a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Zm2-12c-.65 0-1.2.42-1.41 1H5.5C4.67 3 4 3.67 4 4.5v12c0 .83.67 1.5 1.5 1.5h9c.83 0 1.5-.67 1.5-1.5v-12c0-.83-.67-1.5-1.5-1.5h-1.59c-.2-.58-.76-1-1.41-1h-3Zm3 1a.5.5 0 0 1 0 1h-3a.5.5 0 0 1 0-1h3Zm-6 1h1.59c.2.58.76 1 1.41 1h3c.65 0 1.2-.42 1.41-1h1.59c.28 0 .5.22.5.5v12a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5v-12c0-.28.22-.5.5-.5Z"]),_d=yc("ClockRegular","1em",["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm0 1a7 7 0 1 0 0 14 7 7 0 0 0 0-14Zm-.5 2a.5.5 0 0 1 .5.41V10h2.5a.5.5 0 0 1 .09 1H9.5a.5.5 0 0 1-.5-.41V5.5c0-.28.22-.5.5-.5Z"]),Nd=yc("CloudRegular","1em",["M10 4c2.82 0 4.41 1.92 4.65 4.25h.07A3.33 3.33 0 0 1 18 11.62 3.33 3.33 0 0 1 14.72 15H5.28A3.33 3.33 0 0 1 2 11.62c0-1.8 1.37-3.27 3.1-3.37h.25C5.6 5.9 7.18 4 10 4Zm0 1C7.89 5 6.55 6.32 6.35 8.35a1 1 0 0 1-1 .9h-.07A2.33 2.33 0 0 0 3 11.62 2.33 2.33 0 0 0 5.28 14h9.44A2.33 2.33 0 0 0 17 11.62a2.33 2.33 0 0 0-2.28-2.37h-.07a1 1 0 0 1-1-.9C13.45 6.32 12.11 5 10 5Z"]),zd=yc("CodeRegular","1em",["M12.97 3.68a.5.5 0 0 0-.94-.36l-5 13a.5.5 0 1 0 .94.36l5-13ZM5.83 6.12c.2.18.23.5.05.7L3.16 10l2.72 3.17a.5.5 0 0 1-.76.66l-3-3.5a.5.5 0 0 1 0-.66l3-3.5a.5.5 0 0 1 .7-.05Zm8.34 8.26a.5.5 0 0 1-.05-.7l2.72-3.18-2.72-3.17a.5.5 0 1 1 .76-.66l3 3.5a.5.5 0 0 1 0 .66l-3 3.5a.5.5 0 0 1-.7.05Z"]),jd=yc("CodeTextEditRegular","1em",["M2.5 5a.5.5 0 0 0 0 1H8a.5.5 0 0 0 0-1H2.5Zm3 3a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5ZM4 11.5c0-.28.22-.5.5-.5h9.44l-1 1H4.5a.5.5 0 0 1-.5-.5Zm6.27 3.17.67-.67H2.5a.5.5 0 0 0 0 1h7.49c.08-.12.18-.23.28-.33ZM12.5 8.5c0-.28.22-.5.5-.5h3.5a.5.5 0 0 1 0 1H13a.5.5 0 0 1-.5-.5Zm-2-3.5a.5.5 0 0 0 0 1H17a.5.5 0 0 0 0-1h-6.5Zm.48 10.38 4.83-4.83a1.87 1.87 0 1 1 2.64 2.64l-4.83 4.83a2.2 2.2 0 0 1-1.02.58l-1.5.37a.89.89 0 0 1-1.07-1.07l.37-1.5c.1-.39.3-.74.58-1.02Z"]),Td=yc("ColorRegular","1em",["M9.75 6.5a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm3 1a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm2.5 1.5a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Zm-.75 3.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5ZM13.25 14a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Zm.45-11a7.82 7.82 0 0 0-7.93.17 9.6 9.6 0 0 0-3.25 3.89 5.9 5.9 0 0 0-.62 2.43c0 .8.27 1.57.94 2.12.61.5 1.14.74 1.66.77.51.02.92-.19 1.23-.37l.2-.12c.24-.15.44-.27.69-.35.28-.09.64-.12 1.16.04.19.06.3.14.38.24.09.1.16.26.2.47.06.21.09.46.1.76.02.1.02.24.03.37l.04.58c.05.67.17 1.44.57 2.14.42.7 1.1 1.3 2.2 1.68 1.6.54 3.07.1 4.21-.8a7.46 7.46 0 0 0 2.37-3.6C19.2 9.16 17.68 5.04 13.7 3ZM6.3 4.01a6.82 6.82 0 0 1 6.94-.14c3.5 1.8 4.87 5.4 3.69 9.25a6.46 6.46 0 0 1-2.04 3.1 3.33 3.33 0 0 1-3.26.64c-.9-.3-1.38-.76-1.66-1.24a4 4 0 0 1-.44-1.7l-.04-.54-.02-.41c-.03-.31-.06-.63-.13-.93-.07-.3-.2-.6-.4-.86-.22-.26-.5-.46-.87-.57a2.85 2.85 0 0 0-1.75-.03c-.38.12-.7.32-.95.47l-.14.09c-.29.16-.48.24-.68.23-.22-.01-.55-.12-1.08-.55-.38-.31-.57-.76-.57-1.34 0-.6.19-1.29.52-2.01A8.63 8.63 0 0 1 6.3 4.02Z"]),Cd=yc("ColorBackgroundRegular","1em",["M2 10.66v2.84A2.5 2.5 0 0 0 4.5 16h11a2.5 2.5 0 0 0 2.5-2.5v-7A2.5 2.5 0 0 0 15.5 4H9.48l.67.67c.1.1.2.22.28.33h5.07c.83 0 1.5.67 1.5 1.5v7c0 .83-.67 1.5-1.5 1.5h-11A1.5 1.5 0 0 1 3 13.5v-1.84l-1-1ZM5 1.5a.5.5 0 0 1 1 0v1.17a2 2 0 0 1 1.32.59l2.12 2.12a2 2 0 0 1 0 2.83l-2.83 2.83a2 2 0 0 1-2.82 0L1.66 8.9a2 2 0 0 1 0-2.82L4.5 3.26A2 2 0 0 1 5 2.89V1.5Zm0 4V4.16L2.66 6.5h6.32a1 1 0 0 0-.25-.41L6.61 3.96A1 1 0 0 0 6 3.68V5.5a.5.5 0 0 1-1 0Zm-2.92 2c0 .26.1.51.3.7l2.11 2.13a1 1 0 0 0 1.42 0L8.73 7.5H2.08Zm8.08.93.22-.26a.5.5 0 0 1 .74 0l.22.26c.12.15.29.38.46.64.31.5.7 1.23.7 1.93 0 1-.67 2-1.75 2S9 12 9 11c0-.7.39-1.44.7-1.93.17-.26.34-.49.46-.64Zm.59.88c-.07.09-.14.19-.2.3-.31.47-.55 1-.55 1.39 0 .3.1.57.25.75.13.17.3.25.5.25s.37-.08.5-.25c.15-.18.25-.46.25-.75 0-.4-.24-.92-.55-1.4l-.2-.3Z"]),Dd=yc("CommentRegular","1em",["M10.48 13.84h4.92c.9 0 1.6-.71 1.6-1.56V5.57C17 4.7 16.3 4 15.4 4H4.6C3.7 4 3 4.71 3 5.57v6.7c0 .86.7 1.57 1.6 1.57h1.6V17l4.28-3.16ZM6.8 17.8a1 1 0 0 1-1.4-.2.98.98 0 0 1-.2-.59v-2.17h-.6A2.58 2.58 0 0 1 2 12.28V5.57A2.58 2.58 0 0 1 4.6 3h10.8C16.84 3 18 4.15 18 5.57v6.7a2.58 2.58 0 0 1-2.6 2.57h-4.59L6.8 17.8Z"],{flipInRtl:!0}),Pd=yc("CopyRegular","1em",["M8 2a2 2 0 0 0-2 2v10c0 1.1.9 2 2 2h6a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8ZM7 4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V4ZM4 6a2 2 0 0 1 1-1.73V14.5A2.5 2.5 0 0 0 7.5 17h6.23A2 2 0 0 1 12 18H7.5A3.5 3.5 0 0 1 4 14.5V6Z"]),Ed=yc("CursorRegular","1em",["M5 3.06a1 1 0 0 1 1.64-.77l11 9.06a1 1 0 0 1-.63 1.77h-5.6c-.43 0-.85.19-1.13.52L6.76 17.7A1 1 0 0 1 5 17.06v-14Zm12 9.06L6 3.06v14l3.52-4.08a2.5 2.5 0 0 1 1.9-.86H17Z"]),Ad=yc("CutRegular","1em",["M5.92 2.23a.5.5 0 0 0-.84.54L9.4 9.43l-1.92 2.96a3 3 0 1 0 .78.64L10 10.35l1.74 2.68a3 3 0 1 0 .78-.64L5.92 2.23ZM14 17a2 2 0 1 1 0-4 2 2 0 0 1 0 4ZM4 15a2 2 0 1 1 4 0 2 2 0 0 1-4 0Zm7.2-6.49-.6-.92 3.48-5.36a.5.5 0 0 1 .84.54l-3.73 5.74Z"]),Fd=yc("DataHistogramRegular","1em",["M8 5v11h4V5a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1ZM7 9V5c0-1.1.9-2 2-2h2a2 2 0 0 1 2 2v1h2a2 2 0 0 1 2 2v8.5a.5.5 0 0 1-.5.5h-13a.5.5 0 0 1-.5-.5V11c0-1.1.9-2 2-2h2Zm0 7v-6H5a1 1 0 0 0-1 1v5h3Zm6 0h3V8a1 1 0 0 0-1-1h-2v9Z"]),Rd=yc("DataLineRegular","1em",["M15.5 4a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3ZM13 5.5a2.5 2.5 0 1 1 1.56 2.32l-1.29 1.92A2.5 2.5 0 0 1 11.5 14a2.5 2.5 0 0 1-2.05-1.08L6.95 14A2.51 2.51 0 0 1 4.5 17a2.5 2.5 0 1 1 2.05-3.92L9.05 12A2.51 2.51 0 0 1 11.5 9c.33 0 .65.07.94.18l1.29-1.92A2.5 2.5 0 0 1 13 5.5Zm-3 6a1.5 1.5 0 1 0 3 0 1.5 1.5 0 0 0-3 0Zm-7 3a1.5 1.5 0 1 0 3 0 1.5 1.5 0 0 0-3 0Z"]),Id=yc("DataUsageRegular","1em",["M10 10a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 1 0v-3a.5.5 0 0 0-.5-.5ZM6 8.5a.5.5 0 0 1 1 0v5a.5.5 0 0 1-1 0v-5ZM13.5 6a.5.5 0 0 0-.5.5v7a.5.5 0 0 0 1 0v-7a.5.5 0 0 0-.5-.5ZM3 5c0-1.1.9-2 2-2h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5Zm1 0v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1Z"]),Md=yc("DatabaseRegular","1em",["M4 5c0-1 .88-1.76 1.9-2.22C6.98 2.28 8.43 2 10 2c1.57 0 3.02.29 4.1.78C15.12 3.24 16 3.99 16 5v10c0 1-.88 1.76-1.9 2.22-1.08.5-2.53.78-4.1.78-1.57 0-3.02-.29-4.1-.78C4.88 16.76 4 16.01 4 15V5Zm1 0c0 .37.36.88 1.32 1.31.91.42 2.22.69 3.68.69s2.77-.27 3.68-.69C14.64 5.88 15 5.37 15 5c0-.37-.36-.88-1.32-1.31A9.19 9.19 0 0 0 10 3c-1.46 0-2.77.27-3.68.69C5.36 4.12 5 4.63 5 5Zm10 1.7c-.27.2-.58.38-.9.52-1.08.5-2.53.78-4.1.78-1.57 0-3.02-.29-4.1-.78A4.92 4.92 0 0 1 5 6.7V15c0 .37.36.88 1.32 1.31.91.42 2.22.69 3.68.69s2.77-.27 3.68-.69c.96-.43 1.32-.94 1.32-1.31V6.7Z"]),Ld=yc("DeleteRegular","1em",["M8.5 4h3a1.5 1.5 0 0 0-3 0Zm-1 0a2.5 2.5 0 0 1 5 0h5a.5.5 0 0 1 0 1h-1.05l-1.2 10.34A3 3 0 0 1 12.27 18H7.73a3 3 0 0 1-2.98-2.66L3.55 5H2.5a.5.5 0 0 1 0-1h5ZM5.74 15.23A2 2 0 0 0 7.73 17h4.54a2 2 0 0 0 1.99-1.77L15.44 5H4.56l1.18 10.23ZM8.5 7.5c.28 0 .5.22.5.5v6a.5.5 0 0 1-1 0V8c0-.28.22-.5.5-.5ZM12 8a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V8Z"]),Od=yc("DesignIdeasRegular","1em",["M4.7 2.71a.5.5 0 0 0-.73-.63l-.01.01-.03.02a4.31 4.31 0 0 0-.43.35c-.25.22-.58.54-.81.93A4.73 4.73 0 0 0 2 5.5c0 .85.32 1.58.8 2.03l-.05.07c-.29.34-.45.79-.55 1.23-.2.87-.2 1.92-.2 2.64v.03c0 2.79.38 4.37.8 5.27.2.46.43.75.62.93a1.48 1.48 0 0 0 .4.26s.1.04.18.04c.07 0 .19-.04.19-.04a.74.74 0 0 0 .13-.06c.07-.05.16-.1.26-.2.2-.18.41-.47.62-.93.42-.9.8-2.48.8-5.27v-.03c0-.72 0-1.77-.2-2.64a3.02 3.02 0 0 0-.6-1.3c.48-.45.8-1.18.8-2.03 0-.7-.14-1.18-.4-1.56a2.75 2.75 0 0 0-.56-.61l-.19-.18C4.7 3 4.7 2.88 4.7 2.8a.33.33 0 0 1 .01-.1ZM5 5.5C5 6.57 4.39 7 4 7c-.38 0-1-.43-1-1.5a3.73 3.73 0 0 1 .87-2.01c.07.12.16.24.28.36.07.08.16.17.25.24l.12.12c.1.1.19.19.25.29.12.18.23.45.23 1ZM3.17 9.05c.1-.37.2-.64.35-.82A.57.57 0 0 1 4 8c.21 0 .35.08.48.23.14.18.26.45.35.82.17.75.17 1.7.17 2.45 0 2.71-.37 4.13-.7 4.85-.11.24-.22.4-.3.5-.08-.1-.19-.26-.3-.5-.33-.72-.7-2.14-.7-4.85 0-.76 0-1.7.17-2.45ZM9 13c-.72 0-1.4-.15-2.01-.42l.02-1.1C7.6 11.8 8.28 12 9 12v-2c0-1.1.9-2 2-2h2a4 4 0 0 0-6.08-3.42 3.33 3.33 0 0 0-.34-.96A5 5 0 0 1 14 8h2a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-5a2 2 0 0 1-2-2v-2Zm4.9-4a5 5 0 0 1-3.9 3.9V15a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1h-2.1Zm-1.03 0H11a1 1 0 0 0-1 1v1.87A4 4 0 0 0 12.87 9Z"]),qd=yc("DeskMultipleRegular","1em",["M6 3a2 2 0 0 0-1.73 1H14a3 3 0 0 1 3 3v6.5a.5.5 0 1 0 1 0V7a4 4 0 0 0-4-4H6ZM4 5a2 2 0 0 0-2 2v7c0 1.1.9 2 2 2h3a2 2 0 0 0 2-2V9h6v6.5a.5.5 0 0 0 1 0V7a2 2 0 0 0-2-2H4ZM3 9h5v5a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V9Zm0-1V7a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v1H3Zm1.5 2a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2Z"]),Hd=yc("DesktopRegular","1em",["M4 2a2 2 0 0 0-2 2v9c0 1.1.9 2 2 2h3v2H5.5a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1H13v-2h3a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H4Zm8 13v2H8v-2h4ZM3 4a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4Z"]),Vd=yc("DeveloperBoardRegular","1em",["M10 7a3 3 0 1 0 0 6 3 3 0 0 0 0-6Zm-2 3a2 2 0 1 1 4 0 2 2 0 0 1-4 0Zm-.5-8c.28 0 .5.22.5.5V4h1.5V2.5a.5.5 0 0 1 1 0V4H12V2.5a.5.5 0 0 1 1 0V4h.5A2.5 2.5 0 0 1 16 6.5V7h1.5a.5.5 0 0 1 0 1H16v1.5h1.5a.5.5 0 0 1 0 1H16V12h1.5a.5.5 0 0 1 0 1H16v.5a2.5 2.5 0 0 1-2.5 2.5H13v1.5a.5.5 0 0 1-1 0V16h-1.5v1.5a.5.5 0 0 1-1 0V16H8v1.5a.5.5 0 0 1-1 0V16h-.5A2.5 2.5 0 0 1 4 13.5V13H2.5a.5.5 0 0 1 0-1H4v-1.5H2.5a.5.5 0 0 1 0-1H4V8H2.5a.5.5 0 0 1 0-1H4v-.5A2.5 2.5 0 0 1 6.5 4H7V2.5c0-.28.22-.5.5-.5ZM15 6.5c0-.83-.67-1.5-1.5-1.5h-7C5.67 5 5 5.67 5 6.5v7c0 .83.67 1.5 1.5 1.5h7c.83 0 1.5-.67 1.5-1.5v-7Z"]),Zd=yc("DismissRegular","1em",["m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"]),$d=yc("DismissCircleFilled","1em",["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16ZM7.8 7.11a.5.5 0 0 0-.63.06l-.06.07a.5.5 0 0 0 .06.64L9.3 10l-2.12 2.12-.06.07a.5.5 0 0 0 .06.64l.07.06c.2.13.47.11.64-.06L10 10.7l2.12 2.12.07.06c.2.13.46.11.64-.06l.06-.07a.5.5 0 0 0-.06-.64L10.7 10l2.12-2.12.06-.07a.5.5 0 0 0-.06-.64l-.07-.06a.5.5 0 0 0-.64.06L10 9.3 7.88 7.17l-.07-.06Z"]),Wd=yc("DocumentRegular","1em",["M6 2a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8a2 2 0 0 0 2-2V7.41c0-.4-.16-.78-.44-1.06l-3.91-3.91A1.5 1.5 0 0 0 10.59 2H6ZM5 4a1 1 0 0 1 1-1h4v3.5c0 .83.67 1.5 1.5 1.5H15v8a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V4Zm9.8 3h-3.3a.5.5 0 0 1-.5-.5V3.2L14.8 7Z"]),Ud=yc("DocumentAddRegular","1em",["M6 2a2 2 0 0 0-2 2v5.2c.32-.08.66-.15 1-.18V4a1 1 0 0 1 1-1h4v3.5c0 .83.67 1.5 1.5 1.5H15v8a1 1 0 0 1-1 1h-3.6c-.18.36-.4.7-.66 1H14a2 2 0 0 0 2-2V7.41c0-.4-.16-.78-.44-1.06l-3.91-3.91A1.5 1.5 0 0 0 10.59 2H6Zm8.8 5h-3.3a.5.5 0 0 1-.5-.5V3.2L14.8 7ZM10 14.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0Zm-4-2a.5.5 0 0 0-1 0V14H3.5a.5.5 0 0 0 0 1H5v1.5a.5.5 0 0 0 1 0V15h1.5a.5.5 0 0 0 0-1H6v-1.5Z"]),Gd=yc("DocumentBulletListRegular","1em",["M6 10.5a.5.5 0 1 1 1 0 .5.5 0 0 1-1 0Zm.5 1.5a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1ZM6 14.5a.5.5 0 1 1 1 0 .5.5 0 0 1-1 0ZM8.5 10a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5ZM8 12.5c0-.28.22-.5.5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5Zm.5 1.5a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5ZM6 2a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8a2 2 0 0 0 2-2V7.41c0-.4-.16-.78-.44-1.06l-3.91-3.91A1.5 1.5 0 0 0 10.59 2H6ZM5 4a1 1 0 0 1 1-1h4v3.5c0 .83.67 1.5 1.5 1.5H15v8a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V4Zm9.8 3h-3.3a.5.5 0 0 1-.5-.5V3.2L14.8 7Z"]),Xd=yc("DocumentSearchRegular","1em",["M4 4c0-1.1.9-2 2-2h4.59c.4 0 .78.16 1.06.44l3.91 3.91c.28.28.44.67.44 1.06V16a2 2 0 0 1-2 2h-2.09a1.5 1.5 0 0 0-.35-.56l-.44-.44H14a1 1 0 0 0 1-1V8h-3.5A1.5 1.5 0 0 1 10 6.5V3H6a1 1 0 0 0-1 1v5.03c-.35.04-.68.11-1 .23V4Zm7.5 3h3.3L11 3.2v3.3c0 .28.22.5.5.5Zm-6 10c.79 0 1.51-.26 2.1-.7l2.55 2.55a.5.5 0 1 0 .7-.7L8.3 15.6A3.5 3.5 0 1 0 5.5 17Zm0-1a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5Z"]),Kd=yc("DocumentTextRegular","1em",["M6.5 10a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7Zm0 2a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7Zm0 2a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7ZM4 4c0-1.1.9-2 2-2h4.59c.4 0 .78.16 1.06.44l3.91 3.91c.28.28.44.67.44 1.06V16a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4Zm2-1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V8h-3.5A1.5 1.5 0 0 1 10 6.5V3H6Zm5.5 4h3.3L11 3.2v3.3c0 .28.22.5.5.5Z"]),Jd=yc("EditRegular","1em",["M17.18 2.93a2.97 2.97 0 0 0-4.26-.06l-9.37 9.38c-.33.33-.56.74-.66 1.2l-.88 3.94a.5.5 0 0 0 .6.6l3.93-.87c.46-.1.9-.34 1.23-.68l9.36-9.36a2.97 2.97 0 0 0 .05-4.15Zm-3.55.65a1.97 1.97 0 1 1 2.8 2.8l-.68.66-2.8-2.79.68-.67Zm-1.38 1.38 2.8 2.8-7.99 7.97c-.2.2-.46.35-.74.41l-3.16.7.7-3.18c.07-.27.2-.51.4-.7l8-8Z"]),Yd=yc("EraserRegular","1em",["M11.2 2.44a1.5 1.5 0 0 1 2.12 0l4.24 4.24a1.5 1.5 0 0 1 0 2.12L9.36 17h5.14a.5.5 0 1 1 0 1H7.82a1.5 1.5 0 0 1-1.14-.44l-4.24-4.24a1.5 1.5 0 0 1 0-2.12l8.76-8.76Zm1.41.7a.5.5 0 0 0-.7 0L5.53 9.52l4.95 4.95 6.36-6.36a.5.5 0 0 0 0-.71l-4.24-4.24ZM9.78 15.18l-4.95-4.95-1.69 1.69a.5.5 0 0 0 0 .7l4.25 4.25c.2.2.5.2.7 0l1.7-1.7Z"]),Qd=yc("ErrorCircleRegular","1em",["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm0 1a7 7 0 1 0 0 14 7 7 0 0 0 0-14Zm0 9.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5ZM10 6a.5.5 0 0 1 .5.41V11a.5.5 0 0 1-1 .09V6.5c0-.28.22-.5.5-.5Z"]),eu=yc("EyeRegular","1em",["M3.26 11.6A6.97 6.97 0 0 1 10 6c3.2 0 6.06 2.33 6.74 5.6a.5.5 0 0 0 .98-.2A7.97 7.97 0 0 0 10 5a7.97 7.97 0 0 0-7.72 6.4.5.5 0 0 0 .98.2ZM10 8a3.5 3.5 0 1 0 0 7 3.5 3.5 0 0 0 0-7Zm-2.5 3.5a2.5 2.5 0 1 1 5 0 2.5 2.5 0 0 1-5 0Z"]),tu=yc("FilterRegular","1em",["M7.5 13h5a.5.5 0 0 1 .09 1H7.5a.5.5 0 0 1-.09-1h5.09-5Zm-2-4h9a.5.5 0 0 1 .09 1H5.5a.5.5 0 0 1-.09-1h9.09-9Zm-2-4h13a.5.5 0 0 1 .09 1H3.5a.5.5 0 0 1-.09-1H16.5h-13Z"]),ru=yc("FlashRegular","1em",["M6.2 2.77C6.31 2.31 6.73 2 7.2 2h5.25c.73 0 1.24.71 1 1.4L12.22 7h2.56c.95 0 1.4 1.14.77 1.81l-8.68 8.86c-.76.79-2.06.06-1.8-1L6.23 12H4.96c-.7 0-1.21-.68-1.02-1.36L6.2 2.77ZM7.2 3a.06.06 0 0 0-.06.05L4.9 10.92c0 .04.02.08.06.08h1.91a.5.5 0 0 1 .49.62l-1.33 5.3v.04l.03.03.04.01h.01l.03-.02 8.68-8.86a.06.06 0 0 0 .01-.03v-.05a.08.08 0 0 0-.03-.03L14.77 8H11.5a.5.5 0 0 1-.47-.67l1.5-4.25a.06.06 0 0 0-.07-.08H7.21Z"]),ou=yc("FlowRegular","1em",["M15 5a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm-2.96 1.5a3 3 0 1 1 0 1H12c-.83 0-1.5.67-1.5 1.5v2A2.5 2.5 0 0 1 8 13.5h-.04a3 3 0 1 1 0-1H8c.83 0 1.5-.67 1.5-1.5V9A2.5 2.5 0 0 1 12 6.5h.04ZM5 11a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z"]),au=yc("FolderRegular","1em",["M4.5 3A2.5 2.5 0 0 0 2 5.5v9A2.5 2.5 0 0 0 4.5 17h11a2.5 2.5 0 0 0 2.5-2.5v-7A2.5 2.5 0 0 0 15.5 5H9.7L8.23 3.51A1.75 1.75 0 0 0 6.98 3H4.5ZM3 5.5C3 4.67 3.67 4 4.5 4h2.48c.2 0 .4.08.53.22L8.8 5.5 7.44 6.85a.5.5 0 0 1-.35.15H3V5.5ZM3 8h4.09c.4 0 .78-.16 1.06-.44L9.7 6h5.79c.83 0 1.5.67 1.5 1.5v7c0 .83-.67 1.5-1.5 1.5h-11A1.5 1.5 0 0 1 3 14.5V8Z"]),nu=yc("FolderOpenRegular","1em",["M3 5.5v6.6l1.5-2.6A3 3 0 0 1 7.1 8H15v-.5c0-.83-.67-1.5-1.5-1.5h-4a.5.5 0 0 1-.35-.15l-1.71-1.7A.5.5 0 0 0 7.09 4H4.5C3.67 4 3 4.67 3 5.5Zm1.28 10.48.22.02h9.4a2 2 0 0 0 1.73-1l2.17-3.75A1.5 1.5 0 0 0 16.5 9H7.1a2 2 0 0 0-1.73 1L3.2 13.75a1.5 1.5 0 0 0 1.08 2.23ZM2 14.46V5.5A2.5 2.5 0 0 1 4.5 3h2.59c.4 0 .78.16 1.06.44L9.7 5h3.79A2.5 2.5 0 0 1 16 7.5V8h.5a2.5 2.5 0 0 1 2.16 3.75L16.5 15.5a3 3 0 0 1-2.6 1.5H4.5a2.54 2.54 0 0 1-1.62-.6A2.5 2.5 0 0 1 2 14.46Z"],{flipInRtl:!0}),iu=yc("FullScreenMaximizeRegular","1em",["M3 5c0-1.1.9-2 2-2h2a.5.5 0 0 1 0 1H5a1 1 0 0 0-1 1v2a.5.5 0 0 1-1 0V5Zm9.5-1.5c0-.28.22-.5.5-.5h2a2 2 0 0 1 2 2v2a.5.5 0 0 1-1 0V5a1 1 0 0 0-1-1h-2a.5.5 0 0 1-.5-.5Zm-9 9c.28 0 .5.22.5.5v2a1 1 0 0 0 1 1h2a.5.5 0 0 1 0 1H5a2 2 0 0 1-2-2v-2c0-.28.22-.5.5-.5Zm13 0c.28 0 .5.22.5.5v2a2 2 0 0 1-2 2h-2a.5.5 0 0 1 0-1h2a1 1 0 0 0 1-1v-2c0-.28.22-.5.5-.5Z"]),su=yc("GaugeRegular","1em",["M12.47 5.06a.5.5 0 0 1-.65.28 5 5 0 0 0-5.36 8.2.5.5 0 1 1-.7.7 6 6 0 0 1 6.42-9.83c.26.1.39.39.29.65Zm2.47 2.47a.5.5 0 0 1 .65.29 6 6 0 0 1-1.35 6.42.5.5 0 1 1-.7-.7 5 5 0 0 0 1.12-5.36.5.5 0 0 1 .28-.65Zm-.85-1.71a.5.5 0 0 0-.64-.01l-.18.14A335.17 335.17 0 0 0 9.3 9.2c-.14.12-.27.24-.34.33a1.5 1.5 0 1 0 2.28 1.95l.27-.4.38-.62a123.47 123.47 0 0 0 2.2-3.82l.12-.2a.5.5 0 0 0-.11-.62ZM10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16Zm0-1a7 7 0 1 1 0-14 7 7 0 0 1 0 14Z"]),lu=yc("GlobeRegular","1em",["M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16Zm0-15c.66 0 1.4.59 2.02 1.9.22.47.4 1.01.56 1.6H7.42c.15-.59.34-1.13.56-1.6C8.59 3.6 9.34 3 10 3ZM7.07 4.49c-.27.59-.5 1.27-.68 2.01H3.94A7.02 7.02 0 0 1 7.7 3.38c-.24.33-.45.7-.64 1.1ZM6.2 7.5a15.97 15.97 0 0 0 0 5H3.46a6.98 6.98 0 0 1 0-5h2.73Zm.2 6c.17.74.4 1.42.68 2.01.19.4.4.78.64 1.1a7.02 7.02 0 0 1-3.77-3.11h2.45Zm1.03 0h5.16a9.25 9.25 0 0 1-.56 1.6C11.41 16.4 10.66 17 10 17c-.66 0-1.4-.59-2.02-1.9-.22-.47-.4-1.01-.56-1.6Zm5.37-1H7.21a14.87 14.87 0 0 1 0-5h5.58a14.86 14.86 0 0 1 0 5Zm.82 1h2.45a7.02 7.02 0 0 1-3.77 3.12c.24-.33.45-.7.64-1.1.27-.6.5-1.28.68-2.02Zm2.93-1h-2.73a15.97 15.97 0 0 0 0-5h2.73a6.98 6.98 0 0 1 0 5Zm-4.25-9.12a7.02 7.02 0 0 1 3.77 3.12h-2.45a10.5 10.5 0 0 0-.68-2.01c-.19-.4-.4-.78-.64-1.1Z"]),cu=yc("GridRegular","1em",["M7.5 11c.83 0 1.5.67 1.5 1.5v4c0 .83-.67 1.5-1.5 1.5h-4A1.5 1.5 0 0 1 2 16.5v-4c0-.83.67-1.5 1.5-1.5h4Zm9 0c.83 0 1.5.67 1.5 1.5v4c0 .83-.67 1.5-1.5 1.5h-4a1.5 1.5 0 0 1-1.5-1.5v-4c0-.83.67-1.5 1.5-1.5h4Zm-9 1h-4a.5.5 0 0 0-.5.5v4c0 .28.22.5.5.5h4a.5.5 0 0 0 .5-.5v-4a.5.5 0 0 0-.5-.5Zm9 0h-4a.5.5 0 0 0-.5.5v4c0 .28.22.5.5.5h4a.5.5 0 0 0 .5-.5v-4a.5.5 0 0 0-.5-.5Zm-9-10C8.33 2 9 2.67 9 3.5v4C9 8.33 8.33 9 7.5 9h-4A1.5 1.5 0 0 1 2 7.5v-4C2 2.67 2.67 2 3.5 2h4Zm9 0c.83 0 1.5.67 1.5 1.5v4c0 .83-.67 1.5-1.5 1.5h-4A1.5 1.5 0 0 1 11 7.5v-4c0-.83.67-1.5 1.5-1.5h4Zm-9 1h-4a.5.5 0 0 0-.5.5v4c0 .28.22.5.5.5h4a.5.5 0 0 0 .5-.5v-4a.5.5 0 0 0-.5-.5Zm9 0h-4a.5.5 0 0 0-.5.5v4c0 .28.22.5.5.5h4a.5.5 0 0 0 .5-.5v-4a.5.5 0 0 0-.5-.5Z"]),du=yc("GroupRegular","1em",["M7 4.5c0 .17-.02.34-.05.5H10a1 1 0 0 1 1 1v2h-1a2 2 0 0 0-2 2v1H6a1 1 0 0 1-1-1V6.95a2.51 2.51 0 0 1-1 0V10c0 1.1.9 2 2 2h2v2c0 1.1.9 2 2 2h3.05a2.51 2.51 0 0 1 0-1H10a1 1 0 0 1-1-1v-2h1a2 2 0 0 0 2-2V9h2a1 1 0 0 1 1 1v3.05a2.51 2.51 0 0 1 1 0V10a2 2 0 0 0-2-2h-2V6a2 2 0 0 0-2-2H6.95c.03.16.05.33.05.5ZM11 9v1a1 1 0 0 1-1 1H9v-1a1 1 0 0 1 1-1h1ZM6 4.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm11 11a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0-11a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm-11 11a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z"]),uu=yc("GroupDismissRegular","1em",["M7 4.5c0 .17-.02.34-.05.5H10a1 1 0 0 1 1 1v2h-1a2 2 0 0 0-2 2v1H6a1 1 0 0 1-1-1V6.95a2.51 2.51 0 0 1-1 0V10c0 1.1.9 2 2 2h2v2a2 2 0 0 0 1.16 1.81A5.51 5.51 0 0 1 9 14v-4a1 1 0 0 1 1-1h4a5.58 5.58 0 0 1 1.81.16A2 2 0 0 0 14 8h-2V6a2 2 0 0 0-2-2H6.95c.03.16.05.33.05.5Zm-1 0a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm11 0a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm-11 11a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm13-1a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0Zm-2.65-1.15a.5.5 0 0 0-.7-.7l-1.15 1.14-1.15-1.14a.5.5 0 0 0-.7.7l1.14 1.15-1.14 1.15a.5.5 0 0 0 .7.7l1.15-1.14 1.15 1.14a.5.5 0 0 0 .7-.7l-1.14-1.15 1.14-1.15Z"]),fu=yc("HistoryRegular","1em",["M10 4a6 6 0 1 1-5.98 5.54.5.5 0 1 0-1-.08A7 7 0 1 0 5 5.1V3.5a.5.5 0 0 0-1 0v3c0 .28.22.5.5.5h3a.5.5 0 0 0 0-1H5.53c1.1-1.23 2.7-2 4.47-2Zm0 2.5a.5.5 0 0 0-1 0v4c0 .28.22.5.5.5h3a.5.5 0 0 0 0-1H10V6.5Z"]),pu=yc("HomeFilled","1em",["M11 2.39a1.5 1.5 0 0 0-2 0L3.5 7.33c-.32.28-.5.69-.5 1.12v7.05c0 .83.67 1.5 1.5 1.5h2c.83 0 1.5-.67 1.5-1.5v-4c0-.28.22-.5.5-.5h3c.28 0 .5.22.5.5v4c0 .83.67 1.5 1.5 1.5h2c.83 0 1.5-.67 1.5-1.5V8.45c0-.43-.18-.84-.5-1.12L11 2.39Z"]),hu=yc("HomeRegular","1em",["M9 2.39a1.5 1.5 0 0 1 2 0l5.5 4.94c.32.28.5.69.5 1.12v7.05c0 .83-.67 1.5-1.5 1.5H13a1.5 1.5 0 0 1-1.5-1.5V12a.5.5 0 0 0-.5-.5H9a.5.5 0 0 0-.5.5v3.5c0 .83-.67 1.5-1.5 1.5H4.5A1.5 1.5 0 0 1 3 15.5V8.45c0-.43.18-.84.5-1.12L9 2.39Zm1.33.74a.5.5 0 0 0-.66 0l-5.5 4.94a.5.5 0 0 0-.17.38v7.05c0 .28.22.5.5.5H7a.5.5 0 0 0 .5-.5V12c0-.83.67-1.5 1.5-1.5h2c.83 0 1.5.67 1.5 1.5v3.5c0 .28.22.5.5.5h2.5a.5.5 0 0 0 .5-.5V8.45a.5.5 0 0 0-.17-.38l-5.5-4.94Z"]),gu=yc("ImageRegular","1em",["M14 7.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm-1 0a.5.5 0 1 0-1 0 .5.5 0 0 0 1 0ZM3 6a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3v8a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V6Zm3-2a2 2 0 0 0-2 2v8c0 .37.1.72.28 1.02l4.67-4.59a1.5 1.5 0 0 1 2.1 0l4.67 4.59c.18-.3.28-.65.28-1.02V6a2 2 0 0 0-2-2H6Zm0 12h8a2 2 0 0 0 1.01-.27l-4.66-4.58a.5.5 0 0 0-.7 0l-4.66 4.58A2 2 0 0 0 6 16Z"]),vu=yc("ImageAddRegular","1em",["M10 5.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0Zm-4-2a.5.5 0 0 0-1 0V5H3.5a.5.5 0 0 0 0 1H5v1.5a.5.5 0 0 0 1 0V6h1.5a.5.5 0 0 0 0-1H6V3.5Zm8 .5h-3.2c-.1-.35-.24-.68-.4-1H14a3 3 0 0 1 3 3v8a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3v-3.6c.32.16.65.3 1 .4V14c0 .37.1.72.28 1.02l4.67-4.59a1.5 1.5 0 0 1 2.1 0l4.67 4.59c.18-.3.28-.65.28-1.02V6a2 2 0 0 0-2-2Zm0 3.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm-1 0a.5.5 0 1 0-1 0 .5.5 0 0 0 1 0Zm-8.01 8.23A2 2 0 0 0 6 16h8a2 2 0 0 0 1.01-.27l-4.66-4.58a.5.5 0 0 0-.7 0l-4.66 4.58Z"]),mu=yc("InfoFilled","1em",["M18 10a8 8 0 1 0-16 0 8 8 0 0 0 16 0ZM9.5 8.91a.5.5 0 0 1 1 0V13.6a.5.5 0 0 1-1 0V8.9Zm-.25-2.16a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0Z"]),bu=yc("InfoRegular","1em",["M10.5 8.91a.5.5 0 0 0-1 .09v4.6a.5.5 0 0 0 1-.1V8.91Zm.3-2.16a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0ZM18 10a8 8 0 1 0-16 0 8 8 0 0 0 16 0ZM3 10a7 7 0 1 1 14 0 7 7 0 0 1-14 0Z"]),xu=yc("LightbulbRegular","1em",["M10 2c3.31 0 6 2.6 6 5.8 0 1.68-.75 3.22-2.2 4.6a.6.6 0 0 0-.15.2l-.02.09-.94 3.92a1.84 1.84 0 0 1-1.67 1.38l-.15.01H9.13c-.82 0-1.54-.52-1.78-1.26l-.04-.14-.93-3.91a.6.6 0 0 0-.17-.3A6.32 6.32 0 0 1 4 8.04L4 7.8v-.2A5.91 5.91 0 0 1 10 2Zm2.04 13H7.96l.31 1.33.03.1c.1.3.38.52.71.56l.12.01h1.81a.86.86 0 0 0 .75-.53l.03-.1.32-1.37ZM10 3a4.92 4.92 0 0 0-4.98 4.41L5 7.63V8c.06 1.3.68 2.52 1.9 3.67.18.17.32.4.4.64l.05.15.37 1.54h4.57l.38-1.61.05-.16c.09-.21.22-.4.39-.56C14.38 10.47 15 9.18 15 7.8A4.9 4.9 0 0 0 10 3Z"]),yu=yc("ListRegular","1em",["M2 4.5c0-.28.22-.5.5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5Zm0 10c0-.28.22-.5.5-.5h10a.5.5 0 0 1 0 1h-10a.5.5 0 0 1-.5-.5ZM2.5 9a.5.5 0 0 0 0 1h15a.5.5 0 0 0 0-1h-15Z"]),wu=yc("LockClosedRegular","1em",["M10 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM6 6h1V5a3 3 0 0 1 6 0v1h1a3 3 0 0 1 3 3v6a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V9a3 3 0 0 1 3-3Zm4-3a2 2 0 0 0-2 2v1h4V5a2 2 0 0 0-2-2Zm6 6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v6c0 1.1.9 2 2 2h8a2 2 0 0 0 2-2V9Z"]),ku=yc("LockOpenRegular","1em",["M10 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm5-11a2 2 0 0 0-2 2v2h1a3 3 0 0 1 3 3v6a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V9a3 3 0 0 1 3-3h6V4a3 3 0 1 1 6 0v.5a.5.5 0 0 1-1 0V4a2 2 0 0 0-2-2Zm-1 5H6a2 2 0 0 0-2 2v6c0 1.1.9 2 2 2h8a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2Z"]),Bu=yc("MailRegular","1em",["M15.5 4A2.5 2.5 0 0 1 18 6.5v8a2.5 2.5 0 0 1-2.5 2.5h-11A2.5 2.5 0 0 1 2 14.5v-8A2.5 2.5 0 0 1 4.5 4h11ZM17 7.96l-6.75 3.97a.5.5 0 0 1-.42.04l-.08-.04L3 7.96v6.54c0 .83.67 1.5 1.5 1.5h11c.83 0 1.5-.67 1.5-1.5V7.96ZM15.5 5h-11C3.67 5 3 5.67 3 6.5v.3l7 4.12 7-4.12v-.3c0-.83-.67-1.5-1.5-1.5Z"]),Su=yc("NavigationRegular","1em",["M2 4.5c0-.28.22-.5.5-.5h15a.5.5 0 0 1 0 1h-15a.5.5 0 0 1-.5-.5Zm0 5c0-.28.22-.5.5-.5h15a.5.5 0 0 1 0 1h-15a.5.5 0 0 1-.5-.5Zm.5 4.5a.5.5 0 0 0 0 1h15a.5.5 0 0 0 0-1h-15Z"]),_u=yc("NetworkCheckRegular","1em",["M2.51 10.18a8 8 0 0 1 10.37-4.65l.57-.72.08-.1a9 9 0 0 0-11.95 5.1.5.5 0 1 0 .93.37Zm13.5-3.87a9.02 9.02 0 0 1 2.41 3.51.5.5 0 0 1-.93.36 8 8 0 0 0-1.87-2.88l.26-.66.14-.33ZM10 6.5c.66 0 1.3.1 1.9.28l-.67.86a5.52 5.52 0 0 0-6.56 3.98.5.5 0 1 1-.96-.24A6.5 6.5 0 0 1 10 6.5Zm5 2.35-.44 1.08c.35.51.6 1.08.77 1.7a.5.5 0 1 0 .97-.25c-.25-.95-.7-1.8-1.3-2.53ZM10 9h.16l-.83 1.08A3 3 0 0 0 7 13a.5.5 0 0 1-1 0 4 4 0 0 1 4-4Zm3.17 4.35v.02c.08.08.2.13.33.13a.5.5 0 0 0 .5-.5 4 4 0 0 0-.19-1.21l-.64 1.56Zm.22-6.85.61-.78.23-.29.04-.04a.5.5 0 0 1 .86.37l-.04.16-.14.35a1207.08 1207.08 0 0 1-2.7 6.7 77.26 77.26 0 0 1-.73 1.66 1.75 1.75 0 0 1-3.04-1.75l.38-.54.7-.92a341.32 341.32 0 0 1 3.83-4.92Zm-1.1 3.02a338.93 338.93 0 0 0-2.94 3.86.75.75 0 1 0 1.3.75l.23-.5.44-1.05a342.47 342.47 0 0 0 1.55-3.8l-.57.74Zm2.84-3.76a.5.5 0 0 1-.04.16Z"]),Nu=yc("NumberSymbolRegular","1em",["M8.99 2.6a.5.5 0 0 0-.98-.2L7.09 7H3.5a.5.5 0 1 0 0 1h3.39l-.8 4H2.5a.5.5 0 0 0 0 1h3.4L5 17.4a.5.5 0 1 0 .98.2l.92-4.6h5l-.9 4.4a.5.5 0 0 0 .98.2l.95-4.6h3.56a.5.5 0 0 0 0-1h-3.36l.82-4h3.54a.5.5 0 1 0 0-1h-3.33l.9-4.39a.5.5 0 1 0-.98-.2l-.95 4.6H8.11l.88-4.41ZM7.91 8h5.03l-.82 4h-5l.79-4Z"]),zu=yc("OptionsRegular","1em",["M14.95 5a2.5 2.5 0 0 0-4.9 0H2.5a.5.5 0 0 0 0 1h7.55a2.5 2.5 0 0 0 4.9 0h2.55a.5.5 0 0 0 0-1h-2.55ZM12.5 7a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm-2.55 7a2.5 2.5 0 0 0-4.9 0H2.5a.5.5 0 0 0 0 1h2.55a2.5 2.5 0 0 0 4.9 0h7.55a.5.5 0 0 0 0-1H9.95ZM7.5 16a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Z"]),ju=yc("PanelLeftRegular","1em",["M2 6a3 3 0 0 1 3-3h10a3 3 0 0 1 3 3v7a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V6Zm6.5-2v11H15a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2H8.5Zm-1 0H5a2 2 0 0 0-2 2v7c0 1.1.9 2 2 2h2.5V4Z"]),Tu=yc("PeopleRegular","1em",["M4.5 6.75a2.25 2.25 0 1 1 4.5 0 2.25 2.25 0 0 1-4.5 0ZM6.75 3.5a3.25 3.25 0 1 0 0 6.5 3.25 3.25 0 0 0 0-6.5Zm5.69 11.65c.53.21 1.21.35 2.06.35 1.88 0 2.92-.67 3.47-1.43a2.92 2.92 0 0 0 .53-1.5v-.07c0-.83-.67-1.5-1.5-1.5h-4.63c.24.29.42.63.53 1H17c.28 0 .5.22.5.5v.1l-.04.22c-.04.18-.13.42-.3.66-.33.46-1.04 1.02-2.66 1.02-.73 0-1.28-.11-1.69-.28-.08.28-.2.6-.37.93ZM1.5 13c0-1.1.9-2 2-2H10a2 2 0 0 1 2 2V13.08a1.43 1.43 0 0 1-.01.18 3.95 3.95 0 0 1-.67 1.8C10.62 16.09 9.26 17 6.75 17c-2.51 0-3.87-.92-4.57-1.93a3.95 3.95 0 0 1-.68-1.99V13Zm1 .06v.1l.06.33c.07.27.2.64.45 1C3.49 15.2 4.5 16 6.75 16s3.26-.8 3.74-1.5a2.95 2.95 0 0 0 .5-1.42l.01-.02V13a1 1 0 0 0-1-1H3.5a1 1 0 0 0-1 1v.06ZM13 7.5a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0ZM14.5 5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5Z"]),Cu=yc("PersonRegular","1em",["M10 2a4 4 0 1 0 0 8 4 4 0 0 0 0-8ZM7 6a3 3 0 1 1 6 0 3 3 0 0 1-6 0Zm-2 5a2 2 0 0 0-2 2c0 1.7.83 2.97 2.13 3.8A9.14 9.14 0 0 0 10 18c1.85 0 3.58-.39 4.87-1.2A4.35 4.35 0 0 0 17 13a2 2 0 0 0-2-2H5Zm-1 2a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1c0 1.3-.62 2.28-1.67 2.95A8.16 8.16 0 0 1 10 17a8.16 8.16 0 0 1-4.33-1.05A3.36 3.36 0 0 1 4 13Z"]),Du=yc("PersonAccountsRegular","1em",["M9 2a4 4 0 1 0 0 8 4 4 0 0 0 0-8ZM6 6a3 3 0 1 1 6 0 3 3 0 0 1-6 0Zm-2 5a2 2 0 0 0-2 2c0 1.7.83 2.97 2.13 3.8A9.14 9.14 0 0 0 9 18h.05a2.51 2.51 0 0 1-.05-.5V17a8.16 8.16 0 0 1-4.33-1.05A3.36 3.36 0 0 1 3 13a1 1 0 0 1 1-1h5.5c.37-.5.91-.84 1.54-.96l.01-.04H4.01Zm8 .5v.5h-.5c-.83 0-1.5.67-1.5 1.5v4c0 .83.67 1.5 1.5 1.5h6c.83 0 1.5-.67 1.5-1.5v-4c0-.83-.67-1.5-1.5-1.5H17v-.5c0-.83-.67-1.5-1.5-1.5h-2c-.83 0-1.5.67-1.5 1.5Zm1.5-.5h2c.28 0 .5.22.5.5v.5h-3v-.5c0-.28.22-.5.5-.5Z"]),Pu=yc("PlayRegular","1em",["M17.22 8.69a1.5 1.5 0 0 1 0 2.62l-10 5.5A1.5 1.5 0 0 1 5 15.5v-11A1.5 1.5 0 0 1 7.22 3.2l10 5.5Zm-.48 1.75a.5.5 0 0 0 0-.88l-10-5.5A.5.5 0 0 0 6 4.5v11c0 .38.4.62.74.44l10-5.5Z"]),Eu=yc("PlugConnectedRegular","1em",["M17.85 2.85a.5.5 0 0 0-.7-.7L14.48 4.8a4.04 4.04 0 0 0-5.33.34l-.3.3a1.49 1.49 0 0 0 0 2.1l3.6 3.6c.58.59 1.52.59 2.1 0l.3-.3a4.04 4.04 0 0 0 .34-5.33l2.66-2.67Zm-4 7.6c-.2.19-.5.19-.7 0l-3.6-3.6c-.19-.2-.19-.5 0-.7l.3-.3a3.04 3.04 0 0 1 4.3 4.3l-.3.3Zm-6.3-1.6a1.49 1.49 0 0 0-2.1 0l-.3.3a4.04 4.04 0 0 0-.34 5.33l-2.66 2.67a.5.5 0 0 0 .7.7l2.67-2.66a4.04 4.04 0 0 0 5.33-.34l.3-.3c.59-.58.59-1.52 0-2.1l-3.6-3.6Zm-1.4.7c.2-.19.5-.19.7 0l3.6 3.6c.19.2.19.5 0 .7l-.3.3a3.04 3.04 0 1 1-4.3-4.3l.3-.3Z"]),Au=yc("PlugDisconnectedRegular","1em",["M17.85 2.15c.2.2.2.5 0 .7L16.2 4.52a4.04 4.04 0 0 1-.34 5.33l-.3.3-.3.31c-.42.41-1.08.41-1.5 0L9.55 6.24a1.05 1.05 0 0 1 0-1.48l.6-.61a4.04 4.04 0 0 1 5.34-.34l1.67-1.66c.2-.2.5-.2.7 0Zm-2.71 2.7a3.04 3.04 0 0 0-4.29 0l-.3.3c-.19.2-.19.5 0 .7l3.6 3.6c.2.19.5.19.7 0l.3-.3a3.04 3.04 0 0 0 0-4.29l-.01-.01Zm-5.79 3.8c.2.2.2.5 0 .7L7.71 11 9 12.3l1.65-1.65a.5.5 0 0 1 .7.7L9.71 13l.44.45c.59.58.59 1.52 0 2.1l-.3.3a4.04 4.04 0 0 1-5.33.34l-1.67 1.66a.5.5 0 0 1-.7-.7l1.66-1.67a4.04 4.04 0 0 1 .34-5.33l.3-.3a1.49 1.49 0 0 1 2.1 0l.45.44 1.65-1.64c.2-.2.5-.2.7 0Zm-4.5 6.5a3.04 3.04 0 0 0 4.3 0l.3-.3c.19-.2.19-.5 0-.7l-3.6-3.6c-.2-.19-.5-.19-.7 0l-.3.3a3.04 3.04 0 0 0 0 4.3Z"]),Fu=yc("PowerRegular","1em",["M10.5 2.5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0v-6ZM13.74 4a.5.5 0 1 0-.5.87 6.5 6.5 0 1 1-6.49 0 .5.5 0 1 0-.5-.87 7.5 7.5 0 1 0 7.5 0Z"]),Ru=yc("PrintRegular","1em",["M5 4.5C5 3.67 5.67 3 6.5 3h7c.83 0 1.5.67 1.5 1.5V5h.5A2.5 2.5 0 0 1 18 7.5v5c0 .83-.67 1.5-1.5 1.5H15v1.5c0 .83-.67 1.5-1.5 1.5h-7A1.5 1.5 0 0 1 5 15.5V14H3.5A1.5 1.5 0 0 1 2 12.5v-5A2.5 2.5 0 0 1 4.5 5H5v-.5ZM6 5h8v-.5a.5.5 0 0 0-.5-.5h-7a.5.5 0 0 0-.5.5V5Zm-1 8v-1.5c0-.83.67-1.5 1.5-1.5h7c.83 0 1.5.67 1.5 1.5V13h1.5a.5.5 0 0 0 .5-.5v-5c0-.83-.67-1.5-1.5-1.5h-11C3.67 6 3 6.67 3 7.5v5c0 .28.22.5.5.5H5Zm1.5-2a.5.5 0 0 0-.5.5v4c0 .28.22.5.5.5h7a.5.5 0 0 0 .5-.5v-4a.5.5 0 0 0-.5-.5h-7Z"]),Iu=yc("QuestionCircleRegular","1em",["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm0 1a7 7 0 1 0 0 14 7 7 0 0 0 0-14Zm0 10.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5Zm0-8a2.5 2.5 0 0 1 1.65 4.38l-.15.12-.22.17-.09.07-.16.15c-.33.36-.53.85-.53 1.61a.5.5 0 0 1-1 0 3.2 3.2 0 0 1 1.16-2.62l.25-.19.12-.1A1.5 1.5 0 0 0 10 6.5c-.83 0-1.5.67-1.5 1.5a.5.5 0 0 1-1 0A2.5 2.5 0 0 1 10 5.5Z"]),Mu=yc("RemoteRegular","1em",["M17.15 14.85a.5.5 0 0 0 .7-.7L12.21 8.5l5.64-5.65a.5.5 0 0 0-.7-.7l-6 6a.5.5 0 0 0 0 .7l6 6Zm-14.3-9.7a.5.5 0 1 0-.7.7l5.64 5.65-5.64 5.65a.5.5 0 0 0 .7.7l6-6a.5.5 0 0 0 0-.7l-6-6Z"]),Lu=yc("ResizeImageRegular","1em",["M5 2a3 3 0 0 0-3 3v3.5a.5.5 0 0 0 1 0V5c0-1.1.9-2 2-2h3.5a.5.5 0 0 0 0-1H5Zm6.5 0a.5.5 0 0 0 0 1H15a2 2 0 0 1 2 2v3.5a.5.5 0 0 0 1 0V5a3 3 0 0 0-3-3h-3.5Zm6.5 9.5a.5.5 0 0 0-1 0V15a2 2 0 0 1-2 2h-3.5a.5.5 0 0 0 0 1H15a3 3 0 0 0 3-3v-3.5Zm-17 1A2.5 2.5 0 0 1 3.5 10h4a2.5 2.5 0 0 1 2.5 2.5v4c0 .5-.15.98-.41 1.38l-3.03-3.03a1.5 1.5 0 0 0-2.12 0L1.4 17.88C1.15 17.48 1 17 1 16.5v-4Zm7 .25a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Zm-5.88 5.84c.4.26.87.41 1.38.41h4c.51 0 .98-.15 1.38-.41l-3.03-3.03a.5.5 0 0 0-.7 0L2.12 18.6Z"]),Ou=yc("RocketRegular","1em",["M10.76 6.43a2 2 0 1 1 2.82 2.82 2 2 0 0 1-2.82-2.82Zm2.11.7a1 1 0 1 0-1.4 1.42 1 1 0 0 0 1.4-1.42Zm-1.12 7.37a1.5 1.5 0 0 1-1.7-.3l-.61-.6-.74 1.22a.5.5 0 0 1-.78.1L5.1 12.09a.5.5 0 0 1 .1-.79l1.22-.73-.61-.6a1.5 1.5 0 0 1-.3-1.71L4.38 7.14a.5.5 0 0 1 0-.7l1.06-1.07a3 3 0 0 1 3.42-.59l.93-.93a6.3 6.3 0 0 1 6.33-1.56c.76.24 1.36.83 1.6 1.6a6.3 6.3 0 0 1-1.56 6.32l-.94.94a3 3 0 0 1-.58 3.41l-1.06 1.06a.5.5 0 0 1-.71 0l-1.12-1.12Zm4.08-11.26a5.3 5.3 0 0 0-5.33 1.31l-.81.82-.7.7h-.01L6.86 8.2l-.4.4a.5.5 0 0 0 .05.66l4.24 4.24c.18.18.46.2.66.05l.4-.4 2.12-2.12.7-.71.82-.81a5.3 5.3 0 0 0 1.31-5.33c-.14-.45-.49-.8-.93-.94Zm-3.31 10.62.7.7.7-.7a2 2 0 0 0 .53-1.93l-1.93 1.93Zm-4.44-8.3a2 2 0 0 0-1.93.52l-.7.7.7.71 1.93-1.93Zm.63 7.31L7.14 11.3l-.89.53 1.93 1.93.53-.89Zm-2.9 2.04a.5.5 0 1 0-.71-.7l-1.77 1.76a.5.5 0 1 0 .7.71l1.77-1.77ZM4.38 12.8c.2.2.2.51 0 .7l-.71.72a.5.5 0 0 1-.7-.71l.7-.71c.2-.2.51-.2.7 0Zm2.83 3.54a.5.5 0 0 0-.7-.71l-.72.7a.5.5 0 1 0 .7.72l.72-.71Z"]),qu=yc("RouterRegular","1em",["M3.5 9.5a6.5 6.5 0 0 1 13 0 .5.5 0 0 0 1 0 7.5 7.5 0 0 0-15 0 .5.5 0 0 0 1 0Zm6.5-4a4 4 0 0 0-4 4 .5.5 0 0 1-1 0 5 5 0 0 1 10 0 .5.5 0 0 1-1 0 4 4 0 0 0-4-4ZM7.75 9.25a2.25 2.25 0 1 1 2.75 2.2V13h4a2.5 2.5 0 0 1 0 5h-9a2.5 2.5 0 0 1 0-5h4v-1.56a2.25 2.25 0 0 1-1.75-2.19ZM10 8a1.25 1.25 0 1 0 0 2.5A1.25 1.25 0 0 0 10 8Zm-4.5 6a1.5 1.5 0 0 0 0 3h9a1.5 1.5 0 0 0 0-3h-9Z"]),Hu=yc("RulerRegular","1em",["M14 3.5c0-.83-.67-1.5-1.5-1.5h-5C6.67 2 6 2.67 6 3.5v13c0 .83.67 1.5 1.5 1.5h5c.83 0 1.5-.67 1.5-1.5v-13ZM7 13h2.5a.5.5 0 0 0 0-1H7v-1.5h1.5a.5.5 0 0 0 0-1H7V8h2.5a.5.5 0 0 0 0-1H7V5.5h1.5a.5.5 0 0 0 0-1H7v-1c0-.28.22-.5.5-.5h5c.28 0 .5.22.5.5v13a.5.5 0 0 1-.5.5h-5a.5.5 0 0 1-.5-.5v-1h1.5a.5.5 0 0 0 0-1H7V13Z"]),Vu=yc("SaveRegular","1em",["M3 5c0-1.1.9-2 2-2h8.38a2 2 0 0 1 1.41.59l1.62 1.62A2 2 0 0 1 17 6.62V15a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5Zm2-1a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1v-4.5c0-.83.67-1.5 1.5-1.5h7c.83 0 1.5.67 1.5 1.5V16a1 1 0 0 0 1-1V6.62a1 1 0 0 0-.3-.7L14.1 4.28a1 1 0 0 0-.71-.29H13v2.5c0 .83-.67 1.5-1.5 1.5h-4A1.5 1.5 0 0 1 6 6.5V4H5Zm2 0v2.5c0 .28.22.5.5.5h4a.5.5 0 0 0 .5-.5V4H7Zm7 12v-4.5a.5.5 0 0 0-.5-.5h-7a.5.5 0 0 0-.5.5V16h8Z"]),Zu=yc("SearchRegular","1em",["M13.73 14.44a6.5 6.5 0 1 1 .7-.7l3.42 3.4a.5.5 0 0 1-.63.77l-.07-.06-3.42-3.41Zm-.71-.71A5.54 5.54 0 0 0 15 9.5a5.5 5.5 0 1 0-1.98 4.23Z"]),$u=yc("SelectAllOnRegular","1em",["M12.33 6.62c.2.19.23.5.05.7l-3.5 4a.5.5 0 0 1-.73.03l-2-2a.5.5 0 1 1 .7-.7l1.63 1.62 3.14-3.6a.5.5 0 0 1 .7-.05ZM3 6a3 3 0 0 1 3-3h6a3 3 0 0 1 3 3v6a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V6Zm3-2a2 2 0 0 0-2 2v6c0 1.1.9 2 2 2h6a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2H6Zm-.25 12A3 3 0 0 0 8 17h4.5a4.5 4.5 0 0 0 4.5-4.5V8a3 3 0 0 0-1-2.23v6.73a3.5 3.5 0 0 1-3.5 3.5H5.75Z"]),Wu=yc("SendRegular","1em",["M2.18 2.11a.5.5 0 0 1 .54-.06l15 7.5a.5.5 0 0 1 0 .9l-15 7.5a.5.5 0 0 1-.7-.58L3.98 10 2.02 2.63a.5.5 0 0 1 .16-.52Zm2.7 8.39-1.61 6.06L16.38 10 3.27 3.44 4.88 9.5h6.62a.5.5 0 1 1 0 1H4.88Z"],{flipInRtl:!0}),Uu=yc("ServerRegular","1em",["M7.5 5a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5ZM7 12.5c0-.28.22-.5.5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5Zm.5 1.5a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5ZM5 4.5A2.5 2.5 0 0 1 7.5 2h5A2.5 2.5 0 0 1 15 4.5v11a2.5 2.5 0 0 1-2.5 2.5h-5A2.5 2.5 0 0 1 5 15.5v-11ZM7.5 3C6.67 3 6 3.67 6 4.5v11c0 .83.67 1.5 1.5 1.5h5c.83 0 1.5-.67 1.5-1.5v-11c0-.83-.67-1.5-1.5-1.5h-5Z"]),Gu=yc("SettingsFilled","1em",["M1.91 7.38A8.5 8.5 0 0 1 3.7 4.3a.5.5 0 0 1 .54-.13l1.92.68a1 1 0 0 0 1.32-.76l.36-2a.5.5 0 0 1 .4-.4 8.53 8.53 0 0 1 3.55 0c.2.04.35.2.38.4l.37 2a1 1 0 0 0 1.32.76l1.92-.68a.5.5 0 0 1 .54.13 8.5 8.5 0 0 1 1.78 3.08c.06.2 0 .4-.15.54l-1.56 1.32a1 1 0 0 0 0 1.52l1.56 1.32a.5.5 0 0 1 .15.54 8.5 8.5 0 0 1-1.78 3.08.5.5 0 0 1-.54.13l-1.92-.68a1 1 0 0 0-1.32.76l-.37 2a.5.5 0 0 1-.38.4 8.53 8.53 0 0 1-3.56 0 .5.5 0 0 1-.39-.4l-.36-2a1 1 0 0 0-1.32-.76l-1.92.68a.5.5 0 0 1-.54-.13 8.5 8.5 0 0 1-1.78-3.08.5.5 0 0 1 .15-.54l1.56-1.32a1 1 0 0 0 0-1.52L2.06 7.92a.5.5 0 0 1-.15-.54ZM8 10a2 2 0 1 0 4 0 2 2 0 0 0-4 0Z"]),Xu=yc("SettingsRegular","1em",["M1.91 7.38A8.5 8.5 0 0 1 3.7 4.3a.5.5 0 0 1 .54-.13l1.92.68a1 1 0 0 0 1.32-.76l.36-2a.5.5 0 0 1 .4-.4 8.53 8.53 0 0 1 3.55 0c.2.04.35.2.38.4l.37 2a1 1 0 0 0 1.32.76l1.92-.68a.5.5 0 0 1 .54.13 8.5 8.5 0 0 1 1.78 3.08c.06.2 0 .4-.15.54l-1.56 1.32a1 1 0 0 0 0 1.52l1.56 1.32a.5.5 0 0 1 .15.54 8.5 8.5 0 0 1-1.78 3.08.5.5 0 0 1-.54.13l-1.92-.68a1 1 0 0 0-1.32.76l-.37 2a.5.5 0 0 1-.38.4 8.53 8.53 0 0 1-3.56 0 .5.5 0 0 1-.39-.4l-.36-2a1 1 0 0 0-1.32-.76l-1.92.68a.5.5 0 0 1-.54-.13 8.5 8.5 0 0 1-1.78-3.08.5.5 0 0 1 .15-.54l1.56-1.32a1 1 0 0 0 0-1.52L2.06 7.92a.5.5 0 0 1-.15-.54Zm1.06 0 1.3 1.1a2 2 0 0 1 0 3.04l-1.3 1.1c.3.79.72 1.51 1.25 2.16l1.6-.58a2 2 0 0 1 2.63 1.53l.3 1.67a7.56 7.56 0 0 0 2.5 0l.3-1.67a2 2 0 0 1 2.64-1.53l1.6.58a7.5 7.5 0 0 0 1.24-2.16l-1.3-1.1a2 2 0 0 1 0-3.04l1.3-1.1a7.5 7.5 0 0 0-1.25-2.16l-1.6.58a2 2 0 0 1-2.63-1.53l-.3-1.67a7.55 7.55 0 0 0-2.5 0l-.3 1.67A2 2 0 0 1 5.81 5.8l-1.6-.58a7.5 7.5 0 0 0-1.24 2.16ZM7.5 10a2.5 2.5 0 1 1 5 0 2.5 2.5 0 0 1-5 0Zm1 0a1.5 1.5 0 1 0 3 0 1.5 1.5 0 0 0-3 0Z"]),Ku=yc("ShareScreenStartRegular","1em",["M10 14a.5.5 0 0 1-.5-.5V7.7L7.85 9.36a.5.5 0 1 1-.7-.7l2.5-2.5c.2-.2.5-.2.7 0l2.5 2.5a.5.5 0 0 1-.7.7L10.5 7.71v5.79a.5.5 0 0 1-.5.5ZM2 6c0-1.1.9-2 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6Zm2-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4Z"]),Ju=yc("ShieldRegular","1em",["M9.72 2.08a.5.5 0 0 1 .56 0c1.94 1.3 4.03 2.1 6.3 2.43A.5.5 0 0 1 17 5v4.5c0 3.9-2.3 6.73-6.82 8.47a.5.5 0 0 1-.36 0C5.31 16.23 3 13.39 3 9.5V5a.5.5 0 0 1 .43-.5 15.05 15.05 0 0 0 6.3-2.42ZM9.6 3.35A15.97 15.97 0 0 1 4 5.43V9.5c0 3.4 1.97 5.86 6 7.46 4.03-1.6 6-4.07 6-7.46V5.43a15.97 15.97 0 0 1-5.6-2.08L10 3.1l-.4.25Z"]),Yu=yc("SignOutRegular","1em",["M8.5 11.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5ZM11 3.5a.5.5 0 0 0-.58-.5l-7 1.08a.5.5 0 0 0-.42.49v10.86c0 .25.18.46.42.5l7 1.07a.5.5 0 0 0 .58-.5V10h5.17l-1 .87a.5.5 0 0 0 .66.76l2-1.75a.5.5 0 0 0 0-.76l-2-1.75a.5.5 0 1 0-.65.76l1 .87H11V3.5Zm-1 .58v11.84L4 15V5l6-.92ZM12.5 16H12v-5h1v4.5a.5.5 0 0 1-.5.5ZM12 8V4h.5c.28 0 .5.22.5.5V8h-1Z"]),Qu=yc("StopRegular","1em",["M15.5 4c.28 0 .5.22.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11c0-.28.22-.5.5-.5h11Zm-11-1C3.67 3 3 3.67 3 4.5v11c0 .83.67 1.5 1.5 1.5h11c.83 0 1.5-.67 1.5-1.5v-11c0-.83-.67-1.5-1.5-1.5h-11Z"]),ef=yc("StorageRegular","1em",["M13 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm2 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM2 8.5A2.5 2.5 0 0 1 4.5 6h11A2.5 2.5 0 0 1 18 8.5v3a2.5 2.5 0 0 1-2.5 2.5h-11A2.5 2.5 0 0 1 2 11.5v-3ZM4.5 7C3.67 7 3 7.67 3 8.5v3c0 .83.67 1.5 1.5 1.5h11c.83 0 1.5-.67 1.5-1.5v-3c0-.83-.67-1.5-1.5-1.5h-11Z"]),tf=yc("TableRegular","1em",["M17 5.5A2.5 2.5 0 0 0 14.5 3h-9A2.5 2.5 0 0 0 3 5.5v9A2.5 2.5 0 0 0 5.5 17h9a2.5 2.5 0 0 0 2.5-2.5v-9Zm-13 9V13h3v3H5.36A1.5 1.5 0 0 1 4 14.5Zm8-1.5v3H8v-3h4Zm2.5 3H13v-3h3V14.64A1.5 1.5 0 0 1 14.5 16ZM12 8v4H8V8h4Zm1 0h3v4h-3V8Zm-1-4v3H8V4h4Zm1 0H14.64A1.5 1.5 0 0 1 16 5.5V7h-3V4ZM7 4v3H4V5.36A1.5 1.5 0 0 1 5.5 4H7Zm0 4v4H4V8h3Z"]),rf=yc("TableLightningRegular","1em",["M17 5.5A2.5 2.5 0 0 0 14.5 3h-9A2.5 2.5 0 0 0 3 5.5v9A2.5 2.5 0 0 0 5.5 17h6a1.5 1.5 0 0 1-1.41-1H8v-3h2.92l.41-1H8V8h4v2.4l.2-.48c.15-.37.45-.65.8-.8V8h3v1h1V5.5Zm-13 9V13h3v3H5.36A1.5 1.5 0 0 1 4 14.5ZM12 7H8V4h4v3Zm1-3H14.64A1.5 1.5 0 0 1 16 5.5V7h-3V4ZM4 7V5.36A1.5 1.5 0 0 1 5.5 4H7v3H4Zm3 1v4H4V8h3Zm5.61 8c.33 0 .56.3.49.62l-.44 1.74c-.12.48.46.83.83.49l4.87-4.55a.75.75 0 0 0-.51-1.3h-.4a.5.5 0 0 1-.48-.66l.56-1.68a.5.5 0 0 0-.47-.66h-3.48a.5.5 0 0 0-.46.3l-2.08 5c-.14.34.1.7.46.7h1.11Z"]),of=yc("TableSimpleRegular","1em",["M3 5.5A2.5 2.5 0 0 1 5.5 3h9A2.5 2.5 0 0 1 17 5.5v9a2.5 2.5 0 0 1-2.5 2.5h-9A2.5 2.5 0 0 1 3 14.5v-9Zm1 5v4c0 .83.67 1.5 1.5 1.5h4v-5.5H4Zm5.5-1V4h-4C4.67 4 4 4.67 4 5.5v4h5.5Zm1 1V16h4c.83 0 1.5-.67 1.5-1.5v-4h-5.5Zm5.5-1v-4c0-.83-.67-1.5-1.5-1.5h-4v5.5H16Z"]),af=yc("TemperatureRegular","1em",["M10 6.5c.28 0 .5.22.5.5v5.06a2 2 0 1 1-1 0V7c0-.28.22-.5.5-.5ZM10 2a3 3 0 0 0-3 3v6.35A3.99 3.99 0 0 0 10 18a4 4 0 0 0 3-6.65V5a3 3 0 0 0-3-3Zm0 1a2 2 0 0 1 2 2v6.75l.14.15a3 3 0 1 1-4.29 0l.15-.15V5c0-1.1.9-2 2-2Z"]),nf=yc("ToolboxRegular","1em",["M6 4.5V6H4a2 2 0 0 0-2 2v7c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-2V4.5c0-.83-.67-1.5-1.5-1.5h-5C6.67 3 6 3.67 6 4.5ZM7.5 4h5c.28 0 .5.22.5.5V6H7V4.5c0-.28.22-.5.5-.5ZM4 7h12a1 1 0 0 1 1 1v2h-3v-.5a.5.5 0 0 0-1 0v.5H7v-.5a.5.5 0 0 0-1 0v.5H3V8a1 1 0 0 1 1-1Zm9 4v.5a.5.5 0 0 0 1 0V11h3v4a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-4h3v.5a.5.5 0 0 0 1 0V11h6Z"]),sf=yc("WarningFilled","1em",["M8.68 2.79a1.5 1.5 0 0 1 2.64 0l6.5 12A1.5 1.5 0 0 1 16.5 17h-13a1.5 1.5 0 0 1-1.32-2.21l6.5-12ZM10.5 7.5a.5.5 0 0 0-1 0v4a.5.5 0 0 0 1 0v-4Zm.25 6.25a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Z"]),lf=yc("WarningRegular","1em",["M9.56 3.26a.5.5 0 0 1 .88 0l6.5 12a.5.5 0 0 1-.44.74h-13a.5.5 0 0 1-.44-.74l6.5-12Zm1.76-.47a1.5 1.5 0 0 0-2.64 0l-6.5 12A1.5 1.5 0 0 0 3.5 17h13a1.5 1.5 0 0 0 1.32-2.21l-6.5-12ZM10.5 7.5a.5.5 0 0 0-1 0v4a.5.5 0 1 0 1 0v-4Zm.25 6.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"]),cf=yc("WeatherMoonRegular","1em",["M15.5 13.5A6.98 6.98 0 0 1 4 14.39c2.83-1.09 4.56-2.42 5.6-4.4 1.04-2 1.33-4.16.75-6.9A6.98 6.98 0 0 1 15.5 13.5ZM5.45 16.92A7.98 7.98 0 1 0 9.88 2.04a.6.6 0 0 0-.61.73c.69 2.82.43 4.88-.55 6.76-.94 1.78-2.55 3.03-5.55 4.1a.6.6 0 0 0-.3.9 7.95 7.95 0 0 0 2.59 2.39Z"]),df=yc("WeatherSunnyRegular","1em",["M10 2c.28 0 .5.22.5.5v1a.5.5 0 0 1-1 0v-1c0-.28.22-.5.5-.5Zm0 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Zm0-1a3 3 0 1 1 0-6 3 3 0 0 1 0 6Zm7.5-2.5a.5.5 0 0 0 0-1h-1a.5.5 0 0 0 0 1h1ZM10 16c.28 0 .5.22.5.5v1a.5.5 0 0 1-1 0v-1c0-.28.22-.5.5-.5Zm-6.5-5.5a.5.5 0 0 0 0-1H2.46a.5.5 0 0 0 0 1H3.5Zm.65-6.35c.2-.2.5-.2.7 0l1 1a.5.5 0 1 1-.7.7l-1-1a.5.5 0 0 1 0-.7Zm.7 11.7a.5.5 0 0 1-.7-.7l1-1a.5.5 0 0 1 .7.7l-1 1Zm11-11.7a.5.5 0 0 0-.7 0l-1 1a.5.5 0 0 0 .7.7l1-1a.5.5 0 0 0 0-.7Zm-.7 11.7a.5.5 0 0 0 .7-.7l-1-1a.5.5 0 0 0-.7.7l1 1Z"]),uf=yc("Wifi1Regular","1em",["M16.83 7.38c.41.41.8.88 1.14 1.37a.5.5 0 0 1-.83.57 8.61 8.61 0 0 0-14.2 0 .5.5 0 0 1-.82-.58 9.61 9.61 0 0 1 14.71-1.36ZM14.6 9.36c.47.47.88 1.04 1.19 1.65a.5.5 0 0 1-.89.46 5.45 5.45 0 0 0-9.73-.01.5.5 0 1 1-.89-.46A6.45 6.45 0 0 1 14.6 9.35Zm-1.71 2.5c.35.35.64.78.85 1.25a.5.5 0 0 1-.92.4 3.03 3.03 0 0 0-5.56-.01.5.5 0 1 1-.92-.4 4.03 4.03 0 0 1 6.54-1.24Zm-1.93 1.93a1.3 1.3 0 1 1-1.83 1.83 1.3 1.3 0 0 1 1.83-1.83Z"]),ff=yc("WindowMultipleRegular","1em",["M4.5 2A2.5 2.5 0 0 0 2 4.5v8A2.5 2.5 0 0 0 4.5 15h8a2.5 2.5 0 0 0 2.5-2.5v-8A2.5 2.5 0 0 0 12.5 2h-8ZM3 12.5V6h11v6.5c0 .83-.67 1.5-1.5 1.5h-8A1.5 1.5 0 0 1 3 12.5ZM3 5v-.5C3 3.67 3.67 3 4.5 3h8c.83 0 1.5.67 1.5 1.5V5H3Zm4.5 13a2.5 2.5 0 0 1-2.45-2h1.04c.2.58.76 1 1.41 1H14a3 3 0 0 0 3-3V7.5c0-.65-.42-1.2-1-1.41V5.05a2.5 2.5 0 0 1 2 2.45V14a4 4 0 0 1-4 4H7.5Z"]),pf=yc("WrenchRegular","1em",["M9 6.5a4.5 4.5 0 0 1 6.35-4.1.5.5 0 0 1 .15.8l-2.3 2.3 1.3 1.3 2.3-2.3a.5.5 0 0 1 .8.15A4.49 4.49 0 0 1 13.5 11a4.5 4.5 0 0 1-1.1-.14l-6.37 6.45a2.36 2.36 0 0 1-3.37-3.3l6.42-6.65A4.52 4.52 0 0 1 9 6.5ZM13.5 3a3.5 3.5 0 0 0-3.39 4.39.5.5 0 0 1-.12.47L3.38 14.7a1.36 1.36 0 0 0 1.94 1.9l6.57-6.66a.5.5 0 0 1 .51-.12 3.5 3.5 0 0 0 4.53-4.05l-2.08 2.07a.5.5 0 0 1-.7 0l-2-2a.5.5 0 0 1 0-.7l2.07-2.08A3.52 3.52 0 0 0 13.5 3Z"]),hf=yc("ZoomInRegular","1em",["M8.5 5.5c.28 0 .5.22.5.5v2h2a.5.5 0 0 1 0 1H9v2a.5.5 0 0 1-1 0V9H6a.5.5 0 0 1 0-1h2V6c0-.28.22-.5.5-.5Zm0-3.5a6.5 6.5 0 0 1 4.94 10.73l3.41 3.42a.5.5 0 0 1-.63.76l-.07-.06-3.42-3.41A6.5 6.5 0 1 1 8.5 2Zm0 1a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11Z"]),gf=yc("ZoomOutRegular","1em",["M11 8a.5.5 0 0 1 0 1H6a.5.5 0 0 1 0-1h5ZM8.5 2a6.5 6.5 0 0 1 4.94 10.73l3.41 3.42a.5.5 0 0 1-.63.76l-.07-.06-3.42-3.41A6.5 6.5 0 1 1 8.5 2Zm0 1a5.5 5.5 0 1 0 0 11 5.5 5.5 0 0 0 0-11Z"]),vf=yc("ArrowClockwise16Regular","16",["M3 8a5 5 0 0 1 9-3h-2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-1 0v1.53A5.99 5.99 0 0 0 2 8a6 6 0 0 0 11.98.54.5.5 0 0 0-1-.08A5 5 0 0 1 3 8Z"]),mf=yc("ArrowClockwise24Regular","24",["M12 4.5a7.5 7.5 0 1 0 7.42 6.4c-.07-.46.26-.9.72-.9.37 0 .7.26.76.62A9 9 0 1 1 18 5.3V4.25a.75.75 0 0 1 1.5 0v3c0 .41-.34.75-.75.75h-3a.75.75 0 0 1 0-1.5h1.35a7.47 7.47 0 0 0-5.1-2Z"]),bf=yc("ArrowExpand20Regular","20",["M3.5 3a.5.5 0 0 0-.5.5v4a.5.5 0 0 0 1 0V4.7l3.15 3.15a.5.5 0 1 0 .7-.7L4.71 4H7.5a.5.5 0 0 0 0-1h-4Zm0 14a.5.5 0 0 1-.5-.5v-4a.5.5 0 0 1 1 0v2.8l3.15-3.15a.5.5 0 0 1 .7.7L4.71 16H7.5a.5.5 0 0 1 0 1h-4ZM17 3.5a.5.5 0 0 0-.5-.5h-4a.5.5 0 0 0 0 1h2.8l-3.15 3.15a.5.5 0 0 0 .7.7L16 4.71V7.5a.5.5 0 0 0 1 0v-4ZM16.5 17a.5.5 0 0 0 .5-.5v-4a.5.5 0 0 0-1 0v2.8l-3.15-3.15a.5.5 0 0 0-.7.7L15.29 16H12.5a.5.5 0 0 0 0 1h4Z"]),xf=yc("ArrowSync20Regular","20",["M11.41 3.64a.5.5 0 0 0 0-.71L9.3.8a.5.5 0 0 0-.7.7l1 1a7.5 7.5 0 0 0-4.08 13.5.5.5 0 0 0 .6-.8A6.5 6.5 0 0 1 10.14 3.5L8.59 5.04a.5.5 0 0 0 .7.7l2.12-2.11ZM8.6 16.36a.5.5 0 0 0 0 .71l2.12 2.12a.5.5 0 0 0 .7-.7l-1-1a7.5 7.5 0 0 0 4.07-13.5.5.5 0 1 0-.59.8A6.5 6.5 0 0 1 9.86 16.5l1.55-1.55a.5.5 0 1 0-.7-.7l-2.12 2.11Z"],{flipInRtl:!0}),yf=yc("Checkmark12Filled","12",["M9.76 3.2c.3.29.32.76.04 1.06l-4.25 4.5a.75.75 0 0 1-1.08.02L2.22 6.53a.75.75 0 0 1 1.06-1.06l1.7 1.7L8.7 3.24a.75.75 0 0 1 1.06-.04Z"]),wf=yc("Checkmark16Filled","16",["M14.05 3.49c.28.3.27.77-.04 1.06l-7.93 7.47A.85.85 0 0 1 4.9 12L2.22 9.28a.75.75 0 1 1 1.06-1.06l2.24 2.27 7.47-7.04a.75.75 0 0 1 1.06.04Z"]),kf=yc("Checkmark20Regular","20",["M3.37 10.17a.5.5 0 0 0-.74.66l4 4.5c.19.22.52.23.72.02l10.5-10.5a.5.5 0 0 0-.7-.7L7.02 14.27l-3.65-4.1Z"]),Bf=yc("CheckmarkCircle12Filled","12",["M1 6a5 5 0 1 1 10 0A5 5 0 0 1 1 6Zm7.35-.9a.5.5 0 1 0-.7-.7L5.5 6.54 4.35 5.4a.5.5 0 1 0-.7.7l1.5 1.5c.2.2.5.2.7 0l2.5-2.5Z"]),Sf=yc("CheckmarkCircle20Filled","20",["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm3.36 5.65a.5.5 0 0 0-.64-.06l-.07.06L9 11.3 7.35 9.65l-.07-.06a.5.5 0 0 0-.7.7l.07.07 2 2 .07.06c.17.11.4.11.56 0l.07-.06 4-4 .07-.08a.5.5 0 0 0-.06-.63Z"]),_f=yc("CheckmarkCircle24Regular","24",["M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20Zm0 1.5a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17Zm-1.25 9.94 4.47-4.47a.75.75 0 0 1 1.13.98l-.07.08-5 5a.75.75 0 0 1-.98.07l-.08-.07-2.5-2.5a.75.75 0 0 1 .98-1.13l.08.07 1.97 1.97 4.47-4.47-4.47 4.47Z"]),Nf=yc("ChevronDoubleDown20Regular","20",["M15.85 8.65c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 9.35a.5.5 0 1 1 .7-.7L10 13.8l5.15-5.16c.2-.2.5-.2.7 0Zm0-4c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 5.35a.5.5 0 1 1 .7-.7L10 9.8l5.15-5.16c.2-.2.5-.2.7 0Z"]),zf=yc("ChevronDoubleUp20Regular","20",["M4.15 9.65a.5.5 0 0 0 .7.7L10 5.2l5.15 5.16a.5.5 0 1 0 .7-.7L10.4 4.16a.55.55 0 0 0-.78 0L4.15 9.65Zm0 5a.5.5 0 0 0 .7.7L10 10.2l5.15 5.16a.5.5 0 1 0 .7-.7L10.4 9.16a.55.55 0 0 0-.78 0l-5.46 5.49Z"]),jf=yc("ChevronDown16Regular","16",["M3.15 5.65c.2-.2.5-.2.7 0L8 9.79l4.15-4.14a.5.5 0 0 1 .7.7l-4.5 4.5a.5.5 0 0 1-.7 0l-4.5-4.5a.5.5 0 0 1 0-.7Z"]),Tf=yc("ChevronRight12Regular","12",["M4.65 2.15a.5.5 0 0 0 0 .7L7.79 6 4.65 9.15a.5.5 0 1 0 .7.7l3.5-3.5a.5.5 0 0 0 0-.7l-3.5-3.5a.5.5 0 0 0-.7 0Z"]),Cf=yc("ChevronUp16Regular","16",["M3.15 10.35c.2.2.5.2.7 0L8 6.21l4.15 4.14a.5.5 0 0 0 .7-.7l-4.5-4.5a.5.5 0 0 0-.7 0l-4.5 4.5a.5.5 0 0 0 0 .7Z"]),Df=yc("Clock20Regular","20",["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm0 1a7 7 0 1 0 0 14 7 7 0 0 0 0-14Zm-.5 2a.5.5 0 0 1 .5.41V10h2.5a.5.5 0 0 1 .09 1H9.5a.5.5 0 0 1-.5-.41V5.5c0-.28.22-.5.5-.5Z"]),Pf=yc("Copy20Regular","20",["M8 2a2 2 0 0 0-2 2v10c0 1.1.9 2 2 2h6a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8ZM7 4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V4ZM4 6a2 2 0 0 1 1-1.73V14.5A2.5 2.5 0 0 0 7.5 17h6.23A2 2 0 0 1 12 18H7.5A3.5 3.5 0 0 1 4 14.5V6Z"]),Ef=yc("Delete20Regular","20",["M8.5 4h3a1.5 1.5 0 0 0-3 0Zm-1 0a2.5 2.5 0 0 1 5 0h5a.5.5 0 0 1 0 1h-1.05l-1.2 10.34A3 3 0 0 1 12.27 18H7.73a3 3 0 0 1-2.98-2.66L3.55 5H2.5a.5.5 0 0 1 0-1h5ZM5.74 15.23A2 2 0 0 0 7.73 17h4.54a2 2 0 0 0 1.99-1.77L15.44 5H4.56l1.18 10.23ZM8.5 7.5c.28 0 .5.22.5.5v6a.5.5 0 0 1-1 0V8c0-.28.22-.5.5-.5ZM12 8a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V8Z"]),Af=yc("Desktop20Regular","20",["M4 2a2 2 0 0 0-2 2v9c0 1.1.9 2 2 2h3v2H5.5a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1H13v-2h3a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H4Zm8 13v2H8v-2h4ZM3 4a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4Z"]),Ff=yc("Dismiss20Regular","20",["m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"]),Rf=yc("Dismiss24Regular","24",["m4.4 4.55.07-.08a.75.75 0 0 1 .98-.07l.08.07L12 10.94l6.47-6.47a.75.75 0 1 1 1.06 1.06L13.06 12l6.47 6.47c.27.27.3.68.07.98l-.07.08a.75.75 0 0 1-.98.07l-.08-.07L12 13.06l-6.47 6.47a.75.75 0 0 1-1.06-1.06L10.94 12 4.47 5.53a.75.75 0 0 1-.07-.98l.07-.08-.07.08Z"]),If=yc("Edit20Regular","20",["M17.18 2.93a2.97 2.97 0 0 0-4.26-.06l-9.37 9.38c-.33.33-.56.74-.66 1.2l-.88 3.94a.5.5 0 0 0 .6.6l3.93-.87c.46-.1.9-.34 1.23-.68l9.36-9.36a2.97 2.97 0 0 0 .05-4.15Zm-3.55.65a1.97 1.97 0 1 1 2.8 2.8l-.68.66-2.8-2.79.68-.67Zm-1.38 1.38 2.8 2.8-7.99 7.97c-.2.2-.46.35-.74.41l-3.16.7.7-3.18c.07-.27.2-.51.4-.7l8-8Z"]),Mf=yc("ErrorCircle12Filled","12",["M6 11A5 5 0 1 0 6 1a5 5 0 0 0 0 10Zm-.75-2.75a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0Zm.26-4.84a.5.5 0 0 1 .98 0l.01.09v2.59a.5.5 0 0 1-1 0V3.41Z"]),Lf=yc("ErrorCircle20Filled","20",["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm0 10.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5ZM10 6a.5.5 0 0 0-.5.41v4.68a.5.5 0 0 0 1 0V6.41A.5.5 0 0 0 10 6Z"]),Of=yc("Filter20Regular","20",["M7.5 13h5a.5.5 0 0 1 .09 1H7.5a.5.5 0 0 1-.09-1h5.09-5Zm-2-4h9a.5.5 0 0 1 .09 1H5.5a.5.5 0 0 1-.09-1h9.09-9Zm-2-4h13a.5.5 0 0 1 .09 1H3.5a.5.5 0 0 1-.09-1H16.5h-13Z"]),qf=yc("Info16Regular","16",["M8.5 7.5a.5.5 0 1 0-1 0v3a.5.5 0 0 0 1 0v-3Zm.25-2a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1ZM2 8a6 6 0 1 1 12 0A6 6 0 0 1 2 8Z"]),Hf=yc("Open20Regular","20",["M6 4a2 2 0 0 0-2 2v8c0 1.1.9 2 2 2h8a2 2 0 0 0 2-2v-2.5a.5.5 0 0 1 1 0V14a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h2.5a.5.5 0 0 1 0 1H6Zm5-.5c0-.28.22-.5.5-.5h5c.28 0 .5.22.5.5v5a.5.5 0 0 1-1 0V4.7l-4.15 4.15a.5.5 0 0 1-.7-.7L15.29 4H11.5a.5.5 0 0 1-.5-.5Z"]),Vf=yc("PresenceAvailable10Filled","10",["M5 10A5 5 0 1 0 5 0a5 5 0 0 0 0 10Zm2.1-5.9L4.85 6.35a.5.5 0 0 1-.7 0l-1-1a.5.5 0 0 1 .7-.7l.65.64 1.9-1.9a.5.5 0 0 1 .7.71Z"]),Zf=yc("PresenceAvailable10Regular","10",["M5 0a5 5 0 1 0 0 10A5 5 0 0 0 5 0ZM1 5a4 4 0 1 1 8 0 4 4 0 0 1-8 0Zm6.1-1.6c.2.2.2.5 0 .7L4.85 6.35a.5.5 0 0 1-.7 0l-1-1a.5.5 0 1 1 .7-.7l.65.64 1.9-1.9c.2-.19.5-.19.7 0Z"]),$f=yc("PresenceAvailable12Filled","12",["M6 12A6 6 0 1 0 6 0a6 6 0 0 0 0 12Zm2.53-6.72L5.78 8.03c-.3.3-.77.3-1.06 0l-1-1a.75.75 0 0 1 1.06-1.06l.47.47 2.22-2.22a.75.75 0 0 1 1.06 1.06Z"]),Wf=yc("PresenceAvailable12Regular","12",["M6 0a6 6 0 1 0 0 12A6 6 0 0 0 6 0ZM1.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0Zm7.03-1.78c.3.3.3.77 0 1.06L5.78 8.03c-.3.3-.77.3-1.06 0l-1-1a.75.75 0 0 1 1.06-1.06l.47.47 2.22-2.22c.3-.3.77-.3 1.06 0Z"]),Uf=yc("PresenceAvailable16Filled","16",["M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16Zm3.7-9.3-4 4a1 1 0 0 1-1.41 0l-2-2a1 1 0 1 1 1.42-1.4L7 8.58l3.3-3.3a1 1 0 0 1 1.4 1.42Z"]),Gf=yc("PresenceAvailable16Regular","16",["M11.7 6.7a1 1 0 0 0-1.4-1.4L7 8.58l-1.3-1.3a1 1 0 0 0-1.4 1.42l2 2a1 1 0 0 0 1.4 0l4-4ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6a6 6 0 1 0 0 12A6 6 0 0 0 8 2Z"]),Xf=yc("PresenceAvailable20Filled","20",["M10 20a10 10 0 1 0 0-20 10 10 0 0 0 0 20Zm4.2-11.8-4.5 4.5a1 1 0 0 1-1.4 0l-2-2a1 1 0 1 1 1.4-1.4L9 10.58l3.8-3.8a1 1 0 1 1 1.4 1.42Z"]),Kf=yc("PresenceAvailable20Regular","20",["M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20ZM2 10a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm12.2-3.2a1 1 0 0 1 0 1.4l-4.5 4.5a1 1 0 0 1-1.4 0l-2-2a1 1 0 0 1 1.4-1.4L9 10.58l3.8-3.8a1 1 0 0 1 1.4 0Z"]),Jf=yc("PresenceAway10Filled","10",["M5 10A5 5 0 1 0 5 0a5 5 0 0 0 0 10Zm0-7v1.8l1.35 1.35a.5.5 0 1 1-.7.7l-1.5-1.5A.5.5 0 0 1 4 5V3a.5.5 0 0 1 1 0Z"]),Yf=yc("PresenceAway12Filled","12",["M6 12A6 6 0 1 0 6 0a6 6 0 0 0 0 12Zm.5-8.75v2.4l1.49 1.28A.75.75 0 1 1 7 8.07l-1.75-1.5A.75.75 0 0 1 5 6V3.25a.75.75 0 0 1 1.5 0Z"]),Qf=yc("PresenceAway16Filled","16",["M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16Zm.5-11.5v3.02l2.12 1.7a1 1 0 1 1-1.24 1.56l-2.5-2A1 1 0 0 1 6.5 8V4.5a1 1 0 0 1 2 0Z"]),ep=yc("PresenceAway20Filled","20",["M10 20a10 10 0 1 0 0-20 10 10 0 0 0 0 20Zm0-14V9.6l2.7 2.7a1 1 0 0 1-1.4 1.42l-3-3A1 1 0 0 1 8 10V6a1 1 0 1 1 2 0Z"]),tp=yc("PresenceBlocked10Regular","10",["M10 5A5 5 0 1 0 0 5a5 5 0 0 0 10 0ZM9 5a4 4 0 0 1-6.45 3.16l5.61-5.61C8.69 3.22 9 4.08 9 5ZM7.45 1.84 1.84 7.45a4 4 0 0 1 5.61-5.61Z"]),rp=yc("PresenceBlocked12Regular","12",["M12 6A6 6 0 1 1 0 6a6 6 0 0 1 12 0Zm-1.5 0c0-.97-.3-1.87-.83-2.6L3.39 9.66A4.5 4.5 0 0 0 10.5 6ZM8.6 2.33a4.5 4.5 0 0 0-6.28 6.28l6.29-6.28Z"]),op=yc("PresenceBlocked16Regular","16",["M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0Zm-2 0c0-1.3-.41-2.5-1.1-3.48L4.51 12.9A6 6 0 0 0 14 8Zm-2.52-4.9a6 6 0 0 0-8.37 8.37l8.37-8.36Z"]),ap=yc("PresenceBlocked20Regular","20",["M20 10a10 10 0 1 0-20 0 10 10 0 0 0 20 0Zm-2 0a8 8 0 0 1-12.9 6.32L16.31 5.09A7.97 7.97 0 0 1 18 10Zm-3.1-6.32L3.69 14.91A8 8 0 0 1 14.91 3.68Z"]),np=yc("PresenceBusy10Filled","10",["M10 5A5 5 0 1 1 0 5a5 5 0 0 1 10 0Z"]),ip=yc("PresenceBusy12Filled","12",["M12 6A6 6 0 1 1 0 6a6 6 0 0 1 12 0Z"]),sp=yc("PresenceBusy16Filled","16",["M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0Z"]),lp=yc("PresenceBusy20Filled","20",["M20 10a10 10 0 1 1-20 0 10 10 0 0 1 20 0Z"]),cp=yc("PresenceDnd10Filled","10",["M5 10A5 5 0 1 0 5 0a5 5 0 0 0 0 10ZM3.5 4.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1 0-1Z"]),dp=yc("PresenceDnd10Regular","10",["M5 0a5 5 0 1 0 0 10A5 5 0 0 0 5 0ZM1 5a4 4 0 1 1 8 0 4 4 0 0 1-8 0Zm2 0c0-.28.22-.5.5-.5h3a.5.5 0 0 1 0 1h-3A.5.5 0 0 1 3 5Z"]),up=yc("PresenceDnd12Filled","12",["M6 12A6 6 0 1 0 6 0a6 6 0 0 0 0 12ZM3.75 5.25h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5Z"]),fp=yc("PresenceDnd12Regular","12",["M6 0a6 6 0 1 0 0 12A6 6 0 0 0 6 0ZM1.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0ZM3 6c0-.41.34-.75.75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5A.75.75 0 0 1 3 6Z"]),pp=yc("PresenceDnd16Filled","16",["M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16ZM5.25 7h5.5a1 1 0 1 1 0 2h-5.5a1 1 0 1 1 0-2Z"]),hp=yc("PresenceDnd16Regular","16",["M5.25 7a1 1 0 0 0 0 2h5.5a1 1 0 1 0 0-2h-5.5ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6a6 6 0 1 0 0 12A6 6 0 0 0 8 2Z"]),gp=yc("PresenceDnd20Filled","20",["M10 20a10 10 0 1 0 0-20 10 10 0 0 0 0 20ZM7 9h6a1 1 0 1 1 0 2H7a1 1 0 1 1 0-2Z"]),vp=yc("PresenceDnd20Regular","20",["M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20ZM2 10a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm4 0a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1Z"]),mp=yc("PresenceOffline10Regular","10",["M6.85 3.15c.2.2.2.5 0 .7L5.71 5l1.14 1.15a.5.5 0 1 1-.7.7L5 5.71 3.85 6.85a.5.5 0 1 1-.7-.7L4.29 5 3.15 3.85a.5.5 0 1 1 .7-.7L5 4.29l1.15-1.14c.2-.2.5-.2.7 0ZM0 5a5 5 0 1 1 10 0A5 5 0 0 1 0 5Zm5-4a4 4 0 1 0 0 8 4 4 0 0 0 0-8Z"]),bp=yc("PresenceOffline12Regular","12",["M8.03 3.97c.3.3.3.77 0 1.06L7.06 6l.97.97a.75.75 0 0 1-1.06 1.06L6 7.06l-.97.97a.75.75 0 0 1-1.06-1.06L4.94 6l-.97-.97a.75.75 0 0 1 1.06-1.06l.97.97.97-.97c.3-.3.77-.3 1.06 0ZM0 6a6 6 0 1 1 12 0A6 6 0 0 1 0 6Zm6-4.5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9Z"]),xp=yc("PresenceOffline16Regular","16",["M10.7 5.3a1 1 0 0 1 0 1.4L9.42 8l1.3 1.3a1 1 0 0 1-1.42 1.4L8 9.42l-1.3 1.3a1 1 0 0 1-1.4-1.42L6.58 8l-1.3-1.3a1 1 0 0 1 1.42-1.4L8 6.58l1.3-1.3a1 1 0 0 1 1.4 0ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6a6 6 0 1 0 0 12A6 6 0 0 0 8 2Z"]),yp=yc("PresenceOffline20Regular","20",["M13.7 6.3a1 1 0 0 1 0 1.4L11.42 10l2.3 2.3a1 1 0 0 1-1.42 1.4L10 11.42l-2.3 2.3a1 1 0 0 1-1.4-1.42L8.58 10l-2.3-2.3a1 1 0 0 1 1.42-1.4L10 8.58l2.3-2.3a1 1 0 0 1 1.4 0ZM0 10a10 10 0 1 1 20 0 10 10 0 0 1-20 0Zm10-8a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]),wp=yc("PresenceOof10Regular","10",["M5.35 3.85a.5.5 0 1 0-.7-.7l-1.5 1.5a.5.5 0 0 0 0 .7l1.5 1.5a.5.5 0 1 0 .7-.7L4.7 5.5h1.8a.5.5 0 1 0 0-1H4.7l.65-.65ZM5 0a5 5 0 1 0 0 10A5 5 0 0 0 5 0ZM1 5a4 4 0 1 1 8 0 4 4 0 0 1-8 0Z"]),kp=yc("PresenceOof12Regular","12",["M6.28 4.53a.75.75 0 0 0-1.06-1.06l-2 2c-.3.3-.3.77 0 1.06l2 2a.75.75 0 0 0 1.06-1.06l-.72-.72h2.69a.75.75 0 1 0 0-1.5h-2.7l.73-.72ZM6 0a6 6 0 1 0 0 12A6 6 0 0 0 6 0ZM1.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0Z"]),Bp=yc("PresenceOof16Regular","16",["M8.2 6.2a1 1 0 1 0-1.4-1.4L4.3 7.3a1 1 0 0 0 0 1.4l2.5 2.5a1 1 0 0 0 1.4-1.4L7.42 9H11a1 1 0 1 0 0-2H7.41l.8-.8ZM8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0ZM2 8a6 6 0 1 1 12 0A6 6 0 0 1 2 8Z"]),Sp=yc("PresenceOof20Regular","20",["M10.7 7.7A1 1 0 1 0 9.28 6.3l-3 3a1 1 0 0 0 0 1.41l3 3a1 1 0 1 0 1.42-1.41l-1.3-1.3H13a1 1 0 1 0 0-2H9.4l1.3-1.29ZM10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20ZM2 10a8 8 0 1 1 16 0 8 8 0 0 1-16 0Z"]),_p=yc("PresenceUnknown10Regular","10",["M5 1a4 4 0 1 0 0 8 4 4 0 0 0 0-8ZM0 5a5 5 0 1 1 10 0A5 5 0 0 1 0 5Z"]),Np=yc("PresenceUnknown12Regular","12",["M6 1.5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9ZM0 6a6 6 0 1 1 12 0A6 6 0 0 1 0 6Z"]),zp=yc("PresenceUnknown16Regular","16",["M8 2a6 6 0 1 0 0 12A6 6 0 0 0 8 2ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Z"]),jp=yc("PresenceUnknown20Regular","20",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16ZM0 10a10 10 0 1 1 20 0 10 10 0 0 1-20 0Z"]),Tp=yc("QuestionCircle20Regular","20",["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm0 1a7 7 0 1 0 0 14 7 7 0 0 0 0-14Zm0 10.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5Zm0-8a2.5 2.5 0 0 1 1.65 4.38l-.15.12-.22.17-.09.07-.16.15c-.33.36-.53.85-.53 1.61a.5.5 0 0 1-1 0 3.2 3.2 0 0 1 1.16-2.62l.25-.19.12-.1A1.5 1.5 0 0 0 10 6.5c-.83 0-1.5.67-1.5 1.5a.5.5 0 0 1-1 0A2.5 2.5 0 0 1 10 5.5Z"]),Cp=yc("Save24Regular","24",["M3 5.75A2.75 2.75 0 0 1 5.75 3h9.96c.87 0 1.7.34 2.3.95L20.05 6c.6.6.95 1.43.95 2.3v9.96A2.75 2.75 0 0 1 18.25 21H5.75A2.75 2.75 0 0 1 3 18.25V5.75ZM5.75 4.5c-.69 0-1.25.56-1.25 1.25v12.5c0 .69.56 1.25 1.25 1.25H6v-5.25C6 13.01 7 12 8.25 12h7.5c1.24 0 2.25 1 2.25 2.25v5.25h.25c.69 0 1.25-.56 1.25-1.25V8.29c0-.47-.18-.91-.51-1.24L16.95 5c-.26-.26-.6-.43-.95-.49v2.73c0 1.24-1 2.25-2.25 2.25h-4.5C8.01 9.5 7 8.5 7 7.25V4.5H5.75Zm10.75 15v-5.25a.75.75 0 0 0-.75-.75h-7.5a.75.75 0 0 0-.75.75v5.25h9Zm-8-15v2.75c0 .41.34.75.75.75h4.5c.41 0 .75-.34.75-.75V4.5h-6Z"]),Dp=yc("Settings20Regular","20",["M1.91 7.38A8.5 8.5 0 0 1 3.7 4.3a.5.5 0 0 1 .54-.13l1.92.68a1 1 0 0 0 1.32-.76l.36-2a.5.5 0 0 1 .4-.4 8.53 8.53 0 0 1 3.55 0c.2.04.35.2.38.4l.37 2a1 1 0 0 0 1.32.76l1.92-.68a.5.5 0 0 1 .54.13 8.5 8.5 0 0 1 1.78 3.08c.06.2 0 .4-.15.54l-1.56 1.32a1 1 0 0 0 0 1.52l1.56 1.32a.5.5 0 0 1 .15.54 8.5 8.5 0 0 1-1.78 3.08.5.5 0 0 1-.54.13l-1.92-.68a1 1 0 0 0-1.32.76l-.37 2a.5.5 0 0 1-.38.4 8.53 8.53 0 0 1-3.56 0 .5.5 0 0 1-.39-.4l-.36-2a1 1 0 0 0-1.32-.76l-1.92.68a.5.5 0 0 1-.54-.13 8.5 8.5 0 0 1-1.78-3.08.5.5 0 0 1 .15-.54l1.56-1.32a1 1 0 0 0 0-1.52L2.06 7.92a.5.5 0 0 1-.15-.54Zm1.06 0 1.3 1.1a2 2 0 0 1 0 3.04l-1.3 1.1c.3.79.72 1.51 1.25 2.16l1.6-.58a2 2 0 0 1 2.63 1.53l.3 1.67a7.56 7.56 0 0 0 2.5 0l.3-1.67a2 2 0 0 1 2.64-1.53l1.6.58a7.5 7.5 0 0 0 1.24-2.16l-1.3-1.1a2 2 0 0 1 0-3.04l1.3-1.1a7.5 7.5 0 0 0-1.25-2.16l-1.6.58a2 2 0 0 1-2.63-1.53l-.3-1.67a7.55 7.55 0 0 0-2.5 0l-.3 1.67A2 2 0 0 1 5.81 5.8l-1.6-.58a7.5 7.5 0 0 0-1.24 2.16ZM7.5 10a2.5 2.5 0 1 1 5 0 2.5 2.5 0 0 1-5 0Zm1 0a1.5 1.5 0 1 0 3 0 1.5 1.5 0 0 0-3 0Z"]),Pp=yc("Square12Filled","12",["M2 4c0-1.1.9-2 2-2h4a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4Z"]),Ep=yc("Square16Filled","16",["M2 4.5A2.5 2.5 0 0 1 4.5 2h7A2.5 2.5 0 0 1 14 4.5v7a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 11.5v-7Z"]),Ap=yc("Warning12Filled","12",["M5.21 1.46a.9.9 0 0 1 1.58 0l4.09 7.17a.92.92 0 0 1-.79 1.37H1.91a.92.92 0 0 1-.79-1.37l4.1-7.17ZM5.5 4.5v1a.5.5 0 0 0 1 0v-1a.5.5 0 0 0-1 0ZM6 6.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"]),Fp=yc("WifiSettings20Regular","20",["M17.96 8.18a9.61 9.61 0 0 0-15.85 0 .5.5 0 0 0 .83.56 8.61 8.61 0 0 1 14.2 0 .5.5 0 1 0 .82-.56Zm-10.78 3.1a4.03 4.03 0 0 1 3.85-1.05c-.32.26-.6.55-.86.88a3.02 3.02 0 0 0-2.91 1.82.5.5 0 1 1-.92-.4c.2-.47.49-.9.84-1.24Zm7.42-2.5.2.23a5.59 5.59 0 0 0-1.35.09 5.45 5.45 0 0 0-8.28 1.79.5.5 0 0 1-.89-.46A6.45 6.45 0 0 1 14.6 8.78Zm-2.53 2.66a2 2 0 0 1-1.43 2.48l-.46.12a4.7 4.7 0 0 0 0 1.01l.35.09A2 2 0 0 1 12 17.66l-.13.42c.26.2.54.38.84.52l.32-.35a2 2 0 0 1 2.91 0l.34.36c.3-.13.57-.3.82-.5l-.15-.55a2 2 0 0 1 1.43-2.48l.46-.12a4.7 4.7 0 0 0-.01-1.01l-.35-.09A2 2 0 0 1 17 11.34l.13-.42c-.26-.2-.54-.38-.84-.52l-.32.35a2 2 0 0 1-2.91 0l-.34-.36c-.29.13-.57.3-.82.5l.16.55Zm2.43 4.06a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"]),Rp="fui-Icon-filled",Ip="fui-Icon-regular",Mp=xr({root:{mc9l5x:"fjseox"},visible:{mc9l5x:"f1w7gpdv"}},{d:[".fjseox{display:none;}",".f1w7gpdv{display:inline;}"]});var Lp=(e,t)=>{const r=r=>{const{className:o,filled:a,...n}=r,i=Mp();return s.exports.createElement(s.exports.Fragment,null,s.exports.createElement(e,Object.assign({},n,{className:rt(i.root,a&&i.visible,"fui-Icon-filled",o)})),s.exports.createElement(t,Object.assign({},n,{className:rt(i.root,!a&&i.visible,"fui-Icon-regular",o)})))};return r.displayName="CompoundIcon",r};const Op={durationUltraFast:50,durationFaster:100,durationFast:150,durationNormal:200,durationGentle:250,durationSlow:300,durationSlower:400,durationUltraSlow:500},qp={curveAccelerateMax:"cubic-bezier(0.9,0.1,1,0.2)",curveAccelerateMid:"cubic-bezier(1,0,1,1)",curveAccelerateMin:"cubic-bezier(0.8,0,0.78,1)",curveDecelerateMax:"cubic-bezier(0.1,0.9,0.2,1)",curveDecelerateMid:"cubic-bezier(0,0,0,1)",curveDecelerateMin:"cubic-bezier(0.33,0,0.1,1)",curveEasyEaseMax:"cubic-bezier(0.8,0,0.2,1)",curveEasyEase:"cubic-bezier(0.33,0,0.67,1)",curveLinear:"cubic-bezier(0,0,1,1)"},Hp={...Op,...qp};const Vp={fill:"forwards"},Zp={duration:1};function $p(){var e;const t="undefined"!=typeof window&&"function"==typeof(null===(e=window.Animation)||void 0===e?void 0:e.prototype.persist);return s.exports.useCallback(((e,r,o)=>{const a=Array.isArray(r)?r:[r],{isReducedMotion:n}=o,i=a.map((r=>{const{keyframes:o,reducedMotion:a=Zp,...i}=r,{keyframes:s=o,...l}=a,c=n?s:o,d={...Vp,...i,...n&&l};try{const r=e.animate(c,d);if(t)null==r||r.persist();else{const t=c[c.length-1];var u;Object.assign(null!==(u=e.style)&&void 0!==u?u:{},t)}return r}catch($P){return null}})).filter((e=>!!e));return{set playbackRate(e){i.forEach((t=>{t.playbackRate=e}))},setMotionEndCallbacks(e,t){const r=i.map((e=>new Promise(((t,r)=>{e.onfinish=()=>t(),e.oncancel=()=>r()}))));Promise.all(r).then((()=>{e()})).catch((()=>{t()}))},isRunning:()=>i.some((e=>function(e){if("running"===e.playState){var t,r;if(void 0!==e.overallProgress){var o;const t=null!==(o=e.overallProgress)&&void 0!==o?o:0;return t>0&&t<1}const n=Number(null!==(r=e.currentTime)&&void 0!==r?r:0);var a;const i=Number(null!==(a=null===(t=e.effect)||void 0===t?void 0:t.getTiming().duration)&&void 0!==a?a:0);return n>0&&n<i}return!1}(e))),cancel:()=>{i.forEach((e=>{e.cancel()}))},pause:()=>{i.forEach((e=>{e.pause()}))},play:()=>{i.forEach((e=>{e.play()}))},finish:()=>{i.forEach((e=>{e.finish()}))},reverse:()=>{i.forEach((e=>{e.reverse()}))}}}),[t])}function Wp(){return $p()}function Up(e){const t=s.exports.useRef(void 0);return s.exports.useImperativeHandle(e,(()=>({setPlayState:e=>{var r,o;"running"===e&&(null===(r=t.current)||void 0===r||r.play());"paused"===e&&(null===(o=t.current)||void 0===o||o.pause())},setPlaybackRate:e=>{t.current&&(t.current.playbackRate=e)}}))),t}function Gp(){const{targetDocument:e}=ao();var t;const r=null!==(t=null==e?void 0:e.defaultView)&&void 0!==t?t:null,o=s.exports.useRef(!1),a=s.exports.useCallback((()=>o.current),[]);return zo((()=>{if(null===r||"function"!=typeof r.matchMedia)return;const e=r.matchMedia("screen and (prefers-reduced-motion: reduce)");e.matches&&(o.current=!0);const t=e=>{o.current=e.matches};return e.addEventListener("change",t),()=>{e.removeEventListener("change",t)}}),[r]),a}const Xp=["@fluentui/react-motion: Invalid child element.","\n","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 Kp(e,t=!0){const r=s.exports.useRef(null);s.exports.useEffect((()=>{}),[t]);try{const t=s.exports.Children.only(e);if(s.exports.isValidElement(t))return[s.exports.cloneElement(t,{ref:Eo(r,Vo(t))}),r]}catch{}throw new Error(Xp)}const Jp=s.exports.createContext(void 0);Jp.Provider;const Yp=()=>{var e;return null!==(e=s.exports.useContext(Jp))&&void 0!==e?e:"default"},Qp=Symbol("MOTION_DEFINITION");function eh(e){return Object.assign((t=>{const{children:r,imperativeRef:o,onMotionFinish:a,onMotionStart:n,onMotionCancel:i,...l}=t,c=l,[d,u]=Kp(r),f=Up(o),p="skip"===Yp(),h=s.exports.useRef({skipMotions:p,params:c}),g=Wp(),v=Gp(),m=jo((()=>{null==n||n(null)})),b=jo((()=>{null==a||a(null)})),x=jo((()=>{null==i||i(null)}));return zo((()=>{h.current={skipMotions:p,params:c}})),zo((()=>{const t=u.current;if(t){const r="function"==typeof e?e({element:t,...h.current.params}):e;m();const o=g(t,r,{isReducedMotion:v()});return f.current=o,o.setMotionEndCallbacks(b,x),h.current.skipMotions&&o.finish(),()=>{o.cancel()}}}),[g,u,f,v,b,m,x]),d}),{[Qp]:"function"==typeof e?e:()=>e})}const th=s.exports.createContext(void 0);th.Provider;const rh=Symbol("PRESENCE_MOTION_DEFINITION"),oh=Symbol.for("interruptablePresence");function ah(e){return Object.assign((t=>{const r={...s.exports.useContext(th),...t},o="skip"===Yp(),{appear:a,children:n,imperativeRef:i,onExit:l,onMotionFinish:c,onMotionStart:d,onMotionCancel:u,visible:f,unmountOnExit:p,...h}=r,g=h,[v,m]=function(e=!1,t=!1){const r=s.exports.useRef(!t||e),o=Co(),a=s.exports.useCallback((e=>{r.current!==e&&(r.current=e,o())}),[o]);return s.exports.useEffect((()=>{e&&(r.current=e)})),[e||r.current,a]}(f,p),[b,x]=Kp(n,v),y=Up(i),w=s.exports.useRef({appear:a,params:g,skipMotions:o}),k=Wp(),B=To(),S=Gp(),_=jo((e=>{null==d||d(null,{direction:e})})),N=jo((e=>{null==c||c(null,{direction:e}),"exit"===e&&p&&(m(!1),null==l||l())})),z=jo((e=>{null==u||u(null,{direction:e})}));return zo((()=>{w.current={appear:a,params:g,skipMotions:o}})),zo((()=>{const t=x.current;if(!t)return;let r;function o(){r&&(n&&r.isRunning()||(r.cancel(),y.current=void 0))}const a="function"==typeof e?e({element:t,...w.current.params}):e,n=a[oh];if(n&&(r=y.current,r&&r.isRunning()))return r.reverse(),o;const i=f?a.enter:a.exit,s=f?"enter":"exit",l=!w.current.appear&&B,c=w.current.skipMotions;return l||_(s),r=k(t,i,{isReducedMotion:S()}),l?(r.finish(),o):(y.current=r,r.setMotionEndCallbacks((()=>N(s)),(()=>z(s))),c&&r.finish(),o)}),[k,x,y,S,N,_,z,f]),v?b:null}),{[rh]:"function"==typeof e?e:()=>e},{In:eh("function"==typeof e?(...t)=>e(...t).enter:e.enter),Out:eh("function"==typeof e?(...t)=>e(...t).exit:e.exit)})}function nh(e,t){const r=function(e,t){return r=>e({...t,...r})}(e[rh],t);return ah(r)}function ih(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sh(e,t){const{as:r,children:o,...a}=null!=e?e:{};if(null===e){const e=!t.defaultProps.visible&&t.defaultProps.unmountOnExit;return{[wr]:(t,r)=>e?null:s.exports.createElement(s.exports.Fragment,null,r.children),[kr]:t.elementType}}const n={...t.defaultProps,...a,[kr]:t.elementType};return"function"==typeof o&&(n[wr]=o),n}const lh=(e,t)=>({sizeName:"horizontal"===e?"maxWidth":"maxHeight",overflowName:"horizontal"===e?"overflowX":"overflowY",toSize:`${"horizontal"===e?t.scrollWidth:t.scrollHeight}px`}),ch=({orientation:e,duration:t,easing:r,element:o,fromSize:a="0",delay:n=0})=>{const{sizeName:i,overflowName:s,toSize:l}=lh(e,o);return{keyframes:[{[i]:a,[s]:"hidden"},{[i]:l,offset:.9999,[s]:"hidden"},{[i]:"unset",[s]:"unset"}],duration:t,easing:r,delay:n,fill:"both"}},dh=({direction:e,orientation:t,duration:r,easing:o,delay:a=0})=>{const{paddingStart:n,paddingEnd:i,marginStart:s,marginEnd:l}=(e=>"horizontal"===e?{paddingStart:"paddingInlineStart",paddingEnd:"paddingInlineEnd",marginStart:"marginInlineStart",marginEnd:"marginInlineEnd"}:{paddingStart:"paddingBlockStart",paddingEnd:"paddingBlockEnd",marginStart:"marginBlockStart",marginEnd:"marginBlockEnd"})(t);return{keyframes:[{[n]:"0",[i]:"0",[s]:"0",[l]:"0",offset:"enter"===e?0:1}],duration:r,easing:o,delay:a,fill:"both"}},uh=({direction:e,duration:t,easing:r=Hp.curveLinear,delay:o=0,fromOpacity:a=0,toOpacity:n=1})=>{const i=[{opacity:a},{opacity:n}];return"exit"===e&&i.reverse(),{keyframes:i,duration:t,easing:r,delay:o,fill:"both"}},fh=ah((({element:e,duration:t=Hp.durationNormal,exitDuration:r=t,sizeDuration:o=t,opacityDuration:a=o,exitSizeDuration:n=r,exitOpacityDuration:i=n,easing:s=Hp.curveEasyEaseMax,delay:l=0,exitEasing:c=s,exitDelay:d=l,staggerDelay:u=0,exitStaggerDelay:f=u,animateOpacity:p=!0,orientation:h="vertical",fromSize:g="0px"})=>{const v=[ch({orientation:h,duration:o,easing:s,element:e,fromSize:g,delay:l}),dh({direction:"enter",orientation:h,duration:o,easing:s,delay:l})];p&&v.push(uh({direction:"enter",duration:a,easing:s,delay:l+u}));const m=[];return p&&m.push(uh({direction:"exit",duration:i,easing:c,delay:d})),m.push((({orientation:e,duration:t,easing:r,element:o,delay:a=0,fromSize:n="0"})=>{const{sizeName:i,overflowName:s,toSize:l}=lh(e,o);return{keyframes:[{[i]:l,[s]:"hidden"},{[i]:n,[s]:"hidden"}],duration:t,easing:r,delay:a,fill:"both"}})({orientation:h,duration:n,easing:c,element:e,delay:d+f,fromSize:g}),dh({direction:"exit",orientation:h,duration:n,easing:c,delay:d+f})),{enter:v,exit:m}}));nh(fh,{duration:Hp.durationFast}),nh(fh,{duration:Hp.durationSlower});const ph=nh(fh,{sizeDuration:Hp.durationNormal,opacityDuration:Hp.durationSlower,staggerDelay:Hp.durationNormal,exitSizeDuration:Hp.durationNormal,exitOpacityDuration:Hp.durationSlower,exitStaggerDelay:Hp.durationSlower,easing:Hp.curveEasyEase,exitEasing:Hp.curveEasyEase}),hh=ah((({duration:e=Hp.durationNormal,easing:t=Hp.curveEasyEase,delay:r=0,exitDuration:o=e,exitEasing:a=t,exitDelay:n=r,fromOpacity:i=0,toOpacity:s=1})=>({enter:uh({direction:"enter",duration:e,easing:t,delay:r,fromOpacity:i,toOpacity:s}),exit:uh({direction:"exit",duration:o,easing:a,delay:n,fromOpacity:i,toOpacity:s})})));nh(hh,{duration:Hp.durationFast});const gh=nh(hh,{duration:Hp.durationGentle}),vh=({direction:e,duration:t,easing:r=Hp.curveLinear,delay:o=0,fromScale:a=.9,toScale:n=1})=>{const i=[{scale:a},{scale:n}];return"exit"===e&&i.reverse(),{keyframes:i,duration:t,easing:r,delay:o}},mh=ah((({duration:e=Hp.durationGentle,easing:t=Hp.curveDecelerateMax,delay:r=0,exitDuration:o=Hp.durationNormal,exitEasing:a=Hp.curveAccelerateMax,exitDelay:n=r,fromScale:i=.9,toScale:s=1,animateOpacity:l=!0})=>{const c=[vh({direction:"enter",duration:e,easing:t,delay:r,fromScale:i,toScale:s})],d=[vh({direction:"exit",duration:o,easing:a,delay:n,fromScale:i,toScale:s})];return l&&(c.push(uh({direction:"enter",duration:e,easing:t,delay:r})),d.push(uh({direction:"exit",duration:o,easing:a,delay:n}))),{enter:c,exit:d}}));nh(mh,{duration:Hp.durationNormal,exitDuration:Hp.durationFast}),nh(mh,{duration:Hp.durationSlow,exitDuration:Hp.durationGentle});const bh=/[\(\[\{][^\)\]\}]*[\)\]\}]/g,xh=/[\0-\u001F\!-/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,yh=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,wh=/\s+/g,kh=/[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\u1100-\u11FF\u3130-\u318F\uA960-\uA97F\uAC00-\uD7AF\uD7B0-\uD7FF\u3040-\u309F\u30A0-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uF900-\uFAFF]|[\uD840-\uD869][\uDC00-\uDED6]/;function Bh(e,t,r){return e?(e=function(e){return(e=(e=(e=e.replace(bh,"")).replace(xh,"")).replace(wh," ")).trim()}(e),kh.test(e)||!(null==r?void 0:r.allowPhoneInitials)&&yh.test(e)?"":function(e,t,r){let o="";const a=e.split(" ");return 0!==a.length&&(o+=a[0].charAt(0).toUpperCase()),r||(2===a.length?o+=a[1].charAt(0).toUpperCase():3===a.length&&(o+=a[2].charAt(0).toUpperCase())),t&&o.length>1?o.charAt(1)+o.charAt(0):o}(e,t,null==r?void 0:r.firstInitialOnly)):""}const Sh=(e,t)=>{const{shape:r="circular",size:o="medium",iconPosition:a="before",appearance:n="filled",color:i="brand"}=e;return{shape:r,size:o,iconPosition:a,appearance:n,color:i,components:{root:"div",icon:"span"},root:Sr(Wr("div",{ref:t,...e}),{elementType:"div"}),icon:_r(e.icon,{elementType:"span"})}},_h="fui-Badge",Nh="fui-Badge__icon",zh=yr("r1iycov","r115jdol",[".r1iycov{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;position:relative;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase200);height:20px;min-width:20px;padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));border-radius:var(--borderRadiusCircular);border-color:var(--colorTransparentStroke);}",'.r1iycov::after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;border-style:solid;border-color:inherit;border-width:var(--strokeWidthThin);border-radius:inherit;}',".r115jdol{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;position:relative;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase200);height:20px;min-width:20px;padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));border-radius:var(--borderRadiusCircular);border-color:var(--colorTransparentStroke);}",'.r115jdol::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-style:solid;border-color:inherit;border-width:var(--strokeWidthThin);border-radius:inherit;}']),jh=xr({fontSmallToTiny:{Bahqtrf:"fk6fouc",Be2twd7:"f13mqy1h",Bhrd7zp:"fl43uef",Bg96gwp:"fcpl73t"},tiny:{a9b677:"f16dn6v3",Bqenvij:"f3mu39s",Be2twd7:"f130uwy9",Bg96gwp:"fod1mrr",Bf4jedk:"f18p0k4z",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f19jm9xf"},"extra-small":{a9b677:"fpd43o0",Bqenvij:"f30q22z",Be2twd7:"f1tccstq",Bg96gwp:"f1y3arg5",Bf4jedk:"f18p0k4z",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f19jm9xf"},small:{Bf4jedk:"fq2vo04",Bqenvij:"fd461yt",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fupdldz"},medium:{},large:{Bf4jedk:"f17fgpbq",Bqenvij:"frvgh55",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1996nqw"},"extra-large":{Bf4jedk:"fwbmr0d",Bqenvij:"f1d2rq10",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fty64o7"},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},roundedSmallToTiny:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91"},circular:{},borderGhost:{ap17g6:"f10ludwy"},filled:{},"filled-brand":{De3pzq:"ffp7eso",sj55zd:"f1phragk"},"filled-danger":{De3pzq:"fdl5y0r",sj55zd:"f1phragk"},"filled-important":{De3pzq:"f1c73kur",sj55zd:"fr0bkrk"},"filled-informative":{De3pzq:"f3vzo32",sj55zd:"f11d4kpn"},"filled-severe":{De3pzq:"f1s438gw",sj55zd:"f1phragk"},"filled-subtle":{De3pzq:"fxugw4r",sj55zd:"f19n0e5"},"filled-success":{De3pzq:"flxk52p",sj55zd:"f1phragk"},"filled-warning":{De3pzq:"ffq97bm",sj55zd:"ff5vbop"},ghost:{},"ghost-brand":{sj55zd:"f16muhyy"},"ghost-danger":{sj55zd:"f1whyuy6"},"ghost-important":{sj55zd:"f19n0e5"},"ghost-informative":{sj55zd:"f11d4kpn"},"ghost-severe":{sj55zd:"f1l8vj45"},"ghost-subtle":{sj55zd:"fonrgv7"},"ghost-success":{sj55zd:"f1m7fhi8"},"ghost-warning":{sj55zd:"fpti2h4"},outline:{g2u3we:"f23ftbb",h3c5rm:["f1gkuv52","f1p1bl80"],B9xav0g:"fioka3i",zhjwy3:["f1p1bl80","f1gkuv52"]},"outline-brand":{sj55zd:"f16muhyy"},"outline-danger":{sj55zd:"f1whyuy6",g2u3we:"fyqpifd",h3c5rm:["f3ukxca","f1k7dugc"],B9xav0g:"f1njxb2b",zhjwy3:["f1k7dugc","f3ukxca"]},"outline-important":{sj55zd:"f11d4kpn",g2u3we:"fq0vr37",h3c5rm:["f1byw159","f11cr0be"],B9xav0g:"f1c1zstj",zhjwy3:["f11cr0be","f1byw159"]},"outline-informative":{sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"outline-severe":{sj55zd:"f1l8vj45"},"outline-subtle":{sj55zd:"fonrgv7"},"outline-success":{sj55zd:"f1m7fhi8",g2u3we:"f1mmhl11",h3c5rm:["f1tjpp2f","f1ocn5n7"],B9xav0g:"f1gjv25d",zhjwy3:["f1ocn5n7","f1tjpp2f"]},"outline-warning":{sj55zd:"fpti2h4"},tint:{},"tint-brand":{De3pzq:"f16xkysk",sj55zd:"faj9fo0",g2u3we:"f161y7kd",h3c5rm:["f1c8dzaj","f1sl6hi9"],B9xav0g:"f1619yhw",zhjwy3:["f1sl6hi9","f1c8dzaj"]},"tint-danger":{De3pzq:"ff0poqj",sj55zd:"f1hcrxcs",g2u3we:"f1oqjm8o",h3c5rm:["fkgrb8g","frb5wm0"],B9xav0g:"f1iai1ph",zhjwy3:["frb5wm0","fkgrb8g"]},"tint-important":{De3pzq:"f945g0u",sj55zd:"fr0bkrk",g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},"tint-informative":{De3pzq:"f1ctqxl6",sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"tint-severe":{De3pzq:"f1xzsg4",sj55zd:"f1k5f75o",g2u3we:"fxy9dsj",h3c5rm:["f54u6j2","fcm23ze"],B9xav0g:"f4vf0uq",zhjwy3:["fcm23ze","f54u6j2"]},"tint-subtle":{De3pzq:"fxugw4r",sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"tint-success":{De3pzq:"f2vsrz6",sj55zd:"ffmvakt",g2u3we:"fdmic9h",h3c5rm:["f196y6m","fetptd8"],B9xav0g:"f1pev5xq",zhjwy3:["fetptd8","f196y6m"]},"tint-warning":{De3pzq:"f10s6hli",sj55zd:"f42v8de",g2u3we:"fn9i3n",h3c5rm:["f1aw8cx4","f51if14"],B9xav0g:"fvq8iai",zhjwy3:["f51if14","f1aw8cx4"]}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f13mqy1h{font-size:var(--fontSizeBase100);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fcpl73t{line-height:var(--lineHeightBase100);}",".f16dn6v3{width:6px;}",".f3mu39s{height:6px;}",".f130uwy9{font-size:4px;}",".fod1mrr{line-height:4px;}",".f18p0k4z{min-width:unset;}",[".f19jm9xf{padding:unset;}",{p:-1}],".fpd43o0{width:10px;}",".f30q22z{height:10px;}",".f1tccstq{font-size:6px;}",".f1y3arg5{line-height:6px;}",[".f19jm9xf{padding:unset;}",{p:-1}],".fq2vo04{min-width:16px;}",".fd461yt{height:16px;}",[".fupdldz{padding:0 calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",{p:-1}],".f17fgpbq{min-width:24px;}",".frvgh55{height:24px;}",[".f1996nqw{padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",{p:-1}],".fwbmr0d{min-width:32px;}",".f1d2rq10{height:32px;}",[".fty64o7{padding:0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],".f10ludwy::after{display:none;}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fdl5y0r{background-color:var(--colorPaletteRedBackground3);}",".f1c73kur{background-color:var(--colorNeutralForeground1);}",".fr0bkrk{color:var(--colorNeutralBackground1);}",".f3vzo32{background-color:var(--colorNeutralBackground5);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".f1s438gw{background-color:var(--colorPaletteDarkOrangeBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".flxk52p{background-color:var(--colorPaletteGreenBackground3);}",".ffq97bm{background-color:var(--colorPaletteYellowBackground3);}",".ff5vbop{color:var(--colorNeutralForeground1Static);}",".f16muhyy{color:var(--colorBrandForeground1);}",".f1whyuy6{color:var(--colorPaletteRedForeground3);}",".f1l8vj45{color:var(--colorPaletteDarkOrangeForeground3);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".f1m7fhi8{color:var(--colorPaletteGreenForeground3);}",".fpti2h4{color:var(--colorPaletteYellowForeground2);}",".f23ftbb{border-top-color:currentColor;}",".f1gkuv52{border-right-color:currentColor;}",".f1p1bl80{border-left-color:currentColor;}",".fioka3i{border-bottom-color:currentColor;}",".fyqpifd{border-top-color:var(--colorPaletteRedBorder2);}",".f3ukxca{border-right-color:var(--colorPaletteRedBorder2);}",".f1k7dugc{border-left-color:var(--colorPaletteRedBorder2);}",".f1njxb2b{border-bottom-color:var(--colorPaletteRedBorder2);}",".fq0vr37{border-top-color:var(--colorNeutralStrokeAccessible);}",".f1byw159{border-right-color:var(--colorNeutralStrokeAccessible);}",".f11cr0be{border-left-color:var(--colorNeutralStrokeAccessible);}",".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".f68mrw8{border-top-color:var(--colorNeutralStroke2);}",".f7pw515{border-right-color:var(--colorNeutralStroke2);}",".fw35ms5{border-left-color:var(--colorNeutralStroke2);}",".frpde29{border-bottom-color:var(--colorNeutralStroke2);}",".f1mmhl11{border-top-color:var(--colorPaletteGreenBorder2);}",".f1tjpp2f{border-right-color:var(--colorPaletteGreenBorder2);}",".f1ocn5n7{border-left-color:var(--colorPaletteGreenBorder2);}",".f1gjv25d{border-bottom-color:var(--colorPaletteGreenBorder2);}",".f16xkysk{background-color:var(--colorBrandBackground2);}",".faj9fo0{color:var(--colorBrandForeground2);}",".f161y7kd{border-top-color:var(--colorBrandStroke2);}",".f1c8dzaj{border-right-color:var(--colorBrandStroke2);}",".f1sl6hi9{border-left-color:var(--colorBrandStroke2);}",".f1619yhw{border-bottom-color:var(--colorBrandStroke2);}",".ff0poqj{background-color:var(--colorPaletteRedBackground1);}",".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1oqjm8o{border-top-color:var(--colorPaletteRedBorder1);}",".fkgrb8g{border-right-color:var(--colorPaletteRedBorder1);}",".frb5wm0{border-left-color:var(--colorPaletteRedBorder1);}",".f1iai1ph{border-bottom-color:var(--colorPaletteRedBorder1);}",".f945g0u{background-color:var(--colorNeutralForeground3);}",".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".f1ctqxl6{background-color:var(--colorNeutralBackground4);}",".f1xzsg4{background-color:var(--colorPaletteDarkOrangeBackground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".fxy9dsj{border-top-color:var(--colorPaletteDarkOrangeBorder1);}",".f54u6j2{border-right-color:var(--colorPaletteDarkOrangeBorder1);}",".fcm23ze{border-left-color:var(--colorPaletteDarkOrangeBorder1);}",".f4vf0uq{border-bottom-color:var(--colorPaletteDarkOrangeBorder1);}",".f2vsrz6{background-color:var(--colorPaletteGreenBackground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}",".fdmic9h{border-top-color:var(--colorPaletteGreenBorder1);}",".f196y6m{border-right-color:var(--colorPaletteGreenBorder1);}",".fetptd8{border-left-color:var(--colorPaletteGreenBorder1);}",".f1pev5xq{border-bottom-color:var(--colorPaletteGreenBorder1);}",".f10s6hli{background-color:var(--colorPaletteYellowBackground1);}",".f42v8de{color:var(--colorPaletteYellowForeground1);}",".fn9i3n{border-top-color:var(--colorPaletteYellowBorder1);}",".f1aw8cx4{border-right-color:var(--colorPaletteYellowBorder1);}",".f51if14{border-left-color:var(--colorPaletteYellowBorder1);}",".fvq8iai{border-bottom-color:var(--colorPaletteYellowBorder1);}"]}),Th=yr("rttl5z0",null,[".rttl5z0{display:flex;line-height:1;margin:0 calc(-1 * var(--spacingHorizontalXXS));font-size:12px;}"]),Ch=xr({beforeText:{t21cq0:["f1t8l4o1","f11juvx6"]},afterText:{Frg6f3:["f11juvx6","f1t8l4o1"]},beforeTextXL:{t21cq0:["f1rs9grm","f1kwmkpi"]},afterTextXL:{Frg6f3:["f1kwmkpi","f1rs9grm"]},tiny:{Be2twd7:"f1tccstq"},"extra-small":{Be2twd7:"fnmn6fi"},small:{Be2twd7:"f1ugzwwg"},medium:{},large:{Be2twd7:"f4ybsrx"},"extra-large":{Be2twd7:"fe5j1ua"}},{d:[".f1t8l4o1{margin-right:calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",".f11juvx6{margin-left:calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",".f1rs9grm{margin-right:calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",".f1kwmkpi{margin-left:calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",".f1tccstq{font-size:6px;}",".fnmn6fi{font-size:10px;}",".f1ugzwwg{font-size:12px;}",".f4ybsrx{font-size:16px;}",".fe5j1ua{font-size:20px;}"]}),Dh=e=>sa(e.root,{children:["before"===e.iconPosition&&e.icon&&ia(e.icon,{}),e.root.children,"after"===e.iconPosition&&e.icon&&ia(e.icon,{})]}),Ph=s.exports.forwardRef(((e,t)=>{const r=Sh(e,t);return(e=>{const t=zh(),r=jh(),o="small"===e.size||"extra-small"===e.size||"tiny"===e.size;e.root.className=rt(_h,t,o&&r.fontSmallToTiny,r[e.size],r[e.shape],"rounded"===e.shape&&o&&r.roundedSmallToTiny,"ghost"===e.appearance&&r.borderGhost,r[e.appearance],r[`${e.appearance}-${e.color}`],e.root.className);const a=Th(),n=Ch();if(e.icon){let t;s.exports.Children.toArray(e.root.children).length>0&&(t="extra-large"===e.size?"after"===e.iconPosition?n.afterTextXL:n.beforeTextXL:"after"===e.iconPosition?n.afterText:n.beforeText),e.icon.className=rt(Nh,a,t,n[e.size],e.icon.className)}})(r),fo("useBadgeStyles_unstable")(r),Dh(r)}));Ph.displayName="Badge";const Eh={tiny:Jf,"extra-small":Jf,small:Yf,medium:Qf,large:ep,"extra-large":ep},Ah={tiny:Zf,"extra-small":Zf,small:Wf,medium:Gf,large:Kf,"extra-large":Kf},Fh={tiny:Vf,"extra-small":Vf,small:$f,medium:Uf,large:Xf,"extra-large":Xf},Rh={tiny:tp,"extra-small":tp,small:rp,medium:op,large:ap,"extra-large":ap},Ih={tiny:np,"extra-small":np,small:ip,medium:sp,large:lp,"extra-large":lp},Mh={tiny:cp,"extra-small":cp,small:up,medium:pp,large:gp,"extra-large":gp},Lh={tiny:dp,"extra-small":dp,small:fp,medium:hp,large:vp,"extra-large":vp},Oh={tiny:wp,"extra-small":wp,small:kp,medium:Bp,large:Sp,"extra-large":Sp},qh={tiny:mp,"extra-small":mp,small:bp,medium:xp,large:yp,"extra-large":yp},Hh={tiny:_p,"extra-small":_p,small:Np,medium:zp,large:jp,"extra-large":jp},Vh={busy:"busy","out-of-office":"out of office",away:"away",available:"available",offline:"offline","do-not-disturb":"do not disturb",unknown:"unknown",blocked:"blocked"},Zh=(e,t)=>{const{size:r="medium",status:o="available",outOfOffice:a=!1}=e,n=Vh[o],i=e.outOfOffice&&"out-of-office"!==e.status?` ${Vh["out-of-office"]}`:"",l=((e,t,r)=>{switch(e){case"available":return t?Ah[r]:Fh[r];case"away":return t?Oh[r]:Eh[r];case"blocked":return Rh[r];case"busy":return t?Hh[r]:Ih[r];case"do-not-disturb":return t?Lh[r]:Mh[r];case"offline":return t?Oh[r]:qh[r];case"out-of-office":return Oh[r];case"unknown":return Hh[r]}})(o,a,r);return{...Sh({"aria-label":n+i,role:"img",...e,size:r,icon:_r(e.icon,{defaultProps:{children:l?s.exports.createElement(l,null):null},renderByDefault:!0,elementType:"span"})},t),status:o,outOfOffice:a}},$h="fui-PresenceBadge",Wh="fui-PresenceBadge__icon",Uh=yr("r832ydo",null,[".r832ydo{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;border-radius:var(--borderRadiusCircular);background-color:var(--colorNeutralBackground1);padding:1px;background-clip:content-box;}"]),Gh=yr("r11ag4qr",null,[".r11ag4qr{display:flex;margin:-1px;}"]),Xh=xr({statusBusy:{sj55zd:"fvi85wt"},statusAway:{sj55zd:"f14k8a89"},statusAvailable:{sj55zd:"fqa5hgp"},statusOffline:{sj55zd:"f11d4kpn"},statusOutOfOffice:{sj55zd:"fdce8r3"},statusUnknown:{sj55zd:"f11d4kpn"},outOfOffice:{sj55zd:"fr0bkrk"},outOfOfficeAvailable:{sj55zd:"fqa5hgp"},outOfOfficeBusy:{sj55zd:"fvi85wt"},outOfOfficeUnknown:{sj55zd:"f11d4kpn"},tiny:{Bubjx69:"f9ikmtg",a9b677:"f16dn6v3",B2eet1l:"f1w2irj7",B5pe6w7:"fab5kbq",p4uzdd:"f1ms1d91"},large:{Bubjx69:"f9ikmtg",a9b677:"f64fuq3",B5pe6w7:"f1vfi1yj",p4uzdd:"f15s34gz"},extraLarge:{Bubjx69:"f9ikmtg",a9b677:"f1w9dchk",B5pe6w7:"f14efy9b",p4uzdd:"fhipgdu"}},{d:[".fvi85wt{color:var(--colorPaletteRedBackground3);}",".f14k8a89{color:var(--colorPaletteMarigoldBackground3);}",".fqa5hgp{color:var(--colorPaletteLightGreenForeground3);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".fdce8r3{color:var(--colorPaletteBerryForeground3);}",".fr0bkrk{color:var(--colorNeutralBackground1);}",".f9ikmtg{aspect-ratio:1;}",".f16dn6v3{width:6px;}",".f1w2irj7{background-clip:unset;}",".fab5kbq svg{width:6px!important;}",".f1ms1d91 svg{height:6px!important;}",".f64fuq3{width:20px;}",".f1vfi1yj svg{width:20px!important;}",".f15s34gz svg{height:20px!important;}",".f1w9dchk{width:28px;}",".f14efy9b svg{width:28px!important;}",".fhipgdu svg{height:28px!important;}"]}),Kh=s.exports.forwardRef(((e,t)=>{const r=Zh(e,t);return(e=>{const t=Uh(),r=Gh(),o=Xh(),a="busy"===(n=e.status)||"do-not-disturb"===n||"blocked"===n;var n;e.root.className=rt($h,t,a&&o.statusBusy,"away"===e.status&&o.statusAway,"available"===e.status&&o.statusAvailable,"offline"===e.status&&o.statusOffline,"out-of-office"===e.status&&o.statusOutOfOffice,"unknown"===e.status&&o.statusUnknown,e.outOfOffice&&o.outOfOffice,e.outOfOffice&&"available"===e.status&&o.outOfOfficeAvailable,e.outOfOffice&&a&&o.outOfOfficeBusy,e.outOfOffice&&("out-of-office"===e.status||"away"===e.status||"offline"===e.status)&&o.statusOutOfOffice,e.outOfOffice&&"unknown"===e.status&&o.outOfOfficeUnknown,"tiny"===e.size&&o.tiny,"large"===e.size&&o.large,"extra-large"===e.size&&o.extraLarge,e.root.className),e.icon&&(e.icon.className=rt(Wh,r,e.icon.className))})(r),fo("usePresenceBadgeStyles_unstable")(r),Dh(r)}));Kh.displayName="PresenceBadge";const Jh=s.exports.createContext(void 0),Yh={},Qh=Jh.Provider,eg={active:"active",inactive:"inactive"},tg=(e,t)=>{const{dir:r}=ao(),{shape:o,size:a}=null!==(n=s.exports.useContext(Jh))&&void 0!==n?n:Yh;var n;const{name:i,size:l=(null!=a?a:32),shape:c=(null!=o?o:"circular"),active:d="unset",activeAppearance:u="ring",idForColor:f}=e;let{color:p="neutral"}=e;var h;"colorful"===p&&(p=og[ag(null!==(h=null!=f?f:i)&&void 0!==h?h:"")%og.length]);const g=Po("avatar-"),v=Sr(Wr("span",{role:"img",id:g,...e,ref:t},["name"]),{elementType:"span"}),[m,b]=s.exports.useState(void 0);let x=_r(e.image,{defaultProps:{alt:"",role:"presentation","aria-hidden":!0,hidden:m},elementType:"img"});(null==x?void 0:x.src)||(x=void 0),x&&(x.onError=Zo(x.onError,(()=>b(!0))),x.onLoad=Zo(x.onLoad,(()=>b(void 0))));let y,w=_r(e.initials,{renderByDefault:!0,defaultProps:{children:Bh(i,"rtl"===r,{firstInitialOnly:l<=16}),id:g+"__initials"},elementType:"span"});(null==w?void 0:w.children)||(w=void 0),w||x&&!m||(y=_r(e.icon,{renderByDefault:!0,defaultProps:{children:s.exports.createElement(Cu,null),"aria-hidden":!0},elementType:"span"}));const k=_r(e.badge,{defaultProps:{size:rg(l),id:g+"__badge"},elementType:Kh});let B;if(!v["aria-label"]&&!v["aria-labelledby"]&&(i?(v["aria-label"]=i,k&&(v["aria-labelledby"]=v.id+" "+k.id)):w&&(v["aria-labelledby"]=w.id+(k?" "+k.id:"")),"active"===d||"inactive"===d)){const e=eg[d];if(v["aria-labelledby"]){const t=g+"__active";v["aria-labelledby"]+=" "+t,B=s.exports.createElement("span",{hidden:!0,id:t},e)}else v["aria-label"]&&(v["aria-label"]+=" "+e)}return{size:l,shape:c,active:d,activeAppearance:u,activeAriaLabelElement:B,color:p,components:{root:"span",initials:"span",icon:"span",image:"img",badge:Kh},root:v,initials:w,icon:y,image:x,badge:k}},rg=e=>e>=96?"extra-large":e>=64?"large":e>=56?"medium":e>=40?"small":e>=28?"extra-small":"tiny",og=["dark-red","cranberry","red","pumpkin","peach","marigold","gold","brass","brown","forest","seafoam","dark-green","light-teal","teal","steel","blue","royal-blue","cornflower","navy","lavender","purple","grape","lilac","pink","magenta","plum","beige","mink","platinum","anchor"],ag=e=>{let t=0;for(let r=e.length-1;r>=0;r--){const o=e.charCodeAt(r),a=r%8;t^=(o<<a)+(o>>8-a)}return t},ng="fui-Avatar",ig="fui-Avatar__image",sg="fui-Avatar__initials",lg="fui-Avatar__icon",cg="fui-Avatar__badge",dg=yr("r81b29z","r1aatmv",{r:[".r81b29z{display:inline-block;flex-shrink:0;position:relative;vertical-align:middle;border-radius:var(--borderRadiusCircular);font-family:var(--fontFamilyBase);font-weight:var(--fontWeightSemibold);font-size:var(--fontSizeBase300);width:32px;height:32px;}",".r81b29z::before,.r81b29z::after{position:absolute;top:0;left:0;bottom:0;right:0;z-index:-1;margin:calc(-2 * var(--fui-Avatar-ringWidth, 0px));border-radius:inherit;transition-property:margin,opacity;transition-timing-function:var(--curveEasyEaseMax),var(--curveLinear);transition-duration:var(--durationUltraSlow),var(--durationSlower);}",".r81b29z::before{border-style:solid;border-width:var(--fui-Avatar-ringWidth);}",".r1aatmv{display:inline-block;flex-shrink:0;position:relative;vertical-align:middle;border-radius:var(--borderRadiusCircular);font-family:var(--fontFamilyBase);font-weight:var(--fontWeightSemibold);font-size:var(--fontSizeBase300);width:32px;height:32px;}",".r1aatmv::before,.r1aatmv::after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;margin:calc(-2 * var(--fui-Avatar-ringWidth, 0px));border-radius:inherit;transition-property:margin,opacity;transition-timing-function:var(--curveEasyEaseMax),var(--curveLinear);transition-duration:var(--durationUltraSlow),var(--durationSlower);}",".r1aatmv::before{border-style:solid;border-width:var(--fui-Avatar-ringWidth);}"],s:["@media screen and (prefers-reduced-motion: reduce){.r81b29z::before,.r81b29z::after{transition-duration:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1aatmv::before,.r1aatmv::after{transition-duration:0.01ms;}}"]}),ug=yr("r136dc0n","rjly0nl",[".r136dc0n{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:inherit;object-fit:cover;vertical-align:top;}",".rjly0nl{position:absolute;top:0;right:0;width:100%;height:100%;border-radius:inherit;object-fit:cover;vertical-align:top;}"]),fg=yr("rip04v","r31uzil",[".rip04v{position:absolute;box-sizing:border-box;top:0;left:0;width:100%;height:100%;line-height:1;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);display:flex;align-items:center;justify-content:center;vertical-align:center;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:inherit;}",".r31uzil{position:absolute;box-sizing:border-box;top:0;right:0;width:100%;height:100%;line-height:1;border:var(--strokeWidthThin) solid var(--colorTransparentStroke);display:flex;align-items:center;justify-content:center;vertical-align:center;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;border-radius:inherit;}"]),pg=xr({textCaption2Strong:{Be2twd7:"f13mqy1h"},textCaption1Strong:{Be2twd7:"fy9rknc"},textSubtitle2:{Be2twd7:"fod5ikn"},textSubtitle1:{Be2twd7:"f1pp30po"},textTitle3:{Be2twd7:"f1x0m3f5"},squareSmall:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91"},squareMedium:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},squareLarge:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1o0qvyv"},squareXLarge:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1kijzfu"},activeOrInactive:{Bz10aip:"ftfx35i",Bmy1vo4:"fv0atk9",B3o57yi:"f1iry5bo",Bkqvd7p:"f15n41j8",Hwfdqs:"f1onx1g3"},ring:{Ftih45:"f1wl9k8s"},ringBadgeCutout:{f4a502:"fp2gujx"},ringThick:{of393c:"fq1w1vq"},ringThicker:{of393c:"fzg6ace"},ringThickest:{of393c:"f1nu8p71"},shadow:{Bsft5z2:"f13zj6fq"},shadow4:{Be6vj1x:"fcjn15l"},shadow8:{Be6vj1x:"f1tm8t9f"},shadow16:{Be6vj1x:"f1a1aohj"},shadow28:{Be6vj1x:"fond6v5"},inactive:{abs64n:"fp25eh",Bz10aip:"f1clczzi",Bkqvd7p:"f1l3s34x",Bfgortx:0,Bnvr3x9:0,b2tv09:0,Bucmhp4:0,iayac2:"flkahu5",b6ubon:"fw457kn",Bqinb2h:"f1wmllxl"},badge:{qhf8xq:"f1euv43f",B5kzvoi:"f1yab3r1",j35jbq:["f1e31b4d","f1vgc2s3"]},badgeCutout:{btxmck:"f1eugkqs"},badgeAlign:{Dnlfbu:["f1tlnv9o","f1y9kyih"]},tiny:{Bdjeniz:"f1uwoubl",niu6jh:"fid048z"},"extra-small":{Bdjeniz:"f13ar0e0",niu6jh:"fid048z"},small:{Bdjeniz:"fwwuruf",niu6jh:"fid048z"},medium:{Bdjeniz:"f1af27q5",niu6jh:"fid048z"},large:{Bdjeniz:"f18yy57a",niu6jh:"f924bxt"},"extra-large":{Bdjeniz:"f2jg042",niu6jh:"f924bxt"},icon12:{Be2twd7:"f1ugzwwg"},icon16:{Be2twd7:"f4ybsrx"},icon20:{Be2twd7:"fe5j1ua"},icon24:{Be2twd7:"f1rt2boy"},icon28:{Be2twd7:"f24l1pt"},icon32:{Be2twd7:"ffl51b"},icon48:{Be2twd7:"f18m8u13"}},{d:[".f13mqy1h{font-size:var(--fontSizeBase100);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f1x0m3f5{font-size:var(--fontSizeBase600);}",[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f1o0qvyv{border-radius:var(--borderRadiusLarge);}",{p:-1}],[".f1kijzfu{border-radius:var(--borderRadiusXLarge);}",{p:-1}],".ftfx35i{transform:perspective(1px);}",".fv0atk9{transition-property:transform,opacity;}",".f1iry5bo{transition-duration:var(--durationUltraSlow),var(--durationFaster);}",".f15n41j8{transition-timing-function:var(--curveEasyEaseMax),var(--curveLinear);}",'.f1wl9k8s::before{content:"";}',".fp2gujx::before{-webkit-mask-image:radial-gradient(circle at bottom calc(var(--fui-Avatar-badgeRadius) + 2 * var(--fui-Avatar-ringWidth)) var(--fui-Avatar-badgeAlign) calc(var(--fui-Avatar-badgeRadius) + 2 * var(--fui-Avatar-ringWidth)), transparent calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) - 0.25px), white calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) + 0.25px));mask-image:radial-gradient(circle at bottom calc(var(--fui-Avatar-badgeRadius) + 2 * var(--fui-Avatar-ringWidth)) var(--fui-Avatar-badgeAlign) calc(var(--fui-Avatar-badgeRadius) + 2 * var(--fui-Avatar-ringWidth)), transparent calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) - 0.25px), white calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) + 0.25px));}",".fq1w1vq{--fui-Avatar-ringWidth:var(--strokeWidthThick);}",".fzg6ace{--fui-Avatar-ringWidth:var(--strokeWidthThicker);}",".f1nu8p71{--fui-Avatar-ringWidth:var(--strokeWidthThickest);}",'.f13zj6fq::after{content:"";}',".fcjn15l::after{box-shadow:var(--shadow4);}",".f1tm8t9f::after{box-shadow:var(--shadow8);}",".f1a1aohj::after{box-shadow:var(--shadow16);}",".fond6v5::after{box-shadow:var(--shadow28);}",".fp25eh{opacity:0.8;}",".f1clczzi{transform:scale(0.875);}",".f1l3s34x{transition-timing-function:var(--curveDecelerateMin),var(--curveLinear);}",[".flkahu5::before,.flkahu5::after{margin:0;}",{p:-1}],".fw457kn::before,.fw457kn::after{opacity:0;}",".f1wmllxl::before,.f1wmllxl::after{transition-timing-function:var(--curveDecelerateMin),var(--curveLinear);}",".f1euv43f{position:absolute;}",".f1yab3r1{bottom:0;}",".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f1eugkqs{-webkit-mask-image:radial-gradient(circle at bottom var(--fui-Avatar-badgeRadius) var(--fui-Avatar-badgeAlign) var(--fui-Avatar-badgeRadius), transparent calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) - 0.25px), white calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) + 0.25px));mask-image:radial-gradient(circle at bottom var(--fui-Avatar-badgeRadius) var(--fui-Avatar-badgeAlign) var(--fui-Avatar-badgeRadius), transparent calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) - 0.25px), white calc(var(--fui-Avatar-badgeRadius) + var(--fui-Avatar-badgeGap) + 0.25px));}",".f1tlnv9o{--fui-Avatar-badgeAlign:right;}",".f1y9kyih{--fui-Avatar-badgeAlign:left;}",".f1uwoubl{--fui-Avatar-badgeRadius:3px;}",".fid048z{--fui-Avatar-badgeGap:var(--strokeWidthThin);}",".f13ar0e0{--fui-Avatar-badgeRadius:5px;}",".fwwuruf{--fui-Avatar-badgeRadius:6px;}",".f1af27q5{--fui-Avatar-badgeRadius:8px;}",".f18yy57a{--fui-Avatar-badgeRadius:10px;}",".f924bxt{--fui-Avatar-badgeGap:var(--strokeWidthThick);}",".f2jg042{--fui-Avatar-badgeRadius:14px;}",".f1ugzwwg{font-size:12px;}",".f4ybsrx{font-size:16px;}",".fe5j1ua{font-size:20px;}",".f1rt2boy{font-size:24px;}",".f24l1pt{font-size:28px;}",".ffl51b{font-size:32px;}",".f18m8u13{font-size:48px;}"],m:[["@media screen and (prefers-reduced-motion: reduce){.f1onx1g3{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]]}),hg=xr({16:{a9b677:"fjw5fx7",Bqenvij:"fd461yt"},20:{a9b677:"f64fuq3",Bqenvij:"fjamq6b"},24:{a9b677:"fq4mcun",Bqenvij:"frvgh55"},28:{a9b677:"f1w9dchk",Bqenvij:"fxldao9"},32:{a9b677:"f1szoe96",Bqenvij:"f1d2rq10"},36:{a9b677:"fpdz1er",Bqenvij:"f8ljn23"},40:{a9b677:"feqmc2u",Bqenvij:"fbhnoac"},48:{a9b677:"f124akge",Bqenvij:"ff2sm71"},56:{a9b677:"f1u66zr1",Bqenvij:"fzki0ko"},64:{a9b677:"fa9ln6p",Bqenvij:"f16k9i2m"},72:{a9b677:"fhcae8x",Bqenvij:"f1shusfg"},96:{a9b677:"f1kyr2gn",Bqenvij:"fypu0ge"},120:{a9b677:"fwfqyga",Bqenvij:"fjr5b71"},128:{a9b677:"f1iksgmy",Bqenvij:"fele2au"}},{d:[".fjw5fx7{width:16px;}",".fd461yt{height:16px;}",".f64fuq3{width:20px;}",".fjamq6b{height:20px;}",".fq4mcun{width:24px;}",".frvgh55{height:24px;}",".f1w9dchk{width:28px;}",".fxldao9{height:28px;}",".f1szoe96{width:32px;}",".f1d2rq10{height:32px;}",".fpdz1er{width:36px;}",".f8ljn23{height:36px;}",".feqmc2u{width:40px;}",".fbhnoac{height:40px;}",".f124akge{width:48px;}",".ff2sm71{height:48px;}",".f1u66zr1{width:56px;}",".fzki0ko{height:56px;}",".fa9ln6p{width:64px;}",".f16k9i2m{height:64px;}",".fhcae8x{width:72px;}",".f1shusfg{height:72px;}",".f1kyr2gn{width:96px;}",".fypu0ge{height:96px;}",".fwfqyga{width:120px;}",".fjr5b71{height:120px;}",".f1iksgmy{width:128px;}",".fele2au{height:128px;}"]}),gg=xr({neutral:{sj55zd:"f11d4kpn",De3pzq:"f18f03hv"},brand:{sj55zd:"fonrgv7",De3pzq:"f1blnnmj"},"dark-red":{sj55zd:"fqjd1y1",De3pzq:"f1vq2oo4"},cranberry:{sj55zd:"fg9gses",De3pzq:"f1lwxszt"},red:{sj55zd:"f23f7i0",De3pzq:"f1q9qhfq"},pumpkin:{sj55zd:"fjnan08",De3pzq:"fz91bi3"},peach:{sj55zd:"fknu15p",De3pzq:"f1b9nr51"},marigold:{sj55zd:"f9603vw",De3pzq:"f3z4w6d"},gold:{sj55zd:"fmq0uwp",De3pzq:"fg50kya"},brass:{sj55zd:"f28g5vo",De3pzq:"f4w2gd0"},brown:{sj55zd:"ftl572b",De3pzq:"f14wu1f4"},forest:{sj55zd:"f1gymlvd",De3pzq:"f19ut4y6"},seafoam:{sj55zd:"fnnb6wn",De3pzq:"f1n057jc"},"dark-green":{sj55zd:"ff58qw8",De3pzq:"f11t05wk"},"light-teal":{sj55zd:"f1up9qbj",De3pzq:"f42feg1"},teal:{sj55zd:"f135dsb4",De3pzq:"f6hvv1p"},steel:{sj55zd:"f151dlcp",De3pzq:"f1lnp8zf"},blue:{sj55zd:"f1rjv50u",De3pzq:"f1ggcpy6"},"royal-blue":{sj55zd:"f1emykk5",De3pzq:"f12rj61f"},cornflower:{sj55zd:"fqsigj7",De3pzq:"f8k7hur"},navy:{sj55zd:"f1nj97xi",De3pzq:"f19gw0ux"},lavender:{sj55zd:"fwctg0i",De3pzq:"ff379vm"},purple:{sj55zd:"fjrsgpu",De3pzq:"f1mzf1e1"},grape:{sj55zd:"f1fiiydq",De3pzq:"f1o4k8oy"},lilac:{sj55zd:"f1res9jt",De3pzq:"f1x6mz1o"},pink:{sj55zd:"fv3fbbi",De3pzq:"fydlv6t"},magenta:{sj55zd:"f1f1fwnz",De3pzq:"f4xb6j5"},plum:{sj55zd:"f8ptl6j",De3pzq:"fqo8e26"},beige:{sj55zd:"f1ntv3ld",De3pzq:"f101elhj"},mink:{sj55zd:"f1fscmp",De3pzq:"f13g8o5c"},platinum:{sj55zd:"f1dr00v2",De3pzq:"fkh7blw"},anchor:{sj55zd:"f1f3ti53",De3pzq:"fu4yj0j"}},{d:[".f11d4kpn{color:var(--colorNeutralForeground3);}",".f18f03hv{background-color:var(--colorNeutralBackground6);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".f1blnnmj{background-color:var(--colorBrandBackgroundStatic);}",".fqjd1y1{color:var(--colorPaletteDarkRedForeground2);}",".f1vq2oo4{background-color:var(--colorPaletteDarkRedBackground2);}",".fg9gses{color:var(--colorPaletteCranberryForeground2);}",".f1lwxszt{background-color:var(--colorPaletteCranberryBackground2);}",".f23f7i0{color:var(--colorPaletteRedForeground2);}",".f1q9qhfq{background-color:var(--colorPaletteRedBackground2);}",".fjnan08{color:var(--colorPalettePumpkinForeground2);}",".fz91bi3{background-color:var(--colorPalettePumpkinBackground2);}",".fknu15p{color:var(--colorPalettePeachForeground2);}",".f1b9nr51{background-color:var(--colorPalettePeachBackground2);}",".f9603vw{color:var(--colorPaletteMarigoldForeground2);}",".f3z4w6d{background-color:var(--colorPaletteMarigoldBackground2);}",".fmq0uwp{color:var(--colorPaletteGoldForeground2);}",".fg50kya{background-color:var(--colorPaletteGoldBackground2);}",".f28g5vo{color:var(--colorPaletteBrassForeground2);}",".f4w2gd0{background-color:var(--colorPaletteBrassBackground2);}",".ftl572b{color:var(--colorPaletteBrownForeground2);}",".f14wu1f4{background-color:var(--colorPaletteBrownBackground2);}",".f1gymlvd{color:var(--colorPaletteForestForeground2);}",".f19ut4y6{background-color:var(--colorPaletteForestBackground2);}",".fnnb6wn{color:var(--colorPaletteSeafoamForeground2);}",".f1n057jc{background-color:var(--colorPaletteSeafoamBackground2);}",".ff58qw8{color:var(--colorPaletteDarkGreenForeground2);}",".f11t05wk{background-color:var(--colorPaletteDarkGreenBackground2);}",".f1up9qbj{color:var(--colorPaletteLightTealForeground2);}",".f42feg1{background-color:var(--colorPaletteLightTealBackground2);}",".f135dsb4{color:var(--colorPaletteTealForeground2);}",".f6hvv1p{background-color:var(--colorPaletteTealBackground2);}",".f151dlcp{color:var(--colorPaletteSteelForeground2);}",".f1lnp8zf{background-color:var(--colorPaletteSteelBackground2);}",".f1rjv50u{color:var(--colorPaletteBlueForeground2);}",".f1ggcpy6{background-color:var(--colorPaletteBlueBackground2);}",".f1emykk5{color:var(--colorPaletteRoyalBlueForeground2);}",".f12rj61f{background-color:var(--colorPaletteRoyalBlueBackground2);}",".fqsigj7{color:var(--colorPaletteCornflowerForeground2);}",".f8k7hur{background-color:var(--colorPaletteCornflowerBackground2);}",".f1nj97xi{color:var(--colorPaletteNavyForeground2);}",".f19gw0ux{background-color:var(--colorPaletteNavyBackground2);}",".fwctg0i{color:var(--colorPaletteLavenderForeground2);}",".ff379vm{background-color:var(--colorPaletteLavenderBackground2);}",".fjrsgpu{color:var(--colorPalettePurpleForeground2);}",".f1mzf1e1{background-color:var(--colorPalettePurpleBackground2);}",".f1fiiydq{color:var(--colorPaletteGrapeForeground2);}",".f1o4k8oy{background-color:var(--colorPaletteGrapeBackground2);}",".f1res9jt{color:var(--colorPaletteLilacForeground2);}",".f1x6mz1o{background-color:var(--colorPaletteLilacBackground2);}",".fv3fbbi{color:var(--colorPalettePinkForeground2);}",".fydlv6t{background-color:var(--colorPalettePinkBackground2);}",".f1f1fwnz{color:var(--colorPaletteMagentaForeground2);}",".f4xb6j5{background-color:var(--colorPaletteMagentaBackground2);}",".f8ptl6j{color:var(--colorPalettePlumForeground2);}",".fqo8e26{background-color:var(--colorPalettePlumBackground2);}",".f1ntv3ld{color:var(--colorPaletteBeigeForeground2);}",".f101elhj{background-color:var(--colorPaletteBeigeBackground2);}",".f1fscmp{color:var(--colorPaletteMinkForeground2);}",".f13g8o5c{background-color:var(--colorPaletteMinkBackground2);}",".f1dr00v2{color:var(--colorPalettePlatinumForeground2);}",".fkh7blw{background-color:var(--colorPalettePlatinumBackground2);}",".f1f3ti53{color:var(--colorPaletteAnchorForeground2);}",".fu4yj0j{background-color:var(--colorPaletteAnchorBackground2);}"]}),vg=xr({neutral:{Bic5iru:"f1uuiafn"},brand:{Bic5iru:"f1uuiafn"},"dark-red":{Bic5iru:"f1t2x9on"},cranberry:{Bic5iru:"f1pvshc9"},red:{Bic5iru:"f1ectbk9"},pumpkin:{Bic5iru:"fvzpl0b"},peach:{Bic5iru:"fwj2kd7"},marigold:{Bic5iru:"fr120vy"},gold:{Bic5iru:"f8xmmar"},brass:{Bic5iru:"f1hbety2"},brown:{Bic5iru:"f1vg3s4g"},forest:{Bic5iru:"f1m3olm5"},seafoam:{Bic5iru:"f17xiqtr"},"dark-green":{Bic5iru:"fx32vyh"},"light-teal":{Bic5iru:"f1mkihwv"},teal:{Bic5iru:"fecnooh"},steel:{Bic5iru:"f15hfgzm"},blue:{Bic5iru:"fqproka"},"royal-blue":{Bic5iru:"f17v2w59"},cornflower:{Bic5iru:"fp0q1mo"},navy:{Bic5iru:"f1nlym55"},lavender:{Bic5iru:"f62vk8h"},purple:{Bic5iru:"f15zl69q"},grape:{Bic5iru:"f53w4j7"},lilac:{Bic5iru:"fu2771t"},pink:{Bic5iru:"fzflscs"},magenta:{Bic5iru:"fb6rmqc"},plum:{Bic5iru:"f1a4gm5b"},beige:{Bic5iru:"f1qpf9z1"},mink:{Bic5iru:"f1l7or83"},platinum:{Bic5iru:"fzrj0iu"},anchor:{Bic5iru:"f8oz6wf"}},{d:[".f1uuiafn::before{color:var(--colorBrandStroke1);}",".f1t2x9on::before{color:var(--colorPaletteDarkRedBorderActive);}",".f1pvshc9::before{color:var(--colorPaletteCranberryBorderActive);}",".f1ectbk9::before{color:var(--colorPaletteRedBorderActive);}",".fvzpl0b::before{color:var(--colorPalettePumpkinBorderActive);}",".fwj2kd7::before{color:var(--colorPalettePeachBorderActive);}",".fr120vy::before{color:var(--colorPaletteMarigoldBorderActive);}",".f8xmmar::before{color:var(--colorPaletteGoldBorderActive);}",".f1hbety2::before{color:var(--colorPaletteBrassBorderActive);}",".f1vg3s4g::before{color:var(--colorPaletteBrownBorderActive);}",".f1m3olm5::before{color:var(--colorPaletteForestBorderActive);}",".f17xiqtr::before{color:var(--colorPaletteSeafoamBorderActive);}",".fx32vyh::before{color:var(--colorPaletteDarkGreenBorderActive);}",".f1mkihwv::before{color:var(--colorPaletteLightTealBorderActive);}",".fecnooh::before{color:var(--colorPaletteTealBorderActive);}",".f15hfgzm::before{color:var(--colorPaletteSteelBorderActive);}",".fqproka::before{color:var(--colorPaletteBlueBorderActive);}",".f17v2w59::before{color:var(--colorPaletteRoyalBlueBorderActive);}",".fp0q1mo::before{color:var(--colorPaletteCornflowerBorderActive);}",".f1nlym55::before{color:var(--colorPaletteNavyBorderActive);}",".f62vk8h::before{color:var(--colorPaletteLavenderBorderActive);}",".f15zl69q::before{color:var(--colorPalettePurpleBorderActive);}",".f53w4j7::before{color:var(--colorPaletteGrapeBorderActive);}",".fu2771t::before{color:var(--colorPaletteLilacBorderActive);}",".fzflscs::before{color:var(--colorPalettePinkBorderActive);}",".fb6rmqc::before{color:var(--colorPaletteMagentaBorderActive);}",".f1a4gm5b::before{color:var(--colorPalettePlumBorderActive);}",".f1qpf9z1::before{color:var(--colorPaletteBeigeBorderActive);}",".f1l7or83::before{color:var(--colorPaletteMinkBorderActive);}",".fzrj0iu::before{color:var(--colorPalettePlatinumBorderActive);}",".f8oz6wf::before{color:var(--colorPaletteAnchorBorderActive);}"]}),mg=s.exports.forwardRef(((e,t)=>{const r=tg(e,t);return(e=>{const{size:t,shape:r,active:o,activeAppearance:a,color:n}=e,i=dg(),s=ug(),l=fg(),c=pg(),d=hg(),u=gg(),f=vg(),p=[i,32!==t&&d[t]];if(e.badge&&p.push(c.badgeAlign,c[e.badge.size||"medium"]),t<=24?p.push(c.textCaption2Strong):t<=28?p.push(c.textCaption1Strong):t<=40||(t<=56?p.push(c.textSubtitle2):t<=96?p.push(c.textSubtitle1):p.push(c.textTitle3)),"square"===r&&(t<=24?p.push(c.squareSmall):t<=48?p.push(c.squareMedium):t<=72?p.push(c.squareLarge):p.push(c.squareXLarge)),"active"!==o&&"inactive"!==o||(p.push(c.activeOrInactive),"ring"!==a&&"ring-shadow"!==a||(p.push(c.ring,f[n]),e.badge&&p.push(c.ringBadgeCutout),t<=48?p.push(c.ringThick):t<=64?p.push(c.ringThicker):p.push(c.ringThickest)),"shadow"!==a&&"ring-shadow"!==a||(p.push(c.shadow),t<=28?p.push(c.shadow4):t<=48?p.push(c.shadow8):t<=64?p.push(c.shadow16):p.push(c.shadow28)),"inactive"===o&&p.push(c.inactive)),e.root.className=rt(ng,...p,e.root.className),e.badge&&(e.badge.className=rt(cg,c.badge,e.badge.className)),e.image&&(e.image.className=rt(ig,s,u[n],e.badge&&c.badgeCutout,e.image.className)),e.initials&&(e.initials.className=rt(sg,l,u[n],e.badge&&c.badgeCutout,e.initials.className)),e.icon){let r;r=t<=16?c.icon12:t<=24?c.icon16:t<=40?c.icon20:t<=48?c.icon24:t<=56?c.icon28:t<=72?c.icon32:c.icon48,e.icon.className=rt(lg,l,r,u[n],e.badge&&c.badgeCutout,e.icon.className)}})(r),fo("useAvatarStyles_unstable")(r),(e=>sa(e.root,{children:[e.initials&&ia(e.initials,{}),e.icon&&ia(e.icon,{}),e.image&&ia(e.image,{}),e.badge&&ia(e.badge,{}),e.activeAriaLabelElement]}))(r)}));mg.displayName="Avatar";const bg=({options:e})=>e,xg=s.exports.createContext(void 0);xg.Provider;const yg=["top","right","bottom","left"],wg=Math.min,kg=Math.max,Bg=Math.round,Sg=e=>({x:e,y:e}),_g={left:"right",right:"left",bottom:"top",top:"bottom"},Ng={start:"end",end:"start"};function zg(e,t,r){return kg(e,wg(t,r))}function jg(e,t){return"function"==typeof e?e(t):e}function Tg(e){return e.split("-")[0]}function Cg(e){return e.split("-")[1]}function Dg(e){return"x"===e?"y":"x"}function Pg(e){return"y"===e?"height":"width"}const Eg=new Set(["top","bottom"]);function Ag(e){return Eg.has(Tg(e))?"y":"x"}function Fg(e){return Dg(Ag(e))}function Rg(e,t,r){void 0===r&&(r=!1);const o=Cg(e),a=Fg(e),n=Pg(a);let i="x"===a?o===(r?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[n]>t.floating[n]&&(i=Vg(i)),[i,Vg(i)]}function Ig(e){return e.replace(/start|end/g,(e=>Ng[e]))}const Mg=["left","right"],Lg=["right","left"],Og=["top","bottom"],qg=["bottom","top"];function Hg(e,t,r,o){const a=Cg(e);let n=function(e,t,r){switch(e){case"top":case"bottom":return r?t?Lg:Mg:t?Mg:Lg;case"left":case"right":return t?Og:qg;default:return[]}}(Tg(e),"start"===r,o);return a&&(n=n.map((e=>e+"-"+a)),t&&(n=n.concat(n.map(Ig)))),n}function Vg(e){return e.replace(/left|right|bottom|top/g,(e=>_g[e]))}function Zg(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function $g(e){const{x:t,y:r,width:o,height:a}=e;return{width:o,height:a,top:r,left:t,right:t+o,bottom:r+a,x:t,y:r}}function Wg(e,t,r){let{reference:o,floating:a}=e;const n=Ag(t),i=Fg(t),s=Pg(i),l=Tg(t),c="y"===n,d=o.x+o.width/2-a.width/2,u=o.y+o.height/2-a.height/2,f=o[s]/2-a[s]/2;let p;switch(l){case"top":p={x:d,y:o.y-a.height};break;case"bottom":p={x:d,y:o.y+o.height};break;case"right":p={x:o.x+o.width,y:u};break;case"left":p={x:o.x-a.width,y:u};break;default:p={x:o.x,y:o.y}}switch(Cg(t)){case"start":p[i]-=f*(r&&c?-1:1);break;case"end":p[i]+=f*(r&&c?-1:1)}return p}async function Ug(e,t){var r;void 0===t&&(t={});const{x:o,y:a,platform:n,rects:i,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:f=!1,padding:p=0}=jg(t,e),h=Zg(p),g=s[f?"floating"===u?"reference":"floating":u],v=$g(await n.getClippingRect({element:null==(r=await(null==n.isElement?void 0:n.isElement(g)))||r?g:g.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:d,strategy:l})),m="floating"===u?{x:o,y:a,width:i.floating.width,height:i.floating.height}:i.reference,b=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(b))&&await(null==n.getScale?void 0:n.getScale(b))||{x:1,y:1},y=$g(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:m,offsetParent:b,strategy:l}):m);return{top:(v.top-y.top+h.top)/x.y,bottom:(y.bottom-v.bottom+h.bottom)/x.y,left:(v.left-y.left+h.left)/x.x,right:(y.right-v.right+h.right)/x.x}}function Gg(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Xg(e){return yg.some((t=>e[t]>=0))}const Kg=new Set(["left","top"]);function Jg(){return"undefined"!=typeof window}function Yg(e){return tv(e)?(e.nodeName||"").toLowerCase():"#document"}function Qg(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function ev(e){var t;return null==(t=(tv(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function tv(e){return!!Jg()&&(e instanceof Node||e instanceof Qg(e).Node)}function rv(e){return!!Jg()&&(e instanceof Element||e instanceof Qg(e).Element)}function ov(e){return!!Jg()&&(e instanceof HTMLElement||e instanceof Qg(e).HTMLElement)}function av(e){return!(!Jg()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Qg(e).ShadowRoot)}const nv=new Set(["inline","contents"]);function iv(e){const{overflow:t,overflowX:r,overflowY:o,display:a}=bv(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+r)&&!nv.has(a)}const sv=new Set(["table","td","th"]);function lv(e){return sv.has(Yg(e))}const cv=[":popover-open",":modal"];function dv(e){return cv.some((t=>{try{return e.matches(t)}catch(r){return!1}}))}const uv=["transform","translate","scale","rotate","perspective"],fv=["transform","translate","scale","rotate","perspective","filter"],pv=["paint","layout","strict","content"];function hv(e){const t=gv(),r=rv(e)?bv(e):e;return uv.some((e=>!!r[e]&&"none"!==r[e]))||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||fv.some((e=>(r.willChange||"").includes(e)))||pv.some((e=>(r.contain||"").includes(e)))}function gv(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const vv=new Set(["html","body","#document"]);function mv(e){return vv.has(Yg(e))}function bv(e){return Qg(e).getComputedStyle(e)}function xv(e){return rv(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function yv(e){if("html"===Yg(e))return e;const t=e.assignedSlot||e.parentNode||av(e)&&e.host||ev(e);return av(t)?t.host:t}function wv(e){const t=yv(e);return mv(t)?e.ownerDocument?e.ownerDocument.body:e.body:ov(t)&&iv(t)?t:wv(t)}function kv(e,t,r){var o;void 0===t&&(t=[]),void 0===r&&(r=!0);const a=wv(e),n=a===(null==(o=e.ownerDocument)?void 0:o.body),i=Qg(a);if(n){const e=Bv(i);return t.concat(i,i.visualViewport||[],iv(a)?a:[],e&&r?kv(e):[])}return t.concat(a,kv(a,[],r))}function Bv(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Sv(e){const t=bv(e);let r=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const a=ov(e),n=a?e.offsetWidth:r,i=a?e.offsetHeight:o,s=Bg(r)!==n||Bg(o)!==i;return s&&(r=n,o=i),{width:r,height:o,$:s}}function _v(e){return rv(e)?e:e.contextElement}function Nv(e){const t=_v(e);if(!ov(t))return Sg(1);const r=t.getBoundingClientRect(),{width:o,height:a,$:n}=Sv(t);let i=(n?Bg(r.width):r.width)/o,s=(n?Bg(r.height):r.height)/a;return i&&Number.isFinite(i)||(i=1),s&&Number.isFinite(s)||(s=1),{x:i,y:s}}const zv=Sg(0);function jv(e){const t=Qg(e);return gv()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:zv}function Tv(e,t,r,o){void 0===t&&(t=!1),void 0===r&&(r=!1);const a=e.getBoundingClientRect(),n=_v(e);let i=Sg(1);t&&(o?rv(o)&&(i=Nv(o)):i=Nv(e));const s=function(e,t,r){return void 0===t&&(t=!1),!(!r||t&&r!==Qg(e))&&t}(n,r,o)?jv(n):Sg(0);let l=(a.left+s.x)/i.x,c=(a.top+s.y)/i.y,d=a.width/i.x,u=a.height/i.y;if(n){const e=Qg(n),t=o&&rv(o)?Qg(o):o;let r=e,a=Bv(r);for(;a&&o&&t!==r;){const e=Nv(a),t=a.getBoundingClientRect(),o=bv(a),n=t.left+(a.clientLeft+parseFloat(o.paddingLeft))*e.x,i=t.top+(a.clientTop+parseFloat(o.paddingTop))*e.y;l*=e.x,c*=e.y,d*=e.x,u*=e.y,l+=n,c+=i,r=Qg(a),a=Bv(r)}}return $g({width:d,height:u,x:l,y:c})}function Cv(e,t){const r=xv(e).scrollLeft;return t?t.left+r:Tv(ev(e)).left+r}function Dv(e,t){const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-Cv(e,r),y:r.top+t.scrollTop}}const Pv=new Set(["absolute","fixed"]);function Ev(e,t,r){let o;if("viewport"===t)o=function(e,t){const r=Qg(e),o=ev(e),a=r.visualViewport;let n=o.clientWidth,i=o.clientHeight,s=0,l=0;if(a){n=a.width,i=a.height;const e=gv();(!e||e&&"fixed"===t)&&(s=a.offsetLeft,l=a.offsetTop)}const c=Cv(o);if(c<=0){const e=o.ownerDocument,t=e.body,r=getComputedStyle(t),a="CSS1Compat"===e.compatMode&&parseFloat(r.marginLeft)+parseFloat(r.marginRight)||0,i=Math.abs(o.clientWidth-t.clientWidth-a);i<=25&&(n-=i)}else c<=25&&(n+=c);return{width:n,height:i,x:s,y:l}}(e,r);else if("document"===t)o=function(e){const t=ev(e),r=xv(e),o=e.ownerDocument.body,a=kg(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),n=kg(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let i=-r.scrollLeft+Cv(e);const s=-r.scrollTop;return"rtl"===bv(o).direction&&(i+=kg(t.clientWidth,o.clientWidth)-a),{width:a,height:n,x:i,y:s}}(ev(e));else if(rv(t))o=function(e,t){const r=Tv(e,!0,"fixed"===t),o=r.top+e.clientTop,a=r.left+e.clientLeft,n=ov(e)?Nv(e):Sg(1);return{width:e.clientWidth*n.x,height:e.clientHeight*n.y,x:a*n.x,y:o*n.y}}(t,r);else{const r=jv(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return $g(o)}function Av(e,t){const r=yv(e);return!(r===t||!rv(r)||mv(r))&&("fixed"===bv(r).position||Av(r,t))}function Fv(e,t,r){const o=ov(t),a=ev(t),n="fixed"===r,i=Tv(e,!0,n,t);let s={scrollLeft:0,scrollTop:0};const l=Sg(0);function c(){l.x=Cv(a)}if(o||!o&&!n)if(("body"!==Yg(t)||iv(a))&&(s=xv(t)),o){const e=Tv(t,!0,n,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else a&&c();n&&!o&&a&&c();const d=!a||o||n?Sg(0):Dv(a,s);return{x:i.left+s.scrollLeft-l.x-d.x,y:i.top+s.scrollTop-l.y-d.y,width:i.width,height:i.height}}function Rv(e){return"static"===bv(e).position}function Iv(e,t){if(!ov(e)||"fixed"===bv(e).position)return null;if(t)return t(e);let r=e.offsetParent;return ev(e)===r&&(r=r.ownerDocument.body),r}function Mv(e,t){const r=Qg(e);if(dv(e))return r;if(!ov(e)){let t=yv(e);for(;t&&!mv(t);){if(rv(t)&&!Rv(t))return t;t=yv(t)}return r}let o=Iv(e,t);for(;o&&lv(o)&&Rv(o);)o=Iv(o,t);return o&&mv(o)&&Rv(o)&&!hv(o)?r:o||function(e){let t=yv(e);for(;ov(t)&&!mv(t);){if(hv(t))return t;if(dv(t))return null;t=yv(t)}return null}(e)||r}const Lv={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:o,strategy:a}=e;const n="fixed"===a,i=ev(o),s=!!t&&dv(t.floating);if(o===i||s&&n)return r;let l={scrollLeft:0,scrollTop:0},c=Sg(1);const d=Sg(0),u=ov(o);if((u||!u&&!n)&&(("body"!==Yg(o)||iv(i))&&(l=xv(o)),ov(o))){const e=Tv(o);c=Nv(o),d.x=e.x+o.clientLeft,d.y=e.y+o.clientTop}const f=!i||u||n?Sg(0):Dv(i,l);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-l.scrollLeft*c.x+d.x+f.x,y:r.y*c.y-l.scrollTop*c.y+d.y+f.y}},getDocumentElement:ev,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:o,strategy:a}=e;const n="clippingAncestors"===r?dv(t)?[]:function(e,t){const r=t.get(e);if(r)return r;let o=kv(e,[],!1).filter((e=>rv(e)&&"body"!==Yg(e))),a=null;const n="fixed"===bv(e).position;let i=n?yv(e):e;for(;rv(i)&&!mv(i);){const t=bv(i),r=hv(i);r||"fixed"!==t.position||(a=null),(n?!r&&!a:!r&&"static"===t.position&&a&&Pv.has(a.position)||iv(i)&&!r&&Av(e,i))?o=o.filter((e=>e!==i)):a=t,i=yv(i)}return t.set(e,o),o}(t,this._c):[].concat(r),i=[...n,o],s=i[0],l=i.reduce(((e,r)=>{const o=Ev(t,r,a);return e.top=kg(o.top,e.top),e.right=wg(o.right,e.right),e.bottom=wg(o.bottom,e.bottom),e.left=kg(o.left,e.left),e}),Ev(t,s,a));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Mv,getElementRects:async function(e){const t=this.getOffsetParent||Mv,r=this.getDimensions,o=await r(e.floating);return{reference:Fv(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:r}=Sv(e);return{width:t,height:r}},getScale:Nv,isElement:rv,isRTL:function(e){return"rtl"===bv(e).direction}},Ov=Ug,qv=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,o;const{x:a,y:n,placement:i,middlewareData:s}=t,l=await async function(e,t){const{placement:r,platform:o,elements:a}=e,n=await(null==o.isRTL?void 0:o.isRTL(a.floating)),i=Tg(r),s=Cg(r),l="y"===Ag(r),c=Kg.has(i)?-1:1,d=n&&l?-1:1,u=jg(t,e);let{mainAxis:f,crossAxis:p,alignmentAxis:h}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return s&&"number"==typeof h&&(p="end"===s?-1*h:h),l?{x:p*d,y:f*c}:{x:f*c,y:p*d}}(t,e);return i===(null==(r=s.offset)?void 0:r.placement)&&null!=(o=s.arrow)&&o.alignmentOffset?{}:{x:a+l.x,y:n+l.y,data:{...l,placement:i}}}}},Hv=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:o,placement:a}=t,{mainAxis:n=!0,crossAxis:i=!1,limiter:s={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...l}=jg(e,t),c={x:r,y:o},d=await Ug(t,l),u=Ag(Tg(a)),f=Dg(u);let p=c[f],h=c[u];if(n){const e="y"===f?"bottom":"right";p=zg(p+d["y"===f?"top":"left"],p,p-d[e])}if(i){const e="y"===u?"bottom":"right";h=zg(h+d["y"===u?"top":"left"],h,h-d[e])}const g=s.fn({...t,[f]:p,[u]:h});return{...g,data:{x:g.x-r,y:g.y-o,enabled:{[f]:n,[u]:i}}}}}},Vv=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,o;const{placement:a,middlewareData:n,rects:i,initialPlacement:s,platform:l,elements:c}=t,{mainAxis:d=!0,crossAxis:u=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:g=!0,...v}=jg(e,t);if(null!=(r=n.arrow)&&r.alignmentOffset)return{};const m=Tg(a),b=Ag(s),x=Tg(s)===s,y=await(null==l.isRTL?void 0:l.isRTL(c.floating)),w=f||(x||!g?[Vg(s)]:function(e){const t=Vg(e);return[Ig(e),t,Ig(t)]}(s)),k="none"!==h;!f&&k&&w.push(...Hg(s,g,h,y));const B=[s,...w],S=await Ug(t,v),_=[];let N=(null==(o=n.flip)?void 0:o.overflows)||[];if(d&&_.push(S[m]),u){const e=Rg(a,i,y);_.push(S[e[0]],S[e[1]])}if(N=[...N,{placement:a,overflows:_}],!_.every((e=>e<=0))){var z,j;const e=((null==(z=n.flip)?void 0:z.index)||0)+1,t=B[e];if(t){if(!("alignment"===u&&b!==Ag(t))||N.every((e=>Ag(e.placement)!==b||e.overflows[0]>0)))return{data:{index:e,overflows:N},reset:{placement:t}}}let r=null==(j=N.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:j.placement;if(!r)switch(p){case"bestFit":{var T;const e=null==(T=N.filter((e=>{if(k){const t=Ag(e.placement);return t===b||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:T[0];e&&(r=e);break}case"initialPlacement":r=s}if(a!==r)return{reset:{placement:r}}}return{}}}},Zv=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var r,o;const{placement:a,rects:n,platform:i,elements:s}=t,{apply:l=(()=>{}),...c}=jg(e,t),d=await Ug(t,c),u=Tg(a),f=Cg(a),p="y"===Ag(a),{width:h,height:g}=n.floating;let v,m;"top"===u||"bottom"===u?(v=u,m=f===(await(null==i.isRTL?void 0:i.isRTL(s.floating))?"start":"end")?"left":"right"):(m=u,v="end"===f?"top":"bottom");const b=g-d.top-d.bottom,x=h-d.left-d.right,y=wg(g-d[v],b),w=wg(h-d[m],x),k=!t.middlewareData.shift;let B=y,S=w;if(null!=(r=t.middlewareData.shift)&&r.enabled.x&&(S=x),null!=(o=t.middlewareData.shift)&&o.enabled.y&&(B=b),k&&!f){const e=kg(d.left,0),t=kg(d.right,0),r=kg(d.top,0),o=kg(d.bottom,0);p?S=h-2*(0!==e||0!==t?e+t:kg(d.left,d.right)):B=g-2*(0!==r||0!==o?r+o:kg(d.top,d.bottom))}await l({...t,availableWidth:S,availableHeight:B});const _=await i.getDimensions(s.floating);return h!==_.width||g!==_.height?{reset:{rects:!0}}:{}}}},$v=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:o="referenceHidden",...a}=jg(e,t);switch(o){case"referenceHidden":{const e=Gg(await Ug(t,{...a,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:Xg(e)}}}case"escaped":{const e=Gg(await Ug(t,{...a,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:Xg(e)}}}default:return{}}}}},Wv=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:o,placement:a,rects:n,platform:i,elements:s,middlewareData:l}=t,{element:c,padding:d=0}=jg(e,t)||{};if(null==c)return{};const u=Zg(d),f={x:r,y:o},p=Fg(a),h=Pg(p),g=await i.getDimensions(c),v="y"===p,m=v?"top":"left",b=v?"bottom":"right",x=v?"clientHeight":"clientWidth",y=n.reference[h]+n.reference[p]-f[p]-n.floating[h],w=f[p]-n.reference[p],k=await(null==i.getOffsetParent?void 0:i.getOffsetParent(c));let B=k?k[x]:0;B&&await(null==i.isElement?void 0:i.isElement(k))||(B=s.floating[x]||n.floating[h]);const S=y/2-w/2,_=B/2-g[h]/2-1,N=wg(u[m],_),z=wg(u[b],_),j=N,T=B-g[h]-z,C=B/2-g[h]/2+S,D=zg(j,C,T),P=!l.arrow&&null!=Cg(a)&&C!==D&&n.reference[h]/2-(C<j?N:z)-g[h]/2<0,E=P?C<j?C-j:C-T:0;return{[p]:f[p]+E,data:{[p]:D,centerOffset:C-D-E,...P&&{alignmentOffset:E}},reset:P}}}),Uv=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:r,y:o,placement:a,rects:n,middlewareData:i}=t,{offset:s=0,mainAxis:l=!0,crossAxis:c=!0}=jg(e,t),d={x:r,y:o},u=Ag(a),f=Dg(u);let p=d[f],h=d[u];const g=jg(s,t),v="number"==typeof g?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(l){const e="y"===f?"height":"width",t=n.reference[f]-n.floating[e]+v.mainAxis,r=n.reference[f]+n.reference[e]-v.mainAxis;p<t?p=t:p>r&&(p=r)}if(c){var m,b;const e="y"===f?"width":"height",t=Kg.has(Tg(a)),r=n.reference[u]-n.floating[e]+(t&&(null==(m=i.offset)?void 0:m[u])||0)+(t?0:v.crossAxis),o=n.reference[u]+n.reference[e]+(t?0:(null==(b=i.offset)?void 0:b[u])||0)-(t?v.crossAxis:0);h<r?h=r:h>o&&(h=o)}return{[f]:p,[u]:h}}}},Gv=(e,t,r)=>{const o=new Map,a={platform:Lv,...r},n={...a.platform,_c:o};return(async(e,t,r)=>{const{placement:o="bottom",strategy:a="absolute",middleware:n=[],platform:i}=r,s=n.filter(Boolean),l=await(null==i.isRTL?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:a}),{x:d,y:u}=Wg(c,o,l),f=o,p={},h=0;for(let g=0;g<s.length;g++){const{name:r,fn:n}=s[g],{x:v,y:m,data:b,reset:x}=await n({x:d,y:u,initialPlacement:o,placement:f,strategy:a,middlewareData:p,rects:c,platform:i,elements:{reference:e,floating:t}});d=null!=v?v:d,u=null!=m?m:u,p={...p,[r]:{...p[r],...b}},x&&h<=50&&(h++,"object"==typeof x&&(x.placement&&(f=x.placement),x.rects&&(c=!0===x.rects?await i.getElementRects({reference:e,floating:t,strategy:a}):x.rects),({x:d,y:u}=Wg(c,f,l))),g=-1)}return{x:d,y:u,placement:f,strategy:a,middlewareData:p}})(e,t,{...a,platform:n})};function Xv(e){const t=e.split("-");return{side:t[0],alignment:t[1]}}const Kv=e=>{const t=e&&(e=>"HTML"===e.nodeName?e:e.parentNode||e.host)(e);if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}const{overflow:r,overflowX:o,overflowY:a}=(e=>{var t;if(1!==e.nodeType)return{};const r=null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView;return r?r.getComputedStyle(e,null):{}})(t);return/(auto|scroll|overlay)/.test(r+a+o)?t:Kv(t)};function Jv(e,t){if("window"===t)return null==e?void 0:e.ownerDocument.documentElement;if("clippingParents"===t)return"clippingAncestors";if("scrollParent"===t){let t=Kv(e);return"BODY"===t.nodeName&&(t=null==e?void 0:e.ownerDocument.documentElement),t}return t}function Yv(e,t){return"number"==typeof e||"object"==typeof e&&null!==e?Qv(e,t):"function"==typeof e?r=>{const o=e(r);return Qv(o,t)}:{mainAxis:t}}const Qv=(e,t)=>{return"number"==typeof e?{mainAxis:e+t}:{...e,mainAxis:(null!==(r=e.mainAxis)&&void 0!==r?r:0)+t};var r};function em(e,t){if("number"==typeof e)return e;const{start:r,end:o,...a}=e,n=a,i=t?"end":"start",s=t?"start":"end";return e[i]&&(n.left=e[i]),e[s]&&(n.right=e[s]),n}const tm=(e,t,r)=>{const o=((e,t)=>{const r="above"===e||"below"===e,o="top"===t||"bottom"===t;return r&&o||!r&&!o})(t,e)?"center":e,a=t&&(e=>({above:"top",below:"bottom",before:e?"right":"left",after:e?"left":"right"}))(r)[t],n=o&&{start:"start",end:"end",top:"start",bottom:"end",center:void 0}[o];return a&&n?`${a}-${n}`:a},rm={above:{position:"above",align:"center"},"above-start":{position:"above",align:"start"},"above-end":{position:"above",align:"end"},below:{position:"below",align:"center"},"below-start":{position:"below",align:"start"},"below-end":{position:"below",align:"end"},before:{position:"before",align:"center"},"before-top":{position:"before",align:"top"},"before-bottom":{position:"before",align:"bottom"},after:{position:"after",align:"center"},"after-top":{position:"after",align:"top"},"after-bottom":{position:"after",align:"bottom"}};function om(e){return null==e?{}:"string"==typeof e?rm[e]:e}function am(e,t,r){const o=s.exports.useRef(!0),[a]=s.exports.useState((()=>({value:e,callback:t,facade:{get current(){return a.value},set current(e){const t=a.value;if(t!==e){if(a.value=e,r&&o.current)return;a.callback(e,t)}}}})));return zo((()=>{o.current=!1}),[]),a.callback=t,a.facade}function nm(e){const t=[];let r=e;for(;r;){const o=Kv(r);if(e.ownerDocument.body===o){t.push(o);break}if("BODY"===o.nodeName&&o!==e.ownerDocument.body)break;t.push(o),r=o}return t}function im(e){let t=!1;const{container:r,target:o,arrow:a,strategy:n,middleware:i,placement:s,useTransform:l=!0,disableUpdateOnResize:c=!1}=e,d=r.ownerDocument.defaultView;if(!o||!r||!d)return{updatePosition:()=>{},dispose:()=>{}};const u=c?null:function(e,t){return new e.ResizeObserver(t)}(d,(e=>{e.every((e=>e.contentRect.width>0&&e.contentRect.height>0))&&g()}));let f=!0;const p=new Set;Object.assign(r.style,{position:"fixed",left:0,top:0,margin:0});const h=()=>{t||(f&&(nm(r).forEach((e=>p.add(e))),$o(o)&&nm(o).forEach((e=>p.add(e))),p.forEach((e=>{e.addEventListener("scroll",g,{passive:!0})})),null==u||u.observe(r),$o(o)&&(null==u||u.observe(o)),f=!1),Object.assign(r.style,{position:n}),Gv(o,r,{placement:s,middleware:i,strategy:n}).then((({x:e,y:o,middlewareData:i,placement:s})=>{t||(!function(e){const{arrow:t,middlewareData:r}=e;if(!r.arrow||!t)return;const{x:o,y:a}=r.arrow;Object.assign(t.style,{left:null!=o?`${o}px`:"",top:null!=a?`${a}px`:""})}({arrow:a,middlewareData:i}),function(e){var t,r,o;const{container:a,placement:n,middlewareData:i,strategy:s,lowPPI:l,coordinates:c,useTransform:d=!0}=e;if(!a)return;a.setAttribute("data-popper-placement",n),a.removeAttribute("data-popper-is-intersecting"),i.intersectionObserver.intersecting&&a.setAttribute("data-popper-is-intersecting",""),a.removeAttribute("data-popper-escaped"),(null===(t=i.hide)||void 0===t?void 0:t.escaped)&&a.setAttribute("data-popper-escaped",""),a.removeAttribute("data-popper-reference-hidden"),(null===(r=i.hide)||void 0===r?void 0:r.referenceHidden)&&a.setAttribute("data-popper-reference-hidden","");const u=(null===(o=a.ownerDocument.defaultView)||void 0===o?void 0:o.devicePixelRatio)||1,f=Math.round(c.x*u)/u,p=Math.round(c.y*u)/u;Object.assign(a.style,{position:s}),d?Object.assign(a.style,{transform:l?`translate(${f}px, ${p}px)`:`translate3d(${f}px, ${p}px, 0)`}):Object.assign(a.style,{left:`${f}px`,top:`${p}px`})}({container:r,middlewareData:i,placement:s,coordinates:{x:e,y:o},lowPPI:((null==d?void 0:d.devicePixelRatio)||1)<=1,strategy:n,useTransform:l}),r.dispatchEvent(new CustomEvent("fui-positioningend")))})).catch((e=>{})))},g=function(e){let t;return()=>(t||(t=new Promise((r=>{Promise.resolve().then((()=>{t=void 0,r(e())}))}))),t)}((()=>h()));return d&&(d.addEventListener("scroll",g,{passive:!0}),d.addEventListener("resize",g)),g(),{updatePosition:g,dispose:()=>{t=!0,d&&(d.removeEventListener("scroll",g),d.removeEventListener("resize",g)),p.forEach((e=>{e.removeEventListener("scroll",g)})),p.clear(),null==u||u.disconnect()}}}function sm(e){const{hasScrollableElement:t,flipBoundary:r,container:o,fallbackPositions:a=[],isRtl:n}=e,i=a.reduce(((e,t)=>{const{position:r,align:o}=om(t),a=tm(o,r,n);return a&&e.push(a),e}),[]);return Vv({...t&&{boundary:"clippingAncestors"},...r&&{altBoundary:!0,boundary:Jv(o,r)},fallbackStrategy:"bestFit",...i.length&&{fallbackPlacements:i}})}const lm=e=>({name:"resetMaxSize",fn({middlewareData:t,elements:r}){var o;if(null===(o=t.resetMaxSize)||void 0===o?void 0:o.maxSizeAlreadyReset)return{};const{applyMaxWidth:a,applyMaxHeight:n}=e;return a&&(r.floating.style.removeProperty("box-sizing"),r.floating.style.removeProperty("max-width"),r.floating.style.removeProperty("width")),n&&(r.floating.style.removeProperty("box-sizing"),r.floating.style.removeProperty("max-height"),r.floating.style.removeProperty("height")),{data:{maxSizeAlreadyReset:!0},reset:{rects:!0}}}});function cm(e,t){const{container:r,overflowBoundary:o,overflowBoundaryPadding:a,isRtl:n}=t;return Zv({...a&&{padding:em(a,n)},...o&&{altBoundary:!0,boundary:Jv(r,o)},apply({availableHeight:t,availableWidth:r,elements:o,rects:a}){const n=(e,t,r)=>{if(e&&(o.floating.style.setProperty("box-sizing","border-box"),o.floating.style.setProperty(`max-${t}`,`${r}px`),a.floating[t]>r)){o.floating.style.setProperty(t,`${r}px`);const e="width"===t?"x":"y";o.floating.style.getPropertyValue(`overflow-${e}`)||o.floating.style.setProperty(`overflow-${e}`,"auto")}},{applyMaxWidth:i,applyMaxHeight:s}=e;n(i,"width",r),n(s,"height",t)}})}function dm(e){return e?"number"==typeof e||"object"==typeof e?e:({rects:{floating:t,reference:r},placement:o})=>{const{position:a,alignment:n}=(e=>{const{side:t,alignment:r}=Xv(e),o={top:"above",bottom:"below",right:"after",left:"before"}[t],a=r&&(e=>"above"===e||"below"===e?{start:"start",end:"end"}:{start:"top",end:"bottom"})(o)[r];return{position:o,alignment:a}})(o);return e({positionedRect:t,targetRect:r,position:a,alignment:n})}:e}function um(e){const t=dm(e);return qv(t)}function fm(e){const{hasScrollableElement:t,shiftToCoverTarget:r,disableTether:o,overflowBoundary:a,container:n,overflowBoundaryPadding:i,isRtl:s}=e;return Hv({...t&&{boundary:"clippingAncestors"},...r&&{crossAxis:!0,limiter:Uv({crossAxis:!0,mainAxis:!1})},...o&&{crossAxis:"all"===o,limiter:Uv({crossAxis:"all"!==o,mainAxis:!1})},...i&&{padding:em(i,s)},...a&&{altBoundary:!0,boundary:Jv(n,a)}})}function pm(e){const{dir:t,targetDocument:r}=ao(),o="rtl"===t,a=function(e,t){const{align:r,arrowPadding:o,autoSize:a,coverTarget:n,disableUpdateOnResize:i,flipBoundary:l,offset:c,overflowBoundary:d,pinned:u,position:f,unstable_disableTether:p,strategy:h,overflowBoundaryPadding:g,fallbackPositions:v,useTransform:m,matchTargetSize:b,shiftToCoverTarget:x}=t;return s.exports.useCallback(((t,s)=>e({container:t,arrow:s,options:{autoSize:a,disableUpdateOnResize:i,matchTargetSize:b,offset:c,strategy:h,coverTarget:n,flipBoundary:l,overflowBoundary:d,useTransform:m,overflowBoundaryPadding:g,pinned:u,arrowPadding:o,align:r,fallbackPositions:v,shiftToCoverTarget:x,position:f,unstable_disableTether:p}})),[a,i,b,c,h,n,l,d,m,g,u,o,r,v,x,f,p,e])}(null!==(n=s.exports.useContext(xg))&&void 0!==n?n:bg,e);var n;const{positionFixed:i}=e;return s.exports.useCallback(((e,t)=>{const r=(e=>{var t;const r=Kv(e);return!!r&&r!==(null===(t=r.ownerDocument)||void 0===t?void 0:t.body)})(e),n=a(e,t),{autoSize:s,disableUpdateOnResize:l,matchTargetSize:c,offset:d,coverTarget:u,flipBoundary:f,overflowBoundary:p,useTransform:h,overflowBoundaryPadding:g,pinned:v,position:m,arrowPadding:b,strategy:x,align:y,fallbackPositions:w,shiftToCoverTarget:k,unstable_disableTether:B}=n,S=(e=>{switch(e){case"always":case!0:return{applyMaxWidth:!0,applyMaxHeight:!0};case"width-always":case"width":return{applyMaxWidth:!0,applyMaxHeight:!1};case"height-always":case"height":return{applyMaxWidth:!1,applyMaxHeight:!0};default:return!1}})(s),_=[S&&lm(S),c&&{name:"matchTargetSize",fn:async e=>{const{rects:{reference:t,floating:r},elements:{floating:o},middlewareData:{matchTargetSize:{matchTargetSizeAttempt:a=!1}={}}}=e;if(t.width===r.width||a)return{};const{width:n}=t;return o.style.setProperty("--fui-match-target-size",`${n}px`),o.style.width||(o.style.width="var(--fui-match-target-size)"),{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}},d&&um(d),u&&{name:"coverTarget",fn:e=>{const{placement:t,rects:r,x:o,y:a}=e,n={x:o,y:a};switch(Xv(t).side){case"bottom":n.y-=r.reference.height;break;case"top":n.y+=r.reference.height;break;case"left":n.x+=r.reference.width;break;case"right":n.x-=r.reference.width}return n}},!v&&sm({container:e,flipBoundary:f,hasScrollableElement:r,isRtl:o,fallbackPositions:w}),fm({container:e,hasScrollableElement:r,overflowBoundary:p,disableTether:B,overflowBoundaryPadding:g,isRtl:o,shiftToCoverTarget:k}),S&&cm(S,{container:e,overflowBoundary:p,overflowBoundaryPadding:g,isRtl:o}),{name:"intersectionObserver",fn:async e=>{const t=e.rects.floating,r=await Ov(e,{altBoundary:!0}),o=r.top<t.height&&r.top>0,a=r.bottom<t.height&&r.bottom>0;return{data:{intersecting:o||a}}}},t&&Wv({element:t,padding:b}),$v({strategy:"referenceHidden"}),$v({strategy:"escaped"}),!1].filter(Boolean);return{placement:tm(y,m,o),middleware:_,strategy:(null!=x?x:i)?"fixed":"absolute",disableUpdateOnResize:l,useTransform:h}}),[a,o,r,i])}function hm(e){const t=s.exports.useRef(null),r=s.exports.useRef(null),o=s.exports.useRef(null),a=s.exports.useRef(null),n=s.exports.useRef(null),{enabled:i=!0}=e,l=pm(e),c=s.exports.useCallback((()=>{var e;t.current&&t.current.dispose(),t.current=null;const s=null!==(e=o.current)&&void 0!==e?e:r.current;i&&Bo()&&s&&a.current&&(t.current=im({container:a.current,target:s,arrow:n.current,...l(a.current,n.current)}))}),[i,l]),d=jo((e=>{o.current=e,c()}));s.exports.useImperativeHandle(e.positioningRef,(()=>({updatePosition:()=>{var e;return null===(e=t.current)||void 0===e?void 0:e.updatePosition()},setTarget:t=>{e.target,d(t)}})),[e.target,d]),zo((()=>{var t;d(null!==(t=e.target)&&void 0!==t?t:null)}),[e.target,d]),zo((()=>{c()}),[c]);const u=am(null,(e=>{r.current!==e&&(r.current=e,c())})),f=jo((()=>{var t;return null===(t=e.onPositioningEnd)||void 0===t?void 0:t.call(e)}));return{targetRef:u,containerRef:am(null,(e=>{var t;a.current!==e&&(null===(t=a.current)||void 0===t||t.removeEventListener("fui-positioningend",f),null==e||e.addEventListener("fui-positioningend",f),a.current=e,c())})),arrowRef:am(null,(e=>{n.current!==e&&(n.current=e,c())}))}}const gm=e=>{const[t,r]=s.exports.useState(e);return[t,e=>{if(null==e)return void r(void 0);let t;t=e instanceof MouseEvent?e:e.nativeEvent,MouseEvent;const o=function(e){const t=e.clientX,r=e.clientY,o=t+1,a=r+1;return{getBoundingClientRect:function(){return{left:t,top:r,right:o,bottom:a,x:t,y:r,height:1,width:1}}}}(t);r(o)}]};function vm(){let e=!1;const t=[];return{isActive:()=>e,toggleActive(r){e!==r&&(e=r,t.forEach((t=>t(e))))},subscribe:e=>(t.push(e),()=>{const r=t.indexOf(e);r>-1&&t.splice(r,1)})}}var mm={exports:{}},bm={},xm=s.exports;var ym="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},wm=xm.useState,km=xm.useEffect,Bm=xm.useLayoutEffect,Sm=xm.useDebugValue;function _m(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!ym(e,r)}catch(o){return!0}}var Nm="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),o=wm({inst:{value:r,getSnapshot:t}}),a=o[0].inst,n=o[1];return Bm((function(){a.value=r,a.getSnapshot=t,_m(a)&&n({inst:a})}),[e,r,t]),km((function(){return _m(a)&&n({inst:a}),e((function(){_m(a)&&n({inst:a})}))}),[e]),Sm(r),r};function zm(e,t){return{topLeft:[e.left-t[0],e.top-t[1]],topRight:[e.right-t[0],e.top-t[1]],bottomRight:[e.right-t[0],e.bottom-t[1]],bottomLeft:[e.left-t[0],e.bottom-t[1]]}}bm.useSyncExternalStore=void 0!==xm.useSyncExternalStore?xm.useSyncExternalStore:Nm,mm.exports=bm;function jm(e,t){return Math.sqrt((e[0]-t[0])**2+(e[1]-t[1])**2)}function Tm(e,t,r){const o=[(e[0]+t[0])/2,(e[1]+t[1])/2],a=function(e,t){const r=jm(e,t);return 0===r?[0,0]:[(e[0]-t[0])/r,(e[1]-t[1])/r]}([r[0],r[1]],[o[0],o[1]]),n=jm([o[0],o[1]],[r[0],r[1]]);return[o[0]+a[0]*(n+20),o[1]+a[1]*(n+20)]}function Cm(e){return`M ${e} z`}const Dm=xr({wrapper:{mc9l5x:"fjseox",Bqenvij:"fniina8",a9b677:"f3tsq5r",Bkecrkj:"f1aehjj5"},wrapperActive:{mc9l5x:"ftgm304"},svg:{Bkfmm31:"f1au8mb3",Bkecrkj:"f1aehjj5",qhf8xq:"f19dog8a",Bhzewxz:"f15twtuk",oyh7mz:["f1vgc2s3","f1e31b4d"]},triangle:{Bkecrkj:"f1cguypg"},triangleDebug:{Bceei9c:"f7116n6",Bkfmm31:"f1xab38x"},rectDebug:{Bkfmm31:"fyegryc"}},{d:[".fjseox{display:none;}",".fniina8{height:0;}",".f3tsq5r{width:0;}",".f1aehjj5{pointer-events:none;}",".ftgm304{display:block;}",".f1au8mb3{fill:transparent;}",".f19dog8a{position:fixed;}",".f15twtuk{top:0;}",".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".f1cguypg{pointer-events:auto;}",".f7116n6{cursor:crosshair;}",".f1xab38x{fill:color-mix(in srgb, var(--colorPaletteGreenBackground3) 20%, transparent);}",".fyegryc{fill:color-mix(in srgb, var(--colorPaletteRedBackground3) 20%, transparent);}"]});function Pm(e){if(e.width<=0||e.height<=0)return"";let t="";return t+=`M ${e.x},${e.y} `,t+=`V ${e.y+e.height} `,t+=`H ${e.x+e.width} `,t+=`V ${e.y} `,t+=`H ${e.x} `,t+="Z ",t}const Em={top:0,right:0,bottom:0,left:0,width:0,height:0,x:0,y:0,toJSON:()=>""};function Am(e,t){return e.top===t.top&&e.right===t.right&&e.bottom===t.bottom&&e.left===t.left&&e.width===t.width&&e.height===t.height}const Fm=s.exports.memo((e=>{const{debug:t,onMouseEnter:r,onMouseMove:o,onMouseLeave:a,stateStore:n}=e,i=Po(),l=Dm(),c=mm.exports.useSyncExternalStore(n.subscribe,n.isActive),d=s.exports.useRef(null),[u,f]=s.exports.useState((()=>({containerRect:Em,targetRect:Em,mouseCoordinates:[0,0]})));s.exports.useImperativeHandle(e.imperativeRef,(()=>({updateSVG(e){f((t=>{return Am(t.containerRect,e.containerRect)&&Am(t.targetRect,e.targetRect)&&(r=t.mouseCoordinates,o=e.mouseCoordinates,r[0]===o[0]&&r[1]===o[1])?t:e;var r,o}))}})),[]);const{containerRect:p,targetRect:h,mouseCoordinates:g}=u,v=Math.min(h.top,p.top),m=Math.min(h.left,p.left),b=Math.max(h.bottom,p.bottom),x=Math.max(h.right,p.right),y=zm(p,[m,v]),w=zm(h,[m,v]),k=[g[0]-m,g[1]-v],B=Tm(y.topLeft,y.bottomRight,k),S=[B,y.topLeft,y.topRight],_=[B,y.topRight,y.bottomRight],N=[B,y.bottomRight,y.bottomLeft],z=[B,y.bottomLeft,y.topLeft],j=x-m,T=b-v,C=function(e,t,r,o){let a=`M 0,0 H ${e} V ${t} H 0 Z `;return a+=Pm(r),a+=Pm(o),a}(j,T,{x:w.topLeft[0],y:w.topLeft[1],width:h.width,height:h.height},{x:y.topLeft[0],y:y.topLeft[1],width:p.width,height:p.height});return s.exports.createElement("div",{className:rt(l.wrapper,c&&l.wrapperActive),"data-safe-zone":""},c?s.exports.createElement("svg",{"aria-hidden":!0,className:l.svg,xmlns:"http://www.w3.org/2000/svg",ref:d,style:{width:`${j}px`,height:`${T}px`,transform:`translate(${m}px, ${v}px)`}},s.exports.createElement("g",{className:rt(l.triangle,t&&l.triangleDebug),clipPath:`url(#${i})`,onMouseEnter:r,onMouseMove:o,onMouseLeave:a},s.exports.createElement("path",{d:Cm(S)}),s.exports.createElement("path",{d:Cm(_)}),s.exports.createElement("path",{d:Cm(N)}),s.exports.createElement("path",{d:Cm(z)})),s.exports.createElement("clipPath",{id:i},s.exports.createElement("path",{d:C})),t&&s.exports.createElement("path",{className:l.rectDebug,d:C})):null)}));const Rm=Zl(void 0),Im={open:!1,setOpen:()=>null,toggleOpen:()=>null,triggerRef:{current:null},contentRef:{current:null},arrowRef:{current:null},openOnContext:!1,openOnHover:!1,size:"medium",trapFocus:!1,inline:!1};Rm.Provider;const Mm=e=>$l(Rm,((t=Im)=>e(t)));function Lm(e){return $o(e)?{element:e}:"object"==typeof e?null===e?{element:null}:e:{}}const Om=xr({root:{qhf8xq:"f1euv43f",Bhzewxz:"f15twtuk",oyh7mz:["f1vgc2s3","f1e31b4d"],j35jbq:["f1e31b4d","f1vgc2s3"],Bj3rh1h:"f494woh"}},{d:[".f1euv43f{position:absolute;}",".f15twtuk{top:0;}",".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".f494woh{z-index:1000000;}"]}),qm=l.useInsertionEffect,Hm=()=>{let e;return{get:function(t,r){return e||(r&&(e=t.ownerDocument.createElement("div"),t.appendChild(e)),e)},dispose:function(){e&&(e.remove(),e=void 0)}}},Vm=qm?e=>{const{className:t,dir:r,focusVisibleRef:o,targetNode:a}=e,[n]=s.exports.useState(Hm),i=s.exports.useMemo((()=>void 0===a||e.disabled?null:new Proxy({},{get(e,t){if("nodeType"===t)return 1;if("remove"===t){const e=n.get(a,!1);if(e){0===e.childNodes.length&&n.dispose()}return()=>{}}const r=n.get(a,!0),o=r?r[t]:void 0;return"function"==typeof o?o.bind(r):o},set(e,t,r){const o="_virtual"===t||"focusVisible"===t,i=o?n.get(a,!1):n.get(a,!0);return!(!o||i)||!!i&&(Object.assign(i,{[t]:r}),!0)}})),[n,a,e.disabled]);return qm((()=>{if(!i)return;const e=t.split(" ").filter(Boolean);return i.classList.add(...e),i.setAttribute("dir",r),i.setAttribute("data-portal-node","true"),o.current=i,()=>{i.classList.remove(...e),i.removeAttribute("dir")}}),[t,r,i,o]),s.exports.useEffect((()=>()=>{null==i||i.remove()}),[i]),i}:e=>{const{className:t,dir:r,focusVisibleRef:o,targetNode:a}=e,n=s.exports.useMemo((()=>{if(void 0===a||e.disabled)return null;const t=a.ownerDocument.createElement("div");return a.appendChild(t),t}),[a,e.disabled]);return s.exports.useMemo((()=>{n&&(n.className=t,n.setAttribute("dir",r),n.setAttribute("data-portal-node","true"),o.current=n)}),[t,r,n,o]),s.exports.useEffect((()=>()=>{null==n||n.remove()}),[n]),n},Zm=e=>{const{targetDocument:t,dir:r}=ao(),o=s.exports.useContext(vo),a=Ai(),n=Om(),i=null!==(l=s.exports.useContext(Kr))&&void 0!==l?l:"";var l;const c={dir:r,disabled:e.disabled,focusVisibleRef:a,className:rt(i,n.root,e.className),targetNode:null!=o?o:null==t?void 0:t.body};return Vm(c)},$m=e=>{const t=(e=>{const{element:t,className:r}=Lm(e.mountNode),o=s.exports.useRef(null),a=Zm({disabled:!!t,className:r}),n=null!=t?t:a,i={children:e.children,mountNode:n,virtualParentRootRef:o};return s.exports.useEffect((()=>{if(!n)return;const e=o.current,t=n.contains(e);return e&&!t?(ra(n,e),()=>{ra(n,void 0)}):void 0}),[o,n]),i})(e);return(e=>s.exports.createElement("span",{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&u.exports.createPortal(s.exports.createElement(s.exports.Fragment,null,e.children,s.exports.createElement("span",{hidden:!0})),e.mountNode)))(t)};$m.displayName="Portal";const Wm="fui-PopoverSurface",Um={small:6,medium:8,large:8},Gm=xr({root:{sj55zd:"f19n0e5",De3pzq:"fxugw4r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f9ggezi",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",B93otf3:"f18k4bn6",vin17d:"fo1kyvf",Ezkn3b:"fetxo7e",nyiy2g:"f8x1vz1",swvrvq:"f8g0anz",Bkovbt3:"fezwn9i",hgjdhn:"fz5efge",fsy9dk:"f1ydixl4",B3ogreh:"f8dgqj5",jv49x5:"fnyfnr8",Bk7o48c:"fgw77r4",Bv12yb3:"f1noc5he",z0t1cu:"fi19xcv",Bks05zx:"f1mxk9aa",Bvtglag:"ffzg62k",Bhu2qc9:"fymb6k8"},inline:{Bj3rh1h:"f19g0ac"},inverted:{De3pzq:"fg3r6xk",sj55zd:"fonrgv7"},brand:{De3pzq:"ffp7eso",sj55zd:"f1phragk"},smallPadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1sy4kr4"},mediumPadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4zyqsv"},largePadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fop8ug2"},smallArrow:{rhnwrx:"f1s3jn22",Bdy53xb:"fv40uqz"},mediumLargeArrow:{rhnwrx:"f1f72gjr",Bdy53xb:"f69yoe5"},arrow:{B7ck84d:"f1ewtqcl",qhf8xq:"f1euv43f",Bj3rh1h:"f1bsuimh",De3pzq:"f1u2r49w",B2eet1l:"fqhgnl",Beyfa6y:"f17bz04i",Bz10aip:"f36o3x3",Bqenvij:"fzofk8q",a9b677:"f1wbx1ie",Ftih45:"f1wl9k8s",Br0sdwz:"f1aocrix",cmx5o7:"f1ljr5q2",susq4k:0,Biibvgv:0,Bicfajf:0,qehafq:0,Brs5u8j:"f155f1qt",Ccq8qp:"f9mhzq7",Baz25je:"fr6rhvx",Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1kc0wz4",r59vdv:"fgq90dz",Bkw5xw4:"fq0y47f",hl6cv3:"f1pwrbz6",aea9ga:"f1hxxcvm",yayu3t:"fw8rgyo",Bhsv975:"f1wnzycx",rhl9o9:"f1730wal",B7gxrvb:"f1fy4ixr",B6q6orb:"fobkauc",B0lu1f8:"f16bqv1l"}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f18k4bn6{animation-composition:accumulate;}",".fo1kyvf{animation-duration:var(--durationSlower);}",".fetxo7e{animation-timing-function:var(--curveDecelerateMid);}",".f8x1vz1{--fui-positioning-slide-distance-x:0px;}",".f8g0anz{--fui-positioning-slide-distance-y:10px;}",".fezwn9i[data-popper-placement^=right]{--fui-positioning-slide-distance-x:-10px;}",".fz5efge[data-popper-placement^=right]{--fui-positioning-slide-distance-y:0px;}",".f1ydixl4[data-popper-placement^=bottom]{--fui-positioning-slide-distance-x:0px;}",".f8dgqj5[data-popper-placement^=bottom]{--fui-positioning-slide-distance-y:-10px;}",".fnyfnr8[data-popper-placement^=left]{--fui-positioning-slide-distance-x:10px;}",".fgw77r4[data-popper-placement^=left]{--fui-positioning-slide-distance-y:0px;}",".f1noc5he{animation-name:f1m0q9mo,f79suad;}",".fymb6k8{filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 8px 16px var(--colorNeutralShadowKey));}",".f19g0ac{z-index:1;}",".fg3r6xk{background-color:var(--colorNeutralBackgroundStatic);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",[".f1sy4kr4{padding:12px;}",{p:-1}],[".f4zyqsv{padding:16px;}",{p:-1}],[".fop8ug2{padding:20px;}",{p:-1}],".f1s3jn22{--fui-positioning-arrow-height:8.484px;}",".fv40uqz{--fui-positioning-arrow-offset:-4.242px;}",".f1f72gjr{--fui-positioning-arrow-height:11.312px;}",".f69yoe5{--fui-positioning-arrow-offset:-5.656px;}",".f1ewtqcl{box-sizing:border-box;}",".f1euv43f{position:absolute;}",".f1bsuimh{z-index:-1;}",".f1u2r49w{background-color:inherit;}",".fqhgnl{background-clip:content-box;}",".f17bz04i{border-bottom-left-radius:var(--borderRadiusSmall);}",".f36o3x3{transform:rotate(var(--fui-positioning-arrow-angle));}",".fzofk8q{height:var(--fui-positioning-arrow-height);}",".f1wbx1ie{width:var(--fui-positioning-arrow-height);}",'.f1wl9k8s::before{content:"";}',".f1aocrix::before{display:block;}",".f1ljr5q2::before{background-color:inherit;}",[".f155f1qt::before{margin:-1px;}",{p:-1}],".f9mhzq7::before{width:100%;}",".fr6rhvx::before{height:100%;}",[".f1kc0wz4::before{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fgq90dz::before{border-bottom-left-radius:var(--borderRadiusSmall);}",".fq0y47f::before{clip-path:polygon(0% 0%, 100% 100%, 0% 100%);}",'[data-popper-placement^="top"] .f1pwrbz6{bottom:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="top"] .f1hxxcvm{--fui-positioning-arrow-angle:-45deg;}','[data-popper-placement^="right"] .fw8rgyo{left:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="right"] .f1wnzycx{--fui-positioning-arrow-angle:45deg;}','[data-popper-placement^="bottom"] .f1730wal{top:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="bottom"] .f1fy4ixr{--fui-positioning-arrow-angle:135deg;}','[data-popper-placement^="left"] .fobkauc{right:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="left"] .f16bqv1l{--fui-positioning-arrow-angle:225deg;}'],k:["@keyframes f1m0q9mo{from{opacity:-1;}to{opacity:0;}}","@keyframes f79suad{from{transform:translate(var(--fui-positioning-slide-distance-x), var(--fui-positioning-slide-distance-y));}}"],m:[["@media (prefers-reduced-motion){.fi19xcv[data-popper-placement]{animation-duration:1ms;}}",{m:"(prefers-reduced-motion)"}],["@media (prefers-reduced-motion){.f1mxk9aa[data-popper-placement]{animation-name:f1m0q9mo;}}",{m:"(prefers-reduced-motion)"}]],t:["@supports not (animation-composition: accumulate){.ffzg62k[data-popper-placement]{animation-name:f1m0q9mo;}}"]}),Xm=s.exports.forwardRef(((e,t)=>{const r=((e,t)=>{const r=Mm((e=>e.contentRef)),o=Mm((e=>e.openOnHover)),a=Mm((e=>e.setOpen)),n=Mm((e=>e.mountNode)),i=Mm((e=>e.arrowRef)),s=Mm((e=>e.size)),l=Mm((e=>e.withArrow)),c=Mm((e=>e.appearance)),d=Mm((e=>e.trapFocus)),u=Mm((e=>e.inertTrapFocus)),f=Mm((e=>e.inline)),{modalAttributes:p}=Vi({trapFocus:d,legacyTrapFocus:!u,alwaysFocusable:!d}),h={inline:f,appearance:c,withArrow:l,size:s,arrowRef:i,mountNode:n,components:{root:"div"},root:Sr(Wr("div",{ref:Eo(t,r),role:d?"dialog":"group","aria-modal":!!d||void 0,...p,...e}),{elementType:"div"})},{onMouseEnter:g,onMouseLeave:v,onKeyDown:m}=h.root;return h.root.onMouseEnter=e=>{o&&a(e,!0),null==g||g(e)},h.root.onMouseLeave=e=>{o&&a(e,!1),null==v||v(e)},h.root.onKeyDown=e=>{var t;"Escape"===e.key&&(null===(t=r.current)||void 0===t?void 0:t.contains(e.target))&&(e.preventDefault(),a(e,!1)),null==m||m(e)},h})(e,t);return(e=>{const t=Gm();e.root.className=rt(Wm,t.root,e.inline&&t.inline,"small"===e.size&&t.smallPadding,"medium"===e.size&&t.mediumPadding,"large"===e.size&&t.largePadding,"inverted"===e.appearance&&t.inverted,"brand"===e.appearance&&t.brand,e.root.className),e.arrowClassName=rt(t.arrow,"small"===e.size?t.smallArrow:t.mediumLargeArrow)})(r),fo("usePopoverSurfaceStyles_unstable")(r),(e=>{const t=sa(e.root,{children:[e.withArrow&&ia("div",{ref:e.arrowRef,className:e.arrowClassName}),e.root.children]});return e.inline?t:ia($m,{mountNode:e.mountNode,children:t})})(r)}));Xm.displayName="PopoverSurface";const Km=e=>{const[t,r]=gm(),o={size:"medium",contextTarget:t,setContextTarget:r,...e},a=s.exports.Children.toArray(e.children);let n,i;2===a.length?(n=a[0],i=a[1]):1===a.length&&(i=a[0]);const[l,c]=function(e){const t=jo(((t,r)=>{var o;return null===(o=e.onOpenChange)||void 0===o?void 0:o.call(e,t,r)})),[r,o]=wo({state:e.open,defaultState:e.defaultOpen,initialState:!1});e.open=void 0!==r?r:e.open;const a=e.setContextTarget,n=s.exports.useCallback(((e,r)=>{r&&"contextmenu"===e.type&&a(e),r||a(void 0),o(r),null==t||t(e,{open:r})}),[o,t,a]);return[r,n]}(o),[d,u]=qo(),f=jo(((t,r)=>{var o;(u(),t instanceof Event||!t.persist||t.persist(),"mouseleave"===t.type)?d((()=>{c(t,r)}),null!==(o=e.mouseLeaveDelay)&&void 0!==o?o:500):c(t,r)})),p=s.exports.useCallback((e=>{f(e,!l)}),[f,l]),h=function(e){const t={position:"above",align:"center",arrowPadding:8,target:e.openOnContext?e.contextTarget:void 0,...om(e.positioning)};t.coverTarget&&(e.withArrow=!1);e.withArrow&&(t.offset=Yv(t.offset,Um[e.size]));const{targetRef:r,containerRef:o,arrowRef:a}=hm(t);return{triggerRef:r,contentRef:o,arrowRef:a}}(o),{targetDocument:g}=ao();var v;Fo({contains:ta,element:g,callback:e=>f(e,!1),refs:[h.triggerRef,h.contentRef],disabled:!l,disabledFocusOnIframe:!(null===(v=e.closeOnIframeFocus)||void 0===v||v)});const m=o.openOnContext||o.closeOnScroll;Mo({contains:ta,element:g,callback:e=>f(e,!1),refs:[h.triggerRef,h.contentRef],disabled:!l||!m});const{findFirstFocusable:b}=Di(),x=function(){const e=_i(yi),[t]=qo();return s.exports.useCallback((r=>{t((()=>{var t;null===(t=e.current)||void 0===t||t.activate(r)}),0)}),[e,t])}();var y,w;return s.exports.useEffect((()=>{if(e.unstable_disableAutoFocus)return;const t=h.contentRef.current;if(l&&t){var r;const e=!isNaN(null!==(r=t.getAttribute("tabIndex"))&&void 0!==r?r:void 0),o=e?t:b(t);null==o||o.focus(),e&&x(t)}}),[b,x,l,h.contentRef,e.unstable_disableAutoFocus]),{...o,...h,inertTrapFocus:null!==(y=e.inertTrapFocus)&&void 0!==y?y:void 0!==e.legacyTrapFocus&&!e.legacyTrapFocus,popoverTrigger:n,popoverSurface:i,open:l,setOpen:f,toggleOpen:p,setContextTarget:r,contextTarget:t,inline:null!==(w=e.inline)&&void 0!==w&&w}};const Jm=e=>(e=>{const{appearance:t,arrowRef:r,contentRef:o,inline:a,mountNode:n,open:i,openOnContext:l,openOnHover:c,setOpen:d,size:u,toggleOpen:f,trapFocus:p,triggerRef:h,withArrow:g,inertTrapFocus:v}=e;return s.exports.createElement(Rm.Provider,{value:{appearance:t,arrowRef:r,contentRef:o,inline:a,mountNode:n,open:i,openOnContext:l,openOnHover:c,setOpen:d,toggleOpen:f,triggerRef:h,size:u,trapFocus:p,inertTrapFocus:v,withArrow:g}},e.popoverTrigger,e.open&&e.popoverSurface)})(Km(e));Jm.displayName="Popover";const Ym=e=>{const t=(e=>{const{children:t,disableButtonEnhancement:r=!1}=e,o=Qo(t),a=Mm((e=>e.open)),n=Mm((e=>e.setOpen)),i=Mm((e=>e.toggleOpen)),s=Mm((e=>e.triggerRef)),l=Mm((e=>e.openOnHover)),c=Mm((e=>e.openOnContext)),{triggerAttributes:d}=Vi(),u={...d,"aria-expanded":`${a}`,...null==o?void 0:o.props,onMouseEnter:jo(Zo(null==o?void 0:o.props.onMouseEnter,(e=>{l&&n(e,!0)}))),onMouseLeave:jo(Zo(null==o?void 0:o.props.onMouseLeave,(e=>{l&&n(e,!1)}))),onContextMenu:jo(Zo(null==o?void 0:o.props.onContextMenu,(e=>{c&&(e.preventDefault(),n(e,!0))}))),ref:Eo(s,Vo(o))},f={...u,onClick:jo(Zo(null==o?void 0:o.props.onClick,(e=>{c||i(e)}))),onKeyDown:jo(Zo(null==o?void 0:o.props.onKeyDown,(e=>{e.key===ac&&a&&!e.isDefaultPrevented()&&(n(e,!1),e.preventDefault())})))},p=nc("button"===(null==o?void 0:o.type)||"a"===(null==o?void 0:o.type)?o.type:"div",f);return{children:Jo(e.children,nc("button"===(null==o?void 0:o.type)||"a"===(null==o?void 0:o.type)?o.type:"div",c?u:r?f:p))}})(e);return(e=>e.children)(t)};Ym.displayName="PopoverTrigger",Ym.isFluentTriggerComponent=!0;const Qm=e=>-1,eb=e=>{};const tb=e=>{var t,r,o,a,n,i,l;const c=null!==(d=s.exports.useContext(Yr))&&void 0!==d?d:Qr;var d;const u=function(){const e=No()!==So,[t,r]=s.exports.useState(e);return Bo()&&e&&s.exports.useLayoutEffect((()=>{r(!1)}),[]),t}(),{targetDocument:f}=ao(),[p,h]=wo({state:e.visible,initialState:!1}),{appearance:g="normal",children:v,content:m,withArrow:b=!1,positioning:x="above",onVisibleChange:y,relationship:w,showDelay:k=250,hideDelay:B=250,mountNode:S}=e,_={withArrow:b,positioning:x,showDelay:k,hideDelay:B,relationship:w,visible:p,shouldRenderTooltip:p,appearance:g,mountNode:S,components:{content:"div"},content:Sr(m,{defaultProps:{role:"tooltip"},elementType:"div"})};_.content.id=Po("tooltip-",_.content.id);const N={enabled:_.visible,arrowPadding:8,position:"above",align:"center",offset:4,...om(_.positioning)};_.withArrow&&(N.offset=Yv(N.offset,6));const{targetRef:z,containerRef:j,arrowRef:T}=hm(N),[C,D]=function(e){const{targetDocument:t}=ao(),r=null==t?void 0:t.defaultView,o=r?r.setTimeout:Qm,a=r?r.clearTimeout:eb,n=s.exports.useRef(void 0),i=s.exports.useCallback(((e,t)=>(void 0!==n.current&&a(n.current),n.current=o(e,null!=t?t:0),n.current)),[a,o]),l=s.exports.useCallback((()=>{void 0!==n.current&&(a(n.current),n.current=void 0)}),[a]);return s.exports.useEffect((()=>{const t=e.current;return()=>{(!t||!t.isConnected)&&l()}}),[l,e]),[i,l]}(j),P=s.exports.useCallback(((e,t)=>{D(),h((r=>(t.visible!==r&&(null==y||y(e,t)),t.visible)))}),[D,h,y]);_.content.ref=Eo(_.content.ref,j),_.arrowRef=T,zo((()=>{if(p){var e;const t={hide:e=>P(void 0,{visible:!1,documentKeyboardEvent:e})};null===(e=c.visibleTooltip)||void 0===e||e.hide(),c.visibleTooltip=t;const r=e=>{e.key!==ac||e.defaultPrevented||(t.hide(e),e.preventDefault())};return null==f||f.addEventListener("keydown",r,{capture:!0}),()=>{c.visibleTooltip===t&&(c.visibleTooltip=void 0),null==f||f.removeEventListener("keydown",r,{capture:!0})}}}),[c,f,p,P]);const E=s.exports.useRef(!1),A=s.exports.useCallback((e=>{if("focus"===e.type&&E.current)return void(E.current=!1);const t=c.visibleTooltip?0:_.showDelay;C((()=>{P(e,{visible:!0})}),t),e.persist()}),[C,P,_.showDelay,c]),F=Zi(),[R]=s.exports.useState((()=>{const e=e=>{var t;(null===(t=e.detail)||void 0===t?void 0:t.isFocusedProgrammatically)&&!F()&&(E.current=!0)};let t=null;return r=>{null==t||t.removeEventListener("keyborg:focusin",e),null==r||r.addEventListener("keyborg:focusin",e),t=r}})),I=s.exports.useCallback((e=>{let t=_.hideDelay;"blur"===e.type&&(t=0,E.current=(null==f?void 0:f.activeElement)===e.target),C((()=>{P(e,{visible:!1})}),t),e.persist()}),[C,P,_.hideDelay,f]);_.content.onPointerEnter=Zo(_.content.onPointerEnter,D),_.content.onPointerLeave=Zo(_.content.onPointerLeave,I),_.content.onFocus=Zo(_.content.onFocus,D),_.content.onBlur=Zo(_.content.onBlur,I);const M=Qo(v),L={},O=(null==M||null===(t=M.props)||void 0===t?void 0:t["aria-haspopup"])&&(!0===(null==M||null===(r=M.props)||void 0===r?void 0:r["aria-expanded"])||"true"===(null==M||null===(o=M.props)||void 0===o?void 0:o["aria-expanded"]));return"label"===w?"string"==typeof _.content.children?L["aria-label"]=_.content.children:(L["aria-labelledby"]=_.content.id,_.shouldRenderTooltip=!0):"description"===w&&(L["aria-describedby"]=_.content.id,_.shouldRenderTooltip=!0),(u||O)&&(_.shouldRenderTooltip=!1),_.children=Jo(v,{...L,...null==M?void 0:M.props,ref:Eo(Vo(M),R,void 0===N.target?z:void 0),onPointerEnter:jo(Zo(null==M||null===(a=M.props)||void 0===a?void 0:a.onPointerEnter,A)),onPointerLeave:jo(Zo(null==M||null===(n=M.props)||void 0===n?void 0:n.onPointerLeave,I)),onFocus:jo(Zo(null==M||null===(i=M.props)||void 0===i?void 0:i.onFocus,A)),onBlur:jo(Zo(null==M||null===(l=M.props)||void 0===l?void 0:l.onBlur,I))}),_},rb="fui-Tooltip__content",ob=xr({root:{mc9l5x:"fjseox",B7ck84d:"f1ewtqcl",B2u0y6b:"f132xexn",Bceei9c:"f158kwzp",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm",Btd35i7:"fokg9q4",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f9ggezi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1bzqsji",De3pzq:"fxugw4r",sj55zd:"f19n0e5",Bhu2qc9:"fxeb0a7"},visible:{mc9l5x:"ftgm304"},inverted:{De3pzq:"fg3r6xk",sj55zd:"fonrgv7"},arrow:{B7ck84d:"f1ewtqcl",qhf8xq:"f1euv43f",Bj3rh1h:"f1bsuimh",rhnwrx:"f1s3jn22",Bdy53xb:"fv40uqz",De3pzq:"f1u2r49w",B2eet1l:"fqhgnl",Beyfa6y:"f17bz04i",Bz10aip:"f36o3x3",Bqenvij:"fzofk8q",a9b677:"f1wbx1ie",Ftih45:"f1wl9k8s",Br0sdwz:"f1aocrix",cmx5o7:"f1ljr5q2",susq4k:0,Biibvgv:0,Bicfajf:0,qehafq:0,Brs5u8j:"f155f1qt",Ccq8qp:"f9mhzq7",Baz25je:"fr6rhvx",Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1kc0wz4",r59vdv:"fgq90dz",Bkw5xw4:"fq0y47f",hl6cv3:"f1pwrbz6",aea9ga:"f1hxxcvm",yayu3t:"fw8rgyo",Bhsv975:"f1wnzycx",rhl9o9:"f1730wal",B7gxrvb:"f1fy4ixr",B6q6orb:"fobkauc",B0lu1f8:"f16bqv1l"}},{d:[".fjseox{display:none;}",".f1ewtqcl{box-sizing:border-box;}",".f132xexn{max-width:240px;}",".f158kwzp{cursor:default;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fokg9q4{overflow-wrap:break-word;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],[".f1bzqsji{padding:4px 11px 6px 11px;}",{p:-1}],".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".fxeb0a7{filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 4px 8px var(--colorNeutralShadowKey));}",".ftgm304{display:block;}",".fg3r6xk{background-color:var(--colorNeutralBackgroundStatic);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".f1euv43f{position:absolute;}",".f1bsuimh{z-index:-1;}",".f1s3jn22{--fui-positioning-arrow-height:8.484px;}",".fv40uqz{--fui-positioning-arrow-offset:-4.242px;}",".f1u2r49w{background-color:inherit;}",".fqhgnl{background-clip:content-box;}",".f17bz04i{border-bottom-left-radius:var(--borderRadiusSmall);}",".f36o3x3{transform:rotate(var(--fui-positioning-arrow-angle));}",".fzofk8q{height:var(--fui-positioning-arrow-height);}",".f1wbx1ie{width:var(--fui-positioning-arrow-height);}",'.f1wl9k8s::before{content:"";}',".f1aocrix::before{display:block;}",".f1ljr5q2::before{background-color:inherit;}",[".f155f1qt::before{margin:-1px;}",{p:-1}],".f9mhzq7::before{width:100%;}",".fr6rhvx::before{height:100%;}",[".f1kc0wz4::before{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fgq90dz::before{border-bottom-left-radius:var(--borderRadiusSmall);}",".fq0y47f::before{clip-path:polygon(0% 0%, 100% 100%, 0% 100%);}",'[data-popper-placement^="top"] .f1pwrbz6{bottom:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="top"] .f1hxxcvm{--fui-positioning-arrow-angle:-45deg;}','[data-popper-placement^="right"] .fw8rgyo{left:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="right"] .f1wnzycx{--fui-positioning-arrow-angle:45deg;}','[data-popper-placement^="bottom"] .f1730wal{top:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="bottom"] .f1fy4ixr{--fui-positioning-arrow-angle:135deg;}','[data-popper-placement^="left"] .fobkauc{right:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="left"] .f16bqv1l{--fui-positioning-arrow-angle:225deg;}']}),ab=e=>{const t=tb(e);return(e=>{const t=ob();e.content.className=rt(rb,t.root,"inverted"===e.appearance&&t.inverted,e.visible&&t.visible,e.content.className),e.arrowClassName=t.arrow})(t),fo("useTooltipStyles_unstable")(t),(e=>sa(s.exports.Fragment,{children:[e.children,e.shouldRenderTooltip&&ia($m,{mountNode:e.mountNode,children:sa(e.content,{children:[e.withArrow&&ia("div",{ref:e.arrowRef,className:e.arrowClassName}),e.content.children]})})]}))(t)};ab.displayName="Tooltip",ab.isFluentTriggerComponent=!0;const nb=e=>{const{iconOnly:t,iconPosition:r}=e;return sa(e.root,{children:["after"!==r&&e.icon&&ia(e.icon,{}),!t&&e.root.children,"after"===r&&e.icon&&ia(e.icon,{})]})},ib=s.exports.createContext(void 0),sb={},lb=ib.Provider,cb=(e,t)=>{const{size:r}=null!==(o=s.exports.useContext(ib))&&void 0!==o?o:sb;var o;const{appearance:a="secondary",as:n="button",disabled:i=!1,disabledFocusable:l=!1,icon:c,iconPosition:d="before",shape:u="rounded",size:f=(null!=r?r:"medium")}=e,p=_r(c,{elementType:"span"});return{appearance:a,disabled:i,disabledFocusable:l,iconPosition:d,shape:u,size:f,iconOnly:Boolean((null==p?void 0:p.children)&&!e.children),components:{root:"button",icon:"span"},root:Sr(Wr(n,nc(e.as,e)),{elementType:"button",defaultProps:{ref:t,type:"button"===n?"button":void 0}}),icon:p}},db={root:"fui-Button",icon:"fui-Button__icon"},ub=yr("r1alrhcs",null,{r:[".r1alrhcs{align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;text-decoration-line:none;vertical-align:middle;margin:0;overflow:hidden;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);font-family:var(--fontFamilyBase);outline-style:none;padding:5px var(--spacingHorizontalM);min-width:96px;border-radius:var(--borderRadiusMedium);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);transition-duration:var(--durationFaster);transition-property:background,border,color;transition-timing-function:var(--curveEasyEase);}",".r1alrhcs:hover{background-color:var(--colorNeutralBackground1Hover);border-color:var(--colorNeutralStroke1Hover);color:var(--colorNeutralForeground1Hover);cursor:pointer;}",".r1alrhcs:hover:active{background-color:var(--colorNeutralBackground1Pressed);border-color:var(--colorNeutralStroke1Pressed);color:var(--colorNeutralForeground1Pressed);outline-style:none;}",".r1alrhcs[data-fui-focus-visible]{border-color:var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);border-width:1px;outline:var(--strokeWidthThick) solid var(--colorTransparentStroke);box-shadow:0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;z-index:1;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1alrhcs{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1alrhcs:focus{border-color:ButtonText;}.r1alrhcs:hover{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}.r1alrhcs:hover:active{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}}","@supports (-moz-appearance:button){.r1alrhcs[data-fui-focus-visible]{box-shadow:0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),fb=yr("rywnvv2",null,[".rywnvv2{align-items:center;display:inline-flex;justify-content:center;font-size:20px;height:20px;width:20px;--fui-Button__icon--spacing:var(--spacingHorizontalSNudge);}"]),pb=xr({outline:{De3pzq:"f1c21dwh",Jwef8y:"fjxutwb",iro3zm:"fwiml72"},primary:{De3pzq:"ffp7eso",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"f1phragk",Jwef8y:"f15wkkf3",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f1rq72xc",iro3zm:"fnp9lpt",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1d6v5y2",Bsw6fvg:"f1rirnrt",Bjwas2f:"f1uu00uk",Bn1d65q:["fkvaka8","f9a0qzu"],Bxeuatn:"f1ux7til",n51gp8:["f9a0qzu","fkvaka8"],Bbusuzp:"f1lkg8j3",ycbfsm:"fkc42ay",Bqrx1nm:"fq7113v",pgvf35:"ff1wgvm",Bh7lczh:["fiob0tu","f1x4h75k"],dpv3f4:"f1j6scgf",Bpnjhaq:["f1x4h75k","fiob0tu"],ze5xyy:"f4xjyn1",g2kj27:"fbgcvur",Bf756sw:"f1ks1yx8",Bow2dr7:["f1o6qegi","fmxjhhp"],Bvhedfk:"fcnxywj",Gye4lf:["fmxjhhp","f1o6qegi"],pc6evw:"f9ddjv3"},secondary:{},subtle:{De3pzq:"fhovq9v",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"f1t94bn6",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"fnwyq0v",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",Bbdnnc7:"fy5bs14",iro3zm:"fsv2rcd",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1omzyqd",em6i61:"f1dfjoow",vm6p8p:"f1j98vj9",x3br3k:"fj8yq94",ze5xyy:"f4xjyn1",Bx3q9su:"f1et0tmh",pc6evw:"f9ddjv3",xd2cci:"f1wi8ngl"},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"fjxutwb",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f139oj5f",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",iro3zm:"fwiml72",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"],B2d53fq:"f1fg1p5m",em6i61:"f1dfjoow",vm6p8p:"f1j98vj9",Bqrx1nm:"f1tme0vf",ze5xyy:"f4xjyn1",g2kj27:"f18onu3q",pc6evw:"f9ddjv3"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"},rounded:{},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},small:{Bf4jedk:"fh7ncta",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fneth5b",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},smallWithIcon:{Byoj8tv:"f1brlhvm",z8tnut:"f1sl3k7w"},medium:{},large:{Bf4jedk:"f14es27b",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4db1ww",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},largeWithIcon:{Byoj8tv:"fy7v416",z8tnut:"f1a1bwwz"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],".fh7ncta{min-width:64px;}",[".fneth5b{padding:3px var(--spacingHorizontalS);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1brlhvm{padding-bottom:1px;}",".f1sl3k7w{padding-top:1px;}",".f14es27b{min-width:96px;}",[".f4db1ww{padding:8px var(--spacingHorizontalL);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fy7v416{padding-bottom:7px;}",".f1a1bwwz{padding-top:7px;}"],h:[".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".fwiml72:hover:active{background-color:var(--colorTransparentBackgroundPressed);}",".f15wkkf3:hover{background-color:var(--colorBrandBackgroundHover);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}",".fnp9lpt:hover:active{background-color:var(--colorBrandBackgroundPressed);}",".f1h0usnq:hover:active{border-top-color:transparent;}",".fs4ktlq:hover:active{border-right-color:transparent;}",".fx2bmrt:hover:active{border-left-color:transparent;}",".f16h9ulv:hover:active{border-bottom-color:transparent;}",".f1d6v5y2:hover:active{color:var(--colorNeutralForegroundOnBrand);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".ft1hn21:hover .fui-Icon-filled{display:inline;}",".fuxngvv:hover .fui-Icon-regular{display:none;}",".fy5bs14:hover .fui-Button__icon{color:var(--colorNeutralForeground2BrandHover);}",".fsv2rcd:hover:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1omzyqd:hover:active{color:var(--colorNeutralForeground2Pressed);}",".f1dfjoow:hover:active .fui-Icon-filled{display:inline;}",".f1j98vj9:hover:active .fui-Icon-regular{display:none;}",".fj8yq94:hover:active .fui-Button__icon{color:var(--colorNeutralForeground2BrandPressed);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f1fg1p5m:hover:active{color:var(--colorNeutralForeground2BrandPressed);}"],m:[["@media (forced-colors: active){.f1rirnrt{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1uu00uk{border-top-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9a0qzu{border-left-color:HighlightText;}.fkvaka8{border-right-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ux7til{border-bottom-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lkg8j3{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fq7113v:hover{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ff1wgvm:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1x4h75k:hover{border-left-color:Highlight;}.fiob0tu:hover{border-right-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1j6scgf:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4xjyn1:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbgcvur:hover:active{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ks1yx8:hover:active{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1o6qegi:hover:active{border-right-color:Highlight;}.fmxjhhp:hover:active{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fcnxywj:hover:active{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9ddjv3:hover:active{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1et0tmh:hover .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1wi8ngl:hover:active .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1tme0vf:hover{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f18onu3q:hover:active{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}]]}),hb=xr({base:{De3pzq:"f1bg9a2p",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",Bfinmwp:"f15x8b5r",Jwef8y:"f1falr9n",Bgoe8wy:"f12mpcsy",Bwzppfd:["f1gwvigk","f18rmfxp"],oetu4i:"f1jnshp0",gg5e9n:["f18rmfxp","f1gwvigk"],Bi91k9c:"fvgxktp",eoavqd:"fphbwmw",Bk3fhr4:"f19vpps7",Bmfj8id:"fv5swzo",Bbdnnc7:"f1al02dq",iro3zm:"f1t6o4dc",b661bw:"f10ztigi",Bk6r4ia:["f1ft5sdu","f1gzf82w"],B9zn80p:"f12zbtn2",Bpld233:["f1gzf82w","f1ft5sdu"],B2d53fq:"fcvwxyo",c3iz72:"f8w4c43",em6i61:"f1ol4fw6",vm6p8p:"f1q1lw4e",x3br3k:"f1dwjv2g"},highContrast:{Bsw6fvg:"f4lkoma",Bjwas2f:"fg455y9",Bn1d65q:["f1rvyvqg","f14g86mu"],Bxeuatn:"f1cwzwz",n51gp8:["f14g86mu","f1rvyvqg"],Bbusuzp:"f1dcs8yz",Bm2fdqk:"fuigjrg",G867l3:"fjwq6ea",gdbnj:["f1lr3nhc","f1mbxvi6"],mxns5l:"fn5gmvv",o3nasb:["f1mbxvi6","f1lr3nhc"],Bqrx1nm:"f1vmkb5g",pgvf35:"f53ppgq",Bh7lczh:["f1663y11","f80fkiy"],dpv3f4:"f18v5270",Bpnjhaq:["f80fkiy","f1663y11"],ze5xyy:"f1kc2mi9",Bx3q9su:"f4dhi0o",g2kj27:"f1y0svfh",Bf756sw:"fihuait",Bow2dr7:["fnxhupq","fyd6l6x"],Bvhedfk:"fx507ft",Gye4lf:["fyd6l6x","fnxhupq"],pc6evw:"fb3rf2x",xd2cci:"fequ9m0"},outline:{De3pzq:"f1c21dwh",Jwef8y:"f9ql6rf",iro3zm:"f3h1zc4"},primary:{g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]},secondary:{},subtle:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],iro3zm:"f3h1zc4",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],iro3zm:"f3h1zc4",b661bw:"f1h0usnq",Bk6r4ia:["fs4ktlq","fx2bmrt"],B9zn80p:"f16h9ulv",Bpld233:["fx2bmrt","fs4ktlq"]}},{d:[".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f15x8b5r .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}"],h:[".f1falr9n:hover{background-color:var(--colorNeutralBackgroundDisabled);}",".f12mpcsy:hover{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1gwvigk:hover{border-right-color:var(--colorNeutralStrokeDisabled);}",".f18rmfxp:hover{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1jnshp0:hover{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".fphbwmw:hover{cursor:not-allowed;}",".f19vpps7:hover .fui-Icon-filled{display:none;}",".fv5swzo:hover .fui-Icon-regular{display:inline;}",".f1al02dq:hover .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1t6o4dc:hover:active{background-color:var(--colorNeutralBackgroundDisabled);}",".f10ztigi:hover:active{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1ft5sdu:hover:active{border-right-color:var(--colorNeutralStrokeDisabled);}",".f1gzf82w:hover:active{border-left-color:var(--colorNeutralStrokeDisabled);}",".f12zbtn2:hover:active{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fcvwxyo:hover:active{color:var(--colorNeutralForegroundDisabled);}",".f8w4c43:hover:active{cursor:not-allowed;}",".f1ol4fw6:hover:active .fui-Icon-filled{display:none;}",".f1q1lw4e:hover:active .fui-Icon-regular{display:inline;}",".f1dwjv2g:hover:active .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".f3h1zc4:hover:active{background-color:var(--colorTransparentBackground);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1h0usnq:hover:active{border-top-color:transparent;}",".fs4ktlq:hover:active{border-right-color:transparent;}",".fx2bmrt:hover:active{border-left-color:transparent;}",".f16h9ulv:hover:active{border-bottom-color:transparent;}"],m:[["@media (forced-colors: active){.f4lkoma{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fg455y9{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14g86mu{border-left-color:GrayText;}.f1rvyvqg{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cwzwz{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fuigjrg .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fjwq6ea:focus{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lr3nhc:focus{border-right-color:GrayText;}.f1mbxvi6:focus{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fn5gmvv:focus{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1vmkb5g:hover{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f53ppgq:hover{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1663y11:hover{border-right-color:GrayText;}.f80fkiy:hover{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f18v5270:hover{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1kc2mi9:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4dhi0o:hover .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1y0svfh:hover:active{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fihuait:hover:active{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fnxhupq:hover:active{border-right-color:GrayText;}.fyd6l6x:hover:active{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fx507ft:hover:active{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fb3rf2x:hover:active{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fequ9m0:hover:active .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),gb=xr({circular:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1062rbf"},rounded:{},square:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fj0ryk1"},primary:{B8q5s1w:"f17t0x8g",Bci5o5g:["f194v5ow","fk7jm04"],n8qw10:"f1qgg65p",Bdrgwmp:["fk7jm04","f194v5ow"],j6ew2k:["fhgccpy","fjo7pq6"],he4mth:"f32wu9k",Byr4aka:"fu5nqqq",lks7q5:["f13prjl2","f1nl83rv"],Bnan3qt:"f1czftr5",k1dn9:["f1nl83rv","f13prjl2"],Boium3a:["f12k37oa","fdnykm2"],tm8e47:"fr96u23"},small:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fazmxh"},medium:{},large:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1b6alqh"}},{d:[[".f1062rbf[data-fui-focus-visible]{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".fj0ryk1[data-fui-focus-visible]{border-radius:var(--borderRadiusNone);}",{p:-1}],".f17t0x8g[data-fui-focus-visible]{border-top-color:var(--colorStrokeFocus2);}",".f194v5ow[data-fui-focus-visible]{border-right-color:var(--colorStrokeFocus2);}",".fk7jm04[data-fui-focus-visible]{border-left-color:var(--colorStrokeFocus2);}",".f1qgg65p[data-fui-focus-visible]{border-bottom-color:var(--colorStrokeFocus2);}",".fhgccpy[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".fjo7pq6[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".f32wu9k[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;}",".fu5nqqq[data-fui-focus-visible]:hover{border-top-color:var(--colorStrokeFocus2);}",".f13prjl2[data-fui-focus-visible]:hover{border-right-color:var(--colorStrokeFocus2);}",".f1nl83rv[data-fui-focus-visible]:hover{border-left-color:var(--colorStrokeFocus2);}",".f1czftr5[data-fui-focus-visible]:hover{border-bottom-color:var(--colorStrokeFocus2);}",[".fazmxh[data-fui-focus-visible]{border-radius:var(--borderRadiusSmall);}",{p:-1}],[".f1b6alqh[data-fui-focus-visible]{border-radius:var(--borderRadiusLarge);}",{p:-1}]],t:["@supports (-moz-appearance:button){.f12k37oa[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}.fdnykm2[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}}","@supports (-moz-appearance:button){.fr96u23[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),vb=xr({small:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fu97m5z",Bf4jedk:"f17fgpbq",B2u0y6b:"f1jt17bm"},medium:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f18ktai2",Bf4jedk:"fwbmr0d",B2u0y6b:"f44c6la"},large:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1hbd1aw",Bf4jedk:"f12clzc2",B2u0y6b:"fjy1crr"}},{d:[[".fu97m5z{padding:1px;}",{p:-1}],".f17fgpbq{min-width:24px;}",".f1jt17bm{max-width:24px;}",[".f18ktai2{padding:5px;}",{p:-1}],".fwbmr0d{min-width:32px;}",".f44c6la{max-width:32px;}",[".f1hbd1aw{padding:7px;}",{p:-1}],".f12clzc2{min-width:40px;}",".fjy1crr{max-width:40px;}"]}),mb=xr({small:{Be2twd7:"fe5j1ua",Bqenvij:"fjamq6b",a9b677:"f64fuq3",Bqrlyyl:"fbaiahx"},medium:{},large:{Be2twd7:"f1rt2boy",Bqenvij:"frvgh55",a9b677:"fq4mcun",Bqrlyyl:"f1exjqw5"},before:{t21cq0:["f1nizpg2","f1a695kz"]},after:{Frg6f3:["f1a695kz","f1nizpg2"]}},{d:[".fe5j1ua{font-size:20px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".fbaiahx{--fui-Button__icon--spacing:var(--spacingHorizontalXS);}",".f1rt2boy{font-size:24px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".f1exjqw5{--fui-Button__icon--spacing:var(--spacingHorizontalSNudge);}",".f1nizpg2{margin-right:var(--fui-Button__icon--spacing);}",".f1a695kz{margin-left:var(--fui-Button__icon--spacing);}"]}),bb=e=>{const t=ub(),r=fb(),o=pb(),a=hb(),n=gb(),i=vb(),s=mb(),{appearance:l,disabled:c,disabledFocusable:d,icon:u,iconOnly:f,iconPosition:p,shape:h,size:g}=e;return e.root.className=rt(db.root,t,l&&o[l],o[g],u&&"small"===g&&o.smallWithIcon,u&&"large"===g&&o.largeWithIcon,o[h],(c||d)&&a.base,(c||d)&&a.highContrast,l&&(c||d)&&a[l],"primary"===l&&n.primary,n[g],n[h],f&&i[g],e.root.className),e.icon&&(e.icon.className=rt(db.icon,r,!!e.root.children&&s[p],s[g],e.icon.className)),e},xb=s.exports.forwardRef(((e,t)=>{const r=cb(e,t);return bb(r),fo("useButtonStyles_unstable")(r),nb(r)}));xb.displayName="Button";const yb=s.exports.createContext(void 0),wb=yb.Provider;function kb(e,t){return Bb(s.exports.useContext(yb),e,t)}function Bb(e,t,r){if(!e)return t;t={...t};const{generatedControlId:o,hintId:a,labelFor:n,labelId:i,required:s,validationMessageId:l,validationState:c}=e;var d,u,f,p,h,g,v,m,b,x,y,w;o&&(null!==(u=(d=t).id)&&void 0!==u||(d.id=o));!i||(null==r?void 0:r.supportsLabelFor)&&n===t.id||(null!==(p=(f=t)["aria-labelledby"])&&void 0!==p||(f["aria-labelledby"]=i));((l||a)&&(t["aria-describedby"]=[l,a,null==t?void 0:t["aria-describedby"]].filter(Boolean).join(" ")),"error"===c)&&(null!==(g=(h=t)["aria-invalid"])&&void 0!==g||(h["aria-invalid"]=!0));s&&((null==r?void 0:r.supportsRequired)?null!==(m=(v=t).required)&&void 0!==m||(v.required=!0):null!==(x=(b=t)["aria-required"])&&void 0!==x||(b["aria-required"]=!0));(null==r?void 0:r.supportsSize)&&(null!==(w=(y=t).size)&&void 0!==w||(y.size=e.size));return t}const Sb="fui-Label",_b="fui-Label__required",Nb=xr({root:{Bahqtrf:"fk6fouc",sj55zd:"f19n0e5"},disabled:{sj55zd:"f1s2aq7o",Bbusuzp:"f1dcs8yz"},required:{sj55zd:"f1whyuy6",uwmqm3:["fruq291","f7x41pl"]},small:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm"},medium:{Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi"},large:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k",Bhrd7zp:"fl43uef"},semibold:{Bhrd7zp:"fl43uef"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1whyuy6{color:var(--colorPaletteRedForeground3);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}"],m:[["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),zb=s.exports.forwardRef(((e,t)=>{const r=((e,t)=>{const{disabled:r=!1,required:o=!1,weight:a="regular",size:n="medium"}=e;return{disabled:r,required:_r(!0===o?"*":o||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),weight:a,size:n,components:{root:"label",required:"span"},root:Sr(Wr("label",{ref:t,...e}),{elementType:"label"})}})(e,t);return(e=>{const t=Nb();e.root.className=rt(Sb,t.root,e.disabled&&t.disabled,t[e.size],"semibold"===e.weight&&t.semibold,e.root.className),e.required&&(e.required.className=rt(_b,t.required,e.disabled&&t.disabled,e.required.className))})(r),fo("useLabelStyles_unstable")(r),(e=>sa(e.root,{children:[e.root.children,e.required&&ia(e.required,{})]}))(r)}));zb.displayName="Label";const jb="fui-Checkbox",Tb="fui-Checkbox__label",Cb="fui-Checkbox__input",Db="fui-Checkbox__indicator",Pb=yr("r1nzur1d","r128arqq",{r:[".r1nzur1d{position:relative;display:inline-flex;cursor:pointer;max-width:fit-content;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r1nzur1d:focus{outline-style:none;}",".r1nzur1d:focus-visible{outline-style:none;}",".r1nzur1d[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1nzur1d[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r128arqq{position:relative;display:inline-flex;cursor:pointer;max-width:fit-content;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r128arqq:focus{outline-style:none;}",".r128arqq:focus-visible{outline-style:none;}",".r128arqq[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r128arqq[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1nzur1d[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.r128arqq[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),Eb=xr({unchecked:{Bi91k9c:"f3p8bqa",pv5h1i:"fium13f",lj723h:"f1r2dosr",Hnthvo:"f1729es6"},checked:{sj55zd:"f19n0e5",wkncrt:"f35ds98",zxk7z7:"f12mnkne",Hmsnfy:"fei9a8h",e6czan:"fix56y3",pv5h1i:"f1bcv2js",qbydtz:"f7dr4go",Hnthvo:"f1r5cpua"},mixed:{sj55zd:"f19n0e5",Hmsnfy:"f1l27tf0",zxk7z7:"fcilktj",pv5h1i:"f1lphd54",Bunfa6h:"f1obkvq7",Hnthvo:"f2gmbuh",B15ykmv:"f1oy4fa1"},disabled:{Bceei9c:"f158kwzp",sj55zd:"f1s2aq7o",Hmsnfy:"f1w7mfl5",zxk7z7:"fcoafq6",Bbusuzp:"f1dcs8yz",mrqfp9:"fxb3eh3"}},{h:[".f3p8bqa:hover{color:var(--colorNeutralForeground2);}",".fium13f:hover{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessibleHover);}",".fix56y3:hover{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundHover);}",".f1bcv2js:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundHover);}",".f1lphd54:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokeHover);}",".f1obkvq7:hover{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Hover);}"],a:[".f1r2dosr:active{color:var(--colorNeutralForeground1);}",".f1729es6:active{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessiblePressed);}",".f7dr4go:active{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundPressed);}",".f1r5cpua:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundPressed);}",".f2gmbuh:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokePressed);}",".f1oy4fa1:active{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Pressed);}"],d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".f35ds98{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackground);}",".f12mnkne{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundInverted);}",".fei9a8h{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackground);}",".f1l27tf0{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStroke);}",".fcilktj{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1);}",".f158kwzp{cursor:default;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1w7mfl5{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeDisabled);}",".fcoafq6{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fxb3eh3{--fui-Checkbox__indicator--color:GrayText;}}",{m:"(forced-colors: active)"}]]}),Ab=yr("ruo9svu",null,[".ruo9svu{box-sizing:border-box;cursor:inherit;height:100%;margin:0;opacity:0;position:absolute;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));}"]),Fb=xr({before:{j35jbq:["f1e31b4d","f1vgc2s3"]},after:{oyh7mz:["f1vgc2s3","f1e31b4d"]},large:{a9b677:"f1mq5jt6"}},{d:[".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f1mq5jt6{width:calc(20px + 2 * var(--spacingHorizontalS));}"]}),Rb=yr("rl7ci6d",null,[".rl7ci6d{align-self:flex-start;box-sizing:border-box;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--fui-Checkbox__indicator--color);background-color:var(--fui-Checkbox__indicator--backgroundColor);border-color:var(--fui-Checkbox__indicator--borderColor, var(--colorNeutralStrokeAccessible));border-style:solid;border-width:var(--strokeWidthThin);border-radius:var(--borderRadiusSmall);margin:var(--spacingVerticalS) var(--spacingHorizontalS);fill:currentColor;pointer-events:none;font-size:12px;height:16px;width:16px;}"]),Ib=xr({large:{Be2twd7:"f4ybsrx",Bqenvij:"fjamq6b",a9b677:"f64fuq3"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"}},{d:[".f4ybsrx{font-size:16px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}]]}),Mb=xr({base:{qb2dma:"f7nlbp4",sj55zd:"f1ym3bx4",Bceei9c:"fpo1scq",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},before:{z189sj:["f7x41pl","fruq291"]},after:{uwmqm3:["fruq291","f7x41pl"]},medium:{B6of3ja:"fjzwpt6",jrapky:"fh6j2fo"},large:{B6of3ja:"f1xlvstr",jrapky:"f49ad5g"}},{d:[".f7nlbp4{align-self:center;}",".f1ym3bx4{color:inherit;}",".fpo1scq{cursor:inherit;}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".fjzwpt6{margin-top:calc((16px - var(--lineHeightBase300)) / 2);}",".fh6j2fo{margin-bottom:calc((16px - var(--lineHeightBase300)) / 2);}",".f1xlvstr{margin-top:calc((20px - var(--lineHeightBase300)) / 2);}",".f49ad5g{margin-bottom:calc((20px - var(--lineHeightBase300)) / 2);}"]}),Lb=s.exports.forwardRef(((e,t)=>{const r=((e,t)=>{e=kb(e,{supportsLabelFor:!0,supportsRequired:!0});const{disabled:r=!1,required:o,shape:a="square",size:n="medium",labelPosition:i="after",onChange:l}=e,[c,d]=wo({defaultState:e.defaultChecked,state:e.checked,initialState:!1}),u=$r({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","size","onChange"]}),f="mixed"===c,p=Po("checkbox-",u.primary.id);let h;f?h="circular"===a?s.exports.createElement(wd,null):"large"===n?s.exports.createElement(Ep,null):s.exports.createElement(Pp,null):c&&(h="large"===n?s.exports.createElement(wf,null):s.exports.createElement(yf,null));const g={shape:a,checked:c,disabled:r,size:n,labelPosition:i,components:{root:"span",input:"input",indicator:"div",label:zb},root:Sr(e.root,{defaultProps:{ref:Mi(),...u.root},elementType:"span"}),input:Sr(e.input,{defaultProps:{type:"checkbox",id:p,ref:t,checked:!0===c,...u.primary},elementType:"input"}),label:_r(e.label,{defaultProps:{htmlFor:p,disabled:r,required:o,size:"medium"},elementType:zb}),indicator:_r(e.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0,children:h},elementType:"div"})};g.input.onChange=jo((e=>{const t=e.currentTarget.indeterminate?"mixed":e.currentTarget.checked;null==l||l(e,{checked:t}),d(t)}));const v=Eo(g.input.ref);return g.input.ref=v,zo((()=>{v.current&&(v.current.indeterminate=f)}),[v,f]),g})(e,t);return(e=>{const{checked:t,disabled:r,labelPosition:o,shape:a,size:n}=e,i=Pb(),s=Eb();e.root.className=rt(jb,i,r?s.disabled:"mixed"===t?s.mixed:t?s.checked:s.unchecked,e.root.className);const l=Ab(),c=Fb();e.input.className=rt(Cb,l,"large"===n&&c.large,c[o],e.input.className);const d=Rb(),u=Ib();e.indicator&&(e.indicator.className=rt(Db,d,"large"===n&&u.large,"circular"===a&&u.circular,e.indicator.className));const f=Mb();e.label&&(e.label.className=rt(Tb,f.base,f[n],f[o],e.label.className))})(r),fo("useCheckboxStyles_unstable")(r),(e=>sa(e.root,{children:[ia(e.input,{}),"before"===e.labelPosition&&e.label&&ia(e.label,{}),e.indicator&&ia(e.indicator,{}),"after"===e.labelPosition&&e.label&&ia(e.label,{})]}))(r)}));Lb.displayName="Checkbox";const Ob=Zl({activeOption:void 0,appearance:"outline",focusVisible:!1,open:!1,registerOption:()=>()=>{},selectedOptions:[],selectOption(){},setActiveOption(){},setOpen(){},size:"medium"});Ob.Provider;const qb={activeOption:void 0,focusVisible:!1,multiselect:!1,getOptionById(){},getOptionsMatchingValue:()=>[],registerOption:()=>()=>{},selectedOptions:[],onOptionClick(){},onActiveDescendantChange(){},selectOption(){},setActiveOption(){}},Hb=Zl(void 0),Vb=e=>$l(Hb,((t=qb)=>e(t)));function Zb(e,t={}){const{open:r=!0,multiselect:o=!1}=t,a=e.key,{altKey:n,ctrlKey:i,key:s,metaKey:l}=e;return 1!==s.length||" "===a||n||i||l?r?"ArrowUp"===a&&n||a===Gl||!o&&" "===a?"CloseSelect":o&&" "===a?"Select":a===ac?"Close":"ArrowDown"===a?"Next":"ArrowUp"===a?"Previous":"Home"===a?"First":"End"===a?"Last":"PageUp"===a?"PageUp":"PageDown"===a?"PageDown":"Tab"===a?"Tab":"None":"ArrowDown"===a||"ArrowUp"===a||a===Gl||" "===a?"Open":"None":"Type"}Hb.Provider;const $b=()=>{const e=s.exports.useRef(new Map),t=s.exports.useMemo((()=>({getCount:()=>e.current.size,getOptionAtIndex:()=>{},getIndexOfId:()=>-1,getOptionById:t=>e.current.get(t),getOptionsMatchingText:t=>Array.from(e.current.values()).filter((({text:e})=>t(e))),getOptionsMatchingValue:t=>{const r=[];for(const o of e.current.values())t(o.value)&&r.push(o);return r}})),[]),r=s.exports.useCallback((t=>(e.current.set(t.id,t),()=>e.current.delete(t.id))),[]);return{...t,options:Array.from(e.current.values()),registerOption:r}},Wb=e=>{const{defaultSelectedOptions:t,multiselect:r,onOptionSelect:o}=e,[a,n]=wo({state:e.selectedOptions,defaultState:t,initialState:[]});return{clearSelection:e=>{n([]),null==o||o(e,{optionValue:void 0,optionText:void 0,selectedOptions:[]})},selectOption:s.exports.useCallback(((e,t)=>{if(t.disabled)return;let i=[t.value];if(r){const e=a.findIndex((e=>e===t.value));i=e>-1?[...a.slice(0,e),...a.slice(e+1)]:[...a,t.value]}n(i),null==o||o(e,{optionValue:t.value,optionText:t.text,selectedOptions:i})}),[o,r,a,n]),selectedOptions:a}},Ub="fui-Option",Gb="fui-Option__checkIcon",Xb=xr({root:{Bt984gj:"f122n59",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",sj55zd:"f19n0e5",i8kkvl:"f1ufnopg",Bceei9c:"f1k6fduh",mc9l5x:"f22iagw",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fm5eomj",qhf8xq:"f10pi13n",Jwef8y:"f1knas48",Bi91k9c:"feu1g3u",zqbkvg:"fo79ri9",h82x05:["f1osiabc","f1e8le25"],cqj998:"f1yusjty",j3hlsh:["f1e8le25","f1osiabc"],ecr2s2:"fb40n2d",lj723h:"f1g4hkjv",Btxx2vb:"f1lnr2zp",sltcwy:["f1ogfk9z","f1g7j8ec"],dnwvvm:"fiuf46r",Blyvkvs:["f1g7j8ec","f1ogfk9z"]},active:{Bowz1zl:"f11vrvdw",oxogb1:"f17hxjb7",Ix2sn8:"f1dha69c",q7v32p:"f1lm7500",B7cbj04:0,Bewtojm:0,b50fsz:0,B1wzb3v:0,Bqwk70n:0,B37u8z8:0,avt0cx:0,f0sref:0,B9fkznv:0,Be3o27t:0,Bertapg:0,B53xpsf:0,Bsv72rj:0,B39dzdd:0,Btq9bd3:0,Bqfxd14:0,atup0s:"fo7xqb",Fffuxt:0,Bttcd12:0,Beitzug:0,Bqougee:0,B86i8pi:"f1kurthe",Bhijsxg:"fwq15dy",kktds4:"f1pb3wry",Bmau3bo:["ftjv2f4","f1flhb1f"],npektv:["f1flhb1f","ftjv2f4"]},disabled:{sj55zd:"f1s2aq7o",Jwef8y:"f9ql6rf",Bi91k9c:"fvgxktp",zqbkvg:"f185j3qj",h82x05:["f1dligi3","f1vydzie"],cqj998:"fjw1di3",j3hlsh:["f1vydzie","f1dligi3"],ecr2s2:"fgj9um3",lj723h:"f19wldhg",Btxx2vb:"f1ss0kt2",sltcwy:["f1t6oli3","fjy9ci8"],dnwvvm:"fresaxk",Blyvkvs:["fjy9ci8","f1t6oli3"],Bbusuzp:"f1dcs8yz"},selected:{},checkIcon:{Bnnss6s:"fi64zpg",Be2twd7:"fod5ikn",Frg6f3:["f18b9hdq","fn6qj8t"],t21cq0:["f1xk557c","f1h9en5y"],Bcdw1i0:"fd7fpy0",Bo70h7d:"fvc9v3g"},selectedCheck:{Bcdw1i0:"f1022m68"},multiselectCheck:{Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f1l3cf7o",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Bt984gj:"f122n59",Brf1p80:"f4d9j23",Bkfmm31:"f1w9h62z",Be2twd7:"f1ugzwwg",Bqenvij:"fd461yt",a9b677:"fjw5fx7",Bcdw1i0:"f1022m68"},selectedMultiselectCheck:{De3pzq:"ftywsgz",sj55zd:"fqpbvvt",g2u3we:"f3xi7mh",h3c5rm:["ftovhe4","f1wczvin"],B9xav0g:"f68vbr6",zhjwy3:["f1wczvin","ftovhe4"]},checkDisabled:{sj55zd:"f1s2aq7o",Bbusuzp:"f1dcs8yz"},multiselectCheckDisabled:{g2u3we:"f1r1t4y1",h3c5rm:["fmj8ijw","figx54m"],B9xav0g:"f360ss8",zhjwy3:["figx54m","fmj8ijw"]}},{d:[".f122n59{align-items:center;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ufnopg{column-gap:var(--spacingHorizontalXS);}",".f1k6fduh{cursor:pointer;}",".f22iagw{display:flex;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".fm5eomj{padding:var(--spacingVerticalSNudge) var(--spacingHorizontalS);}",{p:-1}],".f10pi13n{position:relative;}",'.f11vrvdw[data-activedescendant-focusvisible]::after{content:"";}',".f17hxjb7[data-activedescendant-focusvisible]::after{position:absolute;}",".f1dha69c[data-activedescendant-focusvisible]::after{pointer-events:none;}",".f1lm7500[data-activedescendant-focusvisible]::after{z-index:1;}",[".fo7xqb[data-activedescendant-focusvisible]::after{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".f1kurthe[data-activedescendant-focusvisible]::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fwq15dy[data-activedescendant-focusvisible]::after{top:-2px;}",".f1pb3wry[data-activedescendant-focusvisible]::after{bottom:-2px;}",".ftjv2f4[data-activedescendant-focusvisible]::after{left:-2px;}",".f1flhb1f[data-activedescendant-focusvisible]::after{right:-2px;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fi64zpg{flex-shrink:0;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".f18b9hdq{margin-left:calc(var(--spacingHorizontalXXS) * -1);}",".fn6qj8t{margin-right:calc(var(--spacingHorizontalXXS) * -1);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".fd7fpy0{visibility:hidden;}",".fvc9v3g svg{display:block;}",".f1022m68{visibility:visible;}",[".f1l3cf7o{border:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-2}],[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f4d9j23{justify-content:center;}",".f1w9h62z{fill:currentColor;}",".f1ugzwwg{font-size:12px;}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".ftywsgz{background-color:var(--colorCompoundBrandBackground);}",".fqpbvvt{color:var(--colorNeutralForegroundInverted);}",".f3xi7mh{border-top-color:var(--colorCompoundBrandBackground);}",".ftovhe4{border-right-color:var(--colorCompoundBrandBackground);}",".f1wczvin{border-left-color:var(--colorCompoundBrandBackground);}",".f68vbr6{border-bottom-color:var(--colorCompoundBrandBackground);}",".f1r1t4y1{border-top-color:var(--colorNeutralForegroundDisabled);}",".fmj8ijw{border-right-color:var(--colorNeutralForegroundDisabled);}",".figx54m{border-left-color:var(--colorNeutralForegroundDisabled);}",".f360ss8{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],h:[".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".fo79ri9:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1osiabc:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1e8le25:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".f1yusjty:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f185j3qj:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForegroundDisabled);}",".f1dligi3:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForegroundDisabled);}",".f1vydzie:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForegroundDisabled);}",".fjw1di3:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],a:[".fb40n2d:active{background-color:var(--colorNeutralBackground1Pressed);}",".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f1lnr2zp:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1ogfk9z:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1g7j8ec:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".fiuf46r:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}",".fgj9um3:active{background-color:var(--colorTransparentBackground);}",".f19wldhg:active{color:var(--colorNeutralForegroundDisabled);}",".f1ss0kt2:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForegroundDisabled);}",".f1t6oli3:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForegroundDisabled);}",".fjy9ci8:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForegroundDisabled);}",".fresaxk:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),Kb={activeOption:void 0,focusVisible:!1,setActiveOption:()=>null},Jb=(e,t)=>{const{multiselect:r,disableAutoFocus:o=!1}=e,a=$b(),{listboxRef:n,activeParentRef:i,controller:l}=vc({matchOption:e=>e.classList.contains(Ub)}),c=Wl(Hb),d=Vb((e=>e.onActiveDescendantChange)),u=Vb((e=>e.getOptionById)),f=Vb((e=>e.getOptionsMatchingValue)),p=c?u:a.getOptionById,h=c?f:a.getOptionsMatchingValue,g=s.exports.useMemo((()=>{let e=null;const t=e=>{null==d||d(e)};return r=>{r?(e=r,e.addEventListener("activedescendantchange",t)):null==e||e.removeEventListener("activedescendantchange",t)}}),[d]),[v,m]=s.exports.useState(!1);Oi(m);const b=dc(),x=!!s.exports.useContext(lc),y=x?b.controller:l,{clearSelection:w,selectedOptions:k,selectOption:B}=Wb(e),S=Vb((e=>e.selectedOptions)),_=Vb((e=>e.selectOption)),N=c?{selectedOptions:S,selectOption:_,...Kb}:{selectedOptions:k,selectOption:B,...Kb};s.exports.useEffect((()=>{if(!x){if(y.hideFocusVisibleAttributes(),!o)if(!r&&N.selectedOptions.length>0){const e=h((e=>e===N.selectedOptions[0])).pop();(null==e?void 0:e.id)&&y.focus(e.id)}else y.first();return()=>{y.blur()}}}),[]);const z=s.exports.useCallback((()=>{x||(y.showFocusVisibleAttributes(),v&&y.scrollActiveIntoView())}),[y,x,v]),j=s.exports.useCallback((()=>{x||y.hideFocusVisibleAttributes()}),[y,x]),T={components:{root:"div"},root:Sr(Wr("div",{ref:Eo(t,i,n,g),role:r?"menu":"listbox",tabIndex:0,...e}),{elementType:"div"}),standalone:!c,multiselect:r,clearSelection:w,activeDescendantController:y,onActiveDescendantChange:d,...a,...N};return T.root.onKeyDown=jo(Zo(T.root.onKeyDown,(e=>{const t=Zb(e,{open:!0}),r=y.active(),o=r?p(r):null;switch(t){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"CloseSelect":case"Select":e.preventDefault()}switch(t){case"Next":o?y.next():y.first();break;case"Previous":o?y.prev():y.first();break;case"PageUp":case"First":y.first();break;case"PageDown":case"Last":y.last();break;case"Select":case"CloseSelect":o&&B(e,o)}}))),T.root.onFocus=jo(Zo(T.root.onFocus,z)),T.root.onBlur=jo(Zo(T.root.onBlur,j)),T},Yb="fui-Listbox",Qb=xr({root:{De3pzq:"fxugw4r",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",Bf4jedk:"f3hsy1e",Bmxbyg5:"f5zp4f",Bw0xxkn:0,oeaueh:0,Bpd4iqm:0,Befb4lg:"f1iepc6i",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1t35pdg",Belr9w4:"fiut8dr"}},{d:[".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1ewtqcl{box-sizing:border-box;}",".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f3hsy1e{min-width:160px;}",".f5zp4f{overflow-y:auto;}",[".f1iepc6i{outline:1px solid var(--colorTransparentStroke);}",{p:-1}],[".f1t35pdg{padding:var(--spacingHorizontalXS);}",{p:-1}],".fiut8dr{row-gap:var(--spacingHorizontalXXS);}"]}),ex=s.exports.forwardRef(((e,t)=>{const r=Jb(e,t),o=function(e){const t=Wl(Hb),{getOptionById:r,getOptionsMatchingValue:o,multiselect:a,registerOption:n,selectedOptions:i,selectOption:l,activeDescendantController:c}=e,d=Vb((e=>e.registerOption));return{listbox:{activeOption:void 0,focusVisible:!1,getOptionById:r,getOptionsMatchingValue:o,multiselect:a,registerOption:t?d:n,selectedOptions:i,selectOption:l,setActiveOption:()=>{},onOptionClick:Vb((e=>e.onOptionClick)),onActiveDescendantChange:Vb((e=>e.onActiveDescendantChange))},activeDescendant:s.exports.useMemo((()=>({controller:c})),[c])}}(r);return(e=>{const t=Qb();e.root.className=rt(Yb,t.root,e.root.className)})(r),fo("useListboxStyles_unstable")(r),((e,t)=>ia(cc,{value:t.activeDescendant,children:ia(Hb.Provider,{value:t.listbox,children:ia(e.root,{})})}))(r,o)}));ex.displayName="Listbox";const tx=(e,t)=>{const{children:r,disabled:o,text:a,value:n}=e,i=s.exports.useRef(null),l=function(e,t){if(void 0!==e)return e;let r="",o=!1;return s.exports.Children.forEach(t,(e=>{"string"==typeof e?r+=e:o=!0})),r}(a,r),c=null!=n?n:l,d=Po("fluent-option",e.id),u=s.exports.useMemo((()=>({id:d,disabled:o,text:l,value:c})),[d,o,l,c]),{controller:f}=dc(),p=Vb((e=>e.multiselect)),h=Vb((e=>e.registerOption)),g=Vb((e=>{const t=e.selectedOptions;return void 0!==c&&void 0!==t.find((e=>e===c))})),v=Vb((e=>e.selectOption)),m=Vb((e=>e.onOptionClick));let b=s.exports.createElement(id,null);p&&(b=g?s.exports.createElement(yf,null):"");s.exports.useEffect((()=>{if(d&&i.current)return h(u,i.current)}),[d,u,h]);const x=p?{role:"menuitemcheckbox","aria-checked":g}:{role:"option","aria-selected":g};return{components:{root:"div",checkIcon:"span"},root:Sr(Wr("div",{ref:Eo(t,i),"aria-disabled":o?"true":void 0,id:d,...x,...e,onClick:t=>{var r;o?t.preventDefault():(f.focus(d),v(t,u),m(t),null===(r=e.onClick)||void 0===r||r.call(e,t))}}),{elementType:"div"}),checkIcon:_r(e.checkIcon,{renderByDefault:!0,defaultProps:{"aria-hidden":"true",children:b},elementType:"span"}),disabled:o,multiselect:p,selected:g,focusVisible:!1,active:!1}},rx=s.exports.forwardRef(((e,t)=>{const r=tx(e,t);return(e=>{const{disabled:t,multiselect:r,selected:o}=e,a=Xb();e.root.className=rt(Ub,a.root,a.active,t&&a.disabled,o&&a.selected,e.root.className),e.checkIcon&&(e.checkIcon.className=rt(Gb,a.checkIcon,r&&a.multiselectCheck,o&&a.selectedCheck,o&&r&&a.selectedMultiselectCheck,t&&a.checkDisabled,t&&r&&a.multiselectCheckDisabled,e.checkIcon.className))})(r),fo("useOptionStyles_unstable")(r),(e=>sa(e.root,{children:[e.checkIcon&&ia(e.checkIcon,{}),e.root.children]}))(r)}));rx.displayName="Option";function ox(e,t,r){const{state:{open:o,setOpen:a,setHasFocus:n},defaultProps:i,elementType:l,activeDescendantController:c}=r,d=Sr(e,{defaultProps:{type:"text","aria-expanded":o,role:"combobox",..."object"==typeof i&&i},elementType:l}),u=s.exports.useRef(null);return d.ref=Eo(u,d.ref,t),d.onBlur=Zo((e=>{a(e,!1),n(!1)}),d.onBlur),d.onFocus=Zo((e=>{e.target===e.currentTarget&&n(!0)}),d.onFocus),d.onClick=Zo((e=>{a(e,!o)}),d.onClick),d.onKeyDown=Zo(function(e){const{activeDescendantController:t,getOptionById:r,setOpen:o,selectOption:a,multiselect:n,open:i}=e,l=s.exports.useCallback((()=>{const e=t.active();return e?r(e):void 0}),[t,r]),c=()=>{t.first()},d=()=>{t.last()},u=e=>{e?t.next():t.first()},f=e=>{e?t.prev():t.first()},p=()=>{for(let e=0;e<10;e++)t.prev()},h=()=>{for(let e=0;e<10;e++)t.next()},g=function(){const e=Li();return s.exports.useCallback((t=>{var r;null===(r=e.current)||void 0===r||r.setVal(t)}),[e])}();return jo((e=>{const t=Zb(e,{open:i,multiselect:n}),r=l();switch(t){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"Open":case"Close":case"CloseSelect":case"Select":e.preventDefault()}switch(g(!0),t){case"First":c();break;case"Last":d();break;case"Next":u(r);break;case"Previous":f(r);break;case"PageDown":h();break;case"PageUp":p();break;case"Open":o(e,!0);break;case"Close":e.stopPropagation(),o(e,!1);break;case"CloseSelect":!n&&!(null==r?void 0:r.disabled)&&o(e,!1);case"Select":r&&a(e,r);break;case"Tab":!n&&r&&a(e,r)}}))}({activeDescendantController:c,...r.state}),d.onKeyDown),d}function ax(e,t,r){const{state:{open:o,setOpen:a,getOptionById:n},defaultProps:i,activeDescendantController:l}=r,c=s.exports.useRef(""),[d,u]=qo(),f=(e,t={startFromNext:!1})=>{const{startFromNext:r}=t,o=l.active(),a=l.find((t=>{const r=n(t);return!!r&&e(r.text)}),{startFrom:r?l.next({passive:!0}):o});return a||l.find((t=>{const r=n(t);return!!r&&e(r.text)}))},p=ox(e,t,{state:r.state,defaultProps:i,elementType:"button",activeDescendantController:l});return p.onKeyDown=Zo((e=>{u(),"Type"===Zb(e)&&(c.current+=e.key.toLowerCase(),d((()=>{c.current=""}),500),o&&(f((e=>0===e.toLocaleLowerCase().indexOf(c.current)),{startFromNext:1===c.current.length})||function(e){for(let t=1;t<e.length;t++)if(e[t]!==e[t-1])return!1;return!0}(c.current)&&f((e=>0===e.toLocaleLowerCase().indexOf(c.current[0])),{startFromNext:!0})||l.blur()),!o&&a(e,!0))}),p.onKeyDown),p}const nx=(e,t)=>{var r;e=kb(e,{supportsLabelFor:!0,supportsSize:!0});const{listboxRef:o,activeParentRef:a,controller:n}=vc({matchOption:e=>e.classList.contains(Ub)}),i=(e=>{const{appearance:t="outline",disableAutoFocus:r,children:o,clearable:a=!1,editable:n=!1,inlinePopup:i=!1,mountNode:l,multiselect:c,onOpenChange:d,size:f="medium",activeDescendantController:p,freeform:h=!1,disabled:g=!1,onActiveOptionChange:v=null}=e,m=$b(),{getOptionsMatchingValue:b}=m,{getOptionById:x}=m,y=s.exports.useCallback((()=>{const e=p.active();return e?x(e):void 0}),[p,x]),w=y(),k=s.exports.useCallback((e=>{let t;"function"==typeof e&&(t=e(y())),t?p.focus(t.id):p.blur()}),[p,y]),[B,S]=s.exports.useState(!1),[_,N]=s.exports.useState(!1),z=s.exports.useRef(!1),j=To(),[T,C]=wo({state:e.value,initialState:void 0}),{selectedOptions:D,selectOption:P,clearSelection:E}=Wb(e),A=s.exports.useCallback(((e,t)=>{u.exports.unstable_batchedUpdates((()=>{C(void 0),P(e,t)}))}),[C,P]),F=s.exports.useMemo((()=>{if(void 0!==T)return T;if(j&&void 0!==e.defaultValue)return e.defaultValue;const t=b((e=>D.includes(e))).map((e=>e.text));return c?n?"":t.join(", "):t[0]}),[T,n,b,c,D]),[R,I]=wo({state:e.open,defaultState:e.defaultOpen,initialState:!1}),M=s.exports.useCallback(((e,t)=>{g||(null==d||d(e,{open:t}),u.exports.unstable_batchedUpdates((()=>{t||h||C(void 0),I(t)})))}),[d,I,C,h,g]);s.exports.useEffect((()=>{if(R){if(!c&&D.length>0){const e=b((e=>e===D[0])).pop();(null==e?void 0:e.id)&&p.focus(e.id)}}else p.blur()}),[R,p]),s.exports.useEffect((()=>{!R||r||p.active()||p.first()}),[R,o,r,p,x]);const L=jo((e=>{const t=e.detail.previousId?m.getOptionById(e.detail.previousId):null,r=m.getOptionById(e.detail.id);null==v||v(e,{event:e,type:"change",previousOption:t,nextOption:r})}));return{...m,freeform:h,disabled:g,selectOption:A,clearSelection:E,selectedOptions:D,activeOption:w,appearance:t,clearable:a,focusVisible:B,ignoreNextBlur:z,inlinePopup:i,mountNode:l,open:R,hasFocus:_,setActiveOption:k,setFocusVisible:S,setHasFocus:N,setOpen:M,setValue:C,size:f,value:F,multiselect:c,onOptionClick:jo((e=>{c||M(e,!1)})),onActiveDescendantChange:L}})({...e,activeDescendantController:n,freeform:!1}),{clearable:l,clearSelection:c,disabled:d,hasFocus:f,multiselect:p,open:h,selectedOptions:g,setOpen:v}=i,{primary:m,root:b}=$r({props:e,primarySlotTagName:"button",excludedPropNames:["children"]}),[x,y]=function(e){const{positioning:t}=e,r={position:"below",align:"start",offset:{crossAxis:0,mainAxis:2},fallbackPositions:["above","after","after-top","before","before-top"],matchTargetSize:"width",autoSize:!0,...om(t)},{targetRef:o,containerRef:a}=hm(r);return[a,o]}(e),w=s.exports.useRef(null),k=function(e,t,r){const{state:{multiselect:o},triggerRef:a,defaultProps:n}=r,i=Po("fluent-listbox",jr(e)?e.id:void 0),s=_r(e,{renderByDefault:!0,elementType:ex,defaultProps:{id:i,multiselect:o,tabIndex:void 0,...n}}),l=kb({id:i},{supportsLabelFor:!0});s&&!s["aria-label"]&&!s["aria-labelledby"]&&l["aria-labelledby"]&&(s["aria-labelledby"]=l["aria-labelledby"]);const c=jo(Zo((e=>{e.preventDefault()}),null==s?void 0:s.onMouseDown)),d=jo(Zo((e=>{var t;e.preventDefault(),null===(t=a.current)||void 0===t||t.focus()}),null==s?void 0:s.onClick)),u=Eo(null==s?void 0:s.ref,t);return s&&(s.ref=u,s.onMouseDown=c,s.onClick=d),s}(e.listbox,Eo(x,o),{state:i,triggerRef:w,defaultProps:{children:e.children}}),{targetDocument:B}=ao();var S;Fo({element:B,callback:e=>v(e,!1),refs:[w,x,y],disabled:!h});const _=ax(null!==(S=e.button)&&void 0!==S?S:{},Eo(w,a,t),{state:i,defaultProps:{type:"button",tabIndex:m.disabled?void 0:0,children:i.value||e.placeholder,"aria-controls":h?null==k?void 0:k.id:void 0,...m},activeDescendantController:n}),N=Sr(e.root,{defaultProps:{"aria-owns":!e.inlinePopup&&h?null==k?void 0:k.id:void 0,children:e.children,...b},elementType:"div"});N.ref=Eo(N.ref,y);const z=g.length>0&&!d&&l&&!p,j={components:{root:"div",button:"button",clearButton:"button",expandIcon:"span",listbox:ex},root:N,button:_,listbox:h||f?k:void 0,clearButton:_r(e.clearButton,{defaultProps:{"aria-label":"Clear selection",children:s.exports.createElement(Zd,null),tabIndex:z?0:void 0,type:"button"},elementType:"button",renderByDefault:!0}),expandIcon:_r(e.expandIcon,{renderByDefault:!0,defaultProps:{children:s.exports.createElement(gd,null)},elementType:"span"}),placeholderVisible:!i.value&&!!e.placeholder,showClearButton:z,activeDescendantController:n,...i},T=jo(Zo(null===(r=j.clearButton)||void 0===r?void 0:r.onClick,(e=>{var t;c(e),null===(t=w.current)||void 0===t||t.focus()})));return j.clearButton&&(j.clearButton.onClick=T),p&&(j.clearButton=void 0),j},ix="fui-Dropdown",sx="fui-Dropdown__button",lx="fui-Dropdown__clearButton",cx="fui-Dropdown__expandIcon",dx="fui-Dropdown__listbox",ux=xr({root:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",B7ck84d:"f1ewtqcl",mc9l5x:"ftuwxu6",Bf4jedk:"f1exfvgq",qhf8xq:"f10pi13n",ha4doy:"fmrv4ls",Bbr2w1p:"f14a1fxs",Bduesf4:"f3e99gv",Bpq79vn:"fhljsf7",li1rpt:"f1gw3sf2",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",Eqx8gd:["f1a7op3","f1cjjd47"],By385i5:"f1gboi2j",B1piin3:["f1cjjd47","f1a7op3"],Dlnsje:"ffyw7fx",d9w3h3:["f1kp91vd","f1ibwz09"],B3778ie:["f1ibwz09","f1kp91vd"],B1q35kw:0,Bw17bha:0,Bcgy8vk:0,Bjuhk93:"f1mnjydx",Gjdm7m:"f13evtba",b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",df92cz:"fv8e3ye",I188md:"ftb5wc6",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",H713fs:"f1cmft4k",B9ooomg:"f1x58t8o",Bercvud:"f1ibeo51",Bz04dq9:"f132nw8t",Budl3uf:"f1htdosj"},listbox:{B7ck84d:"f1ewtqcl",E5pizo:"f1hg901r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bxyxcbc:"fmmk62d"},listboxCollapsed:{mc9l5x:"fjseox"},inlineListbox:{Bj3rh1h:"f19g0ac"},button:{Bt984gj:"f122n59",De3pzq:"f1c21dwh",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh",B7ck84d:"f1ewtqcl",sj55zd:"f19n0e5",i8kkvl:"f14mj54c",Bceei9c:"f1k6fduh",mc9l5x:"f13qh94s",Bahqtrf:"fk6fouc",Budl1dq:"f12nh0o2",Brf1p80:"f1869bpl",fsow6f:["f1o700av","fes3tcz"],a9b677:"fly5x3f",Brovlpu:"ftqa4ok"},placeholder:{sj55zd:"fxc4j92"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fye6m5k","f3cq2dl"]},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f14ev680","f58uxzw"]},large:{i8kkvl:"f1rjii52",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f139mn7i","f1v3q0m"]},outline:{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:"f1c1zstj",oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fhz96rm"},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],B6oc9vd:"fvs00aa",ak43y8:["f1assf6x","f4ruux4"],wmxk5l:"f1z0osm6",B50zh58:["f4ruux4","f1assf6x"],Bvq3b66:"f1b473iu",Brahy3i:["f381qr8","ft4skwv"],zoxjo1:"f1qzcrsd",an54nd:["ft4skwv","f381qr8"]},underline:{De3pzq:"f1c21dwh",B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f9ez7ne",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"},"filled-lighter":{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fs2rfia"},"filled-darker":{De3pzq:"f16xq7d1",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fs2rfia"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},invalidUnderline:{hhx65j:"f1fgmyf4"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bjwas2f:"fg455y9",Bn1d65q:["f1rvyvqg","f14g86mu"],Bxeuatn:"f1cwzwz",n51gp8:["f14g86mu","f1rvyvqg"]},disabledText:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr"},hidden:{mc9l5x:"fjseox"}},{d:[[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".ftuwxu6{display:inline-flex;}",".f1exfvgq{min-width:250px;}",".f10pi13n{position:relative;}",".fmrv4ls{vertical-align:middle;}",".f1gw3sf2::after{box-sizing:border-box;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1a7op3::after{left:-1px;}",".f1cjjd47::after{right:-1px;}",".f1gboi2j::after{bottom:-1px;}",".ffyw7fx::after{height:max(var(--strokeWidthThick), var(--borderRadiusMedium));}",".f1kp91vd::after{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1ibwz09::after{border-bottom-right-radius:var(--borderRadiusMedium);}",[".f1mnjydx::after{border-bottom:var(--strokeWidthThick) solid var(--colorCompoundBrandStroke);}",{p:-1}],".f13evtba::after{clip-path:inset(calc(100% - 2px) 0 0 0);}",".f1yk9hq::after{transform:scaleX(0);}",".fhwpy7i::after{transition-property:transform;}",".f14ee0xe::after{transition-duration:var(--durationUltraFast);}",".f1xhbsuh::after{transition-delay:var(--curveAccelerateMid);}",".f1hg901r{box-shadow:var(--shadow16);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fmmk62d{max-height:80vh;}",".fjseox{display:none;}",".f19g0ac{z-index:1;}",".f122n59{align-items:center;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f3bhgqh{border:none;}",{p:-2}],".f19n0e5{color:var(--colorNeutralForeground1);}",".f14mj54c{column-gap:var(--spacingHorizontalXXS);}",".f1k6fduh{cursor:pointer;}",".f13qh94s{display:grid;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".f12nh0o2{grid-template-columns:[content] 1fr [icon] auto [end];}",".f1869bpl{justify-content:space-between;}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".fly5x3f{width:100%;}",".fxc4j92{color:var(--colorNeutralForeground4);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",[".fye6m5k{padding:3px var(--spacingHorizontalSNudge) 3px calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f3cq2dl{padding:3px calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS)) 3px var(--spacingHorizontalSNudge);}",{p:-1}],".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".f14ev680{padding:5px var(--spacingHorizontalMNudge) 5px calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f58uxzw{padding:5px calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS)) 5px var(--spacingHorizontalMNudge);}",{p:-1}],".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f139mn7i{padding:7px var(--spacingHorizontalM) 7px calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",{p:-1}],[".f1v3q0m{padding:7px calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge)) 7px var(--spacingHorizontalM);}",{p:-1}],".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",[".f9ez7ne{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-1}],[".fokr779{border-radius:0;}",{p:-1}],[".fs2rfia{border:var(--strokeWidthThin) solid transparent;}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",[".fs2rfia{border:var(--strokeWidthThin) solid transparent;}",{p:-2}],".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],w:[".f14a1fxs:focus-within{outline-width:2px;}",".f3e99gv:focus-within{outline-style:solid;}",".fhljsf7:focus-within{outline-color:transparent;}",".fjw5xc1:focus-within::after{transform:scaleX(1);}",".f1xdyd5c:focus-within::after{transition-property:transform;}",".fatpbeo:focus-within::after{transition-duration:var(--durationNormal);}",".fb7uyps:focus-within::after{transition-delay:var(--curveDecelerateMid);}",".f1ibeo51:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".f1b473iu:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".f381qr8:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".ft4skwv:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1qzcrsd:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.fv8e3ye::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.ftb5wc6::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1cmft4k:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1x58t8o:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media (forced-colors: active){.fg455y9{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14g86mu{border-left-color:GrayText;}.f1rvyvqg{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cwzwz{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],t:["@supports selector(:has(*)){.f132nw8t:has(.fui-Dropdown__clearButton:focus)::after{border-bottom-color:initial;}}","@supports selector(:has(*)){.f1htdosj:has(.fui-Dropdown__clearButton:focus)::after{transform:scaleX(0);}}"],f:[".ftqa4ok:focus{outline-style:none;}"],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}"],a:[".fvs00aa:active{border-top-color:var(--colorNeutralStroke1Pressed);}",".f1assf6x:active{border-right-color:var(--colorNeutralStroke1Pressed);}",".f4ruux4:active{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1z0osm6:active{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"]}),fx=xr({icon:{B7ck84d:"f1ewtqcl",sj55zd:"fxkbij4",mc9l5x:"ftgm304",Be2twd7:"f1pp30po",Br312pm:"f12w6cgp",Bw0ie65:"f8bv1bt",Bo70h7d:"fvc9v3g"},small:{Be2twd7:"f4ybsrx",Frg6f3:["f1h9en5y","f1xk557c"]},medium:{Be2twd7:"fe5j1ua",Frg6f3:["f1h9en5y","f1xk557c"]},large:{Be2twd7:"f1rt2boy",Frg6f3:["f1t5qyk5","f1ikr372"]},disabled:{sj55zd:"f1s2aq7o"}},{d:[".f1ewtqcl{box-sizing:border-box;}",".fxkbij4{color:var(--colorNeutralStrokeAccessible);}",".ftgm304{display:block;}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f12w6cgp{grid-column-start:icon;}",".f8bv1bt{grid-column-end:end;}",".fvc9v3g svg{display:block;}",".f4ybsrx{font-size:16px;}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".fe5j1ua{font-size:20px;}",".f1rt2boy{font-size:24px;}",".f1t5qyk5{margin-left:var(--spacingHorizontalSNudge);}",".f1ikr372{margin-right:var(--spacingHorizontalSNudge);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"]}),px=yr("rticfuj","r1vp6jef",{r:[".rticfuj{align-self:center;background-color:var(--colorTransparentBackground);border:none;cursor:pointer;height:fit-content;margin:0;margin-right:var(--spacingHorizontalMNudge);padding:0;position:relative;}",".rticfuj:focus{outline-style:none;}",".rticfuj:focus-visible{outline-style:none;}",".rticfuj[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.rticfuj[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r1vp6jef{align-self:center;background-color:var(--colorTransparentBackground);border:none;cursor:pointer;height:fit-content;margin:0;margin-left:var(--spacingHorizontalMNudge);padding:0;position:relative;}",".r1vp6jef:focus{outline-style:none;}",".r1vp6jef:focus-visible{outline-style:none;}",".r1vp6jef[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r1vp6jef[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.rticfuj[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.r1vp6jef[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),hx=s.exports.forwardRef(((e,t)=>{const r=nx(e,t),o=function(e){const{appearance:t,open:r,getOptionById:o,getOptionsMatchingValue:a,registerOption:n,selectedOptions:i,selectOption:l,setOpen:c,size:d,activeDescendantController:u,onOptionClick:f,onActiveDescendantChange:p}=e,h={activeOption:void 0,focusVisible:!1,getOptionById:o,getOptionsMatchingValue:a,registerOption:n,selectedOptions:i,selectOption:l,setActiveOption:()=>null,onOptionClick:f,onActiveDescendantChange:p};return{combobox:{activeOption:void 0,appearance:t,focusVisible:!1,open:r,registerOption:n,selectedOptions:i,selectOption:l,setActiveOption:()=>null,setOpen:c,size:d},activeDescendant:s.exports.useMemo((()=>({controller:u})),[u]),listbox:h}}(r);return(e=>{const{appearance:t,open:r,placeholderVisible:o,showClearButton:a,size:n}=e,i="true"==`${e.button["aria-invalid"]}`,s=e.button.disabled,l=ux(),c=fx(),d=px();e.root.className=rt(ix,l.root,l[t],!s&&"outline"===t&&l.outlineInteractive,i&&"underline"!==t&&l.invalid,i&&"underline"===t&&l.invalidUnderline,s&&l.disabled,e.root.className),e.button.className=rt(sx,l.button,l[n],o&&l.placeholder,s&&l.disabledText,e.button.className),e.listbox&&(e.listbox.className=rt(dx,l.listbox,e.inlinePopup&&l.inlineListbox,!r&&l.listboxCollapsed,e.listbox.className)),e.expandIcon&&(e.expandIcon.className=rt(cx,c.icon,c[n],s&&c.disabled,a&&l.hidden,e.expandIcon.className)),e.clearButton&&(e.clearButton.className=rt(lx,d,c.icon,c[n],s&&c.disabled,!a&&l.hidden,e.clearButton.className))})(r),fo("useDropdownStyles_unstable")(r),((e,t)=>ia(e.root,{children:ia(cc,{value:t.activeDescendant,children:ia(Hb.Provider,{value:t.listbox,children:sa(Ob.Provider,{value:t.combobox,children:[sa(e.button,{children:[e.button.children,e.expandIcon&&ia(e.expandIcon,{})]}),e.clearButton&&ia(e.clearButton,{}),e.listbox&&(e.inlinePopup?ia(e.listbox,{}):ia($m,{mountNode:e.mountNode,children:ia(e.listbox,{})}))]})})})}))(r,o)}));hx.displayName="Dropdown";const gx=e=>ia(e.root,{children:void 0!==e.root.children&&ia(e.wrapper,{children:e.root.children})}),vx=(e,t)=>{const{alignContent:r="center",appearance:o="default",inset:a=!1,vertical:n=!1,wrapper:i}=e,s=Po("divider-");return{alignContent:r,appearance:o,inset:a,vertical:n,components:{root:"div",wrapper:"div"},root:Sr(Wr("div",{role:"separator","aria-orientation":n?"vertical":"horizontal","aria-labelledby":e.children?s:void 0,...e,ref:t}),{elementType:"div"}),wrapper:Sr(i,{defaultProps:{id:s,children:e.children},elementType:"div"})}},mx="fui-Divider",bx="fui-Divider__wrapper",xx=xr({base:{Bt984gj:"f122n59",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Beiy3e4:"f1063pyq",Bh6795r:"fqerorx",qhf8xq:"f10pi13n",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",fsow6f:"f17mccla",Bcvre1j:"fyl8oag",Br0sdwz:"f16vkdww",Bn78ew0:"fhsnbul",li1rpt:"f1gw3sf2",ap17g6:"f1ly5f7u",B771hl4:"f1s3tz6t"},childless:{susq4k:"f1kyqvp9",Bicfajf:["fzynn9s","f1z0ukd1"],jwcpgy:["fekrn8e","ftdg338"],B4rk6o:"fesgyo"},start:{Bsft5z2:"f13zj6fq"},center:{Ftih45:"f1wl9k8s",Bsft5z2:"f13zj6fq"},end:{Ftih45:"f1wl9k8s"},brand:{sj55zd:"f16muhyy",Bq4z7u6:"fcbuu2a",Bk5zm6e:["f1wdw2dr","f1ttio3w"],Bqjgrrk:"f1582fpk",Bm6vgfq:["f1ttio3w","f1wdw2dr"],B0n5ga8:"f1ahrvm8",s924m2:["f1cd3wbc","f17hbk9y"],B1q35kw:"fvrapl0",Gp14am:["f17hbk9y","f1cd3wbc"]},default:{sj55zd:"fkfq4zb",Bq4z7u6:"f1vccso1",Bk5zm6e:["f1geml7w","fjml6kk"],Bqjgrrk:"f1r7kh1m",Bm6vgfq:["fjml6kk","f1geml7w"],B0n5ga8:"f16j7guv",s924m2:["fx01ahm","fj1a37q"],B1q35kw:"fl8d8yv",Gp14am:["fj1a37q","fx01ahm"]},subtle:{sj55zd:"f11d4kpn",Bq4z7u6:"f5g06un",Bk5zm6e:["f13sxdku","f1n015lb"],Bqjgrrk:"f1x6bl8t",Bm6vgfq:["f1n015lb","f13sxdku"],B0n5ga8:"fvod1wy",s924m2:["fwslg65","flk0e17"],B1q35kw:"f103fvts",Gp14am:["flk0e17","fwslg65"]},strong:{sj55zd:"f19n0e5",Bq4z7u6:"f10tv6oz",Bk5zm6e:["f16xp3sf","f1seuxxq"],Bqjgrrk:"fwrmqbx",Bm6vgfq:["f1seuxxq","f16xp3sf"],B0n5ga8:"ft83z1f",s924m2:["f1g4150c","f192dr6e"],B1q35kw:"f1qnawh6",Gp14am:["f192dr6e","f1g4150c"]}},{d:[".f122n59{align-items:center;}",".f1ewtqcl{box-sizing:border-box;}",".f22iagw{display:flex;}",".f1063pyq{flex-direction:row;}",".fqerorx{flex-grow:1;}",".f10pi13n{position:relative;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f17mccla{text-align:center;}",".fyl8oag::before{box-sizing:border-box;}",".f16vkdww::before{display:flex;}",".fhsnbul::before{flex-grow:1;}",".f1gw3sf2::after{box-sizing:border-box;}",".f1ly5f7u::after{display:flex;}",".f1s3tz6t::after{flex-grow:1;}",".f1kyqvp9::before{margin-bottom:0;}",".fzynn9s::before{margin-right:0;}",".f1z0ukd1::before{margin-left:0;}",".fekrn8e::after{margin-left:0;}",".ftdg338::after{margin-right:0;}",".fesgyo::after{margin-top:0;}",'.f13zj6fq::after{content:"";}','.f1wl9k8s::before{content:"";}',".f16muhyy{color:var(--colorBrandForeground1);}",".fcbuu2a::before{border-top-color:var(--colorBrandStroke1);}",".f1wdw2dr::before{border-right-color:var(--colorBrandStroke1);}",".f1ttio3w::before{border-left-color:var(--colorBrandStroke1);}",".f1582fpk::before{border-bottom-color:var(--colorBrandStroke1);}",".f1ahrvm8::after{border-top-color:var(--colorBrandStroke1);}",".f1cd3wbc::after{border-right-color:var(--colorBrandStroke1);}",".f17hbk9y::after{border-left-color:var(--colorBrandStroke1);}",".fvrapl0::after{border-bottom-color:var(--colorBrandStroke1);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".f1vccso1::before{border-top-color:var(--colorNeutralStroke2);}",".f1geml7w::before{border-right-color:var(--colorNeutralStroke2);}",".fjml6kk::before{border-left-color:var(--colorNeutralStroke2);}",".f1r7kh1m::before{border-bottom-color:var(--colorNeutralStroke2);}",".f16j7guv::after{border-top-color:var(--colorNeutralStroke2);}",".fx01ahm::after{border-right-color:var(--colorNeutralStroke2);}",".fj1a37q::after{border-left-color:var(--colorNeutralStroke2);}",".fl8d8yv::after{border-bottom-color:var(--colorNeutralStroke2);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".f5g06un::before{border-top-color:var(--colorNeutralStroke3);}",".f13sxdku::before{border-right-color:var(--colorNeutralStroke3);}",".f1n015lb::before{border-left-color:var(--colorNeutralStroke3);}",".f1x6bl8t::before{border-bottom-color:var(--colorNeutralStroke3);}",".fvod1wy::after{border-top-color:var(--colorNeutralStroke3);}",".fwslg65::after{border-right-color:var(--colorNeutralStroke3);}",".flk0e17::after{border-left-color:var(--colorNeutralStroke3);}",".f103fvts::after{border-bottom-color:var(--colorNeutralStroke3);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f10tv6oz::before{border-top-color:var(--colorNeutralStroke1);}",".f16xp3sf::before{border-right-color:var(--colorNeutralStroke1);}",".f1seuxxq::before{border-left-color:var(--colorNeutralStroke1);}",".fwrmqbx::before{border-bottom-color:var(--colorNeutralStroke1);}",".ft83z1f::after{border-top-color:var(--colorNeutralStroke1);}",".f1g4150c::after{border-right-color:var(--colorNeutralStroke1);}",".f192dr6e::after{border-left-color:var(--colorNeutralStroke1);}",".f1qnawh6::after{border-bottom-color:var(--colorNeutralStroke1);}"]}),yx=xr({base:{a9b677:"fly5x3f",Bdkvgpv:"f163fonl",B0qfbqy:"f51yk4v",pbipgd:"f13rof3u",Bm2nyyq:"f8rth92",xrcqlc:"f6czdpx",i5u598:"f1iyka9k"},inset:{uwmqm3:["fjlbh76","f11qrl6u"],z189sj:["f11qrl6u","fjlbh76"]},start:{fsow6f:["f1o700av","fes3tcz"],Ftih45:"f1wl9k8s",Bicfajf:["f1ojjlep","fk1kexq"],Bxwl2t9:"f1he2m4d",jwcpgy:["f12w1bnb","f1558wlj"]},center:{fsow6f:"f17mccla",Bicfajf:["f1ojjlep","fk1kexq"],jwcpgy:["f12w1bnb","f1558wlj"]},end:{fsow6f:["fes3tcz","f1o700av"],Bicfajf:["f1ojjlep","fk1kexq"],Bsft5z2:"f13zj6fq",jwcpgy:["f12w1bnb","f1558wlj"],Iy66sp:"f1ayce8x"}},{d:[".fly5x3f{width:100%;}",".f163fonl::before{border-top-style:solid;}",".f51yk4v::before{border-top-width:var(--strokeWidthThin);}",".f13rof3u::before{min-width:8px;}",".f8rth92::after{border-top-style:solid;}",".f6czdpx::after{border-top-width:var(--strokeWidthThin);}",".f1iyka9k::after{min-width:8px;}",".fjlbh76{padding-left:12px;}",".f11qrl6u{padding-right:12px;}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",'.f1wl9k8s::before{content:"";}',".f1ojjlep::before{margin-right:12px;}",".fk1kexq::before{margin-left:12px;}",".f1he2m4d::before{max-width:8px;}",".f12w1bnb::after{margin-left:12px;}",".f1558wlj::after{margin-right:12px;}",".f17mccla{text-align:center;}",'.f13zj6fq::after{content:"";}',".f1ayce8x::after{max-width:8px;}"]}),wx=xr({base:{Beiy3e4:"f1vx9l62",sshi5w:"f16gbxbe",m598lv:["f1yq6w5o","f1jpmc5p"],B4f6apu:["f9sc749","f1x8pvcy"],zkzzav:"fhkwbjy",Barhvk9:["flthirb","ftkbnf5"],Ihftqj:["f13hvwk3","f1en4csx"],Bde111x:"f19onpk6"},inset:{B6of3ja:"f1xdg43u",jrapky:"f1jlhsmd"},withChildren:{sshi5w:"f1tjaq3g"},start:{Ftih45:"f1wl9k8s",susq4k:"fg2pwug",Bbdr6tz:"fkjtzyi",B4rk6o:"f8vk40g"},center:{susq4k:"fg2pwug",B4rk6o:"f8vk40g"},end:{susq4k:"fg2pwug",Bsft5z2:"f13zj6fq",B4rk6o:"f8vk40g",gn64ia:"fqg5mu5"}},{d:[".f1vx9l62{flex-direction:column;}",".f16gbxbe{min-height:20px;}",".f1yq6w5o::before{border-right-style:solid;}",".f1jpmc5p::before{border-left-style:solid;}",".f9sc749::before{border-right-width:var(--strokeWidthThin);}",".f1x8pvcy::before{border-left-width:var(--strokeWidthThin);}",".fhkwbjy::before{min-height:8px;}",".flthirb::after{border-right-style:solid;}",".ftkbnf5::after{border-left-style:solid;}",".f13hvwk3::after{border-right-width:var(--strokeWidthThin);}",".f1en4csx::after{border-left-width:var(--strokeWidthThin);}",".f19onpk6::after{min-height:8px;}",".f1xdg43u{margin-top:12px;}",".f1jlhsmd{margin-bottom:12px;}",".f1tjaq3g{min-height:84px;}",'.f1wl9k8s::before{content:"";}',".fg2pwug::before{margin-bottom:12px;}",".fkjtzyi::before{max-height:8px;}",".f8vk40g::after{margin-top:12px;}",'.f13zj6fq::after{content:"";}',".fqg5mu5::after{max-height:8px;}"]}),kx=e=>{const t=xx(),r=yx(),o=wx(),{alignContent:a,appearance:n,inset:i,vertical:s}=e;return e.root.className=rt(mx,t.base,t[a],n&&t[n],!s&&r.base,!s&&i&&r.inset,!s&&r[a],s&&o.base,s&&i&&o.inset,s&&o[a],s&&void 0!==e.root.children&&o.withChildren,void 0===e.root.children&&t.childless,e.root.className),e.wrapper&&(e.wrapper.className=rt(bx,e.wrapper.className)),e},Bx=s.exports.forwardRef(((e,t)=>{const r=vx(e,t);return kx(r),fo("useDividerStyles_unstable")(r),gx(r)}));Bx.displayName="Divider";const Sx=(e,t)=>{e=kb(e,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});const r=so();var o;const{size:a="medium",appearance:n=(null!==(o=r.inputDefaultAppearance)&&void 0!==o?o:"outline"),onChange:i}=e,[s,l]=wo({state:e.value,defaultState:e.defaultValue,initialState:""}),c=$r({props:e,primarySlotTagName:"input",excludedPropNames:["size","onChange","value","defaultValue"]}),d={size:a,appearance:n,components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:Sr(e.input,{defaultProps:{type:"text",ref:t,...c.primary},elementType:"input"}),contentAfter:_r(e.contentAfter,{elementType:"span"}),contentBefore:_r(e.contentBefore,{elementType:"span"}),root:Sr(e.root,{defaultProps:c.root,elementType:"span"})};return d.input.value=s,d.input.onChange=jo((e=>{const t=e.target.value;null==i||i(e,{value:t}),l(t)})),d},_x="fui-Input",Nx="fui-Input__input",zx="fui-Input__contentBefore",jx="fui-Input__contentAfter",Tx=yr("r1oeeo9n","r9sxh5",{r:[".r1oeeo9n{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r1oeeo9n::after{box-sizing:border-box;content:"";position:absolute;left:-1px;bottom:-1px;right:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-left-radius:var(--borderRadiusMedium);border-bottom-right-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r1oeeo9n:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r1oeeo9n:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r1oeeo9n:focus-within{outline:2px solid transparent;}",".r9sxh5{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r9sxh5::after{box-sizing:border-box;content:"";position:absolute;right:-1px;bottom:-1px;left:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-right-radius:var(--borderRadiusMedium);border-bottom-left-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r9sxh5:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r9sxh5:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r9sxh5:focus-within{outline:2px solid transparent;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}"]}),Cx=xr({small:{sshi5w:"f1pha7fy",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{},large:{sshi5w:"f1w5jphr",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",i8kkvl:0,Belr9w4:0,rmohyg:"f1eyhf9v"},outline:{},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],Drbcw7:"f8vnjqi",udz0bu:["fz1etlk","f1hc16gm"],Be8ivqh:"f1klwx88",ofdepl:["f1hc16gm","fz1etlk"]},underline:{De3pzq:"f1c21dwh",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779",icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],wvpqe5:["f1deefiw","f1n71otn"],Eqx8gd:["f1n6gb5g","f15yvnhg"],B1piin3:["f15yvnhg","f1n6gb5g"]},underlineInteractive:{oetu4i:"f1l4zc64",Be8ivqh:"f1klwx88",d9w3h3:0,B3778ie:0,B4j8arr:0,Bl18szs:0,Blrzh8d:"f2ale1x"},filled:{g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},filledInteractive:{q7v0qe:"ftmjh5b",kmh5ft:["f17blpuu","fsrcdbj"],nagaa4:"f1tpwn32",B1yhkcb:["fsrcdbj","f17blpuu"]},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},"filled-darker-shadow":{De3pzq:"f16xq7d1",E5pizo:"fyed02w"},"filled-lighter-shadow":{De3pzq:"fxugw4r",E5pizo:"fyed02w"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bjwas2f:"fg455y9",Bn1d65q:["f1rvyvqg","f14g86mu"],Bxeuatn:"f1cwzwz",n51gp8:["f14g86mu","f1rvyvqg"],Bsft5z2:"fhr9occ",Bduesf4:"f99w1ws"},smallWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},smallWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},mediumWithContentBefore:{uwmqm3:["f1ng84yb","f11gcy0p"]},mediumWithContentAfter:{z189sj:["f11gcy0p","f1ng84yb"]},largeWithContentBefore:{uwmqm3:["f1uw59to","fw5db7e"]},largeWithContentAfter:{z189sj:["fw5db7e","f1uw59to"]}},{d:[".f1pha7fy{min-height:24px;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1w5jphr{min-height:40px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f1eyhf9v{gap:var(--spacingHorizontalSNudge);}",{p:-1}],".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".fokr779{border-radius:0;}",{p:-1}],".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",[".f2ale1x::after{border-radius:0;}",{p:-1}],".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".fyed02w{box-shadow:var(--shadow2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fhr9occ::after{content:unset;}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}"],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}",".ftmjh5b:hover,.ftmjh5b:focus-within{border-top-color:var(--colorTransparentStrokeInteractive);}",".f17blpuu:hover,.f17blpuu:focus-within{border-right-color:var(--colorTransparentStrokeInteractive);}",".fsrcdbj:hover,.fsrcdbj:focus-within{border-left-color:var(--colorTransparentStrokeInteractive);}",".f1tpwn32:hover,.f1tpwn32:focus-within{border-bottom-color:var(--colorTransparentStrokeInteractive);}"],a:[".f8vnjqi:active,.f8vnjqi:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".fz1etlk:active,.fz1etlk:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".f1hc16gm:active,.f1hc16gm:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1klwx88:active,.f1klwx88:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media (forced-colors: active){.fg455y9{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14g86mu{border-left-color:GrayText;}.f1rvyvqg{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cwzwz{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],w:[".f99w1ws:focus-within{outline-style:none;}"]}),Dx=yr("r12stul0",null,[".r12stul0{align-self:stretch;box-sizing:border-box;flex-grow:1;min-width:0;border-style:none;padding:0 var(--spacingHorizontalM);color:var(--colorNeutralForeground1);background-color:transparent;outline-style:none;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;}",".r12stul0::-webkit-input-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::-moz-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::placeholder{color:var(--colorNeutralForeground4);opacity:1;}"]),Px=xr({small:{uwmqm3:["f1f5gg8d","f1vdfbxk"],z189sj:["f1vdfbxk","f1f5gg8d"]},medium:{},large:{uwmqm3:["fnphzt9","flt1dlf"],z189sj:["flt1dlf","fnphzt9"]},smallWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},smallWithContentAfter:{z189sj:["ffczdla","fgiv446"]},mediumWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},mediumWithContentAfter:{z189sj:["ffczdla","fgiv446"]},largeWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},largeWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".fnphzt9{padding-left:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".flt1dlf{padding-right:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"]}),Ex=yr("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),Ax=xr({disabled:{sj55zd:"f1s2aq7o"},small:{Duoase:"f3qv9w"},medium:{},large:{Duoase:"f16u2scb"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f3qv9w>svg{font-size:16px;}",".f16u2scb>svg{font-size:24px;}"]}),Fx=e=>{const{size:t,appearance:r}=e,o=e.input.disabled,a="true"==`${e.input["aria-invalid"]}`,n=r.startsWith("filled"),i=Cx(),s=Px(),l=Ax();e.root.className=rt(_x,Tx(),i[t],e.contentBefore&&i[`${t}WithContentBefore`],e.contentAfter&&i[`${t}WithContentAfter`],i[r],!o&&"outline"===r&&i.outlineInteractive,!o&&"underline"===r&&i.underlineInteractive,!o&&n&&i.filledInteractive,n&&i.filled,!o&&a&&i.invalid,o&&i.disabled,e.root.className),e.input.className=rt(Nx,Dx(),s[t],e.contentBefore&&s[`${t}WithContentBefore`],e.contentAfter&&s[`${t}WithContentAfter`],o&&s.disabled,e.input.className);const c=[Ex(),o&&l.disabled,l[t]];return e.contentBefore&&(e.contentBefore.className=rt(zx,...c,e.contentBefore.className)),e.contentAfter&&(e.contentAfter.className=rt(jx,...c,e.contentAfter.className)),e},Rx=s.exports.createContext(void 0).Provider,Ix=Zl(void 0),Mx={open:!1,setOpen:()=>!1,checkedValues:{},onCheckedValueChange:()=>null,isSubmenu:!1,triggerRef:{current:null},menuPopoverRef:{current:null},mountNode:null,triggerId:"",openOnContext:!1,openOnHover:!1,hasIcons:!1,hasCheckmarks:!1,inline:!1,persistOnItemClick:!1},Lx=Ix.Provider,Ox=e=>$l(Ix,((t=Mx)=>e(t))),qx=s.exports.createContext(void 0),Hx=qx.Provider,Vx=Zl(void 0),Zx={checkedValues:{},setFocusByFirstCharacter:()=>null,toggleCheckbox:()=>null,selectRadio:()=>null,hasIcons:!1,hasCheckmarks:!1},$x=Vx.Provider,Wx=e=>$l(Vx,((t=Zx)=>e(t)));function Ux(){const e=Ox((e=>e.isSubmenu)),t=Wl(Vx);return e||t}const Gx=e=>{ao(),Ox((e=>e.triggerRef)),Ox((e=>e.inline));return s.exports.useRef(null)},Xx=xr({root:{a9b677:"fjw5fx7",Bqenvij:"fd461yt",Bcdw1i0:"fd7fpy0",Bnnss6s:"fi64zpg"},rootChecked:{Bcdw1i0:"f1022m68",Bnnss6s:"fi64zpg"}},{d:[".fjw5fx7{width:16px;}",".fd461yt{height:16px;}",".fd7fpy0{visibility:hidden;}",".fi64zpg{flex-shrink:0;}",".f1022m68{visibility:visible;}"]}),Kx="fui-MenuItem",Jx="fui-MenuItem__icon",Yx="fui-MenuItem__checkmark",Qx="fui-MenuItem__submenuIndicator",ey="fui-MenuItem__content",ty="fui-MenuItem__secondaryContent",ry="fui-MenuItem__subText",oy=yr("rfoezjv","r8lt3v0",{r:[".rfoezjv{border-radius:var(--borderRadiusMedium);position:relative;color:var(--colorNeutralForeground2);background-color:var(--colorNeutralBackground1);padding-right:var(--spacingVerticalSNudge);padding-left:var(--spacingVerticalSNudge);padding-top:var(--spacingVerticalSNudge);padding-bottom:var(--spacingVerticalSNudge);box-sizing:border-box;max-width:290px;min-height:32px;flex-shrink:0;display:flex;align-items:start;font-size:var(--fontSizeBase300);cursor:pointer;gap:4px;-webkit-user-select:none;-moz-user-select:none;user-select:none;}",".rfoezjv:hover{background-color:var(--colorNeutralBackground1Hover);color:var(--colorNeutralForeground2Hover);}",".rfoezjv:hover .fui-Icon-filled{display:inline;}",".rfoezjv:hover .fui-Icon-regular{display:none;}",".rfoezjv:hover .fui-MenuItem__icon{color:var(--colorNeutralForeground2BrandSelected);}",".rfoezjv:hover .fui-MenuItem__subText{color:var(--colorNeutralForeground3Hover);}",".rfoezjv:hover:active{background-color:var(--colorNeutralBackground1Pressed);color:var(--colorNeutralForeground2Pressed);}",".rfoezjv:hover:active .fui-MenuItem__subText{color:var(--colorNeutralForeground3Pressed);}",".rfoezjv:focus{outline-style:none;}",".rfoezjv:focus-visible{outline-style:none;}",".rfoezjv[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.rfoezjv[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r8lt3v0{border-radius:var(--borderRadiusMedium);position:relative;color:var(--colorNeutralForeground2);background-color:var(--colorNeutralBackground1);padding-left:var(--spacingVerticalSNudge);padding-right:var(--spacingVerticalSNudge);padding-top:var(--spacingVerticalSNudge);padding-bottom:var(--spacingVerticalSNudge);box-sizing:border-box;max-width:290px;min-height:32px;flex-shrink:0;display:flex;align-items:start;font-size:var(--fontSizeBase300);cursor:pointer;gap:4px;-webkit-user-select:none;-moz-user-select:none;user-select:none;}",".r8lt3v0:hover{background-color:var(--colorNeutralBackground1Hover);color:var(--colorNeutralForeground2Hover);}",".r8lt3v0:hover .fui-Icon-filled{display:inline;}",".r8lt3v0:hover .fui-Icon-regular{display:none;}",".r8lt3v0:hover .fui-MenuItem__icon{color:var(--colorNeutralForeground2BrandSelected);}",".r8lt3v0:hover .fui-MenuItem__subText{color:var(--colorNeutralForeground3Hover);}",".r8lt3v0:hover:active{background-color:var(--colorNeutralBackground1Pressed);color:var(--colorNeutralForeground2Pressed);}",".r8lt3v0:hover:active .fui-MenuItem__subText{color:var(--colorNeutralForeground3Pressed);}",".r8lt3v0:focus{outline-style:none;}",".r8lt3v0:focus-visible{outline-style:none;}",".r8lt3v0[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r8lt3v0[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:['@media (forced-colors: active){.rfoezjv:hover{background-color:Canvas;border-color:Highlight;color:Highlight;}.rfoezjv:focus{outline-style:none;}.rfoezjv:focus-visible{outline-style:none;}.rfoezjv[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}@media (forced-colors: active){.rfoezjv[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}.rfoezjv[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid Highlight;border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}}',"@media (forced-colors: active){.rfoezjv[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}",'@media (forced-colors: active){.r8lt3v0:hover{background-color:Canvas;border-color:Highlight;color:Highlight;}.r8lt3v0:focus{outline-style:none;}.r8lt3v0:focus-visible{outline-style:none;}.r8lt3v0[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}@media (forced-colors: active){.r8lt3v0[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}.r8lt3v0[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid Highlight;border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}}',"@media (forced-colors: active){.r8lt3v0[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),ay=yr("r1ls86vo","rpbc5dr",[".r1ls86vo{padding-left:2px;padding-right:2px;background-color:transparent;flex-grow:1;}",".rpbc5dr{padding-right:2px;padding-left:2px;background-color:transparent;flex-grow:1;}"]),ny=yr("r12mwwux","r1ewgu5j",[".r12mwwux{padding-left:2px;padding-right:2px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);color:var(--colorNeutralForeground3);}",".r12mwwux:hover{color:var(--colorNeutralForeground3Hover);}",".r12mwwux:focus{color:var(--colorNeutralForeground3Hover);}",".r1ewgu5j{padding-right:2px;padding-left:2px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);color:var(--colorNeutralForeground3);}",".r1ewgu5j:hover{color:var(--colorNeutralForeground3Hover);}",".r1ewgu5j:focus{color:var(--colorNeutralForeground3Hover);}"]),iy=yr("ro9koqv",null,[".ro9koqv{width:20px;height:20px;font-size:20px;line-height:0;align-items:center;display:inline-flex;justify-content:center;flex-shrink:0;}"]),sy=yr("r9c34qo",null,[".r9c34qo{width:20px;height:20px;font-size:20px;line-height:0;align-items:center;display:inline-flex;justify-content:center;}"]),ly=yr("rk2ppru",null,[".rk2ppru{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase100);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase100);color:var(--colorNeutralForeground3);}"]),cy=xr({checkmark:{B6of3ja:"fmnzpld"},splitItemMain:{Bh6795r:"fqerorx"},splitItemTrigger:{Btl43ni:["f1ozlkrg","f10ostut"],Beyfa6y:["f1deotkl","f1krrbdw"],uwmqm3:["f1cnd47f","fhxju0i"],Ftih45:"f1wl9k8s",Ccq8qp:"f1yn80uh",Baz25je:"f68mna0",cmx5o7:"f1p5zmk"},disabled:{sj55zd:"f1s2aq7o",Bi91k9c:"fvgxktp",Jwef8y:"f1ijtazh",eoavqd:"fphbwmw",Bk3fhr4:"f19vpps7",Bmfj8id:"fv5swzo",Bg7n49j:"f1q1x1ba",c7f7en:"ff3wrqt",B2d53fq:"fcvwxyo",iro3zm:"f1to34ca",Bumww26:"fszh5vc",t0hwav:"ft33916",Bbusuzp:"f1dcs8yz",ze5xyy:"f1kc2mi9",Bqrx1nm:"fkavljg",Bctn1xl:"fk56vqo",h5esng:"ff3wi9b",Bsk3rfj:"fduv4kr",pc6evw:"fb3rf2x",g2kj27:"f183y0b2",evg1t5:"f12is0ou",Bh6z0a4:"f1ikwg0d",Bh953qp:"f10l1t5h"}},{d:[".fmnzpld{margin-top:2px;}",".fqerorx{flex-grow:1;}",".f1ozlkrg{border-top-left-radius:0;}",".f10ostut{border-top-right-radius:0;}",".f1deotkl{border-bottom-left-radius:0;}",".f1krrbdw{border-bottom-right-radius:0;}",".f1cnd47f{padding-left:0;}",".fhxju0i{padding-right:0;}",'.f1wl9k8s::before{content:"";}',".f1yn80uh::before{width:var(--strokeWidthThin);}",".f68mna0::before{height:24px;}",".f1p5zmk::before{background-color:var(--colorNeutralStroke1);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],h:[".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f1ijtazh:hover{background-color:var(--colorNeutralBackground1);}",".fphbwmw:hover{cursor:not-allowed;}",".f19vpps7:hover .fui-Icon-filled{display:none;}",".fv5swzo:hover .fui-Icon-regular{display:inline;}",".f1q1x1ba:hover .fui-MenuItem__icon{color:var(--colorNeutralForegroundDisabled);}",".ff3wrqt:hover .fui-MenuItem__subText{color:var(--colorNeutralForegroundDisabled);}",".fcvwxyo:hover:active{color:var(--colorNeutralForegroundDisabled);}",".f1to34ca:hover:active{background-color:var(--colorNeutralBackground1);}",".fszh5vc:hover:active .fui-MenuItem__subText{color:var(--colorNeutralForegroundDisabled);}"],f:[".ft33916:focus{color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1kc2mi9:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkavljg:hover{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fk56vqo:hover .fui-MenuItem__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ff3wi9b:hover .fui-MenuItem__icon{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fduv4kr:hover .fui-MenuItem__subText{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fb3rf2x:hover:active{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f183y0b2:hover:active{background-color:Canvas;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f12is0ou:hover:active .fui-MenuItem__subText{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ikwg0d:focus{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f10l1t5h:focus{background-color:Canvas;}}",{m:"(forced-colors: active)"}]]}),dy=xr({disabled:{sj55zd:"f1s2aq7o",Bbusuzp:"f1dcs8yz"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),uy=xr({content:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62"},secondaryContent:{qb2dma:"f7nlbp4"},submenuIndicator:{qb2dma:"f7nlbp4"}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f7nlbp4{align-self:center;}"]}),fy=e=>{const t=cy(),r=oy(),o=ay(),a=ny(),n=iy(),i=sy(),s=uy(),l=ly(),c=dy(),d=!!e.subText;return e.root.className=rt(Kx,r,e.disabled&&t.disabled,e.root.className),e.content&&(e.content.className=rt(ey,o,e.content.className,d&&s.content)),e.checkmark&&(e.checkmark.className=rt(Yx,t.checkmark,e.checkmark.className)),e.secondaryContent&&(e.secondaryContent.className=rt(ty,a,e.disabled&&t.disabled,e.secondaryContent.className,d&&s.secondaryContent)),e.icon&&(e.icon.className=rt(Jx,n,e.icon.className)),e.submenuIndicator&&(e.submenuIndicator.className=rt(Qx,i,e.submenuIndicator.className,d&&s.submenuIndicator)),e.subText&&(e.subText.className=rt(ry,e.disabled&&c.disabled,e.subText.className,l)),(e=>{const t=Xx();e.checkmark&&(e.checkmark.className=rt(t.root,e.checked&&t.rootChecked,e.checkmark.className))})(e),e},py=["after","after-bottom","before-top","before","before-bottom","above"],hy=e=>{const t=Ux(),{hoverDelay:r=500,inline:o=!1,hasCheckmarks:a=!1,hasIcons:n=!1,closeOnScroll:i=!1,openOnContext:l=!1,persistOnItemClick:c=!1,openOnHover:d=t,defaultCheckedValues:u,mountNode:f=null,safeZone:p}=e,{targetDocument:h}=ao(),g=Po("menu"),[v,m]=gm(),b={position:t?"after":"below",align:t?"top":"start",target:e.openOnContext?v:void 0,fallbackPositions:t?py:void 0,...om(e.positioning)},x=s.exports.Children.toArray(e.children);let y,w;2===x.length?(y=x[0],w=x[1]):1===x.length&&(w=x[0]);const{targetRef:k,containerRef:B}=hm(b),S=p&&d,_=s.exports.useRef({isInside:!1,mouseCoordinates:{x:0,y:0}}),N=function({debug:e=!1,disabled:t=!1,onSafeZoneEnter:r,onSafeZoneMove:o,onSafeZoneLeave:a,onSafeZoneTimeout:n,timeout:i=1500}={}){const[l]=s.exports.useState(vm),c=s.exports.useRef(null),d=s.exports.useRef(null),u=s.exports.useRef(null),[f,p]=qo(),[h,g]=yo(),v=s.exports.useRef({x:0,y:0}),m=s.exports.useMemo((()=>{if(t)return()=>{};let e=null;function r(){p(),l.toggleActive(!1)}return t=>{null===t&&(null==e||e.removeEventListener("mouseenter",r)),e=t,null==t||t.addEventListener("mouseenter",r)}}),[p,t,l]),b=s.exports.useMemo((()=>{if(t)return()=>{};let e=null;function r(e){v.current={x:e.clientX,y:e.clientY},l.isActive()||l.toggleActive(!0),f((()=>{l.toggleActive(!1)}),2e3)}return t=>{null===t&&(g(),p(),null==e||e.removeEventListener("mousemove",r)),e=t,null==t||t.addEventListener("mousemove",r)}}),[g,p,t,l,f]),x=jo((e=>{null==r||r(e),f((()=>{l.toggleActive(!1),null==n||n()}),i)})),y=jo((e=>{f((()=>{l.toggleActive(!1),null==n||n()}),i),null==o||o(e)})),w=jo((e=>{null==a||a(e)}));return s.exports.useEffect((()=>l.subscribe((e=>{if(e){let e=function(){const t=d.current,r=u.current;var o;t&&r&&(null===(o=c.current)||void 0===o||o.updateSVG({containerRect:t.getBoundingClientRect(),mouseCoordinates:[v.current.x,v.current.y],targetRect:r.getBoundingClientRect()})),h(e)};e()}else g()}))),[g,h,l]),{containerRef:Eo(d,m),targetRef:Eo(u,b),elementToRender:s.exports.useMemo((()=>t?null:s.exports.createElement(Fm,{debug:e,onMouseEnter:x,onMouseMove:y,onMouseLeave:w,imperativeRef:c,stateStore:l})),[t,e,x,y,w,l])}}({disabled:!S,timeout:"object"==typeof p?p.timeout:300,onSafeZoneEnter:e=>{C(e,{open:!0,keyboard:!1,type:"menuSafeZoneMouseEnter",event:e}),_.current.isInside=!0},onSafeZoneLeave:()=>{_.current.isInside=!1},onSafeZoneMove:e=>{_.current.mouseCoordinates={x:e.clientX,y:e.clientY}},onSafeZoneTimeout:()=>{const e=new CustomEvent("fuimenusafezonetimeout");if(C(e,{open:!1,keyboard:!1,type:"menuSafeZoneTimeout",event:e}),_.current.isInside&&h){const t=h.elementsFromPoint(_.current.mouseCoordinates.x,_.current.mouseCoordinates.y).find((e=>e.classList.contains(Kx)));null==t||t.dispatchEvent(e)}}}),z=Eo(k,N.targetRef),j=Eo(B,N.containerRef),[T,C]=vy({hoverDelay:r,isSubmenu:t,setContextTarget:m,closeOnScroll:i,menuPopoverRef:j,triggerRef:z,open:e.open,defaultOpen:e.defaultOpen,onOpenChange:e.onOpenChange,openOnContext:l}),[D,P]=gy({checkedValues:e.checkedValues,defaultCheckedValues:u,onCheckedValueChange:e.onCheckedValueChange});return{inline:o,hoverDelay:r,triggerId:g,isSubmenu:t,openOnHover:d,contextTarget:v,setContextTarget:m,hasCheckmarks:a,hasIcons:n,closeOnScroll:i,menuTrigger:y,menuPopover:w,mountNode:f,triggerRef:z,menuPopoverRef:j,components:{},openOnContext:l,open:T,setOpen:C,checkedValues:D,onCheckedValueChange:P,persistOnItemClick:c,safeZone:N.elementToRender}},gy=e=>{const[t,r]=wo({state:e.checkedValues,defaultState:e.defaultCheckedValues,initialState:{}});return[t,jo(((t,{name:o,checkedItems:a})=>{var n;null===(n=e.onCheckedValueChange)||void 0===n||n.call(e,t,{name:o,checkedItems:a}),r((e=>({...e,[o]:a})))}))]},vy=e=>{const{targetDocument:t}=ao(),r=Ox((e=>e.setOpen)),o=jo(((t,r)=>{var o;return null===(o=e.onOpenChange)||void 0===o?void 0:o.call(e,t,r)})),a=s.exports.useRef(!1),[n,i]=wo({state:e.open,defaultState:e.defaultOpen,initialState:!1}),l=jo(((t,a)=>{const n=t instanceof CustomEvent&&"fuimenuenter"===t.type?t.detail.nativeEvent:t;null==o||o(n,{...a}),a.open&&"contextmenu"===t.type&&e.setContextTarget(t),a.open||e.setContextTarget(void 0),a.bubble&&r(t,{...a}),i(a.open)})),[c,d]=qo(),u=jo(((t,r)=>{d(),t instanceof Event||!t.persist||t.persist();var o;r.ignoreHoverDelay||"mouseleave"!==t.type&&"mouseover"!==t.type&&"mousemove"!==t.type&&"fuimenuenter"!==t.type?l(t,r):((null===(o=e.triggerRef.current)||void 0===o?void 0:o.contains(t.target))&&(a.current="mouseover"===t.type||"mousemove"===t.type),c((()=>l(t,r)),e.hoverDelay))}));Fo({contains:ta,disabled:!n,element:t,refs:[e.menuPopoverRef,!e.openOnContext&&e.triggerRef].filter(Boolean),callback:e=>u(e,{open:!1,type:"clickOutside",event:e})});const f=e.openOnContext||e.closeOnScroll;Mo({contains:ta,element:t,callback:e=>u(e,{open:!1,type:"scrollOutside",event:e}),refs:[e.menuPopoverRef,!e.openOnContext&&e.triggerRef].filter(Boolean),disabled:!n||!f}),(e=>{const{refs:t,callback:r,element:o,disabled:a}=e,n=jo((e=>{const o=t[0],n=e.target;var i;!ta(null!==(i=o.current)&&void 0!==i?i:null,n)&&!a&&r(e)}));s.exports.useEffect((()=>{if(null!=o)return a||o.addEventListener("fuimenuenter",n),()=>{o.removeEventListener("fuimenuenter",n)}}),[n,o,a])})({element:t,callback:e=>{a.current||u(e,{open:!1,type:"menuMouseEnter",event:e})},disabled:!n,refs:[e.menuPopoverRef]});const{findFirstFocusable:p}=Di(),h=s.exports.useCallback((()=>{const t=p(e.menuPopoverRef.current);null==t||t.focus()}),[p,e.menuPopoverRef]),g=To();return s.exports.useEffect((()=>{var r;n?h():g||(null==t?void 0:t.activeElement)===(null==t?void 0:t.body)&&(null===(r=e.triggerRef.current)||void 0===r||r.focus())}),[e.triggerRef,e.isSubmenu,n,h,t,e.menuPopoverRef]),[n,u]};const my=e=>{const t=hy(e),r=function(e){const{checkedValues:t,hasCheckmarks:r,hasIcons:o,inline:a,isSubmenu:n,menuPopoverRef:i,mountNode:s,onCheckedValueChange:l,open:c,openOnContext:d,openOnHover:u,persistOnItemClick:f,safeZone:p,setOpen:h,triggerId:g,triggerRef:v}=e;return{menu:{checkedValues:t,hasCheckmarks:r,hasIcons:o,inline:a,isSubmenu:n,menuPopoverRef:i,mountNode:s,onCheckedValueChange:l,open:c,openOnContext:d,openOnHover:u,persistOnItemClick:f,safeZone:p,setOpen:h,triggerId:g,triggerRef:v}}}(t);return((e,t)=>s.exports.createElement(Lx,{value:t.menu},e.menuTrigger,e.open&&e.menuPopover))(t,r)};my.displayName="Menu";const by="fui-MenuDivider",xy=xr({root:{jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f8dz51a",a9b677:"f14z66ap",B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f1facbz3"}},{d:[[".f8dz51a{margin:4px -5px 4px -5px;}",{p:-1}],".f14z66ap{width:auto;}",[".f1facbz3{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}",{p:-1}]]}),yy=s.exports.forwardRef(((e,t)=>{const r=((e,t)=>({components:{root:"div"},root:Sr(Wr("div",{role:"presentation","aria-hidden":!0,...e,ref:t}),{elementType:"div"})}))(e,t);return(e=>{const t=xy();e.root.className=rt(by,t.root,e.root.className)})(r),fo("useMenuDividerStyles_unstable")(r),(e=>ia(e.root,{}))(r)}));yy.displayName="MenuDivider";const wy=s.exports.createContext(void 0),ky={setMultiline:()=>null};wy.Provider;const By=()=>{var e;return null!==(e=s.exports.useContext(wy))&&void 0!==e?e:ky},Sy=()=>By()!==ky,_y=Lp(bd,xd),Ny=Lp(vd,md),zy=(e,t)=>{const r=null!==(o=s.exports.useContext(qx))&&void 0!==o&&o;var o;const a=Ox((e=>e.persistOnItemClick)),{as:n="div",disabled:i=!1,hasSubmenu:l=r,persistOnClick:c=a,content:d,...u}=e,{hasIcons:f,hasCheckmarks:p}=Ty({hasSubmenu:l}),h=Ox((e=>e.setOpen));jy({multiline:!!e.subText,hasSubmenu:l});const{dir:g}=ao(),v=s.exports.useRef(null),m=s.exports.useRef(!1),b=Gx(Cy(e.role)),x={hasSubmenu:l,disabled:i,persistOnClick:c,components:{root:"div",icon:"span",checkmark:"span",submenuIndicator:"span",content:"span",secondaryContent:"span",subText:"span"},root:Sr(Wr(n,nc(n,{role:"menuitem",...u,disabled:!1,disabledFocusable:i,ref:Eo(t,v,b),onKeyDown:jo((t=>{var r;null===(r=e.onKeyDown)||void 0===r||r.call(e,t),t.isDefaultPrevented()||" "!==t.key&&t.key!==Gl||(m.current=!0)})),onMouseMove:jo((t=>{var r,o;t.currentTarget.ownerDocument.activeElement!==t.currentTarget&&(null===(o=v.current)||void 0===o||o.focus());null===(r=e.onMouseMove)||void 0===r||r.call(e,t)})),onClick:jo((t=>{var r;l||c||(h(t,{open:!1,keyboard:m.current,bubble:!0,type:"menuItemClick",event:t}),m.current=!1),null===(r=e.onClick)||void 0===r||r.call(e,t)}))})),{elementType:"div"}),icon:_r(e.icon,{renderByDefault:f,elementType:"span"}),checkmark:_r(e.checkmark,{renderByDefault:p,elementType:"span"}),submenuIndicator:_r(e.submenuIndicator,{renderByDefault:l,defaultProps:{children:"ltr"===g?s.exports.createElement(_y,null):s.exports.createElement(Ny,null)},elementType:"span"}),content:_r(e.content,{renderByDefault:!!e.children,defaultProps:{children:e.children},elementType:"span"}),secondaryContent:_r(e.secondaryContent,{elementType:"span"}),subText:_r(e.subText,{elementType:"span"})};return((e,t)=>{const r=Wx((e=>e.setFocusByFirstCharacter)),{onKeyDown:o}=e.root;e.root.onKeyDown=e=>{var a;null==o||o(e),(null===(a=e.key)||void 0===a?void 0:a.length)>1||t.current&&(null==r||r(e,t.current))}})(x,v),x},jy=e=>{const{hasSubmenu:t,multiline:r}=e,o=Sy()&&t,{setMultiline:a}=By();zo((()=>{o||a(r)}),[a,r,o])},Ty=e=>{const{hasSubmenu:t}=e,r=Wx((e=>e.hasIcons)),o=Wx((e=>e.hasCheckmarks)),a=Sy()&&t;return{hasIcons:r&&!a,hasCheckmarks:o&&!a}},Cy=e=>{switch(e){case"menuitemcheckbox":return"MenuItemCheckbox";case"menuitemradio":return"MenuItemRadio"}return"MenuItem"},Dy=s.exports.forwardRef(((e,t)=>{const r=zy(e,t);return fy(r),fo("useMenuItemStyles_unstable")(r),(e=>sa(e.root,{children:[e.checkmark&&ia(e.checkmark,{}),e.icon&&ia(e.icon,{}),e.content&&sa(e.content,{children:[e.content.children,e.subText&&ia(e.subText,{})]}),e.secondaryContent&&ia(e.secondaryContent,{}),e.submenuIndicator&&ia(e.submenuIndicator,{})]}))(r)}));Dy.displayName="MenuItem";const Py=()=>({checkedValues:Ox((e=>e.checkedValues)),onCheckedValueChange:Ox((e=>e.onCheckedValueChange)),triggerId:Ox((e=>e.triggerId)),hasIcons:Ox((e=>e.hasIcons)),hasCheckmarks:Ox((e=>e.hasCheckmarks))}),Ey=(e,t,r)=>{let o=!1;for(const a in t)e[a]&&(o=!0);return r&&o};const Ay="fui-MenuList",Fy=xr({root:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",i8kkvl:0,Belr9w4:0,rmohyg:"f1t6b6ee"},hasMenuContext:{Bqenvij:"f1l02sjl"}},{d:[".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",[".f1t6b6ee{gap:2px;}",{p:-1}],".f1l02sjl{height:100%;}"]}),Ry=s.exports.forwardRef(((e,t)=>{const r=((e,t)=>{const{findAllFocusable:r}=Di(),{targetDocument:o}=ao(),a=Py(),n=Wl(Ix),i=zi({circular:!0});Ey(e,a,n);const l=s.exports.useRef(null),c=Gx();s.exports.useEffect((()=>{const e=l.current;if(n&&o&&e){const t=t=>{const r=t.detail.next;r&&e.contains(o.activeElement)&&!e.contains(r)&&t.preventDefault()};return o.addEventListener("tabster:movefocus",t),()=>{o.removeEventListener("tabster:movefocus",t)}}}),[l,o,n]);const d=s.exports.useCallback(((e,t)=>{const o=["menuitem","menuitemcheckbox","menuitemradio"];if(!l.current)return;const a=r(l.current,(e=>e.hasAttribute("role")&&-1!==o.indexOf(e.getAttribute("role"))));let n=a.indexOf(t)+1;n===a.length&&(n=0);const i=a.map((e=>{var t;return null===(t=e.textContent)||void 0===t?void 0:t.charAt(0).toLowerCase()})),s=e.key.toLowerCase(),c=(e,t)=>{for(let r=e;r<i.length;r++)if(s===i[r])return r;return-1};let d=c(n);-1===d&&(d=c(0)),d>-1&&a[d].focus()}),[r]);var u;const[f,p]=wo({state:null!==(u=e.checkedValues)&&void 0!==u?u:n?a.checkedValues:void 0,defaultState:e.defaultCheckedValues,initialState:{}});var h;const g=null!==(h=e.onCheckedValueChange)&&void 0!==h?h:n?a.onCheckedValueChange:void 0,v=jo(((e,t,r,o)=>{const a=[...(null==f?void 0:f[t])||[]];o?a.splice(a.indexOf(r),1):a.push(r),null==g||g(e,{name:t,checkedItems:a}),p((e=>({...e,[t]:a})))})),m=jo(((e,t,r)=>{const o=[r];p((e=>({...e,[t]:o}))),null==g||g(e,{name:t,checkedItems:o})}));return{components:{root:"div"},root:Sr(Wr("div",{ref:Eo(t,l,c),role:"menu","aria-labelledby":a.triggerId,...i,...e}),{elementType:"div"}),hasIcons:a.hasIcons||!1,hasCheckmarks:a.hasCheckmarks||!1,checkedValues:f,hasMenuContext:n,setFocusByFirstCharacter:d,selectRadio:m,toggleCheckbox:v}})(e,t),o=function(e){const{checkedValues:t,hasCheckmarks:r,hasIcons:o,selectRadio:a,setFocusByFirstCharacter:n,toggleCheckbox:i}=e;return{menuList:{checkedValues:t,hasCheckmarks:r,hasIcons:o,selectRadio:a,setFocusByFirstCharacter:n,toggleCheckbox:i}}}(r);return(e=>{const t=Fy();e.root.className=rt(Ay,t.root,e.hasMenuContext&&t.hasMenuContext,e.root.className)})(r),fo("useMenuListStyles_unstable")(r),((e,t)=>ia($x,{value:t.menuList,children:ia(e.root,{})}))(r,o)}));Ry.displayName="MenuList";const Iy=(e,t)=>{const r=Ox((e=>e.safeZone)),o=Ox((e=>e.menuPopoverRef)),a=Ox((e=>e.setOpen)),n=Ox((e=>e.open)),i=Ox((e=>e.openOnHover)),l=Ox((e=>e.triggerRef)),c=Ux(),d=s.exports.useRef(!0),u=(_i(wi),An({restorer:{type:za}})),[f,p]=qo(),{dir:h}=ao(),g="ltr"===h?"ArrowLeft":"ArrowRight",v=s.exports.useCallback((e=>{e&&e.addEventListener("mouseover",(e=>{var t,r;d.current&&(d.current=!1,t=o.current,r=e,t.dispatchEvent(new CustomEvent("fuimenuenter",{bubbles:!0,detail:{nativeEvent:r}})),f((()=>{d.current=!0}),250))}))}),[o,f]);var m;s.exports.useEffect((()=>()=>p()),[p]);const b=null!==(m=Ox((e=>e.inline)))&&void 0!==m&&m,x=Ox((e=>e.mountNode)),y=Sr(Wr("div",{role:"presentation",...u,...e,ref:Eo(t,o,v)}),{elementType:"div"}),{onMouseEnter:w,onKeyDown:k}=y;return y.onMouseEnter=jo((e=>{(i||c)&&a(e,{open:!0,keyboard:!1,type:"menuPopoverMouseEnter",event:e}),null==w||w(e)})),y.onKeyDown=jo((e=>{const t=e.key;var r,i;(t===ac||c&&t===g)&&(n&&(null===(r=o.current)||void 0===r?void 0:r.contains(e.target))&&!e.isDefaultPrevented()&&(a(e,{open:!1,keyboard:!0,type:"menuPopoverKeyDown",event:e}),e.preventDefault()));"Tab"===t&&(a(e,{open:!1,keyboard:!0,type:"menuPopoverKeyDown",event:e}),c||null===(i=l.current)||void 0===i||i.focus());null==k||k(e)})),{inline:b,mountNode:x,safeZone:r,components:{root:"div"},root:y}},My="fui-MenuPopover",Ly=xr({root:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",De3pzq:"fxugw4r",sj55zd:"f19n0e5",B7ck84d:"f1ewtqcl",Bf4jedk:"fl8fusi",B2u0y6b:"f1kaai3v",B68tc82:"f1p9o1ba",a9b677:"f1ahpp82",E5pizo:"f1hg901r",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fd3pd8h",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f9ggezi",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",B93otf3:"f18k4bn6",vin17d:"fo1kyvf",Ezkn3b:"fetxo7e",nyiy2g:"f8x1vz1",swvrvq:"f8g0anz",Bkovbt3:"fezwn9i",hgjdhn:"fz5efge",fsy9dk:"f1ydixl4",B3ogreh:"f8dgqj5",jv49x5:"fnyfnr8",Bk7o48c:"fgw77r4",Bv12yb3:"f1noc5he",z0t1cu:"fi19xcv",Bks05zx:"f1mxk9aa",Bvtglag:"ffzg62k"}},{d:[[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ewtqcl{box-sizing:border-box;}",".fl8fusi{min-width:138px;}",".f1kaai3v{max-width:300px;}",".f1p9o1ba{overflow-x:hidden;}",".f1ahpp82{width:max-content;}",".f1hg901r{box-shadow:var(--shadow16);}",[".fd3pd8h{padding:4px;}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f18k4bn6{animation-composition:accumulate;}",".fo1kyvf{animation-duration:var(--durationSlower);}",".fetxo7e{animation-timing-function:var(--curveDecelerateMid);}",".f8x1vz1{--fui-positioning-slide-distance-x:0px;}",".f8g0anz{--fui-positioning-slide-distance-y:10px;}",".fezwn9i[data-popper-placement^=right]{--fui-positioning-slide-distance-x:-10px;}",".fz5efge[data-popper-placement^=right]{--fui-positioning-slide-distance-y:0px;}",".f1ydixl4[data-popper-placement^=bottom]{--fui-positioning-slide-distance-x:0px;}",".f8dgqj5[data-popper-placement^=bottom]{--fui-positioning-slide-distance-y:-10px;}",".fnyfnr8[data-popper-placement^=left]{--fui-positioning-slide-distance-x:10px;}",".fgw77r4[data-popper-placement^=left]{--fui-positioning-slide-distance-y:0px;}",".f1noc5he{animation-name:f1m0q9mo,f79suad;}"],k:["@keyframes f1m0q9mo{from{opacity:-1;}to{opacity:0;}}","@keyframes f79suad{from{transform:translate(var(--fui-positioning-slide-distance-x), var(--fui-positioning-slide-distance-y));}}"],m:[["@media (prefers-reduced-motion){.fi19xcv[data-popper-placement]{animation-duration:1ms;}}",{m:"(prefers-reduced-motion)"}],["@media (prefers-reduced-motion){.f1mxk9aa[data-popper-placement]{animation-name:f1m0q9mo;}}",{m:"(prefers-reduced-motion)"}]],t:["@supports not (animation-composition: accumulate){.ffzg62k[data-popper-placement]{animation-name:f1m0q9mo;}}"]}),Oy=s.exports.forwardRef(((e,t)=>{const r=Iy(e,t);return(e=>{const t=Ly();e.root.className=rt(My,t.root,e.root.className)})(r),fo("useMenuPopoverStyles_unstable")(r),(e=>e.inline?sa(s.exports.Fragment,{children:[ia(e.root,{}),e.safeZone]}):sa($m,{mountNode:e.mountNode,children:[ia(e.root,{}),e.safeZone]}))(r)}));function qy(){}Oy.displayName="MenuPopover";const Hy=e=>{const{children:t,disableButtonEnhancement:r=!1}=e,o=Ox((e=>e.triggerRef)),a=Ox((e=>e.menuPopoverRef)),n=Ox((e=>e.setOpen)),i=Ox((e=>e.open)),l=Ox((e=>e.triggerId)),c=Ox((e=>e.openOnHover)),d=Ox((e=>e.openOnContext)),u=Ux(),{findFirstFocusable:f}=Di(),p=s.exports.useCallback((()=>{const e=f(a.current);null==e||e.focus()}),[f,a]),h=s.exports.useRef(!1),g=s.exports.useRef(!1),v=s.exports.useRef(!1),{dir:m}=ao(),b="ltr"===m?"ArrowRight":"ArrowLeft",x=Qo(t),y=(e=>{const t=s.exports.useRef(null);return s.exports.useCallback((r=>{var o;null===(o=t.current)||void 0===o||o.removeEventListener("fuimenusafezonetimeout",e),null==r||r.addEventListener("fuimenusafezonetimeout",e),t.current=r}),[e])})(jo((()=>{u&&(g.current=!0)})));var w;const k={id:l,...null==x?void 0:x.props,ref:Eo(o,Vo(x),y),onMouseEnter:jo(null!==(w=null==x?void 0:x.props.onMouseEnter)&&void 0!==w?w:qy),onMouseLeave:jo(Zo(null==x?void 0:x.props.onMouseLeave,(e=>{Vy(e)||c&&n(e,{open:!1,keyboard:!1,type:"menuTriggerMouseLeave",event:e})}))),onContextMenu:jo(Zo(null==x?void 0:x.props.onContextMenu,(e=>{Vy(e)||e.isDefaultPrevented()||d&&(e.preventDefault(),n(e,{open:!0,keyboard:!1,type:"menuTriggerContextMenu",event:e}))}))),onMouseMove:jo(Zo(null==x?void 0:x.props.onMouseMove,(e=>{Vy(e)||c&&!v.current&&(n(e,{open:!0,keyboard:!1,type:"menuTriggerMouseMove",event:e}),v.current=!0)}))),onMouseOver:jo(Zo(null==x?void 0:x.props.onMouseOver,(e=>{Vy(e)||c&&(v.current?n(e,{open:!0,keyboard:!1,type:"menuTriggerMouseEnter",event:e}):g.current&&(n(e,{open:!0,keyboard:!1,ignoreHoverDelay:!0,type:"menuTriggerMouseEnter",event:e}),g.current=!1))})))},B={"aria-haspopup":"menu","aria-expanded":i||u?i:void 0,...k,onClick:jo(Zo(null==x?void 0:x.props.onClick,(e=>{Vy(e)||d||(n(e,{open:!i,keyboard:h.current,type:"menuTriggerClick",event:e}),h.current=!1)}))),onKeyDown:jo(Zo(null==x?void 0:x.props.onKeyDown,(e=>{if(Vy(e)||e.isDefaultPrevented())return;const t=e.key;!d&&(u&&t===b||!u&&"ArrowDown"===t)&&n(e,{open:!0,keyboard:!0,type:"menuTriggerKeyDown",event:e}),t!==ac||u||n(e,{open:!1,keyboard:!0,type:"menuTriggerKeyDown",event:e}),i&&t===b&&u&&p()})))},S=nc("button"===(null==x?void 0:x.type)||"a"===(null==x?void 0:x.type)?x.type:"div",B);return{isSubmenu:u,children:Jo(t,d?k:r?B:S)}},Vy=e=>{const t=e=>e.hasAttribute("disabled")||e.hasAttribute("aria-disabled")&&"true"===e.getAttribute("aria-disabled");return!(!$o(e.target)||!t(e.target))||$o(e.currentTarget)&&t(e.currentTarget)},Zy=e=>(e=>s.exports.createElement(Hx,{value:e.isSubmenu},e.children))(Hy(e));Zy.displayName="MenuTrigger",Zy.isFluentTriggerComponent=!0;const $y=s.exports.createContext(void 0),Wy={};$y.Provider;const Uy=(e,t)=>{const r=s.exports.useContext($y)||Wy,{name:o=r.name,checked:a=(void 0!==r.value?r.value===e.value:void 0),defaultChecked:n=(void 0!==r.defaultValue?r.defaultValue===e.value:void 0),labelPosition:i=("horizontal-stacked"===r.layout?"below":"after"),disabled:l=r.disabled,required:c=r.required,"aria-describedby":d=r["aria-describedby"],onChange:u}=e,f=$r({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),p=Sr(e.root,{defaultProps:{ref:Mi(),...f.root},elementType:"span"}),h=Sr(e.input,{defaultProps:{ref:t,type:"radio",id:Po("radio-",f.primary.id),name:o,checked:a,defaultChecked:n,disabled:l,required:c,"aria-describedby":d,...f.primary},elementType:"input"});h.onChange=Zo(h.onChange,(e=>null==u?void 0:u(e,{value:e.currentTarget.value})));const g=_r(e.label,{defaultProps:{htmlFor:h.id,disabled:h.disabled},elementType:zb}),v=Sr(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"});return{labelPosition:i,components:{root:"span",input:"input",label:zb,indicator:"div"},root:p,input:h,label:g,indicator:v}},Gy="fui-Radio",Xy="fui-Radio__indicator",Ky="fui-Radio__input",Jy="fui-Radio__label",Yy=yr("r1siqwd8","rmnplyc",{r:[".r1siqwd8{display:inline-flex;position:relative;}",".r1siqwd8:focus{outline-style:none;}",".r1siqwd8:focus-visible{outline-style:none;}",".r1siqwd8[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1siqwd8[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".rmnplyc{display:inline-flex;position:relative;}",".rmnplyc:focus{outline-style:none;}",".rmnplyc:focus-visible{outline-style:none;}",".rmnplyc[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rmnplyc[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1siqwd8[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.rmnplyc[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),Qy=xr({vertical:{Beiy3e4:"f1vx9l62",Bt984gj:"f122n59"}},{d:[".f1vx9l62{flex-direction:column;}",".f122n59{align-items:center;}"]}),ew=yr("rg1upok","rzwdzb4",{r:[".rg1upok{position:absolute;left:0;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));height:100%;box-sizing:border-box;margin:0;opacity:0;}",".rg1upok:enabled{cursor:pointer;}",".rg1upok:enabled~.fui-Radio__label{cursor:pointer;}",".rg1upok:enabled:not(:checked)~.fui-Radio__label{color:var(--colorNeutralForeground3);}",".rg1upok:enabled:not(:checked)~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessible);}",".rg1upok:enabled:not(:checked):hover~.fui-Radio__label{color:var(--colorNeutralForeground2);}",".rg1upok:enabled:not(:checked):hover~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessibleHover);}",".rg1upok:enabled:not(:checked):hover:active~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rg1upok:enabled:not(:checked):hover:active~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessiblePressed);}",".rg1upok:enabled:checked~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rg1upok:enabled:checked~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStroke);color:var(--colorCompoundBrandForeground1);}",".rg1upok:enabled:checked:hover~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokeHover);color:var(--colorCompoundBrandForeground1Hover);}",".rg1upok:enabled:checked:hover:active~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokePressed);color:var(--colorCompoundBrandForeground1Pressed);}",".rg1upok:disabled~.fui-Radio__label{color:var(--colorNeutralForegroundDisabled);cursor:default;}",".rg1upok:disabled~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeDisabled);color:var(--colorNeutralForegroundDisabled);}",".rzwdzb4{position:absolute;right:0;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));height:100%;box-sizing:border-box;margin:0;opacity:0;}",".rzwdzb4:enabled{cursor:pointer;}",".rzwdzb4:enabled~.fui-Radio__label{cursor:pointer;}",".rzwdzb4:enabled:not(:checked)~.fui-Radio__label{color:var(--colorNeutralForeground3);}",".rzwdzb4:enabled:not(:checked)~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessible);}",".rzwdzb4:enabled:not(:checked):hover~.fui-Radio__label{color:var(--colorNeutralForeground2);}",".rzwdzb4:enabled:not(:checked):hover~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessibleHover);}",".rzwdzb4:enabled:not(:checked):hover:active~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rzwdzb4:enabled:not(:checked):hover:active~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessiblePressed);}",".rzwdzb4:enabled:checked~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rzwdzb4:enabled:checked~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStroke);color:var(--colorCompoundBrandForeground1);}",".rzwdzb4:enabled:checked:hover~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokeHover);color:var(--colorCompoundBrandForeground1Hover);}",".rzwdzb4:enabled:checked:hover:active~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokePressed);color:var(--colorCompoundBrandForeground1Pressed);}",".rzwdzb4:disabled~.fui-Radio__label{color:var(--colorNeutralForegroundDisabled);cursor:default;}",".rzwdzb4:disabled~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeDisabled);color:var(--colorNeutralForegroundDisabled);}"],s:["@media (forced-colors: active){.rg1upok:enabled:not(:checked)~.fui-Radio__indicator{border-color:ButtonBorder;}}","@media (forced-colors: active){.rg1upok:enabled:checked~.fui-Radio__indicator{border-color:Highlight;color:Highlight;}.rg1upok:enabled:checked~.fui-Radio__indicator::after{background-color:Highlight;}}","@media (forced-colors: active){.rg1upok:disabled~.fui-Radio__label{color:GrayText;}}","@media (forced-colors: active){.rg1upok:disabled~.fui-Radio__indicator{border-color:GrayText;color:GrayText;}.rg1upok:disabled~.fui-Radio__indicator::after{background-color:GrayText;}}","@media (forced-colors: active){.rzwdzb4:enabled:not(:checked)~.fui-Radio__indicator{border-color:ButtonBorder;}}","@media (forced-colors: active){.rzwdzb4:enabled:checked~.fui-Radio__indicator{border-color:Highlight;color:Highlight;}.rzwdzb4:enabled:checked~.fui-Radio__indicator::after{background-color:Highlight;}}","@media (forced-colors: active){.rzwdzb4:disabled~.fui-Radio__label{color:GrayText;}}","@media (forced-colors: active){.rzwdzb4:disabled~.fui-Radio__indicator{border-color:GrayText;color:GrayText;}.rzwdzb4:disabled~.fui-Radio__indicator::after{background-color:GrayText;}}"]}),tw=xr({below:{a9b677:"fly5x3f",Bqenvij:"f1je6zif"},defaultIndicator:{Blbys7f:"f9ma1gx"},customIndicator:{Bj53wkj:"f12zxao0"}},{d:[".fly5x3f{width:100%;}",".f1je6zif{height:calc(16px + 2 * var(--spacingVerticalS));}",'.f9ma1gx:checked~.fui-Radio__indicator::after{content:"";}',".f12zxao0:not(:checked)~.fui-Radio__indicator>*{opacity:0;}"]}),rw=yr("rwtekvw",null,[".rwtekvw{position:relative;width:16px;height:16px;font-size:12px;box-sizing:border-box;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden;border:var(--strokeWidthThin) solid;border-radius:var(--borderRadiusCircular);margin:var(--spacingVerticalS) var(--spacingHorizontalS);fill:currentColor;pointer-events:none;}",".rwtekvw::after{position:absolute;width:16px;height:16px;border-radius:var(--borderRadiusCircular);transform:scale(0.625);background-color:currentColor;}"]),ow=xr({base:{qb2dma:"f7nlbp4",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},after:{uwmqm3:["fruq291","f7x41pl"],B6of3ja:"fjzwpt6",jrapky:"fh6j2fo"},below:{z8tnut:"f1ywm7hm",fsow6f:"f17mccla"}},{d:[".f7nlbp4{align-self:center;}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fjzwpt6{margin-top:calc((16px - var(--lineHeightBase300)) / 2);}",".fh6j2fo{margin-bottom:calc((16px - var(--lineHeightBase300)) / 2);}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f17mccla{text-align:center;}"]}),aw=s.exports.forwardRef(((e,t)=>{const r=Uy(e,t);return(e=>{const{labelPosition:t}=e,r=Yy(),o=Qy();e.root.className=rt(Gy,r,"below"===t&&o.vertical,e.root.className);const a=ew(),n=tw();e.input.className=rt(Ky,a,"below"===t&&n.below,e.indicator.children?n.customIndicator:n.defaultIndicator,e.input.className);const i=rw();e.indicator.className=rt(Xy,i,e.indicator.className);const s=ow();e.label&&(e.label.className=rt(Jy,s.base,s[t],e.label.className))})(r),fo("useRadioStyles_unstable")(r),(e=>sa(e.root,{children:[ia(e.input,{}),ia(e.indicator,{}),e.label&&ia(e.label,{})]}))(r)}));aw.displayName="Radio";const nw=(e,t,r)=>{let o=e;if(void 0!==t){if(void 0!==r&&t>r)return e;o=Math.max(t,o)}return void 0!==r&&(o=Math.min(r,o)),o},iw=(e,t,r)=>void 0!==t&&e===t?r===t?"both":"min":void 0!==r&&e===r?"max":"none";function sw(e,t,r=10){const o=Math.pow(r,t);return Math.round(e*o)/o}const lw=(e,t)=>{e=kb(e,{supportsLabelFor:!0,supportsRequired:!0});const r=$r({props:e,primarySlotTagName:"input",excludedPropNames:["defaultValue","max","min","onChange","size","value"]}),o=so();var a;const{value:n,displayValue:i,defaultValue:l,min:c,max:d,step:u=1,stepPage:f=1,precision:p,onChange:h,size:g="medium",appearance:v=(null!==(a=o.inputDefaultAppearance)&&void 0!==a?a:"outline"),root:m,input:b,incrementButton:x,decrementButton:y}=e,w=s.exports.useMemo((()=>null!=p?p:Math.max(function(e){const t=/[1-9]([0]+$)|\.([0-9]*)/.exec(String(e));return t?t[1]?-t[1].length:t[2]?t[2].length:0:0}(u),0)),[p,u]),[k,B]=wo({state:n,defaultState:l,initialState:0}),S=s.exports.useRef(null),_=void 0!==n,[N,z]=s.exports.useState(void 0),[j,T]=s.exports.useState("rest"),C=s.exports.useRef({value:k,spinState:"rest",spinTime:0,spinDelay:150,atBound:null!==k?iw(sw(k,w),c,d):"none"}),[D,P]=qo(),E=(e,t,r)=>{let o=C.current.value;if(r){const e=parseFloat(r);isNaN(e)||(o=e)}const a=o,n="up"===t||"upPage"===t?1:-1,i="upPage"===t||"downPage"===t?f:u;if(null===a){const t=nw((void 0===c?0:c)+i*n,c,d);return void R(e,t)}let s=a+i*n;Number.isNaN(s)||(s=nw(s,c,d)),R(e,s),"rest"!==C.current.spinState&&D((()=>{var r,o,a;C.current.spinTime+=C.current.spinDelay,C.current.spinDelay=(r=150,o=80,a=C.current.spinTime/1e3,r+(o-r)*a),E(e,t)}),C.current.spinDelay)},A=e=>{C.current.previousTextValue||(C.current.previousTextValue=null!=N?N:String(k));const t=e.target.value;z(t),S.current&&(S.current.ariaValueNow=t)},F=e=>{P(),C.current.spinState="rest",C.current.spinDelay=150,C.current.spinTime=0},R=(e,t,r)=>{const o=void 0!==t&&k!==t,a=void 0!==r&&void 0!==C.current.previousTextValue&&C.current.previousTextValue!==r;let n;if(o)n=sw(t,w),B(n),C.current.value=n;else if(a&&!_){const e=parseFloat(r);isNaN(e)||(B(sw(e,w)),C.current.value=sw(e,w))}(o||a)&&(null==h||h(e,{value:n,displayValue:r})),z(void 0)};let I;if(void 0!==N)I=N;else if(null===n||null===k)I=null!=i?i:"",C.current.value=null,C.current.atBound="none";else{const e=sw(k,w);C.current.value=e,C.current.atBound=iw(e,c,d),I=_&&null!=i?i:String(e)}const M={size:g,appearance:v,spinState:j,atBound:C.current.atBound,components:{root:"span",input:"input",incrementButton:"button",decrementButton:"button"},root:Sr(m,{defaultProps:r.root,elementType:"span"}),input:Sr(b,{defaultProps:{autoComplete:"off",role:"spinbutton",appearance:v,type:"text",...r.primary},elementType:"input"}),incrementButton:Sr(x,{defaultProps:{tabIndex:-1,children:s.exports.createElement(Cf,null),disabled:r.primary.disabled||"max"===C.current.atBound||"both"===C.current.atBound,"aria-label":"Increment value",type:"button"},elementType:"button"}),decrementButton:Sr(y,{defaultProps:{tabIndex:-1,children:s.exports.createElement(jf,null),disabled:r.primary.disabled||"min"===C.current.atBound||"both"===C.current.atBound,"aria-label":"Decrement value",type:"button"},elementType:"button"})};var L,O;return M.input.value=I,M.input.ref=Eo(S,t),M.input["aria-valuemin"]=c,M.input["aria-valuemax"]=d,M.input["aria-valuenow"]=null!==(L=C.current.value)&&void 0!==L?L:void 0,M.input["aria-valuetext"]=null!==(O=M.input["aria-valuetext"])&&void 0!==O?O:void 0!==n&&i||void 0,M.input.onChange=Zo(M.input.onChange,A),M.input.onInput=Zo(M.input.onInput,A),M.input.onBlur=Zo(M.input.onBlur,(e=>{R(e,k,N),C.current.previousTextValue=void 0})),M.input.onKeyDown=Zo(M.input.onKeyDown,(e=>{let t="rest";"ArrowUp"===e.key?(E(e,"up",N),t="up"):"ArrowDown"===e.key?(E(e,"down",N),t="down"):"PageUp"===e.key?(e.preventDefault(),E(e,"upPage",N),t="up"):"PageDown"===e.key?(e.preventDefault(),E(e,"downPage",N),t="down"):e.shiftKey||"Home"!==e.key||void 0===c?e.shiftKey||"End"!==e.key||void 0===d?e.key===Gl?(R(e,k,N),C.current.previousTextValue=void 0):e.key===ac&&C.current.previousTextValue&&(z(void 0),C.current.previousTextValue=void 0):(R(e,d),t="up"):(R(e,c),t="down"),j!==t&&T(t)})),M.input.onKeyUp=Zo(M.input.onKeyUp,(e=>{"rest"!==j&&(T("rest"),C.current.spinState="rest")})),M.incrementButton.onMouseDown=Zo((e=>{R(e,k,N),C.current.spinState="up",E(e,"up")}),M.incrementButton.onMouseDown),M.incrementButton.onMouseUp=Zo(M.incrementButton.onMouseUp,F),M.incrementButton.onMouseLeave=Zo(M.incrementButton.onMouseLeave,F),M.decrementButton.onMouseDown=Zo((e=>{R(e,k,N),C.current.spinState="down",E(e,"down")}),M.decrementButton.onMouseDown),M.decrementButton.onMouseUp=Zo(M.decrementButton.onMouseUp,F),M.decrementButton.onMouseLeave=Zo(M.decrementButton.onMouseLeave,F),M},cw="fui-SpinButton",dw="fui-SpinButton__input",uw="fui-SpinButton__incrementButton",fw="fui-SpinButton__decrementButton",pw="fui-SpinButton__button_active",hw=yr("r109xulx","r1h2jnch",{r:[".r109xulx{display:inline-grid;grid-template-columns:1fr 24px;grid-template-rows:1fr 1fr;column-gap:var(--spacingHorizontalXS);row-gap:0;position:relative;isolation:isolate;vertical-align:middle;background-color:var(--colorNeutralBackground1);min-height:32px;padding:0 0 0 var(--spacingHorizontalMNudge);border-radius:var(--borderRadiusMedium);}",'.r109xulx::before{content:"";box-sizing:border-box;position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:10;border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);border-radius:var(--borderRadiusMedium);}','.r109xulx::after{box-sizing:border-box;content:"";position:absolute;right:0;bottom:0;left:0;z-index:20;height:max(2px, var(--borderRadiusMedium));border-bottom-left-radius:var(--borderRadiusMedium);border-bottom-right-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r109xulx:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r109xulx:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r109xulx:focus-within{outline:2px solid transparent;}",".r1h2jnch{display:inline-grid;grid-template-columns:1fr 24px;grid-template-rows:1fr 1fr;column-gap:var(--spacingHorizontalXS);row-gap:0;position:relative;isolation:isolate;vertical-align:middle;background-color:var(--colorNeutralBackground1);min-height:32px;padding:0 var(--spacingHorizontalMNudge) 0 0;border-radius:var(--borderRadiusMedium);}",'.r1h2jnch::before{content:"";box-sizing:border-box;position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none;z-index:10;border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);border-radius:var(--borderRadiusMedium);}','.r1h2jnch::after{box-sizing:border-box;content:"";position:absolute;left:0;bottom:0;right:0;z-index:20;height:max(2px, var(--borderRadiusMedium));border-bottom-right-radius:var(--borderRadiusMedium);border-bottom-left-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r1h2jnch:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r1h2jnch:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r1h2jnch:focus-within{outline:2px solid transparent;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r109xulx::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r109xulx:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1h2jnch::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1h2jnch:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}"]}),gw=xr({small:{sshi5w:"f1pha7fy",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",uwmqm3:["f1f5gg8d","f1vdfbxk"]},medium:{},outline:{},outlineInteractive:{Bo3r8zu:"f1w2y1rc",Hpvxnh:["f1gofhvl","f18htlvq"],Bx11ytk:"ffcnd28",B1rg0w0:["f18htlvq","f1gofhvl"],Bsg1tlv:"f6lmxco",Brjw370:["fcoc0mf","f15r4wkl"],xcfy85:"f1ipdth8",Bcc6kan:["f15r4wkl","fcoc0mf"]},underline:{B0qfbqy:"f1o236ok",B4f6apu:["faeg28l","f64aojp"],y0oebl:"fdw6hkg",uvfttm:["f64aojp","faeg28l"],r59vdv:0,Budzafs:0,ck0cow:0,n07z76:0,Gng75u:"f1xyh2jw"},underlineInteractive:{Bx11ytk:"ffcnd28",xcfy85:"f1ipdth8",d9w3h3:0,B3778ie:0,B4j8arr:0,Bl18szs:0,Blrzh8d:"fkp7w9h"},filled:{Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1kc0wz4"},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},filledInteractive:{B05mzqr:"f1xqt08",tb9y6h:["fzt5lgo","f8tv3r9"],jcehpj:"fyhrops",B23o0hn:["f8tv3r9","fzt5lgo"]},invalid:{emecyz:"fl48pg9",lz0pba:["f1a168p3","f1pvdymy"],Bo1k74p:"f11knvgl",Ba322q7:["f1pvdymy","f1a168p3"]},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",Bq4z7u6:"f1a0lfh7",Bk5zm6e:["f1p2ejm6","fmzytvz"],Bqjgrrk:"fas2e61",Bm6vgfq:["fmzytvz","f1p2ejm6"],Cffpyd:"flb8es4",hxi8he:["f1lclws","frjp63v"],Bcuq369:"f1yv9wnt",Imo2if:["frjp63v","f1lclws"]}},{d:[".f1pha7fy{min-height:24px;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".f1o236ok::before{border-top-width:0;}",".faeg28l::before{border-right-width:0;}",".f64aojp::before{border-left-width:0;}",".fdw6hkg::before{border-bottom-width:1px;}",[".f1xyh2jw::before{border-radius:var(--borderRadiusNone);}",{p:-1}],[".fkp7w9h::after{border-radius:var(--borderRadiusNone);}",{p:-1}],[".f1kc0wz4::before{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".fl48pg9:not(:focus-within)::before,.fl48pg9:hover:not(:focus-within)::before{border-top-color:var(--colorPaletteRedBorder2);}",".f1a168p3:not(:focus-within)::before,.f1a168p3:hover:not(:focus-within)::before{border-right-color:var(--colorPaletteRedBorder2);}",".f1pvdymy:not(:focus-within)::before,.f1pvdymy:hover:not(:focus-within)::before{border-left-color:var(--colorPaletteRedBorder2);}",".f11knvgl:not(:focus-within)::before,.f11knvgl:hover:not(:focus-within)::before{border-bottom-color:var(--colorPaletteRedBorder2);}",".fdrzuqr{cursor:not-allowed;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1a0lfh7::before{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1p2ejm6::before{border-right-color:var(--colorNeutralStrokeDisabled);}",".fmzytvz::before{border-left-color:var(--colorNeutralStrokeDisabled);}",".fas2e61::before{border-bottom-color:var(--colorNeutralStrokeDisabled);}"],h:[".f1w2y1rc:hover::before{border-top-color:var(--colorNeutralStroke1Hover);}",".f1gofhvl:hover::before{border-right-color:var(--colorNeutralStroke1Hover);}",".f18htlvq:hover::before{border-left-color:var(--colorNeutralStroke1Hover);}",".ffcnd28:hover::before{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}",".f1xqt08:hover::before,.f1xqt08:focus-within::before{border-top-color:var(--colorTransparentStrokeInteractive);}",".fzt5lgo:hover::before,.fzt5lgo:focus-within::before{border-right-color:var(--colorTransparentStrokeInteractive);}",".f8tv3r9:hover::before,.f8tv3r9:focus-within::before{border-left-color:var(--colorTransparentStrokeInteractive);}",".fyhrops:hover::before,.fyhrops:focus-within::before{border-bottom-color:var(--colorTransparentStrokeInteractive);}"],a:[".f6lmxco:active::before,.f6lmxco:focus-within::before{border-top-color:var(--colorNeutralStroke1Pressed);}",".fcoc0mf:active::before,.fcoc0mf:focus-within::before{border-right-color:var(--colorNeutralStroke1Pressed);}",".f15r4wkl:active::before,.f15r4wkl:focus-within::before{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1ipdth8:active::before,.f1ipdth8:focus-within::before{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media (forced-colors: active){.flb8es4::before{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lclws::before{border-right-color:GrayText;}.frjp63v::before{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1yv9wnt::before{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]]}),vw=yr("r1ljrqje",null,[".r1ljrqje{grid-column-start:1;grid-column-end:2;grid-row-start:1;grid-row-end:3;outline-style:none;border:0;padding:0;color:var(--colorNeutralForeground1);background-color:transparent;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;width:100%;}",".r1ljrqje::-webkit-input-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r1ljrqje::-moz-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r1ljrqje::placeholder{color:var(--colorNeutralForeground4);opacity:1;}"]),mw=xr({disabled:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",yvdlaj:"fahhnxm"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"]}),bw=yr("r1g4chgs",null,[".r1g4chgs{display:inline-flex;width:24px;align-items:center;justify-content:center;border:0;position:absolute;outline-style:none;height:16px;background-color:transparent;color:var(--colorNeutralForeground3);grid-column-start:2;border-radius:0;padding:0 5px 0 5px;}",".r1g4chgs:active{outline-style:none;}",".r1g4chgs:enabled:hover{cursor:pointer;color:var(--colorNeutralForeground3Hover);background-color:var(--colorSubtleBackgroundHover);}",".r1g4chgs:enabled:active{color:var(--colorNeutralForeground3Pressed);background-color:var(--colorSubtleBackgroundPressed);}",".r1g4chgs:enabled.fui-SpinButton__button_active{color:var(--colorNeutralForeground3Pressed);background-color:var(--colorSubtleBackgroundPressed);}",".r1g4chgs:disabled{cursor:not-allowed;color:var(--colorNeutralForegroundDisabled);}"]),xw=xr({increment:{Ijaq50:"f16hsg94",B7oj6ja:["f1jar5jt","fyu767a"],z8tnut:"f10ra9hq",Byoj8tv:"f1brlhvm"},decrement:{Ijaq50:"faunodf",Bbmb7ep:["f1aa9q02","f16jpd5f"],z8tnut:"f1sl3k7w",Byoj8tv:"f1y2xyjm"},incrementButtonSmall:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f4lv8q1","fm3uwd2"],Bqenvij:"fvblgha"},decrementButtonSmall:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f1q86st8","frkrfqj"],Bqenvij:"fvblgha"},outline:{},underline:{De3pzq:"f3rmtva",sj55zd:"f11d4kpn",r4wkhp:"f1no7wuu",B95qlz1:"f1bifk9c",p743kt:"fp1zg4s",B7xitij:"fo6hitd",B6siaa6:"f1wiab75",Ba9qmo4:"fj9zm5z",Dyrjrp:"f1cqwcg4"},"filled-darker":{De3pzq:"f3rmtva",sj55zd:"f11d4kpn",r4wkhp:"f1no7wuu",B95qlz1:"fwwxidx",p743kt:"fp1zg4s",B7xitij:"f14i52sd",B6siaa6:"f1wiab75",Ba9qmo4:"fwry2ka",Dyrjrp:"f1cqwcg4"},"filled-lighter":{De3pzq:"f3rmtva",sj55zd:"f11d4kpn",r4wkhp:"f1no7wuu",B95qlz1:"f1yywxnv",drw0cw:"fzaa11h",idzz8t:"f4fpmm9",Dyrjrp:"f1cqwcg4"}},{d:[".f16hsg94{grid-row-start:1;}",".f1jar5jt{border-top-right-radius:var(--borderRadiusMedium);}",".fyu767a{border-top-left-radius:var(--borderRadiusMedium);}",".f10ra9hq{padding-top:4px;}",".f1brlhvm{padding-bottom:1px;}",".faunodf{grid-row-start:2;}",".f1aa9q02{border-bottom-right-radius:var(--borderRadiusMedium);}",".f16jpd5f{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1sl3k7w{padding-top:1px;}",".f1y2xyjm{padding-bottom:4px;}",[".f4lv8q1{padding:3px 6px 0px 4px;}",{p:-1}],[".fm3uwd2{padding:3px 4px 0px 6px;}",{p:-1}],".fvblgha{height:12px;}",[".f1q86st8{padding:0px 6px 3px 4px;}",{p:-1}],[".frkrfqj{padding:0px 4px 3px 6px;}",{p:-1}],".f3rmtva{background-color:transparent;}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".f1no7wuu:enabled:hover{color:var(--colorNeutralForeground3Hover);}",".f1bifk9c:enabled:hover{background-color:var(--colorSubtleBackgroundHover);}",".fp1zg4s:enabled:active{color:var(--colorNeutralForeground3Pressed);}",".fo6hitd:enabled:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1wiab75:enabled.fui-SpinButton__button_active{color:var(--colorNeutralForeground3Pressed);}",".fj9zm5z:enabled.fui-SpinButton__button_active{background-color:var(--colorSubtleBackgroundPressed);}",".f1cqwcg4:disabled{color:var(--colorNeutralForegroundDisabled);}",".fwwxidx:enabled:hover{background-color:var(--colorNeutralBackground3Hover);}",".f14i52sd:enabled:active{background-color:var(--colorNeutralBackground3Pressed);}",".fwry2ka:enabled.fui-SpinButton__button_active{background-color:var(--colorNeutralBackground3Pressed);}",".f1yywxnv:enabled:hover{background-color:var(--colorNeutralBackground1Hover);}",".fzaa11h:enabled:active,.fzaa11h:enabled.fui-SpinButton__button_active{color:var(--colorNeutralForeground3Pressed);}",".f4fpmm9:enabled:active,.f4fpmm9:enabled.fui-SpinButton__button_active{background-color:var(--colorNeutralBackground1Pressed);}"]}),yw=s.exports.forwardRef(((e,t)=>{const r=lw(e,t);return(e=>{const{appearance:t,spinState:r,size:o}=e,a=e.input.disabled,n="true"==`${e.input["aria-invalid"]}`,i=t.startsWith("filled"),s=gw(),l=xw(),c=mw();e.root.className=rt(cw,hw(),s[o],s[t],i&&s.filled,!a&&"outline"===t&&s.outlineInteractive,!a&&"underline"===t&&s.underlineInteractive,!a&&i&&s.filledInteractive,!a&&n&&s.invalid,a&&s.disabled,e.root.className),e.incrementButton.className=rt(uw,"up"===r&&`${pw}`,bw(),l.increment,l[t],"small"===o&&l.incrementButtonSmall,e.incrementButton.className),e.decrementButton.className=rt(fw,"down"===r&&`${pw}`,bw(),l.decrement,l[t],"small"===o&&l.decrementButtonSmall,e.decrementButton.className),e.input.className=rt(dw,vw(),a&&c.disabled,e.input.className)})(r),fo("useSpinButtonStyles_unstable")(r),(e=>sa(e.root,{children:[ia(e.input,{}),ia(e.incrementButton,{}),ia(e.decrementButton,{})]}))(r)}));yw.displayName="SpinButton";const ww=s.exports.createContext(void 0),kw={};ww.Provider;const Bw=(e,t)=>{const{size:r}=null!==(o=s.exports.useContext(ww))&&void 0!==o?o:kw;var o;const{appearance:a="primary",labelPosition:n="after",size:i=(null!=r?r:"medium"),delay:l=0}=e,c=Po("spinner"),{role:d="progressbar",...u}=e,f=Sr(Wr("div",{ref:t,role:d,...u},["size"]),{elementType:"div"}),[p,h]=s.exports.useState(!1),[g,v]=qo();s.exports.useEffect((()=>{if(!(l<=0))return g((()=>{h(!0)}),l),()=>{v()}}),[g,v,l]);const m=_r(e.label,{defaultProps:{id:c},renderByDefault:!1,elementType:zb}),b=_r(e.spinner,{renderByDefault:!0,elementType:"span"});m&&f&&!f["aria-labelledby"]&&(f["aria-labelledby"]=m.id);return{appearance:a,delay:l,labelPosition:n,size:i,shouldRenderSpinner:!l||p,components:{root:"div",spinner:"span",spinnerTail:"span",label:zb},root:f,spinner:b,spinnerTail:Sr(e.spinnerTail,{elementType:"span"}),label:m}},Sw="fui-Spinner",_w="fui-Spinner__spinner",Nw="fui-Spinner__spinnerTail",zw="fui-Spinner__label",jw=yr("rpp59a7",null,[".rpp59a7{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;min-width:min-content;}"]),Tw=xr({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),Cw=yr("rvgcg50","r15nd2jo",{r:[".rvgcg50{position:relative;flex-shrink:0;-webkit-mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);background-color:var(--colorBrandStroke2Contrast);color:var(--colorBrandStroke1);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:rb7n1on;}","@keyframes rb7n1on{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}",".r15nd2jo{position:relative;flex-shrink:0;-webkit-mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);background-color:var(--colorBrandStroke2Contrast);color:var(--colorBrandStroke1);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:r1gx3jof;}","@keyframes r1gx3jof{0%{transform:rotate(0deg);}100%{transform:rotate(-360deg);}}"],s:["@media screen and (forced-colors: active){.rvgcg50{background-color:HighlightText;color:Highlight;forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.rvgcg50{animation-duration:1.8s;}}","@media screen and (forced-colors: active){.r15nd2jo{background-color:HighlightText;color:Highlight;forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.r15nd2jo{animation-duration:1.8s;}}"]}),Dw=yr("rxov3xa","r1o544mv",{r:[".rxov3xa{position:absolute;display:block;width:100%;height:100%;-webkit-mask-image:conic-gradient(transparent 105deg, white 105deg);mask-image:conic-gradient(transparent 105deg, white 105deg);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:var(--curveEasyEase);animation-name:r15mim6k;}",'.rxov3xa::before,.rxov3xa::after{content:"";position:absolute;display:block;width:100%;height:100%;animation:inherit;background-image:conic-gradient(currentcolor 135deg, transparent 135deg);}',"@keyframes r15mim6k{0%{transform:rotate(-135deg);}50%{transform:rotate(0deg);}100%{transform:rotate(225deg);}}",".rxov3xa::before{animation-name:r18vhmn8;}","@keyframes r18vhmn8{0%{transform:rotate(0deg);}50%{transform:rotate(105deg);}100%{transform:rotate(0deg);}}",".rxov3xa::after{animation-name:rkgrvoi;}","@keyframes rkgrvoi{0%{transform:rotate(0deg);}50%{transform:rotate(225deg);}100%{transform:rotate(0deg);}}",".r1o544mv{position:absolute;display:block;width:100%;height:100%;-webkit-mask-image:conic-gradient(transparent 105deg, white 105deg);mask-image:conic-gradient(transparent 105deg, white 105deg);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:var(--curveEasyEase);animation-name:r109gmi5;}",'.r1o544mv::before,.r1o544mv::after{content:"";position:absolute;display:block;width:100%;height:100%;animation:inherit;background-image:conic-gradient(currentcolor 135deg, transparent 135deg);}',"@keyframes r109gmi5{0%{transform:rotate(135deg);}50%{transform:rotate(0deg);}100%{transform:rotate(-225deg);}}",".r1o544mv::before{animation-name:r17whflh;}","@keyframes r17whflh{0%{transform:rotate(0deg);}50%{transform:rotate(-105deg);}100%{transform:rotate(0deg);}}",".r1o544mv::after{animation-name:re4odhl;}","@keyframes re4odhl{0%{transform:rotate(0deg);}50%{transform:rotate(-225deg);}100%{transform:rotate(0deg);}}"],s:["@media screen and (prefers-reduced-motion: reduce){.rxov3xa{animation-iteration-count:0;background-image:conic-gradient(transparent 120deg, currentcolor 360deg);}.rxov3xa::before,.rxov3xa::after{content:none;}}","@media screen and (prefers-reduced-motion: reduce){.r1o544mv{animation-iteration-count:0;background-image:conic-gradient(transparent 120deg, currentcolor 360deg);}.r1o544mv::before,.r1o544mv::after{content:none;}}"]}),Pw=xr({inverted:{De3pzq:"fr407j0",sj55zd:"f1f7voed"},rtlTail:{btxmck:"f179dep3",gb5jj2:"fbz9ihp",Br2kee7:"f1wkkxo7"},"extra-tiny":{Bqenvij:"fd461yt",a9b677:"fjw5fx7",qmp6fs:"f1v3ph3m"},tiny:{Bqenvij:"fjamq6b",a9b677:"f64fuq3",qmp6fs:"f1v3ph3m"},"extra-small":{Bqenvij:"frvgh55",a9b677:"fq4mcun",qmp6fs:"f1v3ph3m"},small:{Bqenvij:"fxldao9",a9b677:"f1w9dchk",qmp6fs:"f1v3ph3m"},medium:{Bqenvij:"f1d2rq10",a9b677:"f1szoe96",qmp6fs:"fb52u90"},large:{Bqenvij:"f8ljn23",a9b677:"fpdz1er",qmp6fs:"fb52u90"},"extra-large":{Bqenvij:"fbhnoac",a9b677:"feqmc2u",qmp6fs:"fb52u90"},huge:{Bqenvij:"f1ft4266",a9b677:"fksc0bp",qmp6fs:"fa3u9ii"}},{d:[".fr407j0{background-color:var(--colorNeutralStrokeAlpha2);}",".f1f7voed{color:var(--colorNeutralStrokeOnBrand2);}",".f179dep3{-webkit-mask-image:conic-gradient(white 255deg, transparent 255deg);mask-image:conic-gradient(white 255deg, transparent 255deg);}",".fbz9ihp::before,.fbz9ihp::after{background-image:conic-gradient(transparent 225deg, currentcolor 225deg);}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".f1v3ph3m{--fui-Spinner--strokeWidth:var(--strokeWidthThick);}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".fxldao9{height:28px;}",".f1w9dchk{width:28px;}",".f1d2rq10{height:32px;}",".f1szoe96{width:32px;}",".fb52u90{--fui-Spinner--strokeWidth:var(--strokeWidthThicker);}",".f8ljn23{height:36px;}",".fpdz1er{width:36px;}",".fbhnoac{height:40px;}",".feqmc2u{width:40px;}",".f1ft4266{height:44px;}",".fksc0bp{width:44px;}",".fa3u9ii{--fui-Spinner--strokeWidth:var(--strokeWidthThickest);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.f1wkkxo7{background-image:conic-gradient(currentcolor 0deg, transparent 240deg);}}",{m:"screen and (prefers-reduced-motion: reduce)"}]]}),Ew=xr({inverted:{sj55zd:"fonrgv7"},"extra-tiny":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},tiny:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},"extra-small":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},large:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},"extra-large":{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},huge:{Bahqtrf:"fk6fouc",Be2twd7:"f1pp30po",Bhrd7zp:"fl43uef",Bg96gwp:"f106mvju"}},{d:[".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f106mvju{line-height:var(--lineHeightBase500);}"]}),Aw=s.exports.forwardRef(((e,t)=>{const r=Bw(e,t);return(e=>{const{labelPosition:t,size:r,appearance:o}=e,{dir:a}=ao(),n=jw(),i=Tw(),s=Cw(),l=Pw(),c=Dw(),d=Ew();e.root.className=rt(Sw,n,("above"===t||"below"===t)&&i.vertical,e.root.className),e.spinner&&(e.spinner.className=rt(_w,s,l[r],"inverted"===o&&l.inverted,e.spinner.className)),e.spinnerTail&&(e.spinnerTail.className=rt(Nw,c,"rtl"===a&&l.rtlTail,e.spinnerTail.className)),e.label&&(e.label.className=rt(zw,d[r],"inverted"===o&&d.inverted,e.label.className))})(r),fo("useSpinnerStyles_unstable")(r),(e=>{const{labelPosition:t,shouldRenderSpinner:r}=e;return sa(e.root,{children:[e.label&&r&&("above"===t||"before"===t)&&ia(e.label,{}),e.spinner&&r&&ia(e.spinner,{children:e.spinnerTail&&ia(e.spinnerTail,{})}),e.label&&r&&("below"===t||"after"===t)&&ia(e.label,{})]})})(r)}));Aw.displayName="Spinner";const Fw="fui-Switch",Rw="fui-Switch__indicator",Iw="fui-Switch__input",Mw="fui-Switch__label",Lw=yr("r2i81i2","rofhmb8",{r:[".r2i81i2{align-items:flex-start;box-sizing:border-box;display:inline-flex;position:relative;}",".r2i81i2:focus{outline-style:none;}",".r2i81i2:focus-visible{outline-style:none;}",".r2i81i2[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r2i81i2[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".rofhmb8{align-items:flex-start;box-sizing:border-box;display:inline-flex;position:relative;}",".rofhmb8:focus{outline-style:none;}",".rofhmb8:focus-visible{outline-style:none;}",".rofhmb8[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rofhmb8[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r2i81i2[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.rofhmb8[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),Ow=xr({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),qw=yr("r1c3hft5",null,{r:[".r1c3hft5{border-radius:var(--borderRadiusCircular);border:1px solid;line-height:0;box-sizing:border-box;fill:currentColor;flex-shrink:0;font-size:18px;height:20px;margin:var(--spacingVerticalS) var(--spacingHorizontalS);pointer-events:none;transition-duration:var(--durationNormal);transition-timing-function:var(--curveEasyEase);transition-property:background,border,color;width:40px;}",".r1c3hft5>*{transition-duration:var(--durationNormal);transition-timing-function:var(--curveEasyEase);transition-property:transform;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1c3hft5{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1c3hft5{color:CanvasText;}.r1c3hft5>i{forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.r1c3hft5>*{transition-duration:0.01ms;}}"]}),Hw=xr({labelAbove:{B6of3ja:"f1hu3pq6"}},{d:[".f1hu3pq6{margin-top:0;}"]}),Vw=yr("rsji9ng","r15xih98",{r:[".rsji9ng{box-sizing:border-box;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;width:calc(40px + 2 * var(--spacingHorizontalS));}",".rsji9ng:checked~.fui-Switch__indicator>*{transform:translateX(20px);}",".rsji9ng:disabled{cursor:default;}",".rsji9ng:disabled~.fui-Switch__indicator{color:var(--colorNeutralForegroundDisabled);}",".rsji9ng:disabled~.fui-Switch__label{cursor:default;color:var(--colorNeutralForegroundDisabled);}",".rsji9ng:enabled:not(:checked)~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessible);border-color:var(--colorNeutralStrokeAccessible);}",".rsji9ng:enabled:not(:checked)~.fui-Switch__label{color:var(--colorNeutralForeground1);}",".rsji9ng:enabled:not(:checked):hover~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}",".rsji9ng:enabled:not(:checked):hover:active~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}",".rsji9ng:enabled:checked~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackground);color:var(--colorNeutralForegroundInverted);border-color:var(--colorTransparentStroke);}",".rsji9ng:enabled:checked:hover~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundHover);border-color:var(--colorTransparentStrokeInteractive);}",".rsji9ng:enabled:checked:hover:active~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundPressed);border-color:var(--colorTransparentStrokeInteractive);}",".rsji9ng:disabled:not(:checked)~.fui-Switch__indicator{border-color:var(--colorNeutralStrokeDisabled);}",".rsji9ng:disabled:checked~.fui-Switch__indicator{background-color:var(--colorNeutralBackgroundDisabled);border-color:var(--colorTransparentStrokeDisabled);}",".r15xih98{box-sizing:border-box;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;width:calc(40px + 2 * var(--spacingHorizontalS));}",".r15xih98:checked~.fui-Switch__indicator>*{transform:translateX(-20px);}",".r15xih98:disabled{cursor:default;}",".r15xih98:disabled~.fui-Switch__indicator{color:var(--colorNeutralForegroundDisabled);}",".r15xih98:disabled~.fui-Switch__label{cursor:default;color:var(--colorNeutralForegroundDisabled);}",".r15xih98:enabled:not(:checked)~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessible);border-color:var(--colorNeutralStrokeAccessible);}",".r15xih98:enabled:not(:checked)~.fui-Switch__label{color:var(--colorNeutralForeground1);}",".r15xih98:enabled:not(:checked):hover~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}",".r15xih98:enabled:not(:checked):hover:active~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}",".r15xih98:enabled:checked~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackground);color:var(--colorNeutralForegroundInverted);border-color:var(--colorTransparentStroke);}",".r15xih98:enabled:checked:hover~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundHover);border-color:var(--colorTransparentStrokeInteractive);}",".r15xih98:enabled:checked:hover:active~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundPressed);border-color:var(--colorTransparentStrokeInteractive);}",".r15xih98:disabled:not(:checked)~.fui-Switch__indicator{border-color:var(--colorNeutralStrokeDisabled);}",".r15xih98:disabled:checked~.fui-Switch__indicator{background-color:var(--colorNeutralBackgroundDisabled);border-color:var(--colorTransparentStrokeDisabled);}"],s:["@media (forced-colors: active){.rsji9ng:disabled~.fui-Switch__indicator{color:GrayText;border-color:GrayText;}.rsji9ng:disabled~.fui-Switch__label{color:GrayText;}.rsji9ng:hover{color:CanvasText;}.rsji9ng:hover:active{color:CanvasText;}.rsji9ng:enabled:checked:hover~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.rsji9ng:enabled:checked:hover:active~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.rsji9ng:enabled:checked~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}}","@media (forced-colors: active){.r15xih98:disabled~.fui-Switch__indicator{color:GrayText;border-color:GrayText;}.r15xih98:disabled~.fui-Switch__label{color:GrayText;}.r15xih98:hover{color:CanvasText;}.r15xih98:hover:active{color:CanvasText;}.r15xih98:enabled:checked:hover~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.r15xih98:enabled:checked:hover:active~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.r15xih98:enabled:checked~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}}"]}),Zw=xr({before:{j35jbq:["f1e31b4d","f1vgc2s3"],Bhzewxz:"f15twtuk"},after:{oyh7mz:["f1vgc2s3","f1e31b4d"],Bhzewxz:"f15twtuk"},above:{B5kzvoi:"f1yab3r1",Bqenvij:"f1aar7gd",a9b677:"fly5x3f"}},{d:[".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f15twtuk{top:0;}",".f1yab3r1{bottom:0;}",".f1aar7gd{height:calc(20px + var(--spacingVerticalS));}",".fly5x3f{width:100%;}"]}),$w=xr({base:{Bceei9c:"f1k6fduh",jrapky:"f49ad5g",B6of3ja:"f1xlvstr",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},above:{z8tnut:"f1ywm7hm",Byoj8tv:"f14wxoun",a9b677:"fly5x3f"},after:{uwmqm3:["fruq291","f7x41pl"]},before:{z189sj:["f7x41pl","fruq291"]}},{d:[".f1k6fduh{cursor:pointer;}",".f49ad5g{margin-bottom:calc((20px - var(--lineHeightBase300)) / 2);}",".f1xlvstr{margin-top:calc((20px - var(--lineHeightBase300)) / 2);}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f14wxoun{padding-bottom:var(--spacingVerticalXS);}",".fly5x3f{width:100%;}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}"]}),Ww=s.exports.forwardRef(((e,t)=>{const r=((e,t)=>{e=kb(e,{supportsLabelFor:!0,supportsRequired:!0});const{checked:r,defaultChecked:o,disabled:a,labelPosition:n="after",onChange:i,required:l}=e,c=$r({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),d=Po("switch-",c.primary.id),u=Sr(e.root,{defaultProps:{ref:Mi(),...c.root},elementType:"div"}),f=Sr(e.indicator,{defaultProps:{"aria-hidden":!0,children:s.exports.createElement(wd,null)},elementType:"div"}),p=Sr(e.input,{defaultProps:{checked:r,defaultChecked:o,id:d,ref:t,role:"switch",type:"checkbox",...c.primary},elementType:"input"});p.onChange=Zo(p.onChange,(e=>null==i?void 0:i(e,{checked:e.currentTarget.checked})));const h=_r(e.label,{defaultProps:{disabled:a,htmlFor:d,required:l,size:"medium"},elementType:zb});return{labelPosition:n,components:{root:"div",indicator:"div",input:"input",label:zb},root:u,indicator:f,input:p,label:h}})(e,t);return(e=>{const t=Lw(),r=Ow(),o=qw(),a=Hw(),n=Vw(),i=Zw(),s=$w(),{label:l,labelPosition:c}=e;e.root.className=rt(Fw,t,"above"===c&&r.vertical,e.root.className),e.indicator.className=rt(Rw,o,l&&"above"===c&&a.labelAbove,e.indicator.className),e.input.className=rt(Iw,n,l&&i[c],e.input.className),e.label&&(e.label.className=rt(Mw,s.base,s[c],e.label.className))})(r),fo("useSwitchStyles_unstable")(r),(e=>{const{labelPosition:t}=e;return sa(e.root,{children:[ia(e.input,{}),"after"!==t&&e.label&&ia(e.label,{}),ia(e.indicator,{}),"after"===t&&e.label&&ia(e.label,{})]})})(r)}));Ww.displayName="Switch";const Uw="fui-Text",Gw=xr({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Bhrd7zp:"figsok6",fsow6f:"fpgzoln",mc9l5x:"f1w7gpdv",Huce71:"f6juhto",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",ygn44y:"f2jf649"},nowrap:{Huce71:"fz5stix",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp"},truncate:{ygn44y:"f1cmbuwj"},block:{mc9l5x:"ftgm304"},italic:{B80ckks:"f1j4dglz"},underline:{w71qe1:"f13mvf36"},strikethrough:{w71qe1:"fv5q2k7"},strikethroughUnderline:{w71qe1:"f1drk4o6"},base100:{Be2twd7:"f13mqy1h",Bg96gwp:"fcpl73t"},base200:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm"},base400:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k"},base500:{Be2twd7:"f1pp30po",Bg96gwp:"f106mvju"},base600:{Be2twd7:"f1x0m3f5",Bg96gwp:"fb86gi6"},hero700:{Be2twd7:"fojgt09",Bg96gwp:"fcen8rp"},hero800:{Be2twd7:"fccw675",Bg96gwp:"f1ebx5kk"},hero900:{Be2twd7:"f15afnhw",Bg96gwp:"fr3w3wp"},hero1000:{Be2twd7:"fpyltcb",Bg96gwp:"f1ivgwrt"},monospace:{Bahqtrf:"f1fedwem"},numeric:{Bahqtrf:"f1uq0ln5"},weightMedium:{Bhrd7zp:"fdj6btp"},weightSemibold:{Bhrd7zp:"fl43uef"},weightBold:{Bhrd7zp:"flh3ekv"},alignCenter:{fsow6f:"f17mccla"},alignEnd:{fsow6f:"f12ymhq5"},alignJustify:{fsow6f:"f1j59e10"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fpgzoln{text-align:start;}",".f1w7gpdv{display:inline;}",".f6juhto{white-space:normal;}",[".f1gl81tg{overflow:visible;}",{p:-1}],".f2jf649{text-overflow:clip;}",".fz5stix{white-space:nowrap;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],".f1cmbuwj{text-overflow:ellipsis;}",".ftgm304{display:block;}",".f1j4dglz{font-style:italic;}",".f13mvf36{text-decoration-line:underline;}",".fv5q2k7{text-decoration-line:line-through;}",".f1drk4o6{text-decoration-line:line-through underline;}",".f13mqy1h{font-size:var(--fontSizeBase100);}",".fcpl73t{line-height:var(--lineHeightBase100);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f106mvju{line-height:var(--lineHeightBase500);}",".f1x0m3f5{font-size:var(--fontSizeBase600);}",".fb86gi6{line-height:var(--lineHeightBase600);}",".fojgt09{font-size:var(--fontSizeHero700);}",".fcen8rp{line-height:var(--lineHeightHero700);}",".fccw675{font-size:var(--fontSizeHero800);}",".f1ebx5kk{line-height:var(--lineHeightHero800);}",".f15afnhw{font-size:var(--fontSizeHero900);}",".fr3w3wp{line-height:var(--lineHeightHero900);}",".fpyltcb{font-size:var(--fontSizeHero1000);}",".f1ivgwrt{line-height:var(--lineHeightHero1000);}",".f1fedwem{font-family:var(--fontFamilyMonospace);}",".f1uq0ln5{font-family:var(--fontFamilyNumeric);}",".fdj6btp{font-weight:var(--fontWeightMedium);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".flh3ekv{font-weight:var(--fontWeightBold);}",".f17mccla{text-align:center;}",".f12ymhq5{text-align:end;}",".f1j59e10{text-align:justify;}"]}),Xw=s.exports.forwardRef(((e,t)=>{const r=((e,t)=>{const{wrap:r,truncate:o,block:a,italic:n,underline:i,strikethrough:s,size:l,font:c,weight:d,align:u}=e;return{align:null!=u?u:"start",block:null!=a&&a,font:null!=c?c:"base",italic:null!=n&&n,size:null!=l?l:300,strikethrough:null!=s&&s,truncate:null!=o&&o,underline:null!=i&&i,weight:null!=d?d:"regular",wrap:null==r||r,components:{root:"span"},root:Sr(Wr("span",{ref:t,...e}),{elementType:"span"})}})(e,t);return(e=>{const t=Gw();e.root.className=rt(Uw,t.root,!1===e.wrap&&t.nowrap,e.truncate&&t.truncate,e.block&&t.block,e.italic&&t.italic,e.underline&&t.underline,e.strikethrough&&t.strikethrough,e.underline&&e.strikethrough&&t.strikethroughUnderline,100===e.size&&t.base100,200===e.size&&t.base200,400===e.size&&t.base400,500===e.size&&t.base500,600===e.size&&t.base600,700===e.size&&t.hero700,800===e.size&&t.hero800,900===e.size&&t.hero900,1e3===e.size&&t.hero1000,"monospace"===e.font&&t.monospace,"numeric"===e.font&&t.numeric,"medium"===e.weight&&t.weightMedium,"semibold"===e.weight&&t.weightSemibold,"bold"===e.weight&&t.weightBold,"center"===e.align&&t.alignCenter,"end"===e.align&&t.alignEnd,"justify"===e.align&&t.alignJustify,e.root.className)})(r),fo("useTextStyles_unstable")(r),(e=>ia(e.root,{}))(r)}));Xw.displayName="Text";const Kw=yr("r6pzz3z",null,[".r6pzz3z{overflow-y:hidden;overflow-y:clip;scrollbar-gutter:stable;}"]),Jw=yr("r144vlu9",null,[".r144vlu9{overflow-y:hidden;}"]);const Yw={open:!1,inertTrapFocus:!1,modalType:"modal",isNestedDialog:!1,unmountOnClose:!0,dialogRef:{current:null},requestOpenChange(){}},Qw=Zl(void 0),ek=Qw.Provider,tk=e=>$l(Qw,((t=Yw)=>e(t))),rk=s.exports.createContext(void 0),ok=rk.Provider,ak=nh(mh,{fromScale:.85,easing:Hp.curveDecelerateMid,duration:Hp.durationGentle,exitEasing:Hp.curveAccelerateMin,exitDuration:Hp.durationGentle}),nk=e=>{const{children:t,modalType:r="modal",onOpenChange:o,inertTrapFocus:a=!1,unmountOnClose:n=!0}=e,i=Po("dialog-title-"),[l,c]=function(e){const t=s.exports.Children.toArray(e);switch(t.length){case 2:return t;case 1:return[void 0,t[0]];default:return[void 0,void 0]}}(t),[d,u]=wo({state:e.open,defaultState:e.defaultOpen,initialState:!1}),f=jo((e=>{null==o||o(e.event,e),e.event.isDefaultPrevented()||u(e.open)})),p=function(e,t){const{findFirstFocusable:r}=Di(),{targetDocument:o}=ao(),a=s.exports.useRef(null);return s.exports.useEffect((()=>{if(!e)return;const t=a.current&&r(a.current);var o;t?t.focus():null===(o=a.current)||void 0===o||o.focus()}),[r,e,t,o]),a}(d,r),{modalAttributes:h,triggerAttributes:g}=Vi({trapFocus:"non-modal"!==r,legacyTrapFocus:!a}),v=Wl(Qw);return{components:{surfaceMotion:ak},inertTrapFocus:a,open:d,modalType:r,content:c,trigger:l,requestOpenChange:f,dialogTitleId:i,isNestedDialog:v,unmountOnClose:n,dialogRef:p,modalAttributes:h,triggerAttributes:g,surfaceMotion:sh(e.surfaceMotion,{elementType:ak,defaultProps:{visible:d,appear:n,unmountOnExit:n}})}};const ik=s.exports.createContext(void 0);const sk=s.exports.forwardRef(((e,t)=>s.exports.createElement(ik.Provider,{value:t},e.children)));const lk=s.exports.memo((e=>{const t=nk(e),r=function(e){const{modalType:t,open:r,dialogRef:o,dialogTitleId:a,isNestedDialog:n,inertTrapFocus:i,requestOpenChange:s,modalAttributes:l,triggerAttributes:c,unmountOnClose:d}=e;return{dialog:{open:r,modalType:t,dialogRef:o,dialogTitleId:a,isNestedDialog:n,inertTrapFocus:i,modalAttributes:l,triggerAttributes:c,unmountOnClose:d,requestOpenChange:s},dialogSurface:!1}}(t);return((e,t)=>ia(ek,{value:t.dialog,children:sa(ok,{value:t.dialogSurface,children:[e.trigger,e.content&&ia(e.surfaceMotion,{children:ia(sk,{children:e.content})})]})}))(t,r)}));lk.displayName="Dialog";const ck=e=>{const t=null!==(r=s.exports.useContext(rk))&&void 0!==r&&r;var r;const{children:o,disableButtonEnhancement:a=!1,action:n=(t?"close":"open")}=e,i=Qo(o),l=tk((e=>e.requestOpenChange)),{triggerAttributes:c}=Vi(),d=jo((e=>{var t,r;null==i||null===(t=(r=i.props).onClick)||void 0===t||t.call(r,e),e.isDefaultPrevented()||l({event:e,type:"triggerClick",open:"open"===n})})),u={...null==i?void 0:i.props,ref:Vo(i),onClick:d,...c},f=nc("button"===(null==i?void 0:i.type)||"a"===(null==i?void 0:i.type)?i.type:"div",{...u,type:"button"});return{children:Jo(o,a?u:f)}},dk=e=>(e=>e.children)(ck(e));dk.displayName="DialogTrigger",dk.isFluentTriggerComponent=!0;const uk="fui-DialogActions",fk=yr("rhfpeu0",null,{r:[".rhfpeu0{gap:8px;height:fit-content;box-sizing:border-box;display:flex;grid-row-start:3;grid-row-end:3;}"],s:["@media screen and (max-width: 480px){.rhfpeu0{flex-direction:column;justify-self:stretch;}}"]}),pk=xr({gridPositionEnd:{Bdqf98w:"f1a7i8kp",Br312pm:"fd46tj4",Bw0ie65:"fsyjsko",B6n781s:"f1f41i0t",Bv5d0be:"f1jaqex3",v4ugfu:"f2ao6jk"},gridPositionStart:{Bdqf98w:"fsxvdwy",Br312pm:"fwpfdsa",Bw0ie65:"f1e2fz10",Bojbm9c:"f11ihkml",Bv5d0be:"fce5bvx",v4ugfu:"f2ao6jk"},fluidStart:{Bw0ie65:"fsyjsko"},fluidEnd:{Br312pm:"fwpfdsa"}},{d:[".f1a7i8kp{justify-self:end;}",".fd46tj4{grid-column-start:2;}",".fsyjsko{grid-column-end:4;}",".fsxvdwy{justify-self:start;}",".fwpfdsa{grid-column-start:1;}",".f1e2fz10{grid-column-end:2;}"],m:[["@media screen and (max-width: 480px){.f1f41i0t{grid-column-start:1;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f1jaqex3{grid-row-start:4;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f2ao6jk{grid-row-end:auto;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f11ihkml{grid-column-end:4;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.fce5bvx{grid-row-start:3;}}",{m:"screen and (max-width: 480px)"}]]}),hk=s.exports.forwardRef(((e,t)=>{const r=((e,t)=>{const{position:r="end",fluid:o=!1}=e;return{components:{root:"div"},root:Sr(Wr("div",{ref:t,...e}),{elementType:"div"}),position:r,fluid:o}})(e,t);return(e=>{const t=fk(),r=pk();e.root.className=rt(uk,t,"start"===e.position&&r.gridPositionStart,"end"===e.position&&r.gridPositionEnd,e.fluid&&"start"===e.position&&r.fluidStart,e.fluid&&"end"===e.position&&r.fluidEnd,e.root.className)})(r),fo("useDialogActionsStyles_unstable")(r),(e=>ia(e.root,{}))(r)}));hk.displayName="DialogActions";const gk="fui-DialogBody",vk=yr("rhwx3p8",null,{r:[".rhwx3p8{overflow:unset;gap:8px;display:grid;max-height:calc(100vh - 2 * 24px);max-height:calc(100dvh - 2 * 24px);box-sizing:border-box;grid-template-rows:auto 1fr;grid-template-columns:1fr 1fr auto;}"],s:["@media screen and (max-width: 480px){.rhwx3p8{max-width:100vw;grid-template-rows:auto 1fr auto;}}","@media screen and (max-height: 359px){.rhwx3p8{max-height:unset;}}"]}),mk=s.exports.forwardRef(((e,t)=>{const r=((e,t)=>{var r;return{components:{root:"div"},root:Sr(Wr(null!==(r=e.as)&&void 0!==r?r:"div",{ref:t,...e}),{elementType:"div"})}})(e,t);return(e=>{const t=vk();e.root.className=rt(gk,t,e.root.className)})(r),fo("useDialogBodyStyles_unstable")(r),(e=>ia(e.root,{}))(r)}));mk.displayName="DialogBody";const bk="fui-DialogTitle",xk="fui-DialogTitle__action",yk=yr("rxjm636",null,[".rxjm636{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase500);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase500);margin:0;grid-row-start:1;grid-row-end:1;grid-column-start:1;grid-column-end:3;}"]),wk=xr({rootWithoutAction:{Bw0ie65:"fsyjsko"}},{d:[".fsyjsko{grid-column-end:4;}"]}),kk=yr("r13kcrze",null,[".r13kcrze{grid-row-start:1;grid-row-end:1;grid-column-start:3;justify-self:end;align-self:start;}"]),Bk=yr("r2avt6e","roj2bbc",{r:[".r2avt6e{overflow:visible;padding:0;border-style:none;position:relative;box-sizing:content-box;background-color:inherit;color:inherit;font-family:inherit;font-size:inherit;cursor:pointer;line-height:0;-webkit-appearance:button;text-align:unset;}",".r2avt6e:focus{outline-style:none;}",".r2avt6e:focus-visible{outline-style:none;}",".r2avt6e[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r2avt6e[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".roj2bbc{overflow:visible;padding:0;border-style:none;position:relative;box-sizing:content-box;background-color:inherit;color:inherit;font-family:inherit;font-size:inherit;cursor:pointer;line-height:0;-webkit-appearance:button;text-align:unset;}",".roj2bbc:focus{outline-style:none;}",".roj2bbc:focus-visible{outline-style:none;}",".roj2bbc[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.roj2bbc[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r2avt6e[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.roj2bbc[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),Sk=e=>{const t=yk(),r=kk(),o=wk();return e.root.className=rt(bk,t,!e.action&&o.rootWithoutAction,e.root.className),e.action&&(e.action.className=rt(xk,r,e.action.className)),e},_k=s.exports.forwardRef(((e,t)=>{const r=((e,t)=>{const{action:r}=e,o=tk((e=>e.modalType)),a=Bk();return{components:{root:"h2",action:"div"},root:Sr(Wr("h2",{ref:t,id:tk((e=>e.dialogTitleId)),...e}),{elementType:"h2"}),action:_r(r,{renderByDefault:"non-modal"===o,defaultProps:{children:s.exports.createElement(dk,{disableButtonEnhancement:!0,action:"close"},s.exports.createElement("button",{type:"button",className:a,"aria-label":"close"},s.exports.createElement(Ff,null)))},elementType:"div"})}})(e,t);return Sk(r),fo("useDialogTitleStyles_unstable")(r),(e=>sa(s.exports.Fragment,{children:[ia(e.root,{children:e.root.children}),e.action&&ia(e.action,{})]}))(r)}));_k.displayName="DialogTitle";const Nk=gh,zk=(e,t)=>{const r=s.exports.useContext(ik),o=tk((e=>e.modalType)),a=tk((e=>e.isNestedDialog)),n=tk((e=>e.modalAttributes)),i=tk((e=>e.dialogRef)),l=tk((e=>e.requestOpenChange)),c=tk((e=>e.dialogTitleId)),d=tk((e=>e.open)),u=tk((e=>e.unmountOnClose)),f=jo((t=>{var r,a;jr(e.backdrop)&&(null===(r=(a=e.backdrop).onClick)||void 0===r||r.call(a,t));"modal"!==o||t.isDefaultPrevented()||l({event:t,open:!1,type:"backdropClick"})})),p=jo((t=>{var r;null===(r=e.onKeyDown)||void 0===r||r.call(e,t),t.key!==ac||t.isDefaultPrevented()||(l({event:t,open:!1,type:"escapeKeyDown"}),t.preventDefault())})),h=_r(e.backdrop,{renderByDefault:"non-modal"!==o,defaultProps:{"aria-hidden":"true"},elementType:"div"});h&&(h.onClick=f);const{disableBodyScroll:g,enableBodyScroll:v}=function(){const e=Kw(),t=Jw(),{targetDocument:r}=ao();return{disableBodyScroll:s.exports.useCallback((()=>{var o,a;r&&Math.floor(r.body.getBoundingClientRect().height)>(null!==(a=null===(o=r.defaultView)||void 0===o?void 0:o.innerHeight)&&void 0!==a?a:0)&&(r.documentElement.classList.add(e),r.body.classList.add(t))}),[r,e,t]),enableBodyScroll:s.exports.useCallback((()=>{r&&(r.documentElement.classList.remove(e),r.body.classList.remove(t))}),[r,e,t])}}();return zo((()=>{if(d){if(!a&&"non-modal"!==o)return g(),()=>v()}else v()}),[d,o,a,g,v]),{components:{backdrop:"div",root:"div",backdropMotion:Nk},open:d,backdrop:h,isNestedDialog:a,unmountOnClose:u,mountNode:e.mountNode,root:Sr(Wr("div",{tabIndex:-1,role:"alert"===o?"alertdialog":"dialog","aria-modal":"non-modal"!==o,"aria-labelledby":e["aria-label"]?void 0:c,"aria-hidden":!u&&!d||void 0,...e,...n,onKeyDown:p,ref:Eo(t,r,i)}),{elementType:"div"}),backdropMotion:sh(e.backdropMotion,{elementType:Nk,defaultProps:{appear:u,visible:d}}),transitionStatus:void 0}},jk=(e,t)=>sa($m,{mountNode:e.mountNode,children:[e.backdrop&&e.backdropMotion&&ia(e.backdropMotion,{children:ia(e.backdrop,{})}),ia(ok,{value:t.dialogSurface,children:ia(e.root,{})})]}),Tk="fui-DialogSurface",Ck="fui-DialogSurface__backdrop",Dk=yr("r1u3t6p6","r5coedp",{r:[".r1u3t6p6{inset:0;padding:24px;margin:auto;border-style:none;overflow:unset;border:1px solid var(--colorTransparentStroke);border-radius:var(--borderRadiusXLarge);display:block;-webkit-user-select:unset;-moz-user-select:unset;user-select:unset;visibility:unset;position:fixed;height:fit-content;max-width:600px;max-height:100vh;max-height:100dvh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".r1u3t6p6:focus{outline-style:none;}",".r1u3t6p6:focus-visible{outline-style:none;}",".r1u3t6p6[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1u3t6p6[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r5coedp{inset:0;padding:24px;margin:auto;border-style:none;overflow:unset;border:1px solid var(--colorTransparentStroke);border-radius:var(--borderRadiusXLarge);display:block;-webkit-user-select:unset;-moz-user-select:unset;user-select:unset;visibility:unset;position:fixed;height:fit-content;max-width:600px;max-height:100vh;max-height:100dvh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".r5coedp:focus{outline-style:none;}",".r5coedp:focus-visible{outline-style:none;}",".r5coedp[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r5coedp[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1u3t6p6[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media screen and (max-width: 480px){.r1u3t6p6{max-width:100vw;}}","@media screen and (max-height: 359px){.r1u3t6p6{overflow-y:auto;padding-right:calc(24px - 4px);border-right-width:4px;border-top-width:4px;border-bottom-width:4px;}}","@media (forced-colors: active){.r5coedp[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}","@media screen and (max-width: 480px){.r5coedp{max-width:100vw;}}","@media screen and (max-height: 359px){.r5coedp{overflow-y:auto;padding-left:calc(24px - 4px);border-left-width:4px;border-top-width:4px;border-bottom-width:4px;}}"]}),Pk=yr("r1e18s3l",null,[".r1e18s3l{inset:0px;background-color:var(--colorBackgroundOverlay);position:fixed;}"]),Ek=xr({nestedDialogBackdrop:{De3pzq:"f1c21dwh"},dialogHidden:{Bkecrkj:"f1aehjj5"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1aehjj5{pointer-events:none;}"]});const Ak=s.exports.forwardRef(((e,t)=>{const r=zk(e,t),o={dialogSurface:!0};return(e=>{const{isNestedDialog:t,root:r,backdrop:o,open:a,unmountOnClose:n}=e,i=Dk(),s=Pk(),l=Ek(),c=!n&&!a;r.className=rt(Tk,i,c&&l.dialogHidden,r.className),o&&(o.className=rt(Ck,s,t&&l.nestedDialogBackdrop,c&&l.dialogHidden,o.className))})(r),fo("useDialogSurfaceStyles_unstable")(r),jk(r,o)}));Ak.displayName="DialogSurface";const Fk="fui-DialogContent",Rk=yr("r1v5zwsm",null,{r:[".r1v5zwsm{padding:var(--strokeWidthThick);margin:calc(var(--strokeWidthThick) * -1);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);overflow-y:auto;min-height:32px;box-sizing:border-box;grid-row-start:2;grid-row-end:2;grid-column-start:1;grid-column-end:4;}"],s:["@media screen and (max-height: 359px){.r1v5zwsm{overflow-y:unset;}}"]}),Ik=s.exports.forwardRef(((e,t)=>{const r=((e,t)=>{var r;return{components:{root:"div"},root:Sr(Wr(null!==(r=e.as)&&void 0!==r?r:"div",{ref:t,...e}),{elementType:"div"})}})(e,t);return(e=>{const t=Rk();e.root.className=rt(Fk,t,e.root.className)})(r),fo("useDialogContentStyles_unstable")(r),(e=>ia(e.root,{}))(r)}));Ik.displayName="DialogContent";const Mk=e=>{const[t,r]=wo({state:e.checkedValues,defaultState:e.defaultCheckedValues,initialState:{}}),{onCheckedValueChange:o}=e;return[t,jo(((e,{name:t,checkedItems:a})=>{o&&o(e,{name:t,checkedItems:a}),r((e=>e?{...e,[t]:a}:{[t]:a}))}))]},Lk=Zl(void 0),Ok={size:"medium",handleToggleButton:()=>null,handleRadio:()=>null,vertical:!1,checkedValues:{}},qk="fui-Toolbar",Hk=xr({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1yqiaad"},vertical:{Beiy3e4:"f1vx9l62",a9b677:"f1acs6jw"},small:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fvz760z"},medium:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1yqiaad"},large:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1ms6bdn"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}",[".f1yqiaad{padding:4px 8px;}",{p:-1}],".f1vx9l62{flex-direction:column;}",".f1acs6jw{width:fit-content;}",[".fvz760z{padding:0px 4px;}",{p:-1}],[".f1yqiaad{padding:4px 8px;}",{p:-1}],[".f1ms6bdn{padding:4px 20px;}",{p:-1}]]});const Vk=s.exports.forwardRef(((e,t)=>{const r=((e,t)=>{const{size:r="medium",vertical:o=!1}=e,a=zi({circular:!0,axis:"both"}),n={size:r,vertical:o,components:{root:"div"},root:Sr(Wr("div",{role:"toolbar",ref:t,...o&&{"aria-orientation":"vertical"},...a,...e}),{elementType:"div"})},[i,s]=Mk({checkedValues:e.checkedValues,defaultCheckedValues:e.defaultCheckedValues,onCheckedValueChange:e.onCheckedValueChange});return{...n,handleToggleButton:jo(((e,t,r,o)=>{if(t&&r){const a=[...(null==i?void 0:i[t])||[]];o?a.splice(a.indexOf(r),1):a.push(r),null==s||s(e,{name:t,checkedItems:a})}})),handleRadio:jo(((e,t,r,o)=>{t&&r&&(null==s||s(e,{name:t,checkedItems:[r]}))})),checkedValues:null!=i?i:{}}})(e,t),o=function(e){const{size:t,handleToggleButton:r,vertical:o,checkedValues:a,handleRadio:n}=e;return{toolbar:{size:t,vertical:o,handleToggleButton:r,handleRadio:n,checkedValues:a}}}(r);return(e=>{const t=Hk(),{vertical:r,size:o}=e;e.root.className=rt(qk,t.root,r&&t.vertical,"small"===o&&!r&&t.small,"medium"===o&&!r&&t.medium,"large"===o&&!r&&t.large,e.root.className)})(r),fo("useToolbarStyles_unstable")(r),((e,t)=>ia(Lk.Provider,{value:t.toolbar,children:ia(e.root,{children:e.root.children})}))(r,o)}));Vk.displayName="Toolbar";const Zk=xr({vertical:{Beiy3e4:"f1vx9l62"},verticalIcon:{Be2twd7:"f1rt2boy",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao"}},{d:[".f1vx9l62{flex-direction:column;}",".f1rt2boy{font-size:24px;}",[".f1s184ao{margin:0;}",{p:-1}]]}),$k=s.exports.forwardRef(((e,t)=>{const r=((e,t)=>{const{vertical:r=!1,...o}=e;return{vertical:r,...cb({appearance:"subtle",...o,size:"medium"},t)}})(e,t);return(e=>{const t=Zk();e.root.className=rt(e.vertical&&t.vertical,e.root.className),e.icon&&(e.icon.className=rt(e.vertical&&t.verticalIcon,e.icon.className)),bb(e)})(r),fo("useToolbarButtonStyles_unstable")(r),nb(r)}));$k.displayName="ToolbarButton";const Wk=xr({root:{mc9l5x:"ftuwxu6",B2u0y6b:"f1lwjmbk",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1oic3e7"},vertical:{B2u0y6b:"fe668z"}},{d:[".ftuwxu6{display:inline-flex;}",".f1lwjmbk{max-width:1px;}",[".f1oic3e7{padding:0 12px;}",{p:-1}],".fe668z{max-width:initial;}"]}),Uk=(e,t)=>{const r=(o=e=>e.vertical,$l(Lk,((e=Ok)=>o(e))));var o;return vx({vertical:!r,...e},t)},Gk=s.exports.forwardRef(((e,t)=>{const r=Uk(e,t);return(e=>{kx(e);const{vertical:t}=e,r=Wk();e.root.className=rt(r.root,!t&&r.vertical,e.root.className)})(r),fo("useToolbarDividerStyles_unstable")(r),gx(r)}));Gk.displayName="ToolbarDivider";const Xk="fui-toast-show",Kk="fui-toast-dismiss",Jk="fui-toast-dismiss-all",Yk="fui-toast-update",Qk="fui-toast-pause",eB="fui-toast-play",tB="bottom",rB="bottom-end",oB="bottom-start",aB="top",nB="top-end",iB="top-start";let sB=0;function lB(e,t){for(const[r,o]of Object.entries(t))null!=o&&(e[r]=o)}const cB={onStatusChange:void 0,priority:0,pauseOnHover:!1,pauseOnWindowBlur:!1,position:"bottom-end",timeout:3e3};let dB=0;const uB=(e,t,r)=>{const o={};var a;const n=r?function(e){return"horizontal"in e||"vertical"in e}(r)?r:null!==(a=r[e])&&void 0!==a?a:{}:{},i="top"===e||"bottom"===e,{horizontal:s=(i?0:20),vertical:l=16}=n,c="ltr"===t?"left":"right",d="ltr"===t?"right":"left";switch(e){case"top":Object.assign(o,{top:l,left:`calc(50% + ${s}px)`,transform:"translateX(-50%)"});break;case"bottom":Object.assign(o,{bottom:l,left:`calc(50% + ${s}px)`,transform:"translateX(-50%)"});break;case"top-start":Object.assign(o,{top:l,[c]:s});break;case"top-end":Object.assign(o,{top:l,[d]:s});break;case"bottom-start":Object.assign(o,{bottom:l,[c]:s});break;case"bottom-end":Object.assign(o,{bottom:l,[d]:s})}return o};function fB(e={}){const t=Co(),{toasterId:r,shortcuts:o}=e,[a]=s.exports.useState((()=>function(e){const{limit:t=Number.POSITIVE_INFINITY}=e,r=new Set,o=new Map,a=Wo(((e,t)=>{const r=o.get(e),a=o.get(t);return r&&a?r.priority===a.priority?r.order-a.order:r.priority-a.priority:0}));return{buildToast:(n,i)=>{var l;const{toastId:c,content:d,toasterId:u}=n;if(o.has(c))return;const f={...cB,close:()=>{var e;const t=o.get(c);t&&(r.delete(c),i(),null===(e=t.onStatusChange)||void 0===e||e.call(t,null,{status:"dismissed",...t}))},remove:()=>{if(o.get(c)){if(o.delete(c),r.size<t&&a.peek()){const e=o.get(a.dequeue());if(!e)return;r.add(e.toastId)}i()}},toastId:c,content:d,updateId:0,toasterId:u,order:dB++,data:{},imperativeRef:s.exports.createRef()};lB(f,e),lB(f,n),o.set(c,f),null===(l=f.onStatusChange)||void 0===l||l.call(f,null,{status:"queued",...f}),r.size>=t?a.enqueue(c):r.add(c)},dismissAllToasts:()=>{r.clear(),a.clear()},dismissToast:e=>{r.delete(e)},isToastVisible:e=>r.has(e),updateToast:e=>{const{toastId:t}=e,r=o.get(t);r&&(Object.assign(r,e),r.updateId++)},visibleToasts:r,toasts:o}}(e))),{targetDocument:n}=ao(),i=s.exports.useRef(null),l=jo((e=>e===r)),c=jo((e=>{if(null==o?void 0:o.focus)return o.focus(e)})),d=s.exports.useCallback((()=>{a.visibleToasts.forEach((e=>{var t;const r=a.toasts.get(e);null==r||null===(t=r.imperativeRef.current)||void 0===t||t.pause()}))}),[a]),u=s.exports.useCallback((()=>{a.visibleToasts.forEach((e=>{var t;const r=a.toasts.get(e);null==r||null===(t=r.imperativeRef.current)||void 0===t||t.play()}))}),[a]),f=s.exports.useCallback((()=>Array.from(a.visibleToasts).reduce(((e,t)=>{const r=a.toasts.get(t);return r?e?e.order<(null==r?void 0:r.order)?r:e:r:e}),void 0)),[a]),p=s.exports.useCallback((()=>{const e=f();var t;(null==e?void 0:e.imperativeRef.current)?e.imperativeRef.current.focus():(null===(t=i.current)||void 0===t||t.focus(),i.current=null)}),[f]),h=s.exports.useCallback((()=>{a.visibleToasts.forEach((e=>{const t=a.toasts.get(e);null==t||t.close()})),p()}),[a,p]);s.exports.useEffect((()=>{if(!n)return;const e=(e,r)=>{const o=e=>{l(e.detail.toasterId)&&(r(e),t())};return n.addEventListener(e,o),()=>n.removeEventListener(e,o)},r=e(Xk,(e=>{a.buildToast(e.detail,t)})),o=e(Yk,(e=>{a.updateToast(e.detail)})),s=e(Kk,(e=>{a.dismissToast(e.detail.toastId)})),u=e(Jk,(e=>{a.dismissAllToasts()})),p=e(Qk,(e=>{const t=a.toasts.get(e.detail.toastId);var r;t&&(null===(r=t.imperativeRef.current)||void 0===r||r.pause())})),h=e(eB,(e=>{const t=a.toasts.get(e.detail.toastId);var r;t&&(null===(r=t.imperativeRef.current)||void 0===r||r.play())})),g=e=>{if(c(e)){d();const e=f();var t;if(e)i.current=$o(n.activeElement)?n.activeElement:null,null===(t=e.imperativeRef.current)||void 0===t||t.focus()}};return n.addEventListener("keydown",g),()=>{r(),u(),o(),s(),p(),h(),n.removeEventListener("keydown",g)}}),[a,t,n,l,d,f,c]);const g=(()=>{if(!a)return new Map;const e=new Map;return Array.from(a.toasts.values()).forEach((t=>{const{position:r}=t;e.has(r)||e.set(r,[]),r.startsWith("bottom")?e.get(r).push(t):e.get(r).unshift(t)})),e})();return{isToastVisible:a.isToastVisible,toastsToRender:g,pauseAllToasts:d,playAllToasts:u,tryRestoreFocus:p,closeAllToasts:h}}const pB=()=>{};function hB(e){const{targetDocument:t}=ao();return s.exports.useMemo((()=>t?{dispatchToast:(r,o)=>{!function(e,t={},r){var o;const a={...t,content:e,toastId:null!==(o=t.toastId)&&void 0!==o?o:(sB++).toString()},n=new CustomEvent(Xk,{bubbles:!1,cancelable:!1,detail:a});r.dispatchEvent(n)}(r,{...o,toasterId:e,data:{root:null==o?void 0:o.root}},t)},dismissToast:r=>{!function(e,t,r){const o=new CustomEvent(Kk,{bubbles:!1,cancelable:!1,detail:{toastId:e,toasterId:t}});r.dispatchEvent(o)}(r,e,t)},dismissAllToasts:()=>{!function(e,t){const r=new CustomEvent(Jk,{bubbles:!1,cancelable:!1,detail:{toasterId:e}});t.dispatchEvent(r)}(e,t)},updateToast:r=>{!function(e,t){const r=new CustomEvent(Yk,{bubbles:!1,cancelable:!1,detail:e});t.dispatchEvent(r)}({...r,data:{root:r.root},toasterId:e},t)},pauseToast:r=>{!function(e,t,r){const o=new CustomEvent(Qk,{bubbles:!1,cancelable:!1,detail:{toastId:e,toasterId:t}});r.dispatchEvent(o)}(r,e,t)},playToast:r=>{!function(e,t,r){const o=new CustomEvent(eB,{bubbles:!1,cancelable:!1,detail:{toastId:e,toasterId:t}});r.dispatchEvent(o)}(r,e,t)}}:{dispatchToast:pB,dismissToast:pB,dismissAllToasts:pB,updateToast:pB,pauseToast:pB,playToast:pB}),[t,e])}const gB={close:()=>null,intent:void 0,bodyId:"",titleId:""},vB=s.exports.createContext(void 0),mB=vB.Provider,bB=()=>{var e;return null!==(e=s.exports.useContext(vB))&&void 0!==e?e:gB},xB=yr("r16zaflb","r75casi",[".r16zaflb{animation-name:rsacmq1;}","@keyframes rsacmq1{from{opacity:0;}to{opacity:0;}}",".r75casi{animation-name:rsacmq1;}"]),yB=s.exports.forwardRef(((e,t)=>{const r=xB(),{running:o,timeout:a,onTimeout:n}=e,i={animationDuration:`${a}ms`,animationPlayState:o?"running":"paused"};return a<0?null:s.exports.createElement("span",{onAnimationEnd:n,"data-timer-status":i.animationPlayState,ref:t,style:i,className:r})}));yB.displayName="Timer";const wB={success:"assertive",warning:"assertive",error:"assertive",info:"polite"},kB="fui-ToastContainer",BB=yr("r98b696",null,[".r98b696{box-sizing:border-box;margin-top:16px;pointer-events:all;border-radius:var(--borderRadiusMedium);}",".r98b696[data-fui-focus-visible]{outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}"]);const SB=s.exports.forwardRef(((e,t)=>{const r=((e,t)=>{const{visible:r,children:o,close:a,remove:n,updateId:i,announce:l,data:c,timeout:d,politeness:u,intent:f="info",pauseOnHover:p,pauseOnWindowBlur:h,imperativeRef:g,tryRestoreFocus:v,content:m,...b}=e,x=Po("toast-title"),y=Po("toast-body"),w=s.exports.useRef(null),{targetDocument:k}=ao(),[B,S]=s.exports.useState(!1),_=s.exports.useRef(!1),N=s.exports.useRef(!1),z=Ti({tabBehavior:"limited-trap-focus",ignoreDefaultKeydown:{Tab:!0,Escape:!0,Enter:!0}}),j=jo((()=>{var e;const t=null==k?void 0:k.activeElement;t&&(null===(e=w.current)||void 0===e?void 0:e.contains(t))&&(N.current=!0),a()})),T=jo((t=>{var r;return null===(r=e.onStatusChange)||void 0===r?void 0:r.call(e,null,{status:t,...e})})),C=jo((()=>S(!1))),D=jo((()=>{var e,t;if(_.current)return;const r=!!(null===(e=w.current)||void 0===e?void 0:e.contains(null!==(t=null==k?void 0:k.activeElement)&&void 0!==t?t:null));d<0?S(!0):r||S(!0)}));s.exports.useImperativeHandle(g,(()=>({focus:()=>{w.current&&w.current.focus()},play:()=>{_.current=!1,D()},pause:()=>{_.current=!0,C()}}))),s.exports.useEffect((()=>()=>T("unmounted")),[T]),s.exports.useEffect((()=>{var e,t;if(k&&h)return null===(e=k.defaultView)||void 0===e||e.addEventListener("focus",D),null===(t=k.defaultView)||void 0===t||t.addEventListener("blur",C),()=>{var e,t;null===(e=k.defaultView)||void 0===e||e.removeEventListener("focus",D),null===(t=k.defaultView)||void 0===t||t.removeEventListener("blur",C)}}),[k,C,D,h]);const P=c.root,E=s.exports.useCallback(((e,{direction:t})=>{"exit"===t&&n(),"enter"===t&&(D(),T("visible"))}),[T,D,n]),A=jo((e=>{var t;C(),null==P||null===(t=P.onMouseEnter)||void 0===t||t.call(P,e)})),F=jo((e=>{var t;D(),null==P||null===(t=P.onMouseEnter)||void 0===t||t.call(P,e)})),{findFirstFocusable:R,findLastFocusable:I}=Di(),M=jo((e=>{var t,r,o;"Delete"===e.key&&(e.preventDefault(),j()),"Tab"===e.key&&e.currentTarget===e.target&&(e.preventDefault(),e.shiftKey?null===(r=I(e.currentTarget))||void 0===r||r.focus():null===(o=R(e.currentTarget))||void 0===o||o.focus()),null==P||null===(t=P.onKeyDown)||void 0===t||t.call(P,e)}));return s.exports.useEffect((()=>{var e;if(!r)return;const t=null!=u?u:wB[f];var o;l(null!==(o=null===(e=w.current)||void 0===e?void 0:e.textContent)&&void 0!==o?o:"",{politeness:t})}),[l,u,w,r,i,f]),s.exports.useEffect((()=>()=>{N.current&&(N.current=!1,v())}),[v]),{components:{timer:yB,root:"div"},timer:Sr({onTimeout:j,running:B,timeout:null!=d?d:-1},{elementType:yB}),root:Sr(Wr("div",{ref:Eo(t,w),children:o,tabIndex:0,role:"listitem","aria-labelledby":x,"aria-describedby":y,...b,...P,...z,onMouseEnter:A,onMouseLeave:F,onKeyDown:M}),{elementType:"div"}),timerTimeout:d,transitionTimeout:0,running:B,visible:r,remove:n,close:j,onTransitionEntering:()=>{},updateId:i,nodeRef:w,intent:f,titleId:x,bodyId:y,onMotionFinish:E}})(e,t);return(e=>{const t=BB();e.root.className=rt(kB,t,e.root.className)})(r),fo("useToastContainerStyles_unstable")(r),((e,t)=>{const{onMotionFinish:r,visible:o,updateId:a}=e;return ia(mB,{value:t.toast,children:ia(ph,{appear:!0,onMotionFinish:r,visible:o,unmountOnExit:!0,children:sa(e.root,{children:[e.root.children,ia(e.timer,{},a)]})})})})(r,function(e){const{close:t,intent:r,titleId:o,bodyId:a}=e;return{toast:s.exports.useMemo((()=>({close:t,intent:r,titleId:o,bodyId:a})),[t,r,o,a])}}(r))}));SB.displayName="ToastContainer";const _B=()=>{};const NB=e=>{const{offset:t,announce:r,mountNode:o,inline:a=!1,...n}=e,i=s.exports.useRef((()=>null)),{toastsToRender:l,isToastVisible:c,pauseAllToasts:d,playAllToasts:u,tryRestoreFocus:f,closeAllToasts:p}=fB(n),h=s.exports.useCallback(((e,t)=>i.current(e,t)),[]),{dir:g}=ao(),{onKeyDown:v,...m}=Sr(Wr("div",n),{elementType:"div"}),b=Ti({tabBehavior:"limited-trap-focus",ignoreDefaultKeydown:{Escape:!0}}),x=jo((e=>{e.key===ac&&(e.preventDefault(),p()),null==v||v(e)})),y=e=>{var t;const o=function(e,t){const{targetDocument:r}=ao(),o=s.exports.useRef(_B);return s.exports.useCallback((a=>{if(!a||!r)return o.current(),void(o.current=_B);const n=r.createTreeWalker(a,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>$o(e)&&e.classList.contains(kB)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}),i=e=>{const{target:t,key:r}=e;if($o(t)){if("ArrowDown"===r){n.currentNode=t;let e=n.nextNode();e||(n.currentNode=a,e=n.nextNode()),$o(e)&&e.focus()}if("ArrowUp"===r){n.currentNode=t;let e=n.previousNode();e&&e.contains(t)&&(e=n.previousNode()),e||(n.currentNode=a,e=n.lastChild()),$o(e)&&e.focus()}}},s=t=>{$o(t.currentTarget)&&!t.currentTarget.contains($o(t.relatedTarget)?t.relatedTarget:null)&&e()},l=e=>{$o(e.currentTarget)&&!e.currentTarget.contains($o(e.relatedTarget)?e.relatedTarget:null)&&t()};a.addEventListener("keydown",i),a.addEventListener("focusin",s),a.addEventListener("focusout",l),o.current=()=>{a.removeEventListener("keydown",i),a.removeEventListener("focusin",s),a.removeEventListener("focusout",l)}}),[r,e,t])}(d,u),{announceToast:a,toasterRef:n}=function(e){const t=s.exports.useRef(!0),r=s.exports.useRef((()=>{}));return{announceToast:s.exports.useCallback(((r,o)=>{t.current&&e(r,o)}),[e]),toasterRef:s.exports.useCallback((e=>{if(!e)return void r.current();const o=e=>{$o(e.currentTarget)&&e.currentTarget.contains($o(e.relatedTarget)?e.relatedTarget:null)||(t.current=!1)},a=e=>{$o(e.currentTarget)&&e.currentTarget.contains($o(e.relatedTarget)?e.relatedTarget:null)||(t.current=!0)};e.addEventListener("focusin",o),e.addEventListener("focusout",a),r.current=()=>{e.removeEventListener("focusin",o),e.removeEventListener("focusout",a)}}),[])}}(null!=r?r:h);return _r(l.has(e)?m:null,{defaultProps:{ref:Eo(o,n),children:null===(t=l.get(e))||void 0===t?void 0:t.map((e=>s.exports.createElement(SB,{...e,tryRestoreFocus:f,intent:e.intent,announce:a,key:e.toastId,visible:c(e.toastId)},e.content))),onKeyDown:x,...b,"data-toaster-position":e,role:"list"},elementType:"div"})};return{dir:g,mountNode:o,components:{root:"div",bottomStart:"div",bottomEnd:"div",topStart:"div",topEnd:"div",top:"div",bottom:"div"},root:Sr(m,{elementType:"div"}),bottomStart:y(oB),bottomEnd:y(rB),topStart:y(iB),topEnd:y(nB),top:y(aB),bottom:y(tB),announceRef:i,offset:t,announce:null!=r?r:h,renderAriaLive:!r,inline:a}},zB="fui-AriaLive__assertive",jB="fui-AriaLive__polite",TB=yr("rrd10u0",null,[".rrd10u0{clip:rect(0px, 0px, 0px, 0px);height:1px;margin:-1px;overflow:hidden;padding:0px;width:1px;position:absolute;}"]),CB=e=>{const t=(e=>{const[t,r]=s.exports.useState(void 0),o=s.exports.useRef(0),[a]=s.exports.useState((()=>Wo(((e,t)=>e.politeness===t.politeness?e.createdAt-t.createdAt:"assertive"===e.politeness?-1:1)))),n=jo(((e,n)=>{const{politeness:i}=n;if(e===(null==t?void 0:t.message))return;const s={message:e,politeness:i,createdAt:o.current++};t?a.enqueue(s):r(s)})),[i,l]=qo();s.exports.useEffect((()=>(i((()=>{a.peek()?r(a.dequeue()):r(void 0)}),500),()=>l())),[t,a,i,l]),s.exports.useImperativeHandle(e.announceRef,(()=>n));const c="polite"===(null==t?void 0:t.politeness)?t.message:void 0,d="assertive"===(null==t?void 0:t.politeness)?t.message:void 0;return{components:{assertive:"div",polite:"div"},assertive:Sr(e.assertive,{defaultProps:{"aria-live":"assertive",children:d},elementType:"div"}),polite:Sr(e.polite,{defaultProps:{"aria-live":"polite",children:c},elementType:"div"})}})(e);return(e=>{const t=TB();e.assertive.className=rt(t,zB,e.assertive.className),e.polite.className=rt(t,jB,e.polite.className)})(t),(e=>sa(s.exports.Fragment,{children:[ia(e.assertive,{}),ia(e.polite,{})]}))(t)};CB.displayName="AriaLive";const DB="fui-Toaster",PB=yr("r3hfdjz",null,[".r3hfdjz{position:fixed;width:292px;pointer-events:none;}"]),EB=xr({inline:{qhf8xq:"f1euv43f"}},{d:[".f1euv43f{position:absolute;}"]}),AB=e=>{const t=NB(e);return(e=>{const t=PB(),r=EB(),o=rt(DB,t,e.inline&&r.inline,e.root.className);var a,n,i,s,l,c,d,u,f,p,h,g;e.bottomStart&&(e.bottomStart.className=o,null!==(n=(a=e.bottomStart).style)&&void 0!==n||(a.style={}),Object.assign(e.bottomStart.style,uB(oB,e.dir,e.offset))),e.bottomEnd&&(e.bottomEnd.className=o,null!==(s=(i=e.bottomEnd).style)&&void 0!==s||(i.style={}),Object.assign(e.bottomEnd.style,uB(rB,e.dir,e.offset))),e.topStart&&(e.topStart.className=o,null!==(c=(l=e.topStart).style)&&void 0!==c||(l.style={}),Object.assign(e.topStart.style,uB(iB,e.dir,e.offset))),e.topEnd&&(e.topEnd.className=o,null!==(u=(d=e.topEnd).style)&&void 0!==u||(d.style={}),Object.assign(e.topEnd.style,uB(nB,e.dir,e.offset))),e.top&&(e.top.className=o,null!==(p=(f=e.top).style)&&void 0!==p||(f.style={}),Object.assign(e.top.style,uB(aB,e.dir,e.offset))),e.bottom&&(e.bottom.className=o,null!==(g=(h=e.bottom).style)&&void 0!==g||(h.style={}),Object.assign(e.bottom.style,uB(tB,e.dir,e.offset)))})(t),fo("useToasterStyles_unstable")(t),(e=>{const{announceRef:t,renderAriaLive:r,inline:o,mountNode:a}=e,n=!!(e.bottomStart||e.bottomEnd||e.topStart||e.topEnd||e.top||e.bottom),i=r?ia(CB,{announceRef:t}):null,l=sa(s.exports.Fragment,{children:[e.bottom?ia(e.bottom,{}):null,e.bottomStart?ia(e.bottomStart,{}):null,e.bottomEnd?ia(e.bottomEnd,{}):null,e.topStart?ia(e.topStart,{}):null,e.topEnd?ia(e.topEnd,{}):null,e.top?ia(e.top,{}):null]});return sa(s.exports.Fragment,o?{children:[i,n?l:null]}:{children:[i,n?ia($m,{mountNode:a,children:l}):null]})})(t)};AB.displayName="Toaster";const FB="fui-Toast",RB=yr("rhf7k35",null,[".rhf7k35{display:grid;grid-template-columns:auto 1fr auto;padding:12px;border-radius:var(--borderRadiusMedium);border:1px solid var(--colorTransparentStroke);box-shadow:var(--shadow8);font-size:var(--fontSizeBase300);line-height:20px;font-weight:var(--fontWeightSemibold);color:var(--colorNeutralForeground1);background-color:var(--colorNeutralBackground1);}"]),IB=xr({inverted:{sj55zd:"f1w7i9ko",De3pzq:"f5pduvr"}},{d:[".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}",".f5pduvr{background-color:var(--colorNeutralBackgroundInverted);}"]});const MB=s.exports.forwardRef(((e,t)=>{const r=((e,t)=>{const{intent:r}=bB();return{components:{root:"div"},root:Sr(Wr("div",{ref:t,...e}),{elementType:"div"}),backgroundAppearance:e.appearance,intent:r}})(e,t);return(e=>{const t=RB(),r=IB();e.root.className=rt(FB,t,"inverted"===e.backgroundAppearance&&r.inverted,e.root.className)})(r),fo("useToastStyles_unstable")(r),((e,t)=>ia(ho,{value:t.backgroundAppearance,children:ia(e.root,{})}))(r,function(e){const{backgroundAppearance:t}=e;return{backgroundAppearance:t}}(r))}));MB.displayName="Toast";const LB="fui-ToastTitle",OB="fui-ToastTitle__media",qB="fui-ToastTitle__action",HB=yr("rdjap1e",null,[".rdjap1e{display:flex;grid-column-end:3;color:var(--colorNeutralForeground1);word-break:break-word;}"]),VB=yr("r8x5mrd","r1soj19y",[".r8x5mrd{display:flex;padding-top:2px;grid-column-end:2;padding-right:8px;font-size:16px;color:var(--colorNeutralForeground1);}",".r1soj19y{display:flex;padding-top:2px;grid-column-end:2;padding-left:8px;font-size:16px;color:var(--colorNeutralForeground1);}"]),ZB=yr("r2j19ip","rjfozdo",[".r2j19ip{display:flex;align-items:start;padding-left:12px;grid-column-end:-1;color:var(--colorBrandForeground1);}",".rjfozdo{display:flex;align-items:start;padding-right:12px;grid-column-end:-1;color:var(--colorBrandForeground1);}"]),$B=xr({root:{sj55zd:"f1w7i9ko"},action:{sj55zd:"f1qz2gb0"},media:{sj55zd:"fqpbvvt"}},{d:[".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}",".f1qz2gb0{color:var(--colorBrandForegroundInverted);}",".fqpbvvt{color:var(--colorNeutralForegroundInverted);}"]}),WB=xr({success:{sj55zd:"f36rra6"},error:{sj55zd:"f1ca9wz"},warning:{sj55zd:"f13isgzr"},info:{sj55zd:"fkfq4zb"}},{d:[".f36rra6{color:var(--colorStatusSuccessForeground1);}",".f1ca9wz{color:var(--colorStatusDangerForeground1);}",".f13isgzr{color:var(--colorStatusWarningForeground1);}",".fkfq4zb{color:var(--colorNeutralForeground2);}"]}),UB=xr({success:{sj55zd:"ff3wk4x"},error:{sj55zd:"fbq2gqr"},warning:{sj55zd:"fx6hq1t"},info:{sj55zd:"f1w7i9ko"}},{d:[".ff3wk4x{color:var(--colorStatusSuccessForegroundInverted);}",".fbq2gqr{color:var(--colorStatusDangerForegroundInverted);}",".fx6hq1t{color:var(--colorStatusWarningForegroundInverted);}",".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}"]}),GB=s.exports.forwardRef(((e,t)=>{const r=((e,t)=>{const{intent:r,titleId:o}=bB(),a=go();let n;switch(r){case"success":n=s.exports.createElement(ld,null);break;case"error":n=s.exports.createElement($d,null);break;case"warning":n=s.exports.createElement(sf,null);break;case"info":n=s.exports.createElement(mu,null)}return{action:_r(e.action,{elementType:"div"}),components:{root:"div",media:"div",action:"div"},media:_r(e.media,{renderByDefault:!!r,defaultProps:{children:n},elementType:"div"}),root:Sr(Wr("div",{ref:t,children:e.children,id:o,...e}),{elementType:"div"}),intent:r,backgroundAppearance:a}})(e,t);return(e=>{const t=HB(),r=ZB(),o=VB(),a=WB(),n=UB(),{intent:i}=e,s=$B();e.root.className=rt(LB,t,"inverted"===e.backgroundAppearance&&s.root,e.root.className),e.media&&(e.media.className=rt(OB,o,"inverted"===e.backgroundAppearance&&s.media,i&&a[i],i&&"inverted"===e.backgroundAppearance&&n[i],e.media.className)),e.action&&(e.action.className=rt(qB,r,"inverted"===e.backgroundAppearance&&s.action,e.action.className))})(r),fo("useToastTitleStyles_unstable")(r),(e=>sa(s.exports.Fragment,{children:[e.media?ia(e.media,{}):null,ia(e.root,{}),e.action?ia(e.action,{}):null]}))(r)}));GB.displayName="ToastTitle";const XB="fui-ToastBody",KB="fui-ToastBody__subtitle",JB=yr("r1u44l4o",null,[".r1u44l4o{grid-column-start:2;grid-column-end:3;padding-top:6px;font-size:var(--fontSizeBase300);line-height:var(--lineHeightBase300);font-weight:var(--fontWeightRegular);color:var(--colorNeutralForeground1);word-break:break-word;}"]),YB=yr("rzjw1xk",null,[".rzjw1xk{padding-top:4px;grid-column-start:2;grid-column-end:3;font-size:var(--fontSizeBase200);line-height:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);color:var(--colorNeutralForeground2);}"]),QB=xr({root:{sj55zd:"f1w7i9ko"},subtitle:{sj55zd:"f1w7i9ko"}},{d:[".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}"]}),eS=s.exports.forwardRef(((e,t)=>{const r=((e,t)=>{const r=go(),{bodyId:o}=bB();return{components:{root:"div",subtitle:"div"},subtitle:_r(e.subtitle,{elementType:"div"}),root:Sr(Wr("div",{ref:t,id:o,...e}),{elementType:"div"}),backgroundAppearance:r}})(e,t);return(e=>{const t=JB(),r=YB(),o=QB();e.root.className=rt(XB,t,"inverted"===e.backgroundAppearance&&o.root,e.root.className),e.subtitle&&(e.subtitle.className=rt(KB,r,"inverted"===e.backgroundAppearance&&o.subtitle,e.subtitle.className))})(r),fo("useToastBodyStyles_unstable")(r),(e=>sa(s.exports.Fragment,{children:[ia(e.root,{}),e.subtitle?ia(e.subtitle,{}):null]}))(r)}));eS.displayName="ToastBody";const tS=Symbol("#internalSet");let rS=tS;class oS{static dangerouslyGetInternalSet(e){return e[tS]}static copy(e){return new oS(new Set(e[tS]))}static from(e){return void 0===e?this.empty:e instanceof this?e:new this(new Set(e))}static[Symbol.hasInstance](e){return Boolean("object"==typeof e&&e&&tS in e)}add(e){if(this.has(e))return this;const t=oS.copy(this);return t[tS].add(e),t}delete(e){if(!this.has(e))return this;const t=oS.copy(this);return t[tS].delete(e),t}has(e){return this[tS].has(e)}[Symbol.iterator](){return this[tS].values()}constructor(e){ih(this,"size",void 0),ih(this,rS,void 0),this[tS]=e,this.size=this[tS].size}}function aS(e,t){return e.open?t.add(e.value):t.delete(e.value)}ih(oS,"empty",new oS(new Set));const nS=Symbol("#internalMap");let iS=nS;class sS{static dangerouslyGetInternalMap(e){return e[nS]}static copy(e){return this.from(e[nS])}static from(e,t){if(void 0===e)return this.empty;if(!t){if(e instanceof this)return e;return new this(new Map(e))}const r=new Map;for(const o of e)r.set(...t(o));return new this(r)}static[Symbol.hasInstance](e){return Boolean("object"==typeof e&&e&&nS in e)}delete(e){if(!this.has(e))return this;const t=sS.copy(this);return t[nS].delete(e),t}get(e){return this[nS].get(e)}has(e){return this[nS].has(e)}set(e,t){if(this.get(e)===t)return this;const r=sS.copy(this);return r[nS].set(e,t),r}[Symbol.iterator](){return this[nS].entries()}constructor(e){ih(this,"size",void 0),ih(this,iS,void 0),this[nS]=e,this.size=this[nS].size}}ih(sS,"empty",new sS(new Map));const lS=e=>Array.isArray(e)?e:[e,!0],cS=e=>sS.from(e,lS);const dS={level:0,contextType:"subtree"},uS=s.exports.createContext(void 0),fS=()=>{var e;return null!==(e=s.exports.useContext(uS))&&void 0!==e?e:dS},pS="ArrowLeft",hS="ArrowRight",gS=Gl,vS="Click",mS="ExpandIconClick",bS="End",xS="Home",yS="ArrowUp",wS="ArrowDown",kS="TypeAhead";function BS(e,t){const{appearance:r="subtle",size:o="medium",selectionMode:a="none"}=e,n=s.exports.useMemo((()=>oS.from(e.openItems)),[e.openItems]),i=s.exports.useMemo((()=>cS(e.checkedItems)),[e.checkedItems]),l=jo((t=>{switch(t.requestType){case"navigate":return(t=>{var r;let o=!1;switch(null===(r=e.onNavigation)||void 0===r||r.call(e,t.event,{...t,preventScroll:()=>{o=!0},isScrollPrevented:()=>o}),t.type){case wS:case yS:case xS:case bS:t.event.preventDefault()}})(t);case"open":return(t=>{var r;null===(r=e.onOpenChange)||void 0===r||r.call(e,t.event,{...t,openItems:oS.dangerouslyGetInternalSet(aS(t,n))})})(t);case"selection":return(t=>{var r;"none"!==a&&(null===(r=e.onCheckedChange)||void 0===r||r.call(e,t.event,{...t,selectionMode:a,checkedItems:sS.dangerouslyGetInternalMap(i)}))})(t)}}));var c;return{components:{root:"div",collapseMotion:fh},contextType:"root",selectionMode:a,navigationMode:null!==(c=e.navigationMode)&&void 0!==c?c:"tree",open:!0,appearance:r,size:o,level:1,openItems:n,checkedItems:i,requestTreeResponse:l,forceUpdateRovingTabIndex:()=>{},root:Sr(Wr("div",{ref:t,role:"tree","aria-multiselectable":"multiselect"===a||void 0,...e}),{elementType:"div"}),collapseMotion:void 0}}const SS={level:0,contextType:"root",treeType:"nested",selectionMode:"none",openItems:oS.empty,checkedItems:sS.empty,requestTreeResponse:_S,forceUpdateRovingTabIndex:_S,appearance:"subtle",size:"medium",navigationMode:"tree"};function _S(){}const NS=Zl(void 0),zS=e=>$l(NS,((t=SS)=>e(t))),jS={value:"__fuiHeadlessTreeRoot",selectionRef:s.exports.createRef(),layoutRef:s.exports.createRef(),treeItemRef:s.exports.createRef(),subtreeRef:s.exports.createRef(),actionsRef:s.exports.createRef(),expandIconRef:s.exports.createRef(),isActionsVisible:!1,isAsideVisible:!1,itemType:"leaf",open:!1,checked:!1},TS=Zl(void 0),{Provider:CS}=TS,DS=e=>$l(TS,((t=jS)=>e(t)));function PS(){const e=s.exports.useRef(null),t=s.exports.useRef(null),{targetDocument:r}=ao();!function(e){const{targetDocument:t}=ao(),r=jo(e);s.exports.useEffect((()=>{const e=Si(t);if(e)return e.focusedElement.subscribe(r),()=>{e.focusedElement.unsubscribe(r),ki(e)}}),[r,t])}((e=>{if("treeitem"===(null==e?void 0:e.getAttribute("role"))&&t.current&&t.current.root.contains(e)){const r=(e=>{let t=e.parentElement;for(;t&&"tree"!==t.getAttribute("role");)t=t.parentElement;return t})(e);if(t.current.root!==r)return;a(e)}}));const o=s.exports.useCallback((r=>{t.current=r,r.currentElement=r.root;let o=r.firstChild((e=>0===e.tabIndex?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP));if(r.currentElement=r.root,null!=o||(o=r.firstChild()),!o)return;o.tabIndex=0,e.current=o;let a=null;for(;(a=r.nextElement())&&a!==o;)a.tabIndex=-1}),[]),a=s.exports.useCallback(((t,r)=>{e.current&&(e.current.tabIndex=-1,t.tabIndex=0,t.focus(r),e.current=t)}),[]),n=s.exports.useCallback((()=>{null!==e.current&&(null==r?void 0:r.body.contains(e.current))||!t.current||o(t.current)}),[r,o]);return{rove:a,initialize:o,forceUpdate:n}}const ES=e=>"treeitem"===e.getAttribute("role")?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP;function AS(){const{targetDocument:e}=ao(),t=s.exports.useRef(void 0),r=s.exports.useCallback((r=>{t.current=e&&r?function(e,t,r=(()=>NodeFilter.FILTER_ACCEPT)){let o;const a=t.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(e){if(!$o(e))return NodeFilter.FILTER_REJECT;const t=r(e);var a;return t===NodeFilter.FILTER_ACCEPT&&null!==(a=null==o?void 0:o(e))&&void 0!==a?a:t}});return{get root(){return a.root},get currentElement(){return a.currentNode},set currentElement(e){a.currentNode=e},firstChild:e=>{o=e;const t=a.firstChild();return o=void 0,t},lastChild:e=>{o=e;const t=a.lastChild();return o=void 0,t},nextElement:e=>{o=e;const t=a.nextNode();return o=void 0,t},nextSibling:e=>{o=e;const t=a.nextSibling();return o=void 0,t},parentElement:e=>{o=e;const t=a.parentNode();return o=void 0,t},previousElement:e=>{o=e;const t=a.previousNode();return o=void 0,t},previousSibling:e=>{o=e;const t=a.previousSibling();return o=void 0,t}}}(r,e,ES):void 0}),[e]);return{walkerRef:t,rootRef:r}}const FS=s.exports.memo((()=>{const e=DS((e=>e.open)),{dir:t}=ao(),r=e?90:"rtl"!==t?0:180;return s.exports.createElement(Tf,{style:{...RS[r],transition:`transform ${Op.durationNormal}ms ${qp.curveEasyEaseMax}`}})}));FS.displayName="TreeItemChevron";const RS={90:{transform:"rotate(90deg)"},0:{transform:"rotate(0deg)"},180:{transform:"rotate(180deg)"}},IS="fui-TreeItemLayout",MS="fui-TreeItemLayout__iconBefore",LS="fui-TreeItemLayout__main",OS="fui-TreeItemLayout__iconAfter",qS="fui-TreeItemLayout__expandIcon",HS="fui-TreeItemLayout__aside",VS="fui-TreeItemLayout__actions",ZS="fui-TreeItemLayout__selector",$S=yr("ryb8khq",null,[".ryb8khq{display:flex;align-items:center;min-height:32px;box-sizing:border-box;grid-area:layout;}",".ryb8khq:hover{color:var(--colorNeutralForeground2Hover);background-color:var(--colorSubtleBackgroundHover);}",".ryb8khq:hover .fui-TreeItemLayout__expandIcon{color:var(--colorNeutralForeground3Hover);}",".ryb8khq:active{color:var(--colorNeutralForeground2Pressed);background-color:var(--colorSubtleBackgroundPressed);}",".ryb8khq:active .fui-TreeItemLayout__expandIcon{color:var(--colorNeutralForeground3Pressed);}"]),WS=xr({leaf:{uwmqm3:["f1k1erfc","faevyjx"]},branch:{uwmqm3:["fo100m9","f6yw3pu"]},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},small:{sshi5w:"f1pha7fy",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},subtle:{},"subtle-alpha":{Jwef8y:"f146ro5n",ecr2s2:"fkam630"},transparent:{De3pzq:"f1c21dwh",Jwef8y:"fjxutwb",ecr2s2:"fophhak"}},{d:[".f1k1erfc{padding-left:calc(var(--fluent-TreeItem--level, 1) * var(--spacingHorizontalXXL));}",".faevyjx{padding-right:calc(var(--fluent-TreeItem--level, 1) * var(--spacingHorizontalXXL));}",".fo100m9{padding-left:calc((var(--fluent-TreeItem--level, 1) - 1) * var(--spacingHorizontalXXL));}",".f6yw3pu{padding-right:calc((var(--fluent-TreeItem--level, 1) - 1) * var(--spacingHorizontalXXL));}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".f1pha7fy{min-height:24px;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}"],h:[".f146ro5n:hover{background-color:var(--colorSubtleBackgroundLightAlphaHover);}",".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}"],a:[".fkam630:active{background-color:var(--colorSubtleBackgroundLightAlphaPressed);}",".fophhak:active{background-color:var(--colorTransparentBackgroundPressed);}"]}),US=yr("rzvs2in","r17h8a29",[".rzvs2in{display:flex;margin-left:auto;position:relative;z-index:1;grid-area:aside;padding:0 var(--spacingHorizontalS);}",".r17h8a29{display:flex;margin-right:auto;position:relative;z-index:1;grid-area:aside;padding:0 var(--spacingHorizontalS);}"]),GS=yr("r1825u21","rezy0yk",[".r1825u21{display:flex;margin-left:auto;align-items:center;z-index:0;grid-area:aside;padding:0 var(--spacingHorizontalM);gap:var(--spacingHorizontalXS);}",".rezy0yk{display:flex;margin-right:auto;align-items:center;z-index:0;grid-area:aside;padding:0 var(--spacingHorizontalM);gap:var(--spacingHorizontalXS);}"]),XS=yr("rh4pu5o",null,[".rh4pu5o{display:flex;align-items:center;justify-content:center;min-width:24px;box-sizing:border-box;color:var(--colorNeutralForeground3);flex:0 0 auto;padding:var(--spacingVerticalXS) 0;}"]),KS=yr("rklbe47",null,[".rklbe47{padding:0 var(--spacingHorizontalXXS);}"]),JS=yr("rphzgg1",null,[".rphzgg1{display:flex;align-items:center;color:var(--colorNeutralForeground2);line-height:var(--lineHeightBase500);font-size:var(--fontSizeBase500);}"]),YS=xr({medium:{z189sj:["f7x41pl","fruq291"]},small:{z189sj:["ffczdla","fgiv446"]}},{d:[".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}"]}),QS=xr({medium:{uwmqm3:["fruq291","f7x41pl"]},small:{uwmqm3:["fgiv446","ffczdla"]}},{d:[".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}"]}),e_=s.exports.forwardRef(((e,t)=>{const r=((e,t)=>{const{main:r,iconAfter:o,iconBefore:a}=e,n=DS((e=>e.layoutRef)),i=zS((e=>e.selectionMode)),l=zS((e=>{var t;return null!==(t=e.navigationMode)&&void 0!==t?t:"tree"})),[c,d]=jr(e.actions)?[e.actions.visible,e.actions.onVisibilityChange]:[void 0,void 0],[u,f]=wo({state:c,initialState:!1}),p=DS((e=>e.selectionRef)),h=DS((e=>e.expandIconRef)),g=DS((e=>e.actionsRef)),v=s.exports.useRef(null),m=DS((e=>e.treeItemRef)),b=DS((e=>e.subtreeRef)),x=DS((e=>e.checked)),y=DS((e=>"branch"===e.itemType)),w=s.exports.useCallback((e=>{if(!Boolean(b.current&&ta(b.current,e.target))){if(null==d||d(e,{visible:!0,event:e,type:e.type}),e.defaultPrevented)return;f(!0)}}),[b,f,d]),{targetDocument:k}=ao(),B=Zi(),S=s.exports.useCallback((e=>{if(Boolean(v.current&&ta(v.current,e.relatedTarget))){if(null==d||d(e,{visible:!0,event:e,type:e.type}),e.defaultPrevented)return;f(!0)}else{var t;Boolean(null===(t=v.current)||void 0===t?void 0:t.contains(e.target))&&Boolean(m.current&&ta(m.current,e.relatedTarget))||"mouseout"===e.type&&B()&&((null==k?void 0:k.activeElement)===m.current||ta(v.current,null==k?void 0:k.activeElement))||(null==d||d(e,{visible:!1,event:e,type:e.type}),e.defaultPrevented||f(!1))}}),[f,d,m,B,k]),_=_r(e.expandIcon,{renderByDefault:y,defaultProps:{children:s.exports.createElement(FS,null),"aria-hidden":!0},elementType:"div"}),N=Eo(null==_?void 0:_.ref,h);_&&(_.ref=N);const z=zi({circular:"tree"===l,axis:"horizontal"}),j=u?_r(e.actions,{defaultProps:{...z,role:"toolbar"},elementType:"div"}):void 0;null==j||delete j.visible,null==j||delete j.onVisibilityChange;const T=Eo(null==j?void 0:j.ref,g,v),C=jo((t=>{var r,o;jr(e.actions)&&(null===(r=(o=e.actions).onBlur)||void 0===r||r.call(o,t));const a=Boolean(ta(t.currentTarget,t.relatedTarget));null==d||d(t,{visible:a,event:t,type:t.type}),f(a)}));j&&(j.ref=T,j.onBlur=C);const D=Boolean(e.actions);return s.exports.useEffect((()=>{if(m.current&&D){const e=m.current,t=w,r=S,o=w,a=S;return e.addEventListener("mouseover",t),e.addEventListener("mouseout",r),e.addEventListener("focus",o),e.addEventListener("blur",a),()=>{e.removeEventListener("mouseover",t),e.removeEventListener("mouseout",r),e.removeEventListener("focus",o),e.removeEventListener("blur",a)}}}),[D,m,w,S]),{components:{root:"div",expandIcon:"div",iconBefore:"div",main:"div",iconAfter:"div",actions:"div",aside:"div",selector:"multiselect"===i?Lb:aw},buttonContextValue:{size:"small"},root:Sr(Wr("div",{...e,ref:Eo(t,n)}),{elementType:"div"}),iconBefore:_r(a,{elementType:"div"}),main:Sr(r,{elementType:"div"}),iconAfter:_r(o,{elementType:"div"}),aside:u?void 0:_r(e.aside,{elementType:"div"}),actions:j,expandIcon:_,selector:_r(e.selector,{renderByDefault:"none"!==i,defaultProps:{checked:x,tabIndex:-1,"aria-hidden":!0,ref:p},elementType:"multiselect"===i?Lb:aw})}})(e,t);return(e=>{const{main:t,iconAfter:r,iconBefore:o,expandIcon:a,root:n,aside:i,actions:s,selector:l}=e,c=WS(),d=$S(),u=US(),f=GS(),p=KS(),h=XS(),g=JS(),v=YS(),m=QS(),b=zS((e=>e.size)),x=zS((e=>e.appearance)),y=DS((e=>e.itemType));n.className=rt(IS,d,c[x],c[b],c[y],n.className),t.className=rt(LS,p,t.className),a&&(a.className=rt(qS,h,a.className)),o&&(o.className=rt(MS,g,v[b],o.className)),r&&(r.className=rt(OS,g,m[b],r.className)),s&&(s.className=rt(VS,u,s.className)),i&&(i.className=rt(HS,f,i.className)),l&&(l.className=rt(ZS,l.className))})(r),fo("useTreeItemLayoutStyles_unstable")(r),(e=>sa(e.root,{children:[e.expandIcon&&ia(e.expandIcon,{}),e.selector&&ia(e.selector,{}),e.iconBefore&&ia(e.iconBefore,{}),ia(e.main,{children:e.root.children}),e.iconAfter&&ia(e.iconAfter,{}),sa(lb,{value:e.buttonContextValue,children:[e.actions&&ia(e.actions,{}),e.aside&&ia(e.aside,{})]})]}))(r)}));function t_(e="tree"){const{rove:t,initialize:r,forceUpdate:o}=PS(),{findFirstFocusable:a}=Di(),{walkerRef:n,rootRef:i}=AS(),l=s.exports.useCallback((e=>{e&&n.current&&r(n.current)}),[n,r]),c=t=>{if(!n.current)return null;switch(t.type){case vS:return t.target;case kS:return n.current.currentElement=t.target,function(e,t){const r=t.toLowerCase(),o=e=>{var t;return(null===(t=e.textContent)||void 0===t?void 0:t.trim().charAt(0).toLowerCase())===r?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP};let a=e.nextElement(o);return a||(e.currentElement=e.root,a=e.nextElement(o)),a}(n.current,t.event.key);case pS:{const r=r_(t.target);return"treegrid"===e&&(null==r?void 0:r.contains(t.target.ownerDocument.activeElement))?t.target:(n.current.currentElement=t.target,n.current.parentElement())}case hS:if("treegrid"===e){const e=r_(t.target);var r;if(e)null===(r=a(e))||void 0===r||r.focus();return null}return n.current.currentElement=t.target,n.current.firstChild();case bS:return n.current.currentElement=n.current.root,function(e){let t=null,r=null;for(;r=e.lastChild();)t=r;return t}(n.current);case xS:return n.current.currentElement=n.current.root,n.current.firstChild();case wS:return n.current.currentElement=t.target,n.current.nextElement();case yS:return n.current.currentElement=t.target,n.current.previousElement()}};return{navigate:function(e,r){const o=c(e);return o&&t(o,r),o},treeRef:Eo(i,l),forceUpdateRovingTabIndex:o}}e_.displayName="TreeItemLayout";const r_=e=>e.querySelector(`:scope > .${IS} > .${VS}`),o_=(e,t)=>void 0===s.exports.useContext(uS)?function(e,t){const[r,o]=function(e){return wo({state:s.exports.useMemo((()=>e.openItems&&oS.from(e.openItems)),[e.openItems]),defaultState:e.defaultOpenItems&&(()=>oS.from(e.defaultOpenItems)),initialState:oS.empty})}(e),a=function(e){return s.exports.useMemo((()=>cS(e.checkedItems)),[e.checkedItems])}(e),n=t_(e.navigationMode);return Object.assign(BS({...e,openItems:r,checkedItems:a,onOpenChange:jo(((t,a)=>{var n;const i=aS(a,r);null===(n=e.onOpenChange)||void 0===n||n.call(e,t,{...a,openItems:oS.dangerouslyGetInternalSet(i)}),o(i)})),onNavigation:jo(((t,r)=>{var o;null===(o=e.onNavigation)||void 0===o||o.call(e,t,r),t.isDefaultPrevented()||n.navigate(r,{preventScroll:r.isScrollPrevented()})})),onCheckedChange:jo(((t,r)=>{var o;const n=function(e,t){return"single"===e.selectionMode?sS.from([[e.value,e.checked]]):"multiselect"===e.selectionMode?t.set(e.value,e.checked):t}(r,a);null===(o=e.onCheckedChange)||void 0===o||o.call(e,t,{...r,checkedItems:sS.dangerouslyGetInternalMap(n)})}))},Eo(t,n.treeRef)),{treeType:"nested",forceUpdateRovingTabIndex:n.forceUpdateRovingTabIndex})}(e,t):function(e,t){return function(e,t){const r=DS((e=>e.subtreeRef)),{level:o}=fS(),a=DS((e=>e.open));return{contextType:"subtree",open:a,components:{root:"div",collapseMotion:fh},level:o+1,root:Sr(Wr("div",{ref:Eo(t,r),role:"group",...e}),{elementType:"div"}),collapseMotion:sh(e.collapseMotion,{elementType:fh,defaultProps:{visible:a,unmountOnExit:!0}})}}(e,t)}(e,t);const a_="fui-Tree",n_=yr("rnv2ez3",null,[".rnv2ez3{display:flex;flex-direction:column;row-gap:var(--spacingVerticalXXS);}"]),i_=xr({subtree:{z8tnut:"fclwglc"}},{d:[".fclwglc{padding-top:var(--spacingVerticalXXS);}"]}),s_={level:1,contextType:"subtree"},l_=e=>"subtree"===e.value.contextType?s.exports.createElement(uS.Provider,{value:e.value},e.children):s.exports.createElement(NS.Provider,{value:e.value},s.exports.createElement(uS.Provider,{value:s_},e.children));l_.displayName="TreeProvider";const c_=s.exports.forwardRef(((e,t)=>{const r=o_(e,t),o=function(e){if("root"===e.contextType){const{openItems:t,level:r,contextType:o,treeType:a,checkedItems:n,selectionMode:i,navigationMode:s,appearance:l,size:c,requestTreeResponse:d,forceUpdateRovingTabIndex:u}=e;return{tree:{treeType:a,size:c,openItems:t,appearance:l,checkedItems:n,selectionMode:i,navigationMode:s,contextType:o,level:r,requestTreeResponse:d,forceUpdateRovingTabIndex:u}}}return{tree:s.exports.useMemo((()=>({level:e.level,contextType:"subtree"})),[e.level])}}(r);return(e=>{const t=n_(),r=i_(),o=e.level>1;e.root.className=rt(a_,t,o&&r.subtree,e.root.className)})(r),fo("useTreeStyles_unstable")(r),((e,t)=>ia(l_,{value:t.tree,children:e.collapseMotion?ia(e.collapseMotion,{children:ia(e.root,{})}):ia(e.root,{})}))(r,o)}));c_.displayName="Tree";const d_="fui-TreeItem",u_=yr("r15xhw3a","r2f6k57",[".r15xhw3a{position:relative;cursor:pointer;display:flex;flex-direction:column;box-sizing:border-box;background-color:var(--colorSubtleBackground);color:var(--colorNeutralForeground2);padding-right:var(--spacingHorizontalNone);}",".r15xhw3a:focus{outline-style:none;}",".r15xhw3a:focus-visible{outline-style:none;}",".r15xhw3a[data-fui-focus-visible]>.fui-TreeItemLayout,.r15xhw3a[data-fui-focus-visible]>.fui-TreeItemPersonaLayout{border-radius:var(--borderRadiusMedium);outline-color:var(--colorStrokeFocus2);outline-radius:var(--borderRadiusMedium);outline-width:2px;outline-style:solid;}",".r2f6k57{position:relative;cursor:pointer;display:flex;flex-direction:column;box-sizing:border-box;background-color:var(--colorSubtleBackground);color:var(--colorNeutralForeground2);padding-left:var(--spacingHorizontalNone);}",".r2f6k57:focus{outline-style:none;}",".r2f6k57:focus-visible{outline-style:none;}",".r2f6k57[data-fui-focus-visible]>.fui-TreeItemLayout,.r2f6k57[data-fui-focus-visible]>.fui-TreeItemPersonaLayout{border-radius:var(--borderRadiusMedium);outline-color:var(--colorStrokeFocus2);outline-radius:var(--borderRadiusMedium);outline-width:2px;outline-style:solid;}"]),f_=xr({level1:{iytv0q:"f10bgyvd"},level2:{iytv0q:"f1h0rod3"},level3:{iytv0q:"fgoqafk"},level4:{iytv0q:"f75dvuh"},level5:{iytv0q:"fqk7yw6"},level6:{iytv0q:"f1r3z17b"},level7:{iytv0q:"f1hrpd1h"},level8:{iytv0q:"f1iy65d0"},level9:{iytv0q:"ftg42e5"},level10:{iytv0q:"fyat3t"}},{d:[".f10bgyvd{--fluent-TreeItem--level:1;}",".f1h0rod3{--fluent-TreeItem--level:2;}",".fgoqafk{--fluent-TreeItem--level:3;}",".f75dvuh{--fluent-TreeItem--level:4;}",".fqk7yw6{--fluent-TreeItem--level:5;}",".f1r3z17b{--fluent-TreeItem--level:6;}",".f1hrpd1h{--fluent-TreeItem--level:7;}",".f1iy65d0{--fluent-TreeItem--level:8;}",".ftg42e5{--fluent-TreeItem--level:9;}",".fyat3t{--fluent-TreeItem--level:10;}"]});const p_=s.exports.forwardRef(((e,t)=>{const r=function(e,t){zS((e=>e.treeType));const r=zS((e=>e.requestTreeResponse)),o=zS((e=>{var t;return null!==(t=e.navigationMode)&&void 0!==t?t:"tree"})),a=zS((e=>e.forceUpdateRovingTabIndex)),{level:n}=fS(),i=DS((t=>{var r;return null!==(r=e.parentValue)&&void 0!==r?r:t.value})),l=Po("fuiTreeItemValue-");var c;const d=null!==(c=e.value)&&void 0!==c?c:l,{onClick:f,onKeyDown:p,onChange:h,as:g="div",itemType:v="leaf","aria-level":m=n,"aria-selected":b,"aria-expanded":x,...y}=e,w=s.exports.useRef(null),k=s.exports.useRef(null),B=s.exports.useRef(null),S=s.exports.useRef(null),_=s.exports.useRef(null),N=s.exports.useRef(null);s.exports.useEffect((()=>{null==a||a();const e=N.current;return()=>{e&&0===e.tabIndex&&(null==a||a())}}),[a]);const z=zS((t=>{var r;return null!==(r=e.open)&&void 0!==r?r:t.openItems.has(d)})),j=()=>"branch"===v?!z:z,T=zS((e=>e.selectionMode)),C=zS((e=>{var t;return null!==(t=e.checkedItems.get(d))&&void 0!==t&&t})),D=jo((t=>{var o;const a=null===(o=k.current)||void 0===o?void 0:o.contains(t.target);var n;w.current&&ta(w.current,t.target)||S.current&&ta(S.current,t.target)||(null===(n=_.current)||void 0===n?void 0:n.contains(t.target))||(a||null==f||f(t),t.isDefaultPrevented()||u.exports.unstable_batchedUpdates((()=>{const o={event:t,value:d,open:j(),target:t.currentTarget,type:a?mS:vS};var n;"leaf"!==v&&(null===(n=e.onOpenChange)||void 0===n||n.call(e,t,o),r({...o,itemType:v,requestType:"open"})),r({...o,itemType:v,parentValue:i,requestType:"navigate",type:vS})})))})),P=jo((t=>{if(null==p||p(t),t.isDefaultPrevented()||!N.current)return;const a=t.currentTarget===t.target,n=w.current&&w.current.contains(t.target);switch(t.key){case" ":if(!a)return;var s;return void("none"!==T&&(null===(s=_.current)||void 0===s||s.click(),t.preventDefault()));case gS:if(!a)return;return t.currentTarget.click();case bS:case xS:case yS:if(!a&&!n)return;return r({requestType:"navigate",event:t,value:d,itemType:v,parentValue:i,type:t.key,target:t.currentTarget});case wS:if(!a&&!n)return;if(n&&(!$o(t.target)||t.target.hasAttribute("aria-haspopup")))return;return r({requestType:"navigate",event:t,value:d,itemType:v,parentValue:i,type:t.key,target:t.currentTarget});case pS:{if(t.altKey)return;const s={value:d,event:t,open:j(),type:t.key,itemType:v,parentValue:i,target:t.currentTarget};if(n&&"treegrid"===o)return void r({...s,requestType:"navigate"});if(!a)return;if(1===m&&!z)return;var l;return z&&(null===(l=e.onOpenChange)||void 0===l||l.call(e,t,s)),void r({...s,requestType:z?"open":"navigate"})}case hS:{if(!a)return;if(t.altKey)return;const o={value:d,event:t,open:j(),type:t.key,target:t.currentTarget};var c;return void("branch"!==v||z?r({...o,itemType:v,parentValue:i,requestType:"navigate"}):(null===(c=e.onOpenChange)||void 0===c||c.call(e,t,o),r({...o,itemType:v,requestType:"open"})))}}a&&1===t.key.length&&t.key.match(/\w/)&&!t.altKey&&!t.ctrlKey&&!t.metaKey&&r({requestType:"navigate",event:t,target:t.currentTarget,value:d,itemType:v,type:kS,parentValue:i})})),E=jo((e=>{null==h||h(e),e.isDefaultPrevented()||S.current&&ta(S.current,e.target)||r({requestType:"selection",event:e,value:d,itemType:v,type:"Change",target:e.currentTarget,checked:"mixed"===C||!C})}));return{value:d,open:z,checked:C,subtreeRef:S,layoutRef:B,selectionRef:_,expandIconRef:k,treeItemRef:N,actionsRef:w,itemType:v,level:m,components:{root:"div"},isAsideVisible:!1,isActionsVisible:!1,root:Sr(Wr(g,{tabIndex:-1,"data-fui-tree-item-value":d,role:"treeitem",...y,ref:Eo(t,N),"aria-level":m,"aria-checked":"multiselect"===T?C:void 0,"aria-selected":void 0!==b?b:"single"===T?!!C:void 0,"aria-expanded":void 0!==x?x:"branch"===v?z:void 0,onClick:D,onKeyDown:P,onChange:E}),{elementType:"div"})}}(e,t);(e=>{const t=u_(),r=f_(),{level:o}=e;e.root.className=rt(d_,t,function(e){return e>=1&&e<=10}(o)&&r[`level${o}`],e.root.className)})(r),fo("useTreeItemStyles_unstable")(r);const o=function(e){const{value:t,itemType:r,layoutRef:o,subtreeRef:a,open:n,expandIconRef:i,actionsRef:s,treeItemRef:l,isActionsVisible:c,isAsideVisible:d,selectionRef:u,checked:f}=e;return{treeItem:{value:t,checked:f,itemType:r,layoutRef:o,subtreeRef:a,open:n,selectionRef:u,isActionsVisible:c,isAsideVisible:d,actionsRef:s,treeItemRef:l,expandIconRef:i}}}(r);return((e,t)=>ia(e.root,{children:ia(CS,{value:t.treeItem,children:e.root.children})}))(r,o)}));function h_(e){switch(e){case"info":return s.exports.createElement(mu,null);case"warning":return s.exports.createElement(sf,null);case"error":return s.exports.createElement($d,null);case"success":return s.exports.createElement(ld,null);default:return null}}p_.displayName="TreeItem";const g_=s.exports.createContext(void 0),v_={className:"",nodeRef:s.exports.createRef()};g_.Provider;const m_=s.exports.createContext(void 0);const b_=(e,t)=>{const{layout:r="auto",intent:o="info",politeness:a,shape:n="rounded"}=e,i=(null!=a?a:"info"===o)?"polite":"assertive",l="auto"===r,{ref:c,reflowing:d}=function(e=!1){const{targetDocument:t}=ao(),r=s.exports.useReducer((()=>({})),{})[1],o=s.exports.useRef(!1),a=s.exports.useRef(null),n=s.exports.useRef(-1),i=s.exports.useCallback((e=>{var t,a;const i=e[0];var s;const l=null!==(s=null==i||null===(a=i.borderBoxSize)||void 0===a||null===(t=a[0])||void 0===t?void 0:t.inlineSize)&&void 0!==s?s:null==i?void 0:i.target.getBoundingClientRect().width;if(void 0===l||!i)return;const{target:c}=i;if(!$o(c))return;let d;o.current?n.current<l&&(d=!1):l<c.scrollWidth&&(d=!0),n.current=l,void 0!==d&&o.current!==d&&(o.current=d,r())}),[r]),l=s.exports.useCallback((r=>{var o;if(!e||!r||!(null==t?void 0:t.defaultView))return;null===(o=a.current)||void 0===o||o.disconnect();const n=new t.defaultView.ResizeObserver(i);a.current=n,n.observe(r,{box:"border-box"})}),[t,i,e]);return s.exports.useEffect((()=>()=>{var e;null===(e=a.current)||void 0===e||e.disconnect()}),[]),{ref:l,reflowing:o.current}}(l),u=l?d?"multiline":"singleline":r,{className:f,nodeRef:p}=null!==(h=s.exports.useContext(g_))&&void 0!==h?h:v_;var h;const g=s.exports.useContext(m_),v=s.exports.useRef(null),m=s.exports.useRef(null),{announce:b}=function(){var e;return null!==(e=s.exports.useContext(mo))&&void 0!==e?e:{announce:()=>{}}}(),x=Po();return s.exports.useEffect((()=>{var e,t;const r=[null===(e=m.current)||void 0===e?void 0:e.textContent,null===(t=v.current)||void 0===t?void 0:t.textContent].filter(Boolean).join(",");b(r,{polite:"polite"===i,alert:"assertive"===i})}),[m,v,b,i]),{components:{root:"div",icon:"div",bottomReflowSpacer:"div"},root:Sr(Wr("div",{ref:Eo(t,c,p,g),role:"group","aria-labelledby":x,...e}),{elementType:"div"}),icon:_r(e.icon,{renderByDefault:!0,elementType:"div",defaultProps:{children:h_(o)}}),bottomReflowSpacer:_r(e.bottomReflowSpacer,{renderByDefault:"multiline"===u,elementType:"div"}),layout:u,intent:o,transitionClassName:f,actionsRef:v,bodyRef:m,titleId:x,shape:n}},x_=s.exports.createContext(void 0),y_={titleId:"",layout:"singleline",actionsRef:s.exports.createRef(),bodyRef:s.exports.createRef()},w_=x_.Provider,k_=()=>{var e;return null!==(e=s.exports.useContext(x_))&&void 0!==e?e:y_},B_="fui-MessageBar",S_="fui-MessageBar__icon",__="fui-MessageBar__bottomReflowSpacer",N_=yr("r2oyxsj","r1wuyrhw",['.r2oyxsj{white-space:nowrap;display:grid;grid-template-columns:auto 1fr auto auto;grid-template-rows:1fr;grid-template-areas:"icon body secondaryActions actions";padding-left:var(--spacingHorizontalM);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);border-radius:var(--borderRadiusMedium);align-items:center;min-height:36px;box-sizing:border-box;background-color:var(--colorNeutralBackground3);}','.r1wuyrhw{white-space:nowrap;display:grid;grid-template-columns:auto 1fr auto auto;grid-template-rows:1fr;grid-template-areas:"icon body secondaryActions actions";padding-right:var(--spacingHorizontalM);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);border-radius:var(--borderRadiusMedium);align-items:center;min-height:36px;box-sizing:border-box;background-color:var(--colorNeutralBackground3);}']),z_=yr("r1df1z33","rivnfjc",[".r1df1z33{grid-area:icon;font-size:var(--fontSizeBase500);margin-right:var(--spacingHorizontalS);color:var(--colorNeutralForeground3);display:flex;align-items:center;}",".rivnfjc{grid-area:icon;font-size:var(--fontSizeBase500);margin-left:var(--spacingHorizontalS);color:var(--colorNeutralForeground3);display:flex;align-items:center;}"]),j_=yr("r1vx593n",null,[".r1vx593n{margin-bottom:var(--spacingVerticalS);grid-area:secondaryActions;}"]),T_=xr({rootMultiline:{Huce71:"f6juhto",Bt984gj:"f1s2louj",z8tnut:"f1ngh7ph",Budl1dq:"f17g0uqy",zoa1oz:"f1w7oly7"},secondaryActionsMultiline:{Brf1p80:"f1e8xxv9",B6of3ja:"f1gaxbfw",jrapky:"fqcjy3b",t21cq0:["fibjyge","f9yszdx"]},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"}},{d:[".f6juhto{white-space:normal;}",".f1s2louj{align-items:start;}",".f1ngh7ph{padding-top:var(--spacingVerticalMNudge);}",".f17g0uqy{grid-template-columns:auto 1fr auto;}",'.f1w7oly7{grid-template-areas:"icon body actions" "secondaryActions secondaryActions secondaryActions";}',".f1e8xxv9{justify-content:end;}",".f1gaxbfw{margin-top:var(--spacingVerticalMNudge);}",".fqcjy3b{margin-bottom:var(--spacingVerticalS);}",".fibjyge{margin-right:0px;}",".f9yszdx{margin-left:0px;}",[".fokr779{border-radius:0;}",{p:-1}]]}),C_=xr({info:{},error:{sj55zd:"f1ca9wz"},warning:{sj55zd:"f14a4cve"},success:{sj55zd:"f36rra6"}},{d:[".f1ca9wz{color:var(--colorStatusDangerForeground1);}",".f14a4cve{color:var(--colorStatusWarningForeground3);}",".f36rra6{color:var(--colorStatusSuccessForeground1);}"]}),D_=xr({info:{},error:{De3pzq:"f1eon7jj",g2u3we:"f1f8dvr7",h3c5rm:["f1g1ijmo","f1nxacbt"],B9xav0g:"fo25q1j",zhjwy3:["f1nxacbt","f1g1ijmo"]},warning:{De3pzq:"f13ftzij",g2u3we:"frd1ypx",h3c5rm:["f1gyjrma","f18qd5xz"],B9xav0g:"fqyqtrt",zhjwy3:["f18qd5xz","f1gyjrma"]},success:{De3pzq:"f64thcm",g2u3we:"f1b4u7v",h3c5rm:["f1nyd2b1","f70v3om"],B9xav0g:"fk173vo",zhjwy3:["f70v3om","f1nyd2b1"]}},{d:[".f1eon7jj{background-color:var(--colorStatusDangerBackground1);}",".f1f8dvr7{border-top-color:var(--colorStatusDangerBorder1);}",".f1g1ijmo{border-right-color:var(--colorStatusDangerBorder1);}",".f1nxacbt{border-left-color:var(--colorStatusDangerBorder1);}",".fo25q1j{border-bottom-color:var(--colorStatusDangerBorder1);}",".f13ftzij{background-color:var(--colorStatusWarningBackground1);}",".frd1ypx{border-top-color:var(--colorStatusWarningBorder1);}",".f1gyjrma{border-right-color:var(--colorStatusWarningBorder1);}",".f18qd5xz{border-left-color:var(--colorStatusWarningBorder1);}",".fqyqtrt{border-bottom-color:var(--colorStatusWarningBorder1);}",".f64thcm{background-color:var(--colorStatusSuccessBackground1);}",".f1b4u7v{border-top-color:var(--colorStatusSuccessBorder1);}",".f1nyd2b1{border-right-color:var(--colorStatusSuccessBorder1);}",".f70v3om{border-left-color:var(--colorStatusSuccessBorder1);}",".fk173vo{border-bottom-color:var(--colorStatusSuccessBorder1);}"]});const P_=s.exports.forwardRef(((e,t)=>{const r=b_(e,t);return(e=>{const t=N_(),r=z_(),o=C_(),a=D_(),n=j_(),i=T_();e.root.className=rt(B_,t,"multiline"===e.layout&&i.rootMultiline,"square"===e.shape&&i.square,a[e.intent],e.root.className),e.icon&&(e.icon.className=rt(S_,r,o[e.intent],e.icon.className)),e.bottomReflowSpacer&&(e.bottomReflowSpacer.className=rt(__,n))})(r),fo("useMessageBarStyles_unstable")(r),((e,t)=>ia(w_,{value:t.messageBar,children:sa(e.root,{children:[e.icon&&ia(e.icon,{}),e.root.children,e.bottomReflowSpacer&&ia(e.bottomReflowSpacer,{})]})}))(r,function(e){const{layout:t,actionsRef:r,bodyRef:o,titleId:a}=e;return{messageBar:s.exports.useMemo((()=>({layout:t,actionsRef:r,bodyRef:o,titleId:a})),[t,r,o,a])}}(r))}));P_.displayName="MessageBar";const E_="fui-MessageBarTitle",A_=yr("r168xkm9",null,[".r168xkm9{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);}",'.r168xkm9::after{content:" ";}']),F_=s.exports.forwardRef(((e,t)=>{const r=((e,t)=>{const{titleId:r}=k_();return{components:{root:"span"},root:Sr(Wr("span",{ref:t,id:r,...e}),{elementType:"span"})}})(e,t);return(e=>{const t=A_();e.root.className=rt(E_,t,e.root.className)})(r),fo("useMessageBarTitleStyles_unstable")(r),(e=>ia(e.root,{}))(r)}));F_.displayName="MessageBarTitle";const R_="fui-MessageBarActions",I_="fui-MessageBarActions__containerAction",M_=yr("r1t4x98y","r15utzv5",[".r1t4x98y{grid-area:secondaryActions;display:flex;column-gap:var(--spacingHorizontalM);padding-right:var(--spacingHorizontalM);}",".r15utzv5{grid-area:secondaryActions;display:flex;column-gap:var(--spacingHorizontalM);padding-left:var(--spacingHorizontalM);}"]),L_=yr("rgzw8nq","r13ur29z",[".rgzw8nq{grid-area:actions;padding-right:var(--spacingHorizontalM);}",".r13ur29z{grid-area:actions;padding-left:var(--spacingHorizontalM);}"]),O_=xr({root:{Brf1p80:"f1e8xxv9",B6of3ja:"f1gaxbfw",jrapky:"fqcjy3b",t21cq0:["fibjyge","f9yszdx"],z189sj:["f1p3vkop","f8cewkv"]},noActions:{mc9l5x:"fjseox"}},{d:[".f1e8xxv9{justify-content:end;}",".f1gaxbfw{margin-top:var(--spacingVerticalMNudge);}",".fqcjy3b{margin-bottom:var(--spacingVerticalS);}",".fibjyge{margin-right:0px;}",".f9yszdx{margin-left:0px;}",".f1p3vkop{padding-right:var(--spacingVerticalM);}",".f8cewkv{padding-left:var(--spacingVerticalM);}",".fjseox{display:none;}"]});const q_=s.exports.forwardRef(((e,t)=>{const r=((e,t)=>{const{layout:r="singleline",actionsRef:o}=k_();return{components:{root:"div",containerAction:"div"},containerAction:_r(e.containerAction,{renderByDefault:!1,elementType:"div"}),root:Sr(Wr("div",{ref:Eo(t,o),...e}),{elementType:"div"}),layout:r,hasActions:!!e.children}})(e,t);return(e=>{const t=M_(),r=L_(),o=O_();e.root.className=rt(R_,t,"multiline"===e.layout&&o.root,!e.hasActions&&o.noActions,e.root.className),e.containerAction&&(e.containerAction.className=rt(I_,r,e.containerAction.className))})(r),fo("useMessageBarActionsStyles_unstable")(r),((e,t)=>sa(lb,{value:t.button,children:["multiline"===e.layout&&e.containerAction&&ia(e.containerAction,{},"containerAction"),ia(e.root,{}),"multiline"!==e.layout&&e.containerAction&&ia(e.containerAction,{},"containerAction")]}))(r,{button:s.exports.useMemo((()=>({size:"small"})),[])})}));q_.displayName="MessageBarActions";const H_="fui-MessageBarBody",V_=yr("rtatq2b","re2rary",[".rtatq2b{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);grid-area:body;padding-right:var(--spacingHorizontalM);}",".re2rary{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);grid-area:body;padding-left:var(--spacingHorizontalM);}"]);const Z_=s.exports.forwardRef(((e,t)=>{const r=((e,t)=>{const{bodyRef:r}=k_();return{components:{root:"div"},root:Sr(Wr("div",{ref:Eo(t,r),...e}),{elementType:"div"})}})(e,t),o={link:s.exports.useMemo((()=>({inline:!0})),[])};return(e=>{const t=V_();e.root.className=rt(H_,t,e.root.className)})(r),fo("useMessageBarBodyStyles_unstable")(r),((e,t)=>ia(Rx,{value:t.link,children:ia(e.root,{})}))(r,o)}));Z_.displayName="MessageBarBody";const $_={scrollState:"none",setScrollState:()=>({})},W_=s.exports.createContext(void 0),U_=W_.Provider,G_=()=>{var e;return null!==(e=s.exports.useContext(W_))&&void 0!==e?e:$_},X_=()=>{const[e,t]=s.exports.useState("none");return{setScrollState:t,scrollState:e}},K_="--fui-Drawer--size",J_=xr({start:{h3c5rm:0,vrafjx:0,Bekrc4i:0,u1mtju:["f1xteiwb","fsqykmd"],oyh7mz:["f1vgc2s3","f1e31b4d"],j35jbq:["fvfyk4","frppm18"]},end:{zhjwy3:0,wvpqe5:0,ibv6hh:0,B4g9neb:["fsqykmd","f1xteiwb"],j35jbq:["f1e31b4d","f1vgc2s3"],oyh7mz:["frppm18","fvfyk4"]},bottom:{B5kzvoi:"f1yab3r1",Bhzewxz:"f198g47y"},small:{Bjr0ffy:"f1exhnwo"},medium:{Bjr0ffy:"fqofjzu"},large:{Bjr0ffy:"fce6y3m"},full:{Bjr0ffy:"fsdmzs6"}},{d:[[".f1xteiwb{border-right:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],[".fsqykmd{border-left:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".fvfyk4{right:auto;}",".frppm18{left:auto;}",[".fsqykmd{border-left:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],[".f1xteiwb{border-right:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],".f1yab3r1{bottom:0;}",".f198g47y{top:auto;}",".f1exhnwo{--fui-Drawer--size:320px;}",".fqofjzu{--fui-Drawer--size:592px;}",".fce6y3m{--fui-Drawer--size:940px;}",".fsdmzs6{--fui-Drawer--size:100vw;}"]}),Y_=xr({small:{Bjr0ffy:"f1exhnwo"},medium:{Bjr0ffy:"fqofjzu"},large:{Bjr0ffy:"fce6y3m"},full:{Bjr0ffy:"f1rat34m"}},{d:[".f1exhnwo{--fui-Drawer--size:320px;}",".fqofjzu{--fui-Drawer--size:592px;}",".fce6y3m{--fui-Drawer--size:940px;}",".f1rat34m{--fui-Drawer--size:100%;}"]}),Q_=({position:e,size:t})=>{const r=J_(),o=Y_();return rt(r[e],"bottom"===e&&o[t],"bottom"!==e&&r[t])},eN={small:Hp.durationGentle,medium:Hp.durationSlow,large:Hp.durationSlower,full:Hp.durationUltraSlow};function tN(e,t,r){const o=`translate3d(var(${t}), 0, 0)`,a=`translate3d(calc(var(${t}) * -1), 0, 0)`;return"start"===e?"ltr"===r?a:o:"end"===e?"ltr"===r?o:a:"bottom"===e?`translate3d(0, var(${t}), 0)`:"translate3d(0, 0, 0)"}const rN=ah((({position:e,size:t,dir:r})=>{const o=[{transform:tN(e,K_,r),opacity:0},{transform:"translate3d(0, 0, 0)",opacity:1}],a=eN[t];return{enter:{keyframes:o,duration:a,easing:Hp.curveDecelerateMid},exit:{keyframes:[...o].reverse(),duration:a,easing:Hp.curveAccelerateMin}}})),oN=ah((({position:e,size:t,dir:r})=>{const o=[{transform:tN(e,K_,r),boxShadow:`0px ${_l.colorTransparentBackground}`,opacity:0},{transform:"translate3d(0, 0, 0)",boxShadow:_l.shadow64,opacity:1}],a=eN[t];return{enter:{keyframes:o,duration:a,easing:Hp.curveDecelerateMid},exit:{keyframes:[...o].reverse(),duration:a,easing:Hp.curveAccelerateMin}}})),aN=ah((({size:e})=>{const t=[{opacity:0},{opacity:1}],r=eN[e];return{enter:{keyframes:t,easing:Hp.curveLinear,duration:r},exit:{keyframes:[...t].reverse(),easing:Hp.curveLinear,duration:r}}}));function nN(e){const{open:t=!1,size:r="small",position:o="start"}=e;return{size:r,position:o,open:t}}const iN=yr("rl76ifk",null,[".rl76ifk{inset:0px;position:fixed;background-color:var(--colorBackgroundOverlay);}"]),sN=xr({nested:{De3pzq:"f1c21dwh"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}"]}),lN=s.exports.forwardRef(((e,t)=>{const r=zk({...e,as:e.as},t),o={dialogSurface:!0};return(e=>{const t=iN(),r=sN();e.backdrop&&(e.backdrop.className=rt(t,e.isNestedDialog&&r.nested,e.backdrop.className))})(r),fo("useOverlayDrawerSurfaceStyles_unstable")(r),jk(r,o)}));function cN(e,t,r){return null===e?null:{...e,children:(o,a)=>(null==e?void 0:e.children)?e.children(t,{...a,...r}):s.exports.createElement(t,{...a,...r},a.children)}}lN.displayName="OverlayDrawerSurface";const dN={active:!0,canRender:!0,ref:s.exports.createRef(),type:"idle"},uN="fui-OverlayDrawer",fN="fui-OverlayDrawer__backdrop",pN=yr("r7dfyj8","rmx02j7",{r:[".r7dfyj8{overflow:hidden;width:var(--fui-Drawer--size);max-width:100vw;height:auto;max-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);position:fixed;top:0;bottom:0;}",".r7dfyj8:focus{outline-style:none;}",".r7dfyj8:focus-visible{outline-style:none;}",".r7dfyj8[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r7dfyj8[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".rmx02j7{overflow:hidden;width:var(--fui-Drawer--size);max-width:100vw;height:auto;max-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);position:fixed;top:0;bottom:0;}",".rmx02j7:focus{outline-style:none;}",".rmx02j7:focus-visible{outline-style:none;}",".rmx02j7[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rmx02j7[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r7dfyj8[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.rmx02j7[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),hN=xr({start:{},end:{},bottom:{Bhzewxz:"f198g47y",Bqenvij:"fub80nq",a9b677:"fr97h3j"},absolute:{qhf8xq:"f1euv43f"}},{d:[".f198g47y{top:auto;}",".fub80nq{height:var(--fui-Drawer--size);}",".fr97h3j{width:100vw;}",".f1euv43f{position:absolute;}"]}),gN=s.exports.forwardRef(((e,t)=>{const r=((e,t)=>{const{open:r,size:o,position:a}=nN(e),{backdropMotion:n,modalType:i="modal",inertTrapFocus:s,onOpenChange:l,surfaceMotion:c,mountNode:d}=e,{dir:u,targetDocument:f}=ao(),{element:p}=Lm(d),h=Boolean(p&&(null==f?void 0:f.body)!==p),g=Nr(e.backdrop),v="non-modal"!==i&&null!==g,m=Sr({...e,ref:t,backdrop:v?{...g}:null,backdropMotion:cN(n,aN,{size:o})},{elementType:lN}),b=Sr({open:r,onOpenChange:l,inertTrapFocus:s,modalType:i,surfaceMotion:cN(c,oN,{position:a,size:o,dir:u}),children:null},{elementType:lk});return{components:{root:lN,dialog:lk},root:m,dialog:b,open:r,size:o,position:a,hasMountNodeElement:h,mountNode:d,motion:dN}})(e,t),o=X_();return(e=>{const t=Q_(e),r=pN(),o=hN(),a=e.hasMountNodeElement&&o.absolute,n=e.root.backdrop;e.root.className=rt(uN,t,r,o[e.position],a,e.root.className),n&&(n.className=rt(fN,a,n.className))})(r),fo("useDrawerOverlayStyles_unstable")(r),fo("useOverlayDrawerStyles_unstable")(r),((e,t)=>ia(U_,{value:t,children:ia(e.dialog,{children:ia(e.root,{})})}))(r,o)}));gN.displayName="OverlayDrawer";const vN={active:!0,canRender:!0,ref:s.exports.createRef(),type:"idle"},mN="fui-InlineDrawer",bN=yr("rkjj3x6",null,[".rkjj3x6{overflow:hidden;width:var(--fui-Drawer--size);max-width:100vw;height:auto;max-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);position:relative;}"]),xN=xr({separatorStart:{h3c5rm:0,vrafjx:0,Bekrc4i:0,u1mtju:["f1cxmi7i","f1j970fk"]},separatorEnd:{zhjwy3:0,wvpqe5:0,ibv6hh:0,B4g9neb:["f1j970fk","f1cxmi7i"]},separatorBottom:{g2u3we:0,icvyot:0,B4j52fo:0,i8vvqc:"f1n3kblk"},start:{},end:{},bottom:{a9b677:"fly5x3f",Bqenvij:"fub80nq"}},{d:[[".f1cxmi7i{border-right:1px solid var(--colorNeutralBackground3);}",{p:-1}],[".f1j970fk{border-left:1px solid var(--colorNeutralBackground3);}",{p:-1}],[".f1j970fk{border-left:1px solid var(--colorNeutralBackground3);}",{p:-1}],[".f1cxmi7i{border-right:1px solid var(--colorNeutralBackground3);}",{p:-1}],[".f1n3kblk{border-top:1px solid var(--colorNeutralBackground3);}",{p:-1}],".fly5x3f{width:100%;}",".fub80nq{height:var(--fui-Drawer--size);}"]});const yN=s.exports.forwardRef(((e,t)=>{const r=((e,t)=>{const{size:r,position:o,open:a}=nN(e),{separator:n=!1,surfaceMotion:i}=e,{dir:s}=ao();return{components:{root:"div",surfaceMotion:rN},root:Sr(Wr("div",{...e,ref:t}),{elementType:"div"}),open:a,position:o,size:r,separator:n,surfaceMotion:sh(i,{elementType:rN,defaultProps:{position:o,size:r,dir:s,visible:a,unmountOnExit:!0}}),motion:vN}})(e,t),o=X_();return(e=>{const t=bN(),r=Q_(e),o=xN();e.root.className=rt(mN,t,r,function(e,t){if(e.separator)switch(e.position){case"start":return t.separatorStart;case"end":return t.separatorEnd;case"bottom":return t.separatorBottom;default:return}}(e,o),o[e.position],e.root.className)})(r),fo("useDrawerInlineStyles_unstable")(r),fo("useInlineDrawerStyles_unstable")(r),((e,t)=>ia(U_,{value:t,children:ia(e.surfaceMotion,{children:ia(e.root,{})})}))(r,o)}));yN.displayName="InlineDrawer";const wN="fui-Drawer",kN=s.exports.forwardRef(((e,t)=>{const r=((e,t)=>{const r="inline"===e.type?yN:gN;return{components:{root:r},root:Sr({ref:t,...e},{elementType:r})}})(e,t),o=X_();return(e=>{e.root.className=rt(wN,e.root.className)})(r),fo("useDrawerStyles_unstable")(r),((e,t)=>ia(U_,{value:t,children:ia(e.root,{})}))(r,o)}));kN.displayName="Drawer";const BN="fui-DrawerBody",SN=yr("ri6rvx7",null,[".ri6rvx7{padding:0 var(--spacingHorizontalXXL);flex:1;align-self:stretch;position:relative;z-index:1;overflow:auto;}",".ri6rvx7:last-child{padding-bottom:calc(var(--spacingHorizontalXXL) + 1px);}",".ri6rvx7:first-child{padding-top:calc(var(--spacingHorizontalXXL) + 1px);}"]),_N=s.exports.forwardRef(((e,t)=>{const r=((e,t)=>{const{targetDocument:r}=ao(),o=null==r?void 0:r.defaultView,{setScrollState:a}=G_(),n=s.exports.useRef(null),i=Eo(t,n),[l,c]=yo(),[d,u]=yo(),f=s.exports.useCallback((()=>{n.current&&a((({scrollTop:e,scrollHeight:t,clientHeight:r})=>t<=r?"none":0===e?"top":e+r===t?"bottom":"middle")(n.current))}),[a]),p=s.exports.useCallback((()=>{c(),l(f)}),[c,l,f]);return zo(f,[e.children,f]),zo((()=>{if(!n.current||!(null==o?void 0:o.ResizeObserver))return;const e=new o.ResizeObserver((()=>d(f)));return e.observe(n.current),()=>{e.disconnect(),u()}}),[d,u,f,o]),{components:{root:"div"},root:Sr(Wr("div",{ref:i,...e,onScroll:Zo(e.onScroll,p)}),{elementType:"div"})}})(e,t);return(e=>{const t=SN();e.root.className=rt(BN,t,e.root.className)})(r),fo("useDrawerBodyStyles_unstable")(r),(e=>ia(e.root,{}))(r)}));_N.displayName="DrawerBody";const NN="fui-DrawerHeader",zN=yr("r3ovn4i",null,[".r3ovn4i{width:100%;max-width:100%;padding:var(--spacingVerticalXXL) var(--spacingHorizontalXXL) var(--spacingVerticalS);gap:var(--spacingHorizontalS);align-self:stretch;display:flex;flex-direction:column;box-sizing:border-box;position:relative;z-index:2;}"]),jN=xr({separator:{Dlnsje:"fxnjyrl",E3zdtr:"f1mdlcz9",B1piin3:["f15yvnhg","f1n6gb5g"],Eqx8gd:["f1n6gb5g","f15yvnhg"],Bp15pi3:"f1564nw5",Bjyk6c5:"fdlpgxj",F2fol1:"f15cmg8x",Ba2ppi3:"f3f8dgl",B1dyfl9:"fjvo4va",Bsft5z2:"f13zj6fq",By385i5:"fo72kxq"},separatorVisible:{Bp15pi3:"fjsqi2x"}},{d:[".fxnjyrl::after{height:1px;}",".f1mdlcz9::after{position:absolute;}",".f15yvnhg::after{right:0;}",".f1n6gb5g::after{left:0;}",".f1564nw5::after{opacity:0;}",".fdlpgxj::after{background-color:var(--colorNeutralStroke1);}",".f15cmg8x::after{transition-duration:var(--durationNormal);}",".f3f8dgl::after{transition-property:opacity;}",".fjvo4va::after{transition-timing-function:var(--curveEasyEase);}",'.f13zj6fq::after{content:"";}',".fo72kxq::after{bottom:0;}",".fjsqi2x::after{opacity:1;}"]}),TN=s.exports.forwardRef(((e,t)=>{const r=((e,t)=>{const{scrollState:r}=G_();return{components:{root:"header"},root:Sr(Wr("header",{ref:t,role:"none",...e}),{elementType:"header"}),scrollState:r}})(e,t);return(e=>{const t=zN(),r=jN();e.root.className=rt(NN,t,"none"!==e.scrollState&&r.separator,["middle","bottom"].includes(e.scrollState)&&r.separatorVisible,e.root.className)})(r),fo("useDrawerHeaderStyles_unstable")(r),(e=>ia(e.root,{}))(r)}));TN.displayName="DrawerHeader";const CN="fui-DrawerHeaderTitle",DN="fui-DrawerHeaderTitle__heading",PN="fui-DrawerHeaderTitle__action",EN=xr({root:{mc9l5x:"f22iagw",Brf1p80:"f1869bpl",Bt984gj:"f122n59",i8kkvl:"fsnqrgy"},action:{t21cq0:["faqnl2i","fd75udd"]}},{d:[".f22iagw{display:flex;}",".f1869bpl{justify-content:space-between;}",".f122n59{align-items:center;}",".fsnqrgy{column-gap:var(--spacingHorizontalS);}",".faqnl2i{margin-right:calc(var(--spacingHorizontalS) * -1);}",".fd75udd{margin-left:calc(var(--spacingHorizontalS) * -1);}"]}),AN=s.exports.forwardRef(((e,t)=>{const r=((e,t)=>{const{children:r,heading:o}=e,a=tk((e=>e.dialogTitleId));return{components:{root:"div",heading:"h2",action:"div"},root:Sr(Wr("div",{ref:t,...e}),{elementType:"div"}),heading:_r(o,{defaultProps:{id:a,children:r},renderByDefault:!0,elementType:"h2"}),action:_r(e.action,{elementType:"div"})}})(e,t);return(e=>{const t=EN(),{heading:r={},action:o,components:a}=e;Sk({components:{root:a.heading,action:a.action},root:r,action:o}),e.root.className=rt(CN,t.root,e.root.className),e.heading&&(e.heading.className=rt(DN,e.heading.className)),e.action&&(e.action.className=rt(PN,t.action,e.action.className))})(r),fo("useDrawerHeaderTitleStyles_unstable")(r),(e=>sa(e.root,{children:[e.heading&&ia(e.heading,{}),e.action&&ia(e.action,{})]}))(r)}));AN.displayName="DrawerHeaderTitle";const FN="fui-SearchBox",RN="fui-SearchBox__dismiss",IN="fui-SearchBox__contentAfter",MN="fui-SearchBox__contentBefore",LN="fui-SearchBox__input",ON=xr({small:{i8kkvl:"fjuset5",B2u0y6b:"f1xzfw5u",uwmqm3:["fk8j09s","fdw0yi8"],z189sj:["fdw0yi8","fk8j09s"]},medium:{i8kkvl:"fjuset5",B2u0y6b:"f1xzfw5u",uwmqm3:["f1f5gg8d","f1vdfbxk"],z189sj:["f1vdfbxk","f1f5gg8d"]},large:{i8kkvl:"fjuset5",B2u0y6b:"f1xzfw5u",uwmqm3:["f1ng84yb","f11gcy0p"],z189sj:["f11gcy0p","f1ng84yb"]},input:{uwmqm3:["fk8j09s","fdw0yi8"],z189sj:["fhxju0i","f1cnd47f"],Boqhc8c:"f18izjht",B8uat0v:"fcoa6sg"},unfocusedNoContentAfter:{z189sj:["fhxju0i","f1cnd47f"]}},{d:[".fjuset5{column-gap:0;}",".f1xzfw5u{max-width:468px;}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".fhxju0i{padding-right:0;}",".f1cnd47f{padding-left:0;}",".f18izjht::-webkit-search-decoration{display:none;}",".fcoa6sg::-webkit-search-cancel-button{display:none;}"]}),qN=xr({small:{z189sj:["fdw0yi8","fk8j09s"]},medium:{z189sj:["f1vdfbxk","f1f5gg8d"]},large:{z189sj:["f11gcy0p","f1ng84yb"]}},{d:[".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}"]}),HN=xr({contentAfter:{uwmqm3:["f1uw59to","fw5db7e"],i8kkvl:"f1ufnopg"},rest:{Bqenvij:"fniina8",a9b677:"f3tsq5r",uwmqm3:["f1cnd47f","fhxju0i"],B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp"}},{d:[".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}",".f1ufnopg{column-gap:var(--spacingHorizontalXS);}",".fniina8{height:0;}",".f3tsq5r{width:0;}",".f1cnd47f{padding-left:0;}",".fhxju0i{padding-right:0;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}]]}),VN=yr("r1pvzcuu",null,[".r1pvzcuu{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;cursor:pointer;}",".r1pvzcuu>svg{font-size:20px;}"]),ZN=xr({disabled:{sj55zd:"f1s2aq7o"},small:{Duoase:"f3qv9w"},medium:{},large:{Duoase:"f16u2scb"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f3qv9w>svg{font-size:16px;}",".f16u2scb>svg{font-size:24px;}"]}),$N=s.exports.forwardRef(((e,t)=>{const r=((e,t)=>{const{size:r="medium",disabled:o=!1,root:a,contentBefore:n,dismiss:i,contentAfter:l,value:c,defaultValue:d,...u}=e,f=s.exports.useRef(null),p=s.exports.useRef(null),[h,g]=wo({state:c,defaultState:d,initialState:""}),[v,m]=s.exports.useState(!1),b=s.exports.useCallback((()=>{m(!0)}),[m]),x=s.exports.useCallback((e=>{var t;m(!!(null===(t=f.current)||void 0===t?void 0:t.contains(e.relatedTarget)))}),[m]),y=Nr(a),w=jo((t=>{var r,o,a;jr(i)&&(null===(a=i.onClick)||void 0===a||a.call(i,t)),g(""),null===(r=e.onChange)||void 0===r||r.call(e,t,{value:""}),null===(o=p.current)||void 0===o||o.focus()})),k=Sx({type:"search",disabled:o,size:r,value:h,root:Sr({...y,ref:Eo(null==y?void 0:y.ref,f),onFocus:Zo(null==y?void 0:y.onFocus,b),onBlur:Zo(null==y?void 0:y.onBlur,x)},{elementType:"span"}),contentBefore:_r(n,{renderByDefault:!0,defaultProps:{children:s.exports.createElement(Zu,null)},elementType:"span"}),contentAfter:_r(l,{renderByDefault:!0,elementType:"span"}),...u,onChange:jo((t=>{var r;const o=t.target.value;null===(r=e.onChange)||void 0===r||r.call(e,t,{value:o}),g(o)}))},Eo(p,t)),B={...k,components:{...k.components,dismiss:"span"},dismiss:_r(i,{defaultProps:{children:s.exports.createElement(Zd,null),role:"button","aria-label":"clear",tabIndex:-1},renderByDefault:!0,elementType:"span"}),disabled:o,focused:v,size:r};return B.dismiss&&(B.dismiss.onClick=w),B})(e,t);return(e=>{const{disabled:t,focused:r,size:o}=e,a=ON(),n=qN(),i=HN(),s=VN(),l=ZN();e.root.className=rt(FN,a[o],!r&&a.unfocusedNoContentAfter,e.root.className),e.input.className=rt(LN,a.input,!r&&n[o],e.input.className),e.dismiss&&(e.dismiss.className=rt(RN,s,t&&l.disabled,l[o],e.dismiss.className)),e.contentBefore&&(e.contentBefore.className=rt(MN,e.contentBefore.className)),e.contentAfter?e.contentAfter.className=rt(IN,i.contentAfter,!r&&i.rest,e.contentAfter.className):e.dismiss&&(e.dismiss.className=rt(e.dismiss.className,i.contentAfter)),Fx(e)})(r),fo("useSearchBoxStyles_unstable")(r),(e=>sa(e.root,{children:[e.contentBefore&&ia(e.contentBefore,{}),ia(e.input,{}),e.contentAfter&&sa(e.contentAfter,{children:[e.contentAfter.children,e.dismiss&&ia(e.dismiss,{})]})]}))(r)}));$N.displayName="SearchBox";const WN=br({container:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"48px",gap:"16px",minHeight:"400px"},icon:{fontSize:"64px",color:_l.colorPaletteRedForeground1},title:{fontSize:_l.fontSizeBase500,fontWeight:_l.fontWeightSemibold,color:_l.colorNeutralForeground1},message:{fontSize:_l.fontSizeBase300,color:_l.colorNeutralForeground2,textAlign:"center",maxWidth:"600px"},details:{marginTop:"16px",padding:"16px",backgroundColor:_l.colorNeutralBackground3,borderRadius:_l.borderRadiusMedium,fontFamily:"monospace",fontSize:_l.fontSizeBase200,maxWidth:"800px",overflow:"auto",maxHeight:"200px"}});class UN extends s.exports.Component{constructor(){super(...arguments),o(this,"state",{hasError:!1,error:null,errorInfo:null}),o(this,"handleReset",(()=>{this.setState({hasError:!1,error:null,errorInfo:null})}))}static getDerivedStateFromError(e){return{hasError:!0,error:e,errorInfo:null}}componentDidCatch(e,t){var r,o;this.setState({error:e,errorInfo:t}),null==(o=(r=this.props).onError)||o.call(r,e,t)}render(){return this.state.hasError?this.props.fallback?this.props.fallback:i.exports.jsx(GN,{error:this.state.error,onReset:this.handleReset}):this.props.children}}const GN=({error:e,onReset:t})=>{const r=WN();return i.exports.jsxs("div",{className:r.container,children:[i.exports.jsx(Qd,{className:r.icon}),i.exports.jsx("div",{className:r.title,children:"Something went wrong"}),i.exports.jsx("div",{className:r.message,children:"An unexpected error occurred. Please try refreshing the page or contact support if the problem persists."}),e&&i.exports.jsxs("div",{className:r.details,children:[i.exports.jsx("strong",{children:"Error:"})," ",e.message,e.stack&&i.exports.jsxs(i.exports.Fragment,{children:[i.exports.jsx("br",{}),i.exports.jsx("br",{}),i.exports.jsx("strong",{children:"Stack:"}),i.exports.jsx("pre",{children:e.stack})]})]}),i.exports.jsx(xb,{appearance:"primary",onClick:t,children:"Try Again"})]})},XN={name:"azure",colors:{primary:"#0078d4",primaryHover:"#106ebe",primaryActive:"#005a9e",background:"#faf9f8",backgroundSecondary:"#f3f2f1",backgroundTertiary:"#ffffff",surface:"#ffffff",surfaceHover:"#f8f8f8",surfaceSelected:"rgba(85, 179, 255, 0.2)",sidebarBackground:"#ffffff",sidebarText:"#323130",sidebarHover:"#f3f2f1",sidebarSelected:"rgba(85, 179, 255, 0.2)",sidebarBorder:"#edebe9",headerBackground:"#0078d4",headerText:"#ffffff",headerBorder:"#005a9e",text:"#323130",textSecondary:"#605e5c",textTertiary:"#8a8886",textInverse:"#ffffff",border:"#e1dfdd",borderLight:"#f3f2f1",borderDark:"#d2d0ce",info:"#015cda",infoBackground:"#dae4ff",infoText:"#004578",warning:"#ffb900",warningBackground:"#ffdfb8",warningText:"#8a5100",error:"#a4262c",errorBackground:"#fdd8db",errorText:"#a80000",success:"#57a300",successBackground:"#e6ffcc",successText:"#094509"},typography:{fontFamily:"'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif",fontSizeH1:"24px",fontSizeH2:"18px",fontSizeH3:"14px",fontSizeBody:"13px",fontSizeSmall:"12px",fontSizeTiny:"10px",fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700,lineHeightH1:"28px",lineHeightH2:"24px",lineHeightH3:"18px",lineHeightBody:"18px"},spacing:{xs:"4px",sm:"8px",md:"16px",lg:"24px",xl:"32px",xxl:"48px"},shadows:{card:"0 0.3px 0.9px rgba(0, 0, 0, 0.108), 0 1.6px 3.6px rgba(0, 0, 0, 0.132)",cardHover:"0 3.2px 7.2px rgba(0, 0, 0, 0.132), 0 12.8px 28.8px rgba(0, 0, 0, 0.108)",dropdown:"0 6.4px 14.4px rgba(0, 0, 0, 0.132), 0 25.6px 57.6px rgba(0, 0, 0, 0.108)",modal:"0 25.6px 57.6px rgba(0, 0, 0, 0.22), 0 4.8px 14.4px rgba(0, 0, 0, 0.18)"},layout:{headerHeight:"50px",sidebarWidth:"220px",sidebarCollapsedWidth:"48px",borderRadius:"2px",borderWidth:"1px"}},KN=br({menuItem:{display:"flex",alignItems:"center",gap:"8px",fontSize:"12px"},icon:{marginRight:"8px"}}),JN=({appearance:e="subtle",size:t="medium"})=>{const r=KN(),{themeName:o,setTheme:a}=oz(),n=[{name:"azure",label:"Blue Mode",icon:i.exports.jsx(Nd,{})},{name:"light",label:"Light Mode",icon:i.exports.jsx(df,{})},{name:"dark",label:"Dark Mode",icon:i.exports.jsx(cf,{})}],s=n.find((e=>e.name===o));return i.exports.jsxs(my,{children:[i.exports.jsx(Zy,{children:i.exports.jsxs(xb,{appearance:e,size:t,icon:null==s?void 0:s.icon,children:["Theme: ",null==s?void 0:s.label]})}),i.exports.jsx(Oy,{children:i.exports.jsx(Ry,{children:n.map((e=>i.exports.jsxs(Dy,{className:r.menuItem,onClick:()=>a(e.name),disabled:o===e.name,children:[i.exports.jsx("span",{className:r.icon,children:e.icon}),i.exports.jsx("span",{children:e.label}),o===e.name&&i.exports.jsx("span",{children:" ✓"})]},e.name)))})})]})},YN={azure:XN,dark:{name:"dark",colors:{primary:"#0078d4",primaryHover:"#1a86d9",primaryActive:"#0066b8",background:"#1e1e1e",backgroundSecondary:"#252525",backgroundTertiary:"#2d2d2d",surface:"#2d2d2d",surfaceHover:"#3d3d3d",surfaceSelected:"#4d4d4d",sidebarBackground:"#141414",sidebarText:"#e1e1e1",sidebarHover:"rgba(255, 255, 255, 0.08)",sidebarSelected:"#0078d4",sidebarBorder:"#333333",headerBackground:"#252525",headerText:"#ffffff",headerBorder:"#333333",text:"#e1e1e1",textSecondary:"#b3b3b3",textTertiary:"#8a8a8a",textInverse:"#1e1e1e",border:"#3d3d3d",borderLight:"#333333",borderDark:"#4d4d4d",info:"#4ba3f3",infoBackground:"#1a3a52",infoText:"#b3d7f7",warning:"#ffb900",warningBackground:"#4d3800",warningText:"#ffe58f",error:"#f85149",errorBackground:"#4d1f1c",errorText:"#ffc1bd",success:"#3fb950",successBackground:"#1c4d25",successText:"#b3e6bf"},typography:{fontFamily:"'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif",fontSizeH1:"24px",fontSizeH2:"18px",fontSizeH3:"14px",fontSizeBody:"13px",fontSizeSmall:"12px",fontSizeTiny:"10px",fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700,lineHeightH1:"28px",lineHeightH2:"24px",lineHeightH3:"18px",lineHeightBody:"18px"},spacing:{xs:"4px",sm:"8px",md:"16px",lg:"24px",xl:"32px",xxl:"48px"},shadows:{card:"0 1px 2px rgba(0, 0, 0, 0.4)",cardHover:"0 4px 8px rgba(0, 0, 0, 0.5)",dropdown:"0 6px 12px rgba(0, 0, 0, 0.6)",modal:"0 8px 16px rgba(0, 0, 0, 0.7)"},layout:{headerHeight:"48px",sidebarWidth:"220px",sidebarCollapsedWidth:"48px",borderRadius:"4px",borderWidth:"1px"}},light:{name:"light",colors:{primary:"#0078d4",primaryHover:"#106ebe",primaryActive:"#005a9e",background:"#ffffff",backgroundSecondary:"#f9f9f9",backgroundTertiary:"#f3f3f3",surface:"#ffffff",surfaceHover:"#f9f9f9",surfaceSelected:"#e8e8e8",sidebarBackground:"#f3f3f3",sidebarText:"#323130",sidebarHover:"rgba(0, 0, 0, 0.05)",sidebarSelected:"#0078d4",sidebarBorder:"#e1e1e1",headerBackground:"#ffffff",headerText:"#323130",headerBorder:"#e1e1e1",text:"#323130",textSecondary:"#605e5c",textTertiary:"#8a8886",textInverse:"#ffffff",border:"#e1e1e1",borderLight:"#f3f3f3",borderDark:"#d1d1d1",info:"#0078d4",infoBackground:"#e6f2fa",infoText:"#004578",warning:"#ff8c00",warningBackground:"#fff4ce",warningText:"#8a5100",error:"#d13438",errorBackground:"#fde7e9",errorText:"#a80000",success:"#107c10",successBackground:"#dff6dd",successText:"#0b5a08"},typography:{fontFamily:"'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif",fontSizeH1:"24px",fontSizeH2:"18px",fontSizeH3:"14px",fontSizeBody:"13px",fontSizeSmall:"12px",fontSizeTiny:"10px",fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700,lineHeightH1:"28px",lineHeightH2:"24px",lineHeightH3:"18px",lineHeightBody:"18px"},spacing:{xs:"4px",sm:"8px",md:"16px",lg:"24px",xl:"32px",xxl:"48px"},shadows:{card:"0 1px 2px rgba(0, 0, 0, 0.08)",cardHover:"0 4px 8px rgba(0, 0, 0, 0.12)",dropdown:"0 6px 12px rgba(0, 0, 0, 0.15)",modal:"0 8px 16px rgba(0, 0, 0, 0.18)"},layout:{headerHeight:"48px",sidebarWidth:"220px",sidebarCollapsedWidth:"48px",borderRadius:"4px",borderWidth:"1px"}}},QN=XN,ez=s.exports.createContext(void 0),tz=({children:e})=>{const[t,r]=s.exports.useState((()=>localStorage.getItem("t3000-theme")||"azure")),[o,a]=s.exports.useState(YN[t]||QN);s.exports.useEffect((()=>{const e=YN[t]||QN;a(e),localStorage.setItem("t3000-theme",t),function(e){const t=document.documentElement;Object.entries(e.colors).forEach((([e,r])=>{t.style.setProperty(`--t3-color-${rz(e)}`,r)})),Object.entries(e.typography).forEach((([e,r])=>{t.style.setProperty(`--t3-${rz(e)}`,String(r))})),Object.entries(e.spacing).forEach((([e,r])=>{t.style.setProperty(`--t3-spacing-${e}`,r)})),Object.entries(e.shadows).forEach((([e,r])=>{t.style.setProperty(`--t3-shadow-${rz(e)}`,r)})),Object.entries(e.layout).forEach((([e,r])=>{t.style.setProperty(`--t3-${rz(e)}`,r)}))}(e)}),[t]);const n={theme:o,themeName:t,setTheme:e=>{r(e)}};return i.exports.jsx(ez.Provider,{value:n,children:e})};function rz(e){return e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}function oz(){const e=s.exports.useContext(ez);if(!e)throw new Error("useTheme must be used within a ThemeProvider");return e}const az=s.exports.createContext(null),nz=({children:e})=>{const t=Po("toaster"),{dispatchToast:r}=hB(t),o=s.exports.useCallback(((e,t,o)=>{r(i.exports.jsxs(MB,{children:[i.exports.jsx(GB,{children:t}),o&&i.exports.jsx(eS,{children:o})]}),{intent:e})}),[r]),a=s.exports.useCallback(((e,t)=>{o("success",e,t)}),[o]),n=s.exports.useCallback(((e,t)=>{o("error",e,t)}),[o]),l=s.exports.useCallback(((e,t)=>{o("warning",e,t)}),[o]),c=s.exports.useCallback(((e,t)=>{o("info",e,t)}),[o]),d={showNotification:o,success:a,error:n,warning:l,info:c};return i.exports.jsxs(az.Provider,{value:d,children:[i.exports.jsx(AB,{toasterId:t,position:"top-end"}),e]})};var iz=(e=>(e.NewProject="new-project",e.NewBuilding="new-building",e.Open="open",e.Save="save",e.SaveAs="save-as",e.Load="load",e.Import="import",e.Export="export",e.Print="print",e.Exit="exit",e.Connect="connect",e.ChangeModbusId="change-modbus-id",e.BacnetTool="bacnet-tool",e.ModbusPoll="modbus-poll",e.RegisterViewer="register-viewer",e.ModbusRegisterV2="modbus-register-v2",e.RegisterListDatabaseFolder="registerlist-database-folder",e.LoadFirmwareSingle="load-firmware-single",e.LoadFirmwareMany="load-firmware-many",e.FlashSN="flash-sn",e.Psychrometry="psychrometry",e.PhChart="ph-chart",e.Options="options",e.Disconnect="disconnect",e.LoginMyAccount="login-my-account",e.Discover="discover",e.Buildings="buildings",e.Refresh="refresh",e.Settings="settings",e.ShowToolBar="show-tool-bar",e.ShowBuildingPane="show-building-pane",e.ShowStatusBar="show-status-bar",e.ThemeOffice2003="theme-office-2003",e.ThemeOffice2007Blue="theme-office-2007-blue",e.ThemeOffice2007Silver="theme-office-2007-silver",e.ViewRefresh="view-refresh",e.ShowLeftPanel="show-left-panel",e.ZoomIn="zoom-in",e.ZoomOut="zoom-out",e.ResetZoom="reset-zoom",e.BuildingConfigDatabase="building-config-database",e.AllNodesDatabase="all-nodes-database",e.IONameConfig="ioname-config",e.LogDetail="log-detail",e.DatabaseManagement="database-management",e.BackupDatabase="backup-database",e.RestoreDatabase="restore-database",e.ControlGraphics="control-graphics",e.ControlPrograms="control-programs",e.ControlInputs="control-inputs",e.ControlOutputs="control-outputs",e.ControlVariables="control-variables",e.ControlLoops="control-loops",e.ControlSchedules="control-schedules",e.ControlHolidays="control-holidays",e.ControlTrendLogs="control-trend-logs",e.ControlAlarms="control-alarms",e.ControlNetworkPanel="control-network-panel",e.ControlRemotePoints="control-remote-points",e.ControlConfiguration="control-configuration",e.ControlSettings="control-settings",e.StartControl="start-control",e.StopControl="stop-control",e.LoadDescriptors="load-descriptors",e.WriteIntoFlash="write-into-flash",e.GSMConnection="gsm-connection",e.HelpContents="help-contents",e.VersionHistory="version-history",e.AboutSoftware="about-software",e.Help="help",e.OpenDocumentation="open-documentation",e.OpenQuickStart="open-quick-start",e.ReportBug="report-bug",e.SendFeedback="send-feedback",e.ShowAbout="show-about",e.About="about",e.CheckUpdates="check-updates",e))(iz||{});const sz={id:"file",label:"File",type:"submenu",children:[{id:"file-new-project",label:"New Project",type:"item",action:iz.NewProject,icon:"DocumentAdd"},{id:"file-divider-1",type:"divider"},{id:"file-save-as",label:"Save As...",type:"item",action:iz.SaveAs,shortcut:"Ctrl+S",icon:"SaveAs"},{id:"file-load",label:"Load File",type:"item",action:iz.Load,shortcut:"Ctrl+L",icon:"FolderOpen"},{id:"file-import",label:"Import",type:"item",action:iz.Import,shortcut:"Ctrl+I",icon:"ArrowUpload"},{id:"file-divider-2",type:"divider"},{id:"file-exit",label:"Exit",type:"item",action:iz.Exit,shortcut:"Alt+F4",icon:"SignOut"}]},lz={id:"view",label:"View",type:"submenu",children:[{id:"view-toolbars",label:"Toolbars and Docking Windows",type:"submenu",icon:"Toolbox",children:[{id:"view-toolbar",label:"Tool Bar",type:"checkbox",action:iz.ShowToolBar,checked:!0,icon:"ToolbarSettings"},{id:"view-building-pane",label:"Building Pane",type:"checkbox",action:iz.ShowBuildingPane,checked:!0,icon:"PanelLeft"}]},{id:"view-status-bar",label:"Status Bar",type:"checkbox",action:iz.ShowStatusBar,checked:!0,icon:"StatusBar"},{id:"view-divider-1",type:"divider"},{id:"view-application-look",label:"Application Look",type:"submenu",icon:"ColorBackground",children:[{id:"view-theme-office-2003",label:"Office 2003",type:"item",action:iz.ThemeOffice2003,icon:"Color"},{id:"view-theme-office-2007",label:"Office 2007",type:"submenu",icon:"ColorBackground",children:[{id:"view-theme-office-2007-blue",label:"Blue Style",type:"item",action:iz.ThemeOffice2007Blue,icon:"Color"},{id:"view-theme-office-2007-silver",label:"Silver Style",type:"item",action:iz.ThemeOffice2007Silver,icon:"Color"}]}]},{id:"view-divider-2",type:"divider"},{id:"view-refresh",label:"Refresh",type:"item",action:iz.ViewRefresh,shortcut:"F2",icon:"ArrowClockwise"}]},cz=[sz,{id:"tools",label:"Tools",type:"submenu",children:[{id:"tools-connect",label:"Connect",type:"item",action:iz.Connect,shortcut:"Ctrl+C",icon:"PlugConnected"},{id:"tools-divider-1",type:"divider"},{id:"tools-change-modbus-id",label:"Change Modbus ID",type:"item",action:iz.ChangeModbusId,icon:"NumberSymbol"},{id:"tools-divider-2",type:"divider"},{id:"tools-bacnet-tool",label:"Bacnet Tool",type:"item",action:iz.BacnetTool,icon:"Wrench"},{id:"tools-modbus-poll",label:"Modbus Poll",type:"item",action:iz.ModbusPoll,icon:"ChartMultiple"},{id:"tools-register-viewer",label:"Register Viewer",type:"item",action:iz.RegisterViewer,icon:"Table"},{id:"tools-modbus-register-v2",label:"Modbus Register v2 (beta)",type:"item",action:iz.ModbusRegisterV2,icon:"TableSimple"},{id:"tools-registerlist-database-folder",label:"RegisterList Database Folder",type:"item",action:iz.RegisterListDatabaseFolder,icon:"FolderDatabase"},{id:"tools-divider-3",type:"divider"},{id:"tools-load-firmware-single",label:"Load firmware for a single device",type:"item",action:iz.LoadFirmwareSingle,shortcut:"Ctrl+F2",icon:"ArrowUpload"},{id:"tools-load-firmware-many",label:"Load firmware for many devices",type:"item",action:iz.LoadFirmwareMany,shortcut:"Ctrl+M",icon:"ArrowUploadMultiple",disabled:!0},{id:"tools-flash-sn",label:"Flash SN",type:"item",action:iz.FlashSN,icon:"Flash"},{id:"tools-divider-4",type:"divider"},{id:"tools-psychrometry",label:"Psychrometry",type:"item",action:iz.Psychrometry,icon:"Temperature"},{id:"tools-ph-chart",label:"PH Chart",type:"item",action:iz.PhChart,icon:"ChartLine"},{id:"tools-divider-5",type:"divider"},{id:"tools-options",label:"Options",type:"item",action:iz.Options,icon:"Settings"},{id:"tools-divider-6",type:"divider"},{id:"tools-disconnect",label:"Disconnect the serial port",type:"item",action:iz.Disconnect,shortcut:"Ctrl+D",icon:"PlugDisconnected"},{id:"tools-login-my-account",label:"Login my account",type:"item",action:iz.LoginMyAccount,icon:"PersonAccounts"}]},lz,{id:"database",label:"Database",type:"submenu",children:[{id:"db-building-config",label:"Building Config Database",type:"item",action:iz.BuildingConfigDatabase,icon:"BuildingMultiple"},{id:"db-all-nodes",label:"All Nodes...",type:"item",action:iz.AllNodesDatabase,shortcut:"Ctrl+N",icon:"Database"},{id:"db-divider-1",type:"divider"},{id:"db-ioname-config",label:"IONameConfig",type:"item",action:iz.IONameConfig,icon:"Settings"},{id:"db-log-detail",label:"LogDetail",type:"item",action:iz.LogDetail,icon:"DocumentText"}]},{id:"control",label:"Control",type:"submenu",children:[{id:"control-graphics",label:"Graphics",type:"item",action:iz.ControlGraphics,shortcut:"Alt+G",icon:"Image"},{id:"control-programs",label:"Programs",type:"item",action:iz.ControlPrograms,shortcut:"Alt+P",icon:"DeveloperBoard"},{id:"control-inputs",label:"Inputs",type:"item",action:iz.ControlInputs,shortcut:"Alt+I",icon:"Wrench"},{id:"control-outputs",label:"Outputs",type:"item",action:iz.ControlOutputs,shortcut:"Alt+O",icon:"Options"},{id:"control-variables",label:"Variables",type:"item",action:iz.ControlVariables,shortcut:"Alt+V",icon:"CircleMultipleConcentric"},{id:"control-loops",label:"Loops",type:"item",action:iz.ControlLoops,shortcut:"Alt+L",icon:"Flow"},{id:"control-schedules",label:"Schedules",type:"item",action:iz.ControlSchedules,shortcut:"Alt+S",icon:"Calendar"},{id:"control-holidays",label:"Holidays",type:"item",action:iz.ControlHolidays,shortcut:"Alt+H",icon:"CalendarDate"},{id:"control-trend-logs",label:"Trend Logs",type:"item",action:iz.ControlTrendLogs,shortcut:"Alt+T",icon:"ChartMultiple"},{id:"control-alarms",label:"Alarms",type:"item",action:iz.ControlAlarms,shortcut:"Alt+A",icon:"Alert"},{id:"control-network-panel",label:"Network and Panel",type:"item",action:iz.ControlNetworkPanel,shortcut:"Alt+N",icon:"NetworkCheck"},{id:"control-remote-points",label:"Remote Points",type:"item",action:iz.ControlRemotePoints,icon:"List"},{id:"control-divider-1",type:"divider"},{id:"control-configuration",label:"Configuration",type:"item",action:iz.ControlConfiguration,shortcut:"Alt+E",icon:"Settings"}]},{id:"misc",label:"Miscellaneous",type:"submenu",children:[{id:"misc-load-descriptors",label:"Load Descriptors",type:"item",action:iz.LoadDescriptors,icon:"DocumentText"},{id:"misc-write-flash",label:"Write into flash",type:"item",action:iz.WriteIntoFlash,icon:"Save"},{id:"misc-gsm-connection",label:"GSM Connection",type:"item",action:iz.GSMConnection,icon:"DataConnection"}]},{id:"help",label:"Help",type:"submenu",children:[{id:"help-contents",label:"Contents",type:"item",action:iz.HelpContents,icon:"Book"},{id:"help-version-history",label:"Version History",type:"item",action:iz.VersionHistory,icon:"History"},{id:"help-about-software",label:"About Software",type:"item",action:iz.AboutSoftware,icon:"Info"},{id:"help-check-updates",label:"Check For Updates",type:"item",action:iz.CheckUpdates,icon:"ArrowDownload"},{id:"help-divider-1",type:"divider"},{id:"help-documentation",label:"Documentation",type:"item",action:iz.OpenDocumentation,shortcut:"F1",icon:"Book"},{id:"help-quick-start",label:"Quick Start Guide",type:"item",action:iz.OpenQuickStart,icon:"Lightbulb"},{id:"help-divider-2",type:"divider"},{id:"help-report-bug",label:"Report a Bug",type:"item",action:iz.ReportBug,icon:"Bug"},{id:"help-feedback",label:"Send Feedback",type:"item",action:iz.SendFeedback,icon:"Comment"}]},{id:"system",label:"System",type:"submenu",children:[{id:"system-sync",label:"Sync Configuration",type:"item",action:()=>window.location.hash="#/t3000/system/sync",icon:"ArrowSync"},{id:"system-settings",label:"Application Settings",type:"item",action:()=>window.location.hash="#/t3000/settings",icon:"Settings"},{id:"system-divider-1",type:"divider"},{id:"system-files",label:"File Browser",type:"item",action:()=>window.location.hash="#/t3000/develop/files",icon:"FolderOpen"},{id:"system-database",label:"Database",type:"item",action:()=>window.location.hash="#/t3000/develop/database",icon:"Database"},{id:"system-transport",label:"Transport Tester",type:"item",action:()=>window.location.hash="#/t3000/develop/transport",icon:"PlugConnected"},{id:"system-logs",label:"T3000 Logs",type:"item",action:()=>window.location.hash="#/t3000/develop/logs",icon:"DocumentText"}]}],dz=[{id:"toolbar-dashboard",icon:qd,label:"Dashboard",tooltip:"Dashboard",action:"openWindow",windowId:0,route:"/t3000/dashboard"},{id:"toolbar-inputs",icon:pf,label:"Inputs",tooltip:"Inputs (Alt+I)",action:"openWindow",windowId:1,route:"/t3000/inputs",shortcut:"Alt+I"},{id:"toolbar-outputs",icon:zu,label:"Outputs",tooltip:"Outputs (Alt+O)",action:"openWindow",windowId:2,route:"/t3000/outputs",shortcut:"Alt+O"},{id:"toolbar-variables",icon:kd,label:"Variables",tooltip:"Variables (Alt+V)",action:"openWindow",windowId:3,route:"/t3000/variables",shortcut:"Alt+V"},{id:"toolbar-programs",icon:Vd,label:"Programs",tooltip:"Programs (Alt+P)",action:"openWindow",windowId:4,route:"/t3000/programs",shortcut:"Alt+P"},{id:"toolbar-pidloops",icon:ou,label:"PID Loops",tooltip:"PID Loops (Alt+L)",action:"openWindow",windowId:7,route:"/t3000/pidloops",shortcut:"Alt+L"},{id:"toolbar-graphics",icon:gu,label:"Graphics",tooltip:"Graphics Screens (Alt+G)",action:"openWindow",windowId:8,route:"/t3000/graphics",shortcut:"Alt+G"},{id:"toolbar-schedules",icon:rd,label:"Schedules",tooltip:"Weekly Schedules (Alt+S)",action:"openWindow",windowId:5,route:"/t3000/schedules",shortcut:"Alt+S"},{id:"toolbar-holidays",icon:od,label:"Holidays",tooltip:"Annual Routines (Alt+H)",action:"openWindow",windowId:6,route:"/t3000/holidays",shortcut:"Alt+H"},{id:"toolbar-trends",icon:ad,label:"Trend Logs",tooltip:"Trend Logs (Alt+T)",action:"openWindow",windowId:9,route:"/t3000/trendlogs",shortcut:"Alt+T"},{id:"toolbar-alarms",icon:Bc,label:"Alarms",tooltip:"Alarm Log (Alt+A)",action:"openWindow",windowId:10,route:"/t3000/alarms",shortcut:"Alt+A"},{id:"toolbar-array",icon:yu,label:"Array",tooltip:"Array Data",action:"openWindow",windowId:14,route:"/t3000/array"},{id:"toolbar-network",icon:_u,label:"Network",tooltip:"Network Points (Alt+N)",action:"openWindow",windowId:13,route:"/t3000/network",shortcut:"Alt+N"},{id:"toolbar-settings",icon:Xu,label:"Settings",tooltip:"Device Settings (Alt+E)",action:"openWindow",windowId:11,route:"/t3000/settings",shortcut:"Alt+E"},{id:"toolbar-discover",icon:Zu,label:"Discover",tooltip:"Discover Devices",action:"openWindow",windowId:15,route:"/t3000/discover"},{id:"toolbar-buildings",icon:ed,label:"Buildings",tooltip:"Manage Buildings",action:"openWindow",windowId:16,route:"/t3000/buildings"},{id:"toolbar-refresh",icon:Pc,label:"Refresh",tooltip:"Refresh (F5)",action:"refresh",shortcut:"F5"}],uz=e=>{let t;const r=new Set,o=(e,o)=>{const a="function"==typeof e?e(t):e;if(!Object.is(a,t)){const e=t;t=(null!=o?o:"object"!=typeof a||null===a)?a:Object.assign({},t,a),r.forEach((r=>r(t,e)))}},a=()=>t,n={setState:o,getState:a,getInitialState:()=>i,subscribe:e=>(r.add(e),()=>r.delete(e)),destroy:()=>{r.clear()}},i=t=e(o,a,n);return n};var fz={exports:{}},pz={},hz=s.exports,gz=mm.exports;var vz="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},mz=gz.useSyncExternalStore,bz=hz.useRef,xz=hz.useEffect,yz=hz.useMemo,wz=hz.useDebugValue;pz.useSyncExternalStoreWithSelector=function(e,t,r,o,a){var n=bz(null);if(null===n.current){var i={hasValue:!1,value:null};n.current=i}else i=n.current;n=yz((function(){function e(e){if(!l){if(l=!0,n=e,e=o(e),void 0!==a&&i.hasValue){var t=i.value;if(a(t,e))return s=t}return s=e}if(t=s,vz(n,e))return t;var r=o(e);return void 0!==a&&a(t,r)?(n=e,t):(n=e,s=r)}var n,s,l=!1,c=void 0===r?null:r;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]}),[t,r,o,a]);var s=mz(e,n[0],n[1]);return xz((function(){i.hasValue=!0,i.value=s}),[s]),wz(s),s},fz.exports=pz;var kz=fz.exports;const{useDebugValue:Bz}=f,{useSyncExternalStoreWithSelector:Sz}=kz;const _z=e=>e;const Nz=e=>{const t="function"==typeof e?(e=>e?uz(e):uz)(e):e,r=(e,r)=>function(e,t=_z,r){const o=Sz(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,r);return Bz(o),o}(t,e,r);return Object.assign(r,t),r},zz=e=>e?Nz(e):Nz,jz=new Map,Tz=e=>{const t=jz.get(e);return t?Object.fromEntries(Object.entries(t.stores).map((([e,t])=>[e,t.getState()]))):{}},Cz=(e,t={})=>(r,o,a)=>{const{enabled:n,anonymousActionType:i,store:s,...l}=t;let c;try{c=null!=n&&n&&window.__REDUX_DEVTOOLS_EXTENSION__}catch(g){}if(!c)return e(r,o,a);const{connection:d,...u}=((e,t,r)=>{if(void 0===e)return{type:"untracked",connection:t.connect(r)};const o=jz.get(r.name);if(o)return{type:"tracked",store:e,...o};const a={connection:t.connect(r),stores:{}};return jz.set(r.name,a),{type:"tracked",store:e,...a}})(s,c,l);let f=!0;a.setState=(e,t,n)=>{const c=r(e,t);if(!f)return c;const u=void 0===n?{type:i||"anonymous"}:"string"==typeof n?{type:n}:n;return void 0===s?(null==d||d.send(u,o()),c):(null==d||d.send({...u,type:`${s}/${u.type}`},{...Tz(l.name),[s]:a.getState()}),c)};const p=(...e)=>{const t=f;f=!1,r(...e),f=t},h=e(a.setState,o,a);if("untracked"===u.type?null==d||d.init(h):(u.stores[u.store]=a,null==d||d.init(Object.fromEntries(Object.entries(u.stores).map((([e,t])=>[e,e===u.store?h:t.getState()]))))),a.dispatchFromDevtools&&"function"==typeof a.dispatch){const e=a.dispatch;a.dispatch=(...t)=>{e(...t)}}return d.subscribe((e=>{var t;switch(e.type){case"ACTION":if("string"!=typeof e.payload)return;return Dz(e.payload,(e=>{if("__setState"!==e.type)a.dispatchFromDevtools&&"function"==typeof a.dispatch&&a.dispatch(e);else{if(void 0===s)return void p(e.state);Object.keys(e.state).length;const t=e.state[s];if(null==t)return;JSON.stringify(a.getState())!==JSON.stringify(t)&&p(t)}}));case"DISPATCH":switch(e.payload.type){case"RESET":return p(h),void 0===s?null==d?void 0:d.init(a.getState()):null==d?void 0:d.init(Tz(l.name));case"COMMIT":return void 0===s?void(null==d||d.init(a.getState())):null==d?void 0:d.init(Tz(l.name));case"ROLLBACK":return Dz(e.state,(e=>{if(void 0===s)return p(e),void(null==d||d.init(a.getState()));p(e[s]),null==d||d.init(Tz(l.name))}));case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return Dz(e.state,(e=>{void 0!==s?JSON.stringify(a.getState())!==JSON.stringify(e[s])&&p(e[s]):p(e)}));case"IMPORT_STATE":{const{nextLiftedState:r}=e.payload,o=null==(t=r.computedStates.slice(-1)[0])?void 0:t.state;if(!o)return;return p(void 0===s?o:o[s]),void(null==d||d.send(null,r))}case"PAUSE_RECORDING":return f=!f}return}})),h},Dz=(e,t)=>{let r;try{r=JSON.parse(e)}catch($P){}void 0!==r&&t(r)};function Pz(e,t){let r;try{r=e()}catch(o){return}return{getItem:e=>{var o;const a=e=>null===e?null:JSON.parse(e,null==t?void 0:t.reviver),n=null!=(o=r.getItem(e))?o:null;return n instanceof Promise?n.then(a):a(n)},setItem:(e,o)=>r.setItem(e,JSON.stringify(o,null==t?void 0:t.replacer)),removeItem:e=>r.removeItem(e)}}const Ez=e=>t=>{try{const r=e(t);return r instanceof Promise?r:{then:e=>Ez(e)(r),catch(e){return this}}}catch($P){return{then(e){return this},catch:t=>Ez(t)($P)}}},Az=(e,t)=>"getStorage"in t||"serialize"in t||"deserialize"in t?((e,t)=>(r,o,a)=>{let n={getStorage:()=>localStorage,serialize:JSON.stringify,deserialize:JSON.parse,partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},i=!1;const s=new Set,l=new Set;let c;try{c=n.getStorage()}catch(v){}if(!c)return e(((...e)=>{r(...e)}),o,a);const d=Ez(n.serialize),u=()=>{const e=n.partialize({...o()});let t;const r=d({state:e,version:n.version}).then((e=>c.setItem(n.name,e))).catch((e=>{t=e}));if(t)throw t;return r},f=a.setState;a.setState=(e,t)=>{f(e,t),u()};const p=e(((...e)=>{r(...e),u()}),o,a);let h;const g=()=>{var e;if(!c)return;i=!1,s.forEach((e=>e(o())));const t=(null==(e=n.onRehydrateStorage)?void 0:e.call(n,o()))||void 0;return Ez(c.getItem.bind(c))(n.name).then((e=>{if(e)return n.deserialize(e)})).then((e=>{if(e){if("number"!=typeof e.version||e.version===n.version)return e.state;if(n.migrate)return n.migrate(e.state,e.version)}})).then((e=>{var t;return h=n.merge(e,null!=(t=o())?t:p),r(h,!0),u()})).then((()=>{null==t||t(h,void 0),i=!0,l.forEach((e=>e(h)))})).catch((e=>{null==t||t(void 0,e)}))};return a.persist={setOptions:e=>{n={...n,...e},e.getStorage&&(c=e.getStorage())},clearStorage:()=>{null==c||c.removeItem(n.name)},getOptions:()=>n,rehydrate:()=>g(),hasHydrated:()=>i,onHydrate:e=>(s.add(e),()=>{s.delete(e)}),onFinishHydration:e=>(l.add(e),()=>{l.delete(e)})},g(),h||p})(e,t):((e,t)=>(r,o,a)=>{let n={storage:Pz((()=>localStorage)),partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},i=!1;const s=new Set,l=new Set;let c=n.storage;if(!c)return e(((...e)=>{r(...e)}),o,a);const d=()=>{const e=n.partialize({...o()});return c.setItem(n.name,{state:e,version:n.version})},u=a.setState;a.setState=(e,t)=>{u(e,t),d()};const f=e(((...e)=>{r(...e),d()}),o,a);let p;a.getInitialState=()=>f;const h=()=>{var e,t;if(!c)return;i=!1,s.forEach((e=>{var t;return e(null!=(t=o())?t:f)}));const a=(null==(t=n.onRehydrateStorage)?void 0:t.call(n,null!=(e=o())?e:f))||void 0;return Ez(c.getItem.bind(c))(n.name).then((e=>{if(e){if("number"!=typeof e.version||e.version===n.version)return[!1,e.state];if(n.migrate)return[!0,n.migrate(e.state,e.version)]}return[!1,void 0]})).then((e=>{var t;const[a,i]=e;if(p=n.merge(i,null!=(t=o())?t:f),r(p,!0),a)return d()})).then((()=>{null==a||a(p,void 0),p=o(),i=!0,l.forEach((e=>e(p)))})).catch((e=>{null==a||a(void 0,e)}))};return a.persist={setOptions:e=>{n={...n,...e},e.storage&&(c=e.storage)},clearStorage:()=>{null==c||c.removeItem(n.name)},getOptions:()=>n,rehydrate:()=>h(),hasHydrated:()=>i,onHydrate:e=>(s.add(e),()=>{s.delete(e)}),onFinishHydration:e=>(l.add(e),()=>{l.delete(e)})},n.skipHydration||h(),p||f})(e,t);var Fz=(e=>(e.Online="online",e.Offline="offline",e.Unknown="unknown",e))(Fz||{});zl({10:"#F5F5F5",20:"#FAFAFA",30:"#EEEEEE",40:"#E0E0E0",50:"#BDBDBD",60:"#9E9E9E",70:"#757575",80:"#616161",90:"#424242",100:"#212121",110:"#333333",120:"#0078D4",130:"#107C10",140:"#FF8C00",150:"#D13438",160:"#FFFFFF"});const Rz=(()=>{if("undefined"!=typeof window){return`${window.location.protocol}//${window.location.hostname}:9103`}return"http://localhost:9103"})(),Iz={baseUrl:"/docs",githubUrl:"https://github.com/temcocontrols/T3000Webview/blob/main/docs",localPath:"/docs"},Mz=0;function Lz(e){return{...e,nameShowOnTree:e.showLabelName||e.productName||`Device ${e.serialNumber}`}}class Oz{static async getAllDevices(){try{const e=await fetch(`${this.baseUrl}/devices`);if(!e.ok){const t=await e.text();throw new Error(`HTTP ${e.status}: ${t||e.statusText}`)}const t=e.headers.get("content-type");if(!t||!t.includes("application/json")){const r=await e.text();throw new Error(`Expected JSON response but got ${t||"unknown"}: ${r.substring(0,100)}`)}const r=await e.json(),o=r.devices.map(Lz);return{...r,devices:o}}catch(e){throw e}}static async getDeviceById(e){try{const t=await fetch(`${this.baseUrl}/devices/${e}`);if(!t.ok)throw new Error(`HTTP error! status: ${t.status}`);return Lz(await t.json())}catch(t){throw t}}static async createDevice(e){try{const t=await fetch(`${this.baseUrl}/devices`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!t.ok)throw new Error(`HTTP error! status: ${t.status}`);return await t.json()}catch(t){throw t}}static async updateDevice(e,t){var r;try{const o=await fetch(`${this.baseUrl}/devices/${e}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!o.ok)throw new Error(`HTTP error! status: ${o.status}`);const a=await o.json();return Lz(null!=(r=a.device)?r:a)}catch(o){throw o}}static async deleteDevice(e){try{const t=await fetch(`${this.baseUrl}/devices/${e}`,{method:"DELETE"});if(!t.ok)throw new Error(`HTTP error! status: ${t.status}`)}catch(t){throw t}}static async scanDevices(e={}){try{const t=new URLSearchParams;e.protocol&&t.append("protocol",e.protocol),e.ipRange&&t.append("ipRange",e.ipRange),e.comPort&&t.append("comPort",e.comPort.toString()),e.timeout&&t.append("timeout",e.timeout.toString());const r=await fetch(`${this.baseUrl}/devices/scan?${t}`);if(!r.ok)throw new Error(`HTTP error! status: ${r.status}`);return await r.json()}catch(t){throw t}}static async checkDeviceStatus(e){try{const t=await fetch(`${this.baseUrl}/devices/${e}/status`);if(!t.ok)throw new Error(`HTTP error! status: ${t.status}`);return await t.json()}catch(t){throw t}}static async connectDevice(e){try{const t=await fetch(`${this.baseUrl}/devices/${e}/connect`,{method:"POST"});if(!t.ok)throw new Error(`HTTP error! status: ${t.status}`)}catch(t){throw t}}static async disconnectDevice(e){try{const t=await fetch(`${this.baseUrl}/devices/${e}/disconnect`,{method:"POST"});if(!t.ok)throw new Error(`HTTP error! status: ${t.status}`)}catch(t){throw t}}}o(Oz,"baseUrl",`${Rz}/api/t3_device`);const qz={selectedDevice:null,devices:[],isLoading:!1,error:null},Hz=zz()(Cz(Az(((e,t)=>({...qz,setSelectedDevice:t=>{e({selectedDevice:t,error:null})},selectDeviceById:r=>{const o=t().devices.find((e=>e.id===r));e(o?{selectedDevice:o,error:null}:{error:`Device with ID ${r} not found`})},clearSelection:()=>{e({selectedDevice:null})},loadDevices:async()=>{e({isLoading:!0,error:null});try{const t=await Oz.getAllDevices();e({devices:t.data||[],isLoading:!1,error:null})}catch(t){e({isLoading:!1,error:t instanceof Error?t.message:"Failed to load devices"})}},addDevice:t=>{e((e=>({devices:[...e.devices,t]})))},updateDevice:(t,r)=>{e((e=>{var o;return{devices:e.devices.map((e=>e.id===t?{...e,...r}:e)),selectedDevice:(null==(o=e.selectedDevice)?void 0:o.id)===t?{...e.selectedDevice,...r}:e.selectedDevice}}))},removeDevice:t=>{e((e=>{var r;return{devices:e.devices.filter((e=>e.id!==t)),selectedDevice:(null==(r=e.selectedDevice)?void 0:r.id)===t?null:e.selectedDevice}}))},getDeviceById:e=>t().devices.find((t=>t.id===e)),isDeviceOnline:e=>{var r;const o=t().getDeviceById(e);return(null==(r=null==o?void 0:o.deviceInfo)?void 0:r.status)===Fz.Online},getDeviceCount:()=>t().devices.length,reset:()=>{e(qz)}})),{name:"t3000-device-store",partialize:e=>({selectedDevice:e.selectedDevice})}),{name:"DeviceStore"})),Vz=e=>e.selectedDevice,Zz=e=>e.devices,$z=e=>e.isLoading,Wz=e=>e.error,Uz=e=>null!==e.selectedDevice,Gz=e=>e.devices.filter((e=>{var t;return(null==(t=e.deviceInfo)?void 0:t.status)===Fz.Online})),Xz=e=>e.devices.filter((e=>{var t;return(null==(t=e.deviceInfo)?void 0:t.status)!==Fz.Online}));function Kz(e,t){const r=e.mainBuildingName||e.buildingName||"",o=t.mainBuildingName||t.buildingName||"";if(r!==o)return r.localeCompare(o);const a="(Unknown)"===e.nameShowOnTree||"Unknown"===e.nameShowOnTree;return a!==("(Unknown)"===t.nameShowOnTree||"Unknown"===t.nameShowOnTree)?a?1:-1:e.nameShowOnTree.localeCompare(t.nameShowOnTree)}function Jz(e){if(null==e)return"Devices3";return{1:"Thermostat",26:"Thermostat",27:"Thermostat",51:"Thermostat",2:"LightBulb",3:"LightBulb",4:"LightBulb",5:"Box",34:"Box",35:"Box",6:"Plug",19:"Plug",20:"Plug",21:"Plug",22:"Plug",23:"Plug",25:"Plug",29:"Plug",30:"Plug",31:"Plug",48:"Plug",28:"WifiEthernet",10:"Server",0:"Devices3"}[e]||"Devices3"}function Yz(e){return e.includes("BACnet")?"CityNext":e.includes("Modbus")?"Processing":"Home"}function Qz(e,t,r,o,a){var n;const i=`subnet-${a}-${e}`,s=(null==(n=t[0])?void 0:n.protocol)||"Unknown",l=t.map((e=>function(e,t,r){const o=`device-${e.serialNumber}`;return{id:o,type:"device",label:e.nameShowOnTree,icon:Jz(e.productClassId),data:e,status:r.get(e.serialNumber)||e.status||"unknown",expanded:t.has(o),level:2,children:void 0}}(e,r,o)));return{id:i,type:"building",label:`${e} (${t.length})`,icon:Yz(s),children:l,expanded:r.has(i),level:1}}function ej(e,t,r){if(!e||0===e.length)return[];const o=function(e){const t=new Map;return e.forEach((e=>{const r=e.mainBuildingName||"Default_Building",o="Local View";t.has(r)||t.set(r,new Map);const a=t.get(r);a.has(o)||a.set(o,[]),a.get(o).push(e)})),t.forEach((e=>{e.forEach((e=>{e.sort(Kz)}))})),t}(e),a=[];return Array.from(o.keys()).sort().forEach((e=>{const n=function(e,t,r,o){const a=`building-${e}`,n=[];Array.from(t.keys()).sort().forEach((a=>{const i=Qz(a,t.get(a),r,o,e);n.push(i)}));const i=Array.from(t.values()).reduce(((e,t)=>e+t.length),0);return{id:a,type:"building",label:`${e} (${i})`,icon:"Home",children:n,expanded:r.has(a),level:0}}(e,o.get(e),t,r);a.push(n)})),a}const tj=zz((e=>({rxCount:0,txCount:0,buildingName:"",deviceName:"",protocol:"",connectionType:"",message:"Ready",messageType:"info",incrementRx:()=>e((e=>({rxCount:e.rxCount+1}))),incrementTx:()=>e((e=>({txCount:e.txCount+1}))),setRxTx:(t,r)=>e({rxCount:t,txCount:r}),setConnection:(t,r)=>e({buildingName:t,deviceName:r}),setProtocol:(t,r)=>e({protocol:t,connectionType:r}),setMessage:(t,r="info")=>e({message:t,messageType:r}),reset:()=>e({rxCount:0,txCount:0,buildingName:"",deviceName:"",protocol:"",connectionType:"",message:"Ready",messageType:"info"})})));var rj=(e=>(e[e.GET_PANEL_DATA=0]="GET_PANEL_DATA",e[e.GET_INITIAL_DATA=1]="GET_INITIAL_DATA",e[e.SAVE_GRAPHIC_DATA=2]="SAVE_GRAPHIC_DATA",e[e.UPDATE_ENTRY=3]="UPDATE_ENTRY",e[e.GET_PANELS_LIST=4]="GET_PANELS_LIST",e[e.GET_PANEL_RANGE_INFO=5]="GET_PANEL_RANGE_INFO",e[e.GET_ENTRIES=6]="GET_ENTRIES",e[e.LOAD_GRAPHIC_ENTRY=7]="LOAD_GRAPHIC_ENTRY",e[e.OPEN_ENTRY_EDIT_WINDOW=8]="OPEN_ENTRY_EDIT_WINDOW",e[e.SAVE_IMAGE=9]="SAVE_IMAGE",e[e.SAVE_LIBRAY_DATA=10]="SAVE_LIBRAY_DATA",e[e.DELETE_IMAGE=11]="DELETE_IMAGE",e[e.GET_SELECTED_DEVICE_INFO=12]="GET_SELECTED_DEVICE_INFO",e[e.BIND_DEVICE=13]="BIND_DEVICE",e[e.SAVE_NEW_LIBRARY_DATA=14]="SAVE_NEW_LIBRARY_DATA",e[e.LOGGING_DATA=15]="LOGGING_DATA",e[e.UPDATE_WEBVIEW_LIST=16]="UPDATE_WEBVIEW_LIST",e[e.GET_WEBVIEW_LIST=17]="GET_WEBVIEW_LIST",e))(rj||{});const oj=0,aj=1,nj=2,ij=3,sj=4,lj=5,cj=6,dj=7,uj=10,fj=15;var pj=(e=>(e.DISCONNECTED="disconnected",e.CONNECTING="connecting",e.CONNECTED="connected",e.RECONNECTING="reconnecting",e.ERROR="error",e))(pj||{});const hj={websocketUrl:"ws://localhost:9104",apiBaseUrl:"http://localhost:9103/api",autoReconnect:!0,reconnectInterval:3e3,timeout:1e4,debug:!1,maxReconnectAttempts:0};var gj=(e=>(e.CONNECTED="connected",e.DISCONNECTED="disconnected",e.ERROR="error",e.MESSAGE="message",e.RECONNECTING="reconnecting",e))(gj||{});class vj{constructor(e,t){o(this,"config"),o(this,"_status",pj.DISCONNECTED),o(this,"_connectedAt"),o(this,"_lastError"),o(this,"_reconnectAttempts",0),o(this,"eventListeners",new Map),this.type=e,this.config={...hj,...t},Object.values(gj).forEach((e=>{this.eventListeners.set(e,new Set)}))}get status(){return this._status}setStatus(e){this._status!==e&&(this._status=e,this.log(`Status changed: ${e}`),e===pj.CONNECTED?(this._connectedAt=new Date,this._reconnectAttempts=0,this.emit(gj.CONNECTED)):e===pj.DISCONNECTED?(this._connectedAt=void 0,this.emit(gj.DISCONNECTED)):e===pj.RECONNECTING&&this.emit(gj.RECONNECTING,{attempts:this._reconnectAttempts}))}setError(e){this._lastError=e instanceof Error?e.message:e,this.log(`Error: ${this._lastError}`,"error"),this.emit(gj.ERROR,{error:this._lastError})}log(e,t="log"){this.config.debug}emit(e,t){const r=this.eventListeners.get(e);r&&r.forEach((e=>{try{e(t)}catch(r){}}))}on(e,t){const r=this.eventListeners.get(e);r&&r.add(t)}off(e,t){const r=this.eventListeners.get(e);r&&r.delete(t)}getInfo(){return{type:this.type,status:this._status,connectedAt:this._connectedAt,lastError:this._lastError,reconnectAttempts:this._reconnectAttempts}}}class mj extends vj{constructor(e){super("websocket",e),o(this,"ws"),o(this,"reconnectTimer"),o(this,"pendingRequests",new Map)}isAvailable(){return"undefined"!=typeof WebSocket}async connect(){if(!this.isAvailable())throw new Error("WebSocket is not available in this environment");if(this._status!==pj.CONNECTED)return this.setStatus(pj.CONNECTING),this.log(`Connecting to ${this.config.websocketUrl}`),new Promise(((e,t)=>{try{this.ws=new WebSocket(this.config.websocketUrl),this.ws.onopen=()=>{this.log("Connected"),this.setStatus(pj.CONNECTED),e()},this.ws.onerror=e=>{const r=`WebSocket error: ${e.type}`;this.setError(r),this.setStatus(pj.ERROR),t(new Error(r)),this.config.autoReconnect&&this.scheduleReconnect()},this.ws.onclose=()=>{this.log("Connection closed"),this.setStatus(pj.DISCONNECTED),this.config.autoReconnect&&this._status!==pj.DISCONNECTED&&this.scheduleReconnect()},this.ws.onmessage=e=>{this.handleMessage(e.data)}}catch(r){const e=r instanceof Error?r.message:String(r);this.setError(e),this.setStatus(pj.ERROR),t(r)}}));this.log("Already connected")}async disconnect(){this.reconnectTimer&&(clearTimeout(this.reconnectTimer),this.reconnectTimer=void 0),this.ws&&(this.ws.close(),this.ws=void 0),this.pendingRequests.forEach((({reject:e,timeout:t})=>{clearTimeout(t),e(new Error("WebSocket disconnected"))})),this.pendingRequests.clear(),this.setStatus(pj.DISCONNECTED),this.log("Disconnected")}async send(e,t){if(this._status!==pj.CONNECTED||!this.ws)throw new Error("WebSocket is not connected");const r=this.generateRequestId(),o={id:r,action:e,...t};return this.log(`Sending message (ID: ${r}, Action: ${e})`),new Promise(((e,t)=>{const a=window.setTimeout((()=>{this.pendingRequests.delete(r),t(new Error(`Request timeout (${this.config.timeout}ms)`))}),this.config.timeout);this.pendingRequests.set(r,{resolve:e,reject:t,timeout:a});try{this.ws.send(JSON.stringify(o))}catch(n){this.pendingRequests.delete(r),clearTimeout(a),t(n)}}))}handleMessage(e){try{const t=JSON.parse(e);if(void 0!==t.error||!1===(null==t?void 0:t.status)){this.log(`Received error response: ${t.error||"Unknown error"}`,"error");const e=this.findMatchingPendingRequest(t);if(e){const r=this.pendingRequests.get(e);clearTimeout(r.timeout),this.pendingRequests.delete(e),r.resolve({success:!1,error:t.error,message:t.message,data:t})}else this.emit("error",t);return}const r=t.id;if(r&&this.pendingRequests.has(r)){const e=this.pendingRequests.get(r);clearTimeout(e.timeout),this.pendingRequests.delete(r),this.log(`Received response (ID: ${r})`),e.resolve({success:!0,data:t.data||t,message:t.message})}else if(t.action){const e=this.findMatchingPendingRequest(t);if(e){const r=this.pendingRequests.get(e);clearTimeout(r.timeout),this.pendingRequests.delete(e),this.log(`Received response (Action: ${t.action})`),r.resolve({success:!0,data:t.data||t,message:t.message})}else this.log(`Received unsolicited message (Action: ${t.action})`),this.emit("message",t)}else"DATA_SERVER_ONLINE"===t.action||-1===t.action?(this.log("T3000 data server is online"),this.emit("message",t)):(this.log("Received unsolicited message"),this.emit("message",t))}catch(t){this.log(`Failed to parse message: ${t}`,"error")}}findMatchingPendingRequest(e){if(void 0!==e.panel_id||void 0!==e.panelId){e.panel_id||e.panelId;for(const[e]of this.pendingRequests)return e}if(void 0!==e.serialNumber||void 0!==e.serial_number)for(const[r]of this.pendingRequests)return r;const t=this.pendingRequests.keys().next();return t.done?void 0:t.value}scheduleReconnect(){if(!this.reconnectTimer){if(this.config.maxReconnectAttempts>0&&this._reconnectAttempts>=this.config.maxReconnectAttempts)return this.log("Max reconnection attempts reached","warn"),void this.setStatus(pj.ERROR);this._reconnectAttempts++,this.setStatus(pj.RECONNECTING),this.log(`Reconnecting in ${this.config.reconnectInterval}ms (attempt ${this._reconnectAttempts})`),this.reconnectTimer=window.setTimeout((async()=>{this.reconnectTimer=void 0;try{await this.connect()}catch(e){this.log(`Reconnection failed: ${e}`,"error")}}),this.config.reconnectInterval)}}generateRequestId(){return`${Date.now()}-${Math.random().toString(36).substr(2,9)}`}}class bj extends vj{constructor(e){super("webview",e),o(this,"messageHandler"),o(this,"pendingRequests",new Map)}isAvailable(){var e,t;return"undefined"!=typeof window&&"function"==typeof(null==(t=null==(e=window.chrome)?void 0:e.webview)?void 0:t.postMessage)}async connect(){if(!this.isAvailable())throw new Error("WebView2 is not available (not running in desktop app)");this.log("Connecting to WebView2"),this.messageHandler=e=>{this.handleMessage(e.data)},window.chrome.webview.addEventListener("message",this.messageHandler),this.setStatus(pj.CONNECTED),this.log("Connected to WebView2")}async disconnect(){var e;this.messageHandler&&(null==(e=window.chrome)?void 0:e.webview)&&(window.chrome.webview.removeEventListener("message",this.messageHandler),this.messageHandler=void 0),this.pendingRequests.forEach((({reject:e,timeout:t})=>{clearTimeout(t),e(new Error("WebView2 transport disconnected"))})),this.pendingRequests.clear(),this.setStatus(pj.DISCONNECTED),this.log("Disconnected from WebView2")}async send(e,t){if(!this.isAvailable())throw new Error("WebView2 is not available");if(this._status!==pj.CONNECTED)throw new Error("WebView2 transport is not connected");const r=this.generateRequestId(),o={id:r,action:e,...t};return this.log(`Sending message to C++ (ID: ${r}, Action: ${e})`),new Promise(((e,t)=>{const a=window.setTimeout((()=>{this.pendingRequests.delete(r),t(new Error(`Request timeout (${this.config.timeout}ms)`))}),this.config.timeout);this.pendingRequests.set(r,{resolve:e,reject:t,timeout:a});try{window.chrome.webview.postMessage(o)}catch(n){this.pendingRequests.delete(r),clearTimeout(a),t(n)}}))}handleMessage(e){try{const t="string"==typeof e?JSON.parse(e):e;if(void 0!==t.error||!1===(null==t?void 0:t.status)){this.log(`Received error response from C++: ${t.error||"Unknown error"}`,"error");const e=this.findMatchingPendingRequest(t);if(e){const r=this.pendingRequests.get(e);clearTimeout(r.timeout),this.pendingRequests.delete(e),r.resolve({success:!1,error:t.error,message:t.message,data:t})}else this.emit("error",t);return}const r=t.id;if(r&&this.pendingRequests.has(r)){const e=this.pendingRequests.get(r);clearTimeout(e.timeout),this.pendingRequests.delete(r),this.log(`Received response from C++ (ID: ${r})`),e.resolve({success:!0,data:t.data||t,message:t.message})}else if(t.action){const e=this.findMatchingPendingRequest(t);if(e){const r=this.pendingRequests.get(e);clearTimeout(r.timeout),this.pendingRequests.delete(e),this.log(`Received response from C++ (Action: ${t.action})`),r.resolve({success:!0,data:t.data||t,message:t.message})}else this.log(`Received unsolicited message from C++ (Action: ${t.action})`),this.emit("message",t)}else"DATA_SERVER_ONLINE"===t.action||-1===t.action?(this.log("T3000 data server is online (C++)"),this.emit("message",t)):(this.log("Received unsolicited message from C++"),this.emit("message",t))}catch(t){this.log(`Failed to parse message from C++: ${t}`,"error")}}findMatchingPendingRequest(e){if(void 0!==e.panel_id||void 0!==e.panelId){e.panel_id||e.panelId;for(const[e]of this.pendingRequests)return e}if(void 0!==e.serialNumber||void 0!==e.serial_number)for(const[r]of this.pendingRequests)return r;const t=this.pendingRequests.keys().next();return t.done?void 0:t.value}generateRequestId(){return`webview-${Date.now()}-${Math.random().toString(36).substr(2,9)}`}}class xj extends vj{constructor(e){super("ffi",e),o(this,"httpClient"),this.httpClient=A.create({baseURL:this.config.apiBaseUrl,timeout:this.config.timeout,headers:{"Content-Type":"application/json"}})}isAvailable(){return!0}async connect(){this.log("Testing FFI connection"),this.setStatus(pj.CONNECTING);try{this.setStatus(pj.CONNECTED),this.log("FFI transport ready")}catch(e){const t=e instanceof Error?e.message:String(e);throw this.setError(t),this.setStatus(pj.ERROR),e}}async disconnect(){this.setStatus(pj.DISCONNECTED),this.log("FFI transport disconnected")}async send(e,t){var r,o,a,n;if(this._status===pj.DISCONNECTED)throw new Error("FFI transport is not connected");this.log(`Sending FFI request (Action: ${e})`);try{const r={action:e,msgId:this.generateMessageId(),from:this.getBrowserType(),...t},o=await this.httpClient.post("/t3000/ffi/call",r);this.log(`Received FFI response (Status: ${o.status})`),this.log(`Raw C++ response: ${JSON.stringify(o.data)}`);const a=o.data;return{success:200===o.status&&!a.error,message:a.message,data:a,timestamp:(new Date).toISOString()}}catch(i){const e=(null==(o=null==(r=i.response)?void 0:r.data)?void 0:o.error)||i.message||"FFI request failed";return this.setError(e),this.log(`FFI request failed: ${e}`,"error"),{success:!1,error:e,message:null==(n=null==(a=i.response)?void 0:a.data)?void 0:n.message}}}getBrowserType(){if("undefined"==typeof navigator)return"Unknown";const e=navigator.userAgent;return e.indexOf("Firefox")>-1?"Firefox":e.indexOf("Chrome")>-1?"Chrome":e.indexOf("Safari")>-1?"Safari":e.indexOf("Edge")>-1?"Edge":"Unknown"}generateMessageId(){return`${Date.now()}-${Math.random().toString(36).substr(2,9)}`}updateBaseUrl(e){this.config.apiBaseUrl=e,this.httpClient.defaults.baseURL=e,this.log(`Updated API base URL to: ${e}`)}updateTimeout(e){this.config.timeout=e,this.httpClient.defaults.timeout=e,this.log(`Updated timeout to: ${e}ms`)}}class yj{constructor(e){o(this,"transport"),o(this,"config"),this.config=e||{}}async autoConnect(){const e=new bj(this.config);if(e.isAvailable())return await this.connectWithTransport(e),"webview";const t=new mj(this.config);if(t.isAvailable())try{return await this.connectWithTransport(t),"websocket"}catch(o){}const r=new xj(this.config);return await this.connectWithTransport(r),"ffi"}async connect(e){let t;switch(e){case"websocket":t=new mj(this.config);break;case"webview":t=new bj(this.config);break;case"ffi":t=new xj(this.config);break;default:throw new Error(`Unknown transport type: ${e}`)}await this.connectWithTransport(t)}async connectWithTransport(e){this.transport&&await this.transport.disconnect(),this.transport=e,await this.transport.connect()}async disconnect(){this.transport&&(await this.transport.disconnect(),this.transport=void 0)}async send(e,t={}){if(!this.transport)throw new Error("Transport not connected. Call connect() or autoConnect() first.");return await this.transport.send(e,t)}async getPanelData(e){return this.send(rj.GET_PANEL_DATA,{panelId:e})}async getInitialData(){return this.send(rj.GET_INITIAL_DATA,{})}async saveGraphicData(e){return this.send(rj.SAVE_GRAPHIC_DATA,{data:e})}async updateEntry(e,t,r){return this.send(rj.UPDATE_ENTRY,{entryType:e,entryIndex:t,data:r})}async getDeviceList(){return this.send(rj.GET_PANELS_LIST,{})}async getPanelRangeInfo(e){return this.send(rj.GET_PANEL_RANGE_INFO,{panelId:e})}async getEntries(e){return this.send(rj.GET_ENTRIES,{panelId:e})}async loadGraphicEntry(e){return this.send(rj.LOAD_GRAPHIC_ENTRY,{entryId:e})}async openEntryEditWindow(e,t){return this.send(rj.OPEN_ENTRY_EDIT_WINDOW,{entryType:e,entryIndex:t})}async saveImage(e){return this.send(rj.SAVE_IMAGE,{data:e})}async saveLibraryData(e){return this.send(rj.SAVE_LIBRAY_DATA,{data:e})}async deleteImage(e){return this.send(rj.DELETE_IMAGE,{imageId:e})}async getSelectedDeviceInfo(e){return this.send(rj.GET_SELECTED_DEVICE_INFO,{serialNumber:e})}async bindDevice(e){return this.send(rj.BIND_DEVICE,{data:e})}async saveNewLibraryData(e){return this.send(rj.SAVE_NEW_LIBRARY_DATA,{data:e})}async getFullDeviceData(e){return this.send(rj.LOGGING_DATA,{serialNumber:e})}async updateDeviceRecords(e,t,r){return this.send(rj.UPDATE_WEBVIEW_LIST,{serialNumber:e,entryType:t,records:r})}async refreshDeviceRecords(e,t,r=0,o=-1){var a;const n=await this.getDeviceList(),i=Array.isArray(n.data)?n.data:(null==(a=n.data)?void 0:a.data)&&Array.isArray(n.data.data)?n.data.data:[];if(!Array.isArray(i)||0===i.length)throw new Error("No devices found. Response data is not an array or is empty.");const s=i.find((t=>t.serial_number===e));if(!s)throw new Error(`Device with serial number ${e} not found in device list`);if(-1===o)switch(t){case 0:case 2:default:o=63;break;case 1:o=127;break;case 3:case 6:case 7:case 10:o=15;break;case 4:o=7;break;case 5:o=3;break;case 8:case 9:case 12:case 15:o=31}return this.send(rj.GET_WEBVIEW_LIST,{panelId:s.panel_number,serialNumber:e,entryType:t,entryIndexStart:r,entryIndexEnd:o,objectinstance:s.object_instance})}async getDeviceSettings(e){var t;const r=await this.getDeviceList(),o=Array.isArray(r.data)?r.data:(null==(t=r.data)?void 0:t.data)&&Array.isArray(r.data.data)?r.data.data:[];if(!Array.isArray(o)||0===o.length)throw new Error("No devices found. Response data is not an array or is empty.");const a=o.find((t=>t.serial_number===e));if(!a)throw new Error(`Device with serial number ${e} not found in device list`);return this.send(rj.GET_WEBVIEW_LIST,{panelId:a.panel_number,serialNumber:e,entryType:98,entryIndexStart:0,entryIndexEnd:0,objectinstance:a.object_instance})}async getDeviceMisc(e){var t;const r=await this.getDeviceList(),o=Array.isArray(r.data)?r.data:(null==(t=r.data)?void 0:t.data)&&Array.isArray(r.data.data)?r.data.data:[];if(!Array.isArray(o)||0===o.length)throw new Error("No devices found.");const a=o.find((t=>t.serial_number===e));if(!a)throw new Error(`Device with serial number ${e} not found in device list`);return this.send(rj.GET_WEBVIEW_LIST,{panelId:a.panel_number,serialNumber:e,entryType:96,entryIndexStart:0,entryIndexEnd:0,objectinstance:a.object_instance})}getTransportInfo(){var e;return(null==(e=this.transport)?void 0:e.getInfo())||null}getCurrentTransportType(){var e;return(null==(e=this.transport)?void 0:e.type)||null}getStatus(){var e;return(null==(e=this.transport)?void 0:e.status)||TransportStatus.DISCONNECTED}isConnected(){var e;return(null==(e=this.transport)?void 0:e.status)===TransportStatus.CONNECTED}on(e,t){var r;null==(r=this.transport)||r.on(e,t)}off(e,t){var r;null==(r=this.transport)||r.off(e,t)}updateConfig(e){var t;if(this.config={...this.config,...e},"ffi"===(null==(t=this.transport)?void 0:t.type)){const t=this.transport;e.apiBaseUrl&&t.updateBaseUrl(e.apiBaseUrl),e.timeout&&t.updateTimeout(e.timeout)}}}class wj{constructor(e){o(this,"axiosInstance"),this.axiosInstance=A.create({baseURL:e.baseURL,timeout:e.timeout||3e4,headers:{"Content-Type":"application/json",...e.headers}}),this.axiosInstance.interceptors.request.use((e=>e),(e=>Promise.reject(e))),this.axiosInstance.interceptors.response.use((e=>e),(e=>(e.response?e.response.data:e.request,Promise.reject(e))))}async get(e,t){return(await this.axiosInstance.get(e,t)).data}async post(e,t,r){return(await this.axiosInstance.post(e,t,r)).data}async put(e,t,r){return(await this.axiosInstance.put(e,t,r)).data}async patch(e,t,r){return(await this.axiosInstance.patch(e,t,r)).data}async delete(e,t){return(await this.axiosInstance.delete(e,t)).data}getInstance(){return this.axiosInstance}}class kj{constructor(e,t){o(this,"httpClient"),o(this,"baseUrl"),this.httpClient=e,this.baseUrl=t}buildUrl(e=""){const t=this.getEndpoint();return e?`${t}/${e}`:t}async getData(e){try{return await this.httpClient.get(e)}catch(t){throw t}}async postData(e,t){try{return await this.httpClient.post(e,t)}catch(r){throw r}}async putData(e,t){try{return await this.httpClient.put(e,t)}catch(r){throw r}}async patchData(e,t){try{return await this.httpClient.patch(e,t)}catch(r){throw r}}async deleteData(e){try{return await this.httpClient.delete(e)}catch(t){throw t}}}class Bj extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/devices`}async get(e){var t;const r=this.buildUrl(String(e));try{return await this.getData(r)}catch(o){if(404===(null==(t=o.response)?void 0:t.status))return null;throw o}}async getAll(){const e=this.buildUrl();return await this.getData(e)}async create(e){const t=this.buildUrl();return await this.postData(t,e)}async update(e,t){const r=this.buildUrl(String(e));await this.putData(r,t)}async delete(e){const t=this.buildUrl(String(e));await this.deleteData(t)}}class Sj extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/inputs`}async get(e,t){return(await this.getAll(e)).find((e=>e.Input_Index===t))||null}async getAll(e){const t=this.buildUrl(String(e));return await this.getData(t)}async getRange(e,t,r){return(await this.getAll(e)).filter((e=>e.Input_Index>=t&&e.Input_Index<t+r))}async getByIndices(e,t){const r=await this.getAll(e),o=new Set(t);return r.filter((e=>o.has(e.Input_Index)))}async update(e,t,r){const o=`${this.buildUrl(String(e))}/${t}/db`;await this.putData(o,r)}async updateDevice(e,t,r){const o=`${this.buildUrl(String(e))}/${t}`;await this.putData(o,r)}async batchSave(e,t){const r=`${this.buildUrl(String(e))}/batch_save`,o={inputs:t};return await this.postData(r,o)}}class _j extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/outputs`}async get(e,t){return(await this.getAll(e)).find((e=>e.Output_Index===t))||null}async getAll(e){const t=this.buildUrl(String(e));return await this.getData(t)}async getRange(e,t,r){return(await this.getAll(e)).filter((e=>e.Output_Index>=t&&e.Output_Index<t+r))}async getByIndices(e,t){const r=await this.getAll(e),o=new Set(t);return r.filter((e=>o.has(e.Output_Index)))}async update(e,t,r){const o=`${this.buildUrl(String(e))}/${t}`;await this.putData(o,r)}async batchSave(e,t){const r=`${this.buildUrl(String(e))}/batch_save`,o={outputs:t};return await this.postData(r,o)}}class Nj extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/variables`}async get(e,t){return(await this.getAll(e)).find((e=>e.Variable_Index===t))||null}async getAll(e){const t=this.buildUrl(String(e));return await this.getData(t)}async getRange(e,t,r){return(await this.getAll(e)).filter((e=>e.Variable_Index>=t&&e.Variable_Index<t+r))}async getByIndices(e,t){const r=await this.getAll(e),o=new Set(t);return r.filter((e=>o.has(e.Variable_Index)))}async update(e,t,r){const o=`${this.buildUrl(String(e))}/${t}`;await this.putData(o,r)}async batchSave(e,t){const r=`${this.buildUrl(String(e))}/batch_save`,o={variables:t};return await this.postData(r,o)}}class zj extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/device/network`}async get(e){var t;const r=this.buildUrl(String(e));try{return await this.getData(r)}catch(o){if(404===(null==(t=o.response)?void 0:t.status))return null;throw o}}async upsert(e,t){const r=this.buildUrl(String(e));await this.putData(r,{...t,SerialNumber:e})}}class jj extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/device/communication`}async get(e){var t;const r=this.buildUrl(String(e));try{return await this.getData(r)}catch(o){if(404===(null==(t=o.response)?void 0:t.status))return null;throw o}}async upsert(e,t){const r=this.buildUrl(String(e));await this.putData(r,{...t,SerialNumber:e})}}class Tj extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/device/protocol`}async get(e){var t;const r=this.buildUrl(String(e));try{return await this.getData(r)}catch(o){if(404===(null==(t=o.response)?void 0:t.status))return null;throw o}}async upsert(e,t){const r=this.buildUrl(String(e));await this.putData(r,{...t,SerialNumber:e})}}class Cj extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/device/time`}async get(e){var t;const r=this.buildUrl(String(e));try{return await this.getData(r)}catch(o){if(404===(null==(t=o.response)?void 0:t.status))return null;throw o}}async upsert(e,t){const r=this.buildUrl(String(e));await this.putData(r,{...t,SerialNumber:e})}}class Dj extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/device/dyndns`}async get(e){var t;const r=this.buildUrl(String(e));try{return await this.getData(r)}catch(o){if(404===(null==(t=o.response)?void 0:t.status))return null;throw o}}async upsert(e,t){const r=this.buildUrl(String(e));await this.putData(r,{...t,SerialNumber:e})}}class Pj extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/device/hardware`}async get(e){var t;const r=this.buildUrl(String(e));try{return await this.getData(r)}catch(o){if(404===(null==(t=o.response)?void 0:t.status))return null;throw o}}async upsert(e,t){const r=this.buildUrl(String(e));await this.putData(r,{...t,SerialNumber:e})}}class Ej extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/device/features`}async get(e){var t;const r=this.buildUrl(String(e));try{return await this.getData(r)}catch(o){if(404===(null==(t=o.response)?void 0:t.status))return null;throw o}}async upsert(e,t){const r=this.buildUrl(String(e));await this.putData(r,{...t,SerialNumber:e})}}class Aj extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/device/wifi`}async get(e){var t;const r=this.buildUrl(String(e));try{return await this.getData(r)}catch(o){if(404===(null==(t=o.response)?void 0:t.status))return null;throw o}}async upsert(e,t){const r=this.buildUrl(String(e));await this.putData(r,{...t,SerialNumber:e})}}class Fj extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/device/misc`}async get(e){var t;const r=this.buildUrl(String(e));try{return await this.getData(r)}catch(o){if(404===(null==(t=o.response)?void 0:t.status))return null;throw o}}async upsert(e,t){const r=this.buildUrl(String(e));await this.putData(r,{...t,SerialNumber:e})}}class Rj extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/device/remote_tstat`}async get(e){var t;const r=this.buildUrl(String(e));try{return await this.getData(r)}catch(o){if(404===(null==(t=o.response)?void 0:t.status))return null;throw o}}async upsert(e,t){const r=this.buildUrl(String(e));await this.putData(r,{...t,SerialNumber:e})}}class Ij extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/programs`}async get(e,t){return(await this.getAll(e)).find((e=>e.Program_ID===t))||null}async getAll(e){const t=this.buildUrl(String(e));return await this.getData(t)}async update(e,t,r){const o=`${this.buildUrl(String(e))}/${t}`;await this.putData(o,r)}async create(e,t){const r=this.buildUrl(String(e));return await this.postData(r,{...t,SerialNumber:e})}async delete(e,t){const r=`${this.buildUrl(String(e))}/${t}`;await this.deleteData(r)}async batchSave(e,t){const r=`${this.buildUrl(String(e))}/batch_save`,o={programs:t};return await this.postData(r,o)}}class Mj extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/schedules`}async get(e,t){var r;const o=this.buildUrl(`${e}/${t}`);try{return await this.getData(o)}catch(a){if(404===(null==(r=a.response)?void 0:r.status))return null;throw a}}async getAll(e){const t=this.buildUrl(String(e));return await this.getData(t)}async update(e,t,r){const o=this.buildUrl(`${e}/${t}`);await this.putData(o,r)}async create(e,t){const r=this.buildUrl(String(e));return await this.postData(r,t)}async delete(e,t){const r=this.buildUrl(`${e}/${t}`);await this.deleteData(r)}async batchSave(e,t){const r=`${this.buildUrl(String(e))}/batch_save`,o={schedules:t};return await this.postData(r,o)}}class Lj extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/pids`}async get(e,t){var r;const o=this.buildUrl(`${e}/${t}`);try{return await this.getData(o)}catch(a){if(404===(null==(r=a.response)?void 0:r.status))return null;throw a}}async getAll(e){const t=this.buildUrl(String(e));return await this.getData(t)}async update(e,t,r){const o=this.buildUrl(`${e}/${t}`);await this.putData(o,r)}async create(e,t){const r=this.buildUrl(String(e));return await this.postData(r,t)}async delete(e,t){const r=this.buildUrl(`${e}/${t}`);await this.deleteData(r)}async batchSave(e,t){const r=`${this.buildUrl(String(e))}/batch_save`,o={pids:t};return await this.postData(r,o)}}class Oj extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/holidays`}async get(e,t){var r;const o=this.buildUrl(`${e}/${t}`);try{return await this.getData(o)}catch(a){if(404===(null==(r=a.response)?void 0:r.status))return null;throw a}}async getAll(e){const t=this.buildUrl(String(e));return await this.getData(t)}async update(e,t,r){const o=this.buildUrl(`${e}/${t}`);await this.putData(o,r)}async create(e,t){const r=this.buildUrl(String(e));return await this.postData(r,t)}async delete(e,t){const r=this.buildUrl(`${e}/${t}`);await this.deleteData(r)}async batchSave(e,t){const r=`${this.buildUrl(String(e))}/batch_save`,o={holidays:t};return await this.postData(r,o)}}class qj extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/arrays`}async get(e,t){var r;const o=this.buildUrl(`${e}/${t}`);try{return await this.getData(o)}catch(a){if(404===(null==(r=a.response)?void 0:r.status))return null;throw a}}async getAll(e){const t=this.buildUrl(String(e));return await this.getData(t)}async update(e,t,r){const o=this.buildUrl(`${e}/${t}`);await this.putData(o,r)}async create(e,t){const r=this.buildUrl(String(e));return await this.postData(r,t)}async delete(e,t){const r=this.buildUrl(`${e}/${t}`);await this.deleteData(r)}}class Hj extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/conversion_tables`}async get(e,t){var r;const o=this.buildUrl(`${e}/${t}`);try{return await this.getData(o)}catch(a){if(404===(null==(r=a.response)?void 0:r.status))return null;throw a}}async getAll(e){const t=this.buildUrl(String(e));return await this.getData(t)}async update(e,t,r){const o=this.buildUrl(`${e}/${t}`);await this.putData(o,r)}async create(e,t){const r=this.buildUrl(String(e));return await this.postData(r,t)}async delete(e,t){const r=this.buildUrl(`${e}/${t}`);await this.deleteData(r)}}class Vj extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/custom_units`}async get(e,t){var r;const o=this.buildUrl(`${e}/${t}`);try{return await this.getData(o)}catch(a){if(404===(null==(r=a.response)?void 0:r.status))return null;throw a}}async getAll(e){const t=this.buildUrl(String(e));return await this.getData(t)}async update(e,t,r){const o=this.buildUrl(`${e}/${t}`);await this.putData(o,r)}async create(e,t){const r=this.buildUrl(String(e));return await this.postData(r,t)}async delete(e,t){const r=this.buildUrl(`${e}/${t}`);await this.deleteData(r)}}class Zj extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/variable_units`}async get(e,t){var r;const o=this.buildUrl(`${e}/${t}`);try{return await this.getData(o)}catch(a){if(404===(null==(r=a.response)?void 0:r.status))return null;throw a}}async getAll(e){const t=this.buildUrl(String(e));return await this.getData(t)}async update(e,t,r){const o=this.buildUrl(`${e}/${t}`);await this.putData(o,r)}async create(e,t){const r=this.buildUrl(String(e));return await this.postData(r,t)}async delete(e,t){const r=this.buildUrl(`${e}/${t}`);await this.deleteData(r)}}class $j extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/graphics`}async get(e,t){var r;const o=this.buildUrl(`${e}/${t}`);try{return await this.getData(o)}catch(a){if(404===(null==(r=a.response)?void 0:r.status))return null;throw a}}async getAll(e){const t=this.buildUrl(String(e));return(await this.getData(t)).data||[]}async update(e,t,r){const o=this.buildUrl(`${e}/${t}`);await this.putData(o,r)}async create(e,t){const r=this.buildUrl(String(e));return await this.postData(r,t)}async delete(e,t){const r=this.buildUrl(`${e}/${t}`);await this.deleteData(r)}async batchSave(e,t){const r=`${this.buildUrl(String(e))}/batch_save`,o={graphics:t};return await this.postData(r,o)}}class Wj extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/graphic_labels`}async get(e,t){var r;const o=this.buildUrl(`${e}/${t}`);try{return await this.getData(o)}catch(a){if(404===(null==(r=a.response)?void 0:r.status))return null;throw a}}async getAll(e){const t=this.buildUrl(String(e));return await this.getData(t)}async update(e,t,r){const o=this.buildUrl(`${e}/${t}`);await this.putData(o,r)}async create(e,t){const r=this.buildUrl(String(e));return await this.postData(r,t)}async delete(e,t){const r=this.buildUrl(`${e}/${t}`);await this.deleteData(r)}}class Uj extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/msv_data`}async get(e,t){var r;const o=this.buildUrl(`${e}/${t}`);try{return await this.getData(o)}catch(a){if(404===(null==(r=a.response)?void 0:r.status))return null;throw a}}async getAll(e){const t=this.buildUrl(String(e));return await this.getData(t)}async update(e,t,r){const o=this.buildUrl(`${e}/${t}`);await this.putData(o,r)}async create(e,t){const r=this.buildUrl(String(e));return await this.postData(r,t)}async delete(e,t){const r=this.buildUrl(`${e}/${t}`);await this.deleteData(r)}}class Gj extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/alarms`}async get(e,t){var r;const o=this.buildUrl(`${e}/${t}`);try{return await this.getData(o)}catch(a){if(404===(null==(r=a.response)?void 0:r.status))return null;throw a}}async getAll(e){const t=this.buildUrl(String(e));return await this.getData(t)}async update(e,t,r){const o=this.buildUrl(`${e}/${t}`);await this.putData(o,r)}async create(e,t){const r=this.buildUrl(String(e));return await this.postData(r,t)}async delete(e,t){const r=this.buildUrl(`${e}/${t}`);await this.deleteData(r)}}class Xj extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/alarm_settings`}async get(e,t){var r;const o=this.buildUrl(`${e}/${t}`);try{return await this.getData(o)}catch(a){if(404===(null==(r=a.response)?void 0:r.status))return null;throw a}}async getAll(e){const t=this.buildUrl(String(e));return await this.getData(t)}async update(e,t,r){const o=this.buildUrl(`${e}/${t}`);await this.putData(o,r)}async create(e,t){const r=this.buildUrl(String(e));return await this.postData(r,t)}async delete(e,t){const r=this.buildUrl(`${e}/${t}`);await this.deleteData(r)}}class Kj extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/email_alarms`}async get(e,t){var r;const o=this.buildUrl(`${e}/${t}`);try{return await this.getData(o)}catch(a){if(404===(null==(r=a.response)?void 0:r.status))return null;throw a}}async getAll(e){const t=this.buildUrl(String(e));return await this.getData(t)}async update(e,t,r){const o=this.buildUrl(`${e}/${t}`);await this.putData(o,r)}async create(e,t){const r=this.buildUrl(String(e));return await this.postData(r,t)}async delete(e,t){const r=this.buildUrl(`${e}/${t}`);await this.deleteData(r)}}class Jj extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/monitor_data`}async get(e,t){var r;const o=this.buildUrl(`${e}/${t}`);try{return await this.getData(o)}catch(a){if(404===(null==(r=a.response)?void 0:r.status))return null;throw a}}async getAll(e){const t=this.buildUrl(String(e));return await this.getData(t)}async update(e,t,r){const o=this.buildUrl(`${e}/${t}`);await this.putData(o,r)}async create(e,t){const r=this.buildUrl(String(e));return await this.postData(r,t)}async delete(e,t){const r=this.buildUrl(`${e}/${t}`);await this.deleteData(r)}}class Yj extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/trendlogs`}async get(e,t){var r;const o=this.buildUrl(`${e}/${t}`);try{return await this.getData(o)}catch(a){if(404===(null==(r=a.response)?void 0:r.status))return null;throw a}}async getAll(e){const t=this.buildUrl(String(e));return await this.getData(t)}async update(e,t,r){const o=this.buildUrl(`${e}/${t}`);await this.putData(o,r)}async create(e,t){const r=this.buildUrl(String(e));return await this.postData(r,t)}async delete(e,t){const r=this.buildUrl(`${e}/${t}`);await this.deleteData(r)}}class Qj extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/trendlog_inputs`}async get(e,t,r){var o;const a=this.buildUrl(`${e}/${t}/${r}`);try{return await this.getData(a)}catch(n){if(404===(null==(o=n.response)?void 0:o.status))return null;throw n}}async getAll(e,t){const r=this.buildUrl(`${e}/${t}`);return await this.getData(r)}async update(e,t,r,o){const a=this.buildUrl(`${e}/${t}/${r}`);await this.putData(a,o)}async create(e,t,r){const o=this.buildUrl(`${e}/${t}`);return await this.postData(o,r)}async delete(e,t,r){const o=this.buildUrl(`${e}/${t}/${r}`);await this.deleteData(o)}}class eT extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/trendlog_views`}async get(e,t,r){var o;const a=this.buildUrl(`${e}/${t}/${r}`);try{return await this.getData(a)}catch(n){if(404===(null==(o=n.response)?void 0:o.status))return null;throw n}}async getAll(e,t){const r=this.buildUrl(`${e}/${t}`);return await this.getData(r)}async update(e,t,r,o){const a=this.buildUrl(`${e}/${t}/${r}`);await this.putData(a,o)}async create(e,t,r){const o=this.buildUrl(`${e}/${t}`);return await this.postData(o,r)}async delete(e,t,r){const o=this.buildUrl(`${e}/${t}/${r}`);await this.deleteData(o)}}class tT extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/trendlog_data`}async get(e,t,r){var o;const a=this.buildUrl(`${e}/${t}/${r}`);try{return await this.getData(a)}catch(n){if(404===(null==(o=n.response)?void 0:o.status))return null;throw n}}async getRange(e,t,r,o){const a=this.buildUrl(`${e}/${t}/range?start=${r}&end=${o}`);return await this.getData(a)}async getAll(e,t){const r=this.buildUrl(`${e}/${t}`);return await this.getData(r)}async create(e,t,r){const o=this.buildUrl(`${e}/${t}`);return await this.postData(o,r)}async delete(e,t,r){const o=this.buildUrl(`${e}/${t}/${r}`);await this.deleteData(o)}}class rT extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/trendlog_data_detail`}async get(e,t,r,o){var a;const n=this.buildUrl(`${e}/${t}/${r}/${o}`);try{return await this.getData(n)}catch(i){if(404===(null==(a=i.response)?void 0:a.status))return null;throw i}}async getAll(e,t,r){const o=this.buildUrl(`${e}/${t}/${r}`);return await this.getData(o)}async create(e,t,r,o){const a=this.buildUrl(`${e}/${t}/${r}`);return await this.postData(a,o)}async delete(e,t,r,o){const a=this.buildUrl(`${e}/${t}/${r}/${o}`);await this.deleteData(a)}}class oT extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/trendlog_sync_metadata`}async get(e,t){var r;const o=this.buildUrl(`${e}/${t}`);try{return await this.getData(o)}catch(a){if(404===(null==(r=a.response)?void 0:r.status))return null;throw a}}async update(e,t,r){const o=this.buildUrl(`${e}/${t}`);await this.putData(o,r)}async upsert(e,t,r){const o=this.buildUrl(`${e}/${t}`);await this.putData(o,{...r,SerialNumber:e,Trendlog_ID:t})}}class aT extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/users`}async get(e){var t;const r=this.buildUrl(String(e));try{return await this.getData(r)}catch(o){if(404===(null==(t=o.response)?void 0:t.status))return null;throw o}}async getAll(){const e=this.buildUrl("");return await this.getData(e)}async update(e,t){const r=this.buildUrl(String(e));await this.putData(r,t)}async create(e){const t=this.buildUrl("");return await this.postData(t,e)}async delete(e){const t=this.buildUrl(String(e));await this.deleteData(t)}}class nT extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/remote_points`}async get(e,t){var r;const o=this.buildUrl(`${e}/${t}`);try{return await this.getData(o)}catch(a){if(404===(null==(r=a.response)?void 0:r.status))return null;throw a}}async getAll(e){const t=this.buildUrl(String(e));return await this.getData(t)}async update(e,t,r){const o=this.buildUrl(`${e}/${t}`);await this.putData(o,r)}async create(e,t){const r=this.buildUrl(String(e));return await this.postData(r,t)}async delete(e,t){const r=this.buildUrl(`${e}/${t}`);await this.deleteData(r)}}class iT extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/extio_devices`}async get(e,t){var r;const o=this.buildUrl(`${e}/${t}`);try{return await this.getData(o)}catch(a){if(404===(null==(r=a.response)?void 0:r.status))return null;throw a}}async getAll(e){const t=this.buildUrl(String(e));return await this.getData(t)}async update(e,t,r){const o=this.buildUrl(`${e}/${t}`);await this.putData(o,r)}async create(e,t){const r=this.buildUrl(String(e));return await this.postData(r,t)}async delete(e,t){const r=this.buildUrl(`${e}/${t}`);await this.deleteData(r)}}class sT extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/tstat_schedules`}async get(e,t,r){var o;const a=this.buildUrl(`${e}/${t}/${r}`);try{return await this.getData(a)}catch(n){if(404===(null==(o=n.response)?void 0:o.status))return null;throw n}}async getAll(e,t){const r=this.buildUrl(`${e}/${t}`);return await this.getData(r)}async update(e,t,r,o){const a=this.buildUrl(`${e}/${t}/${r}`);await this.putData(a,o)}async create(e,t,r){const o=this.buildUrl(`${e}/${t}`);return await this.postData(o,r)}async delete(e,t,r){const o=this.buildUrl(`${e}/${t}/${r}`);await this.deleteData(o)}}class lT extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/application_config`}async get(e){var t;const r=this.buildUrl(e);try{return await this.getData(r)}catch(o){if(404===(null==(t=o.response)?void 0:t.status))return null;throw o}}async getAll(){const e=this.buildUrl("");return await this.getData(e)}async update(e,t){const r=this.buildUrl(e);await this.putData(r,t)}async upsert(e,t){const r=this.buildUrl(e);await this.putData(r,{...t,Config_Key:e})}async delete(e){const t=this.buildUrl(e);await this.deleteData(t)}}class cT extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/application_config_history`}async get(e){var t;const r=this.buildUrl(String(e));try{return await this.getData(r)}catch(o){if(404===(null==(t=o.response)?void 0:t.status))return null;throw o}}async getAll(){const e=this.buildUrl("");return await this.getData(e)}async getByKey(e){const t=this.buildUrl(`key/${e}`);return await this.getData(t)}}class dT extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/database_partition_config`}async get(e){var t;const r=this.buildUrl(String(e));try{return await this.getData(r)}catch(o){if(404===(null==(t=o.response)?void 0:t.status))return null;throw o}}async getAll(){const e=this.buildUrl("");return await this.getData(e)}async update(e,t){const r=this.buildUrl(String(e));await this.putData(r,t)}async create(e){const t=this.buildUrl("");return await this.postData(t,e)}async delete(e){const t=this.buildUrl(String(e));await this.deleteData(t)}}class uT extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/database_files`}async get(e){var t;const r=this.buildUrl(String(e));try{return await this.getData(r)}catch(o){if(404===(null==(t=o.response)?void 0:t.status))return null;throw o}}async getAll(){const e=this.buildUrl("");return await this.getData(e)}async update(e,t){const r=this.buildUrl(String(e));await this.putData(r,t)}async create(e){const t=this.buildUrl("");return await this.postData(t,e)}async delete(e){const t=this.buildUrl(String(e));await this.deleteData(t)}}class fT extends kj{constructor(e,t){super(e,t)}getEndpoint(){return`${this.baseUrl}/t3_device/database_partitions`}async get(e){var t;const r=this.buildUrl(String(e));try{return await this.getData(r)}catch(o){if(404===(null==(t=o.response)?void 0:t.status))return null;throw o}}async getAll(){const e=this.buildUrl("");return await this.getData(e)}async update(e,t){const r=this.buildUrl(String(e));await this.putData(r,t)}async create(e){const t=this.buildUrl("");return await this.postData(t,e)}async delete(e){const t=this.buildUrl(String(e));await this.deleteData(t)}}class pT{constructor(e="/api",t=3e4){var r;o(this,"httpClient"),o(this,"baseUrl"),o(this,"devices"),o(this,"inputs"),o(this,"outputs"),o(this,"variables"),o(this,"deviceNetwork"),o(this,"deviceCommunication"),o(this,"deviceProtocol"),o(this,"deviceTime"),o(this,"deviceDynDns"),o(this,"deviceHardware"),o(this,"deviceFeature"),o(this,"deviceWifi"),o(this,"deviceMisc"),o(this,"remoteTstatDb"),o(this,"programs"),o(this,"schedules"),o(this,"pids"),o(this,"holidays"),o(this,"arrays"),o(this,"conversionTables"),o(this,"customUnits"),o(this,"variableUnits"),o(this,"graphics"),o(this,"graphicLabels"),o(this,"msvData"),o(this,"alarms"),o(this,"alarmSettings"),o(this,"emailAlarms"),o(this,"monitorData"),o(this,"remotePoints"),o(this,"trendlogs"),o(this,"trendlogInputs"),o(this,"trendlogViews"),o(this,"trendlogData"),o(this,"trendlogDataDetail"),o(this,"trendlogSyncMetadata"),o(this,"users"),o(this,"extIoDevices"),o(this,"tstatSchedules"),o(this,"applicationConfig"),o(this,"applicationConfigHistory"),o(this,"databasePartitionConfig"),o(this,"databaseFiles"),o(this,"databasePartitions"),this.baseUrl=e,this.httpClient=(r={timeout:t},new wj({baseURL:e,...r})),this.devices=new Bj(this.httpClient,e),this.inputs=new Sj(this.httpClient,e),this.outputs=new _j(this.httpClient,e),this.variables=new Nj(this.httpClient,e),this.deviceNetwork=new zj(this.httpClient,e),this.deviceCommunication=new jj(this.httpClient,e),this.deviceProtocol=new Tj(this.httpClient,e),this.deviceTime=new Cj(this.httpClient,e),this.deviceDynDns=new Dj(this.httpClient,e),this.deviceHardware=new Pj(this.httpClient,e),this.deviceFeature=new Ej(this.httpClient,e),this.deviceWifi=new Aj(this.httpClient,e),this.deviceMisc=new Fj(this.httpClient,e),this.remoteTstatDb=new Rj(this.httpClient,e),this.programs=new Ij(this.httpClient,e),this.schedules=new Mj(this.httpClient,e),this.pids=new Lj(this.httpClient,e),this.holidays=new Oj(this.httpClient,e),this.arrays=new qj(this.httpClient,e),this.conversionTables=new Hj(this.httpClient,e),this.customUnits=new Vj(this.httpClient,e),this.variableUnits=new Zj(this.httpClient,e),this.graphics=new $j(this.httpClient,e),this.graphicLabels=new Wj(this.httpClient,e),this.msvData=new Uj(this.httpClient,e),this.alarms=new Gj(this.httpClient,e),this.alarmSettings=new Xj(this.httpClient,e),this.emailAlarms=new Kj(this.httpClient,e),this.monitorData=new Jj(this.httpClient,e),this.remotePoints=new nT(this.httpClient,e),this.trendlogs=new Yj(this.httpClient,e),this.trendlogInputs=new Qj(this.httpClient,e),this.trendlogViews=new eT(this.httpClient,e),this.trendlogData=new tT(this.httpClient,e),this.trendlogDataDetail=new rT(this.httpClient,e),this.trendlogSyncMetadata=new oT(this.httpClient,e),this.users=new aT(this.httpClient,e),this.extIoDevices=new iT(this.httpClient,e),this.tstatSchedules=new sT(this.httpClient,e),this.applicationConfig=new lT(this.httpClient,e),this.applicationConfigHistory=new cT(this.httpClient,e),this.databasePartitionConfig=new dT(this.httpClient,e),this.databaseFiles=new uT(this.httpClient,e),this.databasePartitions=new fT(this.httpClient,e)}getHttpClient(){return this.httpClient}async testConnection(){try{return await this.devices.getAll(),!0}catch(e){return!1}}}class hT{}o(hT,"Default",{Environment:"prod"}),o(hT,"DocumentAreaModel",{LEFT_PANEL_ID:"left-panel",LEFT_PANEL_WIDTH:105,WORK_AREA_ID:"work-area",WORK_AREA_PADDING_LEFT:105}),o(hT,"LogConfig",{Debug:void 0,Info:void 0,Error:!0,FileLogging:!1}),o(hT,"T3Config",{log:{},Zoom:{Step:.25,Min:.25,Max:4,Default:1}});const gT=class{static get enableDebug(){return this.configLoaded||this.LoadConfig(),null!==this._enableDebug&&this._enableDebug}static get enableInfo(){return this.configLoaded||this.LoadConfig(),null!==this._enableInfo&&this._enableInfo}static get enableError(){if(this.configLoaded||this.LoadConfig(),null!==this._enableError)return this._enableError;return hT.LogConfig.Error}static get enableFileLogging(){if(this.configLoaded||this.LoadConfig(),null!==this._fileLoggingOverride)return this._fileLoggingOverride;return hT.LogConfig.FileLogging}constructor(){gT.LoadConfig()}static LoadConfig(){if(!this.configLoaded)try{const e=localStorage.getItem("t3.config"),t=e?JSON.parse(e):null;t&&t.log&&("boolean"==typeof t.log.debug&&(this._enableDebug=t.log.debug),"boolean"==typeof t.log.info&&(this._enableInfo=t.log.info),"boolean"==typeof t.log.error&&(this._enableError=t.log.error),"boolean"==typeof t.log.fileLogging&&(this._fileLoggingOverride=t.log.fileLogging)),this.configLoaded=!0}catch(e){this.configLoaded=!0}}static ResetConfig(){this._enableDebug=null,this._enableInfo=null,this._enableError=null,this.configLoaded=!1;try{localStorage.removeItem("t3.config")}catch(e){}}static async LogToBackend(e,t,...r){if(this.enableFileLogging)try{await fetch("http://localhost:9103/api/log",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({level:e,category:"Frontend_HVAC",message:"string"==typeof t?t:JSON.stringify(t),params:r.length>0?r:void 0,timestamp:(new Date).toISOString()})})}catch(o){}}static Debug(e,...t){this.enableDebug&&(null==t||t.length),this.LogToBackend("debug",e,...t)}static Info(e,...t){this.enableInfo&&(null==t||t.length),this.LogToBackend("info",e,...t)}static Warn(e,...t){this.enableInfo&&(null==t||t.length),this.LogToBackend("info",e,...t)}static Error(e,...t){this.enableError&&(null==t||t.length),this.LogToBackend("error",e,...t)}};let vT=gT;o(vT,"_enableDebug",null),o(vT,"_enableInfo",null),o(vT,"_enableError",null),o(vT,"_fileLoggingOverride",null),o(vT,"configLoaded",!1);class mT{static async refreshFromDevice(e){var t;const{serialNumber:r,type:o,index:a,onLoadingChange:n}=e,i=(new Date).toISOString();try{null==n||n(!0);const e=new yj({apiBaseUrl:`${Rz}/api`});await e.connect("ffi");const s={output:oj,input:aj,variable:nj,pidloop:ij,schedule:sj,holiday:lj,program:cj,trendlog:dj,graphic:uj,alarm:fj}[o];let l;if(vT.Debug(`[PanelDataRefreshService] Calling Action 17 (GET_WEBVIEW_LIST) for ${o} (entryType=${s}${void 0!==a?`, index=${a}`:""})`),l=void 0!==a?await e.refreshDeviceRecords(r,s,a,a):await e.refreshDeviceRecords(r,s),await e.disconnect(),null==n||n(!1),!l||!l.data)throw new Error("No data received from device");vT.Debug("[PanelDataRefreshService] Response structure:",JSON.stringify(l,null,2).substring(0,500));let c=[];if(l.data.device_data&&Array.isArray(l.data.device_data)?(c=l.data.device_data,vT.Debug("[PanelDataRefreshService] Found items at response.data.device_data")):(null==(t=l.data.data)?void 0:t.device_data)&&Array.isArray(l.data.data.device_data)?(c=l.data.data.device_data,vT.Debug("[PanelDataRefreshService] Found items at response.data.data.device_data")):vT.Error("[PanelDataRefreshService] Could not find device_data array in response:",l),0===c.length)return{success:!0,message:`No ${o}s found on device`,itemCount:0,savedCount:0,timestamp:i};const d=await this.saveToDatabase(r,o,c);return{success:!0,message:`Refreshed ${c.length} ${o}(s) from device, saved ${d} to database`,itemCount:c.length,savedCount:d,timestamp:i}}catch(s){throw null==n||n(!1),vT.Error("[PanelDataRefreshService] Refresh failed:",s),s}}static async saveToDatabase(e,t,r){const o=new pT(`${Rz}/api`),a=r.map((r=>this.transformItem(e,t,r))),n={input:o.inputs,output:o.outputs,variable:o.variables,program:o.programs,schedule:o.schedules,pidloop:o.pidLoops,holiday:o.holidays,graphic:o.graphics}[t];if(!n)throw new Error(`Unsupported point type: ${t}`);try{const o=await n.batchSave(e,a),i=o.updatedCount;return vT.Info(`[PanelDataRefreshService] Saved ${i}/${r.length} ${t}(s) to database (${o.updatedCount} updated, ${o.failedCount} failed)`),i}catch(i){throw vT.Error(`[PanelDataRefreshService] Failed to batch save ${t}s:`,i),i}}static transformItem(e,t,r){var o,a,n,i,s,l,c,d,u,f,p,h,g,v,m,b,x,y,w,k,B,S,_,N,z,j,T,C,D,P,E,A,F,R,I,M,L,O,q,H,V,Z,$,W,U,G,X,K,J,Y,Q,ee,te,re,oe,ae,ne,ie,se,le,ce,de,ue,fe,pe,he,ge,ve,me,be,xe,ye,we,ke,Be,Se,_e,Ne,ze,je,Te,Ce,De,Pe,Ee,Ae,Fe,Re,Ie,Me,Le,Oe,qe,He,Ve,Ze,$e,We,Ue,Ge,Xe,Ke;const Je={serialNumber:e};if("input"===t){const e=(null==(o=r.index)?void 0:o.toString())||r.inputIndex;Je.inputIndex=e,Je.inputId=e?`IN${parseInt(e)+1}`:void 0,Je.panel=(null==(a=r.pid)?void 0:a.toString())||r.panel,Je.fullLabel=r.description||r.full_label||r.fullLabel,Je.autoManual=(null==(n=r.auto_manual)?void 0:n.toString())||r.autoManual,Je.fValue=(null==(i=r.value)?void 0:i.toString())||r.fValue,Je.units=(null==(s=r.unit)?void 0:s.toString())||r.units,Je.rangeField=(null==(l=r.range)?void 0:l.toString())||r.rangeField;const t=parseInt((null==(c=r.calibration_h)?void 0:c.toString())||"0",10),v=parseInt((null==(d=r.calibration_l)?void 0:d.toString())||"0",10);if(void 0!==r.calibration_h&&void 0!==r.calibration_l){const e=256*t+v;Je.calibration=(e/10).toFixed(1)}else Je.calibration=r.calibration||"0.0";Je.calibrationH=t,Je.calibrationL=v,Je.sign=(null==(u=r.calibration_sign)?void 0:u.toString())||r.sign,Je.filterField=(null==(f=r.filter)?void 0:f.toString())||r.filterField,Je.control=(null==(p=r.control)?void 0:p.toString())||r.control,Je.status=(null==(h=r.decom)?void 0:h.toString())||r.status,Je.label=r.label,Je.digitalAnalog=(null==(g=r.digital_analog)?void 0:g.toString())||r.digitalAnalog}else if("output"===t){const e=(null==(v=r.index)?void 0:v.toString())||r.outputIndex;Je.outputIndex=e,Je.outputId=e?`OUT${parseInt(e)+1}`:void 0,Je.panel=(null==(m=r.pid)?void 0:m.toString())||r.panel,Je.fullLabel=r.description||r.full_label||r.fullLabel,Je.autoManual=(null==(b=r.auto_manual)?void 0:b.toString())||r.autoManual,Je.fValue=(null==(x=r.value)?void 0:x.toString())||r.fValue,Je.units=(null==(y=r.unit)?void 0:y.toString())||r.units,Je.rangeField=(null==(w=r.range)?void 0:w.toString())||r.rangeField;const t=parseInt((null==(k=r.calibration_h)?void 0:k.toString())||"0",10),o=parseInt((null==(B=r.calibration_l)?void 0:B.toString())||"0",10);if(void 0!==r.calibration_h&&void 0!==r.calibration_l){const e=256*t+o;Je.calibration=(e/10).toFixed(1)}else Je.calibration=r.calibration||"0.0";Je.calibrationH=t,Je.calibrationL=o,Je.sign=(null==(S=r.calibration_sign)?void 0:S.toString())||r.sign,Je.filterField=(null==(_=r.filter)?void 0:_.toString())||r.filterField,Je.control=(null==(N=r.control)?void 0:N.toString())||r.control,Je.status=(null==(z=r.decom)?void 0:z.toString())||r.status,Je.label=r.label,Je.digitalAnalog=(null==(j=r.digital_analog)?void 0:j.toString())||r.digitalAnalog}else if("variable"===t){const e=(null==(T=r.index)?void 0:T.toString())||r.variableIndex;Je.variableIndex=e,Je.variableId=e?`VAR${parseInt(e)+1}`:void 0,Je.panel=(null==(C=r.pid)?void 0:C.toString())||r.panel,Je.fullLabel=r.description||r.full_label||r.fullLabel,Je.autoManual=(null==(D=r.auto_manual)?void 0:D.toString())||r.autoManual,Je.fValue=(null==(P=r.value)?void 0:P.toString())||r.fValue,Je.units=(null==(E=r.unit)?void 0:E.toString())||r.units,Je.rangeField=(null==(A=r.range)?void 0:A.toString())||r.rangeField;const t=parseInt((null==(F=r.calibration_h)?void 0:F.toString())||"0",10),o=parseInt((null==(R=r.calibration_l)?void 0:R.toString())||"0",10);if(void 0!==r.calibration_h&&void 0!==r.calibration_l){const e=256*t+o;Je.calibration=(e/10).toFixed(1)}else Je.calibration=r.calibration||"0.0";Je.calibrationH=t,Je.calibrationL=o,Je.sign=(null==(I=r.calibration_sign)?void 0:I.toString())||r.sign,Je.filterField=(null==(M=r.filter)?void 0:M.toString())||r.filterField,Je.control=(null==(L=r.control)?void 0:L.toString())||r.control,Je.status=(null==(O=r.decom)?void 0:O.toString())||r.status,Je.label=r.label,Je.digitalAnalog=(null==(q=r.digital_analog)?void 0:q.toString())||r.digitalAnalog}else if("program"===t){const e=(null==(H=r.index)?void 0:H.toString())||r.programIndex;Je.Program_ID=e?`PRG${parseInt(e)+1}`:void 0,Je.panel=(null==(V=r.pid)?void 0:V.toString())||r.panel,Je.label=null!=(Z=r.label)?Z:"",Je.full_label=null!=(U=null!=(W=null!=($=r.description)?$:r.full_label)?W:r.fullLabel)?U:"",Je.status=null!=(X=null==(G=r.status)?void 0:G.toString())?X:"",Je.auto_manual=null!=(Q=null!=(Y=null==(K=r.auto_manual)?void 0:K.toString())?Y:null==(J=r.autoManual)?void 0:J.toString())?Q:"",Je.size=null!=(te=null==(ee=r.size)?void 0:ee.toString())?te:"",Je.execution_time=null!=(oe=null==(re=r.execution_time)?void 0:re.toString())?oe:"",Je.program_code=null!=(ne=null!=(ae=r.program_code)?ae:r.programCode)?ne:""}else if("schedule"===t){const e=(null==(ie=r.index)?void 0:ie.toString())||r.scheduleIndex;Je.Schedule_ID=e?`SCH${parseInt(e)+1}`:void 0,Je.panel=(null==(se=r.pid)?void 0:se.toString())||r.panel,Je.label=r.label,Je.full_label=r.description||r.full_label||r.fullLabel,Je.auto_manual=(null==(le=r.auto_manual)?void 0:le.toString())||(null==(ce=r.autoManual)?void 0:ce.toString()),Je.output=null==(de=r.output)?void 0:de.toString(),Je.status=null==(ue=r.status)?void 0:ue.toString(),Je.holiday1=null==(fe=r.holiday1)?void 0:fe.toString(),Je.holiday2=null==(pe=r.holiday2)?void 0:pe.toString()}else if("pidloop"===t){const e=(null==(he=r.index)?void 0:he.toString())||r.pidLoopIndex;Je.PID_ID=e?`PID${parseInt(e)+1}`:void 0,Je.panel=(null==(ge=r.pid)?void 0:ge.toString())||r.panel,Je.label=r.label,Je.full_label=r.description||r.full_label||r.fullLabel,Je.auto_manual=(null==(ve=r.auto_manual)?void 0:ve.toString())||(null==(me=r.autoManual)?void 0:me.toString()),Je.input=null==(be=r.input)?void 0:be.toString(),Je.output=null==(xe=r.output)?void 0:xe.toString(),Je.setpoint=null==(ye=r.setpoint)?void 0:ye.toString(),Je.proportional=null==(we=r.proportional)?void 0:we.toString(),Je.integral=null==(ke=r.integral)?void 0:ke.toString(),Je.derivative=null==(Be=r.derivative)?void 0:Be.toString(),Je.status=null==(Se=r.status)?void 0:Se.toString()}else if("holiday"===t){const e=(null==(_e=r.index)?void 0:_e.toString())||r.holidayIndex;Je.Holiday_ID=e?`HOL${parseInt(e)+1}`:void 0,Je.panel=(null==(Ne=r.pid)?void 0:Ne.toString())||r.panel,Je.label=null!=(ze=r.label)?ze:"",Je.full_label=null!=(Ce=null!=(Te=null!=(je=r.description)?je:r.full_label)?Te:r.fullLabel)?Ce:"",Je.auto_manual=null!=(Ae=null!=(Ee=null==(De=r.auto_manual)?void 0:De.toString())?Ee:null==(Pe=r.autoManual)?void 0:Pe.toString())?Ae:"",Je.value=null!=(Re=null==(Fe=r.value)?void 0:Fe.toString())?Re:"",Je.status=null!=(Me=null==(Ie=r.status)?void 0:Ie.toString())?Me:""}else if("graphic"===t){const e=(null==(Le=r.index)?void 0:Le.toString())||r.graphicIndex;Je.Graphic_ID=e?`GRP${parseInt(e)+1}`:void 0,Je.panel=(null==(Oe=r.pid)?void 0:Oe.toString())||r.panel,Je.label=null!=(qe=r.label)?qe:"",Je.full_label=null!=(Ze=null!=(Ve=null!=(He=r.description)?He:r.full_label)?Ve:r.fullLabel)?Ze:"",Je.picture_file=null!=(We=null!=($e=r.picture_file)?$e:r.pictureFile)?We:"",Je.total_point=null!=(Ke=null!=(Xe=null!=(Ge=null==(Ue=r.count)?void 0:Ue.toString())?Ge:r.total_point)?Xe:r.totalPoint)?Ke:""}return Je}static async refreshAllInputs(e){return this.refreshFromDevice({serialNumber:e,type:"input"})}static async refreshSingleInput(e,t){return this.refreshFromDevice({serialNumber:e,type:"input",index:t})}static async refreshAllOutputs(e){return this.refreshFromDevice({serialNumber:e,type:"output"})}static async refreshSingleOutput(e,t){return this.refreshFromDevice({serialNumber:e,type:"output",index:t})}static async refreshAllVariables(e){return this.refreshFromDevice({serialNumber:e,type:"variable"})}static async refreshSingleVariable(e,t){return this.refreshFromDevice({serialNumber:e,type:"variable",index:t})}static async refreshAllPrograms(e){return this.refreshFromDevice({serialNumber:e,type:"program"})}static async refreshSingleProgram(e,t){return this.refreshFromDevice({serialNumber:e,type:"program",index:t})}static async refreshAllSchedules(e){return this.refreshFromDevice({serialNumber:e,type:"schedule"})}static async refreshSingleSchedule(e,t){return this.refreshFromDevice({serialNumber:e,type:"schedule",index:t})}static async refreshAllPidLoops(e){return this.refreshFromDevice({serialNumber:e,type:"pidloop"})}static async refreshSinglePidLoop(e,t){return this.refreshFromDevice({serialNumber:e,type:"pidloop",index:t})}static async refreshAllHolidays(e){return this.refreshFromDevice({serialNumber:e,type:"holiday"})}static async refreshSingleHoliday(e,t){return this.refreshFromDevice({serialNumber:e,type:"holiday",index:t})}static async refreshAllTrendlogs(e){return this.refreshFromDevice({serialNumber:e,type:"trendlog"})}static async refreshSingleTrendlog(e,t){return this.refreshFromDevice({serialNumber:e,type:"trendlog",index:t})}static async refreshAllAlarms(e){return this.refreshFromDevice({serialNumber:e,type:"alarm"})}static async refreshSingleAlarm(e,t){return this.refreshFromDevice({serialNumber:e,type:"alarm",index:t})}}const bT=(e,t="Unknown")=>{if(!e)return t;return e.split("\0")[0].trim()||t},xT=zz()(Cz(((e,t)=>({devices:[],buildings:[],treeData:[],selectedDevice:null,selectedNodeId:null,expandedNodes:new Set,deviceStatuses:new Map,viewMode:localStorage.getItem("t3000-tree-view-mode")||"equipment",projectTreeData:null,deviceCapacities:new Map,isLoading:!1,error:null,filterText:"",filterProtocol:"All",filterBuilding:"All",showOfflineOnly:!1,isSyncing:!1,lastSyncTime:null,syncInterval:null,statusMonitorInterval:null,fetchDevices:async()=>{e({isLoading:!0,error:null});try{const r=await Oz.getAllDevices(),o=r.devices.filter((e=>{const t=(e.nameShowOnTree||"").trim();return"(Unknown)"!==t&&"Unknown"!==t&&""!==t})).map((e=>({...e,nameShowOnTree:bT(e.nameShowOnTree,`Device ${e.serialNumber}`),productName:bT(e.productName,"")})));e({devices:o,isLoading:!1,lastSyncTime:new Date});const{expandedNodes:a}=t();if(0===a.size){const t=new Set;r.devices.forEach((e=>{const r=e.mainBuildingName||"Default_Building";t.add(`building-${r}`),t.add(`subnet-${r}-Local View`)})),e({expandedNodes:t})}t().buildTreeStructure();const{selectedDevice:n,selectDevice:i,devices:s}=t();if(!n&&s.length>0){const e=[...s].sort(((e,t)=>{const r="(Unknown)"===e.nameShowOnTree||"Unknown"===e.nameShowOnTree;return r!==("(Unknown)"===t.nameShowOnTree||"Unknown"===t.nameShowOnTree)?r?1:-1:e.nameShowOnTree.localeCompare(t.nameShowOnTree)}));i(e[0])}tj.getState().setMessage(`Loaded ${r.devices.length} devices`,"success")}catch(r){const t=r instanceof Error?r.message:"Failed to fetch devices";e({error:t,isLoading:!1}),tj.getState().setMessage(`Error: ${t}`,"error")}},refreshDevices:async()=>{await t().fetchDevices()},scanForDevices:async t=>{e({isLoading:!0,error:null});try{await Oz.scanDevices(t);e({isLoading:!1})}catch(r){e({error:r instanceof Error?r.message:"Failed to scan for devices",isLoading:!1})}},loadDevicesWithSync:async()=>{const{setMessage:e}=tj.getState();try{e("Loading devices from database...","info"),await t().fetchDevices();const{devices:a}=t();0===a.length&&e("No devices in database","warning"),e("Syncing device list with T3000...","info");const n=new yj({apiBaseUrl:`${Rz}/api`});await n.connect("ffi");const i=await n.getDeviceList();if(i&&i.data&&i.data.data){const a=i.data.data;a.forEach(((e,t)=>{}));const n=a.filter((e=>{const t=(e.panel_name||e.panelName||"").trim();return"(Unknown)"!==t&&""!==t}));let s=0,l=0;try{const e=new pT(`${Rz}/api`);for(const t of n){let o,a;try{o=t.serial_number||t.serialNumber;const r=t.panel_name||t.panelName,n=bT(r,"(Unknown)");a={SerialNumber:o,Product_Name:n,Product_ID:t.pid||t.Product_ID||null,Panel_Number:t.panel_number||t.Panel_Number||null,MainBuilding_Name:"Default_Building",Building_Name:"Local View",show_label_name:n},void 0!==t.object_instance&&null!==t.object_instance&&(a.BACnet_MSTP_MAC_ID=t.object_instance),await e.devices.create(a),s++}catch(r){l++}}}catch(o){}s>0?e(`Found ${a.length} device(s), saved ${s} successfully${l>0?`, ${l} failed`:""}`,s===a.length?"success":"warning"):e(`Found ${a.length} device(s) but failed to save any to database`,"error"),await t().fetchDevices();const{devices:c,selectDevice:d}=t();if(c.length>0){const e=[...c].sort(((e,t)=>{const r="(Unknown)"===e.nameShowOnTree||"Unknown"===e.nameShowOnTree;return r!==("(Unknown)"===t.nameShowOnTree||"Unknown"===t.nameShowOnTree)?r?1:-1:e.nameShowOnTree.localeCompare(t.nameShowOnTree)}));d(e[0])}}else e("No devices found in T3000","warning");await n.disconnect()}catch(r){e(r instanceof Error?r.message:"Failed to load devices","error")}},checkIfDeviceNeedsSync:async e=>{try{const t=await fetch(`${Rz}/api/t3_device/devices/${e}/points-count`);if(!t.ok)return!1;const r=await t.json(),{inputCount:o,outputCount:a,variableCount:n}=r;return 0===o&&0===a&&0===n}catch(t){return!1}},syncDatabaseWithCpp:async()=>{const{setMessage:r}=tj.getState();try{r("Removing all devices from list...","info");const o=await fetch(`${Rz}/api/t3_device/devices`,{method:"DELETE"});if(!o.ok)throw new Error(`HTTP error! status: ${o.status}`);const a=(await o.json()).rows_affected||0;a>0?r(`Removed ${a} device(s) from list`,"success"):r("No devices to remove","info"),e({devices:[],selectedDevice:null,selectedNodeId:null}),t().buildTreeStructure()}catch(o){r("Failed to remove devices","error")}},syncDevicePoints:async e=>{const{setMessage:t}=tj.getState();t(`Syncing data for ${e.nameShowOnTree}...`,"info");try{const[r,o,a]=await Promise.all([mT.refreshAllInputs(e.serialNumber),mT.refreshAllOutputs(e.serialNumber),mT.refreshAllVariables(e.serialNumber)]),n=r.count||0,i=o.count||0,s=a.count||0;t(`✓ Synced ${e.nameShowOnTree}: ${n} inputs, ${i} outputs, ${s} variables`,"success")}catch(r){t(`Failed to sync ${e.nameShowOnTree}, showing cached data`,"warning")}},addDevice:async r=>{e({error:null});try{const o=await Oz.createDevice(r);e((e=>({devices:[...e.devices,o]}))),t().buildTreeStructure()}catch(o){throw e({error:o instanceof Error?o.message:"Failed to add device"}),o}},updateDevice:async(r,o)=>{e({error:null});try{const a=await Oz.updateDevice(r,o),n=(null==a?void 0:a.serialNumber)?a:(()=>{const e={...t().devices.find((e=>e.serialNumber===r)),...o};return{...e,nameShowOnTree:o.showLabelName||e.showLabelName||e.productName||`Device ${r}`}})();e((e=>{var t;return{devices:e.devices.map((e=>e.serialNumber===r?n:e)),selectedDevice:(null==(t=e.selectedDevice)?void 0:t.serialNumber)===r?n:e.selectedDevice}})),t().buildTreeStructure()}catch(a){throw e({error:a instanceof Error?a.message:"Failed to update device"}),a}},deleteDevice:async r=>{e({error:null});try{await Oz.deleteDevice(r),e((e=>{var t;return{devices:e.devices.filter((e=>e.serialNumber!==r)),selectedDevice:(null==(t=e.selectedDevice)?void 0:t.serialNumber)===r?null:e.selectedDevice}})),t().buildTreeStructure()}catch(o){throw e({error:o instanceof Error?o.message:"Failed to delete device"}),o}},checkDeviceStatus:async e=>{},connectDevice:async e=>{try{await Oz.connectDevice(e)}catch(t){throw t}},disconnectDevice:async e=>{try{await Oz.disconnectDevice(e)}catch(t){throw t}},buildTreeStructure:()=>{const{devices:r,filterText:o,filterProtocol:a,filterBuilding:n,showOfflineOnly:i,deviceStatuses:s,expandedNodes:l}=t();let c=[...r];if(o){const e=o.toLowerCase();c=c.filter((t=>{var r;return t.nameShowOnTree.toLowerCase().includes(e)||t.serialNumber.toString().includes(e)||(null==(r=t.ipAddress)?void 0:r.toLowerCase().includes(e))}))}"All"!==a&&(c=c.filter((e=>e.protocol===a))),"All"!==n&&(c=c.filter((e=>e.mainBuildingName===n||e.buildingName===n))),i&&(c=c.filter((e=>"offline"===s.get(e.serialNumber)))),c.sort(((e,t)=>{const r="(Unknown)"===e.nameShowOnTree||"Unknown"===e.nameShowOnTree;return r!==("(Unknown)"===t.nameShowOnTree||"Unknown"===t.nameShowOnTree)?r?1:-1:e.nameShowOnTree.localeCompare(t.nameShowOnTree)}));const d=ej(c,l,s),u=new Map;c.forEach((e=>{const t=e.mainBuildingName||e.buildingName||"Unknown Building";u.has(t)||u.set(t,[]),u.get(t).push(e)}));const f=Array.from(u.entries()).map((([e,t])=>{var r,o,a,n;return{id:e,name:e,protocol:(null==(r=t[0])?void 0:r.protocol)||"Unknown",deviceCount:t.length,ipAddress:null==(o=t[0])?void 0:o.ipAddress,port:null==(n=null==(a=t[0])?void 0:a.port)?void 0:n.toString()}}));e({treeData:d,buildings:f})},expandNode:r=>{e((e=>{const t=new Set(e.expandedNodes);return t.add(r),{expandedNodes:t}})),t().buildTreeStructure()},collapseNode:r=>{e((e=>{const t=new Set(e.expandedNodes);return t.delete(r),{expandedNodes:t}})),t().buildTreeStructure()},expandAll:()=>{const r=new Set,o=e=>{e.forEach((e=>{r.add(e.id),e.children&&o(e.children)}))};o(t().treeData),e({expandedNodes:r}),t().buildTreeStructure()},collapseAll:()=>{e({expandedNodes:new Set}),t().buildTreeStructure()},selectNode:r=>{const o=(e,t)=>{for(const r of e){if(r.id===t)return r;if(r.children){const e=o(r.children,t);if(e)return e}}return null},a=o(t().treeData,r);e({selectedNodeId:r,selectedDevice:(null==a?void 0:a.data)||null})},selectDevice:async r=>{if(e({selectedDevice:r,selectedNodeId:r?`device-${r.serialNumber}`:null}),r){await t().checkIfDeviceNeedsSync(r.serialNumber)&&await t().syncDevicePoints(r)}},setFilterText:r=>{e({filterText:r}),t().buildTreeStructure()},setFilterProtocol:r=>{e({filterProtocol:r}),t().buildTreeStructure()},setFilterBuilding:r=>{e({filterBuilding:r}),t().buildTreeStructure()},setShowOfflineOnly:r=>{e({showOfflineOnly:r}),t().buildTreeStructure()},clearFilters:()=>{e({filterText:"",filterProtocol:"All",filterBuilding:"All",showOfflineOnly:!1}),t().buildTreeStructure()},getFilteredDevices:()=>{const{devices:e,filterText:r,filterProtocol:o,filterBuilding:a,showOfflineOnly:n,deviceStatuses:i}=t();let s=[...e];if(r){const e=r.toLowerCase();s=s.filter((t=>{var r;return t.nameShowOnTree.toLowerCase().includes(e)||t.serialNumber.toString().includes(e)||(null==(r=t.ipAddress)?void 0:r.toLowerCase().includes(e))}))}return"All"!==o&&(s=s.filter((e=>e.protocol===o))),"All"!==a&&(s=s.filter((e=>e.mainBuildingName===a||e.buildingName===a))),n&&(s=s.filter((e=>"offline"===i.get(e.serialNumber)))),s.sort(((e,t)=>e.nameShowOnTree.localeCompare(t.nameShowOnTree))),s},getNextDevice:()=>{const{selectedDevice:e}=t(),r=t().getFilteredDevices();if(!e)return null;if(0===r.length)return null;if(1===r.length)return null;const o=r.findIndex((t=>t.serialNumber===e.serialNumber));if(-1===o)return null;const a=o+1;if(a>=r.length){return r[0]}return r[a]},getPreviousDevice:()=>{const{selectedDevice:e}=t(),r=t().getFilteredDevices();if(!e||0===r.length)return null;const o=r.findIndex((t=>t.serialNumber===e.serialNumber));if(-1===o)return null;const a=o-1;return a>=0?r[a]:null},startSync:(r=6e4)=>{const o=window.setInterval((()=>{t().fetchDevices()}),r);e({isSyncing:!0,syncInterval:o})},stopSync:()=>{const{syncInterval:r}=t();null!==r&&(window.clearInterval(r),e({isSyncing:!1,syncInterval:null}))},startStatusMonitor:(r=3e4)=>{const o=window.setInterval((()=>{const{devices:e}=t();e.forEach((e=>{t().checkDeviceStatus(e.serialNumber)}))}),r);e({statusMonitorInterval:o})},stopStatusMonitor:()=>{const{statusMonitorInterval:r}=t();null!==r&&(window.clearInterval(r),e({statusMonitorInterval:null}))},setError:t=>e({error:t}),clearError:()=>e({error:null}),setViewMode:r=>{localStorage.setItem("t3000-tree-view-mode",r),e({viewMode:r}),"projectPoint"===r&&t().fetchProjectPointTree()},fetchProjectPointTree:async()=>{e({isLoading:!0,error:null});try{const t=await fetch(`${Rz}/api/t3_device/tree/project-view`);if(!t.ok)throw new Error("Failed to fetch project point tree");const r=await t.json();e({projectTreeData:r,isLoading:!1})}catch(t){const r=t instanceof Error?t.message:"Failed to fetch project point tree";e({error:r,isLoading:!1}),tj.getState().setMessage(r,"error")}},fetchDeviceCapacity:async r=>{try{const o=await fetch(`${Rz}/api/t3_device/devices/${r}/capacity`);if(!o.ok)throw new Error("Failed to fetch device capacity");const a=await o.json(),{deviceCapacities:n}=t();n.set(r,a),e({deviceCapacities:new Map(n)})}catch(o){}}})),{name:"DeviceTreeStore"})),yT={treeData:[],expandedNodes:new Set,selectedNodeId:null,isLoading:!1,error:null};zz()(Cz(((e,t)=>({...yT,expandNode:t=>{e((e=>{const r=new Set(e.expandedNodes);return r.add(t),{expandedNodes:r}}))},collapseNode:t=>{e((e=>{const r=new Set(e.expandedNodes);return r.delete(t),{expandedNodes:r}}))},toggleNode:e=>{t().expandedNodes.has(e)?t().collapseNode(e):t().expandNode(e)},expandAll:()=>{const r=e=>e.flatMap((e=>[String(e.id),...e.children?r(e.children):[]])),o=r(t().treeData);e({expandedNodes:new Set(o)})},collapseAll:()=>{e({expandedNodes:new Set})},selectNode:t=>{e({selectedNodeId:t})},getSelectedNode:()=>{const{selectedNodeId:e,findNode:r}=t();return e?r(e):null},loadTree:async()=>{e({isLoading:!0,error:null});try{const t=await networkApi.getNetworkTree();e({treeData:t.data,isLoading:!1,error:null})}catch(t){e({isLoading:!1,error:t instanceof Error?t.message:"Failed to load tree"})}},refreshTree:async()=>{const{expandedNodes:r,selectedNodeId:o}=t();await t().loadTree(),e({expandedNodes:r,selectedNodeId:o})},updateNode:(t,r)=>{const o=e=>e.map((e=>String(e.id)===t?{...e,...r}:e.children?{...e,children:o(e.children)}:e));e((e=>({treeData:o(e.treeData)})))},addNode:(t,r)=>{const o=e=>e.map((e=>String(e.id)===t?{...e,children:[...e.children||[],r]}:e.children?{...e,children:o(e.children)}:e));e((e=>({treeData:o(e.treeData)})))},removeNode:t=>{const r=e=>e.filter((e=>String(e.id)!==t)).map((e=>({...e,children:e.children?r(e.children):void 0})));e((e=>({treeData:r(e.treeData),selectedNodeId:e.selectedNodeId===t?null:e.selectedNodeId})))},findNode:e=>{const r=t=>{for(const o of t){if(String(o.id)===e)return o;if(o.children){const e=r(o.children);if(e)return e}}return null};return r(t().treeData)},getNodePath:e=>{const r=[],o=(e,t,a)=>{for(const n of e){const e=[...a,n];if(String(n.id)===t)return r.push(...e),!0;if(n.children&&o(n.children,t,e))return!0}return!1};return o(t().treeData,e,[]),r},isExpanded:e=>t().expandedNodes.has(e),hasChildren:e=>{const r=t().findNode(e);return!!((null==r?void 0:r.children)&&r.children.length>0)},reset:()=>{e(yT)}})),{name:"TreeStore"}));const wT={inputs:[],outputs:[],variables:[],programs:[],controllers:[],schedules:[],trendLogs:[],alarms:[],graphics:[],isLoadingInputs:!1,isLoadingOutputs:!1,isLoadingVariables:!1,isLoadingPrograms:!1,isLoadingControllers:!1,error:null};zz()(Cz(((e,t)=>({...wT,loadInputs:async t=>{e({isLoadingInputs:!0,error:null});try{const r=await bacnetInputsApi.getInputs(t);e({inputs:r.data,isLoadingInputs:!1})}catch(r){e({isLoadingInputs:!1,error:r instanceof Error?r.message:"Failed to load inputs"})}},updateInput:async(t,r,o)=>{try{await bacnetInputsApi.updateInput(t,r,o),e((e=>({inputs:e.inputs.map((e=>e.id===r?{...e,...o}:e))})))}catch(a){e({error:a instanceof Error?a.message:"Failed to update input"})}},refreshInput:async(t,r)=>{try{const o=await bacnetInputsApi.getInput(t,r);e((e=>({inputs:e.inputs.map((e=>e.id===r?o.data:e))})))}catch(o){e({error:o instanceof Error?o.message:"Failed to refresh input"})}},loadOutputs:async t=>{e({isLoadingOutputs:!0,error:null});try{const r=await bacnetOutputsApi.getOutputs(t);e({outputs:r.data,isLoadingOutputs:!1})}catch(r){e({isLoadingOutputs:!1,error:r instanceof Error?r.message:"Failed to load outputs"})}},updateOutput:async(t,r,o)=>{try{await bacnetOutputsApi.updateOutput(t,r,o),e((e=>({outputs:e.outputs.map((e=>e.id===r?{...e,...o}:e))})))}catch(a){e({error:a instanceof Error?a.message:"Failed to update output"})}},refreshOutput:async(t,r)=>{try{const o=await bacnetOutputsApi.getOutput(t,r);e((e=>({outputs:e.outputs.map((e=>e.id===r?o.data:e))})))}catch(o){e({error:o instanceof Error?o.message:"Failed to refresh output"})}},loadVariables:async t=>{e({isLoadingVariables:!0,error:null});try{const r=await bacnetVariablesApi.getVariables(t);e({variables:r.data,isLoadingVariables:!1})}catch(r){e({isLoadingVariables:!1,error:r instanceof Error?r.message:"Failed to load variables"})}},updateVariable:async(t,r,o)=>{try{await bacnetVariablesApi.updateVariable(t,r,o),e((e=>({variables:e.variables.map((e=>e.id===r?{...e,...o}:e))})))}catch(a){e({error:a instanceof Error?a.message:"Failed to update variable"})}},refreshVariable:async(t,r)=>{try{const o=await bacnetVariablesApi.getVariable(t,r);e((e=>({variables:e.variables.map((e=>e.id===r?o.data:e))})))}catch(o){e({error:o instanceof Error?o.message:"Failed to refresh variable"})}},loadPrograms:async t=>{e({isLoadingPrograms:!0,error:null});try{const r=await bacnetProgramsApi.getPrograms(t);e({programs:r.data,isLoadingPrograms:!1})}catch(r){e({isLoadingPrograms:!1,error:r instanceof Error?r.message:"Failed to load programs"})}},updateProgram:async(t,r,o)=>{try{await bacnetProgramsApi.updateProgram(t,r,{code:o}),e((e=>({programs:e.programs.map((e=>e.id===r?{...e,code:o}:e))})))}catch(a){e({error:a instanceof Error?a.message:"Failed to update program"})}},loadControllers:async t=>{e({isLoadingControllers:!0,error:null});try{const r=await bacnetControllersApi.getControllers(t);e({controllers:r.data,isLoadingControllers:!1})}catch(r){e({isLoadingControllers:!1,error:r instanceof Error?r.message:"Failed to load controllers"})}},updateController:async(t,r,o)=>{try{await bacnetControllersApi.updateController(t,r,o),e((e=>({controllers:e.controllers.map((e=>e.id===r?{...e,...o}:e))})))}catch(a){e({error:a instanceof Error?a.message:"Failed to update controller"})}},loadSchedules:async t=>{try{const r=await bacnetSchedulesApi.getSchedules(t);e({schedules:r.data})}catch(r){e({error:r instanceof Error?r.message:"Failed to load schedules"})}},loadTrendLogs:async t=>{try{const r=await bacnetTrendsApi.getTrendLogs(t);e({trendLogs:r.data})}catch(r){e({error:r instanceof Error?r.message:"Failed to load trend logs"})}},loadAlarms:async t=>{try{const r=await bacnetAlarmsApi.getAlarms(t);e({alarms:r.data})}catch(r){e({error:r instanceof Error?r.message:"Failed to load alarms"})}},loadGraphics:async t=>{try{const r=await bacnetGraphicsApi.getGraphics(t);e({graphics:r.data})}catch(r){e({error:r instanceof Error?r.message:"Failed to load graphics"})}},clearCache:()=>{e({inputs:[],outputs:[],variables:[],programs:[],controllers:[],schedules:[],trendLogs:[],alarms:[],graphics:[]})},reset:()=>{e(wT)}})),{name:"BacnetStore"}));const kT={devices:[],registers:new Map,isPolling:!1,pollingInterval:5e3,lastPollTime:null,isLoadingDevices:!1,isLoadingRegisters:!1,error:null};zz()(Cz(((e,t)=>({...kT,loadDevices:async()=>{e({isLoadingDevices:!0,error:null});try{const t=await modbusDevicesApi.discoverDevices("modbus-tcp");e({devices:t.data||[],isLoadingDevices:!1})}catch(t){e({isLoadingDevices:!1,error:t instanceof Error?t.message:"Failed to load Modbus devices"})}},addDevice:t=>{e((e=>({devices:[...e.devices,t]})))},updateDevice:(t,r)=>{e((e=>({devices:e.devices.map((e=>e.id===t?{...e,...r}:e))})))},removeDevice:t=>{e((e=>{const r=new Map(e.registers);return r.delete(t),{devices:e.devices.filter((e=>e.id!==t)),registers:r}}))},loadRegisters:async t=>{e({isLoadingRegisters:!0,error:null});try{const r=await modbusRegistersApi.getRegisters(t);e((e=>{const o=new Map(e.registers);return o.set(t,r.data||[]),{registers:o,isLoadingRegisters:!1}}))}catch(r){e({isLoadingRegisters:!1,error:r instanceof Error?r.message:"Failed to load registers"})}},updateRegister:async(t,r,o)=>{try{await modbusRegistersApi.updateRegister(t,String(r),{value:o}),e((e=>{const a=e.registers.get(t);if(!a)return e;const n=new Map(e.registers);return n.set(t,a.map((e=>e.address===r?{...e,value:o}:e))),{registers:n}}))}catch(a){e({error:a instanceof Error?a.message:"Failed to update register"})}},refreshRegister:async(t,r)=>{try{const o=await modbusRegistersApi.getRegisters(t);e((e=>{const a=e.registers.get(t);if(!a)return e;const n=new Map(e.registers);return n.set(t,a.map((e=>{var t;const a=null==(t=o.data)?void 0:t.find((e=>e.address===r));return e.address===r&&a?{...e,...a}:e}))),{registers:n}}))}catch(o){e({error:o instanceof Error?o.message:"Failed to refresh register"})}},startPolling:()=>{t().isPolling||(e({isPolling:!0}),setInterval((()=>{t().pollAllDevices()}),t().pollingInterval))},stopPolling:()=>{e({isPolling:!1})},setPollingInterval:r=>{e({pollingInterval:r}),t().isPolling&&(t().stopPolling(),t().startPolling())},pollAllDevices:async()=>{try{const r=t().devices;for(const e of r);e((()=>({lastPollTime:Date.now()})))}catch(r){e({error:r instanceof Error?r.message:"Polling failed"})}},getDevice:e=>t().devices.find((t=>t.id===e)),getRegisters:e=>t().registers.get(e)||[],getRegister:(e,r)=>{const o=t().registers.get(e);return null==o?void 0:o.find((e=>e.address===r))},clearCache:()=>{e({devices:[],registers:new Map})},reset:()=>{t().stopPolling(),e(kT)}})),{name:"ModbusStore"}));const BT={activeAlarms:[],alarmHistory:[],filter:{},sortBy:"timestamp",sortOrder:"desc",selectedAlarmId:null,isLoading:!1,error:null};zz()(Cz(((e,t)=>({...BT,loadActiveAlarms:async t=>{e({isLoading:!0,error:null});try{const r=await bacnetAlarmsApi.getActiveAlarms(t);e({activeAlarms:r.data||[],isLoading:!1})}catch(r){e({isLoading:!1,error:r instanceof Error?r.message:"Failed to load alarms"})}},loadAlarmHistory:async(t,r,o)=>{if(t){e({isLoading:!0,error:null});try{const a=await bacnetAlarmsApi.getAlarmRecords(t,{startDate:r,endDate:o});e({alarmHistory:a.data||[],isLoading:!1})}catch(a){e({isLoading:!1,error:a instanceof Error?a.message:"Failed to load alarm history"})}}else e({error:"Device ID is required"})},acknowledgeAlarm:async(t,r,o)=>{try{await bacnetAlarmsApi.acknowledgeAlarm(t,r,o),e((e=>({activeAlarms:e.activeAlarms.map((e=>e.id===o?{...e,status:"acknowledged"}:e))})))}catch(a){e({error:a instanceof Error?a.message:"Failed to acknowledge alarm"})}},acknowledgeAll:async r=>{try{const{activeAlarms:o}=t(),a=o.filter((e=>"active"===e.status)).map((e=>bacnetAlarmsApi.acknowledgeAlarm(r,e.objectId,e.id)));await Promise.all(a),e((e=>({activeAlarms:e.activeAlarms.map((e=>({...e,status:"acknowledged"})))})))}catch(o){e({error:o instanceof Error?o.message:"Failed to acknowledge all alarms"})}},clearAlarm:async(t,r,o)=>{try{await bacnetAlarmsApi.clearAlarm(t,r,o),e((e=>({activeAlarms:e.activeAlarms.filter((e=>e.id!==o))})))}catch(a){e({error:a instanceof Error?a.message:"Failed to clear alarm"})}},setFilter:t=>{e((e=>({filter:{...e.filter,...t}})))},clearFilter:()=>{e({filter:{}})},setSortBy:t=>{e({sortBy:t})},setSortOrder:t=>{e({sortOrder:t})},selectAlarm:t=>{e({selectedAlarmId:t})},getFilteredAlarms:()=>{const{activeAlarms:e,filter:r,sortBy:o,sortOrder:a}=t();let n=[...e];if(r.severity&&r.severity.length>0){const e={critical:[1,4],high:[5,8],medium:[9,12],low:[13,16]};n=n.filter((t=>r.severity.some((r=>{const[o,a]=e[r];return t.priority>=o&&t.priority<=a}))))}if(r.status&&r.status.length>0&&(n=n.filter((e=>r.status.includes(e.status)))),r.deviceId&&(n=n.filter((e=>e.deviceId===r.deviceId))),r.searchText){const e=r.searchText.toLowerCase();n=n.filter((t=>{var r;return t.message.toLowerCase().includes(e)||(null==(r=t.deviceName)?void 0:r.toLowerCase().includes(e))}))}return n.sort(((e,t)=>{let r=0;switch(o){case"timestamp":r=new Date(e.timestamp).getTime()-new Date(t.timestamp).getTime();break;case"severity":r=e.priority-t.priority;break;case"device":r=(e.deviceName||"").localeCompare(t.deviceName||"")}return"asc"===a?r:-r})),n},getUnacknowledgedCount:()=>t().activeAlarms.filter((e=>"active"===e.status)).length,getCriticalAlarmsCount:()=>t().activeAlarms.filter((e=>e.priority>=1&&e.priority<=4)).length,getAlarmsByDevice:e=>t().activeAlarms.filter((t=>t.deviceId===e)),reset:()=>{e(BT)}})),{name:"AlarmStore"}));const ST={trendLogs:[],trendData:new Map,currentDeviceId:null,chartConfigs:[],timeRange:{start:new Date(Date.now()-864e5),end:new Date},autoRefresh:!1,refreshInterval:6e4,selectedTrendId:null,isLoading:!1,isLoadingData:!1,error:null};zz()(Cz(((e,t)=>({...ST,loadTrendLogs:async t=>{e({isLoading:!0,error:null,currentDeviceId:t});try{const r=await bacnetTrendsApi.getTrendLogs(t);e({trendLogs:r.data||[],isLoading:!1})}catch(r){e({isLoading:!1,error:r instanceof Error?r.message:"Failed to load trend logs"})}},loadTrendData:async(r,o,a,n)=>{e({isLoadingData:!0,error:null});try{const{timeRange:i}=t(),s=a||i.start,l=n||i.end,c=await bacnetTrendsApi.getTrendData(r,o,s,l);e((e=>{const t=new Map(e.trendData);return t.set(o,c.data||[]),{trendData:t,isLoadingData:!1}}))}catch(i){e({isLoadingData:!1,error:i instanceof Error?i.message:"Failed to load trend data"})}},loadMultipleTrends:async(r,o)=>{e({isLoadingData:!0,error:null});try{const{timeRange:a}=t(),n=o.map((e=>bacnetTrendsApi.getTrendData(r,e,a.start,a.end))),i=await Promise.all(n);e((e=>{const t=new Map(e.trendData);return o.forEach(((e,r)=>{t.set(e,i[r].data||[])})),{trendData:t,isLoadingData:!1}}))}catch(a){e({isLoadingData:!1,error:a instanceof Error?a.message:"Failed to load multiple trends"})}},refreshTrendData:async(e,r)=>{await t().loadTrendData(e,r)},addToChart:(r,o)=>{e((e=>{if(e.chartConfigs.some((e=>e.trendLogId===r)))return e;const t=["#1890ff","#52c41a","#faad14","#f5222d","#722ed1","#13c2c2"],a=t[e.chartConfigs.length%t.length],n={trendLogId:r,color:a,visible:!0,yAxisId:"left",...o};return{chartConfigs:[...e.chartConfigs,n]}}));const{currentDeviceId:a}=t();a&&t().loadTrendData(a,r)},removeFromChart:t=>{e((e=>({chartConfigs:e.chartConfigs.filter((e=>e.trendLogId!==t))})))},updateChartConfig:(t,r)=>{e((e=>({chartConfigs:e.chartConfigs.map((e=>e.trendLogId===t?{...e,...r}:e))})))},clearChart:()=>{e({chartConfigs:[],trendData:new Map})},setTimeRange:(r,o)=>{e({timeRange:{start:r,end:o}});const{currentDeviceId:a,getVisibleTrends:n}=t(),i=n();a&&i.length>0&&t().loadMultipleTrends(a,i.map((e=>e.trendLogId)))},setTimeRangePreset:e=>{const r=new Date;let o;switch(e){case"hour":o=new Date(r.getTime()-36e5);break;case"day":o=new Date(r.getTime()-864e5);break;case"week":o=new Date(r.getTime()-6048e5);break;case"month":o=new Date(r.getTime()-2592e6);break;case"year":o=new Date(r.getTime()-31536e6)}t().setTimeRange(o,r)},setAutoRefresh:t=>{e({autoRefresh:t})},setRefreshInterval:r=>{e({refreshInterval:r}),t().autoRefresh&&(t().setAutoRefresh(!1),t().setAutoRefresh(!0))},selectTrend:t=>{e({selectedTrendId:t})},getChartData:()=>{const{chartConfigs:e,trendData:r}=t();return e.map((e=>({trendLogId:e.trendLogId,data:r.get(e.trendLogId)||[],config:e})))},getVisibleTrends:()=>t().chartConfigs.filter((e=>e.visible)),exportToCSV:async r=>{try{const{trendData:e,trendLogs:o}=t();let a="Timestamp";r.forEach((e=>{const t=o.find((t=>t.id===e));a+=`,${(null==t?void 0:t.name)||`Trend ${e}`}`})),a+="\n";const n=new Set;r.forEach((t=>{(e.get(t)||[]).forEach((e=>n.add(new Date(e.timestamp).getTime())))}));return Array.from(n).sort().forEach((t=>{a+=new Date(t).toISOString(),r.forEach((r=>{var o;const n=(e.get(r)||[]).find((e=>new Date(e.timestamp).getTime()===t));a+=`,${null!=(o=null==n?void 0:n.value)?o:""}`})),a+="\n"})),a}catch(o){return e({error:o instanceof Error?o.message:"Export failed"}),""}},clearCache:()=>{e({trendLogs:[],trendData:new Map,chartConfigs:[]})},reset:()=>{e(ST)}})),{name:"TrendStore"}));const _T={activeWindow:Mz,windowHistory:[Mz],isLeftPanelVisible:!0,isRightPanelVisible:!1,leftPanelWidth:250,rightPanelWidth:300,activeDialog:null,dialogStack:[],isFullscreen:!1,theme:"light",isDrawerOpen:!1,globalMessage:null},NT=zz()(Cz(Az(((e,t)=>({..._T,setActiveWindow:t=>{e((e=>{if(e.activeWindow===t)return e;const r=[...e.windowHistory,t];return r.length>50&&r.shift(),{activeWindow:t,windowHistory:r}}))},goBack:()=>{e((e=>{if(e.windowHistory.length<=1)return e;const t=[...e.windowHistory];t.pop();return{activeWindow:t[t.length-1],windowHistory:t}}))},goForward:()=>{},canGoBack:()=>t().windowHistory.length>1,canGoForward:()=>!1,toggleLeftPanel:()=>{e((e=>({isLeftPanelVisible:!e.isLeftPanelVisible})))},toggleRightPanel:()=>{e((e=>({isRightPanelVisible:!e.isRightPanelVisible})))},setLeftPanelVisible:t=>{e({isLeftPanelVisible:t})},setRightPanelVisible:t=>{e({isRightPanelVisible:t})},setLeftPanelWidth:t=>{e({leftPanelWidth:Math.max(200,Math.min(t,500))})},setRightPanelWidth:t=>{e({rightPanelWidth:Math.max(250,Math.min(t,600))})},openDialog:(t,r)=>{e((e=>{const o={id:t,props:r};return{activeDialog:o,dialogStack:[...e.dialogStack,o]}}))},closeDialog:()=>{e((e=>{const t=[...e.dialogStack];t.pop();return{activeDialog:t[t.length-1]||null,dialogStack:t}}))},closeAllDialogs:()=>{e({activeDialog:null,dialogStack:[]})},toggleFullscreen:()=>{e((e=>({isFullscreen:!e.isFullscreen})))},setTheme:t=>{e({theme:t})},openDrawer:()=>e({isDrawerOpen:!0}),closeDrawer:()=>e({isDrawerOpen:!1}),toggleDrawer:()=>e((e=>({isDrawerOpen:!e.isDrawerOpen}))),setGlobalMessage:t=>{e({globalMessage:t})},dismissGlobalMessage:()=>{e({globalMessage:null})},isWindowActive:e=>t().activeWindow===e,hasActiveDialog:()=>null!==t().activeDialog,reset:()=>{e(_T)}})),{name:"t3000-ui-store",partialize:e=>({isLeftPanelVisible:e.isLeftPanelVisible,isRightPanelVisible:e.isRightPanelVisible,leftPanelWidth:e.leftPanelWidth,rightPanelWidth:e.rightPanelWidth,theme:e.theme})}),{name:"UiStore"})),zT={user:null,token:null,isAuthenticated:!1,isLoading:!1,error:null,sessionTimeout:18e5,lastActivity:null},jT=zz()(Cz(Az(((e,t)=>({...zT,login:async t=>{e({isLoading:!0,error:null});try{const r=await authApi.login(t);e({user:r.data.user,token:r.data.token,isAuthenticated:!0,isLoading:!1,lastActivity:Date.now()})}catch(r){throw e({isLoading:!1,error:r instanceof Error?r.message:"Login failed"}),r}},logout:async()=>{try{await authApi.logout()}catch(t){}finally{e({user:null,token:null,isAuthenticated:!1,lastActivity:null,error:null})}},refreshToken:async()=>{try{const t=await authApi.refreshToken();e({token:t.data.token,lastActivity:Date.now()})}catch(r){throw t().logout(),r}},validateSession:async()=>{if(!t().isAuthenticated)return!1;try{return(await authApi.validateSession()).data.valid?(e({lastActivity:Date.now()}),!0):(t().logout(),!1)}catch(r){return t().logout(),!1}},updateProfile:async t=>{e({isLoading:!0,error:null});try{const r=await authApi.updateProfile(t);e({user:r.data,isLoading:!1})}catch(r){throw e({isLoading:!1,error:r instanceof Error?r.message:"Failed to update profile"}),r}},changePassword:async(t,r)=>{e({isLoading:!0,error:null});try{await authApi.changePassword({currentPassword:t,newPassword:r}),e({isLoading:!1})}catch(o){throw e({isLoading:!1,error:o instanceof Error?o.message:"Failed to change password"}),o}},hasPermission:e=>{var r,o;const{user:a}=t();return!!a&&(null!=(o=null==(r=a.permissions)?void 0:r.includes(e))&&o)},hasRole:e=>{const{user:r}=t();return!!r&&r.role===e},canAccessWindow:e=>{const{user:r}=t();return!!r&&(r.role,!0)},updateActivity:()=>{e({lastActivity:Date.now()})},checkSessionTimeout:()=>{const{lastActivity:e,sessionTimeout:r,isAuthenticated:o}=t();if(!o||!e)return!1;return Date.now()-e>r&&(t().logout(),!0)},setSessionTimeout:t=>{e({sessionTimeout:t})},reset:()=>{e({user:null,token:null,isAuthenticated:!1,lastActivity:null,error:null})}})),{name:"t3000-auth-store",partialize:e=>({user:e.user,token:e.token,isAuthenticated:e.isAuthenticated,sessionTimeout:e.sessionTimeout})}),{name:"AuthStore"}));function TT(){return"undefined"!=typeof window&&window.innerWidth<1200?"mobile":"desktop"}const CT=()=>{const[e,t]=s.exports.useState(TT);return s.exports.useEffect((()=>{let e;const r=()=>{clearTimeout(e),e=setTimeout((()=>t(TT())),150)};return window.addEventListener("resize",r),window.addEventListener("orientationchange",r),()=>{window.removeEventListener("resize",r),window.removeEventListener("orientationchange",r),clearTimeout(e)}}),[]),e},DT=({desktopComponent:e,mobileComponent:t,tabletComponent:r})=>{const o=CT();return"mobile"===o?i.exports.jsx(t,{}):"tablet"===o&&r?i.exports.jsx(r,{}):i.exports.jsx(e,{})},PT=(e,t,r)=>()=>i.exports.jsx(DT,{desktopComponent:e,mobileComponent:t,tabletComponent:r}),ET=s.exports.lazy((()=>a((()=>import("./index.0076cf02.js")),["assets/index.0076cf02.js","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/DashboardPage.070bc7b9.js","assets/DashboardPage.2e5e8c72.css","assets/index.e8ef0632.js","assets/install.00f124f0.js","assets/InputsPage.010957b8.js","assets/InputsPage.02864dcf.css","assets/InputsPageMobile.c6b15b66.js","assets/PointListRow.d4bc463d.js","assets/Input.e29b7530.js","assets/RadioGroup.90a62937.js","assets/RangeSelectionDrawer.module.485a5c07.js","assets/RangeSelectionDrawer.module.a136fdb6.css","assets/DataGridHeaderCell.9868eb08.js","assets/TableCellLayout.f210f422.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js","assets/OutputsPage.182ada03.js","assets/OutputsPage.db2c4759.css","assets/OutputsPageMobile.e6ff300b.js","assets/VariablesPage.f62bc088.js","assets/VariablesPage.36b2979b.css","assets/VariablesPageMobile.a7690002.js","assets/ProgramsPage.a891f3e5.js","assets/ProgramsPage.4254e945.css","assets/index.2cf43efd.js","assets/PIDLoopsPage.135a8e0b.js","assets/PIDLoopsPage.7d25aa11.css","assets/SchedulesPage.41ddcba6.js","assets/SchedulesPage.f47aa1d2.css","assets/HolidaysPage.8277e8a4.js","assets/HolidaysPage.672ca775.css","assets/TrendLogsPage.a3fccab9.js","assets/TrendLogsPage.64043263.css","assets/Tag.39b4dd31.js","assets/AlarmsPage.f7e4bf4f.js","assets/AlarmsPage.46114273.css","assets/AlarmsPageMobile.19efb743.js","assets/SettingsPage.dde7d09d.js","assets/SettingsPage.71ed5aa6.css","assets/ExpansionIOTab.66ca2798.js","assets/NetworkPage.4bd5047f.js","assets/NetworkPage.30584e09.css","assets/ArrayPage.51bd5a62.js","assets/ArrayPage.8de5a565.css","assets/GraphicsPage.eca8c10f.js","assets/GraphicsPage.c1cd73ea.css","assets/DiscoverPage.b9b4ae43.js","assets/DiscoverPage.1c8bddb3.css","assets/BuildingsPage.18a91704.js","assets/BuildingsPage.a839c88a.css"]).then((e=>({default:e.HomePage}))))),AT=s.exports.lazy((()=>a((()=>import("./index.0076cf02.js")),["assets/index.0076cf02.js","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/DashboardPage.070bc7b9.js","assets/DashboardPage.2e5e8c72.css","assets/index.e8ef0632.js","assets/install.00f124f0.js","assets/InputsPage.010957b8.js","assets/InputsPage.02864dcf.css","assets/InputsPageMobile.c6b15b66.js","assets/PointListRow.d4bc463d.js","assets/Input.e29b7530.js","assets/RadioGroup.90a62937.js","assets/RangeSelectionDrawer.module.485a5c07.js","assets/RangeSelectionDrawer.module.a136fdb6.css","assets/DataGridHeaderCell.9868eb08.js","assets/TableCellLayout.f210f422.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js","assets/OutputsPage.182ada03.js","assets/OutputsPage.db2c4759.css","assets/OutputsPageMobile.e6ff300b.js","assets/VariablesPage.f62bc088.js","assets/VariablesPage.36b2979b.css","assets/VariablesPageMobile.a7690002.js","assets/ProgramsPage.a891f3e5.js","assets/ProgramsPage.4254e945.css","assets/index.2cf43efd.js","assets/PIDLoopsPage.135a8e0b.js","assets/PIDLoopsPage.7d25aa11.css","assets/SchedulesPage.41ddcba6.js","assets/SchedulesPage.f47aa1d2.css","assets/HolidaysPage.8277e8a4.js","assets/HolidaysPage.672ca775.css","assets/TrendLogsPage.a3fccab9.js","assets/TrendLogsPage.64043263.css","assets/Tag.39b4dd31.js","assets/AlarmsPage.f7e4bf4f.js","assets/AlarmsPage.46114273.css","assets/AlarmsPageMobile.19efb743.js","assets/SettingsPage.dde7d09d.js","assets/SettingsPage.71ed5aa6.css","assets/ExpansionIOTab.66ca2798.js","assets/NetworkPage.4bd5047f.js","assets/NetworkPage.30584e09.css","assets/ArrayPage.51bd5a62.js","assets/ArrayPage.8de5a565.css","assets/GraphicsPage.eca8c10f.js","assets/GraphicsPage.c1cd73ea.css","assets/DiscoverPage.b9b4ae43.js","assets/DiscoverPage.1c8bddb3.css","assets/BuildingsPage.18a91704.js","assets/BuildingsPage.a839c88a.css"]).then((e=>({default:e.DashboardPage})))));s.exports.lazy((()=>a((()=>import("./index.0076cf02.js")),["assets/index.0076cf02.js","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/DashboardPage.070bc7b9.js","assets/DashboardPage.2e5e8c72.css","assets/index.e8ef0632.js","assets/install.00f124f0.js","assets/InputsPage.010957b8.js","assets/InputsPage.02864dcf.css","assets/InputsPageMobile.c6b15b66.js","assets/PointListRow.d4bc463d.js","assets/Input.e29b7530.js","assets/RadioGroup.90a62937.js","assets/RangeSelectionDrawer.module.485a5c07.js","assets/RangeSelectionDrawer.module.a136fdb6.css","assets/DataGridHeaderCell.9868eb08.js","assets/TableCellLayout.f210f422.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js","assets/OutputsPage.182ada03.js","assets/OutputsPage.db2c4759.css","assets/OutputsPageMobile.e6ff300b.js","assets/VariablesPage.f62bc088.js","assets/VariablesPage.36b2979b.css","assets/VariablesPageMobile.a7690002.js","assets/ProgramsPage.a891f3e5.js","assets/ProgramsPage.4254e945.css","assets/index.2cf43efd.js","assets/PIDLoopsPage.135a8e0b.js","assets/PIDLoopsPage.7d25aa11.css","assets/SchedulesPage.41ddcba6.js","assets/SchedulesPage.f47aa1d2.css","assets/HolidaysPage.8277e8a4.js","assets/HolidaysPage.672ca775.css","assets/TrendLogsPage.a3fccab9.js","assets/TrendLogsPage.64043263.css","assets/Tag.39b4dd31.js","assets/AlarmsPage.f7e4bf4f.js","assets/AlarmsPage.46114273.css","assets/AlarmsPageMobile.19efb743.js","assets/SettingsPage.dde7d09d.js","assets/SettingsPage.71ed5aa6.css","assets/ExpansionIOTab.66ca2798.js","assets/NetworkPage.4bd5047f.js","assets/NetworkPage.30584e09.css","assets/ArrayPage.51bd5a62.js","assets/ArrayPage.8de5a565.css","assets/GraphicsPage.eca8c10f.js","assets/GraphicsPage.c1cd73ea.css","assets/DiscoverPage.b9b4ae43.js","assets/DiscoverPage.1c8bddb3.css","assets/BuildingsPage.18a91704.js","assets/BuildingsPage.a839c88a.css"]).then((e=>({default:e.InputsPage}))))),s.exports.lazy((()=>a((()=>import("./InputsPageMobile.c6b15b66.js").then((function(e){return e.b}))),["assets/InputsPageMobile.c6b15b66.js","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/PointListRow.d4bc463d.js","assets/Input.e29b7530.js","assets/RadioGroup.90a62937.js"]).then((e=>({default:e.InputsPageMobile}))))),s.exports.lazy((()=>a((()=>import("./index.0076cf02.js")),["assets/index.0076cf02.js","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/DashboardPage.070bc7b9.js","assets/DashboardPage.2e5e8c72.css","assets/index.e8ef0632.js","assets/install.00f124f0.js","assets/InputsPage.010957b8.js","assets/InputsPage.02864dcf.css","assets/InputsPageMobile.c6b15b66.js","assets/PointListRow.d4bc463d.js","assets/Input.e29b7530.js","assets/RadioGroup.90a62937.js","assets/RangeSelectionDrawer.module.485a5c07.js","assets/RangeSelectionDrawer.module.a136fdb6.css","assets/DataGridHeaderCell.9868eb08.js","assets/TableCellLayout.f210f422.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js","assets/OutputsPage.182ada03.js","assets/OutputsPage.db2c4759.css","assets/OutputsPageMobile.e6ff300b.js","assets/VariablesPage.f62bc088.js","assets/VariablesPage.36b2979b.css","assets/VariablesPageMobile.a7690002.js","assets/ProgramsPage.a891f3e5.js","assets/ProgramsPage.4254e945.css","assets/index.2cf43efd.js","assets/PIDLoopsPage.135a8e0b.js","assets/PIDLoopsPage.7d25aa11.css","assets/SchedulesPage.41ddcba6.js","assets/SchedulesPage.f47aa1d2.css","assets/HolidaysPage.8277e8a4.js","assets/HolidaysPage.672ca775.css","assets/TrendLogsPage.a3fccab9.js","assets/TrendLogsPage.64043263.css","assets/Tag.39b4dd31.js","assets/AlarmsPage.f7e4bf4f.js","assets/AlarmsPage.46114273.css","assets/AlarmsPageMobile.19efb743.js","assets/SettingsPage.dde7d09d.js","assets/SettingsPage.71ed5aa6.css","assets/ExpansionIOTab.66ca2798.js","assets/NetworkPage.4bd5047f.js","assets/NetworkPage.30584e09.css","assets/ArrayPage.51bd5a62.js","assets/ArrayPage.8de5a565.css","assets/GraphicsPage.eca8c10f.js","assets/GraphicsPage.c1cd73ea.css","assets/DiscoverPage.b9b4ae43.js","assets/DiscoverPage.1c8bddb3.css","assets/BuildingsPage.18a91704.js","assets/BuildingsPage.a839c88a.css"]).then((e=>({default:e.OutputsPage}))))),s.exports.lazy((()=>a((()=>import("./index.0076cf02.js")),["assets/index.0076cf02.js","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/DashboardPage.070bc7b9.js","assets/DashboardPage.2e5e8c72.css","assets/index.e8ef0632.js","assets/install.00f124f0.js","assets/InputsPage.010957b8.js","assets/InputsPage.02864dcf.css","assets/InputsPageMobile.c6b15b66.js","assets/PointListRow.d4bc463d.js","assets/Input.e29b7530.js","assets/RadioGroup.90a62937.js","assets/RangeSelectionDrawer.module.485a5c07.js","assets/RangeSelectionDrawer.module.a136fdb6.css","assets/DataGridHeaderCell.9868eb08.js","assets/TableCellLayout.f210f422.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js","assets/OutputsPage.182ada03.js","assets/OutputsPage.db2c4759.css","assets/OutputsPageMobile.e6ff300b.js","assets/VariablesPage.f62bc088.js","assets/VariablesPage.36b2979b.css","assets/VariablesPageMobile.a7690002.js","assets/ProgramsPage.a891f3e5.js","assets/ProgramsPage.4254e945.css","assets/index.2cf43efd.js","assets/PIDLoopsPage.135a8e0b.js","assets/PIDLoopsPage.7d25aa11.css","assets/SchedulesPage.41ddcba6.js","assets/SchedulesPage.f47aa1d2.css","assets/HolidaysPage.8277e8a4.js","assets/HolidaysPage.672ca775.css","assets/TrendLogsPage.a3fccab9.js","assets/TrendLogsPage.64043263.css","assets/Tag.39b4dd31.js","assets/AlarmsPage.f7e4bf4f.js","assets/AlarmsPage.46114273.css","assets/AlarmsPageMobile.19efb743.js","assets/SettingsPage.dde7d09d.js","assets/SettingsPage.71ed5aa6.css","assets/ExpansionIOTab.66ca2798.js","assets/NetworkPage.4bd5047f.js","assets/NetworkPage.30584e09.css","assets/ArrayPage.51bd5a62.js","assets/ArrayPage.8de5a565.css","assets/GraphicsPage.eca8c10f.js","assets/GraphicsPage.c1cd73ea.css","assets/DiscoverPage.b9b4ae43.js","assets/DiscoverPage.1c8bddb3.css","assets/BuildingsPage.18a91704.js","assets/BuildingsPage.a839c88a.css"]).then((e=>({default:e.VariablesPage})))));const FT=s.exports.lazy((()=>a((()=>import("./index.0076cf02.js")),["assets/index.0076cf02.js","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/DashboardPage.070bc7b9.js","assets/DashboardPage.2e5e8c72.css","assets/index.e8ef0632.js","assets/install.00f124f0.js","assets/InputsPage.010957b8.js","assets/InputsPage.02864dcf.css","assets/InputsPageMobile.c6b15b66.js","assets/PointListRow.d4bc463d.js","assets/Input.e29b7530.js","assets/RadioGroup.90a62937.js","assets/RangeSelectionDrawer.module.485a5c07.js","assets/RangeSelectionDrawer.module.a136fdb6.css","assets/DataGridHeaderCell.9868eb08.js","assets/TableCellLayout.f210f422.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js","assets/OutputsPage.182ada03.js","assets/OutputsPage.db2c4759.css","assets/OutputsPageMobile.e6ff300b.js","assets/VariablesPage.f62bc088.js","assets/VariablesPage.36b2979b.css","assets/VariablesPageMobile.a7690002.js","assets/ProgramsPage.a891f3e5.js","assets/ProgramsPage.4254e945.css","assets/index.2cf43efd.js","assets/PIDLoopsPage.135a8e0b.js","assets/PIDLoopsPage.7d25aa11.css","assets/SchedulesPage.41ddcba6.js","assets/SchedulesPage.f47aa1d2.css","assets/HolidaysPage.8277e8a4.js","assets/HolidaysPage.672ca775.css","assets/TrendLogsPage.a3fccab9.js","assets/TrendLogsPage.64043263.css","assets/Tag.39b4dd31.js","assets/AlarmsPage.f7e4bf4f.js","assets/AlarmsPage.46114273.css","assets/AlarmsPageMobile.19efb743.js","assets/SettingsPage.dde7d09d.js","assets/SettingsPage.71ed5aa6.css","assets/ExpansionIOTab.66ca2798.js","assets/NetworkPage.4bd5047f.js","assets/NetworkPage.30584e09.css","assets/ArrayPage.51bd5a62.js","assets/ArrayPage.8de5a565.css","assets/GraphicsPage.eca8c10f.js","assets/GraphicsPage.c1cd73ea.css","assets/DiscoverPage.b9b4ae43.js","assets/DiscoverPage.1c8bddb3.css","assets/BuildingsPage.18a91704.js","assets/BuildingsPage.a839c88a.css"]).then((e=>({default:e.ProgramsPage}))))),RT=s.exports.lazy((()=>a((()=>import("./index.0076cf02.js")),["assets/index.0076cf02.js","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/DashboardPage.070bc7b9.js","assets/DashboardPage.2e5e8c72.css","assets/index.e8ef0632.js","assets/install.00f124f0.js","assets/InputsPage.010957b8.js","assets/InputsPage.02864dcf.css","assets/InputsPageMobile.c6b15b66.js","assets/PointListRow.d4bc463d.js","assets/Input.e29b7530.js","assets/RadioGroup.90a62937.js","assets/RangeSelectionDrawer.module.485a5c07.js","assets/RangeSelectionDrawer.module.a136fdb6.css","assets/DataGridHeaderCell.9868eb08.js","assets/TableCellLayout.f210f422.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js","assets/OutputsPage.182ada03.js","assets/OutputsPage.db2c4759.css","assets/OutputsPageMobile.e6ff300b.js","assets/VariablesPage.f62bc088.js","assets/VariablesPage.36b2979b.css","assets/VariablesPageMobile.a7690002.js","assets/ProgramsPage.a891f3e5.js","assets/ProgramsPage.4254e945.css","assets/index.2cf43efd.js","assets/PIDLoopsPage.135a8e0b.js","assets/PIDLoopsPage.7d25aa11.css","assets/SchedulesPage.41ddcba6.js","assets/SchedulesPage.f47aa1d2.css","assets/HolidaysPage.8277e8a4.js","assets/HolidaysPage.672ca775.css","assets/TrendLogsPage.a3fccab9.js","assets/TrendLogsPage.64043263.css","assets/Tag.39b4dd31.js","assets/AlarmsPage.f7e4bf4f.js","assets/AlarmsPage.46114273.css","assets/AlarmsPageMobile.19efb743.js","assets/SettingsPage.dde7d09d.js","assets/SettingsPage.71ed5aa6.css","assets/ExpansionIOTab.66ca2798.js","assets/NetworkPage.4bd5047f.js","assets/NetworkPage.30584e09.css","assets/ArrayPage.51bd5a62.js","assets/ArrayPage.8de5a565.css","assets/GraphicsPage.eca8c10f.js","assets/GraphicsPage.c1cd73ea.css","assets/DiscoverPage.b9b4ae43.js","assets/DiscoverPage.1c8bddb3.css","assets/BuildingsPage.18a91704.js","assets/BuildingsPage.a839c88a.css"]).then((e=>({default:e.PIDLoopsPage}))))),IT=s.exports.lazy((()=>a((()=>import("./index.0076cf02.js")),["assets/index.0076cf02.js","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/DashboardPage.070bc7b9.js","assets/DashboardPage.2e5e8c72.css","assets/index.e8ef0632.js","assets/install.00f124f0.js","assets/InputsPage.010957b8.js","assets/InputsPage.02864dcf.css","assets/InputsPageMobile.c6b15b66.js","assets/PointListRow.d4bc463d.js","assets/Input.e29b7530.js","assets/RadioGroup.90a62937.js","assets/RangeSelectionDrawer.module.485a5c07.js","assets/RangeSelectionDrawer.module.a136fdb6.css","assets/DataGridHeaderCell.9868eb08.js","assets/TableCellLayout.f210f422.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js","assets/OutputsPage.182ada03.js","assets/OutputsPage.db2c4759.css","assets/OutputsPageMobile.e6ff300b.js","assets/VariablesPage.f62bc088.js","assets/VariablesPage.36b2979b.css","assets/VariablesPageMobile.a7690002.js","assets/ProgramsPage.a891f3e5.js","assets/ProgramsPage.4254e945.css","assets/index.2cf43efd.js","assets/PIDLoopsPage.135a8e0b.js","assets/PIDLoopsPage.7d25aa11.css","assets/SchedulesPage.41ddcba6.js","assets/SchedulesPage.f47aa1d2.css","assets/HolidaysPage.8277e8a4.js","assets/HolidaysPage.672ca775.css","assets/TrendLogsPage.a3fccab9.js","assets/TrendLogsPage.64043263.css","assets/Tag.39b4dd31.js","assets/AlarmsPage.f7e4bf4f.js","assets/AlarmsPage.46114273.css","assets/AlarmsPageMobile.19efb743.js","assets/SettingsPage.dde7d09d.js","assets/SettingsPage.71ed5aa6.css","assets/ExpansionIOTab.66ca2798.js","assets/NetworkPage.4bd5047f.js","assets/NetworkPage.30584e09.css","assets/ArrayPage.51bd5a62.js","assets/ArrayPage.8de5a565.css","assets/GraphicsPage.eca8c10f.js","assets/GraphicsPage.c1cd73ea.css","assets/DiscoverPage.b9b4ae43.js","assets/DiscoverPage.1c8bddb3.css","assets/BuildingsPage.18a91704.js","assets/BuildingsPage.a839c88a.css"]).then((e=>({default:e.GraphicsPage}))))),MT=s.exports.lazy((()=>a((()=>import("./index.0076cf02.js")),["assets/index.0076cf02.js","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/DashboardPage.070bc7b9.js","assets/DashboardPage.2e5e8c72.css","assets/index.e8ef0632.js","assets/install.00f124f0.js","assets/InputsPage.010957b8.js","assets/InputsPage.02864dcf.css","assets/InputsPageMobile.c6b15b66.js","assets/PointListRow.d4bc463d.js","assets/Input.e29b7530.js","assets/RadioGroup.90a62937.js","assets/RangeSelectionDrawer.module.485a5c07.js","assets/RangeSelectionDrawer.module.a136fdb6.css","assets/DataGridHeaderCell.9868eb08.js","assets/TableCellLayout.f210f422.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js","assets/OutputsPage.182ada03.js","assets/OutputsPage.db2c4759.css","assets/OutputsPageMobile.e6ff300b.js","assets/VariablesPage.f62bc088.js","assets/VariablesPage.36b2979b.css","assets/VariablesPageMobile.a7690002.js","assets/ProgramsPage.a891f3e5.js","assets/ProgramsPage.4254e945.css","assets/index.2cf43efd.js","assets/PIDLoopsPage.135a8e0b.js","assets/PIDLoopsPage.7d25aa11.css","assets/SchedulesPage.41ddcba6.js","assets/SchedulesPage.f47aa1d2.css","assets/HolidaysPage.8277e8a4.js","assets/HolidaysPage.672ca775.css","assets/TrendLogsPage.a3fccab9.js","assets/TrendLogsPage.64043263.css","assets/Tag.39b4dd31.js","assets/AlarmsPage.f7e4bf4f.js","assets/AlarmsPage.46114273.css","assets/AlarmsPageMobile.19efb743.js","assets/SettingsPage.dde7d09d.js","assets/SettingsPage.71ed5aa6.css","assets/ExpansionIOTab.66ca2798.js","assets/NetworkPage.4bd5047f.js","assets/NetworkPage.30584e09.css","assets/ArrayPage.51bd5a62.js","assets/ArrayPage.8de5a565.css","assets/GraphicsPage.eca8c10f.js","assets/GraphicsPage.c1cd73ea.css","assets/DiscoverPage.b9b4ae43.js","assets/DiscoverPage.1c8bddb3.css","assets/BuildingsPage.18a91704.js","assets/BuildingsPage.a839c88a.css"]).then((e=>({default:e.SchedulesPage}))))),LT=s.exports.lazy((()=>a((()=>import("./index.0076cf02.js")),["assets/index.0076cf02.js","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/DashboardPage.070bc7b9.js","assets/DashboardPage.2e5e8c72.css","assets/index.e8ef0632.js","assets/install.00f124f0.js","assets/InputsPage.010957b8.js","assets/InputsPage.02864dcf.css","assets/InputsPageMobile.c6b15b66.js","assets/PointListRow.d4bc463d.js","assets/Input.e29b7530.js","assets/RadioGroup.90a62937.js","assets/RangeSelectionDrawer.module.485a5c07.js","assets/RangeSelectionDrawer.module.a136fdb6.css","assets/DataGridHeaderCell.9868eb08.js","assets/TableCellLayout.f210f422.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js","assets/OutputsPage.182ada03.js","assets/OutputsPage.db2c4759.css","assets/OutputsPageMobile.e6ff300b.js","assets/VariablesPage.f62bc088.js","assets/VariablesPage.36b2979b.css","assets/VariablesPageMobile.a7690002.js","assets/ProgramsPage.a891f3e5.js","assets/ProgramsPage.4254e945.css","assets/index.2cf43efd.js","assets/PIDLoopsPage.135a8e0b.js","assets/PIDLoopsPage.7d25aa11.css","assets/SchedulesPage.41ddcba6.js","assets/SchedulesPage.f47aa1d2.css","assets/HolidaysPage.8277e8a4.js","assets/HolidaysPage.672ca775.css","assets/TrendLogsPage.a3fccab9.js","assets/TrendLogsPage.64043263.css","assets/Tag.39b4dd31.js","assets/AlarmsPage.f7e4bf4f.js","assets/AlarmsPage.46114273.css","assets/AlarmsPageMobile.19efb743.js","assets/SettingsPage.dde7d09d.js","assets/SettingsPage.71ed5aa6.css","assets/ExpansionIOTab.66ca2798.js","assets/NetworkPage.4bd5047f.js","assets/NetworkPage.30584e09.css","assets/ArrayPage.51bd5a62.js","assets/ArrayPage.8de5a565.css","assets/GraphicsPage.eca8c10f.js","assets/GraphicsPage.c1cd73ea.css","assets/DiscoverPage.b9b4ae43.js","assets/DiscoverPage.1c8bddb3.css","assets/BuildingsPage.18a91704.js","assets/BuildingsPage.a839c88a.css"]).then((e=>({default:e.HolidaysPage}))))),OT=s.exports.lazy((()=>a((()=>import("./index.0076cf02.js")),["assets/index.0076cf02.js","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/DashboardPage.070bc7b9.js","assets/DashboardPage.2e5e8c72.css","assets/index.e8ef0632.js","assets/install.00f124f0.js","assets/InputsPage.010957b8.js","assets/InputsPage.02864dcf.css","assets/InputsPageMobile.c6b15b66.js","assets/PointListRow.d4bc463d.js","assets/Input.e29b7530.js","assets/RadioGroup.90a62937.js","assets/RangeSelectionDrawer.module.485a5c07.js","assets/RangeSelectionDrawer.module.a136fdb6.css","assets/DataGridHeaderCell.9868eb08.js","assets/TableCellLayout.f210f422.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js","assets/OutputsPage.182ada03.js","assets/OutputsPage.db2c4759.css","assets/OutputsPageMobile.e6ff300b.js","assets/VariablesPage.f62bc088.js","assets/VariablesPage.36b2979b.css","assets/VariablesPageMobile.a7690002.js","assets/ProgramsPage.a891f3e5.js","assets/ProgramsPage.4254e945.css","assets/index.2cf43efd.js","assets/PIDLoopsPage.135a8e0b.js","assets/PIDLoopsPage.7d25aa11.css","assets/SchedulesPage.41ddcba6.js","assets/SchedulesPage.f47aa1d2.css","assets/HolidaysPage.8277e8a4.js","assets/HolidaysPage.672ca775.css","assets/TrendLogsPage.a3fccab9.js","assets/TrendLogsPage.64043263.css","assets/Tag.39b4dd31.js","assets/AlarmsPage.f7e4bf4f.js","assets/AlarmsPage.46114273.css","assets/AlarmsPageMobile.19efb743.js","assets/SettingsPage.dde7d09d.js","assets/SettingsPage.71ed5aa6.css","assets/ExpansionIOTab.66ca2798.js","assets/NetworkPage.4bd5047f.js","assets/NetworkPage.30584e09.css","assets/ArrayPage.51bd5a62.js","assets/ArrayPage.8de5a565.css","assets/GraphicsPage.eca8c10f.js","assets/GraphicsPage.c1cd73ea.css","assets/DiscoverPage.b9b4ae43.js","assets/DiscoverPage.1c8bddb3.css","assets/BuildingsPage.18a91704.js","assets/BuildingsPage.a839c88a.css"]).then((e=>({default:e.TrendLogsPage}))))),qT=s.exports.lazy((()=>a((()=>import("./index.0076cf02.js")),["assets/index.0076cf02.js","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/DashboardPage.070bc7b9.js","assets/DashboardPage.2e5e8c72.css","assets/index.e8ef0632.js","assets/install.00f124f0.js","assets/InputsPage.010957b8.js","assets/InputsPage.02864dcf.css","assets/InputsPageMobile.c6b15b66.js","assets/PointListRow.d4bc463d.js","assets/Input.e29b7530.js","assets/RadioGroup.90a62937.js","assets/RangeSelectionDrawer.module.485a5c07.js","assets/RangeSelectionDrawer.module.a136fdb6.css","assets/DataGridHeaderCell.9868eb08.js","assets/TableCellLayout.f210f422.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js","assets/OutputsPage.182ada03.js","assets/OutputsPage.db2c4759.css","assets/OutputsPageMobile.e6ff300b.js","assets/VariablesPage.f62bc088.js","assets/VariablesPage.36b2979b.css","assets/VariablesPageMobile.a7690002.js","assets/ProgramsPage.a891f3e5.js","assets/ProgramsPage.4254e945.css","assets/index.2cf43efd.js","assets/PIDLoopsPage.135a8e0b.js","assets/PIDLoopsPage.7d25aa11.css","assets/SchedulesPage.41ddcba6.js","assets/SchedulesPage.f47aa1d2.css","assets/HolidaysPage.8277e8a4.js","assets/HolidaysPage.672ca775.css","assets/TrendLogsPage.a3fccab9.js","assets/TrendLogsPage.64043263.css","assets/Tag.39b4dd31.js","assets/AlarmsPage.f7e4bf4f.js","assets/AlarmsPage.46114273.css","assets/AlarmsPageMobile.19efb743.js","assets/SettingsPage.dde7d09d.js","assets/SettingsPage.71ed5aa6.css","assets/ExpansionIOTab.66ca2798.js","assets/NetworkPage.4bd5047f.js","assets/NetworkPage.30584e09.css","assets/ArrayPage.51bd5a62.js","assets/ArrayPage.8de5a565.css","assets/GraphicsPage.eca8c10f.js","assets/GraphicsPage.c1cd73ea.css","assets/DiscoverPage.b9b4ae43.js","assets/DiscoverPage.1c8bddb3.css","assets/BuildingsPage.18a91704.js","assets/BuildingsPage.a839c88a.css"]).then((e=>({default:e.TrendChartPage})))));s.exports.lazy((()=>a((()=>import("./index.0076cf02.js")),["assets/index.0076cf02.js","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/DashboardPage.070bc7b9.js","assets/DashboardPage.2e5e8c72.css","assets/index.e8ef0632.js","assets/install.00f124f0.js","assets/InputsPage.010957b8.js","assets/InputsPage.02864dcf.css","assets/InputsPageMobile.c6b15b66.js","assets/PointListRow.d4bc463d.js","assets/Input.e29b7530.js","assets/RadioGroup.90a62937.js","assets/RangeSelectionDrawer.module.485a5c07.js","assets/RangeSelectionDrawer.module.a136fdb6.css","assets/DataGridHeaderCell.9868eb08.js","assets/TableCellLayout.f210f422.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js","assets/OutputsPage.182ada03.js","assets/OutputsPage.db2c4759.css","assets/OutputsPageMobile.e6ff300b.js","assets/VariablesPage.f62bc088.js","assets/VariablesPage.36b2979b.css","assets/VariablesPageMobile.a7690002.js","assets/ProgramsPage.a891f3e5.js","assets/ProgramsPage.4254e945.css","assets/index.2cf43efd.js","assets/PIDLoopsPage.135a8e0b.js","assets/PIDLoopsPage.7d25aa11.css","assets/SchedulesPage.41ddcba6.js","assets/SchedulesPage.f47aa1d2.css","assets/HolidaysPage.8277e8a4.js","assets/HolidaysPage.672ca775.css","assets/TrendLogsPage.a3fccab9.js","assets/TrendLogsPage.64043263.css","assets/Tag.39b4dd31.js","assets/AlarmsPage.f7e4bf4f.js","assets/AlarmsPage.46114273.css","assets/AlarmsPageMobile.19efb743.js","assets/SettingsPage.dde7d09d.js","assets/SettingsPage.71ed5aa6.css","assets/ExpansionIOTab.66ca2798.js","assets/NetworkPage.4bd5047f.js","assets/NetworkPage.30584e09.css","assets/ArrayPage.51bd5a62.js","assets/ArrayPage.8de5a565.css","assets/GraphicsPage.eca8c10f.js","assets/GraphicsPage.c1cd73ea.css","assets/DiscoverPage.b9b4ae43.js","assets/DiscoverPage.1c8bddb3.css","assets/BuildingsPage.18a91704.js","assets/BuildingsPage.a839c88a.css"]).then((e=>({default:e.AlarmsPage})))));const HT=s.exports.lazy((()=>a((()=>import("./index.0076cf02.js")),["assets/index.0076cf02.js","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/DashboardPage.070bc7b9.js","assets/DashboardPage.2e5e8c72.css","assets/index.e8ef0632.js","assets/install.00f124f0.js","assets/InputsPage.010957b8.js","assets/InputsPage.02864dcf.css","assets/InputsPageMobile.c6b15b66.js","assets/PointListRow.d4bc463d.js","assets/Input.e29b7530.js","assets/RadioGroup.90a62937.js","assets/RangeSelectionDrawer.module.485a5c07.js","assets/RangeSelectionDrawer.module.a136fdb6.css","assets/DataGridHeaderCell.9868eb08.js","assets/TableCellLayout.f210f422.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js","assets/OutputsPage.182ada03.js","assets/OutputsPage.db2c4759.css","assets/OutputsPageMobile.e6ff300b.js","assets/VariablesPage.f62bc088.js","assets/VariablesPage.36b2979b.css","assets/VariablesPageMobile.a7690002.js","assets/ProgramsPage.a891f3e5.js","assets/ProgramsPage.4254e945.css","assets/index.2cf43efd.js","assets/PIDLoopsPage.135a8e0b.js","assets/PIDLoopsPage.7d25aa11.css","assets/SchedulesPage.41ddcba6.js","assets/SchedulesPage.f47aa1d2.css","assets/HolidaysPage.8277e8a4.js","assets/HolidaysPage.672ca775.css","assets/TrendLogsPage.a3fccab9.js","assets/TrendLogsPage.64043263.css","assets/Tag.39b4dd31.js","assets/AlarmsPage.f7e4bf4f.js","assets/AlarmsPage.46114273.css","assets/AlarmsPageMobile.19efb743.js","assets/SettingsPage.dde7d09d.js","assets/SettingsPage.71ed5aa6.css","assets/ExpansionIOTab.66ca2798.js","assets/NetworkPage.4bd5047f.js","assets/NetworkPage.30584e09.css","assets/ArrayPage.51bd5a62.js","assets/ArrayPage.8de5a565.css","assets/GraphicsPage.eca8c10f.js","assets/GraphicsPage.c1cd73ea.css","assets/DiscoverPage.b9b4ae43.js","assets/DiscoverPage.1c8bddb3.css","assets/BuildingsPage.18a91704.js","assets/BuildingsPage.a839c88a.css"]).then((e=>({default:e.NetworkPage}))))),VT=s.exports.lazy((()=>a((()=>import("./index.0076cf02.js")),["assets/index.0076cf02.js","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/DashboardPage.070bc7b9.js","assets/DashboardPage.2e5e8c72.css","assets/index.e8ef0632.js","assets/install.00f124f0.js","assets/InputsPage.010957b8.js","assets/InputsPage.02864dcf.css","assets/InputsPageMobile.c6b15b66.js","assets/PointListRow.d4bc463d.js","assets/Input.e29b7530.js","assets/RadioGroup.90a62937.js","assets/RangeSelectionDrawer.module.485a5c07.js","assets/RangeSelectionDrawer.module.a136fdb6.css","assets/DataGridHeaderCell.9868eb08.js","assets/TableCellLayout.f210f422.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js","assets/OutputsPage.182ada03.js","assets/OutputsPage.db2c4759.css","assets/OutputsPageMobile.e6ff300b.js","assets/VariablesPage.f62bc088.js","assets/VariablesPage.36b2979b.css","assets/VariablesPageMobile.a7690002.js","assets/ProgramsPage.a891f3e5.js","assets/ProgramsPage.4254e945.css","assets/index.2cf43efd.js","assets/PIDLoopsPage.135a8e0b.js","assets/PIDLoopsPage.7d25aa11.css","assets/SchedulesPage.41ddcba6.js","assets/SchedulesPage.f47aa1d2.css","assets/HolidaysPage.8277e8a4.js","assets/HolidaysPage.672ca775.css","assets/TrendLogsPage.a3fccab9.js","assets/TrendLogsPage.64043263.css","assets/Tag.39b4dd31.js","assets/AlarmsPage.f7e4bf4f.js","assets/AlarmsPage.46114273.css","assets/AlarmsPageMobile.19efb743.js","assets/SettingsPage.dde7d09d.js","assets/SettingsPage.71ed5aa6.css","assets/ExpansionIOTab.66ca2798.js","assets/NetworkPage.4bd5047f.js","assets/NetworkPage.30584e09.css","assets/ArrayPage.51bd5a62.js","assets/ArrayPage.8de5a565.css","assets/GraphicsPage.eca8c10f.js","assets/GraphicsPage.c1cd73ea.css","assets/DiscoverPage.b9b4ae43.js","assets/DiscoverPage.1c8bddb3.css","assets/BuildingsPage.18a91704.js","assets/BuildingsPage.a839c88a.css"]).then((e=>({default:e.ArrayPage}))))),ZT=s.exports.lazy((()=>a((()=>import("./index.0076cf02.js")),["assets/index.0076cf02.js","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/DashboardPage.070bc7b9.js","assets/DashboardPage.2e5e8c72.css","assets/index.e8ef0632.js","assets/install.00f124f0.js","assets/InputsPage.010957b8.js","assets/InputsPage.02864dcf.css","assets/InputsPageMobile.c6b15b66.js","assets/PointListRow.d4bc463d.js","assets/Input.e29b7530.js","assets/RadioGroup.90a62937.js","assets/RangeSelectionDrawer.module.485a5c07.js","assets/RangeSelectionDrawer.module.a136fdb6.css","assets/DataGridHeaderCell.9868eb08.js","assets/TableCellLayout.f210f422.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js","assets/OutputsPage.182ada03.js","assets/OutputsPage.db2c4759.css","assets/OutputsPageMobile.e6ff300b.js","assets/VariablesPage.f62bc088.js","assets/VariablesPage.36b2979b.css","assets/VariablesPageMobile.a7690002.js","assets/ProgramsPage.a891f3e5.js","assets/ProgramsPage.4254e945.css","assets/index.2cf43efd.js","assets/PIDLoopsPage.135a8e0b.js","assets/PIDLoopsPage.7d25aa11.css","assets/SchedulesPage.41ddcba6.js","assets/SchedulesPage.f47aa1d2.css","assets/HolidaysPage.8277e8a4.js","assets/HolidaysPage.672ca775.css","assets/TrendLogsPage.a3fccab9.js","assets/TrendLogsPage.64043263.css","assets/Tag.39b4dd31.js","assets/AlarmsPage.f7e4bf4f.js","assets/AlarmsPage.46114273.css","assets/AlarmsPageMobile.19efb743.js","assets/SettingsPage.dde7d09d.js","assets/SettingsPage.71ed5aa6.css","assets/ExpansionIOTab.66ca2798.js","assets/NetworkPage.4bd5047f.js","assets/NetworkPage.30584e09.css","assets/ArrayPage.51bd5a62.js","assets/ArrayPage.8de5a565.css","assets/GraphicsPage.eca8c10f.js","assets/GraphicsPage.c1cd73ea.css","assets/DiscoverPage.b9b4ae43.js","assets/DiscoverPage.1c8bddb3.css","assets/BuildingsPage.18a91704.js","assets/BuildingsPage.a839c88a.css"]).then((e=>({default:e.DiscoverPage}))))),$T=s.exports.lazy((()=>a((()=>import("./index.0076cf02.js")),["assets/index.0076cf02.js","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/DashboardPage.070bc7b9.js","assets/DashboardPage.2e5e8c72.css","assets/index.e8ef0632.js","assets/install.00f124f0.js","assets/InputsPage.010957b8.js","assets/InputsPage.02864dcf.css","assets/InputsPageMobile.c6b15b66.js","assets/PointListRow.d4bc463d.js","assets/Input.e29b7530.js","assets/RadioGroup.90a62937.js","assets/RangeSelectionDrawer.module.485a5c07.js","assets/RangeSelectionDrawer.module.a136fdb6.css","assets/DataGridHeaderCell.9868eb08.js","assets/TableCellLayout.f210f422.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js","assets/OutputsPage.182ada03.js","assets/OutputsPage.db2c4759.css","assets/OutputsPageMobile.e6ff300b.js","assets/VariablesPage.f62bc088.js","assets/VariablesPage.36b2979b.css","assets/VariablesPageMobile.a7690002.js","assets/ProgramsPage.a891f3e5.js","assets/ProgramsPage.4254e945.css","assets/index.2cf43efd.js","assets/PIDLoopsPage.135a8e0b.js","assets/PIDLoopsPage.7d25aa11.css","assets/SchedulesPage.41ddcba6.js","assets/SchedulesPage.f47aa1d2.css","assets/HolidaysPage.8277e8a4.js","assets/HolidaysPage.672ca775.css","assets/TrendLogsPage.a3fccab9.js","assets/TrendLogsPage.64043263.css","assets/Tag.39b4dd31.js","assets/AlarmsPage.f7e4bf4f.js","assets/AlarmsPage.46114273.css","assets/AlarmsPageMobile.19efb743.js","assets/SettingsPage.dde7d09d.js","assets/SettingsPage.71ed5aa6.css","assets/ExpansionIOTab.66ca2798.js","assets/NetworkPage.4bd5047f.js","assets/NetworkPage.30584e09.css","assets/ArrayPage.51bd5a62.js","assets/ArrayPage.8de5a565.css","assets/GraphicsPage.eca8c10f.js","assets/GraphicsPage.c1cd73ea.css","assets/DiscoverPage.b9b4ae43.js","assets/DiscoverPage.1c8bddb3.css","assets/BuildingsPage.18a91704.js","assets/BuildingsPage.a839c88a.css"]).then((e=>({default:e.BuildingsPage}))))),WT=[{path:"/t3000",element:ET,title:"Home"},{path:"/t3000/dashboard",element:AT,title:"Dashboard",windowId:0},{path:"/t3000/inputs",element:s.exports.lazy((()=>Promise.all([a((()=>import("./index.0076cf02.js")),["assets/index.0076cf02.js","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/DashboardPage.070bc7b9.js","assets/DashboardPage.2e5e8c72.css","assets/index.e8ef0632.js","assets/install.00f124f0.js","assets/InputsPage.010957b8.js","assets/InputsPage.02864dcf.css","assets/InputsPageMobile.c6b15b66.js","assets/PointListRow.d4bc463d.js","assets/Input.e29b7530.js","assets/RadioGroup.90a62937.js","assets/RangeSelectionDrawer.module.485a5c07.js","assets/RangeSelectionDrawer.module.a136fdb6.css","assets/DataGridHeaderCell.9868eb08.js","assets/TableCellLayout.f210f422.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js","assets/OutputsPage.182ada03.js","assets/OutputsPage.db2c4759.css","assets/OutputsPageMobile.e6ff300b.js","assets/VariablesPage.f62bc088.js","assets/VariablesPage.36b2979b.css","assets/VariablesPageMobile.a7690002.js","assets/ProgramsPage.a891f3e5.js","assets/ProgramsPage.4254e945.css","assets/index.2cf43efd.js","assets/PIDLoopsPage.135a8e0b.js","assets/PIDLoopsPage.7d25aa11.css","assets/SchedulesPage.41ddcba6.js","assets/SchedulesPage.f47aa1d2.css","assets/HolidaysPage.8277e8a4.js","assets/HolidaysPage.672ca775.css","assets/TrendLogsPage.a3fccab9.js","assets/TrendLogsPage.64043263.css","assets/Tag.39b4dd31.js","assets/AlarmsPage.f7e4bf4f.js","assets/AlarmsPage.46114273.css","assets/AlarmsPageMobile.19efb743.js","assets/SettingsPage.dde7d09d.js","assets/SettingsPage.71ed5aa6.css","assets/ExpansionIOTab.66ca2798.js","assets/NetworkPage.4bd5047f.js","assets/NetworkPage.30584e09.css","assets/ArrayPage.51bd5a62.js","assets/ArrayPage.8de5a565.css","assets/GraphicsPage.eca8c10f.js","assets/GraphicsPage.c1cd73ea.css","assets/DiscoverPage.b9b4ae43.js","assets/DiscoverPage.1c8bddb3.css","assets/BuildingsPage.18a91704.js","assets/BuildingsPage.a839c88a.css"]).then((e=>e.InputsPage)),a((()=>import("./InputsPageMobile.c6b15b66.js").then((function(e){return e.b}))),["assets/InputsPageMobile.c6b15b66.js","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/PointListRow.d4bc463d.js","assets/Input.e29b7530.js","assets/RadioGroup.90a62937.js"]).then((e=>e.InputsPageMobile))]).then((([e,t])=>({default:PT(e,t)}))))),title:"Inputs",windowId:1,shortcut:"Alt+I",requiresDevice:!0},{path:"/t3000/outputs",element:s.exports.lazy((()=>Promise.all([a((()=>import("./index.0076cf02.js")),["assets/index.0076cf02.js","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/DashboardPage.070bc7b9.js","assets/DashboardPage.2e5e8c72.css","assets/index.e8ef0632.js","assets/install.00f124f0.js","assets/InputsPage.010957b8.js","assets/InputsPage.02864dcf.css","assets/InputsPageMobile.c6b15b66.js","assets/PointListRow.d4bc463d.js","assets/Input.e29b7530.js","assets/RadioGroup.90a62937.js","assets/RangeSelectionDrawer.module.485a5c07.js","assets/RangeSelectionDrawer.module.a136fdb6.css","assets/DataGridHeaderCell.9868eb08.js","assets/TableCellLayout.f210f422.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js","assets/OutputsPage.182ada03.js","assets/OutputsPage.db2c4759.css","assets/OutputsPageMobile.e6ff300b.js","assets/VariablesPage.f62bc088.js","assets/VariablesPage.36b2979b.css","assets/VariablesPageMobile.a7690002.js","assets/ProgramsPage.a891f3e5.js","assets/ProgramsPage.4254e945.css","assets/index.2cf43efd.js","assets/PIDLoopsPage.135a8e0b.js","assets/PIDLoopsPage.7d25aa11.css","assets/SchedulesPage.41ddcba6.js","assets/SchedulesPage.f47aa1d2.css","assets/HolidaysPage.8277e8a4.js","assets/HolidaysPage.672ca775.css","assets/TrendLogsPage.a3fccab9.js","assets/TrendLogsPage.64043263.css","assets/Tag.39b4dd31.js","assets/AlarmsPage.f7e4bf4f.js","assets/AlarmsPage.46114273.css","assets/AlarmsPageMobile.19efb743.js","assets/SettingsPage.dde7d09d.js","assets/SettingsPage.71ed5aa6.css","assets/ExpansionIOTab.66ca2798.js","assets/NetworkPage.4bd5047f.js","assets/NetworkPage.30584e09.css","assets/ArrayPage.51bd5a62.js","assets/ArrayPage.8de5a565.css","assets/GraphicsPage.eca8c10f.js","assets/GraphicsPage.c1cd73ea.css","assets/DiscoverPage.b9b4ae43.js","assets/DiscoverPage.1c8bddb3.css","assets/BuildingsPage.18a91704.js","assets/BuildingsPage.a839c88a.css"]).then((e=>e.OutputsPage)),a((()=>import("./OutputsPageMobile.e6ff300b.js").then((function(e){return e.c}))),["assets/OutputsPageMobile.e6ff300b.js","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/PointListRow.d4bc463d.js","assets/Input.e29b7530.js","assets/RadioGroup.90a62937.js"]).then((e=>e.OutputsPageMobile))]).then((([e,t])=>({default:PT(e,t)}))))),title:"Outputs",windowId:2,shortcut:"Alt+O",requiresDevice:!0},{path:"/t3000/variables",element:s.exports.lazy((()=>Promise.all([a((()=>import("./index.0076cf02.js")),["assets/index.0076cf02.js","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/DashboardPage.070bc7b9.js","assets/DashboardPage.2e5e8c72.css","assets/index.e8ef0632.js","assets/install.00f124f0.js","assets/InputsPage.010957b8.js","assets/InputsPage.02864dcf.css","assets/InputsPageMobile.c6b15b66.js","assets/PointListRow.d4bc463d.js","assets/Input.e29b7530.js","assets/RadioGroup.90a62937.js","assets/RangeSelectionDrawer.module.485a5c07.js","assets/RangeSelectionDrawer.module.a136fdb6.css","assets/DataGridHeaderCell.9868eb08.js","assets/TableCellLayout.f210f422.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js","assets/OutputsPage.182ada03.js","assets/OutputsPage.db2c4759.css","assets/OutputsPageMobile.e6ff300b.js","assets/VariablesPage.f62bc088.js","assets/VariablesPage.36b2979b.css","assets/VariablesPageMobile.a7690002.js","assets/ProgramsPage.a891f3e5.js","assets/ProgramsPage.4254e945.css","assets/index.2cf43efd.js","assets/PIDLoopsPage.135a8e0b.js","assets/PIDLoopsPage.7d25aa11.css","assets/SchedulesPage.41ddcba6.js","assets/SchedulesPage.f47aa1d2.css","assets/HolidaysPage.8277e8a4.js","assets/HolidaysPage.672ca775.css","assets/TrendLogsPage.a3fccab9.js","assets/TrendLogsPage.64043263.css","assets/Tag.39b4dd31.js","assets/AlarmsPage.f7e4bf4f.js","assets/AlarmsPage.46114273.css","assets/AlarmsPageMobile.19efb743.js","assets/SettingsPage.dde7d09d.js","assets/SettingsPage.71ed5aa6.css","assets/ExpansionIOTab.66ca2798.js","assets/NetworkPage.4bd5047f.js","assets/NetworkPage.30584e09.css","assets/ArrayPage.51bd5a62.js","assets/ArrayPage.8de5a565.css","assets/GraphicsPage.eca8c10f.js","assets/GraphicsPage.c1cd73ea.css","assets/DiscoverPage.b9b4ae43.js","assets/DiscoverPage.1c8bddb3.css","assets/BuildingsPage.18a91704.js","assets/BuildingsPage.a839c88a.css"]).then((e=>e.VariablesPage)),a((()=>import("./VariablesPageMobile.a7690002.js").then((function(e){return e.c}))),["assets/VariablesPageMobile.a7690002.js","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/PointListRow.d4bc463d.js","assets/Input.e29b7530.js","assets/RadioGroup.90a62937.js"]).then((e=>e.VariablesPageMobile))]).then((([e,t])=>({default:PT(e,t)}))))),title:"Variables",windowId:3,shortcut:"Alt+V",requiresDevice:!0},{path:"/t3000/programs",element:FT,title:"Programs",windowId:4,shortcut:"Alt+P",requiresDevice:!0},{path:"/t3000/schedules",element:MT,title:"Schedules",windowId:5,shortcut:"Alt+S",requiresDevice:!0},{path:"/t3000/holidays",element:LT,title:"Holidays",windowId:6,shortcut:"Alt+H",requiresDevice:!0},{path:"/t3000/pidloops",element:RT,title:"PID Loops",windowId:7,shortcut:"Alt+L",requiresDevice:!0},{path:"/t3000/graphics",element:IT,title:"Graphics",windowId:8,shortcut:"Alt+G",requiresDevice:!0},{path:"/t3000/trendlogs",element:OT,title:"Trend Logs",windowId:9,shortcut:"Alt+T",requiresDevice:!0},{path:"/t3000/trends/chart",element:qT,title:"Trend Chart",requiresDevice:!1},{path:"/t3000/alarms",element:s.exports.lazy((()=>Promise.all([a((()=>import("./index.0076cf02.js")),["assets/index.0076cf02.js","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/DashboardPage.070bc7b9.js","assets/DashboardPage.2e5e8c72.css","assets/index.e8ef0632.js","assets/install.00f124f0.js","assets/InputsPage.010957b8.js","assets/InputsPage.02864dcf.css","assets/InputsPageMobile.c6b15b66.js","assets/PointListRow.d4bc463d.js","assets/Input.e29b7530.js","assets/RadioGroup.90a62937.js","assets/RangeSelectionDrawer.module.485a5c07.js","assets/RangeSelectionDrawer.module.a136fdb6.css","assets/DataGridHeaderCell.9868eb08.js","assets/TableCellLayout.f210f422.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js","assets/OutputsPage.182ada03.js","assets/OutputsPage.db2c4759.css","assets/OutputsPageMobile.e6ff300b.js","assets/VariablesPage.f62bc088.js","assets/VariablesPage.36b2979b.css","assets/VariablesPageMobile.a7690002.js","assets/ProgramsPage.a891f3e5.js","assets/ProgramsPage.4254e945.css","assets/index.2cf43efd.js","assets/PIDLoopsPage.135a8e0b.js","assets/PIDLoopsPage.7d25aa11.css","assets/SchedulesPage.41ddcba6.js","assets/SchedulesPage.f47aa1d2.css","assets/HolidaysPage.8277e8a4.js","assets/HolidaysPage.672ca775.css","assets/TrendLogsPage.a3fccab9.js","assets/TrendLogsPage.64043263.css","assets/Tag.39b4dd31.js","assets/AlarmsPage.f7e4bf4f.js","assets/AlarmsPage.46114273.css","assets/AlarmsPageMobile.19efb743.js","assets/SettingsPage.dde7d09d.js","assets/SettingsPage.71ed5aa6.css","assets/ExpansionIOTab.66ca2798.js","assets/NetworkPage.4bd5047f.js","assets/NetworkPage.30584e09.css","assets/ArrayPage.51bd5a62.js","assets/ArrayPage.8de5a565.css","assets/GraphicsPage.eca8c10f.js","assets/GraphicsPage.c1cd73ea.css","assets/DiscoverPage.b9b4ae43.js","assets/DiscoverPage.1c8bddb3.css","assets/BuildingsPage.18a91704.js","assets/BuildingsPage.a839c88a.css"]).then((e=>e.AlarmsPage)),a((()=>import("./AlarmsPageMobile.19efb743.js").then((function(e){return e.b}))),["assets/AlarmsPageMobile.19efb743.js","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/PointListRow.d4bc463d.js"]).then((e=>e.AlarmsPageMobile))]).then((([e,t])=>({default:PT(e,t)}))))),title:"Alarms",windowId:10,shortcut:"Alt+A",requiresDevice:!0},{path:"/t3000/settings",element:s.exports.lazy((()=>Promise.all([a((()=>import("./index.0076cf02.js")),["assets/index.0076cf02.js","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/DashboardPage.070bc7b9.js","assets/DashboardPage.2e5e8c72.css","assets/index.e8ef0632.js","assets/install.00f124f0.js","assets/InputsPage.010957b8.js","assets/InputsPage.02864dcf.css","assets/InputsPageMobile.c6b15b66.js","assets/PointListRow.d4bc463d.js","assets/Input.e29b7530.js","assets/RadioGroup.90a62937.js","assets/RangeSelectionDrawer.module.485a5c07.js","assets/RangeSelectionDrawer.module.a136fdb6.css","assets/DataGridHeaderCell.9868eb08.js","assets/TableCellLayout.f210f422.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js","assets/OutputsPage.182ada03.js","assets/OutputsPage.db2c4759.css","assets/OutputsPageMobile.e6ff300b.js","assets/VariablesPage.f62bc088.js","assets/VariablesPage.36b2979b.css","assets/VariablesPageMobile.a7690002.js","assets/ProgramsPage.a891f3e5.js","assets/ProgramsPage.4254e945.css","assets/index.2cf43efd.js","assets/PIDLoopsPage.135a8e0b.js","assets/PIDLoopsPage.7d25aa11.css","assets/SchedulesPage.41ddcba6.js","assets/SchedulesPage.f47aa1d2.css","assets/HolidaysPage.8277e8a4.js","assets/HolidaysPage.672ca775.css","assets/TrendLogsPage.a3fccab9.js","assets/TrendLogsPage.64043263.css","assets/Tag.39b4dd31.js","assets/AlarmsPage.f7e4bf4f.js","assets/AlarmsPage.46114273.css","assets/AlarmsPageMobile.19efb743.js","assets/SettingsPage.dde7d09d.js","assets/SettingsPage.71ed5aa6.css","assets/ExpansionIOTab.66ca2798.js","assets/NetworkPage.4bd5047f.js","assets/NetworkPage.30584e09.css","assets/ArrayPage.51bd5a62.js","assets/ArrayPage.8de5a565.css","assets/GraphicsPage.eca8c10f.js","assets/GraphicsPage.c1cd73ea.css","assets/DiscoverPage.b9b4ae43.js","assets/DiscoverPage.1c8bddb3.css","assets/BuildingsPage.18a91704.js","assets/BuildingsPage.a839c88a.css"]).then((e=>e.SettingsPage)),a((()=>import("./SettingsPageMobile.41e9acc7.js")),["assets/SettingsPageMobile.41e9acc7.js","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/ExpansionIOTab.66ca2798.js","assets/Input.e29b7530.js","assets/RadioGroup.90a62937.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js"]).then((e=>e.SettingsPageMobile))]).then((([e,t])=>({default:PT(e,t)}))))),title:"Settings",windowId:11,shortcut:"Alt+E",requiresDevice:!0},{path:"/t3000/network",element:HT,title:"Network Points",windowId:13,shortcut:"Alt+N",requiresDevice:!0},{path:"/t3000/array",element:VT,title:"Array",windowId:14,requiresDevice:!0},{path:"/t3000/discover",element:ZT,title:"Discover Devices",windowId:15},{path:"/t3000/buildings",element:$T,title:"Buildings",windowId:16},{path:"/develop/files",element:s.exports.lazy((()=>a((()=>import("./FileBrowserPage.94c3c22c.js")),["assets/FileBrowserPage.94c3c22c.js","assets/FileBrowserPage.82e5584b.css","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/DataGridHeaderCell.9868eb08.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js"]))),title:"File Browser"},{path:"/develop/database",element:s.exports.lazy((()=>a((()=>import("./DatabaseViewerPage.6b97b264.js")),["assets/DatabaseViewerPage.6b97b264.js","assets/DatabaseViewerPage.7b8ae38a.css","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/index.2cf43efd.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js"]))),title:"Database Viewer"},{path:"/develop/transport",element:s.exports.lazy((()=>a((()=>import("./TransportTesterPage.f93a8bd8.js")),["assets/TransportTesterPage.f93a8bd8.js","assets/TransportTesterPage.33f7ac0a.css","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/Input.e29b7530.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js"]))),title:"Transport Tester"},{path:"/develop/logs",element:s.exports.lazy((()=>a((()=>import("./SystemLogsPage.1e770e0e.js")),["assets/SystemLogsPage.1e770e0e.js","assets/SystemLogsPage.04044700.css","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/Tag.39b4dd31.js","assets/Input.e29b7530.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js"]))),title:"T3000 Logs"}];class UT{static async newProject(e){try{const t=e.trim();if(!t)return{success:!1,message:"Project name cannot be empty"};const r=await fetch(`${this.baseUrl}/file/project/new`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:t})});if(!r.ok){const e=await r.text();throw new Error(`Failed to create project: ${e||r.statusText}`)}return{success:!0,message:`Project "${t}" created successfully`,project:(await r.json()).project}}catch(t){return{success:!1,message:t instanceof Error?t.message:"Unknown error occurred"}}}static async saveAs(e,t,r,o){try{let a="prog";r.includes("TSTAT")||r.includes("PM5E")?a="txt":(r.includes("CO2")||r.includes("HUM"))&&(a="ini");const n=`${t.replace(/\.(prog|txt|ini)$/i,"")}.${a}`,i=await fetch(`${this.baseUrl}/file/save-as`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({deviceSerialNumber:e,fileName:n,deviceType:r,protocol:o})});if(!i.ok){const e=await i.text();throw new Error(`Failed to save file: ${e||i.statusText}`)}return{success:!0,message:`Configuration saved to ${n}`,filePath:(await i.json()).filePath}}catch(a){return{success:!1,message:a instanceof Error?a.message:"Unknown error occurred"}}}static async loadFile(e,t){var r;try{const o=null==(r=t.name.split(".").pop())?void 0:r.toLowerCase();if(!["prog","txt","ini"].includes(o||""))return{success:!1,message:"Invalid file type. Supported types: .prog, .txt, .ini"};const a=new FormData;a.append("file",t),a.append("deviceSerialNumber",e.toString());const n=await fetch(`${this.baseUrl}/file/load`,{method:"POST",body:a});if(!n.ok){const e=await n.text();throw new Error(`Failed to load file: ${e||n.statusText}`)}return{success:!0,message:(await n.json()).message||`Configuration loaded from ${t.name}`}}catch(o){return{success:!1,message:o instanceof Error?o.message:"Unknown error occurred"}}}static async importData(e){var t;try{const r=null==(t=e.name.split(".").pop())?void 0:t.toLowerCase();if(!["mdb","db","sqlite","json"].includes(r||""))return{success:!1,message:"Invalid database file type. Supported types: .mdb, .db, .sqlite, .json"};const o=new FormData;o.append("file",e);const a=await fetch(`${this.baseUrl}/file/import`,{method:"POST",body:o});if(!a.ok){const e=await a.text();throw new Error(`Failed to import data: ${e||a.statusText}`)}return{success:!0,message:(await a.json()).message||`Data imported successfully from ${e.name}`}}catch(r){return{success:!1,message:r instanceof Error?r.message:"Unknown error occurred"}}}static async exit(){try{await fetch(`${this.baseUrl}/session/cleanup`,{method:"POST"}).catch((()=>{}))}catch(e){}}static async showFileDialog(e){return new Promise((t=>{const r=document.createElement("input");r.type="file",r.accept=e,r.onchange=e=>{var r;const o=null==(r=e.target.files)?void 0:r[0];t(o||null)},r.oncancel=()=>{t(null)},r.click()}))}static async showSaveDialog(e,t){try{if("showSaveFilePicker"in window){return(await window.showSaveFilePicker({suggestedName:e,types:t})).name}return e}catch(r){return null}}}o(UT,"baseUrl",`${Rz}/api`);class GT{static async connect(e){try{const t=await fetch(`${this.baseUrl}/connection/connect`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!t.ok){const e=await t.text();throw new Error(`Failed to connect: ${e||t.statusText}`)}return{success:!0,message:(await t.json()).message||"Connected successfully"}}catch(t){return{success:!1,message:t instanceof Error?t.message:"Connection failed"}}}static async disconnect(){try{const e=await fetch(`${this.baseUrl}/connection/disconnect`,{method:"POST"});if(!e.ok){const t=await e.text();throw new Error(`Failed to disconnect: ${t||e.statusText}`)}return{success:!0,message:"Disconnected successfully"}}catch(e){return{success:!1,message:e instanceof Error?e.message:"Disconnect failed"}}}static async changeModbusId(e){try{const t=await fetch(`${this.baseUrl}/tools/change-modbus-id`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!t.ok){const e=await t.text();throw new Error(`Failed to change Modbus ID: ${e||t.statusText}`)}return{success:!0,message:`Modbus ID changed from ${e.oldId} to ${e.newId}`}}catch(t){return{success:!1,message:t instanceof Error?t.message:"Failed to change Modbus ID"}}}static async openBacnetTool(){try{return window.open("/tools/bacnet-tool","_blank"),{success:!0,message:"BACnet Tool opened"}}catch(e){return{success:!1,message:e instanceof Error?e.message:"Failed to open BACnet Tool"}}}static async openModbusPoll(){try{return window.open("/tools/modbus-poll","_blank"),{success:!0,message:"Modbus Poll opened"}}catch(e){return{success:!1,message:e instanceof Error?e.message:"Failed to open Modbus Poll"}}}static async openRegisterViewer(){try{return window.open("/tools/register-viewer","_blank"),{success:!0,message:"Register Viewer opened"}}catch(e){return{success:!1,message:e instanceof Error?e.message:"Failed to open Register Viewer"}}}static async openModbusRegisterV2(){try{return window.open("/tools/modbus-register-v2","_blank"),{success:!0,message:"Modbus Register v2 opened"}}catch(e){return{success:!1,message:e instanceof Error?e.message:"Failed to open Modbus Register v2"}}}static async openRegisterListFolder(){try{const e=await fetch(`${this.baseUrl}/tools/register-list-folder`,{method:"GET"});if(!e.ok)throw new Error("Failed to get register list folder path");return{success:!0,message:`Register list folder: ${(await e.json()).path}`}}catch(e){return{success:!1,message:e instanceof Error?e.message:"Failed to open register list folder"}}}static async loadFirmwareSingle(e){try{const t=new FormData;t.append("file",e.firmwareFile),t.append("deviceSerialNumber",e.deviceSerialNumber.toString()),t.append("deviceType",e.deviceType);const r=await fetch(`${this.baseUrl}/tools/firmware/upload-single`,{method:"POST",body:t});if(!r.ok){const e=await r.text();throw new Error(`Firmware upload failed: ${e||r.statusText}`)}return{success:!0,message:(await r.json()).message||"Firmware uploaded successfully"}}catch(t){return{success:!1,message:t instanceof Error?t.message:"Firmware upload failed"}}}static async loadFirmwareMany(e,t){try{const r=new FormData;r.append("file",e),r.append("deviceSerialNumbers",JSON.stringify(t));const o=await fetch(`${this.baseUrl}/tools/firmware/upload-batch`,{method:"POST",body:r});if(!o.ok){const e=await o.text();throw new Error(`Batch firmware upload failed: ${e||o.statusText}`)}return{success:!0,message:(await o.json()).message||`Firmware uploaded to ${t.length} devices`}}catch(r){return{success:!1,message:r instanceof Error?r.message:"Batch firmware upload failed"}}}static async flashSerialNumber(e,t){try{const r=await fetch(`${this.baseUrl}/tools/flash-sn`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({deviceSerialNumber:e,newSerialNumber:t})});if(!r.ok){const e=await r.text();throw new Error(`Failed to flash serial number: ${e||r.statusText}`)}return{success:!0,message:`Serial number flashed to ${t}`}}catch(r){return{success:!1,message:r instanceof Error?r.message:"Failed to flash serial number"}}}static async openPsychrometry(){try{return window.open("/tools/psychrometry","_blank"),{success:!0,message:"Psychrometry tool opened"}}catch(e){return{success:!1,message:e instanceof Error?e.message:"Failed to open Psychrometry"}}}static async openPhChart(){try{return window.open("/tools/ph-chart","_blank"),{success:!0,message:"PH Chart opened"}}catch(e){return{success:!1,message:e instanceof Error?e.message:"Failed to open PH Chart"}}}static async openOptions(){try{return window.location.href="/settings/options",{success:!0,message:"Options opened"}}catch(e){return{success:!1,message:e instanceof Error?e.message:"Failed to open Options"}}}static async loginMyAccount(){try{return window.location.href="/login",{success:!0,message:"Login page opened"}}catch(e){return{success:!1,message:e instanceof Error?e.message:"Failed to open login"}}}}o(GT,"baseUrl",`${Rz}/api`);const XT=async e=>{localStorage.setItem("view.toolBar",JSON.stringify(e))},KT=async e=>{localStorage.setItem("view.buildingPane",JSON.stringify(e))},JT=async e=>{localStorage.setItem("view.statusBar",JSON.stringify(e))},YT=async e=>{localStorage.setItem("view.theme",e),document.documentElement.setAttribute("data-theme",e)},QT=async()=>{window.dispatchEvent(new CustomEvent("view-refresh"))},eC=()=>({toolBarVisible:JSON.parse(localStorage.getItem("view.toolBar")||"true"),buildingPaneVisible:JSON.parse(localStorage.getItem("view.buildingPane")||"true"),statusBarVisible:JSON.parse(localStorage.getItem("view.statusBar")||"true"),theme:localStorage.getItem("view.theme")||"office-2007-blue"}),tC=async()=>{try{window.location.hash="#/t3000/database/building-config"}catch(e){throw e}},rC=async()=>{try{window.location.hash="#/t3000/database/all-nodes"}catch(e){throw e}},oC=async()=>{try{window.location.hash="#/t3000/database/ioname-config"}catch(e){throw e}},aC=async()=>{try{window.location.hash="#/t3000/database/log-detail"}catch(e){throw e}},nC=async()=>{try{window.location.hash="#/t3000/graphics"}catch(e){throw e}},iC=async()=>{try{window.location.hash="#/t3000/programs"}catch(e){throw e}},sC=async()=>{try{window.location.hash="#/t3000/inputs"}catch(e){throw e}},lC=async()=>{try{window.location.hash="#/t3000/outputs"}catch(e){throw e}},cC=async()=>{try{window.location.hash="#/t3000/variables"}catch(e){throw e}},dC=async()=>{try{window.location.hash="#/t3000/pidloops"}catch(e){throw e}},uC=async()=>{try{window.location.hash="#/t3000/schedules"}catch(e){throw e}},fC=async()=>{try{window.location.hash="#/t3000/holidays"}catch(e){throw e}},pC=async()=>{try{window.location.hash="#/t3000/trendlogs"}catch(e){throw e}},hC=async()=>{try{window.location.hash="#/t3000/alarms"}catch(e){throw e}},gC=async()=>{try{window.location.hash="#/t3000/network"}catch(e){throw e}},vC=async()=>{try{window.location.hash="#/t3000/control/remote-points"}catch(e){throw e}},mC=async()=>{try{window.location.hash="#/t3000/settings"}catch(e){throw e}};const bC={loadDescriptors:async function(){},writeIntoFlash:async function(){},gsmConnection:async function(){}};const xC={showContents:async function(){},showVersionHistory:async function(){},showAboutSoftware:async function(){},checkForUpdates:async function(){}};const yC=br({header:{display:"flex",flexDirection:"column",backgroundColor:"var(--t3-color-header-background)",borderBottom:"1px solid var(--t3-color-header-border)"},menuBar:{display:"flex",alignItems:"center",padding:"4px 12px",gap:"4px",backgroundColor:"var(--t3-color-header-background)",borderBottom:"1px solid var(--t3-color-header-border)",minHeight:"32px"},menuItem:{padding:"6px 12px",cursor:"pointer",fontSize:"var(--t3-font-size-body)",color:"var(--t3-color-header-text)","&:hover":{backgroundColor:"var(--t3-color-primary-hover)",borderRadius:"var(--t3-border-radius)"}},menuShortcut:{opacity:.6,fontSize:"10px",fontWeight:"400",color:"var(--t3-color-text-secondary)",whiteSpace:"nowrap"},menuBarRight:{marginLeft:"auto",display:"flex",alignItems:"center",gap:"12px"},toolbarContainer:{display:"flex",alignItems:"center",justifyContent:"flex-start",padding:"2px 8px",minHeight:"36px",gap:"4px",backgroundColor:"#fff",borderBottom:"1px solid var(--t3-color-border)"},toolbarSection:{display:"flex",alignItems:"center",gap:"0px"},activeToolbarButton:{color:"#0078d4 !important","& svg":{color:"#0078d4 !important"}},userSection:{display:"flex",alignItems:"center",gap:"12px"},userName:{fontSize:"var(--t3-font-size-body)",fontWeight:"var(--t3-font-weight-semibold)",color:"var(--t3-color-header-text)"},userAvatar:{cursor:"pointer",display:"flex",alignItems:"center",gap:"8px"},menuPopover:{minWidth:"300px"},menuItemWide:{minWidth:"300px"}}),wC=({showToolbar:e=!0})=>{const t=yC(),r=we(),o=xe(),a=jT((e=>e.user)),n=jT((e=>e.logout)),{theme:l}=oz(),{selectedDevice:c,getDeviceById:d}=function(){const e=Hz(Vz),t=Hz(Zz),r=Hz($z),o=Hz(Wz),a=Hz(Uz),n=Hz(Gz),i=Hz(Xz),l=Hz((e=>e.setSelectedDevice)),c=Hz((e=>e.selectDeviceById)),d=Hz((e=>e.clearSelection)),u=Hz((e=>e.loadDevices)),f=Hz((e=>e.addDevice)),p=Hz((e=>e.updateDevice)),h=Hz((e=>e.removeDevice)),g=Hz((e=>e.getDeviceById)),v=Hz((e=>e.isDeviceOnline)),m=Hz((e=>e.getDeviceCount)),b=null==e?void 0:e.id,x=null==e?void 0:e.label,y=t.length,w=n.length,k=i.length,B=s.exports.useCallback((e=>b===e),[b]),S=s.exports.useCallback((e=>{l(e)}),[l]),_=s.exports.useCallback((async()=>{await u()}),[u]);return{selectedDevice:e,selectedDeviceId:b,selectedDeviceName:x,devices:t,onlineDevices:n,offlineDevices:i,isLoading:r,error:o,hasSelection:a,deviceCount:y,onlineCount:w,offlineCount:k,selectDevice:S,selectDeviceById:c,clearSelection:d,loadDevices:u,refreshDevices:_,addDevice:f,updateDevice:p,removeDevice:h,isSelected:B,getDeviceById:g,isDeviceOnline:v,getDeviceCount:m}}(),{handlers:u,state:f}=function(e,t){const[r,o]=s.exports.useState({isLoading:!1,error:null,lastOperation:null}),a=s.exports.useCallback((()=>{o({isLoading:!1,error:null,lastOperation:null})}),[]);return{state:r,handlers:{handleNewProject:s.exports.useCallback((async()=>{try{o((e=>({...e,isLoading:!0,error:null,lastOperation:"new-project"})));const r=window.prompt("Please enter a project name:");if(!r)return void o((e=>({...e,isLoading:!1})));const a=await UT.newProject(r);a.success?(o((e=>({...e,isLoading:!1,error:null}))),null==e||e(a.message)):(o((e=>({...e,isLoading:!1,error:a.message}))),null==t||t(a.message))}catch(r){const e=r instanceof Error?r.message:"Failed to create project";o((t=>({...t,isLoading:!1,error:e}))),null==t||t(e)}}),[e,t]),handleSaveAs:s.exports.useCallback((async r=>{var a,n,i,s;try{o((e=>({...e,isLoading:!0,error:null,lastOperation:"save-as"})));let l="prog",c="Program Files";(null==(a=r.productName)?void 0:a.includes("TSTAT"))||(null==(n=r.productName)?void 0:n.includes("PM5E"))?(l="txt",c="Text Files"):((null==(i=r.productName)?void 0:i.includes("CO2"))||(null==(s=r.productName)?void 0:s.includes("HUM")))&&(l="ini",c="INI Files");const d=`${r.productName||"config"}_${r.serialNumber}.${l}`,u=await UT.showSaveDialog(d,[{description:c,accept:{[`application/${l}`]:[`.${l}`]}}]);if(!u)return void o((e=>({...e,isLoading:!1})));const f=await UT.saveAs(r.serialNumber,u,r.productName||"",r.protocol||"MODBUS");f.success?(o((e=>({...e,isLoading:!1,error:null}))),null==e||e(f.message)):(o((e=>({...e,isLoading:!1,error:f.message}))),null==t||t(f.message))}catch(l){const e=l instanceof Error?l.message:"Failed to save configuration";o((t=>({...t,isLoading:!1,error:e}))),null==t||t(e)}}),[e,t]),handleLoadFile:s.exports.useCallback((async r=>{var a,n,i,s;try{o((e=>({...e,isLoading:!0,error:null,lastOperation:"load-file"})));let l=".prog";(null==(a=r.productName)?void 0:a.includes("TSTAT"))||(null==(n=r.productName)?void 0:n.includes("PM5E"))?l=".txt":((null==(i=r.productName)?void 0:i.includes("CO2"))||(null==(s=r.productName)?void 0:s.includes("HUM")))&&(l=".ini");const c=await UT.showFileDialog(l);if(!c)return void o((e=>({...e,isLoading:!1})));const d=await UT.loadFile(r.serialNumber,c);d.success?(o((e=>({...e,isLoading:!1,error:null}))),null==e||e(d.message)):(o((e=>({...e,isLoading:!1,error:d.message}))),null==t||t(d.message))}catch(l){const e=l instanceof Error?l.message:"Failed to load configuration";o((t=>({...t,isLoading:!1,error:e}))),null==t||t(e)}}),[e,t]),handleImport:s.exports.useCallback((async()=>{try{o((e=>({...e,isLoading:!0,error:null,lastOperation:"import"})));const r=await UT.showFileDialog(".mdb,.db,.sqlite,.json");if(!r)return void o((e=>({...e,isLoading:!1})));const a=await UT.importData(r);a.success?(o((e=>({...e,isLoading:!1,error:null}))),null==e||e(a.message)):(o((e=>({...e,isLoading:!1,error:a.message}))),null==t||t(a.message))}catch(r){const e=r instanceof Error?r.message:"Failed to import data";o((t=>({...t,isLoading:!1,error:e}))),null==t||t(e)}}),[e,t]),handleExit:s.exports.useCallback((()=>{window.confirm("Are you sure you want to exit?")&&(UT.exit(),window.location.href="/")}),[])},resetState:a}}((e=>{}),(e=>{})),{handlers:p,state:h}=function(e,t){const[r,o]=s.exports.useState({isLoading:!1,error:null,lastOperation:null,isConnected:!1}),a=s.exports.useCallback((()=>{o((e=>({...e,isLoading:!1,error:null,lastOperation:null})))}),[]);return{state:r,handlers:{handleConnect:s.exports.useCallback((async()=>{try{o((e=>({...e,isLoading:!0,error:null,lastOperation:"connect"})));const r=window.prompt("Enter port (e.g., COM1 or IP address):");if(!r)return void o((e=>({...e,isLoading:!1})));const a=window.prompt("Enter protocol (MODBUS_RS485, MODBUS_TCPIP, BACNET_IP, BACNET_MSTP):");if(!a)return void o((e=>({...e,isLoading:!1})));const n=await GT.connect({port:r,protocol:a,connected:!1});n.success?(o((e=>({...e,isLoading:!1,error:null,isConnected:!0}))),null==e||e(n.message)):(o((e=>({...e,isLoading:!1,error:n.message}))),null==t||t(n.message))}catch(r){const e=r instanceof Error?r.message:"Connection failed";o((t=>({...t,isLoading:!1,error:e}))),null==t||t(e)}}),[e,t]),handleDisconnect:s.exports.useCallback((async()=>{try{o((e=>({...e,isLoading:!0,error:null,lastOperation:"disconnect"})));const r=await GT.disconnect();r.success?(o((e=>({...e,isLoading:!1,error:null,isConnected:!1}))),null==e||e(r.message)):(o((e=>({...e,isLoading:!1,error:r.message}))),null==t||t(r.message))}catch(r){const e=r instanceof Error?r.message:"Disconnect failed";o((t=>({...t,isLoading:!1,error:e}))),null==t||t(e)}}),[e,t]),handleChangeModbusId:s.exports.useCallback((async r=>{try{o((e=>({...e,isLoading:!0,error:null,lastOperation:"change-modbus-id"})));const a=r.serialNumber,n=window.prompt(`Enter new Modbus ID for device ${a}:`);if(!n)return void o((e=>({...e,isLoading:!1})));const i=parseInt(n,10);if(isNaN(i))return o((e=>({...e,isLoading:!1,error:"Invalid Modbus ID"}))),void(null==t||t("Invalid Modbus ID"));const s=await GT.changeModbusId({deviceSerialNumber:r.serialNumber,oldId:a,newId:i});s.success?(o((e=>({...e,isLoading:!1,error:null}))),null==e||e(s.message)):(o((e=>({...e,isLoading:!1,error:s.message}))),null==t||t(s.message))}catch(a){const e=a instanceof Error?a.message:"Failed to change Modbus ID";o((t=>({...t,isLoading:!1,error:e}))),null==t||t(e)}}),[e,t]),handleBacnetTool:s.exports.useCallback((()=>{GT.openBacnetTool()}),[]),handleModbusPoll:s.exports.useCallback((()=>{GT.openModbusPoll()}),[]),handleRegisterViewer:s.exports.useCallback((()=>{GT.openRegisterViewer()}),[]),handleModbusRegisterV2:s.exports.useCallback((()=>{GT.openModbusRegisterV2()}),[]),handleRegisterListFolder:s.exports.useCallback((async()=>{try{o((e=>({...e,isLoading:!0,error:null,lastOperation:"register-list-folder"})));const r=await GT.openRegisterListFolder();r.success?(o((e=>({...e,isLoading:!1,error:null}))),null==e||e(r.message)):(o((e=>({...e,isLoading:!1,error:r.message}))),null==t||t(r.message))}catch(r){const e=r instanceof Error?r.message:"Failed to open register list folder";o((t=>({...t,isLoading:!1,error:e}))),null==t||t(e)}}),[e,t]),handleLoadFirmwareSingle:s.exports.useCallback((async r=>{try{o((e=>({...e,isLoading:!0,error:null,lastOperation:"load-firmware-single"})));const a=document.createElement("input");a.type="file",a.accept=".hex,.bin",a.onchange=async a=>{var n;const i=null==(n=a.target.files)?void 0:n[0];if(!i)return void o((e=>({...e,isLoading:!1})));const s=await GT.loadFirmwareSingle({deviceSerialNumber:r.serialNumber,firmwareFile:i,deviceType:r.productName||""});s.success?(o((e=>({...e,isLoading:!1,error:null}))),null==e||e(s.message)):(o((e=>({...e,isLoading:!1,error:s.message}))),null==t||t(s.message))},a.oncancel=()=>{o((e=>({...e,isLoading:!1})))},a.click()}catch(a){const e=a instanceof Error?a.message:"Failed to load firmware";o((t=>({...t,isLoading:!1,error:e}))),null==t||t(e)}}),[e,t]),handleLoadFirmwareMany:s.exports.useCallback((()=>{null==t||t("This feature is currently inactive")}),[t]),handleFlashSN:s.exports.useCallback((async r=>{try{o((e=>({...e,isLoading:!0,error:null,lastOperation:"flash-sn"})));const a=window.prompt(`Enter new serial number for device ${r.serialNumber}:`);if(!a)return void o((e=>({...e,isLoading:!1})));const n=parseInt(a,10);if(isNaN(n))return o((e=>({...e,isLoading:!1,error:"Invalid serial number"}))),void(null==t||t("Invalid serial number"));const i=await GT.flashSerialNumber(r.serialNumber,n);i.success?(o((e=>({...e,isLoading:!1,error:null}))),null==e||e(i.message)):(o((e=>({...e,isLoading:!1,error:i.message}))),null==t||t(i.message))}catch(a){const e=a instanceof Error?a.message:"Failed to flash serial number";o((t=>({...t,isLoading:!1,error:e}))),null==t||t(e)}}),[e,t]),handlePsychrometry:s.exports.useCallback((()=>{GT.openPsychrometry()}),[]),handlePhChart:s.exports.useCallback((()=>{GT.openPhChart()}),[]),handleOptions:s.exports.useCallback((()=>{GT.openOptions()}),[]),handleLoginMyAccount:s.exports.useCallback((()=>{GT.loginMyAccount()}),[])},resetState:a}}((e=>{}),(e=>{})),{handlers:g,viewState:v}=(()=>{const[e,t]=s.exports.useState(!1),[r,o]=s.exports.useState(eC()),a=s.exports.useCallback((async()=>{t(!0);try{const e=!r.toolBarVisible;await XT(e),o((t=>({...t,toolBarVisible:e})))}catch(e){}finally{t(!1)}}),[r.toolBarVisible]),n=s.exports.useCallback((async()=>{t(!0);try{const e=!r.buildingPaneVisible;await KT(e),o((t=>({...t,buildingPaneVisible:e})))}catch(e){}finally{t(!1)}}),[r.buildingPaneVisible]),i=s.exports.useCallback((async()=>{t(!0);try{const e=!r.statusBarVisible;await JT(e),o((t=>({...t,statusBarVisible:e})))}catch(e){}finally{t(!1)}}),[r.statusBarVisible]),l=s.exports.useCallback((async()=>{t(!0);try{await YT("office-2003"),o((e=>({...e,theme:"office-2003"})))}catch(e){}finally{t(!1)}}),[]),c=s.exports.useCallback((async()=>{t(!0);try{await YT("office-2007-blue"),o((e=>({...e,theme:"office-2007-blue"})))}catch(e){}finally{t(!1)}}),[]),d=s.exports.useCallback((async()=>{t(!0);try{await YT("office-2007-silver"),o((e=>({...e,theme:"office-2007-silver"})))}catch(e){}finally{t(!1)}}),[]),u=s.exports.useCallback((async()=>{t(!0);try{await QT()}catch(e){}finally{t(!1)}}),[]);return{loading:e,viewState:r,handlers:{handleShowToolBar:a,handleShowBuildingPane:n,handleShowStatusBar:i,handleThemeOffice2003:l,handleThemeOffice2007Blue:c,handleThemeOffice2007Silver:d,handleRefresh:u}}})(),{handlers:m}=(()=>{const[e,t]=s.exports.useState(!1);return{loading:e,handlers:{handleBuildingConfigDatabase:s.exports.useCallback((async()=>{t(!0);try{await tC()}catch(e){}finally{t(!1)}}),[]),handleAllNodesDatabase:s.exports.useCallback((async()=>{t(!0);try{await rC()}catch(e){}finally{t(!1)}}),[]),handleIONameConfig:s.exports.useCallback((async()=>{t(!0);try{await oC()}catch(e){}finally{t(!1)}}),[]),handleLogDetail:s.exports.useCallback((async()=>{t(!0);try{await aC()}catch(e){}finally{t(!1)}}),[])}}})(),{handlers:b}=(()=>{const[e,t]=s.exports.useState(!1);return{loading:e,handlers:{handleGraphics:s.exports.useCallback((async()=>{t(!0);try{await nC()}catch(e){}finally{t(!1)}}),[]),handlePrograms:s.exports.useCallback((async()=>{t(!0);try{await iC()}catch(e){}finally{t(!1)}}),[]),handleInputs:s.exports.useCallback((async()=>{t(!0);try{await sC()}catch(e){}finally{t(!1)}}),[]),handleOutputs:s.exports.useCallback((async()=>{t(!0);try{await lC()}catch(e){}finally{t(!1)}}),[]),handleVariables:s.exports.useCallback((async()=>{t(!0);try{await cC()}catch(e){}finally{t(!1)}}),[]),handleLoops:s.exports.useCallback((async()=>{t(!0);try{await dC()}catch(e){}finally{t(!1)}}),[]),handleSchedules:s.exports.useCallback((async()=>{t(!0);try{await uC()}catch(e){}finally{t(!1)}}),[]),handleHolidays:s.exports.useCallback((async()=>{t(!0);try{await fC()}catch(e){}finally{t(!1)}}),[]),handleTrendLogs:s.exports.useCallback((async()=>{t(!0);try{await pC()}catch(e){}finally{t(!1)}}),[]),handleAlarms:s.exports.useCallback((async()=>{t(!0);try{await hC()}catch(e){}finally{t(!1)}}),[]),handleNetworkPanel:s.exports.useCallback((async()=>{t(!0);try{await gC()}catch(e){}finally{t(!1)}}),[]),handleRemotePoints:s.exports.useCallback((async()=>{t(!0);try{await vC()}catch(e){}finally{t(!1)}}),[]),handleConfiguration:s.exports.useCallback((async()=>{t(!0);try{await mC()}catch(e){}finally{t(!1)}}),[])}}})(),{handlers:x}=function(){const[e,t]=s.exports.useState(!1);return{loading:e,handlers:{handleLoadDescriptors:async()=>{try{t(!0),await bC.loadDescriptors()}catch(e){}finally{t(!1)}},handleWriteIntoFlash:async()=>{try{t(!0),await bC.writeIntoFlash()}catch(e){}finally{t(!1)}},handleGSMConnection:async()=>{try{t(!0),await bC.gsmConnection()}catch(e){}finally{t(!1)}}}}}(),{handlers:y}=function(){const[e,t]=s.exports.useState(!1);return{loading:e,handlers:{handleContents:async()=>{try{t(!0),await xC.showContents()}catch(e){}finally{t(!1)}},handleVersionHistory:async()=>{try{t(!0),await xC.showVersionHistory()}catch(e){}finally{t(!1)}},handleAboutSoftware:async()=>{try{t(!0),await xC.showAboutSoftware()}catch(e){}finally{t(!1)}},handleCheckUpdates:async()=>{try{t(!0),await xC.checkForUpdates()}catch(e){}finally{t(!1)}}}}}(),w=e=>{var t,r,o,a,n,i,s,l;return{serialNumber:e.id,productName:e.label,nameShowOnTree:e.label,protocol:(null==(t=e.data)?void 0:t.protocol)||"MODBUS",parentId:(null==(r=e.data)?void 0:r.parentId)||0,buildingName:(null==(o=e.data)?void 0:o.buildingName)||"",mainSubName:(null==(a=e.data)?void 0:a.mainSubName)||"",screenName:(null==(n=e.data)?void 0:n.screenName)||"",stationNumber:(null==(i=e.data)?void 0:i.stationNumber)||0,portNumber:(null==(s=e.data)?void 0:s.portNumber)||0,onlineStatus:(null==(l=e.data)?void 0:l.onlineStatus)||0}},k=e=>{if(!e)return null;return{Save:Vu,SaveAs:Vu,DocumentAdd:Ud,FolderOpen:nu,ArrowUpload:Gc,ArrowDownload:Fc,Print:Ru,Search:Zu,BuildingMultiple:ed,Clock:_d,Archive:Dc,Database:Md,ArrowCounterclockwise:Ec,ArrowClockwise:Pc,ArrowSync:$c,ArrowReset:Mc,CheckmarkCircle:cd,Settings:Xu,Delete:Ld,Wifi:uf,People:Tu,Shield:Ju,DocumentText:Kd,Wrench:pf,Book:Xc,Lightbulb:xu,Bug:Yc,Comment:Dd,Info:bu,Play:Pu,Stop:Qu,Power:Fu,PowerOff:Fu,Alert:Bc,AlertCheck:Bc,AlertOff:Bc,RecordStart:Pu,RecordStop:Qu,FullScreen:iu,TreeView:ju,ToolbarSettings:Xu,StatusBar:ju,PlugConnected:Eu,PlugDisconnected:Au,DataConnection:Eu,Network:Ku,SignOut:Yu,NumberSymbol:Nu,ChartMultiple:ad,Table:tf,TableSimple:of,FolderDatabase:Md,ArrowUploadMultiple:Gc,Flash:ru,Temperature:af,ChartLine:Rd,PersonAccounts:Du,ColorBackground:Cd,Color:Td,Toolbox:nf,Code:zd,DataHistogram:Fd,Calendar:rd,CalendarEvent:od,CalendarDate:od,Remote:Mu,Options:zu,DeveloperBoard:Vd,CircleMultipleConcentric:kd,Flow:ou,Image:gu,List:yu,NetworkCheck:_u,History:fu}[e]};return i.exports.jsxs("div",{className:t.header,children:[i.exports.jsxs("div",{className:t.menuBar,children:[cz.map((e=>{var o;return i.exports.jsxs(my,{children:[i.exports.jsx(Zy,{children:i.exports.jsx("div",{className:t.menuItem,children:e.label})}),i.exports.jsx(Oy,{className:"tools"===e.id?t.menuPopover:void 0,children:i.exports.jsx(Ry,{children:null==(o=e.children)?void 0:o.map((o=>{if("divider"===o.type)return i.exports.jsx(yy,{},o.id);const a="string"==typeof o.icon?k(o.icon):o.icon;return i.exports.jsx(Dy,{onClick:()=>(e=>{if(e)if("function"==typeof e)e();else switch(e){case iz.NewProject:u.handleNewProject();break;case iz.SaveAs:if(c){const e=w(c);u.handleSaveAs(e)}break;case iz.Load:if(c){const e=w(c);u.handleLoadFile(e)}break;case iz.Import:u.handleImport();break;case iz.Exit:u.handleExit();break;case iz.Connect:p.handleConnect();break;case iz.Disconnect:p.handleDisconnect();break;case iz.ChangeModbusId:if(c){const e=w(c);p.handleChangeModbusId(e)}break;case iz.BacnetTool:p.handleBacnetTool();break;case iz.ModbusPoll:p.handleModbusPoll();break;case iz.RegisterViewer:p.handleRegisterViewer();break;case iz.ModbusRegisterV2:p.handleModbusRegisterV2();break;case iz.RegisterListDatabaseFolder:p.handleRegisterListFolder();break;case iz.LoadFirmwareSingle:if(c){const e=w(c);p.handleLoadFirmwareSingle(e)}break;case iz.LoadFirmwareMany:p.handleLoadFirmwareMany();break;case iz.FlashSN:if(c){const e=w(c);p.handleFlashSN(e)}break;case iz.Psychrometry:p.handlePsychrometry();break;case iz.PhChart:p.handlePhChart();break;case iz.Options:p.handleOptions();break;case iz.LoginMyAccount:p.handleLoginMyAccount();break;case iz.ShowToolBar:g.handleShowToolBar();break;case iz.ShowBuildingPane:g.handleShowBuildingPane();break;case iz.ShowStatusBar:g.handleShowStatusBar();break;case iz.ThemeOffice2003:g.handleThemeOffice2003();break;case iz.ThemeOffice2007Blue:g.handleThemeOffice2007Blue();break;case iz.ThemeOffice2007Silver:g.handleThemeOffice2007Silver();break;case iz.ViewRefresh:g.handleRefresh();break;case iz.BuildingConfigDatabase:m.handleBuildingConfigDatabase();break;case iz.AllNodesDatabase:m.handleAllNodesDatabase();break;case iz.IONameConfig:m.handleIONameConfig();break;case iz.LogDetail:m.handleLogDetail();break;case iz.ControlGraphics:b.handleGraphics();break;case iz.ControlPrograms:b.handlePrograms();break;case iz.ControlInputs:b.handleInputs();break;case iz.ControlOutputs:b.handleOutputs();break;case iz.ControlVariables:b.handleVariables();break;case iz.ControlLoops:b.handleLoops();break;case iz.ControlSchedules:b.handleSchedules();break;case iz.ControlHolidays:b.handleHolidays();break;case iz.ControlTrendLogs:b.handleTrendLogs();break;case iz.ControlAlarms:b.handleAlarms();break;case iz.ControlNetworkPanel:b.handleNetworkPanel();break;case iz.ControlRemotePoints:b.handleRemotePoints();break;case iz.ControlConfiguration:b.handleConfiguration();break;case iz.LoadDescriptors:x.handleLoadDescriptors();break;case iz.WriteIntoFlash:x.handleWriteIntoFlash();break;case iz.GSMConnection:x.handleGSMConnection();break;case iz.HelpContents:y.handleContents();break;case iz.VersionHistory:y.handleVersionHistory();break;case iz.AboutSoftware:y.handleAboutSoftware();break;case iz.CheckUpdates:y.handleCheckUpdates();break;case iz.OpenDocumentation:case iz.OpenQuickStart:r("/t3000/documentation")}})(o.action),disabled:o.disabled,icon:a?i.exports.jsx(a,{}):void 0,className:"tools"===e.id?t.menuItemWide:void 0,style:{fontSize:"var(--t3-font-size-small)",padding:"8px 16px",minHeight:"32px"},children:i.exports.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%",gap:"24px"},children:[i.exports.jsx("span",{children:o.label}),o.shortcut&&i.exports.jsx("span",{className:t.menuShortcut,children:o.shortcut})]})},o.id)}))})})]},e.id)})),i.exports.jsxs("div",{className:t.menuBarRight,children:[i.exports.jsx("span",{style:{fontSize:"12px",color:"var(--t3-color-header-text)",marginRight:"8px"},children:F.value}),i.exports.jsx(JN,{appearance:"subtle",size:"small"}),i.exports.jsxs(Jm,{children:[i.exports.jsx(Ym,{children:i.exports.jsxs("div",{className:t.userAvatar,children:[i.exports.jsx("span",{className:t.userName,children:(null==a?void 0:a.username)||"T3000"}),i.exports.jsx(mg,{name:(null==a?void 0:a.username)||"T3000",color:"brand",size:28})]})}),i.exports.jsx(Xm,{children:i.exports.jsx(my,{children:i.exports.jsxs(Ry,{children:[i.exports.jsx(Dy,{icon:i.exports.jsx(Cu,{}),style:{fontSize:"var(--t3-font-size-small)",padding:"8px 16px",minHeight:"32px"},children:"Profile"}),i.exports.jsx(Dy,{icon:i.exports.jsx(Xu,{}),style:{fontSize:"var(--t3-font-size-small)",padding:"8px 16px",minHeight:"32px"},children:"Settings"}),i.exports.jsx(yy,{}),i.exports.jsx(Dy,{icon:i.exports.jsx(Yu,{}),onClick:async()=>{await n(),r("/login")},style:{fontSize:"var(--t3-font-size-small)",padding:"8px 16px",minHeight:"32px"},children:"Logout"})]})})})]})]})]}),e&&i.exports.jsx("div",{className:t.toolbarContainer,children:i.exports.jsx("div",{className:t.toolbarSection,children:i.exports.jsx(Vk,{children:dz.map(((e,a)=>{if(e.divider)return i.exports.jsx(Gk,{},`divider-${a}`);const n="string"==typeof e.icon?k(e.icon):e.icon,s=e.route&&o.pathname===e.route;return i.exports.jsx($k,{appearance:"subtle",icon:n?i.exports.jsx(n,{}):void 0,disabled:e.disabled,onClick:()=>(e=>{if(void 0!==e.windowId){const t=WT.find((t=>t.windowId===e.windowId));t&&r(t.path)}else"refresh"===e.action&&window.location.reload()})(e),title:e.tooltip||e.label,className:s?t.activeToolbarButton:"",style:{color:l.colors.text,fontSize:"11px",fontWeight:"400",padding:"1px 4px",minHeight:"24px",minWidth:"auto"},children:e.label},e.id)}))})})})]})},kC=e=>{const t=Date.now()-1e3*e,r=Math.floor(t/1e3),o=Math.floor(r/60),a=Math.floor(o/60),n=Math.floor(a/24);return r<60?"Just now":o<60?`${o} minute${1!==o?"s":""} ago`:a<24?`${a} hour${1!==a?"s":""} ago`:`${n} day${1!==n?"s":""} ago`},BC={autoRefreshEnabled:!1,refreshIntervalSecs:30},SC=({pageName:e,onRefresh:t,enabled:r=!0})=>{const[o,a]=s.exports.useState(null),[n,i]=s.exports.useState(!0),[l,c]=s.exports.useState(null),[d,u]=s.exports.useState(!1),f=s.exports.useCallback((async()=>{try{i(!0),c(null);const t=await fetch(`${Rz}/api/config/application/ui.refresh.${e}`);if(!t.ok){if(404===t.status)return void a(BC);throw new Error(`Failed to fetch config: ${t.statusText}`)}const r=await t.json();if(!r)return void a(BC);let o;o="string"==typeof r.configValue?JSON.parse(r.configValue):r.configValue||r,a(o)}catch(t){const e=t instanceof Error?t.message:"Unknown error";c(e),a(BC)}finally{i(!1)}}),[e]),p=s.exports.useCallback((async t=>{try{c(null);const r=await fetch(`${Rz}/api/config/application/ui.refresh.${e}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({configValue:JSON.stringify(t),configType:"json",description:`UI auto-refresh settings for ${e} page`})});if(!r.ok)throw new Error(`Failed to update config: ${r.statusText}`);a(t)}catch(r){const e=r instanceof Error?r.message:"Unknown error";throw c(e),r}}),[e]);return s.exports.useEffect((()=>{f()}),[f]),s.exports.useEffect((()=>{if(!r||!(null==o?void 0:o.autoRefreshEnabled))return;const e=1e3*o.refreshIntervalSecs,a=setInterval((async()=>{u(!0);try{await t()}catch(e){}finally{u(!1)}}),e);return()=>clearInterval(a)}),[r,o,t]),{config:o,loading:n,error:l,updateConfig:p,isRefreshing:d}},_C=br({drawer:{width:"380px"},drawerHeader:{padding:"8px 12px",minHeight:"auto"},drawerHeaderTitle:{fontSize:_l.fontSizeBase200,fontWeight:_l.fontWeightSemibold},drawerBody:{display:"flex",flexDirection:"column",padding:"12px",height:"100%"},section:{display:"flex",flexDirection:"column",gap:"8px",flexShrink:0},sectionHistory:{display:"flex",flexDirection:"column",gap:"8px",flexGrow:1,minHeight:"100px",marginBottom:"16px",overflow:"hidden"},historyList:{display:"flex",flexDirection:"column",gap:"8px",overflowY:"auto",paddingRight:"2px",maxHeight:"400px",scrollbarWidth:"thin",scrollbarColor:`${_l.colorNeutralStroke2} transparent`},bottomSection:{display:"flex",flexDirection:"column",gap:"16px",flexShrink:0},sectionTitle:{fontSize:_l.fontSizeBase200,fontWeight:_l.fontWeightSemibold,color:_l.colorNeutralForeground1,marginBottom:"4px"},historyItem:{display:"flex",alignItems:"center",gap:"8px",padding:"8px",backgroundColor:_l.colorNeutralBackground2,borderRadius:_l.borderRadiusSmall,border:`1px solid ${_l.colorNeutralStroke2}`},historyIcon:{flexShrink:0},historyContent:{flex:1,display:"flex",flexDirection:"column",gap:"2px"},historyTime:{fontSize:_l.fontSizeBase200,fontWeight:_l.fontWeightSemibold,color:_l.colorNeutralForeground1},historyDetails:{fontSize:_l.fontSizeBase100,color:_l.colorNeutralForeground3},historyError:{fontSize:_l.fontSizeBase100,color:_l.colorPaletteRedForeground1,marginTop:"4px"},configRow:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"8px 12px",backgroundColor:_l.colorNeutralBackground2,borderRadius:_l.borderRadiusSmall},configLabelContainer:{display:"flex",flexDirection:"column",gap:"2px"},configLabel:{fontSize:_l.fontSizeBase200,color:_l.colorNeutralForeground1},configHint:{fontSize:_l.fontSizeBase100,color:_l.colorNeutralForeground3,marginTop:"2px"},actions:{display:"flex",gap:"8px",justifyContent:"flex-start",marginTop:"16px"},actionButton:{fontWeight:_l.fontWeightRegular,fontSize:_l.fontSizeBase200,minWidth:"100px",height:"28px"},emptyState:{textAlign:"center",padding:"24px",color:_l.colorNeutralForeground3},errorNotice:{padding:"8px 12px",backgroundColor:"#fef6f6",borderRadius:"4px",display:"flex",alignItems:"center",gap:"8px",border:"1px solid #fde7e9"},errorIcon:{color:"#d13438",fontSize:"16px",flexShrink:0},errorText:{color:"#d13438",fontWeight:_l.fontWeightMedium,fontSize:_l.fontSizeBase200}}),NC=({isOpen:e,onClose:t,dataType:r,serialNumber:o})=>{const a=_C(),[n,l]=s.exports.useState([]),[c,d]=s.exports.useState(!1),[u,f]=s.exports.useState(null),[p,h]=s.exports.useState({autoRefreshEnabled:!1,refreshIntervalSecs:30}),[g,v]=s.exports.useState(!1),{config:m,updateConfig:b,loading:x}=SC({pageName:r.toLowerCase(),onRefresh:async()=>{},enabled:!1});s.exports.useEffect((()=>{m&&(h(m),v(!1))}),[m]),s.exports.useEffect((()=>{if(!e)return;(async()=>{d(!0),f(null);try{const e=await fetch(`${Rz}/api/sync-status/${o}/${r}/history?limit=10`);if(!e.ok)throw new Error("Failed to fetch sync history");const t=await e.json();l(t)}catch(e){const t=e instanceof Error?e.message:"Unknown error";f(t)}finally{d(!1)}})()}),[e,o,r]);const y=(e,t)=>{h((r=>({...r,[e]:t}))),v(!0)},w=()=>{m&&h(m),v(!1),t()},k=e=>e.success?i.exports.jsx(Sf,{className:a.historyIcon,primaryFill:_l.colorPaletteGreenForeground1}):i.exports.jsx(Lf,{className:a.historyIcon,primaryFill:_l.colorPaletteRedForeground1}),B=e=>{const t="FFI_BACKEND"===e;return i.exports.jsx(Ph,{appearance:"tint",color:t?"informative":"success",size:"small",children:t?"Backend":"Manual"})};return i.exports.jsxs(kN,{type:"overlay",position:"end",open:e,onOpenChange:(e,{open:t})=>!t&&w(),size:"medium",className:a.drawer,children:[i.exports.jsx(TN,{className:a.drawerHeader,children:i.exports.jsxs(AN,{className:a.drawerHeaderTitle,action:i.exports.jsx(xb,{appearance:"subtle",icon:i.exports.jsx(Rf,{}),onClick:w}),children:["Sync Settings - ",r]})}),i.exports.jsxs(_N,{className:a.drawerBody,children:[i.exports.jsxs("div",{className:a.sectionHistory,children:[i.exports.jsx(Xw,{className:a.sectionTitle,children:"Sync History"}),c?i.exports.jsxs("div",{className:a.emptyState,children:[i.exports.jsx(Aw,{size:"small"}),i.exports.jsx(Xw,{children:"Loading history..."})]}):u?i.exports.jsxs("div",{className:a.errorNotice,children:[i.exports.jsx(Lf,{className:a.errorIcon}),i.exports.jsx(Xw,{className:a.errorText,children:u})]}):0===n.length?i.exports.jsx("div",{className:a.emptyState,children:i.exports.jsx(Xw,{children:"No sync history available"})}):i.exports.jsx("div",{className:a.historyList,children:n.map((e=>{return i.exports.jsxs("div",{className:a.historyItem,children:[k(e),i.exports.jsxs("div",{className:a.historyContent,children:[i.exports.jsx(Xw,{className:a.historyTime,children:(t=e.syncTime,new Date(1e3*t).toLocaleString("en-CA",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1}).replace(",",""))}),i.exports.jsxs("div",{className:a.historyDetails,children:[B(e.syncMethod)," • ",e.recordsSynced," records"]}),e.errorMessage&&i.exports.jsx(Xw,{className:a.historyError,children:e.errorMessage})]})]},e.id);var t}))})]}),i.exports.jsxs("div",{className:a.bottomSection,children:[i.exports.jsx(Bx,{}),i.exports.jsxs("div",{className:a.section,children:[i.exports.jsx(Xw,{className:a.sectionTitle,children:"Auto-Refresh Settings"}),i.exports.jsxs("div",{className:a.configRow,children:[i.exports.jsxs("div",{className:a.configLabelContainer,children:[i.exports.jsx(Xw,{className:a.configLabel,children:"Enable Auto-Refresh"}),i.exports.jsx(Xw,{className:a.configHint,children:"Automatically refresh data from device at regular intervals"})]}),i.exports.jsx(Ww,{checked:p.autoRefreshEnabled,onChange:(e,t)=>y("autoRefreshEnabled",t.checked),disabled:x})]}),i.exports.jsxs("div",{className:a.configRow,children:[i.exports.jsxs("div",{className:a.configLabelContainer,children:[i.exports.jsx(Xw,{className:a.configLabel,children:"Refresh Interval (seconds)"}),i.exports.jsx(Xw,{className:a.configHint,children:"How often to refresh data from the device"})]}),i.exports.jsx(yw,{value:p.refreshIntervalSecs,onChange:(e,t)=>{void 0!==t.value&&t.value>=10&&y("refreshIntervalSecs",t.value)},min:10,max:300,step:10,disabled:!p.autoRefreshEnabled||x})]})]}),i.exports.jsxs("div",{className:a.actions,children:[i.exports.jsx(xb,{appearance:"primary",onClick:async()=>{try{await b(p),v(!1),t()}catch(e){}},disabled:!g||x,className:a.actionButton,children:"Save Changes"}),i.exports.jsx(xb,{appearance:"secondary",onClick:w,className:a.actionButton,children:"Cancel"})]})]})]})]})},zC=br({container:{display:"flex",alignItems:"center",justifyContent:"space-between",minHeight:"40px"},leftSection:{display:"flex",alignItems:"center",gap:"12px"},rightSection:{display:"flex",alignItems:"center",gap:"8px"},syncInfo:{display:"flex",alignItems:"center",gap:"8px"},syncText:{fontSize:_l.fontSizeBase100,color:_l.colorNeutralForeground2},syncMethod:{fontSize:"11px",color:_l.colorNeutralForeground3},button:{fontSize:_l.fontSizeBase100}}),jC=({dataType:e,serialNumber:t,onRefresh:r})=>{const o=zC(),[a,n]=s.exports.useState(!1),[l,c]=s.exports.useState(!1),{syncStatus:d,loading:u,error:f,refresh:p,timeAgo:h}=(({serialNumber:e,dataType:t,autoRefresh:r=!1,refreshIntervalMs:o=3e4})=>{const[a,n]=s.exports.useState(null),[i,l]=s.exports.useState(!0),[c,d]=s.exports.useState(null),[u,f]=s.exports.useState(""),p=s.exports.useCallback((async()=>{try{l(!0),d(null);const r=await fetch(`${Rz}/api/sync-status/${e}/${t}`);if(!r.ok)throw new Error(`Failed to fetch sync status: ${r.statusText}`);const o=await r.json();n(o),(null==o?void 0:o.syncTime)&&f(kC(o.syncTime))}catch(r){const e=r instanceof Error?r.message:"Unknown error";d(e)}finally{l(!1)}}),[e,t]);return s.exports.useEffect((()=>{p()}),[p]),s.exports.useEffect((()=>{if(!r)return;const e=setInterval((()=>{p()}),o);return()=>clearInterval(e)}),[r,o,p]),s.exports.useEffect((()=>{if(!(null==a?void 0:a.syncTime))return;const e=setInterval((()=>{f(kC(a.syncTime))}),1e4);return()=>clearInterval(e)}),[null==a?void 0:a.syncTime]),{syncStatus:a,loading:i,error:c,refresh:p,timeAgo:u}})({serialNumber:t,dataType:e,autoRefresh:!0,refreshIntervalMs:3e4}),{config:g,isRefreshing:v}=SC({pageName:e.toLowerCase(),onRefresh:async()=>{r&&(await r(),await p())}});return i.exports.jsxs(i.exports.Fragment,{children:[i.exports.jsxs("div",{className:o.container,children:[i.exports.jsxs("div",{className:o.leftSection,children:[i.exports.jsxs("div",{className:o.syncInfo,children:[u||l||v?i.exports.jsx(Aw,{size:"tiny"}):f||!1===(null==d?void 0:d.success)?i.exports.jsx(ab,{content:"Last sync failed",relationship:"label",children:i.exports.jsx(Lf,{primaryFill:_l.colorPaletteRedForeground1})}):d?i.exports.jsx(ab,{content:"Last sync successful",relationship:"label",children:i.exports.jsx(Sf,{primaryFill:_l.colorPaletteGreenForeground1})}):i.exports.jsx(Df,{}),u?i.exports.jsx(Xw,{className:o.syncText,children:"Loading sync status..."}):f?i.exports.jsx(Xw,{className:o.syncText,children:"Unable to load sync status"}):d?i.exports.jsxs(i.exports.Fragment,{children:[i.exports.jsxs(Xw,{className:o.syncText,children:["Last synced: ",i.exports.jsx("strong",{children:h}),d.syncTimeFmt&&i.exports.jsxs("span",{className:o.syncMethod,children:[" (",d.syncTimeFmt,")"]})]}),(()=>{if(!d)return null;const e="FFI_BACKEND"===d.syncMethod?"Backend Service":"Manual Refresh",t="FFI_BACKEND"===d.syncMethod?"informative":"success";return i.exports.jsx(Ph,{appearance:"tint",color:t,size:"small",children:e})})(),d.recordsSynced>0&&i.exports.jsxs(Xw,{className:o.syncMethod,children:["(",d.recordsSynced," records)"]})]}):i.exports.jsx(Xw,{className:o.syncText,children:"No sync data available"})]}),(null==g?void 0:g.autoRefreshEnabled)&&i.exports.jsx(ab,{content:`Auto-refreshing every ${g.refreshIntervalSecs} seconds`,relationship:"label",children:i.exports.jsx(Ph,{appearance:"tint",color:"warning",size:"small",children:"Auto-refresh ON"})})]}),i.exports.jsxs("div",{className:o.rightSection,children:[i.exports.jsx(xb,{appearance:"subtle",size:"small",icon:i.exports.jsx(xf,{}),onClick:async()=>{if(r){c(!0);try{await r(),await p()}catch(e){}finally{c(!1)}}},disabled:l||u,className:o.button,children:"Refresh Now"}),i.exports.jsx(xb,{appearance:"subtle",size:"small",icon:i.exports.jsx(Dp,{}),onClick:()=>n(!0),className:o.button,children:"Settings"})]})]}),i.exports.jsx(NC,{isOpen:a,onClose:()=>n(!1),dataType:e,serialNumber:t})]})};const TC=br({container:{display:"flex",alignItems:"center",justifyContent:"space-between",minHeight:"44px",padding:"0 16px",backgroundColor:"#fafafa",borderBottom:"1px solid #edebe9"},breadcrumbSection:{display:"flex",alignItems:"center",gap:"12px"},pageHeaderBar:{width:"4px",height:"16px",background:"linear-gradient(to bottom, #0078d4, #106ebe)",borderRadius:"2px",flexShrink:0},pageTitle:{fontSize:"13px",fontWeight:"600",color:"#323130",margin:0,letterSpacing:"0.3px",lineHeight:"16px"},deviceInfo:{display:"flex",alignItems:"center",gap:"8px",paddingLeft:"12px",marginLeft:"12px",borderLeft:"1px solid #d1d1d1"},deviceLabel:{fontSize:"12px",color:"#605e5c"},deviceName:{fontSize:"13px",fontWeight:"600",color:"#323130"},syncSection:{flexShrink:0,paddingLeft:"16px",marginLeft:"16px",borderLeft:"1px solid #d1d1d1"}}),CC={"/t3000/dashboard":{label:"Dashboard",segments:["Dashboard"]},"/t3000/inputs":{label:"Inputs",segments:["Inputs"]},"/t3000/outputs":{label:"Outputs",segments:["Outputs"]},"/t3000/variables":{label:"Variables",segments:["Variables"]},"/t3000/programs":{label:"Programs",segments:["Programs"]},"/t3000/pidloops":{label:"PID Loops",segments:["PID Loops"]},"/t3000/graphics":{label:"Graphics",segments:["Graphics"]},"/t3000/schedules":{label:"Schedules",segments:["Schedules"]},"/t3000/holidays":{label:"Holidays",segments:["Holidays"]},"/t3000/trend-logs":{label:"Trend Logs",segments:["Trend Logs"]},"/t3000/alarms":{label:"Alarms",segments:["Alarms"]},"/t3000/array":{label:"Array",segments:["Array"]},"/t3000/network":{label:"Network",segments:["Network"]},"/t3000/settings":{label:"Settings",segments:["Settings"]},"/t3000/discover":{label:"Discover",segments:["Discover"]},"/t3000/buildings":{label:"Buildings",segments:["Buildings"]}},DC=({title:e,syncConfig:t})=>{const r=TC(),o=xe();we();const{selectedDevice:a}=xT(),n=CC[o.pathname],s=e||(null==n?void 0:n.label)||"T3000";null==n||n.segments;const l={"/t3000/inputs":"INPUTS","/t3000/outputs":"OUTPUTS","/t3000/variables":"VARIABLES","/t3000/programs":"PROGRAMS"}[o.pathname],c=!!l&&!!a;return i.exports.jsxs("div",{className:r.container,children:[i.exports.jsxs("div",{className:r.breadcrumbSection,children:[i.exports.jsx("div",{className:r.pageHeaderBar}),i.exports.jsx("h1",{className:r.pageTitle,children:s.toUpperCase()}),a&&i.exports.jsxs("div",{className:r.deviceInfo,children:[i.exports.jsx(Xw,{className:r.deviceLabel,children:"Device:"}),i.exports.jsx(Xw,{className:r.deviceName,children:a.nameShowOnTree||a.panelName||`SN: ${a.serialNumber}`})]})]}),c&&i.exports.jsx("div",{className:r.syncSection,children:i.exports.jsx(jC,{dataType:l,serialNumber:a.serialNumber.toString(),onRefresh:async()=>{if(a&&l)try{let e;switch(l){case"INPUTS":e=await class{static async refreshAllFromDevice(e){return mT.refreshAllInputs(e)}static async refreshSingleFromDevice(e,t){return mT.refreshSingleInput(e,t)}static async loadAllFromDB(e){return pT.getAllInputs(e)}static async loadFromDB(e,t){return(await pT.getAllInputs(e)).find((e=>e.index===t))}static async loadByIdFromDB(e){return pT.getInputById(e)}static async validate(e){const t=[];return(e.index<0||e.index>127)&&t.push("Index must be between 0-127"),e.label&&""!==e.label.trim()||t.push("Label is required"),{valid:0===t.length,errors:t}}}.refreshAllFromDevice(a.serialNumber);break;case"OUTPUTS":e=await class{static async refreshAllFromDevice(e){return mT.refreshAllOutputs(e)}static async refreshSingleFromDevice(e,t){return mT.refreshSingleOutput(e,t)}static async loadAllFromDB(e){return pT.getAllOutputs(e)}static async loadFromDB(e,t){return(await pT.getAllOutputs(e)).find((e=>e.index===t))}static async loadByIdFromDB(e){return pT.getOutputById(e)}static async validate(e){const t=[];return(e.index<0||e.index>63)&&t.push("Index must be between 0-63"),e.label&&""!==e.label.trim()||t.push("Label is required"),{valid:0===t.length,errors:t}}}.refreshAllFromDevice(a.serialNumber);break;case"VARIABLES":e=await class{static async refreshAllFromDevice(e){return mT.refreshAllVariables(e)}static async refreshSingleFromDevice(e,t){return mT.refreshSingleVariable(e,t)}static async loadAllFromDB(e){return pT.getAllVariables(e)}static async loadFromDB(e,t){return(await pT.getAllVariables(e)).find((e=>e.index===t))}static async loadByIdFromDB(e){return pT.getVariableById(e)}static async validate(e){const t=[];return(e.index<0||e.index>63)&&t.push("Index must be between 0-63"),e.label&&""!==e.label.trim()||t.push("Label is required"),{valid:0===t.length,errors:t}}}.refreshAllFromDevice(a.serialNumber);break;case"PROGRAMS":e=await class{static async refreshAllFromDevice(e){return mT.refreshAllPrograms(e)}static async refreshSingleFromDevice(e,t){return mT.refreshSingleProgram(e,t)}static async loadAllFromDB(e){return pT.getAllPrograms(e)}static async loadFromDB(e,t){return(await pT.getAllPrograms(e)).find((e=>e.index===t))}static async loadByIdFromDB(e){return pT.getProgramById(e)}static async validate(e){const t=[];return(e.index<0||e.index>15)&&t.push("Index must be between 0-15"),e.label&&""!==e.label.trim()||t.push("Label is required"),{valid:0===t.length,errors:t}}}.refreshAllFromDevice(a.serialNumber);break;default:return}window.dispatchEvent(new CustomEvent("data-refreshed",{detail:{dataType:l}}))}catch(e){throw e}}})})]})},PC=({device:e,onOpen:t,onDelete:r,onEdit:o,onCopyIP:a,onCheckStatus:n,children:l})=>{const[c,d]=s.exports.useState(!1);if(!e)return l;return i.exports.jsxs(i.exports.Fragment,{children:[i.exports.jsx("div",{onContextMenu:e=>{e.preventDefault(),e.stopPropagation(),d(!0)},style:{width:"100%",height:"100%"},children:l}),i.exports.jsxs(my,{open:c,onOpenChange:(e,t)=>d(t.open),children:[i.exports.jsx(Zy,{disableButtonEnhancement:!0,children:i.exports.jsx("div",{style:{display:"none"}})}),i.exports.jsx(Oy,{children:i.exports.jsxs(Ry,{children:[i.exports.jsx(Dy,{icon:i.exports.jsx(Hf,{}),onClick:()=>{null==t||t(e),d(!1)},children:"Open Device"}),i.exports.jsx(Dy,{icon:i.exports.jsx(If,{}),onClick:()=>{null==o||o(e),d(!1)},children:"Edit Label"}),e.ipAddress&&i.exports.jsx(Dy,{icon:i.exports.jsx(Pf,{}),onClick:()=>{e.ipAddress&&navigator.clipboard.writeText(e.ipAddress),null==a||a(e),d(!1)},children:"Copy IP Address"}),i.exports.jsx(Dy,{icon:i.exports.jsx(Fp,{}),onClick:()=>{null==n||n(e),d(!1)},children:"Check Status"}),i.exports.jsx(Dy,{icon:i.exports.jsx(Ef,{}),onClick:()=>{null==r||r(e),d(!1)},children:"Delete Device"})]})})]})]})};var EC="_emptyState_1hebs_1",AC="_treeItemSelected_1hebs_17",FC="_treeItemNormal_1hebs_37";const RC=({status:e,isSelected:t})=>{const r={width:"16px",height:"16px",display:"flex",alignItems:"center",justifyContent:"center"},o=t?"#0078d4":void 0;switch(e){case"online":return i.exports.jsx(kf,{style:{...r,color:o||"#107C10"}});case"offline":return i.exports.jsx(Ff,{style:{...r,color:o||"#a80000"}});default:return i.exports.jsx(Tp,{style:{...r,color:o||"#605e5c"}})}},IC=f.memo((({node:e,level:t})=>{const{selectedNodeId:r,expandNode:o,collapseNode:a,selectNode:n,deleteDevice:l,updateDevice:c,checkDeviceStatus:d,connectDevice:u}=xT(),f=s.exports.useCallback(((t,r)=>{r.open?o(e.id):a(e.id)}),[e.id,o,a]),p=s.exports.useCallback((()=>{n(e.id)}),[e.id,n]),h=s.exports.useCallback((e=>{e&&u(e.serialNumber)}),[u]),g=s.exports.useCallback((e=>{e&&window.confirm(`Delete device ${e.nameShowOnTree}?`)&&l(e.serialNumber)}),[l]),v=s.exports.useCallback((e=>{if(e){const t=window.prompt("Enter new label:",e.nameShowOnTree);t&&t!==e.nameShowOnTree&&c(e.serialNumber,{nameShowOnTree:t})}}),[c]),m=s.exports.useCallback((e=>{e&&d(e.serialNumber)}),[d]),b=r===e.id;return"building"===e.type&&e.children?i.exports.jsxs(p_,{itemType:"branch",value:e.id,open:e.expanded,onOpenChange:f,children:[i.exports.jsx(e_,{onClick:p,className:b?AC:FC,style:{"--tree-level":t},children:e.label}),i.exports.jsx(c_,{children:e.children.map((e=>i.exports.jsx(IC,{node:e,level:t+1},e.id)))})]}):i.exports.jsx(PC,{device:e.data||null,onOpen:h,onDelete:g,onEdit:v,onCheckStatus:m,children:i.exports.jsx(p_,{itemType:"leaf",value:e.id,children:i.exports.jsx(e_,{onClick:p,iconBefore:i.exports.jsx(Af,{style:{color:"#605e5c",width:"16px",height:"16px"}}),aside:b&&e.status?i.exports.jsx(RC,{status:e.status,isSelected:b}):void 0,className:b?AC:FC,style:{"--tree-level":t},children:e.label})})})}));IC.displayName="TreeNodeItem";const MC=()=>{const{treeData:e}=xT();return e&&0!==e.length?i.exports.jsx(c_,{"aria-label":"Device Tree",style:{width:"100%",height:"100%"},children:e.map((e=>i.exports.jsx(IC,{node:e,level:0},e.id)))}):i.exports.jsx("div",{className:EC,children:"No devices found"})};var LC="_container_q2p2z_1",OC="_barBackground_q2p2z_19",qC="_barFill_q2p2z_35",HC="_normal_q2p2z_47",VC="_moderate_q2p2z_55",ZC="_warning_q2p2z_63",$C="_critical_q2p2z_71",WC="_label_q2p2z_79";const UC=({used:e,total:t,percentage:r})=>{const o=`${e} of ${t} used (${r.toFixed(1)}%)`;return i.exports.jsxs("div",{className:LC,title:o,children:[i.exports.jsx("div",{className:OC,children:i.exports.jsx("div",{className:`${qC} ${r>=90?$C:r>=75?ZC:r>=50?VC:HC}`,style:{width:`${Math.min(r,100)}%`}})}),i.exports.jsxs("div",{className:WC,children:[r.toFixed(0),"%"]})]})};var GC="_container_1xr1w_11",XC="_treeItemSelected_1xr1w_27",KC="_treeItemNormal_1xr1w_47",JC="_pointTypeName_1xr1w_101",YC="_icon_1xr1w_117",QC="_statusOnline_1xr1w_133",eD="_statusOffline_1xr1w_149",tD="_loadingContainer_1xr1w_167",rD="_loadingSpinner_1xr1w_183",oD="_errorContainer_1xr1w_197",aD="_errorTitle_1xr1w_213",nD="_errorMessage_1xr1w_227",iD="_emptyContainer_1xr1w_241",sD="_emptyIcon_1xr1w_261",lD="_emptyTitle_1xr1w_271";const cD=e=>{switch(e){case"inputs":default:return i.exports.jsx(pf,{className:YC});case"outputs":return i.exports.jsx(zu,{className:YC});case"variables":return i.exports.jsx(kd,{className:YC});case"programs":return i.exports.jsx(Vd,{className:YC});case"pidloops":return i.exports.jsx(ou,{className:YC});case"schedules":return i.exports.jsx(rd,{className:YC});case"holidays":return i.exports.jsx(od,{className:YC});case"graphics":return i.exports.jsx(gu,{className:YC});case"trendlogs":return i.exports.jsx(ad,{className:YC})}},dD=({status:e})=>"online"===e?i.exports.jsx(kf,{className:QC}):i.exports.jsx(Ff,{className:eD}),uD=f.memo((({node:e,level:t,selectedPointType:r,onNavigate:o})=>{const a=e.children&&e.children.length>0;if("point_type"===e.node_type){const a=e.point_type===r,n=()=>{e.point_type&&o(e.point_type)};return i.exports.jsx(p_,{itemType:"leaf",value:e.name,children:i.exports.jsxs(e_,{className:a?XC:KC,style:{"--tree-level":t,cursor:"pointer"},onClick:n,children:[cD(e.point_type),i.exports.jsx("span",{className:JC,children:e.name}),void 0!==e.used&&void 0!==e.total&&i.exports.jsx(UC,{used:e.used,total:e.total,percentage:e.percentage||0})]})})}return"device"===e.node_type?i.exports.jsxs(p_,{itemType:"branch",value:e.name,children:[i.exports.jsx(e_,{className:KC,style:{"--tree-level":t},iconBefore:i.exports.jsx(Uu,{style:{color:"#605e5c",width:"20px",height:"20px"}}),aside:e.status?i.exports.jsx(dD,{status:e.status}):void 0,children:e.name}),a&&i.exports.jsx(c_,{children:e.children.map(((e,a)=>i.exports.jsx(uD,{node:e,level:t+1,selectedPointType:r,onNavigate:o},`${e.name}-${a}`)))})]}):i.exports.jsxs(p_,{itemType:"branch",value:e.name,children:[i.exports.jsx(e_,{className:KC,style:{"--tree-level":t},iconBefore:i.exports.jsx(au,{style:{color:"#605e5c",width:"20px",height:"20px"}}),children:e.name}),a&&i.exports.jsx(c_,{children:e.children.map(((e,a)=>i.exports.jsx(uD,{node:e,level:t+1,selectedPointType:r,onNavigate:o},`${e.name}-${a}`)))})]})})),fD=()=>{const{projectTreeData:e,isLoading:t,error:r,fetchProjectPointTree:o}=xT(),[a,n]=s.exports.useState([]),l=xe(),c=we(),d=(u=l.pathname).includes("/inputs")?"inputs":u.includes("/outputs")?"outputs":u.includes("/variables")?"variables":u.includes("/programs")?"programs":u.includes("/pidloops")?"pidloops":u.includes("/schedules")?"schedules":u.includes("/holidays")?"holidays":u.includes("/graphics")?"graphics":u.includes("/trendlogs")?"trendlogs":null;var u;return s.exports.useEffect((()=>{e||o()}),[e,o]),s.exports.useEffect((()=>{if(e&&0===a.length){const t=[];if(t.push(e.name),e.children&&e.children.length>0){const r=e.children[0];if(t.push(r.name),r.children&&r.children.length>0){const e=r.children[0];t.push(e.name)}}n(t)}}),[e,a.length]),t?i.exports.jsx("div",{className:tD,children:i.exports.jsx("div",{className:rD,children:"Loading..."})}):r?i.exports.jsxs("div",{className:oD,children:[i.exports.jsx("div",{className:aD,children:"Failed to load project tree"}),i.exports.jsx("div",{className:nD,children:r})]}):e?i.exports.jsx("div",{className:GC,children:i.exports.jsx(c_,{openItems:a,onOpenChange:(e,t)=>n(t.openItems),children:i.exports.jsx(uD,{node:e,level:0,selectedPointType:d,onNavigate:e=>{const t=(e=>({inputs:"/t3000/inputs",outputs:"/t3000/outputs",variables:"/t3000/variables",programs:"/t3000/programs",pidloops:"/t3000/pidloops",schedules:"/t3000/schedules",holidays:"/t3000/holidays",graphics:"/t3000/graphics",trendlogs:"/t3000/trendlogs"}[e]||"/t3000/dashboard"))(e);c(t)}})})}):i.exports.jsxs("div",{className:iD,children:[i.exports.jsx("div",{className:sD,children:"📊"}),i.exports.jsx("div",{className:lD,children:"No Project Data"})]})};var pD="_container_1ahti_1",hD="_leftSection_1ahti_23",gD="_title_1ahti_35",vD="_activeButton_1ahti_127";const mD=({showFilter:e,onToggleFilter:t})=>{const{expandAll:r,collapseAll:o,viewMode:a,setViewMode:n,loadDevicesWithSync:s,syncDatabaseWithCpp:l}=xT(),c=tj((e=>e.setMessage)),[d,u]=f.useState(!1),[p,h]=f.useState(!1),[g,v]=f.useState(!1),m="projectPoint"===a;return i.exports.jsxs("div",{className:pD,children:[i.exports.jsx("div",{className:hD,children:i.exports.jsx("div",{className:gD,children:"Devices"})}),i.exports.jsxs(Vk,{"aria-label":"Device tree toolbar",size:"small",children:[i.exports.jsx(ab,{content:"Remove all devices from list",relationship:"label",positioning:"below-start",size:"small",children:i.exports.jsx($k,{"aria-label":"Remove all devices from list",icon:i.exports.jsx(Ld,{fontSize:18}),onClick:()=>{v(!0)},appearance:"subtle"})}),i.exports.jsx(ab,{content:"Refresh",relationship:"label",positioning:"below-start",size:"small",children:i.exports.jsx($k,{"aria-label":"Refresh devices",icon:i.exports.jsx($c,{fontSize:18}),onClick:async()=>{h(!0);try{await s()}catch(e){c("Failed to refresh device list. Please try again.","error")}finally{h(!1)}},appearance:"subtle",disabled:p})}),i.exports.jsx(ab,{content:m?"Switch to Equipment View":"Switch to Project Point View",relationship:"label",positioning:"below-start",size:"small",children:i.exports.jsx($k,{"aria-label":m?"Switch to Equipment View":"Switch to Project Point View",icon:m?i.exports.jsx(Md,{}):i.exports.jsx(Qc,{}),onClick:async()=>{n("equipment"===a?"projectPoint":"equipment"),await s()},appearance:"subtle",className:m?vD:""})}),i.exports.jsx(ab,{content:e?"Hide Filter":"Show Filter",relationship:"label",positioning:"below-start",size:"small",children:i.exports.jsx($k,{"aria-label":"Toggle filter",icon:i.exports.jsx(Of,{}),onClick:t,appearance:"subtle",className:e?vD:""})}),i.exports.jsx(ab,{content:d?"Collapse All":"Expand All",relationship:"label",positioning:"below-start",size:"small",children:i.exports.jsx($k,{"aria-label":d?"Collapse all nodes":"Expand all nodes",icon:d?i.exports.jsx(zf,{}):i.exports.jsx(Nf,{}),onClick:()=>{d?(o(),u(!1)):(r(),u(!0))},appearance:"subtle",className:d?vD:""})})]}),i.exports.jsx(lk,{open:g,onOpenChange:(e,t)=>v(t.open),children:i.exports.jsx(Ak,{children:i.exports.jsxs(mk,{children:[i.exports.jsx(_k,{style:{fontSize:"16px",fontWeight:"normal"},children:"Remove all devices?"}),i.exports.jsx(Ik,{children:"This will remove all devices from the device list. Your physical devices will not be affected. Click Refresh afterwards to reload devices from the network."}),i.exports.jsxs(hk,{children:[i.exports.jsx(xb,{appearance:"secondary",onClick:()=>v(!1),style:{fontSize:"14px",fontWeight:"normal"},children:"Cancel"}),i.exports.jsx(xb,{appearance:"primary",onClick:async()=>{v(!1);try{await l()}catch(e){c("Failed to clear devices","error")}},style:{fontSize:"14px",fontWeight:"normal"},children:"Remove all"})]})]})})})]})};var bD="_container_wh4rq_1",xD="_searchBox_wh4rq_19",yD="_dropdown_wh4rq_43",wD="_checkbox_wh4rq_69";const kD=()=>{const{filterText:e,filterProtocol:t,filterBuilding:r,showOfflineOnly:o,buildings:a,setFilterText:n,setFilterProtocol:s,setFilterBuilding:l,setShowOfflineOnly:c,clearFilters:d}=xT(),u=f.useMemo((()=>{const e=new Set(a.map((e=>e.protocol)));return["All",...Array.from(e)]}),[a]),p=f.useMemo((()=>["All",...a.map((e=>e.name))]),[a]),h=""!==e||"All"!==t||"All"!==r||o;return i.exports.jsxs("div",{className:bD,children:[i.exports.jsx($N,{placeholder:"Search devices...",value:e,onChange:(e,t)=>n(t.value),className:xD,size:"small",style:{width:"100%",minWidth:0}}),i.exports.jsx(hx,{placeholder:"Protocol",value:t,selectedOptions:[t],onOptionSelect:(e,t)=>s(t.optionValue),className:yD,size:"small",style:{width:"100%",minWidth:0},children:u.map((e=>i.exports.jsx(rx,{value:e,children:e},e)))}),i.exports.jsx(hx,{placeholder:"Building",value:r,selectedOptions:[r],onOptionSelect:(e,t)=>l(t.optionValue),className:yD,size:"small",style:{width:"100%",minWidth:0},children:p.map((e=>i.exports.jsx(rx,{value:e,children:e},e)))}),i.exports.jsx(Lb,{label:"Offline only",checked:o,onChange:(e,t)=>c(t.checked),className:wD}),h&&i.exports.jsx(xb,{appearance:"subtle",icon:i.exports.jsx(Ff,{}),onClick:d,size:"small",children:"Clear"})]})};var BD="_container_1opdk_1",SD="_treeContainer_1opdk_21",_D="_loadingContainer_1opdk_50",ND="_loadingSpinner_1opdk_58",zD="_errorContainer_1opdk_73",jD="_errorTitle_1opdk_89",TD="_errorMessage_1opdk_97",CD="_retryButton_1opdk_106",DD="_buttonIcon_1opdk_127",PD="_emptyContainer_1opdk_145",ED="_emptyIconWrapper_1opdk_154",AD="_emptyIcon_1opdk_154",FD="_emptyTitle_1opdk_172",RD="_emptyMessage_1opdk_179",ID="_scanButton_1opdk_185";const MD=()=>{const{viewMode:e,fetchDevices:t,loadDevicesWithSync:r,isLoading:o,error:a,devices:n,treeData:l}=xT(),[c,d]=f.useState(!1),u=f.useRef(!1);!function(e={}){const{enabled:t=!0,intervalMs:r=3e4}=e,{devices:o,checkDeviceStatus:a}=xT(),n=s.exports.useRef(null);s.exports.useEffect((()=>{if(!t||0===o.length)return;const e=()=>{o.forEach((e=>{a(e.serialNumber)}))};return e(),n.current=window.setInterval((()=>{e()}),r),()=>{null!==n.current&&(window.clearInterval(n.current),n.current=null)}}),[t,r,o,a])}({enabled:!0,intervalMs:3e4}),function(e={}){const{enabled:t=!0,intervalMs:r=6e4}=e,{fetchDevices:o}=xT(),a=s.exports.useRef(null);s.exports.useEffect((()=>{if(t)return a.current=window.setInterval((()=>{o()}),r),()=>{null!==a.current&&(window.clearInterval(a.current),a.current=null)}}),[t,r,o])}({enabled:!0,intervalMs:3e5}),s.exports.useEffect((()=>{(async()=>{if(u.current)return;u.current=!0,await t();const{devices:e}=xT.getState();0===e.length&&await r()})()}),[]);return i.exports.jsxs("div",{className:BD,children:[i.exports.jsx(mD,{showFilter:c,onToggleFilter:()=>{d(!c)}}),c&&i.exports.jsx(kD,{}),i.exports.jsxs("div",{className:SD,children:[o&&i.exports.jsx("div",{className:_D,children:i.exports.jsx(Aw,{size:"tiny",label:"Loading devices...",labelPosition:"after",className:ND})}),!o&&a&&i.exports.jsxs("div",{className:zD,children:[i.exports.jsx("div",{className:jD,children:"No devices to display"}),i.exports.jsx("div",{className:TD,children:"There was a problem connecting to the server. Please check your connection and try again."}),i.exports.jsxs("button",{className:CD,onClick:()=>{t()},children:[i.exports.jsx(vf,{className:DD}),"Refresh"]})]}),!o&&!a&&0===n.length&&i.exports.jsxs("div",{className:PD,children:[i.exports.jsx("div",{className:ED,children:i.exports.jsx(qu,{className:AD,fontSize:32})}),i.exports.jsx("div",{className:FD,children:"No Devices Found"}),i.exports.jsx("div",{className:RD,children:"Load your devices to get started"}),i.exports.jsx("button",{className:ID,onClick:async()=>{await r()},children:"Load Devices"})]}),!o&&!a&&n.length>0&&0===l.length&&i.exports.jsxs("div",{className:PD,children:[i.exports.jsx("div",{className:AD,children:"🔍"}),i.exports.jsx("div",{className:FD,children:"No Results Found"}),i.exports.jsx("div",{className:RD,children:"Try adjusting your filters"})]}),!o&&!a&&l.length>0&&i.exports.jsx(i.exports.Fragment,{children:"equipment"===e?i.exports.jsx(MC,{}):i.exports.jsx(fD,{})})]})]})},LD=br({statusBar:{display:"flex",height:"24px",backgroundColor:"#f0f0f0",borderTop:"1px solid #d1d1d1",fontSize:"11px",fontFamily:"'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif",color:"#323130",alignItems:"center",overflow:"hidden",userSelect:"none"},statusBarError:{backgroundColor:"#fde7e9"},statusBarSuccess:{backgroundColor:"#dff6dd"},statusBarWarning:{backgroundColor:"#fff4ce"},pane:{padding:"0 8px",borderRight:"1px solid #d1d1d1",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",display:"flex",alignItems:"center",height:"100%"},rxTxPane:{width:"250px",minWidth:"250px",flexShrink:0},connectionPane:{width:"200px",minWidth:"200px",flexShrink:0},protocolPane:{width:"180px",minWidth:"180px",flexShrink:0},messagePane:{flex:1,minWidth:0,gap:"6px",padding:"0 8px",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",display:"flex",alignItems:"center",height:"100%"},messageText:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",flex:1},infoIcon:{cursor:"help",flexShrink:0,display:"flex",alignItems:"center"},messagePaneError:{color:"#a4262c",fontWeight:600},messagePaneSuccess:{color:"#0e700e",fontWeight:600},messagePaneWarning:{color:"#8a5d00",fontWeight:600},label:{fontWeight:600,marginRight:"4px"},txLabel:{marginLeft:"12px"}}),OD=({rxCount:e=0,txCount:t=0,buildingName:r="",deviceName:o="",protocol:a="",connectionType:n="",message:s="Ready",messageType:l="info"})=>{const c=LD(),d=s.length>100,u=f.useMemo((()=>r&&o?`${r} / ${o}`:o||(r||"No device selected")),[r,o]),p=f.useMemo((()=>a&&n?`${a} / ${n}`:a||(n||"Not connected")),[a,n]),h=f.useMemo((()=>{switch(l){case"error":return rt(c.messagePane,c.messagePaneError);case"success":return rt(c.messagePane,c.messagePaneSuccess);case"warning":return rt(c.messagePane,c.messagePaneWarning);default:return c.messagePane}}),[l,c]),g=f.useMemo((()=>{switch(l){case"error":return rt(c.statusBar,c.statusBarError);case"success":return rt(c.statusBar,c.statusBarSuccess);case"warning":return rt(c.statusBar,c.statusBarWarning);default:return c.statusBar}}),[l,c]);return i.exports.jsxs("div",{className:g,children:[i.exports.jsxs("div",{className:`${c.pane} ${c.rxTxPane}`,children:[i.exports.jsx("span",{className:c.label,children:"RX:"}),i.exports.jsx("span",{children:e}),i.exports.jsx("span",{className:rt(c.label,c.txLabel),children:"TX:"}),i.exports.jsx("span",{children:t})]}),i.exports.jsx("div",{className:`${c.pane} ${c.connectionPane}`,children:u}),i.exports.jsx("div",{className:`${c.pane} ${c.protocolPane}`,children:p}),i.exports.jsxs("div",{className:h,children:[i.exports.jsx("span",{className:c.messageText,children:s}),d&&i.exports.jsx(ab,{content:s,relationship:"description",positioning:"above-start",children:i.exports.jsx("span",{className:c.infoIcon,children:i.exports.jsx(qf,{})})})]})]})},qD=br({container:{width:"100%",borderBottom:"1px solid var(--t3-color-border)"},messageBarInfo:{backgroundColor:"#f0f6ff",color:"#323130",borderLeft:"3px solid #0078d4",padding:"6px 12px",fontSize:"12px"},messageBarWarning:{backgroundColor:"#fff8f0",color:"#323130",borderLeft:"3px solid #f7630c",padding:"6px 12px",fontSize:"12px"},messageBarError:{backgroundColor:"#fef0f1",color:"#323130",borderLeft:"3px solid #d13438",padding:"6px 12px",fontSize:"12px"},messageBarSuccess:{backgroundColor:"#f0faf0",color:"#323130",borderLeft:"3px solid #107c10",padding:"6px 12px",fontSize:"12px"},messageTitle:{fontSize:"12px",fontWeight:"600",marginBottom:"2px"},messageText:{fontSize:"11px",lineHeight:"16px"}}),HD=({message:e,onDismiss:t})=>{const r=qD();if(!e)return null;return i.exports.jsx("div",{className:r.container,children:i.exports.jsxs(P_,{intent:e.type,className:(()=>{switch(e.type){case"info":default:return r.messageBarInfo;case"warning":return r.messageBarWarning;case"error":return r.messageBarError;case"success":return r.messageBarSuccess}})(),children:[i.exports.jsxs(Z_,{children:[e.title&&i.exports.jsx(F_,{className:r.messageTitle,children:e.title}),i.exports.jsx("span",{className:r.messageText,children:e.message})]}),i.exports.jsxs(q_,{children:[e.action&&i.exports.jsx(xb,{appearance:"transparent",onClick:e.action.onClick,style:{fontSize:"11px",padding:"2px 8px"},children:e.action.label}),!1!==e.dismissable&&i.exports.jsx(xb,{appearance:"transparent",icon:i.exports.jsx(Rf,{}),onClick:()=>{t&&t()},"aria-label":"Dismiss",style:{padding:"2px"}})]})]})})},VD=()=>{const e=CT();return{isMobile:"mobile"===e,isDesktop:"desktop"===e,breakpoint:e}},ZD=br({appBar:{display:"flex",alignItems:"center",justifyContent:"space-between",height:"56px",padding:"0 4px",backgroundColor:_l.colorNeutralBackground1,color:_l.colorNeutralForeground1,borderBottom:`1px solid ${_l.colorNeutralStroke2}`,flexShrink:0,zIndex:100},leftSection:{display:"flex",alignItems:"center",gap:"2px",flex:1,overflow:"hidden",minWidth:0},titleArea:{display:"flex",flexDirection:"column",overflow:"hidden",minWidth:0},title:{fontSize:_l.fontSizeBase400,fontWeight:_l.fontWeightSemibold,color:_l.colorBrandForeground1,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},deviceSubtitle:{fontSize:"11px",color:_l.colorNeutralForeground3,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",fontWeight:400},iconBtn:{color:_l.colorNeutralForeground2,flexShrink:0},deviceBtnWrap:{position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},rightSection:{display:"flex",alignItems:"center",gap:"0px",flexShrink:0}}),$D=({title:e,onBack:t,onRefresh:r,onMenu:o,onDevice:a,showBack:n=!1,showRefresh:s=!0,showMenu:l=!1})=>{const c=ZD(),d=xT((e=>e.selectedDevice)),u=xT((e=>e.isLoading));return i.exports.jsx(i.exports.Fragment,{children:i.exports.jsxs("div",{className:c.appBar,children:[i.exports.jsxs("div",{className:c.leftSection,children:[n&&t&&i.exports.jsx(xb,{appearance:"transparent",icon:i.exports.jsx(Rc,{}),onClick:t,className:c.iconBtn,"aria-label":"Go back"}),i.exports.jsxs("div",{className:c.titleArea,children:[i.exports.jsx(Xw,{className:c.title,children:e}),i.exports.jsx("span",{className:c.deviceSubtitle,children:d?d.nameShowOnTree:"No device selected"})]})]}),i.exports.jsxs("div",{className:c.rightSection,children:[i.exports.jsx("div",{className:c.deviceBtnWrap,children:u?i.exports.jsx(Aw,{size:"tiny",style:{padding:"0 8px"}}):i.exports.jsx(xb,{appearance:"transparent",icon:i.exports.jsx(Af,{}),onClick:a,className:c.iconBtn,"aria-label":"Select device"})}),s&&r&&i.exports.jsx(xb,{appearance:"transparent",icon:i.exports.jsx($c,{}),onClick:r,className:c.iconBtn,"aria-label":"Refresh"}),l&&o&&i.exports.jsx(xb,{appearance:"transparent",icon:i.exports.jsx(Su,{}),onClick:o,className:c.iconBtn,"aria-label":"Open navigation"})]})]})})},WD=br({root:{display:"flex",flexDirection:"column",height:"100%",backgroundColor:"#ffffff",overflowY:"auto"},navSection:{flex:1,padding:"4px 0 16px",overflowY:"auto"},sectionLabel:{padding:"12px 14px 3px",fontSize:"10px",fontWeight:600,letterSpacing:"0.06em",textTransform:"uppercase",color:"#8a8886",userSelect:"none",marginTop:"4px",borderTop:"1px solid #edebe9",":first-child":{borderTop:"none",marginTop:0}},navItem:{display:"flex",alignItems:"center",gap:"10px",padding:"9px 14px",cursor:"pointer",border:"none",background:"none",width:"100%",textAlign:"left",fontSize:"13px",fontWeight:400,color:"#424242",borderLeft:"3px solid transparent",borderRadius:0,fontFamily:"inherit",":hover":{backgroundColor:"rgba(0,0,0,0.04)"},":active":{backgroundColor:"rgba(0,0,0,0.07)"}},navItemActive:{backgroundColor:"rgba(0,120,212,0.08)",borderLeftColor:"#0078d4",color:"#0078d4",fontWeight:600,":hover":{backgroundColor:"rgba(0,120,212,0.12)"}},navIcon:{fontSize:"15px",width:"18px",flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center",lineHeight:1}}),UD=[{type:"item",label:"Home",path:"/t3000",exact:!0,icon:i.exports.jsx(hu,{}),activeIcon:i.exports.jsx(pu,{})},{type:"item",label:"Dashboard",path:"/t3000/dashboard",icon:i.exports.jsx(qd,{}),activeIcon:i.exports.jsx(qd,{})},{type:"section",label:"Monitoring"},{type:"item",label:"Inputs",path:"/t3000/inputs",icon:i.exports.jsx(pf,{}),activeIcon:i.exports.jsx(pf,{})},{type:"item",label:"Outputs",path:"/t3000/outputs",icon:i.exports.jsx(zu,{}),activeIcon:i.exports.jsx(zu,{})},{type:"item",label:"Variables",path:"/t3000/variables",icon:i.exports.jsx(kd,{}),activeIcon:i.exports.jsx(kd,{})},{type:"item",label:"Trend Logs",path:"/t3000/trendlogs",icon:i.exports.jsx(ad,{}),activeIcon:i.exports.jsx(ad,{})},{type:"item",label:"Alarms",path:"/t3000/alarms",icon:i.exports.jsx(Bc,{}),activeIcon:i.exports.jsx(kc,{})},{type:"section",label:"Control"},{type:"item",label:"Programs",path:"/t3000/programs",icon:i.exports.jsx(Vd,{}),activeIcon:i.exports.jsx(Vd,{})},{type:"item",label:"PID Loops",path:"/t3000/pidloops",icon:i.exports.jsx(ou,{}),activeIcon:i.exports.jsx(ou,{})},{type:"item",label:"Schedules",path:"/t3000/schedules",icon:i.exports.jsx(rd,{}),activeIcon:i.exports.jsx(td,{})},{type:"item",label:"Holidays",path:"/t3000/holidays",icon:i.exports.jsx(od,{}),activeIcon:i.exports.jsx(od,{})},{type:"section",label:"View"},{type:"item",label:"Graphics",path:"/t3000/graphics",icon:i.exports.jsx(gu,{}),activeIcon:i.exports.jsx(gu,{})},{type:"item",label:"Array",path:"/t3000/array",icon:i.exports.jsx(yu,{}),activeIcon:i.exports.jsx(yu,{})},{type:"section",label:"System"},{type:"item",label:"Network",path:"/t3000/network",icon:i.exports.jsx(_u,{}),activeIcon:i.exports.jsx(_u,{})},{type:"item",label:"Buildings",path:"/t3000/buildings",icon:i.exports.jsx(ed,{}),activeIcon:i.exports.jsx(ed,{})},{type:"item",label:"Discover",path:"/t3000/discover",icon:i.exports.jsx(Zu,{}),activeIcon:i.exports.jsx(Zu,{})},{type:"item",label:"Settings",path:"/t3000/settings",icon:i.exports.jsx(Xu,{}),activeIcon:i.exports.jsx(Gu,{})}],GD=({onNavigate:e})=>{const t=WD(),r=we(),{pathname:o}=xe();return i.exports.jsx("div",{className:t.root,children:i.exports.jsx("nav",{className:t.navSection,children:UD.map(((a,n)=>{if("section"===a.type)return i.exports.jsx("div",{className:t.sectionLabel,children:a.label},`section-${n}`);const s=(l=a).exact?o===l.path:o===l.path||o.startsWith(l.path+"/");var l;return i.exports.jsxs("button",{className:rt(t.navItem,s&&t.navItemActive),onClick:()=>{return t=a.path,r(t),void(null==e||e());var t},children:[i.exports.jsx("span",{className:t.navIcon,children:s?a.activeIcon:a.icon}),a.label]},a.path)}))})})},XD=br({backdrop:{position:"fixed",inset:0,backgroundColor:"rgba(0,0,0,0.4)",zIndex:300,transition:"opacity 0.25s ease"},backdropHidden:{opacity:0,pointerEvents:"none"},drawer:{position:"fixed",top:0,left:0,bottom:0,width:"260px",backgroundColor:"#ffffff",boxShadow:_l.shadow28,zIndex:301,display:"flex",flexDirection:"column",overflowY:"auto",transform:"translateX(0)",transition:"transform 0.25s ease"},drawerHidden:{transform:"translateX(-100%)"}}),KD=({isOpen:e,onClose:t})=>{const r=XD(),{pathname:o}=xe();return s.exports.useEffect((()=>{t()}),[o]),i.exports.jsxs(i.exports.Fragment,{children:[i.exports.jsx("div",{className:rt(r.backdrop,!e&&r.backdropHidden),onClick:t,"aria-hidden":"true"}),i.exports.jsx("div",{className:rt(r.drawer,!e&&r.drawerHidden),role:"navigation","aria-label":"Main navigation",children:i.exports.jsx(GD,{onNavigate:t})})]})},JD=br({backdrop:{position:"fixed",inset:0,backgroundColor:"rgba(0,0,0,0.4)",zIndex:400,transition:"opacity 0.25s ease"},backdropHidden:{opacity:0,pointerEvents:"none"},drawer:{position:"fixed",top:0,left:0,bottom:0,width:"280px",backgroundColor:"#ffffff",boxShadow:_l.shadow28,zIndex:401,display:"flex",flexDirection:"column",transform:"translateX(0)",transition:"transform 0.25s ease"},drawerHidden:{transform:"translateX(-100%)"}}),YD=({isOpen:e,onClose:t})=>{const r=JD();return s.exports.useEffect((()=>(document.body.style.overflow=e?"hidden":"",()=>{document.body.style.overflow=""})),[e]),i.exports.jsxs(i.exports.Fragment,{children:[i.exports.jsx("div",{className:rt(r.backdrop,!e&&r.backdropHidden),onClick:t,"aria-hidden":"true"}),i.exports.jsx("div",{className:rt(r.drawer,!e&&r.drawerHidden),role:"dialog","aria-modal":"true","aria-label":"Select device",children:i.exports.jsx(MD,{})})]})},QD=s.exports.createContext({meta:{title:"T3000"},setMeta:()=>{}}),eP=({children:e})=>{const[t,r]=s.exports.useState({title:"T3000"}),o=s.exports.useCallback((e=>{r(e)}),[]);return i.exports.jsx(QD.Provider,{value:{meta:t,setMeta:o},children:e})},tP=e=>{const{setMeta:t}=s.exports.useContext(QD),r=f.useRef(e.onRefresh);f.useLayoutEffect((()=>{r.current=e.onRefresh})),f.useEffect((()=>{const o=e.onRefresh?()=>{var e;return null==(e=r.current)?void 0:e.call(r)}:void 0;return t({title:e.title,onRefresh:o}),()=>t({title:"T3000"})}),[e.title,t])},rP=br({container:{display:"flex",flexDirection:"column",height:"100vh",width:"100%",overflow:"hidden",fontFamily:"var(--t3-font-family)",backgroundColor:"#f5f5f5"},content:{flex:1,overflow:"auto",padding:"8px",WebkitOverflowScrolling:"touch"}}),oP=()=>{const e=rP(),{pathname:t}=xe(),[r,o]=s.exports.useState(!1),[a,n]=s.exports.useState(!1),{title:l,onRefresh:c}=s.exports.useContext(QD).meta,d=NT((e=>e.globalMessage)),u=NT((e=>e.dismissGlobalMessage)),f=xT((e=>e.fetchDevices)),p=xT((e=>e.loadDevicesWithSync));return s.exports.useEffect((()=>{(async()=>{await f(),0===xT.getState().devices.length&&await p()})()}),[]),s.exports.useEffect((()=>{document.title="T3000"}),[]),i.exports.jsxs("div",{className:e.container,children:[i.exports.jsx(HD,{message:d,onDismiss:u}),i.exports.jsx($D,{title:l,showMenu:!0,onMenu:()=>o(!0),onDevice:()=>n(!0),showBack:"/t3000"!==t,onBack:()=>window.history.back(),showRefresh:!1}),i.exports.jsx(YD,{isOpen:a,onClose:()=>n(!1)}),i.exports.jsx(KD,{isOpen:r,onClose:()=>o(!1)}),i.exports.jsx("div",{className:e.content,children:i.exports.jsx(Ae,{})})]})},aP=()=>i.exports.jsx(eP,{children:i.exports.jsx(oP,{})}),nP=br({container:{display:"flex",flexDirection:"column",height:"100vh",width:"100%",overflow:"hidden",backgroundColor:"#f5f5f5",fontFamily:"var(--t3-font-family)"},topArea:{flexShrink:0},middleArea:{display:"flex",flex:1,overflow:"hidden",backgroundColor:"#ffffff",borderBottom:"1px solid #d1d1d1"},leftPanel:{display:"flex",flexDirection:"column",overflow:"auto",minWidth:"200px",maxWidth:"500px",borderRight:"1px solid #e1e1e1",backgroundColor:"#fafafa",scrollbarWidth:"thin",scrollbarColor:"#c1c1c1 #f5f5f5"},resizer:{width:"4px",cursor:"col-resize",backgroundColor:"#e1e1e1",transition:"background-color 0.2s",flexShrink:0,"&:hover":{backgroundColor:"#0078d4"}},mainContent:{flex:1,display:"flex",flexDirection:"column",overflow:"hidden",minWidth:0,backgroundColor:"#ffffff"},mainContentBody:{flex:1,overflow:"auto",padding:"10px"},rightPanel:{display:"flex",flexDirection:"column",overflow:"hidden",borderLeft:"1px solid #e1e1e1",backgroundColor:"#fafafa",minWidth:"200px",maxWidth:"500px"},rightPanelContent:{padding:"16px",color:"#323130"},bottomArea:{flexShrink:0,marginTop:"1px"}}),iP=()=>{const e=nP(),t=NT((e=>e.isLeftPanelVisible)),r=NT((e=>e.isRightPanelVisible)),o=NT((e=>e.leftPanelWidth)),a=NT((e=>e.rightPanelWidth)),n=NT((e=>e.setLeftPanelWidth)),l=NT((e=>e.setRightPanelWidth)),c=NT((e=>e.globalMessage)),d=NT((e=>e.dismissGlobalMessage)),u=s.exports.useRef(null),f=s.exports.useRef(null),p=tj((e=>e.rxCount)),h=tj((e=>e.txCount)),g=tj((e=>e.buildingName)),v=tj((e=>e.deviceName)),m=tj((e=>e.protocol)),b=tj((e=>e.connectionType)),x=tj((e=>e.message)),y=tj((e=>e.messageType));s.exports.useEffect((()=>{document.title="T3000 Building Automation System"}),[]),s.exports.useEffect((()=>{u.current&&(u.current.style.width=`${o}px`)}),[o]),s.exports.useEffect((()=>{f.current&&(f.current.style.width=`${a}px`)}),[a]);return i.exports.jsxs("div",{className:e.container,children:[i.exports.jsx(HD,{message:c,onDismiss:d}),i.exports.jsx("div",{className:e.topArea,children:i.exports.jsx(wC,{})}),i.exports.jsxs("div",{className:e.middleArea,children:[t&&i.exports.jsxs(i.exports.Fragment,{children:[i.exports.jsx("div",{ref:u,className:e.leftPanel,children:i.exports.jsx(MD,{})}),i.exports.jsx("div",{className:e.resizer,onMouseDown:e=>{e.preventDefault();const t=e.clientX,r=o,a=e=>{const o=e.clientX-t,a=Math.min(Math.max(r+o,200),500);n(a)},i=()=>{document.removeEventListener("mousemove",a),document.removeEventListener("mouseup",i)};document.addEventListener("mousemove",a),document.addEventListener("mouseup",i)}})]}),i.exports.jsxs("div",{className:e.mainContent,children:[i.exports.jsx(DC,{}),i.exports.jsx("div",{className:e.mainContentBody,children:i.exports.jsx(Ae,{})})]}),r&&i.exports.jsxs(i.exports.Fragment,{children:[i.exports.jsx("div",{className:e.resizer,onMouseDown:e=>{e.preventDefault();const t=e.clientX,r=a,o=e=>{const o=t-e.clientX,a=Math.min(Math.max(r+o,200),500);l(a)},n=()=>{document.removeEventListener("mousemove",o),document.removeEventListener("mouseup",n)};document.addEventListener("mousemove",o),document.addEventListener("mouseup",n)}}),i.exports.jsx("div",{ref:f,className:e.rightPanel,children:i.exports.jsxs("div",{className:e.rightPanelContent,children:[i.exports.jsx("h3",{children:"Properties"}),i.exports.jsx("p",{children:"Property panel content..."})]})})]})]}),i.exports.jsx("div",{className:e.bottomArea,children:i.exports.jsx(OD,{rxCount:p,txCount:h,buildingName:g,deviceName:v,protocol:m,connectionType:b,message:x,messageType:y})})]})},sP=()=>{const{isMobile:e}=VD();return e?i.exports.jsx(aP,{}):i.exports.jsx(iP,{})},lP=br({container:{display:"flex",flexDirection:"column",height:"100vh",width:"100%",overflow:"hidden",backgroundColor:"#f5f5f5",fontFamily:"var(--t3-font-family)"},topArea:{flexShrink:0},mainContent:{flex:1,display:"flex",flexDirection:"column",overflow:"hidden",backgroundColor:"#ffffff"}}),cP=()=>{const e=lP(),t=NT((e=>e.globalMessage)),r=NT((e=>e.dismissGlobalMessage));return i.exports.jsxs("div",{className:e.container,children:[i.exports.jsxs("div",{className:e.topArea,children:[i.exports.jsx(wC,{showToolbar:!1}),t&&i.exports.jsx(HD,{message:t.message,intent:t.type,onDismiss:r})]}),i.exports.jsx("div",{className:e.mainContent,children:i.exports.jsx(Ae,{})})]})};var dP="_appContainer_1n1t2_1",uP="_suspenseLoader_1n1t2_17",fP="_suspenseLoaderDocs_1n1t2_31",pP="_suspenseLoaderText_1n1t2_45",hP="_suspenseLoaderTextDocs_1n1t2_53";const gP=f.lazy((()=>a((()=>import("./DashboardPage.070bc7b9.js").then((function(e){return e.a}))),["assets/DashboardPage.070bc7b9.js","assets/DashboardPage.2e5e8c72.css","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/index.e8ef0632.js","assets/install.00f124f0.js"]).then((e=>({default:e.DashboardPage}))))),vP=f.lazy((()=>a((()=>import("./InputsPage.010957b8.js")),["assets/InputsPage.010957b8.js","assets/InputsPage.02864dcf.css","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/InputsPageMobile.c6b15b66.js","assets/PointListRow.d4bc463d.js","assets/Input.e29b7530.js","assets/RadioGroup.90a62937.js","assets/RangeSelectionDrawer.module.485a5c07.js","assets/RangeSelectionDrawer.module.a136fdb6.css","assets/DataGridHeaderCell.9868eb08.js","assets/TableCellLayout.f210f422.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js"]).then((e=>({default:e.InputsPage}))))),mP=f.lazy((()=>a((()=>import("./OutputsPage.182ada03.js")),["assets/OutputsPage.182ada03.js","assets/OutputsPage.db2c4759.css","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/OutputsPageMobile.e6ff300b.js","assets/PointListRow.d4bc463d.js","assets/Input.e29b7530.js","assets/RadioGroup.90a62937.js","assets/DataGridHeaderCell.9868eb08.js","assets/TableCellLayout.f210f422.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js"]).then((e=>({default:e.OutputsPage}))))),bP=f.lazy((()=>a((()=>import("./VariablesPage.f62bc088.js")),["assets/VariablesPage.f62bc088.js","assets/VariablesPage.36b2979b.css","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/VariablesPageMobile.a7690002.js","assets/PointListRow.d4bc463d.js","assets/Input.e29b7530.js","assets/RadioGroup.90a62937.js","assets/RangeSelectionDrawer.module.485a5c07.js","assets/RangeSelectionDrawer.module.a136fdb6.css","assets/DataGridHeaderCell.9868eb08.js","assets/TableCellLayout.f210f422.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js"]).then((e=>({default:e.VariablesPage}))))),xP=f.lazy((()=>a((()=>import("./ProgramsPage.a891f3e5.js")),["assets/ProgramsPage.a891f3e5.js","assets/ProgramsPage.4254e945.css","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/index.2cf43efd.js","assets/DataGridHeaderCell.9868eb08.js","assets/TableCellLayout.f210f422.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js"]).then((e=>({default:e.ProgramsPage}))))),yP=f.lazy((()=>a((()=>import("./PIDLoopsPage.135a8e0b.js")),["assets/PIDLoopsPage.135a8e0b.js","assets/PIDLoopsPage.7d25aa11.css","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/DataGridHeaderCell.9868eb08.js","assets/TableCellLayout.f210f422.js","assets/Input.e29b7530.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js"]))),wP=f.lazy((()=>a((()=>import("./GraphicsPage.eca8c10f.js")),["assets/GraphicsPage.eca8c10f.js","assets/GraphicsPage.c1cd73ea.css","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/DataGridHeaderCell.9868eb08.js","assets/TableCellLayout.f210f422.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js"]).then((e=>({default:e.GraphicsPage}))))),kP=f.lazy((()=>a((()=>import("./SchedulesPage.41ddcba6.js")),["assets/SchedulesPage.41ddcba6.js","assets/SchedulesPage.f47aa1d2.css","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/DataGridHeaderCell.9868eb08.js","assets/TableCellLayout.f210f422.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js"]))),BP=f.lazy((()=>a((()=>import("./HolidaysPage.8277e8a4.js")),["assets/HolidaysPage.8277e8a4.js","assets/HolidaysPage.672ca775.css","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/DataGridHeaderCell.9868eb08.js","assets/TableCellLayout.f210f422.js","assets/Input.e29b7530.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js"]).then((e=>({default:e.HolidaysPage}))))),SP=f.lazy((()=>a((()=>import("./TrendLogsPage.a3fccab9.js").then((function(e){return e.b}))),["assets/TrendLogsPage.a3fccab9.js","assets/TrendLogsPage.64043263.css","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/index.e8ef0632.js","assets/install.00f124f0.js","assets/Tag.39b4dd31.js","assets/DataGridHeaderCell.9868eb08.js","assets/TableCellLayout.f210f422.js"]).then((e=>({default:e.TrendLogsPage}))))),_P=f.lazy((()=>a((()=>import("./AlarmsPage.f7e4bf4f.js")),["assets/AlarmsPage.f7e4bf4f.js","assets/AlarmsPage.46114273.css","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/AlarmsPageMobile.19efb743.js","assets/PointListRow.d4bc463d.js","assets/DataGridHeaderCell.9868eb08.js","assets/TableCellLayout.f210f422.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js"]))),NP=f.lazy((()=>a((()=>import("./NetworkPage.4bd5047f.js")),["assets/NetworkPage.4bd5047f.js","assets/NetworkPage.30584e09.css","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/DataGridHeaderCell.9868eb08.js","assets/TableCellLayout.f210f422.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js"]).then((e=>({default:e.NetworkPage}))))),zP=f.lazy((()=>a((()=>import("./ArrayPage.51bd5a62.js")),["assets/ArrayPage.51bd5a62.js","assets/ArrayPage.8de5a565.css","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/DataGridHeaderCell.9868eb08.js","assets/TableCellLayout.f210f422.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js"]))),jP=f.lazy((()=>a((()=>import("./TablesPage.1c5bd257.js")),["assets/TablesPage.1c5bd257.js","assets/TablesPage.d658e921.css","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/DataGridHeaderCell.9868eb08.js","assets/TableCellLayout.f210f422.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js"]).then((e=>({default:e.TablesPage}))))),TP=f.lazy((()=>a((()=>import("./UsersPage.2cc79362.js")),["assets/UsersPage.2cc79362.js","assets/UsersPage.7160ac6f.css","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/DataGridHeaderCell.9868eb08.js","assets/TableCellLayout.f210f422.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js"]).then((e=>({default:e.UsersPage}))))),CP=f.lazy((()=>a((()=>import("./CustomUnitsPage.b8c053d4.js")),["assets/CustomUnitsPage.b8c053d4.js","assets/CustomUnitsPage.3c809493.css","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/DataGridHeaderCell.9868eb08.js","assets/TableCellLayout.f210f422.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js"]).then((e=>({default:e.CustomUnitsPage})))));f.lazy((()=>a((()=>import("./SettingsPage.dde7d09d.js")),["assets/SettingsPage.dde7d09d.js","assets/SettingsPage.71ed5aa6.css","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/ExpansionIOTab.66ca2798.js","assets/Input.e29b7530.js","assets/RadioGroup.90a62937.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js"])));const DP=f.lazy((()=>Promise.all([a((()=>import("./SettingsPage.dde7d09d.js")),["assets/SettingsPage.dde7d09d.js","assets/SettingsPage.71ed5aa6.css","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/ExpansionIOTab.66ca2798.js","assets/Input.e29b7530.js","assets/RadioGroup.90a62937.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js"]),a((()=>import("./SettingsPageMobile.41e9acc7.js")),["assets/SettingsPageMobile.41e9acc7.js","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/ExpansionIOTab.66ca2798.js","assets/Input.e29b7530.js","assets/RadioGroup.90a62937.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js"]).then((e=>e.SettingsPageMobile))]).then((([e,t])=>{const r=e.default;return{default:()=>{const[e,o]=f.useState((()=>window.innerWidth<1200));return f.useEffect((()=>{const e=()=>o(window.innerWidth<1200);return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),[]),e?f.createElement(t):f.createElement(r)}}})))),PP=f.lazy((()=>a((()=>import("./DiscoverPage.b9b4ae43.js")),["assets/DiscoverPage.b9b4ae43.js","assets/DiscoverPage.1c8bddb3.css","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/DataGridHeaderCell.9868eb08.js","assets/TableCellLayout.f210f422.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js"]).then((e=>({default:e.DiscoverPage}))))),EP=f.lazy((()=>a((()=>import("./BuildingsPage.18a91704.js")),["assets/BuildingsPage.18a91704.js","assets/BuildingsPage.a839c88a.css","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/DataGridHeaderCell.9868eb08.js","assets/TableCellLayout.f210f422.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js"]).then((e=>({default:e.BuildingsPage}))))),AP=f.lazy((()=>a((()=>import("./HvacDesignerPage.2ebc8673.js")),["assets/HvacDesignerPage.2ebc8673.js","assets/HvacDesignerPage.6f1874f9.css","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js","assets/index.cec6b9d9.js","assets/index.33b844cc.js","assets/Serializer.f6a5f515.js","assets/AntdIcon.ce0fcb4c.js","assets/index.d11c4764.js","assets/axios.65f6a2c9.js"]).then((e=>({default:e.HvacDesignerPage}))))),FP=f.lazy((()=>a((()=>import("./DocumentationPage.e3bf1e63.js")),["assets/DocumentationPage.e3bf1e63.js","assets/DocumentationPage.dd77a4c4.css","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js"]).then((e=>({default:e.DocumentationPage}))))),RP=f.lazy((()=>a((()=>import("./DevelopLayoutWrapper.9a9be0f2.js")),["assets/DevelopLayoutWrapper.9a9be0f2.js","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js"]).then((e=>({default:e.DevelopLayoutWrapper}))))),IP=f.lazy((()=>a((()=>import("./DevelopLayout.2b27171f.js")),["assets/DevelopLayout.2b27171f.js","assets/DevelopLayout.e9a2fe4f.css","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js"]).then((e=>({default:e.DevelopLayout}))))),MP=f.lazy((()=>a((()=>import("./FileBrowserPage.94c3c22c.js")),["assets/FileBrowserPage.94c3c22c.js","assets/FileBrowserPage.82e5584b.css","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/DataGridHeaderCell.9868eb08.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js"]).then((e=>({default:e.FileBrowserPage}))))),LP=f.lazy((()=>a((()=>import("./DatabaseViewerPage.6b97b264.js")),["assets/DatabaseViewerPage.6b97b264.js","assets/DatabaseViewerPage.7b8ae38a.css","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/index.2cf43efd.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js"]).then((e=>({default:e.DatabaseViewerPage}))))),OP=f.lazy((()=>a((()=>import("./TransportTesterPage.f93a8bd8.js")),["assets/TransportTesterPage.f93a8bd8.js","assets/TransportTesterPage.33f7ac0a.css","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/Input.e29b7530.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js"]).then((e=>({default:e.TransportTesterPage}))))),qP=f.lazy((()=>a((()=>import("./SystemLogsPage.1e770e0e.js")),["assets/SystemLogsPage.1e770e0e.js","assets/SystemLogsPage.04044700.css","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/Tag.39b4dd31.js","assets/Input.e29b7530.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js"]).then((e=>({default:e.SystemLogsPage}))))),HP=f.lazy((()=>a((()=>import("./SyncConfigurationPage.fd4d3a00.js")),["assets/SyncConfigurationPage.fd4d3a00.js","assets/SyncConfigurationPage.b203c17a.css","assets/react.49d70ecd.js","assets/index.3938ccd1.js","assets/index.fbd60cd5.css","assets/client.58f92968.js","assets/Input.e29b7530.js","assets/Serializer.f6a5f515.js","assets/axios.65f6a2c9.js","assets/T3Data.cbe80363.js","assets/_commonjsHelpers.a5007c1f.js"]).then((e=>({default:e.SyncConfigurationPage}))))),VP=({children:e})=>i.exports.jsx(i.exports.Fragment,{children:e});var ZP=Object.freeze(Object.defineProperty({__proto__:null,App:()=>{const[e]=f.useState("light");return i.exports.jsx("div",{className:dP,children:i.exports.jsx(tz,{children:i.exports.jsx(Vl,{theme:"light"===e?El:Al,children:i.exports.jsx(nz,{children:i.exports.jsx(UN,{children:i.exports.jsx(Oe,{children:i.exports.jsxs(Ie,{children:[i.exports.jsxs(Fe,{path:"/t3000",element:i.exports.jsx(VP,{children:i.exports.jsx(sP,{})}),children:[i.exports.jsx(Fe,{index:!0,element:i.exports.jsx(f.Suspense,{fallback:i.exports.jsx("div",{children:"Loading..."}),children:i.exports.jsx(gP,{})})}),i.exports.jsx(Fe,{path:"dashboard",element:i.exports.jsx(f.Suspense,{fallback:i.exports.jsx("div",{children:"Loading..."}),children:i.exports.jsx(gP,{})})}),i.exports.jsx(Fe,{path:"inputs",element:i.exports.jsx(f.Suspense,{fallback:i.exports.jsx("div",{children:"Loading..."}),children:i.exports.jsx(vP,{})})}),i.exports.jsx(Fe,{path:"outputs",element:i.exports.jsx(f.Suspense,{fallback:i.exports.jsx("div",{children:"Loading..."}),children:i.exports.jsx(mP,{})})}),i.exports.jsx(Fe,{path:"variables",element:i.exports.jsx(f.Suspense,{fallback:i.exports.jsx("div",{children:"Loading..."}),children:i.exports.jsx(bP,{})})}),i.exports.jsx(Fe,{path:"programs",element:i.exports.jsx(f.Suspense,{fallback:i.exports.jsx("div",{children:"Loading..."}),children:i.exports.jsx(xP,{})})}),i.exports.jsx(Fe,{path:"pidloops",element:i.exports.jsx(f.Suspense,{fallback:i.exports.jsx("div",{children:"Loading..."}),children:i.exports.jsx(yP,{})})}),i.exports.jsx(Fe,{path:"graphics",element:i.exports.jsx(f.Suspense,{fallback:i.exports.jsx("div",{children:"Loading..."}),children:i.exports.jsx(wP,{})})}),i.exports.jsx(Fe,{path:"schedules",element:i.exports.jsx(f.Suspense,{fallback:i.exports.jsx("div",{children:"Loading..."}),children:i.exports.jsx(kP,{})})}),i.exports.jsx(Fe,{path:"holidays",element:i.exports.jsx(f.Suspense,{fallback:i.exports.jsx("div",{children:"Loading..."}),children:i.exports.jsx(BP,{})})}),i.exports.jsx(Fe,{path:"trendlogs",element:i.exports.jsx(f.Suspense,{fallback:i.exports.jsx("div",{children:"Loading..."}),children:i.exports.jsx(SP,{})})}),i.exports.jsx(Fe,{path:"alarms",element:i.exports.jsx(f.Suspense,{fallback:i.exports.jsx("div",{children:"Loading..."}),children:i.exports.jsx(_P,{})})}),i.exports.jsx(Fe,{path:"network",element:i.exports.jsx(f.Suspense,{fallback:i.exports.jsx("div",{children:"Loading..."}),children:i.exports.jsx(NP,{})})}),i.exports.jsx(Fe,{path:"array",element:i.exports.jsx(f.Suspense,{fallback:i.exports.jsx("div",{children:"Loading..."}),children:i.exports.jsx(zP,{})})}),i.exports.jsx(Fe,{path:"tables",element:i.exports.jsx(f.Suspense,{fallback:i.exports.jsx("div",{children:"Loading..."}),children:i.exports.jsx(jP,{})})}),i.exports.jsx(Fe,{path:"users",element:i.exports.jsx(f.Suspense,{fallback:i.exports.jsx("div",{children:"Loading..."}),children:i.exports.jsx(TP,{})})}),i.exports.jsx(Fe,{path:"custom-units",element:i.exports.jsx(f.Suspense,{fallback:i.exports.jsx("div",{children:"Loading..."}),children:i.exports.jsx(CP,{})})}),i.exports.jsx(Fe,{path:"settings",element:i.exports.jsx(f.Suspense,{fallback:i.exports.jsx("div",{children:"Loading..."}),children:i.exports.jsx(DP,{})})}),i.exports.jsx(Fe,{path:"discover",element:i.exports.jsx(f.Suspense,{fallback:i.exports.jsx("div",{children:"Loading..."}),children:i.exports.jsx(PP,{})})}),i.exports.jsx(Fe,{path:"buildings",element:i.exports.jsx(f.Suspense,{fallback:i.exports.jsx("div",{children:"Loading..."}),children:i.exports.jsx(EP,{})})}),i.exports.jsx(Fe,{path:"system/sync",element:i.exports.jsx(f.Suspense,{fallback:i.exports.jsx("div",{children:"Loading..."}),children:i.exports.jsx(HP,{})})})]}),i.exports.jsxs(Fe,{path:"/t3000",element:i.exports.jsx(cP,{}),children:[i.exports.jsx(Fe,{path:"hvac-designer/:graphicId?",element:i.exports.jsx(f.Suspense,{fallback:i.exports.jsxs("div",{className:uP,children:[i.exports.jsx(Aw,{size:"extra-tiny"}),i.exports.jsx("span",{className:pP,children:"Loading..."})]}),children:i.exports.jsx(AP,{})})}),i.exports.jsx(Fe,{path:"documentation/*",element:i.exports.jsx(f.Suspense,{fallback:i.exports.jsxs("div",{className:fP,children:[i.exports.jsx(Aw,{size:"tiny"}),i.exports.jsx("span",{className:hP,children:"Loading..."})]}),children:i.exports.jsx(FP,{})})})]}),i.exports.jsx(Fe,{path:"/t3000/develop",element:i.exports.jsx(VP,{children:i.exports.jsx(f.Suspense,{fallback:i.exports.jsx("div",{children:"Loading..."}),children:i.exports.jsx(RP,{})})}),children:i.exports.jsxs(Fe,{element:i.exports.jsx(f.Suspense,{fallback:i.exports.jsx("div",{children:"Loading..."}),children:i.exports.jsx(IP,{})}),children:[i.exports.jsx(Fe,{index:!0,element:i.exports.jsx(Ee,{to:"/t3000/develop/files",replace:!0})}),i.exports.jsx(Fe,{path:"files",element:i.exports.jsx(f.Suspense,{fallback:i.exports.jsx("div",{children:"Loading..."}),children:i.exports.jsx(MP,{})})}),i.exports.jsx(Fe,{path:"database",element:i.exports.jsx(f.Suspense,{fallback:i.exports.jsx("div",{children:"Loading..."}),children:i.exports.jsx(LP,{})})}),i.exports.jsx(Fe,{path:"transport",element:i.exports.jsx(f.Suspense,{fallback:i.exports.jsx("div",{children:"Loading..."}),children:i.exports.jsx(OP,{})})}),i.exports.jsx(Fe,{path:"logs",element:i.exports.jsx(f.Suspense,{fallback:i.exports.jsx("div",{children:"Loading..."}),children:i.exports.jsx(qP,{})})})]})})]})})})})})})})}},Symbol.toStringTag,{value:"Module"}));export{Zc as $,Bc as A,xb as B,cd as C,Vd as D,Gl as E,ou as F,Jd as G,_d as H,bu as I,su as J,xd as K,kN as L,TN as M,AN as N,zu as O,Rf as P,_N as Q,aw as R,Aw as S,Xw as T,zb as U,Lb as V,lf as W,VD as X,tj as Y,Rz as Z,yr as _,wo as a,Oy as a$,Vc as a0,Hc as a1,Vu as a2,Ww as a3,Ph as a4,Zu as a5,Fc as a6,ab as a7,mT as a8,br as a9,Zl as aA,$l as aB,tc as aC,ec as aD,Qh as aE,$y as aF,kb as aG,Sx as aH,Fx as aI,yd as aJ,Wu as aK,Ld as aL,nu as aM,Pc as aN,Iu as aO,zd as aP,mf as aQ,Cp as aR,pT as aS,hx as aT,rx as aU,Rc as aV,Lc as aW,Mc as aX,Md as aY,my as aZ,Zy as a_,gd as aa,tP as ab,$o as ac,xa as ad,jo as ae,ao as af,yo as ag,zo as ah,ac as ai,Xl as aj,Yl as ak,Jl as al,Ni as am,Ul as an,zi as ao,Xa as ap,Ma as aq,Kl as ar,Ql as as,Ga as at,Aa as au,Ai as av,nc as aw,Uc as ax,Ac as ay,Po as az,Mi as b,$k as b$,Ry as b0,Dy as b1,ru as b2,fu as b3,hd as b4,oc as b5,rc as b6,Zd as b7,_f as b8,Cu as b9,Cz as bA,Ed as bB,wu as bC,$u as bD,ku as bE,Bd as bF,Pd as bG,Ad as bH,vu as bI,Wc as bJ,Ic as bK,Yd as bL,Oc as bM,_c as bN,zc as bO,jc as bP,Tc as bQ,Nc as bR,Sc as bS,qc as bT,Lu as bU,du as bV,uu as bW,Hu as bX,cu as bY,gf as bZ,hf as b_,lk as ba,Ak as bb,mk as bc,hk as bd,rj as be,Jc as bf,Fu as bg,_k as bh,Ik as bi,yj as bj,Bb as bk,wb as bl,Mf as bm,Ap as bn,Bf as bo,vT as bp,qf as bq,sd as br,wc as bs,vf as bt,jr as bu,Hp as bv,fh as bw,sh as bx,hT as by,zz as bz,Eo as c,Be as c0,Su as c1,P_ as c2,Z_ as c3,md as c4,cb as c5,nb as c6,db as c7,Rp as c8,Ip as c9,Kd as cA,au as cB,Wd as cC,Pu as cD,tf as cE,eu as cF,rf as cG,nd as cH,ff as cI,bf as cJ,jd as cK,Sd as cL,Bu as cM,ef as cN,Au as cO,tu as cP,so as cQ,$r as cR,Td as cS,ZP as cT,bb as ca,Xd as cb,Eu as cc,Yc as cd,Qc as ce,Od as cf,Dc as cg,lu as ch,Rd as ci,Gd as cj,pd as ck,dd as cl,fd as cm,ud as cn,Xc as co,Ou as cp,Hd as cq,Id as cr,Cc as cs,Kc as ct,Iz as cu,xe as cv,HD as cw,wC as cx,Ae as cy,OD as cz,Sr as d,Ti as e,sa as f,Wr as g,rt as h,xr as i,ia as j,fo as k,xT as l,Zo as m,Qd as n,_r as o,we as p,pf as q,kd as r,gu as s,_l as t,Di as u,rd as v,od as w,ad as x,$c as y,Xu as z};
