@gouvfr-lasuite/ui-kit 0.19.8 → 0.19.10

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
@@ -19,7 +19,7 @@
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,Z,q,Z),L[Z+P]=!0)}if(Z=null,$!==void 0&&(r($),Z=""+$),a(R)&&(r(R.key),Z=""+R.key),"key"in R){$={};for(var Y in R)Y!=="key"&&($[Y]=R[Y])}else $=R;return Z&&l($,typeof M=="function"?M.displayName||M.name||"Unknown":M),c(M,Z,N,T,i(),$,j,V)}function f(M){typeof M=="object"&&M!==null&&M.$$typeof===g&&M._store&&(M._store.validated=1)}var p=u,g=Symbol.for("react.transitional.element"),y=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),b=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"),x=Symbol.for("react.suspense"),w=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"),D=p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,B=Object.prototype.hasOwnProperty,U=Array.isArray,k=console.createTask?console.createTask:function(){return null};p={react_stack_bottom_frame:function(M){return M()}};var W,_={},I=p.react_stack_bottom_frame.bind(p,o)(),z=k(n(o)),L={};$r.Fragment=h,$r.jsx=function(M,R,$,P,T){var N=1e4>D.recentlyCreatedOwnerStacks++;return d(M,R,$,!1,P,T,N?Error("react-stack-top-frame"):I,N?k(n(M)):z)},$r.jsxs=function(M,R,$,P,T){var N=1e4>D.recentlyCreatedOwnerStacks++;return d(M,R,$,!0,P,T,N?Error("react-stack-top-frame"):I,N?k(n(M)):z)}}()),$r}var Nl;function I1(){return Nl||(Nl=1,process.env.NODE_ENV==="production"?fn.exports=T1():fn.exports=k1()),fn.exports}var v=I1();const O1={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"}},onboarding:{skip:"Skip",next:"Next",previous:"Previous",complete:"Understood",stepLabel:"Step {current} of {total}: {title}",currentStepSuffix:" (current)",contentRegionLabel:"Step {current} of {total} content"}},N1={components:O1},M1={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:"Seules les personnes avec accès peuvent l'ouvrir à l'aide du lien"},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"}},onboarding:{skip:"Passer",next:"Suivant",previous:"Précédent",complete:"Compris",stepLabel:"Étape {current} sur {total} : {title}",currentStepSuffix:" (actuelle)",contentRegionLabel:"Contenu de l'étape {current} sur {total}"}},R1={components:M1};function Yi(t){return t&&typeof t=="object"&&!Array.isArray(t)}function gr(t,...e){if(!e.length)return t;const r=e.shift();if(Yi(t)&&Yi(r))for(const n in r)Yi(r[n])?(t[n]||Object.assign(t,{[n]:{}}),gr(t[n],r[n])):Object.assign(t,{[n]:r[n]});return gr(t,...e)}const xc={"en-US":gr(X.enUS,N1),"fr-FR":gr(X.frFR,R1)},B1=t=>v.jsx(X.CunninghamProvider,{customLocales:xc,...t}),L1="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",j1="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",Sc=({disabled:t,onClick:e})=>v.jsx(X.Button,{disabled:t,className:"pro-connect-button",onClick:e,style:{backgroundImage:`url("${t?j1:L1}")`}});u.createContext(null);u.createContext(null);u.createContext(null);u.createContext(null);u.createContext(null);const K1=u.createContext({}),ne=typeof document<"u"?u.useLayoutEffect:()=>{};var Xi;const H1=(Xi=u.useInsertionEffect)!==null&&Xi!==void 0?Xi:ne;function be(t){const e=u.useRef(null);return H1(()=>{e.current=t},[t]),u.useCallback((...r)=>{const n=e.current;return n==null?void 0:n(...r)},[])}function V1(t){let[e,r]=u.useState(t),n=u.useRef(null),i=be(()=>{if(!n.current)return;let a=n.current.next();if(a.done){n.current=null;return}e===a.value?i():r(a.value)});ne(()=>{n.current&&i()});let o=be(a=>{n.current=a(e),i()});return[e,o]}const Zn={prefix:String(Math.round(Math.random()*1e10)),current:0},Fc=u.createContext(Zn),z1=u.createContext(!1);let U1=!!(typeof window<"u"&&window.document&&window.document.createElement),Ji=new WeakMap;function W1(t=!1){let e=u.useContext(Fc),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 a=Ji.get(o);a==null?Ji.set(o,{id:e.current,state:o.memoizedState}):o.memoizedState!==a.state&&(e.current=a.id,Ji.delete(o))}r.current=++e.current}return r.current}function Z1(t){let e=u.useContext(Fc);e===Zn&&!U1&&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=W1(!!t),n=e===Zn&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${e.prefix}`;return t||`${n}-${r}`}function G1(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 q1=typeof u.useId=="function"?G1:Z1;function Y1(){return!1}function X1(){return!0}function J1(t){return()=>{}}function sn(){return typeof u.useSyncExternalStore=="function"?u.useSyncExternalStore(J1,Y1,X1):u.useContext(z1)}let Q1=!!(typeof window<"u"&&window.document&&window.document.createElement),sr=new Map,Br;typeof FinalizationRegistry<"u"&&(Br=new FinalizationRegistry(t=>{sr.delete(t)}));function Se(t){let[e,r]=u.useState(t),n=u.useRef(null),i=q1(e),o=u.useRef(null);if(Br&&Br.register(o,i),Q1){const a=sr.get(i);a&&!a.includes(n)?a.push(n):sr.set(i,[n])}return ne(()=>{let a=i;return()=>{Br&&Br.unregister(o),sr.delete(a)}},[i]),u.useEffect(()=>{let a=n.current;return a&&r(a),()=>{a&&(n.current=null)}}),i}function e5(t,e){if(t===e)return t;let r=sr.get(t);if(r)return r.forEach(i=>i.current=e),e;let n=sr.get(e);return n?(n.forEach(i=>i.current=t),t):e}function ht(t=[]){let e=Se(),[r,n]=V1(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 gt(...t){return(...e)=>{for(let r of t)typeof r=="function"&&r(...e)}}const ae=t=>{var e;return(e=t==null?void 0:t.ownerDocument)!==null&&e!==void 0?e:document},Te=t=>t&&"window"in t&&t.window===t?t:ae(t).defaultView||window;function t5(t){return t!==null&&typeof t=="object"&&"nodeType"in t&&typeof t.nodeType=="number"}function r5(t){return t5(t)&&t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in t}let n5=!1;function pi(){return n5}function ue(t,e){if(!pi())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:r5(r)?r=r.host:r=r.parentNode}return!1}const De=(t=document)=>{var e;if(!pi())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 pi()&&t.target.shadowRoot&&t.composedPath?t.composedPath()[0]:t.target}class i5{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 a=n,l=this._doc.createTreeWalker(a,this.whatToShow,{acceptNode:this._acceptNode});r.push(l),l.currentNode=i,this._currentSetFor.add(l),n=i=a.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 a=this.lastChild();return a&&(this.currentNode=a),a}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=a=>{if(a.nodeType===Node.ELEMENT_NODE){const s=a.shadowRoot;if(s){const c=this._doc.createTreeWalker(s,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(c),NodeFilter.FILTER_ACCEPT}else{var l;if(typeof this.filter=="function")return this.filter(a);if(!((l=this.filter)===null||l===void 0)&&l.acceptNode)return this.filter.acceptNode(a);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 a=this._doc.createTreeWalker(o,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(a)}}}function o5(t,e,r,n){return pi()?new i5(t,e,r,n):t.createTreeWalker(e,r,n)}function $c(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=$c(t[e]))&&(n&&(n+=" "),n+=r)}else for(r in t)t[r]&&(n&&(n+=" "),n+=r);return n}function ve(){for(var t,e,r=0,n="",i=arguments.length;r<i;r++)(t=arguments[r])&&(e=$c(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],a=n[i];typeof o=="function"&&typeof a=="function"&&i[0]==="o"&&i[1]==="n"&&i.charCodeAt(2)>=65&&i.charCodeAt(2)<=90?e[i]=gt(o,a):(i==="className"||i==="UNSAFE_className")&&typeof o=="string"&&typeof a=="string"?e[i]=ve(o,a):i==="id"&&o&&a?e.id=e5(o,a):e[i]=a!==void 0?a:o}}return e}function ka(...t){return t.length===1&&t[0]?t[0]:e=>{let r=!1;const n=t.map(i=>{const o=Ml(i,e);return r||(r=typeof o=="function"),o});if(r)return()=>{n.forEach((i,o)=>{typeof i=="function"?i():Ml(t[o],null)})}}}function Ml(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}const a5=new Set(["id"]),l5=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),s5=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),c5=new Set(["dir","lang","hidden","inert","translate"]),Rl=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"]),u5=/^(data-.*)$/;function he(t,e={}){let{labelable:r,isLink:n,global:i,events:o=i,propNames:a}=e,l={};for(const s in t)Object.prototype.hasOwnProperty.call(t,s)&&(a5.has(s)||r&&l5.has(s)||n&&s5.has(s)||i&&c5.has(s)||o&&Rl.has(s)||s.endsWith("Capture")&&Rl.has(s.slice(0,-7))||a!=null&&a.has(s)||u5.test(s))&&(l[s]=t[s]);return l}function Ve(t){if(d5())t.focus({preventScroll:!0});else{let e=f5(t);t.focus(),h5(e)}}let hn=null;function d5(){if(hn==null){hn=!1;try{document.createElement("div").focus({get preventScroll(){return hn=!0,!0}})}catch{}}return hn}function f5(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 h5(t){for(let{element:e,scrollTop:r,scrollLeft:n}of t)e.scrollTop=r,e.scrollLeft=n}function gi(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 Ia(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 vt=rt(function(){return Ia(/^Mac/i)}),p5=rt(function(){return Ia(/^iPhone/i)}),_c=rt(function(){return Ia(/^iPad/i)||vt()&&navigator.maxTouchPoints>1}),vi=rt(function(){return p5()||_c()}),g5=rt(function(){return vt()||vi()}),Oa=rt(function(){return gi(/AppleWebKit/i)&&!Pc()}),Pc=rt(function(){return gi(/Chrome/i)}),Na=rt(function(){return gi(/Android/i)}),v5=rt(function(){return gi(/Firefox/i)}),b5=u.createContext({isNative:!0,open:C5,useHref:t=>t});function bi(){return u.useContext(b5)}function m5(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 Pt(t,e,r=!0){var n,i;let{metaKey:o,ctrlKey:a,altKey:l,shiftKey:s}=e;v5()&&(!((i=window.event)===null||i===void 0||(n=i.type)===null||n===void 0)&&n.startsWith("key"))&&t.target==="_blank"&&(vt()?o=!0:a=!0);let c=Oa()&&vt()&&!_c()&&process.env.NODE_ENV!=="test"?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:o,ctrlKey:a,altKey:l,shiftKey:s}):new MouseEvent("click",{metaKey:o,ctrlKey:a,altKey:l,shiftKey:s,bubbles:!0,cancelable:!0});Pt.isOpening=r,Ve(t),t.dispatchEvent(c),Pt.isOpening=!1}Pt.isOpening=!1;function y5(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 C5(t,e){y5(t,r=>Pt(r,e))}function Ma(t){let e=bi();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 E5(t,e,r,n){!e.isNative&&t.currentTarget instanceof HTMLAnchorElement&&t.currentTarget.href&&!t.isDefaultPrevented()&&m5(t.currentTarget,t)&&r&&(t.preventDefault(),e.open(t.currentTarget,t,r,n))}let ut=new Map,zo=new Set;function Bl(){if(typeof window>"u")return;function t(n){return"propertyName"in n}let e=n=>{if(!t(n)||!n.target)return;let i=ut.get(n.target);i||(i=new Set,ut.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=ut.get(n.target);if(i&&(i.delete(n.propertyName),i.size===0&&(n.target.removeEventListener("transitioncancel",r),ut.delete(n.target)),ut.size===0)){for(let o of zo)o();zo.clear()}};document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",r)}typeof document<"u"&&(document.readyState!=="loading"?Bl():document.addEventListener("DOMContentLoaded",Bl));function w5(){for(const[t]of ut)"isConnected"in t&&!t.isConnected&&ut.delete(t)}function Ac(t){requestAnimationFrame(()=>{w5(),ut.size===0?t():zo.add(t)})}function mi(){let t=u.useRef(new Map),e=u.useCallback((i,o,a,l)=>{let s=l!=null&&l.once?(...c)=>{t.current.delete(a),a(...c)}:a;t.current.set(a,{type:o,eventTarget:i,fn:s,options:l}),i.addEventListener(o,s,l)},[]),r=u.useCallback((i,o,a,l)=>{var s;let c=((s=t.current.get(a))===null||s===void 0?void 0:s.fn)||a;i.removeEventListener(o,c,l),t.current.delete(a)},[]),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 yi(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,a=o(i);return()=>{typeof a=="function"?a():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 Ll(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 D5(){return typeof window.ResizeObserver<"u"}function Uo(t){const{ref:e,box:r,onResize:n}=t;u.useEffect(()=>{let i=e==null?void 0:e.current;if(i)if(D5()){const o=new window.ResizeObserver(a=>{a.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 Tc(t,e){ne(()=>{if(t&&t.ref&&e)return t.ref.current=e.current,()=>{t.ref&&(t.ref.current=null)}})}function Zr(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 kc(t,e){let r=t;for(Zr(r,e)&&(r=r.parentElement);r&&!Zr(r,e);)r=r.parentElement;return r||document.scrollingElement||document.documentElement}function x5(t,e){const r=[];for(;t&&t!==document.documentElement;)Zr(t,e)&&r.push(t),t=t.parentElement;return r}let S5=0;const Qi=new Map;function F5(t){let[e,r]=u.useState();return ne(()=>{if(!t)return;let n=Qi.get(t);if(n)r(n.element.id);else{let i=`react-aria-description-${S5++}`;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},Qi.set(t,n)}return n.refCount++,()=>{n&&--n.refCount===0&&(n.element.remove(),Qi.delete(t))}},[t]),{"aria-describedby":t?e:void 0}}function pn(t,e,r,n){let i=be(r),o=r==null;u.useEffect(()=>{if(o||!t.current)return;let a=t.current;return a.addEventListener(e,i,n),()=>{a.removeEventListener(e,i,n)}},[t,e,n,o,i])}function Ic(t,e){let r=jl(t,e,"left"),n=jl(t,e,"top"),i=e.offsetWidth,o=e.offsetHeight,a=t.scrollLeft,l=t.scrollTop,{borderTopWidth:s,borderLeftWidth:c,scrollPaddingTop:d,scrollPaddingRight:f,scrollPaddingBottom:p,scrollPaddingLeft:g}=getComputedStyle(t),y=a+parseInt(c,10),h=l+parseInt(s,10),b=y+t.clientWidth,m=h+t.clientHeight,C=parseInt(d,10)||0,E=parseInt(p,10)||0,F=parseInt(f,10)||0,x=parseInt(g,10)||0;r<=a+x?a=r-parseInt(c,10)-x:r+i>b-F&&(a+=r+i-b+F),n<=h+C?l=n-parseInt(s,10)-C:n+o>m-E&&(l+=n+o-m+E),t.scrollLeft=a,t.scrollTop=l}function jl(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 Kl(t,e){if(t&&document.contains(t)){let a=document.scrollingElement||document.documentElement;if(window.getComputedStyle(a).overflow==="hidden"){let s=x5(t);for(let c of s)Ic(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 Wo(t){return t.pointerType===""&&t.isTrusted?!0:Na()&&t.pointerType?t.type==="click"&&t.buttons===1:t.detail===0&&!t.pointerType}function $5(t){return!Na()&&t.width===0&&t.height===0||t.width===1&&t.height===1&&t.pressure===0&&t.detail===0&&t.pointerType==="mouse"}function _5(t,e,r){let n=be(()=>{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 P5(t){const e=u.version.split(".");return parseInt(e[0],10)>=19?t:t?"true":void 0}const A5="react-aria-clear-focus",T5="react-aria-focus";function rr(t){return vt()?t.metaKey:t.ctrlKey}function k5(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]),Oc(t,i,u.useCallback(()=>n(!1),[])),i}function I5(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 Oc(t,i,u.useCallback(()=>{n(o=>o==="exiting"?"closed":o)},[])),i}function Oc(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||Mt.flushSync(()=>{r()})}).catch(()=>{}),()=>{i=!0}}},[t,e,r])}const O5=typeof Element<"u"&&"checkVisibility"in Element.prototype;function N5(t){const e=Te(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:a,visibility:l}=o(t);i=a!=="none"&&l!=="hidden"&&l!=="collapse"}return i}function M5(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 Ra(t,e){return O5?t.checkVisibility()&&!t.closest("[data-react-aria-prevent-focus]"):t.nodeName!=="#comment"&&N5(t)&&M5(t,e)&&(!t.parentElement||Ra(t.parentElement,t))}const Ba=["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"],R5=Ba.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";Ba.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const B5=Ba.join(':not([hidden]):not([tabindex="-1"]),');function Nc(t){return t.matches(R5)&&Ra(t)&&!Mc(t)}function L5(t){return t.matches(B5)&&Ra(t)&&!Mc(t)}function Mc(t){let e=t;for(;e!=null;){if(e instanceof e.ownerDocument.defaultView.HTMLElement&&e.inert)return!0;e=e.parentElement}return!1}function Ci(t,e,r){let[n,i]=u.useState(t||e),o=u.useRef(t!==void 0),a=t!==void 0;u.useEffect(()=>{let c=o.current;c!==a&&process.env.NODE_ENV!=="production"&&console.warn(`WARN: A component changed from ${c?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}.`),o.current=a},[a]);let l=a?t:n,s=u.useCallback((c,...d)=>{let f=(p,...g)=>{r&&(Object.is(l,p)||r(p,...g)),a||(l=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(a?l:g,...y);return f(h,...d),a?g:h})):(a||i(c),f(c,...d))},[a,l,r]);return[l,s]}function Zo(t,e=-1/0,r=1/0){return Math.min(Math.max(t,e),r)}const Gr=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:a,values:l}=t;return u.useMemo(()=>{let s,c,d;return typeof e=="function"?s=e({...l,defaultClassName:i}):s=e,typeof r=="function"?c=r({...l,defaultStyle:a||{}}):c=r,typeof n=="function"?d=n({...l,defaultChildren:o}):n==null?d=o:d=n,{className:s??i,style:c||a?{...a,...c}:void 0,children:d??o,"data-rac":""}},[e,r,n,i,o,a,l])}function Ei(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||Gr;if(!r.slots[n]){let i=new Intl.ListFormat().format(Object.keys(r.slots).map(a=>`"${a}"`)),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=Ei(r,t.slot)||{},{ref:i,...o}=n,a=nt(u.useMemo(()=>ka(e,i),[e,i])),l=ie(o,t);return"style"in o&&o.style&&"style"in t&&t.style&&(typeof o.style=="function"||typeof t.style=="function"?l.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}}:l.style={...o.style,...t.style}),[l,a]}function La(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 j5(t){const e=/^(data-.*)$/;let r={};for(const n in t)e.test(n)||(r[n]=t[n]);return r}class ja{get childNodes(){throw new Error("childNodes is not supported")}clone(){let e=new ja(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 Ka{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 Ka,n=null;for(let i of this)if(i.type==="section"&&i.hasChildNodes){let o=i.clone(),a=null;for(let l of this.getChildren(i.key))if(Hl(l,e,this,r)){let s=l.clone();a==null&&(o.firstChildKey=s.key),r.firstKey==null&&(r.firstKey=o.key),a&&a.parentKey===s.parentKey?(a.nextKey=s.key,s.prevKey=a.key):s.prevKey=null,s.nextKey=null,r.addNode(s),a=s}a&&(a.type!=="header"?(o.lastChildKey=a.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(a.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();Hl(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 Hl(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 Rc{*[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 cr extends Rc{get index(){return this._index}set index(e){this._index=e,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof cr?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 cr?this.parentNode.node.key:null;var a;o.prevKey=(a=(e=this.previousVisibleSibling)===null||e===void 0?void 0:e.node.key)!==null&&a!==void 0?a:null;var l;o.nextKey=(l=i==null?void 0:i.node.key)!==null&&l!==void 0?l: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:a,textValue:l,id:s,...c}=e;if(c.ref=r,o.props=c,o.rendered=n,o.render=i,o.value=a,o.textValue=l||(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 a=e.previousVisibleSibling,l=e.nextVisibleSibling;a&&e.ownerDocument.markDirty(a),l&&e.ownerDocument.markDirty(l),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 ja(e,`react-aria-${++r.nodeId}`)}}class K5 extends Rc{get isConnected(){return this.isMounted}createElement(e){return new cr(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 cr&&(!o.isConnected||o.isHidden)?this.removeNode(o):o.updateChildIndices();for(let o of this.dirtyNodes)o instanceof cr&&(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 Bc(t){let{children:e,items:r,idScope:n,addIdAndValue:i,dependencies:o=[]}=t,a=u.useMemo(()=>new WeakMap,o);return u.useMemo(()=>{if(r&&typeof e=="function"){let c=[];for(let d of r){let f=a.get(d);if(!f){f=e(d);var l,s;let p=(s=(l=f.props.id)!==null&&l!==void 0?l: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}),a.set(d,f)}c.push(f)}return c}else if(typeof e!="function")return e},[e,r,a,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 H5(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 Ha(t){let e=(r,n)=>u.useContext(Gn)?null:t(r,n);return e.displayName=t.displayName||t.name,u.forwardRef(e)}function V5(){return u.useContext(Gn)}function Va(t){let e=t;return e.nativeEvent=t,e.isDefaultPrevented=()=>e.defaultPrevented,e.isPropagationStopped=()=>e.cancelBubble,e.persist=()=>{},e}function Lc(t,e){Object.defineProperty(t,"target",{value:e}),Object.defineProperty(t,"currentTarget",{value:e})}function jc(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=be(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=a=>{if(e.current.isFocused=!1,i.disabled){let l=Va(a);r(l)}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 a;(a=e.current.observer)===null||a===void 0||a.disconnect();let l=i===document.activeElement?null:document.activeElement;i.dispatchEvent(new FocusEvent("blur",{relatedTarget:l})),i.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:l}))}}),e.current.observer.observe(i,{attributes:!0,attributeFilter:["disabled"]})}},[r])}let qn=!1;function Vl(t){for(;t&&!Nc(t);)t=t.parentElement;let e=Te(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()))},a=d=>{(d.target===t||n)&&d.stopImmediatePropagation()},l=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",l,!0),e.addEventListener("focus",a,!0);let s=()=>{cancelAnimationFrame(c),e.removeEventListener("blur",i,!0),e.removeEventListener("focusout",o,!0),e.removeEventListener("focusin",l,!0),e.removeEventListener("focus",a,!0),qn=!1,n=!1},c=requestAnimationFrame(s);return s}let or="default",Go="",On=new WeakMap;function zl(t){if(vi()){if(or==="default"){const e=ae(t);Go=e.documentElement.style.webkitUserSelect,e.documentElement.style.webkitUserSelect="none"}or="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 eo(t){if(vi()){if(or!=="disabled")return;or="restoring",setTimeout(()=>{Ac(()=>{if(or==="restoring"){const e=ae(t);e.documentElement.style.webkitUserSelect==="none"&&(e.documentElement.style.webkitUserSelect=Go||""),Go="",or="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 za=u.createContext({register:()=>{}});za.displayName="PressResponderContext";function z5(t,e){return e.get?e.get.call(t):e.value}function Kc(t,e,r){if(!e.has(t))throw new TypeError("attempted to "+r+" private field on non-instance");return e.get(t)}function U5(t,e){var r=Kc(t,e,"get");return z5(t,r)}function W5(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Z5(t,e,r){W5(t,e),e.set(t,r)}function G5(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 Ul(t,e,r){var n=Kc(t,e,"set");return G5(t,n,r),r}function q5(t){let e=u.useContext(za);if(e){let{register:r,...n}=e;t=ie(n,t),r()}return Tc(e,t.ref),t}var gn=new WeakMap;class vn{continuePropagation(){Ul(this,gn,!1)}get shouldStopPropagation(){return U5(this,gn)}constructor(e,r,n,i){Z5(this,gn,{writable:!0,value:void 0}),Ul(this,gn,!0);var o;let a=(o=i==null?void 0:i.target)!==null&&o!==void 0?o:n.currentTarget;const l=a==null?void 0:a.getBoundingClientRect();let s,c=0,d,f=null;n.clientX!=null&&n.clientY!=null&&(d=n.clientX,f=n.clientY),l&&(d!=null&&f!=null?(s=d-l.left,c=f-l.top):(s=l.width/2,c=l.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 Wl=Symbol("linkClicked"),Zl="react-aria-pressable-style",Gl="data-react-aria-pressable";function wi(t){let{onPress:e,onPressChange:r,onPressStart:n,onPressEnd:i,onPressUp:o,onClick:a,isDisabled:l,isPressed:s,preventFocusOnPress:c,shouldCancelOnPointerExit:d,allowTextSelectionOnPress:f,ref:p,...g}=q5(t),[y,h]=u.useState(!1),b=u.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:m,removeAllGlobalListeners:C}=mi(),E=be((D,B)=>{let U=b.current;if(l||U.didFirePressStart)return!1;let k=!0;if(U.isTriggeringEvent=!0,n){let W=new vn("pressstart",B,D);n(W),k=W.shouldStopPropagation}return r&&r(!0),U.isTriggeringEvent=!1,U.didFirePressStart=!0,h(!0),k}),F=be((D,B,U=!0)=>{let k=b.current;if(!k.didFirePressStart)return!1;k.didFirePressStart=!1,k.isTriggeringEvent=!0;let W=!0;if(i){let _=new vn("pressend",B,D);i(_),W=_.shouldStopPropagation}if(r&&r(!1),h(!1),e&&U&&!l){let _=new vn("press",B,D);e(_),W&&(W=_.shouldStopPropagation)}return k.isTriggeringEvent=!1,W}),x=be((D,B)=>{let U=b.current;if(l)return!1;if(o){U.isTriggeringEvent=!0;let k=new vn("pressup",B,D);return o(k),U.isTriggeringEvent=!1,k.shouldStopPropagation}return!0}),w=be(D=>{let B=b.current;if(B.isPressed&&B.target){B.didFirePressStart&&B.pointerType!=null&&F(mt(B.target,D),B.pointerType,!1),B.isPressed=!1,B.isOverTarget=!1,B.activePointerId=null,B.pointerType=null,C(),f||eo(B.target);for(let U of B.disposables)U();B.disposables=[]}}),S=be(D=>{d&&w(D)}),O=be(D=>{a==null||a(D)}),K=be((D,B)=>{if(a){let U=new MouseEvent("click",D);Lc(U,B),a(Va(U))}}),H=u.useMemo(()=>{let D=b.current,B={onKeyDown(k){if(to(k.nativeEvent,k.currentTarget)&&ue(k.currentTarget,oe(k.nativeEvent))){var W;Xl(oe(k.nativeEvent),k.key)&&k.preventDefault();let _=!0;if(!D.isPressed&&!k.repeat){D.target=k.currentTarget,D.isPressed=!0,D.pointerType="keyboard",_=E(k,"keyboard");let I=k.currentTarget,z=L=>{to(L,I)&&!L.repeat&&ue(I,oe(L))&&D.target&&x(mt(D.target,L),"keyboard")};m(ae(k.currentTarget),"keyup",gt(z,U),!0)}_&&k.stopPropagation(),k.metaKey&&vt()&&((W=D.metaKeyEvents)===null||W===void 0||W.set(k.key,k.nativeEvent))}else k.key==="Meta"&&(D.metaKeyEvents=new Map)},onClick(k){if(!(k&&!ue(k.currentTarget,oe(k.nativeEvent)))&&k&&k.button===0&&!D.isTriggeringEvent&&!Pt.isOpening){let W=!0;if(l&&k.preventDefault(),!D.ignoreEmulatedMouseEvents&&!D.isPressed&&(D.pointerType==="virtual"||Wo(k.nativeEvent))){let _=E(k,"virtual"),I=x(k,"virtual"),z=F(k,"virtual");O(k),W=_&&I&&z}else if(D.isPressed&&D.pointerType!=="keyboard"){let _=D.pointerType||k.nativeEvent.pointerType||"virtual",I=x(mt(k.currentTarget,k),_),z=F(mt(k.currentTarget,k),_,!0);W=I&&z,D.isOverTarget=!1,O(k),w(k)}D.ignoreEmulatedMouseEvents=!1,W&&k.stopPropagation()}}},U=k=>{var W;if(D.isPressed&&D.target&&to(k,D.target)){var _;Xl(oe(k),k.key)&&k.preventDefault();let z=oe(k),L=ue(D.target,oe(k));F(mt(D.target,k),"keyboard",L),L&&K(k,D.target),C(),k.key!=="Enter"&&Ua(D.target)&&ue(D.target,z)&&!k[Wl]&&(k[Wl]=!0,Pt(D.target,k,!1)),D.isPressed=!1,(_=D.metaKeyEvents)===null||_===void 0||_.delete(k.key)}else if(k.key==="Meta"&&(!((W=D.metaKeyEvents)===null||W===void 0)&&W.size)){var I;let z=D.metaKeyEvents;D.metaKeyEvents=void 0;for(let L of z.values())(I=D.target)===null||I===void 0||I.dispatchEvent(new KeyboardEvent("keyup",L))}};if(typeof PointerEvent<"u"){B.onPointerDown=_=>{if(_.button!==0||!ue(_.currentTarget,oe(_.nativeEvent)))return;if($5(_.nativeEvent)){D.pointerType="virtual";return}D.pointerType=_.pointerType;let I=!0;if(!D.isPressed){D.isPressed=!0,D.isOverTarget=!0,D.activePointerId=_.pointerId,D.target=_.currentTarget,f||zl(D.target),I=E(_,D.pointerType);let z=oe(_.nativeEvent);"releasePointerCapture"in z&&z.releasePointerCapture(_.pointerId),m(ae(_.currentTarget),"pointerup",k,!1),m(ae(_.currentTarget),"pointercancel",W,!1)}I&&_.stopPropagation()},B.onMouseDown=_=>{if(ue(_.currentTarget,oe(_.nativeEvent))&&_.button===0){if(c){let I=Vl(_.target);I&&D.disposables.push(I)}_.stopPropagation()}},B.onPointerUp=_=>{!ue(_.currentTarget,oe(_.nativeEvent))||D.pointerType==="virtual"||_.button===0&&!D.isPressed&&x(_,D.pointerType||_.pointerType)},B.onPointerEnter=_=>{_.pointerId===D.activePointerId&&D.target&&!D.isOverTarget&&D.pointerType!=null&&(D.isOverTarget=!0,E(mt(D.target,_),D.pointerType))},B.onPointerLeave=_=>{_.pointerId===D.activePointerId&&D.target&&D.isOverTarget&&D.pointerType!=null&&(D.isOverTarget=!1,F(mt(D.target,_),D.pointerType,!1),S(_))};let k=_=>{if(_.pointerId===D.activePointerId&&D.isPressed&&_.button===0&&D.target){if(ue(D.target,oe(_))&&D.pointerType!=null){let I=!1,z=setTimeout(()=>{D.isPressed&&D.target instanceof HTMLElement&&(I?w(_):(Ve(D.target),D.target.click()))},80);m(_.currentTarget,"click",()=>I=!0,!0),D.disposables.push(()=>clearTimeout(z))}else w(_);D.isOverTarget=!1}},W=_=>{w(_)};B.onDragStart=_=>{ue(_.currentTarget,oe(_.nativeEvent))&&w(_)}}else if(process.env.NODE_ENV==="test"){B.onMouseDown=_=>{if(_.button!==0||!ue(_.currentTarget,oe(_.nativeEvent)))return;if(D.ignoreEmulatedMouseEvents){_.stopPropagation();return}if(D.isPressed=!0,D.isOverTarget=!0,D.target=_.currentTarget,D.pointerType=Wo(_.nativeEvent)?"virtual":"mouse",Mt.flushSync(()=>E(_,D.pointerType))&&_.stopPropagation(),c){let z=Vl(_.target);z&&D.disposables.push(z)}m(ae(_.currentTarget),"mouseup",k,!1)},B.onMouseEnter=_=>{if(!ue(_.currentTarget,oe(_.nativeEvent)))return;let I=!0;D.isPressed&&!D.ignoreEmulatedMouseEvents&&D.pointerType!=null&&(D.isOverTarget=!0,I=E(_,D.pointerType)),I&&_.stopPropagation()},B.onMouseLeave=_=>{if(!ue(_.currentTarget,oe(_.nativeEvent)))return;let I=!0;D.isPressed&&!D.ignoreEmulatedMouseEvents&&D.pointerType!=null&&(D.isOverTarget=!1,I=F(_,D.pointerType,!1),S(_)),I&&_.stopPropagation()},B.onMouseUp=_=>{ue(_.currentTarget,oe(_.nativeEvent))&&!D.ignoreEmulatedMouseEvents&&_.button===0&&!D.isPressed&&x(_,D.pointerType||"mouse")};let k=_=>{if(_.button===0){if(D.ignoreEmulatedMouseEvents){D.ignoreEmulatedMouseEvents=!1;return}D.target&&D.target.contains(_.target)&&D.pointerType!=null||w(_),D.isOverTarget=!1}};B.onTouchStart=_=>{if(!ue(_.currentTarget,oe(_.nativeEvent)))return;let I=Y5(_.nativeEvent);if(!I)return;D.activePointerId=I.identifier,D.ignoreEmulatedMouseEvents=!0,D.isOverTarget=!0,D.isPressed=!0,D.target=_.currentTarget,D.pointerType="touch",f||zl(D.target),E(at(D.target,_),D.pointerType)&&_.stopPropagation(),m(Te(_.currentTarget),"scroll",W,!0)},B.onTouchMove=_=>{if(!ue(_.currentTarget,oe(_.nativeEvent)))return;if(!D.isPressed){_.stopPropagation();return}let I=ql(_.nativeEvent,D.activePointerId),z=!0;I&&Yl(I,_.currentTarget)?!D.isOverTarget&&D.pointerType!=null&&(D.isOverTarget=!0,z=E(at(D.target,_),D.pointerType)):D.isOverTarget&&D.pointerType!=null&&(D.isOverTarget=!1,z=F(at(D.target,_),D.pointerType,!1),S(at(D.target,_))),z&&_.stopPropagation()},B.onTouchEnd=_=>{if(!ue(_.currentTarget,oe(_.nativeEvent)))return;if(!D.isPressed){_.stopPropagation();return}let I=ql(_.nativeEvent,D.activePointerId),z=!0;I&&Yl(I,_.currentTarget)&&D.pointerType!=null?(x(at(D.target,_),D.pointerType),z=F(at(D.target,_),D.pointerType),K(_.nativeEvent,D.target)):D.isOverTarget&&D.pointerType!=null&&(z=F(at(D.target,_),D.pointerType,!1)),z&&_.stopPropagation(),D.isPressed=!1,D.activePointerId=null,D.isOverTarget=!1,D.ignoreEmulatedMouseEvents=!0,D.target&&!f&&eo(D.target),C()},B.onTouchCancel=_=>{ue(_.currentTarget,oe(_.nativeEvent))&&(_.stopPropagation(),D.isPressed&&w(at(D.target,_)))};let W=_=>{D.isPressed&&ue(oe(_),D.target)&&w({currentTarget:D.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};B.onDragStart=_=>{ue(_.currentTarget,oe(_.nativeEvent))&&w(_)}}return B},[m,l,c,C,f,w,S,F,E,x,O,K]);return u.useEffect(()=>{if(!p||process.env.NODE_ENV==="test")return;const D=ae(p.current);if(!D||!D.head||D.getElementById(Zl))return;const B=D.createElement("style");B.id=Zl,B.textContent=`
22
+ <%s key={someKey} {...props} />`,P,Z,q,Z),L[Z+P]=!0)}if(Z=null,$!==void 0&&(r($),Z=""+$),a(R)&&(r(R.key),Z=""+R.key),"key"in R){$={};for(var Y in R)Y!=="key"&&($[Y]=R[Y])}else $=R;return Z&&l($,typeof M=="function"?M.displayName||M.name||"Unknown":M),c(M,Z,N,T,i(),$,j,V)}function f(M){typeof M=="object"&&M!==null&&M.$$typeof===g&&M._store&&(M._store.validated=1)}var p=u,g=Symbol.for("react.transitional.element"),y=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),b=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"),x=Symbol.for("react.suspense"),w=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"),D=p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,B=Object.prototype.hasOwnProperty,U=Array.isArray,k=console.createTask?console.createTask:function(){return null};p={react_stack_bottom_frame:function(M){return M()}};var W,_={},I=p.react_stack_bottom_frame.bind(p,o)(),z=k(n(o)),L={};$r.Fragment=h,$r.jsx=function(M,R,$,P,T){var N=1e4>D.recentlyCreatedOwnerStacks++;return d(M,R,$,!1,P,T,N?Error("react-stack-top-frame"):I,N?k(n(M)):z)},$r.jsxs=function(M,R,$,P,T){var N=1e4>D.recentlyCreatedOwnerStacks++;return d(M,R,$,!0,P,T,N?Error("react-stack-top-frame"):I,N?k(n(M)):z)}}()),$r}var Nl;function I1(){return Nl||(Nl=1,process.env.NODE_ENV==="production"?fn.exports=T1():fn.exports=k1()),fn.exports}var v=I1();const O1={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 for a user to invite"},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"}},onboarding:{skip:"Skip",next:"Next",previous:"Previous",complete:"Understood",stepLabel:"Step {current} of {total}: {title}",currentStepSuffix:" (current)",contentRegionLabel:"Step {current} of {total} content"}},N1={components:O1},M1={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 à inviter"},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:"Seules les personnes avec accès peuvent l'ouvrir à l'aide du lien"},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"}},onboarding:{skip:"Passer",next:"Suivant",previous:"Précédent",complete:"Compris",stepLabel:"Étape {current} sur {total} : {title}",currentStepSuffix:" (actuelle)",contentRegionLabel:"Contenu de l'étape {current} sur {total}"}},R1={components:M1};function Yi(t){return t&&typeof t=="object"&&!Array.isArray(t)}function gr(t,...e){if(!e.length)return t;const r=e.shift();if(Yi(t)&&Yi(r))for(const n in r)Yi(r[n])?(t[n]||Object.assign(t,{[n]:{}}),gr(t[n],r[n])):Object.assign(t,{[n]:r[n]});return gr(t,...e)}const xc={"en-US":gr(X.enUS,N1),"fr-FR":gr(X.frFR,R1)},B1=t=>v.jsx(X.CunninghamProvider,{customLocales:xc,...t}),L1="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",j1="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",Sc=({disabled:t,onClick:e})=>v.jsx(X.Button,{disabled:t,className:"pro-connect-button",onClick:e,style:{backgroundImage:`url("${t?j1:L1}")`}});u.createContext(null);u.createContext(null);u.createContext(null);u.createContext(null);u.createContext(null);const K1=u.createContext({}),ne=typeof document<"u"?u.useLayoutEffect:()=>{};var Xi;const H1=(Xi=u.useInsertionEffect)!==null&&Xi!==void 0?Xi:ne;function be(t){const e=u.useRef(null);return H1(()=>{e.current=t},[t]),u.useCallback((...r)=>{const n=e.current;return n==null?void 0:n(...r)},[])}function V1(t){let[e,r]=u.useState(t),n=u.useRef(null),i=be(()=>{if(!n.current)return;let a=n.current.next();if(a.done){n.current=null;return}e===a.value?i():r(a.value)});ne(()=>{n.current&&i()});let o=be(a=>{n.current=a(e),i()});return[e,o]}const Zn={prefix:String(Math.round(Math.random()*1e10)),current:0},Fc=u.createContext(Zn),z1=u.createContext(!1);let U1=!!(typeof window<"u"&&window.document&&window.document.createElement),Ji=new WeakMap;function W1(t=!1){let e=u.useContext(Fc),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 a=Ji.get(o);a==null?Ji.set(o,{id:e.current,state:o.memoizedState}):o.memoizedState!==a.state&&(e.current=a.id,Ji.delete(o))}r.current=++e.current}return r.current}function Z1(t){let e=u.useContext(Fc);e===Zn&&!U1&&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=W1(!!t),n=e===Zn&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${e.prefix}`;return t||`${n}-${r}`}function G1(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 q1=typeof u.useId=="function"?G1:Z1;function Y1(){return!1}function X1(){return!0}function J1(t){return()=>{}}function sn(){return typeof u.useSyncExternalStore=="function"?u.useSyncExternalStore(J1,Y1,X1):u.useContext(z1)}let Q1=!!(typeof window<"u"&&window.document&&window.document.createElement),sr=new Map,Br;typeof FinalizationRegistry<"u"&&(Br=new FinalizationRegistry(t=>{sr.delete(t)}));function Se(t){let[e,r]=u.useState(t),n=u.useRef(null),i=q1(e),o=u.useRef(null);if(Br&&Br.register(o,i),Q1){const a=sr.get(i);a&&!a.includes(n)?a.push(n):sr.set(i,[n])}return ne(()=>{let a=i;return()=>{Br&&Br.unregister(o),sr.delete(a)}},[i]),u.useEffect(()=>{let a=n.current;return a&&r(a),()=>{a&&(n.current=null)}}),i}function e5(t,e){if(t===e)return t;let r=sr.get(t);if(r)return r.forEach(i=>i.current=e),e;let n=sr.get(e);return n?(n.forEach(i=>i.current=t),t):e}function ht(t=[]){let e=Se(),[r,n]=V1(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 gt(...t){return(...e)=>{for(let r of t)typeof r=="function"&&r(...e)}}const ae=t=>{var e;return(e=t==null?void 0:t.ownerDocument)!==null&&e!==void 0?e:document},Te=t=>t&&"window"in t&&t.window===t?t:ae(t).defaultView||window;function t5(t){return t!==null&&typeof t=="object"&&"nodeType"in t&&typeof t.nodeType=="number"}function r5(t){return t5(t)&&t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in t}let n5=!1;function pi(){return n5}function ue(t,e){if(!pi())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:r5(r)?r=r.host:r=r.parentNode}return!1}const De=(t=document)=>{var e;if(!pi())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 pi()&&t.target.shadowRoot&&t.composedPath?t.composedPath()[0]:t.target}class i5{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 a=n,l=this._doc.createTreeWalker(a,this.whatToShow,{acceptNode:this._acceptNode});r.push(l),l.currentNode=i,this._currentSetFor.add(l),n=i=a.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 a=this.lastChild();return a&&(this.currentNode=a),a}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=a=>{if(a.nodeType===Node.ELEMENT_NODE){const s=a.shadowRoot;if(s){const c=this._doc.createTreeWalker(s,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(c),NodeFilter.FILTER_ACCEPT}else{var l;if(typeof this.filter=="function")return this.filter(a);if(!((l=this.filter)===null||l===void 0)&&l.acceptNode)return this.filter.acceptNode(a);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 a=this._doc.createTreeWalker(o,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(a)}}}function o5(t,e,r,n){return pi()?new i5(t,e,r,n):t.createTreeWalker(e,r,n)}function $c(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=$c(t[e]))&&(n&&(n+=" "),n+=r)}else for(r in t)t[r]&&(n&&(n+=" "),n+=r);return n}function ve(){for(var t,e,r=0,n="",i=arguments.length;r<i;r++)(t=arguments[r])&&(e=$c(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],a=n[i];typeof o=="function"&&typeof a=="function"&&i[0]==="o"&&i[1]==="n"&&i.charCodeAt(2)>=65&&i.charCodeAt(2)<=90?e[i]=gt(o,a):(i==="className"||i==="UNSAFE_className")&&typeof o=="string"&&typeof a=="string"?e[i]=ve(o,a):i==="id"&&o&&a?e.id=e5(o,a):e[i]=a!==void 0?a:o}}return e}function ka(...t){return t.length===1&&t[0]?t[0]:e=>{let r=!1;const n=t.map(i=>{const o=Ml(i,e);return r||(r=typeof o=="function"),o});if(r)return()=>{n.forEach((i,o)=>{typeof i=="function"?i():Ml(t[o],null)})}}}function Ml(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}const a5=new Set(["id"]),l5=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),s5=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),c5=new Set(["dir","lang","hidden","inert","translate"]),Rl=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"]),u5=/^(data-.*)$/;function he(t,e={}){let{labelable:r,isLink:n,global:i,events:o=i,propNames:a}=e,l={};for(const s in t)Object.prototype.hasOwnProperty.call(t,s)&&(a5.has(s)||r&&l5.has(s)||n&&s5.has(s)||i&&c5.has(s)||o&&Rl.has(s)||s.endsWith("Capture")&&Rl.has(s.slice(0,-7))||a!=null&&a.has(s)||u5.test(s))&&(l[s]=t[s]);return l}function Ve(t){if(d5())t.focus({preventScroll:!0});else{let e=f5(t);t.focus(),h5(e)}}let hn=null;function d5(){if(hn==null){hn=!1;try{document.createElement("div").focus({get preventScroll(){return hn=!0,!0}})}catch{}}return hn}function f5(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 h5(t){for(let{element:e,scrollTop:r,scrollLeft:n}of t)e.scrollTop=r,e.scrollLeft=n}function gi(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 Ia(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 vt=rt(function(){return Ia(/^Mac/i)}),p5=rt(function(){return Ia(/^iPhone/i)}),_c=rt(function(){return Ia(/^iPad/i)||vt()&&navigator.maxTouchPoints>1}),vi=rt(function(){return p5()||_c()}),g5=rt(function(){return vt()||vi()}),Oa=rt(function(){return gi(/AppleWebKit/i)&&!Pc()}),Pc=rt(function(){return gi(/Chrome/i)}),Na=rt(function(){return gi(/Android/i)}),v5=rt(function(){return gi(/Firefox/i)}),b5=u.createContext({isNative:!0,open:C5,useHref:t=>t});function bi(){return u.useContext(b5)}function m5(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 Pt(t,e,r=!0){var n,i;let{metaKey:o,ctrlKey:a,altKey:l,shiftKey:s}=e;v5()&&(!((i=window.event)===null||i===void 0||(n=i.type)===null||n===void 0)&&n.startsWith("key"))&&t.target==="_blank"&&(vt()?o=!0:a=!0);let c=Oa()&&vt()&&!_c()&&process.env.NODE_ENV!=="test"?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:o,ctrlKey:a,altKey:l,shiftKey:s}):new MouseEvent("click",{metaKey:o,ctrlKey:a,altKey:l,shiftKey:s,bubbles:!0,cancelable:!0});Pt.isOpening=r,Ve(t),t.dispatchEvent(c),Pt.isOpening=!1}Pt.isOpening=!1;function y5(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 C5(t,e){y5(t,r=>Pt(r,e))}function Ma(t){let e=bi();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 E5(t,e,r,n){!e.isNative&&t.currentTarget instanceof HTMLAnchorElement&&t.currentTarget.href&&!t.isDefaultPrevented()&&m5(t.currentTarget,t)&&r&&(t.preventDefault(),e.open(t.currentTarget,t,r,n))}let ut=new Map,zo=new Set;function Bl(){if(typeof window>"u")return;function t(n){return"propertyName"in n}let e=n=>{if(!t(n)||!n.target)return;let i=ut.get(n.target);i||(i=new Set,ut.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=ut.get(n.target);if(i&&(i.delete(n.propertyName),i.size===0&&(n.target.removeEventListener("transitioncancel",r),ut.delete(n.target)),ut.size===0)){for(let o of zo)o();zo.clear()}};document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",r)}typeof document<"u"&&(document.readyState!=="loading"?Bl():document.addEventListener("DOMContentLoaded",Bl));function w5(){for(const[t]of ut)"isConnected"in t&&!t.isConnected&&ut.delete(t)}function Ac(t){requestAnimationFrame(()=>{w5(),ut.size===0?t():zo.add(t)})}function mi(){let t=u.useRef(new Map),e=u.useCallback((i,o,a,l)=>{let s=l!=null&&l.once?(...c)=>{t.current.delete(a),a(...c)}:a;t.current.set(a,{type:o,eventTarget:i,fn:s,options:l}),i.addEventListener(o,s,l)},[]),r=u.useCallback((i,o,a,l)=>{var s;let c=((s=t.current.get(a))===null||s===void 0?void 0:s.fn)||a;i.removeEventListener(o,c,l),t.current.delete(a)},[]),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 yi(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,a=o(i);return()=>{typeof a=="function"?a():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 Ll(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 D5(){return typeof window.ResizeObserver<"u"}function Uo(t){const{ref:e,box:r,onResize:n}=t;u.useEffect(()=>{let i=e==null?void 0:e.current;if(i)if(D5()){const o=new window.ResizeObserver(a=>{a.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 Tc(t,e){ne(()=>{if(t&&t.ref&&e)return t.ref.current=e.current,()=>{t.ref&&(t.ref.current=null)}})}function Zr(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 kc(t,e){let r=t;for(Zr(r,e)&&(r=r.parentElement);r&&!Zr(r,e);)r=r.parentElement;return r||document.scrollingElement||document.documentElement}function x5(t,e){const r=[];for(;t&&t!==document.documentElement;)Zr(t,e)&&r.push(t),t=t.parentElement;return r}let S5=0;const Qi=new Map;function F5(t){let[e,r]=u.useState();return ne(()=>{if(!t)return;let n=Qi.get(t);if(n)r(n.element.id);else{let i=`react-aria-description-${S5++}`;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},Qi.set(t,n)}return n.refCount++,()=>{n&&--n.refCount===0&&(n.element.remove(),Qi.delete(t))}},[t]),{"aria-describedby":t?e:void 0}}function pn(t,e,r,n){let i=be(r),o=r==null;u.useEffect(()=>{if(o||!t.current)return;let a=t.current;return a.addEventListener(e,i,n),()=>{a.removeEventListener(e,i,n)}},[t,e,n,o,i])}function Ic(t,e){let r=jl(t,e,"left"),n=jl(t,e,"top"),i=e.offsetWidth,o=e.offsetHeight,a=t.scrollLeft,l=t.scrollTop,{borderTopWidth:s,borderLeftWidth:c,scrollPaddingTop:d,scrollPaddingRight:f,scrollPaddingBottom:p,scrollPaddingLeft:g}=getComputedStyle(t),y=a+parseInt(c,10),h=l+parseInt(s,10),b=y+t.clientWidth,m=h+t.clientHeight,C=parseInt(d,10)||0,E=parseInt(p,10)||0,F=parseInt(f,10)||0,x=parseInt(g,10)||0;r<=a+x?a=r-parseInt(c,10)-x:r+i>b-F&&(a+=r+i-b+F),n<=h+C?l=n-parseInt(s,10)-C:n+o>m-E&&(l+=n+o-m+E),t.scrollLeft=a,t.scrollTop=l}function jl(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 Kl(t,e){if(t&&document.contains(t)){let a=document.scrollingElement||document.documentElement;if(window.getComputedStyle(a).overflow==="hidden"){let s=x5(t);for(let c of s)Ic(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 Wo(t){return t.pointerType===""&&t.isTrusted?!0:Na()&&t.pointerType?t.type==="click"&&t.buttons===1:t.detail===0&&!t.pointerType}function $5(t){return!Na()&&t.width===0&&t.height===0||t.width===1&&t.height===1&&t.pressure===0&&t.detail===0&&t.pointerType==="mouse"}function _5(t,e,r){let n=be(()=>{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 P5(t){const e=u.version.split(".");return parseInt(e[0],10)>=19?t:t?"true":void 0}const A5="react-aria-clear-focus",T5="react-aria-focus";function rr(t){return vt()?t.metaKey:t.ctrlKey}function k5(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]),Oc(t,i,u.useCallback(()=>n(!1),[])),i}function I5(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 Oc(t,i,u.useCallback(()=>{n(o=>o==="exiting"?"closed":o)},[])),i}function Oc(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||Mt.flushSync(()=>{r()})}).catch(()=>{}),()=>{i=!0}}},[t,e,r])}const O5=typeof Element<"u"&&"checkVisibility"in Element.prototype;function N5(t){const e=Te(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:a,visibility:l}=o(t);i=a!=="none"&&l!=="hidden"&&l!=="collapse"}return i}function M5(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 Ra(t,e){return O5?t.checkVisibility()&&!t.closest("[data-react-aria-prevent-focus]"):t.nodeName!=="#comment"&&N5(t)&&M5(t,e)&&(!t.parentElement||Ra(t.parentElement,t))}const Ba=["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"],R5=Ba.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";Ba.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const B5=Ba.join(':not([hidden]):not([tabindex="-1"]),');function Nc(t){return t.matches(R5)&&Ra(t)&&!Mc(t)}function L5(t){return t.matches(B5)&&Ra(t)&&!Mc(t)}function Mc(t){let e=t;for(;e!=null;){if(e instanceof e.ownerDocument.defaultView.HTMLElement&&e.inert)return!0;e=e.parentElement}return!1}function Ci(t,e,r){let[n,i]=u.useState(t||e),o=u.useRef(t!==void 0),a=t!==void 0;u.useEffect(()=>{let c=o.current;c!==a&&process.env.NODE_ENV!=="production"&&console.warn(`WARN: A component changed from ${c?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}.`),o.current=a},[a]);let l=a?t:n,s=u.useCallback((c,...d)=>{let f=(p,...g)=>{r&&(Object.is(l,p)||r(p,...g)),a||(l=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(a?l:g,...y);return f(h,...d),a?g:h})):(a||i(c),f(c,...d))},[a,l,r]);return[l,s]}function Zo(t,e=-1/0,r=1/0){return Math.min(Math.max(t,e),r)}const Gr=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:a,values:l}=t;return u.useMemo(()=>{let s,c,d;return typeof e=="function"?s=e({...l,defaultClassName:i}):s=e,typeof r=="function"?c=r({...l,defaultStyle:a||{}}):c=r,typeof n=="function"?d=n({...l,defaultChildren:o}):n==null?d=o:d=n,{className:s??i,style:c||a?{...a,...c}:void 0,children:d??o,"data-rac":""}},[e,r,n,i,o,a,l])}function Ei(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||Gr;if(!r.slots[n]){let i=new Intl.ListFormat().format(Object.keys(r.slots).map(a=>`"${a}"`)),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=Ei(r,t.slot)||{},{ref:i,...o}=n,a=nt(u.useMemo(()=>ka(e,i),[e,i])),l=ie(o,t);return"style"in o&&o.style&&"style"in t&&t.style&&(typeof o.style=="function"||typeof t.style=="function"?l.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}}:l.style={...o.style,...t.style}),[l,a]}function La(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 j5(t){const e=/^(data-.*)$/;let r={};for(const n in t)e.test(n)||(r[n]=t[n]);return r}class ja{get childNodes(){throw new Error("childNodes is not supported")}clone(){let e=new ja(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 Ka{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 Ka,n=null;for(let i of this)if(i.type==="section"&&i.hasChildNodes){let o=i.clone(),a=null;for(let l of this.getChildren(i.key))if(Hl(l,e,this,r)){let s=l.clone();a==null&&(o.firstChildKey=s.key),r.firstKey==null&&(r.firstKey=o.key),a&&a.parentKey===s.parentKey?(a.nextKey=s.key,s.prevKey=a.key):s.prevKey=null,s.nextKey=null,r.addNode(s),a=s}a&&(a.type!=="header"?(o.lastChildKey=a.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(a.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();Hl(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 Hl(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 Rc{*[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 cr extends Rc{get index(){return this._index}set index(e){this._index=e,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof cr?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 cr?this.parentNode.node.key:null;var a;o.prevKey=(a=(e=this.previousVisibleSibling)===null||e===void 0?void 0:e.node.key)!==null&&a!==void 0?a:null;var l;o.nextKey=(l=i==null?void 0:i.node.key)!==null&&l!==void 0?l: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:a,textValue:l,id:s,...c}=e;if(c.ref=r,o.props=c,o.rendered=n,o.render=i,o.value=a,o.textValue=l||(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 a=e.previousVisibleSibling,l=e.nextVisibleSibling;a&&e.ownerDocument.markDirty(a),l&&e.ownerDocument.markDirty(l),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 ja(e,`react-aria-${++r.nodeId}`)}}class K5 extends Rc{get isConnected(){return this.isMounted}createElement(e){return new cr(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 cr&&(!o.isConnected||o.isHidden)?this.removeNode(o):o.updateChildIndices();for(let o of this.dirtyNodes)o instanceof cr&&(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 Bc(t){let{children:e,items:r,idScope:n,addIdAndValue:i,dependencies:o=[]}=t,a=u.useMemo(()=>new WeakMap,o);return u.useMemo(()=>{if(r&&typeof e=="function"){let c=[];for(let d of r){let f=a.get(d);if(!f){f=e(d);var l,s;let p=(s=(l=f.props.id)!==null&&l!==void 0?l: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}),a.set(d,f)}c.push(f)}return c}else if(typeof e!="function")return e},[e,r,a,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 H5(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 Ha(t){let e=(r,n)=>u.useContext(Gn)?null:t(r,n);return e.displayName=t.displayName||t.name,u.forwardRef(e)}function V5(){return u.useContext(Gn)}function Va(t){let e=t;return e.nativeEvent=t,e.isDefaultPrevented=()=>e.defaultPrevented,e.isPropagationStopped=()=>e.cancelBubble,e.persist=()=>{},e}function Lc(t,e){Object.defineProperty(t,"target",{value:e}),Object.defineProperty(t,"currentTarget",{value:e})}function jc(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=be(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=a=>{if(e.current.isFocused=!1,i.disabled){let l=Va(a);r(l)}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 a;(a=e.current.observer)===null||a===void 0||a.disconnect();let l=i===document.activeElement?null:document.activeElement;i.dispatchEvent(new FocusEvent("blur",{relatedTarget:l})),i.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:l}))}}),e.current.observer.observe(i,{attributes:!0,attributeFilter:["disabled"]})}},[r])}let qn=!1;function Vl(t){for(;t&&!Nc(t);)t=t.parentElement;let e=Te(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()))},a=d=>{(d.target===t||n)&&d.stopImmediatePropagation()},l=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",l,!0),e.addEventListener("focus",a,!0);let s=()=>{cancelAnimationFrame(c),e.removeEventListener("blur",i,!0),e.removeEventListener("focusout",o,!0),e.removeEventListener("focusin",l,!0),e.removeEventListener("focus",a,!0),qn=!1,n=!1},c=requestAnimationFrame(s);return s}let or="default",Go="",On=new WeakMap;function zl(t){if(vi()){if(or==="default"){const e=ae(t);Go=e.documentElement.style.webkitUserSelect,e.documentElement.style.webkitUserSelect="none"}or="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 eo(t){if(vi()){if(or!=="disabled")return;or="restoring",setTimeout(()=>{Ac(()=>{if(or==="restoring"){const e=ae(t);e.documentElement.style.webkitUserSelect==="none"&&(e.documentElement.style.webkitUserSelect=Go||""),Go="",or="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 za=u.createContext({register:()=>{}});za.displayName="PressResponderContext";function z5(t,e){return e.get?e.get.call(t):e.value}function Kc(t,e,r){if(!e.has(t))throw new TypeError("attempted to "+r+" private field on non-instance");return e.get(t)}function U5(t,e){var r=Kc(t,e,"get");return z5(t,r)}function W5(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Z5(t,e,r){W5(t,e),e.set(t,r)}function G5(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 Ul(t,e,r){var n=Kc(t,e,"set");return G5(t,n,r),r}function q5(t){let e=u.useContext(za);if(e){let{register:r,...n}=e;t=ie(n,t),r()}return Tc(e,t.ref),t}var gn=new WeakMap;class vn{continuePropagation(){Ul(this,gn,!1)}get shouldStopPropagation(){return U5(this,gn)}constructor(e,r,n,i){Z5(this,gn,{writable:!0,value:void 0}),Ul(this,gn,!0);var o;let a=(o=i==null?void 0:i.target)!==null&&o!==void 0?o:n.currentTarget;const l=a==null?void 0:a.getBoundingClientRect();let s,c=0,d,f=null;n.clientX!=null&&n.clientY!=null&&(d=n.clientX,f=n.clientY),l&&(d!=null&&f!=null?(s=d-l.left,c=f-l.top):(s=l.width/2,c=l.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 Wl=Symbol("linkClicked"),Zl="react-aria-pressable-style",Gl="data-react-aria-pressable";function wi(t){let{onPress:e,onPressChange:r,onPressStart:n,onPressEnd:i,onPressUp:o,onClick:a,isDisabled:l,isPressed:s,preventFocusOnPress:c,shouldCancelOnPointerExit:d,allowTextSelectionOnPress:f,ref:p,...g}=q5(t),[y,h]=u.useState(!1),b=u.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:m,removeAllGlobalListeners:C}=mi(),E=be((D,B)=>{let U=b.current;if(l||U.didFirePressStart)return!1;let k=!0;if(U.isTriggeringEvent=!0,n){let W=new vn("pressstart",B,D);n(W),k=W.shouldStopPropagation}return r&&r(!0),U.isTriggeringEvent=!1,U.didFirePressStart=!0,h(!0),k}),F=be((D,B,U=!0)=>{let k=b.current;if(!k.didFirePressStart)return!1;k.didFirePressStart=!1,k.isTriggeringEvent=!0;let W=!0;if(i){let _=new vn("pressend",B,D);i(_),W=_.shouldStopPropagation}if(r&&r(!1),h(!1),e&&U&&!l){let _=new vn("press",B,D);e(_),W&&(W=_.shouldStopPropagation)}return k.isTriggeringEvent=!1,W}),x=be((D,B)=>{let U=b.current;if(l)return!1;if(o){U.isTriggeringEvent=!0;let k=new vn("pressup",B,D);return o(k),U.isTriggeringEvent=!1,k.shouldStopPropagation}return!0}),w=be(D=>{let B=b.current;if(B.isPressed&&B.target){B.didFirePressStart&&B.pointerType!=null&&F(mt(B.target,D),B.pointerType,!1),B.isPressed=!1,B.isOverTarget=!1,B.activePointerId=null,B.pointerType=null,C(),f||eo(B.target);for(let U of B.disposables)U();B.disposables=[]}}),S=be(D=>{d&&w(D)}),O=be(D=>{a==null||a(D)}),K=be((D,B)=>{if(a){let U=new MouseEvent("click",D);Lc(U,B),a(Va(U))}}),H=u.useMemo(()=>{let D=b.current,B={onKeyDown(k){if(to(k.nativeEvent,k.currentTarget)&&ue(k.currentTarget,oe(k.nativeEvent))){var W;Xl(oe(k.nativeEvent),k.key)&&k.preventDefault();let _=!0;if(!D.isPressed&&!k.repeat){D.target=k.currentTarget,D.isPressed=!0,D.pointerType="keyboard",_=E(k,"keyboard");let I=k.currentTarget,z=L=>{to(L,I)&&!L.repeat&&ue(I,oe(L))&&D.target&&x(mt(D.target,L),"keyboard")};m(ae(k.currentTarget),"keyup",gt(z,U),!0)}_&&k.stopPropagation(),k.metaKey&&vt()&&((W=D.metaKeyEvents)===null||W===void 0||W.set(k.key,k.nativeEvent))}else k.key==="Meta"&&(D.metaKeyEvents=new Map)},onClick(k){if(!(k&&!ue(k.currentTarget,oe(k.nativeEvent)))&&k&&k.button===0&&!D.isTriggeringEvent&&!Pt.isOpening){let W=!0;if(l&&k.preventDefault(),!D.ignoreEmulatedMouseEvents&&!D.isPressed&&(D.pointerType==="virtual"||Wo(k.nativeEvent))){let _=E(k,"virtual"),I=x(k,"virtual"),z=F(k,"virtual");O(k),W=_&&I&&z}else if(D.isPressed&&D.pointerType!=="keyboard"){let _=D.pointerType||k.nativeEvent.pointerType||"virtual",I=x(mt(k.currentTarget,k),_),z=F(mt(k.currentTarget,k),_,!0);W=I&&z,D.isOverTarget=!1,O(k),w(k)}D.ignoreEmulatedMouseEvents=!1,W&&k.stopPropagation()}}},U=k=>{var W;if(D.isPressed&&D.target&&to(k,D.target)){var _;Xl(oe(k),k.key)&&k.preventDefault();let z=oe(k),L=ue(D.target,oe(k));F(mt(D.target,k),"keyboard",L),L&&K(k,D.target),C(),k.key!=="Enter"&&Ua(D.target)&&ue(D.target,z)&&!k[Wl]&&(k[Wl]=!0,Pt(D.target,k,!1)),D.isPressed=!1,(_=D.metaKeyEvents)===null||_===void 0||_.delete(k.key)}else if(k.key==="Meta"&&(!((W=D.metaKeyEvents)===null||W===void 0)&&W.size)){var I;let z=D.metaKeyEvents;D.metaKeyEvents=void 0;for(let L of z.values())(I=D.target)===null||I===void 0||I.dispatchEvent(new KeyboardEvent("keyup",L))}};if(typeof PointerEvent<"u"){B.onPointerDown=_=>{if(_.button!==0||!ue(_.currentTarget,oe(_.nativeEvent)))return;if($5(_.nativeEvent)){D.pointerType="virtual";return}D.pointerType=_.pointerType;let I=!0;if(!D.isPressed){D.isPressed=!0,D.isOverTarget=!0,D.activePointerId=_.pointerId,D.target=_.currentTarget,f||zl(D.target),I=E(_,D.pointerType);let z=oe(_.nativeEvent);"releasePointerCapture"in z&&z.releasePointerCapture(_.pointerId),m(ae(_.currentTarget),"pointerup",k,!1),m(ae(_.currentTarget),"pointercancel",W,!1)}I&&_.stopPropagation()},B.onMouseDown=_=>{if(ue(_.currentTarget,oe(_.nativeEvent))&&_.button===0){if(c){let I=Vl(_.target);I&&D.disposables.push(I)}_.stopPropagation()}},B.onPointerUp=_=>{!ue(_.currentTarget,oe(_.nativeEvent))||D.pointerType==="virtual"||_.button===0&&!D.isPressed&&x(_,D.pointerType||_.pointerType)},B.onPointerEnter=_=>{_.pointerId===D.activePointerId&&D.target&&!D.isOverTarget&&D.pointerType!=null&&(D.isOverTarget=!0,E(mt(D.target,_),D.pointerType))},B.onPointerLeave=_=>{_.pointerId===D.activePointerId&&D.target&&D.isOverTarget&&D.pointerType!=null&&(D.isOverTarget=!1,F(mt(D.target,_),D.pointerType,!1),S(_))};let k=_=>{if(_.pointerId===D.activePointerId&&D.isPressed&&_.button===0&&D.target){if(ue(D.target,oe(_))&&D.pointerType!=null){let I=!1,z=setTimeout(()=>{D.isPressed&&D.target instanceof HTMLElement&&(I?w(_):(Ve(D.target),D.target.click()))},80);m(_.currentTarget,"click",()=>I=!0,!0),D.disposables.push(()=>clearTimeout(z))}else w(_);D.isOverTarget=!1}},W=_=>{w(_)};B.onDragStart=_=>{ue(_.currentTarget,oe(_.nativeEvent))&&w(_)}}else if(process.env.NODE_ENV==="test"){B.onMouseDown=_=>{if(_.button!==0||!ue(_.currentTarget,oe(_.nativeEvent)))return;if(D.ignoreEmulatedMouseEvents){_.stopPropagation();return}if(D.isPressed=!0,D.isOverTarget=!0,D.target=_.currentTarget,D.pointerType=Wo(_.nativeEvent)?"virtual":"mouse",Mt.flushSync(()=>E(_,D.pointerType))&&_.stopPropagation(),c){let z=Vl(_.target);z&&D.disposables.push(z)}m(ae(_.currentTarget),"mouseup",k,!1)},B.onMouseEnter=_=>{if(!ue(_.currentTarget,oe(_.nativeEvent)))return;let I=!0;D.isPressed&&!D.ignoreEmulatedMouseEvents&&D.pointerType!=null&&(D.isOverTarget=!0,I=E(_,D.pointerType)),I&&_.stopPropagation()},B.onMouseLeave=_=>{if(!ue(_.currentTarget,oe(_.nativeEvent)))return;let I=!0;D.isPressed&&!D.ignoreEmulatedMouseEvents&&D.pointerType!=null&&(D.isOverTarget=!1,I=F(_,D.pointerType,!1),S(_)),I&&_.stopPropagation()},B.onMouseUp=_=>{ue(_.currentTarget,oe(_.nativeEvent))&&!D.ignoreEmulatedMouseEvents&&_.button===0&&!D.isPressed&&x(_,D.pointerType||"mouse")};let k=_=>{if(_.button===0){if(D.ignoreEmulatedMouseEvents){D.ignoreEmulatedMouseEvents=!1;return}D.target&&D.target.contains(_.target)&&D.pointerType!=null||w(_),D.isOverTarget=!1}};B.onTouchStart=_=>{if(!ue(_.currentTarget,oe(_.nativeEvent)))return;let I=Y5(_.nativeEvent);if(!I)return;D.activePointerId=I.identifier,D.ignoreEmulatedMouseEvents=!0,D.isOverTarget=!0,D.isPressed=!0,D.target=_.currentTarget,D.pointerType="touch",f||zl(D.target),E(at(D.target,_),D.pointerType)&&_.stopPropagation(),m(Te(_.currentTarget),"scroll",W,!0)},B.onTouchMove=_=>{if(!ue(_.currentTarget,oe(_.nativeEvent)))return;if(!D.isPressed){_.stopPropagation();return}let I=ql(_.nativeEvent,D.activePointerId),z=!0;I&&Yl(I,_.currentTarget)?!D.isOverTarget&&D.pointerType!=null&&(D.isOverTarget=!0,z=E(at(D.target,_),D.pointerType)):D.isOverTarget&&D.pointerType!=null&&(D.isOverTarget=!1,z=F(at(D.target,_),D.pointerType,!1),S(at(D.target,_))),z&&_.stopPropagation()},B.onTouchEnd=_=>{if(!ue(_.currentTarget,oe(_.nativeEvent)))return;if(!D.isPressed){_.stopPropagation();return}let I=ql(_.nativeEvent,D.activePointerId),z=!0;I&&Yl(I,_.currentTarget)&&D.pointerType!=null?(x(at(D.target,_),D.pointerType),z=F(at(D.target,_),D.pointerType),K(_.nativeEvent,D.target)):D.isOverTarget&&D.pointerType!=null&&(z=F(at(D.target,_),D.pointerType,!1)),z&&_.stopPropagation(),D.isPressed=!1,D.activePointerId=null,D.isOverTarget=!1,D.ignoreEmulatedMouseEvents=!0,D.target&&!f&&eo(D.target),C()},B.onTouchCancel=_=>{ue(_.currentTarget,oe(_.nativeEvent))&&(_.stopPropagation(),D.isPressed&&w(at(D.target,_)))};let W=_=>{D.isPressed&&ue(oe(_),D.target)&&w({currentTarget:D.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};B.onDragStart=_=>{ue(_.currentTarget,oe(_.nativeEvent))&&w(_)}}return B},[m,l,c,C,f,w,S,F,E,x,O,K]);return u.useEffect(()=>{if(!p||process.env.NODE_ENV==="test")return;const D=ae(p.current);if(!D||!D.head||D.getElementById(Zl))return;const B=D.createElement("style");B.id=Zl,B.textContent=`
23
23
  @layer {
24
24
  [${Gl}] {
25
25
  touch-action: pan-x pan-y pinch-zoom;
@@ -41,7 +41,7 @@ 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 ts;function hh(){return ts||(ts=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 b=y();o(h,b)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),f=!0)}b=a({inst:{value:h,getSnapshot:y}});var m=b[0].inst,C=b[1];return s(function(){m.value=h,m.getSnapshot=y,r(m)&&C({inst:m})},[g,h,y]),l(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,a=i.useState,l=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;no.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())}()),no}var rs;function ph(){return rs||(rs=1,process.env.NODE_ENV==="production"?yn.exports=fh():yn.exports=hh()),yn.exports}var Za=ph();const Xc=u.createContext(!1),qr=u.createContext(null);function Si(t){if(u.useContext(qr))return t.content;let{collection:r,document:n}=mh(t.createCollection);return u.createElement(u.Fragment,null,u.createElement(H5,null,u.createElement(qr.Provider,{value:n},t.content)),u.createElement(gh,{render:t.children,collection:r}))}function gh({collection:t,render:e}){return e(t)}function vh(t,e,r){let n=sn(),i=u.useRef(n);i.current=n;let o=u.useCallback(()=>i.current?r():e(),[e,r]);return Za.useSyncExternalStore(t,o)}const bh=typeof u.useSyncExternalStore=="function"?u.useSyncExternalStore:vh;function mh(t){let[e]=u.useState(()=>new K5((t==null?void 0:t())||new Ka)),r=u.useCallback(a=>e.subscribe(a),[e]),n=u.useCallback(()=>{let a=e.getCollection();return e.isSSR&&e.resetAfterSSR(),a},[e]),i=u.useCallback(()=>(e.isSSR=!0,e.getCollection()),[e]),o=bh(r,n,i);return ne(()=>(e.isMounted=!0,()=>{e.isMounted=!1}),[e]),{collection:o,document:e}}const ea=u.createContext(null);function yh(t,e,r,n,i,o){let a=u.useCallback(s=>{s==null||s.setProps(e,r,n,o)},[e,r,n,o]),l=u.useContext(ea);if(l){let s=l.ownerDocument.nodesByProps.get(e);return s||(s=l.ownerDocument.createElement(t),s.setProps(e,r,n,o),l.appendChild(s),l.ownerDocument.updateCollection(),l.ownerDocument.nodesByProps.set(e,s)),i?u.createElement(ea.Provider,{value:s},i):null}return u.createElement(t,{ref:a},i)}function Fi(t,e){let r=({node:i})=>e(i.props,i.props.ref,i),n=u.forwardRef((i,o)=>{let a=u.useContext(Jo);if(!u.useContext(Xc)){if(e.length>=3)throw new Error(e.name+" cannot be rendered outside a collection.");return e(i,o)}return yh(t,i,o,"children"in i?i.children:null,null,s=>u.createElement(Jo.Provider,{value:a},u.createElement(r,{node:s})))});return n.displayName=e.name,n}function Ch(t){return Bc({...t,addIdAndValue:!0})}const ns=u.createContext(null);function Ga(t){let e=u.useContext(ns),r=((e==null?void 0:e.dependencies)||[]).concat(t.dependencies),n=t.idScope||(e==null?void 0:e.idScope),i=Ch({...t,idScope:n,dependencies:r});return u.useContext(qr)&&(i=u.createElement(Eh,null,i)),e=u.useMemo(()=>({dependencies:r,idScope:n}),[n,...r]),u.createElement(ns.Provider,{value:e},i)}function Eh({children:t}){let e=u.useContext(qr),r=u.useMemo(()=>u.createElement(qr.Provider,{value:null},u.createElement(Xc.Provider,{value:!0},t)),[t]);return sn()?u.createElement(ea.Provider,{value:e},r):Mt.createPortal(r,e)}const wh=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),Dh=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function xh(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 wh.has(r.script)}let e=t.split("-")[0];return Dh.has(e)}const Sh=Symbol.for("react-aria.i18n.locale");function Jc(){let t=typeof window<"u"&&window[Sh]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([t])}catch{t="en-US"}return{locale:t,direction:xh(t)?"rtl":"ltr"}}let ta=Jc(),Lr=new Set;function is(){ta=Jc();for(let t of Lr)t(ta)}function Fh(){let t=sn(),[e,r]=u.useState(ta);return u.useEffect(()=>(Lr.size===0&&window.addEventListener("languagechange",is),Lr.add(r),()=>{Lr.delete(r),Lr.size===0&&window.removeEventListener("languagechange",is)}),[]),t?{locale:"en-US",direction:"ltr"}:e}const $h=u.createContext(null);function Bt(){let t=Fh();return u.useContext($h)||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 Qc(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 _h(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 Ph=Symbol.for("react-aria.i18n.locale"),Ah=Symbol.for("react-aria.i18n.strings");let zt;class $i{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=Th(e,this.strings,this.defaultLocale),this.strings[e]=r),r}static getGlobalDictionaryForPackage(e){if(typeof window>"u")return null;let r=window[Ph];if(zt===void 0){let i=window[Ah];if(!i)return null;zt={};for(let o in i)zt[o]=new $i({[r]:i[o]},r)}let n=zt==null?void 0:zt[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 Th(t,e,r="en-US"){if(e[t])return e[t];let n=kh(t);if(e[n])return e[n];for(let i in e)if(i.startsWith(n+"-"))return e[i];return e[r]}function kh(t){return Intl.Locale?new Intl.Locale(t).language:t.split("-")[0]}const os=new Map,as=new Map;class Ih{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,a=os.get(o);a||(a=new Intl.PluralRules(this.locale,{type:n}),os.set(o,a));let l=a.select(e);return i=r[l]||r.other,typeof i=="function"?i():i}number(e){let r=as.get(this.locale);return r||(r=new Intl.NumberFormat(this.locale),as.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 ls=new WeakMap;function Oh(t){let e=ls.get(t);return e||(e=new $i(t),ls.set(t,e)),e}function Nh(t,e){return e&&$i.getGlobalDictionaryForPackage(e)||Oh(t)}function eu(t,e){let{locale:r}=Bt(),n=Nh(t,e);return u.useMemo(()=>new Ih(r,n),[r,n])}let io=new Map;function qa(t){let{locale:e}=Bt(),r=e+(t?Object.entries(t).sort((i,o)=>i[0]<o[0]?-1:1).join():"");if(io.has(r))return io.get(r);let n=new Intl.Collator(e,t);return io.set(r,n),n}function Mh(t,e){let{elementType:r="button",isDisabled:n,onPress:i,onPressStart:o,onPressEnd:a,onPressUp:l,onPressChange:s,preventFocusOnPress:c,allowFocusWhenDisabled:d,onClick:f,href:p,target:g,rel:y,type:h="button"}=t,b;r==="button"?b={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}:b={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}=wi({onPressStart:o,onPressEnd:a,onPressChange:s,onPress:i,onPressUp:l,onClick:f,isDisabled:n,preventFocusOnPress:c,ref:e}),{focusableProps:E}=qc(t,e);d&&(E.tabIndex=n?-1:E.tabIndex);let F=ie(E,m,he(t,{labelable:!0}));return{isPressed:C,buttonProps:ie(b,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 ss=u.createContext(null),ra="react-aria-focus-scope-restore";let ce=null;function Ya(t){let{children:e,contain:r,restoreFocus:n,autoFocus:i}=t,o=u.useRef(null),a=u.useRef(null),l=u.useRef([]),{parentNode:s}=u.useContext(ss)||{},c=u.useMemo(()=>new ia({scopeRef:l}),[l]);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(l);p&&(p.contain=!!r)},[r]),ne(()=>{var p;let g=(p=o.current)===null||p===void 0?void 0:p.nextSibling,y=[],h=b=>b.stopPropagation();for(;g&&g!==a.current;)y.push(g),g.addEventListener(ra,h),g=g.nextSibling;return l.current=y,()=>{for(let b of y)b.removeEventListener(ra,h)}},[e]),Hh(l,n,r),Lh(l,r),Vh(l,n,r),Kh(l,i),u.useEffect(()=>{const p=De(ae(l.current?l.current[0]:void 0));let g=null;if(Re(p,l.current)){for(let y of ge.traverse())y.scopeRef&&Re(p,y.scopeRef.current)&&(g=y);g===ge.getTreeNode(l)&&(ce=g.scopeRef)}},[l]),ne(()=>()=>{var p,g,y;let h=(y=(g=ge.getTreeNode(l))===null||g===void 0||(p=g.parent)===null||p===void 0?void 0:p.scopeRef)!==null&&y!==void 0?y:null;(l===ce||Qn(l,ce))&&(!h||ge.getTreeNode(h))&&(ce=h),ge.removeTreeNode(l)},[l]);let d=u.useMemo(()=>Rh(l),[]),f=u.useMemo(()=>({focusManager:d,parentNode:c}),[c,d]);return u.createElement(ss.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:a}))}function Rh(t){return{focusNext(e={}){let r=t.current,{from:n,tabbable:i,wrap:o,accept:a}=e;var l;let s=n||De(ae((l=r[0])!==null&&l!==void 0?l:void 0)),c=r[0].previousElementSibling,d=Dt(r),f=qe(d,{tabbable:i,accept:a},r);f.currentNode=Re(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:a}=e;var l;let s=n||De(ae((l=r[0])!==null&&l!==void 0?l:void 0)),c=r[r.length-1].nextElementSibling,d=Dt(r),f=qe(d,{tabbable:i,accept:a},r);f.currentNode=Re(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=Dt(r),a=qe(o,{tabbable:n,accept:i},r);a.currentNode=r[0].previousElementSibling;let l=a.nextNode();return l&&et(l,!0),l},focusLast(e={}){let r=t.current,{tabbable:n,accept:i}=e,o=Dt(r),a=qe(o,{tabbable:n,accept:i},r);a.currentNode=r[r.length-1].nextElementSibling;let l=a.previousNode();return l&&et(l,!0),l}}}function Dt(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 Bh(t){if(t.checked)return!0;let e=[];if(!t.form)e=[...ae(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 Lh(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=ae(i?i[0]:void 0);let a=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||!Re(d,f))return;let p=Dt(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)},l=c=>{(!ce||Qn(ce,t))&&Re(oe(c),t.current)?(ce=t,r.current=oe(c)):jr(t)&&!ft(oe(c),t)?r.current?r.current.focus():ce&&ce.current&&na(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)&&Na()&&Pc(),p=De(o);if(!f&&p&&jr(t)&&!ft(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&&na(ce.current)}})};return o.addEventListener("keydown",a,!1),o.addEventListener("focusin",l,!1),i==null||i.forEach(c=>c.addEventListener("focusin",l,!1)),i==null||i.forEach(c=>c.addEventListener("focusout",s,!1)),()=>{o.removeEventListener("keydown",a,!1),o.removeEventListener("focusin",l,!1),i==null||i.forEach(c=>c.removeEventListener("focusin",l,!1)),i==null||i.forEach(c=>c.removeEventListener("focusout",s,!1))}},[t,e]),ne(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n])}function tu(t){return ft(t)}function Re(t,e){return!t||!e?!1:e.some(r=>r.contains(t))}function ft(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&&Re(t,r.current))return!0;return!1}function jh(t){return ft(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{bt(t)}catch{}else if(t!=null)try{t.focus()}catch{}}function ru(t,e=!0){let r=t[0].previousElementSibling,n=Dt(t),i=qe(n,{tabbable:e},t);i.currentNode=r;let o=i.nextNode();return e&&!o&&(n=Dt(t),i=qe(n,{tabbable:!1},t),i.currentNode=r,o=i.nextNode()),o}function na(t,e=!0){et(ru(t,e))}function Kh(t,e){const r=u.useRef(e);u.useEffect(()=>{if(r.current){ce=t;const n=ae(t.current?t.current[0]:void 0);!Re(De(n),ce.current)&&t.current&&na(t.current)}r.current=!1},[t])}function Hh(t,e,r){ne(()=>{if(e||r)return;let n=t.current;const i=ae(n?n[0]:void 0);let o=a=>{let l=oe(a);Re(l,t.current)?ce=t:tu(l)||(ce=null)};return i.addEventListener("focusin",o,!1),n==null||n.forEach(a=>a.addEventListener("focusin",o,!1)),()=>{i.removeEventListener("focusin",o,!1),n==null||n.forEach(a=>a.removeEventListener("focusin",o,!1))}},[t,e,r])}function cs(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 Vh(t,e,r){const n=u.useRef(typeof document<"u"?De(ae(t.current?t.current[0]:void 0)):null);ne(()=>{let i=t.current;const o=ae(i?i[0]:void 0);if(!e||r)return;let a=()=>{(!ce||Qn(ce,t))&&Re(De(o),t.current)&&(ce=t)};return o.addEventListener("focusin",a,!1),i==null||i.forEach(l=>l.addEventListener("focusin",a,!1)),()=>{o.removeEventListener("focusin",a,!1),i==null||i.forEach(l=>l.removeEventListener("focusin",a,!1))}},[t,r]),ne(()=>{const i=ae(t.current?t.current[0]:void 0);if(!e)return;let o=a=>{if(a.key!=="Tab"||a.altKey||a.ctrlKey||a.metaKey||!jr(t)||a.isComposing)return;let l=i.activeElement;if(!ft(l,t)||!cs(t))return;let s=ge.getTreeNode(t);if(!s)return;let c=s.nodeToRestore,d=qe(i.body,{tabbable:!0});d.currentNode=l;let f=a.shiftKey?d.previousNode():d.nextNode();if((!c||!c.isConnected||c===i.body)&&(c=void 0,s.nodeToRestore=void 0),(!f||!ft(f,t))&&c){d.currentNode=c;do f=a.shiftKey?d.previousNode():d.nextNode();while(ft(f,t));a.preventDefault(),a.stopPropagation(),f?et(f,!0):tu(c)?et(c,!0):l.blur()}};return r||i.addEventListener("keydown",o,!0),()=>{r||i.removeEventListener("keydown",o,!0)}},[t,e,r]),ne(()=>{const i=ae(t.current?t.current[0]:void 0);if(!e)return;let o=ge.getTreeNode(t);if(o){var a;return o.nodeToRestore=(a=n.current)!==null&&a!==void 0?a:void 0,()=>{let l=ge.getTreeNode(t);if(!l)return;let s=l.nodeToRestore,c=De(i);if(e&&s&&(c&&ft(c,t)||c===i.body&&cs(t))){let d=ge.clone();requestAnimationFrame(()=>{if(i.activeElement===i.body){let f=d.getTreeNode(t);for(;f;){if(f.nodeToRestore&&f.nodeToRestore.isConnected){us(f.nodeToRestore);return}f=f.parent}for(f=d.getTreeNode(t);f;){if(f.scopeRef&&f.scopeRef.current&&ge.getTreeNode(f.scopeRef)){let p=ru(f.scopeRef.current,!0);us(p);return}f=f.parent}}})}}}},[t,e])}function us(t){t.dispatchEvent(new CustomEvent(ra,{bubbles:!0,cancelable:!0}))&&et(t)}function qe(t,e,r){let n=e!=null&&e.tabbable?L5:Nc,i=(t==null?void 0:t.nodeType)===Node.ELEMENT_NODE?t:null,o=ae(i),a=o5(o,t||o,NodeFilter.SHOW_ELEMENT,{acceptNode(l){var s;return!(e==null||(s=e.from)===null||s===void 0)&&s.contains(l)||e!=null&&e.tabbable&&l.tagName==="INPUT"&&l.getAttribute("type")==="radio"&&(!Bh(l)||a.currentNode.tagName==="INPUT"&&a.currentNode.type==="radio"&&a.currentNode.name===l.name)?NodeFilter.FILTER_REJECT:n(l)&&(!r||Re(l,r))&&(!(e!=null&&e.accept)||e.accept(l))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return e!=null&&e.from&&(a.currentNode=e.from),a}class Xa{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 ia({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&&Re(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 Xa;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 ia({scopeRef:null}),this.fastMap.set(null,this.root)}}class ia{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 Xa;function Dr(t={}){let{autoFocus:e=!1,isTextInput:r,within:n}=t,i=u.useRef({isFocused:!1,isFocusVisible:e||vr()}),[o,a]=u.useState(!1),[l,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,a(g),c()},[c]);ah(g=>{i.current.isFocusVisible=g,c()},[],{isTextInput:r});let{focusProps:f}=Wa({isDisabled:n,onFocusChange:d}),{focusWithinProps:p}=xi({isDisabled:!n,onFocusWithinChange:d});return{isFocused:o,isFocusVisible:l,focusProps:n?p:f}}function zh(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 l=qe(t.current,{tabbable:!0});i(!!l.nextNode())}};o();let a=new MutationObserver(o);return a.observe(t.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{a.disconnect()}}}),r?!1:n}function nu(t){let e=Wh(ae(t));e!==t&&(e&&Uh(e,t),t&&iu(t,e))}function Uh(t,e){t.dispatchEvent(new FocusEvent("blur",{relatedTarget:e})),t.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:e}))}function iu(t,e){t.dispatchEvent(new FocusEvent("focus",{relatedTarget:e})),t.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:e}))}function Wh(t){let e=De(t),r=e==null?void 0:e.getAttribute("aria-activedescendant");return r&&t.getElementById(r)||e}const ou=7e3;let Ue=null;function ds(t,e="assertive",r=ou){Ue?Ue.announce(t,e,r):(Ue=new Zh,(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 Zh{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=ou){var i,o;if(!this.node)return;let a=document.createElement("div");typeof e=="object"?(a.setAttribute("role","img"),a.setAttribute("aria-labelledby",e["aria-labelledby"])):a.textContent=e,r==="assertive"?(i=this.assertiveLog)===null||i===void 0||i.appendChild(a):(o=this.politeLog)===null||o===void 0||o.appendChild(a),e!==""&&setTimeout(()=>{a.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 au={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},lu={...au,customError:!0,valid:!1},_r={isInvalid:!1,validationDetails:au,validationErrors:[]},Gh=u.createContext({}),fs="__formValidationState"+Date.now();function qh(t){if(t[fs]){let{realtimeValidation:e,displayValidation:r,updateValidation:n,resetValidation:i,commitValidation:o}=t[fs];return{realtimeValidation:e,displayValidation:r,updateValidation:n,resetValidation:i,commitValidation:o}}return Yh(t)}function Yh(t){let{isInvalid:e,validationState:r,name:n,value:i,builtinValidation:o,validate:a,validationBehavior:l="aria"}=t;r&&(e||(e=r==="invalid"));let s=e!==void 0?{isInvalid:e,validationErrors:[],validationDetails:lu}:null,c=u.useMemo(()=>{if(!a||i==null)return null;let H=Xh(a,i);return hs(H)},[a,i]);o!=null&&o.validationDetails.valid&&(o=void 0);let d=u.useContext(Gh),f=u.useMemo(()=>n?Array.isArray(n)?n.flatMap(H=>oa(d[H])):oa(d[n]):[],[d,n]),[p,g]=u.useState(d),[y,h]=u.useState(!1);d!==p&&(g(d),h(!1));let b=u.useMemo(()=>hs(y?[]:f),[y,f]),m=u.useRef(_r),[C,E]=u.useState(_r),F=u.useRef(_r),x=()=>{if(!w)return;S(!1);let H=c||o||m.current;oo(H,F.current)||(F.current=H,E(H))},[w,S]=u.useState(!1);return u.useEffect(x),{realtimeValidation:s||b||c||o||_r,displayValidation:l==="native"?s||b||C:s||b||c||o||C,updateValidation(H){l==="aria"&&!oo(C,H)?E(H):m.current=H},resetValidation(){let H=_r;oo(H,F.current)||(F.current=H,E(H)),l==="native"&&S(!1),h(!0)},commitValidation(){l==="native"&&S(!0),h(!0)}}}function oa(t){return t?Array.isArray(t)?t:[t]:[]}function Xh(t,e){if(typeof t=="function"){let r=t(e);if(r&&typeof r!="boolean")return oa(r)}return[]}function hs(t){return t.length?{isInvalid:!0,validationErrors:t,validationDetails:lu}:null}function oo(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 Jh(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(e4(r.current))}});let o=u.useRef(!1),a=be(()=>{o.current||e.resetValidation()}),l=be(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&&t4(f)===r.current){var p;i?i():(p=r.current)===null||p===void 0||p.focus(),Zc("keyboard")}c.preventDefault()}),s=be(()=>{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",l),c.addEventListener("change",s),d==null||d.addEventListener("reset",a),()=>{c.removeEventListener("invalid",l),c.removeEventListener("change",s),d==null||d.removeEventListener("reset",a),d&&(d.reset=f)}},[r,l,s,a,n])}function Qh(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 e4(t){return{isInvalid:!t.validity.valid,validationDetails:Qh(t),validationErrors:t.validationMessage?[t.validationMessage]:[]}}function t4(t){for(let e=0;e<t.elements.length;e++){let r=t.elements[e];if(!r.validity.valid)return r}return null}function su(t){let{id:e,label:r,"aria-labelledby":n,"aria-label":i,labelElementType:o="label"}=t;e=Se(e);let a=Se(),l={};r?(n=n?`${a} ${n}`:a,l={id:a,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=yi({id:e,"aria-label":i,"aria-labelledby":n});return{labelProps:l,fieldProps:s}}function r4(t){let{description:e,errorMessage:r,isInvalid:n,validationState:i}=t,{labelProps:o,fieldProps:a}=su(t),l=ht([!!e,!!r,n,i]),s=ht([!!e,!!r,n,i]);return a=ie(a,{"aria-describedby":[l,s,t["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:o,fieldProps:a,descriptionProps:{id:l},errorMessageProps:{id:s}}}const ps={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 cu(t={}){let{style:e,isFocusable:r}=t,[n,i]=u.useState(!1),{focusWithinProps:o}=xi({isDisabled:!r,onFocusWithinChange:l=>i(l)}),a=u.useMemo(()=>n?e:e?{...ps,...e}:ps,[n]);return{visuallyHiddenProps:{...o,style:a}}}function n4(t){let{children:e,elementType:r="div",isFocusable:n,style:i,...o}=t,{visuallyHiddenProps:a}=cu(t);return u.createElement(r,ie(o,a),e)}const Ye={top:"top",bottom:"top",left:"left",right:"left"},ei={top:"bottom",bottom:"top",left:"right",right:"left"},i4={top:"left",left:"top"},aa={top:"height",left:"width"},uu={width:"totalWidth",height:"totalHeight"},Cn={};let me=typeof document<"u"?window.visualViewport:null;function gs(t){let e=0,r=0,n=0,i=0,o=0,a=0,l={};var s;let c=((s=me==null?void 0:me.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=me==null?void 0:me.width)!==null&&d!==void 0?d:n;var f;r=(f=me==null?void 0:me.height)!==null&&f!==void 0?f:i,l.top=y.scrollTop||t.scrollTop,l.left=y.scrollLeft||t.scrollLeft,me&&(o=me.offsetTop,a=me.offsetLeft)}else({width:e,height:r,top:o,left:a}=ur(t,!1)),l.top=t.scrollTop,l.left=t.scrollLeft,n=e,i=r;if(Oa()&&(t.tagName==="BODY"||t.tagName==="HTML")&&c){l.top=0,l.left=0;var p;o=(p=me==null?void 0:me.pageTop)!==null&&p!==void 0?p:0;var g;a=(g=me==null?void 0:me.pageLeft)!==null&&g!==void 0?g:0}return{width:e,height:r,totalWidth:n,totalHeight:i,scroll:l,top:o,left:a}}function o4(t){return{top:t.scrollTop,left:t.scrollLeft,width:t.scrollWidth,height:t.scrollHeight}}function vs(t,e,r,n,i,o,a){var l;let s=(l=i.scroll[t])!==null&&l!==void 0?l:0,c=n[aa[t]],d=n.scroll[Ye[t]]+o,f=c+n.scroll[Ye[t]]-o,p=e-s+a[t]-n[Ye[t]],g=e-s+r+a[t]-n[Ye[t]];return p<d?d-p:g>f?Math.max(f-g,d-p):0}function a4(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 bs(t){if(Cn[t])return Cn[t];let[e,r]=t.split(" "),n=Ye[e]||"right",i=i4[n];Ye[r]||(r="center");let o=aa[n],a=aa[i];return Cn[t]={placement:e,crossPlacement:r,axis:n,crossAxis:i,size:o,crossSize:a},Cn[t]}function ao(t,e,r,n,i,o,a,l,s,c){let{placement:d,crossPlacement:f,axis:p,crossAxis:g,size:y,crossSize:h}=n,b={};var m;b[g]=(m=t[g])!==null&&m!==void 0?m:0;var C,E,F,x;f==="center"?b[g]+=(((C=t[h])!==null&&C!==void 0?C:0)-((E=r[h])!==null&&E!==void 0?E:0))/2:f!==g&&(b[g]+=((F=t[h])!==null&&F!==void 0?F:0)-((x=r[h])!==null&&x!==void 0?x:0)),b[g]+=o;const w=t[g]-r[h]+s+c,S=t[g]+t[h]-s-c;if(b[g]=Zo(b[g],w,S),d===p){const O=l?a[y]:e[uu[y]];b[ei[p]]=Math.floor(O-t[p]+i)}else b[p]=Math.floor(t[p]+t[y]+i);return b}function l4(t,e,r,n,i,o,a,l){const s=n?r.height:e[uu.height];var c;let d=t.top!=null?r.top+t.top:r.top+(s-((c=t.bottom)!==null&&c!==void 0?c:0)-a);var f,p,g,y,h,b;let m=l!=="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+a-(e.top+((y=e.scroll.top)!==null&&y!==void 0?y:0))-(((h=i.top)!==null&&h!==void 0?h:0)+((b=i.bottom)!==null&&b!==void 0?b:0)+o));return Math.min(e.height-o*2,m)}function ms(t,e,r,n,i,o){let{placement:a,axis:l,size:s}=o;var c,d;if(a===l)return Math.max(0,r[l]-t[l]-((c=t.scroll[l])!==null&&c!==void 0?c:0)+e[l]-((d=n[l])!==null&&d!==void 0?d:0)-n[ei[l]]-i);var f;return Math.max(0,t[s]+t[l]+t.scroll[l]-e[l]-r[l]-r[s]-((f=n[l])!==null&&f!==void 0?f:0)-n[ei[l]]-i)}function s4(t,e,r,n,i,o,a,l,s,c,d,f,p,g,y,h){let b=bs(t),{size:m,crossAxis:C,crossSize:E,placement:F,crossPlacement:x}=b,w=ao(e,l,r,b,d,f,c,p,y,h),S=d,O=ms(l,c,e,i,o+d,b);if(a&&n[m]>O){let V=bs(`${ei[F]} ${x}`),Z=ao(e,l,r,V,d,f,c,p,y,h);ms(l,c,e,i,o+d,V)>O&&(b=V,w=Z,S=d)}let K="bottom";b.axis==="top"?b.placement==="top"?K="top":b.placement==="bottom"&&(K="bottom"):b.crossAxis==="top"&&(b.crossPlacement==="top"?K="bottom":b.crossPlacement==="bottom"&&(K="top"));let H=vs(C,w[C],r[E],l,s,o,c);w[C]+=H;let D=l4(w,l,c,p,i,o,r.height,K);g&&g<D&&(D=g),r.height=Math.min(r.height,D),w=ao(e,l,r,b,S,f,c,p,y,h),H=vs(C,w[C],r[E],l,s,o,c),w[C]+=H;let B={},U=e[C]-w[C]-i[Ye[C]],k=U+.5*e[E];const W=y/2+h;var _,I,z,L;const M=Ye[C]==="left"?((_=i.left)!==null&&_!==void 0?_:0)+((I=i.right)!==null&&I!==void 0?I:0):((z=i.top)!==null&&z!==void 0?z:0)+((L=i.bottom)!==null&&L!==void 0?L:0),R=r[E]-M-y/2-h,$=e[C]+y/2-(w[C]+i[Ye[C]]),P=e[C]+e[E]-y/2-(w[C]+i[Ye[C]]),T=Zo(k,$,P);B[C]=Zo(T,W,R),{placement:F,crossPlacement:x}=b,y?U=B[C]:x==="right"?U+=e[E]:x==="center"&&(U+=e[E]/2);let N=F==="left"||F==="top"?r[m]:0,j={x:F==="top"||F==="bottom"?U:N,y:F==="left"||F==="right"?U:N};return{position:w,maxHeight:D,arrowOffsetLeft:B.left,arrowOffsetTop:B.top,placement:F,triggerAnchorPoint:j}}function c4(t){let{placement:e,targetNode:r,overlayNode:n,scrollNode:i,padding:o,shouldFlip:a,boundaryElement:l,offset:s,crossOffset:c,maxHeight:d,arrowSize:f=0,arrowBoundaryOffset:p=0}=t,g=n instanceof HTMLElement?u4(n):document.documentElement,y=g===document.documentElement;const h=window.getComputedStyle(g).position;let b=!!h&&h!=="static",m=y?ur(r,!1):ys(r,g,!1);if(!y){let{marginTop:B,marginLeft:U}=window.getComputedStyle(r);m.top+=parseInt(B,10)||0,m.left+=parseInt(U,10)||0}let C=ur(n,!0),E=a4(n);var F,x;C.width+=((F=E.left)!==null&&F!==void 0?F:0)+((x=E.right)!==null&&x!==void 0?x:0);var w,S;C.height+=((w=E.top)!==null&&w!==void 0?w:0)+((S=E.bottom)!==null&&S!==void 0?S:0);let O=o4(i),K=gs(l),H=gs(g),D=l.tagName==="BODY"?ur(g,!1):ys(g,l,!1);return g.tagName==="HTML"&&l.tagName==="BODY"&&(H.scroll.top=0,H.scroll.left=0),s4(e,m,C,O,E,o,a,K,H,D,s,c,b,d,f,p)}function Ja(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 ur(t,e){let{top:r,left:n,width:i,height:o}=Ja(t,e),{scrollTop:a,scrollLeft:l,clientTop:s,clientLeft:c}=document.documentElement;return{top:r+a-s,left:n+l-c,width:i,height:o}}function ys(t,e,r){let n=window.getComputedStyle(t),i;if(n.position==="fixed")i=Ja(t,r);else{i=ur(t,r);let o=ur(e,r),a=window.getComputedStyle(e);o.top+=(parseInt(a.borderTopWidth,10)||0)-e.scrollTop,o.left+=(parseInt(a.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 u4(t){let e=t.offsetParent;if(e&&e===document.body&&window.getComputedStyle(e).position==="static"&&!Cs(e)&&(e=document.documentElement),e==null)for(e=t.parentElement;e&&!Cs(e);)e=e.parentElement;return e||document.documentElement}function Cs(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 du=new WeakMap;function d4(t){let{triggerRef:e,isOpen:r,onClose:n}=t;u.useEffect(()=>{if(!r||n===null)return;let i=o=>{let a=o.target;if(!e.current||a instanceof Node&&!a.contains(e.current)||o.target instanceof HTMLInputElement||o.target instanceof HTMLTextAreaElement)return;let l=n||du.get(e.current);l&&l()};return window.addEventListener("scroll",i,!0),()=>{window.removeEventListener("scroll",i,!0)}},[r,n,e])}let fe=typeof document<"u"?window.visualViewport:null;function f4(t){let{direction:e}=Bt(),{arrowSize:r,targetRef:n,overlayRef:i,arrowRef:o,scrollRef:a=i,placement:l="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:b,arrowBoundaryOffset:m=0}=t,[C,E]=u.useState(null),F=[g,l,i.current,n.current,o==null?void 0:o.current,a.current,s,c,d,f,p,y,e,b,m,r],x=u.useRef(fe==null?void 0:fe.scale);u.useEffect(()=>{y&&(x.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)!==x.current)return;let B=null;if(a.current&&a.current.contains(document.activeElement)){var U;let M=(U=document.activeElement)===null||U===void 0?void 0:U.getBoundingClientRect(),R=a.current.getBoundingClientRect();var k;if(B={type:"top",offset:((k=M==null?void 0:M.top)!==null&&k!==void 0?k:0)-R.top},B.offset>R.height/2){B.type="bottom";var W;B.offset=((W=M==null?void 0:M.bottom)!==null&&W!==void 0?W:0)-R.bottom}}let _=i.current;if(!b&&i.current){var I;_.style.top="0px",_.style.bottom="";var z;_.style.maxHeight=((z=(I=window.visualViewport)===null||I===void 0?void 0:I.height)!==null&&z!==void 0?z:window.innerHeight)+"px"}let L=c4({placement:p4(l,e),overlayNode:i.current,targetNode:n.current,scrollNode:a.current||i.current,padding:s,shouldFlip:c,boundaryElement:d,offset:f,crossOffset:p,maxHeight:b,arrowSize:r??(o!=null&&o.current?Ja(o.current,!0).width:0),arrowBoundaryOffset:m});if(L.position){if(_.style.top="",_.style.bottom="",_.style.left="",_.style.right="",Object.keys(L.position).forEach(M=>_.style[M]=L.position[M]+"px"),_.style.maxHeight=L.maxHeight!=null?L.maxHeight+"px":"",B&&document.activeElement&&a.current){let M=document.activeElement.getBoundingClientRect(),R=a.current.getBoundingClientRect(),$=M[B.type]-R[B.type];a.current.scrollTop+=$-B.offset}E(L)}},F);ne(w,F),h4(w),Uo({ref:i,onResize:w}),Uo({ref:n,onResize:w});let S=u.useRef(!1);ne(()=>{let B,U=()=>{S.current=!0,clearTimeout(B),B=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 O=u.useCallback(()=>{S.current||h==null||h()},[h,S]);d4({triggerRef:n,isOpen:y,onClose:h&&O});var K,H,D;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:(D=C==null?void 0:C.triggerAnchorPoint)!==null&&D!==void 0?D:null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:C==null?void 0:C.arrowOffsetLeft,top:C==null?void 0:C.arrowOffsetTop}},updatePosition:w}}function h4(t){ne(()=>(window.addEventListener("resize",t,!1),()=>{window.removeEventListener("resize",t,!1)}),[t])}function p4(t,e){return e==="rtl"?t.replace("start","right").replace("end","left"):t.replace("start","left").replace("end","right")}const We=[];function g4(t,e){let{onClose:r,shouldCloseOnBlur:n,isOpen:i,isDismissable:o=!1,isKeyboardDismissDisabled:a=!1,shouldCloseOnInteractOutside:l}=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=>{(!l||l(y.target))&&We[We.length-1]===e&&(y.stopPropagation(),y.preventDefault())},d=y=>{(!l||l(y.target))&&(We[We.length-1]===e&&(y.stopPropagation(),y.preventDefault()),s())},f=y=>{y.key==="Escape"&&!a&&!y.nativeEvent.isComposing&&(y.stopPropagation(),y.preventDefault(),s())};uh({ref:e,onInteractOutside:o&&i?d:void 0,onInteractOutsideStart:c});let{focusWithinProps:p}=xi({isDisabled:!n,onBlurWithin:y=>{!y.relatedTarget||jh(y.relatedTarget)||(!l||l(y.relatedTarget))&&(r==null||r())}}),g=y=>{y.target===y.currentTarget&&y.preventDefault()};return{overlayProps:{onKeyDown:f,...p},underlayProps:{onPointerDown:g}}}function v4(t,e,r){let{type:n}=t,{isOpen:i}=e;u.useEffect(()=>{r&&r.current&&du.set(r.current,e.close)});let o;n==="menu"?o=!0:n==="listbox"&&(o="listbox");let a=Se();return{triggerProps:{"aria-haspopup":o,"aria-expanded":i,"aria-controls":i?a:void 0,onPress:e.toggle},overlayProps:{id:a}}}const lo=typeof document<"u"&&window.visualViewport,b4=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let En=0,so;function m4(t={}){let{isDisabled:e}=t;ne(()=>{if(!e)return En++,En===1&&(vi()?so=C4():so=y4()),()=>{En--,En===0&&so()}},[e])}function y4(){let t=window.innerWidth-document.documentElement.clientWidth;return gt(t>0&&("scrollbarGutter"in document.documentElement.style?xt(document.documentElement,"scrollbarGutter","stable"):xt(document.documentElement,"paddingRight",`${t}px`)),xt(document.documentElement,"overflow","hidden"))}function C4(){let t,e,r=c=>{t=kc(c.target,!0),!(t===document.documentElement&&t===document.body)&&t instanceof HTMLElement&&window.getComputedStyle(t).overscrollBehavior==="auto"&&(e=xt(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;E4(d)&&(l(),d.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{d.style.transform="",lo&&(lo.height<window.innerHeight?requestAnimationFrame(()=>{Es(d)}):lo.addEventListener("resize",()=>Es(d),{once:!0}))}))},a=null,l=()=>{if(a)return;let c=()=>{window.scrollTo(0,0)},d=window.pageXOffset,f=window.pageYOffset;a=gt(Pr(window,"scroll",c),xt(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),xt(document.documentElement,"overflow","hidden"),xt(document.body,"marginTop",`-${f}px`),()=>{window.scrollTo(d,f)}),window.scrollTo(0,0)},s=gt(Pr(document,"touchstart",r,{passive:!1,capture:!0}),Pr(document,"touchmove",n,{passive:!1,capture:!0}),Pr(document,"touchend",i,{passive:!1,capture:!0}),Pr(document,"focus",o,!0));return()=>{e==null||e(),a==null||a(),s()}}function xt(t,e,r){let n=t.style[e];return t.style[e]=r,()=>{t.style[e]=n}}function Pr(t,e,r,n){return t.addEventListener(e,r,n),()=>{t.removeEventListener(e,r,n)}}function Es(t){let e=document.scrollingElement||document.documentElement,r=t;for(;r&&r!==e;){let n=kc(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 E4(t){return t instanceof HTMLInputElement&&!b4.has(t.type)||t instanceof HTMLTextAreaElement||t instanceof HTMLElement&&t.isContentEditable}const w4=u.createContext({});function D4(){var t;return(t=u.useContext(w4))!==null&&t!==void 0?t:{}}var fu={};fu={dismiss:"تجاهل"};var hu={};hu={dismiss:"Отхвърляне"};var pu={};pu={dismiss:"Odstranit"};var gu={};gu={dismiss:"Luk"};var vu={};vu={dismiss:"Schließen"};var bu={};bu={dismiss:"Απόρριψη"};var mu={};mu={dismiss:"Dismiss"};var yu={};yu={dismiss:"Descartar"};var Cu={};Cu={dismiss:"Lõpeta"};var Eu={};Eu={dismiss:"Hylkää"};var wu={};wu={dismiss:"Rejeter"};var Du={};Du={dismiss:"התעלם"};var xu={};xu={dismiss:"Odbaci"};var Su={};Su={dismiss:"Elutasítás"};var Fu={};Fu={dismiss:"Ignora"};var $u={};$u={dismiss:"閉じる"};var _u={};_u={dismiss:"무시"};var Pu={};Pu={dismiss:"Atmesti"};var Au={};Au={dismiss:"Nerādīt"};var Tu={};Tu={dismiss:"Lukk"};var ku={};ku={dismiss:"Negeren"};var Iu={};Iu={dismiss:"Zignoruj"};var Ou={};Ou={dismiss:"Descartar"};var Nu={};Nu={dismiss:"Dispensar"};var Mu={};Mu={dismiss:"Revocare"};var Ru={};Ru={dismiss:"Пропустить"};var Bu={};Bu={dismiss:"Zrušiť"};var Lu={};Lu={dismiss:"Opusti"};var ju={};ju={dismiss:"Odbaci"};var Ku={};Ku={dismiss:"Avvisa"};var Hu={};Hu={dismiss:"Kapat"};var Vu={};Vu={dismiss:"Скасувати"};var zu={};zu={dismiss:"取消"};var Uu={};Uu={dismiss:"關閉"};var Wu={};Wu={"ar-AE":fu,"bg-BG":hu,"cs-CZ":pu,"da-DK":gu,"de-DE":vu,"el-GR":bu,"en-US":mu,"es-ES":yu,"et-EE":Cu,"fi-FI":Eu,"fr-FR":wu,"he-IL":Du,"hr-HR":xu,"hu-HU":Su,"it-IT":Fu,"ja-JP":$u,"ko-KR":_u,"lt-LT":Pu,"lv-LV":Au,"nb-NO":Tu,"nl-NL":ku,"pl-PL":Iu,"pt-BR":Ou,"pt-PT":Nu,"ro-RO":Mu,"ru-RU":Ru,"sk-SK":Bu,"sl-SI":Lu,"sr-SP":ju,"sv-SE":Ku,"tr-TR":Hu,"uk-UA":Vu,"zh-CN":zu,"zh-TW":Uu};function x4(t){return t&&t.__esModule?t.default:t}function ws(t){let{onDismiss:e,...r}=t,n=eu(x4(Wu),"@react-aria/overlays"),i=yi(r,n.format("dismiss")),o=()=>{e&&e()};return u.createElement(n4,null,u.createElement("button",{...i,tabIndex:-1,onClick:o,style:{width:1,height:1}}))}const S4=typeof HTMLElement<"u"&&"inert"in HTMLElement.prototype;let Ar=new WeakMap,_e=[];function F4(t,e){let r=Te(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,a=(n==null?void 0:n.shouldUseInert)&&S4,l=new Set(t),s=new Set,c=h=>a&&h instanceof r.HTMLElement?h.inert:h.getAttribute("aria-hidden")==="true",d=(h,b)=>{a&&h instanceof r.HTMLElement?h.inert=b:b?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]"))l.add(E);let b=E=>{if(s.has(E)||l.has(E)||E.parentElement&&s.has(E.parentElement)&&E.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let F of l)if(E.contains(F))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},m=document.createTreeWalker(h,NodeFilter.SHOW_ELEMENT,{acceptNode:b}),C=b(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 b;let m=(b=Ar.get(h))!==null&&b!==void 0?b:0;c(h)&&m===0||(m===0&&d(h,!0),s.add(h),Ar.set(h,m+1))};_e.length&&_e[_e.length-1].disconnect(),f(o);let g=new MutationObserver(h=>{for(let b of h)if(b.type==="childList"&&![...l,...s].some(m=>m.contains(b.target)))for(let m of b.addedNodes)(m instanceof HTMLElement||m instanceof SVGElement)&&(m.dataset.liveAnnouncer==="true"||m.dataset.reactAriaTopLayer==="true")?l.add(m):m instanceof Element&&f(m)});g.observe(o,{childList:!0,subtree:!0});let y={visibleNodes:l,hiddenNodes:s,observe(){g.observe(o,{childList:!0,subtree:!0})},disconnect(){g.disconnect()}};return _e.push(y),()=>{g.disconnect();for(let h of s){let b=Ar.get(h);b!=null&&(b===1?(d(h,!1),Ar.delete(h)):Ar.set(h,b-1))}y===_e[_e.length-1]?(_e.pop(),_e.length&&_e[_e.length-1].observe()):_e.splice(_e.indexOf(y),1)}}function $4(t){let e=_e[_e.length-1];if(e&&!e.visibleNodes.has(t))return e.visibleNodes.add(t),()=>{e.visibleNodes.delete(t)}}function _4(t,e){let{triggerRef:r,popoverRef:n,groupRef:i,isNonModal:o,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:l,...s}=t,c=s.trigger==="SubmenuTrigger",{overlayProps:d,underlayProps:f}=g4({isOpen:e.isOpen,onClose:e.close,shouldCloseOnBlur:!0,isDismissable:!o||c,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:l},i??n),{overlayProps:p,arrowProps:g,placement:y,triggerAnchorPoint:h}=f4({...s,targetRef:r,overlayRef:n,isOpen:e.isOpen,onClose:o&&!c?e.close:null});return m4({isDisabled:o||!e.isOpen}),u.useEffect(()=>{if(e.isOpen&&n.current){var b,m;return o?$4((b=i==null?void 0:i.current)!==null&&b!==void 0?b:n.current):F4([(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 Zu=u.createContext(null);function Ds(t){let e=sn(),{portalContainer:r=e?null:document.body,isExiting:n}=t,[i,o]=u.useState(!1),a=u.useMemo(()=>({contain:i,setContain:o}),[i,o]),{getContainer:l}=D4();if(!t.portalContainer&&l&&(r=l()),!r)return null;let s=t.children;return t.disableFocusManagement||(s=u.createElement(Ya,{restoreFocus:!0,contain:(t.shouldContainFocus||i)&&!n},s)),s=u.createElement(Zu.Provider,{value:a},u.createElement(sh,null,s)),Mt.createPortal(s,r)}function P4(){let t=u.useContext(Zu),e=t==null?void 0:t.setContain;ne(()=>{e==null||e(!0)},[e])}const Qa=new WeakMap;function A4(t){return typeof t=="string"?t.replace(/\s*/g,""):""+t}function T4(t,e){let r=Qa.get(t);if(!r)throw new Error("Unknown list");return`${r.id}-option-${A4(e)}`}function la(t){return g5()?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 Gu=new WeakMap;function k4(t){let e=Se();return Gu.set(t,e),e}function I4(t){return Gu.get(t)}const O4=1e3;function qu(t){let{keyboardDelegate:e,selectionManager:r,onTypeSelect:n}=t,i=u.useRef({search:"",timeout:void 0}).current,o=a=>{let l=N4(a.key);if(!(!l||a.ctrlKey||a.metaKey||!a.currentTarget.contains(a.target)||i.search.length===0&&l===" ")){if(l===" "&&i.search.trim().length>0&&(a.preventDefault(),"continuePropagation"in a||a.stopPropagation()),i.search+=l,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=""},O4)}};return{typeSelectProps:{onKeyDownCapture:e.getKeyForSearch?o:void 0}}}function N4(t){return t.length===1||!/^[A-Z]/i.test(t)?t:""}function Yu(t){let{selectionManager:e,keyboardDelegate:r,ref:n,autoFocus:i=!1,shouldFocusWrap:o=!1,disallowEmptySelection:a=!1,disallowSelectAll:l=!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:b}=Bt(),m=bi(),C=I=>{var z;if(I.altKey&&I.key==="Tab"&&I.preventDefault(),!(!((z=n.current)===null||z===void 0)&&z.contains(I.target)))return;const L=(G,te)=>{if(G!=null){if(e.isLink(G)&&h==="selection"&&c&&!la(I)){Mt.flushSync(()=>{e.setFocusedKey(G,te)});let de=Nn(n,G),Be=e.getItemProps(G);de&&m.open(de,I,Be.href,Be.routerOptions);return}if(e.setFocusedKey(G,te),e.isLink(G)&&h==="override")return;I.shiftKey&&e.selectionMode==="multiple"?e.extendSelection(G):c&&!la(I)&&e.replaceSelection(G)}};switch(I.key){case"ArrowDown":if(r.getKeyBelow){var M,R,$;let G=e.focusedKey!=null?(M=r.getKeyBelow)===null||M===void 0?void 0:M.call(r,e.focusedKey):(R=r.getFirstKey)===null||R===void 0?void 0:R.call(r);G==null&&o&&(G=($=r.getFirstKey)===null||$===void 0?void 0:$.call(r,e.focusedKey)),G!=null&&(I.preventDefault(),L(G))}break;case"ArrowUp":if(r.getKeyAbove){var P,T,N;let G=e.focusedKey!=null?(P=r.getKeyAbove)===null||P===void 0?void 0:P.call(r,e.focusedKey):(T=r.getLastKey)===null||T===void 0?void 0:T.call(r);G==null&&o&&(G=(N=r.getLastKey)===null||N===void 0?void 0:N.call(r,e.focusedKey)),G!=null&&(I.preventDefault(),L(G))}break;case"ArrowLeft":if(r.getKeyLeftOf){var j,V,Z;let G=e.focusedKey!=null?(j=r.getKeyLeftOf)===null||j===void 0?void 0:j.call(r,e.focusedKey):null;G==null&&o&&(G=b==="rtl"?(V=r.getFirstKey)===null||V===void 0?void 0:V.call(r,e.focusedKey):(Z=r.getLastKey)===null||Z===void 0?void 0:Z.call(r,e.focusedKey)),G!=null&&(I.preventDefault(),L(G,b==="rtl"?"first":"last"))}break;case"ArrowRight":if(r.getKeyRightOf){var q,Y,le;let G=e.focusedKey!=null?(q=r.getKeyRightOf)===null||q===void 0?void 0:q.call(r,e.focusedKey):null;G==null&&o&&(G=b==="rtl"?(Y=r.getLastKey)===null||Y===void 0?void 0:Y.call(r,e.focusedKey):(le=r.getFirstKey)===null||le===void 0?void 0:le.call(r,e.focusedKey)),G!=null&&(I.preventDefault(),L(G,b==="rtl"?"last":"first"))}break;case"Home":if(r.getFirstKey){if(e.focusedKey===null&&I.shiftKey)return;I.preventDefault();let G=r.getFirstKey(e.focusedKey,rr(I));e.setFocusedKey(G),G!=null&&(rr(I)&&I.shiftKey&&e.selectionMode==="multiple"?e.extendSelection(G):c&&e.replaceSelection(G))}break;case"End":if(r.getLastKey){if(e.focusedKey===null&&I.shiftKey)return;I.preventDefault();let G=r.getLastKey(e.focusedKey,rr(I));e.setFocusedKey(G),G!=null&&(rr(I)&&I.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&&(I.preventDefault(),L(G))}break;case"PageUp":if(r.getKeyPageAbove&&e.focusedKey!=null){let G=r.getKeyPageAbove(e.focusedKey);G!=null&&(I.preventDefault(),L(G))}break;case"a":rr(I)&&e.selectionMode==="multiple"&&l!==!0&&(I.preventDefault(),e.selectAll());break;case"Escape":s==="clearSelection"&&!a&&e.selectedKeys.size!==0&&(I.stopPropagation(),I.preventDefault(),e.clearSelection());break;case"Tab":if(!p){if(I.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 I,z,L,M;E.current={top:(L=(I=y.current)===null||I===void 0?void 0:I.scrollTop)!==null&&L!==void 0?L:0,left:(M=(z=y.current)===null||z===void 0?void 0:z.scrollLeft)!==null&&M!==void 0?M:0}});let F=I=>{if(e.isFocused){I.currentTarget.contains(I.target)||e.setFocused(!1);return}if(I.currentTarget.contains(I.target)){if(e.setFocused(!0),e.focusedKey==null){var z,L;let $=T=>{T!=null&&(e.setFocusedKey(T),c&&!e.isSelected(T)&&e.replaceSelection(T))},P=I.relatedTarget;var M,R;P&&I.currentTarget.compareDocumentPosition(P)&Node.DOCUMENT_POSITION_FOLLOWING?$((M=e.lastSelectedKey)!==null&&M!==void 0?M:(z=r.getLastKey)===null||z===void 0?void 0:z.call(r)):$((R=e.firstSelectedKey)!==null&&R!==void 0?R:(L=r.getFirstKey)===null||L===void 0?void 0:L.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 $=Nn(n,e.focusedKey);$ instanceof HTMLElement&&(!$.contains(document.activeElement)&&!f&&Ve($),Xn()==="keyboard"&&Kl($,{containingElement:n.current}))}}},x=I=>{I.currentTarget.contains(I.relatedTarget)||e.setFocused(!1)},w=u.useRef(!1);pn(n,T5,f?I=>{let{detail:z}=I;I.stopPropagation(),e.setFocused(!0),(z==null?void 0:z.focusStrategy)==="first"&&(w.current=!0)}:void 0);let S=be(()=>{var I,z;let L=(z=(I=r.getFirstKey)===null||I===void 0?void 0:I.call(r))!==null&&z!==void 0?z:null;if(L==null){let M=De();nu(n.current),iu(M,null),e.collection.size>0&&(w.current=!1)}else e.setFocusedKey(L),w.current=!1});Ll(()=>{w.current&&S()},[e.collection,S]);let O=be(()=>{e.collection.size>0&&(w.current=!1)});Ll(()=>{O()},[e.focusedKey,O]),pn(n,A5,f?I=>{var z;I.stopPropagation(),e.setFocused(!1),!((z=I.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 I,z;let R=null;var L;i==="first"&&(R=(L=(I=r.getFirstKey)===null||I===void 0?void 0:I.call(r))!==null&&L!==void 0?L:null);var M;i==="last"&&(R=(M=(z=r.getLastKey)===null||z===void 0?void 0:z.call(r))!==null&&M!==void 0?M:null);let $=e.selectedKeys;if($.size){for(let P of $)if(e.canSelectItem(P)){R=P;break}}e.setFocused(!0),e.setFocusedKey(R),R==null&&!f&&n.current&&bt(n.current),e.collection.size>0&&(K.current=!1,H.current=!0)}});let D=u.useRef(e.focusedKey),B=u.useRef(null);u.useEffect(()=>{if(e.isFocused&&e.focusedKey!=null&&(e.focusedKey!==D.current||H.current)&&y.current&&n.current){let I=Xn(),z=Nn(n,e.focusedKey);if(!(z instanceof HTMLElement))return;(I==="keyboard"||H.current)&&(B.current&&cancelAnimationFrame(B.current),B.current=requestAnimationFrame(()=>{y.current&&(Ic(y.current,z),I!=="virtual"&&Kl(z,{containingElement:n.current}))}))}!f&&e.isFocused&&e.focusedKey==null&&D.current!=null&&n.current&&bt(n.current),D.current=e.focusedKey,H.current=!1}),u.useEffect(()=>()=>{B.current&&cancelAnimationFrame(B.current)},[]),pn(n,"react-aria-focus-scope-restore",I=>{I.preventDefault(),e.setFocused(!0)});let U={onKeyDown:C,onFocus:F,onBlur:x,onMouseDown(I){y.current===I.target&&I.preventDefault()}},{typeSelectProps:k}=qu({keyboardDelegate:r,selectionManager:e});d||(U=ie(k,U));let W;f||(W=e.focusedKey==null?0:-1);let _=k4(e.collection);return{collectionProps:ie(U,{tabIndex:W,"data-collection":_})}}function el(t){let{id:e,selectionManager:r,key:n,ref:i,shouldSelectOnPressUp:o,shouldUseVirtualFocus:a,focus:l,isDisabled:s,onAction:c,allowsDifferentPressOrigin:d,linkBehavior:f="action"}=t,p=bi();e=Se(e);let g=L=>{if(L.pointerType==="keyboard"&&la(L))r.toggleSelection(n);else{if(r.selectionMode==="none")return;if(r.isLink(n)){if(f==="selection"&&i.current){let M=r.getItemProps(n);p.open(i.current,L,M.href,M.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):L&&L.shiftKey?r.extendSelection(n):r.selectionBehavior==="toggle"||L&&(rr(L)||L.pointerType==="touch"||L.pointerType==="virtual")?r.toggleSelection(n):r.replaceSelection(n)}};u.useEffect(()=>{n===r.focusedKey&&r.isFocused&&(a?nu(i.current):l?l():document.activeElement!==i.current&&i.current&&bt(i.current))},[i,n,r.focusedKey,r.childFocusStrategy,r.isFocused,a]),s=s||r.isDisabled(n);let y={};!a&&!s?y={tabIndex:n===r.focusedKey?0:-1,onFocus(L){L.target===i.current&&r.setFocusedKey(n)}}:s&&(y.onMouseDown=L=>{L.preventDefault()});let h=r.isLink(n)&&f==="override",b=r.isLink(n)&&f!=="selection"&&f!=="none",m=!s&&r.canSelectItem(n)&&!h,C=(c||b)&&!s,E=C&&(r.selectionBehavior==="replace"?!m:!m||r.isEmpty),F=C&&m&&r.selectionBehavior==="replace",x=E||F,w=u.useRef(null),S=x&&m,O=u.useRef(!1),K=u.useRef(!1),H=r.getItemProps(n),D=L=>{c&&c(),b&&i.current&&p.open(i.current,L,H.href,H.routerOptions)},B={ref:i};if(o?(B.onPressStart=L=>{w.current=L.pointerType,O.current=S,L.pointerType==="keyboard"&&(!x||Ss())&&g(L)},d?(B.onPressUp=E?void 0:L=>{L.pointerType==="mouse"&&m&&g(L)},B.onPress=E?D:L=>{L.pointerType!=="keyboard"&&L.pointerType!=="mouse"&&m&&g(L)}):B.onPress=L=>{if(E||F&&L.pointerType!=="mouse"){if(L.pointerType==="keyboard"&&!xs())return;D(L)}else L.pointerType!=="keyboard"&&m&&g(L)}):(B.onPressStart=L=>{w.current=L.pointerType,O.current=S,K.current=E,m&&(L.pointerType==="mouse"&&!E||L.pointerType==="keyboard"&&(!C||Ss()))&&g(L)},B.onPress=L=>{(L.pointerType==="touch"||L.pointerType==="pen"||L.pointerType==="virtual"||L.pointerType==="keyboard"&&x&&xs()||L.pointerType==="mouse"&&K.current)&&(x?D(L):m&&g(L))}),y["data-collection"]=I4(r.collection),y["data-key"]=n,B.preventFocusOnPress=a,a&&(B=ie(B,{onPressStart(L){L.pointerType!=="touch"&&(r.setFocused(!0),r.setFocusedKey(n))},onPress(L){L.pointerType==="touch"&&(r.setFocused(!0),r.setFocusedKey(n))}})),H)for(let L of["onPressStart","onPressEnd","onPressChange","onPress","onPressUp","onClick"])H[L]&&(B[L]=gt(B[L],H[L]));let{pressProps:U,isPressed:k}=wi(B),W=F?L=>{w.current==="mouse"&&(L.stopPropagation(),L.preventDefault(),D(L))}:void 0,{longPressProps:_}=Yc({isDisabled:!S,onLongPress(L){L.pointerType==="touch"&&(g(L),r.setSelectionBehavior("toggle"))}}),I=L=>{w.current==="touch"&&O.current&&L.preventDefault()},z=f!=="none"&&r.isLink(n)?L=>{Pt.isOpening||L.preventDefault()}:void 0;return{itemProps:ie(y,m||E||a&&!s?U:{},S?_:{},{onDoubleClick:W,onDragStartCapture:I,onClick:z,id:e},a?{onMouseDown:L=>L.preventDefault()}:void 0),isPressed:k,isSelected:r.isSelected(n),isFocused:r.isFocused&&r.focusedKey===n,isDisabled:s,allowsSelection:m,hasAction:x}}function xs(){let t=window.event;return(t==null?void 0:t.key)==="Enter"}function Ss(){let t=window.event;return(t==null?void 0:t.key)===" "||(t==null?void 0:t.code)==="Space"}class Fs{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 tl{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 a=o;do{if(i=r(i),i==null)break;o=this.layoutDelegate.getItemRect(i)}while(o&&n(a,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&&!Zr(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&&!Zr(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 a=o.textValue.slice(0,e.length);if(o.textValue&&this.collator.compare(a,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 Fs(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 Fs(this.ref);this.layout==="stack"&&this.orientation==="vertical"&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}}function Xu(t){let{selectionManager:e,collection:r,disabledKeys:n,ref:i,keyboardDelegate:o,layoutDelegate:a}=t,l=qa({usage:"search",sensitivity:"base"}),s=e.disabledBehavior,c=u.useMemo(()=>o||new tl({collection:r,disabledKeys:n,disabledBehavior:s,ref:i,collator:l,layoutDelegate:a}),[o,a,r,n,i,l,s]),{collectionProps:d}=Yu({...t,ref:i,selectionManager:e,keyboardDelegate:c});return{listProps:d}}function M4(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:a}=Xu({...t,ref:r,selectionManager:e.selectionManager,collection:e.collection,disabledKeys:e.disabledKeys,linkBehavior:o}),{focusWithinProps:l}=xi({onFocusWithin:t.onFocus,onBlurWithin:t.onBlur,onFocusWithinChange:t.onFocusChange}),s=Se(t.id);Qa.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}=su({...t,id:s,labelElementType:"span"});return{labelProps:c,listBoxProps:ie(n,l,e.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",...ie(d,a)})}}class R4{build(e,r){return this.context=r,$s(()=>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,a=>{a&&i.push(a)});let o=0;for(let a of i){let l=this.getFullNode({element:a,index:o},{});for(let s of l)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 a;let l=(a=o.key)!==null&&a!==void 0?a:o.id;if(l==null)throw new Error("No key found for item");return l}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 b=[];u.Children.forEach(e.element.props.children,C=>{b.push(C)});var o;let m=(o=e.index)!==null&&o!==void 0?o:0;for(const C of b)yield*this.getFullNode({element:C,index:m++},r,n,i);return}let a=e.element;if(!a&&e.value&&r&&r.renderer){let b=this.cache.get(e.value);if(b&&(!b.shouldInvalidate||!b.shouldInvalidate(this.context))){b.index=e.index,b.parentKey=i?i.key:null,yield b;return}a=r.renderer(e.value)}if(u.isValidElement(a)){let b=a.type;if(typeof b!="function"&&typeof b.getCollectionNode!="function"){let F=a.type;throw new Error(`Unknown element <${F}> in collection.`)}let m=b.getCollectionNode(a.props,this.context);var l;let C=(l=e.index)!==null&&l!==void 0?l:0,E=m.next();for(;!E.done&&E.value;){let F=E.value;e.index=C;var s;let x=(s=F.key)!==null&&s!==void 0?s:null;x==null&&(x=F.element?null:this.getKey(a,e,r,n));let S=[...this.getFullNode({...F,key:x,index:C,wrapper:B4(e.wrapper,F.wrapper)},this.getChildState(r,F),n?`${n}${a.key}`:a.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 <${co(O.type)}> in <${co((f=i==null?void 0:i.type)!==null&&f!==void 0?f:"unknown parent type")}>. Only <${co(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:$s(function*(){if(!e.hasChildNodes||!e.childNodes)return;let b=0;for(let m of e.childNodes()){m.key!=null&&(m.key=`${h.key}${m.key}`);let C=p.getFullNode({...m,index:b},p.getChildState(r,m),h.key,h);for(let E of C)b++,yield E}})};yield h}constructor(){this.cache=new WeakMap}}function $s(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 B4(t,e){if(t&&e)return r=>t(e(r));if(t)return t;if(e)return e}function co(t){return t[0].toUpperCase()+t.slice(1)}function Ju(t,e,r){let n=u.useMemo(()=>new R4,[]),{children:i,items:o,collection:a}=t;return u.useMemo(()=>{if(a)return a;let s=n.build({children:i,items:o},r);return e(s)},[n,i,o,a,r,e])}function Qu(t,e){return typeof e.getChildren=="function"?e.getChildren(t.key):t.childNodes}function L4(t){return j4(t)}function j4(t,e){for(let r of t)return r}function uo(t,e,r){if(e.parentKey===r.parentKey)return e.index-r.index;let n=[..._s(t,e),e],i=[..._s(t,r),r],o=n.slice(0,i.length).findIndex((a,l)=>a!==i[l]);return o!==-1?(e=n[o],r=i[o],e.index-r.index):n.findIndex(a=>a===r)>=0?1:(i.findIndex(a=>a===e)>=0,-1)}function _s(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 Ps=new WeakMap;function e2(t){let e=Ps.get(t);if(e!=null)return e;let r=0,n=i=>{for(let o of i)o.type==="section"?n(Qu(o,t)):o.type==="item"&&r++};return n(t),Ps.set(t,r),r}function K4(t,e,r){var n,i;let{key:o}=t,a=Qa.get(e);var l;let s=(l=t.isDisabled)!==null&&l!==void 0?l: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:a==null?void 0:a.shouldSelectOnPressUp;var g;let y=(g=t.shouldFocusOnHover)!==null&&g!==void 0?g:a==null?void 0:a.shouldFocusOnHover;var h;let b=(h=t.shouldUseVirtualFocus)!==null&&h!==void 0?h:a==null?void 0:a.shouldUseVirtualFocus;var m;let C=(m=t.isVirtualized)!==null&&m!==void 0?m:a==null?void 0:a.isVirtualized,E=ht(),F=ht(),x={role:"option","aria-disabled":s||void 0,"aria-selected":e.selectionManager.selectionMode!=="none"?d:void 0};vt()&&Oa()||(x["aria-label"]=t["aria-label"],x["aria-labelledby"]=E,x["aria-describedby"]=F);let w=e.collection.getItem(o);if(C){let I=Number(w==null?void 0:w.index);x["aria-posinset"]=Number.isNaN(I)?void 0:I+1,x["aria-setsize"]=e2(e.collection)}let S=a!=null&&a.onAction?()=>{var I;return a==null||(I=a.onAction)===null||I===void 0?void 0:I.call(a,o)}:void 0,O=T4(e,o),{itemProps:K,isPressed:H,isFocused:D,hasAction:B,allowsSelection:U}=el({selectionManager:e.selectionManager,key:o,ref:r,shouldSelectOnPressUp:p,allowsDifferentPressOrigin:p&&y,isVirtualized:C,shouldUseVirtualFocus:b,isDisabled:s,onAction:S||!(w==null||(n=w.props)===null||n===void 0)&&n.onAction?gt(w==null||(i=w.props)===null||i===void 0?void 0:i.onAction,S):void 0,linkBehavior:a==null?void 0:a.linkBehavior,id:O}),{hoverProps:k}=wr({isDisabled:s||!y,onHoverStart(){vr()||(e.selectionManager.setFocused(!0),e.selectionManager.setFocusedKey(o))}}),W=he(w==null?void 0:w.props);delete W.id;let _=Ma(w==null?void 0:w.props);return{optionProps:{...x,...ie(W,K,k,_),id:O},labelProps:{id:E},descriptionProps:{id:F},isFocused:D,isFocusVisible:D&&e.selectionManager.isFocused&&vr(),isSelected:d,isDisabled:s,isPressed:H,allowsSelection:U,hasAction:B}}function H4(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 t2={};t2={longPressMessage:"اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة"};var r2={};r2={longPressMessage:"Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто"};var n2={};n2={longPressMessage:"Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku"};var i2={};i2={longPressMessage:"Langt tryk eller tryk på Alt + pil ned for at åbne menuen"};var o2={};o2={longPressMessage:"Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"};var a2={};a2={longPressMessage:"Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού"};var l2={};l2={longPressMessage:"Long press or press Alt + ArrowDown to open menu"};var s2={};s2={longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú"};var c2={};c2={longPressMessage:"Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"};var u2={};u2={longPressMessage:"Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli"};var d2={};d2={longPressMessage:"Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."};var f2={};f2={longPressMessage:"לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט"};var h2={};h2={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"};var p2={};p2={longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához"};var g2={};g2={longPressMessage:"Premere a lungo o premere Alt + Freccia giù per aprire il menu"};var v2={};v2={longPressMessage:"長押しまたは Alt+下矢印キーでメニューを開く"};var b2={};b2={longPressMessage:"길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기"};var m2={};m2={longPressMessage:"Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“."};var y2={};y2={longPressMessage:"Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa"};var C2={};C2={longPressMessage:"Langt trykk eller trykk Alt + PilNed for å åpne menyen"};var E2={};E2={longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"};var w2={};w2={longPressMessage:"Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu"};var D2={};D2={longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"};var x2={};x2={longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"};var S2={};S2={longPressMessage:"Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul"};var F2={};F2={longPressMessage:"Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню"};var $2={};$2={longPressMessage:"Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol"};var _2={};_2={longPressMessage:"Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol"};var P2={};P2={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"};var A2={};A2={longPressMessage:"Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn"};var T2={};T2={longPressMessage:"Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın"};var k2={};k2={longPressMessage:"Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"};var I2={};I2={longPressMessage:"长按或按 Alt + 向下方向键以打开菜单"};var O2={};O2={longPressMessage:"長按或按 Alt+向下鍵以開啟功能表"};var N2={};N2={"ar-AE":t2,"bg-BG":r2,"cs-CZ":n2,"da-DK":i2,"de-DE":o2,"el-GR":a2,"en-US":l2,"es-ES":s2,"et-EE":c2,"fi-FI":u2,"fr-FR":d2,"he-IL":f2,"hr-HR":h2,"hu-HU":p2,"it-IT":g2,"ja-JP":v2,"ko-KR":b2,"lt-LT":m2,"lv-LV":y2,"nb-NO":C2,"nl-NL":E2,"pl-PL":w2,"pt-BR":D2,"pt-PT":x2,"ro-RO":S2,"ru-RU":F2,"sk-SK":$2,"sl-SI":_2,"sr-SP":P2,"sv-SE":A2,"tr-TR":T2,"uk-UA":k2,"zh-CN":I2,"zh-TW":O2};function V4(t){return t&&t.__esModule?t.default:t}function z4(t,e,r){let{type:n="menu",isDisabled:i,trigger:o="press"}=t,a=Se(),{triggerProps:l,overlayProps:s}=v4({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=eu(V4(N2),"@react-aria/menu"),{longPressProps:f}=Yc({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 l.onPress,{menuTriggerProps:{...l,...o==="press"?p:f,id:a,onKeyDown:c},menuProps:{...s,"aria-labelledby":a,autoFocus:e.focusStrategy||!0,onClose:e.close}}}const M2=new WeakMap;function U4(t,e,r){let{shouldFocusWrap:n=!0,onKeyDown:i,onKeyUp:o,...a}=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 l=he(t,{labelable:!0}),{listProps:s}=Xu({...a,ref:r,selectionManager:e.selectionManager,collection:e.collection,disabledKeys:e.disabledKeys,shouldFocusWrap:n,linkBehavior:"override"});return M2.set(e,{onClose:t.onClose,onAction:t.onAction,shouldUseVirtualFocus:t.shouldUseVirtualFocus}),{menuProps:ie(l,{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 W4(t,e,r){let{id:n,key:i,closeOnSelect:o,isVirtualized:a,"aria-haspopup":l,onPressStart:s,onPressUp:c,onPress:d,onPressChange:f,onPressEnd:p,onClick:g,onHoverStart:y,onHoverChange:h,onHoverEnd:b,onKeyDown:m,onKeyUp:C,onFocus:E,onFocusChange:F,onBlur:x,selectionManager:w=e.selectionManager}=t,S=!!l,O=S&&t["aria-expanded"]==="true";var K;let H=(K=t.isDisabled)!==null&&K!==void 0?K:w.isDisabled(i);var D;let B=(D=t.isSelected)!==null&&D!==void 0?D:w.isSelected(i),U=M2.get(e),k=e.collection.getItem(i),W=t.onClose||U.onClose,_=bi(),I=()=>{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 L=ht(),M=ht(),R=ht(),$={id:n,"aria-disabled":H||void 0,role:z,"aria-label":t["aria-label"],"aria-labelledby":L,"aria-describedby":[M,R].filter(Boolean).join(" ")||void 0,"aria-controls":t["aria-controls"],"aria-haspopup":l,"aria-expanded":t["aria-expanded"]};w.selectionMode!=="none"&&!S&&($["aria-checked"]=B),a&&($["aria-posinset"]=k==null?void 0:k.index,$["aria-setsize"]=e2(e.collection));let P=u.useRef(!1),T=re=>{f==null||f(re),P.current=re},N=u.useRef(null),j=re=>{re.pointerType!=="keyboard"&&(N.current={pointerType:re.pointerType}),re.pointerType==="mouse"&&(P.current||re.target.click()),c==null||c(re)},V=re=>{var pe,Vt;g==null||g(re),I(),E5(re,_,k.props.href,k==null?void 0:k.props.routerOptions);let xr=((pe=N.current)===null||pe===void 0?void 0:pe.pointerType)==="keyboard"?((Vt=N.current)===null||Vt===void 0?void 0:Vt.key)==="Enter"||w.selectionMode==="none"||w.isLink(i):w.selectionMode!=="multiple"||w.isLink(i);xr=o??xr,W&&!S&&xr&&W(),N.current=null},{itemProps:Z,isFocused:q}=el({id:n,selectionManager:w,key:i,ref:r,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none",shouldUseVirtualFocus:U.shouldUseVirtualFocus}),{pressProps:Y,isPressed:le}=wi({onPressStart:s,onPress:d,onPressUp:j,onPressChange:T,onPressEnd:p,isDisabled:H}),{hoverProps:G}=wr({isDisabled:H,onHoverStart(re){!vr()&&!(O&&l)&&(w.setFocused(!0),w.setFocusedKey(i)),y==null||y(re)},onHoverChange:h,onHoverEnd:b}),{keyboardProps:te}=Gc({onKeyDown:re=>{if(re.repeat){re.continuePropagation();return}switch(re.key){case" ":N.current={pointerType:"keyboard",key:" "},re.target.click();break;case"Enter":N.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}=Wa({onBlur:x,onFocus:E,onFocusChange:F}),Be=he(k==null?void 0:k.props);delete Be.id;let Ht=Ma(k==null?void 0:k.props);return{menuItemProps:{...$,...ie(Be,Ht,S?{onFocus:Z.onFocus,"data-collection":Z["data-collection"],"data-key":Z["data-key"]}:Z,Y,G,te,de,U.shouldUseVirtualFocus||S?{onMouseDown:re=>re.preventDefault()}:void 0,H?void 0:{onClick:V}),tabIndex:Z.tabIndex!=null&&O&&!U.shouldUseVirtualFocus?-1:Z.tabIndex},labelProps:{id:L},descriptionProps:{id:M},keyboardShortcutProps:{id:R},isFocused:q,isFocusVisible:q&&w.isFocused&&vr()&&!O,isSelected:B,isPressed:le,isDisabled:H}}function Z4(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 G4(t,e){let{role:r="dialog"}=t,n=ht();n=t["aria-label"]?void 0:n;let i=u.useRef(!1);return u.useEffect(()=>{if(e.current&&!e.current.contains(document.activeElement)){bt(e.current);let o=setTimeout(()=>{(document.activeElement===e.current||document.activeElement===document.body)&&(i.current=!0,e.current&&(e.current.blur(),bt(e.current)),i.current=!1)},500);return()=>{clearTimeout(o)}}},[e]),P4(),{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 rl=new WeakMap;function q4(t,e,r){let{keyboardDelegate:n,isDisabled:i,isRequired:o,name:a,form:l,validationBehavior:s="aria"}=t,c=qa({usage:"search",sensitivity:"base"}),d=u.useMemo(()=>n||new tl(e.collection,e.disabledKeys,r,c),[n,e.collection,e.disabledKeys,c,r]),{menuTriggerProps:f,menuProps:p}=z4({isDisabled:i,type:"listbox"},e,r),g=K=>{switch(K.key){case"ArrowLeft":{var H,D;K.preventDefault();let k=e.selectedKey!=null?(H=d.getKeyAbove)===null||H===void 0?void 0:H.call(d,e.selectedKey):(D=d.getFirstKey)===null||D===void 0?void 0:D.call(d);k&&e.setSelectedKey(k);break}case"ArrowRight":{var B,U;K.preventDefault();let k=e.selectedKey!=null?(B=d.getKeyBelow)===null||B===void 0?void 0:B.call(d,e.selectedKey):(U=d.getFirstKey)===null||U===void 0?void 0:U.call(d);k&&e.setSelectedKey(k);break}}},{typeSelectProps:y}=qu({keyboardDelegate:d,selectionManager:e.selectionManager,onTypeSelect(K){e.setSelectedKey(K)}}),{isInvalid:h,validationErrors:b,validationDetails:m}=e.displayValidation,{labelProps:C,fieldProps:E,descriptionProps:F,errorMessageProps:x}=r4({...t,labelElementType:"span",isInvalid:h,errorMessage:t.errorMessage||b});y.onKeyDown=y.onKeyDownCapture,delete y.onKeyDownCapture;let w=he(t,{labelable:!0}),S=ie(y,f,E),O=Se();return rl.set(e,{isDisabled:i,isRequired:o,name:a,form:l,validationBehavior:s}),{labelProps:{...C,onClick:()=>{if(!t.isDisabled){var K;(K=r.current)===null||K===void 0||K.focus(),Zc("keyboard")}}},triggerProps:ie(w,{...S,isDisabled:i,onKeyDown:gt(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:x,isInvalid:h,validationErrors:b,validationDetails:m,hiddenSelectProps:{isDisabled:i,name:a,label:t.label,state:e,triggerRef:r,form:l}}}function Y4(t,e,r){let n=rl.get(e)||{},{autoComplete:i,name:o=n.name,form:a=n.form,isDisabled:l=n.isDisabled}=t,{validationBehavior:s,isRequired:c}=n,{visuallyHiddenProps:d}=cu({style:{position:"fixed",top:0,left:0}});_5(t.selectRef,e.defaultSelectedKey,e.setSelectedKey),Jh({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:l,required:s==="native"&&c,name:o,form:a,value:(p=e.selectedKey)!==null&&p!==void 0?p:"",onChange:f,onInput:f}}}function X4(t){let{state:e,triggerRef:r,label:n,name:i,form:o,isDisabled:a}=t,l=u.useRef(null),s=u.useRef(null),{containerProps:c,selectProps:d}=Y4({...t,selectRef:e.collection.size<=300?l: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:l},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=rl.get(e)||{},{validationBehavior:g}=p;var f;let y={type:"hidden",autoComplete:d.autoComplete,name:i,form:o,disabled:a,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 J4(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 R2=new WeakMap;function ti(t,e,r){if(!t)return"";typeof e=="string"&&(e=e.replace(/\s+/g,""));let n=R2.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 Q4(t,e,r){let{key:n,isDisabled:i,shouldSelectOnPressUp:o}=t,{selectionManager:a,selectedKey:l}=e,s=n===l,c=i||e.isDisabled||e.selectionManager.isDisabled(n),{itemProps:d,isPressed:f}=el({selectionManager:a,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),b=he(h==null?void 0:h.props,{labelable:!0});delete b.id;let m=Ma(h==null?void 0:h.props),{focusableProps:C}=qc({isDisabled:c},r);return{tabProps:ie(b,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 ep(t,e,r){let n=zh(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"),a=yi({...t,id:o,"aria-labelledby":ti(e,e==null?void 0:e.selectedKey,"tab")});return{tabPanelProps:ie(a,{tabIndex:n,role:"tabpanel","aria-describedby":t["aria-describedby"],"aria-details":t["aria-details"]})}}class tp{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 rp(t,e,r){let{orientation:n="horizontal",keyboardActivation:i="automatic"}=t,{collection:o,selectionManager:a,disabledKeys:l}=e,{direction:s}=Bt(),c=u.useMemo(()=>new tp(o,s,n,l),[o,l,n,s]),{collectionProps:d}=Yu({ref:r,selectionManager:a,keyboardDelegate:c,selectOnFocus:i==="automatic",disallowEmptySelection:!0,scrollRef:r,linkBehavior:"selection"}),f=Se();R2.set(e,f);let p=yi({...t,id:f});return{tabListProps:{...ie(d,p),role:"tablist","aria-orientation":n,tabIndex:void 0}}}const B2=u.createContext({}),np=Ha(function(e,r){[e,r]=Xe(e,r,B2);let{elementType:n="label",...i}=e;return u.createElement(n,{className:"react-aria-Label",...i,ref:r})}),ip=u.createContext(null),op=new Set(["form","formAction","formEncType","formMethod","formNoValidate","formTarget","name","value"]),nl=u.createContext({}),ap=Ha(function(e,r){[e,r]=Xe(e,r,nl),e=lp(e);let n=e,{isPending:i}=n,{buttonProps:o,isPressed:a}=Mh(e,r),{focusProps:l,isFocused:s,isFocusVisible:c}=Dr(e),{hoverProps:d,isHovered:f}=wr({...e,isDisabled:e.isDisabled||i}),p={isHovered:f,isPressed:(n.isPressed||a)&&!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(),b=o["aria-labelledby"];i&&(b?b=`${b} ${h}`:o["aria-label"]&&(b=`${y} ${h}`));let m=u.useRef(i);return u.useEffect(()=>{let C={"aria-labelledby":b||y};(!m.current&&s&&i||m.current&&s&&!i)&&ds(C,"assertive"),m.current=i},[i,s,b,y]),u.createElement("button",{...he(e,{propNames:op}),...ie(o,l,d),...g,type:o.type==="submit"&&i?"button":o.type,id:y,ref:r,"aria-labelledby":b,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(ip.Provider,{value:{id:h}},g.children))});function lp(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 il=u.createContext({}),sp=u.createContext(null);class As{*[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=l=>{if(this.keyMap.set(l.key,l),l.childNodes&&l.type==="section")for(let s of l.childNodes)r(s)};for(let l of e)r(l);let n=null,i=0,o=0;for(let[l,s]of this.keyMap)n?(n.nextKey=l,s.prevKey=n.key):(this.firstKey=l,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 a;this.lastKey=(a=n==null?void 0:n.key)!==null&&a!==void 0?a:null}}class Ke extends Set{constructor(e,r,n){super(e),e instanceof Ke?(this.anchorKey=r??e.anchorKey,this.currentKey=n??e.currentKey):(this.anchorKey=r??null,this.currentKey=n??null)}}function cp(t,e){if(t.size!==e.size)return!1;for(let r of t)if(!e.has(r))return!1;return!0}function ol(t){let{selectionMode:e="none",disallowEmptySelection:r=!1,allowDuplicateSelectionEvents:n,selectionBehavior:i="toggle",disabledBehavior:o="all"}=t,a=u.useRef(!1),[,l]=u.useState(!1),s=u.useRef(null),c=u.useRef(null),[,d]=u.useState(null),f=u.useMemo(()=>Ts(t.selectedKeys),[t.selectedKeys]),p=u.useMemo(()=>Ts(t.defaultSelectedKeys,new Ke),[t.defaultSelectedKeys]),[g,y]=Ci(f,p,t.onSelectionChange),h=u.useMemo(()=>t.disabledKeys?new Set(t.disabledKeys):new Set,[t.disabledKeys]),[b,m]=u.useState(i);i==="replace"&&b==="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:b,setSelectionBehavior:m,get isFocused(){return a.current},setFocused(E){a.current=E,l(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||!cp(E,g))&&y(E)},disabledKeys:h,disabledBehavior:o}}function Ts(t,e){return t?t==="all"?"all":new Ke(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&&uo(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&&uo(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 Ke([r],r,r);else{let a=this.state.selectedKeys;var i;let l=(i=a.anchorKey)!==null&&i!==void 0?i:r;n=new Ke(a,l,r);var o;for(let s of this.getKeyRange(l,(o=a.currentKey)!==null&&o!==void 0?o:r))n.delete(s);for(let s of this.getKeyRange(r,l))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?uo(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 a=this.collection.getItem(o);if(a&&(a.type==="item"||a.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 Ke(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 Ke([r],r,r):new Ke;this.state.setSelectedKeys(n)}setSelectedKeys(e){if(this.selectionMode==="none")return;let r=new Ke;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 a=this.collection.getItem(n);(a==null?void 0:a.type)==="item"&&e.push(n);var o;a!=null&&a.hasChildNodes&&(this.allowsCellSelection||a.type!=="item")&&r((o=(i=L4(Qu(a,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 Ke)}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 L2(t){let{filter:e,layoutDelegate:r}=t,n=ol(t),i=u.useMemo(()=>t.disabledKeys?new Set(t.disabledKeys):new Set,[t.disabledKeys]),o=u.useCallback(c=>e?new As(e(c)):new As(c),[e]),a=u.useMemo(()=>({suppressTextValueWarning:t.suppressTextValueWarning}),[t.suppressTextValueWarning]),l=Ju(t,o,a),s=u.useMemo(()=>new cn(l,n,{layoutDelegate:r}),[l,n,r]);return j2(l,s),{collection:l,disabledKeys:i,selectionManager:s}}function up(t,e){let r=u.useMemo(()=>e?t.collection.filter(e):t.collection,[t.collection,e]),n=t.selectionManager.withCollection(r);return j2(r,n),{collection:r,selectionManager:n,disabledKeys:t.disabledKeys}}function j2(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,a,l;let y=Math.min(g>1?Math.max(((o=d==null?void 0:d.index)!==null&&o!==void 0?o:0)-g+1,0):(a=d==null?void 0:d.index)!==null&&a!==void 0?a:0,((l=p==null?void 0:p.length)!==null&&l!==void 0?l:0)-1),h=null,b=!1;for(;y>=0;){if(!e.isDisabled(p[y].key)){h=p[y];break}if(y<p.length-1&&!b)y++;else{b=!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 K2(t){var e;let[r,n]=Ci(t.selectedKey,(e=t.defaultSelectedKey)!==null&&e!==void 0?e:null,t.onSelectionChange),i=u.useMemo(()=>r!=null?[r]:[],[r]),{collection:o,disabledKeys:a,selectionManager:l}=L2({...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:a,selectionManager:l,selectedKey:r,setSelectedKey:n,selectedItem:s}}function al(t){let[e,r]=Ci(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 dp(t){let{initialItems:e=[],initialSelectedKeys:r,getKey:n=h=>{var b;return(b=h.id)!==null&&b!==void 0?b:h.key},getChildren:i=h=>h.children}=t,[o,a]=u.useState(()=>f(e,new Map)),{items:l,nodeMap:s}=o,[c,d]=u.useState(new Set(r||[]));function f(h=[],b,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),b,E.key).items,b.set(E.key,E),E}),nodeMap:b}}function p(h,b,m,C){let E=b==null?null:C.get(b);if(E==null)return{items:h,nodeMap:C};let F=new Map(C),x=m(E);for(x==null?y(E,F):g(x,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;x==null&&K&&(K=K.filter(H=>H!==E));var w;O.children=(w=K==null?void 0:K.map(H=>H===E?x:H))!==null&&w!==void 0?w:null,F.set(O.key,O),x=O,E=S}return x==null&&(h=h.filter(S=>S!==E)),{items:h.map(S=>S===E?x:S),nodeMap:F}}function g(h,b){if(b.set(h.key,h),h.children)for(let m of h.children)g(m,b)}function y(h,b){if(b.delete(h.key),h.children)for(let m of h.children)y(m,b)}return{items:l,selectedKeys:c,setSelectedKeys:d,getItem(h){return s.get(h)},insert(h,b,...m){a(({items:C,nodeMap:E})=>{let{items:F,nodeMap:x}=f(m,E,h);return h==null?{items:[...C.slice(0,b),...F,...C.slice(b)],nodeMap:x}:p(C,h,w=>({key:w.key,parentKey:w.parentKey,value:w.value,children:[...w.children.slice(0,b),...F,...w.children.slice(b)]}),x)})},insertBefore(h,...b){let m=s.get(h);if(!m)return;let C=s.get(m.parentKey),F=(C?C.children:l).indexOf(m);var x;this.insert((x=C==null?void 0:C.key)!==null&&x!==void 0?x:null,F,...b)},insertAfter(h,...b){let m=s.get(h);if(!m)return;let C=s.get(m.parentKey),F=(C?C.children:l).indexOf(m);var x;this.insert((x=C==null?void 0:C.key)!==null&&x!==void 0?x:null,F+1,...b)},prepend(h,...b){this.insert(h,0,...b)},append(h,...b){if(h==null)this.insert(null,l.length,...b);else{let m=s.get(h);if(!m)return;this.insert(h,m.children.length,...b)}},remove(...h){if(h.length===0)return;let b=l,m=s,C;for(let F of h)C=p(b,F,()=>null,m),m=C.nodeMap,b=C.items;a(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,b,m){a(({items:C,nodeMap:E})=>{let F=E.get(h);if(!F)return{items:C,nodeMap:E};let{items:x,nodeMap:w}=p(C,h,()=>null,E);const S={...F,parentKey:b};return b==null?(g(S,w),{items:[...x.slice(0,m),S,...x.slice(m)],nodeMap:w}):p(x,b,O=>({key:O.key,parentKey:O.parentKey,value:O.value,children:[...O.children.slice(0,m),S,...O.children.slice(m)]}),w)})},moveBefore(h,b){a(m=>{let{items:C,nodeMap:E}=m,F=E.get(h);if(!F)return m;var x;let w=(x=F.parentKey)!==null&&x!==void 0?x:null,S=null;var O;w!=null&&(S=(O=E.get(w))!==null&&O!==void 0?O:null);let K=S!=null&&S.children?S.children.indexOf(F):C.indexOf(F);return ks(m,b,S,K,p,g)})},moveAfter(h,b){a(m=>{let{items:C,nodeMap:E}=m,F=E.get(h);if(!F)return m;var x;let w=(x=F.parentKey)!==null&&x!==void 0?x:null,S=null;var O;w!=null&&(S=(O=E.get(w))!==null&&O!==void 0?O:null);let K=S!=null&&S.children?S.children.indexOf(F):C.indexOf(F);return K++,ks(m,b,S,K,p,g)})},update(h,b){a(({items:m,nodeMap:C})=>p(m,h,E=>{let F={key:E.key,parentKey:E.parentKey,value:b,children:null},x=f(i(b),C,F.key);return F.children=x.items,F},C))}}}function ks(t,e,r,n,i,o){let{items:a,nodeMap:l}=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=l.get(s.parentKey))!==null&&d!==void 0?d:null}let f=n,p=Array.isArray(e)?e:[...e],g=new Map,y=[],h=a,b=l,m=0;function C(w,{inorder:S,postorder:O}){S==null||S(w);var K;if(w!=null)for(let H of(K=w.children)!==null&&K!==void 0?K:[])C(H,{inorder:S,postorder:O}),O==null||O(H)}function E(w){p.includes(w.key)&&g.set(w.key,m++)}function F(w){if(p.includes(w.key)){var S;y.push({...b.get(w.key),parentKey:(S=r==null?void 0:r.key)!==null&&S!==void 0?S:null});let{items:O,nodeMap:K}=i(h,w.key,()=>null,b);h=O,b=K}(w.parentKey===r||w.parentKey===(r==null?void 0:r.key))&&p.includes(w.key)&&(r!=null&&r.children?r.children.indexOf(w):a.indexOf(w))<f&&n--}C({children:a},{inorder:E,postorder:F});let x=y.sort((w,S)=>g.get(w.key)>g.get(S.key)?1:-1);return!r||r.key==null?(x.forEach(w=>{o(w,b)}),{items:[...h.slice(0,n),...x,...h.slice(n)],nodeMap:b}):i(h,r.key,w=>({key:w.key,parentKey:w.parentKey,value:w.value,children:[...w.children.slice(0,n),...x,...w.children.slice(n)]}),b)}function fp(t){let e=al(t),[r,n]=u.useState(null),[i,o]=u.useState([]),a=()=>{o([]),e.close()};return{focusStrategy:r,...e,open(c=null){n(c),e.open()},toggle(c=null){n(c),e.toggle()},close(){a()},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 hp(t){let e=al(t),[r,n]=u.useState(null),i=K2({...t,onSelectionChange:d=>{t.onSelectionChange!=null&&t.onSelectionChange(d),e.close(),o.commitValidation()}}),o=qh({...t,value:i.selectedKey}),[a,l]=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:a,setFocused:l}}function pp(t){var e,r;let n=K2({...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:Is(t.collection,t.disabledKeys?new Set(t.disabledKeys):new Set))!==null&&r!==void 0?r:void 0}),{selectionManager:i,collection:o,selectedKey:a}=n,l=u.useRef(a);return u.useEffect(()=>{let s=a;t.selectedKey==null&&(i.isEmpty||s==null||!o.getItem(s))&&(s=Is(o,n.disabledKeys),s!=null&&i.setSelectedKeys([s])),(s!=null&&i.focusedKey==null||!i.isFocused&&s!==l.current)&&i.setFocusedKey(s),l.current=s}),{...n,isDisabled:t.isDisabled||!1}}function Is(t,e){let r=null;if(t){var n,i,o,a;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)||!((a=t.getItem(r))===null||a===void 0||(o=a.props)===null||o===void 0)&&o.isDisabled)&&r===t.getLastKey()&&(r=t.getFirstKey())}return r}class gp{*[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=l=>{if(this.keyMap.set(l.key,l),l.childNodes&&(l.type==="section"||r.has(l.key)))for(let s of l.childNodes)n(s)};for(let l of e)n(l);let i=null,o=0;for(let[l,s]of this.keyMap)i?(i.nextKey=l,s.prevKey=i.key):(this.firstKey=l,s.prevKey=void 0),s.type==="item"&&(s.index=o++),i=s,i.nextKey=void 0;var a;this.lastKey=(a=i==null?void 0:i.key)!==null&&a!==void 0?a:null}}function vp(t){let{onExpandedChange:e}=t,[r,n]=Ci(t.expandedKeys?new Set(t.expandedKeys):void 0,t.defaultExpandedKeys?new Set(t.defaultExpandedKeys):new Set,e),i=ol(t),o=u.useMemo(()=>t.disabledKeys?new Set(t.disabledKeys):new Set,[t.disabledKeys]),a=Ju(t,u.useCallback(s=>new gp(s,{expandedKeys:r}),[r]),null);return u.useEffect(()=>{i.focusedKey!=null&&!a.getItem(i.focusedKey)&&i.setFocusedKey(null)},[a,i.focusedKey]),{collection:a,expandedKeys:r,disabledKeys:o,toggleKey:s=>{n(bp(r,s))},setExpandedKeys:n,selectionManager:new cn(a,i)}}function bp(t,e){let r=new Set(t);return r.has(e)?r.delete(e):r.add(e),r}const mp=u.createContext(null),sa=u.createContext(null),H2=u.createContext(null),V2={CollectionRoot({collection:t,renderDropIndicator:e}){return Os(t,null,e)},CollectionBranch({collection:t,parent:e,renderDropIndicator:r}){return Os(t,e,r)}};function Os(t,e,r){return Bc({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 a=n.key,l=t.getKeyAfter(a);return u.createElement(u.Fragment,null,r({type:"item",key:a,dropPosition:"before"}),o,(l==null||((i=t.getItem(l))===null||i===void 0?void 0:i.type)!=="item")&&r({type:"item",key:a,dropPosition:"after"}))}})}const Lt=u.createContext(V2);function z2(t){return u.useMemo(()=>t!=null?new Set([t]):null,[t])}const _i=u.createContext({}),U2=u.createContext(null),yp=u.forwardRef(function(e,r){let{render:n}=u.useContext(U2);return u.createElement(u.Fragment,null,n(e,r))});function W2(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(a=>{if(i||e!=null&&e.isDropTarget(a))return n?n(a):u.createElement(yp,{target:a})},[e==null?void 0:e.target,i,n]);return t!=null&&t.useDropIndicator?o:void 0}function Cp(t,e,r){var n,i;let o=t.focusedKey,a=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"){a=r.target.key;var l;r.target.dropPosition==="after"&&(a=(l=r.collection.getKeyAfter(a))!==null&&l!==void 0?l:a)}return u.useMemo(()=>new Set([o,a].filter(s=>s!=null)),[o,a])}const Z2=u.createContext({}),ll=u.createContext({}),ri=Fi("separator",function(e,r){[e,r]=Xe(e,r,ll);let{elementType:n,orientation:i,style:o,className:a,slot:l,...s}=e,c=n||"hr";c==="hr"&&i==="vertical"&&(c="div");let{separatorProps:d}=J4({...s,elementType:n,orientation:i});return u.createElement(c,{...he(e),...d,style:o,className:a??"react-aria-Separator",ref:r,slot:l||void 0})}),sl=u.createContext(null),un=u.createContext(null),Ep=u.forwardRef(function(e,r){[e,r]=Xe(e,r,sl);let n=u.useContext(un);return n?u.createElement(G2,{state:n,props:e,listBoxRef:r}):u.createElement(Si,{content:u.createElement(Ga,e)},i=>u.createElement(wp,{props:e,listBoxRef:r,collection:i}))});function wp({props:t,listBoxRef:e,collection:r}){t={...t,collection:r,children:null,items:null};let{layoutDelegate:n}=u.useContext(Lt),i=L2({...t,layoutDelegate:n});return u.createElement(G2,{state:i,props:t,listBoxRef:e})}function G2({state:t,props:e,listBoxRef:r}){let{filter:n,collectionProps:i,collectionRef:o}=u.useContext(sa)||{};e=u.useMemo(()=>i?{...e,...i}:e,[e,i]);let{dragAndDropHooks:a,layout:l="stack",orientation:s="vertical"}=e;r=nt(u.useMemo(()=>ka(r,o!==void 0?o:null),[o,r]));let c=up(t,n),{collection:d,selectionManager:f}=c,p=!!(a!=null&&a.useDraggableCollectionState),g=!!(a!=null&&a.useDroppableCollectionState),{direction:y}=Bt(),{disabledBehavior:h,disabledKeys:b}=f,m=qa({usage:"search",sensitivity:"base"}),{isVirtualized:C,layoutDelegate:E,dropTargetDelegate:F,CollectionRoot:x}=u.useContext(Lt),w=u.useMemo(()=>e.keyboardDelegate||new tl({collection:d,collator:m,ref:r,disabledKeys:b,disabledBehavior:h,layout:l,orientation:s,direction:y,layoutDelegate:E}),[d,m,r,h,b,s,y,e.keyboardDelegate,l,E]),{listBoxProps:S}=M4({...e,shouldSelectOnPressUp:p||e.shouldSelectOnPressUp,keyboardDelegate:w,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,D,B,U=!1,k=null,W=u.useRef(null);if(p&&a){H=a.useDraggableCollectionState({collection:d,selectionManager:f,preview:a.renderDragPreview?W:void 0}),a.useDraggableCollection({},H,r);let $=a.DragPreview;k=a.renderDragPreview?u.createElement($,{ref:W},a.renderDragPreview):null}if(g&&a){D=a.useDroppableCollectionState({collection:d,selectionManager:f});let $=a.dropTargetDelegate||F||new a.ListDropTargetDelegate(d,r,{orientation:s,layout:l,direction:y});B=a.useDroppableCollection({keyboardDelegate:w,dropTargetDelegate:$},D,r),U=D.isDropTarget({type:"root"})}let{focusProps:_,isFocused:I,isFocusVisible:z}=Dr(),L={isDropTarget:U,isEmpty:c.collection.size===0,isFocused:I,isFocusVisible:z,layout:e.layout||"stack",state:c},M=Fe({className:e.className,style:e.style,defaultClassName:"react-aria-ListBox",values:L}),R=null;return c.collection.size===0&&e.renderEmptyState&&(R=u.createElement("div",{role:"option",style:{display:"contents"}},e.renderEmptyState(L))),u.createElement(Ya,null,u.createElement("div",{...he(e),...ie(S,_,B==null?void 0:B.collectionProps),...M,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":I||void 0,"data-focus-visible":z||void 0,"data-layout":e.layout||"stack","data-orientation":e.orientation||"vertical"},u.createElement(it,{values:[[sl,e],[un,c],[_i,{dragAndDropHooks:a,dragState:H,dropState:D}],[ll,{elementType:"div"}],[U2,{render:Sp}],[H2,{name:"ListBoxSection",render:Dp}]]},u.createElement(x,{collection:d,scrollRef:r,persistedKeys:Cp(f,a,D),renderDropIndicator:W2(a,D)})),R,k))}function Dp(t,e,r,n="react-aria-ListBoxSection"){let i=u.useContext(un),{dragAndDropHooks:o,dropState:a}=u.useContext(_i),{CollectionBranch:l}=u.useContext(Lt),[s,c]=La();var d;let{headingProps:f,groupProps:p}=H4({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(Z2.Provider,{value:{...f,ref:s}},u.createElement(l,{collection:i.collection,parent:r,renderDropIndicator:W2(o,a)})))}const xp=Fi("item",function(e,r,n){let i=nt(r),o=u.useContext(un),{dragAndDropHooks:a,dragState:l,dropState:s}=u.useContext(_i),{optionProps:c,labelProps:d,descriptionProps:f,...p}=K4({key:n.key,"aria-label":e==null?void 0:e["aria-label"]},o,i),{hoverProps:g,isHovered:y}=wr({isDisabled:!p.allowsSelection&&!p.hasAction,onHoverStart:n.props.onHoverStart,onHoverChange:n.props.onHoverChange,onHoverEnd:n.props.onHoverEnd}),h=null;l&&a&&(h=a.useDraggableItem({key:n.key},l));let b=null;s&&a&&(b=a.useDroppableItem({target:{type:"item",key:n.key,dropPosition:"on"}},s,i));let m=l&&l.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:!!l,isDragging:m,isDropTarget:b==null?void 0:b.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,b==null?void 0:b.dropProps),...C,ref:i,"data-allows-dragging":!!l||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":(b==null?void 0:b.isDropTarget)||void 0,"data-selection-mode":o.selectionManager.selectionMode==="none"?void 0:o.selectionManager.selectionMode},u.createElement(it,{values:[[il,{slots:{[Gr]:d,label:d,description:f}}]]},C.children))});function Sp(t,e){e=nt(e);let{dragAndDropHooks:r,dropState:n}=u.useContext(_i),{dropIndicatorProps:i,isHidden:o,isDropTarget:a}=r.useDropIndicator(t,n,e);return o?null:u.createElement($p,{...t,dropIndicatorProps:i,isDropTarget:a,ref:e})}function Fp(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 $p=u.forwardRef(Fp),_p=u.createContext({placement:"bottom"}),q2=u.createContext(null),Ns=u.createContext(null),Pi=u.forwardRef(function(e,r){[e,r]=Xe(e,r,q2);let n=u.useContext(ul),i=al(e),o=e.isOpen!=null||e.defaultOpen!=null||!n?i:n,a=I5(r,o.isOpen)||e.isExiting||!1,l=V5(),{direction:s}=Bt();if(l){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&&!a?null:u.createElement(Pp,{...e,triggerRef:e.triggerRef,state:o,popoverRef:r,isExiting:a,dir:s})});function Pp({state:t,isExiting:e,UNSTABLE_portalContainer:r,...n}){let i=u.useRef(null),[o,a]=u.useState(0),l=u.useRef(null),s=u.useContext(Ns),c=s&&n.trigger==="SubmenuTrigger";ne(()=>{i.current&&t.isOpen&&a(i.current.getBoundingClientRect().width)},[t.isOpen,i]);var d;let{popoverProps:f,underlayProps:p,arrowProps:g,placement:y}=_4({...n,offset:(d=n.offset)!==null&&d!==void 0?d:8,arrowSize:o,groupRef:c?s:l},t),h=n.popoverRef,b=k5(h,!!y)||n.isEntering||!1,m=Fe({...n,defaultClassName:"react-aria-Popover",values:{trigger:n.trigger||null,placement:y,isEntering:b,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)&&bt(h.current)},[E,h]);let x={...f.style,...m.style},w=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:x,dir:n.dir,"data-trigger":n.trigger,"data-placement":y,"data-entering":b||void 0,"data-exiting":e||void 0},!n.isNonModal&&u.createElement(ws,{onDismiss:t.close}),u.createElement(_p.Provider,{value:{...g,placement:y,ref:i}},m.children),u.createElement(ws,{onDismiss:t.close}));if(!c)return u.createElement(Ds,{...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:l,style:{display:"contents"}},u.createElement(Ns.Provider,{value:l},w)));var S;return u.createElement(Ds,{...n,shouldContainFocus:E,isExiting:e,portalContainer:(S=r??(s==null?void 0:s.current))!==null&&S!==void 0?S:void 0},w)}const Ap=u.createContext({}),Tp=u.createContext(null),cl=u.createContext(null),Ms=u.createContext(null),ni=u.createContext(null),kp=u.createContext(null),Y2=u.forwardRef(function(e,r){return[e,r]=Xe(e,r,Tp),u.createElement(Si,{content:u.createElement(Ga,e)},n=>u.createElement(Ip,{props:e,collection:n,menuRef:r}))});function Ip({props:t,collection:e,menuRef:r}){let{filter:n,collectionProps:i,collectionRef:o}=u.useContext(sa)||{};r=nt(u.useMemo(()=>ka(r,o!==void 0?o:null),[o,r]));let a=u.useMemo(()=>n?e.UNSTABLE_filter(n):e,[e,n]),l=vp({...t,collection:a,children:void 0}),s=u.useContext(Ms),{isVirtualized:c,CollectionRoot:d}=u.useContext(Lt),{menuProps:f}=U4({...t,...i,isVirtualized:c,onClose:t.onClose||(s==null?void 0:s.close)},l,r),p=Fe({defaultClassName:"react-aria-Menu",className:t.className,style:t.style,values:{isEmpty:l.collection.size===0}}),g=null;return l.collection.size===0&&t.renderEmptyState&&(g=u.createElement("div",{role:"menuitem",style:{display:"contents"}},t.renderEmptyState())),u.createElement(Ya,null,u.createElement("div",{...he(t),...f,...p,ref:r,slot:t.slot||void 0,"data-empty":l.collection.size===0||void 0,onScroll:t.onScroll},u.createElement(it,{values:[[cl,l],[ll,{elementType:"div"}],[H2,{name:"MenuSection",render:Np}],[kp,{parentMenuRef:r,shouldUseVirtualFocus:i==null?void 0:i.shouldUseVirtualFocus}],[ca,null],[sa,null],[ni,l.selectionManager],[Ms,s??fp({})]]},u.createElement(d,{collection:l.collection,persistedKeys:z2(l.selectionManager.focusedKey),scrollRef:r})),g))}class Op 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 Np(t,e,r,n="react-aria-MenuSection"){var i,o;let a=u.useContext(cl),{CollectionBranch:l}=u.useContext(Lt),[s,c]=La();var d;let{headingProps:f,groupProps:p}=Z4({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(ni),h=ol(t),b=t.selectionMode!=null?new Op(y,h):y;return u.createElement("section",{...he(t),...p,...g,ref:e},u.createElement(it,{values:[[Z2,{...f,ref:s}],[ni,b]]},u.createElement(l,{collection:a.collection,parent:r})))}const ca=u.createContext(null),ua=Fi("item",function(e,r,n){var i;[e,r]=Xe(e,r,ca);let o=(i=Ei(ca))===null||i===void 0?void 0:i.id,a=u.useContext(cl),l=nt(r),s=u.useContext(ni),{menuItemProps:c,labelProps:d,descriptionProps:f,keyboardShortcutProps:p,...g}=W4({...e,id:o,key:n.key,selectionManager:s},a,l),{hoverProps:y,isHovered:h}=wr({isDisabled:g.isDisabled}),b=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),...b,ref:l,"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:[[il,{slots:{[Gr]:d,label:d,description:f}}],[Ap,p]]},b.children))}),Mp=u.createContext(null),ul=u.createContext(null),Rp=u.forwardRef(function(e,r){let n=e["aria-labelledby"];[e,r]=Xe(e,r,Mp);let{dialogProps:i,titleProps:o}=G4({...e,"aria-labelledby":n},r),a=u.useContext(ul);!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 l=Fe({defaultClassName:"react-aria-Dialog",className:e.className,style:e.style,children:e.children,values:{close:(a==null?void 0:a.close)||(()=>{})}});return u.createElement("section",{...he(e),...i,...l,ref:r,slot:e.slot||void 0},u.createElement(it,{values:[[K1,{slots:{[Gr]:{},title:{...o,level:2}}}],[nl,{slots:{[Gr]:{},close:{onPress:()=>a==null?void 0:a.close()}}}]]},l.children))}),X2=u.createContext(null),J2=u.createContext(null),Bp=u.forwardRef(function(e,r){[e,r]=Xe(e,r,X2);let{children:n,isDisabled:i=!1,isInvalid:o=!1,isRequired:a=!1}=e,l=u.useMemo(()=>typeof n=="function"?n({isOpen:!1,isDisabled:i,isInvalid:o,isRequired:a,isFocused:!1,isFocusVisible:!1,defaultChildren:null}):n,[n,i,o,a]);return u.createElement(Si,{content:l},s=>u.createElement(Lp,{props:e,collection:s,selectRef:r}))});function Lp({props:t,selectRef:e,collection:r}){let{validationBehavior:n}=Ei(mp)||{};var i,o;let a=(o=(i=t.validationBehavior)!==null&&i!==void 0?i:n)!==null&&o!==void 0?o:"native",l=hp({...t,collection:r,children:void 0,validationBehavior:a}),{isFocusVisible:s,focusProps:c}=Dr({within:!0}),d=u.useRef(null),[f,p]=La(!t["aria-label"]&&!t["aria-labelledby"]),{labelProps:g,triggerProps:y,valueProps:h,menuProps:b,descriptionProps:m,errorMessageProps:C,...E}=q4({...j5(t),label:p,validationBehavior:a},l,d),[F,x]=u.useState(null),w=u.useCallback(()=>{d.current&&x(d.current.offsetWidth+"px")},[d]);Uo({ref:d,onResize:w});let S=u.useMemo(()=>({isOpen:l.isOpen,isFocused:l.isFocused,isFocusVisible:s,isDisabled:t.isDisabled||!1,isInvalid:E.isInvalid||!1,isRequired:t.isRequired||!1}),[l.isOpen,l.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:[[X2,t],[J2,l],[jp,h],[B2,{...g,ref:f,elementType:"span"}],[nl,{...y,ref:d,isPressed:l.isOpen}],[ul,l],[q2,{trigger:"Select",triggerRef:d,scrollRef:H,placement:"bottom start",style:{"--trigger-width":F},"aria-labelledby":b["aria-labelledby"]}],[sl,{...b,ref:H}],[un,l],[il,{slots:{description:m,errorMessage:C}}],[sp,E]]},u.createElement("div",{...K,...O,...c,ref:e,slot:t.slot||void 0,"data-focused":l.isFocused||void 0,"data-focus-visible":s||void 0,"data-open":l.isOpen||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":E.isInvalid||void 0,"data-required":t.isRequired||void 0}),u.createElement(X4,{autoComplete:t.autoComplete,state:l,triggerRef:d,label:p,name:t.name,isDisabled:t.isDisabled}))}const jp=u.createContext(null),Ai=u.createContext(null),br=u.createContext(null),Kp=u.forwardRef(function(e,r){[e,r]=Xe(e,r,Ai);let{children:n,orientation:i="horizontal"}=e;return n=u.useMemo(()=>typeof n=="function"?n({orientation:i,defaultChildren:null}):n,[n,i]),u.createElement(Si,{content:n},o=>u.createElement(Hp,{props:e,collection:o,tabsRef:r}))});function Hp({props:t,tabsRef:e,collection:r}){let{orientation:n="horizontal"}=t,i=pp({...t,collection:r,children:void 0}),{focusProps:o,isFocused:a,isFocusVisible:l}=Dr({within:!0}),s=u.useMemo(()=>({orientation:n,isFocusWithin:a,isFocusVisible:l}),[n,a,l]),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":a||void 0,"data-orientation":n,"data-focus-visible":l||void 0,"data-disabled":i.isDisabled||void 0},u.createElement(it,{values:[[Ai,t],[br,i]]},c.children))}const Vp=u.forwardRef(function(e,r){return u.useContext(br)?u.createElement(zp,{props:e,forwardedRef:r}):u.createElement(Ga,e)});function zp({props:t,forwardedRef:e}){let r=u.useContext(br),{CollectionRoot:n}=u.useContext(Lt),{orientation:i="horizontal",keyboardActivation:o="automatic"}=Ei(Ai),a=nt(e),{tabListProps:l}=rp({...t,orientation:i,keyboardActivation:o},r,a),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,...l,ref:a,...s,"data-orientation":i||void 0},u.createElement(n,{collection:r.collection,persistedKeys:z2(r.selectionManager.focusedKey)}))}const Up=Fi("item",(t,e,r)=>{let n=u.useContext(br),i=nt(e),{tabProps:o,isSelected:a,isDisabled:l,isPressed:s}=Q4({key:r.key,...t},n,i),{focusProps:c,isFocused:d,isFocusVisible:f}=Dr(),{hoverProps:p,isHovered:g}=wr({isDisabled:l,onHoverStart:t.onHoverStart,onHoverEnd:t.onHoverEnd,onHoverChange:t.onHoverChange}),y=Fe({...t,id:void 0,children:r.rendered,defaultClassName:"react-aria-Tab",values:{isSelected:a,isDisabled:l,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":a||void 0,"data-disabled":l||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)}),Wp=Ha(function(e,r){const n=u.useContext(br);let i=nt(r),{tabPanelProps:o}=ep(e,n,i),{focusProps:a,isFocused:l,isFocusVisible:s}=Dr(),c=n.selectedKey===e.id,d=Fe({...e,defaultClassName:"react-aria-TabPanel",values:{isFocused:l,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,a,d):d;return u.createElement("div",{...p,ref:i,"data-focused":l||void 0,"data-focus-visible":s||void 0,inert:P5(!c),"data-inert":c?void 0:"true"},u.createElement(it,{values:[[Ai,null],[br,null]]},u.createElement(Lt.Provider,{value:V2},d.children)))}),Zp=t=>"type"in t&&t.type==="separator",Yr=({options:t,isOpen:e=!1,onOpenChange:r,children:n,selectedValues:i=[],onSelectValue:o,topMessage:a,shouldCloseOnInteractOutside:l})=>{const s=u.useId(),c=u.useRef(null),d=f=>{r==null||r(f)};return v.jsxs(v.Fragment,{children:[v.jsx("div",{className:"c__dropdown-menu-trigger",ref:c,id:s,onClick:f=>{f.stopPropagation(),f.preventDefault()},children:n}),v.jsx(Pi,{triggerRef:c,style:{marginTop:"0px"},isOpen:e,shouldCloseOnInteractOutside:l,onOpenChange:d,children:v.jsxs(Y2,{className:"c__dropdown-menu","aria-labelledby":s,children:[a&&v.jsx(ua,{className:"c__dropdown-menu-item-top-message",children:a}),t.map((f,p)=>{if(Zp(f))return v.jsx(ri,{},`separator-${p}`);if(f.isHidden)return null;const g=f.id||f.label;return v.jsxs(u.Fragment,{children:[v.jsxs(ua,{className:`c__dropdown-menu-item${f.variant==="danger"?" c__dropdown-menu-item--danger":""}`,"aria-label":f.label,onAction:()=>{var y;f.value&&(o==null||o(f.value)),(y=f.callback)==null||y.call(f),d(!1)},isDisabled:f.isDisabled,"data-testid":f.testId,children:[f.icon,v.jsxs("div",{className:"c__dropdown-menu-item__label-container",children:[v.jsx("div",{className:"c__dropdown-menu-item__label","aria-label":f.label,children:f.label}),f.subText&&v.jsx("div",{className:"c__dropdown-menu-item__label-subtext",children:f.subText})]}),(f.isChecked||f.value&&i.includes(f.value))&&v.jsx("span",{className:"material-icons checked",children:"check"})]}),f.showSeparator&&v.jsx(ri,{})]},g)})]})})]})},mr=()=>{const[t,e]=u.useState(!1);return{isOpen:t,setIsOpen:e}},da=u.createContext(null),Q2=()=>{const t=u.useContext(da);if(!t)throw new Error("ContextMenu must be used within a ContextMenuProvider");return t},fo=t=>!("type"in t),Rs=(t,e)=>t.id||`${t.label}-${e}`,Gp=({children:t})=>{const e=u.useContext(da),[r,n]=u.useState({isOpen:!1,position:{x:0,y:0},items:[]}),i=u.useRef(null),o=u.useRef(!1),a=u.useRef(void 0),l=e!==null;u.useEffect(()=>{o.current=r.isOpen},[r.isOpen]),u.useEffect(()=>{l||i.current&&(i.current.style.left=`${r.position.x}px`,i.current.style.top=`${r.position.y}px`)},[r.position,l]),u.useEffect(()=>{if(l)return;const f=p=>{var g;o.current&&(p.preventDefault(),(g=a.current)==null||g.call(a),a.current=void 0,n(y=>({...y,isOpen:!1})))};return document.addEventListener("contextmenu",f,!0),()=>{document.removeEventListener("contextmenu",f,!0)}},[l]);const s=u.useCallback(f=>{var p;(p=a.current)==null||p.call(a),a.current=f.onBlur,n({isOpen:!0,position:f.position,items:f.items})},[]),c=u.useCallback(()=>{var f;(f=a.current)==null||f.call(a),a.current=void 0,n(p=>({...p,isOpen:!1}))},[]),d=u.useMemo(()=>({open:s,close:c}),[s,c]);return l?(process.env.NODE_ENV!=="production"&&console.error("ContextMenuProvider: Multiple instances detected. Only one ContextMenuProvider should exist in your app tree. Nested providers will be ignored."),v.jsx(v.Fragment,{children:t})):v.jsxs(da.Provider,{value:d,children:[t,v.jsx("div",{ref:i,style:{position:"fixed",left:r.position.x,top:r.position.y,width:0,height:0,pointerEvents:"none"}}),v.jsx(Pi,{triggerRef:i,isOpen:r.isOpen,onOpenChange:f=>{f||c()},placement:"bottom start",shouldFlip:!0,children:v.jsx(Y2,{className:"c__dropdown-menu","aria-label":"Context menu","data-testid":"context-menu",onAction:f=>{var g;const p=r.items.find((y,h)=>fo(y)&&Rs(y,h)===f);p&&fo(p)&&!p.isDisabled&&((g=p.callback)==null||g.call(p),c())},children:r.items.map((f,p)=>{if(!fo(f))return v.jsx(ri,{},`separator-${p}`);if(f.isHidden)return null;const g=Rs(f,p);return v.jsxs(ua,{id:g,className:`c__dropdown-menu-item${f.variant==="danger"?" c__dropdown-menu-item--danger":""}`,"aria-label":f.label,isDisabled:f.isDisabled,"data-testid":f.testId||`context-menu-item-${g}`,children:[f.icon,v.jsxs("div",{className:"c__dropdown-menu-item__label-container",children:[v.jsx("div",{className:"c__dropdown-menu-item__label",children:f.label}),f.subText&&v.jsx("div",{className:"c__dropdown-menu-item__label-subtext",children:f.subText})]})]},g)})})})]})},qp=({children:t,options:e,context:r,disabled:n=!1,asChild:i=!1,onFocus:o,onBlur:a})=>{const{open:l}=Q2(),s=c=>{if(n)return;c.preventDefault(),c.stopPropagation();const d=typeof e=="function"?e(r):e;o==null||o(),l({position:{x:c.clientX,y:c.clientY},items:d,onBlur:a})};if(i){if(!u.isValidElement(t))return console.warn("ContextMenu with asChild requires a single React element as child"),v.jsx(v.Fragment,{children:t});const c=t,d=c.props.onContextMenu;return u.cloneElement(c,{onContextMenu:f=>{d==null||d(f),s(f)}})}return v.jsx("div",{onContextMenu:s,"data-testid":"context-menu-trigger",children:t})},Bs="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",Yp="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",Xp=({externalLinks:t,legalLinks:e,license:r,logo:n})=>{const{t:i}=X.useCunningham();return v.jsxs("footer",{className:"c__footer",children:[v.jsx("div",{className:"c__footer__stripe"}),v.jsxs("div",{className:"c__footer__content",children:[v.jsxs("div",{className:"c__footer__content__top",children:[v.jsx("div",{children:v.jsx("div",{className:"c__footer__content__top__logo",children:v.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)||Yp})})}),v.jsx("div",{className:"c__footer__content__top__links",children:t==null?void 0:t.map(({label:o,href:a})=>v.jsxs("a",{href:a,target:"_blank",children:[v.jsx("span",{children:o}),v.jsx("img",{alt:"",width:"18",decoding:"async",src:Bs})]},o))})]}),v.jsx("div",{className:"c__footer__content__middle",children:e==null?void 0:e.map(({label:o,href:a})=>v.jsx("a",{href:a,children:v.jsx("span",{children:o})},o))}),r&&v.jsxs("p",{className:"c__footer__content__mention",children:[r==null?void 0:r.label," ",v.jsxs("a",{href:r==null?void 0:r.link.href,target:"_blank",children:[v.jsx("span",{children:r==null?void 0:r.link.label}),v.jsx("img",{alt:"",width:"18",decoding:"async",src:Bs})]})]})]})]})},Jp=t=>v.jsx(Bp,{...t,className:"c__filter",children:v.jsx(Qp,{...t})}),Qp=t=>{const e=u.useContext(J2),r=e!=null&&e.selectedItem?t.options.find(n=>{var i;return n.value===((i=e.selectedItem)==null?void 0:i.key)}):null;return v.jsxs(v.Fragment,{children:[v.jsxs(ap,{className:ve("c__filter__button",{"c__filter__button--active":!!r}),children:[v.jsx(np,{className:"c__filter__label",children:r?v.jsxs(v.Fragment,{children:[t.label," : ",r.label]}):v.jsx(v.Fragment,{children:t.label})}),v.jsx("span",{"aria-hidden":"true",className:ve("material-icons c__filter__button__icon",{opened:e==null?void 0:e.isOpen}),children:"keyboard_arrow_down"})]}),v.jsx(Pi,{className:"c__dropdown-menu",children:v.jsx(Ep,{children:t.options.map(n=>v.jsxs(u.Fragment,{children:[v.jsx(xp,{id:n.value,className:"c__dropdown-menu-item",children:v.jsxs("div",{className:"c__filter__item",children:[n.render?n.render():n.label,(t.selectedKey===n.value||n.isChecked)&&v.jsx("span",{className:"material-icons checked",children:"check"})]})},n.value),n.showSeparator&&v.jsx(ri,{})]},n.value))})})]})},e3=({logo:t,mainButton:e,banner:r,title:n,subtitle:i})=>v.jsx("div",{className:"c__hero",children:v.jsxs("div",{className:"c__hero__display",children:[v.jsxs("div",{className:"c__hero__display__captions",children:[t,v.jsx("h2",{children:n}),v.jsx("span",{className:"c__hero__display__captions__subtitle",children:i}),e||v.jsx(Sc,{})]}),v.jsx("img",{src:r,alt:""})]})}),t3=({children:t})=>v.jsx("div",{className:"c__home-gutter",children:t}),ed=(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:ed(t[i],n.slice(1),r)},r3={placeholder:"Entrez votre adresse e-mail",srLabel:"Adresse e-mail",submit:"Suivant",title:"Connexion avec {linebreak}votre adresse e-mail"},n3={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"}},i3={label:"Les services de La Suite numérique"},o3={homepageLinkTitle:"Accueil - {serviceName}"},a3={newWindow:"{title} - nouvelle fenêtre"},l3={help:"Qu'est-ce que ProConnect ?",loginWith:"S’identifier avec",loginWithProconnect:"{loginWith} {proconnect}",or:"ou",title:"Connexion avec ProConnect"},td={email:r3,footer:n3,gaufre:i3,header:o3,links:a3,proconnect:l3},s3=u.createContext(td);function c3(){const t=u.useContext(s3)||td;return{t:function(e,r={}){const n=ed(t,e);if(!n)return console.warn(`Translation for key "${e}" not found`),e;if(r){const i=[];if(Object.keys(r).forEach(a=>{typeof r[a]!="string"&&i.push(a)}),!i.length)return n.replace(/{(\w+)}/g,(a,l)=>r[l]);const o=n.split(/{(.*?)}/);return v.jsx(v.Fragment,{children:o.map((a,l)=>a in r?v.jsx(u.Fragment,{children:r[a]},l):a)})}return n}}}const u3={responsive:"lasuite-gaufre-btn--responsive",small:"lasuite-gaufre-btn--small"},d3=({variant:t})=>{const{t:e}=c3(),r=t?u3[t]:"";return v.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")})},f3=()=>v.jsxs(v.Fragment,{children:[v.jsx("script",{src:"https://integration.lasuite.numerique.gouv.fr/api/v1/gaufre.js",id:"lasuite-gaufre-script",async:!0,defer:!0}),v.jsx(d3,{variant:"small"})]}),h3="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 ho={},Tr={},Ls;function p3(){return Ls||(Ls=1,Object.defineProperty(Tr,"__esModule",{value:!0}),Tr.tokens=void 0,Tr.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:{}}}}),Tr}var kr={},js;function g3(){if(js)return kr;js=1,Object.defineProperty(kr,"__esModule",{value:!0}),kr.buildRefs=void 0;const t=e=>{const r=(n,i)=>{if(typeof i=="object"){const o={};return Object.entries(i).forEach(([a,l])=>{o[a]=r((n?n+".":"")+a,l)}),o}return"ref("+n+")"};return r("",e)};return kr.buildRefs=t,kr}var Ir={},po,Ks;function v3(){if(Ks)return po;Ks=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 a(m){return Array.isArray(m)?[]:{}}function l(m,C){return C.clone!==!1&&C.isMergeableObject(m)?h(a(m),m,C):m}function s(m,C,E){return m.concat(C).map(function(F){return l(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(x){F[x]=l(m[x],E)}),f(C).forEach(function(x){g(m,x)||(p(m,x)&&E.isMergeableObject(C[x])?F[x]=c(x,E)(m[x],C[x],E):F[x]=l(C[x],E))}),F}function h(m,C,E){E=E||{},E.arrayMerge=E.arrayMerge||s,E.isMergeableObject=E.isMergeableObject||t,E.cloneUnlessOtherwiseSpecified=l;var F=Array.isArray(C),x=Array.isArray(m),w=F===x;return w?F?E.arrayMerge(m,C,E):y(m,C,E):l(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,x){return h(F,x,E)},{})};var b=h;return po=b,po}var go={},Hs;function b3(){return Hs||(Hs=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:{}}}}}(go)),go}var Vs;function m3(){if(Vs)return Ir;Vs=1,Object.defineProperty(Ir,"__esModule",{value:!0}),Ir.getThemesFromGlobals=void 0;const t=v3(),e=b3(),r=["light","dark"],n={light:e.contextualDefaultTokens,dark:e.contextualDarkTokens},i=(o={},a={})=>(a.variants||r).reduce((s,c)=>{const d=a.prefix?`${a.prefix}-${c}`:c;return s[d]=t({globals:o,contextuals:n[c]},a.overrides||{}),s},{});return Ir.getThemesFromGlobals=i,Ir}var zs;function y3(){return zs||(zs=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.getThemesFromGlobals=t.buildRefs=t.defaultTokenRefs=t.defaultThemes=t.defaultTokens=void 0;const e=p3(),r=g3();Object.defineProperty(t,"buildRefs",{enumerable:!0,get:function(){return r.buildRefs}});const n=m3();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)}(ho)),ho}var Ti=y3();const ki={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"}},rd={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"}}},nd={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},id={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},Us=Ti.getThemesFromGlobals(rd,{overrides:ki}),C3=Ti.getThemesFromGlobals(nd,{prefix:"dsfr",overrides:ki}),E3=Ti.getThemesFromGlobals(id,{prefix:"anct",overrides:ki}),w3={themes:{default:Us.light,dark:Us.dark,...C3,...E3}},fa={...w3},Ws={mobile:parseInt(fa.themes.default.globals.breakpoints.mobile.replace("px","")),tablet:parseInt(fa.themes.default.globals.breakpoints.tablet.replace("px",""))},Zs=(t,e)=>({isMobile:t<=e.mobile,isTablet:t<=e.tablet,isDesktop:t>e.tablet}),ot=()=>{const[t,e]=u.useState(Zs(window.innerWidth,Ws));return u.useEffect(()=>{const r=()=>{const n=Zs(window.innerWidth,Ws);JSON.stringify(n)===JSON.stringify(t)||e(n)};return window.addEventListener("resize",r),()=>{window.removeEventListener("resize",r)}},[t]),t},od=u.memo(({apiUrl:t,data:e,...r})=>{const{t:n}=X.useCunningham(),{isMobile:i}=ot(),o=u.useRef(null),a=u.useMemo(()=>(r==null?void 0:r.widgetPath)||"https://static.suite.anct.gouv.fr/widgets/lagaufre.js",[r==null?void 0:r.widgetPath]),l=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:l,label:s,data:e,closeLabel:c,background:p,showFooter:i,headerLabel:g,headerLogo:h3,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,l,a]),v.jsxs(v.Fragment,{children:[v.jsx("script",{src:a,id:"lasuite-gaufre-script",async:!0}),v.jsx("div",{children:v.jsx(X.Button,{ref:o,icon:v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",fill:"none",viewBox:"0 0 18 18",children:[v.jsx("defs",{children:v.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"})}),v.jsx("use",{href:"#a"}),v.jsx("use",{href:"#a",transform:"translate(6.5)"}),v.jsx("use",{href:"#a",transform:"translate(13)"}),v.jsx("use",{href:"#a",transform:"translate(0 6.5)"}),v.jsx("use",{href:"#a",transform:"translate(6.5 6.5)"}),v.jsx("use",{href:"#a",transform:"translate(13 6.5)"}),v.jsx("use",{href:"#a",transform:"translate(0 13)"}),v.jsx("use",{href:"#a",transform:"translate(6.5 13)"}),v.jsx("use",{href:"#a",transform:"translate(13 13)"})]}),"aria-label":s,variant:"tertiary",className:"lagaufre-button"})})]})});od.displayName="LaGaufreV2";var xe=(t=>(t.X_SMALL="xsmall",t.SMALL="small",t.MEDIUM="medium",t.LARGE="large",t.X_LARGE="xlarge",t))(xe||{}),ii=(t=>(t.OUTLINED="outlined",t.FILLED="filled",t))(ii||{});const Jr=({name:t,size:e,className:r,color:n,type:i=ii.FILLED,...o})=>{const a=ve("material-icons",{[`icon--${e}`]:e!==void 0,[`icon--${i}`]:i!==ii.OUTLINED},r),l={color:n,fontSize:typeof e=="number"?`${e}px`:void 0};return v.jsx("span",{className:a,style:l,...o,children:t})},ad={[xe.X_SMALL]:11,[xe.SMALL]:16,[xe.MEDIUM]:24,[xe.LARGE]:32,[xe.X_LARGE]:40},ld={[xe.X_SMALL]:16,[xe.SMALL]:24,[xe.MEDIUM]:32,[xe.LARGE]:40,[xe.X_LARGE]:48},D3=t=>ld[t]??24,x3=t=>ad[t]??24,sd=({languages:t,onChange:e,size:r,color:n="brand",variant:i="tertiary",fullWidth:o,compact:a=!1})=>{const{isOpen:l,setIsOpen:s}=mr(),c=()=>{const h=t.find(b=>b.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(b=>b.value===d);return(h==null?void 0:h.shortLabel)??(h==null?void 0:h.label)},[t,d]);return v.jsx(Yr,{options:t,isOpen:l,onOpenChange:s,onSelectValue:p,selectedValues:[d],children:v.jsxs(X.Button,{onClick:()=>s(!l),className:"c__language-picker",icon:v.jsx(Jr,{name:l?"arrow_drop_up":"arrow_drop_down"}),iconPosition:"right",size:r,color:a?"neutral":n,variant:i,fullWidth:o,children:[a?null:v.jsx(Jr,{name:"translate",size:g}),v.jsx("span",{className:"c__language-picker__label",children:y})]})})},cd=({leftIcon:t,rightIcon:e,languages:r,onTogglePanel:n,isPanelOpen:i})=>{const{t:o}=X.useCunningham();return v.jsxs("div",{className:"c__header",children:[v.jsx("div",{className:"c__header__toggle-menu",children:v.jsx(X.Button,{size:"medium",onClick:n,"aria-label":o(i?"Close the menu":"Open the menu"),variant:"tertiary",icon:v.jsx("span",{className:"material-icons c__header__toggle-menu__icon",children:i?"close":"menu"})})}),v.jsx("div",{className:"c__header__left",children:t}),v.jsxs("div",{className:"c__header__right",children:[r&&v.jsx("div",{className:"c__header__right__language-picker",children:v.jsx(sd,{languages:r})}),e]})]})},ud=({children:t,isOpen:e=!1,hasHeader:r=!0})=>{const{isDesktop:n}=ot();return n?v.jsx("div",{className:ve("c__left-panel",{"has-header":r}),children:t}):v.jsx("div",{className:ve("c__left-panel__mobile",{open:e}),children:t})},{createElement:yr,createContext:S3,forwardRef:dd,useCallback:$e,useContext:fd,useEffect:Ft,useImperativeHandle:hd,useLayoutEffect:F3,useMemo:$3,useRef:Pe,useState:dr}=A,Gs=A[`useId${Math.random()}`.slice(0,5)],_3=F3,Ii=S3(null);Ii.displayName="PanelGroupContext";const $t=_3,P3=typeof Gs=="function"?Gs:()=>null;let A3=0;function dl(t=null){const e=P3(),r=Pe(t||e||null);return r.current===null&&(r.current=""+A3++),t??r.current}function pd({children:t,className:e="",collapsedSize:r,collapsible:n,defaultSize:i,forwardedRef:o,id:a,maxSize:l,minSize:s,onCollapse:c,onExpand:d,onResize:f,order:p,style:g,tagName:y="div",...h}){const b=fd(Ii);if(b===null)throw Error("Panel components must be rendered within a PanelGroup container");const{collapsePanel:m,expandPanel:C,getPanelSize:E,getPanelStyle:F,groupId:x,isPanelCollapsed:w,reevaluatePanelConstraints:S,registerPanel:O,resizePanel:K,unregisterPanel:H}=b,D=dl(a),B=Pe({callbacks:{onCollapse:c,onExpand:d,onResize:f},constraints:{collapsedSize:r,collapsible:n,defaultSize:i,maxSize:l,minSize:s},id:D,idIsFromProps:a!==void 0,order:p});Pe({didLogMissingDefaultSizeWarning:!1}),$t(()=>{const{callbacks:k,constraints:W}=B.current,_={...W};B.current.id=D,B.current.idIsFromProps=a!==void 0,B.current.order=p,k.onCollapse=c,k.onExpand=d,k.onResize=f,W.collapsedSize=r,W.collapsible=n,W.defaultSize=i,W.maxSize=l,W.minSize=s,(_.collapsedSize!==W.collapsedSize||_.collapsible!==W.collapsible||_.maxSize!==W.maxSize||_.minSize!==W.minSize)&&S(B.current,_)}),$t(()=>{const k=B.current;return O(k),()=>{H(k)}},[p,D,O,H]),hd(o,()=>({collapse:()=>{m(B.current)},expand:k=>{C(B.current,k)},getId(){return D},getSize(){return E(B.current)},isCollapsed(){return w(B.current)},isExpanded(){return!w(B.current)},resize:k=>{K(B.current,k)}}),[m,C,E,w,D,K]);const U=F(B.current,i);return yr(y,{...h,children:t,className:e,id:a,style:{...U,...g},"data-panel":"","data-panel-collapsible":n||void 0,"data-panel-group-id":x,"data-panel-id":D,"data-panel-size":parseFloat(""+U.flexGrow).toFixed(1)})}const ha=dd((t,e)=>yr(pd,{...t,forwardedRef:e}));pd.displayName="Panel";ha.displayName="forwardRef(Panel)";let pa=null,St=null;function T3(t,e){if(e){const r=(e&yd)!==0,n=(e&Cd)!==0,i=(e&Ed)!==0,o=(e&wd)!==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 k3(){St!==null&&(document.head.removeChild(St),pa=null,St=null)}function vo(t,e){const r=T3(t,e);pa!==r&&(pa=r,St===null&&(St=document.createElement("style"),document.head.appendChild(St)),St.innerHTML=`*{cursor: ${r}!important;}`)}function gd(t){return t.type==="keydown"}function vd(t){return t.type.startsWith("pointer")}function bd(t){return t.type.startsWith("mouse")}function Oi(t){if(vd(t)){if(t.isPrimary)return{x:t.clientX,y:t.clientY}}else if(bd(t))return{x:t.clientX,y:t.clientY};return{x:1/0,y:1/0}}function I3(){if(typeof matchMedia=="function")return matchMedia("(pointer:coarse)").matches?"coarse":"fine"}function O3(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 N3(t,e){if(t===e)throw new Error("Cannot compare node with itself");const r={a:Xs(t),b:Xs(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:Ys(qs(r.a)),b:Ys(qs(r.b))};if(i.a===i.b){const o=n.childNodes,a={a:r.a.at(-1),b:r.b.at(-1)};let l=o.length;for(;l--;){const s=o[l];if(s===a.a)return 1;if(s===a.b)return-1}}return Math.sign(i.a-i.b)}const M3=/\b(?:position|zIndex|opacity|transform|webkitTransform|mixBlendMode|filter|webkitFilter|isolation)\b/;function R3(t){var e;const r=getComputedStyle((e=md(t))!==null&&e!==void 0?e:t).display;return r==="flex"||r==="inline-flex"}function B3(t){const e=getComputedStyle(t);return!!(e.position==="fixed"||e.zIndex!=="auto"&&(e.position!=="static"||R3(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"||M3.test(e.willChange)||e.webkitOverflowScrolling==="touch")}function qs(t){let e=t.length;for(;e--;){const r=t[e];if(Q(r,"Missing node"),B3(r))return r}return null}function Ys(t){return t&&Number(getComputedStyle(t).zIndex)||0}function Xs(t){const e=[];for(;t;)e.push(t),t=md(t);return e}function md(t){const{parentNode:e}=t;return e&&e instanceof ShadowRoot?e.host:e}const yd=1,Cd=2,Ed=4,wd=8,L3=I3()==="coarse";let He=[],fr=!1,dt=new Map,Ni=new Map;const Qr=new Set;function j3(t,e,r,n,i){var o;const{ownerDocument:a}=e,l={direction:r,element:e,hitAreaMargins:n,setResizeHandlerState:i},s=(o=dt.get(a))!==null&&o!==void 0?o:0;return dt.set(a,s+1),Qr.add(l),oi(),function(){var d;Ni.delete(t),Qr.delete(l);const f=(d=dt.get(a))!==null&&d!==void 0?d:1;if(dt.set(a,f-1),oi(),f===1&&dt.delete(a),He.includes(l)){const p=He.indexOf(l);p>=0&&He.splice(p,1),hl(),i("up",!0,null)}}}function Js(t){const{target:e}=t,{x:r,y:n}=Oi(t);fr=!0,fl({target:e,x:r,y:n}),oi(),He.length>0&&(ai("down",t),t.preventDefault(),t.stopPropagation())}function Or(t){const{x:e,y:r}=Oi(t);if(fr&&t.buttons===0&&(fr=!1,ai("up",t)),!fr){const{target:n}=t;fl({target:n,x:e,y:r})}ai("move",t),hl(),He.length>0&&t.preventDefault()}function Ut(t){const{target:e}=t,{x:r,y:n}=Oi(t);Ni.clear(),fr=!1,He.length>0&&t.preventDefault(),ai("up",t),fl({target:e,x:r,y:n}),hl(),oi()}function fl({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:a}=i,l=o.getBoundingClientRect(),{bottom:s,left:c,right:d,top:f}=l,p=L3?a.coarse:a.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)&&N3(n,o)>0){let y=n,h=!1;for(;y&&!y.contains(o);){if(O3(y.getBoundingClientRect(),l)){h=!0;break}y=y.parentElement}if(h)return}He.push(i)}})}function bo(t,e){Ni.set(t,e)}function hl(){let t=!1,e=!1;He.forEach(n=>{const{direction:i}=n;i==="horizontal"?t=!0:e=!0});let r=0;Ni.forEach(n=>{r|=n}),t&&e?vo("intersection",r):t?vo("horizontal",r):e?vo("vertical",r):k3()}function oi(){dt.forEach((t,e)=>{const{body:r}=e;r.removeEventListener("contextmenu",Ut),r.removeEventListener("pointerdown",Js),r.removeEventListener("pointerleave",Or),r.removeEventListener("pointermove",Or)}),window.removeEventListener("pointerup",Ut),window.removeEventListener("pointercancel",Ut),Qr.size>0&&(fr?(He.length>0&&dt.forEach((t,e)=>{const{body:r}=e;t>0&&(r.addEventListener("contextmenu",Ut),r.addEventListener("pointerleave",Or),r.addEventListener("pointermove",Or))}),window.addEventListener("pointerup",Ut),window.addEventListener("pointercancel",Ut)):dt.forEach((t,e)=>{const{body:r}=e;t>0&&(r.addEventListener("pointerdown",Js,{capture:!0}),r.addEventListener("pointermove",Or))}))}function ai(t,e){Qr.forEach(r=>{const{setResizeHandlerState:n}=r,i=He.includes(r);n(t,i,e)})}function K3(){const[t,e]=dr(0);return $e(()=>e(r=>r+1),[])}function Q(t,e){if(!t)throw console.error(e),Error(e)}const pl=10;function Tt(t,e,r=pl){return t.toFixed(r)===e.toFixed(r)?0:t>e?1:-1}function Qe(t,e,r=pl){return Tt(t,e,r)===0}function Ae(t,e,r){return Tt(t,e,r)===0}function H3(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 ar({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:a=100,minSize:l=0}=n;if(Tt(r,l)<0)if(o){const s=(i+l)/2;Tt(r,s)<0?r=i:r=l}else r=l;return r=Math.min(a,r),r=parseFloat(r.toFixed(pl)),r}function Kr({delta:t,initialLayout:e,panelConstraints:r,pivotIndices:n,prevLayout:i,trigger:o}){if(Ae(t,0))return e;const a=[...e],[l,s]=n;Q(l!=null,"Invalid first pivot index"),Q(s!=null,"Invalid second pivot index");let c=0;if(o==="keyboard"){{const f=t<0?s:l,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 b=e[f];if(Q(b!=null,`Previous layout not found for panel index ${f}`),Ae(b,g)){const m=h-b;Tt(m,Math.abs(t))>0&&(t=t<0?0-m:m)}}}{const f=t<0?l: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 b=e[f];if(Q(b!=null,`Previous layout not found for panel index ${f}`),Ae(b,h)){const m=b-g;Tt(m,Math.abs(t))>0&&(t=t<0?0-m:m)}}}}{const f=t<0?1:-1;let p=t<0?s:l,g=0;for(;;){const h=e[p];Q(h!=null,`Previous layout not found for panel index ${p}`);const m=ar({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?l: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,b=ar({panelConstraints:r,panelIndex:p,size:h});if(!Ae(y,b)&&(c+=y-b,a[p]=b,c.toPrecision(3).localeCompare(Math.abs(t).toPrecision(3),void 0,{numeric:!0})>=0))break;t<0?p--:p++}}if(H3(i,a))return i;{const f=t<0?s:l,p=e[f];Q(p!=null,`Previous layout not found for panel index ${f}`);const g=p+c,y=ar({panelConstraints:r,panelIndex:f,size:g});if(a[f]=y,!Ae(y,g)){let h=g-y,m=t<0?s:l;for(;m>=0&&m<r.length;){const C=a[m];Q(C!=null,`Previous layout not found for panel index ${m}`);const E=C+h,F=ar({panelConstraints:r,panelIndex:m,size:E});if(Ae(C,F)||(h-=F-C,a[m]=F),Ae(h,0))break;t>0?m--:m++}}}const d=a.reduce((f,p)=>p+f,0);return Ae(d,100)?a:i}function V3({layout:t,panelsArray:e,pivotIndices:r}){let n=0,i=100,o=0,a=0;const l=r[0];Q(l!=null,"No pivot index found"),e.forEach((f,p)=>{const{constraints:g}=f,{maxSize:y=100,minSize:h=0}=g;p===l?(n=h,i=y):(o+=h,a+=y)});const s=Math.min(i,100-o),c=Math.max(n,100-a),d=t[l];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 Dd(t,e,r=document){const i=en(t,r).findIndex(o=>o.getAttribute("data-panel-resize-handle-id")===e);return i??null}function xd(t,e,r){const n=Dd(t,e,r);return n!=null?[n,n+1]:[-1,-1]}function Sd(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 Mi(t,e=document){const r=e.querySelector(`[data-panel-resize-handle-id="${t}"]`);return r||null}function z3(t,e,r,n=document){var i,o,a,l;const s=Mi(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=(a=(l=r[d+1])===null||l===void 0?void 0:l.id)!==null&&a!==void 0?a:null;return[f,p]}function U3({committedValuesRef:t,eagerValuesRef:e,groupId:r,layout:n,panelDataArray:i,panelGroupElement:o,setLayout:a}){Pe({didWarnAboutMissingResizeHandle:!1}),$t(()=>{if(!o)return;const l=en(r,o);for(let s=0;s<i.length-1;s++){const{valueMax:c,valueMin:d,valueNow:f}=V3({layout:n,panelsArray:i,pivotIndices:[s,s+1]}),p=l[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()=>{l.forEach((s,c)=>{s.removeAttribute("aria-controls"),s.removeAttribute("aria-valuemax"),s.removeAttribute("aria-valuemin"),s.removeAttribute("aria-valuenow")})}},[r,n,i,o]),Ft(()=>{if(!o)return;const l=e.current;Q(l,"Eager values not found");const{panelDataArray:s}=l,c=Sd(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]=z3(r,g,s,o);if(y==null||h==null)return()=>{};const b=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:x=0,collapsible:w,minSize:S=0}=E.constraints;if(F!=null&&w){const O=Kr({delta:Ae(F,x)?S-x:x-F,initialLayout:n,panelConstraints:s.map(K=>K.constraints),pivotIndices:xd(r,g,o),prevLayout:n,trigger:"keyboard"});n!==O&&a(O)}}break}}};return p.addEventListener("keydown",b),()=>{p.removeEventListener("keydown",b)}});return()=>{f.forEach(p=>p())}},[o,t,e,r,n,i,a])}function Qs(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 Fd(t,e){const r=t==="horizontal",{x:n,y:i}=Oi(e);return r?n:i}function W3(t,e,r,n,i){const o=r==="horizontal",a=Mi(e,i);Q(a,`No resize handle element found for id "${e}"`);const l=a.getAttribute("data-panel-group-id");Q(l,"Resize handle element has no group id attribute");let{initialCursorPosition:s}=n;const c=Fd(r,t),d=Sd(l,i);Q(d,`No group element found for id "${l}"`);const f=d.getBoundingClientRect(),p=o?f.width:f.height;return(c-s)/p*100}function Z3(t,e,r,n,i,o){if(gd(t)){const a=r==="horizontal";let l=0;t.shiftKey?l=100:i!=null?l=i:l=10;let s=0;switch(t.key){case"ArrowDown":s=a?0:l;break;case"ArrowLeft":s=a?-l:0;break;case"ArrowRight":s=a?l:0;break;case"ArrowUp":s=a?0:-l;break;case"End":s=100;break;case"Home":s=-100;break}return s}else return n==null?0:W3(t,e,r,n,o)}function G3({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 a=r[o];Q(a,`Panel constraints not found for index ${o}`);const{defaultSize:l}=a;l!=null&&(n++,e[o]=l,i-=l)}for(let o=0;o<t.length;o++){const a=r[o];Q(a,`Panel constraints not found for index ${o}`);const{defaultSize:l}=a;if(l!=null)continue;const s=t.length-n,c=i/s;n++,e[o]=c,i-=c}return e}function Wt(t,e,r){e.forEach((n,i)=>{const o=t[i];Q(o,`Panel data not found for index ${i}`);const{callbacks:a,constraints:l,id:s}=o,{collapsedSize:c=0,collapsible:d}=l,f=r[s];if(f==null||n!==f){r[s]=n;const{onCollapse:p,onExpand:g,onResize:y}=a;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 q3({defaultSize:t,dragState:e,layout:r,panelData:n,panelIndex:i,precision:o=3}){const a=r[i];let l;return a==null?l=t!=null?t.toPrecision(o):"1":n.length===1?l="1":l=a.toPrecision(o),{flexBasis:0,flexGrow:l,flexShrink:1,overflow:"hidden",pointerEvents:e!==null?"none":void 0}}function Y3(t,e=10){let r=null;return(...i)=>{r!==null&&clearTimeout(r),r=setTimeout(()=>{t(...i)},e)}}function e0(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 $d(t){return`react-resizable-panels:${t}`}function _d(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 Pd(t,e){try{const r=$d(t),n=e.getItem(r);if(n){const i=JSON.parse(n);if(typeof i=="object"&&i!=null)return i}}catch{}return null}function X3(t,e,r){var n,i;const o=(n=Pd(t,r))!==null&&n!==void 0?n:{},a=_d(e);return(i=o[a])!==null&&i!==void 0?i:null}function J3(t,e,r,n,i){var o;const a=$d(t),l=_d(e),s=(o=Pd(t,i))!==null&&o!==void 0?o:{};s[l]={expandToSizes:Object.fromEntries(r.entries()),layout:n};try{i.setItem(a,JSON.stringify(s))}catch(c){console.error(c)}}function t0({layout:t,panelConstraints:e}){const r=[...t],n=r.reduce((o,a)=>o+a,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 a=r[o];Q(a!=null,`No layout data found for index ${o}`);const l=100/n*a;r[o]=l}let i=0;for(let o=0;o<e.length;o++){const a=r[o];Q(a!=null,`No layout data found for index ${o}`);const l=ar({panelConstraints:e,panelIndex:o,size:a});a!=l&&(i+=a-l,r[o]=l)}if(!Ae(i,0))for(let o=0;o<e.length;o++){const a=r[o];Q(a!=null,`No layout data found for index ${o}`);const l=a+i,s=ar({panelConstraints:e,panelIndex:o,size:l});if(a!==s&&(i-=s-a,r[o]=s,Ae(i,0)))break}return r}const Q3=100,Hr={getItem:t=>(e0(Hr),Hr.getItem(t)),setItem:(t,e)=>{e0(Hr),Hr.setItem(t,e)}},r0={};function Ad({autoSaveId:t=null,children:e,className:r="",direction:n,forwardedRef:i,id:o=null,onLayout:a=null,keyboardResizeBy:l=null,storage:s=Hr,style:c,tagName:d="div",...f}){const p=dl(o),g=Pe(null),[y,h]=dr(null),[b,m]=dr([]),C=K3(),E=Pe({}),F=Pe(new Map),x=Pe(0),w=Pe({autoSaveId:t,direction:n,dragState:y,id:p,keyboardResizeBy:l,onLayout:a,storage:s}),S=Pe({layout:b,panelDataArray:[],panelDataArrayChanged:!1});Pe({didLogIdAndOrderWarning:!1,didLogPanelConstraintsWarning:!1,prevPanelIds:[]}),hd(i,()=>({getId:()=>w.current.id,getLayout:()=>{const{layout:P}=S.current;return P},setLayout:P=>{const{onLayout:T}=w.current,{layout:N,panelDataArray:j}=S.current,V=t0({layout:P,panelConstraints:j.map(Z=>Z.constraints)});Qs(N,V)||(m(V),S.current.layout=V,T&&T(V),Wt(j,V,E.current))}}),[]),$t(()=>{w.current.autoSaveId=t,w.current.direction=n,w.current.dragState=y,w.current.id=p,w.current.onLayout=a,w.current.storage=s}),U3({committedValuesRef:w,eagerValuesRef:S,groupId:p,layout:b,panelDataArray:S.current.panelDataArray,setLayout:m,panelGroupElement:g.current}),Ft(()=>{const{panelDataArray:P}=S.current;if(t){if(b.length===0||b.length!==P.length)return;let T=r0[t];T==null&&(T=Y3(J3,Q3),r0[t]=T);const N=[...P],j=new Map(F.current);T(t,N,j,b,s)}},[t,b,s]),Ft(()=>{});const O=$e(P=>{const{onLayout:T}=w.current,{layout:N,panelDataArray:j}=S.current;if(P.constraints.collapsible){const V=j.map(le=>le.constraints),{collapsedSize:Z=0,panelSize:q,pivotIndices:Y}=yt(j,P,N);if(Q(q!=null,`Panel size not found for panel "${P.id}"`),!Qe(q,Z)){F.current.set(P.id,q);const G=nr(j,P)===j.length-1?q-Z:Z-q,te=Kr({delta:G,initialLayout:N,panelConstraints:V,pivotIndices:Y,prevLayout:N,trigger:"imperative-api"});wn(N,te)||(m(te),S.current.layout=te,T&&T(te),Wt(j,te,E.current))}}},[]),K=$e((P,T)=>{const{onLayout:N}=w.current,{layout:j,panelDataArray:V}=S.current;if(P.constraints.collapsible){const Z=V.map(de=>de.constraints),{collapsedSize:q=0,panelSize:Y=0,minSize:le=0,pivotIndices:G}=yt(V,P,j),te=T??le;if(Qe(Y,q)){const de=F.current.get(P.id),Be=de!=null&&de>=te?de:te,re=nr(V,P)===V.length-1?Y-Be:Be-Y,pe=Kr({delta:re,initialLayout:j,panelConstraints:Z,pivotIndices:G,prevLayout:j,trigger:"imperative-api"});wn(j,pe)||(m(pe),S.current.layout=pe,N&&N(pe),Wt(V,pe,E.current))}}},[]),H=$e(P=>{const{layout:T,panelDataArray:N}=S.current,{panelSize:j}=yt(N,P,T);return Q(j!=null,`Panel size not found for panel "${P.id}"`),j},[]),D=$e((P,T)=>{const{panelDataArray:N}=S.current,j=nr(N,P);return q3({defaultSize:T,dragState:y,layout:b,panelData:N,panelIndex:j})},[y,b]),B=$e(P=>{const{layout:T,panelDataArray:N}=S.current,{collapsedSize:j=0,collapsible:V,panelSize:Z}=yt(N,P,T);return Q(Z!=null,`Panel size not found for panel "${P.id}"`),V===!0&&Qe(Z,j)},[]),U=$e(P=>{const{layout:T,panelDataArray:N}=S.current,{collapsedSize:j=0,collapsible:V,panelSize:Z}=yt(N,P,T);return Q(Z!=null,`Panel size not found for panel "${P.id}"`),!V||Tt(Z,j)>0},[]),k=$e(P=>{const{panelDataArray:T}=S.current;T.push(P),T.sort((N,j)=>{const V=N.order,Z=j.order;return V==null&&Z==null?0:V==null?-1:Z==null?1:V-Z}),S.current.panelDataArrayChanged=!0,C()},[C]);$t(()=>{if(S.current.panelDataArrayChanged){S.current.panelDataArrayChanged=!1;const{autoSaveId:P,onLayout:T,storage:N}=w.current,{layout:j,panelDataArray:V}=S.current;let Z=null;if(P){const Y=X3(P,V,N);Y&&(F.current=new Map(Object.entries(Y.expandToSizes)),Z=Y.layout)}Z==null&&(Z=G3({panelDataArray:V}));const q=t0({layout:Z,panelConstraints:V.map(Y=>Y.constraints)});Qs(j,q)||(m(q),S.current.layout=q,T&&T(q),Wt(V,q,E.current))}}),$t(()=>{const P=S.current;return()=>{P.layout=[]}},[]);const W=$e(P=>{let T=!1;const N=g.current;return N&&window.getComputedStyle(N,null).getPropertyValue("direction")==="rtl"&&(T=!0),function(V){V.preventDefault();const Z=g.current;if(!Z)return()=>null;const{direction:q,dragState:Y,id:le,keyboardResizeBy:G,onLayout:te}=w.current,{layout:de,panelDataArray:Be}=S.current,{initialLayout:Ht}=Y??{},re=xd(le,P,Z);let pe=Z3(V,P,q,Y,G,Z);const Vt=q==="horizontal";Vt&&T&&(pe=-pe);const xr=Be.map(_1=>_1.constraints),Sr=Kr({delta:pe,initialLayout:Ht??de,panelConstraints:xr,pivotIndices:re,prevLayout:de,trigger:gd(V)?"keyboard":"mouse-or-touch"}),kl=!wn(de,Sr);(vd(V)||bd(V))&&x.current!=pe&&(x.current=pe,!kl&&pe!==0?Vt?bo(P,pe<0?yd:Cd):bo(P,pe<0?Ed:wd):bo(P,0)),kl&&(m(Sr),S.current.layout=Sr,te&&te(Sr),Wt(Be,Sr,E.current))}},[]),_=$e((P,T)=>{const{onLayout:N}=w.current,{layout:j,panelDataArray:V}=S.current,Z=V.map(de=>de.constraints),{panelSize:q,pivotIndices:Y}=yt(V,P,j);Q(q!=null,`Panel size not found for panel "${P.id}"`);const G=nr(V,P)===V.length-1?q-T:T-q,te=Kr({delta:G,initialLayout:j,panelConstraints:Z,pivotIndices:Y,prevLayout:j,trigger:"imperative-api"});wn(j,te)||(m(te),S.current.layout=te,N&&N(te),Wt(V,te,E.current))},[]),I=$e((P,T)=>{const{layout:N,panelDataArray:j}=S.current,{collapsedSize:V=0,collapsible:Z}=T,{collapsedSize:q=0,collapsible:Y,maxSize:le=100,minSize:G=0}=P.constraints,{panelSize:te}=yt(j,P,N);te!=null&&(Z&&Y&&Qe(te,V)?Qe(V,q)||_(P,q):te<G?_(P,G):te>le&&_(P,le))},[_]),z=$e((P,T)=>{const{direction:N}=w.current,{layout:j}=S.current;if(!g.current)return;const V=Mi(P,g.current);Q(V,`Drag handle element not found for id "${P}"`);const Z=Fd(N,T);h({dragHandleId:P,dragHandleRect:V.getBoundingClientRect(),initialCursorPosition:Z,initialLayout:j})},[]),L=$e(()=>{h(null)},[]),M=$e(P=>{const{panelDataArray:T}=S.current,N=nr(T,P);N>=0&&(T.splice(N,1),delete E.current[P.id],S.current.panelDataArrayChanged=!0,C())},[C]),R=$3(()=>({collapsePanel:O,direction:n,dragState:y,expandPanel:K,getPanelSize:H,getPanelStyle:D,groupId:p,isPanelCollapsed:B,isPanelExpanded:U,reevaluatePanelConstraints:I,registerPanel:k,registerResizeHandle:W,resizePanel:_,startDragging:z,stopDragging:L,unregisterPanel:M,panelGroupElement:g.current}),[O,y,n,K,H,D,p,B,U,I,k,W,_,z,L,M]),$={display:"flex",flexDirection:n==="horizontal"?"row":"column",height:"100%",overflow:"hidden",width:"100%"};return yr(Ii.Provider,{value:R},yr(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 Td=dd((t,e)=>yr(Ad,{...t,forwardedRef:e}));Ad.displayName="PanelGroup";Td.displayName="forwardRef(PanelGroup)";function nr(t,e){return t.findIndex(r=>r===e||r.id===e.id)}function yt(t,e,r){const n=nr(t,e),o=n===t.length-1?[n-1,n]:[n,n+1],a=r[n];return{...e.constraints,panelSize:a,pivotIndices:o}}function eg({disabled:t,handleId:e,resizeHandler:r,panelGroupElement:n}){Ft(()=>{if(t||r==null||n==null)return;const i=Mi(e,n);if(i==null)return;const o=a=>{if(!a.defaultPrevented)switch(a.key){case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"ArrowUp":case"End":case"Home":{a.preventDefault(),r(a);break}case"F6":{a.preventDefault();const l=i.getAttribute("data-panel-group-id");Q(l,`No group element found for id "${l}"`);const s=en(l,n),c=Dd(l,e,n);Q(c!==null,`No resize element found for id "${e}"`);const d=a.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 kd({children:t=null,className:e="",disabled:r=!1,hitAreaMargins:n,id:i,onBlur:o,onDragging:a,onFocus:l,style:s={},tabIndex:c=0,tagName:d="div",...f}){var p,g;const y=Pe(null),h=Pe({onDragging:a});Ft(()=>{h.current.onDragging=a});const b=fd(Ii);if(b===null)throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");const{direction:m,groupId:C,registerResizeHandle:E,startDragging:F,stopDragging:x,panelGroupElement:w}=b,S=dl(i),[O,K]=dr("inactive"),[H,D]=dr(!1),[B,U]=dr(null),k=Pe({state:O});$t(()=>{k.current.state=O}),Ft(()=>{if(r)U(null);else{const z=E(S);U(()=>z)}},[r,S,E]);const W=(p=n==null?void 0:n.coarse)!==null&&p!==void 0?p:15,_=(g=n==null?void 0:n.fine)!==null&&g!==void 0?g:5;return Ft(()=>{if(r||B==null)return;const z=y.current;return Q(z,"Element ref not attached"),j3(S,z,m,{coarse:W,fine:_},(M,R,$)=>{if(R)switch(M){case"down":{K("drag"),Q($,'Expected event to be defined for "down" action'),F(S,$);const{onDragging:P}=h.current;P&&P(!0);break}case"move":{const{state:P}=k.current;P!=="drag"&&K("hover"),Q($,'Expected event to be defined for "move" action'),B($);break}case"up":{K("hover"),x();const{onDragging:P}=h.current;P&&P(!1);break}}else K("inactive")})},[W,m,r,_,E,S,B,F,x]),eg({disabled:r,handleId:S,resizeHandler:B,panelGroupElement:w}),yr(d,{...f,children:t,className:e,id:i,onBlur:()=>{D(!1),o==null||o()},onFocus:()=>{D(!0),l==null||l()},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})}kd.displayName="PanelResizeHandle";const tg=({children:t,isOpen:e})=>{const{isDesktop:r}=ot();return r?v.jsx("div",{className:ve("c__right-panel",{open:e}),children:t}):v.jsx("div",{className:ve("c__right-panel__mobile",{open:e}),children:t})},rg=(t,e,r)=>{const[n,i]=u.useState(typeof e>"u"?t:e),o=a=>{r?r(a):i(a)};return u.useEffect(()=>{r&&typeof e<"u"&&e!==n&&i(e)},[e]),[n,o]},ng=({icon:t,children:e,hideLeftPanelOnDesktop:r=!1,leftPanelContent:n,rightPanelContent:i,rightHeaderContent:o,languages:a,enableResize:l=!1,rightPanelIsOpen:s=!1,...c})=>{const[d,f]=rg(!1,c.isLeftPanelOpen,c.setIsLeftPanelOpen),{isDesktop:p}=ot(),g=u.useRef(null),[y,h]=u.useState(!1),b=u.useRef(void 0);u.useEffect(()=>{const O=()=>{h(!0),b.current&&clearTimeout(b.current),b.current=window.setTimeout(()=>{h(!1)},150)};return window.addEventListener("resize",O),()=>{window.removeEventListener("resize",O),b.current&&clearTimeout(b.current)}},[]);const m=p?!r:!0,C=p?!r:d,[E,F]=u.useState(Dn(300,p)),[x,w]=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),w(l?H:K)};return O(),window.addEventListener("resize",O),()=>{window.removeEventListener("resize",O)}},[p,l]),v.jsxs("div",{className:ve("c__main-layout",{resizing:y}),children:[v.jsx("div",{className:"c__main-layout__header",children:v.jsx(cd,{onTogglePanel:S,isPanelOpen:d,rightIcon:o,leftIcon:t,languages:a})}),v.jsx("div",{className:"c__main-layout__content",children:v.jsxs(Td,{autoSaveId:"persistance",direction:"horizontal",children:[m&&v.jsxs(v.Fragment,{children:[v.jsx(ha,{ref:g,order:0,defaultSize:E,minSize:E,maxSize:x,children:v.jsx(ud,{isOpen:C,children:n})}),p&&v.jsx(kd,{className:"border-clr-surface-primary",style:{borderRightWidth:"1px",borderRightStyle:"solid"}})]}),v.jsx(ha,{order:1,children:v.jsxs("div",{className:"c__main-layout__content__center",children:[v.jsx("div",{className:"c__main-layout__content__center__children",children:e}),v.jsx(tg,{isOpen:s,children:i})]})})]})})]})},Dn=(t,e)=>{if(!e)return 0;const r=window.innerWidth;return t/r*100},ig=52,li=({size:t="sm"})=>v.jsx("div",{className:["c__spinner",t].join(" ")}),Id=({children:t,text:e,...r})=>v.jsxs("div",{className:"suite__label__container",children:[v.jsx("label",{...r,children:t}),e&&v.jsx("span",{className:"suite__label__container__description",children:e})]}),og=({label:t,text:e,labelSide:r="right",children:n})=>v.jsxs("div",{className:ve("c__with-label",{[r]:!0}),children:[v.jsx(Id,{children:t,text:e}),n]});var n0=1,ag=.9,lg=.8,sg=.17,mo=.1,yo=.999,cg=.9999,ug=.99,dg=/[\\\/_+.#"@\[\(\{&]/,fg=/[\\\/_+.#"@\[\(\{&]/g,hg=/[\s-]/,Od=/[\s-]/g;function ga(t,e,r,n,i,o,a){if(o===e.length)return i===t.length?n0:ug;var l=`${i},${o}`;if(a[l]!==void 0)return a[l];for(var s=n.charAt(o),c=r.indexOf(s,i),d=0,f,p,g,y;c>=0;)f=ga(t,e,r,n,c+1,o+1,a),f>d&&(c===i?f*=n0:dg.test(t.charAt(c-1))?(f*=lg,g=t.slice(i,c-1).match(fg),g&&i>0&&(f*=Math.pow(yo,g.length))):hg.test(t.charAt(c-1))?(f*=ag,y=t.slice(i,c-1).match(Od),y&&i>0&&(f*=Math.pow(yo,y.length))):(f*=sg,i>0&&(f*=Math.pow(yo,c-i))),t.charAt(c)!==e.charAt(o)&&(f*=cg)),(f<mo&&r.charAt(c-1)===n.charAt(o+1)||n.charAt(o+1)===n.charAt(o)&&r.charAt(c-1)!==n.charAt(o))&&(p=ga(t,e,r,n,c+1,o+2,a),p*mo>f&&(f=p*mo)),f>d&&(d=f),c=r.indexOf(s,c+1);return a[l]=d,d}function i0(t){return t.toLowerCase().replace(Od," ")}function pg(t,e,r){return t=r&&r.length>0?`${t+" "+r.join(" ")}`:t,ga(t,e,i0(t),i0(e),0,0,{})}function pt(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 o0(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function Nd(...t){return e=>{let r=!1;const n=t.map(i=>{const o=o0(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():o0(t[i],null)}}}}function jt(...t){return A.useCallback(Nd(...t),t)}function gg(t,e){const r=A.createContext(e),n=o=>{const{children:a,...l}=o,s=A.useMemo(()=>l,Object.values(l));return v.jsx(r.Provider,{value:s,children:a})};n.displayName=t+"Provider";function i(o){const a=A.useContext(r);if(a)return a;if(e!==void 0)return e;throw new Error(`\`${o}\` must be used within \`${t}\``)}return[n,i]}function vg(t,e=[]){let r=[];function n(o,a){const l=A.createContext(a),s=r.length;r=[...r,a];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])||l,b=A.useMemo(()=>y,Object.values(y));return v.jsx(h.Provider,{value:b,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])||l,y=A.useContext(g);if(y)return y;if(a!==void 0)return a;throw new Error(`\`${f}\` must be used within \`${o}\``)}return[c,d]}const i=()=>{const o=r.map(a=>A.createContext(a));return function(l){const s=(l==null?void 0:l[t])||o;return A.useMemo(()=>({[`__scope${t}`]:{...l,[t]:s}}),[l,s])}};return i.scopeName=t,[n,bg(i,...e)]}function bg(...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 a=n.reduce((l,{useScope:s,scopeName:c})=>{const f=s(o)[`__scope${c}`];return{...l,...f}},{});return A.useMemo(()=>({[`__scope${e.scopeName}`]:a}),[a])}};return r.scopeName=e.scopeName,r}var tn=globalThis!=null&&globalThis.document?A.useLayoutEffect:()=>{},mg=A[" useId ".trim().toString()]||(()=>{}),yg=0;function tt(t){const[e,r]=A.useState(mg());return tn(()=>{r(n=>n??String(yg++))},[t]),e?`radix-${e}`:""}var Cg=A[" useInsertionEffect ".trim().toString()]||tn;function Eg({prop:t,defaultProp:e,onChange:r=()=>{},caller:n}){const[i,o,a]=wg({defaultProp:e,onChange:r}),l=t!==void 0,s=l?t:i;{const d=A.useRef(t!==void 0);A.useEffect(()=>{const f=d.current;f!==l&&console.warn(`${n} is changing from ${f?"controlled":"uncontrolled"} to ${l?"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=l},[l,n])}const c=A.useCallback(d=>{var f;if(l){const p=Dg(d)?d(t):d;p!==t&&((f=a.current)==null||f.call(a,p))}else o(d)},[l,t,o,a]);return[s,c]}function wg({defaultProp:t,onChange:e}){const[r,n]=A.useState(t),i=A.useRef(r),o=A.useRef(e);return Cg(()=>{o.current=e},[e]),A.useEffect(()=>{var a;i.current!==r&&((a=o.current)==null||a.call(o,r),i.current=r)},[r,i]),[r,n,o]}function Dg(t){return typeof t=="function"}function Md(t){const e=xg(t),r=A.forwardRef((n,i)=>{const{children:o,...a}=n,l=A.Children.toArray(o),s=l.find(Fg);if(s){const c=s.props.children,d=l.map(f=>f===s?A.Children.count(c)>1?A.Children.only(null):A.isValidElement(c)?c.props.children:null:f);return v.jsx(e,{...a,ref:i,children:A.isValidElement(c)?A.cloneElement(c,void 0,d):null})}return v.jsx(e,{...a,ref:i,children:o})});return r.displayName=`${t}.Slot`,r}function xg(t){const e=A.forwardRef((r,n)=>{const{children:i,...o}=r;if(A.isValidElement(i)){const a=_g(i),l=$g(o,i.props);return i.type!==A.Fragment&&(l.ref=n?Nd(n,a):a),A.cloneElement(i,l)}return A.Children.count(i)>1?A.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var Sg=Symbol("radix.slottable");function Fg(t){return A.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===Sg}function $g(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]=(...l)=>{const s=o(...l);return i(...l),s}:i&&(r[n]=i):n==="style"?r[n]={...i,...o}:n==="className"&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...t,...r}}function _g(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 Pg=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ce=Pg.reduce((t,e)=>{const r=Md(`Primitive.${e}`),n=A.forwardRef((i,o)=>{const{asChild:a,...l}=i,s=a?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),v.jsx(s,{...l,ref:o})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{});function Ag(t,e){t&&P1.flushSync(()=>t.dispatchEvent(e))}function rn(t){const e=A.useRef(t);return A.useEffect(()=>{e.current=t}),A.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}function Tg(t,e=globalThis==null?void 0:globalThis.document){const r=rn(t);A.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 kg="DismissableLayer",va="dismissableLayer.update",Ig="dismissableLayer.pointerDownOutside",Og="dismissableLayer.focusOutside",a0,Rd=A.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Bd=A.forwardRef((t,e)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:i,onFocusOutside:o,onInteractOutside:a,onDismiss:l,...s}=t,c=A.useContext(Rd),[d,f]=A.useState(null),p=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,g]=A.useState({}),y=jt(e,S=>f(S)),h=Array.from(c.layers),[b]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),m=h.indexOf(b),C=d?h.indexOf(d):-1,E=c.layersWithOutsidePointerEventsDisabled.size>0,F=C>=m,x=Rg(S=>{const O=S.target,K=[...c.branches].some(H=>H.contains(O));!F||K||(i==null||i(S),a==null||a(S),S.defaultPrevented||l==null||l())},p),w=Bg(S=>{const O=S.target;[...c.branches].some(H=>H.contains(O))||(o==null||o(S),a==null||a(S),S.defaultPrevented||l==null||l())},p);return Tg(S=>{C===c.layers.size-1&&(n==null||n(S),!S.defaultPrevented&&l&&(S.preventDefault(),l()))},p),A.useEffect(()=>{if(d)return r&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(a0=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(d)),c.layers.add(d),l0(),()=>{r&&c.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=a0)}},[d,p,r,c]),A.useEffect(()=>()=>{d&&(c.layers.delete(d),c.layersWithOutsidePointerEventsDisabled.delete(d),l0())},[d,c]),A.useEffect(()=>{const S=()=>g({});return document.addEventListener(va,S),()=>document.removeEventListener(va,S)},[]),v.jsx(Ce.div,{...s,ref:y,style:{pointerEvents:E?F?"auto":"none":void 0,...t.style},onFocusCapture:pt(t.onFocusCapture,w.onFocusCapture),onBlurCapture:pt(t.onBlurCapture,w.onBlurCapture),onPointerDownCapture:pt(t.onPointerDownCapture,x.onPointerDownCapture)})});Bd.displayName=kg;var Ng="DismissableLayerBranch",Mg=A.forwardRef((t,e)=>{const r=A.useContext(Rd),n=A.useRef(null),i=jt(e,n);return A.useEffect(()=>{const o=n.current;if(o)return r.branches.add(o),()=>{r.branches.delete(o)}},[r.branches]),v.jsx(Ce.div,{...t,ref:i})});Mg.displayName=Ng;function Rg(t,e=globalThis==null?void 0:globalThis.document){const r=rn(t),n=A.useRef(!1),i=A.useRef(()=>{});return A.useEffect(()=>{const o=l=>{if(l.target&&!n.current){let s=function(){Ld(Ig,r,c,{discrete:!0})};const c={originalEvent:l};l.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},a=window.setTimeout(()=>{e.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(a),e.removeEventListener("pointerdown",o),e.removeEventListener("click",i.current)}},[e,r]),{onPointerDownCapture:()=>n.current=!0}}function Bg(t,e=globalThis==null?void 0:globalThis.document){const r=rn(t),n=A.useRef(!1);return A.useEffect(()=>{const i=o=>{o.target&&!n.current&&Ld(Og,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 l0(){const t=new CustomEvent(va);document.dispatchEvent(t)}function Ld(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?Ag(i,o):i.dispatchEvent(o)}var Co="focusScope.autoFocusOnMount",Eo="focusScope.autoFocusOnUnmount",s0={bubbles:!1,cancelable:!0},Lg="FocusScope",jd=A.forwardRef((t,e)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...a}=t,[l,s]=A.useState(null),c=rn(i),d=rn(o),f=A.useRef(null),p=jt(e,h=>s(h)),g=A.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;A.useEffect(()=>{if(n){let h=function(E){if(g.paused||!l)return;const F=E.target;l.contains(F)?f.current=F:lt(f.current,{select:!0})},b=function(E){if(g.paused||!l)return;const F=E.relatedTarget;F!==null&&(l.contains(F)||lt(f.current,{select:!0}))},m=function(E){if(document.activeElement===document.body)for(const x of E)x.removedNodes.length>0&&lt(l)};document.addEventListener("focusin",h),document.addEventListener("focusout",b);const C=new MutationObserver(m);return l&&C.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",h),document.removeEventListener("focusout",b),C.disconnect()}}},[n,l,g.paused]),A.useEffect(()=>{if(l){u0.add(g);const h=document.activeElement;if(!l.contains(h)){const m=new CustomEvent(Co,s0);l.addEventListener(Co,c),l.dispatchEvent(m),m.defaultPrevented||(jg(Ug(Kd(l)),{select:!0}),document.activeElement===h&&lt(l))}return()=>{l.removeEventListener(Co,c),setTimeout(()=>{const m=new CustomEvent(Eo,s0);l.addEventListener(Eo,d),l.dispatchEvent(m),m.defaultPrevented||lt(h??document.body,{select:!0}),l.removeEventListener(Eo,d),u0.remove(g)},0)}}},[l,c,d,g]);const y=A.useCallback(h=>{if(!r&&!n||g.paused)return;const b=h.key==="Tab"&&!h.altKey&&!h.ctrlKey&&!h.metaKey,m=document.activeElement;if(b&&m){const C=h.currentTarget,[E,F]=Kg(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 v.jsx(Ce.div,{tabIndex:-1,...a,ref:p,onKeyDown:y})});jd.displayName=Lg;function jg(t,{select:e=!1}={}){const r=document.activeElement;for(const n of t)if(lt(n,{select:e}),document.activeElement!==r)return}function Kg(t){const e=Kd(t),r=c0(e,t),n=c0(e.reverse(),t);return[r,n]}function Kd(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 c0(t,e){for(const r of t)if(!Hg(r,{upTo:e}))return r}function Hg(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 Vg(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&&Vg(t)&&e&&t.select()}}var u0=zg();function zg(){let t=[];return{add(e){const r=t[0];e!==r&&(r==null||r.pause()),t=d0(t,e),t.unshift(e)},remove(e){var r;t=d0(t,e),(r=t[0])==null||r.resume()}}}function d0(t,e){const r=[...t],n=r.indexOf(e);return n!==-1&&r.splice(n,1),r}function Ug(t){return t.filter(e=>e.tagName!=="A")}var Wg="Portal",Hd=A.forwardRef((t,e)=>{var l;const{container:r,...n}=t,[i,o]=A.useState(!1);tn(()=>o(!0),[]);const a=r||i&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return a?Mt.createPortal(v.jsx(Ce.div,{...n,ref:e}),a):null});Hd.displayName=Wg;function Zg(t,e){return A.useReducer((r,n)=>e[r][n]??r,t)}var Ri=t=>{const{present:e,children:r}=t,n=Gg(e),i=typeof r=="function"?r({present:n.isPresent}):A.Children.only(r),o=jt(n.ref,qg(i));return typeof r=="function"||n.isPresent?A.cloneElement(i,{ref:o}):null};Ri.displayName="Presence";function Gg(t){const[e,r]=A.useState(),n=A.useRef(null),i=A.useRef(t),o=A.useRef("none"),a=t?"mounted":"unmounted",[l,s]=Zg(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return A.useEffect(()=>{const c=xn(n.current);o.current=l==="mounted"?c:"none"},[l]),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 b=e.style.animationFillMode;e.style.animationFillMode="forwards",c=d.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=b)})}},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(l),ref:A.useCallback(c=>{n.current=c?getComputedStyle(c):null,r(c)},[])}}function xn(t){return(t==null?void 0:t.animationName)||"none"}function qg(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 wo=0;function Yg(){A.useEffect(()=>{const t=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",t[0]??f0()),document.body.insertAdjacentElement("beforeend",t[1]??f0()),wo++,()=>{wo===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),wo--}},[])}function f0(){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",Rn="width-before-scroll-bar",Xg="with-scroll-bars-hidden",Jg="--removed-body-scroll-bar-size";function Do(t,e){return typeof t=="function"?t(e):t&&(t.current=e),t}function Qg(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 e9=typeof window<"u"?A.useLayoutEffect:A.useEffect,h0=new WeakMap;function t9(t,e){var r=Qg(null,function(n){return t.forEach(function(i){return Do(i,n)})});return e9(function(){var n=h0.get(r);if(n){var i=new Set(n),o=new Set(t),a=r.current;i.forEach(function(l){o.has(l)||Do(l,null)}),o.forEach(function(l){i.has(l)||Do(l,a)})}h0.set(r,t)},[t]),r}function r9(t){return t}function n9(t,e){e===void 0&&(e=r9);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 a=e(o,n);return r.push(a),function(){r=r.filter(function(l){return l!==a})}},assignSyncMedium:function(o){for(n=!0;r.length;){var a=r;r=[],a.forEach(o)}r={push:function(l){return o(l)},filter:function(){return r}}},assignMedium:function(o){n=!0;var a=[];if(r.length){var l=r;r=[],l.forEach(o),a=r}var s=function(){var d=a;a=[],d.forEach(o)},c=function(){return Promise.resolve().then(s)};c(),r={push:function(d){a.push(d),c()},filter:function(d){return a=a.filter(d),r}}}};return i}function i9(t){t===void 0&&(t={});var e=n9(null);return e.options=Ge({async:!0,ssr:!1},t),e}var Vd=function(t){var e=t.sideCar,r=Qc(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 A.createElement(n,Ge({},r))};Vd.isSideCarExport=!0;function o9(t,e){return t.useMedium(e),Vd}var zd=i9(),xo=function(){},Bi=A.forwardRef(function(t,e){var r=A.useRef(null),n=A.useState({onScrollCapture:xo,onWheelCapture:xo,onTouchMoveCapture:xo}),i=n[0],o=n[1],a=t.forwardProps,l=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,b=t.allowPinchZoom,m=t.as,C=m===void 0?"div":m,E=t.gapMode,F=Qc(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),x=p,w=t9([r,e]),S=Ge(Ge({},F),i);return A.createElement(A.Fragment,null,d&&A.createElement(x,{sideCar:zd,removeScrollBar:c,shards:f,noRelative:g,noIsolation:y,inert:h,setCallbacks:o,allowPinchZoom:!!b,lockRef:r,gapMode:E}),a?A.cloneElement(A.Children.only(l),Ge(Ge({},S),{ref:w})):A.createElement(C,Ge({},S,{className:s,ref:w}),l))});Bi.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Bi.classNames={fullWidth:Rn,zeroRight:Mn};var a9=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function l9(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var e=a9();return e&&t.setAttribute("nonce",e),t}function s9(t,e){t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}function c9(t){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(t)}var u9=function(){var t=0,e=null;return{add:function(r){t==0&&(e=l9())&&(s9(e,r),c9(e)),t++},remove:function(){t--,!t&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}},d9=function(){var t=u9();return function(e,r){A.useEffect(function(){return t.add(e),function(){t.remove()}},[e&&r])}},Ud=function(){var t=d9(),e=function(r){var n=r.styles,i=r.dynamic;return t(n,i),null};return e},f9={left:0,top:0,right:0,gap:0},So=function(t){return parseInt(t||"",10)||0},h9=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[So(r),So(n),So(i)]},p9=function(t){if(t===void 0&&(t="margin"),typeof window>"u")return f9;var e=h9(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])}},g9=Ud(),hr="data-scroll-locked",v9=function(t,e,r,n){var i=t.left,o=t.top,a=t.right,l=t.gap;return r===void 0&&(r="margin"),`
44
+ */var ts;function hh(){return ts||(ts=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 b=y();o(h,b)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),f=!0)}b=a({inst:{value:h,getSnapshot:y}});var m=b[0].inst,C=b[1];return s(function(){m.value=h,m.getSnapshot=y,r(m)&&C({inst:m})},[g,h,y]),l(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,a=i.useState,l=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;no.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())}()),no}var rs;function ph(){return rs||(rs=1,process.env.NODE_ENV==="production"?yn.exports=fh():yn.exports=hh()),yn.exports}var Za=ph();const Xc=u.createContext(!1),qr=u.createContext(null);function Si(t){if(u.useContext(qr))return t.content;let{collection:r,document:n}=mh(t.createCollection);return u.createElement(u.Fragment,null,u.createElement(H5,null,u.createElement(qr.Provider,{value:n},t.content)),u.createElement(gh,{render:t.children,collection:r}))}function gh({collection:t,render:e}){return e(t)}function vh(t,e,r){let n=sn(),i=u.useRef(n);i.current=n;let o=u.useCallback(()=>i.current?r():e(),[e,r]);return Za.useSyncExternalStore(t,o)}const bh=typeof u.useSyncExternalStore=="function"?u.useSyncExternalStore:vh;function mh(t){let[e]=u.useState(()=>new K5((t==null?void 0:t())||new Ka)),r=u.useCallback(a=>e.subscribe(a),[e]),n=u.useCallback(()=>{let a=e.getCollection();return e.isSSR&&e.resetAfterSSR(),a},[e]),i=u.useCallback(()=>(e.isSSR=!0,e.getCollection()),[e]),o=bh(r,n,i);return ne(()=>(e.isMounted=!0,()=>{e.isMounted=!1}),[e]),{collection:o,document:e}}const ea=u.createContext(null);function yh(t,e,r,n,i,o){let a=u.useCallback(s=>{s==null||s.setProps(e,r,n,o)},[e,r,n,o]),l=u.useContext(ea);if(l){let s=l.ownerDocument.nodesByProps.get(e);return s||(s=l.ownerDocument.createElement(t),s.setProps(e,r,n,o),l.appendChild(s),l.ownerDocument.updateCollection(),l.ownerDocument.nodesByProps.set(e,s)),i?u.createElement(ea.Provider,{value:s},i):null}return u.createElement(t,{ref:a},i)}function Fi(t,e){let r=({node:i})=>e(i.props,i.props.ref,i),n=u.forwardRef((i,o)=>{let a=u.useContext(Jo);if(!u.useContext(Xc)){if(e.length>=3)throw new Error(e.name+" cannot be rendered outside a collection.");return e(i,o)}return yh(t,i,o,"children"in i?i.children:null,null,s=>u.createElement(Jo.Provider,{value:a},u.createElement(r,{node:s})))});return n.displayName=e.name,n}function Ch(t){return Bc({...t,addIdAndValue:!0})}const ns=u.createContext(null);function Ga(t){let e=u.useContext(ns),r=((e==null?void 0:e.dependencies)||[]).concat(t.dependencies),n=t.idScope||(e==null?void 0:e.idScope),i=Ch({...t,idScope:n,dependencies:r});return u.useContext(qr)&&(i=u.createElement(Eh,null,i)),e=u.useMemo(()=>({dependencies:r,idScope:n}),[n,...r]),u.createElement(ns.Provider,{value:e},i)}function Eh({children:t}){let e=u.useContext(qr),r=u.useMemo(()=>u.createElement(qr.Provider,{value:null},u.createElement(Xc.Provider,{value:!0},t)),[t]);return sn()?u.createElement(ea.Provider,{value:e},r):Mt.createPortal(r,e)}const wh=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),Dh=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function xh(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 wh.has(r.script)}let e=t.split("-")[0];return Dh.has(e)}const Sh=Symbol.for("react-aria.i18n.locale");function Jc(){let t=typeof window<"u"&&window[Sh]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([t])}catch{t="en-US"}return{locale:t,direction:xh(t)?"rtl":"ltr"}}let ta=Jc(),Lr=new Set;function is(){ta=Jc();for(let t of Lr)t(ta)}function Fh(){let t=sn(),[e,r]=u.useState(ta);return u.useEffect(()=>(Lr.size===0&&window.addEventListener("languagechange",is),Lr.add(r),()=>{Lr.delete(r),Lr.size===0&&window.removeEventListener("languagechange",is)}),[]),t?{locale:"en-US",direction:"ltr"}:e}const $h=u.createContext(null);function Bt(){let t=Fh();return u.useContext($h)||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 Qc(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 _h(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 Ph=Symbol.for("react-aria.i18n.locale"),Ah=Symbol.for("react-aria.i18n.strings");let zt;class $i{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=Th(e,this.strings,this.defaultLocale),this.strings[e]=r),r}static getGlobalDictionaryForPackage(e){if(typeof window>"u")return null;let r=window[Ph];if(zt===void 0){let i=window[Ah];if(!i)return null;zt={};for(let o in i)zt[o]=new $i({[r]:i[o]},r)}let n=zt==null?void 0:zt[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 Th(t,e,r="en-US"){if(e[t])return e[t];let n=kh(t);if(e[n])return e[n];for(let i in e)if(i.startsWith(n+"-"))return e[i];return e[r]}function kh(t){return Intl.Locale?new Intl.Locale(t).language:t.split("-")[0]}const os=new Map,as=new Map;class Ih{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,a=os.get(o);a||(a=new Intl.PluralRules(this.locale,{type:n}),os.set(o,a));let l=a.select(e);return i=r[l]||r.other,typeof i=="function"?i():i}number(e){let r=as.get(this.locale);return r||(r=new Intl.NumberFormat(this.locale),as.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 ls=new WeakMap;function Oh(t){let e=ls.get(t);return e||(e=new $i(t),ls.set(t,e)),e}function Nh(t,e){return e&&$i.getGlobalDictionaryForPackage(e)||Oh(t)}function eu(t,e){let{locale:r}=Bt(),n=Nh(t,e);return u.useMemo(()=>new Ih(r,n),[r,n])}let io=new Map;function qa(t){let{locale:e}=Bt(),r=e+(t?Object.entries(t).sort((i,o)=>i[0]<o[0]?-1:1).join():"");if(io.has(r))return io.get(r);let n=new Intl.Collator(e,t);return io.set(r,n),n}function Mh(t,e){let{elementType:r="button",isDisabled:n,onPress:i,onPressStart:o,onPressEnd:a,onPressUp:l,onPressChange:s,preventFocusOnPress:c,allowFocusWhenDisabled:d,onClick:f,href:p,target:g,rel:y,type:h="button"}=t,b;r==="button"?b={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}:b={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}=wi({onPressStart:o,onPressEnd:a,onPressChange:s,onPress:i,onPressUp:l,onClick:f,isDisabled:n,preventFocusOnPress:c,ref:e}),{focusableProps:E}=qc(t,e);d&&(E.tabIndex=n?-1:E.tabIndex);let F=ie(E,m,he(t,{labelable:!0}));return{isPressed:C,buttonProps:ie(b,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 ss=u.createContext(null),ra="react-aria-focus-scope-restore";let ce=null;function Ya(t){let{children:e,contain:r,restoreFocus:n,autoFocus:i}=t,o=u.useRef(null),a=u.useRef(null),l=u.useRef([]),{parentNode:s}=u.useContext(ss)||{},c=u.useMemo(()=>new ia({scopeRef:l}),[l]);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(l);p&&(p.contain=!!r)},[r]),ne(()=>{var p;let g=(p=o.current)===null||p===void 0?void 0:p.nextSibling,y=[],h=b=>b.stopPropagation();for(;g&&g!==a.current;)y.push(g),g.addEventListener(ra,h),g=g.nextSibling;return l.current=y,()=>{for(let b of y)b.removeEventListener(ra,h)}},[e]),Hh(l,n,r),Lh(l,r),Vh(l,n,r),Kh(l,i),u.useEffect(()=>{const p=De(ae(l.current?l.current[0]:void 0));let g=null;if(Re(p,l.current)){for(let y of ge.traverse())y.scopeRef&&Re(p,y.scopeRef.current)&&(g=y);g===ge.getTreeNode(l)&&(ce=g.scopeRef)}},[l]),ne(()=>()=>{var p,g,y;let h=(y=(g=ge.getTreeNode(l))===null||g===void 0||(p=g.parent)===null||p===void 0?void 0:p.scopeRef)!==null&&y!==void 0?y:null;(l===ce||Qn(l,ce))&&(!h||ge.getTreeNode(h))&&(ce=h),ge.removeTreeNode(l)},[l]);let d=u.useMemo(()=>Rh(l),[]),f=u.useMemo(()=>({focusManager:d,parentNode:c}),[c,d]);return u.createElement(ss.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:a}))}function Rh(t){return{focusNext(e={}){let r=t.current,{from:n,tabbable:i,wrap:o,accept:a}=e;var l;let s=n||De(ae((l=r[0])!==null&&l!==void 0?l:void 0)),c=r[0].previousElementSibling,d=Dt(r),f=qe(d,{tabbable:i,accept:a},r);f.currentNode=Re(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:a}=e;var l;let s=n||De(ae((l=r[0])!==null&&l!==void 0?l:void 0)),c=r[r.length-1].nextElementSibling,d=Dt(r),f=qe(d,{tabbable:i,accept:a},r);f.currentNode=Re(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=Dt(r),a=qe(o,{tabbable:n,accept:i},r);a.currentNode=r[0].previousElementSibling;let l=a.nextNode();return l&&et(l,!0),l},focusLast(e={}){let r=t.current,{tabbable:n,accept:i}=e,o=Dt(r),a=qe(o,{tabbable:n,accept:i},r);a.currentNode=r[r.length-1].nextElementSibling;let l=a.previousNode();return l&&et(l,!0),l}}}function Dt(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 Bh(t){if(t.checked)return!0;let e=[];if(!t.form)e=[...ae(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 Lh(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=ae(i?i[0]:void 0);let a=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||!Re(d,f))return;let p=Dt(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)},l=c=>{(!ce||Qn(ce,t))&&Re(oe(c),t.current)?(ce=t,r.current=oe(c)):jr(t)&&!ft(oe(c),t)?r.current?r.current.focus():ce&&ce.current&&na(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)&&Na()&&Pc(),p=De(o);if(!f&&p&&jr(t)&&!ft(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&&na(ce.current)}})};return o.addEventListener("keydown",a,!1),o.addEventListener("focusin",l,!1),i==null||i.forEach(c=>c.addEventListener("focusin",l,!1)),i==null||i.forEach(c=>c.addEventListener("focusout",s,!1)),()=>{o.removeEventListener("keydown",a,!1),o.removeEventListener("focusin",l,!1),i==null||i.forEach(c=>c.removeEventListener("focusin",l,!1)),i==null||i.forEach(c=>c.removeEventListener("focusout",s,!1))}},[t,e]),ne(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n])}function tu(t){return ft(t)}function Re(t,e){return!t||!e?!1:e.some(r=>r.contains(t))}function ft(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&&Re(t,r.current))return!0;return!1}function jh(t){return ft(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{bt(t)}catch{}else if(t!=null)try{t.focus()}catch{}}function ru(t,e=!0){let r=t[0].previousElementSibling,n=Dt(t),i=qe(n,{tabbable:e},t);i.currentNode=r;let o=i.nextNode();return e&&!o&&(n=Dt(t),i=qe(n,{tabbable:!1},t),i.currentNode=r,o=i.nextNode()),o}function na(t,e=!0){et(ru(t,e))}function Kh(t,e){const r=u.useRef(e);u.useEffect(()=>{if(r.current){ce=t;const n=ae(t.current?t.current[0]:void 0);!Re(De(n),ce.current)&&t.current&&na(t.current)}r.current=!1},[t])}function Hh(t,e,r){ne(()=>{if(e||r)return;let n=t.current;const i=ae(n?n[0]:void 0);let o=a=>{let l=oe(a);Re(l,t.current)?ce=t:tu(l)||(ce=null)};return i.addEventListener("focusin",o,!1),n==null||n.forEach(a=>a.addEventListener("focusin",o,!1)),()=>{i.removeEventListener("focusin",o,!1),n==null||n.forEach(a=>a.removeEventListener("focusin",o,!1))}},[t,e,r])}function cs(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 Vh(t,e,r){const n=u.useRef(typeof document<"u"?De(ae(t.current?t.current[0]:void 0)):null);ne(()=>{let i=t.current;const o=ae(i?i[0]:void 0);if(!e||r)return;let a=()=>{(!ce||Qn(ce,t))&&Re(De(o),t.current)&&(ce=t)};return o.addEventListener("focusin",a,!1),i==null||i.forEach(l=>l.addEventListener("focusin",a,!1)),()=>{o.removeEventListener("focusin",a,!1),i==null||i.forEach(l=>l.removeEventListener("focusin",a,!1))}},[t,r]),ne(()=>{const i=ae(t.current?t.current[0]:void 0);if(!e)return;let o=a=>{if(a.key!=="Tab"||a.altKey||a.ctrlKey||a.metaKey||!jr(t)||a.isComposing)return;let l=i.activeElement;if(!ft(l,t)||!cs(t))return;let s=ge.getTreeNode(t);if(!s)return;let c=s.nodeToRestore,d=qe(i.body,{tabbable:!0});d.currentNode=l;let f=a.shiftKey?d.previousNode():d.nextNode();if((!c||!c.isConnected||c===i.body)&&(c=void 0,s.nodeToRestore=void 0),(!f||!ft(f,t))&&c){d.currentNode=c;do f=a.shiftKey?d.previousNode():d.nextNode();while(ft(f,t));a.preventDefault(),a.stopPropagation(),f?et(f,!0):tu(c)?et(c,!0):l.blur()}};return r||i.addEventListener("keydown",o,!0),()=>{r||i.removeEventListener("keydown",o,!0)}},[t,e,r]),ne(()=>{const i=ae(t.current?t.current[0]:void 0);if(!e)return;let o=ge.getTreeNode(t);if(o){var a;return o.nodeToRestore=(a=n.current)!==null&&a!==void 0?a:void 0,()=>{let l=ge.getTreeNode(t);if(!l)return;let s=l.nodeToRestore,c=De(i);if(e&&s&&(c&&ft(c,t)||c===i.body&&cs(t))){let d=ge.clone();requestAnimationFrame(()=>{if(i.activeElement===i.body){let f=d.getTreeNode(t);for(;f;){if(f.nodeToRestore&&f.nodeToRestore.isConnected){us(f.nodeToRestore);return}f=f.parent}for(f=d.getTreeNode(t);f;){if(f.scopeRef&&f.scopeRef.current&&ge.getTreeNode(f.scopeRef)){let p=ru(f.scopeRef.current,!0);us(p);return}f=f.parent}}})}}}},[t,e])}function us(t){t.dispatchEvent(new CustomEvent(ra,{bubbles:!0,cancelable:!0}))&&et(t)}function qe(t,e,r){let n=e!=null&&e.tabbable?L5:Nc,i=(t==null?void 0:t.nodeType)===Node.ELEMENT_NODE?t:null,o=ae(i),a=o5(o,t||o,NodeFilter.SHOW_ELEMENT,{acceptNode(l){var s;return!(e==null||(s=e.from)===null||s===void 0)&&s.contains(l)||e!=null&&e.tabbable&&l.tagName==="INPUT"&&l.getAttribute("type")==="radio"&&(!Bh(l)||a.currentNode.tagName==="INPUT"&&a.currentNode.type==="radio"&&a.currentNode.name===l.name)?NodeFilter.FILTER_REJECT:n(l)&&(!r||Re(l,r))&&(!(e!=null&&e.accept)||e.accept(l))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return e!=null&&e.from&&(a.currentNode=e.from),a}class Xa{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 ia({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&&Re(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 Xa;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 ia({scopeRef:null}),this.fastMap.set(null,this.root)}}class ia{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 Xa;function Dr(t={}){let{autoFocus:e=!1,isTextInput:r,within:n}=t,i=u.useRef({isFocused:!1,isFocusVisible:e||vr()}),[o,a]=u.useState(!1),[l,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,a(g),c()},[c]);ah(g=>{i.current.isFocusVisible=g,c()},[],{isTextInput:r});let{focusProps:f}=Wa({isDisabled:n,onFocusChange:d}),{focusWithinProps:p}=xi({isDisabled:!n,onFocusWithinChange:d});return{isFocused:o,isFocusVisible:l,focusProps:n?p:f}}function zh(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 l=qe(t.current,{tabbable:!0});i(!!l.nextNode())}};o();let a=new MutationObserver(o);return a.observe(t.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{a.disconnect()}}}),r?!1:n}function nu(t){let e=Wh(ae(t));e!==t&&(e&&Uh(e,t),t&&iu(t,e))}function Uh(t,e){t.dispatchEvent(new FocusEvent("blur",{relatedTarget:e})),t.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:e}))}function iu(t,e){t.dispatchEvent(new FocusEvent("focus",{relatedTarget:e})),t.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:e}))}function Wh(t){let e=De(t),r=e==null?void 0:e.getAttribute("aria-activedescendant");return r&&t.getElementById(r)||e}const ou=7e3;let Ue=null;function ds(t,e="assertive",r=ou){Ue?Ue.announce(t,e,r):(Ue=new Zh,(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 Zh{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=ou){var i,o;if(!this.node)return;let a=document.createElement("div");typeof e=="object"?(a.setAttribute("role","img"),a.setAttribute("aria-labelledby",e["aria-labelledby"])):a.textContent=e,r==="assertive"?(i=this.assertiveLog)===null||i===void 0||i.appendChild(a):(o=this.politeLog)===null||o===void 0||o.appendChild(a),e!==""&&setTimeout(()=>{a.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 au={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},lu={...au,customError:!0,valid:!1},_r={isInvalid:!1,validationDetails:au,validationErrors:[]},Gh=u.createContext({}),fs="__formValidationState"+Date.now();function qh(t){if(t[fs]){let{realtimeValidation:e,displayValidation:r,updateValidation:n,resetValidation:i,commitValidation:o}=t[fs];return{realtimeValidation:e,displayValidation:r,updateValidation:n,resetValidation:i,commitValidation:o}}return Yh(t)}function Yh(t){let{isInvalid:e,validationState:r,name:n,value:i,builtinValidation:o,validate:a,validationBehavior:l="aria"}=t;r&&(e||(e=r==="invalid"));let s=e!==void 0?{isInvalid:e,validationErrors:[],validationDetails:lu}:null,c=u.useMemo(()=>{if(!a||i==null)return null;let H=Xh(a,i);return hs(H)},[a,i]);o!=null&&o.validationDetails.valid&&(o=void 0);let d=u.useContext(Gh),f=u.useMemo(()=>n?Array.isArray(n)?n.flatMap(H=>oa(d[H])):oa(d[n]):[],[d,n]),[p,g]=u.useState(d),[y,h]=u.useState(!1);d!==p&&(g(d),h(!1));let b=u.useMemo(()=>hs(y?[]:f),[y,f]),m=u.useRef(_r),[C,E]=u.useState(_r),F=u.useRef(_r),x=()=>{if(!w)return;S(!1);let H=c||o||m.current;oo(H,F.current)||(F.current=H,E(H))},[w,S]=u.useState(!1);return u.useEffect(x),{realtimeValidation:s||b||c||o||_r,displayValidation:l==="native"?s||b||C:s||b||c||o||C,updateValidation(H){l==="aria"&&!oo(C,H)?E(H):m.current=H},resetValidation(){let H=_r;oo(H,F.current)||(F.current=H,E(H)),l==="native"&&S(!1),h(!0)},commitValidation(){l==="native"&&S(!0),h(!0)}}}function oa(t){return t?Array.isArray(t)?t:[t]:[]}function Xh(t,e){if(typeof t=="function"){let r=t(e);if(r&&typeof r!="boolean")return oa(r)}return[]}function hs(t){return t.length?{isInvalid:!0,validationErrors:t,validationDetails:lu}:null}function oo(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 Jh(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(e4(r.current))}});let o=u.useRef(!1),a=be(()=>{o.current||e.resetValidation()}),l=be(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&&t4(f)===r.current){var p;i?i():(p=r.current)===null||p===void 0||p.focus(),Zc("keyboard")}c.preventDefault()}),s=be(()=>{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",l),c.addEventListener("change",s),d==null||d.addEventListener("reset",a),()=>{c.removeEventListener("invalid",l),c.removeEventListener("change",s),d==null||d.removeEventListener("reset",a),d&&(d.reset=f)}},[r,l,s,a,n])}function Qh(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 e4(t){return{isInvalid:!t.validity.valid,validationDetails:Qh(t),validationErrors:t.validationMessage?[t.validationMessage]:[]}}function t4(t){for(let e=0;e<t.elements.length;e++){let r=t.elements[e];if(!r.validity.valid)return r}return null}function su(t){let{id:e,label:r,"aria-labelledby":n,"aria-label":i,labelElementType:o="label"}=t;e=Se(e);let a=Se(),l={};r?(n=n?`${a} ${n}`:a,l={id:a,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=yi({id:e,"aria-label":i,"aria-labelledby":n});return{labelProps:l,fieldProps:s}}function r4(t){let{description:e,errorMessage:r,isInvalid:n,validationState:i}=t,{labelProps:o,fieldProps:a}=su(t),l=ht([!!e,!!r,n,i]),s=ht([!!e,!!r,n,i]);return a=ie(a,{"aria-describedby":[l,s,t["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:o,fieldProps:a,descriptionProps:{id:l},errorMessageProps:{id:s}}}const ps={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 cu(t={}){let{style:e,isFocusable:r}=t,[n,i]=u.useState(!1),{focusWithinProps:o}=xi({isDisabled:!r,onFocusWithinChange:l=>i(l)}),a=u.useMemo(()=>n?e:e?{...ps,...e}:ps,[n]);return{visuallyHiddenProps:{...o,style:a}}}function n4(t){let{children:e,elementType:r="div",isFocusable:n,style:i,...o}=t,{visuallyHiddenProps:a}=cu(t);return u.createElement(r,ie(o,a),e)}const Ye={top:"top",bottom:"top",left:"left",right:"left"},ei={top:"bottom",bottom:"top",left:"right",right:"left"},i4={top:"left",left:"top"},aa={top:"height",left:"width"},uu={width:"totalWidth",height:"totalHeight"},Cn={};let me=typeof document<"u"?window.visualViewport:null;function gs(t){let e=0,r=0,n=0,i=0,o=0,a=0,l={};var s;let c=((s=me==null?void 0:me.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=me==null?void 0:me.width)!==null&&d!==void 0?d:n;var f;r=(f=me==null?void 0:me.height)!==null&&f!==void 0?f:i,l.top=y.scrollTop||t.scrollTop,l.left=y.scrollLeft||t.scrollLeft,me&&(o=me.offsetTop,a=me.offsetLeft)}else({width:e,height:r,top:o,left:a}=ur(t,!1)),l.top=t.scrollTop,l.left=t.scrollLeft,n=e,i=r;if(Oa()&&(t.tagName==="BODY"||t.tagName==="HTML")&&c){l.top=0,l.left=0;var p;o=(p=me==null?void 0:me.pageTop)!==null&&p!==void 0?p:0;var g;a=(g=me==null?void 0:me.pageLeft)!==null&&g!==void 0?g:0}return{width:e,height:r,totalWidth:n,totalHeight:i,scroll:l,top:o,left:a}}function o4(t){return{top:t.scrollTop,left:t.scrollLeft,width:t.scrollWidth,height:t.scrollHeight}}function vs(t,e,r,n,i,o,a){var l;let s=(l=i.scroll[t])!==null&&l!==void 0?l:0,c=n[aa[t]],d=n.scroll[Ye[t]]+o,f=c+n.scroll[Ye[t]]-o,p=e-s+a[t]-n[Ye[t]],g=e-s+r+a[t]-n[Ye[t]];return p<d?d-p:g>f?Math.max(f-g,d-p):0}function a4(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 bs(t){if(Cn[t])return Cn[t];let[e,r]=t.split(" "),n=Ye[e]||"right",i=i4[n];Ye[r]||(r="center");let o=aa[n],a=aa[i];return Cn[t]={placement:e,crossPlacement:r,axis:n,crossAxis:i,size:o,crossSize:a},Cn[t]}function ao(t,e,r,n,i,o,a,l,s,c){let{placement:d,crossPlacement:f,axis:p,crossAxis:g,size:y,crossSize:h}=n,b={};var m;b[g]=(m=t[g])!==null&&m!==void 0?m:0;var C,E,F,x;f==="center"?b[g]+=(((C=t[h])!==null&&C!==void 0?C:0)-((E=r[h])!==null&&E!==void 0?E:0))/2:f!==g&&(b[g]+=((F=t[h])!==null&&F!==void 0?F:0)-((x=r[h])!==null&&x!==void 0?x:0)),b[g]+=o;const w=t[g]-r[h]+s+c,S=t[g]+t[h]-s-c;if(b[g]=Zo(b[g],w,S),d===p){const O=l?a[y]:e[uu[y]];b[ei[p]]=Math.floor(O-t[p]+i)}else b[p]=Math.floor(t[p]+t[y]+i);return b}function l4(t,e,r,n,i,o,a,l){const s=n?r.height:e[uu.height];var c;let d=t.top!=null?r.top+t.top:r.top+(s-((c=t.bottom)!==null&&c!==void 0?c:0)-a);var f,p,g,y,h,b;let m=l!=="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+a-(e.top+((y=e.scroll.top)!==null&&y!==void 0?y:0))-(((h=i.top)!==null&&h!==void 0?h:0)+((b=i.bottom)!==null&&b!==void 0?b:0)+o));return Math.min(e.height-o*2,m)}function ms(t,e,r,n,i,o){let{placement:a,axis:l,size:s}=o;var c,d;if(a===l)return Math.max(0,r[l]-t[l]-((c=t.scroll[l])!==null&&c!==void 0?c:0)+e[l]-((d=n[l])!==null&&d!==void 0?d:0)-n[ei[l]]-i);var f;return Math.max(0,t[s]+t[l]+t.scroll[l]-e[l]-r[l]-r[s]-((f=n[l])!==null&&f!==void 0?f:0)-n[ei[l]]-i)}function s4(t,e,r,n,i,o,a,l,s,c,d,f,p,g,y,h){let b=bs(t),{size:m,crossAxis:C,crossSize:E,placement:F,crossPlacement:x}=b,w=ao(e,l,r,b,d,f,c,p,y,h),S=d,O=ms(l,c,e,i,o+d,b);if(a&&n[m]>O){let V=bs(`${ei[F]} ${x}`),Z=ao(e,l,r,V,d,f,c,p,y,h);ms(l,c,e,i,o+d,V)>O&&(b=V,w=Z,S=d)}let K="bottom";b.axis==="top"?b.placement==="top"?K="top":b.placement==="bottom"&&(K="bottom"):b.crossAxis==="top"&&(b.crossPlacement==="top"?K="bottom":b.crossPlacement==="bottom"&&(K="top"));let H=vs(C,w[C],r[E],l,s,o,c);w[C]+=H;let D=l4(w,l,c,p,i,o,r.height,K);g&&g<D&&(D=g),r.height=Math.min(r.height,D),w=ao(e,l,r,b,S,f,c,p,y,h),H=vs(C,w[C],r[E],l,s,o,c),w[C]+=H;let B={},U=e[C]-w[C]-i[Ye[C]],k=U+.5*e[E];const W=y/2+h;var _,I,z,L;const M=Ye[C]==="left"?((_=i.left)!==null&&_!==void 0?_:0)+((I=i.right)!==null&&I!==void 0?I:0):((z=i.top)!==null&&z!==void 0?z:0)+((L=i.bottom)!==null&&L!==void 0?L:0),R=r[E]-M-y/2-h,$=e[C]+y/2-(w[C]+i[Ye[C]]),P=e[C]+e[E]-y/2-(w[C]+i[Ye[C]]),T=Zo(k,$,P);B[C]=Zo(T,W,R),{placement:F,crossPlacement:x}=b,y?U=B[C]:x==="right"?U+=e[E]:x==="center"&&(U+=e[E]/2);let N=F==="left"||F==="top"?r[m]:0,j={x:F==="top"||F==="bottom"?U:N,y:F==="left"||F==="right"?U:N};return{position:w,maxHeight:D,arrowOffsetLeft:B.left,arrowOffsetTop:B.top,placement:F,triggerAnchorPoint:j}}function c4(t){let{placement:e,targetNode:r,overlayNode:n,scrollNode:i,padding:o,shouldFlip:a,boundaryElement:l,offset:s,crossOffset:c,maxHeight:d,arrowSize:f=0,arrowBoundaryOffset:p=0}=t,g=n instanceof HTMLElement?u4(n):document.documentElement,y=g===document.documentElement;const h=window.getComputedStyle(g).position;let b=!!h&&h!=="static",m=y?ur(r,!1):ys(r,g,!1);if(!y){let{marginTop:B,marginLeft:U}=window.getComputedStyle(r);m.top+=parseInt(B,10)||0,m.left+=parseInt(U,10)||0}let C=ur(n,!0),E=a4(n);var F,x;C.width+=((F=E.left)!==null&&F!==void 0?F:0)+((x=E.right)!==null&&x!==void 0?x:0);var w,S;C.height+=((w=E.top)!==null&&w!==void 0?w:0)+((S=E.bottom)!==null&&S!==void 0?S:0);let O=o4(i),K=gs(l),H=gs(g),D=l.tagName==="BODY"?ur(g,!1):ys(g,l,!1);return g.tagName==="HTML"&&l.tagName==="BODY"&&(H.scroll.top=0,H.scroll.left=0),s4(e,m,C,O,E,o,a,K,H,D,s,c,b,d,f,p)}function Ja(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 ur(t,e){let{top:r,left:n,width:i,height:o}=Ja(t,e),{scrollTop:a,scrollLeft:l,clientTop:s,clientLeft:c}=document.documentElement;return{top:r+a-s,left:n+l-c,width:i,height:o}}function ys(t,e,r){let n=window.getComputedStyle(t),i;if(n.position==="fixed")i=Ja(t,r);else{i=ur(t,r);let o=ur(e,r),a=window.getComputedStyle(e);o.top+=(parseInt(a.borderTopWidth,10)||0)-e.scrollTop,o.left+=(parseInt(a.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 u4(t){let e=t.offsetParent;if(e&&e===document.body&&window.getComputedStyle(e).position==="static"&&!Cs(e)&&(e=document.documentElement),e==null)for(e=t.parentElement;e&&!Cs(e);)e=e.parentElement;return e||document.documentElement}function Cs(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 du=new WeakMap;function d4(t){let{triggerRef:e,isOpen:r,onClose:n}=t;u.useEffect(()=>{if(!r||n===null)return;let i=o=>{let a=o.target;if(!e.current||a instanceof Node&&!a.contains(e.current)||o.target instanceof HTMLInputElement||o.target instanceof HTMLTextAreaElement)return;let l=n||du.get(e.current);l&&l()};return window.addEventListener("scroll",i,!0),()=>{window.removeEventListener("scroll",i,!0)}},[r,n,e])}let fe=typeof document<"u"?window.visualViewport:null;function f4(t){let{direction:e}=Bt(),{arrowSize:r,targetRef:n,overlayRef:i,arrowRef:o,scrollRef:a=i,placement:l="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:b,arrowBoundaryOffset:m=0}=t,[C,E]=u.useState(null),F=[g,l,i.current,n.current,o==null?void 0:o.current,a.current,s,c,d,f,p,y,e,b,m,r],x=u.useRef(fe==null?void 0:fe.scale);u.useEffect(()=>{y&&(x.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)!==x.current)return;let B=null;if(a.current&&a.current.contains(document.activeElement)){var U;let M=(U=document.activeElement)===null||U===void 0?void 0:U.getBoundingClientRect(),R=a.current.getBoundingClientRect();var k;if(B={type:"top",offset:((k=M==null?void 0:M.top)!==null&&k!==void 0?k:0)-R.top},B.offset>R.height/2){B.type="bottom";var W;B.offset=((W=M==null?void 0:M.bottom)!==null&&W!==void 0?W:0)-R.bottom}}let _=i.current;if(!b&&i.current){var I;_.style.top="0px",_.style.bottom="";var z;_.style.maxHeight=((z=(I=window.visualViewport)===null||I===void 0?void 0:I.height)!==null&&z!==void 0?z:window.innerHeight)+"px"}let L=c4({placement:p4(l,e),overlayNode:i.current,targetNode:n.current,scrollNode:a.current||i.current,padding:s,shouldFlip:c,boundaryElement:d,offset:f,crossOffset:p,maxHeight:b,arrowSize:r??(o!=null&&o.current?Ja(o.current,!0).width:0),arrowBoundaryOffset:m});if(L.position){if(_.style.top="",_.style.bottom="",_.style.left="",_.style.right="",Object.keys(L.position).forEach(M=>_.style[M]=L.position[M]+"px"),_.style.maxHeight=L.maxHeight!=null?L.maxHeight+"px":"",B&&document.activeElement&&a.current){let M=document.activeElement.getBoundingClientRect(),R=a.current.getBoundingClientRect(),$=M[B.type]-R[B.type];a.current.scrollTop+=$-B.offset}E(L)}},F);ne(w,F),h4(w),Uo({ref:i,onResize:w}),Uo({ref:n,onResize:w});let S=u.useRef(!1);ne(()=>{let B,U=()=>{S.current=!0,clearTimeout(B),B=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 O=u.useCallback(()=>{S.current||h==null||h()},[h,S]);d4({triggerRef:n,isOpen:y,onClose:h&&O});var K,H,D;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:(D=C==null?void 0:C.triggerAnchorPoint)!==null&&D!==void 0?D:null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:C==null?void 0:C.arrowOffsetLeft,top:C==null?void 0:C.arrowOffsetTop}},updatePosition:w}}function h4(t){ne(()=>(window.addEventListener("resize",t,!1),()=>{window.removeEventListener("resize",t,!1)}),[t])}function p4(t,e){return e==="rtl"?t.replace("start","right").replace("end","left"):t.replace("start","left").replace("end","right")}const We=[];function g4(t,e){let{onClose:r,shouldCloseOnBlur:n,isOpen:i,isDismissable:o=!1,isKeyboardDismissDisabled:a=!1,shouldCloseOnInteractOutside:l}=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=>{(!l||l(y.target))&&We[We.length-1]===e&&(y.stopPropagation(),y.preventDefault())},d=y=>{(!l||l(y.target))&&(We[We.length-1]===e&&(y.stopPropagation(),y.preventDefault()),s())},f=y=>{y.key==="Escape"&&!a&&!y.nativeEvent.isComposing&&(y.stopPropagation(),y.preventDefault(),s())};uh({ref:e,onInteractOutside:o&&i?d:void 0,onInteractOutsideStart:c});let{focusWithinProps:p}=xi({isDisabled:!n,onBlurWithin:y=>{!y.relatedTarget||jh(y.relatedTarget)||(!l||l(y.relatedTarget))&&(r==null||r())}}),g=y=>{y.target===y.currentTarget&&y.preventDefault()};return{overlayProps:{onKeyDown:f,...p},underlayProps:{onPointerDown:g}}}function v4(t,e,r){let{type:n}=t,{isOpen:i}=e;u.useEffect(()=>{r&&r.current&&du.set(r.current,e.close)});let o;n==="menu"?o=!0:n==="listbox"&&(o="listbox");let a=Se();return{triggerProps:{"aria-haspopup":o,"aria-expanded":i,"aria-controls":i?a:void 0,onPress:e.toggle},overlayProps:{id:a}}}const lo=typeof document<"u"&&window.visualViewport,b4=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let En=0,so;function m4(t={}){let{isDisabled:e}=t;ne(()=>{if(!e)return En++,En===1&&(vi()?so=C4():so=y4()),()=>{En--,En===0&&so()}},[e])}function y4(){let t=window.innerWidth-document.documentElement.clientWidth;return gt(t>0&&("scrollbarGutter"in document.documentElement.style?xt(document.documentElement,"scrollbarGutter","stable"):xt(document.documentElement,"paddingRight",`${t}px`)),xt(document.documentElement,"overflow","hidden"))}function C4(){let t,e,r=c=>{t=kc(c.target,!0),!(t===document.documentElement&&t===document.body)&&t instanceof HTMLElement&&window.getComputedStyle(t).overscrollBehavior==="auto"&&(e=xt(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;E4(d)&&(l(),d.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{d.style.transform="",lo&&(lo.height<window.innerHeight?requestAnimationFrame(()=>{Es(d)}):lo.addEventListener("resize",()=>Es(d),{once:!0}))}))},a=null,l=()=>{if(a)return;let c=()=>{window.scrollTo(0,0)},d=window.pageXOffset,f=window.pageYOffset;a=gt(Pr(window,"scroll",c),xt(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),xt(document.documentElement,"overflow","hidden"),xt(document.body,"marginTop",`-${f}px`),()=>{window.scrollTo(d,f)}),window.scrollTo(0,0)},s=gt(Pr(document,"touchstart",r,{passive:!1,capture:!0}),Pr(document,"touchmove",n,{passive:!1,capture:!0}),Pr(document,"touchend",i,{passive:!1,capture:!0}),Pr(document,"focus",o,!0));return()=>{e==null||e(),a==null||a(),s()}}function xt(t,e,r){let n=t.style[e];return t.style[e]=r,()=>{t.style[e]=n}}function Pr(t,e,r,n){return t.addEventListener(e,r,n),()=>{t.removeEventListener(e,r,n)}}function Es(t){let e=document.scrollingElement||document.documentElement,r=t;for(;r&&r!==e;){let n=kc(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 E4(t){return t instanceof HTMLInputElement&&!b4.has(t.type)||t instanceof HTMLTextAreaElement||t instanceof HTMLElement&&t.isContentEditable}const w4=u.createContext({});function D4(){var t;return(t=u.useContext(w4))!==null&&t!==void 0?t:{}}var fu={};fu={dismiss:"تجاهل"};var hu={};hu={dismiss:"Отхвърляне"};var pu={};pu={dismiss:"Odstranit"};var gu={};gu={dismiss:"Luk"};var vu={};vu={dismiss:"Schließen"};var bu={};bu={dismiss:"Απόρριψη"};var mu={};mu={dismiss:"Dismiss"};var yu={};yu={dismiss:"Descartar"};var Cu={};Cu={dismiss:"Lõpeta"};var Eu={};Eu={dismiss:"Hylkää"};var wu={};wu={dismiss:"Rejeter"};var Du={};Du={dismiss:"התעלם"};var xu={};xu={dismiss:"Odbaci"};var Su={};Su={dismiss:"Elutasítás"};var Fu={};Fu={dismiss:"Ignora"};var $u={};$u={dismiss:"閉じる"};var _u={};_u={dismiss:"무시"};var Pu={};Pu={dismiss:"Atmesti"};var Au={};Au={dismiss:"Nerādīt"};var Tu={};Tu={dismiss:"Lukk"};var ku={};ku={dismiss:"Negeren"};var Iu={};Iu={dismiss:"Zignoruj"};var Ou={};Ou={dismiss:"Descartar"};var Nu={};Nu={dismiss:"Dispensar"};var Mu={};Mu={dismiss:"Revocare"};var Ru={};Ru={dismiss:"Пропустить"};var Bu={};Bu={dismiss:"Zrušiť"};var Lu={};Lu={dismiss:"Opusti"};var ju={};ju={dismiss:"Odbaci"};var Ku={};Ku={dismiss:"Avvisa"};var Hu={};Hu={dismiss:"Kapat"};var Vu={};Vu={dismiss:"Скасувати"};var zu={};zu={dismiss:"取消"};var Uu={};Uu={dismiss:"關閉"};var Wu={};Wu={"ar-AE":fu,"bg-BG":hu,"cs-CZ":pu,"da-DK":gu,"de-DE":vu,"el-GR":bu,"en-US":mu,"es-ES":yu,"et-EE":Cu,"fi-FI":Eu,"fr-FR":wu,"he-IL":Du,"hr-HR":xu,"hu-HU":Su,"it-IT":Fu,"ja-JP":$u,"ko-KR":_u,"lt-LT":Pu,"lv-LV":Au,"nb-NO":Tu,"nl-NL":ku,"pl-PL":Iu,"pt-BR":Ou,"pt-PT":Nu,"ro-RO":Mu,"ru-RU":Ru,"sk-SK":Bu,"sl-SI":Lu,"sr-SP":ju,"sv-SE":Ku,"tr-TR":Hu,"uk-UA":Vu,"zh-CN":zu,"zh-TW":Uu};function x4(t){return t&&t.__esModule?t.default:t}function ws(t){let{onDismiss:e,...r}=t,n=eu(x4(Wu),"@react-aria/overlays"),i=yi(r,n.format("dismiss")),o=()=>{e&&e()};return u.createElement(n4,null,u.createElement("button",{...i,tabIndex:-1,onClick:o,style:{width:1,height:1}}))}const S4=typeof HTMLElement<"u"&&"inert"in HTMLElement.prototype;let Ar=new WeakMap,_e=[];function F4(t,e){let r=Te(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,a=(n==null?void 0:n.shouldUseInert)&&S4,l=new Set(t),s=new Set,c=h=>a&&h instanceof r.HTMLElement?h.inert:h.getAttribute("aria-hidden")==="true",d=(h,b)=>{a&&h instanceof r.HTMLElement?h.inert=b:b?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]"))l.add(E);let b=E=>{if(s.has(E)||l.has(E)||E.parentElement&&s.has(E.parentElement)&&E.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let F of l)if(E.contains(F))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},m=document.createTreeWalker(h,NodeFilter.SHOW_ELEMENT,{acceptNode:b}),C=b(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 b;let m=(b=Ar.get(h))!==null&&b!==void 0?b:0;c(h)&&m===0||(m===0&&d(h,!0),s.add(h),Ar.set(h,m+1))};_e.length&&_e[_e.length-1].disconnect(),f(o);let g=new MutationObserver(h=>{for(let b of h)if(b.type==="childList"&&![...l,...s].some(m=>m.contains(b.target)))for(let m of b.addedNodes)(m instanceof HTMLElement||m instanceof SVGElement)&&(m.dataset.liveAnnouncer==="true"||m.dataset.reactAriaTopLayer==="true")?l.add(m):m instanceof Element&&f(m)});g.observe(o,{childList:!0,subtree:!0});let y={visibleNodes:l,hiddenNodes:s,observe(){g.observe(o,{childList:!0,subtree:!0})},disconnect(){g.disconnect()}};return _e.push(y),()=>{g.disconnect();for(let h of s){let b=Ar.get(h);b!=null&&(b===1?(d(h,!1),Ar.delete(h)):Ar.set(h,b-1))}y===_e[_e.length-1]?(_e.pop(),_e.length&&_e[_e.length-1].observe()):_e.splice(_e.indexOf(y),1)}}function $4(t){let e=_e[_e.length-1];if(e&&!e.visibleNodes.has(t))return e.visibleNodes.add(t),()=>{e.visibleNodes.delete(t)}}function _4(t,e){let{triggerRef:r,popoverRef:n,groupRef:i,isNonModal:o,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:l,...s}=t,c=s.trigger==="SubmenuTrigger",{overlayProps:d,underlayProps:f}=g4({isOpen:e.isOpen,onClose:e.close,shouldCloseOnBlur:!0,isDismissable:!o||c,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:l},i??n),{overlayProps:p,arrowProps:g,placement:y,triggerAnchorPoint:h}=f4({...s,targetRef:r,overlayRef:n,isOpen:e.isOpen,onClose:o&&!c?e.close:null});return m4({isDisabled:o||!e.isOpen}),u.useEffect(()=>{if(e.isOpen&&n.current){var b,m;return o?$4((b=i==null?void 0:i.current)!==null&&b!==void 0?b:n.current):F4([(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 Zu=u.createContext(null);function Ds(t){let e=sn(),{portalContainer:r=e?null:document.body,isExiting:n}=t,[i,o]=u.useState(!1),a=u.useMemo(()=>({contain:i,setContain:o}),[i,o]),{getContainer:l}=D4();if(!t.portalContainer&&l&&(r=l()),!r)return null;let s=t.children;return t.disableFocusManagement||(s=u.createElement(Ya,{restoreFocus:!0,contain:(t.shouldContainFocus||i)&&!n},s)),s=u.createElement(Zu.Provider,{value:a},u.createElement(sh,null,s)),Mt.createPortal(s,r)}function P4(){let t=u.useContext(Zu),e=t==null?void 0:t.setContain;ne(()=>{e==null||e(!0)},[e])}const Qa=new WeakMap;function A4(t){return typeof t=="string"?t.replace(/\s*/g,""):""+t}function T4(t,e){let r=Qa.get(t);if(!r)throw new Error("Unknown list");return`${r.id}-option-${A4(e)}`}function la(t){return g5()?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 Gu=new WeakMap;function k4(t){let e=Se();return Gu.set(t,e),e}function I4(t){return Gu.get(t)}const O4=1e3;function qu(t){let{keyboardDelegate:e,selectionManager:r,onTypeSelect:n}=t,i=u.useRef({search:"",timeout:void 0}).current,o=a=>{let l=N4(a.key);if(!(!l||a.ctrlKey||a.metaKey||!a.currentTarget.contains(a.target)||i.search.length===0&&l===" ")){if(l===" "&&i.search.trim().length>0&&(a.preventDefault(),"continuePropagation"in a||a.stopPropagation()),i.search+=l,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=""},O4)}};return{typeSelectProps:{onKeyDownCapture:e.getKeyForSearch?o:void 0}}}function N4(t){return t.length===1||!/^[A-Z]/i.test(t)?t:""}function Yu(t){let{selectionManager:e,keyboardDelegate:r,ref:n,autoFocus:i=!1,shouldFocusWrap:o=!1,disallowEmptySelection:a=!1,disallowSelectAll:l=!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:b}=Bt(),m=bi(),C=I=>{var z;if(I.altKey&&I.key==="Tab"&&I.preventDefault(),!(!((z=n.current)===null||z===void 0)&&z.contains(I.target)))return;const L=(G,te)=>{if(G!=null){if(e.isLink(G)&&h==="selection"&&c&&!la(I)){Mt.flushSync(()=>{e.setFocusedKey(G,te)});let de=Nn(n,G),Be=e.getItemProps(G);de&&m.open(de,I,Be.href,Be.routerOptions);return}if(e.setFocusedKey(G,te),e.isLink(G)&&h==="override")return;I.shiftKey&&e.selectionMode==="multiple"?e.extendSelection(G):c&&!la(I)&&e.replaceSelection(G)}};switch(I.key){case"ArrowDown":if(r.getKeyBelow){var M,R,$;let G=e.focusedKey!=null?(M=r.getKeyBelow)===null||M===void 0?void 0:M.call(r,e.focusedKey):(R=r.getFirstKey)===null||R===void 0?void 0:R.call(r);G==null&&o&&(G=($=r.getFirstKey)===null||$===void 0?void 0:$.call(r,e.focusedKey)),G!=null&&(I.preventDefault(),L(G))}break;case"ArrowUp":if(r.getKeyAbove){var P,T,N;let G=e.focusedKey!=null?(P=r.getKeyAbove)===null||P===void 0?void 0:P.call(r,e.focusedKey):(T=r.getLastKey)===null||T===void 0?void 0:T.call(r);G==null&&o&&(G=(N=r.getLastKey)===null||N===void 0?void 0:N.call(r,e.focusedKey)),G!=null&&(I.preventDefault(),L(G))}break;case"ArrowLeft":if(r.getKeyLeftOf){var j,V,Z;let G=e.focusedKey!=null?(j=r.getKeyLeftOf)===null||j===void 0?void 0:j.call(r,e.focusedKey):null;G==null&&o&&(G=b==="rtl"?(V=r.getFirstKey)===null||V===void 0?void 0:V.call(r,e.focusedKey):(Z=r.getLastKey)===null||Z===void 0?void 0:Z.call(r,e.focusedKey)),G!=null&&(I.preventDefault(),L(G,b==="rtl"?"first":"last"))}break;case"ArrowRight":if(r.getKeyRightOf){var q,Y,le;let G=e.focusedKey!=null?(q=r.getKeyRightOf)===null||q===void 0?void 0:q.call(r,e.focusedKey):null;G==null&&o&&(G=b==="rtl"?(Y=r.getLastKey)===null||Y===void 0?void 0:Y.call(r,e.focusedKey):(le=r.getFirstKey)===null||le===void 0?void 0:le.call(r,e.focusedKey)),G!=null&&(I.preventDefault(),L(G,b==="rtl"?"last":"first"))}break;case"Home":if(r.getFirstKey){if(e.focusedKey===null&&I.shiftKey)return;I.preventDefault();let G=r.getFirstKey(e.focusedKey,rr(I));e.setFocusedKey(G),G!=null&&(rr(I)&&I.shiftKey&&e.selectionMode==="multiple"?e.extendSelection(G):c&&e.replaceSelection(G))}break;case"End":if(r.getLastKey){if(e.focusedKey===null&&I.shiftKey)return;I.preventDefault();let G=r.getLastKey(e.focusedKey,rr(I));e.setFocusedKey(G),G!=null&&(rr(I)&&I.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&&(I.preventDefault(),L(G))}break;case"PageUp":if(r.getKeyPageAbove&&e.focusedKey!=null){let G=r.getKeyPageAbove(e.focusedKey);G!=null&&(I.preventDefault(),L(G))}break;case"a":rr(I)&&e.selectionMode==="multiple"&&l!==!0&&(I.preventDefault(),e.selectAll());break;case"Escape":s==="clearSelection"&&!a&&e.selectedKeys.size!==0&&(I.stopPropagation(),I.preventDefault(),e.clearSelection());break;case"Tab":if(!p){if(I.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 I,z,L,M;E.current={top:(L=(I=y.current)===null||I===void 0?void 0:I.scrollTop)!==null&&L!==void 0?L:0,left:(M=(z=y.current)===null||z===void 0?void 0:z.scrollLeft)!==null&&M!==void 0?M:0}});let F=I=>{if(e.isFocused){I.currentTarget.contains(I.target)||e.setFocused(!1);return}if(I.currentTarget.contains(I.target)){if(e.setFocused(!0),e.focusedKey==null){var z,L;let $=T=>{T!=null&&(e.setFocusedKey(T),c&&!e.isSelected(T)&&e.replaceSelection(T))},P=I.relatedTarget;var M,R;P&&I.currentTarget.compareDocumentPosition(P)&Node.DOCUMENT_POSITION_FOLLOWING?$((M=e.lastSelectedKey)!==null&&M!==void 0?M:(z=r.getLastKey)===null||z===void 0?void 0:z.call(r)):$((R=e.firstSelectedKey)!==null&&R!==void 0?R:(L=r.getFirstKey)===null||L===void 0?void 0:L.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 $=Nn(n,e.focusedKey);$ instanceof HTMLElement&&(!$.contains(document.activeElement)&&!f&&Ve($),Xn()==="keyboard"&&Kl($,{containingElement:n.current}))}}},x=I=>{I.currentTarget.contains(I.relatedTarget)||e.setFocused(!1)},w=u.useRef(!1);pn(n,T5,f?I=>{let{detail:z}=I;I.stopPropagation(),e.setFocused(!0),(z==null?void 0:z.focusStrategy)==="first"&&(w.current=!0)}:void 0);let S=be(()=>{var I,z;let L=(z=(I=r.getFirstKey)===null||I===void 0?void 0:I.call(r))!==null&&z!==void 0?z:null;if(L==null){let M=De();nu(n.current),iu(M,null),e.collection.size>0&&(w.current=!1)}else e.setFocusedKey(L),w.current=!1});Ll(()=>{w.current&&S()},[e.collection,S]);let O=be(()=>{e.collection.size>0&&(w.current=!1)});Ll(()=>{O()},[e.focusedKey,O]),pn(n,A5,f?I=>{var z;I.stopPropagation(),e.setFocused(!1),!((z=I.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 I,z;let R=null;var L;i==="first"&&(R=(L=(I=r.getFirstKey)===null||I===void 0?void 0:I.call(r))!==null&&L!==void 0?L:null);var M;i==="last"&&(R=(M=(z=r.getLastKey)===null||z===void 0?void 0:z.call(r))!==null&&M!==void 0?M:null);let $=e.selectedKeys;if($.size){for(let P of $)if(e.canSelectItem(P)){R=P;break}}e.setFocused(!0),e.setFocusedKey(R),R==null&&!f&&n.current&&bt(n.current),e.collection.size>0&&(K.current=!1,H.current=!0)}});let D=u.useRef(e.focusedKey),B=u.useRef(null);u.useEffect(()=>{if(e.isFocused&&e.focusedKey!=null&&(e.focusedKey!==D.current||H.current)&&y.current&&n.current){let I=Xn(),z=Nn(n,e.focusedKey);if(!(z instanceof HTMLElement))return;(I==="keyboard"||H.current)&&(B.current&&cancelAnimationFrame(B.current),B.current=requestAnimationFrame(()=>{y.current&&(Ic(y.current,z),I!=="virtual"&&Kl(z,{containingElement:n.current}))}))}!f&&e.isFocused&&e.focusedKey==null&&D.current!=null&&n.current&&bt(n.current),D.current=e.focusedKey,H.current=!1}),u.useEffect(()=>()=>{B.current&&cancelAnimationFrame(B.current)},[]),pn(n,"react-aria-focus-scope-restore",I=>{I.preventDefault(),e.setFocused(!0)});let U={onKeyDown:C,onFocus:F,onBlur:x,onMouseDown(I){y.current===I.target&&I.preventDefault()}},{typeSelectProps:k}=qu({keyboardDelegate:r,selectionManager:e});d||(U=ie(k,U));let W;f||(W=e.focusedKey==null?0:-1);let _=k4(e.collection);return{collectionProps:ie(U,{tabIndex:W,"data-collection":_})}}function el(t){let{id:e,selectionManager:r,key:n,ref:i,shouldSelectOnPressUp:o,shouldUseVirtualFocus:a,focus:l,isDisabled:s,onAction:c,allowsDifferentPressOrigin:d,linkBehavior:f="action"}=t,p=bi();e=Se(e);let g=L=>{if(L.pointerType==="keyboard"&&la(L))r.toggleSelection(n);else{if(r.selectionMode==="none")return;if(r.isLink(n)){if(f==="selection"&&i.current){let M=r.getItemProps(n);p.open(i.current,L,M.href,M.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):L&&L.shiftKey?r.extendSelection(n):r.selectionBehavior==="toggle"||L&&(rr(L)||L.pointerType==="touch"||L.pointerType==="virtual")?r.toggleSelection(n):r.replaceSelection(n)}};u.useEffect(()=>{n===r.focusedKey&&r.isFocused&&(a?nu(i.current):l?l():document.activeElement!==i.current&&i.current&&bt(i.current))},[i,n,r.focusedKey,r.childFocusStrategy,r.isFocused,a]),s=s||r.isDisabled(n);let y={};!a&&!s?y={tabIndex:n===r.focusedKey?0:-1,onFocus(L){L.target===i.current&&r.setFocusedKey(n)}}:s&&(y.onMouseDown=L=>{L.preventDefault()});let h=r.isLink(n)&&f==="override",b=r.isLink(n)&&f!=="selection"&&f!=="none",m=!s&&r.canSelectItem(n)&&!h,C=(c||b)&&!s,E=C&&(r.selectionBehavior==="replace"?!m:!m||r.isEmpty),F=C&&m&&r.selectionBehavior==="replace",x=E||F,w=u.useRef(null),S=x&&m,O=u.useRef(!1),K=u.useRef(!1),H=r.getItemProps(n),D=L=>{c&&c(),b&&i.current&&p.open(i.current,L,H.href,H.routerOptions)},B={ref:i};if(o?(B.onPressStart=L=>{w.current=L.pointerType,O.current=S,L.pointerType==="keyboard"&&(!x||Ss())&&g(L)},d?(B.onPressUp=E?void 0:L=>{L.pointerType==="mouse"&&m&&g(L)},B.onPress=E?D:L=>{L.pointerType!=="keyboard"&&L.pointerType!=="mouse"&&m&&g(L)}):B.onPress=L=>{if(E||F&&L.pointerType!=="mouse"){if(L.pointerType==="keyboard"&&!xs())return;D(L)}else L.pointerType!=="keyboard"&&m&&g(L)}):(B.onPressStart=L=>{w.current=L.pointerType,O.current=S,K.current=E,m&&(L.pointerType==="mouse"&&!E||L.pointerType==="keyboard"&&(!C||Ss()))&&g(L)},B.onPress=L=>{(L.pointerType==="touch"||L.pointerType==="pen"||L.pointerType==="virtual"||L.pointerType==="keyboard"&&x&&xs()||L.pointerType==="mouse"&&K.current)&&(x?D(L):m&&g(L))}),y["data-collection"]=I4(r.collection),y["data-key"]=n,B.preventFocusOnPress=a,a&&(B=ie(B,{onPressStart(L){L.pointerType!=="touch"&&(r.setFocused(!0),r.setFocusedKey(n))},onPress(L){L.pointerType==="touch"&&(r.setFocused(!0),r.setFocusedKey(n))}})),H)for(let L of["onPressStart","onPressEnd","onPressChange","onPress","onPressUp","onClick"])H[L]&&(B[L]=gt(B[L],H[L]));let{pressProps:U,isPressed:k}=wi(B),W=F?L=>{w.current==="mouse"&&(L.stopPropagation(),L.preventDefault(),D(L))}:void 0,{longPressProps:_}=Yc({isDisabled:!S,onLongPress(L){L.pointerType==="touch"&&(g(L),r.setSelectionBehavior("toggle"))}}),I=L=>{w.current==="touch"&&O.current&&L.preventDefault()},z=f!=="none"&&r.isLink(n)?L=>{Pt.isOpening||L.preventDefault()}:void 0;return{itemProps:ie(y,m||E||a&&!s?U:{},S?_:{},{onDoubleClick:W,onDragStartCapture:I,onClick:z,id:e},a?{onMouseDown:L=>L.preventDefault()}:void 0),isPressed:k,isSelected:r.isSelected(n),isFocused:r.isFocused&&r.focusedKey===n,isDisabled:s,allowsSelection:m,hasAction:x}}function xs(){let t=window.event;return(t==null?void 0:t.key)==="Enter"}function Ss(){let t=window.event;return(t==null?void 0:t.key)===" "||(t==null?void 0:t.code)==="Space"}class Fs{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 tl{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 a=o;do{if(i=r(i),i==null)break;o=this.layoutDelegate.getItemRect(i)}while(o&&n(a,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&&!Zr(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&&!Zr(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 a=o.textValue.slice(0,e.length);if(o.textValue&&this.collator.compare(a,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 Fs(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 Fs(this.ref);this.layout==="stack"&&this.orientation==="vertical"&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}}function Xu(t){let{selectionManager:e,collection:r,disabledKeys:n,ref:i,keyboardDelegate:o,layoutDelegate:a}=t,l=qa({usage:"search",sensitivity:"base"}),s=e.disabledBehavior,c=u.useMemo(()=>o||new tl({collection:r,disabledKeys:n,disabledBehavior:s,ref:i,collator:l,layoutDelegate:a}),[o,a,r,n,i,l,s]),{collectionProps:d}=Yu({...t,ref:i,selectionManager:e,keyboardDelegate:c});return{listProps:d}}function M4(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:a}=Xu({...t,ref:r,selectionManager:e.selectionManager,collection:e.collection,disabledKeys:e.disabledKeys,linkBehavior:o}),{focusWithinProps:l}=xi({onFocusWithin:t.onFocus,onBlurWithin:t.onBlur,onFocusWithinChange:t.onFocusChange}),s=Se(t.id);Qa.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}=su({...t,id:s,labelElementType:"span"});return{labelProps:c,listBoxProps:ie(n,l,e.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",...ie(d,a)})}}class R4{build(e,r){return this.context=r,$s(()=>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,a=>{a&&i.push(a)});let o=0;for(let a of i){let l=this.getFullNode({element:a,index:o},{});for(let s of l)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 a;let l=(a=o.key)!==null&&a!==void 0?a:o.id;if(l==null)throw new Error("No key found for item");return l}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 b=[];u.Children.forEach(e.element.props.children,C=>{b.push(C)});var o;let m=(o=e.index)!==null&&o!==void 0?o:0;for(const C of b)yield*this.getFullNode({element:C,index:m++},r,n,i);return}let a=e.element;if(!a&&e.value&&r&&r.renderer){let b=this.cache.get(e.value);if(b&&(!b.shouldInvalidate||!b.shouldInvalidate(this.context))){b.index=e.index,b.parentKey=i?i.key:null,yield b;return}a=r.renderer(e.value)}if(u.isValidElement(a)){let b=a.type;if(typeof b!="function"&&typeof b.getCollectionNode!="function"){let F=a.type;throw new Error(`Unknown element <${F}> in collection.`)}let m=b.getCollectionNode(a.props,this.context);var l;let C=(l=e.index)!==null&&l!==void 0?l:0,E=m.next();for(;!E.done&&E.value;){let F=E.value;e.index=C;var s;let x=(s=F.key)!==null&&s!==void 0?s:null;x==null&&(x=F.element?null:this.getKey(a,e,r,n));let S=[...this.getFullNode({...F,key:x,index:C,wrapper:B4(e.wrapper,F.wrapper)},this.getChildState(r,F),n?`${n}${a.key}`:a.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 <${co(O.type)}> in <${co((f=i==null?void 0:i.type)!==null&&f!==void 0?f:"unknown parent type")}>. Only <${co(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:$s(function*(){if(!e.hasChildNodes||!e.childNodes)return;let b=0;for(let m of e.childNodes()){m.key!=null&&(m.key=`${h.key}${m.key}`);let C=p.getFullNode({...m,index:b},p.getChildState(r,m),h.key,h);for(let E of C)b++,yield E}})};yield h}constructor(){this.cache=new WeakMap}}function $s(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 B4(t,e){if(t&&e)return r=>t(e(r));if(t)return t;if(e)return e}function co(t){return t[0].toUpperCase()+t.slice(1)}function Ju(t,e,r){let n=u.useMemo(()=>new R4,[]),{children:i,items:o,collection:a}=t;return u.useMemo(()=>{if(a)return a;let s=n.build({children:i,items:o},r);return e(s)},[n,i,o,a,r,e])}function Qu(t,e){return typeof e.getChildren=="function"?e.getChildren(t.key):t.childNodes}function L4(t){return j4(t)}function j4(t,e){for(let r of t)return r}function uo(t,e,r){if(e.parentKey===r.parentKey)return e.index-r.index;let n=[..._s(t,e),e],i=[..._s(t,r),r],o=n.slice(0,i.length).findIndex((a,l)=>a!==i[l]);return o!==-1?(e=n[o],r=i[o],e.index-r.index):n.findIndex(a=>a===r)>=0?1:(i.findIndex(a=>a===e)>=0,-1)}function _s(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 Ps=new WeakMap;function e2(t){let e=Ps.get(t);if(e!=null)return e;let r=0,n=i=>{for(let o of i)o.type==="section"?n(Qu(o,t)):o.type==="item"&&r++};return n(t),Ps.set(t,r),r}function K4(t,e,r){var n,i;let{key:o}=t,a=Qa.get(e);var l;let s=(l=t.isDisabled)!==null&&l!==void 0?l: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:a==null?void 0:a.shouldSelectOnPressUp;var g;let y=(g=t.shouldFocusOnHover)!==null&&g!==void 0?g:a==null?void 0:a.shouldFocusOnHover;var h;let b=(h=t.shouldUseVirtualFocus)!==null&&h!==void 0?h:a==null?void 0:a.shouldUseVirtualFocus;var m;let C=(m=t.isVirtualized)!==null&&m!==void 0?m:a==null?void 0:a.isVirtualized,E=ht(),F=ht(),x={role:"option","aria-disabled":s||void 0,"aria-selected":e.selectionManager.selectionMode!=="none"?d:void 0};vt()&&Oa()||(x["aria-label"]=t["aria-label"],x["aria-labelledby"]=E,x["aria-describedby"]=F);let w=e.collection.getItem(o);if(C){let I=Number(w==null?void 0:w.index);x["aria-posinset"]=Number.isNaN(I)?void 0:I+1,x["aria-setsize"]=e2(e.collection)}let S=a!=null&&a.onAction?()=>{var I;return a==null||(I=a.onAction)===null||I===void 0?void 0:I.call(a,o)}:void 0,O=T4(e,o),{itemProps:K,isPressed:H,isFocused:D,hasAction:B,allowsSelection:U}=el({selectionManager:e.selectionManager,key:o,ref:r,shouldSelectOnPressUp:p,allowsDifferentPressOrigin:p&&y,isVirtualized:C,shouldUseVirtualFocus:b,isDisabled:s,onAction:S||!(w==null||(n=w.props)===null||n===void 0)&&n.onAction?gt(w==null||(i=w.props)===null||i===void 0?void 0:i.onAction,S):void 0,linkBehavior:a==null?void 0:a.linkBehavior,id:O}),{hoverProps:k}=wr({isDisabled:s||!y,onHoverStart(){vr()||(e.selectionManager.setFocused(!0),e.selectionManager.setFocusedKey(o))}}),W=he(w==null?void 0:w.props);delete W.id;let _=Ma(w==null?void 0:w.props);return{optionProps:{...x,...ie(W,K,k,_),id:O},labelProps:{id:E},descriptionProps:{id:F},isFocused:D,isFocusVisible:D&&e.selectionManager.isFocused&&vr(),isSelected:d,isDisabled:s,isPressed:H,allowsSelection:U,hasAction:B}}function H4(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 t2={};t2={longPressMessage:"اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة"};var r2={};r2={longPressMessage:"Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто"};var n2={};n2={longPressMessage:"Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku"};var i2={};i2={longPressMessage:"Langt tryk eller tryk på Alt + pil ned for at åbne menuen"};var o2={};o2={longPressMessage:"Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"};var a2={};a2={longPressMessage:"Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού"};var l2={};l2={longPressMessage:"Long press or press Alt + ArrowDown to open menu"};var s2={};s2={longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú"};var c2={};c2={longPressMessage:"Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"};var u2={};u2={longPressMessage:"Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli"};var d2={};d2={longPressMessage:"Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."};var f2={};f2={longPressMessage:"לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט"};var h2={};h2={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"};var p2={};p2={longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához"};var g2={};g2={longPressMessage:"Premere a lungo o premere Alt + Freccia giù per aprire il menu"};var v2={};v2={longPressMessage:"長押しまたは Alt+下矢印キーでメニューを開く"};var b2={};b2={longPressMessage:"길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기"};var m2={};m2={longPressMessage:"Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“."};var y2={};y2={longPressMessage:"Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa"};var C2={};C2={longPressMessage:"Langt trykk eller trykk Alt + PilNed for å åpne menyen"};var E2={};E2={longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"};var w2={};w2={longPressMessage:"Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu"};var D2={};D2={longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"};var x2={};x2={longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"};var S2={};S2={longPressMessage:"Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul"};var F2={};F2={longPressMessage:"Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню"};var $2={};$2={longPressMessage:"Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol"};var _2={};_2={longPressMessage:"Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol"};var P2={};P2={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"};var A2={};A2={longPressMessage:"Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn"};var T2={};T2={longPressMessage:"Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın"};var k2={};k2={longPressMessage:"Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"};var I2={};I2={longPressMessage:"长按或按 Alt + 向下方向键以打开菜单"};var O2={};O2={longPressMessage:"長按或按 Alt+向下鍵以開啟功能表"};var N2={};N2={"ar-AE":t2,"bg-BG":r2,"cs-CZ":n2,"da-DK":i2,"de-DE":o2,"el-GR":a2,"en-US":l2,"es-ES":s2,"et-EE":c2,"fi-FI":u2,"fr-FR":d2,"he-IL":f2,"hr-HR":h2,"hu-HU":p2,"it-IT":g2,"ja-JP":v2,"ko-KR":b2,"lt-LT":m2,"lv-LV":y2,"nb-NO":C2,"nl-NL":E2,"pl-PL":w2,"pt-BR":D2,"pt-PT":x2,"ro-RO":S2,"ru-RU":F2,"sk-SK":$2,"sl-SI":_2,"sr-SP":P2,"sv-SE":A2,"tr-TR":T2,"uk-UA":k2,"zh-CN":I2,"zh-TW":O2};function V4(t){return t&&t.__esModule?t.default:t}function z4(t,e,r){let{type:n="menu",isDisabled:i,trigger:o="press"}=t,a=Se(),{triggerProps:l,overlayProps:s}=v4({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=eu(V4(N2),"@react-aria/menu"),{longPressProps:f}=Yc({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 l.onPress,{menuTriggerProps:{...l,...o==="press"?p:f,id:a,onKeyDown:c},menuProps:{...s,"aria-labelledby":a,autoFocus:e.focusStrategy||!0,onClose:e.close}}}const M2=new WeakMap;function U4(t,e,r){let{shouldFocusWrap:n=!0,onKeyDown:i,onKeyUp:o,...a}=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 l=he(t,{labelable:!0}),{listProps:s}=Xu({...a,ref:r,selectionManager:e.selectionManager,collection:e.collection,disabledKeys:e.disabledKeys,shouldFocusWrap:n,linkBehavior:"override"});return M2.set(e,{onClose:t.onClose,onAction:t.onAction,shouldUseVirtualFocus:t.shouldUseVirtualFocus}),{menuProps:ie(l,{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 W4(t,e,r){let{id:n,key:i,closeOnSelect:o,isVirtualized:a,"aria-haspopup":l,onPressStart:s,onPressUp:c,onPress:d,onPressChange:f,onPressEnd:p,onClick:g,onHoverStart:y,onHoverChange:h,onHoverEnd:b,onKeyDown:m,onKeyUp:C,onFocus:E,onFocusChange:F,onBlur:x,selectionManager:w=e.selectionManager}=t,S=!!l,O=S&&t["aria-expanded"]==="true";var K;let H=(K=t.isDisabled)!==null&&K!==void 0?K:w.isDisabled(i);var D;let B=(D=t.isSelected)!==null&&D!==void 0?D:w.isSelected(i),U=M2.get(e),k=e.collection.getItem(i),W=t.onClose||U.onClose,_=bi(),I=()=>{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 L=ht(),M=ht(),R=ht(),$={id:n,"aria-disabled":H||void 0,role:z,"aria-label":t["aria-label"],"aria-labelledby":L,"aria-describedby":[M,R].filter(Boolean).join(" ")||void 0,"aria-controls":t["aria-controls"],"aria-haspopup":l,"aria-expanded":t["aria-expanded"]};w.selectionMode!=="none"&&!S&&($["aria-checked"]=B),a&&($["aria-posinset"]=k==null?void 0:k.index,$["aria-setsize"]=e2(e.collection));let P=u.useRef(!1),T=re=>{f==null||f(re),P.current=re},N=u.useRef(null),j=re=>{re.pointerType!=="keyboard"&&(N.current={pointerType:re.pointerType}),re.pointerType==="mouse"&&(P.current||re.target.click()),c==null||c(re)},V=re=>{var pe,Vt;g==null||g(re),I(),E5(re,_,k.props.href,k==null?void 0:k.props.routerOptions);let xr=((pe=N.current)===null||pe===void 0?void 0:pe.pointerType)==="keyboard"?((Vt=N.current)===null||Vt===void 0?void 0:Vt.key)==="Enter"||w.selectionMode==="none"||w.isLink(i):w.selectionMode!=="multiple"||w.isLink(i);xr=o??xr,W&&!S&&xr&&W(),N.current=null},{itemProps:Z,isFocused:q}=el({id:n,selectionManager:w,key:i,ref:r,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none",shouldUseVirtualFocus:U.shouldUseVirtualFocus}),{pressProps:Y,isPressed:le}=wi({onPressStart:s,onPress:d,onPressUp:j,onPressChange:T,onPressEnd:p,isDisabled:H}),{hoverProps:G}=wr({isDisabled:H,onHoverStart(re){!vr()&&!(O&&l)&&(w.setFocused(!0),w.setFocusedKey(i)),y==null||y(re)},onHoverChange:h,onHoverEnd:b}),{keyboardProps:te}=Gc({onKeyDown:re=>{if(re.repeat){re.continuePropagation();return}switch(re.key){case" ":N.current={pointerType:"keyboard",key:" "},re.target.click();break;case"Enter":N.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}=Wa({onBlur:x,onFocus:E,onFocusChange:F}),Be=he(k==null?void 0:k.props);delete Be.id;let Ht=Ma(k==null?void 0:k.props);return{menuItemProps:{...$,...ie(Be,Ht,S?{onFocus:Z.onFocus,"data-collection":Z["data-collection"],"data-key":Z["data-key"]}:Z,Y,G,te,de,U.shouldUseVirtualFocus||S?{onMouseDown:re=>re.preventDefault()}:void 0,H?void 0:{onClick:V}),tabIndex:Z.tabIndex!=null&&O&&!U.shouldUseVirtualFocus?-1:Z.tabIndex},labelProps:{id:L},descriptionProps:{id:M},keyboardShortcutProps:{id:R},isFocused:q,isFocusVisible:q&&w.isFocused&&vr()&&!O,isSelected:B,isPressed:le,isDisabled:H}}function Z4(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 G4(t,e){let{role:r="dialog"}=t,n=ht();n=t["aria-label"]?void 0:n;let i=u.useRef(!1);return u.useEffect(()=>{if(e.current&&!e.current.contains(document.activeElement)){bt(e.current);let o=setTimeout(()=>{(document.activeElement===e.current||document.activeElement===document.body)&&(i.current=!0,e.current&&(e.current.blur(),bt(e.current)),i.current=!1)},500);return()=>{clearTimeout(o)}}},[e]),P4(),{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 rl=new WeakMap;function q4(t,e,r){let{keyboardDelegate:n,isDisabled:i,isRequired:o,name:a,form:l,validationBehavior:s="aria"}=t,c=qa({usage:"search",sensitivity:"base"}),d=u.useMemo(()=>n||new tl(e.collection,e.disabledKeys,r,c),[n,e.collection,e.disabledKeys,c,r]),{menuTriggerProps:f,menuProps:p}=z4({isDisabled:i,type:"listbox"},e,r),g=K=>{switch(K.key){case"ArrowLeft":{var H,D;K.preventDefault();let k=e.selectedKey!=null?(H=d.getKeyAbove)===null||H===void 0?void 0:H.call(d,e.selectedKey):(D=d.getFirstKey)===null||D===void 0?void 0:D.call(d);k&&e.setSelectedKey(k);break}case"ArrowRight":{var B,U;K.preventDefault();let k=e.selectedKey!=null?(B=d.getKeyBelow)===null||B===void 0?void 0:B.call(d,e.selectedKey):(U=d.getFirstKey)===null||U===void 0?void 0:U.call(d);k&&e.setSelectedKey(k);break}}},{typeSelectProps:y}=qu({keyboardDelegate:d,selectionManager:e.selectionManager,onTypeSelect(K){e.setSelectedKey(K)}}),{isInvalid:h,validationErrors:b,validationDetails:m}=e.displayValidation,{labelProps:C,fieldProps:E,descriptionProps:F,errorMessageProps:x}=r4({...t,labelElementType:"span",isInvalid:h,errorMessage:t.errorMessage||b});y.onKeyDown=y.onKeyDownCapture,delete y.onKeyDownCapture;let w=he(t,{labelable:!0}),S=ie(y,f,E),O=Se();return rl.set(e,{isDisabled:i,isRequired:o,name:a,form:l,validationBehavior:s}),{labelProps:{...C,onClick:()=>{if(!t.isDisabled){var K;(K=r.current)===null||K===void 0||K.focus(),Zc("keyboard")}}},triggerProps:ie(w,{...S,isDisabled:i,onKeyDown:gt(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:x,isInvalid:h,validationErrors:b,validationDetails:m,hiddenSelectProps:{isDisabled:i,name:a,label:t.label,state:e,triggerRef:r,form:l}}}function Y4(t,e,r){let n=rl.get(e)||{},{autoComplete:i,name:o=n.name,form:a=n.form,isDisabled:l=n.isDisabled}=t,{validationBehavior:s,isRequired:c}=n,{visuallyHiddenProps:d}=cu({style:{position:"fixed",top:0,left:0}});_5(t.selectRef,e.defaultSelectedKey,e.setSelectedKey),Jh({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:l,required:s==="native"&&c,name:o,form:a,value:(p=e.selectedKey)!==null&&p!==void 0?p:"",onChange:f,onInput:f}}}function X4(t){let{state:e,triggerRef:r,label:n,name:i,form:o,isDisabled:a}=t,l=u.useRef(null),s=u.useRef(null),{containerProps:c,selectProps:d}=Y4({...t,selectRef:e.collection.size<=300?l: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:l},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=rl.get(e)||{},{validationBehavior:g}=p;var f;let y={type:"hidden",autoComplete:d.autoComplete,name:i,form:o,disabled:a,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 J4(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 R2=new WeakMap;function ti(t,e,r){if(!t)return"";typeof e=="string"&&(e=e.replace(/\s+/g,""));let n=R2.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 Q4(t,e,r){let{key:n,isDisabled:i,shouldSelectOnPressUp:o}=t,{selectionManager:a,selectedKey:l}=e,s=n===l,c=i||e.isDisabled||e.selectionManager.isDisabled(n),{itemProps:d,isPressed:f}=el({selectionManager:a,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),b=he(h==null?void 0:h.props,{labelable:!0});delete b.id;let m=Ma(h==null?void 0:h.props),{focusableProps:C}=qc({isDisabled:c},r);return{tabProps:ie(b,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 ep(t,e,r){let n=zh(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"),a=yi({...t,id:o,"aria-labelledby":ti(e,e==null?void 0:e.selectedKey,"tab")});return{tabPanelProps:ie(a,{tabIndex:n,role:"tabpanel","aria-describedby":t["aria-describedby"],"aria-details":t["aria-details"]})}}class tp{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 rp(t,e,r){let{orientation:n="horizontal",keyboardActivation:i="automatic"}=t,{collection:o,selectionManager:a,disabledKeys:l}=e,{direction:s}=Bt(),c=u.useMemo(()=>new tp(o,s,n,l),[o,l,n,s]),{collectionProps:d}=Yu({ref:r,selectionManager:a,keyboardDelegate:c,selectOnFocus:i==="automatic",disallowEmptySelection:!0,scrollRef:r,linkBehavior:"selection"}),f=Se();R2.set(e,f);let p=yi({...t,id:f});return{tabListProps:{...ie(d,p),role:"tablist","aria-orientation":n,tabIndex:void 0}}}const B2=u.createContext({}),np=Ha(function(e,r){[e,r]=Xe(e,r,B2);let{elementType:n="label",...i}=e;return u.createElement(n,{className:"react-aria-Label",...i,ref:r})}),ip=u.createContext(null),op=new Set(["form","formAction","formEncType","formMethod","formNoValidate","formTarget","name","value"]),nl=u.createContext({}),ap=Ha(function(e,r){[e,r]=Xe(e,r,nl),e=lp(e);let n=e,{isPending:i}=n,{buttonProps:o,isPressed:a}=Mh(e,r),{focusProps:l,isFocused:s,isFocusVisible:c}=Dr(e),{hoverProps:d,isHovered:f}=wr({...e,isDisabled:e.isDisabled||i}),p={isHovered:f,isPressed:(n.isPressed||a)&&!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(),b=o["aria-labelledby"];i&&(b?b=`${b} ${h}`:o["aria-label"]&&(b=`${y} ${h}`));let m=u.useRef(i);return u.useEffect(()=>{let C={"aria-labelledby":b||y};(!m.current&&s&&i||m.current&&s&&!i)&&ds(C,"assertive"),m.current=i},[i,s,b,y]),u.createElement("button",{...he(e,{propNames:op}),...ie(o,l,d),...g,type:o.type==="submit"&&i?"button":o.type,id:y,ref:r,"aria-labelledby":b,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(ip.Provider,{value:{id:h}},g.children))});function lp(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 il=u.createContext({}),sp=u.createContext(null);class As{*[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=l=>{if(this.keyMap.set(l.key,l),l.childNodes&&l.type==="section")for(let s of l.childNodes)r(s)};for(let l of e)r(l);let n=null,i=0,o=0;for(let[l,s]of this.keyMap)n?(n.nextKey=l,s.prevKey=n.key):(this.firstKey=l,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 a;this.lastKey=(a=n==null?void 0:n.key)!==null&&a!==void 0?a:null}}class Ke extends Set{constructor(e,r,n){super(e),e instanceof Ke?(this.anchorKey=r??e.anchorKey,this.currentKey=n??e.currentKey):(this.anchorKey=r??null,this.currentKey=n??null)}}function cp(t,e){if(t.size!==e.size)return!1;for(let r of t)if(!e.has(r))return!1;return!0}function ol(t){let{selectionMode:e="none",disallowEmptySelection:r=!1,allowDuplicateSelectionEvents:n,selectionBehavior:i="toggle",disabledBehavior:o="all"}=t,a=u.useRef(!1),[,l]=u.useState(!1),s=u.useRef(null),c=u.useRef(null),[,d]=u.useState(null),f=u.useMemo(()=>Ts(t.selectedKeys),[t.selectedKeys]),p=u.useMemo(()=>Ts(t.defaultSelectedKeys,new Ke),[t.defaultSelectedKeys]),[g,y]=Ci(f,p,t.onSelectionChange),h=u.useMemo(()=>t.disabledKeys?new Set(t.disabledKeys):new Set,[t.disabledKeys]),[b,m]=u.useState(i);i==="replace"&&b==="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:b,setSelectionBehavior:m,get isFocused(){return a.current},setFocused(E){a.current=E,l(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||!cp(E,g))&&y(E)},disabledKeys:h,disabledBehavior:o}}function Ts(t,e){return t?t==="all"?"all":new Ke(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&&uo(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&&uo(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 Ke([r],r,r);else{let a=this.state.selectedKeys;var i;let l=(i=a.anchorKey)!==null&&i!==void 0?i:r;n=new Ke(a,l,r);var o;for(let s of this.getKeyRange(l,(o=a.currentKey)!==null&&o!==void 0?o:r))n.delete(s);for(let s of this.getKeyRange(r,l))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?uo(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 a=this.collection.getItem(o);if(a&&(a.type==="item"||a.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 Ke(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 Ke([r],r,r):new Ke;this.state.setSelectedKeys(n)}setSelectedKeys(e){if(this.selectionMode==="none")return;let r=new Ke;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 a=this.collection.getItem(n);(a==null?void 0:a.type)==="item"&&e.push(n);var o;a!=null&&a.hasChildNodes&&(this.allowsCellSelection||a.type!=="item")&&r((o=(i=L4(Qu(a,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 Ke)}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 L2(t){let{filter:e,layoutDelegate:r}=t,n=ol(t),i=u.useMemo(()=>t.disabledKeys?new Set(t.disabledKeys):new Set,[t.disabledKeys]),o=u.useCallback(c=>e?new As(e(c)):new As(c),[e]),a=u.useMemo(()=>({suppressTextValueWarning:t.suppressTextValueWarning}),[t.suppressTextValueWarning]),l=Ju(t,o,a),s=u.useMemo(()=>new cn(l,n,{layoutDelegate:r}),[l,n,r]);return j2(l,s),{collection:l,disabledKeys:i,selectionManager:s}}function up(t,e){let r=u.useMemo(()=>e?t.collection.filter(e):t.collection,[t.collection,e]),n=t.selectionManager.withCollection(r);return j2(r,n),{collection:r,selectionManager:n,disabledKeys:t.disabledKeys}}function j2(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,a,l;let y=Math.min(g>1?Math.max(((o=d==null?void 0:d.index)!==null&&o!==void 0?o:0)-g+1,0):(a=d==null?void 0:d.index)!==null&&a!==void 0?a:0,((l=p==null?void 0:p.length)!==null&&l!==void 0?l:0)-1),h=null,b=!1;for(;y>=0;){if(!e.isDisabled(p[y].key)){h=p[y];break}if(y<p.length-1&&!b)y++;else{b=!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 K2(t){var e;let[r,n]=Ci(t.selectedKey,(e=t.defaultSelectedKey)!==null&&e!==void 0?e:null,t.onSelectionChange),i=u.useMemo(()=>r!=null?[r]:[],[r]),{collection:o,disabledKeys:a,selectionManager:l}=L2({...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:a,selectionManager:l,selectedKey:r,setSelectedKey:n,selectedItem:s}}function al(t){let[e,r]=Ci(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 dp(t){let{initialItems:e=[],initialSelectedKeys:r,getKey:n=h=>{var b;return(b=h.id)!==null&&b!==void 0?b:h.key},getChildren:i=h=>h.children}=t,[o,a]=u.useState(()=>f(e,new Map)),{items:l,nodeMap:s}=o,[c,d]=u.useState(new Set(r||[]));function f(h=[],b,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),b,E.key).items,b.set(E.key,E),E}),nodeMap:b}}function p(h,b,m,C){let E=b==null?null:C.get(b);if(E==null)return{items:h,nodeMap:C};let F=new Map(C),x=m(E);for(x==null?y(E,F):g(x,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;x==null&&K&&(K=K.filter(H=>H!==E));var w;O.children=(w=K==null?void 0:K.map(H=>H===E?x:H))!==null&&w!==void 0?w:null,F.set(O.key,O),x=O,E=S}return x==null&&(h=h.filter(S=>S!==E)),{items:h.map(S=>S===E?x:S),nodeMap:F}}function g(h,b){if(b.set(h.key,h),h.children)for(let m of h.children)g(m,b)}function y(h,b){if(b.delete(h.key),h.children)for(let m of h.children)y(m,b)}return{items:l,selectedKeys:c,setSelectedKeys:d,getItem(h){return s.get(h)},insert(h,b,...m){a(({items:C,nodeMap:E})=>{let{items:F,nodeMap:x}=f(m,E,h);return h==null?{items:[...C.slice(0,b),...F,...C.slice(b)],nodeMap:x}:p(C,h,w=>({key:w.key,parentKey:w.parentKey,value:w.value,children:[...w.children.slice(0,b),...F,...w.children.slice(b)]}),x)})},insertBefore(h,...b){let m=s.get(h);if(!m)return;let C=s.get(m.parentKey),F=(C?C.children:l).indexOf(m);var x;this.insert((x=C==null?void 0:C.key)!==null&&x!==void 0?x:null,F,...b)},insertAfter(h,...b){let m=s.get(h);if(!m)return;let C=s.get(m.parentKey),F=(C?C.children:l).indexOf(m);var x;this.insert((x=C==null?void 0:C.key)!==null&&x!==void 0?x:null,F+1,...b)},prepend(h,...b){this.insert(h,0,...b)},append(h,...b){if(h==null)this.insert(null,l.length,...b);else{let m=s.get(h);if(!m)return;this.insert(h,m.children.length,...b)}},remove(...h){if(h.length===0)return;let b=l,m=s,C;for(let F of h)C=p(b,F,()=>null,m),m=C.nodeMap,b=C.items;a(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,b,m){a(({items:C,nodeMap:E})=>{let F=E.get(h);if(!F)return{items:C,nodeMap:E};let{items:x,nodeMap:w}=p(C,h,()=>null,E);const S={...F,parentKey:b};return b==null?(g(S,w),{items:[...x.slice(0,m),S,...x.slice(m)],nodeMap:w}):p(x,b,O=>({key:O.key,parentKey:O.parentKey,value:O.value,children:[...O.children.slice(0,m),S,...O.children.slice(m)]}),w)})},moveBefore(h,b){a(m=>{let{items:C,nodeMap:E}=m,F=E.get(h);if(!F)return m;var x;let w=(x=F.parentKey)!==null&&x!==void 0?x:null,S=null;var O;w!=null&&(S=(O=E.get(w))!==null&&O!==void 0?O:null);let K=S!=null&&S.children?S.children.indexOf(F):C.indexOf(F);return ks(m,b,S,K,p,g)})},moveAfter(h,b){a(m=>{let{items:C,nodeMap:E}=m,F=E.get(h);if(!F)return m;var x;let w=(x=F.parentKey)!==null&&x!==void 0?x:null,S=null;var O;w!=null&&(S=(O=E.get(w))!==null&&O!==void 0?O:null);let K=S!=null&&S.children?S.children.indexOf(F):C.indexOf(F);return K++,ks(m,b,S,K,p,g)})},update(h,b){a(({items:m,nodeMap:C})=>p(m,h,E=>{let F={key:E.key,parentKey:E.parentKey,value:b,children:null},x=f(i(b),C,F.key);return F.children=x.items,F},C))}}}function ks(t,e,r,n,i,o){let{items:a,nodeMap:l}=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=l.get(s.parentKey))!==null&&d!==void 0?d:null}let f=n,p=Array.isArray(e)?e:[...e],g=new Map,y=[],h=a,b=l,m=0;function C(w,{inorder:S,postorder:O}){S==null||S(w);var K;if(w!=null)for(let H of(K=w.children)!==null&&K!==void 0?K:[])C(H,{inorder:S,postorder:O}),O==null||O(H)}function E(w){p.includes(w.key)&&g.set(w.key,m++)}function F(w){if(p.includes(w.key)){var S;y.push({...b.get(w.key),parentKey:(S=r==null?void 0:r.key)!==null&&S!==void 0?S:null});let{items:O,nodeMap:K}=i(h,w.key,()=>null,b);h=O,b=K}(w.parentKey===r||w.parentKey===(r==null?void 0:r.key))&&p.includes(w.key)&&(r!=null&&r.children?r.children.indexOf(w):a.indexOf(w))<f&&n--}C({children:a},{inorder:E,postorder:F});let x=y.sort((w,S)=>g.get(w.key)>g.get(S.key)?1:-1);return!r||r.key==null?(x.forEach(w=>{o(w,b)}),{items:[...h.slice(0,n),...x,...h.slice(n)],nodeMap:b}):i(h,r.key,w=>({key:w.key,parentKey:w.parentKey,value:w.value,children:[...w.children.slice(0,n),...x,...w.children.slice(n)]}),b)}function fp(t){let e=al(t),[r,n]=u.useState(null),[i,o]=u.useState([]),a=()=>{o([]),e.close()};return{focusStrategy:r,...e,open(c=null){n(c),e.open()},toggle(c=null){n(c),e.toggle()},close(){a()},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 hp(t){let e=al(t),[r,n]=u.useState(null),i=K2({...t,onSelectionChange:d=>{t.onSelectionChange!=null&&t.onSelectionChange(d),e.close(),o.commitValidation()}}),o=qh({...t,value:i.selectedKey}),[a,l]=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:a,setFocused:l}}function pp(t){var e,r;let n=K2({...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:Is(t.collection,t.disabledKeys?new Set(t.disabledKeys):new Set))!==null&&r!==void 0?r:void 0}),{selectionManager:i,collection:o,selectedKey:a}=n,l=u.useRef(a);return u.useEffect(()=>{let s=a;t.selectedKey==null&&(i.isEmpty||s==null||!o.getItem(s))&&(s=Is(o,n.disabledKeys),s!=null&&i.setSelectedKeys([s])),(s!=null&&i.focusedKey==null||!i.isFocused&&s!==l.current)&&i.setFocusedKey(s),l.current=s}),{...n,isDisabled:t.isDisabled||!1}}function Is(t,e){let r=null;if(t){var n,i,o,a;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)||!((a=t.getItem(r))===null||a===void 0||(o=a.props)===null||o===void 0)&&o.isDisabled)&&r===t.getLastKey()&&(r=t.getFirstKey())}return r}class gp{*[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=l=>{if(this.keyMap.set(l.key,l),l.childNodes&&(l.type==="section"||r.has(l.key)))for(let s of l.childNodes)n(s)};for(let l of e)n(l);let i=null,o=0;for(let[l,s]of this.keyMap)i?(i.nextKey=l,s.prevKey=i.key):(this.firstKey=l,s.prevKey=void 0),s.type==="item"&&(s.index=o++),i=s,i.nextKey=void 0;var a;this.lastKey=(a=i==null?void 0:i.key)!==null&&a!==void 0?a:null}}function vp(t){let{onExpandedChange:e}=t,[r,n]=Ci(t.expandedKeys?new Set(t.expandedKeys):void 0,t.defaultExpandedKeys?new Set(t.defaultExpandedKeys):new Set,e),i=ol(t),o=u.useMemo(()=>t.disabledKeys?new Set(t.disabledKeys):new Set,[t.disabledKeys]),a=Ju(t,u.useCallback(s=>new gp(s,{expandedKeys:r}),[r]),null);return u.useEffect(()=>{i.focusedKey!=null&&!a.getItem(i.focusedKey)&&i.setFocusedKey(null)},[a,i.focusedKey]),{collection:a,expandedKeys:r,disabledKeys:o,toggleKey:s=>{n(bp(r,s))},setExpandedKeys:n,selectionManager:new cn(a,i)}}function bp(t,e){let r=new Set(t);return r.has(e)?r.delete(e):r.add(e),r}const mp=u.createContext(null),sa=u.createContext(null),H2=u.createContext(null),V2={CollectionRoot({collection:t,renderDropIndicator:e}){return Os(t,null,e)},CollectionBranch({collection:t,parent:e,renderDropIndicator:r}){return Os(t,e,r)}};function Os(t,e,r){return Bc({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 a=n.key,l=t.getKeyAfter(a);return u.createElement(u.Fragment,null,r({type:"item",key:a,dropPosition:"before"}),o,(l==null||((i=t.getItem(l))===null||i===void 0?void 0:i.type)!=="item")&&r({type:"item",key:a,dropPosition:"after"}))}})}const Lt=u.createContext(V2);function z2(t){return u.useMemo(()=>t!=null?new Set([t]):null,[t])}const _i=u.createContext({}),U2=u.createContext(null),yp=u.forwardRef(function(e,r){let{render:n}=u.useContext(U2);return u.createElement(u.Fragment,null,n(e,r))});function W2(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(a=>{if(i||e!=null&&e.isDropTarget(a))return n?n(a):u.createElement(yp,{target:a})},[e==null?void 0:e.target,i,n]);return t!=null&&t.useDropIndicator?o:void 0}function Cp(t,e,r){var n,i;let o=t.focusedKey,a=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"){a=r.target.key;var l;r.target.dropPosition==="after"&&(a=(l=r.collection.getKeyAfter(a))!==null&&l!==void 0?l:a)}return u.useMemo(()=>new Set([o,a].filter(s=>s!=null)),[o,a])}const Z2=u.createContext({}),ll=u.createContext({}),ri=Fi("separator",function(e,r){[e,r]=Xe(e,r,ll);let{elementType:n,orientation:i,style:o,className:a,slot:l,...s}=e,c=n||"hr";c==="hr"&&i==="vertical"&&(c="div");let{separatorProps:d}=J4({...s,elementType:n,orientation:i});return u.createElement(c,{...he(e),...d,style:o,className:a??"react-aria-Separator",ref:r,slot:l||void 0})}),sl=u.createContext(null),un=u.createContext(null),Ep=u.forwardRef(function(e,r){[e,r]=Xe(e,r,sl);let n=u.useContext(un);return n?u.createElement(G2,{state:n,props:e,listBoxRef:r}):u.createElement(Si,{content:u.createElement(Ga,e)},i=>u.createElement(wp,{props:e,listBoxRef:r,collection:i}))});function wp({props:t,listBoxRef:e,collection:r}){t={...t,collection:r,children:null,items:null};let{layoutDelegate:n}=u.useContext(Lt),i=L2({...t,layoutDelegate:n});return u.createElement(G2,{state:i,props:t,listBoxRef:e})}function G2({state:t,props:e,listBoxRef:r}){let{filter:n,collectionProps:i,collectionRef:o}=u.useContext(sa)||{};e=u.useMemo(()=>i?{...e,...i}:e,[e,i]);let{dragAndDropHooks:a,layout:l="stack",orientation:s="vertical"}=e;r=nt(u.useMemo(()=>ka(r,o!==void 0?o:null),[o,r]));let c=up(t,n),{collection:d,selectionManager:f}=c,p=!!(a!=null&&a.useDraggableCollectionState),g=!!(a!=null&&a.useDroppableCollectionState),{direction:y}=Bt(),{disabledBehavior:h,disabledKeys:b}=f,m=qa({usage:"search",sensitivity:"base"}),{isVirtualized:C,layoutDelegate:E,dropTargetDelegate:F,CollectionRoot:x}=u.useContext(Lt),w=u.useMemo(()=>e.keyboardDelegate||new tl({collection:d,collator:m,ref:r,disabledKeys:b,disabledBehavior:h,layout:l,orientation:s,direction:y,layoutDelegate:E}),[d,m,r,h,b,s,y,e.keyboardDelegate,l,E]),{listBoxProps:S}=M4({...e,shouldSelectOnPressUp:p||e.shouldSelectOnPressUp,keyboardDelegate:w,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,D,B,U=!1,k=null,W=u.useRef(null);if(p&&a){H=a.useDraggableCollectionState({collection:d,selectionManager:f,preview:a.renderDragPreview?W:void 0}),a.useDraggableCollection({},H,r);let $=a.DragPreview;k=a.renderDragPreview?u.createElement($,{ref:W},a.renderDragPreview):null}if(g&&a){D=a.useDroppableCollectionState({collection:d,selectionManager:f});let $=a.dropTargetDelegate||F||new a.ListDropTargetDelegate(d,r,{orientation:s,layout:l,direction:y});B=a.useDroppableCollection({keyboardDelegate:w,dropTargetDelegate:$},D,r),U=D.isDropTarget({type:"root"})}let{focusProps:_,isFocused:I,isFocusVisible:z}=Dr(),L={isDropTarget:U,isEmpty:c.collection.size===0,isFocused:I,isFocusVisible:z,layout:e.layout||"stack",state:c},M=Fe({className:e.className,style:e.style,defaultClassName:"react-aria-ListBox",values:L}),R=null;return c.collection.size===0&&e.renderEmptyState&&(R=u.createElement("div",{role:"option",style:{display:"contents"}},e.renderEmptyState(L))),u.createElement(Ya,null,u.createElement("div",{...he(e),...ie(S,_,B==null?void 0:B.collectionProps),...M,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":I||void 0,"data-focus-visible":z||void 0,"data-layout":e.layout||"stack","data-orientation":e.orientation||"vertical"},u.createElement(it,{values:[[sl,e],[un,c],[_i,{dragAndDropHooks:a,dragState:H,dropState:D}],[ll,{elementType:"div"}],[U2,{render:Sp}],[H2,{name:"ListBoxSection",render:Dp}]]},u.createElement(x,{collection:d,scrollRef:r,persistedKeys:Cp(f,a,D),renderDropIndicator:W2(a,D)})),R,k))}function Dp(t,e,r,n="react-aria-ListBoxSection"){let i=u.useContext(un),{dragAndDropHooks:o,dropState:a}=u.useContext(_i),{CollectionBranch:l}=u.useContext(Lt),[s,c]=La();var d;let{headingProps:f,groupProps:p}=H4({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(Z2.Provider,{value:{...f,ref:s}},u.createElement(l,{collection:i.collection,parent:r,renderDropIndicator:W2(o,a)})))}const xp=Fi("item",function(e,r,n){let i=nt(r),o=u.useContext(un),{dragAndDropHooks:a,dragState:l,dropState:s}=u.useContext(_i),{optionProps:c,labelProps:d,descriptionProps:f,...p}=K4({key:n.key,"aria-label":e==null?void 0:e["aria-label"]},o,i),{hoverProps:g,isHovered:y}=wr({isDisabled:!p.allowsSelection&&!p.hasAction,onHoverStart:n.props.onHoverStart,onHoverChange:n.props.onHoverChange,onHoverEnd:n.props.onHoverEnd}),h=null;l&&a&&(h=a.useDraggableItem({key:n.key},l));let b=null;s&&a&&(b=a.useDroppableItem({target:{type:"item",key:n.key,dropPosition:"on"}},s,i));let m=l&&l.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:!!l,isDragging:m,isDropTarget:b==null?void 0:b.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,b==null?void 0:b.dropProps),...C,ref:i,"data-allows-dragging":!!l||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":(b==null?void 0:b.isDropTarget)||void 0,"data-selection-mode":o.selectionManager.selectionMode==="none"?void 0:o.selectionManager.selectionMode},u.createElement(it,{values:[[il,{slots:{[Gr]:d,label:d,description:f}}]]},C.children))});function Sp(t,e){e=nt(e);let{dragAndDropHooks:r,dropState:n}=u.useContext(_i),{dropIndicatorProps:i,isHidden:o,isDropTarget:a}=r.useDropIndicator(t,n,e);return o?null:u.createElement($p,{...t,dropIndicatorProps:i,isDropTarget:a,ref:e})}function Fp(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 $p=u.forwardRef(Fp),_p=u.createContext({placement:"bottom"}),q2=u.createContext(null),Ns=u.createContext(null),Pi=u.forwardRef(function(e,r){[e,r]=Xe(e,r,q2);let n=u.useContext(ul),i=al(e),o=e.isOpen!=null||e.defaultOpen!=null||!n?i:n,a=I5(r,o.isOpen)||e.isExiting||!1,l=V5(),{direction:s}=Bt();if(l){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&&!a?null:u.createElement(Pp,{...e,triggerRef:e.triggerRef,state:o,popoverRef:r,isExiting:a,dir:s})});function Pp({state:t,isExiting:e,UNSTABLE_portalContainer:r,...n}){let i=u.useRef(null),[o,a]=u.useState(0),l=u.useRef(null),s=u.useContext(Ns),c=s&&n.trigger==="SubmenuTrigger";ne(()=>{i.current&&t.isOpen&&a(i.current.getBoundingClientRect().width)},[t.isOpen,i]);var d;let{popoverProps:f,underlayProps:p,arrowProps:g,placement:y}=_4({...n,offset:(d=n.offset)!==null&&d!==void 0?d:8,arrowSize:o,groupRef:c?s:l},t),h=n.popoverRef,b=k5(h,!!y)||n.isEntering||!1,m=Fe({...n,defaultClassName:"react-aria-Popover",values:{trigger:n.trigger||null,placement:y,isEntering:b,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)&&bt(h.current)},[E,h]);let x={...f.style,...m.style},w=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:x,dir:n.dir,"data-trigger":n.trigger,"data-placement":y,"data-entering":b||void 0,"data-exiting":e||void 0},!n.isNonModal&&u.createElement(ws,{onDismiss:t.close}),u.createElement(_p.Provider,{value:{...g,placement:y,ref:i}},m.children),u.createElement(ws,{onDismiss:t.close}));if(!c)return u.createElement(Ds,{...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:l,style:{display:"contents"}},u.createElement(Ns.Provider,{value:l},w)));var S;return u.createElement(Ds,{...n,shouldContainFocus:E,isExiting:e,portalContainer:(S=r??(s==null?void 0:s.current))!==null&&S!==void 0?S:void 0},w)}const Ap=u.createContext({}),Tp=u.createContext(null),cl=u.createContext(null),Ms=u.createContext(null),ni=u.createContext(null),kp=u.createContext(null),Y2=u.forwardRef(function(e,r){return[e,r]=Xe(e,r,Tp),u.createElement(Si,{content:u.createElement(Ga,e)},n=>u.createElement(Ip,{props:e,collection:n,menuRef:r}))});function Ip({props:t,collection:e,menuRef:r}){let{filter:n,collectionProps:i,collectionRef:o}=u.useContext(sa)||{};r=nt(u.useMemo(()=>ka(r,o!==void 0?o:null),[o,r]));let a=u.useMemo(()=>n?e.UNSTABLE_filter(n):e,[e,n]),l=vp({...t,collection:a,children:void 0}),s=u.useContext(Ms),{isVirtualized:c,CollectionRoot:d}=u.useContext(Lt),{menuProps:f}=U4({...t,...i,isVirtualized:c,onClose:t.onClose||(s==null?void 0:s.close)},l,r),p=Fe({defaultClassName:"react-aria-Menu",className:t.className,style:t.style,values:{isEmpty:l.collection.size===0}}),g=null;return l.collection.size===0&&t.renderEmptyState&&(g=u.createElement("div",{role:"menuitem",style:{display:"contents"}},t.renderEmptyState())),u.createElement(Ya,null,u.createElement("div",{...he(t),...f,...p,ref:r,slot:t.slot||void 0,"data-empty":l.collection.size===0||void 0,onScroll:t.onScroll},u.createElement(it,{values:[[cl,l],[ll,{elementType:"div"}],[H2,{name:"MenuSection",render:Np}],[kp,{parentMenuRef:r,shouldUseVirtualFocus:i==null?void 0:i.shouldUseVirtualFocus}],[ca,null],[sa,null],[ni,l.selectionManager],[Ms,s??fp({})]]},u.createElement(d,{collection:l.collection,persistedKeys:z2(l.selectionManager.focusedKey),scrollRef:r})),g))}class Op 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 Np(t,e,r,n="react-aria-MenuSection"){var i,o;let a=u.useContext(cl),{CollectionBranch:l}=u.useContext(Lt),[s,c]=La();var d;let{headingProps:f,groupProps:p}=Z4({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(ni),h=ol(t),b=t.selectionMode!=null?new Op(y,h):y;return u.createElement("section",{...he(t),...p,...g,ref:e},u.createElement(it,{values:[[Z2,{...f,ref:s}],[ni,b]]},u.createElement(l,{collection:a.collection,parent:r})))}const ca=u.createContext(null),ua=Fi("item",function(e,r,n){var i;[e,r]=Xe(e,r,ca);let o=(i=Ei(ca))===null||i===void 0?void 0:i.id,a=u.useContext(cl),l=nt(r),s=u.useContext(ni),{menuItemProps:c,labelProps:d,descriptionProps:f,keyboardShortcutProps:p,...g}=W4({...e,id:o,key:n.key,selectionManager:s},a,l),{hoverProps:y,isHovered:h}=wr({isDisabled:g.isDisabled}),b=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),...b,ref:l,"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:[[il,{slots:{[Gr]:d,label:d,description:f}}],[Ap,p]]},b.children))}),Mp=u.createContext(null),ul=u.createContext(null),Rp=u.forwardRef(function(e,r){let n=e["aria-labelledby"];[e,r]=Xe(e,r,Mp);let{dialogProps:i,titleProps:o}=G4({...e,"aria-labelledby":n},r),a=u.useContext(ul);!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 l=Fe({defaultClassName:"react-aria-Dialog",className:e.className,style:e.style,children:e.children,values:{close:(a==null?void 0:a.close)||(()=>{})}});return u.createElement("section",{...he(e),...i,...l,ref:r,slot:e.slot||void 0},u.createElement(it,{values:[[K1,{slots:{[Gr]:{},title:{...o,level:2}}}],[nl,{slots:{[Gr]:{},close:{onPress:()=>a==null?void 0:a.close()}}}]]},l.children))}),X2=u.createContext(null),J2=u.createContext(null),Bp=u.forwardRef(function(e,r){[e,r]=Xe(e,r,X2);let{children:n,isDisabled:i=!1,isInvalid:o=!1,isRequired:a=!1}=e,l=u.useMemo(()=>typeof n=="function"?n({isOpen:!1,isDisabled:i,isInvalid:o,isRequired:a,isFocused:!1,isFocusVisible:!1,defaultChildren:null}):n,[n,i,o,a]);return u.createElement(Si,{content:l},s=>u.createElement(Lp,{props:e,collection:s,selectRef:r}))});function Lp({props:t,selectRef:e,collection:r}){let{validationBehavior:n}=Ei(mp)||{};var i,o;let a=(o=(i=t.validationBehavior)!==null&&i!==void 0?i:n)!==null&&o!==void 0?o:"native",l=hp({...t,collection:r,children:void 0,validationBehavior:a}),{isFocusVisible:s,focusProps:c}=Dr({within:!0}),d=u.useRef(null),[f,p]=La(!t["aria-label"]&&!t["aria-labelledby"]),{labelProps:g,triggerProps:y,valueProps:h,menuProps:b,descriptionProps:m,errorMessageProps:C,...E}=q4({...j5(t),label:p,validationBehavior:a},l,d),[F,x]=u.useState(null),w=u.useCallback(()=>{d.current&&x(d.current.offsetWidth+"px")},[d]);Uo({ref:d,onResize:w});let S=u.useMemo(()=>({isOpen:l.isOpen,isFocused:l.isFocused,isFocusVisible:s,isDisabled:t.isDisabled||!1,isInvalid:E.isInvalid||!1,isRequired:t.isRequired||!1}),[l.isOpen,l.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:[[X2,t],[J2,l],[jp,h],[B2,{...g,ref:f,elementType:"span"}],[nl,{...y,ref:d,isPressed:l.isOpen}],[ul,l],[q2,{trigger:"Select",triggerRef:d,scrollRef:H,placement:"bottom start",style:{"--trigger-width":F},"aria-labelledby":b["aria-labelledby"]}],[sl,{...b,ref:H}],[un,l],[il,{slots:{description:m,errorMessage:C}}],[sp,E]]},u.createElement("div",{...K,...O,...c,ref:e,slot:t.slot||void 0,"data-focused":l.isFocused||void 0,"data-focus-visible":s||void 0,"data-open":l.isOpen||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":E.isInvalid||void 0,"data-required":t.isRequired||void 0}),u.createElement(X4,{autoComplete:t.autoComplete,state:l,triggerRef:d,label:p,name:t.name,isDisabled:t.isDisabled}))}const jp=u.createContext(null),Ai=u.createContext(null),br=u.createContext(null),Kp=u.forwardRef(function(e,r){[e,r]=Xe(e,r,Ai);let{children:n,orientation:i="horizontal"}=e;return n=u.useMemo(()=>typeof n=="function"?n({orientation:i,defaultChildren:null}):n,[n,i]),u.createElement(Si,{content:n},o=>u.createElement(Hp,{props:e,collection:o,tabsRef:r}))});function Hp({props:t,tabsRef:e,collection:r}){let{orientation:n="horizontal"}=t,i=pp({...t,collection:r,children:void 0}),{focusProps:o,isFocused:a,isFocusVisible:l}=Dr({within:!0}),s=u.useMemo(()=>({orientation:n,isFocusWithin:a,isFocusVisible:l}),[n,a,l]),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":a||void 0,"data-orientation":n,"data-focus-visible":l||void 0,"data-disabled":i.isDisabled||void 0},u.createElement(it,{values:[[Ai,t],[br,i]]},c.children))}const Vp=u.forwardRef(function(e,r){return u.useContext(br)?u.createElement(zp,{props:e,forwardedRef:r}):u.createElement(Ga,e)});function zp({props:t,forwardedRef:e}){let r=u.useContext(br),{CollectionRoot:n}=u.useContext(Lt),{orientation:i="horizontal",keyboardActivation:o="automatic"}=Ei(Ai),a=nt(e),{tabListProps:l}=rp({...t,orientation:i,keyboardActivation:o},r,a),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,...l,ref:a,...s,"data-orientation":i||void 0},u.createElement(n,{collection:r.collection,persistedKeys:z2(r.selectionManager.focusedKey)}))}const Up=Fi("item",(t,e,r)=>{let n=u.useContext(br),i=nt(e),{tabProps:o,isSelected:a,isDisabled:l,isPressed:s}=Q4({key:r.key,...t},n,i),{focusProps:c,isFocused:d,isFocusVisible:f}=Dr(),{hoverProps:p,isHovered:g}=wr({isDisabled:l,onHoverStart:t.onHoverStart,onHoverEnd:t.onHoverEnd,onHoverChange:t.onHoverChange}),y=Fe({...t,id:void 0,children:r.rendered,defaultClassName:"react-aria-Tab",values:{isSelected:a,isDisabled:l,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":a||void 0,"data-disabled":l||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)}),Wp=Ha(function(e,r){const n=u.useContext(br);let i=nt(r),{tabPanelProps:o}=ep(e,n,i),{focusProps:a,isFocused:l,isFocusVisible:s}=Dr(),c=n.selectedKey===e.id,d=Fe({...e,defaultClassName:"react-aria-TabPanel",values:{isFocused:l,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,a,d):d;return u.createElement("div",{...p,ref:i,"data-focused":l||void 0,"data-focus-visible":s||void 0,inert:P5(!c),"data-inert":c?void 0:"true"},u.createElement(it,{values:[[Ai,null],[br,null]]},u.createElement(Lt.Provider,{value:V2},d.children)))}),Zp=t=>"type"in t&&t.type==="separator",Yr=({options:t,isOpen:e=!1,onOpenChange:r,children:n,selectedValues:i=[],onSelectValue:o,topMessage:a,shouldCloseOnInteractOutside:l})=>{const s=u.useId(),c=u.useRef(null),d=f=>{r==null||r(f)};return v.jsxs(v.Fragment,{children:[v.jsx("div",{className:"c__dropdown-menu-trigger",ref:c,id:s,onClick:f=>{f.stopPropagation(),f.preventDefault()},children:n}),v.jsx(Pi,{triggerRef:c,style:{marginTop:"0px"},isOpen:e,shouldCloseOnInteractOutside:l,onOpenChange:d,children:v.jsxs(Y2,{className:"c__dropdown-menu","aria-labelledby":s,children:[a&&v.jsx(ua,{className:"c__dropdown-menu-item-top-message",children:a}),t.map((f,p)=>{if(Zp(f))return v.jsx(ri,{},`separator-${p}`);if(f.isHidden)return null;const g=f.id||f.label;return v.jsxs(u.Fragment,{children:[v.jsxs(ua,{className:`c__dropdown-menu-item${f.variant==="danger"?" c__dropdown-menu-item--danger":""}`,"aria-label":f.label,onAction:()=>{var y;f.value&&(o==null||o(f.value)),(y=f.callback)==null||y.call(f),d(!1)},isDisabled:f.isDisabled,"data-testid":f.testId,children:[f.icon,v.jsxs("div",{className:"c__dropdown-menu-item__label-container",children:[v.jsx("div",{className:"c__dropdown-menu-item__label","aria-label":f.label,children:f.label}),f.subText&&v.jsx("div",{className:"c__dropdown-menu-item__label-subtext",children:f.subText})]}),(f.isChecked||f.value&&i.includes(f.value))&&v.jsx("span",{className:"material-icons checked",children:"check"})]}),f.showSeparator&&v.jsx(ri,{})]},g)})]})})]})},mr=()=>{const[t,e]=u.useState(!1);return{isOpen:t,setIsOpen:e}},da=u.createContext(null),Q2=()=>{const t=u.useContext(da);if(!t)throw new Error("ContextMenu must be used within a ContextMenuProvider");return t},fo=t=>!("type"in t),Rs=(t,e)=>t.id||`${t.label}-${e}`,Gp=({children:t})=>{const e=u.useContext(da),[r,n]=u.useState({isOpen:!1,position:{x:0,y:0},items:[]}),i=u.useRef(null),o=u.useRef(!1),a=u.useRef(void 0),l=e!==null;u.useEffect(()=>{o.current=r.isOpen},[r.isOpen]),u.useEffect(()=>{l||i.current&&(i.current.style.left=`${r.position.x}px`,i.current.style.top=`${r.position.y}px`)},[r.position,l]),u.useEffect(()=>{if(l)return;const f=p=>{var g;o.current&&(p.preventDefault(),(g=a.current)==null||g.call(a),a.current=void 0,n(y=>({...y,isOpen:!1})))};return document.addEventListener("contextmenu",f,!0),()=>{document.removeEventListener("contextmenu",f,!0)}},[l]);const s=u.useCallback(f=>{var p;(p=a.current)==null||p.call(a),a.current=f.onBlur,n({isOpen:!0,position:f.position,items:f.items})},[]),c=u.useCallback(()=>{var f;(f=a.current)==null||f.call(a),a.current=void 0,n(p=>({...p,isOpen:!1}))},[]),d=u.useMemo(()=>({open:s,close:c}),[s,c]);return l?(process.env.NODE_ENV!=="production"&&console.error("ContextMenuProvider: Multiple instances detected. Only one ContextMenuProvider should exist in your app tree. Nested providers will be ignored."),v.jsx(v.Fragment,{children:t})):v.jsxs(da.Provider,{value:d,children:[t,v.jsx("div",{ref:i,style:{position:"fixed",left:r.position.x,top:r.position.y,width:0,height:0,pointerEvents:"none"}}),v.jsx(Pi,{triggerRef:i,isOpen:r.isOpen,onOpenChange:f=>{f||c()},placement:"bottom start",shouldFlip:!0,children:v.jsx(Y2,{className:"c__dropdown-menu","aria-label":"Context menu","data-testid":"context-menu",onAction:f=>{var g;const p=r.items.find((y,h)=>fo(y)&&Rs(y,h)===f);p&&fo(p)&&!p.isDisabled&&((g=p.callback)==null||g.call(p),c())},children:r.items.map((f,p)=>{if(!fo(f))return v.jsx(ri,{},`separator-${p}`);if(f.isHidden)return null;const g=Rs(f,p);return v.jsxs(ua,{id:g,className:`c__dropdown-menu-item${f.variant==="danger"?" c__dropdown-menu-item--danger":""}`,"aria-label":f.label,isDisabled:f.isDisabled,"data-testid":f.testId||`context-menu-item-${g}`,children:[f.icon,v.jsxs("div",{className:"c__dropdown-menu-item__label-container",children:[v.jsx("div",{className:"c__dropdown-menu-item__label",children:f.label}),f.subText&&v.jsx("div",{className:"c__dropdown-menu-item__label-subtext",children:f.subText})]})]},g)})})})]})},qp=({children:t,options:e,context:r,disabled:n=!1,asChild:i=!1,onFocus:o,onBlur:a})=>{const{open:l}=Q2(),s=c=>{if(n||!c.currentTarget.contains(c.target))return;c.preventDefault(),c.stopPropagation();const d=typeof e=="function"?e(r):e;o==null||o(),l({position:{x:c.clientX,y:c.clientY},items:d,onBlur:a})};if(i){if(!u.isValidElement(t))return console.warn("ContextMenu with asChild requires a single React element as child"),v.jsx(v.Fragment,{children:t});const c=t,d=c.props.onContextMenu;return u.cloneElement(c,{onContextMenu:f=>{d==null||d(f),s(f)}})}return v.jsx("div",{onContextMenu:s,"data-testid":"context-menu-trigger",children:t})},Bs="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",Yp="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",Xp=({externalLinks:t,legalLinks:e,license:r,logo:n})=>{const{t:i}=X.useCunningham();return v.jsxs("footer",{className:"c__footer",children:[v.jsx("div",{className:"c__footer__stripe"}),v.jsxs("div",{className:"c__footer__content",children:[v.jsxs("div",{className:"c__footer__content__top",children:[v.jsx("div",{children:v.jsx("div",{className:"c__footer__content__top__logo",children:v.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)||Yp})})}),v.jsx("div",{className:"c__footer__content__top__links",children:t==null?void 0:t.map(({label:o,href:a})=>v.jsxs("a",{href:a,target:"_blank",children:[v.jsx("span",{children:o}),v.jsx("img",{alt:"",width:"18",decoding:"async",src:Bs})]},o))})]}),v.jsx("div",{className:"c__footer__content__middle",children:e==null?void 0:e.map(({label:o,href:a})=>v.jsx("a",{href:a,children:v.jsx("span",{children:o})},o))}),r&&v.jsxs("p",{className:"c__footer__content__mention",children:[r==null?void 0:r.label," ",v.jsxs("a",{href:r==null?void 0:r.link.href,target:"_blank",children:[v.jsx("span",{children:r==null?void 0:r.link.label}),v.jsx("img",{alt:"",width:"18",decoding:"async",src:Bs})]})]})]})]})},Jp=t=>v.jsx(Bp,{...t,className:"c__filter",children:v.jsx(Qp,{...t})}),Qp=t=>{const e=u.useContext(J2),r=e!=null&&e.selectedItem?t.options.find(n=>{var i;return n.value===((i=e.selectedItem)==null?void 0:i.key)}):null;return v.jsxs(v.Fragment,{children:[v.jsxs(ap,{className:ve("c__filter__button",{"c__filter__button--active":!!r}),children:[v.jsx(np,{className:"c__filter__label",children:r?v.jsxs(v.Fragment,{children:[t.label," : ",r.label]}):v.jsx(v.Fragment,{children:t.label})}),v.jsx("span",{"aria-hidden":"true",className:ve("material-icons c__filter__button__icon",{opened:e==null?void 0:e.isOpen}),children:"keyboard_arrow_down"})]}),v.jsx(Pi,{className:"c__dropdown-menu",children:v.jsx(Ep,{children:t.options.map(n=>v.jsxs(u.Fragment,{children:[v.jsx(xp,{id:n.value,className:"c__dropdown-menu-item",children:v.jsxs("div",{className:"c__filter__item",children:[n.render?n.render():n.label,(t.selectedKey===n.value||n.isChecked)&&v.jsx("span",{className:"material-icons checked",children:"check"})]})},n.value),n.showSeparator&&v.jsx(ri,{})]},n.value))})})]})},e3=({logo:t,mainButton:e,banner:r,title:n,subtitle:i})=>v.jsx("div",{className:"c__hero",children:v.jsxs("div",{className:"c__hero__display",children:[v.jsxs("div",{className:"c__hero__display__captions",children:[t,v.jsx("h2",{children:n}),v.jsx("span",{className:"c__hero__display__captions__subtitle",children:i}),e||v.jsx(Sc,{})]}),v.jsx("img",{src:r,alt:""})]})}),t3=({children:t})=>v.jsx("div",{className:"c__home-gutter",children:t}),ed=(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:ed(t[i],n.slice(1),r)},r3={placeholder:"Entrez votre adresse e-mail",srLabel:"Adresse e-mail",submit:"Suivant",title:"Connexion avec {linebreak}votre adresse e-mail"},n3={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"}},i3={label:"Les services de La Suite numérique"},o3={homepageLinkTitle:"Accueil - {serviceName}"},a3={newWindow:"{title} - nouvelle fenêtre"},l3={help:"Qu'est-ce que ProConnect ?",loginWith:"S’identifier avec",loginWithProconnect:"{loginWith} {proconnect}",or:"ou",title:"Connexion avec ProConnect"},td={email:r3,footer:n3,gaufre:i3,header:o3,links:a3,proconnect:l3},s3=u.createContext(td);function c3(){const t=u.useContext(s3)||td;return{t:function(e,r={}){const n=ed(t,e);if(!n)return console.warn(`Translation for key "${e}" not found`),e;if(r){const i=[];if(Object.keys(r).forEach(a=>{typeof r[a]!="string"&&i.push(a)}),!i.length)return n.replace(/{(\w+)}/g,(a,l)=>r[l]);const o=n.split(/{(.*?)}/);return v.jsx(v.Fragment,{children:o.map((a,l)=>a in r?v.jsx(u.Fragment,{children:r[a]},l):a)})}return n}}}const u3={responsive:"lasuite-gaufre-btn--responsive",small:"lasuite-gaufre-btn--small"},d3=({variant:t})=>{const{t:e}=c3(),r=t?u3[t]:"";return v.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")})},f3=()=>v.jsxs(v.Fragment,{children:[v.jsx("script",{src:"https://integration.lasuite.numerique.gouv.fr/api/v1/gaufre.js",id:"lasuite-gaufre-script",async:!0,defer:!0}),v.jsx(d3,{variant:"small"})]}),h3="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 ho={},Tr={},Ls;function p3(){return Ls||(Ls=1,Object.defineProperty(Tr,"__esModule",{value:!0}),Tr.tokens=void 0,Tr.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:{}}}}),Tr}var kr={},js;function g3(){if(js)return kr;js=1,Object.defineProperty(kr,"__esModule",{value:!0}),kr.buildRefs=void 0;const t=e=>{const r=(n,i)=>{if(typeof i=="object"){const o={};return Object.entries(i).forEach(([a,l])=>{o[a]=r((n?n+".":"")+a,l)}),o}return"ref("+n+")"};return r("",e)};return kr.buildRefs=t,kr}var Ir={},po,Ks;function v3(){if(Ks)return po;Ks=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 a(m){return Array.isArray(m)?[]:{}}function l(m,C){return C.clone!==!1&&C.isMergeableObject(m)?h(a(m),m,C):m}function s(m,C,E){return m.concat(C).map(function(F){return l(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(x){F[x]=l(m[x],E)}),f(C).forEach(function(x){g(m,x)||(p(m,x)&&E.isMergeableObject(C[x])?F[x]=c(x,E)(m[x],C[x],E):F[x]=l(C[x],E))}),F}function h(m,C,E){E=E||{},E.arrayMerge=E.arrayMerge||s,E.isMergeableObject=E.isMergeableObject||t,E.cloneUnlessOtherwiseSpecified=l;var F=Array.isArray(C),x=Array.isArray(m),w=F===x;return w?F?E.arrayMerge(m,C,E):y(m,C,E):l(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,x){return h(F,x,E)},{})};var b=h;return po=b,po}var go={},Hs;function b3(){return Hs||(Hs=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:{}}}}}(go)),go}var Vs;function m3(){if(Vs)return Ir;Vs=1,Object.defineProperty(Ir,"__esModule",{value:!0}),Ir.getThemesFromGlobals=void 0;const t=v3(),e=b3(),r=["light","dark"],n={light:e.contextualDefaultTokens,dark:e.contextualDarkTokens},i=(o={},a={})=>(a.variants||r).reduce((s,c)=>{const d=a.prefix?`${a.prefix}-${c}`:c;return s[d]=t({globals:o,contextuals:n[c]},a.overrides||{}),s},{});return Ir.getThemesFromGlobals=i,Ir}var zs;function y3(){return zs||(zs=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.getThemesFromGlobals=t.buildRefs=t.defaultTokenRefs=t.defaultThemes=t.defaultTokens=void 0;const e=p3(),r=g3();Object.defineProperty(t,"buildRefs",{enumerable:!0,get:function(){return r.buildRefs}});const n=m3();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)}(ho)),ho}var Ti=y3();const ki={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"}},rd={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"}}},nd={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},id={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},Us=Ti.getThemesFromGlobals(rd,{overrides:ki}),C3=Ti.getThemesFromGlobals(nd,{prefix:"dsfr",overrides:ki}),E3=Ti.getThemesFromGlobals(id,{prefix:"anct",overrides:ki}),w3={themes:{default:Us.light,dark:Us.dark,...C3,...E3}},fa={...w3},Ws={mobile:parseInt(fa.themes.default.globals.breakpoints.mobile.replace("px","")),tablet:parseInt(fa.themes.default.globals.breakpoints.tablet.replace("px",""))},Zs=(t,e)=>({isMobile:t<=e.mobile,isTablet:t<=e.tablet,isDesktop:t>e.tablet}),ot=()=>{const[t,e]=u.useState(Zs(window.innerWidth,Ws));return u.useEffect(()=>{const r=()=>{const n=Zs(window.innerWidth,Ws);JSON.stringify(n)===JSON.stringify(t)||e(n)};return window.addEventListener("resize",r),()=>{window.removeEventListener("resize",r)}},[t]),t},od=u.memo(({apiUrl:t,data:e,...r})=>{const{t:n}=X.useCunningham(),{isMobile:i}=ot(),o=u.useRef(null),a=u.useMemo(()=>(r==null?void 0:r.widgetPath)||"https://static.suite.anct.gouv.fr/widgets/lagaufre.js",[r==null?void 0:r.widgetPath]),l=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:l,label:s,data:e,closeLabel:c,background:p,showFooter:i,headerLabel:g,headerLogo:h3,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,l,a]),v.jsxs(v.Fragment,{children:[v.jsx("script",{src:a,id:"lasuite-gaufre-script",async:!0}),v.jsx("div",{children:v.jsx(X.Button,{ref:o,icon:v.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",fill:"none",viewBox:"0 0 18 18",children:[v.jsx("defs",{children:v.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"})}),v.jsx("use",{href:"#a"}),v.jsx("use",{href:"#a",transform:"translate(6.5)"}),v.jsx("use",{href:"#a",transform:"translate(13)"}),v.jsx("use",{href:"#a",transform:"translate(0 6.5)"}),v.jsx("use",{href:"#a",transform:"translate(6.5 6.5)"}),v.jsx("use",{href:"#a",transform:"translate(13 6.5)"}),v.jsx("use",{href:"#a",transform:"translate(0 13)"}),v.jsx("use",{href:"#a",transform:"translate(6.5 13)"}),v.jsx("use",{href:"#a",transform:"translate(13 13)"})]}),"aria-label":s,variant:"tertiary",className:"lagaufre-button"})})]})});od.displayName="LaGaufreV2";var xe=(t=>(t.X_SMALL="xsmall",t.SMALL="small",t.MEDIUM="medium",t.LARGE="large",t.X_LARGE="xlarge",t))(xe||{}),ii=(t=>(t.OUTLINED="outlined",t.FILLED="filled",t))(ii||{});const Jr=({name:t,size:e,className:r,color:n,type:i=ii.FILLED,...o})=>{const a=ve("material-icons",{[`icon--${e}`]:e!==void 0,[`icon--${i}`]:i!==ii.OUTLINED},r),l={color:n,fontSize:typeof e=="number"?`${e}px`:void 0};return v.jsx("span",{className:a,style:l,...o,children:t})},ad={[xe.X_SMALL]:11,[xe.SMALL]:16,[xe.MEDIUM]:24,[xe.LARGE]:32,[xe.X_LARGE]:40},ld={[xe.X_SMALL]:16,[xe.SMALL]:24,[xe.MEDIUM]:32,[xe.LARGE]:40,[xe.X_LARGE]:48},D3=t=>ld[t]??24,x3=t=>ad[t]??24,sd=({languages:t,onChange:e,size:r,color:n="brand",variant:i="tertiary",fullWidth:o,compact:a=!1})=>{const{isOpen:l,setIsOpen:s}=mr(),c=()=>{const h=t.find(b=>b.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(b=>b.value===d);return(h==null?void 0:h.shortLabel)??(h==null?void 0:h.label)},[t,d]);return v.jsx(Yr,{options:t,isOpen:l,onOpenChange:s,onSelectValue:p,selectedValues:[d],children:v.jsxs(X.Button,{onClick:()=>s(!l),className:"c__language-picker",icon:v.jsx(Jr,{name:l?"arrow_drop_up":"arrow_drop_down"}),iconPosition:"right",size:r,color:a?"neutral":n,variant:i,fullWidth:o,children:[a?null:v.jsx(Jr,{name:"translate",size:g}),v.jsx("span",{className:"c__language-picker__label",children:y})]})})},cd=({leftIcon:t,rightIcon:e,languages:r,onTogglePanel:n,isPanelOpen:i})=>{const{t:o}=X.useCunningham();return v.jsxs("div",{className:"c__header",children:[v.jsx("div",{className:"c__header__toggle-menu",children:v.jsx(X.Button,{size:"medium",onClick:n,"aria-label":o(i?"Close the menu":"Open the menu"),variant:"tertiary",icon:v.jsx("span",{className:"material-icons c__header__toggle-menu__icon",children:i?"close":"menu"})})}),v.jsx("div",{className:"c__header__left",children:t}),v.jsxs("div",{className:"c__header__right",children:[r&&v.jsx("div",{className:"c__header__right__language-picker",children:v.jsx(sd,{languages:r})}),e]})]})},ud=({children:t,isOpen:e=!1,hasHeader:r=!0})=>{const{isDesktop:n}=ot();return n?v.jsx("div",{className:ve("c__left-panel",{"has-header":r}),children:t}):v.jsx("div",{className:ve("c__left-panel__mobile",{open:e}),children:t})},{createElement:yr,createContext:S3,forwardRef:dd,useCallback:$e,useContext:fd,useEffect:Ft,useImperativeHandle:hd,useLayoutEffect:F3,useMemo:$3,useRef:Pe,useState:dr}=A,Gs=A[`useId${Math.random()}`.slice(0,5)],_3=F3,Ii=S3(null);Ii.displayName="PanelGroupContext";const $t=_3,P3=typeof Gs=="function"?Gs:()=>null;let A3=0;function dl(t=null){const e=P3(),r=Pe(t||e||null);return r.current===null&&(r.current=""+A3++),t??r.current}function pd({children:t,className:e="",collapsedSize:r,collapsible:n,defaultSize:i,forwardedRef:o,id:a,maxSize:l,minSize:s,onCollapse:c,onExpand:d,onResize:f,order:p,style:g,tagName:y="div",...h}){const b=fd(Ii);if(b===null)throw Error("Panel components must be rendered within a PanelGroup container");const{collapsePanel:m,expandPanel:C,getPanelSize:E,getPanelStyle:F,groupId:x,isPanelCollapsed:w,reevaluatePanelConstraints:S,registerPanel:O,resizePanel:K,unregisterPanel:H}=b,D=dl(a),B=Pe({callbacks:{onCollapse:c,onExpand:d,onResize:f},constraints:{collapsedSize:r,collapsible:n,defaultSize:i,maxSize:l,minSize:s},id:D,idIsFromProps:a!==void 0,order:p});Pe({didLogMissingDefaultSizeWarning:!1}),$t(()=>{const{callbacks:k,constraints:W}=B.current,_={...W};B.current.id=D,B.current.idIsFromProps=a!==void 0,B.current.order=p,k.onCollapse=c,k.onExpand=d,k.onResize=f,W.collapsedSize=r,W.collapsible=n,W.defaultSize=i,W.maxSize=l,W.minSize=s,(_.collapsedSize!==W.collapsedSize||_.collapsible!==W.collapsible||_.maxSize!==W.maxSize||_.minSize!==W.minSize)&&S(B.current,_)}),$t(()=>{const k=B.current;return O(k),()=>{H(k)}},[p,D,O,H]),hd(o,()=>({collapse:()=>{m(B.current)},expand:k=>{C(B.current,k)},getId(){return D},getSize(){return E(B.current)},isCollapsed(){return w(B.current)},isExpanded(){return!w(B.current)},resize:k=>{K(B.current,k)}}),[m,C,E,w,D,K]);const U=F(B.current,i);return yr(y,{...h,children:t,className:e,id:a,style:{...U,...g},"data-panel":"","data-panel-collapsible":n||void 0,"data-panel-group-id":x,"data-panel-id":D,"data-panel-size":parseFloat(""+U.flexGrow).toFixed(1)})}const ha=dd((t,e)=>yr(pd,{...t,forwardedRef:e}));pd.displayName="Panel";ha.displayName="forwardRef(Panel)";let pa=null,St=null;function T3(t,e){if(e){const r=(e&yd)!==0,n=(e&Cd)!==0,i=(e&Ed)!==0,o=(e&wd)!==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 k3(){St!==null&&(document.head.removeChild(St),pa=null,St=null)}function vo(t,e){const r=T3(t,e);pa!==r&&(pa=r,St===null&&(St=document.createElement("style"),document.head.appendChild(St)),St.innerHTML=`*{cursor: ${r}!important;}`)}function gd(t){return t.type==="keydown"}function vd(t){return t.type.startsWith("pointer")}function bd(t){return t.type.startsWith("mouse")}function Oi(t){if(vd(t)){if(t.isPrimary)return{x:t.clientX,y:t.clientY}}else if(bd(t))return{x:t.clientX,y:t.clientY};return{x:1/0,y:1/0}}function I3(){if(typeof matchMedia=="function")return matchMedia("(pointer:coarse)").matches?"coarse":"fine"}function O3(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 N3(t,e){if(t===e)throw new Error("Cannot compare node with itself");const r={a:Xs(t),b:Xs(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:Ys(qs(r.a)),b:Ys(qs(r.b))};if(i.a===i.b){const o=n.childNodes,a={a:r.a.at(-1),b:r.b.at(-1)};let l=o.length;for(;l--;){const s=o[l];if(s===a.a)return 1;if(s===a.b)return-1}}return Math.sign(i.a-i.b)}const M3=/\b(?:position|zIndex|opacity|transform|webkitTransform|mixBlendMode|filter|webkitFilter|isolation)\b/;function R3(t){var e;const r=getComputedStyle((e=md(t))!==null&&e!==void 0?e:t).display;return r==="flex"||r==="inline-flex"}function B3(t){const e=getComputedStyle(t);return!!(e.position==="fixed"||e.zIndex!=="auto"&&(e.position!=="static"||R3(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"||M3.test(e.willChange)||e.webkitOverflowScrolling==="touch")}function qs(t){let e=t.length;for(;e--;){const r=t[e];if(Q(r,"Missing node"),B3(r))return r}return null}function Ys(t){return t&&Number(getComputedStyle(t).zIndex)||0}function Xs(t){const e=[];for(;t;)e.push(t),t=md(t);return e}function md(t){const{parentNode:e}=t;return e&&e instanceof ShadowRoot?e.host:e}const yd=1,Cd=2,Ed=4,wd=8,L3=I3()==="coarse";let He=[],fr=!1,dt=new Map,Ni=new Map;const Qr=new Set;function j3(t,e,r,n,i){var o;const{ownerDocument:a}=e,l={direction:r,element:e,hitAreaMargins:n,setResizeHandlerState:i},s=(o=dt.get(a))!==null&&o!==void 0?o:0;return dt.set(a,s+1),Qr.add(l),oi(),function(){var d;Ni.delete(t),Qr.delete(l);const f=(d=dt.get(a))!==null&&d!==void 0?d:1;if(dt.set(a,f-1),oi(),f===1&&dt.delete(a),He.includes(l)){const p=He.indexOf(l);p>=0&&He.splice(p,1),hl(),i("up",!0,null)}}}function Js(t){const{target:e}=t,{x:r,y:n}=Oi(t);fr=!0,fl({target:e,x:r,y:n}),oi(),He.length>0&&(ai("down",t),t.preventDefault(),t.stopPropagation())}function Or(t){const{x:e,y:r}=Oi(t);if(fr&&t.buttons===0&&(fr=!1,ai("up",t)),!fr){const{target:n}=t;fl({target:n,x:e,y:r})}ai("move",t),hl(),He.length>0&&t.preventDefault()}function Ut(t){const{target:e}=t,{x:r,y:n}=Oi(t);Ni.clear(),fr=!1,He.length>0&&t.preventDefault(),ai("up",t),fl({target:e,x:r,y:n}),hl(),oi()}function fl({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:a}=i,l=o.getBoundingClientRect(),{bottom:s,left:c,right:d,top:f}=l,p=L3?a.coarse:a.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)&&N3(n,o)>0){let y=n,h=!1;for(;y&&!y.contains(o);){if(O3(y.getBoundingClientRect(),l)){h=!0;break}y=y.parentElement}if(h)return}He.push(i)}})}function bo(t,e){Ni.set(t,e)}function hl(){let t=!1,e=!1;He.forEach(n=>{const{direction:i}=n;i==="horizontal"?t=!0:e=!0});let r=0;Ni.forEach(n=>{r|=n}),t&&e?vo("intersection",r):t?vo("horizontal",r):e?vo("vertical",r):k3()}function oi(){dt.forEach((t,e)=>{const{body:r}=e;r.removeEventListener("contextmenu",Ut),r.removeEventListener("pointerdown",Js),r.removeEventListener("pointerleave",Or),r.removeEventListener("pointermove",Or)}),window.removeEventListener("pointerup",Ut),window.removeEventListener("pointercancel",Ut),Qr.size>0&&(fr?(He.length>0&&dt.forEach((t,e)=>{const{body:r}=e;t>0&&(r.addEventListener("contextmenu",Ut),r.addEventListener("pointerleave",Or),r.addEventListener("pointermove",Or))}),window.addEventListener("pointerup",Ut),window.addEventListener("pointercancel",Ut)):dt.forEach((t,e)=>{const{body:r}=e;t>0&&(r.addEventListener("pointerdown",Js,{capture:!0}),r.addEventListener("pointermove",Or))}))}function ai(t,e){Qr.forEach(r=>{const{setResizeHandlerState:n}=r,i=He.includes(r);n(t,i,e)})}function K3(){const[t,e]=dr(0);return $e(()=>e(r=>r+1),[])}function Q(t,e){if(!t)throw console.error(e),Error(e)}const pl=10;function Tt(t,e,r=pl){return t.toFixed(r)===e.toFixed(r)?0:t>e?1:-1}function Qe(t,e,r=pl){return Tt(t,e,r)===0}function Ae(t,e,r){return Tt(t,e,r)===0}function H3(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 ar({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:a=100,minSize:l=0}=n;if(Tt(r,l)<0)if(o){const s=(i+l)/2;Tt(r,s)<0?r=i:r=l}else r=l;return r=Math.min(a,r),r=parseFloat(r.toFixed(pl)),r}function Kr({delta:t,initialLayout:e,panelConstraints:r,pivotIndices:n,prevLayout:i,trigger:o}){if(Ae(t,0))return e;const a=[...e],[l,s]=n;Q(l!=null,"Invalid first pivot index"),Q(s!=null,"Invalid second pivot index");let c=0;if(o==="keyboard"){{const f=t<0?s:l,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 b=e[f];if(Q(b!=null,`Previous layout not found for panel index ${f}`),Ae(b,g)){const m=h-b;Tt(m,Math.abs(t))>0&&(t=t<0?0-m:m)}}}{const f=t<0?l: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 b=e[f];if(Q(b!=null,`Previous layout not found for panel index ${f}`),Ae(b,h)){const m=b-g;Tt(m,Math.abs(t))>0&&(t=t<0?0-m:m)}}}}{const f=t<0?1:-1;let p=t<0?s:l,g=0;for(;;){const h=e[p];Q(h!=null,`Previous layout not found for panel index ${p}`);const m=ar({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?l: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,b=ar({panelConstraints:r,panelIndex:p,size:h});if(!Ae(y,b)&&(c+=y-b,a[p]=b,c.toPrecision(3).localeCompare(Math.abs(t).toPrecision(3),void 0,{numeric:!0})>=0))break;t<0?p--:p++}}if(H3(i,a))return i;{const f=t<0?s:l,p=e[f];Q(p!=null,`Previous layout not found for panel index ${f}`);const g=p+c,y=ar({panelConstraints:r,panelIndex:f,size:g});if(a[f]=y,!Ae(y,g)){let h=g-y,m=t<0?s:l;for(;m>=0&&m<r.length;){const C=a[m];Q(C!=null,`Previous layout not found for panel index ${m}`);const E=C+h,F=ar({panelConstraints:r,panelIndex:m,size:E});if(Ae(C,F)||(h-=F-C,a[m]=F),Ae(h,0))break;t>0?m--:m++}}}const d=a.reduce((f,p)=>p+f,0);return Ae(d,100)?a:i}function V3({layout:t,panelsArray:e,pivotIndices:r}){let n=0,i=100,o=0,a=0;const l=r[0];Q(l!=null,"No pivot index found"),e.forEach((f,p)=>{const{constraints:g}=f,{maxSize:y=100,minSize:h=0}=g;p===l?(n=h,i=y):(o+=h,a+=y)});const s=Math.min(i,100-o),c=Math.max(n,100-a),d=t[l];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 Dd(t,e,r=document){const i=en(t,r).findIndex(o=>o.getAttribute("data-panel-resize-handle-id")===e);return i??null}function xd(t,e,r){const n=Dd(t,e,r);return n!=null?[n,n+1]:[-1,-1]}function Sd(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 Mi(t,e=document){const r=e.querySelector(`[data-panel-resize-handle-id="${t}"]`);return r||null}function z3(t,e,r,n=document){var i,o,a,l;const s=Mi(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=(a=(l=r[d+1])===null||l===void 0?void 0:l.id)!==null&&a!==void 0?a:null;return[f,p]}function U3({committedValuesRef:t,eagerValuesRef:e,groupId:r,layout:n,panelDataArray:i,panelGroupElement:o,setLayout:a}){Pe({didWarnAboutMissingResizeHandle:!1}),$t(()=>{if(!o)return;const l=en(r,o);for(let s=0;s<i.length-1;s++){const{valueMax:c,valueMin:d,valueNow:f}=V3({layout:n,panelsArray:i,pivotIndices:[s,s+1]}),p=l[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()=>{l.forEach((s,c)=>{s.removeAttribute("aria-controls"),s.removeAttribute("aria-valuemax"),s.removeAttribute("aria-valuemin"),s.removeAttribute("aria-valuenow")})}},[r,n,i,o]),Ft(()=>{if(!o)return;const l=e.current;Q(l,"Eager values not found");const{panelDataArray:s}=l,c=Sd(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]=z3(r,g,s,o);if(y==null||h==null)return()=>{};const b=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:x=0,collapsible:w,minSize:S=0}=E.constraints;if(F!=null&&w){const O=Kr({delta:Ae(F,x)?S-x:x-F,initialLayout:n,panelConstraints:s.map(K=>K.constraints),pivotIndices:xd(r,g,o),prevLayout:n,trigger:"keyboard"});n!==O&&a(O)}}break}}};return p.addEventListener("keydown",b),()=>{p.removeEventListener("keydown",b)}});return()=>{f.forEach(p=>p())}},[o,t,e,r,n,i,a])}function Qs(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 Fd(t,e){const r=t==="horizontal",{x:n,y:i}=Oi(e);return r?n:i}function W3(t,e,r,n,i){const o=r==="horizontal",a=Mi(e,i);Q(a,`No resize handle element found for id "${e}"`);const l=a.getAttribute("data-panel-group-id");Q(l,"Resize handle element has no group id attribute");let{initialCursorPosition:s}=n;const c=Fd(r,t),d=Sd(l,i);Q(d,`No group element found for id "${l}"`);const f=d.getBoundingClientRect(),p=o?f.width:f.height;return(c-s)/p*100}function Z3(t,e,r,n,i,o){if(gd(t)){const a=r==="horizontal";let l=0;t.shiftKey?l=100:i!=null?l=i:l=10;let s=0;switch(t.key){case"ArrowDown":s=a?0:l;break;case"ArrowLeft":s=a?-l:0;break;case"ArrowRight":s=a?l:0;break;case"ArrowUp":s=a?0:-l;break;case"End":s=100;break;case"Home":s=-100;break}return s}else return n==null?0:W3(t,e,r,n,o)}function G3({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 a=r[o];Q(a,`Panel constraints not found for index ${o}`);const{defaultSize:l}=a;l!=null&&(n++,e[o]=l,i-=l)}for(let o=0;o<t.length;o++){const a=r[o];Q(a,`Panel constraints not found for index ${o}`);const{defaultSize:l}=a;if(l!=null)continue;const s=t.length-n,c=i/s;n++,e[o]=c,i-=c}return e}function Wt(t,e,r){e.forEach((n,i)=>{const o=t[i];Q(o,`Panel data not found for index ${i}`);const{callbacks:a,constraints:l,id:s}=o,{collapsedSize:c=0,collapsible:d}=l,f=r[s];if(f==null||n!==f){r[s]=n;const{onCollapse:p,onExpand:g,onResize:y}=a;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 q3({defaultSize:t,dragState:e,layout:r,panelData:n,panelIndex:i,precision:o=3}){const a=r[i];let l;return a==null?l=t!=null?t.toPrecision(o):"1":n.length===1?l="1":l=a.toPrecision(o),{flexBasis:0,flexGrow:l,flexShrink:1,overflow:"hidden",pointerEvents:e!==null?"none":void 0}}function Y3(t,e=10){let r=null;return(...i)=>{r!==null&&clearTimeout(r),r=setTimeout(()=>{t(...i)},e)}}function e0(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 $d(t){return`react-resizable-panels:${t}`}function _d(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 Pd(t,e){try{const r=$d(t),n=e.getItem(r);if(n){const i=JSON.parse(n);if(typeof i=="object"&&i!=null)return i}}catch{}return null}function X3(t,e,r){var n,i;const o=(n=Pd(t,r))!==null&&n!==void 0?n:{},a=_d(e);return(i=o[a])!==null&&i!==void 0?i:null}function J3(t,e,r,n,i){var o;const a=$d(t),l=_d(e),s=(o=Pd(t,i))!==null&&o!==void 0?o:{};s[l]={expandToSizes:Object.fromEntries(r.entries()),layout:n};try{i.setItem(a,JSON.stringify(s))}catch(c){console.error(c)}}function t0({layout:t,panelConstraints:e}){const r=[...t],n=r.reduce((o,a)=>o+a,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 a=r[o];Q(a!=null,`No layout data found for index ${o}`);const l=100/n*a;r[o]=l}let i=0;for(let o=0;o<e.length;o++){const a=r[o];Q(a!=null,`No layout data found for index ${o}`);const l=ar({panelConstraints:e,panelIndex:o,size:a});a!=l&&(i+=a-l,r[o]=l)}if(!Ae(i,0))for(let o=0;o<e.length;o++){const a=r[o];Q(a!=null,`No layout data found for index ${o}`);const l=a+i,s=ar({panelConstraints:e,panelIndex:o,size:l});if(a!==s&&(i-=s-a,r[o]=s,Ae(i,0)))break}return r}const Q3=100,Hr={getItem:t=>(e0(Hr),Hr.getItem(t)),setItem:(t,e)=>{e0(Hr),Hr.setItem(t,e)}},r0={};function Ad({autoSaveId:t=null,children:e,className:r="",direction:n,forwardedRef:i,id:o=null,onLayout:a=null,keyboardResizeBy:l=null,storage:s=Hr,style:c,tagName:d="div",...f}){const p=dl(o),g=Pe(null),[y,h]=dr(null),[b,m]=dr([]),C=K3(),E=Pe({}),F=Pe(new Map),x=Pe(0),w=Pe({autoSaveId:t,direction:n,dragState:y,id:p,keyboardResizeBy:l,onLayout:a,storage:s}),S=Pe({layout:b,panelDataArray:[],panelDataArrayChanged:!1});Pe({didLogIdAndOrderWarning:!1,didLogPanelConstraintsWarning:!1,prevPanelIds:[]}),hd(i,()=>({getId:()=>w.current.id,getLayout:()=>{const{layout:P}=S.current;return P},setLayout:P=>{const{onLayout:T}=w.current,{layout:N,panelDataArray:j}=S.current,V=t0({layout:P,panelConstraints:j.map(Z=>Z.constraints)});Qs(N,V)||(m(V),S.current.layout=V,T&&T(V),Wt(j,V,E.current))}}),[]),$t(()=>{w.current.autoSaveId=t,w.current.direction=n,w.current.dragState=y,w.current.id=p,w.current.onLayout=a,w.current.storage=s}),U3({committedValuesRef:w,eagerValuesRef:S,groupId:p,layout:b,panelDataArray:S.current.panelDataArray,setLayout:m,panelGroupElement:g.current}),Ft(()=>{const{panelDataArray:P}=S.current;if(t){if(b.length===0||b.length!==P.length)return;let T=r0[t];T==null&&(T=Y3(J3,Q3),r0[t]=T);const N=[...P],j=new Map(F.current);T(t,N,j,b,s)}},[t,b,s]),Ft(()=>{});const O=$e(P=>{const{onLayout:T}=w.current,{layout:N,panelDataArray:j}=S.current;if(P.constraints.collapsible){const V=j.map(le=>le.constraints),{collapsedSize:Z=0,panelSize:q,pivotIndices:Y}=yt(j,P,N);if(Q(q!=null,`Panel size not found for panel "${P.id}"`),!Qe(q,Z)){F.current.set(P.id,q);const G=nr(j,P)===j.length-1?q-Z:Z-q,te=Kr({delta:G,initialLayout:N,panelConstraints:V,pivotIndices:Y,prevLayout:N,trigger:"imperative-api"});wn(N,te)||(m(te),S.current.layout=te,T&&T(te),Wt(j,te,E.current))}}},[]),K=$e((P,T)=>{const{onLayout:N}=w.current,{layout:j,panelDataArray:V}=S.current;if(P.constraints.collapsible){const Z=V.map(de=>de.constraints),{collapsedSize:q=0,panelSize:Y=0,minSize:le=0,pivotIndices:G}=yt(V,P,j),te=T??le;if(Qe(Y,q)){const de=F.current.get(P.id),Be=de!=null&&de>=te?de:te,re=nr(V,P)===V.length-1?Y-Be:Be-Y,pe=Kr({delta:re,initialLayout:j,panelConstraints:Z,pivotIndices:G,prevLayout:j,trigger:"imperative-api"});wn(j,pe)||(m(pe),S.current.layout=pe,N&&N(pe),Wt(V,pe,E.current))}}},[]),H=$e(P=>{const{layout:T,panelDataArray:N}=S.current,{panelSize:j}=yt(N,P,T);return Q(j!=null,`Panel size not found for panel "${P.id}"`),j},[]),D=$e((P,T)=>{const{panelDataArray:N}=S.current,j=nr(N,P);return q3({defaultSize:T,dragState:y,layout:b,panelData:N,panelIndex:j})},[y,b]),B=$e(P=>{const{layout:T,panelDataArray:N}=S.current,{collapsedSize:j=0,collapsible:V,panelSize:Z}=yt(N,P,T);return Q(Z!=null,`Panel size not found for panel "${P.id}"`),V===!0&&Qe(Z,j)},[]),U=$e(P=>{const{layout:T,panelDataArray:N}=S.current,{collapsedSize:j=0,collapsible:V,panelSize:Z}=yt(N,P,T);return Q(Z!=null,`Panel size not found for panel "${P.id}"`),!V||Tt(Z,j)>0},[]),k=$e(P=>{const{panelDataArray:T}=S.current;T.push(P),T.sort((N,j)=>{const V=N.order,Z=j.order;return V==null&&Z==null?0:V==null?-1:Z==null?1:V-Z}),S.current.panelDataArrayChanged=!0,C()},[C]);$t(()=>{if(S.current.panelDataArrayChanged){S.current.panelDataArrayChanged=!1;const{autoSaveId:P,onLayout:T,storage:N}=w.current,{layout:j,panelDataArray:V}=S.current;let Z=null;if(P){const Y=X3(P,V,N);Y&&(F.current=new Map(Object.entries(Y.expandToSizes)),Z=Y.layout)}Z==null&&(Z=G3({panelDataArray:V}));const q=t0({layout:Z,panelConstraints:V.map(Y=>Y.constraints)});Qs(j,q)||(m(q),S.current.layout=q,T&&T(q),Wt(V,q,E.current))}}),$t(()=>{const P=S.current;return()=>{P.layout=[]}},[]);const W=$e(P=>{let T=!1;const N=g.current;return N&&window.getComputedStyle(N,null).getPropertyValue("direction")==="rtl"&&(T=!0),function(V){V.preventDefault();const Z=g.current;if(!Z)return()=>null;const{direction:q,dragState:Y,id:le,keyboardResizeBy:G,onLayout:te}=w.current,{layout:de,panelDataArray:Be}=S.current,{initialLayout:Ht}=Y??{},re=xd(le,P,Z);let pe=Z3(V,P,q,Y,G,Z);const Vt=q==="horizontal";Vt&&T&&(pe=-pe);const xr=Be.map(_1=>_1.constraints),Sr=Kr({delta:pe,initialLayout:Ht??de,panelConstraints:xr,pivotIndices:re,prevLayout:de,trigger:gd(V)?"keyboard":"mouse-or-touch"}),kl=!wn(de,Sr);(vd(V)||bd(V))&&x.current!=pe&&(x.current=pe,!kl&&pe!==0?Vt?bo(P,pe<0?yd:Cd):bo(P,pe<0?Ed:wd):bo(P,0)),kl&&(m(Sr),S.current.layout=Sr,te&&te(Sr),Wt(Be,Sr,E.current))}},[]),_=$e((P,T)=>{const{onLayout:N}=w.current,{layout:j,panelDataArray:V}=S.current,Z=V.map(de=>de.constraints),{panelSize:q,pivotIndices:Y}=yt(V,P,j);Q(q!=null,`Panel size not found for panel "${P.id}"`);const G=nr(V,P)===V.length-1?q-T:T-q,te=Kr({delta:G,initialLayout:j,panelConstraints:Z,pivotIndices:Y,prevLayout:j,trigger:"imperative-api"});wn(j,te)||(m(te),S.current.layout=te,N&&N(te),Wt(V,te,E.current))},[]),I=$e((P,T)=>{const{layout:N,panelDataArray:j}=S.current,{collapsedSize:V=0,collapsible:Z}=T,{collapsedSize:q=0,collapsible:Y,maxSize:le=100,minSize:G=0}=P.constraints,{panelSize:te}=yt(j,P,N);te!=null&&(Z&&Y&&Qe(te,V)?Qe(V,q)||_(P,q):te<G?_(P,G):te>le&&_(P,le))},[_]),z=$e((P,T)=>{const{direction:N}=w.current,{layout:j}=S.current;if(!g.current)return;const V=Mi(P,g.current);Q(V,`Drag handle element not found for id "${P}"`);const Z=Fd(N,T);h({dragHandleId:P,dragHandleRect:V.getBoundingClientRect(),initialCursorPosition:Z,initialLayout:j})},[]),L=$e(()=>{h(null)},[]),M=$e(P=>{const{panelDataArray:T}=S.current,N=nr(T,P);N>=0&&(T.splice(N,1),delete E.current[P.id],S.current.panelDataArrayChanged=!0,C())},[C]),R=$3(()=>({collapsePanel:O,direction:n,dragState:y,expandPanel:K,getPanelSize:H,getPanelStyle:D,groupId:p,isPanelCollapsed:B,isPanelExpanded:U,reevaluatePanelConstraints:I,registerPanel:k,registerResizeHandle:W,resizePanel:_,startDragging:z,stopDragging:L,unregisterPanel:M,panelGroupElement:g.current}),[O,y,n,K,H,D,p,B,U,I,k,W,_,z,L,M]),$={display:"flex",flexDirection:n==="horizontal"?"row":"column",height:"100%",overflow:"hidden",width:"100%"};return yr(Ii.Provider,{value:R},yr(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 Td=dd((t,e)=>yr(Ad,{...t,forwardedRef:e}));Ad.displayName="PanelGroup";Td.displayName="forwardRef(PanelGroup)";function nr(t,e){return t.findIndex(r=>r===e||r.id===e.id)}function yt(t,e,r){const n=nr(t,e),o=n===t.length-1?[n-1,n]:[n,n+1],a=r[n];return{...e.constraints,panelSize:a,pivotIndices:o}}function eg({disabled:t,handleId:e,resizeHandler:r,panelGroupElement:n}){Ft(()=>{if(t||r==null||n==null)return;const i=Mi(e,n);if(i==null)return;const o=a=>{if(!a.defaultPrevented)switch(a.key){case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"ArrowUp":case"End":case"Home":{a.preventDefault(),r(a);break}case"F6":{a.preventDefault();const l=i.getAttribute("data-panel-group-id");Q(l,`No group element found for id "${l}"`);const s=en(l,n),c=Dd(l,e,n);Q(c!==null,`No resize element found for id "${e}"`);const d=a.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 kd({children:t=null,className:e="",disabled:r=!1,hitAreaMargins:n,id:i,onBlur:o,onDragging:a,onFocus:l,style:s={},tabIndex:c=0,tagName:d="div",...f}){var p,g;const y=Pe(null),h=Pe({onDragging:a});Ft(()=>{h.current.onDragging=a});const b=fd(Ii);if(b===null)throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");const{direction:m,groupId:C,registerResizeHandle:E,startDragging:F,stopDragging:x,panelGroupElement:w}=b,S=dl(i),[O,K]=dr("inactive"),[H,D]=dr(!1),[B,U]=dr(null),k=Pe({state:O});$t(()=>{k.current.state=O}),Ft(()=>{if(r)U(null);else{const z=E(S);U(()=>z)}},[r,S,E]);const W=(p=n==null?void 0:n.coarse)!==null&&p!==void 0?p:15,_=(g=n==null?void 0:n.fine)!==null&&g!==void 0?g:5;return Ft(()=>{if(r||B==null)return;const z=y.current;return Q(z,"Element ref not attached"),j3(S,z,m,{coarse:W,fine:_},(M,R,$)=>{if(R)switch(M){case"down":{K("drag"),Q($,'Expected event to be defined for "down" action'),F(S,$);const{onDragging:P}=h.current;P&&P(!0);break}case"move":{const{state:P}=k.current;P!=="drag"&&K("hover"),Q($,'Expected event to be defined for "move" action'),B($);break}case"up":{K("hover"),x();const{onDragging:P}=h.current;P&&P(!1);break}}else K("inactive")})},[W,m,r,_,E,S,B,F,x]),eg({disabled:r,handleId:S,resizeHandler:B,panelGroupElement:w}),yr(d,{...f,children:t,className:e,id:i,onBlur:()=>{D(!1),o==null||o()},onFocus:()=>{D(!0),l==null||l()},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})}kd.displayName="PanelResizeHandle";const tg=({children:t,isOpen:e})=>{const{isDesktop:r}=ot();return r?v.jsx("div",{className:ve("c__right-panel",{open:e}),children:t}):v.jsx("div",{className:ve("c__right-panel__mobile",{open:e}),children:t})},rg=(t,e,r)=>{const[n,i]=u.useState(typeof e>"u"?t:e),o=a=>{r?r(a):i(a)};return u.useEffect(()=>{r&&typeof e<"u"&&e!==n&&i(e)},[e]),[n,o]},ng=({icon:t,children:e,hideLeftPanelOnDesktop:r=!1,leftPanelContent:n,rightPanelContent:i,rightHeaderContent:o,languages:a,enableResize:l=!1,rightPanelIsOpen:s=!1,...c})=>{const[d,f]=rg(!1,c.isLeftPanelOpen,c.setIsLeftPanelOpen),{isDesktop:p}=ot(),g=u.useRef(null),[y,h]=u.useState(!1),b=u.useRef(void 0);u.useEffect(()=>{const O=()=>{h(!0),b.current&&clearTimeout(b.current),b.current=window.setTimeout(()=>{h(!1)},150)};return window.addEventListener("resize",O),()=>{window.removeEventListener("resize",O),b.current&&clearTimeout(b.current)}},[]);const m=p?!r:!0,C=p?!r:d,[E,F]=u.useState(Dn(300,p)),[x,w]=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),w(l?H:K)};return O(),window.addEventListener("resize",O),()=>{window.removeEventListener("resize",O)}},[p,l]),v.jsxs("div",{className:ve("c__main-layout",{resizing:y}),children:[v.jsx("div",{className:"c__main-layout__header",children:v.jsx(cd,{onTogglePanel:S,isPanelOpen:d,rightIcon:o,leftIcon:t,languages:a})}),v.jsx("div",{className:"c__main-layout__content",children:v.jsxs(Td,{autoSaveId:"persistance",direction:"horizontal",children:[m&&v.jsxs(v.Fragment,{children:[v.jsx(ha,{ref:g,order:0,defaultSize:E,minSize:E,maxSize:x,children:v.jsx(ud,{isOpen:C,children:n})}),p&&v.jsx(kd,{className:"border-clr-surface-primary",style:{borderRightWidth:"1px",borderRightStyle:"solid"}})]}),v.jsx(ha,{order:1,children:v.jsxs("div",{className:"c__main-layout__content__center",children:[v.jsx("div",{className:"c__main-layout__content__center__children",children:e}),v.jsx(tg,{isOpen:s,children:i})]})})]})})]})},Dn=(t,e)=>{if(!e)return 0;const r=window.innerWidth;return t/r*100},ig=52,li=({size:t="sm"})=>v.jsx("div",{className:["c__spinner",t].join(" ")}),Id=({children:t,text:e,...r})=>v.jsxs("div",{className:"suite__label__container",children:[v.jsx("label",{...r,children:t}),e&&v.jsx("span",{className:"suite__label__container__description",children:e})]}),og=({label:t,text:e,labelSide:r="right",children:n})=>v.jsxs("div",{className:ve("c__with-label",{[r]:!0}),children:[v.jsx(Id,{children:t,text:e}),n]});var n0=1,ag=.9,lg=.8,sg=.17,mo=.1,yo=.999,cg=.9999,ug=.99,dg=/[\\\/_+.#"@\[\(\{&]/,fg=/[\\\/_+.#"@\[\(\{&]/g,hg=/[\s-]/,Od=/[\s-]/g;function ga(t,e,r,n,i,o,a){if(o===e.length)return i===t.length?n0:ug;var l=`${i},${o}`;if(a[l]!==void 0)return a[l];for(var s=n.charAt(o),c=r.indexOf(s,i),d=0,f,p,g,y;c>=0;)f=ga(t,e,r,n,c+1,o+1,a),f>d&&(c===i?f*=n0:dg.test(t.charAt(c-1))?(f*=lg,g=t.slice(i,c-1).match(fg),g&&i>0&&(f*=Math.pow(yo,g.length))):hg.test(t.charAt(c-1))?(f*=ag,y=t.slice(i,c-1).match(Od),y&&i>0&&(f*=Math.pow(yo,y.length))):(f*=sg,i>0&&(f*=Math.pow(yo,c-i))),t.charAt(c)!==e.charAt(o)&&(f*=cg)),(f<mo&&r.charAt(c-1)===n.charAt(o+1)||n.charAt(o+1)===n.charAt(o)&&r.charAt(c-1)!==n.charAt(o))&&(p=ga(t,e,r,n,c+1,o+2,a),p*mo>f&&(f=p*mo)),f>d&&(d=f),c=r.indexOf(s,c+1);return a[l]=d,d}function i0(t){return t.toLowerCase().replace(Od," ")}function pg(t,e,r){return t=r&&r.length>0?`${t+" "+r.join(" ")}`:t,ga(t,e,i0(t),i0(e),0,0,{})}function pt(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 o0(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function Nd(...t){return e=>{let r=!1;const n=t.map(i=>{const o=o0(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():o0(t[i],null)}}}}function jt(...t){return A.useCallback(Nd(...t),t)}function gg(t,e){const r=A.createContext(e),n=o=>{const{children:a,...l}=o,s=A.useMemo(()=>l,Object.values(l));return v.jsx(r.Provider,{value:s,children:a})};n.displayName=t+"Provider";function i(o){const a=A.useContext(r);if(a)return a;if(e!==void 0)return e;throw new Error(`\`${o}\` must be used within \`${t}\``)}return[n,i]}function vg(t,e=[]){let r=[];function n(o,a){const l=A.createContext(a),s=r.length;r=[...r,a];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])||l,b=A.useMemo(()=>y,Object.values(y));return v.jsx(h.Provider,{value:b,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])||l,y=A.useContext(g);if(y)return y;if(a!==void 0)return a;throw new Error(`\`${f}\` must be used within \`${o}\``)}return[c,d]}const i=()=>{const o=r.map(a=>A.createContext(a));return function(l){const s=(l==null?void 0:l[t])||o;return A.useMemo(()=>({[`__scope${t}`]:{...l,[t]:s}}),[l,s])}};return i.scopeName=t,[n,bg(i,...e)]}function bg(...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 a=n.reduce((l,{useScope:s,scopeName:c})=>{const f=s(o)[`__scope${c}`];return{...l,...f}},{});return A.useMemo(()=>({[`__scope${e.scopeName}`]:a}),[a])}};return r.scopeName=e.scopeName,r}var tn=globalThis!=null&&globalThis.document?A.useLayoutEffect:()=>{},mg=A[" useId ".trim().toString()]||(()=>{}),yg=0;function tt(t){const[e,r]=A.useState(mg());return tn(()=>{r(n=>n??String(yg++))},[t]),e?`radix-${e}`:""}var Cg=A[" useInsertionEffect ".trim().toString()]||tn;function Eg({prop:t,defaultProp:e,onChange:r=()=>{},caller:n}){const[i,o,a]=wg({defaultProp:e,onChange:r}),l=t!==void 0,s=l?t:i;{const d=A.useRef(t!==void 0);A.useEffect(()=>{const f=d.current;f!==l&&console.warn(`${n} is changing from ${f?"controlled":"uncontrolled"} to ${l?"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=l},[l,n])}const c=A.useCallback(d=>{var f;if(l){const p=Dg(d)?d(t):d;p!==t&&((f=a.current)==null||f.call(a,p))}else o(d)},[l,t,o,a]);return[s,c]}function wg({defaultProp:t,onChange:e}){const[r,n]=A.useState(t),i=A.useRef(r),o=A.useRef(e);return Cg(()=>{o.current=e},[e]),A.useEffect(()=>{var a;i.current!==r&&((a=o.current)==null||a.call(o,r),i.current=r)},[r,i]),[r,n,o]}function Dg(t){return typeof t=="function"}function Md(t){const e=xg(t),r=A.forwardRef((n,i)=>{const{children:o,...a}=n,l=A.Children.toArray(o),s=l.find(Fg);if(s){const c=s.props.children,d=l.map(f=>f===s?A.Children.count(c)>1?A.Children.only(null):A.isValidElement(c)?c.props.children:null:f);return v.jsx(e,{...a,ref:i,children:A.isValidElement(c)?A.cloneElement(c,void 0,d):null})}return v.jsx(e,{...a,ref:i,children:o})});return r.displayName=`${t}.Slot`,r}function xg(t){const e=A.forwardRef((r,n)=>{const{children:i,...o}=r;if(A.isValidElement(i)){const a=_g(i),l=$g(o,i.props);return i.type!==A.Fragment&&(l.ref=n?Nd(n,a):a),A.cloneElement(i,l)}return A.Children.count(i)>1?A.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var Sg=Symbol("radix.slottable");function Fg(t){return A.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===Sg}function $g(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]=(...l)=>{const s=o(...l);return i(...l),s}:i&&(r[n]=i):n==="style"?r[n]={...i,...o}:n==="className"&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...t,...r}}function _g(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 Pg=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ce=Pg.reduce((t,e)=>{const r=Md(`Primitive.${e}`),n=A.forwardRef((i,o)=>{const{asChild:a,...l}=i,s=a?r:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),v.jsx(s,{...l,ref:o})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{});function Ag(t,e){t&&P1.flushSync(()=>t.dispatchEvent(e))}function rn(t){const e=A.useRef(t);return A.useEffect(()=>{e.current=t}),A.useMemo(()=>(...r)=>{var n;return(n=e.current)==null?void 0:n.call(e,...r)},[])}function Tg(t,e=globalThis==null?void 0:globalThis.document){const r=rn(t);A.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 kg="DismissableLayer",va="dismissableLayer.update",Ig="dismissableLayer.pointerDownOutside",Og="dismissableLayer.focusOutside",a0,Rd=A.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Bd=A.forwardRef((t,e)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:i,onFocusOutside:o,onInteractOutside:a,onDismiss:l,...s}=t,c=A.useContext(Rd),[d,f]=A.useState(null),p=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,g]=A.useState({}),y=jt(e,S=>f(S)),h=Array.from(c.layers),[b]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),m=h.indexOf(b),C=d?h.indexOf(d):-1,E=c.layersWithOutsidePointerEventsDisabled.size>0,F=C>=m,x=Rg(S=>{const O=S.target,K=[...c.branches].some(H=>H.contains(O));!F||K||(i==null||i(S),a==null||a(S),S.defaultPrevented||l==null||l())},p),w=Bg(S=>{const O=S.target;[...c.branches].some(H=>H.contains(O))||(o==null||o(S),a==null||a(S),S.defaultPrevented||l==null||l())},p);return Tg(S=>{C===c.layers.size-1&&(n==null||n(S),!S.defaultPrevented&&l&&(S.preventDefault(),l()))},p),A.useEffect(()=>{if(d)return r&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(a0=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(d)),c.layers.add(d),l0(),()=>{r&&c.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=a0)}},[d,p,r,c]),A.useEffect(()=>()=>{d&&(c.layers.delete(d),c.layersWithOutsidePointerEventsDisabled.delete(d),l0())},[d,c]),A.useEffect(()=>{const S=()=>g({});return document.addEventListener(va,S),()=>document.removeEventListener(va,S)},[]),v.jsx(Ce.div,{...s,ref:y,style:{pointerEvents:E?F?"auto":"none":void 0,...t.style},onFocusCapture:pt(t.onFocusCapture,w.onFocusCapture),onBlurCapture:pt(t.onBlurCapture,w.onBlurCapture),onPointerDownCapture:pt(t.onPointerDownCapture,x.onPointerDownCapture)})});Bd.displayName=kg;var Ng="DismissableLayerBranch",Mg=A.forwardRef((t,e)=>{const r=A.useContext(Rd),n=A.useRef(null),i=jt(e,n);return A.useEffect(()=>{const o=n.current;if(o)return r.branches.add(o),()=>{r.branches.delete(o)}},[r.branches]),v.jsx(Ce.div,{...t,ref:i})});Mg.displayName=Ng;function Rg(t,e=globalThis==null?void 0:globalThis.document){const r=rn(t),n=A.useRef(!1),i=A.useRef(()=>{});return A.useEffect(()=>{const o=l=>{if(l.target&&!n.current){let s=function(){Ld(Ig,r,c,{discrete:!0})};const c={originalEvent:l};l.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},a=window.setTimeout(()=>{e.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(a),e.removeEventListener("pointerdown",o),e.removeEventListener("click",i.current)}},[e,r]),{onPointerDownCapture:()=>n.current=!0}}function Bg(t,e=globalThis==null?void 0:globalThis.document){const r=rn(t),n=A.useRef(!1);return A.useEffect(()=>{const i=o=>{o.target&&!n.current&&Ld(Og,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 l0(){const t=new CustomEvent(va);document.dispatchEvent(t)}function Ld(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?Ag(i,o):i.dispatchEvent(o)}var Co="focusScope.autoFocusOnMount",Eo="focusScope.autoFocusOnUnmount",s0={bubbles:!1,cancelable:!0},Lg="FocusScope",jd=A.forwardRef((t,e)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...a}=t,[l,s]=A.useState(null),c=rn(i),d=rn(o),f=A.useRef(null),p=jt(e,h=>s(h)),g=A.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;A.useEffect(()=>{if(n){let h=function(E){if(g.paused||!l)return;const F=E.target;l.contains(F)?f.current=F:lt(f.current,{select:!0})},b=function(E){if(g.paused||!l)return;const F=E.relatedTarget;F!==null&&(l.contains(F)||lt(f.current,{select:!0}))},m=function(E){if(document.activeElement===document.body)for(const x of E)x.removedNodes.length>0&&lt(l)};document.addEventListener("focusin",h),document.addEventListener("focusout",b);const C=new MutationObserver(m);return l&&C.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",h),document.removeEventListener("focusout",b),C.disconnect()}}},[n,l,g.paused]),A.useEffect(()=>{if(l){u0.add(g);const h=document.activeElement;if(!l.contains(h)){const m=new CustomEvent(Co,s0);l.addEventListener(Co,c),l.dispatchEvent(m),m.defaultPrevented||(jg(Ug(Kd(l)),{select:!0}),document.activeElement===h&&lt(l))}return()=>{l.removeEventListener(Co,c),setTimeout(()=>{const m=new CustomEvent(Eo,s0);l.addEventListener(Eo,d),l.dispatchEvent(m),m.defaultPrevented||lt(h??document.body,{select:!0}),l.removeEventListener(Eo,d),u0.remove(g)},0)}}},[l,c,d,g]);const y=A.useCallback(h=>{if(!r&&!n||g.paused)return;const b=h.key==="Tab"&&!h.altKey&&!h.ctrlKey&&!h.metaKey,m=document.activeElement;if(b&&m){const C=h.currentTarget,[E,F]=Kg(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 v.jsx(Ce.div,{tabIndex:-1,...a,ref:p,onKeyDown:y})});jd.displayName=Lg;function jg(t,{select:e=!1}={}){const r=document.activeElement;for(const n of t)if(lt(n,{select:e}),document.activeElement!==r)return}function Kg(t){const e=Kd(t),r=c0(e,t),n=c0(e.reverse(),t);return[r,n]}function Kd(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 c0(t,e){for(const r of t)if(!Hg(r,{upTo:e}))return r}function Hg(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 Vg(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&&Vg(t)&&e&&t.select()}}var u0=zg();function zg(){let t=[];return{add(e){const r=t[0];e!==r&&(r==null||r.pause()),t=d0(t,e),t.unshift(e)},remove(e){var r;t=d0(t,e),(r=t[0])==null||r.resume()}}}function d0(t,e){const r=[...t],n=r.indexOf(e);return n!==-1&&r.splice(n,1),r}function Ug(t){return t.filter(e=>e.tagName!=="A")}var Wg="Portal",Hd=A.forwardRef((t,e)=>{var l;const{container:r,...n}=t,[i,o]=A.useState(!1);tn(()=>o(!0),[]);const a=r||i&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return a?Mt.createPortal(v.jsx(Ce.div,{...n,ref:e}),a):null});Hd.displayName=Wg;function Zg(t,e){return A.useReducer((r,n)=>e[r][n]??r,t)}var Ri=t=>{const{present:e,children:r}=t,n=Gg(e),i=typeof r=="function"?r({present:n.isPresent}):A.Children.only(r),o=jt(n.ref,qg(i));return typeof r=="function"||n.isPresent?A.cloneElement(i,{ref:o}):null};Ri.displayName="Presence";function Gg(t){const[e,r]=A.useState(),n=A.useRef(null),i=A.useRef(t),o=A.useRef("none"),a=t?"mounted":"unmounted",[l,s]=Zg(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return A.useEffect(()=>{const c=xn(n.current);o.current=l==="mounted"?c:"none"},[l]),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 b=e.style.animationFillMode;e.style.animationFillMode="forwards",c=d.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=b)})}},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(l),ref:A.useCallback(c=>{n.current=c?getComputedStyle(c):null,r(c)},[])}}function xn(t){return(t==null?void 0:t.animationName)||"none"}function qg(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 wo=0;function Yg(){A.useEffect(()=>{const t=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",t[0]??f0()),document.body.insertAdjacentElement("beforeend",t[1]??f0()),wo++,()=>{wo===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),wo--}},[])}function f0(){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",Rn="width-before-scroll-bar",Xg="with-scroll-bars-hidden",Jg="--removed-body-scroll-bar-size";function Do(t,e){return typeof t=="function"?t(e):t&&(t.current=e),t}function Qg(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 e9=typeof window<"u"?A.useLayoutEffect:A.useEffect,h0=new WeakMap;function t9(t,e){var r=Qg(null,function(n){return t.forEach(function(i){return Do(i,n)})});return e9(function(){var n=h0.get(r);if(n){var i=new Set(n),o=new Set(t),a=r.current;i.forEach(function(l){o.has(l)||Do(l,null)}),o.forEach(function(l){i.has(l)||Do(l,a)})}h0.set(r,t)},[t]),r}function r9(t){return t}function n9(t,e){e===void 0&&(e=r9);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 a=e(o,n);return r.push(a),function(){r=r.filter(function(l){return l!==a})}},assignSyncMedium:function(o){for(n=!0;r.length;){var a=r;r=[],a.forEach(o)}r={push:function(l){return o(l)},filter:function(){return r}}},assignMedium:function(o){n=!0;var a=[];if(r.length){var l=r;r=[],l.forEach(o),a=r}var s=function(){var d=a;a=[],d.forEach(o)},c=function(){return Promise.resolve().then(s)};c(),r={push:function(d){a.push(d),c()},filter:function(d){return a=a.filter(d),r}}}};return i}function i9(t){t===void 0&&(t={});var e=n9(null);return e.options=Ge({async:!0,ssr:!1},t),e}var Vd=function(t){var e=t.sideCar,r=Qc(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 A.createElement(n,Ge({},r))};Vd.isSideCarExport=!0;function o9(t,e){return t.useMedium(e),Vd}var zd=i9(),xo=function(){},Bi=A.forwardRef(function(t,e){var r=A.useRef(null),n=A.useState({onScrollCapture:xo,onWheelCapture:xo,onTouchMoveCapture:xo}),i=n[0],o=n[1],a=t.forwardProps,l=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,b=t.allowPinchZoom,m=t.as,C=m===void 0?"div":m,E=t.gapMode,F=Qc(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),x=p,w=t9([r,e]),S=Ge(Ge({},F),i);return A.createElement(A.Fragment,null,d&&A.createElement(x,{sideCar:zd,removeScrollBar:c,shards:f,noRelative:g,noIsolation:y,inert:h,setCallbacks:o,allowPinchZoom:!!b,lockRef:r,gapMode:E}),a?A.cloneElement(A.Children.only(l),Ge(Ge({},S),{ref:w})):A.createElement(C,Ge({},S,{className:s,ref:w}),l))});Bi.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Bi.classNames={fullWidth:Rn,zeroRight:Mn};var a9=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function l9(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var e=a9();return e&&t.setAttribute("nonce",e),t}function s9(t,e){t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}function c9(t){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(t)}var u9=function(){var t=0,e=null;return{add:function(r){t==0&&(e=l9())&&(s9(e,r),c9(e)),t++},remove:function(){t--,!t&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}},d9=function(){var t=u9();return function(e,r){A.useEffect(function(){return t.add(e),function(){t.remove()}},[e&&r])}},Ud=function(){var t=d9(),e=function(r){var n=r.styles,i=r.dynamic;return t(n,i),null};return e},f9={left:0,top:0,right:0,gap:0},So=function(t){return parseInt(t||"",10)||0},h9=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[So(r),So(n),So(i)]},p9=function(t){if(t===void 0&&(t="margin"),typeof window>"u")return f9;var e=h9(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])}},g9=Ud(),hr="data-scroll-locked",v9=function(t,e,r,n){var i=t.left,o=t.top,a=t.right,l=t.gap;return r===void 0&&(r="margin"),`
45
45
  .`.concat(Xg,` {
46
46
  overflow: hidden `).concat(n,`;
47
47
  padding-right: `).concat(l,"px ").concat(n,`;
@@ -95,5 +95,5 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
95
95
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function nb(t,e){if(t){if(typeof t=="string")return ec(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 ec(t,e)}}function ec(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 ib(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n=[],i=!0,o=!1,a,l;try{for(r=r.call(t);!(i=(a=r.next()).done)&&(n.push(a.value),!(e&&n.length===e));i=!0);}catch(s){o=!0,l=s}finally{try{!i&&r.return!=null&&r.return()}finally{if(o)throw l}}return n}}function ob(t){if(Array.isArray(t))return t}function ab(t,e,r){var n=Kt(),i=eb(t,e),o=q6(t);Nt(function(){var l=d6(o,i,n),s=tb(l,2),c=s[0],d=s[1];return e.receiveHandlerId(c),r.receiveHandlerId(c),d},[n,e,i,r,o.map(function(a){return a.toString()}).join("|")])}function lb(){var t=Kt();return u.useMemo(function(){return new Q8(t)},[t])}function sb(t){var e=Kt(),r=u.useMemo(function(){return new u6(e.getBackend())},[e]);return Nt(function(){return r.dropTargetOptions=t||null,r.reconnect(),function(){return r.disconnectDropTarget()}},[t]),r}function cb(t){return u.useMemo(function(){return t.hooks.dropTarget()},[t])}function Xf(t,e){var r=Gf(t,e),n=lb(),i=sb(r.options);return ab(r,n,i),[Yf(r.collect,n,i),cb(i)]}function ub(t,e){return pb(t)||hb(t,e)||fb(t,e)||db()}function db(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
96
96
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function fb(t,e){if(t){if(typeof t=="string")return tc(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 tc(t,e)}}function tc(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 hb(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n=[],i=!0,o=!1,a,l;try{for(r=r.call(t);!(i=(a=r.next()).done)&&(n.push(a.value),!(e&&n.length===e));i=!0);}catch(s){o=!0,l=s}finally{try{!i&&r.return!=null&&r.return()}finally{if(o)throw l}}return n}}function pb(t){if(Array.isArray(t))return t}function gb(t){var e=Kt(),r=e.getMonitor(),n=qf(r,t),i=ub(n,2),o=i[0],a=i[1];return u.useEffect(function(){return r.subscribeToOffsetChange(a)}),u.useEffect(function(){return r.subscribeToStateChange(a)}),o}function Jf(t){var e=null,r=function(){return e==null&&(e=t()),e};return r}function vb(t,e){return t.filter(function(r){return r!==e})}function bb(t,e){var r=new Set,n=function(a){return r.add(a)};t.forEach(n),e.forEach(n);var i=[];return r.forEach(function(o){return i.push(o)}),i}function mb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yb(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 Cb(t,e,r){return e&&yb(t.prototype,e),t}function rc(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Eb=function(){function t(e){mb(this,t),rc(this,"entered",[]),rc(this,"isNodeInDocument",void 0),this.isNodeInDocument=e}return Cb(t,[{key:"enter",value:function(r){var n=this,i=this.entered.length,o=function(l){return n.isNodeInDocument(l)&&(!l.contains||l.contains(r))};return this.entered=bb(this.entered.filter(o),[r]),i===0&&this.entered.length>0}},{key:"leave",value:function(r){var n=this.entered.length;return this.entered=vb(this.entered.filter(this.isNodeInDocument),r),n>0&&this.entered.length===0}},{key:"reset",value:function(){this.entered=[]}}]),t}(),wb=Jf(function(){return/firefox/i.test(navigator.userAgent)}),Qf=Jf(function(){return!!window.safari});function Db(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xb(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 Sb(t,e,r){return e&&xb(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 nc=function(){function t(e,r){Db(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 a=[],l=[],s,c,d=0;d<n-1;d++)s=e[d+1]-e[d],c=r[d+1]-r[d],a.push(s),l.push(c/s);for(var f=[l[0]],p=0;p<a.length-1;p++){var g=l[p],y=l[p+1];if(g*y<=0)f.push(0);else{s=a[p];var h=a[p+1],b=s+h;f.push(3*b/((b+h)/g+(b+s)/y))}}f.push(l[l.length-1]);for(var m=[],C=[],E,F=0;F<f.length-1;F++){E=l[F];var x=f[F],w=1/a[F],S=x+f[F+1]-E-E;m.push((E-x-S)*w),C.push(S*w*w)}this.xs=e,this.ys=r,this.c1s=f,this.c2s=m,this.c3s=C}return Sb(t,[{key:"interpolate",value:function(r){var n=this.xs,i=this.ys,o=this.c1s,a=this.c2s,l=this.c3s,s=n.length-1;if(r===n[s])return i[s];for(var c=0,d=l.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+a[s]*y+l[s]*g*y}}]),t}(),Fb=1;function e1(t){var e=t.nodeType===Fb?t:t.parentElement;if(!e)return null;var r=e.getBoundingClientRect(),n=r.top,i=r.left;return{x:i,y:n}}function Pn(t){return{x:t.clientX,y:t.clientY}}function $b(t){var e;return t.nodeName==="IMG"&&(wb()||!((e=document.documentElement)!==null&&e!==void 0&&e.contains(t)))}function _b(t,e,r,n){var i=t?e.width:r,o=t?e.height:n;return Qf()&&t&&(o/=window.devicePixelRatio,i/=window.devicePixelRatio),{dragPreviewWidth:i,dragPreviewHeight:o}}function Pb(t,e,r,n,i){var o=$b(e),a=o?t:e,l=e1(a),s={x:r.x-l.x,y:r.y-l.y},c=t.offsetWidth,d=t.offsetHeight,f=n.anchorX,p=n.anchorY,g=_b(o,e,c,d),y=g.dragPreviewWidth,h=g.dragPreviewHeight,b=function(){var S=new nc([0,.5,1],[s.y,s.y/d*h,s.y+h-d]),O=S.interpolate(p);return Qf()&&o&&(O+=(window.devicePixelRatio-1)*h),O},m=function(){var S=new nc([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,x=E===0||E;return{x:F?C:m(),y:x?E:b()}}var t1="__NATIVE_FILE__",r1="__NATIVE_URL__",n1="__NATIVE_TEXT__",i1="__NATIVE_HTML__";const ic=Object.freeze(Object.defineProperty({__proto__:null,FILE:t1,HTML:i1,TEXT:n1,URL:r1},Symbol.toStringTag,{value:"Module"}));function Mo(t,e,r){var n=e.reduce(function(i,o){return i||t.getData(o)},"");return n??r}var er;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 $a=(er={},An(er,t1,{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(er,i1,{exposeProperties:{html:function(e,r){return Mo(e,r,"")},dataTransfer:function(e){return e}},matchesTypes:["Html","text/html"]}),An(er,r1,{exposeProperties:{urls:function(e,r){return Mo(e,r,"").split(`
97
97
  `)},dataTransfer:function(e){return e}},matchesTypes:["Url","text/uri-list"]}),An(er,n1,{exposeProperties:{text:function(e,r){return Mo(e,r,"")},dataTransfer:function(e){return e}},matchesTypes:["Text","text/plain"]}),er);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 kb(t,e,r){return e&&Tb(t.prototype,e),t}function oc(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Ib=function(){function t(e){Ab(this,t),oc(this,"item",void 0),oc(this,"config",void 0),this.config=e,this.item={},this.initializeExposedProperties()}return kb(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 Ob(t,e){var r=new Ib($a[t]);return r.loadDataTransfer(e),r}function Ro(t){if(!t)return null;var e=Array.prototype.slice.call(t.types||[]);return Object.keys($a).filter(function(r){var n=$a[r].matchesTypes;return n.some(function(i){return e.indexOf(i)>-1})})[0]||null}function Nb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mb(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 Rb(t,e,r){return e&&Mb(t.prototype,e),t}function Bo(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Bb=function(){function t(e,r){Nb(this,t),Bo(this,"ownerDocument",null),Bo(this,"globalContext",void 0),Bo(this,"optionsArgs",void 0),this.globalContext=e,this.optionsArgs=r}return Rb(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 ac(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 lc(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?ac(Object(r),!0).forEach(function(n){ee(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ac(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Lb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jb(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 Kb(t,e,r){return e&&jb(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 Hb=function(){function t(e,r,n){var i=this;Lb(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 a=i.sourceNodes.get(o);return a&&e1(a)||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 a=i.dragStartSourceIds;i.dragStartSourceIds=null;var l=Pn(o);i.monitor.isDragging()&&i.actions.endDrag(),i.actions.beginDrag(a||[],{publishSource:!1,getSourceClientOffset:i.getSourceClientOffset,clientOffset:l});var s=o.dataTransfer,c=Ro(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,b=g.offsetX,m=g.offsetY,C={anchorX:y,anchorY:h},E={offsetX:b,offsetY:m},F=Pb(f,p,l,C,E);s.setDragImage(p,F.x,F.y)}}try{s==null||s.setData("application/json",{})}catch{}i.setCurrentDragSourceNode(o.target);var x=i.getCurrentSourcePreviewNodeOptions(),w=x.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 a=i.enterLeaveCounter.enter(o.target);if(!(!a||i.monitor.isDragging())){var l=o.dataTransfer,s=Ro(l);s&&i.beginDragNativeItem(s,l)}}),ee(this,"handleTopDragEnter",function(o){var a=i.dragEnterTargetIds;if(i.dragEnterTargetIds=[],!!i.monitor.isDragging()){i.altKeyPressed=o.altKey,a.length>0&&i.actions.hover(a,{clientOffset:Pn(o)});var l=a.some(function(s){return i.monitor.canDropOnTarget(s)});l&&(o.preventDefault(),o.dataTransfer&&(o.dataTransfer.dropEffect=i.getCurrentDropEffect()))}}),ee(this,"handleTopDragOverCapture",function(){i.dragOverTargetIds=[]}),ee(this,"handleTopDragOver",function(o){var a=i.dragOverTargetIds;if(i.dragOverTargetIds=[],!i.monitor.isDragging()){o.preventDefault(),o.dataTransfer&&(o.dataTransfer.dropEffect="none");return}i.altKeyPressed=o.altKey,i.lastClientOffset=Pn(o),i.hoverRafId===null&&typeof requestAnimationFrame<"u"&&(i.hoverRafId=requestAnimationFrame(function(){i.monitor.isDragging()&&i.actions.hover(a||[],{clientOffset:i.lastClientOffset}),i.hoverRafId=null}));var l=(a||[]).some(function(s){return i.monitor.canDropOnTarget(s)});l?(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 a=i.enterLeaveCounter.leave(o.target);a&&i.isDraggingNativeItem()&&setTimeout(function(){return i.endDragNativeItem()},0)}),ee(this,"handleTopDropCapture",function(o){if(i.dropTargetIds=[],i.isDraggingNativeItem()){var a;o.preventDefault(),(a=i.currentNativeSource)===null||a===void 0||a.loadDataTransfer(o.dataTransfer)}else Ro(o.dataTransfer)&&o.preventDefault();i.enterLeaveCounter.reset()}),ee(this,"handleTopDrop",function(o){var a=i.dropTargetIds;i.dropTargetIds=[],i.actions.hover(a,{clientOffset:Pn(o)}),i.actions.drop({dropEffect:i.getCurrentDropEffect()}),i.isDraggingNativeItem()?i.endDragNativeItem():i.monitor.isDragging()&&i.actions.endDrag()}),ee(this,"handleSelectStart",function(o){var a=o.target;typeof a.dragDrop=="function"&&(a.tagName==="INPUT"||a.tagName==="SELECT"||a.tagName==="TEXTAREA"||a.isContentEditable||(o.preventDefault(),a.dragDrop()))}),this.options=new Bb(r,n),this.actions=e.getActions(),this.monitor=e.getMonitor(),this.registry=e.getRegistry(),this.enterLeaveCounter=new Eb(this.isNodeInDocument)}return Kb(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 a=function(c){return o.handleDragStart(c,r)},l=function(c){return o.handleSelectStart(c)};return n.setAttribute("draggable","true"),n.addEventListener("dragstart",a),n.addEventListener("selectstart",l),function(){o.sourceNodes.delete(r),o.sourceNodeOptions.delete(r),n.removeEventListener("dragstart",a),n.removeEventListener("selectstart",l),n.setAttribute("draggable","false")}}},{key:"connectDropTarget",value:function(r,n){var i=this,o=function(c){return i.handleDragEnter(c,r)},a=function(c){return i.handleDragOver(c,r)},l=function(c){return i.handleDrop(c,r)};return n.addEventListener("dragenter",o),n.addEventListener("dragover",a),n.addEventListener("drop",l),function(){n.removeEventListener("dragenter",o),n.removeEventListener("dragover",a),n.removeEventListener("drop",l)}}},{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 lc({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 lc({anchorX:.5,anchorY:.5,captureDraggingState:!1},n||{})}},{key:"isDraggingNativeItem",value:function(){var r=this.monitor.getItemType();return Object.keys(ic).some(function(n){return ic[n]===r})}},{key:"beginDragNativeItem",value:function(r,n){this.clearCurrentDragSourceNode(),this.currentNativeSource=Ob(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}(),Tn;function Vb(){return Tn||(Tn=new Image,Tn.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),Tn}var zb=function(e,r,n){return new Hb(e,r,n)};function Ub(t){const e=ke(),r=e.selectedIds,[n,i,o]=G6(()=>({canDrag:()=>t.isDraggable,type:"NODE",item:()=>{const a=e.isSelected(t.id)?Array.from(r):[t.id];return e.dispatch(Er.dragStart(t.id,a)),{id:t.id,dragIds:a}},end:()=>{e.hideCursor(),e.dispatch(Er.dragEnd())}}),[r,t]);return u.useEffect(()=>{o(Vb())},[o]),i}function Wb(t,e){const r=t.getBoundingClientRect(),n=e.x-Math.round(r.x),i=e.y-Math.round(r.y),o=r.height,a=i<o/2,l=!a,s=o/4,c=i>s&&i<o-s;return{x:n,inTopHalf:a,inBottomHalf:l,inMiddle:c,atTop:!c&&a,atBottom:!c&&l}}function Zb(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 tr(t,e){return{type:"line",index:t,level:e}}function Gb(t){return{type:"highlight",id:t}}function Lo(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=Pf(n)+1;return{parentId:i,index:o}}function o1(t){var e;const r=Wb(t.element,t.offset),n=t.indent,i=Math.round(Math.max(0,r.x-n)/n),{node:o,nextNode:a,prevNode:l}=t,[s,c]=Zb(o,l,a,r);if(o&&o.isInternal&&r.inMiddle)return{drop:kn(o.id,null),cursor:Gb(o.id)};if(!s)return{drop:kn((e=c==null?void 0:c.parent)===null||e===void 0?void 0:e.id,0),cursor:tr(0,0)};if(Sf(s)){const d=Ln(i,(c==null?void 0:c.level)||0,s.level);return{drop:Lo(s,d),cursor:tr(s.rowIndex+1,d)}}if(Ff(s)){const d=Ln(i,(c==null?void 0:c.level)||0,s.level);return{drop:Lo(s,d),cursor:tr(s.rowIndex+1,d)}}if($f(s)){const d=Ln(i,0,s.level+1);return d>s.level?{drop:kn(s.id,0),cursor:tr(s.rowIndex+1,d)}:{drop:Lo(s,d),cursor:tr(s.rowIndex+1,d)}}return{drop:kn(s==null?void 0:s.id,0),cursor:tr(s.rowIndex+1,s.level+1)}}function qb(t,e){const r=ke(),[n,i]=Xf(()=>({accept:"NODE",canDrop:()=>r.canDrop(),hover:(o,a)=>{const l=a.getClientOffset();if(!t.current||!l)return;const{cursor:s,drop:c}=o1({element:t.current,offset:l,indent:r.indent,node:e,prevNode:e.prev,nextNode:e.next});c&&r.dispatch(Er.hovering(c.parentId,c.index)),a.canDrop()?s&&r.showCursor(s):r.hideCursor()},drop:(o,a)=>{if(!a.canDrop())return null;let{parentId:l,index:s,dragIds:c}=r.state.dnd;Of(r.props.onMove,{dragIds:c,parentId:l===ln?null:l,index:s===null?0:s,dragNodes:r.dragNodes,parentNode:r.get(l)}),r.open(l)}}),[e,t.current,r.props]);return i}function Yb(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 Xb=u.memo(function({index:e,style:r}){xf(),b7();const n=ke(),i=Yb(e),o=u.useRef(null),a=Ub(i),l=qb(o,i),s=u.useCallback(h=>{o.current=h,l(h)},[l]),c=n.indent*i.level,d=u.useMemo(()=>({paddingLeft:c}),[c]),f=u.useMemo(()=>{var h,b;return Object.assign(Object.assign({},r),{top:parseFloat(r.top)+((b=(h=n.props.padding)!==null&&h!==void 0?h:n.props.paddingTop)!==null&&b!==void 0?b: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 v.jsx(y,{node:i,innerRef:s,attrs:p,children:v.jsx(g,{node:i,tree:n,style:d,dragHandle:a})})});let jo="",sc=null;function a1(){xf();const t=ke();return v.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 a=o.nextSibling,l=o.parent;t.focus(a||l,{scroll:!1}),t.delete(o)}}return}if(e.key==="Tab"&&!e.shiftKey){e.preventDefault(),Af(e.currentTarget);return}if(e.key==="Tab"&&e.shiftKey){e.preventDefault(),Tf(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(sc),jo+=e.key,sc=setTimeout(()=>{jo=""},600);const n=t.visibleNodes.find(i=>{const o=i.data.name;return typeof o=="string"?o.toLowerCase().startsWith(jo):!1});n&&t.focus(n.id)},children:v.jsx(ev,{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:nv,innerElementType:av,onScroll:t.props.onScroll,onItemsRendered:t.onItemsRendered.bind(t),ref:t.list,children:Xb})})}function cc(t){return t.isFiltered?Qb(t.root,t.isMatch.bind(t)):Jb(t.root)}function Jb(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(l1),e}function Qb(t,e){const r={},n=[];function i(a){if(!a.isRoot&&e(a)){r[a.id]=!0;let s=a.parent;for(;s;)r[s.id]=!0,s=s.parent}if(a.children)for(let s of a.children)i(s)}function o(a){var l;a.level>=0&&r[a.id]&&n.push(a),a.isOpen&&((l=a.children)===null||l===void 0||l.forEach(o))}return i(t),o(t),n.forEach(l1),n}function l1(t,e){t.rowIndex=e}const uc=t=>t.reduce((e,r,n)=>(e[r.id]=n,e),{});var Ko=function(t,e,r,n){function i(o){return o instanceof r?o:new r(function(a){a(o)})}return new(r||(r=Promise))(function(o,a){function l(d){try{c(n.next(d))}catch(f){a(f)}}function s(d){try{c(n.throw(d))}catch(f){a(f)}}function c(d){d.done?o(d.value):i(d.value).then(l,s)}c((n=n.apply(t,e||[])).next())})};const{safeRun:ye,identify:Je,identifyNull:je}=D7;class pr{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=y0(this),this.visibleNodes=cc(this),this.idToIndex=uc(this.visibleNodes)}update(e){this.props=e,this.root=y0(this),this.visibleNodes=cc(this),this.idToIndex=uc(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=Vr(e,n))!==null&&r!==void 0?r:null}accessId(e){const r=this.props.idAccessor||"id",n=Vr(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 a=Math.min(i,o),l=Math.max(i,o);return this.visibleNodes.slice(a,l+1)}indexOf(e){const r=If(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 Ko(this,arguments,void 0,function*(e={}){var r,n;const i=e.parentId===void 0?Rf(this):e.parentId,o=(r=e.index)!==null&&r!==void 0?r:Mf(this),a=(n=e.type)!==null&&n!==void 0?n:"leaf",l=yield ye(this.props.onCreate,{type:a,parentId:i,index:o,parentNode:this.get(i)});l&&(this.focus(l),setTimeout(()=>{this.edit(l).then(()=>{this.select(l),this.activate(l)})}))})}delete(e){return Ko(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 ye(this.props.onDelete,{nodes:i,ids:n})})}edit(e){const r=Je(e);return this.resolveEdit({cancelled:!0}),this.scrollTo(r),this.dispatch(_o(r)),new Promise(n=>{pr.editPromise=n})}submit(e,r){return Ko(this,void 0,void 0,function*(){if(!e)return;const n=Je(e);yield ye(this.props.onRename,{id:n,name:r,node:this.get(n)}),this.dispatch(_o(null)),this.resolveEdit({cancelled:!1,value:r}),setTimeout(()=>this.onFocus())})}reset(){this.dispatch(_o(null)),this.resolveEdit({cancelled:!0}),setTimeout(()=>this.onFocus())}activate(e){const r=this.get(je(e));r&&ye(this.props.onActivate,r)}resolveEdit(e){const r=pr.editPromise;r&&r(e),pr.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(Yt(Je(e))),r.scroll!==!1&&this.scrollTo(e),this.focusedNode&&ye(this.props.onFocus,this.focusedNode)))}pageUp(){var e,r;const n=this.visibleStartIndex,o=this.visibleStopIndex-n;let a=(r=(e=this.focusedNode)===null||e===void 0?void 0:e.rowIndex)!==null&&r!==void 0?r:0;a>n?a=n:a=Math.max(n-o,0),this.focus(this.at(a))}pageDown(){var e,r;const n=this.visibleStartIndex,i=this.visibleStopIndex,o=i-n;let a=(r=(e=this.focusedNode)===null||e===void 0?void 0:e.rowIndex)!==null&&r!==void 0?r:0;a<i?a=i:a=Math.min(a+o,this.visibleNodes.length-1),this.focus(this.at(a))}select(e,r={}){if(!e)return;const n=r.focus!==!1,i=Je(e);n&&this.dispatch(Yt(i)),this.dispatch(Le.only(i)),this.dispatch(Le.anchor(i)),this.dispatch(Le.mostRecent(i)),this.scrollTo(i,r.align),this.focusedNode&&n&&ye(this.props.onFocus,this.focusedNode),ye(this.props.onSelect,this.selectedNodes)}deselect(e){if(!e)return;const r=Je(e);this.dispatch(Le.remove(r)),ye(this.props.onSelect,this.selectedNodes)}selectMulti(e){const r=this.get(je(e));r&&(this.dispatch(Yt(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&&ye(this.props.onFocus,this.focusedNode),ye(this.props.onSelect,this.selectedNodes))}selectContiguous(e){if(!e)return;const r=Je(e),{anchor:n,mostRecent:i}=this.state.nodes.selection;this.dispatch(Yt(r)),this.dispatch(Le.remove(this.nodesBetween(n,i))),this.dispatch(Le.add(this.nodesBetween(n,je(r)))),this.dispatch(Le.mostRecent(r)),this.scrollTo(r),this.focusedNode&&ye(this.props.onFocus,this.focusedNode),ye(this.props.onSelect,this.selectedNodes)}deselectAll(){this.setSelection({ids:[],anchor:null,mostRecent:null}),ye(this.props.onSelect,this.selectedNodes)}selectAll(){var e;this.setSelection({ids:Object.keys(this.idToIndex),anchor:this.firstNode,mostRecent:this.lastNode}),this.dispatch(Yt((e=this.lastNode)===null||e===void 0?void 0:e.id)),this.focusedNode&&ye(this.props.onFocus,this.focusedNode),ye(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=je(e.anchor),o=je(e.mostRecent);this.dispatch(Le.set({ids:n,anchor:i,mostRecent:o})),ye(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&&_f(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(Er.cursor({type:"none"}))}showCursor(e){this.dispatch(Er.cursor(e))}open(e){const r=je(e);r&&(this.isOpen(r)||(this.dispatch(ya.open(r,this.isFiltered)),ye(this.props.onToggle,r)))}close(e){const r=je(e);r&&this.isOpen(r)&&(this.dispatch(ya.close(r,this.isFiltered)),ye(this.props.onToggle,r))}toggle(e){const r=je(e);if(r)return this.isOpen(r)?this.close(r):this.open(r)}openParents(e){const r=je(e);if(!r)return;const n=Cl(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(){ci(this.root,e=>{e.isInternal&&e.open()})}closeAll(){ci(this.root,e=>{e.isInternal&&e.close()})}scrollTo(e,r="smart"){if(!e)return;const n=Je(e);return this.openParents(n),Nf(()=>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===ln)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!Vr(e,r)}isDraggable(e){const r=this.props.disableDrag||(()=>!1);return!Vr(e,r)}isDragging(e){const r=je(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=je(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(Yt(e.id))}onBlur(){this.dispatch(I7())}onItemsRendered(e){this.visibleStartIndex=e.visibleStartIndex,this.visibleStopIndex=e.visibleStopIndex}get renderContainer(){return this.props.renderContainer||a1}get renderRow(){return this.props.renderRow||_7}get renderNode(){return this.props.children||P7}get renderDragPreview(){return this.props.renderDragPreview||Bf}get renderCursor(){return this.props.renderCursor||$7}}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 em=typeof Symbol=="function"&&Symbol.observable||"@@observable",dc=em,Ho=()=>Math.random().toString(36).substring(7).split("").join("."),tm={INIT:`@@redux/INIT${Ho()}`,REPLACE:`@@redux/REPLACE${Ho()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Ho()}`},_t=tm;function s1(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 rm(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(om(t))return"date";if(im(t))return"error";const r=nm(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 nm(t){return typeof t.constructor=="function"?t.constructor.name:null}function im(t){return t instanceof Error||typeof t.message=="string"&&t.constructor&&typeof t.constructor.stackTraceLimit=="number"}function om(t){return t instanceof Date?!0:typeof t.toDateString=="function"&&typeof t.getDate=="function"&&typeof t.setDate=="function"}function st(t){let e=typeof t;return process.env.NODE_ENV!=="production"&&(e=rm(t)),e}function c1(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: '${st(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: '${st(r)}'`);return r(c1)(t,e)}let n=t,i=e,o=new Map,a=o,l=0,s=!1;function c(){a===o&&(a=new Map,o.forEach((b,m)=>{a.set(m,b)}))}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(b){if(typeof b!="function")throw new Error(process.env.NODE_ENV==="production"?we(4):`Expected the listener to be a function. Instead, received: '${st(b)}'`);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=l++;return a.set(C,b),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(),a.delete(C),o=null}}}function p(b){if(!s1(b))throw new Error(process.env.NODE_ENV==="production"?we(7):`Actions must be plain objects. Instead, the actual type was: '${st(b)}'. 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 b.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 b.type!="string")throw new Error(process.env.NODE_ENV==="production"?we(17):`Action "type" property must be a string. Instead, the actual type was: '${st(b.type)}'. Value was: '${b.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,b)}finally{s=!1}return(o=a).forEach(C=>{C()}),b}function g(b){if(typeof b!="function")throw new Error(process.env.NODE_ENV==="production"?we(10):`Expected the nextReducer to be a function. Instead, received: '${st(b)}`);n=b,p({type:_t.REPLACE})}function y(){const b=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: '${st(m)}'`);function C(){const F=m;F.next&&F.next(d())}return C(),{unsubscribe:b(C)}},[dc](){return this}}}return p({type:_t.INIT}),{dispatch:p,subscribe:f,getState:d,replaceReducer:g,[dc]:y}}function fc(t){typeof console<"u"&&typeof console.error=="function"&&console.error(t);try{throw new Error(t)}catch{}}function am(t,e,r,n){const i=Object.keys(e),o=r&&r.type===_t.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(!s1(t))return`The ${o} has unexpected type of "${st(t)}". Expected argument to be an object with the following keys: "${i.join('", "')}"`;const a=Object.keys(t).filter(l=>!e.hasOwnProperty(l)&&!n[l]);if(a.forEach(l=>{n[l]=!0}),!(r&&r.type===_t.REPLACE)&&a.length>0)return`Unexpected ${a.length>1?"keys":"key"} "${a.join('", "')}" found in ${o}. Expected to find one of the known reducer keys instead: "${i.join('", "')}". Unexpected keys will be ignored.`}function lm(t){Object.keys(t).forEach(e=>{const r=t[e];if(typeof r(void 0,{type:_t.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:_t.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 '${_t.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 hc(t){const e=Object.keys(t),r={};for(let a=0;a<e.length;a++){const l=e[a];process.env.NODE_ENV!=="production"&&typeof t[l]>"u"&&fc(`No reducer provided for key "${l}"`),typeof t[l]=="function"&&(r[l]=t[l])}const n=Object.keys(r);let i;process.env.NODE_ENV!=="production"&&(i={});let o;try{lm(r)}catch(a){o=a}return function(l={},s){if(o)throw o;if(process.env.NODE_ENV!=="production"){const f=am(l,r,s,i);f&&fc(f)}let c=!1;const d={};for(let f=0;f<n.length;f++){const p=n[f],g=r[p],y=l[p],h=g(y,s);if(typeof h>"u"){const b=s&&s.type;throw new Error(process.env.NODE_ENV==="production"?we(14):`When called with an action of type ${b?`"${String(b)}"`:"(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(l).length,c?d:l}}function sm(t=Cr().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 cm=hc({nodes:hc({focus:O7,edit:k7,open:N7,selection:M7,drag:sm}),dnd:R7}),um=Cr();function dm({treeProps:t,imperativeHandle:e,children:r}){const n=u.useRef(null),i=u.useRef(null),o=u.useRef(c1(cm,Cr(t))),a=Za.useSyncExternalStore(o.current.subscribe,o.current.getState,()=>um),l=u.useMemo(()=>new pr(o.current,t,n,i),[]),s=u.useRef(0);return u.useMemo(()=>{s.current+=1,l.update(t)},[...Object.values(t),a.nodes.open]),u.useImperativeHandle(e,()=>l),u.useEffect(()=>{l.props.selection?l.select(l.props.selection,{focus:!1}):l.deselectAll()},[l.props.selection]),u.useEffect(()=>{l.props.searchTerm||o.current.dispatch(ya.clear(!0))},[l.props.searchTerm]),v.jsx(Cf.Provider,{value:l,children:v.jsx(Df.Provider,{value:s.current,children:v.jsx(Ef.Provider,{value:a.nodes,children:v.jsx(wf.Provider,{value:a.dnd,children:v.jsx(V8,Object.assign({backend:zb,options:{rootElement:l.props.dndRootElement||void 0}},t.dndManager&&{manager:t.dndManager},{children:r}))})})})})}function fm(){const t=ke(),[,e]=Xf(()=>({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:a}=o1({element:t.listEl.current,offset:i,indent:t.indent,node:null,prevNode:t.visibleNodes[t.visibleNodes.length-1],nextNode:null});a&&t.dispatch(Er.hovering(a.parentId,a.index)),n.canDrop()?o&&t.showCursor(o):t.hideCursor()}}),[t]);e(t.listEl)}function hm(t){return fm(),t.children}function pm(){const e=ke().props.renderContainer||a1;return v.jsx(v.Fragment,{children:v.jsx(e,{})})}function gm(){const t=ke(),{offset:e,mouse:r,item:n,isDragging:i}=gb(a=>({offset:a.getSourceClientOffset(),mouse:a.getClientOffset(),item:a.getItem(),isDragging:a.isDragging()})),o=t.props.renderDragPreview||Bf;return v.jsx(o,{offset:e,mouse:r,id:(n==null?void 0:n.id)||null,dragIds:(n==null?void 0:n.dragIds)||[],isDragging:i})}class vm{constructor(e){this.root=bm(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 bm(t){const e=new u1({id:"ROOT"},null);return e.children=t.map(r=>$l(r,e)),e}function $l(t,e){const r=new u1(t,e);return t.children&&(r.children=t.children.map(n=>$l(n,r))),r}class u1{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=$l(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 mm=0;function ym(t){const[e,r]=u.useState(t),n=u.useMemo(()=>new vm(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-${mm++}`,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 Cm(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]=ym(t.initialData);return Object.assign(Object.assign(Object.assign({},t),r),{data:e})}else return t}function Em(t,e){const r=Cm(t);return v.jsxs(dm,{treeProps:r,imperativeHandle:e,children:[v.jsx(hm,{children:v.jsx(pm,{})}),v.jsx(gm,{})]})}const wm=u.forwardRef(Em),d1=({top:t,left:e})=>v.jsx("div",{className:"c__tree-view__cursor",style:{top:t-2,left:e+10,width:`calc(100% - ${24+e}px)`}});function Dm(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 a=i.current,l=n.current,s=a||(l?l instanceof Element?l:l.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(a){i.current=a,o()},[o])}function pc(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 xm(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}),a=o[0],l=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=Dm(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=pc(g,y,"inlineSize"),b=pc(g,y,"blockSize"),m=h?n(h):void 0,C=b?n(b):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||l(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:a.width,height:a.height}},[d,a.width,a.height])}var se=(t=>(t.NODE="node",t.SEPARATOR="separator",t.TITLE="title",t.SIMPLE_NODE="simpleNode",t.VIEW_MORE="viewMore",t))(se||{}),wt=(t=>(t.FIRST_CHILD="first-child",t.LAST_CHILD="last-child",t.LEFT="left",t.RIGHT="right",t))(wt||{});const fi=t=>t?t.nodeType===se.SEPARATOR:!1,hi=t=>t?t.nodeType===se.TITLE:!1,f1=t=>t?t.nodeType===se.VIEW_MORE:!1,zr=t=>!fi(t)&&!hi(t)&&!f1(t),h1=(t,e,r)=>{const{t:n}=X.useCunningham(),{remove:i,update:o,insert:a,insertBefore:l,insertAfter:s,append:c,prepend:d,getItem:f,move:p,items:g}=dp({initialItems:JSON.parse(JSON.stringify(t)),getKey:R=>R.id,getChildren:R=>R.children||[]}),[y,h]=u.useState(),b=(R=[])=>{const $=g.map(T=>T.key);i(...$);const P=JSON.parse(JSON.stringify(R));P.length>0&&a(null,0,...P),h(void 0)},m=R=>{const $=f(R);$&&h($.value)},C=(R,$,P)=>{var T,N,j,V;if(R){const Z=f(R);if(Z){const q=(N=Z.children)==null?void 0:N[((T=Z.children)==null?void 0:T.length)-1];let Y=P??((j=Z.children)==null?void 0:j.length)??0;P===((V=Z.children)==null?void 0:V.length)&&q&&q.value.nodeType===se.VIEW_MORE&&(Y=Y-1),a(R,Y,$)}}else a(null,P??g.length,$)},E=R=>{var $;return($=f(R))==null?void 0:$.value},F=(R,$)=>{var Z,q;const P=f(R);if(!P){console.error("No item found");return}let T=((Z=P.children)==null?void 0:Z.map(Y=>Y.value))??null;const N=$.childrenCount??P.value.childrenCount??0;if((T==null?void 0:T.length)===0&&N>0&&(T=null),$.children){const Y=[...T??[],...$.children],le=new Map;for(const G of Y)le.set(G.id,G);T=Array.from(le.values())}T&&(T=T.sort((Y,le)=>Y.nodeType===se.VIEW_MORE&&le.nodeType!==se.VIEW_MORE?1:Y.nodeType!==se.VIEW_MORE&&le.nodeType===se.VIEW_MORE?-1:0));const j=((q=$.pagination)==null?void 0:q.hasMore)??!1;T&&(T=T.filter(Y=>Y.nodeType!==se.VIEW_MORE)),j&&T&&T.push({id:`view-more-${R}`,nodeType:se.VIEW_MORE,label:n("components.treeView.viewMore")});const V={...P.value,...$,children:T,childrenCount:(T==null?void 0:T.length)??N};o(R,V)},x=R=>{i(R)},w=R=>{i(...R)},S=async R=>{if(!e){console.error("No refresh callback provided");return}try{const $=await e(R);F(R,$)}catch($){console.error("error while refreshing node:",$)}},O=(R,$)=>{a(null,$??g.length,R)},K=(R,$)=>{a(null,$??g.length,...R)},H=(R,$)=>{const P=f(R);if(!P){console.error("No item found");return}const T={...P.value,children:$,childrenCount:$.length,hasLoadedChildren:$.length>0};o(R,T)},D=R=>{const $=[],P=f(R);if(!P)return[];$.push(P.value);const T=N=>{const j=B(N);if(!j)return;const V=f(j);V&&($.push(V.value),T(j))};return T(R),$.reverse()},B=R=>{var $;return(($=f(R))==null?void 0:$.parentKey)??null},U=R=>{const $=B(R);if(!$)return null;const P=f($);return P?P.value:null},k=(R,$)=>{l(R,$)},W=(R,$)=>{s(R,$)},_=(R,$)=>{c(R,$)},I=(R,$)=>{d(R,$)},z=(R,$,P)=>{p(R,$,P)},L=R=>{z(R.sourceId,R.newParentId,R.index)},M=async R=>{var Y;if(!r)return console.error("No load paginated children callback provided"),[];const $=f(R);if(!$){console.error("No parent found");return}const T=(((Y=$==null?void 0:$.value.pagination)==null?void 0:Y.currentPage)??0)+1,N=await r(R,T);if(!N){console.error("No result found");return}const j=N.children,V=N.pagination,Z=T,q=(V==null?void 0:V.hasMore)??!1;F(R,{children:j,hasLoadedChildren:!0,pagination:{currentPage:Z,hasMore:q}})};return u.useEffect(()=>{const R=$=>{$.forEach(P=>{var T;if(P.children&&P.children.length>0){const N=P.value.hasLoadedChildren||((T=P.children)==null?void 0:T.length)>0||P.value.children&&P.value.children.length>0;P.value.children=P.children.map(V=>V.value);const j=N?P.children.length:P.value.childrenCount??0;P.value.childrenCount=j,N&&!P.value.hasLoadedChildren&&(P.value.hasLoadedChildren=!0),R(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}})};R(g)},[g]),{nodes:g,addChild:C,updateNode:F,deleteNode:x,deleteNodes:w,addRootNode:O,addRootNodes:K,selectedNode:y,setSelectedNode:h,refreshNode:S,setChildren:H,insertBeforeNode:k,insertAfterNode:W,handleMove:L,prependToNode:I,moveNode:z,appendToNode:_,move:p,resetTree:b,handleLoadChildren:M,selectNodeById:m,getParent:U,getNode:E,getParentId:B,getAncestors:D}},_l=u.createContext(null),Sm=({children:t,onRefresh:e,initialNodeId:r,onLoadChildren:n,initialTreeData:i})=>{const o=u.useRef(null),[a,l]=u.useState(null),[s,c]=u.useState(r??null),d=h1(i??[],e,n);return v.jsx(_l.Provider,{value:{treeApiRef:o,treeData:d,root:a,initialTargetId:s,setInitialTargetId:c,setRoot:l},children:t})},Pl=()=>{const t=u.useContext(_l);if(!t)throw new Error("TreeContext not found");return t},Fm=({initialOpenState:t,dndRootElement:e,selectedNodeId:r,rootNodeId:n,renderNode:i,canDrop:o,canDrag:a,afterMove:l,beforeMove:s,paddingTop:c=10,paddingBottom:d=10,rowProps:f})=>{const[p,g]=u.useState(400),{ref:y,width:h}=xm(),b=Pl(),m=(b==null?void 0:b.treeData.nodes)??[];u.useEffect(()=>{const x=document.querySelector(".c__tree-view"),w=x==null?void 0:x.firstElementChild;let S=null;return x&&w&&(S=new ResizeObserver(()=>{if(w&&w instanceof HTMLElement){const O=w.style.height;g(parseInt(O,10)+20)}}),S.observe(w)),()=>S==null?void 0:S.disconnect()},[]);const C=x=>{var $,P,T,N;const w=JSON.parse(JSON.stringify(m)),S=x.dragNodes[0],O=x.parentId?(($=x.parentNode)==null?void 0:$.data.children)??[]:w,K=x.dragNodes[0].data.value.id,H=x.dragNodes[0].data,D=(P=x.parentNode)==null?void 0:P.data;if((D==null?void 0:D.value.nodeType)===se.TITLE||(D==null?void 0:D.value.nodeType)===se.SEPARATOR||(D==null?void 0:D.value.nodeType)===se.VIEW_MORE)return null;const B=H.parentKey??n,U=x.parentId??n;let k=x.index+0,W=null,_=U;const I=((N=(T=S.parent)==null?void 0:T.children)==null?void 0:N.findIndex(j=>j.data.value.id===K))??0;if(B===U){if(I===k)return null;k=k<I?k:k-1}const z=x.index-1,L=O[z],M=x.index,R=O[M];return x.index===0?(_=x.parentId??n,W=wt.FIRST_CHILD):!D&&x.index===1&&!zr(L.value)?(_=n,k=1,W=wt.FIRST_CHILD):x.index===O.length?(_=_??n,W=wt.LAST_CHILD):L&&zr(L.value)?(_=L.value.id,W=wt.RIGHT):R&&zr(R.value)&&(W=wt.LEFT,_=R.value.id),W&&_?{targetModeId:_,mode:W,oldParentId:B,index:k,newParentId:x.parentId,sourceId:K}:null},E=x=>{const w=C(x);w&&(s?s(w,()=>{b==null||b.treeData.handleMove(w),l==null||l(w)}):(b==null||b.treeData.handleMove(w),l==null||l(w)))},F=u.useCallback(x=>a?!a(x):!1,[a]);if(b)return v.jsx("div",{ref:y,style:{height:p},className:"c__tree-view--container",children:v.jsx(wm,{dndRootElement:e,data:m,ref:b.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:x,dragNodes:w,index:S})=>{var B,U,k;if(o&&!o({parentNode:x,dragNodes:w,index:S}))return x.id!=="__REACT_ARBORIST_INTERNAL_ROOT__"&&(x.data.value.canDrop=!1),!0;const O=w[0];if(O&&O.isDragging&&O.willReceiveDrop||((B=x.data.value)==null?void 0:B.nodeType)===se.TITLE||((U=x.data.value)==null?void 0:U.nodeType)===se.SEPARATOR||((k=x.data.value)==null?void 0:k.nodeType)===se.VIEW_MORE)return!0;if(x.id==="__REACT_ARBORIST_INTERNAL_ROOT__"){const W=m[S-1],_=m[S],I=m[S+1],z=fi(W==null?void 0:W.value),L=fi(_==null?void 0:_.value),M=hi(W==null?void 0:W.value),R=hi(_==null?void 0:_.value),$=zr(I==null?void 0:I.value);return!!(S===0&&(L||R)||z&&R&&$||M&&L&&$)}const K=x==null?void 0:x.isOpen,H=(x==null?void 0:x.data.value.childrenCount)&&x.data.value.childrenCount>0||(x==null?void 0:x.data.children)&&x.data.children.length>0;if(!H)return x.data.value.canDrop=!0,!1;let D=x.data.value.childrenCount&&x.data.value.childrenCount>0&&(x==null?void 0:x.data.children)&&x.data.children.length>0;return D=D??!0,!K&&!D&&H?(x.data.value.canDrop=!0,!0):(x.data.value.canDrop=!0,!1)},initialOpenState:t,overscanCount:20,selection:r,renderCursor:d1,renderRow:x=>v.jsx($m,{...x,customRowProps:f}),rowClassName:"c__tree-view--row",children:i})})},$m=({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:a,onClick:l,...s}=e??{},{style:c}=r.attrs,d={...c},f=p=>{a==null||a(p);const g=p.target;if(g){const y=g.closest(".actions"),b=g.closest('button, a[href], input, textarea, select, [role="menuitem"], [role="button"]');if(y||b)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=>{l==null||l(p),r.node.handleClick(p)},onKeyDown:a,...s},t):u.createElement("div",{...r.attrs,style:d,key:r.node.id,ref:r.innerRef,onFocus:p=>p.stopPropagation(),onClick:p=>{l==null||l(p),p.preventDefault(),p.stopPropagation(),r.node.select()},onKeyDown:f,...s},v.jsx("div",{className:"c__tree-view--row-content",children:t}))},_m=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",p1=_m?u.useLayoutEffect:u.useEffect;function g1(t){const e=u.useRef(t);return p1(()=>{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 gc(t,e){e===void 0&&(e=[t]);const r=u.useRef(t);return p1(()=>{r.current!==t&&(r.current=t)},e),r}function Pm(t){const e=g1(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 Vo={};function Am(t,e){return u.useMemo(()=>{const r=Vo[t]==null?0:Vo[t]+1;return Vo[t]=r,t+"-"+r},[t,e])}var Wr;(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"})(Wr||(Wr={}));function vc(){}const Tm=Object.freeze({x:0,y:0});var lr;(function(t){t[t.Forward=1]="Forward",t[t.Backward=-1]="Backward"})(lr||(lr={}));var bc;(function(t){t.Click="click",t.DragStart="dragstart",t.Keydown="keydown",t.ContextMenu="contextmenu",t.Resize="resize",t.SelectionChange="selectionchange",t.VisibilityChange="visibilitychange"})(bc||(bc={}));var ct;(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"})(ct||(ct={}));ct.Space,ct.Enter,ct.Esc,ct.Space,ct.Enter,ct.Tab;var mc;(function(t){t[t.RightClick=2]="RightClick"})(mc||(mc={}));var yc;(function(t){t[t.Pointer=0]="Pointer",t[t.DraggableRect=1]="DraggableRect"})(yc||(yc={}));var Cc;(function(t){t[t.TreeOrder=0]="TreeOrder",t[t.ReversedTreeOrder=1]="ReversedTreeOrder"})(Cc||(Cc={}));lr.Backward+"",lr.Forward+"",lr.Backward+"",lr.Forward+"";var _a;(function(t){t[t.Always=0]="Always",t[t.BeforeDragging=1]="BeforeDragging",t[t.WhileDragging=2]="WhileDragging"})(_a||(_a={}));var Pa;(function(t){t.Optimized="optimized"})(Pa||(Pa={}));function km(t){let{callback:e,disabled:r}=t;const n=g1(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}_a.WhileDragging,Pa.Optimized;const Im={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:vc,draggableNodes:new Map,over:null,measureDroppableContainers:vc},Om=u.createContext(Im);({...Tm});var Ec;(function(t){t[t.Uninitialized=0]="Uninitialized",t[t.Initializing=1]="Initializing",t[t.Initialized=2]="Initialized"})(Ec||(Ec={}));const Nm="Droppable",Mm={timeout:25};function Rm(t){let{data:e,disabled:r=!1,id:n,resizeObserverConfig:i}=t;const o=Am(Nm),{active:a,dispatch:l,over:s,measureDroppableContainers:c}=u.useContext(Om),d=u.useRef({disabled:r}),f=u.useRef(!1),p=u.useRef(null),g=u.useRef(null),{disabled:y,updateMeasurementsFor:h,timeout:b}={...Mm,...i},m=gc(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},b)},[b]),E=km({callback:C,disabled:y||!a}),F=u.useCallback((O,K)=>{E&&(K&&(E.unobserve(K),f.current=!1),O&&E.observe(O))},[E]),[x,w]=Pm(F),S=gc(e);return u.useEffect(()=>{!E||!x.current||(E.disconnect(),f.current=!1,E.observe(x.current))},[x,E]),u.useEffect(()=>(l({type:Wr.RegisterDroppable,element:{id:n,key:o,disabled:r,node:x,rect:p,data:S}}),()=>l({type:Wr.UnregisterDroppable,key:o,id:n})),[n]),u.useEffect(()=>{r!==d.current.disabled&&(l({type:Wr.SetDroppableDisabled,id:n,key:o,disabled:r}),d.current.disabled=r)},[n,o,r,l]),{active:a,rect:p,isOver:(s==null?void 0:s.id)===n,node:x,over:s,setNodeRef:w}}const Bm=t=>{const{isOver:e,setNodeRef:r}=Rm({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]),v.jsx("div",{className:"c__dnd--droppable",ref:r,children:t.children})},Lm=({children:t,itemProps:e,testId:r,onClick:n,onKeyDown:i,node:o,dragHandle:a,style:l,forceLoading:s})=>{var O,K;const{t:c}=X.useCunningham(),d=Pl(),f=u.useRef(null),[p,g]=u.useState(!1),[y,h]=u.useState(!1),[b,m]=u.useState(!1),C=s??p,E=o.willReceiveDrop||b,F=o.data.value.childrenCount!==void 0&&o.data.value.childrenCount>0||(((O=o.data.children)==null?void 0:O.length)??0)>0,x=((K=o.children)==null?void 0:K.length)??!1,w=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(()=>{w||x||o.data.value.hasLoadedChildren||o.isOpen&&(g(!0),d==null||d.treeData.handleLoadChildren(o.data.value.id).then(()=>g(!1)))},[o.isOpen,w,x,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?v.jsx("div",{className:"c__tree-view--node__separator","data-testid":r}):o.data.value.nodeType===se.TITLE?v.jsx("div",{className:"c__tree-view--node__title","data-testid":r,children:o.data.value.headerTitle}):o.data.value.nodeType===se.VIEW_MORE?v.jsx("div",{className:"c__tree-view--row-content","data-testid":r,children:v.jsx("div",{className:"c__tree-view--node",style:l,children:v.jsxs("div",{role:"button",className:"c__tree-view--node__view-more-button",style:{paddingLeft:0,marginLeft:20},onClick:S,children:[y?v.jsx("div",{className:"c__tree-view--node__loading",children:v.jsx(li,{})}):v.jsx("span",{className:"material-icons c__tree-view--node__view-more-button__icon",children:"arrow_downward"}),v.jsxs("span",{className:"c__tree-view--node__view-more-text",children:[o.data.value.nodeType===se.VIEW_MORE,c("components.treeView.viewMore")]})]})})}):v.jsx(Bm,{id:o.id,data:{data:o.data,nodeApi:o},onOver:m,children:v.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:a,style:l,className:ve("c__tree-view--node",{...o.state,simpleNode:o.data.value.nodeType===se.SIMPLE_NODE,canDrop:o.data.value.canDrop??!0,externalDrop:b}),"data-testid":r,...e,children:[w&&v.jsx("div",{className:"c__tree-view--node__leaf"}),!w&&v.jsxs(v.Fragment,{children:[C&&v.jsx("div",{className:"c__tree-view--node__loading",children:v.jsx(li,{})}),!C&&v.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]})})},jm=({children:t,uppercased:e=!1,type:r="accent",className:n,...i})=>v.jsx("div",{className:ve(n,"c__badge",{"c__badge--uppercased":e,[`c__badge--${r}`]:r}),...i,children:t});function Km(t){u.useEffect(()=>{if(!t)return;let e=!1;const r=()=>Array.from(t.querySelectorAll("button")).filter(a=>!a.disabled&&a.getAttribute("aria-disabled")!=="true"),n=a=>{const l=a.key==="ArrowLeft"||a.key==="ArrowRight",s=a.key===" ";if(!(a.target instanceof HTMLElement))return;if(s){const h=a.target.closest("button");h instanceof HTMLButtonElement&&t.contains(h)&&h.click();return}if(!l)return;const d=a.target.closest("button");if(!(d instanceof HTMLButtonElement&&t.contains(d)))return;const p=r(),g=p.indexOf(d);if(g<0)return;a.preventDefault(),a.stopPropagation();const y=a.key==="ArrowRight"?(g+1)%p.length:(g-1+p.length)%p.length;p[y].focus(),e=!0},i=a=>{e&&((a.key===" "||a.key==="Enter")&&(a.preventDefault(),a.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 Zi=({roles:t,onSelect:e,canUpdate:r=!0,selectedRole:n,isOpen:i,onOpenChange:o,roleTopMessage:a,onDelete:l,canDelete:s=!0})=>{const{t:c}=X.useCunningham(),d=t.find(p=>p.value===n),f=u.useMemo(()=>!l&&!s?t:[...t,{type:"separator"},{label:c("components.share.access.delete"),callback:l,isDisabled:!s}],[t,l,c,s]);return r?v.jsx(Yr,{isOpen:i,shouldCloseOnInteractOutside:p=>!p.closest(".c__access-role-dropdown"),onOpenChange:o,options:f,selectedValues:[n],onSelectValue:e,topMessage:a,children:v.jsx(X.Button,{className:"c__access-role-dropdown","data-testid":"access-role-dropdown-button",size:"small",color:"brand",variant:"tertiary",icon:v.jsx("span",{className:"material-icons",children:i?"arrow_drop_up":"arrow_drop_down"}),iconPosition:"right",onClick:()=>{o==null||o(!i)},children:d==null?void 0:d.label})}):v.jsx("span",{className:"c__access-role-dropdown__role-label-can-not-update",children:d==null?void 0:d.label})},v1=({users:t,onRemoveUser:e,rightActions:r,onShare:n,shareButtonLabel:i,roles:o,selectedRole:a,onSelectRole:l})=>{const{t:s}=X.useCunningham(),[c,d]=u.useState(!1);return v.jsxs("div",{className:"c__add-share-user-list","data-testid":"selected-users-list",children:[v.jsx("div",{className:"c__add-share-user-list__items",children:t.map(f=>v.jsx(b1,{user:f,onRemoveUser:e},f.id))}),v.jsxs("div",{className:"c__add-share-user-list__right-actions",children:[r,v.jsx(Zi,{roles:o,selectedRole:a,onSelect:l,isOpen:c,onOpenChange:d,canDelete:!1,onDelete:void 0}),v.jsx(X.Button,{onClick:n,children:i??s("components.share.shareButton")})]})]})},b1=({user:t,onRemoveUser:e})=>v.jsxs("div",{className:"c__add-share-user-item","data-testid":"selected-user-item",children:[v.jsx("span",{children:t.full_name||t.email}),v.jsx(X.Button,{variant:"tertiary",color:"neutral",size:"nano",onClick:()=>e==null?void 0:e(t),icon:v.jsx("span",{className:"material-icons",children:"close"})})]}),Aa=["gray","brand","red","orange","brown","green","blue-1","blue-2","pink","yellow","purple"],m1=t=>t.split(/[\s-_]+/).slice(0,2).map(e=>e[0]).join("").toUpperCase(),Al=t=>{let e=0;for(let r=0;r<t.length;r++)e+=t.charCodeAt(r);return Aa[e%Aa.length]},Gi=({fullName:t,size:e="medium",forceColor:r,backgroundColor:n})=>{const i=m1(t),o=n||Al(t);return v.jsx("div",{style:{backgroundColor:r||void 0},className:ve(`c__avatar ${e}`,{[o]:!r&&o}),children:v.jsx("div",{className:"c__avatar__initials",children:i})})},qi=({fullName:t,email:e,showEmail:r=!0})=>{const n=t&&t!==""?t:e??"";return v.jsxs("div",{className:"c__user-row",children:[v.jsx(Gi,{fullName:n,size:"small"}),v.jsxs("div",{className:"c__user-row__info",children:[v.jsx("span",{className:"c__user-row__name",children:t}),r&&e&&v.jsx("span",{className:ve("c__user-row__email",{"has-only-email":e&&(t===""||!t)}),children:e})]})]})},Ta=({user:t})=>{const{t:e}=X.useCunningham();return v.jsx(Ki,{testId:"search-user-item",left:v.jsx(qi,{fullName:t.full_name,email:t.email}),alwaysShowRight:!1,right:v.jsxs("div",{className:"c__search-user-item-right",children:[v.jsx("span",{children:e("components.share.item.add")}),v.jsx("span",{className:"material-icons",children:"add"})]})})},y1=({accessData:t,accessRoleKey:e="role",roles:r,updateRole:n,deleteAccess:i,canUpdate:o=!0,roleTopMessage:a})=>{const l=mr(),s=t.is_explicit!==!1&&t.can_delete!==!1;return v.jsx("div",{className:"c__share-member-item",children:v.jsx(Ki,{testId:"share-member-item",left:v.jsx(qi,{fullName:t.user.full_name,email:t.user.email,showEmail:!0}),alwaysShowRight:!0,right:v.jsx("div",{className:"c__share-member-item__right",children:v.jsx(Zi,{roles:r,selectedRole:t[e],onSelect:c=>n==null?void 0:n(t,c),isOpen:l.isOpen,onOpenChange:l.setIsOpen,canUpdate:o,roleTopMessage:a,canDelete:s,onDelete:i?()=>i(t):void 0})})})})},C1=({invitation:t,roles:e,updateRole:r,deleteInvitation:n,canUpdate:i=!0,roleTopMessage:o})=>{const a=mr();return v.jsx("div",{className:"c__share-member-item",children:v.jsx(Ki,{testId:"share-invitation-item",left:v.jsx(qi,{fullName:"",email:t.email,showEmail:!0}),alwaysShowRight:!0,right:v.jsx("div",{className:"c__share-member-item__right",children:v.jsx(Zi,{roles:e,selectedRole:t.role,onSelect:l=>r==null?void 0:r(t,l),isOpen:a.isOpen,canUpdate:i,onOpenChange:a.setIsOpen,roleTopMessage:o,onDelete:n?()=>n(t):void 0})})})})},E1=t=>{const{t:e}=X.useCunningham();return{t:r=>(t==null?void 0:t[r])??e(r)}},Hm=()=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",children:v.jsx("path",{fill:"currentColor",d:"M18 18c.417 0 .77-.146 1.063-.438.291-.291.437-.645.437-1.062 0-.417-.146-.77-.438-1.063A1.446 1.446 0 0 0 18 15c-.417 0-.77.146-1.063.438A1.446 1.446 0 0 0 16.5 16.5c0 .417.146.77.438 1.063.291.291.645.437 1.062.437Zm0 3c.5 0 .967-.117 1.4-.35a3.011 3.011 0 0 0 1.075-.975 4.455 4.455 0 0 0-1.2-.512 5.048 5.048 0 0 0-2.55 0 4.445 4.445 0 0 0-1.2.512c.283.417.642.742 1.075.975.433.233.9.35 1.4.35ZM9 8h6V6c0-.833-.292-1.542-.875-2.125A2.893 2.893 0 0 0 12 3c-.833 0-1.542.292-2.125.875A2.893 2.893 0 0 0 9 6v2Zm3.25 14H6c-.55 0-1.02-.196-1.412-.587A1.926 1.926 0 0 1 4 20V10c0-.55.196-1.02.588-1.412A1.926 1.926 0 0 1 6 8h1V6c0-1.383.487-2.563 1.463-3.538C9.438 1.487 10.617 1 12 1s2.563.488 3.537 1.462C16.512 3.438 17 4.617 17 6v2h1c.55 0 1.02.196 1.413.588.391.391.587.862.587 1.412v1.3a5.7 5.7 0 0 0-.938-.225A7.006 7.006 0 0 0 18 11v-1H6v10h5.3c.133.4.267.746.4 1.038.133.291.317.612.55.962ZM18 23c-1.383 0-2.563-.488-3.537-1.462C13.488 20.562 13 19.383 13 18s.488-2.563 1.463-3.537C15.438 13.488 16.617 13 18 13s2.563.488 3.538 1.463C22.512 15.438 23 16.617 23 18s-.488 2.563-1.462 3.538C20.562 22.512 19.383 23 18 23Z"})}),Vm=()=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",children:v.jsx("path",{fill:"currentColor",d:"M12 22a9.738 9.738 0 0 1-3.9-.788 10.099 10.099 0 0 1-3.175-2.137c-.9-.9-1.612-1.958-2.137-3.175A9.738 9.738 0 0 1 2 12a9.74 9.74 0 0 1 .788-3.9 10.099 10.099 0 0 1 2.137-3.175c.9-.9 1.958-1.612 3.175-2.137A9.738 9.738 0 0 1 12 2a9.74 9.74 0 0 1 3.9.788 10.098 10.098 0 0 1 3.175 2.137c.9.9 1.613 1.958 2.137 3.175A9.738 9.738 0 0 1 22 12a9.738 9.738 0 0 1-.788 3.9 10.098 10.098 0 0 1-2.137 3.175c-.9.9-1.958 1.613-3.175 2.137A9.738 9.738 0 0 1 12 22Zm-1-2.05V18c-.55 0-1.02-.196-1.412-.587A1.926 1.926 0 0 1 9 16v-1l-4.8-4.8c-.05.3-.096.6-.138.9-.041.3-.062.6-.062.9 0 2.017.662 3.783 1.987 5.3 1.325 1.517 2.996 2.4 5.013 2.65Zm6.9-2.55c.333-.367.633-.762.9-1.188a7.45 7.45 0 0 0 .662-1.325c.175-.458.309-.929.4-1.412.092-.483.138-.975.138-1.475a7.845 7.845 0 0 0-1.363-4.475A7.701 7.701 0 0 0 15 4.6V5c0 .55-.196 1.02-.588 1.412A1.926 1.926 0 0 1 13 7h-2v2c0 .283-.096.52-.287.713A.968.968 0 0 1 10 10H8v2h6c.283 0 .52.096.713.287.191.192.287.43.287.713v3h1c.433 0 .825.13 1.175.387.35.259.592.596.725 1.013Z"})}),zm=()=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",children:v.jsx("path",{fill:"currentColor",d:"M12 22a9.676 9.676 0 0 1-3.875-.788 10.144 10.144 0 0 1-3.188-2.15 10.142 10.142 0 0 1-2.15-3.187A9.676 9.676 0 0 1 2 12c0-1.383.263-2.68.788-3.887a10.183 10.183 0 0 1 2.15-3.175 10.143 10.143 0 0 1 3.187-2.15A9.676 9.676 0 0 1 12 2c.533 0 1.046.038 1.537.112.492.075.98.188 1.463.338V5c0 .55-.196 1.02-.588 1.412A1.926 1.926 0 0 1 13 7h-2v2c0 .283-.096.52-.287.713A.968.968 0 0 1 10 10H8v2h6c.283 0 .52.096.713.287.191.192.287.43.287.713v3h1c.45 0 .846.133 1.188.4.341.267.579.6.712 1a8.68 8.68 0 0 0 1.538-2.462A7.621 7.621 0 0 0 20 12c0-.183-.008-.35-.025-.5a7.406 7.406 0 0 0-.075-.5h2.05c.033.183.05.35.05.5v.5a9.676 9.676 0 0 1-.788 3.875 10.143 10.143 0 0 1-2.15 3.188 10.184 10.184 0 0 1-3.175 2.15A9.649 9.649 0 0 1 12 22Zm-1-2.05V18c-.55 0-1.02-.196-1.412-.587A1.926 1.926 0 0 1 9 16v-1l-4.8-4.8c-.05.3-.096.6-.138.9-.041.3-.062.6-.062.9 0 2.067.67 3.846 2.013 5.337C7.354 18.83 9.017 19.7 11 19.95ZM18 9a.968.968 0 0 1-.712-.287A.967.967 0 0 1 17 8V5a.97.97 0 0 1 .288-.713A.968.968 0 0 1 18 4V3c0-.55.196-1.02.587-1.413A1.926 1.926 0 0 1 20 1c.55 0 1.02.196 1.413.587.39.393.587.863.587 1.413v1a.97.97 0 0 1 .712.287c.192.192.288.43.288.713v3a.97.97 0 0 1-.288.713A.968.968 0 0 1 22 9h-4Zm1-5h2V3a.967.967 0 0 0-.288-.712A.968.968 0 0 0 20 2a.968.968 0 0 0-.712.288A.967.967 0 0 0 19 3v1Z"})}),In=t=>{switch(t){case"public":return v.jsx(Vm,{});case"restricted":return v.jsx(Hm,{});case"authenticated":return v.jsx(zm,{});default:return null}},Um=({linkReachChoices:t=[],canUpdate:e,linkReach:r="public",onUpdateLinkReach:n,showLinkRole:i=!1,linkRoleChoices:o=[],linkRole:a="reader",onUpdateLinkRole:l,customTranslations:s,topLinkReachMessage:c,topLinkRoleMessage:d})=>{const f=mr(),p=mr(),[g,y]=u.useState([r]),h=g[0],[b,m]=u.useState([a]),C=b[0],{t:E}=E1(s),F=u.useMemo(()=>t.map(D=>({icon:D.icon??In(D.value),value:D.value,label:E("components.share.linkSettings.reach.choices."+D.value+".title"),...D})),[t]),x=u.useMemo(()=>F.find(D=>D.value===h),[F,h]),w=u.useMemo(()=>o.map(D=>({value:D.value,label:E("components.share.linkSettings.role.choices."+D.value+".title"),...D})),[o]),S=u.useMemo(()=>w.find(D=>D.value===C),[w,C]);u.useEffect(()=>{y([r])},[r]);const O=i&&o.length>0,K=()=>v.jsx("div",{className:"c__share-modal__link-settings__content__select",children:e?v.jsx(Yr,{onSelectValue:D=>{y([D]),n==null||n(D)},options:F,isOpen:f.isOpen,topMessage:c,onOpenChange:f.setIsOpen,selectedValues:g,children:v.jsxs(X.Button,{variant:"tertiary",icon:In(h),iconPosition:"left","data-testid":"share-link-reach-dropdown-button",onClick:()=>{e&&f.setIsOpen(!f.isOpen)},children:[x==null?void 0:x.label,v.jsx("span",{className:"material-icons",children:f.isOpen?"arrow_drop_up":"arrow_drop_down"})]})}):v.jsxs("span",{className:"c__share-modal__link-settings__content__select__value disabled",children:[In("public"),x==null?void 0:x.label]})}),H=()=>O?v.jsx("div",{className:"c__share-modal__link-settings__content__select-role",children:e?v.jsx(Yr,{onSelectValue:D=>{m([D]),l==null||l(D)},options:w,isOpen:p.isOpen,onOpenChange:p.setIsOpen,selectedValues:b,topMessage:d,children:v.jsx(X.Button,{variant:"tertiary","data-testid":"share-link-role-dropdown-button",icon:v.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})}):v.jsxs("span",{className:"c__share-modal__link-settings__content__select-role__value disabled",children:[In(C),S==null?void 0:S.label]})}):null;return v.jsxs("div",{className:"c__share-modal__link-settings","data-testid":"share-link-settings",children:[v.jsx("span",{className:"c__share-modal__link-settings__title",children:E("components.share.linkSettings.title")}),v.jsxs("div",{className:"c__share-modal__link-settings__content",children:[K(),v.jsx("div",{className:"c__share-modal__link-settings__content__description desktop",children:E(`components.share.linkSettings.reach.choices.${h}.description`)}),H()]}),v.jsx("div",{className:"c__share-modal__link-settings__content__description mobile",children:E(`components.share.linkSettings.reach.choices.${h}.description`)})]})},Wm=({searchUsersResult:t,children:e,outsideSearchContent:r,accesses:n=[],invitations:i=[],hasNextMembers:o=!1,canUpdate:a=!0,canView:l=!0,hasNextInvitations:s=!1,hideInvitations:c=!1,hideMembers:d=!1,cannotViewChildren:f,customTranslations:p,...g})=>{var T,N;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(a&&!l)throw new Error("canView cannot be false if canUpdate is true");const{t:y}=X.useCunningham(),{isMobile:h}=ot(),b=u.useRef(null),[m,C]=u.useState("400px"),E=u.useRef(null),[F,x]=u.useState(""),[w,S]=u.useState(""),[O,K]=u.useState([]),[H,D]=u.useState(((N=(T=g.invitationRoles)==null?void 0:T[0])==null?void 0:N.value)??""),B=h?"calc(100dvh - 32px)":"min(690px, calc(100dvh - 2em - 12px - 32px))",U=j=>{if(b.current&&clearTimeout(b.current),j===""){S(""),g.onSearchUsers("");return}b.current=setTimeout(()=>{g.onSearchUsers(j),S(j)},300)},k=j=>{x(j),U(j)},W=w!==""||O.length>0,_=u.useCallback(j=>{K(V=>[...V,j]),x(""),S(""),g.onSearchUsers("")},[g]),I=j=>{K(V=>V.filter(Z=>Z.id!==j.id))},z=u.useMemo(()=>{const j=t==null?void 0:t.filter(G=>!O.includes(G));let V=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&&(V=void 0),{groupName:y("components.share.search.group_name"),elements:j??[],showWhenEmpty:!0,emptyString:V,endActions:q?[{content:v.jsx(Ta,{user:Y}),onSelect:()=>void _(Y)}]:void 0}},[t,w,y,O,_]),L=j=>{var le;const Z=(j==null?void 0:j.clientHeight)??0,q=((le=E.current)==null?void 0:le.clientHeight)??0,Y=`calc(${B} - ${Z}px - ${q}px - 70px - 10px)`;C(Y)},M=!c&&!W&&!g.loading&&i.length>0,R=!d&&!W&&!g.loading&&n.length>0,P=l?c&&d?"empty":"search":"cannot_view";return v.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:v.jsxs("div",{className:"c__share-modal no-padding",children:[a&&O.length>0&&v.jsx("div",{className:"c__share-modal__selected-users",ref:E,children:v.jsx(v1,{users:O,onRemoveUser:I,roles:g.invitationRoles,selectedRole:H,onSelectRole:D,onShare:()=>{g.onInviteUser(O,H),K([])}})}),P==="cannot_view"&&v.jsxs("div",{className:"c__share-modal__cannot-view",style:{height:m},children:[v.jsx("div",{className:"c__share-modal__cannot-view__content",children:v.jsx("p",{children:g.cannotViewMessage??y("components.share.cannot_view.message")})}),f]}),P==="search"&&v.jsx(mf,{onFilter:k,inputValue:F,showInput:a,loading:g.loading,placeholder:y("components.share.user.placeholder"),children:v.jsxs("div",{style:{height:m,overflowY:"auto"},children:[W&&v.jsx("div",{className:"c__share-modal__search-users","data-testid":"search-users-list",children:v.jsx(yf,{group:z,onSelect:j=>{_(j)},renderElement:j=>v.jsx(Ta,{user:j})})}),!W&&e,M&&v.jsxs("div",{className:"c__share-modal__invitations","data-testid":"invitations-list",children:[v.jsx("span",{className:"c__share-modal__invitations-title",children:y("components.share.invitations.title")}),i.map(j=>{var V;return v.jsx(C1,{invitation:j,roles:g.invitationRoles,updateRole:g.onUpdateInvitation,deleteInvitation:g.onDeleteInvitation,canUpdate:a,roleTopMessage:(V=g.invitationRoleTopMessage)==null?void 0:V.call(g,j)},j.id)}),v.jsx(wc,{show:s,onShowMore:g.onLoadNextInvitations})]}),R&&v.jsxs("div",{className:"c__share-modal__members","data-testid":"members-list",children:[v.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,Z;return v.jsx(y1,{accessData:j,accessRoleKey:g.accessRoleKey??"role",canUpdate:a,roleTopMessage:(V=g.accessRoleTopMessage)==null?void 0:V.call(g,j),roles:((Z=g.getAccessRoles)==null?void 0:Z.call(g,j))??g.invitationRoles,updateRole:g.onUpdateAccess,deleteAccess:g.onDeleteAccess},j.id)}),v.jsx(wc,{show:o,onShowMore:g.onLoadNextMembers})]})]})}),v.jsx("div",{ref:L,children:!W&&v.jsxs("div",{className:"c__share-modal__footer",children:[g.linkSettings&&v.jsx(Um,{linkReachChoices:g.linkReachChoices,canUpdate:a,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]})})]})})},wc=({show:t,onShowMore:e})=>{const{t:r}=X.useCunningham();return t?v.jsx("div",{className:"c__share-modal__show-more-button",children:v.jsx(X.Button,{variant:"tertiary",size:"small",icon:v.jsx("span",{className:"material-icons",children:"arrow_downward"}),onClick:e,children:r("components.share.members.load_more")})}):null},Zm=({onCopyLink:t,onOk:e})=>{const{t:r}=X.useCunningham();return v.jsxs("div",{className:"c__share-modal__copy-link-footer",children:[v.jsx(X.Button,{variant:"secondary",icon:v.jsx("span",{className:"material-icons",children:"link"}),onClick:t,children:r("components.share.copyLink")}),v.jsx(X.Button,{variant:"primary",onClick:e,children:r("components.share.ok")})]})},w1=({user:t,settingsItems:e,showSettings:r,actions:n,termOfServiceUrl:i})=>{const o=!!n||!!i,{t:a}=X.useCunningham(),l=t?t.full_name??t.email:void 0,s=l?Al(l):void 0;return t?v.jsx(v.Fragment,{children:v.jsxs("div",{className:"user-menu__content__body",children:[v.jsxs("div",{className:"user-menu__content__body__user-info",style:{"--gradient-color":`var(--c--contextuals--background--palette--${s}--primary)`},children:[v.jsx(Gi,{fullName:l}),v.jsx("div",{className:"user-menu__content__identity__name",children:t.full_name?v.jsxs(v.Fragment,{children:[v.jsx("p",{className:"user-menu__content__identity__name",children:v.jsx("strong",{children:t.full_name})}),v.jsx("p",{className:"user-menu__content__identity__email",children:t.email})]}):v.jsx("p",{className:"user-menu__content__identity__email",children:v.jsx("strong",{children:t.email})})})]}),r&&v.jsxs(v.Fragment,{children:[v.jsx(an,{withPadding:!1}),v.jsx("div",{className:"user-menu__content__body__settings",children:e.map(c=>v.jsx(D1,{label:c.label,icon:c.icon,onClick:c.onClick},c.label))})]}),o&&v.jsxs(v.Fragment,{children:[v.jsx(an,{withPadding:!1}),v.jsxs("div",{className:"user-menu__actions user-menu__actions--mobile",children:[n&&v.jsx("div",{className:"user-menu__actions__left",children:n}),i&&v.jsx("div",{className:"user-menu__actions__right",children:v.jsx(X.Button,{variant:"tertiary",target:"_blank",href:i,size:"small",color:"neutral",children:a("components.userMenu.term_of_service")})})]})]})]})}):null},Gm=({...t})=>{const{t:e}=X.useCunningham(),r=S1();return v.jsxs(v.Fragment,{children:[v.jsx(x1,{user:t.user,...r}),v.jsx(X.Modal,{isOpen:r.openState,onClose:()=>r.setOpenState(!1),"aria-label":e("components.userMenu.dialogTitle"),size:X.ModalSize.FULL,children:v.jsxs("div",{className:"user-menu__popover user-menu__popover--mobile",children:[v.jsx(X.Button,{variant:"tertiary",className:"user-menu__close-button",onClick:r.toggleUserMenu,"aria-label":e("components.userMenu.close"),color:"neutral",icon:v.jsx(Jr,{name:"close"}),size:"small"}),v.jsx(w1,{...t}),v.jsx("div",{className:"user-menu__footer--mobile",children:v.jsx(X.Button,{variant:"primary",onClick:r.toggleUserMenu,children:e("components.share.ok")})})]})})]})},qm=({user:t,settingsItems:e,showSettings:r,actions:n,termOfServiceUrl:i})=>{const{t:o}=X.useCunningham(),a=S1();return v.jsxs(v.Fragment,{children:[v.jsx(x1,{user:t,...a}),v.jsx(Pi,{className:"c__dropdown-menu user-menu__popover",triggerRef:a.triggerRef,isOpen:a.openState,onOpenChange:a.setOpenState,children:v.jsx(Rp,{"aria-label":o("components.userMenu.dialogTitle"),children:v.jsx(w1,{user:t,settingsItems:e,showSettings:r,actions:n,termOfServiceUrl:i})})})]})},Ym=({user:t,settingsCTA:e,logout:r,termOfServiceUrl:n,actions:i})=>{const{t:o}=X.useCunningham(),{isTablet:a}=ot(),l=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=l.length>0;return t?v.jsx(v.Fragment,{children:a?v.jsx(Gm,{user:t,settingsItems:l,showSettings:s,actions:i,termOfServiceUrl:n}):v.jsx(qm,{user:t,settingsItems:l,showSettings:s,actions:i,termOfServiceUrl:n})}):null},D1=({label:t,icon:e,onClick:r})=>v.jsxs("div",{className:"user-menu__item",onClick:r,children:[v.jsx(Jr,{name:e}),v.jsx("span",{className:"user-menu__item__label",children:t})]}),x1=({user:t,triggerRef:e,id:r,openState:n,toggleUserMenu:i})=>{const{t:o}=X.useCunningham();return t?v.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:v.jsx(Gi,{fullName:t.full_name??t.email})}):null},S1=()=>{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}},Tl=(t,e)=>e&&t.activeIcon?t.activeIcon:t.icon,F1=u.forwardRef(({step:t,isActive:e,onClick:r,index:n,ariaLabel:i},o)=>{const a=Tl(t,e);return v.jsxs("button",{ref:o,type:"button",className:ve("c__onboarding-modal__step",{"c__onboarding-modal__step--active":e}),onClick:r,"aria-current":e?"step":void 0,"aria-label":i,tabIndex:e?0:-1,"data-testid":`onboarding-step-${n}`,children:[v.jsx("div",{className:"c__onboarding-modal__step__icon","aria-hidden":"true",children:a}),v.jsxs("div",{className:"c__onboarding-modal__step__content",children:[v.jsx("span",{className:"c__onboarding-modal__step__title",children:t.title}),t.description&&v.jsx("div",{className:"c__onboarding-modal__step__description-wrapper",children:v.jsx("span",{className:"c__onboarding-modal__step__description",children:t.description})})]})]})});F1.displayName="OnboardingStepItem";const Xm=200,$1=({isOpen:t,size:e=X.ModalSize.LARGE,appName:r,mainTitle:n,steps:i,initialStep:o=0,footerLink:a,hideContent:l,onSkip:s,onComplete:c,onClose:d,labels:f})=>{const{t:p}=X.useCunningham(),{isMobile:g}=ot(),[y,h]=u.useState(o),[b,m]=u.useState(o),[C,E]=u.useState(!1),F=u.useRef([]),x=u.useRef(null),w=u.useRef(null),S=y===i.length-1,O=y===0,K=(f==null?void 0:f.skip)??p("components.onboarding.skip"),H=(f==null?void 0:f.next)??p("components.onboarding.next"),D=(f==null?void 0:f.previous)??p("components.onboarding.previous"),B=(f==null?void 0:f.complete)??p("components.onboarding.complete"),U=i[b],k=!l&&!!(U!=null&&U.content),W=u.useCallback((T,N)=>{const j=p("components.onboarding.stepLabel").replace("{current}",String(T+1)).replace("{total}",String(i.length)).replace("{title}",N);return T===y?j+p("components.onboarding.currentStepSuffix"):j},[p,i.length,y]),_=u.useCallback(()=>p("components.onboarding.contentRegionLabel").replace("{current}",String(b+1)).replace("{total}",String(i.length)),[p,b,i.length]);u.useEffect(()=>()=>{w.current&&clearTimeout(w.current)},[]),u.useEffect(()=>{const T=F.current[y];T&&T.scrollIntoView({behavior:"smooth",block:"nearest"})},[y]),u.useEffect(()=>{if(t){w.current&&(clearTimeout(w.current),w.current=null),h(o),m(o),E(!1);const T=setTimeout(()=>{requestAnimationFrame(()=>{const N=F.current[o];N&&!g&&N.focus()})},150);return()=>clearTimeout(T)}},[t,o,g]);const I=u.useCallback(T=>{T!==y&&(w.current&&clearTimeout(w.current),E(!0),h(T),w.current=setTimeout(()=>{m(T),E(!1),w.current=null},Xm))},[y]);u.useEffect(()=>{const T=x.current;if(!T)return;const N=j=>{if(j.key!=="ArrowUp"&&j.key!=="ArrowDown"||!j.target.closest(".c__onboarding-modal__step"))return;j.preventDefault();const Z=j.key==="ArrowDown"?(y+1)%i.length:(y-1+i.length)%i.length;I(Z),setTimeout(()=>{var q;(q=F.current[Z])==null||q.focus()},0)};return T.addEventListener("keydown",N),()=>T.removeEventListener("keydown",N)},[y,i.length,I]);const z=u.useCallback(()=>{S?c():I(y+1)},[S,c,I,y]),L=u.useCallback(()=>{O||I(y-1)},[O,I,y]),M=u.useCallback(()=>{s==null||s()},[s]);if(i.length===0)return null;const R=Math.max(0,Math.min(o,i.length-1));R!==o&&process.env.NODE_ENV==="development"&&console.warn(`OnboardingModal: initialStep (${o}) is out of bounds. Using ${R} instead.`);const $=a?v.jsxs("a",{className:"c__onboarding-modal__footer-link",target:"_blank",href:a.href,onClick:T=>{a.onClick&&(a.href||T.preventDefault(),a.onClick())},children:[v.jsx("span",{className:"material-icons","aria-hidden":"true",children:"info"}),v.jsx("span",{className:"c__onboarding-modal__footer-link__label",children:a.label})]}):void 0,P=v.jsxs(v.Fragment,{children:[g&&!O&&v.jsx(X.Button,{variant:"secondary",onClick:L,"data-testid":"onboarding-previous",children:D}),s&&v.jsx(X.Button,{variant:"tertiary",onClick:M,"data-testid":"onboarding-skip",children:K}),v.jsx(X.Button,{variant:"primary",onClick:z,"data-testid":"onboarding-next",children:S?B:H})]});return v.jsx(X.Modal,{isOpen:t,onClose:d,size:g?X.ModalSize.FULL:e,closeOnClickOutside:!0,title:"","aria-label":n,leftActions:$,rightActions:P,children:v.jsxs("div",{className:"c__onboarding-modal","data-testid":"onboarding-modal",children:[v.jsxs("div",{className:"c__onboarding-modal__header",children:[r&&v.jsx("div",{className:"c__onboarding-modal__app-name",children:r}),v.jsx("h2",{className:"c__onboarding-modal__main-title",children:n})]}),v.jsxs("div",{className:ve("c__onboarding-modal__body",{"c__onboarding-modal__body--text-only":!k}),children:[v.jsx("div",{ref:x,className:"c__onboarding-modal__steps",role:"tablist","aria-orientation":"vertical","aria-label":n,children:i.map((T,N)=>v.jsx(F1,{ref:j=>{F.current[N]=j},step:T,index:N,totalSteps:i.length,isActive:N===y,ariaLabel:W(N,T.title),onClick:()=>I(N)},N))}),k&&v.jsx("div",{className:"c__onboarding-modal__content",role:"tabpanel","aria-live":"polite","aria-atomic":"true","aria-label":_(),children:v.jsx("div",{className:ve("c__onboarding-modal__content-inner",{"c__onboarding-modal__content-inner--fading":C}),children:U==null?void 0:U.content})}),(k||l)&&v.jsxs("div",{className:"c__onboarding-modal__mobile-step",children:[v.jsx("div",{className:"c__onboarding-modal__mobile-step__icon","aria-hidden":"true",children:U&&Tl(U,!0)}),v.jsxs("div",{className:"c__onboarding-modal__mobile-step__content",children:[v.jsx("span",{className:"c__onboarding-modal__mobile-step__title",children:U==null?void 0:U.title}),(U==null?void 0:U.description)&&v.jsx("span",{className:"c__onboarding-modal__mobile-step__description",children:U.description})]})]})]})]})})},Jm=({steps:t,...e})=>v.jsx($1,{...e,steps:t,size:X.ModalSize.MEDIUM,hideContent:!0}),Qm=(t,e={})=>Ti.getThemesFromGlobals(gr(Xr,t),{...e,overrides:gr(ki,e.overrides??{})});Object.defineProperty(exports,"ModalSize",{enumerable:!0,get:()=>X.ModalSize});exports.AVATAR_COLORS=Aa;exports.AccessRoleDropdown=Zi;exports.Badge=jm;exports.ContextMenu=qp;exports.ContextMenuProvider=Gp;exports.CunninghamProvider=B1;exports.CustomTabs=v7;exports.DropdownMenu=Yr;exports.Filter=Jp;exports.Footer=Xp;exports.Header=cd;exports.Hero=e3;exports.HomeGutter=t3;exports.HorizontalSeparator=an;exports.Icon=Jr;exports.IconSize=xe;exports.IconType=ii;exports.InvitationUserSelectorItem=b1;exports.InvitationUserSelectorList=v1;exports.LaGaufre=f3;exports.LaGaufreV2=od;exports.Label=Id;exports.LanguagePicker=sd;exports.LeftPanel=ud;exports.MainLayout=ng;exports.OnboardingModal=$1;exports.ProConnectButton=Sc;exports.QuickSearch=mf;exports.QuickSearchGroup=yf;exports.QuickSearchInput=bf;exports.QuickSearchItem=Bn;exports.QuickSearchItemTemplate=Ki;exports.ReleaseNoteModal=Jm;exports.SearchUserItem=Ta;exports.ShareInvitationItem=C1;exports.ShareMemberItem=y1;exports.ShareModal=Wm;exports.ShareModalCopyLinkFooter=Zm;exports.Spinner=li;exports.TreeApi=pr;exports.TreeContext=_l;exports.TreeProvider=Sm;exports.TreeView=Fm;exports.TreeViewItem=Lm;exports.TreeViewMoveModeEnum=wt;exports.TreeViewNodeTypeEnum=se;exports.TreeViewSeparator=d1;exports.UserAvatar=Gi;exports.UserMenu=Ym;exports.UserMenuItem=D1;exports.UserRow=qi;exports.VerticalSeparator=g7;exports.WithLabel=og;exports.anctGlobals=id;exports.containerSizeMap=ld;exports.cunninghamConfig=fa;exports.dsfrGlobals=nd;exports.getContainerSize=D3;exports.getIconSize=x3;exports.getStepIcon=Tl;exports.getUIKitThemesFromGlobals=Qm;exports.getUserColor=Al;exports.getUserInitials=m1;exports.headerHeight=ig;exports.iconSizeMap=ad;exports.isNode=zr;exports.isSeparator=fi;exports.isTitle=hi;exports.isViewMore=f1;exports.locales=xc;exports.useArrowRoving=Km;exports.useContextMenuContext=Q2;exports.useCustomTranslations=E1;exports.useDropdownMenu=mr;exports.useResponsive=ot;exports.useTree=h1;exports.useTreeContext=Pl;exports.whiteLabelGlobals=rd;
98
+ Use the data prop if you want to provide your own handlers.`);if(t.initialData){const[e,r]=ym(t.initialData);return Object.assign(Object.assign(Object.assign({},t),r),{data:e})}else return t}function Em(t,e){const r=Cm(t);return v.jsxs(dm,{treeProps:r,imperativeHandle:e,children:[v.jsx(hm,{children:v.jsx(pm,{})}),v.jsx(gm,{})]})}const wm=u.forwardRef(Em),d1=({top:t,left:e})=>v.jsx("div",{className:"c__tree-view__cursor",style:{top:t-2,left:e+10,width:`calc(100% - ${24+e}px)`}});function Dm(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 a=i.current,l=n.current,s=a||(l?l instanceof Element?l:l.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(a){i.current=a,o()},[o])}function pc(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 xm(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}),a=o[0],l=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=Dm(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=pc(g,y,"inlineSize"),b=pc(g,y,"blockSize"),m=h?n(h):void 0,C=b?n(b):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||l(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:a.width,height:a.height}},[d,a.width,a.height])}var se=(t=>(t.NODE="node",t.SEPARATOR="separator",t.TITLE="title",t.SIMPLE_NODE="simpleNode",t.VIEW_MORE="viewMore",t))(se||{}),wt=(t=>(t.FIRST_CHILD="first-child",t.LAST_CHILD="last-child",t.LEFT="left",t.RIGHT="right",t))(wt||{});const fi=t=>t?t.nodeType===se.SEPARATOR:!1,hi=t=>t?t.nodeType===se.TITLE:!1,f1=t=>t?t.nodeType===se.VIEW_MORE:!1,zr=t=>!fi(t)&&!hi(t)&&!f1(t),h1=(t,e,r)=>{const{t:n}=X.useCunningham(),{remove:i,update:o,insert:a,insertBefore:l,insertAfter:s,append:c,prepend:d,getItem:f,move:p,items:g}=dp({initialItems:JSON.parse(JSON.stringify(t)),getKey:R=>R.id,getChildren:R=>R.children||[]}),[y,h]=u.useState(),b=(R=[])=>{const $=g.map(T=>T.key);i(...$);const P=JSON.parse(JSON.stringify(R));P.length>0&&a(null,0,...P),h(void 0)},m=R=>{const $=f(R);$&&h($.value)},C=(R,$,P)=>{var T,N,j,V;if(R){const Z=f(R);if(Z){const q=(N=Z.children)==null?void 0:N[((T=Z.children)==null?void 0:T.length)-1];let Y=P??((j=Z.children)==null?void 0:j.length)??0;P===((V=Z.children)==null?void 0:V.length)&&q&&q.value.nodeType===se.VIEW_MORE&&(Y=Y-1),a(R,Y,$)}}else a(null,P??g.length,$)},E=R=>{var $;return($=f(R))==null?void 0:$.value},F=(R,$)=>{var Z,q;const P=f(R);if(!P){console.error("No item found");return}let T=((Z=P.children)==null?void 0:Z.map(Y=>Y.value))??null;const N=$.childrenCount??P.value.childrenCount??0;if((T==null?void 0:T.length)===0&&N>0&&(T=null),$.children){const Y=[...T??[],...$.children],le=new Map;for(const G of Y)le.set(G.id,G);T=Array.from(le.values())}T&&(T=T.sort((Y,le)=>Y.nodeType===se.VIEW_MORE&&le.nodeType!==se.VIEW_MORE?1:Y.nodeType!==se.VIEW_MORE&&le.nodeType===se.VIEW_MORE?-1:0));const j=((q=$.pagination)==null?void 0:q.hasMore)??!1;T&&(T=T.filter(Y=>Y.nodeType!==se.VIEW_MORE)),j&&T&&T.push({id:`view-more-${R}`,nodeType:se.VIEW_MORE,label:n("components.treeView.viewMore")});const V={...P.value,...$,children:T,childrenCount:(T==null?void 0:T.length)??N};o(R,V)},x=R=>{i(R)},w=R=>{i(...R)},S=async R=>{if(!e){console.error("No refresh callback provided");return}try{const $=await e(R);F(R,$)}catch($){console.error("error while refreshing node:",$)}},O=(R,$)=>{a(null,$??g.length,R)},K=(R,$)=>{a(null,$??g.length,...R)},H=(R,$)=>{const P=f(R);if(!P){console.error("No item found");return}const T={...P.value,children:$,childrenCount:$.length,hasLoadedChildren:$.length>0};o(R,T)},D=R=>{const $=[],P=f(R);if(!P)return[];$.push(P.value);const T=N=>{const j=B(N);if(!j)return;const V=f(j);V&&($.push(V.value),T(j))};return T(R),$.reverse()},B=R=>{var $;return(($=f(R))==null?void 0:$.parentKey)??null},U=R=>{const $=B(R);if(!$)return null;const P=f($);return P?P.value:null},k=(R,$)=>{l(R,$)},W=(R,$)=>{s(R,$)},_=(R,$)=>{c(R,$)},I=(R,$)=>{d(R,$)},z=(R,$,P)=>{p(R,$,P)},L=R=>{z(R.sourceId,R.newParentId,R.index)},M=async R=>{var Y;if(!r)return console.error("No load paginated children callback provided"),[];const $=f(R);if(!$){console.error("No parent found");return}const T=(((Y=$==null?void 0:$.value.pagination)==null?void 0:Y.currentPage)??0)+1,N=await r(R,T);if(!N){console.error("No result found");return}const j=N.children,V=N.pagination,Z=T,q=(V==null?void 0:V.hasMore)??!1;F(R,{children:j,hasLoadedChildren:!0,pagination:{currentPage:Z,hasMore:q}})};return u.useEffect(()=>{const R=$=>{$.forEach(P=>{var T;if(P.children&&P.children.length>0){const N=P.value.hasLoadedChildren||((T=P.children)==null?void 0:T.length)>0||P.value.children&&P.value.children.length>0;P.value.children=P.children.map(V=>V.value);const j=N?P.children.length:P.value.childrenCount??0;P.value.childrenCount=j,N&&!P.value.hasLoadedChildren&&(P.value.hasLoadedChildren=!0),R(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}})};R(g)},[g]),{nodes:g,addChild:C,updateNode:F,deleteNode:x,deleteNodes:w,addRootNode:O,addRootNodes:K,selectedNode:y,setSelectedNode:h,refreshNode:S,setChildren:H,insertBeforeNode:k,insertAfterNode:W,handleMove:L,prependToNode:I,moveNode:z,appendToNode:_,move:p,resetTree:b,handleLoadChildren:M,selectNodeById:m,getParent:U,getNode:E,getParentId:B,getAncestors:D}},_l=u.createContext(null),Sm=({children:t,onRefresh:e,initialNodeId:r,onLoadChildren:n,initialTreeData:i})=>{const o=u.useRef(null),[a,l]=u.useState(null),[s,c]=u.useState(r??null),d=h1(i??[],e,n);return v.jsx(_l.Provider,{value:{treeApiRef:o,treeData:d,root:a,initialTargetId:s,setInitialTargetId:c,setRoot:l},children:t})},Pl=()=>{const t=u.useContext(_l);if(!t)throw new Error("TreeContext not found");return t},Fm=({initialOpenState:t,dndRootElement:e,selectedNodeId:r,rootNodeId:n,renderNode:i,canDrop:o,canDrag:a,afterMove:l,beforeMove:s,paddingTop:c=10,paddingBottom:d=10,rowProps:f})=>{const[p,g]=u.useState(400),{ref:y,width:h}=xm(),b=Pl(),m=(b==null?void 0:b.treeData.nodes)??[];u.useEffect(()=>{const x=document.querySelector(".c__tree-view"),w=x==null?void 0:x.firstElementChild;let S=null;return x&&w&&(S=new ResizeObserver(()=>{if(w&&w instanceof HTMLElement){const O=w.style.height;g(parseInt(O,10)+20)}}),S.observe(w)),()=>S==null?void 0:S.disconnect()},[]);const C=x=>{var $,P,T,N;const w=JSON.parse(JSON.stringify(m)),S=x.dragNodes[0],O=x.parentId?(($=x.parentNode)==null?void 0:$.data.children)??[]:w,K=x.dragNodes[0].data.value.id,H=x.dragNodes[0].data,D=(P=x.parentNode)==null?void 0:P.data;if((D==null?void 0:D.value.nodeType)===se.TITLE||(D==null?void 0:D.value.nodeType)===se.SEPARATOR||(D==null?void 0:D.value.nodeType)===se.VIEW_MORE)return null;const B=H.parentKey??n,U=x.parentId??n;let k=x.index+0,W=null,_=U;const I=((N=(T=S.parent)==null?void 0:T.children)==null?void 0:N.findIndex(j=>j.data.value.id===K))??0;if(B===U){if(I===k)return null;k=k<I?k:k-1}const z=x.index-1,L=O[z],M=x.index,R=O[M];return x.index===0?(_=x.parentId??n,W=wt.FIRST_CHILD):!D&&x.index===1&&!zr(L.value)?(_=n,k=1,W=wt.FIRST_CHILD):x.index===O.length?(_=_??n,W=wt.LAST_CHILD):L&&zr(L.value)?(_=L.value.id,W=wt.RIGHT):R&&zr(R.value)&&(W=wt.LEFT,_=R.value.id),W&&_?{targetModeId:_,mode:W,oldParentId:B,index:k,newParentId:x.parentId,sourceId:K}:null},E=x=>{const w=C(x);w&&(s?s(w,()=>{b==null||b.treeData.handleMove(w),l==null||l(w)}):(b==null||b.treeData.handleMove(w),l==null||l(w)))},F=u.useCallback(x=>a?!a(x):!1,[a]);if(b)return v.jsx("div",{ref:y,style:{height:p},className:"c__tree-view--container",children:v.jsx(wm,{dndRootElement:e,data:m,ref:b.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:x,dragNodes:w,index:S})=>{var B,U,k;if(o&&!o({parentNode:x,dragNodes:w,index:S}))return x.id!=="__REACT_ARBORIST_INTERNAL_ROOT__"&&(x.data.value.canDrop=!1),!0;const O=w[0];if(O&&O.isDragging&&O.willReceiveDrop||((B=x.data.value)==null?void 0:B.nodeType)===se.TITLE||((U=x.data.value)==null?void 0:U.nodeType)===se.SEPARATOR||((k=x.data.value)==null?void 0:k.nodeType)===se.VIEW_MORE)return!0;if(x.id==="__REACT_ARBORIST_INTERNAL_ROOT__"){const W=m[S-1],_=m[S],I=m[S+1],z=fi(W==null?void 0:W.value),L=fi(_==null?void 0:_.value),M=hi(W==null?void 0:W.value),R=hi(_==null?void 0:_.value),$=zr(I==null?void 0:I.value);return!!(S===0&&(L||R)||z&&R&&$||M&&L&&$)}const K=x==null?void 0:x.isOpen,H=(x==null?void 0:x.data.value.childrenCount)&&x.data.value.childrenCount>0||(x==null?void 0:x.data.children)&&x.data.children.length>0;if(!H)return x.data.value.canDrop=!0,!1;let D=x.data.value.childrenCount&&x.data.value.childrenCount>0&&(x==null?void 0:x.data.children)&&x.data.children.length>0;return D=D??!0,!K&&!D&&H?(x.data.value.canDrop=!0,!0):(x.data.value.canDrop=!0,!1)},initialOpenState:t,overscanCount:20,selection:r,renderCursor:d1,renderRow:x=>v.jsx($m,{...x,customRowProps:f}),rowClassName:"c__tree-view--row",children:i})})},$m=({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:a,onClick:l,...s}=e??{},{style:c}=r.attrs,d={...c},f=p=>{a==null||a(p);const g=p.target;if(g){const y=g.closest(".actions"),b=g.closest('button, a[href], input, textarea, select, [role="menuitem"], [role="button"]');if(y||b)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=>{l==null||l(p),r.node.handleClick(p)},onKeyDown:a,...s},t):u.createElement("div",{...r.attrs,style:d,key:r.node.id,ref:r.innerRef,onFocus:p=>p.stopPropagation(),onClick:p=>{l==null||l(p),p.preventDefault(),p.stopPropagation(),r.node.select()},onKeyDown:f,...s},v.jsx("div",{className:"c__tree-view--row-content",children:t}))},_m=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",p1=_m?u.useLayoutEffect:u.useEffect;function g1(t){const e=u.useRef(t);return p1(()=>{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 gc(t,e){e===void 0&&(e=[t]);const r=u.useRef(t);return p1(()=>{r.current!==t&&(r.current=t)},e),r}function Pm(t){const e=g1(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 Vo={};function Am(t,e){return u.useMemo(()=>{const r=Vo[t]==null?0:Vo[t]+1;return Vo[t]=r,t+"-"+r},[t,e])}var Wr;(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"})(Wr||(Wr={}));function vc(){}const Tm=Object.freeze({x:0,y:0});var lr;(function(t){t[t.Forward=1]="Forward",t[t.Backward=-1]="Backward"})(lr||(lr={}));var bc;(function(t){t.Click="click",t.DragStart="dragstart",t.Keydown="keydown",t.ContextMenu="contextmenu",t.Resize="resize",t.SelectionChange="selectionchange",t.VisibilityChange="visibilitychange"})(bc||(bc={}));var ct;(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"})(ct||(ct={}));ct.Space,ct.Enter,ct.Esc,ct.Space,ct.Enter,ct.Tab;var mc;(function(t){t[t.RightClick=2]="RightClick"})(mc||(mc={}));var yc;(function(t){t[t.Pointer=0]="Pointer",t[t.DraggableRect=1]="DraggableRect"})(yc||(yc={}));var Cc;(function(t){t[t.TreeOrder=0]="TreeOrder",t[t.ReversedTreeOrder=1]="ReversedTreeOrder"})(Cc||(Cc={}));lr.Backward+"",lr.Forward+"",lr.Backward+"",lr.Forward+"";var _a;(function(t){t[t.Always=0]="Always",t[t.BeforeDragging=1]="BeforeDragging",t[t.WhileDragging=2]="WhileDragging"})(_a||(_a={}));var Pa;(function(t){t.Optimized="optimized"})(Pa||(Pa={}));function km(t){let{callback:e,disabled:r}=t;const n=g1(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}_a.WhileDragging,Pa.Optimized;const Im={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:vc,draggableNodes:new Map,over:null,measureDroppableContainers:vc},Om=u.createContext(Im);({...Tm});var Ec;(function(t){t[t.Uninitialized=0]="Uninitialized",t[t.Initializing=1]="Initializing",t[t.Initialized=2]="Initialized"})(Ec||(Ec={}));const Nm="Droppable",Mm={timeout:25};function Rm(t){let{data:e,disabled:r=!1,id:n,resizeObserverConfig:i}=t;const o=Am(Nm),{active:a,dispatch:l,over:s,measureDroppableContainers:c}=u.useContext(Om),d=u.useRef({disabled:r}),f=u.useRef(!1),p=u.useRef(null),g=u.useRef(null),{disabled:y,updateMeasurementsFor:h,timeout:b}={...Mm,...i},m=gc(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},b)},[b]),E=km({callback:C,disabled:y||!a}),F=u.useCallback((O,K)=>{E&&(K&&(E.unobserve(K),f.current=!1),O&&E.observe(O))},[E]),[x,w]=Pm(F),S=gc(e);return u.useEffect(()=>{!E||!x.current||(E.disconnect(),f.current=!1,E.observe(x.current))},[x,E]),u.useEffect(()=>(l({type:Wr.RegisterDroppable,element:{id:n,key:o,disabled:r,node:x,rect:p,data:S}}),()=>l({type:Wr.UnregisterDroppable,key:o,id:n})),[n]),u.useEffect(()=>{r!==d.current.disabled&&(l({type:Wr.SetDroppableDisabled,id:n,key:o,disabled:r}),d.current.disabled=r)},[n,o,r,l]),{active:a,rect:p,isOver:(s==null?void 0:s.id)===n,node:x,over:s,setNodeRef:w}}const Bm=t=>{const{isOver:e,setNodeRef:r}=Rm({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]),v.jsx("div",{className:"c__dnd--droppable",ref:r,children:t.children})},Lm=({children:t,itemProps:e,testId:r,onClick:n,onKeyDown:i,node:o,dragHandle:a,style:l,forceLoading:s})=>{var O,K;const{t:c}=X.useCunningham(),d=Pl(),f=u.useRef(null),[p,g]=u.useState(!1),[y,h]=u.useState(!1),[b,m]=u.useState(!1),C=s??p,E=o.willReceiveDrop||b,F=o.data.value.childrenCount!==void 0&&o.data.value.childrenCount>0||(((O=o.data.children)==null?void 0:O.length)??0)>0,x=((K=o.children)==null?void 0:K.length)??!1,w=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(()=>{w||x||o.data.value.hasLoadedChildren||o.isOpen&&(g(!0),d==null||d.treeData.handleLoadChildren(o.data.value.id).then(()=>g(!1)))},[o.isOpen,w,x,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?v.jsx("div",{className:"c__tree-view--node__separator","data-testid":r}):o.data.value.nodeType===se.TITLE?v.jsx("div",{className:"c__tree-view--node__title","data-testid":r,children:o.data.value.headerTitle}):o.data.value.nodeType===se.VIEW_MORE?v.jsx("div",{className:"c__tree-view--row-content","data-testid":r,children:v.jsx("div",{className:"c__tree-view--node",style:l,children:v.jsxs("div",{role:"button",className:"c__tree-view--node__view-more-button",style:{paddingLeft:0,marginLeft:20},onClick:S,children:[y?v.jsx("div",{className:"c__tree-view--node__loading",children:v.jsx(li,{})}):v.jsx("span",{className:"material-icons c__tree-view--node__view-more-button__icon",children:"arrow_downward"}),v.jsxs("span",{className:"c__tree-view--node__view-more-text",children:[o.data.value.nodeType===se.VIEW_MORE,c("components.treeView.viewMore")]})]})})}):v.jsx(Bm,{id:o.id,data:{data:o.data,nodeApi:o},onOver:m,children:v.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:a,style:l,className:ve("c__tree-view--node",{...o.state,simpleNode:o.data.value.nodeType===se.SIMPLE_NODE,canDrop:o.data.value.canDrop??!0,externalDrop:b}),"data-testid":r,...e,children:[w&&v.jsx("div",{className:"c__tree-view--node__leaf"}),!w&&v.jsxs(v.Fragment,{children:[C&&v.jsx("div",{className:"c__tree-view--node__loading",children:v.jsx(li,{})}),!C&&v.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]})})},jm=({children:t,uppercased:e=!1,type:r="accent",className:n,...i})=>v.jsx("div",{className:ve(n,"c__badge",{"c__badge--uppercased":e,[`c__badge--${r}`]:r}),...i,children:t});function Km(t){u.useEffect(()=>{if(!t)return;let e=!1;const r=()=>Array.from(t.querySelectorAll("button")).filter(a=>!a.disabled&&a.getAttribute("aria-disabled")!=="true"),n=a=>{const l=a.key==="ArrowLeft"||a.key==="ArrowRight",s=a.key===" ";if(!(a.target instanceof HTMLElement))return;if(s){const h=a.target.closest("button");h instanceof HTMLButtonElement&&t.contains(h)&&h.click();return}if(!l)return;const d=a.target.closest("button");if(!(d instanceof HTMLButtonElement&&t.contains(d)))return;const p=r(),g=p.indexOf(d);if(g<0)return;a.preventDefault(),a.stopPropagation();const y=a.key==="ArrowRight"?(g+1)%p.length:(g-1+p.length)%p.length;p[y].focus(),e=!0},i=a=>{e&&((a.key===" "||a.key==="Enter")&&(a.preventDefault(),a.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 Zi=({roles:t,onSelect:e,canUpdate:r=!0,selectedRole:n,isOpen:i,onOpenChange:o,roleTopMessage:a,onDelete:l,canDelete:s=!0})=>{const{t:c}=X.useCunningham(),d=t.find(p=>p.value===n),f=u.useMemo(()=>!l&&!s?t:[...t,{type:"separator"},{label:c("components.share.access.delete"),callback:l,isDisabled:!s}],[t,l,c,s]);return r?v.jsx(Yr,{isOpen:i,shouldCloseOnInteractOutside:p=>!p.closest(".c__access-role-dropdown"),onOpenChange:o,options:f,selectedValues:[n],onSelectValue:e,topMessage:a,children:v.jsx(X.Button,{className:"c__access-role-dropdown","data-testid":"access-role-dropdown-button",size:"small",color:"brand",variant:"tertiary",icon:v.jsx("span",{className:"material-icons",children:i?"arrow_drop_up":"arrow_drop_down"}),iconPosition:"right",onClick:()=>{o==null||o(!i)},children:d==null?void 0:d.label})}):v.jsx("span",{className:"c__access-role-dropdown__role-label-can-not-update",children:d==null?void 0:d.label})},v1=({users:t,onRemoveUser:e,rightActions:r,onShare:n,shareButtonLabel:i,roles:o,selectedRole:a,onSelectRole:l})=>{const{t:s}=X.useCunningham(),[c,d]=u.useState(!1);return v.jsxs("div",{className:"c__add-share-user-list","data-testid":"selected-users-list",children:[v.jsx("div",{className:"c__add-share-user-list__items",children:t.map(f=>v.jsx(b1,{user:f,onRemoveUser:e},f.id))}),v.jsxs("div",{className:"c__add-share-user-list__right-actions",children:[r,v.jsx(Zi,{roles:o,selectedRole:a,onSelect:l,isOpen:c,onOpenChange:d,canDelete:!1,onDelete:void 0}),v.jsx(X.Button,{onClick:n,children:i??s("components.share.shareButton")})]})]})},b1=({user:t,onRemoveUser:e})=>v.jsxs("div",{className:"c__add-share-user-item","data-testid":"selected-user-item",children:[v.jsx("span",{children:t.full_name||t.email}),v.jsx(X.Button,{variant:"tertiary",color:"neutral",size:"nano",onClick:()=>e==null?void 0:e(t),icon:v.jsx("span",{className:"material-icons",children:"close"})})]}),Aa=["gray","brand","red","orange","brown","green","blue-1","blue-2","pink","yellow","purple"],m1=t=>t.split(/[\s-_]+/).slice(0,2).map(e=>e[0]).join("").toUpperCase(),Al=t=>{let e=0;for(let r=0;r<t.length;r++)e+=t.charCodeAt(r);return Aa[e%Aa.length]},Gi=({fullName:t,size:e="medium",forceColor:r,backgroundColor:n})=>{const i=m1(t),o=n||Al(t);return v.jsx("div",{style:{backgroundColor:r||void 0},className:ve(`c__avatar ${e}`,{[o]:!r&&o}),children:v.jsx("div",{className:"c__avatar__initials",children:i})})},qi=({fullName:t,email:e,showEmail:r=!0})=>{const n=t&&t!==""?t:e??"";return v.jsxs("div",{className:"c__user-row",children:[v.jsx(Gi,{fullName:n,size:"small"}),v.jsxs("div",{className:"c__user-row__info",children:[v.jsx("span",{className:"c__user-row__name",children:t}),r&&e&&v.jsx("span",{className:ve("c__user-row__email",{"has-only-email":e&&(t===""||!t)}),children:e})]})]})},Ta=({user:t})=>{const{t:e}=X.useCunningham();return v.jsx(Ki,{testId:"search-user-item",left:v.jsx(qi,{fullName:t.full_name,email:t.email}),alwaysShowRight:!1,right:v.jsxs("div",{className:"c__search-user-item-right",children:[v.jsx("span",{children:e("components.share.item.add")}),v.jsx("span",{className:"material-icons",children:"add"})]})})},y1=({accessData:t,accessRoleKey:e="role",roles:r,updateRole:n,deleteAccess:i,canUpdate:o=!0,roleTopMessage:a})=>{const l=mr(),s=t.is_explicit!==!1&&t.can_delete!==!1;return v.jsx("div",{className:"c__share-member-item",children:v.jsx(Ki,{testId:"share-member-item",left:v.jsx(qi,{fullName:t.user.full_name,email:t.user.email,showEmail:!0}),alwaysShowRight:!0,right:v.jsx("div",{className:"c__share-member-item__right",children:v.jsx(Zi,{roles:r,selectedRole:t[e],onSelect:c=>n==null?void 0:n(t,c),isOpen:l.isOpen,onOpenChange:l.setIsOpen,canUpdate:o,roleTopMessage:a,canDelete:s,onDelete:i?()=>i(t):void 0})})})})},C1=({invitation:t,roles:e,updateRole:r,deleteInvitation:n,canUpdate:i=!0,roleTopMessage:o})=>{const a=mr();return v.jsx("div",{className:"c__share-member-item",children:v.jsx(Ki,{testId:"share-invitation-item",left:v.jsx(qi,{fullName:"",email:t.email,showEmail:!0}),alwaysShowRight:!0,right:v.jsx("div",{className:"c__share-member-item__right",children:v.jsx(Zi,{roles:e,selectedRole:t.role,onSelect:l=>r==null?void 0:r(t,l),isOpen:a.isOpen,canUpdate:i,onOpenChange:a.setIsOpen,roleTopMessage:o,onDelete:n?()=>n(t):void 0})})})})},E1=t=>{const{t:e}=X.useCunningham();return{t:r=>(t==null?void 0:t[r])??e(r)}},Hm=()=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",children:v.jsx("path",{fill:"currentColor",d:"M18 18c.417 0 .77-.146 1.063-.438.291-.291.437-.645.437-1.062 0-.417-.146-.77-.438-1.063A1.446 1.446 0 0 0 18 15c-.417 0-.77.146-1.063.438A1.446 1.446 0 0 0 16.5 16.5c0 .417.146.77.438 1.063.291.291.645.437 1.062.437Zm0 3c.5 0 .967-.117 1.4-.35a3.011 3.011 0 0 0 1.075-.975 4.455 4.455 0 0 0-1.2-.512 5.048 5.048 0 0 0-2.55 0 4.445 4.445 0 0 0-1.2.512c.283.417.642.742 1.075.975.433.233.9.35 1.4.35ZM9 8h6V6c0-.833-.292-1.542-.875-2.125A2.893 2.893 0 0 0 12 3c-.833 0-1.542.292-2.125.875A2.893 2.893 0 0 0 9 6v2Zm3.25 14H6c-.55 0-1.02-.196-1.412-.587A1.926 1.926 0 0 1 4 20V10c0-.55.196-1.02.588-1.412A1.926 1.926 0 0 1 6 8h1V6c0-1.383.487-2.563 1.463-3.538C9.438 1.487 10.617 1 12 1s2.563.488 3.537 1.462C16.512 3.438 17 4.617 17 6v2h1c.55 0 1.02.196 1.413.588.391.391.587.862.587 1.412v1.3a5.7 5.7 0 0 0-.938-.225A7.006 7.006 0 0 0 18 11v-1H6v10h5.3c.133.4.267.746.4 1.038.133.291.317.612.55.962ZM18 23c-1.383 0-2.563-.488-3.537-1.462C13.488 20.562 13 19.383 13 18s.488-2.563 1.463-3.537C15.438 13.488 16.617 13 18 13s2.563.488 3.538 1.463C22.512 15.438 23 16.617 23 18s-.488 2.563-1.462 3.538C20.562 22.512 19.383 23 18 23Z"})}),Vm=()=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",children:v.jsx("path",{fill:"currentColor",d:"M12 22a9.738 9.738 0 0 1-3.9-.788 10.099 10.099 0 0 1-3.175-2.137c-.9-.9-1.612-1.958-2.137-3.175A9.738 9.738 0 0 1 2 12a9.74 9.74 0 0 1 .788-3.9 10.099 10.099 0 0 1 2.137-3.175c.9-.9 1.958-1.612 3.175-2.137A9.738 9.738 0 0 1 12 2a9.74 9.74 0 0 1 3.9.788 10.098 10.098 0 0 1 3.175 2.137c.9.9 1.613 1.958 2.137 3.175A9.738 9.738 0 0 1 22 12a9.738 9.738 0 0 1-.788 3.9 10.098 10.098 0 0 1-2.137 3.175c-.9.9-1.958 1.613-3.175 2.137A9.738 9.738 0 0 1 12 22Zm-1-2.05V18c-.55 0-1.02-.196-1.412-.587A1.926 1.926 0 0 1 9 16v-1l-4.8-4.8c-.05.3-.096.6-.138.9-.041.3-.062.6-.062.9 0 2.017.662 3.783 1.987 5.3 1.325 1.517 2.996 2.4 5.013 2.65Zm6.9-2.55c.333-.367.633-.762.9-1.188a7.45 7.45 0 0 0 .662-1.325c.175-.458.309-.929.4-1.412.092-.483.138-.975.138-1.475a7.845 7.845 0 0 0-1.363-4.475A7.701 7.701 0 0 0 15 4.6V5c0 .55-.196 1.02-.588 1.412A1.926 1.926 0 0 1 13 7h-2v2c0 .283-.096.52-.287.713A.968.968 0 0 1 10 10H8v2h6c.283 0 .52.096.713.287.191.192.287.43.287.713v3h1c.433 0 .825.13 1.175.387.35.259.592.596.725 1.013Z"})}),zm=()=>v.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",children:v.jsx("path",{fill:"currentColor",d:"M12 22a9.676 9.676 0 0 1-3.875-.788 10.144 10.144 0 0 1-3.188-2.15 10.142 10.142 0 0 1-2.15-3.187A9.676 9.676 0 0 1 2 12c0-1.383.263-2.68.788-3.887a10.183 10.183 0 0 1 2.15-3.175 10.143 10.143 0 0 1 3.187-2.15A9.676 9.676 0 0 1 12 2c.533 0 1.046.038 1.537.112.492.075.98.188 1.463.338V5c0 .55-.196 1.02-.588 1.412A1.926 1.926 0 0 1 13 7h-2v2c0 .283-.096.52-.287.713A.968.968 0 0 1 10 10H8v2h6c.283 0 .52.096.713.287.191.192.287.43.287.713v3h1c.45 0 .846.133 1.188.4.341.267.579.6.712 1a8.68 8.68 0 0 0 1.538-2.462A7.621 7.621 0 0 0 20 12c0-.183-.008-.35-.025-.5a7.406 7.406 0 0 0-.075-.5h2.05c.033.183.05.35.05.5v.5a9.676 9.676 0 0 1-.788 3.875 10.143 10.143 0 0 1-2.15 3.188 10.184 10.184 0 0 1-3.175 2.15A9.649 9.649 0 0 1 12 22Zm-1-2.05V18c-.55 0-1.02-.196-1.412-.587A1.926 1.926 0 0 1 9 16v-1l-4.8-4.8c-.05.3-.096.6-.138.9-.041.3-.062.6-.062.9 0 2.067.67 3.846 2.013 5.337C7.354 18.83 9.017 19.7 11 19.95ZM18 9a.968.968 0 0 1-.712-.287A.967.967 0 0 1 17 8V5a.97.97 0 0 1 .288-.713A.968.968 0 0 1 18 4V3c0-.55.196-1.02.587-1.413A1.926 1.926 0 0 1 20 1c.55 0 1.02.196 1.413.587.39.393.587.863.587 1.413v1a.97.97 0 0 1 .712.287c.192.192.288.43.288.713v3a.97.97 0 0 1-.288.713A.968.968 0 0 1 22 9h-4Zm1-5h2V3a.967.967 0 0 0-.288-.712A.968.968 0 0 0 20 2a.968.968 0 0 0-.712.288A.967.967 0 0 0 19 3v1Z"})}),In=t=>{switch(t){case"public":return v.jsx(Vm,{});case"restricted":return v.jsx(Hm,{});case"authenticated":return v.jsx(zm,{});default:return null}},Um=({linkReachChoices:t=[],canUpdate:e,linkReach:r="public",onUpdateLinkReach:n,showLinkRole:i=!1,linkRoleChoices:o=[],linkRole:a="reader",onUpdateLinkRole:l,customTranslations:s,topLinkReachMessage:c,topLinkRoleMessage:d})=>{const f=mr(),p=mr(),[g,y]=u.useState([r]),h=g[0],[b,m]=u.useState([a]),C=b[0],{t:E}=E1(s),F=u.useMemo(()=>t.map(D=>({icon:D.icon??In(D.value),value:D.value,label:E("components.share.linkSettings.reach.choices."+D.value+".title"),...D})),[t]),x=u.useMemo(()=>F.find(D=>D.value===h),[F,h]),w=u.useMemo(()=>o.map(D=>({value:D.value,label:E("components.share.linkSettings.role.choices."+D.value+".title"),...D})),[o]),S=u.useMemo(()=>w.find(D=>D.value===C),[w,C]);u.useEffect(()=>{y([r])},[r]);const O=i&&o.length>0,K=()=>v.jsx("div",{className:"c__share-modal__link-settings__content__select",children:e?v.jsx(Yr,{onSelectValue:D=>{y([D]),n==null||n(D)},options:F,isOpen:f.isOpen,topMessage:c,onOpenChange:f.setIsOpen,selectedValues:g,children:v.jsxs(X.Button,{variant:"tertiary",icon:In(h),iconPosition:"left","data-testid":"share-link-reach-dropdown-button",onClick:()=>{e&&f.setIsOpen(!f.isOpen)},children:[x==null?void 0:x.label,v.jsx("span",{className:"material-icons",children:f.isOpen?"arrow_drop_up":"arrow_drop_down"})]})}):v.jsxs("span",{className:"c__share-modal__link-settings__content__select__value disabled",children:[In("public"),x==null?void 0:x.label]})}),H=()=>O?v.jsx("div",{className:"c__share-modal__link-settings__content__select-role",children:e?v.jsx(Yr,{onSelectValue:D=>{m([D]),l==null||l(D)},options:w,isOpen:p.isOpen,onOpenChange:p.setIsOpen,selectedValues:b,topMessage:d,children:v.jsx(X.Button,{variant:"tertiary","data-testid":"share-link-role-dropdown-button",icon:v.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})}):v.jsxs("span",{className:"c__share-modal__link-settings__content__select-role__value disabled",children:[In(C),S==null?void 0:S.label]})}):null;return v.jsxs("div",{className:"c__share-modal__link-settings","data-testid":"share-link-settings",children:[v.jsx("span",{className:"c__share-modal__link-settings__title",children:E("components.share.linkSettings.title")}),v.jsxs("div",{className:"c__share-modal__link-settings__content",children:[K(),v.jsx("div",{className:"c__share-modal__link-settings__content__description desktop",children:E(`components.share.linkSettings.reach.choices.${h}.description`)}),H()]}),v.jsx("div",{className:"c__share-modal__link-settings__content__description mobile",children:E(`components.share.linkSettings.reach.choices.${h}.description`)})]})},Wm=({searchUsersResult:t,children:e,outsideSearchContent:r,accesses:n=[],invitations:i=[],hasNextMembers:o=!1,canUpdate:a=!0,canView:l=!0,hasNextInvitations:s=!1,hideInvitations:c=!1,hideMembers:d=!1,cannotViewChildren:f,customTranslations:p,...g})=>{var T,N;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(a&&!l)throw new Error("canView cannot be false if canUpdate is true");const{t:y}=X.useCunningham(),{isMobile:h}=ot(),b=u.useRef(null),[m,C]=u.useState("400px"),E=u.useRef(null),[F,x]=u.useState(""),[w,S]=u.useState(""),[O,K]=u.useState([]),[H,D]=u.useState(((N=(T=g.invitationRoles)==null?void 0:T[0])==null?void 0:N.value)??""),B=h?"calc(100dvh - 32px)":"min(690px, calc(100dvh - 2em - 12px - 32px))",U=j=>{if(b.current&&clearTimeout(b.current),j===""){S(""),g.onSearchUsers("");return}b.current=setTimeout(()=>{g.onSearchUsers(j),S(j)},300)},k=j=>{x(j),U(j)},W=w!==""||O.length>0,_=u.useCallback(j=>{K(V=>[...V,j]),x(""),S(""),g.onSearchUsers("")},[g]),I=j=>{K(V=>V.filter(Z=>Z.id!==j.id))},z=u.useMemo(()=>{const j=t==null?void 0:t.filter(G=>!O.includes(G));let V=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&&(V=void 0),{groupName:y("components.share.search.group_name"),elements:j??[],showWhenEmpty:!0,emptyString:V,endActions:q?[{content:v.jsx(Ta,{user:Y}),onSelect:()=>void _(Y)}]:void 0}},[t,w,y,O,_]),L=j=>{var le;const Z=(j==null?void 0:j.clientHeight)??0,q=((le=E.current)==null?void 0:le.clientHeight)??0,Y=`calc(${B} - ${Z}px - ${q}px - 70px - 10px)`;C(Y)},M=!c&&!W&&!g.loading&&i.length>0,R=!d&&!W&&!g.loading&&n.length>0,P=l?c&&d?"empty":"search":"cannot_view";return v.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:v.jsxs("div",{className:"c__share-modal no-padding",children:[a&&O.length>0&&v.jsx("div",{className:"c__share-modal__selected-users",ref:E,children:v.jsx(v1,{users:O,onRemoveUser:I,roles:g.invitationRoles,selectedRole:H,onSelectRole:D,onShare:()=>{g.onInviteUser(O,H),K([])}})}),P==="cannot_view"&&v.jsxs("div",{className:"c__share-modal__cannot-view",style:{height:m},children:[v.jsx("div",{className:"c__share-modal__cannot-view__content",children:v.jsx("p",{children:g.cannotViewMessage??y("components.share.cannot_view.message")})}),f]}),P==="search"&&v.jsx(mf,{onFilter:k,inputValue:F,showInput:a,loading:g.loading,placeholder:y("components.share.user.placeholder"),children:v.jsxs("div",{style:{height:m,overflowY:"auto"},children:[W&&v.jsx("div",{className:"c__share-modal__search-users","data-testid":"search-users-list",children:v.jsx(yf,{group:z,onSelect:j=>{_(j)},renderElement:j=>v.jsx(Ta,{user:j})})}),!W&&e,M&&v.jsxs("div",{className:"c__share-modal__invitations","data-testid":"invitations-list",children:[v.jsx("span",{className:"c__share-modal__invitations-title",children:y("components.share.invitations.title")}),i.map(j=>{var V;return v.jsx(C1,{invitation:j,roles:g.invitationRoles,updateRole:g.onUpdateInvitation,deleteInvitation:g.onDeleteInvitation,canUpdate:a,roleTopMessage:(V=g.invitationRoleTopMessage)==null?void 0:V.call(g,j)},j.id)}),v.jsx(wc,{show:s,onShowMore:g.onLoadNextInvitations})]}),R&&v.jsxs("div",{className:"c__share-modal__members","data-testid":"members-list",children:[v.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,Z;return v.jsx(y1,{accessData:j,accessRoleKey:g.accessRoleKey??"role",canUpdate:a,roleTopMessage:(V=g.accessRoleTopMessage)==null?void 0:V.call(g,j),roles:((Z=g.getAccessRoles)==null?void 0:Z.call(g,j))??g.invitationRoles,updateRole:g.onUpdateAccess,deleteAccess:g.onDeleteAccess},j.id)}),v.jsx(wc,{show:o,onShowMore:g.onLoadNextMembers})]})]})}),v.jsx("div",{ref:L,children:!W&&v.jsxs("div",{className:"c__share-modal__footer",children:[g.linkSettings&&v.jsx(Um,{linkReachChoices:g.linkReachChoices,canUpdate:a,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]})})]})})},wc=({show:t,onShowMore:e})=>{const{t:r}=X.useCunningham();return t?v.jsx("div",{className:"c__share-modal__show-more-button",children:v.jsx(X.Button,{variant:"tertiary",size:"small",icon:v.jsx("span",{className:"material-icons",children:"arrow_downward"}),onClick:e,children:r("components.share.members.load_more")})}):null},Zm=({onCopyLink:t,onOk:e})=>{const{t:r}=X.useCunningham();return v.jsxs("div",{className:"c__share-modal__copy-link-footer",children:[v.jsx(X.Button,{variant:"secondary",icon:v.jsx("span",{className:"material-icons",children:"link"}),onClick:t,children:r("components.share.copyLink")}),v.jsx(X.Button,{variant:"primary",onClick:e,children:r("components.share.ok")})]})},w1=({user:t,settingsItems:e,showSettings:r,actions:n,termOfServiceUrl:i})=>{const o=!!n||!!i,{t:a}=X.useCunningham(),l=t?t.full_name??t.email:void 0,s=l?Al(l):void 0;return t?v.jsx(v.Fragment,{children:v.jsxs("div",{className:"user-menu__content__body",children:[v.jsxs("div",{className:"user-menu__content__body__user-info",style:{"--gradient-color":`var(--c--contextuals--background--palette--${s}--primary)`},children:[v.jsx(Gi,{fullName:l}),v.jsx("div",{className:"user-menu__content__identity",children:t.full_name?v.jsxs(v.Fragment,{children:[v.jsx("p",{className:"user-menu__content__identity__name",children:v.jsx("strong",{children:t.full_name})}),v.jsx("p",{className:"user-menu__content__identity__email",children:t.email})]}):v.jsx("p",{className:"user-menu__content__identity__email",children:v.jsx("strong",{children:t.email})})})]}),r&&v.jsxs(v.Fragment,{children:[v.jsx(an,{withPadding:!1}),v.jsx("div",{className:"user-menu__content__body__settings",children:e.map(c=>v.jsx(D1,{label:c.label,icon:c.icon,onClick:c.onClick},c.label))})]}),o&&v.jsxs(v.Fragment,{children:[v.jsx(an,{withPadding:!1}),v.jsxs("div",{className:"user-menu__actions user-menu__actions--mobile",children:[n&&v.jsx("div",{className:"user-menu__actions__left",children:n}),i&&v.jsx("div",{className:"user-menu__actions__right",children:v.jsx(X.Button,{variant:"tertiary",target:"_blank",href:i,size:"small",color:"neutral",children:a("components.userMenu.term_of_service")})})]})]})]})}):null},Gm=({...t})=>{const{t:e}=X.useCunningham(),r=S1();return v.jsxs(v.Fragment,{children:[v.jsx(x1,{user:t.user,...r}),v.jsx(X.Modal,{isOpen:r.openState,onClose:()=>r.setOpenState(!1),"aria-label":e("components.userMenu.dialogTitle"),size:X.ModalSize.FULL,children:v.jsxs("div",{className:"user-menu__popover user-menu__popover--mobile",children:[v.jsx(X.Button,{variant:"tertiary",className:"user-menu__close-button",onClick:r.toggleUserMenu,"aria-label":e("components.userMenu.close"),color:"neutral",icon:v.jsx(Jr,{name:"close"}),size:"small"}),v.jsx(w1,{...t}),v.jsx("div",{className:"user-menu__footer--mobile",children:v.jsx(X.Button,{variant:"primary",onClick:r.toggleUserMenu,children:e("components.share.ok")})})]})})]})},qm=({user:t,settingsItems:e,showSettings:r,actions:n,termOfServiceUrl:i})=>{const{t:o}=X.useCunningham(),a=S1();return v.jsxs(v.Fragment,{children:[v.jsx(x1,{user:t,...a}),v.jsx(Pi,{className:"c__dropdown-menu user-menu__popover",triggerRef:a.triggerRef,isOpen:a.openState,onOpenChange:a.setOpenState,children:v.jsx(Rp,{"aria-label":o("components.userMenu.dialogTitle"),children:v.jsx(w1,{user:t,settingsItems:e,showSettings:r,actions:n,termOfServiceUrl:i})})})]})},Ym=({user:t,settingsCTA:e,logout:r,termOfServiceUrl:n,actions:i})=>{const{t:o}=X.useCunningham(),{isTablet:a}=ot(),l=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=l.length>0;return t?v.jsx(v.Fragment,{children:a?v.jsx(Gm,{user:t,settingsItems:l,showSettings:s,actions:i,termOfServiceUrl:n}):v.jsx(qm,{user:t,settingsItems:l,showSettings:s,actions:i,termOfServiceUrl:n})}):null},D1=({label:t,icon:e,onClick:r})=>v.jsxs("div",{className:"user-menu__item",onClick:r,children:[v.jsx(Jr,{name:e}),v.jsx("span",{className:"user-menu__item__label",children:t})]}),x1=({user:t,triggerRef:e,id:r,openState:n,toggleUserMenu:i})=>{const{t:o}=X.useCunningham();return t?v.jsx(X.Button,{className:"user-menu__button",variant:"tertiary",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:v.jsx(Gi,{size:"small",fullName:t.full_name??t.email})}):null},S1=()=>{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}},Tl=(t,e)=>e&&t.activeIcon?t.activeIcon:t.icon,F1=u.forwardRef(({step:t,isActive:e,onClick:r,index:n,ariaLabel:i},o)=>{const a=Tl(t,e);return v.jsxs("button",{ref:o,type:"button",className:ve("c__onboarding-modal__step",{"c__onboarding-modal__step--active":e}),onClick:r,"aria-current":e?"step":void 0,"aria-label":i,tabIndex:e?0:-1,"data-testid":`onboarding-step-${n}`,children:[v.jsx("div",{className:"c__onboarding-modal__step__icon","aria-hidden":"true",children:a}),v.jsxs("div",{className:"c__onboarding-modal__step__content",children:[v.jsx("span",{className:"c__onboarding-modal__step__title",children:t.title}),t.description&&v.jsx("div",{className:"c__onboarding-modal__step__description-wrapper",children:v.jsx("span",{className:"c__onboarding-modal__step__description",children:t.description})})]})]})});F1.displayName="OnboardingStepItem";const Xm=200,$1=({isOpen:t,size:e=X.ModalSize.LARGE,appName:r,mainTitle:n,steps:i,initialStep:o=0,footerLink:a,hideContent:l,onSkip:s,onComplete:c,onClose:d,labels:f})=>{const{t:p}=X.useCunningham(),{isMobile:g}=ot(),[y,h]=u.useState(o),[b,m]=u.useState(o),[C,E]=u.useState(!1),F=u.useRef([]),x=u.useRef(null),w=u.useRef(null),S=y===i.length-1,O=y===0,K=(f==null?void 0:f.skip)??p("components.onboarding.skip"),H=(f==null?void 0:f.next)??p("components.onboarding.next"),D=(f==null?void 0:f.previous)??p("components.onboarding.previous"),B=(f==null?void 0:f.complete)??p("components.onboarding.complete"),U=i[b],k=!l&&!!(U!=null&&U.content),W=u.useCallback((T,N)=>{const j=p("components.onboarding.stepLabel").replace("{current}",String(T+1)).replace("{total}",String(i.length)).replace("{title}",N);return T===y?j+p("components.onboarding.currentStepSuffix"):j},[p,i.length,y]),_=u.useCallback(()=>p("components.onboarding.contentRegionLabel").replace("{current}",String(b+1)).replace("{total}",String(i.length)),[p,b,i.length]);u.useEffect(()=>()=>{w.current&&clearTimeout(w.current)},[]),u.useEffect(()=>{const T=F.current[y];T&&T.scrollIntoView({behavior:"smooth",block:"nearest"})},[y]),u.useEffect(()=>{if(t){w.current&&(clearTimeout(w.current),w.current=null),h(o),m(o),E(!1);const T=setTimeout(()=>{requestAnimationFrame(()=>{const N=F.current[o];N&&!g&&N.focus()})},150);return()=>clearTimeout(T)}},[t,o,g]);const I=u.useCallback(T=>{T!==y&&(w.current&&clearTimeout(w.current),E(!0),h(T),w.current=setTimeout(()=>{m(T),E(!1),w.current=null},Xm))},[y]);u.useEffect(()=>{const T=x.current;if(!T)return;const N=j=>{if(j.key!=="ArrowUp"&&j.key!=="ArrowDown"||!j.target.closest(".c__onboarding-modal__step"))return;j.preventDefault();const Z=j.key==="ArrowDown"?(y+1)%i.length:(y-1+i.length)%i.length;I(Z),setTimeout(()=>{var q;(q=F.current[Z])==null||q.focus()},0)};return T.addEventListener("keydown",N),()=>T.removeEventListener("keydown",N)},[y,i.length,I]);const z=u.useCallback(()=>{S?c():I(y+1)},[S,c,I,y]),L=u.useCallback(()=>{O||I(y-1)},[O,I,y]),M=u.useCallback(()=>{s==null||s()},[s]);if(i.length===0)return null;const R=Math.max(0,Math.min(o,i.length-1));R!==o&&process.env.NODE_ENV==="development"&&console.warn(`OnboardingModal: initialStep (${o}) is out of bounds. Using ${R} instead.`);const $=a?v.jsxs("a",{className:"c__onboarding-modal__footer-link",target:"_blank",href:a.href,onClick:T=>{a.onClick&&(a.href||T.preventDefault(),a.onClick())},children:[v.jsx("span",{className:"material-icons","aria-hidden":"true",children:"info"}),v.jsx("span",{className:"c__onboarding-modal__footer-link__label",children:a.label})]}):void 0,P=v.jsxs(v.Fragment,{children:[g&&!O&&v.jsx(X.Button,{variant:"secondary",onClick:L,"data-testid":"onboarding-previous",children:D}),s&&v.jsx(X.Button,{variant:"tertiary",onClick:M,"data-testid":"onboarding-skip",children:K}),v.jsx(X.Button,{variant:"primary",onClick:z,"data-testid":"onboarding-next",children:S?B:H})]});return v.jsx(X.Modal,{isOpen:t,onClose:d,size:g?X.ModalSize.FULL:e,closeOnClickOutside:!0,title:"","aria-label":n,leftActions:$,rightActions:P,children:v.jsxs("div",{className:"c__onboarding-modal","data-testid":"onboarding-modal",children:[v.jsxs("div",{className:"c__onboarding-modal__header",children:[r&&v.jsx("div",{className:"c__onboarding-modal__app-name",children:r}),v.jsx("h2",{className:"c__onboarding-modal__main-title",children:n})]}),v.jsxs("div",{className:ve("c__onboarding-modal__body",{"c__onboarding-modal__body--text-only":!k}),children:[v.jsx("div",{ref:x,className:"c__onboarding-modal__steps",role:"tablist","aria-orientation":"vertical","aria-label":n,children:i.map((T,N)=>v.jsx(F1,{ref:j=>{F.current[N]=j},step:T,index:N,totalSteps:i.length,isActive:N===y,ariaLabel:W(N,T.title),onClick:()=>I(N)},N))}),k&&v.jsx("div",{className:"c__onboarding-modal__content",role:"tabpanel","aria-live":"polite","aria-atomic":"true","aria-label":_(),children:v.jsx("div",{className:ve("c__onboarding-modal__content-inner",{"c__onboarding-modal__content-inner--fading":C}),children:U==null?void 0:U.content})}),(k||l)&&v.jsxs("div",{className:"c__onboarding-modal__mobile-step",children:[v.jsx("div",{className:"c__onboarding-modal__mobile-step__icon","aria-hidden":"true",children:U&&Tl(U,!0)}),v.jsxs("div",{className:"c__onboarding-modal__mobile-step__content",children:[v.jsx("span",{className:"c__onboarding-modal__mobile-step__title",children:U==null?void 0:U.title}),(U==null?void 0:U.description)&&v.jsx("span",{className:"c__onboarding-modal__mobile-step__description",children:U.description})]})]})]})]})})},Jm=({steps:t,...e})=>v.jsx($1,{...e,steps:t,size:X.ModalSize.MEDIUM,hideContent:!0}),Qm=(t,e={})=>Ti.getThemesFromGlobals(gr(Xr,t),{...e,overrides:gr(ki,e.overrides??{})});Object.defineProperty(exports,"ModalSize",{enumerable:!0,get:()=>X.ModalSize});exports.AVATAR_COLORS=Aa;exports.AccessRoleDropdown=Zi;exports.Badge=jm;exports.ContextMenu=qp;exports.ContextMenuProvider=Gp;exports.CunninghamProvider=B1;exports.CustomTabs=v7;exports.DropdownMenu=Yr;exports.Filter=Jp;exports.Footer=Xp;exports.Header=cd;exports.Hero=e3;exports.HomeGutter=t3;exports.HorizontalSeparator=an;exports.Icon=Jr;exports.IconSize=xe;exports.IconType=ii;exports.InvitationUserSelectorItem=b1;exports.InvitationUserSelectorList=v1;exports.LaGaufre=f3;exports.LaGaufreV2=od;exports.Label=Id;exports.LanguagePicker=sd;exports.LeftPanel=ud;exports.MainLayout=ng;exports.OnboardingModal=$1;exports.ProConnectButton=Sc;exports.QuickSearch=mf;exports.QuickSearchGroup=yf;exports.QuickSearchInput=bf;exports.QuickSearchItem=Bn;exports.QuickSearchItemTemplate=Ki;exports.ReleaseNoteModal=Jm;exports.SearchUserItem=Ta;exports.ShareInvitationItem=C1;exports.ShareMemberItem=y1;exports.ShareModal=Wm;exports.ShareModalCopyLinkFooter=Zm;exports.Spinner=li;exports.TreeApi=pr;exports.TreeContext=_l;exports.TreeProvider=Sm;exports.TreeView=Fm;exports.TreeViewItem=Lm;exports.TreeViewMoveModeEnum=wt;exports.TreeViewNodeTypeEnum=se;exports.TreeViewSeparator=d1;exports.UserAvatar=Gi;exports.UserMenu=Ym;exports.UserMenuItem=D1;exports.UserRow=qi;exports.VerticalSeparator=g7;exports.WithLabel=og;exports.anctGlobals=id;exports.containerSizeMap=ld;exports.cunninghamConfig=fa;exports.dsfrGlobals=nd;exports.getContainerSize=D3;exports.getIconSize=x3;exports.getStepIcon=Tl;exports.getUIKitThemesFromGlobals=Qm;exports.getUserColor=Al;exports.getUserInitials=m1;exports.headerHeight=ig;exports.iconSizeMap=ad;exports.isNode=zr;exports.isSeparator=fi;exports.isTitle=hi;exports.isViewMore=f1;exports.locales=xc;exports.useArrowRoving=Km;exports.useContextMenuContext=Q2;exports.useCustomTranslations=E1;exports.useDropdownMenu=mr;exports.useResponsive=ot;exports.useTree=h1;exports.useTreeContext=Pl;exports.whiteLabelGlobals=rd;
99
99
  //# sourceMappingURL=index.cjs.map