@gouvfr-lasuite/ui-kit 0.18.6 → 0.18.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),X=require("@gouvfr-lasuite/cunningham-react"),Rt=require("react-dom");function mc(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,n.get?n:{enumerable:!0,get:()=>t[r]})}}return e.default=t,Object.freeze(e)}const T=mc(u),E1=mc(Rt);function w1(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var fn={exports:{}},$r={};/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),X=require("@gouvfr-lasuite/cunningham-react"),Rt=require("react-dom");function m2(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,n.get?n:{enumerable:!0,get:()=>t[r]})}}return e.default=t,Object.freeze(e)}const T=m2(u),Ef=m2(Rt);function wf(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var fn={exports:{}},$r={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.js
4
4
  *
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var Pa;function D1(){if(Pa)return $r;Pa=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.fragment");function r(n,i,o){var l=null;if(o!==void 0&&(l=""+o),i.key!==void 0&&(l=""+i.key),"key"in i){o={};for(var a in i)a!=="key"&&(o[a]=i[a])}else o=i;return i=o.ref,{$$typeof:t,type:n,key:l,ref:i!==void 0?i:null,props:o}}return $r.Fragment=e,$r.jsx=r,$r.jsxs=r,$r}var Pr={};/**
9
+ */var Pa;function Df(){if(Pa)return $r;Pa=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.fragment");function r(n,i,o){var l=null;if(o!==void 0&&(l=""+o),i.key!==void 0&&(l=""+i.key),"key"in i){o={};for(var a in i)a!=="key"&&(o[a]=i[a])}else o=i;return i=o.ref,{$$typeof:t,type:n,key:l,ref:i!==void 0?i:null,props:o}}return $r.Fragment=e,$r.jsx=r,$r.jsxs=r,$r}var Pr={};/**
10
10
  * @license React
11
11
  * react-jsx-runtime.development.js
12
12
  *
@@ -14,18 +14,18 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var Ta;function x1(){return Ta||(Ta=1,process.env.NODE_ENV!=="production"&&function(){function t(I){if(I==null)return null;if(typeof I=="function")return I.$$typeof===V?null:I.displayName||I.name||null;if(typeof I=="string")return I;switch(I){case h:return"Fragment";case b:return"Profiler";case v:return"StrictMode";case F:return"Suspense";case w:return"SuspenseList";case _:return"Activity"}if(typeof I=="object")switch(typeof I.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),I.$$typeof){case y:return"Portal";case C:return(I.displayName||"Context")+".Provider";case E:return(I._context.displayName||"Context")+".Consumer";case D:var L=I.render;return I=I.displayName,I||(I=L.displayName||L.name||"",I=I!==""?"ForwardRef("+I+")":"ForwardRef"),I;case S:return L=I.displayName||null,L!==null?L:t(I.type)||"Memo";case M:L=I._payload,I=I._init;try{return t(I(L))}catch{}}return null}function e(I){return""+I}function r(I){try{e(I);var L=!1}catch{L=!0}if(L){L=console;var $=L.error,P=typeof Symbol=="function"&&Symbol.toStringTag&&I[Symbol.toStringTag]||I.constructor.name||"Object";return $.call(L,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",P),e(I)}}function n(I){if(I===h)return"<>";if(typeof I=="object"&&I!==null&&I.$$typeof===M)return"<...>";try{var L=t(I);return L?"<"+L+">":"<...>"}catch{return"<...>"}}function i(){var I=x.A;return I===null?null:I.getOwner()}function o(){return Error("react-stack-top-frame")}function l(I){if(N.call(I,"key")){var L=Object.getOwnPropertyDescriptor(I,"key").get;if(L&&L.isReactWarning)return!1}return I.key!==void 0}function a(I,L){function $(){Z||(Z=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",L))}$.isReactWarning=!0,Object.defineProperty(I,"key",{get:$,configurable:!0})}function s(){var I=t(this.type);return A[I]||(A[I]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),I=this.props.ref,I!==void 0?I:null}function c(I,L,$,P,B,K,j,H){return $=K.ref,I={$$typeof:g,type:I,key:L,props:K,_owner:B},($!==void 0?$:null)!==null?Object.defineProperty(I,"ref",{enumerable:!1,get:s}):Object.defineProperty(I,"ref",{enumerable:!1,value:null}),I._store={},Object.defineProperty(I._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(I,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(I,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:j}),Object.defineProperty(I,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:H}),Object.freeze&&(Object.freeze(I.props),Object.freeze(I)),I}function d(I,L,$,P,B,K,j,H){var W=L.children;if(W!==void 0)if(P)if(U(W)){for(P=0;P<W.length;P++)f(W[P]);Object.freeze&&Object.freeze(W)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else f(W);if(N.call(L,"key")){W=t(I);var q=Object.keys(L).filter(function(ae){return ae!=="key"});P=0<q.length?"{key: someKey, "+q.join(": ..., ")+": ...}":"{key: someKey}",R[W+P]||(q=0<q.length?"{"+q.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
17
+ */var Aa;function xf(){return Aa||(Aa=1,process.env.NODE_ENV!=="production"&&function(){function t(I){if(I==null)return null;if(typeof I=="function")return I.$$typeof===H?null:I.displayName||I.name||null;if(typeof I=="string")return I;switch(I){case h:return"Fragment";case m:return"Profiler";case v:return"StrictMode";case D:return"Suspense";case x:return"SuspenseList";case K:return"Activity"}if(typeof I=="object")switch(typeof I.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),I.$$typeof){case y:return"Portal";case E:return(I.displayName||"Context")+".Provider";case C:return(I._context.displayName||"Context")+".Consumer";case F:var N=I.render;return I=I.displayName,I||(I=N.displayName||N.name||"",I=I!==""?"ForwardRef("+I+")":"ForwardRef"),I;case S:return N=I.displayName||null,N!==null?N:t(I.type)||"Memo";case O:N=I._payload,I=I._init;try{return t(I(N))}catch{}}return null}function e(I){return""+I}function r(I){try{e(I);var N=!1}catch{N=!0}if(N){N=console;var $=N.error,A=typeof Symbol=="function"&&Symbol.toStringTag&&I[Symbol.toStringTag]||I.constructor.name||"Object";return $.call(N,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",A),e(I)}}function n(I){if(I===h)return"<>";if(typeof I=="object"&&I!==null&&I.$$typeof===O)return"<...>";try{var N=t(I);return N?"<"+N+">":"<...>"}catch{return"<...>"}}function i(){var I=w.A;return I===null?null:I.getOwner()}function o(){return Error("react-stack-top-frame")}function l(I){if(M.call(I,"key")){var N=Object.getOwnPropertyDescriptor(I,"key").get;if(N&&N.isReactWarning)return!1}return I.key!==void 0}function a(I,N){function $(){U||(U=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",N))}$.isReactWarning=!0,Object.defineProperty(I,"key",{get:$,configurable:!0})}function s(){var I=t(this.type);return P[I]||(P[I]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),I=this.props.ref,I!==void 0?I:null}function c(I,N,$,A,B,L,j,V){return $=L.ref,I={$$typeof:g,type:I,key:N,props:L,_owner:B},($!==void 0?$:null)!==null?Object.defineProperty(I,"ref",{enumerable:!1,get:s}):Object.defineProperty(I,"ref",{enumerable:!1,value:null}),I._store={},Object.defineProperty(I._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(I,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(I,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:j}),Object.defineProperty(I,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:V}),Object.freeze&&(Object.freeze(I.props),Object.freeze(I)),I}function d(I,N,$,A,B,L,j,V){var W=N.children;if(W!==void 0)if(A)if(Z(W)){for(A=0;A<W.length;A++)f(W[A]);Object.freeze&&Object.freeze(W)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else f(W);if(M.call(N,"key")){W=t(I);var q=Object.keys(N).filter(function(ae){return ae!=="key"});A=0<q.length?"{key: someKey, "+q.join(": ..., ")+": ...}":"{key: someKey}",R[W+A]||(q=0<q.length?"{"+q.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
18
18
  let props = %s;
19
19
  <%s {...props} />
20
20
  React keys must be passed directly to JSX without using spread:
21
21
  let props = %s;
22
- <%s key={someKey} {...props} />`,P,W,q,W),R[W+P]=!0)}if(W=null,$!==void 0&&(r($),W=""+$),l(L)&&(r(L.key),W=""+L.key),"key"in L){$={};for(var Y in L)Y!=="key"&&($[Y]=L[Y])}else $=L;return W&&a($,typeof I=="function"?I.displayName||I.name||"Unknown":I),c(I,W,K,B,i(),$,j,H)}function f(I){typeof I=="object"&&I!==null&&I.$$typeof===g&&I._store&&(I._store.validated=1)}var p=u,g=Symbol.for("react.transitional.element"),y=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),b=Symbol.for("react.profiler"),E=Symbol.for("react.consumer"),C=Symbol.for("react.context"),D=Symbol.for("react.forward_ref"),F=Symbol.for("react.suspense"),w=Symbol.for("react.suspense_list"),S=Symbol.for("react.memo"),M=Symbol.for("react.lazy"),_=Symbol.for("react.activity"),V=Symbol.for("react.client.reference"),x=p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,N=Object.prototype.hasOwnProperty,U=Array.isArray,k=console.createTask?console.createTask:function(){return null};p={react_stack_bottom_frame:function(I){return I()}};var Z,A={},O=p.react_stack_bottom_frame.bind(p,o)(),z=k(n(o)),R={};Pr.Fragment=h,Pr.jsx=function(I,L,$,P,B){var K=1e4>x.recentlyCreatedOwnerStacks++;return d(I,L,$,!1,P,B,K?Error("react-stack-top-frame"):O,K?k(n(I)):z)},Pr.jsxs=function(I,L,$,P,B){var K=1e4>x.recentlyCreatedOwnerStacks++;return d(I,L,$,!0,P,B,K?Error("react-stack-top-frame"):O,K?k(n(I)):z)}}()),Pr}var Aa;function S1(){return Aa||(Aa=1,process.env.NODE_ENV==="production"?fn.exports=D1():fn.exports=x1()),fn.exports}var m=S1();const F1={share:{copyLink:"Copy link",ok:"Ok",shareButton:"Share",modalTitle:"Share folder",access:{delete:"Remove access"},cannot_view:{message:"You can view this item but you need additional access to view its members or modify the settings."},invitations:{title:"Pending invitations"},members:{title_plural:"Shared between {count} people",title_singular:"Shared between {count} person",load_more:"Show more "},item:{add:"Add"},search:{placeholder:"Search user",group_name:"Search user result"},user:{no_result:"No result",placeholder:"Search user"},linkSettings:{title:"Link settings",reach:{choices:{public:{title:"Public",description:"Anyone with the link can access the document"},restricted:{title:"Private",description:"Only users of the space can access the document"}}},role:{choices:{reader:{title:"Reader"},editor:{title:"Editor"}}}}},laGaufre:{label:"Digital LaSuite services",closeLabel:"Close the menu",viewMoreLabel:"View more",viewLessLabel:"View less",loadingText:"Loading…",newWindowLabelSuffix:" (new window)",headerLabel:"About"},userMenu:{term_of_service:"Terms of service",manage_account:"Manage account",open:"Open user menu",close:"Close user menu",accountSettings:"Account settings",logout:"Logout",dialogTitle:"User menu"},treeView:{viewMore:"Load more elements"},footer:{logo:{alt:"Logo of the French government"}}},$1={components:F1},P1={share:{copyLink:"Copier le lien",ok:"Ok",modalTitle:"Partage",shareButton:"Partager",access:{delete:"Retirer l'accès"},cannot_view:{message:"Vous pouvez voir cet élément mais vous avez besoin d'un accès supplémentaire pour voir ses membres ou modifier les paramètres."},invitations:{title:"Invitations en attente"},members:{title_plural:"Partagé entre {count} personnes",title_singular:"Partagé entre {count} personne",load_more:"Afficher plus"},item:{add:"Ajouter"},search:{placeholder:"Rechercher un utilisateur",group_name:"Résultat de la recherche d'utilisateur"},user:{no_result:"Aucun résultat",placeholder:"Rechercher un utilisateur"},linkSettings:{title:"Paramètres du lien",reach:{choices:{public:{title:"Public",description:"N'importe qui avec le lien peut accéder au document"},restricted:{title:"Privé",description:"Seulement les utilisateurs de l'espace peuvent y avoir accès"}}},role:{choices:{reader:{title:"Lecture seule"},editor:{title:"Édition"}}}}},laGaufre:{label:"Services de la Suite numérique",closeLabel:"Fermer le menu",loadingText:"Chargement…",viewMoreLabel:"Voir plus",viewLessLabel:"Voir moins",newWindowLabelSuffix:" (nouvelle fenêtre)",headerLabel:"À propos"},userMenu:{term_of_service:"Conditions d'utilisation",open:"Ouvrir le menu utilisateur",close:"Fermer le menu utilisateur",accountSettings:"Paramètres du compte",logout:"Déconnexion",dialogTitle:"Menu utilisateur",manage_account:"Gérer le compte"},treeView:{viewMore:"Charger plus d'éléments"},footer:{logo:{alt:"Logo du gouvernement français"}}},T1={components:P1};function Gi(t){return t&&typeof t=="object"&&!Array.isArray(t)}function br(t,...e){if(!e.length)return t;const r=e.shift();if(Gi(t)&&Gi(r))for(const n in r)Gi(r[n])?(t[n]||Object.assign(t,{[n]:{}}),br(t[n],r[n])):Object.assign(t,{[n]:r[n]});return br(t,...e)}const yc={"en-US":br(X.enUS,$1),"fr-FR":br(X.frFR,T1)},A1=t=>m.jsx(X.CunninghamProvider,{customLocales:yc,...t}),_1="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='192'%20height='48'%20fill='none'%3e%3cpath%20fill='%23fff'%20d='m60.986%2021.454%201.156-1.076c.833%201.059%201.819%201.605%202.94%201.605%201.293%200%202.04-.82%202.04-1.912%200-2.56-5.626-2.253-5.626-6.059%200-1.74%201.428-3.209%203.45-3.209%201.684%200%202.908.768%203.792%201.946l-1.19%201.041c-.697-1.007-1.547-1.553-2.584-1.553-1.105%200-1.836.751-1.836%201.74%200%202.578%205.627%202.254%205.627%206.077%200%202.031-1.581%203.363-3.655%203.363-1.768%200-3.077-.666-4.114-1.963Zm10.817-5.735H70.46l1.445-4.574h1.649l-1.751%204.574Zm4.818-3.465c-.56%200-1.02-.46-1.02-1.024a1.026%201.026%200%200%201%201.02-1.007c.56%200%201.003.46%201.003%201.007a1.01%201.01%200%200%201-1.003%201.024Zm-.73%2010.838V14.49h1.444v8.602H75.89Zm3.767-4.3c0-2.51%201.717-4.643%204.403-4.643%201.24%200%202.26.46%203.043%201.297V10.29h1.445v12.801h-1.445v-.955c-.782.836-1.802%201.297-3.043%201.297-2.686%200-4.403-2.134-4.403-4.643Zm1.53%200c0%201.825%201.224%203.276%203.043%203.276%201.19%200%202.21-.58%202.873-1.604v-3.345c-.68-1.042-1.7-1.605-2.873-1.605-1.82%200-3.043%201.45-3.043%203.277Zm18.023%202.884c-.8%201.075-2.074%201.758-3.672%201.758-2.89%200-4.675-2.134-4.675-4.643%200-2.611%201.666-4.642%204.318-4.642%202.329%200%203.842%201.587%203.842%203.738%200%20.34-.051.682-.102.921H92.36v.034c0%201.895%201.292%203.277%203.213%203.277a3.143%203.143%200%200%200%202.567-1.28l1.07.837Zm-4.012-6.281c-1.394%200-2.38.785-2.72%202.27h5.083c-.051-1.246-.952-2.27-2.363-2.27Zm6.274%207.697V14.49h1.445v.973c.697-.768%201.581-1.314%202.856-1.314%201.921%200%203.349%201.297%203.349%203.738v5.205h-1.462v-5.154c0-1.536-.85-2.424-2.176-2.424-1.241%200-2.023.717-2.567%201.622v5.956h-1.445Zm11.052-2.884V15.82h-1.615V14.49h1.615v-2.15h1.462v2.15h2.975v1.331h-2.975v4.387c0%201.348.68%201.724%201.717%201.724.561%200%20.952-.069%201.275-.205v1.297c-.408.17-.867.239-1.479.239-1.904%200-2.975-.956-2.975-3.055Zm7.377-7.954c-.561%200-1.02-.46-1.02-1.024a1.024%201.024%200%200%201%201.02-1.007c.561%200%201.003.46%201.003%201.007a1.01%201.01%200%200%201-1.003%201.024Zm-.731%2010.838V14.49h1.445v8.602h-1.445Zm3.377-8.602h1.615v-1.058c0-1.844%201.207-3.14%203.043-3.14.952%200%201.7.34%202.21.835l-.901%201.059a1.638%201.638%200%200%200-1.292-.58c-.935%200-1.598.682-1.598%201.792v1.092h2.975v1.331h-2.975v7.271h-1.462v-7.27h-1.615V14.49Zm8.543-2.236c-.561%200-1.02-.46-1.02-1.024a1.024%201.024%200%200%201%201.02-1.007c.561%200%201.003.46%201.003%201.007a1.01%201.01%200%200%201-1.003%201.024Zm-.731%2010.838V14.49h1.445v8.602h-1.445Zm12.115-1.416c-.799%201.075-2.074%201.758-3.672%201.758-2.89%200-4.675-2.134-4.675-4.643%200-2.611%201.666-4.642%204.318-4.642%202.329%200%203.842%201.587%203.842%203.738%200%20.34-.051.682-.102.921h-6.562v.034c0%201.895%201.292%203.277%203.213%203.277a3.143%203.143%200%200%200%202.567-1.28l1.071.837Zm-4.012-6.281c-1.394%200-2.38.785-2.72%202.27h5.083c-.051-1.246-.952-2.27-2.363-2.27Zm6.274%207.697V14.49h1.445v1.075c.629-.75%201.411-1.246%202.499-1.246.272%200%20.527.034.731.103v1.502a3.1%203.1%200%200%200-.85-.12c-1.122%200-1.853.58-2.38%201.451v5.837h-1.445Zm13.685.342c-1.683%200-2.822-.956-2.822-2.458%200-1.331.986-2.287%202.822-2.577l2.873-.478v-.598c0-1.195-.85-1.877-2.057-1.877-1.003%200-1.836.444-2.329%201.195l-1.088-.837c.748-1.024%201.955-1.655%203.451-1.655%202.176%200%203.468%201.28%203.468%203.174v5.77h-1.445V22c-.646.905-1.717%201.434-2.873%201.434Zm-1.377-2.51c0%20.735.629%201.298%201.615%201.298%201.139%200%202.04-.598%202.635-1.588v-1.638l-2.533.444c-1.19.188-1.717.734-1.717%201.485Zm7.252-6.434h1.564l2.737%207.083%202.737-7.083h1.564l-3.349%208.602h-1.904l-3.349-8.602Zm17.856%207.186c-.799%201.075-2.074%201.758-3.672%201.758-2.89%200-4.675-2.134-4.675-4.643%200-2.611%201.666-4.642%204.318-4.642%202.329%200%203.842%201.587%203.842%203.738%200%20.34-.051.682-.102.921h-6.562v.034c0%201.895%201.292%203.277%203.213%203.277a3.143%203.143%200%200%200%202.567-1.28l1.071.837Zm-4.012-6.281c-1.394%200-2.38.785-2.72%202.27h5.083c-.051-1.246-.952-2.27-2.363-2.27Zm10.185%206.673a2.891%202.891%200%200%200%202.431-1.28l1.156.888c-.799%201.075-2.04%201.758-3.604%201.758-2.839%200-4.658-2.134-4.658-4.643s1.819-4.642%204.658-4.642c1.547%200%202.805.7%203.604%201.758l-1.156.887a2.917%202.917%200%200%200-2.448-1.28c-1.836%200-3.145%201.45-3.145%203.277%200%201.843%201.309%203.277%203.162%203.277ZM61.854%2040.161V27.51h4.158c2.772%200%204.464%201.428%204.464%203.777%200%202.331-1.692%203.76-4.464%203.76H64.41v5.114h-2.556Zm4.266-10.464h-1.71v3.162h1.71c1.08%200%201.728-.578%201.728-1.608%200-.958-.648-1.554-1.728-1.554Zm6.129%2010.464v-9.109h2.286v.904c.594-.615%201.368-1.084%202.394-1.084.306%200%20.576.054.792.126v2.404a3.922%203.922%200%200%200-1.008-.127c-1.116%200-1.836.614-2.178%201.175v5.71h-2.286Zm11.386-9.47c2.952%200%204.968%202.186%204.968%204.915%200%202.73-2.016%204.916-4.968%204.916s-4.968-2.187-4.968-4.916c0-2.729%202.016-4.915%204.968-4.915Zm.036%207.662c1.458%200%202.556-1.174%202.556-2.747%200-1.59-1.098-2.747-2.556-2.747-1.512%200-2.628%201.157-2.628%202.747%200%201.59%201.116%202.747%202.628%202.747Zm13.172-.235c1.44%200%202.574-.704%203.294-1.735l2.016%201.555c-1.152%201.572-3.024%202.584-5.31%202.584-3.978%200-6.696-3.072-6.696-6.687%200-3.614%202.718-6.686%206.696-6.686%202.286%200%204.158%201.03%205.31%202.566l-2.016%201.572c-.72-1.03-1.854-1.735-3.294-1.735-2.376%200-4.068%201.862-4.068%204.283%200%202.422%201.692%204.283%204.068%204.283Zm11.366-7.427c2.952%200%204.968%202.186%204.968%204.915%200%202.73-2.016%204.916-4.968%204.916s-4.968-2.187-4.968-4.916c0-2.729%202.016-4.915%204.968-4.915Zm.036%207.662c1.458%200%202.556-1.174%202.556-2.747%200-1.59-1.098-2.747-2.556-2.747-1.512%200-2.628%201.157-2.628%202.747%200%201.59%201.116%202.747%202.628%202.747Zm7.018%201.808v-9.109h2.286v.723c.63-.614%201.476-1.084%202.682-1.084%201.962%200%203.528%201.355%203.528%204.048v5.422h-2.322v-5.332c0-1.21-.666-1.97-1.782-1.97-1.152%200-1.764.777-2.106%201.356v5.946h-2.286Zm11.091%200v-9.109h2.286v.723c.63-.614%201.476-1.084%202.682-1.084%201.962%200%203.528%201.355%203.528%204.048v5.422h-2.322v-5.332c0-1.21-.666-1.97-1.782-1.97-1.152%200-1.764.777-2.106%201.356v5.946h-2.286Zm19.444-1.482c-.846%201.138-2.25%201.843-3.96%201.843-3.222%200-5.04-2.259-5.04-4.916%200-2.692%201.692-4.915%204.662-4.915%202.52%200%204.176%201.698%204.176%204.084%200%20.506-.072.994-.144%201.301h-6.354c.144%201.5%201.188%202.386%202.736%202.386.99%200%201.8-.434%202.286-1.085l1.638%201.302Zm-4.338-6.073c-1.116%200-1.872.543-2.178%201.735h4.086c-.036-.903-.702-1.735-1.908-1.735Zm10.696%205.747c.882%200%201.584-.433%202.016-1.066l1.818%201.392c-.846%201.12-2.178%201.843-3.834%201.843-3.132%200-5.004-2.259-5.004-4.916%200-2.656%201.872-4.915%205.004-4.915%201.656%200%202.988.723%203.834%201.843l-1.818%201.392c-.432-.633-1.116-1.067-2.052-1.067-1.494%200-2.592%201.157-2.592%202.747%200%201.609%201.098%202.747%202.628%202.747Zm6.204-1.518V33.15h-1.692v-2.097h1.692v-2.277h2.304v2.277h2.772v2.097h-2.772v3.686c0%201.012.54%201.41%201.44%201.41.63%200%201.044-.072%201.35-.199v2.006c-.45.199-.99.29-1.746.29-2.268%200-3.348-1.284-3.348-3.507Z'/%3e%3cpath%20fill='%23000091'%20d='M37.992%2014.155%2022.998%205.442%208.004%2014.237a.607.607%200%200%200-.306.527V31.78a.67.67%200%200%200%20.306.526l14.992%208.635L37.99%2032.2a.667.667%200%200%200%20.306-.526v-16.99a.608.608%200%200%200-.304-.53Z'/%3e%3cpath%20fill='%23FCC63A'%20d='m17.641%2014.656-5.029%208.663-4.557-9.212%205.39-3.125%204.49%203.173-.294.502Zm20.656%2017.049V14.679a.604.604%200%200%200-.306-.526L22.998%205.442'/%3e%3cpath%20fill='%230063CB'%20d='M7.7%2031.705%2023%205.442v35.504l-14.996-8.64a.667.667%200%200%201-.306-.526V14.765l.002%2016.94Zm24.67-20.819%205.457%203.168-4.489%209.187-5.387-9.273%204.418-3.083v.001Z'/%3e%3cpath%20fill='%23fff'%20d='M42.606%2011.348%2023.416.284a.93.93%200%200%200-.832%200L3.394%2011.348a.89.89%200%200%200-.394.698v22.088a.891.891%200%200%200%20.394.703l19.189%2011.064a.929.929%200%200%200%20.832%200l19.191-11.064a.888.888%200%200%200%20.394-.703V12.046a.893.893%200%200%200-.394-.698ZM13.789%2029.176h.079c-.042%200-.079.007-.079.05%200%20.1.151%200%20.2.1a.91.91%200%200%200-.629.277c0%20.05.1.05.151.05-.075.1-.226.05-.277.153a.176.176%200%200%200%20.1.05c-.05%200-.1%200-.1.05v.153c-.126%200-.176.1-.277.15.2.153.327%200%20.528%200-.528.201-.956.482-1.484.633-.1%200%200%20.15-.1.15.151.101.227-.05.377-.05-.654.38-1.333.703-2.037%201.138a.353.353%200%200%200-.1.201h-.2c-.1.05-.05.177-.151.278.226.15.5-.2.654%200%20.05%200-.1.05-.2.05-.05%200-.05.1-.1.1H9.99c-.1.076-.2.127-.2.278a.22.22%200%200%200-.226.1%209%209%200%200%200%203.144-.58%207.687%207.687%200%200%200%202.088-1.566.177.177%200%200%201%20.05.1c-.147.439-.43.82-.806%201.084-.277.153-.478.38-.7.481a4.05%204.05%200%200%200-.428.277c-.632.198-1.281.337-1.939.414l-.305.044c-.225.033-.449.07-.671.109l-1.993-1.143a.648.648%200%200%201-.288-.413.568.568%200%200%200%20.094-.063.267.267%200%200%200-.113-.071v-.653a12.74%2012.74%200%200%200%203.038-.945%208.731%208.731%200%200%200-3.037-1.349v-1.52c.555.09%201.103.222%201.639.393a6.41%206.41%200%200%201%201.182.58c.147.14.307.268.478.379a.908.908%200%200%200%20.8.05h.33a3.954%203.954%200%200%200%201.937-.909c0%20.05.05.05.1.05-.078.4-.223.785-.428%201.137.003.05-.048.152.053.203Zm2.817%203.584c.251-.1.4-.277.629-.378-.05.05-.05.151-.1.201a3.71%203.71%200%200%200-.528.402%2016%2016%200%200%200-1.585%201.616c-.252.302-.528.58-.8.859-.096.09-.2.172-.31.246l-2.527-1.456c.36.03.721.013%201.076-.053.294-.084.58-.193.855-.329v.1c.7-.277%201.232-.909%201.937-1.136.025%200%20.126.1.226.05a1.885%201.885%200%200%201%201.509-.702c0%20.05%200%20.1.05.1h.025c-.151.127-.327.251-.5.378-.057.053-.007.102.043.102Zm-8.908-6.188v-.187a5.795%205.795%200%200%201%201.588-.188c.158-.026.32-.026.478%200a5.84%205.84%200%200%200-2.066.375Zm30.6%205.109a.67.67%200%200%201-.306.526L27.913%2038.08a32.214%2032.214%200%200%201-3.408-1.189%202.847%202.847%200%200%201-.05-2.254c.08-.309.198-.607.352-.886.025-.025.05-.05.05-.076a.025.025%200%200%200%20.025-.025%204.33%204.33%200%200%201%20.377-.558l.015-.015.02-.02.015-.016c0-.025.025-.05.05-.076.025-.052.075-.077.1-.127a3.78%203.78%200%200%201%20.579-.502c.213-.077.431-.136.654-.178.811.06%201.617.171%202.415.33a.753.753%200%200%201%20.277.1c.301.06.612.041.905-.05a1.135%201.135%200%200%200%20.855-.709%201.22%201.22%200%200%200%20.05-1.064c-.178-.276-.013-.438.181-.592l.068-.055c.086-.06.164-.134.231-.216.126-.254-.1-.402-.151-.633-.05-.1-.226-.05-.327-.2.352-.152.855-.433.629-.861-.151-.228-.377-.633-.1-.86.352-.201.855-.152%201.006-.483a1.146%201.146%200%200%200-.292-1.088l-.075-.108a4.776%204.776%200%200%201-.211-.322%206.934%206.934%200%200%200-.528-.76%204.32%204.32%200%200%201-.528-1.014c-.151-.378.05-.708.05-1.087a6.397%206.397%200%200%200-.327-2.153c-.126-.354-.176-.734-.327-1.064a1.127%201.127%200%200%200-.226-.582.376.376%200%200%201%200-.329c.205-.145.399-.306.579-.482a.571.571%200%200%200-.2-.707c-.327-.152-.3.329-.528.43h-.151c-.05-.126.05-.177.151-.278%200-.05%200-.151-.05-.151-.2%200-.377-.052-.428-.152a3.956%203.956%200%200%200-1.861-1.291c.188.058.382.091.579.1.338.072.69.036%201.006-.1.227-.077.277-.482.377-.709a.806.806%200%200%200-.151-.634%202.192%202.192%200%200%200-.906-.759%209.094%209.094%200%200%201-.679-.354.952.952%200%200%200-.251-.127c-2.965-1.49-9.069-.2-9.534%200h-.009a8.23%208.23%200%200%200-1.249.477%203.92%203.92%200%200%200-2.365%202.475%203.84%203.84%200%200%200-1.333%201.515c-.428.804-1.056%201.515-.956%202.424.1.783.277%201.49.428%202.298.043.273.11.542.2.803.1.278%200%20.632.151.859.075.15.025.328.227.43v.2c.05.05.05.1.151.1v.202c.435.424.807.91%201.107%201.44.1.276-.478.15-.7.05a5.983%205.983%200%200%201-1.132-.96.177.177%200%200%200-.051.1c.2.354.906.783.528%201.01-.2.1-.428-.151-.629.05-.05.077%200%20.178%200%20.278-.277-.2-.578-.1-.855-.2-.2-.05-.252-.429-.478-.429a15.135%2015.135%200%200%200-1.811-.328%2015.1%2015.1%200%200%200-1.739-.161V14.766a.61.61%200%200%201%20.306-.526l14.987-8.796%2014.994%208.712a.606.606%200%200%201%20.306.526V31.68Zm-7.954-8.295a.325.325%200%200%201-.282.15c-.1.085-.194.176-.282.274.1%200%200%20.15.1.15-.205.224.077.697-.205.796-.37.1-.758.1-1.127%200a.721.721%200%200%201%20.167-.016h.085a.38.38%200%200%200%20.337-.133v-.2c0-.05-.051-.05-.1-.05a.16.16%200%200%201-.1.05.225.225%200%200%200-.154-.201.804.804%200%200%201-.718-.274.668.668%200%200%201%20.436-.05c.128%200%20.077-.225.231-.324h.154c.307-.373.871-.473.974-.846%200-.1-.282-.1-.487-.15a2.253%202.253%200%200%200-.82.05c-.36.05-.712.142-1.051.274.28-.206.592-.366.923-.472.232-.09.473-.158.718-.201l.132-.026.133-.027a.968.968%200%200%201%20.556%200c.231.1.615.1.666.248.1.275-.154.548-.435.747-.057.08.149.136.149.231Z'/%3e%3cpath%20fill='%23FCC63A'%20d='M55.56%200H30c-1.105%200-2%20.899-2%202.008v9.34c0%201.108.895%202.007%202%202.007h25.56c1.105%200%202-.899%202-2.008V2.008a2.004%202.004%200%200%200-2-2.008Z'/%3e%3cpath%20fill='%23161616'%20d='M30.562%2011.213V2.325h2.921c.97%200%201.732.237%202.289.711.565.474.847%201.122.847%201.943%200%20.813-.282%201.456-.847%201.93-.557.474-1.32.71-2.289.71h-1.125v3.594h-1.796Zm2.997-7.351h-1.201v2.221h1.2c.38%200%20.675-.097.886-.29.22-.197.329-.476.329-.84%200-.338-.11-.605-.329-.8-.21-.194-.506-.291-.885-.291Zm4.671%207.35V2.326h2.707c.97%200%201.736.237%202.301.711.565.474.847%201.122.847%201.943%200%20.532-.126.999-.379%201.396a2.4%202.4%200%200%201-1.037.902l2.782%203.936h-2.15L40.949%207.62h-.923v3.593H38.23Zm2.808-7.35h-1.012v2.221h1.012c.38%200%20.674-.097.885-.29.21-.197.316-.476.316-.84%200-.338-.105-.605-.316-.8-.21-.194-.506-.291-.885-.291Zm9.511-1.79c.69%200%201.323.126%201.896.38.582.254%201.08.593%201.492%201.016.414.423.734.923.962%201.498a4.81%204.81%200%200%201%20.341%201.803c0%20.635-.114%201.24-.341%201.815a4.504%204.504%200%200%201-.962%201.486%204.67%204.67%200%200%201-1.492%201.015c-.598.26-1.244.39-1.896.382a4.721%204.721%200%200%201-3.402-1.397%204.504%204.504%200%200%201-.961-1.486%204.892%204.892%200%200%201-.342-1.815c0-.635.114-1.236.342-1.803a4.473%204.473%200%200%201%20.961-1.498%204.72%204.72%200%200%201%203.402-1.397Zm0%207.706a2.79%202.79%200%200%200%201.138-.229c.354-.16.653-.371.898-.634.252-.271.45-.589.594-.953.145-.38.218-.785.215-1.193a3.193%203.193%200%200%200-.215-1.18%202.805%202.805%200%200%200-.595-.953A2.547%202.547%200%200%200%2051.687%204a2.664%202.664%200%200%200-1.138-.24c-.413%200-.797.08-1.151.24a2.678%202.678%200%200%200-.91.635c-.254.276-.451.6-.582.952a3.193%203.193%200%200%200-.215%201.181c0%20.423.071.82.215%201.193.143.364.337.682.581.953.253.262.557.474.91.634.355.153.739.23%201.152.23Z'/%3e%3c/svg%3e",k1="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='190'%20height='48'%20fill='none'%3e%3cpath%20fill='%23929292'%20d='m57.986%2021.454%201.156-1.076c.833%201.059%201.819%201.605%202.94%201.605%201.293%200%202.04-.82%202.04-1.912%200-2.56-5.626-2.253-5.626-6.059%200-1.74%201.428-3.209%203.45-3.209%201.684%200%202.908.768%203.792%201.946l-1.19%201.041c-.697-1.007-1.547-1.553-2.584-1.553-1.105%200-1.836.751-1.836%201.74%200%202.578%205.627%202.254%205.627%206.077%200%202.031-1.581%203.363-3.655%203.363-1.768%200-3.077-.666-4.114-1.963Zm10.817-5.735H67.46l1.445-4.574h1.649l-1.751%204.574Zm4.818-3.465c-.56%200-1.02-.46-1.02-1.024a1.026%201.026%200%200%201%201.02-1.007c.56%200%201.003.46%201.003%201.007a1.01%201.01%200%200%201-1.003%201.024Zm-.73%2010.838V14.49h1.444v8.602H72.89Zm3.767-4.3c0-2.51%201.717-4.643%204.403-4.643%201.24%200%202.26.46%203.043%201.297V10.29h1.445v12.801h-1.445v-.955c-.782.836-1.802%201.297-3.043%201.297-2.686%200-4.403-2.134-4.403-4.643Zm1.53%200c0%201.825%201.224%203.276%203.043%203.276%201.19%200%202.21-.58%202.873-1.604v-3.345c-.68-1.042-1.7-1.605-2.873-1.605-1.82%200-3.043%201.45-3.043%203.277Zm18.023%202.884c-.8%201.075-2.074%201.758-3.672%201.758-2.89%200-4.675-2.134-4.675-4.643%200-2.611%201.666-4.642%204.318-4.642%202.329%200%203.842%201.587%203.842%203.738%200%20.34-.051.682-.102.921H89.36v.034c0%201.895%201.292%203.277%203.213%203.277a3.143%203.143%200%200%200%202.567-1.28l1.07.837Zm-4.012-6.281c-1.394%200-2.38.785-2.72%202.27h5.083c-.051-1.246-.952-2.27-2.363-2.27Zm6.274%207.697V14.49h1.445v.973c.697-.768%201.581-1.314%202.856-1.314%201.921%200%203.349%201.297%203.349%203.738v5.205h-1.462v-5.154c0-1.536-.85-2.424-2.176-2.424-1.241%200-2.023.717-2.567%201.622v5.956h-1.445Zm11.052-2.884V15.82h-1.615V14.49h1.615v-2.15h1.462v2.15h2.975v1.331h-2.975v4.387c0%201.348.68%201.724%201.717%201.724.561%200%20.952-.069%201.275-.205v1.297c-.408.17-.867.239-1.479.239-1.904%200-2.975-.956-2.975-3.055Zm7.377-7.954c-.561%200-1.02-.46-1.02-1.024a1.024%201.024%200%200%201%201.02-1.007c.561%200%201.003.46%201.003%201.007a1.01%201.01%200%200%201-1.003%201.024Zm-.731%2010.838V14.49h1.445v8.602h-1.445Zm3.377-8.602h1.615v-1.058c0-1.844%201.207-3.14%203.043-3.14.952%200%201.7.34%202.21.835l-.901%201.059a1.638%201.638%200%200%200-1.292-.58c-.935%200-1.598.682-1.598%201.792v1.092h2.975v1.331h-2.975v7.271h-1.462v-7.27h-1.615V14.49Zm8.543-2.236c-.561%200-1.02-.46-1.02-1.024a1.024%201.024%200%200%201%201.02-1.007c.561%200%201.003.46%201.003%201.007a1.01%201.01%200%200%201-1.003%201.024Zm-.731%2010.838V14.49h1.445v8.602h-1.445Zm12.115-1.416c-.799%201.075-2.074%201.758-3.672%201.758-2.89%200-4.675-2.134-4.675-4.643%200-2.611%201.666-4.642%204.318-4.642%202.329%200%203.842%201.587%203.842%203.738%200%20.34-.051.682-.102.921h-6.562v.034c0%201.895%201.292%203.277%203.213%203.277a3.143%203.143%200%200%200%202.567-1.28l1.071.837Zm-4.012-6.281c-1.394%200-2.38.785-2.72%202.27h5.083c-.051-1.246-.952-2.27-2.363-2.27Zm6.274%207.697V14.49h1.445v1.075c.629-.75%201.411-1.246%202.499-1.246.272%200%20.527.034.731.103v1.502a3.1%203.1%200%200%200-.85-.12c-1.122%200-1.853.58-2.38%201.451v5.837h-1.445Zm13.685.342c-1.683%200-2.822-.956-2.822-2.458%200-1.331.986-2.287%202.822-2.577l2.873-.478v-.598c0-1.195-.85-1.877-2.057-1.877-1.003%200-1.836.444-2.329%201.195l-1.088-.837c.748-1.024%201.955-1.655%203.451-1.655%202.176%200%203.468%201.28%203.468%203.174v5.77h-1.445V22c-.646.905-1.717%201.434-2.873%201.434Zm-1.377-2.51c0%20.735.629%201.298%201.615%201.298%201.139%200%202.04-.598%202.635-1.588v-1.638l-2.533.444c-1.19.188-1.717.734-1.717%201.485Zm7.252-6.434h1.564l2.737%207.083%202.737-7.083h1.564l-3.349%208.602h-1.904l-3.349-8.602Zm17.856%207.186c-.799%201.075-2.074%201.758-3.672%201.758-2.89%200-4.675-2.134-4.675-4.643%200-2.611%201.666-4.642%204.318-4.642%202.329%200%203.842%201.587%203.842%203.738%200%20.34-.051.682-.102.921h-6.562v.034c0%201.895%201.292%203.277%203.213%203.277a3.143%203.143%200%200%200%202.567-1.28l1.071.837Zm-4.012-6.281c-1.394%200-2.38.785-2.72%202.27h5.083c-.051-1.246-.952-2.27-2.363-2.27Zm10.185%206.673a2.891%202.891%200%200%200%202.431-1.28l1.156.888c-.799%201.075-2.04%201.758-3.604%201.758-2.839%200-4.658-2.134-4.658-4.643s1.819-4.642%204.658-4.642c1.547%200%202.805.7%203.604%201.758l-1.156.887a2.917%202.917%200%200%200-2.448-1.28c-1.836%200-3.145%201.45-3.145%203.277%200%201.843%201.309%203.277%203.162%203.277ZM58.854%2040.161V27.51h4.158c2.772%200%204.464%201.428%204.464%203.777%200%202.331-1.692%203.76-4.464%203.76H61.41v5.114h-2.556Zm4.266-10.464h-1.71v3.162h1.71c1.08%200%201.728-.578%201.728-1.608%200-.958-.648-1.554-1.728-1.554Zm6.129%2010.464v-9.109h2.286v.904c.594-.615%201.368-1.084%202.394-1.084.306%200%20.576.054.792.126v2.404a3.922%203.922%200%200%200-1.008-.127c-1.116%200-1.836.614-2.178%201.175v5.71h-2.286Zm11.386-9.47c2.952%200%204.968%202.186%204.968%204.915%200%202.73-2.016%204.916-4.968%204.916s-4.968-2.187-4.968-4.916c0-2.729%202.016-4.915%204.968-4.915Zm.036%207.662c1.458%200%202.556-1.174%202.556-2.747%200-1.59-1.098-2.747-2.556-2.747-1.512%200-2.628%201.157-2.628%202.747%200%201.59%201.116%202.747%202.628%202.747Zm13.172-.235c1.44%200%202.574-.704%203.294-1.735l2.016%201.555c-1.152%201.572-3.024%202.584-5.31%202.584-3.978%200-6.696-3.072-6.696-6.687%200-3.614%202.718-6.686%206.696-6.686%202.286%200%204.158%201.03%205.31%202.566l-2.016%201.572c-.72-1.03-1.854-1.735-3.294-1.735-2.376%200-4.068%201.862-4.068%204.283%200%202.422%201.692%204.283%204.068%204.283Zm11.366-7.427c2.952%200%204.968%202.186%204.968%204.915%200%202.73-2.016%204.916-4.968%204.916s-4.968-2.187-4.968-4.916c0-2.729%202.016-4.915%204.968-4.915Zm.036%207.662c1.458%200%202.556-1.174%202.556-2.747%200-1.59-1.098-2.747-2.556-2.747-1.512%200-2.628%201.157-2.628%202.747%200%201.59%201.116%202.747%202.628%202.747Zm7.018%201.808v-9.109h2.286v.723c.63-.614%201.476-1.084%202.682-1.084%201.962%200%203.528%201.355%203.528%204.048v5.422h-2.322v-5.332c0-1.21-.666-1.97-1.782-1.97-1.152%200-1.764.777-2.106%201.356v5.946h-2.286Zm11.091%200v-9.109h2.286v.723c.63-.614%201.476-1.084%202.682-1.084%201.962%200%203.528%201.355%203.528%204.048v5.422h-2.322v-5.332c0-1.21-.666-1.97-1.782-1.97-1.152%200-1.764.777-2.106%201.356v5.946h-2.286Zm19.444-1.482c-.846%201.138-2.25%201.843-3.96%201.843-3.222%200-5.04-2.259-5.04-4.916%200-2.692%201.692-4.915%204.662-4.915%202.52%200%204.176%201.698%204.176%204.084%200%20.506-.072.994-.144%201.301h-6.354c.144%201.5%201.188%202.386%202.736%202.386.99%200%201.8-.434%202.286-1.085l1.638%201.302Zm-4.338-6.073c-1.116%200-1.872.543-2.178%201.735h4.086c-.036-.903-.702-1.735-1.908-1.735Zm10.696%205.747c.882%200%201.584-.433%202.016-1.066l1.818%201.392c-.846%201.12-2.178%201.843-3.834%201.843-3.132%200-5.004-2.259-5.004-4.916%200-2.656%201.872-4.915%205.004-4.915%201.656%200%202.988.723%203.834%201.843l-1.818%201.392c-.432-.633-1.116-1.067-2.052-1.067-1.494%200-2.592%201.157-2.592%202.747%200%201.609%201.098%202.747%202.628%202.747Zm6.204-1.518V33.15h-1.692v-2.097h1.692v-2.277h2.304v2.277h2.772v2.097h-2.772v3.686c0%201.012.54%201.41%201.44%201.41.63%200%201.044-.072%201.35-.199v2.006c-.45.199-.99.29-1.746.29-2.268%200-3.348-1.284-3.348-3.507Z'/%3e%3cpath%20fill='%237C7C7C'%20d='M34.992%2014.155%2019.998%205.442%205.004%2014.237a.607.607%200%200%200-.306.527V31.78a.67.67%200%200%200%20.306.526l14.992%208.635L34.99%2032.2a.667.667%200%200%200%20.306-.526v-16.99a.608.608%200%200%200-.304-.53Z'/%3e%3cpath%20fill='%23F6F6F6'%20d='M14.641%2014.656%209.612%2023.32l-4.557-9.212%205.39-3.125%204.49%203.173-.294.502Zm20.656%2017.049V14.679a.604.604%200%200%200-.306-.526L19.998%205.442'/%3e%3cpath%20fill='%23929292'%20d='M4.7%2031.705%2020%205.442v35.504l-14.996-8.64a.667.667%200%200%201-.306-.526V14.765l.002%2016.94Zm24.67-20.819%205.457%203.168-4.489%209.187-5.387-9.273%204.418-3.083v.001Z'/%3e%3cpath%20fill='%23CECECE'%20d='M39.606%2011.348%2020.416.284a.93.93%200%200%200-.832%200L.394%2011.348a.89.89%200%200%200-.394.698v22.088a.891.891%200%200%200%20.394.703l19.189%2011.064a.929.929%200%200%200%20.832%200l19.191-11.064a.888.888%200%200%200%20.394-.703V12.046a.893.893%200%200%200-.394-.698ZM10.789%2029.176h.079c-.042%200-.079.007-.079.05%200%20.1.151%200%20.2.1a.91.91%200%200%200-.629.277c0%20.05.1.05.151.05-.075.1-.226.05-.277.153a.176.176%200%200%200%20.1.05c-.05%200-.1%200-.1.05v.153c-.126%200-.176.1-.277.15.2.153.327%200%20.528%200-.528.201-.956.482-1.484.633-.1%200%200%20.15-.1.15.151.101.227-.05.377-.05-.654.38-1.333.703-2.037%201.138a.353.353%200%200%200-.1.201h-.2c-.1.05-.05.177-.151.278.226.15.5-.2.654%200%20.05%200-.1.05-.2.05-.05%200-.05.1-.1.1H6.99c-.1.076-.2.127-.2.278a.22.22%200%200%200-.226.1%209%209%200%200%200%203.144-.58%207.687%207.687%200%200%200%202.088-1.566.177.177%200%200%201%20.05.1c-.147.439-.43.82-.806%201.084-.277.153-.478.38-.7.481a4.05%204.05%200%200%200-.428.277c-.632.198-1.281.337-1.939.414l-.305.044c-.225.033-.449.07-.671.109l-1.993-1.143a.648.648%200%200%201-.288-.413.568.568%200%200%200%20.094-.063.267.267%200%200%200-.113-.071v-.653a12.74%2012.74%200%200%200%203.038-.945%208.731%208.731%200%200%200-3.037-1.349v-1.52c.555.09%201.103.222%201.639.393.413.152.809.346%201.182.58.147.14.307.268.478.379a.908.908%200%200%200%20.8.05h.33a3.954%203.954%200%200%200%201.937-.909c0%20.05.05.05.1.05-.078.4-.223.785-.428%201.137.003.05-.048.152.053.203Zm2.817%203.584c.251-.1.4-.277.629-.378-.05.05-.05.151-.1.201a3.71%203.71%200%200%200-.528.402%2016%2016%200%200%200-1.585%201.616c-.252.302-.528.58-.8.859-.096.09-.2.172-.31.246L8.385%2034.25c.36.03.721.013%201.076-.053.294-.084.58-.193.855-.329v.1c.7-.277%201.232-.909%201.937-1.136.025%200%20.126.1.226.05a1.885%201.885%200%200%201%201.509-.702c0%20.05%200%20.1.05.1h.025c-.151.127-.327.251-.5.378-.057.053-.007.102.043.102Zm-8.908-6.188v-.187a5.795%205.795%200%200%201%201.588-.188c.158-.026.32-.026.478%200a5.84%205.84%200%200%200-2.066.375Zm30.6%205.109a.67.67%200%200%201-.306.526L24.913%2038.08a32.214%2032.214%200%200%201-3.408-1.189%202.847%202.847%200%200%201-.05-2.254c.08-.309.198-.607.352-.886.025-.025.05-.05.05-.076a.025.025%200%200%200%20.025-.025%204.33%204.33%200%200%201%20.377-.558l.015-.015.02-.02.015-.016c0-.025.025-.05.05-.076.025-.052.075-.077.1-.127a3.78%203.78%200%200%201%20.579-.502c.213-.077.431-.136.654-.178.811.06%201.617.171%202.415.33a.753.753%200%200%201%20.277.1c.301.06.612.041.905-.05a1.135%201.135%200%200%200%20.855-.709%201.22%201.22%200%200%200%20.05-1.064c-.178-.276-.013-.438.181-.592l.068-.055c.086-.06.164-.134.231-.216.126-.254-.1-.402-.151-.633-.05-.1-.226-.05-.327-.2.352-.152.855-.433.629-.861-.151-.228-.377-.633-.1-.86.352-.201.855-.152%201.006-.483a1.146%201.146%200%200%200-.292-1.088l-.075-.108a4.776%204.776%200%200%201-.211-.322%206.934%206.934%200%200%200-.528-.76%204.32%204.32%200%200%201-.528-1.014c-.151-.378.05-.708.05-1.087a6.397%206.397%200%200%200-.327-2.153c-.126-.354-.176-.734-.327-1.064a1.127%201.127%200%200%200-.226-.582.376.376%200%200%201%200-.329c.205-.145.399-.306.579-.482a.571.571%200%200%200-.2-.707c-.327-.152-.3.329-.528.43h-.151c-.05-.126.05-.177.151-.278%200-.05%200-.151-.05-.151-.2%200-.377-.052-.428-.152a3.956%203.956%200%200%200-1.861-1.291c.188.058.382.091.579.1.338.072.69.036%201.006-.1.227-.077.277-.482.377-.709a.806.806%200%200%200-.151-.634%202.192%202.192%200%200%200-.906-.759%209.094%209.094%200%200%201-.679-.354.952.952%200%200%200-.251-.127c-2.965-1.49-9.069-.2-9.534%200h-.009a8.23%208.23%200%200%200-1.249.477%203.92%203.92%200%200%200-2.365%202.475%203.84%203.84%200%200%200-1.333%201.515c-.428.804-1.056%201.515-.956%202.424.1.783.277%201.49.428%202.298.043.273.11.542.2.803.1.278%200%20.632.151.859.075.15.025.328.227.43v.2c.05.05.05.1.151.1v.202c.435.424.807.91%201.107%201.44.1.276-.478.15-.7.05a5.983%205.983%200%200%201-1.132-.96.177.177%200%200%200-.051.1c.2.354.906.783.528%201.01-.2.1-.428-.151-.629.05-.05.077%200%20.178%200%20.278-.277-.2-.578-.1-.855-.2-.2-.05-.252-.429-.478-.429a15.135%2015.135%200%200%200-1.811-.328%2015.1%2015.1%200%200%200-1.739-.161V14.766a.61.61%200%200%201%20.306-.526l14.987-8.796%2014.994%208.712a.606.606%200%200%201%20.306.526V31.68Zm-7.954-8.295a.325.325%200%200%201-.282.15c-.1.085-.194.176-.282.274.1%200%200%20.15.1.15-.205.224.077.697-.205.796-.37.1-.758.1-1.127%200a.721.721%200%200%201%20.167-.016h.085a.38.38%200%200%200%20.337-.133v-.2c0-.05-.051-.05-.1-.05a.16.16%200%200%201-.1.05.225.225%200%200%200-.154-.201.804.804%200%200%201-.718-.274.668.668%200%200%201%20.436-.05c.128%200%20.077-.225.231-.324h.154c.307-.373.871-.473.974-.846%200-.1-.282-.1-.487-.15a2.253%202.253%200%200%200-.82.05c-.36.05-.712.142-1.051.274.28-.206.592-.366.923-.472.232-.09.473-.158.718-.201l.132-.026.133-.027a.968.968%200%200%201%20.556%200c.231.1.615.1.666.248.1.275-.154.548-.435.747-.057.08.149.136.149.231Z'/%3e%3cpath%20fill='%23DDD'%20d='M52.56%200H27c-1.105%200-2%20.899-2%202.008v9.34c0%201.108.895%202.007%202%202.007h25.56c1.105%200%202-.899%202-2.008V2.008a2.004%202.004%200%200%200-2-2.008Z'/%3e%3cpath%20fill='%23929292'%20d='M27.562%2011.213V2.325h2.921c.97%200%201.732.237%202.289.711.565.474.847%201.122.847%201.943%200%20.813-.282%201.456-.847%201.93-.557.474-1.32.71-2.289.71h-1.125v3.594h-1.796Zm2.997-7.351h-1.201v2.221h1.2c.38%200%20.675-.097.886-.29.22-.197.329-.476.329-.84%200-.338-.11-.605-.329-.8-.21-.194-.506-.291-.885-.291Zm4.671%207.35V2.326h2.707c.97%200%201.736.237%202.301.711.565.474.847%201.122.847%201.943%200%20.532-.126.999-.379%201.396a2.4%202.4%200%200%201-1.037.902l2.782%203.936h-2.15L37.949%207.62h-.923v3.593H35.23Zm2.808-7.35h-1.012v2.221h1.012c.38%200%20.674-.097.885-.29.21-.197.316-.476.316-.84%200-.338-.105-.605-.316-.8-.21-.194-.506-.291-.885-.291Zm9.511-1.79c.69%200%201.323.126%201.896.38.582.254%201.08.593%201.492%201.016.414.423.734.923.962%201.498a4.81%204.81%200%200%201%20.341%201.803c0%20.635-.114%201.24-.341%201.815a4.504%204.504%200%200%201-.962%201.486%204.67%204.67%200%200%201-1.492%201.015c-.598.26-1.244.39-1.896.382a4.721%204.721%200%200%201-3.402-1.397%204.504%204.504%200%200%201-.961-1.486%204.892%204.892%200%200%201-.342-1.815c0-.635.114-1.236.342-1.803a4.473%204.473%200%200%201%20.961-1.498%204.72%204.72%200%200%201%203.402-1.397Zm0%207.706a2.79%202.79%200%200%200%201.138-.229c.354-.16.653-.371.898-.634.252-.271.45-.589.594-.953.145-.38.218-.785.215-1.193a3.193%203.193%200%200%200-.215-1.18%202.805%202.805%200%200%200-.595-.953A2.547%202.547%200%200%200%2048.687%204a2.664%202.664%200%200%200-1.138-.24c-.413%200-.797.08-1.151.24a2.678%202.678%200%200%200-.91.635c-.254.276-.451.6-.582.952a3.193%203.193%200%200%200-.215%201.181c0%20.423.071.82.215%201.193.143.364.337.682.581.953.253.262.557.474.91.634.355.153.739.23%201.152.23Z'/%3e%3c/svg%3e",Cc=({disabled:t,onClick:e})=>m.jsx(X.Button,{disabled:t,className:"pro-connect-button",onClick:e,style:{backgroundImage:`url("${t?k1:_1}")`}});u.createContext(null);u.createContext(null);u.createContext(null);u.createContext(null);u.createContext(null);const I1=u.createContext({}),ne=typeof document<"u"?u.useLayoutEffect:()=>{};var qi;const O1=(qi=u.useInsertionEffect)!==null&&qi!==void 0?qi:ne;function ve(t){const e=u.useRef(null);return O1(()=>{e.current=t},[t]),u.useCallback((...r)=>{const n=e.current;return n==null?void 0:n(...r)},[])}function N1(t){let[e,r]=u.useState(t),n=u.useRef(null),i=ve(()=>{if(!n.current)return;let l=n.current.next();if(l.done){n.current=null;return}e===l.value?i():r(l.value)});ne(()=>{n.current&&i()});let o=ve(l=>{n.current=l(e),i()});return[e,o]}const Zn={prefix:String(Math.round(Math.random()*1e10)),current:0},Ec=u.createContext(Zn),M1=u.createContext(!1);let B1=!!(typeof window<"u"&&window.document&&window.document.createElement),Yi=new WeakMap;function R1(t=!1){let e=u.useContext(Ec),r=u.useRef(null);if(r.current===null&&!t){var n,i;let o=(i=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||i===void 0||(n=i.ReactCurrentOwner)===null||n===void 0?void 0:n.current;if(o){let l=Yi.get(o);l==null?Yi.set(o,{id:e.current,state:o.memoizedState}):o.memoizedState!==l.state&&(e.current=l.id,Yi.delete(o))}r.current=++e.current}return r.current}function L1(t){let e=u.useContext(Ec);e===Zn&&!B1&&process.env.NODE_ENV!=="production"&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let r=R1(!!t),n=e===Zn&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${e.prefix}`;return t||`${n}-${r}`}function K1(t){let e=u.useId(),[r]=u.useState(sn()),n=r||process.env.NODE_ENV==="test"?"react-aria":`react-aria${Zn.prefix}`;return t||`${n}-${e}`}const j1=typeof u.useId=="function"?K1:L1;function H1(){return!1}function V1(){return!0}function z1(t){return()=>{}}function sn(){return typeof u.useSyncExternalStore=="function"?u.useSyncExternalStore(z1,H1,V1):u.useContext(M1)}let U1=!!(typeof window<"u"&&window.document&&window.document.createElement),ur=new Map,Lr;typeof FinalizationRegistry<"u"&&(Lr=new FinalizationRegistry(t=>{ur.delete(t)}));function Se(t){let[e,r]=u.useState(t),n=u.useRef(null),i=j1(e),o=u.useRef(null);if(Lr&&Lr.register(o,i),U1){const l=ur.get(i);l&&!l.includes(n)?l.push(n):ur.set(i,[n])}return ne(()=>{let l=i;return()=>{Lr&&Lr.unregister(o),ur.delete(l)}},[i]),u.useEffect(()=>{let l=n.current;return l&&r(l),()=>{l&&(n.current=null)}}),i}function W1(t,e){if(t===e)return t;let r=ur.get(t);if(r)return r.forEach(i=>i.current=e),e;let n=ur.get(e);return n?(n.forEach(i=>i.current=t),t):e}function ft(t=[]){let e=Se(),[r,n]=N1(e),i=u.useCallback(()=>{n(function*(){yield e,yield document.getElementById(e)?e:void 0})},[e,n]);return ne(i,[e,i,...t]),r}function pt(...t){return(...e)=>{for(let r of t)typeof r=="function"&&r(...e)}}const le=t=>{var e;return(e=t==null?void 0:t.ownerDocument)!==null&&e!==void 0?e:document},_e=t=>t&&"window"in t&&t.window===t?t:le(t).defaultView||window;function Z1(t){return t!==null&&typeof t=="object"&&"nodeType"in t&&typeof t.nodeType=="number"}function G1(t){return Z1(t)&&t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in t}let q1=!1;function hi(){return q1}function ue(t,e){if(!hi())return e&&t?t.contains(e):!1;if(!t||!e)return!1;let r=e;for(;r!==null;){if(r===t)return!0;r.tagName==="SLOT"&&r.assignedSlot?r=r.assignedSlot.parentNode:G1(r)?r=r.host:r=r.parentNode}return!1}const De=(t=document)=>{var e;if(!hi())return t.activeElement;let r=t.activeElement;for(;r&&"shadowRoot"in r&&(!((e=r.shadowRoot)===null||e===void 0)&&e.activeElement);)r=r.shadowRoot.activeElement;return r};function oe(t){return hi()&&t.target.shadowRoot&&t.composedPath?t.composedPath()[0]:t.target}class Y1{get currentNode(){return this._currentNode}set currentNode(e){if(!ue(this.root,e))throw new Error("Cannot set currentNode to a node that is not contained by the root node.");const r=[];let n=e,i=e;for(this._currentNode=e;n&&n!==this.root;)if(n.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const l=n,a=this._doc.createTreeWalker(l,this.whatToShow,{acceptNode:this._acceptNode});r.push(a),a.currentNode=i,this._currentSetFor.add(a),n=i=l.host}else n=n.parentNode;const o=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});r.push(o),o.currentNode=i,this._currentSetFor.add(o),this._walkerStack=r}get doc(){return this._doc}firstChild(){let e=this.currentNode,r=this.nextNode();return ue(e,r)?(r&&(this.currentNode=r),r):(this.currentNode=e,null)}lastChild(){let r=this._walkerStack[0].lastChild();return r&&(this.currentNode=r),r}nextNode(){const e=this._walkerStack[0].nextNode();if(e){if(e.shadowRoot){var r;let i;if(typeof this.filter=="function"?i=this.filter(e):!((r=this.filter)===null||r===void 0)&&r.acceptNode&&(i=this.filter.acceptNode(e)),i===NodeFilter.FILTER_ACCEPT)return this.currentNode=e,e;let o=this.nextNode();return o&&(this.currentNode=o),o}return e&&(this.currentNode=e),e}else if(this._walkerStack.length>1){this._walkerStack.shift();let n=this.nextNode();return n&&(this.currentNode=n),n}else return null}previousNode(){const e=this._walkerStack[0];if(e.currentNode===e.root){if(this._currentSetFor.has(e))if(this._currentSetFor.delete(e),this._walkerStack.length>1){this._walkerStack.shift();let i=this.previousNode();return i&&(this.currentNode=i),i}else return null;return null}const r=e.previousNode();if(r){if(r.shadowRoot){var n;let o;if(typeof this.filter=="function"?o=this.filter(r):!((n=this.filter)===null||n===void 0)&&n.acceptNode&&(o=this.filter.acceptNode(r)),o===NodeFilter.FILTER_ACCEPT)return r&&(this.currentNode=r),r;let l=this.lastChild();return l&&(this.currentNode=l),l}return r&&(this.currentNode=r),r}else if(this._walkerStack.length>1){this._walkerStack.shift();let i=this.previousNode();return i&&(this.currentNode=i),i}else return null}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}constructor(e,r,n,i){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=l=>{if(l.nodeType===Node.ELEMENT_NODE){const s=l.shadowRoot;if(s){const c=this._doc.createTreeWalker(s,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(c),NodeFilter.FILTER_ACCEPT}else{var a;if(typeof this.filter=="function")return this.filter(l);if(!((a=this.filter)===null||a===void 0)&&a.acceptNode)return this.filter.acceptNode(l);if(this.filter===null)return NodeFilter.FILTER_ACCEPT}}return NodeFilter.FILTER_SKIP},this._doc=e,this.root=r,this.filter=i??null,this.whatToShow=n??NodeFilter.SHOW_ALL,this._currentNode=r,this._walkerStack.unshift(e.createTreeWalker(r,n,this._acceptNode));const o=r.shadowRoot;if(o){const l=this._doc.createTreeWalker(o,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(l)}}}function X1(t,e,r,n){return hi()?new Y1(t,e,r,n):t.createTreeWalker(e,r,n)}function wc(t){var e,r,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t)){var i=t.length;for(e=0;e<i;e++)t[e]&&(r=wc(t[e]))&&(n&&(n+=" "),n+=r)}else for(r in t)t[r]&&(n&&(n+=" "),n+=r);return n}function ye(){for(var t,e,r=0,n="",i=arguments.length;r<i;r++)(t=arguments[r])&&(e=wc(t))&&(n&&(n+=" "),n+=e);return n}function ie(...t){let e={...t[0]};for(let r=1;r<t.length;r++){let n=t[r];for(let i in n){let o=e[i],l=n[i];typeof o=="function"&&typeof l=="function"&&i[0]==="o"&&i[1]==="n"&&i.charCodeAt(2)>=65&&i.charCodeAt(2)<=90?e[i]=pt(o,l):(i==="className"||i==="UNSAFE_className")&&typeof o=="string"&&typeof l=="string"?e[i]=ye(o,l):i==="id"&&o&&l?e.id=W1(o,l):e[i]=l!==void 0?l:o}}return e}function $l(...t){return t.length===1&&t[0]?t[0]:e=>{let r=!1;const n=t.map(i=>{const o=_a(i,e);return r||(r=typeof o=="function"),o});if(r)return()=>{n.forEach((i,o)=>{typeof i=="function"?i():_a(t[o],null)})}}}function _a(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}const J1=new Set(["id"]),Q1=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),e5=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),t5=new Set(["dir","lang","hidden","inert","translate"]),ka=new Set(["onClick","onAuxClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onGotPointerCapture","onLostPointerCapture","onScroll","onWheel","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionCancel","onTransitionEnd","onTransitionRun","onTransitionStart"]),r5=/^(data-.*)$/;function he(t,e={}){let{labelable:r,isLink:n,global:i,events:o=i,propNames:l}=e,a={};for(const s in t)Object.prototype.hasOwnProperty.call(t,s)&&(J1.has(s)||r&&Q1.has(s)||n&&e5.has(s)||i&&t5.has(s)||o&&ka.has(s)||s.endsWith("Capture")&&ka.has(s.slice(0,-7))||l!=null&&l.has(s)||r5.test(s))&&(a[s]=t[s]);return a}function Ve(t){if(n5())t.focus({preventScroll:!0});else{let e=i5(t);t.focus(),o5(e)}}let hn=null;function n5(){if(hn==null){hn=!1;try{document.createElement("div").focus({get preventScroll(){return hn=!0,!0}})}catch{}}return hn}function i5(t){let e=t.parentNode,r=[],n=document.scrollingElement||document.documentElement;for(;e instanceof HTMLElement&&e!==n;)(e.offsetHeight<e.scrollHeight||e.offsetWidth<e.scrollWidth)&&r.push({element:e,scrollTop:e.scrollTop,scrollLeft:e.scrollLeft}),e=e.parentNode;return n instanceof HTMLElement&&r.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),r}function o5(t){for(let{element:e,scrollTop:r,scrollLeft:n}of t)e.scrollTop=r,e.scrollLeft=n}function pi(t){var e;if(typeof window>"u"||window.navigator==null)return!1;let r=(e=window.navigator.userAgentData)===null||e===void 0?void 0:e.brands;return Array.isArray(r)&&r.some(n=>t.test(n.brand))||t.test(window.navigator.userAgent)}function Pl(t){var e;return typeof window<"u"&&window.navigator!=null?t.test(((e=window.navigator.userAgentData)===null||e===void 0?void 0:e.platform)||window.navigator.platform):!1}function rt(t){if(process.env.NODE_ENV==="test")return t;let e=null;return()=>(e==null&&(e=t()),e)}const gt=rt(function(){return Pl(/^Mac/i)}),l5=rt(function(){return Pl(/^iPhone/i)}),Dc=rt(function(){return Pl(/^iPad/i)||gt()&&navigator.maxTouchPoints>1}),gi=rt(function(){return l5()||Dc()}),a5=rt(function(){return gt()||gi()}),Tl=rt(function(){return pi(/AppleWebKit/i)&&!xc()}),xc=rt(function(){return pi(/Chrome/i)}),Al=rt(function(){return pi(/Android/i)}),s5=rt(function(){return pi(/Firefox/i)}),c5=u.createContext({isNative:!0,open:f5,useHref:t=>t});function vi(){return u.useContext(c5)}function u5(t,e){let r=t.getAttribute("target");return(!r||r==="_self")&&t.origin===location.origin&&!t.hasAttribute("download")&&!e.metaKey&&!e.ctrlKey&&!e.altKey&&!e.shiftKey}function At(t,e,r=!0){var n,i;let{metaKey:o,ctrlKey:l,altKey:a,shiftKey:s}=e;s5()&&(!((i=window.event)===null||i===void 0||(n=i.type)===null||n===void 0)&&n.startsWith("key"))&&t.target==="_blank"&&(gt()?o=!0:l=!0);let c=Tl()&&gt()&&!Dc()&&process.env.NODE_ENV!=="test"?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:o,ctrlKey:l,altKey:a,shiftKey:s}):new MouseEvent("click",{metaKey:o,ctrlKey:l,altKey:a,shiftKey:s,bubbles:!0,cancelable:!0});At.isOpening=r,Ve(t),t.dispatchEvent(c),At.isOpening=!1}At.isOpening=!1;function d5(t,e){if(t instanceof HTMLAnchorElement)e(t);else if(t.hasAttribute("data-href")){let r=document.createElement("a");r.href=t.getAttribute("data-href"),t.hasAttribute("data-target")&&(r.target=t.getAttribute("data-target")),t.hasAttribute("data-rel")&&(r.rel=t.getAttribute("data-rel")),t.hasAttribute("data-download")&&(r.download=t.getAttribute("data-download")),t.hasAttribute("data-ping")&&(r.ping=t.getAttribute("data-ping")),t.hasAttribute("data-referrer-policy")&&(r.referrerPolicy=t.getAttribute("data-referrer-policy")),t.appendChild(r),e(r),t.removeChild(r)}}function f5(t,e){d5(t,r=>At(r,e))}function _l(t){let e=vi();var r;const n=e.useHref((r=t==null?void 0:t.href)!==null&&r!==void 0?r:"");return{href:t!=null&&t.href?n:void 0,target:t==null?void 0:t.target,rel:t==null?void 0:t.rel,download:t==null?void 0:t.download,ping:t==null?void 0:t.ping,referrerPolicy:t==null?void 0:t.referrerPolicy}}function h5(t,e,r,n){!e.isNative&&t.currentTarget instanceof HTMLAnchorElement&&t.currentTarget.href&&!t.isDefaultPrevented()&&u5(t.currentTarget,t)&&r&&(t.preventDefault(),e.open(t.currentTarget,t,r,n))}let ct=new Map,jo=new Set;function Ia(){if(typeof window>"u")return;function t(n){return"propertyName"in n}let e=n=>{if(!t(n)||!n.target)return;let i=ct.get(n.target);i||(i=new Set,ct.set(n.target,i),n.target.addEventListener("transitioncancel",r,{once:!0})),i.add(n.propertyName)},r=n=>{if(!t(n)||!n.target)return;let i=ct.get(n.target);if(i&&(i.delete(n.propertyName),i.size===0&&(n.target.removeEventListener("transitioncancel",r),ct.delete(n.target)),ct.size===0)){for(let o of jo)o();jo.clear()}};document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",r)}typeof document<"u"&&(document.readyState!=="loading"?Ia():document.addEventListener("DOMContentLoaded",Ia));function p5(){for(const[t]of ct)"isConnected"in t&&!t.isConnected&&ct.delete(t)}function Sc(t){requestAnimationFrame(()=>{p5(),ct.size===0?t():jo.add(t)})}function bi(){let t=u.useRef(new Map),e=u.useCallback((i,o,l,a)=>{let s=a!=null&&a.once?(...c)=>{t.current.delete(l),l(...c)}:l;t.current.set(l,{type:o,eventTarget:i,fn:s,options:a}),i.addEventListener(o,s,a)},[]),r=u.useCallback((i,o,l,a)=>{var s;let c=((s=t.current.get(l))===null||s===void 0?void 0:s.fn)||l;i.removeEventListener(o,c,a),t.current.delete(l)},[]),n=u.useCallback(()=>{t.current.forEach((i,o)=>{r(i.eventTarget,i.type,o,i.options)})},[r]);return u.useEffect(()=>n,[n]),{addGlobalListener:e,removeGlobalListener:r,removeAllGlobalListeners:n}}function mi(t,e){let{id:r,"aria-label":n,"aria-labelledby":i}=t;return r=Se(r),i&&n?i=[...new Set([r,...i.trim().split(/\s+/)])].join(" "):i&&(i=i.trim().split(/\s+/).join(" ")),!n&&!i&&e&&(n=e),{id:r,"aria-label":n,"aria-labelledby":i}}function nt(t){const e=u.useRef(null),r=u.useRef(void 0),n=u.useCallback(i=>{if(typeof t=="function"){const o=t,l=o(i);return()=>{typeof l=="function"?l():o(null)}}else if(t)return t.current=i,()=>{t.current=null}},[t]);return u.useMemo(()=>({get current(){return e.current},set current(i){e.current=i,r.current&&(r.current(),r.current=void 0),i!=null&&(r.current=n(i))}}),[n])}function Oa(t,e){const r=u.useRef(!0),n=u.useRef(null);ne(()=>(r.current=!0,()=>{r.current=!1}),[]),ne(()=>{r.current?r.current=!1:(!n.current||e.some((i,o)=>!Object.is(i,n[o])))&&t(),n.current=e},e)}function g5(){return typeof window.ResizeObserver<"u"}function Ho(t){const{ref:e,box:r,onResize:n}=t;u.useEffect(()=>{let i=e==null?void 0:e.current;if(i)if(g5()){const o=new window.ResizeObserver(l=>{l.length&&n()});return o.observe(i,{box:r}),()=>{i&&o.unobserve(i)}}else return window.addEventListener("resize",n,!1),()=>{window.removeEventListener("resize",n,!1)}},[n,e,r])}function Fc(t,e){ne(()=>{if(t&&t.ref&&e)return t.ref.current=e.current,()=>{t.ref&&(t.ref.current=null)}})}function Gr(t,e){if(!t)return!1;let r=window.getComputedStyle(t),n=/(auto|scroll)/.test(r.overflow+r.overflowX+r.overflowY);return n&&e&&(n=t.scrollHeight!==t.clientHeight||t.scrollWidth!==t.clientWidth),n}function $c(t,e){let r=t;for(Gr(r,e)&&(r=r.parentElement);r&&!Gr(r,e);)r=r.parentElement;return r||document.scrollingElement||document.documentElement}function v5(t,e){const r=[];for(;t&&t!==document.documentElement;)Gr(t,e)&&r.push(t),t=t.parentElement;return r}let b5=0;const Xi=new Map;function m5(t){let[e,r]=u.useState();return ne(()=>{if(!t)return;let n=Xi.get(t);if(n)r(n.element.id);else{let i=`react-aria-description-${b5++}`;r(i);let o=document.createElement("div");o.id=i,o.style.display="none",o.textContent=t,document.body.appendChild(o),n={refCount:0,element:o},Xi.set(t,n)}return n.refCount++,()=>{n&&--n.refCount===0&&(n.element.remove(),Xi.delete(t))}},[t]),{"aria-describedby":t?e:void 0}}function pn(t,e,r,n){let i=ve(r),o=r==null;u.useEffect(()=>{if(o||!t.current)return;let l=t.current;return l.addEventListener(e,i,n),()=>{l.removeEventListener(e,i,n)}},[t,e,n,o,i])}function Pc(t,e){let r=Na(t,e,"left"),n=Na(t,e,"top"),i=e.offsetWidth,o=e.offsetHeight,l=t.scrollLeft,a=t.scrollTop,{borderTopWidth:s,borderLeftWidth:c,scrollPaddingTop:d,scrollPaddingRight:f,scrollPaddingBottom:p,scrollPaddingLeft:g}=getComputedStyle(t),y=l+parseInt(c,10),h=a+parseInt(s,10),v=y+t.clientWidth,b=h+t.clientHeight,E=parseInt(d,10)||0,C=parseInt(p,10)||0,D=parseInt(f,10)||0,F=parseInt(g,10)||0;r<=l+F?l=r-parseInt(c,10)-F:r+i>v-D&&(l+=r+i-v+D),n<=h+E?a=n-parseInt(s,10)-E:n+o>b-C&&(a+=n+o-b+C),t.scrollLeft=l,t.scrollTop=a}function Na(t,e,r){const n=r==="left"?"offsetLeft":"offsetTop";let i=0;for(;e.offsetParent&&(i+=e[n],e.offsetParent!==t);){if(e.offsetParent.contains(t)){i-=t[n];break}e=e.offsetParent}return i}function Ma(t,e){if(t&&document.contains(t)){let l=document.scrollingElement||document.documentElement;if(window.getComputedStyle(l).overflow==="hidden"){let s=v5(t);for(let c of s)Pc(c,t)}else{var r;let{left:s,top:c}=t.getBoundingClientRect();t==null||(r=t.scrollIntoView)===null||r===void 0||r.call(t,{block:"nearest"});let{left:d,top:f}=t.getBoundingClientRect();if(Math.abs(s-d)>1||Math.abs(c-f)>1){var n,i,o;e==null||(i=e.containingElement)===null||i===void 0||(n=i.scrollIntoView)===null||n===void 0||n.call(i,{block:"center",inline:"center"}),(o=t.scrollIntoView)===null||o===void 0||o.call(t,{block:"nearest"})}}}}function Vo(t){return t.pointerType===""&&t.isTrusted?!0:Al()&&t.pointerType?t.type==="click"&&t.buttons===1:t.detail===0&&!t.pointerType}function y5(t){return!Al()&&t.width===0&&t.height===0||t.width===1&&t.height===1&&t.pressure===0&&t.detail===0&&t.pointerType==="mouse"}function C5(t,e,r){let n=ve(()=>{r&&r(e)});u.useEffect(()=>{var i;let o=t==null||(i=t.current)===null||i===void 0?void 0:i.form;return o==null||o.addEventListener("reset",n),()=>{o==null||o.removeEventListener("reset",n)}},[t,n])}function E5(t){const e=u.version.split(".");return parseInt(e[0],10)>=19?t:t?"true":void 0}const w5="react-aria-clear-focus",D5="react-aria-focus";function ir(t){return gt()?t.metaKey:t.ctrlKey}function x5(t,e=!0){let[r,n]=u.useState(!0),i=r&&e;return ne(()=>{if(i&&t.current&&"getAnimations"in t.current)for(let o of t.current.getAnimations())o instanceof CSSTransition&&o.cancel()},[t,i]),Tc(t,i,u.useCallback(()=>n(!1),[])),i}function S5(t,e){let[r,n]=u.useState(e?"open":"closed");switch(r){case"open":e||n("exiting");break;case"closed":case"exiting":e&&n("open");break}let i=r==="exiting";return Tc(t,i,u.useCallback(()=>{n(o=>o==="exiting"?"closed":o)},[])),i}function Tc(t,e,r){ne(()=>{if(e&&t.current){if(!("getAnimations"in t.current)){r();return}let n=t.current.getAnimations();if(n.length===0){r();return}let i=!1;return Promise.all(n.map(o=>o.finished)).then(()=>{i||Rt.flushSync(()=>{r()})}).catch(()=>{}),()=>{i=!0}}},[t,e,r])}const F5=typeof Element<"u"&&"checkVisibility"in Element.prototype;function $5(t){const e=_e(t);if(!(t instanceof e.HTMLElement)&&!(t instanceof e.SVGElement))return!1;let{display:r,visibility:n}=t.style,i=r!=="none"&&n!=="hidden"&&n!=="collapse";if(i){const{getComputedStyle:o}=t.ownerDocument.defaultView;let{display:l,visibility:a}=o(t);i=l!=="none"&&a!=="hidden"&&a!=="collapse"}return i}function P5(t,e){return!t.hasAttribute("hidden")&&!t.hasAttribute("data-react-aria-prevent-focus")&&(t.nodeName==="DETAILS"&&e&&e.nodeName!=="SUMMARY"?t.hasAttribute("open"):!0)}function kl(t,e){return F5?t.checkVisibility()&&!t.closest("[data-react-aria-prevent-focus]"):t.nodeName!=="#comment"&&$5(t)&&P5(t,e)&&(!t.parentElement||kl(t.parentElement,t))}const Il=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable^="false"])',"permission"],T5=Il.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";Il.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const A5=Il.join(':not([hidden]):not([tabindex="-1"]),');function Ac(t){return t.matches(T5)&&kl(t)&&!_c(t)}function _5(t){return t.matches(A5)&&kl(t)&&!_c(t)}function _c(t){let e=t;for(;e!=null;){if(e instanceof e.ownerDocument.defaultView.HTMLElement&&e.inert)return!0;e=e.parentElement}return!1}function yi(t,e,r){let[n,i]=u.useState(t||e),o=u.useRef(t!==void 0),l=t!==void 0;u.useEffect(()=>{let c=o.current;c!==l&&process.env.NODE_ENV!=="production"&&console.warn(`WARN: A component changed from ${c?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}.`),o.current=l},[l]);let a=l?t:n,s=u.useCallback((c,...d)=>{let f=(p,...g)=>{r&&(Object.is(a,p)||r(p,...g)),l||(a=p)};typeof c=="function"?(process.env.NODE_ENV!=="production"&&console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),i((g,...y)=>{let h=c(l?a:g,...y);return f(h,...d),l?g:h})):(l||i(c),f(c,...d))},[l,a,r]);return[a,s]}function zo(t,e=-1/0,r=1/0){return Math.min(Math.max(t,e),r)}const qr=Symbol("default");function it({values:t,children:e}){for(let[r,n]of t)e=u.createElement(r.Provider,{value:n},e);return e}function Fe(t){let{className:e,style:r,children:n,defaultClassName:i,defaultChildren:o,defaultStyle:l,values:a}=t;return u.useMemo(()=>{let s,c,d;return typeof e=="function"?s=e({...a,defaultClassName:i}):s=e,typeof r=="function"?c=r({...a,defaultStyle:l||{}}):c=r,typeof n=="function"?d=n({...a,defaultChildren:o}):n==null?d=o:d=n,{className:s??i,style:c||l?{...l,...c}:void 0,children:d??o,"data-rac":""}},[e,r,n,i,o,l,a])}function Ci(t,e){let r=u.useContext(t);if(e===null)return null;if(r&&typeof r=="object"&&"slots"in r&&r.slots){let n=e||qr;if(!r.slots[n]){let i=new Intl.ListFormat().format(Object.keys(r.slots).map(l=>`"${l}"`)),o=e?`Invalid slot "${e}".`:"A slot prop is required.";throw new Error(`${o} Valid slot names are ${i}.`)}return r.slots[n]}return r}function Xe(t,e,r){let n=Ci(r,t.slot)||{},{ref:i,...o}=n,l=nt(u.useMemo(()=>$l(e,i),[e,i])),a=ie(o,t);return"style"in o&&o.style&&"style"in t&&t.style&&(typeof o.style=="function"||typeof t.style=="function"?a.style=s=>{let c=typeof o.style=="function"?o.style(s):o.style,d={...s.defaultStyle,...c},f=typeof t.style=="function"?t.style({...s,defaultStyle:d}):t.style;return{...d,...f}}:a.style={...o.style,...t.style}),[a,l]}function Ol(t=!0){let[e,r]=u.useState(t),n=u.useRef(!1),i=u.useCallback(o=>{n.current=!0,r(!!o)},[]);return ne(()=>{n.current||r(!1)},[]),[i,e]}function k5(t){const e=/^(data-.*)$/;let r={};for(const n in t)e.test(n)||(r[n]=t[n]);return r}class Nl{get childNodes(){throw new Error("childNodes is not supported")}clone(){let e=new Nl(this.type,this.key);return e.value=this.value,e.level=this.level,e.hasChildNodes=this.hasChildNodes,e.rendered=this.rendered,e.textValue=this.textValue,e["aria-label"]=this["aria-label"],e.index=this.index,e.parentKey=this.parentKey,e.prevKey=this.prevKey,e.nextKey=this.nextKey,e.firstChildKey=this.firstChildKey,e.lastChildKey=this.lastChildKey,e.props=this.props,e.render=this.render,e.colSpan=this.colSpan,e.colIndex=this.colIndex,e}constructor(e,r){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue="",this["aria-label"]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=e,this.key=r}}class Ml{get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let e=this.firstKey!=null?this.keyMap.get(this.firstKey):void 0;for(;e;)yield e,e=e.nextKey!=null?this.keyMap.get(e.nextKey):void 0}getChildren(e){let r=this.keyMap;return{*[Symbol.iterator](){let n=r.get(e),i=(n==null?void 0:n.firstChildKey)!=null?r.get(n.firstChildKey):null;for(;i;)yield i,i=i.nextKey!=null?r.get(i.nextKey):void 0}}}getKeyBefore(e){let r=this.keyMap.get(e);if(!r)return null;if(r.prevKey!=null){for(r=this.keyMap.get(r.prevKey);r&&r.type!=="item"&&r.lastChildKey!=null;)r=this.keyMap.get(r.lastChildKey);var n;return(n=r==null?void 0:r.key)!==null&&n!==void 0?n:null}return r.parentKey}getKeyAfter(e){let r=this.keyMap.get(e);if(!r)return null;if(r.type!=="item"&&r.firstChildKey!=null)return r.firstChildKey;for(;r;){if(r.nextKey!=null)return r.nextKey;if(r.parentKey!=null)r=this.keyMap.get(r.parentKey);else return null}return null}getFirstKey(){return this.firstKey}getLastKey(){let e=this.lastKey!=null?this.keyMap.get(this.lastKey):null;for(;(e==null?void 0:e.lastChildKey)!=null;)e=this.keyMap.get(e.lastChildKey);var r;return(r=e==null?void 0:e.key)!==null&&r!==void 0?r:null}getItem(e){var r;return(r=this.keyMap.get(e))!==null&&r!==void 0?r:null}at(){throw new Error("Not implemented")}clone(){let e=this.constructor,r=new e;return r.keyMap=new Map(this.keyMap),r.firstKey=this.firstKey,r.lastKey=this.lastKey,r}addNode(e){if(this.frozen)throw new Error("Cannot add a node to a frozen collection");this.keyMap.set(e.key,e)}removeNode(e){if(this.frozen)throw new Error("Cannot remove a node to a frozen collection");this.keyMap.delete(e)}commit(e,r,n=!1){if(this.frozen)throw new Error("Cannot commit a frozen collection");this.firstKey=e,this.lastKey=r,this.frozen=!n}UNSTABLE_filter(e){let r=new Ml,n=null;for(let i of this)if(i.type==="section"&&i.hasChildNodes){let o=i.clone(),l=null;for(let a of this.getChildren(i.key))if(Ba(a,e,this,r)){let s=a.clone();l==null&&(o.firstChildKey=s.key),r.firstKey==null&&(r.firstKey=o.key),l&&l.parentKey===s.parentKey?(l.nextKey=s.key,s.prevKey=l.key):s.prevKey=null,s.nextKey=null,r.addNode(s),l=s}l&&(l.type!=="header"?(o.lastChildKey=l.key,n==null?o.prevKey=null:(n.type==="section"||n.type==="separator")&&(n.nextKey=o.key,o.prevKey=n.key),o.nextKey=null,n=o,r.addNode(o)):(r.firstKey===o.key&&(r.firstKey=null),r.removeNode(l.key)))}else if(i.type==="separator"){let o=i.clone();o.nextKey=null,(n==null?void 0:n.type)==="section"&&(n.nextKey=o.key,o.prevKey=n.key,n=o,r.addNode(o))}else{let o=i.clone();Ba(o,e,this,r)&&(r.firstKey==null&&(r.firstKey=o.key),n!=null&&n.type!=="section"&&n.type!=="separator"&&n.parentKey===o.parentKey?(n.nextKey=o.key,o.prevKey=n.key):o.prevKey=null,o.nextKey=null,r.addNode(o),n=o)}if((n==null?void 0:n.type)==="separator"&&n.nextKey===null){let i;n.prevKey!=null&&(i=r.getItem(n.prevKey),i.nextKey=null),r.removeNode(n.key),n=i}return r.lastKey=(n==null?void 0:n.key)||null,r}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1}}function Ba(t,e,r,n){if(t.type==="subdialogtrigger"||t.type==="submenutrigger"){let i=[...r.getChildren(t.key)][0];if(i&&e(i.textValue)){let o=i.clone();return n.addNode(o),!0}else return!1}else return t.type==="header"?!0:e(t.textValue)}class kc{*[Symbol.iterator](){let e=this.firstChild;for(;e;)yield e,e=e.nextSibling}get firstChild(){return this._firstChild}set firstChild(e){this._firstChild=e,this.ownerDocument.markDirty(this)}get lastChild(){return this._lastChild}set lastChild(e){this._lastChild=e,this.ownerDocument.markDirty(this)}get previousSibling(){return this._previousSibling}set previousSibling(e){this._previousSibling=e,this.ownerDocument.markDirty(this)}get nextSibling(){return this._nextSibling}set nextSibling(e){this._nextSibling=e,this.ownerDocument.markDirty(this)}get parentNode(){return this._parentNode}set parentNode(e){this._parentNode=e,this.ownerDocument.markDirty(this)}get isConnected(){var e;return((e=this.parentNode)===null||e===void 0?void 0:e.isConnected)||!1}invalidateChildIndices(e){(this._minInvalidChildIndex==null||e.index<this._minInvalidChildIndex.index)&&(this._minInvalidChildIndex=e)}updateChildIndices(){let e=this._minInvalidChildIndex;for(;e;)e.index=e.previousSibling?e.previousSibling.index+1:0,e=e.nextSibling;this._minInvalidChildIndex=null}appendChild(e){e.parentNode&&e.parentNode.removeChild(e),this.firstChild==null&&(this.firstChild=e),this.lastChild?(this.lastChild.nextSibling=e,e.index=this.lastChild.index+1,e.previousSibling=this.lastChild):(e.previousSibling=null,e.index=0),e.parentNode=this,e.nextSibling=null,this.lastChild=e,this.ownerDocument.markDirty(this),this.ownerDocument.queueUpdate()}insertBefore(e,r){if(r==null)return this.appendChild(e);e.parentNode&&e.parentNode.removeChild(e),e.nextSibling=r,e.previousSibling=r.previousSibling,e.index=r.index,this.firstChild===r?this.firstChild=e:r.previousSibling&&(r.previousSibling.nextSibling=e),r.previousSibling=e,e.parentNode=r.parentNode,this.invalidateChildIndices(r),this.ownerDocument.queueUpdate()}removeChild(e){e.parentNode!==this||!this.ownerDocument.isMounted||(e.nextSibling&&(this.invalidateChildIndices(e.nextSibling),e.nextSibling.previousSibling=e.previousSibling),e.previousSibling&&(e.previousSibling.nextSibling=e.nextSibling),this.firstChild===e&&(this.firstChild=e.nextSibling),this.lastChild===e&&(this.lastChild=e.previousSibling),e.parentNode=null,e.nextSibling=null,e.previousSibling=null,e.index=0,this.ownerDocument.markDirty(e),this.ownerDocument.queueUpdate())}addEventListener(){}removeEventListener(){}get previousVisibleSibling(){let e=this.previousSibling;for(;e&&e.isHidden;)e=e.previousSibling;return e}get nextVisibleSibling(){let e=this.nextSibling;for(;e&&e.isHidden;)e=e.nextSibling;return e}get firstVisibleChild(){let e=this.firstChild;for(;e&&e.isHidden;)e=e.nextSibling;return e}get lastVisibleChild(){let e=this.lastChild;for(;e&&e.isHidden;)e=e.previousSibling;return e}constructor(e){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this._minInvalidChildIndex=null,this.ownerDocument=e}}class dr extends kc{get index(){return this._index}set index(e){this._index=e,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof dr?this.parentNode.level+(this.node.type==="item"?1:0):0}getMutableNode(){return this.isMutated||(this.node=this.node.clone(),this.isMutated=!0),this.ownerDocument.markDirty(this),this.node}updateNode(){var e,r,n;let i=this.nextVisibleSibling,o=this.getMutableNode();o.index=this.index,o.level=this.level,o.parentKey=this.parentNode instanceof dr?this.parentNode.node.key:null;var l;o.prevKey=(l=(e=this.previousVisibleSibling)===null||e===void 0?void 0:e.node.key)!==null&&l!==void 0?l:null;var a;o.nextKey=(a=i==null?void 0:i.node.key)!==null&&a!==void 0?a:null,o.hasChildNodes=!!this.firstChild;var s;o.firstChildKey=(s=(r=this.firstVisibleChild)===null||r===void 0?void 0:r.node.key)!==null&&s!==void 0?s:null;var c;if(o.lastChildKey=(c=(n=this.lastVisibleChild)===null||n===void 0?void 0:n.node.key)!==null&&c!==void 0?c:null,(o.colSpan!=null||o.colIndex!=null)&&i){var d,f;let p=((d=o.colIndex)!==null&&d!==void 0?d:o.index)+((f=o.colSpan)!==null&&f!==void 0?f:1);if(p!==i.node.colIndex){let g=i.getMutableNode();g.colIndex=p}}}setProps(e,r,n,i){let o=this.getMutableNode(),{value:l,textValue:a,id:s,...c}=e;if(c.ref=r,o.props=c,o.rendered=n,o.render=i,o.value=l,o.textValue=a||(typeof c.children=="string"?c.children:"")||e["aria-label"]||"",s!=null&&s!==o.key){if(this.hasSetProps)throw new Error("Cannot change the id of an item");o.key=s}c.colSpan!=null&&(o.colSpan=c.colSpan),this.hasSetProps=!0,this.ownerDocument.queueUpdate()}get style(){let e=this;return{get display(){return e.isHidden?"none":""},set display(r){let n=r==="none";if(e.isHidden!==n){var i,o;(((i=e.parentNode)===null||i===void 0?void 0:i.firstVisibleChild)===e||((o=e.parentNode)===null||o===void 0?void 0:o.lastVisibleChild)===e)&&e.ownerDocument.markDirty(e.parentNode);let l=e.previousVisibleSibling,a=e.nextVisibleSibling;l&&e.ownerDocument.markDirty(l),a&&e.ownerDocument.markDirty(a),e.isHidden=n,e.ownerDocument.markDirty(e)}}}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}constructor(e,r){super(r),this.nodeType=8,this.isMutated=!0,this._index=0,this.hasSetProps=!1,this.isHidden=!1,this.node=new Nl(e,`react-aria-${++r.nodeId}`)}}class I5 extends kc{get isConnected(){return this.isMounted}createElement(e){return new dr(e,this)}getMutableCollection(){return this.nextCollection||(this.nextCollection=this.collection.clone()),this.nextCollection}markDirty(e){this.dirtyNodes.add(e)}addNode(e){if(e.isHidden)return;let r=this.getMutableCollection();if(!r.getItem(e.node.key))for(let n of e)this.addNode(n);r.addNode(e.node)}removeNode(e){for(let n of e)this.removeNode(n);this.getMutableCollection().removeNode(e.node.key)}getCollection(){return this.inSubscription?this.collection.clone():(this.queuedRender=!1,this.updateCollection(),this.collection)}updateCollection(){for(let o of this.dirtyNodes)o instanceof dr&&(!o.isConnected||o.isHidden)?this.removeNode(o):o.updateChildIndices();for(let o of this.dirtyNodes)o instanceof dr&&(o.isConnected&&!o.isHidden&&(o.updateNode(),this.addNode(o)),o.isMutated=!1);if(this.dirtyNodes.clear(),this.nextCollection){var e,r,n,i;this.nextCollection.commit((n=(e=this.firstVisibleChild)===null||e===void 0?void 0:e.node.key)!==null&&n!==void 0?n:null,(i=(r=this.lastVisibleChild)===null||r===void 0?void 0:r.node.key)!==null&&i!==void 0?i:null,this.isSSR),this.isSSR||(this.collection=this.nextCollection,this.nextCollection=null)}}queueUpdate(){if(!(this.dirtyNodes.size===0||this.queuedRender)){this.queuedRender=!0,this.inSubscription=!0;for(let e of this.subscriptions)e();this.inSubscription=!1}}subscribe(e){return this.subscriptions.add(e),()=>this.subscriptions.delete(e)}resetAfterSSR(){this.isSSR&&(this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0)}constructor(e){super(null),this.nodeType=11,this.ownerDocument=this,this.dirtyNodes=new Set,this.isSSR=!1,this.nodeId=0,this.nodesByProps=new WeakMap,this.isMounted=!0,this.nextCollection=null,this.subscriptions=new Set,this.queuedRender=!1,this.inSubscription=!1,this.collection=e,this.nextCollection=e}}function Ic(t){let{children:e,items:r,idScope:n,addIdAndValue:i,dependencies:o=[]}=t,l=u.useMemo(()=>new WeakMap,o);return u.useMemo(()=>{if(r&&typeof e=="function"){let c=[];for(let d of r){let f=l.get(d);if(!f){f=e(d);var a,s;let p=(s=(a=f.props.id)!==null&&a!==void 0?a:d.key)!==null&&s!==void 0?s:d.id;if(p==null)throw new Error("Could not determine key for item");n&&(p=n+":"+p),f=u.cloneElement(f,i?{key:p,id:p,value:d}:{key:p}),l.set(d,f)}c.push(f)}return c}else if(typeof e!="function")return e},[e,r,l,n,i])}if(typeof HTMLTemplateElement<"u"){const t=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild").get;Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.dataset.reactAriaHidden?this.content.firstChild:t.call(this)}})}const Gn=u.createContext(!1);function O5(t){if(u.useContext(Gn))return u.createElement(u.Fragment,null,t.children);let r=u.createElement(Gn.Provider,{value:!0},t.children);return u.createElement("template",{"data-react-aria-hidden":!0},r)}function Bl(t){let e=(r,n)=>u.useContext(Gn)?null:t(r,n);return e.displayName=t.displayName||t.name,u.forwardRef(e)}function N5(){return u.useContext(Gn)}function Rl(t){let e=t;return e.nativeEvent=t,e.isDefaultPrevented=()=>e.defaultPrevented,e.isPropagationStopped=()=>e.cancelBubble,e.persist=()=>{},e}function Oc(t,e){Object.defineProperty(t,"target",{value:e}),Object.defineProperty(t,"currentTarget",{value:e})}function Nc(t){let e=u.useRef({isFocused:!1,observer:null});ne(()=>{const n=e.current;return()=>{n.observer&&(n.observer.disconnect(),n.observer=null)}},[]);let r=ve(n=>{t==null||t(n)});return u.useCallback(n=>{if(n.target instanceof HTMLButtonElement||n.target instanceof HTMLInputElement||n.target instanceof HTMLTextAreaElement||n.target instanceof HTMLSelectElement){e.current.isFocused=!0;let i=n.target,o=l=>{if(e.current.isFocused=!1,i.disabled){let a=Rl(l);r(a)}e.current.observer&&(e.current.observer.disconnect(),e.current.observer=null)};i.addEventListener("focusout",o,{once:!0}),e.current.observer=new MutationObserver(()=>{if(e.current.isFocused&&i.disabled){var l;(l=e.current.observer)===null||l===void 0||l.disconnect();let a=i===document.activeElement?null:document.activeElement;i.dispatchEvent(new FocusEvent("blur",{relatedTarget:a})),i.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:a}))}}),e.current.observer.observe(i,{attributes:!0,attributeFilter:["disabled"]})}},[r])}let qn=!1;function Ra(t){for(;t&&!Ac(t);)t=t.parentElement;let e=_e(t),r=e.document.activeElement;if(!r||r===t)return;qn=!0;let n=!1,i=d=>{(d.target===r||n)&&d.stopImmediatePropagation()},o=d=>{(d.target===r||n)&&(d.stopImmediatePropagation(),!t&&!n&&(n=!0,Ve(r),s()))},l=d=>{(d.target===t||n)&&d.stopImmediatePropagation()},a=d=>{(d.target===t||n)&&(d.stopImmediatePropagation(),n||(n=!0,Ve(r),s()))};e.addEventListener("blur",i,!0),e.addEventListener("focusout",o,!0),e.addEventListener("focusin",a,!0),e.addEventListener("focus",l,!0);let s=()=>{cancelAnimationFrame(c),e.removeEventListener("blur",i,!0),e.removeEventListener("focusout",o,!0),e.removeEventListener("focusin",a,!0),e.removeEventListener("focus",l,!0),qn=!1,n=!1},c=requestAnimationFrame(s);return s}let ar="default",Uo="",On=new WeakMap;function La(t){if(gi()){if(ar==="default"){const e=le(t);Uo=e.documentElement.style.webkitUserSelect,e.documentElement.style.webkitUserSelect="none"}ar="disabled"}else if(t instanceof HTMLElement||t instanceof SVGElement){let e="userSelect"in t.style?"userSelect":"webkitUserSelect";On.set(t,t.style[e]),t.style[e]="none"}}function Ji(t){if(gi()){if(ar!=="disabled")return;ar="restoring",setTimeout(()=>{Sc(()=>{if(ar==="restoring"){const e=le(t);e.documentElement.style.webkitUserSelect==="none"&&(e.documentElement.style.webkitUserSelect=Uo||""),Uo="",ar="default"}})},300)}else if((t instanceof HTMLElement||t instanceof SVGElement)&&t&&On.has(t)){let e=On.get(t),r="userSelect"in t.style?"userSelect":"webkitUserSelect";t.style[r]==="none"&&(t.style[r]=e),t.getAttribute("style")===""&&t.removeAttribute("style"),On.delete(t)}}const Ll=u.createContext({register:()=>{}});Ll.displayName="PressResponderContext";function M5(t,e){return e.get?e.get.call(t):e.value}function Mc(t,e,r){if(!e.has(t))throw new TypeError("attempted to "+r+" private field on non-instance");return e.get(t)}function B5(t,e){var r=Mc(t,e,"get");return M5(t,r)}function R5(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function L5(t,e,r){R5(t,e),e.set(t,r)}function K5(t,e,r){if(e.set)e.set.call(t,r);else{if(!e.writable)throw new TypeError("attempted to set read only private field");e.value=r}}function Ka(t,e,r){var n=Mc(t,e,"set");return K5(t,n,r),r}function j5(t){let e=u.useContext(Ll);if(e){let{register:r,...n}=e;t=ie(n,t),r()}return Fc(e,t.ref),t}var gn=new WeakMap;class vn{continuePropagation(){Ka(this,gn,!1)}get shouldStopPropagation(){return B5(this,gn)}constructor(e,r,n,i){L5(this,gn,{writable:!0,value:void 0}),Ka(this,gn,!0);var o;let l=(o=i==null?void 0:i.target)!==null&&o!==void 0?o:n.currentTarget;const a=l==null?void 0:l.getBoundingClientRect();let s,c=0,d,f=null;n.clientX!=null&&n.clientY!=null&&(d=n.clientX,f=n.clientY),a&&(d!=null&&f!=null?(s=d-a.left,c=f-a.top):(s=a.width/2,c=a.height/2)),this.type=e,this.pointerType=r,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey,this.x=s,this.y=c}}const ja=Symbol("linkClicked"),Ha="react-aria-pressable-style",Va="data-react-aria-pressable";function Ei(t){let{onPress:e,onPressChange:r,onPressStart:n,onPressEnd:i,onPressUp:o,onClick:l,isDisabled:a,isPressed:s,preventFocusOnPress:c,shouldCancelOnPointerExit:d,allowTextSelectionOnPress:f,ref:p,...g}=j5(t),[y,h]=u.useState(!1),v=u.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:b,removeAllGlobalListeners:E}=bi(),C=ve((x,N)=>{let U=v.current;if(a||U.didFirePressStart)return!1;let k=!0;if(U.isTriggeringEvent=!0,n){let Z=new vn("pressstart",N,x);n(Z),k=Z.shouldStopPropagation}return r&&r(!0),U.isTriggeringEvent=!1,U.didFirePressStart=!0,h(!0),k}),D=ve((x,N,U=!0)=>{let k=v.current;if(!k.didFirePressStart)return!1;k.didFirePressStart=!1,k.isTriggeringEvent=!0;let Z=!0;if(i){let A=new vn("pressend",N,x);i(A),Z=A.shouldStopPropagation}if(r&&r(!1),h(!1),e&&U&&!a){let A=new vn("press",N,x);e(A),Z&&(Z=A.shouldStopPropagation)}return k.isTriggeringEvent=!1,Z}),F=ve((x,N)=>{let U=v.current;if(a)return!1;if(o){U.isTriggeringEvent=!0;let k=new vn("pressup",N,x);return o(k),U.isTriggeringEvent=!1,k.shouldStopPropagation}return!0}),w=ve(x=>{let N=v.current;if(N.isPressed&&N.target){N.didFirePressStart&&N.pointerType!=null&&D(yt(N.target,x),N.pointerType,!1),N.isPressed=!1,N.isOverTarget=!1,N.activePointerId=null,N.pointerType=null,E(),f||Ji(N.target);for(let U of N.disposables)U();N.disposables=[]}}),S=ve(x=>{d&&w(x)}),M=ve(x=>{l==null||l(x)}),_=ve((x,N)=>{if(l){let U=new MouseEvent("click",x);Oc(U,N),l(Rl(U))}}),V=u.useMemo(()=>{let x=v.current,N={onKeyDown(k){if(Qi(k.nativeEvent,k.currentTarget)&&ue(k.currentTarget,oe(k.nativeEvent))){var Z;Wa(oe(k.nativeEvent),k.key)&&k.preventDefault();let A=!0;if(!x.isPressed&&!k.repeat){x.target=k.currentTarget,x.isPressed=!0,x.pointerType="keyboard",A=C(k,"keyboard");let O=k.currentTarget,z=R=>{Qi(R,O)&&!R.repeat&&ue(O,oe(R))&&x.target&&F(yt(x.target,R),"keyboard")};b(le(k.currentTarget),"keyup",pt(z,U),!0)}A&&k.stopPropagation(),k.metaKey&&gt()&&((Z=x.metaKeyEvents)===null||Z===void 0||Z.set(k.key,k.nativeEvent))}else k.key==="Meta"&&(x.metaKeyEvents=new Map)},onClick(k){if(!(k&&!ue(k.currentTarget,oe(k.nativeEvent)))&&k&&k.button===0&&!x.isTriggeringEvent&&!At.isOpening){let Z=!0;if(a&&k.preventDefault(),!x.ignoreEmulatedMouseEvents&&!x.isPressed&&(x.pointerType==="virtual"||Vo(k.nativeEvent))){let A=C(k,"virtual"),O=F(k,"virtual"),z=D(k,"virtual");M(k),Z=A&&O&&z}else if(x.isPressed&&x.pointerType!=="keyboard"){let A=x.pointerType||k.nativeEvent.pointerType||"virtual",O=F(yt(k.currentTarget,k),A),z=D(yt(k.currentTarget,k),A,!0);Z=O&&z,x.isOverTarget=!1,M(k),w(k)}x.ignoreEmulatedMouseEvents=!1,Z&&k.stopPropagation()}}},U=k=>{var Z;if(x.isPressed&&x.target&&Qi(k,x.target)){var A;Wa(oe(k),k.key)&&k.preventDefault();let z=oe(k),R=ue(x.target,oe(k));D(yt(x.target,k),"keyboard",R),R&&_(k,x.target),E(),k.key!=="Enter"&&Kl(x.target)&&ue(x.target,z)&&!k[ja]&&(k[ja]=!0,At(x.target,k,!1)),x.isPressed=!1,(A=x.metaKeyEvents)===null||A===void 0||A.delete(k.key)}else if(k.key==="Meta"&&(!((Z=x.metaKeyEvents)===null||Z===void 0)&&Z.size)){var O;let z=x.metaKeyEvents;x.metaKeyEvents=void 0;for(let R of z.values())(O=x.target)===null||O===void 0||O.dispatchEvent(new KeyboardEvent("keyup",R))}};if(typeof PointerEvent<"u"){N.onPointerDown=A=>{if(A.button!==0||!ue(A.currentTarget,oe(A.nativeEvent)))return;if(y5(A.nativeEvent)){x.pointerType="virtual";return}x.pointerType=A.pointerType;let O=!0;if(!x.isPressed){x.isPressed=!0,x.isOverTarget=!0,x.activePointerId=A.pointerId,x.target=A.currentTarget,f||La(x.target),O=C(A,x.pointerType);let z=oe(A.nativeEvent);"releasePointerCapture"in z&&z.releasePointerCapture(A.pointerId),b(le(A.currentTarget),"pointerup",k,!1),b(le(A.currentTarget),"pointercancel",Z,!1)}O&&A.stopPropagation()},N.onMouseDown=A=>{if(ue(A.currentTarget,oe(A.nativeEvent))&&A.button===0){if(c){let O=Ra(A.target);O&&x.disposables.push(O)}A.stopPropagation()}},N.onPointerUp=A=>{!ue(A.currentTarget,oe(A.nativeEvent))||x.pointerType==="virtual"||A.button===0&&!x.isPressed&&F(A,x.pointerType||A.pointerType)},N.onPointerEnter=A=>{A.pointerId===x.activePointerId&&x.target&&!x.isOverTarget&&x.pointerType!=null&&(x.isOverTarget=!0,C(yt(x.target,A),x.pointerType))},N.onPointerLeave=A=>{A.pointerId===x.activePointerId&&x.target&&x.isOverTarget&&x.pointerType!=null&&(x.isOverTarget=!1,D(yt(x.target,A),x.pointerType,!1),S(A))};let k=A=>{if(A.pointerId===x.activePointerId&&x.isPressed&&A.button===0&&x.target){if(ue(x.target,oe(A))&&x.pointerType!=null){let O=!1,z=setTimeout(()=>{x.isPressed&&x.target instanceof HTMLElement&&(O?w(A):(Ve(x.target),x.target.click()))},80);b(A.currentTarget,"click",()=>O=!0,!0),x.disposables.push(()=>clearTimeout(z))}else w(A);x.isOverTarget=!1}},Z=A=>{w(A)};N.onDragStart=A=>{ue(A.currentTarget,oe(A.nativeEvent))&&w(A)}}else if(process.env.NODE_ENV==="test"){N.onMouseDown=A=>{if(A.button!==0||!ue(A.currentTarget,oe(A.nativeEvent)))return;if(x.ignoreEmulatedMouseEvents){A.stopPropagation();return}if(x.isPressed=!0,x.isOverTarget=!0,x.target=A.currentTarget,x.pointerType=Vo(A.nativeEvent)?"virtual":"mouse",Rt.flushSync(()=>C(A,x.pointerType))&&A.stopPropagation(),c){let z=Ra(A.target);z&&x.disposables.push(z)}b(le(A.currentTarget),"mouseup",k,!1)},N.onMouseEnter=A=>{if(!ue(A.currentTarget,oe(A.nativeEvent)))return;let O=!0;x.isPressed&&!x.ignoreEmulatedMouseEvents&&x.pointerType!=null&&(x.isOverTarget=!0,O=C(A,x.pointerType)),O&&A.stopPropagation()},N.onMouseLeave=A=>{if(!ue(A.currentTarget,oe(A.nativeEvent)))return;let O=!0;x.isPressed&&!x.ignoreEmulatedMouseEvents&&x.pointerType!=null&&(x.isOverTarget=!1,O=D(A,x.pointerType,!1),S(A)),O&&A.stopPropagation()},N.onMouseUp=A=>{ue(A.currentTarget,oe(A.nativeEvent))&&!x.ignoreEmulatedMouseEvents&&A.button===0&&!x.isPressed&&F(A,x.pointerType||"mouse")};let k=A=>{if(A.button===0){if(x.ignoreEmulatedMouseEvents){x.ignoreEmulatedMouseEvents=!1;return}x.target&&x.target.contains(A.target)&&x.pointerType!=null||w(A),x.isOverTarget=!1}};N.onTouchStart=A=>{if(!ue(A.currentTarget,oe(A.nativeEvent)))return;let O=H5(A.nativeEvent);if(!O)return;x.activePointerId=O.identifier,x.ignoreEmulatedMouseEvents=!0,x.isOverTarget=!0,x.isPressed=!0,x.target=A.currentTarget,x.pointerType="touch",f||La(x.target),C(ot(x.target,A),x.pointerType)&&A.stopPropagation(),b(_e(A.currentTarget),"scroll",Z,!0)},N.onTouchMove=A=>{if(!ue(A.currentTarget,oe(A.nativeEvent)))return;if(!x.isPressed){A.stopPropagation();return}let O=za(A.nativeEvent,x.activePointerId),z=!0;O&&Ua(O,A.currentTarget)?!x.isOverTarget&&x.pointerType!=null&&(x.isOverTarget=!0,z=C(ot(x.target,A),x.pointerType)):x.isOverTarget&&x.pointerType!=null&&(x.isOverTarget=!1,z=D(ot(x.target,A),x.pointerType,!1),S(ot(x.target,A))),z&&A.stopPropagation()},N.onTouchEnd=A=>{if(!ue(A.currentTarget,oe(A.nativeEvent)))return;if(!x.isPressed){A.stopPropagation();return}let O=za(A.nativeEvent,x.activePointerId),z=!0;O&&Ua(O,A.currentTarget)&&x.pointerType!=null?(F(ot(x.target,A),x.pointerType),z=D(ot(x.target,A),x.pointerType),_(A.nativeEvent,x.target)):x.isOverTarget&&x.pointerType!=null&&(z=D(ot(x.target,A),x.pointerType,!1)),z&&A.stopPropagation(),x.isPressed=!1,x.activePointerId=null,x.isOverTarget=!1,x.ignoreEmulatedMouseEvents=!0,x.target&&!f&&Ji(x.target),E()},N.onTouchCancel=A=>{ue(A.currentTarget,oe(A.nativeEvent))&&(A.stopPropagation(),x.isPressed&&w(ot(x.target,A)))};let Z=A=>{x.isPressed&&ue(oe(A),x.target)&&w({currentTarget:x.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};N.onDragStart=A=>{ue(A.currentTarget,oe(A.nativeEvent))&&w(A)}}return N},[b,a,c,E,f,w,S,D,C,F,M,_]);return u.useEffect(()=>{if(!p||process.env.NODE_ENV==="test")return;const x=le(p.current);if(!x||!x.head||x.getElementById(Ha))return;const N=x.createElement("style");N.id=Ha,N.textContent=`
22
+ <%s key={someKey} {...props} />`,A,W,q,W),R[W+A]=!0)}if(W=null,$!==void 0&&(r($),W=""+$),l(N)&&(r(N.key),W=""+N.key),"key"in N){$={};for(var Y in N)Y!=="key"&&($[Y]=N[Y])}else $=N;return W&&a($,typeof I=="function"?I.displayName||I.name||"Unknown":I),c(I,W,L,B,i(),$,j,V)}function f(I){typeof I=="object"&&I!==null&&I.$$typeof===g&&I._store&&(I._store.validated=1)}var p=u,g=Symbol.for("react.transitional.element"),y=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),C=Symbol.for("react.consumer"),E=Symbol.for("react.context"),F=Symbol.for("react.forward_ref"),D=Symbol.for("react.suspense"),x=Symbol.for("react.suspense_list"),S=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),K=Symbol.for("react.activity"),H=Symbol.for("react.client.reference"),w=p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,M=Object.prototype.hasOwnProperty,Z=Array.isArray,_=console.createTask?console.createTask:function(){return null};p={react_stack_bottom_frame:function(I){return I()}};var U,P={},k=p.react_stack_bottom_frame.bind(p,o)(),z=_(n(o)),R={};Pr.Fragment=h,Pr.jsx=function(I,N,$,A,B){var L=1e4>w.recentlyCreatedOwnerStacks++;return d(I,N,$,!1,A,B,L?Error("react-stack-top-frame"):k,L?_(n(I)):z)},Pr.jsxs=function(I,N,$,A,B){var L=1e4>w.recentlyCreatedOwnerStacks++;return d(I,N,$,!0,A,B,L?Error("react-stack-top-frame"):k,L?_(n(I)):z)}}()),Pr}var Ta;function Sf(){return Ta||(Ta=1,process.env.NODE_ENV==="production"?fn.exports=Df():fn.exports=xf()),fn.exports}var b=Sf();const Ff={share:{copyLink:"Copy link",ok:"Ok",shareButton:"Share",modalTitle:"Share folder",modalAriaLabel:"Share modal",access:{delete:"Remove access"},cannot_view:{message:"You can view this item but you need additional access to view its members or modify the settings."},invitations:{title:"Pending invitations"},members:{title_plural:"Shared between {count} people",title_singular:"Shared between {count} person",load_more:"Show more "},item:{add:"Add"},search:{placeholder:"Search user",group_name:"Search user result"},user:{no_result:"No result",placeholder:"Search user"},linkSettings:{title:"Link settings",reach:{choices:{public:{title:"Public",description:"Anyone with the link can access the document"},authenticated:{title:"Authenticated",description:"Only authenticated users can access the document"},restricted:{title:"Private",description:"Only users of the space can access the document"}}},role:{choices:{reader:{title:"Reader"},editor:{title:"Editor"}}}}},laGaufre:{label:"Digital LaSuite services",closeLabel:"Close the menu",viewMoreLabel:"View more",viewLessLabel:"View less",loadingText:"Loading…",newWindowLabelSuffix:" (new window)",headerLabel:"About"},userMenu:{term_of_service:"Terms of service",manage_account:"Manage account",open:"Open user menu",close:"Close user menu",accountSettings:"Account settings",logout:"Logout",dialogTitle:"User menu"},treeView:{viewMore:"Load more elements"},footer:{logo:{alt:"Logo of the French government"}}},$f={components:Ff},Pf={share:{copyLink:"Copier le lien",ok:"Ok",modalTitle:"Partage",modalAriaLabel:"Modale de partage",shareButton:"Partager",access:{delete:"Retirer l'accès"},cannot_view:{message:"Vous pouvez voir cet élément mais vous avez besoin d'un accès supplémentaire pour voir ses membres ou modifier les paramètres."},invitations:{title:"Invitations en attente"},members:{title_plural:"Partagé entre {count} personnes",title_singular:"Partagé entre {count} personne",load_more:"Afficher plus"},item:{add:"Ajouter"},search:{placeholder:"Rechercher un utilisateur",group_name:"Résultat de la recherche d'utilisateur"},user:{no_result:"Aucun résultat",placeholder:"Rechercher un utilisateur"},linkSettings:{title:"Paramètres du lien",reach:{choices:{public:{title:"Public",description:"N'importe qui avec le lien peut accéder au document"},restricted:{title:"Privé",description:"Seulement les utilisateurs de l'espace peuvent y avoir accès"},authenticated:{title:"Authenticated",description:"Seuls les utilisateurs authentifiés peuvent accéder au document"}}},role:{choices:{reader:{title:"Lecture seule"},editor:{title:"Édition"}}}}},laGaufre:{label:"Services de la Suite numérique",closeLabel:"Fermer le menu",loadingText:"Chargement…",viewMoreLabel:"Voir plus",viewLessLabel:"Voir moins",newWindowLabelSuffix:" (nouvelle fenêtre)",headerLabel:"À propos"},userMenu:{term_of_service:"Conditions d'utilisation",open:"Ouvrir le menu utilisateur",close:"Fermer le menu utilisateur",accountSettings:"Paramètres du compte",logout:"Déconnexion",dialogTitle:"Menu utilisateur",manage_account:"Gérer le compte"},treeView:{viewMore:"Charger plus d'éléments"},footer:{logo:{alt:"Logo du gouvernement français"}}},Af={components:Pf};function Gi(t){return t&&typeof t=="object"&&!Array.isArray(t)}function br(t,...e){if(!e.length)return t;const r=e.shift();if(Gi(t)&&Gi(r))for(const n in r)Gi(r[n])?(t[n]||Object.assign(t,{[n]:{}}),br(t[n],r[n])):Object.assign(t,{[n]:r[n]});return br(t,...e)}const y2={"en-US":br(X.enUS,$f),"fr-FR":br(X.frFR,Af)},Tf=t=>b.jsx(X.CunninghamProvider,{customLocales:y2,...t}),_f="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='192'%20height='48'%20fill='none'%3e%3cpath%20fill='%23fff'%20d='m60.986%2021.454%201.156-1.076c.833%201.059%201.819%201.605%202.94%201.605%201.293%200%202.04-.82%202.04-1.912%200-2.56-5.626-2.253-5.626-6.059%200-1.74%201.428-3.209%203.45-3.209%201.684%200%202.908.768%203.792%201.946l-1.19%201.041c-.697-1.007-1.547-1.553-2.584-1.553-1.105%200-1.836.751-1.836%201.74%200%202.578%205.627%202.254%205.627%206.077%200%202.031-1.581%203.363-3.655%203.363-1.768%200-3.077-.666-4.114-1.963Zm10.817-5.735H70.46l1.445-4.574h1.649l-1.751%204.574Zm4.818-3.465c-.56%200-1.02-.46-1.02-1.024a1.026%201.026%200%200%201%201.02-1.007c.56%200%201.003.46%201.003%201.007a1.01%201.01%200%200%201-1.003%201.024Zm-.73%2010.838V14.49h1.444v8.602H75.89Zm3.767-4.3c0-2.51%201.717-4.643%204.403-4.643%201.24%200%202.26.46%203.043%201.297V10.29h1.445v12.801h-1.445v-.955c-.782.836-1.802%201.297-3.043%201.297-2.686%200-4.403-2.134-4.403-4.643Zm1.53%200c0%201.825%201.224%203.276%203.043%203.276%201.19%200%202.21-.58%202.873-1.604v-3.345c-.68-1.042-1.7-1.605-2.873-1.605-1.82%200-3.043%201.45-3.043%203.277Zm18.023%202.884c-.8%201.075-2.074%201.758-3.672%201.758-2.89%200-4.675-2.134-4.675-4.643%200-2.611%201.666-4.642%204.318-4.642%202.329%200%203.842%201.587%203.842%203.738%200%20.34-.051.682-.102.921H92.36v.034c0%201.895%201.292%203.277%203.213%203.277a3.143%203.143%200%200%200%202.567-1.28l1.07.837Zm-4.012-6.281c-1.394%200-2.38.785-2.72%202.27h5.083c-.051-1.246-.952-2.27-2.363-2.27Zm6.274%207.697V14.49h1.445v.973c.697-.768%201.581-1.314%202.856-1.314%201.921%200%203.349%201.297%203.349%203.738v5.205h-1.462v-5.154c0-1.536-.85-2.424-2.176-2.424-1.241%200-2.023.717-2.567%201.622v5.956h-1.445Zm11.052-2.884V15.82h-1.615V14.49h1.615v-2.15h1.462v2.15h2.975v1.331h-2.975v4.387c0%201.348.68%201.724%201.717%201.724.561%200%20.952-.069%201.275-.205v1.297c-.408.17-.867.239-1.479.239-1.904%200-2.975-.956-2.975-3.055Zm7.377-7.954c-.561%200-1.02-.46-1.02-1.024a1.024%201.024%200%200%201%201.02-1.007c.561%200%201.003.46%201.003%201.007a1.01%201.01%200%200%201-1.003%201.024Zm-.731%2010.838V14.49h1.445v8.602h-1.445Zm3.377-8.602h1.615v-1.058c0-1.844%201.207-3.14%203.043-3.14.952%200%201.7.34%202.21.835l-.901%201.059a1.638%201.638%200%200%200-1.292-.58c-.935%200-1.598.682-1.598%201.792v1.092h2.975v1.331h-2.975v7.271h-1.462v-7.27h-1.615V14.49Zm8.543-2.236c-.561%200-1.02-.46-1.02-1.024a1.024%201.024%200%200%201%201.02-1.007c.561%200%201.003.46%201.003%201.007a1.01%201.01%200%200%201-1.003%201.024Zm-.731%2010.838V14.49h1.445v8.602h-1.445Zm12.115-1.416c-.799%201.075-2.074%201.758-3.672%201.758-2.89%200-4.675-2.134-4.675-4.643%200-2.611%201.666-4.642%204.318-4.642%202.329%200%203.842%201.587%203.842%203.738%200%20.34-.051.682-.102.921h-6.562v.034c0%201.895%201.292%203.277%203.213%203.277a3.143%203.143%200%200%200%202.567-1.28l1.071.837Zm-4.012-6.281c-1.394%200-2.38.785-2.72%202.27h5.083c-.051-1.246-.952-2.27-2.363-2.27Zm6.274%207.697V14.49h1.445v1.075c.629-.75%201.411-1.246%202.499-1.246.272%200%20.527.034.731.103v1.502a3.1%203.1%200%200%200-.85-.12c-1.122%200-1.853.58-2.38%201.451v5.837h-1.445Zm13.685.342c-1.683%200-2.822-.956-2.822-2.458%200-1.331.986-2.287%202.822-2.577l2.873-.478v-.598c0-1.195-.85-1.877-2.057-1.877-1.003%200-1.836.444-2.329%201.195l-1.088-.837c.748-1.024%201.955-1.655%203.451-1.655%202.176%200%203.468%201.28%203.468%203.174v5.77h-1.445V22c-.646.905-1.717%201.434-2.873%201.434Zm-1.377-2.51c0%20.735.629%201.298%201.615%201.298%201.139%200%202.04-.598%202.635-1.588v-1.638l-2.533.444c-1.19.188-1.717.734-1.717%201.485Zm7.252-6.434h1.564l2.737%207.083%202.737-7.083h1.564l-3.349%208.602h-1.904l-3.349-8.602Zm17.856%207.186c-.799%201.075-2.074%201.758-3.672%201.758-2.89%200-4.675-2.134-4.675-4.643%200-2.611%201.666-4.642%204.318-4.642%202.329%200%203.842%201.587%203.842%203.738%200%20.34-.051.682-.102.921h-6.562v.034c0%201.895%201.292%203.277%203.213%203.277a3.143%203.143%200%200%200%202.567-1.28l1.071.837Zm-4.012-6.281c-1.394%200-2.38.785-2.72%202.27h5.083c-.051-1.246-.952-2.27-2.363-2.27Zm10.185%206.673a2.891%202.891%200%200%200%202.431-1.28l1.156.888c-.799%201.075-2.04%201.758-3.604%201.758-2.839%200-4.658-2.134-4.658-4.643s1.819-4.642%204.658-4.642c1.547%200%202.805.7%203.604%201.758l-1.156.887a2.917%202.917%200%200%200-2.448-1.28c-1.836%200-3.145%201.45-3.145%203.277%200%201.843%201.309%203.277%203.162%203.277ZM61.854%2040.161V27.51h4.158c2.772%200%204.464%201.428%204.464%203.777%200%202.331-1.692%203.76-4.464%203.76H64.41v5.114h-2.556Zm4.266-10.464h-1.71v3.162h1.71c1.08%200%201.728-.578%201.728-1.608%200-.958-.648-1.554-1.728-1.554Zm6.129%2010.464v-9.109h2.286v.904c.594-.615%201.368-1.084%202.394-1.084.306%200%20.576.054.792.126v2.404a3.922%203.922%200%200%200-1.008-.127c-1.116%200-1.836.614-2.178%201.175v5.71h-2.286Zm11.386-9.47c2.952%200%204.968%202.186%204.968%204.915%200%202.73-2.016%204.916-4.968%204.916s-4.968-2.187-4.968-4.916c0-2.729%202.016-4.915%204.968-4.915Zm.036%207.662c1.458%200%202.556-1.174%202.556-2.747%200-1.59-1.098-2.747-2.556-2.747-1.512%200-2.628%201.157-2.628%202.747%200%201.59%201.116%202.747%202.628%202.747Zm13.172-.235c1.44%200%202.574-.704%203.294-1.735l2.016%201.555c-1.152%201.572-3.024%202.584-5.31%202.584-3.978%200-6.696-3.072-6.696-6.687%200-3.614%202.718-6.686%206.696-6.686%202.286%200%204.158%201.03%205.31%202.566l-2.016%201.572c-.72-1.03-1.854-1.735-3.294-1.735-2.376%200-4.068%201.862-4.068%204.283%200%202.422%201.692%204.283%204.068%204.283Zm11.366-7.427c2.952%200%204.968%202.186%204.968%204.915%200%202.73-2.016%204.916-4.968%204.916s-4.968-2.187-4.968-4.916c0-2.729%202.016-4.915%204.968-4.915Zm.036%207.662c1.458%200%202.556-1.174%202.556-2.747%200-1.59-1.098-2.747-2.556-2.747-1.512%200-2.628%201.157-2.628%202.747%200%201.59%201.116%202.747%202.628%202.747Zm7.018%201.808v-9.109h2.286v.723c.63-.614%201.476-1.084%202.682-1.084%201.962%200%203.528%201.355%203.528%204.048v5.422h-2.322v-5.332c0-1.21-.666-1.97-1.782-1.97-1.152%200-1.764.777-2.106%201.356v5.946h-2.286Zm11.091%200v-9.109h2.286v.723c.63-.614%201.476-1.084%202.682-1.084%201.962%200%203.528%201.355%203.528%204.048v5.422h-2.322v-5.332c0-1.21-.666-1.97-1.782-1.97-1.152%200-1.764.777-2.106%201.356v5.946h-2.286Zm19.444-1.482c-.846%201.138-2.25%201.843-3.96%201.843-3.222%200-5.04-2.259-5.04-4.916%200-2.692%201.692-4.915%204.662-4.915%202.52%200%204.176%201.698%204.176%204.084%200%20.506-.072.994-.144%201.301h-6.354c.144%201.5%201.188%202.386%202.736%202.386.99%200%201.8-.434%202.286-1.085l1.638%201.302Zm-4.338-6.073c-1.116%200-1.872.543-2.178%201.735h4.086c-.036-.903-.702-1.735-1.908-1.735Zm10.696%205.747c.882%200%201.584-.433%202.016-1.066l1.818%201.392c-.846%201.12-2.178%201.843-3.834%201.843-3.132%200-5.004-2.259-5.004-4.916%200-2.656%201.872-4.915%205.004-4.915%201.656%200%202.988.723%203.834%201.843l-1.818%201.392c-.432-.633-1.116-1.067-2.052-1.067-1.494%200-2.592%201.157-2.592%202.747%200%201.609%201.098%202.747%202.628%202.747Zm6.204-1.518V33.15h-1.692v-2.097h1.692v-2.277h2.304v2.277h2.772v2.097h-2.772v3.686c0%201.012.54%201.41%201.44%201.41.63%200%201.044-.072%201.35-.199v2.006c-.45.199-.99.29-1.746.29-2.268%200-3.348-1.284-3.348-3.507Z'/%3e%3cpath%20fill='%23000091'%20d='M37.992%2014.155%2022.998%205.442%208.004%2014.237a.607.607%200%200%200-.306.527V31.78a.67.67%200%200%200%20.306.526l14.992%208.635L37.99%2032.2a.667.667%200%200%200%20.306-.526v-16.99a.608.608%200%200%200-.304-.53Z'/%3e%3cpath%20fill='%23FCC63A'%20d='m17.641%2014.656-5.029%208.663-4.557-9.212%205.39-3.125%204.49%203.173-.294.502Zm20.656%2017.049V14.679a.604.604%200%200%200-.306-.526L22.998%205.442'/%3e%3cpath%20fill='%230063CB'%20d='M7.7%2031.705%2023%205.442v35.504l-14.996-8.64a.667.667%200%200%201-.306-.526V14.765l.002%2016.94Zm24.67-20.819%205.457%203.168-4.489%209.187-5.387-9.273%204.418-3.083v.001Z'/%3e%3cpath%20fill='%23fff'%20d='M42.606%2011.348%2023.416.284a.93.93%200%200%200-.832%200L3.394%2011.348a.89.89%200%200%200-.394.698v22.088a.891.891%200%200%200%20.394.703l19.189%2011.064a.929.929%200%200%200%20.832%200l19.191-11.064a.888.888%200%200%200%20.394-.703V12.046a.893.893%200%200%200-.394-.698ZM13.789%2029.176h.079c-.042%200-.079.007-.079.05%200%20.1.151%200%20.2.1a.91.91%200%200%200-.629.277c0%20.05.1.05.151.05-.075.1-.226.05-.277.153a.176.176%200%200%200%20.1.05c-.05%200-.1%200-.1.05v.153c-.126%200-.176.1-.277.15.2.153.327%200%20.528%200-.528.201-.956.482-1.484.633-.1%200%200%20.15-.1.15.151.101.227-.05.377-.05-.654.38-1.333.703-2.037%201.138a.353.353%200%200%200-.1.201h-.2c-.1.05-.05.177-.151.278.226.15.5-.2.654%200%20.05%200-.1.05-.2.05-.05%200-.05.1-.1.1H9.99c-.1.076-.2.127-.2.278a.22.22%200%200%200-.226.1%209%209%200%200%200%203.144-.58%207.687%207.687%200%200%200%202.088-1.566.177.177%200%200%201%20.05.1c-.147.439-.43.82-.806%201.084-.277.153-.478.38-.7.481a4.05%204.05%200%200%200-.428.277c-.632.198-1.281.337-1.939.414l-.305.044c-.225.033-.449.07-.671.109l-1.993-1.143a.648.648%200%200%201-.288-.413.568.568%200%200%200%20.094-.063.267.267%200%200%200-.113-.071v-.653a12.74%2012.74%200%200%200%203.038-.945%208.731%208.731%200%200%200-3.037-1.349v-1.52c.555.09%201.103.222%201.639.393a6.41%206.41%200%200%201%201.182.58c.147.14.307.268.478.379a.908.908%200%200%200%20.8.05h.33a3.954%203.954%200%200%200%201.937-.909c0%20.05.05.05.1.05-.078.4-.223.785-.428%201.137.003.05-.048.152.053.203Zm2.817%203.584c.251-.1.4-.277.629-.378-.05.05-.05.151-.1.201a3.71%203.71%200%200%200-.528.402%2016%2016%200%200%200-1.585%201.616c-.252.302-.528.58-.8.859-.096.09-.2.172-.31.246l-2.527-1.456c.36.03.721.013%201.076-.053.294-.084.58-.193.855-.329v.1c.7-.277%201.232-.909%201.937-1.136.025%200%20.126.1.226.05a1.885%201.885%200%200%201%201.509-.702c0%20.05%200%20.1.05.1h.025c-.151.127-.327.251-.5.378-.057.053-.007.102.043.102Zm-8.908-6.188v-.187a5.795%205.795%200%200%201%201.588-.188c.158-.026.32-.026.478%200a5.84%205.84%200%200%200-2.066.375Zm30.6%205.109a.67.67%200%200%201-.306.526L27.913%2038.08a32.214%2032.214%200%200%201-3.408-1.189%202.847%202.847%200%200%201-.05-2.254c.08-.309.198-.607.352-.886.025-.025.05-.05.05-.076a.025.025%200%200%200%20.025-.025%204.33%204.33%200%200%201%20.377-.558l.015-.015.02-.02.015-.016c0-.025.025-.05.05-.076.025-.052.075-.077.1-.127a3.78%203.78%200%200%201%20.579-.502c.213-.077.431-.136.654-.178.811.06%201.617.171%202.415.33a.753.753%200%200%201%20.277.1c.301.06.612.041.905-.05a1.135%201.135%200%200%200%20.855-.709%201.22%201.22%200%200%200%20.05-1.064c-.178-.276-.013-.438.181-.592l.068-.055c.086-.06.164-.134.231-.216.126-.254-.1-.402-.151-.633-.05-.1-.226-.05-.327-.2.352-.152.855-.433.629-.861-.151-.228-.377-.633-.1-.86.352-.201.855-.152%201.006-.483a1.146%201.146%200%200%200-.292-1.088l-.075-.108a4.776%204.776%200%200%201-.211-.322%206.934%206.934%200%200%200-.528-.76%204.32%204.32%200%200%201-.528-1.014c-.151-.378.05-.708.05-1.087a6.397%206.397%200%200%200-.327-2.153c-.126-.354-.176-.734-.327-1.064a1.127%201.127%200%200%200-.226-.582.376.376%200%200%201%200-.329c.205-.145.399-.306.579-.482a.571.571%200%200%200-.2-.707c-.327-.152-.3.329-.528.43h-.151c-.05-.126.05-.177.151-.278%200-.05%200-.151-.05-.151-.2%200-.377-.052-.428-.152a3.956%203.956%200%200%200-1.861-1.291c.188.058.382.091.579.1.338.072.69.036%201.006-.1.227-.077.277-.482.377-.709a.806.806%200%200%200-.151-.634%202.192%202.192%200%200%200-.906-.759%209.094%209.094%200%200%201-.679-.354.952.952%200%200%200-.251-.127c-2.965-1.49-9.069-.2-9.534%200h-.009a8.23%208.23%200%200%200-1.249.477%203.92%203.92%200%200%200-2.365%202.475%203.84%203.84%200%200%200-1.333%201.515c-.428.804-1.056%201.515-.956%202.424.1.783.277%201.49.428%202.298.043.273.11.542.2.803.1.278%200%20.632.151.859.075.15.025.328.227.43v.2c.05.05.05.1.151.1v.202c.435.424.807.91%201.107%201.44.1.276-.478.15-.7.05a5.983%205.983%200%200%201-1.132-.96.177.177%200%200%200-.051.1c.2.354.906.783.528%201.01-.2.1-.428-.151-.629.05-.05.077%200%20.178%200%20.278-.277-.2-.578-.1-.855-.2-.2-.05-.252-.429-.478-.429a15.135%2015.135%200%200%200-1.811-.328%2015.1%2015.1%200%200%200-1.739-.161V14.766a.61.61%200%200%201%20.306-.526l14.987-8.796%2014.994%208.712a.606.606%200%200%201%20.306.526V31.68Zm-7.954-8.295a.325.325%200%200%201-.282.15c-.1.085-.194.176-.282.274.1%200%200%20.15.1.15-.205.224.077.697-.205.796-.37.1-.758.1-1.127%200a.721.721%200%200%201%20.167-.016h.085a.38.38%200%200%200%20.337-.133v-.2c0-.05-.051-.05-.1-.05a.16.16%200%200%201-.1.05.225.225%200%200%200-.154-.201.804.804%200%200%201-.718-.274.668.668%200%200%201%20.436-.05c.128%200%20.077-.225.231-.324h.154c.307-.373.871-.473.974-.846%200-.1-.282-.1-.487-.15a2.253%202.253%200%200%200-.82.05c-.36.05-.712.142-1.051.274.28-.206.592-.366.923-.472.232-.09.473-.158.718-.201l.132-.026.133-.027a.968.968%200%200%201%20.556%200c.231.1.615.1.666.248.1.275-.154.548-.435.747-.057.08.149.136.149.231Z'/%3e%3cpath%20fill='%23FCC63A'%20d='M55.56%200H30c-1.105%200-2%20.899-2%202.008v9.34c0%201.108.895%202.007%202%202.007h25.56c1.105%200%202-.899%202-2.008V2.008a2.004%202.004%200%200%200-2-2.008Z'/%3e%3cpath%20fill='%23161616'%20d='M30.562%2011.213V2.325h2.921c.97%200%201.732.237%202.289.711.565.474.847%201.122.847%201.943%200%20.813-.282%201.456-.847%201.93-.557.474-1.32.71-2.289.71h-1.125v3.594h-1.796Zm2.997-7.351h-1.201v2.221h1.2c.38%200%20.675-.097.886-.29.22-.197.329-.476.329-.84%200-.338-.11-.605-.329-.8-.21-.194-.506-.291-.885-.291Zm4.671%207.35V2.326h2.707c.97%200%201.736.237%202.301.711.565.474.847%201.122.847%201.943%200%20.532-.126.999-.379%201.396a2.4%202.4%200%200%201-1.037.902l2.782%203.936h-2.15L40.949%207.62h-.923v3.593H38.23Zm2.808-7.35h-1.012v2.221h1.012c.38%200%20.674-.097.885-.29.21-.197.316-.476.316-.84%200-.338-.105-.605-.316-.8-.21-.194-.506-.291-.885-.291Zm9.511-1.79c.69%200%201.323.126%201.896.38.582.254%201.08.593%201.492%201.016.414.423.734.923.962%201.498a4.81%204.81%200%200%201%20.341%201.803c0%20.635-.114%201.24-.341%201.815a4.504%204.504%200%200%201-.962%201.486%204.67%204.67%200%200%201-1.492%201.015c-.598.26-1.244.39-1.896.382a4.721%204.721%200%200%201-3.402-1.397%204.504%204.504%200%200%201-.961-1.486%204.892%204.892%200%200%201-.342-1.815c0-.635.114-1.236.342-1.803a4.473%204.473%200%200%201%20.961-1.498%204.72%204.72%200%200%201%203.402-1.397Zm0%207.706a2.79%202.79%200%200%200%201.138-.229c.354-.16.653-.371.898-.634.252-.271.45-.589.594-.953.145-.38.218-.785.215-1.193a3.193%203.193%200%200%200-.215-1.18%202.805%202.805%200%200%200-.595-.953A2.547%202.547%200%200%200%2051.687%204a2.664%202.664%200%200%200-1.138-.24c-.413%200-.797.08-1.151.24a2.678%202.678%200%200%200-.91.635c-.254.276-.451.6-.582.952a3.193%203.193%200%200%200-.215%201.181c0%20.423.071.82.215%201.193.143.364.337.682.581.953.253.262.557.474.91.634.355.153.739.23%201.152.23Z'/%3e%3c/svg%3e",kf="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='190'%20height='48'%20fill='none'%3e%3cpath%20fill='%23929292'%20d='m57.986%2021.454%201.156-1.076c.833%201.059%201.819%201.605%202.94%201.605%201.293%200%202.04-.82%202.04-1.912%200-2.56-5.626-2.253-5.626-6.059%200-1.74%201.428-3.209%203.45-3.209%201.684%200%202.908.768%203.792%201.946l-1.19%201.041c-.697-1.007-1.547-1.553-2.584-1.553-1.105%200-1.836.751-1.836%201.74%200%202.578%205.627%202.254%205.627%206.077%200%202.031-1.581%203.363-3.655%203.363-1.768%200-3.077-.666-4.114-1.963Zm10.817-5.735H67.46l1.445-4.574h1.649l-1.751%204.574Zm4.818-3.465c-.56%200-1.02-.46-1.02-1.024a1.026%201.026%200%200%201%201.02-1.007c.56%200%201.003.46%201.003%201.007a1.01%201.01%200%200%201-1.003%201.024Zm-.73%2010.838V14.49h1.444v8.602H72.89Zm3.767-4.3c0-2.51%201.717-4.643%204.403-4.643%201.24%200%202.26.46%203.043%201.297V10.29h1.445v12.801h-1.445v-.955c-.782.836-1.802%201.297-3.043%201.297-2.686%200-4.403-2.134-4.403-4.643Zm1.53%200c0%201.825%201.224%203.276%203.043%203.276%201.19%200%202.21-.58%202.873-1.604v-3.345c-.68-1.042-1.7-1.605-2.873-1.605-1.82%200-3.043%201.45-3.043%203.277Zm18.023%202.884c-.8%201.075-2.074%201.758-3.672%201.758-2.89%200-4.675-2.134-4.675-4.643%200-2.611%201.666-4.642%204.318-4.642%202.329%200%203.842%201.587%203.842%203.738%200%20.34-.051.682-.102.921H89.36v.034c0%201.895%201.292%203.277%203.213%203.277a3.143%203.143%200%200%200%202.567-1.28l1.07.837Zm-4.012-6.281c-1.394%200-2.38.785-2.72%202.27h5.083c-.051-1.246-.952-2.27-2.363-2.27Zm6.274%207.697V14.49h1.445v.973c.697-.768%201.581-1.314%202.856-1.314%201.921%200%203.349%201.297%203.349%203.738v5.205h-1.462v-5.154c0-1.536-.85-2.424-2.176-2.424-1.241%200-2.023.717-2.567%201.622v5.956h-1.445Zm11.052-2.884V15.82h-1.615V14.49h1.615v-2.15h1.462v2.15h2.975v1.331h-2.975v4.387c0%201.348.68%201.724%201.717%201.724.561%200%20.952-.069%201.275-.205v1.297c-.408.17-.867.239-1.479.239-1.904%200-2.975-.956-2.975-3.055Zm7.377-7.954c-.561%200-1.02-.46-1.02-1.024a1.024%201.024%200%200%201%201.02-1.007c.561%200%201.003.46%201.003%201.007a1.01%201.01%200%200%201-1.003%201.024Zm-.731%2010.838V14.49h1.445v8.602h-1.445Zm3.377-8.602h1.615v-1.058c0-1.844%201.207-3.14%203.043-3.14.952%200%201.7.34%202.21.835l-.901%201.059a1.638%201.638%200%200%200-1.292-.58c-.935%200-1.598.682-1.598%201.792v1.092h2.975v1.331h-2.975v7.271h-1.462v-7.27h-1.615V14.49Zm8.543-2.236c-.561%200-1.02-.46-1.02-1.024a1.024%201.024%200%200%201%201.02-1.007c.561%200%201.003.46%201.003%201.007a1.01%201.01%200%200%201-1.003%201.024Zm-.731%2010.838V14.49h1.445v8.602h-1.445Zm12.115-1.416c-.799%201.075-2.074%201.758-3.672%201.758-2.89%200-4.675-2.134-4.675-4.643%200-2.611%201.666-4.642%204.318-4.642%202.329%200%203.842%201.587%203.842%203.738%200%20.34-.051.682-.102.921h-6.562v.034c0%201.895%201.292%203.277%203.213%203.277a3.143%203.143%200%200%200%202.567-1.28l1.071.837Zm-4.012-6.281c-1.394%200-2.38.785-2.72%202.27h5.083c-.051-1.246-.952-2.27-2.363-2.27Zm6.274%207.697V14.49h1.445v1.075c.629-.75%201.411-1.246%202.499-1.246.272%200%20.527.034.731.103v1.502a3.1%203.1%200%200%200-.85-.12c-1.122%200-1.853.58-2.38%201.451v5.837h-1.445Zm13.685.342c-1.683%200-2.822-.956-2.822-2.458%200-1.331.986-2.287%202.822-2.577l2.873-.478v-.598c0-1.195-.85-1.877-2.057-1.877-1.003%200-1.836.444-2.329%201.195l-1.088-.837c.748-1.024%201.955-1.655%203.451-1.655%202.176%200%203.468%201.28%203.468%203.174v5.77h-1.445V22c-.646.905-1.717%201.434-2.873%201.434Zm-1.377-2.51c0%20.735.629%201.298%201.615%201.298%201.139%200%202.04-.598%202.635-1.588v-1.638l-2.533.444c-1.19.188-1.717.734-1.717%201.485Zm7.252-6.434h1.564l2.737%207.083%202.737-7.083h1.564l-3.349%208.602h-1.904l-3.349-8.602Zm17.856%207.186c-.799%201.075-2.074%201.758-3.672%201.758-2.89%200-4.675-2.134-4.675-4.643%200-2.611%201.666-4.642%204.318-4.642%202.329%200%203.842%201.587%203.842%203.738%200%20.34-.051.682-.102.921h-6.562v.034c0%201.895%201.292%203.277%203.213%203.277a3.143%203.143%200%200%200%202.567-1.28l1.071.837Zm-4.012-6.281c-1.394%200-2.38.785-2.72%202.27h5.083c-.051-1.246-.952-2.27-2.363-2.27Zm10.185%206.673a2.891%202.891%200%200%200%202.431-1.28l1.156.888c-.799%201.075-2.04%201.758-3.604%201.758-2.839%200-4.658-2.134-4.658-4.643s1.819-4.642%204.658-4.642c1.547%200%202.805.7%203.604%201.758l-1.156.887a2.917%202.917%200%200%200-2.448-1.28c-1.836%200-3.145%201.45-3.145%203.277%200%201.843%201.309%203.277%203.162%203.277ZM58.854%2040.161V27.51h4.158c2.772%200%204.464%201.428%204.464%203.777%200%202.331-1.692%203.76-4.464%203.76H61.41v5.114h-2.556Zm4.266-10.464h-1.71v3.162h1.71c1.08%200%201.728-.578%201.728-1.608%200-.958-.648-1.554-1.728-1.554Zm6.129%2010.464v-9.109h2.286v.904c.594-.615%201.368-1.084%202.394-1.084.306%200%20.576.054.792.126v2.404a3.922%203.922%200%200%200-1.008-.127c-1.116%200-1.836.614-2.178%201.175v5.71h-2.286Zm11.386-9.47c2.952%200%204.968%202.186%204.968%204.915%200%202.73-2.016%204.916-4.968%204.916s-4.968-2.187-4.968-4.916c0-2.729%202.016-4.915%204.968-4.915Zm.036%207.662c1.458%200%202.556-1.174%202.556-2.747%200-1.59-1.098-2.747-2.556-2.747-1.512%200-2.628%201.157-2.628%202.747%200%201.59%201.116%202.747%202.628%202.747Zm13.172-.235c1.44%200%202.574-.704%203.294-1.735l2.016%201.555c-1.152%201.572-3.024%202.584-5.31%202.584-3.978%200-6.696-3.072-6.696-6.687%200-3.614%202.718-6.686%206.696-6.686%202.286%200%204.158%201.03%205.31%202.566l-2.016%201.572c-.72-1.03-1.854-1.735-3.294-1.735-2.376%200-4.068%201.862-4.068%204.283%200%202.422%201.692%204.283%204.068%204.283Zm11.366-7.427c2.952%200%204.968%202.186%204.968%204.915%200%202.73-2.016%204.916-4.968%204.916s-4.968-2.187-4.968-4.916c0-2.729%202.016-4.915%204.968-4.915Zm.036%207.662c1.458%200%202.556-1.174%202.556-2.747%200-1.59-1.098-2.747-2.556-2.747-1.512%200-2.628%201.157-2.628%202.747%200%201.59%201.116%202.747%202.628%202.747Zm7.018%201.808v-9.109h2.286v.723c.63-.614%201.476-1.084%202.682-1.084%201.962%200%203.528%201.355%203.528%204.048v5.422h-2.322v-5.332c0-1.21-.666-1.97-1.782-1.97-1.152%200-1.764.777-2.106%201.356v5.946h-2.286Zm11.091%200v-9.109h2.286v.723c.63-.614%201.476-1.084%202.682-1.084%201.962%200%203.528%201.355%203.528%204.048v5.422h-2.322v-5.332c0-1.21-.666-1.97-1.782-1.97-1.152%200-1.764.777-2.106%201.356v5.946h-2.286Zm19.444-1.482c-.846%201.138-2.25%201.843-3.96%201.843-3.222%200-5.04-2.259-5.04-4.916%200-2.692%201.692-4.915%204.662-4.915%202.52%200%204.176%201.698%204.176%204.084%200%20.506-.072.994-.144%201.301h-6.354c.144%201.5%201.188%202.386%202.736%202.386.99%200%201.8-.434%202.286-1.085l1.638%201.302Zm-4.338-6.073c-1.116%200-1.872.543-2.178%201.735h4.086c-.036-.903-.702-1.735-1.908-1.735Zm10.696%205.747c.882%200%201.584-.433%202.016-1.066l1.818%201.392c-.846%201.12-2.178%201.843-3.834%201.843-3.132%200-5.004-2.259-5.004-4.916%200-2.656%201.872-4.915%205.004-4.915%201.656%200%202.988.723%203.834%201.843l-1.818%201.392c-.432-.633-1.116-1.067-2.052-1.067-1.494%200-2.592%201.157-2.592%202.747%200%201.609%201.098%202.747%202.628%202.747Zm6.204-1.518V33.15h-1.692v-2.097h1.692v-2.277h2.304v2.277h2.772v2.097h-2.772v3.686c0%201.012.54%201.41%201.44%201.41.63%200%201.044-.072%201.35-.199v2.006c-.45.199-.99.29-1.746.29-2.268%200-3.348-1.284-3.348-3.507Z'/%3e%3cpath%20fill='%237C7C7C'%20d='M34.992%2014.155%2019.998%205.442%205.004%2014.237a.607.607%200%200%200-.306.527V31.78a.67.67%200%200%200%20.306.526l14.992%208.635L34.99%2032.2a.667.667%200%200%200%20.306-.526v-16.99a.608.608%200%200%200-.304-.53Z'/%3e%3cpath%20fill='%23F6F6F6'%20d='M14.641%2014.656%209.612%2023.32l-4.557-9.212%205.39-3.125%204.49%203.173-.294.502Zm20.656%2017.049V14.679a.604.604%200%200%200-.306-.526L19.998%205.442'/%3e%3cpath%20fill='%23929292'%20d='M4.7%2031.705%2020%205.442v35.504l-14.996-8.64a.667.667%200%200%201-.306-.526V14.765l.002%2016.94Zm24.67-20.819%205.457%203.168-4.489%209.187-5.387-9.273%204.418-3.083v.001Z'/%3e%3cpath%20fill='%23CECECE'%20d='M39.606%2011.348%2020.416.284a.93.93%200%200%200-.832%200L.394%2011.348a.89.89%200%200%200-.394.698v22.088a.891.891%200%200%200%20.394.703l19.189%2011.064a.929.929%200%200%200%20.832%200l19.191-11.064a.888.888%200%200%200%20.394-.703V12.046a.893.893%200%200%200-.394-.698ZM10.789%2029.176h.079c-.042%200-.079.007-.079.05%200%20.1.151%200%20.2.1a.91.91%200%200%200-.629.277c0%20.05.1.05.151.05-.075.1-.226.05-.277.153a.176.176%200%200%200%20.1.05c-.05%200-.1%200-.1.05v.153c-.126%200-.176.1-.277.15.2.153.327%200%20.528%200-.528.201-.956.482-1.484.633-.1%200%200%20.15-.1.15.151.101.227-.05.377-.05-.654.38-1.333.703-2.037%201.138a.353.353%200%200%200-.1.201h-.2c-.1.05-.05.177-.151.278.226.15.5-.2.654%200%20.05%200-.1.05-.2.05-.05%200-.05.1-.1.1H6.99c-.1.076-.2.127-.2.278a.22.22%200%200%200-.226.1%209%209%200%200%200%203.144-.58%207.687%207.687%200%200%200%202.088-1.566.177.177%200%200%201%20.05.1c-.147.439-.43.82-.806%201.084-.277.153-.478.38-.7.481a4.05%204.05%200%200%200-.428.277c-.632.198-1.281.337-1.939.414l-.305.044c-.225.033-.449.07-.671.109l-1.993-1.143a.648.648%200%200%201-.288-.413.568.568%200%200%200%20.094-.063.267.267%200%200%200-.113-.071v-.653a12.74%2012.74%200%200%200%203.038-.945%208.731%208.731%200%200%200-3.037-1.349v-1.52c.555.09%201.103.222%201.639.393.413.152.809.346%201.182.58.147.14.307.268.478.379a.908.908%200%200%200%20.8.05h.33a3.954%203.954%200%200%200%201.937-.909c0%20.05.05.05.1.05-.078.4-.223.785-.428%201.137.003.05-.048.152.053.203Zm2.817%203.584c.251-.1.4-.277.629-.378-.05.05-.05.151-.1.201a3.71%203.71%200%200%200-.528.402%2016%2016%200%200%200-1.585%201.616c-.252.302-.528.58-.8.859-.096.09-.2.172-.31.246L8.385%2034.25c.36.03.721.013%201.076-.053.294-.084.58-.193.855-.329v.1c.7-.277%201.232-.909%201.937-1.136.025%200%20.126.1.226.05a1.885%201.885%200%200%201%201.509-.702c0%20.05%200%20.1.05.1h.025c-.151.127-.327.251-.5.378-.057.053-.007.102.043.102Zm-8.908-6.188v-.187a5.795%205.795%200%200%201%201.588-.188c.158-.026.32-.026.478%200a5.84%205.84%200%200%200-2.066.375Zm30.6%205.109a.67.67%200%200%201-.306.526L24.913%2038.08a32.214%2032.214%200%200%201-3.408-1.189%202.847%202.847%200%200%201-.05-2.254c.08-.309.198-.607.352-.886.025-.025.05-.05.05-.076a.025.025%200%200%200%20.025-.025%204.33%204.33%200%200%201%20.377-.558l.015-.015.02-.02.015-.016c0-.025.025-.05.05-.076.025-.052.075-.077.1-.127a3.78%203.78%200%200%201%20.579-.502c.213-.077.431-.136.654-.178.811.06%201.617.171%202.415.33a.753.753%200%200%201%20.277.1c.301.06.612.041.905-.05a1.135%201.135%200%200%200%20.855-.709%201.22%201.22%200%200%200%20.05-1.064c-.178-.276-.013-.438.181-.592l.068-.055c.086-.06.164-.134.231-.216.126-.254-.1-.402-.151-.633-.05-.1-.226-.05-.327-.2.352-.152.855-.433.629-.861-.151-.228-.377-.633-.1-.86.352-.201.855-.152%201.006-.483a1.146%201.146%200%200%200-.292-1.088l-.075-.108a4.776%204.776%200%200%201-.211-.322%206.934%206.934%200%200%200-.528-.76%204.32%204.32%200%200%201-.528-1.014c-.151-.378.05-.708.05-1.087a6.397%206.397%200%200%200-.327-2.153c-.126-.354-.176-.734-.327-1.064a1.127%201.127%200%200%200-.226-.582.376.376%200%200%201%200-.329c.205-.145.399-.306.579-.482a.571.571%200%200%200-.2-.707c-.327-.152-.3.329-.528.43h-.151c-.05-.126.05-.177.151-.278%200-.05%200-.151-.05-.151-.2%200-.377-.052-.428-.152a3.956%203.956%200%200%200-1.861-1.291c.188.058.382.091.579.1.338.072.69.036%201.006-.1.227-.077.277-.482.377-.709a.806.806%200%200%200-.151-.634%202.192%202.192%200%200%200-.906-.759%209.094%209.094%200%200%201-.679-.354.952.952%200%200%200-.251-.127c-2.965-1.49-9.069-.2-9.534%200h-.009a8.23%208.23%200%200%200-1.249.477%203.92%203.92%200%200%200-2.365%202.475%203.84%203.84%200%200%200-1.333%201.515c-.428.804-1.056%201.515-.956%202.424.1.783.277%201.49.428%202.298.043.273.11.542.2.803.1.278%200%20.632.151.859.075.15.025.328.227.43v.2c.05.05.05.1.151.1v.202c.435.424.807.91%201.107%201.44.1.276-.478.15-.7.05a5.983%205.983%200%200%201-1.132-.96.177.177%200%200%200-.051.1c.2.354.906.783.528%201.01-.2.1-.428-.151-.629.05-.05.077%200%20.178%200%20.278-.277-.2-.578-.1-.855-.2-.2-.05-.252-.429-.478-.429a15.135%2015.135%200%200%200-1.811-.328%2015.1%2015.1%200%200%200-1.739-.161V14.766a.61.61%200%200%201%20.306-.526l14.987-8.796%2014.994%208.712a.606.606%200%200%201%20.306.526V31.68Zm-7.954-8.295a.325.325%200%200%201-.282.15c-.1.085-.194.176-.282.274.1%200%200%20.15.1.15-.205.224.077.697-.205.796-.37.1-.758.1-1.127%200a.721.721%200%200%201%20.167-.016h.085a.38.38%200%200%200%20.337-.133v-.2c0-.05-.051-.05-.1-.05a.16.16%200%200%201-.1.05.225.225%200%200%200-.154-.201.804.804%200%200%201-.718-.274.668.668%200%200%201%20.436-.05c.128%200%20.077-.225.231-.324h.154c.307-.373.871-.473.974-.846%200-.1-.282-.1-.487-.15a2.253%202.253%200%200%200-.82.05c-.36.05-.712.142-1.051.274.28-.206.592-.366.923-.472.232-.09.473-.158.718-.201l.132-.026.133-.027a.968.968%200%200%201%20.556%200c.231.1.615.1.666.248.1.275-.154.548-.435.747-.057.08.149.136.149.231Z'/%3e%3cpath%20fill='%23DDD'%20d='M52.56%200H27c-1.105%200-2%20.899-2%202.008v9.34c0%201.108.895%202.007%202%202.007h25.56c1.105%200%202-.899%202-2.008V2.008a2.004%202.004%200%200%200-2-2.008Z'/%3e%3cpath%20fill='%23929292'%20d='M27.562%2011.213V2.325h2.921c.97%200%201.732.237%202.289.711.565.474.847%201.122.847%201.943%200%20.813-.282%201.456-.847%201.93-.557.474-1.32.71-2.289.71h-1.125v3.594h-1.796Zm2.997-7.351h-1.201v2.221h1.2c.38%200%20.675-.097.886-.29.22-.197.329-.476.329-.84%200-.338-.11-.605-.329-.8-.21-.194-.506-.291-.885-.291Zm4.671%207.35V2.326h2.707c.97%200%201.736.237%202.301.711.565.474.847%201.122.847%201.943%200%20.532-.126.999-.379%201.396a2.4%202.4%200%200%201-1.037.902l2.782%203.936h-2.15L37.949%207.62h-.923v3.593H35.23Zm2.808-7.35h-1.012v2.221h1.012c.38%200%20.674-.097.885-.29.21-.197.316-.476.316-.84%200-.338-.105-.605-.316-.8-.21-.194-.506-.291-.885-.291Zm9.511-1.79c.69%200%201.323.126%201.896.38.582.254%201.08.593%201.492%201.016.414.423.734.923.962%201.498a4.81%204.81%200%200%201%20.341%201.803c0%20.635-.114%201.24-.341%201.815a4.504%204.504%200%200%201-.962%201.486%204.67%204.67%200%200%201-1.492%201.015c-.598.26-1.244.39-1.896.382a4.721%204.721%200%200%201-3.402-1.397%204.504%204.504%200%200%201-.961-1.486%204.892%204.892%200%200%201-.342-1.815c0-.635.114-1.236.342-1.803a4.473%204.473%200%200%201%20.961-1.498%204.72%204.72%200%200%201%203.402-1.397Zm0%207.706a2.79%202.79%200%200%200%201.138-.229c.354-.16.653-.371.898-.634.252-.271.45-.589.594-.953.145-.38.218-.785.215-1.193a3.193%203.193%200%200%200-.215-1.18%202.805%202.805%200%200%200-.595-.953A2.547%202.547%200%200%200%2048.687%204a2.664%202.664%200%200%200-1.138-.24c-.413%200-.797.08-1.151.24a2.678%202.678%200%200%200-.91.635c-.254.276-.451.6-.582.952a3.193%203.193%200%200%200-.215%201.181c0%20.423.071.82.215%201.193.143.364.337.682.581.953.253.262.557.474.91.634.355.153.739.23%201.152.23Z'/%3e%3c/svg%3e",C2=({disabled:t,onClick:e})=>b.jsx(X.Button,{disabled:t,className:"pro-connect-button",onClick:e,style:{backgroundImage:`url("${t?kf:_f}")`}});u.createContext(null);u.createContext(null);u.createContext(null);u.createContext(null);u.createContext(null);const If=u.createContext({}),ne=typeof document<"u"?u.useLayoutEffect:()=>{};var qi;const Of=(qi=u.useInsertionEffect)!==null&&qi!==void 0?qi:ne;function ve(t){const e=u.useRef(null);return Of(()=>{e.current=t},[t]),u.useCallback((...r)=>{const n=e.current;return n==null?void 0:n(...r)},[])}function Mf(t){let[e,r]=u.useState(t),n=u.useRef(null),i=ve(()=>{if(!n.current)return;let l=n.current.next();if(l.done){n.current=null;return}e===l.value?i():r(l.value)});ne(()=>{n.current&&i()});let o=ve(l=>{n.current=l(e),i()});return[e,o]}const Zn={prefix:String(Math.round(Math.random()*1e10)),current:0},E2=u.createContext(Zn),Nf=u.createContext(!1);let Bf=!!(typeof window<"u"&&window.document&&window.document.createElement),Yi=new WeakMap;function Rf(t=!1){let e=u.useContext(E2),r=u.useRef(null);if(r.current===null&&!t){var n,i;let o=(i=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||i===void 0||(n=i.ReactCurrentOwner)===null||n===void 0?void 0:n.current;if(o){let l=Yi.get(o);l==null?Yi.set(o,{id:e.current,state:o.memoizedState}):o.memoizedState!==l.state&&(e.current=l.id,Yi.delete(o))}r.current=++e.current}return r.current}function Lf(t){let e=u.useContext(E2);e===Zn&&!Bf&&process.env.NODE_ENV!=="production"&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let r=Rf(!!t),n=e===Zn&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${e.prefix}`;return t||`${n}-${r}`}function Kf(t){let e=u.useId(),[r]=u.useState(sn()),n=r||process.env.NODE_ENV==="test"?"react-aria":`react-aria${Zn.prefix}`;return t||`${n}-${e}`}const jf=typeof u.useId=="function"?Kf:Lf;function Hf(){return!1}function Vf(){return!0}function zf(t){return()=>{}}function sn(){return typeof u.useSyncExternalStore=="function"?u.useSyncExternalStore(zf,Hf,Vf):u.useContext(Nf)}let Uf=!!(typeof window<"u"&&window.document&&window.document.createElement),ur=new Map,Lr;typeof FinalizationRegistry<"u"&&(Lr=new FinalizationRegistry(t=>{ur.delete(t)}));function Se(t){let[e,r]=u.useState(t),n=u.useRef(null),i=jf(e),o=u.useRef(null);if(Lr&&Lr.register(o,i),Uf){const l=ur.get(i);l&&!l.includes(n)?l.push(n):ur.set(i,[n])}return ne(()=>{let l=i;return()=>{Lr&&Lr.unregister(o),ur.delete(l)}},[i]),u.useEffect(()=>{let l=n.current;return l&&r(l),()=>{l&&(n.current=null)}}),i}function Wf(t,e){if(t===e)return t;let r=ur.get(t);if(r)return r.forEach(i=>i.current=e),e;let n=ur.get(e);return n?(n.forEach(i=>i.current=t),t):e}function ft(t=[]){let e=Se(),[r,n]=Mf(e),i=u.useCallback(()=>{n(function*(){yield e,yield document.getElementById(e)?e:void 0})},[e,n]);return ne(i,[e,i,...t]),r}function pt(...t){return(...e)=>{for(let r of t)typeof r=="function"&&r(...e)}}const le=t=>{var e;return(e=t==null?void 0:t.ownerDocument)!==null&&e!==void 0?e:document},_e=t=>t&&"window"in t&&t.window===t?t:le(t).defaultView||window;function Zf(t){return t!==null&&typeof t=="object"&&"nodeType"in t&&typeof t.nodeType=="number"}function Gf(t){return Zf(t)&&t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in t}let qf=!1;function hi(){return qf}function ue(t,e){if(!hi())return e&&t?t.contains(e):!1;if(!t||!e)return!1;let r=e;for(;r!==null;){if(r===t)return!0;r.tagName==="SLOT"&&r.assignedSlot?r=r.assignedSlot.parentNode:Gf(r)?r=r.host:r=r.parentNode}return!1}const De=(t=document)=>{var e;if(!hi())return t.activeElement;let r=t.activeElement;for(;r&&"shadowRoot"in r&&(!((e=r.shadowRoot)===null||e===void 0)&&e.activeElement);)r=r.shadowRoot.activeElement;return r};function oe(t){return hi()&&t.target.shadowRoot&&t.composedPath?t.composedPath()[0]:t.target}class Yf{get currentNode(){return this._currentNode}set currentNode(e){if(!ue(this.root,e))throw new Error("Cannot set currentNode to a node that is not contained by the root node.");const r=[];let n=e,i=e;for(this._currentNode=e;n&&n!==this.root;)if(n.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const l=n,a=this._doc.createTreeWalker(l,this.whatToShow,{acceptNode:this._acceptNode});r.push(a),a.currentNode=i,this._currentSetFor.add(a),n=i=l.host}else n=n.parentNode;const o=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});r.push(o),o.currentNode=i,this._currentSetFor.add(o),this._walkerStack=r}get doc(){return this._doc}firstChild(){let e=this.currentNode,r=this.nextNode();return ue(e,r)?(r&&(this.currentNode=r),r):(this.currentNode=e,null)}lastChild(){let r=this._walkerStack[0].lastChild();return r&&(this.currentNode=r),r}nextNode(){const e=this._walkerStack[0].nextNode();if(e){if(e.shadowRoot){var r;let i;if(typeof this.filter=="function"?i=this.filter(e):!((r=this.filter)===null||r===void 0)&&r.acceptNode&&(i=this.filter.acceptNode(e)),i===NodeFilter.FILTER_ACCEPT)return this.currentNode=e,e;let o=this.nextNode();return o&&(this.currentNode=o),o}return e&&(this.currentNode=e),e}else if(this._walkerStack.length>1){this._walkerStack.shift();let n=this.nextNode();return n&&(this.currentNode=n),n}else return null}previousNode(){const e=this._walkerStack[0];if(e.currentNode===e.root){if(this._currentSetFor.has(e))if(this._currentSetFor.delete(e),this._walkerStack.length>1){this._walkerStack.shift();let i=this.previousNode();return i&&(this.currentNode=i),i}else return null;return null}const r=e.previousNode();if(r){if(r.shadowRoot){var n;let o;if(typeof this.filter=="function"?o=this.filter(r):!((n=this.filter)===null||n===void 0)&&n.acceptNode&&(o=this.filter.acceptNode(r)),o===NodeFilter.FILTER_ACCEPT)return r&&(this.currentNode=r),r;let l=this.lastChild();return l&&(this.currentNode=l),l}return r&&(this.currentNode=r),r}else if(this._walkerStack.length>1){this._walkerStack.shift();let i=this.previousNode();return i&&(this.currentNode=i),i}else return null}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}constructor(e,r,n,i){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=l=>{if(l.nodeType===Node.ELEMENT_NODE){const s=l.shadowRoot;if(s){const c=this._doc.createTreeWalker(s,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(c),NodeFilter.FILTER_ACCEPT}else{var a;if(typeof this.filter=="function")return this.filter(l);if(!((a=this.filter)===null||a===void 0)&&a.acceptNode)return this.filter.acceptNode(l);if(this.filter===null)return NodeFilter.FILTER_ACCEPT}}return NodeFilter.FILTER_SKIP},this._doc=e,this.root=r,this.filter=i??null,this.whatToShow=n??NodeFilter.SHOW_ALL,this._currentNode=r,this._walkerStack.unshift(e.createTreeWalker(r,n,this._acceptNode));const o=r.shadowRoot;if(o){const l=this._doc.createTreeWalker(o,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(l)}}}function Xf(t,e,r,n){return hi()?new Yf(t,e,r,n):t.createTreeWalker(e,r,n)}function w2(t){var e,r,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t)){var i=t.length;for(e=0;e<i;e++)t[e]&&(r=w2(t[e]))&&(n&&(n+=" "),n+=r)}else for(r in t)t[r]&&(n&&(n+=" "),n+=r);return n}function ye(){for(var t,e,r=0,n="",i=arguments.length;r<i;r++)(t=arguments[r])&&(e=w2(t))&&(n&&(n+=" "),n+=e);return n}function ie(...t){let e={...t[0]};for(let r=1;r<t.length;r++){let n=t[r];for(let i in n){let o=e[i],l=n[i];typeof o=="function"&&typeof l=="function"&&i[0]==="o"&&i[1]==="n"&&i.charCodeAt(2)>=65&&i.charCodeAt(2)<=90?e[i]=pt(o,l):(i==="className"||i==="UNSAFE_className")&&typeof o=="string"&&typeof l=="string"?e[i]=ye(o,l):i==="id"&&o&&l?e.id=Wf(o,l):e[i]=l!==void 0?l:o}}return e}function $l(...t){return t.length===1&&t[0]?t[0]:e=>{let r=!1;const n=t.map(i=>{const o=_a(i,e);return r||(r=typeof o=="function"),o});if(r)return()=>{n.forEach((i,o)=>{typeof i=="function"?i():_a(t[o],null)})}}}function _a(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}const Jf=new Set(["id"]),Qf=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),e5=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),t5=new Set(["dir","lang","hidden","inert","translate"]),ka=new Set(["onClick","onAuxClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onGotPointerCapture","onLostPointerCapture","onScroll","onWheel","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionCancel","onTransitionEnd","onTransitionRun","onTransitionStart"]),r5=/^(data-.*)$/;function he(t,e={}){let{labelable:r,isLink:n,global:i,events:o=i,propNames:l}=e,a={};for(const s in t)Object.prototype.hasOwnProperty.call(t,s)&&(Jf.has(s)||r&&Qf.has(s)||n&&e5.has(s)||i&&t5.has(s)||o&&ka.has(s)||s.endsWith("Capture")&&ka.has(s.slice(0,-7))||l!=null&&l.has(s)||r5.test(s))&&(a[s]=t[s]);return a}function Ve(t){if(n5())t.focus({preventScroll:!0});else{let e=i5(t);t.focus(),o5(e)}}let hn=null;function n5(){if(hn==null){hn=!1;try{document.createElement("div").focus({get preventScroll(){return hn=!0,!0}})}catch{}}return hn}function i5(t){let e=t.parentNode,r=[],n=document.scrollingElement||document.documentElement;for(;e instanceof HTMLElement&&e!==n;)(e.offsetHeight<e.scrollHeight||e.offsetWidth<e.scrollWidth)&&r.push({element:e,scrollTop:e.scrollTop,scrollLeft:e.scrollLeft}),e=e.parentNode;return n instanceof HTMLElement&&r.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),r}function o5(t){for(let{element:e,scrollTop:r,scrollLeft:n}of t)e.scrollTop=r,e.scrollLeft=n}function pi(t){var e;if(typeof window>"u"||window.navigator==null)return!1;let r=(e=window.navigator.userAgentData)===null||e===void 0?void 0:e.brands;return Array.isArray(r)&&r.some(n=>t.test(n.brand))||t.test(window.navigator.userAgent)}function Pl(t){var e;return typeof window<"u"&&window.navigator!=null?t.test(((e=window.navigator.userAgentData)===null||e===void 0?void 0:e.platform)||window.navigator.platform):!1}function rt(t){if(process.env.NODE_ENV==="test")return t;let e=null;return()=>(e==null&&(e=t()),e)}const gt=rt(function(){return Pl(/^Mac/i)}),l5=rt(function(){return Pl(/^iPhone/i)}),D2=rt(function(){return Pl(/^iPad/i)||gt()&&navigator.maxTouchPoints>1}),gi=rt(function(){return l5()||D2()}),a5=rt(function(){return gt()||gi()}),Al=rt(function(){return pi(/AppleWebKit/i)&&!x2()}),x2=rt(function(){return pi(/Chrome/i)}),Tl=rt(function(){return pi(/Android/i)}),s5=rt(function(){return pi(/Firefox/i)}),c5=u.createContext({isNative:!0,open:f5,useHref:t=>t});function vi(){return u.useContext(c5)}function u5(t,e){let r=t.getAttribute("target");return(!r||r==="_self")&&t.origin===location.origin&&!t.hasAttribute("download")&&!e.metaKey&&!e.ctrlKey&&!e.altKey&&!e.shiftKey}function Tt(t,e,r=!0){var n,i;let{metaKey:o,ctrlKey:l,altKey:a,shiftKey:s}=e;s5()&&(!((i=window.event)===null||i===void 0||(n=i.type)===null||n===void 0)&&n.startsWith("key"))&&t.target==="_blank"&&(gt()?o=!0:l=!0);let c=Al()&&gt()&&!D2()&&process.env.NODE_ENV!=="test"?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:o,ctrlKey:l,altKey:a,shiftKey:s}):new MouseEvent("click",{metaKey:o,ctrlKey:l,altKey:a,shiftKey:s,bubbles:!0,cancelable:!0});Tt.isOpening=r,Ve(t),t.dispatchEvent(c),Tt.isOpening=!1}Tt.isOpening=!1;function d5(t,e){if(t instanceof HTMLAnchorElement)e(t);else if(t.hasAttribute("data-href")){let r=document.createElement("a");r.href=t.getAttribute("data-href"),t.hasAttribute("data-target")&&(r.target=t.getAttribute("data-target")),t.hasAttribute("data-rel")&&(r.rel=t.getAttribute("data-rel")),t.hasAttribute("data-download")&&(r.download=t.getAttribute("data-download")),t.hasAttribute("data-ping")&&(r.ping=t.getAttribute("data-ping")),t.hasAttribute("data-referrer-policy")&&(r.referrerPolicy=t.getAttribute("data-referrer-policy")),t.appendChild(r),e(r),t.removeChild(r)}}function f5(t,e){d5(t,r=>Tt(r,e))}function _l(t){let e=vi();var r;const n=e.useHref((r=t==null?void 0:t.href)!==null&&r!==void 0?r:"");return{href:t!=null&&t.href?n:void 0,target:t==null?void 0:t.target,rel:t==null?void 0:t.rel,download:t==null?void 0:t.download,ping:t==null?void 0:t.ping,referrerPolicy:t==null?void 0:t.referrerPolicy}}function h5(t,e,r,n){!e.isNative&&t.currentTarget instanceof HTMLAnchorElement&&t.currentTarget.href&&!t.isDefaultPrevented()&&u5(t.currentTarget,t)&&r&&(t.preventDefault(),e.open(t.currentTarget,t,r,n))}let ct=new Map,jo=new Set;function Ia(){if(typeof window>"u")return;function t(n){return"propertyName"in n}let e=n=>{if(!t(n)||!n.target)return;let i=ct.get(n.target);i||(i=new Set,ct.set(n.target,i),n.target.addEventListener("transitioncancel",r,{once:!0})),i.add(n.propertyName)},r=n=>{if(!t(n)||!n.target)return;let i=ct.get(n.target);if(i&&(i.delete(n.propertyName),i.size===0&&(n.target.removeEventListener("transitioncancel",r),ct.delete(n.target)),ct.size===0)){for(let o of jo)o();jo.clear()}};document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",r)}typeof document<"u"&&(document.readyState!=="loading"?Ia():document.addEventListener("DOMContentLoaded",Ia));function p5(){for(const[t]of ct)"isConnected"in t&&!t.isConnected&&ct.delete(t)}function S2(t){requestAnimationFrame(()=>{p5(),ct.size===0?t():jo.add(t)})}function bi(){let t=u.useRef(new Map),e=u.useCallback((i,o,l,a)=>{let s=a!=null&&a.once?(...c)=>{t.current.delete(l),l(...c)}:l;t.current.set(l,{type:o,eventTarget:i,fn:s,options:a}),i.addEventListener(o,s,a)},[]),r=u.useCallback((i,o,l,a)=>{var s;let c=((s=t.current.get(l))===null||s===void 0?void 0:s.fn)||l;i.removeEventListener(o,c,a),t.current.delete(l)},[]),n=u.useCallback(()=>{t.current.forEach((i,o)=>{r(i.eventTarget,i.type,o,i.options)})},[r]);return u.useEffect(()=>n,[n]),{addGlobalListener:e,removeGlobalListener:r,removeAllGlobalListeners:n}}function mi(t,e){let{id:r,"aria-label":n,"aria-labelledby":i}=t;return r=Se(r),i&&n?i=[...new Set([r,...i.trim().split(/\s+/)])].join(" "):i&&(i=i.trim().split(/\s+/).join(" ")),!n&&!i&&e&&(n=e),{id:r,"aria-label":n,"aria-labelledby":i}}function nt(t){const e=u.useRef(null),r=u.useRef(void 0),n=u.useCallback(i=>{if(typeof t=="function"){const o=t,l=o(i);return()=>{typeof l=="function"?l():o(null)}}else if(t)return t.current=i,()=>{t.current=null}},[t]);return u.useMemo(()=>({get current(){return e.current},set current(i){e.current=i,r.current&&(r.current(),r.current=void 0),i!=null&&(r.current=n(i))}}),[n])}function Oa(t,e){const r=u.useRef(!0),n=u.useRef(null);ne(()=>(r.current=!0,()=>{r.current=!1}),[]),ne(()=>{r.current?r.current=!1:(!n.current||e.some((i,o)=>!Object.is(i,n[o])))&&t(),n.current=e},e)}function g5(){return typeof window.ResizeObserver<"u"}function Ho(t){const{ref:e,box:r,onResize:n}=t;u.useEffect(()=>{let i=e==null?void 0:e.current;if(i)if(g5()){const o=new window.ResizeObserver(l=>{l.length&&n()});return o.observe(i,{box:r}),()=>{i&&o.unobserve(i)}}else return window.addEventListener("resize",n,!1),()=>{window.removeEventListener("resize",n,!1)}},[n,e,r])}function F2(t,e){ne(()=>{if(t&&t.ref&&e)return t.ref.current=e.current,()=>{t.ref&&(t.ref.current=null)}})}function Gr(t,e){if(!t)return!1;let r=window.getComputedStyle(t),n=/(auto|scroll)/.test(r.overflow+r.overflowX+r.overflowY);return n&&e&&(n=t.scrollHeight!==t.clientHeight||t.scrollWidth!==t.clientWidth),n}function $2(t,e){let r=t;for(Gr(r,e)&&(r=r.parentElement);r&&!Gr(r,e);)r=r.parentElement;return r||document.scrollingElement||document.documentElement}function v5(t,e){const r=[];for(;t&&t!==document.documentElement;)Gr(t,e)&&r.push(t),t=t.parentElement;return r}let b5=0;const Xi=new Map;function m5(t){let[e,r]=u.useState();return ne(()=>{if(!t)return;let n=Xi.get(t);if(n)r(n.element.id);else{let i=`react-aria-description-${b5++}`;r(i);let o=document.createElement("div");o.id=i,o.style.display="none",o.textContent=t,document.body.appendChild(o),n={refCount:0,element:o},Xi.set(t,n)}return n.refCount++,()=>{n&&--n.refCount===0&&(n.element.remove(),Xi.delete(t))}},[t]),{"aria-describedby":t?e:void 0}}function pn(t,e,r,n){let i=ve(r),o=r==null;u.useEffect(()=>{if(o||!t.current)return;let l=t.current;return l.addEventListener(e,i,n),()=>{l.removeEventListener(e,i,n)}},[t,e,n,o,i])}function P2(t,e){let r=Ma(t,e,"left"),n=Ma(t,e,"top"),i=e.offsetWidth,o=e.offsetHeight,l=t.scrollLeft,a=t.scrollTop,{borderTopWidth:s,borderLeftWidth:c,scrollPaddingTop:d,scrollPaddingRight:f,scrollPaddingBottom:p,scrollPaddingLeft:g}=getComputedStyle(t),y=l+parseInt(c,10),h=a+parseInt(s,10),v=y+t.clientWidth,m=h+t.clientHeight,C=parseInt(d,10)||0,E=parseInt(p,10)||0,F=parseInt(f,10)||0,D=parseInt(g,10)||0;r<=l+D?l=r-parseInt(c,10)-D:r+i>v-F&&(l+=r+i-v+F),n<=h+C?a=n-parseInt(s,10)-C:n+o>m-E&&(a+=n+o-m+E),t.scrollLeft=l,t.scrollTop=a}function Ma(t,e,r){const n=r==="left"?"offsetLeft":"offsetTop";let i=0;for(;e.offsetParent&&(i+=e[n],e.offsetParent!==t);){if(e.offsetParent.contains(t)){i-=t[n];break}e=e.offsetParent}return i}function Na(t,e){if(t&&document.contains(t)){let l=document.scrollingElement||document.documentElement;if(window.getComputedStyle(l).overflow==="hidden"){let s=v5(t);for(let c of s)P2(c,t)}else{var r;let{left:s,top:c}=t.getBoundingClientRect();t==null||(r=t.scrollIntoView)===null||r===void 0||r.call(t,{block:"nearest"});let{left:d,top:f}=t.getBoundingClientRect();if(Math.abs(s-d)>1||Math.abs(c-f)>1){var n,i,o;e==null||(i=e.containingElement)===null||i===void 0||(n=i.scrollIntoView)===null||n===void 0||n.call(i,{block:"center",inline:"center"}),(o=t.scrollIntoView)===null||o===void 0||o.call(t,{block:"nearest"})}}}}function Vo(t){return t.pointerType===""&&t.isTrusted?!0:Tl()&&t.pointerType?t.type==="click"&&t.buttons===1:t.detail===0&&!t.pointerType}function y5(t){return!Tl()&&t.width===0&&t.height===0||t.width===1&&t.height===1&&t.pressure===0&&t.detail===0&&t.pointerType==="mouse"}function C5(t,e,r){let n=ve(()=>{r&&r(e)});u.useEffect(()=>{var i;let o=t==null||(i=t.current)===null||i===void 0?void 0:i.form;return o==null||o.addEventListener("reset",n),()=>{o==null||o.removeEventListener("reset",n)}},[t,n])}function E5(t){const e=u.version.split(".");return parseInt(e[0],10)>=19?t:t?"true":void 0}const w5="react-aria-clear-focus",D5="react-aria-focus";function ir(t){return gt()?t.metaKey:t.ctrlKey}function x5(t,e=!0){let[r,n]=u.useState(!0),i=r&&e;return ne(()=>{if(i&&t.current&&"getAnimations"in t.current)for(let o of t.current.getAnimations())o instanceof CSSTransition&&o.cancel()},[t,i]),A2(t,i,u.useCallback(()=>n(!1),[])),i}function S5(t,e){let[r,n]=u.useState(e?"open":"closed");switch(r){case"open":e||n("exiting");break;case"closed":case"exiting":e&&n("open");break}let i=r==="exiting";return A2(t,i,u.useCallback(()=>{n(o=>o==="exiting"?"closed":o)},[])),i}function A2(t,e,r){ne(()=>{if(e&&t.current){if(!("getAnimations"in t.current)){r();return}let n=t.current.getAnimations();if(n.length===0){r();return}let i=!1;return Promise.all(n.map(o=>o.finished)).then(()=>{i||Rt.flushSync(()=>{r()})}).catch(()=>{}),()=>{i=!0}}},[t,e,r])}const F5=typeof Element<"u"&&"checkVisibility"in Element.prototype;function $5(t){const e=_e(t);if(!(t instanceof e.HTMLElement)&&!(t instanceof e.SVGElement))return!1;let{display:r,visibility:n}=t.style,i=r!=="none"&&n!=="hidden"&&n!=="collapse";if(i){const{getComputedStyle:o}=t.ownerDocument.defaultView;let{display:l,visibility:a}=o(t);i=l!=="none"&&a!=="hidden"&&a!=="collapse"}return i}function P5(t,e){return!t.hasAttribute("hidden")&&!t.hasAttribute("data-react-aria-prevent-focus")&&(t.nodeName==="DETAILS"&&e&&e.nodeName!=="SUMMARY"?t.hasAttribute("open"):!0)}function kl(t,e){return F5?t.checkVisibility()&&!t.closest("[data-react-aria-prevent-focus]"):t.nodeName!=="#comment"&&$5(t)&&P5(t,e)&&(!t.parentElement||kl(t.parentElement,t))}const Il=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable^="false"])',"permission"],A5=Il.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";Il.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const T5=Il.join(':not([hidden]):not([tabindex="-1"]),');function T2(t){return t.matches(A5)&&kl(t)&&!_2(t)}function _5(t){return t.matches(T5)&&kl(t)&&!_2(t)}function _2(t){let e=t;for(;e!=null;){if(e instanceof e.ownerDocument.defaultView.HTMLElement&&e.inert)return!0;e=e.parentElement}return!1}function yi(t,e,r){let[n,i]=u.useState(t||e),o=u.useRef(t!==void 0),l=t!==void 0;u.useEffect(()=>{let c=o.current;c!==l&&process.env.NODE_ENV!=="production"&&console.warn(`WARN: A component changed from ${c?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}.`),o.current=l},[l]);let a=l?t:n,s=u.useCallback((c,...d)=>{let f=(p,...g)=>{r&&(Object.is(a,p)||r(p,...g)),l||(a=p)};typeof c=="function"?(process.env.NODE_ENV!=="production"&&console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),i((g,...y)=>{let h=c(l?a:g,...y);return f(h,...d),l?g:h})):(l||i(c),f(c,...d))},[l,a,r]);return[a,s]}function zo(t,e=-1/0,r=1/0){return Math.min(Math.max(t,e),r)}const qr=Symbol("default");function it({values:t,children:e}){for(let[r,n]of t)e=u.createElement(r.Provider,{value:n},e);return e}function Fe(t){let{className:e,style:r,children:n,defaultClassName:i,defaultChildren:o,defaultStyle:l,values:a}=t;return u.useMemo(()=>{let s,c,d;return typeof e=="function"?s=e({...a,defaultClassName:i}):s=e,typeof r=="function"?c=r({...a,defaultStyle:l||{}}):c=r,typeof n=="function"?d=n({...a,defaultChildren:o}):n==null?d=o:d=n,{className:s??i,style:c||l?{...l,...c}:void 0,children:d??o,"data-rac":""}},[e,r,n,i,o,l,a])}function Ci(t,e){let r=u.useContext(t);if(e===null)return null;if(r&&typeof r=="object"&&"slots"in r&&r.slots){let n=e||qr;if(!r.slots[n]){let i=new Intl.ListFormat().format(Object.keys(r.slots).map(l=>`"${l}"`)),o=e?`Invalid slot "${e}".`:"A slot prop is required.";throw new Error(`${o} Valid slot names are ${i}.`)}return r.slots[n]}return r}function Xe(t,e,r){let n=Ci(r,t.slot)||{},{ref:i,...o}=n,l=nt(u.useMemo(()=>$l(e,i),[e,i])),a=ie(o,t);return"style"in o&&o.style&&"style"in t&&t.style&&(typeof o.style=="function"||typeof t.style=="function"?a.style=s=>{let c=typeof o.style=="function"?o.style(s):o.style,d={...s.defaultStyle,...c},f=typeof t.style=="function"?t.style({...s,defaultStyle:d}):t.style;return{...d,...f}}:a.style={...o.style,...t.style}),[a,l]}function Ol(t=!0){let[e,r]=u.useState(t),n=u.useRef(!1),i=u.useCallback(o=>{n.current=!0,r(!!o)},[]);return ne(()=>{n.current||r(!1)},[]),[i,e]}function k5(t){const e=/^(data-.*)$/;let r={};for(const n in t)e.test(n)||(r[n]=t[n]);return r}class Ml{get childNodes(){throw new Error("childNodes is not supported")}clone(){let e=new Ml(this.type,this.key);return e.value=this.value,e.level=this.level,e.hasChildNodes=this.hasChildNodes,e.rendered=this.rendered,e.textValue=this.textValue,e["aria-label"]=this["aria-label"],e.index=this.index,e.parentKey=this.parentKey,e.prevKey=this.prevKey,e.nextKey=this.nextKey,e.firstChildKey=this.firstChildKey,e.lastChildKey=this.lastChildKey,e.props=this.props,e.render=this.render,e.colSpan=this.colSpan,e.colIndex=this.colIndex,e}constructor(e,r){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue="",this["aria-label"]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=e,this.key=r}}class Nl{get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let e=this.firstKey!=null?this.keyMap.get(this.firstKey):void 0;for(;e;)yield e,e=e.nextKey!=null?this.keyMap.get(e.nextKey):void 0}getChildren(e){let r=this.keyMap;return{*[Symbol.iterator](){let n=r.get(e),i=(n==null?void 0:n.firstChildKey)!=null?r.get(n.firstChildKey):null;for(;i;)yield i,i=i.nextKey!=null?r.get(i.nextKey):void 0}}}getKeyBefore(e){let r=this.keyMap.get(e);if(!r)return null;if(r.prevKey!=null){for(r=this.keyMap.get(r.prevKey);r&&r.type!=="item"&&r.lastChildKey!=null;)r=this.keyMap.get(r.lastChildKey);var n;return(n=r==null?void 0:r.key)!==null&&n!==void 0?n:null}return r.parentKey}getKeyAfter(e){let r=this.keyMap.get(e);if(!r)return null;if(r.type!=="item"&&r.firstChildKey!=null)return r.firstChildKey;for(;r;){if(r.nextKey!=null)return r.nextKey;if(r.parentKey!=null)r=this.keyMap.get(r.parentKey);else return null}return null}getFirstKey(){return this.firstKey}getLastKey(){let e=this.lastKey!=null?this.keyMap.get(this.lastKey):null;for(;(e==null?void 0:e.lastChildKey)!=null;)e=this.keyMap.get(e.lastChildKey);var r;return(r=e==null?void 0:e.key)!==null&&r!==void 0?r:null}getItem(e){var r;return(r=this.keyMap.get(e))!==null&&r!==void 0?r:null}at(){throw new Error("Not implemented")}clone(){let e=this.constructor,r=new e;return r.keyMap=new Map(this.keyMap),r.firstKey=this.firstKey,r.lastKey=this.lastKey,r}addNode(e){if(this.frozen)throw new Error("Cannot add a node to a frozen collection");this.keyMap.set(e.key,e)}removeNode(e){if(this.frozen)throw new Error("Cannot remove a node to a frozen collection");this.keyMap.delete(e)}commit(e,r,n=!1){if(this.frozen)throw new Error("Cannot commit a frozen collection");this.firstKey=e,this.lastKey=r,this.frozen=!n}UNSTABLE_filter(e){let r=new Nl,n=null;for(let i of this)if(i.type==="section"&&i.hasChildNodes){let o=i.clone(),l=null;for(let a of this.getChildren(i.key))if(Ba(a,e,this,r)){let s=a.clone();l==null&&(o.firstChildKey=s.key),r.firstKey==null&&(r.firstKey=o.key),l&&l.parentKey===s.parentKey?(l.nextKey=s.key,s.prevKey=l.key):s.prevKey=null,s.nextKey=null,r.addNode(s),l=s}l&&(l.type!=="header"?(o.lastChildKey=l.key,n==null?o.prevKey=null:(n.type==="section"||n.type==="separator")&&(n.nextKey=o.key,o.prevKey=n.key),o.nextKey=null,n=o,r.addNode(o)):(r.firstKey===o.key&&(r.firstKey=null),r.removeNode(l.key)))}else if(i.type==="separator"){let o=i.clone();o.nextKey=null,(n==null?void 0:n.type)==="section"&&(n.nextKey=o.key,o.prevKey=n.key,n=o,r.addNode(o))}else{let o=i.clone();Ba(o,e,this,r)&&(r.firstKey==null&&(r.firstKey=o.key),n!=null&&n.type!=="section"&&n.type!=="separator"&&n.parentKey===o.parentKey?(n.nextKey=o.key,o.prevKey=n.key):o.prevKey=null,o.nextKey=null,r.addNode(o),n=o)}if((n==null?void 0:n.type)==="separator"&&n.nextKey===null){let i;n.prevKey!=null&&(i=r.getItem(n.prevKey),i.nextKey=null),r.removeNode(n.key),n=i}return r.lastKey=(n==null?void 0:n.key)||null,r}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1}}function Ba(t,e,r,n){if(t.type==="subdialogtrigger"||t.type==="submenutrigger"){let i=[...r.getChildren(t.key)][0];if(i&&e(i.textValue)){let o=i.clone();return n.addNode(o),!0}else return!1}else return t.type==="header"?!0:e(t.textValue)}class k2{*[Symbol.iterator](){let e=this.firstChild;for(;e;)yield e,e=e.nextSibling}get firstChild(){return this._firstChild}set firstChild(e){this._firstChild=e,this.ownerDocument.markDirty(this)}get lastChild(){return this._lastChild}set lastChild(e){this._lastChild=e,this.ownerDocument.markDirty(this)}get previousSibling(){return this._previousSibling}set previousSibling(e){this._previousSibling=e,this.ownerDocument.markDirty(this)}get nextSibling(){return this._nextSibling}set nextSibling(e){this._nextSibling=e,this.ownerDocument.markDirty(this)}get parentNode(){return this._parentNode}set parentNode(e){this._parentNode=e,this.ownerDocument.markDirty(this)}get isConnected(){var e;return((e=this.parentNode)===null||e===void 0?void 0:e.isConnected)||!1}invalidateChildIndices(e){(this._minInvalidChildIndex==null||e.index<this._minInvalidChildIndex.index)&&(this._minInvalidChildIndex=e)}updateChildIndices(){let e=this._minInvalidChildIndex;for(;e;)e.index=e.previousSibling?e.previousSibling.index+1:0,e=e.nextSibling;this._minInvalidChildIndex=null}appendChild(e){e.parentNode&&e.parentNode.removeChild(e),this.firstChild==null&&(this.firstChild=e),this.lastChild?(this.lastChild.nextSibling=e,e.index=this.lastChild.index+1,e.previousSibling=this.lastChild):(e.previousSibling=null,e.index=0),e.parentNode=this,e.nextSibling=null,this.lastChild=e,this.ownerDocument.markDirty(this),this.ownerDocument.queueUpdate()}insertBefore(e,r){if(r==null)return this.appendChild(e);e.parentNode&&e.parentNode.removeChild(e),e.nextSibling=r,e.previousSibling=r.previousSibling,e.index=r.index,this.firstChild===r?this.firstChild=e:r.previousSibling&&(r.previousSibling.nextSibling=e),r.previousSibling=e,e.parentNode=r.parentNode,this.invalidateChildIndices(r),this.ownerDocument.queueUpdate()}removeChild(e){e.parentNode!==this||!this.ownerDocument.isMounted||(e.nextSibling&&(this.invalidateChildIndices(e.nextSibling),e.nextSibling.previousSibling=e.previousSibling),e.previousSibling&&(e.previousSibling.nextSibling=e.nextSibling),this.firstChild===e&&(this.firstChild=e.nextSibling),this.lastChild===e&&(this.lastChild=e.previousSibling),e.parentNode=null,e.nextSibling=null,e.previousSibling=null,e.index=0,this.ownerDocument.markDirty(e),this.ownerDocument.queueUpdate())}addEventListener(){}removeEventListener(){}get previousVisibleSibling(){let e=this.previousSibling;for(;e&&e.isHidden;)e=e.previousSibling;return e}get nextVisibleSibling(){let e=this.nextSibling;for(;e&&e.isHidden;)e=e.nextSibling;return e}get firstVisibleChild(){let e=this.firstChild;for(;e&&e.isHidden;)e=e.nextSibling;return e}get lastVisibleChild(){let e=this.lastChild;for(;e&&e.isHidden;)e=e.previousSibling;return e}constructor(e){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this._minInvalidChildIndex=null,this.ownerDocument=e}}class dr extends k2{get index(){return this._index}set index(e){this._index=e,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof dr?this.parentNode.level+(this.node.type==="item"?1:0):0}getMutableNode(){return this.isMutated||(this.node=this.node.clone(),this.isMutated=!0),this.ownerDocument.markDirty(this),this.node}updateNode(){var e,r,n;let i=this.nextVisibleSibling,o=this.getMutableNode();o.index=this.index,o.level=this.level,o.parentKey=this.parentNode instanceof dr?this.parentNode.node.key:null;var l;o.prevKey=(l=(e=this.previousVisibleSibling)===null||e===void 0?void 0:e.node.key)!==null&&l!==void 0?l:null;var a;o.nextKey=(a=i==null?void 0:i.node.key)!==null&&a!==void 0?a:null,o.hasChildNodes=!!this.firstChild;var s;o.firstChildKey=(s=(r=this.firstVisibleChild)===null||r===void 0?void 0:r.node.key)!==null&&s!==void 0?s:null;var c;if(o.lastChildKey=(c=(n=this.lastVisibleChild)===null||n===void 0?void 0:n.node.key)!==null&&c!==void 0?c:null,(o.colSpan!=null||o.colIndex!=null)&&i){var d,f;let p=((d=o.colIndex)!==null&&d!==void 0?d:o.index)+((f=o.colSpan)!==null&&f!==void 0?f:1);if(p!==i.node.colIndex){let g=i.getMutableNode();g.colIndex=p}}}setProps(e,r,n,i){let o=this.getMutableNode(),{value:l,textValue:a,id:s,...c}=e;if(c.ref=r,o.props=c,o.rendered=n,o.render=i,o.value=l,o.textValue=a||(typeof c.children=="string"?c.children:"")||e["aria-label"]||"",s!=null&&s!==o.key){if(this.hasSetProps)throw new Error("Cannot change the id of an item");o.key=s}c.colSpan!=null&&(o.colSpan=c.colSpan),this.hasSetProps=!0,this.ownerDocument.queueUpdate()}get style(){let e=this;return{get display(){return e.isHidden?"none":""},set display(r){let n=r==="none";if(e.isHidden!==n){var i,o;(((i=e.parentNode)===null||i===void 0?void 0:i.firstVisibleChild)===e||((o=e.parentNode)===null||o===void 0?void 0:o.lastVisibleChild)===e)&&e.ownerDocument.markDirty(e.parentNode);let l=e.previousVisibleSibling,a=e.nextVisibleSibling;l&&e.ownerDocument.markDirty(l),a&&e.ownerDocument.markDirty(a),e.isHidden=n,e.ownerDocument.markDirty(e)}}}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}constructor(e,r){super(r),this.nodeType=8,this.isMutated=!0,this._index=0,this.hasSetProps=!1,this.isHidden=!1,this.node=new Ml(e,`react-aria-${++r.nodeId}`)}}class I5 extends k2{get isConnected(){return this.isMounted}createElement(e){return new dr(e,this)}getMutableCollection(){return this.nextCollection||(this.nextCollection=this.collection.clone()),this.nextCollection}markDirty(e){this.dirtyNodes.add(e)}addNode(e){if(e.isHidden)return;let r=this.getMutableCollection();if(!r.getItem(e.node.key))for(let n of e)this.addNode(n);r.addNode(e.node)}removeNode(e){for(let n of e)this.removeNode(n);this.getMutableCollection().removeNode(e.node.key)}getCollection(){return this.inSubscription?this.collection.clone():(this.queuedRender=!1,this.updateCollection(),this.collection)}updateCollection(){for(let o of this.dirtyNodes)o instanceof dr&&(!o.isConnected||o.isHidden)?this.removeNode(o):o.updateChildIndices();for(let o of this.dirtyNodes)o instanceof dr&&(o.isConnected&&!o.isHidden&&(o.updateNode(),this.addNode(o)),o.isMutated=!1);if(this.dirtyNodes.clear(),this.nextCollection){var e,r,n,i;this.nextCollection.commit((n=(e=this.firstVisibleChild)===null||e===void 0?void 0:e.node.key)!==null&&n!==void 0?n:null,(i=(r=this.lastVisibleChild)===null||r===void 0?void 0:r.node.key)!==null&&i!==void 0?i:null,this.isSSR),this.isSSR||(this.collection=this.nextCollection,this.nextCollection=null)}}queueUpdate(){if(!(this.dirtyNodes.size===0||this.queuedRender)){this.queuedRender=!0,this.inSubscription=!0;for(let e of this.subscriptions)e();this.inSubscription=!1}}subscribe(e){return this.subscriptions.add(e),()=>this.subscriptions.delete(e)}resetAfterSSR(){this.isSSR&&(this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0)}constructor(e){super(null),this.nodeType=11,this.ownerDocument=this,this.dirtyNodes=new Set,this.isSSR=!1,this.nodeId=0,this.nodesByProps=new WeakMap,this.isMounted=!0,this.nextCollection=null,this.subscriptions=new Set,this.queuedRender=!1,this.inSubscription=!1,this.collection=e,this.nextCollection=e}}function I2(t){let{children:e,items:r,idScope:n,addIdAndValue:i,dependencies:o=[]}=t,l=u.useMemo(()=>new WeakMap,o);return u.useMemo(()=>{if(r&&typeof e=="function"){let c=[];for(let d of r){let f=l.get(d);if(!f){f=e(d);var a,s;let p=(s=(a=f.props.id)!==null&&a!==void 0?a:d.key)!==null&&s!==void 0?s:d.id;if(p==null)throw new Error("Could not determine key for item");n&&(p=n+":"+p),f=u.cloneElement(f,i?{key:p,id:p,value:d}:{key:p}),l.set(d,f)}c.push(f)}return c}else if(typeof e!="function")return e},[e,r,l,n,i])}if(typeof HTMLTemplateElement<"u"){const t=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild").get;Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.dataset.reactAriaHidden?this.content.firstChild:t.call(this)}})}const Gn=u.createContext(!1);function O5(t){if(u.useContext(Gn))return u.createElement(u.Fragment,null,t.children);let r=u.createElement(Gn.Provider,{value:!0},t.children);return u.createElement("template",{"data-react-aria-hidden":!0},r)}function Bl(t){let e=(r,n)=>u.useContext(Gn)?null:t(r,n);return e.displayName=t.displayName||t.name,u.forwardRef(e)}function M5(){return u.useContext(Gn)}function Rl(t){let e=t;return e.nativeEvent=t,e.isDefaultPrevented=()=>e.defaultPrevented,e.isPropagationStopped=()=>e.cancelBubble,e.persist=()=>{},e}function O2(t,e){Object.defineProperty(t,"target",{value:e}),Object.defineProperty(t,"currentTarget",{value:e})}function M2(t){let e=u.useRef({isFocused:!1,observer:null});ne(()=>{const n=e.current;return()=>{n.observer&&(n.observer.disconnect(),n.observer=null)}},[]);let r=ve(n=>{t==null||t(n)});return u.useCallback(n=>{if(n.target instanceof HTMLButtonElement||n.target instanceof HTMLInputElement||n.target instanceof HTMLTextAreaElement||n.target instanceof HTMLSelectElement){e.current.isFocused=!0;let i=n.target,o=l=>{if(e.current.isFocused=!1,i.disabled){let a=Rl(l);r(a)}e.current.observer&&(e.current.observer.disconnect(),e.current.observer=null)};i.addEventListener("focusout",o,{once:!0}),e.current.observer=new MutationObserver(()=>{if(e.current.isFocused&&i.disabled){var l;(l=e.current.observer)===null||l===void 0||l.disconnect();let a=i===document.activeElement?null:document.activeElement;i.dispatchEvent(new FocusEvent("blur",{relatedTarget:a})),i.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:a}))}}),e.current.observer.observe(i,{attributes:!0,attributeFilter:["disabled"]})}},[r])}let qn=!1;function Ra(t){for(;t&&!T2(t);)t=t.parentElement;let e=_e(t),r=e.document.activeElement;if(!r||r===t)return;qn=!0;let n=!1,i=d=>{(d.target===r||n)&&d.stopImmediatePropagation()},o=d=>{(d.target===r||n)&&(d.stopImmediatePropagation(),!t&&!n&&(n=!0,Ve(r),s()))},l=d=>{(d.target===t||n)&&d.stopImmediatePropagation()},a=d=>{(d.target===t||n)&&(d.stopImmediatePropagation(),n||(n=!0,Ve(r),s()))};e.addEventListener("blur",i,!0),e.addEventListener("focusout",o,!0),e.addEventListener("focusin",a,!0),e.addEventListener("focus",l,!0);let s=()=>{cancelAnimationFrame(c),e.removeEventListener("blur",i,!0),e.removeEventListener("focusout",o,!0),e.removeEventListener("focusin",a,!0),e.removeEventListener("focus",l,!0),qn=!1,n=!1},c=requestAnimationFrame(s);return s}let ar="default",Uo="",On=new WeakMap;function La(t){if(gi()){if(ar==="default"){const e=le(t);Uo=e.documentElement.style.webkitUserSelect,e.documentElement.style.webkitUserSelect="none"}ar="disabled"}else if(t instanceof HTMLElement||t instanceof SVGElement){let e="userSelect"in t.style?"userSelect":"webkitUserSelect";On.set(t,t.style[e]),t.style[e]="none"}}function Ji(t){if(gi()){if(ar!=="disabled")return;ar="restoring",setTimeout(()=>{S2(()=>{if(ar==="restoring"){const e=le(t);e.documentElement.style.webkitUserSelect==="none"&&(e.documentElement.style.webkitUserSelect=Uo||""),Uo="",ar="default"}})},300)}else if((t instanceof HTMLElement||t instanceof SVGElement)&&t&&On.has(t)){let e=On.get(t),r="userSelect"in t.style?"userSelect":"webkitUserSelect";t.style[r]==="none"&&(t.style[r]=e),t.getAttribute("style")===""&&t.removeAttribute("style"),On.delete(t)}}const Ll=u.createContext({register:()=>{}});Ll.displayName="PressResponderContext";function N5(t,e){return e.get?e.get.call(t):e.value}function N2(t,e,r){if(!e.has(t))throw new TypeError("attempted to "+r+" private field on non-instance");return e.get(t)}function B5(t,e){var r=N2(t,e,"get");return N5(t,r)}function R5(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function L5(t,e,r){R5(t,e),e.set(t,r)}function K5(t,e,r){if(e.set)e.set.call(t,r);else{if(!e.writable)throw new TypeError("attempted to set read only private field");e.value=r}}function Ka(t,e,r){var n=N2(t,e,"set");return K5(t,n,r),r}function j5(t){let e=u.useContext(Ll);if(e){let{register:r,...n}=e;t=ie(n,t),r()}return F2(e,t.ref),t}var gn=new WeakMap;class vn{continuePropagation(){Ka(this,gn,!1)}get shouldStopPropagation(){return B5(this,gn)}constructor(e,r,n,i){L5(this,gn,{writable:!0,value:void 0}),Ka(this,gn,!0);var o;let l=(o=i==null?void 0:i.target)!==null&&o!==void 0?o:n.currentTarget;const a=l==null?void 0:l.getBoundingClientRect();let s,c=0,d,f=null;n.clientX!=null&&n.clientY!=null&&(d=n.clientX,f=n.clientY),a&&(d!=null&&f!=null?(s=d-a.left,c=f-a.top):(s=a.width/2,c=a.height/2)),this.type=e,this.pointerType=r,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey,this.x=s,this.y=c}}const ja=Symbol("linkClicked"),Ha="react-aria-pressable-style",Va="data-react-aria-pressable";function Ei(t){let{onPress:e,onPressChange:r,onPressStart:n,onPressEnd:i,onPressUp:o,onClick:l,isDisabled:a,isPressed:s,preventFocusOnPress:c,shouldCancelOnPointerExit:d,allowTextSelectionOnPress:f,ref:p,...g}=j5(t),[y,h]=u.useState(!1),v=u.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:m,removeAllGlobalListeners:C}=bi(),E=ve((w,M)=>{let Z=v.current;if(a||Z.didFirePressStart)return!1;let _=!0;if(Z.isTriggeringEvent=!0,n){let U=new vn("pressstart",M,w);n(U),_=U.shouldStopPropagation}return r&&r(!0),Z.isTriggeringEvent=!1,Z.didFirePressStart=!0,h(!0),_}),F=ve((w,M,Z=!0)=>{let _=v.current;if(!_.didFirePressStart)return!1;_.didFirePressStart=!1,_.isTriggeringEvent=!0;let U=!0;if(i){let P=new vn("pressend",M,w);i(P),U=P.shouldStopPropagation}if(r&&r(!1),h(!1),e&&Z&&!a){let P=new vn("press",M,w);e(P),U&&(U=P.shouldStopPropagation)}return _.isTriggeringEvent=!1,U}),D=ve((w,M)=>{let Z=v.current;if(a)return!1;if(o){Z.isTriggeringEvent=!0;let _=new vn("pressup",M,w);return o(_),Z.isTriggeringEvent=!1,_.shouldStopPropagation}return!0}),x=ve(w=>{let M=v.current;if(M.isPressed&&M.target){M.didFirePressStart&&M.pointerType!=null&&F(yt(M.target,w),M.pointerType,!1),M.isPressed=!1,M.isOverTarget=!1,M.activePointerId=null,M.pointerType=null,C(),f||Ji(M.target);for(let Z of M.disposables)Z();M.disposables=[]}}),S=ve(w=>{d&&x(w)}),O=ve(w=>{l==null||l(w)}),K=ve((w,M)=>{if(l){let Z=new MouseEvent("click",w);O2(Z,M),l(Rl(Z))}}),H=u.useMemo(()=>{let w=v.current,M={onKeyDown(_){if(Qi(_.nativeEvent,_.currentTarget)&&ue(_.currentTarget,oe(_.nativeEvent))){var U;Wa(oe(_.nativeEvent),_.key)&&_.preventDefault();let P=!0;if(!w.isPressed&&!_.repeat){w.target=_.currentTarget,w.isPressed=!0,w.pointerType="keyboard",P=E(_,"keyboard");let k=_.currentTarget,z=R=>{Qi(R,k)&&!R.repeat&&ue(k,oe(R))&&w.target&&D(yt(w.target,R),"keyboard")};m(le(_.currentTarget),"keyup",pt(z,Z),!0)}P&&_.stopPropagation(),_.metaKey&&gt()&&((U=w.metaKeyEvents)===null||U===void 0||U.set(_.key,_.nativeEvent))}else _.key==="Meta"&&(w.metaKeyEvents=new Map)},onClick(_){if(!(_&&!ue(_.currentTarget,oe(_.nativeEvent)))&&_&&_.button===0&&!w.isTriggeringEvent&&!Tt.isOpening){let U=!0;if(a&&_.preventDefault(),!w.ignoreEmulatedMouseEvents&&!w.isPressed&&(w.pointerType==="virtual"||Vo(_.nativeEvent))){let P=E(_,"virtual"),k=D(_,"virtual"),z=F(_,"virtual");O(_),U=P&&k&&z}else if(w.isPressed&&w.pointerType!=="keyboard"){let P=w.pointerType||_.nativeEvent.pointerType||"virtual",k=D(yt(_.currentTarget,_),P),z=F(yt(_.currentTarget,_),P,!0);U=k&&z,w.isOverTarget=!1,O(_),x(_)}w.ignoreEmulatedMouseEvents=!1,U&&_.stopPropagation()}}},Z=_=>{var U;if(w.isPressed&&w.target&&Qi(_,w.target)){var P;Wa(oe(_),_.key)&&_.preventDefault();let z=oe(_),R=ue(w.target,oe(_));F(yt(w.target,_),"keyboard",R),R&&K(_,w.target),C(),_.key!=="Enter"&&Kl(w.target)&&ue(w.target,z)&&!_[ja]&&(_[ja]=!0,Tt(w.target,_,!1)),w.isPressed=!1,(P=w.metaKeyEvents)===null||P===void 0||P.delete(_.key)}else if(_.key==="Meta"&&(!((U=w.metaKeyEvents)===null||U===void 0)&&U.size)){var k;let z=w.metaKeyEvents;w.metaKeyEvents=void 0;for(let R of z.values())(k=w.target)===null||k===void 0||k.dispatchEvent(new KeyboardEvent("keyup",R))}};if(typeof PointerEvent<"u"){M.onPointerDown=P=>{if(P.button!==0||!ue(P.currentTarget,oe(P.nativeEvent)))return;if(y5(P.nativeEvent)){w.pointerType="virtual";return}w.pointerType=P.pointerType;let k=!0;if(!w.isPressed){w.isPressed=!0,w.isOverTarget=!0,w.activePointerId=P.pointerId,w.target=P.currentTarget,f||La(w.target),k=E(P,w.pointerType);let z=oe(P.nativeEvent);"releasePointerCapture"in z&&z.releasePointerCapture(P.pointerId),m(le(P.currentTarget),"pointerup",_,!1),m(le(P.currentTarget),"pointercancel",U,!1)}k&&P.stopPropagation()},M.onMouseDown=P=>{if(ue(P.currentTarget,oe(P.nativeEvent))&&P.button===0){if(c){let k=Ra(P.target);k&&w.disposables.push(k)}P.stopPropagation()}},M.onPointerUp=P=>{!ue(P.currentTarget,oe(P.nativeEvent))||w.pointerType==="virtual"||P.button===0&&!w.isPressed&&D(P,w.pointerType||P.pointerType)},M.onPointerEnter=P=>{P.pointerId===w.activePointerId&&w.target&&!w.isOverTarget&&w.pointerType!=null&&(w.isOverTarget=!0,E(yt(w.target,P),w.pointerType))},M.onPointerLeave=P=>{P.pointerId===w.activePointerId&&w.target&&w.isOverTarget&&w.pointerType!=null&&(w.isOverTarget=!1,F(yt(w.target,P),w.pointerType,!1),S(P))};let _=P=>{if(P.pointerId===w.activePointerId&&w.isPressed&&P.button===0&&w.target){if(ue(w.target,oe(P))&&w.pointerType!=null){let k=!1,z=setTimeout(()=>{w.isPressed&&w.target instanceof HTMLElement&&(k?x(P):(Ve(w.target),w.target.click()))},80);m(P.currentTarget,"click",()=>k=!0,!0),w.disposables.push(()=>clearTimeout(z))}else x(P);w.isOverTarget=!1}},U=P=>{x(P)};M.onDragStart=P=>{ue(P.currentTarget,oe(P.nativeEvent))&&x(P)}}else if(process.env.NODE_ENV==="test"){M.onMouseDown=P=>{if(P.button!==0||!ue(P.currentTarget,oe(P.nativeEvent)))return;if(w.ignoreEmulatedMouseEvents){P.stopPropagation();return}if(w.isPressed=!0,w.isOverTarget=!0,w.target=P.currentTarget,w.pointerType=Vo(P.nativeEvent)?"virtual":"mouse",Rt.flushSync(()=>E(P,w.pointerType))&&P.stopPropagation(),c){let z=Ra(P.target);z&&w.disposables.push(z)}m(le(P.currentTarget),"mouseup",_,!1)},M.onMouseEnter=P=>{if(!ue(P.currentTarget,oe(P.nativeEvent)))return;let k=!0;w.isPressed&&!w.ignoreEmulatedMouseEvents&&w.pointerType!=null&&(w.isOverTarget=!0,k=E(P,w.pointerType)),k&&P.stopPropagation()},M.onMouseLeave=P=>{if(!ue(P.currentTarget,oe(P.nativeEvent)))return;let k=!0;w.isPressed&&!w.ignoreEmulatedMouseEvents&&w.pointerType!=null&&(w.isOverTarget=!1,k=F(P,w.pointerType,!1),S(P)),k&&P.stopPropagation()},M.onMouseUp=P=>{ue(P.currentTarget,oe(P.nativeEvent))&&!w.ignoreEmulatedMouseEvents&&P.button===0&&!w.isPressed&&D(P,w.pointerType||"mouse")};let _=P=>{if(P.button===0){if(w.ignoreEmulatedMouseEvents){w.ignoreEmulatedMouseEvents=!1;return}w.target&&w.target.contains(P.target)&&w.pointerType!=null||x(P),w.isOverTarget=!1}};M.onTouchStart=P=>{if(!ue(P.currentTarget,oe(P.nativeEvent)))return;let k=H5(P.nativeEvent);if(!k)return;w.activePointerId=k.identifier,w.ignoreEmulatedMouseEvents=!0,w.isOverTarget=!0,w.isPressed=!0,w.target=P.currentTarget,w.pointerType="touch",f||La(w.target),E(ot(w.target,P),w.pointerType)&&P.stopPropagation(),m(_e(P.currentTarget),"scroll",U,!0)},M.onTouchMove=P=>{if(!ue(P.currentTarget,oe(P.nativeEvent)))return;if(!w.isPressed){P.stopPropagation();return}let k=za(P.nativeEvent,w.activePointerId),z=!0;k&&Ua(k,P.currentTarget)?!w.isOverTarget&&w.pointerType!=null&&(w.isOverTarget=!0,z=E(ot(w.target,P),w.pointerType)):w.isOverTarget&&w.pointerType!=null&&(w.isOverTarget=!1,z=F(ot(w.target,P),w.pointerType,!1),S(ot(w.target,P))),z&&P.stopPropagation()},M.onTouchEnd=P=>{if(!ue(P.currentTarget,oe(P.nativeEvent)))return;if(!w.isPressed){P.stopPropagation();return}let k=za(P.nativeEvent,w.activePointerId),z=!0;k&&Ua(k,P.currentTarget)&&w.pointerType!=null?(D(ot(w.target,P),w.pointerType),z=F(ot(w.target,P),w.pointerType),K(P.nativeEvent,w.target)):w.isOverTarget&&w.pointerType!=null&&(z=F(ot(w.target,P),w.pointerType,!1)),z&&P.stopPropagation(),w.isPressed=!1,w.activePointerId=null,w.isOverTarget=!1,w.ignoreEmulatedMouseEvents=!0,w.target&&!f&&Ji(w.target),C()},M.onTouchCancel=P=>{ue(P.currentTarget,oe(P.nativeEvent))&&(P.stopPropagation(),w.isPressed&&x(ot(w.target,P)))};let U=P=>{w.isPressed&&ue(oe(P),w.target)&&x({currentTarget:w.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};M.onDragStart=P=>{ue(P.currentTarget,oe(P.nativeEvent))&&x(P)}}return M},[m,a,c,C,f,x,S,F,E,D,O,K]);return u.useEffect(()=>{if(!p||process.env.NODE_ENV==="test")return;const w=le(p.current);if(!w||!w.head||w.getElementById(Ha))return;const M=w.createElement("style");M.id=Ha,M.textContent=`
23
23
  @layer {
24
24
  [${Va}] {
25
25
  touch-action: pan-x pan-y pinch-zoom;
26
26
  }
27
27
  }
28
- `.trim(),x.head.prepend(N)},[p]),u.useEffect(()=>{let x=v.current;return()=>{var N;f||Ji((N=x.target)!==null&&N!==void 0?N:void 0);for(let U of x.disposables)U();x.disposables=[]}},[f]),{isPressed:s||y,pressProps:ie(g,V,{[Va]:!0})}}function Kl(t){return t.tagName==="A"&&t.hasAttribute("href")}function Qi(t,e){const{key:r,code:n}=t,i=e,o=i.getAttribute("role");return(r==="Enter"||r===" "||r==="Spacebar"||n==="Space")&&!(i instanceof _e(i).HTMLInputElement&&!Bc(i,r)||i instanceof _e(i).HTMLTextAreaElement||i.isContentEditable)&&!((o==="link"||!o&&Kl(i))&&r!=="Enter")}function H5(t){const{targetTouches:e}=t;return e.length>0?e[0]:null}function za(t,e){const r=t.changedTouches;for(let n=0;n<r.length;n++){const i=r[n];if(i.identifier===e)return i}return null}function ot(t,e){let r=0,n=0;return e.targetTouches&&e.targetTouches.length===1&&(r=e.targetTouches[0].clientX,n=e.targetTouches[0].clientY),{currentTarget:t,shiftKey:e.shiftKey,ctrlKey:e.ctrlKey,metaKey:e.metaKey,altKey:e.altKey,clientX:r,clientY:n}}function yt(t,e){let r=e.clientX,n=e.clientY;return{currentTarget:t,shiftKey:e.shiftKey,ctrlKey:e.ctrlKey,metaKey:e.metaKey,altKey:e.altKey,clientX:r,clientY:n}}function V5(t){let e=0,r=0;return t.width!==void 0?e=t.width/2:t.radiusX!==void 0&&(e=t.radiusX),t.height!==void 0?r=t.height/2:t.radiusY!==void 0&&(r=t.radiusY),{top:t.clientY-r,right:t.clientX+e,bottom:t.clientY+r,left:t.clientX-e}}function z5(t,e){return!(t.left>e.right||e.left>t.right||t.top>e.bottom||e.top>t.bottom)}function Ua(t,e){let r=e.getBoundingClientRect(),n=V5(t);return z5(r,n)}function U5(t){return t instanceof HTMLInputElement?!1:t instanceof HTMLButtonElement?t.type!=="submit"&&t.type!=="reset":!Kl(t)}function Wa(t,e){return t instanceof HTMLInputElement?!Bc(t,e):U5(t)}const W5=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Bc(t,e){return t.type==="checkbox"||t.type==="radio"?e===" ":W5.has(t.type)}let Lt=null,Wo=new Set,Wr=new Map,_t=!1,Zo=!1;const Z5={Tab:!0,Escape:!0};function wi(t,e){for(let r of Wo)r(t,e)}function G5(t){return!(t.metaKey||!gt()&&t.altKey||t.ctrlKey||t.key==="Control"||t.key==="Shift"||t.key==="Meta")}function Yn(t){_t=!0,G5(t)&&(Lt="keyboard",wi("keyboard",t))}function Ne(t){Lt="pointer",(t.type==="mousedown"||t.type==="pointerdown")&&(_t=!0,wi("pointer",t))}function Rc(t){Vo(t)&&(_t=!0,Lt="virtual")}function Lc(t){t.target===window||t.target===document||qn||!t.isTrusted||(!_t&&!Zo&&(Lt="virtual",wi("virtual",t)),_t=!1,Zo=!1)}function Kc(){qn||(_t=!1,Zo=!0)}function Go(t){if(typeof window>"u"||typeof document>"u"||Wr.get(_e(t)))return;const e=_e(t),r=le(t);let n=e.HTMLElement.prototype.focus;e.HTMLElement.prototype.focus=function(){_t=!0,n.apply(this,arguments)},r.addEventListener("keydown",Yn,!0),r.addEventListener("keyup",Yn,!0),r.addEventListener("click",Rc,!0),e.addEventListener("focus",Lc,!0),e.addEventListener("blur",Kc,!1),typeof PointerEvent<"u"?(r.addEventListener("pointerdown",Ne,!0),r.addEventListener("pointermove",Ne,!0),r.addEventListener("pointerup",Ne,!0)):process.env.NODE_ENV==="test"&&(r.addEventListener("mousedown",Ne,!0),r.addEventListener("mousemove",Ne,!0),r.addEventListener("mouseup",Ne,!0)),e.addEventListener("beforeunload",()=>{jc(t)},{once:!0}),Wr.set(e,{focus:n})}const jc=(t,e)=>{const r=_e(t),n=le(t);e&&n.removeEventListener("DOMContentLoaded",e),Wr.has(r)&&(r.HTMLElement.prototype.focus=Wr.get(r).focus,n.removeEventListener("keydown",Yn,!0),n.removeEventListener("keyup",Yn,!0),n.removeEventListener("click",Rc,!0),r.removeEventListener("focus",Lc,!0),r.removeEventListener("blur",Kc,!1),typeof PointerEvent<"u"?(n.removeEventListener("pointerdown",Ne,!0),n.removeEventListener("pointermove",Ne,!0),n.removeEventListener("pointerup",Ne,!0)):process.env.NODE_ENV==="test"&&(n.removeEventListener("mousedown",Ne,!0),n.removeEventListener("mousemove",Ne,!0),n.removeEventListener("mouseup",Ne,!0)),Wr.delete(r))};function q5(t){const e=le(t);let r;return e.readyState!=="loading"?Go(t):(r=()=>{Go(t)},e.addEventListener("DOMContentLoaded",r)),()=>jc(t,r)}typeof document<"u"&&q5();function mr(){return Lt!=="pointer"}function Xn(){return Lt}function Hc(t){Lt=t,wi(t,null)}const Y5=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function X5(t,e,r){let n=le(r==null?void 0:r.target);const i=typeof window<"u"?_e(r==null?void 0:r.target).HTMLInputElement:HTMLInputElement,o=typeof window<"u"?_e(r==null?void 0:r.target).HTMLTextAreaElement:HTMLTextAreaElement,l=typeof window<"u"?_e(r==null?void 0:r.target).HTMLElement:HTMLElement,a=typeof window<"u"?_e(r==null?void 0:r.target).KeyboardEvent:KeyboardEvent;return t=t||n.activeElement instanceof i&&!Y5.has(n.activeElement.type)||n.activeElement instanceof o||n.activeElement instanceof l&&n.activeElement.isContentEditable,!(t&&e==="keyboard"&&r instanceof a&&!Z5[r.key])}function J5(t,e,r){Go(),u.useEffect(()=>{let n=(i,o)=>{X5(!!(r!=null&&r.isTextInput),i,o)&&t(mr())};return Wo.add(n),()=>{Wo.delete(n)}},e)}function vt(t){const e=le(t),r=De(e);if(Xn()==="virtual"){let n=r;Sc(()=>{De(e)===n&&t.isConnected&&Ve(t)})}else Ve(t)}function jl(t){let{isDisabled:e,onFocus:r,onBlur:n,onFocusChange:i}=t;const o=u.useCallback(s=>{if(s.target===s.currentTarget)return n&&n(s),i&&i(!1),!0},[n,i]),l=Nc(o),a=u.useCallback(s=>{const c=le(s.target),d=c?De(c):De();s.target===s.currentTarget&&d===oe(s.nativeEvent)&&(r&&r(s),i&&i(!0),l(s))},[i,r,l]);return{focusProps:{onFocus:!e&&(r||i||n)?a:void 0,onBlur:!e&&(n||i)?o:void 0}}}function Za(t){if(!t)return;let e=!0;return r=>{let n={...r,preventDefault(){r.preventDefault()},isDefaultPrevented(){return r.isDefaultPrevented()},stopPropagation(){e&&process.env.NODE_ENV!=="production"?console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior."):e=!0},continuePropagation(){e=!1},isPropagationStopped(){return e}};t(n),e&&r.stopPropagation()}}function Vc(t){return{keyboardProps:t.isDisabled?{}:{onKeyDown:Za(t.onKeyDown),onKeyUp:Za(t.onKeyUp)}}}let qo=u.createContext(null);function Q5(t){let e=u.useContext(qo)||{};Fc(e,t);let{ref:r,...n}=e;return n}function zc(t,e){let{focusProps:r}=jl(t),{keyboardProps:n}=Vc(t),i=ie(r,n),o=Q5(e),l=t.isDisabled?{}:o,a=u.useRef(t.autoFocus);u.useEffect(()=>{a.current&&e.current&&vt(e.current),a.current=!1},[e]);let s=t.excludeFromTabOrder?-1:0;return t.isDisabled&&(s=void 0),{focusableProps:ie({...i,tabIndex:s},l)}}function e4({children:t}){let e=u.useMemo(()=>({register:()=>{}}),[]);return u.createElement(Ll.Provider,{value:e},t)}function Di(t){let{isDisabled:e,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:i}=t,o=u.useRef({isFocusWithin:!1}),{addGlobalListener:l,removeAllGlobalListeners:a}=bi(),s=u.useCallback(f=>{f.currentTarget.contains(f.target)&&o.current.isFocusWithin&&!f.currentTarget.contains(f.relatedTarget)&&(o.current.isFocusWithin=!1,a(),r&&r(f),i&&i(!1))},[r,i,o,a]),c=Nc(s),d=u.useCallback(f=>{if(!f.currentTarget.contains(f.target))return;const p=le(f.target),g=De(p);if(!o.current.isFocusWithin&&g===oe(f.nativeEvent)){n&&n(f),i&&i(!0),o.current.isFocusWithin=!0,c(f);let y=f.currentTarget;l(p,"focus",h=>{if(o.current.isFocusWithin&&!ue(y,h.target)){let v=new p.defaultView.FocusEvent("blur",{relatedTarget:h.target});Oc(v,y);let b=Rl(v);s(b)}},{capture:!0})}},[n,i,c,l,s]);return e?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:d,onBlur:s}}}let Jn=!1,bn=0;function Yo(){Jn=!0,setTimeout(()=>{Jn=!1},50)}function Ga(t){t.pointerType==="touch"&&Yo()}function t4(){if(!(typeof document>"u"))return bn===0&&(typeof PointerEvent<"u"?document.addEventListener("pointerup",Ga):process.env.NODE_ENV==="test"&&document.addEventListener("touchend",Yo)),bn++,()=>{bn--,!(bn>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",Ga):process.env.NODE_ENV==="test"&&document.removeEventListener("touchend",Yo))}}function Dr(t){let{onHoverStart:e,onHoverChange:r,onHoverEnd:n,isDisabled:i}=t,[o,l]=u.useState(!1),a=u.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;u.useEffect(t4,[]);let{addGlobalListener:s,removeAllGlobalListeners:c}=bi(),{hoverProps:d,triggerHoverEnd:f}=u.useMemo(()=>{let p=(h,v)=>{if(a.pointerType=v,i||v==="touch"||a.isHovered||!h.currentTarget.contains(h.target))return;a.isHovered=!0;let b=h.currentTarget;a.target=b,s(le(h.target),"pointerover",E=>{a.isHovered&&a.target&&!ue(a.target,E.target)&&g(E,E.pointerType)},{capture:!0}),e&&e({type:"hoverstart",target:b,pointerType:v}),r&&r(!0),l(!0)},g=(h,v)=>{let b=a.target;a.pointerType="",a.target=null,!(v==="touch"||!a.isHovered||!b)&&(a.isHovered=!1,c(),n&&n({type:"hoverend",target:b,pointerType:v}),r&&r(!1),l(!1))},y={};return typeof PointerEvent<"u"?(y.onPointerEnter=h=>{Jn&&h.pointerType==="mouse"||p(h,h.pointerType)},y.onPointerLeave=h=>{!i&&h.currentTarget.contains(h.target)&&g(h,h.pointerType)}):process.env.NODE_ENV==="test"&&(y.onTouchStart=()=>{a.ignoreEmulatedMouseEvents=!0},y.onMouseEnter=h=>{!a.ignoreEmulatedMouseEvents&&!Jn&&p(h,"mouse"),a.ignoreEmulatedMouseEvents=!1},y.onMouseLeave=h=>{!i&&h.currentTarget.contains(h.target)&&g(h,"mouse")}),{hoverProps:y,triggerHoverEnd:g}},[e,r,n,i,a,s,c]);return u.useEffect(()=>{i&&f({currentTarget:a.target},a.pointerType)},[i]),{hoverProps:d,isHovered:o}}function r4(t){let{ref:e,onInteractOutside:r,isDisabled:n,onInteractOutsideStart:i}=t,o=u.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),l=ve(s=>{r&&mn(s,e)&&(i&&i(s),o.current.isPointerDown=!0)}),a=ve(s=>{r&&r(s)});u.useEffect(()=>{let s=o.current;if(n)return;const c=e.current,d=le(c);if(typeof PointerEvent<"u"){let f=p=>{s.isPointerDown&&mn(p,e)&&a(p),s.isPointerDown=!1};return d.addEventListener("pointerdown",l,!0),d.addEventListener("click",f,!0),()=>{d.removeEventListener("pointerdown",l,!0),d.removeEventListener("click",f,!0)}}else if(process.env.NODE_ENV==="test"){let f=g=>{s.ignoreEmulatedMouseEvents?s.ignoreEmulatedMouseEvents=!1:s.isPointerDown&&mn(g,e)&&a(g),s.isPointerDown=!1},p=g=>{s.ignoreEmulatedMouseEvents=!0,s.isPointerDown&&mn(g,e)&&a(g),s.isPointerDown=!1};return d.addEventListener("mousedown",l,!0),d.addEventListener("mouseup",f,!0),d.addEventListener("touchstart",l,!0),d.addEventListener("touchend",p,!0),()=>{d.removeEventListener("mousedown",l,!0),d.removeEventListener("mouseup",f,!0),d.removeEventListener("touchstart",l,!0),d.removeEventListener("touchend",p,!0)}}},[e,n,l,a])}function mn(t,e){if(t.button>0)return!1;if(t.target){const r=t.target.ownerDocument;if(!r||!r.documentElement.contains(t.target)||t.target.closest("[data-react-aria-top-layer]"))return!1}return e.current?!t.composedPath().includes(e.current):!1}const n4=500;function Uc(t){let{isDisabled:e,onLongPressStart:r,onLongPressEnd:n,onLongPress:i,threshold:o=n4,accessibilityDescription:l}=t;const a=u.useRef(void 0);let{addGlobalListener:s,removeGlobalListener:c}=bi(),{pressProps:d}=Ei({isDisabled:e,onPressStart(p){if(p.continuePropagation(),(p.pointerType==="mouse"||p.pointerType==="touch")&&(r&&r({...p,type:"longpressstart"}),a.current=setTimeout(()=>{p.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),le(p.target).activeElement!==p.target&&Ve(p.target),i&&i({...p,type:"longpress"}),a.current=void 0},o),p.pointerType==="touch")){let g=y=>{y.preventDefault()};s(p.target,"contextmenu",g,{once:!0}),s(window,"pointerup",()=>{setTimeout(()=>{c(p.target,"contextmenu",g)},30)},{once:!0})}},onPressEnd(p){a.current&&clearTimeout(a.current),n&&(p.pointerType==="mouse"||p.pointerType==="touch")&&n({...p,type:"longpressend"})}}),f=m5(i&&!e?l:void 0);return{longPressProps:ie(d,f)}}var yn={exports:{}},eo={};/**
28
+ `.trim(),w.head.prepend(M)},[p]),u.useEffect(()=>{let w=v.current;return()=>{var M;f||Ji((M=w.target)!==null&&M!==void 0?M:void 0);for(let Z of w.disposables)Z();w.disposables=[]}},[f]),{isPressed:s||y,pressProps:ie(g,H,{[Va]:!0})}}function Kl(t){return t.tagName==="A"&&t.hasAttribute("href")}function Qi(t,e){const{key:r,code:n}=t,i=e,o=i.getAttribute("role");return(r==="Enter"||r===" "||r==="Spacebar"||n==="Space")&&!(i instanceof _e(i).HTMLInputElement&&!B2(i,r)||i instanceof _e(i).HTMLTextAreaElement||i.isContentEditable)&&!((o==="link"||!o&&Kl(i))&&r!=="Enter")}function H5(t){const{targetTouches:e}=t;return e.length>0?e[0]:null}function za(t,e){const r=t.changedTouches;for(let n=0;n<r.length;n++){const i=r[n];if(i.identifier===e)return i}return null}function ot(t,e){let r=0,n=0;return e.targetTouches&&e.targetTouches.length===1&&(r=e.targetTouches[0].clientX,n=e.targetTouches[0].clientY),{currentTarget:t,shiftKey:e.shiftKey,ctrlKey:e.ctrlKey,metaKey:e.metaKey,altKey:e.altKey,clientX:r,clientY:n}}function yt(t,e){let r=e.clientX,n=e.clientY;return{currentTarget:t,shiftKey:e.shiftKey,ctrlKey:e.ctrlKey,metaKey:e.metaKey,altKey:e.altKey,clientX:r,clientY:n}}function V5(t){let e=0,r=0;return t.width!==void 0?e=t.width/2:t.radiusX!==void 0&&(e=t.radiusX),t.height!==void 0?r=t.height/2:t.radiusY!==void 0&&(r=t.radiusY),{top:t.clientY-r,right:t.clientX+e,bottom:t.clientY+r,left:t.clientX-e}}function z5(t,e){return!(t.left>e.right||e.left>t.right||t.top>e.bottom||e.top>t.bottom)}function Ua(t,e){let r=e.getBoundingClientRect(),n=V5(t);return z5(r,n)}function U5(t){return t instanceof HTMLInputElement?!1:t instanceof HTMLButtonElement?t.type!=="submit"&&t.type!=="reset":!Kl(t)}function Wa(t,e){return t instanceof HTMLInputElement?!B2(t,e):U5(t)}const W5=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function B2(t,e){return t.type==="checkbox"||t.type==="radio"?e===" ":W5.has(t.type)}let Lt=null,Wo=new Set,Wr=new Map,_t=!1,Zo=!1;const Z5={Tab:!0,Escape:!0};function wi(t,e){for(let r of Wo)r(t,e)}function G5(t){return!(t.metaKey||!gt()&&t.altKey||t.ctrlKey||t.key==="Control"||t.key==="Shift"||t.key==="Meta")}function Yn(t){_t=!0,G5(t)&&(Lt="keyboard",wi("keyboard",t))}function Me(t){Lt="pointer",(t.type==="mousedown"||t.type==="pointerdown")&&(_t=!0,wi("pointer",t))}function R2(t){Vo(t)&&(_t=!0,Lt="virtual")}function L2(t){t.target===window||t.target===document||qn||!t.isTrusted||(!_t&&!Zo&&(Lt="virtual",wi("virtual",t)),_t=!1,Zo=!1)}function K2(){qn||(_t=!1,Zo=!0)}function Go(t){if(typeof window>"u"||typeof document>"u"||Wr.get(_e(t)))return;const e=_e(t),r=le(t);let n=e.HTMLElement.prototype.focus;e.HTMLElement.prototype.focus=function(){_t=!0,n.apply(this,arguments)},r.addEventListener("keydown",Yn,!0),r.addEventListener("keyup",Yn,!0),r.addEventListener("click",R2,!0),e.addEventListener("focus",L2,!0),e.addEventListener("blur",K2,!1),typeof PointerEvent<"u"?(r.addEventListener("pointerdown",Me,!0),r.addEventListener("pointermove",Me,!0),r.addEventListener("pointerup",Me,!0)):process.env.NODE_ENV==="test"&&(r.addEventListener("mousedown",Me,!0),r.addEventListener("mousemove",Me,!0),r.addEventListener("mouseup",Me,!0)),e.addEventListener("beforeunload",()=>{j2(t)},{once:!0}),Wr.set(e,{focus:n})}const j2=(t,e)=>{const r=_e(t),n=le(t);e&&n.removeEventListener("DOMContentLoaded",e),Wr.has(r)&&(r.HTMLElement.prototype.focus=Wr.get(r).focus,n.removeEventListener("keydown",Yn,!0),n.removeEventListener("keyup",Yn,!0),n.removeEventListener("click",R2,!0),r.removeEventListener("focus",L2,!0),r.removeEventListener("blur",K2,!1),typeof PointerEvent<"u"?(n.removeEventListener("pointerdown",Me,!0),n.removeEventListener("pointermove",Me,!0),n.removeEventListener("pointerup",Me,!0)):process.env.NODE_ENV==="test"&&(n.removeEventListener("mousedown",Me,!0),n.removeEventListener("mousemove",Me,!0),n.removeEventListener("mouseup",Me,!0)),Wr.delete(r))};function q5(t){const e=le(t);let r;return e.readyState!=="loading"?Go(t):(r=()=>{Go(t)},e.addEventListener("DOMContentLoaded",r)),()=>j2(t,r)}typeof document<"u"&&q5();function mr(){return Lt!=="pointer"}function Xn(){return Lt}function H2(t){Lt=t,wi(t,null)}const Y5=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function X5(t,e,r){let n=le(r==null?void 0:r.target);const i=typeof window<"u"?_e(r==null?void 0:r.target).HTMLInputElement:HTMLInputElement,o=typeof window<"u"?_e(r==null?void 0:r.target).HTMLTextAreaElement:HTMLTextAreaElement,l=typeof window<"u"?_e(r==null?void 0:r.target).HTMLElement:HTMLElement,a=typeof window<"u"?_e(r==null?void 0:r.target).KeyboardEvent:KeyboardEvent;return t=t||n.activeElement instanceof i&&!Y5.has(n.activeElement.type)||n.activeElement instanceof o||n.activeElement instanceof l&&n.activeElement.isContentEditable,!(t&&e==="keyboard"&&r instanceof a&&!Z5[r.key])}function J5(t,e,r){Go(),u.useEffect(()=>{let n=(i,o)=>{X5(!!(r!=null&&r.isTextInput),i,o)&&t(mr())};return Wo.add(n),()=>{Wo.delete(n)}},e)}function vt(t){const e=le(t),r=De(e);if(Xn()==="virtual"){let n=r;S2(()=>{De(e)===n&&t.isConnected&&Ve(t)})}else Ve(t)}function jl(t){let{isDisabled:e,onFocus:r,onBlur:n,onFocusChange:i}=t;const o=u.useCallback(s=>{if(s.target===s.currentTarget)return n&&n(s),i&&i(!1),!0},[n,i]),l=M2(o),a=u.useCallback(s=>{const c=le(s.target),d=c?De(c):De();s.target===s.currentTarget&&d===oe(s.nativeEvent)&&(r&&r(s),i&&i(!0),l(s))},[i,r,l]);return{focusProps:{onFocus:!e&&(r||i||n)?a:void 0,onBlur:!e&&(n||i)?o:void 0}}}function Za(t){if(!t)return;let e=!0;return r=>{let n={...r,preventDefault(){r.preventDefault()},isDefaultPrevented(){return r.isDefaultPrevented()},stopPropagation(){e&&process.env.NODE_ENV!=="production"?console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior."):e=!0},continuePropagation(){e=!1},isPropagationStopped(){return e}};t(n),e&&r.stopPropagation()}}function V2(t){return{keyboardProps:t.isDisabled?{}:{onKeyDown:Za(t.onKeyDown),onKeyUp:Za(t.onKeyUp)}}}let qo=u.createContext(null);function Q5(t){let e=u.useContext(qo)||{};F2(e,t);let{ref:r,...n}=e;return n}function z2(t,e){let{focusProps:r}=jl(t),{keyboardProps:n}=V2(t),i=ie(r,n),o=Q5(e),l=t.isDisabled?{}:o,a=u.useRef(t.autoFocus);u.useEffect(()=>{a.current&&e.current&&vt(e.current),a.current=!1},[e]);let s=t.excludeFromTabOrder?-1:0;return t.isDisabled&&(s=void 0),{focusableProps:ie({...i,tabIndex:s},l)}}function e4({children:t}){let e=u.useMemo(()=>({register:()=>{}}),[]);return u.createElement(Ll.Provider,{value:e},t)}function Di(t){let{isDisabled:e,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:i}=t,o=u.useRef({isFocusWithin:!1}),{addGlobalListener:l,removeAllGlobalListeners:a}=bi(),s=u.useCallback(f=>{f.currentTarget.contains(f.target)&&o.current.isFocusWithin&&!f.currentTarget.contains(f.relatedTarget)&&(o.current.isFocusWithin=!1,a(),r&&r(f),i&&i(!1))},[r,i,o,a]),c=M2(s),d=u.useCallback(f=>{if(!f.currentTarget.contains(f.target))return;const p=le(f.target),g=De(p);if(!o.current.isFocusWithin&&g===oe(f.nativeEvent)){n&&n(f),i&&i(!0),o.current.isFocusWithin=!0,c(f);let y=f.currentTarget;l(p,"focus",h=>{if(o.current.isFocusWithin&&!ue(y,h.target)){let v=new p.defaultView.FocusEvent("blur",{relatedTarget:h.target});O2(v,y);let m=Rl(v);s(m)}},{capture:!0})}},[n,i,c,l,s]);return e?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:d,onBlur:s}}}let Jn=!1,bn=0;function Yo(){Jn=!0,setTimeout(()=>{Jn=!1},50)}function Ga(t){t.pointerType==="touch"&&Yo()}function t4(){if(!(typeof document>"u"))return bn===0&&(typeof PointerEvent<"u"?document.addEventListener("pointerup",Ga):process.env.NODE_ENV==="test"&&document.addEventListener("touchend",Yo)),bn++,()=>{bn--,!(bn>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",Ga):process.env.NODE_ENV==="test"&&document.removeEventListener("touchend",Yo))}}function Dr(t){let{onHoverStart:e,onHoverChange:r,onHoverEnd:n,isDisabled:i}=t,[o,l]=u.useState(!1),a=u.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;u.useEffect(t4,[]);let{addGlobalListener:s,removeAllGlobalListeners:c}=bi(),{hoverProps:d,triggerHoverEnd:f}=u.useMemo(()=>{let p=(h,v)=>{if(a.pointerType=v,i||v==="touch"||a.isHovered||!h.currentTarget.contains(h.target))return;a.isHovered=!0;let m=h.currentTarget;a.target=m,s(le(h.target),"pointerover",C=>{a.isHovered&&a.target&&!ue(a.target,C.target)&&g(C,C.pointerType)},{capture:!0}),e&&e({type:"hoverstart",target:m,pointerType:v}),r&&r(!0),l(!0)},g=(h,v)=>{let m=a.target;a.pointerType="",a.target=null,!(v==="touch"||!a.isHovered||!m)&&(a.isHovered=!1,c(),n&&n({type:"hoverend",target:m,pointerType:v}),r&&r(!1),l(!1))},y={};return typeof PointerEvent<"u"?(y.onPointerEnter=h=>{Jn&&h.pointerType==="mouse"||p(h,h.pointerType)},y.onPointerLeave=h=>{!i&&h.currentTarget.contains(h.target)&&g(h,h.pointerType)}):process.env.NODE_ENV==="test"&&(y.onTouchStart=()=>{a.ignoreEmulatedMouseEvents=!0},y.onMouseEnter=h=>{!a.ignoreEmulatedMouseEvents&&!Jn&&p(h,"mouse"),a.ignoreEmulatedMouseEvents=!1},y.onMouseLeave=h=>{!i&&h.currentTarget.contains(h.target)&&g(h,"mouse")}),{hoverProps:y,triggerHoverEnd:g}},[e,r,n,i,a,s,c]);return u.useEffect(()=>{i&&f({currentTarget:a.target},a.pointerType)},[i]),{hoverProps:d,isHovered:o}}function r4(t){let{ref:e,onInteractOutside:r,isDisabled:n,onInteractOutsideStart:i}=t,o=u.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),l=ve(s=>{r&&mn(s,e)&&(i&&i(s),o.current.isPointerDown=!0)}),a=ve(s=>{r&&r(s)});u.useEffect(()=>{let s=o.current;if(n)return;const c=e.current,d=le(c);if(typeof PointerEvent<"u"){let f=p=>{s.isPointerDown&&mn(p,e)&&a(p),s.isPointerDown=!1};return d.addEventListener("pointerdown",l,!0),d.addEventListener("click",f,!0),()=>{d.removeEventListener("pointerdown",l,!0),d.removeEventListener("click",f,!0)}}else if(process.env.NODE_ENV==="test"){let f=g=>{s.ignoreEmulatedMouseEvents?s.ignoreEmulatedMouseEvents=!1:s.isPointerDown&&mn(g,e)&&a(g),s.isPointerDown=!1},p=g=>{s.ignoreEmulatedMouseEvents=!0,s.isPointerDown&&mn(g,e)&&a(g),s.isPointerDown=!1};return d.addEventListener("mousedown",l,!0),d.addEventListener("mouseup",f,!0),d.addEventListener("touchstart",l,!0),d.addEventListener("touchend",p,!0),()=>{d.removeEventListener("mousedown",l,!0),d.removeEventListener("mouseup",f,!0),d.removeEventListener("touchstart",l,!0),d.removeEventListener("touchend",p,!0)}}},[e,n,l,a])}function mn(t,e){if(t.button>0)return!1;if(t.target){const r=t.target.ownerDocument;if(!r||!r.documentElement.contains(t.target)||t.target.closest("[data-react-aria-top-layer]"))return!1}return e.current?!t.composedPath().includes(e.current):!1}const n4=500;function U2(t){let{isDisabled:e,onLongPressStart:r,onLongPressEnd:n,onLongPress:i,threshold:o=n4,accessibilityDescription:l}=t;const a=u.useRef(void 0);let{addGlobalListener:s,removeGlobalListener:c}=bi(),{pressProps:d}=Ei({isDisabled:e,onPressStart(p){if(p.continuePropagation(),(p.pointerType==="mouse"||p.pointerType==="touch")&&(r&&r({...p,type:"longpressstart"}),a.current=setTimeout(()=>{p.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),le(p.target).activeElement!==p.target&&Ve(p.target),i&&i({...p,type:"longpress"}),a.current=void 0},o),p.pointerType==="touch")){let g=y=>{y.preventDefault()};s(p.target,"contextmenu",g,{once:!0}),s(window,"pointerup",()=>{setTimeout(()=>{c(p.target,"contextmenu",g)},30)},{once:!0})}},onPressEnd(p){a.current&&clearTimeout(a.current),n&&(p.pointerType==="mouse"||p.pointerType==="touch")&&n({...p,type:"longpressend"})}}),f=m5(i&&!e?l:void 0);return{longPressProps:ie(d,f)}}var yn={exports:{}},eo={};/**
29
29
  * @license React
30
30
  * use-sync-external-store-shim.production.js
31
31
  *
@@ -41,8 +41,8 @@ React keys must be passed directly to JSX without using spread:
41
41
  *
42
42
  * This source code is licensed under the MIT license found in the
43
43
  * LICENSE file in the root directory of this source tree.
44
- */var Ya;function o4(){return Ya||(Ya=1,process.env.NODE_ENV!=="production"&&function(){function t(g,y){return g===y&&(g!==0||1/g===1/y)||g!==g&&y!==y}function e(g,y){d||i.startTransition===void 0||(d=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var h=y();if(!f){var v=y();o(h,v)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),f=!0)}v=l({inst:{value:h,getSnapshot:y}});var b=v[0].inst,E=v[1];return s(function(){b.value=h,b.getSnapshot=y,r(b)&&E({inst:b})},[g,h,y]),a(function(){return r(b)&&E({inst:b}),g(function(){r(b)&&E({inst:b})})},[g]),c(h),h}function r(g){var y=g.getSnapshot;g=g.value;try{var h=y();return!o(g,h)}catch{return!0}}function n(g,y){return y()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var i=u,o=typeof Object.is=="function"?Object.is:t,l=i.useState,a=i.useEffect,s=i.useLayoutEffect,c=i.useDebugValue,d=!1,f=!1,p=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?n:e;to.useSyncExternalStore=i.useSyncExternalStore!==void 0?i.useSyncExternalStore:p,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),to}var Xa;function l4(){return Xa||(Xa=1,process.env.NODE_ENV==="production"?yn.exports=i4():yn.exports=o4()),yn.exports}var Hl=l4();const Wc=u.createContext(!1),Yr=u.createContext(null);function xi(t){if(u.useContext(Yr))return t.content;let{collection:r,document:n}=u4(t.createCollection);return u.createElement(u.Fragment,null,u.createElement(O5,null,u.createElement(Yr.Provider,{value:n},t.content)),u.createElement(a4,{render:t.children,collection:r}))}function a4({collection:t,render:e}){return e(t)}function s4(t,e,r){let n=sn(),i=u.useRef(n);i.current=n;let o=u.useCallback(()=>i.current?r():e(),[e,r]);return Hl.useSyncExternalStore(t,o)}const c4=typeof u.useSyncExternalStore=="function"?u.useSyncExternalStore:s4;function u4(t){let[e]=u.useState(()=>new I5((t==null?void 0:t())||new Ml)),r=u.useCallback(l=>e.subscribe(l),[e]),n=u.useCallback(()=>{let l=e.getCollection();return e.isSSR&&e.resetAfterSSR(),l},[e]),i=u.useCallback(()=>(e.isSSR=!0,e.getCollection()),[e]),o=c4(r,n,i);return ne(()=>(e.isMounted=!0,()=>{e.isMounted=!1}),[e]),{collection:o,document:e}}const Xo=u.createContext(null);function d4(t,e,r,n,i,o){let l=u.useCallback(s=>{s==null||s.setProps(e,r,n,o)},[e,r,n,o]),a=u.useContext(Xo);if(a){let s=a.ownerDocument.nodesByProps.get(e);return s||(s=a.ownerDocument.createElement(t),s.setProps(e,r,n,o),a.appendChild(s),a.ownerDocument.updateCollection(),a.ownerDocument.nodesByProps.set(e,s)),i?u.createElement(Xo.Provider,{value:s},i):null}return u.createElement(t,{ref:l},i)}function Si(t,e){let r=({node:i})=>e(i.props,i.props.ref,i),n=u.forwardRef((i,o)=>{let l=u.useContext(qo);if(!u.useContext(Wc)){if(e.length>=3)throw new Error(e.name+" cannot be rendered outside a collection.");return e(i,o)}return d4(t,i,o,"children"in i?i.children:null,null,s=>u.createElement(qo.Provider,{value:l},u.createElement(r,{node:s})))});return n.displayName=e.name,n}function f4(t){return Ic({...t,addIdAndValue:!0})}const Ja=u.createContext(null);function Vl(t){let e=u.useContext(Ja),r=((e==null?void 0:e.dependencies)||[]).concat(t.dependencies),n=t.idScope||(e==null?void 0:e.idScope),i=f4({...t,idScope:n,dependencies:r});return u.useContext(Yr)&&(i=u.createElement(h4,null,i)),e=u.useMemo(()=>({dependencies:r,idScope:n}),[n,...r]),u.createElement(Ja.Provider,{value:e},i)}function h4({children:t}){let e=u.useContext(Yr),r=u.useMemo(()=>u.createElement(Yr.Provider,{value:null},u.createElement(Wc.Provider,{value:!0},t)),[t]);return sn()?u.createElement(Xo.Provider,{value:e},r):Rt.createPortal(r,e)}const p4=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),g4=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function v4(t){if(Intl.Locale){let r=new Intl.Locale(t).maximize(),n=typeof r.getTextInfo=="function"?r.getTextInfo():r.textInfo;if(n)return n.direction==="rtl";if(r.script)return p4.has(r.script)}let e=t.split("-")[0];return g4.has(e)}const b4=Symbol.for("react-aria.i18n.locale");function Zc(){let t=typeof window<"u"&&window[b4]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([t])}catch{t="en-US"}return{locale:t,direction:v4(t)?"rtl":"ltr"}}let Jo=Zc(),Kr=new Set;function Qa(){Jo=Zc();for(let t of Kr)t(Jo)}function m4(){let t=sn(),[e,r]=u.useState(Jo);return u.useEffect(()=>(Kr.size===0&&window.addEventListener("languagechange",Qa),Kr.add(r),()=>{Kr.delete(r),Kr.size===0&&window.removeEventListener("languagechange",Qa)}),[]),t?{locale:"en-US",direction:"ltr"}:e}const y4=u.createContext(null);function Kt(){let t=m4();return u.useContext(y4)||t}var Ge=function(){return Ge=Object.assign||function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},Ge.apply(this,arguments)};function Gc(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]]);return r}function C4(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,o;n<i;n++)(o||!(n in e))&&(o||(o=Array.prototype.slice.call(e,0,n)),o[n]=e[n]);return t.concat(o||Array.prototype.slice.call(e))}const E4=Symbol.for("react-aria.i18n.locale"),w4=Symbol.for("react-aria.i18n.strings");let Wt;class Fi{getStringForLocale(e,r){let i=this.getStringsForLocale(r)[e];if(!i)throw new Error(`Could not find intl message ${e} in ${r} locale`);return i}getStringsForLocale(e){let r=this.strings[e];return r||(r=D4(e,this.strings,this.defaultLocale),this.strings[e]=r),r}static getGlobalDictionaryForPackage(e){if(typeof window>"u")return null;let r=window[E4];if(Wt===void 0){let i=window[w4];if(!i)return null;Wt={};for(let o in i)Wt[o]=new Fi({[r]:i[o]},r)}let n=Wt==null?void 0:Wt[e];if(!n)throw new Error(`Strings for package "${e}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return n}constructor(e,r="en-US"){this.strings=Object.fromEntries(Object.entries(e).filter(([,n])=>n)),this.defaultLocale=r}}function D4(t,e,r="en-US"){if(e[t])return e[t];let n=x4(t);if(e[n])return e[n];for(let i in e)if(i.startsWith(n+"-"))return e[i];return e[r]}function x4(t){return Intl.Locale?new Intl.Locale(t).language:t.split("-")[0]}const es=new Map,ts=new Map;class S4{format(e,r){let n=this.strings.getStringForLocale(e,this.locale);return typeof n=="function"?n(r,this):n}plural(e,r,n="cardinal"){let i=r["="+e];if(i)return typeof i=="function"?i():i;let o=this.locale+":"+n,l=es.get(o);l||(l=new Intl.PluralRules(this.locale,{type:n}),es.set(o,l));let a=l.select(e);return i=r[a]||r.other,typeof i=="function"?i():i}number(e){let r=ts.get(this.locale);return r||(r=new Intl.NumberFormat(this.locale),ts.set(this.locale,r)),r.format(e)}select(e,r){let n=e[r]||e.other;return typeof n=="function"?n():n}constructor(e,r){this.locale=e,this.strings=r}}const rs=new WeakMap;function F4(t){let e=rs.get(t);return e||(e=new Fi(t),rs.set(t,e)),e}function $4(t,e){return e&&Fi.getGlobalDictionaryForPackage(e)||F4(t)}function qc(t,e){let{locale:r}=Kt(),n=$4(t,e);return u.useMemo(()=>new S4(r,n),[r,n])}let ro=new Map;function zl(t){let{locale:e}=Kt(),r=e+(t?Object.entries(t).sort((i,o)=>i[0]<o[0]?-1:1).join():"");if(ro.has(r))return ro.get(r);let n=new Intl.Collator(e,t);return ro.set(r,n),n}function P4(t,e){let{elementType:r="button",isDisabled:n,onPress:i,onPressStart:o,onPressEnd:l,onPressUp:a,onPressChange:s,preventFocusOnPress:c,allowFocusWhenDisabled:d,onClick:f,href:p,target:g,rel:y,type:h="button"}=t,v;r==="button"?v={type:h,disabled:n,form:t.form,formAction:t.formAction,formEncType:t.formEncType,formMethod:t.formMethod,formNoValidate:t.formNoValidate,formTarget:t.formTarget,name:t.name,value:t.value}:v={role:"button",href:r==="a"&&!n?p:void 0,target:r==="a"?g:void 0,type:r==="input"?h:void 0,disabled:r==="input"?n:void 0,"aria-disabled":!n||r==="input"?void 0:n,rel:r==="a"?y:void 0};let{pressProps:b,isPressed:E}=Ei({onPressStart:o,onPressEnd:l,onPressChange:s,onPress:i,onPressUp:a,onClick:f,isDisabled:n,preventFocusOnPress:c,ref:e}),{focusableProps:C}=zc(t,e);d&&(C.tabIndex=n?-1:C.tabIndex);let D=ie(C,b,he(t,{labelable:!0}));return{isPressed:E,buttonProps:ie(v,D,{"aria-haspopup":t["aria-haspopup"],"aria-expanded":t["aria-expanded"],"aria-controls":t["aria-controls"],"aria-pressed":t["aria-pressed"],"aria-current":t["aria-current"],"aria-disabled":t["aria-disabled"]})}}const ns=u.createContext(null),Qo="react-aria-focus-scope-restore";let ce=null;function Ul(t){let{children:e,contain:r,restoreFocus:n,autoFocus:i}=t,o=u.useRef(null),l=u.useRef(null),a=u.useRef([]),{parentNode:s}=u.useContext(ns)||{},c=u.useMemo(()=>new tl({scopeRef:a}),[a]);ne(()=>{let p=s||ge.root;if(ge.getTreeNode(p.scopeRef)&&ce&&!Qn(ce,p.scopeRef)){let g=ge.getTreeNode(ce);g&&(p=g)}p.addChild(c),ge.addNode(c)},[c,s]),ne(()=>{let p=ge.getTreeNode(a);p&&(p.contain=!!r)},[r]),ne(()=>{var p;let g=(p=o.current)===null||p===void 0?void 0:p.nextSibling,y=[],h=v=>v.stopPropagation();for(;g&&g!==l.current;)y.push(g),g.addEventListener(Qo,h),g=g.nextSibling;return a.current=y,()=>{for(let v of y)v.removeEventListener(Qo,h)}},[e]),O4(a,n,r),_4(a,r),N4(a,n,r),I4(a,i),u.useEffect(()=>{const p=De(le(a.current?a.current[0]:void 0));let g=null;if(Be(p,a.current)){for(let y of ge.traverse())y.scopeRef&&Be(p,y.scopeRef.current)&&(g=y);g===ge.getTreeNode(a)&&(ce=g.scopeRef)}},[a]),ne(()=>()=>{var p,g,y;let h=(y=(g=ge.getTreeNode(a))===null||g===void 0||(p=g.parent)===null||p===void 0?void 0:p.scopeRef)!==null&&y!==void 0?y:null;(a===ce||Qn(a,ce))&&(!h||ge.getTreeNode(h))&&(ce=h),ge.removeTreeNode(a)},[a]);let d=u.useMemo(()=>T4(a),[]),f=u.useMemo(()=>({focusManager:d,parentNode:c}),[c,d]);return u.createElement(ns.Provider,{value:f},u.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:o}),e,u.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:l}))}function T4(t){return{focusNext(e={}){let r=t.current,{from:n,tabbable:i,wrap:o,accept:l}=e;var a;let s=n||De(le((a=r[0])!==null&&a!==void 0?a:void 0)),c=r[0].previousElementSibling,d=xt(r),f=qe(d,{tabbable:i,accept:l},r);f.currentNode=Be(s,r)?s:c;let p=f.nextNode();return!p&&o&&(f.currentNode=c,p=f.nextNode()),p&&et(p,!0),p},focusPrevious(e={}){let r=t.current,{from:n,tabbable:i,wrap:o,accept:l}=e;var a;let s=n||De(le((a=r[0])!==null&&a!==void 0?a:void 0)),c=r[r.length-1].nextElementSibling,d=xt(r),f=qe(d,{tabbable:i,accept:l},r);f.currentNode=Be(s,r)?s:c;let p=f.previousNode();return!p&&o&&(f.currentNode=c,p=f.previousNode()),p&&et(p,!0),p},focusFirst(e={}){let r=t.current,{tabbable:n,accept:i}=e,o=xt(r),l=qe(o,{tabbable:n,accept:i},r);l.currentNode=r[0].previousElementSibling;let a=l.nextNode();return a&&et(a,!0),a},focusLast(e={}){let r=t.current,{tabbable:n,accept:i}=e,o=xt(r),l=qe(o,{tabbable:n,accept:i},r);l.currentNode=r[r.length-1].nextElementSibling;let a=l.previousNode();return a&&et(a,!0),a}}}function xt(t){return t[0].parentElement}function jr(t){let e=ge.getTreeNode(ce);for(;e&&e.scopeRef!==t;){if(e.contain)return!1;e=e.parent}return!0}function A4(t){if(t.checked)return!0;let e=[];if(!t.form)e=[...le(t).querySelectorAll(`input[type="radio"][name="${CSS.escape(t.name)}"]`)].filter(o=>!o.form);else{var r,n;let o=(n=t.form)===null||n===void 0||(r=n.elements)===null||r===void 0?void 0:r.namedItem(t.name);e=[...o??[]]}return e?!e.some(o=>o.checked):!1}function _4(t,e){let r=u.useRef(void 0),n=u.useRef(void 0);ne(()=>{let i=t.current;if(!e){n.current&&(cancelAnimationFrame(n.current),n.current=void 0);return}const o=le(i?i[0]:void 0);let l=c=>{if(c.key!=="Tab"||c.altKey||c.ctrlKey||c.metaKey||!jr(t)||c.isComposing)return;let d=De(o),f=t.current;if(!f||!Be(d,f))return;let p=xt(f),g=qe(p,{tabbable:!0},f);if(!d)return;g.currentNode=d;let y=c.shiftKey?g.previousNode():g.nextNode();y||(g.currentNode=c.shiftKey?f[f.length-1].nextElementSibling:f[0].previousElementSibling,y=c.shiftKey?g.previousNode():g.nextNode()),c.preventDefault(),y&&et(y,!0)},a=c=>{(!ce||Qn(ce,t))&&Be(oe(c),t.current)?(ce=t,r.current=oe(c)):jr(t)&&!dt(oe(c),t)?r.current?r.current.focus():ce&&ce.current&&el(ce.current):jr(t)&&(r.current=oe(c))},s=c=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{let d=Xn(),f=(d==="virtual"||d===null)&&Al()&&xc(),p=De(o);if(!f&&p&&jr(t)&&!dt(p,t)){ce=t;let y=oe(c);if(y&&y.isConnected){var g;r.current=y,(g=r.current)===null||g===void 0||g.focus()}else ce.current&&el(ce.current)}})};return o.addEventListener("keydown",l,!1),o.addEventListener("focusin",a,!1),i==null||i.forEach(c=>c.addEventListener("focusin",a,!1)),i==null||i.forEach(c=>c.addEventListener("focusout",s,!1)),()=>{o.removeEventListener("keydown",l,!1),o.removeEventListener("focusin",a,!1),i==null||i.forEach(c=>c.removeEventListener("focusin",a,!1)),i==null||i.forEach(c=>c.removeEventListener("focusout",s,!1))}},[t,e]),ne(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n])}function Yc(t){return dt(t)}function Be(t,e){return!t||!e?!1:e.some(r=>r.contains(t))}function dt(t,e=null){if(t instanceof Element&&t.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:r}of ge.traverse(ge.getTreeNode(e)))if(r&&Be(t,r.current))return!0;return!1}function k4(t){return dt(t,ce)}function Qn(t,e){var r;let n=(r=ge.getTreeNode(e))===null||r===void 0?void 0:r.parent;for(;n;){if(n.scopeRef===t)return!0;n=n.parent}return!1}function et(t,e=!1){if(t!=null&&!e)try{vt(t)}catch{}else if(t!=null)try{t.focus()}catch{}}function Xc(t,e=!0){let r=t[0].previousElementSibling,n=xt(t),i=qe(n,{tabbable:e},t);i.currentNode=r;let o=i.nextNode();return e&&!o&&(n=xt(t),i=qe(n,{tabbable:!1},t),i.currentNode=r,o=i.nextNode()),o}function el(t,e=!0){et(Xc(t,e))}function I4(t,e){const r=u.useRef(e);u.useEffect(()=>{if(r.current){ce=t;const n=le(t.current?t.current[0]:void 0);!Be(De(n),ce.current)&&t.current&&el(t.current)}r.current=!1},[t])}function O4(t,e,r){ne(()=>{if(e||r)return;let n=t.current;const i=le(n?n[0]:void 0);let o=l=>{let a=oe(l);Be(a,t.current)?ce=t:Yc(a)||(ce=null)};return i.addEventListener("focusin",o,!1),n==null||n.forEach(l=>l.addEventListener("focusin",o,!1)),()=>{i.removeEventListener("focusin",o,!1),n==null||n.forEach(l=>l.removeEventListener("focusin",o,!1))}},[t,e,r])}function is(t){let e=ge.getTreeNode(ce);for(;e&&e.scopeRef!==t;){if(e.nodeToRestore)return!1;e=e.parent}return(e==null?void 0:e.scopeRef)===t}function N4(t,e,r){const n=u.useRef(typeof document<"u"?De(le(t.current?t.current[0]:void 0)):null);ne(()=>{let i=t.current;const o=le(i?i[0]:void 0);if(!e||r)return;let l=()=>{(!ce||Qn(ce,t))&&Be(De(o),t.current)&&(ce=t)};return o.addEventListener("focusin",l,!1),i==null||i.forEach(a=>a.addEventListener("focusin",l,!1)),()=>{o.removeEventListener("focusin",l,!1),i==null||i.forEach(a=>a.removeEventListener("focusin",l,!1))}},[t,r]),ne(()=>{const i=le(t.current?t.current[0]:void 0);if(!e)return;let o=l=>{if(l.key!=="Tab"||l.altKey||l.ctrlKey||l.metaKey||!jr(t)||l.isComposing)return;let a=i.activeElement;if(!dt(a,t)||!is(t))return;let s=ge.getTreeNode(t);if(!s)return;let c=s.nodeToRestore,d=qe(i.body,{tabbable:!0});d.currentNode=a;let f=l.shiftKey?d.previousNode():d.nextNode();if((!c||!c.isConnected||c===i.body)&&(c=void 0,s.nodeToRestore=void 0),(!f||!dt(f,t))&&c){d.currentNode=c;do f=l.shiftKey?d.previousNode():d.nextNode();while(dt(f,t));l.preventDefault(),l.stopPropagation(),f?et(f,!0):Yc(c)?et(c,!0):a.blur()}};return r||i.addEventListener("keydown",o,!0),()=>{r||i.removeEventListener("keydown",o,!0)}},[t,e,r]),ne(()=>{const i=le(t.current?t.current[0]:void 0);if(!e)return;let o=ge.getTreeNode(t);if(o){var l;return o.nodeToRestore=(l=n.current)!==null&&l!==void 0?l:void 0,()=>{let a=ge.getTreeNode(t);if(!a)return;let s=a.nodeToRestore,c=De(i);if(e&&s&&(c&&dt(c,t)||c===i.body&&is(t))){let d=ge.clone();requestAnimationFrame(()=>{if(i.activeElement===i.body){let f=d.getTreeNode(t);for(;f;){if(f.nodeToRestore&&f.nodeToRestore.isConnected){os(f.nodeToRestore);return}f=f.parent}for(f=d.getTreeNode(t);f;){if(f.scopeRef&&f.scopeRef.current&&ge.getTreeNode(f.scopeRef)){let p=Xc(f.scopeRef.current,!0);os(p);return}f=f.parent}}})}}}},[t,e])}function os(t){t.dispatchEvent(new CustomEvent(Qo,{bubbles:!0,cancelable:!0}))&&et(t)}function qe(t,e,r){let n=e!=null&&e.tabbable?_5:Ac,i=(t==null?void 0:t.nodeType)===Node.ELEMENT_NODE?t:null,o=le(i),l=X1(o,t||o,NodeFilter.SHOW_ELEMENT,{acceptNode(a){var s;return!(e==null||(s=e.from)===null||s===void 0)&&s.contains(a)||e!=null&&e.tabbable&&a.tagName==="INPUT"&&a.getAttribute("type")==="radio"&&(!A4(a)||l.currentNode.tagName==="INPUT"&&l.currentNode.type==="radio"&&l.currentNode.name===a.name)?NodeFilter.FILTER_REJECT:n(a)&&(!r||Be(a,r))&&(!(e!=null&&e.accept)||e.accept(a))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return e!=null&&e.from&&(l.currentNode=e.from),l}class Wl{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,r,n){let i=this.fastMap.get(r??null);if(!i)return;let o=new tl({scopeRef:e});i.addChild(o),o.parent=i,this.fastMap.set(e,o),n&&(o.nodeToRestore=n)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(e===null)return;let r=this.fastMap.get(e);if(!r)return;let n=r.parent;for(let o of this.traverse())o!==r&&r.nodeToRestore&&o.nodeToRestore&&r.scopeRef&&r.scopeRef.current&&Be(o.nodeToRestore,r.scopeRef.current)&&(o.nodeToRestore=r.nodeToRestore);let i=r.children;n&&(n.removeChild(r),i.size>0&&i.forEach(o=>n&&n.addChild(o))),this.fastMap.delete(r.scopeRef)}*traverse(e=this.root){if(e.scopeRef!=null&&(yield e),e.children.size>0)for(let r of e.children)yield*this.traverse(r)}clone(){var e;let r=new Wl;var n;for(let i of this.traverse())r.addTreeNode(i.scopeRef,(n=(e=i.parent)===null||e===void 0?void 0:e.scopeRef)!==null&&n!==void 0?n:null,i.nodeToRestore);return r}constructor(){this.fastMap=new Map,this.root=new tl({scopeRef:null}),this.fastMap.set(null,this.root)}}class tl{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}}let ge=new Wl;function xr(t={}){let{autoFocus:e=!1,isTextInput:r,within:n}=t,i=u.useRef({isFocused:!1,isFocusVisible:e||mr()}),[o,l]=u.useState(!1),[a,s]=u.useState(()=>i.current.isFocused&&i.current.isFocusVisible),c=u.useCallback(()=>s(i.current.isFocused&&i.current.isFocusVisible),[]),d=u.useCallback(g=>{i.current.isFocused=g,l(g),c()},[c]);J5(g=>{i.current.isFocusVisible=g,c()},[],{isTextInput:r});let{focusProps:f}=jl({isDisabled:n,onFocusChange:d}),{focusWithinProps:p}=Di({isDisabled:!n,onFocusWithinChange:d});return{isFocused:o,isFocusVisible:a,focusProps:n?p:f}}function M4(t,e){let r=e==null?void 0:e.isDisabled,[n,i]=u.useState(!1);return ne(()=>{if(t!=null&&t.current&&!r){let o=()=>{if(t.current){let a=qe(t.current,{tabbable:!0});i(!!a.nextNode())}};o();let l=new MutationObserver(o);return l.observe(t.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{l.disconnect()}}}),r?!1:n}function Jc(t){let e=R4(le(t));e!==t&&(e&&B4(e,t),t&&Qc(t,e))}function B4(t,e){t.dispatchEvent(new FocusEvent("blur",{relatedTarget:e})),t.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:e}))}function Qc(t,e){t.dispatchEvent(new FocusEvent("focus",{relatedTarget:e})),t.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:e}))}function R4(t){let e=De(t),r=e==null?void 0:e.getAttribute("aria-activedescendant");return r&&t.getElementById(r)||e}const eu=7e3;let Ue=null;function ls(t,e="assertive",r=eu){Ue?Ue.announce(t,e,r):(Ue=new L4,(typeof IS_REACT_ACT_ENVIRONMENT=="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u")?Ue.announce(t,e,r):setTimeout(()=>{Ue!=null&&Ue.isAttached()&&(Ue==null||Ue.announce(t,e,r))},100))}class L4{isAttached(){var e;return(e=this.node)===null||e===void 0?void 0:e.isConnected}createLog(e){let r=document.createElement("div");return r.setAttribute("role","log"),r.setAttribute("aria-live",e),r.setAttribute("aria-relevant","additions"),r}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(e,r="assertive",n=eu){var i,o;if(!this.node)return;let l=document.createElement("div");typeof e=="object"?(l.setAttribute("role","img"),l.setAttribute("aria-labelledby",e["aria-labelledby"])):l.textContent=e,r==="assertive"?(i=this.assertiveLog)===null||i===void 0||i.appendChild(l):(o=this.politeLog)===null||o===void 0||o.appendChild(l),e!==""&&setTimeout(()=>{l.remove()},n)}clear(e){this.node&&((!e||e==="assertive")&&this.assertiveLog&&(this.assertiveLog.innerHTML=""),(!e||e==="polite")&&this.politeLog&&(this.politeLog.innerHTML=""))}constructor(){this.node=null,this.assertiveLog=null,this.politeLog=null,typeof document<"u"&&(this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node))}}const tu={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},ru={...tu,customError:!0,valid:!1},Tr={isInvalid:!1,validationDetails:tu,validationErrors:[]},K4=u.createContext({}),as="__formValidationState"+Date.now();function j4(t){if(t[as]){let{realtimeValidation:e,displayValidation:r,updateValidation:n,resetValidation:i,commitValidation:o}=t[as];return{realtimeValidation:e,displayValidation:r,updateValidation:n,resetValidation:i,commitValidation:o}}return H4(t)}function H4(t){let{isInvalid:e,validationState:r,name:n,value:i,builtinValidation:o,validate:l,validationBehavior:a="aria"}=t;r&&(e||(e=r==="invalid"));let s=e!==void 0?{isInvalid:e,validationErrors:[],validationDetails:ru}:null,c=u.useMemo(()=>{if(!l||i==null)return null;let V=V4(l,i);return ss(V)},[l,i]);o!=null&&o.validationDetails.valid&&(o=void 0);let d=u.useContext(K4),f=u.useMemo(()=>n?Array.isArray(n)?n.flatMap(V=>rl(d[V])):rl(d[n]):[],[d,n]),[p,g]=u.useState(d),[y,h]=u.useState(!1);d!==p&&(g(d),h(!1));let v=u.useMemo(()=>ss(y?[]:f),[y,f]),b=u.useRef(Tr),[E,C]=u.useState(Tr),D=u.useRef(Tr),F=()=>{if(!w)return;S(!1);let V=c||o||b.current;no(V,D.current)||(D.current=V,C(V))},[w,S]=u.useState(!1);return u.useEffect(F),{realtimeValidation:s||v||c||o||Tr,displayValidation:a==="native"?s||v||E:s||v||c||o||E,updateValidation(V){a==="aria"&&!no(E,V)?C(V):b.current=V},resetValidation(){let V=Tr;no(V,D.current)||(D.current=V,C(V)),a==="native"&&S(!1),h(!0)},commitValidation(){a==="native"&&S(!0),h(!0)}}}function rl(t){return t?Array.isArray(t)?t:[t]:[]}function V4(t,e){if(typeof t=="function"){let r=t(e);if(r&&typeof r!="boolean")return rl(r)}return[]}function ss(t){return t.length?{isInvalid:!0,validationErrors:t,validationDetails:ru}:null}function no(t,e){return t===e?!0:!!t&&!!e&&t.isInvalid===e.isInvalid&&t.validationErrors.length===e.validationErrors.length&&t.validationErrors.every((r,n)=>r===e.validationErrors[n])&&Object.entries(t.validationDetails).every(([r,n])=>e.validationDetails[r]===n)}function z4(t,e,r){let{validationBehavior:n,focus:i}=t;ne(()=>{if(n==="native"&&(r!=null&&r.current)&&!r.current.disabled){let c=e.realtimeValidation.isInvalid?e.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";r.current.setCustomValidity(c),r.current.hasAttribute("title")||(r.current.title=""),e.realtimeValidation.isInvalid||e.updateValidation(W4(r.current))}});let o=u.useRef(!1),l=ve(()=>{o.current||e.resetValidation()}),a=ve(c=>{var d;e.displayValidation.isInvalid||e.commitValidation();let f=r==null||(d=r.current)===null||d===void 0?void 0:d.form;if(!c.defaultPrevented&&r&&f&&Z4(f)===r.current){var p;i?i():(p=r.current)===null||p===void 0||p.focus(),Hc("keyboard")}c.preventDefault()}),s=ve(()=>{e.commitValidation()});u.useEffect(()=>{let c=r==null?void 0:r.current;if(!c)return;let d=c.form,f=d==null?void 0:d.reset;return d&&(d.reset=()=>{o.current=!window.event||window.event.type==="message"&&window.event.target instanceof MessagePort,f==null||f.call(d),o.current=!1}),c.addEventListener("invalid",a),c.addEventListener("change",s),d==null||d.addEventListener("reset",l),()=>{c.removeEventListener("invalid",a),c.removeEventListener("change",s),d==null||d.removeEventListener("reset",l),d&&(d.reset=f)}},[r,a,s,l,n])}function U4(t){let e=t.validity;return{badInput:e.badInput,customError:e.customError,patternMismatch:e.patternMismatch,rangeOverflow:e.rangeOverflow,rangeUnderflow:e.rangeUnderflow,stepMismatch:e.stepMismatch,tooLong:e.tooLong,tooShort:e.tooShort,typeMismatch:e.typeMismatch,valueMissing:e.valueMissing,valid:e.valid}}function W4(t){return{isInvalid:!t.validity.valid,validationDetails:U4(t),validationErrors:t.validationMessage?[t.validationMessage]:[]}}function Z4(t){for(let e=0;e<t.elements.length;e++){let r=t.elements[e];if(!r.validity.valid)return r}return null}function nu(t){let{id:e,label:r,"aria-labelledby":n,"aria-label":i,labelElementType:o="label"}=t;e=Se(e);let l=Se(),a={};r?(n=n?`${l} ${n}`:l,a={id:l,htmlFor:o==="label"?e:void 0}):!n&&!i&&process.env.NODE_ENV!=="production"&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let s=mi({id:e,"aria-label":i,"aria-labelledby":n});return{labelProps:a,fieldProps:s}}function G4(t){let{description:e,errorMessage:r,isInvalid:n,validationState:i}=t,{labelProps:o,fieldProps:l}=nu(t),a=ft([!!e,!!r,n,i]),s=ft([!!e,!!r,n,i]);return l=ie(l,{"aria-describedby":[a,s,t["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:o,fieldProps:l,descriptionProps:{id:a},errorMessageProps:{id:s}}}const cs={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function iu(t={}){let{style:e,isFocusable:r}=t,[n,i]=u.useState(!1),{focusWithinProps:o}=Di({isDisabled:!r,onFocusWithinChange:a=>i(a)}),l=u.useMemo(()=>n?e:e?{...cs,...e}:cs,[n]);return{visuallyHiddenProps:{...o,style:l}}}function q4(t){let{children:e,elementType:r="div",isFocusable:n,style:i,...o}=t,{visuallyHiddenProps:l}=iu(t);return u.createElement(r,ie(o,l),e)}const Ye={top:"top",bottom:"top",left:"left",right:"left"},ei={top:"bottom",bottom:"top",left:"right",right:"left"},Y4={top:"left",left:"top"},nl={top:"height",left:"width"},ou={width:"totalWidth",height:"totalHeight"},Cn={};let be=typeof document<"u"?window.visualViewport:null;function us(t){let e=0,r=0,n=0,i=0,o=0,l=0,a={};var s;let c=((s=be==null?void 0:be.scale)!==null&&s!==void 0?s:1)>1;if(t.tagName==="BODY"){let y=document.documentElement;n=y.clientWidth,i=y.clientHeight;var d;e=(d=be==null?void 0:be.width)!==null&&d!==void 0?d:n;var f;r=(f=be==null?void 0:be.height)!==null&&f!==void 0?f:i,a.top=y.scrollTop||t.scrollTop,a.left=y.scrollLeft||t.scrollLeft,be&&(o=be.offsetTop,l=be.offsetLeft)}else({width:e,height:r,top:o,left:l}=fr(t,!1)),a.top=t.scrollTop,a.left=t.scrollLeft,n=e,i=r;if(Tl()&&(t.tagName==="BODY"||t.tagName==="HTML")&&c){a.top=0,a.left=0;var p;o=(p=be==null?void 0:be.pageTop)!==null&&p!==void 0?p:0;var g;l=(g=be==null?void 0:be.pageLeft)!==null&&g!==void 0?g:0}return{width:e,height:r,totalWidth:n,totalHeight:i,scroll:a,top:o,left:l}}function X4(t){return{top:t.scrollTop,left:t.scrollLeft,width:t.scrollWidth,height:t.scrollHeight}}function ds(t,e,r,n,i,o,l){var a;let s=(a=i.scroll[t])!==null&&a!==void 0?a:0,c=n[nl[t]],d=n.scroll[Ye[t]]+o,f=c+n.scroll[Ye[t]]-o,p=e-s+l[t]-n[Ye[t]],g=e-s+r+l[t]-n[Ye[t]];return p<d?d-p:g>f?Math.max(f-g,d-p):0}function J4(t){let e=window.getComputedStyle(t);return{top:parseInt(e.marginTop,10)||0,bottom:parseInt(e.marginBottom,10)||0,left:parseInt(e.marginLeft,10)||0,right:parseInt(e.marginRight,10)||0}}function fs(t){if(Cn[t])return Cn[t];let[e,r]=t.split(" "),n=Ye[e]||"right",i=Y4[n];Ye[r]||(r="center");let o=nl[n],l=nl[i];return Cn[t]={placement:e,crossPlacement:r,axis:n,crossAxis:i,size:o,crossSize:l},Cn[t]}function io(t,e,r,n,i,o,l,a,s,c){let{placement:d,crossPlacement:f,axis:p,crossAxis:g,size:y,crossSize:h}=n,v={};var b;v[g]=(b=t[g])!==null&&b!==void 0?b:0;var E,C,D,F;f==="center"?v[g]+=(((E=t[h])!==null&&E!==void 0?E:0)-((C=r[h])!==null&&C!==void 0?C:0))/2:f!==g&&(v[g]+=((D=t[h])!==null&&D!==void 0?D:0)-((F=r[h])!==null&&F!==void 0?F:0)),v[g]+=o;const w=t[g]-r[h]+s+c,S=t[g]+t[h]-s-c;if(v[g]=zo(v[g],w,S),d===p){const M=a?l[y]:e[ou[y]];v[ei[p]]=Math.floor(M-t[p]+i)}else v[p]=Math.floor(t[p]+t[y]+i);return v}function Q4(t,e,r,n,i,o,l,a){const s=n?r.height:e[ou.height];var c;let d=t.top!=null?r.top+t.top:r.top+(s-((c=t.bottom)!==null&&c!==void 0?c:0)-l);var f,p,g,y,h,v;let b=a!=="top"?Math.max(0,e.height+e.top+((f=e.scroll.top)!==null&&f!==void 0?f:0)-d-(((p=i.top)!==null&&p!==void 0?p:0)+((g=i.bottom)!==null&&g!==void 0?g:0)+o)):Math.max(0,d+l-(e.top+((y=e.scroll.top)!==null&&y!==void 0?y:0))-(((h=i.top)!==null&&h!==void 0?h:0)+((v=i.bottom)!==null&&v!==void 0?v:0)+o));return Math.min(e.height-o*2,b)}function hs(t,e,r,n,i,o){let{placement:l,axis:a,size:s}=o;var c,d;if(l===a)return Math.max(0,r[a]-t[a]-((c=t.scroll[a])!==null&&c!==void 0?c:0)+e[a]-((d=n[a])!==null&&d!==void 0?d:0)-n[ei[a]]-i);var f;return Math.max(0,t[s]+t[a]+t.scroll[a]-e[a]-r[a]-r[s]-((f=n[a])!==null&&f!==void 0?f:0)-n[ei[a]]-i)}function eh(t,e,r,n,i,o,l,a,s,c,d,f,p,g,y,h){let v=fs(t),{size:b,crossAxis:E,crossSize:C,placement:D,crossPlacement:F}=v,w=io(e,a,r,v,d,f,c,p,y,h),S=d,M=hs(a,c,e,i,o+d,v);if(l&&n[b]>M){let H=fs(`${ei[D]} ${F}`),W=io(e,a,r,H,d,f,c,p,y,h);hs(a,c,e,i,o+d,H)>M&&(v=H,w=W,S=d)}let _="bottom";v.axis==="top"?v.placement==="top"?_="top":v.placement==="bottom"&&(_="bottom"):v.crossAxis==="top"&&(v.crossPlacement==="top"?_="bottom":v.crossPlacement==="bottom"&&(_="top"));let V=ds(E,w[E],r[C],a,s,o,c);w[E]+=V;let x=Q4(w,a,c,p,i,o,r.height,_);g&&g<x&&(x=g),r.height=Math.min(r.height,x),w=io(e,a,r,v,S,f,c,p,y,h),V=ds(E,w[E],r[C],a,s,o,c),w[E]+=V;let N={},U=e[E]-w[E]-i[Ye[E]],k=U+.5*e[C];const Z=y/2+h;var A,O,z,R;const I=Ye[E]==="left"?((A=i.left)!==null&&A!==void 0?A:0)+((O=i.right)!==null&&O!==void 0?O:0):((z=i.top)!==null&&z!==void 0?z:0)+((R=i.bottom)!==null&&R!==void 0?R:0),L=r[C]-I-y/2-h,$=e[E]+y/2-(w[E]+i[Ye[E]]),P=e[E]+e[C]-y/2-(w[E]+i[Ye[E]]),B=zo(k,$,P);N[E]=zo(B,Z,L),{placement:D,crossPlacement:F}=v,y?U=N[E]:F==="right"?U+=e[C]:F==="center"&&(U+=e[C]/2);let K=D==="left"||D==="top"?r[b]:0,j={x:D==="top"||D==="bottom"?U:K,y:D==="left"||D==="right"?U:K};return{position:w,maxHeight:x,arrowOffsetLeft:N.left,arrowOffsetTop:N.top,placement:D,triggerAnchorPoint:j}}function th(t){let{placement:e,targetNode:r,overlayNode:n,scrollNode:i,padding:o,shouldFlip:l,boundaryElement:a,offset:s,crossOffset:c,maxHeight:d,arrowSize:f=0,arrowBoundaryOffset:p=0}=t,g=n instanceof HTMLElement?rh(n):document.documentElement,y=g===document.documentElement;const h=window.getComputedStyle(g).position;let v=!!h&&h!=="static",b=y?fr(r,!1):ps(r,g,!1);if(!y){let{marginTop:N,marginLeft:U}=window.getComputedStyle(r);b.top+=parseInt(N,10)||0,b.left+=parseInt(U,10)||0}let E=fr(n,!0),C=J4(n);var D,F;E.width+=((D=C.left)!==null&&D!==void 0?D:0)+((F=C.right)!==null&&F!==void 0?F:0);var w,S;E.height+=((w=C.top)!==null&&w!==void 0?w:0)+((S=C.bottom)!==null&&S!==void 0?S:0);let M=X4(i),_=us(a),V=us(g),x=a.tagName==="BODY"?fr(g,!1):ps(g,a,!1);return g.tagName==="HTML"&&a.tagName==="BODY"&&(V.scroll.top=0,V.scroll.left=0),eh(e,b,E,M,C,o,l,_,V,x,s,c,v,d,f,p)}function Zl(t,e){let{top:r,left:n,width:i,height:o}=t.getBoundingClientRect();return e&&t instanceof t.ownerDocument.defaultView.HTMLElement&&(i=t.offsetWidth,o=t.offsetHeight),{top:r,left:n,width:i,height:o}}function fr(t,e){let{top:r,left:n,width:i,height:o}=Zl(t,e),{scrollTop:l,scrollLeft:a,clientTop:s,clientLeft:c}=document.documentElement;return{top:r+l-s,left:n+a-c,width:i,height:o}}function ps(t,e,r){let n=window.getComputedStyle(t),i;if(n.position==="fixed")i=Zl(t,r);else{i=fr(t,r);let o=fr(e,r),l=window.getComputedStyle(e);o.top+=(parseInt(l.borderTopWidth,10)||0)-e.scrollTop,o.left+=(parseInt(l.borderLeftWidth,10)||0)-e.scrollLeft,i.top-=o.top,i.left-=o.left}return i.top-=parseInt(n.marginTop,10)||0,i.left-=parseInt(n.marginLeft,10)||0,i}function rh(t){let e=t.offsetParent;if(e&&e===document.body&&window.getComputedStyle(e).position==="static"&&!gs(e)&&(e=document.documentElement),e==null)for(e=t.parentElement;e&&!gs(e);)e=e.parentElement;return e||document.documentElement}function gs(t){let e=window.getComputedStyle(t);return e.transform!=="none"||/transform|perspective/.test(e.willChange)||e.filter!=="none"||e.contain==="paint"||"backdropFilter"in e&&e.backdropFilter!=="none"||"WebkitBackdropFilter"in e&&e.WebkitBackdropFilter!=="none"}const lu=new WeakMap;function nh(t){let{triggerRef:e,isOpen:r,onClose:n}=t;u.useEffect(()=>{if(!r||n===null)return;let i=o=>{let l=o.target;if(!e.current||l instanceof Node&&!l.contains(e.current)||o.target instanceof HTMLInputElement||o.target instanceof HTMLTextAreaElement)return;let a=n||lu.get(e.current);a&&a()};return window.addEventListener("scroll",i,!0),()=>{window.removeEventListener("scroll",i,!0)}},[r,n,e])}let fe=typeof document<"u"?window.visualViewport:null;function ih(t){let{direction:e}=Kt(),{arrowSize:r,targetRef:n,overlayRef:i,arrowRef:o,scrollRef:l=i,placement:a="bottom",containerPadding:s=12,shouldFlip:c=!0,boundaryElement:d=typeof document<"u"?document.body:null,offset:f=0,crossOffset:p=0,shouldUpdatePosition:g=!0,isOpen:y=!0,onClose:h,maxHeight:v,arrowBoundaryOffset:b=0}=t,[E,C]=u.useState(null),D=[g,a,i.current,n.current,o==null?void 0:o.current,l.current,s,c,d,f,p,y,e,v,b,r],F=u.useRef(fe==null?void 0:fe.scale);u.useEffect(()=>{y&&(F.current=fe==null?void 0:fe.scale)},[y]);let w=u.useCallback(()=>{if(g===!1||!y||!i.current||!n.current||!d||(fe==null?void 0:fe.scale)!==F.current)return;let N=null;if(l.current&&l.current.contains(document.activeElement)){var U;let I=(U=document.activeElement)===null||U===void 0?void 0:U.getBoundingClientRect(),L=l.current.getBoundingClientRect();var k;if(N={type:"top",offset:((k=I==null?void 0:I.top)!==null&&k!==void 0?k:0)-L.top},N.offset>L.height/2){N.type="bottom";var Z;N.offset=((Z=I==null?void 0:I.bottom)!==null&&Z!==void 0?Z:0)-L.bottom}}let A=i.current;if(!v&&i.current){var O;A.style.top="0px",A.style.bottom="";var z;A.style.maxHeight=((z=(O=window.visualViewport)===null||O===void 0?void 0:O.height)!==null&&z!==void 0?z:window.innerHeight)+"px"}let R=th({placement:lh(a,e),overlayNode:i.current,targetNode:n.current,scrollNode:l.current||i.current,padding:s,shouldFlip:c,boundaryElement:d,offset:f,crossOffset:p,maxHeight:v,arrowSize:r??(o!=null&&o.current?Zl(o.current,!0).width:0),arrowBoundaryOffset:b});if(R.position){if(A.style.top="",A.style.bottom="",A.style.left="",A.style.right="",Object.keys(R.position).forEach(I=>A.style[I]=R.position[I]+"px"),A.style.maxHeight=R.maxHeight!=null?R.maxHeight+"px":"",N&&document.activeElement&&l.current){let I=document.activeElement.getBoundingClientRect(),L=l.current.getBoundingClientRect(),$=I[N.type]-L[N.type];l.current.scrollTop+=$-N.offset}C(R)}},D);ne(w,D),oh(w),Ho({ref:i,onResize:w}),Ho({ref:n,onResize:w});let S=u.useRef(!1);ne(()=>{let N,U=()=>{S.current=!0,clearTimeout(N),N=setTimeout(()=>{S.current=!1},500),w()},k=()=>{S.current&&U()};return fe==null||fe.addEventListener("resize",U),fe==null||fe.addEventListener("scroll",k),()=>{fe==null||fe.removeEventListener("resize",U),fe==null||fe.removeEventListener("scroll",k)}},[w]);let M=u.useCallback(()=>{S.current||h==null||h()},[h,S]);nh({triggerRef:n,isOpen:y,onClose:h&&M});var _,V,x;return{overlayProps:{style:{position:E?"absolute":"fixed",top:E?void 0:0,left:E?void 0:0,zIndex:1e5,...E==null?void 0:E.position,maxHeight:(_=E==null?void 0:E.maxHeight)!==null&&_!==void 0?_:"100vh"}},placement:(V=E==null?void 0:E.placement)!==null&&V!==void 0?V:null,triggerAnchorPoint:(x=E==null?void 0:E.triggerAnchorPoint)!==null&&x!==void 0?x:null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:E==null?void 0:E.arrowOffsetLeft,top:E==null?void 0:E.arrowOffsetTop}},updatePosition:w}}function oh(t){ne(()=>(window.addEventListener("resize",t,!1),()=>{window.removeEventListener("resize",t,!1)}),[t])}function lh(t,e){return e==="rtl"?t.replace("start","right").replace("end","left"):t.replace("start","left").replace("end","right")}const We=[];function ah(t,e){let{onClose:r,shouldCloseOnBlur:n,isOpen:i,isDismissable:o=!1,isKeyboardDismissDisabled:l=!1,shouldCloseOnInteractOutside:a}=t;u.useEffect(()=>{if(i&&!We.includes(e))return We.push(e),()=>{let y=We.indexOf(e);y>=0&&We.splice(y,1)}},[i,e]);let s=()=>{We[We.length-1]===e&&r&&r()},c=y=>{(!a||a(y.target))&&We[We.length-1]===e&&(y.stopPropagation(),y.preventDefault())},d=y=>{(!a||a(y.target))&&(We[We.length-1]===e&&(y.stopPropagation(),y.preventDefault()),s())},f=y=>{y.key==="Escape"&&!l&&!y.nativeEvent.isComposing&&(y.stopPropagation(),y.preventDefault(),s())};r4({ref:e,onInteractOutside:o&&i?d:void 0,onInteractOutsideStart:c});let{focusWithinProps:p}=Di({isDisabled:!n,onBlurWithin:y=>{!y.relatedTarget||k4(y.relatedTarget)||(!a||a(y.relatedTarget))&&(r==null||r())}}),g=y=>{y.target===y.currentTarget&&y.preventDefault()};return{overlayProps:{onKeyDown:f,...p},underlayProps:{onPointerDown:g}}}function sh(t,e,r){let{type:n}=t,{isOpen:i}=e;u.useEffect(()=>{r&&r.current&&lu.set(r.current,e.close)});let o;n==="menu"?o=!0:n==="listbox"&&(o="listbox");let l=Se();return{triggerProps:{"aria-haspopup":o,"aria-expanded":i,"aria-controls":i?l:void 0,onPress:e.toggle},overlayProps:{id:l}}}const oo=typeof document<"u"&&window.visualViewport,ch=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let En=0,lo;function uh(t={}){let{isDisabled:e}=t;ne(()=>{if(!e)return En++,En===1&&(gi()?lo=fh():lo=dh()),()=>{En--,En===0&&lo()}},[e])}function dh(){let t=window.innerWidth-document.documentElement.clientWidth;return pt(t>0&&("scrollbarGutter"in document.documentElement.style?St(document.documentElement,"scrollbarGutter","stable"):St(document.documentElement,"paddingRight",`${t}px`)),St(document.documentElement,"overflow","hidden"))}function fh(){let t,e,r=c=>{t=$c(c.target,!0),!(t===document.documentElement&&t===document.body)&&t instanceof HTMLElement&&window.getComputedStyle(t).overscrollBehavior==="auto"&&(e=St(t,"overscrollBehavior","contain"))},n=c=>{if(!t||t===document.documentElement||t===document.body){c.preventDefault();return}t.scrollHeight===t.clientHeight&&t.scrollWidth===t.clientWidth&&c.preventDefault()},i=()=>{e&&e()},o=c=>{let d=c.target;hh(d)&&(a(),d.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{d.style.transform="",oo&&(oo.height<window.innerHeight?requestAnimationFrame(()=>{vs(d)}):oo.addEventListener("resize",()=>vs(d),{once:!0}))}))},l=null,a=()=>{if(l)return;let c=()=>{window.scrollTo(0,0)},d=window.pageXOffset,f=window.pageYOffset;l=pt(Ar(window,"scroll",c),St(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),St(document.documentElement,"overflow","hidden"),St(document.body,"marginTop",`-${f}px`),()=>{window.scrollTo(d,f)}),window.scrollTo(0,0)},s=pt(Ar(document,"touchstart",r,{passive:!1,capture:!0}),Ar(document,"touchmove",n,{passive:!1,capture:!0}),Ar(document,"touchend",i,{passive:!1,capture:!0}),Ar(document,"focus",o,!0));return()=>{e==null||e(),l==null||l(),s()}}function St(t,e,r){let n=t.style[e];return t.style[e]=r,()=>{t.style[e]=n}}function Ar(t,e,r,n){return t.addEventListener(e,r,n),()=>{t.removeEventListener(e,r,n)}}function vs(t){let e=document.scrollingElement||document.documentElement,r=t;for(;r&&r!==e;){let n=$c(r);if(n!==document.documentElement&&n!==document.body&&n!==r){let i=n.getBoundingClientRect().top,o=r.getBoundingClientRect().top;o>i+r.clientHeight&&(n.scrollTop+=o-i)}r=n.parentElement}}function hh(t){return t instanceof HTMLInputElement&&!ch.has(t.type)||t instanceof HTMLTextAreaElement||t instanceof HTMLElement&&t.isContentEditable}const ph=u.createContext({});function gh(){var t;return(t=u.useContext(ph))!==null&&t!==void 0?t:{}}var au={};au={dismiss:"تجاهل"};var su={};su={dismiss:"Отхвърляне"};var cu={};cu={dismiss:"Odstranit"};var uu={};uu={dismiss:"Luk"};var du={};du={dismiss:"Schließen"};var fu={};fu={dismiss:"Απόρριψη"};var hu={};hu={dismiss:"Dismiss"};var pu={};pu={dismiss:"Descartar"};var gu={};gu={dismiss:"Lõpeta"};var vu={};vu={dismiss:"Hylkää"};var bu={};bu={dismiss:"Rejeter"};var mu={};mu={dismiss:"התעלם"};var yu={};yu={dismiss:"Odbaci"};var Cu={};Cu={dismiss:"Elutasítás"};var Eu={};Eu={dismiss:"Ignora"};var wu={};wu={dismiss:"閉じる"};var Du={};Du={dismiss:"무시"};var xu={};xu={dismiss:"Atmesti"};var Su={};Su={dismiss:"Nerādīt"};var Fu={};Fu={dismiss:"Lukk"};var $u={};$u={dismiss:"Negeren"};var Pu={};Pu={dismiss:"Zignoruj"};var Tu={};Tu={dismiss:"Descartar"};var Au={};Au={dismiss:"Dispensar"};var _u={};_u={dismiss:"Revocare"};var ku={};ku={dismiss:"Пропустить"};var Iu={};Iu={dismiss:"Zrušiť"};var Ou={};Ou={dismiss:"Opusti"};var Nu={};Nu={dismiss:"Odbaci"};var Mu={};Mu={dismiss:"Avvisa"};var Bu={};Bu={dismiss:"Kapat"};var Ru={};Ru={dismiss:"Скасувати"};var Lu={};Lu={dismiss:"取消"};var Ku={};Ku={dismiss:"關閉"};var ju={};ju={"ar-AE":au,"bg-BG":su,"cs-CZ":cu,"da-DK":uu,"de-DE":du,"el-GR":fu,"en-US":hu,"es-ES":pu,"et-EE":gu,"fi-FI":vu,"fr-FR":bu,"he-IL":mu,"hr-HR":yu,"hu-HU":Cu,"it-IT":Eu,"ja-JP":wu,"ko-KR":Du,"lt-LT":xu,"lv-LV":Su,"nb-NO":Fu,"nl-NL":$u,"pl-PL":Pu,"pt-BR":Tu,"pt-PT":Au,"ro-RO":_u,"ru-RU":ku,"sk-SK":Iu,"sl-SI":Ou,"sr-SP":Nu,"sv-SE":Mu,"tr-TR":Bu,"uk-UA":Ru,"zh-CN":Lu,"zh-TW":Ku};function vh(t){return t&&t.__esModule?t.default:t}function bs(t){let{onDismiss:e,...r}=t,n=qc(vh(ju),"@react-aria/overlays"),i=mi(r,n.format("dismiss")),o=()=>{e&&e()};return u.createElement(q4,null,u.createElement("button",{...i,tabIndex:-1,onClick:o,style:{width:1,height:1}}))}const bh=typeof HTMLElement<"u"&&"inert"in HTMLElement.prototype;let _r=new WeakMap,Pe=[];function mh(t,e){let r=_e(t==null?void 0:t[0]),n=e instanceof r.Element?{root:e}:e;var i;let o=(i=n==null?void 0:n.root)!==null&&i!==void 0?i:document.body,l=(n==null?void 0:n.shouldUseInert)&&bh,a=new Set(t),s=new Set,c=h=>l&&h instanceof r.HTMLElement?h.inert:h.getAttribute("aria-hidden")==="true",d=(h,v)=>{l&&h instanceof r.HTMLElement?h.inert=v:v?h.setAttribute("aria-hidden","true"):(h.removeAttribute("aria-hidden"),h instanceof r.HTMLElement&&(h.inert=!1))},f=h=>{for(let C of h.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))a.add(C);let v=C=>{if(s.has(C)||a.has(C)||C.parentElement&&s.has(C.parentElement)&&C.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let D of a)if(C.contains(D))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},b=document.createTreeWalker(h,NodeFilter.SHOW_ELEMENT,{acceptNode:v}),E=v(h);if(E===NodeFilter.FILTER_ACCEPT&&p(h),E!==NodeFilter.FILTER_REJECT){let C=b.nextNode();for(;C!=null;)p(C),C=b.nextNode()}},p=h=>{var v;let b=(v=_r.get(h))!==null&&v!==void 0?v:0;c(h)&&b===0||(b===0&&d(h,!0),s.add(h),_r.set(h,b+1))};Pe.length&&Pe[Pe.length-1].disconnect(),f(o);let g=new MutationObserver(h=>{for(let v of h)if(v.type==="childList"&&![...a,...s].some(b=>b.contains(v.target)))for(let b of v.addedNodes)(b instanceof HTMLElement||b instanceof SVGElement)&&(b.dataset.liveAnnouncer==="true"||b.dataset.reactAriaTopLayer==="true")?a.add(b):b instanceof Element&&f(b)});g.observe(o,{childList:!0,subtree:!0});let y={visibleNodes:a,hiddenNodes:s,observe(){g.observe(o,{childList:!0,subtree:!0})},disconnect(){g.disconnect()}};return Pe.push(y),()=>{g.disconnect();for(let h of s){let v=_r.get(h);v!=null&&(v===1?(d(h,!1),_r.delete(h)):_r.set(h,v-1))}y===Pe[Pe.length-1]?(Pe.pop(),Pe.length&&Pe[Pe.length-1].observe()):Pe.splice(Pe.indexOf(y),1)}}function yh(t){let e=Pe[Pe.length-1];if(e&&!e.visibleNodes.has(t))return e.visibleNodes.add(t),()=>{e.visibleNodes.delete(t)}}function Ch(t,e){let{triggerRef:r,popoverRef:n,groupRef:i,isNonModal:o,isKeyboardDismissDisabled:l,shouldCloseOnInteractOutside:a,...s}=t,c=s.trigger==="SubmenuTrigger",{overlayProps:d,underlayProps:f}=ah({isOpen:e.isOpen,onClose:e.close,shouldCloseOnBlur:!0,isDismissable:!o||c,isKeyboardDismissDisabled:l,shouldCloseOnInteractOutside:a},i??n),{overlayProps:p,arrowProps:g,placement:y,triggerAnchorPoint:h}=ih({...s,targetRef:r,overlayRef:n,isOpen:e.isOpen,onClose:o&&!c?e.close:null});return uh({isDisabled:o||!e.isOpen}),u.useEffect(()=>{if(e.isOpen&&n.current){var v,b;return o?yh((v=i==null?void 0:i.current)!==null&&v!==void 0?v:n.current):mh([(b=i==null?void 0:i.current)!==null&&b!==void 0?b:n.current],{shouldUseInert:!0})}},[o,e.isOpen,n,i]),{popoverProps:ie(d,p),arrowProps:g,underlayProps:f,placement:y,triggerAnchorPoint:h}}const Hu=u.createContext(null);function ms(t){let e=sn(),{portalContainer:r=e?null:document.body,isExiting:n}=t,[i,o]=u.useState(!1),l=u.useMemo(()=>({contain:i,setContain:o}),[i,o]),{getContainer:a}=gh();if(!t.portalContainer&&a&&(r=a()),!r)return null;let s=t.children;return t.disableFocusManagement||(s=u.createElement(Ul,{restoreFocus:!0,contain:(t.shouldContainFocus||i)&&!n},s)),s=u.createElement(Hu.Provider,{value:l},u.createElement(e4,null,s)),Rt.createPortal(s,r)}function Eh(){let t=u.useContext(Hu),e=t==null?void 0:t.setContain;ne(()=>{e==null||e(!0)},[e])}const Gl=new WeakMap;function wh(t){return typeof t=="string"?t.replace(/\s*/g,""):""+t}function Dh(t,e){let r=Gl.get(t);if(!r)throw new Error("Unknown list");return`${r.id}-option-${wh(e)}`}function il(t){return a5()?t.altKey:t.ctrlKey}function Nn(t,e){var r,n;let i=`[data-key="${CSS.escape(String(e))}"]`,o=(r=t.current)===null||r===void 0?void 0:r.dataset.collection;return o&&(i=`[data-collection="${CSS.escape(o)}"]${i}`),(n=t.current)===null||n===void 0?void 0:n.querySelector(i)}const Vu=new WeakMap;function xh(t){let e=Se();return Vu.set(t,e),e}function Sh(t){return Vu.get(t)}const Fh=1e3;function zu(t){let{keyboardDelegate:e,selectionManager:r,onTypeSelect:n}=t,i=u.useRef({search:"",timeout:void 0}).current,o=l=>{let a=$h(l.key);if(!(!a||l.ctrlKey||l.metaKey||!l.currentTarget.contains(l.target)||i.search.length===0&&a===" ")){if(a===" "&&i.search.trim().length>0&&(l.preventDefault(),"continuePropagation"in l||l.stopPropagation()),i.search+=a,e.getKeyForSearch!=null){let s=e.getKeyForSearch(i.search,r.focusedKey);s==null&&(s=e.getKeyForSearch(i.search)),s!=null&&(r.setFocusedKey(s),n&&n(s))}clearTimeout(i.timeout),i.timeout=setTimeout(()=>{i.search=""},Fh)}};return{typeSelectProps:{onKeyDownCapture:e.getKeyForSearch?o:void 0}}}function $h(t){return t.length===1||!/^[A-Z]/i.test(t)?t:""}function Uu(t){let{selectionManager:e,keyboardDelegate:r,ref:n,autoFocus:i=!1,shouldFocusWrap:o=!1,disallowEmptySelection:l=!1,disallowSelectAll:a=!1,escapeKeyBehavior:s="clearSelection",selectOnFocus:c=e.selectionBehavior==="replace",disallowTypeAhead:d=!1,shouldUseVirtualFocus:f,allowsTabNavigation:p=!1,isVirtualized:g,scrollRef:y=n,linkBehavior:h="action"}=t,{direction:v}=Kt(),b=vi(),E=O=>{var z;if(O.altKey&&O.key==="Tab"&&O.preventDefault(),!(!((z=n.current)===null||z===void 0)&&z.contains(O.target)))return;const R=(G,te)=>{if(G!=null){if(e.isLink(G)&&h==="selection"&&c&&!il(O)){Rt.flushSync(()=>{e.setFocusedKey(G,te)});let de=Nn(n,G),Re=e.getItemProps(G);de&&b.open(de,O,Re.href,Re.routerOptions);return}if(e.setFocusedKey(G,te),e.isLink(G)&&h==="override")return;O.shiftKey&&e.selectionMode==="multiple"?e.extendSelection(G):c&&!il(O)&&e.replaceSelection(G)}};switch(O.key){case"ArrowDown":if(r.getKeyBelow){var I,L,$;let G=e.focusedKey!=null?(I=r.getKeyBelow)===null||I===void 0?void 0:I.call(r,e.focusedKey):(L=r.getFirstKey)===null||L===void 0?void 0:L.call(r);G==null&&o&&(G=($=r.getFirstKey)===null||$===void 0?void 0:$.call(r,e.focusedKey)),G!=null&&(O.preventDefault(),R(G))}break;case"ArrowUp":if(r.getKeyAbove){var P,B,K;let G=e.focusedKey!=null?(P=r.getKeyAbove)===null||P===void 0?void 0:P.call(r,e.focusedKey):(B=r.getLastKey)===null||B===void 0?void 0:B.call(r);G==null&&o&&(G=(K=r.getLastKey)===null||K===void 0?void 0:K.call(r,e.focusedKey)),G!=null&&(O.preventDefault(),R(G))}break;case"ArrowLeft":if(r.getKeyLeftOf){var j,H,W;let G=e.focusedKey!=null?(j=r.getKeyLeftOf)===null||j===void 0?void 0:j.call(r,e.focusedKey):null;G==null&&o&&(G=v==="rtl"?(H=r.getFirstKey)===null||H===void 0?void 0:H.call(r,e.focusedKey):(W=r.getLastKey)===null||W===void 0?void 0:W.call(r,e.focusedKey)),G!=null&&(O.preventDefault(),R(G,v==="rtl"?"first":"last"))}break;case"ArrowRight":if(r.getKeyRightOf){var q,Y,ae;let G=e.focusedKey!=null?(q=r.getKeyRightOf)===null||q===void 0?void 0:q.call(r,e.focusedKey):null;G==null&&o&&(G=v==="rtl"?(Y=r.getLastKey)===null||Y===void 0?void 0:Y.call(r,e.focusedKey):(ae=r.getFirstKey)===null||ae===void 0?void 0:ae.call(r,e.focusedKey)),G!=null&&(O.preventDefault(),R(G,v==="rtl"?"last":"first"))}break;case"Home":if(r.getFirstKey){if(e.focusedKey===null&&O.shiftKey)return;O.preventDefault();let G=r.getFirstKey(e.focusedKey,ir(O));e.setFocusedKey(G),G!=null&&(ir(O)&&O.shiftKey&&e.selectionMode==="multiple"?e.extendSelection(G):c&&e.replaceSelection(G))}break;case"End":if(r.getLastKey){if(e.focusedKey===null&&O.shiftKey)return;O.preventDefault();let G=r.getLastKey(e.focusedKey,ir(O));e.setFocusedKey(G),G!=null&&(ir(O)&&O.shiftKey&&e.selectionMode==="multiple"?e.extendSelection(G):c&&e.replaceSelection(G))}break;case"PageDown":if(r.getKeyPageBelow&&e.focusedKey!=null){let G=r.getKeyPageBelow(e.focusedKey);G!=null&&(O.preventDefault(),R(G))}break;case"PageUp":if(r.getKeyPageAbove&&e.focusedKey!=null){let G=r.getKeyPageAbove(e.focusedKey);G!=null&&(O.preventDefault(),R(G))}break;case"a":ir(O)&&e.selectionMode==="multiple"&&a!==!0&&(O.preventDefault(),e.selectAll());break;case"Escape":s==="clearSelection"&&!l&&e.selectedKeys.size!==0&&(O.stopPropagation(),O.preventDefault(),e.clearSelection());break;case"Tab":if(!p){if(O.shiftKey)n.current.focus();else{let G=qe(n.current,{tabbable:!0}),te,de;do de=G.lastChild(),de&&(te=de);while(de);te&&!te.contains(document.activeElement)&&Ve(te)}break}}},C=u.useRef({top:0,left:0});pn(y,"scroll",g?void 0:()=>{var O,z,R,I;C.current={top:(R=(O=y.current)===null||O===void 0?void 0:O.scrollTop)!==null&&R!==void 0?R:0,left:(I=(z=y.current)===null||z===void 0?void 0:z.scrollLeft)!==null&&I!==void 0?I:0}});let D=O=>{if(e.isFocused){O.currentTarget.contains(O.target)||e.setFocused(!1);return}if(O.currentTarget.contains(O.target)){if(e.setFocused(!0),e.focusedKey==null){var z,R;let $=B=>{B!=null&&(e.setFocusedKey(B),c&&!e.isSelected(B)&&e.replaceSelection(B))},P=O.relatedTarget;var I,L;P&&O.currentTarget.compareDocumentPosition(P)&Node.DOCUMENT_POSITION_FOLLOWING?$((I=e.lastSelectedKey)!==null&&I!==void 0?I:(z=r.getLastKey)===null||z===void 0?void 0:z.call(r)):$((L=e.firstSelectedKey)!==null&&L!==void 0?L:(R=r.getFirstKey)===null||R===void 0?void 0:R.call(r))}else!g&&y.current&&(y.current.scrollTop=C.current.top,y.current.scrollLeft=C.current.left);if(e.focusedKey!=null&&y.current){let $=Nn(n,e.focusedKey);$ instanceof HTMLElement&&(!$.contains(document.activeElement)&&!f&&Ve($),Xn()==="keyboard"&&Ma($,{containingElement:n.current}))}}},F=O=>{O.currentTarget.contains(O.relatedTarget)||e.setFocused(!1)},w=u.useRef(!1);pn(n,D5,f?O=>{let{detail:z}=O;O.stopPropagation(),e.setFocused(!0),(z==null?void 0:z.focusStrategy)==="first"&&(w.current=!0)}:void 0);let S=ve(()=>{var O,z;let R=(z=(O=r.getFirstKey)===null||O===void 0?void 0:O.call(r))!==null&&z!==void 0?z:null;if(R==null){let I=De();Jc(n.current),Qc(I,null),e.collection.size>0&&(w.current=!1)}else e.setFocusedKey(R),w.current=!1});Oa(()=>{w.current&&S()},[e.collection,S]);let M=ve(()=>{e.collection.size>0&&(w.current=!1)});Oa(()=>{M()},[e.focusedKey,M]),pn(n,w5,f?O=>{var z;O.stopPropagation(),e.setFocused(!1),!((z=O.detail)===null||z===void 0)&&z.clearFocusKey&&e.setFocusedKey(null)}:void 0);const _=u.useRef(i),V=u.useRef(!1);u.useEffect(()=>{if(_.current){var O,z;let L=null;var R;i==="first"&&(L=(R=(O=r.getFirstKey)===null||O===void 0?void 0:O.call(r))!==null&&R!==void 0?R:null);var I;i==="last"&&(L=(I=(z=r.getLastKey)===null||z===void 0?void 0:z.call(r))!==null&&I!==void 0?I:null);let $=e.selectedKeys;if($.size){for(let P of $)if(e.canSelectItem(P)){L=P;break}}e.setFocused(!0),e.setFocusedKey(L),L==null&&!f&&n.current&&vt(n.current),e.collection.size>0&&(_.current=!1,V.current=!0)}});let x=u.useRef(e.focusedKey),N=u.useRef(null);u.useEffect(()=>{if(e.isFocused&&e.focusedKey!=null&&(e.focusedKey!==x.current||V.current)&&y.current&&n.current){let O=Xn(),z=Nn(n,e.focusedKey);if(!(z instanceof HTMLElement))return;(O==="keyboard"||V.current)&&(N.current&&cancelAnimationFrame(N.current),N.current=requestAnimationFrame(()=>{y.current&&(Pc(y.current,z),O!=="virtual"&&Ma(z,{containingElement:n.current}))}))}!f&&e.isFocused&&e.focusedKey==null&&x.current!=null&&n.current&&vt(n.current),x.current=e.focusedKey,V.current=!1}),u.useEffect(()=>()=>{N.current&&cancelAnimationFrame(N.current)},[]),pn(n,"react-aria-focus-scope-restore",O=>{O.preventDefault(),e.setFocused(!0)});let U={onKeyDown:E,onFocus:D,onBlur:F,onMouseDown(O){y.current===O.target&&O.preventDefault()}},{typeSelectProps:k}=zu({keyboardDelegate:r,selectionManager:e});d||(U=ie(k,U));let Z;f||(Z=e.focusedKey==null?0:-1);let A=xh(e.collection);return{collectionProps:ie(U,{tabIndex:Z,"data-collection":A})}}function ql(t){let{id:e,selectionManager:r,key:n,ref:i,shouldSelectOnPressUp:o,shouldUseVirtualFocus:l,focus:a,isDisabled:s,onAction:c,allowsDifferentPressOrigin:d,linkBehavior:f="action"}=t,p=vi();e=Se(e);let g=R=>{if(R.pointerType==="keyboard"&&il(R))r.toggleSelection(n);else{if(r.selectionMode==="none")return;if(r.isLink(n)){if(f==="selection"&&i.current){let I=r.getItemProps(n);p.open(i.current,R,I.href,I.routerOptions),r.setSelectedKeys(r.selectedKeys);return}else if(f==="override"||f==="none")return}r.selectionMode==="single"?r.isSelected(n)&&!r.disallowEmptySelection?r.toggleSelection(n):r.replaceSelection(n):R&&R.shiftKey?r.extendSelection(n):r.selectionBehavior==="toggle"||R&&(ir(R)||R.pointerType==="touch"||R.pointerType==="virtual")?r.toggleSelection(n):r.replaceSelection(n)}};u.useEffect(()=>{n===r.focusedKey&&r.isFocused&&(l?Jc(i.current):a?a():document.activeElement!==i.current&&i.current&&vt(i.current))},[i,n,r.focusedKey,r.childFocusStrategy,r.isFocused,l]),s=s||r.isDisabled(n);let y={};!l&&!s?y={tabIndex:n===r.focusedKey?0:-1,onFocus(R){R.target===i.current&&r.setFocusedKey(n)}}:s&&(y.onMouseDown=R=>{R.preventDefault()});let h=r.isLink(n)&&f==="override",v=r.isLink(n)&&f!=="selection"&&f!=="none",b=!s&&r.canSelectItem(n)&&!h,E=(c||v)&&!s,C=E&&(r.selectionBehavior==="replace"?!b:!b||r.isEmpty),D=E&&b&&r.selectionBehavior==="replace",F=C||D,w=u.useRef(null),S=F&&b,M=u.useRef(!1),_=u.useRef(!1),V=r.getItemProps(n),x=R=>{c&&c(),v&&i.current&&p.open(i.current,R,V.href,V.routerOptions)},N={ref:i};if(o?(N.onPressStart=R=>{w.current=R.pointerType,M.current=S,R.pointerType==="keyboard"&&(!F||Cs())&&g(R)},d?(N.onPressUp=C?void 0:R=>{R.pointerType==="mouse"&&b&&g(R)},N.onPress=C?x:R=>{R.pointerType!=="keyboard"&&R.pointerType!=="mouse"&&b&&g(R)}):N.onPress=R=>{if(C||D&&R.pointerType!=="mouse"){if(R.pointerType==="keyboard"&&!ys())return;x(R)}else R.pointerType!=="keyboard"&&b&&g(R)}):(N.onPressStart=R=>{w.current=R.pointerType,M.current=S,_.current=C,b&&(R.pointerType==="mouse"&&!C||R.pointerType==="keyboard"&&(!E||Cs()))&&g(R)},N.onPress=R=>{(R.pointerType==="touch"||R.pointerType==="pen"||R.pointerType==="virtual"||R.pointerType==="keyboard"&&F&&ys()||R.pointerType==="mouse"&&_.current)&&(F?x(R):b&&g(R))}),y["data-collection"]=Sh(r.collection),y["data-key"]=n,N.preventFocusOnPress=l,l&&(N=ie(N,{onPressStart(R){R.pointerType!=="touch"&&(r.setFocused(!0),r.setFocusedKey(n))},onPress(R){R.pointerType==="touch"&&(r.setFocused(!0),r.setFocusedKey(n))}})),V)for(let R of["onPressStart","onPressEnd","onPressChange","onPress","onPressUp","onClick"])V[R]&&(N[R]=pt(N[R],V[R]));let{pressProps:U,isPressed:k}=Ei(N),Z=D?R=>{w.current==="mouse"&&(R.stopPropagation(),R.preventDefault(),x(R))}:void 0,{longPressProps:A}=Uc({isDisabled:!S,onLongPress(R){R.pointerType==="touch"&&(g(R),r.setSelectionBehavior("toggle"))}}),O=R=>{w.current==="touch"&&M.current&&R.preventDefault()},z=f!=="none"&&r.isLink(n)?R=>{At.isOpening||R.preventDefault()}:void 0;return{itemProps:ie(y,b||C||l&&!s?U:{},S?A:{},{onDoubleClick:Z,onDragStartCapture:O,onClick:z,id:e},l?{onMouseDown:R=>R.preventDefault()}:void 0),isPressed:k,isSelected:r.isSelected(n),isFocused:r.isFocused&&r.focusedKey===n,isDisabled:s,allowsSelection:b,hasAction:F}}function ys(){let t=window.event;return(t==null?void 0:t.key)==="Enter"}function Cs(){let t=window.event;return(t==null?void 0:t.key)===" "||(t==null?void 0:t.code)==="Space"}class Es{getItemRect(e){let r=this.ref.current;if(!r)return null;let n=e!=null?Nn(this.ref,e):null;if(!n)return null;let i=r.getBoundingClientRect(),o=n.getBoundingClientRect();return{x:o.left-i.left+r.scrollLeft,y:o.top-i.top+r.scrollTop,width:o.width,height:o.height}}getContentSize(){let e=this.ref.current;var r,n;return{width:(r=e==null?void 0:e.scrollWidth)!==null&&r!==void 0?r:0,height:(n=e==null?void 0:e.scrollHeight)!==null&&n!==void 0?n:0}}getVisibleRect(){let e=this.ref.current;var r,n,i,o;return{x:(r=e==null?void 0:e.scrollLeft)!==null&&r!==void 0?r:0,y:(n=e==null?void 0:e.scrollTop)!==null&&n!==void 0?n:0,width:(i=e==null?void 0:e.offsetWidth)!==null&&i!==void 0?i:0,height:(o=e==null?void 0:e.offsetHeight)!==null&&o!==void 0?o:0}}constructor(e){this.ref=e}}class Yl{isDisabled(e){var r;return this.disabledBehavior==="all"&&(((r=e.props)===null||r===void 0?void 0:r.isDisabled)||this.disabledKeys.has(e.key))}findNextNonDisabled(e,r){let n=e;for(;n!=null;){let i=this.collection.getItem(n);if((i==null?void 0:i.type)==="item"&&!this.isDisabled(i))return n;n=r(n)}return null}getNextKey(e){let r=e;return r=this.collection.getKeyAfter(r),this.findNextNonDisabled(r,n=>this.collection.getKeyAfter(n))}getPreviousKey(e){let r=e;return r=this.collection.getKeyBefore(r),this.findNextNonDisabled(r,n=>this.collection.getKeyBefore(n))}findKey(e,r,n){let i=e,o=this.layoutDelegate.getItemRect(i);if(!o||i==null)return null;let l=o;do{if(i=r(i),i==null)break;o=this.layoutDelegate.getItemRect(i)}while(o&&n(l,o)&&i!=null);return i}isSameRow(e,r){return e.y===r.y||e.x!==r.x}isSameColumn(e,r){return e.x===r.x||e.y!==r.y}getKeyBelow(e){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(e,r=>this.getNextKey(r),this.isSameRow):this.getNextKey(e)}getKeyAbove(e){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(e,r=>this.getPreviousKey(r),this.isSameRow):this.getPreviousKey(e)}getNextColumn(e,r){return r?this.getPreviousKey(e):this.getNextKey(e)}getKeyRightOf(e){let r=this.direction==="ltr"?"getKeyRightOf":"getKeyLeftOf";return this.layoutDelegate[r]?(e=this.layoutDelegate[r](e),this.findNextNonDisabled(e,n=>this.layoutDelegate[r](n))):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(e,this.direction==="rtl"):this.findKey(e,n=>this.getNextColumn(n,this.direction==="rtl"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(e,this.direction==="rtl"):null}getKeyLeftOf(e){let r=this.direction==="ltr"?"getKeyLeftOf":"getKeyRightOf";return this.layoutDelegate[r]?(e=this.layoutDelegate[r](e),this.findNextNonDisabled(e,n=>this.layoutDelegate[r](n))):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(e,this.direction==="ltr"):this.findKey(e,n=>this.getNextColumn(n,this.direction==="ltr"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(e,this.direction==="ltr"):null}getFirstKey(){let e=this.collection.getFirstKey();return this.findNextNonDisabled(e,r=>this.collection.getKeyAfter(r))}getLastKey(){let e=this.collection.getLastKey();return this.findNextNonDisabled(e,r=>this.collection.getKeyBefore(r))}getKeyPageAbove(e){let r=this.ref.current,n=this.layoutDelegate.getItemRect(e);if(!n)return null;if(r&&!Gr(r))return this.getFirstKey();let i=e;if(this.orientation==="horizontal"){let o=Math.max(0,n.x+n.width-this.layoutDelegate.getVisibleRect().width);for(;n&&n.x>o&&i!=null;)i=this.getKeyAbove(i),n=i==null?null:this.layoutDelegate.getItemRect(i)}else{let o=Math.max(0,n.y+n.height-this.layoutDelegate.getVisibleRect().height);for(;n&&n.y>o&&i!=null;)i=this.getKeyAbove(i),n=i==null?null:this.layoutDelegate.getItemRect(i)}return i??this.getFirstKey()}getKeyPageBelow(e){let r=this.ref.current,n=this.layoutDelegate.getItemRect(e);if(!n)return null;if(r&&!Gr(r))return this.getLastKey();let i=e;if(this.orientation==="horizontal"){let o=Math.min(this.layoutDelegate.getContentSize().width,n.y-n.width+this.layoutDelegate.getVisibleRect().width);for(;n&&n.x<o&&i!=null;)i=this.getKeyBelow(i),n=i==null?null:this.layoutDelegate.getItemRect(i)}else{let o=Math.min(this.layoutDelegate.getContentSize().height,n.y-n.height+this.layoutDelegate.getVisibleRect().height);for(;n&&n.y<o&&i!=null;)i=this.getKeyBelow(i),n=i==null?null:this.layoutDelegate.getItemRect(i)}return i??this.getLastKey()}getKeyForSearch(e,r){if(!this.collator)return null;let n=this.collection,i=r||this.getFirstKey();for(;i!=null;){let o=n.getItem(i);if(!o)return null;let l=o.textValue.slice(0,e.length);if(o.textValue&&this.collator.compare(l,e)===0)return i;i=this.getNextKey(i)}return null}constructor(...e){if(e.length===1){let r=e[0];this.collection=r.collection,this.ref=r.ref,this.collator=r.collator,this.disabledKeys=r.disabledKeys||new Set,this.disabledBehavior=r.disabledBehavior||"all",this.orientation=r.orientation||"vertical",this.direction=r.direction,this.layout=r.layout||"stack",this.layoutDelegate=r.layoutDelegate||new Es(r.ref)}else this.collection=e[0],this.disabledKeys=e[1],this.ref=e[2],this.collator=e[3],this.layout="stack",this.orientation="vertical",this.disabledBehavior="all",this.layoutDelegate=new Es(this.ref);this.layout==="stack"&&this.orientation==="vertical"&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}}function Wu(t){let{selectionManager:e,collection:r,disabledKeys:n,ref:i,keyboardDelegate:o,layoutDelegate:l}=t,a=zl({usage:"search",sensitivity:"base"}),s=e.disabledBehavior,c=u.useMemo(()=>o||new Yl({collection:r,disabledKeys:n,disabledBehavior:s,ref:i,collator:a,layoutDelegate:l}),[o,l,r,n,i,a,s]),{collectionProps:d}=Uu({...t,ref:i,selectionManager:e,keyboardDelegate:c});return{listProps:d}}function Ph(t,e,r){let n=he(t,{labelable:!0}),i=t.selectionBehavior||"toggle",o=t.linkBehavior||(i==="replace"?"action":"override");i==="toggle"&&o==="action"&&(o="override");let{listProps:l}=Wu({...t,ref:r,selectionManager:e.selectionManager,collection:e.collection,disabledKeys:e.disabledKeys,linkBehavior:o}),{focusWithinProps:a}=Di({onFocusWithin:t.onFocus,onBlurWithin:t.onBlur,onFocusWithinChange:t.onFocusChange}),s=Se(t.id);Gl.set(e,{id:s,shouldUseVirtualFocus:t.shouldUseVirtualFocus,shouldSelectOnPressUp:t.shouldSelectOnPressUp,shouldFocusOnHover:t.shouldFocusOnHover,isVirtualized:t.isVirtualized,onAction:t.onAction,linkBehavior:o});let{labelProps:c,fieldProps:d}=nu({...t,id:s,labelElementType:"span"});return{labelProps:c,listBoxProps:ie(n,a,e.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",...ie(d,l)})}}class Th{build(e,r){return this.context=r,ws(()=>this.iterateCollection(e))}*iterateCollection(e){let{children:r,items:n}=e;if(u.isValidElement(r)&&r.type===u.Fragment)yield*this.iterateCollection({children:r.props.children,items:n});else if(typeof r=="function"){if(!n)throw new Error("props.children was a function but props.items is missing");let i=0;for(let o of n)yield*this.getFullNode({value:o,index:i},{renderer:r}),i++}else{let i=[];u.Children.forEach(r,l=>{l&&i.push(l)});let o=0;for(let l of i){let a=this.getFullNode({element:l,index:o},{});for(let s of a)o++,yield s}}}getKey(e,r,n,i){if(e.key!=null)return e.key;if(r.type==="cell"&&r.key!=null)return`${i}${r.key}`;let o=r.value;if(o!=null){var l;let a=(l=o.key)!==null&&l!==void 0?l:o.id;if(a==null)throw new Error("No key found for item");return a}return i?`${i}.${r.index}`:`$.${r.index}`}getChildState(e,r){return{renderer:r.renderer||e.renderer}}*getFullNode(e,r,n,i){if(u.isValidElement(e.element)&&e.element.type===u.Fragment){let v=[];u.Children.forEach(e.element.props.children,E=>{v.push(E)});var o;let b=(o=e.index)!==null&&o!==void 0?o:0;for(const E of v)yield*this.getFullNode({element:E,index:b++},r,n,i);return}let l=e.element;if(!l&&e.value&&r&&r.renderer){let v=this.cache.get(e.value);if(v&&(!v.shouldInvalidate||!v.shouldInvalidate(this.context))){v.index=e.index,v.parentKey=i?i.key:null,yield v;return}l=r.renderer(e.value)}if(u.isValidElement(l)){let v=l.type;if(typeof v!="function"&&typeof v.getCollectionNode!="function"){let D=l.type;throw new Error(`Unknown element <${D}> in collection.`)}let b=v.getCollectionNode(l.props,this.context);var a;let E=(a=e.index)!==null&&a!==void 0?a:0,C=b.next();for(;!C.done&&C.value;){let D=C.value;e.index=E;var s;let F=(s=D.key)!==null&&s!==void 0?s:null;F==null&&(F=D.element?null:this.getKey(l,e,r,n));let S=[...this.getFullNode({...D,key:F,index:E,wrapper:Ah(e.wrapper,D.wrapper)},this.getChildState(r,D),n?`${n}${l.key}`:l.key,i)];for(let M of S){var c,d;M.value=(d=(c=D.value)!==null&&c!==void 0?c:e.value)!==null&&d!==void 0?d:null,M.value&&this.cache.set(M.value,M);var f;if(e.type&&M.type!==e.type)throw new Error(`Unsupported type <${ao(M.type)}> in <${ao((f=i==null?void 0:i.type)!==null&&f!==void 0?f:"unknown parent type")}>. Only <${ao(e.type)}> is supported.`);E++,yield M}C=b.next(S)}return}if(e.key==null||e.type==null)return;let p=this;var g,y;let h={type:e.type,props:e.props,key:e.key,parentKey:i?i.key:null,value:(g=e.value)!==null&&g!==void 0?g:null,level:i?i.level+1:0,index:e.index,rendered:e.rendered,textValue:(y=e.textValue)!==null&&y!==void 0?y:"","aria-label":e["aria-label"],wrapper:e.wrapper,shouldInvalidate:e.shouldInvalidate,hasChildNodes:e.hasChildNodes||!1,childNodes:ws(function*(){if(!e.hasChildNodes||!e.childNodes)return;let v=0;for(let b of e.childNodes()){b.key!=null&&(b.key=`${h.key}${b.key}`);let E=p.getFullNode({...b,index:v},p.getChildState(r,b),h.key,h);for(let C of E)v++,yield C}})};yield h}constructor(){this.cache=new WeakMap}}function ws(t){let e=[],r=null;return{*[Symbol.iterator](){for(let n of e)yield n;r||(r=t());for(let n of r)e.push(n),yield n}}}function Ah(t,e){if(t&&e)return r=>t(e(r));if(t)return t;if(e)return e}function ao(t){return t[0].toUpperCase()+t.slice(1)}function Zu(t,e,r){let n=u.useMemo(()=>new Th,[]),{children:i,items:o,collection:l}=t;return u.useMemo(()=>{if(l)return l;let s=n.build({children:i,items:o},r);return e(s)},[n,i,o,l,r,e])}function Gu(t,e){return typeof e.getChildren=="function"?e.getChildren(t.key):t.childNodes}function _h(t){return kh(t)}function kh(t,e){for(let r of t)return r}function so(t,e,r){if(e.parentKey===r.parentKey)return e.index-r.index;let n=[...Ds(t,e),e],i=[...Ds(t,r),r],o=n.slice(0,i.length).findIndex((l,a)=>l!==i[a]);return o!==-1?(e=n[o],r=i[o],e.index-r.index):n.findIndex(l=>l===r)>=0?1:(i.findIndex(l=>l===e)>=0,-1)}function Ds(t,e){let r=[],n=e;for(;(n==null?void 0:n.parentKey)!=null;)n=t.getItem(n.parentKey),n&&r.unshift(n);return r}const xs=new WeakMap;function qu(t){let e=xs.get(t);if(e!=null)return e;let r=0,n=i=>{for(let o of i)o.type==="section"?n(Gu(o,t)):o.type==="item"&&r++};return n(t),xs.set(t,r),r}function Ih(t,e,r){var n,i;let{key:o}=t,l=Gl.get(e);var a;let s=(a=t.isDisabled)!==null&&a!==void 0?a:e.selectionManager.isDisabled(o);var c;let d=(c=t.isSelected)!==null&&c!==void 0?c:e.selectionManager.isSelected(o);var f;let p=(f=t.shouldSelectOnPressUp)!==null&&f!==void 0?f:l==null?void 0:l.shouldSelectOnPressUp;var g;let y=(g=t.shouldFocusOnHover)!==null&&g!==void 0?g:l==null?void 0:l.shouldFocusOnHover;var h;let v=(h=t.shouldUseVirtualFocus)!==null&&h!==void 0?h:l==null?void 0:l.shouldUseVirtualFocus;var b;let E=(b=t.isVirtualized)!==null&&b!==void 0?b:l==null?void 0:l.isVirtualized,C=ft(),D=ft(),F={role:"option","aria-disabled":s||void 0,"aria-selected":e.selectionManager.selectionMode!=="none"?d:void 0};gt()&&Tl()||(F["aria-label"]=t["aria-label"],F["aria-labelledby"]=C,F["aria-describedby"]=D);let w=e.collection.getItem(o);if(E){let O=Number(w==null?void 0:w.index);F["aria-posinset"]=Number.isNaN(O)?void 0:O+1,F["aria-setsize"]=qu(e.collection)}let S=l!=null&&l.onAction?()=>{var O;return l==null||(O=l.onAction)===null||O===void 0?void 0:O.call(l,o)}:void 0,M=Dh(e,o),{itemProps:_,isPressed:V,isFocused:x,hasAction:N,allowsSelection:U}=ql({selectionManager:e.selectionManager,key:o,ref:r,shouldSelectOnPressUp:p,allowsDifferentPressOrigin:p&&y,isVirtualized:E,shouldUseVirtualFocus:v,isDisabled:s,onAction:S||!(w==null||(n=w.props)===null||n===void 0)&&n.onAction?pt(w==null||(i=w.props)===null||i===void 0?void 0:i.onAction,S):void 0,linkBehavior:l==null?void 0:l.linkBehavior,id:M}),{hoverProps:k}=Dr({isDisabled:s||!y,onHoverStart(){mr()||(e.selectionManager.setFocused(!0),e.selectionManager.setFocusedKey(o))}}),Z=he(w==null?void 0:w.props);delete Z.id;let A=_l(w==null?void 0:w.props);return{optionProps:{...F,...ie(Z,_,k,A),id:M},labelProps:{id:C},descriptionProps:{id:D},isFocused:x,isFocusVisible:x&&e.selectionManager.isFocused&&mr(),isSelected:d,isDisabled:s,isPressed:V,allowsSelection:U,hasAction:N}}function Oh(t){let{heading:e,"aria-label":r}=t,n=Se();return{itemProps:{role:"presentation"},headingProps:e?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":r,"aria-labelledby":e?n:void 0}}}var Yu={};Yu={longPressMessage:"اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة"};var Xu={};Xu={longPressMessage:"Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто"};var Ju={};Ju={longPressMessage:"Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku"};var Qu={};Qu={longPressMessage:"Langt tryk eller tryk på Alt + pil ned for at åbne menuen"};var e2={};e2={longPressMessage:"Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"};var t2={};t2={longPressMessage:"Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού"};var r2={};r2={longPressMessage:"Long press or press Alt + ArrowDown to open menu"};var n2={};n2={longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú"};var i2={};i2={longPressMessage:"Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"};var o2={};o2={longPressMessage:"Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli"};var l2={};l2={longPressMessage:"Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."};var a2={};a2={longPressMessage:"לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט"};var s2={};s2={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"};var c2={};c2={longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához"};var u2={};u2={longPressMessage:"Premere a lungo o premere Alt + Freccia giù per aprire il menu"};var d2={};d2={longPressMessage:"長押しまたは Alt+下矢印キーでメニューを開く"};var f2={};f2={longPressMessage:"길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기"};var h2={};h2={longPressMessage:"Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“."};var p2={};p2={longPressMessage:"Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa"};var g2={};g2={longPressMessage:"Langt trykk eller trykk Alt + PilNed for å åpne menyen"};var v2={};v2={longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"};var b2={};b2={longPressMessage:"Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu"};var m2={};m2={longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"};var y2={};y2={longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"};var C2={};C2={longPressMessage:"Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul"};var E2={};E2={longPressMessage:"Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню"};var w2={};w2={longPressMessage:"Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol"};var D2={};D2={longPressMessage:"Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol"};var x2={};x2={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"};var S2={};S2={longPressMessage:"Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn"};var F2={};F2={longPressMessage:"Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın"};var $2={};$2={longPressMessage:"Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"};var P2={};P2={longPressMessage:"长按或按 Alt + 向下方向键以打开菜单"};var T2={};T2={longPressMessage:"長按或按 Alt+向下鍵以開啟功能表"};var A2={};A2={"ar-AE":Yu,"bg-BG":Xu,"cs-CZ":Ju,"da-DK":Qu,"de-DE":e2,"el-GR":t2,"en-US":r2,"es-ES":n2,"et-EE":i2,"fi-FI":o2,"fr-FR":l2,"he-IL":a2,"hr-HR":s2,"hu-HU":c2,"it-IT":u2,"ja-JP":d2,"ko-KR":f2,"lt-LT":h2,"lv-LV":p2,"nb-NO":g2,"nl-NL":v2,"pl-PL":b2,"pt-BR":m2,"pt-PT":y2,"ro-RO":C2,"ru-RU":E2,"sk-SK":w2,"sl-SI":D2,"sr-SP":x2,"sv-SE":S2,"tr-TR":F2,"uk-UA":$2,"zh-CN":P2,"zh-TW":T2};function Nh(t){return t&&t.__esModule?t.default:t}function Mh(t,e,r){let{type:n="menu",isDisabled:i,trigger:o="press"}=t,l=Se(),{triggerProps:a,overlayProps:s}=sh({type:n},e,r),c=g=>{if(!i&&!(o==="longPress"&&!g.altKey)&&r&&r.current)switch(g.key){case"Enter":case" ":if(o==="longPress"||g.isDefaultPrevented())return;case"ArrowDown":"continuePropagation"in g||g.stopPropagation(),g.preventDefault(),e.toggle("first");break;case"ArrowUp":"continuePropagation"in g||g.stopPropagation(),g.preventDefault(),e.toggle("last");break;default:"continuePropagation"in g&&g.continuePropagation()}},d=qc(Nh(A2),"@react-aria/menu"),{longPressProps:f}=Uc({isDisabled:i||o!=="longPress",accessibilityDescription:d.format("longPressMessage"),onLongPressStart(){e.close()},onLongPress(){e.open("first")}}),p={preventFocusOnPress:!0,onPressStart(g){g.pointerType!=="touch"&&g.pointerType!=="keyboard"&&!i&&(Ve(g.target),e.open(g.pointerType==="virtual"?"first":null))},onPress(g){g.pointerType==="touch"&&!i&&(Ve(g.target),e.toggle())}};return delete a.onPress,{menuTriggerProps:{...a,...o==="press"?p:f,id:l,onKeyDown:c},menuProps:{...s,"aria-labelledby":l,autoFocus:e.focusStrategy||!0,onClose:e.close}}}const _2=new WeakMap;function Bh(t,e,r){let{shouldFocusWrap:n=!0,onKeyDown:i,onKeyUp:o,...l}=t;!t["aria-label"]&&!t["aria-labelledby"]&&process.env.NODE_ENV!=="production"&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let a=he(t,{labelable:!0}),{listProps:s}=Wu({...l,ref:r,selectionManager:e.selectionManager,collection:e.collection,disabledKeys:e.disabledKeys,shouldFocusWrap:n,linkBehavior:"override"});return _2.set(e,{onClose:t.onClose,onAction:t.onAction,shouldUseVirtualFocus:t.shouldUseVirtualFocus}),{menuProps:ie(a,{onKeyDown:i,onKeyUp:o},{role:"menu",...s,onKeyDown:c=>{var d;(c.key!=="Escape"||t.shouldUseVirtualFocus)&&((d=s.onKeyDown)===null||d===void 0||d.call(s,c))}})}}function Rh(t,e,r){let{id:n,key:i,closeOnSelect:o,isVirtualized:l,"aria-haspopup":a,onPressStart:s,onPressUp:c,onPress:d,onPressChange:f,onPressEnd:p,onClick:g,onHoverStart:y,onHoverChange:h,onHoverEnd:v,onKeyDown:b,onKeyUp:E,onFocus:C,onFocusChange:D,onBlur:F,selectionManager:w=e.selectionManager}=t,S=!!a,M=S&&t["aria-expanded"]==="true";var _;let V=(_=t.isDisabled)!==null&&_!==void 0?_:w.isDisabled(i);var x;let N=(x=t.isSelected)!==null&&x!==void 0?x:w.isSelected(i),U=_2.get(e),k=e.collection.getItem(i),Z=t.onClose||U.onClose,A=vi(),O=()=>{var re;if(!S&&(!(k==null||(re=k.props)===null||re===void 0)&&re.onAction?k.props.onAction():t.onAction&&t.onAction(i),U.onAction)){let pe=U.onAction;pe(i)}},z="menuitem";S||(w.selectionMode==="single"?z="menuitemradio":w.selectionMode==="multiple"&&(z="menuitemcheckbox"));let R=ft(),I=ft(),L=ft(),$={id:n,"aria-disabled":V||void 0,role:z,"aria-label":t["aria-label"],"aria-labelledby":R,"aria-describedby":[I,L].filter(Boolean).join(" ")||void 0,"aria-controls":t["aria-controls"],"aria-haspopup":a,"aria-expanded":t["aria-expanded"]};w.selectionMode!=="none"&&!S&&($["aria-checked"]=N),l&&($["aria-posinset"]=k==null?void 0:k.index,$["aria-setsize"]=qu(e.collection));let P=u.useRef(!1),B=re=>{f==null||f(re),P.current=re},K=u.useRef(null),j=re=>{re.pointerType!=="keyboard"&&(K.current={pointerType:re.pointerType}),re.pointerType==="mouse"&&(P.current||re.target.click()),c==null||c(re)},H=re=>{var pe,Ut;g==null||g(re),O(),h5(re,A,k.props.href,k==null?void 0:k.props.routerOptions);let Sr=((pe=K.current)===null||pe===void 0?void 0:pe.pointerType)==="keyboard"?((Ut=K.current)===null||Ut===void 0?void 0:Ut.key)==="Enter"||w.selectionMode==="none"||w.isLink(i):w.selectionMode!=="multiple"||w.isLink(i);Sr=o??Sr,Z&&!S&&Sr&&Z(),K.current=null},{itemProps:W,isFocused:q}=ql({id:n,selectionManager:w,key:i,ref:r,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none",shouldUseVirtualFocus:U.shouldUseVirtualFocus}),{pressProps:Y,isPressed:ae}=Ei({onPressStart:s,onPress:d,onPressUp:j,onPressChange:B,onPressEnd:p,isDisabled:V}),{hoverProps:G}=Dr({isDisabled:V,onHoverStart(re){!mr()&&!(M&&a)&&(w.setFocused(!0),w.setFocusedKey(i)),y==null||y(re)},onHoverChange:h,onHoverEnd:v}),{keyboardProps:te}=Vc({onKeyDown:re=>{if(re.repeat){re.continuePropagation();return}switch(re.key){case" ":K.current={pointerType:"keyboard",key:" "},re.target.click();break;case"Enter":K.current={pointerType:"keyboard",key:"Enter"},re.target.tagName!=="A"&&re.target.click();break;default:S||re.continuePropagation(),b==null||b(re);break}},onKeyUp:E}),{focusProps:de}=jl({onBlur:F,onFocus:C,onFocusChange:D}),Re=he(k==null?void 0:k.props);delete Re.id;let zt=_l(k==null?void 0:k.props);return{menuItemProps:{...$,...ie(Re,zt,S?{onFocus:W.onFocus,"data-collection":W["data-collection"],"data-key":W["data-key"]}:W,Y,G,te,de,U.shouldUseVirtualFocus||S?{onMouseDown:re=>re.preventDefault()}:void 0,V?void 0:{onClick:H}),tabIndex:W.tabIndex!=null&&M&&!U.shouldUseVirtualFocus?-1:W.tabIndex},labelProps:{id:R},descriptionProps:{id:I},keyboardShortcutProps:{id:L},isFocused:q,isFocusVisible:q&&w.isFocused&&mr()&&!M,isSelected:N,isPressed:ae,isDisabled:V}}function Lh(t){let{heading:e,"aria-label":r}=t,n=Se();return{itemProps:{role:"presentation"},headingProps:e?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":r,"aria-labelledby":e?n:void 0}}}function Kh(t,e){let{role:r="dialog"}=t,n=ft();n=t["aria-label"]?void 0:n;let i=u.useRef(!1);return u.useEffect(()=>{if(e.current&&!e.current.contains(document.activeElement)){vt(e.current);let o=setTimeout(()=>{(document.activeElement===e.current||document.activeElement===document.body)&&(i.current=!0,e.current&&(e.current.blur(),vt(e.current)),i.current=!1)},500);return()=>{clearTimeout(o)}}},[e]),Eh(),{dialogProps:{...he(t,{labelable:!0}),role:r,tabIndex:-1,"aria-labelledby":t["aria-labelledby"]||n,onBlur:o=>{i.current&&o.stopPropagation()}},titleProps:{id:n}}}const Xl=new WeakMap;function jh(t,e,r){let{keyboardDelegate:n,isDisabled:i,isRequired:o,name:l,form:a,validationBehavior:s="aria"}=t,c=zl({usage:"search",sensitivity:"base"}),d=u.useMemo(()=>n||new Yl(e.collection,e.disabledKeys,r,c),[n,e.collection,e.disabledKeys,c,r]),{menuTriggerProps:f,menuProps:p}=Mh({isDisabled:i,type:"listbox"},e,r),g=_=>{switch(_.key){case"ArrowLeft":{var V,x;_.preventDefault();let k=e.selectedKey!=null?(V=d.getKeyAbove)===null||V===void 0?void 0:V.call(d,e.selectedKey):(x=d.getFirstKey)===null||x===void 0?void 0:x.call(d);k&&e.setSelectedKey(k);break}case"ArrowRight":{var N,U;_.preventDefault();let k=e.selectedKey!=null?(N=d.getKeyBelow)===null||N===void 0?void 0:N.call(d,e.selectedKey):(U=d.getFirstKey)===null||U===void 0?void 0:U.call(d);k&&e.setSelectedKey(k);break}}},{typeSelectProps:y}=zu({keyboardDelegate:d,selectionManager:e.selectionManager,onTypeSelect(_){e.setSelectedKey(_)}}),{isInvalid:h,validationErrors:v,validationDetails:b}=e.displayValidation,{labelProps:E,fieldProps:C,descriptionProps:D,errorMessageProps:F}=G4({...t,labelElementType:"span",isInvalid:h,errorMessage:t.errorMessage||v});y.onKeyDown=y.onKeyDownCapture,delete y.onKeyDownCapture;let w=he(t,{labelable:!0}),S=ie(y,f,C),M=Se();return Xl.set(e,{isDisabled:i,isRequired:o,name:l,form:a,validationBehavior:s}),{labelProps:{...E,onClick:()=>{if(!t.isDisabled){var _;(_=r.current)===null||_===void 0||_.focus(),Hc("keyboard")}}},triggerProps:ie(w,{...S,isDisabled:i,onKeyDown:pt(S.onKeyDown,g,t.onKeyDown),onKeyUp:t.onKeyUp,"aria-labelledby":[M,S["aria-labelledby"],S["aria-label"]&&!S["aria-labelledby"]?S.id:null].filter(Boolean).join(" "),onFocus(_){e.isFocused||(t.onFocus&&t.onFocus(_),t.onFocusChange&&t.onFocusChange(!0),e.setFocused(!0))},onBlur(_){e.isOpen||(t.onBlur&&t.onBlur(_),t.onFocusChange&&t.onFocusChange(!1),e.setFocused(!1))}}),valueProps:{id:M},menuProps:{...p,autoFocus:e.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,disallowEmptySelection:!0,linkBehavior:"selection",onBlur:_=>{_.currentTarget.contains(_.relatedTarget)||(t.onBlur&&t.onBlur(_),t.onFocusChange&&t.onFocusChange(!1),e.setFocused(!1))},"aria-labelledby":[C["aria-labelledby"],S["aria-label"]&&!C["aria-labelledby"]?S.id:null].filter(Boolean).join(" ")},descriptionProps:D,errorMessageProps:F,isInvalid:h,validationErrors:v,validationDetails:b,hiddenSelectProps:{isDisabled:i,name:l,label:t.label,state:e,triggerRef:r,form:a}}}function Hh(t,e,r){let n=Xl.get(e)||{},{autoComplete:i,name:o=n.name,form:l=n.form,isDisabled:a=n.isDisabled}=t,{validationBehavior:s,isRequired:c}=n,{visuallyHiddenProps:d}=iu({style:{position:"fixed",top:0,left:0}});C5(t.selectRef,e.defaultSelectedKey,e.setSelectedKey),z4({validationBehavior:s,focus:()=>{var g;return(g=r.current)===null||g===void 0?void 0:g.focus()}},e,t.selectRef);let f=u.useCallback(g=>e.setSelectedKey(g.currentTarget.value),[e.setSelectedKey]);var p;return{containerProps:{...d,"aria-hidden":!0,"data-react-aria-prevent-focus":!0,"data-a11y-ignore":"aria-hidden-focus"},inputProps:{style:{display:"none"}},selectProps:{tabIndex:-1,autoComplete:i,disabled:a,required:s==="native"&&c,name:o,form:l,value:(p=e.selectedKey)!==null&&p!==void 0?p:"",onChange:f,onInput:f}}}function Vh(t){let{state:e,triggerRef:r,label:n,name:i,form:o,isDisabled:l}=t,a=u.useRef(null),s=u.useRef(null),{containerProps:c,selectProps:d}=Hh({...t,selectRef:e.collection.size<=300?a:s},e,r);if(e.collection.size<=300)return u.createElement("div",{...c,"data-testid":"hidden-select-container"},u.createElement("label",null,n,u.createElement("select",{...d,ref:a},u.createElement("option",null),[...e.collection.getKeys()].map(p=>{let g=e.collection.getItem(p);if(g&&g.type==="item")return u.createElement("option",{key:g.key,value:g.key},g.textValue)}))));if(i){let p=Xl.get(e)||{},{validationBehavior:g}=p;var f;let y={type:"hidden",autoComplete:d.autoComplete,name:i,form:o,disabled:l,value:(f=e.selectedKey)!==null&&f!==void 0?f:""};return g==="native"?u.createElement("input",{...y,ref:s,style:{display:"none"},type:"text",required:d.required,onChange:()=>{}}):u.createElement("input",{...y,ref:s})}return null}function zh(t){let e=he(t,{labelable:!0}),r;return t.orientation==="vertical"&&(r="vertical"),t.elementType!=="hr"?{separatorProps:{...e,role:"separator","aria-orientation":r}}:{separatorProps:e}}const k2=new WeakMap;function ti(t,e,r){if(!t)return"";typeof e=="string"&&(e=e.replace(/\s+/g,""));let n=k2.get(t);return process.env.NODE_ENV!=="production"&&!n&&console.error("There is no tab id, please check if you have rendered the tab panel before the tab list."),`${n}-${r}-${e}`}function Uh(t,e,r){let{key:n,isDisabled:i,shouldSelectOnPressUp:o}=t,{selectionManager:l,selectedKey:a}=e,s=n===a,c=i||e.isDisabled||e.selectionManager.isDisabled(n),{itemProps:d,isPressed:f}=ql({selectionManager:l,key:n,ref:r,isDisabled:c,shouldSelectOnPressUp:o,linkBehavior:"selection"}),p=ti(e,n,"tab"),g=ti(e,n,"tabpanel"),{tabIndex:y}=d,h=e.collection.getItem(n),v=he(h==null?void 0:h.props,{labelable:!0});delete v.id;let b=_l(h==null?void 0:h.props),{focusableProps:E}=zc({isDisabled:c},r);return{tabProps:ie(v,E,b,d,{id:p,"aria-selected":s,"aria-disabled":c||void 0,"aria-controls":s?g:void 0,tabIndex:c?void 0:y,role:"tab"}),isSelected:s,isDisabled:c,isPressed:f}}function Wh(t,e,r){let n=M4(r)?void 0:0;var i;const o=ti(e,(i=t.id)!==null&&i!==void 0?i:e==null?void 0:e.selectedKey,"tabpanel"),l=mi({...t,id:o,"aria-labelledby":ti(e,e==null?void 0:e.selectedKey,"tab")});return{tabPanelProps:ie(l,{tabIndex:n,role:"tabpanel","aria-describedby":t["aria-describedby"],"aria-details":t["aria-details"]})}}class Zh{getKeyLeftOf(e){return this.flipDirection?this.getNextKey(e):this.getPreviousKey(e)}getKeyRightOf(e){return this.flipDirection?this.getPreviousKey(e):this.getNextKey(e)}isDisabled(e){var r,n;return this.disabledKeys.has(e)||!!(!((n=this.collection.getItem(e))===null||n===void 0||(r=n.props)===null||r===void 0)&&r.isDisabled)}getFirstKey(){let e=this.collection.getFirstKey();return e!=null&&this.isDisabled(e)&&(e=this.getNextKey(e)),e}getLastKey(){let e=this.collection.getLastKey();return e!=null&&this.isDisabled(e)&&(e=this.getPreviousKey(e)),e}getKeyAbove(e){return this.tabDirection?null:this.getPreviousKey(e)}getKeyBelow(e){return this.tabDirection?null:this.getNextKey(e)}getNextKey(e){let r=e;do r=this.collection.getKeyAfter(r),r==null&&(r=this.collection.getFirstKey());while(r!=null&&this.isDisabled(r));return r}getPreviousKey(e){let r=e;do r=this.collection.getKeyBefore(r),r==null&&(r=this.collection.getLastKey());while(r!=null&&this.isDisabled(r));return r}constructor(e,r,n,i=new Set){this.collection=e,this.flipDirection=r==="rtl"&&n==="horizontal",this.disabledKeys=i,this.tabDirection=n==="horizontal"}}function Gh(t,e,r){let{orientation:n="horizontal",keyboardActivation:i="automatic"}=t,{collection:o,selectionManager:l,disabledKeys:a}=e,{direction:s}=Kt(),c=u.useMemo(()=>new Zh(o,s,n,a),[o,a,n,s]),{collectionProps:d}=Uu({ref:r,selectionManager:l,keyboardDelegate:c,selectOnFocus:i==="automatic",disallowEmptySelection:!0,scrollRef:r,linkBehavior:"selection"}),f=Se();k2.set(e,f);let p=mi({...t,id:f});return{tabListProps:{...ie(d,p),role:"tablist","aria-orientation":n,tabIndex:void 0}}}const I2=u.createContext({}),qh=Bl(function(e,r){[e,r]=Xe(e,r,I2);let{elementType:n="label",...i}=e;return u.createElement(n,{className:"react-aria-Label",...i,ref:r})}),Yh=u.createContext(null),Xh=new Set(["form","formAction","formEncType","formMethod","formNoValidate","formTarget","name","value"]),Jl=u.createContext({}),Jh=Bl(function(e,r){[e,r]=Xe(e,r,Jl),e=Qh(e);let n=e,{isPending:i}=n,{buttonProps:o,isPressed:l}=P4(e,r),{focusProps:a,isFocused:s,isFocusVisible:c}=xr(e),{hoverProps:d,isHovered:f}=Dr({...e,isDisabled:e.isDisabled||i}),p={isHovered:f,isPressed:(n.isPressed||l)&&!i,isFocused:s,isFocusVisible:c,isDisabled:e.isDisabled||!1,isPending:i??!1},g=Fe({...e,values:p,defaultClassName:"react-aria-Button"}),y=Se(o.id),h=Se(),v=o["aria-labelledby"];i&&(v?v=`${v} ${h}`:o["aria-label"]&&(v=`${y} ${h}`));let b=u.useRef(i);return u.useEffect(()=>{let E={"aria-labelledby":v||y};(!b.current&&s&&i||b.current&&s&&!i)&&ls(E,"assertive"),b.current=i},[i,s,v,y]),u.createElement("button",{...he(e,{propNames:Xh}),...ie(o,a,d),...g,type:o.type==="submit"&&i?"button":o.type,id:y,ref:r,"aria-labelledby":v,slot:e.slot||void 0,"aria-disabled":i?"true":o["aria-disabled"],"data-disabled":e.isDisabled||void 0,"data-pressed":p.isPressed||void 0,"data-hovered":f||void 0,"data-focused":s||void 0,"data-pending":i||void 0,"data-focus-visible":c||void 0},u.createElement(Yh.Provider,{value:{id:h}},g.children))});function Qh(t){return t.isPending&&(t.onPress=void 0,t.onPressStart=void 0,t.onPressEnd=void 0,t.onPressChange=void 0,t.onPressUp=void 0,t.onKeyDown=void 0,t.onKeyUp=void 0,t.onClick=void 0,t.href=void 0),t}const Ql=u.createContext({}),ep=u.createContext(null);class Ss{*[Symbol.iterator](){yield*this.iterable}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let r=this.keyMap.get(e);var n;return r&&(n=r.prevKey)!==null&&n!==void 0?n:null}getKeyAfter(e){let r=this.keyMap.get(e);var n;return r&&(n=r.nextKey)!==null&&n!==void 0?n:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(e){var r;return(r=this.keyMap.get(e))!==null&&r!==void 0?r:null}at(e){const r=[...this.getKeys()];return this.getItem(r[e])}getChildren(e){let r=this.keyMap.get(e);return(r==null?void 0:r.childNodes)||[]}constructor(e){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=e;let r=a=>{if(this.keyMap.set(a.key,a),a.childNodes&&a.type==="section")for(let s of a.childNodes)r(s)};for(let a of e)r(a);let n=null,i=0,o=0;for(let[a,s]of this.keyMap)n?(n.nextKey=a,s.prevKey=n.key):(this.firstKey=a,s.prevKey=void 0),s.type==="item"&&(s.index=i++),(s.type==="section"||s.type==="item")&&o++,n=s,n.nextKey=void 0;this._size=o;var l;this.lastKey=(l=n==null?void 0:n.key)!==null&&l!==void 0?l:null}}class je extends Set{constructor(e,r,n){super(e),e instanceof je?(this.anchorKey=r??e.anchorKey,this.currentKey=n??e.currentKey):(this.anchorKey=r??null,this.currentKey=n??null)}}function tp(t,e){if(t.size!==e.size)return!1;for(let r of t)if(!e.has(r))return!1;return!0}function ea(t){let{selectionMode:e="none",disallowEmptySelection:r=!1,allowDuplicateSelectionEvents:n,selectionBehavior:i="toggle",disabledBehavior:o="all"}=t,l=u.useRef(!1),[,a]=u.useState(!1),s=u.useRef(null),c=u.useRef(null),[,d]=u.useState(null),f=u.useMemo(()=>Fs(t.selectedKeys),[t.selectedKeys]),p=u.useMemo(()=>Fs(t.defaultSelectedKeys,new je),[t.defaultSelectedKeys]),[g,y]=yi(f,p,t.onSelectionChange),h=u.useMemo(()=>t.disabledKeys?new Set(t.disabledKeys):new Set,[t.disabledKeys]),[v,b]=u.useState(i);i==="replace"&&v==="toggle"&&typeof g=="object"&&g.size===0&&b("replace");let E=u.useRef(i);return u.useEffect(()=>{i!==E.current&&(b(i),E.current=i)},[i]),{selectionMode:e,disallowEmptySelection:r,selectionBehavior:v,setSelectionBehavior:b,get isFocused(){return l.current},setFocused(C){l.current=C,a(C)},get focusedKey(){return s.current},get childFocusStrategy(){return c.current},setFocusedKey(C,D="first"){s.current=C,c.current=D,d(C)},selectedKeys:g,setSelectedKeys(C){(n||!tp(C,g))&&y(C)},disabledKeys:h,disabledBehavior:o}}function Fs(t,e){return t?t==="all"?"all":new je(t):e}class cn{get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(e){this.state.setSelectionBehavior(e)}get isFocused(){return this.state.isFocused}setFocused(e){this.state.setFocused(e)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(e,r){(e==null||this.collection.getItem(e))&&this.state.setFocusedKey(e,r)}get selectedKeys(){return this.state.selectedKeys==="all"?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(e){if(this.state.selectionMode==="none")return!1;let r=this.getKey(e);return r==null?!1:this.state.selectedKeys==="all"?this.canSelectItem(r):this.state.selectedKeys.has(r)}get isEmpty(){return this.state.selectedKeys!=="all"&&this.state.selectedKeys.size===0}get isSelectAll(){if(this.isEmpty)return!1;if(this.state.selectedKeys==="all")return!0;if(this._isSelectAll!=null)return this._isSelectAll;let e=this.getSelectAllKeys(),r=this.state.selectedKeys;return this._isSelectAll=e.every(n=>r.has(n)),this._isSelectAll}get firstSelectedKey(){let e=null;for(let n of this.state.selectedKeys){let i=this.collection.getItem(n);(!e||i&&so(this.collection,i,e)<0)&&(e=i)}var r;return(r=e==null?void 0:e.key)!==null&&r!==void 0?r:null}get lastSelectedKey(){let e=null;for(let n of this.state.selectedKeys){let i=this.collection.getItem(n);(!e||i&&so(this.collection,i,e)>0)&&(e=i)}var r;return(r=e==null?void 0:e.key)!==null&&r!==void 0?r:null}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(e){if(this.selectionMode==="none")return;if(this.selectionMode==="single"){this.replaceSelection(e);return}let r=this.getKey(e);if(r==null)return;let n;if(this.state.selectedKeys==="all")n=new je([r],r,r);else{let l=this.state.selectedKeys;var i;let a=(i=l.anchorKey)!==null&&i!==void 0?i:r;n=new je(l,a,r);var o;for(let s of this.getKeyRange(a,(o=l.currentKey)!==null&&o!==void 0?o:r))n.delete(s);for(let s of this.getKeyRange(r,a))this.canSelectItem(s)&&n.add(s)}this.state.setSelectedKeys(n)}getKeyRange(e,r){let n=this.collection.getItem(e),i=this.collection.getItem(r);return n&&i?so(this.collection,n,i)<=0?this.getKeyRangeInternal(e,r):this.getKeyRangeInternal(r,e):[]}getKeyRangeInternal(e,r){var n;if(!((n=this.layoutDelegate)===null||n===void 0)&&n.getKeyRange)return this.layoutDelegate.getKeyRange(e,r);let i=[],o=e;for(;o!=null;){let l=this.collection.getItem(o);if(l&&(l.type==="item"||l.type==="cell"&&this.allowsCellSelection)&&i.push(o),o===r)return i;o=this.collection.getKeyAfter(o)}return[]}getKey(e){let r=this.collection.getItem(e);if(!r||r.type==="cell"&&this.allowsCellSelection)return e;for(;r&&r.type!=="item"&&r.parentKey!=null;)r=this.collection.getItem(r.parentKey);return!r||r.type!=="item"?null:r.key}toggleSelection(e){if(this.selectionMode==="none")return;if(this.selectionMode==="single"&&!this.isSelected(e)){this.replaceSelection(e);return}let r=this.getKey(e);if(r==null)return;let n=new je(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);n.has(r)?n.delete(r):this.canSelectItem(r)&&(n.add(r),n.anchorKey=r,n.currentKey=r),!(this.disallowEmptySelection&&n.size===0)&&this.state.setSelectedKeys(n)}replaceSelection(e){if(this.selectionMode==="none")return;let r=this.getKey(e);if(r==null)return;let n=this.canSelectItem(r)?new je([r],r,r):new je;this.state.setSelectedKeys(n)}setSelectedKeys(e){if(this.selectionMode==="none")return;let r=new je;for(let n of e){let i=this.getKey(n);if(i!=null&&(r.add(i),this.selectionMode==="single"))break}this.state.setSelectedKeys(r)}getSelectAllKeys(){let e=[],r=n=>{for(;n!=null;){if(this.canSelectItem(n)){var i;let l=this.collection.getItem(n);(l==null?void 0:l.type)==="item"&&e.push(n);var o;l!=null&&l.hasChildNodes&&(this.allowsCellSelection||l.type!=="item")&&r((o=(i=_h(Gu(l,this.collection)))===null||i===void 0?void 0:i.key)!==null&&o!==void 0?o:null)}n=this.collection.getKeyAfter(n)}};return r(this.collection.getFirstKey()),e}selectAll(){!this.isSelectAll&&this.selectionMode==="multiple"&&this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&(this.state.selectedKeys==="all"||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new je)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(e,r){this.selectionMode!=="none"&&(this.selectionMode==="single"?this.isSelected(e)&&!this.disallowEmptySelection?this.toggleSelection(e):this.replaceSelection(e):this.selectionBehavior==="toggle"||r&&(r.pointerType==="touch"||r.pointerType==="virtual")?this.toggleSelection(e):this.replaceSelection(e))}isSelectionEqual(e){if(e===this.state.selectedKeys)return!0;let r=this.selectedKeys;if(e.size!==r.size)return!1;for(let n of e)if(!r.has(n))return!1;for(let n of r)if(!e.has(n))return!1;return!0}canSelectItem(e){var r;if(this.state.selectionMode==="none"||this.state.disabledKeys.has(e))return!1;let n=this.collection.getItem(e);return!(!n||!(n==null||(r=n.props)===null||r===void 0)&&r.isDisabled||n.type==="cell"&&!this.allowsCellSelection)}isDisabled(e){var r,n;return this.state.disabledBehavior==="all"&&(this.state.disabledKeys.has(e)||!!(!((n=this.collection.getItem(e))===null||n===void 0||(r=n.props)===null||r===void 0)&&r.isDisabled))}isLink(e){var r,n;return!!(!((n=this.collection.getItem(e))===null||n===void 0||(r=n.props)===null||r===void 0)&&r.href)}getItemProps(e){var r;return(r=this.collection.getItem(e))===null||r===void 0?void 0:r.props}withCollection(e){return new cn(e,this.state,{allowsCellSelection:this.allowsCellSelection,layoutDelegate:this.layoutDelegate||void 0})}constructor(e,r,n){this.collection=e,this.state=r;var i;this.allowsCellSelection=(i=n==null?void 0:n.allowsCellSelection)!==null&&i!==void 0?i:!1,this._isSelectAll=null,this.layoutDelegate=(n==null?void 0:n.layoutDelegate)||null}}function O2(t){let{filter:e,layoutDelegate:r}=t,n=ea(t),i=u.useMemo(()=>t.disabledKeys?new Set(t.disabledKeys):new Set,[t.disabledKeys]),o=u.useCallback(c=>e?new Ss(e(c)):new Ss(c),[e]),l=u.useMemo(()=>({suppressTextValueWarning:t.suppressTextValueWarning}),[t.suppressTextValueWarning]),a=Zu(t,o,l),s=u.useMemo(()=>new cn(a,n,{layoutDelegate:r}),[a,n,r]);return N2(a,s),{collection:a,disabledKeys:i,selectionManager:s}}function rp(t,e){let r=u.useMemo(()=>e?t.collection.filter(e):t.collection,[t.collection,e]),n=t.selectionManager.withCollection(r);return N2(r,n),{collection:r,selectionManager:n,disabledKeys:t.disabledKeys}}function N2(t,e){const r=u.useRef(null);u.useEffect(()=>{if(e.focusedKey!=null&&!t.getItem(e.focusedKey)&&r.current){const d=r.current.getItem(e.focusedKey),f=[...r.current.getKeys()].map(b=>{const E=r.current.getItem(b);return(E==null?void 0:E.type)==="item"?E:null}).filter(b=>b!==null),p=[...t.getKeys()].map(b=>{const E=t.getItem(b);return(E==null?void 0:E.type)==="item"?E:null}).filter(b=>b!==null);var n,i;const g=((n=f==null?void 0:f.length)!==null&&n!==void 0?n:0)-((i=p==null?void 0:p.length)!==null&&i!==void 0?i:0);var o,l,a;let y=Math.min(g>1?Math.max(((o=d==null?void 0:d.index)!==null&&o!==void 0?o:0)-g+1,0):(l=d==null?void 0:d.index)!==null&&l!==void 0?l:0,((a=p==null?void 0:p.length)!==null&&a!==void 0?a:0)-1),h=null,v=!1;for(;y>=0;){if(!e.isDisabled(p[y].key)){h=p[y];break}if(y<p.length-1&&!v)y++;else{v=!0;var s,c;y>((s=d==null?void 0:d.index)!==null&&s!==void 0?s:0)&&(y=(c=d==null?void 0:d.index)!==null&&c!==void 0?c:0),y--}}e.setFocusedKey(h?h.key:null)}r.current=t},[t,e])}function M2(t){var e;let[r,n]=yi(t.selectedKey,(e=t.defaultSelectedKey)!==null&&e!==void 0?e:null,t.onSelectionChange),i=u.useMemo(()=>r!=null?[r]:[],[r]),{collection:o,disabledKeys:l,selectionManager:a}=O2({...t,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:i,onSelectionChange:c=>{if(c==="all")return;var d;let f=(d=c.values().next().value)!==null&&d!==void 0?d:null;f===r&&t.onSelectionChange&&t.onSelectionChange(f),n(f)}}),s=r!=null?o.getItem(r):null;return{collection:o,disabledKeys:l,selectionManager:a,selectedKey:r,setSelectedKey:n,selectedItem:s}}function ta(t){let[e,r]=yi(t.isOpen,t.defaultOpen||!1,t.onOpenChange);const n=u.useCallback(()=>{r(!0)},[r]),i=u.useCallback(()=>{r(!1)},[r]),o=u.useCallback(()=>{r(!e)},[r,e]);return{isOpen:e,setOpen:r,open:n,close:i,toggle:o}}function np(t){let{initialItems:e=[],initialSelectedKeys:r,getKey:n=h=>{var v;return(v=h.id)!==null&&v!==void 0?v:h.key},getChildren:i=h=>h.children}=t,[o,l]=u.useState(()=>f(e,new Map)),{items:a,nodeMap:s}=o,[c,d]=u.useState(new Set(r||[]));function f(h=[],v,b){return h==null&&(h=[]),{items:h.map(E=>{let C={key:n(E),parentKey:b??null,value:E,children:null};return C.children=f(i(E),v,C.key).items,v.set(C.key,C),C}),nodeMap:v}}function p(h,v,b,E){let C=v==null?null:E.get(v);if(C==null)return{items:h,nodeMap:E};let D=new Map(E),F=b(C);for(F==null?y(C,D):g(F,D);C&&C.parentKey;){let S=D.get(C.parentKey),M={key:S.key,parentKey:S.parentKey,value:S.value,children:null},_=S.children;F==null&&_&&(_=_.filter(V=>V!==C));var w;M.children=(w=_==null?void 0:_.map(V=>V===C?F:V))!==null&&w!==void 0?w:null,D.set(M.key,M),F=M,C=S}return F==null&&(h=h.filter(S=>S!==C)),{items:h.map(S=>S===C?F:S),nodeMap:D}}function g(h,v){if(v.set(h.key,h),h.children)for(let b of h.children)g(b,v)}function y(h,v){if(v.delete(h.key),h.children)for(let b of h.children)y(b,v)}return{items:a,selectedKeys:c,setSelectedKeys:d,getItem(h){return s.get(h)},insert(h,v,...b){l(({items:E,nodeMap:C})=>{let{items:D,nodeMap:F}=f(b,C,h);return h==null?{items:[...E.slice(0,v),...D,...E.slice(v)],nodeMap:F}:p(E,h,w=>({key:w.key,parentKey:w.parentKey,value:w.value,children:[...w.children.slice(0,v),...D,...w.children.slice(v)]}),F)})},insertBefore(h,...v){let b=s.get(h);if(!b)return;let E=s.get(b.parentKey),D=(E?E.children:a).indexOf(b);var F;this.insert((F=E==null?void 0:E.key)!==null&&F!==void 0?F:null,D,...v)},insertAfter(h,...v){let b=s.get(h);if(!b)return;let E=s.get(b.parentKey),D=(E?E.children:a).indexOf(b);var F;this.insert((F=E==null?void 0:E.key)!==null&&F!==void 0?F:null,D+1,...v)},prepend(h,...v){this.insert(h,0,...v)},append(h,...v){if(h==null)this.insert(null,a.length,...v);else{let b=s.get(h);if(!b)return;this.insert(h,b.children.length,...v)}},remove(...h){if(h.length===0)return;let v=a,b=s,E;for(let D of h)E=p(v,D,()=>null,b),b=E.nodeMap,v=E.items;l(E);let C=new Set(c);for(let D of c)E.nodeMap.has(D)||C.delete(D);d(C)},removeSelectedItems(){this.remove(...c)},move(h,v,b){l(({items:E,nodeMap:C})=>{let D=C.get(h);if(!D)return{items:E,nodeMap:C};let{items:F,nodeMap:w}=p(E,h,()=>null,C);const S={...D,parentKey:v};return v==null?(g(S,w),{items:[...F.slice(0,b),S,...F.slice(b)],nodeMap:w}):p(F,v,M=>({key:M.key,parentKey:M.parentKey,value:M.value,children:[...M.children.slice(0,b),S,...M.children.slice(b)]}),w)})},moveBefore(h,v){l(b=>{let{items:E,nodeMap:C}=b,D=C.get(h);if(!D)return b;var F;let w=(F=D.parentKey)!==null&&F!==void 0?F:null,S=null;var M;w!=null&&(S=(M=C.get(w))!==null&&M!==void 0?M:null);let _=S!=null&&S.children?S.children.indexOf(D):E.indexOf(D);return $s(b,v,S,_,p,g)})},moveAfter(h,v){l(b=>{let{items:E,nodeMap:C}=b,D=C.get(h);if(!D)return b;var F;let w=(F=D.parentKey)!==null&&F!==void 0?F:null,S=null;var M;w!=null&&(S=(M=C.get(w))!==null&&M!==void 0?M:null);let _=S!=null&&S.children?S.children.indexOf(D):E.indexOf(D);return _++,$s(b,v,S,_,p,g)})},update(h,v){l(({items:b,nodeMap:E})=>p(b,h,C=>{let D={key:C.key,parentKey:C.parentKey,value:v,children:null},F=f(i(v),E,D.key);return D.children=F.items,D},E))}}}function $s(t,e,r,n,i,o){let{items:l,nodeMap:a}=t,s=r,c=new Set(e);for(;(s==null?void 0:s.parentKey)!=null;){if(c.has(s.key))throw new Error("Cannot move an item to be a child of itself.");var d;s=(d=a.get(s.parentKey))!==null&&d!==void 0?d:null}let f=n,p=Array.isArray(e)?e:[...e],g=new Map,y=[],h=l,v=a,b=0;function E(w,{inorder:S,postorder:M}){S==null||S(w);var _;if(w!=null)for(let V of(_=w.children)!==null&&_!==void 0?_:[])E(V,{inorder:S,postorder:M}),M==null||M(V)}function C(w){p.includes(w.key)&&g.set(w.key,b++)}function D(w){if(p.includes(w.key)){var S;y.push({...v.get(w.key),parentKey:(S=r==null?void 0:r.key)!==null&&S!==void 0?S:null});let{items:M,nodeMap:_}=i(h,w.key,()=>null,v);h=M,v=_}(w.parentKey===r||w.parentKey===(r==null?void 0:r.key))&&p.includes(w.key)&&(r!=null&&r.children?r.children.indexOf(w):l.indexOf(w))<f&&n--}E({children:l},{inorder:C,postorder:D});let F=y.sort((w,S)=>g.get(w.key)>g.get(S.key)?1:-1);return!r||r.key==null?(F.forEach(w=>{o(w,v)}),{items:[...h.slice(0,n),...F,...h.slice(n)],nodeMap:v}):i(h,r.key,w=>({key:w.key,parentKey:w.parentKey,value:w.value,children:[...w.children.slice(0,n),...F,...w.children.slice(n)]}),v)}function ip(t){let e=ta(t),[r,n]=u.useState(null),[i,o]=u.useState([]),l=()=>{o([]),e.close()};return{focusStrategy:r,...e,open(c=null){n(c),e.open()},toggle(c=null){n(c),e.toggle()},close(){l()},expandedKeysStack:i,openSubmenu:(c,d)=>{o(f=>d>f.length?f:[...f.slice(0,d),c])},closeSubmenu:(c,d)=>{o(f=>f[d]===c?f.slice(0,d):f)}}}function op(t){let e=ta(t),[r,n]=u.useState(null),i=M2({...t,onSelectionChange:d=>{t.onSelectionChange!=null&&t.onSelectionChange(d),e.close(),o.commitValidation()}}),o=j4({...t,value:i.selectedKey}),[l,a]=u.useState(!1),[s]=u.useState(i.selectedKey);var c;return{...o,...i,...e,defaultSelectedKey:(c=t.defaultSelectedKey)!==null&&c!==void 0?c:s,focusStrategy:r,open(d=null){i.collection.size!==0&&(n(d),e.open())},toggle(d=null){i.collection.size!==0&&(n(d),e.toggle())},isFocused:l,setFocused:a}}function lp(t){var e,r;let n=M2({...t,onSelectionChange:t.onSelectionChange?s=>{var c;s!=null&&((c=t.onSelectionChange)===null||c===void 0||c.call(t,s))}:void 0,suppressTextValueWarning:!0,defaultSelectedKey:(r=(e=t.defaultSelectedKey)!==null&&e!==void 0?e:Ps(t.collection,t.disabledKeys?new Set(t.disabledKeys):new Set))!==null&&r!==void 0?r:void 0}),{selectionManager:i,collection:o,selectedKey:l}=n,a=u.useRef(l);return u.useEffect(()=>{let s=l;t.selectedKey==null&&(i.isEmpty||s==null||!o.getItem(s))&&(s=Ps(o,n.disabledKeys),s!=null&&i.setSelectedKeys([s])),(s!=null&&i.focusedKey==null||!i.isFocused&&s!==a.current)&&i.setFocusedKey(s),a.current=s}),{...n,isDisabled:t.isDisabled||!1}}function Ps(t,e){let r=null;if(t){var n,i,o,l;for(r=t.getFirstKey();r!=null&&(e.has(r)||!((i=t.getItem(r))===null||i===void 0||(n=i.props)===null||n===void 0)&&n.isDisabled)&&r!==t.getLastKey();)r=t.getKeyAfter(r);r!=null&&(e.has(r)||!((l=t.getItem(r))===null||l===void 0||(o=l.props)===null||o===void 0)&&o.isDisabled)&&r===t.getLastKey()&&(r=t.getFirstKey())}return r}class ap{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let r=this.keyMap.get(e);var n;return r&&(n=r.prevKey)!==null&&n!==void 0?n:null}getKeyAfter(e){let r=this.keyMap.get(e);var n;return r&&(n=r.nextKey)!==null&&n!==void 0?n:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(e){var r;return(r=this.keyMap.get(e))!==null&&r!==void 0?r:null}at(e){const r=[...this.getKeys()];return this.getItem(r[e])}constructor(e,{expandedKeys:r}={}){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=e,r=r||new Set;let n=a=>{if(this.keyMap.set(a.key,a),a.childNodes&&(a.type==="section"||r.has(a.key)))for(let s of a.childNodes)n(s)};for(let a of e)n(a);let i=null,o=0;for(let[a,s]of this.keyMap)i?(i.nextKey=a,s.prevKey=i.key):(this.firstKey=a,s.prevKey=void 0),s.type==="item"&&(s.index=o++),i=s,i.nextKey=void 0;var l;this.lastKey=(l=i==null?void 0:i.key)!==null&&l!==void 0?l:null}}function sp(t){let{onExpandedChange:e}=t,[r,n]=yi(t.expandedKeys?new Set(t.expandedKeys):void 0,t.defaultExpandedKeys?new Set(t.defaultExpandedKeys):new Set,e),i=ea(t),o=u.useMemo(()=>t.disabledKeys?new Set(t.disabledKeys):new Set,[t.disabledKeys]),l=Zu(t,u.useCallback(s=>new ap(s,{expandedKeys:r}),[r]),null);return u.useEffect(()=>{i.focusedKey!=null&&!l.getItem(i.focusedKey)&&i.setFocusedKey(null)},[l,i.focusedKey]),{collection:l,expandedKeys:r,disabledKeys:o,toggleKey:s=>{n(cp(r,s))},setExpandedKeys:n,selectionManager:new cn(l,i)}}function cp(t,e){let r=new Set(t);return r.has(e)?r.delete(e):r.add(e),r}const up=u.createContext(null),ol=u.createContext(null),B2=u.createContext(null),R2={CollectionRoot({collection:t,renderDropIndicator:e}){return Ts(t,null,e)},CollectionBranch({collection:t,parent:e,renderDropIndicator:r}){return Ts(t,e,r)}};function Ts(t,e,r){return Ic({items:e?t.getChildren(e.key):t,dependencies:[r],children(n){var i;let o=n.render(n);if(!r||n.type!=="item")return o;let l=n.key,a=t.getKeyAfter(l);return u.createElement(u.Fragment,null,r({type:"item",key:l,dropPosition:"before"}),o,(a==null||((i=t.getItem(a))===null||i===void 0?void 0:i.type)!=="item")&&r({type:"item",key:l,dropPosition:"after"}))}})}const jt=u.createContext(R2);function L2(t){return u.useMemo(()=>t!=null?new Set([t]):null,[t])}const $i=u.createContext({}),K2=u.createContext(null),dp=u.forwardRef(function(e,r){let{render:n}=u.useContext(K2);return u.createElement(u.Fragment,null,n(e,r))});function j2(t,e){var r;let n=t==null?void 0:t.renderDropIndicator,i=t==null||(r=t.isVirtualDragging)===null||r===void 0?void 0:r.call(t),o=u.useCallback(l=>{if(i||e!=null&&e.isDropTarget(l))return n?n(l):u.createElement(dp,{target:l})},[e==null?void 0:e.target,i,n]);return t!=null&&t.useDropIndicator?o:void 0}function fp(t,e,r){var n,i;let o=t.focusedKey,l=null;if(!(e==null||(n=e.isVirtualDragging)===null||n===void 0)&&n.call(e)&&(r==null||(i=r.target)===null||i===void 0?void 0:i.type)==="item"){l=r.target.key;var a;r.target.dropPosition==="after"&&(l=(a=r.collection.getKeyAfter(l))!==null&&a!==void 0?a:l)}return u.useMemo(()=>new Set([o,l].filter(s=>s!=null)),[o,l])}const H2=u.createContext({}),ra=u.createContext({}),V2=Si("separator",function(e,r){[e,r]=Xe(e,r,ra);let{elementType:n,orientation:i,style:o,className:l,slot:a,...s}=e,c=n||"hr";c==="hr"&&i==="vertical"&&(c="div");let{separatorProps:d}=zh({...s,elementType:n,orientation:i});return u.createElement(c,{...he(e),...d,style:o,className:l??"react-aria-Separator",ref:r,slot:a||void 0})}),na=u.createContext(null),un=u.createContext(null),hp=u.forwardRef(function(e,r){[e,r]=Xe(e,r,na);let n=u.useContext(un);return n?u.createElement(z2,{state:n,props:e,listBoxRef:r}):u.createElement(xi,{content:u.createElement(Vl,e)},i=>u.createElement(pp,{props:e,listBoxRef:r,collection:i}))});function pp({props:t,listBoxRef:e,collection:r}){t={...t,collection:r,children:null,items:null};let{layoutDelegate:n}=u.useContext(jt),i=O2({...t,layoutDelegate:n});return u.createElement(z2,{state:i,props:t,listBoxRef:e})}function z2({state:t,props:e,listBoxRef:r}){let{filter:n,collectionProps:i,collectionRef:o}=u.useContext(ol)||{};e=u.useMemo(()=>i?{...e,...i}:e,[e,i]);let{dragAndDropHooks:l,layout:a="stack",orientation:s="vertical"}=e;r=nt(u.useMemo(()=>$l(r,o!==void 0?o:null),[o,r]));let c=rp(t,n),{collection:d,selectionManager:f}=c,p=!!(l!=null&&l.useDraggableCollectionState),g=!!(l!=null&&l.useDroppableCollectionState),{direction:y}=Kt(),{disabledBehavior:h,disabledKeys:v}=f,b=zl({usage:"search",sensitivity:"base"}),{isVirtualized:E,layoutDelegate:C,dropTargetDelegate:D,CollectionRoot:F}=u.useContext(jt),w=u.useMemo(()=>e.keyboardDelegate||new Yl({collection:d,collator:b,ref:r,disabledKeys:v,disabledBehavior:h,layout:a,orientation:s,direction:y,layoutDelegate:C}),[d,b,r,h,v,s,y,e.keyboardDelegate,a,C]),{listBoxProps:S}=Ph({...e,shouldSelectOnPressUp:p||e.shouldSelectOnPressUp,keyboardDelegate:w,isVirtualized:E},c,r),M=u.useRef(p),_=u.useRef(g);u.useEffect(()=>{process.env.NODE_ENV!=="production"&&(M.current!==p&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),_.current!==g&&console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."))},[p,g]);let V,x,N,U=!1,k=null,Z=u.useRef(null);if(p&&l){V=l.useDraggableCollectionState({collection:d,selectionManager:f,preview:l.renderDragPreview?Z:void 0}),l.useDraggableCollection({},V,r);let $=l.DragPreview;k=l.renderDragPreview?u.createElement($,{ref:Z},l.renderDragPreview):null}if(g&&l){x=l.useDroppableCollectionState({collection:d,selectionManager:f});let $=l.dropTargetDelegate||D||new l.ListDropTargetDelegate(d,r,{orientation:s,layout:a,direction:y});N=l.useDroppableCollection({keyboardDelegate:w,dropTargetDelegate:$},x,r),U=x.isDropTarget({type:"root"})}let{focusProps:A,isFocused:O,isFocusVisible:z}=xr(),R={isDropTarget:U,isEmpty:c.collection.size===0,isFocused:O,isFocusVisible:z,layout:e.layout||"stack",state:c},I=Fe({className:e.className,style:e.style,defaultClassName:"react-aria-ListBox",values:R}),L=null;return c.collection.size===0&&e.renderEmptyState&&(L=u.createElement("div",{role:"option",style:{display:"contents"}},e.renderEmptyState(R))),u.createElement(Ul,null,u.createElement("div",{...he(e),...ie(S,A,N==null?void 0:N.collectionProps),...I,ref:r,slot:e.slot||void 0,onScroll:e.onScroll,"data-drop-target":U||void 0,"data-empty":c.collection.size===0||void 0,"data-focused":O||void 0,"data-focus-visible":z||void 0,"data-layout":e.layout||"stack","data-orientation":e.orientation||"vertical"},u.createElement(it,{values:[[na,e],[un,c],[$i,{dragAndDropHooks:l,dragState:V,dropState:x}],[ra,{elementType:"div"}],[K2,{render:bp}],[B2,{name:"ListBoxSection",render:gp}]]},u.createElement(F,{collection:d,scrollRef:r,persistedKeys:fp(f,l,x),renderDropIndicator:j2(l,x)})),L,k))}function gp(t,e,r,n="react-aria-ListBoxSection"){let i=u.useContext(un),{dragAndDropHooks:o,dropState:l}=u.useContext($i),{CollectionBranch:a}=u.useContext(jt),[s,c]=Ol();var d;let{headingProps:f,groupProps:p}=Oh({heading:c,"aria-label":(d=t["aria-label"])!==null&&d!==void 0?d:void 0}),g=Fe({defaultClassName:n,className:t.className,style:t.style,values:{}});return u.createElement("section",{...he(t),...p,...g,ref:e},u.createElement(H2.Provider,{value:{...f,ref:s}},u.createElement(a,{collection:i.collection,parent:r,renderDropIndicator:j2(o,l)})))}const vp=Si("item",function(e,r,n){let i=nt(r),o=u.useContext(un),{dragAndDropHooks:l,dragState:a,dropState:s}=u.useContext($i),{optionProps:c,labelProps:d,descriptionProps:f,...p}=Ih({key:n.key,"aria-label":e==null?void 0:e["aria-label"]},o,i),{hoverProps:g,isHovered:y}=Dr({isDisabled:!p.allowsSelection&&!p.hasAction,onHoverStart:n.props.onHoverStart,onHoverChange:n.props.onHoverChange,onHoverEnd:n.props.onHoverEnd}),h=null;a&&l&&(h=l.useDraggableItem({key:n.key},a));let v=null;s&&l&&(v=l.useDroppableItem({target:{type:"item",key:n.key,dropPosition:"on"}},s,i));let b=a&&a.isDragging(n.key),E=Fe({...e,id:void 0,children:e.children,defaultClassName:"react-aria-ListBoxItem",values:{...p,isHovered:y,selectionMode:o.selectionManager.selectionMode,selectionBehavior:o.selectionManager.selectionBehavior,allowsDragging:!!a,isDragging:b,isDropTarget:v==null?void 0:v.isDropTarget}});u.useEffect(()=>{!n.textValue&&process.env.NODE_ENV!=="production"&&console.warn("A `textValue` prop is required for <ListBoxItem> elements with non-plain text children in order to support accessibility features such as type to select.")},[n.textValue]);let C=e.href?"a":"div";return u.createElement(C,{...ie(c,g,h==null?void 0:h.dragProps,v==null?void 0:v.dropProps),...E,ref:i,"data-allows-dragging":!!a||void 0,"data-selected":p.isSelected||void 0,"data-disabled":p.isDisabled||void 0,"data-hovered":y||void 0,"data-focused":p.isFocused||void 0,"data-focus-visible":p.isFocusVisible||void 0,"data-pressed":p.isPressed||void 0,"data-dragging":b||void 0,"data-drop-target":(v==null?void 0:v.isDropTarget)||void 0,"data-selection-mode":o.selectionManager.selectionMode==="none"?void 0:o.selectionManager.selectionMode},u.createElement(it,{values:[[Ql,{slots:{[qr]:d,label:d,description:f}}]]},E.children))});function bp(t,e){e=nt(e);let{dragAndDropHooks:r,dropState:n}=u.useContext($i),{dropIndicatorProps:i,isHidden:o,isDropTarget:l}=r.useDropIndicator(t,n,e);return o?null:u.createElement(yp,{...t,dropIndicatorProps:i,isDropTarget:l,ref:e})}function mp(t,e){let{dropIndicatorProps:r,isDropTarget:n,...i}=t,o=Fe({...i,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:n}});return u.createElement("div",{...r,...o,role:"option",ref:e,"data-drop-target":n||void 0})}const yp=u.forwardRef(mp),Cp=u.createContext({placement:"bottom"}),U2=u.createContext(null),As=u.createContext(null),ia=u.forwardRef(function(e,r){[e,r]=Xe(e,r,U2);let n=u.useContext(la),i=ta(e),o=e.isOpen!=null||e.defaultOpen!=null||!n?i:n,l=S5(r,o.isOpen)||e.isExiting||!1,a=N5(),{direction:s}=Kt();if(a){let c=e.children;return typeof c=="function"&&(c=c({trigger:e.trigger||null,placement:"bottom",isEntering:!1,isExiting:!1,defaultChildren:null})),u.createElement(u.Fragment,null,c)}return o&&!o.isOpen&&!l?null:u.createElement(Ep,{...e,triggerRef:e.triggerRef,state:o,popoverRef:r,isExiting:l,dir:s})});function Ep({state:t,isExiting:e,UNSTABLE_portalContainer:r,...n}){let i=u.useRef(null),[o,l]=u.useState(0),a=u.useRef(null),s=u.useContext(As),c=s&&n.trigger==="SubmenuTrigger";ne(()=>{i.current&&t.isOpen&&l(i.current.getBoundingClientRect().width)},[t.isOpen,i]);var d;let{popoverProps:f,underlayProps:p,arrowProps:g,placement:y}=Ch({...n,offset:(d=n.offset)!==null&&d!==void 0?d:8,arrowSize:o,groupRef:c?s:a},t),h=n.popoverRef,v=x5(h,!!y)||n.isEntering||!1,b=Fe({...n,defaultClassName:"react-aria-Popover",values:{trigger:n.trigger||null,placement:y,isEntering:v,isExiting:e}}),E=!n.isNonModal||n.trigger==="SubmenuTrigger",[C,D]=u.useState(!1);ne(()=>{h.current&&D(E&&!h.current.querySelector("[role=dialog]"))},[h,E]),u.useEffect(()=>{C&&h.current&&!h.current.contains(document.activeElement)&&vt(h.current)},[C,h]);let F={...f.style,...b.style},w=u.createElement("div",{...ie(he(n),f),...b,role:C?"dialog":void 0,tabIndex:C?-1:void 0,"aria-label":n["aria-label"],"aria-labelledby":n["aria-labelledby"],ref:h,slot:n.slot||void 0,style:F,dir:n.dir,"data-trigger":n.trigger,"data-placement":y,"data-entering":v||void 0,"data-exiting":e||void 0},!n.isNonModal&&u.createElement(bs,{onDismiss:t.close}),u.createElement(Cp.Provider,{value:{...g,placement:y,ref:i}},b.children),u.createElement(bs,{onDismiss:t.close}));if(!c)return u.createElement(ms,{...n,shouldContainFocus:C,isExiting:e,portalContainer:r},!n.isNonModal&&t.isOpen&&u.createElement("div",{"data-testid":"underlay",...p,style:{position:"fixed",inset:0}}),u.createElement("div",{ref:a,style:{display:"contents"}},u.createElement(As.Provider,{value:a},w)));var S;return u.createElement(ms,{...n,shouldContainFocus:C,isExiting:e,portalContainer:(S=r??(s==null?void 0:s.current))!==null&&S!==void 0?S:void 0},w)}const wp=u.createContext({}),Dp=u.createContext(null),oa=u.createContext(null),_s=u.createContext(null),ri=u.createContext(null),xp=u.createContext(null),Sp=u.forwardRef(function(e,r){return[e,r]=Xe(e,r,Dp),u.createElement(xi,{content:u.createElement(Vl,e)},n=>u.createElement(Fp,{props:e,collection:n,menuRef:r}))});function Fp({props:t,collection:e,menuRef:r}){let{filter:n,collectionProps:i,collectionRef:o}=u.useContext(ol)||{};r=nt(u.useMemo(()=>$l(r,o!==void 0?o:null),[o,r]));let l=u.useMemo(()=>n?e.UNSTABLE_filter(n):e,[e,n]),a=sp({...t,collection:l,children:void 0}),s=u.useContext(_s),{isVirtualized:c,CollectionRoot:d}=u.useContext(jt),{menuProps:f}=Bh({...t,...i,isVirtualized:c,onClose:t.onClose||(s==null?void 0:s.close)},a,r),p=Fe({defaultClassName:"react-aria-Menu",className:t.className,style:t.style,values:{isEmpty:a.collection.size===0}}),g=null;return a.collection.size===0&&t.renderEmptyState&&(g=u.createElement("div",{role:"menuitem",style:{display:"contents"}},t.renderEmptyState())),u.createElement(Ul,null,u.createElement("div",{...he(t),...f,...p,ref:r,slot:t.slot||void 0,"data-empty":a.collection.size===0||void 0,onScroll:t.onScroll},u.createElement(it,{values:[[oa,a],[ra,{elementType:"div"}],[B2,{name:"MenuSection",render:Pp}],[xp,{parentMenuRef:r,shouldUseVirtualFocus:i==null?void 0:i.shouldUseVirtualFocus}],[ll,null],[ol,null],[ri,a.selectionManager],[_s,s??ip({})]]},u.createElement(d,{collection:a.collection,persistedKeys:L2(a.selectionManager.focusedKey),scrollRef:r})),g))}class $p extends cn{get focusedKey(){return this.parent.focusedKey}get isFocused(){return this.parent.isFocused}setFocusedKey(e,r){return this.parent.setFocusedKey(e,r)}setFocused(e){this.parent.setFocused(e)}get childFocusStrategy(){return this.parent.childFocusStrategy}constructor(e,r){super(e.collection,r),this.parent=e}}function Pp(t,e,r,n="react-aria-MenuSection"){var i,o;let l=u.useContext(oa),{CollectionBranch:a}=u.useContext(jt),[s,c]=Ol();var d;let{headingProps:f,groupProps:p}=Lh({heading:c,"aria-label":(d=r.props["aria-label"])!==null&&d!==void 0?d:void 0}),g=Fe({defaultClassName:n,className:(i=r.props)===null||i===void 0?void 0:i.className,style:(o=r.props)===null||o===void 0?void 0:o.style,values:{}}),y=u.useContext(ri),h=ea(t),v=t.selectionMode!=null?new $p(y,h):y;return u.createElement("section",{...he(t),...p,...g,ref:e},u.createElement(it,{values:[[H2,{...f,ref:s}],[ri,v]]},u.createElement(a,{collection:l.collection,parent:r})))}const ll=u.createContext(null),ks=Si("item",function(e,r,n){var i;[e,r]=Xe(e,r,ll);let o=(i=Ci(ll))===null||i===void 0?void 0:i.id,l=u.useContext(oa),a=nt(r),s=u.useContext(ri),{menuItemProps:c,labelProps:d,descriptionProps:f,keyboardShortcutProps:p,...g}=Rh({...e,id:o,key:n.key,selectionManager:s},l,a),{hoverProps:y,isHovered:h}=Dr({isDisabled:g.isDisabled}),v=Fe({...e,id:void 0,children:n.rendered,defaultClassName:"react-aria-MenuItem",values:{...g,isHovered:h,isFocusVisible:g.isFocusVisible,selectionMode:s.selectionMode,selectionBehavior:s.selectionBehavior,hasSubmenu:!!e["aria-haspopup"],isOpen:e["aria-expanded"]==="true"}}),b=e.href?"a":"div";return u.createElement(b,{...ie(c,y),...v,ref:a,"data-disabled":g.isDisabled||void 0,"data-hovered":h||void 0,"data-focused":g.isFocused||void 0,"data-focus-visible":g.isFocusVisible||void 0,"data-pressed":g.isPressed||void 0,"data-selected":g.isSelected||void 0,"data-selection-mode":s.selectionMode==="none"?void 0:s.selectionMode,"data-has-submenu":!!e["aria-haspopup"]||void 0,"data-open":e["aria-expanded"]==="true"||void 0},u.createElement(it,{values:[[Ql,{slots:{[qr]:d,label:d,description:f}}],[wp,p]]},v.children))}),Tp=u.createContext(null),la=u.createContext(null),Ap=u.forwardRef(function(e,r){let n=e["aria-labelledby"];[e,r]=Xe(e,r,Tp);let{dialogProps:i,titleProps:o}=Kh({...e,"aria-labelledby":n},r),l=u.useContext(la);!i["aria-label"]&&!i["aria-labelledby"]&&(e["aria-labelledby"]?i["aria-labelledby"]=e["aria-labelledby"]:process.env.NODE_ENV!=="production"&&console.warn('If a Dialog does not contain a <Heading slot="title">, it must have an aria-label or aria-labelledby attribute for accessibility.'));let a=Fe({defaultClassName:"react-aria-Dialog",className:e.className,style:e.style,children:e.children,values:{close:(l==null?void 0:l.close)||(()=>{})}});return u.createElement("section",{...he(e),...i,...a,ref:r,slot:e.slot||void 0},u.createElement(it,{values:[[I1,{slots:{[qr]:{},title:{...o,level:2}}}],[Jl,{slots:{[qr]:{},close:{onPress:()=>l==null?void 0:l.close()}}}]]},a.children))}),W2=u.createContext(null),Z2=u.createContext(null),_p=u.forwardRef(function(e,r){[e,r]=Xe(e,r,W2);let{children:n,isDisabled:i=!1,isInvalid:o=!1,isRequired:l=!1}=e,a=u.useMemo(()=>typeof n=="function"?n({isOpen:!1,isDisabled:i,isInvalid:o,isRequired:l,isFocused:!1,isFocusVisible:!1,defaultChildren:null}):n,[n,i,o,l]);return u.createElement(xi,{content:a},s=>u.createElement(kp,{props:e,collection:s,selectRef:r}))});function kp({props:t,selectRef:e,collection:r}){let{validationBehavior:n}=Ci(up)||{};var i,o;let l=(o=(i=t.validationBehavior)!==null&&i!==void 0?i:n)!==null&&o!==void 0?o:"native",a=op({...t,collection:r,children:void 0,validationBehavior:l}),{isFocusVisible:s,focusProps:c}=xr({within:!0}),d=u.useRef(null),[f,p]=Ol(!t["aria-label"]&&!t["aria-labelledby"]),{labelProps:g,triggerProps:y,valueProps:h,menuProps:v,descriptionProps:b,errorMessageProps:E,...C}=jh({...k5(t),label:p,validationBehavior:l},a,d),[D,F]=u.useState(null),w=u.useCallback(()=>{d.current&&F(d.current.offsetWidth+"px")},[d]);Ho({ref:d,onResize:w});let S=u.useMemo(()=>({isOpen:a.isOpen,isFocused:a.isFocused,isFocusVisible:s,isDisabled:t.isDisabled||!1,isInvalid:C.isInvalid||!1,isRequired:t.isRequired||!1}),[a.isOpen,a.isFocused,s,t.isDisabled,C.isInvalid,t.isRequired]),M=Fe({...t,values:S,defaultClassName:"react-aria-Select"}),_=he(t);delete _.id;let V=u.useRef(null);return u.createElement(it,{values:[[W2,t],[Z2,a],[Ip,h],[I2,{...g,ref:f,elementType:"span"}],[Jl,{...y,ref:d,isPressed:a.isOpen}],[la,a],[U2,{trigger:"Select",triggerRef:d,scrollRef:V,placement:"bottom start",style:{"--trigger-width":D},"aria-labelledby":v["aria-labelledby"]}],[na,{...v,ref:V}],[un,a],[Ql,{slots:{description:b,errorMessage:E}}],[ep,C]]},u.createElement("div",{..._,...M,...c,ref:e,slot:t.slot||void 0,"data-focused":a.isFocused||void 0,"data-focus-visible":s||void 0,"data-open":a.isOpen||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":C.isInvalid||void 0,"data-required":t.isRequired||void 0}),u.createElement(Vh,{autoComplete:t.autoComplete,state:a,triggerRef:d,label:p,name:t.name,isDisabled:t.isDisabled}))}const Ip=u.createContext(null),Pi=u.createContext(null),yr=u.createContext(null),Op=u.forwardRef(function(e,r){[e,r]=Xe(e,r,Pi);let{children:n,orientation:i="horizontal"}=e;return n=u.useMemo(()=>typeof n=="function"?n({orientation:i,defaultChildren:null}):n,[n,i]),u.createElement(xi,{content:n},o=>u.createElement(Np,{props:e,collection:o,tabsRef:r}))});function Np({props:t,tabsRef:e,collection:r}){let{orientation:n="horizontal"}=t,i=lp({...t,collection:r,children:void 0}),{focusProps:o,isFocused:l,isFocusVisible:a}=xr({within:!0}),s=u.useMemo(()=>({orientation:n,isFocusWithin:l,isFocusVisible:a}),[n,l,a]),c=Fe({...t,defaultClassName:"react-aria-Tabs",values:s});return u.createElement("div",{...he(t),...o,...c,ref:e,slot:t.slot||void 0,"data-focused":l||void 0,"data-orientation":n,"data-focus-visible":a||void 0,"data-disabled":i.isDisabled||void 0},u.createElement(it,{values:[[Pi,t],[yr,i]]},c.children))}const Mp=u.forwardRef(function(e,r){return u.useContext(yr)?u.createElement(Bp,{props:e,forwardedRef:r}):u.createElement(Vl,e)});function Bp({props:t,forwardedRef:e}){let r=u.useContext(yr),{CollectionRoot:n}=u.useContext(jt),{orientation:i="horizontal",keyboardActivation:o="automatic"}=Ci(Pi),l=nt(e),{tabListProps:a}=Gh({...t,orientation:i,keyboardActivation:o},r,l),s=Fe({...t,children:null,defaultClassName:"react-aria-TabList",values:{orientation:i,state:r}}),c=he(t);return delete c.id,u.createElement("div",{...c,...a,ref:l,...s,"data-orientation":i||void 0},u.createElement(n,{collection:r.collection,persistedKeys:L2(r.selectionManager.focusedKey)}))}const Rp=Si("item",(t,e,r)=>{let n=u.useContext(yr),i=nt(e),{tabProps:o,isSelected:l,isDisabled:a,isPressed:s}=Uh({key:r.key,...t},n,i),{focusProps:c,isFocused:d,isFocusVisible:f}=xr(),{hoverProps:p,isHovered:g}=Dr({isDisabled:a,onHoverStart:t.onHoverStart,onHoverEnd:t.onHoverEnd,onHoverChange:t.onHoverChange}),y=Fe({...t,id:void 0,children:r.rendered,defaultClassName:"react-aria-Tab",values:{isSelected:l,isDisabled:a,isFocused:d,isFocusVisible:f,isPressed:s,isHovered:g}}),h=r.props.href?"a":"div";return u.createElement(h,{...ie(o,c,p,y),ref:i,"data-selected":l||void 0,"data-disabled":a||void 0,"data-focused":d||void 0,"data-focus-visible":f||void 0,"data-pressed":s||void 0,"data-hovered":g||void 0},y.children)}),Lp=Bl(function(e,r){const n=u.useContext(yr);let i=nt(r),{tabPanelProps:o}=Wh(e,n,i),{focusProps:l,isFocused:a,isFocusVisible:s}=xr(),c=n.selectedKey===e.id,d=Fe({...e,defaultClassName:"react-aria-TabPanel",values:{isFocused:a,isFocusVisible:s,isInert:!c,state:n}});if(!c&&!e.shouldForceMount)return null;let f=he(e);delete f.id;let p=c?ie(f,o,l,d):d;return u.createElement("div",{...p,ref:i,"data-focused":a||void 0,"data-focus-visible":s||void 0,inert:E5(!c),"data-inert":c?void 0:"true"},u.createElement(it,{values:[[Pi,null],[yr,null]]},u.createElement(jt.Provider,{value:R2},d.children)))}),kt=({options:t,isOpen:e=!1,onOpenChange:r,children:n,selectedValues:i=[],onSelectValue:o,topMessage:l,shouldCloseOnInteractOutside:a})=>{const s=u.useId(),c=f=>{r==null||r(f)},d=u.useRef(null);return m.jsxs(m.Fragment,{children:[m.jsx("div",{className:"c__dropdown-menu-trigger",ref:d,id:s,onClick:f=>{f.stopPropagation(),f.preventDefault()},children:n}),m.jsx(ia,{triggerRef:d,style:{marginTop:"0px"},isOpen:e,shouldCloseOnInteractOutside:a,onOpenChange:c,children:m.jsxs(Sp,{className:"c__dropdown-menu","aria-labelledby":s,children:[l&&m.jsx(ks,{className:"c__dropdown-menu-item-top-message",children:l}),t.map(f=>f.isHidden?null:m.jsxs(u.Fragment,{children:[m.jsxs(ks,{className:"c__dropdown-menu-item","aria-label":f.label,onAction:()=>{var p;f.value&&(o==null||o(f.value)),(p=f.callback)==null||p.call(f),c(!1)},isDisabled:f.isDisabled,children:[f.icon,m.jsx("div",{className:"c__dropdown-menu-item__label","aria-label":f.label,children:f.label}),(f.isChecked||f.value&&i.includes(f.value))&&m.jsx("span",{className:"material-icons checked",children:"check"})]},f.label),f.showSeparator&&m.jsx(V2,{})]},f.label))]})})]})},bt=()=>{const[t,e]=u.useState(!1);return{isOpen:t,setIsOpen:e}},Is="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3e%3cpath%20d='M10%206v2H5v11h11v-5h2v6a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V7a1%201%200%200%201%201-1h6Zm11-3v8h-2V6.413l-7.793%207.794-1.414-1.414L17.585%205H13V3h8Z'%20/%3e%3c/svg%3e",Kp="data:image/svg+xml,%3csvg%20width='109'%20height='60'%20viewBox='0%200%20109%2060'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20%3e%3crect%20width='33'%20height='12'%20fill='url(%23paint0_linear_5795_13250)'%20/%3e%3cg%20clip-path='url(%23clip0_5795_13250)'%3e%3cg%20clip-path='url(%23clip1_5795_13250)'%3e%3cpath%20d='M8.475%206.8999C7.8%207.3499%207.2%207.8749%206.75%208.4749V8.3999C7.05%208.0249%207.275%207.6499%207.5%207.2749C7.8%207.1249%208.025%206.8999%208.25%206.6749C8.625%206.2999%209%205.9249%209.525%205.6999C9.75%205.6249%209.9%205.6249%2010.125%205.6999C10.05%205.7749%209.975%205.7749%209.825%205.8499H9.75V5.7749C9.525%205.9999%209.225%206.1499%209%206.4499C8.925%206.5999%208.85%206.8999%208.475%206.8999C8.55%206.8999%208.475%206.9749%208.475%206.8999ZM9.675%2010.3499C9.675%2010.2749%209.6%2010.3499%209.525%2010.3499L9.45%2010.4249L9.375%2010.4999L9.225%2010.6499C9.225%2010.6499%209.3%2010.7249%209.375%2010.6499L9.45%2010.5749C9.525%2010.5749%209.6%2010.4999%209.6%2010.4249C9.675%2010.4249%209.675%2010.4249%209.675%2010.3499ZM8.475%207.1249C8.55%207.1249%208.625%207.1249%208.625%207.0499C8.625%206.9749%208.7%206.9749%208.7%206.9749V6.8999C8.55%206.9749%208.475%207.0499%208.475%207.1249ZM10.275%208.5499C10.35%208.4749%2010.425%208.4749%2010.5%208.4749C11.025%208.3999%2011.55%208.2499%2012.075%208.0249C11.475%207.6499%2010.8%207.3499%2010.125%207.2749H10.2C10.125%207.1999%209.975%207.1999%209.825%207.1249H9.9C9.75%207.0499%209.525%207.0499%209.375%206.9749C9.45%206.9749%209.525%206.8249%209.525%206.7499H9.45C9.15%206.8999%209%207.1249%208.85%207.4249C9%207.4999%209.225%207.4249%209.375%207.4999H9.15C9.075%207.4999%209%207.5749%209%207.6499H9.075C9%207.6499%209%207.7249%208.925%207.7249C9%207.7999%209.075%207.7249%209.225%207.7249C9.225%207.7999%209.3%207.7999%209.3%207.7999C9.225%207.7999%209.15%207.8749%209.075%208.0249C9%208.1749%208.925%208.1749%208.85%208.2499V8.3249C8.625%208.4749%208.4%208.6999%208.175%208.9249V8.9999C8.1%209.0749%208.025%209.0749%208.025%209.1499V9.2249C8.325%209.1499%208.475%208.9249%208.775%208.8499L9.225%208.6249C9.375%208.6249%209.45%208.5499%209.6%208.5499V8.6249H9.75C9.75%208.6999%209.6%208.6249%209.675%208.6999C9.75%208.7749%209.9%208.7749%209.975%208.6999C10.125%208.5499%2010.2%208.5499%2010.275%208.5499ZM9.3%209.7499C9%209.8999%208.625%209.8999%208.4%2010.0499C8.4%2010.0499%208.4%2010.1249%208.325%2010.1249C8.325%2010.1249%208.25%2010.1249%208.25%2010.1999C8.175%2010.1999%208.175%2010.2749%208.1%2010.3499L8.025%2010.4249C8.025%2010.4249%208.025%2010.4999%208.1%2010.4249L8.175%2010.3499C8.175%2010.3499%208.1%2010.4249%208.1%2010.4999V10.7249L8.025%2010.7999C8.025%2010.7999%208.025%2010.8749%207.95%2010.8749L7.875%2010.9499L8.025%2010.7999L8.1%2010.7249H8.25C8.25%2010.7249%208.25%2010.6499%208.325%2010.6499C8.4%2010.5749%208.475%2010.4999%208.55%2010.4999H8.625C8.7%2010.4249%208.85%2010.4249%208.925%2010.3499C9%2010.2749%209.075%2010.1999%209.15%2010.1999C9.3%2010.0499%209.525%209.9749%209.75%209.8249C9.675%209.8249%209.6%209.7499%209.525%209.7499C9.525%209.8249%209.375%209.7499%209.3%209.7499ZM22.5%206.5249C22.425%206.6749%2022.2%206.6749%2022.05%206.7499C21.9%206.8999%2022.05%207.0499%2022.125%207.1249C22.2%207.3499%2021.975%207.4999%2021.825%207.4999C21.9%207.5749%2021.975%207.5749%2021.975%207.5749C21.975%207.7249%2022.125%207.7249%2022.05%207.8749C21.975%208.0249%2021.675%208.0999%2021.825%208.2499C21.9%208.3999%2021.9%208.6249%2021.825%208.7749C21.75%208.9249%2021.6%209.0749%2021.45%209.1499C21.3%209.2249%2021.15%209.2249%2021%209.1499C20.925%209.1499%2020.925%209.0749%2020.85%209.0749C20.475%208.9999%2020.1%208.9249%2019.725%208.9249C19.65%208.9249%2019.5%208.9999%2019.425%208.9999C19.35%209.0749%2019.2%209.1499%2019.125%209.2249L19.05%209.2999C18.975%209.3749%2018.9%209.4499%2018.9%209.5249C18.825%209.6749%2018.75%209.8249%2018.75%209.9749C18.6%2010.3499%2018.6%2010.7249%2018.75%2011.0249C18.75%2011.0249%2019.5%2011.2499%2020.025%2011.4749C20.175%2011.5499%2020.4%2011.6249%2020.55%2011.7749L21.825%2012.5249H9.9L11.1%2011.7749C11.55%2011.4749%2012.075%2011.2499%2012.6%2011.0249C12.975%2010.8749%2013.425%2010.6499%2013.725%2010.3499C13.875%2010.1999%2013.95%2010.0499%2014.1%209.9749C14.325%209.6749%2014.55%209.4499%2014.85%209.2249L15.075%208.9999C15.075%208.9999%2015.075%208.9249%2015.15%208.9249C15%208.9999%2015%209.0749%2014.85%209.0749C14.85%209.0749%2014.775%209.0749%2014.85%208.9999C14.925%208.9249%2015%208.8499%2015.075%208.8499V8.7749C14.775%208.7749%2014.55%208.9249%2014.325%209.1499H14.175C13.8%209.2999%2013.575%209.5249%2013.275%209.6749V9.5999C13.125%209.6749%2012.975%209.7499%2012.9%209.7499C12.75%209.7499%2012.525%209.8249%2012.3%209.7499C12%209.7499%2011.775%209.8249%2011.475%209.8999C11.325%209.9749%2011.175%209.9749%2011.025%2010.0499V10.1249L10.875%2010.2749C10.725%2010.3499%2010.65%2010.4249%2010.5%2010.5749L10.125%2010.9499H10.05L10.125%2010.8749L10.2%2010.7999C10.2%2010.7249%2010.275%2010.7249%2010.275%2010.6499C10.425%2010.5749%2010.5%2010.4249%2010.65%2010.3499C10.65%2010.3499%2010.65%2010.2749%2010.725%2010.2749L10.65%2010.3499C10.575%2010.4249%2010.575%2010.4999%2010.5%2010.4999V10.4249V10.3499L10.65%2010.1999C10.725%2010.1249%2010.8%2010.1249%2010.875%2010.0499H10.95C10.8%2010.1249%2010.725%2010.1249%2010.575%2010.1999H10.5H10.425C10.425%2010.1249%2010.5%2010.1249%2010.575%2010.0499H10.65C11.4%209.4499%2012.375%209.5999%2013.2%209.2999C13.275%209.2249%2013.35%209.2249%2013.425%209.1499C13.5%209.0749%2013.65%208.9999%2013.8%208.9249C13.95%208.7749%2014.1%208.6249%2014.175%208.3999V8.3249C13.875%208.6249%2013.575%208.8499%2013.2%209.0749C12.75%209.2249%2012.225%209.3749%2011.7%209.3749C11.7%209.2999%2011.775%209.2999%2011.775%209.2999C11.775%209.2249%2011.85%209.2249%2011.85%209.1499H11.925C11.925%209.1499%2011.925%209.0749%2012%209.0749H12.075C12%208.9999%2011.85%209.1499%2011.775%209.0749C11.85%208.9999%2011.775%208.9249%2011.85%208.9249H11.925C11.925%208.9249%2011.925%208.8499%2012%208.8499C12.375%208.6249%2012.675%208.4749%2012.975%208.3249C12.9%208.3249%2012.9%208.3999%2012.825%208.3249C12.9%208.3249%2012.825%208.2499%2012.9%208.2499C13.125%208.1749%2013.35%208.0249%2013.575%207.9499C13.5%207.9499%2013.425%208.0249%2013.35%207.9499C13.425%207.9499%2013.425%207.8749%2013.5%207.8749V7.7999C13.5%207.7249%2013.575%207.7999%2013.65%207.7249H13.575C13.65%207.6499%2013.725%207.5749%2013.875%207.5749C13.875%207.4999%2013.8%207.5749%2013.8%207.4999H13.875H13.5C13.425%207.4999%2013.5%207.4249%2013.5%207.4249C13.575%207.2749%2013.65%207.0499%2013.725%206.8999H13.65C13.425%207.1249%2013.05%207.2749%2012.75%207.3499H12.6C12.45%207.4249%2012.3%207.4249%2012.225%207.3499C12.15%207.2749%2012.075%207.1999%2012%207.1999C11.85%207.1249%2011.625%206.9749%2011.4%206.8999C10.875%206.7499%2010.275%206.5999%209.675%206.6749C9.9%206.5999%2010.2%206.5249%2010.5%206.4499C10.875%206.2999%2011.25%206.2249%2011.625%206.2249H11.4C11.1%206.2249%2010.725%206.2999%2010.425%206.3749C10.2%206.4499%209.975%206.5249%209.75%206.5249C9.6%206.5999%209.525%206.6749%209.375%206.6749V6.5999C9.6%206.2999%209.9%206.0749%2010.2%205.9999C10.575%205.9249%2011.025%205.9999%2011.4%206.0749C11.7%206.0749%2012%206.1499%2012.225%206.2249C12.3%206.2249%2012.375%206.3749%2012.45%206.4499C12.6%206.5249%2012.75%206.4499%2012.825%206.5249V6.3749C12.9%206.2999%2013.05%206.3749%2013.125%206.3749C13.275%206.2249%2012.975%206.0749%2012.9%205.9249V5.8499C13.05%205.9999%2013.275%206.1499%2013.425%206.2999C13.5%206.3749%2013.8%206.4499%2013.8%206.2999C13.65%206.0749%2013.5%205.8499%2013.275%205.6249V5.4749C13.2%205.4749%2013.2%205.4749%2013.2%205.3999C13.125%205.3249%2013.125%205.2499%2013.125%205.1749C13.05%205.0249%2013.125%204.8749%2013.05%204.7999C12.975%204.6499%2012.975%204.5749%2012.975%204.4249C12.9%204.0499%2012.825%203.6749%2012.75%203.3749C12.675%202.9249%2012.975%202.6249%2013.2%202.2499C13.35%201.9499%2013.575%201.7249%2013.8%201.4999C13.875%201.1999%2014.025%200.974902%2014.25%200.749902C14.475%200.524902%2014.7%200.374902%2014.925%200.299902C15.15%200.224902%2015.3%200.149902%2015.525%200.0749024L17.4%20-0.225098H18.75L20.1%20-9.76473e-05C20.175%20-9.76473e-05%2020.25%20-9.76324e-05%2020.25%200.0749024C20.325%200.149902%2020.475%200.224902%2020.55%200.224902C20.7%200.299902%2020.85%200.449902%2021%200.599902C21.075%200.674902%2021.15%200.824902%2021.075%200.899902C21%200.974902%2021%201.1999%2020.925%201.1999C20.775%201.2749%2020.625%201.2749%2020.475%201.2749C20.4%201.2749%2020.325%201.2749%2020.175%201.1999C20.55%201.3499%2020.85%201.4999%2021.075%201.7999C21.075%201.8749%2021.225%201.8749%2021.3%201.8749V1.9499C21.225%202.0249%2021.225%202.0249%2021.225%202.0999H21.3C21.375%202.0249%2021.375%201.7999%2021.525%201.8749C21.675%201.9499%2021.675%202.0999%2021.6%202.1749C21.525%202.2499%2021.45%202.3249%2021.3%202.3999V2.5499C21.375%202.6249%2021.375%202.6999%2021.45%202.8499C21.525%202.9999%2021.525%203.2249%2021.6%203.3749C21.675%203.7499%2021.75%204.0499%2021.75%204.4249C21.75%204.5749%2021.675%204.7999%2021.75%204.9499L21.975%205.3999C22.05%205.5499%2022.125%205.6249%2022.2%205.7749C22.35%205.9999%2022.65%206.2249%2022.5%206.5249ZM10.8%2010.4249C10.725%2010.4249%2010.725%2010.4999%2010.725%2010.4999C10.725%2010.4999%2010.8%2010.4999%2010.8%2010.4249ZM10.125%208.9249C10.125%208.9999%2010.2%208.9249%2010.2%208.9249C10.35%208.8499%2010.575%208.9249%2010.65%208.7749C10.575%208.6999%2010.5%208.7749%2010.5%208.6999C10.425%208.6999%2010.35%208.6999%2010.35%208.7749C10.275%208.8499%2010.125%208.8499%2010.125%208.9249Z'%20fill='white'%20/%3e%3cpath%20d='M20.925%204.3501C21%204.3501%2021.15%204.3501%2021.15%204.4251C21.075%204.5751%2020.85%204.6501%2020.7%204.8001H20.625C20.55%204.8751%2020.55%204.9501%2020.55%204.9501H20.325C20.4%205.0251%2020.55%205.1001%2020.7%205.1001L20.775%205.1751H20.925V5.2501C20.85%205.3251%2020.775%205.3251%2020.625%205.3251C20.775%205.4001%2021%205.4001%2021.15%205.3251C21.3%205.2501%2021.15%205.0251%2021.225%204.9501C21.15%204.9501%2021.225%204.8751%2021.15%204.8751C21.225%204.8001%2021.225%204.7251%2021.3%204.7251C21.375%204.7251%2021.375%204.7251%2021.45%204.6501C21.45%204.5751%2021.375%204.5751%2021.375%204.5001C21.525%204.4251%2021.6%204.2751%2021.6%204.1251C21.6%204.0501%2021.375%204.0501%2021.3%203.9751H20.925C20.775%203.9751%2020.7%204.0501%2020.55%204.0501L20.1%204.2751C20.25%204.2001%2020.4%204.2001%2020.625%204.1251C20.625%204.3501%2020.775%204.3501%2020.925%204.3501Z'%20fill='%237C7C7C'%20/%3e%3c/g%3e%3c/g%3e%3cpath%20d='M5.355%2025.5762C6.1866%2025.5762%206.9048%2025.2864%207.4088%2024.8076V23.2704H5.166V21.7458H9.198V25.4502C8.379%2026.5464%207.0056%2027.252%205.355%2027.252C2.4948%2027.252%200.5418%2025.11%200.5418%2022.59C0.5418%2020.07%202.4444%2017.928%205.229%2017.928C6.8292%2017.928%208.1396%2018.6462%208.946%2019.7172L7.5348%2020.8134C7.0308%2020.0952%206.237%2019.6038%205.229%2019.6038C3.5658%2019.6038%202.3814%2020.9016%202.3814%2022.59C2.3814%2024.2784%203.6288%2025.5762%205.355%2025.5762ZM15.2175%2017.928C17.9895%2017.928%2019.8921%2020.07%2019.8921%2022.59C19.8921%2025.11%2017.9895%2027.252%2015.2175%2027.252C12.4329%2027.252%2010.5303%2025.11%2010.5303%2022.59C10.5303%2020.07%2012.4329%2017.928%2015.2175%2017.928ZM15.2175%2025.5762C16.8681%2025.5762%2018.0525%2024.2784%2018.0525%2022.59C18.0525%2020.9016%2016.8681%2019.6038%2015.2175%2019.6038C13.5543%2019.6038%2012.3699%2020.9016%2012.3699%2022.59C12.3699%2024.2784%2013.5543%2025.5762%2015.2175%2025.5762ZM26.8084%2023.6988V18.18H28.5976V23.5476C28.5976%2025.866%2027.2368%2027.252%2025.0192%2027.252C22.8142%2027.252%2021.4534%2025.866%2021.4534%2023.5476V18.18H23.2426V23.6988C23.2426%2024.8832%2023.9104%2025.5762%2025.0318%2025.5762C26.128%2025.5762%2026.8084%2024.8832%2026.8084%2023.6988ZM29.7114%2018.18H31.614L34.2222%2025.0722L36.8304%2018.18H38.733L35.394%2027H33.0504L29.7114%2018.18ZM40.095%2027V18.18H45.2358V19.6668H41.8842V21.7584H44.7318V23.2452H41.8842V25.5132H45.2358V27H40.095ZM47.3149%2027V18.18H50.0113C51.9517%2018.18%2053.1487%2019.1754%2053.1487%2020.8134C53.1487%2021.8844%2052.6321%2022.6782%2051.7249%2023.094L54.4843%2027H52.3801L50.0239%2023.4342H49.1041V27H47.3149ZM50.1121%2019.6668H49.1041V21.9474H50.1121C50.8681%2021.9474%2051.3091%2021.5064%2051.3091%2020.7882C51.3091%2020.1204%2050.8681%2019.6668%2050.1121%2019.6668ZM55.6176%2027V18.18H57.9108L61.8546%2024.5556V18.18H63.6438V27H61.3506L57.4068%2020.6244V27H55.6176ZM66.1105%2027V18.18H71.2513V19.6668H67.8997V21.7584H70.7473V23.2452H67.8997V25.5132H71.2513V27H66.1105ZM73.3304%2027V18.18H75.5606L77.7152%2021.8844L79.8698%2018.18H82.1V27H80.3108V20.6748L78.3452%2023.976H77.0852L75.1196%2020.6748V27H73.3304ZM84.5617%2027V18.18H89.7025V19.6668H86.3509V21.7584H89.1985V23.2452H86.3509V25.5132H89.7025V27H84.5617ZM91.7816%2027V18.18H94.0748L98.0186%2024.5556V18.18H99.8078V27H97.5146L93.5708%2020.6244V27H91.7816ZM101.367%2019.8054V18.18H108.6V19.8054H105.878V27H104.089V19.8054H101.367Z'%20fill='%23161616'%20/%3e%3cg%20clip-path='url(%23clip2_5795_13250)'%3e%3cg%20clip-path='url(%23clip3_5795_13250)'%3e%3cg%20clip-path='url(%23clip4_5795_13250)'%3e%3cg%20clip-path='url(%23clip5_5795_13250)'%3e%3cg%20clip-path='url(%23clip6_5795_13250)'%3e%3cpath%20d='M30.775%2056.45C31.15%2055.5%2030.7%2055.125%2030.15%2055.125C29.225%2055.125%2028.175%2056.75%2028.175%2058.05C28.175%2058.675%2028.475%2059%2028.925%2059C29.45%2059%2030%2058.5%2030.475%2057.625H30.225C29.925%2058%2029.575%2058.275%2029.25%2058.275C28.925%2058.275%2028.75%2058.075%2028.75%2057.625C28.7558%2057.4396%2028.781%2057.2552%2028.825%2057.075L30.775%2056.45ZM29.775%2055.675C30.05%2055.675%2030.275%2055.875%2030.15%2056.325L28.95%2056.65C29.15%2056.1%2029.5%2055.65%2029.8%2055.65L29.775%2055.675Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cpath%20d='M30.15%2054.6999L31.275%2053.6749V53.5249H30.525L29.85%2054.6999H30.175H30.15Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip7_5795_13250)'%3e%3cpath%20d='M25.975%2055.675H26.625L25.575%2058.525C25.5421%2058.576%2025.5242%2058.6352%2025.5232%2058.6959C25.5222%2058.7565%2025.5382%2058.8163%2025.5694%2058.8683C25.6007%2058.9204%2025.6458%2058.9626%2025.6998%2058.9903C25.7538%2059.018%2025.8145%2059.03%2025.875%2059.025C26.625%2059.025%2027.475%2058.375%2027.825%2057.475H27.65C27.3359%2057.9021%2026.8865%2058.2105%2026.375%2058.35L27.3%2055.675H28.3L28.425%2055.275H27.475L27.8%2054.25H27.45L26.775%2055.275L25.975%2055.375V55.675Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip8_5795_13250)'%3e%3cpath%20d='M25.3%2055.5249C25.375%2055.2749%2025.2%2055.1249%2025.05%2055.1249C24.5%2055.1249%2023.8%2055.6499%2023.55%2056.3749H23.725C23.9026%2056.0881%2024.1778%2055.875%2024.5%2055.7749L23.425%2058.5999C23.4034%2058.6422%2023.3932%2058.6894%2023.3952%2058.7368C23.3973%2058.7843%2023.4116%2058.8304%2023.4368%2058.8707C23.4619%2058.911%2023.4971%2058.9441%2023.5389%2058.9667C23.5806%2058.9893%2023.6275%2059.0008%2023.675%2058.9999C24.225%2058.9999%2024.85%2058.4999%2025.125%2057.7499H24.9C24.7378%2058.0509%2024.471%2058.2821%2024.15%2058.3999L25.3%2055.5249ZM25.4%2054.4499C25.4591%2054.4499%2025.5176%2054.4383%2025.5722%2054.4156C25.6268%2054.393%2025.6764%2054.3599%2025.7182%2054.3181C25.76%2054.2763%2025.7932%2054.2267%2025.8158%2054.1721C25.8384%2054.1175%2025.85%2054.059%2025.85%2053.9999C25.8534%2053.9387%2025.8443%2053.8775%2025.8232%2053.82C25.8021%2053.7625%2025.7695%2053.7099%2025.7274%2053.6654C25.6853%2053.6209%2025.6345%2053.5855%2025.5782%2053.5614C25.5219%2053.5372%2025.4613%2053.5248%2025.4%2053.5249C25.2807%2053.5249%2025.1662%2053.5723%2025.0818%2053.6567C24.9974%2053.7411%2024.95%2053.8556%2024.95%2053.9749C24.95%2054.0943%2024.9974%2054.2087%2025.0818%2054.2931C25.1662%2054.3775%2025.2807%2054.4249%2025.4%2054.4249'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip9_5795_13250)'%3e%3cpath%20d='M20.125%2055.8999C20.3%2055.8999%2020.375%2056.1499%2020.125%2056.7499L19.375%2058.4499C19.2%2058.7749%2019.375%2058.9999%2019.675%2058.9999C19.7577%2059.0148%2019.843%2058.997%2019.9129%2058.9504C19.9828%2058.9038%2020.0319%2058.8319%2020.05%2058.7499L20.8%2056.7499C21.15%2056.3249%2021.8%2055.8749%2022.05%2055.8749C22.3%2055.8749%2022.25%2056.0249%2022.125%2056.2749L20.975%2058.5249C20.9497%2058.5734%2020.9371%2058.6276%2020.9383%2058.6823C20.9395%2058.737%2020.9545%2058.7906%2020.9819%2058.838C21.0094%2058.8854%2021.0483%2058.925%2021.0952%2058.9533C21.142%2058.9816%2021.1953%2058.9976%2021.25%2058.9999C21.825%2058.9999%2022.5%2058.4999%2022.75%2057.7499H22.6C22.4209%2058.051%2022.1355%2058.274%2021.8%2058.3749L22.8%2056.3749C22.9222%2056.1611%2022.9908%2055.9209%2023%2055.6749C23.0079%2055.6007%2022.9991%2055.5257%2022.9742%2055.4554C22.9494%2055.3851%2022.9091%2055.3212%2022.8564%2055.2685C22.8036%2055.2158%2022.7398%2055.1755%2022.6695%2055.1507C22.5991%2055.1258%2022.5242%2055.117%2022.45%2055.1249C21.95%2055.1249%2021.55%2055.6749%2020.95%2056.3749V55.8249C20.95%2055.4749%2020.825%2055.1249%2020.5%2055.1249C20.1%2055.1249%2019.75%2055.7499%2019.475%2056.3499H19.65C19.825%2056.0749%2019.975%2055.8999%2020.15%2055.8999'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip10_5795_13250)'%3e%3cpath%20d='M19.375%2056C19.5%2055.525%2019.425%2055.125%2019.075%2055.125C18.625%2055.125%2018.5%2055.425%2018.075%2056.375V55.825C18.05%2055.45%2017.925%2055.125%2017.575%2055.125C17.2%2055.125%2016.85%2055.75%2016.55%2056.375H16.75C16.925%2056.05%2017.125%2055.875%2017.25%2055.875C17.425%2055.875%2017.5%2056.125%2017.25%2056.725L16.5%2058.425C16.325%2058.75%2016.5%2058.95%2016.8%2058.95C16.8827%2058.9649%2016.968%2058.9472%2017.0379%2058.9006C17.1078%2058.8539%2017.1569%2058.7821%2017.175%2058.7L17.925%2056.7C18.1317%2056.4415%2018.3486%2056.1913%2018.575%2055.95H19.375V56Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip11_5795_13250)'%3e%3cpath%20d='M16.175%2056.45C16.55%2055.5%2016.1%2055.125%2015.55%2055.125C14.625%2055.125%2013.575%2056.75%2013.575%2058.05C13.575%2058.675%2013.875%2059%2014.325%2059C14.85%2059%2015.4%2058.5%2015.875%2057.625H15.625C15.325%2058%2014.975%2058.275%2014.65%2058.275C14.325%2058.275%2014.15%2058.075%2014.15%2057.625C14.1559%2057.4396%2014.181%2057.2552%2014.225%2057.075L16.175%2056.45ZM15.175%2055.675C15.45%2055.675%2015.675%2055.875%2015.55%2056.325L14.35%2056.65C14.55%2056.1%2014.9%2055.65%2015.2%2055.65L15.175%2055.675Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip12_5795_13250)'%3e%3cpath%20d='M11.35%2055.675H12L10.95%2058.525C10.9171%2058.576%2010.8992%2058.6352%2010.8982%2058.6959C10.8972%2058.7565%2010.9132%2058.8163%2010.9444%2058.8683C10.9757%2058.9204%2011.0208%2058.9626%2011.0748%2058.9903C11.1288%2059.018%2011.1895%2059.03%2011.25%2059.025C12%2059.025%2012.85%2058.375%2013.2%2057.475H13.025C12.7109%2057.9021%2012.2615%2058.2105%2011.75%2058.35L12.675%2055.675H13.675L13.8%2055.275H12.85L13.175%2054.25H12.825L12.15%2055.275L11.35%2055.375V55.675Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip13_5795_13250)'%3e%3cpath%20d='M9.84996%2058.2252C9.69996%2058.2252%209.59996%2057.9752%209.84996%2057.3752L10.875%2054.9752L10.575%2054.9502L10.25%2055.2752H10.175C8.74996%2055.2752%207.22496%2057.1002%207.22496%2058.5002C7.22137%2058.5701%207.23249%2058.64%207.25761%2058.7053C7.28272%2058.7706%207.32126%2058.8299%207.37075%2058.8794C7.42024%2058.9289%207.47956%2058.9674%207.54488%2058.9926C7.6102%2059.0177%207.68007%2059.0288%207.74996%2059.0252C8.17496%2059.0252%208.57496%2058.4252%209.04996%2057.7752L9.02496%2058.0252C8.94996%2058.6752%209.17496%2059.0252%209.52496%2059.0252C9.89996%2059.0252%2010.275%2058.4252%2010.525%2057.8002H10.35C10.175%2058.0752%209.97496%2058.2502%209.84996%2058.2502V58.2252ZM9.19996%2057.4002C8.87496%2057.8002%208.34996%2058.2752%208.12496%2058.2752C7.99996%2058.2752%207.89996%2058.1502%207.89996%2057.8752C7.89996%2057.0002%208.89996%2055.8252%209.39996%2055.8252C9.51862%2055.822%209.63696%2055.8389%209.74996%2055.8752L9.19996%2057.4002Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip14_5795_13250)'%3e%3cpath%20d='M7.85004%2056C7.97504%2055.525%207.90004%2055.125%207.55004%2055.125C7.10004%2055.125%206.97504%2055.425%206.55004%2056.375V55.825C6.52504%2055.45%206.40004%2055.125%206.05004%2055.125C5.67504%2055.125%205.32504%2055.75%205.02504%2056.375H5.22504C5.40004%2056.05%205.60004%2055.875%205.72504%2055.875C5.90004%2055.875%205.97504%2056.125%205.72504%2056.725L4.97504%2058.425C4.80004%2058.75%204.97504%2058.95%205.27504%2058.95C5.35775%2058.9649%205.443%2058.9472%205.51292%2058.9006C5.58284%2058.8539%205.63198%2058.7821%205.65004%2058.7L6.40004%2056.7C6.60676%2056.4415%206.82359%2056.1913%207.05004%2055.95H7.85004V56Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip15_5795_13250)'%3e%3cpath%20d='M2.79998%2058.8499L2.87498%2058.6249C1.92498%2058.4499%201.79998%2058.4499%202.19998%2057.4249L2.54998%2056.4499H3.29998C3.77498%2056.4499%203.77498%2056.6749%203.69998%2057.1999H3.94998L4.59998%2055.4749H4.34998C4.09998%2055.8749%203.89998%2056.1999%203.39998%2056.1999H2.64998L3.14998%2054.7999C3.34998%2054.2999%203.42498%2054.1999%204.07498%2054.1999H4.24998C4.89998%2054.1999%204.99998%2054.3749%204.99998%2055.0749H5.24998L5.47498%2053.8999H1.82498L1.74998%2054.1249C2.49998%2054.2749%202.57498%2054.3499%202.24998%2055.3249L1.42498%2057.3999C1.04998%2058.3749%200.924976%2058.4499%200.0499756%2058.5999L-0.0250244%2058.8249L2.79998%2058.8499Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip16_5795_13250)'%3e%3cg%20clip-path='url(%23clip17_5795_13250)'%3e%3cpath%20d='M21.925%2048.2C22.3%2047.25%2021.85%2046.875%2021.3%2046.875C20.375%2046.875%2019.325%2048.5%2019.325%2049.8C19.325%2050.425%2019.625%2050.75%2020.075%2050.75C20.6%2050.75%2021.15%2050.25%2021.625%2049.375H21.375C21.075%2049.75%2020.725%2050.025%2020.4%2050.025C20.075%2050.025%2019.9%2049.825%2019.9%2049.375C19.9059%2049.1896%2019.931%2049.0052%2019.975%2048.825L21.925%2048.2ZM20.925%2047.425C21.2%2047.425%2021.425%2047.625%2021.3%2048.075L20.1%2048.4C20.3%2047.85%2020.65%2047.4%2020.95%2047.4L20.925%2047.425Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cpath%20d='M21.3%2046.4499L22.425%2045.4249V45.2749H21.675L21%2046.4499H21.325H21.3Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip18_5795_13250)'%3e%3cpath%20d='M17.125%2047.425H17.775L16.725%2050.275C16.6921%2050.326%2016.6742%2050.3852%2016.6732%2050.4459C16.6722%2050.5065%2016.6882%2050.5663%2016.7195%2050.6183C16.7507%2050.6704%2016.7959%2050.7126%2016.8499%2050.7403C16.9039%2050.768%2016.9645%2050.78%2017.025%2050.775C17.775%2050.775%2018.625%2050.125%2018.975%2049.225H18.8C18.4859%2049.6521%2018.0365%2049.9605%2017.525%2050.1L18.45%2047.425H19.45L19.575%2047.025H18.625L18.95%2046H18.6L17.925%2047.025L17.125%2047.125V47.425Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip19_5795_13250)'%3e%3cpath%20d='M16.45%2047.25C16.525%2047%2016.35%2046.85%2016.2%2046.85C15.65%2046.85%2014.95%2047.375%2014.7%2048.1H14.875C15.0526%2047.8132%2015.3278%2047.6001%2015.65%2047.5L14.575%2050.325C14.5534%2050.3673%2014.5431%2050.4145%2014.5452%2050.4619C14.5472%2050.5094%2014.5615%2050.5555%2014.5867%2050.5958C14.6119%2050.6361%2014.6471%2050.6692%2014.6888%2050.6918C14.7306%2050.7144%2014.7775%2050.7259%2014.825%2050.725C15.375%2050.725%2016%2050.225%2016.275%2049.475H16.05C15.8878%2049.776%2015.621%2050.0072%2015.3%2050.125L16.45%2047.25ZM16.55%2046.175C16.6091%2046.175%2016.6676%2046.1634%2016.7222%2046.1407C16.7768%2046.1181%2016.8264%2046.085%2016.8682%2046.0432C16.91%2046.0014%2016.9431%2045.9518%2016.9657%2045.8972C16.9884%2045.8426%2017%2045.7841%2017%2045.725C17.0034%2045.6638%2016.9943%2045.6026%2016.9732%2045.5451C16.9521%2045.4876%2016.9195%2045.435%2016.8774%2045.3905C16.8352%2045.346%2016.7845%2045.3106%2016.7282%2045.2865C16.6719%2045.2623%2016.6113%2045.2499%2016.55%2045.25C16.4306%2045.25%2016.3162%2045.2974%2016.2318%2045.3818C16.1474%2045.4662%2016.1%2045.5807%2016.1%2045.7C16.1%2045.8193%2016.1474%2045.9338%2016.2318%2046.0182C16.3162%2046.1026%2016.4306%2046.15%2016.55%2046.15'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip20_5795_13250)'%3e%3cpath%20d='M13.075%2050.1249L14.875%2045.3499L14.8%2045.2749L13.55%2045.4249V45.5749L13.8%2045.7499C14.025%2045.9249%2013.95%2046.0749%2013.75%2046.5999L12.4%2050.2499C12.3685%2050.2991%2012.3509%2050.3559%2012.349%2050.4142C12.3471%2050.4726%2012.3609%2050.5304%2012.389%2050.5815C12.4172%2050.6327%2012.4586%2050.6753%2012.5089%2050.705C12.5592%2050.7346%2012.6166%2050.7501%2012.675%2050.7499C13.25%2050.7499%2013.85%2050.2249%2014.125%2049.4999H13.95C13.7377%2049.8015%2013.4291%2050.0219%2013.075%2050.1249Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip21_5795_13250)'%3e%3cpath%20d='M11.35%2049.9752C11.2%2049.9752%2011.1%2049.7252%2011.35%2049.1252L12.375%2046.7252L12.075%2046.7002L11.75%2047.0252H11.675C10.25%2047.0252%208.72496%2048.8502%208.72496%2050.2502C8.72137%2050.3201%208.73249%2050.39%208.75761%2050.4553C8.78272%2050.5206%208.82126%2050.5799%208.87075%2050.6294C8.92024%2050.6789%208.97956%2050.7174%209.04488%2050.7426C9.1102%2050.7677%209.18007%2050.7788%209.24996%2050.7752C9.67496%2050.7752%2010.075%2050.1752%2010.55%2049.5252L10.525%2049.7752C10.45%2050.4252%2010.675%2050.7752%2011.025%2050.7752C11.4%2050.7752%2011.775%2050.1752%2012.025%2049.5502H11.85C11.675%2049.8252%2011.475%2050.0002%2011.35%2050.0002V49.9752ZM10.7%2049.1502C10.375%2049.5502%209.84996%2050.0252%209.62496%2050.0252C9.49996%2050.0252%209.39996%2049.9002%209.39996%2049.6252C9.39996%2048.7502%2010.4%2047.5752%2010.9%2047.5752C11.0186%2047.572%2011.137%2047.5889%2011.25%2047.6252L10.7%2049.1502Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip22_5795_13250)'%3e%3cpath%20d='M9.15%2047.0002H8.075C7.91845%2046.8999%207.73591%2046.8477%207.55%2046.8502C7.11669%2046.8501%206.70075%2047.0205%206.39202%2047.3246C6.0833%2047.6286%205.90657%2048.0419%205.9%2048.4752C5.88969%2048.5836%205.90095%2048.693%205.93314%2048.797C5.96532%2048.9011%206.01779%2048.9977%206.08751%2049.0814C6.15724%2049.1651%206.24284%2049.2341%206.33938%2049.2845C6.43592%2049.335%206.54149%2049.3658%206.65%2049.3752C6.175%2049.5752%205.9%2049.8252%205.9%2050.1002C5.9%2050.1772%205.92093%2050.2528%205.96057%2050.3188C6.0002%2050.3849%206.05703%2050.4389%206.125%2050.4752C5.05%2050.8002%204.625%2051.1752%204.625%2051.6502C4.625%2052.1502%205.275%2052.3502%206.025%2052.3502C7.35%2052.3502%208.425%2051.6752%208.425%2051.0752C8.425%2050.6252%208.025%2050.4502%207.35%2050.2502C6.8%2050.0752%206.55%2050.0502%206.55%2049.8502C6.56644%2049.752%206.60704%2049.6595%206.66814%2049.581C6.72924%2049.5024%206.80892%2049.4403%206.9%2049.4002C7.31131%2049.369%207.69601%2049.1848%207.97828%2048.884C8.26056%2048.5832%208.41993%2048.1876%208.425%2047.7752C8.42962%2047.6483%208.41272%2047.5215%208.375%2047.4002H9L9.15%2047.0002ZM7.1%2050.9002C7.625%2051.0752%207.85%2051.1502%207.85%2051.3002C7.85%2051.6502%207.35%2051.9252%206.45%2051.9252C5.775%2051.9252%205.45%2051.7752%205.45%2051.4252C5.45%2051.0502%205.8%2050.8002%206.325%2050.6002C6.56712%2050.7189%206.81783%2050.8191%207.075%2050.9002H7.1ZM6.9%2049.1002C6.65%2049.1002%206.575%2048.9002%206.575%2048.6752C6.575%2047.9752%206.925%2047.1252%207.45%2047.1252C7.7%2047.1252%207.775%2047.3252%207.775%2047.5252C7.775%2048.2502%207.425%2049.1002%206.9%2049.1002Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip23_5795_13250)'%3e%3cpath%20d='M3.575%2048.2252C4.05%2048.2252%204.075%2048.4252%203.975%2048.9252H4.25L4.875%2047.2252H4.625C4.375%2047.6252%204.2%2047.9502%203.675%2047.9502H2.65L3.15%2046.5502C3.325%2046.0502%203.4%2045.9502%204.075%2045.9502H4.5C5.15%2045.9502%205.25%2046.1252%205.25%2046.8252H5.5L5.725%2045.6502H1.825L1.75%2045.8752C2.5%2046.0252%202.575%2046.1002%202.25%2047.0752L1.45%2049.1752C1.075%2050.1502%200.95%2050.2252%200.05%2050.3752L0%2050.6252H4.35L5.15%2049.3752H4.85C4.35%2049.8752%203.85%2050.3252%202.85%2050.3252C1.675%2050.3252%201.775%2050.2502%202.175%2049.1752L2.525%2048.2252H3.575ZM4.15%2045.2752L5.25%2044.4752V44.3252H4.5L3.85%2045.3002H4.15V45.2752Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip24_5795_13250)'%3e%3cg%20clip-path='url(%23clip25_5795_13250)'%3e%3cpath%20d='M21.8%2039.95C22.175%2039%2021.725%2038.625%2021.175%2038.625C20.25%2038.625%2019.2%2040.25%2019.2%2041.55C19.2%2042.175%2019.5%2042.5%2019.95%2042.5C20.475%2042.5%2021.025%2042%2021.5%2041.125H21.25C20.95%2041.5%2020.6%2041.775%2020.275%2041.775C19.95%2041.775%2019.775%2041.575%2019.775%2041.125C19.7809%2040.9396%2019.806%2040.7552%2019.85%2040.575L21.8%2039.95ZM20.8%2039.175C21.075%2039.175%2021.3%2039.375%2021.175%2039.825L19.975%2040.15C20.175%2039.6%2020.525%2039.15%2020.825%2039.15L20.8%2039.175Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cpath%20d='M21.175%2038.1999L22.3%2037.1749V37.0249H21.55L20.875%2038.1999H21.2H21.175Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip26_5795_13250)'%3e%3cpath%20d='M16.975%2039.1501H17.625L16.575%2042.0001C16.5421%2042.0511%2016.5242%2042.1103%2016.5232%2042.171C16.5222%2042.2316%2016.5382%2042.2914%2016.5694%2042.3434C16.6007%2042.3955%2016.6458%2042.4377%2016.6998%2042.4654C16.7538%2042.4931%2016.8145%2042.5051%2016.875%2042.5001C17.625%2042.5001%2018.475%2041.8501%2018.825%2040.9501H18.65C18.3359%2041.3772%2017.8865%2041.6856%2017.375%2041.8251L18.3%2039.1501H19.3L19.425%2038.7501H18.475L18.8%2037.7251H18.45L17.775%2038.7501L16.975%2038.8501V39.1501Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip27_5795_13250)'%3e%3cpath%20d='M16.65%2039.5C16.775%2039.025%2016.7%2038.625%2016.35%2038.625C15.9%2038.625%2015.775%2038.925%2015.35%2039.875V39.325C15.325%2038.95%2015.2%2038.625%2014.85%2038.625C14.475%2038.625%2014.125%2039.25%2013.825%2039.875H14.025C14.2%2039.55%2014.4%2039.375%2014.525%2039.375C14.7%2039.375%2014.775%2039.625%2014.525%2040.225L13.775%2041.925C13.6%2042.25%2013.775%2042.45%2014.075%2042.45C14.1577%2042.4649%2014.243%2042.4472%2014.3129%2042.4006C14.3828%2042.3539%2014.432%2042.2821%2014.45%2042.2L15.2%2040.2C15.4067%2039.9415%2015.6236%2039.6913%2015.85%2039.45H16.65V39.5Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip28_5795_13250)'%3e%3cpath%20d='M13.45%2039.9251C13.825%2038.9751%2013.375%2038.6001%2012.825%2038.6001C11.9%2038.6001%2010.85%2040.2251%2010.85%2041.5251C10.85%2042.1501%2011.15%2042.4751%2011.6%2042.4751C12.125%2042.4751%2012.675%2041.9751%2013.15%2041.1001H12.9C12.6%2041.4751%2012.25%2041.7501%2011.925%2041.7501C11.6%2041.7501%2011.425%2041.5501%2011.425%2041.1001C11.4308%2040.9147%2011.456%2040.7303%2011.5%2040.5501L13.45%2039.9251ZM12.45%2039.1501C12.725%2039.1501%2012.95%2039.3501%2012.825%2039.8001L11.625%2040.1251C11.825%2039.5751%2012.175%2039.1251%2012.475%2039.1251L12.45%2039.1501Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip29_5795_13250)'%3e%3cpath%20d='M10.2%2038.6249C9.69998%2038.6249%209.19998%2039.1749%208.74998%2039.8249L9.74998%2037.0999L9.69998%2037.0249L8.44998%2037.1749V37.2749L8.69998%2037.4749C8.92498%2037.6499%208.84998%2037.7999%208.64998%2038.3249L7.54998%2041.2249C7.46796%2041.4023%207.40106%2041.5863%207.34998%2041.7749C7.34998%2042.1249%207.79998%2042.4499%208.22498%2042.4499C9.17498%2042.4499%2010.725%2040.7249%2010.725%2039.3999C10.725%2038.8249%2010.6%2038.5999%2010.2%2038.5999V38.6249ZM8.54998%2041.8999C8.34998%2041.8999%208.07498%2041.7249%208.07498%2041.5749C8.12768%2041.3868%208.19454%2041.2029%208.27498%2041.0249L8.59998%2040.1999C8.92498%2039.7749%209.44998%2039.3499%209.74998%2039.3499C9.92498%2039.3499%2010.05%2039.4499%2010.05%2039.7249C10.05%2040.4999%209.32498%2041.8999%208.54998%2041.8999Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip30_5795_13250)'%3e%3cpath%20d='M7.05003%2039C7.12503%2038.75%206.95003%2038.6%206.80003%2038.6C6.25003%2038.6%205.55003%2039.125%205.30003%2039.85H5.47503C5.65263%2039.5632%205.92784%2039.3501%206.25003%2039.25L5.17503%2042.075C5.15343%2042.1173%205.14316%2042.1645%205.14522%2042.2119C5.14727%2042.2594%205.16158%2042.3055%205.18676%2042.3458C5.21193%2042.3861%205.24711%2042.4192%205.28887%2042.4418C5.33063%2042.4644%205.37754%2042.4759%205.42503%2042.475C5.97503%2042.475%206.60003%2041.975%206.87503%2041.225H6.65003C6.4878%2041.526%206.22102%2041.7572%205.90003%2041.875L7.05003%2039ZM7.15003%2037.925C7.20913%2037.925%207.26764%2037.9134%207.32224%2037.8907C7.37684%2037.8681%207.42645%2037.835%207.46823%2037.7932C7.51002%2037.7514%207.54316%2037.7018%207.56578%2037.6472C7.58839%2037.5926%207.60003%2037.5341%207.60003%2037.475C7.60344%2037.4138%207.59432%2037.3526%207.57323%2037.2951C7.55214%2037.2376%207.51954%2037.185%207.47741%2037.1405C7.43528%2037.096%207.38451%2037.0606%207.32822%2037.0365C7.27193%2037.0123%207.21129%2036.9999%207.15003%2037C7.03069%2037%206.91623%2037.0474%206.83184%2037.1318C6.74744%2037.2162%206.70003%2037.3307%206.70003%2037.45C6.70003%2037.5693%206.74744%2037.6838%206.83184%2037.7682C6.91623%2037.8526%207.03069%2037.9%207.15003%2037.9'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip31_5795_13250)'%3e%3cpath%20d='M4.4%2037.3501H1.825L1.75%2037.5751C2.5%2037.7251%202.575%2037.8001%202.25%2038.7751L1.45%2040.9001C1.075%2041.8751%200.95%2041.9501%200.075%2042.1001L0%2042.3501H3.925L4.8%2040.8501H4.5C4%2041.3501%203.45%2042.0501%202.575%2042.0501C1.9%2042.0501%201.825%2041.9251%202.175%2040.9251L2.95%2038.8001C3.3%2037.8251%203.45%2037.7501%204.325%2037.6001L4.4%2037.3501Z'%20fill='%23161616'%20/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_5795_13250'%20x1='0'%20y1='6'%20x2='33'%20y2='6'%20gradientUnits='userSpaceOnUse'%20%3e%3cstop%20stop-color='%23000091'%20/%3e%3cstop%20offset='0.5'%20stop-color='%23000091'%20/%3e%3cstop%20offset='0.5'%20stop-color='%23E1000F'%20/%3e%3cstop%20offset='1'%20stop-color='%23E1000F'%20/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_5795_13250'%3e%3crect%20width='33'%20height='12'%20fill='white'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip1_5795_13250'%3e%3crect%20width='33'%20height='13.5'%20fill='white'%20transform='translate(0%20-0.75)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip2_5795_13250'%3e%3crect%20width='108.88'%20height='26.5'%20fill='white'%20transform='translate(0%2033)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip3_5795_13250'%3e%3crect%20width='63'%20height='45'%20fill='white'%20transform='translate(0%2037)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip4_5795_13250'%3e%3crect%20width='31.5'%20height='22.5'%20fill='white'%20transform='translate(0%2037)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip5_5795_13250'%3e%3crect%20width='3.1'%20height='5.45'%20fill='white'%20transform='translate(28.175%2053.5249)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip6_5795_13250'%3e%3crect%20width='2.75'%20height='3.875'%20fill='white'%20transform='translate(28.175%2055.125)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip7_5795_13250'%3e%3crect%20width='2.875'%20height='4.75'%20fill='white'%20transform='translate(25.55%2054.25)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip8_5795_13250'%3e%3crect%20width='2.45'%20height='5.475'%20fill='white'%20transform='translate(23.4%2053.5249)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip9_5795_13250'%3e%3crect%20width='3.7'%20height='3.875'%20fill='white'%20transform='translate(19.3%2055.125)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip10_5795_13250'%3e%3crect%20width='3'%20height='3.875'%20fill='white'%20transform='translate(16.425%2055.125)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip11_5795_13250'%3e%3crect%20width='2.75'%20height='3.875'%20fill='white'%20transform='translate(13.575%2055.125)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip12_5795_13250'%3e%3crect%20width='2.875'%20height='4.75'%20fill='white'%20transform='translate(10.925%2054.25)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip13_5795_13250'%3e%3crect%20width='3.675'%20height='4.05'%20fill='white'%20transform='translate(7.22498%2054.9502)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip14_5795_13250'%3e%3crect%20width='3'%20height='3.875'%20fill='white'%20transform='translate(4.90002%2055.125)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip15_5795_13250'%3e%3crect%20width='5.475'%20height='4.95'%20fill='white'%20transform='translate(0%2053.8999)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip16_5795_13250'%3e%3crect%20width='3.1'%20height='5.45'%20fill='white'%20transform='translate(19.325%2045.2749)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip17_5795_13250'%3e%3crect%20width='2.75'%20height='3.875'%20fill='white'%20transform='translate(19.325%2046.875)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip18_5795_13250'%3e%3crect%20width='2.875'%20height='4.75'%20fill='white'%20transform='translate(16.7%2046)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip19_5795_13250'%3e%3crect%20width='2.45'%20height='5.475'%20fill='white'%20transform='translate(14.55%2045.25)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip20_5795_13250'%3e%3crect%20width='2.525'%20height='5.475'%20fill='white'%20transform='translate(12.35%2045.2749)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip21_5795_13250'%3e%3crect%20width='3.675'%20height='4.05'%20fill='white'%20transform='translate(8.72498%2046.7002)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip22_5795_13250'%3e%3crect%20width='4.5'%20height='5.5'%20fill='white'%20transform='translate(4.65002%2046.8501)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip23_5795_13250'%3e%3crect%20width='5.75'%20height='6.275'%20fill='white'%20transform='translate(0%2044.3252)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip24_5795_13250'%3e%3crect%20width='3.1'%20height='5.45'%20fill='white'%20transform='translate(19.2%2037.0249)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip25_5795_13250'%3e%3crect%20width='2.75'%20height='3.875'%20fill='white'%20transform='translate(19.2%2038.625)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip26_5795_13250'%3e%3crect%20width='2.875'%20height='4.75'%20fill='white'%20transform='translate(16.55%2037.7251)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip27_5795_13250'%3e%3crect%20width='3'%20height='3.875'%20fill='white'%20transform='translate(13.7%2038.625)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip28_5795_13250'%3e%3crect%20width='2.75'%20height='3.875'%20fill='white'%20transform='translate(10.85%2038.6001)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip29_5795_13250'%3e%3crect%20width='3.4'%20height='5.45'%20fill='white'%20transform='translate(7.34998%2037.0249)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip30_5795_13250'%3e%3crect%20width='2.45'%20height='5.475'%20fill='white'%20transform='translate(5.15002%2037)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip31_5795_13250'%3e%3crect%20width='4.8'%20height='4.975'%20fill='white'%20transform='translate(0%2037.3501)'%20/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",jp=({externalLinks:t,legalLinks:e,license:r,logo:n})=>{const{t:i}=X.useCunningham();return m.jsxs("footer",{className:"c__footer",children:[m.jsx("div",{className:"c__footer__stripe"}),m.jsxs("div",{className:"c__footer__content",children:[m.jsxs("div",{className:"c__footer__content__top",children:[m.jsx("div",{children:m.jsx("div",{className:"c__footer__content__top__logo",children:m.jsx("img",{className:"c__footer__logo",alt:(n==null?void 0:n.alt)||i("components.footer.logo.alt"),width:n==null?void 0:n.width,height:n==null?void 0:n.height,decoding:"async",src:(n==null?void 0:n.src)||Kp})})}),m.jsx("div",{className:"c__footer__content__top__links",children:t==null?void 0:t.map(({label:o,href:l})=>m.jsxs("a",{href:l,target:"_blank",children:[m.jsx("span",{children:o}),m.jsx("img",{alt:"",width:"18",decoding:"async",src:Is})]},o))})]}),m.jsx("div",{className:"c__footer__content__middle",children:e==null?void 0:e.map(({label:o,href:l})=>m.jsx("a",{href:l,children:m.jsx("span",{children:o})},o))}),r&&m.jsxs("p",{className:"c__footer__content__mention",children:[r==null?void 0:r.label," ",m.jsxs("a",{href:r==null?void 0:r.link.href,target:"_blank",children:[m.jsx("span",{children:r==null?void 0:r.link.label}),m.jsx("img",{alt:"",width:"18",decoding:"async",src:Is})]})]})]})]})},Hp=t=>m.jsx(_p,{...t,className:"c__filter",children:m.jsx(Vp,{...t})}),Vp=t=>{const e=u.useContext(Z2),r=e!=null&&e.selectedItem?t.options.find(n=>{var i;return n.value===((i=e.selectedItem)==null?void 0:i.key)}):null;return m.jsxs(m.Fragment,{children:[m.jsxs(Jh,{className:ye("c__filter__button",{"c__filter__button--active":!!r}),children:[m.jsx(qh,{className:"c__filter__label",children:r?m.jsxs(m.Fragment,{children:[t.label," : ",r.label]}):m.jsx(m.Fragment,{children:t.label})}),m.jsx("span",{"aria-hidden":"true",className:ye("material-icons c__filter__button__icon",{opened:e==null?void 0:e.isOpen}),children:"keyboard_arrow_down"})]}),m.jsx(ia,{className:"c__dropdown-menu",children:m.jsx(hp,{children:t.options.map(n=>m.jsxs(u.Fragment,{children:[m.jsx(vp,{id:n.value,className:"c__dropdown-menu-item",children:m.jsxs("div",{className:"c__filter__item",children:[n.render?n.render():n.label,(t.selectedKey===n.value||n.isChecked)&&m.jsx("span",{className:"material-icons checked",children:"check"})]})},n.value),n.showSeparator&&m.jsx(V2,{})]},n.value))})})]})},zp=({logo:t,mainButton:e,banner:r,title:n,subtitle:i})=>m.jsx("div",{className:"c__hero",children:m.jsxs("div",{className:"c__hero__display",children:[m.jsxs("div",{className:"c__hero__display__captions",children:[t,m.jsx("h2",{children:n}),m.jsx("span",{className:"c__hero__display__captions__subtitle",children:i}),e||m.jsx(Cc,{})]}),m.jsx("img",{src:r,alt:""})]})}),Up=({children:t})=>m.jsx("div",{className:"c__home-gutter",children:t}),G2=(t,e,r=void 0)=>{const n=Array.isArray(e)?e:e.replace(/(\[(\d)\])/g,".$2").replace(/^\./,"").split(".");if(!n.length||n[0]===void 0)return t;const i=n[0];return typeof t!="object"||t===null||!(i in t)||t[i]===void 0?r:G2(t[i],n.slice(1),r)},Wp={placeholder:"Entrez votre adresse e-mail",srLabel:"Adresse e-mail",submit:"Suivant",title:"Connexion avec {linebreak}votre adresse e-mail"},Zp={homepageLinkTitle:{withoutService:"Retour à l'accueil",withService:"Retour à l'accueil - {serviceName}"},license:"Sauf mention explicite de propriété intellectuelle détenue par des tiers, les contenus de ce site sont proposés sous {license}",licenseEtalab:"licence etalab-2.0",links:{a11y:{perfect:"Accessibilité : conforme",partial:"Accessibilité : partiellement conforme",bad:"Accessibilité : non conforme"},privacy:"Données personnelles",sitemap:"Plan du site",terms:"Mentions légales"}},Gp={label:"Les services de La Suite numérique"},qp={homepageLinkTitle:"Accueil - {serviceName}"},Yp={newWindow:"{title} - nouvelle fenêtre"},Xp={help:"Qu'est-ce que ProConnect ?",loginWith:"S’identifier avec",loginWithProconnect:"{loginWith} {proconnect}",or:"ou",title:"Connexion avec ProConnect"},q2={email:Wp,footer:Zp,gaufre:Gp,header:qp,links:Yp,proconnect:Xp},Jp=u.createContext(q2);function Qp(){const t=u.useContext(Jp)||q2;return{t:function(e,r={}){const n=G2(t,e);if(!n)return console.warn(`Translation for key "${e}" not found`),e;if(r){const i=[];if(Object.keys(r).forEach(l=>{typeof r[l]!="string"&&i.push(l)}),!i.length)return n.replace(/{(\w+)}/g,(l,a)=>r[a]);const o=n.split(/{(.*?)}/);return m.jsx(m.Fragment,{children:o.map((l,a)=>l in r?m.jsx(u.Fragment,{children:r[l]},a):l)})}return n}}}const e3={responsive:"lasuite-gaufre-btn--responsive",small:"lasuite-gaufre-btn--small"},t3=({variant:t})=>{const{t:e}=Qp(),r=t?e3[t]:"";return m.jsx("button",{type:"button",className:`lasuite-gaufre-btn ${r} lasuite-gaufre-btn--vanilla js-lasuite-gaufre-btn`,title:e("gaufre.label"),children:e("gaufre.label")})},r3=()=>m.jsxs(m.Fragment,{children:[m.jsx("script",{src:"https://integration.lasuite.numerique.gouv.fr/api/v1/gaufre.js",id:"lasuite-gaufre-script",async:!0,defer:!0}),m.jsx(t3,{variant:"small"})]}),n3="data:image/svg+xml,%3csvg%20width='64'%20height='26'%20viewBox='0%200%2064%2026'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_7771_15979)'%3e%3cpath%20d='M63.4259%2019.6175C63.4259%2020.1333%2063.4259%2020.3912%2063.3731%2020.6274C63.2756%2021.0639%2063.0469%2021.4602%2062.7177%2021.763C62.5395%2021.9269%2062.3162%2022.0559%2061.8696%2022.3139L59.9192%2023.4406C59.4723%2023.6988%2059.2488%2023.8279%2059.0177%2023.9003C58.5905%2024.0343%2058.1326%2024.0343%2057.7055%2023.9003C57.4744%2023.8279%2057.2509%2023.6988%2056.804%2023.4406L55.4779%2022.6746C54.9159%2022.3499%2054.6348%2022.1875%2054.5043%2021.9996C54.2603%2021.6483%2054.2605%2021.1823%2054.5049%2020.8313C54.6356%2020.6435%2054.9168%2020.4814%2055.4792%2020.1572L56.8083%2019.3911C57.2557%2019.1333%2057.4793%2019.0044%2057.6578%2018.8405C57.9875%2018.5376%2058.2167%2018.1411%2058.3144%2017.7041C58.3673%2017.4677%2058.3673%2017.2095%2058.3673%2016.6932V15.1651C58.3673%2014.5163%2058.3673%2014.1919%2058.4647%2013.9849C58.6468%2013.598%2059.0502%2013.365%2059.4763%2013.4008C59.7042%2013.42%2059.9852%2013.5822%2060.5471%2013.9066L61.869%2014.6698C62.3157%2014.9277%2062.5391%2015.0567%2062.7173%2015.2206C63.0467%2015.5234%2063.2755%2015.9198%2063.3731%2016.3564C63.4259%2016.5927%2063.4259%2016.8506%2063.4259%2017.3665V19.6175Z'%20fill='%23C83F49'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M52.1227%2010.0913C54.0237%2010.0913%2055.2764%2011.3056%2055.4296%2013.0311C55.4634%2013.4125%2055.483%2013.8298%2055.4161%2014.2062C55.3942%2014.3293%2055.2848%2014.4154%2055.1598%2014.4154H50.4038C50.3227%2014.4154%2050.2598%2014.4872%2050.2735%2014.5671C50.4893%2015.8206%2051.1794%2016.3447%2052.2824%2016.3447C52.6047%2016.3447%2052.9343%2016.2299%2053.1712%2016.1233C53.3024%2016.0642%2053.3687%2016.0345%2053.4122%2016.0248C53.5046%2016.0041%2053.5644%2016.0079%2053.6538%2016.0395C53.6958%2016.0543%2053.745%2016.0841%2053.8434%2016.1435L54.2508%2016.3894C54.5156%2016.549%2054.6484%2016.6286%2054.7029%2016.7099C54.8054%2016.8634%2054.8021%2017.0598%2054.6943%2017.2097C54.6371%2017.2891%2054.5058%2017.3625%2054.2429%2017.5088C54.0455%2017.6186%2053.8437%2017.7185%2053.633%2017.7938C52.9051%2018.0543%2052.1282%2018.0627%2051.3458%2017.8972C49.3995%2017.4855%2048.3644%2015.875%2048.3644%2014.038C48.3645%2011.8759%2049.7285%2010.0914%2052.1227%2010.0913ZM52.0793%2011.6003C51.1906%2011.6004%2050.5851%2012.0639%2050.3482%2012.9186C50.3253%2013.0011%2050.3898%2013.0807%2050.4754%2013.0807H53.5357C53.6121%2013.0806%2053.6738%2013.0164%2053.6642%2012.9406C53.5771%2012.2499%2053.0446%2011.6003%2052.0793%2011.6003Z'%20fill='%232845C1'/%3e%3cpath%20d='M27.0483%207.27437C28.4287%207.27441%2029.5109%207.83538%2030.3491%208.7076C30.4132%208.77435%2030.4455%208.80771%2030.4647%208.84951C30.4989%208.9242%2030.4955%209.02087%2030.4562%209.09297C30.4341%209.13343%2030.3969%209.16737%2030.3222%209.23489L29.401%2010.0674C29.3152%2010.1449%2029.272%2010.1842%2029.2303%2010.202C29.1493%2010.2366%2029.0681%2010.2321%2028.9911%2010.1891C28.9515%2010.1671%2028.9094%2010.1201%2028.8253%2010.0264C28.2997%209.4409%2027.7178%209.07156%2027.0624%209.07156C26.3381%209.07169%2025.8599%209.53539%2025.8598%2010.1439C25.8598%2010.9189%2026.6772%2011.2755%2027.6234%2011.6878C28.924%2012.2546%2030.4683%2012.9276%2030.4684%2014.9409C30.4394%2016.8538%2028.9612%2017.9987%2027.0918%2017.9988C25.5333%2017.9988%2024.444%2017.4813%2023.583%2016.5778C23.5199%2016.5115%2023.4882%2016.478%2023.4693%2016.4365C23.4356%2016.3625%2023.4388%2016.2671%2023.4772%2016.1955C23.4988%2016.1552%2023.5355%2016.1211%2023.6087%2016.0536L24.5226%2015.2112C24.6088%2015.1317%2024.652%2015.0918%2024.6927%2015.0736C24.7735%2015.0376%2024.8496%2015.0396%2024.9282%2015.0803C24.9678%2015.1009%2025.0139%2015.1485%2025.1056%2015.2437C25.6733%2015.8326%2026.3698%2016.1728%2027.0771%2016.1728C27.8886%2016.1728%2028.3812%2015.7381%2028.3813%2015.0137C28.3813%2014.22%2027.551%2013.8546%2026.5951%2013.4342C25.2993%2012.8644%2023.7734%2012.193%2023.7733%2010.2167C23.7733%208.60804%2025.1064%207.27437%2027.0483%207.27437Z'%20fill='%232845C1'/%3e%3cpath%20d='M33.0816%2010.4051C33.1877%2010.4051%2033.2407%2010.4052%2033.2834%2010.4198C33.3629%2010.447%2033.4257%2010.5091%2033.4529%2010.5886C33.4675%2010.6314%2033.4676%2010.6848%2033.4676%2010.7911V14.55C33.4677%2015.6077%2034.0181%2016.2596%2035.0323%2016.2597C36.0322%2016.2597%2036.5829%2015.6077%2036.583%2014.55V10.7911C36.583%2010.6848%2036.583%2010.6314%2036.5977%2010.5886C36.6249%2010.5091%2036.6877%2010.447%2036.7671%2010.4198C36.8099%2010.4052%2036.8629%2010.4051%2036.969%2010.4051H38.0523C38.1585%2010.4051%2038.212%2010.4051%2038.2548%2010.4198C38.3341%2010.447%2038.3964%2010.5093%2038.4236%2010.5886C38.4382%2010.6314%2038.4383%2010.6848%2038.4383%2010.7911V14.4625C38.4383%2016.6508%2037.163%2017.9987%2035.0182%2017.9988C32.8734%2017.9988%2031.6123%2016.6508%2031.6123%2014.4625V10.7911C31.6123%2010.6848%2031.6123%2010.6314%2031.627%2010.5886C31.6541%2010.5093%2031.7165%2010.447%2031.7958%2010.4198C31.8386%2010.4051%2031.892%2010.4051%2031.9983%2010.4051H33.0816Z'%20fill='%232845C1'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M18.6864%2010.109C20.8021%2010.109%2021.8892%2011.3699%2021.8892%2012.9785V17.3173C21.8892%2017.4233%2021.8891%2017.4765%2021.8746%2017.5192C21.8474%2017.5986%2021.7846%2017.6614%2021.7051%2017.6886C21.6624%2017.7032%2021.6092%2017.7033%2021.5033%2017.7033H20.4346C20.3284%2017.7033%2020.2749%2017.7033%2020.2321%2017.6886C20.1527%2017.6614%2020.0905%2017.5986%2020.0633%2017.5192C20.0487%2017.4764%2020.0486%2017.4234%2020.0486%2017.3173V17.2415C20.0486%2017.1766%2020.0485%2017.144%2020.0413%2017.1302C20.0267%2017.1027%2019.999%2017.0907%2019.9691%2017.099C19.954%2017.1033%2019.9286%2017.127%2019.8786%2017.1742C19.3908%2017.6343%2018.6201%2017.9204%2017.8606%2017.9205C16.3969%2017.9205%2015.3967%2017.08%2015.3966%2015.7324C15.3966%2014.6311%2016.2515%2013.8046%2017.8165%2013.5437L19.8627%2013.1981C19.9699%2013.18%2020.0486%2013.0873%2020.0486%2012.9785C20.0486%2012.2105%2019.4687%2011.7178%2018.6282%2011.7178C18.0616%2011.7178%2017.5966%2011.9303%2017.2329%2012.2885C17.1368%2012.3832%2017.0884%2012.4305%2017.0519%2012.4494C16.9763%2012.4885%2016.9134%2012.4922%2016.8335%2012.4628C16.7949%2012.4487%2016.7508%2012.415%2016.6628%2012.3478L15.9276%2011.7869C15.849%2011.7269%2015.8096%2011.6967%2015.7838%2011.6566C15.7392%2011.5871%2015.7297%2011.4822%2015.7612%2011.4058C15.7794%2011.3617%2015.8085%2011.3298%2015.8664%2011.2664C16.5273%2010.542%2017.5043%2010.109%2018.6864%2010.109ZM19.8241%2014.4943L18.3095%2014.747C17.5416%2014.8774%2017.2227%2015.1958%2017.2225%2015.6449C17.2225%2016.1377%2017.6142%2016.4567%2018.2374%2016.4567C18.9727%2016.4566%2019.5305%2016.1571%2019.9012%2015.6939C19.9264%2015.6624%2019.9392%2015.6465%2019.9618%2015.6082C19.9962%2015.5498%2020.0329%2015.4453%2020.0425%2015.3782C20.0487%2015.3344%2020.0486%2015.2998%2020.0486%2015.2308V14.6846C20.0486%2014.623%2020.0483%2014.5923%2020.0394%2014.5689C20.0228%2014.5254%2019.9854%2014.4932%2019.9397%2014.4839C19.9152%2014.479%2019.8848%2014.4842%2019.8241%2014.4943Z'%20fill='%232845C1'/%3e%3cpath%20d='M45.2967%208.57914C45.4029%208.57914%2045.4564%208.57917%2045.4992%208.59382C45.5785%208.62109%2045.6408%208.68332%2045.668%208.76265C45.6826%208.8054%2045.6827%208.85848%2045.6827%208.96451V10.2717C45.6827%2010.3083%2045.6825%2010.3267%2045.6876%2010.3415C45.697%2010.3689%2045.7188%2010.3902%2045.7463%2010.3996C45.7611%2010.4046%2045.7794%2010.4051%2045.816%2010.4051H47.5288C47.6349%2010.4051%2047.6879%2010.4051%2047.7307%2010.4198C47.8101%2010.447%2047.8723%2010.5092%2047.8995%2010.5886C47.9142%2010.6314%2047.9142%2010.6848%2047.9142%2010.7911V11.6713C47.9142%2011.7774%2047.9141%2011.8304%2047.8995%2011.8732C47.8723%2011.9526%2047.8101%2012.0154%2047.7307%2012.0426C47.6879%2012.0572%2047.6348%2012.0573%2047.5288%2012.0573H45.816C45.7794%2012.0573%2045.7611%2012.0572%2045.7463%2012.0622C45.7189%2012.0716%2045.697%2012.0929%2045.6876%2012.1203C45.6825%2012.1351%2045.6827%2012.1539%2045.6827%2012.1906V15.0424C45.6827%2015.8539%2046.1173%2016.1728%2046.8419%2016.1728C47.126%2016.1728%2047.3557%2016.1547%2047.5459%2016.1208C47.6769%2016.0976%2047.7423%2016.0861%2047.7766%2016.0927C47.8485%2016.1066%2047.8904%2016.1412%2047.9166%2016.2095C47.9291%2016.2421%2047.9289%2016.2989%2047.9289%2016.412V17.3706C47.9289%2017.4389%2047.9286%2017.4731%2047.9191%2017.5082C47.9029%2017.5673%2047.8551%2017.6323%2047.8035%2017.6654C47.7728%2017.685%2047.7464%2017.6935%2047.6934%2017.71C47.3789%2017.8083%2047.0056%2017.8538%2046.5232%2017.8538C44.6972%2017.8538%2043.8274%2016.8249%2043.8274%2015.0424V12.1906C43.8274%2012.1539%2043.8276%2012.1351%2043.8225%2012.1203C43.813%2012.0929%2043.7912%2012.0716%2043.7638%2012.0622C43.749%2012.0572%2043.7306%2012.0573%2043.694%2012.0573H42.8511C42.7451%2012.0573%2042.692%2012.0572%2042.6492%2012.0426C42.5698%2012.0154%2042.507%2011.9526%2042.4798%2011.8732C42.4652%2011.8304%2042.4651%2011.7773%2042.4651%2011.6713V10.7911C42.4651%2010.6848%2042.4652%2010.6314%2042.4798%2010.5886C42.507%2010.5091%2042.5698%2010.447%2042.6492%2010.4198C42.692%2010.4052%2042.745%2010.4051%2042.8511%2010.4051H43.694C43.7306%2010.4051%2043.749%2010.4046%2043.7638%2010.3996C43.7912%2010.3902%2043.8131%2010.3689%2043.8225%2010.3415C43.8276%2010.3267%2043.8274%2010.3083%2043.8274%2010.2717V8.96451C43.8274%208.85851%2043.8275%208.80539%2043.8421%208.76265C43.8693%208.6832%2043.9321%208.62102%2044.0115%208.59382C44.0543%208.57921%2044.1073%208.57914%2044.2134%208.57914H45.2967Z'%20fill='%232845C1'/%3e%3cpath%20d='M10.4969%207.60347C10.6271%207.59288%2010.7502%207.66445%2010.8058%207.7827C10.8355%207.84596%2010.8357%207.94515%2010.8357%208.14299V15.7141C10.8357%2015.767%2010.8358%2015.7936%2010.8431%2015.815C10.8567%2015.8546%2010.8878%2015.8858%2010.9275%2015.8994C10.9489%2015.9067%2010.9754%2015.9067%2011.0284%2015.9067H14.2013C14.3074%2015.9067%2014.3605%2015.9068%2014.4032%2015.9214C14.4825%2015.9486%2014.5448%2016.011%2014.572%2016.0903C14.5867%2016.133%2014.5867%2016.1865%2014.5867%2016.2927V17.3326C14.5867%2017.4387%2014.5867%2017.4917%2014.572%2017.5345C14.5448%2017.6139%2014.4827%2017.6767%2014.4032%2017.7039C14.3605%2017.7185%2014.3073%2017.7186%2014.2013%2017.7186H9.25388C9.14764%2017.7186%209.09419%2017.7186%209.0514%2017.7039C8.972%2017.6767%208.90977%2017.6139%208.88258%2017.5345C8.86796%2017.4917%208.86789%2017.4387%208.86789%2017.3326V9.01834C8.86789%208.87045%208.86801%208.79609%208.88319%208.7284C8.91128%208.6034%208.97706%208.49005%209.07159%208.40358C9.12277%208.35678%209.1868%208.31985%209.31505%208.24637L10.1696%207.75701C10.3413%207.65863%2010.4272%207.60914%2010.4969%207.60347Z'%20fill='%232845C1'/%3e%3cpath%20d='M41.3506%2010.4051C41.4567%2010.4051%2041.5097%2010.4052%2041.5525%2010.4198C41.6319%2010.447%2041.6947%2010.5091%2041.7219%2010.5886C41.7366%2010.6314%2041.7366%2010.6848%2041.7366%2010.7911V17.3235C41.7366%2017.4295%2041.7365%2017.4826%2041.7219%2017.5253C41.6947%2017.6048%2041.6319%2017.6669%2041.5525%2017.6941C41.5097%2017.7087%2041.4567%2017.7088%2041.3506%2017.7088H40.282C40.1757%2017.7088%2040.1223%2017.7088%2040.0795%2017.6941C40.0001%2017.6669%2039.9378%2017.6047%2039.9106%2017.5253C39.896%2017.4826%2039.896%2017.4295%2039.896%2017.3235V10.7911C39.896%2010.6848%2039.896%2010.6314%2039.9106%2010.5886C39.9378%2010.5092%2040.0001%2010.447%2040.0795%2010.4198C40.1223%2010.4051%2040.1757%2010.4051%2040.282%2010.4051H41.3506Z'%20fill='%232845C1'/%3e%3cpath%20d='M5.0894%201.1867C5.51644%201.05287%205.97448%201.05281%206.4015%201.1867C6.63253%201.25916%206.85582%201.38863%207.30254%201.6467L8.62872%202.41255C9.19079%202.73725%209.47203%202.89994%209.60255%203.08787C9.8464%203.43915%209.84622%203.90523%209.60194%204.25623C9.47119%204.44396%209.18971%204.60566%208.62749%204.92971L7.29826%205.69618C6.85114%205.95389%206.6276%206.0829%206.44922%206.24671C6.11946%206.54958%205.88998%206.94632%205.79225%207.38326C5.73941%207.61961%205.73964%207.87775%205.73964%208.39379V9.92244C5.73964%2010.571%205.73973%2010.8955%205.64238%2011.1024C5.46034%2011.4893%205.05667%2011.7223%204.63062%2011.6866C4.40267%2011.6675%204.12141%2011.5051%203.55953%2011.1807L2.23763%2010.4173C1.79099%2010.1594%201.56738%2010.0306%201.3892%209.86678C1.0599%209.56394%200.831048%209.16745%200.733454%208.73084C0.680657%208.49461%200.680847%208.23666%200.680847%207.72092V5.46985C0.680847%204.95415%200.680686%204.69612%200.733454%204.45992C0.83101%204.02338%201.05999%203.62683%201.3892%203.32399C1.56729%203.16021%201.79065%203.03132%202.23702%202.77346L4.18775%201.6467C4.63463%201.38855%204.8583%201.25915%205.0894%201.1867Z'%20fill='%232845C1'/%3e%3cpath%20d='M40.8233%206.72384C41.4755%206.72384%2042.0119%207.27491%2042.0119%207.92706C42.0117%208.57908%2041.4754%209.12967%2040.8233%209.12967C40.1713%209.12963%2039.6209%208.57906%2039.6207%207.92706C39.6207%207.27494%2040.1712%206.72389%2040.8233%206.72384Z'%20fill='%232845C1'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_7771_15979'%3e%3crect%20width='64'%20height='25.098'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";var co={},kr={},Os;function i3(){return Os||(Os=1,Object.defineProperty(kr,"__esModule",{value:!0}),kr.tokens=void 0,kr.tokens={themes:{default:{globals:{colors:{"logo-1-light":"#377FDB","logo-2-light":"#377FDB","logo-1-dark":"#C1D6F2","logo-2-dark":"#C1D6F2","brand-050":"#EAF1FB","brand-100":"#D5E4F7","brand-150":"#C0D6F4","brand-200":"#ABC9F0","brand-250":"#96BCEC","brand-300":"#80AEE8","brand-350":"#6CA0E4","brand-400":"#5693E0","brand-450":"#4085DC","brand-500":"#2976D8","brand-550":"#1167D4","brand-600":"#0659C5","brand-650":"#1A509F","brand-700":"#20467F","brand-750":"#203C63","brand-800":"#1D314C","brand-850":"#1A2638","brand-900":"#141C28","brand-950":"#0C1117","gray-000":"#FFFFFF","gray-025":"#F7F8F8","gray-050":"#F0F1F2","gray-100":"#E1E2E5","gray-150":"#D2D4D8","gray-200":"#C4C7CB","gray-250":"#B5B9BE","gray-300":"#A7ACB2","gray-350":"#999EA5","gray-400":"#8D9197","gray-450":"#80848A","gray-500":"#74777C","gray-550":"#686B6F","gray-600":"#5C5F63","gray-650":"#505356","gray-700":"#45474A","gray-750":"#3A3B3E","gray-800":"#2F3033","gray-850":"#252627","gray-900":"#1B1C1D","gray-950":"#101112","gray-1000":"#000000","info-050":"#EAF1FB","info-100":"#D5E4F7","info-150":"#C0D6F4","info-200":"#ABC9F0","info-250":"#96BCEC","info-300":"#80AEE8","info-350":"#6CA0E4","info-400":"#5693E0","info-450":"#4085DC","info-500":"#2976D8","info-550":"#1167D4","info-600":"#0659C5","info-650":"#1A509F","info-700":"#20467F","info-750":"#203C63","info-800":"#1D314C","info-850":"#1A2638","info-900":"#141C28","info-950":"#0C1117","success-050":"#E4F7D4","success-100":"#C8EEA8","success-150":"#AAE579","success-200":"#89DC45","success-250":"#72CF27","success-300":"#6AC024","success-350":"#61B121","success-400":"#59A21E","success-450":"#51941C","success-500":"#4B851A","success-550":"#427816","success-600":"#3A6A14","success-650":"#385C1F","success-700":"#344D24","success-750":"#2E4022","success-800":"#27341F","success-850":"#20281A","success-900":"#181D15","success-950":"#10120E","warning-050":"#FFF1BD","warning-100":"#FFE176","warning-150":"#FFCF25","warning-200":"#F4BF06","warning-250":"#E3B205","warning-300":"#D3A504","warning-350":"#C29805","warning-400":"#B28C03","warning-450":"#A27F03","warning-500":"#937303","warning-550":"#836703","warning-600":"#745B03","warning-650":"#625019","warning-700":"#524620","warning-750":"#443B20","warning-800":"#36301D","warning-850":"#2A2619","warning-900":"#1E1C13","warning-950":"#12110C","error-050":"#FCEDED","error-100":"#FADBDB","error-150":"#F7C9C9","error-200":"#F5B7B7","error-250":"#F2A4A4","error-300":"#EF9191","error-350":"#EC7D7D","error-400":"#E96868","error-450":"#E55050","error-500":"#E13131","error-550":"#D80000","error-600":"#C00101","error-650":"#9E2219","error-700":"#802820","error-750":"#662820","error-800":"#4F231E","error-850":"#3B1D19","error-900":"#2A1614","error-950":"#1A0E0C","red-050":"#FDEDED","red-100":"#FADBDB","red-150":"#F8C9C9","red-200":"#F5B7B6","red-250":"#F3A4A3","red-300":"#F09190","red-350":"#EE7C7B","red-400":"#EB6665","red-450":"#E74E4D","red-500":"#D83F3D","red-550":"#C23837","red-600":"#AC3231","red-650":"#8D3531","red-700":"#73332F","red-750":"#5B2F2B","red-800":"#472826","red-850":"#35211F","red-900":"#251817","red-950":"#160F0E","orange-050":"#FDEEE2","orange-100":"#FCDDC5","orange-150":"#FACBA8","orange-200":"#F8B98B","orange-250":"#F6A76A","orange-300":"#F4934B","orange-350":"#F27E27","orange-400":"#E76E12","orange-450":"#D26411","orange-500":"#BE5B0F","orange-550":"#AA510E","orange-600":"#97480C","orange-650":"#7E431D","orange-700":"#673C22","orange-750":"#533422","orange-800":"#412C1F","orange-850":"#31231B","orange-900":"#221A14","orange-950":"#15100C","brown-050":"#F3F0EF","brown-100":"#E7E1DF","brown-150":"#DCD2CF","brown-200":"#D0C4BF","brown-250":"#C5B6B0","brown-300":"#BAA7A1","brown-350":"#AF9992","brown-400":"#A48B83","brown-450":"#997E74","brown-500":"#8F7065","brown-550":"#846357","brown-600":"#7A5649","brown-650":"#684C42","brown-700":"#57423C","brown-750":"#463833","brown-800":"#382E2A","brown-850":"#2B2422","brown-900":"#1F1B19","brown-950":"#121010","yellow-050":"#FAF0D3","yellow-100":"#F5E2A4","yellow-150":"#F0D275","yellow-200":"#EBC242","yellow-250":"#E4B213","yellow-300":"#D4A511","yellow-350":"#C39810","yellow-400":"#B38B0F","yellow-450":"#A37F0D","yellow-500":"#93730C","yellow-550":"#84670B","yellow-600":"#755B0A","yellow-650":"#63501C","yellow-700":"#534521","yellow-750":"#443A21","yellow-800":"#36301F","yellow-850":"#29261A","yellow-900":"#1D1C14","yellow-950":"#12110C","green-050":"#E2F6E5","green-100":"#C5ECCA","green-150":"#A7E3AF","green-200":"#89D894","green-250":"#67CE75","green-300":"#4DC25D","green-350":"#48B257","green-400":"#41A44F","green-450":"#3B9548","green-500":"#368741","green-550":"#30793A","green-600":"#2B6B33","green-650":"#2F5C34","green-700":"#2E4E31","green-750":"#2A412C","green-800":"#253426","green-850":"#1E281F","green-900":"#171D17","green-950":"#0F120F","blue-1-050":"#EBF1FF","blue-1-100":"#D6E3FE","blue-1-150":"#C2D5FE","blue-1-200":"#ADC7FE","blue-1-250":"#99B8FD","blue-1-300":"#84AAFD","blue-1-350":"#6F9BFD","blue-1-400":"#5A8DFB","blue-1-450":"#437DFC","blue-1-500":"#3D71E4","blue-1-550":"#3665CC","blue-1-600":"#305AB5","blue-1-650":"#315093","blue-1-700":"#2E4675","blue-1-750":"#293B5E","blue-1-800":"#243048","blue-1-850":"#1E2635","blue-1-900":"#171C25","blue-1-950":"#0E1116","blue-2-050":"#E2F4F9","blue-2-100":"#C5E9F3","blue-2-150":"#A7DDED","blue-2-200":"#88D1E6","blue-2-250":"#68C5E0","blue-2-300":"#48B8D9","blue-2-350":"#3BAACA","blue-2-400":"#359CB9","blue-2-450":"#318EA9","blue-2-500":"#2C8199","blue-2-550":"#277389","blue-2-600":"#236679","blue-2-650":"#2A5866","blue-2-700":"#2A4B55","blue-2-750":"#283F47","blue-2-800":"#233337","blue-2-850":"#1D272A","blue-2-900":"#161C1E","blue-2-950":"#0E1112","purple-050":"#F6EEFF","purple-100":"#ECDCFF","purple-150":"#E3CBFE","purple-200":"#DAB9FE","purple-250":"#D0A7FE","purple-300":"#C795FE","purple-350":"#BD83FD","purple-400":"#B36FFD","purple-450":"#A85BFD","purple-500":"#9B4BF3","purple-550":"#8B43DA","purple-600":"#7B3CC1","purple-650":"#673C9B","purple-700":"#56387D","purple-750":"#463162","purple-800":"#382A4A","purple-850":"#2A2237","purple-900":"#1E1926","purple-950":"#121017","pink-050":"#FCEDF5","pink-100":"#F9DAEA","pink-150":"#F7C7E0","pink-200":"#F4B4D5","pink-250":"#F1A1CA","pink-300":"#EE8CBF","pink-350":"#EA77B3","pink-400":"#E760A6","pink-450":"#E24797","pink-500":"#CD4089","pink-550":"#B8397B","pink-600":"#A3336D","pink-650":"#86355E","pink-700":"#6E334F","pink-750":"#582E42","pink-800":"#442834","pink-850":"#332028","pink-900":"#24181D","pink-950":"#160F12","black-000":"#1B1C1D00","black-050":"#1B1C1D0D","black-100":"#1B1C1D1A","black-150":"#1B1C1D26","black-200":"#1B1C1D33","black-250":"#1B1C1D40","black-300":"#1B1C1D4D","black-350":"#1B1C1D59","black-400":"#1B1C1D66","black-450":"#1B1C1D73","black-500":"#1B1C1D80","black-550":"#1B1C1D8C","black-600":"#1B1C1D99","black-650":"#1B1C1DA6","black-700":"#1B1C1DB2","black-750":"#1B1C1DBF","black-800":"#1B1C1DCC","black-850":"#1B1C1DD9","black-900":"#1B1C1DE5","black-950":"#101112F2","white-000":"#F7F8F800","white-050":"#F7F8F80D","white-100":"#F7F8F81A","white-150":"#F7F8F826","white-200":"#F7F8F833","white-250":"#F7F8F840","white-300":"#F7F8F84D","white-350":"#F7F8F859","white-400":"#F7F8F866","white-450":"#F7F8F873","white-500":"#F7F8F880","white-550":"#F7F8F88C","white-600":"#F7F8F899","white-650":"#F7F8F8A6","white-700":"#F7F8F8B2","white-750":"#F7F8F8BF","white-800":"#F7F8F8CC","white-850":"#F7F8F8D9","white-900":"#F7F8F8E5","white-950":"#F7F8F8F2","white-975":"#F7F8F8F9"},transitions:{"ease-in":"cubic-bezier(0.32, 0, 0.67, 0)","ease-out":"cubic-bezier(0.33, 1, 0.68, 1)","ease-in-out":"cubic-bezier(0.65, 0, 0.35, 1)",duration:"250ms"},font:{sizes:{xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",ml:"0.938rem",xl:"1.25rem",t:"0.6875rem",s:"0.75rem",h1:"2rem",h2:"1.75rem",h3:"1.5rem",h4:"1.375rem",h5:"1.25rem",h6:"1.125rem","xl-alt":"5rem","lg-alt":"4.5rem","md-alt":"4rem","sm-alt":"3.5rem","xs-alt":"3rem"},weights:{thin:200,light:300,regular:400,medium:500,bold:600,extrabold:700,black:800},families:{base:'"Roboto Flex Variable", sans-serif',accent:'"Roboto Flex Variable", sans-serif'}},spacings:{l:"3rem",b:"1.625rem",m:"0.8125rem",s:"1rem",t:"0.5rem",st:"0.25rem","4xs":"0.125rem","3xs":"0.25rem","2xs":"0.375rem",xxxs:"0.25rem",xxs:"0.375rem",xs:"0.5rem",sm:"0.75rem",base:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem",xxl:"3rem",xxxl:"3.5rem","2xl":"3rem","3xl":"3.5rem","4xl":"4rem","5xl":"4.5rem","6xl":"6rem","7xl":"7.5rem"},breakpoints:{xs:"0px",sm:"576px",md:"768px",lg:"992px",xl:"1200px",xxl:"1400px"}},contextuals:{background:{surface:{primary:"#FFFFFF",secondary:"#FFFFFF",tertiary:"#F7F8F8"},semantic:{overlay:{primary:"#1B1C1D0D","primary-hover":"#1B1C1D1A"},contextual:{primary:"#1B1C1D0D","primary-hover":"#1B1C1D1A"},brand:{primary:"#1167D4","primary-hover":"#1A509F",secondary:"#D5E4F7","secondary-hover":"#C0D6F4",tertiary:"#EAF1FB","tertiary-hover":"#D5E4F7"},neutral:{primary:"#686B6F","primary-hover":"#505356",secondary:"#E1E2E5","secondary-hover":"#D2D4D8",tertiary:"#F0F1F2","tertiary-hover":"#E1E2E5"},info:{primary:"#1167D4","primary-hover":"#1A509F",secondary:"#D5E4F7","secondary-hover":"#C0D6F4",tertiary:"#EAF1FB","tertiary-hover":"#D5E4F7"},success:{primary:"#427816","primary-hover":"#385C1F",secondary:"#C8EEA8","secondary-hover":"#AAE579",tertiary:"#E4F7D4","tertiary-hover":"#C8EEA8"},warning:{primary:"#836703","primary-hover":"#625019",secondary:"#FFE176","secondary-hover":"#FFCF25",tertiary:"#FFF1BD","tertiary-hover":"#FFE176"},error:{primary:"#D80000","primary-hover":"#9E2219",secondary:"#FADBDB","secondary-hover":"#F7C9C9",tertiary:"#FCEDED","tertiary-hover":"#FADBDB"},disabled:{primary:"#E1E2E5",secondary:"#F0F1F2"}},palette:{brand:{primary:"#2976D8",secondary:"#6CA0E4",tertiary:"#C0D6F4"},red:{primary:"#D83F3D",secondary:"#EE7C7B",tertiary:"#F8C9C9"},orange:{primary:"#BE5B0F",secondary:"#F27E27",tertiary:"#FACBA8"},brown:{primary:"#8F7065",secondary:"#AF9992",tertiary:"#DCD2CF"},yellow:{primary:"#93730C",secondary:"#C39810",tertiary:"#F0D275"},green:{primary:"#368741",secondary:"#48B257",tertiary:"#A7E3AF"},"blue-1":{primary:"#3D71E4",secondary:"#6F9BFD",tertiary:"#C2D5FE"},"blue-2":{primary:"#2C8199",secondary:"#3BAACA",tertiary:"#A7DDED"},purple:{primary:"#9B4BF3",secondary:"#BD83FD",tertiary:"#E3CBFE"},pink:{primary:"#CD4089",secondary:"#EA77B3",tertiary:"#F7C7E0"},gray:{primary:"#74777C",secondary:"#999EA5",tertiary:"#D2D4D8"}}},content:{logo1:"#377FDB",logo2:"#377FDB",semantic:{contextual:{primary:"#F7F8F8F2"},overlay:{primary:"#F7F8F8F2"},brand:{primary:"#20467F",secondary:"#0659C5",tertiary:"#1167D4","on-brand":"#EAF1FB"},neutral:{primary:"#252627",secondary:"#5C5F63",tertiary:"#686B6F","on-neutral":"#F0F1F2"},info:{primary:"#20467F",secondary:"#0659C5",tertiary:"#1167D4","on-info":"#EAF1FB"},success:{primary:"#344D24",secondary:"#3A6A14",tertiary:"#427816","on-success":"#E4F7D4"},warning:{primary:"#524620",secondary:"#745B03",tertiary:"#836703","on-warning":"#FFF1BD"},error:{primary:"#802820",secondary:"#C00101",tertiary:"#D80000","on-error":"#FCEDED"},disabled:{primary:"#A7ACB2",secondary:"#F7F8F880"}},palette:{brand:{primary:"#2976D8"},red:{primary:"#D83F3D"},orange:{primary:"#BE5B0F"},brown:{primary:"#8F7065"},yellow:{primary:"#93730C"},green:{primary:"#368741"},"blue-1":{primary:"#3D71E4"},"blue-2":{primary:"#2C8199"},purple:{primary:"#9B4BF3"},pink:{primary:"#CD4089"},gray:{primary:"#74777C"}}},border:{surface:{primary:"#E1E2E5"},semantic:{contextual:{primary:"#F7F8F833"},overlay:{primary:"#F7F8F833"},brand:{primary:"#1167D4",secondary:"#80AEE8",tertiary:"#C0D6F4"},neutral:{primary:"#686B6F",secondary:"#A7ACB2",tertiary:"#D2D4D8"},info:{primary:"#1167D4",secondary:"#80AEE8",tertiary:"#C0D6F4"},success:{primary:"#427816",secondary:"#6AC024",tertiary:"#AAE579"},warning:{primary:"#836703",secondary:"#D3A504",tertiary:"#FFCF25"},error:{primary:"#D80000",secondary:"#EF9191",tertiary:"#F7C9C9"},disabled:{primary:"#E1E2E5"}}}},components:{}},dark:{globals:{colors:{"logo-1-light":"#377FDB","logo-2-light":"#377FDB","logo-1-dark":"#C1D6F2","logo-2-dark":"#C1D6F2","brand-050":"#EAF1FB","brand-100":"#D5E4F7","brand-150":"#C0D6F4","brand-200":"#ABC9F0","brand-250":"#96BCEC","brand-300":"#80AEE8","brand-350":"#6CA0E4","brand-400":"#5693E0","brand-450":"#4085DC","brand-500":"#2976D8","brand-550":"#1167D4","brand-600":"#0659C5","brand-650":"#1A509F","brand-700":"#20467F","brand-750":"#203C63","brand-800":"#1D314C","brand-850":"#1A2638","brand-900":"#141C28","brand-950":"#0C1117","gray-000":"#FFFFFF","gray-025":"#F7F8F8","gray-050":"#F0F1F2","gray-100":"#E1E2E5","gray-150":"#D2D4D8","gray-200":"#C4C7CB","gray-250":"#B5B9BE","gray-300":"#A7ACB2","gray-350":"#999EA5","gray-400":"#8D9197","gray-450":"#80848A","gray-500":"#74777C","gray-550":"#686B6F","gray-600":"#5C5F63","gray-650":"#505356","gray-700":"#45474A","gray-750":"#3A3B3E","gray-800":"#2F3033","gray-850":"#252627","gray-900":"#1B1C1D","gray-950":"#101112","gray-1000":"#000000","info-050":"#EAF1FB","info-100":"#D5E4F7","info-150":"#C0D6F4","info-200":"#ABC9F0","info-250":"#96BCEC","info-300":"#80AEE8","info-350":"#6CA0E4","info-400":"#5693E0","info-450":"#4085DC","info-500":"#2976D8","info-550":"#1167D4","info-600":"#0659C5","info-650":"#1A509F","info-700":"#20467F","info-750":"#203C63","info-800":"#1D314C","info-850":"#1A2638","info-900":"#141C28","info-950":"#0C1117","success-050":"#E4F7D4","success-100":"#C8EEA8","success-150":"#AAE579","success-200":"#89DC45","success-250":"#72CF27","success-300":"#6AC024","success-350":"#61B121","success-400":"#59A21E","success-450":"#51941C","success-500":"#4B851A","success-550":"#427816","success-600":"#3A6A14","success-650":"#385C1F","success-700":"#344D24","success-750":"#2E4022","success-800":"#27341F","success-850":"#20281A","success-900":"#181D15","success-950":"#10120E","warning-050":"#FFF1BD","warning-100":"#FFE176","warning-150":"#FFCF25","warning-200":"#F4BF06","warning-250":"#E3B205","warning-300":"#D3A504","warning-350":"#C29805","warning-400":"#B28C03","warning-450":"#A27F03","warning-500":"#937303","warning-550":"#836703","warning-600":"#745B03","warning-650":"#625019","warning-700":"#524620","warning-750":"#443B20","warning-800":"#36301D","warning-850":"#2A2619","warning-900":"#1E1C13","warning-950":"#12110C","error-050":"#FCEDED","error-100":"#FADBDB","error-150":"#F7C9C9","error-200":"#F5B7B7","error-250":"#F2A4A4","error-300":"#EF9191","error-350":"#EC7D7D","error-400":"#E96868","error-450":"#E55050","error-500":"#E13131","error-550":"#D80000","error-600":"#C00101","error-650":"#9E2219","error-700":"#802820","error-750":"#662820","error-800":"#4F231E","error-850":"#3B1D19","error-900":"#2A1614","error-950":"#1A0E0C","red-050":"#FDEDED","red-100":"#FADBDB","red-150":"#F8C9C9","red-200":"#F5B7B6","red-250":"#F3A4A3","red-300":"#F09190","red-350":"#EE7C7B","red-400":"#EB6665","red-450":"#E74E4D","red-500":"#D83F3D","red-550":"#C23837","red-600":"#AC3231","red-650":"#8D3531","red-700":"#73332F","red-750":"#5B2F2B","red-800":"#472826","red-850":"#35211F","red-900":"#251817","red-950":"#160F0E","orange-050":"#FDEEE2","orange-100":"#FCDDC5","orange-150":"#FACBA8","orange-200":"#F8B98B","orange-250":"#F6A76A","orange-300":"#F4934B","orange-350":"#F27E27","orange-400":"#E76E12","orange-450":"#D26411","orange-500":"#BE5B0F","orange-550":"#AA510E","orange-600":"#97480C","orange-650":"#7E431D","orange-700":"#673C22","orange-750":"#533422","orange-800":"#412C1F","orange-850":"#31231B","orange-900":"#221A14","orange-950":"#15100C","brown-050":"#F3F0EF","brown-100":"#E7E1DF","brown-150":"#DCD2CF","brown-200":"#D0C4BF","brown-250":"#C5B6B0","brown-300":"#BAA7A1","brown-350":"#AF9992","brown-400":"#A48B83","brown-450":"#997E74","brown-500":"#8F7065","brown-550":"#846357","brown-600":"#7A5649","brown-650":"#684C42","brown-700":"#57423C","brown-750":"#463833","brown-800":"#382E2A","brown-850":"#2B2422","brown-900":"#1F1B19","brown-950":"#121010","yellow-050":"#FAF0D3","yellow-100":"#F5E2A4","yellow-150":"#F0D275","yellow-200":"#EBC242","yellow-250":"#E4B213","yellow-300":"#D4A511","yellow-350":"#C39810","yellow-400":"#B38B0F","yellow-450":"#A37F0D","yellow-500":"#93730C","yellow-550":"#84670B","yellow-600":"#755B0A","yellow-650":"#63501C","yellow-700":"#534521","yellow-750":"#443A21","yellow-800":"#36301F","yellow-850":"#29261A","yellow-900":"#1D1C14","yellow-950":"#12110C","green-050":"#E2F6E5","green-100":"#C5ECCA","green-150":"#A7E3AF","green-200":"#89D894","green-250":"#67CE75","green-300":"#4DC25D","green-350":"#48B257","green-400":"#41A44F","green-450":"#3B9548","green-500":"#368741","green-550":"#30793A","green-600":"#2B6B33","green-650":"#2F5C34","green-700":"#2E4E31","green-750":"#2A412C","green-800":"#253426","green-850":"#1E281F","green-900":"#171D17","green-950":"#0F120F","blue-1-050":"#EBF1FF","blue-1-100":"#D6E3FE","blue-1-150":"#C2D5FE","blue-1-200":"#ADC7FE","blue-1-250":"#99B8FD","blue-1-300":"#84AAFD","blue-1-350":"#6F9BFD","blue-1-400":"#5A8DFB","blue-1-450":"#437DFC","blue-1-500":"#3D71E4","blue-1-550":"#3665CC","blue-1-600":"#305AB5","blue-1-650":"#315093","blue-1-700":"#2E4675","blue-1-750":"#293B5E","blue-1-800":"#243048","blue-1-850":"#1E2635","blue-1-900":"#171C25","blue-1-950":"#0E1116","blue-2-050":"#E2F4F9","blue-2-100":"#C5E9F3","blue-2-150":"#A7DDED","blue-2-200":"#88D1E6","blue-2-250":"#68C5E0","blue-2-300":"#48B8D9","blue-2-350":"#3BAACA","blue-2-400":"#359CB9","blue-2-450":"#318EA9","blue-2-500":"#2C8199","blue-2-550":"#277389","blue-2-600":"#236679","blue-2-650":"#2A5866","blue-2-700":"#2A4B55","blue-2-750":"#283F47","blue-2-800":"#233337","blue-2-850":"#1D272A","blue-2-900":"#161C1E","blue-2-950":"#0E1112","purple-050":"#F6EEFF","purple-100":"#ECDCFF","purple-150":"#E3CBFE","purple-200":"#DAB9FE","purple-250":"#D0A7FE","purple-300":"#C795FE","purple-350":"#BD83FD","purple-400":"#B36FFD","purple-450":"#A85BFD","purple-500":"#9B4BF3","purple-550":"#8B43DA","purple-600":"#7B3CC1","purple-650":"#673C9B","purple-700":"#56387D","purple-750":"#463162","purple-800":"#382A4A","purple-850":"#2A2237","purple-900":"#1E1926","purple-950":"#121017","pink-050":"#FCEDF5","pink-100":"#F9DAEA","pink-150":"#F7C7E0","pink-200":"#F4B4D5","pink-250":"#F1A1CA","pink-300":"#EE8CBF","pink-350":"#EA77B3","pink-400":"#E760A6","pink-450":"#E24797","pink-500":"#CD4089","pink-550":"#B8397B","pink-600":"#A3336D","pink-650":"#86355E","pink-700":"#6E334F","pink-750":"#582E42","pink-800":"#442834","pink-850":"#332028","pink-900":"#24181D","pink-950":"#160F12","black-000":"#1B1C1D00","black-050":"#1B1C1D0D","black-100":"#1B1C1D1A","black-150":"#1B1C1D26","black-200":"#1B1C1D33","black-250":"#1B1C1D40","black-300":"#1B1C1D4D","black-350":"#1B1C1D59","black-400":"#1B1C1D66","black-450":"#1B1C1D73","black-500":"#1B1C1D80","black-550":"#1B1C1D8C","black-600":"#1B1C1D99","black-650":"#1B1C1DA6","black-700":"#1B1C1DB2","black-750":"#1B1C1DBF","black-800":"#1B1C1DCC","black-850":"#1B1C1DD9","black-900":"#1B1C1DE5","black-950":"#101112F2","white-000":"#F7F8F800","white-050":"#F7F8F80D","white-100":"#F7F8F81A","white-150":"#F7F8F826","white-200":"#F7F8F833","white-250":"#F7F8F840","white-300":"#F7F8F84D","white-350":"#F7F8F859","white-400":"#F7F8F866","white-450":"#F7F8F873","white-500":"#F7F8F880","white-550":"#F7F8F88C","white-600":"#F7F8F899","white-650":"#F7F8F8A6","white-700":"#F7F8F8B2","white-750":"#F7F8F8BF","white-800":"#F7F8F8CC","white-850":"#F7F8F8D9","white-900":"#F7F8F8E5","white-950":"#F7F8F8F2","white-975":"#F7F8F8F9"},transitions:{"ease-in":"cubic-bezier(0.32, 0, 0.67, 0)","ease-out":"cubic-bezier(0.33, 1, 0.68, 1)","ease-in-out":"cubic-bezier(0.65, 0, 0.35, 1)",duration:"250ms"},font:{sizes:{xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",ml:"0.938rem",xl:"1.25rem",t:"0.6875rem",s:"0.75rem",h1:"2rem",h2:"1.75rem",h3:"1.5rem",h4:"1.375rem",h5:"1.25rem",h6:"1.125rem","xl-alt":"5rem","lg-alt":"4.5rem","md-alt":"4rem","sm-alt":"3.5rem","xs-alt":"3rem"},weights:{thin:200,light:300,regular:400,medium:500,bold:600,extrabold:700,black:800},families:{base:'"Roboto Flex Variable", sans-serif',accent:'"Roboto Flex Variable", sans-serif'}},spacings:{l:"3rem",b:"1.625rem",m:"0.8125rem",s:"1rem",t:"0.5rem",st:"0.25rem","4xs":"0.125rem","3xs":"0.25rem","2xs":"0.375rem",xxxs:"0.25rem",xxs:"0.375rem",xs:"0.5rem",sm:"0.75rem",base:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem",xxl:"3rem",xxxl:"3.5rem","2xl":"3rem","3xl":"3.5rem","4xl":"4rem","5xl":"4.5rem","6xl":"6rem","7xl":"7.5rem"},breakpoints:{xs:"0px",sm:"576px",md:"768px",lg:"992px",xl:"1200px",xxl:"1400px"}},contextuals:{background:{surface:{primary:"#2F3033",secondary:"#252627",tertiary:"#1B1C1D"},semantic:{contextual:{primary:"#F7F8F80D","primary-hover":"#F7F8F81A"},overlay:{primary:"#F7F8F80D","primary-hover":"#F7F8F81A"},brand:{primary:"#1167D4","primary-hover":"#1A509F",secondary:"#20467F","secondary-hover":"#203C63",tertiary:"#203C63","tertiary-hover":"#1D314C"},neutral:{primary:"#686B6F","primary-hover":"#505356",secondary:"#45474A","secondary-hover":"#3A3B3E",tertiary:"#3A3B3E","tertiary-hover":"#2F3033"},info:{primary:"#1167D4","primary-hover":"#1A509F",secondary:"#20467F","secondary-hover":"#203C63",tertiary:"#203C63","tertiary-hover":"#1D314C"},success:{primary:"#427816","primary-hover":"#385C1F",secondary:"#344D24","secondary-hover":"#2E4022",tertiary:"#2E4022","tertiary-hover":"#27341F"},warning:{primary:"#836703","primary-hover":"#625019",secondary:"#524620","secondary-hover":"#443B20",tertiary:"#443B20","tertiary-hover":"#36301D"},error:{primary:"#D80000","primary-hover":"#9E2219",secondary:"#802820","secondary-hover":"#662820",tertiary:"#662820","tertiary-hover":"#4F231E"},disabled:{primary:"#3A3B3E",secondary:"#2F3033"}},palette:{brand:{primary:"#6CA0E4",secondary:"#4085DC",tertiary:"#1167D4"},red:{primary:"#EE7C7B",secondary:"#E74E4D",tertiary:"#C23837"},orange:{primary:"#F27E27",secondary:"#D26411",tertiary:"#AA510E"},brown:{primary:"#AF9992",secondary:"#997E74",tertiary:"#846357"},yellow:{primary:"#C39810",secondary:"#A37F0D",tertiary:"#84670B"},green:{primary:"#48B257",secondary:"#3B9548",tertiary:"#30793A"},"blue-1":{primary:"#6F9BFD",secondary:"#437DFC",tertiary:"#3665CC"},"blue-2":{primary:"#3BAACA",secondary:"#318EA9",tertiary:"#277389"},purple:{primary:"#BD83FD",secondary:"#A85BFD",tertiary:"#8B43DA"},pink:{primary:"#EA77B3",secondary:"#E24797",tertiary:"#B8397B"},gray:{primary:"#999EA5",secondary:"#80848A",tertiary:"#686B6F"}}},content:{logo1:"#C1D6F2",logo2:"#C1D6F2",semantic:{contextual:{primary:"#1B1C1DD9"},overlay:{primary:"#1B1C1DD9"},brand:{primary:"#EAF1FB",secondary:"#D5E4F7",tertiary:"#96BCEC","on-brand":"#EAF1FB"},neutral:{primary:"#F0F1F2",secondary:"#E1E2E5",tertiary:"#B5B9BE","on-neutral":"#F0F1F2"},info:{primary:"#EAF1FB",secondary:"#D5E4F7",tertiary:"#96BCEC","on-info":"#EAF1FB"},success:{primary:"#E4F7D4",secondary:"#C8EEA8",tertiary:"#72CF27","on-success":"#E4F7D4"},warning:{primary:"#FFF1BD",secondary:"#FFE176",tertiary:"#E3B205","on-warning":"#FFF1BD"},error:{primary:"#FCEDED",secondary:"#FADBDB",tertiary:"#F2A4A4","on-error":"#FCEDED"},disabled:{primary:"#5C5F63",secondary:"#1B1C1D4D"}},palette:{brand:{primary:"#2976D8"},red:{primary:"#D83F3D"},orange:{primary:"#BE5B0F"},brown:{primary:"#8F7065"},yellow:{primary:"#93730C"},green:{primary:"#368741"},"blue-1":{primary:"#3D71E4"},"blue-2":{primary:"#2C8199"},purple:{primary:"#9B4BF3"},pink:{primary:"#CD4089"},gray:{primary:"#74777C"}}},border:{surface:{primary:"#3A3B3E"},semantic:{contextual:{primary:"#1B1C1D33"},overlay:{primary:"#1B1C1D33"},brand:{primary:"#4085DC",secondary:"#0659C5",tertiary:"#20467F"},neutral:{primary:"#80848A",secondary:"#5C5F63",tertiary:"#45474A"},info:{primary:"#4085DC",secondary:"#0659C5",tertiary:"#20467F"},success:{primary:"#51941C",secondary:"#3A6A14",tertiary:"#344D24"},warning:{primary:"#A27F03",secondary:"#745B03",tertiary:"#524620"},error:{primary:"#E55050",secondary:"#C00101",tertiary:"#802820"},disabled:{primary:"#2F3033"}}}},components:{}}}}),kr}var Ir={},Ns;function o3(){if(Ns)return Ir;Ns=1,Object.defineProperty(Ir,"__esModule",{value:!0}),Ir.buildRefs=void 0;const t=e=>{const r=(n,i)=>{if(typeof i=="object"){const o={};return Object.entries(i).forEach(([l,a])=>{o[l]=r((n?n+".":"")+l,a)}),o}return"ref("+n+")"};return r("",e)};return Ir.buildRefs=t,Ir}var Or={},uo,Ms;function l3(){if(Ms)return uo;Ms=1;var t=function(E){return e(E)&&!r(E)};function e(b){return!!b&&typeof b=="object"}function r(b){var E=Object.prototype.toString.call(b);return E==="[object RegExp]"||E==="[object Date]"||o(b)}var n=typeof Symbol=="function"&&Symbol.for,i=n?Symbol.for("react.element"):60103;function o(b){return b.$$typeof===i}function l(b){return Array.isArray(b)?[]:{}}function a(b,E){return E.clone!==!1&&E.isMergeableObject(b)?h(l(b),b,E):b}function s(b,E,C){return b.concat(E).map(function(D){return a(D,C)})}function c(b,E){if(!E.customMerge)return h;var C=E.customMerge(b);return typeof C=="function"?C:h}function d(b){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(b).filter(function(E){return Object.propertyIsEnumerable.call(b,E)}):[]}function f(b){return Object.keys(b).concat(d(b))}function p(b,E){try{return E in b}catch{return!1}}function g(b,E){return p(b,E)&&!(Object.hasOwnProperty.call(b,E)&&Object.propertyIsEnumerable.call(b,E))}function y(b,E,C){var D={};return C.isMergeableObject(b)&&f(b).forEach(function(F){D[F]=a(b[F],C)}),f(E).forEach(function(F){g(b,F)||(p(b,F)&&C.isMergeableObject(E[F])?D[F]=c(F,C)(b[F],E[F],C):D[F]=a(E[F],C))}),D}function h(b,E,C){C=C||{},C.arrayMerge=C.arrayMerge||s,C.isMergeableObject=C.isMergeableObject||t,C.cloneUnlessOtherwiseSpecified=a;var D=Array.isArray(E),F=Array.isArray(b),w=D===F;return w?D?C.arrayMerge(b,E,C):y(b,E,C):a(E,C)}h.all=function(E,C){if(!Array.isArray(E))throw new Error("first argument should be an array");return E.reduce(function(D,F){return h(D,F,C)},{})};var v=h;return uo=v,uo}var fo={},Bs;function a3(){return Bs||(Bs=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.contextualDarkTokens=t.contextualDefaultTokens=t.globals=t.colors=void 0,t.colors={"logo-1-light":"#377FDB","logo-2-light":"#377FDB","logo-1-dark":"#C1D6F2","logo-2-dark":"#C1D6F2","brand-050":"#EAF1FB","brand-100":"#D5E4F7","brand-150":"#C0D6F4","brand-200":"#ABC9F0","brand-250":"#96BCEC","brand-300":"#80AEE8","brand-350":"#6CA0E4","brand-400":"#5693E0","brand-450":"#4085DC","brand-500":"#2976D8","brand-550":"#1167D4","brand-600":"#0659C5","brand-650":"#1A509F","brand-700":"#20467F","brand-750":"#203C63","brand-800":"#1D314C","brand-850":"#1A2638","brand-900":"#141C28","brand-950":"#0C1117","gray-000":"#FFFFFF","gray-025":"#F7F8F8","gray-050":"#F0F1F2","gray-100":"#E1E2E5","gray-150":"#D2D4D8","gray-200":"#C4C7CB","gray-250":"#B5B9BE","gray-300":"#A7ACB2","gray-350":"#999EA5","gray-400":"#8D9197","gray-450":"#80848A","gray-500":"#74777C","gray-550":"#686B6F","gray-600":"#5C5F63","gray-650":"#505356","gray-700":"#45474A","gray-750":"#3A3B3E","gray-800":"#2F3033","gray-850":"#252627","gray-900":"#1B1C1D","gray-950":"#101112","gray-1000":"#000000","info-050":"#EAF1FB","info-100":"#D5E4F7","info-150":"#C0D6F4","info-200":"#ABC9F0","info-250":"#96BCEC","info-300":"#80AEE8","info-350":"#6CA0E4","info-400":"#5693E0","info-450":"#4085DC","info-500":"#2976D8","info-550":"#1167D4","info-600":"#0659C5","info-650":"#1A509F","info-700":"#20467F","info-750":"#203C63","info-800":"#1D314C","info-850":"#1A2638","info-900":"#141C28","info-950":"#0C1117","success-050":"#E4F7D4","success-100":"#C8EEA8","success-150":"#AAE579","success-200":"#89DC45","success-250":"#72CF27","success-300":"#6AC024","success-350":"#61B121","success-400":"#59A21E","success-450":"#51941C","success-500":"#4B851A","success-550":"#427816","success-600":"#3A6A14","success-650":"#385C1F","success-700":"#344D24","success-750":"#2E4022","success-800":"#27341F","success-850":"#20281A","success-900":"#181D15","success-950":"#10120E","warning-050":"#FFF1BD","warning-100":"#FFE176","warning-150":"#FFCF25","warning-200":"#F4BF06","warning-250":"#E3B205","warning-300":"#D3A504","warning-350":"#C29805","warning-400":"#B28C03","warning-450":"#A27F03","warning-500":"#937303","warning-550":"#836703","warning-600":"#745B03","warning-650":"#625019","warning-700":"#524620","warning-750":"#443B20","warning-800":"#36301D","warning-850":"#2A2619","warning-900":"#1E1C13","warning-950":"#12110C","error-050":"#FCEDED","error-100":"#FADBDB","error-150":"#F7C9C9","error-200":"#F5B7B7","error-250":"#F2A4A4","error-300":"#EF9191","error-350":"#EC7D7D","error-400":"#E96868","error-450":"#E55050","error-500":"#E13131","error-550":"#D80000","error-600":"#C00101","error-650":"#9E2219","error-700":"#802820","error-750":"#662820","error-800":"#4F231E","error-850":"#3B1D19","error-900":"#2A1614","error-950":"#1A0E0C","red-050":"#FDEDED","red-100":"#FADBDB","red-150":"#F8C9C9","red-200":"#F5B7B6","red-250":"#F3A4A3","red-300":"#F09190","red-350":"#EE7C7B","red-400":"#EB6665","red-450":"#E74E4D","red-500":"#D83F3D","red-550":"#C23837","red-600":"#AC3231","red-650":"#8D3531","red-700":"#73332F","red-750":"#5B2F2B","red-800":"#472826","red-850":"#35211F","red-900":"#251817","red-950":"#160F0E","orange-050":"#FDEEE2","orange-100":"#FCDDC5","orange-150":"#FACBA8","orange-200":"#F8B98B","orange-250":"#F6A76A","orange-300":"#F4934B","orange-350":"#F27E27","orange-400":"#E76E12","orange-450":"#D26411","orange-500":"#BE5B0F","orange-550":"#AA510E","orange-600":"#97480C","orange-650":"#7E431D","orange-700":"#673C22","orange-750":"#533422","orange-800":"#412C1F","orange-850":"#31231B","orange-900":"#221A14","orange-950":"#15100C","brown-050":"#F3F0EF","brown-100":"#E7E1DF","brown-150":"#DCD2CF","brown-200":"#D0C4BF","brown-250":"#C5B6B0","brown-300":"#BAA7A1","brown-350":"#AF9992","brown-400":"#A48B83","brown-450":"#997E74","brown-500":"#8F7065","brown-550":"#846357","brown-600":"#7A5649","brown-650":"#684C42","brown-700":"#57423C","brown-750":"#463833","brown-800":"#382E2A","brown-850":"#2B2422","brown-900":"#1F1B19","brown-950":"#121010","yellow-050":"#FAF0D3","yellow-100":"#F5E2A4","yellow-150":"#F0D275","yellow-200":"#EBC242","yellow-250":"#E4B213","yellow-300":"#D4A511","yellow-350":"#C39810","yellow-400":"#B38B0F","yellow-450":"#A37F0D","yellow-500":"#93730C","yellow-550":"#84670B","yellow-600":"#755B0A","yellow-650":"#63501C","yellow-700":"#534521","yellow-750":"#443A21","yellow-800":"#36301F","yellow-850":"#29261A","yellow-900":"#1D1C14","yellow-950":"#12110C","green-050":"#E2F6E5","green-100":"#C5ECCA","green-150":"#A7E3AF","green-200":"#89D894","green-250":"#67CE75","green-300":"#4DC25D","green-350":"#48B257","green-400":"#41A44F","green-450":"#3B9548","green-500":"#368741","green-550":"#30793A","green-600":"#2B6B33","green-650":"#2F5C34","green-700":"#2E4E31","green-750":"#2A412C","green-800":"#253426","green-850":"#1E281F","green-900":"#171D17","green-950":"#0F120F","blue-1-050":"#EBF1FF","blue-1-100":"#D6E3FE","blue-1-150":"#C2D5FE","blue-1-200":"#ADC7FE","blue-1-250":"#99B8FD","blue-1-300":"#84AAFD","blue-1-350":"#6F9BFD","blue-1-400":"#5A8DFB","blue-1-450":"#437DFC","blue-1-500":"#3D71E4","blue-1-550":"#3665CC","blue-1-600":"#305AB5","blue-1-650":"#315093","blue-1-700":"#2E4675","blue-1-750":"#293B5E","blue-1-800":"#243048","blue-1-850":"#1E2635","blue-1-900":"#171C25","blue-1-950":"#0E1116","blue-2-050":"#E2F4F9","blue-2-100":"#C5E9F3","blue-2-150":"#A7DDED","blue-2-200":"#88D1E6","blue-2-250":"#68C5E0","blue-2-300":"#48B8D9","blue-2-350":"#3BAACA","blue-2-400":"#359CB9","blue-2-450":"#318EA9","blue-2-500":"#2C8199","blue-2-550":"#277389","blue-2-600":"#236679","blue-2-650":"#2A5866","blue-2-700":"#2A4B55","blue-2-750":"#283F47","blue-2-800":"#233337","blue-2-850":"#1D272A","blue-2-900":"#161C1E","blue-2-950":"#0E1112","purple-050":"#F6EEFF","purple-100":"#ECDCFF","purple-150":"#E3CBFE","purple-200":"#DAB9FE","purple-250":"#D0A7FE","purple-300":"#C795FE","purple-350":"#BD83FD","purple-400":"#B36FFD","purple-450":"#A85BFD","purple-500":"#9B4BF3","purple-550":"#8B43DA","purple-600":"#7B3CC1","purple-650":"#673C9B","purple-700":"#56387D","purple-750":"#463162","purple-800":"#382A4A","purple-850":"#2A2237","purple-900":"#1E1926","purple-950":"#121017","pink-050":"#FCEDF5","pink-100":"#F9DAEA","pink-150":"#F7C7E0","pink-200":"#F4B4D5","pink-250":"#F1A1CA","pink-300":"#EE8CBF","pink-350":"#EA77B3","pink-400":"#E760A6","pink-450":"#E24797","pink-500":"#CD4089","pink-550":"#B8397B","pink-600":"#A3336D","pink-650":"#86355E","pink-700":"#6E334F","pink-750":"#582E42","pink-800":"#442834","pink-850":"#332028","pink-900":"#24181D","pink-950":"#160F12","black-000":"#1B1C1D00","black-050":"#1B1C1D0D","black-100":"#1B1C1D1A","black-150":"#1B1C1D26","black-200":"#1B1C1D33","black-250":"#1B1C1D40","black-300":"#1B1C1D4D","black-350":"#1B1C1D59","black-400":"#1B1C1D66","black-450":"#1B1C1D73","black-500":"#1B1C1D80","black-550":"#1B1C1D8C","black-600":"#1B1C1D99","black-650":"#1B1C1DA6","black-700":"#1B1C1DB2","black-750":"#1B1C1DBF","black-800":"#1B1C1DCC","black-850":"#1B1C1DD9","black-900":"#1B1C1DE5","black-950":"#101112F2","white-000":"#F7F8F800","white-050":"#F7F8F80D","white-100":"#F7F8F81A","white-150":"#F7F8F826","white-200":"#F7F8F833","white-250":"#F7F8F840","white-300":"#F7F8F84D","white-350":"#F7F8F859","white-400":"#F7F8F866","white-450":"#F7F8F873","white-500":"#F7F8F880","white-550":"#F7F8F88C","white-600":"#F7F8F899","white-650":"#F7F8F8A6","white-700":"#F7F8F8B2","white-750":"#F7F8F8BF","white-800":"#F7F8F8CC","white-850":"#F7F8F8D9","white-900":"#F7F8F8E5","white-950":"#F7F8F8F2","white-975":"#F7F8F8F9"};const e={base:'"Roboto Flex Variable", sans-serif',accent:'"Roboto Flex Variable", sans-serif'},r={l:"3rem",b:"1.625rem",m:"0.8125rem",s:"1rem",t:"0.5rem",st:"0.25rem","4xs":"0.125rem","3xs":"0.25rem","2xs":"0.375rem",xxxs:"0.25rem",xxs:"0.375rem",xs:"0.5rem",sm:"0.75rem",base:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem",xxl:"3rem",xxxl:"3.5rem","2xl":"3rem","3xl":"3.5rem","4xl":"4rem","5xl":"4.5rem","6xl":"6rem","7xl":"7.5rem"},n={"ease-in":"cubic-bezier(0.32, 0, 0.67, 0)","ease-out":"cubic-bezier(0.33, 1, 0.68, 1)","ease-in-out":"cubic-bezier(0.65, 0, 0.35, 1)",duration:"250ms"},i={xs:"0px",sm:"576px",md:"768px",lg:"992px",xl:"1200px",xxl:"1400px"},o={thin:200,light:300,regular:400,medium:500,bold:600,extrabold:700,black:800};t.globals={colors:t.colors,transitions:n,font:{sizes:{xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",ml:"0.938rem",xl:"1.25rem",t:"0.6875rem",s:"0.75rem",h1:"2rem",h2:"1.75rem",h3:"1.5rem",h4:"1.375rem",h5:"1.25rem",h6:"1.125rem","xl-alt":"5rem","lg-alt":"4.5rem","md-alt":"4rem","sm-alt":"3.5rem","xs-alt":"3rem"},weights:o,families:e},spacings:r,breakpoints:i},t.contextualDefaultTokens={background:{surface:{primary:"ref(globals.colors.gray-000)",secondary:"ref(globals.colors.gray-000)",tertiary:"ref(globals.colors.gray-025)"},semantic:{overlay:{primary:"ref(globals.colors.black-050)","primary-hover":"ref(globals.colors.black-100)"},contextual:{primary:"ref(globals.colors.black-050)","primary-hover":"ref(globals.colors.black-100)"},brand:{primary:"ref(globals.colors.brand-550)","primary-hover":"ref(globals.colors.brand-650)",secondary:"ref(globals.colors.brand-100)","secondary-hover":"ref(globals.colors.brand-150)",tertiary:"ref(globals.colors.brand-050)","tertiary-hover":"ref(globals.colors.brand-100)"},neutral:{primary:"ref(globals.colors.gray-550)","primary-hover":"ref(globals.colors.gray-650)",secondary:"ref(globals.colors.gray-100)","secondary-hover":"ref(globals.colors.gray-150)",tertiary:"ref(globals.colors.gray-050)","tertiary-hover":"ref(globals.colors.gray-100)"},info:{primary:"ref(globals.colors.info-550)","primary-hover":"ref(globals.colors.info-650)",secondary:"ref(globals.colors.info-100)","secondary-hover":"ref(globals.colors.info-150)",tertiary:"ref(globals.colors.info-050)","tertiary-hover":"ref(globals.colors.info-100)"},success:{primary:"ref(globals.colors.success-550)","primary-hover":"ref(globals.colors.success-650)",secondary:"ref(globals.colors.success-100)","secondary-hover":"ref(globals.colors.success-150)",tertiary:"ref(globals.colors.success-050)","tertiary-hover":"ref(globals.colors.success-100)"},warning:{primary:"ref(globals.colors.warning-550)","primary-hover":"ref(globals.colors.warning-650)",secondary:"ref(globals.colors.warning-100)","secondary-hover":"ref(globals.colors.warning-150)",tertiary:"ref(globals.colors.warning-050)","tertiary-hover":"ref(globals.colors.warning-100)"},error:{primary:"ref(globals.colors.error-550)","primary-hover":"ref(globals.colors.error-650)",secondary:"ref(globals.colors.error-100)","secondary-hover":"ref(globals.colors.error-150)",tertiary:"ref(globals.colors.error-050)","tertiary-hover":"ref(globals.colors.error-100)"},disabled:{primary:"ref(globals.colors.gray-100)",secondary:"ref(globals.colors.gray-050)"}},palette:{brand:{primary:"ref(globals.colors.brand-500)",secondary:"ref(globals.colors.brand-350)",tertiary:"ref(globals.colors.brand-150)"},red:{primary:"ref(globals.colors.red-500)",secondary:"ref(globals.colors.red-350)",tertiary:"ref(globals.colors.red-150)"},orange:{primary:"ref(globals.colors.orange-500)",secondary:"ref(globals.colors.orange-350)",tertiary:"ref(globals.colors.orange-150)"},brown:{primary:"ref(globals.colors.brown-500)",secondary:"ref(globals.colors.brown-350)",tertiary:"ref(globals.colors.brown-150)"},yellow:{primary:"ref(globals.colors.yellow-500)",secondary:"ref(globals.colors.yellow-350)",tertiary:"ref(globals.colors.yellow-150)"},green:{primary:"ref(globals.colors.green-500)",secondary:"ref(globals.colors.green-350)",tertiary:"ref(globals.colors.green-150)"},"blue-1":{primary:"ref(globals.colors.blue-1-500)",secondary:"ref(globals.colors.blue-1-350)",tertiary:"ref(globals.colors.blue-1-150)"},"blue-2":{primary:"ref(globals.colors.blue-2-500)",secondary:"ref(globals.colors.blue-2-350)",tertiary:"ref(globals.colors.blue-2-150)"},purple:{primary:"ref(globals.colors.purple-500)",secondary:"ref(globals.colors.purple-350)",tertiary:"ref(globals.colors.purple-150)"},pink:{primary:"ref(globals.colors.pink-500)",secondary:"ref(globals.colors.pink-350)",tertiary:"ref(globals.colors.pink-150)"},gray:{primary:"ref(globals.colors.gray-500)",secondary:"ref(globals.colors.gray-350)",tertiary:"ref(globals.colors.gray-150)"}}},content:{logo1:"ref(globals.colors.logo-1-light)",logo2:"ref(globals.colors.logo-2-light)",semantic:{contextual:{primary:"ref(globals.colors.white-950)"},overlay:{primary:"ref(globals.colors.white-950)"},brand:{primary:"ref(globals.colors.brand-700)",secondary:"ref(globals.colors.brand-600)",tertiary:"ref(globals.colors.brand-550)","on-brand":"ref(globals.colors.brand-050)"},neutral:{primary:"ref(globals.colors.gray-850)",secondary:"ref(globals.colors.gray-600)",tertiary:"ref(globals.colors.gray-550)","on-neutral":"ref(globals.colors.gray-050)"},info:{primary:"ref(globals.colors.info-700)",secondary:"ref(globals.colors.info-600)",tertiary:"ref(globals.colors.info-550)","on-info":"ref(globals.colors.info-050)"},success:{primary:"ref(globals.colors.success-700)",secondary:"ref(globals.colors.success-600)",tertiary:"ref(globals.colors.success-550)","on-success":"ref(globals.colors.success-050)"},warning:{primary:"ref(globals.colors.warning-700)",secondary:"ref(globals.colors.warning-600)",tertiary:"ref(globals.colors.warning-550)","on-warning":"ref(globals.colors.warning-050)"},error:{primary:"ref(globals.colors.error-700)",secondary:"ref(globals.colors.error-600)",tertiary:"ref(globals.colors.error-550)","on-error":"ref(globals.colors.error-050)"},disabled:{primary:"ref(globals.colors.gray-300)",secondary:"ref(globals.colors.white-500)"}},palette:{brand:{primary:"ref(globals.colors.brand-500)"},red:{primary:"ref(globals.colors.red-500)"},orange:{primary:"ref(globals.colors.orange-500)"},brown:{primary:"ref(globals.colors.brown-500)"},yellow:{primary:"ref(globals.colors.yellow-500)"},green:{primary:"ref(globals.colors.green-500)"},"blue-1":{primary:"ref(globals.colors.blue-1-500)"},"blue-2":{primary:"ref(globals.colors.blue-2-500)"},purple:{primary:"ref(globals.colors.purple-500)"},pink:{primary:"ref(globals.colors.pink-500)"},gray:{primary:"ref(globals.colors.gray-500)"}}},border:{surface:{primary:"ref(globals.colors.gray-100)"},semantic:{contextual:{primary:"ref(globals.colors.white-200)"},overlay:{primary:"ref(globals.colors.white-200)"},brand:{primary:"ref(globals.colors.brand-550)",secondary:"ref(globals.colors.brand-300)",tertiary:"ref(globals.colors.brand-150)"},neutral:{primary:"ref(globals.colors.gray-550)",secondary:"ref(globals.colors.gray-300)",tertiary:"ref(globals.colors.gray-150)"},info:{primary:"ref(globals.colors.info-550)",secondary:"ref(globals.colors.info-300)",tertiary:"ref(globals.colors.info-150)"},success:{primary:"ref(globals.colors.success-550)",secondary:"ref(globals.colors.success-300)",tertiary:"ref(globals.colors.success-150)"},warning:{primary:"ref(globals.colors.warning-550)",secondary:"ref(globals.colors.warning-300)",tertiary:"ref(globals.colors.warning-150)"},error:{primary:"ref(globals.colors.error-550)",secondary:"ref(globals.colors.error-300)",tertiary:"ref(globals.colors.error-150)"},disabled:{primary:"ref(globals.colors.gray-100)"}}}},t.contextualDarkTokens={background:{surface:{primary:"ref(globals.colors.gray-800)",secondary:"ref(globals.colors.gray-850)",tertiary:"ref(globals.colors.gray-900)"},semantic:{contextual:{primary:"ref(globals.colors.white-050)","primary-hover":"ref(globals.colors.white-100)"},overlay:{primary:"ref(globals.colors.white-050)","primary-hover":"ref(globals.colors.white-100)"},brand:{primary:"ref(globals.colors.brand-550)","primary-hover":"ref(globals.colors.brand-650)",secondary:"ref(globals.colors.brand-700)","secondary-hover":"ref(globals.colors.brand-750)",tertiary:"ref(globals.colors.brand-750)","tertiary-hover":"ref(globals.colors.brand-800)"},neutral:{primary:"ref(globals.colors.gray-550)","primary-hover":"ref(globals.colors.gray-650)",secondary:"ref(globals.colors.gray-700)","secondary-hover":"ref(globals.colors.gray-750)",tertiary:"ref(globals.colors.gray-750)","tertiary-hover":"ref(globals.colors.gray-800)"},info:{primary:"ref(globals.colors.info-550)","primary-hover":"ref(globals.colors.info-650)",secondary:"ref(globals.colors.info-700)","secondary-hover":"ref(globals.colors.info-750)",tertiary:"ref(globals.colors.info-750)","tertiary-hover":"ref(globals.colors.info-800)"},success:{primary:"ref(globals.colors.success-550)","primary-hover":"ref(globals.colors.success-650)",secondary:"ref(globals.colors.success-700)","secondary-hover":"ref(globals.colors.success-750)",tertiary:"ref(globals.colors.success-750)","tertiary-hover":"ref(globals.colors.success-800)"},warning:{primary:"ref(globals.colors.warning-550)","primary-hover":"ref(globals.colors.warning-650)",secondary:"ref(globals.colors.warning-700)","secondary-hover":"ref(globals.colors.warning-750)",tertiary:"ref(globals.colors.warning-750)","tertiary-hover":"ref(globals.colors.warning-800)"},error:{primary:"ref(globals.colors.error-550)","primary-hover":"ref(globals.colors.error-650)",secondary:"ref(globals.colors.error-700)","secondary-hover":"ref(globals.colors.error-750)",tertiary:"ref(globals.colors.error-750)","tertiary-hover":"ref(globals.colors.error-800)"},disabled:{primary:"ref(globals.colors.gray-750)",secondary:"ref(globals.colors.gray-800)"}},palette:{brand:{primary:"ref(globals.colors.brand-350)",secondary:"ref(globals.colors.brand-450)",tertiary:"ref(globals.colors.brand-550)"},red:{primary:"ref(globals.colors.red-350)",secondary:"ref(globals.colors.red-450)",tertiary:"ref(globals.colors.red-550)"},orange:{primary:"ref(globals.colors.orange-350)",secondary:"ref(globals.colors.orange-450)",tertiary:"ref(globals.colors.orange-550)"},brown:{primary:"ref(globals.colors.brown-350)",secondary:"ref(globals.colors.brown-450)",tertiary:"ref(globals.colors.brown-550)"},yellow:{primary:"ref(globals.colors.yellow-350)",secondary:"ref(globals.colors.yellow-450)",tertiary:"ref(globals.colors.yellow-550)"},green:{primary:"ref(globals.colors.green-350)",secondary:"ref(globals.colors.green-450)",tertiary:"ref(globals.colors.green-550)"},"blue-1":{primary:"ref(globals.colors.blue-1-350)",secondary:"ref(globals.colors.blue-1-450)",tertiary:"ref(globals.colors.blue-1-550)"},"blue-2":{primary:"ref(globals.colors.blue-2-350)",secondary:"ref(globals.colors.blue-2-450)",tertiary:"ref(globals.colors.blue-2-550)"},purple:{primary:"ref(globals.colors.purple-350)",secondary:"ref(globals.colors.purple-450)",tertiary:"ref(globals.colors.purple-550)"},pink:{primary:"ref(globals.colors.pink-350)",secondary:"ref(globals.colors.pink-450)",tertiary:"ref(globals.colors.pink-550)"},gray:{primary:"ref(globals.colors.gray-350)",secondary:"ref(globals.colors.gray-450)",tertiary:"ref(globals.colors.gray-550)"}}},content:{logo1:"ref(globals.colors.logo-1-dark)",logo2:"ref(globals.colors.logo-2-dark)",semantic:{contextual:{primary:"ref(globals.colors.black-850)"},overlay:{primary:"ref(globals.colors.black-850)"},brand:{primary:"ref(globals.colors.brand-050)",secondary:"ref(globals.colors.brand-100)",tertiary:"ref(globals.colors.brand-250)","on-brand":"ref(globals.colors.brand-050)"},neutral:{primary:"ref(globals.colors.gray-050)",secondary:"ref(globals.colors.gray-100)",tertiary:"ref(globals.colors.gray-250)","on-neutral":"ref(globals.colors.gray-050)"},info:{primary:"ref(globals.colors.info-050)",secondary:"ref(globals.colors.info-100)",tertiary:"ref(globals.colors.info-250)","on-info":"ref(globals.colors.info-050)"},success:{primary:"ref(globals.colors.success-050)",secondary:"ref(globals.colors.success-100)",tertiary:"ref(globals.colors.success-250)","on-success":"ref(globals.colors.success-050)"},warning:{primary:"ref(globals.colors.warning-050)",secondary:"ref(globals.colors.warning-100)",tertiary:"ref(globals.colors.warning-250)","on-warning":"ref(globals.colors.warning-050)"},error:{primary:"ref(globals.colors.error-050)",secondary:"ref(globals.colors.error-100)",tertiary:"ref(globals.colors.error-250)","on-error":"ref(globals.colors.error-050)"},disabled:{primary:"ref(globals.colors.gray-600)",secondary:"ref(globals.colors.black-300)"}},palette:{brand:{primary:"ref(globals.colors.brand-500)"},red:{primary:"ref(globals.colors.red-500)"},orange:{primary:"ref(globals.colors.orange-500)"},brown:{primary:"ref(globals.colors.brown-500)"},yellow:{primary:"ref(globals.colors.yellow-500)"},green:{primary:"ref(globals.colors.green-500)"},"blue-1":{primary:"ref(globals.colors.blue-1-500)"},"blue-2":{primary:"ref(globals.colors.blue-2-500)"},purple:{primary:"ref(globals.colors.purple-500)"},pink:{primary:"ref(globals.colors.pink-500)"},gray:{primary:"ref(globals.colors.gray-500)"}}},border:{surface:{primary:"ref(globals.colors.gray-750)"},semantic:{contextual:{primary:"ref(globals.colors.black-200)"},overlay:{primary:"ref(globals.colors.black-200)"},brand:{primary:"ref(globals.colors.brand-450)",secondary:"ref(globals.colors.brand-600)",tertiary:"ref(globals.colors.brand-700)"},neutral:{primary:"ref(globals.colors.gray-450)",secondary:"ref(globals.colors.gray-600)",tertiary:"ref(globals.colors.gray-700)"},info:{primary:"ref(globals.colors.info-450)",secondary:"ref(globals.colors.info-600)",tertiary:"ref(globals.colors.info-700)"},success:{primary:"ref(globals.colors.success-450)",secondary:"ref(globals.colors.success-600)",tertiary:"ref(globals.colors.success-700)"},warning:{primary:"ref(globals.colors.warning-450)",secondary:"ref(globals.colors.warning-600)",tertiary:"ref(globals.colors.warning-700)"},error:{primary:"ref(globals.colors.error-450)",secondary:"ref(globals.colors.error-600)",tertiary:"ref(globals.colors.error-700)"},disabled:{primary:"ref(globals.colors.gray-800)"}}}},t.default={themes:{default:{globals:t.globals,contextuals:t.contextualDefaultTokens,components:{}},dark:{globals:t.globals,contextuals:t.contextualDarkTokens,components:{}}}}}(fo)),fo}var Rs;function s3(){if(Rs)return Or;Rs=1,Object.defineProperty(Or,"__esModule",{value:!0}),Or.getThemesFromGlobals=void 0;const t=l3(),e=a3(),r=["light","dark"],n={light:e.contextualDefaultTokens,dark:e.contextualDarkTokens},i=(o={},l={})=>(l.variants||r).reduce((s,c)=>{const d=l.prefix?`${l.prefix}-${c}`:c;return s[d]=t({globals:o,contextuals:n[c]},l.overrides||{}),s},{});return Or.getThemesFromGlobals=i,Or}var Ls;function c3(){return Ls||(Ls=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.getThemesFromGlobals=t.buildRefs=t.defaultTokenRefs=t.defaultThemes=t.defaultTokens=void 0;const e=i3(),r=o3();Object.defineProperty(t,"buildRefs",{enumerable:!0,get:function(){return r.buildRefs}});const n=s3();Object.defineProperty(t,"getThemesFromGlobals",{enumerable:!0,get:function(){return n.getThemesFromGlobals}}),t.defaultTokens=e.tokens.themes.default,t.defaultThemes=e.tokens.themes,t.defaultTokenRefs=(0,r.buildRefs)(t.defaultTokens)}(co)),co}var Ti=c3();const Ai={components:{modal:{"width-small":"342px"},tooltip:{padding:"4px 8px"},button:{"medium-height":"40px","medium-text-height":"40px","border-radius":"4px","border-radius--active":"4px","border-radius--focus":"4px"},datagrid:{"header--color":"ref(contextuals.content.semantic.neutral.primary)","header--size":"12px","header--weight":"500","body--background-color-hover":"ref(contextuals.background.semantic.neutral.tertiary)"},"forms-checkbox":{"font-size":"ref(globals.font.sizes.sm)"},badge:{"font-size":"ref(globals.font.sizes.xs)","border-radius":"12px","padding-inline":"ref(globals.spacings.xs)","padding-block":"ref(globals.spacings.2xs)",accent:{"background-color":"ref(contextuals.background.semantic.brand.secondary)",color:"ref(contextuals.content.semantic.brand.secondary)"},neutral:{"background-color":"ref(contextuals.background.semantic.neutral.secondary)",color:"ref(contextuals.content.semantic.neutral.secondary)"},danger:{"background-color":"ref(contextuals.background.semantic.error.secondary)",color:"ref(contextuals.content.semantic.error.secondary)"},success:{"background-color":"ref(contextuals.background.semantic.success.secondary)",color:"ref(contextuals.content.semantic.success.secondary)"},warning:{"background-color":"ref(contextuals.background.semantic.warning.secondary)",color:"ref(contextuals.content.semantic.warning.secondary)"},info:{"background-color":"ref(contextuals.background.semantic.info.secondary)",color:"ref(contextuals.content.semantic.info.secondary)"}}}},Xr={font:{sizes:{xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",ml:"0.938rem",xl:"1.25rem",t:"0.6875rem",s:"0.75rem",h1:"2rem",h2:"1.75rem",h3:"1.5rem",h4:"1.375rem",h5:"1.25rem",h6:"1.125rem","xl-alt":"5rem","lg-alt":"4.5rem","md-alt":"4rem","sm-alt":"3.5rem","xs-alt":"3rem"},weights:{thin:100,extrabold:800,black:900},families:{accent:"Marianne, Inter, Roboto Flex Variable, sans-serif",base:"Marianne, Inter, Roboto Flex Variable, sans-serif"}},spacings:{0:"0",none:"0",auto:"auto",bx:"2.2rem",full:"100%","4xs":"0.125rem","3xs":"0.25rem","2xs":"0.375rem",xs:"0.5rem",sm:"0.75rem",base:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem",xxl:"3rem","2xl":"3rem",xxxl:"3.5rem","3xl":"3.5rem","4xl":"4rem","5xl":"4.5rem","6xl":"6rem","7xl":"7.5rem"},breakpoints:{xxs:"320px",xs:"480px",mobile:"768px",tablet:"1024px"}},Y2={colors:{"logo-1-light":"#4844AD","logo-2-light":"#4844AD","logo-1-dark":"#BEC5F0","logo-2-dark":"#BEC5F0","brand-050":"#EEF1FA","brand-100":"#DDE2F5","brand-150":"#CED3F1","brand-200":"#BEC5F0","brand-250":"#AFB5F1","brand-300":"#A0A5F6","brand-350":"#8F94FD","brand-400":"#8184FC","brand-450":"#7576EE","brand-500":"#6969DF","brand-550":"#5E5CD0","brand-600":"#534FC2","brand-650":"#4844AD","brand-700":"#3E3B98","brand-750":"#36347D","brand-800":"#2D2F5F","brand-850":"#262848","brand-900":"#1C1E32","brand-950":"#11131F","gray-000":"#FFFFFF","gray-025":"#F8F8F9","gray-050":"#F0F0F3","gray-100":"#E2E2EA","gray-150":"#D3D4E0","gray-200":"#C5C6D5","gray-250":"#B7B7CB","gray-300":"#A9A9BF","gray-350":"#9C9CB2","gray-400":"#8F8FA4","gray-450":"#828297","gray-500":"#75758A","gray-550":"#69697D","gray-600":"#5D5D70","gray-650":"#515164","gray-700":"#454558","gray-750":"#3A3A4C","gray-800":"#2F303D","gray-850":"#25252F","gray-900":"#1B1B23","gray-950":"#111114","gray-1000":"#000000","info-050":"#EAF2F9","info-100":"#D5E4F3","info-150":"#BFD7F0","info-200":"#A7CAEE","info-250":"#8DBDEF","info-300":"#6EB0F2","info-350":"#50A2F5","info-400":"#3593F4","info-450":"#1185ED","info-500":"#0077DE","info-550":"#0069CF","info-600":"#005BC0","info-650":"#0D4EAA","info-700":"#124394","info-750":"#163878","info-800":"#192F5A","info-850":"#192541","info-900":"#141B2D","info-950":"#0C111C","success-050":"#E8F1EA","success-100":"#CFE4D4","success-150":"#BAD9C1","success-200":"#A2CFAD","success-250":"#86C597","success-300":"#6CBA83","success-350":"#4FB070","success-400":"#40A363","success-450":"#309556","success-500":"#1E884A","success-550":"#027B3E","success-600":"#016D31","success-650":"#006024","success-700":"#005317","success-750":"#0D4511","success-800":"#11380E","success-850":"#132A11","success-900":"#101E0F","success-950":"#091209","warning-050":"#F8F0E9","warning-100":"#F1E0D3","warning-150":"#ECD0BC","warning-200":"#E8C0A4","warning-250":"#E8AE8A","warning-300":"#EB9970","warning-350":"#E98456","warning-400":"#E57036","warning-450":"#DA5E18","warning-500":"#CB5000","warning-550":"#BC4200","warning-600":"#AD3300","warning-650":"#9E2300","warning-700":"#882011","warning-750":"#731E16","warning-800":"#58201A","warning-850":"#401D18","warning-900":"#2E1714","warning-950":"#1D0F0D","error-050":"#F9EFEC","error-100":"#F4DFD9","error-150":"#F0CEC6","error-200":"#EEBCB2","error-250":"#EEA99D","error-300":"#EF9486","error-350":"#F37C6E","error-400":"#F65F53","error-450":"#F0463D","error-500":"#E82322","error-550":"#D7010E","error-600":"#C00100","error-650":"#AA0000","error-700":"#910C06","error-750":"#731E16","error-800":"#58201A","error-850":"#401D18","error-900":"#2E1714","error-950":"#1D0F0D","red-050":"#FAEFEE","red-100":"#F4DEDD","red-150":"#F1CDCB","red-200":"#EFBBBA","red-250":"#EEA8A8","red-300":"#F09394","red-350":"#F37B7E","red-400":"#EF6569","red-450":"#E94A55","red-500":"#DA3B49","red-550":"#CA2A3C","red-600":"#BB1330","red-650":"#A90021","red-700":"#910A13","red-750":"#731E16","red-800":"#58201A","red-850":"#411D18","red-900":"#2E1714","red-950":"#1D0F0D","orange-050":"#F8F0E9","orange-100":"#F1E0D3","orange-150":"#ECD0BD","orange-200":"#EABFA6","orange-250":"#EBAC90","orange-300":"#EC9772","orange-350":"#E5845A","orange-400":"#D6774D","orange-450":"#C86A40","orange-500":"#B95D33","orange-550":"#AB5025","orange-600":"#9D4315","orange-650":"#8F3600","orange-700":"#812900","orange-750":"#6C2511","orange-800":"#572017","orange-850":"#401D18","orange-900":"#2E1714","orange-950":"#1D0F0D","brown-050":"#F6F0E8","brown-100":"#F1E0D3","brown-150":"#EBD0BA","brown-200":"#E2C0A6","brown-250":"#D4B398","brown-300":"#C6A58B","brown-350":"#B8987E","brown-400":"#AA8B71","brown-450":"#9D7E65","brown-500":"#8F7158","brown-550":"#82654C","brown-600":"#765841","brown-650":"#694C35","brown-700":"#5D412A","brown-750":"#51361E","brown-800":"#452A13","brown-850":"#392008","brown-900":"#29180A","brown-950":"#1B0F08","yellow-050":"#F3F0E7","yellow-100":"#E9E2CF","yellow-150":"#E1D4B7","yellow-200":"#D9C599","yellow-250":"#D2B677","yellow-300":"#CAA756","yellow-350":"#C2972E","yellow-400":"#B98900","yellow-450":"#AB7B00","yellow-500":"#9D6E00","yellow-550":"#916100","yellow-600":"#855400","yellow-650":"#784700","yellow-700":"#6C3A00","yellow-750":"#5F2E00","yellow-800":"#512302","yellow-850":"#3E1D10","yellow-900":"#2D1711","yellow-950":"#1D0F0D","green-050":"#E6F1E9","green-100":"#CFE4D5","green-150":"#B8D8C1","green-200":"#A0CFAE","green-250":"#84C59A","green-300":"#65BA86","green-350":"#45B173","green-400":"#23A562","green-450":"#029755","green-500":"#008948","green-550":"#017B3B","green-600":"#006E2E","green-650":"#006022","green-700":"#005314","green-750":"#0D4510","green-800":"#11380E","green-850":"#132A11","green-900":"#101E0F","green-950":"#091209","blue-1-050":"#EBF1F9","blue-1-100":"#D6E4F4","blue-1-150":"#C1D7F0","blue-1-200":"#AACAEF","blue-1-250":"#8FBCEF","blue-1-300":"#7CAFEB","blue-1-350":"#68A1E4","blue-1-400":"#5B94D6","blue-1-450":"#4E86C7","blue-1-500":"#4279B9","blue-1-550":"#356CAC","blue-1-600":"#28609E","blue-1-650":"#1B5390","blue-1-700":"#0B4783","blue-1-750":"#0F3C6E","blue-1-800":"#133059","blue-1-850":"#152641","blue-1-900":"#121C2D","blue-1-950":"#0B111C","blue-2-050":"#E7F3F4","blue-2-100":"#CEE7E9","blue-2-150":"#B2DCE0","blue-2-200":"#91D1D7","blue-2-250":"#68C7D0","blue-2-300":"#43BBC5","blue-2-350":"#00AFBA","blue-2-400":"#01A0AA","blue-2-450":"#00929D","blue-2-500":"#00848F","blue-2-550":"#007682","blue-2-600":"#016874","blue-2-650":"#005B67","blue-2-700":"#004E5A","blue-2-750":"#00424E","blue-2-800":"#003642","blue-2-850":"#002A38","blue-2-900":"#061E28","blue-2-950":"#071219","purple-050":"#F7F0F6","purple-100":"#EEE0EE","purple-150":"#E7D1E7","purple-200":"#DBBFE4","purple-250":"#D3AEE2","purple-300":"#CB99E1","purple-350":"#C188D9","purple-400":"#B47BCB","purple-450":"#A66EBD","purple-500":"#9961AF","purple-550":"#8B55A1","purple-600":"#7E4894","purple-650":"#723C87","purple-700":"#633376","purple-750":"#552A65","purple-800":"#452551","purple-850":"#35213D","purple-900":"#261A2C","purple-950":"#17111C","pink-050":"#F8EFF4","pink-100":"#F0DFEA","pink-150":"#EACEDF","pink-200":"#E9BBD1","pink-250":"#E9A7C2","pink-300":"#E095B4","pink-350":"#D685A8","pink-400":"#C7799B","pink-450":"#B86C8D","pink-500":"#AA5F80","pink-550":"#9C5374","pink-600":"#8E4767","pink-650":"#813B5B","pink-700":"#732E4F","pink-750":"#632643","pink-800":"#521F38","pink-850":"#3E1C2B","pink-900":"#2D171F","pink-950":"#1C0E12","black-000":"#1B1B2300","black-050":"#1B1B230D","black-100":"#1B1B231A","black-150":"#1B1B2326","black-200":"#1B1B2333","black-250":"#1B1B2340","black-300":"#1B1B234D","black-350":"#1B1B2359","black-400":"#1B1B2366","black-450":"#1B1B2373","black-500":"#1B1B2380","black-550":"#1B1B238C","black-600":"#1B1B2399","black-650":"#1B1B23A6","black-700":"#1B1B23B2","black-750":"#1B1B23BF","black-800":"#1B1B23CC","black-850":"#1B1B23D9","black-900":"#1B1B23E5","black-950":"#111114F2","white-000":"#F8F8F900","white-050":"#F8F8F90D","white-100":"#F8F8F91A","white-150":"#F8F8F926","white-200":"#F8F8F933","white-250":"#F8F8F940","white-300":"#F8F8F94D","white-350":"#F8F8F959","white-400":"#F8F8F966","white-450":"#F8F8F973","white-500":"#F8F8F980","white-550":"#F8F8F98C","white-600":"#F8F8F999","white-650":"#F8F8F9A6","white-700":"#F8F8F9B2","white-750":"#F8F8F9BF","white-800":"#F8F8F9CC","white-850":"#F8F8F9D9","white-900":"#F8F8F9E5","white-950":"#F8F8F9F2","white-975":"#F8F8F9F9"},...Xr,font:{...Xr.font,families:{base:"Hanken Grotesk, Inter, Roboto Flex Variable, sans-serif",accent:"Hanken Grotesk, Inter, Roboto Flex Variable, sans-serif"}}},X2={colors:{"logo-1-light":"#2845C1","logo-2-light":"#C83F49","logo-1-dark":"#95ABFF","logo-2-dark":"#E78087","brand-050":"#EDF0FF","brand-100":"#DAE2FF","brand-150":"#C8D3FF","brand-200":"#B5C4FF","brand-250":"#A2B6FF","brand-300":"#90A7FF","brand-350":"#7E98FF","brand-400":"#6C89FE","brand-450":"#5C7AF7","brand-500":"#4C6CEF","brand-550":"#3E5DE7","brand-600":"#304DDF","brand-650":"#2845C1","brand-700":"#223E9E","brand-750":"#1F367D","brand-800":"#1B2E5F","brand-850":"#172446","brand-900":"#121B30","brand-950":"#0C111A","gray-100":"#DFE2EA","gray-150":"#CFD5DE","gray-200":"#C1C7D3","gray-250":"#B2B9C7","gray-300":"#A4ABBC","gray-350":"#969EB0","gray-400":"#8891A4","gray-450":"#7B8498","gray-500":"#6D778C","gray-550":"#626A80","gray-600":"#555E74","gray-650":"#4A5267","gray-700":"#3F4759","gray-750":"#363B4C","gray-800":"#2B303D","gray-850":"#222631","gray-900":"#181B24","gray-950":"#0F1117","gray-1000":"#000000","info-050":"#E7F2FF","info-100":"#CFE5FF","info-150":"#B7D7FF","info-200":"#A0CAFE","info-250":"#8CBCF9","info-300":"#77AEF4","info-350":"#63A0EE","info-400":"#5092E7","info-450":"#4185DC","info-500":"#3677CC","info-550":"#2F6ABB","info-600":"#265EAA","info-650":"#28528F","info-700":"#274775","info-750":"#243C5E","info-800":"#20314A","info-850":"#1B2637","info-900":"#141C27","info-950":"#0D1118","success-050":"#DEF7E6","success-100":"#BAEECF","success-150":"#A5E2C0","success-200":"#95D4B3","success-250":"#85C6A7","success-300":"#74B99B","success-350":"#65AB8F","success-400":"#579E84","success-450":"#4B9079","success-500":"#40836F","success-550":"#367664","success-600":"#2B695A","success-650":"#2C5A50","success-700":"#2A4D45","success-750":"#26403C","success-800":"#213430","success-850":"#1B2826","success-900":"#151D1C","success-950":"#0D1212","warning-050":"#FFEEDF","warning-100":"#FFDCBE","warning-150":"#FFCA9C","warning-200":"#FFB778","warning-250":"#FDA54F","warning-300":"#F59425","warning-350":"#E78613","warning-400":"#D7790C","warning-450":"#C86C08","warning-500":"#B85F03","warning-550":"#A75400","warning-600":"#984800","warning-650":"#814112","warning-700":"#6C3A19","warning-750":"#58321C","warning-800":"#452A1A","warning-850":"#352117","warning-900":"#261813","warning-950":"#170F0C","error-050":"#FFEDEB","error-100":"#FFDAD7","error-150":"#FFC7C2","error-200":"#FFB3AD","error-250":"#FF9F99","error-300":"#FF8984","error-350":"#FF706E","error-400":"#FB5759","error-450":"#F63A45","error-500":"#E32C39","error-550":"#CF202D","error-600":"#BD0F23","error-650":"#9D2227","error-700":"#812727","error-750":"#672624","error-800":"#512220","error-850":"#3D1C1B","error-900":"#2A1614","error-950":"#190E0D","red-050":"#FFEDEB","red-100":"#FFDAD7","red-150":"#FFC7C2","red-200":"#FFB3AD","red-250":"#FF9F99","red-300":"#FF8984","red-350":"#FF706E","red-400":"#FB5759","red-450":"#F63A45","red-500":"#E32C39","red-550":"#CF202D","red-600":"#BD0F23","red-650":"#9D2227","red-700":"#812727","red-750":"#672624","red-800":"#512220","red-850":"#3D1C1B","red-900":"#410003","red-950":"#190E0D","orange-050":"#FCEDEB","orange-100":"#F8DCD7","orange-150":"#F1CCC5","orange-200":"#EABCB4","orange-250":"#E2ACA2","orange-300":"#DA9C92","orange-350":"#D28C81","orange-400":"#CA7C70","orange-450":"#BE6E62","orange-500":"#AE6257","orange-550":"#9E564D","orange-600":"#8F4B42","orange-650":"#79443D","orange-700":"#643C37","orange-750":"#513430","orange-800":"#412B28","orange-850":"#312220","orange-900":"#231918","orange-950":"#150F0F","brown-050":"#F9EFEA","brown-100":"#F3DFD3","brown-150":"#EACFC1","brown-200":"#E2BFAE","brown-250":"#D8B19C","brown-300":"#D0A189","brown-350":"#C3937B","brown-400":"#B5866D","brown-450":"#A77A62","brown-500":"#996D57","brown-550":"#8B614D","brown-600":"#7C5542","brown-650":"#6A4C3C","brown-700":"#594236","brown-750":"#49382F","brown-800":"#3B2E28","brown-850":"#2D2420","brown-900":"#201A18","brown-950":"#13100F","yellow-050":"#FDF1C5","yellow-100":"#FBE18E","yellow-150":"#F4D261","yellow-200":"#EAC244","yellow-250":"#DFB41B","yellow-300":"#D1A516","yellow-350":"#C49711","yellow-400":"#B78A0C","yellow-450":"#A87D07","yellow-500":"#9B6F02","yellow-550":"#8D6300","yellow-600":"#7F5600","yellow-650":"#6E4C11","yellow-700":"#5D4219","yellow-750":"#4D371B","yellow-800":"#3D2E1A","yellow-850":"#2F2417","yellow-900":"#221A12","yellow-950":"#14100C","green-050":"#E7F9B3","green-100":"#D5EC98","green-150":"#C5DE86","green-200":"#B5D174","green-250":"#A5C464","green-300":"#95B755","green-350":"#85AA45","green-400":"#769D39","green-450":"#688F30","green-500":"#5A8228","green-550":"#4D7621","green-600":"#416919","green-650":"#3A5B20","green-700":"#324E22","green-750":"#2C4122","green-800":"#24351D","green-850":"#1D2919","green-900":"#161E13","green-950":"#0E120C","blue-1-050":"#E7F2FF","blue-1-100":"#CFE5FF","blue-1-150":"#B7D7FF","blue-1-200":"#A0CAFE","blue-1-250":"#8CBCF9","blue-1-300":"#77AEF4","blue-1-350":"#63A0EE","blue-1-400":"#5092E7","blue-1-450":"#4185DC","blue-1-500":"#3677CC","blue-1-550":"#2F6ABB","blue-1-600":"#265EAA","blue-1-650":"#28528F","blue-1-700":"#274775","blue-1-750":"#243C5E","blue-1-800":"#20314A","blue-1-850":"#1B2637","blue-1-900":"#141C27","blue-1-950":"#0D1118","blue-2-050":"#E2F4FD","blue-2-100":"#C4E8F8","blue-2-150":"#AADCF2","blue-2-200":"#93CFEB","blue-2-250":"#7CC2E2","blue-2-300":"#6CB4D6","blue-2-350":"#5CA7C9","blue-2-400":"#5099BC","blue-2-450":"#458BAE","blue-2-500":"#3A7EA0","blue-2-550":"#327191","blue-2-600":"#286483","blue-2-650":"#2B5770","blue-2-700":"#294A5E","blue-2-750":"#263E4D","blue-2-800":"#22323D","blue-2-850":"#1C272E","blue-2-900":"#151D21","blue-2-950":"#0E1114","purple-050":"#F5EEFF","purple-100":"#ECDCFF","purple-150":"#E2CBFF","purple-200":"#D9B9FF","purple-250":"#D0A7FF","purple-300":"#C894FE","purple-350":"#BE83FA","purple-400":"#B570F5","purple-450":"#AB5EF0","purple-500":"#A04BE8","purple-550":"#933CDB","purple-600":"#8530C8","purple-650":"#7033A5","purple-700":"#5D3185","purple-750":"#4C2C6A","purple-800":"#3C2652","purple-850":"#2D203C","purple-900":"#21182A","purple-950":"#130F19","pink-050":"#FFEBF6","pink-100":"#FFD8ED","pink-150":"#FCC4E3","pink-200":"#F7B2D9","pink-250":"#F29FCE","pink-300":"#ED8CC3","pink-350":"#E779B8","pink-400":"#E264AD","pink-450":"#D2579E","pink-500":"#C24B8E","pink-550":"#B0417F","pink-600":"#9F3670","pink-650":"#873560","pink-700":"#6F3250","pink-750":"#5A2C43","pink-800":"#472635","pink-850":"#351F29","pink-900":"#26171D","pink-950":"#170F12","black-000":"#181B2400","black-050":"#181B240D","black-100":"#181B241A","black-150":"#181B2426","black-200":"#181B2433","black-250":"#181B2440","black-300":"#181B244D","black-350":"#181B2459","black-400":"#181B2466","black-450":"#181B2473","black-500":"#181B2480","black-550":"#181B248C","black-600":"#181B2499","black-650":"#181B24A6","black-700":"#181B24B2","black-750":"#181B24BF","black-800":"#181B24CC","black-850":"#181B24D9","black-900":"#181B24E5","black-950":"#0F1117F2","white-000":"#F6F8F900","white-050":"#F6F8F90D","white-100":"#F6F8F91A","white-150":"#F6F8F926","white-200":"#F6F8F933","white-250":"#F6F8F940","white-300":"#F6F8F94D","white-350":"#F6F8F959","white-400":"#F6F8F966","white-450":"#F6F8F973","white-500":"#F6F8F980","white-550":"#F6F8F98C","white-600":"#F6F8F999","white-650":"#F6F8F9A6","white-700":"#F6F8F9B2","white-750":"#F6F8F9BF","white-800":"#F6F8F9CC","white-850":"#F6F8F9D9","white-900":"#F6F8F9E5","white-950":"#F6F8F9F2","white-975":"#F6F8F9F9"},...Xr},J2={colors:{"logo-1-light":"#2845C1","logo-2-light":"#FBC63A","logo-1-dark":"#94A3E5","logo-2-dark":"#EFD183","brand-050":"#EEF0F9","brand-100":"#DDE2F5","brand-150":"#CBD4F1","brand-200":"#B8C6F0","brand-250":"#A5B7F2","brand-300":"#91A8F7","brand-350":"#7C98FE","brand-400":"#6A89FF","brand-450":"#5A7AFB","brand-500":"#4B6BF0","brand-550":"#3E5CE7","brand-600":"#3352D5","brand-650":"#2A47C0","brand-700":"#2340A3","brand-750":"#223A7F","brand-800":"#1F325F","brand-850":"#1B2845","brand-900":"#151E30","brand-950":"#0D121D","gray-000":"#FFFFFF","gray-025":"#F6F8FA","gray-050":"#ECF1F7","gray-100":"#DDE3F3","gray-150":"#CCD4EA","gray-200":"#BCC7E0","gray-250":"#AEB9D2","gray-300":"#A1ABC4","gray-350":"#949EB6","gray-400":"#8791A9","gray-450":"#7A849B","gray-500":"#6D778E","gray-550":"#616A81","gray-600":"#555E75","gray-650":"#495268","gray-700":"#3E475C","gray-750":"#333B50","gray-800":"#283044","gray-850":"#1E2539","gray-900":"#171B28","gray-950":"#0F1118","gray-1000":"#000000","info-050":"#E9F2F8","info-100":"#D2E5F1","info-150":"#C0D7F0","info-200":"#AEC8F0","info-250":"#9EB9F2","info-300":"#8DABEE","info-350":"#7B9DE9","info-400":"#6E8FDB","info-450":"#6282CD","info-500":"#5575BF","info-550":"#4968B1","info-600":"#3E5CA3","info-650":"#344F97","info-700":"#294389","info-750":"#243972","info-800":"#1D2F5B","info-850":"#1A2744","info-900":"#151D2F","info-950":"#0E131F","success-050":"#E7F1E9","success-100":"#CFE3D3","success-150":"#B9D8C0","success-200":"#A1CEAC","success-250":"#85C496","success-300":"#63BC7F","success-350":"#45B16B","success-400":"#1CA659","success-450":"#00984C","success-500":"#008A3F","success-550":"#007C32","success-600":"#006E24","success-650":"#016016","success-700":"#005305","success-750":"#0D450A","success-800":"#11380E","success-850":"#132A11","success-900":"#101E0F","success-950":"#091209","warning-050":"#F6F0E8","warning-100":"#EDE2D1","warning-150":"#E6D3B8","warning-200":"#E3C39F","warning-250":"#E3B082","warning-300":"#E19E5C","warning-350":"#D98E3F","warning-400":"#CF7D19","warning-450":"#C17000","warning-500":"#B36300","warning-550":"#A45600","warning-600":"#964900","warning-650":"#893C00","warning-700":"#7B2F00","warning-750":"#68270D","warning-800":"#562013","warning-850":"#411D18","warning-900":"#2E1714","warning-950":"#1D0F0D","error-050":"#F9EFEC","error-100":"#F4DFD9","error-150":"#F0CEC6","error-200":"#EEBCB2","error-250":"#EEA99D","error-300":"#EF9487","error-350":"#F37C6E","error-400":"#F65F53","error-450":"#EF443C","error-500":"#E0342E","error-550":"#D0201F","error-600":"#C0000C","error-650":"#AA0000","error-700":"#910C06","error-750":"#731E16","error-800":"#58201A","error-850":"#411D18","error-900":"#2E1714","error-950":"#1D0F0D","red-050":"#F9EFEC","red-100":"#F4DEDA","red-150":"#F0CDC9","red-200":"#EEBBB6","red-250":"#EEA8A2","red-300":"#F0938D","red-350":"#EC7E78","red-400":"#E46D67","red-450":"#D95B58","red-500":"#CA4E4B","red-550":"#BB403F","red-600":"#AC3233","red-650":"#9D2227","red-700":"#882023","red-750":"#721D1B","red-800":"#58201A","red-850":"#401D18","red-900":"#2E1714","red-950":"#1D0F0D","orange-050":"#F8F0E9","orange-100":"#F1E0D3","orange-150":"#ECD0BD","orange-200":"#E9C0A5","orange-250":"#E8AE8A","orange-300":"#EB9870","orange-350":"#EB845A","orange-400":"#E66E37","orange-450":"#DD5B16","orange-500":"#CE4D00","orange-550":"#BF3E00","orange-600":"#B02F00","orange-650":"#A11E00","orange-700":"#8A1E14","orange-750":"#731E16","orange-800":"#58201A","orange-850":"#401D18","orange-900":"#2E1714","orange-950":"#1D0F0D","brown-050":"#F5F0E8","brown-100":"#ECE2D1","brown-150":"#E9D1B9","brown-200":"#E3C19D","brown-250":"#DCB187","brown-300":"#D2A26F","brown-350":"#C49562","brown-400":"#B68855","brown-450":"#A97B48","brown-500":"#9B6E3B","brown-550":"#8E612F","brown-600":"#815521","brown-650":"#744913","brown-700":"#673D00","brown-750":"#5A3100","brown-800":"#4E2600","brown-850":"#3D1F0B","brown-900":"#2C170F","brown-950":"#1C0F0B","yellow-050":"#F3F0E7","yellow-100":"#E9E2CF","yellow-150":"#E0D4B7","yellow-200":"#DAC59A","yellow-250":"#D5B67A","yellow-300":"#D0A559","yellow-350":"#CC9331","yellow-400":"#C48400","yellow-450":"#B77600","yellow-500":"#AA6800","yellow-550":"#9D5A00","yellow-600":"#914D00","yellow-650":"#843F00","yellow-700":"#773200","yellow-750":"#6A2601","yellow-800":"#56210F","yellow-850":"#401D16","yellow-900":"#2E1714","yellow-950":"#1D0F0D","green-050":"#E3F1EF","green-100":"#CAE5E1","green-150":"#B0DBD4","green-200":"#91D1C7","green-250":"#6AC8BC","green-300":"#4DBCAF","green-350":"#3CAFA2","green-400":"#2AA194","green-450":"#109487","green-500":"#00867A","green-550":"#00786D","green-600":"#016A60","green-650":"#015D53","green-700":"#005047","green-750":"#00443B","green-800":"#00382F","green-850":"#002C25","green-900":"#041F1A","green-950":"#041310","blue-1-050":"#EAF2F9","blue-1-100":"#D4E4F3","blue-1-150":"#BFD7F0","blue-1-200":"#AAC9EF","blue-1-250":"#96BBF1","blue-1-300":"#82ACF6","blue-1-350":"#709BFE","blue-1-400":"#608BFF","blue-1-450":"#537BFB","blue-1-500":"#476DEC","blue-1-550":"#3C60DD","blue-1-600":"#3252CF","blue-1-650":"#2B48B9","blue-1-700":"#28409B","blue-1-750":"#24397E","blue-1-800":"#223260","blue-1-850":"#1F2A48","blue-1-900":"#191F32","blue-1-950":"#111320","blue-2-050":"#E5F2F3","blue-2-100":"#CDE6EC","blue-2-150":"#B7D9EA","blue-2-200":"#9BCDE7","blue-2-250":"#84C1E0","blue-2-300":"#6BB4D8","blue-2-350":"#5CA6CB","blue-2-400":"#4D99BC","blue-2-450":"#3E8CAE","blue-2-500":"#2F7FA2","blue-2-550":"#1F7295","blue-2-600":"#056688","blue-2-650":"#00597B","blue-2-700":"#004C6C","blue-2-750":"#003F5E","blue-2-800":"#003353","blue-2-850":"#0C273E","blue-2-900":"#0E1C2C","blue-2-950":"#0A121C","purple-050":"#EDF1FA","purple-100":"#DCE2F5","purple-150":"#CCD4F1","purple-200":"#BCC4F0","purple-250":"#ADB6F2","purple-300":"#9EA6F6","purple-350":"#8E95FD","purple-400":"#8083FF","purple-450":"#7173FF","purple-500":"#6665F1","purple-550":"#5B57E2","purple-600":"#5049D4","purple-650":"#4641BC","purple-700":"#3D39A2","purple-750":"#363680","purple-800":"#2E3162","purple-850":"#242848","purple-900":"#1C1E32","purple-950":"#121320","pink-050":"#F8EFF4","pink-100":"#F0DEE9","pink-150":"#EBCDDF","pink-200":"#E7BDD6","pink-250":"#E5A9CC","pink-300":"#E695C0","pink-350":"#EA7CAE","pink-400":"#E4659F","pink-450":"#DD4F93","pink-500":"#CD4085","pink-550":"#BE3279","pink-600":"#AE216D","pink-650":"#9B195D","pink-700":"#86164E","pink-750":"#6E1B3D","pink-800":"#551E31","pink-850":"#3F1C24","pink-900":"#2D161A","pink-950":"#1C0E10","black-000":"#191B2200","black-050":"#191B220D","black-100":"#191B221A","black-150":"#191B2226","black-200":"#191B2233","black-250":"#191B2240","black-300":"#191B224D","black-350":"#191B2259","black-400":"#191B2266","black-450":"#191B2273","black-500":"#191B2280","black-550":"#191B228C","black-600":"#191B2299","black-650":"#191B22A6","black-700":"#191B22B2","black-750":"#191B22BF","black-800":"#191B22CC","black-850":"#191B22D9","black-900":"#191B22E5","black-950":"#0F1115F2","white-000":"#F7F8F800","white-050":"#F7F8F80D","white-100":"#F7F8F81A","white-150":"#F7F8F826","white-200":"#F7F8F833","white-250":"#F7F8F840","white-300":"#F7F8F84D","white-350":"#F7F8F859","white-400":"#F7F8F866","white-450":"#F7F8F873","white-500":"#F7F8F880","white-550":"#F7F8F88C","white-600":"#F7F8F899","white-650":"#F7F8F8A6","white-700":"#F7F8F8B2","white-750":"#F7F8F8BF","white-800":"#F7F8F8CC","white-850":"#F7F8F8D9","white-900":"#F7F8F8E5","white-950":"#F7F8F8F2","white-975":"#F7F8F8F9"},...Xr},Ks=Ti.getThemesFromGlobals(Y2,{overrides:Ai}),u3=Ti.getThemesFromGlobals(X2,{prefix:"dsfr",overrides:Ai}),d3=Ti.getThemesFromGlobals(J2,{prefix:"anct",overrides:Ai}),f3={themes:{default:Ks.light,dark:Ks.dark,...u3,...d3}},al={...f3},js={mobile:parseInt(al.themes.default.globals.breakpoints.mobile.replace("px","")),tablet:parseInt(al.themes.default.globals.breakpoints.tablet.replace("px",""))},Hs=(t,e)=>({isMobile:t<=e.mobile,isTablet:t<=e.tablet,isDesktop:t>e.tablet}),mt=()=>{const[t,e]=u.useState(Hs(window.innerWidth,js));return u.useEffect(()=>{const r=()=>{const n=Hs(window.innerWidth,js);JSON.stringify(n)===JSON.stringify(t)||e(n)};return window.addEventListener("resize",r),()=>{window.removeEventListener("resize",r)}},[t]),t},Q2=u.memo(({apiUrl:t,data:e,...r})=>{const{t:n}=X.useCunningham(),{isMobile:i}=mt(),o=u.useRef(null),l=u.useMemo(()=>r.widgetPath||"https://static.suite.anct.gouv.fr/widgets/lagaufre.js",[r.widgetPath]),a=e!=null&&e.services?void 0:t,s=r.label||n("components.laGaufre.label"),c=r.closeLabel||n("components.laGaufre.closeLabel"),d=r.loadingText||n("components.laGaufre.loadingText"),f=r.newWindowLabelSuffix||n("components.laGaufre.newWindowLabelSuffix"),p=r.background||"",g=r.headerLabel||n("components.laGaufre.headerLabel"),y=r.viewMoreLabel||n("components.laGaufre.viewMoreLabel"),h=r.viewLessLabel||n("components.laGaufre.viewLessLabel");return u.useEffect(()=>{window._lasuite_widget=window._lasuite_widget||[],document.querySelectorAll("#lasuite-widget-lagaufre-shadow").forEach(b=>{var E;return(E=b.parentNode)==null?void 0:E.removeChild(b)}),window._lasuite_widget.push(["lagaufre","init",{...r,api:a,label:s,data:e,closeLabel:c,background:p,showFooter:i,headerLabel:g,headerLogo:n3,loadingText:d,newWindowLabelSuffix:f,viewMoreLabel:y,viewLessLabel:h,buttonElement:o.current,position:()=>{var b,E,C,D;return{position:"absolute",top:(((b=o.current)==null?void 0:b.offsetTop)??0)+(((E=o.current)==null?void 0:E.offsetHeight)??0)+10,right:window.innerWidth-(((C=o.current)==null?void 0:C.offsetLeft)??0)-(((D=o.current)==null?void 0:D.offsetWidth)??0)}}}])},[y,h,c,g,d,a,l]),m.jsxs(m.Fragment,{children:[m.jsx("script",{src:l,id:"lasuite-gaufre-script",async:!0}),m.jsx("div",{children:m.jsx(X.Button,{ref:o,icon:m.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",fill:"none",viewBox:"0 0 18 18",children:[m.jsx("defs",{children:m.jsx("path",{id:"a",fill:"var(--c--contextuals--background--semantic--brand--primary)",d:"M2.796.5c.469 0 .704 0 .892.064.351.12.627.397.748.748.064.188.064.423.064.892v.592c0 .469 0 .704-.064.892-.12.351-.397.627-.748.748-.188.064-.423.064-.892.064h-.592c-.469 0-.704 0-.892-.064a1.2 1.2 0 0 1-.748-.748C.5 3.5.5 3.265.5 2.796v-.592c0-.469 0-.704.064-.892.12-.351.397-.627.748-.748C1.5.5 1.735.5 2.204.5z"})}),m.jsx("use",{href:"#a"}),m.jsx("use",{href:"#a",transform:"translate(6.5)"}),m.jsx("use",{href:"#a",transform:"translate(13)"}),m.jsx("use",{href:"#a",transform:"translate(0 6.5)"}),m.jsx("use",{href:"#a",transform:"translate(6.5 6.5)"}),m.jsx("use",{href:"#a",transform:"translate(13 6.5)"}),m.jsx("use",{href:"#a",transform:"translate(0 13)"}),m.jsx("use",{href:"#a",transform:"translate(6.5 13)"}),m.jsx("use",{href:"#a",transform:"translate(13 13)"})]}),"aria-label":s,variant:"tertiary",className:"lagaufre-button"})})]})});Q2.displayName="LaGaufreV2";var xe=(t=>(t.X_SMALL="xsmall",t.SMALL="small",t.MEDIUM="medium",t.LARGE="large",t.X_LARGE="xlarge",t))(xe||{}),ni=(t=>(t.OUTLINED="outlined",t.FILLED="filled",t))(ni||{});const Jr=({name:t,size:e,className:r,color:n,type:i=ni.FILLED,...o})=>{const l=ye("material-icons",{[`icon--${e}`]:e!==void 0,[`icon--${i}`]:i!==ni.OUTLINED},r),a={color:n,fontSize:typeof e=="number"?`${e}px`:void 0};return m.jsx("span",{className:l,style:a,...o,children:t})},ed={[xe.X_SMALL]:11,[xe.SMALL]:16,[xe.MEDIUM]:24,[xe.LARGE]:32,[xe.X_LARGE]:40},td={[xe.X_SMALL]:16,[xe.SMALL]:24,[xe.MEDIUM]:32,[xe.LARGE]:40,[xe.X_LARGE]:48},h3=t=>td[t]??24,p3=t=>ed[t]??24,rd=({languages:t,onChange:e,size:r,color:n="brand",variant:i="tertiary",fullWidth:o,compact:l=!1})=>{const{isOpen:a,setIsOpen:s}=bt(),c=()=>{const h=t.find(v=>v.isChecked);return(h==null?void 0:h.value)??t[0].value},[d,f]=u.useState(c),p=h=>{f(h),e==null||e(h)},g=u.useMemo(()=>{if(r)switch(r){case"nano":return xe.X_SMALL;case"small":return xe.SMALL;case"medium":return xe.MEDIUM}},[r]);u.useEffect(()=>{f(c)},[t]);const y=u.useMemo(()=>{const h=t.find(v=>v.value===d);return(h==null?void 0:h.shortLabel)??(h==null?void 0:h.label)},[t,d]);return m.jsx(kt,{options:t,isOpen:a,onOpenChange:s,onSelectValue:p,selectedValues:[d],children:m.jsxs(X.Button,{onClick:()=>s(!a),className:"c__language-picker",icon:m.jsx(Jr,{name:a?"arrow_drop_up":"arrow_drop_down"}),iconPosition:"right",size:r,color:l?"neutral":n,variant:i,fullWidth:o,children:[l?null:m.jsx(Jr,{name:"translate",size:g}),m.jsx("span",{className:"c__language-picker__label",children:y})]})})},nd=({leftIcon:t,rightIcon:e,languages:r,onTogglePanel:n,isPanelOpen:i})=>{const{t:o}=X.useCunningham();return m.jsxs("div",{className:"c__header",children:[m.jsx("div",{className:"c__header__toggle-menu",children:m.jsx(X.Button,{size:"medium",onClick:n,"aria-label":o(i?"Close the menu":"Open the menu"),variant:"tertiary",icon:m.jsx("span",{className:"material-icons c__header__toggle-menu__icon",children:i?"close":"menu"})})}),m.jsx("div",{className:"c__header__left",children:t}),m.jsxs("div",{className:"c__header__right",children:[r&&m.jsx("div",{className:"c__header__right__language-picker",children:m.jsx(rd,{languages:r})}),e]})]})},id=({children:t,isOpen:e=!1,hasHeader:r=!0})=>{const{isDesktop:n}=mt();return n?m.jsx("div",{className:ye("c__left-panel",{"has-header":r}),children:t}):m.jsx("div",{className:ye("c__left-panel__mobile",{open:e}),children:t})},{createElement:Cr,createContext:g3,forwardRef:od,useCallback:$e,useContext:ld,useEffect:$t,useImperativeHandle:ad,useLayoutEffect:v3,useMemo:b3,useRef:Te,useState:hr}=T,Vs=T[`useId${Math.random()}`.slice(0,5)],m3=v3,_i=g3(null);_i.displayName="PanelGroupContext";const Pt=m3,y3=typeof Vs=="function"?Vs:()=>null;let C3=0;function aa(t=null){const e=y3(),r=Te(t||e||null);return r.current===null&&(r.current=""+C3++),t??r.current}function sd({children:t,className:e="",collapsedSize:r,collapsible:n,defaultSize:i,forwardedRef:o,id:l,maxSize:a,minSize:s,onCollapse:c,onExpand:d,onResize:f,order:p,style:g,tagName:y="div",...h}){const v=ld(_i);if(v===null)throw Error("Panel components must be rendered within a PanelGroup container");const{collapsePanel:b,expandPanel:E,getPanelSize:C,getPanelStyle:D,groupId:F,isPanelCollapsed:w,reevaluatePanelConstraints:S,registerPanel:M,resizePanel:_,unregisterPanel:V}=v,x=aa(l),N=Te({callbacks:{onCollapse:c,onExpand:d,onResize:f},constraints:{collapsedSize:r,collapsible:n,defaultSize:i,maxSize:a,minSize:s},id:x,idIsFromProps:l!==void 0,order:p});Te({didLogMissingDefaultSizeWarning:!1}),Pt(()=>{const{callbacks:k,constraints:Z}=N.current,A={...Z};N.current.id=x,N.current.idIsFromProps=l!==void 0,N.current.order=p,k.onCollapse=c,k.onExpand=d,k.onResize=f,Z.collapsedSize=r,Z.collapsible=n,Z.defaultSize=i,Z.maxSize=a,Z.minSize=s,(A.collapsedSize!==Z.collapsedSize||A.collapsible!==Z.collapsible||A.maxSize!==Z.maxSize||A.minSize!==Z.minSize)&&S(N.current,A)}),Pt(()=>{const k=N.current;return M(k),()=>{V(k)}},[p,x,M,V]),ad(o,()=>({collapse:()=>{b(N.current)},expand:k=>{E(N.current,k)},getId(){return x},getSize(){return C(N.current)},isCollapsed(){return w(N.current)},isExpanded(){return!w(N.current)},resize:k=>{_(N.current,k)}}),[b,E,C,w,x,_]);const U=D(N.current,i);return Cr(y,{...h,children:t,className:e,id:l,style:{...U,...g},"data-panel":"","data-panel-collapsible":n||void 0,"data-panel-group-id":F,"data-panel-id":x,"data-panel-size":parseFloat(""+U.flexGrow).toFixed(1)})}const sl=od((t,e)=>Cr(sd,{...t,forwardedRef:e}));sd.displayName="Panel";sl.displayName="forwardRef(Panel)";let cl=null,Ft=null;function E3(t,e){if(e){const r=(e&hd)!==0,n=(e&pd)!==0,i=(e&gd)!==0,o=(e&vd)!==0;if(r)return i?"se-resize":o?"ne-resize":"e-resize";if(n)return i?"sw-resize":o?"nw-resize":"w-resize";if(i)return"s-resize";if(o)return"n-resize"}switch(t){case"horizontal":return"ew-resize";case"intersection":return"move";case"vertical":return"ns-resize"}}function w3(){Ft!==null&&(document.head.removeChild(Ft),cl=null,Ft=null)}function ho(t,e){const r=E3(t,e);cl!==r&&(cl=r,Ft===null&&(Ft=document.createElement("style"),document.head.appendChild(Ft)),Ft.innerHTML=`*{cursor: ${r}!important;}`)}function cd(t){return t.type==="keydown"}function ud(t){return t.type.startsWith("pointer")}function dd(t){return t.type.startsWith("mouse")}function ki(t){if(ud(t)){if(t.isPrimary)return{x:t.clientX,y:t.clientY}}else if(dd(t))return{x:t.clientX,y:t.clientY};return{x:1/0,y:1/0}}function D3(){if(typeof matchMedia=="function")return matchMedia("(pointer:coarse)").matches?"coarse":"fine"}function x3(t,e,r){return t.x<e.x+e.width&&t.x+t.width>e.x&&t.y<e.y+e.height&&t.y+t.height>e.y}function S3(t,e){if(t===e)throw new Error("Cannot compare node with itself");const r={a:Ws(t),b:Ws(e)};let n;for(;r.a.at(-1)===r.b.at(-1);)t=r.a.pop(),e=r.b.pop(),n=t;Q(n,"Stacking order can only be calculated for elements with a common ancestor");const i={a:Us(zs(r.a)),b:Us(zs(r.b))};if(i.a===i.b){const o=n.childNodes,l={a:r.a.at(-1),b:r.b.at(-1)};let a=o.length;for(;a--;){const s=o[a];if(s===l.a)return 1;if(s===l.b)return-1}}return Math.sign(i.a-i.b)}const F3=/\b(?:position|zIndex|opacity|transform|webkitTransform|mixBlendMode|filter|webkitFilter|isolation)\b/;function $3(t){var e;const r=getComputedStyle((e=fd(t))!==null&&e!==void 0?e:t).display;return r==="flex"||r==="inline-flex"}function P3(t){const e=getComputedStyle(t);return!!(e.position==="fixed"||e.zIndex!=="auto"&&(e.position!=="static"||$3(t))||+e.opacity<1||"transform"in e&&e.transform!=="none"||"webkitTransform"in e&&e.webkitTransform!=="none"||"mixBlendMode"in e&&e.mixBlendMode!=="normal"||"filter"in e&&e.filter!=="none"||"webkitFilter"in e&&e.webkitFilter!=="none"||"isolation"in e&&e.isolation==="isolate"||F3.test(e.willChange)||e.webkitOverflowScrolling==="touch")}function zs(t){let e=t.length;for(;e--;){const r=t[e];if(Q(r,"Missing node"),P3(r))return r}return null}function Us(t){return t&&Number(getComputedStyle(t).zIndex)||0}function Ws(t){const e=[];for(;t;)e.push(t),t=fd(t);return e}function fd(t){const{parentNode:e}=t;return e&&e instanceof ShadowRoot?e.host:e}const hd=1,pd=2,gd=4,vd=8,T3=D3()==="coarse";let He=[],pr=!1,ut=new Map,Ii=new Map;const Qr=new Set;function A3(t,e,r,n,i){var o;const{ownerDocument:l}=e,a={direction:r,element:e,hitAreaMargins:n,setResizeHandlerState:i},s=(o=ut.get(l))!==null&&o!==void 0?o:0;return ut.set(l,s+1),Qr.add(a),ii(),function(){var d;Ii.delete(t),Qr.delete(a);const f=(d=ut.get(l))!==null&&d!==void 0?d:1;if(ut.set(l,f-1),ii(),f===1&&ut.delete(l),He.includes(a)){const p=He.indexOf(a);p>=0&&He.splice(p,1),ca(),i("up",!0,null)}}}function Zs(t){const{target:e}=t,{x:r,y:n}=ki(t);pr=!0,sa({target:e,x:r,y:n}),ii(),He.length>0&&(oi("down",t),t.preventDefault(),t.stopPropagation())}function Nr(t){const{x:e,y:r}=ki(t);if(pr&&t.buttons===0&&(pr=!1,oi("up",t)),!pr){const{target:n}=t;sa({target:n,x:e,y:r})}oi("move",t),ca(),He.length>0&&t.preventDefault()}function Zt(t){const{target:e}=t,{x:r,y:n}=ki(t);Ii.clear(),pr=!1,He.length>0&&t.preventDefault(),oi("up",t),sa({target:e,x:r,y:n}),ca(),ii()}function sa({target:t,x:e,y:r}){He.splice(0);let n=null;(t instanceof HTMLElement||t instanceof SVGElement)&&(n=t),Qr.forEach(i=>{const{element:o,hitAreaMargins:l}=i,a=o.getBoundingClientRect(),{bottom:s,left:c,right:d,top:f}=a,p=T3?l.coarse:l.fine;if(e>=c-p&&e<=d+p&&r>=f-p&&r<=s+p){if(n!==null&&document.contains(n)&&o!==n&&!o.contains(n)&&!n.contains(o)&&S3(n,o)>0){let y=n,h=!1;for(;y&&!y.contains(o);){if(x3(y.getBoundingClientRect(),a)){h=!0;break}y=y.parentElement}if(h)return}He.push(i)}})}function po(t,e){Ii.set(t,e)}function ca(){let t=!1,e=!1;He.forEach(n=>{const{direction:i}=n;i==="horizontal"?t=!0:e=!0});let r=0;Ii.forEach(n=>{r|=n}),t&&e?ho("intersection",r):t?ho("horizontal",r):e?ho("vertical",r):w3()}function ii(){ut.forEach((t,e)=>{const{body:r}=e;r.removeEventListener("contextmenu",Zt),r.removeEventListener("pointerdown",Zs),r.removeEventListener("pointerleave",Nr),r.removeEventListener("pointermove",Nr)}),window.removeEventListener("pointerup",Zt),window.removeEventListener("pointercancel",Zt),Qr.size>0&&(pr?(He.length>0&&ut.forEach((t,e)=>{const{body:r}=e;t>0&&(r.addEventListener("contextmenu",Zt),r.addEventListener("pointerleave",Nr),r.addEventListener("pointermove",Nr))}),window.addEventListener("pointerup",Zt),window.addEventListener("pointercancel",Zt)):ut.forEach((t,e)=>{const{body:r}=e;t>0&&(r.addEventListener("pointerdown",Zs,{capture:!0}),r.addEventListener("pointermove",Nr))}))}function oi(t,e){Qr.forEach(r=>{const{setResizeHandlerState:n}=r,i=He.includes(r);n(t,i,e)})}function _3(){const[t,e]=hr(0);return $e(()=>e(r=>r+1),[])}function Q(t,e){if(!t)throw console.error(e),Error(e)}const ua=10;function It(t,e,r=ua){return t.toFixed(r)===e.toFixed(r)?0:t>e?1:-1}function Qe(t,e,r=ua){return It(t,e,r)===0}function Ae(t,e,r){return It(t,e,r)===0}function k3(t,e,r){if(t.length!==e.length)return!1;for(let n=0;n<t.length;n++){const i=t[n],o=e[n];if(!Ae(i,o,r))return!1}return!0}function sr({panelConstraints:t,panelIndex:e,size:r}){const n=t[e];Q(n!=null,`Panel constraints not found for index ${e}`);let{collapsedSize:i=0,collapsible:o,maxSize:l=100,minSize:a=0}=n;if(It(r,a)<0)if(o){const s=(i+a)/2;It(r,s)<0?r=i:r=a}else r=a;return r=Math.min(l,r),r=parseFloat(r.toFixed(ua)),r}function Hr({delta:t,initialLayout:e,panelConstraints:r,pivotIndices:n,prevLayout:i,trigger:o}){if(Ae(t,0))return e;const l=[...e],[a,s]=n;Q(a!=null,"Invalid first pivot index"),Q(s!=null,"Invalid second pivot index");let c=0;if(o==="keyboard"){{const f=t<0?s:a,p=r[f];Q(p,`Panel constraints not found for index ${f}`);const{collapsedSize:g=0,collapsible:y,minSize:h=0}=p;if(y){const v=e[f];if(Q(v!=null,`Previous layout not found for panel index ${f}`),Ae(v,g)){const b=h-v;It(b,Math.abs(t))>0&&(t=t<0?0-b:b)}}}{const f=t<0?a:s,p=r[f];Q(p,`No panel constraints found for index ${f}`);const{collapsedSize:g=0,collapsible:y,minSize:h=0}=p;if(y){const v=e[f];if(Q(v!=null,`Previous layout not found for panel index ${f}`),Ae(v,h)){const b=v-g;It(b,Math.abs(t))>0&&(t=t<0?0-b:b)}}}}{const f=t<0?1:-1;let p=t<0?s:a,g=0;for(;;){const h=e[p];Q(h!=null,`Previous layout not found for panel index ${p}`);const b=sr({panelConstraints:r,panelIndex:p,size:100})-h;if(g+=b,p+=f,p<0||p>=r.length)break}const y=Math.min(Math.abs(t),Math.abs(g));t=t<0?0-y:y}{let p=t<0?a:s;for(;p>=0&&p<r.length;){const g=Math.abs(t)-Math.abs(c),y=e[p];Q(y!=null,`Previous layout not found for panel index ${p}`);const h=y-g,v=sr({panelConstraints:r,panelIndex:p,size:h});if(!Ae(y,v)&&(c+=y-v,l[p]=v,c.toPrecision(3).localeCompare(Math.abs(t).toPrecision(3),void 0,{numeric:!0})>=0))break;t<0?p--:p++}}if(k3(i,l))return i;{const f=t<0?s:a,p=e[f];Q(p!=null,`Previous layout not found for panel index ${f}`);const g=p+c,y=sr({panelConstraints:r,panelIndex:f,size:g});if(l[f]=y,!Ae(y,g)){let h=g-y,b=t<0?s:a;for(;b>=0&&b<r.length;){const E=l[b];Q(E!=null,`Previous layout not found for panel index ${b}`);const C=E+h,D=sr({panelConstraints:r,panelIndex:b,size:C});if(Ae(E,D)||(h-=D-E,l[b]=D),Ae(h,0))break;t>0?b--:b++}}}const d=l.reduce((f,p)=>p+f,0);return Ae(d,100)?l:i}function I3({layout:t,panelsArray:e,pivotIndices:r}){let n=0,i=100,o=0,l=0;const a=r[0];Q(a!=null,"No pivot index found"),e.forEach((f,p)=>{const{constraints:g}=f,{maxSize:y=100,minSize:h=0}=g;p===a?(n=h,i=y):(o+=h,l+=y)});const s=Math.min(i,100-o),c=Math.max(n,100-l),d=t[a];return{valueMax:s,valueMin:c,valueNow:d}}function en(t,e=document){return Array.from(e.querySelectorAll(`[data-panel-resize-handle-id][data-panel-group-id="${t}"]`))}function bd(t,e,r=document){const i=en(t,r).findIndex(o=>o.getAttribute("data-panel-resize-handle-id")===e);return i??null}function md(t,e,r){const n=bd(t,e,r);return n!=null?[n,n+1]:[-1,-1]}function yd(t,e=document){var r;if(e instanceof HTMLElement&&(e==null||(r=e.dataset)===null||r===void 0?void 0:r.panelGroupId)==t)return e;const n=e.querySelector(`[data-panel-group][data-panel-group-id="${t}"]`);return n||null}function Oi(t,e=document){const r=e.querySelector(`[data-panel-resize-handle-id="${t}"]`);return r||null}function O3(t,e,r,n=document){var i,o,l,a;const s=Oi(e,n),c=en(t,n),d=s?c.indexOf(s):-1,f=(i=(o=r[d])===null||o===void 0?void 0:o.id)!==null&&i!==void 0?i:null,p=(l=(a=r[d+1])===null||a===void 0?void 0:a.id)!==null&&l!==void 0?l:null;return[f,p]}function N3({committedValuesRef:t,eagerValuesRef:e,groupId:r,layout:n,panelDataArray:i,panelGroupElement:o,setLayout:l}){Te({didWarnAboutMissingResizeHandle:!1}),Pt(()=>{if(!o)return;const a=en(r,o);for(let s=0;s<i.length-1;s++){const{valueMax:c,valueMin:d,valueNow:f}=I3({layout:n,panelsArray:i,pivotIndices:[s,s+1]}),p=a[s];if(p!=null){const g=i[s];Q(g,`No panel data found for index "${s}"`),p.setAttribute("aria-controls",g.id),p.setAttribute("aria-valuemax",""+Math.round(c)),p.setAttribute("aria-valuemin",""+Math.round(d)),p.setAttribute("aria-valuenow",f!=null?""+Math.round(f):"")}}return()=>{a.forEach((s,c)=>{s.removeAttribute("aria-controls"),s.removeAttribute("aria-valuemax"),s.removeAttribute("aria-valuemin"),s.removeAttribute("aria-valuenow")})}},[r,n,i,o]),$t(()=>{if(!o)return;const a=e.current;Q(a,"Eager values not found");const{panelDataArray:s}=a,c=yd(r,o);Q(c!=null,`No group found for id "${r}"`);const d=en(r,o);Q(d,`No resize handles found for group id "${r}"`);const f=d.map(p=>{const g=p.getAttribute("data-panel-resize-handle-id");Q(g,"Resize handle element has no handle id attribute");const[y,h]=O3(r,g,s,o);if(y==null||h==null)return()=>{};const v=b=>{if(!b.defaultPrevented)switch(b.key){case"Enter":{b.preventDefault();const E=s.findIndex(C=>C.id===y);if(E>=0){const C=s[E];Q(C,`No panel data found for index ${E}`);const D=n[E],{collapsedSize:F=0,collapsible:w,minSize:S=0}=C.constraints;if(D!=null&&w){const M=Hr({delta:Ae(D,F)?S-F:F-D,initialLayout:n,panelConstraints:s.map(_=>_.constraints),pivotIndices:md(r,g,o),prevLayout:n,trigger:"keyboard"});n!==M&&l(M)}}break}}};return p.addEventListener("keydown",v),()=>{p.removeEventListener("keydown",v)}});return()=>{f.forEach(p=>p())}},[o,t,e,r,n,i,l])}function Gs(t,e){if(t.length!==e.length)return!1;for(let r=0;r<t.length;r++)if(t[r]!==e[r])return!1;return!0}function Cd(t,e){const r=t==="horizontal",{x:n,y:i}=ki(e);return r?n:i}function M3(t,e,r,n,i){const o=r==="horizontal",l=Oi(e,i);Q(l,`No resize handle element found for id "${e}"`);const a=l.getAttribute("data-panel-group-id");Q(a,"Resize handle element has no group id attribute");let{initialCursorPosition:s}=n;const c=Cd(r,t),d=yd(a,i);Q(d,`No group element found for id "${a}"`);const f=d.getBoundingClientRect(),p=o?f.width:f.height;return(c-s)/p*100}function B3(t,e,r,n,i,o){if(cd(t)){const l=r==="horizontal";let a=0;t.shiftKey?a=100:i!=null?a=i:a=10;let s=0;switch(t.key){case"ArrowDown":s=l?0:a;break;case"ArrowLeft":s=l?-a:0;break;case"ArrowRight":s=l?a:0;break;case"ArrowUp":s=l?0:-a;break;case"End":s=100;break;case"Home":s=-100;break}return s}else return n==null?0:M3(t,e,r,n,o)}function R3({panelDataArray:t}){const e=Array(t.length),r=t.map(o=>o.constraints);let n=0,i=100;for(let o=0;o<t.length;o++){const l=r[o];Q(l,`Panel constraints not found for index ${o}`);const{defaultSize:a}=l;a!=null&&(n++,e[o]=a,i-=a)}for(let o=0;o<t.length;o++){const l=r[o];Q(l,`Panel constraints not found for index ${o}`);const{defaultSize:a}=l;if(a!=null)continue;const s=t.length-n,c=i/s;n++,e[o]=c,i-=c}return e}function Gt(t,e,r){e.forEach((n,i)=>{const o=t[i];Q(o,`Panel data not found for index ${i}`);const{callbacks:l,constraints:a,id:s}=o,{collapsedSize:c=0,collapsible:d}=a,f=r[s];if(f==null||n!==f){r[s]=n;const{onCollapse:p,onExpand:g,onResize:y}=l;y&&y(n,f),d&&(p||g)&&(g&&(f==null||Qe(f,c))&&!Qe(n,c)&&g(),p&&(f==null||!Qe(f,c))&&Qe(n,c)&&p())}})}function wn(t,e){if(t.length!==e.length)return!1;for(let r=0;r<t.length;r++)if(t[r]!=e[r])return!1;return!0}function L3({defaultSize:t,dragState:e,layout:r,panelData:n,panelIndex:i,precision:o=3}){const l=r[i];let a;return l==null?a=t!=null?t.toPrecision(o):"1":n.length===1?a="1":a=l.toPrecision(o),{flexBasis:0,flexGrow:a,flexShrink:1,overflow:"hidden",pointerEvents:e!==null?"none":void 0}}function K3(t,e=10){let r=null;return(...i)=>{r!==null&&clearTimeout(r),r=setTimeout(()=>{t(...i)},e)}}function qs(t){try{if(typeof localStorage<"u")t.getItem=e=>localStorage.getItem(e),t.setItem=(e,r)=>{localStorage.setItem(e,r)};else throw new Error("localStorage not supported in this environment")}catch(e){console.error(e),t.getItem=()=>null,t.setItem=()=>{}}}function Ed(t){return`react-resizable-panels:${t}`}function wd(t){return t.map(e=>{const{constraints:r,id:n,idIsFromProps:i,order:o}=e;return i?n:o?`${o}:${JSON.stringify(r)}`:JSON.stringify(r)}).sort((e,r)=>e.localeCompare(r)).join(",")}function Dd(t,e){try{const r=Ed(t),n=e.getItem(r);if(n){const i=JSON.parse(n);if(typeof i=="object"&&i!=null)return i}}catch{}return null}function j3(t,e,r){var n,i;const o=(n=Dd(t,r))!==null&&n!==void 0?n:{},l=wd(e);return(i=o[l])!==null&&i!==void 0?i:null}function H3(t,e,r,n,i){var o;const l=Ed(t),a=wd(e),s=(o=Dd(t,i))!==null&&o!==void 0?o:{};s[a]={expandToSizes:Object.fromEntries(r.entries()),layout:n};try{i.setItem(l,JSON.stringify(s))}catch(c){console.error(c)}}function Ys({layout:t,panelConstraints:e}){const r=[...t],n=r.reduce((o,l)=>o+l,0);if(r.length!==e.length)throw Error(`Invalid ${e.length} panel layout: ${r.map(o=>`${o}%`).join(", ")}`);if(!Ae(n,100)&&r.length>0)for(let o=0;o<e.length;o++){const l=r[o];Q(l!=null,`No layout data found for index ${o}`);const a=100/n*l;r[o]=a}let i=0;for(let o=0;o<e.length;o++){const l=r[o];Q(l!=null,`No layout data found for index ${o}`);const a=sr({panelConstraints:e,panelIndex:o,size:l});l!=a&&(i+=l-a,r[o]=a)}if(!Ae(i,0))for(let o=0;o<e.length;o++){const l=r[o];Q(l!=null,`No layout data found for index ${o}`);const a=l+i,s=sr({panelConstraints:e,panelIndex:o,size:a});if(l!==s&&(i-=s-l,r[o]=s,Ae(i,0)))break}return r}const V3=100,Vr={getItem:t=>(qs(Vr),Vr.getItem(t)),setItem:(t,e)=>{qs(Vr),Vr.setItem(t,e)}},Xs={};function xd({autoSaveId:t=null,children:e,className:r="",direction:n,forwardedRef:i,id:o=null,onLayout:l=null,keyboardResizeBy:a=null,storage:s=Vr,style:c,tagName:d="div",...f}){const p=aa(o),g=Te(null),[y,h]=hr(null),[v,b]=hr([]),E=_3(),C=Te({}),D=Te(new Map),F=Te(0),w=Te({autoSaveId:t,direction:n,dragState:y,id:p,keyboardResizeBy:a,onLayout:l,storage:s}),S=Te({layout:v,panelDataArray:[],panelDataArrayChanged:!1});Te({didLogIdAndOrderWarning:!1,didLogPanelConstraintsWarning:!1,prevPanelIds:[]}),ad(i,()=>({getId:()=>w.current.id,getLayout:()=>{const{layout:P}=S.current;return P},setLayout:P=>{const{onLayout:B}=w.current,{layout:K,panelDataArray:j}=S.current,H=Ys({layout:P,panelConstraints:j.map(W=>W.constraints)});Gs(K,H)||(b(H),S.current.layout=H,B&&B(H),Gt(j,H,C.current))}}),[]),Pt(()=>{w.current.autoSaveId=t,w.current.direction=n,w.current.dragState=y,w.current.id=p,w.current.onLayout=l,w.current.storage=s}),N3({committedValuesRef:w,eagerValuesRef:S,groupId:p,layout:v,panelDataArray:S.current.panelDataArray,setLayout:b,panelGroupElement:g.current}),$t(()=>{const{panelDataArray:P}=S.current;if(t){if(v.length===0||v.length!==P.length)return;let B=Xs[t];B==null&&(B=K3(H3,V3),Xs[t]=B);const K=[...P],j=new Map(D.current);B(t,K,j,v,s)}},[t,v,s]),$t(()=>{});const M=$e(P=>{const{onLayout:B}=w.current,{layout:K,panelDataArray:j}=S.current;if(P.constraints.collapsible){const H=j.map(ae=>ae.constraints),{collapsedSize:W=0,panelSize:q,pivotIndices:Y}=Ct(j,P,K);if(Q(q!=null,`Panel size not found for panel "${P.id}"`),!Qe(q,W)){D.current.set(P.id,q);const G=or(j,P)===j.length-1?q-W:W-q,te=Hr({delta:G,initialLayout:K,panelConstraints:H,pivotIndices:Y,prevLayout:K,trigger:"imperative-api"});wn(K,te)||(b(te),S.current.layout=te,B&&B(te),Gt(j,te,C.current))}}},[]),_=$e((P,B)=>{const{onLayout:K}=w.current,{layout:j,panelDataArray:H}=S.current;if(P.constraints.collapsible){const W=H.map(de=>de.constraints),{collapsedSize:q=0,panelSize:Y=0,minSize:ae=0,pivotIndices:G}=Ct(H,P,j),te=B??ae;if(Qe(Y,q)){const de=D.current.get(P.id),Re=de!=null&&de>=te?de:te,re=or(H,P)===H.length-1?Y-Re:Re-Y,pe=Hr({delta:re,initialLayout:j,panelConstraints:W,pivotIndices:G,prevLayout:j,trigger:"imperative-api"});wn(j,pe)||(b(pe),S.current.layout=pe,K&&K(pe),Gt(H,pe,C.current))}}},[]),V=$e(P=>{const{layout:B,panelDataArray:K}=S.current,{panelSize:j}=Ct(K,P,B);return Q(j!=null,`Panel size not found for panel "${P.id}"`),j},[]),x=$e((P,B)=>{const{panelDataArray:K}=S.current,j=or(K,P);return L3({defaultSize:B,dragState:y,layout:v,panelData:K,panelIndex:j})},[y,v]),N=$e(P=>{const{layout:B,panelDataArray:K}=S.current,{collapsedSize:j=0,collapsible:H,panelSize:W}=Ct(K,P,B);return Q(W!=null,`Panel size not found for panel "${P.id}"`),H===!0&&Qe(W,j)},[]),U=$e(P=>{const{layout:B,panelDataArray:K}=S.current,{collapsedSize:j=0,collapsible:H,panelSize:W}=Ct(K,P,B);return Q(W!=null,`Panel size not found for panel "${P.id}"`),!H||It(W,j)>0},[]),k=$e(P=>{const{panelDataArray:B}=S.current;B.push(P),B.sort((K,j)=>{const H=K.order,W=j.order;return H==null&&W==null?0:H==null?-1:W==null?1:H-W}),S.current.panelDataArrayChanged=!0,E()},[E]);Pt(()=>{if(S.current.panelDataArrayChanged){S.current.panelDataArrayChanged=!1;const{autoSaveId:P,onLayout:B,storage:K}=w.current,{layout:j,panelDataArray:H}=S.current;let W=null;if(P){const Y=j3(P,H,K);Y&&(D.current=new Map(Object.entries(Y.expandToSizes)),W=Y.layout)}W==null&&(W=R3({panelDataArray:H}));const q=Ys({layout:W,panelConstraints:H.map(Y=>Y.constraints)});Gs(j,q)||(b(q),S.current.layout=q,B&&B(q),Gt(H,q,C.current))}}),Pt(()=>{const P=S.current;return()=>{P.layout=[]}},[]);const Z=$e(P=>{let B=!1;const K=g.current;return K&&window.getComputedStyle(K,null).getPropertyValue("direction")==="rtl"&&(B=!0),function(H){H.preventDefault();const W=g.current;if(!W)return()=>null;const{direction:q,dragState:Y,id:ae,keyboardResizeBy:G,onLayout:te}=w.current,{layout:de,panelDataArray:Re}=S.current,{initialLayout:zt}=Y??{},re=md(ae,P,W);let pe=B3(H,P,q,Y,G,W);const Ut=q==="horizontal";Ut&&B&&(pe=-pe);const Sr=Re.map(C1=>C1.constraints),Fr=Hr({delta:pe,initialLayout:zt??de,panelConstraints:Sr,pivotIndices:re,prevLayout:de,trigger:cd(H)?"keyboard":"mouse-or-touch"}),$a=!wn(de,Fr);(ud(H)||dd(H))&&F.current!=pe&&(F.current=pe,!$a&&pe!==0?Ut?po(P,pe<0?hd:pd):po(P,pe<0?gd:vd):po(P,0)),$a&&(b(Fr),S.current.layout=Fr,te&&te(Fr),Gt(Re,Fr,C.current))}},[]),A=$e((P,B)=>{const{onLayout:K}=w.current,{layout:j,panelDataArray:H}=S.current,W=H.map(de=>de.constraints),{panelSize:q,pivotIndices:Y}=Ct(H,P,j);Q(q!=null,`Panel size not found for panel "${P.id}"`);const G=or(H,P)===H.length-1?q-B:B-q,te=Hr({delta:G,initialLayout:j,panelConstraints:W,pivotIndices:Y,prevLayout:j,trigger:"imperative-api"});wn(j,te)||(b(te),S.current.layout=te,K&&K(te),Gt(H,te,C.current))},[]),O=$e((P,B)=>{const{layout:K,panelDataArray:j}=S.current,{collapsedSize:H=0,collapsible:W}=B,{collapsedSize:q=0,collapsible:Y,maxSize:ae=100,minSize:G=0}=P.constraints,{panelSize:te}=Ct(j,P,K);te!=null&&(W&&Y&&Qe(te,H)?Qe(H,q)||A(P,q):te<G?A(P,G):te>ae&&A(P,ae))},[A]),z=$e((P,B)=>{const{direction:K}=w.current,{layout:j}=S.current;if(!g.current)return;const H=Oi(P,g.current);Q(H,`Drag handle element not found for id "${P}"`);const W=Cd(K,B);h({dragHandleId:P,dragHandleRect:H.getBoundingClientRect(),initialCursorPosition:W,initialLayout:j})},[]),R=$e(()=>{h(null)},[]),I=$e(P=>{const{panelDataArray:B}=S.current,K=or(B,P);K>=0&&(B.splice(K,1),delete C.current[P.id],S.current.panelDataArrayChanged=!0,E())},[E]),L=b3(()=>({collapsePanel:M,direction:n,dragState:y,expandPanel:_,getPanelSize:V,getPanelStyle:x,groupId:p,isPanelCollapsed:N,isPanelExpanded:U,reevaluatePanelConstraints:O,registerPanel:k,registerResizeHandle:Z,resizePanel:A,startDragging:z,stopDragging:R,unregisterPanel:I,panelGroupElement:g.current}),[M,y,n,_,V,x,p,N,U,O,k,Z,A,z,R,I]),$={display:"flex",flexDirection:n==="horizontal"?"row":"column",height:"100%",overflow:"hidden",width:"100%"};return Cr(_i.Provider,{value:L},Cr(d,{...f,children:e,className:r,id:o,ref:g,style:{...$,...c},"data-panel-group":"","data-panel-group-direction":n,"data-panel-group-id":p}))}const Sd=od((t,e)=>Cr(xd,{...t,forwardedRef:e}));xd.displayName="PanelGroup";Sd.displayName="forwardRef(PanelGroup)";function or(t,e){return t.findIndex(r=>r===e||r.id===e.id)}function Ct(t,e,r){const n=or(t,e),o=n===t.length-1?[n-1,n]:[n,n+1],l=r[n];return{...e.constraints,panelSize:l,pivotIndices:o}}function z3({disabled:t,handleId:e,resizeHandler:r,panelGroupElement:n}){$t(()=>{if(t||r==null||n==null)return;const i=Oi(e,n);if(i==null)return;const o=l=>{if(!l.defaultPrevented)switch(l.key){case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"ArrowUp":case"End":case"Home":{l.preventDefault(),r(l);break}case"F6":{l.preventDefault();const a=i.getAttribute("data-panel-group-id");Q(a,`No group element found for id "${a}"`);const s=en(a,n),c=bd(a,e,n);Q(c!==null,`No resize element found for id "${e}"`);const d=l.shiftKey?c>0?c-1:s.length-1:c+1<s.length?c+1:0;s[d].focus();break}}};return i.addEventListener("keydown",o),()=>{i.removeEventListener("keydown",o)}},[n,t,e,r])}function Fd({children:t=null,className:e="",disabled:r=!1,hitAreaMargins:n,id:i,onBlur:o,onDragging:l,onFocus:a,style:s={},tabIndex:c=0,tagName:d="div",...f}){var p,g;const y=Te(null),h=Te({onDragging:l});$t(()=>{h.current.onDragging=l});const v=ld(_i);if(v===null)throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");const{direction:b,groupId:E,registerResizeHandle:C,startDragging:D,stopDragging:F,panelGroupElement:w}=v,S=aa(i),[M,_]=hr("inactive"),[V,x]=hr(!1),[N,U]=hr(null),k=Te({state:M});Pt(()=>{k.current.state=M}),$t(()=>{if(r)U(null);else{const z=C(S);U(()=>z)}},[r,S,C]);const Z=(p=n==null?void 0:n.coarse)!==null&&p!==void 0?p:15,A=(g=n==null?void 0:n.fine)!==null&&g!==void 0?g:5;return $t(()=>{if(r||N==null)return;const z=y.current;return Q(z,"Element ref not attached"),A3(S,z,b,{coarse:Z,fine:A},(I,L,$)=>{if(L)switch(I){case"down":{_("drag"),Q($,'Expected event to be defined for "down" action'),D(S,$);const{onDragging:P}=h.current;P&&P(!0);break}case"move":{const{state:P}=k.current;P!=="drag"&&_("hover"),Q($,'Expected event to be defined for "move" action'),N($);break}case"up":{_("hover"),F();const{onDragging:P}=h.current;P&&P(!1);break}}else _("inactive")})},[Z,b,r,A,C,S,N,D,F]),z3({disabled:r,handleId:S,resizeHandler:N,panelGroupElement:w}),Cr(d,{...f,children:t,className:e,id:i,onBlur:()=>{x(!1),o==null||o()},onFocus:()=>{x(!0),a==null||a()},ref:y,role:"separator",style:{...{touchAction:"none",userSelect:"none"},...s},tabIndex:c,"data-panel-group-direction":b,"data-panel-group-id":E,"data-resize-handle":"","data-resize-handle-active":M==="drag"?"pointer":V?"keyboard":void 0,"data-resize-handle-state":M,"data-panel-resize-handle-enabled":!r,"data-panel-resize-handle-id":S})}Fd.displayName="PanelResizeHandle";const U3=({children:t,isOpen:e})=>{const{isDesktop:r}=mt();return r?m.jsx("div",{className:ye("c__right-panel",{open:e}),children:t}):m.jsx("div",{className:ye("c__right-panel__mobile",{open:e}),children:t})},W3=(t,e,r)=>{const[n,i]=u.useState(typeof e>"u"?t:e),o=l=>{r?r(l):i(l)};return u.useEffect(()=>{r&&typeof e<"u"&&e!==n&&i(e)},[e]),[n,o]},Z3=({icon:t,children:e,hideLeftPanelOnDesktop:r=!1,leftPanelContent:n,rightPanelContent:i,rightHeaderContent:o,languages:l,enableResize:a=!1,rightPanelIsOpen:s=!1,...c})=>{const[d,f]=W3(!1,c.isLeftPanelOpen,c.setIsLeftPanelOpen),{isDesktop:p}=mt(),g=u.useRef(null),[y,h]=u.useState(!1),v=u.useRef(void 0);u.useEffect(()=>{const M=()=>{h(!0),v.current&&clearTimeout(v.current),v.current=window.setTimeout(()=>{h(!1)},150)};return window.addEventListener("resize",M),()=>{window.removeEventListener("resize",M),v.current&&clearTimeout(v.current)}},[]);const b=p?!r:!0,E=p?!r:d,[C,D]=u.useState(Dn(300,p)),[F,w]=u.useState(Dn(450,p)),S=()=>{f(!d)};return u.useEffect(()=>{const M=()=>{const _=Math.round(Dn(300,p)),V=Math.round(Math.min(Dn(450,p),40));D(p?_:0),w(a?V:_)};return M(),window.addEventListener("resize",M),()=>{window.removeEventListener("resize",M)}},[p,a]),m.jsxs("div",{className:ye("c__main-layout",{resizing:y}),children:[m.jsx("div",{className:"c__main-layout__header",children:m.jsx(nd,{onTogglePanel:S,isPanelOpen:d,rightIcon:o,leftIcon:t,languages:l})}),m.jsx("div",{className:"c__main-layout__content",children:m.jsxs(Sd,{autoSaveId:"persistance",direction:"horizontal",children:[b&&m.jsxs(m.Fragment,{children:[m.jsx(sl,{ref:g,order:0,defaultSize:C,minSize:C,maxSize:F,children:m.jsx(id,{isOpen:E,children:n})}),p&&m.jsx(Fd,{className:"border-clr-surface-primary",style:{borderRightWidth:"1px",borderRightStyle:"solid"}})]}),m.jsx(sl,{order:1,children:m.jsxs("div",{className:"c__main-layout__content__center",children:[m.jsx("div",{className:"c__main-layout__content__center__children",children:e}),m.jsx(U3,{isOpen:s,children:i})]})})]})})]})},Dn=(t,e)=>{if(!e)return 0;const r=window.innerWidth;return t/r*100},G3=52,li=({size:t="sm"})=>m.jsx("div",{className:["c__spinner",t].join(" ")}),$d=({children:t,text:e,...r})=>m.jsxs("div",{className:"suite__label__container",children:[m.jsx("label",{...r,children:t}),e&&m.jsx("span",{className:"suite__label__container__description",children:e})]}),q3=({label:t,text:e,labelSide:r="right",children:n})=>m.jsxs("div",{className:ye("c__with-label",{[r]:!0}),children:[m.jsx($d,{children:t,text:e}),n]});var Js=1,Y3=.9,X3=.8,J3=.17,go=.1,vo=.999,Q3=.9999,eg=.99,tg=/[\\\/_+.#"@\[\(\{&]/,rg=/[\\\/_+.#"@\[\(\{&]/g,ng=/[\s-]/,Pd=/[\s-]/g;function ul(t,e,r,n,i,o,l){if(o===e.length)return i===t.length?Js:eg;var a=`${i},${o}`;if(l[a]!==void 0)return l[a];for(var s=n.charAt(o),c=r.indexOf(s,i),d=0,f,p,g,y;c>=0;)f=ul(t,e,r,n,c+1,o+1,l),f>d&&(c===i?f*=Js:tg.test(t.charAt(c-1))?(f*=X3,g=t.slice(i,c-1).match(rg),g&&i>0&&(f*=Math.pow(vo,g.length))):ng.test(t.charAt(c-1))?(f*=Y3,y=t.slice(i,c-1).match(Pd),y&&i>0&&(f*=Math.pow(vo,y.length))):(f*=J3,i>0&&(f*=Math.pow(vo,c-i))),t.charAt(c)!==e.charAt(o)&&(f*=Q3)),(f<go&&r.charAt(c-1)===n.charAt(o+1)||n.charAt(o+1)===n.charAt(o)&&r.charAt(c-1)!==n.charAt(o))&&(p=ul(t,e,r,n,c+1,o+2,l),p*go>f&&(f=p*go)),f>d&&(d=f),c=r.indexOf(s,c+1);return l[a]=d,d}function Qs(t){return t.toLowerCase().replace(Pd," ")}function ig(t,e,r){return t=r&&r.length>0?`${t+" "+r.join(" ")}`:t,ul(t,e,Qs(t),Qs(e),0,0,{})}function ht(t,e,{checkForDefaultPrevented:r=!0}={}){return function(i){if(t==null||t(i),r===!1||!i.defaultPrevented)return e==null?void 0:e(i)}}function e0(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function Td(...t){return e=>{let r=!1;const n=t.map(i=>{const o=e0(i,e);return!r&&typeof o=="function"&&(r=!0),o});if(r)return()=>{for(let i=0;i<n.length;i++){const o=n[i];typeof o=="function"?o():e0(t[i],null)}}}}function Ht(...t){return T.useCallback(Td(...t),t)}function og(t,e){const r=T.createContext(e),n=o=>{const{children:l,...a}=o,s=T.useMemo(()=>a,Object.values(a));return m.jsx(r.Provider,{value:s,children:l})};n.displayName=t+"Provider";function i(o){const l=T.useContext(r);if(l)return l;if(e!==void 0)return e;throw new Error(`\`${o}\` must be used within \`${t}\``)}return[n,i]}function lg(t,e=[]){let r=[];function n(o,l){const a=T.createContext(l),s=r.length;r=[...r,l];const c=f=>{var b;const{scope:p,children:g,...y}=f,h=((b=p==null?void 0:p[t])==null?void 0:b[s])||a,v=T.useMemo(()=>y,Object.values(y));return m.jsx(h.Provider,{value:v,children:g})};c.displayName=o+"Provider";function d(f,p){var h;const g=((h=p==null?void 0:p[t])==null?void 0:h[s])||a,y=T.useContext(g);if(y)return y;if(l!==void 0)return l;throw new Error(`\`${f}\` must be used within \`${o}\``)}return[c,d]}const i=()=>{const o=r.map(l=>T.createContext(l));return function(a){const s=(a==null?void 0:a[t])||o;return T.useMemo(()=>({[`__scope${t}`]:{...a,[t]:s}}),[a,s])}};return i.scopeName=t,[n,ag(i,...e)]}function ag(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(o){const l=n.reduce((a,{useScope:s,scopeName:c})=>{const f=s(o)[`__scope${c}`];return{...a,...f}},{});return T.useMemo(()=>({[`__scope${e.scopeName}`]:l}),[l])}};return r.scopeName=e.scopeName,r}var tn=globalThis!=null&&globalThis.document?T.useLayoutEffect:()=>{},sg=T[" useId ".trim().toString()]||(()=>{}),cg=0;function tt(t){const[e,r]=T.useState(sg());return tn(()=>{r(n=>n??String(cg++))},[t]),e?`radix-${e}`:""}var ug=T[" useInsertionEffect ".trim().toString()]||tn;function dg({prop:t,defaultProp:e,onChange:r=()=>{},caller:n}){const[i,o,l]=fg({defaultProp:e,onChange:r}),a=t!==void 0,s=a?t:i;{const d=T.useRef(t!==void 0);T.useEffect(()=>{const f=d.current;f!==a&&console.warn(`${n} is changing from ${f?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),d.current=a},[a,n])}const c=T.useCallback(d=>{var f;if(a){const p=hg(d)?d(t):d;p!==t&&((f=l.current)==null||f.call(l,p))}else o(d)},[a,t,o,l]);return[s,c]}function fg({defaultProp:t,onChange:e}){const[r,n]=T.useState(t),i=T.useRef(r),o=T.useRef(e);return ug(()=>{o.current=e},[e]),T.useEffect(()=>{var l;i.current!==r&&((l=o.current)==null||l.call(o,r),i.current=r)},[r,i]),[r,n,o]}function hg(t){return typeof t=="function"}function Ad(t){const e=pg(t),r=T.forwardRef((n,i)=>{const{children:o,...l}=n,a=T.Children.toArray(o),s=a.find(vg);if(s){const c=s.props.children,d=a.map(f=>f===s?T.Children.count(c)>1?T.Children.only(null):T.isValidElement(c)?c.props.children:null:f);return m.jsx(e,{...l,ref:i,children:T.isValidElement(c)?T.cloneElement(c,void 0,d):null})}return m.jsx(e,{...l,ref:i,children:o})});return r.displayName=`${t}.Slot`,r}function pg(t){const e=T.forwardRef((r,n)=>{const{children:i,...o}=r;if(T.isValidElement(i)){const l=mg(i),a=bg(o,i.props);return i.type!==T.Fragment&&(a.ref=n?Td(n,l):l),T.cloneElement(i,a)}return T.Children.count(i)>1?T.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var gg=Symbol("radix.slottable");function vg(t){return T.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===gg}function bg(t,e){const r={...e};for(const n in e){const i=t[n],o=e[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...a)=>{const s=o(...a);return i(...a),s}:i&&(r[n]=i):n==="style"?r[n]={...i,...o}:n==="className"&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...t,...r}}function mg(t){var n,i;let e=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(e=(i=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:i.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var yg=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ce=yg.reduce((t,e)=>{const r=Ad(`Primitive.${e}`),n=T.forwardRef((i,o)=>{const{asChild:l,...a}=i,s=l?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),m.jsx(s,{...a,ref:o})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{});function Cg(t,e){t&&E1.flushSync(()=>t.dispatchEvent(e))}function rn(t){const e=T.useRef(t);return T.useEffect(()=>{e.current=t}),T.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}function Eg(t,e=globalThis==null?void 0:globalThis.document){const r=rn(t);T.useEffect(()=>{const n=i=>{i.key==="Escape"&&r(i)};return e.addEventListener("keydown",n,{capture:!0}),()=>e.removeEventListener("keydown",n,{capture:!0})},[r,e])}var wg="DismissableLayer",dl="dismissableLayer.update",Dg="dismissableLayer.pointerDownOutside",xg="dismissableLayer.focusOutside",t0,_d=T.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),kd=T.forwardRef((t,e)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:i,onFocusOutside:o,onInteractOutside:l,onDismiss:a,...s}=t,c=T.useContext(_d),[d,f]=T.useState(null),p=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,g]=T.useState({}),y=Ht(e,S=>f(S)),h=Array.from(c.layers),[v]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),b=h.indexOf(v),E=d?h.indexOf(d):-1,C=c.layersWithOutsidePointerEventsDisabled.size>0,D=E>=b,F=$g(S=>{const M=S.target,_=[...c.branches].some(V=>V.contains(M));!D||_||(i==null||i(S),l==null||l(S),S.defaultPrevented||a==null||a())},p),w=Pg(S=>{const M=S.target;[...c.branches].some(V=>V.contains(M))||(o==null||o(S),l==null||l(S),S.defaultPrevented||a==null||a())},p);return Eg(S=>{E===c.layers.size-1&&(n==null||n(S),!S.defaultPrevented&&a&&(S.preventDefault(),a()))},p),T.useEffect(()=>{if(d)return r&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(t0=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(d)),c.layers.add(d),r0(),()=>{r&&c.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=t0)}},[d,p,r,c]),T.useEffect(()=>()=>{d&&(c.layers.delete(d),c.layersWithOutsidePointerEventsDisabled.delete(d),r0())},[d,c]),T.useEffect(()=>{const S=()=>g({});return document.addEventListener(dl,S),()=>document.removeEventListener(dl,S)},[]),m.jsx(Ce.div,{...s,ref:y,style:{pointerEvents:C?D?"auto":"none":void 0,...t.style},onFocusCapture:ht(t.onFocusCapture,w.onFocusCapture),onBlurCapture:ht(t.onBlurCapture,w.onBlurCapture),onPointerDownCapture:ht(t.onPointerDownCapture,F.onPointerDownCapture)})});kd.displayName=wg;var Sg="DismissableLayerBranch",Fg=T.forwardRef((t,e)=>{const r=T.useContext(_d),n=T.useRef(null),i=Ht(e,n);return T.useEffect(()=>{const o=n.current;if(o)return r.branches.add(o),()=>{r.branches.delete(o)}},[r.branches]),m.jsx(Ce.div,{...t,ref:i})});Fg.displayName=Sg;function $g(t,e=globalThis==null?void 0:globalThis.document){const r=rn(t),n=T.useRef(!1),i=T.useRef(()=>{});return T.useEffect(()=>{const o=a=>{if(a.target&&!n.current){let s=function(){Id(Dg,r,c,{discrete:!0})};const c={originalEvent:a};a.pointerType==="touch"?(e.removeEventListener("click",i.current),i.current=s,e.addEventListener("click",i.current,{once:!0})):s()}else e.removeEventListener("click",i.current);n.current=!1},l=window.setTimeout(()=>{e.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(l),e.removeEventListener("pointerdown",o),e.removeEventListener("click",i.current)}},[e,r]),{onPointerDownCapture:()=>n.current=!0}}function Pg(t,e=globalThis==null?void 0:globalThis.document){const r=rn(t),n=T.useRef(!1);return T.useEffect(()=>{const i=o=>{o.target&&!n.current&&Id(xg,r,{originalEvent:o},{discrete:!1})};return e.addEventListener("focusin",i),()=>e.removeEventListener("focusin",i)},[e,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function r0(){const t=new CustomEvent(dl);document.dispatchEvent(t)}function Id(t,e,r,{discrete:n}){const i=r.originalEvent.target,o=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:r});e&&i.addEventListener(t,e,{once:!0}),n?Cg(i,o):i.dispatchEvent(o)}var bo="focusScope.autoFocusOnMount",mo="focusScope.autoFocusOnUnmount",n0={bubbles:!1,cancelable:!0},Tg="FocusScope",Od=T.forwardRef((t,e)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...l}=t,[a,s]=T.useState(null),c=rn(i),d=rn(o),f=T.useRef(null),p=Ht(e,h=>s(h)),g=T.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;T.useEffect(()=>{if(n){let h=function(C){if(g.paused||!a)return;const D=C.target;a.contains(D)?f.current=D:lt(f.current,{select:!0})},v=function(C){if(g.paused||!a)return;const D=C.relatedTarget;D!==null&&(a.contains(D)||lt(f.current,{select:!0}))},b=function(C){if(document.activeElement===document.body)for(const F of C)F.removedNodes.length>0&&lt(a)};document.addEventListener("focusin",h),document.addEventListener("focusout",v);const E=new MutationObserver(b);return a&&E.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",h),document.removeEventListener("focusout",v),E.disconnect()}}},[n,a,g.paused]),T.useEffect(()=>{if(a){o0.add(g);const h=document.activeElement;if(!a.contains(h)){const b=new CustomEvent(bo,n0);a.addEventListener(bo,c),a.dispatchEvent(b),b.defaultPrevented||(Ag(Ng(Nd(a)),{select:!0}),document.activeElement===h&&lt(a))}return()=>{a.removeEventListener(bo,c),setTimeout(()=>{const b=new CustomEvent(mo,n0);a.addEventListener(mo,d),a.dispatchEvent(b),b.defaultPrevented||lt(h??document.body,{select:!0}),a.removeEventListener(mo,d),o0.remove(g)},0)}}},[a,c,d,g]);const y=T.useCallback(h=>{if(!r&&!n||g.paused)return;const v=h.key==="Tab"&&!h.altKey&&!h.ctrlKey&&!h.metaKey,b=document.activeElement;if(v&&b){const E=h.currentTarget,[C,D]=_g(E);C&&D?!h.shiftKey&&b===D?(h.preventDefault(),r&&lt(C,{select:!0})):h.shiftKey&&b===C&&(h.preventDefault(),r&&lt(D,{select:!0})):b===E&&h.preventDefault()}},[r,n,g.paused]);return m.jsx(Ce.div,{tabIndex:-1,...l,ref:p,onKeyDown:y})});Od.displayName=Tg;function Ag(t,{select:e=!1}={}){const r=document.activeElement;for(const n of t)if(lt(n,{select:e}),document.activeElement!==r)return}function _g(t){const e=Nd(t),r=i0(e,t),n=i0(e.reverse(),t);return[r,n]}function Nd(t){const e=[],r=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const i=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||i?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)e.push(r.currentNode);return e}function i0(t,e){for(const r of t)if(!kg(r,{upTo:e}))return r}function kg(t,{upTo:e}){if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(e!==void 0&&t===e)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1}function Ig(t){return t instanceof HTMLInputElement&&"select"in t}function lt(t,{select:e=!1}={}){if(t&&t.focus){const r=document.activeElement;t.focus({preventScroll:!0}),t!==r&&Ig(t)&&e&&t.select()}}var o0=Og();function Og(){let t=[];return{add(e){const r=t[0];e!==r&&(r==null||r.pause()),t=l0(t,e),t.unshift(e)},remove(e){var r;t=l0(t,e),(r=t[0])==null||r.resume()}}}function l0(t,e){const r=[...t],n=r.indexOf(e);return n!==-1&&r.splice(n,1),r}function Ng(t){return t.filter(e=>e.tagName!=="A")}var Mg="Portal",Md=T.forwardRef((t,e)=>{var a;const{container:r,...n}=t,[i,o]=T.useState(!1);tn(()=>o(!0),[]);const l=r||i&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return l?Rt.createPortal(m.jsx(Ce.div,{...n,ref:e}),l):null});Md.displayName=Mg;function Bg(t,e){return T.useReducer((r,n)=>e[r][n]??r,t)}var Ni=t=>{const{present:e,children:r}=t,n=Rg(e),i=typeof r=="function"?r({present:n.isPresent}):T.Children.only(r),o=Ht(n.ref,Lg(i));return typeof r=="function"||n.isPresent?T.cloneElement(i,{ref:o}):null};Ni.displayName="Presence";function Rg(t){const[e,r]=T.useState(),n=T.useRef(null),i=T.useRef(t),o=T.useRef("none"),l=t?"mounted":"unmounted",[a,s]=Bg(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return T.useEffect(()=>{const c=xn(n.current);o.current=a==="mounted"?c:"none"},[a]),tn(()=>{const c=n.current,d=i.current;if(d!==t){const p=o.current,g=xn(c);t?s("MOUNT"):g==="none"||(c==null?void 0:c.display)==="none"?s("UNMOUNT"):s(d&&p!==g?"ANIMATION_OUT":"UNMOUNT"),i.current=t}},[t,s]),tn(()=>{if(e){let c;const d=e.ownerDocument.defaultView??window,f=g=>{const h=xn(n.current).includes(CSS.escape(g.animationName));if(g.target===e&&h&&(s("ANIMATION_END"),!i.current)){const v=e.style.animationFillMode;e.style.animationFillMode="forwards",c=d.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=v)})}},p=g=>{g.target===e&&(o.current=xn(n.current))};return e.addEventListener("animationstart",p),e.addEventListener("animationcancel",f),e.addEventListener("animationend",f),()=>{d.clearTimeout(c),e.removeEventListener("animationstart",p),e.removeEventListener("animationcancel",f),e.removeEventListener("animationend",f)}}else s("ANIMATION_END")},[e,s]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:T.useCallback(c=>{n.current=c?getComputedStyle(c):null,r(c)},[])}}function xn(t){return(t==null?void 0:t.animationName)||"none"}function Lg(t){var n,i;let e=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(e=(i=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:i.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var yo=0;function Kg(){T.useEffect(()=>{const t=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",t[0]??a0()),document.body.insertAdjacentElement("beforeend",t[1]??a0()),yo++,()=>{yo===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),yo--}},[])}function a0(){const t=document.createElement("span");return t.setAttribute("data-radix-focus-guard",""),t.tabIndex=0,t.style.outline="none",t.style.opacity="0",t.style.position="fixed",t.style.pointerEvents="none",t}var Mn="right-scroll-bar-position",Bn="width-before-scroll-bar",jg="with-scroll-bars-hidden",Hg="--removed-body-scroll-bar-size";function Co(t,e){return typeof t=="function"?t(e):t&&(t.current=e),t}function Vg(t,e){var r=u.useState(function(){return{value:t,callback:e,facade:{get current(){return r.value},set current(n){var i=r.value;i!==n&&(r.value=n,r.callback(n,i))}}}})[0];return r.callback=e,r.facade}var zg=typeof window<"u"?T.useLayoutEffect:T.useEffect,s0=new WeakMap;function Ug(t,e){var r=Vg(null,function(n){return t.forEach(function(i){return Co(i,n)})});return zg(function(){var n=s0.get(r);if(n){var i=new Set(n),o=new Set(t),l=r.current;i.forEach(function(a){o.has(a)||Co(a,null)}),o.forEach(function(a){i.has(a)||Co(a,l)})}s0.set(r,t)},[t]),r}function Wg(t){return t}function Zg(t,e){e===void 0&&(e=Wg);var r=[],n=!1,i={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:t},useMedium:function(o){var l=e(o,n);return r.push(l),function(){r=r.filter(function(a){return a!==l})}},assignSyncMedium:function(o){for(n=!0;r.length;){var l=r;r=[],l.forEach(o)}r={push:function(a){return o(a)},filter:function(){return r}}},assignMedium:function(o){n=!0;var l=[];if(r.length){var a=r;r=[],a.forEach(o),l=r}var s=function(){var d=l;l=[],d.forEach(o)},c=function(){return Promise.resolve().then(s)};c(),r={push:function(d){l.push(d),c()},filter:function(d){return l=l.filter(d),r}}}};return i}function Gg(t){t===void 0&&(t={});var e=Zg(null);return e.options=Ge({async:!0,ssr:!1},t),e}var Bd=function(t){var e=t.sideCar,r=Gc(t,["sideCar"]);if(!e)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=e.read();if(!n)throw new Error("Sidecar medium not found");return T.createElement(n,Ge({},r))};Bd.isSideCarExport=!0;function qg(t,e){return t.useMedium(e),Bd}var Rd=Gg(),Eo=function(){},Mi=T.forwardRef(function(t,e){var r=T.useRef(null),n=T.useState({onScrollCapture:Eo,onWheelCapture:Eo,onTouchMoveCapture:Eo}),i=n[0],o=n[1],l=t.forwardProps,a=t.children,s=t.className,c=t.removeScrollBar,d=t.enabled,f=t.shards,p=t.sideCar,g=t.noRelative,y=t.noIsolation,h=t.inert,v=t.allowPinchZoom,b=t.as,E=b===void 0?"div":b,C=t.gapMode,D=Gc(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),F=p,w=Ug([r,e]),S=Ge(Ge({},D),i);return T.createElement(T.Fragment,null,d&&T.createElement(F,{sideCar:Rd,removeScrollBar:c,shards:f,noRelative:g,noIsolation:y,inert:h,setCallbacks:o,allowPinchZoom:!!v,lockRef:r,gapMode:C}),l?T.cloneElement(T.Children.only(a),Ge(Ge({},S),{ref:w})):T.createElement(E,Ge({},S,{className:s,ref:w}),a))});Mi.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Mi.classNames={fullWidth:Bn,zeroRight:Mn};var Yg=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Xg(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var e=Yg();return e&&t.setAttribute("nonce",e),t}function Jg(t,e){t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}function Qg(t){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(t)}var e7=function(){var t=0,e=null;return{add:function(r){t==0&&(e=Xg())&&(Jg(e,r),Qg(e)),t++},remove:function(){t--,!t&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}},t7=function(){var t=e7();return function(e,r){T.useEffect(function(){return t.add(e),function(){t.remove()}},[e&&r])}},Ld=function(){var t=t7(),e=function(r){var n=r.styles,i=r.dynamic;return t(n,i),null};return e},r7={left:0,top:0,right:0,gap:0},wo=function(t){return parseInt(t||"",10)||0},n7=function(t){var e=window.getComputedStyle(document.body),r=e[t==="padding"?"paddingLeft":"marginLeft"],n=e[t==="padding"?"paddingTop":"marginTop"],i=e[t==="padding"?"paddingRight":"marginRight"];return[wo(r),wo(n),wo(i)]},i7=function(t){if(t===void 0&&(t="margin"),typeof window>"u")return r7;var e=n7(t),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:e[0],top:e[1],right:e[2],gap:Math.max(0,n-r+e[2]-e[0])}},o7=Ld(),gr="data-scroll-locked",l7=function(t,e,r,n){var i=t.left,o=t.top,l=t.right,a=t.gap;return r===void 0&&(r="margin"),`
45
- .`.concat(jg,` {
44
+ */var Ya;function o4(){return Ya||(Ya=1,process.env.NODE_ENV!=="production"&&function(){function t(g,y){return g===y&&(g!==0||1/g===1/y)||g!==g&&y!==y}function e(g,y){d||i.startTransition===void 0||(d=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var h=y();if(!f){var v=y();o(h,v)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),f=!0)}v=l({inst:{value:h,getSnapshot:y}});var m=v[0].inst,C=v[1];return s(function(){m.value=h,m.getSnapshot=y,r(m)&&C({inst:m})},[g,h,y]),a(function(){return r(m)&&C({inst:m}),g(function(){r(m)&&C({inst:m})})},[g]),c(h),h}function r(g){var y=g.getSnapshot;g=g.value;try{var h=y();return!o(g,h)}catch{return!0}}function n(g,y){return y()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var i=u,o=typeof Object.is=="function"?Object.is:t,l=i.useState,a=i.useEffect,s=i.useLayoutEffect,c=i.useDebugValue,d=!1,f=!1,p=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?n:e;to.useSyncExternalStore=i.useSyncExternalStore!==void 0?i.useSyncExternalStore:p,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),to}var Xa;function l4(){return Xa||(Xa=1,process.env.NODE_ENV==="production"?yn.exports=i4():yn.exports=o4()),yn.exports}var Hl=l4();const W2=u.createContext(!1),Yr=u.createContext(null);function xi(t){if(u.useContext(Yr))return t.content;let{collection:r,document:n}=u4(t.createCollection);return u.createElement(u.Fragment,null,u.createElement(O5,null,u.createElement(Yr.Provider,{value:n},t.content)),u.createElement(a4,{render:t.children,collection:r}))}function a4({collection:t,render:e}){return e(t)}function s4(t,e,r){let n=sn(),i=u.useRef(n);i.current=n;let o=u.useCallback(()=>i.current?r():e(),[e,r]);return Hl.useSyncExternalStore(t,o)}const c4=typeof u.useSyncExternalStore=="function"?u.useSyncExternalStore:s4;function u4(t){let[e]=u.useState(()=>new I5((t==null?void 0:t())||new Nl)),r=u.useCallback(l=>e.subscribe(l),[e]),n=u.useCallback(()=>{let l=e.getCollection();return e.isSSR&&e.resetAfterSSR(),l},[e]),i=u.useCallback(()=>(e.isSSR=!0,e.getCollection()),[e]),o=c4(r,n,i);return ne(()=>(e.isMounted=!0,()=>{e.isMounted=!1}),[e]),{collection:o,document:e}}const Xo=u.createContext(null);function d4(t,e,r,n,i,o){let l=u.useCallback(s=>{s==null||s.setProps(e,r,n,o)},[e,r,n,o]),a=u.useContext(Xo);if(a){let s=a.ownerDocument.nodesByProps.get(e);return s||(s=a.ownerDocument.createElement(t),s.setProps(e,r,n,o),a.appendChild(s),a.ownerDocument.updateCollection(),a.ownerDocument.nodesByProps.set(e,s)),i?u.createElement(Xo.Provider,{value:s},i):null}return u.createElement(t,{ref:l},i)}function Si(t,e){let r=({node:i})=>e(i.props,i.props.ref,i),n=u.forwardRef((i,o)=>{let l=u.useContext(qo);if(!u.useContext(W2)){if(e.length>=3)throw new Error(e.name+" cannot be rendered outside a collection.");return e(i,o)}return d4(t,i,o,"children"in i?i.children:null,null,s=>u.createElement(qo.Provider,{value:l},u.createElement(r,{node:s})))});return n.displayName=e.name,n}function f4(t){return I2({...t,addIdAndValue:!0})}const Ja=u.createContext(null);function Vl(t){let e=u.useContext(Ja),r=((e==null?void 0:e.dependencies)||[]).concat(t.dependencies),n=t.idScope||(e==null?void 0:e.idScope),i=f4({...t,idScope:n,dependencies:r});return u.useContext(Yr)&&(i=u.createElement(h4,null,i)),e=u.useMemo(()=>({dependencies:r,idScope:n}),[n,...r]),u.createElement(Ja.Provider,{value:e},i)}function h4({children:t}){let e=u.useContext(Yr),r=u.useMemo(()=>u.createElement(Yr.Provider,{value:null},u.createElement(W2.Provider,{value:!0},t)),[t]);return sn()?u.createElement(Xo.Provider,{value:e},r):Rt.createPortal(r,e)}const p4=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),g4=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function v4(t){if(Intl.Locale){let r=new Intl.Locale(t).maximize(),n=typeof r.getTextInfo=="function"?r.getTextInfo():r.textInfo;if(n)return n.direction==="rtl";if(r.script)return p4.has(r.script)}let e=t.split("-")[0];return g4.has(e)}const b4=Symbol.for("react-aria.i18n.locale");function Z2(){let t=typeof window<"u"&&window[b4]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([t])}catch{t="en-US"}return{locale:t,direction:v4(t)?"rtl":"ltr"}}let Jo=Z2(),Kr=new Set;function Qa(){Jo=Z2();for(let t of Kr)t(Jo)}function m4(){let t=sn(),[e,r]=u.useState(Jo);return u.useEffect(()=>(Kr.size===0&&window.addEventListener("languagechange",Qa),Kr.add(r),()=>{Kr.delete(r),Kr.size===0&&window.removeEventListener("languagechange",Qa)}),[]),t?{locale:"en-US",direction:"ltr"}:e}const y4=u.createContext(null);function Kt(){let t=m4();return u.useContext(y4)||t}var Ge=function(){return Ge=Object.assign||function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},Ge.apply(this,arguments)};function G2(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]]);return r}function C4(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,o;n<i;n++)(o||!(n in e))&&(o||(o=Array.prototype.slice.call(e,0,n)),o[n]=e[n]);return t.concat(o||Array.prototype.slice.call(e))}const E4=Symbol.for("react-aria.i18n.locale"),w4=Symbol.for("react-aria.i18n.strings");let Wt;class Fi{getStringForLocale(e,r){let i=this.getStringsForLocale(r)[e];if(!i)throw new Error(`Could not find intl message ${e} in ${r} locale`);return i}getStringsForLocale(e){let r=this.strings[e];return r||(r=D4(e,this.strings,this.defaultLocale),this.strings[e]=r),r}static getGlobalDictionaryForPackage(e){if(typeof window>"u")return null;let r=window[E4];if(Wt===void 0){let i=window[w4];if(!i)return null;Wt={};for(let o in i)Wt[o]=new Fi({[r]:i[o]},r)}let n=Wt==null?void 0:Wt[e];if(!n)throw new Error(`Strings for package "${e}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return n}constructor(e,r="en-US"){this.strings=Object.fromEntries(Object.entries(e).filter(([,n])=>n)),this.defaultLocale=r}}function D4(t,e,r="en-US"){if(e[t])return e[t];let n=x4(t);if(e[n])return e[n];for(let i in e)if(i.startsWith(n+"-"))return e[i];return e[r]}function x4(t){return Intl.Locale?new Intl.Locale(t).language:t.split("-")[0]}const e0=new Map,t0=new Map;class S4{format(e,r){let n=this.strings.getStringForLocale(e,this.locale);return typeof n=="function"?n(r,this):n}plural(e,r,n="cardinal"){let i=r["="+e];if(i)return typeof i=="function"?i():i;let o=this.locale+":"+n,l=e0.get(o);l||(l=new Intl.PluralRules(this.locale,{type:n}),e0.set(o,l));let a=l.select(e);return i=r[a]||r.other,typeof i=="function"?i():i}number(e){let r=t0.get(this.locale);return r||(r=new Intl.NumberFormat(this.locale),t0.set(this.locale,r)),r.format(e)}select(e,r){let n=e[r]||e.other;return typeof n=="function"?n():n}constructor(e,r){this.locale=e,this.strings=r}}const r0=new WeakMap;function F4(t){let e=r0.get(t);return e||(e=new Fi(t),r0.set(t,e)),e}function $4(t,e){return e&&Fi.getGlobalDictionaryForPackage(e)||F4(t)}function q2(t,e){let{locale:r}=Kt(),n=$4(t,e);return u.useMemo(()=>new S4(r,n),[r,n])}let ro=new Map;function zl(t){let{locale:e}=Kt(),r=e+(t?Object.entries(t).sort((i,o)=>i[0]<o[0]?-1:1).join():"");if(ro.has(r))return ro.get(r);let n=new Intl.Collator(e,t);return ro.set(r,n),n}function P4(t,e){let{elementType:r="button",isDisabled:n,onPress:i,onPressStart:o,onPressEnd:l,onPressUp:a,onPressChange:s,preventFocusOnPress:c,allowFocusWhenDisabled:d,onClick:f,href:p,target:g,rel:y,type:h="button"}=t,v;r==="button"?v={type:h,disabled:n,form:t.form,formAction:t.formAction,formEncType:t.formEncType,formMethod:t.formMethod,formNoValidate:t.formNoValidate,formTarget:t.formTarget,name:t.name,value:t.value}:v={role:"button",href:r==="a"&&!n?p:void 0,target:r==="a"?g:void 0,type:r==="input"?h:void 0,disabled:r==="input"?n:void 0,"aria-disabled":!n||r==="input"?void 0:n,rel:r==="a"?y:void 0};let{pressProps:m,isPressed:C}=Ei({onPressStart:o,onPressEnd:l,onPressChange:s,onPress:i,onPressUp:a,onClick:f,isDisabled:n,preventFocusOnPress:c,ref:e}),{focusableProps:E}=z2(t,e);d&&(E.tabIndex=n?-1:E.tabIndex);let F=ie(E,m,he(t,{labelable:!0}));return{isPressed:C,buttonProps:ie(v,F,{"aria-haspopup":t["aria-haspopup"],"aria-expanded":t["aria-expanded"],"aria-controls":t["aria-controls"],"aria-pressed":t["aria-pressed"],"aria-current":t["aria-current"],"aria-disabled":t["aria-disabled"]})}}const n0=u.createContext(null),Qo="react-aria-focus-scope-restore";let ce=null;function Ul(t){let{children:e,contain:r,restoreFocus:n,autoFocus:i}=t,o=u.useRef(null),l=u.useRef(null),a=u.useRef([]),{parentNode:s}=u.useContext(n0)||{},c=u.useMemo(()=>new tl({scopeRef:a}),[a]);ne(()=>{let p=s||ge.root;if(ge.getTreeNode(p.scopeRef)&&ce&&!Qn(ce,p.scopeRef)){let g=ge.getTreeNode(ce);g&&(p=g)}p.addChild(c),ge.addNode(c)},[c,s]),ne(()=>{let p=ge.getTreeNode(a);p&&(p.contain=!!r)},[r]),ne(()=>{var p;let g=(p=o.current)===null||p===void 0?void 0:p.nextSibling,y=[],h=v=>v.stopPropagation();for(;g&&g!==l.current;)y.push(g),g.addEventListener(Qo,h),g=g.nextSibling;return a.current=y,()=>{for(let v of y)v.removeEventListener(Qo,h)}},[e]),O4(a,n,r),_4(a,r),M4(a,n,r),I4(a,i),u.useEffect(()=>{const p=De(le(a.current?a.current[0]:void 0));let g=null;if(Be(p,a.current)){for(let y of ge.traverse())y.scopeRef&&Be(p,y.scopeRef.current)&&(g=y);g===ge.getTreeNode(a)&&(ce=g.scopeRef)}},[a]),ne(()=>()=>{var p,g,y;let h=(y=(g=ge.getTreeNode(a))===null||g===void 0||(p=g.parent)===null||p===void 0?void 0:p.scopeRef)!==null&&y!==void 0?y:null;(a===ce||Qn(a,ce))&&(!h||ge.getTreeNode(h))&&(ce=h),ge.removeTreeNode(a)},[a]);let d=u.useMemo(()=>A4(a),[]),f=u.useMemo(()=>({focusManager:d,parentNode:c}),[c,d]);return u.createElement(n0.Provider,{value:f},u.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:o}),e,u.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:l}))}function A4(t){return{focusNext(e={}){let r=t.current,{from:n,tabbable:i,wrap:o,accept:l}=e;var a;let s=n||De(le((a=r[0])!==null&&a!==void 0?a:void 0)),c=r[0].previousElementSibling,d=xt(r),f=qe(d,{tabbable:i,accept:l},r);f.currentNode=Be(s,r)?s:c;let p=f.nextNode();return!p&&o&&(f.currentNode=c,p=f.nextNode()),p&&et(p,!0),p},focusPrevious(e={}){let r=t.current,{from:n,tabbable:i,wrap:o,accept:l}=e;var a;let s=n||De(le((a=r[0])!==null&&a!==void 0?a:void 0)),c=r[r.length-1].nextElementSibling,d=xt(r),f=qe(d,{tabbable:i,accept:l},r);f.currentNode=Be(s,r)?s:c;let p=f.previousNode();return!p&&o&&(f.currentNode=c,p=f.previousNode()),p&&et(p,!0),p},focusFirst(e={}){let r=t.current,{tabbable:n,accept:i}=e,o=xt(r),l=qe(o,{tabbable:n,accept:i},r);l.currentNode=r[0].previousElementSibling;let a=l.nextNode();return a&&et(a,!0),a},focusLast(e={}){let r=t.current,{tabbable:n,accept:i}=e,o=xt(r),l=qe(o,{tabbable:n,accept:i},r);l.currentNode=r[r.length-1].nextElementSibling;let a=l.previousNode();return a&&et(a,!0),a}}}function xt(t){return t[0].parentElement}function jr(t){let e=ge.getTreeNode(ce);for(;e&&e.scopeRef!==t;){if(e.contain)return!1;e=e.parent}return!0}function T4(t){if(t.checked)return!0;let e=[];if(!t.form)e=[...le(t).querySelectorAll(`input[type="radio"][name="${CSS.escape(t.name)}"]`)].filter(o=>!o.form);else{var r,n;let o=(n=t.form)===null||n===void 0||(r=n.elements)===null||r===void 0?void 0:r.namedItem(t.name);e=[...o??[]]}return e?!e.some(o=>o.checked):!1}function _4(t,e){let r=u.useRef(void 0),n=u.useRef(void 0);ne(()=>{let i=t.current;if(!e){n.current&&(cancelAnimationFrame(n.current),n.current=void 0);return}const o=le(i?i[0]:void 0);let l=c=>{if(c.key!=="Tab"||c.altKey||c.ctrlKey||c.metaKey||!jr(t)||c.isComposing)return;let d=De(o),f=t.current;if(!f||!Be(d,f))return;let p=xt(f),g=qe(p,{tabbable:!0},f);if(!d)return;g.currentNode=d;let y=c.shiftKey?g.previousNode():g.nextNode();y||(g.currentNode=c.shiftKey?f[f.length-1].nextElementSibling:f[0].previousElementSibling,y=c.shiftKey?g.previousNode():g.nextNode()),c.preventDefault(),y&&et(y,!0)},a=c=>{(!ce||Qn(ce,t))&&Be(oe(c),t.current)?(ce=t,r.current=oe(c)):jr(t)&&!dt(oe(c),t)?r.current?r.current.focus():ce&&ce.current&&el(ce.current):jr(t)&&(r.current=oe(c))},s=c=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{let d=Xn(),f=(d==="virtual"||d===null)&&Tl()&&x2(),p=De(o);if(!f&&p&&jr(t)&&!dt(p,t)){ce=t;let y=oe(c);if(y&&y.isConnected){var g;r.current=y,(g=r.current)===null||g===void 0||g.focus()}else ce.current&&el(ce.current)}})};return o.addEventListener("keydown",l,!1),o.addEventListener("focusin",a,!1),i==null||i.forEach(c=>c.addEventListener("focusin",a,!1)),i==null||i.forEach(c=>c.addEventListener("focusout",s,!1)),()=>{o.removeEventListener("keydown",l,!1),o.removeEventListener("focusin",a,!1),i==null||i.forEach(c=>c.removeEventListener("focusin",a,!1)),i==null||i.forEach(c=>c.removeEventListener("focusout",s,!1))}},[t,e]),ne(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n])}function Y2(t){return dt(t)}function Be(t,e){return!t||!e?!1:e.some(r=>r.contains(t))}function dt(t,e=null){if(t instanceof Element&&t.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:r}of ge.traverse(ge.getTreeNode(e)))if(r&&Be(t,r.current))return!0;return!1}function k4(t){return dt(t,ce)}function Qn(t,e){var r;let n=(r=ge.getTreeNode(e))===null||r===void 0?void 0:r.parent;for(;n;){if(n.scopeRef===t)return!0;n=n.parent}return!1}function et(t,e=!1){if(t!=null&&!e)try{vt(t)}catch{}else if(t!=null)try{t.focus()}catch{}}function X2(t,e=!0){let r=t[0].previousElementSibling,n=xt(t),i=qe(n,{tabbable:e},t);i.currentNode=r;let o=i.nextNode();return e&&!o&&(n=xt(t),i=qe(n,{tabbable:!1},t),i.currentNode=r,o=i.nextNode()),o}function el(t,e=!0){et(X2(t,e))}function I4(t,e){const r=u.useRef(e);u.useEffect(()=>{if(r.current){ce=t;const n=le(t.current?t.current[0]:void 0);!Be(De(n),ce.current)&&t.current&&el(t.current)}r.current=!1},[t])}function O4(t,e,r){ne(()=>{if(e||r)return;let n=t.current;const i=le(n?n[0]:void 0);let o=l=>{let a=oe(l);Be(a,t.current)?ce=t:Y2(a)||(ce=null)};return i.addEventListener("focusin",o,!1),n==null||n.forEach(l=>l.addEventListener("focusin",o,!1)),()=>{i.removeEventListener("focusin",o,!1),n==null||n.forEach(l=>l.removeEventListener("focusin",o,!1))}},[t,e,r])}function i0(t){let e=ge.getTreeNode(ce);for(;e&&e.scopeRef!==t;){if(e.nodeToRestore)return!1;e=e.parent}return(e==null?void 0:e.scopeRef)===t}function M4(t,e,r){const n=u.useRef(typeof document<"u"?De(le(t.current?t.current[0]:void 0)):null);ne(()=>{let i=t.current;const o=le(i?i[0]:void 0);if(!e||r)return;let l=()=>{(!ce||Qn(ce,t))&&Be(De(o),t.current)&&(ce=t)};return o.addEventListener("focusin",l,!1),i==null||i.forEach(a=>a.addEventListener("focusin",l,!1)),()=>{o.removeEventListener("focusin",l,!1),i==null||i.forEach(a=>a.removeEventListener("focusin",l,!1))}},[t,r]),ne(()=>{const i=le(t.current?t.current[0]:void 0);if(!e)return;let o=l=>{if(l.key!=="Tab"||l.altKey||l.ctrlKey||l.metaKey||!jr(t)||l.isComposing)return;let a=i.activeElement;if(!dt(a,t)||!i0(t))return;let s=ge.getTreeNode(t);if(!s)return;let c=s.nodeToRestore,d=qe(i.body,{tabbable:!0});d.currentNode=a;let f=l.shiftKey?d.previousNode():d.nextNode();if((!c||!c.isConnected||c===i.body)&&(c=void 0,s.nodeToRestore=void 0),(!f||!dt(f,t))&&c){d.currentNode=c;do f=l.shiftKey?d.previousNode():d.nextNode();while(dt(f,t));l.preventDefault(),l.stopPropagation(),f?et(f,!0):Y2(c)?et(c,!0):a.blur()}};return r||i.addEventListener("keydown",o,!0),()=>{r||i.removeEventListener("keydown",o,!0)}},[t,e,r]),ne(()=>{const i=le(t.current?t.current[0]:void 0);if(!e)return;let o=ge.getTreeNode(t);if(o){var l;return o.nodeToRestore=(l=n.current)!==null&&l!==void 0?l:void 0,()=>{let a=ge.getTreeNode(t);if(!a)return;let s=a.nodeToRestore,c=De(i);if(e&&s&&(c&&dt(c,t)||c===i.body&&i0(t))){let d=ge.clone();requestAnimationFrame(()=>{if(i.activeElement===i.body){let f=d.getTreeNode(t);for(;f;){if(f.nodeToRestore&&f.nodeToRestore.isConnected){o0(f.nodeToRestore);return}f=f.parent}for(f=d.getTreeNode(t);f;){if(f.scopeRef&&f.scopeRef.current&&ge.getTreeNode(f.scopeRef)){let p=X2(f.scopeRef.current,!0);o0(p);return}f=f.parent}}})}}}},[t,e])}function o0(t){t.dispatchEvent(new CustomEvent(Qo,{bubbles:!0,cancelable:!0}))&&et(t)}function qe(t,e,r){let n=e!=null&&e.tabbable?_5:T2,i=(t==null?void 0:t.nodeType)===Node.ELEMENT_NODE?t:null,o=le(i),l=Xf(o,t||o,NodeFilter.SHOW_ELEMENT,{acceptNode(a){var s;return!(e==null||(s=e.from)===null||s===void 0)&&s.contains(a)||e!=null&&e.tabbable&&a.tagName==="INPUT"&&a.getAttribute("type")==="radio"&&(!T4(a)||l.currentNode.tagName==="INPUT"&&l.currentNode.type==="radio"&&l.currentNode.name===a.name)?NodeFilter.FILTER_REJECT:n(a)&&(!r||Be(a,r))&&(!(e!=null&&e.accept)||e.accept(a))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return e!=null&&e.from&&(l.currentNode=e.from),l}class Wl{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,r,n){let i=this.fastMap.get(r??null);if(!i)return;let o=new tl({scopeRef:e});i.addChild(o),o.parent=i,this.fastMap.set(e,o),n&&(o.nodeToRestore=n)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(e===null)return;let r=this.fastMap.get(e);if(!r)return;let n=r.parent;for(let o of this.traverse())o!==r&&r.nodeToRestore&&o.nodeToRestore&&r.scopeRef&&r.scopeRef.current&&Be(o.nodeToRestore,r.scopeRef.current)&&(o.nodeToRestore=r.nodeToRestore);let i=r.children;n&&(n.removeChild(r),i.size>0&&i.forEach(o=>n&&n.addChild(o))),this.fastMap.delete(r.scopeRef)}*traverse(e=this.root){if(e.scopeRef!=null&&(yield e),e.children.size>0)for(let r of e.children)yield*this.traverse(r)}clone(){var e;let r=new Wl;var n;for(let i of this.traverse())r.addTreeNode(i.scopeRef,(n=(e=i.parent)===null||e===void 0?void 0:e.scopeRef)!==null&&n!==void 0?n:null,i.nodeToRestore);return r}constructor(){this.fastMap=new Map,this.root=new tl({scopeRef:null}),this.fastMap.set(null,this.root)}}class tl{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}}let ge=new Wl;function xr(t={}){let{autoFocus:e=!1,isTextInput:r,within:n}=t,i=u.useRef({isFocused:!1,isFocusVisible:e||mr()}),[o,l]=u.useState(!1),[a,s]=u.useState(()=>i.current.isFocused&&i.current.isFocusVisible),c=u.useCallback(()=>s(i.current.isFocused&&i.current.isFocusVisible),[]),d=u.useCallback(g=>{i.current.isFocused=g,l(g),c()},[c]);J5(g=>{i.current.isFocusVisible=g,c()},[],{isTextInput:r});let{focusProps:f}=jl({isDisabled:n,onFocusChange:d}),{focusWithinProps:p}=Di({isDisabled:!n,onFocusWithinChange:d});return{isFocused:o,isFocusVisible:a,focusProps:n?p:f}}function N4(t,e){let r=e==null?void 0:e.isDisabled,[n,i]=u.useState(!1);return ne(()=>{if(t!=null&&t.current&&!r){let o=()=>{if(t.current){let a=qe(t.current,{tabbable:!0});i(!!a.nextNode())}};o();let l=new MutationObserver(o);return l.observe(t.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{l.disconnect()}}}),r?!1:n}function J2(t){let e=R4(le(t));e!==t&&(e&&B4(e,t),t&&Q2(t,e))}function B4(t,e){t.dispatchEvent(new FocusEvent("blur",{relatedTarget:e})),t.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:e}))}function Q2(t,e){t.dispatchEvent(new FocusEvent("focus",{relatedTarget:e})),t.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:e}))}function R4(t){let e=De(t),r=e==null?void 0:e.getAttribute("aria-activedescendant");return r&&t.getElementById(r)||e}const ec=7e3;let Ue=null;function l0(t,e="assertive",r=ec){Ue?Ue.announce(t,e,r):(Ue=new L4,(typeof IS_REACT_ACT_ENVIRONMENT=="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u")?Ue.announce(t,e,r):setTimeout(()=>{Ue!=null&&Ue.isAttached()&&(Ue==null||Ue.announce(t,e,r))},100))}class L4{isAttached(){var e;return(e=this.node)===null||e===void 0?void 0:e.isConnected}createLog(e){let r=document.createElement("div");return r.setAttribute("role","log"),r.setAttribute("aria-live",e),r.setAttribute("aria-relevant","additions"),r}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(e,r="assertive",n=ec){var i,o;if(!this.node)return;let l=document.createElement("div");typeof e=="object"?(l.setAttribute("role","img"),l.setAttribute("aria-labelledby",e["aria-labelledby"])):l.textContent=e,r==="assertive"?(i=this.assertiveLog)===null||i===void 0||i.appendChild(l):(o=this.politeLog)===null||o===void 0||o.appendChild(l),e!==""&&setTimeout(()=>{l.remove()},n)}clear(e){this.node&&((!e||e==="assertive")&&this.assertiveLog&&(this.assertiveLog.innerHTML=""),(!e||e==="polite")&&this.politeLog&&(this.politeLog.innerHTML=""))}constructor(){this.node=null,this.assertiveLog=null,this.politeLog=null,typeof document<"u"&&(this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node))}}const tc={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},rc={...tc,customError:!0,valid:!1},Ar={isInvalid:!1,validationDetails:tc,validationErrors:[]},K4=u.createContext({}),a0="__formValidationState"+Date.now();function j4(t){if(t[a0]){let{realtimeValidation:e,displayValidation:r,updateValidation:n,resetValidation:i,commitValidation:o}=t[a0];return{realtimeValidation:e,displayValidation:r,updateValidation:n,resetValidation:i,commitValidation:o}}return H4(t)}function H4(t){let{isInvalid:e,validationState:r,name:n,value:i,builtinValidation:o,validate:l,validationBehavior:a="aria"}=t;r&&(e||(e=r==="invalid"));let s=e!==void 0?{isInvalid:e,validationErrors:[],validationDetails:rc}:null,c=u.useMemo(()=>{if(!l||i==null)return null;let H=V4(l,i);return s0(H)},[l,i]);o!=null&&o.validationDetails.valid&&(o=void 0);let d=u.useContext(K4),f=u.useMemo(()=>n?Array.isArray(n)?n.flatMap(H=>rl(d[H])):rl(d[n]):[],[d,n]),[p,g]=u.useState(d),[y,h]=u.useState(!1);d!==p&&(g(d),h(!1));let v=u.useMemo(()=>s0(y?[]:f),[y,f]),m=u.useRef(Ar),[C,E]=u.useState(Ar),F=u.useRef(Ar),D=()=>{if(!x)return;S(!1);let H=c||o||m.current;no(H,F.current)||(F.current=H,E(H))},[x,S]=u.useState(!1);return u.useEffect(D),{realtimeValidation:s||v||c||o||Ar,displayValidation:a==="native"?s||v||C:s||v||c||o||C,updateValidation(H){a==="aria"&&!no(C,H)?E(H):m.current=H},resetValidation(){let H=Ar;no(H,F.current)||(F.current=H,E(H)),a==="native"&&S(!1),h(!0)},commitValidation(){a==="native"&&S(!0),h(!0)}}}function rl(t){return t?Array.isArray(t)?t:[t]:[]}function V4(t,e){if(typeof t=="function"){let r=t(e);if(r&&typeof r!="boolean")return rl(r)}return[]}function s0(t){return t.length?{isInvalid:!0,validationErrors:t,validationDetails:rc}:null}function no(t,e){return t===e?!0:!!t&&!!e&&t.isInvalid===e.isInvalid&&t.validationErrors.length===e.validationErrors.length&&t.validationErrors.every((r,n)=>r===e.validationErrors[n])&&Object.entries(t.validationDetails).every(([r,n])=>e.validationDetails[r]===n)}function z4(t,e,r){let{validationBehavior:n,focus:i}=t;ne(()=>{if(n==="native"&&(r!=null&&r.current)&&!r.current.disabled){let c=e.realtimeValidation.isInvalid?e.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";r.current.setCustomValidity(c),r.current.hasAttribute("title")||(r.current.title=""),e.realtimeValidation.isInvalid||e.updateValidation(W4(r.current))}});let o=u.useRef(!1),l=ve(()=>{o.current||e.resetValidation()}),a=ve(c=>{var d;e.displayValidation.isInvalid||e.commitValidation();let f=r==null||(d=r.current)===null||d===void 0?void 0:d.form;if(!c.defaultPrevented&&r&&f&&Z4(f)===r.current){var p;i?i():(p=r.current)===null||p===void 0||p.focus(),H2("keyboard")}c.preventDefault()}),s=ve(()=>{e.commitValidation()});u.useEffect(()=>{let c=r==null?void 0:r.current;if(!c)return;let d=c.form,f=d==null?void 0:d.reset;return d&&(d.reset=()=>{o.current=!window.event||window.event.type==="message"&&window.event.target instanceof MessagePort,f==null||f.call(d),o.current=!1}),c.addEventListener("invalid",a),c.addEventListener("change",s),d==null||d.addEventListener("reset",l),()=>{c.removeEventListener("invalid",a),c.removeEventListener("change",s),d==null||d.removeEventListener("reset",l),d&&(d.reset=f)}},[r,a,s,l,n])}function U4(t){let e=t.validity;return{badInput:e.badInput,customError:e.customError,patternMismatch:e.patternMismatch,rangeOverflow:e.rangeOverflow,rangeUnderflow:e.rangeUnderflow,stepMismatch:e.stepMismatch,tooLong:e.tooLong,tooShort:e.tooShort,typeMismatch:e.typeMismatch,valueMissing:e.valueMissing,valid:e.valid}}function W4(t){return{isInvalid:!t.validity.valid,validationDetails:U4(t),validationErrors:t.validationMessage?[t.validationMessage]:[]}}function Z4(t){for(let e=0;e<t.elements.length;e++){let r=t.elements[e];if(!r.validity.valid)return r}return null}function nc(t){let{id:e,label:r,"aria-labelledby":n,"aria-label":i,labelElementType:o="label"}=t;e=Se(e);let l=Se(),a={};r?(n=n?`${l} ${n}`:l,a={id:l,htmlFor:o==="label"?e:void 0}):!n&&!i&&process.env.NODE_ENV!=="production"&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let s=mi({id:e,"aria-label":i,"aria-labelledby":n});return{labelProps:a,fieldProps:s}}function G4(t){let{description:e,errorMessage:r,isInvalid:n,validationState:i}=t,{labelProps:o,fieldProps:l}=nc(t),a=ft([!!e,!!r,n,i]),s=ft([!!e,!!r,n,i]);return l=ie(l,{"aria-describedby":[a,s,t["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:o,fieldProps:l,descriptionProps:{id:a},errorMessageProps:{id:s}}}const c0={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function ic(t={}){let{style:e,isFocusable:r}=t,[n,i]=u.useState(!1),{focusWithinProps:o}=Di({isDisabled:!r,onFocusWithinChange:a=>i(a)}),l=u.useMemo(()=>n?e:e?{...c0,...e}:c0,[n]);return{visuallyHiddenProps:{...o,style:l}}}function q4(t){let{children:e,elementType:r="div",isFocusable:n,style:i,...o}=t,{visuallyHiddenProps:l}=ic(t);return u.createElement(r,ie(o,l),e)}const Ye={top:"top",bottom:"top",left:"left",right:"left"},ei={top:"bottom",bottom:"top",left:"right",right:"left"},Y4={top:"left",left:"top"},nl={top:"height",left:"width"},oc={width:"totalWidth",height:"totalHeight"},Cn={};let be=typeof document<"u"?window.visualViewport:null;function u0(t){let e=0,r=0,n=0,i=0,o=0,l=0,a={};var s;let c=((s=be==null?void 0:be.scale)!==null&&s!==void 0?s:1)>1;if(t.tagName==="BODY"){let y=document.documentElement;n=y.clientWidth,i=y.clientHeight;var d;e=(d=be==null?void 0:be.width)!==null&&d!==void 0?d:n;var f;r=(f=be==null?void 0:be.height)!==null&&f!==void 0?f:i,a.top=y.scrollTop||t.scrollTop,a.left=y.scrollLeft||t.scrollLeft,be&&(o=be.offsetTop,l=be.offsetLeft)}else({width:e,height:r,top:o,left:l}=fr(t,!1)),a.top=t.scrollTop,a.left=t.scrollLeft,n=e,i=r;if(Al()&&(t.tagName==="BODY"||t.tagName==="HTML")&&c){a.top=0,a.left=0;var p;o=(p=be==null?void 0:be.pageTop)!==null&&p!==void 0?p:0;var g;l=(g=be==null?void 0:be.pageLeft)!==null&&g!==void 0?g:0}return{width:e,height:r,totalWidth:n,totalHeight:i,scroll:a,top:o,left:l}}function X4(t){return{top:t.scrollTop,left:t.scrollLeft,width:t.scrollWidth,height:t.scrollHeight}}function d0(t,e,r,n,i,o,l){var a;let s=(a=i.scroll[t])!==null&&a!==void 0?a:0,c=n[nl[t]],d=n.scroll[Ye[t]]+o,f=c+n.scroll[Ye[t]]-o,p=e-s+l[t]-n[Ye[t]],g=e-s+r+l[t]-n[Ye[t]];return p<d?d-p:g>f?Math.max(f-g,d-p):0}function J4(t){let e=window.getComputedStyle(t);return{top:parseInt(e.marginTop,10)||0,bottom:parseInt(e.marginBottom,10)||0,left:parseInt(e.marginLeft,10)||0,right:parseInt(e.marginRight,10)||0}}function f0(t){if(Cn[t])return Cn[t];let[e,r]=t.split(" "),n=Ye[e]||"right",i=Y4[n];Ye[r]||(r="center");let o=nl[n],l=nl[i];return Cn[t]={placement:e,crossPlacement:r,axis:n,crossAxis:i,size:o,crossSize:l},Cn[t]}function io(t,e,r,n,i,o,l,a,s,c){let{placement:d,crossPlacement:f,axis:p,crossAxis:g,size:y,crossSize:h}=n,v={};var m;v[g]=(m=t[g])!==null&&m!==void 0?m:0;var C,E,F,D;f==="center"?v[g]+=(((C=t[h])!==null&&C!==void 0?C:0)-((E=r[h])!==null&&E!==void 0?E:0))/2:f!==g&&(v[g]+=((F=t[h])!==null&&F!==void 0?F:0)-((D=r[h])!==null&&D!==void 0?D:0)),v[g]+=o;const x=t[g]-r[h]+s+c,S=t[g]+t[h]-s-c;if(v[g]=zo(v[g],x,S),d===p){const O=a?l[y]:e[oc[y]];v[ei[p]]=Math.floor(O-t[p]+i)}else v[p]=Math.floor(t[p]+t[y]+i);return v}function Q4(t,e,r,n,i,o,l,a){const s=n?r.height:e[oc.height];var c;let d=t.top!=null?r.top+t.top:r.top+(s-((c=t.bottom)!==null&&c!==void 0?c:0)-l);var f,p,g,y,h,v;let m=a!=="top"?Math.max(0,e.height+e.top+((f=e.scroll.top)!==null&&f!==void 0?f:0)-d-(((p=i.top)!==null&&p!==void 0?p:0)+((g=i.bottom)!==null&&g!==void 0?g:0)+o)):Math.max(0,d+l-(e.top+((y=e.scroll.top)!==null&&y!==void 0?y:0))-(((h=i.top)!==null&&h!==void 0?h:0)+((v=i.bottom)!==null&&v!==void 0?v:0)+o));return Math.min(e.height-o*2,m)}function h0(t,e,r,n,i,o){let{placement:l,axis:a,size:s}=o;var c,d;if(l===a)return Math.max(0,r[a]-t[a]-((c=t.scroll[a])!==null&&c!==void 0?c:0)+e[a]-((d=n[a])!==null&&d!==void 0?d:0)-n[ei[a]]-i);var f;return Math.max(0,t[s]+t[a]+t.scroll[a]-e[a]-r[a]-r[s]-((f=n[a])!==null&&f!==void 0?f:0)-n[ei[a]]-i)}function e3(t,e,r,n,i,o,l,a,s,c,d,f,p,g,y,h){let v=f0(t),{size:m,crossAxis:C,crossSize:E,placement:F,crossPlacement:D}=v,x=io(e,a,r,v,d,f,c,p,y,h),S=d,O=h0(a,c,e,i,o+d,v);if(l&&n[m]>O){let V=f0(`${ei[F]} ${D}`),W=io(e,a,r,V,d,f,c,p,y,h);h0(a,c,e,i,o+d,V)>O&&(v=V,x=W,S=d)}let K="bottom";v.axis==="top"?v.placement==="top"?K="top":v.placement==="bottom"&&(K="bottom"):v.crossAxis==="top"&&(v.crossPlacement==="top"?K="bottom":v.crossPlacement==="bottom"&&(K="top"));let H=d0(C,x[C],r[E],a,s,o,c);x[C]+=H;let w=Q4(x,a,c,p,i,o,r.height,K);g&&g<w&&(w=g),r.height=Math.min(r.height,w),x=io(e,a,r,v,S,f,c,p,y,h),H=d0(C,x[C],r[E],a,s,o,c),x[C]+=H;let M={},Z=e[C]-x[C]-i[Ye[C]],_=Z+.5*e[E];const U=y/2+h;var P,k,z,R;const I=Ye[C]==="left"?((P=i.left)!==null&&P!==void 0?P:0)+((k=i.right)!==null&&k!==void 0?k:0):((z=i.top)!==null&&z!==void 0?z:0)+((R=i.bottom)!==null&&R!==void 0?R:0),N=r[E]-I-y/2-h,$=e[C]+y/2-(x[C]+i[Ye[C]]),A=e[C]+e[E]-y/2-(x[C]+i[Ye[C]]),B=zo(_,$,A);M[C]=zo(B,U,N),{placement:F,crossPlacement:D}=v,y?Z=M[C]:D==="right"?Z+=e[E]:D==="center"&&(Z+=e[E]/2);let L=F==="left"||F==="top"?r[m]:0,j={x:F==="top"||F==="bottom"?Z:L,y:F==="left"||F==="right"?Z:L};return{position:x,maxHeight:w,arrowOffsetLeft:M.left,arrowOffsetTop:M.top,placement:F,triggerAnchorPoint:j}}function t3(t){let{placement:e,targetNode:r,overlayNode:n,scrollNode:i,padding:o,shouldFlip:l,boundaryElement:a,offset:s,crossOffset:c,maxHeight:d,arrowSize:f=0,arrowBoundaryOffset:p=0}=t,g=n instanceof HTMLElement?r3(n):document.documentElement,y=g===document.documentElement;const h=window.getComputedStyle(g).position;let v=!!h&&h!=="static",m=y?fr(r,!1):p0(r,g,!1);if(!y){let{marginTop:M,marginLeft:Z}=window.getComputedStyle(r);m.top+=parseInt(M,10)||0,m.left+=parseInt(Z,10)||0}let C=fr(n,!0),E=J4(n);var F,D;C.width+=((F=E.left)!==null&&F!==void 0?F:0)+((D=E.right)!==null&&D!==void 0?D:0);var x,S;C.height+=((x=E.top)!==null&&x!==void 0?x:0)+((S=E.bottom)!==null&&S!==void 0?S:0);let O=X4(i),K=u0(a),H=u0(g),w=a.tagName==="BODY"?fr(g,!1):p0(g,a,!1);return g.tagName==="HTML"&&a.tagName==="BODY"&&(H.scroll.top=0,H.scroll.left=0),e3(e,m,C,O,E,o,l,K,H,w,s,c,v,d,f,p)}function Zl(t,e){let{top:r,left:n,width:i,height:o}=t.getBoundingClientRect();return e&&t instanceof t.ownerDocument.defaultView.HTMLElement&&(i=t.offsetWidth,o=t.offsetHeight),{top:r,left:n,width:i,height:o}}function fr(t,e){let{top:r,left:n,width:i,height:o}=Zl(t,e),{scrollTop:l,scrollLeft:a,clientTop:s,clientLeft:c}=document.documentElement;return{top:r+l-s,left:n+a-c,width:i,height:o}}function p0(t,e,r){let n=window.getComputedStyle(t),i;if(n.position==="fixed")i=Zl(t,r);else{i=fr(t,r);let o=fr(e,r),l=window.getComputedStyle(e);o.top+=(parseInt(l.borderTopWidth,10)||0)-e.scrollTop,o.left+=(parseInt(l.borderLeftWidth,10)||0)-e.scrollLeft,i.top-=o.top,i.left-=o.left}return i.top-=parseInt(n.marginTop,10)||0,i.left-=parseInt(n.marginLeft,10)||0,i}function r3(t){let e=t.offsetParent;if(e&&e===document.body&&window.getComputedStyle(e).position==="static"&&!g0(e)&&(e=document.documentElement),e==null)for(e=t.parentElement;e&&!g0(e);)e=e.parentElement;return e||document.documentElement}function g0(t){let e=window.getComputedStyle(t);return e.transform!=="none"||/transform|perspective/.test(e.willChange)||e.filter!=="none"||e.contain==="paint"||"backdropFilter"in e&&e.backdropFilter!=="none"||"WebkitBackdropFilter"in e&&e.WebkitBackdropFilter!=="none"}const lc=new WeakMap;function n3(t){let{triggerRef:e,isOpen:r,onClose:n}=t;u.useEffect(()=>{if(!r||n===null)return;let i=o=>{let l=o.target;if(!e.current||l instanceof Node&&!l.contains(e.current)||o.target instanceof HTMLInputElement||o.target instanceof HTMLTextAreaElement)return;let a=n||lc.get(e.current);a&&a()};return window.addEventListener("scroll",i,!0),()=>{window.removeEventListener("scroll",i,!0)}},[r,n,e])}let fe=typeof document<"u"?window.visualViewport:null;function i3(t){let{direction:e}=Kt(),{arrowSize:r,targetRef:n,overlayRef:i,arrowRef:o,scrollRef:l=i,placement:a="bottom",containerPadding:s=12,shouldFlip:c=!0,boundaryElement:d=typeof document<"u"?document.body:null,offset:f=0,crossOffset:p=0,shouldUpdatePosition:g=!0,isOpen:y=!0,onClose:h,maxHeight:v,arrowBoundaryOffset:m=0}=t,[C,E]=u.useState(null),F=[g,a,i.current,n.current,o==null?void 0:o.current,l.current,s,c,d,f,p,y,e,v,m,r],D=u.useRef(fe==null?void 0:fe.scale);u.useEffect(()=>{y&&(D.current=fe==null?void 0:fe.scale)},[y]);let x=u.useCallback(()=>{if(g===!1||!y||!i.current||!n.current||!d||(fe==null?void 0:fe.scale)!==D.current)return;let M=null;if(l.current&&l.current.contains(document.activeElement)){var Z;let I=(Z=document.activeElement)===null||Z===void 0?void 0:Z.getBoundingClientRect(),N=l.current.getBoundingClientRect();var _;if(M={type:"top",offset:((_=I==null?void 0:I.top)!==null&&_!==void 0?_:0)-N.top},M.offset>N.height/2){M.type="bottom";var U;M.offset=((U=I==null?void 0:I.bottom)!==null&&U!==void 0?U:0)-N.bottom}}let P=i.current;if(!v&&i.current){var k;P.style.top="0px",P.style.bottom="";var z;P.style.maxHeight=((z=(k=window.visualViewport)===null||k===void 0?void 0:k.height)!==null&&z!==void 0?z:window.innerHeight)+"px"}let R=t3({placement:l3(a,e),overlayNode:i.current,targetNode:n.current,scrollNode:l.current||i.current,padding:s,shouldFlip:c,boundaryElement:d,offset:f,crossOffset:p,maxHeight:v,arrowSize:r??(o!=null&&o.current?Zl(o.current,!0).width:0),arrowBoundaryOffset:m});if(R.position){if(P.style.top="",P.style.bottom="",P.style.left="",P.style.right="",Object.keys(R.position).forEach(I=>P.style[I]=R.position[I]+"px"),P.style.maxHeight=R.maxHeight!=null?R.maxHeight+"px":"",M&&document.activeElement&&l.current){let I=document.activeElement.getBoundingClientRect(),N=l.current.getBoundingClientRect(),$=I[M.type]-N[M.type];l.current.scrollTop+=$-M.offset}E(R)}},F);ne(x,F),o3(x),Ho({ref:i,onResize:x}),Ho({ref:n,onResize:x});let S=u.useRef(!1);ne(()=>{let M,Z=()=>{S.current=!0,clearTimeout(M),M=setTimeout(()=>{S.current=!1},500),x()},_=()=>{S.current&&Z()};return fe==null||fe.addEventListener("resize",Z),fe==null||fe.addEventListener("scroll",_),()=>{fe==null||fe.removeEventListener("resize",Z),fe==null||fe.removeEventListener("scroll",_)}},[x]);let O=u.useCallback(()=>{S.current||h==null||h()},[h,S]);n3({triggerRef:n,isOpen:y,onClose:h&&O});var K,H,w;return{overlayProps:{style:{position:C?"absolute":"fixed",top:C?void 0:0,left:C?void 0:0,zIndex:1e5,...C==null?void 0:C.position,maxHeight:(K=C==null?void 0:C.maxHeight)!==null&&K!==void 0?K:"100vh"}},placement:(H=C==null?void 0:C.placement)!==null&&H!==void 0?H:null,triggerAnchorPoint:(w=C==null?void 0:C.triggerAnchorPoint)!==null&&w!==void 0?w:null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:C==null?void 0:C.arrowOffsetLeft,top:C==null?void 0:C.arrowOffsetTop}},updatePosition:x}}function o3(t){ne(()=>(window.addEventListener("resize",t,!1),()=>{window.removeEventListener("resize",t,!1)}),[t])}function l3(t,e){return e==="rtl"?t.replace("start","right").replace("end","left"):t.replace("start","left").replace("end","right")}const We=[];function a3(t,e){let{onClose:r,shouldCloseOnBlur:n,isOpen:i,isDismissable:o=!1,isKeyboardDismissDisabled:l=!1,shouldCloseOnInteractOutside:a}=t;u.useEffect(()=>{if(i&&!We.includes(e))return We.push(e),()=>{let y=We.indexOf(e);y>=0&&We.splice(y,1)}},[i,e]);let s=()=>{We[We.length-1]===e&&r&&r()},c=y=>{(!a||a(y.target))&&We[We.length-1]===e&&(y.stopPropagation(),y.preventDefault())},d=y=>{(!a||a(y.target))&&(We[We.length-1]===e&&(y.stopPropagation(),y.preventDefault()),s())},f=y=>{y.key==="Escape"&&!l&&!y.nativeEvent.isComposing&&(y.stopPropagation(),y.preventDefault(),s())};r4({ref:e,onInteractOutside:o&&i?d:void 0,onInteractOutsideStart:c});let{focusWithinProps:p}=Di({isDisabled:!n,onBlurWithin:y=>{!y.relatedTarget||k4(y.relatedTarget)||(!a||a(y.relatedTarget))&&(r==null||r())}}),g=y=>{y.target===y.currentTarget&&y.preventDefault()};return{overlayProps:{onKeyDown:f,...p},underlayProps:{onPointerDown:g}}}function s3(t,e,r){let{type:n}=t,{isOpen:i}=e;u.useEffect(()=>{r&&r.current&&lc.set(r.current,e.close)});let o;n==="menu"?o=!0:n==="listbox"&&(o="listbox");let l=Se();return{triggerProps:{"aria-haspopup":o,"aria-expanded":i,"aria-controls":i?l:void 0,onPress:e.toggle},overlayProps:{id:l}}}const oo=typeof document<"u"&&window.visualViewport,c3=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let En=0,lo;function u3(t={}){let{isDisabled:e}=t;ne(()=>{if(!e)return En++,En===1&&(gi()?lo=f3():lo=d3()),()=>{En--,En===0&&lo()}},[e])}function d3(){let t=window.innerWidth-document.documentElement.clientWidth;return pt(t>0&&("scrollbarGutter"in document.documentElement.style?St(document.documentElement,"scrollbarGutter","stable"):St(document.documentElement,"paddingRight",`${t}px`)),St(document.documentElement,"overflow","hidden"))}function f3(){let t,e,r=c=>{t=$2(c.target,!0),!(t===document.documentElement&&t===document.body)&&t instanceof HTMLElement&&window.getComputedStyle(t).overscrollBehavior==="auto"&&(e=St(t,"overscrollBehavior","contain"))},n=c=>{if(!t||t===document.documentElement||t===document.body){c.preventDefault();return}t.scrollHeight===t.clientHeight&&t.scrollWidth===t.clientWidth&&c.preventDefault()},i=()=>{e&&e()},o=c=>{let d=c.target;h3(d)&&(a(),d.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{d.style.transform="",oo&&(oo.height<window.innerHeight?requestAnimationFrame(()=>{v0(d)}):oo.addEventListener("resize",()=>v0(d),{once:!0}))}))},l=null,a=()=>{if(l)return;let c=()=>{window.scrollTo(0,0)},d=window.pageXOffset,f=window.pageYOffset;l=pt(Tr(window,"scroll",c),St(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),St(document.documentElement,"overflow","hidden"),St(document.body,"marginTop",`-${f}px`),()=>{window.scrollTo(d,f)}),window.scrollTo(0,0)},s=pt(Tr(document,"touchstart",r,{passive:!1,capture:!0}),Tr(document,"touchmove",n,{passive:!1,capture:!0}),Tr(document,"touchend",i,{passive:!1,capture:!0}),Tr(document,"focus",o,!0));return()=>{e==null||e(),l==null||l(),s()}}function St(t,e,r){let n=t.style[e];return t.style[e]=r,()=>{t.style[e]=n}}function Tr(t,e,r,n){return t.addEventListener(e,r,n),()=>{t.removeEventListener(e,r,n)}}function v0(t){let e=document.scrollingElement||document.documentElement,r=t;for(;r&&r!==e;){let n=$2(r);if(n!==document.documentElement&&n!==document.body&&n!==r){let i=n.getBoundingClientRect().top,o=r.getBoundingClientRect().top;o>i+r.clientHeight&&(n.scrollTop+=o-i)}r=n.parentElement}}function h3(t){return t instanceof HTMLInputElement&&!c3.has(t.type)||t instanceof HTMLTextAreaElement||t instanceof HTMLElement&&t.isContentEditable}const p3=u.createContext({});function g3(){var t;return(t=u.useContext(p3))!==null&&t!==void 0?t:{}}var ac={};ac={dismiss:"تجاهل"};var sc={};sc={dismiss:"Отхвърляне"};var cc={};cc={dismiss:"Odstranit"};var uc={};uc={dismiss:"Luk"};var dc={};dc={dismiss:"Schließen"};var fc={};fc={dismiss:"Απόρριψη"};var hc={};hc={dismiss:"Dismiss"};var pc={};pc={dismiss:"Descartar"};var gc={};gc={dismiss:"Lõpeta"};var vc={};vc={dismiss:"Hylkää"};var bc={};bc={dismiss:"Rejeter"};var mc={};mc={dismiss:"התעלם"};var yc={};yc={dismiss:"Odbaci"};var Cc={};Cc={dismiss:"Elutasítás"};var Ec={};Ec={dismiss:"Ignora"};var wc={};wc={dismiss:"閉じる"};var Dc={};Dc={dismiss:"무시"};var xc={};xc={dismiss:"Atmesti"};var Sc={};Sc={dismiss:"Nerādīt"};var Fc={};Fc={dismiss:"Lukk"};var $c={};$c={dismiss:"Negeren"};var Pc={};Pc={dismiss:"Zignoruj"};var Ac={};Ac={dismiss:"Descartar"};var Tc={};Tc={dismiss:"Dispensar"};var _c={};_c={dismiss:"Revocare"};var kc={};kc={dismiss:"Пропустить"};var Ic={};Ic={dismiss:"Zrušiť"};var Oc={};Oc={dismiss:"Opusti"};var Mc={};Mc={dismiss:"Odbaci"};var Nc={};Nc={dismiss:"Avvisa"};var Bc={};Bc={dismiss:"Kapat"};var Rc={};Rc={dismiss:"Скасувати"};var Lc={};Lc={dismiss:"取消"};var Kc={};Kc={dismiss:"關閉"};var jc={};jc={"ar-AE":ac,"bg-BG":sc,"cs-CZ":cc,"da-DK":uc,"de-DE":dc,"el-GR":fc,"en-US":hc,"es-ES":pc,"et-EE":gc,"fi-FI":vc,"fr-FR":bc,"he-IL":mc,"hr-HR":yc,"hu-HU":Cc,"it-IT":Ec,"ja-JP":wc,"ko-KR":Dc,"lt-LT":xc,"lv-LV":Sc,"nb-NO":Fc,"nl-NL":$c,"pl-PL":Pc,"pt-BR":Ac,"pt-PT":Tc,"ro-RO":_c,"ru-RU":kc,"sk-SK":Ic,"sl-SI":Oc,"sr-SP":Mc,"sv-SE":Nc,"tr-TR":Bc,"uk-UA":Rc,"zh-CN":Lc,"zh-TW":Kc};function v3(t){return t&&t.__esModule?t.default:t}function b0(t){let{onDismiss:e,...r}=t,n=q2(v3(jc),"@react-aria/overlays"),i=mi(r,n.format("dismiss")),o=()=>{e&&e()};return u.createElement(q4,null,u.createElement("button",{...i,tabIndex:-1,onClick:o,style:{width:1,height:1}}))}const b3=typeof HTMLElement<"u"&&"inert"in HTMLElement.prototype;let _r=new WeakMap,Pe=[];function m3(t,e){let r=_e(t==null?void 0:t[0]),n=e instanceof r.Element?{root:e}:e;var i;let o=(i=n==null?void 0:n.root)!==null&&i!==void 0?i:document.body,l=(n==null?void 0:n.shouldUseInert)&&b3,a=new Set(t),s=new Set,c=h=>l&&h instanceof r.HTMLElement?h.inert:h.getAttribute("aria-hidden")==="true",d=(h,v)=>{l&&h instanceof r.HTMLElement?h.inert=v:v?h.setAttribute("aria-hidden","true"):(h.removeAttribute("aria-hidden"),h instanceof r.HTMLElement&&(h.inert=!1))},f=h=>{for(let E of h.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))a.add(E);let v=E=>{if(s.has(E)||a.has(E)||E.parentElement&&s.has(E.parentElement)&&E.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let F of a)if(E.contains(F))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},m=document.createTreeWalker(h,NodeFilter.SHOW_ELEMENT,{acceptNode:v}),C=v(h);if(C===NodeFilter.FILTER_ACCEPT&&p(h),C!==NodeFilter.FILTER_REJECT){let E=m.nextNode();for(;E!=null;)p(E),E=m.nextNode()}},p=h=>{var v;let m=(v=_r.get(h))!==null&&v!==void 0?v:0;c(h)&&m===0||(m===0&&d(h,!0),s.add(h),_r.set(h,m+1))};Pe.length&&Pe[Pe.length-1].disconnect(),f(o);let g=new MutationObserver(h=>{for(let v of h)if(v.type==="childList"&&![...a,...s].some(m=>m.contains(v.target)))for(let m of v.addedNodes)(m instanceof HTMLElement||m instanceof SVGElement)&&(m.dataset.liveAnnouncer==="true"||m.dataset.reactAriaTopLayer==="true")?a.add(m):m instanceof Element&&f(m)});g.observe(o,{childList:!0,subtree:!0});let y={visibleNodes:a,hiddenNodes:s,observe(){g.observe(o,{childList:!0,subtree:!0})},disconnect(){g.disconnect()}};return Pe.push(y),()=>{g.disconnect();for(let h of s){let v=_r.get(h);v!=null&&(v===1?(d(h,!1),_r.delete(h)):_r.set(h,v-1))}y===Pe[Pe.length-1]?(Pe.pop(),Pe.length&&Pe[Pe.length-1].observe()):Pe.splice(Pe.indexOf(y),1)}}function y3(t){let e=Pe[Pe.length-1];if(e&&!e.visibleNodes.has(t))return e.visibleNodes.add(t),()=>{e.visibleNodes.delete(t)}}function C3(t,e){let{triggerRef:r,popoverRef:n,groupRef:i,isNonModal:o,isKeyboardDismissDisabled:l,shouldCloseOnInteractOutside:a,...s}=t,c=s.trigger==="SubmenuTrigger",{overlayProps:d,underlayProps:f}=a3({isOpen:e.isOpen,onClose:e.close,shouldCloseOnBlur:!0,isDismissable:!o||c,isKeyboardDismissDisabled:l,shouldCloseOnInteractOutside:a},i??n),{overlayProps:p,arrowProps:g,placement:y,triggerAnchorPoint:h}=i3({...s,targetRef:r,overlayRef:n,isOpen:e.isOpen,onClose:o&&!c?e.close:null});return u3({isDisabled:o||!e.isOpen}),u.useEffect(()=>{if(e.isOpen&&n.current){var v,m;return o?y3((v=i==null?void 0:i.current)!==null&&v!==void 0?v:n.current):m3([(m=i==null?void 0:i.current)!==null&&m!==void 0?m:n.current],{shouldUseInert:!0})}},[o,e.isOpen,n,i]),{popoverProps:ie(d,p),arrowProps:g,underlayProps:f,placement:y,triggerAnchorPoint:h}}const Hc=u.createContext(null);function m0(t){let e=sn(),{portalContainer:r=e?null:document.body,isExiting:n}=t,[i,o]=u.useState(!1),l=u.useMemo(()=>({contain:i,setContain:o}),[i,o]),{getContainer:a}=g3();if(!t.portalContainer&&a&&(r=a()),!r)return null;let s=t.children;return t.disableFocusManagement||(s=u.createElement(Ul,{restoreFocus:!0,contain:(t.shouldContainFocus||i)&&!n},s)),s=u.createElement(Hc.Provider,{value:l},u.createElement(e4,null,s)),Rt.createPortal(s,r)}function E3(){let t=u.useContext(Hc),e=t==null?void 0:t.setContain;ne(()=>{e==null||e(!0)},[e])}const Gl=new WeakMap;function w3(t){return typeof t=="string"?t.replace(/\s*/g,""):""+t}function D3(t,e){let r=Gl.get(t);if(!r)throw new Error("Unknown list");return`${r.id}-option-${w3(e)}`}function il(t){return a5()?t.altKey:t.ctrlKey}function Mn(t,e){var r,n;let i=`[data-key="${CSS.escape(String(e))}"]`,o=(r=t.current)===null||r===void 0?void 0:r.dataset.collection;return o&&(i=`[data-collection="${CSS.escape(o)}"]${i}`),(n=t.current)===null||n===void 0?void 0:n.querySelector(i)}const Vc=new WeakMap;function x3(t){let e=Se();return Vc.set(t,e),e}function S3(t){return Vc.get(t)}const F3=1e3;function zc(t){let{keyboardDelegate:e,selectionManager:r,onTypeSelect:n}=t,i=u.useRef({search:"",timeout:void 0}).current,o=l=>{let a=$3(l.key);if(!(!a||l.ctrlKey||l.metaKey||!l.currentTarget.contains(l.target)||i.search.length===0&&a===" ")){if(a===" "&&i.search.trim().length>0&&(l.preventDefault(),"continuePropagation"in l||l.stopPropagation()),i.search+=a,e.getKeyForSearch!=null){let s=e.getKeyForSearch(i.search,r.focusedKey);s==null&&(s=e.getKeyForSearch(i.search)),s!=null&&(r.setFocusedKey(s),n&&n(s))}clearTimeout(i.timeout),i.timeout=setTimeout(()=>{i.search=""},F3)}};return{typeSelectProps:{onKeyDownCapture:e.getKeyForSearch?o:void 0}}}function $3(t){return t.length===1||!/^[A-Z]/i.test(t)?t:""}function Uc(t){let{selectionManager:e,keyboardDelegate:r,ref:n,autoFocus:i=!1,shouldFocusWrap:o=!1,disallowEmptySelection:l=!1,disallowSelectAll:a=!1,escapeKeyBehavior:s="clearSelection",selectOnFocus:c=e.selectionBehavior==="replace",disallowTypeAhead:d=!1,shouldUseVirtualFocus:f,allowsTabNavigation:p=!1,isVirtualized:g,scrollRef:y=n,linkBehavior:h="action"}=t,{direction:v}=Kt(),m=vi(),C=k=>{var z;if(k.altKey&&k.key==="Tab"&&k.preventDefault(),!(!((z=n.current)===null||z===void 0)&&z.contains(k.target)))return;const R=(G,te)=>{if(G!=null){if(e.isLink(G)&&h==="selection"&&c&&!il(k)){Rt.flushSync(()=>{e.setFocusedKey(G,te)});let de=Mn(n,G),Re=e.getItemProps(G);de&&m.open(de,k,Re.href,Re.routerOptions);return}if(e.setFocusedKey(G,te),e.isLink(G)&&h==="override")return;k.shiftKey&&e.selectionMode==="multiple"?e.extendSelection(G):c&&!il(k)&&e.replaceSelection(G)}};switch(k.key){case"ArrowDown":if(r.getKeyBelow){var I,N,$;let G=e.focusedKey!=null?(I=r.getKeyBelow)===null||I===void 0?void 0:I.call(r,e.focusedKey):(N=r.getFirstKey)===null||N===void 0?void 0:N.call(r);G==null&&o&&(G=($=r.getFirstKey)===null||$===void 0?void 0:$.call(r,e.focusedKey)),G!=null&&(k.preventDefault(),R(G))}break;case"ArrowUp":if(r.getKeyAbove){var A,B,L;let G=e.focusedKey!=null?(A=r.getKeyAbove)===null||A===void 0?void 0:A.call(r,e.focusedKey):(B=r.getLastKey)===null||B===void 0?void 0:B.call(r);G==null&&o&&(G=(L=r.getLastKey)===null||L===void 0?void 0:L.call(r,e.focusedKey)),G!=null&&(k.preventDefault(),R(G))}break;case"ArrowLeft":if(r.getKeyLeftOf){var j,V,W;let G=e.focusedKey!=null?(j=r.getKeyLeftOf)===null||j===void 0?void 0:j.call(r,e.focusedKey):null;G==null&&o&&(G=v==="rtl"?(V=r.getFirstKey)===null||V===void 0?void 0:V.call(r,e.focusedKey):(W=r.getLastKey)===null||W===void 0?void 0:W.call(r,e.focusedKey)),G!=null&&(k.preventDefault(),R(G,v==="rtl"?"first":"last"))}break;case"ArrowRight":if(r.getKeyRightOf){var q,Y,ae;let G=e.focusedKey!=null?(q=r.getKeyRightOf)===null||q===void 0?void 0:q.call(r,e.focusedKey):null;G==null&&o&&(G=v==="rtl"?(Y=r.getLastKey)===null||Y===void 0?void 0:Y.call(r,e.focusedKey):(ae=r.getFirstKey)===null||ae===void 0?void 0:ae.call(r,e.focusedKey)),G!=null&&(k.preventDefault(),R(G,v==="rtl"?"last":"first"))}break;case"Home":if(r.getFirstKey){if(e.focusedKey===null&&k.shiftKey)return;k.preventDefault();let G=r.getFirstKey(e.focusedKey,ir(k));e.setFocusedKey(G),G!=null&&(ir(k)&&k.shiftKey&&e.selectionMode==="multiple"?e.extendSelection(G):c&&e.replaceSelection(G))}break;case"End":if(r.getLastKey){if(e.focusedKey===null&&k.shiftKey)return;k.preventDefault();let G=r.getLastKey(e.focusedKey,ir(k));e.setFocusedKey(G),G!=null&&(ir(k)&&k.shiftKey&&e.selectionMode==="multiple"?e.extendSelection(G):c&&e.replaceSelection(G))}break;case"PageDown":if(r.getKeyPageBelow&&e.focusedKey!=null){let G=r.getKeyPageBelow(e.focusedKey);G!=null&&(k.preventDefault(),R(G))}break;case"PageUp":if(r.getKeyPageAbove&&e.focusedKey!=null){let G=r.getKeyPageAbove(e.focusedKey);G!=null&&(k.preventDefault(),R(G))}break;case"a":ir(k)&&e.selectionMode==="multiple"&&a!==!0&&(k.preventDefault(),e.selectAll());break;case"Escape":s==="clearSelection"&&!l&&e.selectedKeys.size!==0&&(k.stopPropagation(),k.preventDefault(),e.clearSelection());break;case"Tab":if(!p){if(k.shiftKey)n.current.focus();else{let G=qe(n.current,{tabbable:!0}),te,de;do de=G.lastChild(),de&&(te=de);while(de);te&&!te.contains(document.activeElement)&&Ve(te)}break}}},E=u.useRef({top:0,left:0});pn(y,"scroll",g?void 0:()=>{var k,z,R,I;E.current={top:(R=(k=y.current)===null||k===void 0?void 0:k.scrollTop)!==null&&R!==void 0?R:0,left:(I=(z=y.current)===null||z===void 0?void 0:z.scrollLeft)!==null&&I!==void 0?I:0}});let F=k=>{if(e.isFocused){k.currentTarget.contains(k.target)||e.setFocused(!1);return}if(k.currentTarget.contains(k.target)){if(e.setFocused(!0),e.focusedKey==null){var z,R;let $=B=>{B!=null&&(e.setFocusedKey(B),c&&!e.isSelected(B)&&e.replaceSelection(B))},A=k.relatedTarget;var I,N;A&&k.currentTarget.compareDocumentPosition(A)&Node.DOCUMENT_POSITION_FOLLOWING?$((I=e.lastSelectedKey)!==null&&I!==void 0?I:(z=r.getLastKey)===null||z===void 0?void 0:z.call(r)):$((N=e.firstSelectedKey)!==null&&N!==void 0?N:(R=r.getFirstKey)===null||R===void 0?void 0:R.call(r))}else!g&&y.current&&(y.current.scrollTop=E.current.top,y.current.scrollLeft=E.current.left);if(e.focusedKey!=null&&y.current){let $=Mn(n,e.focusedKey);$ instanceof HTMLElement&&(!$.contains(document.activeElement)&&!f&&Ve($),Xn()==="keyboard"&&Na($,{containingElement:n.current}))}}},D=k=>{k.currentTarget.contains(k.relatedTarget)||e.setFocused(!1)},x=u.useRef(!1);pn(n,D5,f?k=>{let{detail:z}=k;k.stopPropagation(),e.setFocused(!0),(z==null?void 0:z.focusStrategy)==="first"&&(x.current=!0)}:void 0);let S=ve(()=>{var k,z;let R=(z=(k=r.getFirstKey)===null||k===void 0?void 0:k.call(r))!==null&&z!==void 0?z:null;if(R==null){let I=De();J2(n.current),Q2(I,null),e.collection.size>0&&(x.current=!1)}else e.setFocusedKey(R),x.current=!1});Oa(()=>{x.current&&S()},[e.collection,S]);let O=ve(()=>{e.collection.size>0&&(x.current=!1)});Oa(()=>{O()},[e.focusedKey,O]),pn(n,w5,f?k=>{var z;k.stopPropagation(),e.setFocused(!1),!((z=k.detail)===null||z===void 0)&&z.clearFocusKey&&e.setFocusedKey(null)}:void 0);const K=u.useRef(i),H=u.useRef(!1);u.useEffect(()=>{if(K.current){var k,z;let N=null;var R;i==="first"&&(N=(R=(k=r.getFirstKey)===null||k===void 0?void 0:k.call(r))!==null&&R!==void 0?R:null);var I;i==="last"&&(N=(I=(z=r.getLastKey)===null||z===void 0?void 0:z.call(r))!==null&&I!==void 0?I:null);let $=e.selectedKeys;if($.size){for(let A of $)if(e.canSelectItem(A)){N=A;break}}e.setFocused(!0),e.setFocusedKey(N),N==null&&!f&&n.current&&vt(n.current),e.collection.size>0&&(K.current=!1,H.current=!0)}});let w=u.useRef(e.focusedKey),M=u.useRef(null);u.useEffect(()=>{if(e.isFocused&&e.focusedKey!=null&&(e.focusedKey!==w.current||H.current)&&y.current&&n.current){let k=Xn(),z=Mn(n,e.focusedKey);if(!(z instanceof HTMLElement))return;(k==="keyboard"||H.current)&&(M.current&&cancelAnimationFrame(M.current),M.current=requestAnimationFrame(()=>{y.current&&(P2(y.current,z),k!=="virtual"&&Na(z,{containingElement:n.current}))}))}!f&&e.isFocused&&e.focusedKey==null&&w.current!=null&&n.current&&vt(n.current),w.current=e.focusedKey,H.current=!1}),u.useEffect(()=>()=>{M.current&&cancelAnimationFrame(M.current)},[]),pn(n,"react-aria-focus-scope-restore",k=>{k.preventDefault(),e.setFocused(!0)});let Z={onKeyDown:C,onFocus:F,onBlur:D,onMouseDown(k){y.current===k.target&&k.preventDefault()}},{typeSelectProps:_}=zc({keyboardDelegate:r,selectionManager:e});d||(Z=ie(_,Z));let U;f||(U=e.focusedKey==null?0:-1);let P=x3(e.collection);return{collectionProps:ie(Z,{tabIndex:U,"data-collection":P})}}function ql(t){let{id:e,selectionManager:r,key:n,ref:i,shouldSelectOnPressUp:o,shouldUseVirtualFocus:l,focus:a,isDisabled:s,onAction:c,allowsDifferentPressOrigin:d,linkBehavior:f="action"}=t,p=vi();e=Se(e);let g=R=>{if(R.pointerType==="keyboard"&&il(R))r.toggleSelection(n);else{if(r.selectionMode==="none")return;if(r.isLink(n)){if(f==="selection"&&i.current){let I=r.getItemProps(n);p.open(i.current,R,I.href,I.routerOptions),r.setSelectedKeys(r.selectedKeys);return}else if(f==="override"||f==="none")return}r.selectionMode==="single"?r.isSelected(n)&&!r.disallowEmptySelection?r.toggleSelection(n):r.replaceSelection(n):R&&R.shiftKey?r.extendSelection(n):r.selectionBehavior==="toggle"||R&&(ir(R)||R.pointerType==="touch"||R.pointerType==="virtual")?r.toggleSelection(n):r.replaceSelection(n)}};u.useEffect(()=>{n===r.focusedKey&&r.isFocused&&(l?J2(i.current):a?a():document.activeElement!==i.current&&i.current&&vt(i.current))},[i,n,r.focusedKey,r.childFocusStrategy,r.isFocused,l]),s=s||r.isDisabled(n);let y={};!l&&!s?y={tabIndex:n===r.focusedKey?0:-1,onFocus(R){R.target===i.current&&r.setFocusedKey(n)}}:s&&(y.onMouseDown=R=>{R.preventDefault()});let h=r.isLink(n)&&f==="override",v=r.isLink(n)&&f!=="selection"&&f!=="none",m=!s&&r.canSelectItem(n)&&!h,C=(c||v)&&!s,E=C&&(r.selectionBehavior==="replace"?!m:!m||r.isEmpty),F=C&&m&&r.selectionBehavior==="replace",D=E||F,x=u.useRef(null),S=D&&m,O=u.useRef(!1),K=u.useRef(!1),H=r.getItemProps(n),w=R=>{c&&c(),v&&i.current&&p.open(i.current,R,H.href,H.routerOptions)},M={ref:i};if(o?(M.onPressStart=R=>{x.current=R.pointerType,O.current=S,R.pointerType==="keyboard"&&(!D||C0())&&g(R)},d?(M.onPressUp=E?void 0:R=>{R.pointerType==="mouse"&&m&&g(R)},M.onPress=E?w:R=>{R.pointerType!=="keyboard"&&R.pointerType!=="mouse"&&m&&g(R)}):M.onPress=R=>{if(E||F&&R.pointerType!=="mouse"){if(R.pointerType==="keyboard"&&!y0())return;w(R)}else R.pointerType!=="keyboard"&&m&&g(R)}):(M.onPressStart=R=>{x.current=R.pointerType,O.current=S,K.current=E,m&&(R.pointerType==="mouse"&&!E||R.pointerType==="keyboard"&&(!C||C0()))&&g(R)},M.onPress=R=>{(R.pointerType==="touch"||R.pointerType==="pen"||R.pointerType==="virtual"||R.pointerType==="keyboard"&&D&&y0()||R.pointerType==="mouse"&&K.current)&&(D?w(R):m&&g(R))}),y["data-collection"]=S3(r.collection),y["data-key"]=n,M.preventFocusOnPress=l,l&&(M=ie(M,{onPressStart(R){R.pointerType!=="touch"&&(r.setFocused(!0),r.setFocusedKey(n))},onPress(R){R.pointerType==="touch"&&(r.setFocused(!0),r.setFocusedKey(n))}})),H)for(let R of["onPressStart","onPressEnd","onPressChange","onPress","onPressUp","onClick"])H[R]&&(M[R]=pt(M[R],H[R]));let{pressProps:Z,isPressed:_}=Ei(M),U=F?R=>{x.current==="mouse"&&(R.stopPropagation(),R.preventDefault(),w(R))}:void 0,{longPressProps:P}=U2({isDisabled:!S,onLongPress(R){R.pointerType==="touch"&&(g(R),r.setSelectionBehavior("toggle"))}}),k=R=>{x.current==="touch"&&O.current&&R.preventDefault()},z=f!=="none"&&r.isLink(n)?R=>{Tt.isOpening||R.preventDefault()}:void 0;return{itemProps:ie(y,m||E||l&&!s?Z:{},S?P:{},{onDoubleClick:U,onDragStartCapture:k,onClick:z,id:e},l?{onMouseDown:R=>R.preventDefault()}:void 0),isPressed:_,isSelected:r.isSelected(n),isFocused:r.isFocused&&r.focusedKey===n,isDisabled:s,allowsSelection:m,hasAction:D}}function y0(){let t=window.event;return(t==null?void 0:t.key)==="Enter"}function C0(){let t=window.event;return(t==null?void 0:t.key)===" "||(t==null?void 0:t.code)==="Space"}class E0{getItemRect(e){let r=this.ref.current;if(!r)return null;let n=e!=null?Mn(this.ref,e):null;if(!n)return null;let i=r.getBoundingClientRect(),o=n.getBoundingClientRect();return{x:o.left-i.left+r.scrollLeft,y:o.top-i.top+r.scrollTop,width:o.width,height:o.height}}getContentSize(){let e=this.ref.current;var r,n;return{width:(r=e==null?void 0:e.scrollWidth)!==null&&r!==void 0?r:0,height:(n=e==null?void 0:e.scrollHeight)!==null&&n!==void 0?n:0}}getVisibleRect(){let e=this.ref.current;var r,n,i,o;return{x:(r=e==null?void 0:e.scrollLeft)!==null&&r!==void 0?r:0,y:(n=e==null?void 0:e.scrollTop)!==null&&n!==void 0?n:0,width:(i=e==null?void 0:e.offsetWidth)!==null&&i!==void 0?i:0,height:(o=e==null?void 0:e.offsetHeight)!==null&&o!==void 0?o:0}}constructor(e){this.ref=e}}class Yl{isDisabled(e){var r;return this.disabledBehavior==="all"&&(((r=e.props)===null||r===void 0?void 0:r.isDisabled)||this.disabledKeys.has(e.key))}findNextNonDisabled(e,r){let n=e;for(;n!=null;){let i=this.collection.getItem(n);if((i==null?void 0:i.type)==="item"&&!this.isDisabled(i))return n;n=r(n)}return null}getNextKey(e){let r=e;return r=this.collection.getKeyAfter(r),this.findNextNonDisabled(r,n=>this.collection.getKeyAfter(n))}getPreviousKey(e){let r=e;return r=this.collection.getKeyBefore(r),this.findNextNonDisabled(r,n=>this.collection.getKeyBefore(n))}findKey(e,r,n){let i=e,o=this.layoutDelegate.getItemRect(i);if(!o||i==null)return null;let l=o;do{if(i=r(i),i==null)break;o=this.layoutDelegate.getItemRect(i)}while(o&&n(l,o)&&i!=null);return i}isSameRow(e,r){return e.y===r.y||e.x!==r.x}isSameColumn(e,r){return e.x===r.x||e.y!==r.y}getKeyBelow(e){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(e,r=>this.getNextKey(r),this.isSameRow):this.getNextKey(e)}getKeyAbove(e){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(e,r=>this.getPreviousKey(r),this.isSameRow):this.getPreviousKey(e)}getNextColumn(e,r){return r?this.getPreviousKey(e):this.getNextKey(e)}getKeyRightOf(e){let r=this.direction==="ltr"?"getKeyRightOf":"getKeyLeftOf";return this.layoutDelegate[r]?(e=this.layoutDelegate[r](e),this.findNextNonDisabled(e,n=>this.layoutDelegate[r](n))):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(e,this.direction==="rtl"):this.findKey(e,n=>this.getNextColumn(n,this.direction==="rtl"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(e,this.direction==="rtl"):null}getKeyLeftOf(e){let r=this.direction==="ltr"?"getKeyLeftOf":"getKeyRightOf";return this.layoutDelegate[r]?(e=this.layoutDelegate[r](e),this.findNextNonDisabled(e,n=>this.layoutDelegate[r](n))):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(e,this.direction==="ltr"):this.findKey(e,n=>this.getNextColumn(n,this.direction==="ltr"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(e,this.direction==="ltr"):null}getFirstKey(){let e=this.collection.getFirstKey();return this.findNextNonDisabled(e,r=>this.collection.getKeyAfter(r))}getLastKey(){let e=this.collection.getLastKey();return this.findNextNonDisabled(e,r=>this.collection.getKeyBefore(r))}getKeyPageAbove(e){let r=this.ref.current,n=this.layoutDelegate.getItemRect(e);if(!n)return null;if(r&&!Gr(r))return this.getFirstKey();let i=e;if(this.orientation==="horizontal"){let o=Math.max(0,n.x+n.width-this.layoutDelegate.getVisibleRect().width);for(;n&&n.x>o&&i!=null;)i=this.getKeyAbove(i),n=i==null?null:this.layoutDelegate.getItemRect(i)}else{let o=Math.max(0,n.y+n.height-this.layoutDelegate.getVisibleRect().height);for(;n&&n.y>o&&i!=null;)i=this.getKeyAbove(i),n=i==null?null:this.layoutDelegate.getItemRect(i)}return i??this.getFirstKey()}getKeyPageBelow(e){let r=this.ref.current,n=this.layoutDelegate.getItemRect(e);if(!n)return null;if(r&&!Gr(r))return this.getLastKey();let i=e;if(this.orientation==="horizontal"){let o=Math.min(this.layoutDelegate.getContentSize().width,n.y-n.width+this.layoutDelegate.getVisibleRect().width);for(;n&&n.x<o&&i!=null;)i=this.getKeyBelow(i),n=i==null?null:this.layoutDelegate.getItemRect(i)}else{let o=Math.min(this.layoutDelegate.getContentSize().height,n.y-n.height+this.layoutDelegate.getVisibleRect().height);for(;n&&n.y<o&&i!=null;)i=this.getKeyBelow(i),n=i==null?null:this.layoutDelegate.getItemRect(i)}return i??this.getLastKey()}getKeyForSearch(e,r){if(!this.collator)return null;let n=this.collection,i=r||this.getFirstKey();for(;i!=null;){let o=n.getItem(i);if(!o)return null;let l=o.textValue.slice(0,e.length);if(o.textValue&&this.collator.compare(l,e)===0)return i;i=this.getNextKey(i)}return null}constructor(...e){if(e.length===1){let r=e[0];this.collection=r.collection,this.ref=r.ref,this.collator=r.collator,this.disabledKeys=r.disabledKeys||new Set,this.disabledBehavior=r.disabledBehavior||"all",this.orientation=r.orientation||"vertical",this.direction=r.direction,this.layout=r.layout||"stack",this.layoutDelegate=r.layoutDelegate||new E0(r.ref)}else this.collection=e[0],this.disabledKeys=e[1],this.ref=e[2],this.collator=e[3],this.layout="stack",this.orientation="vertical",this.disabledBehavior="all",this.layoutDelegate=new E0(this.ref);this.layout==="stack"&&this.orientation==="vertical"&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}}function Wc(t){let{selectionManager:e,collection:r,disabledKeys:n,ref:i,keyboardDelegate:o,layoutDelegate:l}=t,a=zl({usage:"search",sensitivity:"base"}),s=e.disabledBehavior,c=u.useMemo(()=>o||new Yl({collection:r,disabledKeys:n,disabledBehavior:s,ref:i,collator:a,layoutDelegate:l}),[o,l,r,n,i,a,s]),{collectionProps:d}=Uc({...t,ref:i,selectionManager:e,keyboardDelegate:c});return{listProps:d}}function P3(t,e,r){let n=he(t,{labelable:!0}),i=t.selectionBehavior||"toggle",o=t.linkBehavior||(i==="replace"?"action":"override");i==="toggle"&&o==="action"&&(o="override");let{listProps:l}=Wc({...t,ref:r,selectionManager:e.selectionManager,collection:e.collection,disabledKeys:e.disabledKeys,linkBehavior:o}),{focusWithinProps:a}=Di({onFocusWithin:t.onFocus,onBlurWithin:t.onBlur,onFocusWithinChange:t.onFocusChange}),s=Se(t.id);Gl.set(e,{id:s,shouldUseVirtualFocus:t.shouldUseVirtualFocus,shouldSelectOnPressUp:t.shouldSelectOnPressUp,shouldFocusOnHover:t.shouldFocusOnHover,isVirtualized:t.isVirtualized,onAction:t.onAction,linkBehavior:o});let{labelProps:c,fieldProps:d}=nc({...t,id:s,labelElementType:"span"});return{labelProps:c,listBoxProps:ie(n,a,e.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",...ie(d,l)})}}class A3{build(e,r){return this.context=r,w0(()=>this.iterateCollection(e))}*iterateCollection(e){let{children:r,items:n}=e;if(u.isValidElement(r)&&r.type===u.Fragment)yield*this.iterateCollection({children:r.props.children,items:n});else if(typeof r=="function"){if(!n)throw new Error("props.children was a function but props.items is missing");let i=0;for(let o of n)yield*this.getFullNode({value:o,index:i},{renderer:r}),i++}else{let i=[];u.Children.forEach(r,l=>{l&&i.push(l)});let o=0;for(let l of i){let a=this.getFullNode({element:l,index:o},{});for(let s of a)o++,yield s}}}getKey(e,r,n,i){if(e.key!=null)return e.key;if(r.type==="cell"&&r.key!=null)return`${i}${r.key}`;let o=r.value;if(o!=null){var l;let a=(l=o.key)!==null&&l!==void 0?l:o.id;if(a==null)throw new Error("No key found for item");return a}return i?`${i}.${r.index}`:`$.${r.index}`}getChildState(e,r){return{renderer:r.renderer||e.renderer}}*getFullNode(e,r,n,i){if(u.isValidElement(e.element)&&e.element.type===u.Fragment){let v=[];u.Children.forEach(e.element.props.children,C=>{v.push(C)});var o;let m=(o=e.index)!==null&&o!==void 0?o:0;for(const C of v)yield*this.getFullNode({element:C,index:m++},r,n,i);return}let l=e.element;if(!l&&e.value&&r&&r.renderer){let v=this.cache.get(e.value);if(v&&(!v.shouldInvalidate||!v.shouldInvalidate(this.context))){v.index=e.index,v.parentKey=i?i.key:null,yield v;return}l=r.renderer(e.value)}if(u.isValidElement(l)){let v=l.type;if(typeof v!="function"&&typeof v.getCollectionNode!="function"){let F=l.type;throw new Error(`Unknown element <${F}> in collection.`)}let m=v.getCollectionNode(l.props,this.context);var a;let C=(a=e.index)!==null&&a!==void 0?a:0,E=m.next();for(;!E.done&&E.value;){let F=E.value;e.index=C;var s;let D=(s=F.key)!==null&&s!==void 0?s:null;D==null&&(D=F.element?null:this.getKey(l,e,r,n));let S=[...this.getFullNode({...F,key:D,index:C,wrapper:T3(e.wrapper,F.wrapper)},this.getChildState(r,F),n?`${n}${l.key}`:l.key,i)];for(let O of S){var c,d;O.value=(d=(c=F.value)!==null&&c!==void 0?c:e.value)!==null&&d!==void 0?d:null,O.value&&this.cache.set(O.value,O);var f;if(e.type&&O.type!==e.type)throw new Error(`Unsupported type <${ao(O.type)}> in <${ao((f=i==null?void 0:i.type)!==null&&f!==void 0?f:"unknown parent type")}>. Only <${ao(e.type)}> is supported.`);C++,yield O}E=m.next(S)}return}if(e.key==null||e.type==null)return;let p=this;var g,y;let h={type:e.type,props:e.props,key:e.key,parentKey:i?i.key:null,value:(g=e.value)!==null&&g!==void 0?g:null,level:i?i.level+1:0,index:e.index,rendered:e.rendered,textValue:(y=e.textValue)!==null&&y!==void 0?y:"","aria-label":e["aria-label"],wrapper:e.wrapper,shouldInvalidate:e.shouldInvalidate,hasChildNodes:e.hasChildNodes||!1,childNodes:w0(function*(){if(!e.hasChildNodes||!e.childNodes)return;let v=0;for(let m of e.childNodes()){m.key!=null&&(m.key=`${h.key}${m.key}`);let C=p.getFullNode({...m,index:v},p.getChildState(r,m),h.key,h);for(let E of C)v++,yield E}})};yield h}constructor(){this.cache=new WeakMap}}function w0(t){let e=[],r=null;return{*[Symbol.iterator](){for(let n of e)yield n;r||(r=t());for(let n of r)e.push(n),yield n}}}function T3(t,e){if(t&&e)return r=>t(e(r));if(t)return t;if(e)return e}function ao(t){return t[0].toUpperCase()+t.slice(1)}function Zc(t,e,r){let n=u.useMemo(()=>new A3,[]),{children:i,items:o,collection:l}=t;return u.useMemo(()=>{if(l)return l;let s=n.build({children:i,items:o},r);return e(s)},[n,i,o,l,r,e])}function Gc(t,e){return typeof e.getChildren=="function"?e.getChildren(t.key):t.childNodes}function _3(t){return k3(t)}function k3(t,e){for(let r of t)return r}function so(t,e,r){if(e.parentKey===r.parentKey)return e.index-r.index;let n=[...D0(t,e),e],i=[...D0(t,r),r],o=n.slice(0,i.length).findIndex((l,a)=>l!==i[a]);return o!==-1?(e=n[o],r=i[o],e.index-r.index):n.findIndex(l=>l===r)>=0?1:(i.findIndex(l=>l===e)>=0,-1)}function D0(t,e){let r=[],n=e;for(;(n==null?void 0:n.parentKey)!=null;)n=t.getItem(n.parentKey),n&&r.unshift(n);return r}const x0=new WeakMap;function qc(t){let e=x0.get(t);if(e!=null)return e;let r=0,n=i=>{for(let o of i)o.type==="section"?n(Gc(o,t)):o.type==="item"&&r++};return n(t),x0.set(t,r),r}function I3(t,e,r){var n,i;let{key:o}=t,l=Gl.get(e);var a;let s=(a=t.isDisabled)!==null&&a!==void 0?a:e.selectionManager.isDisabled(o);var c;let d=(c=t.isSelected)!==null&&c!==void 0?c:e.selectionManager.isSelected(o);var f;let p=(f=t.shouldSelectOnPressUp)!==null&&f!==void 0?f:l==null?void 0:l.shouldSelectOnPressUp;var g;let y=(g=t.shouldFocusOnHover)!==null&&g!==void 0?g:l==null?void 0:l.shouldFocusOnHover;var h;let v=(h=t.shouldUseVirtualFocus)!==null&&h!==void 0?h:l==null?void 0:l.shouldUseVirtualFocus;var m;let C=(m=t.isVirtualized)!==null&&m!==void 0?m:l==null?void 0:l.isVirtualized,E=ft(),F=ft(),D={role:"option","aria-disabled":s||void 0,"aria-selected":e.selectionManager.selectionMode!=="none"?d:void 0};gt()&&Al()||(D["aria-label"]=t["aria-label"],D["aria-labelledby"]=E,D["aria-describedby"]=F);let x=e.collection.getItem(o);if(C){let k=Number(x==null?void 0:x.index);D["aria-posinset"]=Number.isNaN(k)?void 0:k+1,D["aria-setsize"]=qc(e.collection)}let S=l!=null&&l.onAction?()=>{var k;return l==null||(k=l.onAction)===null||k===void 0?void 0:k.call(l,o)}:void 0,O=D3(e,o),{itemProps:K,isPressed:H,isFocused:w,hasAction:M,allowsSelection:Z}=ql({selectionManager:e.selectionManager,key:o,ref:r,shouldSelectOnPressUp:p,allowsDifferentPressOrigin:p&&y,isVirtualized:C,shouldUseVirtualFocus:v,isDisabled:s,onAction:S||!(x==null||(n=x.props)===null||n===void 0)&&n.onAction?pt(x==null||(i=x.props)===null||i===void 0?void 0:i.onAction,S):void 0,linkBehavior:l==null?void 0:l.linkBehavior,id:O}),{hoverProps:_}=Dr({isDisabled:s||!y,onHoverStart(){mr()||(e.selectionManager.setFocused(!0),e.selectionManager.setFocusedKey(o))}}),U=he(x==null?void 0:x.props);delete U.id;let P=_l(x==null?void 0:x.props);return{optionProps:{...D,...ie(U,K,_,P),id:O},labelProps:{id:E},descriptionProps:{id:F},isFocused:w,isFocusVisible:w&&e.selectionManager.isFocused&&mr(),isSelected:d,isDisabled:s,isPressed:H,allowsSelection:Z,hasAction:M}}function O3(t){let{heading:e,"aria-label":r}=t,n=Se();return{itemProps:{role:"presentation"},headingProps:e?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":r,"aria-labelledby":e?n:void 0}}}var Yc={};Yc={longPressMessage:"اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة"};var Xc={};Xc={longPressMessage:"Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто"};var Jc={};Jc={longPressMessage:"Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku"};var Qc={};Qc={longPressMessage:"Langt tryk eller tryk på Alt + pil ned for at åbne menuen"};var eu={};eu={longPressMessage:"Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"};var tu={};tu={longPressMessage:"Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού"};var ru={};ru={longPressMessage:"Long press or press Alt + ArrowDown to open menu"};var nu={};nu={longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú"};var iu={};iu={longPressMessage:"Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"};var ou={};ou={longPressMessage:"Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli"};var lu={};lu={longPressMessage:"Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."};var au={};au={longPressMessage:"לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט"};var su={};su={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"};var cu={};cu={longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához"};var uu={};uu={longPressMessage:"Premere a lungo o premere Alt + Freccia giù per aprire il menu"};var du={};du={longPressMessage:"長押しまたは Alt+下矢印キーでメニューを開く"};var fu={};fu={longPressMessage:"길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기"};var hu={};hu={longPressMessage:"Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“."};var pu={};pu={longPressMessage:"Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa"};var gu={};gu={longPressMessage:"Langt trykk eller trykk Alt + PilNed for å åpne menyen"};var vu={};vu={longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"};var bu={};bu={longPressMessage:"Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu"};var mu={};mu={longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"};var yu={};yu={longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"};var Cu={};Cu={longPressMessage:"Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul"};var Eu={};Eu={longPressMessage:"Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню"};var wu={};wu={longPressMessage:"Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol"};var Du={};Du={longPressMessage:"Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol"};var xu={};xu={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"};var Su={};Su={longPressMessage:"Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn"};var Fu={};Fu={longPressMessage:"Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın"};var $u={};$u={longPressMessage:"Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"};var Pu={};Pu={longPressMessage:"长按或按 Alt + 向下方向键以打开菜单"};var Au={};Au={longPressMessage:"長按或按 Alt+向下鍵以開啟功能表"};var Tu={};Tu={"ar-AE":Yc,"bg-BG":Xc,"cs-CZ":Jc,"da-DK":Qc,"de-DE":eu,"el-GR":tu,"en-US":ru,"es-ES":nu,"et-EE":iu,"fi-FI":ou,"fr-FR":lu,"he-IL":au,"hr-HR":su,"hu-HU":cu,"it-IT":uu,"ja-JP":du,"ko-KR":fu,"lt-LT":hu,"lv-LV":pu,"nb-NO":gu,"nl-NL":vu,"pl-PL":bu,"pt-BR":mu,"pt-PT":yu,"ro-RO":Cu,"ru-RU":Eu,"sk-SK":wu,"sl-SI":Du,"sr-SP":xu,"sv-SE":Su,"tr-TR":Fu,"uk-UA":$u,"zh-CN":Pu,"zh-TW":Au};function M3(t){return t&&t.__esModule?t.default:t}function N3(t,e,r){let{type:n="menu",isDisabled:i,trigger:o="press"}=t,l=Se(),{triggerProps:a,overlayProps:s}=s3({type:n},e,r),c=g=>{if(!i&&!(o==="longPress"&&!g.altKey)&&r&&r.current)switch(g.key){case"Enter":case" ":if(o==="longPress"||g.isDefaultPrevented())return;case"ArrowDown":"continuePropagation"in g||g.stopPropagation(),g.preventDefault(),e.toggle("first");break;case"ArrowUp":"continuePropagation"in g||g.stopPropagation(),g.preventDefault(),e.toggle("last");break;default:"continuePropagation"in g&&g.continuePropagation()}},d=q2(M3(Tu),"@react-aria/menu"),{longPressProps:f}=U2({isDisabled:i||o!=="longPress",accessibilityDescription:d.format("longPressMessage"),onLongPressStart(){e.close()},onLongPress(){e.open("first")}}),p={preventFocusOnPress:!0,onPressStart(g){g.pointerType!=="touch"&&g.pointerType!=="keyboard"&&!i&&(Ve(g.target),e.open(g.pointerType==="virtual"?"first":null))},onPress(g){g.pointerType==="touch"&&!i&&(Ve(g.target),e.toggle())}};return delete a.onPress,{menuTriggerProps:{...a,...o==="press"?p:f,id:l,onKeyDown:c},menuProps:{...s,"aria-labelledby":l,autoFocus:e.focusStrategy||!0,onClose:e.close}}}const _u=new WeakMap;function B3(t,e,r){let{shouldFocusWrap:n=!0,onKeyDown:i,onKeyUp:o,...l}=t;!t["aria-label"]&&!t["aria-labelledby"]&&process.env.NODE_ENV!=="production"&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let a=he(t,{labelable:!0}),{listProps:s}=Wc({...l,ref:r,selectionManager:e.selectionManager,collection:e.collection,disabledKeys:e.disabledKeys,shouldFocusWrap:n,linkBehavior:"override"});return _u.set(e,{onClose:t.onClose,onAction:t.onAction,shouldUseVirtualFocus:t.shouldUseVirtualFocus}),{menuProps:ie(a,{onKeyDown:i,onKeyUp:o},{role:"menu",...s,onKeyDown:c=>{var d;(c.key!=="Escape"||t.shouldUseVirtualFocus)&&((d=s.onKeyDown)===null||d===void 0||d.call(s,c))}})}}function R3(t,e,r){let{id:n,key:i,closeOnSelect:o,isVirtualized:l,"aria-haspopup":a,onPressStart:s,onPressUp:c,onPress:d,onPressChange:f,onPressEnd:p,onClick:g,onHoverStart:y,onHoverChange:h,onHoverEnd:v,onKeyDown:m,onKeyUp:C,onFocus:E,onFocusChange:F,onBlur:D,selectionManager:x=e.selectionManager}=t,S=!!a,O=S&&t["aria-expanded"]==="true";var K;let H=(K=t.isDisabled)!==null&&K!==void 0?K:x.isDisabled(i);var w;let M=(w=t.isSelected)!==null&&w!==void 0?w:x.isSelected(i),Z=_u.get(e),_=e.collection.getItem(i),U=t.onClose||Z.onClose,P=vi(),k=()=>{var re;if(!S&&(!(_==null||(re=_.props)===null||re===void 0)&&re.onAction?_.props.onAction():t.onAction&&t.onAction(i),Z.onAction)){let pe=Z.onAction;pe(i)}},z="menuitem";S||(x.selectionMode==="single"?z="menuitemradio":x.selectionMode==="multiple"&&(z="menuitemcheckbox"));let R=ft(),I=ft(),N=ft(),$={id:n,"aria-disabled":H||void 0,role:z,"aria-label":t["aria-label"],"aria-labelledby":R,"aria-describedby":[I,N].filter(Boolean).join(" ")||void 0,"aria-controls":t["aria-controls"],"aria-haspopup":a,"aria-expanded":t["aria-expanded"]};x.selectionMode!=="none"&&!S&&($["aria-checked"]=M),l&&($["aria-posinset"]=_==null?void 0:_.index,$["aria-setsize"]=qc(e.collection));let A=u.useRef(!1),B=re=>{f==null||f(re),A.current=re},L=u.useRef(null),j=re=>{re.pointerType!=="keyboard"&&(L.current={pointerType:re.pointerType}),re.pointerType==="mouse"&&(A.current||re.target.click()),c==null||c(re)},V=re=>{var pe,Ut;g==null||g(re),k(),h5(re,P,_.props.href,_==null?void 0:_.props.routerOptions);let Sr=((pe=L.current)===null||pe===void 0?void 0:pe.pointerType)==="keyboard"?((Ut=L.current)===null||Ut===void 0?void 0:Ut.key)==="Enter"||x.selectionMode==="none"||x.isLink(i):x.selectionMode!=="multiple"||x.isLink(i);Sr=o??Sr,U&&!S&&Sr&&U(),L.current=null},{itemProps:W,isFocused:q}=ql({id:n,selectionManager:x,key:i,ref:r,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none",shouldUseVirtualFocus:Z.shouldUseVirtualFocus}),{pressProps:Y,isPressed:ae}=Ei({onPressStart:s,onPress:d,onPressUp:j,onPressChange:B,onPressEnd:p,isDisabled:H}),{hoverProps:G}=Dr({isDisabled:H,onHoverStart(re){!mr()&&!(O&&a)&&(x.setFocused(!0),x.setFocusedKey(i)),y==null||y(re)},onHoverChange:h,onHoverEnd:v}),{keyboardProps:te}=V2({onKeyDown:re=>{if(re.repeat){re.continuePropagation();return}switch(re.key){case" ":L.current={pointerType:"keyboard",key:" "},re.target.click();break;case"Enter":L.current={pointerType:"keyboard",key:"Enter"},re.target.tagName!=="A"&&re.target.click();break;default:S||re.continuePropagation(),m==null||m(re);break}},onKeyUp:C}),{focusProps:de}=jl({onBlur:D,onFocus:E,onFocusChange:F}),Re=he(_==null?void 0:_.props);delete Re.id;let zt=_l(_==null?void 0:_.props);return{menuItemProps:{...$,...ie(Re,zt,S?{onFocus:W.onFocus,"data-collection":W["data-collection"],"data-key":W["data-key"]}:W,Y,G,te,de,Z.shouldUseVirtualFocus||S?{onMouseDown:re=>re.preventDefault()}:void 0,H?void 0:{onClick:V}),tabIndex:W.tabIndex!=null&&O&&!Z.shouldUseVirtualFocus?-1:W.tabIndex},labelProps:{id:R},descriptionProps:{id:I},keyboardShortcutProps:{id:N},isFocused:q,isFocusVisible:q&&x.isFocused&&mr()&&!O,isSelected:M,isPressed:ae,isDisabled:H}}function L3(t){let{heading:e,"aria-label":r}=t,n=Se();return{itemProps:{role:"presentation"},headingProps:e?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":r,"aria-labelledby":e?n:void 0}}}function K3(t,e){let{role:r="dialog"}=t,n=ft();n=t["aria-label"]?void 0:n;let i=u.useRef(!1);return u.useEffect(()=>{if(e.current&&!e.current.contains(document.activeElement)){vt(e.current);let o=setTimeout(()=>{(document.activeElement===e.current||document.activeElement===document.body)&&(i.current=!0,e.current&&(e.current.blur(),vt(e.current)),i.current=!1)},500);return()=>{clearTimeout(o)}}},[e]),E3(),{dialogProps:{...he(t,{labelable:!0}),role:r,tabIndex:-1,"aria-labelledby":t["aria-labelledby"]||n,onBlur:o=>{i.current&&o.stopPropagation()}},titleProps:{id:n}}}const Xl=new WeakMap;function j3(t,e,r){let{keyboardDelegate:n,isDisabled:i,isRequired:o,name:l,form:a,validationBehavior:s="aria"}=t,c=zl({usage:"search",sensitivity:"base"}),d=u.useMemo(()=>n||new Yl(e.collection,e.disabledKeys,r,c),[n,e.collection,e.disabledKeys,c,r]),{menuTriggerProps:f,menuProps:p}=N3({isDisabled:i,type:"listbox"},e,r),g=K=>{switch(K.key){case"ArrowLeft":{var H,w;K.preventDefault();let _=e.selectedKey!=null?(H=d.getKeyAbove)===null||H===void 0?void 0:H.call(d,e.selectedKey):(w=d.getFirstKey)===null||w===void 0?void 0:w.call(d);_&&e.setSelectedKey(_);break}case"ArrowRight":{var M,Z;K.preventDefault();let _=e.selectedKey!=null?(M=d.getKeyBelow)===null||M===void 0?void 0:M.call(d,e.selectedKey):(Z=d.getFirstKey)===null||Z===void 0?void 0:Z.call(d);_&&e.setSelectedKey(_);break}}},{typeSelectProps:y}=zc({keyboardDelegate:d,selectionManager:e.selectionManager,onTypeSelect(K){e.setSelectedKey(K)}}),{isInvalid:h,validationErrors:v,validationDetails:m}=e.displayValidation,{labelProps:C,fieldProps:E,descriptionProps:F,errorMessageProps:D}=G4({...t,labelElementType:"span",isInvalid:h,errorMessage:t.errorMessage||v});y.onKeyDown=y.onKeyDownCapture,delete y.onKeyDownCapture;let x=he(t,{labelable:!0}),S=ie(y,f,E),O=Se();return Xl.set(e,{isDisabled:i,isRequired:o,name:l,form:a,validationBehavior:s}),{labelProps:{...C,onClick:()=>{if(!t.isDisabled){var K;(K=r.current)===null||K===void 0||K.focus(),H2("keyboard")}}},triggerProps:ie(x,{...S,isDisabled:i,onKeyDown:pt(S.onKeyDown,g,t.onKeyDown),onKeyUp:t.onKeyUp,"aria-labelledby":[O,S["aria-labelledby"],S["aria-label"]&&!S["aria-labelledby"]?S.id:null].filter(Boolean).join(" "),onFocus(K){e.isFocused||(t.onFocus&&t.onFocus(K),t.onFocusChange&&t.onFocusChange(!0),e.setFocused(!0))},onBlur(K){e.isOpen||(t.onBlur&&t.onBlur(K),t.onFocusChange&&t.onFocusChange(!1),e.setFocused(!1))}}),valueProps:{id:O},menuProps:{...p,autoFocus:e.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,disallowEmptySelection:!0,linkBehavior:"selection",onBlur:K=>{K.currentTarget.contains(K.relatedTarget)||(t.onBlur&&t.onBlur(K),t.onFocusChange&&t.onFocusChange(!1),e.setFocused(!1))},"aria-labelledby":[E["aria-labelledby"],S["aria-label"]&&!E["aria-labelledby"]?S.id:null].filter(Boolean).join(" ")},descriptionProps:F,errorMessageProps:D,isInvalid:h,validationErrors:v,validationDetails:m,hiddenSelectProps:{isDisabled:i,name:l,label:t.label,state:e,triggerRef:r,form:a}}}function H3(t,e,r){let n=Xl.get(e)||{},{autoComplete:i,name:o=n.name,form:l=n.form,isDisabled:a=n.isDisabled}=t,{validationBehavior:s,isRequired:c}=n,{visuallyHiddenProps:d}=ic({style:{position:"fixed",top:0,left:0}});C5(t.selectRef,e.defaultSelectedKey,e.setSelectedKey),z4({validationBehavior:s,focus:()=>{var g;return(g=r.current)===null||g===void 0?void 0:g.focus()}},e,t.selectRef);let f=u.useCallback(g=>e.setSelectedKey(g.currentTarget.value),[e.setSelectedKey]);var p;return{containerProps:{...d,"aria-hidden":!0,"data-react-aria-prevent-focus":!0,"data-a11y-ignore":"aria-hidden-focus"},inputProps:{style:{display:"none"}},selectProps:{tabIndex:-1,autoComplete:i,disabled:a,required:s==="native"&&c,name:o,form:l,value:(p=e.selectedKey)!==null&&p!==void 0?p:"",onChange:f,onInput:f}}}function V3(t){let{state:e,triggerRef:r,label:n,name:i,form:o,isDisabled:l}=t,a=u.useRef(null),s=u.useRef(null),{containerProps:c,selectProps:d}=H3({...t,selectRef:e.collection.size<=300?a:s},e,r);if(e.collection.size<=300)return u.createElement("div",{...c,"data-testid":"hidden-select-container"},u.createElement("label",null,n,u.createElement("select",{...d,ref:a},u.createElement("option",null),[...e.collection.getKeys()].map(p=>{let g=e.collection.getItem(p);if(g&&g.type==="item")return u.createElement("option",{key:g.key,value:g.key},g.textValue)}))));if(i){let p=Xl.get(e)||{},{validationBehavior:g}=p;var f;let y={type:"hidden",autoComplete:d.autoComplete,name:i,form:o,disabled:l,value:(f=e.selectedKey)!==null&&f!==void 0?f:""};return g==="native"?u.createElement("input",{...y,ref:s,style:{display:"none"},type:"text",required:d.required,onChange:()=>{}}):u.createElement("input",{...y,ref:s})}return null}function z3(t){let e=he(t,{labelable:!0}),r;return t.orientation==="vertical"&&(r="vertical"),t.elementType!=="hr"?{separatorProps:{...e,role:"separator","aria-orientation":r}}:{separatorProps:e}}const ku=new WeakMap;function ti(t,e,r){if(!t)return"";typeof e=="string"&&(e=e.replace(/\s+/g,""));let n=ku.get(t);return process.env.NODE_ENV!=="production"&&!n&&console.error("There is no tab id, please check if you have rendered the tab panel before the tab list."),`${n}-${r}-${e}`}function U3(t,e,r){let{key:n,isDisabled:i,shouldSelectOnPressUp:o}=t,{selectionManager:l,selectedKey:a}=e,s=n===a,c=i||e.isDisabled||e.selectionManager.isDisabled(n),{itemProps:d,isPressed:f}=ql({selectionManager:l,key:n,ref:r,isDisabled:c,shouldSelectOnPressUp:o,linkBehavior:"selection"}),p=ti(e,n,"tab"),g=ti(e,n,"tabpanel"),{tabIndex:y}=d,h=e.collection.getItem(n),v=he(h==null?void 0:h.props,{labelable:!0});delete v.id;let m=_l(h==null?void 0:h.props),{focusableProps:C}=z2({isDisabled:c},r);return{tabProps:ie(v,C,m,d,{id:p,"aria-selected":s,"aria-disabled":c||void 0,"aria-controls":s?g:void 0,tabIndex:c?void 0:y,role:"tab"}),isSelected:s,isDisabled:c,isPressed:f}}function W3(t,e,r){let n=N4(r)?void 0:0;var i;const o=ti(e,(i=t.id)!==null&&i!==void 0?i:e==null?void 0:e.selectedKey,"tabpanel"),l=mi({...t,id:o,"aria-labelledby":ti(e,e==null?void 0:e.selectedKey,"tab")});return{tabPanelProps:ie(l,{tabIndex:n,role:"tabpanel","aria-describedby":t["aria-describedby"],"aria-details":t["aria-details"]})}}class Z3{getKeyLeftOf(e){return this.flipDirection?this.getNextKey(e):this.getPreviousKey(e)}getKeyRightOf(e){return this.flipDirection?this.getPreviousKey(e):this.getNextKey(e)}isDisabled(e){var r,n;return this.disabledKeys.has(e)||!!(!((n=this.collection.getItem(e))===null||n===void 0||(r=n.props)===null||r===void 0)&&r.isDisabled)}getFirstKey(){let e=this.collection.getFirstKey();return e!=null&&this.isDisabled(e)&&(e=this.getNextKey(e)),e}getLastKey(){let e=this.collection.getLastKey();return e!=null&&this.isDisabled(e)&&(e=this.getPreviousKey(e)),e}getKeyAbove(e){return this.tabDirection?null:this.getPreviousKey(e)}getKeyBelow(e){return this.tabDirection?null:this.getNextKey(e)}getNextKey(e){let r=e;do r=this.collection.getKeyAfter(r),r==null&&(r=this.collection.getFirstKey());while(r!=null&&this.isDisabled(r));return r}getPreviousKey(e){let r=e;do r=this.collection.getKeyBefore(r),r==null&&(r=this.collection.getLastKey());while(r!=null&&this.isDisabled(r));return r}constructor(e,r,n,i=new Set){this.collection=e,this.flipDirection=r==="rtl"&&n==="horizontal",this.disabledKeys=i,this.tabDirection=n==="horizontal"}}function G3(t,e,r){let{orientation:n="horizontal",keyboardActivation:i="automatic"}=t,{collection:o,selectionManager:l,disabledKeys:a}=e,{direction:s}=Kt(),c=u.useMemo(()=>new Z3(o,s,n,a),[o,a,n,s]),{collectionProps:d}=Uc({ref:r,selectionManager:l,keyboardDelegate:c,selectOnFocus:i==="automatic",disallowEmptySelection:!0,scrollRef:r,linkBehavior:"selection"}),f=Se();ku.set(e,f);let p=mi({...t,id:f});return{tabListProps:{...ie(d,p),role:"tablist","aria-orientation":n,tabIndex:void 0}}}const Iu=u.createContext({}),q3=Bl(function(e,r){[e,r]=Xe(e,r,Iu);let{elementType:n="label",...i}=e;return u.createElement(n,{className:"react-aria-Label",...i,ref:r})}),Y3=u.createContext(null),X3=new Set(["form","formAction","formEncType","formMethod","formNoValidate","formTarget","name","value"]),Jl=u.createContext({}),J3=Bl(function(e,r){[e,r]=Xe(e,r,Jl),e=Q3(e);let n=e,{isPending:i}=n,{buttonProps:o,isPressed:l}=P4(e,r),{focusProps:a,isFocused:s,isFocusVisible:c}=xr(e),{hoverProps:d,isHovered:f}=Dr({...e,isDisabled:e.isDisabled||i}),p={isHovered:f,isPressed:(n.isPressed||l)&&!i,isFocused:s,isFocusVisible:c,isDisabled:e.isDisabled||!1,isPending:i??!1},g=Fe({...e,values:p,defaultClassName:"react-aria-Button"}),y=Se(o.id),h=Se(),v=o["aria-labelledby"];i&&(v?v=`${v} ${h}`:o["aria-label"]&&(v=`${y} ${h}`));let m=u.useRef(i);return u.useEffect(()=>{let C={"aria-labelledby":v||y};(!m.current&&s&&i||m.current&&s&&!i)&&l0(C,"assertive"),m.current=i},[i,s,v,y]),u.createElement("button",{...he(e,{propNames:X3}),...ie(o,a,d),...g,type:o.type==="submit"&&i?"button":o.type,id:y,ref:r,"aria-labelledby":v,slot:e.slot||void 0,"aria-disabled":i?"true":o["aria-disabled"],"data-disabled":e.isDisabled||void 0,"data-pressed":p.isPressed||void 0,"data-hovered":f||void 0,"data-focused":s||void 0,"data-pending":i||void 0,"data-focus-visible":c||void 0},u.createElement(Y3.Provider,{value:{id:h}},g.children))});function Q3(t){return t.isPending&&(t.onPress=void 0,t.onPressStart=void 0,t.onPressEnd=void 0,t.onPressChange=void 0,t.onPressUp=void 0,t.onKeyDown=void 0,t.onKeyUp=void 0,t.onClick=void 0,t.href=void 0),t}const Ql=u.createContext({}),e7=u.createContext(null);class S0{*[Symbol.iterator](){yield*this.iterable}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let r=this.keyMap.get(e);var n;return r&&(n=r.prevKey)!==null&&n!==void 0?n:null}getKeyAfter(e){let r=this.keyMap.get(e);var n;return r&&(n=r.nextKey)!==null&&n!==void 0?n:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(e){var r;return(r=this.keyMap.get(e))!==null&&r!==void 0?r:null}at(e){const r=[...this.getKeys()];return this.getItem(r[e])}getChildren(e){let r=this.keyMap.get(e);return(r==null?void 0:r.childNodes)||[]}constructor(e){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=e;let r=a=>{if(this.keyMap.set(a.key,a),a.childNodes&&a.type==="section")for(let s of a.childNodes)r(s)};for(let a of e)r(a);let n=null,i=0,o=0;for(let[a,s]of this.keyMap)n?(n.nextKey=a,s.prevKey=n.key):(this.firstKey=a,s.prevKey=void 0),s.type==="item"&&(s.index=i++),(s.type==="section"||s.type==="item")&&o++,n=s,n.nextKey=void 0;this._size=o;var l;this.lastKey=(l=n==null?void 0:n.key)!==null&&l!==void 0?l:null}}class je extends Set{constructor(e,r,n){super(e),e instanceof je?(this.anchorKey=r??e.anchorKey,this.currentKey=n??e.currentKey):(this.anchorKey=r??null,this.currentKey=n??null)}}function t7(t,e){if(t.size!==e.size)return!1;for(let r of t)if(!e.has(r))return!1;return!0}function ea(t){let{selectionMode:e="none",disallowEmptySelection:r=!1,allowDuplicateSelectionEvents:n,selectionBehavior:i="toggle",disabledBehavior:o="all"}=t,l=u.useRef(!1),[,a]=u.useState(!1),s=u.useRef(null),c=u.useRef(null),[,d]=u.useState(null),f=u.useMemo(()=>F0(t.selectedKeys),[t.selectedKeys]),p=u.useMemo(()=>F0(t.defaultSelectedKeys,new je),[t.defaultSelectedKeys]),[g,y]=yi(f,p,t.onSelectionChange),h=u.useMemo(()=>t.disabledKeys?new Set(t.disabledKeys):new Set,[t.disabledKeys]),[v,m]=u.useState(i);i==="replace"&&v==="toggle"&&typeof g=="object"&&g.size===0&&m("replace");let C=u.useRef(i);return u.useEffect(()=>{i!==C.current&&(m(i),C.current=i)},[i]),{selectionMode:e,disallowEmptySelection:r,selectionBehavior:v,setSelectionBehavior:m,get isFocused(){return l.current},setFocused(E){l.current=E,a(E)},get focusedKey(){return s.current},get childFocusStrategy(){return c.current},setFocusedKey(E,F="first"){s.current=E,c.current=F,d(E)},selectedKeys:g,setSelectedKeys(E){(n||!t7(E,g))&&y(E)},disabledKeys:h,disabledBehavior:o}}function F0(t,e){return t?t==="all"?"all":new je(t):e}class cn{get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(e){this.state.setSelectionBehavior(e)}get isFocused(){return this.state.isFocused}setFocused(e){this.state.setFocused(e)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(e,r){(e==null||this.collection.getItem(e))&&this.state.setFocusedKey(e,r)}get selectedKeys(){return this.state.selectedKeys==="all"?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(e){if(this.state.selectionMode==="none")return!1;let r=this.getKey(e);return r==null?!1:this.state.selectedKeys==="all"?this.canSelectItem(r):this.state.selectedKeys.has(r)}get isEmpty(){return this.state.selectedKeys!=="all"&&this.state.selectedKeys.size===0}get isSelectAll(){if(this.isEmpty)return!1;if(this.state.selectedKeys==="all")return!0;if(this._isSelectAll!=null)return this._isSelectAll;let e=this.getSelectAllKeys(),r=this.state.selectedKeys;return this._isSelectAll=e.every(n=>r.has(n)),this._isSelectAll}get firstSelectedKey(){let e=null;for(let n of this.state.selectedKeys){let i=this.collection.getItem(n);(!e||i&&so(this.collection,i,e)<0)&&(e=i)}var r;return(r=e==null?void 0:e.key)!==null&&r!==void 0?r:null}get lastSelectedKey(){let e=null;for(let n of this.state.selectedKeys){let i=this.collection.getItem(n);(!e||i&&so(this.collection,i,e)>0)&&(e=i)}var r;return(r=e==null?void 0:e.key)!==null&&r!==void 0?r:null}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(e){if(this.selectionMode==="none")return;if(this.selectionMode==="single"){this.replaceSelection(e);return}let r=this.getKey(e);if(r==null)return;let n;if(this.state.selectedKeys==="all")n=new je([r],r,r);else{let l=this.state.selectedKeys;var i;let a=(i=l.anchorKey)!==null&&i!==void 0?i:r;n=new je(l,a,r);var o;for(let s of this.getKeyRange(a,(o=l.currentKey)!==null&&o!==void 0?o:r))n.delete(s);for(let s of this.getKeyRange(r,a))this.canSelectItem(s)&&n.add(s)}this.state.setSelectedKeys(n)}getKeyRange(e,r){let n=this.collection.getItem(e),i=this.collection.getItem(r);return n&&i?so(this.collection,n,i)<=0?this.getKeyRangeInternal(e,r):this.getKeyRangeInternal(r,e):[]}getKeyRangeInternal(e,r){var n;if(!((n=this.layoutDelegate)===null||n===void 0)&&n.getKeyRange)return this.layoutDelegate.getKeyRange(e,r);let i=[],o=e;for(;o!=null;){let l=this.collection.getItem(o);if(l&&(l.type==="item"||l.type==="cell"&&this.allowsCellSelection)&&i.push(o),o===r)return i;o=this.collection.getKeyAfter(o)}return[]}getKey(e){let r=this.collection.getItem(e);if(!r||r.type==="cell"&&this.allowsCellSelection)return e;for(;r&&r.type!=="item"&&r.parentKey!=null;)r=this.collection.getItem(r.parentKey);return!r||r.type!=="item"?null:r.key}toggleSelection(e){if(this.selectionMode==="none")return;if(this.selectionMode==="single"&&!this.isSelected(e)){this.replaceSelection(e);return}let r=this.getKey(e);if(r==null)return;let n=new je(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);n.has(r)?n.delete(r):this.canSelectItem(r)&&(n.add(r),n.anchorKey=r,n.currentKey=r),!(this.disallowEmptySelection&&n.size===0)&&this.state.setSelectedKeys(n)}replaceSelection(e){if(this.selectionMode==="none")return;let r=this.getKey(e);if(r==null)return;let n=this.canSelectItem(r)?new je([r],r,r):new je;this.state.setSelectedKeys(n)}setSelectedKeys(e){if(this.selectionMode==="none")return;let r=new je;for(let n of e){let i=this.getKey(n);if(i!=null&&(r.add(i),this.selectionMode==="single"))break}this.state.setSelectedKeys(r)}getSelectAllKeys(){let e=[],r=n=>{for(;n!=null;){if(this.canSelectItem(n)){var i;let l=this.collection.getItem(n);(l==null?void 0:l.type)==="item"&&e.push(n);var o;l!=null&&l.hasChildNodes&&(this.allowsCellSelection||l.type!=="item")&&r((o=(i=_3(Gc(l,this.collection)))===null||i===void 0?void 0:i.key)!==null&&o!==void 0?o:null)}n=this.collection.getKeyAfter(n)}};return r(this.collection.getFirstKey()),e}selectAll(){!this.isSelectAll&&this.selectionMode==="multiple"&&this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&(this.state.selectedKeys==="all"||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new je)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(e,r){this.selectionMode!=="none"&&(this.selectionMode==="single"?this.isSelected(e)&&!this.disallowEmptySelection?this.toggleSelection(e):this.replaceSelection(e):this.selectionBehavior==="toggle"||r&&(r.pointerType==="touch"||r.pointerType==="virtual")?this.toggleSelection(e):this.replaceSelection(e))}isSelectionEqual(e){if(e===this.state.selectedKeys)return!0;let r=this.selectedKeys;if(e.size!==r.size)return!1;for(let n of e)if(!r.has(n))return!1;for(let n of r)if(!e.has(n))return!1;return!0}canSelectItem(e){var r;if(this.state.selectionMode==="none"||this.state.disabledKeys.has(e))return!1;let n=this.collection.getItem(e);return!(!n||!(n==null||(r=n.props)===null||r===void 0)&&r.isDisabled||n.type==="cell"&&!this.allowsCellSelection)}isDisabled(e){var r,n;return this.state.disabledBehavior==="all"&&(this.state.disabledKeys.has(e)||!!(!((n=this.collection.getItem(e))===null||n===void 0||(r=n.props)===null||r===void 0)&&r.isDisabled))}isLink(e){var r,n;return!!(!((n=this.collection.getItem(e))===null||n===void 0||(r=n.props)===null||r===void 0)&&r.href)}getItemProps(e){var r;return(r=this.collection.getItem(e))===null||r===void 0?void 0:r.props}withCollection(e){return new cn(e,this.state,{allowsCellSelection:this.allowsCellSelection,layoutDelegate:this.layoutDelegate||void 0})}constructor(e,r,n){this.collection=e,this.state=r;var i;this.allowsCellSelection=(i=n==null?void 0:n.allowsCellSelection)!==null&&i!==void 0?i:!1,this._isSelectAll=null,this.layoutDelegate=(n==null?void 0:n.layoutDelegate)||null}}function Ou(t){let{filter:e,layoutDelegate:r}=t,n=ea(t),i=u.useMemo(()=>t.disabledKeys?new Set(t.disabledKeys):new Set,[t.disabledKeys]),o=u.useCallback(c=>e?new S0(e(c)):new S0(c),[e]),l=u.useMemo(()=>({suppressTextValueWarning:t.suppressTextValueWarning}),[t.suppressTextValueWarning]),a=Zc(t,o,l),s=u.useMemo(()=>new cn(a,n,{layoutDelegate:r}),[a,n,r]);return Mu(a,s),{collection:a,disabledKeys:i,selectionManager:s}}function r7(t,e){let r=u.useMemo(()=>e?t.collection.filter(e):t.collection,[t.collection,e]),n=t.selectionManager.withCollection(r);return Mu(r,n),{collection:r,selectionManager:n,disabledKeys:t.disabledKeys}}function Mu(t,e){const r=u.useRef(null);u.useEffect(()=>{if(e.focusedKey!=null&&!t.getItem(e.focusedKey)&&r.current){const d=r.current.getItem(e.focusedKey),f=[...r.current.getKeys()].map(m=>{const C=r.current.getItem(m);return(C==null?void 0:C.type)==="item"?C:null}).filter(m=>m!==null),p=[...t.getKeys()].map(m=>{const C=t.getItem(m);return(C==null?void 0:C.type)==="item"?C:null}).filter(m=>m!==null);var n,i;const g=((n=f==null?void 0:f.length)!==null&&n!==void 0?n:0)-((i=p==null?void 0:p.length)!==null&&i!==void 0?i:0);var o,l,a;let y=Math.min(g>1?Math.max(((o=d==null?void 0:d.index)!==null&&o!==void 0?o:0)-g+1,0):(l=d==null?void 0:d.index)!==null&&l!==void 0?l:0,((a=p==null?void 0:p.length)!==null&&a!==void 0?a:0)-1),h=null,v=!1;for(;y>=0;){if(!e.isDisabled(p[y].key)){h=p[y];break}if(y<p.length-1&&!v)y++;else{v=!0;var s,c;y>((s=d==null?void 0:d.index)!==null&&s!==void 0?s:0)&&(y=(c=d==null?void 0:d.index)!==null&&c!==void 0?c:0),y--}}e.setFocusedKey(h?h.key:null)}r.current=t},[t,e])}function Nu(t){var e;let[r,n]=yi(t.selectedKey,(e=t.defaultSelectedKey)!==null&&e!==void 0?e:null,t.onSelectionChange),i=u.useMemo(()=>r!=null?[r]:[],[r]),{collection:o,disabledKeys:l,selectionManager:a}=Ou({...t,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:i,onSelectionChange:c=>{if(c==="all")return;var d;let f=(d=c.values().next().value)!==null&&d!==void 0?d:null;f===r&&t.onSelectionChange&&t.onSelectionChange(f),n(f)}}),s=r!=null?o.getItem(r):null;return{collection:o,disabledKeys:l,selectionManager:a,selectedKey:r,setSelectedKey:n,selectedItem:s}}function ta(t){let[e,r]=yi(t.isOpen,t.defaultOpen||!1,t.onOpenChange);const n=u.useCallback(()=>{r(!0)},[r]),i=u.useCallback(()=>{r(!1)},[r]),o=u.useCallback(()=>{r(!e)},[r,e]);return{isOpen:e,setOpen:r,open:n,close:i,toggle:o}}function n7(t){let{initialItems:e=[],initialSelectedKeys:r,getKey:n=h=>{var v;return(v=h.id)!==null&&v!==void 0?v:h.key},getChildren:i=h=>h.children}=t,[o,l]=u.useState(()=>f(e,new Map)),{items:a,nodeMap:s}=o,[c,d]=u.useState(new Set(r||[]));function f(h=[],v,m){return h==null&&(h=[]),{items:h.map(C=>{let E={key:n(C),parentKey:m??null,value:C,children:null};return E.children=f(i(C),v,E.key).items,v.set(E.key,E),E}),nodeMap:v}}function p(h,v,m,C){let E=v==null?null:C.get(v);if(E==null)return{items:h,nodeMap:C};let F=new Map(C),D=m(E);for(D==null?y(E,F):g(D,F);E&&E.parentKey;){let S=F.get(E.parentKey),O={key:S.key,parentKey:S.parentKey,value:S.value,children:null},K=S.children;D==null&&K&&(K=K.filter(H=>H!==E));var x;O.children=(x=K==null?void 0:K.map(H=>H===E?D:H))!==null&&x!==void 0?x:null,F.set(O.key,O),D=O,E=S}return D==null&&(h=h.filter(S=>S!==E)),{items:h.map(S=>S===E?D:S),nodeMap:F}}function g(h,v){if(v.set(h.key,h),h.children)for(let m of h.children)g(m,v)}function y(h,v){if(v.delete(h.key),h.children)for(let m of h.children)y(m,v)}return{items:a,selectedKeys:c,setSelectedKeys:d,getItem(h){return s.get(h)},insert(h,v,...m){l(({items:C,nodeMap:E})=>{let{items:F,nodeMap:D}=f(m,E,h);return h==null?{items:[...C.slice(0,v),...F,...C.slice(v)],nodeMap:D}:p(C,h,x=>({key:x.key,parentKey:x.parentKey,value:x.value,children:[...x.children.slice(0,v),...F,...x.children.slice(v)]}),D)})},insertBefore(h,...v){let m=s.get(h);if(!m)return;let C=s.get(m.parentKey),F=(C?C.children:a).indexOf(m);var D;this.insert((D=C==null?void 0:C.key)!==null&&D!==void 0?D:null,F,...v)},insertAfter(h,...v){let m=s.get(h);if(!m)return;let C=s.get(m.parentKey),F=(C?C.children:a).indexOf(m);var D;this.insert((D=C==null?void 0:C.key)!==null&&D!==void 0?D:null,F+1,...v)},prepend(h,...v){this.insert(h,0,...v)},append(h,...v){if(h==null)this.insert(null,a.length,...v);else{let m=s.get(h);if(!m)return;this.insert(h,m.children.length,...v)}},remove(...h){if(h.length===0)return;let v=a,m=s,C;for(let F of h)C=p(v,F,()=>null,m),m=C.nodeMap,v=C.items;l(C);let E=new Set(c);for(let F of c)C.nodeMap.has(F)||E.delete(F);d(E)},removeSelectedItems(){this.remove(...c)},move(h,v,m){l(({items:C,nodeMap:E})=>{let F=E.get(h);if(!F)return{items:C,nodeMap:E};let{items:D,nodeMap:x}=p(C,h,()=>null,E);const S={...F,parentKey:v};return v==null?(g(S,x),{items:[...D.slice(0,m),S,...D.slice(m)],nodeMap:x}):p(D,v,O=>({key:O.key,parentKey:O.parentKey,value:O.value,children:[...O.children.slice(0,m),S,...O.children.slice(m)]}),x)})},moveBefore(h,v){l(m=>{let{items:C,nodeMap:E}=m,F=E.get(h);if(!F)return m;var D;let x=(D=F.parentKey)!==null&&D!==void 0?D:null,S=null;var O;x!=null&&(S=(O=E.get(x))!==null&&O!==void 0?O:null);let K=S!=null&&S.children?S.children.indexOf(F):C.indexOf(F);return $0(m,v,S,K,p,g)})},moveAfter(h,v){l(m=>{let{items:C,nodeMap:E}=m,F=E.get(h);if(!F)return m;var D;let x=(D=F.parentKey)!==null&&D!==void 0?D:null,S=null;var O;x!=null&&(S=(O=E.get(x))!==null&&O!==void 0?O:null);let K=S!=null&&S.children?S.children.indexOf(F):C.indexOf(F);return K++,$0(m,v,S,K,p,g)})},update(h,v){l(({items:m,nodeMap:C})=>p(m,h,E=>{let F={key:E.key,parentKey:E.parentKey,value:v,children:null},D=f(i(v),C,F.key);return F.children=D.items,F},C))}}}function $0(t,e,r,n,i,o){let{items:l,nodeMap:a}=t,s=r,c=new Set(e);for(;(s==null?void 0:s.parentKey)!=null;){if(c.has(s.key))throw new Error("Cannot move an item to be a child of itself.");var d;s=(d=a.get(s.parentKey))!==null&&d!==void 0?d:null}let f=n,p=Array.isArray(e)?e:[...e],g=new Map,y=[],h=l,v=a,m=0;function C(x,{inorder:S,postorder:O}){S==null||S(x);var K;if(x!=null)for(let H of(K=x.children)!==null&&K!==void 0?K:[])C(H,{inorder:S,postorder:O}),O==null||O(H)}function E(x){p.includes(x.key)&&g.set(x.key,m++)}function F(x){if(p.includes(x.key)){var S;y.push({...v.get(x.key),parentKey:(S=r==null?void 0:r.key)!==null&&S!==void 0?S:null});let{items:O,nodeMap:K}=i(h,x.key,()=>null,v);h=O,v=K}(x.parentKey===r||x.parentKey===(r==null?void 0:r.key))&&p.includes(x.key)&&(r!=null&&r.children?r.children.indexOf(x):l.indexOf(x))<f&&n--}C({children:l},{inorder:E,postorder:F});let D=y.sort((x,S)=>g.get(x.key)>g.get(S.key)?1:-1);return!r||r.key==null?(D.forEach(x=>{o(x,v)}),{items:[...h.slice(0,n),...D,...h.slice(n)],nodeMap:v}):i(h,r.key,x=>({key:x.key,parentKey:x.parentKey,value:x.value,children:[...x.children.slice(0,n),...D,...x.children.slice(n)]}),v)}function i7(t){let e=ta(t),[r,n]=u.useState(null),[i,o]=u.useState([]),l=()=>{o([]),e.close()};return{focusStrategy:r,...e,open(c=null){n(c),e.open()},toggle(c=null){n(c),e.toggle()},close(){l()},expandedKeysStack:i,openSubmenu:(c,d)=>{o(f=>d>f.length?f:[...f.slice(0,d),c])},closeSubmenu:(c,d)=>{o(f=>f[d]===c?f.slice(0,d):f)}}}function o7(t){let e=ta(t),[r,n]=u.useState(null),i=Nu({...t,onSelectionChange:d=>{t.onSelectionChange!=null&&t.onSelectionChange(d),e.close(),o.commitValidation()}}),o=j4({...t,value:i.selectedKey}),[l,a]=u.useState(!1),[s]=u.useState(i.selectedKey);var c;return{...o,...i,...e,defaultSelectedKey:(c=t.defaultSelectedKey)!==null&&c!==void 0?c:s,focusStrategy:r,open(d=null){i.collection.size!==0&&(n(d),e.open())},toggle(d=null){i.collection.size!==0&&(n(d),e.toggle())},isFocused:l,setFocused:a}}function l7(t){var e,r;let n=Nu({...t,onSelectionChange:t.onSelectionChange?s=>{var c;s!=null&&((c=t.onSelectionChange)===null||c===void 0||c.call(t,s))}:void 0,suppressTextValueWarning:!0,defaultSelectedKey:(r=(e=t.defaultSelectedKey)!==null&&e!==void 0?e:P0(t.collection,t.disabledKeys?new Set(t.disabledKeys):new Set))!==null&&r!==void 0?r:void 0}),{selectionManager:i,collection:o,selectedKey:l}=n,a=u.useRef(l);return u.useEffect(()=>{let s=l;t.selectedKey==null&&(i.isEmpty||s==null||!o.getItem(s))&&(s=P0(o,n.disabledKeys),s!=null&&i.setSelectedKeys([s])),(s!=null&&i.focusedKey==null||!i.isFocused&&s!==a.current)&&i.setFocusedKey(s),a.current=s}),{...n,isDisabled:t.isDisabled||!1}}function P0(t,e){let r=null;if(t){var n,i,o,l;for(r=t.getFirstKey();r!=null&&(e.has(r)||!((i=t.getItem(r))===null||i===void 0||(n=i.props)===null||n===void 0)&&n.isDisabled)&&r!==t.getLastKey();)r=t.getKeyAfter(r);r!=null&&(e.has(r)||!((l=t.getItem(r))===null||l===void 0||(o=l.props)===null||o===void 0)&&o.isDisabled)&&r===t.getLastKey()&&(r=t.getFirstKey())}return r}class a7{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let r=this.keyMap.get(e);var n;return r&&(n=r.prevKey)!==null&&n!==void 0?n:null}getKeyAfter(e){let r=this.keyMap.get(e);var n;return r&&(n=r.nextKey)!==null&&n!==void 0?n:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(e){var r;return(r=this.keyMap.get(e))!==null&&r!==void 0?r:null}at(e){const r=[...this.getKeys()];return this.getItem(r[e])}constructor(e,{expandedKeys:r}={}){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=e,r=r||new Set;let n=a=>{if(this.keyMap.set(a.key,a),a.childNodes&&(a.type==="section"||r.has(a.key)))for(let s of a.childNodes)n(s)};for(let a of e)n(a);let i=null,o=0;for(let[a,s]of this.keyMap)i?(i.nextKey=a,s.prevKey=i.key):(this.firstKey=a,s.prevKey=void 0),s.type==="item"&&(s.index=o++),i=s,i.nextKey=void 0;var l;this.lastKey=(l=i==null?void 0:i.key)!==null&&l!==void 0?l:null}}function s7(t){let{onExpandedChange:e}=t,[r,n]=yi(t.expandedKeys?new Set(t.expandedKeys):void 0,t.defaultExpandedKeys?new Set(t.defaultExpandedKeys):new Set,e),i=ea(t),o=u.useMemo(()=>t.disabledKeys?new Set(t.disabledKeys):new Set,[t.disabledKeys]),l=Zc(t,u.useCallback(s=>new a7(s,{expandedKeys:r}),[r]),null);return u.useEffect(()=>{i.focusedKey!=null&&!l.getItem(i.focusedKey)&&i.setFocusedKey(null)},[l,i.focusedKey]),{collection:l,expandedKeys:r,disabledKeys:o,toggleKey:s=>{n(c7(r,s))},setExpandedKeys:n,selectionManager:new cn(l,i)}}function c7(t,e){let r=new Set(t);return r.has(e)?r.delete(e):r.add(e),r}const u7=u.createContext(null),ol=u.createContext(null),Bu=u.createContext(null),Ru={CollectionRoot({collection:t,renderDropIndicator:e}){return A0(t,null,e)},CollectionBranch({collection:t,parent:e,renderDropIndicator:r}){return A0(t,e,r)}};function A0(t,e,r){return I2({items:e?t.getChildren(e.key):t,dependencies:[r],children(n){var i;let o=n.render(n);if(!r||n.type!=="item")return o;let l=n.key,a=t.getKeyAfter(l);return u.createElement(u.Fragment,null,r({type:"item",key:l,dropPosition:"before"}),o,(a==null||((i=t.getItem(a))===null||i===void 0?void 0:i.type)!=="item")&&r({type:"item",key:l,dropPosition:"after"}))}})}const jt=u.createContext(Ru);function Lu(t){return u.useMemo(()=>t!=null?new Set([t]):null,[t])}const $i=u.createContext({}),Ku=u.createContext(null),d7=u.forwardRef(function(e,r){let{render:n}=u.useContext(Ku);return u.createElement(u.Fragment,null,n(e,r))});function ju(t,e){var r;let n=t==null?void 0:t.renderDropIndicator,i=t==null||(r=t.isVirtualDragging)===null||r===void 0?void 0:r.call(t),o=u.useCallback(l=>{if(i||e!=null&&e.isDropTarget(l))return n?n(l):u.createElement(d7,{target:l})},[e==null?void 0:e.target,i,n]);return t!=null&&t.useDropIndicator?o:void 0}function f7(t,e,r){var n,i;let o=t.focusedKey,l=null;if(!(e==null||(n=e.isVirtualDragging)===null||n===void 0)&&n.call(e)&&(r==null||(i=r.target)===null||i===void 0?void 0:i.type)==="item"){l=r.target.key;var a;r.target.dropPosition==="after"&&(l=(a=r.collection.getKeyAfter(l))!==null&&a!==void 0?a:l)}return u.useMemo(()=>new Set([o,l].filter(s=>s!=null)),[o,l])}const Hu=u.createContext({}),ra=u.createContext({}),Vu=Si("separator",function(e,r){[e,r]=Xe(e,r,ra);let{elementType:n,orientation:i,style:o,className:l,slot:a,...s}=e,c=n||"hr";c==="hr"&&i==="vertical"&&(c="div");let{separatorProps:d}=z3({...s,elementType:n,orientation:i});return u.createElement(c,{...he(e),...d,style:o,className:l??"react-aria-Separator",ref:r,slot:a||void 0})}),na=u.createContext(null),un=u.createContext(null),h7=u.forwardRef(function(e,r){[e,r]=Xe(e,r,na);let n=u.useContext(un);return n?u.createElement(zu,{state:n,props:e,listBoxRef:r}):u.createElement(xi,{content:u.createElement(Vl,e)},i=>u.createElement(p7,{props:e,listBoxRef:r,collection:i}))});function p7({props:t,listBoxRef:e,collection:r}){t={...t,collection:r,children:null,items:null};let{layoutDelegate:n}=u.useContext(jt),i=Ou({...t,layoutDelegate:n});return u.createElement(zu,{state:i,props:t,listBoxRef:e})}function zu({state:t,props:e,listBoxRef:r}){let{filter:n,collectionProps:i,collectionRef:o}=u.useContext(ol)||{};e=u.useMemo(()=>i?{...e,...i}:e,[e,i]);let{dragAndDropHooks:l,layout:a="stack",orientation:s="vertical"}=e;r=nt(u.useMemo(()=>$l(r,o!==void 0?o:null),[o,r]));let c=r7(t,n),{collection:d,selectionManager:f}=c,p=!!(l!=null&&l.useDraggableCollectionState),g=!!(l!=null&&l.useDroppableCollectionState),{direction:y}=Kt(),{disabledBehavior:h,disabledKeys:v}=f,m=zl({usage:"search",sensitivity:"base"}),{isVirtualized:C,layoutDelegate:E,dropTargetDelegate:F,CollectionRoot:D}=u.useContext(jt),x=u.useMemo(()=>e.keyboardDelegate||new Yl({collection:d,collator:m,ref:r,disabledKeys:v,disabledBehavior:h,layout:a,orientation:s,direction:y,layoutDelegate:E}),[d,m,r,h,v,s,y,e.keyboardDelegate,a,E]),{listBoxProps:S}=P3({...e,shouldSelectOnPressUp:p||e.shouldSelectOnPressUp,keyboardDelegate:x,isVirtualized:C},c,r),O=u.useRef(p),K=u.useRef(g);u.useEffect(()=>{process.env.NODE_ENV!=="production"&&(O.current!==p&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),K.current!==g&&console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."))},[p,g]);let H,w,M,Z=!1,_=null,U=u.useRef(null);if(p&&l){H=l.useDraggableCollectionState({collection:d,selectionManager:f,preview:l.renderDragPreview?U:void 0}),l.useDraggableCollection({},H,r);let $=l.DragPreview;_=l.renderDragPreview?u.createElement($,{ref:U},l.renderDragPreview):null}if(g&&l){w=l.useDroppableCollectionState({collection:d,selectionManager:f});let $=l.dropTargetDelegate||F||new l.ListDropTargetDelegate(d,r,{orientation:s,layout:a,direction:y});M=l.useDroppableCollection({keyboardDelegate:x,dropTargetDelegate:$},w,r),Z=w.isDropTarget({type:"root"})}let{focusProps:P,isFocused:k,isFocusVisible:z}=xr(),R={isDropTarget:Z,isEmpty:c.collection.size===0,isFocused:k,isFocusVisible:z,layout:e.layout||"stack",state:c},I=Fe({className:e.className,style:e.style,defaultClassName:"react-aria-ListBox",values:R}),N=null;return c.collection.size===0&&e.renderEmptyState&&(N=u.createElement("div",{role:"option",style:{display:"contents"}},e.renderEmptyState(R))),u.createElement(Ul,null,u.createElement("div",{...he(e),...ie(S,P,M==null?void 0:M.collectionProps),...I,ref:r,slot:e.slot||void 0,onScroll:e.onScroll,"data-drop-target":Z||void 0,"data-empty":c.collection.size===0||void 0,"data-focused":k||void 0,"data-focus-visible":z||void 0,"data-layout":e.layout||"stack","data-orientation":e.orientation||"vertical"},u.createElement(it,{values:[[na,e],[un,c],[$i,{dragAndDropHooks:l,dragState:H,dropState:w}],[ra,{elementType:"div"}],[Ku,{render:b7}],[Bu,{name:"ListBoxSection",render:g7}]]},u.createElement(D,{collection:d,scrollRef:r,persistedKeys:f7(f,l,w),renderDropIndicator:ju(l,w)})),N,_))}function g7(t,e,r,n="react-aria-ListBoxSection"){let i=u.useContext(un),{dragAndDropHooks:o,dropState:l}=u.useContext($i),{CollectionBranch:a}=u.useContext(jt),[s,c]=Ol();var d;let{headingProps:f,groupProps:p}=O3({heading:c,"aria-label":(d=t["aria-label"])!==null&&d!==void 0?d:void 0}),g=Fe({defaultClassName:n,className:t.className,style:t.style,values:{}});return u.createElement("section",{...he(t),...p,...g,ref:e},u.createElement(Hu.Provider,{value:{...f,ref:s}},u.createElement(a,{collection:i.collection,parent:r,renderDropIndicator:ju(o,l)})))}const v7=Si("item",function(e,r,n){let i=nt(r),o=u.useContext(un),{dragAndDropHooks:l,dragState:a,dropState:s}=u.useContext($i),{optionProps:c,labelProps:d,descriptionProps:f,...p}=I3({key:n.key,"aria-label":e==null?void 0:e["aria-label"]},o,i),{hoverProps:g,isHovered:y}=Dr({isDisabled:!p.allowsSelection&&!p.hasAction,onHoverStart:n.props.onHoverStart,onHoverChange:n.props.onHoverChange,onHoverEnd:n.props.onHoverEnd}),h=null;a&&l&&(h=l.useDraggableItem({key:n.key},a));let v=null;s&&l&&(v=l.useDroppableItem({target:{type:"item",key:n.key,dropPosition:"on"}},s,i));let m=a&&a.isDragging(n.key),C=Fe({...e,id:void 0,children:e.children,defaultClassName:"react-aria-ListBoxItem",values:{...p,isHovered:y,selectionMode:o.selectionManager.selectionMode,selectionBehavior:o.selectionManager.selectionBehavior,allowsDragging:!!a,isDragging:m,isDropTarget:v==null?void 0:v.isDropTarget}});u.useEffect(()=>{!n.textValue&&process.env.NODE_ENV!=="production"&&console.warn("A `textValue` prop is required for <ListBoxItem> elements with non-plain text children in order to support accessibility features such as type to select.")},[n.textValue]);let E=e.href?"a":"div";return u.createElement(E,{...ie(c,g,h==null?void 0:h.dragProps,v==null?void 0:v.dropProps),...C,ref:i,"data-allows-dragging":!!a||void 0,"data-selected":p.isSelected||void 0,"data-disabled":p.isDisabled||void 0,"data-hovered":y||void 0,"data-focused":p.isFocused||void 0,"data-focus-visible":p.isFocusVisible||void 0,"data-pressed":p.isPressed||void 0,"data-dragging":m||void 0,"data-drop-target":(v==null?void 0:v.isDropTarget)||void 0,"data-selection-mode":o.selectionManager.selectionMode==="none"?void 0:o.selectionManager.selectionMode},u.createElement(it,{values:[[Ql,{slots:{[qr]:d,label:d,description:f}}]]},C.children))});function b7(t,e){e=nt(e);let{dragAndDropHooks:r,dropState:n}=u.useContext($i),{dropIndicatorProps:i,isHidden:o,isDropTarget:l}=r.useDropIndicator(t,n,e);return o?null:u.createElement(y7,{...t,dropIndicatorProps:i,isDropTarget:l,ref:e})}function m7(t,e){let{dropIndicatorProps:r,isDropTarget:n,...i}=t,o=Fe({...i,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:n}});return u.createElement("div",{...r,...o,role:"option",ref:e,"data-drop-target":n||void 0})}const y7=u.forwardRef(m7),C7=u.createContext({placement:"bottom"}),Uu=u.createContext(null),T0=u.createContext(null),ia=u.forwardRef(function(e,r){[e,r]=Xe(e,r,Uu);let n=u.useContext(la),i=ta(e),o=e.isOpen!=null||e.defaultOpen!=null||!n?i:n,l=S5(r,o.isOpen)||e.isExiting||!1,a=M5(),{direction:s}=Kt();if(a){let c=e.children;return typeof c=="function"&&(c=c({trigger:e.trigger||null,placement:"bottom",isEntering:!1,isExiting:!1,defaultChildren:null})),u.createElement(u.Fragment,null,c)}return o&&!o.isOpen&&!l?null:u.createElement(E7,{...e,triggerRef:e.triggerRef,state:o,popoverRef:r,isExiting:l,dir:s})});function E7({state:t,isExiting:e,UNSTABLE_portalContainer:r,...n}){let i=u.useRef(null),[o,l]=u.useState(0),a=u.useRef(null),s=u.useContext(T0),c=s&&n.trigger==="SubmenuTrigger";ne(()=>{i.current&&t.isOpen&&l(i.current.getBoundingClientRect().width)},[t.isOpen,i]);var d;let{popoverProps:f,underlayProps:p,arrowProps:g,placement:y}=C3({...n,offset:(d=n.offset)!==null&&d!==void 0?d:8,arrowSize:o,groupRef:c?s:a},t),h=n.popoverRef,v=x5(h,!!y)||n.isEntering||!1,m=Fe({...n,defaultClassName:"react-aria-Popover",values:{trigger:n.trigger||null,placement:y,isEntering:v,isExiting:e}}),C=!n.isNonModal||n.trigger==="SubmenuTrigger",[E,F]=u.useState(!1);ne(()=>{h.current&&F(C&&!h.current.querySelector("[role=dialog]"))},[h,C]),u.useEffect(()=>{E&&h.current&&!h.current.contains(document.activeElement)&&vt(h.current)},[E,h]);let D={...f.style,...m.style},x=u.createElement("div",{...ie(he(n),f),...m,role:E?"dialog":void 0,tabIndex:E?-1:void 0,"aria-label":n["aria-label"],"aria-labelledby":n["aria-labelledby"],ref:h,slot:n.slot||void 0,style:D,dir:n.dir,"data-trigger":n.trigger,"data-placement":y,"data-entering":v||void 0,"data-exiting":e||void 0},!n.isNonModal&&u.createElement(b0,{onDismiss:t.close}),u.createElement(C7.Provider,{value:{...g,placement:y,ref:i}},m.children),u.createElement(b0,{onDismiss:t.close}));if(!c)return u.createElement(m0,{...n,shouldContainFocus:E,isExiting:e,portalContainer:r},!n.isNonModal&&t.isOpen&&u.createElement("div",{"data-testid":"underlay",...p,style:{position:"fixed",inset:0}}),u.createElement("div",{ref:a,style:{display:"contents"}},u.createElement(T0.Provider,{value:a},x)));var S;return u.createElement(m0,{...n,shouldContainFocus:E,isExiting:e,portalContainer:(S=r??(s==null?void 0:s.current))!==null&&S!==void 0?S:void 0},x)}const w7=u.createContext({}),D7=u.createContext(null),oa=u.createContext(null),_0=u.createContext(null),ri=u.createContext(null),x7=u.createContext(null),S7=u.forwardRef(function(e,r){return[e,r]=Xe(e,r,D7),u.createElement(xi,{content:u.createElement(Vl,e)},n=>u.createElement(F7,{props:e,collection:n,menuRef:r}))});function F7({props:t,collection:e,menuRef:r}){let{filter:n,collectionProps:i,collectionRef:o}=u.useContext(ol)||{};r=nt(u.useMemo(()=>$l(r,o!==void 0?o:null),[o,r]));let l=u.useMemo(()=>n?e.UNSTABLE_filter(n):e,[e,n]),a=s7({...t,collection:l,children:void 0}),s=u.useContext(_0),{isVirtualized:c,CollectionRoot:d}=u.useContext(jt),{menuProps:f}=B3({...t,...i,isVirtualized:c,onClose:t.onClose||(s==null?void 0:s.close)},a,r),p=Fe({defaultClassName:"react-aria-Menu",className:t.className,style:t.style,values:{isEmpty:a.collection.size===0}}),g=null;return a.collection.size===0&&t.renderEmptyState&&(g=u.createElement("div",{role:"menuitem",style:{display:"contents"}},t.renderEmptyState())),u.createElement(Ul,null,u.createElement("div",{...he(t),...f,...p,ref:r,slot:t.slot||void 0,"data-empty":a.collection.size===0||void 0,onScroll:t.onScroll},u.createElement(it,{values:[[oa,a],[ra,{elementType:"div"}],[Bu,{name:"MenuSection",render:P7}],[x7,{parentMenuRef:r,shouldUseVirtualFocus:i==null?void 0:i.shouldUseVirtualFocus}],[ll,null],[ol,null],[ri,a.selectionManager],[_0,s??i7({})]]},u.createElement(d,{collection:a.collection,persistedKeys:Lu(a.selectionManager.focusedKey),scrollRef:r})),g))}class $7 extends cn{get focusedKey(){return this.parent.focusedKey}get isFocused(){return this.parent.isFocused}setFocusedKey(e,r){return this.parent.setFocusedKey(e,r)}setFocused(e){this.parent.setFocused(e)}get childFocusStrategy(){return this.parent.childFocusStrategy}constructor(e,r){super(e.collection,r),this.parent=e}}function P7(t,e,r,n="react-aria-MenuSection"){var i,o;let l=u.useContext(oa),{CollectionBranch:a}=u.useContext(jt),[s,c]=Ol();var d;let{headingProps:f,groupProps:p}=L3({heading:c,"aria-label":(d=r.props["aria-label"])!==null&&d!==void 0?d:void 0}),g=Fe({defaultClassName:n,className:(i=r.props)===null||i===void 0?void 0:i.className,style:(o=r.props)===null||o===void 0?void 0:o.style,values:{}}),y=u.useContext(ri),h=ea(t),v=t.selectionMode!=null?new $7(y,h):y;return u.createElement("section",{...he(t),...p,...g,ref:e},u.createElement(it,{values:[[Hu,{...f,ref:s}],[ri,v]]},u.createElement(a,{collection:l.collection,parent:r})))}const ll=u.createContext(null),k0=Si("item",function(e,r,n){var i;[e,r]=Xe(e,r,ll);let o=(i=Ci(ll))===null||i===void 0?void 0:i.id,l=u.useContext(oa),a=nt(r),s=u.useContext(ri),{menuItemProps:c,labelProps:d,descriptionProps:f,keyboardShortcutProps:p,...g}=R3({...e,id:o,key:n.key,selectionManager:s},l,a),{hoverProps:y,isHovered:h}=Dr({isDisabled:g.isDisabled}),v=Fe({...e,id:void 0,children:n.rendered,defaultClassName:"react-aria-MenuItem",values:{...g,isHovered:h,isFocusVisible:g.isFocusVisible,selectionMode:s.selectionMode,selectionBehavior:s.selectionBehavior,hasSubmenu:!!e["aria-haspopup"],isOpen:e["aria-expanded"]==="true"}}),m=e.href?"a":"div";return u.createElement(m,{...ie(c,y),...v,ref:a,"data-disabled":g.isDisabled||void 0,"data-hovered":h||void 0,"data-focused":g.isFocused||void 0,"data-focus-visible":g.isFocusVisible||void 0,"data-pressed":g.isPressed||void 0,"data-selected":g.isSelected||void 0,"data-selection-mode":s.selectionMode==="none"?void 0:s.selectionMode,"data-has-submenu":!!e["aria-haspopup"]||void 0,"data-open":e["aria-expanded"]==="true"||void 0},u.createElement(it,{values:[[Ql,{slots:{[qr]:d,label:d,description:f}}],[w7,p]]},v.children))}),A7=u.createContext(null),la=u.createContext(null),T7=u.forwardRef(function(e,r){let n=e["aria-labelledby"];[e,r]=Xe(e,r,A7);let{dialogProps:i,titleProps:o}=K3({...e,"aria-labelledby":n},r),l=u.useContext(la);!i["aria-label"]&&!i["aria-labelledby"]&&(e["aria-labelledby"]?i["aria-labelledby"]=e["aria-labelledby"]:process.env.NODE_ENV!=="production"&&console.warn('If a Dialog does not contain a <Heading slot="title">, it must have an aria-label or aria-labelledby attribute for accessibility.'));let a=Fe({defaultClassName:"react-aria-Dialog",className:e.className,style:e.style,children:e.children,values:{close:(l==null?void 0:l.close)||(()=>{})}});return u.createElement("section",{...he(e),...i,...a,ref:r,slot:e.slot||void 0},u.createElement(it,{values:[[If,{slots:{[qr]:{},title:{...o,level:2}}}],[Jl,{slots:{[qr]:{},close:{onPress:()=>l==null?void 0:l.close()}}}]]},a.children))}),Wu=u.createContext(null),Zu=u.createContext(null),_7=u.forwardRef(function(e,r){[e,r]=Xe(e,r,Wu);let{children:n,isDisabled:i=!1,isInvalid:o=!1,isRequired:l=!1}=e,a=u.useMemo(()=>typeof n=="function"?n({isOpen:!1,isDisabled:i,isInvalid:o,isRequired:l,isFocused:!1,isFocusVisible:!1,defaultChildren:null}):n,[n,i,o,l]);return u.createElement(xi,{content:a},s=>u.createElement(k7,{props:e,collection:s,selectRef:r}))});function k7({props:t,selectRef:e,collection:r}){let{validationBehavior:n}=Ci(u7)||{};var i,o;let l=(o=(i=t.validationBehavior)!==null&&i!==void 0?i:n)!==null&&o!==void 0?o:"native",a=o7({...t,collection:r,children:void 0,validationBehavior:l}),{isFocusVisible:s,focusProps:c}=xr({within:!0}),d=u.useRef(null),[f,p]=Ol(!t["aria-label"]&&!t["aria-labelledby"]),{labelProps:g,triggerProps:y,valueProps:h,menuProps:v,descriptionProps:m,errorMessageProps:C,...E}=j3({...k5(t),label:p,validationBehavior:l},a,d),[F,D]=u.useState(null),x=u.useCallback(()=>{d.current&&D(d.current.offsetWidth+"px")},[d]);Ho({ref:d,onResize:x});let S=u.useMemo(()=>({isOpen:a.isOpen,isFocused:a.isFocused,isFocusVisible:s,isDisabled:t.isDisabled||!1,isInvalid:E.isInvalid||!1,isRequired:t.isRequired||!1}),[a.isOpen,a.isFocused,s,t.isDisabled,E.isInvalid,t.isRequired]),O=Fe({...t,values:S,defaultClassName:"react-aria-Select"}),K=he(t);delete K.id;let H=u.useRef(null);return u.createElement(it,{values:[[Wu,t],[Zu,a],[I7,h],[Iu,{...g,ref:f,elementType:"span"}],[Jl,{...y,ref:d,isPressed:a.isOpen}],[la,a],[Uu,{trigger:"Select",triggerRef:d,scrollRef:H,placement:"bottom start",style:{"--trigger-width":F},"aria-labelledby":v["aria-labelledby"]}],[na,{...v,ref:H}],[un,a],[Ql,{slots:{description:m,errorMessage:C}}],[e7,E]]},u.createElement("div",{...K,...O,...c,ref:e,slot:t.slot||void 0,"data-focused":a.isFocused||void 0,"data-focus-visible":s||void 0,"data-open":a.isOpen||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":E.isInvalid||void 0,"data-required":t.isRequired||void 0}),u.createElement(V3,{autoComplete:t.autoComplete,state:a,triggerRef:d,label:p,name:t.name,isDisabled:t.isDisabled}))}const I7=u.createContext(null),Pi=u.createContext(null),yr=u.createContext(null),O7=u.forwardRef(function(e,r){[e,r]=Xe(e,r,Pi);let{children:n,orientation:i="horizontal"}=e;return n=u.useMemo(()=>typeof n=="function"?n({orientation:i,defaultChildren:null}):n,[n,i]),u.createElement(xi,{content:n},o=>u.createElement(M7,{props:e,collection:o,tabsRef:r}))});function M7({props:t,tabsRef:e,collection:r}){let{orientation:n="horizontal"}=t,i=l7({...t,collection:r,children:void 0}),{focusProps:o,isFocused:l,isFocusVisible:a}=xr({within:!0}),s=u.useMemo(()=>({orientation:n,isFocusWithin:l,isFocusVisible:a}),[n,l,a]),c=Fe({...t,defaultClassName:"react-aria-Tabs",values:s});return u.createElement("div",{...he(t),...o,...c,ref:e,slot:t.slot||void 0,"data-focused":l||void 0,"data-orientation":n,"data-focus-visible":a||void 0,"data-disabled":i.isDisabled||void 0},u.createElement(it,{values:[[Pi,t],[yr,i]]},c.children))}const N7=u.forwardRef(function(e,r){return u.useContext(yr)?u.createElement(B7,{props:e,forwardedRef:r}):u.createElement(Vl,e)});function B7({props:t,forwardedRef:e}){let r=u.useContext(yr),{CollectionRoot:n}=u.useContext(jt),{orientation:i="horizontal",keyboardActivation:o="automatic"}=Ci(Pi),l=nt(e),{tabListProps:a}=G3({...t,orientation:i,keyboardActivation:o},r,l),s=Fe({...t,children:null,defaultClassName:"react-aria-TabList",values:{orientation:i,state:r}}),c=he(t);return delete c.id,u.createElement("div",{...c,...a,ref:l,...s,"data-orientation":i||void 0},u.createElement(n,{collection:r.collection,persistedKeys:Lu(r.selectionManager.focusedKey)}))}const R7=Si("item",(t,e,r)=>{let n=u.useContext(yr),i=nt(e),{tabProps:o,isSelected:l,isDisabled:a,isPressed:s}=U3({key:r.key,...t},n,i),{focusProps:c,isFocused:d,isFocusVisible:f}=xr(),{hoverProps:p,isHovered:g}=Dr({isDisabled:a,onHoverStart:t.onHoverStart,onHoverEnd:t.onHoverEnd,onHoverChange:t.onHoverChange}),y=Fe({...t,id:void 0,children:r.rendered,defaultClassName:"react-aria-Tab",values:{isSelected:l,isDisabled:a,isFocused:d,isFocusVisible:f,isPressed:s,isHovered:g}}),h=r.props.href?"a":"div";return u.createElement(h,{...ie(o,c,p,y),ref:i,"data-selected":l||void 0,"data-disabled":a||void 0,"data-focused":d||void 0,"data-focus-visible":f||void 0,"data-pressed":s||void 0,"data-hovered":g||void 0},y.children)}),L7=Bl(function(e,r){const n=u.useContext(yr);let i=nt(r),{tabPanelProps:o}=W3(e,n,i),{focusProps:l,isFocused:a,isFocusVisible:s}=xr(),c=n.selectedKey===e.id,d=Fe({...e,defaultClassName:"react-aria-TabPanel",values:{isFocused:a,isFocusVisible:s,isInert:!c,state:n}});if(!c&&!e.shouldForceMount)return null;let f=he(e);delete f.id;let p=c?ie(f,o,l,d):d;return u.createElement("div",{...p,ref:i,"data-focused":a||void 0,"data-focus-visible":s||void 0,inert:E5(!c),"data-inert":c?void 0:"true"},u.createElement(it,{values:[[Pi,null],[yr,null]]},u.createElement(jt.Provider,{value:Ru},d.children)))}),kt=({options:t,isOpen:e=!1,onOpenChange:r,children:n,selectedValues:i=[],onSelectValue:o,topMessage:l,shouldCloseOnInteractOutside:a})=>{const s=u.useId(),c=u.useRef(null),d=f=>{r==null||r(f)};return b.jsxs(b.Fragment,{children:[b.jsx("div",{className:"c__dropdown-menu-trigger",ref:c,id:s,onClick:f=>{f.stopPropagation(),f.preventDefault()},children:n}),b.jsx(ia,{triggerRef:c,style:{marginTop:"0px"},isOpen:e,shouldCloseOnInteractOutside:a,onOpenChange:d,children:b.jsxs(S7,{className:"c__dropdown-menu","aria-labelledby":s,children:[l&&b.jsx(k0,{className:"c__dropdown-menu-item-top-message",children:l}),t.map(f=>f.isHidden?null:b.jsxs(u.Fragment,{children:[b.jsxs(k0,{className:"c__dropdown-menu-item","aria-label":f.label,onAction:()=>{var p;f.value&&(o==null||o(f.value)),(p=f.callback)==null||p.call(f),d(!1)},isDisabled:f.isDisabled,children:[f.icon,b.jsxs("div",{className:"c__dropdown-menu-item__label-container",children:[b.jsx("div",{className:"c__dropdown-menu-item__label","aria-label":f.label,children:f.label}),f.subText&&b.jsx("div",{className:"c__dropdown-menu-item__label-subtext",children:f.subText})]}),(f.isChecked||f.value&&i.includes(f.value))&&b.jsx("span",{className:"material-icons checked",children:"check"})]},f.label),f.showSeparator&&b.jsx(Vu,{})]},f.label))]})})]})},bt=()=>{const[t,e]=u.useState(!1);return{isOpen:t,setIsOpen:e}},I0="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3e%3cpath%20d='M10%206v2H5v11h11v-5h2v6a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V7a1%201%200%200%201%201-1h6Zm11-3v8h-2V6.413l-7.793%207.794-1.414-1.414L17.585%205H13V3h8Z'%20/%3e%3c/svg%3e",K7="data:image/svg+xml,%3csvg%20width='109'%20height='60'%20viewBox='0%200%20109%2060'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20%3e%3crect%20width='33'%20height='12'%20fill='url(%23paint0_linear_5795_13250)'%20/%3e%3cg%20clip-path='url(%23clip0_5795_13250)'%3e%3cg%20clip-path='url(%23clip1_5795_13250)'%3e%3cpath%20d='M8.475%206.8999C7.8%207.3499%207.2%207.8749%206.75%208.4749V8.3999C7.05%208.0249%207.275%207.6499%207.5%207.2749C7.8%207.1249%208.025%206.8999%208.25%206.6749C8.625%206.2999%209%205.9249%209.525%205.6999C9.75%205.6249%209.9%205.6249%2010.125%205.6999C10.05%205.7749%209.975%205.7749%209.825%205.8499H9.75V5.7749C9.525%205.9999%209.225%206.1499%209%206.4499C8.925%206.5999%208.85%206.8999%208.475%206.8999C8.55%206.8999%208.475%206.9749%208.475%206.8999ZM9.675%2010.3499C9.675%2010.2749%209.6%2010.3499%209.525%2010.3499L9.45%2010.4249L9.375%2010.4999L9.225%2010.6499C9.225%2010.6499%209.3%2010.7249%209.375%2010.6499L9.45%2010.5749C9.525%2010.5749%209.6%2010.4999%209.6%2010.4249C9.675%2010.4249%209.675%2010.4249%209.675%2010.3499ZM8.475%207.1249C8.55%207.1249%208.625%207.1249%208.625%207.0499C8.625%206.9749%208.7%206.9749%208.7%206.9749V6.8999C8.55%206.9749%208.475%207.0499%208.475%207.1249ZM10.275%208.5499C10.35%208.4749%2010.425%208.4749%2010.5%208.4749C11.025%208.3999%2011.55%208.2499%2012.075%208.0249C11.475%207.6499%2010.8%207.3499%2010.125%207.2749H10.2C10.125%207.1999%209.975%207.1999%209.825%207.1249H9.9C9.75%207.0499%209.525%207.0499%209.375%206.9749C9.45%206.9749%209.525%206.8249%209.525%206.7499H9.45C9.15%206.8999%209%207.1249%208.85%207.4249C9%207.4999%209.225%207.4249%209.375%207.4999H9.15C9.075%207.4999%209%207.5749%209%207.6499H9.075C9%207.6499%209%207.7249%208.925%207.7249C9%207.7999%209.075%207.7249%209.225%207.7249C9.225%207.7999%209.3%207.7999%209.3%207.7999C9.225%207.7999%209.15%207.8749%209.075%208.0249C9%208.1749%208.925%208.1749%208.85%208.2499V8.3249C8.625%208.4749%208.4%208.6999%208.175%208.9249V8.9999C8.1%209.0749%208.025%209.0749%208.025%209.1499V9.2249C8.325%209.1499%208.475%208.9249%208.775%208.8499L9.225%208.6249C9.375%208.6249%209.45%208.5499%209.6%208.5499V8.6249H9.75C9.75%208.6999%209.6%208.6249%209.675%208.6999C9.75%208.7749%209.9%208.7749%209.975%208.6999C10.125%208.5499%2010.2%208.5499%2010.275%208.5499ZM9.3%209.7499C9%209.8999%208.625%209.8999%208.4%2010.0499C8.4%2010.0499%208.4%2010.1249%208.325%2010.1249C8.325%2010.1249%208.25%2010.1249%208.25%2010.1999C8.175%2010.1999%208.175%2010.2749%208.1%2010.3499L8.025%2010.4249C8.025%2010.4249%208.025%2010.4999%208.1%2010.4249L8.175%2010.3499C8.175%2010.3499%208.1%2010.4249%208.1%2010.4999V10.7249L8.025%2010.7999C8.025%2010.7999%208.025%2010.8749%207.95%2010.8749L7.875%2010.9499L8.025%2010.7999L8.1%2010.7249H8.25C8.25%2010.7249%208.25%2010.6499%208.325%2010.6499C8.4%2010.5749%208.475%2010.4999%208.55%2010.4999H8.625C8.7%2010.4249%208.85%2010.4249%208.925%2010.3499C9%2010.2749%209.075%2010.1999%209.15%2010.1999C9.3%2010.0499%209.525%209.9749%209.75%209.8249C9.675%209.8249%209.6%209.7499%209.525%209.7499C9.525%209.8249%209.375%209.7499%209.3%209.7499ZM22.5%206.5249C22.425%206.6749%2022.2%206.6749%2022.05%206.7499C21.9%206.8999%2022.05%207.0499%2022.125%207.1249C22.2%207.3499%2021.975%207.4999%2021.825%207.4999C21.9%207.5749%2021.975%207.5749%2021.975%207.5749C21.975%207.7249%2022.125%207.7249%2022.05%207.8749C21.975%208.0249%2021.675%208.0999%2021.825%208.2499C21.9%208.3999%2021.9%208.6249%2021.825%208.7749C21.75%208.9249%2021.6%209.0749%2021.45%209.1499C21.3%209.2249%2021.15%209.2249%2021%209.1499C20.925%209.1499%2020.925%209.0749%2020.85%209.0749C20.475%208.9999%2020.1%208.9249%2019.725%208.9249C19.65%208.9249%2019.5%208.9999%2019.425%208.9999C19.35%209.0749%2019.2%209.1499%2019.125%209.2249L19.05%209.2999C18.975%209.3749%2018.9%209.4499%2018.9%209.5249C18.825%209.6749%2018.75%209.8249%2018.75%209.9749C18.6%2010.3499%2018.6%2010.7249%2018.75%2011.0249C18.75%2011.0249%2019.5%2011.2499%2020.025%2011.4749C20.175%2011.5499%2020.4%2011.6249%2020.55%2011.7749L21.825%2012.5249H9.9L11.1%2011.7749C11.55%2011.4749%2012.075%2011.2499%2012.6%2011.0249C12.975%2010.8749%2013.425%2010.6499%2013.725%2010.3499C13.875%2010.1999%2013.95%2010.0499%2014.1%209.9749C14.325%209.6749%2014.55%209.4499%2014.85%209.2249L15.075%208.9999C15.075%208.9999%2015.075%208.9249%2015.15%208.9249C15%208.9999%2015%209.0749%2014.85%209.0749C14.85%209.0749%2014.775%209.0749%2014.85%208.9999C14.925%208.9249%2015%208.8499%2015.075%208.8499V8.7749C14.775%208.7749%2014.55%208.9249%2014.325%209.1499H14.175C13.8%209.2999%2013.575%209.5249%2013.275%209.6749V9.5999C13.125%209.6749%2012.975%209.7499%2012.9%209.7499C12.75%209.7499%2012.525%209.8249%2012.3%209.7499C12%209.7499%2011.775%209.8249%2011.475%209.8999C11.325%209.9749%2011.175%209.9749%2011.025%2010.0499V10.1249L10.875%2010.2749C10.725%2010.3499%2010.65%2010.4249%2010.5%2010.5749L10.125%2010.9499H10.05L10.125%2010.8749L10.2%2010.7999C10.2%2010.7249%2010.275%2010.7249%2010.275%2010.6499C10.425%2010.5749%2010.5%2010.4249%2010.65%2010.3499C10.65%2010.3499%2010.65%2010.2749%2010.725%2010.2749L10.65%2010.3499C10.575%2010.4249%2010.575%2010.4999%2010.5%2010.4999V10.4249V10.3499L10.65%2010.1999C10.725%2010.1249%2010.8%2010.1249%2010.875%2010.0499H10.95C10.8%2010.1249%2010.725%2010.1249%2010.575%2010.1999H10.5H10.425C10.425%2010.1249%2010.5%2010.1249%2010.575%2010.0499H10.65C11.4%209.4499%2012.375%209.5999%2013.2%209.2999C13.275%209.2249%2013.35%209.2249%2013.425%209.1499C13.5%209.0749%2013.65%208.9999%2013.8%208.9249C13.95%208.7749%2014.1%208.6249%2014.175%208.3999V8.3249C13.875%208.6249%2013.575%208.8499%2013.2%209.0749C12.75%209.2249%2012.225%209.3749%2011.7%209.3749C11.7%209.2999%2011.775%209.2999%2011.775%209.2999C11.775%209.2249%2011.85%209.2249%2011.85%209.1499H11.925C11.925%209.1499%2011.925%209.0749%2012%209.0749H12.075C12%208.9999%2011.85%209.1499%2011.775%209.0749C11.85%208.9999%2011.775%208.9249%2011.85%208.9249H11.925C11.925%208.9249%2011.925%208.8499%2012%208.8499C12.375%208.6249%2012.675%208.4749%2012.975%208.3249C12.9%208.3249%2012.9%208.3999%2012.825%208.3249C12.9%208.3249%2012.825%208.2499%2012.9%208.2499C13.125%208.1749%2013.35%208.0249%2013.575%207.9499C13.5%207.9499%2013.425%208.0249%2013.35%207.9499C13.425%207.9499%2013.425%207.8749%2013.5%207.8749V7.7999C13.5%207.7249%2013.575%207.7999%2013.65%207.7249H13.575C13.65%207.6499%2013.725%207.5749%2013.875%207.5749C13.875%207.4999%2013.8%207.5749%2013.8%207.4999H13.875H13.5C13.425%207.4999%2013.5%207.4249%2013.5%207.4249C13.575%207.2749%2013.65%207.0499%2013.725%206.8999H13.65C13.425%207.1249%2013.05%207.2749%2012.75%207.3499H12.6C12.45%207.4249%2012.3%207.4249%2012.225%207.3499C12.15%207.2749%2012.075%207.1999%2012%207.1999C11.85%207.1249%2011.625%206.9749%2011.4%206.8999C10.875%206.7499%2010.275%206.5999%209.675%206.6749C9.9%206.5999%2010.2%206.5249%2010.5%206.4499C10.875%206.2999%2011.25%206.2249%2011.625%206.2249H11.4C11.1%206.2249%2010.725%206.2999%2010.425%206.3749C10.2%206.4499%209.975%206.5249%209.75%206.5249C9.6%206.5999%209.525%206.6749%209.375%206.6749V6.5999C9.6%206.2999%209.9%206.0749%2010.2%205.9999C10.575%205.9249%2011.025%205.9999%2011.4%206.0749C11.7%206.0749%2012%206.1499%2012.225%206.2249C12.3%206.2249%2012.375%206.3749%2012.45%206.4499C12.6%206.5249%2012.75%206.4499%2012.825%206.5249V6.3749C12.9%206.2999%2013.05%206.3749%2013.125%206.3749C13.275%206.2249%2012.975%206.0749%2012.9%205.9249V5.8499C13.05%205.9999%2013.275%206.1499%2013.425%206.2999C13.5%206.3749%2013.8%206.4499%2013.8%206.2999C13.65%206.0749%2013.5%205.8499%2013.275%205.6249V5.4749C13.2%205.4749%2013.2%205.4749%2013.2%205.3999C13.125%205.3249%2013.125%205.2499%2013.125%205.1749C13.05%205.0249%2013.125%204.8749%2013.05%204.7999C12.975%204.6499%2012.975%204.5749%2012.975%204.4249C12.9%204.0499%2012.825%203.6749%2012.75%203.3749C12.675%202.9249%2012.975%202.6249%2013.2%202.2499C13.35%201.9499%2013.575%201.7249%2013.8%201.4999C13.875%201.1999%2014.025%200.974902%2014.25%200.749902C14.475%200.524902%2014.7%200.374902%2014.925%200.299902C15.15%200.224902%2015.3%200.149902%2015.525%200.0749024L17.4%20-0.225098H18.75L20.1%20-9.76473e-05C20.175%20-9.76473e-05%2020.25%20-9.76324e-05%2020.25%200.0749024C20.325%200.149902%2020.475%200.224902%2020.55%200.224902C20.7%200.299902%2020.85%200.449902%2021%200.599902C21.075%200.674902%2021.15%200.824902%2021.075%200.899902C21%200.974902%2021%201.1999%2020.925%201.1999C20.775%201.2749%2020.625%201.2749%2020.475%201.2749C20.4%201.2749%2020.325%201.2749%2020.175%201.1999C20.55%201.3499%2020.85%201.4999%2021.075%201.7999C21.075%201.8749%2021.225%201.8749%2021.3%201.8749V1.9499C21.225%202.0249%2021.225%202.0249%2021.225%202.0999H21.3C21.375%202.0249%2021.375%201.7999%2021.525%201.8749C21.675%201.9499%2021.675%202.0999%2021.6%202.1749C21.525%202.2499%2021.45%202.3249%2021.3%202.3999V2.5499C21.375%202.6249%2021.375%202.6999%2021.45%202.8499C21.525%202.9999%2021.525%203.2249%2021.6%203.3749C21.675%203.7499%2021.75%204.0499%2021.75%204.4249C21.75%204.5749%2021.675%204.7999%2021.75%204.9499L21.975%205.3999C22.05%205.5499%2022.125%205.6249%2022.2%205.7749C22.35%205.9999%2022.65%206.2249%2022.5%206.5249ZM10.8%2010.4249C10.725%2010.4249%2010.725%2010.4999%2010.725%2010.4999C10.725%2010.4999%2010.8%2010.4999%2010.8%2010.4249ZM10.125%208.9249C10.125%208.9999%2010.2%208.9249%2010.2%208.9249C10.35%208.8499%2010.575%208.9249%2010.65%208.7749C10.575%208.6999%2010.5%208.7749%2010.5%208.6999C10.425%208.6999%2010.35%208.6999%2010.35%208.7749C10.275%208.8499%2010.125%208.8499%2010.125%208.9249Z'%20fill='white'%20/%3e%3cpath%20d='M20.925%204.3501C21%204.3501%2021.15%204.3501%2021.15%204.4251C21.075%204.5751%2020.85%204.6501%2020.7%204.8001H20.625C20.55%204.8751%2020.55%204.9501%2020.55%204.9501H20.325C20.4%205.0251%2020.55%205.1001%2020.7%205.1001L20.775%205.1751H20.925V5.2501C20.85%205.3251%2020.775%205.3251%2020.625%205.3251C20.775%205.4001%2021%205.4001%2021.15%205.3251C21.3%205.2501%2021.15%205.0251%2021.225%204.9501C21.15%204.9501%2021.225%204.8751%2021.15%204.8751C21.225%204.8001%2021.225%204.7251%2021.3%204.7251C21.375%204.7251%2021.375%204.7251%2021.45%204.6501C21.45%204.5751%2021.375%204.5751%2021.375%204.5001C21.525%204.4251%2021.6%204.2751%2021.6%204.1251C21.6%204.0501%2021.375%204.0501%2021.3%203.9751H20.925C20.775%203.9751%2020.7%204.0501%2020.55%204.0501L20.1%204.2751C20.25%204.2001%2020.4%204.2001%2020.625%204.1251C20.625%204.3501%2020.775%204.3501%2020.925%204.3501Z'%20fill='%237C7C7C'%20/%3e%3c/g%3e%3c/g%3e%3cpath%20d='M5.355%2025.5762C6.1866%2025.5762%206.9048%2025.2864%207.4088%2024.8076V23.2704H5.166V21.7458H9.198V25.4502C8.379%2026.5464%207.0056%2027.252%205.355%2027.252C2.4948%2027.252%200.5418%2025.11%200.5418%2022.59C0.5418%2020.07%202.4444%2017.928%205.229%2017.928C6.8292%2017.928%208.1396%2018.6462%208.946%2019.7172L7.5348%2020.8134C7.0308%2020.0952%206.237%2019.6038%205.229%2019.6038C3.5658%2019.6038%202.3814%2020.9016%202.3814%2022.59C2.3814%2024.2784%203.6288%2025.5762%205.355%2025.5762ZM15.2175%2017.928C17.9895%2017.928%2019.8921%2020.07%2019.8921%2022.59C19.8921%2025.11%2017.9895%2027.252%2015.2175%2027.252C12.4329%2027.252%2010.5303%2025.11%2010.5303%2022.59C10.5303%2020.07%2012.4329%2017.928%2015.2175%2017.928ZM15.2175%2025.5762C16.8681%2025.5762%2018.0525%2024.2784%2018.0525%2022.59C18.0525%2020.9016%2016.8681%2019.6038%2015.2175%2019.6038C13.5543%2019.6038%2012.3699%2020.9016%2012.3699%2022.59C12.3699%2024.2784%2013.5543%2025.5762%2015.2175%2025.5762ZM26.8084%2023.6988V18.18H28.5976V23.5476C28.5976%2025.866%2027.2368%2027.252%2025.0192%2027.252C22.8142%2027.252%2021.4534%2025.866%2021.4534%2023.5476V18.18H23.2426V23.6988C23.2426%2024.8832%2023.9104%2025.5762%2025.0318%2025.5762C26.128%2025.5762%2026.8084%2024.8832%2026.8084%2023.6988ZM29.7114%2018.18H31.614L34.2222%2025.0722L36.8304%2018.18H38.733L35.394%2027H33.0504L29.7114%2018.18ZM40.095%2027V18.18H45.2358V19.6668H41.8842V21.7584H44.7318V23.2452H41.8842V25.5132H45.2358V27H40.095ZM47.3149%2027V18.18H50.0113C51.9517%2018.18%2053.1487%2019.1754%2053.1487%2020.8134C53.1487%2021.8844%2052.6321%2022.6782%2051.7249%2023.094L54.4843%2027H52.3801L50.0239%2023.4342H49.1041V27H47.3149ZM50.1121%2019.6668H49.1041V21.9474H50.1121C50.8681%2021.9474%2051.3091%2021.5064%2051.3091%2020.7882C51.3091%2020.1204%2050.8681%2019.6668%2050.1121%2019.6668ZM55.6176%2027V18.18H57.9108L61.8546%2024.5556V18.18H63.6438V27H61.3506L57.4068%2020.6244V27H55.6176ZM66.1105%2027V18.18H71.2513V19.6668H67.8997V21.7584H70.7473V23.2452H67.8997V25.5132H71.2513V27H66.1105ZM73.3304%2027V18.18H75.5606L77.7152%2021.8844L79.8698%2018.18H82.1V27H80.3108V20.6748L78.3452%2023.976H77.0852L75.1196%2020.6748V27H73.3304ZM84.5617%2027V18.18H89.7025V19.6668H86.3509V21.7584H89.1985V23.2452H86.3509V25.5132H89.7025V27H84.5617ZM91.7816%2027V18.18H94.0748L98.0186%2024.5556V18.18H99.8078V27H97.5146L93.5708%2020.6244V27H91.7816ZM101.367%2019.8054V18.18H108.6V19.8054H105.878V27H104.089V19.8054H101.367Z'%20fill='%23161616'%20/%3e%3cg%20clip-path='url(%23clip2_5795_13250)'%3e%3cg%20clip-path='url(%23clip3_5795_13250)'%3e%3cg%20clip-path='url(%23clip4_5795_13250)'%3e%3cg%20clip-path='url(%23clip5_5795_13250)'%3e%3cg%20clip-path='url(%23clip6_5795_13250)'%3e%3cpath%20d='M30.775%2056.45C31.15%2055.5%2030.7%2055.125%2030.15%2055.125C29.225%2055.125%2028.175%2056.75%2028.175%2058.05C28.175%2058.675%2028.475%2059%2028.925%2059C29.45%2059%2030%2058.5%2030.475%2057.625H30.225C29.925%2058%2029.575%2058.275%2029.25%2058.275C28.925%2058.275%2028.75%2058.075%2028.75%2057.625C28.7558%2057.4396%2028.781%2057.2552%2028.825%2057.075L30.775%2056.45ZM29.775%2055.675C30.05%2055.675%2030.275%2055.875%2030.15%2056.325L28.95%2056.65C29.15%2056.1%2029.5%2055.65%2029.8%2055.65L29.775%2055.675Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cpath%20d='M30.15%2054.6999L31.275%2053.6749V53.5249H30.525L29.85%2054.6999H30.175H30.15Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip7_5795_13250)'%3e%3cpath%20d='M25.975%2055.675H26.625L25.575%2058.525C25.5421%2058.576%2025.5242%2058.6352%2025.5232%2058.6959C25.5222%2058.7565%2025.5382%2058.8163%2025.5694%2058.8683C25.6007%2058.9204%2025.6458%2058.9626%2025.6998%2058.9903C25.7538%2059.018%2025.8145%2059.03%2025.875%2059.025C26.625%2059.025%2027.475%2058.375%2027.825%2057.475H27.65C27.3359%2057.9021%2026.8865%2058.2105%2026.375%2058.35L27.3%2055.675H28.3L28.425%2055.275H27.475L27.8%2054.25H27.45L26.775%2055.275L25.975%2055.375V55.675Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip8_5795_13250)'%3e%3cpath%20d='M25.3%2055.5249C25.375%2055.2749%2025.2%2055.1249%2025.05%2055.1249C24.5%2055.1249%2023.8%2055.6499%2023.55%2056.3749H23.725C23.9026%2056.0881%2024.1778%2055.875%2024.5%2055.7749L23.425%2058.5999C23.4034%2058.6422%2023.3932%2058.6894%2023.3952%2058.7368C23.3973%2058.7843%2023.4116%2058.8304%2023.4368%2058.8707C23.4619%2058.911%2023.4971%2058.9441%2023.5389%2058.9667C23.5806%2058.9893%2023.6275%2059.0008%2023.675%2058.9999C24.225%2058.9999%2024.85%2058.4999%2025.125%2057.7499H24.9C24.7378%2058.0509%2024.471%2058.2821%2024.15%2058.3999L25.3%2055.5249ZM25.4%2054.4499C25.4591%2054.4499%2025.5176%2054.4383%2025.5722%2054.4156C25.6268%2054.393%2025.6764%2054.3599%2025.7182%2054.3181C25.76%2054.2763%2025.7932%2054.2267%2025.8158%2054.1721C25.8384%2054.1175%2025.85%2054.059%2025.85%2053.9999C25.8534%2053.9387%2025.8443%2053.8775%2025.8232%2053.82C25.8021%2053.7625%2025.7695%2053.7099%2025.7274%2053.6654C25.6853%2053.6209%2025.6345%2053.5855%2025.5782%2053.5614C25.5219%2053.5372%2025.4613%2053.5248%2025.4%2053.5249C25.2807%2053.5249%2025.1662%2053.5723%2025.0818%2053.6567C24.9974%2053.7411%2024.95%2053.8556%2024.95%2053.9749C24.95%2054.0943%2024.9974%2054.2087%2025.0818%2054.2931C25.1662%2054.3775%2025.2807%2054.4249%2025.4%2054.4249'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip9_5795_13250)'%3e%3cpath%20d='M20.125%2055.8999C20.3%2055.8999%2020.375%2056.1499%2020.125%2056.7499L19.375%2058.4499C19.2%2058.7749%2019.375%2058.9999%2019.675%2058.9999C19.7577%2059.0148%2019.843%2058.997%2019.9129%2058.9504C19.9828%2058.9038%2020.0319%2058.8319%2020.05%2058.7499L20.8%2056.7499C21.15%2056.3249%2021.8%2055.8749%2022.05%2055.8749C22.3%2055.8749%2022.25%2056.0249%2022.125%2056.2749L20.975%2058.5249C20.9497%2058.5734%2020.9371%2058.6276%2020.9383%2058.6823C20.9395%2058.737%2020.9545%2058.7906%2020.9819%2058.838C21.0094%2058.8854%2021.0483%2058.925%2021.0952%2058.9533C21.142%2058.9816%2021.1953%2058.9976%2021.25%2058.9999C21.825%2058.9999%2022.5%2058.4999%2022.75%2057.7499H22.6C22.4209%2058.051%2022.1355%2058.274%2021.8%2058.3749L22.8%2056.3749C22.9222%2056.1611%2022.9908%2055.9209%2023%2055.6749C23.0079%2055.6007%2022.9991%2055.5257%2022.9742%2055.4554C22.9494%2055.3851%2022.9091%2055.3212%2022.8564%2055.2685C22.8036%2055.2158%2022.7398%2055.1755%2022.6695%2055.1507C22.5991%2055.1258%2022.5242%2055.117%2022.45%2055.1249C21.95%2055.1249%2021.55%2055.6749%2020.95%2056.3749V55.8249C20.95%2055.4749%2020.825%2055.1249%2020.5%2055.1249C20.1%2055.1249%2019.75%2055.7499%2019.475%2056.3499H19.65C19.825%2056.0749%2019.975%2055.8999%2020.15%2055.8999'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip10_5795_13250)'%3e%3cpath%20d='M19.375%2056C19.5%2055.525%2019.425%2055.125%2019.075%2055.125C18.625%2055.125%2018.5%2055.425%2018.075%2056.375V55.825C18.05%2055.45%2017.925%2055.125%2017.575%2055.125C17.2%2055.125%2016.85%2055.75%2016.55%2056.375H16.75C16.925%2056.05%2017.125%2055.875%2017.25%2055.875C17.425%2055.875%2017.5%2056.125%2017.25%2056.725L16.5%2058.425C16.325%2058.75%2016.5%2058.95%2016.8%2058.95C16.8827%2058.9649%2016.968%2058.9472%2017.0379%2058.9006C17.1078%2058.8539%2017.1569%2058.7821%2017.175%2058.7L17.925%2056.7C18.1317%2056.4415%2018.3486%2056.1913%2018.575%2055.95H19.375V56Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip11_5795_13250)'%3e%3cpath%20d='M16.175%2056.45C16.55%2055.5%2016.1%2055.125%2015.55%2055.125C14.625%2055.125%2013.575%2056.75%2013.575%2058.05C13.575%2058.675%2013.875%2059%2014.325%2059C14.85%2059%2015.4%2058.5%2015.875%2057.625H15.625C15.325%2058%2014.975%2058.275%2014.65%2058.275C14.325%2058.275%2014.15%2058.075%2014.15%2057.625C14.1559%2057.4396%2014.181%2057.2552%2014.225%2057.075L16.175%2056.45ZM15.175%2055.675C15.45%2055.675%2015.675%2055.875%2015.55%2056.325L14.35%2056.65C14.55%2056.1%2014.9%2055.65%2015.2%2055.65L15.175%2055.675Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip12_5795_13250)'%3e%3cpath%20d='M11.35%2055.675H12L10.95%2058.525C10.9171%2058.576%2010.8992%2058.6352%2010.8982%2058.6959C10.8972%2058.7565%2010.9132%2058.8163%2010.9444%2058.8683C10.9757%2058.9204%2011.0208%2058.9626%2011.0748%2058.9903C11.1288%2059.018%2011.1895%2059.03%2011.25%2059.025C12%2059.025%2012.85%2058.375%2013.2%2057.475H13.025C12.7109%2057.9021%2012.2615%2058.2105%2011.75%2058.35L12.675%2055.675H13.675L13.8%2055.275H12.85L13.175%2054.25H12.825L12.15%2055.275L11.35%2055.375V55.675Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip13_5795_13250)'%3e%3cpath%20d='M9.84996%2058.2252C9.69996%2058.2252%209.59996%2057.9752%209.84996%2057.3752L10.875%2054.9752L10.575%2054.9502L10.25%2055.2752H10.175C8.74996%2055.2752%207.22496%2057.1002%207.22496%2058.5002C7.22137%2058.5701%207.23249%2058.64%207.25761%2058.7053C7.28272%2058.7706%207.32126%2058.8299%207.37075%2058.8794C7.42024%2058.9289%207.47956%2058.9674%207.54488%2058.9926C7.6102%2059.0177%207.68007%2059.0288%207.74996%2059.0252C8.17496%2059.0252%208.57496%2058.4252%209.04996%2057.7752L9.02496%2058.0252C8.94996%2058.6752%209.17496%2059.0252%209.52496%2059.0252C9.89996%2059.0252%2010.275%2058.4252%2010.525%2057.8002H10.35C10.175%2058.0752%209.97496%2058.2502%209.84996%2058.2502V58.2252ZM9.19996%2057.4002C8.87496%2057.8002%208.34996%2058.2752%208.12496%2058.2752C7.99996%2058.2752%207.89996%2058.1502%207.89996%2057.8752C7.89996%2057.0002%208.89996%2055.8252%209.39996%2055.8252C9.51862%2055.822%209.63696%2055.8389%209.74996%2055.8752L9.19996%2057.4002Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip14_5795_13250)'%3e%3cpath%20d='M7.85004%2056C7.97504%2055.525%207.90004%2055.125%207.55004%2055.125C7.10004%2055.125%206.97504%2055.425%206.55004%2056.375V55.825C6.52504%2055.45%206.40004%2055.125%206.05004%2055.125C5.67504%2055.125%205.32504%2055.75%205.02504%2056.375H5.22504C5.40004%2056.05%205.60004%2055.875%205.72504%2055.875C5.90004%2055.875%205.97504%2056.125%205.72504%2056.725L4.97504%2058.425C4.80004%2058.75%204.97504%2058.95%205.27504%2058.95C5.35775%2058.9649%205.443%2058.9472%205.51292%2058.9006C5.58284%2058.8539%205.63198%2058.7821%205.65004%2058.7L6.40004%2056.7C6.60676%2056.4415%206.82359%2056.1913%207.05004%2055.95H7.85004V56Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip15_5795_13250)'%3e%3cpath%20d='M2.79998%2058.8499L2.87498%2058.6249C1.92498%2058.4499%201.79998%2058.4499%202.19998%2057.4249L2.54998%2056.4499H3.29998C3.77498%2056.4499%203.77498%2056.6749%203.69998%2057.1999H3.94998L4.59998%2055.4749H4.34998C4.09998%2055.8749%203.89998%2056.1999%203.39998%2056.1999H2.64998L3.14998%2054.7999C3.34998%2054.2999%203.42498%2054.1999%204.07498%2054.1999H4.24998C4.89998%2054.1999%204.99998%2054.3749%204.99998%2055.0749H5.24998L5.47498%2053.8999H1.82498L1.74998%2054.1249C2.49998%2054.2749%202.57498%2054.3499%202.24998%2055.3249L1.42498%2057.3999C1.04998%2058.3749%200.924976%2058.4499%200.0499756%2058.5999L-0.0250244%2058.8249L2.79998%2058.8499Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip16_5795_13250)'%3e%3cg%20clip-path='url(%23clip17_5795_13250)'%3e%3cpath%20d='M21.925%2048.2C22.3%2047.25%2021.85%2046.875%2021.3%2046.875C20.375%2046.875%2019.325%2048.5%2019.325%2049.8C19.325%2050.425%2019.625%2050.75%2020.075%2050.75C20.6%2050.75%2021.15%2050.25%2021.625%2049.375H21.375C21.075%2049.75%2020.725%2050.025%2020.4%2050.025C20.075%2050.025%2019.9%2049.825%2019.9%2049.375C19.9059%2049.1896%2019.931%2049.0052%2019.975%2048.825L21.925%2048.2ZM20.925%2047.425C21.2%2047.425%2021.425%2047.625%2021.3%2048.075L20.1%2048.4C20.3%2047.85%2020.65%2047.4%2020.95%2047.4L20.925%2047.425Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cpath%20d='M21.3%2046.4499L22.425%2045.4249V45.2749H21.675L21%2046.4499H21.325H21.3Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip18_5795_13250)'%3e%3cpath%20d='M17.125%2047.425H17.775L16.725%2050.275C16.6921%2050.326%2016.6742%2050.3852%2016.6732%2050.4459C16.6722%2050.5065%2016.6882%2050.5663%2016.7195%2050.6183C16.7507%2050.6704%2016.7959%2050.7126%2016.8499%2050.7403C16.9039%2050.768%2016.9645%2050.78%2017.025%2050.775C17.775%2050.775%2018.625%2050.125%2018.975%2049.225H18.8C18.4859%2049.6521%2018.0365%2049.9605%2017.525%2050.1L18.45%2047.425H19.45L19.575%2047.025H18.625L18.95%2046H18.6L17.925%2047.025L17.125%2047.125V47.425Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip19_5795_13250)'%3e%3cpath%20d='M16.45%2047.25C16.525%2047%2016.35%2046.85%2016.2%2046.85C15.65%2046.85%2014.95%2047.375%2014.7%2048.1H14.875C15.0526%2047.8132%2015.3278%2047.6001%2015.65%2047.5L14.575%2050.325C14.5534%2050.3673%2014.5431%2050.4145%2014.5452%2050.4619C14.5472%2050.5094%2014.5615%2050.5555%2014.5867%2050.5958C14.6119%2050.6361%2014.6471%2050.6692%2014.6888%2050.6918C14.7306%2050.7144%2014.7775%2050.7259%2014.825%2050.725C15.375%2050.725%2016%2050.225%2016.275%2049.475H16.05C15.8878%2049.776%2015.621%2050.0072%2015.3%2050.125L16.45%2047.25ZM16.55%2046.175C16.6091%2046.175%2016.6676%2046.1634%2016.7222%2046.1407C16.7768%2046.1181%2016.8264%2046.085%2016.8682%2046.0432C16.91%2046.0014%2016.9431%2045.9518%2016.9657%2045.8972C16.9884%2045.8426%2017%2045.7841%2017%2045.725C17.0034%2045.6638%2016.9943%2045.6026%2016.9732%2045.5451C16.9521%2045.4876%2016.9195%2045.435%2016.8774%2045.3905C16.8352%2045.346%2016.7845%2045.3106%2016.7282%2045.2865C16.6719%2045.2623%2016.6113%2045.2499%2016.55%2045.25C16.4306%2045.25%2016.3162%2045.2974%2016.2318%2045.3818C16.1474%2045.4662%2016.1%2045.5807%2016.1%2045.7C16.1%2045.8193%2016.1474%2045.9338%2016.2318%2046.0182C16.3162%2046.1026%2016.4306%2046.15%2016.55%2046.15'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip20_5795_13250)'%3e%3cpath%20d='M13.075%2050.1249L14.875%2045.3499L14.8%2045.2749L13.55%2045.4249V45.5749L13.8%2045.7499C14.025%2045.9249%2013.95%2046.0749%2013.75%2046.5999L12.4%2050.2499C12.3685%2050.2991%2012.3509%2050.3559%2012.349%2050.4142C12.3471%2050.4726%2012.3609%2050.5304%2012.389%2050.5815C12.4172%2050.6327%2012.4586%2050.6753%2012.5089%2050.705C12.5592%2050.7346%2012.6166%2050.7501%2012.675%2050.7499C13.25%2050.7499%2013.85%2050.2249%2014.125%2049.4999H13.95C13.7377%2049.8015%2013.4291%2050.0219%2013.075%2050.1249Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip21_5795_13250)'%3e%3cpath%20d='M11.35%2049.9752C11.2%2049.9752%2011.1%2049.7252%2011.35%2049.1252L12.375%2046.7252L12.075%2046.7002L11.75%2047.0252H11.675C10.25%2047.0252%208.72496%2048.8502%208.72496%2050.2502C8.72137%2050.3201%208.73249%2050.39%208.75761%2050.4553C8.78272%2050.5206%208.82126%2050.5799%208.87075%2050.6294C8.92024%2050.6789%208.97956%2050.7174%209.04488%2050.7426C9.1102%2050.7677%209.18007%2050.7788%209.24996%2050.7752C9.67496%2050.7752%2010.075%2050.1752%2010.55%2049.5252L10.525%2049.7752C10.45%2050.4252%2010.675%2050.7752%2011.025%2050.7752C11.4%2050.7752%2011.775%2050.1752%2012.025%2049.5502H11.85C11.675%2049.8252%2011.475%2050.0002%2011.35%2050.0002V49.9752ZM10.7%2049.1502C10.375%2049.5502%209.84996%2050.0252%209.62496%2050.0252C9.49996%2050.0252%209.39996%2049.9002%209.39996%2049.6252C9.39996%2048.7502%2010.4%2047.5752%2010.9%2047.5752C11.0186%2047.572%2011.137%2047.5889%2011.25%2047.6252L10.7%2049.1502Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip22_5795_13250)'%3e%3cpath%20d='M9.15%2047.0002H8.075C7.91845%2046.8999%207.73591%2046.8477%207.55%2046.8502C7.11669%2046.8501%206.70075%2047.0205%206.39202%2047.3246C6.0833%2047.6286%205.90657%2048.0419%205.9%2048.4752C5.88969%2048.5836%205.90095%2048.693%205.93314%2048.797C5.96532%2048.9011%206.01779%2048.9977%206.08751%2049.0814C6.15724%2049.1651%206.24284%2049.2341%206.33938%2049.2845C6.43592%2049.335%206.54149%2049.3658%206.65%2049.3752C6.175%2049.5752%205.9%2049.8252%205.9%2050.1002C5.9%2050.1772%205.92093%2050.2528%205.96057%2050.3188C6.0002%2050.3849%206.05703%2050.4389%206.125%2050.4752C5.05%2050.8002%204.625%2051.1752%204.625%2051.6502C4.625%2052.1502%205.275%2052.3502%206.025%2052.3502C7.35%2052.3502%208.425%2051.6752%208.425%2051.0752C8.425%2050.6252%208.025%2050.4502%207.35%2050.2502C6.8%2050.0752%206.55%2050.0502%206.55%2049.8502C6.56644%2049.752%206.60704%2049.6595%206.66814%2049.581C6.72924%2049.5024%206.80892%2049.4403%206.9%2049.4002C7.31131%2049.369%207.69601%2049.1848%207.97828%2048.884C8.26056%2048.5832%208.41993%2048.1876%208.425%2047.7752C8.42962%2047.6483%208.41272%2047.5215%208.375%2047.4002H9L9.15%2047.0002ZM7.1%2050.9002C7.625%2051.0752%207.85%2051.1502%207.85%2051.3002C7.85%2051.6502%207.35%2051.9252%206.45%2051.9252C5.775%2051.9252%205.45%2051.7752%205.45%2051.4252C5.45%2051.0502%205.8%2050.8002%206.325%2050.6002C6.56712%2050.7189%206.81783%2050.8191%207.075%2050.9002H7.1ZM6.9%2049.1002C6.65%2049.1002%206.575%2048.9002%206.575%2048.6752C6.575%2047.9752%206.925%2047.1252%207.45%2047.1252C7.7%2047.1252%207.775%2047.3252%207.775%2047.5252C7.775%2048.2502%207.425%2049.1002%206.9%2049.1002Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip23_5795_13250)'%3e%3cpath%20d='M3.575%2048.2252C4.05%2048.2252%204.075%2048.4252%203.975%2048.9252H4.25L4.875%2047.2252H4.625C4.375%2047.6252%204.2%2047.9502%203.675%2047.9502H2.65L3.15%2046.5502C3.325%2046.0502%203.4%2045.9502%204.075%2045.9502H4.5C5.15%2045.9502%205.25%2046.1252%205.25%2046.8252H5.5L5.725%2045.6502H1.825L1.75%2045.8752C2.5%2046.0252%202.575%2046.1002%202.25%2047.0752L1.45%2049.1752C1.075%2050.1502%200.95%2050.2252%200.05%2050.3752L0%2050.6252H4.35L5.15%2049.3752H4.85C4.35%2049.8752%203.85%2050.3252%202.85%2050.3252C1.675%2050.3252%201.775%2050.2502%202.175%2049.1752L2.525%2048.2252H3.575ZM4.15%2045.2752L5.25%2044.4752V44.3252H4.5L3.85%2045.3002H4.15V45.2752Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip24_5795_13250)'%3e%3cg%20clip-path='url(%23clip25_5795_13250)'%3e%3cpath%20d='M21.8%2039.95C22.175%2039%2021.725%2038.625%2021.175%2038.625C20.25%2038.625%2019.2%2040.25%2019.2%2041.55C19.2%2042.175%2019.5%2042.5%2019.95%2042.5C20.475%2042.5%2021.025%2042%2021.5%2041.125H21.25C20.95%2041.5%2020.6%2041.775%2020.275%2041.775C19.95%2041.775%2019.775%2041.575%2019.775%2041.125C19.7809%2040.9396%2019.806%2040.7552%2019.85%2040.575L21.8%2039.95ZM20.8%2039.175C21.075%2039.175%2021.3%2039.375%2021.175%2039.825L19.975%2040.15C20.175%2039.6%2020.525%2039.15%2020.825%2039.15L20.8%2039.175Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cpath%20d='M21.175%2038.1999L22.3%2037.1749V37.0249H21.55L20.875%2038.1999H21.2H21.175Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip26_5795_13250)'%3e%3cpath%20d='M16.975%2039.1501H17.625L16.575%2042.0001C16.5421%2042.0511%2016.5242%2042.1103%2016.5232%2042.171C16.5222%2042.2316%2016.5382%2042.2914%2016.5694%2042.3434C16.6007%2042.3955%2016.6458%2042.4377%2016.6998%2042.4654C16.7538%2042.4931%2016.8145%2042.5051%2016.875%2042.5001C17.625%2042.5001%2018.475%2041.8501%2018.825%2040.9501H18.65C18.3359%2041.3772%2017.8865%2041.6856%2017.375%2041.8251L18.3%2039.1501H19.3L19.425%2038.7501H18.475L18.8%2037.7251H18.45L17.775%2038.7501L16.975%2038.8501V39.1501Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip27_5795_13250)'%3e%3cpath%20d='M16.65%2039.5C16.775%2039.025%2016.7%2038.625%2016.35%2038.625C15.9%2038.625%2015.775%2038.925%2015.35%2039.875V39.325C15.325%2038.95%2015.2%2038.625%2014.85%2038.625C14.475%2038.625%2014.125%2039.25%2013.825%2039.875H14.025C14.2%2039.55%2014.4%2039.375%2014.525%2039.375C14.7%2039.375%2014.775%2039.625%2014.525%2040.225L13.775%2041.925C13.6%2042.25%2013.775%2042.45%2014.075%2042.45C14.1577%2042.4649%2014.243%2042.4472%2014.3129%2042.4006C14.3828%2042.3539%2014.432%2042.2821%2014.45%2042.2L15.2%2040.2C15.4067%2039.9415%2015.6236%2039.6913%2015.85%2039.45H16.65V39.5Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip28_5795_13250)'%3e%3cpath%20d='M13.45%2039.9251C13.825%2038.9751%2013.375%2038.6001%2012.825%2038.6001C11.9%2038.6001%2010.85%2040.2251%2010.85%2041.5251C10.85%2042.1501%2011.15%2042.4751%2011.6%2042.4751C12.125%2042.4751%2012.675%2041.9751%2013.15%2041.1001H12.9C12.6%2041.4751%2012.25%2041.7501%2011.925%2041.7501C11.6%2041.7501%2011.425%2041.5501%2011.425%2041.1001C11.4308%2040.9147%2011.456%2040.7303%2011.5%2040.5501L13.45%2039.9251ZM12.45%2039.1501C12.725%2039.1501%2012.95%2039.3501%2012.825%2039.8001L11.625%2040.1251C11.825%2039.5751%2012.175%2039.1251%2012.475%2039.1251L12.45%2039.1501Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip29_5795_13250)'%3e%3cpath%20d='M10.2%2038.6249C9.69998%2038.6249%209.19998%2039.1749%208.74998%2039.8249L9.74998%2037.0999L9.69998%2037.0249L8.44998%2037.1749V37.2749L8.69998%2037.4749C8.92498%2037.6499%208.84998%2037.7999%208.64998%2038.3249L7.54998%2041.2249C7.46796%2041.4023%207.40106%2041.5863%207.34998%2041.7749C7.34998%2042.1249%207.79998%2042.4499%208.22498%2042.4499C9.17498%2042.4499%2010.725%2040.7249%2010.725%2039.3999C10.725%2038.8249%2010.6%2038.5999%2010.2%2038.5999V38.6249ZM8.54998%2041.8999C8.34998%2041.8999%208.07498%2041.7249%208.07498%2041.5749C8.12768%2041.3868%208.19454%2041.2029%208.27498%2041.0249L8.59998%2040.1999C8.92498%2039.7749%209.44998%2039.3499%209.74998%2039.3499C9.92498%2039.3499%2010.05%2039.4499%2010.05%2039.7249C10.05%2040.4999%209.32498%2041.8999%208.54998%2041.8999Z'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip30_5795_13250)'%3e%3cpath%20d='M7.05003%2039C7.12503%2038.75%206.95003%2038.6%206.80003%2038.6C6.25003%2038.6%205.55003%2039.125%205.30003%2039.85H5.47503C5.65263%2039.5632%205.92784%2039.3501%206.25003%2039.25L5.17503%2042.075C5.15343%2042.1173%205.14316%2042.1645%205.14522%2042.2119C5.14727%2042.2594%205.16158%2042.3055%205.18676%2042.3458C5.21193%2042.3861%205.24711%2042.4192%205.28887%2042.4418C5.33063%2042.4644%205.37754%2042.4759%205.42503%2042.475C5.97503%2042.475%206.60003%2041.975%206.87503%2041.225H6.65003C6.4878%2041.526%206.22102%2041.7572%205.90003%2041.875L7.05003%2039ZM7.15003%2037.925C7.20913%2037.925%207.26764%2037.9134%207.32224%2037.8907C7.37684%2037.8681%207.42645%2037.835%207.46823%2037.7932C7.51002%2037.7514%207.54316%2037.7018%207.56578%2037.6472C7.58839%2037.5926%207.60003%2037.5341%207.60003%2037.475C7.60344%2037.4138%207.59432%2037.3526%207.57323%2037.2951C7.55214%2037.2376%207.51954%2037.185%207.47741%2037.1405C7.43528%2037.096%207.38451%2037.0606%207.32822%2037.0365C7.27193%2037.0123%207.21129%2036.9999%207.15003%2037C7.03069%2037%206.91623%2037.0474%206.83184%2037.1318C6.74744%2037.2162%206.70003%2037.3307%206.70003%2037.45C6.70003%2037.5693%206.74744%2037.6838%206.83184%2037.7682C6.91623%2037.8526%207.03069%2037.9%207.15003%2037.9'%20fill='%23161616'%20/%3e%3c/g%3e%3cg%20clip-path='url(%23clip31_5795_13250)'%3e%3cpath%20d='M4.4%2037.3501H1.825L1.75%2037.5751C2.5%2037.7251%202.575%2037.8001%202.25%2038.7751L1.45%2040.9001C1.075%2041.8751%200.95%2041.9501%200.075%2042.1001L0%2042.3501H3.925L4.8%2040.8501H4.5C4%2041.3501%203.45%2042.0501%202.575%2042.0501C1.9%2042.0501%201.825%2041.9251%202.175%2040.9251L2.95%2038.8001C3.3%2037.8251%203.45%2037.7501%204.325%2037.6001L4.4%2037.3501Z'%20fill='%23161616'%20/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_5795_13250'%20x1='0'%20y1='6'%20x2='33'%20y2='6'%20gradientUnits='userSpaceOnUse'%20%3e%3cstop%20stop-color='%23000091'%20/%3e%3cstop%20offset='0.5'%20stop-color='%23000091'%20/%3e%3cstop%20offset='0.5'%20stop-color='%23E1000F'%20/%3e%3cstop%20offset='1'%20stop-color='%23E1000F'%20/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_5795_13250'%3e%3crect%20width='33'%20height='12'%20fill='white'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip1_5795_13250'%3e%3crect%20width='33'%20height='13.5'%20fill='white'%20transform='translate(0%20-0.75)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip2_5795_13250'%3e%3crect%20width='108.88'%20height='26.5'%20fill='white'%20transform='translate(0%2033)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip3_5795_13250'%3e%3crect%20width='63'%20height='45'%20fill='white'%20transform='translate(0%2037)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip4_5795_13250'%3e%3crect%20width='31.5'%20height='22.5'%20fill='white'%20transform='translate(0%2037)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip5_5795_13250'%3e%3crect%20width='3.1'%20height='5.45'%20fill='white'%20transform='translate(28.175%2053.5249)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip6_5795_13250'%3e%3crect%20width='2.75'%20height='3.875'%20fill='white'%20transform='translate(28.175%2055.125)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip7_5795_13250'%3e%3crect%20width='2.875'%20height='4.75'%20fill='white'%20transform='translate(25.55%2054.25)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip8_5795_13250'%3e%3crect%20width='2.45'%20height='5.475'%20fill='white'%20transform='translate(23.4%2053.5249)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip9_5795_13250'%3e%3crect%20width='3.7'%20height='3.875'%20fill='white'%20transform='translate(19.3%2055.125)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip10_5795_13250'%3e%3crect%20width='3'%20height='3.875'%20fill='white'%20transform='translate(16.425%2055.125)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip11_5795_13250'%3e%3crect%20width='2.75'%20height='3.875'%20fill='white'%20transform='translate(13.575%2055.125)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip12_5795_13250'%3e%3crect%20width='2.875'%20height='4.75'%20fill='white'%20transform='translate(10.925%2054.25)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip13_5795_13250'%3e%3crect%20width='3.675'%20height='4.05'%20fill='white'%20transform='translate(7.22498%2054.9502)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip14_5795_13250'%3e%3crect%20width='3'%20height='3.875'%20fill='white'%20transform='translate(4.90002%2055.125)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip15_5795_13250'%3e%3crect%20width='5.475'%20height='4.95'%20fill='white'%20transform='translate(0%2053.8999)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip16_5795_13250'%3e%3crect%20width='3.1'%20height='5.45'%20fill='white'%20transform='translate(19.325%2045.2749)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip17_5795_13250'%3e%3crect%20width='2.75'%20height='3.875'%20fill='white'%20transform='translate(19.325%2046.875)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip18_5795_13250'%3e%3crect%20width='2.875'%20height='4.75'%20fill='white'%20transform='translate(16.7%2046)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip19_5795_13250'%3e%3crect%20width='2.45'%20height='5.475'%20fill='white'%20transform='translate(14.55%2045.25)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip20_5795_13250'%3e%3crect%20width='2.525'%20height='5.475'%20fill='white'%20transform='translate(12.35%2045.2749)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip21_5795_13250'%3e%3crect%20width='3.675'%20height='4.05'%20fill='white'%20transform='translate(8.72498%2046.7002)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip22_5795_13250'%3e%3crect%20width='4.5'%20height='5.5'%20fill='white'%20transform='translate(4.65002%2046.8501)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip23_5795_13250'%3e%3crect%20width='5.75'%20height='6.275'%20fill='white'%20transform='translate(0%2044.3252)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip24_5795_13250'%3e%3crect%20width='3.1'%20height='5.45'%20fill='white'%20transform='translate(19.2%2037.0249)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip25_5795_13250'%3e%3crect%20width='2.75'%20height='3.875'%20fill='white'%20transform='translate(19.2%2038.625)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip26_5795_13250'%3e%3crect%20width='2.875'%20height='4.75'%20fill='white'%20transform='translate(16.55%2037.7251)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip27_5795_13250'%3e%3crect%20width='3'%20height='3.875'%20fill='white'%20transform='translate(13.7%2038.625)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip28_5795_13250'%3e%3crect%20width='2.75'%20height='3.875'%20fill='white'%20transform='translate(10.85%2038.6001)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip29_5795_13250'%3e%3crect%20width='3.4'%20height='5.45'%20fill='white'%20transform='translate(7.34998%2037.0249)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip30_5795_13250'%3e%3crect%20width='2.45'%20height='5.475'%20fill='white'%20transform='translate(5.15002%2037)'%20/%3e%3c/clipPath%3e%3cclipPath%20id='clip31_5795_13250'%3e%3crect%20width='4.8'%20height='4.975'%20fill='white'%20transform='translate(0%2037.3501)'%20/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",j7=({externalLinks:t,legalLinks:e,license:r,logo:n})=>{const{t:i}=X.useCunningham();return b.jsxs("footer",{className:"c__footer",children:[b.jsx("div",{className:"c__footer__stripe"}),b.jsxs("div",{className:"c__footer__content",children:[b.jsxs("div",{className:"c__footer__content__top",children:[b.jsx("div",{children:b.jsx("div",{className:"c__footer__content__top__logo",children:b.jsx("img",{className:"c__footer__logo",alt:(n==null?void 0:n.alt)||i("components.footer.logo.alt"),width:n==null?void 0:n.width,height:n==null?void 0:n.height,decoding:"async",src:(n==null?void 0:n.src)||K7})})}),b.jsx("div",{className:"c__footer__content__top__links",children:t==null?void 0:t.map(({label:o,href:l})=>b.jsxs("a",{href:l,target:"_blank",children:[b.jsx("span",{children:o}),b.jsx("img",{alt:"",width:"18",decoding:"async",src:I0})]},o))})]}),b.jsx("div",{className:"c__footer__content__middle",children:e==null?void 0:e.map(({label:o,href:l})=>b.jsx("a",{href:l,children:b.jsx("span",{children:o})},o))}),r&&b.jsxs("p",{className:"c__footer__content__mention",children:[r==null?void 0:r.label," ",b.jsxs("a",{href:r==null?void 0:r.link.href,target:"_blank",children:[b.jsx("span",{children:r==null?void 0:r.link.label}),b.jsx("img",{alt:"",width:"18",decoding:"async",src:I0})]})]})]})]})},H7=t=>b.jsx(_7,{...t,className:"c__filter",children:b.jsx(V7,{...t})}),V7=t=>{const e=u.useContext(Zu),r=e!=null&&e.selectedItem?t.options.find(n=>{var i;return n.value===((i=e.selectedItem)==null?void 0:i.key)}):null;return b.jsxs(b.Fragment,{children:[b.jsxs(J3,{className:ye("c__filter__button",{"c__filter__button--active":!!r}),children:[b.jsx(q3,{className:"c__filter__label",children:r?b.jsxs(b.Fragment,{children:[t.label," : ",r.label]}):b.jsx(b.Fragment,{children:t.label})}),b.jsx("span",{"aria-hidden":"true",className:ye("material-icons c__filter__button__icon",{opened:e==null?void 0:e.isOpen}),children:"keyboard_arrow_down"})]}),b.jsx(ia,{className:"c__dropdown-menu",children:b.jsx(h7,{children:t.options.map(n=>b.jsxs(u.Fragment,{children:[b.jsx(v7,{id:n.value,className:"c__dropdown-menu-item",children:b.jsxs("div",{className:"c__filter__item",children:[n.render?n.render():n.label,(t.selectedKey===n.value||n.isChecked)&&b.jsx("span",{className:"material-icons checked",children:"check"})]})},n.value),n.showSeparator&&b.jsx(Vu,{})]},n.value))})})]})},z7=({logo:t,mainButton:e,banner:r,title:n,subtitle:i})=>b.jsx("div",{className:"c__hero",children:b.jsxs("div",{className:"c__hero__display",children:[b.jsxs("div",{className:"c__hero__display__captions",children:[t,b.jsx("h2",{children:n}),b.jsx("span",{className:"c__hero__display__captions__subtitle",children:i}),e||b.jsx(C2,{})]}),b.jsx("img",{src:r,alt:""})]})}),U7=({children:t})=>b.jsx("div",{className:"c__home-gutter",children:t}),Gu=(t,e,r=void 0)=>{const n=Array.isArray(e)?e:e.replace(/(\[(\d)\])/g,".$2").replace(/^\./,"").split(".");if(!n.length||n[0]===void 0)return t;const i=n[0];return typeof t!="object"||t===null||!(i in t)||t[i]===void 0?r:Gu(t[i],n.slice(1),r)},W7={placeholder:"Entrez votre adresse e-mail",srLabel:"Adresse e-mail",submit:"Suivant",title:"Connexion avec {linebreak}votre adresse e-mail"},Z7={homepageLinkTitle:{withoutService:"Retour à l'accueil",withService:"Retour à l'accueil - {serviceName}"},license:"Sauf mention explicite de propriété intellectuelle détenue par des tiers, les contenus de ce site sont proposés sous {license}",licenseEtalab:"licence etalab-2.0",links:{a11y:{perfect:"Accessibilité : conforme",partial:"Accessibilité : partiellement conforme",bad:"Accessibilité : non conforme"},privacy:"Données personnelles",sitemap:"Plan du site",terms:"Mentions légales"}},G7={label:"Les services de La Suite numérique"},q7={homepageLinkTitle:"Accueil - {serviceName}"},Y7={newWindow:"{title} - nouvelle fenêtre"},X7={help:"Qu'est-ce que ProConnect ?",loginWith:"S’identifier avec",loginWithProconnect:"{loginWith} {proconnect}",or:"ou",title:"Connexion avec ProConnect"},qu={email:W7,footer:Z7,gaufre:G7,header:q7,links:Y7,proconnect:X7},J7=u.createContext(qu);function Q7(){const t=u.useContext(J7)||qu;return{t:function(e,r={}){const n=Gu(t,e);if(!n)return console.warn(`Translation for key "${e}" not found`),e;if(r){const i=[];if(Object.keys(r).forEach(l=>{typeof r[l]!="string"&&i.push(l)}),!i.length)return n.replace(/{(\w+)}/g,(l,a)=>r[a]);const o=n.split(/{(.*?)}/);return b.jsx(b.Fragment,{children:o.map((l,a)=>l in r?b.jsx(u.Fragment,{children:r[l]},a):l)})}return n}}}const eh={responsive:"lasuite-gaufre-btn--responsive",small:"lasuite-gaufre-btn--small"},th=({variant:t})=>{const{t:e}=Q7(),r=t?eh[t]:"";return b.jsx("button",{type:"button",className:`lasuite-gaufre-btn ${r} lasuite-gaufre-btn--vanilla js-lasuite-gaufre-btn`,title:e("gaufre.label"),children:e("gaufre.label")})},rh=()=>b.jsxs(b.Fragment,{children:[b.jsx("script",{src:"https://integration.lasuite.numerique.gouv.fr/api/v1/gaufre.js",id:"lasuite-gaufre-script",async:!0,defer:!0}),b.jsx(th,{variant:"small"})]}),nh="data:image/svg+xml,%3csvg%20width='64'%20height='26'%20viewBox='0%200%2064%2026'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_7771_15979)'%3e%3cpath%20d='M63.4259%2019.6175C63.4259%2020.1333%2063.4259%2020.3912%2063.3731%2020.6274C63.2756%2021.0639%2063.0469%2021.4602%2062.7177%2021.763C62.5395%2021.9269%2062.3162%2022.0559%2061.8696%2022.3139L59.9192%2023.4406C59.4723%2023.6988%2059.2488%2023.8279%2059.0177%2023.9003C58.5905%2024.0343%2058.1326%2024.0343%2057.7055%2023.9003C57.4744%2023.8279%2057.2509%2023.6988%2056.804%2023.4406L55.4779%2022.6746C54.9159%2022.3499%2054.6348%2022.1875%2054.5043%2021.9996C54.2603%2021.6483%2054.2605%2021.1823%2054.5049%2020.8313C54.6356%2020.6435%2054.9168%2020.4814%2055.4792%2020.1572L56.8083%2019.3911C57.2557%2019.1333%2057.4793%2019.0044%2057.6578%2018.8405C57.9875%2018.5376%2058.2167%2018.1411%2058.3144%2017.7041C58.3673%2017.4677%2058.3673%2017.2095%2058.3673%2016.6932V15.1651C58.3673%2014.5163%2058.3673%2014.1919%2058.4647%2013.9849C58.6468%2013.598%2059.0502%2013.365%2059.4763%2013.4008C59.7042%2013.42%2059.9852%2013.5822%2060.5471%2013.9066L61.869%2014.6698C62.3157%2014.9277%2062.5391%2015.0567%2062.7173%2015.2206C63.0467%2015.5234%2063.2755%2015.9198%2063.3731%2016.3564C63.4259%2016.5927%2063.4259%2016.8506%2063.4259%2017.3665V19.6175Z'%20fill='%23C83F49'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M52.1227%2010.0913C54.0237%2010.0913%2055.2764%2011.3056%2055.4296%2013.0311C55.4634%2013.4125%2055.483%2013.8298%2055.4161%2014.2062C55.3942%2014.3293%2055.2848%2014.4154%2055.1598%2014.4154H50.4038C50.3227%2014.4154%2050.2598%2014.4872%2050.2735%2014.5671C50.4893%2015.8206%2051.1794%2016.3447%2052.2824%2016.3447C52.6047%2016.3447%2052.9343%2016.2299%2053.1712%2016.1233C53.3024%2016.0642%2053.3687%2016.0345%2053.4122%2016.0248C53.5046%2016.0041%2053.5644%2016.0079%2053.6538%2016.0395C53.6958%2016.0543%2053.745%2016.0841%2053.8434%2016.1435L54.2508%2016.3894C54.5156%2016.549%2054.6484%2016.6286%2054.7029%2016.7099C54.8054%2016.8634%2054.8021%2017.0598%2054.6943%2017.2097C54.6371%2017.2891%2054.5058%2017.3625%2054.2429%2017.5088C54.0455%2017.6186%2053.8437%2017.7185%2053.633%2017.7938C52.9051%2018.0543%2052.1282%2018.0627%2051.3458%2017.8972C49.3995%2017.4855%2048.3644%2015.875%2048.3644%2014.038C48.3645%2011.8759%2049.7285%2010.0914%2052.1227%2010.0913ZM52.0793%2011.6003C51.1906%2011.6004%2050.5851%2012.0639%2050.3482%2012.9186C50.3253%2013.0011%2050.3898%2013.0807%2050.4754%2013.0807H53.5357C53.6121%2013.0806%2053.6738%2013.0164%2053.6642%2012.9406C53.5771%2012.2499%2053.0446%2011.6003%2052.0793%2011.6003Z'%20fill='%232845C1'/%3e%3cpath%20d='M27.0483%207.27437C28.4287%207.27441%2029.5109%207.83538%2030.3491%208.7076C30.4132%208.77435%2030.4455%208.80771%2030.4647%208.84951C30.4989%208.9242%2030.4955%209.02087%2030.4562%209.09297C30.4341%209.13343%2030.3969%209.16737%2030.3222%209.23489L29.401%2010.0674C29.3152%2010.1449%2029.272%2010.1842%2029.2303%2010.202C29.1493%2010.2366%2029.0681%2010.2321%2028.9911%2010.1891C28.9515%2010.1671%2028.9094%2010.1201%2028.8253%2010.0264C28.2997%209.4409%2027.7178%209.07156%2027.0624%209.07156C26.3381%209.07169%2025.8599%209.53539%2025.8598%2010.1439C25.8598%2010.9189%2026.6772%2011.2755%2027.6234%2011.6878C28.924%2012.2546%2030.4683%2012.9276%2030.4684%2014.9409C30.4394%2016.8538%2028.9612%2017.9987%2027.0918%2017.9988C25.5333%2017.9988%2024.444%2017.4813%2023.583%2016.5778C23.5199%2016.5115%2023.4882%2016.478%2023.4693%2016.4365C23.4356%2016.3625%2023.4388%2016.2671%2023.4772%2016.1955C23.4988%2016.1552%2023.5355%2016.1211%2023.6087%2016.0536L24.5226%2015.2112C24.6088%2015.1317%2024.652%2015.0918%2024.6927%2015.0736C24.7735%2015.0376%2024.8496%2015.0396%2024.9282%2015.0803C24.9678%2015.1009%2025.0139%2015.1485%2025.1056%2015.2437C25.6733%2015.8326%2026.3698%2016.1728%2027.0771%2016.1728C27.8886%2016.1728%2028.3812%2015.7381%2028.3813%2015.0137C28.3813%2014.22%2027.551%2013.8546%2026.5951%2013.4342C25.2993%2012.8644%2023.7734%2012.193%2023.7733%2010.2167C23.7733%208.60804%2025.1064%207.27437%2027.0483%207.27437Z'%20fill='%232845C1'/%3e%3cpath%20d='M33.0816%2010.4051C33.1877%2010.4051%2033.2407%2010.4052%2033.2834%2010.4198C33.3629%2010.447%2033.4257%2010.5091%2033.4529%2010.5886C33.4675%2010.6314%2033.4676%2010.6848%2033.4676%2010.7911V14.55C33.4677%2015.6077%2034.0181%2016.2596%2035.0323%2016.2597C36.0322%2016.2597%2036.5829%2015.6077%2036.583%2014.55V10.7911C36.583%2010.6848%2036.583%2010.6314%2036.5977%2010.5886C36.6249%2010.5091%2036.6877%2010.447%2036.7671%2010.4198C36.8099%2010.4052%2036.8629%2010.4051%2036.969%2010.4051H38.0523C38.1585%2010.4051%2038.212%2010.4051%2038.2548%2010.4198C38.3341%2010.447%2038.3964%2010.5093%2038.4236%2010.5886C38.4382%2010.6314%2038.4383%2010.6848%2038.4383%2010.7911V14.4625C38.4383%2016.6508%2037.163%2017.9987%2035.0182%2017.9988C32.8734%2017.9988%2031.6123%2016.6508%2031.6123%2014.4625V10.7911C31.6123%2010.6848%2031.6123%2010.6314%2031.627%2010.5886C31.6541%2010.5093%2031.7165%2010.447%2031.7958%2010.4198C31.8386%2010.4051%2031.892%2010.4051%2031.9983%2010.4051H33.0816Z'%20fill='%232845C1'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M18.6864%2010.109C20.8021%2010.109%2021.8892%2011.3699%2021.8892%2012.9785V17.3173C21.8892%2017.4233%2021.8891%2017.4765%2021.8746%2017.5192C21.8474%2017.5986%2021.7846%2017.6614%2021.7051%2017.6886C21.6624%2017.7032%2021.6092%2017.7033%2021.5033%2017.7033H20.4346C20.3284%2017.7033%2020.2749%2017.7033%2020.2321%2017.6886C20.1527%2017.6614%2020.0905%2017.5986%2020.0633%2017.5192C20.0487%2017.4764%2020.0486%2017.4234%2020.0486%2017.3173V17.2415C20.0486%2017.1766%2020.0485%2017.144%2020.0413%2017.1302C20.0267%2017.1027%2019.999%2017.0907%2019.9691%2017.099C19.954%2017.1033%2019.9286%2017.127%2019.8786%2017.1742C19.3908%2017.6343%2018.6201%2017.9204%2017.8606%2017.9205C16.3969%2017.9205%2015.3967%2017.08%2015.3966%2015.7324C15.3966%2014.6311%2016.2515%2013.8046%2017.8165%2013.5437L19.8627%2013.1981C19.9699%2013.18%2020.0486%2013.0873%2020.0486%2012.9785C20.0486%2012.2105%2019.4687%2011.7178%2018.6282%2011.7178C18.0616%2011.7178%2017.5966%2011.9303%2017.2329%2012.2885C17.1368%2012.3832%2017.0884%2012.4305%2017.0519%2012.4494C16.9763%2012.4885%2016.9134%2012.4922%2016.8335%2012.4628C16.7949%2012.4487%2016.7508%2012.415%2016.6628%2012.3478L15.9276%2011.7869C15.849%2011.7269%2015.8096%2011.6967%2015.7838%2011.6566C15.7392%2011.5871%2015.7297%2011.4822%2015.7612%2011.4058C15.7794%2011.3617%2015.8085%2011.3298%2015.8664%2011.2664C16.5273%2010.542%2017.5043%2010.109%2018.6864%2010.109ZM19.8241%2014.4943L18.3095%2014.747C17.5416%2014.8774%2017.2227%2015.1958%2017.2225%2015.6449C17.2225%2016.1377%2017.6142%2016.4567%2018.2374%2016.4567C18.9727%2016.4566%2019.5305%2016.1571%2019.9012%2015.6939C19.9264%2015.6624%2019.9392%2015.6465%2019.9618%2015.6082C19.9962%2015.5498%2020.0329%2015.4453%2020.0425%2015.3782C20.0487%2015.3344%2020.0486%2015.2998%2020.0486%2015.2308V14.6846C20.0486%2014.623%2020.0483%2014.5923%2020.0394%2014.5689C20.0228%2014.5254%2019.9854%2014.4932%2019.9397%2014.4839C19.9152%2014.479%2019.8848%2014.4842%2019.8241%2014.4943Z'%20fill='%232845C1'/%3e%3cpath%20d='M45.2967%208.57914C45.4029%208.57914%2045.4564%208.57917%2045.4992%208.59382C45.5785%208.62109%2045.6408%208.68332%2045.668%208.76265C45.6826%208.8054%2045.6827%208.85848%2045.6827%208.96451V10.2717C45.6827%2010.3083%2045.6825%2010.3267%2045.6876%2010.3415C45.697%2010.3689%2045.7188%2010.3902%2045.7463%2010.3996C45.7611%2010.4046%2045.7794%2010.4051%2045.816%2010.4051H47.5288C47.6349%2010.4051%2047.6879%2010.4051%2047.7307%2010.4198C47.8101%2010.447%2047.8723%2010.5092%2047.8995%2010.5886C47.9142%2010.6314%2047.9142%2010.6848%2047.9142%2010.7911V11.6713C47.9142%2011.7774%2047.9141%2011.8304%2047.8995%2011.8732C47.8723%2011.9526%2047.8101%2012.0154%2047.7307%2012.0426C47.6879%2012.0572%2047.6348%2012.0573%2047.5288%2012.0573H45.816C45.7794%2012.0573%2045.7611%2012.0572%2045.7463%2012.0622C45.7189%2012.0716%2045.697%2012.0929%2045.6876%2012.1203C45.6825%2012.1351%2045.6827%2012.1539%2045.6827%2012.1906V15.0424C45.6827%2015.8539%2046.1173%2016.1728%2046.8419%2016.1728C47.126%2016.1728%2047.3557%2016.1547%2047.5459%2016.1208C47.6769%2016.0976%2047.7423%2016.0861%2047.7766%2016.0927C47.8485%2016.1066%2047.8904%2016.1412%2047.9166%2016.2095C47.9291%2016.2421%2047.9289%2016.2989%2047.9289%2016.412V17.3706C47.9289%2017.4389%2047.9286%2017.4731%2047.9191%2017.5082C47.9029%2017.5673%2047.8551%2017.6323%2047.8035%2017.6654C47.7728%2017.685%2047.7464%2017.6935%2047.6934%2017.71C47.3789%2017.8083%2047.0056%2017.8538%2046.5232%2017.8538C44.6972%2017.8538%2043.8274%2016.8249%2043.8274%2015.0424V12.1906C43.8274%2012.1539%2043.8276%2012.1351%2043.8225%2012.1203C43.813%2012.0929%2043.7912%2012.0716%2043.7638%2012.0622C43.749%2012.0572%2043.7306%2012.0573%2043.694%2012.0573H42.8511C42.7451%2012.0573%2042.692%2012.0572%2042.6492%2012.0426C42.5698%2012.0154%2042.507%2011.9526%2042.4798%2011.8732C42.4652%2011.8304%2042.4651%2011.7773%2042.4651%2011.6713V10.7911C42.4651%2010.6848%2042.4652%2010.6314%2042.4798%2010.5886C42.507%2010.5091%2042.5698%2010.447%2042.6492%2010.4198C42.692%2010.4052%2042.745%2010.4051%2042.8511%2010.4051H43.694C43.7306%2010.4051%2043.749%2010.4046%2043.7638%2010.3996C43.7912%2010.3902%2043.8131%2010.3689%2043.8225%2010.3415C43.8276%2010.3267%2043.8274%2010.3083%2043.8274%2010.2717V8.96451C43.8274%208.85851%2043.8275%208.80539%2043.8421%208.76265C43.8693%208.6832%2043.9321%208.62102%2044.0115%208.59382C44.0543%208.57921%2044.1073%208.57914%2044.2134%208.57914H45.2967Z'%20fill='%232845C1'/%3e%3cpath%20d='M10.4969%207.60347C10.6271%207.59288%2010.7502%207.66445%2010.8058%207.7827C10.8355%207.84596%2010.8357%207.94515%2010.8357%208.14299V15.7141C10.8357%2015.767%2010.8358%2015.7936%2010.8431%2015.815C10.8567%2015.8546%2010.8878%2015.8858%2010.9275%2015.8994C10.9489%2015.9067%2010.9754%2015.9067%2011.0284%2015.9067H14.2013C14.3074%2015.9067%2014.3605%2015.9068%2014.4032%2015.9214C14.4825%2015.9486%2014.5448%2016.011%2014.572%2016.0903C14.5867%2016.133%2014.5867%2016.1865%2014.5867%2016.2927V17.3326C14.5867%2017.4387%2014.5867%2017.4917%2014.572%2017.5345C14.5448%2017.6139%2014.4827%2017.6767%2014.4032%2017.7039C14.3605%2017.7185%2014.3073%2017.7186%2014.2013%2017.7186H9.25388C9.14764%2017.7186%209.09419%2017.7186%209.0514%2017.7039C8.972%2017.6767%208.90977%2017.6139%208.88258%2017.5345C8.86796%2017.4917%208.86789%2017.4387%208.86789%2017.3326V9.01834C8.86789%208.87045%208.86801%208.79609%208.88319%208.7284C8.91128%208.6034%208.97706%208.49005%209.07159%208.40358C9.12277%208.35678%209.1868%208.31985%209.31505%208.24637L10.1696%207.75701C10.3413%207.65863%2010.4272%207.60914%2010.4969%207.60347Z'%20fill='%232845C1'/%3e%3cpath%20d='M41.3506%2010.4051C41.4567%2010.4051%2041.5097%2010.4052%2041.5525%2010.4198C41.6319%2010.447%2041.6947%2010.5091%2041.7219%2010.5886C41.7366%2010.6314%2041.7366%2010.6848%2041.7366%2010.7911V17.3235C41.7366%2017.4295%2041.7365%2017.4826%2041.7219%2017.5253C41.6947%2017.6048%2041.6319%2017.6669%2041.5525%2017.6941C41.5097%2017.7087%2041.4567%2017.7088%2041.3506%2017.7088H40.282C40.1757%2017.7088%2040.1223%2017.7088%2040.0795%2017.6941C40.0001%2017.6669%2039.9378%2017.6047%2039.9106%2017.5253C39.896%2017.4826%2039.896%2017.4295%2039.896%2017.3235V10.7911C39.896%2010.6848%2039.896%2010.6314%2039.9106%2010.5886C39.9378%2010.5092%2040.0001%2010.447%2040.0795%2010.4198C40.1223%2010.4051%2040.1757%2010.4051%2040.282%2010.4051H41.3506Z'%20fill='%232845C1'/%3e%3cpath%20d='M5.0894%201.1867C5.51644%201.05287%205.97448%201.05281%206.4015%201.1867C6.63253%201.25916%206.85582%201.38863%207.30254%201.6467L8.62872%202.41255C9.19079%202.73725%209.47203%202.89994%209.60255%203.08787C9.8464%203.43915%209.84622%203.90523%209.60194%204.25623C9.47119%204.44396%209.18971%204.60566%208.62749%204.92971L7.29826%205.69618C6.85114%205.95389%206.6276%206.0829%206.44922%206.24671C6.11946%206.54958%205.88998%206.94632%205.79225%207.38326C5.73941%207.61961%205.73964%207.87775%205.73964%208.39379V9.92244C5.73964%2010.571%205.73973%2010.8955%205.64238%2011.1024C5.46034%2011.4893%205.05667%2011.7223%204.63062%2011.6866C4.40267%2011.6675%204.12141%2011.5051%203.55953%2011.1807L2.23763%2010.4173C1.79099%2010.1594%201.56738%2010.0306%201.3892%209.86678C1.0599%209.56394%200.831048%209.16745%200.733454%208.73084C0.680657%208.49461%200.680847%208.23666%200.680847%207.72092V5.46985C0.680847%204.95415%200.680686%204.69612%200.733454%204.45992C0.83101%204.02338%201.05999%203.62683%201.3892%203.32399C1.56729%203.16021%201.79065%203.03132%202.23702%202.77346L4.18775%201.6467C4.63463%201.38855%204.8583%201.25915%205.0894%201.1867Z'%20fill='%232845C1'/%3e%3cpath%20d='M40.8233%206.72384C41.4755%206.72384%2042.0119%207.27491%2042.0119%207.92706C42.0117%208.57908%2041.4754%209.12967%2040.8233%209.12967C40.1713%209.12963%2039.6209%208.57906%2039.6207%207.92706C39.6207%207.27494%2040.1712%206.72389%2040.8233%206.72384Z'%20fill='%232845C1'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_7771_15979'%3e%3crect%20width='64'%20height='25.098'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";var co={},kr={},O0;function ih(){return O0||(O0=1,Object.defineProperty(kr,"__esModule",{value:!0}),kr.tokens=void 0,kr.tokens={themes:{default:{globals:{colors:{"logo-1-light":"#377FDB","logo-2-light":"#377FDB","logo-1-dark":"#C1D6F2","logo-2-dark":"#C1D6F2","brand-050":"#EAF1FB","brand-100":"#D5E4F7","brand-150":"#C0D6F4","brand-200":"#ABC9F0","brand-250":"#96BCEC","brand-300":"#80AEE8","brand-350":"#6CA0E4","brand-400":"#5693E0","brand-450":"#4085DC","brand-500":"#2976D8","brand-550":"#1167D4","brand-600":"#0659C5","brand-650":"#1A509F","brand-700":"#20467F","brand-750":"#203C63","brand-800":"#1D314C","brand-850":"#1A2638","brand-900":"#141C28","brand-950":"#0C1117","gray-000":"#FFFFFF","gray-025":"#F7F8F8","gray-050":"#F0F1F2","gray-100":"#E1E2E5","gray-150":"#D2D4D8","gray-200":"#C4C7CB","gray-250":"#B5B9BE","gray-300":"#A7ACB2","gray-350":"#999EA5","gray-400":"#8D9197","gray-450":"#80848A","gray-500":"#74777C","gray-550":"#686B6F","gray-600":"#5C5F63","gray-650":"#505356","gray-700":"#45474A","gray-750":"#3A3B3E","gray-800":"#2F3033","gray-850":"#252627","gray-900":"#1B1C1D","gray-950":"#101112","gray-1000":"#000000","info-050":"#EAF1FB","info-100":"#D5E4F7","info-150":"#C0D6F4","info-200":"#ABC9F0","info-250":"#96BCEC","info-300":"#80AEE8","info-350":"#6CA0E4","info-400":"#5693E0","info-450":"#4085DC","info-500":"#2976D8","info-550":"#1167D4","info-600":"#0659C5","info-650":"#1A509F","info-700":"#20467F","info-750":"#203C63","info-800":"#1D314C","info-850":"#1A2638","info-900":"#141C28","info-950":"#0C1117","success-050":"#E4F7D4","success-100":"#C8EEA8","success-150":"#AAE579","success-200":"#89DC45","success-250":"#72CF27","success-300":"#6AC024","success-350":"#61B121","success-400":"#59A21E","success-450":"#51941C","success-500":"#4B851A","success-550":"#427816","success-600":"#3A6A14","success-650":"#385C1F","success-700":"#344D24","success-750":"#2E4022","success-800":"#27341F","success-850":"#20281A","success-900":"#181D15","success-950":"#10120E","warning-050":"#FFF1BD","warning-100":"#FFE176","warning-150":"#FFCF25","warning-200":"#F4BF06","warning-250":"#E3B205","warning-300":"#D3A504","warning-350":"#C29805","warning-400":"#B28C03","warning-450":"#A27F03","warning-500":"#937303","warning-550":"#836703","warning-600":"#745B03","warning-650":"#625019","warning-700":"#524620","warning-750":"#443B20","warning-800":"#36301D","warning-850":"#2A2619","warning-900":"#1E1C13","warning-950":"#12110C","error-050":"#FCEDED","error-100":"#FADBDB","error-150":"#F7C9C9","error-200":"#F5B7B7","error-250":"#F2A4A4","error-300":"#EF9191","error-350":"#EC7D7D","error-400":"#E96868","error-450":"#E55050","error-500":"#E13131","error-550":"#D80000","error-600":"#C00101","error-650":"#9E2219","error-700":"#802820","error-750":"#662820","error-800":"#4F231E","error-850":"#3B1D19","error-900":"#2A1614","error-950":"#1A0E0C","red-050":"#FDEDED","red-100":"#FADBDB","red-150":"#F8C9C9","red-200":"#F5B7B6","red-250":"#F3A4A3","red-300":"#F09190","red-350":"#EE7C7B","red-400":"#EB6665","red-450":"#E74E4D","red-500":"#D83F3D","red-550":"#C23837","red-600":"#AC3231","red-650":"#8D3531","red-700":"#73332F","red-750":"#5B2F2B","red-800":"#472826","red-850":"#35211F","red-900":"#251817","red-950":"#160F0E","orange-050":"#FDEEE2","orange-100":"#FCDDC5","orange-150":"#FACBA8","orange-200":"#F8B98B","orange-250":"#F6A76A","orange-300":"#F4934B","orange-350":"#F27E27","orange-400":"#E76E12","orange-450":"#D26411","orange-500":"#BE5B0F","orange-550":"#AA510E","orange-600":"#97480C","orange-650":"#7E431D","orange-700":"#673C22","orange-750":"#533422","orange-800":"#412C1F","orange-850":"#31231B","orange-900":"#221A14","orange-950":"#15100C","brown-050":"#F3F0EF","brown-100":"#E7E1DF","brown-150":"#DCD2CF","brown-200":"#D0C4BF","brown-250":"#C5B6B0","brown-300":"#BAA7A1","brown-350":"#AF9992","brown-400":"#A48B83","brown-450":"#997E74","brown-500":"#8F7065","brown-550":"#846357","brown-600":"#7A5649","brown-650":"#684C42","brown-700":"#57423C","brown-750":"#463833","brown-800":"#382E2A","brown-850":"#2B2422","brown-900":"#1F1B19","brown-950":"#121010","yellow-050":"#FAF0D3","yellow-100":"#F5E2A4","yellow-150":"#F0D275","yellow-200":"#EBC242","yellow-250":"#E4B213","yellow-300":"#D4A511","yellow-350":"#C39810","yellow-400":"#B38B0F","yellow-450":"#A37F0D","yellow-500":"#93730C","yellow-550":"#84670B","yellow-600":"#755B0A","yellow-650":"#63501C","yellow-700":"#534521","yellow-750":"#443A21","yellow-800":"#36301F","yellow-850":"#29261A","yellow-900":"#1D1C14","yellow-950":"#12110C","green-050":"#E2F6E5","green-100":"#C5ECCA","green-150":"#A7E3AF","green-200":"#89D894","green-250":"#67CE75","green-300":"#4DC25D","green-350":"#48B257","green-400":"#41A44F","green-450":"#3B9548","green-500":"#368741","green-550":"#30793A","green-600":"#2B6B33","green-650":"#2F5C34","green-700":"#2E4E31","green-750":"#2A412C","green-800":"#253426","green-850":"#1E281F","green-900":"#171D17","green-950":"#0F120F","blue-1-050":"#EBF1FF","blue-1-100":"#D6E3FE","blue-1-150":"#C2D5FE","blue-1-200":"#ADC7FE","blue-1-250":"#99B8FD","blue-1-300":"#84AAFD","blue-1-350":"#6F9BFD","blue-1-400":"#5A8DFB","blue-1-450":"#437DFC","blue-1-500":"#3D71E4","blue-1-550":"#3665CC","blue-1-600":"#305AB5","blue-1-650":"#315093","blue-1-700":"#2E4675","blue-1-750":"#293B5E","blue-1-800":"#243048","blue-1-850":"#1E2635","blue-1-900":"#171C25","blue-1-950":"#0E1116","blue-2-050":"#E2F4F9","blue-2-100":"#C5E9F3","blue-2-150":"#A7DDED","blue-2-200":"#88D1E6","blue-2-250":"#68C5E0","blue-2-300":"#48B8D9","blue-2-350":"#3BAACA","blue-2-400":"#359CB9","blue-2-450":"#318EA9","blue-2-500":"#2C8199","blue-2-550":"#277389","blue-2-600":"#236679","blue-2-650":"#2A5866","blue-2-700":"#2A4B55","blue-2-750":"#283F47","blue-2-800":"#233337","blue-2-850":"#1D272A","blue-2-900":"#161C1E","blue-2-950":"#0E1112","purple-050":"#F6EEFF","purple-100":"#ECDCFF","purple-150":"#E3CBFE","purple-200":"#DAB9FE","purple-250":"#D0A7FE","purple-300":"#C795FE","purple-350":"#BD83FD","purple-400":"#B36FFD","purple-450":"#A85BFD","purple-500":"#9B4BF3","purple-550":"#8B43DA","purple-600":"#7B3CC1","purple-650":"#673C9B","purple-700":"#56387D","purple-750":"#463162","purple-800":"#382A4A","purple-850":"#2A2237","purple-900":"#1E1926","purple-950":"#121017","pink-050":"#FCEDF5","pink-100":"#F9DAEA","pink-150":"#F7C7E0","pink-200":"#F4B4D5","pink-250":"#F1A1CA","pink-300":"#EE8CBF","pink-350":"#EA77B3","pink-400":"#E760A6","pink-450":"#E24797","pink-500":"#CD4089","pink-550":"#B8397B","pink-600":"#A3336D","pink-650":"#86355E","pink-700":"#6E334F","pink-750":"#582E42","pink-800":"#442834","pink-850":"#332028","pink-900":"#24181D","pink-950":"#160F12","black-000":"#1B1C1D00","black-050":"#1B1C1D0D","black-100":"#1B1C1D1A","black-150":"#1B1C1D26","black-200":"#1B1C1D33","black-250":"#1B1C1D40","black-300":"#1B1C1D4D","black-350":"#1B1C1D59","black-400":"#1B1C1D66","black-450":"#1B1C1D73","black-500":"#1B1C1D80","black-550":"#1B1C1D8C","black-600":"#1B1C1D99","black-650":"#1B1C1DA6","black-700":"#1B1C1DB2","black-750":"#1B1C1DBF","black-800":"#1B1C1DCC","black-850":"#1B1C1DD9","black-900":"#1B1C1DE5","black-950":"#101112F2","white-000":"#F7F8F800","white-050":"#F7F8F80D","white-100":"#F7F8F81A","white-150":"#F7F8F826","white-200":"#F7F8F833","white-250":"#F7F8F840","white-300":"#F7F8F84D","white-350":"#F7F8F859","white-400":"#F7F8F866","white-450":"#F7F8F873","white-500":"#F7F8F880","white-550":"#F7F8F88C","white-600":"#F7F8F899","white-650":"#F7F8F8A6","white-700":"#F7F8F8B2","white-750":"#F7F8F8BF","white-800":"#F7F8F8CC","white-850":"#F7F8F8D9","white-900":"#F7F8F8E5","white-950":"#F7F8F8F2","white-975":"#F7F8F8F9"},transitions:{"ease-in":"cubic-bezier(0.32, 0, 0.67, 0)","ease-out":"cubic-bezier(0.33, 1, 0.68, 1)","ease-in-out":"cubic-bezier(0.65, 0, 0.35, 1)",duration:"250ms"},font:{sizes:{xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",ml:"0.938rem",xl:"1.25rem",t:"0.6875rem",s:"0.75rem",h1:"2rem",h2:"1.75rem",h3:"1.5rem",h4:"1.375rem",h5:"1.25rem",h6:"1.125rem","xl-alt":"5rem","lg-alt":"4.5rem","md-alt":"4rem","sm-alt":"3.5rem","xs-alt":"3rem"},weights:{thin:200,light:300,regular:400,medium:500,bold:600,extrabold:700,black:800},families:{base:'"Roboto Flex Variable", sans-serif',accent:'"Roboto Flex Variable", sans-serif'}},spacings:{l:"3rem",b:"1.625rem",m:"0.8125rem",s:"1rem",t:"0.5rem",st:"0.25rem","4xs":"0.125rem","3xs":"0.25rem","2xs":"0.375rem",xxxs:"0.25rem",xxs:"0.375rem",xs:"0.5rem",sm:"0.75rem",base:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem",xxl:"3rem",xxxl:"3.5rem","2xl":"3rem","3xl":"3.5rem","4xl":"4rem","5xl":"4.5rem","6xl":"6rem","7xl":"7.5rem"},breakpoints:{xs:"0px",sm:"576px",md:"768px",lg:"992px",xl:"1200px",xxl:"1400px"}},contextuals:{background:{surface:{primary:"#FFFFFF",secondary:"#FFFFFF",tertiary:"#F7F8F8"},semantic:{overlay:{primary:"#1B1C1D0D","primary-hover":"#1B1C1D1A"},contextual:{primary:"#1B1C1D0D","primary-hover":"#1B1C1D1A"},brand:{primary:"#1167D4","primary-hover":"#1A509F",secondary:"#D5E4F7","secondary-hover":"#C0D6F4",tertiary:"#EAF1FB","tertiary-hover":"#D5E4F7"},neutral:{primary:"#686B6F","primary-hover":"#505356",secondary:"#E1E2E5","secondary-hover":"#D2D4D8",tertiary:"#F0F1F2","tertiary-hover":"#E1E2E5"},info:{primary:"#1167D4","primary-hover":"#1A509F",secondary:"#D5E4F7","secondary-hover":"#C0D6F4",tertiary:"#EAF1FB","tertiary-hover":"#D5E4F7"},success:{primary:"#427816","primary-hover":"#385C1F",secondary:"#C8EEA8","secondary-hover":"#AAE579",tertiary:"#E4F7D4","tertiary-hover":"#C8EEA8"},warning:{primary:"#836703","primary-hover":"#625019",secondary:"#FFE176","secondary-hover":"#FFCF25",tertiary:"#FFF1BD","tertiary-hover":"#FFE176"},error:{primary:"#D80000","primary-hover":"#9E2219",secondary:"#FADBDB","secondary-hover":"#F7C9C9",tertiary:"#FCEDED","tertiary-hover":"#FADBDB"},disabled:{primary:"#E1E2E5",secondary:"#F0F1F2"}},palette:{brand:{primary:"#2976D8",secondary:"#6CA0E4",tertiary:"#C0D6F4"},red:{primary:"#D83F3D",secondary:"#EE7C7B",tertiary:"#F8C9C9"},orange:{primary:"#BE5B0F",secondary:"#F27E27",tertiary:"#FACBA8"},brown:{primary:"#8F7065",secondary:"#AF9992",tertiary:"#DCD2CF"},yellow:{primary:"#93730C",secondary:"#C39810",tertiary:"#F0D275"},green:{primary:"#368741",secondary:"#48B257",tertiary:"#A7E3AF"},"blue-1":{primary:"#3D71E4",secondary:"#6F9BFD",tertiary:"#C2D5FE"},"blue-2":{primary:"#2C8199",secondary:"#3BAACA",tertiary:"#A7DDED"},purple:{primary:"#9B4BF3",secondary:"#BD83FD",tertiary:"#E3CBFE"},pink:{primary:"#CD4089",secondary:"#EA77B3",tertiary:"#F7C7E0"},gray:{primary:"#74777C",secondary:"#999EA5",tertiary:"#D2D4D8"}}},content:{logo1:"#377FDB",logo2:"#377FDB",semantic:{contextual:{primary:"#F7F8F8F2"},overlay:{primary:"#F7F8F8F2"},brand:{primary:"#20467F",secondary:"#0659C5",tertiary:"#1167D4","on-brand":"#EAF1FB"},neutral:{primary:"#252627",secondary:"#5C5F63",tertiary:"#686B6F","on-neutral":"#F0F1F2"},info:{primary:"#20467F",secondary:"#0659C5",tertiary:"#1167D4","on-info":"#EAF1FB"},success:{primary:"#344D24",secondary:"#3A6A14",tertiary:"#427816","on-success":"#E4F7D4"},warning:{primary:"#524620",secondary:"#745B03",tertiary:"#836703","on-warning":"#FFF1BD"},error:{primary:"#802820",secondary:"#C00101",tertiary:"#D80000","on-error":"#FCEDED"},disabled:{primary:"#A7ACB2",secondary:"#F7F8F880"}},palette:{brand:{primary:"#2976D8"},red:{primary:"#D83F3D"},orange:{primary:"#BE5B0F"},brown:{primary:"#8F7065"},yellow:{primary:"#93730C"},green:{primary:"#368741"},"blue-1":{primary:"#3D71E4"},"blue-2":{primary:"#2C8199"},purple:{primary:"#9B4BF3"},pink:{primary:"#CD4089"},gray:{primary:"#74777C"}}},border:{surface:{primary:"#E1E2E5"},semantic:{contextual:{primary:"#F7F8F833"},overlay:{primary:"#F7F8F833"},brand:{primary:"#1167D4",secondary:"#80AEE8",tertiary:"#C0D6F4"},neutral:{primary:"#686B6F",secondary:"#A7ACB2",tertiary:"#D2D4D8"},info:{primary:"#1167D4",secondary:"#80AEE8",tertiary:"#C0D6F4"},success:{primary:"#427816",secondary:"#6AC024",tertiary:"#AAE579"},warning:{primary:"#836703",secondary:"#D3A504",tertiary:"#FFCF25"},error:{primary:"#D80000",secondary:"#EF9191",tertiary:"#F7C9C9"},disabled:{primary:"#E1E2E5"}}}},components:{}},dark:{globals:{colors:{"logo-1-light":"#377FDB","logo-2-light":"#377FDB","logo-1-dark":"#C1D6F2","logo-2-dark":"#C1D6F2","brand-050":"#EAF1FB","brand-100":"#D5E4F7","brand-150":"#C0D6F4","brand-200":"#ABC9F0","brand-250":"#96BCEC","brand-300":"#80AEE8","brand-350":"#6CA0E4","brand-400":"#5693E0","brand-450":"#4085DC","brand-500":"#2976D8","brand-550":"#1167D4","brand-600":"#0659C5","brand-650":"#1A509F","brand-700":"#20467F","brand-750":"#203C63","brand-800":"#1D314C","brand-850":"#1A2638","brand-900":"#141C28","brand-950":"#0C1117","gray-000":"#FFFFFF","gray-025":"#F7F8F8","gray-050":"#F0F1F2","gray-100":"#E1E2E5","gray-150":"#D2D4D8","gray-200":"#C4C7CB","gray-250":"#B5B9BE","gray-300":"#A7ACB2","gray-350":"#999EA5","gray-400":"#8D9197","gray-450":"#80848A","gray-500":"#74777C","gray-550":"#686B6F","gray-600":"#5C5F63","gray-650":"#505356","gray-700":"#45474A","gray-750":"#3A3B3E","gray-800":"#2F3033","gray-850":"#252627","gray-900":"#1B1C1D","gray-950":"#101112","gray-1000":"#000000","info-050":"#EAF1FB","info-100":"#D5E4F7","info-150":"#C0D6F4","info-200":"#ABC9F0","info-250":"#96BCEC","info-300":"#80AEE8","info-350":"#6CA0E4","info-400":"#5693E0","info-450":"#4085DC","info-500":"#2976D8","info-550":"#1167D4","info-600":"#0659C5","info-650":"#1A509F","info-700":"#20467F","info-750":"#203C63","info-800":"#1D314C","info-850":"#1A2638","info-900":"#141C28","info-950":"#0C1117","success-050":"#E4F7D4","success-100":"#C8EEA8","success-150":"#AAE579","success-200":"#89DC45","success-250":"#72CF27","success-300":"#6AC024","success-350":"#61B121","success-400":"#59A21E","success-450":"#51941C","success-500":"#4B851A","success-550":"#427816","success-600":"#3A6A14","success-650":"#385C1F","success-700":"#344D24","success-750":"#2E4022","success-800":"#27341F","success-850":"#20281A","success-900":"#181D15","success-950":"#10120E","warning-050":"#FFF1BD","warning-100":"#FFE176","warning-150":"#FFCF25","warning-200":"#F4BF06","warning-250":"#E3B205","warning-300":"#D3A504","warning-350":"#C29805","warning-400":"#B28C03","warning-450":"#A27F03","warning-500":"#937303","warning-550":"#836703","warning-600":"#745B03","warning-650":"#625019","warning-700":"#524620","warning-750":"#443B20","warning-800":"#36301D","warning-850":"#2A2619","warning-900":"#1E1C13","warning-950":"#12110C","error-050":"#FCEDED","error-100":"#FADBDB","error-150":"#F7C9C9","error-200":"#F5B7B7","error-250":"#F2A4A4","error-300":"#EF9191","error-350":"#EC7D7D","error-400":"#E96868","error-450":"#E55050","error-500":"#E13131","error-550":"#D80000","error-600":"#C00101","error-650":"#9E2219","error-700":"#802820","error-750":"#662820","error-800":"#4F231E","error-850":"#3B1D19","error-900":"#2A1614","error-950":"#1A0E0C","red-050":"#FDEDED","red-100":"#FADBDB","red-150":"#F8C9C9","red-200":"#F5B7B6","red-250":"#F3A4A3","red-300":"#F09190","red-350":"#EE7C7B","red-400":"#EB6665","red-450":"#E74E4D","red-500":"#D83F3D","red-550":"#C23837","red-600":"#AC3231","red-650":"#8D3531","red-700":"#73332F","red-750":"#5B2F2B","red-800":"#472826","red-850":"#35211F","red-900":"#251817","red-950":"#160F0E","orange-050":"#FDEEE2","orange-100":"#FCDDC5","orange-150":"#FACBA8","orange-200":"#F8B98B","orange-250":"#F6A76A","orange-300":"#F4934B","orange-350":"#F27E27","orange-400":"#E76E12","orange-450":"#D26411","orange-500":"#BE5B0F","orange-550":"#AA510E","orange-600":"#97480C","orange-650":"#7E431D","orange-700":"#673C22","orange-750":"#533422","orange-800":"#412C1F","orange-850":"#31231B","orange-900":"#221A14","orange-950":"#15100C","brown-050":"#F3F0EF","brown-100":"#E7E1DF","brown-150":"#DCD2CF","brown-200":"#D0C4BF","brown-250":"#C5B6B0","brown-300":"#BAA7A1","brown-350":"#AF9992","brown-400":"#A48B83","brown-450":"#997E74","brown-500":"#8F7065","brown-550":"#846357","brown-600":"#7A5649","brown-650":"#684C42","brown-700":"#57423C","brown-750":"#463833","brown-800":"#382E2A","brown-850":"#2B2422","brown-900":"#1F1B19","brown-950":"#121010","yellow-050":"#FAF0D3","yellow-100":"#F5E2A4","yellow-150":"#F0D275","yellow-200":"#EBC242","yellow-250":"#E4B213","yellow-300":"#D4A511","yellow-350":"#C39810","yellow-400":"#B38B0F","yellow-450":"#A37F0D","yellow-500":"#93730C","yellow-550":"#84670B","yellow-600":"#755B0A","yellow-650":"#63501C","yellow-700":"#534521","yellow-750":"#443A21","yellow-800":"#36301F","yellow-850":"#29261A","yellow-900":"#1D1C14","yellow-950":"#12110C","green-050":"#E2F6E5","green-100":"#C5ECCA","green-150":"#A7E3AF","green-200":"#89D894","green-250":"#67CE75","green-300":"#4DC25D","green-350":"#48B257","green-400":"#41A44F","green-450":"#3B9548","green-500":"#368741","green-550":"#30793A","green-600":"#2B6B33","green-650":"#2F5C34","green-700":"#2E4E31","green-750":"#2A412C","green-800":"#253426","green-850":"#1E281F","green-900":"#171D17","green-950":"#0F120F","blue-1-050":"#EBF1FF","blue-1-100":"#D6E3FE","blue-1-150":"#C2D5FE","blue-1-200":"#ADC7FE","blue-1-250":"#99B8FD","blue-1-300":"#84AAFD","blue-1-350":"#6F9BFD","blue-1-400":"#5A8DFB","blue-1-450":"#437DFC","blue-1-500":"#3D71E4","blue-1-550":"#3665CC","blue-1-600":"#305AB5","blue-1-650":"#315093","blue-1-700":"#2E4675","blue-1-750":"#293B5E","blue-1-800":"#243048","blue-1-850":"#1E2635","blue-1-900":"#171C25","blue-1-950":"#0E1116","blue-2-050":"#E2F4F9","blue-2-100":"#C5E9F3","blue-2-150":"#A7DDED","blue-2-200":"#88D1E6","blue-2-250":"#68C5E0","blue-2-300":"#48B8D9","blue-2-350":"#3BAACA","blue-2-400":"#359CB9","blue-2-450":"#318EA9","blue-2-500":"#2C8199","blue-2-550":"#277389","blue-2-600":"#236679","blue-2-650":"#2A5866","blue-2-700":"#2A4B55","blue-2-750":"#283F47","blue-2-800":"#233337","blue-2-850":"#1D272A","blue-2-900":"#161C1E","blue-2-950":"#0E1112","purple-050":"#F6EEFF","purple-100":"#ECDCFF","purple-150":"#E3CBFE","purple-200":"#DAB9FE","purple-250":"#D0A7FE","purple-300":"#C795FE","purple-350":"#BD83FD","purple-400":"#B36FFD","purple-450":"#A85BFD","purple-500":"#9B4BF3","purple-550":"#8B43DA","purple-600":"#7B3CC1","purple-650":"#673C9B","purple-700":"#56387D","purple-750":"#463162","purple-800":"#382A4A","purple-850":"#2A2237","purple-900":"#1E1926","purple-950":"#121017","pink-050":"#FCEDF5","pink-100":"#F9DAEA","pink-150":"#F7C7E0","pink-200":"#F4B4D5","pink-250":"#F1A1CA","pink-300":"#EE8CBF","pink-350":"#EA77B3","pink-400":"#E760A6","pink-450":"#E24797","pink-500":"#CD4089","pink-550":"#B8397B","pink-600":"#A3336D","pink-650":"#86355E","pink-700":"#6E334F","pink-750":"#582E42","pink-800":"#442834","pink-850":"#332028","pink-900":"#24181D","pink-950":"#160F12","black-000":"#1B1C1D00","black-050":"#1B1C1D0D","black-100":"#1B1C1D1A","black-150":"#1B1C1D26","black-200":"#1B1C1D33","black-250":"#1B1C1D40","black-300":"#1B1C1D4D","black-350":"#1B1C1D59","black-400":"#1B1C1D66","black-450":"#1B1C1D73","black-500":"#1B1C1D80","black-550":"#1B1C1D8C","black-600":"#1B1C1D99","black-650":"#1B1C1DA6","black-700":"#1B1C1DB2","black-750":"#1B1C1DBF","black-800":"#1B1C1DCC","black-850":"#1B1C1DD9","black-900":"#1B1C1DE5","black-950":"#101112F2","white-000":"#F7F8F800","white-050":"#F7F8F80D","white-100":"#F7F8F81A","white-150":"#F7F8F826","white-200":"#F7F8F833","white-250":"#F7F8F840","white-300":"#F7F8F84D","white-350":"#F7F8F859","white-400":"#F7F8F866","white-450":"#F7F8F873","white-500":"#F7F8F880","white-550":"#F7F8F88C","white-600":"#F7F8F899","white-650":"#F7F8F8A6","white-700":"#F7F8F8B2","white-750":"#F7F8F8BF","white-800":"#F7F8F8CC","white-850":"#F7F8F8D9","white-900":"#F7F8F8E5","white-950":"#F7F8F8F2","white-975":"#F7F8F8F9"},transitions:{"ease-in":"cubic-bezier(0.32, 0, 0.67, 0)","ease-out":"cubic-bezier(0.33, 1, 0.68, 1)","ease-in-out":"cubic-bezier(0.65, 0, 0.35, 1)",duration:"250ms"},font:{sizes:{xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",ml:"0.938rem",xl:"1.25rem",t:"0.6875rem",s:"0.75rem",h1:"2rem",h2:"1.75rem",h3:"1.5rem",h4:"1.375rem",h5:"1.25rem",h6:"1.125rem","xl-alt":"5rem","lg-alt":"4.5rem","md-alt":"4rem","sm-alt":"3.5rem","xs-alt":"3rem"},weights:{thin:200,light:300,regular:400,medium:500,bold:600,extrabold:700,black:800},families:{base:'"Roboto Flex Variable", sans-serif',accent:'"Roboto Flex Variable", sans-serif'}},spacings:{l:"3rem",b:"1.625rem",m:"0.8125rem",s:"1rem",t:"0.5rem",st:"0.25rem","4xs":"0.125rem","3xs":"0.25rem","2xs":"0.375rem",xxxs:"0.25rem",xxs:"0.375rem",xs:"0.5rem",sm:"0.75rem",base:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem",xxl:"3rem",xxxl:"3.5rem","2xl":"3rem","3xl":"3.5rem","4xl":"4rem","5xl":"4.5rem","6xl":"6rem","7xl":"7.5rem"},breakpoints:{xs:"0px",sm:"576px",md:"768px",lg:"992px",xl:"1200px",xxl:"1400px"}},contextuals:{background:{surface:{primary:"#2F3033",secondary:"#252627",tertiary:"#1B1C1D"},semantic:{contextual:{primary:"#F7F8F80D","primary-hover":"#F7F8F81A"},overlay:{primary:"#F7F8F80D","primary-hover":"#F7F8F81A"},brand:{primary:"#1167D4","primary-hover":"#1A509F",secondary:"#20467F","secondary-hover":"#203C63",tertiary:"#203C63","tertiary-hover":"#1D314C"},neutral:{primary:"#686B6F","primary-hover":"#505356",secondary:"#45474A","secondary-hover":"#3A3B3E",tertiary:"#3A3B3E","tertiary-hover":"#2F3033"},info:{primary:"#1167D4","primary-hover":"#1A509F",secondary:"#20467F","secondary-hover":"#203C63",tertiary:"#203C63","tertiary-hover":"#1D314C"},success:{primary:"#427816","primary-hover":"#385C1F",secondary:"#344D24","secondary-hover":"#2E4022",tertiary:"#2E4022","tertiary-hover":"#27341F"},warning:{primary:"#836703","primary-hover":"#625019",secondary:"#524620","secondary-hover":"#443B20",tertiary:"#443B20","tertiary-hover":"#36301D"},error:{primary:"#D80000","primary-hover":"#9E2219",secondary:"#802820","secondary-hover":"#662820",tertiary:"#662820","tertiary-hover":"#4F231E"},disabled:{primary:"#3A3B3E",secondary:"#2F3033"}},palette:{brand:{primary:"#6CA0E4",secondary:"#4085DC",tertiary:"#1167D4"},red:{primary:"#EE7C7B",secondary:"#E74E4D",tertiary:"#C23837"},orange:{primary:"#F27E27",secondary:"#D26411",tertiary:"#AA510E"},brown:{primary:"#AF9992",secondary:"#997E74",tertiary:"#846357"},yellow:{primary:"#C39810",secondary:"#A37F0D",tertiary:"#84670B"},green:{primary:"#48B257",secondary:"#3B9548",tertiary:"#30793A"},"blue-1":{primary:"#6F9BFD",secondary:"#437DFC",tertiary:"#3665CC"},"blue-2":{primary:"#3BAACA",secondary:"#318EA9",tertiary:"#277389"},purple:{primary:"#BD83FD",secondary:"#A85BFD",tertiary:"#8B43DA"},pink:{primary:"#EA77B3",secondary:"#E24797",tertiary:"#B8397B"},gray:{primary:"#999EA5",secondary:"#80848A",tertiary:"#686B6F"}}},content:{logo1:"#C1D6F2",logo2:"#C1D6F2",semantic:{contextual:{primary:"#1B1C1DD9"},overlay:{primary:"#1B1C1DD9"},brand:{primary:"#EAF1FB",secondary:"#D5E4F7",tertiary:"#96BCEC","on-brand":"#EAF1FB"},neutral:{primary:"#F0F1F2",secondary:"#E1E2E5",tertiary:"#B5B9BE","on-neutral":"#F0F1F2"},info:{primary:"#EAF1FB",secondary:"#D5E4F7",tertiary:"#96BCEC","on-info":"#EAF1FB"},success:{primary:"#E4F7D4",secondary:"#C8EEA8",tertiary:"#72CF27","on-success":"#E4F7D4"},warning:{primary:"#FFF1BD",secondary:"#FFE176",tertiary:"#E3B205","on-warning":"#FFF1BD"},error:{primary:"#FCEDED",secondary:"#FADBDB",tertiary:"#F2A4A4","on-error":"#FCEDED"},disabled:{primary:"#5C5F63",secondary:"#1B1C1D4D"}},palette:{brand:{primary:"#2976D8"},red:{primary:"#D83F3D"},orange:{primary:"#BE5B0F"},brown:{primary:"#8F7065"},yellow:{primary:"#93730C"},green:{primary:"#368741"},"blue-1":{primary:"#3D71E4"},"blue-2":{primary:"#2C8199"},purple:{primary:"#9B4BF3"},pink:{primary:"#CD4089"},gray:{primary:"#74777C"}}},border:{surface:{primary:"#3A3B3E"},semantic:{contextual:{primary:"#1B1C1D33"},overlay:{primary:"#1B1C1D33"},brand:{primary:"#4085DC",secondary:"#0659C5",tertiary:"#20467F"},neutral:{primary:"#80848A",secondary:"#5C5F63",tertiary:"#45474A"},info:{primary:"#4085DC",secondary:"#0659C5",tertiary:"#20467F"},success:{primary:"#51941C",secondary:"#3A6A14",tertiary:"#344D24"},warning:{primary:"#A27F03",secondary:"#745B03",tertiary:"#524620"},error:{primary:"#E55050",secondary:"#C00101",tertiary:"#802820"},disabled:{primary:"#2F3033"}}}},components:{}}}}),kr}var Ir={},M0;function oh(){if(M0)return Ir;M0=1,Object.defineProperty(Ir,"__esModule",{value:!0}),Ir.buildRefs=void 0;const t=e=>{const r=(n,i)=>{if(typeof i=="object"){const o={};return Object.entries(i).forEach(([l,a])=>{o[l]=r((n?n+".":"")+l,a)}),o}return"ref("+n+")"};return r("",e)};return Ir.buildRefs=t,Ir}var Or={},uo,N0;function lh(){if(N0)return uo;N0=1;var t=function(C){return e(C)&&!r(C)};function e(m){return!!m&&typeof m=="object"}function r(m){var C=Object.prototype.toString.call(m);return C==="[object RegExp]"||C==="[object Date]"||o(m)}var n=typeof Symbol=="function"&&Symbol.for,i=n?Symbol.for("react.element"):60103;function o(m){return m.$$typeof===i}function l(m){return Array.isArray(m)?[]:{}}function a(m,C){return C.clone!==!1&&C.isMergeableObject(m)?h(l(m),m,C):m}function s(m,C,E){return m.concat(C).map(function(F){return a(F,E)})}function c(m,C){if(!C.customMerge)return h;var E=C.customMerge(m);return typeof E=="function"?E:h}function d(m){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(m).filter(function(C){return Object.propertyIsEnumerable.call(m,C)}):[]}function f(m){return Object.keys(m).concat(d(m))}function p(m,C){try{return C in m}catch{return!1}}function g(m,C){return p(m,C)&&!(Object.hasOwnProperty.call(m,C)&&Object.propertyIsEnumerable.call(m,C))}function y(m,C,E){var F={};return E.isMergeableObject(m)&&f(m).forEach(function(D){F[D]=a(m[D],E)}),f(C).forEach(function(D){g(m,D)||(p(m,D)&&E.isMergeableObject(C[D])?F[D]=c(D,E)(m[D],C[D],E):F[D]=a(C[D],E))}),F}function h(m,C,E){E=E||{},E.arrayMerge=E.arrayMerge||s,E.isMergeableObject=E.isMergeableObject||t,E.cloneUnlessOtherwiseSpecified=a;var F=Array.isArray(C),D=Array.isArray(m),x=F===D;return x?F?E.arrayMerge(m,C,E):y(m,C,E):a(C,E)}h.all=function(C,E){if(!Array.isArray(C))throw new Error("first argument should be an array");return C.reduce(function(F,D){return h(F,D,E)},{})};var v=h;return uo=v,uo}var fo={},B0;function ah(){return B0||(B0=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.contextualDarkTokens=t.contextualDefaultTokens=t.globals=t.colors=void 0,t.colors={"logo-1-light":"#377FDB","logo-2-light":"#377FDB","logo-1-dark":"#C1D6F2","logo-2-dark":"#C1D6F2","brand-050":"#EAF1FB","brand-100":"#D5E4F7","brand-150":"#C0D6F4","brand-200":"#ABC9F0","brand-250":"#96BCEC","brand-300":"#80AEE8","brand-350":"#6CA0E4","brand-400":"#5693E0","brand-450":"#4085DC","brand-500":"#2976D8","brand-550":"#1167D4","brand-600":"#0659C5","brand-650":"#1A509F","brand-700":"#20467F","brand-750":"#203C63","brand-800":"#1D314C","brand-850":"#1A2638","brand-900":"#141C28","brand-950":"#0C1117","gray-000":"#FFFFFF","gray-025":"#F7F8F8","gray-050":"#F0F1F2","gray-100":"#E1E2E5","gray-150":"#D2D4D8","gray-200":"#C4C7CB","gray-250":"#B5B9BE","gray-300":"#A7ACB2","gray-350":"#999EA5","gray-400":"#8D9197","gray-450":"#80848A","gray-500":"#74777C","gray-550":"#686B6F","gray-600":"#5C5F63","gray-650":"#505356","gray-700":"#45474A","gray-750":"#3A3B3E","gray-800":"#2F3033","gray-850":"#252627","gray-900":"#1B1C1D","gray-950":"#101112","gray-1000":"#000000","info-050":"#EAF1FB","info-100":"#D5E4F7","info-150":"#C0D6F4","info-200":"#ABC9F0","info-250":"#96BCEC","info-300":"#80AEE8","info-350":"#6CA0E4","info-400":"#5693E0","info-450":"#4085DC","info-500":"#2976D8","info-550":"#1167D4","info-600":"#0659C5","info-650":"#1A509F","info-700":"#20467F","info-750":"#203C63","info-800":"#1D314C","info-850":"#1A2638","info-900":"#141C28","info-950":"#0C1117","success-050":"#E4F7D4","success-100":"#C8EEA8","success-150":"#AAE579","success-200":"#89DC45","success-250":"#72CF27","success-300":"#6AC024","success-350":"#61B121","success-400":"#59A21E","success-450":"#51941C","success-500":"#4B851A","success-550":"#427816","success-600":"#3A6A14","success-650":"#385C1F","success-700":"#344D24","success-750":"#2E4022","success-800":"#27341F","success-850":"#20281A","success-900":"#181D15","success-950":"#10120E","warning-050":"#FFF1BD","warning-100":"#FFE176","warning-150":"#FFCF25","warning-200":"#F4BF06","warning-250":"#E3B205","warning-300":"#D3A504","warning-350":"#C29805","warning-400":"#B28C03","warning-450":"#A27F03","warning-500":"#937303","warning-550":"#836703","warning-600":"#745B03","warning-650":"#625019","warning-700":"#524620","warning-750":"#443B20","warning-800":"#36301D","warning-850":"#2A2619","warning-900":"#1E1C13","warning-950":"#12110C","error-050":"#FCEDED","error-100":"#FADBDB","error-150":"#F7C9C9","error-200":"#F5B7B7","error-250":"#F2A4A4","error-300":"#EF9191","error-350":"#EC7D7D","error-400":"#E96868","error-450":"#E55050","error-500":"#E13131","error-550":"#D80000","error-600":"#C00101","error-650":"#9E2219","error-700":"#802820","error-750":"#662820","error-800":"#4F231E","error-850":"#3B1D19","error-900":"#2A1614","error-950":"#1A0E0C","red-050":"#FDEDED","red-100":"#FADBDB","red-150":"#F8C9C9","red-200":"#F5B7B6","red-250":"#F3A4A3","red-300":"#F09190","red-350":"#EE7C7B","red-400":"#EB6665","red-450":"#E74E4D","red-500":"#D83F3D","red-550":"#C23837","red-600":"#AC3231","red-650":"#8D3531","red-700":"#73332F","red-750":"#5B2F2B","red-800":"#472826","red-850":"#35211F","red-900":"#251817","red-950":"#160F0E","orange-050":"#FDEEE2","orange-100":"#FCDDC5","orange-150":"#FACBA8","orange-200":"#F8B98B","orange-250":"#F6A76A","orange-300":"#F4934B","orange-350":"#F27E27","orange-400":"#E76E12","orange-450":"#D26411","orange-500":"#BE5B0F","orange-550":"#AA510E","orange-600":"#97480C","orange-650":"#7E431D","orange-700":"#673C22","orange-750":"#533422","orange-800":"#412C1F","orange-850":"#31231B","orange-900":"#221A14","orange-950":"#15100C","brown-050":"#F3F0EF","brown-100":"#E7E1DF","brown-150":"#DCD2CF","brown-200":"#D0C4BF","brown-250":"#C5B6B0","brown-300":"#BAA7A1","brown-350":"#AF9992","brown-400":"#A48B83","brown-450":"#997E74","brown-500":"#8F7065","brown-550":"#846357","brown-600":"#7A5649","brown-650":"#684C42","brown-700":"#57423C","brown-750":"#463833","brown-800":"#382E2A","brown-850":"#2B2422","brown-900":"#1F1B19","brown-950":"#121010","yellow-050":"#FAF0D3","yellow-100":"#F5E2A4","yellow-150":"#F0D275","yellow-200":"#EBC242","yellow-250":"#E4B213","yellow-300":"#D4A511","yellow-350":"#C39810","yellow-400":"#B38B0F","yellow-450":"#A37F0D","yellow-500":"#93730C","yellow-550":"#84670B","yellow-600":"#755B0A","yellow-650":"#63501C","yellow-700":"#534521","yellow-750":"#443A21","yellow-800":"#36301F","yellow-850":"#29261A","yellow-900":"#1D1C14","yellow-950":"#12110C","green-050":"#E2F6E5","green-100":"#C5ECCA","green-150":"#A7E3AF","green-200":"#89D894","green-250":"#67CE75","green-300":"#4DC25D","green-350":"#48B257","green-400":"#41A44F","green-450":"#3B9548","green-500":"#368741","green-550":"#30793A","green-600":"#2B6B33","green-650":"#2F5C34","green-700":"#2E4E31","green-750":"#2A412C","green-800":"#253426","green-850":"#1E281F","green-900":"#171D17","green-950":"#0F120F","blue-1-050":"#EBF1FF","blue-1-100":"#D6E3FE","blue-1-150":"#C2D5FE","blue-1-200":"#ADC7FE","blue-1-250":"#99B8FD","blue-1-300":"#84AAFD","blue-1-350":"#6F9BFD","blue-1-400":"#5A8DFB","blue-1-450":"#437DFC","blue-1-500":"#3D71E4","blue-1-550":"#3665CC","blue-1-600":"#305AB5","blue-1-650":"#315093","blue-1-700":"#2E4675","blue-1-750":"#293B5E","blue-1-800":"#243048","blue-1-850":"#1E2635","blue-1-900":"#171C25","blue-1-950":"#0E1116","blue-2-050":"#E2F4F9","blue-2-100":"#C5E9F3","blue-2-150":"#A7DDED","blue-2-200":"#88D1E6","blue-2-250":"#68C5E0","blue-2-300":"#48B8D9","blue-2-350":"#3BAACA","blue-2-400":"#359CB9","blue-2-450":"#318EA9","blue-2-500":"#2C8199","blue-2-550":"#277389","blue-2-600":"#236679","blue-2-650":"#2A5866","blue-2-700":"#2A4B55","blue-2-750":"#283F47","blue-2-800":"#233337","blue-2-850":"#1D272A","blue-2-900":"#161C1E","blue-2-950":"#0E1112","purple-050":"#F6EEFF","purple-100":"#ECDCFF","purple-150":"#E3CBFE","purple-200":"#DAB9FE","purple-250":"#D0A7FE","purple-300":"#C795FE","purple-350":"#BD83FD","purple-400":"#B36FFD","purple-450":"#A85BFD","purple-500":"#9B4BF3","purple-550":"#8B43DA","purple-600":"#7B3CC1","purple-650":"#673C9B","purple-700":"#56387D","purple-750":"#463162","purple-800":"#382A4A","purple-850":"#2A2237","purple-900":"#1E1926","purple-950":"#121017","pink-050":"#FCEDF5","pink-100":"#F9DAEA","pink-150":"#F7C7E0","pink-200":"#F4B4D5","pink-250":"#F1A1CA","pink-300":"#EE8CBF","pink-350":"#EA77B3","pink-400":"#E760A6","pink-450":"#E24797","pink-500":"#CD4089","pink-550":"#B8397B","pink-600":"#A3336D","pink-650":"#86355E","pink-700":"#6E334F","pink-750":"#582E42","pink-800":"#442834","pink-850":"#332028","pink-900":"#24181D","pink-950":"#160F12","black-000":"#1B1C1D00","black-050":"#1B1C1D0D","black-100":"#1B1C1D1A","black-150":"#1B1C1D26","black-200":"#1B1C1D33","black-250":"#1B1C1D40","black-300":"#1B1C1D4D","black-350":"#1B1C1D59","black-400":"#1B1C1D66","black-450":"#1B1C1D73","black-500":"#1B1C1D80","black-550":"#1B1C1D8C","black-600":"#1B1C1D99","black-650":"#1B1C1DA6","black-700":"#1B1C1DB2","black-750":"#1B1C1DBF","black-800":"#1B1C1DCC","black-850":"#1B1C1DD9","black-900":"#1B1C1DE5","black-950":"#101112F2","white-000":"#F7F8F800","white-050":"#F7F8F80D","white-100":"#F7F8F81A","white-150":"#F7F8F826","white-200":"#F7F8F833","white-250":"#F7F8F840","white-300":"#F7F8F84D","white-350":"#F7F8F859","white-400":"#F7F8F866","white-450":"#F7F8F873","white-500":"#F7F8F880","white-550":"#F7F8F88C","white-600":"#F7F8F899","white-650":"#F7F8F8A6","white-700":"#F7F8F8B2","white-750":"#F7F8F8BF","white-800":"#F7F8F8CC","white-850":"#F7F8F8D9","white-900":"#F7F8F8E5","white-950":"#F7F8F8F2","white-975":"#F7F8F8F9"};const e={base:'"Roboto Flex Variable", sans-serif',accent:'"Roboto Flex Variable", sans-serif'},r={l:"3rem",b:"1.625rem",m:"0.8125rem",s:"1rem",t:"0.5rem",st:"0.25rem","4xs":"0.125rem","3xs":"0.25rem","2xs":"0.375rem",xxxs:"0.25rem",xxs:"0.375rem",xs:"0.5rem",sm:"0.75rem",base:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem",xxl:"3rem",xxxl:"3.5rem","2xl":"3rem","3xl":"3.5rem","4xl":"4rem","5xl":"4.5rem","6xl":"6rem","7xl":"7.5rem"},n={"ease-in":"cubic-bezier(0.32, 0, 0.67, 0)","ease-out":"cubic-bezier(0.33, 1, 0.68, 1)","ease-in-out":"cubic-bezier(0.65, 0, 0.35, 1)",duration:"250ms"},i={xs:"0px",sm:"576px",md:"768px",lg:"992px",xl:"1200px",xxl:"1400px"},o={thin:200,light:300,regular:400,medium:500,bold:600,extrabold:700,black:800};t.globals={colors:t.colors,transitions:n,font:{sizes:{xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",ml:"0.938rem",xl:"1.25rem",t:"0.6875rem",s:"0.75rem",h1:"2rem",h2:"1.75rem",h3:"1.5rem",h4:"1.375rem",h5:"1.25rem",h6:"1.125rem","xl-alt":"5rem","lg-alt":"4.5rem","md-alt":"4rem","sm-alt":"3.5rem","xs-alt":"3rem"},weights:o,families:e},spacings:r,breakpoints:i},t.contextualDefaultTokens={background:{surface:{primary:"ref(globals.colors.gray-000)",secondary:"ref(globals.colors.gray-000)",tertiary:"ref(globals.colors.gray-025)"},semantic:{overlay:{primary:"ref(globals.colors.black-050)","primary-hover":"ref(globals.colors.black-100)"},contextual:{primary:"ref(globals.colors.black-050)","primary-hover":"ref(globals.colors.black-100)"},brand:{primary:"ref(globals.colors.brand-550)","primary-hover":"ref(globals.colors.brand-650)",secondary:"ref(globals.colors.brand-100)","secondary-hover":"ref(globals.colors.brand-150)",tertiary:"ref(globals.colors.brand-050)","tertiary-hover":"ref(globals.colors.brand-100)"},neutral:{primary:"ref(globals.colors.gray-550)","primary-hover":"ref(globals.colors.gray-650)",secondary:"ref(globals.colors.gray-100)","secondary-hover":"ref(globals.colors.gray-150)",tertiary:"ref(globals.colors.gray-050)","tertiary-hover":"ref(globals.colors.gray-100)"},info:{primary:"ref(globals.colors.info-550)","primary-hover":"ref(globals.colors.info-650)",secondary:"ref(globals.colors.info-100)","secondary-hover":"ref(globals.colors.info-150)",tertiary:"ref(globals.colors.info-050)","tertiary-hover":"ref(globals.colors.info-100)"},success:{primary:"ref(globals.colors.success-550)","primary-hover":"ref(globals.colors.success-650)",secondary:"ref(globals.colors.success-100)","secondary-hover":"ref(globals.colors.success-150)",tertiary:"ref(globals.colors.success-050)","tertiary-hover":"ref(globals.colors.success-100)"},warning:{primary:"ref(globals.colors.warning-550)","primary-hover":"ref(globals.colors.warning-650)",secondary:"ref(globals.colors.warning-100)","secondary-hover":"ref(globals.colors.warning-150)",tertiary:"ref(globals.colors.warning-050)","tertiary-hover":"ref(globals.colors.warning-100)"},error:{primary:"ref(globals.colors.error-550)","primary-hover":"ref(globals.colors.error-650)",secondary:"ref(globals.colors.error-100)","secondary-hover":"ref(globals.colors.error-150)",tertiary:"ref(globals.colors.error-050)","tertiary-hover":"ref(globals.colors.error-100)"},disabled:{primary:"ref(globals.colors.gray-100)",secondary:"ref(globals.colors.gray-050)"}},palette:{brand:{primary:"ref(globals.colors.brand-500)",secondary:"ref(globals.colors.brand-350)",tertiary:"ref(globals.colors.brand-150)"},red:{primary:"ref(globals.colors.red-500)",secondary:"ref(globals.colors.red-350)",tertiary:"ref(globals.colors.red-150)"},orange:{primary:"ref(globals.colors.orange-500)",secondary:"ref(globals.colors.orange-350)",tertiary:"ref(globals.colors.orange-150)"},brown:{primary:"ref(globals.colors.brown-500)",secondary:"ref(globals.colors.brown-350)",tertiary:"ref(globals.colors.brown-150)"},yellow:{primary:"ref(globals.colors.yellow-500)",secondary:"ref(globals.colors.yellow-350)",tertiary:"ref(globals.colors.yellow-150)"},green:{primary:"ref(globals.colors.green-500)",secondary:"ref(globals.colors.green-350)",tertiary:"ref(globals.colors.green-150)"},"blue-1":{primary:"ref(globals.colors.blue-1-500)",secondary:"ref(globals.colors.blue-1-350)",tertiary:"ref(globals.colors.blue-1-150)"},"blue-2":{primary:"ref(globals.colors.blue-2-500)",secondary:"ref(globals.colors.blue-2-350)",tertiary:"ref(globals.colors.blue-2-150)"},purple:{primary:"ref(globals.colors.purple-500)",secondary:"ref(globals.colors.purple-350)",tertiary:"ref(globals.colors.purple-150)"},pink:{primary:"ref(globals.colors.pink-500)",secondary:"ref(globals.colors.pink-350)",tertiary:"ref(globals.colors.pink-150)"},gray:{primary:"ref(globals.colors.gray-500)",secondary:"ref(globals.colors.gray-350)",tertiary:"ref(globals.colors.gray-150)"}}},content:{logo1:"ref(globals.colors.logo-1-light)",logo2:"ref(globals.colors.logo-2-light)",semantic:{contextual:{primary:"ref(globals.colors.white-950)"},overlay:{primary:"ref(globals.colors.white-950)"},brand:{primary:"ref(globals.colors.brand-700)",secondary:"ref(globals.colors.brand-600)",tertiary:"ref(globals.colors.brand-550)","on-brand":"ref(globals.colors.brand-050)"},neutral:{primary:"ref(globals.colors.gray-850)",secondary:"ref(globals.colors.gray-600)",tertiary:"ref(globals.colors.gray-550)","on-neutral":"ref(globals.colors.gray-050)"},info:{primary:"ref(globals.colors.info-700)",secondary:"ref(globals.colors.info-600)",tertiary:"ref(globals.colors.info-550)","on-info":"ref(globals.colors.info-050)"},success:{primary:"ref(globals.colors.success-700)",secondary:"ref(globals.colors.success-600)",tertiary:"ref(globals.colors.success-550)","on-success":"ref(globals.colors.success-050)"},warning:{primary:"ref(globals.colors.warning-700)",secondary:"ref(globals.colors.warning-600)",tertiary:"ref(globals.colors.warning-550)","on-warning":"ref(globals.colors.warning-050)"},error:{primary:"ref(globals.colors.error-700)",secondary:"ref(globals.colors.error-600)",tertiary:"ref(globals.colors.error-550)","on-error":"ref(globals.colors.error-050)"},disabled:{primary:"ref(globals.colors.gray-300)",secondary:"ref(globals.colors.white-500)"}},palette:{brand:{primary:"ref(globals.colors.brand-500)"},red:{primary:"ref(globals.colors.red-500)"},orange:{primary:"ref(globals.colors.orange-500)"},brown:{primary:"ref(globals.colors.brown-500)"},yellow:{primary:"ref(globals.colors.yellow-500)"},green:{primary:"ref(globals.colors.green-500)"},"blue-1":{primary:"ref(globals.colors.blue-1-500)"},"blue-2":{primary:"ref(globals.colors.blue-2-500)"},purple:{primary:"ref(globals.colors.purple-500)"},pink:{primary:"ref(globals.colors.pink-500)"},gray:{primary:"ref(globals.colors.gray-500)"}}},border:{surface:{primary:"ref(globals.colors.gray-100)"},semantic:{contextual:{primary:"ref(globals.colors.white-200)"},overlay:{primary:"ref(globals.colors.white-200)"},brand:{primary:"ref(globals.colors.brand-550)",secondary:"ref(globals.colors.brand-300)",tertiary:"ref(globals.colors.brand-150)"},neutral:{primary:"ref(globals.colors.gray-550)",secondary:"ref(globals.colors.gray-300)",tertiary:"ref(globals.colors.gray-150)"},info:{primary:"ref(globals.colors.info-550)",secondary:"ref(globals.colors.info-300)",tertiary:"ref(globals.colors.info-150)"},success:{primary:"ref(globals.colors.success-550)",secondary:"ref(globals.colors.success-300)",tertiary:"ref(globals.colors.success-150)"},warning:{primary:"ref(globals.colors.warning-550)",secondary:"ref(globals.colors.warning-300)",tertiary:"ref(globals.colors.warning-150)"},error:{primary:"ref(globals.colors.error-550)",secondary:"ref(globals.colors.error-300)",tertiary:"ref(globals.colors.error-150)"},disabled:{primary:"ref(globals.colors.gray-100)"}}}},t.contextualDarkTokens={background:{surface:{primary:"ref(globals.colors.gray-800)",secondary:"ref(globals.colors.gray-850)",tertiary:"ref(globals.colors.gray-900)"},semantic:{contextual:{primary:"ref(globals.colors.white-050)","primary-hover":"ref(globals.colors.white-100)"},overlay:{primary:"ref(globals.colors.white-050)","primary-hover":"ref(globals.colors.white-100)"},brand:{primary:"ref(globals.colors.brand-550)","primary-hover":"ref(globals.colors.brand-650)",secondary:"ref(globals.colors.brand-700)","secondary-hover":"ref(globals.colors.brand-750)",tertiary:"ref(globals.colors.brand-750)","tertiary-hover":"ref(globals.colors.brand-800)"},neutral:{primary:"ref(globals.colors.gray-550)","primary-hover":"ref(globals.colors.gray-650)",secondary:"ref(globals.colors.gray-700)","secondary-hover":"ref(globals.colors.gray-750)",tertiary:"ref(globals.colors.gray-750)","tertiary-hover":"ref(globals.colors.gray-800)"},info:{primary:"ref(globals.colors.info-550)","primary-hover":"ref(globals.colors.info-650)",secondary:"ref(globals.colors.info-700)","secondary-hover":"ref(globals.colors.info-750)",tertiary:"ref(globals.colors.info-750)","tertiary-hover":"ref(globals.colors.info-800)"},success:{primary:"ref(globals.colors.success-550)","primary-hover":"ref(globals.colors.success-650)",secondary:"ref(globals.colors.success-700)","secondary-hover":"ref(globals.colors.success-750)",tertiary:"ref(globals.colors.success-750)","tertiary-hover":"ref(globals.colors.success-800)"},warning:{primary:"ref(globals.colors.warning-550)","primary-hover":"ref(globals.colors.warning-650)",secondary:"ref(globals.colors.warning-700)","secondary-hover":"ref(globals.colors.warning-750)",tertiary:"ref(globals.colors.warning-750)","tertiary-hover":"ref(globals.colors.warning-800)"},error:{primary:"ref(globals.colors.error-550)","primary-hover":"ref(globals.colors.error-650)",secondary:"ref(globals.colors.error-700)","secondary-hover":"ref(globals.colors.error-750)",tertiary:"ref(globals.colors.error-750)","tertiary-hover":"ref(globals.colors.error-800)"},disabled:{primary:"ref(globals.colors.gray-750)",secondary:"ref(globals.colors.gray-800)"}},palette:{brand:{primary:"ref(globals.colors.brand-350)",secondary:"ref(globals.colors.brand-450)",tertiary:"ref(globals.colors.brand-550)"},red:{primary:"ref(globals.colors.red-350)",secondary:"ref(globals.colors.red-450)",tertiary:"ref(globals.colors.red-550)"},orange:{primary:"ref(globals.colors.orange-350)",secondary:"ref(globals.colors.orange-450)",tertiary:"ref(globals.colors.orange-550)"},brown:{primary:"ref(globals.colors.brown-350)",secondary:"ref(globals.colors.brown-450)",tertiary:"ref(globals.colors.brown-550)"},yellow:{primary:"ref(globals.colors.yellow-350)",secondary:"ref(globals.colors.yellow-450)",tertiary:"ref(globals.colors.yellow-550)"},green:{primary:"ref(globals.colors.green-350)",secondary:"ref(globals.colors.green-450)",tertiary:"ref(globals.colors.green-550)"},"blue-1":{primary:"ref(globals.colors.blue-1-350)",secondary:"ref(globals.colors.blue-1-450)",tertiary:"ref(globals.colors.blue-1-550)"},"blue-2":{primary:"ref(globals.colors.blue-2-350)",secondary:"ref(globals.colors.blue-2-450)",tertiary:"ref(globals.colors.blue-2-550)"},purple:{primary:"ref(globals.colors.purple-350)",secondary:"ref(globals.colors.purple-450)",tertiary:"ref(globals.colors.purple-550)"},pink:{primary:"ref(globals.colors.pink-350)",secondary:"ref(globals.colors.pink-450)",tertiary:"ref(globals.colors.pink-550)"},gray:{primary:"ref(globals.colors.gray-350)",secondary:"ref(globals.colors.gray-450)",tertiary:"ref(globals.colors.gray-550)"}}},content:{logo1:"ref(globals.colors.logo-1-dark)",logo2:"ref(globals.colors.logo-2-dark)",semantic:{contextual:{primary:"ref(globals.colors.black-850)"},overlay:{primary:"ref(globals.colors.black-850)"},brand:{primary:"ref(globals.colors.brand-050)",secondary:"ref(globals.colors.brand-100)",tertiary:"ref(globals.colors.brand-250)","on-brand":"ref(globals.colors.brand-050)"},neutral:{primary:"ref(globals.colors.gray-050)",secondary:"ref(globals.colors.gray-100)",tertiary:"ref(globals.colors.gray-250)","on-neutral":"ref(globals.colors.gray-050)"},info:{primary:"ref(globals.colors.info-050)",secondary:"ref(globals.colors.info-100)",tertiary:"ref(globals.colors.info-250)","on-info":"ref(globals.colors.info-050)"},success:{primary:"ref(globals.colors.success-050)",secondary:"ref(globals.colors.success-100)",tertiary:"ref(globals.colors.success-250)","on-success":"ref(globals.colors.success-050)"},warning:{primary:"ref(globals.colors.warning-050)",secondary:"ref(globals.colors.warning-100)",tertiary:"ref(globals.colors.warning-250)","on-warning":"ref(globals.colors.warning-050)"},error:{primary:"ref(globals.colors.error-050)",secondary:"ref(globals.colors.error-100)",tertiary:"ref(globals.colors.error-250)","on-error":"ref(globals.colors.error-050)"},disabled:{primary:"ref(globals.colors.gray-600)",secondary:"ref(globals.colors.black-300)"}},palette:{brand:{primary:"ref(globals.colors.brand-500)"},red:{primary:"ref(globals.colors.red-500)"},orange:{primary:"ref(globals.colors.orange-500)"},brown:{primary:"ref(globals.colors.brown-500)"},yellow:{primary:"ref(globals.colors.yellow-500)"},green:{primary:"ref(globals.colors.green-500)"},"blue-1":{primary:"ref(globals.colors.blue-1-500)"},"blue-2":{primary:"ref(globals.colors.blue-2-500)"},purple:{primary:"ref(globals.colors.purple-500)"},pink:{primary:"ref(globals.colors.pink-500)"},gray:{primary:"ref(globals.colors.gray-500)"}}},border:{surface:{primary:"ref(globals.colors.gray-750)"},semantic:{contextual:{primary:"ref(globals.colors.black-200)"},overlay:{primary:"ref(globals.colors.black-200)"},brand:{primary:"ref(globals.colors.brand-450)",secondary:"ref(globals.colors.brand-600)",tertiary:"ref(globals.colors.brand-700)"},neutral:{primary:"ref(globals.colors.gray-450)",secondary:"ref(globals.colors.gray-600)",tertiary:"ref(globals.colors.gray-700)"},info:{primary:"ref(globals.colors.info-450)",secondary:"ref(globals.colors.info-600)",tertiary:"ref(globals.colors.info-700)"},success:{primary:"ref(globals.colors.success-450)",secondary:"ref(globals.colors.success-600)",tertiary:"ref(globals.colors.success-700)"},warning:{primary:"ref(globals.colors.warning-450)",secondary:"ref(globals.colors.warning-600)",tertiary:"ref(globals.colors.warning-700)"},error:{primary:"ref(globals.colors.error-450)",secondary:"ref(globals.colors.error-600)",tertiary:"ref(globals.colors.error-700)"},disabled:{primary:"ref(globals.colors.gray-800)"}}}},t.default={themes:{default:{globals:t.globals,contextuals:t.contextualDefaultTokens,components:{}},dark:{globals:t.globals,contextuals:t.contextualDarkTokens,components:{}}}}}(fo)),fo}var R0;function sh(){if(R0)return Or;R0=1,Object.defineProperty(Or,"__esModule",{value:!0}),Or.getThemesFromGlobals=void 0;const t=lh(),e=ah(),r=["light","dark"],n={light:e.contextualDefaultTokens,dark:e.contextualDarkTokens},i=(o={},l={})=>(l.variants||r).reduce((s,c)=>{const d=l.prefix?`${l.prefix}-${c}`:c;return s[d]=t({globals:o,contextuals:n[c]},l.overrides||{}),s},{});return Or.getThemesFromGlobals=i,Or}var L0;function ch(){return L0||(L0=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.getThemesFromGlobals=t.buildRefs=t.defaultTokenRefs=t.defaultThemes=t.defaultTokens=void 0;const e=ih(),r=oh();Object.defineProperty(t,"buildRefs",{enumerable:!0,get:function(){return r.buildRefs}});const n=sh();Object.defineProperty(t,"getThemesFromGlobals",{enumerable:!0,get:function(){return n.getThemesFromGlobals}}),t.defaultTokens=e.tokens.themes.default,t.defaultThemes=e.tokens.themes,t.defaultTokenRefs=(0,r.buildRefs)(t.defaultTokens)}(co)),co}var Ai=ch();const Ti={components:{modal:{"width-small":"342px"},tooltip:{padding:"4px 8px"},button:{"medium-height":"40px","medium-text-height":"40px","border-radius":"4px","border-radius--active":"4px","border-radius--focus":"4px"},datagrid:{"header--color":"ref(contextuals.content.semantic.neutral.primary)","header--size":"12px","header--weight":"500","body--background-color-hover":"ref(contextuals.background.semantic.neutral.tertiary)"},"forms-checkbox":{"font-size":"ref(globals.font.sizes.sm)"},badge:{"font-size":"ref(globals.font.sizes.xs)","border-radius":"12px","padding-inline":"ref(globals.spacings.xs)","padding-block":"ref(globals.spacings.2xs)",accent:{"background-color":"ref(contextuals.background.semantic.brand.secondary)",color:"ref(contextuals.content.semantic.brand.secondary)"},neutral:{"background-color":"ref(contextuals.background.semantic.neutral.secondary)",color:"ref(contextuals.content.semantic.neutral.secondary)"},danger:{"background-color":"ref(contextuals.background.semantic.error.secondary)",color:"ref(contextuals.content.semantic.error.secondary)"},success:{"background-color":"ref(contextuals.background.semantic.success.secondary)",color:"ref(contextuals.content.semantic.success.secondary)"},warning:{"background-color":"ref(contextuals.background.semantic.warning.secondary)",color:"ref(contextuals.content.semantic.warning.secondary)"},info:{"background-color":"ref(contextuals.background.semantic.info.secondary)",color:"ref(contextuals.content.semantic.info.secondary)"}}}},Xr={font:{sizes:{xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",ml:"0.938rem",xl:"1.25rem",t:"0.6875rem",s:"0.75rem",h1:"2rem",h2:"1.75rem",h3:"1.5rem",h4:"1.375rem",h5:"1.25rem",h6:"1.125rem","xl-alt":"5rem","lg-alt":"4.5rem","md-alt":"4rem","sm-alt":"3.5rem","xs-alt":"3rem"},weights:{thin:100,extrabold:800,black:900},families:{accent:"Marianne, Inter, Roboto Flex Variable, sans-serif",base:"Marianne, Inter, Roboto Flex Variable, sans-serif"}},spacings:{0:"0",none:"0",auto:"auto",bx:"2.2rem",full:"100%","4xs":"0.125rem","3xs":"0.25rem","2xs":"0.375rem",xs:"0.5rem",sm:"0.75rem",base:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem",xxl:"3rem","2xl":"3rem",xxxl:"3.5rem","3xl":"3.5rem","4xl":"4rem","5xl":"4.5rem","6xl":"6rem","7xl":"7.5rem"},breakpoints:{xxs:"320px",xs:"480px",mobile:"768px",tablet:"1024px"}},Yu={colors:{"logo-1-light":"#4844AD","logo-2-light":"#4844AD","logo-1-dark":"#BEC5F0","logo-2-dark":"#BEC5F0","brand-050":"#EEF1FA","brand-100":"#DDE2F5","brand-150":"#CED3F1","brand-200":"#BEC5F0","brand-250":"#AFB5F1","brand-300":"#A0A5F6","brand-350":"#8F94FD","brand-400":"#8184FC","brand-450":"#7576EE","brand-500":"#6969DF","brand-550":"#5E5CD0","brand-600":"#534FC2","brand-650":"#4844AD","brand-700":"#3E3B98","brand-750":"#36347D","brand-800":"#2D2F5F","brand-850":"#262848","brand-900":"#1C1E32","brand-950":"#11131F","gray-000":"#FFFFFF","gray-025":"#F8F8F9","gray-050":"#F0F0F3","gray-100":"#E2E2EA","gray-150":"#D3D4E0","gray-200":"#C5C6D5","gray-250":"#B7B7CB","gray-300":"#A9A9BF","gray-350":"#9C9CB2","gray-400":"#8F8FA4","gray-450":"#828297","gray-500":"#75758A","gray-550":"#69697D","gray-600":"#5D5D70","gray-650":"#515164","gray-700":"#454558","gray-750":"#3A3A4C","gray-800":"#2F303D","gray-850":"#25252F","gray-900":"#1B1B23","gray-950":"#111114","gray-1000":"#000000","info-050":"#EAF2F9","info-100":"#D5E4F3","info-150":"#BFD7F0","info-200":"#A7CAEE","info-250":"#8DBDEF","info-300":"#6EB0F2","info-350":"#50A2F5","info-400":"#3593F4","info-450":"#1185ED","info-500":"#0077DE","info-550":"#0069CF","info-600":"#005BC0","info-650":"#0D4EAA","info-700":"#124394","info-750":"#163878","info-800":"#192F5A","info-850":"#192541","info-900":"#141B2D","info-950":"#0C111C","success-050":"#E8F1EA","success-100":"#CFE4D4","success-150":"#BAD9C1","success-200":"#A2CFAD","success-250":"#86C597","success-300":"#6CBA83","success-350":"#4FB070","success-400":"#40A363","success-450":"#309556","success-500":"#1E884A","success-550":"#027B3E","success-600":"#016D31","success-650":"#006024","success-700":"#005317","success-750":"#0D4511","success-800":"#11380E","success-850":"#132A11","success-900":"#101E0F","success-950":"#091209","warning-050":"#F8F0E9","warning-100":"#F1E0D3","warning-150":"#ECD0BC","warning-200":"#E8C0A4","warning-250":"#E8AE8A","warning-300":"#EB9970","warning-350":"#E98456","warning-400":"#E57036","warning-450":"#DA5E18","warning-500":"#CB5000","warning-550":"#BC4200","warning-600":"#AD3300","warning-650":"#9E2300","warning-700":"#882011","warning-750":"#731E16","warning-800":"#58201A","warning-850":"#401D18","warning-900":"#2E1714","warning-950":"#1D0F0D","error-050":"#F9EFEC","error-100":"#F4DFD9","error-150":"#F0CEC6","error-200":"#EEBCB2","error-250":"#EEA99D","error-300":"#EF9486","error-350":"#F37C6E","error-400":"#F65F53","error-450":"#F0463D","error-500":"#E82322","error-550":"#D7010E","error-600":"#C00100","error-650":"#AA0000","error-700":"#910C06","error-750":"#731E16","error-800":"#58201A","error-850":"#401D18","error-900":"#2E1714","error-950":"#1D0F0D","red-050":"#FAEFEE","red-100":"#F4DEDD","red-150":"#F1CDCB","red-200":"#EFBBBA","red-250":"#EEA8A8","red-300":"#F09394","red-350":"#F37B7E","red-400":"#EF6569","red-450":"#E94A55","red-500":"#DA3B49","red-550":"#CA2A3C","red-600":"#BB1330","red-650":"#A90021","red-700":"#910A13","red-750":"#731E16","red-800":"#58201A","red-850":"#411D18","red-900":"#2E1714","red-950":"#1D0F0D","orange-050":"#F8F0E9","orange-100":"#F1E0D3","orange-150":"#ECD0BD","orange-200":"#EABFA6","orange-250":"#EBAC90","orange-300":"#EC9772","orange-350":"#E5845A","orange-400":"#D6774D","orange-450":"#C86A40","orange-500":"#B95D33","orange-550":"#AB5025","orange-600":"#9D4315","orange-650":"#8F3600","orange-700":"#812900","orange-750":"#6C2511","orange-800":"#572017","orange-850":"#401D18","orange-900":"#2E1714","orange-950":"#1D0F0D","brown-050":"#F6F0E8","brown-100":"#F1E0D3","brown-150":"#EBD0BA","brown-200":"#E2C0A6","brown-250":"#D4B398","brown-300":"#C6A58B","brown-350":"#B8987E","brown-400":"#AA8B71","brown-450":"#9D7E65","brown-500":"#8F7158","brown-550":"#82654C","brown-600":"#765841","brown-650":"#694C35","brown-700":"#5D412A","brown-750":"#51361E","brown-800":"#452A13","brown-850":"#392008","brown-900":"#29180A","brown-950":"#1B0F08","yellow-050":"#F3F0E7","yellow-100":"#E9E2CF","yellow-150":"#E1D4B7","yellow-200":"#D9C599","yellow-250":"#D2B677","yellow-300":"#CAA756","yellow-350":"#C2972E","yellow-400":"#B98900","yellow-450":"#AB7B00","yellow-500":"#9D6E00","yellow-550":"#916100","yellow-600":"#855400","yellow-650":"#784700","yellow-700":"#6C3A00","yellow-750":"#5F2E00","yellow-800":"#512302","yellow-850":"#3E1D10","yellow-900":"#2D1711","yellow-950":"#1D0F0D","green-050":"#E6F1E9","green-100":"#CFE4D5","green-150":"#B8D8C1","green-200":"#A0CFAE","green-250":"#84C59A","green-300":"#65BA86","green-350":"#45B173","green-400":"#23A562","green-450":"#029755","green-500":"#008948","green-550":"#017B3B","green-600":"#006E2E","green-650":"#006022","green-700":"#005314","green-750":"#0D4510","green-800":"#11380E","green-850":"#132A11","green-900":"#101E0F","green-950":"#091209","blue-1-050":"#EBF1F9","blue-1-100":"#D6E4F4","blue-1-150":"#C1D7F0","blue-1-200":"#AACAEF","blue-1-250":"#8FBCEF","blue-1-300":"#7CAFEB","blue-1-350":"#68A1E4","blue-1-400":"#5B94D6","blue-1-450":"#4E86C7","blue-1-500":"#4279B9","blue-1-550":"#356CAC","blue-1-600":"#28609E","blue-1-650":"#1B5390","blue-1-700":"#0B4783","blue-1-750":"#0F3C6E","blue-1-800":"#133059","blue-1-850":"#152641","blue-1-900":"#121C2D","blue-1-950":"#0B111C","blue-2-050":"#E7F3F4","blue-2-100":"#CEE7E9","blue-2-150":"#B2DCE0","blue-2-200":"#91D1D7","blue-2-250":"#68C7D0","blue-2-300":"#43BBC5","blue-2-350":"#00AFBA","blue-2-400":"#01A0AA","blue-2-450":"#00929D","blue-2-500":"#00848F","blue-2-550":"#007682","blue-2-600":"#016874","blue-2-650":"#005B67","blue-2-700":"#004E5A","blue-2-750":"#00424E","blue-2-800":"#003642","blue-2-850":"#002A38","blue-2-900":"#061E28","blue-2-950":"#071219","purple-050":"#F7F0F6","purple-100":"#EEE0EE","purple-150":"#E7D1E7","purple-200":"#DBBFE4","purple-250":"#D3AEE2","purple-300":"#CB99E1","purple-350":"#C188D9","purple-400":"#B47BCB","purple-450":"#A66EBD","purple-500":"#9961AF","purple-550":"#8B55A1","purple-600":"#7E4894","purple-650":"#723C87","purple-700":"#633376","purple-750":"#552A65","purple-800":"#452551","purple-850":"#35213D","purple-900":"#261A2C","purple-950":"#17111C","pink-050":"#F8EFF4","pink-100":"#F0DFEA","pink-150":"#EACEDF","pink-200":"#E9BBD1","pink-250":"#E9A7C2","pink-300":"#E095B4","pink-350":"#D685A8","pink-400":"#C7799B","pink-450":"#B86C8D","pink-500":"#AA5F80","pink-550":"#9C5374","pink-600":"#8E4767","pink-650":"#813B5B","pink-700":"#732E4F","pink-750":"#632643","pink-800":"#521F38","pink-850":"#3E1C2B","pink-900":"#2D171F","pink-950":"#1C0E12","black-000":"#1B1B2300","black-050":"#1B1B230D","black-100":"#1B1B231A","black-150":"#1B1B2326","black-200":"#1B1B2333","black-250":"#1B1B2340","black-300":"#1B1B234D","black-350":"#1B1B2359","black-400":"#1B1B2366","black-450":"#1B1B2373","black-500":"#1B1B2380","black-550":"#1B1B238C","black-600":"#1B1B2399","black-650":"#1B1B23A6","black-700":"#1B1B23B2","black-750":"#1B1B23BF","black-800":"#1B1B23CC","black-850":"#1B1B23D9","black-900":"#1B1B23E5","black-950":"#111114F2","white-000":"#F8F8F900","white-050":"#F8F8F90D","white-100":"#F8F8F91A","white-150":"#F8F8F926","white-200":"#F8F8F933","white-250":"#F8F8F940","white-300":"#F8F8F94D","white-350":"#F8F8F959","white-400":"#F8F8F966","white-450":"#F8F8F973","white-500":"#F8F8F980","white-550":"#F8F8F98C","white-600":"#F8F8F999","white-650":"#F8F8F9A6","white-700":"#F8F8F9B2","white-750":"#F8F8F9BF","white-800":"#F8F8F9CC","white-850":"#F8F8F9D9","white-900":"#F8F8F9E5","white-950":"#F8F8F9F2","white-975":"#F8F8F9F9"},...Xr,font:{...Xr.font,families:{base:"Hanken Grotesk, Inter, Roboto Flex Variable, sans-serif",accent:"Hanken Grotesk, Inter, Roboto Flex Variable, sans-serif"}}},Xu={colors:{"logo-1-light":"#2845C1","logo-2-light":"#C83F49","logo-1-dark":"#95ABFF","logo-2-dark":"#E78087","brand-050":"#EDF0FF","brand-100":"#DAE2FF","brand-150":"#C8D3FF","brand-200":"#B5C4FF","brand-250":"#A2B6FF","brand-300":"#90A7FF","brand-350":"#7E98FF","brand-400":"#6C89FE","brand-450":"#5C7AF7","brand-500":"#4C6CEF","brand-550":"#3E5DE7","brand-600":"#304DDF","brand-650":"#2845C1","brand-700":"#223E9E","brand-750":"#1F367D","brand-800":"#1B2E5F","brand-850":"#172446","brand-900":"#121B30","brand-950":"#0C111A","gray-100":"#DFE2EA","gray-150":"#CFD5DE","gray-200":"#C1C7D3","gray-250":"#B2B9C7","gray-300":"#A4ABBC","gray-350":"#969EB0","gray-400":"#8891A4","gray-450":"#7B8498","gray-500":"#6D778C","gray-550":"#626A80","gray-600":"#555E74","gray-650":"#4A5267","gray-700":"#3F4759","gray-750":"#363B4C","gray-800":"#2B303D","gray-850":"#222631","gray-900":"#181B24","gray-950":"#0F1117","gray-1000":"#000000","info-050":"#E7F2FF","info-100":"#CFE5FF","info-150":"#B7D7FF","info-200":"#A0CAFE","info-250":"#8CBCF9","info-300":"#77AEF4","info-350":"#63A0EE","info-400":"#5092E7","info-450":"#4185DC","info-500":"#3677CC","info-550":"#2F6ABB","info-600":"#265EAA","info-650":"#28528F","info-700":"#274775","info-750":"#243C5E","info-800":"#20314A","info-850":"#1B2637","info-900":"#141C27","info-950":"#0D1118","success-050":"#DEF7E6","success-100":"#BAEECF","success-150":"#A5E2C0","success-200":"#95D4B3","success-250":"#85C6A7","success-300":"#74B99B","success-350":"#65AB8F","success-400":"#579E84","success-450":"#4B9079","success-500":"#40836F","success-550":"#367664","success-600":"#2B695A","success-650":"#2C5A50","success-700":"#2A4D45","success-750":"#26403C","success-800":"#213430","success-850":"#1B2826","success-900":"#151D1C","success-950":"#0D1212","warning-050":"#FFEEDF","warning-100":"#FFDCBE","warning-150":"#FFCA9C","warning-200":"#FFB778","warning-250":"#FDA54F","warning-300":"#F59425","warning-350":"#E78613","warning-400":"#D7790C","warning-450":"#C86C08","warning-500":"#B85F03","warning-550":"#A75400","warning-600":"#984800","warning-650":"#814112","warning-700":"#6C3A19","warning-750":"#58321C","warning-800":"#452A1A","warning-850":"#352117","warning-900":"#261813","warning-950":"#170F0C","error-050":"#FFEDEB","error-100":"#FFDAD7","error-150":"#FFC7C2","error-200":"#FFB3AD","error-250":"#FF9F99","error-300":"#FF8984","error-350":"#FF706E","error-400":"#FB5759","error-450":"#F63A45","error-500":"#E32C39","error-550":"#CF202D","error-600":"#BD0F23","error-650":"#9D2227","error-700":"#812727","error-750":"#672624","error-800":"#512220","error-850":"#3D1C1B","error-900":"#2A1614","error-950":"#190E0D","red-050":"#FFEDEB","red-100":"#FFDAD7","red-150":"#FFC7C2","red-200":"#FFB3AD","red-250":"#FF9F99","red-300":"#FF8984","red-350":"#FF706E","red-400":"#FB5759","red-450":"#F63A45","red-500":"#E32C39","red-550":"#CF202D","red-600":"#BD0F23","red-650":"#9D2227","red-700":"#812727","red-750":"#672624","red-800":"#512220","red-850":"#3D1C1B","red-900":"#410003","red-950":"#190E0D","orange-050":"#FCEDEB","orange-100":"#F8DCD7","orange-150":"#F1CCC5","orange-200":"#EABCB4","orange-250":"#E2ACA2","orange-300":"#DA9C92","orange-350":"#D28C81","orange-400":"#CA7C70","orange-450":"#BE6E62","orange-500":"#AE6257","orange-550":"#9E564D","orange-600":"#8F4B42","orange-650":"#79443D","orange-700":"#643C37","orange-750":"#513430","orange-800":"#412B28","orange-850":"#312220","orange-900":"#231918","orange-950":"#150F0F","brown-050":"#F9EFEA","brown-100":"#F3DFD3","brown-150":"#EACFC1","brown-200":"#E2BFAE","brown-250":"#D8B19C","brown-300":"#D0A189","brown-350":"#C3937B","brown-400":"#B5866D","brown-450":"#A77A62","brown-500":"#996D57","brown-550":"#8B614D","brown-600":"#7C5542","brown-650":"#6A4C3C","brown-700":"#594236","brown-750":"#49382F","brown-800":"#3B2E28","brown-850":"#2D2420","brown-900":"#201A18","brown-950":"#13100F","yellow-050":"#FDF1C5","yellow-100":"#FBE18E","yellow-150":"#F4D261","yellow-200":"#EAC244","yellow-250":"#DFB41B","yellow-300":"#D1A516","yellow-350":"#C49711","yellow-400":"#B78A0C","yellow-450":"#A87D07","yellow-500":"#9B6F02","yellow-550":"#8D6300","yellow-600":"#7F5600","yellow-650":"#6E4C11","yellow-700":"#5D4219","yellow-750":"#4D371B","yellow-800":"#3D2E1A","yellow-850":"#2F2417","yellow-900":"#221A12","yellow-950":"#14100C","green-050":"#E7F9B3","green-100":"#D5EC98","green-150":"#C5DE86","green-200":"#B5D174","green-250":"#A5C464","green-300":"#95B755","green-350":"#85AA45","green-400":"#769D39","green-450":"#688F30","green-500":"#5A8228","green-550":"#4D7621","green-600":"#416919","green-650":"#3A5B20","green-700":"#324E22","green-750":"#2C4122","green-800":"#24351D","green-850":"#1D2919","green-900":"#161E13","green-950":"#0E120C","blue-1-050":"#E7F2FF","blue-1-100":"#CFE5FF","blue-1-150":"#B7D7FF","blue-1-200":"#A0CAFE","blue-1-250":"#8CBCF9","blue-1-300":"#77AEF4","blue-1-350":"#63A0EE","blue-1-400":"#5092E7","blue-1-450":"#4185DC","blue-1-500":"#3677CC","blue-1-550":"#2F6ABB","blue-1-600":"#265EAA","blue-1-650":"#28528F","blue-1-700":"#274775","blue-1-750":"#243C5E","blue-1-800":"#20314A","blue-1-850":"#1B2637","blue-1-900":"#141C27","blue-1-950":"#0D1118","blue-2-050":"#E2F4FD","blue-2-100":"#C4E8F8","blue-2-150":"#AADCF2","blue-2-200":"#93CFEB","blue-2-250":"#7CC2E2","blue-2-300":"#6CB4D6","blue-2-350":"#5CA7C9","blue-2-400":"#5099BC","blue-2-450":"#458BAE","blue-2-500":"#3A7EA0","blue-2-550":"#327191","blue-2-600":"#286483","blue-2-650":"#2B5770","blue-2-700":"#294A5E","blue-2-750":"#263E4D","blue-2-800":"#22323D","blue-2-850":"#1C272E","blue-2-900":"#151D21","blue-2-950":"#0E1114","purple-050":"#F5EEFF","purple-100":"#ECDCFF","purple-150":"#E2CBFF","purple-200":"#D9B9FF","purple-250":"#D0A7FF","purple-300":"#C894FE","purple-350":"#BE83FA","purple-400":"#B570F5","purple-450":"#AB5EF0","purple-500":"#A04BE8","purple-550":"#933CDB","purple-600":"#8530C8","purple-650":"#7033A5","purple-700":"#5D3185","purple-750":"#4C2C6A","purple-800":"#3C2652","purple-850":"#2D203C","purple-900":"#21182A","purple-950":"#130F19","pink-050":"#FFEBF6","pink-100":"#FFD8ED","pink-150":"#FCC4E3","pink-200":"#F7B2D9","pink-250":"#F29FCE","pink-300":"#ED8CC3","pink-350":"#E779B8","pink-400":"#E264AD","pink-450":"#D2579E","pink-500":"#C24B8E","pink-550":"#B0417F","pink-600":"#9F3670","pink-650":"#873560","pink-700":"#6F3250","pink-750":"#5A2C43","pink-800":"#472635","pink-850":"#351F29","pink-900":"#26171D","pink-950":"#170F12","black-000":"#181B2400","black-050":"#181B240D","black-100":"#181B241A","black-150":"#181B2426","black-200":"#181B2433","black-250":"#181B2440","black-300":"#181B244D","black-350":"#181B2459","black-400":"#181B2466","black-450":"#181B2473","black-500":"#181B2480","black-550":"#181B248C","black-600":"#181B2499","black-650":"#181B24A6","black-700":"#181B24B2","black-750":"#181B24BF","black-800":"#181B24CC","black-850":"#181B24D9","black-900":"#181B24E5","black-950":"#0F1117F2","white-000":"#F6F8F900","white-050":"#F6F8F90D","white-100":"#F6F8F91A","white-150":"#F6F8F926","white-200":"#F6F8F933","white-250":"#F6F8F940","white-300":"#F6F8F94D","white-350":"#F6F8F959","white-400":"#F6F8F966","white-450":"#F6F8F973","white-500":"#F6F8F980","white-550":"#F6F8F98C","white-600":"#F6F8F999","white-650":"#F6F8F9A6","white-700":"#F6F8F9B2","white-750":"#F6F8F9BF","white-800":"#F6F8F9CC","white-850":"#F6F8F9D9","white-900":"#F6F8F9E5","white-950":"#F6F8F9F2","white-975":"#F6F8F9F9"},...Xr},Ju={colors:{"logo-1-light":"#2845C1","logo-2-light":"#FBC63A","logo-1-dark":"#94A3E5","logo-2-dark":"#EFD183","brand-050":"#EEF0F9","brand-100":"#DDE2F5","brand-150":"#CBD4F1","brand-200":"#B8C6F0","brand-250":"#A5B7F2","brand-300":"#91A8F7","brand-350":"#7C98FE","brand-400":"#6A89FF","brand-450":"#5A7AFB","brand-500":"#4B6BF0","brand-550":"#3E5CE7","brand-600":"#3352D5","brand-650":"#2A47C0","brand-700":"#2340A3","brand-750":"#223A7F","brand-800":"#1F325F","brand-850":"#1B2845","brand-900":"#151E30","brand-950":"#0D121D","gray-000":"#FFFFFF","gray-025":"#F6F8FA","gray-050":"#ECF1F7","gray-100":"#DDE3F3","gray-150":"#CCD4EA","gray-200":"#BCC7E0","gray-250":"#AEB9D2","gray-300":"#A1ABC4","gray-350":"#949EB6","gray-400":"#8791A9","gray-450":"#7A849B","gray-500":"#6D778E","gray-550":"#616A81","gray-600":"#555E75","gray-650":"#495268","gray-700":"#3E475C","gray-750":"#333B50","gray-800":"#283044","gray-850":"#1E2539","gray-900":"#171B28","gray-950":"#0F1118","gray-1000":"#000000","info-050":"#E9F2F8","info-100":"#D2E5F1","info-150":"#C0D7F0","info-200":"#AEC8F0","info-250":"#9EB9F2","info-300":"#8DABEE","info-350":"#7B9DE9","info-400":"#6E8FDB","info-450":"#6282CD","info-500":"#5575BF","info-550":"#4968B1","info-600":"#3E5CA3","info-650":"#344F97","info-700":"#294389","info-750":"#243972","info-800":"#1D2F5B","info-850":"#1A2744","info-900":"#151D2F","info-950":"#0E131F","success-050":"#E7F1E9","success-100":"#CFE3D3","success-150":"#B9D8C0","success-200":"#A1CEAC","success-250":"#85C496","success-300":"#63BC7F","success-350":"#45B16B","success-400":"#1CA659","success-450":"#00984C","success-500":"#008A3F","success-550":"#007C32","success-600":"#006E24","success-650":"#016016","success-700":"#005305","success-750":"#0D450A","success-800":"#11380E","success-850":"#132A11","success-900":"#101E0F","success-950":"#091209","warning-050":"#F6F0E8","warning-100":"#EDE2D1","warning-150":"#E6D3B8","warning-200":"#E3C39F","warning-250":"#E3B082","warning-300":"#E19E5C","warning-350":"#D98E3F","warning-400":"#CF7D19","warning-450":"#C17000","warning-500":"#B36300","warning-550":"#A45600","warning-600":"#964900","warning-650":"#893C00","warning-700":"#7B2F00","warning-750":"#68270D","warning-800":"#562013","warning-850":"#411D18","warning-900":"#2E1714","warning-950":"#1D0F0D","error-050":"#F9EFEC","error-100":"#F4DFD9","error-150":"#F0CEC6","error-200":"#EEBCB2","error-250":"#EEA99D","error-300":"#EF9487","error-350":"#F37C6E","error-400":"#F65F53","error-450":"#EF443C","error-500":"#E0342E","error-550":"#D0201F","error-600":"#C0000C","error-650":"#AA0000","error-700":"#910C06","error-750":"#731E16","error-800":"#58201A","error-850":"#411D18","error-900":"#2E1714","error-950":"#1D0F0D","red-050":"#F9EFEC","red-100":"#F4DEDA","red-150":"#F0CDC9","red-200":"#EEBBB6","red-250":"#EEA8A2","red-300":"#F0938D","red-350":"#EC7E78","red-400":"#E46D67","red-450":"#D95B58","red-500":"#CA4E4B","red-550":"#BB403F","red-600":"#AC3233","red-650":"#9D2227","red-700":"#882023","red-750":"#721D1B","red-800":"#58201A","red-850":"#401D18","red-900":"#2E1714","red-950":"#1D0F0D","orange-050":"#F8F0E9","orange-100":"#F1E0D3","orange-150":"#ECD0BD","orange-200":"#E9C0A5","orange-250":"#E8AE8A","orange-300":"#EB9870","orange-350":"#EB845A","orange-400":"#E66E37","orange-450":"#DD5B16","orange-500":"#CE4D00","orange-550":"#BF3E00","orange-600":"#B02F00","orange-650":"#A11E00","orange-700":"#8A1E14","orange-750":"#731E16","orange-800":"#58201A","orange-850":"#401D18","orange-900":"#2E1714","orange-950":"#1D0F0D","brown-050":"#F5F0E8","brown-100":"#ECE2D1","brown-150":"#E9D1B9","brown-200":"#E3C19D","brown-250":"#DCB187","brown-300":"#D2A26F","brown-350":"#C49562","brown-400":"#B68855","brown-450":"#A97B48","brown-500":"#9B6E3B","brown-550":"#8E612F","brown-600":"#815521","brown-650":"#744913","brown-700":"#673D00","brown-750":"#5A3100","brown-800":"#4E2600","brown-850":"#3D1F0B","brown-900":"#2C170F","brown-950":"#1C0F0B","yellow-050":"#F3F0E7","yellow-100":"#E9E2CF","yellow-150":"#E0D4B7","yellow-200":"#DAC59A","yellow-250":"#D5B67A","yellow-300":"#D0A559","yellow-350":"#CC9331","yellow-400":"#C48400","yellow-450":"#B77600","yellow-500":"#AA6800","yellow-550":"#9D5A00","yellow-600":"#914D00","yellow-650":"#843F00","yellow-700":"#773200","yellow-750":"#6A2601","yellow-800":"#56210F","yellow-850":"#401D16","yellow-900":"#2E1714","yellow-950":"#1D0F0D","green-050":"#E3F1EF","green-100":"#CAE5E1","green-150":"#B0DBD4","green-200":"#91D1C7","green-250":"#6AC8BC","green-300":"#4DBCAF","green-350":"#3CAFA2","green-400":"#2AA194","green-450":"#109487","green-500":"#00867A","green-550":"#00786D","green-600":"#016A60","green-650":"#015D53","green-700":"#005047","green-750":"#00443B","green-800":"#00382F","green-850":"#002C25","green-900":"#041F1A","green-950":"#041310","blue-1-050":"#EAF2F9","blue-1-100":"#D4E4F3","blue-1-150":"#BFD7F0","blue-1-200":"#AAC9EF","blue-1-250":"#96BBF1","blue-1-300":"#82ACF6","blue-1-350":"#709BFE","blue-1-400":"#608BFF","blue-1-450":"#537BFB","blue-1-500":"#476DEC","blue-1-550":"#3C60DD","blue-1-600":"#3252CF","blue-1-650":"#2B48B9","blue-1-700":"#28409B","blue-1-750":"#24397E","blue-1-800":"#223260","blue-1-850":"#1F2A48","blue-1-900":"#191F32","blue-1-950":"#111320","blue-2-050":"#E5F2F3","blue-2-100":"#CDE6EC","blue-2-150":"#B7D9EA","blue-2-200":"#9BCDE7","blue-2-250":"#84C1E0","blue-2-300":"#6BB4D8","blue-2-350":"#5CA6CB","blue-2-400":"#4D99BC","blue-2-450":"#3E8CAE","blue-2-500":"#2F7FA2","blue-2-550":"#1F7295","blue-2-600":"#056688","blue-2-650":"#00597B","blue-2-700":"#004C6C","blue-2-750":"#003F5E","blue-2-800":"#003353","blue-2-850":"#0C273E","blue-2-900":"#0E1C2C","blue-2-950":"#0A121C","purple-050":"#EDF1FA","purple-100":"#DCE2F5","purple-150":"#CCD4F1","purple-200":"#BCC4F0","purple-250":"#ADB6F2","purple-300":"#9EA6F6","purple-350":"#8E95FD","purple-400":"#8083FF","purple-450":"#7173FF","purple-500":"#6665F1","purple-550":"#5B57E2","purple-600":"#5049D4","purple-650":"#4641BC","purple-700":"#3D39A2","purple-750":"#363680","purple-800":"#2E3162","purple-850":"#242848","purple-900":"#1C1E32","purple-950":"#121320","pink-050":"#F8EFF4","pink-100":"#F0DEE9","pink-150":"#EBCDDF","pink-200":"#E7BDD6","pink-250":"#E5A9CC","pink-300":"#E695C0","pink-350":"#EA7CAE","pink-400":"#E4659F","pink-450":"#DD4F93","pink-500":"#CD4085","pink-550":"#BE3279","pink-600":"#AE216D","pink-650":"#9B195D","pink-700":"#86164E","pink-750":"#6E1B3D","pink-800":"#551E31","pink-850":"#3F1C24","pink-900":"#2D161A","pink-950":"#1C0E10","black-000":"#191B2200","black-050":"#191B220D","black-100":"#191B221A","black-150":"#191B2226","black-200":"#191B2233","black-250":"#191B2240","black-300":"#191B224D","black-350":"#191B2259","black-400":"#191B2266","black-450":"#191B2273","black-500":"#191B2280","black-550":"#191B228C","black-600":"#191B2299","black-650":"#191B22A6","black-700":"#191B22B2","black-750":"#191B22BF","black-800":"#191B22CC","black-850":"#191B22D9","black-900":"#191B22E5","black-950":"#0F1115F2","white-000":"#F7F8F800","white-050":"#F7F8F80D","white-100":"#F7F8F81A","white-150":"#F7F8F826","white-200":"#F7F8F833","white-250":"#F7F8F840","white-300":"#F7F8F84D","white-350":"#F7F8F859","white-400":"#F7F8F866","white-450":"#F7F8F873","white-500":"#F7F8F880","white-550":"#F7F8F88C","white-600":"#F7F8F899","white-650":"#F7F8F8A6","white-700":"#F7F8F8B2","white-750":"#F7F8F8BF","white-800":"#F7F8F8CC","white-850":"#F7F8F8D9","white-900":"#F7F8F8E5","white-950":"#F7F8F8F2","white-975":"#F7F8F8F9"},...Xr},K0=Ai.getThemesFromGlobals(Yu,{overrides:Ti}),uh=Ai.getThemesFromGlobals(Xu,{prefix:"dsfr",overrides:Ti}),dh=Ai.getThemesFromGlobals(Ju,{prefix:"anct",overrides:Ti}),fh={themes:{default:K0.light,dark:K0.dark,...uh,...dh}},al={...fh},j0={mobile:parseInt(al.themes.default.globals.breakpoints.mobile.replace("px","")),tablet:parseInt(al.themes.default.globals.breakpoints.tablet.replace("px",""))},H0=(t,e)=>({isMobile:t<=e.mobile,isTablet:t<=e.tablet,isDesktop:t>e.tablet}),mt=()=>{const[t,e]=u.useState(H0(window.innerWidth,j0));return u.useEffect(()=>{const r=()=>{const n=H0(window.innerWidth,j0);JSON.stringify(n)===JSON.stringify(t)||e(n)};return window.addEventListener("resize",r),()=>{window.removeEventListener("resize",r)}},[t]),t},Qu=u.memo(({apiUrl:t,data:e,...r})=>{const{t:n}=X.useCunningham(),{isMobile:i}=mt(),o=u.useRef(null),l=u.useMemo(()=>r.widgetPath||"https://static.suite.anct.gouv.fr/widgets/lagaufre.js",[r.widgetPath]),a=e!=null&&e.services?void 0:t,s=r.label||n("components.laGaufre.label"),c=r.closeLabel||n("components.laGaufre.closeLabel"),d=r.loadingText||n("components.laGaufre.loadingText"),f=r.newWindowLabelSuffix||n("components.laGaufre.newWindowLabelSuffix"),p=r.background||"",g=r.headerLabel||n("components.laGaufre.headerLabel"),y=r.viewMoreLabel||n("components.laGaufre.viewMoreLabel"),h=r.viewLessLabel||n("components.laGaufre.viewLessLabel");return u.useEffect(()=>{window._lasuite_widget=window._lasuite_widget||[],document.querySelectorAll("#lasuite-widget-lagaufre-shadow").forEach(m=>{var C;return(C=m.parentNode)==null?void 0:C.removeChild(m)}),window._lasuite_widget.push(["lagaufre","init",{...r,api:a,label:s,data:e,closeLabel:c,background:p,showFooter:i,headerLabel:g,headerLogo:nh,loadingText:d,newWindowLabelSuffix:f,viewMoreLabel:y,viewLessLabel:h,buttonElement:o.current,position:()=>{var m,C,E,F;return{position:"absolute",top:(((m=o.current)==null?void 0:m.offsetTop)??0)+(((C=o.current)==null?void 0:C.offsetHeight)??0)+10,right:window.innerWidth-(((E=o.current)==null?void 0:E.offsetLeft)??0)-(((F=o.current)==null?void 0:F.offsetWidth)??0)}}}])},[y,h,c,g,d,a,l]),b.jsxs(b.Fragment,{children:[b.jsx("script",{src:l,id:"lasuite-gaufre-script",async:!0}),b.jsx("div",{children:b.jsx(X.Button,{ref:o,icon:b.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",fill:"none",viewBox:"0 0 18 18",children:[b.jsx("defs",{children:b.jsx("path",{id:"a",fill:"var(--c--contextuals--background--semantic--brand--primary)",d:"M2.796.5c.469 0 .704 0 .892.064.351.12.627.397.748.748.064.188.064.423.064.892v.592c0 .469 0 .704-.064.892-.12.351-.397.627-.748.748-.188.064-.423.064-.892.064h-.592c-.469 0-.704 0-.892-.064a1.2 1.2 0 0 1-.748-.748C.5 3.5.5 3.265.5 2.796v-.592c0-.469 0-.704.064-.892.12-.351.397-.627.748-.748C1.5.5 1.735.5 2.204.5z"})}),b.jsx("use",{href:"#a"}),b.jsx("use",{href:"#a",transform:"translate(6.5)"}),b.jsx("use",{href:"#a",transform:"translate(13)"}),b.jsx("use",{href:"#a",transform:"translate(0 6.5)"}),b.jsx("use",{href:"#a",transform:"translate(6.5 6.5)"}),b.jsx("use",{href:"#a",transform:"translate(13 6.5)"}),b.jsx("use",{href:"#a",transform:"translate(0 13)"}),b.jsx("use",{href:"#a",transform:"translate(6.5 13)"}),b.jsx("use",{href:"#a",transform:"translate(13 13)"})]}),"aria-label":s,variant:"tertiary",className:"lagaufre-button"})})]})});Qu.displayName="LaGaufreV2";var xe=(t=>(t.X_SMALL="xsmall",t.SMALL="small",t.MEDIUM="medium",t.LARGE="large",t.X_LARGE="xlarge",t))(xe||{}),ni=(t=>(t.OUTLINED="outlined",t.FILLED="filled",t))(ni||{});const Jr=({name:t,size:e,className:r,color:n,type:i=ni.FILLED,...o})=>{const l=ye("material-icons",{[`icon--${e}`]:e!==void 0,[`icon--${i}`]:i!==ni.OUTLINED},r),a={color:n,fontSize:typeof e=="number"?`${e}px`:void 0};return b.jsx("span",{className:l,style:a,...o,children:t})},ed={[xe.X_SMALL]:11,[xe.SMALL]:16,[xe.MEDIUM]:24,[xe.LARGE]:32,[xe.X_LARGE]:40},td={[xe.X_SMALL]:16,[xe.SMALL]:24,[xe.MEDIUM]:32,[xe.LARGE]:40,[xe.X_LARGE]:48},hh=t=>td[t]??24,ph=t=>ed[t]??24,rd=({languages:t,onChange:e,size:r,color:n="brand",variant:i="tertiary",fullWidth:o,compact:l=!1})=>{const{isOpen:a,setIsOpen:s}=bt(),c=()=>{const h=t.find(v=>v.isChecked);return(h==null?void 0:h.value)??t[0].value},[d,f]=u.useState(c),p=h=>{f(h),e==null||e(h)},g=u.useMemo(()=>{if(r)switch(r){case"nano":return xe.X_SMALL;case"small":return xe.SMALL;case"medium":return xe.MEDIUM}},[r]);u.useEffect(()=>{f(c)},[t]);const y=u.useMemo(()=>{const h=t.find(v=>v.value===d);return(h==null?void 0:h.shortLabel)??(h==null?void 0:h.label)},[t,d]);return b.jsx(kt,{options:t,isOpen:a,onOpenChange:s,onSelectValue:p,selectedValues:[d],children:b.jsxs(X.Button,{onClick:()=>s(!a),className:"c__language-picker",icon:b.jsx(Jr,{name:a?"arrow_drop_up":"arrow_drop_down"}),iconPosition:"right",size:r,color:l?"neutral":n,variant:i,fullWidth:o,children:[l?null:b.jsx(Jr,{name:"translate",size:g}),b.jsx("span",{className:"c__language-picker__label",children:y})]})})},nd=({leftIcon:t,rightIcon:e,languages:r,onTogglePanel:n,isPanelOpen:i})=>{const{t:o}=X.useCunningham();return b.jsxs("div",{className:"c__header",children:[b.jsx("div",{className:"c__header__toggle-menu",children:b.jsx(X.Button,{size:"medium",onClick:n,"aria-label":o(i?"Close the menu":"Open the menu"),variant:"tertiary",icon:b.jsx("span",{className:"material-icons c__header__toggle-menu__icon",children:i?"close":"menu"})})}),b.jsx("div",{className:"c__header__left",children:t}),b.jsxs("div",{className:"c__header__right",children:[r&&b.jsx("div",{className:"c__header__right__language-picker",children:b.jsx(rd,{languages:r})}),e]})]})},id=({children:t,isOpen:e=!1,hasHeader:r=!0})=>{const{isDesktop:n}=mt();return n?b.jsx("div",{className:ye("c__left-panel",{"has-header":r}),children:t}):b.jsx("div",{className:ye("c__left-panel__mobile",{open:e}),children:t})},{createElement:Cr,createContext:gh,forwardRef:od,useCallback:$e,useContext:ld,useEffect:$t,useImperativeHandle:ad,useLayoutEffect:vh,useMemo:bh,useRef:Ae,useState:hr}=T,V0=T[`useId${Math.random()}`.slice(0,5)],mh=vh,_i=gh(null);_i.displayName="PanelGroupContext";const Pt=mh,yh=typeof V0=="function"?V0:()=>null;let Ch=0;function aa(t=null){const e=yh(),r=Ae(t||e||null);return r.current===null&&(r.current=""+Ch++),t??r.current}function sd({children:t,className:e="",collapsedSize:r,collapsible:n,defaultSize:i,forwardedRef:o,id:l,maxSize:a,minSize:s,onCollapse:c,onExpand:d,onResize:f,order:p,style:g,tagName:y="div",...h}){const v=ld(_i);if(v===null)throw Error("Panel components must be rendered within a PanelGroup container");const{collapsePanel:m,expandPanel:C,getPanelSize:E,getPanelStyle:F,groupId:D,isPanelCollapsed:x,reevaluatePanelConstraints:S,registerPanel:O,resizePanel:K,unregisterPanel:H}=v,w=aa(l),M=Ae({callbacks:{onCollapse:c,onExpand:d,onResize:f},constraints:{collapsedSize:r,collapsible:n,defaultSize:i,maxSize:a,minSize:s},id:w,idIsFromProps:l!==void 0,order:p});Ae({didLogMissingDefaultSizeWarning:!1}),Pt(()=>{const{callbacks:_,constraints:U}=M.current,P={...U};M.current.id=w,M.current.idIsFromProps=l!==void 0,M.current.order=p,_.onCollapse=c,_.onExpand=d,_.onResize=f,U.collapsedSize=r,U.collapsible=n,U.defaultSize=i,U.maxSize=a,U.minSize=s,(P.collapsedSize!==U.collapsedSize||P.collapsible!==U.collapsible||P.maxSize!==U.maxSize||P.minSize!==U.minSize)&&S(M.current,P)}),Pt(()=>{const _=M.current;return O(_),()=>{H(_)}},[p,w,O,H]),ad(o,()=>({collapse:()=>{m(M.current)},expand:_=>{C(M.current,_)},getId(){return w},getSize(){return E(M.current)},isCollapsed(){return x(M.current)},isExpanded(){return!x(M.current)},resize:_=>{K(M.current,_)}}),[m,C,E,x,w,K]);const Z=F(M.current,i);return Cr(y,{...h,children:t,className:e,id:l,style:{...Z,...g},"data-panel":"","data-panel-collapsible":n||void 0,"data-panel-group-id":D,"data-panel-id":w,"data-panel-size":parseFloat(""+Z.flexGrow).toFixed(1)})}const sl=od((t,e)=>Cr(sd,{...t,forwardedRef:e}));sd.displayName="Panel";sl.displayName="forwardRef(Panel)";let cl=null,Ft=null;function Eh(t,e){if(e){const r=(e&hd)!==0,n=(e&pd)!==0,i=(e&gd)!==0,o=(e&vd)!==0;if(r)return i?"se-resize":o?"ne-resize":"e-resize";if(n)return i?"sw-resize":o?"nw-resize":"w-resize";if(i)return"s-resize";if(o)return"n-resize"}switch(t){case"horizontal":return"ew-resize";case"intersection":return"move";case"vertical":return"ns-resize"}}function wh(){Ft!==null&&(document.head.removeChild(Ft),cl=null,Ft=null)}function ho(t,e){const r=Eh(t,e);cl!==r&&(cl=r,Ft===null&&(Ft=document.createElement("style"),document.head.appendChild(Ft)),Ft.innerHTML=`*{cursor: ${r}!important;}`)}function cd(t){return t.type==="keydown"}function ud(t){return t.type.startsWith("pointer")}function dd(t){return t.type.startsWith("mouse")}function ki(t){if(ud(t)){if(t.isPrimary)return{x:t.clientX,y:t.clientY}}else if(dd(t))return{x:t.clientX,y:t.clientY};return{x:1/0,y:1/0}}function Dh(){if(typeof matchMedia=="function")return matchMedia("(pointer:coarse)").matches?"coarse":"fine"}function xh(t,e,r){return t.x<e.x+e.width&&t.x+t.width>e.x&&t.y<e.y+e.height&&t.y+t.height>e.y}function Sh(t,e){if(t===e)throw new Error("Cannot compare node with itself");const r={a:W0(t),b:W0(e)};let n;for(;r.a.at(-1)===r.b.at(-1);)t=r.a.pop(),e=r.b.pop(),n=t;Q(n,"Stacking order can only be calculated for elements with a common ancestor");const i={a:U0(z0(r.a)),b:U0(z0(r.b))};if(i.a===i.b){const o=n.childNodes,l={a:r.a.at(-1),b:r.b.at(-1)};let a=o.length;for(;a--;){const s=o[a];if(s===l.a)return 1;if(s===l.b)return-1}}return Math.sign(i.a-i.b)}const Fh=/\b(?:position|zIndex|opacity|transform|webkitTransform|mixBlendMode|filter|webkitFilter|isolation)\b/;function $h(t){var e;const r=getComputedStyle((e=fd(t))!==null&&e!==void 0?e:t).display;return r==="flex"||r==="inline-flex"}function Ph(t){const e=getComputedStyle(t);return!!(e.position==="fixed"||e.zIndex!=="auto"&&(e.position!=="static"||$h(t))||+e.opacity<1||"transform"in e&&e.transform!=="none"||"webkitTransform"in e&&e.webkitTransform!=="none"||"mixBlendMode"in e&&e.mixBlendMode!=="normal"||"filter"in e&&e.filter!=="none"||"webkitFilter"in e&&e.webkitFilter!=="none"||"isolation"in e&&e.isolation==="isolate"||Fh.test(e.willChange)||e.webkitOverflowScrolling==="touch")}function z0(t){let e=t.length;for(;e--;){const r=t[e];if(Q(r,"Missing node"),Ph(r))return r}return null}function U0(t){return t&&Number(getComputedStyle(t).zIndex)||0}function W0(t){const e=[];for(;t;)e.push(t),t=fd(t);return e}function fd(t){const{parentNode:e}=t;return e&&e instanceof ShadowRoot?e.host:e}const hd=1,pd=2,gd=4,vd=8,Ah=Dh()==="coarse";let He=[],pr=!1,ut=new Map,Ii=new Map;const Qr=new Set;function Th(t,e,r,n,i){var o;const{ownerDocument:l}=e,a={direction:r,element:e,hitAreaMargins:n,setResizeHandlerState:i},s=(o=ut.get(l))!==null&&o!==void 0?o:0;return ut.set(l,s+1),Qr.add(a),ii(),function(){var d;Ii.delete(t),Qr.delete(a);const f=(d=ut.get(l))!==null&&d!==void 0?d:1;if(ut.set(l,f-1),ii(),f===1&&ut.delete(l),He.includes(a)){const p=He.indexOf(a);p>=0&&He.splice(p,1),ca(),i("up",!0,null)}}}function Z0(t){const{target:e}=t,{x:r,y:n}=ki(t);pr=!0,sa({target:e,x:r,y:n}),ii(),He.length>0&&(oi("down",t),t.preventDefault(),t.stopPropagation())}function Mr(t){const{x:e,y:r}=ki(t);if(pr&&t.buttons===0&&(pr=!1,oi("up",t)),!pr){const{target:n}=t;sa({target:n,x:e,y:r})}oi("move",t),ca(),He.length>0&&t.preventDefault()}function Zt(t){const{target:e}=t,{x:r,y:n}=ki(t);Ii.clear(),pr=!1,He.length>0&&t.preventDefault(),oi("up",t),sa({target:e,x:r,y:n}),ca(),ii()}function sa({target:t,x:e,y:r}){He.splice(0);let n=null;(t instanceof HTMLElement||t instanceof SVGElement)&&(n=t),Qr.forEach(i=>{const{element:o,hitAreaMargins:l}=i,a=o.getBoundingClientRect(),{bottom:s,left:c,right:d,top:f}=a,p=Ah?l.coarse:l.fine;if(e>=c-p&&e<=d+p&&r>=f-p&&r<=s+p){if(n!==null&&document.contains(n)&&o!==n&&!o.contains(n)&&!n.contains(o)&&Sh(n,o)>0){let y=n,h=!1;for(;y&&!y.contains(o);){if(xh(y.getBoundingClientRect(),a)){h=!0;break}y=y.parentElement}if(h)return}He.push(i)}})}function po(t,e){Ii.set(t,e)}function ca(){let t=!1,e=!1;He.forEach(n=>{const{direction:i}=n;i==="horizontal"?t=!0:e=!0});let r=0;Ii.forEach(n=>{r|=n}),t&&e?ho("intersection",r):t?ho("horizontal",r):e?ho("vertical",r):wh()}function ii(){ut.forEach((t,e)=>{const{body:r}=e;r.removeEventListener("contextmenu",Zt),r.removeEventListener("pointerdown",Z0),r.removeEventListener("pointerleave",Mr),r.removeEventListener("pointermove",Mr)}),window.removeEventListener("pointerup",Zt),window.removeEventListener("pointercancel",Zt),Qr.size>0&&(pr?(He.length>0&&ut.forEach((t,e)=>{const{body:r}=e;t>0&&(r.addEventListener("contextmenu",Zt),r.addEventListener("pointerleave",Mr),r.addEventListener("pointermove",Mr))}),window.addEventListener("pointerup",Zt),window.addEventListener("pointercancel",Zt)):ut.forEach((t,e)=>{const{body:r}=e;t>0&&(r.addEventListener("pointerdown",Z0,{capture:!0}),r.addEventListener("pointermove",Mr))}))}function oi(t,e){Qr.forEach(r=>{const{setResizeHandlerState:n}=r,i=He.includes(r);n(t,i,e)})}function _h(){const[t,e]=hr(0);return $e(()=>e(r=>r+1),[])}function Q(t,e){if(!t)throw console.error(e),Error(e)}const ua=10;function It(t,e,r=ua){return t.toFixed(r)===e.toFixed(r)?0:t>e?1:-1}function Qe(t,e,r=ua){return It(t,e,r)===0}function Te(t,e,r){return It(t,e,r)===0}function kh(t,e,r){if(t.length!==e.length)return!1;for(let n=0;n<t.length;n++){const i=t[n],o=e[n];if(!Te(i,o,r))return!1}return!0}function sr({panelConstraints:t,panelIndex:e,size:r}){const n=t[e];Q(n!=null,`Panel constraints not found for index ${e}`);let{collapsedSize:i=0,collapsible:o,maxSize:l=100,minSize:a=0}=n;if(It(r,a)<0)if(o){const s=(i+a)/2;It(r,s)<0?r=i:r=a}else r=a;return r=Math.min(l,r),r=parseFloat(r.toFixed(ua)),r}function Hr({delta:t,initialLayout:e,panelConstraints:r,pivotIndices:n,prevLayout:i,trigger:o}){if(Te(t,0))return e;const l=[...e],[a,s]=n;Q(a!=null,"Invalid first pivot index"),Q(s!=null,"Invalid second pivot index");let c=0;if(o==="keyboard"){{const f=t<0?s:a,p=r[f];Q(p,`Panel constraints not found for index ${f}`);const{collapsedSize:g=0,collapsible:y,minSize:h=0}=p;if(y){const v=e[f];if(Q(v!=null,`Previous layout not found for panel index ${f}`),Te(v,g)){const m=h-v;It(m,Math.abs(t))>0&&(t=t<0?0-m:m)}}}{const f=t<0?a:s,p=r[f];Q(p,`No panel constraints found for index ${f}`);const{collapsedSize:g=0,collapsible:y,minSize:h=0}=p;if(y){const v=e[f];if(Q(v!=null,`Previous layout not found for panel index ${f}`),Te(v,h)){const m=v-g;It(m,Math.abs(t))>0&&(t=t<0?0-m:m)}}}}{const f=t<0?1:-1;let p=t<0?s:a,g=0;for(;;){const h=e[p];Q(h!=null,`Previous layout not found for panel index ${p}`);const m=sr({panelConstraints:r,panelIndex:p,size:100})-h;if(g+=m,p+=f,p<0||p>=r.length)break}const y=Math.min(Math.abs(t),Math.abs(g));t=t<0?0-y:y}{let p=t<0?a:s;for(;p>=0&&p<r.length;){const g=Math.abs(t)-Math.abs(c),y=e[p];Q(y!=null,`Previous layout not found for panel index ${p}`);const h=y-g,v=sr({panelConstraints:r,panelIndex:p,size:h});if(!Te(y,v)&&(c+=y-v,l[p]=v,c.toPrecision(3).localeCompare(Math.abs(t).toPrecision(3),void 0,{numeric:!0})>=0))break;t<0?p--:p++}}if(kh(i,l))return i;{const f=t<0?s:a,p=e[f];Q(p!=null,`Previous layout not found for panel index ${f}`);const g=p+c,y=sr({panelConstraints:r,panelIndex:f,size:g});if(l[f]=y,!Te(y,g)){let h=g-y,m=t<0?s:a;for(;m>=0&&m<r.length;){const C=l[m];Q(C!=null,`Previous layout not found for panel index ${m}`);const E=C+h,F=sr({panelConstraints:r,panelIndex:m,size:E});if(Te(C,F)||(h-=F-C,l[m]=F),Te(h,0))break;t>0?m--:m++}}}const d=l.reduce((f,p)=>p+f,0);return Te(d,100)?l:i}function Ih({layout:t,panelsArray:e,pivotIndices:r}){let n=0,i=100,o=0,l=0;const a=r[0];Q(a!=null,"No pivot index found"),e.forEach((f,p)=>{const{constraints:g}=f,{maxSize:y=100,minSize:h=0}=g;p===a?(n=h,i=y):(o+=h,l+=y)});const s=Math.min(i,100-o),c=Math.max(n,100-l),d=t[a];return{valueMax:s,valueMin:c,valueNow:d}}function en(t,e=document){return Array.from(e.querySelectorAll(`[data-panel-resize-handle-id][data-panel-group-id="${t}"]`))}function bd(t,e,r=document){const i=en(t,r).findIndex(o=>o.getAttribute("data-panel-resize-handle-id")===e);return i??null}function md(t,e,r){const n=bd(t,e,r);return n!=null?[n,n+1]:[-1,-1]}function yd(t,e=document){var r;if(e instanceof HTMLElement&&(e==null||(r=e.dataset)===null||r===void 0?void 0:r.panelGroupId)==t)return e;const n=e.querySelector(`[data-panel-group][data-panel-group-id="${t}"]`);return n||null}function Oi(t,e=document){const r=e.querySelector(`[data-panel-resize-handle-id="${t}"]`);return r||null}function Oh(t,e,r,n=document){var i,o,l,a;const s=Oi(e,n),c=en(t,n),d=s?c.indexOf(s):-1,f=(i=(o=r[d])===null||o===void 0?void 0:o.id)!==null&&i!==void 0?i:null,p=(l=(a=r[d+1])===null||a===void 0?void 0:a.id)!==null&&l!==void 0?l:null;return[f,p]}function Mh({committedValuesRef:t,eagerValuesRef:e,groupId:r,layout:n,panelDataArray:i,panelGroupElement:o,setLayout:l}){Ae({didWarnAboutMissingResizeHandle:!1}),Pt(()=>{if(!o)return;const a=en(r,o);for(let s=0;s<i.length-1;s++){const{valueMax:c,valueMin:d,valueNow:f}=Ih({layout:n,panelsArray:i,pivotIndices:[s,s+1]}),p=a[s];if(p!=null){const g=i[s];Q(g,`No panel data found for index "${s}"`),p.setAttribute("aria-controls",g.id),p.setAttribute("aria-valuemax",""+Math.round(c)),p.setAttribute("aria-valuemin",""+Math.round(d)),p.setAttribute("aria-valuenow",f!=null?""+Math.round(f):"")}}return()=>{a.forEach((s,c)=>{s.removeAttribute("aria-controls"),s.removeAttribute("aria-valuemax"),s.removeAttribute("aria-valuemin"),s.removeAttribute("aria-valuenow")})}},[r,n,i,o]),$t(()=>{if(!o)return;const a=e.current;Q(a,"Eager values not found");const{panelDataArray:s}=a,c=yd(r,o);Q(c!=null,`No group found for id "${r}"`);const d=en(r,o);Q(d,`No resize handles found for group id "${r}"`);const f=d.map(p=>{const g=p.getAttribute("data-panel-resize-handle-id");Q(g,"Resize handle element has no handle id attribute");const[y,h]=Oh(r,g,s,o);if(y==null||h==null)return()=>{};const v=m=>{if(!m.defaultPrevented)switch(m.key){case"Enter":{m.preventDefault();const C=s.findIndex(E=>E.id===y);if(C>=0){const E=s[C];Q(E,`No panel data found for index ${C}`);const F=n[C],{collapsedSize:D=0,collapsible:x,minSize:S=0}=E.constraints;if(F!=null&&x){const O=Hr({delta:Te(F,D)?S-D:D-F,initialLayout:n,panelConstraints:s.map(K=>K.constraints),pivotIndices:md(r,g,o),prevLayout:n,trigger:"keyboard"});n!==O&&l(O)}}break}}};return p.addEventListener("keydown",v),()=>{p.removeEventListener("keydown",v)}});return()=>{f.forEach(p=>p())}},[o,t,e,r,n,i,l])}function G0(t,e){if(t.length!==e.length)return!1;for(let r=0;r<t.length;r++)if(t[r]!==e[r])return!1;return!0}function Cd(t,e){const r=t==="horizontal",{x:n,y:i}=ki(e);return r?n:i}function Nh(t,e,r,n,i){const o=r==="horizontal",l=Oi(e,i);Q(l,`No resize handle element found for id "${e}"`);const a=l.getAttribute("data-panel-group-id");Q(a,"Resize handle element has no group id attribute");let{initialCursorPosition:s}=n;const c=Cd(r,t),d=yd(a,i);Q(d,`No group element found for id "${a}"`);const f=d.getBoundingClientRect(),p=o?f.width:f.height;return(c-s)/p*100}function Bh(t,e,r,n,i,o){if(cd(t)){const l=r==="horizontal";let a=0;t.shiftKey?a=100:i!=null?a=i:a=10;let s=0;switch(t.key){case"ArrowDown":s=l?0:a;break;case"ArrowLeft":s=l?-a:0;break;case"ArrowRight":s=l?a:0;break;case"ArrowUp":s=l?0:-a;break;case"End":s=100;break;case"Home":s=-100;break}return s}else return n==null?0:Nh(t,e,r,n,o)}function Rh({panelDataArray:t}){const e=Array(t.length),r=t.map(o=>o.constraints);let n=0,i=100;for(let o=0;o<t.length;o++){const l=r[o];Q(l,`Panel constraints not found for index ${o}`);const{defaultSize:a}=l;a!=null&&(n++,e[o]=a,i-=a)}for(let o=0;o<t.length;o++){const l=r[o];Q(l,`Panel constraints not found for index ${o}`);const{defaultSize:a}=l;if(a!=null)continue;const s=t.length-n,c=i/s;n++,e[o]=c,i-=c}return e}function Gt(t,e,r){e.forEach((n,i)=>{const o=t[i];Q(o,`Panel data not found for index ${i}`);const{callbacks:l,constraints:a,id:s}=o,{collapsedSize:c=0,collapsible:d}=a,f=r[s];if(f==null||n!==f){r[s]=n;const{onCollapse:p,onExpand:g,onResize:y}=l;y&&y(n,f),d&&(p||g)&&(g&&(f==null||Qe(f,c))&&!Qe(n,c)&&g(),p&&(f==null||!Qe(f,c))&&Qe(n,c)&&p())}})}function wn(t,e){if(t.length!==e.length)return!1;for(let r=0;r<t.length;r++)if(t[r]!=e[r])return!1;return!0}function Lh({defaultSize:t,dragState:e,layout:r,panelData:n,panelIndex:i,precision:o=3}){const l=r[i];let a;return l==null?a=t!=null?t.toPrecision(o):"1":n.length===1?a="1":a=l.toPrecision(o),{flexBasis:0,flexGrow:a,flexShrink:1,overflow:"hidden",pointerEvents:e!==null?"none":void 0}}function Kh(t,e=10){let r=null;return(...i)=>{r!==null&&clearTimeout(r),r=setTimeout(()=>{t(...i)},e)}}function q0(t){try{if(typeof localStorage<"u")t.getItem=e=>localStorage.getItem(e),t.setItem=(e,r)=>{localStorage.setItem(e,r)};else throw new Error("localStorage not supported in this environment")}catch(e){console.error(e),t.getItem=()=>null,t.setItem=()=>{}}}function Ed(t){return`react-resizable-panels:${t}`}function wd(t){return t.map(e=>{const{constraints:r,id:n,idIsFromProps:i,order:o}=e;return i?n:o?`${o}:${JSON.stringify(r)}`:JSON.stringify(r)}).sort((e,r)=>e.localeCompare(r)).join(",")}function Dd(t,e){try{const r=Ed(t),n=e.getItem(r);if(n){const i=JSON.parse(n);if(typeof i=="object"&&i!=null)return i}}catch{}return null}function jh(t,e,r){var n,i;const o=(n=Dd(t,r))!==null&&n!==void 0?n:{},l=wd(e);return(i=o[l])!==null&&i!==void 0?i:null}function Hh(t,e,r,n,i){var o;const l=Ed(t),a=wd(e),s=(o=Dd(t,i))!==null&&o!==void 0?o:{};s[a]={expandToSizes:Object.fromEntries(r.entries()),layout:n};try{i.setItem(l,JSON.stringify(s))}catch(c){console.error(c)}}function Y0({layout:t,panelConstraints:e}){const r=[...t],n=r.reduce((o,l)=>o+l,0);if(r.length!==e.length)throw Error(`Invalid ${e.length} panel layout: ${r.map(o=>`${o}%`).join(", ")}`);if(!Te(n,100)&&r.length>0)for(let o=0;o<e.length;o++){const l=r[o];Q(l!=null,`No layout data found for index ${o}`);const a=100/n*l;r[o]=a}let i=0;for(let o=0;o<e.length;o++){const l=r[o];Q(l!=null,`No layout data found for index ${o}`);const a=sr({panelConstraints:e,panelIndex:o,size:l});l!=a&&(i+=l-a,r[o]=a)}if(!Te(i,0))for(let o=0;o<e.length;o++){const l=r[o];Q(l!=null,`No layout data found for index ${o}`);const a=l+i,s=sr({panelConstraints:e,panelIndex:o,size:a});if(l!==s&&(i-=s-l,r[o]=s,Te(i,0)))break}return r}const Vh=100,Vr={getItem:t=>(q0(Vr),Vr.getItem(t)),setItem:(t,e)=>{q0(Vr),Vr.setItem(t,e)}},X0={};function xd({autoSaveId:t=null,children:e,className:r="",direction:n,forwardedRef:i,id:o=null,onLayout:l=null,keyboardResizeBy:a=null,storage:s=Vr,style:c,tagName:d="div",...f}){const p=aa(o),g=Ae(null),[y,h]=hr(null),[v,m]=hr([]),C=_h(),E=Ae({}),F=Ae(new Map),D=Ae(0),x=Ae({autoSaveId:t,direction:n,dragState:y,id:p,keyboardResizeBy:a,onLayout:l,storage:s}),S=Ae({layout:v,panelDataArray:[],panelDataArrayChanged:!1});Ae({didLogIdAndOrderWarning:!1,didLogPanelConstraintsWarning:!1,prevPanelIds:[]}),ad(i,()=>({getId:()=>x.current.id,getLayout:()=>{const{layout:A}=S.current;return A},setLayout:A=>{const{onLayout:B}=x.current,{layout:L,panelDataArray:j}=S.current,V=Y0({layout:A,panelConstraints:j.map(W=>W.constraints)});G0(L,V)||(m(V),S.current.layout=V,B&&B(V),Gt(j,V,E.current))}}),[]),Pt(()=>{x.current.autoSaveId=t,x.current.direction=n,x.current.dragState=y,x.current.id=p,x.current.onLayout=l,x.current.storage=s}),Mh({committedValuesRef:x,eagerValuesRef:S,groupId:p,layout:v,panelDataArray:S.current.panelDataArray,setLayout:m,panelGroupElement:g.current}),$t(()=>{const{panelDataArray:A}=S.current;if(t){if(v.length===0||v.length!==A.length)return;let B=X0[t];B==null&&(B=Kh(Hh,Vh),X0[t]=B);const L=[...A],j=new Map(F.current);B(t,L,j,v,s)}},[t,v,s]),$t(()=>{});const O=$e(A=>{const{onLayout:B}=x.current,{layout:L,panelDataArray:j}=S.current;if(A.constraints.collapsible){const V=j.map(ae=>ae.constraints),{collapsedSize:W=0,panelSize:q,pivotIndices:Y}=Ct(j,A,L);if(Q(q!=null,`Panel size not found for panel "${A.id}"`),!Qe(q,W)){F.current.set(A.id,q);const G=or(j,A)===j.length-1?q-W:W-q,te=Hr({delta:G,initialLayout:L,panelConstraints:V,pivotIndices:Y,prevLayout:L,trigger:"imperative-api"});wn(L,te)||(m(te),S.current.layout=te,B&&B(te),Gt(j,te,E.current))}}},[]),K=$e((A,B)=>{const{onLayout:L}=x.current,{layout:j,panelDataArray:V}=S.current;if(A.constraints.collapsible){const W=V.map(de=>de.constraints),{collapsedSize:q=0,panelSize:Y=0,minSize:ae=0,pivotIndices:G}=Ct(V,A,j),te=B??ae;if(Qe(Y,q)){const de=F.current.get(A.id),Re=de!=null&&de>=te?de:te,re=or(V,A)===V.length-1?Y-Re:Re-Y,pe=Hr({delta:re,initialLayout:j,panelConstraints:W,pivotIndices:G,prevLayout:j,trigger:"imperative-api"});wn(j,pe)||(m(pe),S.current.layout=pe,L&&L(pe),Gt(V,pe,E.current))}}},[]),H=$e(A=>{const{layout:B,panelDataArray:L}=S.current,{panelSize:j}=Ct(L,A,B);return Q(j!=null,`Panel size not found for panel "${A.id}"`),j},[]),w=$e((A,B)=>{const{panelDataArray:L}=S.current,j=or(L,A);return Lh({defaultSize:B,dragState:y,layout:v,panelData:L,panelIndex:j})},[y,v]),M=$e(A=>{const{layout:B,panelDataArray:L}=S.current,{collapsedSize:j=0,collapsible:V,panelSize:W}=Ct(L,A,B);return Q(W!=null,`Panel size not found for panel "${A.id}"`),V===!0&&Qe(W,j)},[]),Z=$e(A=>{const{layout:B,panelDataArray:L}=S.current,{collapsedSize:j=0,collapsible:V,panelSize:W}=Ct(L,A,B);return Q(W!=null,`Panel size not found for panel "${A.id}"`),!V||It(W,j)>0},[]),_=$e(A=>{const{panelDataArray:B}=S.current;B.push(A),B.sort((L,j)=>{const V=L.order,W=j.order;return V==null&&W==null?0:V==null?-1:W==null?1:V-W}),S.current.panelDataArrayChanged=!0,C()},[C]);Pt(()=>{if(S.current.panelDataArrayChanged){S.current.panelDataArrayChanged=!1;const{autoSaveId:A,onLayout:B,storage:L}=x.current,{layout:j,panelDataArray:V}=S.current;let W=null;if(A){const Y=jh(A,V,L);Y&&(F.current=new Map(Object.entries(Y.expandToSizes)),W=Y.layout)}W==null&&(W=Rh({panelDataArray:V}));const q=Y0({layout:W,panelConstraints:V.map(Y=>Y.constraints)});G0(j,q)||(m(q),S.current.layout=q,B&&B(q),Gt(V,q,E.current))}}),Pt(()=>{const A=S.current;return()=>{A.layout=[]}},[]);const U=$e(A=>{let B=!1;const L=g.current;return L&&window.getComputedStyle(L,null).getPropertyValue("direction")==="rtl"&&(B=!0),function(V){V.preventDefault();const W=g.current;if(!W)return()=>null;const{direction:q,dragState:Y,id:ae,keyboardResizeBy:G,onLayout:te}=x.current,{layout:de,panelDataArray:Re}=S.current,{initialLayout:zt}=Y??{},re=md(ae,A,W);let pe=Bh(V,A,q,Y,G,W);const Ut=q==="horizontal";Ut&&B&&(pe=-pe);const Sr=Re.map(Cf=>Cf.constraints),Fr=Hr({delta:pe,initialLayout:zt??de,panelConstraints:Sr,pivotIndices:re,prevLayout:de,trigger:cd(V)?"keyboard":"mouse-or-touch"}),$a=!wn(de,Fr);(ud(V)||dd(V))&&D.current!=pe&&(D.current=pe,!$a&&pe!==0?Ut?po(A,pe<0?hd:pd):po(A,pe<0?gd:vd):po(A,0)),$a&&(m(Fr),S.current.layout=Fr,te&&te(Fr),Gt(Re,Fr,E.current))}},[]),P=$e((A,B)=>{const{onLayout:L}=x.current,{layout:j,panelDataArray:V}=S.current,W=V.map(de=>de.constraints),{panelSize:q,pivotIndices:Y}=Ct(V,A,j);Q(q!=null,`Panel size not found for panel "${A.id}"`);const G=or(V,A)===V.length-1?q-B:B-q,te=Hr({delta:G,initialLayout:j,panelConstraints:W,pivotIndices:Y,prevLayout:j,trigger:"imperative-api"});wn(j,te)||(m(te),S.current.layout=te,L&&L(te),Gt(V,te,E.current))},[]),k=$e((A,B)=>{const{layout:L,panelDataArray:j}=S.current,{collapsedSize:V=0,collapsible:W}=B,{collapsedSize:q=0,collapsible:Y,maxSize:ae=100,minSize:G=0}=A.constraints,{panelSize:te}=Ct(j,A,L);te!=null&&(W&&Y&&Qe(te,V)?Qe(V,q)||P(A,q):te<G?P(A,G):te>ae&&P(A,ae))},[P]),z=$e((A,B)=>{const{direction:L}=x.current,{layout:j}=S.current;if(!g.current)return;const V=Oi(A,g.current);Q(V,`Drag handle element not found for id "${A}"`);const W=Cd(L,B);h({dragHandleId:A,dragHandleRect:V.getBoundingClientRect(),initialCursorPosition:W,initialLayout:j})},[]),R=$e(()=>{h(null)},[]),I=$e(A=>{const{panelDataArray:B}=S.current,L=or(B,A);L>=0&&(B.splice(L,1),delete E.current[A.id],S.current.panelDataArrayChanged=!0,C())},[C]),N=bh(()=>({collapsePanel:O,direction:n,dragState:y,expandPanel:K,getPanelSize:H,getPanelStyle:w,groupId:p,isPanelCollapsed:M,isPanelExpanded:Z,reevaluatePanelConstraints:k,registerPanel:_,registerResizeHandle:U,resizePanel:P,startDragging:z,stopDragging:R,unregisterPanel:I,panelGroupElement:g.current}),[O,y,n,K,H,w,p,M,Z,k,_,U,P,z,R,I]),$={display:"flex",flexDirection:n==="horizontal"?"row":"column",height:"100%",overflow:"hidden",width:"100%"};return Cr(_i.Provider,{value:N},Cr(d,{...f,children:e,className:r,id:o,ref:g,style:{...$,...c},"data-panel-group":"","data-panel-group-direction":n,"data-panel-group-id":p}))}const Sd=od((t,e)=>Cr(xd,{...t,forwardedRef:e}));xd.displayName="PanelGroup";Sd.displayName="forwardRef(PanelGroup)";function or(t,e){return t.findIndex(r=>r===e||r.id===e.id)}function Ct(t,e,r){const n=or(t,e),o=n===t.length-1?[n-1,n]:[n,n+1],l=r[n];return{...e.constraints,panelSize:l,pivotIndices:o}}function zh({disabled:t,handleId:e,resizeHandler:r,panelGroupElement:n}){$t(()=>{if(t||r==null||n==null)return;const i=Oi(e,n);if(i==null)return;const o=l=>{if(!l.defaultPrevented)switch(l.key){case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"ArrowUp":case"End":case"Home":{l.preventDefault(),r(l);break}case"F6":{l.preventDefault();const a=i.getAttribute("data-panel-group-id");Q(a,`No group element found for id "${a}"`);const s=en(a,n),c=bd(a,e,n);Q(c!==null,`No resize element found for id "${e}"`);const d=l.shiftKey?c>0?c-1:s.length-1:c+1<s.length?c+1:0;s[d].focus();break}}};return i.addEventListener("keydown",o),()=>{i.removeEventListener("keydown",o)}},[n,t,e,r])}function Fd({children:t=null,className:e="",disabled:r=!1,hitAreaMargins:n,id:i,onBlur:o,onDragging:l,onFocus:a,style:s={},tabIndex:c=0,tagName:d="div",...f}){var p,g;const y=Ae(null),h=Ae({onDragging:l});$t(()=>{h.current.onDragging=l});const v=ld(_i);if(v===null)throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");const{direction:m,groupId:C,registerResizeHandle:E,startDragging:F,stopDragging:D,panelGroupElement:x}=v,S=aa(i),[O,K]=hr("inactive"),[H,w]=hr(!1),[M,Z]=hr(null),_=Ae({state:O});Pt(()=>{_.current.state=O}),$t(()=>{if(r)Z(null);else{const z=E(S);Z(()=>z)}},[r,S,E]);const U=(p=n==null?void 0:n.coarse)!==null&&p!==void 0?p:15,P=(g=n==null?void 0:n.fine)!==null&&g!==void 0?g:5;return $t(()=>{if(r||M==null)return;const z=y.current;return Q(z,"Element ref not attached"),Th(S,z,m,{coarse:U,fine:P},(I,N,$)=>{if(N)switch(I){case"down":{K("drag"),Q($,'Expected event to be defined for "down" action'),F(S,$);const{onDragging:A}=h.current;A&&A(!0);break}case"move":{const{state:A}=_.current;A!=="drag"&&K("hover"),Q($,'Expected event to be defined for "move" action'),M($);break}case"up":{K("hover"),D();const{onDragging:A}=h.current;A&&A(!1);break}}else K("inactive")})},[U,m,r,P,E,S,M,F,D]),zh({disabled:r,handleId:S,resizeHandler:M,panelGroupElement:x}),Cr(d,{...f,children:t,className:e,id:i,onBlur:()=>{w(!1),o==null||o()},onFocus:()=>{w(!0),a==null||a()},ref:y,role:"separator",style:{...{touchAction:"none",userSelect:"none"},...s},tabIndex:c,"data-panel-group-direction":m,"data-panel-group-id":C,"data-resize-handle":"","data-resize-handle-active":O==="drag"?"pointer":H?"keyboard":void 0,"data-resize-handle-state":O,"data-panel-resize-handle-enabled":!r,"data-panel-resize-handle-id":S})}Fd.displayName="PanelResizeHandle";const Uh=({children:t,isOpen:e})=>{const{isDesktop:r}=mt();return r?b.jsx("div",{className:ye("c__right-panel",{open:e}),children:t}):b.jsx("div",{className:ye("c__right-panel__mobile",{open:e}),children:t})},Wh=(t,e,r)=>{const[n,i]=u.useState(typeof e>"u"?t:e),o=l=>{r?r(l):i(l)};return u.useEffect(()=>{r&&typeof e<"u"&&e!==n&&i(e)},[e]),[n,o]},Zh=({icon:t,children:e,hideLeftPanelOnDesktop:r=!1,leftPanelContent:n,rightPanelContent:i,rightHeaderContent:o,languages:l,enableResize:a=!1,rightPanelIsOpen:s=!1,...c})=>{const[d,f]=Wh(!1,c.isLeftPanelOpen,c.setIsLeftPanelOpen),{isDesktop:p}=mt(),g=u.useRef(null),[y,h]=u.useState(!1),v=u.useRef(void 0);u.useEffect(()=>{const O=()=>{h(!0),v.current&&clearTimeout(v.current),v.current=window.setTimeout(()=>{h(!1)},150)};return window.addEventListener("resize",O),()=>{window.removeEventListener("resize",O),v.current&&clearTimeout(v.current)}},[]);const m=p?!r:!0,C=p?!r:d,[E,F]=u.useState(Dn(300,p)),[D,x]=u.useState(Dn(450,p)),S=()=>{f(!d)};return u.useEffect(()=>{const O=()=>{const K=Math.round(Dn(300,p)),H=Math.round(Math.min(Dn(450,p),40));F(p?K:0),x(a?H:K)};return O(),window.addEventListener("resize",O),()=>{window.removeEventListener("resize",O)}},[p,a]),b.jsxs("div",{className:ye("c__main-layout",{resizing:y}),children:[b.jsx("div",{className:"c__main-layout__header",children:b.jsx(nd,{onTogglePanel:S,isPanelOpen:d,rightIcon:o,leftIcon:t,languages:l})}),b.jsx("div",{className:"c__main-layout__content",children:b.jsxs(Sd,{autoSaveId:"persistance",direction:"horizontal",children:[m&&b.jsxs(b.Fragment,{children:[b.jsx(sl,{ref:g,order:0,defaultSize:E,minSize:E,maxSize:D,children:b.jsx(id,{isOpen:C,children:n})}),p&&b.jsx(Fd,{className:"border-clr-surface-primary",style:{borderRightWidth:"1px",borderRightStyle:"solid"}})]}),b.jsx(sl,{order:1,children:b.jsxs("div",{className:"c__main-layout__content__center",children:[b.jsx("div",{className:"c__main-layout__content__center__children",children:e}),b.jsx(Uh,{isOpen:s,children:i})]})})]})})]})},Dn=(t,e)=>{if(!e)return 0;const r=window.innerWidth;return t/r*100},Gh=52,li=({size:t="sm"})=>b.jsx("div",{className:["c__spinner",t].join(" ")}),$d=({children:t,text:e,...r})=>b.jsxs("div",{className:"suite__label__container",children:[b.jsx("label",{...r,children:t}),e&&b.jsx("span",{className:"suite__label__container__description",children:e})]}),qh=({label:t,text:e,labelSide:r="right",children:n})=>b.jsxs("div",{className:ye("c__with-label",{[r]:!0}),children:[b.jsx($d,{children:t,text:e}),n]});var J0=1,Yh=.9,Xh=.8,Jh=.17,go=.1,vo=.999,Qh=.9999,e9=.99,t9=/[\\\/_+.#"@\[\(\{&]/,r9=/[\\\/_+.#"@\[\(\{&]/g,n9=/[\s-]/,Pd=/[\s-]/g;function ul(t,e,r,n,i,o,l){if(o===e.length)return i===t.length?J0:e9;var a=`${i},${o}`;if(l[a]!==void 0)return l[a];for(var s=n.charAt(o),c=r.indexOf(s,i),d=0,f,p,g,y;c>=0;)f=ul(t,e,r,n,c+1,o+1,l),f>d&&(c===i?f*=J0:t9.test(t.charAt(c-1))?(f*=Xh,g=t.slice(i,c-1).match(r9),g&&i>0&&(f*=Math.pow(vo,g.length))):n9.test(t.charAt(c-1))?(f*=Yh,y=t.slice(i,c-1).match(Pd),y&&i>0&&(f*=Math.pow(vo,y.length))):(f*=Jh,i>0&&(f*=Math.pow(vo,c-i))),t.charAt(c)!==e.charAt(o)&&(f*=Qh)),(f<go&&r.charAt(c-1)===n.charAt(o+1)||n.charAt(o+1)===n.charAt(o)&&r.charAt(c-1)!==n.charAt(o))&&(p=ul(t,e,r,n,c+1,o+2,l),p*go>f&&(f=p*go)),f>d&&(d=f),c=r.indexOf(s,c+1);return l[a]=d,d}function Q0(t){return t.toLowerCase().replace(Pd," ")}function i9(t,e,r){return t=r&&r.length>0?`${t+" "+r.join(" ")}`:t,ul(t,e,Q0(t),Q0(e),0,0,{})}function ht(t,e,{checkForDefaultPrevented:r=!0}={}){return function(i){if(t==null||t(i),r===!1||!i.defaultPrevented)return e==null?void 0:e(i)}}function es(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function Ad(...t){return e=>{let r=!1;const n=t.map(i=>{const o=es(i,e);return!r&&typeof o=="function"&&(r=!0),o});if(r)return()=>{for(let i=0;i<n.length;i++){const o=n[i];typeof o=="function"?o():es(t[i],null)}}}}function Ht(...t){return T.useCallback(Ad(...t),t)}function o9(t,e){const r=T.createContext(e),n=o=>{const{children:l,...a}=o,s=T.useMemo(()=>a,Object.values(a));return b.jsx(r.Provider,{value:s,children:l})};n.displayName=t+"Provider";function i(o){const l=T.useContext(r);if(l)return l;if(e!==void 0)return e;throw new Error(`\`${o}\` must be used within \`${t}\``)}return[n,i]}function l9(t,e=[]){let r=[];function n(o,l){const a=T.createContext(l),s=r.length;r=[...r,l];const c=f=>{var m;const{scope:p,children:g,...y}=f,h=((m=p==null?void 0:p[t])==null?void 0:m[s])||a,v=T.useMemo(()=>y,Object.values(y));return b.jsx(h.Provider,{value:v,children:g})};c.displayName=o+"Provider";function d(f,p){var h;const g=((h=p==null?void 0:p[t])==null?void 0:h[s])||a,y=T.useContext(g);if(y)return y;if(l!==void 0)return l;throw new Error(`\`${f}\` must be used within \`${o}\``)}return[c,d]}const i=()=>{const o=r.map(l=>T.createContext(l));return function(a){const s=(a==null?void 0:a[t])||o;return T.useMemo(()=>({[`__scope${t}`]:{...a,[t]:s}}),[a,s])}};return i.scopeName=t,[n,a9(i,...e)]}function a9(...t){const e=t[0];if(t.length===1)return e;const r=()=>{const n=t.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(o){const l=n.reduce((a,{useScope:s,scopeName:c})=>{const f=s(o)[`__scope${c}`];return{...a,...f}},{});return T.useMemo(()=>({[`__scope${e.scopeName}`]:l}),[l])}};return r.scopeName=e.scopeName,r}var tn=globalThis!=null&&globalThis.document?T.useLayoutEffect:()=>{},s9=T[" useId ".trim().toString()]||(()=>{}),c9=0;function tt(t){const[e,r]=T.useState(s9());return tn(()=>{r(n=>n??String(c9++))},[t]),e?`radix-${e}`:""}var u9=T[" useInsertionEffect ".trim().toString()]||tn;function d9({prop:t,defaultProp:e,onChange:r=()=>{},caller:n}){const[i,o,l]=f9({defaultProp:e,onChange:r}),a=t!==void 0,s=a?t:i;{const d=T.useRef(t!==void 0);T.useEffect(()=>{const f=d.current;f!==a&&console.warn(`${n} is changing from ${f?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),d.current=a},[a,n])}const c=T.useCallback(d=>{var f;if(a){const p=h9(d)?d(t):d;p!==t&&((f=l.current)==null||f.call(l,p))}else o(d)},[a,t,o,l]);return[s,c]}function f9({defaultProp:t,onChange:e}){const[r,n]=T.useState(t),i=T.useRef(r),o=T.useRef(e);return u9(()=>{o.current=e},[e]),T.useEffect(()=>{var l;i.current!==r&&((l=o.current)==null||l.call(o,r),i.current=r)},[r,i]),[r,n,o]}function h9(t){return typeof t=="function"}function Td(t){const e=p9(t),r=T.forwardRef((n,i)=>{const{children:o,...l}=n,a=T.Children.toArray(o),s=a.find(v9);if(s){const c=s.props.children,d=a.map(f=>f===s?T.Children.count(c)>1?T.Children.only(null):T.isValidElement(c)?c.props.children:null:f);return b.jsx(e,{...l,ref:i,children:T.isValidElement(c)?T.cloneElement(c,void 0,d):null})}return b.jsx(e,{...l,ref:i,children:o})});return r.displayName=`${t}.Slot`,r}function p9(t){const e=T.forwardRef((r,n)=>{const{children:i,...o}=r;if(T.isValidElement(i)){const l=m9(i),a=b9(o,i.props);return i.type!==T.Fragment&&(a.ref=n?Ad(n,l):l),T.cloneElement(i,a)}return T.Children.count(i)>1?T.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var g9=Symbol("radix.slottable");function v9(t){return T.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===g9}function b9(t,e){const r={...e};for(const n in e){const i=t[n],o=e[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...a)=>{const s=o(...a);return i(...a),s}:i&&(r[n]=i):n==="style"?r[n]={...i,...o}:n==="className"&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...t,...r}}function m9(t){var n,i;let e=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(e=(i=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:i.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var y9=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ce=y9.reduce((t,e)=>{const r=Td(`Primitive.${e}`),n=T.forwardRef((i,o)=>{const{asChild:l,...a}=i,s=l?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),b.jsx(s,{...a,ref:o})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{});function C9(t,e){t&&Ef.flushSync(()=>t.dispatchEvent(e))}function rn(t){const e=T.useRef(t);return T.useEffect(()=>{e.current=t}),T.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}function E9(t,e=globalThis==null?void 0:globalThis.document){const r=rn(t);T.useEffect(()=>{const n=i=>{i.key==="Escape"&&r(i)};return e.addEventListener("keydown",n,{capture:!0}),()=>e.removeEventListener("keydown",n,{capture:!0})},[r,e])}var w9="DismissableLayer",dl="dismissableLayer.update",D9="dismissableLayer.pointerDownOutside",x9="dismissableLayer.focusOutside",ts,_d=T.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),kd=T.forwardRef((t,e)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:i,onFocusOutside:o,onInteractOutside:l,onDismiss:a,...s}=t,c=T.useContext(_d),[d,f]=T.useState(null),p=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,g]=T.useState({}),y=Ht(e,S=>f(S)),h=Array.from(c.layers),[v]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),m=h.indexOf(v),C=d?h.indexOf(d):-1,E=c.layersWithOutsidePointerEventsDisabled.size>0,F=C>=m,D=$9(S=>{const O=S.target,K=[...c.branches].some(H=>H.contains(O));!F||K||(i==null||i(S),l==null||l(S),S.defaultPrevented||a==null||a())},p),x=P9(S=>{const O=S.target;[...c.branches].some(H=>H.contains(O))||(o==null||o(S),l==null||l(S),S.defaultPrevented||a==null||a())},p);return E9(S=>{C===c.layers.size-1&&(n==null||n(S),!S.defaultPrevented&&a&&(S.preventDefault(),a()))},p),T.useEffect(()=>{if(d)return r&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(ts=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(d)),c.layers.add(d),rs(),()=>{r&&c.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=ts)}},[d,p,r,c]),T.useEffect(()=>()=>{d&&(c.layers.delete(d),c.layersWithOutsidePointerEventsDisabled.delete(d),rs())},[d,c]),T.useEffect(()=>{const S=()=>g({});return document.addEventListener(dl,S),()=>document.removeEventListener(dl,S)},[]),b.jsx(Ce.div,{...s,ref:y,style:{pointerEvents:E?F?"auto":"none":void 0,...t.style},onFocusCapture:ht(t.onFocusCapture,x.onFocusCapture),onBlurCapture:ht(t.onBlurCapture,x.onBlurCapture),onPointerDownCapture:ht(t.onPointerDownCapture,D.onPointerDownCapture)})});kd.displayName=w9;var S9="DismissableLayerBranch",F9=T.forwardRef((t,e)=>{const r=T.useContext(_d),n=T.useRef(null),i=Ht(e,n);return T.useEffect(()=>{const o=n.current;if(o)return r.branches.add(o),()=>{r.branches.delete(o)}},[r.branches]),b.jsx(Ce.div,{...t,ref:i})});F9.displayName=S9;function $9(t,e=globalThis==null?void 0:globalThis.document){const r=rn(t),n=T.useRef(!1),i=T.useRef(()=>{});return T.useEffect(()=>{const o=a=>{if(a.target&&!n.current){let s=function(){Id(D9,r,c,{discrete:!0})};const c={originalEvent:a};a.pointerType==="touch"?(e.removeEventListener("click",i.current),i.current=s,e.addEventListener("click",i.current,{once:!0})):s()}else e.removeEventListener("click",i.current);n.current=!1},l=window.setTimeout(()=>{e.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(l),e.removeEventListener("pointerdown",o),e.removeEventListener("click",i.current)}},[e,r]),{onPointerDownCapture:()=>n.current=!0}}function P9(t,e=globalThis==null?void 0:globalThis.document){const r=rn(t),n=T.useRef(!1);return T.useEffect(()=>{const i=o=>{o.target&&!n.current&&Id(x9,r,{originalEvent:o},{discrete:!1})};return e.addEventListener("focusin",i),()=>e.removeEventListener("focusin",i)},[e,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function rs(){const t=new CustomEvent(dl);document.dispatchEvent(t)}function Id(t,e,r,{discrete:n}){const i=r.originalEvent.target,o=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:r});e&&i.addEventListener(t,e,{once:!0}),n?C9(i,o):i.dispatchEvent(o)}var bo="focusScope.autoFocusOnMount",mo="focusScope.autoFocusOnUnmount",ns={bubbles:!1,cancelable:!0},A9="FocusScope",Od=T.forwardRef((t,e)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...l}=t,[a,s]=T.useState(null),c=rn(i),d=rn(o),f=T.useRef(null),p=Ht(e,h=>s(h)),g=T.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;T.useEffect(()=>{if(n){let h=function(E){if(g.paused||!a)return;const F=E.target;a.contains(F)?f.current=F:lt(f.current,{select:!0})},v=function(E){if(g.paused||!a)return;const F=E.relatedTarget;F!==null&&(a.contains(F)||lt(f.current,{select:!0}))},m=function(E){if(document.activeElement===document.body)for(const D of E)D.removedNodes.length>0&&lt(a)};document.addEventListener("focusin",h),document.addEventListener("focusout",v);const C=new MutationObserver(m);return a&&C.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",h),document.removeEventListener("focusout",v),C.disconnect()}}},[n,a,g.paused]),T.useEffect(()=>{if(a){os.add(g);const h=document.activeElement;if(!a.contains(h)){const m=new CustomEvent(bo,ns);a.addEventListener(bo,c),a.dispatchEvent(m),m.defaultPrevented||(T9(M9(Md(a)),{select:!0}),document.activeElement===h&&lt(a))}return()=>{a.removeEventListener(bo,c),setTimeout(()=>{const m=new CustomEvent(mo,ns);a.addEventListener(mo,d),a.dispatchEvent(m),m.defaultPrevented||lt(h??document.body,{select:!0}),a.removeEventListener(mo,d),os.remove(g)},0)}}},[a,c,d,g]);const y=T.useCallback(h=>{if(!r&&!n||g.paused)return;const v=h.key==="Tab"&&!h.altKey&&!h.ctrlKey&&!h.metaKey,m=document.activeElement;if(v&&m){const C=h.currentTarget,[E,F]=_9(C);E&&F?!h.shiftKey&&m===F?(h.preventDefault(),r&&lt(E,{select:!0})):h.shiftKey&&m===E&&(h.preventDefault(),r&&lt(F,{select:!0})):m===C&&h.preventDefault()}},[r,n,g.paused]);return b.jsx(Ce.div,{tabIndex:-1,...l,ref:p,onKeyDown:y})});Od.displayName=A9;function T9(t,{select:e=!1}={}){const r=document.activeElement;for(const n of t)if(lt(n,{select:e}),document.activeElement!==r)return}function _9(t){const e=Md(t),r=is(e,t),n=is(e.reverse(),t);return[r,n]}function Md(t){const e=[],r=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const i=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||i?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)e.push(r.currentNode);return e}function is(t,e){for(const r of t)if(!k9(r,{upTo:e}))return r}function k9(t,{upTo:e}){if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(e!==void 0&&t===e)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1}function I9(t){return t instanceof HTMLInputElement&&"select"in t}function lt(t,{select:e=!1}={}){if(t&&t.focus){const r=document.activeElement;t.focus({preventScroll:!0}),t!==r&&I9(t)&&e&&t.select()}}var os=O9();function O9(){let t=[];return{add(e){const r=t[0];e!==r&&(r==null||r.pause()),t=ls(t,e),t.unshift(e)},remove(e){var r;t=ls(t,e),(r=t[0])==null||r.resume()}}}function ls(t,e){const r=[...t],n=r.indexOf(e);return n!==-1&&r.splice(n,1),r}function M9(t){return t.filter(e=>e.tagName!=="A")}var N9="Portal",Nd=T.forwardRef((t,e)=>{var a;const{container:r,...n}=t,[i,o]=T.useState(!1);tn(()=>o(!0),[]);const l=r||i&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return l?Rt.createPortal(b.jsx(Ce.div,{...n,ref:e}),l):null});Nd.displayName=N9;function B9(t,e){return T.useReducer((r,n)=>e[r][n]??r,t)}var Mi=t=>{const{present:e,children:r}=t,n=R9(e),i=typeof r=="function"?r({present:n.isPresent}):T.Children.only(r),o=Ht(n.ref,L9(i));return typeof r=="function"||n.isPresent?T.cloneElement(i,{ref:o}):null};Mi.displayName="Presence";function R9(t){const[e,r]=T.useState(),n=T.useRef(null),i=T.useRef(t),o=T.useRef("none"),l=t?"mounted":"unmounted",[a,s]=B9(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return T.useEffect(()=>{const c=xn(n.current);o.current=a==="mounted"?c:"none"},[a]),tn(()=>{const c=n.current,d=i.current;if(d!==t){const p=o.current,g=xn(c);t?s("MOUNT"):g==="none"||(c==null?void 0:c.display)==="none"?s("UNMOUNT"):s(d&&p!==g?"ANIMATION_OUT":"UNMOUNT"),i.current=t}},[t,s]),tn(()=>{if(e){let c;const d=e.ownerDocument.defaultView??window,f=g=>{const h=xn(n.current).includes(CSS.escape(g.animationName));if(g.target===e&&h&&(s("ANIMATION_END"),!i.current)){const v=e.style.animationFillMode;e.style.animationFillMode="forwards",c=d.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=v)})}},p=g=>{g.target===e&&(o.current=xn(n.current))};return e.addEventListener("animationstart",p),e.addEventListener("animationcancel",f),e.addEventListener("animationend",f),()=>{d.clearTimeout(c),e.removeEventListener("animationstart",p),e.removeEventListener("animationcancel",f),e.removeEventListener("animationend",f)}}else s("ANIMATION_END")},[e,s]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:T.useCallback(c=>{n.current=c?getComputedStyle(c):null,r(c)},[])}}function xn(t){return(t==null?void 0:t.animationName)||"none"}function L9(t){var n,i;let e=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,r=e&&"isReactWarning"in e&&e.isReactWarning;return r?t.ref:(e=(i=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:i.get,r=e&&"isReactWarning"in e&&e.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}var yo=0;function K9(){T.useEffect(()=>{const t=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",t[0]??as()),document.body.insertAdjacentElement("beforeend",t[1]??as()),yo++,()=>{yo===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),yo--}},[])}function as(){const t=document.createElement("span");return t.setAttribute("data-radix-focus-guard",""),t.tabIndex=0,t.style.outline="none",t.style.opacity="0",t.style.position="fixed",t.style.pointerEvents="none",t}var Nn="right-scroll-bar-position",Bn="width-before-scroll-bar",j9="with-scroll-bars-hidden",H9="--removed-body-scroll-bar-size";function Co(t,e){return typeof t=="function"?t(e):t&&(t.current=e),t}function V9(t,e){var r=u.useState(function(){return{value:t,callback:e,facade:{get current(){return r.value},set current(n){var i=r.value;i!==n&&(r.value=n,r.callback(n,i))}}}})[0];return r.callback=e,r.facade}var z9=typeof window<"u"?T.useLayoutEffect:T.useEffect,ss=new WeakMap;function U9(t,e){var r=V9(null,function(n){return t.forEach(function(i){return Co(i,n)})});return z9(function(){var n=ss.get(r);if(n){var i=new Set(n),o=new Set(t),l=r.current;i.forEach(function(a){o.has(a)||Co(a,null)}),o.forEach(function(a){i.has(a)||Co(a,l)})}ss.set(r,t)},[t]),r}function W9(t){return t}function Z9(t,e){e===void 0&&(e=W9);var r=[],n=!1,i={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:t},useMedium:function(o){var l=e(o,n);return r.push(l),function(){r=r.filter(function(a){return a!==l})}},assignSyncMedium:function(o){for(n=!0;r.length;){var l=r;r=[],l.forEach(o)}r={push:function(a){return o(a)},filter:function(){return r}}},assignMedium:function(o){n=!0;var l=[];if(r.length){var a=r;r=[],a.forEach(o),l=r}var s=function(){var d=l;l=[],d.forEach(o)},c=function(){return Promise.resolve().then(s)};c(),r={push:function(d){l.push(d),c()},filter:function(d){return l=l.filter(d),r}}}};return i}function G9(t){t===void 0&&(t={});var e=Z9(null);return e.options=Ge({async:!0,ssr:!1},t),e}var Bd=function(t){var e=t.sideCar,r=G2(t,["sideCar"]);if(!e)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=e.read();if(!n)throw new Error("Sidecar medium not found");return T.createElement(n,Ge({},r))};Bd.isSideCarExport=!0;function q9(t,e){return t.useMedium(e),Bd}var Rd=G9(),Eo=function(){},Ni=T.forwardRef(function(t,e){var r=T.useRef(null),n=T.useState({onScrollCapture:Eo,onWheelCapture:Eo,onTouchMoveCapture:Eo}),i=n[0],o=n[1],l=t.forwardProps,a=t.children,s=t.className,c=t.removeScrollBar,d=t.enabled,f=t.shards,p=t.sideCar,g=t.noRelative,y=t.noIsolation,h=t.inert,v=t.allowPinchZoom,m=t.as,C=m===void 0?"div":m,E=t.gapMode,F=G2(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),D=p,x=U9([r,e]),S=Ge(Ge({},F),i);return T.createElement(T.Fragment,null,d&&T.createElement(D,{sideCar:Rd,removeScrollBar:c,shards:f,noRelative:g,noIsolation:y,inert:h,setCallbacks:o,allowPinchZoom:!!v,lockRef:r,gapMode:E}),l?T.cloneElement(T.Children.only(a),Ge(Ge({},S),{ref:x})):T.createElement(C,Ge({},S,{className:s,ref:x}),a))});Ni.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Ni.classNames={fullWidth:Bn,zeroRight:Nn};var Y9=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function X9(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var e=Y9();return e&&t.setAttribute("nonce",e),t}function J9(t,e){t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}function Q9(t){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(t)}var ep=function(){var t=0,e=null;return{add:function(r){t==0&&(e=X9())&&(J9(e,r),Q9(e)),t++},remove:function(){t--,!t&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}},tp=function(){var t=ep();return function(e,r){T.useEffect(function(){return t.add(e),function(){t.remove()}},[e&&r])}},Ld=function(){var t=tp(),e=function(r){var n=r.styles,i=r.dynamic;return t(n,i),null};return e},rp={left:0,top:0,right:0,gap:0},wo=function(t){return parseInt(t||"",10)||0},np=function(t){var e=window.getComputedStyle(document.body),r=e[t==="padding"?"paddingLeft":"marginLeft"],n=e[t==="padding"?"paddingTop":"marginTop"],i=e[t==="padding"?"paddingRight":"marginRight"];return[wo(r),wo(n),wo(i)]},ip=function(t){if(t===void 0&&(t="margin"),typeof window>"u")return rp;var e=np(t),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:e[0],top:e[1],right:e[2],gap:Math.max(0,n-r+e[2]-e[0])}},op=Ld(),gr="data-scroll-locked",lp=function(t,e,r,n){var i=t.left,o=t.top,l=t.right,a=t.gap;return r===void 0&&(r="margin"),`
45
+ .`.concat(j9,` {
46
46
  overflow: hidden `).concat(n,`;
47
47
  padding-right: `).concat(a,"px ").concat(n,`;
48
48
  }
@@ -59,7 +59,7 @@ React keys must be passed directly to JSX without using spread:
59
59
  `),r==="padding"&&"padding-right: ".concat(a,"px ").concat(n,";")].filter(Boolean).join(""),`
60
60
  }
61
61
 
62
- .`).concat(Mn,` {
62
+ .`).concat(Nn,` {
63
63
  right: `).concat(a,"px ").concat(n,`;
64
64
  }
65
65
 
@@ -67,7 +67,7 @@ React keys must be passed directly to JSX without using spread:
67
67
  margin-right: `).concat(a,"px ").concat(n,`;
68
68
  }
69
69
 
70
- .`).concat(Mn," .").concat(Mn,` {
70
+ .`).concat(Nn," .").concat(Nn,` {
71
71
  right: 0 `).concat(n,`;
72
72
  }
73
73
 
@@ -76,24 +76,24 @@ React keys must be passed directly to JSX without using spread:
76
76
  }
77
77
 
78
78
  body[`).concat(gr,`] {
79
- `).concat(Hg,": ").concat(a,`px;
79
+ `).concat(H9,": ").concat(a,`px;
80
80
  }
81
- `)},c0=function(){var t=parseInt(document.body.getAttribute(gr)||"0",10);return isFinite(t)?t:0},a7=function(){T.useEffect(function(){return document.body.setAttribute(gr,(c0()+1).toString()),function(){var t=c0()-1;t<=0?document.body.removeAttribute(gr):document.body.setAttribute(gr,t.toString())}},[])},s7=function(t){var e=t.noRelative,r=t.noImportant,n=t.gapMode,i=n===void 0?"margin":n;a7();var o=T.useMemo(function(){return i7(i)},[i]);return T.createElement(o7,{styles:l7(o,!e,i,r?"":"!important")})},fl=!1;if(typeof window<"u")try{var Sn=Object.defineProperty({},"passive",{get:function(){return fl=!0,!0}});window.addEventListener("test",Sn,Sn),window.removeEventListener("test",Sn,Sn)}catch{fl=!1}var qt=fl?{passive:!1}:!1,c7=function(t){return t.tagName==="TEXTAREA"},Kd=function(t,e){if(!(t instanceof Element))return!1;var r=window.getComputedStyle(t);return r[e]!=="hidden"&&!(r.overflowY===r.overflowX&&!c7(t)&&r[e]==="visible")},u7=function(t){return Kd(t,"overflowY")},d7=function(t){return Kd(t,"overflowX")},u0=function(t,e){var r=e.ownerDocument,n=e;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var i=jd(t,n);if(i){var o=Hd(t,n),l=o[1],a=o[2];if(l>a)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},f7=function(t){var e=t.scrollTop,r=t.scrollHeight,n=t.clientHeight;return[e,r,n]},h7=function(t){var e=t.scrollLeft,r=t.scrollWidth,n=t.clientWidth;return[e,r,n]},jd=function(t,e){return t==="v"?u7(e):d7(e)},Hd=function(t,e){return t==="v"?f7(e):h7(e)},p7=function(t,e){return t==="h"&&e==="rtl"?-1:1},g7=function(t,e,r,n,i){var o=p7(t,window.getComputedStyle(e).direction),l=o*n,a=r.target,s=e.contains(a),c=!1,d=l>0,f=0,p=0;do{if(!a)break;var g=Hd(t,a),y=g[0],h=g[1],v=g[2],b=h-v-o*y;(y||b)&&jd(t,a)&&(f+=b,p+=y);var E=a.parentNode;a=E&&E.nodeType===Node.DOCUMENT_FRAGMENT_NODE?E.host:E}while(!s&&a!==document.body||s&&(e.contains(a)||e===a));return(d&&Math.abs(f)<1||!d&&Math.abs(p)<1)&&(c=!0),c},Fn=function(t){return"changedTouches"in t?[t.changedTouches[0].clientX,t.changedTouches[0].clientY]:[0,0]},d0=function(t){return[t.deltaX,t.deltaY]},f0=function(t){return t&&"current"in t?t.current:t},v7=function(t,e){return t[0]===e[0]&&t[1]===e[1]},b7=function(t){return`
81
+ `)},cs=function(){var t=parseInt(document.body.getAttribute(gr)||"0",10);return isFinite(t)?t:0},ap=function(){T.useEffect(function(){return document.body.setAttribute(gr,(cs()+1).toString()),function(){var t=cs()-1;t<=0?document.body.removeAttribute(gr):document.body.setAttribute(gr,t.toString())}},[])},sp=function(t){var e=t.noRelative,r=t.noImportant,n=t.gapMode,i=n===void 0?"margin":n;ap();var o=T.useMemo(function(){return ip(i)},[i]);return T.createElement(op,{styles:lp(o,!e,i,r?"":"!important")})},fl=!1;if(typeof window<"u")try{var Sn=Object.defineProperty({},"passive",{get:function(){return fl=!0,!0}});window.addEventListener("test",Sn,Sn),window.removeEventListener("test",Sn,Sn)}catch{fl=!1}var qt=fl?{passive:!1}:!1,cp=function(t){return t.tagName==="TEXTAREA"},Kd=function(t,e){if(!(t instanceof Element))return!1;var r=window.getComputedStyle(t);return r[e]!=="hidden"&&!(r.overflowY===r.overflowX&&!cp(t)&&r[e]==="visible")},up=function(t){return Kd(t,"overflowY")},dp=function(t){return Kd(t,"overflowX")},us=function(t,e){var r=e.ownerDocument,n=e;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var i=jd(t,n);if(i){var o=Hd(t,n),l=o[1],a=o[2];if(l>a)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},fp=function(t){var e=t.scrollTop,r=t.scrollHeight,n=t.clientHeight;return[e,r,n]},hp=function(t){var e=t.scrollLeft,r=t.scrollWidth,n=t.clientWidth;return[e,r,n]},jd=function(t,e){return t==="v"?up(e):dp(e)},Hd=function(t,e){return t==="v"?fp(e):hp(e)},pp=function(t,e){return t==="h"&&e==="rtl"?-1:1},gp=function(t,e,r,n,i){var o=pp(t,window.getComputedStyle(e).direction),l=o*n,a=r.target,s=e.contains(a),c=!1,d=l>0,f=0,p=0;do{if(!a)break;var g=Hd(t,a),y=g[0],h=g[1],v=g[2],m=h-v-o*y;(y||m)&&jd(t,a)&&(f+=m,p+=y);var C=a.parentNode;a=C&&C.nodeType===Node.DOCUMENT_FRAGMENT_NODE?C.host:C}while(!s&&a!==document.body||s&&(e.contains(a)||e===a));return(d&&Math.abs(f)<1||!d&&Math.abs(p)<1)&&(c=!0),c},Fn=function(t){return"changedTouches"in t?[t.changedTouches[0].clientX,t.changedTouches[0].clientY]:[0,0]},ds=function(t){return[t.deltaX,t.deltaY]},fs=function(t){return t&&"current"in t?t.current:t},vp=function(t,e){return t[0]===e[0]&&t[1]===e[1]},bp=function(t){return`
82
82
  .block-interactivity-`.concat(t,` {pointer-events: none;}
83
83
  .allow-interactivity-`).concat(t,` {pointer-events: all;}
84
- `)},m7=0,Yt=[];function y7(t){var e=T.useRef([]),r=T.useRef([0,0]),n=T.useRef(),i=T.useState(m7++)[0],o=T.useState(Ld)[0],l=T.useRef(t);T.useEffect(function(){l.current=t},[t]),T.useEffect(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(i));var h=C4([t.lockRef.current],(t.shards||[]).map(f0),!0).filter(Boolean);return h.forEach(function(v){return v.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),h.forEach(function(v){return v.classList.remove("allow-interactivity-".concat(i))})}}},[t.inert,t.lockRef.current,t.shards]);var a=T.useCallback(function(h,v){if("touches"in h&&h.touches.length===2||h.type==="wheel"&&h.ctrlKey)return!l.current.allowPinchZoom;var b=Fn(h),E=r.current,C="deltaX"in h?h.deltaX:E[0]-b[0],D="deltaY"in h?h.deltaY:E[1]-b[1],F,w=h.target,S=Math.abs(C)>Math.abs(D)?"h":"v";if("touches"in h&&S==="h"&&w.type==="range")return!1;var M=u0(S,w);if(!M)return!0;if(M?F=S:(F=S==="v"?"h":"v",M=u0(S,w)),!M)return!1;if(!n.current&&"changedTouches"in h&&(C||D)&&(n.current=F),!F)return!0;var _=n.current||F;return g7(_,v,h,_==="h"?C:D)},[]),s=T.useCallback(function(h){var v=h;if(!(!Yt.length||Yt[Yt.length-1]!==o)){var b="deltaY"in v?d0(v):Fn(v),E=e.current.filter(function(F){return F.name===v.type&&(F.target===v.target||v.target===F.shadowParent)&&v7(F.delta,b)})[0];if(E&&E.should){v.cancelable&&v.preventDefault();return}if(!E){var C=(l.current.shards||[]).map(f0).filter(Boolean).filter(function(F){return F.contains(v.target)}),D=C.length>0?a(v,C[0]):!l.current.noIsolation;D&&v.cancelable&&v.preventDefault()}}},[]),c=T.useCallback(function(h,v,b,E){var C={name:h,delta:v,target:b,should:E,shadowParent:C7(b)};e.current.push(C),setTimeout(function(){e.current=e.current.filter(function(D){return D!==C})},1)},[]),d=T.useCallback(function(h){r.current=Fn(h),n.current=void 0},[]),f=T.useCallback(function(h){c(h.type,d0(h),h.target,a(h,t.lockRef.current))},[]),p=T.useCallback(function(h){c(h.type,Fn(h),h.target,a(h,t.lockRef.current))},[]);T.useEffect(function(){return Yt.push(o),t.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",s,qt),document.addEventListener("touchmove",s,qt),document.addEventListener("touchstart",d,qt),function(){Yt=Yt.filter(function(h){return h!==o}),document.removeEventListener("wheel",s,qt),document.removeEventListener("touchmove",s,qt),document.removeEventListener("touchstart",d,qt)}},[]);var g=t.removeScrollBar,y=t.inert;return T.createElement(T.Fragment,null,y?T.createElement(o,{styles:b7(i)}):null,g?T.createElement(s7,{noRelative:t.noRelative,gapMode:t.gapMode}):null)}function C7(t){for(var e=null;t!==null;)t instanceof ShadowRoot&&(e=t.host,t=t.host),t=t.parentNode;return e}const E7=qg(Rd,y7);var Vd=T.forwardRef(function(t,e){return T.createElement(Mi,Ge({},t,{ref:e,sideCar:E7}))});Vd.classNames=Mi.classNames;var w7=function(t){if(typeof document>"u")return null;var e=Array.isArray(t)?t[0]:t;return e.ownerDocument.body},Xt=new WeakMap,$n=new WeakMap,Pn={},Do=0,zd=function(t){return t&&(t.host||zd(t.parentNode))},D7=function(t,e){return e.map(function(r){if(t.contains(r))return r;var n=zd(r);return n&&t.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",t,". Doing nothing"),null)}).filter(function(r){return!!r})},x7=function(t,e,r,n){var i=D7(e,Array.isArray(t)?t:[t]);Pn[r]||(Pn[r]=new WeakMap);var o=Pn[r],l=[],a=new Set,s=new Set(i),c=function(f){!f||a.has(f)||(a.add(f),c(f.parentNode))};i.forEach(c);var d=function(f){!f||s.has(f)||Array.prototype.forEach.call(f.children,function(p){if(a.has(p))d(p);else try{var g=p.getAttribute(n),y=g!==null&&g!=="false",h=(Xt.get(p)||0)+1,v=(o.get(p)||0)+1;Xt.set(p,h),o.set(p,v),l.push(p),h===1&&y&&$n.set(p,!0),v===1&&p.setAttribute(r,"true"),y||p.setAttribute(n,"true")}catch(b){console.error("aria-hidden: cannot operate on ",p,b)}})};return d(e),a.clear(),Do++,function(){l.forEach(function(f){var p=Xt.get(f)-1,g=o.get(f)-1;Xt.set(f,p),o.set(f,g),p||($n.has(f)||f.removeAttribute(n),$n.delete(f)),g||f.removeAttribute(r)}),Do--,Do||(Xt=new WeakMap,Xt=new WeakMap,$n=new WeakMap,Pn={})}},S7=function(t,e,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(t)?t:[t]),i=w7(t);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live], script"))),x7(n,i,r,"aria-hidden")):function(){return null}},Bi="Dialog",[Ud]=lg(Bi),[F7,ze]=Ud(Bi),Wd=t=>{const{__scopeDialog:e,children:r,open:n,defaultOpen:i,onOpenChange:o,modal:l=!0}=t,a=T.useRef(null),s=T.useRef(null),[c,d]=dg({prop:n,defaultProp:i??!1,onChange:o,caller:Bi});return m.jsx(F7,{scope:e,triggerRef:a,contentRef:s,contentId:tt(),titleId:tt(),descriptionId:tt(),open:c,onOpenChange:d,onOpenToggle:T.useCallback(()=>d(f=>!f),[d]),modal:l,children:r})};Wd.displayName=Bi;var Zd="DialogTrigger",$7=T.forwardRef((t,e)=>{const{__scopeDialog:r,...n}=t,i=ze(Zd,r),o=Ht(e,i.triggerRef);return m.jsx(Ce.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":ha(i.open),...n,ref:o,onClick:ht(t.onClick,i.onOpenToggle)})});$7.displayName=Zd;var da="DialogPortal",[P7,Gd]=Ud(da,{forceMount:void 0}),qd=t=>{const{__scopeDialog:e,forceMount:r,children:n,container:i}=t,o=ze(da,e);return m.jsx(P7,{scope:e,forceMount:r,children:T.Children.map(n,l=>m.jsx(Ni,{present:r||o.open,children:m.jsx(Md,{asChild:!0,container:i,children:l})}))})};qd.displayName=da;var ai="DialogOverlay",Yd=T.forwardRef((t,e)=>{const r=Gd(ai,t.__scopeDialog),{forceMount:n=r.forceMount,...i}=t,o=ze(ai,t.__scopeDialog);return o.modal?m.jsx(Ni,{present:n||o.open,children:m.jsx(A7,{...i,ref:e})}):null});Yd.displayName=ai;var T7=Ad("DialogOverlay.RemoveScroll"),A7=T.forwardRef((t,e)=>{const{__scopeDialog:r,...n}=t,i=ze(ai,r);return m.jsx(Vd,{as:T7,allowPinchZoom:!0,shards:[i.contentRef],children:m.jsx(Ce.div,{"data-state":ha(i.open),...n,ref:e,style:{pointerEvents:"auto",...n.style}})})}),Ot="DialogContent",Xd=T.forwardRef((t,e)=>{const r=Gd(Ot,t.__scopeDialog),{forceMount:n=r.forceMount,...i}=t,o=ze(Ot,t.__scopeDialog);return m.jsx(Ni,{present:n||o.open,children:o.modal?m.jsx(_7,{...i,ref:e}):m.jsx(k7,{...i,ref:e})})});Xd.displayName=Ot;var _7=T.forwardRef((t,e)=>{const r=ze(Ot,t.__scopeDialog),n=T.useRef(null),i=Ht(e,r.contentRef,n);return T.useEffect(()=>{const o=n.current;if(o)return S7(o)},[]),m.jsx(Jd,{...t,ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ht(t.onCloseAutoFocus,o=>{var l;o.preventDefault(),(l=r.triggerRef.current)==null||l.focus()}),onPointerDownOutside:ht(t.onPointerDownOutside,o=>{const l=o.detail.originalEvent,a=l.button===0&&l.ctrlKey===!0;(l.button===2||a)&&o.preventDefault()}),onFocusOutside:ht(t.onFocusOutside,o=>o.preventDefault())})}),k7=T.forwardRef((t,e)=>{const r=ze(Ot,t.__scopeDialog),n=T.useRef(!1),i=T.useRef(!1);return m.jsx(Jd,{...t,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var l,a;(l=t.onCloseAutoFocus)==null||l.call(t,o),o.defaultPrevented||(n.current||(a=r.triggerRef.current)==null||a.focus(),o.preventDefault()),n.current=!1,i.current=!1},onInteractOutside:o=>{var s,c;(s=t.onInteractOutside)==null||s.call(t,o),o.defaultPrevented||(n.current=!0,o.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const l=o.target;((c=r.triggerRef.current)==null?void 0:c.contains(l))&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&i.current&&o.preventDefault()}})}),Jd=T.forwardRef((t,e)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:i,onCloseAutoFocus:o,...l}=t,a=ze(Ot,r),s=T.useRef(null),c=Ht(e,s);return Kg(),m.jsxs(m.Fragment,{children:[m.jsx(Od,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:i,onUnmountAutoFocus:o,children:m.jsx(kd,{role:"dialog",id:a.contentId,"aria-describedby":a.descriptionId,"aria-labelledby":a.titleId,"data-state":ha(a.open),...l,ref:c,onDismiss:()=>a.onOpenChange(!1)})}),m.jsxs(m.Fragment,{children:[m.jsx(M7,{titleId:a.titleId}),m.jsx(R7,{contentRef:s,descriptionId:a.descriptionId})]})]})}),fa="DialogTitle",I7=T.forwardRef((t,e)=>{const{__scopeDialog:r,...n}=t,i=ze(fa,r);return m.jsx(Ce.h2,{id:i.titleId,...n,ref:e})});I7.displayName=fa;var Qd="DialogDescription",O7=T.forwardRef((t,e)=>{const{__scopeDialog:r,...n}=t,i=ze(Qd,r);return m.jsx(Ce.p,{id:i.descriptionId,...n,ref:e})});O7.displayName=Qd;var ef="DialogClose",N7=T.forwardRef((t,e)=>{const{__scopeDialog:r,...n}=t,i=ze(ef,r);return m.jsx(Ce.button,{type:"button",...n,ref:e,onClick:ht(t.onClick,()=>i.onOpenChange(!1))})});N7.displayName=ef;function ha(t){return t?"open":"closed"}var tf="DialogTitleWarning",[jm,rf]=og(tf,{contentName:Ot,titleName:fa,docsSlug:"dialog"}),M7=({titleId:t})=>{const e=rf(tf),r=`\`${e.contentName}\` requires a \`${e.titleName}\` for the component to be accessible for screen reader users.
84
+ `)},mp=0,Yt=[];function yp(t){var e=T.useRef([]),r=T.useRef([0,0]),n=T.useRef(),i=T.useState(mp++)[0],o=T.useState(Ld)[0],l=T.useRef(t);T.useEffect(function(){l.current=t},[t]),T.useEffect(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(i));var h=C4([t.lockRef.current],(t.shards||[]).map(fs),!0).filter(Boolean);return h.forEach(function(v){return v.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),h.forEach(function(v){return v.classList.remove("allow-interactivity-".concat(i))})}}},[t.inert,t.lockRef.current,t.shards]);var a=T.useCallback(function(h,v){if("touches"in h&&h.touches.length===2||h.type==="wheel"&&h.ctrlKey)return!l.current.allowPinchZoom;var m=Fn(h),C=r.current,E="deltaX"in h?h.deltaX:C[0]-m[0],F="deltaY"in h?h.deltaY:C[1]-m[1],D,x=h.target,S=Math.abs(E)>Math.abs(F)?"h":"v";if("touches"in h&&S==="h"&&x.type==="range")return!1;var O=us(S,x);if(!O)return!0;if(O?D=S:(D=S==="v"?"h":"v",O=us(S,x)),!O)return!1;if(!n.current&&"changedTouches"in h&&(E||F)&&(n.current=D),!D)return!0;var K=n.current||D;return gp(K,v,h,K==="h"?E:F)},[]),s=T.useCallback(function(h){var v=h;if(!(!Yt.length||Yt[Yt.length-1]!==o)){var m="deltaY"in v?ds(v):Fn(v),C=e.current.filter(function(D){return D.name===v.type&&(D.target===v.target||v.target===D.shadowParent)&&vp(D.delta,m)})[0];if(C&&C.should){v.cancelable&&v.preventDefault();return}if(!C){var E=(l.current.shards||[]).map(fs).filter(Boolean).filter(function(D){return D.contains(v.target)}),F=E.length>0?a(v,E[0]):!l.current.noIsolation;F&&v.cancelable&&v.preventDefault()}}},[]),c=T.useCallback(function(h,v,m,C){var E={name:h,delta:v,target:m,should:C,shadowParent:Cp(m)};e.current.push(E),setTimeout(function(){e.current=e.current.filter(function(F){return F!==E})},1)},[]),d=T.useCallback(function(h){r.current=Fn(h),n.current=void 0},[]),f=T.useCallback(function(h){c(h.type,ds(h),h.target,a(h,t.lockRef.current))},[]),p=T.useCallback(function(h){c(h.type,Fn(h),h.target,a(h,t.lockRef.current))},[]);T.useEffect(function(){return Yt.push(o),t.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",s,qt),document.addEventListener("touchmove",s,qt),document.addEventListener("touchstart",d,qt),function(){Yt=Yt.filter(function(h){return h!==o}),document.removeEventListener("wheel",s,qt),document.removeEventListener("touchmove",s,qt),document.removeEventListener("touchstart",d,qt)}},[]);var g=t.removeScrollBar,y=t.inert;return T.createElement(T.Fragment,null,y?T.createElement(o,{styles:bp(i)}):null,g?T.createElement(sp,{noRelative:t.noRelative,gapMode:t.gapMode}):null)}function Cp(t){for(var e=null;t!==null;)t instanceof ShadowRoot&&(e=t.host,t=t.host),t=t.parentNode;return e}const Ep=q9(Rd,yp);var Vd=T.forwardRef(function(t,e){return T.createElement(Ni,Ge({},t,{ref:e,sideCar:Ep}))});Vd.classNames=Ni.classNames;var wp=function(t){if(typeof document>"u")return null;var e=Array.isArray(t)?t[0]:t;return e.ownerDocument.body},Xt=new WeakMap,$n=new WeakMap,Pn={},Do=0,zd=function(t){return t&&(t.host||zd(t.parentNode))},Dp=function(t,e){return e.map(function(r){if(t.contains(r))return r;var n=zd(r);return n&&t.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",t,". Doing nothing"),null)}).filter(function(r){return!!r})},xp=function(t,e,r,n){var i=Dp(e,Array.isArray(t)?t:[t]);Pn[r]||(Pn[r]=new WeakMap);var o=Pn[r],l=[],a=new Set,s=new Set(i),c=function(f){!f||a.has(f)||(a.add(f),c(f.parentNode))};i.forEach(c);var d=function(f){!f||s.has(f)||Array.prototype.forEach.call(f.children,function(p){if(a.has(p))d(p);else try{var g=p.getAttribute(n),y=g!==null&&g!=="false",h=(Xt.get(p)||0)+1,v=(o.get(p)||0)+1;Xt.set(p,h),o.set(p,v),l.push(p),h===1&&y&&$n.set(p,!0),v===1&&p.setAttribute(r,"true"),y||p.setAttribute(n,"true")}catch(m){console.error("aria-hidden: cannot operate on ",p,m)}})};return d(e),a.clear(),Do++,function(){l.forEach(function(f){var p=Xt.get(f)-1,g=o.get(f)-1;Xt.set(f,p),o.set(f,g),p||($n.has(f)||f.removeAttribute(n),$n.delete(f)),g||f.removeAttribute(r)}),Do--,Do||(Xt=new WeakMap,Xt=new WeakMap,$n=new WeakMap,Pn={})}},Sp=function(t,e,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(t)?t:[t]),i=wp(t);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live], script"))),xp(n,i,r,"aria-hidden")):function(){return null}},Bi="Dialog",[Ud]=l9(Bi),[Fp,ze]=Ud(Bi),Wd=t=>{const{__scopeDialog:e,children:r,open:n,defaultOpen:i,onOpenChange:o,modal:l=!0}=t,a=T.useRef(null),s=T.useRef(null),[c,d]=d9({prop:n,defaultProp:i??!1,onChange:o,caller:Bi});return b.jsx(Fp,{scope:e,triggerRef:a,contentRef:s,contentId:tt(),titleId:tt(),descriptionId:tt(),open:c,onOpenChange:d,onOpenToggle:T.useCallback(()=>d(f=>!f),[d]),modal:l,children:r})};Wd.displayName=Bi;var Zd="DialogTrigger",$p=T.forwardRef((t,e)=>{const{__scopeDialog:r,...n}=t,i=ze(Zd,r),o=Ht(e,i.triggerRef);return b.jsx(Ce.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":ha(i.open),...n,ref:o,onClick:ht(t.onClick,i.onOpenToggle)})});$p.displayName=Zd;var da="DialogPortal",[Pp,Gd]=Ud(da,{forceMount:void 0}),qd=t=>{const{__scopeDialog:e,forceMount:r,children:n,container:i}=t,o=ze(da,e);return b.jsx(Pp,{scope:e,forceMount:r,children:T.Children.map(n,l=>b.jsx(Mi,{present:r||o.open,children:b.jsx(Nd,{asChild:!0,container:i,children:l})}))})};qd.displayName=da;var ai="DialogOverlay",Yd=T.forwardRef((t,e)=>{const r=Gd(ai,t.__scopeDialog),{forceMount:n=r.forceMount,...i}=t,o=ze(ai,t.__scopeDialog);return o.modal?b.jsx(Mi,{present:n||o.open,children:b.jsx(Tp,{...i,ref:e})}):null});Yd.displayName=ai;var Ap=Td("DialogOverlay.RemoveScroll"),Tp=T.forwardRef((t,e)=>{const{__scopeDialog:r,...n}=t,i=ze(ai,r);return b.jsx(Vd,{as:Ap,allowPinchZoom:!0,shards:[i.contentRef],children:b.jsx(Ce.div,{"data-state":ha(i.open),...n,ref:e,style:{pointerEvents:"auto",...n.style}})})}),Ot="DialogContent",Xd=T.forwardRef((t,e)=>{const r=Gd(Ot,t.__scopeDialog),{forceMount:n=r.forceMount,...i}=t,o=ze(Ot,t.__scopeDialog);return b.jsx(Mi,{present:n||o.open,children:o.modal?b.jsx(_p,{...i,ref:e}):b.jsx(kp,{...i,ref:e})})});Xd.displayName=Ot;var _p=T.forwardRef((t,e)=>{const r=ze(Ot,t.__scopeDialog),n=T.useRef(null),i=Ht(e,r.contentRef,n);return T.useEffect(()=>{const o=n.current;if(o)return Sp(o)},[]),b.jsx(Jd,{...t,ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ht(t.onCloseAutoFocus,o=>{var l;o.preventDefault(),(l=r.triggerRef.current)==null||l.focus()}),onPointerDownOutside:ht(t.onPointerDownOutside,o=>{const l=o.detail.originalEvent,a=l.button===0&&l.ctrlKey===!0;(l.button===2||a)&&o.preventDefault()}),onFocusOutside:ht(t.onFocusOutside,o=>o.preventDefault())})}),kp=T.forwardRef((t,e)=>{const r=ze(Ot,t.__scopeDialog),n=T.useRef(!1),i=T.useRef(!1);return b.jsx(Jd,{...t,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var l,a;(l=t.onCloseAutoFocus)==null||l.call(t,o),o.defaultPrevented||(n.current||(a=r.triggerRef.current)==null||a.focus(),o.preventDefault()),n.current=!1,i.current=!1},onInteractOutside:o=>{var s,c;(s=t.onInteractOutside)==null||s.call(t,o),o.defaultPrevented||(n.current=!0,o.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const l=o.target;((c=r.triggerRef.current)==null?void 0:c.contains(l))&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&i.current&&o.preventDefault()}})}),Jd=T.forwardRef((t,e)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:i,onCloseAutoFocus:o,...l}=t,a=ze(Ot,r),s=T.useRef(null),c=Ht(e,s);return K9(),b.jsxs(b.Fragment,{children:[b.jsx(Od,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:i,onUnmountAutoFocus:o,children:b.jsx(kd,{role:"dialog",id:a.contentId,"aria-describedby":a.descriptionId,"aria-labelledby":a.titleId,"data-state":ha(a.open),...l,ref:c,onDismiss:()=>a.onOpenChange(!1)})}),b.jsxs(b.Fragment,{children:[b.jsx(Np,{titleId:a.titleId}),b.jsx(Rp,{contentRef:s,descriptionId:a.descriptionId})]})]})}),fa="DialogTitle",Ip=T.forwardRef((t,e)=>{const{__scopeDialog:r,...n}=t,i=ze(fa,r);return b.jsx(Ce.h2,{id:i.titleId,...n,ref:e})});Ip.displayName=fa;var Qd="DialogDescription",Op=T.forwardRef((t,e)=>{const{__scopeDialog:r,...n}=t,i=ze(Qd,r);return b.jsx(Ce.p,{id:i.descriptionId,...n,ref:e})});Op.displayName=Qd;var e1="DialogClose",Mp=T.forwardRef((t,e)=>{const{__scopeDialog:r,...n}=t,i=ze(e1,r);return b.jsx(Ce.button,{type:"button",...n,ref:e,onClick:ht(t.onClick,()=>i.onOpenChange(!1))})});Mp.displayName=e1;function ha(t){return t?"open":"closed"}var t1="DialogTitleWarning",[Um,r1]=o9(t1,{contentName:Ot,titleName:fa,docsSlug:"dialog"}),Np=({titleId:t})=>{const e=r1(t1),r=`\`${e.contentName}\` requires a \`${e.titleName}\` for the component to be accessible for screen reader users.
85
85
 
86
86
  If you want to hide the \`${e.titleName}\`, you can wrap it with our VisuallyHidden component.
87
87
 
88
- For more information, see https://radix-ui.com/primitives/docs/components/${e.docsSlug}`;return T.useEffect(()=>{t&&(document.getElementById(t)||console.error(r))},[r,t]),null},B7="DialogDescriptionWarning",R7=({contentRef:t,descriptionId:e})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${rf(B7).contentName}}.`;return T.useEffect(()=>{var o;const i=(o=t.current)==null?void 0:o.getAttribute("aria-describedby");e&&i&&(document.getElementById(e)||console.warn(n))},[n,t,e]),null},L7=Wd,K7=qd,j7=Yd,H7=Xd,Mr='[cmdk-group=""]',xo='[cmdk-group-items=""]',V7='[cmdk-group-heading=""]',pa='[cmdk-item=""]',h0=`${pa}:not([aria-disabled="true"])`,hl="cmdk-item-select",Et="data-value",z7=(t,e,r)=>ig(t,e,r),nf=T.createContext(void 0),dn=()=>T.useContext(nf),of=T.createContext(void 0),ga=()=>T.useContext(of),lf=T.createContext(void 0),af=T.forwardRef((t,e)=>{let r=lr(()=>{var $,P;return{search:"",value:(P=($=t.value)!=null?$:t.defaultValue)!=null?P:"",filtered:{count:0,items:new Map,groups:new Set}}}),n=lr(()=>new Set),i=lr(()=>new Map),o=lr(()=>new Map),l=lr(()=>new Set),a=sf(t),{label:s,children:c,value:d,onValueChange:f,filter:p,shouldFilter:g,loop:y,disablePointerSelection:h=!1,vimBindings:v=!0,...b}=t,E=tt(),C=tt(),D=tt(),F=T.useRef(null),w=t9();Nt(()=>{if(d!==void 0){let $=d.trim();r.current.value=$,S.emit()}},[d]),Nt(()=>{w(6,U)},[]);let S=T.useMemo(()=>({subscribe:$=>(l.current.add($),()=>l.current.delete($)),snapshot:()=>r.current,setState:($,P,B)=>{var K,j,H;if(!Object.is(r.current[$],P)){if(r.current[$]=P,$==="search")N(),V(),w(1,x);else if($==="value"&&(B||w(5,U),((K=a.current)==null?void 0:K.value)!==void 0)){let W=P??"";(H=(j=a.current).onValueChange)==null||H.call(j,W);return}S.emit()}},emit:()=>{l.current.forEach($=>$())}}),[]),M=T.useMemo(()=>({value:($,P,B)=>{var K;P!==((K=o.current.get($))==null?void 0:K.value)&&(o.current.set($,{value:P,keywords:B}),r.current.filtered.items.set($,_(P,B)),w(2,()=>{V(),S.emit()}))},item:($,P)=>(n.current.add($),P&&(i.current.has(P)?i.current.get(P).add($):i.current.set(P,new Set([$]))),w(3,()=>{N(),V(),r.current.value||x(),S.emit()}),()=>{o.current.delete($),n.current.delete($),r.current.filtered.items.delete($);let B=k();w(4,()=>{N(),(B==null?void 0:B.getAttribute("id"))===$&&x(),S.emit()})}),group:$=>(i.current.has($)||i.current.set($,new Set),()=>{o.current.delete($),i.current.delete($)}),filter:()=>a.current.shouldFilter,label:s||t["aria-label"],getDisablePointerSelection:()=>a.current.disablePointerSelection,listId:E,inputId:D,labelId:C,listInnerRef:F}),[]);function _($,P){var B,K;let j=(K=(B=a.current)==null?void 0:B.filter)!=null?K:z7;return $?j($,r.current.search,P):0}function V(){if(!r.current.search||a.current.shouldFilter===!1)return;let $=r.current.filtered.items,P=[];r.current.filtered.groups.forEach(K=>{let j=i.current.get(K),H=0;j.forEach(W=>{let q=$.get(W);H=Math.max(q,H)}),P.push([K,H])});let B=F.current;Z().sort((K,j)=>{var H,W;let q=K.getAttribute("id"),Y=j.getAttribute("id");return((H=$.get(Y))!=null?H:0)-((W=$.get(q))!=null?W:0)}).forEach(K=>{let j=K.closest(xo);j?j.appendChild(K.parentElement===j?K:K.closest(`${xo} > *`)):B.appendChild(K.parentElement===B?K:K.closest(`${xo} > *`))}),P.sort((K,j)=>j[1]-K[1]).forEach(K=>{var j;let H=(j=F.current)==null?void 0:j.querySelector(`${Mr}[${Et}="${encodeURIComponent(K[0])}"]`);H==null||H.parentElement.appendChild(H)})}function x(){let $=Z().find(B=>B.getAttribute("aria-disabled")!=="true"),P=$==null?void 0:$.getAttribute(Et);S.setState("value",P||void 0)}function N(){var $,P,B,K;if(!r.current.search||a.current.shouldFilter===!1){r.current.filtered.count=n.current.size;return}r.current.filtered.groups=new Set;let j=0;for(let H of n.current){let W=(P=($=o.current.get(H))==null?void 0:$.value)!=null?P:"",q=(K=(B=o.current.get(H))==null?void 0:B.keywords)!=null?K:[],Y=_(W,q);r.current.filtered.items.set(H,Y),Y>0&&j++}for(let[H,W]of i.current)for(let q of W)if(r.current.filtered.items.get(q)>0){r.current.filtered.groups.add(H);break}r.current.filtered.count=j}function U(){var $,P,B;let K=k();K&&((($=K.parentElement)==null?void 0:$.firstChild)===K&&((B=(P=K.closest(Mr))==null?void 0:P.querySelector(V7))==null||B.scrollIntoView({block:"nearest"})),K.scrollIntoView({block:"nearest"}))}function k(){var $;return($=F.current)==null?void 0:$.querySelector(`${pa}[aria-selected="true"]`)}function Z(){var $;return Array.from((($=F.current)==null?void 0:$.querySelectorAll(h0))||[])}function A($){let P=Z()[$];P&&S.setState("value",P.getAttribute(Et))}function O($){var P;let B=k(),K=Z(),j=K.findIndex(W=>W===B),H=K[j+$];(P=a.current)!=null&&P.loop&&(H=j+$<0?K[K.length-1]:j+$===K.length?K[0]:K[j+$]),H&&S.setState("value",H.getAttribute(Et))}function z($){let P=k(),B=P==null?void 0:P.closest(Mr),K;for(;B&&!K;)B=$>0?Q7(B,Mr):e9(B,Mr),K=B==null?void 0:B.querySelector(h0);K?S.setState("value",K.getAttribute(Et)):O($)}let R=()=>A(Z().length-1),I=$=>{$.preventDefault(),$.metaKey?R():$.altKey?z(1):O(1)},L=$=>{$.preventDefault(),$.metaKey?A(0):$.altKey?z(-1):O(-1)};return T.createElement(Ce.div,{ref:e,tabIndex:-1,...b,"cmdk-root":"",onKeyDown:$=>{var P;if((P=b.onKeyDown)==null||P.call(b,$),!$.defaultPrevented)switch($.key){case"n":case"j":{v&&$.ctrlKey&&I($);break}case"ArrowDown":{I($);break}case"p":case"k":{v&&$.ctrlKey&&L($);break}case"ArrowUp":{L($);break}case"Home":{$.preventDefault(),A(0);break}case"End":{$.preventDefault(),R();break}case"Enter":if(!$.nativeEvent.isComposing&&$.keyCode!==229){$.preventDefault();let B=k();if(B){let K=new Event(hl);B.dispatchEvent(K)}}}}},T.createElement("label",{"cmdk-label":"",htmlFor:M.inputId,id:M.labelId,style:n9},s),Ri(t,$=>T.createElement(of.Provider,{value:S},T.createElement(nf.Provider,{value:M},$))))}),U7=T.forwardRef((t,e)=>{var r,n;let i=tt(),o=T.useRef(null),l=T.useContext(lf),a=dn(),s=sf(t),c=(n=(r=s.current)==null?void 0:r.forceMount)!=null?n:l==null?void 0:l.forceMount;Nt(()=>{if(!c)return a.item(i,l==null?void 0:l.id)},[c]);let d=cf(i,o,[t.value,t.children,o],t.keywords),f=ga(),p=Mt(w=>w.value&&w.value===d.current),g=Mt(w=>c||a.filter()===!1?!0:w.search?w.filtered.items.get(i)>0:!0);T.useEffect(()=>{let w=o.current;if(!(!w||t.disabled))return w.addEventListener(hl,y),()=>w.removeEventListener(hl,y)},[g,t.onSelect,t.disabled]);function y(){var w,S;h(),(S=(w=s.current).onSelect)==null||S.call(w,d.current)}function h(){f.setState("value",d.current,!0)}if(!g)return null;let{disabled:v,value:b,onSelect:E,forceMount:C,keywords:D,...F}=t;return T.createElement(Ce.div,{ref:on([o,e]),...F,id:i,"cmdk-item":"",role:"option","aria-disabled":!!v,"aria-selected":!!p,"data-disabled":!!v,"data-selected":!!p,onPointerMove:v||a.getDisablePointerSelection()?void 0:h,onClick:v?void 0:y},t.children)}),W7=T.forwardRef((t,e)=>{let{heading:r,children:n,forceMount:i,...o}=t,l=tt(),a=T.useRef(null),s=T.useRef(null),c=tt(),d=dn(),f=Mt(g=>i||d.filter()===!1?!0:g.search?g.filtered.groups.has(l):!0);Nt(()=>d.group(l),[]),cf(l,a,[t.value,t.heading,s]);let p=T.useMemo(()=>({id:l,forceMount:i}),[i]);return T.createElement(Ce.div,{ref:on([a,e]),...o,"cmdk-group":"",role:"presentation",hidden:f?void 0:!0},r&&T.createElement("div",{ref:s,"cmdk-group-heading":"","aria-hidden":!0,id:c},r),Ri(t,g=>T.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":r?c:void 0},T.createElement(lf.Provider,{value:p},g))))}),Z7=T.forwardRef((t,e)=>{let{alwaysRender:r,...n}=t,i=T.useRef(null),o=Mt(l=>!l.search);return!r&&!o?null:T.createElement(Ce.div,{ref:on([i,e]),...n,"cmdk-separator":"",role:"separator"})}),G7=T.forwardRef((t,e)=>{let{onValueChange:r,...n}=t,i=t.value!=null,o=ga(),l=Mt(d=>d.search),a=Mt(d=>d.value),s=dn(),c=T.useMemo(()=>{var d;let f=(d=s.listInnerRef.current)==null?void 0:d.querySelector(`${pa}[${Et}="${encodeURIComponent(a)}"]`);return f==null?void 0:f.getAttribute("id")},[]);return T.useEffect(()=>{t.value!=null&&o.setState("search",t.value)},[t.value]),T.createElement(Ce.input,{ref:e,...n,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":s.listId,"aria-labelledby":s.labelId,"aria-activedescendant":c,id:s.inputId,type:"text",value:i?t.value:l,onChange:d=>{i||o.setState("search",d.target.value),r==null||r(d.target.value)}})}),q7=T.forwardRef((t,e)=>{let{children:r,label:n="Suggestions",...i}=t,o=T.useRef(null),l=T.useRef(null),a=dn();return T.useEffect(()=>{if(l.current&&o.current){let s=l.current,c=o.current,d,f=new ResizeObserver(()=>{d=requestAnimationFrame(()=>{let p=s.offsetHeight;c.style.setProperty("--cmdk-list-height",p.toFixed(1)+"px")})});return f.observe(s),()=>{cancelAnimationFrame(d),f.unobserve(s)}}},[]),T.createElement(Ce.div,{ref:on([o,e]),...i,"cmdk-list":"",role:"listbox","aria-label":n,id:a.listId},Ri(t,s=>T.createElement("div",{ref:on([l,a.listInnerRef]),"cmdk-list-sizer":""},s)))}),Y7=T.forwardRef((t,e)=>{let{open:r,onOpenChange:n,overlayClassName:i,contentClassName:o,container:l,...a}=t;return T.createElement(L7,{open:r,onOpenChange:n},T.createElement(K7,{container:l},T.createElement(j7,{"cmdk-overlay":"",className:i}),T.createElement(H7,{"aria-label":t.label,"cmdk-dialog":"",className:o},T.createElement(af,{ref:e,...a}))))}),X7=T.forwardRef((t,e)=>Mt(r=>r.filtered.count===0)?T.createElement(Ce.div,{ref:e,...t,"cmdk-empty":"",role:"presentation"}):null),J7=T.forwardRef((t,e)=>{let{progress:r,children:n,label:i="Loading...",...o}=t;return T.createElement(Ce.div,{ref:e,...o,"cmdk-loading":"",role:"progressbar","aria-valuenow":r,"aria-valuemin":0,"aria-valuemax":100,"aria-label":i},Ri(t,l=>T.createElement("div",{"aria-hidden":!0},l)))}),nn=Object.assign(af,{List:q7,Item:U7,Input:G7,Group:W7,Separator:Z7,Dialog:Y7,Empty:X7,Loading:J7});function Q7(t,e){let r=t.nextElementSibling;for(;r;){if(r.matches(e))return r;r=r.nextElementSibling}}function e9(t,e){let r=t.previousElementSibling;for(;r;){if(r.matches(e))return r;r=r.previousElementSibling}}function sf(t){let e=T.useRef(t);return Nt(()=>{e.current=t}),e}var Nt=typeof window>"u"?T.useEffect:T.useLayoutEffect;function lr(t){let e=T.useRef();return e.current===void 0&&(e.current=t()),e}function on(t){return e=>{t.forEach(r=>{typeof r=="function"?r(e):r!=null&&(r.current=e)})}}function Mt(t){let e=ga(),r=()=>t(e.snapshot());return Hl.useSyncExternalStore(e.subscribe,r,r)}function cf(t,e,r,n=[]){let i=T.useRef(),o=dn();return Nt(()=>{var l;let a=(()=>{var c;for(let d of r){if(typeof d=="string")return d.trim();if(typeof d=="object"&&"current"in d)return d.current?(c=d.current.textContent)==null?void 0:c.trim():i.current}})(),s=n.map(c=>c.trim());o.value(t,a,s),(l=e.current)==null||l.setAttribute(Et,a),i.current=a}),i}var t9=()=>{let[t,e]=T.useState(),r=lr(()=>new Map);return Nt(()=>{r.current.forEach(n=>n()),r.current=new Map},[t]),(n,i)=>{r.current.set(n,i),e({})}};function r9(t){let e=t.type;return typeof e=="function"?e(t.props):"render"in e?e.render(t.props):t}function Ri({asChild:t,children:e},r){return t&&T.isValidElement(e)?T.cloneElement(r9(e),{ref:e.ref},r(e.props.children)):r(e)}var n9={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};const uf=({withPadding:t=!0,direction:e,width:r="thin",size:n})=>m.jsx("div",{style:{"--size":n},className:ye("c__separator",`c__separator--${e}`,`c__separator--${r}`,{"with-padding":t})}),ln=t=>m.jsx(uf,{direction:"horizontal",...t}),df=({loading:t,inputValue:e,onFilter:r,placeholder:n,children:i,withSeparator:o=!0})=>{const{t:l}=X.useCunningham();return i?m.jsxs(m.Fragment,{children:[i,o&&m.jsx(ln,{})]}):m.jsxs(m.Fragment,{children:[m.jsxs("div",{className:"quick-search-input-container",children:[!t&&m.jsx("span",{className:"material-icons",children:"search"}),t&&m.jsx("div",{children:m.jsx(li,{size:"md"})}),m.jsx(nn.Input,{autoFocus:!0,"aria-label":l("Quick search input"),onClick:a=>{a.stopPropagation()},role:"combobox",value:e,placeholder:n,onValueChange:r})]}),o&&m.jsx(ln,{withPadding:!0})]})},i9=t=>{let e=!1;return u.Children.forEach(t,r=>{e=e||!!r}),e},ff=({onFilter:t,inputContent:e,inputValue:r,loading:n,showInput:i=!0,label:o,placeholder:l,children:a})=>{const s=u.useRef(null);return m.jsx(m.Fragment,{children:m.jsx("div",{className:"quick-search-container",children:m.jsxs(nn,{label:o,shouldFilter:!1,ref:s,children:[i&&m.jsx(df,{loading:n,withSeparator:i9(a),inputValue:r,onFilter:t,placeholder:l,children:e}),m.jsx(nn.List,{children:m.jsx("div",{children:a})})]})})})},Rn=({children:t,onSelect:e,id:r})=>m.jsx(nn.Item,{value:r,onSelect:e,children:t}),hf=({group:t,onSelect:e,renderElement:r})=>{var n,i;return!t.showWhenEmpty&&t.elements.length===0?null:m.jsx("div",{children:m.jsxs(nn.Group,{heading:t.groupName,forceMount:!1,children:[(n=t.startActions)==null?void 0:n.map((o,l)=>m.jsx(Rn,{onSelect:o.onSelect,children:o.content},`${t.groupName}-action-${l}`)),t.elements.map((o,l)=>m.jsx(Rn,{id:`${t.groupName}-element-${l}`,onSelect:()=>{e==null||e(o)},children:r==null?void 0:r(o)},`${t.groupName}-element-${l}`)),(i=t.endActions)==null?void 0:i.map((o,l)=>m.jsx(Rn,{onSelect:o.onSelect,children:o.content},`${t.groupName}-action-${l}`)),t.emptyString&&t.elements.length===0&&m.jsx("span",{className:"quick-search-group__empty-string",children:t.emptyString})]},t.groupName)})},Li=({alwaysShowRight:t=!1,left:e,right:r})=>{const{isDesktop:n}=mt();return m.jsxs("div",{className:"c__quick-search-item-template",children:[m.jsx("div",{className:"c__quick-search-item-template__left",children:e}),n&&r&&m.jsx("div",{className:ye("c__quick-search-item-template__right",{"always-show-right":t,"show-right-on-focus":!t}),children:r})]})},o9=t=>m.jsx(uf,{direction:"vertical",...t}),l9=({tabs:t,defaultSelectedTab:e,fullWidth:r=!1})=>t.length===0?null:m.jsx("div",{className:ye("c__tabs",{"c__tabs__full-width":r}),children:m.jsxs(Op,{defaultSelectedKey:e,children:[m.jsx(Mp,{"aria-label":"History of Ancient Rome",children:t.map(n=>m.jsxs(Rp,{id:n.id,children:[n.icon&&m.jsx("span",{className:"material-icons",children:n.icon}),n.label]},n.id))}),t.map(n=>m.jsx(Lp,{id:n.id,children:n.content},n.id))]})}),pf=u.createContext(null);function ke(){const t=u.useContext(pf);if(t===null)throw new Error("No Tree Api Provided");return t}const gf=u.createContext(null);function a9(){const t=u.useContext(gf);if(t===null)throw new Error("Provide a NodesContext");return t}const vf=u.createContext(null);function s9(){const t=u.useContext(vf);if(t===null)throw new Error("Provide a DnDContext");return t}const bf=u.createContext(0);function mf(){u.useContext(bf)}function Ln(t,e,r){return Math.max(Math.min(t,r),e)}function yf(t){return t&&t.isLeaf}function Cf(t){return t&&t.isInternal&&!t.isOpen}function Ef(t){var e;return t&&t.isOpen&&!(!((e=t.children)===null||e===void 0)&&e.length)}const wf=(t,e)=>{let r=t;for(;r;){if(r.id===e.id)return!0;r=r.parent}return!1},Df=t=>{if(!t.parent)throw Error("Node does not have a parent");return t.parent.children.findIndex(e=>e.id===t.id)};function c9(){}function va(t,e){if(!t)return null;if(t.id===e)return t;if(t.children)for(let r of t.children){const n=va(r,e);if(n)return n}return null}function si(t,e){if(e(t),t.children)for(let r of t.children)si(r,e)}function xf(t){const e=Ff(t);let r;for(let n=0;n<e.length;++n)if(e[n]===t){r=u9(e,n);break}r==null||r.focus()}function Sf(t){const e=Ff(t);let r;for(let n=0;n<e.length;++n)if(e[n]===t){r=d9(e,n);break}r==null||r.focus()}function u9(t,e){return e+1<t.length?t[e+1]:t[0]}function d9(t,e){return e-1>=0?t[e-1]:t[t.length-1]}function Ff(t){return Array.from(document.querySelectorAll('button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"]):not([disabled]), details:not([disabled]), summary:not(:disabled)')).filter(e=>e===t||!t.contains(e))}function zr(t,e){return typeof e=="boolean"?e:typeof e=="string"?t[e]:e(t)}function $f(t){return t===null?null:wt(t)}function wt(t){return typeof t=="string"?t:t.id}function f9(...t){return e=>{t.forEach(r=>{typeof r=="function"?r(e):r!=null&&(r.current=e)})}}function Pf(t,...e){if(t)return t(...e)}function Tf(t){return new Promise((e,r)=>{let n=0;function i(){n+=1,n===100&&r(),t()?e():setTimeout(i,10)}i()})}function Af(t){var e,r;const n=t.focusedNode;return n?n.isOpen?0:n.parent?n.childIndex+1:0:(r=(e=t.root.children)===null||e===void 0?void 0:e.length)!==null&&r!==void 0?r:0}function _f(t){const e=t.focusedNode;return e?e.isOpen?e.id:e.parent&&!e.parent.isRoot?e.parent.id:null:null}const h9=Object.freeze(Object.defineProperty({__proto__:null,access:zr,bound:Ln,dfs:va,focusNextElement:xf,focusPrevElement:Sf,getInsertIndex:Af,getInsertParentId:_f,identify:wt,identifyNull:$f,indexOf:Df,isClosed:Cf,isDescendant:wf,isItem:yf,isOpenWithEmptyChildren:Ef,mergeRefs:f9,noop:c9,safeRun:Pf,waitFor:Tf,walk:si},Symbol.toStringTag,{value:"Module"})),p9={display:"flex",alignItems:"center",zIndex:1},g9={flex:1,height:"2px",background:"#4B91E2",borderRadius:"1px"},v9={width:"4px",height:"4px",boxShadow:"0 0 0 3px #4B91E2",borderRadius:"50%"},b9=u.memo(function({top:e,left:r,indent:n}){const i={position:"absolute",pointerEvents:"none",top:e-2+"px",left:r+"px",right:n+"px"};return m.jsxs("div",{style:Object.assign(Object.assign({},p9),i),children:[m.jsx("div",{style:Object.assign({},v9)}),m.jsx("div",{style:Object.assign({},g9)})]})});function m9({node:t,attrs:e,innerRef:r,children:n}){return m.jsx("div",Object.assign({},e,{ref:r,onFocus:i=>i.stopPropagation(),onClick:t.handleClick,children:n}))}function y9(t){return m.jsxs("div",{ref:t.dragHandle,style:t.style,children:[m.jsx("span",{onClick:e=>{e.stopPropagation(),t.node.toggle()},children:t.node.isLeaf?"🌳":t.node.isOpen?"🗁":"🗀"})," ",t.node.isEditing?m.jsx(E9,Object.assign({},t)):m.jsx(C9,Object.assign({},t))]})}function C9(t){return m.jsx(m.Fragment,{children:m.jsx("span",{children:t.node.data.name})})}function E9({node:t}){const e=u.useRef();return u.useEffect(()=>{var r,n;(r=e.current)===null||r===void 0||r.focus(),(n=e.current)===null||n===void 0||n.select()},[]),m.jsx("input",{ref:e,defaultValue:t.data.name,onBlur:()=>t.reset(),onKeyDown:r=>{var n;r.key==="Escape"&&t.reset(),r.key==="Enter"&&t.submit(((n=e.current)===null||n===void 0?void 0:n.value)||"")}})}function So(t){return{type:"EDIT",id:t}}function w9(t={id:null},e){return e.type==="EDIT"?Object.assign(Object.assign({},t),{id:e.id}):t}function Jt(t){return{type:"FOCUS",id:t}}function D9(){return{type:"TREE_BLUR"}}function x9(t={id:null,treeFocused:!1},e){return e.type==="FOCUS"?Object.assign(Object.assign({},t),{id:e.id,treeFocused:!0}):e.type==="TREE_BLUR"?Object.assign(Object.assign({},t),{treeFocused:!1}):t}class ci{constructor(e){this.handleClick=r=>{r.metaKey&&!this.tree.props.disableMultiSelection?this.isSelected?this.deselect():this.selectMulti():r.shiftKey&&!this.tree.props.disableMultiSelection?this.selectContiguous():(this.select(),this.activate())},this.tree=e.tree,this.id=e.id,this.data=e.data,this.level=e.level,this.children=e.children,this.parent=e.parent,this.isDraggable=e.isDraggable,this.rowIndex=e.rowIndex}get isRoot(){return this.id===an}get isLeaf(){return!Array.isArray(this.children)}get isInternal(){return!this.isLeaf}get isOpen(){return this.isLeaf?!1:this.tree.isOpen(this.id)}get isClosed(){return this.isLeaf?!1:!this.tree.isOpen(this.id)}get isEditable(){return this.tree.isEditable(this.data)}get isEditing(){return this.tree.editingId===this.id}get isSelected(){return this.tree.isSelected(this.id)}get isOnlySelection(){return this.isSelected&&this.tree.hasOneSelection}get isSelectedStart(){var e;return this.isSelected&&!(!((e=this.prev)===null||e===void 0)&&e.isSelected)}get isSelectedEnd(){var e;return this.isSelected&&!(!((e=this.next)===null||e===void 0)&&e.isSelected)}get isFocused(){return this.tree.isFocused(this.id)}get isDragging(){return this.tree.isDragging(this.id)}get willReceiveDrop(){return this.tree.willReceiveDrop(this.id)}get state(){return{isClosed:this.isClosed,isDragging:this.isDragging,isEditing:this.isEditing,isFocused:this.isFocused,isInternal:this.isInternal,isLeaf:this.isLeaf,isOpen:this.isOpen,isSelected:this.isSelected,isSelectedEnd:this.isSelectedEnd,isSelectedStart:this.isSelectedStart,willReceiveDrop:this.willReceiveDrop}}get childIndex(){return this.parent&&this.parent.children?this.parent.children.findIndex(e=>e.id===this.id):-1}get next(){return this.rowIndex===null?null:this.tree.at(this.rowIndex+1)}get prev(){return this.rowIndex===null?null:this.tree.at(this.rowIndex-1)}get nextSibling(){var e,r;const n=this.childIndex;return(r=(e=this.parent)===null||e===void 0?void 0:e.children[n+1])!==null&&r!==void 0?r:null}isAncestorOf(e){if(!e)return!1;let r=e;for(;r;){if(r.id===this.id)return!0;r=r.parent}return!1}select(){this.tree.select(this)}deselect(){this.tree.deselect(this)}selectMulti(){this.tree.selectMulti(this)}selectContiguous(){this.tree.selectContiguous(this)}activate(){this.tree.activate(this)}focus(){this.tree.focus(this)}toggle(){this.tree.toggle(this)}open(){this.tree.open(this)}openParents(){this.tree.openParents(this)}close(){this.tree.close(this)}submit(e){this.tree.submit(this,e)}reset(){this.tree.reset()}clone(){return new ci(Object.assign({},this))}edit(){return this.tree.edit(this)}}const an="__REACT_ARBORIST_INTERNAL_ROOT__";function p0(t){var e;function r(o,l,a){const s=t.accessId(o),c=new ci({tree:t,data:o,level:l,parent:a,id:s,children:null,isDraggable:t.isDraggable(o),rowIndex:null}),d=t.accessChildren(o);return d&&(c.children=d.map(f=>r(f,l+1,c))),c}const n=new ci({tree:t,id:an,data:{id:an},level:-1,parent:null,children:null,isDraggable:!0,rowIndex:null}),i=(e=t.props.data)!==null&&e!==void 0?e:[];return n.children=i.map(o=>r(o,0,n)),n}const pl={open(t,e){return{type:"VISIBILITY_OPEN",id:t,filtered:e}},close(t,e){return{type:"VISIBILITY_CLOSE",id:t,filtered:e}},toggle(t,e){return{type:"VISIBILITY_TOGGLE",id:t,filtered:e}},clear(t){return{type:"VISIBILITY_CLEAR",filtered:t}}};function g0(t={},e){if(e.type==="VISIBILITY_OPEN")return Object.assign(Object.assign({},t),{[e.id]:!0});if(e.type==="VISIBILITY_CLOSE")return Object.assign(Object.assign({},t),{[e.id]:!1});if(e.type==="VISIBILITY_TOGGLE"){const r=t[e.id];return Object.assign(Object.assign({},t),{[e.id]:!r})}else return e.type==="VISIBILITY_CLEAR"?{}:t}function S9(t={filtered:{},unfiltered:{}},e){return e.type.startsWith("VISIBILITY")?e.filtered?Object.assign(Object.assign({},t),{filtered:g0(t.filtered,e)}):Object.assign(Object.assign({},t),{unfiltered:g0(t.unfiltered,e)}):t}const Er=t=>{var e;return{nodes:{open:{filtered:{},unfiltered:(e=t==null?void 0:t.initialOpenState)!==null&&e!==void 0?e:{}},focus:{id:null,treeFocused:!1},edit:{id:null},drag:{id:null,selectedIds:[],destinationParentId:null,destinationIndex:null},selection:{ids:new Set,anchor:null,mostRecent:null}},dnd:{cursor:{type:"none"},dragId:null,dragIds:[],parentId:null,index:-1}}},Le={clear:()=>({type:"SELECTION_CLEAR"}),only:t=>({type:"SELECTION_ONLY",id:wt(t)}),add:t=>({type:"SELECTION_ADD",ids:(Array.isArray(t)?t:[t]).map(wt)}),remove:t=>({type:"SELECTION_REMOVE",ids:(Array.isArray(t)?t:[t]).map(wt)}),set:t=>Object.assign({type:"SELECTION_SET"},t),mostRecent:t=>({type:"SELECTION_MOST_RECENT",id:t===null?null:wt(t)}),anchor:t=>({type:"SELECTION_ANCHOR",id:t===null?null:wt(t)})};function F9(t=Er().nodes.selection,e){const r=t.ids;switch(e.type){case"SELECTION_CLEAR":return Object.assign(Object.assign({},t),{ids:new Set});case"SELECTION_ONLY":return Object.assign(Object.assign({},t),{ids:new Set([e.id])});case"SELECTION_ADD":return e.ids.length===0?t:(e.ids.forEach(n=>r.add(n)),Object.assign(Object.assign({},t),{ids:new Set(r)}));case"SELECTION_REMOVE":return e.ids.length===0?t:(e.ids.forEach(n=>r.delete(n)),Object.assign(Object.assign({},t),{ids:new Set(r)}));case"SELECTION_SET":return Object.assign(Object.assign({},t),{ids:e.ids,mostRecent:e.mostRecent,anchor:e.anchor});case"SELECTION_MOST_RECENT":return Object.assign(Object.assign({},t),{mostRecent:e.id});case"SELECTION_ANCHOR":return Object.assign(Object.assign({},t),{anchor:e.id});default:return t}}const wr={cursor(t){return{type:"DND_CURSOR",cursor:t}},dragStart(t,e){return{type:"DND_DRAG_START",id:t,dragIds:e}},dragEnd(){return{type:"DND_DRAG_END"}},hovering(t,e){return{type:"DND_HOVERING",parentId:t,index:e}}};function $9(t=Er().dnd,e){switch(e.type){case"DND_CURSOR":return Object.assign(Object.assign({},t),{cursor:e.cursor});case"DND_DRAG_START":return Object.assign(Object.assign({},t),{dragId:e.id,dragIds:e.dragIds});case"DND_DRAG_END":return Er().dnd;case"DND_HOVERING":return Object.assign(Object.assign({},t),{parentId:e.parentId,index:e.index});default:return t}}const P9={position:"fixed",pointerEvents:"none",zIndex:100,left:0,top:0,width:"100%",height:"100%"},T9=t=>{if(!t)return{display:"none"};const{x:e,y:r}=t;return{transform:`translate(${e}px, ${r}px)`}},A9=t=>{if(!t)return{display:"none"};const{x:e,y:r}=t;return{transform:`translate(${e+10}px, ${r+10}px)`}};function kf({offset:t,mouse:e,id:r,dragIds:n,isDragging:i}){return m.jsxs(_9,{isDragging:i,children:[m.jsx(k9,{offset:t,children:m.jsx(O9,{id:r,dragIds:n})}),m.jsx(I9,{mouse:e,count:n.length})]})}const _9=u.memo(function(e){return e.isDragging?m.jsx("div",{style:P9,children:e.children}):null});function k9(t){return m.jsx("div",{className:"row preview",style:T9(t.offset),children:t.children})}function I9(t){const{count:e,mouse:r}=t;return e>1?m.jsx("div",{className:"selected-count",style:A9(r),children:e}):null}const O9=u.memo(function(e){const r=ke(),n=r.get(e.id);return n?m.jsx(r.renderNode,{preview:!0,node:n,style:{paddingLeft:n.level*r.indent,opacity:.2,background:"transparent"},tree:r}):null});function gl(){return gl=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},gl.apply(null,arguments)}function v0(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vl(t,e){return vl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},vl(t,e)}function N9(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,vl(t,e)}var b0=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function M9(t,e){return!!(t===e||b0(t)&&b0(e))}function B9(t,e){if(t.length!==e.length)return!1;for(var r=0;r<t.length;r++)if(!M9(t[r],e[r]))return!1;return!0}function Fo(t,e){e===void 0&&(e=B9);var r,n=[],i,o=!1;function l(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];return o&&r===this&&e(a,n)||(i=t.apply(this,a),o=!0,r=this,n=a),i}return l}var R9=typeof performance=="object"&&typeof performance.now=="function",m0=R9?function(){return performance.now()}:function(){return Date.now()};function y0(t){cancelAnimationFrame(t.id)}function L9(t,e){var r=m0();function n(){m0()-r>=e?t.call(null):i.id=requestAnimationFrame(n)}var i={id:requestAnimationFrame(n)};return i}var $o=-1;function C0(t){if(t===void 0&&(t=!1),$o===-1||t){var e=document.createElement("div"),r=e.style;r.width="50px",r.height="50px",r.overflow="scroll",document.body.appendChild(e),$o=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return $o}var Qt=null;function E0(t){if(t===void 0&&(t=!1),Qt===null||t){var e=document.createElement("div"),r=e.style;r.width="50px",r.height="50px",r.overflow="scroll",r.direction="rtl";var n=document.createElement("div"),i=n.style;return i.width="100px",i.height="100px",e.appendChild(n),document.body.appendChild(e),e.scrollLeft>0?Qt="positive-descending":(e.scrollLeft=1,e.scrollLeft===0?Qt="negative":Qt="positive-ascending"),document.body.removeChild(e),Qt}return Qt}process.env.NODE_ENV;var K9=150,j9=function(e,r){return e},Kn=null,jn=null;process.env.NODE_ENV!=="production"&&typeof window<"u"&&typeof window.WeakSet<"u"&&(Kn=new WeakSet,jn=new WeakSet);function H9(t){var e,r=t.getItemOffset,n=t.getEstimatedTotalSize,i=t.getItemSize,o=t.getOffsetForIndexAndAlignment,l=t.getStartIndexForOffset,a=t.getStopIndexForStartIndex,s=t.initInstanceProps,c=t.shouldResetStyleCacheOnItemSizeChange,d=t.validateProps;return e=function(f){N9(p,f);function p(y){var h;return h=f.call(this,y)||this,h._instanceProps=s(h.props,v0(h)),h._outerRef=void 0,h._resetIsScrollingTimeoutId=null,h.state={instance:v0(h),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof h.props.initialScrollOffset=="number"?h.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},h._callOnItemsRendered=void 0,h._callOnItemsRendered=Fo(function(v,b,E,C){return h.props.onItemsRendered({overscanStartIndex:v,overscanStopIndex:b,visibleStartIndex:E,visibleStopIndex:C})}),h._callOnScroll=void 0,h._callOnScroll=Fo(function(v,b,E){return h.props.onScroll({scrollDirection:v,scrollOffset:b,scrollUpdateWasRequested:E})}),h._getItemStyle=void 0,h._getItemStyle=function(v){var b=h.props,E=b.direction,C=b.itemSize,D=b.layout,F=h._getItemStyleCache(c&&C,c&&D,c&&E),w;if(F.hasOwnProperty(v))w=F[v];else{var S=r(h.props,v,h._instanceProps),M=i(h.props,v,h._instanceProps),_=E==="horizontal"||D==="horizontal",V=E==="rtl",x=_?S:0;F[v]=w={position:"absolute",left:V?void 0:x,right:V?x:void 0,top:_?0:S,height:_?"100%":M,width:_?M:"100%"}}return w},h._getItemStyleCache=void 0,h._getItemStyleCache=Fo(function(v,b,E){return{}}),h._onScrollHorizontal=function(v){var b=v.currentTarget,E=b.clientWidth,C=b.scrollLeft,D=b.scrollWidth;h.setState(function(F){if(F.scrollOffset===C)return null;var w=h.props.direction,S=C;if(w==="rtl")switch(E0()){case"negative":S=-C;break;case"positive-descending":S=D-E-C;break}return S=Math.max(0,Math.min(S,D-E)),{isScrolling:!0,scrollDirection:F.scrollOffset<S?"forward":"backward",scrollOffset:S,scrollUpdateWasRequested:!1}},h._resetIsScrollingDebounced)},h._onScrollVertical=function(v){var b=v.currentTarget,E=b.clientHeight,C=b.scrollHeight,D=b.scrollTop;h.setState(function(F){if(F.scrollOffset===D)return null;var w=Math.max(0,Math.min(D,C-E));return{isScrolling:!0,scrollDirection:F.scrollOffset<w?"forward":"backward",scrollOffset:w,scrollUpdateWasRequested:!1}},h._resetIsScrollingDebounced)},h._outerRefSetter=function(v){var b=h.props.outerRef;h._outerRef=v,typeof b=="function"?b(v):b!=null&&typeof b=="object"&&b.hasOwnProperty("current")&&(b.current=v)},h._resetIsScrollingDebounced=function(){h._resetIsScrollingTimeoutId!==null&&y0(h._resetIsScrollingTimeoutId),h._resetIsScrollingTimeoutId=L9(h._resetIsScrolling,K9)},h._resetIsScrolling=function(){h._resetIsScrollingTimeoutId=null,h.setState({isScrolling:!1},function(){h._getItemStyleCache(-1,null)})},h}p.getDerivedStateFromProps=function(h,v){return V9(h,v),d(h),null};var g=p.prototype;return g.scrollTo=function(h){h=Math.max(0,h),this.setState(function(v){return v.scrollOffset===h?null:{scrollDirection:v.scrollOffset<h?"forward":"backward",scrollOffset:h,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},g.scrollToItem=function(h,v){v===void 0&&(v="auto");var b=this.props,E=b.itemCount,C=b.layout,D=this.state.scrollOffset;h=Math.max(0,Math.min(h,E-1));var F=0;if(this._outerRef){var w=this._outerRef;C==="vertical"?F=w.scrollWidth>w.clientWidth?C0():0:F=w.scrollHeight>w.clientHeight?C0():0}this.scrollTo(o(this.props,h,v,D,this._instanceProps,F))},g.componentDidMount=function(){var h=this.props,v=h.direction,b=h.initialScrollOffset,E=h.layout;if(typeof b=="number"&&this._outerRef!=null){var C=this._outerRef;v==="horizontal"||E==="horizontal"?C.scrollLeft=b:C.scrollTop=b}this._callPropsCallbacks()},g.componentDidUpdate=function(){var h=this.props,v=h.direction,b=h.layout,E=this.state,C=E.scrollOffset,D=E.scrollUpdateWasRequested;if(D&&this._outerRef!=null){var F=this._outerRef;if(v==="horizontal"||b==="horizontal")if(v==="rtl")switch(E0()){case"negative":F.scrollLeft=-C;break;case"positive-ascending":F.scrollLeft=C;break;default:var w=F.clientWidth,S=F.scrollWidth;F.scrollLeft=S-w-C;break}else F.scrollLeft=C;else F.scrollTop=C}this._callPropsCallbacks()},g.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&y0(this._resetIsScrollingTimeoutId)},g.render=function(){var h=this.props,v=h.children,b=h.className,E=h.direction,C=h.height,D=h.innerRef,F=h.innerElementType,w=h.innerTagName,S=h.itemCount,M=h.itemData,_=h.itemKey,V=_===void 0?j9:_,x=h.layout,N=h.outerElementType,U=h.outerTagName,k=h.style,Z=h.useIsScrolling,A=h.width,O=this.state.isScrolling,z=E==="horizontal"||x==="horizontal",R=z?this._onScrollHorizontal:this._onScrollVertical,I=this._getRangeToRender(),L=I[0],$=I[1],P=[];if(S>0)for(var B=L;B<=$;B++)P.push(u.createElement(v,{data:M,key:V(B,M),index:B,isScrolling:Z?O:void 0,style:this._getItemStyle(B)}));var K=n(this.props,this._instanceProps);return u.createElement(N||U||"div",{className:b,onScroll:R,ref:this._outerRefSetter,style:gl({position:"relative",height:C,width:A,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:E},k)},u.createElement(F||w||"div",{children:P,ref:D,style:{height:z?"100%":K,pointerEvents:O?"none":void 0,width:z?K:"100%"}}))},g._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var h=this.props.itemCount;if(h>0){var v=this._getRangeToRender(),b=v[0],E=v[1],C=v[2],D=v[3];this._callOnItemsRendered(b,E,C,D)}}if(typeof this.props.onScroll=="function"){var F=this.state,w=F.scrollDirection,S=F.scrollOffset,M=F.scrollUpdateWasRequested;this._callOnScroll(w,S,M)}},g._getRangeToRender=function(){var h=this.props,v=h.itemCount,b=h.overscanCount,E=this.state,C=E.isScrolling,D=E.scrollDirection,F=E.scrollOffset;if(v===0)return[0,0,0,0];var w=l(this.props,F,this._instanceProps),S=a(this.props,w,F,this._instanceProps),M=!C||D==="backward"?Math.max(1,b):1,_=!C||D==="forward"?Math.max(1,b):1;return[Math.max(0,w-M),Math.max(0,Math.min(v-1,S+_)),w,S]},p}(u.PureComponent),e.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},e}var V9=function(e,r){var n=e.children,i=e.direction,o=e.height,l=e.layout,a=e.innerTagName,s=e.outerTagName,c=e.width,d=r.instance;if(process.env.NODE_ENV!=="production"){(a!=null||s!=null)&&jn&&!jn.has(d)&&(jn.add(d),console.warn("The innerTagName and outerTagName props have been deprecated. Please use the innerElementType and outerElementType props instead."));var f=i==="horizontal"||l==="horizontal";switch(i){case"horizontal":case"vertical":Kn&&!Kn.has(d)&&(Kn.add(d),console.warn('The direction prop should be either "ltr" (default) or "rtl". Please use the layout prop to specify "vertical" (default) or "horizontal" orientation.'));break;case"ltr":case"rtl":break;default:throw Error('An invalid "direction" prop has been specified. Value should be either "ltr" or "rtl". '+('"'+i+'" was specified.'))}switch(l){case"horizontal":case"vertical":break;default:throw Error('An invalid "layout" prop has been specified. Value should be either "horizontal" or "vertical". '+('"'+l+'" was specified.'))}if(n==null)throw Error('An invalid "children" prop has been specified. Value should be a React component. '+('"'+(n===null?"null":typeof n)+'" was specified.'));if(f&&typeof c!="number")throw Error('An invalid "width" prop has been specified. Horizontal lists must specify a number for width. '+('"'+(c===null?"null":typeof c)+'" was specified.'));if(!f&&typeof o!="number")throw Error('An invalid "height" prop has been specified. Vertical lists must specify a number for height. '+('"'+(o===null?"null":typeof o)+'" was specified.'))}},z9=H9({getItemOffset:function(e,r){var n=e.itemSize;return r*n},getItemSize:function(e,r){var n=e.itemSize;return n},getEstimatedTotalSize:function(e){var r=e.itemCount,n=e.itemSize;return n*r},getOffsetForIndexAndAlignment:function(e,r,n,i,o,l){var a=e.direction,s=e.height,c=e.itemCount,d=e.itemSize,f=e.layout,p=e.width,g=a==="horizontal"||f==="horizontal",y=g?p:s,h=Math.max(0,c*d-y),v=Math.min(h,r*d),b=Math.max(0,r*d-y+d+l);switch(n==="smart"&&(i>=b-y&&i<=v+y?n="auto":n="center"),n){case"start":return v;case"end":return b;case"center":{var E=Math.round(b+(v-b)/2);return E<Math.ceil(y/2)?0:E>h+Math.floor(y/2)?h:E}case"auto":default:return i>=b&&i<=v?i:i<b?b:v}},getStartIndexForOffset:function(e,r){var n=e.itemCount,i=e.itemSize;return Math.max(0,Math.min(n-1,Math.floor(r/i)))},getStopIndexForStartIndex:function(e,r,n){var i=e.direction,o=e.height,l=e.itemCount,a=e.itemSize,s=e.layout,c=e.width,d=i==="horizontal"||s==="horizontal",f=r*a,p=d?c:o,g=Math.ceil((p+n-f)/a);return Math.max(0,Math.min(l-1,r+g-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){var r=e.itemSize;if(process.env.NODE_ENV!=="production"&&typeof r!="number")throw Error('An invalid "itemSize" prop has been specified. Value should be a number. '+('"'+(r===null?"null":typeof r)+'" was specified.'))}});function U9(){var t,e;const r=ke(),i=s9().cursor;if(!i||i.type!=="line")return null;const o=r.indent,l=r.rowHeight*i.index+((e=(t=r.props.padding)!==null&&t!==void 0?t:r.props.paddingTop)!==null&&e!==void 0?e:0),a=o*i.level,s=r.renderCursor;return m.jsx(s,{top:l,left:a,indent:o})}var W9=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]]);return r};const Z9=u.forwardRef(function(e,r){const{children:n}=e,i=W9(e,["children"]),o=ke();return m.jsxs("div",Object.assign({ref:r},i,{onClick:l=>{l.currentTarget===l.target&&o.deselectAll()},children:[m.jsx(G9,{}),n]}))}),G9=()=>{const t=ke();return m.jsx("div",{style:{height:t.visibleNodes.length*t.rowHeight,width:"100%",position:"absolute",left:"0",right:"0"},children:m.jsx(U9,{})})};var q9=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]]);return r};const Y9=u.forwardRef(function(e,r){var n,i,o,l,{style:a}=e,s=q9(e,["style"]);const c=ke(),d=(i=(n=c.props.padding)!==null&&n!==void 0?n:c.props.paddingTop)!==null&&i!==void 0?i:0,f=(l=(o=c.props.padding)!==null&&o!==void 0?o:c.props.paddingBottom)!==null&&l!==void 0?l:0;return m.jsx("div",Object.assign({ref:r,style:Object.assign(Object.assign({},a),{height:`${parseFloat(a.height)+d+f}px`})},s))});var If=u.createContext({dragDropManager:void 0}),Me;(function(t){t.SOURCE="SOURCE",t.TARGET="TARGET"})(Me||(Me={}));function J(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];if(process.env.NODE_ENV!=="production"&&e===void 0)throw new Error("invariant requires an error message argument");if(!t){var o;if(e===void 0)o=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=0;o=new Error(e.replace(/%s/g,function(){return n[l++]})),o.name="Invariant Violation"}throw o.framesToPop=1,o}}var ba="dnd-core/INIT_COORDS",Ki="dnd-core/BEGIN_DRAG",ma="dnd-core/PUBLISH_DRAG_SOURCE",ji="dnd-core/HOVER",Hi="dnd-core/DROP",Vi="dnd-core/END_DRAG";function w0(t,e){return{type:ba,payload:{sourceClientOffset:e||null,clientOffset:t||null}}}function Hn(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Hn=function(r){return typeof r}:Hn=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Hn(t)}function X9(t,e,r){return e.split(".").reduce(function(n,i){return n&&n[i]?n[i]:r||null},t)}function J9(t,e){return t.filter(function(r){return r!==e})}function Of(t){return Hn(t)==="object"}function Q9(t,e){var r=new Map,n=function(l){r.set(l,r.has(l)?r.get(l)+1:1)};t.forEach(n),e.forEach(n);var i=[];return r.forEach(function(o,l){o===1&&i.push(l)}),i}function ev(t,e){return t.filter(function(r){return e.indexOf(r)>-1})}var tv={type:ba,payload:{clientOffset:null,sourceClientOffset:null}};function rv(t){return function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{publishSource:!0},i=n.publishSource,o=i===void 0?!0:i,l=n.clientOffset,a=n.getSourceClientOffset,s=t.getMonitor(),c=t.getRegistry();t.dispatch(w0(l)),nv(r,s,c);var d=lv(r,s);if(d===null){t.dispatch(tv);return}var f=null;if(l){if(!a)throw new Error("getSourceClientOffset must be defined");iv(a),f=a(d)}t.dispatch(w0(l,f));var p=c.getSource(d),g=p.beginDrag(s,d);if(g!=null){ov(g),c.pinSource(d);var y=c.getSourceType(d);return{type:Ki,payload:{itemType:y,item:g,sourceId:d,clientOffset:l||null,sourceClientOffset:f||null,isSourcePublic:!!o}}}}}function nv(t,e,r){J(!e.isDragging(),"Cannot call beginDrag while dragging."),t.forEach(function(n){J(r.getSource(n),"Expected sourceIds to be registered.")})}function iv(t){J(typeof t=="function","When clientOffset is provided, getSourceClientOffset must be a function.")}function ov(t){J(Of(t),"Item must be an object.")}function lv(t,e){for(var r=null,n=t.length-1;n>=0;n--)if(e.canDragSource(t[n])){r=t[n];break}return r}function av(t){return function(){var r=t.getMonitor();if(r.isDragging())return{type:ma}}}function bl(t,e){return e===null?t===null:Array.isArray(t)?t.some(function(r){return r===e}):t===e}function sv(t){return function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=n.clientOffset;cv(r);var o=r.slice(0),l=t.getMonitor(),a=t.getRegistry();uv(o,l,a);var s=l.getItemType();return dv(o,a,s),fv(o,l,a),{type:ji,payload:{targetIds:o,clientOffset:i||null}}}}function cv(t){J(Array.isArray(t),"Expected targetIds to be an array.")}function uv(t,e,r){J(e.isDragging(),"Cannot call hover while not dragging."),J(!e.didDrop(),"Cannot call hover after drop.");for(var n=0;n<t.length;n++){var i=t[n];J(t.lastIndexOf(i)===n,"Expected targetIds to be unique in the passed array.");var o=r.getTarget(i);J(o,"Expected targetIds to be registered.")}}function dv(t,e,r){for(var n=t.length-1;n>=0;n--){var i=t[n],o=e.getTargetType(i);bl(o,r)||t.splice(n,1)}}function fv(t,e,r){t.forEach(function(n){var i=r.getTarget(n);i.hover(e,n)})}function D0(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function x0(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?D0(Object(r),!0).forEach(function(n){hv(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):D0(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function hv(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function pv(t){return function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.getMonitor(),i=t.getRegistry();gv(n);var o=mv(n);o.forEach(function(l,a){var s=vv(l,a,i,n),c={type:Hi,payload:{dropResult:x0(x0({},r),s)}};t.dispatch(c)})}}function gv(t){J(t.isDragging(),"Cannot call drop while not dragging."),J(!t.didDrop(),"Cannot call drop twice during one drag operation.")}function vv(t,e,r,n){var i=r.getTarget(t),o=i?i.drop(n,t):void 0;return bv(o),typeof o>"u"&&(o=e===0?{}:n.getDropResult()),o}function bv(t){J(typeof t>"u"||Of(t),"Drop result must either be an object or undefined.")}function mv(t){var e=t.getTargetIds().filter(t.canDropOnTarget,t);return e.reverse(),e}function yv(t){return function(){var r=t.getMonitor(),n=t.getRegistry();Cv(r);var i=r.getSourceId();if(i!=null){var o=n.getSource(i,!0);o.endDrag(r,i),n.unpinSource()}return{type:Vi}}}function Cv(t){J(t.isDragging(),"Cannot call endDrag while not dragging.")}function Ev(t){return{beginDrag:rv(t),publishDragSource:av(t),hover:sv(t),drop:pv(t),endDrag:yv(t)}}function wv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dv(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function xv(t,e,r){return e&&Dv(t.prototype,e),t}function Br(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Sv=function(){function t(e,r){var n=this;wv(this,t),Br(this,"store",void 0),Br(this,"monitor",void 0),Br(this,"backend",void 0),Br(this,"isSetUp",!1),Br(this,"handleRefCountChange",function(){var i=n.store.getState().refCount>0;n.backend&&(i&&!n.isSetUp?(n.backend.setup(),n.isSetUp=!0):!i&&n.isSetUp&&(n.backend.teardown(),n.isSetUp=!1))}),this.store=e,this.monitor=r,e.subscribe(this.handleRefCountChange)}return xv(t,[{key:"receiveBackend",value:function(r){this.backend=r}},{key:"getMonitor",value:function(){return this.monitor}},{key:"getBackend",value:function(){return this.backend}},{key:"getRegistry",value:function(){return this.monitor.registry}},{key:"getActions",value:function(){var r=this,n=this.store.dispatch;function i(l){return function(){for(var a=arguments.length,s=new Array(a),c=0;c<a;c++)s[c]=arguments[c];var d=l.apply(r,s);typeof d<"u"&&n(d)}}var o=Ev(this);return Object.keys(o).reduce(function(l,a){var s=o[a];return l[a]=i(s),l},{})}},{key:"dispatch",value:function(r){this.store.dispatch(r)}}]),t}();function Ie(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var S0=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),F0=function(){return Math.random().toString(36).substring(7).split("").join(".")},$0={INIT:"@@redux/INIT"+F0(),REPLACE:"@@redux/REPLACE"+F0()};function Fv(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function $v(t){if(t===void 0)return"undefined";if(t===null)return"null";var e=typeof t;switch(e){case"boolean":case"string":case"number":case"symbol":case"function":return e}if(Array.isArray(t))return"array";if(Av(t))return"date";if(Tv(t))return"error";var r=Pv(t);switch(r){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return r}return e.slice(8,-1).toLowerCase().replace(/\s/g,"")}function Pv(t){return typeof t.constructor=="function"?t.constructor.name:null}function Tv(t){return t instanceof Error||typeof t.message=="string"&&t.constructor&&typeof t.constructor.stackTraceLimit=="number"}function Av(t){return t instanceof Date?!0:typeof t.toDateString=="function"&&typeof t.getDate=="function"&&typeof t.setDate=="function"}function er(t){var e=typeof t;return process.env.NODE_ENV!=="production"&&(e=$v(t)),e}function Nf(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(process.env.NODE_ENV==="production"?Ie(0):"It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(process.env.NODE_ENV==="production"?Ie(1):"Expected the enhancer to be a function. Instead, received: '"+er(r)+"'");return r(Nf)(t,e)}if(typeof t!="function")throw new Error(process.env.NODE_ENV==="production"?Ie(2):"Expected the root reducer to be a function. Instead, received: '"+er(t)+"'");var i=t,o=e,l=[],a=l,s=!1;function c(){a===l&&(a=l.slice())}function d(){if(s)throw new Error(process.env.NODE_ENV==="production"?Ie(3):"You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return o}function f(h){if(typeof h!="function")throw new Error(process.env.NODE_ENV==="production"?Ie(4):"Expected the listener to be a function. Instead, received: '"+er(h)+"'");if(s)throw new Error(process.env.NODE_ENV==="production"?Ie(5):"You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");var v=!0;return c(),a.push(h),function(){if(v){if(s)throw new Error(process.env.NODE_ENV==="production"?Ie(6):"You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");v=!1,c();var E=a.indexOf(h);a.splice(E,1),l=null}}}function p(h){if(!Fv(h))throw new Error(process.env.NODE_ENV==="production"?Ie(7):"Actions must be plain objects. Instead, the actual type was: '"+er(h)+"'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.");if(typeof h.type>"u")throw new Error(process.env.NODE_ENV==="production"?Ie(8):'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(s)throw new Error(process.env.NODE_ENV==="production"?Ie(9):"Reducers may not dispatch actions.");try{s=!0,o=i(o,h)}finally{s=!1}for(var v=l=a,b=0;b<v.length;b++){var E=v[b];E()}return h}function g(h){if(typeof h!="function")throw new Error(process.env.NODE_ENV==="production"?Ie(10):"Expected the nextReducer to be a function. Instead, received: '"+er(h));i=h,p({type:$0.REPLACE})}function y(){var h,v=f;return h={subscribe:function(E){if(typeof E!="object"||E===null)throw new Error(process.env.NODE_ENV==="production"?Ie(11):"Expected the observer to be an object. Instead, received: '"+er(E)+"'");function C(){E.next&&E.next(d())}C();var D=v(C);return{unsubscribe:D}}},h[S0]=function(){return this},h}return p({type:$0.INIT}),n={dispatch:p,subscribe:f,getState:d,replaceReducer:g},n[S0]=y,n}var _v=function(e,r){return e===r};function kv(t,e){return!t&&!e?!0:!t||!e?!1:t.x===e.x&&t.y===e.y}function Iv(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:_v;if(t.length!==e.length)return!1;for(var n=0;n<t.length;++n)if(!r(t[n],e[n]))return!1;return!0}function P0(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function T0(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?P0(Object(r),!0).forEach(function(n){Ov(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):P0(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Ov(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var A0={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};function Nv(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:A0,e=arguments.length>1?arguments[1]:void 0,r=e.payload;switch(e.type){case ba:case Ki:return{initialSourceClientOffset:r.sourceClientOffset,initialClientOffset:r.clientOffset,clientOffset:r.clientOffset};case ji:return kv(t.clientOffset,r.clientOffset)?t:T0(T0({},t),{},{clientOffset:r.clientOffset});case Vi:case Hi:return A0;default:return t}}var ya="dnd-core/ADD_SOURCE",Ca="dnd-core/ADD_TARGET",Ea="dnd-core/REMOVE_SOURCE",zi="dnd-core/REMOVE_TARGET";function Mv(t){return{type:ya,payload:{sourceId:t}}}function Bv(t){return{type:Ca,payload:{targetId:t}}}function Rv(t){return{type:Ea,payload:{sourceId:t}}}function Lv(t){return{type:zi,payload:{targetId:t}}}function _0(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Oe(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?_0(Object(r),!0).forEach(function(n){Kv(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):_0(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Kv(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var jv={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};function Hv(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:jv,e=arguments.length>1?arguments[1]:void 0,r=e.payload;switch(e.type){case Ki:return Oe(Oe({},t),{},{itemType:r.itemType,item:r.item,sourceId:r.sourceId,isSourcePublic:r.isSourcePublic,dropResult:null,didDrop:!1});case ma:return Oe(Oe({},t),{},{isSourcePublic:!0});case ji:return Oe(Oe({},t),{},{targetIds:r.targetIds});case zi:return t.targetIds.indexOf(r.targetId)===-1?t:Oe(Oe({},t),{},{targetIds:J9(t.targetIds,r.targetId)});case Hi:return Oe(Oe({},t),{},{dropResult:r.dropResult,didDrop:!0,targetIds:[]});case Vi:return Oe(Oe({},t),{},{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return t}}function Vv(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case ya:case Ca:return t+1;case Ea:case zi:return t-1;default:return t}}var ui=[],wa=[];ui.__IS_NONE__=!0;wa.__IS_ALL__=!0;function zv(t,e){if(t===ui)return!1;if(t===wa||typeof e>"u")return!0;var r=ev(e,t);return r.length>0}function Uv(){var t=arguments.length>1?arguments[1]:void 0;switch(t.type){case ji:break;case ya:case Ca:case zi:case Ea:return ui;case Ki:case ma:case Vi:case Hi:default:return wa}var e=t.payload,r=e.targetIds,n=r===void 0?[]:r,i=e.prevTargetIds,o=i===void 0?[]:i,l=Q9(n,o),a=l.length>0||!Iv(n,o);if(!a)return ui;var s=o[o.length-1],c=n[n.length-1];return s!==c&&(s&&l.push(s),c&&l.push(c)),l}function Wv(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return t+1}function k0(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function I0(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?k0(Object(r),!0).forEach(function(n){Zv(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):k0(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Zv(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Gv(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return{dirtyHandlerIds:Uv(t.dirtyHandlerIds,{type:e.type,payload:I0(I0({},e.payload),{},{prevTargetIds:X9(t,"dragOperation.targetIds",[])})}),dragOffset:Nv(t.dragOffset,e),refCount:Vv(t.refCount,e),dragOperation:Hv(t.dragOperation,e),stateId:Wv(t.stateId)}}function qv(t,e){return{x:t.x+e.x,y:t.y+e.y}}function Mf(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Yv(t){var e=t.clientOffset,r=t.initialClientOffset,n=t.initialSourceClientOffset;return!e||!r||!n?null:Mf(qv(e,n),r)}function Xv(t){var e=t.clientOffset,r=t.initialClientOffset;return!e||!r?null:Mf(e,r)}function Jv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qv(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function e8(t,e,r){return e&&Qv(t.prototype,e),t}function O0(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var t8=function(){function t(e,r){Jv(this,t),O0(this,"store",void 0),O0(this,"registry",void 0),this.store=e,this.registry=r}return e8(t,[{key:"subscribeToStateChange",value:function(r){var n=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{handlerIds:void 0},o=i.handlerIds;J(typeof r=="function","listener must be a function."),J(typeof o>"u"||Array.isArray(o),"handlerIds, when specified, must be an array of strings.");var l=this.store.getState().stateId,a=function(){var c=n.store.getState(),d=c.stateId;try{var f=d===l||d===l+1&&!zv(c.dirtyHandlerIds,o);f||r()}finally{l=d}};return this.store.subscribe(a)}},{key:"subscribeToOffsetChange",value:function(r){var n=this;J(typeof r=="function","listener must be a function.");var i=this.store.getState().dragOffset,o=function(){var a=n.store.getState().dragOffset;a!==i&&(i=a,r())};return this.store.subscribe(o)}},{key:"canDragSource",value:function(r){if(!r)return!1;var n=this.registry.getSource(r);return J(n,"Expected to find a valid source. sourceId=".concat(r)),this.isDragging()?!1:n.canDrag(this,r)}},{key:"canDropOnTarget",value:function(r){if(!r)return!1;var n=this.registry.getTarget(r);if(J(n,"Expected to find a valid target. targetId=".concat(r)),!this.isDragging()||this.didDrop())return!1;var i=this.registry.getTargetType(r),o=this.getItemType();return bl(i,o)&&n.canDrop(this,r)}},{key:"isDragging",value:function(){return!!this.getItemType()}},{key:"isDraggingSource",value:function(r){if(!r)return!1;var n=this.registry.getSource(r,!0);if(J(n,"Expected to find a valid source. sourceId=".concat(r)),!this.isDragging()||!this.isSourcePublic())return!1;var i=this.registry.getSourceType(r),o=this.getItemType();return i!==o?!1:n.isDragging(this,r)}},{key:"isOverTarget",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{shallow:!1};if(!r)return!1;var i=n.shallow;if(!this.isDragging())return!1;var o=this.registry.getTargetType(r),l=this.getItemType();if(l&&!bl(o,l))return!1;var a=this.getTargetIds();if(!a.length)return!1;var s=a.indexOf(r);return i?s===a.length-1:s>-1}},{key:"getItemType",value:function(){return this.store.getState().dragOperation.itemType}},{key:"getItem",value:function(){return this.store.getState().dragOperation.item}},{key:"getSourceId",value:function(){return this.store.getState().dragOperation.sourceId}},{key:"getTargetIds",value:function(){return this.store.getState().dragOperation.targetIds}},{key:"getDropResult",value:function(){return this.store.getState().dragOperation.dropResult}},{key:"didDrop",value:function(){return this.store.getState().dragOperation.didDrop}},{key:"isSourcePublic",value:function(){return!!this.store.getState().dragOperation.isSourcePublic}},{key:"getInitialClientOffset",value:function(){return this.store.getState().dragOffset.initialClientOffset}},{key:"getInitialSourceClientOffset",value:function(){return this.store.getState().dragOffset.initialSourceClientOffset}},{key:"getClientOffset",value:function(){return this.store.getState().dragOffset.clientOffset}},{key:"getSourceClientOffset",value:function(){return Yv(this.store.getState().dragOffset)}},{key:"getDifferenceFromInitialOffset",value:function(){return Xv(this.store.getState().dragOffset)}}]),t}(),r8=0;function n8(){return r8++}function Vn(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Vn=function(r){return typeof r}:Vn=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Vn(t)}function i8(t){J(typeof t.canDrag=="function","Expected canDrag to be a function."),J(typeof t.beginDrag=="function","Expected beginDrag to be a function."),J(typeof t.endDrag=="function","Expected endDrag to be a function.")}function o8(t){J(typeof t.canDrop=="function","Expected canDrop to be a function."),J(typeof t.hover=="function","Expected hover to be a function."),J(typeof t.drop=="function","Expected beginDrag to be a function.")}function ml(t,e){if(e&&Array.isArray(t)){t.forEach(function(r){return ml(r,!1)});return}J(typeof t=="string"||Vn(t)==="symbol",e?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}const N0=typeof global<"u"?global:self,Bf=N0.MutationObserver||N0.WebKitMutationObserver;function Rf(t){return function(){const r=setTimeout(i,0),n=setInterval(i,50);function i(){clearTimeout(r),clearInterval(n),t()}}}function l8(t){let e=1;const r=new Bf(t),n=document.createTextNode("");return r.observe(n,{characterData:!0}),function(){e=-e,n.data=e}}const a8=typeof Bf=="function"?l8:Rf;class s8{enqueueTask(e){const{queue:r,requestFlush:n}=this;r.length||(n(),this.flushing=!0),r[r.length]=e}constructor(){this.queue=[],this.pendingErrors=[],this.flushing=!1,this.index=0,this.capacity=1024,this.flush=()=>{const{queue:e}=this;for(;this.index<e.length;){const r=this.index;if(this.index++,e[r].call(),this.index>this.capacity){for(let n=0,i=e.length-this.index;n<i;n++)e[n]=e[n+this.index];e.length-=this.index,this.index=0}}e.length=0,this.index=0,this.flushing=!1},this.registerPendingError=e=>{this.pendingErrors.push(e),this.requestErrorThrow()},this.requestFlush=a8(this.flush),this.requestErrorThrow=Rf(()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()})}}class c8{call(){try{this.task&&this.task()}catch(e){this.onError(e)}finally{this.task=null,this.release(this)}}constructor(e,r){this.onError=e,this.release=r,this.task=null}}class u8{create(e){const r=this.freeTasks,n=r.length?r.pop():new c8(this.onError,i=>r[r.length]=i);return n.task=e,n}constructor(e){this.onError=e,this.freeTasks=[]}}const Lf=new s8,d8=new u8(Lf.registerPendingError);function f8(t){Lf.enqueueTask(d8.create(t))}function h8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p8(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function g8(t,e,r){return e&&p8(t.prototype,e),t}function tr(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function v8(t,e){return C8(t)||y8(t,e)||m8(t,e)||b8()}function b8(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
89
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function m8(t,e){if(t){if(typeof t=="string")return M0(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return M0(t,e)}}function M0(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function y8(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n=[],i=!0,o=!1,l,a;try{for(r=r.call(t);!(i=(l=r.next()).done)&&(n.push(l.value),!(e&&n.length===e));i=!0);}catch(s){o=!0,a=s}finally{try{!i&&r.return!=null&&r.return()}finally{if(o)throw a}}return n}}function C8(t){if(Array.isArray(t))return t}function E8(t){var e=n8().toString();switch(t){case Me.SOURCE:return"S".concat(e);case Me.TARGET:return"T".concat(e);default:throw new Error("Unknown Handler Role: ".concat(t))}}function B0(t){switch(t[0]){case"S":return Me.SOURCE;case"T":return Me.TARGET;default:J(!1,"Cannot parse handler ID: ".concat(t))}}function R0(t,e){var r=t.entries(),n=!1;do{var i=r.next(),o=i.done,l=v8(i.value,2),a=l[1];if(a===e)return!0;n=!!o}while(!n);return!1}var w8=function(){function t(e){h8(this,t),tr(this,"types",new Map),tr(this,"dragSources",new Map),tr(this,"dropTargets",new Map),tr(this,"pinnedSourceId",null),tr(this,"pinnedSource",null),tr(this,"store",void 0),this.store=e}return g8(t,[{key:"addSource",value:function(r,n){ml(r),i8(n);var i=this.addHandler(Me.SOURCE,r,n);return this.store.dispatch(Mv(i)),i}},{key:"addTarget",value:function(r,n){ml(r,!0),o8(n);var i=this.addHandler(Me.TARGET,r,n);return this.store.dispatch(Bv(i)),i}},{key:"containsHandler",value:function(r){return R0(this.dragSources,r)||R0(this.dropTargets,r)}},{key:"getSource",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;J(this.isSourceId(r),"Expected a valid source ID.");var i=n&&r===this.pinnedSourceId,o=i?this.pinnedSource:this.dragSources.get(r);return o}},{key:"getTarget",value:function(r){return J(this.isTargetId(r),"Expected a valid target ID."),this.dropTargets.get(r)}},{key:"getSourceType",value:function(r){return J(this.isSourceId(r),"Expected a valid source ID."),this.types.get(r)}},{key:"getTargetType",value:function(r){return J(this.isTargetId(r),"Expected a valid target ID."),this.types.get(r)}},{key:"isSourceId",value:function(r){var n=B0(r);return n===Me.SOURCE}},{key:"isTargetId",value:function(r){var n=B0(r);return n===Me.TARGET}},{key:"removeSource",value:function(r){var n=this;J(this.getSource(r),"Expected an existing source."),this.store.dispatch(Rv(r)),f8(function(){n.dragSources.delete(r),n.types.delete(r)})}},{key:"removeTarget",value:function(r){J(this.getTarget(r),"Expected an existing target."),this.store.dispatch(Lv(r)),this.dropTargets.delete(r),this.types.delete(r)}},{key:"pinSource",value:function(r){var n=this.getSource(r);J(n,"Expected an existing source."),this.pinnedSourceId=r,this.pinnedSource=n}},{key:"unpinSource",value:function(){J(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}},{key:"addHandler",value:function(r,n,i){var o=E8(r);return this.types.set(o,n),r===Me.SOURCE?this.dragSources.set(o,i):r===Me.TARGET&&this.dropTargets.set(o,i),o}}]),t}();function D8(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,i=x8(n),o=new t8(i,new w8(i)),l=new Sv(i,o),a=t(l,e,r);return l.receiveBackend(a),l}function x8(t){var e=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__;return Nf(Gv,t&&e&&e({name:"dnd-core",instanceId:"dnd-core"}))}var S8=["children"];function F8(t,e){return A8(t)||T8(t,e)||P8(t,e)||$8()}function $8(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
90
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function P8(t,e){if(t){if(typeof t=="string")return L0(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return L0(t,e)}}function L0(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function T8(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n=[],i=!0,o=!1,l,a;try{for(r=r.call(t);!(i=(l=r.next()).done)&&(n.push(l.value),!(e&&n.length===e));i=!0);}catch(s){o=!0,a=s}finally{try{!i&&r.return!=null&&r.return()}finally{if(o)throw a}}return n}}function A8(t){if(Array.isArray(t))return t}function _8(t,e){if(t==null)return{};var r=k8(t,e),n,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i<o.length;i++)n=o[i],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function k8(t,e){if(t==null)return{};var r={},n=Object.keys(t),i,o;for(o=0;o<n.length;o++)i=n[o],!(e.indexOf(i)>=0)&&(r[i]=t[i]);return r}var K0=0,zn=Symbol.for("__REACT_DND_CONTEXT_INSTANCE__"),I8=u.memo(function(e){var r=e.children,n=_8(e,S8),i=O8(n),o=F8(i,2),l=o[0],a=o[1];return u.useEffect(function(){if(a){var s=Kf();return++K0,function(){--K0===0&&(s[zn]=null)}}},[]),m.jsx(If.Provider,Object.assign({value:l},{children:r}),void 0)});function O8(t){if("manager"in t){var e={dragDropManager:t.manager};return[e,!1]}var r=N8(t.backend,t.context,t.options,t.debugMode),n=!t.context;return[r,n]}function N8(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Kf(),r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0,i=e;return i[zn]||(i[zn]={dragDropManager:D8(t,e,r,n)}),i[zn]}function Kf(){return typeof global<"u"?global:window}function M8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function B8(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function R8(t,e,r){return e&&B8(t.prototype,e),t}function j0(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Po=!1,To=!1,L8=function(){function t(e){M8(this,t),j0(this,"internalMonitor",void 0),j0(this,"sourceId",null),this.internalMonitor=e.getMonitor()}return R8(t,[{key:"receiveHandlerId",value:function(r){this.sourceId=r}},{key:"getHandlerId",value:function(){return this.sourceId}},{key:"canDrag",value:function(){J(!Po,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return Po=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{Po=!1}}},{key:"isDragging",value:function(){if(!this.sourceId)return!1;J(!To,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return To=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{To=!1}}},{key:"subscribeToStateChange",value:function(r,n){return this.internalMonitor.subscribeToStateChange(r,n)}},{key:"isDraggingSource",value:function(r){return this.internalMonitor.isDraggingSource(r)}},{key:"isOverTarget",value:function(r,n){return this.internalMonitor.isOverTarget(r,n)}},{key:"getTargetIds",value:function(){return this.internalMonitor.getTargetIds()}},{key:"isSourcePublic",value:function(){return this.internalMonitor.isSourcePublic()}},{key:"getSourceId",value:function(){return this.internalMonitor.getSourceId()}},{key:"subscribeToOffsetChange",value:function(r){return this.internalMonitor.subscribeToOffsetChange(r)}},{key:"canDragSource",value:function(r){return this.internalMonitor.canDragSource(r)}},{key:"canDropOnTarget",value:function(r){return this.internalMonitor.canDropOnTarget(r)}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),t}();function K8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function j8(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function H8(t,e,r){return e&&j8(t.prototype,e),t}function H0(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Ao=!1,V8=function(){function t(e){K8(this,t),H0(this,"internalMonitor",void 0),H0(this,"targetId",null),this.internalMonitor=e.getMonitor()}return H8(t,[{key:"receiveHandlerId",value:function(r){this.targetId=r}},{key:"getHandlerId",value:function(){return this.targetId}},{key:"subscribeToStateChange",value:function(r,n){return this.internalMonitor.subscribeToStateChange(r,n)}},{key:"canDrop",value:function(){if(!this.targetId)return!1;J(!Ao,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");try{return Ao=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{Ao=!1}}},{key:"isOver",value:function(r){return this.targetId?this.internalMonitor.isOverTarget(this.targetId,r):!1}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),t}();function z8(t){if(typeof t.type!="string"){var e=t.type.displayName||t.type.name||"the component";throw new Error("Only native element nodes can now be passed to React DnD connectors."+"You can either wrap ".concat(e," into a <div>, or turn it into a ")+"drag source or a drop target itself.")}}function U8(t){return function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!u.isValidElement(e)){var n=e;return t(n,r),n}var i=e;z8(i);var o=r?function(l){return t(l,r)}:t;return W8(i,o)}}function jf(t){var e={};return Object.keys(t).forEach(function(r){var n=t[r];if(r.endsWith("Ref"))e[r]=t[r];else{var i=U8(n);e[r]=function(){return i}}}),e}function V0(t,e){typeof t=="function"?t(e):t.current=e}function W8(t,e){var r=t.ref;return J(typeof r!="string","Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"),r?u.cloneElement(t,{ref:function(i){V0(r,i),V0(e,i)}}):u.cloneElement(t,{ref:e})}function Un(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Un=function(r){return typeof r}:Un=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Un(t)}function yl(t){return t!==null&&Un(t)==="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function Cl(t,e,r,n){var i=void 0;if(i!==void 0)return!!i;if(t===e)return!0;if(typeof t!="object"||!t||typeof e!="object"||!e)return!1;var o=Object.keys(t),l=Object.keys(e);if(o.length!==l.length)return!1;for(var a=Object.prototype.hasOwnProperty.bind(e),s=0;s<o.length;s++){var c=o[s];if(!a(c))return!1;var d=t[c],f=e[c];if(i=void 0,i===!1||i===void 0&&d!==f)return!1}return!0}function Z8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function G8(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function q8(t,e,r){return e&&G8(t.prototype,e),t}function Ee(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Y8=function(){function t(e){var r=this;Z8(this,t),Ee(this,"hooks",jf({dragSource:function(i,o){r.clearDragSource(),r.dragSourceOptions=o||null,yl(i)?r.dragSourceRef=i:r.dragSourceNode=i,r.reconnectDragSource()},dragPreview:function(i,o){r.clearDragPreview(),r.dragPreviewOptions=o||null,yl(i)?r.dragPreviewRef=i:r.dragPreviewNode=i,r.reconnectDragPreview()}})),Ee(this,"handlerId",null),Ee(this,"dragSourceRef",null),Ee(this,"dragSourceNode",void 0),Ee(this,"dragSourceOptionsInternal",null),Ee(this,"dragSourceUnsubscribe",void 0),Ee(this,"dragPreviewRef",null),Ee(this,"dragPreviewNode",void 0),Ee(this,"dragPreviewOptionsInternal",null),Ee(this,"dragPreviewUnsubscribe",void 0),Ee(this,"lastConnectedHandlerId",null),Ee(this,"lastConnectedDragSource",null),Ee(this,"lastConnectedDragSourceOptions",null),Ee(this,"lastConnectedDragPreview",null),Ee(this,"lastConnectedDragPreviewOptions",null),Ee(this,"backend",void 0),this.backend=e}return q8(t,[{key:"receiveHandlerId",value:function(r){this.handlerId!==r&&(this.handlerId=r,this.reconnect())}},{key:"connectTarget",get:function(){return this.dragSource}},{key:"dragSourceOptions",get:function(){return this.dragSourceOptionsInternal},set:function(r){this.dragSourceOptionsInternal=r}},{key:"dragPreviewOptions",get:function(){return this.dragPreviewOptionsInternal},set:function(r){this.dragPreviewOptionsInternal=r}},{key:"reconnect",value:function(){this.reconnectDragSource(),this.reconnectDragPreview()}},{key:"reconnectDragSource",value:function(){var r=this.dragSource,n=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();if(n&&this.disconnectDragSource(),!!this.handlerId){if(!r){this.lastConnectedDragSource=r;return}n&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=r,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,r,this.dragSourceOptions))}}},{key:"reconnectDragPreview",value:function(){var r=this.dragPreview,n=this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();if(n&&this.disconnectDragPreview(),!!this.handlerId){if(!r){this.lastConnectedDragPreview=r;return}n&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=r,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,r,this.dragPreviewOptions))}}},{key:"didHandlerIdChange",value:function(){return this.lastConnectedHandlerId!==this.handlerId}},{key:"didConnectedDragSourceChange",value:function(){return this.lastConnectedDragSource!==this.dragSource}},{key:"didConnectedDragPreviewChange",value:function(){return this.lastConnectedDragPreview!==this.dragPreview}},{key:"didDragSourceOptionsChange",value:function(){return!Cl(this.lastConnectedDragSourceOptions,this.dragSourceOptions)}},{key:"didDragPreviewOptionsChange",value:function(){return!Cl(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)}},{key:"disconnectDragSource",value:function(){this.dragSourceUnsubscribe&&(this.dragSourceUnsubscribe(),this.dragSourceUnsubscribe=void 0)}},{key:"disconnectDragPreview",value:function(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null)}},{key:"dragSource",get:function(){return this.dragSourceNode||this.dragSourceRef&&this.dragSourceRef.current}},{key:"dragPreview",get:function(){return this.dragPreviewNode||this.dragPreviewRef&&this.dragPreviewRef.current}},{key:"clearDragSource",value:function(){this.dragSourceNode=null,this.dragSourceRef=null}},{key:"clearDragPreview",value:function(){this.dragPreviewNode=null,this.dragPreviewRef=null}}]),t}();function X8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function J8(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Q8(t,e,r){return e&&J8(t.prototype,e),t}function Ze(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var e6=function(){function t(e){var r=this;X8(this,t),Ze(this,"hooks",jf({dropTarget:function(i,o){r.clearDropTarget(),r.dropTargetOptions=o,yl(i)?r.dropTargetRef=i:r.dropTargetNode=i,r.reconnect()}})),Ze(this,"handlerId",null),Ze(this,"dropTargetRef",null),Ze(this,"dropTargetNode",void 0),Ze(this,"dropTargetOptionsInternal",null),Ze(this,"unsubscribeDropTarget",void 0),Ze(this,"lastConnectedHandlerId",null),Ze(this,"lastConnectedDropTarget",null),Ze(this,"lastConnectedDropTargetOptions",null),Ze(this,"backend",void 0),this.backend=e}return Q8(t,[{key:"connectTarget",get:function(){return this.dropTarget}},{key:"reconnect",value:function(){var r=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();r&&this.disconnectDropTarget();var n=this.dropTarget;if(this.handlerId){if(!n){this.lastConnectedDropTarget=n;return}r&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=n,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,n,this.dropTargetOptions))}}},{key:"receiveHandlerId",value:function(r){r!==this.handlerId&&(this.handlerId=r,this.reconnect())}},{key:"dropTargetOptions",get:function(){return this.dropTargetOptionsInternal},set:function(r){this.dropTargetOptionsInternal=r}},{key:"didHandlerIdChange",value:function(){return this.lastConnectedHandlerId!==this.handlerId}},{key:"didDropTargetChange",value:function(){return this.lastConnectedDropTarget!==this.dropTarget}},{key:"didOptionsChange",value:function(){return!Cl(this.lastConnectedDropTargetOptions,this.dropTargetOptions)}},{key:"disconnectDropTarget",value:function(){this.unsubscribeDropTarget&&(this.unsubscribeDropTarget(),this.unsubscribeDropTarget=void 0)}},{key:"dropTarget",get:function(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.current}},{key:"clearDropTarget",value:function(){this.dropTargetRef=null,this.dropTargetNode=null}}]),t}();function t6(t,e,r){var n=r.getRegistry(),i=n.addTarget(t,e);return[i,function(){return n.removeTarget(i)}]}function r6(t,e,r){var n=r.getRegistry(),i=n.addSource(t,e);return[i,function(){return n.removeSource(i)}]}var Bt=typeof window<"u"?u.useLayoutEffect:u.useEffect;function Wn(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Wn=function(r){return typeof r}:Wn=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Wn(t)}function n6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i6(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o6(t,e,r){return e&&i6(t.prototype,e),t}function _o(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var l6=function(){function t(e,r,n){n6(this,t),_o(this,"spec",void 0),_o(this,"monitor",void 0),_o(this,"connector",void 0),this.spec=e,this.monitor=r,this.connector=n}return o6(t,[{key:"beginDrag",value:function(){var r,n=this.spec,i=this.monitor,o=null;return Wn(n.item)==="object"?o=n.item:typeof n.item=="function"?o=n.item(i):o={},(r=o)!==null&&r!==void 0?r:null}},{key:"canDrag",value:function(){var r=this.spec,n=this.monitor;return typeof r.canDrag=="boolean"?r.canDrag:typeof r.canDrag=="function"?r.canDrag(n):!0}},{key:"isDragging",value:function(r,n){var i=this.spec,o=this.monitor,l=i.isDragging;return l?l(o):n===r.getSourceId()}},{key:"endDrag",value:function(){var r=this.spec,n=this.monitor,i=this.connector,o=r.end;o&&o(n.getItem(),n),i.reconnect()}}]),t}();function a6(t,e,r){var n=u.useMemo(function(){return new l6(t,e,r)},[e,r]);return u.useEffect(function(){n.spec=t},[t]),n}function Vt(){var t=u.useContext(If),e=t.dragDropManager;return J(e!=null,"Expected drag drop context"),e}function s6(t){return u.useMemo(function(){var e=t.type;return J(e!=null,"spec.type must be defined"),e},[t])}function c6(t,e){return h6(t)||f6(t,e)||d6(t,e)||u6()}function u6(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
91
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function d6(t,e){if(t){if(typeof t=="string")return z0(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return z0(t,e)}}function z0(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function f6(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n=[],i=!0,o=!1,l,a;try{for(r=r.call(t);!(i=(l=r.next()).done)&&(n.push(l.value),!(e&&n.length===e));i=!0);}catch(s){o=!0,a=s}finally{try{!i&&r.return!=null&&r.return()}finally{if(o)throw a}}return n}}function h6(t){if(Array.isArray(t))return t}function p6(t,e,r){var n=Vt(),i=a6(t,e,r),o=s6(t);Bt(function(){if(o!=null){var a=r6(o,i,n),s=c6(a,2),c=s[0],d=s[1];return e.receiveHandlerId(c),r.receiveHandlerId(c),d}},[n,e,r,i,o])}function g6(t){return y6(t)||m6(t)||b6(t)||v6()}function v6(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
92
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function b6(t,e){if(t){if(typeof t=="string")return El(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return El(t,e)}}function m6(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function y6(t){if(Array.isArray(t))return El(t)}function El(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Hf(t,e){var r=g6(e||[]);return e==null&&typeof t!="function"&&r.push(t),u.useMemo(function(){return typeof t=="function"?t():t},r)}function C6(){var t=Vt();return u.useMemo(function(){return new L8(t)},[t])}function E6(t,e){var r=Vt(),n=u.useMemo(function(){return new Y8(r.getBackend())},[r]);return Bt(function(){return n.dragSourceOptions=t||null,n.reconnect(),function(){return n.disconnectDragSource()}},[n,t]),Bt(function(){return n.dragPreviewOptions=e||null,n.reconnect(),function(){return n.disconnectDragPreview()}},[n,e]),n}var ko,U0;function w6(){return U0||(U0=1,ko=function t(e,r){if(e===r)return!0;if(e&&r&&typeof e=="object"&&typeof r=="object"){if(e.constructor!==r.constructor)return!1;var n,i,o;if(Array.isArray(e)){if(n=e.length,n!=r.length)return!1;for(i=n;i--!==0;)if(!t(e[i],r[i]))return!1;return!0}if(e.constructor===RegExp)return e.source===r.source&&e.flags===r.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===r.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===r.toString();if(o=Object.keys(e),n=o.length,n!==Object.keys(r).length)return!1;for(i=n;i--!==0;)if(!Object.prototype.hasOwnProperty.call(r,o[i]))return!1;for(i=n;i--!==0;){var l=o[i];if(!t(e[l],r[l]))return!1}return!0}return e!==e&&r!==r}),ko}var D6=w6();const x6=w1(D6);function S6(t,e){return T6(t)||P6(t,e)||$6(t,e)||F6()}function F6(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
93
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $6(t,e){if(t){if(typeof t=="string")return W0(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return W0(t,e)}}function W0(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function P6(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n=[],i=!0,o=!1,l,a;try{for(r=r.call(t);!(i=(l=r.next()).done)&&(n.push(l.value),!(e&&n.length===e));i=!0);}catch(s){o=!0,a=s}finally{try{!i&&r.return!=null&&r.return()}finally{if(o)throw a}}return n}}function T6(t){if(Array.isArray(t))return t}function Vf(t,e,r){var n=u.useState(function(){return e(t)}),i=S6(n,2),o=i[0],l=i[1],a=u.useCallback(function(){var s=e(t);x6(o,s)||(l(s),r&&r())},[o,t,r]);return Bt(a),[o,a]}function A6(t,e){return O6(t)||I6(t,e)||k6(t,e)||_6()}function _6(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
94
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function k6(t,e){if(t){if(typeof t=="string")return Z0(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Z0(t,e)}}function Z0(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function I6(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n=[],i=!0,o=!1,l,a;try{for(r=r.call(t);!(i=(l=r.next()).done)&&(n.push(l.value),!(e&&n.length===e));i=!0);}catch(s){o=!0,a=s}finally{try{!i&&r.return!=null&&r.return()}finally{if(o)throw a}}return n}}function O6(t){if(Array.isArray(t))return t}function N6(t,e,r){var n=Vf(t,e,r),i=A6(n,2),o=i[0],l=i[1];return Bt(function(){var s=t.getHandlerId();if(s!=null)return t.subscribeToStateChange(l,{handlerIds:[s]})},[t,l]),o}function zf(t,e,r){return N6(e,t||function(){return{}},function(){return r.reconnect()})}function M6(t){return u.useMemo(function(){return t.hooks.dragSource()},[t])}function B6(t){return u.useMemo(function(){return t.hooks.dragPreview()},[t])}function R6(t,e){var r=Hf(t,e);J(!r.begin,"useDrag::spec.begin was deprecated in v14. Replace spec.begin() with spec.item(). (see more here - https://react-dnd.github.io/react-dnd/docs/api/use-drag)");var n=C6(),i=E6(r.options,r.previewOptions);return p6(r,n,i),[zf(r.collect,n,i),M6(i),B6(i)]}function L6(t){var e=t.accept;return u.useMemo(function(){return J(t.accept!=null,"accept must be defined"),Array.isArray(e)?e:[e]},[e])}function K6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function j6(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function H6(t,e,r){return e&&j6(t.prototype,e),t}function G0(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var V6=function(){function t(e,r){K6(this,t),G0(this,"spec",void 0),G0(this,"monitor",void 0),this.spec=e,this.monitor=r}return H6(t,[{key:"canDrop",value:function(){var r=this.spec,n=this.monitor;return r.canDrop?r.canDrop(n.getItem(),n):!0}},{key:"hover",value:function(){var r=this.spec,n=this.monitor;r.hover&&r.hover(n.getItem(),n)}},{key:"drop",value:function(){var r=this.spec,n=this.monitor;if(r.drop)return r.drop(n.getItem(),n)}}]),t}();function z6(t,e){var r=u.useMemo(function(){return new V6(t,e)},[e]);return u.useEffect(function(){r.spec=t},[t]),r}function U6(t,e){return q6(t)||G6(t,e)||Z6(t,e)||W6()}function W6(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
95
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Z6(t,e){if(t){if(typeof t=="string")return q0(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return q0(t,e)}}function q0(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function G6(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n=[],i=!0,o=!1,l,a;try{for(r=r.call(t);!(i=(l=r.next()).done)&&(n.push(l.value),!(e&&n.length===e));i=!0);}catch(s){o=!0,a=s}finally{try{!i&&r.return!=null&&r.return()}finally{if(o)throw a}}return n}}function q6(t){if(Array.isArray(t))return t}function Y6(t,e,r){var n=Vt(),i=z6(t,e),o=L6(t);Bt(function(){var a=t6(o,i,n),s=U6(a,2),c=s[0],d=s[1];return e.receiveHandlerId(c),r.receiveHandlerId(c),d},[n,e,i,r,o.map(function(l){return l.toString()}).join("|")])}function X6(){var t=Vt();return u.useMemo(function(){return new V8(t)},[t])}function J6(t){var e=Vt(),r=u.useMemo(function(){return new e6(e.getBackend())},[e]);return Bt(function(){return r.dropTargetOptions=t||null,r.reconnect(),function(){return r.disconnectDropTarget()}},[t]),r}function Q6(t){return u.useMemo(function(){return t.hooks.dropTarget()},[t])}function Uf(t,e){var r=Hf(t,e),n=X6(),i=J6(r.options);return Y6(r,n,i),[zf(r.collect,n,i),Q6(i)]}function eb(t,e){return ib(t)||nb(t,e)||rb(t,e)||tb()}function tb(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
96
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function rb(t,e){if(t){if(typeof t=="string")return Y0(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Y0(t,e)}}function Y0(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function nb(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n=[],i=!0,o=!1,l,a;try{for(r=r.call(t);!(i=(l=r.next()).done)&&(n.push(l.value),!(e&&n.length===e));i=!0);}catch(s){o=!0,a=s}finally{try{!i&&r.return!=null&&r.return()}finally{if(o)throw a}}return n}}function ib(t){if(Array.isArray(t))return t}function ob(t){var e=Vt(),r=e.getMonitor(),n=Vf(r,t),i=eb(n,2),o=i[0],l=i[1];return u.useEffect(function(){return r.subscribeToOffsetChange(l)}),u.useEffect(function(){return r.subscribeToStateChange(l)}),o}function Wf(t){var e=null,r=function(){return e==null&&(e=t()),e};return r}function lb(t,e){return t.filter(function(r){return r!==e})}function ab(t,e){var r=new Set,n=function(l){return r.add(l)};t.forEach(n),e.forEach(n);var i=[];return r.forEach(function(o){return i.push(o)}),i}function sb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function cb(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function ub(t,e,r){return e&&cb(t.prototype,e),t}function X0(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var db=function(){function t(e){sb(this,t),X0(this,"entered",[]),X0(this,"isNodeInDocument",void 0),this.isNodeInDocument=e}return ub(t,[{key:"enter",value:function(r){var n=this,i=this.entered.length,o=function(a){return n.isNodeInDocument(a)&&(!a.contains||a.contains(r))};return this.entered=ab(this.entered.filter(o),[r]),i===0&&this.entered.length>0}},{key:"leave",value:function(r){var n=this.entered.length;return this.entered=lb(this.entered.filter(this.isNodeInDocument),r),n>0&&this.entered.length===0}},{key:"reset",value:function(){this.entered=[]}}]),t}(),fb=Wf(function(){return/firefox/i.test(navigator.userAgent)}),Zf=Wf(function(){return!!window.safari});function hb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pb(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function gb(t,e,r){return e&&pb(t.prototype,e),t}function Rr(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var J0=function(){function t(e,r){hb(this,t),Rr(this,"xs",void 0),Rr(this,"ys",void 0),Rr(this,"c1s",void 0),Rr(this,"c2s",void 0),Rr(this,"c3s",void 0);for(var n=e.length,i=[],o=0;o<n;o++)i.push(o);i.sort(function(M,_){return e[M]<e[_]?-1:1});for(var l=[],a=[],s,c,d=0;d<n-1;d++)s=e[d+1]-e[d],c=r[d+1]-r[d],l.push(s),a.push(c/s);for(var f=[a[0]],p=0;p<l.length-1;p++){var g=a[p],y=a[p+1];if(g*y<=0)f.push(0);else{s=l[p];var h=l[p+1],v=s+h;f.push(3*v/((v+h)/g+(v+s)/y))}}f.push(a[a.length-1]);for(var b=[],E=[],C,D=0;D<f.length-1;D++){C=a[D];var F=f[D],w=1/l[D],S=F+f[D+1]-C-C;b.push((C-F-S)*w),E.push(S*w*w)}this.xs=e,this.ys=r,this.c1s=f,this.c2s=b,this.c3s=E}return gb(t,[{key:"interpolate",value:function(r){var n=this.xs,i=this.ys,o=this.c1s,l=this.c2s,a=this.c3s,s=n.length-1;if(r===n[s])return i[s];for(var c=0,d=a.length-1,f;c<=d;){f=Math.floor(.5*(c+d));var p=n[f];if(p<r)c=f+1;else if(p>r)d=f-1;else return i[f]}s=Math.max(0,d);var g=r-n[s],y=g*g;return i[s]+o[s]*g+l[s]*y+a[s]*g*y}}]),t}(),vb=1;function Gf(t){var e=t.nodeType===vb?t:t.parentElement;if(!e)return null;var r=e.getBoundingClientRect(),n=r.top,i=r.left;return{x:i,y:n}}function Tn(t){return{x:t.clientX,y:t.clientY}}function bb(t){var e;return t.nodeName==="IMG"&&(fb()||!((e=document.documentElement)!==null&&e!==void 0&&e.contains(t)))}function mb(t,e,r,n){var i=t?e.width:r,o=t?e.height:n;return Zf()&&t&&(o/=window.devicePixelRatio,i/=window.devicePixelRatio),{dragPreviewWidth:i,dragPreviewHeight:o}}function yb(t,e,r,n,i){var o=bb(e),l=o?t:e,a=Gf(l),s={x:r.x-a.x,y:r.y-a.y},c=t.offsetWidth,d=t.offsetHeight,f=n.anchorX,p=n.anchorY,g=mb(o,e,c,d),y=g.dragPreviewWidth,h=g.dragPreviewHeight,v=function(){var S=new J0([0,.5,1],[s.y,s.y/d*h,s.y+h-d]),M=S.interpolate(p);return Zf()&&o&&(M+=(window.devicePixelRatio-1)*h),M},b=function(){var S=new J0([0,.5,1],[s.x,s.x/c*y,s.x+y-c]);return S.interpolate(f)},E=i.offsetX,C=i.offsetY,D=E===0||E,F=C===0||C;return{x:D?E:b(),y:F?C:v()}}var qf="__NATIVE_FILE__",Yf="__NATIVE_URL__",Xf="__NATIVE_TEXT__",Jf="__NATIVE_HTML__";const Q0=Object.freeze(Object.defineProperty({__proto__:null,FILE:qf,HTML:Jf,TEXT:Xf,URL:Yf},Symbol.toStringTag,{value:"Module"}));function Io(t,e,r){var n=e.reduce(function(i,o){return i||t.getData(o)},"");return n??r}var rr;function An(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var wl=(rr={},An(rr,qf,{exposeProperties:{files:function(e){return Array.prototype.slice.call(e.files)},items:function(e){return e.items},dataTransfer:function(e){return e}},matchesTypes:["Files"]}),An(rr,Jf,{exposeProperties:{html:function(e,r){return Io(e,r,"")},dataTransfer:function(e){return e}},matchesTypes:["Html","text/html"]}),An(rr,Yf,{exposeProperties:{urls:function(e,r){return Io(e,r,"").split(`
97
- `)},dataTransfer:function(e){return e}},matchesTypes:["Url","text/uri-list"]}),An(rr,Xf,{exposeProperties:{text:function(e,r){return Io(e,r,"")},dataTransfer:function(e){return e}},matchesTypes:["Text","text/plain"]}),rr);function Cb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Eb(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function wb(t,e,r){return e&&Eb(t.prototype,e),t}function ec(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Db=function(){function t(e){Cb(this,t),ec(this,"item",void 0),ec(this,"config",void 0),this.config=e,this.item={},this.initializeExposedProperties()}return wb(t,[{key:"initializeExposedProperties",value:function(){var r=this;Object.keys(this.config.exposeProperties).forEach(function(n){Object.defineProperty(r.item,n,{configurable:!0,enumerable:!0,get:function(){return console.warn(`Browser doesn't allow reading "`.concat(n,'" until the drop event.')),null}})})}},{key:"loadDataTransfer",value:function(r){var n=this;if(r){var i={};Object.keys(this.config.exposeProperties).forEach(function(o){i[o]={value:n.config.exposeProperties[o](r,n.config.matchesTypes),configurable:!0,enumerable:!0}}),Object.defineProperties(this.item,i)}}},{key:"canDrag",value:function(){return!0}},{key:"beginDrag",value:function(){return this.item}},{key:"isDragging",value:function(r,n){return n===r.getSourceId()}},{key:"endDrag",value:function(){}}]),t}();function xb(t,e){var r=new Db(wl[t]);return r.loadDataTransfer(e),r}function Oo(t){if(!t)return null;var e=Array.prototype.slice.call(t.types||[]);return Object.keys(wl).filter(function(r){var n=wl[r].matchesTypes;return n.some(function(i){return e.indexOf(i)>-1})})[0]||null}function Sb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fb(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function $b(t,e,r){return e&&Fb(t.prototype,e),t}function No(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Pb=function(){function t(e,r){Sb(this,t),No(this,"ownerDocument",null),No(this,"globalContext",void 0),No(this,"optionsArgs",void 0),this.globalContext=e,this.optionsArgs=r}return $b(t,[{key:"window",get:function(){if(this.globalContext)return this.globalContext;if(typeof window<"u")return window}},{key:"document",get:function(){var r;return(r=this.globalContext)!==null&&r!==void 0&&r.document?this.globalContext.document:this.window?this.window.document:void 0}},{key:"rootElement",get:function(){var r;return((r=this.optionsArgs)===null||r===void 0?void 0:r.rootElement)||this.window}}]),t}();function tc(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function rc(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?tc(Object(r),!0).forEach(function(n){ee(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tc(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Tb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ab(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function _b(t,e,r){return e&&Ab(t.prototype,e),t}function ee(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var kb=function(){function t(e,r,n){var i=this;Tb(this,t),ee(this,"options",void 0),ee(this,"actions",void 0),ee(this,"monitor",void 0),ee(this,"registry",void 0),ee(this,"enterLeaveCounter",void 0),ee(this,"sourcePreviewNodes",new Map),ee(this,"sourcePreviewNodeOptions",new Map),ee(this,"sourceNodes",new Map),ee(this,"sourceNodeOptions",new Map),ee(this,"dragStartSourceIds",null),ee(this,"dropTargetIds",[]),ee(this,"dragEnterTargetIds",[]),ee(this,"currentNativeSource",null),ee(this,"currentNativeHandle",null),ee(this,"currentDragSourceNode",null),ee(this,"altKeyPressed",!1),ee(this,"mouseMoveTimeoutTimer",null),ee(this,"asyncEndDragFrameId",null),ee(this,"dragOverTargetIds",null),ee(this,"lastClientOffset",null),ee(this,"hoverRafId",null),ee(this,"getSourceClientOffset",function(o){var l=i.sourceNodes.get(o);return l&&Gf(l)||null}),ee(this,"endDragNativeItem",function(){i.isDraggingNativeItem()&&(i.actions.endDrag(),i.currentNativeHandle&&i.registry.removeSource(i.currentNativeHandle),i.currentNativeHandle=null,i.currentNativeSource=null)}),ee(this,"isNodeInDocument",function(o){return!!(o&&i.document&&i.document.body&&i.document.body.contains(o))}),ee(this,"endDragIfSourceWasRemovedFromDOM",function(){var o=i.currentDragSourceNode;o==null||i.isNodeInDocument(o)||i.clearCurrentDragSourceNode()&&i.monitor.isDragging()&&i.actions.endDrag()}),ee(this,"handleTopDragStartCapture",function(){i.clearCurrentDragSourceNode(),i.dragStartSourceIds=[]}),ee(this,"handleTopDragStart",function(o){if(!o.defaultPrevented){var l=i.dragStartSourceIds;i.dragStartSourceIds=null;var a=Tn(o);i.monitor.isDragging()&&i.actions.endDrag(),i.actions.beginDrag(l||[],{publishSource:!1,getSourceClientOffset:i.getSourceClientOffset,clientOffset:a});var s=o.dataTransfer,c=Oo(s);if(i.monitor.isDragging()){if(s&&typeof s.setDragImage=="function"){var d=i.monitor.getSourceId(),f=i.sourceNodes.get(d),p=i.sourcePreviewNodes.get(d)||f;if(p){var g=i.getCurrentSourcePreviewNodeOptions(),y=g.anchorX,h=g.anchorY,v=g.offsetX,b=g.offsetY,E={anchorX:y,anchorY:h},C={offsetX:v,offsetY:b},D=yb(f,p,a,E,C);s.setDragImage(p,D.x,D.y)}}try{s==null||s.setData("application/json",{})}catch{}i.setCurrentDragSourceNode(o.target);var F=i.getCurrentSourcePreviewNodeOptions(),w=F.captureDraggingState;w?i.actions.publishDragSource():setTimeout(function(){return i.actions.publishDragSource()},0)}else if(c)i.beginDragNativeItem(c);else{if(s&&!s.types&&(o.target&&!o.target.hasAttribute||!o.target.hasAttribute("draggable")))return;o.preventDefault()}}}),ee(this,"handleTopDragEndCapture",function(){i.clearCurrentDragSourceNode()&&i.monitor.isDragging()&&i.actions.endDrag()}),ee(this,"handleTopDragEnterCapture",function(o){i.dragEnterTargetIds=[];var l=i.enterLeaveCounter.enter(o.target);if(!(!l||i.monitor.isDragging())){var a=o.dataTransfer,s=Oo(a);s&&i.beginDragNativeItem(s,a)}}),ee(this,"handleTopDragEnter",function(o){var l=i.dragEnterTargetIds;if(i.dragEnterTargetIds=[],!!i.monitor.isDragging()){i.altKeyPressed=o.altKey,l.length>0&&i.actions.hover(l,{clientOffset:Tn(o)});var a=l.some(function(s){return i.monitor.canDropOnTarget(s)});a&&(o.preventDefault(),o.dataTransfer&&(o.dataTransfer.dropEffect=i.getCurrentDropEffect()))}}),ee(this,"handleTopDragOverCapture",function(){i.dragOverTargetIds=[]}),ee(this,"handleTopDragOver",function(o){var l=i.dragOverTargetIds;if(i.dragOverTargetIds=[],!i.monitor.isDragging()){o.preventDefault(),o.dataTransfer&&(o.dataTransfer.dropEffect="none");return}i.altKeyPressed=o.altKey,i.lastClientOffset=Tn(o),i.hoverRafId===null&&typeof requestAnimationFrame<"u"&&(i.hoverRafId=requestAnimationFrame(function(){i.monitor.isDragging()&&i.actions.hover(l||[],{clientOffset:i.lastClientOffset}),i.hoverRafId=null}));var a=(l||[]).some(function(s){return i.monitor.canDropOnTarget(s)});a?(o.preventDefault(),o.dataTransfer&&(o.dataTransfer.dropEffect=i.getCurrentDropEffect())):i.isDraggingNativeItem()?o.preventDefault():(o.preventDefault(),o.dataTransfer&&(o.dataTransfer.dropEffect="none"))}),ee(this,"handleTopDragLeaveCapture",function(o){i.isDraggingNativeItem()&&o.preventDefault();var l=i.enterLeaveCounter.leave(o.target);l&&i.isDraggingNativeItem()&&setTimeout(function(){return i.endDragNativeItem()},0)}),ee(this,"handleTopDropCapture",function(o){if(i.dropTargetIds=[],i.isDraggingNativeItem()){var l;o.preventDefault(),(l=i.currentNativeSource)===null||l===void 0||l.loadDataTransfer(o.dataTransfer)}else Oo(o.dataTransfer)&&o.preventDefault();i.enterLeaveCounter.reset()}),ee(this,"handleTopDrop",function(o){var l=i.dropTargetIds;i.dropTargetIds=[],i.actions.hover(l,{clientOffset:Tn(o)}),i.actions.drop({dropEffect:i.getCurrentDropEffect()}),i.isDraggingNativeItem()?i.endDragNativeItem():i.monitor.isDragging()&&i.actions.endDrag()}),ee(this,"handleSelectStart",function(o){var l=o.target;typeof l.dragDrop=="function"&&(l.tagName==="INPUT"||l.tagName==="SELECT"||l.tagName==="TEXTAREA"||l.isContentEditable||(o.preventDefault(),l.dragDrop()))}),this.options=new Pb(r,n),this.actions=e.getActions(),this.monitor=e.getMonitor(),this.registry=e.getRegistry(),this.enterLeaveCounter=new db(this.isNodeInDocument)}return _b(t,[{key:"profile",value:function(){var r,n;return{sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,sourceNodeOptions:this.sourceNodeOptions.size,sourceNodes:this.sourceNodes.size,dragStartSourceIds:((r=this.dragStartSourceIds)===null||r===void 0?void 0:r.length)||0,dropTargetIds:this.dropTargetIds.length,dragEnterTargetIds:this.dragEnterTargetIds.length,dragOverTargetIds:((n=this.dragOverTargetIds)===null||n===void 0?void 0:n.length)||0}}},{key:"window",get:function(){return this.options.window}},{key:"document",get:function(){return this.options.document}},{key:"rootElement",get:function(){return this.options.rootElement}},{key:"setup",value:function(){var r=this.rootElement;if(r!==void 0){if(r.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");r.__isReactDndBackendSetUp=!0,this.addEventListeners(r)}}},{key:"teardown",value:function(){var r=this.rootElement;if(r!==void 0&&(r.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.rootElement),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId)){var n;(n=this.window)===null||n===void 0||n.cancelAnimationFrame(this.asyncEndDragFrameId)}}},{key:"connectDragPreview",value:function(r,n,i){var o=this;return this.sourcePreviewNodeOptions.set(r,i),this.sourcePreviewNodes.set(r,n),function(){o.sourcePreviewNodes.delete(r),o.sourcePreviewNodeOptions.delete(r)}}},{key:"connectDragSource",value:function(r,n,i){var o=this;this.sourceNodes.set(r,n),this.sourceNodeOptions.set(r,i);var l=function(c){return o.handleDragStart(c,r)},a=function(c){return o.handleSelectStart(c)};return n.setAttribute("draggable","true"),n.addEventListener("dragstart",l),n.addEventListener("selectstart",a),function(){o.sourceNodes.delete(r),o.sourceNodeOptions.delete(r),n.removeEventListener("dragstart",l),n.removeEventListener("selectstart",a),n.setAttribute("draggable","false")}}},{key:"connectDropTarget",value:function(r,n){var i=this,o=function(c){return i.handleDragEnter(c,r)},l=function(c){return i.handleDragOver(c,r)},a=function(c){return i.handleDrop(c,r)};return n.addEventListener("dragenter",o),n.addEventListener("dragover",l),n.addEventListener("drop",a),function(){n.removeEventListener("dragenter",o),n.removeEventListener("dragover",l),n.removeEventListener("drop",a)}}},{key:"addEventListeners",value:function(r){r.addEventListener&&(r.addEventListener("dragstart",this.handleTopDragStart),r.addEventListener("dragstart",this.handleTopDragStartCapture,!0),r.addEventListener("dragend",this.handleTopDragEndCapture,!0),r.addEventListener("dragenter",this.handleTopDragEnter),r.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),r.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),r.addEventListener("dragover",this.handleTopDragOver),r.addEventListener("dragover",this.handleTopDragOverCapture,!0),r.addEventListener("drop",this.handleTopDrop),r.addEventListener("drop",this.handleTopDropCapture,!0))}},{key:"removeEventListeners",value:function(r){r.removeEventListener&&(r.removeEventListener("dragstart",this.handleTopDragStart),r.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),r.removeEventListener("dragend",this.handleTopDragEndCapture,!0),r.removeEventListener("dragenter",this.handleTopDragEnter),r.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),r.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),r.removeEventListener("dragover",this.handleTopDragOver),r.removeEventListener("dragover",this.handleTopDragOverCapture,!0),r.removeEventListener("drop",this.handleTopDrop),r.removeEventListener("drop",this.handleTopDropCapture,!0))}},{key:"getCurrentSourceNodeOptions",value:function(){var r=this.monitor.getSourceId(),n=this.sourceNodeOptions.get(r);return rc({dropEffect:this.altKeyPressed?"copy":"move"},n||{})}},{key:"getCurrentDropEffect",value:function(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}},{key:"getCurrentSourcePreviewNodeOptions",value:function(){var r=this.monitor.getSourceId(),n=this.sourcePreviewNodeOptions.get(r);return rc({anchorX:.5,anchorY:.5,captureDraggingState:!1},n||{})}},{key:"isDraggingNativeItem",value:function(){var r=this.monitor.getItemType();return Object.keys(Q0).some(function(n){return Q0[n]===r})}},{key:"beginDragNativeItem",value:function(r,n){this.clearCurrentDragSourceNode(),this.currentNativeSource=xb(r,n),this.currentNativeHandle=this.registry.addSource(r,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}},{key:"setCurrentDragSourceNode",value:function(r){var n=this;this.clearCurrentDragSourceNode(),this.currentDragSourceNode=r;var i=1e3;this.mouseMoveTimeoutTimer=setTimeout(function(){var o;return(o=n.rootElement)===null||o===void 0?void 0:o.addEventListener("mousemove",n.endDragIfSourceWasRemovedFromDOM,!0)},i)}},{key:"clearCurrentDragSourceNode",value:function(){if(this.currentDragSourceNode){if(this.currentDragSourceNode=null,this.rootElement){var r;(r=this.window)===null||r===void 0||r.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)}return this.mouseMoveTimeoutTimer=null,!0}return!1}},{key:"handleDragStart",value:function(r,n){r.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(n))}},{key:"handleDragEnter",value:function(r,n){this.dragEnterTargetIds.unshift(n)}},{key:"handleDragOver",value:function(r,n){this.dragOverTargetIds===null&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(n)}},{key:"handleDrop",value:function(r,n){this.dropTargetIds.unshift(n)}}]),t}(),_n;function Ib(){return _n||(_n=new Image,_n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),_n}var Ob=function(e,r,n){return new kb(e,r,n)};function Nb(t){const e=ke(),r=e.selectedIds,[n,i,o]=R6(()=>({canDrag:()=>t.isDraggable,type:"NODE",item:()=>{const l=e.isSelected(t.id)?Array.from(r):[t.id];return e.dispatch(wr.dragStart(t.id,l)),{id:t.id,dragIds:l}},end:()=>{e.hideCursor(),e.dispatch(wr.dragEnd())}}),[r,t]);return u.useEffect(()=>{o(Ib())},[o]),i}function Mb(t,e){const r=t.getBoundingClientRect(),n=e.x-Math.round(r.x),i=e.y-Math.round(r.y),o=r.height,l=i<o/2,a=!l,s=o/4,c=i>s&&i<o-s;return{x:n,inTopHalf:l,inBottomHalf:a,inMiddle:c,atTop:!c&&l,atBottom:!c&&a}}function Bb(t,e,r,n){return t?t.isInternal?n.atTop?[e,t]:n.inMiddle?[t,t]:[t,r]:n.inTopHalf?[e,t]:[t,r]:[e,null]}function kn(t,e){return{parentId:t||null,index:e}}function nr(t,e){return{type:"line",index:t,level:e}}function Rb(t){return{type:"highlight",id:t}}function Mo(t,e){var r;let n=t;for(;n.parent&&n.level>e;)n=n.parent;const i=((r=n.parent)===null||r===void 0?void 0:r.id)||null,o=Df(n)+1;return{parentId:i,index:o}}function Qf(t){var e;const r=Mb(t.element,t.offset),n=t.indent,i=Math.round(Math.max(0,r.x-n)/n),{node:o,nextNode:l,prevNode:a}=t,[s,c]=Bb(o,a,l,r);if(o&&o.isInternal&&r.inMiddle)return{drop:kn(o.id,null),cursor:Rb(o.id)};if(!s)return{drop:kn((e=c==null?void 0:c.parent)===null||e===void 0?void 0:e.id,0),cursor:nr(0,0)};if(yf(s)){const d=Ln(i,(c==null?void 0:c.level)||0,s.level);return{drop:Mo(s,d),cursor:nr(s.rowIndex+1,d)}}if(Cf(s)){const d=Ln(i,(c==null?void 0:c.level)||0,s.level);return{drop:Mo(s,d),cursor:nr(s.rowIndex+1,d)}}if(Ef(s)){const d=Ln(i,0,s.level+1);return d>s.level?{drop:kn(s.id,0),cursor:nr(s.rowIndex+1,d)}:{drop:Mo(s,d),cursor:nr(s.rowIndex+1,d)}}return{drop:kn(s==null?void 0:s.id,0),cursor:nr(s.rowIndex+1,s.level+1)}}function Lb(t,e){const r=ke(),[n,i]=Uf(()=>({accept:"NODE",canDrop:()=>r.canDrop(),hover:(o,l)=>{const a=l.getClientOffset();if(!t.current||!a)return;const{cursor:s,drop:c}=Qf({element:t.current,offset:a,indent:r.indent,node:e,prevNode:e.prev,nextNode:e.next});c&&r.dispatch(wr.hovering(c.parentId,c.index)),l.canDrop()?s&&r.showCursor(s):r.hideCursor()},drop:(o,l)=>{if(!l.canDrop())return null;let{parentId:a,index:s,dragIds:c}=r.state.dnd;Pf(r.props.onMove,{dragIds:c,parentId:a===an?null:a,index:s===null?0:s,dragNodes:r.dragNodes,parentNode:r.get(a)}),r.open(a)}}),[e,t.current,r.props]);return i}function Kb(t){const e=ke(),r=e.at(t);if(!r)throw new Error(`Could not find node for index: ${t}`);return u.useMemo(()=>{const n=r.clone();return e.visibleNodes[t]=n,n},[...Object.values(r.state),r])}const jb=u.memo(function({index:e,style:r}){mf(),a9();const n=ke(),i=Kb(e),o=u.useRef(null),l=Nb(i),a=Lb(o,i),s=u.useCallback(h=>{o.current=h,a(h)},[a]),c=n.indent*i.level,d=u.useMemo(()=>({paddingLeft:c}),[c]),f=u.useMemo(()=>{var h,v;return Object.assign(Object.assign({},r),{top:parseFloat(r.top)+((v=(h=n.props.padding)!==null&&h!==void 0?h:n.props.paddingTop)!==null&&v!==void 0?v:0)})},[r,n.props.padding,n.props.paddingTop]),p={role:"treeitem","aria-level":i.level+1,"aria-selected":i.isSelected,"aria-expanded":i.isOpen,style:f,tabIndex:-1,className:n.props.rowClassName};u.useEffect(()=>{var h;!i.isEditing&&i.isFocused&&((h=o.current)===null||h===void 0||h.focus({preventScroll:!0}))},[i.isEditing,i.isFocused,o.current]);const g=n.renderNode,y=n.renderRow;return m.jsx(y,{node:i,innerRef:s,attrs:p,children:m.jsx(g,{node:i,tree:n,style:d,dragHandle:l})})});let Bo="",nc=null;function e1(){mf();const t=ke();return m.jsx("div",{role:"tree",style:{height:t.height,width:t.width,minHeight:0,minWidth:0},onContextMenu:t.props.onContextMenu,onClick:t.props.onClick,tabIndex:0,onFocus:e=>{e.currentTarget.contains(e.relatedTarget)||t.onFocus()},onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||t.onBlur()},onKeyDown:e=>{var r;if(t.isEditing)return;if(e.key==="Backspace"){if(!t.props.onDelete)return;const i=Array.from(t.selectedIds);if(i.length>1){let o=t.mostRecentNode;for(;o&&o.isSelected;)o=o.nextSibling;o||(o=t.lastNode),t.focus(o,{scroll:!1}),t.delete(Array.from(i))}else{const o=t.focusedNode;if(o){const l=o.nextSibling,a=o.parent;t.focus(l||a,{scroll:!1}),t.delete(o)}}return}if(e.key==="Tab"&&!e.shiftKey){e.preventDefault(),xf(e.currentTarget);return}if(e.key==="Tab"&&e.shiftKey){e.preventDefault(),Sf(e.currentTarget);return}if(e.key==="ArrowDown"){e.preventDefault();const i=t.nextNode;if(e.metaKey){t.select(t.focusedNode),t.activate(t.focusedNode);return}else if(!e.shiftKey||t.props.disableMultiSelection){t.focus(i);return}else{if(!i)return;const o=t.focusedNode;o?o.isSelected?t.selectContiguous(i):t.selectMulti(i):t.focus(t.firstNode);return}}if(e.key==="ArrowUp"){e.preventDefault();const i=t.prevNode;if(!e.shiftKey||t.props.disableMultiSelection){t.focus(i);return}else{if(!i)return;const o=t.focusedNode;o?o.isSelected?t.selectContiguous(i):t.selectMulti(i):t.focus(t.lastNode);return}}if(e.key==="ArrowRight"){const i=t.focusedNode;if(!i)return;i.isInternal&&i.isOpen?t.focus(t.nextNode):i.isInternal&&t.open(i.id);return}if(e.key==="ArrowLeft"){const i=t.focusedNode;if(!i||i.isRoot)return;i.isInternal&&i.isOpen?t.close(i.id):!((r=i.parent)===null||r===void 0)&&r.isRoot||t.focus(i.parent);return}if(e.key==="a"&&e.metaKey&&!t.props.disableMultiSelection){e.preventDefault(),t.selectAll();return}if(e.key==="a"&&!e.metaKey&&t.props.onCreate){t.createLeaf();return}if(e.key==="A"&&!e.metaKey){if(!t.props.onCreate)return;t.createInternal();return}if(e.key==="Home"){e.preventDefault(),t.focus(t.firstNode);return}if(e.key==="End"){e.preventDefault(),t.focus(t.lastNode);return}if(e.key==="Enter"){const i=t.focusedNode;if(!i||!i.isEditable||!t.props.onRename)return;setTimeout(()=>{i&&t.edit(i)});return}if(e.key===" "){e.preventDefault();const i=t.focusedNode;if(!i)return;i.isLeaf?(i.select(),i.activate()):i.toggle();return}if(e.key==="*"){const i=t.focusedNode;if(!i)return;t.openSiblings(i);return}if(e.key==="PageUp"){e.preventDefault(),t.pageUp();return}e.key==="PageDown"&&(e.preventDefault(),t.pageDown()),clearTimeout(nc),Bo+=e.key,nc=setTimeout(()=>{Bo=""},600);const n=t.visibleNodes.find(i=>{const o=i.data.name;return typeof o=="string"?o.toLowerCase().startsWith(Bo):!1});n&&t.focus(n.id)},children:m.jsx(z9,{className:t.props.className,outerRef:t.listEl,itemCount:t.visibleNodes.length,height:t.height,width:t.width,itemSize:t.rowHeight,overscanCount:t.overscanCount,itemKey:e=>{var r;return((r=t.visibleNodes[e])===null||r===void 0?void 0:r.id)||e},outerElementType:Z9,innerElementType:Y9,onScroll:t.props.onScroll,onItemsRendered:t.onItemsRendered.bind(t),ref:t.list,children:jb})})}function ic(t){return t.isFiltered?Vb(t.root,t.isMatch.bind(t)):Hb(t.root)}function Hb(t){const e=[];function r(n){var i;n.level>=0&&e.push(n),n.isOpen&&((i=n.children)===null||i===void 0||i.forEach(r))}return r(t),e.forEach(t1),e}function Vb(t,e){const r={},n=[];function i(l){if(!l.isRoot&&e(l)){r[l.id]=!0;let s=l.parent;for(;s;)r[s.id]=!0,s=s.parent}if(l.children)for(let s of l.children)i(s)}function o(l){var a;l.level>=0&&r[l.id]&&n.push(l),l.isOpen&&((a=l.children)===null||a===void 0||a.forEach(o))}return i(t),o(t),n.forEach(t1),n}function t1(t,e){t.rowIndex=e}const oc=t=>t.reduce((e,r,n)=>(e[r.id]=n,e),{});var Ro=function(t,e,r,n){function i(o){return o instanceof r?o:new r(function(l){l(o)})}return new(r||(r=Promise))(function(o,l){function a(d){try{c(n.next(d))}catch(f){l(f)}}function s(d){try{c(n.throw(d))}catch(f){l(f)}}function c(d){d.done?o(d.value):i(d.value).then(a,s)}c((n=n.apply(t,e||[])).next())})};const{safeRun:me,identify:Je,identifyNull:Ke}=h9;class vr{constructor(e,r,n,i){this.store=e,this.props=r,this.list=n,this.listEl=i,this.visibleStartIndex=0,this.visibleStopIndex=0,this.root=p0(this),this.visibleNodes=ic(this),this.idToIndex=oc(this.visibleNodes)}update(e){this.props=e,this.root=p0(this),this.visibleNodes=ic(this),this.idToIndex=oc(this.visibleNodes)}dispatch(e){return this.store.dispatch(e)}get state(){return this.store.getState()}get openState(){return this.state.nodes.open.unfiltered}get width(){var e;return(e=this.props.width)!==null&&e!==void 0?e:300}get height(){var e;return(e=this.props.height)!==null&&e!==void 0?e:500}get indent(){var e;return(e=this.props.indent)!==null&&e!==void 0?e:24}get rowHeight(){var e;return(e=this.props.rowHeight)!==null&&e!==void 0?e:24}get overscanCount(){var e;return(e=this.props.overscanCount)!==null&&e!==void 0?e:1}get searchTerm(){return(this.props.searchTerm||"").trim()}get matchFn(){var e;const r=(e=this.props.searchMatch)!==null&&e!==void 0?e:(n,i)=>JSON.stringify(Object.values(n.data)).toLocaleLowerCase().includes(i.toLocaleLowerCase());return n=>r(n,this.searchTerm)}accessChildren(e){var r;const n=this.props.childrenAccessor||"children";return(r=zr(e,n))!==null&&r!==void 0?r:null}accessId(e){const r=this.props.idAccessor||"id",n=zr(e,r);if(!n)throw new Error("Data must contain an 'id' property or props.idAccessor must return a string");return n}get firstNode(){var e;return(e=this.visibleNodes[0])!==null&&e!==void 0?e:null}get lastNode(){var e;return(e=this.visibleNodes[this.visibleNodes.length-1])!==null&&e!==void 0?e:null}get focusedNode(){var e;return(e=this.get(this.state.nodes.focus.id))!==null&&e!==void 0?e:null}get mostRecentNode(){var e;return(e=this.get(this.state.nodes.selection.mostRecent))!==null&&e!==void 0?e:null}get nextNode(){const e=this.indexOf(this.focusedNode);return e===null?null:this.at(e+1)}get prevNode(){const e=this.indexOf(this.focusedNode);return e===null?null:this.at(e-1)}get(e){return e&&e in this.idToIndex&&this.visibleNodes[this.idToIndex[e]]||null}at(e){return this.visibleNodes[e]||null}nodesBetween(e,r){var n;if(e===null||r===null)return[];const i=(n=this.indexOf(e))!==null&&n!==void 0?n:0,o=this.indexOf(r);if(o===null)return[];const l=Math.min(i,o),a=Math.max(i,o);return this.visibleNodes.slice(l,a+1)}indexOf(e){const r=$f(e);return r?this.idToIndex[r]:null}get editingId(){return this.state.nodes.edit.id}createInternal(){return this.create({type:"internal"})}createLeaf(){return this.create({type:"leaf"})}create(){return Ro(this,arguments,void 0,function*(e={}){var r,n;const i=e.parentId===void 0?_f(this):e.parentId,o=(r=e.index)!==null&&r!==void 0?r:Af(this),l=(n=e.type)!==null&&n!==void 0?n:"leaf",a=yield me(this.props.onCreate,{type:l,parentId:i,index:o,parentNode:this.get(i)});a&&(this.focus(a),setTimeout(()=>{this.edit(a).then(()=>{this.select(a),this.activate(a)})}))})}delete(e){return Ro(this,void 0,void 0,function*(){if(!e)return;const n=(Array.isArray(e)?e:[e]).map(Je),i=n.map(o=>this.get(o)).filter(o=>!!o);yield me(this.props.onDelete,{nodes:i,ids:n})})}edit(e){const r=Je(e);return this.resolveEdit({cancelled:!0}),this.scrollTo(r),this.dispatch(So(r)),new Promise(n=>{vr.editPromise=n})}submit(e,r){return Ro(this,void 0,void 0,function*(){if(!e)return;const n=Je(e);yield me(this.props.onRename,{id:n,name:r,node:this.get(n)}),this.dispatch(So(null)),this.resolveEdit({cancelled:!1,value:r}),setTimeout(()=>this.onFocus())})}reset(){this.dispatch(So(null)),this.resolveEdit({cancelled:!0}),setTimeout(()=>this.onFocus())}activate(e){const r=this.get(Ke(e));r&&me(this.props.onActivate,r)}resolveEdit(e){const r=vr.editPromise;r&&r(e),vr.editPromise=null}get selectedIds(){return this.state.nodes.selection.ids}get selectedNodes(){let e=[];for(let r of Array.from(this.selectedIds)){const n=this.get(r);n&&e.push(n)}return e}focus(e,r={}){e&&(this.props.selectionFollowsFocus?this.select(e):(this.dispatch(Jt(Je(e))),r.scroll!==!1&&this.scrollTo(e),this.focusedNode&&me(this.props.onFocus,this.focusedNode)))}pageUp(){var e,r;const n=this.visibleStartIndex,o=this.visibleStopIndex-n;let l=(r=(e=this.focusedNode)===null||e===void 0?void 0:e.rowIndex)!==null&&r!==void 0?r:0;l>n?l=n:l=Math.max(n-o,0),this.focus(this.at(l))}pageDown(){var e,r;const n=this.visibleStartIndex,i=this.visibleStopIndex,o=i-n;let l=(r=(e=this.focusedNode)===null||e===void 0?void 0:e.rowIndex)!==null&&r!==void 0?r:0;l<i?l=i:l=Math.min(l+o,this.visibleNodes.length-1),this.focus(this.at(l))}select(e,r={}){if(!e)return;const n=r.focus!==!1,i=Je(e);n&&this.dispatch(Jt(i)),this.dispatch(Le.only(i)),this.dispatch(Le.anchor(i)),this.dispatch(Le.mostRecent(i)),this.scrollTo(i,r.align),this.focusedNode&&n&&me(this.props.onFocus,this.focusedNode),me(this.props.onSelect,this.selectedNodes)}deselect(e){if(!e)return;const r=Je(e);this.dispatch(Le.remove(r)),me(this.props.onSelect,this.selectedNodes)}selectMulti(e){const r=this.get(Ke(e));r&&(this.dispatch(Jt(r.id)),this.dispatch(Le.add(r.id)),this.dispatch(Le.anchor(r.id)),this.dispatch(Le.mostRecent(r.id)),this.scrollTo(r),this.focusedNode&&me(this.props.onFocus,this.focusedNode),me(this.props.onSelect,this.selectedNodes))}selectContiguous(e){if(!e)return;const r=Je(e),{anchor:n,mostRecent:i}=this.state.nodes.selection;this.dispatch(Jt(r)),this.dispatch(Le.remove(this.nodesBetween(n,i))),this.dispatch(Le.add(this.nodesBetween(n,Ke(r)))),this.dispatch(Le.mostRecent(r)),this.scrollTo(r),this.focusedNode&&me(this.props.onFocus,this.focusedNode),me(this.props.onSelect,this.selectedNodes)}deselectAll(){this.setSelection({ids:[],anchor:null,mostRecent:null}),me(this.props.onSelect,this.selectedNodes)}selectAll(){var e;this.setSelection({ids:Object.keys(this.idToIndex),anchor:this.firstNode,mostRecent:this.lastNode}),this.dispatch(Jt((e=this.lastNode)===null||e===void 0?void 0:e.id)),this.focusedNode&&me(this.props.onFocus,this.focusedNode),me(this.props.onSelect,this.selectedNodes)}setSelection(e){var r;const n=new Set((r=e.ids)===null||r===void 0?void 0:r.map(Je)),i=Ke(e.anchor),o=Ke(e.mostRecent);this.dispatch(Le.set({ids:n,anchor:i,mostRecent:o})),me(this.props.onSelect,this.selectedNodes)}get cursorParentId(){const{cursor:e}=this.state.dnd;switch(e.type){case"highlight":return e.id;default:return null}}get cursorOverFolder(){return this.state.dnd.cursor.type==="highlight"}get dragNodes(){return this.state.dnd.dragIds.map(e=>this.get(e)).filter(e=>!!e)}get dragNode(){return this.get(this.state.nodes.drag.id)}get dragDestinationParent(){return this.get(this.state.nodes.drag.destinationParentId)}get dragDestinationIndex(){return this.state.nodes.drag.destinationIndex}canDrop(){var e;if(this.isFiltered)return!1;const r=(e=this.get(this.state.dnd.parentId))!==null&&e!==void 0?e:this.root,n=this.dragNodes,i=this.props.disableDrop;for(const o of n)if(!o||!r||o.isInternal&&wf(r,o))return!1;return typeof i=="function"?!i({parentNode:r,dragNodes:this.dragNodes,index:this.state.dnd.index||0}):typeof i=="string"?!r.data[i]:typeof i=="boolean"?!i:!0}hideCursor(){this.dispatch(wr.cursor({type:"none"}))}showCursor(e){this.dispatch(wr.cursor(e))}open(e){const r=Ke(e);r&&(this.isOpen(r)||(this.dispatch(pl.open(r,this.isFiltered)),me(this.props.onToggle,r)))}close(e){const r=Ke(e);r&&this.isOpen(r)&&(this.dispatch(pl.close(r,this.isFiltered)),me(this.props.onToggle,r))}toggle(e){const r=Ke(e);if(r)return this.isOpen(r)?this.close(r):this.open(r)}openParents(e){const r=Ke(e);if(!r)return;const n=va(this.root,r);let i=n==null?void 0:n.parent;for(;i;)this.open(i.id),i=i.parent}openSiblings(e){const r=e.parent;if(!r)this.toggle(e.id);else if(r.children){const n=e.isOpen;for(let i of r.children)i.isInternal&&(n?this.close(i.id):this.open(i.id));this.scrollTo(this.focusedNode)}}openAll(){si(this.root,e=>{e.isInternal&&e.open()})}closeAll(){si(this.root,e=>{e.isInternal&&e.close()})}scrollTo(e,r="smart"){if(!e)return;const n=Je(e);return this.openParents(n),Tf(()=>n in this.idToIndex).then(()=>{var i;const o=this.idToIndex[n];o!==void 0&&((i=this.list.current)===null||i===void 0||i.scrollToItem(o,r))}).catch(()=>{})}get isEditing(){return this.state.nodes.edit.id!==null}get isFiltered(){var e;return!!(!((e=this.props.searchTerm)===null||e===void 0)&&e.trim())}get hasFocus(){return this.state.nodes.focus.treeFocused}get hasNoSelection(){return this.state.nodes.selection.ids.size===0}get hasOneSelection(){return this.state.nodes.selection.ids.size===1}get hasMultipleSelections(){return this.state.nodes.selection.ids.size>1}isSelected(e){return e?this.state.nodes.selection.ids.has(e):!1}isOpen(e){var r,n,i;if(!e)return!1;if(e===an)return!0;const o=(r=this.props.openByDefault)!==null&&r!==void 0?r:!0;return this.isFiltered?(n=this.state.nodes.open.filtered[e])!==null&&n!==void 0?n:!0:(i=this.state.nodes.open.unfiltered[e])!==null&&i!==void 0?i:o}isEditable(e){const r=this.props.disableEdit||(()=>!1);return!zr(e,r)}isDraggable(e){const r=this.props.disableDrag||(()=>!1);return!zr(e,r)}isDragging(e){const r=Ke(e);return r?this.state.nodes.drag.id===r:!1}isFocused(e){return this.hasFocus&&this.state.nodes.focus.id===e}isMatch(e){return this.matchFn(e)}willReceiveDrop(e){const r=Ke(e);if(!r)return!1;const{destinationParentId:n,destinationIndex:i}=this.state.nodes.drag;return r===n&&i===null}onFocus(){const e=this.focusedNode||this.firstNode;e&&this.dispatch(Jt(e.id))}onBlur(){this.dispatch(D9())}onItemsRendered(e){this.visibleStartIndex=e.visibleStartIndex,this.visibleStopIndex=e.visibleStopIndex}get renderContainer(){return this.props.renderContainer||e1}get renderRow(){return this.props.renderRow||m9}get renderNode(){return this.props.children||y9}get renderDragPreview(){return this.props.renderDragPreview||kf}get renderCursor(){return this.props.renderCursor||b9}}function we(t){return`Minified Redux error #${t}; visit https://redux.js.org/Errors?code=${t} for the full message or use the non-minified dev environment for full errors. `}var zb=typeof Symbol=="function"&&Symbol.observable||"@@observable",lc=zb,Lo=()=>Math.random().toString(36).substring(7).split("").join("."),Ub={INIT:`@@redux/INIT${Lo()}`,REPLACE:`@@redux/REPLACE${Lo()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Lo()}`},Tt=Ub;function r1(t){if(typeof t!="object"||t===null)return!1;let e=t;for(;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e||Object.getPrototypeOf(t)===null}function Wb(t){if(t===void 0)return"undefined";if(t===null)return"null";const e=typeof t;switch(e){case"boolean":case"string":case"number":case"symbol":case"function":return e}if(Array.isArray(t))return"array";if(qb(t))return"date";if(Gb(t))return"error";const r=Zb(t);switch(r){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return r}return Object.prototype.toString.call(t).slice(8,-1).toLowerCase().replace(/\s/g,"")}function Zb(t){return typeof t.constructor=="function"?t.constructor.name:null}function Gb(t){return t instanceof Error||typeof t.message=="string"&&t.constructor&&typeof t.constructor.stackTraceLimit=="number"}function qb(t){return t instanceof Date?!0:typeof t.toDateString=="function"&&typeof t.getDate=="function"&&typeof t.setDate=="function"}function at(t){let e=typeof t;return process.env.NODE_ENV!=="production"&&(e=Wb(t)),e}function n1(t,e,r){if(typeof t!="function")throw new Error(process.env.NODE_ENV==="production"?we(2):`Expected the root reducer to be a function. Instead, received: '${at(t)}'`);if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(process.env.NODE_ENV==="production"?we(0):"It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(process.env.NODE_ENV==="production"?we(1):`Expected the enhancer to be a function. Instead, received: '${at(r)}'`);return r(n1)(t,e)}let n=t,i=e,o=new Map,l=o,a=0,s=!1;function c(){l===o&&(l=new Map,o.forEach((v,b)=>{l.set(b,v)}))}function d(){if(s)throw new Error(process.env.NODE_ENV==="production"?we(3):"You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return i}function f(v){if(typeof v!="function")throw new Error(process.env.NODE_ENV==="production"?we(4):`Expected the listener to be a function. Instead, received: '${at(v)}'`);if(s)throw new Error(process.env.NODE_ENV==="production"?we(5):"You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");let b=!0;c();const E=a++;return l.set(E,v),function(){if(b){if(s)throw new Error(process.env.NODE_ENV==="production"?we(6):"You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");b=!1,c(),l.delete(E),o=null}}}function p(v){if(!r1(v))throw new Error(process.env.NODE_ENV==="production"?we(7):`Actions must be plain objects. Instead, the actual type was: '${at(v)}'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.`);if(typeof v.type>"u")throw new Error(process.env.NODE_ENV==="production"?we(8):'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(typeof v.type!="string")throw new Error(process.env.NODE_ENV==="production"?we(17):`Action "type" property must be a string. Instead, the actual type was: '${at(v.type)}'. Value was: '${v.type}' (stringified)`);if(s)throw new Error(process.env.NODE_ENV==="production"?we(9):"Reducers may not dispatch actions.");try{s=!0,i=n(i,v)}finally{s=!1}return(o=l).forEach(E=>{E()}),v}function g(v){if(typeof v!="function")throw new Error(process.env.NODE_ENV==="production"?we(10):`Expected the nextReducer to be a function. Instead, received: '${at(v)}`);n=v,p({type:Tt.REPLACE})}function y(){const v=f;return{subscribe(b){if(typeof b!="object"||b===null)throw new Error(process.env.NODE_ENV==="production"?we(11):`Expected the observer to be an object. Instead, received: '${at(b)}'`);function E(){const D=b;D.next&&D.next(d())}return E(),{unsubscribe:v(E)}},[lc](){return this}}}return p({type:Tt.INIT}),{dispatch:p,subscribe:f,getState:d,replaceReducer:g,[lc]:y}}function ac(t){typeof console<"u"&&typeof console.error=="function"&&console.error(t);try{throw new Error(t)}catch{}}function Yb(t,e,r,n){const i=Object.keys(e),o=r&&r.type===Tt.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(i.length===0)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!r1(t))return`The ${o} has unexpected type of "${at(t)}". Expected argument to be an object with the following keys: "${i.join('", "')}"`;const l=Object.keys(t).filter(a=>!e.hasOwnProperty(a)&&!n[a]);if(l.forEach(a=>{n[a]=!0}),!(r&&r.type===Tt.REPLACE)&&l.length>0)return`Unexpected ${l.length>1?"keys":"key"} "${l.join('", "')}" found in ${o}. Expected to find one of the known reducer keys instead: "${i.join('", "')}". Unexpected keys will be ignored.`}function Xb(t){Object.keys(t).forEach(e=>{const r=t[e];if(typeof r(void 0,{type:Tt.INIT})>"u")throw new Error(process.env.NODE_ENV==="production"?we(12):`The slice reducer for key "${e}" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.`);if(typeof r(void 0,{type:Tt.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(process.env.NODE_ENV==="production"?we(13):`The slice reducer for key "${e}" returned undefined when probed with a random type. Don't try to handle '${Tt.INIT}' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.`)})}function sc(t){const e=Object.keys(t),r={};for(let l=0;l<e.length;l++){const a=e[l];process.env.NODE_ENV!=="production"&&typeof t[a]>"u"&&ac(`No reducer provided for key "${a}"`),typeof t[a]=="function"&&(r[a]=t[a])}const n=Object.keys(r);let i;process.env.NODE_ENV!=="production"&&(i={});let o;try{Xb(r)}catch(l){o=l}return function(a={},s){if(o)throw o;if(process.env.NODE_ENV!=="production"){const f=Yb(a,r,s,i);f&&ac(f)}let c=!1;const d={};for(let f=0;f<n.length;f++){const p=n[f],g=r[p],y=a[p],h=g(y,s);if(typeof h>"u"){const v=s&&s.type;throw new Error(process.env.NODE_ENV==="production"?we(14):`When called with an action of type ${v?`"${String(v)}"`:"(unknown type)"}, the slice reducer for key "${p}" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.`)}d[p]=h,c=c||h!==y}return c=c||n.length!==Object.keys(a).length,c?d:a}}function Jb(t=Er().nodes.drag,e){switch(e.type){case"DND_DRAG_START":return Object.assign(Object.assign({},t),{id:e.id,selectedIds:e.dragIds});case"DND_DRAG_END":return Object.assign(Object.assign({},t),{id:null,destinationParentId:null,destinationIndex:null,selectedIds:[]});case"DND_HOVERING":return e.parentId!==t.destinationParentId||e.index!=t.destinationIndex?Object.assign(Object.assign({},t),{destinationParentId:e.parentId,destinationIndex:e.index}):t;default:return t}}const Qb=sc({nodes:sc({focus:x9,edit:w9,open:S9,selection:F9,drag:Jb}),dnd:$9}),em=Er();function tm({treeProps:t,imperativeHandle:e,children:r}){const n=u.useRef(null),i=u.useRef(null),o=u.useRef(n1(Qb,Er(t))),l=Hl.useSyncExternalStore(o.current.subscribe,o.current.getState,()=>em),a=u.useMemo(()=>new vr(o.current,t,n,i),[]),s=u.useRef(0);return u.useMemo(()=>{s.current+=1,a.update(t)},[...Object.values(t),l.nodes.open]),u.useImperativeHandle(e,()=>a),u.useEffect(()=>{a.props.selection?a.select(a.props.selection,{focus:!1}):a.deselectAll()},[a.props.selection]),u.useEffect(()=>{a.props.searchTerm||o.current.dispatch(pl.clear(!0))},[a.props.searchTerm]),m.jsx(pf.Provider,{value:a,children:m.jsx(bf.Provider,{value:s.current,children:m.jsx(gf.Provider,{value:l.nodes,children:m.jsx(vf.Provider,{value:l.dnd,children:m.jsx(I8,Object.assign({backend:Ob,options:{rootElement:a.props.dndRootElement||void 0}},t.dndManager&&{manager:t.dndManager},{children:r}))})})})})}function rm(){const t=ke(),[,e]=Uf(()=>({accept:"NODE",canDrop:(r,n)=>n.isOver({shallow:!0})?t.canDrop():!1,hover:(r,n)=>{if(!n.isOver({shallow:!0}))return;const i=n.getClientOffset();if(!t.listEl.current||!i)return;const{cursor:o,drop:l}=Qf({element:t.listEl.current,offset:i,indent:t.indent,node:null,prevNode:t.visibleNodes[t.visibleNodes.length-1],nextNode:null});l&&t.dispatch(wr.hovering(l.parentId,l.index)),n.canDrop()?o&&t.showCursor(o):t.hideCursor()}}),[t]);e(t.listEl)}function nm(t){return rm(),t.children}function im(){const e=ke().props.renderContainer||e1;return m.jsx(m.Fragment,{children:m.jsx(e,{})})}function om(){const t=ke(),{offset:e,mouse:r,item:n,isDragging:i}=ob(l=>({offset:l.getSourceClientOffset(),mouse:l.getClientOffset(),item:l.getItem(),isDragging:l.isDragging()})),o=t.props.renderDragPreview||kf;return m.jsx(o,{offset:e,mouse:r,id:(n==null?void 0:n.id)||null,dragIds:(n==null?void 0:n.dragIds)||[],isDragging:i})}class lm{constructor(e){this.root=am(e)}get data(){var e,r;return(r=(e=this.root.children)===null||e===void 0?void 0:e.map(n=>n.data))!==null&&r!==void 0?r:[]}create(e){const r=e.parentId?this.find(e.parentId):this.root;if(!r)return null;r.addChild(e.data,e.index)}move(e){const r=this.find(e.id),n=e.parentId?this.find(e.parentId):this.root;!r||!n||(n.addChild(r.data,e.index),r.drop())}update(e){const r=this.find(e.id);r&&r.update(e.changes)}drop(e){const r=this.find(e.id);r&&r.drop()}find(e,r=this.root){if(!r)return null;if(r.id===e)return r;if(r.children){for(let n of r.children){const i=this.find(e,n);if(i)return i}return null}return null}}function am(t){const e=new i1({id:"ROOT"},null);return e.children=t.map(r=>Da(r,e)),e}function Da(t,e){const r=new i1(t,e);return t.children&&(r.children=t.children.map(n=>Da(n,r))),r}class i1{constructor(e,r){this.data=e,this.parent=r,this.id=e.id}hasParent(){return!!this.parent}get childIndex(){return this.hasParent()?this.parent.children.indexOf(this):-1}addChild(e,r){var n,i;const o=Da(e,this);this.children=(n=this.children)!==null&&n!==void 0?n:[],this.children.splice(r,0,o),this.data.children=(i=this.data.children)!==null&&i!==void 0?i:[],this.data.children.splice(r,0,e)}removeChild(e){var r,n;(r=this.children)===null||r===void 0||r.splice(e,1),(n=this.data.children)===null||n===void 0||n.splice(e,1)}update(e){if(this.hasParent()){const r=this.childIndex;this.parent.addChild(Object.assign(Object.assign({},this.data),e),r),this.drop()}}drop(){this.hasParent()&&this.parent.removeChild(this.childIndex)}}let sm=0;function cm(t){const[e,r]=u.useState(t),n=u.useMemo(()=>new lm(e),[e]);return[e,{onMove:c=>{for(const d of c.dragIds)n.move({id:d,parentId:c.parentId,index:c.index});r(n.data)},onRename:({name:c,id:d})=>{n.update({id:d,changes:{name:c}}),r(n.data)},onCreate:({parentId:c,index:d,type:f})=>{const p={id:`simple-tree-id-${sm++}`,name:""};return f==="internal"&&(p.children=[]),n.create({parentId:c,index:d,data:p}),r(n.data),p},onDelete:c=>{c.ids.forEach(d=>n.drop({id:d})),r(n.data)}}]}function um(t){if(t.initialData&&t.data)throw new Error("React Arborist Tree => Provide either a data or initialData prop, but not both.");if(t.initialData&&(t.onCreate||t.onDelete||t.onMove||t.onRename))throw new Error(`React Arborist Tree => You passed the initialData prop along with a data handler.
98
- Use the data prop if you want to provide your own handlers.`);if(t.initialData){const[e,r]=cm(t.initialData);return Object.assign(Object.assign(Object.assign({},t),r),{data:e})}else return t}function dm(t,e){const r=um(t);return m.jsxs(tm,{treeProps:r,imperativeHandle:e,children:[m.jsx(nm,{children:m.jsx(im,{})}),m.jsx(om,{})]})}const fm=u.forwardRef(dm),o1=({top:t,left:e})=>m.jsx("div",{className:"c__tree-view__cursor",style:{top:t-2,left:e+10,width:`calc(100% - ${24+e}px)`}});function hm(t,e){var r=u.useRef(null),n=u.useRef(null);n.current=e;var i=u.useRef(null);u.useEffect(function(){o()});var o=u.useCallback(function(){var l=i.current,a=n.current,s=l||(a?a instanceof Element?a:a.current:null);r.current&&r.current.element===s&&r.current.subscriber===t||(r.current&&r.current.cleanup&&r.current.cleanup(),r.current={element:s,subscriber:t,cleanup:s?t(s):void 0})},[t]);return u.useEffect(function(){return function(){r.current&&r.current.cleanup&&(r.current.cleanup(),r.current=null)}},[]),u.useCallback(function(l){i.current=l,o()},[o])}function cc(t,e,r){return t[e]?t[e][0]?t[e][0][r]:t[e][r]:e==="contentBoxSize"?t.contentRect[r==="inlineSize"?"width":"height"]:void 0}function pm(t){t===void 0&&(t={});var e=t.onResize,r=u.useRef(void 0);r.current=e;var n=t.round||Math.round,i=u.useRef(),o=u.useState({width:void 0,height:void 0}),l=o[0],a=o[1],s=u.useRef(!1);u.useEffect(function(){return s.current=!1,function(){s.current=!0}},[]);var c=u.useRef({width:void 0,height:void 0}),d=hm(u.useCallback(function(f){return(!i.current||i.current.box!==t.box||i.current.round!==n)&&(i.current={box:t.box,round:n,instance:new ResizeObserver(function(p){var g=p[0],y=t.box==="border-box"?"borderBoxSize":t.box==="device-pixel-content-box"?"devicePixelContentBoxSize":"contentBoxSize",h=cc(g,y,"inlineSize"),v=cc(g,y,"blockSize"),b=h?n(h):void 0,E=v?n(v):void 0;if(c.current.width!==b||c.current.height!==E){var C={width:b,height:E};c.current.width=b,c.current.height=E,r.current?r.current(C):s.current||a(C)}})}),i.current.instance.observe(f,{box:t.box}),function(){i.current&&i.current.instance.unobserve(f)}},[t.box,n]),t.ref);return u.useMemo(function(){return{ref:d,width:l.width,height:l.height}},[d,l.width,l.height])}var se=(t=>(t.NODE="node",t.SEPARATOR="separator",t.TITLE="title",t.SIMPLE_NODE="simpleNode",t.VIEW_MORE="viewMore",t))(se||{}),Dt=(t=>(t.FIRST_CHILD="first-child",t.LAST_CHILD="last-child",t.LEFT="left",t.RIGHT="right",t))(Dt||{});const di=t=>t?t.nodeType===se.SEPARATOR:!1,fi=t=>t?t.nodeType===se.TITLE:!1,l1=t=>t?t.nodeType===se.VIEW_MORE:!1,Ur=t=>!di(t)&&!fi(t)&&!l1(t),a1=(t,e,r)=>{const{t:n}=X.useCunningham(),{remove:i,update:o,insert:l,insertBefore:a,insertAfter:s,append:c,prepend:d,getItem:f,move:p,items:g}=np({initialItems:JSON.parse(JSON.stringify(t)),getKey:L=>L.id,getChildren:L=>L.children||[]}),[y,h]=u.useState(),v=(L=[])=>{const $=g.map(B=>B.key);i(...$);const P=JSON.parse(JSON.stringify(L));P.length>0&&l(null,0,...P),h(void 0)},b=L=>{const $=f(L);$&&h($.value)},E=(L,$,P)=>{var B,K,j,H;if(L){const W=f(L);if(W){const q=(K=W.children)==null?void 0:K[((B=W.children)==null?void 0:B.length)-1];let Y=P??((j=W.children)==null?void 0:j.length)??0;P===((H=W.children)==null?void 0:H.length)&&q&&q.value.nodeType===se.VIEW_MORE&&(Y=Y-1),l(L,Y,$)}}else l(null,P??g.length,$)},C=L=>{var $;return($=f(L))==null?void 0:$.value},D=(L,$)=>{var W,q;const P=f(L);if(!P){console.error("No item found");return}let B=((W=P.children)==null?void 0:W.map(Y=>Y.value))??null;const K=$.childrenCount??P.value.childrenCount??0;if((B==null?void 0:B.length)===0&&K>0&&(B=null),$.children){const Y=[...B??[],...$.children],ae=new Map;for(const G of Y)ae.set(G.id,G);B=Array.from(ae.values())}B&&(B=B.sort((Y,ae)=>Y.nodeType===se.VIEW_MORE&&ae.nodeType!==se.VIEW_MORE?1:Y.nodeType!==se.VIEW_MORE&&ae.nodeType===se.VIEW_MORE?-1:0));const j=((q=$.pagination)==null?void 0:q.hasMore)??!1;B&&(B=B.filter(Y=>Y.nodeType!==se.VIEW_MORE)),j&&B&&B.push({id:`view-more-${L}`,nodeType:se.VIEW_MORE,label:n("components.treeView.viewMore")});const H={...P.value,...$,children:B,childrenCount:(B==null?void 0:B.length)??K};o(L,H)},F=L=>{i(L)},w=L=>{i(...L)},S=async L=>{if(!e){console.error("No refresh callback provided");return}try{const $=await e(L);D(L,$)}catch($){console.error("error while refreshing node:",$)}},M=(L,$)=>{l(null,$??g.length,L)},_=(L,$)=>{l(null,$??g.length,...L)},V=(L,$)=>{const P=f(L);if(!P){console.error("No item found");return}const B={...P.value,children:$,childrenCount:$.length,hasLoadedChildren:$.length>0};o(L,B)},x=L=>{const $=[],P=f(L);if(!P)return[];$.push(P.value);const B=K=>{const j=N(K);if(!j)return;const H=f(j);H&&($.push(H.value),B(j))};return B(L),$.reverse()},N=L=>{var $;return(($=f(L))==null?void 0:$.parentKey)??null},U=L=>{const $=N(L);if(!$)return null;const P=f($);return P?P.value:null},k=(L,$)=>{a(L,$)},Z=(L,$)=>{s(L,$)},A=(L,$)=>{c(L,$)},O=(L,$)=>{d(L,$)},z=(L,$,P)=>{p(L,$,P)},R=L=>{z(L.sourceId,L.newParentId,L.index)},I=async L=>{var Y;if(!r)return console.error("No load paginated children callback provided"),[];const $=f(L);if(!$){console.error("No parent found");return}const B=(((Y=$==null?void 0:$.value.pagination)==null?void 0:Y.currentPage)??0)+1,K=await r(L,B);if(!K){console.error("No result found");return}const j=K.children,H=K.pagination,W=B,q=(H==null?void 0:H.hasMore)??!1;D(L,{children:j,hasLoadedChildren:!0,pagination:{currentPage:W,hasMore:q}})};return u.useEffect(()=>{const L=$=>{$.forEach(P=>{var B;if(P.children&&P.children.length>0){const K=P.value.hasLoadedChildren||((B=P.children)==null?void 0:B.length)>0||P.value.children&&P.value.children.length>0;P.value.children=P.children.map(H=>H.value);const j=K?P.children.length:P.value.childrenCount??0;P.value.childrenCount=j,K&&!P.value.hasLoadedChildren&&(P.value.hasLoadedChildren=!0),L(P.children)}else{const j=P.value.hasLoadedChildren||P.value.children&&P.value.children.length>0?0:P.value.childrenCount;P.value.children=[],P.value.childrenCount=j}})};L(g)},[g]),{nodes:g,addChild:E,updateNode:D,deleteNode:F,deleteNodes:w,addRootNode:M,addRootNodes:_,selectedNode:y,setSelectedNode:h,refreshNode:S,setChildren:V,insertBeforeNode:k,insertAfterNode:Z,handleMove:R,prependToNode:O,moveNode:z,appendToNode:A,move:p,resetTree:v,handleLoadChildren:I,selectNodeById:b,getParent:U,getNode:C,getParentId:N,getAncestors:x}},xa=u.createContext(null),gm=({children:t,onRefresh:e,initialNodeId:r,onLoadChildren:n,initialTreeData:i})=>{const o=u.useRef(null),[l,a]=u.useState(null),[s,c]=u.useState(r??null),d=a1(i??[],e,n);return m.jsx(xa.Provider,{value:{treeApiRef:o,treeData:d,root:l,initialTargetId:s,setInitialTargetId:c,setRoot:a},children:t})},Sa=()=>{const t=u.useContext(xa);if(!t)throw new Error("TreeContext not found");return t},vm=({initialOpenState:t,dndRootElement:e,selectedNodeId:r,rootNodeId:n,renderNode:i,canDrop:o,canDrag:l,afterMove:a,beforeMove:s,rowProps:c})=>{const[d,f]=u.useState(400),{ref:p,width:g}=pm(),y=Sa(),h=(y==null?void 0:y.treeData.nodes)??[];u.useEffect(()=>{const C=document.querySelector(".c__tree-view"),D=C==null?void 0:C.firstElementChild;let F=null;return C&&D&&(F=new ResizeObserver(()=>{if(D&&D instanceof HTMLElement){const w=D.style.height;f(parseInt(w,10)+20)}}),F.observe(D)),()=>F==null?void 0:F.disconnect()},[]);const v=C=>{var I,L,$,P;const D=JSON.parse(JSON.stringify(h)),F=C.dragNodes[0],w=C.parentId?((I=C.parentNode)==null?void 0:I.data.children)??[]:D,S=C.dragNodes[0].data.value.id,M=C.dragNodes[0].data,_=(L=C.parentNode)==null?void 0:L.data;if((_==null?void 0:_.value.nodeType)===se.TITLE||(_==null?void 0:_.value.nodeType)===se.SEPARATOR||(_==null?void 0:_.value.nodeType)===se.VIEW_MORE)return null;const V=M.parentKey??n,x=C.parentId??n;let N=C.index+0,U=null,k=x;const Z=((P=($=F.parent)==null?void 0:$.children)==null?void 0:P.findIndex(B=>B.data.value.id===S))??0;if(V===x){if(Z===N)return null;N=N<Z?N:N-1}const A=C.index-1,O=w[A],z=C.index,R=w[z];return C.index===0?(k=C.parentId??n,U=Dt.FIRST_CHILD):!_&&C.index===1&&!Ur(O.value)?(k=n,N=1,U=Dt.FIRST_CHILD):C.index===w.length?(k=k??n,U=Dt.LAST_CHILD):O&&Ur(O.value)?(k=O.value.id,U=Dt.RIGHT):R&&Ur(R.value)&&(U=Dt.LEFT,k=R.value.id),U&&k?{targetModeId:k,mode:U,oldParentId:V,index:N,newParentId:C.parentId,sourceId:S}:null},b=C=>{const D=v(C);D&&(s?s(D,()=>{y==null||y.treeData.handleMove(D),a==null||a(D)}):(y==null||y.treeData.handleMove(D),a==null||a(D)))},E=u.useCallback(C=>l?!l(C):!1,[l]);if(y)return m.jsx("div",{ref:p,style:{height:d},className:"c__tree-view--container",children:m.jsx(fm,{dndRootElement:e,data:h,ref:y.treeApiRef,openByDefault:!1,selectionFollowsFocus:!1,disableMultiSelection:!0,disableEdit:!0,className:"c__tree-view",idAccessor:"key",onMove:b,height:d,width:g,paddingTop:10,paddingBottom:10,rowHeight:34,disableDrag:E,disableDrop:({parentNode:C,dragNodes:D,index:F})=>{var V,x,N;if(o&&!o({parentNode:C,dragNodes:D,index:F}))return C.id!=="__REACT_ARBORIST_INTERNAL_ROOT__"&&(C.data.value.canDrop=!1),!0;const w=D[0];if(w&&w.isDragging&&w.willReceiveDrop||((V=C.data.value)==null?void 0:V.nodeType)===se.TITLE||((x=C.data.value)==null?void 0:x.nodeType)===se.SEPARATOR||((N=C.data.value)==null?void 0:N.nodeType)===se.VIEW_MORE)return!0;if(C.id==="__REACT_ARBORIST_INTERNAL_ROOT__"){const U=h[F-1],k=h[F],Z=h[F+1],A=di(U==null?void 0:U.value),O=di(k==null?void 0:k.value),z=fi(U==null?void 0:U.value),R=fi(k==null?void 0:k.value),I=Ur(Z==null?void 0:Z.value);return!!(F===0&&(O||R)||A&&R&&I||z&&O&&I)}const S=C==null?void 0:C.isOpen,M=(C==null?void 0:C.data.value.childrenCount)&&C.data.value.childrenCount>0||(C==null?void 0:C.data.children)&&C.data.children.length>0;if(!M)return C.data.value.canDrop=!0,!1;let _=C.data.value.childrenCount&&C.data.value.childrenCount>0&&(C==null?void 0:C.data.children)&&C.data.children.length>0;return _=_??!0,!S&&!_&&M?(C.data.value.canDrop=!0,!0):(C.data.value.canDrop=!0,!1)},initialOpenState:t,overscanCount:20,selection:r,renderCursor:o1,renderRow:C=>m.jsx(bm,{...C,customRowProps:c}),rowClassName:"c__tree-view--row",children:i})})},bm=({children:t,customRowProps:e,...r})=>{const n=r.node.data.value.nodeType===se.TITLE,i=r.node.data.value.nodeType===se.SEPARATOR,o=r.node.data.value.nodeType===se.VIEW_MORE,{onKeyDown:l,onClick:a,...s}=e??{},{style:c}=r.attrs,d={...c},f=p=>{l==null||l(p);const g=p.target;if(g){const y=g.closest(".actions"),v=g.closest('button, a[href], input, textarea, select, [role="menuitem"], [role="button"]');if(y||v)return}if((p.key==="Enter"||p.key===" ")&&p.currentTarget.click(),p.key==="F2"){p.preventDefault();const y=p.currentTarget.querySelector("button");y&&y.focus()}};return n||i||o?u.createElement("div",{...r.attrs,key:r.node.id,style:d,ref:r.innerRef,onFocus:p=>p.stopPropagation(),onClick:p=>{a==null||a(p),r.node.handleClick(p)},onKeyDown:l,...s},t):u.createElement("div",{...r.attrs,style:d,key:r.node.id,ref:r.innerRef,onFocus:p=>p.stopPropagation(),onClick:p=>{a==null||a(p),p.preventDefault(),p.stopPropagation(),r.node.select()},onKeyDown:f,...s},m.jsx("div",{className:"c__tree-view--row-content",children:t}))},mm=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",s1=mm?u.useLayoutEffect:u.useEffect;function c1(t){const e=u.useRef(t);return s1(()=>{e.current=t}),u.useCallback(function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return e.current==null?void 0:e.current(...n)},[])}function uc(t,e){e===void 0&&(e=[t]);const r=u.useRef(t);return s1(()=>{r.current!==t&&(r.current=t)},e),r}function ym(t){const e=c1(t),r=u.useRef(null),n=u.useCallback(i=>{i!==r.current&&(e==null||e(i,r.current)),r.current=i},[]);return[r,n]}let Ko={};function Cm(t,e){return u.useMemo(()=>{const r=Ko[t]==null?0:Ko[t]+1;return Ko[t]=r,t+"-"+r},[t,e])}var Zr;(function(t){t.DragStart="dragStart",t.DragMove="dragMove",t.DragEnd="dragEnd",t.DragCancel="dragCancel",t.DragOver="dragOver",t.RegisterDroppable="registerDroppable",t.SetDroppableDisabled="setDroppableDisabled",t.UnregisterDroppable="unregisterDroppable"})(Zr||(Zr={}));function dc(){}const Em=Object.freeze({x:0,y:0});var cr;(function(t){t[t.Forward=1]="Forward",t[t.Backward=-1]="Backward"})(cr||(cr={}));var fc;(function(t){t.Click="click",t.DragStart="dragstart",t.Keydown="keydown",t.ContextMenu="contextmenu",t.Resize="resize",t.SelectionChange="selectionchange",t.VisibilityChange="visibilitychange"})(fc||(fc={}));var st;(function(t){t.Space="Space",t.Down="ArrowDown",t.Right="ArrowRight",t.Left="ArrowLeft",t.Up="ArrowUp",t.Esc="Escape",t.Enter="Enter",t.Tab="Tab"})(st||(st={}));st.Space,st.Enter,st.Esc,st.Space,st.Enter,st.Tab;var hc;(function(t){t[t.RightClick=2]="RightClick"})(hc||(hc={}));var pc;(function(t){t[t.Pointer=0]="Pointer",t[t.DraggableRect=1]="DraggableRect"})(pc||(pc={}));var gc;(function(t){t[t.TreeOrder=0]="TreeOrder",t[t.ReversedTreeOrder=1]="ReversedTreeOrder"})(gc||(gc={}));cr.Backward+"",cr.Forward+"",cr.Backward+"",cr.Forward+"";var Dl;(function(t){t[t.Always=0]="Always",t[t.BeforeDragging=1]="BeforeDragging",t[t.WhileDragging=2]="WhileDragging"})(Dl||(Dl={}));var xl;(function(t){t.Optimized="optimized"})(xl||(xl={}));function wm(t){let{callback:e,disabled:r}=t;const n=c1(e),i=u.useMemo(()=>{if(r||typeof window>"u"||typeof window.ResizeObserver>"u")return;const{ResizeObserver:o}=window;return new o(n)},[r]);return u.useEffect(()=>()=>i==null?void 0:i.disconnect(),[i]),i}Dl.WhileDragging,xl.Optimized;const Dm={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:dc,draggableNodes:new Map,over:null,measureDroppableContainers:dc},xm=u.createContext(Dm);({...Em});var vc;(function(t){t[t.Uninitialized=0]="Uninitialized",t[t.Initializing=1]="Initializing",t[t.Initialized=2]="Initialized"})(vc||(vc={}));const Sm="Droppable",Fm={timeout:25};function $m(t){let{data:e,disabled:r=!1,id:n,resizeObserverConfig:i}=t;const o=Cm(Sm),{active:l,dispatch:a,over:s,measureDroppableContainers:c}=u.useContext(xm),d=u.useRef({disabled:r}),f=u.useRef(!1),p=u.useRef(null),g=u.useRef(null),{disabled:y,updateMeasurementsFor:h,timeout:v}={...Fm,...i},b=uc(h??n),E=u.useCallback(()=>{if(!f.current){f.current=!0;return}g.current!=null&&clearTimeout(g.current),g.current=setTimeout(()=>{c(Array.isArray(b.current)?b.current:[b.current]),g.current=null},v)},[v]),C=wm({callback:E,disabled:y||!l}),D=u.useCallback((M,_)=>{C&&(_&&(C.unobserve(_),f.current=!1),M&&C.observe(M))},[C]),[F,w]=ym(D),S=uc(e);return u.useEffect(()=>{!C||!F.current||(C.disconnect(),f.current=!1,C.observe(F.current))},[F,C]),u.useEffect(()=>(a({type:Zr.RegisterDroppable,element:{id:n,key:o,disabled:r,node:F,rect:p,data:S}}),()=>a({type:Zr.UnregisterDroppable,key:o,id:n})),[n]),u.useEffect(()=>{r!==d.current.disabled&&(a({type:Zr.SetDroppableDisabled,id:n,key:o,disabled:r}),d.current.disabled=r)},[n,o,r,a]),{active:l,rect:p,isOver:(s==null?void 0:s.id)===n,node:F,over:s,setNodeRef:w}}const Pm=t=>{const{isOver:e,setNodeRef:r}=$m({id:t.id,data:t.data});return u.useEffect(()=>{var n;(n=t.onOver)==null||n.call(t,e,t.data)},[e,t.data,t.onOver]),m.jsx("div",{className:"c__dnd--droppable",ref:r,children:t.children})},Tm=({children:t,itemProps:e,onClick:r,onKeyDown:n,node:i,dragHandle:o,style:l,forceLoading:a})=>{var S,M;const{t:s}=X.useCunningham(),c=Sa(),d=u.useRef(null),[f,p]=u.useState(!1),[g,y]=u.useState(!1),[h,v]=u.useState(!1),b=a??f,E=i.willReceiveDrop||h,C=i.data.value.childrenCount!==void 0&&i.data.value.childrenCount>0||(((S=i.data.children)==null?void 0:S.length)??0)>0,D=((M=i.children)==null?void 0:M.length)??!1,F=i.isLeaf||!C,w=u.useCallback(_=>{_.stopPropagation(),i.data.value.nodeType===se.VIEW_MORE&&(y(!0),c==null||c.treeData.handleLoadChildren(i.data.parentKey).then(()=>y(!1)).catch(()=>y(!1)))},[i.data.value.nodeType,i.data.parentKey,c==null?void 0:c.treeData]);return u.useEffect(()=>{F||D||i.data.value.hasLoadedChildren||i.isOpen&&(p(!0),c==null||c.treeData.handleLoadChildren(i.data.value.id).then(()=>p(!1)))},[i.isOpen,F,D,i.data.value.hasLoadedChildren,i.data.value.id,c==null?void 0:c.treeData]),u.useEffect(()=>(E&&!i.isOpen&&!i.isDragging&&(d.current=setTimeout(()=>{i.open()},500)),()=>{d.current&&clearTimeout(d.current)}),[E,i.isOpen,i.isDragging,i]),i.data.value.nodeType===se.SEPARATOR?m.jsx("div",{className:"c__tree-view--node__separator"}):i.data.value.nodeType===se.TITLE?m.jsx("div",{className:"c__tree-view--node__title",children:i.data.value.headerTitle}):i.data.value.nodeType===se.VIEW_MORE?m.jsx("div",{className:"c__tree-view--row-content",children:m.jsx("div",{className:"c__tree-view--node",style:l,children:m.jsxs("div",{role:"button",className:"c__tree-view--node__view-more-button",style:{paddingLeft:0,marginLeft:20},onClick:w,children:[g?m.jsx("div",{className:"c__tree-view--node__loading",children:m.jsx(li,{})}):m.jsx("span",{className:"material-icons c__tree-view--node__view-more-button__icon",children:"arrow_downward"}),m.jsxs("span",{className:"c__tree-view--node__view-more-text",children:[i.data.value.nodeType===se.VIEW_MORE,s("components.treeView.viewMore")]})]})})}):m.jsx(Pm,{id:i.id,data:{data:i.data,nodeApi:i},onOver:v,children:m.jsxs("div",{onClick:_=>{if(!_.target.closest(".c__tree-view--node")){_.stopPropagation();return}r==null||r()},onKeyDown:_=>{n==null||n(_),_.target.closest(".c__tree-view--node")||_.stopPropagation()},ref:o,style:l,className:ye("c__tree-view--node",{...i.state,simpleNode:i.data.value.nodeType===se.SIMPLE_NODE,canDrop:i.data.value.canDrop??!0,externalDrop:h}),...e,children:[F&&m.jsx("div",{className:"c__tree-view--node__leaf"}),!F&&m.jsxs(m.Fragment,{children:[b&&m.jsx("div",{className:"c__tree-view--node__loading",children:m.jsx(li,{})}),!b&&m.jsx("span",{onClick:_=>{_.stopPropagation(),i.toggle()},className:"c__tree-view--node__arrow material-icons",children:i.isOpen?"keyboard_arrow_down":"keyboard_arrow_right"})]}),t]})})},Am=({children:t,uppercased:e=!1,type:r="accent",className:n,...i})=>m.jsx("div",{className:ye(n,"c__badge",{"c__badge--uppercased":e,[`c__badge--${r}`]:r}),...i,children:t});function _m(t){u.useEffect(()=>{if(!t)return;let e=!1;const r=()=>Array.from(t.querySelectorAll("button")).filter(l=>!l.disabled&&l.getAttribute("aria-disabled")!=="true"),n=l=>{const a=l.key==="ArrowLeft"||l.key==="ArrowRight",s=l.key===" ";if(!(l.target instanceof HTMLElement))return;if(s){const h=l.target.closest("button");h instanceof HTMLButtonElement&&t.contains(h)&&h.click();return}if(!a)return;const d=l.target.closest("button");if(!(d instanceof HTMLButtonElement&&t.contains(d)))return;const p=r(),g=p.indexOf(d);if(g<0)return;l.preventDefault(),l.stopPropagation();const y=l.key==="ArrowRight"?(g+1)%p.length:(g-1+p.length)%p.length;p[y].focus(),e=!0},i=l=>{e&&((l.key===" "||l.key==="Enter")&&(l.preventDefault(),l.stopPropagation()),e=!1)},o={capture:!0};return t.addEventListener("keydown",n,o),t.addEventListener("keyup",i,o),()=>{t.removeEventListener("keydown",n,o),t.removeEventListener("keyup",i,o)}},[t])}const Ui=({roles:t,onSelect:e,canUpdate:r=!0,selectedRole:n,isOpen:i,onOpenChange:o,roleTopMessage:l})=>{const a=t.find(s=>s.value===n);return r?m.jsx(kt,{isOpen:i,shouldCloseOnInteractOutside:s=>!s.closest(".c__access-role-dropdown"),onOpenChange:o,options:t,selectedValues:[n],onSelectValue:e,topMessage:l,children:m.jsxs("div",{role:"button",className:"c__access-role-dropdown",onClick:()=>{o==null||o(!i)},children:[m.jsx("span",{className:"c__access-role-dropdown__role-label",children:a==null?void 0:a.label}),m.jsx("span",{className:"material-icons c__access-role-dropdown__icon",children:i?"arrow_drop_up":"arrow_drop_down"})]})}):m.jsx("span",{className:"c__access-role-dropdown__role-label-can-not-update",children:a==null?void 0:a.label})},u1=({users:t,onRemoveUser:e,rightActions:r,onShare:n,shareButtonLabel:i,roles:o,selectedRole:l,onSelectRole:a})=>{const{t:s}=X.useCunningham(),[c,d]=u.useState(!1);return m.jsxs("div",{className:"c__add-share-user-list",children:[m.jsx("div",{className:"c__add-share-user-list__items",children:t.map(f=>m.jsx(d1,{user:f,onRemoveUser:e},f.id))}),m.jsxs("div",{className:"c__add-share-user-list__right-actions",children:[r,m.jsx(Ui,{roles:o,selectedRole:l,onSelect:a,isOpen:c,onOpenChange:d}),m.jsx(X.Button,{onClick:n,children:i??s("components.share.shareButton")})]})]})},d1=({user:t,onRemoveUser:e})=>m.jsxs("div",{className:"c__add-share-user-item",children:[m.jsx("span",{children:t.full_name||t.email}),m.jsx(X.Button,{variant:"tertiary",color:"neutral",size:"nano",onClick:()=>e==null?void 0:e(t),icon:m.jsx("span",{className:"material-icons",children:"close"})})]}),Sl=["gray","brand","red","orange","brown","green","blue-1","blue-2","pink","yellow","purple"],f1=t=>t.split(/[\s-_]+/).slice(0,2).map(e=>e[0]).join("").toUpperCase(),Fa=t=>{let e=0;for(let r=0;r<t.length;r++)e+=t.charCodeAt(r);return Sl[e%Sl.length]},Wi=({fullName:t,size:e="medium",forceColor:r,backgroundColor:n})=>{const i=f1(t),o=n||Fa(t);return m.jsx("div",{style:{backgroundColor:r||void 0},className:ye(`c__avatar ${e}`,{[o]:!r&&o}),children:m.jsx("div",{className:"c__avatar__initials",children:i})})},Zi=({fullName:t,email:e,showEmail:r=!0})=>{const n=t&&t!==""?t:e??"";return m.jsxs("div",{className:"c__user-row",children:[m.jsx(Wi,{fullName:n,size:"small"}),m.jsxs("div",{className:"c__user-row__info",children:[m.jsx("span",{className:"c__user-row__name",children:t}),r&&e&&m.jsx("span",{className:ye("c__user-row__email",{"has-only-email":e&&(t===""||!t)}),children:e})]})]})},Fl=({user:t})=>{const{t:e}=X.useCunningham();return m.jsx(Li,{left:m.jsx(Zi,{fullName:t.full_name,email:t.email}),alwaysShowRight:!1,right:m.jsxs("div",{className:"c__search-user-item-right",children:[m.jsx("span",{children:e("components.share.item.add")}),m.jsx("span",{className:"material-icons",children:"add"})]})})},h1=({accessData:t,roles:e,updateRole:r,deleteAccess:n,canUpdate:i=!0,roleTopMessage:o})=>{const{t:l}=X.useCunningham(),a=bt(),s=bt(),c=u.useMemo(()=>{const f=[];return n&&f.push({label:l("components.share.access.delete"),icon:m.jsx("span",{className:"material-icons",children:"back_hand"}),isDisabled:!i,callback:()=>n(t)}),f},[n,t,i,l]),d=()=>{const f=s.isOpen;s.setIsOpen(!f)};return m.jsx("div",{className:"c__share-member-item",children:m.jsx(Li,{left:m.jsx(Zi,{fullName:t.user.full_name,email:t.user.email,showEmail:!0}),alwaysShowRight:!0,right:m.jsxs("div",{className:"c__share-member-item__right",children:[m.jsx(Ui,{roles:e,selectedRole:t.role,onSelect:f=>r==null?void 0:r(t,f),isOpen:a.isOpen,onOpenChange:a.setIsOpen,canUpdate:i,roleTopMessage:o}),c.length>0&&i&&m.jsx(kt,{options:c,isOpen:s.isOpen,onOpenChange:s.setIsOpen,children:m.jsx(X.Button,{color:"neutral",variant:"tertiary",onClick:d,size:"small",icon:m.jsx("span",{className:"material-icons toto",children:"more_horiz"})})})]})})})},p1=({invitation:t,roles:e,updateRole:r,deleteInvitation:n,canUpdate:i=!0,showMoreActionsButton:o=!0,roleTopMessage:l})=>{const{t:a}=X.useCunningham(),s=bt(),c=bt(),d=[{label:a("components.share.access.delete"),callback:()=>n==null?void 0:n(t),isDisabled:!i,icon:m.jsx("span",{className:"material-icons",children:"back_hand"})}],f=()=>{const p=c.isOpen;c.setIsOpen(!p)};return m.jsx("div",{className:"c__share-member-item",children:m.jsx(Li,{left:m.jsx(Zi,{fullName:"",email:t.email,showEmail:!0}),alwaysShowRight:!0,right:m.jsxs("div",{className:"c__share-member-item__right",children:[m.jsx(Ui,{roles:e,selectedRole:t.role,onSelect:p=>r==null?void 0:r(t,p),isOpen:s.isOpen,canUpdate:i,onOpenChange:s.setIsOpen,roleTopMessage:l}),o&&i&&m.jsx(kt,{options:d,isOpen:c.isOpen,onOpenChange:c.setIsOpen,children:m.jsx(X.Button,{color:"neutral",variant:"tertiary",onClick:f,size:"small",icon:m.jsx("span",{className:"material-icons toto",children:"more_horiz"})})})]})})})},km="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12%2022C10.6167%2022%209.31667%2021.7375%208.1%2021.2125C6.88333%2020.6875%205.825%2019.975%204.925%2019.075C4.025%2018.175%203.3125%2017.1167%202.7875%2015.9C2.2625%2014.6833%202%2013.3833%202%2012C2%2010.6167%202.2625%209.31667%202.7875%208.1C3.3125%206.88333%204.025%205.825%204.925%204.925C5.825%204.025%206.88333%203.3125%208.1%202.7875C9.31667%202.2625%2010.6167%202%2012%202C13.3833%202%2014.6833%202.2625%2015.9%202.7875C17.1167%203.3125%2018.175%204.025%2019.075%204.925C19.975%205.825%2020.6875%206.88333%2021.2125%208.1C21.7375%209.31667%2022%2010.6167%2022%2012C22%2013.3833%2021.7375%2014.6833%2021.2125%2015.9C20.6875%2017.1167%2019.975%2018.175%2019.075%2019.075C18.175%2019.975%2017.1167%2020.6875%2015.9%2021.2125C14.6833%2021.7375%2013.3833%2022%2012%2022ZM11%2019.95V18C10.45%2018%209.97917%2017.8042%209.5875%2017.4125C9.19583%2017.0208%209%2016.55%209%2016V15L4.2%2010.2C4.15%2010.5%204.10417%2010.8%204.0625%2011.1C4.02083%2011.4%204%2011.7%204%2012C4%2014.0167%204.6625%2015.7833%205.9875%2017.3C7.3125%2018.8167%208.98333%2019.7%2011%2019.95ZM17.9%2017.4C18.2333%2017.0333%2018.5333%2016.6375%2018.8%2016.2125C19.0667%2015.7875%2019.2875%2015.3458%2019.4625%2014.8875C19.6375%2014.4292%2019.7708%2013.9583%2019.8625%2013.475C19.9542%2012.9917%2020%2012.5%2020%2012C20%2010.3667%2019.5458%208.875%2018.6375%207.525C17.7292%206.175%2016.5167%205.2%2015%204.6V5C15%205.55%2014.8042%206.02083%2014.4125%206.4125C14.0208%206.80417%2013.55%207%2013%207H11V9C11%209.28333%2010.9042%209.52083%2010.7125%209.7125C10.5208%209.90417%2010.2833%2010%2010%2010H8V12H14C14.2833%2012%2014.5208%2012.0958%2014.7125%2012.2875C14.9042%2012.4792%2015%2012.7167%2015%2013V16H16C16.4333%2016%2016.825%2016.1292%2017.175%2016.3875C17.525%2016.6458%2017.7667%2016.9833%2017.9%2017.4Z'%20fill='%23304DDF'/%3e%3c/svg%3e",Im="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M18%2018C18.4167%2018%2018.7708%2017.8542%2019.0625%2017.5625C19.3542%2017.2708%2019.5%2016.9167%2019.5%2016.5C19.5%2016.0833%2019.3542%2015.7292%2019.0625%2015.4375C18.7708%2015.1458%2018.4167%2015%2018%2015C17.5833%2015%2017.2292%2015.1458%2016.9375%2015.4375C16.6458%2015.7292%2016.5%2016.0833%2016.5%2016.5C16.5%2016.9167%2016.6458%2017.2708%2016.9375%2017.5625C17.2292%2017.8542%2017.5833%2018%2018%2018ZM18%2021C18.5%2021%2018.9667%2020.8833%2019.4%2020.65C19.8333%2020.4167%2020.1917%2020.0917%2020.475%2019.675C20.0917%2019.4417%2019.6917%2019.2708%2019.275%2019.1625C18.8583%2019.0542%2018.4333%2019%2018%2019C17.5667%2019%2017.1417%2019.0542%2016.725%2019.1625C16.3083%2019.2708%2015.9083%2019.4417%2015.525%2019.675C15.8083%2020.0917%2016.1667%2020.4167%2016.6%2020.65C17.0333%2020.8833%2017.5%2021%2018%2021ZM9%208H15V6C15%205.16667%2014.7083%204.45833%2014.125%203.875C13.5417%203.29167%2012.8333%203%2012%203C11.1667%203%2010.4583%203.29167%209.875%203.875C9.29167%204.45833%209%205.16667%209%206V8ZM12.25%2022H6C5.45%2022%204.97917%2021.8042%204.5875%2021.4125C4.19583%2021.0208%204%2020.55%204%2020V10C4%209.45%204.19583%208.97917%204.5875%208.5875C4.97917%208.19583%205.45%208%206%208H7V6C7%204.61667%207.4875%203.4375%208.4625%202.4625C9.4375%201.4875%2010.6167%201%2012%201C13.3833%201%2014.5625%201.4875%2015.5375%202.4625C16.5125%203.4375%2017%204.61667%2017%206V8H18C18.55%208%2019.0208%208.19583%2019.4125%208.5875C19.8042%208.97917%2020%209.45%2020%2010V11.3C19.7%2011.2%2019.3875%2011.125%2019.0625%2011.075C18.7375%2011.025%2018.3833%2011%2018%2011V10H6V20H11.3C11.4333%2020.4%2011.5667%2020.7458%2011.7%2021.0375C11.8333%2021.3292%2012.0167%2021.65%2012.25%2022ZM18%2023C16.6167%2023%2015.4375%2022.5125%2014.4625%2021.5375C13.4875%2020.5625%2013%2019.3833%2013%2018C13%2016.6167%2013.4875%2015.4375%2014.4625%2014.4625C15.4375%2013.4875%2016.6167%2013%2018%2013C19.3833%2013%2020.5625%2013.4875%2021.5375%2014.4625C22.5125%2015.4375%2023%2016.6167%2023%2018C23%2019.3833%2022.5125%2020.5625%2021.5375%2021.5375C20.5625%2022.5125%2019.3833%2023%2018%2023Z'%20fill='%23304DDF'/%3e%3c/svg%3e",g1=t=>{const{t:e}=X.useCunningham();return{t:r=>(t==null?void 0:t[r])??e(r)}},In=t=>{switch(t){case"public":return m.jsx("img",{src:km,alt:""});case"restricted":return m.jsx("img",{src:Im,alt:""});default:return null}},Om=({linkReachChoices:t=[],canUpdate:e,linkReach:r="public",onUpdateLinkReach:n,showLinkRole:i=!1,linkRoleChoices:o=[],linkRole:l="reader",onUpdateLinkRole:a,customTranslations:s})=>{const c=bt(),d=bt(),[f,p]=u.useState([r]),g=f[0],[y,h]=u.useState([l]),v=y[0],{t:b}=g1(s),E=u.useMemo(()=>t.map(_=>({icon:_.icon??In(_.value),value:_.value,label:b("components.share.linkSettings.reach.choices."+_.value+".title"),..._})),[t]),C=u.useMemo(()=>E.find(_=>_.value===g),[E,g]),D=u.useMemo(()=>o.map(_=>({value:_.value,label:b("components.share.linkSettings.role.choices."+_.value+".title"),..._})),[o]),F=u.useMemo(()=>D.find(_=>_.value===v),[D,v]),w=i&&o.length>0,S=()=>m.jsx("div",{className:"c__share-modal__link-settings__content__select",children:e?m.jsx(kt,{onSelectValue:_=>{p([_]),n==null||n(_)},options:E,isOpen:c.isOpen,onOpenChange:c.setIsOpen,selectedValues:f,children:m.jsxs(X.Button,{variant:"tertiary",icon:In(g),iconPosition:"left",onClick:()=>{e&&c.setIsOpen(!c.isOpen)},children:[C==null?void 0:C.label,m.jsx("span",{className:"material-icons",children:c.isOpen?"arrow_drop_up":"arrow_drop_down"})]})}):m.jsxs("span",{className:"c__share-modal__link-settings__content__select__value",children:[In(g),C==null?void 0:C.label]})}),M=()=>w?m.jsx("div",{className:"c__share-modal__link-settings__content__select-role",children:e?m.jsx(kt,{onSelectValue:_=>{h([_]),a==null||a(_)},options:D,isOpen:d.isOpen,onOpenChange:d.setIsOpen,selectedValues:y,children:m.jsx(X.Button,{variant:"tertiary",icon:m.jsx("span",{className:"material-icons",children:d.isOpen?"arrow_drop_up":"arrow_drop_down"}),iconPosition:"right",onClick:()=>{e&&d.setIsOpen(!d.isOpen)},size:"small",children:F==null?void 0:F.label})}):m.jsxs("span",{className:"c__share-modal__link-settings__content__select-role__value",children:[In(v),F==null?void 0:F.label]})}):null;return m.jsxs("div",{className:"c__share-modal__link-settings",children:[m.jsx("span",{className:"c__share-modal__link-settings__title",children:b("components.share.linkSettings.title")}),m.jsxs("div",{className:"c__share-modal__link-settings__content",children:[S(),m.jsx("div",{className:"c__share-modal__link-settings__content__description desktop",children:b(`components.share.linkSettings.reach.choices.${g}.description`)}),M()]}),m.jsx("div",{className:"c__share-modal__link-settings__content__description mobile",children:b(`components.share.linkSettings.reach.choices.${g}.description`)})]})},Nm=({searchUsersResult:t,children:e,outsideSearchContent:r,accesses:n=[],invitations:i=[],hasNextMembers:o=!1,canUpdate:l=!0,canView:a=!0,hasNextInvitations:s=!1,hideInvitations:c=!1,hideMembers:d=!1,cannotViewChildren:f,customTranslations:p,...g})=>{var B,K;if(!(c&&d)){if(!g.invitationRoles)throw new Error("invitationRoles is required");if(!g.onSearchUsers)throw new Error("onSearchUsers is required")}if(!c&&!g.onInviteUser)throw new Error("onInviteUser is required");if(l&&!a)throw new Error("canView cannot be false if canUpdate is true");const{t:y}=X.useCunningham(),{isMobile:h}=mt(),v=u.useRef(null),[b,E]=u.useState("400px"),C=u.useRef(null),[D,F]=u.useState(""),[w,S]=u.useState(""),[M,_]=u.useState([]),[V,x]=u.useState(((K=(B=g.invitationRoles)==null?void 0:B[0])==null?void 0:K.value)??""),N=h?"calc(100dvh - 32px)":"min(690px, calc(100dvh - 2em - 12px - 32px))",U=j=>{if(v.current&&clearTimeout(v.current),j===""){S(""),g.onSearchUsers("");return}v.current=setTimeout(()=>{g.onSearchUsers(j),S(j)},300)},k=j=>{F(j),U(j)},Z=w!==""||M.length>0,A=u.useCallback(j=>{_(H=>[...H,j]),F(""),S(""),g.onSearchUsers("")},[g]),O=j=>{_(H=>H.filter(W=>W.id!==j.id))},z=u.useMemo(()=>{const j=t==null?void 0:t.filter(G=>!M.includes(G));let H=y(w!==""?"components.share.user.no_result":"components.share.user.placeholder");const q=(G=>!!G.match(/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z\-0-9]{2,}))$/))(w??"")&&!(j!=null&&j.some(G=>G.email===w)),Y={id:w,full_name:"",email:w};return q&&(H=void 0),{groupName:y("components.share.search.group_name"),elements:j??[],showWhenEmpty:!0,emptyString:H,endActions:q?[{content:m.jsx(Fl,{user:Y}),onSelect:()=>void A(Y)}]:void 0}},[t,w,y,M,A]),R=j=>{var ae;const W=(j==null?void 0:j.clientHeight)??0,q=((ae=C.current)==null?void 0:ae.clientHeight)??0,Y=`calc(${N} - ${W}px - ${q}px - 70px - 10px)`;E(Y)},I=!c&&!Z&&!g.loading&&i.length>0,L=!d&&!Z&&!g.loading&&n.length>0,P=a?c&&d?"empty":"search":"cannot_view";return m.jsx(X.Modal,{title:g.modalTitle??y("components.share.modalTitle"),isOpen:g.isOpen,onClose:g.onClose,closeOnClickOutside:!0,size:h?X.ModalSize.FULL:X.ModalSize.LARGE,children:m.jsxs("div",{className:"c__share-modal no-padding",children:[l&&M.length>0&&m.jsx("div",{className:"c__share-modal__selected-users",ref:C,children:m.jsx(u1,{users:M,onRemoveUser:O,roles:g.invitationRoles,selectedRole:V,onSelectRole:x,onShare:()=>{g.onInviteUser(M,V),_([])}})}),P==="cannot_view"&&m.jsxs("div",{className:"c__share-modal__cannot-view",style:{height:b},children:[m.jsx("div",{className:"c__share-modal__cannot-view__content",children:m.jsx("p",{children:g.cannotViewMessage??y("components.share.cannot_view.message")})}),f]}),P==="search"&&m.jsx(ff,{onFilter:k,inputValue:D,showInput:l,loading:g.loading,placeholder:y("components.share.user.placeholder"),children:m.jsxs("div",{style:{height:b,overflowY:"auto"},children:[Z&&m.jsx("div",{className:"c__share-modal__search-users",children:m.jsx(hf,{group:z,onSelect:j=>{A(j)},renderElement:j=>m.jsx(Fl,{user:j})})}),!Z&&e,I&&m.jsxs("div",{className:"c__share-modal__invitations",children:[m.jsx("span",{className:"c__share-modal__invitations-title",children:y("components.share.invitations.title")}),i.map(j=>{var H;return m.jsx(p1,{invitation:j,roles:g.invitationRoles,updateRole:g.onUpdateInvitation,deleteInvitation:g.onDeleteInvitation,canUpdate:l,roleTopMessage:(H=g.invitationRoleTopMessage)==null?void 0:H.call(g,j)},j.id)}),m.jsx(bc,{show:s,onShowMore:g.onLoadNextInvitations})]}),L&&m.jsxs("div",{className:"c__share-modal__members",children:[m.jsx("span",{className:"c__share-modal__members-title",children:y(n.length>1?"components.share.members.title_plural":"components.share.members.title_singular",{count:n.length})}),n.map(j=>{var H,W;return m.jsx(h1,{accessData:j,canUpdate:l,roleTopMessage:(H=g.accessRoleTopMessage)==null?void 0:H.call(g,j),roles:((W=g.getAccessRoles)==null?void 0:W.call(g,j))??g.invitationRoles,updateRole:g.onUpdateAccess,deleteAccess:g.onDeleteAccess},j.id)}),m.jsx(bc,{show:o,onShowMore:g.onLoadNextMembers})]})]})}),m.jsx("div",{ref:R,children:!Z&&m.jsxs("div",{className:"c__share-modal__footer",children:[g.linkSettings&&m.jsx(Om,{linkReachChoices:g.linkReachChoices,canUpdate:l,onUpdateLinkReach:g.onUpdateLinkReach,linkReach:g.linkReach,linkRoleChoices:g.linkRoleChoices,linkRole:g.linkRole,onUpdateLinkRole:g.onUpdateLinkRole,showLinkRole:g.showLinkRole,customTranslations:p}),r]})})]})})},bc=({show:t,onShowMore:e})=>{const{t:r}=X.useCunningham();return t?m.jsx("div",{className:"c__share-modal__show-more-button",children:m.jsx(X.Button,{variant:"tertiary",size:"small",icon:m.jsx("span",{className:"material-icons",children:"arrow_downward"}),onClick:e,children:r("components.share.members.load_more")})}):null},Mm=({onCopyLink:t,onOk:e})=>{const{t:r}=X.useCunningham();return m.jsxs("div",{className:"c__share-modal__copy-link-footer",children:[m.jsx(X.Button,{variant:"secondary",icon:m.jsx("span",{className:"material-icons",children:"link"}),onClick:t,children:r("components.share.copyLink")}),m.jsx(X.Button,{variant:"primary",onClick:e,children:r("components.share.ok")})]})},v1=({user:t,settingsItems:e,showSettings:r,actions:n,termOfServiceUrl:i})=>{const o=!!n||!!i,{t:l}=X.useCunningham(),a=t?t.full_name??t.email:void 0,s=a?Fa(a):void 0;return t?m.jsx(m.Fragment,{children:m.jsxs("div",{className:"user-menu__content__body",children:[m.jsxs("div",{className:"user-menu__content__body__user-info",style:{"--gradient-color":`var(--c--contextuals--background--palette--${s}--primary)`},children:[m.jsx(Wi,{fullName:a}),m.jsx("div",{className:"user-menu__content__identity__name",children:t.full_name?m.jsxs(m.Fragment,{children:[m.jsx("p",{className:"user-menu__content__identity__name",children:m.jsx("strong",{children:t.full_name})}),m.jsx("p",{className:"user-menu__content__identity__email",children:t.email})]}):m.jsx("p",{className:"user-menu__content__identity__email",children:m.jsx("strong",{children:t.email})})})]}),r&&m.jsxs(m.Fragment,{children:[m.jsx(ln,{withPadding:!1}),m.jsx("div",{className:"user-menu__content__body__settings",children:e.map(c=>m.jsx(b1,{label:c.label,icon:c.icon,onClick:c.onClick},c.label))})]}),o&&m.jsxs(m.Fragment,{children:[m.jsx(ln,{withPadding:!1}),m.jsxs("div",{className:"user-menu__actions user-menu__actions--mobile",children:[n&&m.jsx("div",{className:"user-menu__actions__left",children:n}),i&&m.jsx("div",{className:"user-menu__actions__right",children:m.jsx(X.Button,{variant:"tertiary",target:"_blank",href:i,size:"small",color:"neutral",children:l("components.userMenu.term_of_service")})})]})]})]})}):null},Bm=({...t})=>{const{t:e}=X.useCunningham(),r=y1();return m.jsxs(m.Fragment,{children:[m.jsx(m1,{user:t.user,...r}),m.jsx(X.Modal,{isOpen:r.openState,onClose:()=>r.setOpenState(!1),"aria-label":e("components.userMenu.dialogTitle"),size:X.ModalSize.FULL,children:m.jsxs("div",{className:"user-menu__popover user-menu__popover--mobile",children:[m.jsx(X.Button,{variant:"tertiary",className:"user-menu__close-button",onClick:r.toggleUserMenu,"aria-label":e("components.userMenu.close"),color:"neutral",icon:m.jsx(Jr,{name:"close"}),size:"small"}),m.jsx(v1,{...t}),m.jsx("div",{className:"user-menu__footer--mobile",children:m.jsx(X.Button,{variant:"primary",onClick:r.toggleUserMenu,children:e("components.share.ok")})})]})})]})},Rm=({user:t,settingsItems:e,showSettings:r,actions:n,termOfServiceUrl:i})=>{const{t:o}=X.useCunningham(),l=y1();return m.jsxs(m.Fragment,{children:[m.jsx(m1,{user:t,...l}),m.jsx(ia,{className:"c__dropdown-menu user-menu__popover",triggerRef:l.triggerRef,isOpen:l.openState,onOpenChange:l.setOpenState,children:m.jsx(Ap,{"aria-label":o("components.userMenu.dialogTitle"),children:m.jsx(v1,{user:t,settingsItems:e,showSettings:r,actions:n,termOfServiceUrl:i})})})]})},Lm=({user:t,settingsCTA:e,logout:r,termOfServiceUrl:n,actions:i})=>{const{t:o}=X.useCunningham(),{isTablet:l}=mt(),a=u.useMemo(()=>{const c=[];return e&&c.push({label:o("components.userMenu.manage_account"),icon:"settings",onClick:typeof e=="function"?e:typeof e=="string"?()=>window.open(e,"_blank","noopener,noreferrer"):void 0}),r&&c.push({label:o("components.userMenu.logout"),icon:"logout",onClick:r}),c},[e,r,o]),s=a.length>0;return t?m.jsx(m.Fragment,{children:l?m.jsx(Bm,{user:t,settingsItems:a,showSettings:s,actions:i,termOfServiceUrl:n}):m.jsx(Rm,{user:t,settingsItems:a,showSettings:s,actions:i,termOfServiceUrl:n})}):null},b1=({label:t,icon:e,onClick:r})=>m.jsxs("div",{className:"user-menu__item",onClick:r,children:[m.jsx(Jr,{name:e}),m.jsx("span",{className:"user-menu__item__label",children:t})]}),m1=({user:t,triggerRef:e,id:r,openState:n,toggleUserMenu:i})=>{const{t:o}=X.useCunningham();return t?m.jsx(X.Button,{variant:"tertiary",size:"small",ref:e,id:r,onClick:i,"aria-label":o(n?"components.userMenu.close":"components.userMenu.open"),title:o(n?"components.userMenu.close":"components.userMenu.open"),children:m.jsx(Wi,{fullName:t.full_name??t.email})}):null},y1=()=>{const t=u.useId(),[e,r]=u.useState(!1),n=()=>{r(!e)},i=u.useRef(null);return{id:t,openState:e,setOpenState:r,toggleUserMenu:n,triggerRef:i}},Km=(t,e={})=>Ti.getThemesFromGlobals(br(Xr,t),{...e,overrides:br(Ai,e.overrides??{})});exports.AVATAR_COLORS=Sl;exports.AccessRoleDropdown=Ui;exports.Badge=Am;exports.CunninghamProvider=A1;exports.CustomTabs=l9;exports.DropdownMenu=kt;exports.Filter=Hp;exports.Footer=jp;exports.Header=nd;exports.Hero=zp;exports.HomeGutter=Up;exports.HorizontalSeparator=ln;exports.Icon=Jr;exports.IconSize=xe;exports.IconType=ni;exports.InvitationUserSelectorItem=d1;exports.InvitationUserSelectorList=u1;exports.LaGaufre=r3;exports.LaGaufreV2=Q2;exports.Label=$d;exports.LanguagePicker=rd;exports.LeftPanel=id;exports.MainLayout=Z3;exports.ProConnectButton=Cc;exports.QuickSearch=ff;exports.QuickSearchGroup=hf;exports.QuickSearchInput=df;exports.QuickSearchItem=Rn;exports.QuickSearchItemTemplate=Li;exports.SearchUserItem=Fl;exports.ShareInvitationItem=p1;exports.ShareMemberItem=h1;exports.ShareModal=Nm;exports.ShareModalCopyLinkFooter=Mm;exports.Spinner=li;exports.TreeApi=vr;exports.TreeContext=xa;exports.TreeProvider=gm;exports.TreeView=vm;exports.TreeViewItem=Tm;exports.TreeViewMoveModeEnum=Dt;exports.TreeViewNodeTypeEnum=se;exports.TreeViewSeparator=o1;exports.UserAvatar=Wi;exports.UserMenu=Lm;exports.UserMenuItem=b1;exports.UserRow=Zi;exports.VerticalSeparator=o9;exports.WithLabel=q3;exports.anctGlobals=J2;exports.containerSizeMap=td;exports.cunninghamConfig=al;exports.dsfrGlobals=X2;exports.getContainerSize=h3;exports.getIconSize=p3;exports.getUIKitThemesFromGlobals=Km;exports.getUserColor=Fa;exports.getUserInitials=f1;exports.headerHeight=G3;exports.iconSizeMap=ed;exports.isNode=Ur;exports.isSeparator=di;exports.isTitle=fi;exports.isViewMore=l1;exports.locales=yc;exports.useArrowRoving=_m;exports.useCustomTranslations=g1;exports.useDropdownMenu=bt;exports.useResponsive=mt;exports.useTree=a1;exports.useTreeContext=Sa;exports.whiteLabelGlobals=Y2;
88
+ For more information, see https://radix-ui.com/primitives/docs/components/${e.docsSlug}`;return T.useEffect(()=>{t&&(document.getElementById(t)||console.error(r))},[r,t]),null},Bp="DialogDescriptionWarning",Rp=({contentRef:t,descriptionId:e})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${r1(Bp).contentName}}.`;return T.useEffect(()=>{var o;const i=(o=t.current)==null?void 0:o.getAttribute("aria-describedby");e&&i&&(document.getElementById(e)||console.warn(n))},[n,t,e]),null},Lp=Wd,Kp=qd,jp=Yd,Hp=Xd,Nr='[cmdk-group=""]',xo='[cmdk-group-items=""]',Vp='[cmdk-group-heading=""]',pa='[cmdk-item=""]',hs=`${pa}:not([aria-disabled="true"])`,hl="cmdk-item-select",Et="data-value",zp=(t,e,r)=>i9(t,e,r),n1=T.createContext(void 0),dn=()=>T.useContext(n1),i1=T.createContext(void 0),ga=()=>T.useContext(i1),o1=T.createContext(void 0),l1=T.forwardRef((t,e)=>{let r=lr(()=>{var $,A;return{search:"",value:(A=($=t.value)!=null?$:t.defaultValue)!=null?A:"",filtered:{count:0,items:new Map,groups:new Set}}}),n=lr(()=>new Set),i=lr(()=>new Map),o=lr(()=>new Map),l=lr(()=>new Set),a=a1(t),{label:s,children:c,value:d,onValueChange:f,filter:p,shouldFilter:g,loop:y,disablePointerSelection:h=!1,vimBindings:v=!0,...m}=t,C=tt(),E=tt(),F=tt(),D=T.useRef(null),x=tg();Mt(()=>{if(d!==void 0){let $=d.trim();r.current.value=$,S.emit()}},[d]),Mt(()=>{x(6,Z)},[]);let S=T.useMemo(()=>({subscribe:$=>(l.current.add($),()=>l.current.delete($)),snapshot:()=>r.current,setState:($,A,B)=>{var L,j,V;if(!Object.is(r.current[$],A)){if(r.current[$]=A,$==="search")M(),H(),x(1,w);else if($==="value"&&(B||x(5,Z),((L=a.current)==null?void 0:L.value)!==void 0)){let W=A??"";(V=(j=a.current).onValueChange)==null||V.call(j,W);return}S.emit()}},emit:()=>{l.current.forEach($=>$())}}),[]),O=T.useMemo(()=>({value:($,A,B)=>{var L;A!==((L=o.current.get($))==null?void 0:L.value)&&(o.current.set($,{value:A,keywords:B}),r.current.filtered.items.set($,K(A,B)),x(2,()=>{H(),S.emit()}))},item:($,A)=>(n.current.add($),A&&(i.current.has(A)?i.current.get(A).add($):i.current.set(A,new Set([$]))),x(3,()=>{M(),H(),r.current.value||w(),S.emit()}),()=>{o.current.delete($),n.current.delete($),r.current.filtered.items.delete($);let B=_();x(4,()=>{M(),(B==null?void 0:B.getAttribute("id"))===$&&w(),S.emit()})}),group:$=>(i.current.has($)||i.current.set($,new Set),()=>{o.current.delete($),i.current.delete($)}),filter:()=>a.current.shouldFilter,label:s||t["aria-label"],getDisablePointerSelection:()=>a.current.disablePointerSelection,listId:C,inputId:F,labelId:E,listInnerRef:D}),[]);function K($,A){var B,L;let j=(L=(B=a.current)==null?void 0:B.filter)!=null?L:zp;return $?j($,r.current.search,A):0}function H(){if(!r.current.search||a.current.shouldFilter===!1)return;let $=r.current.filtered.items,A=[];r.current.filtered.groups.forEach(L=>{let j=i.current.get(L),V=0;j.forEach(W=>{let q=$.get(W);V=Math.max(q,V)}),A.push([L,V])});let B=D.current;U().sort((L,j)=>{var V,W;let q=L.getAttribute("id"),Y=j.getAttribute("id");return((V=$.get(Y))!=null?V:0)-((W=$.get(q))!=null?W:0)}).forEach(L=>{let j=L.closest(xo);j?j.appendChild(L.parentElement===j?L:L.closest(`${xo} > *`)):B.appendChild(L.parentElement===B?L:L.closest(`${xo} > *`))}),A.sort((L,j)=>j[1]-L[1]).forEach(L=>{var j;let V=(j=D.current)==null?void 0:j.querySelector(`${Nr}[${Et}="${encodeURIComponent(L[0])}"]`);V==null||V.parentElement.appendChild(V)})}function w(){let $=U().find(B=>B.getAttribute("aria-disabled")!=="true"),A=$==null?void 0:$.getAttribute(Et);S.setState("value",A||void 0)}function M(){var $,A,B,L;if(!r.current.search||a.current.shouldFilter===!1){r.current.filtered.count=n.current.size;return}r.current.filtered.groups=new Set;let j=0;for(let V of n.current){let W=(A=($=o.current.get(V))==null?void 0:$.value)!=null?A:"",q=(L=(B=o.current.get(V))==null?void 0:B.keywords)!=null?L:[],Y=K(W,q);r.current.filtered.items.set(V,Y),Y>0&&j++}for(let[V,W]of i.current)for(let q of W)if(r.current.filtered.items.get(q)>0){r.current.filtered.groups.add(V);break}r.current.filtered.count=j}function Z(){var $,A,B;let L=_();L&&((($=L.parentElement)==null?void 0:$.firstChild)===L&&((B=(A=L.closest(Nr))==null?void 0:A.querySelector(Vp))==null||B.scrollIntoView({block:"nearest"})),L.scrollIntoView({block:"nearest"}))}function _(){var $;return($=D.current)==null?void 0:$.querySelector(`${pa}[aria-selected="true"]`)}function U(){var $;return Array.from((($=D.current)==null?void 0:$.querySelectorAll(hs))||[])}function P($){let A=U()[$];A&&S.setState("value",A.getAttribute(Et))}function k($){var A;let B=_(),L=U(),j=L.findIndex(W=>W===B),V=L[j+$];(A=a.current)!=null&&A.loop&&(V=j+$<0?L[L.length-1]:j+$===L.length?L[0]:L[j+$]),V&&S.setState("value",V.getAttribute(Et))}function z($){let A=_(),B=A==null?void 0:A.closest(Nr),L;for(;B&&!L;)B=$>0?Qp(B,Nr):eg(B,Nr),L=B==null?void 0:B.querySelector(hs);L?S.setState("value",L.getAttribute(Et)):k($)}let R=()=>P(U().length-1),I=$=>{$.preventDefault(),$.metaKey?R():$.altKey?z(1):k(1)},N=$=>{$.preventDefault(),$.metaKey?P(0):$.altKey?z(-1):k(-1)};return T.createElement(Ce.div,{ref:e,tabIndex:-1,...m,"cmdk-root":"",onKeyDown:$=>{var A;if((A=m.onKeyDown)==null||A.call(m,$),!$.defaultPrevented)switch($.key){case"n":case"j":{v&&$.ctrlKey&&I($);break}case"ArrowDown":{I($);break}case"p":case"k":{v&&$.ctrlKey&&N($);break}case"ArrowUp":{N($);break}case"Home":{$.preventDefault(),P(0);break}case"End":{$.preventDefault(),R();break}case"Enter":if(!$.nativeEvent.isComposing&&$.keyCode!==229){$.preventDefault();let B=_();if(B){let L=new Event(hl);B.dispatchEvent(L)}}}}},T.createElement("label",{"cmdk-label":"",htmlFor:O.inputId,id:O.labelId,style:ng},s),Ri(t,$=>T.createElement(i1.Provider,{value:S},T.createElement(n1.Provider,{value:O},$))))}),Up=T.forwardRef((t,e)=>{var r,n;let i=tt(),o=T.useRef(null),l=T.useContext(o1),a=dn(),s=a1(t),c=(n=(r=s.current)==null?void 0:r.forceMount)!=null?n:l==null?void 0:l.forceMount;Mt(()=>{if(!c)return a.item(i,l==null?void 0:l.id)},[c]);let d=s1(i,o,[t.value,t.children,o],t.keywords),f=ga(),p=Nt(x=>x.value&&x.value===d.current),g=Nt(x=>c||a.filter()===!1?!0:x.search?x.filtered.items.get(i)>0:!0);T.useEffect(()=>{let x=o.current;if(!(!x||t.disabled))return x.addEventListener(hl,y),()=>x.removeEventListener(hl,y)},[g,t.onSelect,t.disabled]);function y(){var x,S;h(),(S=(x=s.current).onSelect)==null||S.call(x,d.current)}function h(){f.setState("value",d.current,!0)}if(!g)return null;let{disabled:v,value:m,onSelect:C,forceMount:E,keywords:F,...D}=t;return T.createElement(Ce.div,{ref:on([o,e]),...D,id:i,"cmdk-item":"",role:"option","aria-disabled":!!v,"aria-selected":!!p,"data-disabled":!!v,"data-selected":!!p,onPointerMove:v||a.getDisablePointerSelection()?void 0:h,onClick:v?void 0:y},t.children)}),Wp=T.forwardRef((t,e)=>{let{heading:r,children:n,forceMount:i,...o}=t,l=tt(),a=T.useRef(null),s=T.useRef(null),c=tt(),d=dn(),f=Nt(g=>i||d.filter()===!1?!0:g.search?g.filtered.groups.has(l):!0);Mt(()=>d.group(l),[]),s1(l,a,[t.value,t.heading,s]);let p=T.useMemo(()=>({id:l,forceMount:i}),[i]);return T.createElement(Ce.div,{ref:on([a,e]),...o,"cmdk-group":"",role:"presentation",hidden:f?void 0:!0},r&&T.createElement("div",{ref:s,"cmdk-group-heading":"","aria-hidden":!0,id:c},r),Ri(t,g=>T.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":r?c:void 0},T.createElement(o1.Provider,{value:p},g))))}),Zp=T.forwardRef((t,e)=>{let{alwaysRender:r,...n}=t,i=T.useRef(null),o=Nt(l=>!l.search);return!r&&!o?null:T.createElement(Ce.div,{ref:on([i,e]),...n,"cmdk-separator":"",role:"separator"})}),Gp=T.forwardRef((t,e)=>{let{onValueChange:r,...n}=t,i=t.value!=null,o=ga(),l=Nt(d=>d.search),a=Nt(d=>d.value),s=dn(),c=T.useMemo(()=>{var d;let f=(d=s.listInnerRef.current)==null?void 0:d.querySelector(`${pa}[${Et}="${encodeURIComponent(a)}"]`);return f==null?void 0:f.getAttribute("id")},[]);return T.useEffect(()=>{t.value!=null&&o.setState("search",t.value)},[t.value]),T.createElement(Ce.input,{ref:e,...n,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":s.listId,"aria-labelledby":s.labelId,"aria-activedescendant":c,id:s.inputId,type:"text",value:i?t.value:l,onChange:d=>{i||o.setState("search",d.target.value),r==null||r(d.target.value)}})}),qp=T.forwardRef((t,e)=>{let{children:r,label:n="Suggestions",...i}=t,o=T.useRef(null),l=T.useRef(null),a=dn();return T.useEffect(()=>{if(l.current&&o.current){let s=l.current,c=o.current,d,f=new ResizeObserver(()=>{d=requestAnimationFrame(()=>{let p=s.offsetHeight;c.style.setProperty("--cmdk-list-height",p.toFixed(1)+"px")})});return f.observe(s),()=>{cancelAnimationFrame(d),f.unobserve(s)}}},[]),T.createElement(Ce.div,{ref:on([o,e]),...i,"cmdk-list":"",role:"listbox","aria-label":n,id:a.listId},Ri(t,s=>T.createElement("div",{ref:on([l,a.listInnerRef]),"cmdk-list-sizer":""},s)))}),Yp=T.forwardRef((t,e)=>{let{open:r,onOpenChange:n,overlayClassName:i,contentClassName:o,container:l,...a}=t;return T.createElement(Lp,{open:r,onOpenChange:n},T.createElement(Kp,{container:l},T.createElement(jp,{"cmdk-overlay":"",className:i}),T.createElement(Hp,{"aria-label":t.label,"cmdk-dialog":"",className:o},T.createElement(l1,{ref:e,...a}))))}),Xp=T.forwardRef((t,e)=>Nt(r=>r.filtered.count===0)?T.createElement(Ce.div,{ref:e,...t,"cmdk-empty":"",role:"presentation"}):null),Jp=T.forwardRef((t,e)=>{let{progress:r,children:n,label:i="Loading...",...o}=t;return T.createElement(Ce.div,{ref:e,...o,"cmdk-loading":"",role:"progressbar","aria-valuenow":r,"aria-valuemin":0,"aria-valuemax":100,"aria-label":i},Ri(t,l=>T.createElement("div",{"aria-hidden":!0},l)))}),nn=Object.assign(l1,{List:qp,Item:Up,Input:Gp,Group:Wp,Separator:Zp,Dialog:Yp,Empty:Xp,Loading:Jp});function Qp(t,e){let r=t.nextElementSibling;for(;r;){if(r.matches(e))return r;r=r.nextElementSibling}}function eg(t,e){let r=t.previousElementSibling;for(;r;){if(r.matches(e))return r;r=r.previousElementSibling}}function a1(t){let e=T.useRef(t);return Mt(()=>{e.current=t}),e}var Mt=typeof window>"u"?T.useEffect:T.useLayoutEffect;function lr(t){let e=T.useRef();return e.current===void 0&&(e.current=t()),e}function on(t){return e=>{t.forEach(r=>{typeof r=="function"?r(e):r!=null&&(r.current=e)})}}function Nt(t){let e=ga(),r=()=>t(e.snapshot());return Hl.useSyncExternalStore(e.subscribe,r,r)}function s1(t,e,r,n=[]){let i=T.useRef(),o=dn();return Mt(()=>{var l;let a=(()=>{var c;for(let d of r){if(typeof d=="string")return d.trim();if(typeof d=="object"&&"current"in d)return d.current?(c=d.current.textContent)==null?void 0:c.trim():i.current}})(),s=n.map(c=>c.trim());o.value(t,a,s),(l=e.current)==null||l.setAttribute(Et,a),i.current=a}),i}var tg=()=>{let[t,e]=T.useState(),r=lr(()=>new Map);return Mt(()=>{r.current.forEach(n=>n()),r.current=new Map},[t]),(n,i)=>{r.current.set(n,i),e({})}};function rg(t){let e=t.type;return typeof e=="function"?e(t.props):"render"in e?e.render(t.props):t}function Ri({asChild:t,children:e},r){return t&&T.isValidElement(e)?T.cloneElement(rg(e),{ref:e.ref},r(e.props.children)):r(e)}var ng={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"};const c1=({withPadding:t=!0,direction:e,width:r="thin",size:n})=>b.jsx("div",{style:{"--size":n},className:ye("c__separator",`c__separator--${e}`,`c__separator--${r}`,{"with-padding":t})}),ln=t=>b.jsx(c1,{direction:"horizontal",...t}),u1=({loading:t,inputValue:e,onFilter:r,placeholder:n,children:i,withSeparator:o=!0})=>{const{t:l}=X.useCunningham();return i?b.jsxs(b.Fragment,{children:[i,o&&b.jsx(ln,{})]}):b.jsxs(b.Fragment,{children:[b.jsxs("div",{className:"quick-search-input-container",children:[!t&&b.jsx("span",{className:"material-icons",children:"search"}),t&&b.jsx("div",{children:b.jsx(li,{size:"md"})}),b.jsx(nn.Input,{autoFocus:!0,"aria-label":l("Quick search input"),onClick:a=>{a.stopPropagation()},role:"combobox",value:e,placeholder:n,onValueChange:r})]}),o&&b.jsx(ln,{withPadding:!0})]})},ig=t=>{let e=!1;return u.Children.forEach(t,r=>{e=e||!!r}),e},d1=({onFilter:t,inputContent:e,inputValue:r,loading:n,showInput:i=!0,label:o,placeholder:l,children:a})=>{const s=u.useRef(null);return b.jsx(b.Fragment,{children:b.jsx("div",{className:"quick-search-container",children:b.jsxs(nn,{label:o,shouldFilter:!1,ref:s,children:[i&&b.jsx(u1,{loading:n,withSeparator:ig(a),inputValue:r,onFilter:t,placeholder:l,children:e}),b.jsx(nn.List,{children:b.jsx("div",{children:a})})]})})})},Rn=({children:t,onSelect:e,id:r})=>b.jsx(nn.Item,{value:r,onSelect:e,children:t}),f1=({group:t,onSelect:e,renderElement:r})=>{var n,i;return!t.showWhenEmpty&&t.elements.length===0?null:b.jsx("div",{children:b.jsxs(nn.Group,{heading:t.groupName,forceMount:!1,children:[(n=t.startActions)==null?void 0:n.map((o,l)=>b.jsx(Rn,{onSelect:o.onSelect,children:o.content},`${t.groupName}-action-${l}`)),t.elements.map((o,l)=>b.jsx(Rn,{id:`${t.groupName}-element-${l}`,onSelect:()=>{e==null||e(o)},children:r==null?void 0:r(o)},`${t.groupName}-element-${l}`)),(i=t.endActions)==null?void 0:i.map((o,l)=>b.jsx(Rn,{onSelect:o.onSelect,children:o.content},`${t.groupName}-action-${l}`)),t.emptyString&&t.elements.length===0&&b.jsx("span",{className:"quick-search-group__empty-string",children:t.emptyString})]},t.groupName)})},Li=({alwaysShowRight:t=!1,left:e,right:r,testId:n})=>{const{isDesktop:i}=mt();return b.jsxs("div",{className:"c__quick-search-item-template","data-testid":n,children:[b.jsx("div",{className:"c__quick-search-item-template__left",children:e}),i&&r&&b.jsx("div",{className:ye("c__quick-search-item-template__right",{"always-show-right":t,"show-right-on-focus":!t}),children:r})]})},og=t=>b.jsx(c1,{direction:"vertical",...t}),lg=({tabs:t,defaultSelectedTab:e,fullWidth:r=!1})=>t.length===0?null:b.jsx("div",{className:ye("c__tabs",{"c__tabs__full-width":r}),children:b.jsxs(O7,{defaultSelectedKey:e,children:[b.jsx(N7,{"aria-label":"History of Ancient Rome",children:t.map(n=>b.jsxs(R7,{id:n.id,children:[n.icon&&b.jsx("span",{className:"material-icons",children:n.icon}),n.label]},n.id))}),t.map(n=>b.jsx(L7,{id:n.id,children:n.content},n.id))]})}),h1=u.createContext(null);function ke(){const t=u.useContext(h1);if(t===null)throw new Error("No Tree Api Provided");return t}const p1=u.createContext(null);function ag(){const t=u.useContext(p1);if(t===null)throw new Error("Provide a NodesContext");return t}const g1=u.createContext(null);function sg(){const t=u.useContext(g1);if(t===null)throw new Error("Provide a DnDContext");return t}const v1=u.createContext(0);function b1(){u.useContext(v1)}function Ln(t,e,r){return Math.max(Math.min(t,r),e)}function m1(t){return t&&t.isLeaf}function y1(t){return t&&t.isInternal&&!t.isOpen}function C1(t){var e;return t&&t.isOpen&&!(!((e=t.children)===null||e===void 0)&&e.length)}const E1=(t,e)=>{let r=t;for(;r;){if(r.id===e.id)return!0;r=r.parent}return!1},w1=t=>{if(!t.parent)throw Error("Node does not have a parent");return t.parent.children.findIndex(e=>e.id===t.id)};function cg(){}function va(t,e){if(!t)return null;if(t.id===e)return t;if(t.children)for(let r of t.children){const n=va(r,e);if(n)return n}return null}function si(t,e){if(e(t),t.children)for(let r of t.children)si(r,e)}function D1(t){const e=S1(t);let r;for(let n=0;n<e.length;++n)if(e[n]===t){r=ug(e,n);break}r==null||r.focus()}function x1(t){const e=S1(t);let r;for(let n=0;n<e.length;++n)if(e[n]===t){r=dg(e,n);break}r==null||r.focus()}function ug(t,e){return e+1<t.length?t[e+1]:t[0]}function dg(t,e){return e-1>=0?t[e-1]:t[t.length-1]}function S1(t){return Array.from(document.querySelectorAll('button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"]):not([disabled]), details:not([disabled]), summary:not(:disabled)')).filter(e=>e===t||!t.contains(e))}function zr(t,e){return typeof e=="boolean"?e:typeof e=="string"?t[e]:e(t)}function F1(t){return t===null?null:wt(t)}function wt(t){return typeof t=="string"?t:t.id}function fg(...t){return e=>{t.forEach(r=>{typeof r=="function"?r(e):r!=null&&(r.current=e)})}}function $1(t,...e){if(t)return t(...e)}function P1(t){return new Promise((e,r)=>{let n=0;function i(){n+=1,n===100&&r(),t()?e():setTimeout(i,10)}i()})}function A1(t){var e,r;const n=t.focusedNode;return n?n.isOpen?0:n.parent?n.childIndex+1:0:(r=(e=t.root.children)===null||e===void 0?void 0:e.length)!==null&&r!==void 0?r:0}function T1(t){const e=t.focusedNode;return e?e.isOpen?e.id:e.parent&&!e.parent.isRoot?e.parent.id:null:null}const hg=Object.freeze(Object.defineProperty({__proto__:null,access:zr,bound:Ln,dfs:va,focusNextElement:D1,focusPrevElement:x1,getInsertIndex:A1,getInsertParentId:T1,identify:wt,identifyNull:F1,indexOf:w1,isClosed:y1,isDescendant:E1,isItem:m1,isOpenWithEmptyChildren:C1,mergeRefs:fg,noop:cg,safeRun:$1,waitFor:P1,walk:si},Symbol.toStringTag,{value:"Module"})),pg={display:"flex",alignItems:"center",zIndex:1},gg={flex:1,height:"2px",background:"#4B91E2",borderRadius:"1px"},vg={width:"4px",height:"4px",boxShadow:"0 0 0 3px #4B91E2",borderRadius:"50%"},bg=u.memo(function({top:e,left:r,indent:n}){const i={position:"absolute",pointerEvents:"none",top:e-2+"px",left:r+"px",right:n+"px"};return b.jsxs("div",{style:Object.assign(Object.assign({},pg),i),children:[b.jsx("div",{style:Object.assign({},vg)}),b.jsx("div",{style:Object.assign({},gg)})]})});function mg({node:t,attrs:e,innerRef:r,children:n}){return b.jsx("div",Object.assign({},e,{ref:r,onFocus:i=>i.stopPropagation(),onClick:t.handleClick,children:n}))}function yg(t){return b.jsxs("div",{ref:t.dragHandle,style:t.style,children:[b.jsx("span",{onClick:e=>{e.stopPropagation(),t.node.toggle()},children:t.node.isLeaf?"🌳":t.node.isOpen?"🗁":"🗀"})," ",t.node.isEditing?b.jsx(Eg,Object.assign({},t)):b.jsx(Cg,Object.assign({},t))]})}function Cg(t){return b.jsx(b.Fragment,{children:b.jsx("span",{children:t.node.data.name})})}function Eg({node:t}){const e=u.useRef();return u.useEffect(()=>{var r,n;(r=e.current)===null||r===void 0||r.focus(),(n=e.current)===null||n===void 0||n.select()},[]),b.jsx("input",{ref:e,defaultValue:t.data.name,onBlur:()=>t.reset(),onKeyDown:r=>{var n;r.key==="Escape"&&t.reset(),r.key==="Enter"&&t.submit(((n=e.current)===null||n===void 0?void 0:n.value)||"")}})}function So(t){return{type:"EDIT",id:t}}function wg(t={id:null},e){return e.type==="EDIT"?Object.assign(Object.assign({},t),{id:e.id}):t}function Jt(t){return{type:"FOCUS",id:t}}function Dg(){return{type:"TREE_BLUR"}}function xg(t={id:null,treeFocused:!1},e){return e.type==="FOCUS"?Object.assign(Object.assign({},t),{id:e.id,treeFocused:!0}):e.type==="TREE_BLUR"?Object.assign(Object.assign({},t),{treeFocused:!1}):t}class ci{constructor(e){this.handleClick=r=>{r.metaKey&&!this.tree.props.disableMultiSelection?this.isSelected?this.deselect():this.selectMulti():r.shiftKey&&!this.tree.props.disableMultiSelection?this.selectContiguous():(this.select(),this.activate())},this.tree=e.tree,this.id=e.id,this.data=e.data,this.level=e.level,this.children=e.children,this.parent=e.parent,this.isDraggable=e.isDraggable,this.rowIndex=e.rowIndex}get isRoot(){return this.id===an}get isLeaf(){return!Array.isArray(this.children)}get isInternal(){return!this.isLeaf}get isOpen(){return this.isLeaf?!1:this.tree.isOpen(this.id)}get isClosed(){return this.isLeaf?!1:!this.tree.isOpen(this.id)}get isEditable(){return this.tree.isEditable(this.data)}get isEditing(){return this.tree.editingId===this.id}get isSelected(){return this.tree.isSelected(this.id)}get isOnlySelection(){return this.isSelected&&this.tree.hasOneSelection}get isSelectedStart(){var e;return this.isSelected&&!(!((e=this.prev)===null||e===void 0)&&e.isSelected)}get isSelectedEnd(){var e;return this.isSelected&&!(!((e=this.next)===null||e===void 0)&&e.isSelected)}get isFocused(){return this.tree.isFocused(this.id)}get isDragging(){return this.tree.isDragging(this.id)}get willReceiveDrop(){return this.tree.willReceiveDrop(this.id)}get state(){return{isClosed:this.isClosed,isDragging:this.isDragging,isEditing:this.isEditing,isFocused:this.isFocused,isInternal:this.isInternal,isLeaf:this.isLeaf,isOpen:this.isOpen,isSelected:this.isSelected,isSelectedEnd:this.isSelectedEnd,isSelectedStart:this.isSelectedStart,willReceiveDrop:this.willReceiveDrop}}get childIndex(){return this.parent&&this.parent.children?this.parent.children.findIndex(e=>e.id===this.id):-1}get next(){return this.rowIndex===null?null:this.tree.at(this.rowIndex+1)}get prev(){return this.rowIndex===null?null:this.tree.at(this.rowIndex-1)}get nextSibling(){var e,r;const n=this.childIndex;return(r=(e=this.parent)===null||e===void 0?void 0:e.children[n+1])!==null&&r!==void 0?r:null}isAncestorOf(e){if(!e)return!1;let r=e;for(;r;){if(r.id===this.id)return!0;r=r.parent}return!1}select(){this.tree.select(this)}deselect(){this.tree.deselect(this)}selectMulti(){this.tree.selectMulti(this)}selectContiguous(){this.tree.selectContiguous(this)}activate(){this.tree.activate(this)}focus(){this.tree.focus(this)}toggle(){this.tree.toggle(this)}open(){this.tree.open(this)}openParents(){this.tree.openParents(this)}close(){this.tree.close(this)}submit(e){this.tree.submit(this,e)}reset(){this.tree.reset()}clone(){return new ci(Object.assign({},this))}edit(){return this.tree.edit(this)}}const an="__REACT_ARBORIST_INTERNAL_ROOT__";function ps(t){var e;function r(o,l,a){const s=t.accessId(o),c=new ci({tree:t,data:o,level:l,parent:a,id:s,children:null,isDraggable:t.isDraggable(o),rowIndex:null}),d=t.accessChildren(o);return d&&(c.children=d.map(f=>r(f,l+1,c))),c}const n=new ci({tree:t,id:an,data:{id:an},level:-1,parent:null,children:null,isDraggable:!0,rowIndex:null}),i=(e=t.props.data)!==null&&e!==void 0?e:[];return n.children=i.map(o=>r(o,0,n)),n}const pl={open(t,e){return{type:"VISIBILITY_OPEN",id:t,filtered:e}},close(t,e){return{type:"VISIBILITY_CLOSE",id:t,filtered:e}},toggle(t,e){return{type:"VISIBILITY_TOGGLE",id:t,filtered:e}},clear(t){return{type:"VISIBILITY_CLEAR",filtered:t}}};function gs(t={},e){if(e.type==="VISIBILITY_OPEN")return Object.assign(Object.assign({},t),{[e.id]:!0});if(e.type==="VISIBILITY_CLOSE")return Object.assign(Object.assign({},t),{[e.id]:!1});if(e.type==="VISIBILITY_TOGGLE"){const r=t[e.id];return Object.assign(Object.assign({},t),{[e.id]:!r})}else return e.type==="VISIBILITY_CLEAR"?{}:t}function Sg(t={filtered:{},unfiltered:{}},e){return e.type.startsWith("VISIBILITY")?e.filtered?Object.assign(Object.assign({},t),{filtered:gs(t.filtered,e)}):Object.assign(Object.assign({},t),{unfiltered:gs(t.unfiltered,e)}):t}const Er=t=>{var e;return{nodes:{open:{filtered:{},unfiltered:(e=t==null?void 0:t.initialOpenState)!==null&&e!==void 0?e:{}},focus:{id:null,treeFocused:!1},edit:{id:null},drag:{id:null,selectedIds:[],destinationParentId:null,destinationIndex:null},selection:{ids:new Set,anchor:null,mostRecent:null}},dnd:{cursor:{type:"none"},dragId:null,dragIds:[],parentId:null,index:-1}}},Le={clear:()=>({type:"SELECTION_CLEAR"}),only:t=>({type:"SELECTION_ONLY",id:wt(t)}),add:t=>({type:"SELECTION_ADD",ids:(Array.isArray(t)?t:[t]).map(wt)}),remove:t=>({type:"SELECTION_REMOVE",ids:(Array.isArray(t)?t:[t]).map(wt)}),set:t=>Object.assign({type:"SELECTION_SET"},t),mostRecent:t=>({type:"SELECTION_MOST_RECENT",id:t===null?null:wt(t)}),anchor:t=>({type:"SELECTION_ANCHOR",id:t===null?null:wt(t)})};function Fg(t=Er().nodes.selection,e){const r=t.ids;switch(e.type){case"SELECTION_CLEAR":return Object.assign(Object.assign({},t),{ids:new Set});case"SELECTION_ONLY":return Object.assign(Object.assign({},t),{ids:new Set([e.id])});case"SELECTION_ADD":return e.ids.length===0?t:(e.ids.forEach(n=>r.add(n)),Object.assign(Object.assign({},t),{ids:new Set(r)}));case"SELECTION_REMOVE":return e.ids.length===0?t:(e.ids.forEach(n=>r.delete(n)),Object.assign(Object.assign({},t),{ids:new Set(r)}));case"SELECTION_SET":return Object.assign(Object.assign({},t),{ids:e.ids,mostRecent:e.mostRecent,anchor:e.anchor});case"SELECTION_MOST_RECENT":return Object.assign(Object.assign({},t),{mostRecent:e.id});case"SELECTION_ANCHOR":return Object.assign(Object.assign({},t),{anchor:e.id});default:return t}}const wr={cursor(t){return{type:"DND_CURSOR",cursor:t}},dragStart(t,e){return{type:"DND_DRAG_START",id:t,dragIds:e}},dragEnd(){return{type:"DND_DRAG_END"}},hovering(t,e){return{type:"DND_HOVERING",parentId:t,index:e}}};function $g(t=Er().dnd,e){switch(e.type){case"DND_CURSOR":return Object.assign(Object.assign({},t),{cursor:e.cursor});case"DND_DRAG_START":return Object.assign(Object.assign({},t),{dragId:e.id,dragIds:e.dragIds});case"DND_DRAG_END":return Er().dnd;case"DND_HOVERING":return Object.assign(Object.assign({},t),{parentId:e.parentId,index:e.index});default:return t}}const Pg={position:"fixed",pointerEvents:"none",zIndex:100,left:0,top:0,width:"100%",height:"100%"},Ag=t=>{if(!t)return{display:"none"};const{x:e,y:r}=t;return{transform:`translate(${e}px, ${r}px)`}},Tg=t=>{if(!t)return{display:"none"};const{x:e,y:r}=t;return{transform:`translate(${e+10}px, ${r+10}px)`}};function _1({offset:t,mouse:e,id:r,dragIds:n,isDragging:i}){return b.jsxs(_g,{isDragging:i,children:[b.jsx(kg,{offset:t,children:b.jsx(Og,{id:r,dragIds:n})}),b.jsx(Ig,{mouse:e,count:n.length})]})}const _g=u.memo(function(e){return e.isDragging?b.jsx("div",{style:Pg,children:e.children}):null});function kg(t){return b.jsx("div",{className:"row preview",style:Ag(t.offset),children:t.children})}function Ig(t){const{count:e,mouse:r}=t;return e>1?b.jsx("div",{className:"selected-count",style:Tg(r),children:e}):null}const Og=u.memo(function(e){const r=ke(),n=r.get(e.id);return n?b.jsx(r.renderNode,{preview:!0,node:n,style:{paddingLeft:n.level*r.indent,opacity:.2,background:"transparent"},tree:r}):null});function gl(){return gl=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},gl.apply(null,arguments)}function vs(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vl(t,e){return vl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},vl(t,e)}function Mg(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,vl(t,e)}var bs=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function Ng(t,e){return!!(t===e||bs(t)&&bs(e))}function Bg(t,e){if(t.length!==e.length)return!1;for(var r=0;r<t.length;r++)if(!Ng(t[r],e[r]))return!1;return!0}function Fo(t,e){e===void 0&&(e=Bg);var r,n=[],i,o=!1;function l(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];return o&&r===this&&e(a,n)||(i=t.apply(this,a),o=!0,r=this,n=a),i}return l}var Rg=typeof performance=="object"&&typeof performance.now=="function",ms=Rg?function(){return performance.now()}:function(){return Date.now()};function ys(t){cancelAnimationFrame(t.id)}function Lg(t,e){var r=ms();function n(){ms()-r>=e?t.call(null):i.id=requestAnimationFrame(n)}var i={id:requestAnimationFrame(n)};return i}var $o=-1;function Cs(t){if(t===void 0&&(t=!1),$o===-1||t){var e=document.createElement("div"),r=e.style;r.width="50px",r.height="50px",r.overflow="scroll",document.body.appendChild(e),$o=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return $o}var Qt=null;function Es(t){if(t===void 0&&(t=!1),Qt===null||t){var e=document.createElement("div"),r=e.style;r.width="50px",r.height="50px",r.overflow="scroll",r.direction="rtl";var n=document.createElement("div"),i=n.style;return i.width="100px",i.height="100px",e.appendChild(n),document.body.appendChild(e),e.scrollLeft>0?Qt="positive-descending":(e.scrollLeft=1,e.scrollLeft===0?Qt="negative":Qt="positive-ascending"),document.body.removeChild(e),Qt}return Qt}process.env.NODE_ENV;var Kg=150,jg=function(e,r){return e},Kn=null,jn=null;process.env.NODE_ENV!=="production"&&typeof window<"u"&&typeof window.WeakSet<"u"&&(Kn=new WeakSet,jn=new WeakSet);function Hg(t){var e,r=t.getItemOffset,n=t.getEstimatedTotalSize,i=t.getItemSize,o=t.getOffsetForIndexAndAlignment,l=t.getStartIndexForOffset,a=t.getStopIndexForStartIndex,s=t.initInstanceProps,c=t.shouldResetStyleCacheOnItemSizeChange,d=t.validateProps;return e=function(f){Mg(p,f);function p(y){var h;return h=f.call(this,y)||this,h._instanceProps=s(h.props,vs(h)),h._outerRef=void 0,h._resetIsScrollingTimeoutId=null,h.state={instance:vs(h),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof h.props.initialScrollOffset=="number"?h.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},h._callOnItemsRendered=void 0,h._callOnItemsRendered=Fo(function(v,m,C,E){return h.props.onItemsRendered({overscanStartIndex:v,overscanStopIndex:m,visibleStartIndex:C,visibleStopIndex:E})}),h._callOnScroll=void 0,h._callOnScroll=Fo(function(v,m,C){return h.props.onScroll({scrollDirection:v,scrollOffset:m,scrollUpdateWasRequested:C})}),h._getItemStyle=void 0,h._getItemStyle=function(v){var m=h.props,C=m.direction,E=m.itemSize,F=m.layout,D=h._getItemStyleCache(c&&E,c&&F,c&&C),x;if(D.hasOwnProperty(v))x=D[v];else{var S=r(h.props,v,h._instanceProps),O=i(h.props,v,h._instanceProps),K=C==="horizontal"||F==="horizontal",H=C==="rtl",w=K?S:0;D[v]=x={position:"absolute",left:H?void 0:w,right:H?w:void 0,top:K?0:S,height:K?"100%":O,width:K?O:"100%"}}return x},h._getItemStyleCache=void 0,h._getItemStyleCache=Fo(function(v,m,C){return{}}),h._onScrollHorizontal=function(v){var m=v.currentTarget,C=m.clientWidth,E=m.scrollLeft,F=m.scrollWidth;h.setState(function(D){if(D.scrollOffset===E)return null;var x=h.props.direction,S=E;if(x==="rtl")switch(Es()){case"negative":S=-E;break;case"positive-descending":S=F-C-E;break}return S=Math.max(0,Math.min(S,F-C)),{isScrolling:!0,scrollDirection:D.scrollOffset<S?"forward":"backward",scrollOffset:S,scrollUpdateWasRequested:!1}},h._resetIsScrollingDebounced)},h._onScrollVertical=function(v){var m=v.currentTarget,C=m.clientHeight,E=m.scrollHeight,F=m.scrollTop;h.setState(function(D){if(D.scrollOffset===F)return null;var x=Math.max(0,Math.min(F,E-C));return{isScrolling:!0,scrollDirection:D.scrollOffset<x?"forward":"backward",scrollOffset:x,scrollUpdateWasRequested:!1}},h._resetIsScrollingDebounced)},h._outerRefSetter=function(v){var m=h.props.outerRef;h._outerRef=v,typeof m=="function"?m(v):m!=null&&typeof m=="object"&&m.hasOwnProperty("current")&&(m.current=v)},h._resetIsScrollingDebounced=function(){h._resetIsScrollingTimeoutId!==null&&ys(h._resetIsScrollingTimeoutId),h._resetIsScrollingTimeoutId=Lg(h._resetIsScrolling,Kg)},h._resetIsScrolling=function(){h._resetIsScrollingTimeoutId=null,h.setState({isScrolling:!1},function(){h._getItemStyleCache(-1,null)})},h}p.getDerivedStateFromProps=function(h,v){return Vg(h,v),d(h),null};var g=p.prototype;return g.scrollTo=function(h){h=Math.max(0,h),this.setState(function(v){return v.scrollOffset===h?null:{scrollDirection:v.scrollOffset<h?"forward":"backward",scrollOffset:h,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},g.scrollToItem=function(h,v){v===void 0&&(v="auto");var m=this.props,C=m.itemCount,E=m.layout,F=this.state.scrollOffset;h=Math.max(0,Math.min(h,C-1));var D=0;if(this._outerRef){var x=this._outerRef;E==="vertical"?D=x.scrollWidth>x.clientWidth?Cs():0:D=x.scrollHeight>x.clientHeight?Cs():0}this.scrollTo(o(this.props,h,v,F,this._instanceProps,D))},g.componentDidMount=function(){var h=this.props,v=h.direction,m=h.initialScrollOffset,C=h.layout;if(typeof m=="number"&&this._outerRef!=null){var E=this._outerRef;v==="horizontal"||C==="horizontal"?E.scrollLeft=m:E.scrollTop=m}this._callPropsCallbacks()},g.componentDidUpdate=function(){var h=this.props,v=h.direction,m=h.layout,C=this.state,E=C.scrollOffset,F=C.scrollUpdateWasRequested;if(F&&this._outerRef!=null){var D=this._outerRef;if(v==="horizontal"||m==="horizontal")if(v==="rtl")switch(Es()){case"negative":D.scrollLeft=-E;break;case"positive-ascending":D.scrollLeft=E;break;default:var x=D.clientWidth,S=D.scrollWidth;D.scrollLeft=S-x-E;break}else D.scrollLeft=E;else D.scrollTop=E}this._callPropsCallbacks()},g.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&ys(this._resetIsScrollingTimeoutId)},g.render=function(){var h=this.props,v=h.children,m=h.className,C=h.direction,E=h.height,F=h.innerRef,D=h.innerElementType,x=h.innerTagName,S=h.itemCount,O=h.itemData,K=h.itemKey,H=K===void 0?jg:K,w=h.layout,M=h.outerElementType,Z=h.outerTagName,_=h.style,U=h.useIsScrolling,P=h.width,k=this.state.isScrolling,z=C==="horizontal"||w==="horizontal",R=z?this._onScrollHorizontal:this._onScrollVertical,I=this._getRangeToRender(),N=I[0],$=I[1],A=[];if(S>0)for(var B=N;B<=$;B++)A.push(u.createElement(v,{data:O,key:H(B,O),index:B,isScrolling:U?k:void 0,style:this._getItemStyle(B)}));var L=n(this.props,this._instanceProps);return u.createElement(M||Z||"div",{className:m,onScroll:R,ref:this._outerRefSetter,style:gl({position:"relative",height:E,width:P,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:C},_)},u.createElement(D||x||"div",{children:A,ref:F,style:{height:z?"100%":L,pointerEvents:k?"none":void 0,width:z?L:"100%"}}))},g._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var h=this.props.itemCount;if(h>0){var v=this._getRangeToRender(),m=v[0],C=v[1],E=v[2],F=v[3];this._callOnItemsRendered(m,C,E,F)}}if(typeof this.props.onScroll=="function"){var D=this.state,x=D.scrollDirection,S=D.scrollOffset,O=D.scrollUpdateWasRequested;this._callOnScroll(x,S,O)}},g._getRangeToRender=function(){var h=this.props,v=h.itemCount,m=h.overscanCount,C=this.state,E=C.isScrolling,F=C.scrollDirection,D=C.scrollOffset;if(v===0)return[0,0,0,0];var x=l(this.props,D,this._instanceProps),S=a(this.props,x,D,this._instanceProps),O=!E||F==="backward"?Math.max(1,m):1,K=!E||F==="forward"?Math.max(1,m):1;return[Math.max(0,x-O),Math.max(0,Math.min(v-1,S+K)),x,S]},p}(u.PureComponent),e.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},e}var Vg=function(e,r){var n=e.children,i=e.direction,o=e.height,l=e.layout,a=e.innerTagName,s=e.outerTagName,c=e.width,d=r.instance;if(process.env.NODE_ENV!=="production"){(a!=null||s!=null)&&jn&&!jn.has(d)&&(jn.add(d),console.warn("The innerTagName and outerTagName props have been deprecated. Please use the innerElementType and outerElementType props instead."));var f=i==="horizontal"||l==="horizontal";switch(i){case"horizontal":case"vertical":Kn&&!Kn.has(d)&&(Kn.add(d),console.warn('The direction prop should be either "ltr" (default) or "rtl". Please use the layout prop to specify "vertical" (default) or "horizontal" orientation.'));break;case"ltr":case"rtl":break;default:throw Error('An invalid "direction" prop has been specified. Value should be either "ltr" or "rtl". '+('"'+i+'" was specified.'))}switch(l){case"horizontal":case"vertical":break;default:throw Error('An invalid "layout" prop has been specified. Value should be either "horizontal" or "vertical". '+('"'+l+'" was specified.'))}if(n==null)throw Error('An invalid "children" prop has been specified. Value should be a React component. '+('"'+(n===null?"null":typeof n)+'" was specified.'));if(f&&typeof c!="number")throw Error('An invalid "width" prop has been specified. Horizontal lists must specify a number for width. '+('"'+(c===null?"null":typeof c)+'" was specified.'));if(!f&&typeof o!="number")throw Error('An invalid "height" prop has been specified. Vertical lists must specify a number for height. '+('"'+(o===null?"null":typeof o)+'" was specified.'))}},zg=Hg({getItemOffset:function(e,r){var n=e.itemSize;return r*n},getItemSize:function(e,r){var n=e.itemSize;return n},getEstimatedTotalSize:function(e){var r=e.itemCount,n=e.itemSize;return n*r},getOffsetForIndexAndAlignment:function(e,r,n,i,o,l){var a=e.direction,s=e.height,c=e.itemCount,d=e.itemSize,f=e.layout,p=e.width,g=a==="horizontal"||f==="horizontal",y=g?p:s,h=Math.max(0,c*d-y),v=Math.min(h,r*d),m=Math.max(0,r*d-y+d+l);switch(n==="smart"&&(i>=m-y&&i<=v+y?n="auto":n="center"),n){case"start":return v;case"end":return m;case"center":{var C=Math.round(m+(v-m)/2);return C<Math.ceil(y/2)?0:C>h+Math.floor(y/2)?h:C}case"auto":default:return i>=m&&i<=v?i:i<m?m:v}},getStartIndexForOffset:function(e,r){var n=e.itemCount,i=e.itemSize;return Math.max(0,Math.min(n-1,Math.floor(r/i)))},getStopIndexForStartIndex:function(e,r,n){var i=e.direction,o=e.height,l=e.itemCount,a=e.itemSize,s=e.layout,c=e.width,d=i==="horizontal"||s==="horizontal",f=r*a,p=d?c:o,g=Math.ceil((p+n-f)/a);return Math.max(0,Math.min(l-1,r+g-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){var r=e.itemSize;if(process.env.NODE_ENV!=="production"&&typeof r!="number")throw Error('An invalid "itemSize" prop has been specified. Value should be a number. '+('"'+(r===null?"null":typeof r)+'" was specified.'))}});function Ug(){var t,e;const r=ke(),i=sg().cursor;if(!i||i.type!=="line")return null;const o=r.indent,l=r.rowHeight*i.index+((e=(t=r.props.padding)!==null&&t!==void 0?t:r.props.paddingTop)!==null&&e!==void 0?e:0),a=o*i.level,s=r.renderCursor;return b.jsx(s,{top:l,left:a,indent:o})}var Wg=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]]);return r};const Zg=u.forwardRef(function(e,r){const{children:n}=e,i=Wg(e,["children"]),o=ke();return b.jsxs("div",Object.assign({ref:r},i,{onClick:l=>{l.currentTarget===l.target&&o.deselectAll()},children:[b.jsx(Gg,{}),n]}))}),Gg=()=>{const t=ke();return b.jsx("div",{style:{height:t.visibleNodes.length*t.rowHeight,width:"100%",position:"absolute",left:"0",right:"0"},children:b.jsx(Ug,{})})};var qg=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]]);return r};const Yg=u.forwardRef(function(e,r){var n,i,o,l,{style:a}=e,s=qg(e,["style"]);const c=ke(),d=(i=(n=c.props.padding)!==null&&n!==void 0?n:c.props.paddingTop)!==null&&i!==void 0?i:0,f=(l=(o=c.props.padding)!==null&&o!==void 0?o:c.props.paddingBottom)!==null&&l!==void 0?l:0;return b.jsx("div",Object.assign({ref:r,style:Object.assign(Object.assign({},a),{height:`${parseFloat(a.height)+d+f}px`})},s))});var k1=u.createContext({dragDropManager:void 0}),Ne;(function(t){t.SOURCE="SOURCE",t.TARGET="TARGET"})(Ne||(Ne={}));function J(t,e){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];if(process.env.NODE_ENV!=="production"&&e===void 0)throw new Error("invariant requires an error message argument");if(!t){var o;if(e===void 0)o=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=0;o=new Error(e.replace(/%s/g,function(){return n[l++]})),o.name="Invariant Violation"}throw o.framesToPop=1,o}}var ba="dnd-core/INIT_COORDS",Ki="dnd-core/BEGIN_DRAG",ma="dnd-core/PUBLISH_DRAG_SOURCE",ji="dnd-core/HOVER",Hi="dnd-core/DROP",Vi="dnd-core/END_DRAG";function ws(t,e){return{type:ba,payload:{sourceClientOffset:e||null,clientOffset:t||null}}}function Hn(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Hn=function(r){return typeof r}:Hn=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Hn(t)}function Xg(t,e,r){return e.split(".").reduce(function(n,i){return n&&n[i]?n[i]:r||null},t)}function Jg(t,e){return t.filter(function(r){return r!==e})}function I1(t){return Hn(t)==="object"}function Qg(t,e){var r=new Map,n=function(l){r.set(l,r.has(l)?r.get(l)+1:1)};t.forEach(n),e.forEach(n);var i=[];return r.forEach(function(o,l){o===1&&i.push(l)}),i}function e8(t,e){return t.filter(function(r){return e.indexOf(r)>-1})}var t8={type:ba,payload:{clientOffset:null,sourceClientOffset:null}};function r8(t){return function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{publishSource:!0},i=n.publishSource,o=i===void 0?!0:i,l=n.clientOffset,a=n.getSourceClientOffset,s=t.getMonitor(),c=t.getRegistry();t.dispatch(ws(l)),n8(r,s,c);var d=l8(r,s);if(d===null){t.dispatch(t8);return}var f=null;if(l){if(!a)throw new Error("getSourceClientOffset must be defined");i8(a),f=a(d)}t.dispatch(ws(l,f));var p=c.getSource(d),g=p.beginDrag(s,d);if(g!=null){o8(g),c.pinSource(d);var y=c.getSourceType(d);return{type:Ki,payload:{itemType:y,item:g,sourceId:d,clientOffset:l||null,sourceClientOffset:f||null,isSourcePublic:!!o}}}}}function n8(t,e,r){J(!e.isDragging(),"Cannot call beginDrag while dragging."),t.forEach(function(n){J(r.getSource(n),"Expected sourceIds to be registered.")})}function i8(t){J(typeof t=="function","When clientOffset is provided, getSourceClientOffset must be a function.")}function o8(t){J(I1(t),"Item must be an object.")}function l8(t,e){for(var r=null,n=t.length-1;n>=0;n--)if(e.canDragSource(t[n])){r=t[n];break}return r}function a8(t){return function(){var r=t.getMonitor();if(r.isDragging())return{type:ma}}}function bl(t,e){return e===null?t===null:Array.isArray(t)?t.some(function(r){return r===e}):t===e}function s8(t){return function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=n.clientOffset;c8(r);var o=r.slice(0),l=t.getMonitor(),a=t.getRegistry();u8(o,l,a);var s=l.getItemType();return d8(o,a,s),f8(o,l,a),{type:ji,payload:{targetIds:o,clientOffset:i||null}}}}function c8(t){J(Array.isArray(t),"Expected targetIds to be an array.")}function u8(t,e,r){J(e.isDragging(),"Cannot call hover while not dragging."),J(!e.didDrop(),"Cannot call hover after drop.");for(var n=0;n<t.length;n++){var i=t[n];J(t.lastIndexOf(i)===n,"Expected targetIds to be unique in the passed array.");var o=r.getTarget(i);J(o,"Expected targetIds to be registered.")}}function d8(t,e,r){for(var n=t.length-1;n>=0;n--){var i=t[n],o=e.getTargetType(i);bl(o,r)||t.splice(n,1)}}function f8(t,e,r){t.forEach(function(n){var i=r.getTarget(n);i.hover(e,n)})}function Ds(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function xs(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Ds(Object(r),!0).forEach(function(n){h8(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ds(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function h8(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function p8(t){return function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.getMonitor(),i=t.getRegistry();g8(n);var o=m8(n);o.forEach(function(l,a){var s=v8(l,a,i,n),c={type:Hi,payload:{dropResult:xs(xs({},r),s)}};t.dispatch(c)})}}function g8(t){J(t.isDragging(),"Cannot call drop while not dragging."),J(!t.didDrop(),"Cannot call drop twice during one drag operation.")}function v8(t,e,r,n){var i=r.getTarget(t),o=i?i.drop(n,t):void 0;return b8(o),typeof o>"u"&&(o=e===0?{}:n.getDropResult()),o}function b8(t){J(typeof t>"u"||I1(t),"Drop result must either be an object or undefined.")}function m8(t){var e=t.getTargetIds().filter(t.canDropOnTarget,t);return e.reverse(),e}function y8(t){return function(){var r=t.getMonitor(),n=t.getRegistry();C8(r);var i=r.getSourceId();if(i!=null){var o=n.getSource(i,!0);o.endDrag(r,i),n.unpinSource()}return{type:Vi}}}function C8(t){J(t.isDragging(),"Cannot call endDrag while not dragging.")}function E8(t){return{beginDrag:r8(t),publishDragSource:a8(t),hover:s8(t),drop:p8(t),endDrag:y8(t)}}function w8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function D8(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function x8(t,e,r){return e&&D8(t.prototype,e),t}function Br(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var S8=function(){function t(e,r){var n=this;w8(this,t),Br(this,"store",void 0),Br(this,"monitor",void 0),Br(this,"backend",void 0),Br(this,"isSetUp",!1),Br(this,"handleRefCountChange",function(){var i=n.store.getState().refCount>0;n.backend&&(i&&!n.isSetUp?(n.backend.setup(),n.isSetUp=!0):!i&&n.isSetUp&&(n.backend.teardown(),n.isSetUp=!1))}),this.store=e,this.monitor=r,e.subscribe(this.handleRefCountChange)}return x8(t,[{key:"receiveBackend",value:function(r){this.backend=r}},{key:"getMonitor",value:function(){return this.monitor}},{key:"getBackend",value:function(){return this.backend}},{key:"getRegistry",value:function(){return this.monitor.registry}},{key:"getActions",value:function(){var r=this,n=this.store.dispatch;function i(l){return function(){for(var a=arguments.length,s=new Array(a),c=0;c<a;c++)s[c]=arguments[c];var d=l.apply(r,s);typeof d<"u"&&n(d)}}var o=E8(this);return Object.keys(o).reduce(function(l,a){var s=o[a];return l[a]=i(s),l},{})}},{key:"dispatch",value:function(r){this.store.dispatch(r)}}]),t}();function Ie(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var Ss=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Fs=function(){return Math.random().toString(36).substring(7).split("").join(".")},$s={INIT:"@@redux/INIT"+Fs(),REPLACE:"@@redux/REPLACE"+Fs()};function F8(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function $8(t){if(t===void 0)return"undefined";if(t===null)return"null";var e=typeof t;switch(e){case"boolean":case"string":case"number":case"symbol":case"function":return e}if(Array.isArray(t))return"array";if(T8(t))return"date";if(A8(t))return"error";var r=P8(t);switch(r){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return r}return e.slice(8,-1).toLowerCase().replace(/\s/g,"")}function P8(t){return typeof t.constructor=="function"?t.constructor.name:null}function A8(t){return t instanceof Error||typeof t.message=="string"&&t.constructor&&typeof t.constructor.stackTraceLimit=="number"}function T8(t){return t instanceof Date?!0:typeof t.toDateString=="function"&&typeof t.getDate=="function"&&typeof t.setDate=="function"}function er(t){var e=typeof t;return process.env.NODE_ENV!=="production"&&(e=$8(t)),e}function O1(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(process.env.NODE_ENV==="production"?Ie(0):"It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(process.env.NODE_ENV==="production"?Ie(1):"Expected the enhancer to be a function. Instead, received: '"+er(r)+"'");return r(O1)(t,e)}if(typeof t!="function")throw new Error(process.env.NODE_ENV==="production"?Ie(2):"Expected the root reducer to be a function. Instead, received: '"+er(t)+"'");var i=t,o=e,l=[],a=l,s=!1;function c(){a===l&&(a=l.slice())}function d(){if(s)throw new Error(process.env.NODE_ENV==="production"?Ie(3):"You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return o}function f(h){if(typeof h!="function")throw new Error(process.env.NODE_ENV==="production"?Ie(4):"Expected the listener to be a function. Instead, received: '"+er(h)+"'");if(s)throw new Error(process.env.NODE_ENV==="production"?Ie(5):"You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");var v=!0;return c(),a.push(h),function(){if(v){if(s)throw new Error(process.env.NODE_ENV==="production"?Ie(6):"You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");v=!1,c();var C=a.indexOf(h);a.splice(C,1),l=null}}}function p(h){if(!F8(h))throw new Error(process.env.NODE_ENV==="production"?Ie(7):"Actions must be plain objects. Instead, the actual type was: '"+er(h)+"'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.");if(typeof h.type>"u")throw new Error(process.env.NODE_ENV==="production"?Ie(8):'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(s)throw new Error(process.env.NODE_ENV==="production"?Ie(9):"Reducers may not dispatch actions.");try{s=!0,o=i(o,h)}finally{s=!1}for(var v=l=a,m=0;m<v.length;m++){var C=v[m];C()}return h}function g(h){if(typeof h!="function")throw new Error(process.env.NODE_ENV==="production"?Ie(10):"Expected the nextReducer to be a function. Instead, received: '"+er(h));i=h,p({type:$s.REPLACE})}function y(){var h,v=f;return h={subscribe:function(C){if(typeof C!="object"||C===null)throw new Error(process.env.NODE_ENV==="production"?Ie(11):"Expected the observer to be an object. Instead, received: '"+er(C)+"'");function E(){C.next&&C.next(d())}E();var F=v(E);return{unsubscribe:F}}},h[Ss]=function(){return this},h}return p({type:$s.INIT}),n={dispatch:p,subscribe:f,getState:d,replaceReducer:g},n[Ss]=y,n}var _8=function(e,r){return e===r};function k8(t,e){return!t&&!e?!0:!t||!e?!1:t.x===e.x&&t.y===e.y}function I8(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:_8;if(t.length!==e.length)return!1;for(var n=0;n<t.length;++n)if(!r(t[n],e[n]))return!1;return!0}function Ps(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function As(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Ps(Object(r),!0).forEach(function(n){O8(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ps(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function O8(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Ts={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};function M8(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ts,e=arguments.length>1?arguments[1]:void 0,r=e.payload;switch(e.type){case ba:case Ki:return{initialSourceClientOffset:r.sourceClientOffset,initialClientOffset:r.clientOffset,clientOffset:r.clientOffset};case ji:return k8(t.clientOffset,r.clientOffset)?t:As(As({},t),{},{clientOffset:r.clientOffset});case Vi:case Hi:return Ts;default:return t}}var ya="dnd-core/ADD_SOURCE",Ca="dnd-core/ADD_TARGET",Ea="dnd-core/REMOVE_SOURCE",zi="dnd-core/REMOVE_TARGET";function N8(t){return{type:ya,payload:{sourceId:t}}}function B8(t){return{type:Ca,payload:{targetId:t}}}function R8(t){return{type:Ea,payload:{sourceId:t}}}function L8(t){return{type:zi,payload:{targetId:t}}}function _s(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Oe(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?_s(Object(r),!0).forEach(function(n){K8(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):_s(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function K8(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var j8={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};function H8(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:j8,e=arguments.length>1?arguments[1]:void 0,r=e.payload;switch(e.type){case Ki:return Oe(Oe({},t),{},{itemType:r.itemType,item:r.item,sourceId:r.sourceId,isSourcePublic:r.isSourcePublic,dropResult:null,didDrop:!1});case ma:return Oe(Oe({},t),{},{isSourcePublic:!0});case ji:return Oe(Oe({},t),{},{targetIds:r.targetIds});case zi:return t.targetIds.indexOf(r.targetId)===-1?t:Oe(Oe({},t),{},{targetIds:Jg(t.targetIds,r.targetId)});case Hi:return Oe(Oe({},t),{},{dropResult:r.dropResult,didDrop:!0,targetIds:[]});case Vi:return Oe(Oe({},t),{},{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return t}}function V8(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case ya:case Ca:return t+1;case Ea:case zi:return t-1;default:return t}}var ui=[],wa=[];ui.__IS_NONE__=!0;wa.__IS_ALL__=!0;function z8(t,e){if(t===ui)return!1;if(t===wa||typeof e>"u")return!0;var r=e8(e,t);return r.length>0}function U8(){var t=arguments.length>1?arguments[1]:void 0;switch(t.type){case ji:break;case ya:case Ca:case zi:case Ea:return ui;case Ki:case ma:case Vi:case Hi:default:return wa}var e=t.payload,r=e.targetIds,n=r===void 0?[]:r,i=e.prevTargetIds,o=i===void 0?[]:i,l=Qg(n,o),a=l.length>0||!I8(n,o);if(!a)return ui;var s=o[o.length-1],c=n[n.length-1];return s!==c&&(s&&l.push(s),c&&l.push(c)),l}function W8(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return t+1}function ks(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Is(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?ks(Object(r),!0).forEach(function(n){Z8(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ks(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Z8(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function G8(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return{dirtyHandlerIds:U8(t.dirtyHandlerIds,{type:e.type,payload:Is(Is({},e.payload),{},{prevTargetIds:Xg(t,"dragOperation.targetIds",[])})}),dragOffset:M8(t.dragOffset,e),refCount:V8(t.refCount,e),dragOperation:H8(t.dragOperation,e),stateId:W8(t.stateId)}}function q8(t,e){return{x:t.x+e.x,y:t.y+e.y}}function M1(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Y8(t){var e=t.clientOffset,r=t.initialClientOffset,n=t.initialSourceClientOffset;return!e||!r||!n?null:M1(q8(e,n),r)}function X8(t){var e=t.clientOffset,r=t.initialClientOffset;return!e||!r?null:M1(e,r)}function J8(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Q8(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function ev(t,e,r){return e&&Q8(t.prototype,e),t}function Os(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var tv=function(){function t(e,r){J8(this,t),Os(this,"store",void 0),Os(this,"registry",void 0),this.store=e,this.registry=r}return ev(t,[{key:"subscribeToStateChange",value:function(r){var n=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{handlerIds:void 0},o=i.handlerIds;J(typeof r=="function","listener must be a function."),J(typeof o>"u"||Array.isArray(o),"handlerIds, when specified, must be an array of strings.");var l=this.store.getState().stateId,a=function(){var c=n.store.getState(),d=c.stateId;try{var f=d===l||d===l+1&&!z8(c.dirtyHandlerIds,o);f||r()}finally{l=d}};return this.store.subscribe(a)}},{key:"subscribeToOffsetChange",value:function(r){var n=this;J(typeof r=="function","listener must be a function.");var i=this.store.getState().dragOffset,o=function(){var a=n.store.getState().dragOffset;a!==i&&(i=a,r())};return this.store.subscribe(o)}},{key:"canDragSource",value:function(r){if(!r)return!1;var n=this.registry.getSource(r);return J(n,"Expected to find a valid source. sourceId=".concat(r)),this.isDragging()?!1:n.canDrag(this,r)}},{key:"canDropOnTarget",value:function(r){if(!r)return!1;var n=this.registry.getTarget(r);if(J(n,"Expected to find a valid target. targetId=".concat(r)),!this.isDragging()||this.didDrop())return!1;var i=this.registry.getTargetType(r),o=this.getItemType();return bl(i,o)&&n.canDrop(this,r)}},{key:"isDragging",value:function(){return!!this.getItemType()}},{key:"isDraggingSource",value:function(r){if(!r)return!1;var n=this.registry.getSource(r,!0);if(J(n,"Expected to find a valid source. sourceId=".concat(r)),!this.isDragging()||!this.isSourcePublic())return!1;var i=this.registry.getSourceType(r),o=this.getItemType();return i!==o?!1:n.isDragging(this,r)}},{key:"isOverTarget",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{shallow:!1};if(!r)return!1;var i=n.shallow;if(!this.isDragging())return!1;var o=this.registry.getTargetType(r),l=this.getItemType();if(l&&!bl(o,l))return!1;var a=this.getTargetIds();if(!a.length)return!1;var s=a.indexOf(r);return i?s===a.length-1:s>-1}},{key:"getItemType",value:function(){return this.store.getState().dragOperation.itemType}},{key:"getItem",value:function(){return this.store.getState().dragOperation.item}},{key:"getSourceId",value:function(){return this.store.getState().dragOperation.sourceId}},{key:"getTargetIds",value:function(){return this.store.getState().dragOperation.targetIds}},{key:"getDropResult",value:function(){return this.store.getState().dragOperation.dropResult}},{key:"didDrop",value:function(){return this.store.getState().dragOperation.didDrop}},{key:"isSourcePublic",value:function(){return!!this.store.getState().dragOperation.isSourcePublic}},{key:"getInitialClientOffset",value:function(){return this.store.getState().dragOffset.initialClientOffset}},{key:"getInitialSourceClientOffset",value:function(){return this.store.getState().dragOffset.initialSourceClientOffset}},{key:"getClientOffset",value:function(){return this.store.getState().dragOffset.clientOffset}},{key:"getSourceClientOffset",value:function(){return Y8(this.store.getState().dragOffset)}},{key:"getDifferenceFromInitialOffset",value:function(){return X8(this.store.getState().dragOffset)}}]),t}(),rv=0;function nv(){return rv++}function Vn(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Vn=function(r){return typeof r}:Vn=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Vn(t)}function iv(t){J(typeof t.canDrag=="function","Expected canDrag to be a function."),J(typeof t.beginDrag=="function","Expected beginDrag to be a function."),J(typeof t.endDrag=="function","Expected endDrag to be a function.")}function ov(t){J(typeof t.canDrop=="function","Expected canDrop to be a function."),J(typeof t.hover=="function","Expected hover to be a function."),J(typeof t.drop=="function","Expected beginDrag to be a function.")}function ml(t,e){if(e&&Array.isArray(t)){t.forEach(function(r){return ml(r,!1)});return}J(typeof t=="string"||Vn(t)==="symbol",e?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}const Ms=typeof global<"u"?global:self,N1=Ms.MutationObserver||Ms.WebKitMutationObserver;function B1(t){return function(){const r=setTimeout(i,0),n=setInterval(i,50);function i(){clearTimeout(r),clearInterval(n),t()}}}function lv(t){let e=1;const r=new N1(t),n=document.createTextNode("");return r.observe(n,{characterData:!0}),function(){e=-e,n.data=e}}const av=typeof N1=="function"?lv:B1;class sv{enqueueTask(e){const{queue:r,requestFlush:n}=this;r.length||(n(),this.flushing=!0),r[r.length]=e}constructor(){this.queue=[],this.pendingErrors=[],this.flushing=!1,this.index=0,this.capacity=1024,this.flush=()=>{const{queue:e}=this;for(;this.index<e.length;){const r=this.index;if(this.index++,e[r].call(),this.index>this.capacity){for(let n=0,i=e.length-this.index;n<i;n++)e[n]=e[n+this.index];e.length-=this.index,this.index=0}}e.length=0,this.index=0,this.flushing=!1},this.registerPendingError=e=>{this.pendingErrors.push(e),this.requestErrorThrow()},this.requestFlush=av(this.flush),this.requestErrorThrow=B1(()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()})}}class cv{call(){try{this.task&&this.task()}catch(e){this.onError(e)}finally{this.task=null,this.release(this)}}constructor(e,r){this.onError=e,this.release=r,this.task=null}}class uv{create(e){const r=this.freeTasks,n=r.length?r.pop():new cv(this.onError,i=>r[r.length]=i);return n.task=e,n}constructor(e){this.onError=e,this.freeTasks=[]}}const R1=new sv,dv=new uv(R1.registerPendingError);function fv(t){R1.enqueueTask(dv.create(t))}function hv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pv(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function gv(t,e,r){return e&&pv(t.prototype,e),t}function tr(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function vv(t,e){return Cv(t)||yv(t,e)||mv(t,e)||bv()}function bv(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
89
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function mv(t,e){if(t){if(typeof t=="string")return Ns(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ns(t,e)}}function Ns(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function yv(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n=[],i=!0,o=!1,l,a;try{for(r=r.call(t);!(i=(l=r.next()).done)&&(n.push(l.value),!(e&&n.length===e));i=!0);}catch(s){o=!0,a=s}finally{try{!i&&r.return!=null&&r.return()}finally{if(o)throw a}}return n}}function Cv(t){if(Array.isArray(t))return t}function Ev(t){var e=nv().toString();switch(t){case Ne.SOURCE:return"S".concat(e);case Ne.TARGET:return"T".concat(e);default:throw new Error("Unknown Handler Role: ".concat(t))}}function Bs(t){switch(t[0]){case"S":return Ne.SOURCE;case"T":return Ne.TARGET;default:J(!1,"Cannot parse handler ID: ".concat(t))}}function Rs(t,e){var r=t.entries(),n=!1;do{var i=r.next(),o=i.done,l=vv(i.value,2),a=l[1];if(a===e)return!0;n=!!o}while(!n);return!1}var wv=function(){function t(e){hv(this,t),tr(this,"types",new Map),tr(this,"dragSources",new Map),tr(this,"dropTargets",new Map),tr(this,"pinnedSourceId",null),tr(this,"pinnedSource",null),tr(this,"store",void 0),this.store=e}return gv(t,[{key:"addSource",value:function(r,n){ml(r),iv(n);var i=this.addHandler(Ne.SOURCE,r,n);return this.store.dispatch(N8(i)),i}},{key:"addTarget",value:function(r,n){ml(r,!0),ov(n);var i=this.addHandler(Ne.TARGET,r,n);return this.store.dispatch(B8(i)),i}},{key:"containsHandler",value:function(r){return Rs(this.dragSources,r)||Rs(this.dropTargets,r)}},{key:"getSource",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;J(this.isSourceId(r),"Expected a valid source ID.");var i=n&&r===this.pinnedSourceId,o=i?this.pinnedSource:this.dragSources.get(r);return o}},{key:"getTarget",value:function(r){return J(this.isTargetId(r),"Expected a valid target ID."),this.dropTargets.get(r)}},{key:"getSourceType",value:function(r){return J(this.isSourceId(r),"Expected a valid source ID."),this.types.get(r)}},{key:"getTargetType",value:function(r){return J(this.isTargetId(r),"Expected a valid target ID."),this.types.get(r)}},{key:"isSourceId",value:function(r){var n=Bs(r);return n===Ne.SOURCE}},{key:"isTargetId",value:function(r){var n=Bs(r);return n===Ne.TARGET}},{key:"removeSource",value:function(r){var n=this;J(this.getSource(r),"Expected an existing source."),this.store.dispatch(R8(r)),fv(function(){n.dragSources.delete(r),n.types.delete(r)})}},{key:"removeTarget",value:function(r){J(this.getTarget(r),"Expected an existing target."),this.store.dispatch(L8(r)),this.dropTargets.delete(r),this.types.delete(r)}},{key:"pinSource",value:function(r){var n=this.getSource(r);J(n,"Expected an existing source."),this.pinnedSourceId=r,this.pinnedSource=n}},{key:"unpinSource",value:function(){J(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}},{key:"addHandler",value:function(r,n,i){var o=Ev(r);return this.types.set(o,n),r===Ne.SOURCE?this.dragSources.set(o,i):r===Ne.TARGET&&this.dropTargets.set(o,i),o}}]),t}();function Dv(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,i=xv(n),o=new tv(i,new wv(i)),l=new S8(i,o),a=t(l,e,r);return l.receiveBackend(a),l}function xv(t){var e=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__;return O1(G8,t&&e&&e({name:"dnd-core",instanceId:"dnd-core"}))}var Sv=["children"];function Fv(t,e){return Tv(t)||Av(t,e)||Pv(t,e)||$v()}function $v(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
90
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Pv(t,e){if(t){if(typeof t=="string")return Ls(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ls(t,e)}}function Ls(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Av(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n=[],i=!0,o=!1,l,a;try{for(r=r.call(t);!(i=(l=r.next()).done)&&(n.push(l.value),!(e&&n.length===e));i=!0);}catch(s){o=!0,a=s}finally{try{!i&&r.return!=null&&r.return()}finally{if(o)throw a}}return n}}function Tv(t){if(Array.isArray(t))return t}function _v(t,e){if(t==null)return{};var r=kv(t,e),n,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i<o.length;i++)n=o[i],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function kv(t,e){if(t==null)return{};var r={},n=Object.keys(t),i,o;for(o=0;o<n.length;o++)i=n[o],!(e.indexOf(i)>=0)&&(r[i]=t[i]);return r}var Ks=0,zn=Symbol.for("__REACT_DND_CONTEXT_INSTANCE__"),Iv=u.memo(function(e){var r=e.children,n=_v(e,Sv),i=Ov(n),o=Fv(i,2),l=o[0],a=o[1];return u.useEffect(function(){if(a){var s=L1();return++Ks,function(){--Ks===0&&(s[zn]=null)}}},[]),b.jsx(k1.Provider,Object.assign({value:l},{children:r}),void 0)});function Ov(t){if("manager"in t){var e={dragDropManager:t.manager};return[e,!1]}var r=Mv(t.backend,t.context,t.options,t.debugMode),n=!t.context;return[r,n]}function Mv(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:L1(),r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0,i=e;return i[zn]||(i[zn]={dragDropManager:Dv(t,e,r,n)}),i[zn]}function L1(){return typeof global<"u"?global:window}function Nv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bv(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Rv(t,e,r){return e&&Bv(t.prototype,e),t}function js(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Po=!1,Ao=!1,Lv=function(){function t(e){Nv(this,t),js(this,"internalMonitor",void 0),js(this,"sourceId",null),this.internalMonitor=e.getMonitor()}return Rv(t,[{key:"receiveHandlerId",value:function(r){this.sourceId=r}},{key:"getHandlerId",value:function(){return this.sourceId}},{key:"canDrag",value:function(){J(!Po,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return Po=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{Po=!1}}},{key:"isDragging",value:function(){if(!this.sourceId)return!1;J(!Ao,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return Ao=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{Ao=!1}}},{key:"subscribeToStateChange",value:function(r,n){return this.internalMonitor.subscribeToStateChange(r,n)}},{key:"isDraggingSource",value:function(r){return this.internalMonitor.isDraggingSource(r)}},{key:"isOverTarget",value:function(r,n){return this.internalMonitor.isOverTarget(r,n)}},{key:"getTargetIds",value:function(){return this.internalMonitor.getTargetIds()}},{key:"isSourcePublic",value:function(){return this.internalMonitor.isSourcePublic()}},{key:"getSourceId",value:function(){return this.internalMonitor.getSourceId()}},{key:"subscribeToOffsetChange",value:function(r){return this.internalMonitor.subscribeToOffsetChange(r)}},{key:"canDragSource",value:function(r){return this.internalMonitor.canDragSource(r)}},{key:"canDropOnTarget",value:function(r){return this.internalMonitor.canDropOnTarget(r)}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),t}();function Kv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jv(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Hv(t,e,r){return e&&jv(t.prototype,e),t}function Hs(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var To=!1,Vv=function(){function t(e){Kv(this,t),Hs(this,"internalMonitor",void 0),Hs(this,"targetId",null),this.internalMonitor=e.getMonitor()}return Hv(t,[{key:"receiveHandlerId",value:function(r){this.targetId=r}},{key:"getHandlerId",value:function(){return this.targetId}},{key:"subscribeToStateChange",value:function(r,n){return this.internalMonitor.subscribeToStateChange(r,n)}},{key:"canDrop",value:function(){if(!this.targetId)return!1;J(!To,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");try{return To=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{To=!1}}},{key:"isOver",value:function(r){return this.targetId?this.internalMonitor.isOverTarget(this.targetId,r):!1}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),t}();function zv(t){if(typeof t.type!="string"){var e=t.type.displayName||t.type.name||"the component";throw new Error("Only native element nodes can now be passed to React DnD connectors."+"You can either wrap ".concat(e," into a <div>, or turn it into a ")+"drag source or a drop target itself.")}}function Uv(t){return function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!u.isValidElement(e)){var n=e;return t(n,r),n}var i=e;zv(i);var o=r?function(l){return t(l,r)}:t;return Wv(i,o)}}function K1(t){var e={};return Object.keys(t).forEach(function(r){var n=t[r];if(r.endsWith("Ref"))e[r]=t[r];else{var i=Uv(n);e[r]=function(){return i}}}),e}function Vs(t,e){typeof t=="function"?t(e):t.current=e}function Wv(t,e){var r=t.ref;return J(typeof r!="string","Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"),r?u.cloneElement(t,{ref:function(i){Vs(r,i),Vs(e,i)}}):u.cloneElement(t,{ref:e})}function Un(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Un=function(r){return typeof r}:Un=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Un(t)}function yl(t){return t!==null&&Un(t)==="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function Cl(t,e,r,n){var i=void 0;if(i!==void 0)return!!i;if(t===e)return!0;if(typeof t!="object"||!t||typeof e!="object"||!e)return!1;var o=Object.keys(t),l=Object.keys(e);if(o.length!==l.length)return!1;for(var a=Object.prototype.hasOwnProperty.bind(e),s=0;s<o.length;s++){var c=o[s];if(!a(c))return!1;var d=t[c],f=e[c];if(i=void 0,i===!1||i===void 0&&d!==f)return!1}return!0}function Zv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gv(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function qv(t,e,r){return e&&Gv(t.prototype,e),t}function Ee(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Yv=function(){function t(e){var r=this;Zv(this,t),Ee(this,"hooks",K1({dragSource:function(i,o){r.clearDragSource(),r.dragSourceOptions=o||null,yl(i)?r.dragSourceRef=i:r.dragSourceNode=i,r.reconnectDragSource()},dragPreview:function(i,o){r.clearDragPreview(),r.dragPreviewOptions=o||null,yl(i)?r.dragPreviewRef=i:r.dragPreviewNode=i,r.reconnectDragPreview()}})),Ee(this,"handlerId",null),Ee(this,"dragSourceRef",null),Ee(this,"dragSourceNode",void 0),Ee(this,"dragSourceOptionsInternal",null),Ee(this,"dragSourceUnsubscribe",void 0),Ee(this,"dragPreviewRef",null),Ee(this,"dragPreviewNode",void 0),Ee(this,"dragPreviewOptionsInternal",null),Ee(this,"dragPreviewUnsubscribe",void 0),Ee(this,"lastConnectedHandlerId",null),Ee(this,"lastConnectedDragSource",null),Ee(this,"lastConnectedDragSourceOptions",null),Ee(this,"lastConnectedDragPreview",null),Ee(this,"lastConnectedDragPreviewOptions",null),Ee(this,"backend",void 0),this.backend=e}return qv(t,[{key:"receiveHandlerId",value:function(r){this.handlerId!==r&&(this.handlerId=r,this.reconnect())}},{key:"connectTarget",get:function(){return this.dragSource}},{key:"dragSourceOptions",get:function(){return this.dragSourceOptionsInternal},set:function(r){this.dragSourceOptionsInternal=r}},{key:"dragPreviewOptions",get:function(){return this.dragPreviewOptionsInternal},set:function(r){this.dragPreviewOptionsInternal=r}},{key:"reconnect",value:function(){this.reconnectDragSource(),this.reconnectDragPreview()}},{key:"reconnectDragSource",value:function(){var r=this.dragSource,n=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();if(n&&this.disconnectDragSource(),!!this.handlerId){if(!r){this.lastConnectedDragSource=r;return}n&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=r,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,r,this.dragSourceOptions))}}},{key:"reconnectDragPreview",value:function(){var r=this.dragPreview,n=this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();if(n&&this.disconnectDragPreview(),!!this.handlerId){if(!r){this.lastConnectedDragPreview=r;return}n&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=r,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,r,this.dragPreviewOptions))}}},{key:"didHandlerIdChange",value:function(){return this.lastConnectedHandlerId!==this.handlerId}},{key:"didConnectedDragSourceChange",value:function(){return this.lastConnectedDragSource!==this.dragSource}},{key:"didConnectedDragPreviewChange",value:function(){return this.lastConnectedDragPreview!==this.dragPreview}},{key:"didDragSourceOptionsChange",value:function(){return!Cl(this.lastConnectedDragSourceOptions,this.dragSourceOptions)}},{key:"didDragPreviewOptionsChange",value:function(){return!Cl(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)}},{key:"disconnectDragSource",value:function(){this.dragSourceUnsubscribe&&(this.dragSourceUnsubscribe(),this.dragSourceUnsubscribe=void 0)}},{key:"disconnectDragPreview",value:function(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null)}},{key:"dragSource",get:function(){return this.dragSourceNode||this.dragSourceRef&&this.dragSourceRef.current}},{key:"dragPreview",get:function(){return this.dragPreviewNode||this.dragPreviewRef&&this.dragPreviewRef.current}},{key:"clearDragSource",value:function(){this.dragSourceNode=null,this.dragSourceRef=null}},{key:"clearDragPreview",value:function(){this.dragPreviewNode=null,this.dragPreviewRef=null}}]),t}();function Xv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jv(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Qv(t,e,r){return e&&Jv(t.prototype,e),t}function Ze(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var e6=function(){function t(e){var r=this;Xv(this,t),Ze(this,"hooks",K1({dropTarget:function(i,o){r.clearDropTarget(),r.dropTargetOptions=o,yl(i)?r.dropTargetRef=i:r.dropTargetNode=i,r.reconnect()}})),Ze(this,"handlerId",null),Ze(this,"dropTargetRef",null),Ze(this,"dropTargetNode",void 0),Ze(this,"dropTargetOptionsInternal",null),Ze(this,"unsubscribeDropTarget",void 0),Ze(this,"lastConnectedHandlerId",null),Ze(this,"lastConnectedDropTarget",null),Ze(this,"lastConnectedDropTargetOptions",null),Ze(this,"backend",void 0),this.backend=e}return Qv(t,[{key:"connectTarget",get:function(){return this.dropTarget}},{key:"reconnect",value:function(){var r=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();r&&this.disconnectDropTarget();var n=this.dropTarget;if(this.handlerId){if(!n){this.lastConnectedDropTarget=n;return}r&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=n,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,n,this.dropTargetOptions))}}},{key:"receiveHandlerId",value:function(r){r!==this.handlerId&&(this.handlerId=r,this.reconnect())}},{key:"dropTargetOptions",get:function(){return this.dropTargetOptionsInternal},set:function(r){this.dropTargetOptionsInternal=r}},{key:"didHandlerIdChange",value:function(){return this.lastConnectedHandlerId!==this.handlerId}},{key:"didDropTargetChange",value:function(){return this.lastConnectedDropTarget!==this.dropTarget}},{key:"didOptionsChange",value:function(){return!Cl(this.lastConnectedDropTargetOptions,this.dropTargetOptions)}},{key:"disconnectDropTarget",value:function(){this.unsubscribeDropTarget&&(this.unsubscribeDropTarget(),this.unsubscribeDropTarget=void 0)}},{key:"dropTarget",get:function(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.current}},{key:"clearDropTarget",value:function(){this.dropTargetRef=null,this.dropTargetNode=null}}]),t}();function t6(t,e,r){var n=r.getRegistry(),i=n.addTarget(t,e);return[i,function(){return n.removeTarget(i)}]}function r6(t,e,r){var n=r.getRegistry(),i=n.addSource(t,e);return[i,function(){return n.removeSource(i)}]}var Bt=typeof window<"u"?u.useLayoutEffect:u.useEffect;function Wn(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Wn=function(r){return typeof r}:Wn=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Wn(t)}function n6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i6(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o6(t,e,r){return e&&i6(t.prototype,e),t}function _o(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var l6=function(){function t(e,r,n){n6(this,t),_o(this,"spec",void 0),_o(this,"monitor",void 0),_o(this,"connector",void 0),this.spec=e,this.monitor=r,this.connector=n}return o6(t,[{key:"beginDrag",value:function(){var r,n=this.spec,i=this.monitor,o=null;return Wn(n.item)==="object"?o=n.item:typeof n.item=="function"?o=n.item(i):o={},(r=o)!==null&&r!==void 0?r:null}},{key:"canDrag",value:function(){var r=this.spec,n=this.monitor;return typeof r.canDrag=="boolean"?r.canDrag:typeof r.canDrag=="function"?r.canDrag(n):!0}},{key:"isDragging",value:function(r,n){var i=this.spec,o=this.monitor,l=i.isDragging;return l?l(o):n===r.getSourceId()}},{key:"endDrag",value:function(){var r=this.spec,n=this.monitor,i=this.connector,o=r.end;o&&o(n.getItem(),n),i.reconnect()}}]),t}();function a6(t,e,r){var n=u.useMemo(function(){return new l6(t,e,r)},[e,r]);return u.useEffect(function(){n.spec=t},[t]),n}function Vt(){var t=u.useContext(k1),e=t.dragDropManager;return J(e!=null,"Expected drag drop context"),e}function s6(t){return u.useMemo(function(){var e=t.type;return J(e!=null,"spec.type must be defined"),e},[t])}function c6(t,e){return h6(t)||f6(t,e)||d6(t,e)||u6()}function u6(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
91
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function d6(t,e){if(t){if(typeof t=="string")return zs(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return zs(t,e)}}function zs(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function f6(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n=[],i=!0,o=!1,l,a;try{for(r=r.call(t);!(i=(l=r.next()).done)&&(n.push(l.value),!(e&&n.length===e));i=!0);}catch(s){o=!0,a=s}finally{try{!i&&r.return!=null&&r.return()}finally{if(o)throw a}}return n}}function h6(t){if(Array.isArray(t))return t}function p6(t,e,r){var n=Vt(),i=a6(t,e,r),o=s6(t);Bt(function(){if(o!=null){var a=r6(o,i,n),s=c6(a,2),c=s[0],d=s[1];return e.receiveHandlerId(c),r.receiveHandlerId(c),d}},[n,e,r,i,o])}function g6(t){return y6(t)||m6(t)||b6(t)||v6()}function v6(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
92
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function b6(t,e){if(t){if(typeof t=="string")return El(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return El(t,e)}}function m6(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function y6(t){if(Array.isArray(t))return El(t)}function El(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function j1(t,e){var r=g6(e||[]);return e==null&&typeof t!="function"&&r.push(t),u.useMemo(function(){return typeof t=="function"?t():t},r)}function C6(){var t=Vt();return u.useMemo(function(){return new Lv(t)},[t])}function E6(t,e){var r=Vt(),n=u.useMemo(function(){return new Yv(r.getBackend())},[r]);return Bt(function(){return n.dragSourceOptions=t||null,n.reconnect(),function(){return n.disconnectDragSource()}},[n,t]),Bt(function(){return n.dragPreviewOptions=e||null,n.reconnect(),function(){return n.disconnectDragPreview()}},[n,e]),n}var ko,Us;function w6(){return Us||(Us=1,ko=function t(e,r){if(e===r)return!0;if(e&&r&&typeof e=="object"&&typeof r=="object"){if(e.constructor!==r.constructor)return!1;var n,i,o;if(Array.isArray(e)){if(n=e.length,n!=r.length)return!1;for(i=n;i--!==0;)if(!t(e[i],r[i]))return!1;return!0}if(e.constructor===RegExp)return e.source===r.source&&e.flags===r.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===r.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===r.toString();if(o=Object.keys(e),n=o.length,n!==Object.keys(r).length)return!1;for(i=n;i--!==0;)if(!Object.prototype.hasOwnProperty.call(r,o[i]))return!1;for(i=n;i--!==0;){var l=o[i];if(!t(e[l],r[l]))return!1}return!0}return e!==e&&r!==r}),ko}var D6=w6();const x6=wf(D6);function S6(t,e){return A6(t)||P6(t,e)||$6(t,e)||F6()}function F6(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
93
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $6(t,e){if(t){if(typeof t=="string")return Ws(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ws(t,e)}}function Ws(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function P6(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n=[],i=!0,o=!1,l,a;try{for(r=r.call(t);!(i=(l=r.next()).done)&&(n.push(l.value),!(e&&n.length===e));i=!0);}catch(s){o=!0,a=s}finally{try{!i&&r.return!=null&&r.return()}finally{if(o)throw a}}return n}}function A6(t){if(Array.isArray(t))return t}function H1(t,e,r){var n=u.useState(function(){return e(t)}),i=S6(n,2),o=i[0],l=i[1],a=u.useCallback(function(){var s=e(t);x6(o,s)||(l(s),r&&r())},[o,t,r]);return Bt(a),[o,a]}function T6(t,e){return O6(t)||I6(t,e)||k6(t,e)||_6()}function _6(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
94
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function k6(t,e){if(t){if(typeof t=="string")return Zs(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Zs(t,e)}}function Zs(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function I6(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n=[],i=!0,o=!1,l,a;try{for(r=r.call(t);!(i=(l=r.next()).done)&&(n.push(l.value),!(e&&n.length===e));i=!0);}catch(s){o=!0,a=s}finally{try{!i&&r.return!=null&&r.return()}finally{if(o)throw a}}return n}}function O6(t){if(Array.isArray(t))return t}function M6(t,e,r){var n=H1(t,e,r),i=T6(n,2),o=i[0],l=i[1];return Bt(function(){var s=t.getHandlerId();if(s!=null)return t.subscribeToStateChange(l,{handlerIds:[s]})},[t,l]),o}function V1(t,e,r){return M6(e,t||function(){return{}},function(){return r.reconnect()})}function N6(t){return u.useMemo(function(){return t.hooks.dragSource()},[t])}function B6(t){return u.useMemo(function(){return t.hooks.dragPreview()},[t])}function R6(t,e){var r=j1(t,e);J(!r.begin,"useDrag::spec.begin was deprecated in v14. Replace spec.begin() with spec.item(). (see more here - https://react-dnd.github.io/react-dnd/docs/api/use-drag)");var n=C6(),i=E6(r.options,r.previewOptions);return p6(r,n,i),[V1(r.collect,n,i),N6(i),B6(i)]}function L6(t){var e=t.accept;return u.useMemo(function(){return J(t.accept!=null,"accept must be defined"),Array.isArray(e)?e:[e]},[e])}function K6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function j6(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function H6(t,e,r){return e&&j6(t.prototype,e),t}function Gs(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var V6=function(){function t(e,r){K6(this,t),Gs(this,"spec",void 0),Gs(this,"monitor",void 0),this.spec=e,this.monitor=r}return H6(t,[{key:"canDrop",value:function(){var r=this.spec,n=this.monitor;return r.canDrop?r.canDrop(n.getItem(),n):!0}},{key:"hover",value:function(){var r=this.spec,n=this.monitor;r.hover&&r.hover(n.getItem(),n)}},{key:"drop",value:function(){var r=this.spec,n=this.monitor;if(r.drop)return r.drop(n.getItem(),n)}}]),t}();function z6(t,e){var r=u.useMemo(function(){return new V6(t,e)},[e]);return u.useEffect(function(){r.spec=t},[t]),r}function U6(t,e){return q6(t)||G6(t,e)||Z6(t,e)||W6()}function W6(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
95
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Z6(t,e){if(t){if(typeof t=="string")return qs(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return qs(t,e)}}function qs(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function G6(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n=[],i=!0,o=!1,l,a;try{for(r=r.call(t);!(i=(l=r.next()).done)&&(n.push(l.value),!(e&&n.length===e));i=!0);}catch(s){o=!0,a=s}finally{try{!i&&r.return!=null&&r.return()}finally{if(o)throw a}}return n}}function q6(t){if(Array.isArray(t))return t}function Y6(t,e,r){var n=Vt(),i=z6(t,e),o=L6(t);Bt(function(){var a=t6(o,i,n),s=U6(a,2),c=s[0],d=s[1];return e.receiveHandlerId(c),r.receiveHandlerId(c),d},[n,e,i,r,o.map(function(l){return l.toString()}).join("|")])}function X6(){var t=Vt();return u.useMemo(function(){return new Vv(t)},[t])}function J6(t){var e=Vt(),r=u.useMemo(function(){return new e6(e.getBackend())},[e]);return Bt(function(){return r.dropTargetOptions=t||null,r.reconnect(),function(){return r.disconnectDropTarget()}},[t]),r}function Q6(t){return u.useMemo(function(){return t.hooks.dropTarget()},[t])}function z1(t,e){var r=j1(t,e),n=X6(),i=J6(r.options);return Y6(r,n,i),[V1(r.collect,n,i),Q6(i)]}function eb(t,e){return ib(t)||nb(t,e)||rb(t,e)||tb()}function tb(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
96
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function rb(t,e){if(t){if(typeof t=="string")return Ys(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ys(t,e)}}function Ys(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function nb(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n=[],i=!0,o=!1,l,a;try{for(r=r.call(t);!(i=(l=r.next()).done)&&(n.push(l.value),!(e&&n.length===e));i=!0);}catch(s){o=!0,a=s}finally{try{!i&&r.return!=null&&r.return()}finally{if(o)throw a}}return n}}function ib(t){if(Array.isArray(t))return t}function ob(t){var e=Vt(),r=e.getMonitor(),n=H1(r,t),i=eb(n,2),o=i[0],l=i[1];return u.useEffect(function(){return r.subscribeToOffsetChange(l)}),u.useEffect(function(){return r.subscribeToStateChange(l)}),o}function U1(t){var e=null,r=function(){return e==null&&(e=t()),e};return r}function lb(t,e){return t.filter(function(r){return r!==e})}function ab(t,e){var r=new Set,n=function(l){return r.add(l)};t.forEach(n),e.forEach(n);var i=[];return r.forEach(function(o){return i.push(o)}),i}function sb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function cb(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function ub(t,e,r){return e&&cb(t.prototype,e),t}function Xs(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var db=function(){function t(e){sb(this,t),Xs(this,"entered",[]),Xs(this,"isNodeInDocument",void 0),this.isNodeInDocument=e}return ub(t,[{key:"enter",value:function(r){var n=this,i=this.entered.length,o=function(a){return n.isNodeInDocument(a)&&(!a.contains||a.contains(r))};return this.entered=ab(this.entered.filter(o),[r]),i===0&&this.entered.length>0}},{key:"leave",value:function(r){var n=this.entered.length;return this.entered=lb(this.entered.filter(this.isNodeInDocument),r),n>0&&this.entered.length===0}},{key:"reset",value:function(){this.entered=[]}}]),t}(),fb=U1(function(){return/firefox/i.test(navigator.userAgent)}),W1=U1(function(){return!!window.safari});function hb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pb(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function gb(t,e,r){return e&&pb(t.prototype,e),t}function Rr(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Js=function(){function t(e,r){hb(this,t),Rr(this,"xs",void 0),Rr(this,"ys",void 0),Rr(this,"c1s",void 0),Rr(this,"c2s",void 0),Rr(this,"c3s",void 0);for(var n=e.length,i=[],o=0;o<n;o++)i.push(o);i.sort(function(O,K){return e[O]<e[K]?-1:1});for(var l=[],a=[],s,c,d=0;d<n-1;d++)s=e[d+1]-e[d],c=r[d+1]-r[d],l.push(s),a.push(c/s);for(var f=[a[0]],p=0;p<l.length-1;p++){var g=a[p],y=a[p+1];if(g*y<=0)f.push(0);else{s=l[p];var h=l[p+1],v=s+h;f.push(3*v/((v+h)/g+(v+s)/y))}}f.push(a[a.length-1]);for(var m=[],C=[],E,F=0;F<f.length-1;F++){E=a[F];var D=f[F],x=1/l[F],S=D+f[F+1]-E-E;m.push((E-D-S)*x),C.push(S*x*x)}this.xs=e,this.ys=r,this.c1s=f,this.c2s=m,this.c3s=C}return gb(t,[{key:"interpolate",value:function(r){var n=this.xs,i=this.ys,o=this.c1s,l=this.c2s,a=this.c3s,s=n.length-1;if(r===n[s])return i[s];for(var c=0,d=a.length-1,f;c<=d;){f=Math.floor(.5*(c+d));var p=n[f];if(p<r)c=f+1;else if(p>r)d=f-1;else return i[f]}s=Math.max(0,d);var g=r-n[s],y=g*g;return i[s]+o[s]*g+l[s]*y+a[s]*g*y}}]),t}(),vb=1;function Z1(t){var e=t.nodeType===vb?t:t.parentElement;if(!e)return null;var r=e.getBoundingClientRect(),n=r.top,i=r.left;return{x:i,y:n}}function An(t){return{x:t.clientX,y:t.clientY}}function bb(t){var e;return t.nodeName==="IMG"&&(fb()||!((e=document.documentElement)!==null&&e!==void 0&&e.contains(t)))}function mb(t,e,r,n){var i=t?e.width:r,o=t?e.height:n;return W1()&&t&&(o/=window.devicePixelRatio,i/=window.devicePixelRatio),{dragPreviewWidth:i,dragPreviewHeight:o}}function yb(t,e,r,n,i){var o=bb(e),l=o?t:e,a=Z1(l),s={x:r.x-a.x,y:r.y-a.y},c=t.offsetWidth,d=t.offsetHeight,f=n.anchorX,p=n.anchorY,g=mb(o,e,c,d),y=g.dragPreviewWidth,h=g.dragPreviewHeight,v=function(){var S=new Js([0,.5,1],[s.y,s.y/d*h,s.y+h-d]),O=S.interpolate(p);return W1()&&o&&(O+=(window.devicePixelRatio-1)*h),O},m=function(){var S=new Js([0,.5,1],[s.x,s.x/c*y,s.x+y-c]);return S.interpolate(f)},C=i.offsetX,E=i.offsetY,F=C===0||C,D=E===0||E;return{x:F?C:m(),y:D?E:v()}}var G1="__NATIVE_FILE__",q1="__NATIVE_URL__",Y1="__NATIVE_TEXT__",X1="__NATIVE_HTML__";const Qs=Object.freeze(Object.defineProperty({__proto__:null,FILE:G1,HTML:X1,TEXT:Y1,URL:q1},Symbol.toStringTag,{value:"Module"}));function Io(t,e,r){var n=e.reduce(function(i,o){return i||t.getData(o)},"");return n??r}var rr;function Tn(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var wl=(rr={},Tn(rr,G1,{exposeProperties:{files:function(e){return Array.prototype.slice.call(e.files)},items:function(e){return e.items},dataTransfer:function(e){return e}},matchesTypes:["Files"]}),Tn(rr,X1,{exposeProperties:{html:function(e,r){return Io(e,r,"")},dataTransfer:function(e){return e}},matchesTypes:["Html","text/html"]}),Tn(rr,q1,{exposeProperties:{urls:function(e,r){return Io(e,r,"").split(`
97
+ `)},dataTransfer:function(e){return e}},matchesTypes:["Url","text/uri-list"]}),Tn(rr,Y1,{exposeProperties:{text:function(e,r){return Io(e,r,"")},dataTransfer:function(e){return e}},matchesTypes:["Text","text/plain"]}),rr);function Cb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Eb(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function wb(t,e,r){return e&&Eb(t.prototype,e),t}function e2(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Db=function(){function t(e){Cb(this,t),e2(this,"item",void 0),e2(this,"config",void 0),this.config=e,this.item={},this.initializeExposedProperties()}return wb(t,[{key:"initializeExposedProperties",value:function(){var r=this;Object.keys(this.config.exposeProperties).forEach(function(n){Object.defineProperty(r.item,n,{configurable:!0,enumerable:!0,get:function(){return console.warn(`Browser doesn't allow reading "`.concat(n,'" until the drop event.')),null}})})}},{key:"loadDataTransfer",value:function(r){var n=this;if(r){var i={};Object.keys(this.config.exposeProperties).forEach(function(o){i[o]={value:n.config.exposeProperties[o](r,n.config.matchesTypes),configurable:!0,enumerable:!0}}),Object.defineProperties(this.item,i)}}},{key:"canDrag",value:function(){return!0}},{key:"beginDrag",value:function(){return this.item}},{key:"isDragging",value:function(r,n){return n===r.getSourceId()}},{key:"endDrag",value:function(){}}]),t}();function xb(t,e){var r=new Db(wl[t]);return r.loadDataTransfer(e),r}function Oo(t){if(!t)return null;var e=Array.prototype.slice.call(t.types||[]);return Object.keys(wl).filter(function(r){var n=wl[r].matchesTypes;return n.some(function(i){return e.indexOf(i)>-1})})[0]||null}function Sb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fb(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function $b(t,e,r){return e&&Fb(t.prototype,e),t}function Mo(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Pb=function(){function t(e,r){Sb(this,t),Mo(this,"ownerDocument",null),Mo(this,"globalContext",void 0),Mo(this,"optionsArgs",void 0),this.globalContext=e,this.optionsArgs=r}return $b(t,[{key:"window",get:function(){if(this.globalContext)return this.globalContext;if(typeof window<"u")return window}},{key:"document",get:function(){var r;return(r=this.globalContext)!==null&&r!==void 0&&r.document?this.globalContext.document:this.window?this.window.document:void 0}},{key:"rootElement",get:function(){var r;return((r=this.optionsArgs)===null||r===void 0?void 0:r.rootElement)||this.window}}]),t}();function t2(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function r2(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?t2(Object(r),!0).forEach(function(n){ee(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):t2(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Ab(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tb(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function _b(t,e,r){return e&&Tb(t.prototype,e),t}function ee(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var kb=function(){function t(e,r,n){var i=this;Ab(this,t),ee(this,"options",void 0),ee(this,"actions",void 0),ee(this,"monitor",void 0),ee(this,"registry",void 0),ee(this,"enterLeaveCounter",void 0),ee(this,"sourcePreviewNodes",new Map),ee(this,"sourcePreviewNodeOptions",new Map),ee(this,"sourceNodes",new Map),ee(this,"sourceNodeOptions",new Map),ee(this,"dragStartSourceIds",null),ee(this,"dropTargetIds",[]),ee(this,"dragEnterTargetIds",[]),ee(this,"currentNativeSource",null),ee(this,"currentNativeHandle",null),ee(this,"currentDragSourceNode",null),ee(this,"altKeyPressed",!1),ee(this,"mouseMoveTimeoutTimer",null),ee(this,"asyncEndDragFrameId",null),ee(this,"dragOverTargetIds",null),ee(this,"lastClientOffset",null),ee(this,"hoverRafId",null),ee(this,"getSourceClientOffset",function(o){var l=i.sourceNodes.get(o);return l&&Z1(l)||null}),ee(this,"endDragNativeItem",function(){i.isDraggingNativeItem()&&(i.actions.endDrag(),i.currentNativeHandle&&i.registry.removeSource(i.currentNativeHandle),i.currentNativeHandle=null,i.currentNativeSource=null)}),ee(this,"isNodeInDocument",function(o){return!!(o&&i.document&&i.document.body&&i.document.body.contains(o))}),ee(this,"endDragIfSourceWasRemovedFromDOM",function(){var o=i.currentDragSourceNode;o==null||i.isNodeInDocument(o)||i.clearCurrentDragSourceNode()&&i.monitor.isDragging()&&i.actions.endDrag()}),ee(this,"handleTopDragStartCapture",function(){i.clearCurrentDragSourceNode(),i.dragStartSourceIds=[]}),ee(this,"handleTopDragStart",function(o){if(!o.defaultPrevented){var l=i.dragStartSourceIds;i.dragStartSourceIds=null;var a=An(o);i.monitor.isDragging()&&i.actions.endDrag(),i.actions.beginDrag(l||[],{publishSource:!1,getSourceClientOffset:i.getSourceClientOffset,clientOffset:a});var s=o.dataTransfer,c=Oo(s);if(i.monitor.isDragging()){if(s&&typeof s.setDragImage=="function"){var d=i.monitor.getSourceId(),f=i.sourceNodes.get(d),p=i.sourcePreviewNodes.get(d)||f;if(p){var g=i.getCurrentSourcePreviewNodeOptions(),y=g.anchorX,h=g.anchorY,v=g.offsetX,m=g.offsetY,C={anchorX:y,anchorY:h},E={offsetX:v,offsetY:m},F=yb(f,p,a,C,E);s.setDragImage(p,F.x,F.y)}}try{s==null||s.setData("application/json",{})}catch{}i.setCurrentDragSourceNode(o.target);var D=i.getCurrentSourcePreviewNodeOptions(),x=D.captureDraggingState;x?i.actions.publishDragSource():setTimeout(function(){return i.actions.publishDragSource()},0)}else if(c)i.beginDragNativeItem(c);else{if(s&&!s.types&&(o.target&&!o.target.hasAttribute||!o.target.hasAttribute("draggable")))return;o.preventDefault()}}}),ee(this,"handleTopDragEndCapture",function(){i.clearCurrentDragSourceNode()&&i.monitor.isDragging()&&i.actions.endDrag()}),ee(this,"handleTopDragEnterCapture",function(o){i.dragEnterTargetIds=[];var l=i.enterLeaveCounter.enter(o.target);if(!(!l||i.monitor.isDragging())){var a=o.dataTransfer,s=Oo(a);s&&i.beginDragNativeItem(s,a)}}),ee(this,"handleTopDragEnter",function(o){var l=i.dragEnterTargetIds;if(i.dragEnterTargetIds=[],!!i.monitor.isDragging()){i.altKeyPressed=o.altKey,l.length>0&&i.actions.hover(l,{clientOffset:An(o)});var a=l.some(function(s){return i.monitor.canDropOnTarget(s)});a&&(o.preventDefault(),o.dataTransfer&&(o.dataTransfer.dropEffect=i.getCurrentDropEffect()))}}),ee(this,"handleTopDragOverCapture",function(){i.dragOverTargetIds=[]}),ee(this,"handleTopDragOver",function(o){var l=i.dragOverTargetIds;if(i.dragOverTargetIds=[],!i.monitor.isDragging()){o.preventDefault(),o.dataTransfer&&(o.dataTransfer.dropEffect="none");return}i.altKeyPressed=o.altKey,i.lastClientOffset=An(o),i.hoverRafId===null&&typeof requestAnimationFrame<"u"&&(i.hoverRafId=requestAnimationFrame(function(){i.monitor.isDragging()&&i.actions.hover(l||[],{clientOffset:i.lastClientOffset}),i.hoverRafId=null}));var a=(l||[]).some(function(s){return i.monitor.canDropOnTarget(s)});a?(o.preventDefault(),o.dataTransfer&&(o.dataTransfer.dropEffect=i.getCurrentDropEffect())):i.isDraggingNativeItem()?o.preventDefault():(o.preventDefault(),o.dataTransfer&&(o.dataTransfer.dropEffect="none"))}),ee(this,"handleTopDragLeaveCapture",function(o){i.isDraggingNativeItem()&&o.preventDefault();var l=i.enterLeaveCounter.leave(o.target);l&&i.isDraggingNativeItem()&&setTimeout(function(){return i.endDragNativeItem()},0)}),ee(this,"handleTopDropCapture",function(o){if(i.dropTargetIds=[],i.isDraggingNativeItem()){var l;o.preventDefault(),(l=i.currentNativeSource)===null||l===void 0||l.loadDataTransfer(o.dataTransfer)}else Oo(o.dataTransfer)&&o.preventDefault();i.enterLeaveCounter.reset()}),ee(this,"handleTopDrop",function(o){var l=i.dropTargetIds;i.dropTargetIds=[],i.actions.hover(l,{clientOffset:An(o)}),i.actions.drop({dropEffect:i.getCurrentDropEffect()}),i.isDraggingNativeItem()?i.endDragNativeItem():i.monitor.isDragging()&&i.actions.endDrag()}),ee(this,"handleSelectStart",function(o){var l=o.target;typeof l.dragDrop=="function"&&(l.tagName==="INPUT"||l.tagName==="SELECT"||l.tagName==="TEXTAREA"||l.isContentEditable||(o.preventDefault(),l.dragDrop()))}),this.options=new Pb(r,n),this.actions=e.getActions(),this.monitor=e.getMonitor(),this.registry=e.getRegistry(),this.enterLeaveCounter=new db(this.isNodeInDocument)}return _b(t,[{key:"profile",value:function(){var r,n;return{sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,sourceNodeOptions:this.sourceNodeOptions.size,sourceNodes:this.sourceNodes.size,dragStartSourceIds:((r=this.dragStartSourceIds)===null||r===void 0?void 0:r.length)||0,dropTargetIds:this.dropTargetIds.length,dragEnterTargetIds:this.dragEnterTargetIds.length,dragOverTargetIds:((n=this.dragOverTargetIds)===null||n===void 0?void 0:n.length)||0}}},{key:"window",get:function(){return this.options.window}},{key:"document",get:function(){return this.options.document}},{key:"rootElement",get:function(){return this.options.rootElement}},{key:"setup",value:function(){var r=this.rootElement;if(r!==void 0){if(r.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");r.__isReactDndBackendSetUp=!0,this.addEventListeners(r)}}},{key:"teardown",value:function(){var r=this.rootElement;if(r!==void 0&&(r.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.rootElement),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId)){var n;(n=this.window)===null||n===void 0||n.cancelAnimationFrame(this.asyncEndDragFrameId)}}},{key:"connectDragPreview",value:function(r,n,i){var o=this;return this.sourcePreviewNodeOptions.set(r,i),this.sourcePreviewNodes.set(r,n),function(){o.sourcePreviewNodes.delete(r),o.sourcePreviewNodeOptions.delete(r)}}},{key:"connectDragSource",value:function(r,n,i){var o=this;this.sourceNodes.set(r,n),this.sourceNodeOptions.set(r,i);var l=function(c){return o.handleDragStart(c,r)},a=function(c){return o.handleSelectStart(c)};return n.setAttribute("draggable","true"),n.addEventListener("dragstart",l),n.addEventListener("selectstart",a),function(){o.sourceNodes.delete(r),o.sourceNodeOptions.delete(r),n.removeEventListener("dragstart",l),n.removeEventListener("selectstart",a),n.setAttribute("draggable","false")}}},{key:"connectDropTarget",value:function(r,n){var i=this,o=function(c){return i.handleDragEnter(c,r)},l=function(c){return i.handleDragOver(c,r)},a=function(c){return i.handleDrop(c,r)};return n.addEventListener("dragenter",o),n.addEventListener("dragover",l),n.addEventListener("drop",a),function(){n.removeEventListener("dragenter",o),n.removeEventListener("dragover",l),n.removeEventListener("drop",a)}}},{key:"addEventListeners",value:function(r){r.addEventListener&&(r.addEventListener("dragstart",this.handleTopDragStart),r.addEventListener("dragstart",this.handleTopDragStartCapture,!0),r.addEventListener("dragend",this.handleTopDragEndCapture,!0),r.addEventListener("dragenter",this.handleTopDragEnter),r.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),r.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),r.addEventListener("dragover",this.handleTopDragOver),r.addEventListener("dragover",this.handleTopDragOverCapture,!0),r.addEventListener("drop",this.handleTopDrop),r.addEventListener("drop",this.handleTopDropCapture,!0))}},{key:"removeEventListeners",value:function(r){r.removeEventListener&&(r.removeEventListener("dragstart",this.handleTopDragStart),r.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),r.removeEventListener("dragend",this.handleTopDragEndCapture,!0),r.removeEventListener("dragenter",this.handleTopDragEnter),r.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),r.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),r.removeEventListener("dragover",this.handleTopDragOver),r.removeEventListener("dragover",this.handleTopDragOverCapture,!0),r.removeEventListener("drop",this.handleTopDrop),r.removeEventListener("drop",this.handleTopDropCapture,!0))}},{key:"getCurrentSourceNodeOptions",value:function(){var r=this.monitor.getSourceId(),n=this.sourceNodeOptions.get(r);return r2({dropEffect:this.altKeyPressed?"copy":"move"},n||{})}},{key:"getCurrentDropEffect",value:function(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}},{key:"getCurrentSourcePreviewNodeOptions",value:function(){var r=this.monitor.getSourceId(),n=this.sourcePreviewNodeOptions.get(r);return r2({anchorX:.5,anchorY:.5,captureDraggingState:!1},n||{})}},{key:"isDraggingNativeItem",value:function(){var r=this.monitor.getItemType();return Object.keys(Qs).some(function(n){return Qs[n]===r})}},{key:"beginDragNativeItem",value:function(r,n){this.clearCurrentDragSourceNode(),this.currentNativeSource=xb(r,n),this.currentNativeHandle=this.registry.addSource(r,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}},{key:"setCurrentDragSourceNode",value:function(r){var n=this;this.clearCurrentDragSourceNode(),this.currentDragSourceNode=r;var i=1e3;this.mouseMoveTimeoutTimer=setTimeout(function(){var o;return(o=n.rootElement)===null||o===void 0?void 0:o.addEventListener("mousemove",n.endDragIfSourceWasRemovedFromDOM,!0)},i)}},{key:"clearCurrentDragSourceNode",value:function(){if(this.currentDragSourceNode){if(this.currentDragSourceNode=null,this.rootElement){var r;(r=this.window)===null||r===void 0||r.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)}return this.mouseMoveTimeoutTimer=null,!0}return!1}},{key:"handleDragStart",value:function(r,n){r.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(n))}},{key:"handleDragEnter",value:function(r,n){this.dragEnterTargetIds.unshift(n)}},{key:"handleDragOver",value:function(r,n){this.dragOverTargetIds===null&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(n)}},{key:"handleDrop",value:function(r,n){this.dropTargetIds.unshift(n)}}]),t}(),_n;function Ib(){return _n||(_n=new Image,_n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),_n}var Ob=function(e,r,n){return new kb(e,r,n)};function Mb(t){const e=ke(),r=e.selectedIds,[n,i,o]=R6(()=>({canDrag:()=>t.isDraggable,type:"NODE",item:()=>{const l=e.isSelected(t.id)?Array.from(r):[t.id];return e.dispatch(wr.dragStart(t.id,l)),{id:t.id,dragIds:l}},end:()=>{e.hideCursor(),e.dispatch(wr.dragEnd())}}),[r,t]);return u.useEffect(()=>{o(Ib())},[o]),i}function Nb(t,e){const r=t.getBoundingClientRect(),n=e.x-Math.round(r.x),i=e.y-Math.round(r.y),o=r.height,l=i<o/2,a=!l,s=o/4,c=i>s&&i<o-s;return{x:n,inTopHalf:l,inBottomHalf:a,inMiddle:c,atTop:!c&&l,atBottom:!c&&a}}function Bb(t,e,r,n){return t?t.isInternal?n.atTop?[e,t]:n.inMiddle?[t,t]:[t,r]:n.inTopHalf?[e,t]:[t,r]:[e,null]}function kn(t,e){return{parentId:t||null,index:e}}function nr(t,e){return{type:"line",index:t,level:e}}function Rb(t){return{type:"highlight",id:t}}function No(t,e){var r;let n=t;for(;n.parent&&n.level>e;)n=n.parent;const i=((r=n.parent)===null||r===void 0?void 0:r.id)||null,o=w1(n)+1;return{parentId:i,index:o}}function J1(t){var e;const r=Nb(t.element,t.offset),n=t.indent,i=Math.round(Math.max(0,r.x-n)/n),{node:o,nextNode:l,prevNode:a}=t,[s,c]=Bb(o,a,l,r);if(o&&o.isInternal&&r.inMiddle)return{drop:kn(o.id,null),cursor:Rb(o.id)};if(!s)return{drop:kn((e=c==null?void 0:c.parent)===null||e===void 0?void 0:e.id,0),cursor:nr(0,0)};if(m1(s)){const d=Ln(i,(c==null?void 0:c.level)||0,s.level);return{drop:No(s,d),cursor:nr(s.rowIndex+1,d)}}if(y1(s)){const d=Ln(i,(c==null?void 0:c.level)||0,s.level);return{drop:No(s,d),cursor:nr(s.rowIndex+1,d)}}if(C1(s)){const d=Ln(i,0,s.level+1);return d>s.level?{drop:kn(s.id,0),cursor:nr(s.rowIndex+1,d)}:{drop:No(s,d),cursor:nr(s.rowIndex+1,d)}}return{drop:kn(s==null?void 0:s.id,0),cursor:nr(s.rowIndex+1,s.level+1)}}function Lb(t,e){const r=ke(),[n,i]=z1(()=>({accept:"NODE",canDrop:()=>r.canDrop(),hover:(o,l)=>{const a=l.getClientOffset();if(!t.current||!a)return;const{cursor:s,drop:c}=J1({element:t.current,offset:a,indent:r.indent,node:e,prevNode:e.prev,nextNode:e.next});c&&r.dispatch(wr.hovering(c.parentId,c.index)),l.canDrop()?s&&r.showCursor(s):r.hideCursor()},drop:(o,l)=>{if(!l.canDrop())return null;let{parentId:a,index:s,dragIds:c}=r.state.dnd;$1(r.props.onMove,{dragIds:c,parentId:a===an?null:a,index:s===null?0:s,dragNodes:r.dragNodes,parentNode:r.get(a)}),r.open(a)}}),[e,t.current,r.props]);return i}function Kb(t){const e=ke(),r=e.at(t);if(!r)throw new Error(`Could not find node for index: ${t}`);return u.useMemo(()=>{const n=r.clone();return e.visibleNodes[t]=n,n},[...Object.values(r.state),r])}const jb=u.memo(function({index:e,style:r}){b1(),ag();const n=ke(),i=Kb(e),o=u.useRef(null),l=Mb(i),a=Lb(o,i),s=u.useCallback(h=>{o.current=h,a(h)},[a]),c=n.indent*i.level,d=u.useMemo(()=>({paddingLeft:c}),[c]),f=u.useMemo(()=>{var h,v;return Object.assign(Object.assign({},r),{top:parseFloat(r.top)+((v=(h=n.props.padding)!==null&&h!==void 0?h:n.props.paddingTop)!==null&&v!==void 0?v:0)})},[r,n.props.padding,n.props.paddingTop]),p={role:"treeitem","aria-level":i.level+1,"aria-selected":i.isSelected,"aria-expanded":i.isOpen,style:f,tabIndex:-1,className:n.props.rowClassName};u.useEffect(()=>{var h;!i.isEditing&&i.isFocused&&((h=o.current)===null||h===void 0||h.focus({preventScroll:!0}))},[i.isEditing,i.isFocused,o.current]);const g=n.renderNode,y=n.renderRow;return b.jsx(y,{node:i,innerRef:s,attrs:p,children:b.jsx(g,{node:i,tree:n,style:d,dragHandle:l})})});let Bo="",n2=null;function Q1(){b1();const t=ke();return b.jsx("div",{role:"tree",style:{height:t.height,width:t.width,minHeight:0,minWidth:0},onContextMenu:t.props.onContextMenu,onClick:t.props.onClick,tabIndex:0,onFocus:e=>{e.currentTarget.contains(e.relatedTarget)||t.onFocus()},onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||t.onBlur()},onKeyDown:e=>{var r;if(t.isEditing)return;if(e.key==="Backspace"){if(!t.props.onDelete)return;const i=Array.from(t.selectedIds);if(i.length>1){let o=t.mostRecentNode;for(;o&&o.isSelected;)o=o.nextSibling;o||(o=t.lastNode),t.focus(o,{scroll:!1}),t.delete(Array.from(i))}else{const o=t.focusedNode;if(o){const l=o.nextSibling,a=o.parent;t.focus(l||a,{scroll:!1}),t.delete(o)}}return}if(e.key==="Tab"&&!e.shiftKey){e.preventDefault(),D1(e.currentTarget);return}if(e.key==="Tab"&&e.shiftKey){e.preventDefault(),x1(e.currentTarget);return}if(e.key==="ArrowDown"){e.preventDefault();const i=t.nextNode;if(e.metaKey){t.select(t.focusedNode),t.activate(t.focusedNode);return}else if(!e.shiftKey||t.props.disableMultiSelection){t.focus(i);return}else{if(!i)return;const o=t.focusedNode;o?o.isSelected?t.selectContiguous(i):t.selectMulti(i):t.focus(t.firstNode);return}}if(e.key==="ArrowUp"){e.preventDefault();const i=t.prevNode;if(!e.shiftKey||t.props.disableMultiSelection){t.focus(i);return}else{if(!i)return;const o=t.focusedNode;o?o.isSelected?t.selectContiguous(i):t.selectMulti(i):t.focus(t.lastNode);return}}if(e.key==="ArrowRight"){const i=t.focusedNode;if(!i)return;i.isInternal&&i.isOpen?t.focus(t.nextNode):i.isInternal&&t.open(i.id);return}if(e.key==="ArrowLeft"){const i=t.focusedNode;if(!i||i.isRoot)return;i.isInternal&&i.isOpen?t.close(i.id):!((r=i.parent)===null||r===void 0)&&r.isRoot||t.focus(i.parent);return}if(e.key==="a"&&e.metaKey&&!t.props.disableMultiSelection){e.preventDefault(),t.selectAll();return}if(e.key==="a"&&!e.metaKey&&t.props.onCreate){t.createLeaf();return}if(e.key==="A"&&!e.metaKey){if(!t.props.onCreate)return;t.createInternal();return}if(e.key==="Home"){e.preventDefault(),t.focus(t.firstNode);return}if(e.key==="End"){e.preventDefault(),t.focus(t.lastNode);return}if(e.key==="Enter"){const i=t.focusedNode;if(!i||!i.isEditable||!t.props.onRename)return;setTimeout(()=>{i&&t.edit(i)});return}if(e.key===" "){e.preventDefault();const i=t.focusedNode;if(!i)return;i.isLeaf?(i.select(),i.activate()):i.toggle();return}if(e.key==="*"){const i=t.focusedNode;if(!i)return;t.openSiblings(i);return}if(e.key==="PageUp"){e.preventDefault(),t.pageUp();return}e.key==="PageDown"&&(e.preventDefault(),t.pageDown()),clearTimeout(n2),Bo+=e.key,n2=setTimeout(()=>{Bo=""},600);const n=t.visibleNodes.find(i=>{const o=i.data.name;return typeof o=="string"?o.toLowerCase().startsWith(Bo):!1});n&&t.focus(n.id)},children:b.jsx(zg,{className:t.props.className,outerRef:t.listEl,itemCount:t.visibleNodes.length,height:t.height,width:t.width,itemSize:t.rowHeight,overscanCount:t.overscanCount,itemKey:e=>{var r;return((r=t.visibleNodes[e])===null||r===void 0?void 0:r.id)||e},outerElementType:Zg,innerElementType:Yg,onScroll:t.props.onScroll,onItemsRendered:t.onItemsRendered.bind(t),ref:t.list,children:jb})})}function i2(t){return t.isFiltered?Vb(t.root,t.isMatch.bind(t)):Hb(t.root)}function Hb(t){const e=[];function r(n){var i;n.level>=0&&e.push(n),n.isOpen&&((i=n.children)===null||i===void 0||i.forEach(r))}return r(t),e.forEach(ef),e}function Vb(t,e){const r={},n=[];function i(l){if(!l.isRoot&&e(l)){r[l.id]=!0;let s=l.parent;for(;s;)r[s.id]=!0,s=s.parent}if(l.children)for(let s of l.children)i(s)}function o(l){var a;l.level>=0&&r[l.id]&&n.push(l),l.isOpen&&((a=l.children)===null||a===void 0||a.forEach(o))}return i(t),o(t),n.forEach(ef),n}function ef(t,e){t.rowIndex=e}const o2=t=>t.reduce((e,r,n)=>(e[r.id]=n,e),{});var Ro=function(t,e,r,n){function i(o){return o instanceof r?o:new r(function(l){l(o)})}return new(r||(r=Promise))(function(o,l){function a(d){try{c(n.next(d))}catch(f){l(f)}}function s(d){try{c(n.throw(d))}catch(f){l(f)}}function c(d){d.done?o(d.value):i(d.value).then(a,s)}c((n=n.apply(t,e||[])).next())})};const{safeRun:me,identify:Je,identifyNull:Ke}=hg;class vr{constructor(e,r,n,i){this.store=e,this.props=r,this.list=n,this.listEl=i,this.visibleStartIndex=0,this.visibleStopIndex=0,this.root=ps(this),this.visibleNodes=i2(this),this.idToIndex=o2(this.visibleNodes)}update(e){this.props=e,this.root=ps(this),this.visibleNodes=i2(this),this.idToIndex=o2(this.visibleNodes)}dispatch(e){return this.store.dispatch(e)}get state(){return this.store.getState()}get openState(){return this.state.nodes.open.unfiltered}get width(){var e;return(e=this.props.width)!==null&&e!==void 0?e:300}get height(){var e;return(e=this.props.height)!==null&&e!==void 0?e:500}get indent(){var e;return(e=this.props.indent)!==null&&e!==void 0?e:24}get rowHeight(){var e;return(e=this.props.rowHeight)!==null&&e!==void 0?e:24}get overscanCount(){var e;return(e=this.props.overscanCount)!==null&&e!==void 0?e:1}get searchTerm(){return(this.props.searchTerm||"").trim()}get matchFn(){var e;const r=(e=this.props.searchMatch)!==null&&e!==void 0?e:(n,i)=>JSON.stringify(Object.values(n.data)).toLocaleLowerCase().includes(i.toLocaleLowerCase());return n=>r(n,this.searchTerm)}accessChildren(e){var r;const n=this.props.childrenAccessor||"children";return(r=zr(e,n))!==null&&r!==void 0?r:null}accessId(e){const r=this.props.idAccessor||"id",n=zr(e,r);if(!n)throw new Error("Data must contain an 'id' property or props.idAccessor must return a string");return n}get firstNode(){var e;return(e=this.visibleNodes[0])!==null&&e!==void 0?e:null}get lastNode(){var e;return(e=this.visibleNodes[this.visibleNodes.length-1])!==null&&e!==void 0?e:null}get focusedNode(){var e;return(e=this.get(this.state.nodes.focus.id))!==null&&e!==void 0?e:null}get mostRecentNode(){var e;return(e=this.get(this.state.nodes.selection.mostRecent))!==null&&e!==void 0?e:null}get nextNode(){const e=this.indexOf(this.focusedNode);return e===null?null:this.at(e+1)}get prevNode(){const e=this.indexOf(this.focusedNode);return e===null?null:this.at(e-1)}get(e){return e&&e in this.idToIndex&&this.visibleNodes[this.idToIndex[e]]||null}at(e){return this.visibleNodes[e]||null}nodesBetween(e,r){var n;if(e===null||r===null)return[];const i=(n=this.indexOf(e))!==null&&n!==void 0?n:0,o=this.indexOf(r);if(o===null)return[];const l=Math.min(i,o),a=Math.max(i,o);return this.visibleNodes.slice(l,a+1)}indexOf(e){const r=F1(e);return r?this.idToIndex[r]:null}get editingId(){return this.state.nodes.edit.id}createInternal(){return this.create({type:"internal"})}createLeaf(){return this.create({type:"leaf"})}create(){return Ro(this,arguments,void 0,function*(e={}){var r,n;const i=e.parentId===void 0?T1(this):e.parentId,o=(r=e.index)!==null&&r!==void 0?r:A1(this),l=(n=e.type)!==null&&n!==void 0?n:"leaf",a=yield me(this.props.onCreate,{type:l,parentId:i,index:o,parentNode:this.get(i)});a&&(this.focus(a),setTimeout(()=>{this.edit(a).then(()=>{this.select(a),this.activate(a)})}))})}delete(e){return Ro(this,void 0,void 0,function*(){if(!e)return;const n=(Array.isArray(e)?e:[e]).map(Je),i=n.map(o=>this.get(o)).filter(o=>!!o);yield me(this.props.onDelete,{nodes:i,ids:n})})}edit(e){const r=Je(e);return this.resolveEdit({cancelled:!0}),this.scrollTo(r),this.dispatch(So(r)),new Promise(n=>{vr.editPromise=n})}submit(e,r){return Ro(this,void 0,void 0,function*(){if(!e)return;const n=Je(e);yield me(this.props.onRename,{id:n,name:r,node:this.get(n)}),this.dispatch(So(null)),this.resolveEdit({cancelled:!1,value:r}),setTimeout(()=>this.onFocus())})}reset(){this.dispatch(So(null)),this.resolveEdit({cancelled:!0}),setTimeout(()=>this.onFocus())}activate(e){const r=this.get(Ke(e));r&&me(this.props.onActivate,r)}resolveEdit(e){const r=vr.editPromise;r&&r(e),vr.editPromise=null}get selectedIds(){return this.state.nodes.selection.ids}get selectedNodes(){let e=[];for(let r of Array.from(this.selectedIds)){const n=this.get(r);n&&e.push(n)}return e}focus(e,r={}){e&&(this.props.selectionFollowsFocus?this.select(e):(this.dispatch(Jt(Je(e))),r.scroll!==!1&&this.scrollTo(e),this.focusedNode&&me(this.props.onFocus,this.focusedNode)))}pageUp(){var e,r;const n=this.visibleStartIndex,o=this.visibleStopIndex-n;let l=(r=(e=this.focusedNode)===null||e===void 0?void 0:e.rowIndex)!==null&&r!==void 0?r:0;l>n?l=n:l=Math.max(n-o,0),this.focus(this.at(l))}pageDown(){var e,r;const n=this.visibleStartIndex,i=this.visibleStopIndex,o=i-n;let l=(r=(e=this.focusedNode)===null||e===void 0?void 0:e.rowIndex)!==null&&r!==void 0?r:0;l<i?l=i:l=Math.min(l+o,this.visibleNodes.length-1),this.focus(this.at(l))}select(e,r={}){if(!e)return;const n=r.focus!==!1,i=Je(e);n&&this.dispatch(Jt(i)),this.dispatch(Le.only(i)),this.dispatch(Le.anchor(i)),this.dispatch(Le.mostRecent(i)),this.scrollTo(i,r.align),this.focusedNode&&n&&me(this.props.onFocus,this.focusedNode),me(this.props.onSelect,this.selectedNodes)}deselect(e){if(!e)return;const r=Je(e);this.dispatch(Le.remove(r)),me(this.props.onSelect,this.selectedNodes)}selectMulti(e){const r=this.get(Ke(e));r&&(this.dispatch(Jt(r.id)),this.dispatch(Le.add(r.id)),this.dispatch(Le.anchor(r.id)),this.dispatch(Le.mostRecent(r.id)),this.scrollTo(r),this.focusedNode&&me(this.props.onFocus,this.focusedNode),me(this.props.onSelect,this.selectedNodes))}selectContiguous(e){if(!e)return;const r=Je(e),{anchor:n,mostRecent:i}=this.state.nodes.selection;this.dispatch(Jt(r)),this.dispatch(Le.remove(this.nodesBetween(n,i))),this.dispatch(Le.add(this.nodesBetween(n,Ke(r)))),this.dispatch(Le.mostRecent(r)),this.scrollTo(r),this.focusedNode&&me(this.props.onFocus,this.focusedNode),me(this.props.onSelect,this.selectedNodes)}deselectAll(){this.setSelection({ids:[],anchor:null,mostRecent:null}),me(this.props.onSelect,this.selectedNodes)}selectAll(){var e;this.setSelection({ids:Object.keys(this.idToIndex),anchor:this.firstNode,mostRecent:this.lastNode}),this.dispatch(Jt((e=this.lastNode)===null||e===void 0?void 0:e.id)),this.focusedNode&&me(this.props.onFocus,this.focusedNode),me(this.props.onSelect,this.selectedNodes)}setSelection(e){var r;const n=new Set((r=e.ids)===null||r===void 0?void 0:r.map(Je)),i=Ke(e.anchor),o=Ke(e.mostRecent);this.dispatch(Le.set({ids:n,anchor:i,mostRecent:o})),me(this.props.onSelect,this.selectedNodes)}get cursorParentId(){const{cursor:e}=this.state.dnd;switch(e.type){case"highlight":return e.id;default:return null}}get cursorOverFolder(){return this.state.dnd.cursor.type==="highlight"}get dragNodes(){return this.state.dnd.dragIds.map(e=>this.get(e)).filter(e=>!!e)}get dragNode(){return this.get(this.state.nodes.drag.id)}get dragDestinationParent(){return this.get(this.state.nodes.drag.destinationParentId)}get dragDestinationIndex(){return this.state.nodes.drag.destinationIndex}canDrop(){var e;if(this.isFiltered)return!1;const r=(e=this.get(this.state.dnd.parentId))!==null&&e!==void 0?e:this.root,n=this.dragNodes,i=this.props.disableDrop;for(const o of n)if(!o||!r||o.isInternal&&E1(r,o))return!1;return typeof i=="function"?!i({parentNode:r,dragNodes:this.dragNodes,index:this.state.dnd.index||0}):typeof i=="string"?!r.data[i]:typeof i=="boolean"?!i:!0}hideCursor(){this.dispatch(wr.cursor({type:"none"}))}showCursor(e){this.dispatch(wr.cursor(e))}open(e){const r=Ke(e);r&&(this.isOpen(r)||(this.dispatch(pl.open(r,this.isFiltered)),me(this.props.onToggle,r)))}close(e){const r=Ke(e);r&&this.isOpen(r)&&(this.dispatch(pl.close(r,this.isFiltered)),me(this.props.onToggle,r))}toggle(e){const r=Ke(e);if(r)return this.isOpen(r)?this.close(r):this.open(r)}openParents(e){const r=Ke(e);if(!r)return;const n=va(this.root,r);let i=n==null?void 0:n.parent;for(;i;)this.open(i.id),i=i.parent}openSiblings(e){const r=e.parent;if(!r)this.toggle(e.id);else if(r.children){const n=e.isOpen;for(let i of r.children)i.isInternal&&(n?this.close(i.id):this.open(i.id));this.scrollTo(this.focusedNode)}}openAll(){si(this.root,e=>{e.isInternal&&e.open()})}closeAll(){si(this.root,e=>{e.isInternal&&e.close()})}scrollTo(e,r="smart"){if(!e)return;const n=Je(e);return this.openParents(n),P1(()=>n in this.idToIndex).then(()=>{var i;const o=this.idToIndex[n];o!==void 0&&((i=this.list.current)===null||i===void 0||i.scrollToItem(o,r))}).catch(()=>{})}get isEditing(){return this.state.nodes.edit.id!==null}get isFiltered(){var e;return!!(!((e=this.props.searchTerm)===null||e===void 0)&&e.trim())}get hasFocus(){return this.state.nodes.focus.treeFocused}get hasNoSelection(){return this.state.nodes.selection.ids.size===0}get hasOneSelection(){return this.state.nodes.selection.ids.size===1}get hasMultipleSelections(){return this.state.nodes.selection.ids.size>1}isSelected(e){return e?this.state.nodes.selection.ids.has(e):!1}isOpen(e){var r,n,i;if(!e)return!1;if(e===an)return!0;const o=(r=this.props.openByDefault)!==null&&r!==void 0?r:!0;return this.isFiltered?(n=this.state.nodes.open.filtered[e])!==null&&n!==void 0?n:!0:(i=this.state.nodes.open.unfiltered[e])!==null&&i!==void 0?i:o}isEditable(e){const r=this.props.disableEdit||(()=>!1);return!zr(e,r)}isDraggable(e){const r=this.props.disableDrag||(()=>!1);return!zr(e,r)}isDragging(e){const r=Ke(e);return r?this.state.nodes.drag.id===r:!1}isFocused(e){return this.hasFocus&&this.state.nodes.focus.id===e}isMatch(e){return this.matchFn(e)}willReceiveDrop(e){const r=Ke(e);if(!r)return!1;const{destinationParentId:n,destinationIndex:i}=this.state.nodes.drag;return r===n&&i===null}onFocus(){const e=this.focusedNode||this.firstNode;e&&this.dispatch(Jt(e.id))}onBlur(){this.dispatch(Dg())}onItemsRendered(e){this.visibleStartIndex=e.visibleStartIndex,this.visibleStopIndex=e.visibleStopIndex}get renderContainer(){return this.props.renderContainer||Q1}get renderRow(){return this.props.renderRow||mg}get renderNode(){return this.props.children||yg}get renderDragPreview(){return this.props.renderDragPreview||_1}get renderCursor(){return this.props.renderCursor||bg}}function we(t){return`Minified Redux error #${t}; visit https://redux.js.org/Errors?code=${t} for the full message or use the non-minified dev environment for full errors. `}var zb=typeof Symbol=="function"&&Symbol.observable||"@@observable",l2=zb,Lo=()=>Math.random().toString(36).substring(7).split("").join("."),Ub={INIT:`@@redux/INIT${Lo()}`,REPLACE:`@@redux/REPLACE${Lo()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Lo()}`},At=Ub;function tf(t){if(typeof t!="object"||t===null)return!1;let e=t;for(;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e||Object.getPrototypeOf(t)===null}function Wb(t){if(t===void 0)return"undefined";if(t===null)return"null";const e=typeof t;switch(e){case"boolean":case"string":case"number":case"symbol":case"function":return e}if(Array.isArray(t))return"array";if(qb(t))return"date";if(Gb(t))return"error";const r=Zb(t);switch(r){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return r}return Object.prototype.toString.call(t).slice(8,-1).toLowerCase().replace(/\s/g,"")}function Zb(t){return typeof t.constructor=="function"?t.constructor.name:null}function Gb(t){return t instanceof Error||typeof t.message=="string"&&t.constructor&&typeof t.constructor.stackTraceLimit=="number"}function qb(t){return t instanceof Date?!0:typeof t.toDateString=="function"&&typeof t.getDate=="function"&&typeof t.setDate=="function"}function at(t){let e=typeof t;return process.env.NODE_ENV!=="production"&&(e=Wb(t)),e}function rf(t,e,r){if(typeof t!="function")throw new Error(process.env.NODE_ENV==="production"?we(2):`Expected the root reducer to be a function. Instead, received: '${at(t)}'`);if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(process.env.NODE_ENV==="production"?we(0):"It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(process.env.NODE_ENV==="production"?we(1):`Expected the enhancer to be a function. Instead, received: '${at(r)}'`);return r(rf)(t,e)}let n=t,i=e,o=new Map,l=o,a=0,s=!1;function c(){l===o&&(l=new Map,o.forEach((v,m)=>{l.set(m,v)}))}function d(){if(s)throw new Error(process.env.NODE_ENV==="production"?we(3):"You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return i}function f(v){if(typeof v!="function")throw new Error(process.env.NODE_ENV==="production"?we(4):`Expected the listener to be a function. Instead, received: '${at(v)}'`);if(s)throw new Error(process.env.NODE_ENV==="production"?we(5):"You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");let m=!0;c();const C=a++;return l.set(C,v),function(){if(m){if(s)throw new Error(process.env.NODE_ENV==="production"?we(6):"You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");m=!1,c(),l.delete(C),o=null}}}function p(v){if(!tf(v))throw new Error(process.env.NODE_ENV==="production"?we(7):`Actions must be plain objects. Instead, the actual type was: '${at(v)}'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.`);if(typeof v.type>"u")throw new Error(process.env.NODE_ENV==="production"?we(8):'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(typeof v.type!="string")throw new Error(process.env.NODE_ENV==="production"?we(17):`Action "type" property must be a string. Instead, the actual type was: '${at(v.type)}'. Value was: '${v.type}' (stringified)`);if(s)throw new Error(process.env.NODE_ENV==="production"?we(9):"Reducers may not dispatch actions.");try{s=!0,i=n(i,v)}finally{s=!1}return(o=l).forEach(C=>{C()}),v}function g(v){if(typeof v!="function")throw new Error(process.env.NODE_ENV==="production"?we(10):`Expected the nextReducer to be a function. Instead, received: '${at(v)}`);n=v,p({type:At.REPLACE})}function y(){const v=f;return{subscribe(m){if(typeof m!="object"||m===null)throw new Error(process.env.NODE_ENV==="production"?we(11):`Expected the observer to be an object. Instead, received: '${at(m)}'`);function C(){const F=m;F.next&&F.next(d())}return C(),{unsubscribe:v(C)}},[l2](){return this}}}return p({type:At.INIT}),{dispatch:p,subscribe:f,getState:d,replaceReducer:g,[l2]:y}}function a2(t){typeof console<"u"&&typeof console.error=="function"&&console.error(t);try{throw new Error(t)}catch{}}function Yb(t,e,r,n){const i=Object.keys(e),o=r&&r.type===At.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(i.length===0)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!tf(t))return`The ${o} has unexpected type of "${at(t)}". Expected argument to be an object with the following keys: "${i.join('", "')}"`;const l=Object.keys(t).filter(a=>!e.hasOwnProperty(a)&&!n[a]);if(l.forEach(a=>{n[a]=!0}),!(r&&r.type===At.REPLACE)&&l.length>0)return`Unexpected ${l.length>1?"keys":"key"} "${l.join('", "')}" found in ${o}. Expected to find one of the known reducer keys instead: "${i.join('", "')}". Unexpected keys will be ignored.`}function Xb(t){Object.keys(t).forEach(e=>{const r=t[e];if(typeof r(void 0,{type:At.INIT})>"u")throw new Error(process.env.NODE_ENV==="production"?we(12):`The slice reducer for key "${e}" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.`);if(typeof r(void 0,{type:At.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(process.env.NODE_ENV==="production"?we(13):`The slice reducer for key "${e}" returned undefined when probed with a random type. Don't try to handle '${At.INIT}' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.`)})}function s2(t){const e=Object.keys(t),r={};for(let l=0;l<e.length;l++){const a=e[l];process.env.NODE_ENV!=="production"&&typeof t[a]>"u"&&a2(`No reducer provided for key "${a}"`),typeof t[a]=="function"&&(r[a]=t[a])}const n=Object.keys(r);let i;process.env.NODE_ENV!=="production"&&(i={});let o;try{Xb(r)}catch(l){o=l}return function(a={},s){if(o)throw o;if(process.env.NODE_ENV!=="production"){const f=Yb(a,r,s,i);f&&a2(f)}let c=!1;const d={};for(let f=0;f<n.length;f++){const p=n[f],g=r[p],y=a[p],h=g(y,s);if(typeof h>"u"){const v=s&&s.type;throw new Error(process.env.NODE_ENV==="production"?we(14):`When called with an action of type ${v?`"${String(v)}"`:"(unknown type)"}, the slice reducer for key "${p}" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.`)}d[p]=h,c=c||h!==y}return c=c||n.length!==Object.keys(a).length,c?d:a}}function Jb(t=Er().nodes.drag,e){switch(e.type){case"DND_DRAG_START":return Object.assign(Object.assign({},t),{id:e.id,selectedIds:e.dragIds});case"DND_DRAG_END":return Object.assign(Object.assign({},t),{id:null,destinationParentId:null,destinationIndex:null,selectedIds:[]});case"DND_HOVERING":return e.parentId!==t.destinationParentId||e.index!=t.destinationIndex?Object.assign(Object.assign({},t),{destinationParentId:e.parentId,destinationIndex:e.index}):t;default:return t}}const Qb=s2({nodes:s2({focus:xg,edit:wg,open:Sg,selection:Fg,drag:Jb}),dnd:$g}),em=Er();function tm({treeProps:t,imperativeHandle:e,children:r}){const n=u.useRef(null),i=u.useRef(null),o=u.useRef(rf(Qb,Er(t))),l=Hl.useSyncExternalStore(o.current.subscribe,o.current.getState,()=>em),a=u.useMemo(()=>new vr(o.current,t,n,i),[]),s=u.useRef(0);return u.useMemo(()=>{s.current+=1,a.update(t)},[...Object.values(t),l.nodes.open]),u.useImperativeHandle(e,()=>a),u.useEffect(()=>{a.props.selection?a.select(a.props.selection,{focus:!1}):a.deselectAll()},[a.props.selection]),u.useEffect(()=>{a.props.searchTerm||o.current.dispatch(pl.clear(!0))},[a.props.searchTerm]),b.jsx(h1.Provider,{value:a,children:b.jsx(v1.Provider,{value:s.current,children:b.jsx(p1.Provider,{value:l.nodes,children:b.jsx(g1.Provider,{value:l.dnd,children:b.jsx(Iv,Object.assign({backend:Ob,options:{rootElement:a.props.dndRootElement||void 0}},t.dndManager&&{manager:t.dndManager},{children:r}))})})})})}function rm(){const t=ke(),[,e]=z1(()=>({accept:"NODE",canDrop:(r,n)=>n.isOver({shallow:!0})?t.canDrop():!1,hover:(r,n)=>{if(!n.isOver({shallow:!0}))return;const i=n.getClientOffset();if(!t.listEl.current||!i)return;const{cursor:o,drop:l}=J1({element:t.listEl.current,offset:i,indent:t.indent,node:null,prevNode:t.visibleNodes[t.visibleNodes.length-1],nextNode:null});l&&t.dispatch(wr.hovering(l.parentId,l.index)),n.canDrop()?o&&t.showCursor(o):t.hideCursor()}}),[t]);e(t.listEl)}function nm(t){return rm(),t.children}function im(){const e=ke().props.renderContainer||Q1;return b.jsx(b.Fragment,{children:b.jsx(e,{})})}function om(){const t=ke(),{offset:e,mouse:r,item:n,isDragging:i}=ob(l=>({offset:l.getSourceClientOffset(),mouse:l.getClientOffset(),item:l.getItem(),isDragging:l.isDragging()})),o=t.props.renderDragPreview||_1;return b.jsx(o,{offset:e,mouse:r,id:(n==null?void 0:n.id)||null,dragIds:(n==null?void 0:n.dragIds)||[],isDragging:i})}class lm{constructor(e){this.root=am(e)}get data(){var e,r;return(r=(e=this.root.children)===null||e===void 0?void 0:e.map(n=>n.data))!==null&&r!==void 0?r:[]}create(e){const r=e.parentId?this.find(e.parentId):this.root;if(!r)return null;r.addChild(e.data,e.index)}move(e){const r=this.find(e.id),n=e.parentId?this.find(e.parentId):this.root;!r||!n||(n.addChild(r.data,e.index),r.drop())}update(e){const r=this.find(e.id);r&&r.update(e.changes)}drop(e){const r=this.find(e.id);r&&r.drop()}find(e,r=this.root){if(!r)return null;if(r.id===e)return r;if(r.children){for(let n of r.children){const i=this.find(e,n);if(i)return i}return null}return null}}function am(t){const e=new nf({id:"ROOT"},null);return e.children=t.map(r=>Da(r,e)),e}function Da(t,e){const r=new nf(t,e);return t.children&&(r.children=t.children.map(n=>Da(n,r))),r}class nf{constructor(e,r){this.data=e,this.parent=r,this.id=e.id}hasParent(){return!!this.parent}get childIndex(){return this.hasParent()?this.parent.children.indexOf(this):-1}addChild(e,r){var n,i;const o=Da(e,this);this.children=(n=this.children)!==null&&n!==void 0?n:[],this.children.splice(r,0,o),this.data.children=(i=this.data.children)!==null&&i!==void 0?i:[],this.data.children.splice(r,0,e)}removeChild(e){var r,n;(r=this.children)===null||r===void 0||r.splice(e,1),(n=this.data.children)===null||n===void 0||n.splice(e,1)}update(e){if(this.hasParent()){const r=this.childIndex;this.parent.addChild(Object.assign(Object.assign({},this.data),e),r),this.drop()}}drop(){this.hasParent()&&this.parent.removeChild(this.childIndex)}}let sm=0;function cm(t){const[e,r]=u.useState(t),n=u.useMemo(()=>new lm(e),[e]);return[e,{onMove:c=>{for(const d of c.dragIds)n.move({id:d,parentId:c.parentId,index:c.index});r(n.data)},onRename:({name:c,id:d})=>{n.update({id:d,changes:{name:c}}),r(n.data)},onCreate:({parentId:c,index:d,type:f})=>{const p={id:`simple-tree-id-${sm++}`,name:""};return f==="internal"&&(p.children=[]),n.create({parentId:c,index:d,data:p}),r(n.data),p},onDelete:c=>{c.ids.forEach(d=>n.drop({id:d})),r(n.data)}}]}function um(t){if(t.initialData&&t.data)throw new Error("React Arborist Tree => Provide either a data or initialData prop, but not both.");if(t.initialData&&(t.onCreate||t.onDelete||t.onMove||t.onRename))throw new Error(`React Arborist Tree => You passed the initialData prop along with a data handler.
98
+ Use the data prop if you want to provide your own handlers.`);if(t.initialData){const[e,r]=cm(t.initialData);return Object.assign(Object.assign(Object.assign({},t),r),{data:e})}else return t}function dm(t,e){const r=um(t);return b.jsxs(tm,{treeProps:r,imperativeHandle:e,children:[b.jsx(nm,{children:b.jsx(im,{})}),b.jsx(om,{})]})}const fm=u.forwardRef(dm),of=({top:t,left:e})=>b.jsx("div",{className:"c__tree-view__cursor",style:{top:t-2,left:e+10,width:`calc(100% - ${24+e}px)`}});function hm(t,e){var r=u.useRef(null),n=u.useRef(null);n.current=e;var i=u.useRef(null);u.useEffect(function(){o()});var o=u.useCallback(function(){var l=i.current,a=n.current,s=l||(a?a instanceof Element?a:a.current:null);r.current&&r.current.element===s&&r.current.subscriber===t||(r.current&&r.current.cleanup&&r.current.cleanup(),r.current={element:s,subscriber:t,cleanup:s?t(s):void 0})},[t]);return u.useEffect(function(){return function(){r.current&&r.current.cleanup&&(r.current.cleanup(),r.current=null)}},[]),u.useCallback(function(l){i.current=l,o()},[o])}function c2(t,e,r){return t[e]?t[e][0]?t[e][0][r]:t[e][r]:e==="contentBoxSize"?t.contentRect[r==="inlineSize"?"width":"height"]:void 0}function pm(t){t===void 0&&(t={});var e=t.onResize,r=u.useRef(void 0);r.current=e;var n=t.round||Math.round,i=u.useRef(),o=u.useState({width:void 0,height:void 0}),l=o[0],a=o[1],s=u.useRef(!1);u.useEffect(function(){return s.current=!1,function(){s.current=!0}},[]);var c=u.useRef({width:void 0,height:void 0}),d=hm(u.useCallback(function(f){return(!i.current||i.current.box!==t.box||i.current.round!==n)&&(i.current={box:t.box,round:n,instance:new ResizeObserver(function(p){var g=p[0],y=t.box==="border-box"?"borderBoxSize":t.box==="device-pixel-content-box"?"devicePixelContentBoxSize":"contentBoxSize",h=c2(g,y,"inlineSize"),v=c2(g,y,"blockSize"),m=h?n(h):void 0,C=v?n(v):void 0;if(c.current.width!==m||c.current.height!==C){var E={width:m,height:C};c.current.width=m,c.current.height=C,r.current?r.current(E):s.current||a(E)}})}),i.current.instance.observe(f,{box:t.box}),function(){i.current&&i.current.instance.unobserve(f)}},[t.box,n]),t.ref);return u.useMemo(function(){return{ref:d,width:l.width,height:l.height}},[d,l.width,l.height])}var se=(t=>(t.NODE="node",t.SEPARATOR="separator",t.TITLE="title",t.SIMPLE_NODE="simpleNode",t.VIEW_MORE="viewMore",t))(se||{}),Dt=(t=>(t.FIRST_CHILD="first-child",t.LAST_CHILD="last-child",t.LEFT="left",t.RIGHT="right",t))(Dt||{});const di=t=>t?t.nodeType===se.SEPARATOR:!1,fi=t=>t?t.nodeType===se.TITLE:!1,lf=t=>t?t.nodeType===se.VIEW_MORE:!1,Ur=t=>!di(t)&&!fi(t)&&!lf(t),af=(t,e,r)=>{const{t:n}=X.useCunningham(),{remove:i,update:o,insert:l,insertBefore:a,insertAfter:s,append:c,prepend:d,getItem:f,move:p,items:g}=n7({initialItems:JSON.parse(JSON.stringify(t)),getKey:N=>N.id,getChildren:N=>N.children||[]}),[y,h]=u.useState(),v=(N=[])=>{const $=g.map(B=>B.key);i(...$);const A=JSON.parse(JSON.stringify(N));A.length>0&&l(null,0,...A),h(void 0)},m=N=>{const $=f(N);$&&h($.value)},C=(N,$,A)=>{var B,L,j,V;if(N){const W=f(N);if(W){const q=(L=W.children)==null?void 0:L[((B=W.children)==null?void 0:B.length)-1];let Y=A??((j=W.children)==null?void 0:j.length)??0;A===((V=W.children)==null?void 0:V.length)&&q&&q.value.nodeType===se.VIEW_MORE&&(Y=Y-1),l(N,Y,$)}}else l(null,A??g.length,$)},E=N=>{var $;return($=f(N))==null?void 0:$.value},F=(N,$)=>{var W,q;const A=f(N);if(!A){console.error("No item found");return}let B=((W=A.children)==null?void 0:W.map(Y=>Y.value))??null;const L=$.childrenCount??A.value.childrenCount??0;if((B==null?void 0:B.length)===0&&L>0&&(B=null),$.children){const Y=[...B??[],...$.children],ae=new Map;for(const G of Y)ae.set(G.id,G);B=Array.from(ae.values())}B&&(B=B.sort((Y,ae)=>Y.nodeType===se.VIEW_MORE&&ae.nodeType!==se.VIEW_MORE?1:Y.nodeType!==se.VIEW_MORE&&ae.nodeType===se.VIEW_MORE?-1:0));const j=((q=$.pagination)==null?void 0:q.hasMore)??!1;B&&(B=B.filter(Y=>Y.nodeType!==se.VIEW_MORE)),j&&B&&B.push({id:`view-more-${N}`,nodeType:se.VIEW_MORE,label:n("components.treeView.viewMore")});const V={...A.value,...$,children:B,childrenCount:(B==null?void 0:B.length)??L};o(N,V)},D=N=>{i(N)},x=N=>{i(...N)},S=async N=>{if(!e){console.error("No refresh callback provided");return}try{const $=await e(N);F(N,$)}catch($){console.error("error while refreshing node:",$)}},O=(N,$)=>{l(null,$??g.length,N)},K=(N,$)=>{l(null,$??g.length,...N)},H=(N,$)=>{const A=f(N);if(!A){console.error("No item found");return}const B={...A.value,children:$,childrenCount:$.length,hasLoadedChildren:$.length>0};o(N,B)},w=N=>{const $=[],A=f(N);if(!A)return[];$.push(A.value);const B=L=>{const j=M(L);if(!j)return;const V=f(j);V&&($.push(V.value),B(j))};return B(N),$.reverse()},M=N=>{var $;return(($=f(N))==null?void 0:$.parentKey)??null},Z=N=>{const $=M(N);if(!$)return null;const A=f($);return A?A.value:null},_=(N,$)=>{a(N,$)},U=(N,$)=>{s(N,$)},P=(N,$)=>{c(N,$)},k=(N,$)=>{d(N,$)},z=(N,$,A)=>{p(N,$,A)},R=N=>{z(N.sourceId,N.newParentId,N.index)},I=async N=>{var Y;if(!r)return console.error("No load paginated children callback provided"),[];const $=f(N);if(!$){console.error("No parent found");return}const B=(((Y=$==null?void 0:$.value.pagination)==null?void 0:Y.currentPage)??0)+1,L=await r(N,B);if(!L){console.error("No result found");return}const j=L.children,V=L.pagination,W=B,q=(V==null?void 0:V.hasMore)??!1;F(N,{children:j,hasLoadedChildren:!0,pagination:{currentPage:W,hasMore:q}})};return u.useEffect(()=>{const N=$=>{$.forEach(A=>{var B;if(A.children&&A.children.length>0){const L=A.value.hasLoadedChildren||((B=A.children)==null?void 0:B.length)>0||A.value.children&&A.value.children.length>0;A.value.children=A.children.map(V=>V.value);const j=L?A.children.length:A.value.childrenCount??0;A.value.childrenCount=j,L&&!A.value.hasLoadedChildren&&(A.value.hasLoadedChildren=!0),N(A.children)}else{const j=A.value.hasLoadedChildren||A.value.children&&A.value.children.length>0?0:A.value.childrenCount;A.value.children=[],A.value.childrenCount=j}})};N(g)},[g]),{nodes:g,addChild:C,updateNode:F,deleteNode:D,deleteNodes:x,addRootNode:O,addRootNodes:K,selectedNode:y,setSelectedNode:h,refreshNode:S,setChildren:H,insertBeforeNode:_,insertAfterNode:U,handleMove:R,prependToNode:k,moveNode:z,appendToNode:P,move:p,resetTree:v,handleLoadChildren:I,selectNodeById:m,getParent:Z,getNode:E,getParentId:M,getAncestors:w}},xa=u.createContext(null),gm=({children:t,onRefresh:e,initialNodeId:r,onLoadChildren:n,initialTreeData:i})=>{const o=u.useRef(null),[l,a]=u.useState(null),[s,c]=u.useState(r??null),d=af(i??[],e,n);return b.jsx(xa.Provider,{value:{treeApiRef:o,treeData:d,root:l,initialTargetId:s,setInitialTargetId:c,setRoot:a},children:t})},Sa=()=>{const t=u.useContext(xa);if(!t)throw new Error("TreeContext not found");return t},vm=({initialOpenState:t,dndRootElement:e,selectedNodeId:r,rootNodeId:n,renderNode:i,canDrop:o,canDrag:l,afterMove:a,beforeMove:s,paddingTop:c=10,paddingBottom:d=10,rowProps:f})=>{const[p,g]=u.useState(400),{ref:y,width:h}=pm(),v=Sa(),m=(v==null?void 0:v.treeData.nodes)??[];u.useEffect(()=>{const D=document.querySelector(".c__tree-view"),x=D==null?void 0:D.firstElementChild;let S=null;return D&&x&&(S=new ResizeObserver(()=>{if(x&&x instanceof HTMLElement){const O=x.style.height;g(parseInt(O,10)+20)}}),S.observe(x)),()=>S==null?void 0:S.disconnect()},[]);const C=D=>{var $,A,B,L;const x=JSON.parse(JSON.stringify(m)),S=D.dragNodes[0],O=D.parentId?(($=D.parentNode)==null?void 0:$.data.children)??[]:x,K=D.dragNodes[0].data.value.id,H=D.dragNodes[0].data,w=(A=D.parentNode)==null?void 0:A.data;if((w==null?void 0:w.value.nodeType)===se.TITLE||(w==null?void 0:w.value.nodeType)===se.SEPARATOR||(w==null?void 0:w.value.nodeType)===se.VIEW_MORE)return null;const M=H.parentKey??n,Z=D.parentId??n;let _=D.index+0,U=null,P=Z;const k=((L=(B=S.parent)==null?void 0:B.children)==null?void 0:L.findIndex(j=>j.data.value.id===K))??0;if(M===Z){if(k===_)return null;_=_<k?_:_-1}const z=D.index-1,R=O[z],I=D.index,N=O[I];return D.index===0?(P=D.parentId??n,U=Dt.FIRST_CHILD):!w&&D.index===1&&!Ur(R.value)?(P=n,_=1,U=Dt.FIRST_CHILD):D.index===O.length?(P=P??n,U=Dt.LAST_CHILD):R&&Ur(R.value)?(P=R.value.id,U=Dt.RIGHT):N&&Ur(N.value)&&(U=Dt.LEFT,P=N.value.id),U&&P?{targetModeId:P,mode:U,oldParentId:M,index:_,newParentId:D.parentId,sourceId:K}:null},E=D=>{const x=C(D);x&&(s?s(x,()=>{v==null||v.treeData.handleMove(x),a==null||a(x)}):(v==null||v.treeData.handleMove(x),a==null||a(x)))},F=u.useCallback(D=>l?!l(D):!1,[l]);if(v)return b.jsx("div",{ref:y,style:{height:p},className:"c__tree-view--container",children:b.jsx(fm,{dndRootElement:e,data:m,ref:v.treeApiRef,openByDefault:!1,selectionFollowsFocus:!1,disableMultiSelection:!0,disableEdit:!0,className:"c__tree-view",idAccessor:"key",onMove:E,height:p,width:h,paddingTop:c,paddingBottom:d,rowHeight:34,disableDrag:F,disableDrop:({parentNode:D,dragNodes:x,index:S})=>{var M,Z,_;if(o&&!o({parentNode:D,dragNodes:x,index:S}))return D.id!=="__REACT_ARBORIST_INTERNAL_ROOT__"&&(D.data.value.canDrop=!1),!0;const O=x[0];if(O&&O.isDragging&&O.willReceiveDrop||((M=D.data.value)==null?void 0:M.nodeType)===se.TITLE||((Z=D.data.value)==null?void 0:Z.nodeType)===se.SEPARATOR||((_=D.data.value)==null?void 0:_.nodeType)===se.VIEW_MORE)return!0;if(D.id==="__REACT_ARBORIST_INTERNAL_ROOT__"){const U=m[S-1],P=m[S],k=m[S+1],z=di(U==null?void 0:U.value),R=di(P==null?void 0:P.value),I=fi(U==null?void 0:U.value),N=fi(P==null?void 0:P.value),$=Ur(k==null?void 0:k.value);return!!(S===0&&(R||N)||z&&N&&$||I&&R&&$)}const K=D==null?void 0:D.isOpen,H=(D==null?void 0:D.data.value.childrenCount)&&D.data.value.childrenCount>0||(D==null?void 0:D.data.children)&&D.data.children.length>0;if(!H)return D.data.value.canDrop=!0,!1;let w=D.data.value.childrenCount&&D.data.value.childrenCount>0&&(D==null?void 0:D.data.children)&&D.data.children.length>0;return w=w??!0,!K&&!w&&H?(D.data.value.canDrop=!0,!0):(D.data.value.canDrop=!0,!1)},initialOpenState:t,overscanCount:20,selection:r,renderCursor:of,renderRow:D=>b.jsx(bm,{...D,customRowProps:f}),rowClassName:"c__tree-view--row",children:i})})},bm=({children:t,customRowProps:e,...r})=>{const n=r.node.data.value.nodeType===se.TITLE,i=r.node.data.value.nodeType===se.SEPARATOR,o=r.node.data.value.nodeType===se.VIEW_MORE,{onKeyDown:l,onClick:a,...s}=e??{},{style:c}=r.attrs,d={...c},f=p=>{l==null||l(p);const g=p.target;if(g){const y=g.closest(".actions"),v=g.closest('button, a[href], input, textarea, select, [role="menuitem"], [role="button"]');if(y||v)return}if((p.key==="Enter"||p.key===" ")&&p.currentTarget.click(),p.key==="F2"){p.preventDefault();const y=p.currentTarget.querySelector("button");y&&y.focus()}};return n||i||o?u.createElement("div",{...r.attrs,key:r.node.id,style:d,ref:r.innerRef,onFocus:p=>p.stopPropagation(),onClick:p=>{a==null||a(p),r.node.handleClick(p)},onKeyDown:l,...s},t):u.createElement("div",{...r.attrs,style:d,key:r.node.id,ref:r.innerRef,onFocus:p=>p.stopPropagation(),onClick:p=>{a==null||a(p),p.preventDefault(),p.stopPropagation(),r.node.select()},onKeyDown:f,...s},b.jsx("div",{className:"c__tree-view--row-content",children:t}))},mm=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",sf=mm?u.useLayoutEffect:u.useEffect;function cf(t){const e=u.useRef(t);return sf(()=>{e.current=t}),u.useCallback(function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return e.current==null?void 0:e.current(...n)},[])}function u2(t,e){e===void 0&&(e=[t]);const r=u.useRef(t);return sf(()=>{r.current!==t&&(r.current=t)},e),r}function ym(t){const e=cf(t),r=u.useRef(null),n=u.useCallback(i=>{i!==r.current&&(e==null||e(i,r.current)),r.current=i},[]);return[r,n]}let Ko={};function Cm(t,e){return u.useMemo(()=>{const r=Ko[t]==null?0:Ko[t]+1;return Ko[t]=r,t+"-"+r},[t,e])}var Zr;(function(t){t.DragStart="dragStart",t.DragMove="dragMove",t.DragEnd="dragEnd",t.DragCancel="dragCancel",t.DragOver="dragOver",t.RegisterDroppable="registerDroppable",t.SetDroppableDisabled="setDroppableDisabled",t.UnregisterDroppable="unregisterDroppable"})(Zr||(Zr={}));function d2(){}const Em=Object.freeze({x:0,y:0});var cr;(function(t){t[t.Forward=1]="Forward",t[t.Backward=-1]="Backward"})(cr||(cr={}));var f2;(function(t){t.Click="click",t.DragStart="dragstart",t.Keydown="keydown",t.ContextMenu="contextmenu",t.Resize="resize",t.SelectionChange="selectionchange",t.VisibilityChange="visibilitychange"})(f2||(f2={}));var st;(function(t){t.Space="Space",t.Down="ArrowDown",t.Right="ArrowRight",t.Left="ArrowLeft",t.Up="ArrowUp",t.Esc="Escape",t.Enter="Enter",t.Tab="Tab"})(st||(st={}));st.Space,st.Enter,st.Esc,st.Space,st.Enter,st.Tab;var h2;(function(t){t[t.RightClick=2]="RightClick"})(h2||(h2={}));var p2;(function(t){t[t.Pointer=0]="Pointer",t[t.DraggableRect=1]="DraggableRect"})(p2||(p2={}));var g2;(function(t){t[t.TreeOrder=0]="TreeOrder",t[t.ReversedTreeOrder=1]="ReversedTreeOrder"})(g2||(g2={}));cr.Backward+"",cr.Forward+"",cr.Backward+"",cr.Forward+"";var Dl;(function(t){t[t.Always=0]="Always",t[t.BeforeDragging=1]="BeforeDragging",t[t.WhileDragging=2]="WhileDragging"})(Dl||(Dl={}));var xl;(function(t){t.Optimized="optimized"})(xl||(xl={}));function wm(t){let{callback:e,disabled:r}=t;const n=cf(e),i=u.useMemo(()=>{if(r||typeof window>"u"||typeof window.ResizeObserver>"u")return;const{ResizeObserver:o}=window;return new o(n)},[r]);return u.useEffect(()=>()=>i==null?void 0:i.disconnect(),[i]),i}Dl.WhileDragging,xl.Optimized;const Dm={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:d2,draggableNodes:new Map,over:null,measureDroppableContainers:d2},xm=u.createContext(Dm);({...Em});var v2;(function(t){t[t.Uninitialized=0]="Uninitialized",t[t.Initializing=1]="Initializing",t[t.Initialized=2]="Initialized"})(v2||(v2={}));const Sm="Droppable",Fm={timeout:25};function $m(t){let{data:e,disabled:r=!1,id:n,resizeObserverConfig:i}=t;const o=Cm(Sm),{active:l,dispatch:a,over:s,measureDroppableContainers:c}=u.useContext(xm),d=u.useRef({disabled:r}),f=u.useRef(!1),p=u.useRef(null),g=u.useRef(null),{disabled:y,updateMeasurementsFor:h,timeout:v}={...Fm,...i},m=u2(h??n),C=u.useCallback(()=>{if(!f.current){f.current=!0;return}g.current!=null&&clearTimeout(g.current),g.current=setTimeout(()=>{c(Array.isArray(m.current)?m.current:[m.current]),g.current=null},v)},[v]),E=wm({callback:C,disabled:y||!l}),F=u.useCallback((O,K)=>{E&&(K&&(E.unobserve(K),f.current=!1),O&&E.observe(O))},[E]),[D,x]=ym(F),S=u2(e);return u.useEffect(()=>{!E||!D.current||(E.disconnect(),f.current=!1,E.observe(D.current))},[D,E]),u.useEffect(()=>(a({type:Zr.RegisterDroppable,element:{id:n,key:o,disabled:r,node:D,rect:p,data:S}}),()=>a({type:Zr.UnregisterDroppable,key:o,id:n})),[n]),u.useEffect(()=>{r!==d.current.disabled&&(a({type:Zr.SetDroppableDisabled,id:n,key:o,disabled:r}),d.current.disabled=r)},[n,o,r,a]),{active:l,rect:p,isOver:(s==null?void 0:s.id)===n,node:D,over:s,setNodeRef:x}}const Pm=t=>{const{isOver:e,setNodeRef:r}=$m({id:t.id,data:t.data});return u.useEffect(()=>{var n;(n=t.onOver)==null||n.call(t,e,t.data)},[e,t.data,t.onOver]),b.jsx("div",{className:"c__dnd--droppable",ref:r,children:t.children})},Am=({children:t,itemProps:e,testId:r,onClick:n,onKeyDown:i,node:o,dragHandle:l,style:a,forceLoading:s})=>{var O,K;const{t:c}=X.useCunningham(),d=Sa(),f=u.useRef(null),[p,g]=u.useState(!1),[y,h]=u.useState(!1),[v,m]=u.useState(!1),C=s??p,E=o.willReceiveDrop||v,F=o.data.value.childrenCount!==void 0&&o.data.value.childrenCount>0||(((O=o.data.children)==null?void 0:O.length)??0)>0,D=((K=o.children)==null?void 0:K.length)??!1,x=o.isLeaf||!F,S=u.useCallback(H=>{H.stopPropagation(),o.data.value.nodeType===se.VIEW_MORE&&(h(!0),d==null||d.treeData.handleLoadChildren(o.data.parentKey).then(()=>h(!1)).catch(()=>h(!1)))},[o.data.value.nodeType,o.data.parentKey,d==null?void 0:d.treeData]);return u.useEffect(()=>{x||D||o.data.value.hasLoadedChildren||o.isOpen&&(g(!0),d==null||d.treeData.handleLoadChildren(o.data.value.id).then(()=>g(!1)))},[o.isOpen,x,D,o.data.value.hasLoadedChildren,o.data.value.id,d==null?void 0:d.treeData]),u.useEffect(()=>(E&&!o.isOpen&&!o.isDragging&&(f.current=setTimeout(()=>{o.open()},500)),()=>{f.current&&clearTimeout(f.current)}),[E,o.isOpen,o.isDragging,o]),o.data.value.nodeType===se.SEPARATOR?b.jsx("div",{className:"c__tree-view--node__separator","data-testid":r}):o.data.value.nodeType===se.TITLE?b.jsx("div",{className:"c__tree-view--node__title","data-testid":r,children:o.data.value.headerTitle}):o.data.value.nodeType===se.VIEW_MORE?b.jsx("div",{className:"c__tree-view--row-content","data-testid":r,children:b.jsx("div",{className:"c__tree-view--node",style:a,children:b.jsxs("div",{role:"button",className:"c__tree-view--node__view-more-button",style:{paddingLeft:0,marginLeft:20},onClick:S,children:[y?b.jsx("div",{className:"c__tree-view--node__loading",children:b.jsx(li,{})}):b.jsx("span",{className:"material-icons c__tree-view--node__view-more-button__icon",children:"arrow_downward"}),b.jsxs("span",{className:"c__tree-view--node__view-more-text",children:[o.data.value.nodeType===se.VIEW_MORE,c("components.treeView.viewMore")]})]})})}):b.jsx(Pm,{id:o.id,data:{data:o.data,nodeApi:o},onOver:m,children:b.jsxs("div",{onClick:H=>{if(!H.target.closest(".c__tree-view--node")){H.stopPropagation();return}n==null||n()},onKeyDown:H=>{i==null||i(H),H.target.closest(".c__tree-view--node")||H.stopPropagation()},ref:l,style:a,className:ye("c__tree-view--node",{...o.state,simpleNode:o.data.value.nodeType===se.SIMPLE_NODE,canDrop:o.data.value.canDrop??!0,externalDrop:v}),"data-testid":r,...e,children:[x&&b.jsx("div",{className:"c__tree-view--node__leaf"}),!x&&b.jsxs(b.Fragment,{children:[C&&b.jsx("div",{className:"c__tree-view--node__loading",children:b.jsx(li,{})}),!C&&b.jsx("span",{onClick:H=>{H.stopPropagation(),o.toggle()},className:"c__tree-view--node__arrow material-icons",children:o.isOpen?"keyboard_arrow_down":"keyboard_arrow_right"})]}),t]})})},Tm=({children:t,uppercased:e=!1,type:r="accent",className:n,...i})=>b.jsx("div",{className:ye(n,"c__badge",{"c__badge--uppercased":e,[`c__badge--${r}`]:r}),...i,children:t});function _m(t){u.useEffect(()=>{if(!t)return;let e=!1;const r=()=>Array.from(t.querySelectorAll("button")).filter(l=>!l.disabled&&l.getAttribute("aria-disabled")!=="true"),n=l=>{const a=l.key==="ArrowLeft"||l.key==="ArrowRight",s=l.key===" ";if(!(l.target instanceof HTMLElement))return;if(s){const h=l.target.closest("button");h instanceof HTMLButtonElement&&t.contains(h)&&h.click();return}if(!a)return;const d=l.target.closest("button");if(!(d instanceof HTMLButtonElement&&t.contains(d)))return;const p=r(),g=p.indexOf(d);if(g<0)return;l.preventDefault(),l.stopPropagation();const y=l.key==="ArrowRight"?(g+1)%p.length:(g-1+p.length)%p.length;p[y].focus(),e=!0},i=l=>{e&&((l.key===" "||l.key==="Enter")&&(l.preventDefault(),l.stopPropagation()),e=!1)},o={capture:!0};return t.addEventListener("keydown",n,o),t.addEventListener("keyup",i,o),()=>{t.removeEventListener("keydown",n,o),t.removeEventListener("keyup",i,o)}},[t])}const Ui=({roles:t,onSelect:e,canUpdate:r=!0,selectedRole:n,isOpen:i,onOpenChange:o,roleTopMessage:l})=>{const a=t.find(s=>s.value===n);return r?b.jsx(kt,{isOpen:i,shouldCloseOnInteractOutside:s=>!s.closest(".c__access-role-dropdown"),onOpenChange:o,options:t,selectedValues:[n],onSelectValue:e,topMessage:l,children:b.jsxs("div",{role:"button",className:"c__access-role-dropdown","data-testid":"access-role-dropdown-button",onClick:()=>{o==null||o(!i)},children:[b.jsx("span",{className:"c__access-role-dropdown__role-label",children:a==null?void 0:a.label}),b.jsx("span",{className:"material-icons c__access-role-dropdown__icon",children:i?"arrow_drop_up":"arrow_drop_down"})]})}):b.jsx("span",{className:"c__access-role-dropdown__role-label-can-not-update",children:a==null?void 0:a.label})},uf=({users:t,onRemoveUser:e,rightActions:r,onShare:n,shareButtonLabel:i,roles:o,selectedRole:l,onSelectRole:a})=>{const{t:s}=X.useCunningham(),[c,d]=u.useState(!1);return b.jsxs("div",{className:"c__add-share-user-list","data-testid":"selected-users-list",children:[b.jsx("div",{className:"c__add-share-user-list__items",children:t.map(f=>b.jsx(df,{user:f,onRemoveUser:e},f.id))}),b.jsxs("div",{className:"c__add-share-user-list__right-actions",children:[r,b.jsx(Ui,{roles:o,selectedRole:l,onSelect:a,isOpen:c,onOpenChange:d}),b.jsx(X.Button,{onClick:n,children:i??s("components.share.shareButton")})]})]})},df=({user:t,onRemoveUser:e})=>b.jsxs("div",{className:"c__add-share-user-item","data-testid":"selected-user-item",children:[b.jsx("span",{children:t.full_name||t.email}),b.jsx(X.Button,{variant:"tertiary",color:"neutral",size:"nano",onClick:()=>e==null?void 0:e(t),icon:b.jsx("span",{className:"material-icons",children:"close"})})]}),Sl=["gray","brand","red","orange","brown","green","blue-1","blue-2","pink","yellow","purple"],ff=t=>t.split(/[\s-_]+/).slice(0,2).map(e=>e[0]).join("").toUpperCase(),Fa=t=>{let e=0;for(let r=0;r<t.length;r++)e+=t.charCodeAt(r);return Sl[e%Sl.length]},Wi=({fullName:t,size:e="medium",forceColor:r,backgroundColor:n})=>{const i=ff(t),o=n||Fa(t);return b.jsx("div",{style:{backgroundColor:r||void 0},className:ye(`c__avatar ${e}`,{[o]:!r&&o}),children:b.jsx("div",{className:"c__avatar__initials",children:i})})},Zi=({fullName:t,email:e,showEmail:r=!0})=>{const n=t&&t!==""?t:e??"";return b.jsxs("div",{className:"c__user-row",children:[b.jsx(Wi,{fullName:n,size:"small"}),b.jsxs("div",{className:"c__user-row__info",children:[b.jsx("span",{className:"c__user-row__name",children:t}),r&&e&&b.jsx("span",{className:ye("c__user-row__email",{"has-only-email":e&&(t===""||!t)}),children:e})]})]})},Fl=({user:t})=>{const{t:e}=X.useCunningham();return b.jsx(Li,{testId:"search-user-item",left:b.jsx(Zi,{fullName:t.full_name,email:t.email}),alwaysShowRight:!1,right:b.jsxs("div",{className:"c__search-user-item-right",children:[b.jsx("span",{children:e("components.share.item.add")}),b.jsx("span",{className:"material-icons",children:"add"})]})})},hf=({accessData:t,accessRoleKey:e="role",roles:r,updateRole:n,deleteAccess:i,canUpdate:o=!0,roleTopMessage:l})=>{const{t:a}=X.useCunningham(),s=bt(),c=bt(),d=u.useMemo(()=>{const p=[];return i&&p.push({label:a("components.share.access.delete"),icon:b.jsx("span",{className:"material-icons",children:"back_hand"}),isDisabled:!o,callback:()=>i(t)}),p},[i,t,o,a]),f=()=>{const p=c.isOpen;c.setIsOpen(!p)};return b.jsx("div",{className:"c__share-member-item",children:b.jsx(Li,{testId:"share-member-item",left:b.jsx(Zi,{fullName:t.user.full_name,email:t.user.email,showEmail:!0}),alwaysShowRight:!0,right:b.jsxs("div",{className:"c__share-member-item__right",children:[b.jsx(Ui,{roles:r,selectedRole:t[e],onSelect:p=>n==null?void 0:n(t,p),isOpen:s.isOpen,onOpenChange:s.setIsOpen,canUpdate:o,roleTopMessage:l}),d.length>0&&o&&b.jsx(kt,{options:d,isOpen:c.isOpen,onOpenChange:c.setIsOpen,children:b.jsx(X.Button,{color:"neutral",variant:"tertiary",onClick:f,"data-testid":"share-member-item-more-actions-button",size:"small",icon:b.jsx("span",{className:"material-icons toto",children:"more_horiz"})})})]})})})},pf=({invitation:t,roles:e,updateRole:r,deleteInvitation:n,canUpdate:i=!0,showMoreActionsButton:o=!0,roleTopMessage:l})=>{const{t:a}=X.useCunningham(),s=bt(),c=bt(),d=[{label:a("components.share.access.delete"),callback:()=>n==null?void 0:n(t),isDisabled:!i,icon:b.jsx("span",{className:"material-icons",children:"back_hand"})}],f=()=>{const p=c.isOpen;c.setIsOpen(!p)};return b.jsx("div",{className:"c__share-member-item",children:b.jsx(Li,{testId:"share-invitation-item",left:b.jsx(Zi,{fullName:"",email:t.email,showEmail:!0}),alwaysShowRight:!0,right:b.jsxs("div",{className:"c__share-member-item__right",children:[b.jsx(Ui,{roles:e,selectedRole:t.role,onSelect:p=>r==null?void 0:r(t,p),isOpen:s.isOpen,canUpdate:i,onOpenChange:s.setIsOpen,roleTopMessage:l}),o&&i&&b.jsx(kt,{options:d,isOpen:c.isOpen,onOpenChange:c.setIsOpen,children:b.jsx(X.Button,{color:"neutral",variant:"tertiary",onClick:f,size:"small",icon:b.jsx("span",{className:"material-icons toto",children:"more_horiz"})})})]})})})},km="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12%2022C10.6167%2022%209.31667%2021.7375%208.1%2021.2125C6.88333%2020.6875%205.825%2019.975%204.925%2019.075C4.025%2018.175%203.3125%2017.1167%202.7875%2015.9C2.2625%2014.6833%202%2013.3833%202%2012C2%2010.6167%202.2625%209.31667%202.7875%208.1C3.3125%206.88333%204.025%205.825%204.925%204.925C5.825%204.025%206.88333%203.3125%208.1%202.7875C9.31667%202.2625%2010.6167%202%2012%202C13.3833%202%2014.6833%202.2625%2015.9%202.7875C17.1167%203.3125%2018.175%204.025%2019.075%204.925C19.975%205.825%2020.6875%206.88333%2021.2125%208.1C21.7375%209.31667%2022%2010.6167%2022%2012C22%2013.3833%2021.7375%2014.6833%2021.2125%2015.9C20.6875%2017.1167%2019.975%2018.175%2019.075%2019.075C18.175%2019.975%2017.1167%2020.6875%2015.9%2021.2125C14.6833%2021.7375%2013.3833%2022%2012%2022ZM11%2019.95V18C10.45%2018%209.97917%2017.8042%209.5875%2017.4125C9.19583%2017.0208%209%2016.55%209%2016V15L4.2%2010.2C4.15%2010.5%204.10417%2010.8%204.0625%2011.1C4.02083%2011.4%204%2011.7%204%2012C4%2014.0167%204.6625%2015.7833%205.9875%2017.3C7.3125%2018.8167%208.98333%2019.7%2011%2019.95ZM17.9%2017.4C18.2333%2017.0333%2018.5333%2016.6375%2018.8%2016.2125C19.0667%2015.7875%2019.2875%2015.3458%2019.4625%2014.8875C19.6375%2014.4292%2019.7708%2013.9583%2019.8625%2013.475C19.9542%2012.9917%2020%2012.5%2020%2012C20%2010.3667%2019.5458%208.875%2018.6375%207.525C17.7292%206.175%2016.5167%205.2%2015%204.6V5C15%205.55%2014.8042%206.02083%2014.4125%206.4125C14.0208%206.80417%2013.55%207%2013%207H11V9C11%209.28333%2010.9042%209.52083%2010.7125%209.7125C10.5208%209.90417%2010.2833%2010%2010%2010H8V12H14C14.2833%2012%2014.5208%2012.0958%2014.7125%2012.2875C14.9042%2012.4792%2015%2012.7167%2015%2013V16H16C16.4333%2016%2016.825%2016.1292%2017.175%2016.3875C17.525%2016.6458%2017.7667%2016.9833%2017.9%2017.4Z'%20fill='%23222631'/%3e%3c/svg%3e",Im="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M18%2018C18.4167%2018%2018.7708%2017.8542%2019.0625%2017.5625C19.3542%2017.2708%2019.5%2016.9167%2019.5%2016.5C19.5%2016.0833%2019.3542%2015.7292%2019.0625%2015.4375C18.7708%2015.1458%2018.4167%2015%2018%2015C17.5833%2015%2017.2292%2015.1458%2016.9375%2015.4375C16.6458%2015.7292%2016.5%2016.0833%2016.5%2016.5C16.5%2016.9167%2016.6458%2017.2708%2016.9375%2017.5625C17.2292%2017.8542%2017.5833%2018%2018%2018ZM18%2021C18.5%2021%2018.9667%2020.8833%2019.4%2020.65C19.8333%2020.4167%2020.1917%2020.0917%2020.475%2019.675C20.0917%2019.4417%2019.6917%2019.2708%2019.275%2019.1625C18.8583%2019.0542%2018.4333%2019%2018%2019C17.5667%2019%2017.1417%2019.0542%2016.725%2019.1625C16.3083%2019.2708%2015.9083%2019.4417%2015.525%2019.675C15.8083%2020.0917%2016.1667%2020.4167%2016.6%2020.65C17.0333%2020.8833%2017.5%2021%2018%2021ZM9%208H15V6C15%205.16667%2014.7083%204.45833%2014.125%203.875C13.5417%203.29167%2012.8333%203%2012%203C11.1667%203%2010.4583%203.29167%209.875%203.875C9.29167%204.45833%209%205.16667%209%206V8ZM12.25%2022H6C5.45%2022%204.97917%2021.8042%204.5875%2021.4125C4.19583%2021.0208%204%2020.55%204%2020V10C4%209.45%204.19583%208.97917%204.5875%208.5875C4.97917%208.19583%205.45%208%206%208H7V6C7%204.61667%207.4875%203.4375%208.4625%202.4625C9.4375%201.4875%2010.6167%201%2012%201C13.3833%201%2014.5625%201.4875%2015.5375%202.4625C16.5125%203.4375%2017%204.61667%2017%206V8H18C18.55%208%2019.0208%208.19583%2019.4125%208.5875C19.8042%208.97917%2020%209.45%2020%2010V11.3C19.7%2011.2%2019.3875%2011.125%2019.0625%2011.075C18.7375%2011.025%2018.3833%2011%2018%2011V10H6V20H11.3C11.4333%2020.4%2011.5667%2020.7458%2011.7%2021.0375C11.8333%2021.3292%2012.0167%2021.65%2012.25%2022ZM18%2023C16.6167%2023%2015.4375%2022.5125%2014.4625%2021.5375C13.4875%2020.5625%2013%2019.3833%2013%2018C13%2016.6167%2013.4875%2015.4375%2014.4625%2014.4625C15.4375%2013.4875%2016.6167%2013%2018%2013C19.3833%2013%2020.5625%2013.4875%2021.5375%2014.4625C22.5125%2015.4375%2023%2016.6167%2023%2018C23%2019.3833%2022.5125%2020.5625%2021.5375%2021.5375C20.5625%2022.5125%2019.3833%2023%2018%2023Z'%20fill='%23222631'/%3e%3c/svg%3e",Om="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12%2022C10.6333%2022%209.34167%2021.7375%208.125%2021.2125C6.90833%2020.6875%205.84583%2019.9708%204.9375%2019.0625C4.02917%2018.1542%203.3125%2017.0917%202.7875%2015.875C2.2625%2014.6583%202%2013.3667%202%2012C2%2010.6167%202.2625%209.32083%202.7875%208.1125C3.3125%206.90417%204.02917%205.84583%204.9375%204.9375C5.84583%204.02917%206.90833%203.3125%208.125%202.7875C9.34167%202.2625%2010.6333%202%2012%202C12.5333%202%2013.0458%202.0375%2013.5375%202.1125C14.0292%202.1875%2014.5167%202.3%2015%202.45V5C15%205.55%2014.8042%206.02083%2014.4125%206.4125C14.0208%206.80417%2013.55%207%2013%207H11V9C11%209.28333%2010.9042%209.52083%2010.7125%209.7125C10.5208%209.90417%2010.2833%2010%2010%2010H8V12H14C14.2833%2012%2014.5208%2012.0958%2014.7125%2012.2875C14.9042%2012.4792%2015%2012.7167%2015%2013V16H16C16.45%2016%2016.8458%2016.1333%2017.1875%2016.4C17.5292%2016.6667%2017.7667%2017%2017.9%2017.4C18.55%2016.6667%2019.0625%2015.8458%2019.4375%2014.9375C19.8125%2014.0292%2020%2013.05%2020%2012C20%2011.8167%2019.9917%2011.65%2019.975%2011.5C19.9583%2011.35%2019.9333%2011.1833%2019.9%2011H21.95C21.9833%2011.1833%2022%2011.35%2022%2011.5V12C22%2013.3667%2021.7375%2014.6583%2021.2125%2015.875C20.6875%2017.0917%2019.9708%2018.1542%2019.0625%2019.0625C18.1542%2019.9708%2017.0958%2020.6875%2015.8875%2021.2125C14.6792%2021.7375%2013.3833%2022%2012%2022ZM11%2019.95V18C10.45%2018%209.97917%2017.8042%209.5875%2017.4125C9.19583%2017.0208%209%2016.55%209%2016V15L4.2%2010.2C4.15%2010.5%204.10417%2010.8%204.0625%2011.1C4.02083%2011.4%204%2011.7%204%2012C4%2014.0667%204.67083%2015.8458%206.0125%2017.3375C7.35417%2018.8292%209.01667%2019.7%2011%2019.95ZM18%209C17.7167%209%2017.4792%208.90417%2017.2875%208.7125C17.0958%208.52083%2017%208.28333%2017%208V5C17%204.71667%2017.0958%204.47917%2017.2875%204.2875C17.4792%204.09583%2017.7167%204%2018%204V3C18%202.45%2018.1958%201.97917%2018.5875%201.5875C18.9792%201.19583%2019.45%201%2020%201C20.55%201%2021.0208%201.19583%2021.4125%201.5875C21.8042%201.97917%2022%202.45%2022%203V4C22.2833%204%2022.5208%204.09583%2022.7125%204.2875C22.9042%204.47917%2023%204.71667%2023%205V8C23%208.28333%2022.9042%208.52083%2022.7125%208.7125C22.5208%208.90417%2022.2833%209%2022%209H18ZM19%204H21V3C21%202.71667%2020.9042%202.47917%2020.7125%202.2875C20.5208%202.09583%2020.2833%202%2020%202C19.7167%202%2019.4792%202.09583%2019.2875%202.2875C19.0958%202.47917%2019%202.71667%2019%203V4Z'%20fill='%23222631'/%3e%3c/svg%3e",Mm="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12%2022C10.6167%2022%209.31667%2021.7375%208.1%2021.2125C6.88333%2020.6875%205.825%2019.975%204.925%2019.075C4.025%2018.175%203.3125%2017.1167%202.7875%2015.9C2.2625%2014.6833%202%2013.3833%202%2012C2%2010.6167%202.2625%209.31667%202.7875%208.1C3.3125%206.88333%204.025%205.825%204.925%204.925C5.825%204.025%206.88333%203.3125%208.1%202.7875C9.31667%202.2625%2010.6167%202%2012%202C13.3833%202%2014.6833%202.2625%2015.9%202.7875C17.1167%203.3125%2018.175%204.025%2019.075%204.925C19.975%205.825%2020.6875%206.88333%2021.2125%208.1C21.7375%209.31667%2022%2010.6167%2022%2012C22%2013.3833%2021.7375%2014.6833%2021.2125%2015.9C20.6875%2017.1167%2019.975%2018.175%2019.075%2019.075C18.175%2019.975%2017.1167%2020.6875%2015.9%2021.2125C14.6833%2021.7375%2013.3833%2022%2012%2022ZM11%2019.95V18C10.45%2018%209.97917%2017.8042%209.5875%2017.4125C9.19583%2017.0208%209%2016.55%209%2016V15L4.2%2010.2C4.15%2010.5%204.10417%2010.8%204.0625%2011.1C4.02083%2011.4%204%2011.7%204%2012C4%2014.0167%204.6625%2015.7833%205.9875%2017.3C7.3125%2018.8167%208.98333%2019.7%2011%2019.95ZM17.9%2017.4C18.2333%2017.0333%2018.5333%2016.6375%2018.8%2016.2125C19.0667%2015.7875%2019.2875%2015.3458%2019.4625%2014.8875C19.6375%2014.4292%2019.7708%2013.9583%2019.8625%2013.475C19.9542%2012.9917%2020%2012.5%2020%2012C20%2010.3667%2019.5458%208.875%2018.6375%207.525C17.7292%206.175%2016.5167%205.2%2015%204.6V5C15%205.55%2014.8042%206.02083%2014.4125%206.4125C14.0208%206.80417%2013.55%207%2013%207H11V9C11%209.28333%2010.9042%209.52083%2010.7125%209.7125C10.5208%209.90417%2010.2833%2010%2010%2010H8V12H14C14.2833%2012%2014.5208%2012.0958%2014.7125%2012.2875C14.9042%2012.4792%2015%2012.7167%2015%2013V16H16C16.4333%2016%2016.825%2016.1292%2017.175%2016.3875C17.525%2016.6458%2017.7667%2016.9833%2017.9%2017.4Z'%20fill='%233E5DE7'/%3e%3c/svg%3e",Nm="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M18%2018C18.4167%2018%2018.7708%2017.8542%2019.0625%2017.5625C19.3542%2017.2708%2019.5%2016.9167%2019.5%2016.5C19.5%2016.0833%2019.3542%2015.7292%2019.0625%2015.4375C18.7708%2015.1458%2018.4167%2015%2018%2015C17.5833%2015%2017.2292%2015.1458%2016.9375%2015.4375C16.6458%2015.7292%2016.5%2016.0833%2016.5%2016.5C16.5%2016.9167%2016.6458%2017.2708%2016.9375%2017.5625C17.2292%2017.8542%2017.5833%2018%2018%2018ZM18%2021C18.5%2021%2018.9667%2020.8833%2019.4%2020.65C19.8333%2020.4167%2020.1917%2020.0917%2020.475%2019.675C20.0917%2019.4417%2019.6917%2019.2708%2019.275%2019.1625C18.8583%2019.0542%2018.4333%2019%2018%2019C17.5667%2019%2017.1417%2019.0542%2016.725%2019.1625C16.3083%2019.2708%2015.9083%2019.4417%2015.525%2019.675C15.8083%2020.0917%2016.1667%2020.4167%2016.6%2020.65C17.0333%2020.8833%2017.5%2021%2018%2021ZM9%208H15V6C15%205.16667%2014.7083%204.45833%2014.125%203.875C13.5417%203.29167%2012.8333%203%2012%203C11.1667%203%2010.4583%203.29167%209.875%203.875C9.29167%204.45833%209%205.16667%209%206V8ZM12.25%2022H6C5.45%2022%204.97917%2021.8042%204.5875%2021.4125C4.19583%2021.0208%204%2020.55%204%2020V10C4%209.45%204.19583%208.97917%204.5875%208.5875C4.97917%208.19583%205.45%208%206%208H7V6C7%204.61667%207.4875%203.4375%208.4625%202.4625C9.4375%201.4875%2010.6167%201%2012%201C13.3833%201%2014.5625%201.4875%2015.5375%202.4625C16.5125%203.4375%2017%204.61667%2017%206V8H18C18.55%208%2019.0208%208.19583%2019.4125%208.5875C19.8042%208.97917%2020%209.45%2020%2010V11.3C19.7%2011.2%2019.3875%2011.125%2019.0625%2011.075C18.7375%2011.025%2018.3833%2011%2018%2011V10H6V20H11.3C11.4333%2020.4%2011.5667%2020.7458%2011.7%2021.0375C11.8333%2021.3292%2012.0167%2021.65%2012.25%2022ZM18%2023C16.6167%2023%2015.4375%2022.5125%2014.4625%2021.5375C13.4875%2020.5625%2013%2019.3833%2013%2018C13%2016.6167%2013.4875%2015.4375%2014.4625%2014.4625C15.4375%2013.4875%2016.6167%2013%2018%2013C19.3833%2013%2020.5625%2013.4875%2021.5375%2014.4625C22.5125%2015.4375%2023%2016.6167%2023%2018C23%2019.3833%2022.5125%2020.5625%2021.5375%2021.5375C20.5625%2022.5125%2019.3833%2023%2018%2023Z'%20fill='%23304DDF'/%3e%3c/svg%3e",Bm="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12%2022C10.6333%2022%209.34167%2021.7375%208.125%2021.2125C6.90833%2020.6875%205.84583%2019.9708%204.9375%2019.0625C4.02917%2018.1542%203.3125%2017.0917%202.7875%2015.875C2.2625%2014.6583%202%2013.3667%202%2012C2%2010.6167%202.2625%209.32083%202.7875%208.1125C3.3125%206.90417%204.02917%205.84583%204.9375%204.9375C5.84583%204.02917%206.90833%203.3125%208.125%202.7875C9.34167%202.2625%2010.6333%202%2012%202C12.5333%202%2013.0458%202.0375%2013.5375%202.1125C14.0292%202.1875%2014.5167%202.3%2015%202.45V5C15%205.55%2014.8042%206.02083%2014.4125%206.4125C14.0208%206.80417%2013.55%207%2013%207H11V9C11%209.28333%2010.9042%209.52083%2010.7125%209.7125C10.5208%209.90417%2010.2833%2010%2010%2010H8V12H14C14.2833%2012%2014.5208%2012.0958%2014.7125%2012.2875C14.9042%2012.4792%2015%2012.7167%2015%2013V16H16C16.45%2016%2016.8458%2016.1333%2017.1875%2016.4C17.5292%2016.6667%2017.7667%2017%2017.9%2017.4C18.55%2016.6667%2019.0625%2015.8458%2019.4375%2014.9375C19.8125%2014.0292%2020%2013.05%2020%2012C20%2011.8167%2019.9917%2011.65%2019.975%2011.5C19.9583%2011.35%2019.9333%2011.1833%2019.9%2011H21.95C21.9833%2011.1833%2022%2011.35%2022%2011.5V12C22%2013.3667%2021.7375%2014.6583%2021.2125%2015.875C20.6875%2017.0917%2019.9708%2018.1542%2019.0625%2019.0625C18.1542%2019.9708%2017.0958%2020.6875%2015.8875%2021.2125C14.6792%2021.7375%2013.3833%2022%2012%2022ZM11%2019.95V18C10.45%2018%209.97917%2017.8042%209.5875%2017.4125C9.19583%2017.0208%209%2016.55%209%2016V15L4.2%2010.2C4.15%2010.5%204.10417%2010.8%204.0625%2011.1C4.02083%2011.4%204%2011.7%204%2012C4%2014.0667%204.67083%2015.8458%206.0125%2017.3375C7.35417%2018.8292%209.01667%2019.7%2011%2019.95ZM18%209C17.7167%209%2017.4792%208.90417%2017.2875%208.7125C17.0958%208.52083%2017%208.28333%2017%208V5C17%204.71667%2017.0958%204.47917%2017.2875%204.2875C17.4792%204.09583%2017.7167%204%2018%204V3C18%202.45%2018.1958%201.97917%2018.5875%201.5875C18.9792%201.19583%2019.45%201%2020%201C20.55%201%2021.0208%201.19583%2021.4125%201.5875C21.8042%201.97917%2022%202.45%2022%203V4C22.2833%204%2022.5208%204.09583%2022.7125%204.2875C22.9042%204.47917%2023%204.71667%2023%205V8C23%208.28333%2022.9042%208.52083%2022.7125%208.7125C22.5208%208.90417%2022.2833%209%2022%209H18ZM19%204H21V3C21%202.71667%2020.9042%202.47917%2020.7125%202.2875C20.5208%202.09583%2020.2833%202%2020%202C19.7167%202%2019.4792%202.09583%2019.2875%202.2875C19.0958%202.47917%2019%202.71667%2019%203V4Z'%20fill='%233E5DE7'/%3e%3c/svg%3e",gf=t=>{const{t:e}=X.useCunningham();return{t:r=>(t==null?void 0:t[r])??e(r)}},In=(t,e=!1)=>{switch(t){case"public":return b.jsx("img",{src:e?Mm:km,alt:""});case"restricted":return b.jsx("img",{src:e?Nm:Im,alt:""});case"authenticated":return b.jsx("img",{src:e?Bm:Om,alt:""});default:return null}},Rm=({linkReachChoices:t=[],canUpdate:e,linkReach:r="public",onUpdateLinkReach:n,showLinkRole:i=!1,linkRoleChoices:o=[],linkRole:l="reader",onUpdateLinkRole:a,customTranslations:s,topLinkReachMessage:c,topLinkRoleMessage:d})=>{const f=bt(),p=bt(),[g,y]=u.useState([r]),h=g[0],[v,m]=u.useState([l]),C=v[0],{t:E}=gf(s),F=u.useMemo(()=>t.map(w=>({icon:w.icon??In(w.value),value:w.value,label:E("components.share.linkSettings.reach.choices."+w.value+".title"),...w})),[t]),D=u.useMemo(()=>F.find(w=>w.value===h),[F,h]),x=u.useMemo(()=>o.map(w=>({value:w.value,label:E("components.share.linkSettings.role.choices."+w.value+".title"),...w})),[o]),S=u.useMemo(()=>x.find(w=>w.value===C),[x,C]),O=i&&o.length>0,K=()=>b.jsx("div",{className:"c__share-modal__link-settings__content__select",children:e?b.jsx(kt,{onSelectValue:w=>{y([w]),n==null||n(w)},options:F,isOpen:f.isOpen,topMessage:c,onOpenChange:f.setIsOpen,selectedValues:g,children:b.jsxs(X.Button,{variant:"tertiary",icon:In(h,!0),iconPosition:"left","data-testid":"share-link-reach-dropdown-button",onClick:()=>{e&&f.setIsOpen(!f.isOpen)},children:[D==null?void 0:D.label,b.jsx("span",{className:"material-icons",children:f.isOpen?"arrow_drop_up":"arrow_drop_down"})]})}):b.jsxs("span",{className:"c__share-modal__link-settings__content__select__value",children:[In(h),D==null?void 0:D.label]})}),H=()=>O?b.jsx("div",{className:"c__share-modal__link-settings__content__select-role",children:e?b.jsx(kt,{onSelectValue:w=>{m([w]),a==null||a(w)},options:x,isOpen:p.isOpen,onOpenChange:p.setIsOpen,selectedValues:v,topMessage:d,children:b.jsx(X.Button,{variant:"tertiary","data-testid":"share-link-role-dropdown-button",icon:b.jsx("span",{className:"material-icons",children:p.isOpen?"arrow_drop_up":"arrow_drop_down"}),iconPosition:"right",onClick:()=>{e&&p.setIsOpen(!p.isOpen)},size:"small",children:S==null?void 0:S.label})}):b.jsxs("span",{className:"c__share-modal__link-settings__content__select-role__value",children:[In(C,!0),S==null?void 0:S.label]})}):null;return b.jsxs("div",{className:"c__share-modal__link-settings","data-testid":"share-link-settings",children:[b.jsx("span",{className:"c__share-modal__link-settings__title",children:E("components.share.linkSettings.title")}),b.jsxs("div",{className:"c__share-modal__link-settings__content",children:[K(),b.jsx("div",{className:"c__share-modal__link-settings__content__description desktop",children:E(`components.share.linkSettings.reach.choices.${h}.description`)}),H()]}),b.jsx("div",{className:"c__share-modal__link-settings__content__description mobile",children:E(`components.share.linkSettings.reach.choices.${h}.description`)})]})},Lm=({searchUsersResult:t,children:e,outsideSearchContent:r,accesses:n=[],invitations:i=[],hasNextMembers:o=!1,canUpdate:l=!0,canView:a=!0,hasNextInvitations:s=!1,hideInvitations:c=!1,hideMembers:d=!1,cannotViewChildren:f,customTranslations:p,...g})=>{var B,L;if(!(c&&d)){if(!g.invitationRoles)throw new Error("invitationRoles is required");if(!g.onSearchUsers)throw new Error("onSearchUsers is required")}if(!c&&!g.onInviteUser)throw new Error("onInviteUser is required");if(l&&!a)throw new Error("canView cannot be false if canUpdate is true");const{t:y}=X.useCunningham(),{isMobile:h}=mt(),v=u.useRef(null),[m,C]=u.useState("400px"),E=u.useRef(null),[F,D]=u.useState(""),[x,S]=u.useState(""),[O,K]=u.useState([]),[H,w]=u.useState(((L=(B=g.invitationRoles)==null?void 0:B[0])==null?void 0:L.value)??""),M=h?"calc(100dvh - 32px)":"min(690px, calc(100dvh - 2em - 12px - 32px))",Z=j=>{if(v.current&&clearTimeout(v.current),j===""){S(""),g.onSearchUsers("");return}v.current=setTimeout(()=>{g.onSearchUsers(j),S(j)},300)},_=j=>{D(j),Z(j)},U=x!==""||O.length>0,P=u.useCallback(j=>{K(V=>[...V,j]),D(""),S(""),g.onSearchUsers("")},[g]),k=j=>{K(V=>V.filter(W=>W.id!==j.id))},z=u.useMemo(()=>{const j=t==null?void 0:t.filter(G=>!O.includes(G));let V=y(x!==""?"components.share.user.no_result":"components.share.user.placeholder");const q=(G=>!!G.match(/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z\-0-9]{2,}))$/))(x??"")&&!(j!=null&&j.some(G=>G.email===x)),Y={id:x,full_name:"",email:x};return q&&(V=void 0),{groupName:y("components.share.search.group_name"),elements:j??[],showWhenEmpty:!0,emptyString:V,endActions:q?[{content:b.jsx(Fl,{user:Y}),onSelect:()=>void P(Y)}]:void 0}},[t,x,y,O,P]),R=j=>{var ae;const W=(j==null?void 0:j.clientHeight)??0,q=((ae=E.current)==null?void 0:ae.clientHeight)??0,Y=`calc(${M} - ${W}px - ${q}px - 70px - 10px)`;C(Y)},I=!c&&!U&&!g.loading&&i.length>0,N=!d&&!U&&!g.loading&&n.length>0,A=a?c&&d?"empty":"search":"cannot_view";return b.jsx(X.Modal,{title:g.modalTitle??y("components.share.modalTitle"),isOpen:g.isOpen,onClose:g.onClose,"aria-label":y("components.share.modalAriaLabel"),closeOnClickOutside:!0,size:h?X.ModalSize.FULL:X.ModalSize.LARGE,children:b.jsxs("div",{className:"c__share-modal no-padding",children:[l&&O.length>0&&b.jsx("div",{className:"c__share-modal__selected-users",ref:E,children:b.jsx(uf,{users:O,onRemoveUser:k,roles:g.invitationRoles,selectedRole:H,onSelectRole:w,onShare:()=>{g.onInviteUser(O,H),K([])}})}),A==="cannot_view"&&b.jsxs("div",{className:"c__share-modal__cannot-view",style:{height:m},children:[b.jsx("div",{className:"c__share-modal__cannot-view__content",children:b.jsx("p",{children:g.cannotViewMessage??y("components.share.cannot_view.message")})}),f]}),A==="search"&&b.jsx(d1,{onFilter:_,inputValue:F,showInput:l,loading:g.loading,placeholder:y("components.share.user.placeholder"),children:b.jsxs("div",{style:{height:m,overflowY:"auto"},children:[U&&b.jsx("div",{className:"c__share-modal__search-users","data-testid":"search-users-list",children:b.jsx(f1,{group:z,onSelect:j=>{P(j)},renderElement:j=>b.jsx(Fl,{user:j})})}),!U&&e,I&&b.jsxs("div",{className:"c__share-modal__invitations","data-testid":"invitations-list",children:[b.jsx("span",{className:"c__share-modal__invitations-title",children:y("components.share.invitations.title")}),i.map(j=>{var V;return b.jsx(pf,{invitation:j,roles:g.invitationRoles,updateRole:g.onUpdateInvitation,deleteInvitation:g.onDeleteInvitation,canUpdate:l,roleTopMessage:(V=g.invitationRoleTopMessage)==null?void 0:V.call(g,j)},j.id)}),b.jsx(b2,{show:s,onShowMore:g.onLoadNextInvitations})]}),N&&b.jsxs("div",{className:"c__share-modal__members","data-testid":"members-list",children:[b.jsx("span",{className:"c__share-modal__members-title",children:y(n.length>1?"components.share.members.title_plural":"components.share.members.title_singular",{count:n.length})}),n.map(j=>{var V,W;return b.jsx(hf,{accessData:j,accessRoleKey:g.accessRoleKey??"role",canUpdate:l,roleTopMessage:(V=g.accessRoleTopMessage)==null?void 0:V.call(g,j),roles:((W=g.getAccessRoles)==null?void 0:W.call(g,j))??g.invitationRoles,updateRole:g.onUpdateAccess,deleteAccess:g.onDeleteAccess},j.id)}),b.jsx(b2,{show:o,onShowMore:g.onLoadNextMembers})]})]})}),b.jsx("div",{ref:R,children:!U&&b.jsxs("div",{className:"c__share-modal__footer",children:[g.linkSettings&&b.jsx(Rm,{linkReachChoices:g.linkReachChoices,canUpdate:l,onUpdateLinkReach:g.onUpdateLinkReach,linkReach:g.linkReach,linkRoleChoices:g.linkRoleChoices,linkRole:g.linkRole,onUpdateLinkRole:g.onUpdateLinkRole,showLinkRole:g.showLinkRole,customTranslations:p,topLinkReachMessage:g.topLinkReachMessage,topLinkRoleMessage:g.topLinkRoleMessage}),r]})})]})})},b2=({show:t,onShowMore:e})=>{const{t:r}=X.useCunningham();return t?b.jsx("div",{className:"c__share-modal__show-more-button",children:b.jsx(X.Button,{variant:"tertiary",size:"small",icon:b.jsx("span",{className:"material-icons",children:"arrow_downward"}),onClick:e,children:r("components.share.members.load_more")})}):null},Km=({onCopyLink:t,onOk:e})=>{const{t:r}=X.useCunningham();return b.jsxs("div",{className:"c__share-modal__copy-link-footer",children:[b.jsx(X.Button,{variant:"secondary",icon:b.jsx("span",{className:"material-icons",children:"link"}),onClick:t,children:r("components.share.copyLink")}),b.jsx(X.Button,{variant:"primary",onClick:e,children:r("components.share.ok")})]})},vf=({user:t,settingsItems:e,showSettings:r,actions:n,termOfServiceUrl:i})=>{const o=!!n||!!i,{t:l}=X.useCunningham(),a=t?t.full_name??t.email:void 0,s=a?Fa(a):void 0;return t?b.jsx(b.Fragment,{children:b.jsxs("div",{className:"user-menu__content__body",children:[b.jsxs("div",{className:"user-menu__content__body__user-info",style:{"--gradient-color":`var(--c--contextuals--background--palette--${s}--primary)`},children:[b.jsx(Wi,{fullName:a}),b.jsx("div",{className:"user-menu__content__identity__name",children:t.full_name?b.jsxs(b.Fragment,{children:[b.jsx("p",{className:"user-menu__content__identity__name",children:b.jsx("strong",{children:t.full_name})}),b.jsx("p",{className:"user-menu__content__identity__email",children:t.email})]}):b.jsx("p",{className:"user-menu__content__identity__email",children:b.jsx("strong",{children:t.email})})})]}),r&&b.jsxs(b.Fragment,{children:[b.jsx(ln,{withPadding:!1}),b.jsx("div",{className:"user-menu__content__body__settings",children:e.map(c=>b.jsx(bf,{label:c.label,icon:c.icon,onClick:c.onClick},c.label))})]}),o&&b.jsxs(b.Fragment,{children:[b.jsx(ln,{withPadding:!1}),b.jsxs("div",{className:"user-menu__actions user-menu__actions--mobile",children:[n&&b.jsx("div",{className:"user-menu__actions__left",children:n}),i&&b.jsx("div",{className:"user-menu__actions__right",children:b.jsx(X.Button,{variant:"tertiary",target:"_blank",href:i,size:"small",color:"neutral",children:l("components.userMenu.term_of_service")})})]})]})]})}):null},jm=({...t})=>{const{t:e}=X.useCunningham(),r=yf();return b.jsxs(b.Fragment,{children:[b.jsx(mf,{user:t.user,...r}),b.jsx(X.Modal,{isOpen:r.openState,onClose:()=>r.setOpenState(!1),"aria-label":e("components.userMenu.dialogTitle"),size:X.ModalSize.FULL,children:b.jsxs("div",{className:"user-menu__popover user-menu__popover--mobile",children:[b.jsx(X.Button,{variant:"tertiary",className:"user-menu__close-button",onClick:r.toggleUserMenu,"aria-label":e("components.userMenu.close"),color:"neutral",icon:b.jsx(Jr,{name:"close"}),size:"small"}),b.jsx(vf,{...t}),b.jsx("div",{className:"user-menu__footer--mobile",children:b.jsx(X.Button,{variant:"primary",onClick:r.toggleUserMenu,children:e("components.share.ok")})})]})})]})},Hm=({user:t,settingsItems:e,showSettings:r,actions:n,termOfServiceUrl:i})=>{const{t:o}=X.useCunningham(),l=yf();return b.jsxs(b.Fragment,{children:[b.jsx(mf,{user:t,...l}),b.jsx(ia,{className:"c__dropdown-menu user-menu__popover",triggerRef:l.triggerRef,isOpen:l.openState,onOpenChange:l.setOpenState,children:b.jsx(T7,{"aria-label":o("components.userMenu.dialogTitle"),children:b.jsx(vf,{user:t,settingsItems:e,showSettings:r,actions:n,termOfServiceUrl:i})})})]})},Vm=({user:t,settingsCTA:e,logout:r,termOfServiceUrl:n,actions:i})=>{const{t:o}=X.useCunningham(),{isTablet:l}=mt(),a=u.useMemo(()=>{const c=[];return e&&c.push({label:o("components.userMenu.manage_account"),icon:"settings",onClick:typeof e=="function"?e:typeof e=="string"?()=>window.open(e,"_blank","noopener,noreferrer"):void 0}),r&&c.push({label:o("components.userMenu.logout"),icon:"logout",onClick:r}),c},[e,r,o]),s=a.length>0;return t?b.jsx(b.Fragment,{children:l?b.jsx(jm,{user:t,settingsItems:a,showSettings:s,actions:i,termOfServiceUrl:n}):b.jsx(Hm,{user:t,settingsItems:a,showSettings:s,actions:i,termOfServiceUrl:n})}):null},bf=({label:t,icon:e,onClick:r})=>b.jsxs("div",{className:"user-menu__item",onClick:r,children:[b.jsx(Jr,{name:e}),b.jsx("span",{className:"user-menu__item__label",children:t})]}),mf=({user:t,triggerRef:e,id:r,openState:n,toggleUserMenu:i})=>{const{t:o}=X.useCunningham();return t?b.jsx(X.Button,{variant:"tertiary",size:"small",ref:e,id:r,onClick:i,"aria-label":o(n?"components.userMenu.close":"components.userMenu.open"),title:o(n?"components.userMenu.close":"components.userMenu.open"),children:b.jsx(Wi,{fullName:t.full_name??t.email})}):null},yf=()=>{const t=u.useId(),[e,r]=u.useState(!1),n=()=>{r(!e)},i=u.useRef(null);return{id:t,openState:e,setOpenState:r,toggleUserMenu:n,triggerRef:i}},zm=(t,e={})=>Ai.getThemesFromGlobals(br(Xr,t),{...e,overrides:br(Ti,e.overrides??{})});exports.AVATAR_COLORS=Sl;exports.AccessRoleDropdown=Ui;exports.Badge=Tm;exports.CunninghamProvider=Tf;exports.CustomTabs=lg;exports.DropdownMenu=kt;exports.Filter=H7;exports.Footer=j7;exports.Header=nd;exports.Hero=z7;exports.HomeGutter=U7;exports.HorizontalSeparator=ln;exports.Icon=Jr;exports.IconSize=xe;exports.IconType=ni;exports.InvitationUserSelectorItem=df;exports.InvitationUserSelectorList=uf;exports.LaGaufre=rh;exports.LaGaufreV2=Qu;exports.Label=$d;exports.LanguagePicker=rd;exports.LeftPanel=id;exports.MainLayout=Zh;exports.ProConnectButton=C2;exports.QuickSearch=d1;exports.QuickSearchGroup=f1;exports.QuickSearchInput=u1;exports.QuickSearchItem=Rn;exports.QuickSearchItemTemplate=Li;exports.SearchUserItem=Fl;exports.ShareInvitationItem=pf;exports.ShareMemberItem=hf;exports.ShareModal=Lm;exports.ShareModalCopyLinkFooter=Km;exports.Spinner=li;exports.TreeApi=vr;exports.TreeContext=xa;exports.TreeProvider=gm;exports.TreeView=vm;exports.TreeViewItem=Am;exports.TreeViewMoveModeEnum=Dt;exports.TreeViewNodeTypeEnum=se;exports.TreeViewSeparator=of;exports.UserAvatar=Wi;exports.UserMenu=Vm;exports.UserMenuItem=bf;exports.UserRow=Zi;exports.VerticalSeparator=og;exports.WithLabel=qh;exports.anctGlobals=Ju;exports.containerSizeMap=td;exports.cunninghamConfig=al;exports.dsfrGlobals=Xu;exports.getContainerSize=hh;exports.getIconSize=ph;exports.getUIKitThemesFromGlobals=zm;exports.getUserColor=Fa;exports.getUserInitials=ff;exports.headerHeight=Gh;exports.iconSizeMap=ed;exports.isNode=Ur;exports.isSeparator=di;exports.isTitle=fi;exports.isViewMore=lf;exports.locales=y2;exports.useArrowRoving=_m;exports.useCustomTranslations=gf;exports.useDropdownMenu=bt;exports.useResponsive=mt;exports.useTree=af;exports.useTreeContext=Sa;exports.whiteLabelGlobals=Yu;
99
99
  //# sourceMappingURL=index.cjs.map