@joy-ride/game 0.0.0-stage → 0.25.0

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.
Files changed (108) hide show
  1. package/LICENSE.md +21 -0
  2. package/README.md +164 -2
  3. package/THIRD_PARTY_NOTICES.md +136 -0
  4. package/bookmarklet.d.ts +11 -0
  5. package/bookmarklet.js +25 -0
  6. package/embed-assets/attractor-B0xCt_Fj.mp3 +0 -0
  7. package/embed-assets/audi-rs3-top-Zwm7ZQ20.webp +0 -0
  8. package/embed-assets/bmw-m4-top-GKSf0h28.webp +0 -0
  9. package/embed-assets/boost-BLJDRtPH.mp3 +0 -0
  10. package/embed-assets/bullet-ricochet-1-BKWD_WRI.mp3 +0 -0
  11. package/embed-assets/bullet-ricochet-2-CmbSTqg5.mp3 +0 -0
  12. package/embed-assets/bullet-ricochet-3-DV3Th6nn.mp3 +0 -0
  13. package/embed-assets/burning-fire--0zItqR0.mp3 +0 -0
  14. package/embed-assets/collision-hard-b_eauD-v.mp3 +0 -0
  15. package/embed-assets/collision-medium-Bhw86k_p.mp3 +0 -0
  16. package/embed-assets/collision-soft-DIwEkPCV.mp3 +0 -0
  17. package/embed-assets/collision-soft-fVT-mQmJ.mp3 +0 -0
  18. package/embed-assets/combustible-explosion-XvpDzpm9.mp3 +0 -0
  19. package/embed-assets/crush-BZKARh2Y.mp3 +0 -0
  20. package/embed-assets/electric-bolt-Cg9Fmi6S.mp3 +0 -0
  21. package/embed-assets/electric-charge-zw1IjLo4.mp3 +0 -0
  22. package/embed-assets/electric-gt-top-DTcvEjMR.webp +0 -0
  23. package/embed-assets/flamethrower-B5pUrS5p.mp3 +0 -0
  24. package/embed-assets/ford-mustang-gt-top-DVzZTm7G.webp +0 -0
  25. package/embed-assets/ghost-mode-B33_bxYX.mp3 +0 -0
  26. package/embed-assets/inter-latin-variable-Dx4kXJAl.woff2 +0 -0
  27. package/embed-assets/jeep-wrangler-top-Dr43LU9c.webp +0 -0
  28. package/embed-assets/lamborghini-huracan-evo-top-BCJJwrTj.webp +0 -0
  29. package/embed-assets/logo-backing-DQNUb3C2.svg +1 -0
  30. package/embed-assets/machine-gun-C4ag4X6T.mp3 +0 -0
  31. package/embed-assets/porsche-911-997-top-BE6uRNL4.webp +0 -0
  32. package/embed-assets/rocket-explosion-DKnN7_wY.mp3 +0 -0
  33. package/embed-assets/rocket-launch-C-Yvbb7P.mp3 +0 -0
  34. package/embed-assets/roof-rocket-v1-Bs4IEw-s.webp +0 -0
  35. package/embed-assets/side-gun-v1-BnpvZN1b.webp +0 -0
  36. package/embed-assets/subaru-wrx-top-dLvMFYDs.webp +0 -0
  37. package/embed-assets/tire-screech-DEsAg1CH.mp3 +0 -0
  38. package/embed-chunks/CodeBlock-SbsdRltK.js +22 -0
  39. package/embed-chunks/Documentation-it27YLKx.js +33 -0
  40. package/embed-chunks/EmbedPanel-yRsx9glF.js +1 -0
  41. package/embed-chunks/JoyRideView-o-2qdJkr.js +1 -0
  42. package/embed-chunks/X.es-d7B7rOGv.js +1 -0
  43. package/embed-chunks/configuration~index~embed-CG9auZKS.js +1 -0
  44. package/embed-chunks/configuration~index~embed~bookmarklet-C8RUCiUX.js +1 -0
  45. package/embed-chunks/configuration~index~embed~bookmarklet~vehicle-popover~EmbedPanel~Documentation~JoyRideView~~n76yhyet-zf1LIsS8.js +1 -0
  46. package/embed-chunks/configuration~index~embed~bookmarklet~vehicle-popover~EmbedPanel~JoyRideView~browser-sessio~iaaa3ndj-BBrKrH7m.js +1 -0
  47. package/embed-chunks/controls~index~embed-B_C92tUz.js +1 -0
  48. package/embed-chunks/definitions~index~embed-CDMM_m1T.js +1 -0
  49. package/embed-chunks/definitions~index~embed~bookmarklet-BfjknPZN.js +1 -0
  50. package/embed-chunks/definitions~index~embed~bookmarklet~vehicle-popover~Documentation~JoyRideView~browser-sessi~fklztn3g-Dt96jol6.js +1 -0
  51. package/embed-chunks/definitions~index~embed~vehicle-popover~browser-session-core~renderer-RDNEXk_b.js +1 -0
  52. package/embed-chunks/react-vendor~index~embed-BNCMh3YF.js +9 -0
  53. package/embed-chunks/rolldown-runtime-XKyaHtl9.js +1 -0
  54. package/embed-chunks/runtime~JoyRideView~browser-session-core-Ya-yv4PC.js +1 -0
  55. package/embed-chunks/runtime~browser-session-core-DUfZaJcj.js +1 -0
  56. package/embed-chunks/runtime~index~embed-B2Zpd22X.js +210 -0
  57. package/embed-chunks/runtime~index~embed~vehicle-popover~browser-session-core~renderer-OqE9OpvH.js +1 -0
  58. package/embed-chunks/runtime~vehicle-popover-DI44kx2W.js +1 -0
  59. package/embed-chunks/runtime~vehicle-popover~browser-session-core-BC-HGK32.js +1 -0
  60. package/embed-chunks/runtime~vehicle-popover~browser-session-core~renderer-CHG4ymHM.js +4 -0
  61. package/embed-chunks/runtime~vehicle-popover~renderer-DwVymD49.js +1077 -0
  62. package/embed-chunks/src-BJXg-amK.js +2 -0
  63. package/embed-chunks/vehicle-catalog~index~embed-DcyLaPhV.js +1 -0
  64. package/embed-chunks/vehicle-popover-CtdtJ1cl.js +1 -0
  65. package/embed.js +1 -0
  66. package/index-sebzwsKw.d.ts +2492 -0
  67. package/index.d.ts +3 -0
  68. package/index.js +1 -0
  69. package/npm-chunks/CodeBlock-35k1cnjA.js +22 -0
  70. package/npm-chunks/Documentation-B6U46upd.js +33 -0
  71. package/npm-chunks/EmbedPanel-dnDwQhT5.js +1 -0
  72. package/npm-chunks/JoyRideView-C2nOVKZu.js +1 -0
  73. package/npm-chunks/X.es-VqSWeM6N.js +1 -0
  74. package/npm-chunks/configuration~react-CKBQFWEF.js +1 -0
  75. package/npm-chunks/configuration~react~browser-session-core-CyXr42pk.js +1 -0
  76. package/npm-chunks/configuration~react~vehicle-popover~EmbedPanel~Documentation~JoyRideView~browser-session-co~fvauaeow-zf1LIsS8.js +1 -0
  77. package/npm-chunks/configuration~react~vehicle-popover~EmbedPanel~JoyRideView~browser-session-core-BQ8wO_VE.js +1 -0
  78. package/npm-chunks/configuration~react~vehicle-popover~EmbedPanel~JoyRideView~browser-session-core~renderer-DJhBwBho.js +1 -0
  79. package/npm-chunks/configuration~react~vehicle-popover~JoyRideView~browser-session-core~renderer-B70Mpi9X.js +1 -0
  80. package/npm-chunks/controls~react~vehicle-popover~Documentation~JoyRideView~browser-session-core-CLDwfJ48.js +1 -0
  81. package/npm-chunks/controls~react~vehicle-popover~JoyRideView~browser-session-core~renderer-Cnf30Q_A.js +1 -0
  82. package/npm-chunks/definitions~react~browser-session-core-acRq5AYt.js +1 -0
  83. package/npm-chunks/definitions~react~vehicle-popover~Documentation~JoyRideView~browser-session-core-BZJqthWX.js +1 -0
  84. package/npm-chunks/definitions~react~vehicle-popover~Documentation~JoyRideView~browser-session-core~renderer-Dt96jol6.js +1 -0
  85. package/npm-chunks/definitions~react~vehicle-popover~browser-session-core~renderer-RDNEXk_b.js +1 -0
  86. package/npm-chunks/input-DHpsGB-l.js +1 -0
  87. package/npm-chunks/rolldown-runtime-XKyaHtl9.js +1 -0
  88. package/npm-chunks/runtime~JoyRideView~browser-session-core-CuSPCh9O.js +1 -0
  89. package/npm-chunks/runtime~browser-session-core-BenGnDZN.js +1 -0
  90. package/npm-chunks/runtime~react-BKEnJfDK.js +1 -0
  91. package/npm-chunks/runtime~react~JoyRideView~browser-session-core-BRSYGakW.js +1 -0
  92. package/npm-chunks/runtime~react~browser-session-core-Cr50FE3R.js +1 -0
  93. package/npm-chunks/runtime~react~vehicle-popover-khBccGFq.js +1 -0
  94. package/npm-chunks/runtime~react~vehicle-popover~browser-session-core-BzXBN4rK.js +210 -0
  95. package/npm-chunks/runtime~react~vehicle-popover~browser-session-core~renderer-Be8cIaU4.js +1 -0
  96. package/npm-chunks/runtime~vehicle-popover-PLJOXbUU.js +1 -0
  97. package/npm-chunks/runtime~vehicle-popover~browser-session-core-Ddxp7Nuh.js +1 -0
  98. package/npm-chunks/runtime~vehicle-popover~browser-session-core~renderer-jVG7K050.js +4 -0
  99. package/npm-chunks/runtime~vehicle-popover~renderer-CYXkRwO4.js +1077 -0
  100. package/npm-chunks/sync-shadow-theme-Bqi_M9ro.js +1 -0
  101. package/npm-chunks/theme-C4ZE2-nQ.js +2 -0
  102. package/npm-chunks/vehicle-catalog~react~browser-session-core-BzB5J-Lm.js +1 -0
  103. package/npm-chunks/vehicle-catalog~react~vehicle-popover~browser-session-core-B1wVsjdQ.js +1 -0
  104. package/npm-chunks/vehicle-popover-D0e1ZKfF.js +1 -0
  105. package/package.json +65 -4
  106. package/playground-DrT_x51v.d.ts +1255 -0
  107. package/react.d.ts +15 -0
  108. package/react.js +25 -0
@@ -0,0 +1 @@
1
+ import{t as e}from"./rolldown-runtime-XKyaHtl9.js";import{n as t,o as n,r,s as i,t as a}from"./configuration~react~vehicle-popover~EmbedPanel~Documentation~JoyRideView~browser-session-co~fvauaeow-zf1LIsS8.js";import{t as o}from"./runtime~react~vehicle-popover~browser-session-core-BzXBN4rK.js";import{r as s,s as c}from"./configuration~react~vehicle-popover~JoyRideView~browser-session-core~renderer-B70Mpi9X.js";import{r as l,s as u}from"./runtime~react~vehicle-popover~browser-session-core~renderer-Be8cIaU4.js";import{t as d}from"./runtime~vehicle-popover~browser-session-core-Ddxp7Nuh.js";import{t as f}from"./runtime~vehicle-popover~renderer-CYXkRwO4.js";import{i as p,r as m,t as h}from"./vehicle-catalog~react~vehicle-popover~browser-session-core-B1wVsjdQ.js";import{n as g}from"./configuration~react~vehicle-popover~EmbedPanel~JoyRideView~browser-session-core~renderer-DJhBwBho.js";import{n as _,o as v}from"./configuration~react~vehicle-popover~EmbedPanel~JoyRideView~browser-session-core-BQ8wO_VE.js";import{r as y}from"./controls~react~vehicle-popover~JoyRideView~browser-session-core~renderer-Cnf30Q_A.js";import{n as b,r as x}from"./controls~react~vehicle-popover~Documentation~JoyRideView~browser-session-core-CLDwfJ48.js";import{t as S}from"./runtime~vehicle-popover-PLJOXbUU.js";import{t as C}from"./runtime~react~vehicle-popover-khBccGFq.js";import{n as w,t as T}from"./theme-C4ZE2-nQ.js";import{t as E}from"./sync-shadow-theme-Bqi_M9ro.js";import{A as D,B as O,C as k,D as A,E as j,F as M,H as N,I as P,L as F,M as I,N as L,O as R,P as z,R as B,S as V,T as H,U,V as W,_ as ee,a as te,b as G,c as K,d as ne,f as re,g as ie,h as ae,i as oe,j as se,k as ce,m as le,n as ue,o as q,p as de,r as fe,s as pe,t as me,u as he,v as J,x as Y,y as ge,z as _e}from"./X.es-VqSWeM6N.js";import{A as ve,C as ye,D as be,E as xe,F as Se,I as Ce,L as we,M as Te,N as Ee,O as De,P as Oe,S as ke,T as Ae,a as je,b as Me,c as Ne,d as Pe,f as Fe,g as Ie,h as Le,i as Re,j as ze,k as Be,l as Ve,m as He,n as Ue,o as We,p as Ge,r as Ke,s as qe,t as Je,u as Ye,v as Xe,w as Ze,x as Qe,y as $e}from"./input-DHpsGB-l.js";import*as X from"react";import{Suspense as et,lazy as tt,useEffect as nt,useLayoutEffect as rt,useRef as it,useState as at,useSyncExternalStore as ot}from"react";import*as st from"react-dom";import{createPortal as ct}from"react-dom";import{Fragment as lt,jsx as Z,jsxs as Q}from"react/jsx-runtime";function ut(e){return e?.ownerDocument||document}var dt=new Map([[`bold`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M228,128a100,100,0,0,1-98.66,100H128a99.39,99.39,0,0,1-68.62-27.29,12,12,0,0,1,16.48-17.45,76,76,0,1,0-1.57-109c-.13.13-.25.25-.39.37L54.89,92H72a12,12,0,0,1,0,24H24a12,12,0,0,1-12-12V56a12,12,0,0,1,24,0V76.72L57.48,57.06A100,100,0,0,1,228,128Z`}))],[`duotone`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z`,opacity:`0.2`}),X.createElement(`path`,{d:`M224,128a96,96,0,0,1-94.71,96H128A95.38,95.38,0,0,1,62.1,197.8a8,8,0,0,1,11-11.63A80,80,0,1,0,71.43,71.39a3.07,3.07,0,0,1-.26.25L44.59,96H72a8,8,0,0,1,0,16H24a8,8,0,0,1-8-8V56a8,8,0,0,1,16,0V85.8L60.25,60A96,96,0,0,1,224,128Z`}))],[`fill`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M224,128a96,96,0,0,1-94.71,96H128A95.38,95.38,0,0,1,62.1,197.8a8,8,0,0,1,11-11.63A80,80,0,1,0,71.43,71.39a3.07,3.07,0,0,1-.26.25L60.63,81.29l17,17A8,8,0,0,1,72,112H24a8,8,0,0,1-8-8V56A8,8,0,0,1,29.66,50.3L49.31,70,60.25,60A96,96,0,0,1,224,128Z`}))],[`light`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M222,128a94,94,0,0,1-92.74,94H128a93.43,93.43,0,0,1-64.5-25.65,6,6,0,1,1,8.24-8.72A82,82,0,1,0,70,70l-.19.19L39.44,98H72a6,6,0,0,1,0,12H24a6,6,0,0,1-6-6V56a6,6,0,0,1,12,0V90.34L61.63,61.4A94,94,0,0,1,222,128Z`}))],[`regular`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M224,128a96,96,0,0,1-94.71,96H128A95.38,95.38,0,0,1,62.1,197.8a8,8,0,0,1,11-11.63A80,80,0,1,0,71.43,71.39a3.07,3.07,0,0,1-.26.25L44.59,96H72a8,8,0,0,1,0,16H24a8,8,0,0,1-8-8V56a8,8,0,0,1,16,0V85.8L60.25,60A96,96,0,0,1,224,128Z`}))],[`thin`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M220,128a92,92,0,0,1-90.77,92H128a91.47,91.47,0,0,1-63.13-25.1,4,4,0,1,1,5.5-5.82A84,84,0,1,0,68.6,68.57l-.13.12L34.3,100H72a4,4,0,0,1,0,8H24a4,4,0,0,1-4-4V56a4,4,0,0,1,8,0V94.89l35-32A92,92,0,0,1,220,128Z`}))]]),ft=new Map([[`bold`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M232,44H160a43.86,43.86,0,0,0-32,13.85A43.86,43.86,0,0,0,96,44H24A12,12,0,0,0,12,56V200a12,12,0,0,0,12,12H96a20,20,0,0,1,20,20,12,12,0,0,0,24,0,20,20,0,0,1,20-20h72a12,12,0,0,0,12-12V56A12,12,0,0,0,232,44ZM96,188H36V68H96a20,20,0,0,1,20,20V192.81A43.79,43.79,0,0,0,96,188Zm124,0H160a43.71,43.71,0,0,0-20,4.83V88a20,20,0,0,1,20-20h60ZM164,96h32a12,12,0,0,1,0,24H164a12,12,0,0,1,0-24Zm44,52a12,12,0,0,1-12,12H164a12,12,0,0,1,0-24h32A12,12,0,0,1,208,148Z`}))],[`duotone`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M232,56V200H160a32,32,0,0,0-32,32V88a32,32,0,0,1,32-32Z`,opacity:`0.2`}),X.createElement(`path`,{d:`M232,48H160a40,40,0,0,0-32,16A40,40,0,0,0,96,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,24,8,8,0,0,0,16,0,24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM96,192H32V64H96a24,24,0,0,1,24,24V200A39.81,39.81,0,0,0,96,192Zm128,0H160a39.81,39.81,0,0,0-24,8V88a24,24,0,0,1,24-24h64ZM160,88h40a8,8,0,0,1,0,16H160a8,8,0,0,1,0-16Zm48,40a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,128Zm0,32a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,160Z`}))],[`fill`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M232,48H168a32,32,0,0,0-32,32v87.73a8.17,8.17,0,0,1-7.47,8.25,8,8,0,0,1-8.53-8V80A32,32,0,0,0,88,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,23.94,7.9,7.9,0,0,0,5.12,7.55A8,8,0,0,0,136,232a24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM208,168H168.27a8.17,8.17,0,0,1-8.25-7.47,8,8,0,0,1,8-8.53h39.73a8.17,8.17,0,0,1,8.25,7.47A8,8,0,0,1,208,168Zm0-32H168.27a8.17,8.17,0,0,1-8.25-7.47,8,8,0,0,1,8-8.53h39.73a8.17,8.17,0,0,1,8.25,7.47A8,8,0,0,1,208,136Zm0-32H168.27A8.17,8.17,0,0,1,160,96.53,8,8,0,0,1,168,88h39.73A8.17,8.17,0,0,1,216,95.47,8,8,0,0,1,208,104Z`}))],[`light`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M232,50H160a38,38,0,0,0-32,17.55A38,38,0,0,0,96,50H24a6,6,0,0,0-6,6V200a6,6,0,0,0,6,6H96a26,26,0,0,1,26,26,6,6,0,0,0,12,0,26,26,0,0,1,26-26h72a6,6,0,0,0,6-6V56A6,6,0,0,0,232,50ZM96,194H30V62H96a26,26,0,0,1,26,26V204.31A37.86,37.86,0,0,0,96,194Zm130,0H160a37.87,37.87,0,0,0-26,10.32V88a26,26,0,0,1,26-26h66ZM160,90h40a6,6,0,0,1,0,12H160a6,6,0,0,1,0-12Zm46,38a6,6,0,0,1-6,6H160a6,6,0,0,1,0-12h40A6,6,0,0,1,206,128Zm0,32a6,6,0,0,1-6,6H160a6,6,0,0,1,0-12h40A6,6,0,0,1,206,160Z`}))],[`regular`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M232,48H160a40,40,0,0,0-32,16A40,40,0,0,0,96,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,24,8,8,0,0,0,16,0,24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM96,192H32V64H96a24,24,0,0,1,24,24V200A39.81,39.81,0,0,0,96,192Zm128,0H160a39.81,39.81,0,0,0-24,8V88a24,24,0,0,1,24-24h64ZM160,88h40a8,8,0,0,1,0,16H160a8,8,0,0,1,0-16Zm48,40a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,128Zm0,32a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,160Z`}))],[`thin`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M232,52H160a36,36,0,0,0-32,19.54A36,36,0,0,0,96,52H24a4,4,0,0,0-4,4V200a4,4,0,0,0,4,4H96a28,28,0,0,1,28,28,4,4,0,0,0,8,0,28,28,0,0,1,28-28h72a4,4,0,0,0,4-4V56A4,4,0,0,0,232,52ZM96,196H28V60H96a28,28,0,0,1,28,28V209.4A35.94,35.94,0,0,0,96,196Zm132,0H160a35.94,35.94,0,0,0-28,13.41V88a28,28,0,0,1,28-28h68ZM160,92h40a4,4,0,0,1,0,8H160a4,4,0,0,1,0-8Zm44,36a4,4,0,0,1-4,4H160a4,4,0,0,1,0-8h40A4,4,0,0,1,204,128Zm0,32a4,4,0,0,1-4,4H160a4,4,0,0,1,0-8h40A4,4,0,0,1,204,160Z`}))]]),pt=new Map([[`bold`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M236,108H213L170.83,65.86A19.86,19.86,0,0,0,156.69,60H48.28a20,20,0,0,0-16.64,8.91L2,113.34A12,12,0,0,0,0,120v48a20,20,0,0,0,20,20H33.5a34,34,0,0,0,65,0h59a34,34,0,0,0,65,0H236a20,20,0,0,0,20-20V128A20,20,0,0,0,236,108ZM50.42,84H155l24,24H34.42ZM66,188a10,10,0,1,1,10-10A10,10,0,0,1,66,188Zm124,0a10,10,0,1,1,10-10A10,10,0,0,1,190,188Zm42-24H221A34,34,0,0,0,159,164H97A34,34,0,0,0,35,164H24V132H232Z`}))],[`duotone`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M88,176a24,24,0,1,1-24-24A24,24,0,0,1,88,176Zm104-24a24,24,0,1,0,24,24A24,24,0,0,0,192,152ZM162.34,74.34A8,8,0,0,0,156.69,72H44.28a8,8,0,0,0-6.66,3.56L8,120H208Z`,opacity:`0.2`}),X.createElement(`path`,{d:`M240,112H211.31L168,68.69A15.86,15.86,0,0,0,156.69,64H44.28A16,16,0,0,0,31,71.12L1.34,115.56A8.07,8.07,0,0,0,0,120v48a16,16,0,0,0,16,16H33a32,32,0,0,0,62,0h66a32,32,0,0,0,62,0h17a16,16,0,0,0,16-16V128A16,16,0,0,0,240,112ZM44.28,80H156.69l32,32H23ZM64,192a16,16,0,1,1,16-16A16,16,0,0,1,64,192Zm128,0a16,16,0,1,1,16-16A16,16,0,0,1,192,192Zm48-24H223a32,32,0,0,0-62,0H95a32,32,0,0,0-62,0H16V128H240Z`}))],[`fill`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M240,112H211.31L168,68.69A15.86,15.86,0,0,0,156.69,64H44.28A16,16,0,0,0,31,71.12L1.34,115.56A8.07,8.07,0,0,0,0,120v48a16,16,0,0,0,16,16H33a32,32,0,0,0,62,0h66a32,32,0,0,0,62,0h17a16,16,0,0,0,16-16V128A16,16,0,0,0,240,112ZM44.28,80H156.69l32,32H23ZM64,192a16,16,0,1,1,16-16A16,16,0,0,1,64,192Zm128,0a16,16,0,1,1,16-16A16,16,0,0,1,192,192Z`}))],[`light`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M240,114H210.49l-43.9-43.9a13.94,13.94,0,0,0-9.9-4.1H44.28a14,14,0,0,0-11.65,6.23L3,116.67A6,6,0,0,0,2,120v48a14,14,0,0,0,14,14H34.6a30,30,0,0,0,58.8,0h69.2a30,30,0,0,0,58.8,0H240a14,14,0,0,0,14-14V128A14,14,0,0,0,240,114ZM42.62,78.89A2,2,0,0,1,44.28,78H156.69a2,2,0,0,1,1.41.59L193.52,114H19.21ZM64,194a18,18,0,1,1,18-18A18,18,0,0,1,64,194Zm128,0a18,18,0,1,1,18-18A18,18,0,0,1,192,194Zm50-26a2,2,0,0,1-2,2H221.4a30,30,0,0,0-58.8,0H93.4a30,30,0,0,0-58.8,0H16a2,2,0,0,1-2-2V126H240a2,2,0,0,1,2,2Z`}))],[`regular`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M240,112H211.31L168,68.69A15.86,15.86,0,0,0,156.69,64H44.28A16,16,0,0,0,31,71.12L1.34,115.56A8.07,8.07,0,0,0,0,120v48a16,16,0,0,0,16,16H33a32,32,0,0,0,62,0h66a32,32,0,0,0,62,0h17a16,16,0,0,0,16-16V128A16,16,0,0,0,240,112ZM44.28,80H156.69l32,32H23ZM64,192a16,16,0,1,1,16-16A16,16,0,0,1,64,192Zm128,0a16,16,0,1,1,16-16A16,16,0,0,1,192,192Zm48-24H223a32,32,0,0,0-62,0H95a32,32,0,0,0-62,0H16V128H240Z`}))],[`thin`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M240,116H209.66L165.17,71.52A11.9,11.9,0,0,0,156.69,68H44.28a12,12,0,0,0-10,5.34L4.67,117.78A4,4,0,0,0,4,120v48a12,12,0,0,0,12,12H36.29a28,28,0,0,0,55.42,0h72.58a28,28,0,0,0,55.42,0H240a12,12,0,0,0,12-12V128A12,12,0,0,0,240,116ZM41,77.78A4,4,0,0,1,44.28,76H156.69a4,4,0,0,1,2.82,1.17L198.34,116H15.47ZM64,196a20,20,0,1,1,20-20A20,20,0,0,1,64,196Zm128,0a20,20,0,1,1,20-20A20,20,0,0,1,192,196Zm52-28a4,4,0,0,1-4,4H219.71a28,28,0,0,0-55.42,0H91.71a28,28,0,0,0-55.42,0H16a4,4,0,0,1-4-4V124H240a4,4,0,0,1,4,4Z`}))]]),mt=new Map([[`bold`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M168.49,199.51a12,12,0,0,1-17,17l-80-80a12,12,0,0,1,0-17l80-80a12,12,0,0,1,17,17L97,128Z`}))],[`duotone`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M160,48V208L80,128Z`,opacity:`0.2`}),X.createElement(`path`,{d:`M163.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,168,208V48A8,8,0,0,0,163.06,40.61ZM152,188.69,91.31,128,152,67.31Z`}))],[`fill`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M168,48V208a8,8,0,0,1-13.66,5.66l-80-80a8,8,0,0,1,0-11.32l80-80A8,8,0,0,1,168,48Z`}))],[`light`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M164.24,203.76a6,6,0,1,1-8.48,8.48l-80-80a6,6,0,0,1,0-8.48l80-80a6,6,0,0,1,8.48,8.48L88.49,128Z`}))],[`regular`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M165.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L91.31,128Z`}))],[`thin`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M162.83,205.17a4,4,0,0,1-5.66,5.66l-80-80a4,4,0,0,1,0-5.66l80-80a4,4,0,1,1,5.66,5.66L85.66,128Z`}))]]),ht=new Map([[`bold`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z`}))],[`duotone`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M176,128,96,208V48Z`,opacity:`0.2`}),X.createElement(`path`,{d:`M181.66,122.34l-80-80A8,8,0,0,0,88,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,181.66,122.34ZM104,188.69V67.31L164.69,128Z`}))],[`fill`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M181.66,133.66l-80,80A8,8,0,0,1,88,208V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,181.66,133.66Z`}))],[`light`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M180.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L167.51,128,91.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,180.24,132.24Z`}))],[`regular`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z`}))],[`thin`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z`}))]]),gt=new Map([[`bold`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M216.49,168.49a12,12,0,0,1-17,0L128,97,56.49,168.49a12,12,0,0,1-17-17l80-80a12,12,0,0,1,17,0l80,80A12,12,0,0,1,216.49,168.49Z`}))],[`duotone`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M208,160H48l80-80Z`,opacity:`0.2`}),X.createElement(`path`,{d:`M213.66,154.34l-80-80a8,8,0,0,0-11.32,0l-80,80A8,8,0,0,0,48,168H208a8,8,0,0,0,5.66-13.66ZM67.31,152,128,91.31,188.69,152Z`}))],[`fill`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M215.39,163.06A8,8,0,0,1,208,168H48a8,8,0,0,1-5.66-13.66l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,215.39,163.06Z`}))],[`light`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M212.24,164.24a6,6,0,0,1-8.48,0L128,88.49,52.24,164.24a6,6,0,0,1-8.48-8.48l80-80a6,6,0,0,1,8.48,0l80,80A6,6,0,0,1,212.24,164.24Z`}))],[`regular`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M213.66,165.66a8,8,0,0,1-11.32,0L128,91.31,53.66,165.66a8,8,0,0,1-11.32-11.32l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,213.66,165.66Z`}))],[`thin`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M210.83,162.83a4,4,0,0,1-5.66,0L128,85.66,50.83,162.83a4,4,0,0,1-5.66-5.66l80-80a4,4,0,0,1,5.66,0l80,80A4,4,0,0,1,210.83,162.83Z`}))]]),_t=new Map([[`bold`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M236,128a108,108,0,0,1-216,0c0-42.52,24.73-81.34,63-98.9A12,12,0,1,1,93,50.91C63.24,64.57,44,94.83,44,128a84,84,0,0,0,168,0c0-33.17-19.24-63.43-49-77.09A12,12,0,1,1,173,29.1C211.27,46.66,236,85.48,236,128Z`}))],[`duotone`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z`,opacity:`0.2`}),X.createElement(`path`,{d:`M232,128a104,104,0,0,1-208,0c0-41,23.81-78.36,60.66-95.27a8,8,0,0,1,6.68,14.54C60.15,61.59,40,93.27,40,128a88,88,0,0,0,176,0c0-34.73-20.15-66.41-51.34-80.73a8,8,0,0,1,6.68-14.54C208.19,49.64,232,87,232,128Z`}))],[`fill`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,176A72,72,0,0,1,92,65.64a8,8,0,0,1,8,13.85,56,56,0,1,0,56,0,8,8,0,0,1,8-13.85A72,72,0,0,1,128,200Z`}))],[`light`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M230,128a102,102,0,0,1-204,0c0-40.18,23.35-76.86,59.5-93.45a6,6,0,0,1,5,10.9C58.61,60.09,38,92.49,38,128a90,90,0,0,0,180,0c0-35.51-20.61-67.91-52.5-82.55a6,6,0,0,1,5-10.9C206.65,51.14,230,87.82,230,128Z`}))],[`regular`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M232,128a104,104,0,0,1-208,0c0-41,23.81-78.36,60.66-95.27a8,8,0,0,1,6.68,14.54C60.15,61.59,40,93.27,40,128a88,88,0,0,0,176,0c0-34.73-20.15-66.41-51.34-80.73a8,8,0,0,1,6.68-14.54C208.19,49.64,232,87,232,128Z`}))],[`thin`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M228,128a100,100,0,0,1-200,0c0-39.4,22.9-75.37,58.33-91.63a4,4,0,1,1,3.34,7.27C57.07,58.6,36,91.71,36,128a92,92,0,0,0,184,0c0-36.29-21.07-69.4-53.67-84.36a4,4,0,1,1,3.34-7.27C205.1,52.63,228,88.6,228,128Z`}))]]),vt=new Map([[`bold`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M71.68,97.22,34.74,128l36.94,30.78a12,12,0,1,1-15.36,18.44l-48-40a12,12,0,0,1,0-18.44l48-40A12,12,0,0,1,71.68,97.22Zm176,21.56-48-40a12,12,0,1,0-15.36,18.44L221.26,128l-36.94,30.78a12,12,0,1,0,15.36,18.44l48-40a12,12,0,0,0,0-18.44ZM164.1,28.72a12,12,0,0,0-15.38,7.18l-64,176a12,12,0,0,0,7.18,15.37A11.79,11.79,0,0,0,96,228a12,12,0,0,0,11.28-7.9l64-176A12,12,0,0,0,164.1,28.72Z`}))],[`duotone`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M240,128l-48,40H64L16,128,64,88H192Z`,opacity:`0.2`}),X.createElement(`path`,{d:`M69.12,94.15,28.5,128l40.62,33.85a8,8,0,1,1-10.24,12.29l-48-40a8,8,0,0,1,0-12.29l48-40a8,8,0,0,1,10.24,12.3Zm176,27.7-48-40a8,8,0,1,0-10.24,12.3L227.5,128l-40.62,33.85a8,8,0,1,0,10.24,12.29l48-40a8,8,0,0,0,0-12.29ZM162.73,32.48a8,8,0,0,0-10.25,4.79l-64,176a8,8,0,0,0,4.79,10.26A8.14,8.14,0,0,0,96,224a8,8,0,0,0,7.52-5.27l64-176A8,8,0,0,0,162.73,32.48Z`}))],[`fill`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM92.8,145.6a8,8,0,1,1-9.6,12.8l-32-24a8,8,0,0,1,0-12.8l32-24a8,8,0,0,1,9.6,12.8L69.33,128Zm58.89-71.4-32,112a8,8,0,1,1-15.38-4.4l32-112a8,8,0,0,1,15.38,4.4Zm53.11,60.2-32,24a8,8,0,0,1-9.6-12.8L186.67,128,163.2,110.4a8,8,0,1,1,9.6-12.8l32,24a8,8,0,0,1,0,12.8Z`}))],[`light`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M67.84,92.61,25.37,128l42.47,35.39a6,6,0,1,1-7.68,9.22l-48-40a6,6,0,0,1,0-9.22l48-40a6,6,0,0,1,7.68,9.22Zm176,30.78-48-40a6,6,0,1,0-7.68,9.22L230.63,128l-42.47,35.39a6,6,0,1,0,7.68,9.22l48-40a6,6,0,0,0,0-9.22Zm-81.79-89A6,6,0,0,0,154.36,38l-64,176A6,6,0,0,0,94,221.64a6.15,6.15,0,0,0,2,.36,6,6,0,0,0,5.64-3.95l64-176A6,6,0,0,0,162.05,34.36Z`}))],[`regular`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M69.12,94.15,28.5,128l40.62,33.85a8,8,0,1,1-10.24,12.29l-48-40a8,8,0,0,1,0-12.29l48-40a8,8,0,0,1,10.24,12.3Zm176,27.7-48-40a8,8,0,1,0-10.24,12.3L227.5,128l-40.62,33.85a8,8,0,1,0,10.24,12.29l48-40a8,8,0,0,0,0-12.29ZM162.73,32.48a8,8,0,0,0-10.25,4.79l-64,176a8,8,0,0,0,4.79,10.26A8.14,8.14,0,0,0,96,224a8,8,0,0,0,7.52-5.27l64-176A8,8,0,0,0,162.73,32.48Z`}))],[`thin`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M66.56,91.07,22.25,128l44.31,36.93A4,4,0,0,1,64,172a3.94,3.94,0,0,1-2.56-.93l-48-40a4,4,0,0,1,0-6.14l48-40a4,4,0,0,1,5.12,6.14Zm176,33.86-48-40a4,4,0,1,0-5.12,6.14L233.75,128l-44.31,36.93a4,4,0,1,0,5.12,6.14l48-40a4,4,0,0,0,0-6.14ZM161.37,36.24a4,4,0,0,0-5.13,2.39l-64,176a4,4,0,0,0,2.39,5.13A4.12,4.12,0,0,0,96,220a4,4,0,0,0,3.76-2.63l64-176A4,4,0,0,0,161.37,36.24Z`}))]]),yt=new Map([[`bold`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M232,116h-4.72A100.21,100.21,0,0,0,140,28.72V24a12,12,0,0,0-24,0v4.72A100.21,100.21,0,0,0,28.72,116H24a12,12,0,0,0,0,24h4.72A100.21,100.21,0,0,0,116,227.28V232a12,12,0,0,0,24,0v-4.72A100.21,100.21,0,0,0,227.28,140H232a12,12,0,0,0,0-24Zm-92,87v-3a12,12,0,0,0-24,0v3a76.15,76.15,0,0,1-63-63h3a12,12,0,0,0,0-24H53a76.15,76.15,0,0,1,63-63v3a12,12,0,0,0,24,0V53a76.15,76.15,0,0,1,63,63h-3a12,12,0,0,0,0,24h3A76.15,76.15,0,0,1,140,203ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,64a20,20,0,1,1,20-20A20,20,0,0,1,128,148Z`}))],[`duotone`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M160,128a32,32,0,1,1-32-32A32,32,0,0,1,160,128Z`,opacity:`0.2`}),X.createElement(`path`,{d:`M232,120h-8.34A96.14,96.14,0,0,0,136,32.34V24a8,8,0,0,0-16,0v8.34A96.14,96.14,0,0,0,32.34,120H24a8,8,0,0,0,0,16h8.34A96.14,96.14,0,0,0,120,223.66V232a8,8,0,0,0,16,0v-8.34A96.14,96.14,0,0,0,223.66,136H232a8,8,0,0,0,0-16Zm-96,87.6V200a8,8,0,0,0-16,0v7.6A80.15,80.15,0,0,1,48.4,136H56a8,8,0,0,0,0-16H48.4A80.15,80.15,0,0,1,120,48.4V56a8,8,0,0,0,16,0V48.4A80.15,80.15,0,0,1,207.6,120H200a8,8,0,0,0,0,16h7.6A80.15,80.15,0,0,1,136,207.6ZM128,88a40,40,0,1,0,40,40A40,40,0,0,0,128,88Zm0,64a24,24,0,1,1,24-24A24,24,0,0,1,128,152Z`}))],[`fill`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M232,120h-8.34A96.14,96.14,0,0,0,136,32.34V24a8,8,0,0,0-16,0v8.34A96.14,96.14,0,0,0,32.34,120H24a8,8,0,0,0,0,16h8.34A96.14,96.14,0,0,0,120,223.66V232a8,8,0,0,0,16,0v-8.34A96.14,96.14,0,0,0,223.66,136H232a8,8,0,0,0,0-16Zm-32,16h7.6A80.15,80.15,0,0,1,136,207.6V200a8,8,0,0,0-16,0v7.6A80.15,80.15,0,0,1,48.4,136H56a8,8,0,0,0,0-16H48.4A80.15,80.15,0,0,1,120,48.4V56a8,8,0,0,0,16,0V48.4A80.15,80.15,0,0,1,207.6,120H200a8,8,0,0,0,0,16Zm-32-8a40,40,0,1,1-40-40A40,40,0,0,1,168,128Z`}))],[`light`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M232,122H221.8A94.13,94.13,0,0,0,134,34.2V24a6,6,0,0,0-12,0V34.2A94.13,94.13,0,0,0,34.2,122H24a6,6,0,0,0,0,12H34.2A94.13,94.13,0,0,0,122,221.8V232a6,6,0,0,0,12,0V221.8A94.13,94.13,0,0,0,221.8,134H232a6,6,0,0,0,0-12Zm-98,87.76V200a6,6,0,0,0-12,0v9.76A82.09,82.09,0,0,1,46.24,134H56a6,6,0,0,0,0-12H46.24A82.09,82.09,0,0,1,122,46.24V56a6,6,0,0,0,12,0V46.24A82.09,82.09,0,0,1,209.76,122H200a6,6,0,0,0,0,12h9.76A82.09,82.09,0,0,1,134,209.76ZM128,90a38,38,0,1,0,38,38A38,38,0,0,0,128,90Zm0,64a26,26,0,1,1,26-26A26,26,0,0,1,128,154Z`}))],[`regular`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M232,120h-8.34A96.14,96.14,0,0,0,136,32.34V24a8,8,0,0,0-16,0v8.34A96.14,96.14,0,0,0,32.34,120H24a8,8,0,0,0,0,16h8.34A96.14,96.14,0,0,0,120,223.66V232a8,8,0,0,0,16,0v-8.34A96.14,96.14,0,0,0,223.66,136H232a8,8,0,0,0,0-16Zm-96,87.6V200a8,8,0,0,0-16,0v7.6A80.15,80.15,0,0,1,48.4,136H56a8,8,0,0,0,0-16H48.4A80.15,80.15,0,0,1,120,48.4V56a8,8,0,0,0,16,0V48.4A80.15,80.15,0,0,1,207.6,120H200a8,8,0,0,0,0,16h7.6A80.15,80.15,0,0,1,136,207.6ZM128,88a40,40,0,1,0,40,40A40,40,0,0,0,128,88Zm0,64a24,24,0,1,1,24-24A24,24,0,0,1,128,152Z`}))],[`thin`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M232,124H219.91A92.13,92.13,0,0,0,132,36.09V24a4,4,0,0,0-8,0V36.09A92.13,92.13,0,0,0,36.09,124H24a4,4,0,0,0,0,8H36.09A92.13,92.13,0,0,0,124,219.91V232a4,4,0,0,0,8,0V219.91A92.13,92.13,0,0,0,219.91,132H232a4,4,0,0,0,0-8ZM132,211.9V200a4,4,0,0,0-8,0v11.9A84.11,84.11,0,0,1,44.1,132H56a4,4,0,0,0,0-8H44.1A84.11,84.11,0,0,1,124,44.1V56a4,4,0,0,0,8,0V44.1A84.11,84.11,0,0,1,211.9,124H200a4,4,0,0,0,0,8h11.9A84.11,84.11,0,0,1,132,211.9ZM128,92a36,36,0,1,0,36,36A36,36,0,0,0,128,92Zm0,64a28,28,0,1,1,28-28A28,28,0,0,1,128,156Z`}))]]),bt=new Map([[`bold`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M225.6,62.64l-88-48.17a19.91,19.91,0,0,0-19.2,0l-88,48.17A20,20,0,0,0,20,80.19v95.62a20,20,0,0,0,10.4,17.55l88,48.17a19.89,19.89,0,0,0,19.2,0l88-48.17A20,20,0,0,0,236,175.81V80.19A20,20,0,0,0,225.6,62.64ZM128,36.57,200,76,128,115.4,56,76ZM44,96.79l72,39.4v76.67L44,173.44Zm96,116.07V136.19l72-39.4v76.65Z`}))],[`duotone`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M128,129.09V232a8,8,0,0,1-3.84-1l-88-48.16a8,8,0,0,1-4.16-7V80.2a8,8,0,0,1,.7-3.27Z`,opacity:`0.2`}),X.createElement(`path`,{d:`M223.68,66.15,135.68,18h0a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,32h0l80.34,44L128,120,47.66,76ZM40,90l80,43.78v85.79L40,175.82Zm96,129.57V133.82L216,90v85.78Z`}))],[`fill`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M223.68,66.15,135.68,18a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,120,47.65,76,128,32l80.35,44Zm8,99.64V133.83l80-43.78v85.76Z`}))],[`light`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M222.72,67.9l-88-48.17a13.9,13.9,0,0,0-13.44,0l-88,48.18A14,14,0,0,0,26,80.18v95.64a14,14,0,0,0,7.28,12.27l88,48.18a13.92,13.92,0,0,0,13.44,0l88-48.18A14,14,0,0,0,230,175.82V80.18A14,14,0,0,0,222.72,67.9ZM127,30.25a2,2,0,0,1,1.92,0L212.51,76,128,122.24,43.49,76ZM39,177.57a2,2,0,0,1-1-1.75V86.66l84,46V223Zm177.92,0L134,223V132.64l84-46v89.16A2,2,0,0,1,217,177.57Z`}))],[`regular`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M223.68,66.15,135.68,18h0a15.88,15.88,0,0,0-15.36,0l-88,48.17a16,16,0,0,0-8.32,14v95.64a16,16,0,0,0,8.32,14l88,48.17a15.88,15.88,0,0,0,15.36,0l88-48.17a16,16,0,0,0,8.32-14V80.18A16,16,0,0,0,223.68,66.15ZM128,32h0l80.34,44L128,120,47.66,76ZM40,90l80,43.78v85.79L40,175.82Zm96,129.57V133.82L216,90v85.78Z`}))],[`thin`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M221.76,69.66l-88-48.18a12,12,0,0,0-11.52,0l-88,48.18A12,12,0,0,0,28,80.18v95.64a12,12,0,0,0,6.24,10.52l88,48.18a11.95,11.95,0,0,0,11.52,0l88-48.18A12,12,0,0,0,228,175.82V80.18A12,12,0,0,0,221.76,69.66ZM126.08,28.5a3.94,3.94,0,0,1,3.84,0L216.67,76,128,124.52,39.33,76Zm-88,150.83A4,4,0,0,1,36,175.82V83.29l88,48.16v94.91Zm179.84,0-85.92,47V131.45l88-48.16v92.53A4,4,0,0,1,217.92,179.32Z`}))]]),xt=new Map([[`bold`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M236,100H225L190.83,65.86A19.86,19.86,0,0,0,176.69,60H144V44h20a12,12,0,0,0,0-24H100a12,12,0,0,0,0,24h20V60H64A20,20,0,0,0,44,80v48H28V108a12,12,0,0,0-24,0v64a12,12,0,0,0,24,0V152H44v16.69a19.86,19.86,0,0,0,5.86,14.14l39.31,39.31A19.86,19.86,0,0,0,103.31,228h73.38a19.86,19.86,0,0,0,14.14-5.86L225,188h11a20,20,0,0,0,20-20V120A20,20,0,0,0,236,100Zm-4,64H220a12,12,0,0,0-8.49,3.51L175,204H105L68,167V84H175l36.48,36.49A12,12,0,0,0,220,124h12Z`}))],[`duotone`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M248,120v48a8,8,0,0,1-8,8H224l-37.66,37.66a8,8,0,0,1-5.65,2.34H103.31a8,8,0,0,1-5.65-2.34L58.34,174.34A8,8,0,0,1,56,168.69V80a8,8,0,0,1,8-8H180.69a8,8,0,0,1,5.65,2.34L224,112h16A8,8,0,0,1,248,120Z`,opacity:`0.2`}),X.createElement(`path`,{d:`M240,104H227.31L192,68.69A15.86,15.86,0,0,0,180.69,64H140V40h24a8,8,0,0,0,0-16H100a8,8,0,0,0,0,16h24V64H64A16,16,0,0,0,48,80v52H24V108a8,8,0,0,0-16,0v64a8,8,0,0,0,16,0V148H48v20.69A15.86,15.86,0,0,0,52.69,180L92,219.31A15.86,15.86,0,0,0,103.31,224h77.38A15.86,15.86,0,0,0,192,219.31L227.31,184H240a16,16,0,0,0,16-16V120A16,16,0,0,0,240,104Zm0,64H224a8,8,0,0,0-5.66,2.34L180.69,208H103.31L64,168.69V80H180.69l37.65,37.66A8,8,0,0,0,224,120h16Z`}))],[`fill`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M256,120v48a16,16,0,0,1-16,16H227.31L192,219.31A15.86,15.86,0,0,1,180.69,224H103.31A15.86,15.86,0,0,1,92,219.31L52.69,180A15.86,15.86,0,0,1,48,168.69V148H24v24a8,8,0,0,1-16,0V108a8,8,0,0,1,16,0v24H48V80A16,16,0,0,1,64,64h60V40H100a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16H140V64h40.69A15.86,15.86,0,0,1,192,68.69L227.31,104H240A16,16,0,0,1,256,120Z`}))],[`light`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M240,106H226.49L190.58,70.1a13.9,13.9,0,0,0-9.89-4.1H138V38h26a6,6,0,0,0,0-12H100a6,6,0,0,0,0,12h26V66H64A14,14,0,0,0,50,80v54H22V108a6,6,0,0,0-12,0v64a6,6,0,0,0,12,0V146H50v22.69a13.9,13.9,0,0,0,4.1,9.89L93.42,217.9a13.9,13.9,0,0,0,9.89,4.1h77.38a13.9,13.9,0,0,0,9.89-4.1L226.49,182H240a14,14,0,0,0,14-14V120A14,14,0,0,0,240,106Zm2,62a2,2,0,0,1-2,2H224a6,6,0,0,0-4.24,1.76L182.1,209.42a2,2,0,0,1-1.41.58H103.31a2,2,0,0,1-1.41-.58L62.58,170.1a2,2,0,0,1-.58-1.41V80a2,2,0,0,1,2-2H180.69a2,2,0,0,1,1.41.58l37.66,37.66A6,6,0,0,0,224,118h16a2,2,0,0,1,2,2Z`}))],[`regular`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M240,104H227.31L192,68.69A15.86,15.86,0,0,0,180.69,64H140V40h24a8,8,0,0,0,0-16H100a8,8,0,0,0,0,16h24V64H64A16,16,0,0,0,48,80v52H24V108a8,8,0,0,0-16,0v64a8,8,0,0,0,16,0V148H48v20.69A15.86,15.86,0,0,0,52.69,180L92,219.31A15.86,15.86,0,0,0,103.31,224h77.38A15.86,15.86,0,0,0,192,219.31L227.31,184H240a16,16,0,0,0,16-16V120A16,16,0,0,0,240,104Zm0,64H224a8,8,0,0,0-5.66,2.34L180.69,208H103.31L64,168.69V80H180.69l37.65,37.66A8,8,0,0,0,224,120h16Z`}))],[`thin`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M240,108H225.66L189.17,71.51A11.93,11.93,0,0,0,180.69,68H136V36h28a4,4,0,0,0,0-8H100a4,4,0,0,0,0,8h28V68H64A12,12,0,0,0,52,80v56H20V108a4,4,0,0,0-8,0v64a4,4,0,0,0,8,0V144H52v24.69a11.93,11.93,0,0,0,3.51,8.48l39.32,39.32a11.93,11.93,0,0,0,8.48,3.51h77.38a11.93,11.93,0,0,0,8.48-3.51L225.66,180H240a12,12,0,0,0,12-12V120A12,12,0,0,0,240,108Zm4,60a4,4,0,0,1-4,4H224a4,4,0,0,0-2.83,1.17l-37.66,37.66a4,4,0,0,1-2.82,1.17H103.31a4,4,0,0,1-2.82-1.17L61.17,171.51A4,4,0,0,1,60,168.69V80a4,4,0,0,1,4-4H180.69a4,4,0,0,1,2.82,1.17l37.66,37.66A4,4,0,0,0,224,116h16a4,4,0,0,1,4,4Z`}))]]),St=new Map([[`bold`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M251,123.13c-.37-.81-9.13-20.26-28.48-39.61C196.63,57.67,164,44,128,44S59.37,57.67,33.51,83.52C14.16,102.87,5.4,122.32,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212s68.63-13.66,94.48-39.51c19.36-19.35,28.12-38.79,28.49-39.61A12.08,12.08,0,0,0,251,123.13Zm-46.06,33C183.47,177.27,157.59,188,128,188s-55.47-10.73-76.91-31.88A130.36,130.36,0,0,1,29.52,128,130.45,130.45,0,0,1,51.09,99.89C72.54,78.73,98.41,68,128,68s55.46,10.73,76.91,31.89A130.36,130.36,0,0,1,226.48,128,130.45,130.45,0,0,1,204.91,156.12ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,64a20,20,0,1,1,20-20A20,20,0,0,1,128,148Z`}))],[`duotone`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z`,opacity:`0.2`}),X.createElement(`path`,{d:`M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z`}))],[`fill`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z`}))],[`light`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M245.48,125.57c-.34-.78-8.66-19.23-27.24-37.81C201,70.54,171.38,50,128,50S55,70.54,37.76,87.76c-18.58,18.58-26.9,37-27.24,37.81a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206s73-20.53,90.24-37.75c18.58-18.58,26.9-37,27.24-37.8A6,6,0,0,0,245.48,125.57ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.77,134.77,0,0,1,22.69,128,134.56,134.56,0,0,1,46.55,95.94C69.22,73.42,96.62,62,128,62s58.78,11.42,81.45,33.94A134.56,134.56,0,0,1,233.31,128C226.94,140.21,195,194,128,194Zm0-112a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162Z`}))],[`regular`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z`}))],[`thin`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M243.66,126.38c-.34-.76-8.52-18.89-26.83-37.2C199.87,72.22,170.7,52,128,52S56.13,72.22,39.17,89.18c-18.31,18.31-26.49,36.44-26.83,37.2a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17s71.87-20.21,88.83-37.17c18.31-18.31,26.49-36.43,26.83-37.2A4.08,4.08,0,0,0,243.66,126.38Zm-32.7,35c-23.07,23-51,34.62-83,34.62s-59.89-11.65-83-34.62A135.71,135.71,0,0,1,20.44,128,135.69,135.69,0,0,1,45,94.62C68.11,71.65,96,60,128,60s59.89,11.65,83,34.62A135.79,135.79,0,0,1,235.56,128,135.71,135.71,0,0,1,211,161.38ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Z`}))]]),Ct=new Map([[`bold`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M128,76a52,52,0,1,0,52,52A52.06,52.06,0,0,0,128,76Zm0,80a28,28,0,1,1,28-28A28,28,0,0,1,128,156Zm92-27.21v-1.58l14-17.51a12,12,0,0,0,2.23-10.59A111.75,111.75,0,0,0,225,71.89,12,12,0,0,0,215.89,66L193.61,63.5l-1.11-1.11L190,40.1A12,12,0,0,0,184.11,31a111.67,111.67,0,0,0-27.23-11.27A12,12,0,0,0,146.3,22L128.79,36h-1.58L109.7,22a12,12,0,0,0-10.59-2.23A111.75,111.75,0,0,0,71.89,31.05,12,12,0,0,0,66,40.11L63.5,62.39,62.39,63.5,40.1,66A12,12,0,0,0,31,71.89,111.67,111.67,0,0,0,19.77,99.12,12,12,0,0,0,22,109.7l14,17.51v1.58L22,146.3a12,12,0,0,0-2.23,10.59,111.75,111.75,0,0,0,11.29,27.22A12,12,0,0,0,40.11,190l22.28,2.48,1.11,1.11L66,215.9A12,12,0,0,0,71.89,225a111.67,111.67,0,0,0,27.23,11.27A12,12,0,0,0,109.7,234l17.51-14h1.58l17.51,14a12,12,0,0,0,10.59,2.23A111.75,111.75,0,0,0,184.11,225a12,12,0,0,0,5.91-9.06l2.48-22.28,1.11-1.11L215.9,190a12,12,0,0,0,9.06-5.91,111.67,111.67,0,0,0,11.27-27.23A12,12,0,0,0,234,146.3Zm-24.12-4.89a70.1,70.1,0,0,1,0,8.2,12,12,0,0,0,2.61,8.22l12.84,16.05A86.47,86.47,0,0,1,207,166.86l-20.43,2.27a12,12,0,0,0-7.65,4,69,69,0,0,1-5.8,5.8,12,12,0,0,0-4,7.65L166.86,207a86.47,86.47,0,0,1-10.49,4.35l-16.05-12.85a12,12,0,0,0-7.5-2.62c-.24,0-.48,0-.72,0a70.1,70.1,0,0,1-8.2,0,12.06,12.06,0,0,0-8.22,2.6L99.63,211.33A86.47,86.47,0,0,1,89.14,207l-2.27-20.43a12,12,0,0,0-4-7.65,69,69,0,0,1-5.8-5.8,12,12,0,0,0-7.65-4L49,166.86a86.47,86.47,0,0,1-4.35-10.49l12.84-16.05a12,12,0,0,0,2.61-8.22,70.1,70.1,0,0,1,0-8.2,12,12,0,0,0-2.61-8.22L44.67,99.63A86.47,86.47,0,0,1,49,89.14l20.43-2.27a12,12,0,0,0,7.65-4,69,69,0,0,1,5.8-5.8,12,12,0,0,0,4-7.65L89.14,49a86.47,86.47,0,0,1,10.49-4.35l16.05,12.85a12.06,12.06,0,0,0,8.22,2.6,70.1,70.1,0,0,1,8.2,0,12,12,0,0,0,8.22-2.6l16.05-12.85A86.47,86.47,0,0,1,166.86,49l2.27,20.43a12,12,0,0,0,4,7.65,69,69,0,0,1,5.8,5.8,12,12,0,0,0,7.65,4L207,89.14a86.47,86.47,0,0,1,4.35,10.49l-12.84,16.05A12,12,0,0,0,195.88,123.9Z`}))],[`duotone`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M207.86,123.18l16.78-21a99.14,99.14,0,0,0-10.07-24.29l-26.7-3a81,81,0,0,0-6.81-6.81l-3-26.71a99.43,99.43,0,0,0-24.3-10l-21,16.77a81.59,81.59,0,0,0-9.64,0l-21-16.78A99.14,99.14,0,0,0,77.91,41.43l-3,26.7a81,81,0,0,0-6.81,6.81l-26.71,3a99.43,99.43,0,0,0-10,24.3l16.77,21a81.59,81.59,0,0,0,0,9.64l-16.78,21a99.14,99.14,0,0,0,10.07,24.29l26.7,3a81,81,0,0,0,6.81,6.81l3,26.71a99.43,99.43,0,0,0,24.3,10l21-16.77a81.59,81.59,0,0,0,9.64,0l21,16.78a99.14,99.14,0,0,0,24.29-10.07l3-26.7a81,81,0,0,0,6.81-6.81l26.71-3a99.43,99.43,0,0,0,10-24.3l-16.77-21A81.59,81.59,0,0,0,207.86,123.18ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z`,opacity:`0.2`}),X.createElement(`path`,{d:`M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.6,107.6,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.29,107.29,0,0,0-26.25-10.86,8,8,0,0,0-7.06,1.48L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.6,107.6,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8.06,8.06,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8.06,8.06,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z`}))],[`fill`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M216,130.16q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.6,107.6,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.29,107.29,0,0,0-26.25-10.86,8,8,0,0,0-7.06,1.48L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.6,107.6,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z`}))],[`light`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M128,82a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162ZM214,130.84c.06-1.89.06-3.79,0-5.68L229.33,106a6,6,0,0,0,1.11-5.29A105.34,105.34,0,0,0,219.76,74.9a6,6,0,0,0-4.53-3l-24.45-2.71q-1.93-2.07-4-4l-2.72-24.46a6,6,0,0,0-3-4.53,105.65,105.65,0,0,0-25.77-10.66A6,6,0,0,0,150,26.68l-19.2,15.37c-1.89-.06-3.79-.06-5.68,0L106,26.67a6,6,0,0,0-5.29-1.11A105.34,105.34,0,0,0,74.9,36.24a6,6,0,0,0-3,4.53L69.23,65.22q-2.07,1.94-4,4L40.76,72a6,6,0,0,0-4.53,3,105.65,105.65,0,0,0-10.66,25.77A6,6,0,0,0,26.68,106l15.37,19.2c-.06,1.89-.06,3.79,0,5.68L26.67,150.05a6,6,0,0,0-1.11,5.29A105.34,105.34,0,0,0,36.24,181.1a6,6,0,0,0,4.53,3l24.45,2.71q1.94,2.07,4,4L72,215.24a6,6,0,0,0,3,4.53,105.65,105.65,0,0,0,25.77,10.66,6,6,0,0,0,5.29-1.11L125.16,214c1.89.06,3.79.06,5.68,0l19.21,15.38a6,6,0,0,0,3.75,1.31,6.2,6.2,0,0,0,1.54-.2,105.34,105.34,0,0,0,25.76-10.68,6,6,0,0,0,3-4.53l2.71-24.45q2.07-1.93,4-4l24.46-2.72a6,6,0,0,0,4.53-3,105.49,105.49,0,0,0,10.66-25.77,6,6,0,0,0-1.11-5.29Zm-3.1,41.63-23.64,2.63a6,6,0,0,0-3.82,2,75.14,75.14,0,0,1-6.31,6.31,6,6,0,0,0-2,3.82l-2.63,23.63A94.28,94.28,0,0,1,155.14,218l-18.57-14.86a6,6,0,0,0-3.75-1.31h-.36a78.07,78.07,0,0,1-8.92,0,6,6,0,0,0-4.11,1.3L100.87,218a94.13,94.13,0,0,1-17.34-7.17L80.9,187.21a6,6,0,0,0-2-3.82,75.14,75.14,0,0,1-6.31-6.31,6,6,0,0,0-3.82-2l-23.63-2.63A94.28,94.28,0,0,1,38,155.14l14.86-18.57a6,6,0,0,0,1.3-4.11,78.07,78.07,0,0,1,0-8.92,6,6,0,0,0-1.3-4.11L38,100.87a94.13,94.13,0,0,1,7.17-17.34L68.79,80.9a6,6,0,0,0,3.82-2,75.14,75.14,0,0,1,6.31-6.31,6,6,0,0,0,2-3.82l2.63-23.63A94.28,94.28,0,0,1,100.86,38l18.57,14.86a6,6,0,0,0,4.11,1.3,78.07,78.07,0,0,1,8.92,0,6,6,0,0,0,4.11-1.3L155.13,38a94.13,94.13,0,0,1,17.34,7.17l2.63,23.64a6,6,0,0,0,2,3.82,75.14,75.14,0,0,1,6.31,6.31,6,6,0,0,0,3.82,2l23.63,2.63A94.28,94.28,0,0,1,218,100.86l-14.86,18.57a6,6,0,0,0-1.3,4.11,78.07,78.07,0,0,1,0,8.92,6,6,0,0,0,1.3,4.11L218,155.13A94.13,94.13,0,0,1,210.85,172.47Z`}))],[`regular`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.21,107.21,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.71,107.71,0,0,0-26.25-10.87,8,8,0,0,0-7.06,1.49L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.21,107.21,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8,8,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8,8,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z`}))],[`thin`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Zm83.93-32.49q.13-3.51,0-7l15.83-19.79a4,4,0,0,0,.75-3.53A103.64,103.64,0,0,0,218,75.9a4,4,0,0,0-3-2l-25.19-2.8c-1.58-1.71-3.24-3.37-4.95-4.95L182.07,41a4,4,0,0,0-2-3A104,104,0,0,0,154.82,27.5a4,4,0,0,0-3.53.74L131.51,44.07q-3.51-.14-7,0L104.7,28.24a4,4,0,0,0-3.53-.75A103.64,103.64,0,0,0,75.9,38a4,4,0,0,0-2,3l-2.8,25.19c-1.71,1.58-3.37,3.24-4.95,4.95L41,73.93a4,4,0,0,0-3,2A104,104,0,0,0,27.5,101.18a4,4,0,0,0,.74,3.53l15.83,19.78q-.14,3.51,0,7L28.24,151.3a4,4,0,0,0-.75,3.53A103.64,103.64,0,0,0,38,180.1a4,4,0,0,0,3,2l25.19,2.8c1.58,1.71,3.24,3.37,4.95,4.95l2.8,25.2a4,4,0,0,0,2,3,104,104,0,0,0,25.28,10.46,4,4,0,0,0,3.53-.74l19.78-15.83q3.51.13,7,0l19.79,15.83a4,4,0,0,0,2.5.88,4,4,0,0,0,1-.13A103.64,103.64,0,0,0,180.1,218a4,4,0,0,0,2-3l2.8-25.19c1.71-1.58,3.37-3.24,4.95-4.95l25.2-2.8a4,4,0,0,0,3-2,104,104,0,0,0,10.46-25.28,4,4,0,0,0-.74-3.53Zm.17,42.83-24.67,2.74a4,4,0,0,0-2.55,1.32,76.2,76.2,0,0,1-6.48,6.48,4,4,0,0,0-1.32,2.55l-2.74,24.66a95.45,95.45,0,0,1-19.64,8.15l-19.38-15.51a4,4,0,0,0-2.5-.87h-.24a73.67,73.67,0,0,1-9.16,0,4,4,0,0,0-2.74.87l-19.37,15.5a95.33,95.33,0,0,1-19.65-8.13l-2.74-24.67a4,4,0,0,0-1.32-2.55,76.2,76.2,0,0,1-6.48-6.48,4,4,0,0,0-2.55-1.32l-24.66-2.74a95.45,95.45,0,0,1-8.15-19.64l15.51-19.38a4,4,0,0,0,.87-2.74,77.76,77.76,0,0,1,0-9.16,4,4,0,0,0-.87-2.74l-15.5-19.37A95.33,95.33,0,0,1,43.9,81.66l24.67-2.74a4,4,0,0,0,2.55-1.32,76.2,76.2,0,0,1,6.48-6.48,4,4,0,0,0,1.32-2.55l2.74-24.66a95.45,95.45,0,0,1,19.64-8.15l19.38,15.51a4,4,0,0,0,2.74.87,73.67,73.67,0,0,1,9.16,0,4,4,0,0,0,2.74-.87l19.37-15.5a95.33,95.33,0,0,1,19.65,8.13l2.74,24.67a4,4,0,0,0,1.32,2.55,76.2,76.2,0,0,1,6.48,6.48,4,4,0,0,0,2.55,1.32l24.66,2.74a95.45,95.45,0,0,1,8.15,19.64l-15.51,19.38a4,4,0,0,0-.87,2.74,77.76,77.76,0,0,1,0,9.16,4,4,0,0,0,.87,2.74l15.5,19.37A95.33,95.33,0,0,1,212.1,174.34Z`}))]]),wt=new Map([[`bold`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M212.62,75.17A63.7,63.7,0,0,0,206.39,26,12,12,0,0,0,196,20a63.71,63.71,0,0,0-50,24H126A63.71,63.71,0,0,0,76,20a12,12,0,0,0-10.39,6,63.7,63.7,0,0,0-6.23,49.17A61.5,61.5,0,0,0,52,104v8a60.1,60.1,0,0,0,45.76,58.28A43.66,43.66,0,0,0,92,192v4H76a20,20,0,0,1-20-20,44.05,44.05,0,0,0-44-44,12,12,0,0,0,0,24,20,20,0,0,1,20,20,44.05,44.05,0,0,0,44,44H92v12a12,12,0,0,0,24,0V192a20,20,0,0,1,40,0v40a12,12,0,0,0,24,0V192a43.66,43.66,0,0,0-5.76-21.72A60.1,60.1,0,0,0,220,112v-8A61.5,61.5,0,0,0,212.62,75.17ZM196,112a36,36,0,0,1-36,36H112a36,36,0,0,1-36-36v-8a37.87,37.87,0,0,1,6.13-20.12,11.65,11.65,0,0,0,1.58-11.49,39.9,39.9,0,0,1-.4-27.72,39.87,39.87,0,0,1,26.41,17.8A12,12,0,0,0,119.82,68h32.35a12,12,0,0,0,10.11-5.53,39.84,39.84,0,0,1,26.41-17.8,39.9,39.9,0,0,1-.4,27.72,12,12,0,0,0,1.61,11.53A37.85,37.85,0,0,1,196,104Z`}))],[`duotone`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M208,104v8a48,48,0,0,1-48,48H136a32,32,0,0,1,32,32v40H104V192a32,32,0,0,1,32-32H112a48,48,0,0,1-48-48v-8a49.28,49.28,0,0,1,8.51-27.3A51.92,51.92,0,0,1,76,32a52,52,0,0,1,43.83,24h32.34A52,52,0,0,1,196,32a51.92,51.92,0,0,1,3.49,44.7A49.28,49.28,0,0,1,208,104Z`,opacity:`0.2`}),X.createElement(`path`,{d:`M208.3,75.68A59.74,59.74,0,0,0,202.93,28,8,8,0,0,0,196,24a59.75,59.75,0,0,0-48,24H124A59.75,59.75,0,0,0,76,24a8,8,0,0,0-6.93,4,59.78,59.78,0,0,0-5.38,47.68A58.14,58.14,0,0,0,56,104v8a56.06,56.06,0,0,0,48.44,55.47A39.8,39.8,0,0,0,96,192v8H72a24,24,0,0,1-24-24A40,40,0,0,0,8,136a8,8,0,0,0,0,16,24,24,0,0,1,24,24,40,40,0,0,0,40,40H96v16a8,8,0,0,0,16,0V192a24,24,0,0,1,48,0v40a8,8,0,0,0,16,0V192a39.8,39.8,0,0,0-8.44-24.53A56.06,56.06,0,0,0,216,112v-8A58,58,0,0,0,208.3,75.68ZM200,112a40,40,0,0,1-40,40H112a40,40,0,0,1-40-40v-8a41.74,41.74,0,0,1,6.9-22.48A8,8,0,0,0,80,73.83a43.81,43.81,0,0,1,.79-33.58,43.88,43.88,0,0,1,32.32,20.06A8,8,0,0,0,119.82,64h32.35a8,8,0,0,0,6.74-3.69,43.87,43.87,0,0,1,32.32-20.06A43.81,43.81,0,0,1,192,73.83a8.09,8.09,0,0,0,1,7.65A41.76,41.76,0,0,1,200,104Z`}))],[`fill`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M216,104v8a56.06,56.06,0,0,1-48.44,55.47A39.8,39.8,0,0,1,176,192v40a8,8,0,0,1-8,8H104a8,8,0,0,1-8-8V216H72a40,40,0,0,1-40-40A24,24,0,0,0,8,152a8,8,0,0,1,0-16,40,40,0,0,1,40,40,24,24,0,0,0,24,24H96v-8a39.8,39.8,0,0,1,8.44-24.53A56.06,56.06,0,0,1,56,112v-8a58.14,58.14,0,0,1,7.69-28.32A59.78,59.78,0,0,1,69.07,28,8,8,0,0,1,76,24a59.75,59.75,0,0,1,48,24h24a59.75,59.75,0,0,1,48-24,8,8,0,0,1,6.93,4,59.74,59.74,0,0,1,5.37,47.68A58,58,0,0,1,216,104Z`}))],[`light`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M206.13,75.92A57.79,57.79,0,0,0,201.2,29a6,6,0,0,0-5.2-3,57.77,57.77,0,0,0-47,24H123A57.77,57.77,0,0,0,76,26a6,6,0,0,0-5.2,3,57.79,57.79,0,0,0-4.93,46.92A55.88,55.88,0,0,0,58,104v8a54.06,54.06,0,0,0,50.45,53.87A37.85,37.85,0,0,0,98,192v10H72a26,26,0,0,1-26-26A38,38,0,0,0,8,138a6,6,0,0,0,0,12,26,26,0,0,1,26,26,38,38,0,0,0,38,38H98v18a6,6,0,0,0,12,0V192a26,26,0,0,1,52,0v40a6,6,0,0,0,12,0V192a37.85,37.85,0,0,0-10.45-26.13A54.06,54.06,0,0,0,214,112v-8A55.88,55.88,0,0,0,206.13,75.92ZM202,112a42,42,0,0,1-42,42H112a42,42,0,0,1-42-42v-8a43.86,43.86,0,0,1,7.3-23.69,6,6,0,0,0,.81-5.76,45.85,45.85,0,0,1,1.43-36.42,45.85,45.85,0,0,1,35.23,21.1A6,6,0,0,0,119.83,62h32.34a6,6,0,0,0,5.06-2.76,45.83,45.83,0,0,1,35.23-21.11,45.85,45.85,0,0,1,1.43,36.42,6,6,0,0,0,.79,5.74A43.78,43.78,0,0,1,202,104Z`}))],[`regular`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M208.31,75.68A59.78,59.78,0,0,0,202.93,28,8,8,0,0,0,196,24a59.75,59.75,0,0,0-48,24H124A59.75,59.75,0,0,0,76,24a8,8,0,0,0-6.93,4,59.78,59.78,0,0,0-5.38,47.68A58.14,58.14,0,0,0,56,104v8a56.06,56.06,0,0,0,48.44,55.47A39.8,39.8,0,0,0,96,192v8H72a24,24,0,0,1-24-24A40,40,0,0,0,8,136a8,8,0,0,0,0,16,24,24,0,0,1,24,24,40,40,0,0,0,40,40H96v16a8,8,0,0,0,16,0V192a24,24,0,0,1,48,0v40a8,8,0,0,0,16,0V192a39.8,39.8,0,0,0-8.44-24.53A56.06,56.06,0,0,0,216,112v-8A58.14,58.14,0,0,0,208.31,75.68ZM200,112a40,40,0,0,1-40,40H112a40,40,0,0,1-40-40v-8a41.74,41.74,0,0,1,6.9-22.48A8,8,0,0,0,80,73.83a43.81,43.81,0,0,1,.79-33.58,43.88,43.88,0,0,1,32.32,20.06A8,8,0,0,0,119.82,64h32.35a8,8,0,0,0,6.74-3.69,43.87,43.87,0,0,1,32.32-20.06A43.81,43.81,0,0,1,192,73.83a8.09,8.09,0,0,0,1,7.65A41.72,41.72,0,0,1,200,104Z`}))],[`thin`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M203.94,76.16A55.73,55.73,0,0,0,199.46,30,4,4,0,0,0,196,28a55.78,55.78,0,0,0-46,24H122A55.78,55.78,0,0,0,76,28a4,4,0,0,0-3.46,2,55.73,55.73,0,0,0-4.48,46.16A53.78,53.78,0,0,0,60,104v8a52.06,52.06,0,0,0,52,52h1.41A36,36,0,0,0,100,192v12H72a28,28,0,0,1-28-28A36,36,0,0,0,8,140a4,4,0,0,0,0,8,28,28,0,0,1,28,28,36,36,0,0,0,36,36h28v20a4,4,0,0,0,8,0V192a28,28,0,0,1,56,0v40a4,4,0,0,0,8,0V192a36,36,0,0,0-13.41-28H160a52.06,52.06,0,0,0,52-52v-8A53.78,53.78,0,0,0,203.94,76.16ZM204,112a44.05,44.05,0,0,1-44,44H112a44.05,44.05,0,0,1-44-44v-8a45.76,45.76,0,0,1,7.71-24.89,4,4,0,0,0,.53-3.84,47.82,47.82,0,0,1,2.1-39.21,47.8,47.8,0,0,1,38.12,22.1A4,4,0,0,0,119.83,60h32.34a4,4,0,0,0,3.37-1.84,47.8,47.8,0,0,1,38.12-22.1,47.82,47.82,0,0,1,2.1,39.21,4,4,0,0,0,.53,3.83A45.85,45.85,0,0,1,204,104Z`}))]]),Tt=new Map([[`bold`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M224,44H32A20,20,0,0,0,12,64V192a20,20,0,0,0,20,20H224a20,20,0,0,0,20-20V64A20,20,0,0,0,224,44Zm-4,144H36V68H220ZM52,128a12,12,0,0,1,12-12H192a12,12,0,0,1,0,24H64A12,12,0,0,1,52,128Zm0-36A12,12,0,0,1,64,80H192a12,12,0,0,1,0,24H64A12,12,0,0,1,52,92Zm0,72a12,12,0,0,1,12-12h8a12,12,0,0,1,0,24H64A12,12,0,0,1,52,164Zm108,0a12,12,0,0,1-12,12H108a12,12,0,0,1,0-24h40A12,12,0,0,1,160,164Zm44,0a12,12,0,0,1-12,12h-8a12,12,0,0,1,0-24h8A12,12,0,0,1,204,164Z`}))],[`duotone`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M232,64V192a8,8,0,0,1-8,8H32a8,8,0,0,1-8-8V64a8,8,0,0,1,8-8H224A8,8,0,0,1,232,64Z`,opacity:`0.2`}),X.createElement(`path`,{d:`M224,48H32A16,16,0,0,0,16,64V192a16,16,0,0,0,16,16H224a16,16,0,0,0,16-16V64A16,16,0,0,0,224,48Zm0,144H32V64H224V192Zm-16-64a8,8,0,0,1-8,8H56a8,8,0,0,1,0-16H200A8,8,0,0,1,208,128Zm0-32a8,8,0,0,1-8,8H56a8,8,0,0,1,0-16H200A8,8,0,0,1,208,96ZM72,160a8,8,0,0,1-8,8H56a8,8,0,0,1,0-16h8A8,8,0,0,1,72,160Zm96,0a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,160Zm40,0a8,8,0,0,1-8,8h-8a8,8,0,0,1,0-16h8A8,8,0,0,1,208,160Z`}))],[`fill`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M224,48H32A16,16,0,0,0,16,64V192a16,16,0,0,0,16,16H224a16,16,0,0,0,16-16V64A16,16,0,0,0,224,48ZM64,168H48a8,8,0,0,1,0-16H64a8,8,0,0,1,0,16Zm96,0H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm48,0H192a8,8,0,0,1,0-16h16a8,8,0,0,1,0,16Zm0-32H48a8,8,0,0,1,0-16H208a8,8,0,0,1,0,16Zm0-32H48a8,8,0,0,1,0-16H208a8,8,0,0,1,0,16Z`}))],[`light`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M224,50H32A14,14,0,0,0,18,64V192a14,14,0,0,0,14,14H224a14,14,0,0,0,14-14V64A14,14,0,0,0,224,50Zm2,142a2,2,0,0,1-2,2H32a2,2,0,0,1-2-2V64a2,2,0,0,1,2-2H224a2,2,0,0,1,2,2Zm-20-64a6,6,0,0,1-6,6H56a6,6,0,0,1,0-12H200A6,6,0,0,1,206,128Zm0-32a6,6,0,0,1-6,6H56a6,6,0,0,1,0-12H200A6,6,0,0,1,206,96ZM70,160a6,6,0,0,1-6,6H56a6,6,0,0,1,0-12h8A6,6,0,0,1,70,160Zm96,0a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,160Zm40,0a6,6,0,0,1-6,6h-8a6,6,0,0,1,0-12h8A6,6,0,0,1,206,160Z`}))],[`regular`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M224,48H32A16,16,0,0,0,16,64V192a16,16,0,0,0,16,16H224a16,16,0,0,0,16-16V64A16,16,0,0,0,224,48Zm0,144H32V64H224V192Zm-16-64a8,8,0,0,1-8,8H56a8,8,0,0,1,0-16H200A8,8,0,0,1,208,128Zm0-32a8,8,0,0,1-8,8H56a8,8,0,0,1,0-16H200A8,8,0,0,1,208,96ZM72,160a8,8,0,0,1-8,8H56a8,8,0,0,1,0-16h8A8,8,0,0,1,72,160Zm96,0a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,160Zm40,0a8,8,0,0,1-8,8h-8a8,8,0,0,1,0-16h8A8,8,0,0,1,208,160Z`}))],[`thin`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M224,52H32A12,12,0,0,0,20,64V192a12,12,0,0,0,12,12H224a12,12,0,0,0,12-12V64A12,12,0,0,0,224,52Zm4,140a4,4,0,0,1-4,4H32a4,4,0,0,1-4-4V64a4,4,0,0,1,4-4H224a4,4,0,0,1,4,4Zm-24-64a4,4,0,0,1-4,4H56a4,4,0,0,1,0-8H200A4,4,0,0,1,204,128Zm0-32a4,4,0,0,1-4,4H56a4,4,0,0,1,0-8H200A4,4,0,0,1,204,96ZM68,160a4,4,0,0,1-4,4H56a4,4,0,0,1,0-8h8A4,4,0,0,1,68,160Zm96,0a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,160Zm40,0a4,4,0,0,1-4,4h-8a4,4,0,0,1,0-8h8A4,4,0,0,1,204,160Z`}))]]),Et=new Map([[`bold`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M236.37,139.4a12,12,0,0,0-12-3A84.07,84.07,0,0,1,119.6,31.59a12,12,0,0,0-15-15A108.86,108.86,0,0,0,49.69,55.07,108,108,0,0,0,136,228a107.09,107.09,0,0,0,64.93-21.69,108.86,108.86,0,0,0,38.44-54.94A12,12,0,0,0,236.37,139.4Zm-49.88,47.74A84,84,0,0,1,68.86,69.51,84.93,84.93,0,0,1,92.27,48.29Q92,52.13,92,56A108.12,108.12,0,0,0,200,164q3.87,0,7.71-.27A84.79,84.79,0,0,1,186.49,187.14Z`}))],[`duotone`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M227.89,147.89A96,96,0,1,1,108.11,28.11,96.09,96.09,0,0,0,227.89,147.89Z`,opacity:`0.2`}),X.createElement(`path`,{d:`M233.54,142.23a8,8,0,0,0-8-2,88.08,88.08,0,0,1-109.8-109.8,8,8,0,0,0-10-10,104.84,104.84,0,0,0-52.91,37A104,104,0,0,0,136,224a103.09,103.09,0,0,0,62.52-20.88,104.84,104.84,0,0,0,37-52.91A8,8,0,0,0,233.54,142.23ZM188.9,190.34A88,88,0,0,1,65.66,67.11a89,89,0,0,1,31.4-26A106,106,0,0,0,96,56,104.11,104.11,0,0,0,200,160a106,106,0,0,0,14.92-1.06A89,89,0,0,1,188.9,190.34Z`}))],[`fill`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M235.54,150.21a104.84,104.84,0,0,1-37,52.91A104,104,0,0,1,32,120,103.09,103.09,0,0,1,52.88,57.48a104.84,104.84,0,0,1,52.91-37,8,8,0,0,1,10,10,88.08,88.08,0,0,0,109.8,109.8,8,8,0,0,1,10,10Z`}))],[`light`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M232.13,143.64a6,6,0,0,0-6-1.49A90.07,90.07,0,0,1,113.86,29.85a6,6,0,0,0-7.49-7.48A102.88,102.88,0,0,0,54.48,58.68,102,102,0,0,0,197.32,201.52a102.88,102.88,0,0,0,36.31-51.89A6,6,0,0,0,232.13,143.64Zm-42,48.29a90,90,0,0,1-126-126A90.9,90.9,0,0,1,99.65,37.66,102.06,102.06,0,0,0,218.34,156.35,90.9,90.9,0,0,1,190.1,191.93Z`}))],[`regular`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M233.54,142.23a8,8,0,0,0-8-2,88.08,88.08,0,0,1-109.8-109.8,8,8,0,0,0-10-10,104.84,104.84,0,0,0-52.91,37A104,104,0,0,0,136,224a103.09,103.09,0,0,0,62.52-20.88,104.84,104.84,0,0,0,37-52.91A8,8,0,0,0,233.54,142.23ZM188.9,190.34A88,88,0,0,1,65.66,67.11a89,89,0,0,1,31.4-26A106,106,0,0,0,96,56,104.11,104.11,0,0,0,200,160a106,106,0,0,0,14.92-1.06A89,89,0,0,1,188.9,190.34Z`}))],[`thin`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M230.72,145.06a4,4,0,0,0-4-1A92.08,92.08,0,0,1,111.94,29.27a4,4,0,0,0-5-5A100.78,100.78,0,0,0,56.08,59.88a100,100,0,0,0,140,140,100.78,100.78,0,0,0,35.59-50.87A4,4,0,0,0,230.72,145.06ZM191.3,193.53A92,92,0,0,1,62.47,64.7a93,93,0,0,1,39.88-30.35,100.09,100.09,0,0,0,119.3,119.3A93,93,0,0,1,191.3,193.53Z`}))]]),Dt=new Map([[`bold`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M100,36H56A20,20,0,0,0,36,56v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V56A20,20,0,0,0,100,36ZM96,96H60V60H96ZM200,36H156a20,20,0,0,0-20,20v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V56A20,20,0,0,0,200,36Zm-4,60H160V60h36Zm-96,40H56a20,20,0,0,0-20,20v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V156A20,20,0,0,0,100,136Zm-4,60H60V160H96Zm104-60H156a20,20,0,0,0-20,20v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V156A20,20,0,0,0,200,136Zm-4,60H160V160h36Z`}))],[`duotone`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M112,56v48a8,8,0,0,1-8,8H56a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8h48A8,8,0,0,1,112,56Zm88-8H152a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V56A8,8,0,0,0,200,48Zm-96,96H56a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V152A8,8,0,0,0,104,144Zm96,0H152a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V152A8,8,0,0,0,200,144Z`,opacity:`0.2`}),X.createElement(`path`,{d:`M200,136H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,200,136Zm0,64H152V152h48v48ZM104,40H56A16,16,0,0,0,40,56v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,104,40Zm0,64H56V56h48v48Zm96-64H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm0,64H152V56h48v48Zm-96,32H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm0,64H56V152h48v48Z`}))],[`fill`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M120,56v48a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40h48A16,16,0,0,1,120,56Zm80-16H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm-96,96H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm96,0H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,200,136Z`}))],[`light`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M104,42H56A14,14,0,0,0,42,56v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V56A14,14,0,0,0,104,42Zm2,62a2,2,0,0,1-2,2H56a2,2,0,0,1-2-2V56a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2Zm94-62H152a14,14,0,0,0-14,14v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V56A14,14,0,0,0,200,42Zm2,62a2,2,0,0,1-2,2H152a2,2,0,0,1-2-2V56a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2Zm-98,34H56a14,14,0,0,0-14,14v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V152A14,14,0,0,0,104,138Zm2,62a2,2,0,0,1-2,2H56a2,2,0,0,1-2-2V152a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2Zm94-62H152a14,14,0,0,0-14,14v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V152A14,14,0,0,0,200,138Zm2,62a2,2,0,0,1-2,2H152a2,2,0,0,1-2-2V152a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2Z`}))],[`regular`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M104,40H56A16,16,0,0,0,40,56v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,104,40Zm0,64H56V56h48v48Zm96-64H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm0,64H152V56h48v48Zm-96,32H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm0,64H56V152h48v48Zm96-64H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,200,136Zm0,64H152V152h48v48Z`}))],[`thin`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M104,44H56A12,12,0,0,0,44,56v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V56A12,12,0,0,0,104,44Zm4,60a4,4,0,0,1-4,4H56a4,4,0,0,1-4-4V56a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4Zm92-60H152a12,12,0,0,0-12,12v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V56A12,12,0,0,0,200,44Zm4,60a4,4,0,0,1-4,4H152a4,4,0,0,1-4-4V56a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4ZM104,140H56a12,12,0,0,0-12,12v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V152A12,12,0,0,0,104,140Zm4,60a4,4,0,0,1-4,4H56a4,4,0,0,1-4-4V152a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4Zm92-60H152a12,12,0,0,0-12,12v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V152A12,12,0,0,0,200,140Zm4,60a4,4,0,0,1-4,4H152a4,4,0,0,1-4-4V152a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4Z`}))]]),Ot=new Map([[`bold`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M116,36V20a12,12,0,0,1,24,0V36a12,12,0,0,1-24,0Zm80,92a68,68,0,1,1-68-68A68.07,68.07,0,0,1,196,128Zm-24,0a44,44,0,1,0-44,44A44.05,44.05,0,0,0,172,128ZM51.51,68.49a12,12,0,1,0,17-17l-12-12a12,12,0,0,0-17,17Zm0,119-12,12a12,12,0,0,0,17,17l12-12a12,12,0,1,0-17-17ZM196,72a12,12,0,0,0,8.49-3.51l12-12a12,12,0,0,0-17-17l-12,12A12,12,0,0,0,196,72Zm8.49,115.51a12,12,0,0,0-17,17l12,12a12,12,0,0,0,17-17ZM48,128a12,12,0,0,0-12-12H20a12,12,0,0,0,0,24H36A12,12,0,0,0,48,128Zm80,80a12,12,0,0,0-12,12v16a12,12,0,0,0,24,0V220A12,12,0,0,0,128,208Zm108-92H220a12,12,0,0,0,0,24h16a12,12,0,0,0,0-24Z`}))],[`duotone`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M184,128a56,56,0,1,1-56-56A56,56,0,0,1,184,128Z`,opacity:`0.2`}),X.createElement(`path`,{d:`M120,40V16a8,8,0,0,1,16,0V40a8,8,0,0,1-16,0Zm72,88a64,64,0,1,1-64-64A64.07,64.07,0,0,1,192,128Zm-16,0a48,48,0,1,0-48,48A48.05,48.05,0,0,0,176,128ZM58.34,69.66A8,8,0,0,0,69.66,58.34l-16-16A8,8,0,0,0,42.34,53.66Zm0,116.68-16,16a8,8,0,0,0,11.32,11.32l16-16a8,8,0,0,0-11.32-11.32ZM192,72a8,8,0,0,0,5.66-2.34l16-16a8,8,0,0,0-11.32-11.32l-16,16A8,8,0,0,0,192,72Zm5.66,114.34a8,8,0,0,0-11.32,11.32l16,16a8,8,0,0,0,11.32-11.32ZM48,128a8,8,0,0,0-8-8H16a8,8,0,0,0,0,16H40A8,8,0,0,0,48,128Zm80,80a8,8,0,0,0-8,8v24a8,8,0,0,0,16,0V216A8,8,0,0,0,128,208Zm112-88H216a8,8,0,0,0,0,16h24a8,8,0,0,0,0-16Z`}))],[`fill`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M120,40V16a8,8,0,0,1,16,0V40a8,8,0,0,1-16,0Zm8,24a64,64,0,1,0,64,64A64.07,64.07,0,0,0,128,64ZM58.34,69.66A8,8,0,0,0,69.66,58.34l-16-16A8,8,0,0,0,42.34,53.66Zm0,116.68-16,16a8,8,0,0,0,11.32,11.32l16-16a8,8,0,0,0-11.32-11.32ZM192,72a8,8,0,0,0,5.66-2.34l16-16a8,8,0,0,0-11.32-11.32l-16,16A8,8,0,0,0,192,72Zm5.66,114.34a8,8,0,0,0-11.32,11.32l16,16a8,8,0,0,0,11.32-11.32ZM48,128a8,8,0,0,0-8-8H16a8,8,0,0,0,0,16H40A8,8,0,0,0,48,128Zm80,80a8,8,0,0,0-8,8v24a8,8,0,0,0,16,0V216A8,8,0,0,0,128,208Zm112-88H216a8,8,0,0,0,0,16h24a8,8,0,0,0,0-16Z`}))],[`light`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M122,40V16a6,6,0,0,1,12,0V40a6,6,0,0,1-12,0Zm68,88a62,62,0,1,1-62-62A62.07,62.07,0,0,1,190,128Zm-12,0a50,50,0,1,0-50,50A50.06,50.06,0,0,0,178,128ZM59.76,68.24a6,6,0,1,0,8.48-8.48l-16-16a6,6,0,0,0-8.48,8.48Zm0,119.52-16,16a6,6,0,1,0,8.48,8.48l16-16a6,6,0,1,0-8.48-8.48ZM192,70a6,6,0,0,0,4.24-1.76l16-16a6,6,0,0,0-8.48-8.48l-16,16A6,6,0,0,0,192,70Zm4.24,117.76a6,6,0,0,0-8.48,8.48l16,16a6,6,0,0,0,8.48-8.48ZM46,128a6,6,0,0,0-6-6H16a6,6,0,0,0,0,12H40A6,6,0,0,0,46,128Zm82,82a6,6,0,0,0-6,6v24a6,6,0,0,0,12,0V216A6,6,0,0,0,128,210Zm112-88H216a6,6,0,0,0,0,12h24a6,6,0,0,0,0-12Z`}))],[`regular`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M120,40V16a8,8,0,0,1,16,0V40a8,8,0,0,1-16,0Zm72,88a64,64,0,1,1-64-64A64.07,64.07,0,0,1,192,128Zm-16,0a48,48,0,1,0-48,48A48.05,48.05,0,0,0,176,128ZM58.34,69.66A8,8,0,0,0,69.66,58.34l-16-16A8,8,0,0,0,42.34,53.66Zm0,116.68-16,16a8,8,0,0,0,11.32,11.32l16-16a8,8,0,0,0-11.32-11.32ZM192,72a8,8,0,0,0,5.66-2.34l16-16a8,8,0,0,0-11.32-11.32l-16,16A8,8,0,0,0,192,72Zm5.66,114.34a8,8,0,0,0-11.32,11.32l16,16a8,8,0,0,0,11.32-11.32ZM48,128a8,8,0,0,0-8-8H16a8,8,0,0,0,0,16H40A8,8,0,0,0,48,128Zm80,80a8,8,0,0,0-8,8v24a8,8,0,0,0,16,0V216A8,8,0,0,0,128,208Zm112-88H216a8,8,0,0,0,0,16h24a8,8,0,0,0,0-16Z`}))],[`thin`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M124,40V16a4,4,0,0,1,8,0V40a4,4,0,0,1-8,0Zm64,88a60,60,0,1,1-60-60A60.07,60.07,0,0,1,188,128Zm-8,0a52,52,0,1,0-52,52A52.06,52.06,0,0,0,180,128ZM61.17,66.83a4,4,0,0,0,5.66-5.66l-16-16a4,4,0,0,0-5.66,5.66Zm0,122.34-16,16a4,4,0,0,0,5.66,5.66l16-16a4,4,0,0,0-5.66-5.66ZM192,68a4,4,0,0,0,2.83-1.17l16-16a4,4,0,1,0-5.66-5.66l-16,16A4,4,0,0,0,192,68Zm2.83,121.17a4,4,0,0,0-5.66,5.66l16,16a4,4,0,0,0,5.66-5.66ZM40,124H16a4,4,0,0,0,0,8H40a4,4,0,0,0,0-8Zm88,88a4,4,0,0,0-4,4v24a4,4,0,0,0,8,0V216A4,4,0,0,0,128,212Zm112-88H216a4,4,0,0,0,0,8h24a4,4,0,0,0,0-8Z`}))]]),kt=new Map([[`bold`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M216,48H180V36A28,28,0,0,0,152,8H104A28,28,0,0,0,76,36V48H40a12,12,0,0,0,0,24h4V208a20,20,0,0,0,20,20H192a20,20,0,0,0,20-20V72h4a12,12,0,0,0,0-24ZM100,36a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4V48H100Zm88,168H68V72H188ZM116,104v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Zm48,0v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Z`}))],[`duotone`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M200,56V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V56Z`,opacity:`0.2`}),X.createElement(`path`,{d:`M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z`}))],[`fill`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM112,168a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm0-120H96V40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8Z`}))],[`light`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M216,50H174V40a22,22,0,0,0-22-22H104A22,22,0,0,0,82,40V50H40a6,6,0,0,0,0,12H50V208a14,14,0,0,0,14,14H192a14,14,0,0,0,14-14V62h10a6,6,0,0,0,0-12ZM94,40a10,10,0,0,1,10-10h48a10,10,0,0,1,10,10V50H94ZM194,208a2,2,0,0,1-2,2H64a2,2,0,0,1-2-2V62H194ZM110,104v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Zm48,0v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Z`}))],[`regular`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z`}))],[`thin`,X.createElement(X.Fragment,null,X.createElement(`path`,{d:`M216,52H172V40a20,20,0,0,0-20-20H104A20,20,0,0,0,84,40V52H40a4,4,0,0,0,0,8H52V208a12,12,0,0,0,12,12H192a12,12,0,0,0,12-12V60h12a4,4,0,0,0,0-8ZM92,40a12,12,0,0,1,12-12h48a12,12,0,0,1,12,12V52H92ZM196,208a4,4,0,0,1-4,4H64a4,4,0,0,1-4-4V60H196ZM108,104v64a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Zm48,0v64a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Z`}))]]),At=X.forwardRef((e,t)=>X.createElement(oe,{ref:t,...e,weights:dt}));At.displayName=`ArrowCounterClockwiseIcon`;var jt=X.forwardRef((e,t)=>X.createElement(oe,{ref:t,...e,weights:ft}));jt.displayName=`BookOpenTextIcon`;var Mt=X.forwardRef((e,t)=>X.createElement(oe,{ref:t,...e,weights:pt}));Mt.displayName=`CarProfileIcon`;var Nt=X.forwardRef((e,t)=>X.createElement(oe,{ref:t,...e,weights:mt}));Nt.displayName=`CaretLeftIcon`;var Pt=X.forwardRef((e,t)=>X.createElement(oe,{ref:t,...e,weights:ht}));Pt.displayName=`CaretRightIcon`;var Ft=X.forwardRef((e,t)=>X.createElement(oe,{ref:t,...e,weights:gt}));Ft.displayName=`CaretUpIcon`;var It=X.forwardRef((e,t)=>X.createElement(oe,{ref:t,...e,weights:_t}));It.displayName=`CircleNotchIcon`;var Lt=X.forwardRef((e,t)=>X.createElement(oe,{ref:t,...e,weights:vt}));Lt.displayName=`CodeIcon`;var Rt=X.forwardRef((e,t)=>X.createElement(oe,{ref:t,...e,weights:yt}));Rt.displayName=`CrosshairIcon`;var zt=X.forwardRef((e,t)=>X.createElement(oe,{ref:t,...e,weights:bt}));zt.displayName=`CubeIcon`;var Bt=X.forwardRef((e,t)=>X.createElement(oe,{ref:t,...e,weights:xt}));Bt.displayName=`EngineIcon`;var Vt=X.forwardRef((e,t)=>X.createElement(oe,{ref:t,...e,weights:St}));Vt.displayName=`EyeIcon`;var Ht=X.forwardRef((e,t)=>X.createElement(oe,{ref:t,...e,weights:Ct}));Ht.displayName=`GearIcon`;var Ut=X.forwardRef((e,t)=>X.createElement(oe,{ref:t,...e,weights:wt}));Ut.displayName=`GithubLogoIcon`;var Wt=X.forwardRef((e,t)=>X.createElement(oe,{ref:t,...e,weights:Tt}));Wt.displayName=`KeyboardIcon`;var Gt=X.forwardRef((e,t)=>X.createElement(oe,{ref:t,...e,weights:Et}));Gt.displayName=`MoonIcon`;var Kt=X.forwardRef((e,t)=>X.createElement(oe,{ref:t,...e,weights:Dt}));Kt.displayName=`SquaresFourIcon`;var qt=X.forwardRef((e,t)=>X.createElement(oe,{ref:t,...e,weights:Ot}));qt.displayName=`SunIcon`;var Jt=X.forwardRef((e,t)=>X.createElement(oe,{ref:t,...e,weights:kt}));Jt.displayName=`TrashIcon`;function Yt(e,t,n,r=!0,i,a){let[o,s]=X.useState(),c=ve(i?`${i}-label`:void 0),l=!!a?.trim(),u=e??(l?void 0:t)??o;return Y(()=>{let i=e||t||l||!r?void 0:Xt(n.current,c);o!==i&&s(i)}),u}function Xt(e,t){let n=Zt(e);if(n)return!n.id&&t&&(n.id=t),n.id||void 0}function Zt(e){if(!e)return;let t=e.parentElement;if(t&&t.tagName===`LABEL`)return t;let n=e.id;if(n){let t=e.nextElementSibling;if(t&&t.htmlFor===n)return t}let r=e.labels;return r&&r[0]}function Qt(){return typeof navigator>`u`?{userAgent:``,platform:``,maxTouchPoints:0}:{userAgent:navigator.userAgent,platform:navigator.platform??``,maxTouchPoints:navigator.maxTouchPoints??0}}var{userAgent:$t,platform:en,maxTouchPoints:tn}=Qt(),nn=$t.toLowerCase(),rn=en.toLowerCase(),an=/^i(os$|p)/.test(rn)||rn===`macintel`&&tn>1,on=`android`,sn=rn===on||nn.includes(on),cn=!an&&rn.startsWith(`mac`);rn.startsWith(`win`),!sn&&/^(linux|chrome os)/.test(rn);var ln=cn||an,un=typeof CSS<`u`&&!!CSS.supports?.(`-webkit-backdrop-filter:none`);!un&&nn.includes(`firefox`),!un&&nn.includes(`chrom`);var dn=ln,fn=/jsdom|happydom/.test(nn);function pn(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}function $(e,t){if(!e||!t)return!1;let n=t.getRootNode?.();if(e.contains(t))return!0;if(n&&O(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function mn(e,t){let n=e;for(;n;){if(M(n)&&n.matches(t))return n;n=n.assignedSlot??n.parentNode??(O(n)?n.host:null)}return null}function hn(e){return`composedPath`in e?e.composedPath()[0]??e.target:e.target}var gn=`data-base-ui-focusable`,_n=`ArrowLeft`,vn=`ArrowRight`,yn=`ArrowUp`,bn=`ArrowDown`,xn=`data-starting-style`,Sn=`data-ending-style`,Cn={[xn]:``},wn={[Sn]:``},Tn={transitionStatus(e){return e===`starting`?Cn:e===`ending`?wn:null}},En=`data-open`,Dn=`data-closed`,On=`data-anchor-hidden`,kn=`data-popup-open`,An=`data-pressed`,jn={[kn]:``},Mn={[kn]:``,[An]:``},Nn={[En]:``},Pn={[Dn]:``},Fn={[On]:``},In={open(e){return e?jn:null}},Ln={open(e){return e?Mn:null}},Rn={open(e){return e?Nn:Pn},anchorHidden(e){return e?Fn:null}};({...Rn,...Tn});function zn(e,t){if(t==null)return!1;if(`composedPath`in e)return e.composedPath().includes(t);let n=e;return n.target!=null&&t.contains(n.target)}function Bn(e){return e.matches(`html,body`)}function Vn(e){return P(e)&&e.matches(`input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])`)}function Hn(e){return e?e.getAttribute(`role`)===`combobox`&&Vn(e):!1}function Un(e){if(!e||fn)return!0;try{return e.matches(`:focus-visible`)}catch{return!0}}function Wn(e){return e?e.hasAttribute(`data-base-ui-focusable`)?e:e.querySelector(`[data-base-ui-focusable]`)||e:null}function Gn(e,t,n=!0){return e.filter(e=>e.parentId===t).flatMap(t=>[...!n||t.context?.open?[t]:[],...Gn(e,t.id,n)])}function Kn(e,t){let n=[],r=e.find(e=>e.id===t)?.parentId;for(;r;){let t=e.find(e=>e.id===r);r=t?.parentId,t&&(n=n.concat(t))}return n}function qn(e){e.preventDefault(),e.stopPropagation()}function Jn(e){return`nativeEvent`in e}function Yn(e){return e.pointerType===``&&e.isTrusted?!0:sn&&e.pointerType?e.type===`click`&&e.buttons===1:e.detail===0&&!e.pointerType}function Xn(e){return fn?!1:!sn&&e.width===0&&e.height===0||e.type===`pointerdown`&&e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType===`mouse`&&(sn||e.buttons===0)||e.width<1&&e.height<1&&e.pressure===0&&e.detail===0&&e.pointerType===`touch`}function Zn(e,t){let n=[`mouse`,`pen`];return t||n.push(``,void 0),n.includes(e)}function Qn(e){let t=e.type;return t===`click`||t===`mousedown`||t===`keydown`||t===`keyup`}var $n=Math.min,er=Math.max,tr=Math.round,nr=Math.floor,rr=e=>({x:e,y:e}),ir={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function ar(e,t,n){return er(e,$n(t,n))}function or(e,t){return typeof e==`function`?e(t):e}function sr(e){return e.split(`-`)[0]}function cr(e){return e.split(`-`)[1]}function lr(e){return e===`x`?`y`:`x`}function ur(e){return e===`y`?`height`:`width`}function dr(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function fr(e){return lr(dr(e))}function pr(e,t,n){n===void 0&&(n=!1);let r=cr(e),i=fr(e),a=ur(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=Sr(o)),[o,Sr(o)]}function mr(e){let t=Sr(e);return[hr(e),t,hr(t)]}function hr(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var gr=[`left`,`right`],_r=[`right`,`left`],vr=[`top`,`bottom`],yr=[`bottom`,`top`];function br(e,t,n){switch(e){case`top`:case`bottom`:return n?t?_r:gr:t?gr:_r;case`left`:case`right`:return t?vr:yr;default:return[]}}function xr(e,t,n,r){let i=cr(e),a=br(sr(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(hr)))),a}function Sr(e){let t=sr(e);return ir[t]+e.slice(t.length)}function Cr(e){return{top:e.top??0,right:e.right??0,bottom:e.bottom??0,left:e.left??0}}function wr(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:Cr(e)}function Tr(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function Er(e,t){return t<0||t>=e.length}function Dr(e,t){return Ar(e.current,{disabledIndices:t})}function Or(e,t){return Ar(e.current,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function kr(e,t,n){let{decrement:r,loopFocus:i,allowEscape:a,disabledIndices:o,minIndex:s,maxIndex:c}=n,l=()=>Ar(e,{startingIndex:t,decrement:r,disabledIndices:o}),u,d=!1;if(!i)u=r?Math.max(s,l()):Math.min(c,l());else if(r?t<=s:t>=c){let n=r?-1:e.length;a&&t!==n?u=-1:(u=r?c:s,d=!0)}else u=l();return{index:Er(e,u)?-1:u,wrapped:d}}function Ar(e,{startingIndex:t=-1,decrement:n=!1,disabledIndices:r,amount:i=1}={}){let a=t;do a+=n?-i:i;while(a>=0&&a<=e.length-1&&jr(e,a,r));return a}function jr(e,t,n){if(typeof n==`function`?n(t):n?.includes(t)??!1)return!0;let r=e[t];return r?!Nr(r)||r.matches(`:disabled`)?!0:!n&&(r.hasAttribute(`disabled`)||r.getAttribute(`aria-disabled`)===`true`):!1}function Mr(e){return e.visibility===`hidden`||e.visibility===`collapse`}function Nr(e,t=e?H(e):null){return!e||!e.isConnected||!t||Mr(t)?!1:typeof e.checkVisibility==`function`?e.checkVisibility():t.display!==`none`&&t.display!==`contents`}var Pr=`a[href],button,input,select,textarea,summary,details,iframe,object,embed,[tabindex],[contenteditable]:not([contenteditable="false"]),audio[controls],video[controls]`;function Fr(e){let t=e.assignedSlot;if(t)return t;if(e.parentElement)return e.parentElement;let n=e.getRootNode();return O(n)?n.host:null}function Ir(e){for(let t of Array.from(e.children))if(ce(t)===`summary`)return t;return null}function Lr(e,t){let n=Ir(t);return!!n&&(e===n||$(n,e))}function Rr(e){let t=e?ce(e):``;return e!=null&&e.matches(Pr)&&(t!==`summary`||e.parentElement!=null&&ce(e.parentElement)===`details`&&Ir(e.parentElement)===e)&&(t!==`details`||Ir(e)==null)&&(t!==`input`||e.type!==`hidden`)}function zr(e){if(!Rr(e)||!e.isConnected||e.matches(`:disabled`))return!1;for(let t=e;t;t=Fr(t)){let n=t!==e,r=ce(t)===`slot`;if(t.hasAttribute(`inert`)||n&&ce(t)===`details`&&!t.open&&!Lr(e,t)||t.hasAttribute(`hidden`)||!r&&!Br(t,n))return!1}return!0}function Br(e,t){let n=H(e);return t?n.display!==`none`:Nr(e,n)}function Vr(e){let t=e.tabIndex;if(t<0){let t=ce(e);if(t===`details`||t===`audio`||t===`video`||P(e)&&e.isContentEditable)return 0}return t}function Hr(e){if(ce(e)!==`input`)return null;let t=e;return t.type===`radio`&&t.name!==``?t:null}function Ur(e,t){let n=Hr(e);if(!n)return!0;let r=t.find(e=>{let t=Hr(e);return t?.name===n.name&&t.form===n.form&&t.checked});return r?r===n:t.find(e=>{let t=Hr(e);return t?.name===n.name&&t.form===n.form})===n}function Wr(e){if(P(e)&&ce(e)===`slot`){let t=e.assignedElements({flatten:!0});if(t.length>0)return t}return P(e)&&e.shadowRoot?Array.from(e.shadowRoot.children):Array.from(e.children)}function Gr(e,t){Wr(e).forEach(e=>{Rr(e)&&t.push(e),Gr(e,t)})}function Kr(e,t,n){Wr(e).forEach(e=>{P(e)&&e.matches(t)&&n.push(e),Kr(e,t,n)})}function qr(e){return zr(e)&&Vr(e)>=0}function Jr(e){let t=[];return Gr(e,t),t.filter(zr)}function Yr(e){let t=Jr(e);return t.filter(e=>Vr(e)>=0&&Ur(e,t))}function Xr(e,t){let n=Yr(e),r=n.length;if(r===0)return;let i=pn(ut(e)),a=n.indexOf(i);return n[a===-1?t===1?0:r-1:a+t]}function Zr(e){return Xr(ut(e).body,1)||e}function Qr(e){return Xr(ut(e).body,-1)||e}function $r(e,t){let n=t||e.currentTarget,r=e.relatedTarget;return!r||!$(n,r)}function ei(e){Yr(e).forEach(e=>{e.dataset.tabindex=e.getAttribute(`tabindex`)||``,e.setAttribute(`tabindex`,`-1`)})}function ti(e){let t=[];Kr(e,`[data-tabindex]`,t),t.forEach(e=>{let t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute(`tabindex`,t):e.removeAttribute(`tabindex`)})}function ni(e,t){let n=ve(e);return Y(()=>(t(n),()=>{t(e=>e===n?void 0:e)}),[n,t]),n}var ri=X.createContext({disabled:!1});function ii(){return X.useContext(ri)}var ai=null;globalThis.requestAnimationFrame;var oi=new class{callbacks=[];callbacksCount=0;nextId=1;startId=1;isScheduled=!1;tick=e=>{this.isScheduled=!1;let t=this.callbacks,n=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,n>0)for(let n=0;n<t.length;n+=1)t[n]?.(e)};request(e){let t=this.nextId;return this.nextId+=1,this.callbacks.push(e),this.callbacksCount+=1,this.isScheduled||=(requestAnimationFrame(this.tick),!0),t}cancel(e){let t=e-this.startId;t<0||t>=this.callbacks.length||this.callbacks[t]!==null&&(this.callbacks[t]=null,--this.callbacksCount)}},si=class e{static create(){return new e}static request(e){return oi.request(e)}static cancel(e){return oi.cancel(e)}currentId=ai;request(e){this.cancel(),this.currentId=oi.request(()=>{this.currentId=ai,e()})}cancel=()=>{this.currentId!==ai&&(oi.cancel(this.currentId),this.currentId=ai)};disposeEffect=()=>this.cancel};function ci(){let e=k(si.create).current;return be(e.disposeEffect),e}function li(e){return e==null?e:`current`in e?e.current:e}function ui(e,t){return e.getAnimations(t).filter(e=>{let t=e.effect?.getTiming();return t?.duration!==1/0&&t?.iterations!==1/0})}var di=null;function fi(e){if(!di){let e=[];di=e,queueMicrotask(()=>{di=null,st.flushSync(()=>{for(let t of e)t()})})}di.push(e)}function pi(e,t=!1,n=!1){let r=ci();return V((i,a=null)=>{r.cancel();let o=li(e);if(o==null)return;let s=o,c=()=>{n?fi(()=>{a?.aborted||i()}):st.flushSync(i)};if(typeof s.getAnimations!=`function`||globalThis.BASE_UI_ANIMATIONS_DISABLED){i();return}function l(){Promise.all(ui(s).map(e=>e.finished.then(re))).then(()=>{a?.aborted||c()},()=>{a?.aborted||(ui(s).some(e=>e.pending||e.playState!==`finished`)?l():c())})}if(t){let e=xn;if(!s.hasAttribute(e)){r.request(l);return}let t=new MutationObserver(()=>{s.hasAttribute(e)||(t.disconnect(),l())});t.observe(s,{attributes:!0,attributeFilter:[e]}),a?.addEventListener(`abort`,()=>t.disconnect(),{once:!0})}else r.request(l)})}function mi(e){let{enabled:t=!0,open:n,ref:r,batch:i=!1,onComplete:a}=e,o=V(a),s=pi(r,n,i);X.useEffect(()=>{if(!t)return;let e=new AbortController;return s(o,e.signal),()=>{e.abort()}},[t,n,o,s])}function hi(e,t=!1,n=!1,r=!1){let[i,a]=X.useState(e&&t?`idle`:void 0),[o,s]=X.useState(e&&!r);return e&&!o&&(s(!0),a(`starting`)),!e&&o&&i!==`ending`&&!n&&a(`ending`),!e&&!o&&i===`ending`&&a(void 0),Y(()=>{if(!e&&o&&i!==`ending`&&n){let e=si.request(()=>{a(`ending`)});return()=>{si.cancel(e)}}},[e,o,i,n]),Y(()=>{if(!e||t||i===void 0)return;let n=si.request(()=>{a(void 0)});return()=>{si.cancel(n)}},[t,e,i]),Y(()=>{if(!e||!t)return;e&&o&&i!==`idle`&&a(`starting`);let n=si.request(()=>{a(`idle`)});return()=>{si.cancel(n)}},[t,e,o,i]),{mounted:o,setMounted:s,transitionStatus:i}}function gi({className:e,...t}){return Z(`kbd`,{"data-slot":`kbd`,className:q(`pointer-events-none inline-flex h-5 min-w-5 items-center justify-center rounded-sm bg-muted px-1 font-sans text-xs font-medium text-muted-foreground select-none`,e),...t})}function _i({className:e,...t}){return Z(`span`,{"data-slot":`kbd-group`,className:q(`inline-flex items-center gap-1`,e),...t})}function vi({controlled:e,default:t,name:n,state:r=`value`}){let{current:i}=X.useRef(e!==void 0),[a,o]=X.useState(()=>t);return[i&&e!==void 0?e:a,X.useCallback(e=>{i||o(e)},[])]}var yi=X.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},nextIndexRef:{current:0}});function bi(){return X.useContext(yi)}function xi(e){let{children:t,elementsRef:n,labelsRef:r,onMapChange:i}=e,a=V(i),[,o]=X.useState(0),s=k(Ci).current,c=k(Si).current,l=X.useRef(0),u=X.useRef(!0),d=X.useRef(null),f=X.useRef(null),p=V(()=>{u.current||(u.current=!0,o(e=>e+1))}),m=V((e,t)=>{c.set(e,t),p()}),h=V(e=>{c.delete(e),p()}),g=V(e=>{let t=new Map;return n.current.length=0,r&&(r.current.length=0),e.forEach(e=>{t.set(e.element,{...e.registration.metadata??{},index:e.index}),n.current[e.index]=e.element,r&&(r.current[e.index]=e.registration.label===void 0?e.registration.textRef?.current?.textContent??e.element.textContent:e.registration.label)}),l.current=n.current.length,t});function _(e){if(f.current?.disconnect(),f.current=null,typeof MutationObserver!=`function`||e.length<2)return;let t=new MutationObserver(n=>{if(!Ei(n))return;let r=null;for(let n of e)if(n.isConnected){if(r&&Di(r,n)>0){t.disconnect(),p();return}r=n}});f.current=t;let n=new Set;for(let t=1;t<e.length;t+=1){let r=Ti(e[t-1],e[t]);r&&n.add(r)}n.forEach(e=>t.observe(e,{childList:!0}))}let v=V(()=>{let[e,t]=wi(c),n=g(e),r=d.current,i=!r||r.length!==e.length||e.some((e,t)=>{let n=r[t];return e.index!==n.index||e.element!==n.element||e.registration.index!==n.registration.index||e.registration.metadata!==n.registration.metadata});_(t),d.current=e,u.current=!1,i&&(s.forEach(e=>e(n)),a(n))});Y(()=>(!u.current&&d.current&&g(d.current),()=>{n.current=[],r&&(r.current=[])}),[n,r,g]),Y(()=>{u.current&&v()}),Y(()=>()=>{f.current?.disconnect(),u.current=!0},[]);let y=V(e=>(s.add(e),()=>{s.delete(e)})),b=X.useMemo(()=>({register:m,unregister:h,subscribeMapChange:y,nextIndexRef:l}),[m,h,y,l]);return Z(yi.Provider,{value:b,children:t})}function Si(){return new Map}function Ci(){return new Set}function wi(e){let t=new Set,n=[],r=[];e.forEach((e,i)=>{if(!i.isConnected)return;let a=e.index,o={index:a??-1,element:i,registration:e};a===null?r.push(o):a>=0&&(t.add(a),n.push(o))});let i=0;return r.sort((e,t)=>Di(e.element,t.element)),r.forEach(e=>{for(;t.has(i);)i+=1;e.index=i,n.push(e),i+=1}),t.size>0&&n.sort((e,t)=>e.index-t.index),[n,r.map(e=>e.element)]}function Ti(e,t){let n=e.parentElement;for(;n&&!n.contains(t);)n=n.parentElement;return n}function Ei(e){for(let t of e)for(let e=0;e<t.removedNodes.length;e+=1)if(t.removedNodes[e].isConnected)return!0;return!1}function Di(e,t){return e.nextElementSibling===t?-1:t.nextElementSibling===e?1:e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1}function Oi(e={}){let{guess:t,label:n,metadata:r,textRef:i,index:a}=e,{register:o,unregister:s,subscribeMapChange:c,nextIndexRef:l}=bi(),u=X.useRef(-1),[d,f]=X.useState(a==null&&t?()=>{if(u.current===-1){let e=l.current;l.current+=1,u.current=e}return u.current}:-1),p=a??d,m=X.useRef(null),h=X.useCallback(e=>{let t=m.current;t&&s(t),m.current=e,e&&o(e,{metadata:r??null,index:a??null,label:n,textRef:i})},[a,o,s,r,n,i]);return Y(()=>{if(a==null)return c(e=>{let t=m.current?e.get(m.current)?.index:null;t!=null&&f(t)})},[a,c]),{ref:h,index:p}}function ki(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function Ai(e){let t=k(ji,e).current;return t.next=e,Y(t.effect),t}function ji(e){let t={current:e,next:e,effect:()=>{t.current=t.next}};return t}var Mi={clipPath:`inset(50%)`,overflow:`hidden`,whiteSpace:`nowrap`,border:0,padding:0,width:1,height:1,margin:-1},Ni={...Mi,position:`fixed`,margin:0,top:0,left:0},Pi={...Mi,position:`absolute`},Fi=X.createContext(void 0);function Ii(){let e=X.useContext(Fi);if(e===void 0)throw Error(ge(63));return e}var Li=`data-checked`,Ri=`data-unchecked`,zi={...Se,checked(e){return e?{[Li]:``}:{[Ri]:``}}},Bi=X.forwardRef(function(e,t){let{checked:n,className:r,defaultChecked:i,"aria-labelledby":a,form:o,id:s,inputRef:c,name:l,nativeButton:u=!1,onCheckedChange:d,readOnly:f=!1,required:p=!1,disabled:m=!1,render:h,uncheckedValue:g,value:_,style:v,...y}=e,{clearErrors:b}=Ee(),{state:x,setTouched:S,setDirty:C,validityData:w,setFilled:T,validationMode:E,disabled:D,name:O,validation:k}=Oe(),{labelId:A}=Be(),j=D||m,M=O??l,N=X.useRef(null),P=le(N,c,k.inputRef),F=X.useRef(null),I=Ze(j,F),L=ve(),R=De({id:s}),z=u?void 0:R,[B,V]=vi({controlled:n,default:!!i,name:`Switch`,state:`checked`});ye(F,L,B,void 0,!j,l),Y(()=>{T(B)},[B,T]),ke(B,()=>{b(M),C(B!==w.initialValue),k.change(B)});let{getButtonProps:H,buttonRef:U}=ae({disabled:j,native:u}),W=Yt(a,A,N,!u,z,y[`aria-label`]),ee={id:u?R:L,role:`switch`,"aria-checked":B,"aria-readonly":f||void 0,"aria-required":p||void 0,"aria-labelledby":W,onFocus(){I(!0)},onBlur(){let e=N.current;e&&!j&&(S(!0),I(!1),E===`onBlur`&&k.commit(e.checked))},onClick(e){if(f||j)return;e.preventDefault();let t=N.current;t&&ie(t,e)}},te={...k.getValidationProps(j),checked:B,disabled:j,form:o,id:z,name:M,required:p,style:M?Pi:Ni,tabIndex:-1,type:`checkbox`,"aria-hidden":!0,ref:P,onChange(e){if(e.nativeEvent.defaultPrevented)return;if(f){e.preventDefault();return}let t=e.currentTarget.checked,n=Me(He,e.nativeEvent);d?.(t,n),!n.isCanceled&&V(t)},onClick(e){e.stopPropagation()},onFocus(){F.current?.focus()},..._===void 0?ne:{value:_}},G=X.useMemo(()=>({...x,checked:B,disabled:j,readOnly:f,required:p}),[x,B,j,f,p]),re=K(`span`,e,{state:G,ref:[t,F,U],props:[ee,y,H,e=>k.getValidationProps(j,e)],stateAttributesMapping:zi});return Q(Fi.Provider,{value:G,children:[re,!B&&M&&g!==void 0&&Z(`input`,{type:`hidden`,form:o,name:M,value:g,disabled:j}),Z(`input`,{...te,suppressHydrationWarning:!0})]})}),Vi=X.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,o=Ii();return K(`span`,e,{state:o,ref:t,stateAttributesMapping:zi,props:a})});function Hi({className:e,...t}){return Z(Bi,{"data-slot":`switch`,className:q(`inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border border-transparent bg-input transition-colors outline-none data-checked:bg-primary focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50`,e),...t,children:Z(Vi,{"data-slot":`switch-thumb`,className:`pointer-events-none block size-4 translate-x-0.5 rounded-full bg-background shadow-sm transition-transform data-checked:translate-x-4 data-checked:bg-primary-foreground`})})}function Ui(e){if(!e)return null;for(let t of e.elements){let e=t.tagName;if(e===`BUTTON`||e===`INPUT`){let e=t;if(e.type===`submit`)return e}}return null}var Wi=`data-checked`,Gi=`data-unchecked`;function Ki(e){return{checked(t){return e.indeterminate?{}:t?{[Wi]:``}:{[Gi]:``}},...Se}}var qi=X.createContext(void 0);function Ji(){return X.useContext(qi)}var Yi=X.createContext(void 0);function Xi(){let e=X.useContext(Yi);if(e===void 0)throw Error(ge(14));return e}var Zi=`data-parent`,Qi=X.forwardRef(function(e,t){let{checked:n,className:r,defaultChecked:i=!1,"aria-labelledby":a,disabled:o=!1,form:s,id:c,indeterminate:l=!1,inputRef:u,name:d,onCheckedChange:f,parent:p=!1,readOnly:m=!1,render:h,required:g=!1,uncheckedValue:_,value:v,nativeButton:y=!1,style:b,...x}=e,{clearErrors:S}=Ee(),{disabled:C,name:w,setDirty:T,setFilled:E,setTouched:D,state:O,validationMode:k,validityData:A,validation:j}=Oe(),M=ii(),{labelId:N,registerControlId:P,getDescriptionProps:F}=Be(),I=Ji(),R=I?.allValues===void 0?void 0:I.parent,z=R!==void 0,B=C||M.disabled||I?.disabled||o,V=w??d,H=v??V,U=ve(),W=I?.registerControlId!==P,ee=De({id:c||void 0,enabled:W}),te=y?ee:U,re={};z&&(p?re=R.getParentProps():H!==void 0&&(re=R.getChildProps(H)));let{checked:oe=n,indeterminate:se=l,onCheckedChange:ce,...ue}=re,q=I?.value,de=X.useRef(null),fe=Ze(B,de),{getButtonProps:pe,buttonRef:me}=ae({disabled:B,native:y}),he=I?.validation??j,[J,ge]=vi({controlled:H!==void 0&&q!==void 0&&!p?q.includes(H):oe,default:i,name:`Checkbox`,state:`checked`}),_e=z?!!oe:J,be=z&&se||l;ye(de,U,J,void 0,!I&&!B,d);let xe=R?.registerChildId,Se=X.useRef(null),Ce=he.registerInput,we=I?H:void 0,Te=X.useCallback(e=>Ce(e,{controlRef:de,value:we}),[Ce,we]),Ae=le(u,Se,p?void 0:Te),je=Yt(a,N,Se,!y,ee,x[`aria-label`]);Y(()=>{Se.current&&(Se.current.indeterminate=be),I||E(J)},[J,be,I,E]),ke(J,()=>{I||(S(V),T(J!==A.initialValue),he.change(J))});let Ne=G({checked:J,disabled:B,form:s,name:p?void 0:V,id:y?void 0:ee,required:g,ref:Ae,style:V?Pi:Ni,tabIndex:-1,type:`checkbox`,"aria-hidden":!0,onChange(e){if(e.nativeEvent.defaultPrevented)return;if(m){e.preventDefault();return}let t=e.currentTarget.checked,n=Me(He,e.nativeEvent);if(f?.(t,n),!n.isCanceled&&(ce?.(t,n),!n.isCanceled&&(ge(t),H!==void 0&&I!==void 0&&!p&&!z))){let e=t?[...I.value,H]:I.value.filter(e=>e!==H);I.setValue(e,n)}},onClick(e){e.stopPropagation()},onFocus(){de.current?.focus()}},v===void 0?ne:{value:(I?J&&v:v)||``},F,e=>he.getValidationProps(B,e));X.useEffect(()=>{if(!R||H===void 0)return;let e=R.disabledStatesRef.current;return e.set(H,B),()=>{e.delete(H)}},[R,B,H]);let Pe=X.useMemo(()=>({...O,checked:_e,disabled:B,readOnly:m,required:g,indeterminate:be}),[O,_e,B,m,g,be]),Fe=Ki(Pe),Ie=K(`span`,e,{state:Pe,ref:[me,de,t],props:[{id:te,role:`checkbox`,"aria-checked":be?`mixed`:_e,"aria-readonly":m||void 0,"aria-required":g||void 0,"aria-labelledby":je,[Zi]:p?``:void 0,onFocus(){fe(!0)},onBlur(){let e=Se.current;e&&(D(!0),fe(!1),k===`onBlur`&&he.commit(I?q:e.checked))},onKeyDown(e){if(e.key!==`Enter`||(e.preventBaseUIHandler(),e.defaultPrevented))return;let t=Se.current?.form??null,n=e.currentTarget,r=e.nativeEvent,i=e.preventDefault,a=r.preventDefault,o=!1;e.preventDefault=()=>{o=!0,i.call(e)},r.preventDefault=()=>{o=!0,a.call(r)},a.call(r),L(n).queueMicrotask(()=>{e.preventDefault=i,r.preventDefault=a,o||Ui(t)?.click()})},onClick(e){if(m||B)return;e.preventDefault();let t=Se.current;t&&ie(t,e)}},x,ue,pe,F,e=>he.getValidationProps(B,e)],stateAttributesMapping:Fe}),Le=Ie.props.id;return Y(()=>{if(xe&&!p&&H!==void 0&&Le!==void 0)return xe(H,Le)},[xe,p,H,Le]),Q(Yi.Provider,{value:Pe,children:[Ie,!J&&!I&&V&&!p&&_!==void 0&&Z(`input`,{type:`hidden`,form:s,name:V,value:_,disabled:B}),Z(`input`,{...Ne,suppressHydrationWarning:!0})]})}),$i=X.forwardRef(function(e,t){let{render:n,className:r,style:i,keepMounted:a=!1,...o}=e,s=Xi(),c=s.checked||s.indeterminate,{mounted:l,transitionStatus:u,setMounted:d}=hi(c),f=X.useRef(null),p={...s,transitionStatus:u};mi({batch:!0,enabled:!c,open:c,ref:f,onComplete(){c||d(!1)}});let m={...Ki(s),...Tn},h=a||l,g=K(`span`,e,{ref:[t,f],state:p,stateAttributesMapping:m,props:o});return h?g:null});function ea({className:e,...t}){return Z(Qi,{"data-slot":`checkbox`,className:q(`peer relative flex size-4 shrink-0 items-center justify-center rounded-[4px] border border-input transition-colors outline-none group-has-disabled/field:opacity-50 group-has-[:focus-visible]/field-label:ring-0 group-has-[:focus-visible]/field-label:not-data-checked:border-input after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground group-has-[:focus-visible]/field-label:data-checked:border-primary dark:data-checked:bg-primary`,e),...t,children:Z($i,{"data-slot":`checkbox-indicator`,className:`grid place-content-center text-current transition-none [&>svg]:size-3.5`,children:Z(Ce,{})})})}function ta(e,t=-(2**53-1),n=2**53-1){return Math.max(t,Math.min(e,n))}function na(e,t,n=Object.is){let{length:r}=e;if(r!==t.length)return!1;for(let i=0;i<r;i+=1)if(!n(e[i],t[i]))return!1;return!0}function ra(e){return e==null?void 0:`${e}-label`}function ia(e,t){return e??t}function aa(e,t){return e-t}function oa(e,t,n,r,i,a){let o=ta(e,n,r);if(!i)return o;let s=a.slice();return s[t]=ta(o,a[t-1]??-1/0,a[t+1]??1/0),s.sort(aa)}function sa(e,t,n){if(!Array.isArray(e))return!0;let r=t*n;for(let t=0;t<e.length-1;t+=1)if(!(Math.abs(e[t]-e[t+1])>=r))return!1;return!0}var ca=()=>null,la={activeThumbIndex:ca,max:ca,min:ca,minStepsBetweenValues:ca,step:ca,values:ca,...Se},ua=X.createContext(void 0);function da(){let e=X.useContext(ua);if(e===void 0)throw Error(ge(62));return e}function fa(e,t){return e===t||Array.isArray(e)&&Array.isArray(t)&&na(e,t)}var pa=X.forwardRef(function(e,t){let{"aria-labelledby":n,className:r,defaultValue:i,disabled:a=!1,id:o,format:s,largeStep:c=10,locale:l,render:u,max:d=100,min:f=0,minStepsBetweenValues:p=0,form:m,name:h,onValueChange:g,onValueCommitted:_,orientation:v=`horizontal`,step:y=1,thumbCollisionBehavior:b=`push`,thumbAlignment:x=`center`,value:S,style:C,...w}=e,T=ve(o),E=ra(T),D=V(g),O=V(_),{clearErrors:k}=Ee(),{state:A,disabled:j,name:M,setTouched:N,setDirty:P,validityData:F,validation:I}=Oe(),{labelId:L}=Be(),[R,z]=X.useState(),B=n??ia(L,R),H=j||a,U=M??h,[W,ee]=vi({controlled:S,default:i??f,name:`Slider`}),te=X.useRef(null),G=X.useRef(null),ne=X.useRef([]),re=X.useRef(null),ie=X.useRef(-1),ae=X.useRef(null),oe=X.useRef(He),[se,ce]=X.useState(-1),[le,ue]=X.useState(-1),[q,de]=X.useState(!1),[fe,pe]=X.useState(()=>new Map),[me,he]=X.useState([void 0,void 0]),J=V(e=>{ce(e),e!==-1&&ue(e)}),ge=V(e=>{e&&(G.current=e)}),_e=Array.isArray(W),be=X.useMemo(()=>_e?W.map(e=>ta(e,f,d)).sort(aa):[ta(W,f,d)],[d,f,_e,W]),xe=_e?be:be[0];ye(I.inputRef,T,xe,void 0,!H,h),ke(xe,()=>{k(U),I.change(xe);let e=F.initialValue,t;t=Array.isArray(xe)&&Array.isArray(e)?!na(xe,e):xe!==e,P(t)});let Se=V((e,t)=>{if(Number.isNaN(e)||fa(e,W))return!1;let n=t.event,r=n.constructor,i=new r(n.type,n);return Object.defineProperty(i,"target",{writable:!0,value:{value:e,name:U}}),t.event=i,D(e,t),!t.isCanceled&&(oe.current=t.reason,ee(e),!0)}),Ce=V((e,t,n)=>{let r=oa(e,t,f,d,_e,be);if(sa(r,y,p)){let e=`key`in n?Pe:Ve,i=Se(r,Me(e,n.nativeEvent,void 0,{activeThumbIndex:t}));N(!0),i&&O(r,Qe(e,n.nativeEvent))}});Y(()=>{if(!H)return;let e=pn(ut(te.current));$(te.current,e)&&e.blur(),se!==-1&&J(-1)},[se,H,J]);let we=X.useMemo(()=>({...A,activeThumbIndex:se,disabled:H,dragging:q,orientation:v,max:d,min:f,minStepsBetweenValues:p,step:y,values:be}),[A,se,H,q,d,f,p,v,y,be]),Te=X.useMemo(()=>({active:se,controlRef:G,disabled:H,dragging:q,validation:I,format:s,handleInputChange:Ce,indicatorPosition:me,inset:x!==`center`,isArrayValue:_e,labelId:B,rootLabelId:E,largeStep:c,lastUsedThumbIndex:le,lastChangeReasonRef:oe,form:m,locale:l,max:d,min:f,minStepsBetweenValues:p,name:U,onValueCommitted:O,orientation:v,pressedThumbCenterOffsetRef:re,pressedThumbIndexRef:ie,pressedValuesRef:ae,registerFieldControlRef:ge,renderBeforeHydration:x===`edge`,setActive:J,setDragging:de,setIndicatorPosition:he,setLabelId:z,setValue:Se,state:we,step:y,thumbCollisionBehavior:b,thumbMap:fe,thumbRefs:ne,values:be}),[se,B,E,H,q,I,s,Ce,me,c,le,m,l,d,f,p,U,O,v,_e,ge,J,Se,we,y,b,x,fe,be]),De=K(`div`,e,{state:we,ref:[t,te],props:[{"aria-labelledby":B,id:T,role:`group`},w,e=>I.getValidationProps(H,e)],stateAttributesMapping:la});return Z(ua.Provider,{value:Te,children:Z(xi,{elementsRef:ne,onMapChange:pe,children:De})})});function ma(e){return Array.isArray(e)?e.map(e=>ma(e)).join(`,`):e==null?``:String(e)}var ha=new Map;function ga(e,t){let n=JSON.stringify({locale:ma(e),options:t}),r=ha.get(n);if(r)return r;let i=new Intl.NumberFormat(e,t);return ha.set(n,i),i}function _a(e,t,n){return e==null?``:ga(t,n).format(e)}var va=X.createContext(void 0);function ya(){return X.useContext(va)?.direction??`ltr`}function ba(e){return e===`touch`||e===`pen`}function xa(e,t){let n=e.getBoundingClientRect();return t?(n.top+n.bottom)/2:(n.left+n.right)/2}function Sa(e){if(e===0)return 0;if(Math.abs(e)<1){let t=e.toExponential().split(`e-`),n=t[0].split(`.`)[1];return(n?n.length:0)+parseInt(t[1],10)}let t=e.toString().split(`.`)[1];return t?t.length:0}function Ca(e,t,n){let r=Math.round((e-n)/t)*t+n;return Number(r.toFixed(Math.max(Sa(t),Sa(n))))}function wa(e,t,n,r,i,a,o,s){let c=e.slice(),l=a*o,u=c.length-1,d=s??e;c[t]=ta(n,r+t*l,i-(u-t)*l);for(let e=t+1;e<=u;e+=1){let t=c[e-1]+l,n=i-(u-e)*l,r=d[e],a=Math.max(c[e],t);r<a&&(a=Math.max(r,t)),c[e]=ta(a,t,n)}for(let e=t-1;e>=0;--e){let t=c[e+1]-l,n=r+e*l,i=d[e],a=Math.min(c[e],t);i>a&&(a=Math.min(i,t)),c[e]=ta(a,n,t)}for(let e=0;e<=u;e+=1)c[e]=Number(c[e].toFixed(12));return c}function Ta(e,t,n,r,i,a,o,s,c,l){let u=n??t,d=r??t;if(!(u.length>1))return{value:a,thumbIndex:0,didSwap:!1};let f=c*l;if(e===`push`)return{value:wa(u,i,a,o,s,c,l),thumbIndex:i,didSwap:!1};let p=u.slice(),m=p[i-1],h=p[i+1],g=m==null?o:m+f,_=h==null?s:h-f,v=Number(ta(a,g,_).toFixed(12));switch(p[i]=v,e){case`swap`:{let e=u[i],t=1e-7,n=a>e,r=a<e,g=n&&h!=null&&a>=h-t,_=r&&m!=null&&a<=m+t;if(!g&&!_)return{value:p,thumbIndex:i,didSwap:!1};let y=g?i+1:i-1,b=p.map((e,t)=>t===i?v:d[t]??u[t]),x=a;x=g?Math.max(a,p[y]):Math.min(a,p[y]);let S=wa(p,y,x,o,s,c,l,b),C=g?y-1:y+1,w=S[C-1],T=S[C+1],E=w==null?o:w+f;E=Math.max(E,o+C*f);let D=T==null?s:T-f;D=Math.min(D,s-(S.length-1-C)*f);let O=ta(v,E,D);return S[C]=Number(O.toFixed(12)),{value:S,thumbIndex:y,didSwap:!0}}default:return{value:p,thumbIndex:i,didSwap:!1}}}var Ea=2;function Da(e,t){if(!e)return{start:0,end:0};function n(e){let t=e==null?0:parseFloat(e);return Number.isNaN(t)?0:t}let r=t?`Top`:`InlineStart`,i=t?`Bottom`:`InlineEnd`;return{start:n(e[`border${r}Width`])+n(e[`padding${r}`]),end:n(e[`border${i}Width`])+n(e[`padding${i}`])}}function Oa(e,t){if(t.current!=null&&e.changedTouches){let n=e;for(let e=0;e<n.changedTouches.length;e+=1){let r=n.changedTouches[e];if(r.identifier===t.current)return{x:r.clientX,y:r.clientY}}return null}return{x:e.clientX,y:e.clientY}}var ka=X.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,{disabled:o,dragging:s,inset:c,isArrayValue:l,lastChangeReasonRef:u,max:d,min:f,minStepsBetweenValues:p,onValueCommitted:m,orientation:h,pressedThumbCenterOffsetRef:g,pressedThumbIndexRef:_,pressedValuesRef:v,registerFieldControlRef:y,renderBeforeHydration:b,setActive:x,setDragging:S,setValue:C,state:w,step:T,thumbCollisionBehavior:E,thumbRefs:D,values:O}=da(),k=ya(),A=O.length>1,j=h===`vertical`,N=X.useRef(null),P=X.useRef(null),F=V(e=>{e&&P.current==null&&(P.current=L(e).getComputedStyle(e))}),I=X.useRef(null),R=X.useRef(0),z=X.useRef(0),B=X.useRef(null),H=X.useRef(!1),U=Ai(O);function W(e){return e?.querySelector(`input[type="range"]`)}function ee(e){_.current=e,D.current[e]||(g.current=null)}function te(){_.current=-1,g.current=null}function G(e){return M(e)?D.current.some(t=>!M(t)||!$(t,e)?!1:W(t)?.disabled===!0):!1}function ne(e){let t=N.current,n=_.current;if(!t||n<0||n>=O.length)return n>=O.length&&(B.current=null),null;let{width:r,height:i,bottom:a,left:o,right:s}=t.getBoundingClientRect(),c=Da(P.current,j),u=z.current,m=(j?i:r)-c.start-c.end-u*2,h=g.current??0,y=e.x-h,b=e.y-h,x=ta(((j?a-b-c.end:(k===`rtl`?s-y:y-o)-c.start)-u)/m,0,1),S=(d-f)*x+f;return S=Ca(S,T,f),S=ta(S,f,d),A?Ta(E,O,U.current,v.current,n,S,f,d,T,p):{value:l?[S]:S,thumbIndex:n,didSwap:!1}}function re(e){v.current=A?O.slice():null,B.current=null,U.current=O;let t=_.current,n=t;if(t>-1&&t<O.length){if(O[t]===d){let e=t;for(;e>0&&O[e-1]===d;)--e;n=e}}else{let t=j?`y`:`x`,r;n=-1;for(let i=0;i<D.current.length;i+=1){let a=D.current[i];if(M(a)&&!W(a)?.disabled){let o=xa(a,j),s=Math.abs(e[t]-o);(r===void 0||s<=r)&&(n=i,r=s)}}}if(n>-1&&n!==t&&ee(n),c){let e=D.current[n];if(M(e)){let t=e.getBoundingClientRect();z.current=t[j?`height`:`width`]/2}}}function ie(e){let t=W(D.current?.[e]);t&&t.focus({preventScroll:!0,focusVisible:!1})}function ae(e,t,n){let r=C(e.value,Me(t,n,void 0,{activeThumbIndex:e.thumbIndex}));return r&&(B.current=e.value,U.current=Array.isArray(e.value)?e.value:[e.value],e.didSwap&&(ee(e.thumbIndex),ie(e.thumbIndex))),r}let oe=V(e=>{let t=Oa(e,I);if(t==null)return;if(R.current+=1,e.type===`pointermove`&&e.buttons===0){se(e);return}let n=ne(t);n!=null&&sa(n.value,T,p)&&(!s&&R.current>Ea&&S(!0),ae(n,Re,e))}),se=V(e=>{if(Oa(e,I)==null)return;x(-1),S(!1),g.current=null;let t=B.current;if(Array.isArray(t)&&t.length!==O.length&&(B.current=null),B.current!=null){let t=u.current;m(B.current,Qe(t,e))}`pointerType`in e&&N.current?.hasPointerCapture(e.pointerId)&&N.current?.releasePointerCapture(e.pointerId),_.current=-1,ue()}),ce=V(e=>{I.current??se(e)}),le=V(e=>{let t=H.current;if(H.current=!1,o)return;if(G(hn(e))){te();return}let n=e.changedTouches[0];if(n==null)return;if(I.current=n.identifier,!t){let t={x:n.clientX,y:n.clientY};re(t);let r=ne(t);if(r==null)return;ie(r.thumbIndex),ae(r,Ie,e),R.current=0}let r=ut(N.current);r.addEventListener(`touchmove`,oe,{passive:!0}),r.addEventListener(`touchend`,se,{passive:!0}),r.addEventListener(`touchcancel`,se,{passive:!0})}),ue=V(()=>{let e=ut(N.current);e.removeEventListener(`pointermove`,oe),e.removeEventListener(`pointerup`,se),e.removeEventListener(`pointercancel`,ce),e.removeEventListener(`touchmove`,oe),e.removeEventListener(`touchend`,se),e.removeEventListener(`touchcancel`,se),I.current=null,v.current=null,B.current=null,H.current=!1}),q=ci();return X.useEffect(()=>{let e=N.current;if(!e)return()=>ue();let t=ki(e,`touchstart`,le,{passive:!0});return()=>{t(),q.cancel(),ue()}},[ue,le,N,q]),X.useEffect(()=>{o&&ue()},[o,ue]),K(`div`,e,{state:w,ref:[t,y,N,F],props:[{"data-base-ui-slider-control":b?``:void 0,onPointerDown(e){H.current=!1;let t=N.current,n=hn(e.nativeEvent);if(!t||o||e.defaultPrevented||!M(n)||e.button!==0)return;if(G(n)){te();return}let r={x:e.clientX,y:e.clientY};re(r);let i=ne(r);if(i==null)return;$(D.current[i.thumbIndex],pn(ut(t)))?e.preventDefault():q.request(()=>{ie(i.thumbIndex)}),S(!0),g.current??ae(i,Ie,e.nativeEvent),e.nativeEvent.pointerId&&t.setPointerCapture(e.nativeEvent.pointerId),R.current=0,H.current=ba(e.pointerType);let a=ut(t);a.addEventListener(`pointermove`,oe,{passive:!0}),a.addEventListener(`pointerup`,se,{once:!0}),a.addEventListener(`pointercancel`,ce,{once:!0})}},a],stateAttributesMapping:la})}),Aa=X.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,{state:o}=da();return K(`div`,e,{state:o,ref:t,props:[{style:{position:`relative`}},a],stateAttributesMapping:la})}),ja=e(((e,t)=>{t.exports=Object.prototype.hasOwnProperty.call(X,`module.exports`)?X[`module.exports`]:{...X}})),Ma=e((e=>{var t=ja();function n(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var r=typeof Object.is==`function`?Object.is:n,i=t.useState,a=t.useEffect,o=t.useLayoutEffect,s=t.useDebugValue;function c(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),c=r[0].inst,u=r[1];return o(function(){c.value=n,c.getSnapshot=t,l(c)&&u({inst:c})},[e,n,t]),a(function(){return l(c)&&u({inst:c}),e(function(){l(c)&&u({inst:c})})},[e]),s(n),n}function l(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!r(e,n)}catch{return!0}}function u(e,t){return t()}var d=typeof window>`u`||window.document===void 0||window.document.createElement===void 0?u:c;e.useSyncExternalStore=t.useSyncExternalStore===void 0?d:t.useSyncExternalStore})),Na=e(((e,t)=>{t.exports=Ma()})),Pa=Na(),Fa=()=>()=>{},Ia=()=>!0,La=()=>!1;function Ra(){return(0,Pa.useSyncExternalStore)(Fa,Ia,La)}function za(){let[e,t]=X.useState(!1);return X.useEffect(()=>{t(!0)},[]),e}var Ba=de(18)?Ra:za;function Va(){return!Ba()}function Ha(e,t,n){return(e-t)*100/(n-t)}var Ua=`ArrowUp`,Wa=`ArrowDown`,Ga=`ArrowLeft`,Ka=`ArrowRight`,qa=`Home`,Ja=`PageUp`,Ya=`PageDown`,Xa=new Set([Ua,Wa,Ga,Ka,qa,`End`]),Za=[`Shift`,`Control`,`Alt`,`Meta`];function Qa(e){return P(e)&&e.tagName===`INPUT`}function $a(e){return!!(Qa(e)&&e.selectionStart!=null||P(e)&&e.tagName===`TEXTAREA`)}function eo(e,t,n,r){if(!e||!t||!t.scrollTo)return;let i=e.scrollLeft,a=e.scrollTop,o=e.clientWidth<e.scrollWidth,s=e.clientHeight<e.scrollHeight;if(o&&r!==`vertical`){let r=to(e,t,`left`),a=no(e),o=no(t);n===`ltr`&&(r+t.offsetWidth+o.scrollMarginRight>e.scrollLeft+e.clientWidth-a.scrollPaddingRight?i=r+t.offsetWidth+o.scrollMarginRight-e.clientWidth+a.scrollPaddingRight:r-o.scrollMarginLeft<e.scrollLeft+a.scrollPaddingLeft&&(i=r-o.scrollMarginLeft-a.scrollPaddingLeft)),n===`rtl`&&(r-o.scrollMarginLeft<e.scrollLeft+a.scrollPaddingLeft?i=r-o.scrollMarginLeft-a.scrollPaddingLeft:r+t.offsetWidth+o.scrollMarginRight>e.scrollLeft+e.clientWidth-a.scrollPaddingRight&&(i=r+t.offsetWidth+o.scrollMarginRight-e.clientWidth+a.scrollPaddingRight))}if(s&&r!==`horizontal`){let n=to(e,t,`top`),r=no(e),i=no(t);n-i.scrollMarginTop<e.scrollTop+r.scrollPaddingTop?a=n-i.scrollMarginTop-r.scrollPaddingTop:n+t.offsetHeight+i.scrollMarginBottom>e.scrollTop+e.clientHeight-r.scrollPaddingBottom&&(a=n+t.offsetHeight+i.scrollMarginBottom-e.clientHeight+r.scrollPaddingBottom)}e.scrollTo({left:i,top:a,behavior:`auto`})}function to(e,t,n){let r=n===`left`?`offsetLeft`:`offsetTop`,i=0;for(;t.offsetParent&&(i+=t[r],t.offsetParent!==e);)t=t.offsetParent;return i}function no(e){let t=getComputedStyle(e);return{scrollMarginTop:parseFloat(t.scrollMarginTop)||0,scrollMarginRight:parseFloat(t.scrollMarginRight)||0,scrollMarginBottom:parseFloat(t.scrollMarginBottom)||0,scrollMarginLeft:parseFloat(t.scrollMarginLeft)||0,scrollPaddingTop:parseFloat(t.scrollPaddingTop)||0,scrollPaddingRight:parseFloat(t.scrollPaddingRight)||0,scrollPaddingBottom:parseFloat(t.scrollPaddingBottom)||0,scrollPaddingLeft:parseFloat(t.scrollPaddingLeft)||0}}var ro=X.createContext(void 0),io={disableStyleElements:!1};function ao(){return X.useContext(ro)??io}function oo(e){let{script:t}=e,{nonce:n}=ao();return Va()?Z(`script`,{nonce:n,dangerouslySetInnerHTML:{__html:t},suppressHydrationWarning:!0}):null}var so=`data-index`,co,lo=new Set([...Xa,Ja,Ya]);function uo(e,t,n,r){if(!(t<0))return e.length===2?`${_a(e[t],r,n)} ${t===0?`start`:`end`} range`:n?_a(e[t],r,n):void 0}function fo(e,t,n,r,i){let a=e+t*n;return ta(Number(a.toFixed(Math.max(Sa(e),Sa(t),Sa(r)))),r,i)}var po=X.forwardRef(function(e,t){let{render:n,children:r,className:i,"aria-describedby":a,"aria-label":o,"aria-labelledby":s,"aria-valuetext":c,disabled:l=!1,getAriaLabel:u,getAriaValueText:d,id:f,index:p,inputRef:m,onBlur:h,onFocus:g,onKeyDown:_,tabIndex:v,style:y,...b}=e,x=ve(f),{active:S,lastUsedThumbIndex:C,controlRef:w,disabled:T,validation:E,format:D,handleInputChange:O,inset:k,isArrayValue:A,labelId:j,largeStep:M,locale:N,max:P,min:F,minStepsBetweenValues:I,form:R,name:z,orientation:B,pressedThumbCenterOffsetRef:H,pressedThumbIndexRef:U,renderBeforeHydration:W,setActive:ee,setIndicatorPosition:te,state:ne,step:re,thumbRefs:ie,values:ae}=da(),oe=ya(),se=l||T,ce=ae.length>1,ue=B===`vertical`,q=oe===`rtl`,{setTouched:de,validationMode:fe}=Oe(),pe=X.useRef(null),me=X.useRef(null),he=Ze(se,me),J=X.useRef(!1),ge=V(e=>{J.current||g?.(e)}),_e=V(e=>{J.current||h?.(e)}),ye=ve(),be=De(),xe=ce?ye:be,{ref:Se,index:Ce}=Oi({metadata:X.useMemo(()=>({inputId:xe}),[xe])}),we=ce?p??Ce:0,Te=we===ae.length-1,Ee=ae[we],ke=Ha(Ee,F,P),[Ae,je]=X.useState(),Me=Va(),Ne=C>=0&&C<ae.length?C:-1,Pe=V(()=>{let e=w.current,t=pe.current;if(!e||!t)return;let n=t.getBoundingClientRect(),r=e.getBoundingClientRect(),i=ue?`height`:`width`,a=r[i]-n[i],o=(n[i]/2+a*ke/100)/r[i]*100,s=Number.isFinite(o)?o:void 0;je(s),we===0?te(e=>[s,e[1]]):Te&&te(e=>[e[0],s])});Y(()=>{k&&queueMicrotask(Pe)},[Pe,k]),Y(()=>{k&&Pe()},[Pe,k,ke]),Y(()=>{if(!k)return;let e=w.current,t=pe.current;if(!e||!t)return;let n=L(e).ResizeObserver;if(typeof n!=`function`)return;let r=new n(Pe);return r.observe(e),r.observe(t),()=>{r.disconnect()}},[w,Pe,k]);let Fe=ue?`bottom`:`insetInlineStart`,Ie=ue?`left`:`top`,Le;ce?S===we?Le=2:Ne===we&&(Le=1):S===we&&(Le=1);let Re;Re=!k&&!Number.isFinite(ke)?Ni:{position:`absolute`,[Fe]:k?`var(--position)`:`${ke}%`,[Ie]:`50%`,translate:`${(ue||!q?-1:1)*50}% ${(ue?1:-1)*50}%`,zIndex:Le,...k&&{"--position":`${Ae??0}%`,visibility:W&&Me||Ae===void 0?`hidden`:void 0}};let ze;ue&&(ze=q?`vertical-rl`:`vertical-lr`);let Be=typeof u==`function`?u(we):o,Ve=G({"aria-label":Be,"aria-labelledby":s??(Be==null?j:void 0),"aria-describedby":a,"aria-orientation":B,"aria-valuenow":Ee,"aria-valuetext":typeof d==`function`?d(_a(Ee,N,D),Ee,we):c??uo(ae,we,D,N),disabled:se,form:R,id:xe,max:P,min:F,name:z,onChange(e){O(e.currentTarget.valueAsNumber,we,e)},onFocus(e){let t=J.current;J.current=!1,ee(we),he(!0),t&&e.stopPropagation()},onBlur(e){J.current?e.stopPropagation():(ee(-1),!ie.current.some(t=>$(t,e.relatedTarget))&&(de(!0),he(!1),fe===`onBlur`&&E.commit(oa(Ee,we,F,P,A,ae))))},onKeyDown(e){if(e.defaultPrevented||!lo.has(e.key))return;Xa.has(e.key)&&e.stopPropagation();let t=null,n=0,r=e.shiftKey?M:re,i=Ca(Ee,re,F);switch(e.key){case Ua:n=1;break;case Ka:n=q?-1:1;break;case Wa:n=-1;break;case Ga:n=q?1:-1;break;case Ja:r=M,n=1;break;case Ya:r=M,n=-1;break;case`End`:t=ce&&Number.isFinite(ae[we+1])?ae[we+1]-re*I:P;break;case qa:t=ce&&Number.isFinite(ae[we-1])?ae[we-1]+re*I:F}if(n!==0&&(t=fo(i,r,n,F,P)),t!==null){let n=e.currentTarget;Un(n)||(J.current=!0,n.blur(),n.focus({preventScroll:!0,focusVisible:!0})),O(t,we,e),e.preventDefault()}},step:re,style:{...Ni,width:`100%`,height:`100%`,writingMode:ze},tabIndex:v,type:`range`,value:Ee??``},e=>E.getValidationProps(se,e),{onFocus:ge,onBlur:_e,onKeyDown:_}),He=le(me,E.inputRef,m);return K(`div`,e,{state:ne,ref:[t,Se,pe],props:[{[so]:we,children:Q(X.Fragment,{children:[r,Z(`input`,{ref:He,...Ve,suppressHydrationWarning:!0}),k&&Te&&W&&(co||=Z(oo,{script:``}))]}),id:x,onPointerDown(e){if(se)return;U.current=we;let t=xa(e.currentTarget,ue);H.current=(ue?e.clientY:e.clientX)-t},style:Re,suppressHydrationWarning:W||void 0},b],stateAttributesMapping:la})});function mo(e,t,n,r,i,a){let o={visibility:a||n&&(r===void 0||t&&i===void 0)?`hidden`:void 0,position:e?`absolute`:`relative`,[e?`width`:`height`]:`inherit`},s=`${r??0}%`,c=`${(i??0)-(r??0)}%`;return n&&(o[`--start-position`]=s,s=`var(--start-position)`,t&&(o[`--relative-size`]=c,c=`var(--relative-size)`)),o[e?`bottom`:`insetInlineStart`]=t?s:0,o[e?`height`:`width`]=t?c:s,o}var ho=X.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,{indicatorPosition:o,inset:s,max:c,min:l,orientation:u,renderBeforeHydration:d,state:f,values:p}=da(),m=Va(),h=mo(u===`vertical`,p.length>1,s,s?o[0]:Ha(p[0],l,c),s?o[1]:Ha(p[p.length-1],l,c),s&&d&&m);return K(`div`,e,{state:f,ref:t,props:[{"data-base-ui-slider-indicator":d?``:void 0,style:h,suppressHydrationWarning:d||void 0},a],stateAttributesMapping:la})});function go({className:e,defaultValue:t,value:n,min:r=0,max:i=100,...a}){let o=Array.isArray(n)?n:Array.isArray(t)?t:[r,i];return Z(pa,{className:q(`data-horizontal:w-full data-vertical:h-full`,e),"data-slot":`slider`,defaultValue:t,value:n,min:r,max:i,thumbAlignment:`edge`,...a,children:Q(ka,{className:`relative flex w-full touch-none items-center select-none data-disabled:opacity-50 data-vertical:h-full data-vertical:min-h-40 data-vertical:w-auto data-vertical:flex-col`,children:[Z(Aa,{"data-slot":`slider-track`,className:`relative grow overflow-hidden rounded-full bg-muted select-none data-horizontal:h-1 data-horizontal:w-full data-vertical:h-full data-vertical:w-1`,children:Z(ho,{"data-slot":`slider-range`,className:`bg-primary select-none data-horizontal:h-full data-vertical:w-full`})}),Array.from({length:o.length},(e,t)=>Z(po,{"data-slot":`slider-thumb`,className:`relative block size-3 shrink-0 rounded-full border border-ring bg-white ring-ring/50 transition-[color,box-shadow] select-none after:absolute after:-inset-2 hover:ring-3 focus-visible:ring-3 focus-visible:outline-hidden active:ring-3 disabled:pointer-events-none disabled:opacity-50`},t))]})})}function _o(e){let t=X.useRef(!0);t.current&&(t.current=!1,e())}function vo(e){let[t,n]=X.useState({current:e,previous:null});return Object.is(e,t.current)||n({current:e,previous:t.current}),t.previous}function yo(e){return e==null||e.hasAttribute(`disabled`)||e.getAttribute(`aria-disabled`)===`true`}var bo=e((e=>{var t=ja(),n=Na();function r(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var i=typeof Object.is==`function`?Object.is:r,a=n.useSyncExternalStore,o=t.useRef,s=t.useEffect,c=t.useMemo,l=t.useDebugValue;e.useSyncExternalStoreWithSelector=function(e,t,n,r,u){var d=o(null);if(d.current===null){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=c(function(){function e(e){if(!a){if(a=!0,o=e,e=r(e),u!==void 0&&f.hasValue){var t=f.value;if(u(t,e))return s=t}return s=e}if(t=s,i(o,e))return t;var n=r(e);return u!==void 0&&u(t,n)?(o=e,t):(o=e,s=n)}var a=!1,o,s,c=n===void 0?null:n;return[function(){return e(t())},c===null?void 0:function(){return e(c())}]},[t,n,r,u]);var p=a(e,d[0],d[1]);return s(function(){f.hasValue=!0,f.value=p},[p]),l(p),p}})),xo=e(((e,t)=>{t.exports=bo()})),So=[],Co=void 0;function wo(){return Co}function To(e){So.push(e)}var Eo=xo(),Do=de(19)?Ao:jo;function Oo(e,t,n,r,i){return Do(e,t,n,r,i)}function ko(e,t,n,r,i){let a=X.useCallback(()=>t(e.getSnapshot(),n,r,i),[e,t,n,r,i]);return(0,Pa.useSyncExternalStore)(e.subscribe,a,a)}To({before(e){e.syncIndex=0,e.didInitialize||(e.syncTick=1,e.syncHooks=[],e.didChangeStore=!0,e.getSnapshot=()=>{let t=!1;for(let n=0;n<e.syncHooks.length;n+=1){let r=e.syncHooks[n],i=r.selector(r.store.state,r.a1,r.a2,r.a3);Object.is(r.value,i)||(t=!0,r.value=i)}return t&&(e.syncTick+=1),e.syncTick})},after(e){e.syncHooks.length>0&&(e.didChangeStore&&(e.didChangeStore=!1,e.subscribe=t=>{let n=new Set;for(let t of e.syncHooks)n.add(t.store);let r=[];for(let e of n)r.push(e.subscribe(t));return()=>{for(let e of r)e()}}),(0,Pa.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot))}});function Ao(e,t,n,r,i){let a=wo();if(!a)return ko(e,t,n,r,i);let o=a.syncIndex;a.syncIndex+=1;let s;return a.didInitialize?(s=a.syncHooks[o],s.store===e&&s.selector===t&&Object.is(s.a1,n)&&Object.is(s.a2,r)&&Object.is(s.a3,i)||(s.store!==e&&(a.didChangeStore=!0),s.store=e,s.selector=t,s.a1=n,s.a2=r,s.a3=i,s.value=t(e.getSnapshot(),n,r,i))):(s={store:e,selector:t,a1:n,a2:r,a3:i,value:t(e.getSnapshot(),n,r,i)},a.syncHooks.push(s)),s.value}function jo(e,t,n,r,i){return(0,Eo.useSyncExternalStoreWithSelector)(e.subscribe,e.getSnapshot,e.getSnapshot,e=>t(e,n,r,i))}var Mo=class{static create(e){return new this(e)}constructor(e){this.state=e,this.listeners=new Set,this.updateTick=0}subscribe=e=>(this.listeners.add(e),()=>{this.listeners.delete(e)});getSnapshot=()=>this.state;setState(e){if(this.state===e)return;this.state=e,this.updateTick+=1;let t=this.updateTick;for(let n of this.listeners){if(t!==this.updateTick)return;n(e)}}update(e){for(let t in e)if(!Object.is(this.state[t],e[t])){this.setState({...this.state,...e});return}}set(e,t){Object.is(this.state[e],t)||this.setState({...this.state,[e]:t})}notifyAll(){let e={...this.state};this.setState(e)}use(e,t,n,r){return Oo(this,e,t,n,r)}},No=class extends Mo{constructor(e,t={},n){super(e),this.context=t,this.selectors=n}useSyncedValue(e,t){X.useDebugValue(e);let n=this;Y(()=>{n.state[e]!==t&&n.set(e,t)},[n,e,t])}useSyncedValueWithCleanup(e,t){let n=this;Y(()=>(n.state[e]!==t&&n.set(e,t),()=>{n.set(e,void 0)}),[n,e,t])}useSyncedValues(e){let t=this,n=Object.values(e);Y(()=>{t.update(e)},[t,...n])}useControlledProp(e,t){X.useDebugValue(e);let n=this,r=t!==void 0;Y(()=>{r&&!Object.is(n.state[e],t)&&n.setState({...n.state,[e]:t})},[n,e,t,r])}select(e,t,n,r){let i=this.selectors[e];return i(this.state,t,n,r)}useState(e,t,n,r){return X.useDebugValue(e),Oo(this,this.selectors[e],t,n,r)}useContextCallback(e,t){X.useDebugValue(e);let n=V(t??re);this.context[e]=n}useStateSetter(e){let t=X.useRef(void 0);return t.current===void 0&&(t.current=t=>{this.set(e,t)}),t.current}observe(e,t){let n;n=typeof e==`function`?e:this.selectors[e];let r=n(this.state);return t(r,r,this),this.subscribe(e=>{let i=n(e);if(!Object.is(r,i)){let e=r;r=i,t(i,e,this)}})}};function Po(...e){return()=>{for(let t=0;t<e.length;t+=1){let n=e[t];n&&n()}}}var Fo=X.forwardRef(function(e,t){let[n,r]=X.useState();Y(()=>{dn&&un&&r(`button`)},[]);let i={tabIndex:0,role:n};return Z(`span`,{...e,ref:t,style:Ni,"aria-hidden":!n||void 0,...i,"data-base-ui-focus-guard":``})});function Io(e){return`data-base-ui-${e}`}var Lo=0;function Ro(e,t={}){let{preventScroll:n=!1,sync:r=!1,shouldFocus:i}=t;cancelAnimationFrame(Lo);function a(){(!i||i())&&e?.focus({preventScroll:n})}if(r)return a(),re;let o=requestAnimationFrame(a);return Lo=o,()=>{Lo===o&&(cancelAnimationFrame(o),Lo=0)}}var zo=`data-base-ui-inert`,Bo=new WeakMap,Vo=new WeakSet,Ho=new WeakMap,Uo=0;function Wo(e){return e?O(e)?e.host:Wo(e.parentNode):null}var Go=(e,t)=>t.map(t=>{if(e.contains(t))return t;let n=Wo(t);return e.contains(n)?n:null}).filter(e=>e!=null),Ko=e=>{let t=new Set;return e.forEach(e=>{let n=e;for(;n&&!t.has(n);)t.add(n),n=n.parentNode}),t},qo=(e,t,n)=>{let r=[],i=e=>{e&&!n.has(e)&&Array.from(e.children).forEach(e=>{ce(e)!==`script`&&(t.has(e)?i(e):r.push(e))})};return i(e),r};function Jo(e,t,n,{mark:r=!0}){let i=Go(t,e),a=r?qo(t,Ko(i),new Set(i)):[],o=[],s=[];if(n){let e=Go(t,Array.from(t.querySelectorAll(`[aria-live]`))),n=i.concat(e);qo(t,Ko(n),new Set(n)).forEach(e=>{let t=e.getAttribute(`aria-hidden`),n=t!==null&&t!==`false`,r=(Bo.get(e)||0)+1;Bo.set(e,r),o.push(e),r===1&&n&&Vo.add(e),n||e.setAttribute(`aria-hidden`,`true`)})}return r&&a.forEach(e=>{let t=(Ho.get(e)||0)+1;Ho.set(e,t),s.push(e),t===1&&e.setAttribute(zo,``)}),Uo+=1,()=>{o.forEach(e=>{let t=(Bo.get(e)||0)-1;Bo.set(e,t),t||(Vo.has(e)||e.removeAttribute(`aria-hidden`),Vo.delete(e))}),r&&s.forEach(e=>{let t=(Ho.get(e)||0)-1;Ho.set(e,t),t||e.removeAttribute(zo)}),--Uo,Uo||(Bo=new WeakMap,Vo=new WeakSet,Ho=new WeakMap)}}function Yo(e,t={}){let{ariaHidden:n=!1,mark:r=!0}=t,i=ut(e[0]).body;return Jo(e,i,n,{mark:r})}var Xo={style:{transition:`none`}},Zo={fallbackAxisSide:`none`},Qo={clipPath:`inset(50%)`,position:`fixed`,top:0,left:0},$o=X.createContext(null),es=()=>X.useContext($o),ts=Io(`portal`);function ns(e={}){let{ref:t,container:n,componentProps:r=ne,elementProps:i}=e,a=ze(),o=es()?.portalNode,[s,c]=X.useState(null),[l,u]=X.useState(null),d=V(e=>{e!==null&&u(e)}),f=X.useRef(null);Y(()=>{if(n===null){f.current&&(f.current=null,u(null),c(null));return}let e=(n&&(B(n)?n:n.current))??o??document.body;e==null?f.current&&(f.current=null,u(null),c(null)):f.current!==e&&(f.current=e,u(null),c(e))},[n,o]);let p=K(`div`,r,{ref:[t,d],props:[{id:a,[ts]:``},i]}),m=s&&p?st.createPortal(p,s):null;return{node:l,nodeId:X.isValidElement(p)?p.props.id:void 0,subtree:m}}var rs=X.forwardRef(function(e,t){let{render:n,className:r,style:i,children:a,container:o,portalOwnerRole:s,...c}=e,{node:l,nodeId:u,subtree:d}=ns({container:o,ref:t,componentProps:e,elementProps:c}),f=X.useRef(null),p=X.useRef(null),m=X.useRef(null),h=X.useRef(null),[g,_]=X.useState(null),v=X.useRef(!1),y=g?.modal,b=g?.open,x=!!g&&!g.modal&&g.open&&!!l;X.useEffect(()=>{if(!l||y)return;function e(e){l&&e.relatedTarget&&$r(e)&&(e.type===`focusin`?v.current&&=(ti(l),!1):(ei(l),v.current=!0))}return Po(ki(l,`focusin`,e,!0),ki(l,`focusout`,e,!0))},[l,y]),Y(()=>{l&&b===!0&&v.current&&(ti(l),v.current=!1)},[b,l]);let S=X.useMemo(()=>({beforeOutsideRef:f,afterOutsideRef:p,beforeInsideRef:m,afterInsideRef:h,portalNode:l,setFocusManagerState:_}),[l]);return Q(X.Fragment,{children:[d,Q($o.Provider,{value:S,children:[x&&l&&Z(Fo,{"data-type":`outside`,ref:f,onFocus:e=>{$r(e,l)?m.current?.focus():Qr(g?g.domReference:null)?.focus()}}),x&&l&&Z(`span`,{role:s,"aria-owns":u,style:Qo}),l&&st.createPortal(a,l),x&&l&&Z(Fo,{"data-type":`outside`,ref:p,onFocus:e=>{$r(e,l)?h.current?.focus():(Zr(g?g.domReference:null)?.focus(),g?.closeOnFocusOut&&g?.onOpenChange(!1,Me(`focus-out`,e.nativeEvent)))}})]})]})});function is(){let e=new Map;return{emit(t,n){e.get(t)?.forEach(e=>e(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){e.get(t)?.delete(n)}}}var as=X.createContext(null),os=X.createContext(null),ss=()=>X.useContext(as)?.id||null,cs=e=>{let t=X.useContext(os);return e??t};function ls(e,t){let n=L(hn(e));return e instanceof n.KeyboardEvent?`keyboard`:e instanceof n.FocusEvent?t||`keyboard`:`pointerType`in e?e.pointerType||(Yn(e)?`keyboard`:t||`mouse`):`touches`in e?`touch`:e instanceof n.MouseEvent?t||(e.detail===0?`keyboard`:`mouse`):``}var us=20,ds=[];function fs(){ds=ds.filter(e=>e.deref()?.isConnected)}function ps(e){fs(),e&&ce(e)!==`body`&&(ds.push(new WeakRef(e)),ds.length>us&&(ds=ds.slice(-20)))}function ms(){return fs(),ds[ds.length-1]?.deref()}function hs(e){return e?qr(e)?e:Yr(e)[0]||e:null}function gs(e){if(e.hasAttribute(`tabindex`)&&!e.hasAttribute(`data-tabindex`)||!e.getAttribute(`role`)?.includes(`dialog`))return;let t=Jr(e).filter(e=>{let t=e.getAttribute(`data-tabindex`)||``;return qr(e)||e.hasAttribute(`data-tabindex`)&&!t.startsWith(`-`)}),n=e.getAttribute(`tabindex`);t.length===0?n!==`0`&&(e.setAttribute(`tabindex`,`0`),e.setAttribute(`data-tabindex`,`0`)):(n!==`-1`||e.hasAttribute(`data-tabindex`)&&e.getAttribute(`data-tabindex`)!==`-1`)&&(e.setAttribute(`tabindex`,`-1`),e.setAttribute(`data-tabindex`,`-1`))}function _s(e){let{context:t,children:n,disabled:r=!1,initialFocus:i=!0,returnFocus:a=!0,explicitReturnFocus:o,restoreFocus:s=!1,modal:c=!0,closeOnFocusOut:l=!0,openInteractionType:u=``,nextFocusableElement:d,previousFocusableElement:f,beforeContentFocusGuardRef:p,externalTree:m,getInsideElements:h}=e,g=t.useState(`open`),_=t.useState(`domReferenceElement`),v=t.useState(`floatingElement`),{events:y,dataRef:b}=t.context,x=V(()=>b.current.floatingContext?.nodeId),S=i===!1,C=Hn(_)&&S,w=Ai(i),T=Ai(a),E=Ai(o),D=Ai(u),O=Ai(g),k=cs(m),A=es(),j=X.useRef(!1),M=X.useRef(!1),N=X.useRef(!1),F=X.useRef(null),I=X.useRef(``),L=X.useRef(``),R=X.useRef(null),z=X.useRef(null),B=le(R,p,A?.beforeInsideRef),H=le(z,A?.afterInsideRef),U=xe(),W=xe(),ee=ci(),te=A!=null,G=Wn(v),K=V((e=G)=>e?Yr(e):[]),ne=V(()=>h?.().filter(e=>e!=null)??[]);X.useEffect(()=>{if(r||!c)return;function e(e){e.key===`Tab`&&$(G,pn(ut(G)))&&K().length===0&&!C&&qn(e)}return ki(ut(G),`keydown`,e)},[r,G,c,C,K]),X.useEffect(()=>{if(r||!g)return;let e=ut(G);function t(){N.current=!1}function n(e){let t=hn(e),n=ne(),r=$(v,t)||$(_,t)||$(A?.portalNode,t)||n.some(e=>e===t||$(e,t));N.current=!r,L.current=e.pointerType||`keyboard`,mn(t,`[data-base-ui-click-trigger]`)&&(M.current=!0,W.start(0,()=>{M.current=!1}))}function i(){L.current=`keyboard`}return Po(ki(e,`pointerdown`,n,!0),ki(e,`pointerup`,t,!0),ki(e,`pointercancel`,t,!0),ki(e,`keydown`,i,!0),t)},[r,v,_,G,g,A,W,ne]),X.useEffect(()=>{if(r||!l)return;let e=ut(G);function n(){M.current=!0,W.start(0,()=>{M.current=!1})}function i(e){let t=hn(e);qr(t)&&(F.current=t)}function a(n){let r=n.relatedTarget,i=n.currentTarget,a=hn(n);c&&r==null&&a!=null&&$(v,a)&&ps(a),queueMicrotask(()=>{let o=x(),l=t.context.triggerElements,u=ne(),p=r?.hasAttribute(Io(`focus-guard`))&&[R.current,z.current,A?.beforeInsideRef.current,A?.afterInsideRef.current,A?.beforeOutsideRef.current,A?.afterOutsideRef.current,li(f),li(d)].includes(r),m=!($(_,r)||$(v,r)||$(r,v)||$(A?.portalNode,r)||u.some(e=>e===r||$(e,r))||l.hasMatchingElement(e=>$(e,r))||p||k&&(Gn(k.nodesRef.current,o).find(e=>$(e.context?.elements.floating,r)||$(e.context?.elements.domReference,r))||Kn(k.nodesRef.current,o).find(e=>[e.context?.elements.floating,Wn(e.context?.elements.floating)].includes(r)||e.context?.elements.domReference===r)));if(i===_&&G&&gs(G),s&&i!==_&&!Nr(a)&&pn(e)===e.body){if(P(G)&&(G.focus(),s===`popup`)){ee.request(()=>{G.focus()});return}let e=K(),t=F.current,n=(t&&e.includes(t)?t:null)||e[e.length-1]||G;P(n)&&n.focus()}b.current.insideReactTree?b.current.insideReactTree=!1:(C||!c)&&r&&m&&!M.current&&(C||r!==ms())&&(j.current=!0,t.setOpen(!1,Me(We,n)))})}function o(){N.current||(b.current.insideReactTree=!0,U.start(0,()=>{b.current.insideReactTree=!1}))}let u=P(_)?_:null;if(v||u)return Po(u&&ki(u,`focusout`,a),u&&ki(u,`pointerdown`,n),v&&ki(v,`focusin`,i),v&&ki(v,`focusout`,a),v&&A&&ki(v,`focusout`,o,!0))},[r,_,v,G,c,k,A,t,l,s,K,C,x,b,U,W,ee,d,f,ne]),X.useEffect(()=>{if(r||!v||!g)return;let e=Array.from(A?.portalNode?.querySelectorAll(`[${Io(`portal`)}]`)||[]),t=(k?Kn(k.nodesRef.current,x()):[]).find(e=>Hn(e.context?.elements.domReference||null))?.context?.elements.domReference,n=Yo([v,...e,R.current,z.current,A?.beforeOutsideRef.current,A?.afterOutsideRef.current,...ne(),t,li(f),li(d),C?_:null].filter(e=>e!=null),{ariaHidden:c||C,mark:!1}),i=Yo([v,...e].filter(e=>e!=null));return()=>{i(),n()}},[g,r,_,v,c,A,C,k,x,d,f,ne]),Y(()=>{if(!g||r||!P(G))return;I.current=``,L.current=``;let e=ut(G),t=pn(e);queueMicrotask(()=>{let n=w.current,r=typeof n==`function`?n(D.current||``):n;if(r===void 0||r===!1||$(G,t))return;let i=null,a=()=>(i??=K(G),i[0]||G),o;o=r===!0||r===null?a():li(r),o||=a();let s=$(G,pn(e)),c=b.current.openEvent,l=c?.type===`mousedown`&&Yn(c);Ro(o,{sync:l,preventScroll:o===G,shouldFocus(){if(!O.current)return!1;if(s)return!0;let t=pn(e);return!(t!==o&&$(G,t))}})})},[r,g,G,K,w,D,O,b]);let re=X.useRef(null);Y(()=>{if(r||!G){re.current=null;return}re.current&&=(re.current.cancelled=!0,null);let e=ut(G),t=pn(e),n=D.current==null;ps(t);function i(e){if(e.open||(I.current=ls(e.nativeEvent,L.current)),(e.reason===`focus-out`&&e.triggerElement?.hasAttribute(Io(`focus-guard`))||e.reason===`trigger-hover`&&e.nativeEvent.type===`mouseleave`)&&(j.current=!0),e.reason===`outside-press`){if(e.nested)j.current=!1;else if(Yn(e.nativeEvent)||Xn(e.nativeEvent))j.current=!1;else{let e=!1;ut(G).createElement(`div`).focus({get preventScroll(){return e=!0,!1}}),e?j.current=!1:j.current=!0}}}y.on(`openchange`,i);function a(e){let r=T.current,i=typeof r==`function`?r(e):r;if(i===void 0||i===!1)return null;i===null&&(i=!0);let a=_?.isConnected?_:null,o=t?.isConnected&&ce(t)!==`body`?t:null,s=n?o||a:a||o;return s||=ms()||null,typeof i==`boolean`?s:li(i)||s||null}return()=>{y.off(`openchange`,i);let t=pn(e),n=ne(),r=$(v,t)||n.some(e=>e===t||$(e,t))||k&&Gn(k.nodesRef.current,x(),!1).some(e=>$(e.context?.elements.floating,t)),o=T.current,s=I.current,c=a(s),l={cancelled:!1};re.current=l,queueMicrotask(()=>{re.current===l&&(re.current=null);let n=hs(c),i=E.current??typeof o!=`boolean`;if(!l.cancelled&&o&&!j.current&&P(n)&&(i||n===t||t===e.body||r)){let e={preventScroll:!0};s===`keyboard`&&(e.focusVisible=!0),n.focus(e)}j.current=!1})}},[r,v,G,T,E,D,y,k,_,x,ne]),Y(()=>{if(!un||g||!v)return;let e=pn(ut(v));P(e)&&Vn(e)&&$(v,e)&&e.blur()},[g,v]),Y(()=>{if(!r&&A)return A.setFocusManagerState({modal:c,closeOnFocusOut:l,open:g,onOpenChange:t.setOpen,domReference:_}),()=>{A.setFocusManagerState(null)}},[r,A,c,g,t,l,_]),Y(()=>{if(!r&&G)return gs(G),()=>{queueMicrotask(fs)}},[r,G]);let ie=!r&&(!c||!C)&&(te||c);return Q(X.Fragment,{children:[ie&&Z(Fo,{"data-type":`inside`,ref:B,onFocus:e=>{if(c){let e=K();Ro(e[e.length-1])}else A?.portalNode&&(j.current=!1,$r(e,A.portalNode)?Zr(_)?.focus():li(f??A.beforeOutsideRef)?.focus())}}),n,ie&&Z(Fo,{"data-type":`inside`,ref:H,onFocus:e=>{c?Ro(K()[0]):A?.portalNode&&(l&&(j.current=!0),$r(e,A.portalNode)?Qr(_)?.focus():li(d??A.afterOutsideRef)?.focus())}})]})}function vs(e,t={}){let{enabled:n=!0,event:r=`click`,toggle:i=!0,ignoreMouse:a=!1,stickIfOpen:o=!0,touchOpenDelay:s=0,reason:c=Xe}=t,l=e.context.dataRef,u=X.useRef(void 0),d=ci(),f=xe(),p=X.useMemo(()=>{function t(t,n,r,i){let a=Me(c,n,r);t&&i===`touch`&&s>0?f.start(s,()=>{e.setOpen(!0,a)}):e.setOpen(t,a)}function n(t,n,r){let a=l.current.openEvent,s=e.select(`domReferenceElement`)!==n;return t&&s||!t||!i?!0:a&&(typeof o==`function`?o():o)?!r(a.type):!1}return{onPointerDown(e){u.current=Zn(e.pointerType,!0)&&Xn(e.nativeEvent)?`virtual`:e.pointerType},onMouseDown(i){let o=u.current,s=i.nativeEvent,c=e.select(`open`);if(i.button!==0||r===`click`||Zn(o,!0)&&a)return;let l=n(c,i.currentTarget,e=>e===`click`||e===`mousedown`),f=hn(s),p=Vn(f);if(p||o===`virtual`){t(l,s,p?f:i.currentTarget,o);return}let m=i.currentTarget;d.request(()=>{t(l,s,m,o)})},onClick(i){if(r===`mousedown-only`)return;let o=u.current;r===`mousedown`&&o?u.current=void 0:Zn(o,!0)&&a||t(n(e.select(`open`),i.currentTarget,e=>e===`click`||e===`mousedown`||e===`keydown`||e===`keyup`),i.nativeEvent,i.currentTarget,o)},onKeyDown(){u.current=void 0}}},[l,r,a,c,e,o,i,d,f,s]);return X.useMemo(()=>n?{reference:p}:ne,[n,p])}function ys(){return!1}function bs(e){return{escapeKey:typeof e==`boolean`?e:e?.escapeKey??!1,outsidePress:typeof e==`boolean`?e:e?.outsidePress??!0}}function xs(e,t={}){let{enabled:n=!0,escapeKey:r=!0,outsidePress:i=!0,outsidePressEvent:a=`sloppy`,referencePress:o=ys,bubbles:s,externalTree:c}=t,l=e.useState(`open`),u=e.useState(`floatingElement`),{dataRef:d,events:f}=e.context,p=cs(c),m=V(typeof i==`function`?i:()=>!1),h=typeof i==`function`?m:i,g=h!==!1,_=V(()=>a),{escapeKey:v,outsidePress:y}=bs(s),b=X.useRef(!1),x=X.useRef(!1),S=X.useRef(!1),C=X.useRef(!1),w=X.useRef(!1),T=X.useRef(``),E=X.useRef(null),D=xe(),k=xe(),A=xe(),j=V(()=>{k.clear(),d.current.insideReactTree=!1}),N=V(e=>{let t=d.current.floatingContext?.nodeId;return(p?Gn(p.nodesRef.current,t):[]).some(t=>t.context?.open&&!t.context.dataRef.current[e])}),L=V(t=>zn(t,e.select(`floatingElement`))||zn(t,e.select(`domReferenceElement`))),R=V(t=>{o()&&e.setOpen(!1,Me(Xe,t.nativeEvent))}),z=V(t=>{if(!l||!n||!r||t.key!==`Escape`)return;let i=Jn(t)?t.nativeEvent:t;if(w.current||i.isComposing||!v&&N(`__escapeKeyBubbles`))return;let a=Me(je,i);e.setOpen(!1,a),a.isCanceled||t.preventDefault(),!v&&!a.isPropagationAllowed&&t.stopPropagation()}),B=V(()=>{d.current.insideReactTree=!0,k.start(0,j)}),U=V(t=>{if(!l||!n||t.button!==0)return;let r=hn(t.nativeEvent);$(e.select(`floatingElement`),r)&&(b.current||(b.current=!0,x.current=!1))}),W=V(e=>{l&&n&&(e.defaultPrevented||e.nativeEvent.defaultPrevented)&&b.current&&(x.current=!0)});X.useEffect(()=>{function e(e){e.open||(C.current=!1)}return f.on(`openchange`,e),()=>{f.off(`openchange`,e)}},[f]),X.useEffect(()=>j,[j]),X.useEffect(()=>{if(!l||!n)return l||(C.current=!1,w.current=!1,T.current=``,E.current=null),j;d.current.__escapeKeyBubbles=v,d.current.__outsidePressBubbles=y;let t=new Ae,i=ut(u);function a(){A.clear(),w.current=!0}function o(){w.current=!0,A.start(un?5:0,()=>{w.current=!1})}function s(){S.current=!0,t.start(0,()=>{S.current=!1})}function c(){b.current=!1,x.current=!1}function f(){let e=T.current,t=e===`pen`||!e?`mouse`:e,n=_(),r=typeof n==`function`?n():n;return typeof r==`string`?r:r[t]}function m(e){let t=f();return t===`intentional`&&e.type!==`click`||t===`sloppy`&&e.type===`click`}function k(e){let t=d.current.floatingContext?.nodeId,n=p&&Gn(p.nodesRef.current,t).some(t=>zn(e,t.context?.elements.floating));return L(e)||n}function R(n){if(m(n)){n.type!==`click`&&!L(n)&&(t.clear(),S.current=!1),j();return}if(d.current.insideReactTree){j();return}let r=hn(n),i=`[${Io(`inert`)}]`,a=M(r)?r.getRootNode():null,o=Array.from((O(a)?a:ut(e.select(`floatingElement`))).querySelectorAll(i)),s=e.context.triggerElements;if(r&&(s.hasElement(r)||s.hasMatchingElement(e=>$(e,r))))return;let c=M(r)?r:null;for(;c&&!F(c);){let e=I(c);if(F(e)||!M(e))break;c=e}if(!(o.length&&M(r)&&!Bn(r)&&!$(r,e.select(`floatingElement`))&&o.every(e=>!$(c,e)))){if(P(r)&&!(`touches`in n)){let e=F(r),t=H(r),i=/auto|scroll/,a=e||i.test(t.overflowX),o=e||i.test(t.overflowY),s=a&&r.clientWidth>0&&r.scrollWidth>r.clientWidth,c=o&&r.clientHeight>0&&r.scrollHeight>r.clientHeight,l=t.direction===`rtl`,u=c&&(l?n.offsetX<=r.offsetWidth-r.clientWidth:n.offsetX>r.clientWidth),d=s&&n.offsetY>r.clientHeight;if(u||d)return}if(!k(n)){if(f()===`intentional`){if(n.detail!==0&&!Yn(n)&&!C.current)return;if(S.current){t.clear(),S.current=!1;return}}typeof h==`function`&&!h(n)||N(`__outsidePressBubbles`)||(e.setOpen(!1,Me(Le,n)),j())}}}function B(t){f()===`sloppy`&&t.pointerType!==`touch`&&e.select(`open`)&&n&&!L(t)&&R(t)}function V(t){if(f()!==`sloppy`||!e.select(`open`)||!n||L(t))return;let r=t.touches[0];r&&(E.current={startTime:Date.now(),startX:r.clientX,startY:r.clientY,dismissOnTouchEnd:!1,dismissOnMouseDown:!0},D.start(1e3,()=>{E.current&&(E.current.dismissOnTouchEnd=!1,E.current.dismissOnMouseDown=!1)}))}function U(e,t){let n=hn(e);if(!n)return;let r=ki(n,e.type,()=>{t(e),r()})}function W(e){T.current=`touch`,U(e,V)}function ee(e){D.clear(),e.type===`pointerdown`&&(e.button===0&&(C.current=!0),T.current=e.pointerType),(e.type!==`mousedown`||!E.current||E.current.dismissOnMouseDown)&&U(e,e=>{e.type===`pointerdown`?B(e):R(e)})}function te(e){if(e.type===`pointercancel`&&(C.current=!1),!b.current)return;let n=x.current;c(),f()===`intentional`&&(e.type===`pointercancel`?n&&s():k(e)||(n?s():(typeof h!=`function`||h(e))&&(t.clear(),S.current=!0,j())))}function G(e){if(f()!==`sloppy`||!E.current||L(e))return;let t=e.touches[0];if(!t)return;let n=Math.abs(t.clientX-E.current.startX),r=Math.abs(t.clientY-E.current.startY),i=Math.sqrt(n*n+r*r);i>5&&(E.current.dismissOnTouchEnd=!0),i>10&&(R(e),D.clear(),E.current=null)}function K(e){U(e,G)}function ne(e){f()===`sloppy`&&E.current&&!L(e)&&(E.current.dismissOnTouchEnd&&R(e),D.clear(),E.current=null)}function re(e){U(e,ne)}let ie=Po(r&&Po(ki(i,`keydown`,z),ki(i,`compositionstart`,a),ki(i,`compositionend`,o)),g&&Po(ki(i,`click`,ee,!0),ki(i,`pointerdown`,ee,!0),ki(i,`pointerup`,te,!0),ki(i,`pointercancel`,te,!0),ki(i,`mousedown`,ee,!0),ki(i,`mouseup`,te,!0),ki(i,`touchstart`,W,{capture:!0,passive:!0}),ki(i,`touchmove`,K,{capture:!0,passive:!0}),ki(i,`touchend`,re,{capture:!0,passive:!0})));return()=>{ie(),t.clear(),c(),S.current=!1}},[d,u,r,g,h,l,n,v,y,z,j,_,N,L,p,e,D,A]);let ee=X.useMemo(()=>({onKeyDown:z,onPointerDown:R,onClick:R}),[z,R]),te=X.useMemo(()=>({onKeyDown:z,onPointerDown:W,onMouseDown:W,onClickCapture:B,onMouseDownCapture(e){B(),U(e)},onPointerDownCapture(e){B(),U(e)},onMouseUpCapture:B,onTouchEndCapture:B,onTouchMoveCapture:B}),[z,B,U,W]);return X.useMemo(()=>n?{reference:ee,floating:te,trigger:ee}:{},[n,ee,te])}function Ss(e){let{open:t,ref:n,preventUnmountOnClose:r,setPreventUnmountOnClose:i,onUnmount:a,animateInitialOpen:o}=e,s=V(i),{mounted:c,setMounted:l,transitionStatus:u}=hi(t,!1,!1,o),d=!t&&r;Y(()=>{t&&s(!1)},[t,s]);let f=X.useRef(c),p=X.useRef(!1),m=Te(),h=()=>{f.current=!1,l(!1),a()};Y(()=>{f.current=c,p.current&&(p.current=!1,!t&&c&&h())});let g=V(()=>{f.current&&(t?(p.current=!0,m()):h())});return mi({enabled:c&&!t&&!d,open:t,ref:n,onComplete(){t||g()}}),{mounted:c,transitionStatus:u,preventUnmountingOnClose:d,forceUnmount:g}}var Cs={tabIndex:-1,[gn]:``};function ws(e){let t=!1;return e.preventUnmountOnClose=()=>{t=!0},()=>t}var Ts=class{idMap=new Map;add(e,t){this.idMap.set(e,t)}delete(e){this.idMap.delete(e)}hasElement(e){for(let t of this.idMap.values())if(t===e)return!0;return!1}hasMatchingElement(e){for(let t of this.idMap.values())if(e(t))return!0;return!1}getById(e){return this.idMap.get(e)}entries(){return this.idMap.entries()}elements(){return this.idMap.values()}get size(){return this.idMap.size}},Es={open:e=>e.open,transitionStatus:e=>e.transitionStatus,domReferenceElement:e=>e.domReferenceElement,referenceElement:e=>e.positionReference??e.referenceElement,floatingElement:e=>e.floatingElement,floatingId:e=>e.floatingId},Ds=class extends No{constructor(e){let{syncOnly:t,nested:n,onOpenChange:r,triggerElements:i,...a}=e;super({...a,positionReference:a.referenceElement,domReferenceElement:a.referenceElement},{onOpenChange:r,dataRef:{current:{}},events:is(),nested:n,triggerElements:i},Es),this.syncOnly=t}syncOpenEvent=(e,t)=>{(!e||!this.state.open||t!=null&&Qn(t))&&(this.context.dataRef.current.openEvent=e?t:void 0)};dispatchOpenChange=(e,t)=>{this.syncOpenEvent(e,t.event);let n={open:e,reason:t.reason,nativeEvent:t.event,nested:this.context.nested,triggerElement:t.trigger};this.context.events.emit(`openchange`,n)};setOpen=(e,t)=>{this.syncOnly||this.dispatchOpenChange(e,t),this.context.onOpenChange?.(e,t)}};function Os(e){let{open:t=!1,onOpenChange:n,elements:r={}}=e,i=ze(),a=ss()!=null,o=k(()=>new Ds({open:t,transitionStatus:void 0,onOpenChange:n,referenceElement:r.reference??null,floatingElement:r.floating??null,triggerElements:new Ts,floatingId:i,syncOnly:!1,nested:a})).current;return Y(()=>{let e={open:t,floatingId:i};r.reference!==void 0&&(e.referenceElement=r.reference,e.domReferenceElement=M(r.reference)?r.reference:null),r.floating!==void 0&&(e.floatingElement=r.floating),o.update(e)},[t,i,r.reference,r.floating,o]),o.context.onOpenChange=n,o.context.nested=a,o}function ks(e){return un&&e.movementX===0&&e.movementY===0}function As(e,t,n){switch(e){case`vertical`:return t;case`horizontal`:return n;default:return t||n}}function js(e,t){return As(t,e===`ArrowUp`||e===`ArrowDown`,e===`ArrowLeft`||e===`ArrowRight`)}function Ms(e,t,n){return As(t,e===`ArrowDown`,n?e===`ArrowLeft`:e===`ArrowRight`)||e===`Enter`||e===` `||e===``}function Ns(e,t,n){return As(t,n?e===_n:e===vn,e===bn)}function Ps(e,t,n,r){return t===`both`||t===`horizontal`&&r?e===`Escape`:As(t,n?e===vn:e===_n,e===yn)}function Fs(e,t){let{listRef:n,activeIndex:r,onNavigate:i=()=>{},enabled:a=!0,selectedIndex:o=null,allowEscape:s=!1,loopFocus:c=!1,nested:l=!1,rtl:u=!1,virtual:d=!1,focusItemOnOpen:f=`auto`,focusItemOnHover:p=!0,openOnArrowKeyDown:m=!0,disabledIndices:h=void 0,orientation:g=`vertical`,triggerOrientation:_=g,parentOrientation:v,id:y,resetOnPointerLeave:b=!0,externalTree:x,nestedReturnFocusRef:S,grid:C}=t,w=C!=null,T=e.useState(`open`),E=e.useState(`floatingElement`),D=e.useState(`domReferenceElement`),O=e.context.dataRef,k=Wn(E),A=Hn(D),j=Ai(k),M=ss(),N=cs(x),F=X.useRef(f),I=X.useRef(o??-1),L=X.useRef(null),R=X.useRef(!0),z=V(e=>{i(I.current===-1?null:I.current,e)}),B=X.useRef(!!E),H=X.useRef(T),U=X.useRef(!1),W=X.useRef(!1),ee=X.useRef(null),te=Ai(h),G=Ai(T),K=Ai(o),ne=Ai(b),re=ci(),ie=ci(),ae=V(()=>{re.cancel();function e(e){d||(ee.current=Ro(e,{sync:U.current,preventScroll:!0}))}let t=n.current[I.current],r=W.current;t&&e(t),(U.current?e=>e():e=>re.request(e))(()=>{let i=n.current[I.current]||t;i&&(t||e(i),q&&(r||!R.current)&&i.scrollIntoView?.({block:`nearest`,inline:`nearest`}))})});Y(()=>{O.current.orientation=g},[O,g]),Y(()=>{T||(L.current=null),T&&f===`auto`||(F.current=f)},[T,f]),Y(()=>{a&&(T&&E?(I.current=o??-1,F.current&&o!=null&&(W.current=!0,z())):B.current&&(I.current=-1,z()))},[a,T,E,o,z]),Y(()=>{if(a){if(!T)U.current=!1;else if(E){if(r==null){if(U.current=!1,K.current!=null)return;if(B.current&&(I.current=-1,ae()),(!H.current||!B.current)&&F.current&&(L.current!=null||F.current===!0&&L.current==null)){let e=0,t=()=>{n.current[0]==null?(e<2&&(e?e=>ie.request(e):queueMicrotask)(t),e+=1):(I.current=L.current==null||Ms(L.current,_,u)||l?Dr(n):Or(n),L.current=null,z())};t()}}else Er(n.current,r)||(I.current=r,ae(),W.current=!1)}}},[a,T,E,r,K,l,n,_,u,z,ae,ie]),Y(()=>{if(!a||E||!N||d||!B.current)return;let e=N.nodesRef.current,t=e.find(e=>e.id===M)?.context?.elements.floating,n=pn(ut(D??t??null)),r=e.some(e=>e.context&&$(e.context.elements.floating,n));t&&!r&&R.current&&t.focus({preventScroll:!0})},[a,E,D,N,M,d]),Y(()=>{H.current=T,B.current=!!E});let oe=r!=null,se=V(e=>{if(!G.current)return;let t=n.current.indexOf(e.currentTarget);t!==-1&&(I.current!==t||r!==t)&&(I.current=t,z(e))}),ce=V(()=>v??N?.nodesRef.current.find(e=>e.id===M)?.context?.dataRef?.current.orientation),le=V(()=>Dr(n,te.current)),ue=V(t=>{if(R.current=!1,U.current=!0,t.which===229||!G.current&&t.currentTarget===j.current)return;if(l&&Ps(t.key,g,u,w)){js(t.key,ce())||qn(t),e.setOpen(!1,Me(Fe,t.nativeEvent));let n=S?.current??D;P(n)&&n.focus();return}r!=null&&r!==I.current&&!Er(n.current,r)&&(I.current=r);let i=I.current,a=Dr(n,h),o=Or(n,h);if(A||(t.key===`Home`&&(qn(t),I.current=a,z(t)),t.key===`End`&&(qn(t),I.current=o,z(t))),C!=null){let e=C(t,I.current,n,g,c,u,h,a,o);if(e!=null&&e!==I.current&&(I.current=e,z(t)),g===`both`)return}if(js(t.key,g)){qn(t);let e=pn(t.currentTarget.ownerDocument);if(T&&!d&&$(t.currentTarget,e)&&!n.current.some(t=>t!=null&&$(t,e))){I.current=Ms(t.key,g,u)?a:o,z(t),r===I.current&&ae();return}let{index:l,wrapped:f}=kr(n.current,i,{decrement:!Ms(t.key,g,u),loopFocus:c,allowEscape:s,disabledIndices:h,minIndex:a,maxIndex:o});f&&(U.current=!1),I.current=l,z(t)}}),q=X.useMemo(()=>({onFocus(e){U.current=!0,se(e)},onClick({currentTarget:e}){d||e.focus({preventScroll:!0})},onMouseMove(e){ks(e)||(U.current=!0,W.current=!1,p&&se(e))},onPointerLeave(e){if(!G.current||!R.current||e.pointerType===`touch`)return;U.current=!0;let t=e.relatedTarget;if(p&&!n.current.includes(t)&&ne.current&&(ee.current?.(),ee.current=null,I.current=-1,z(e),!d)){let e=j.current,t=pn(ut(e));e&&$(e,t)&&e.focus({preventScroll:!0})}}}),[se,G,j,p,n,z,ne,d]),de=X.useMemo(()=>d&&T&&oe&&{"aria-activedescendant":`${y}-${r}`},[d,T,oe,y,r]),fe=X.useMemo(()=>({...A?{}:de,onKeyDown(t){if(t.key===`Tab`&&t.shiftKey&&T&&!d){let n=hn(t.nativeEvent);if(n&&!$(j.current,n))return;qn(t);let r=Me(We,t.nativeEvent);e.setOpen(!1,r);let i=S?.current??D;!r.isCanceled&&P(i)&&i.focus()}else ue(t)},onPointerMove(e){ks(e)||(R.current=!0)}}),[de,ue,j,A,e,T,d,D,S]),pe=X.useMemo(()=>{function t(t){e.setOpen(!0,Me(Fe,t.nativeEvent,t.currentTarget))}function n(e){f===`auto`&&Yn(e.nativeEvent)&&(F.current=!d)}function r(e){F.current=f,f===`auto`&&Xn(e.nativeEvent)&&(F.current=!0)}return{onKeyDown(n){let r=e.select(`open`);R.current=!1;let i=n.key.startsWith(`Arrow`),a=Ns(n.key,ce(),u),o=js(n.key,r?g:_),s=(l?a:o)||n.key===`Enter`||n.key.trim()===``;if(d&&r&&(!l||Vn(n.currentTarget)))return ue(n);if(r||m||!i){if(s){let e=js(n.key,ce());L.current=l&&e?null:n.key}l?a&&(qn(n),r?(I.current=le(),z(n),d&&j.current?.focus()):t(n)):o&&(K.current!=null&&(I.current=K.current),qn(n),!r&&m?t(n):ue(n),r&&z(n))}},onFocus(t){t.target===t.currentTarget&&e.select(`open`)&&!d&&(I.current=-1,z(t))},onPointerDown:r,onPointerEnter:r,onMouseDown:n,onClick:n}},[ue,f,le,l,z,e,m,g,_,ce,u,K,d,j]),me=X.useMemo(()=>({...de,...pe}),[de,pe]);return X.useMemo(()=>a?{reference:me,floating:fe,item:q,trigger:pe}:{},[a,me,fe,pe,q])}function Is(e,t){let{listRef:n,elementsRef:r,activeIndex:i,onMatch:a,disabledIndices:o,onTyping:s,enabled:c=!0,resetMs:l=750,selectedIndex:u=null}=t,d=V(s),f=e.useState(`open`),p=xe(),m=X.useRef(``),h=X.useRef(u??i??-1),g=X.useRef(null),_=V(e=>{function t(e){return r?.current[e]}function s(e){let n=t(e);return n&&!Nr(n)||n?.matches(`:disabled`)?!1:o==null||!jr(he,e,o)}function c(e,t,n=0){if(e.length===0)return-1;let r=(n%e.length+e.length)%e.length,i=t.toLowerCase();for(let t=0;t<e.length;t+=1){let n=(r+t)%e.length;if(e[n]?.toLowerCase().startsWith(i)&&s(n))return n}return-1}let _=n.current;if(m.current.length>0&&e.key===` `&&(qn(e),d?.(!0)),m.current.length>0&&m.current[0]!==` `&&c(_,m.current)===-1&&e.key!==` `&&d?.(!1),_==null||e.key.length!==1||e.ctrlKey||e.metaKey||e.altKey)return;f&&e.key!==` `&&(qn(e),d?.(!0));let v=m.current===``;v&&(h.current=u??i??-1),_.every((e,t)=>e&&s(t)?e[0]?.toLowerCase()!==e[1]?.toLowerCase():!0)&&m.current===e.key&&(m.current=``,h.current=g.current),m.current+=e.key,p.start(l,()=>{m.current=``,h.current=g.current,d?.(!1)});let y=((v?u??i??-1:h.current)??0)+1,b=c(_,m.current,y);b===-1?e.key!==` `&&(m.current=``,d?.(!1)):(a?.(b,e),g.current=b)}),v=V(t=>{let n=t.relatedTarget,r=e.select(`domReferenceElement`),i=e.select(`floatingElement`);$(r,n)||$(i,n)||(p.clear(),m.current=``,h.current=g.current,d?.(!1))});Y(()=>{(f||u===null)&&(p.clear(),g.current=null,m.current!==``&&(m.current=``,d?.(!1)))},[f,u,p,d]);let y=X.useMemo(()=>({onKeyDown:_,onBlur:v}),[_,v]);return X.useMemo(()=>c?{reference:y,floating:y}:{},[c,y])}function Ls(e,t,n){let{reference:r,floating:i}=e,a=dr(t),o=fr(t),s=ur(o),c=sr(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}let m=cr(t);return m&&(p[o]+=f*(m===`end`?1:-1)*(n&&l?-1:1)),p}async function Rs(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=or(t,e),p=wr(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=Tr(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=Tr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var zs=50,Bs=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:Rs},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=Ls(l,r,c),f=r,p=0,m={};for(let n=0;n<a.length;n++){let h=a[n];if(!h)continue;let{name:g,fn:_}=h,{x:v,y,data:b,reset:x}=await _({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:l,platform:s,elements:{reference:e,floating:t}});u=v??u,d=y??d,m[g]={...m[g],...b},x&&p<zs&&(p++,typeof x==`object`&&(x.placement&&(f=x.placement),x.rects&&(l=x.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:d}=Ls(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}},Vs=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=or(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=sr(r),_=dr(o),v=sr(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[Sr(o)]:mr(o)),x=p!==`none`;!d&&x&&b.push(...xr(o,m,p,y));let S=[o,...b],C=await s.detectOverflow(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=pr(r,a,y);w.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:r,overflows:w}],!w.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=S[e];if(t&&(u!==`alignment`||_===dr(t)||T.every(e=>dr(e.placement)!==_||e.overflows[0]>0)))return{data:{index:e,overflows:T},reset:{placement:t}};let n=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=T.filter(e=>{if(x){let t=dr(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o}if(r!==n)return{reset:{placement:n}}}return{}}}},Hs=new Set([`left`,`top`]);async function Us(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=sr(n),s=cr(n),c=dr(n)===`y`,l=Hs.has(o)?-1:1,u=a&&c?-1:1,d=or(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var Ws=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await Us(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},Gs=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=or(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=dr(i),p=lr(f),m=u[p],h=u[f],g=(e,t)=>ar(t+d[e===`y`?`top`:`left`],t,t-d[e===`y`?`bottom`:`right`]);o&&(m=g(p,m)),s&&(h=g(f,h));let _=c.fn({...t,[p]:m,[f]:h});return{..._,data:{x:_.x-n,y:_.y-r,enabled:{[p]:o,[f]:s}}}}}},Ks=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:c=!0,crossAxis:l=!0}=or(e,t),u={x:n,y:r},d=dr(i),f=lr(d),p=u[f],m=u[d],h=or(s,t),g=typeof h==`number`?{mainAxis:h,crossAxis:0}:{mainAxis:h.mainAxis??0,crossAxis:h.crossAxis??0};if(c){let e=f===`y`?`height`:`width`,t=a.reference[f]-a.floating[e]+g.mainAxis,n=a.reference[f]+a.reference[e]-g.mainAxis;p<t?p=t:p>n&&(p=n)}if(l){let e=f===`y`?`width`:`height`,t=Hs.has(sr(i)),n=a.reference[d]-a.floating[e]+(t&&o.offset?.[d]||0)+(t?0:g.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:o.offset?.[d]||0)-(t?g.crossAxis:0);m<n?m=n:m>r&&(m=r)}return{[f]:p,[d]:m}}}},qs=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){let{placement:n,rects:r,platform:i,elements:a}=t,{apply:o=()=>{},...s}=or(e,t),c=await i.detectOverflow(t,s),l=sr(n),u=cr(n),d=dr(n)===`y`,{width:f,height:p}=r.floating,m,h;l===`top`||l===`bottom`?(m=l,h=u===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?`start`:`end`)?`left`:`right`):(h=l,m=u===`end`?`top`:`bottom`);let g=p-c.top-c.bottom,_=f-c.left-c.right,v=$n(p-c[m],g),y=$n(f-c[h],_),b=t.middlewareData.shift,x=!b,S=v,C=y;b!=null&&b.enabled.x&&(C=_),b!=null&&b.enabled.y&&(S=g),x&&!u&&(d?C=f-2*er(c.left,c.right):S=p-2*er(c.top,c.bottom)),await o({...t,availableWidth:C,availableHeight:S});let w=await i.getDimensions(a.floating);return f!==w.width||p!==w.height?{reset:{rects:!0}}:{}}}};function Js(e){let t=H(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=P(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=tr(n)!==a||tr(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function Ys(e){return M(e)?e:e.contextElement}function Xs(e){let t=Ys(e);if(!P(t))return rr(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=Js(t),o=(a?tr(n.width):n.width)/r,s=(a?tr(n.height):n.height)/i;return o&&Number.isFinite(o)||(o=1),s&&Number.isFinite(s)||(s=1),{x:o,y:s}}var Zs=rr(0);function Qs(e){let t=L(e);return!U()||!t.visualViewport?Zs:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function $s(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===L(e)}function ec(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=Ys(e),o=rr(1);t&&(r?M(r)&&(o=Xs(r)):o=Xs(e));let s=$s(a,n,r)?Qs(a):rr(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a&&r){let e=L(a),t=M(r)?L(r):r,n=e,i=R(n);for(;i&&t!==n;){let e=Xs(i),t=i.getBoundingClientRect(),r=H(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=L(i),i=R(n)}}return Tr({width:u,height:d,x:c,y:l})}function tc(e,t){let n=D(e).scrollLeft;return t?t.left+n:ec(A(e)).left+n}function nc(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-tc(e,n),y:n.top+t.scrollTop}}function rc(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=A(r),s=t?N(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=rr(1),u=rr(0),d=P(r);if((d||!a)&&((ce(r)!==`body`||_e(o))&&(c=D(r)),d)){let e=ec(r);l=Xs(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?nc(o,c):rr(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function ic(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function ac(e){let t=D(e),n=e.ownerDocument.body,r=er(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=er(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),a=-t.scrollLeft+tc(e),o=-t.scrollTop;return H(n).direction===`rtl`&&(a+=er(e.clientWidth,n.clientWidth)-r),{width:r,height:i,x:a,y:o}}var oc=25;function sc(e,t,n){n===void 0&&(n=`viewport`);let r=n===`layoutViewport`,i=L(e),a=A(e),o=i.visualViewport,s=a.clientWidth,c=a.clientHeight,l=0,u=0;if(o){let e=!U()||t===`fixed`;r?e||(l=-o.offsetLeft,u=-o.offsetTop):(s=o.width,c=o.height,e&&(l=o.offsetLeft,u=o.offsetTop))}if(tc(a)<=0){let e=a.ownerDocument,t=e.body,n=getComputedStyle(t),r=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(a.clientWidth-t.clientWidth-r),o=getComputedStyle(a).scrollbarGutter===`stable both-edges`?i/2:i;o<=oc&&(s-=o)}return{width:s,height:c,x:l,y:u}}function cc(e,t){let n=ec(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=Xs(e);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function lc(e,t,n){let r;if(t===`viewport`||t===`layoutViewport`)r=sc(e,n,t);else if(t===`document`)r=ac(A(e));else if(M(t))r=cc(t,n);else{let n=Qs(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return Tr(r)}function uc(e,t){let n=t.get(e);if(n)return n;let r=se(e,[],!1).filter(e=>M(e)&&ce(e)!==`body`),i=null,a=H(e).position===`fixed`,o=a?I(e):e;for(;M(o)&&!F(o);){let e=H(o),t=z(o),n=i?i.position:a?`fixed`:``;!t&&(n===`fixed`||n===`absolute`&&e.position===`static`)?r=r.filter(e=>e!==o):i=e,o=I(o)}return t.set(e,r),r}function dc(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?N(t)?[]:uc(t,this._c):[].concat(n),r],o=lc(t,a[0],i),s=o.top,c=o.right,l=o.bottom,u=o.left;for(let e=1;e<a.length;e++){let n=lc(t,a[e],i);s=er(n.top,s),c=$n(n.right,c),l=$n(n.bottom,l),u=er(n.left,u)}return{width:c-u,height:l-s,x:u,y:s}}function fc(e){let{width:t,height:n}=Js(e);return{width:t,height:n}}function pc(e,t,n){let r=P(t),i=A(t),a=n===`fixed`,o=ec(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=rr(0);if((r||!a)&&((ce(t)!==`body`||_e(i))&&(s=D(t)),r)){let e=ec(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}!r&&i&&(c.x=tc(i));let l=i&&!r&&!a?nc(i,s):rr(0);return{x:o.left+s.scrollLeft-c.x-l.x,y:o.top+s.scrollTop-c.y-l.y,width:o.width,height:o.height}}function mc(e){return H(e).position===`static`}function hc(e,t){if(!P(e)||H(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return A(e)===n&&(n=n.ownerDocument.body),n}function gc(e,t){let n=L(e);if(N(e))return n;if(!P(e)){let t=I(e);for(;t&&!F(t);){if(M(t)&&!mc(t))return t;t=I(t)}return n}let r=hc(e,t);for(;r&&W(r)&&mc(r);)r=hc(r,t);return r&&F(r)&&mc(r)&&!z(r)?n:r||j(e)||n}var _c=async function(e){let t=this.getOffsetParent||gc,n=this.getDimensions,r=await n(e.floating);return{reference:pc(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function vc(e){return H(e).direction===`rtl`}var yc={convertOffsetParentRelativeRectToViewportRelativeRect:rc,getDocumentElement:A,getClippingRect:dc,getOffsetParent:gc,getElementRects:_c,getClientRects:ic,getDimensions:fc,getScale:Xs,isElement:M,isRTL:vc};function bc(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function xc(e,t,n){let r=null,i,a=A(e);function o(){var e;clearTimeout(i),(e=r)==null||e.disconnect(),r=null}function s(n,c){n===void 0&&(n=!1),c===void 0&&(c=1),o();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(n||t(),!f||!p)return;let m=nr(d),h=nr(a.clientWidth-(u+f)),g=nr(a.clientHeight-(d+p)),_=nr(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:er(0,$n(1,c))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(!bc(l,e.getBoundingClientRect()))return s();if(n!==c){if(!y)return s();n?s(!1,n):i=setTimeout(()=>{s(!1,1e-7)},1e3)}y=!1}try{r=new IntersectionObserver(b,{...v,root:a.ownerDocument})}catch{r=new IntersectionObserver(b,v)}r.observe(e)}let c=L(e),l=()=>s(n);return c.addEventListener(`resize`,l),s(!0),()=>{c.removeEventListener(`resize`,l),o()}}function Sc(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=Ys(e),u=i||a?[...l?se(l):[],...t?se(t):[]]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n),a&&e.addEventListener(`resize`,n)});let d=l&&s?xc(l,n,a):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),t&&p.observe(t));let m,h=c?ec(e):null;c&&g();function g(){let t=ec(e);h&&!bc(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var Cc=Ws,wc=Gs,Tc=Vs,Ec=qs,Dc=Ks,Oc=(e,t,n)=>{let r=new Map,i=n??{},a={...yc,...i.platform,_c:r};return Bs(e,t,{...i,platform:a})},kc=typeof document<`u`?rt:function(){};function Ac(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e==`function`&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e==`object`){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Ac(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){let n=i[r];if(!(n===`_owner`&&e.$$typeof)&&!Ac(e[n],t[n]))return!1}return!0}return e!==e&&t!==t}function jc(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Mc(e,t){let n=jc(e);return Math.round(t*n)/n}function Nc(e){let t=X.useRef(e);return kc(()=>{t.current=e}),t}function Pc(e){e===void 0&&(e={});let{placement:t=`bottom`,strategy:n=`absolute`,middleware:r=[],platform:i,elements:{reference:a,floating:o}={},transform:s=!0,whileElementsMounted:c,open:l}=e,[u,d]=X.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=X.useState(r);Ac(f,r)||p(r);let[m,h]=X.useState(null),[g,_]=X.useState(null),v=X.useCallback(e=>{e!==S.current&&(S.current=e,h(e))},[]),y=X.useCallback(e=>{e!==C.current&&(C.current=e,_(e))},[]),b=a||m,x=o||g,S=X.useRef(null),C=X.useRef(null),w=X.useRef(u),T=c!=null,E=Nc(c),D=Nc(i),O=Nc(l),k=X.useCallback(()=>{if(!S.current||!C.current)return;let e={placement:t,strategy:n,middleware:f};D.current&&(e.platform=D.current),Oc(S.current,C.current,e).then(e=>{let t={...e,isPositioned:O.current!==!1};A.current&&!Ac(w.current,t)&&(w.current=t,st.flushSync(()=>{d(t)}))})},[f,t,n,D,O]);kc(()=>{l===!1&&w.current.isPositioned&&(w.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[l]);let A=X.useRef(!1);kc(()=>(A.current=!0,()=>{A.current=!1}),[]),kc(()=>{if(b&&(S.current=b),x&&(C.current=x),b&&x){if(E.current)return E.current(b,x,k);k()}},[b,x,k,E,T]);let j=X.useMemo(()=>({reference:S,floating:C,setReference:v,setFloating:y}),[v,y]),M=X.useMemo(()=>({reference:b,floating:x}),[b,x]),N=X.useMemo(()=>{let e={position:n,left:0,top:0};if(!M.floating)return e;let t=Mc(M.floating,u.x),r=Mc(M.floating,u.y);return s?{...e,transform:`translate(`+t+`px, `+r+`px)`,...jc(M.floating)>=1.5&&{willChange:`transform`}}:{position:n,left:t,top:r}},[n,s,M.floating,u.x,u.y]);return X.useMemo(()=>({...u,update:k,refs:j,elements:M,floatingStyles:N}),[u,k,j,M,N])}var Fc=(e,t)=>{let n=Cc(e);return{name:n.name,fn:n.fn,options:[e,t]}},Ic=(e,t)=>{let n=wc(e);return{name:n.name,fn:n.fn,options:[e,t]}},Lc=(e,t)=>({fn:Dc(e).fn,options:[e,t]}),Rc=(e,t)=>{let n=Tc(e);return{name:n.name,fn:n.fn,options:[e,t]}},zc=(e,t)=>{let n=Ec(e);return{name:n.name,fn:n.fn,options:[e,t]}},Bc=X.createContext(void 0),Vc=X.createContext(void 0);function Hc(){let e=X.useContext(Bc);if(e===void 0)throw Error(ge(60));return e}function Uc(){let e=X.useContext(Vc);if(e===void 0)throw Error(ge(61));return e}var Wc=(e,t)=>Object.is(e,t);function Gc(e,t,n){return e==null||t==null?Object.is(e,t):n(e,t)}function Kc(e,t,n){return Array.isArray(e)&&Array.isArray(t)?!na(e,t,(e,t)=>Gc(e,t,n)):e!==t}function qc(e,t,n){return e?e.some(e=>e!==void 0&&Gc(t,e,n)):!1}function Jc(e,t,n){return e?e.findIndex(e=>e!==void 0&&Gc(e,t,n)):-1}function Yc(e,t){if(t!==Wc)return n=>qc(e,n,t);let n=new Set(e);return n.delete(void 0),t=>n.has(t)&&(t!==0||e.some(e=>Object.is(t,e)))}function Xc(e,t,n,r){let i=r&&Array.isArray(t)?e.findIndex(Yc(t,n)):Jc(e,t,n);return i===-1?null:i}function Zc(e,t,n,r,i,a){return qc(r,t,i)?a!=null&&e>a&&qc(r,n[a],i)?a:e:e===a?Xc(n,r,i,!0):a}function Qc(e,t,n){return e.filter(e=>!Gc(t,e,n))}function $c(e){if(e==null)return``;if(typeof e==`string`)return e;try{return JSON.stringify(e)}catch{return String(e)}}function el(e){return typeof e==`object`&&!!e&&Array.isArray(e.items)}function tl(e){return el(e?.[0])}function nl(e){return tl(e)?e.flatMap(e=>e.items):e}function rl(e){if(!Array.isArray(e))return e!=null&&`null`in e;let t=e;if(tl(t)){for(let e of t)for(let t of e.items)if(t&&t.value==null&&t.label!=null)return!0;return!1}for(let e of t)if(e&&e.value==null&&e.label!=null)return!0;return!1}function il(e,t){if(t&&e!=null)return t(e)??``;if(e&&typeof e==`object`){if(`label`in e&&e.label!=null)return String(e.label);if(`value`in e)return String(e.value)}return $c(e)}function al(e,t){return t&&e!=null?t(e)??``:e&&typeof e==`object`&&`value`in e&&`label`in e?$c(e.value):$c(e)}function ol(e,t,n){function r(){return il(e,n)}if(n&&e!=null)return n(e);if(e&&typeof e==`object`&&`label`in e&&e.label!=null)return e.label;if(t&&!Array.isArray(t))return(Object.hasOwn(t,e)?t[e]:void 0)??r();if(Array.isArray(t)){let n=nl(t);if(typeof e!=`object`||!e){let t=n.find(t=>t.value===e);return t&&t.label!=null?t.label:r()}if(`value`in e){let t=n.find(t=>t&&t.value===e.value);if(t&&t.label!=null)return t.label}}return r()}function sl(e,t,n){return e.reduce((e,r,i)=>(i>0&&e.push(`, `),e.push(Z(X.Fragment,{children:ol(r,t,n)},i)),e),[])}var cl={id:e=>e.id,labelId:e=>e.labelId,modal:e=>e.modal,multiple:e=>e.multiple,disabled:e=>e.disabled,readOnly:e=>e.readOnly,required:e=>e.required,highlightItemOnHover:e=>e.highlightItemOnHover,items:e=>e.items,itemToStringLabel:e=>e.itemToStringLabel,isItemEqualToValue:e=>e.isItemEqualToValue,value:e=>e.value,hasSelectedValue:e=>{let{value:t,multiple:n,itemToStringValue:r}=e;return t==null?!1:n&&Array.isArray(t)?t.length>0:al(t,r)!==``},hasNullItemLabel:(e,t)=>t?rl(e.items):!1,open:e=>e.open,mounted:e=>e.mounted,forceMount:e=>e.forceMount,transitionStatus:e=>e.transitionStatus,openMethod:e=>e.openMethod,activeIndex:e=>e.activeIndex,selectedIndex:e=>e.selectedIndex,isActive:(e,t)=>e.activeIndex===t,isSelected:(e,t)=>{let n=e.isItemEqualToValue,r=e.value;return e.multiple?Array.isArray(r)&&r.some(e=>Gc(t,e,n)):Gc(t,r,n)},isSelectedByFocus:(e,t)=>e.selectedIndex===t,popupProps:e=>e.popupProps,triggerProps:e=>e.triggerProps,itemRoot:e=>e.itemRoot,triggerElement:e=>e.triggerElement,positionerElement:e=>e.positionerElement,listElement:e=>e.listElement,popupSide:e=>e.popupSide,scrollUpArrowVisible:e=>e.scrollUpArrowVisible,scrollDownArrowVisible:e=>e.scrollDownArrowVisible,hasScrollArrows:e=>e.hasScrollArrows};function ll(e){let t=X.useRef(``),n=X.useCallback(n=>{n.defaultPrevented||(t.current=n.pointerType,e(n,n.pointerType))},[e]);return{onClick:X.useCallback(n=>{n.detail===0?e(n,`keyboard`):(`pointerType`in n?e(n,n.pointerType):e(n,t.current),t.current=``)},[e]),onPointerDown:n}}function ul(e,t){let{onClick:n,onPointerDown:r}=ll(V((n,r)=>{(typeof e==`function`?e():e)||t(r||(an?`touch`:``))}));return X.useMemo(()=>({onClick:n,onPointerDown:r}),[n,r])}function dl(e){let[t,n]=X.useState(null),r=ul(e,n);return ke(e,t=>{t&&!e&&n(null)}),X.useMemo(()=>({openMethod:t,triggerProps:r}),[t,r])}function fl(e,t){return Math.max(0,e-t)}function pl(e,t){if(t<=0)return 0;let n=ta(e,0,t),r=n,i=t-n,a=r<=1,o=i<=1;return a&&o?r<=i?0:t:a?0:o?t:n}function ml(e){let{id:t,value:n,defaultValue:r=null,onValueChange:i,open:a,defaultOpen:o=!1,onOpenChange:s,name:c,form:l,autoComplete:u,disabled:d=!1,readOnly:f=!1,required:p=!1,modal:m=!0,actionsRef:h,inputRef:g,onOpenChangeComplete:_,items:v,multiple:y=!1,itemToStringLabel:b,itemToStringValue:x,isItemEqualToValue:S=Wc,highlightItemOnHover:C=!0,children:w}=e,{clearErrors:T}=Ee(),{setDirty:E,setTouched:D,setFocused:O,validityData:A,setFilled:j,name:M,disabled:N,validation:P,validationMode:F}=Oe(),I=De({id:t}),L=N||d,R=M??c,[z,B]=vi({controlled:n,default:y?r??he:r,name:`Select`,state:`value`}),[H,U]=vi({controlled:a,default:o,name:`Select`,state:`open`}),W=X.useRef([]),ee=X.useRef([]),te=X.useRef(null),K=X.useRef(null),ie=X.useRef(0),ae=X.useRef(null),oe=X.useRef([]),se=X.useRef(!1),ce=X.useRef(null),ue=X.useRef(null),q=X.useRef({allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1,dragY:0}),de=X.useRef(!1),fe=X.useRef(z),{openMethod:pe,triggerProps:me}=dl(H),J=k(()=>new No({id:I,labelId:void 0,modal:m,multiple:y,disabled:L,readOnly:f,required:p,highlightItemOnHover:C,itemToStringLabel:b,itemToStringValue:x,isItemEqualToValue:S,value:z,open:H,mounted:H,transitionStatus:void 0,items:v,forceMount:!1,openMethod:null,activeIndex:null,selectedIndex:null,popupProps:ne,triggerProps:ne,itemRoot:{props:ne,multiple:y,disabled:L,readOnly:f,isItemEqualToValue:S},triggerElement:null,positionerElement:null,listElement:null,popupSide:null,scrollUpArrowVisible:!1,scrollDownArrowVisible:!1,hasScrollArrows:!1},{setValue:re,setOpen:re,handleScrollArrowVisibility:re,onOpenChangeComplete:re,listRef:W,popupRef:te,scrollHandlerRef:K,scrollArrowsMountedCountRef:ie,valueRef:ae,valuesRef:oe,labelsRef:ee,typingRef:se,selectionRef:q,firstItemTextRef:ce,selectedItemTextRef:ue,alignItemWithTriggerActiveRef:de,initialValueRef:fe},cl)).current,[ge,_e]=X.useState(!1),{mounted:ve,transitionStatus:be,forceUnmount:xe}=Ss({open:H,ref:te,preventUnmountOnClose:ge,setPreventUnmountOnClose:_e,onUnmount(){J.update({activeIndex:null,openMethod:null,scrollUpArrowVisible:!1,scrollDownArrowVisible:!1}),_?.(!1)}}),Se=J.useState(`activeIndex`),Ce=J.useState(`selectedIndex`),we=J.useState(`triggerElement`),Te=J.useState(`positionerElement`),Ae=vo(pe),je=pe??Ae,Ne=X.useMemo(()=>y?``:al(z,x),[y,z,x]),Pe=X.useMemo(()=>y&&Array.isArray(z)?z.map(e=>al(e,x)):al(z,x),[y,z,x]),Fe=Ai(we),Ie=V(()=>Pe);ye(Fe,I,z,Ie,!L,c);let Le=y?Array.isArray(z)&&z.length>0:z!=null&&Ne!==``;Y(()=>{j(Le)},[Le,j]),Y(function(){let e=Xc(oe.current,z,S,y);e===null&&(ue.current=null),!H&&J.set(`selectedIndex`,e)},[y,H,z,S,J]),ke(z,()=>{T(R),E(Kc(z,A.initialValue,S)),P.change(z)});let Re=V((e,t)=>{let n=t,r=ws(n);s?.(e,n),!t.isCanceled&&(e||_e(r()),U(e),e||t.reason!==`focus-out`&&t.reason!==`outside-press`||(D(!0),O(!1),F===`onBlur`&&P.commit(z)))});X.useImperativeHandle(h,()=>({unmount:xe,close:()=>{J.state.open&&Re(!1,Me(qe))}}),[xe,Re,J]);let ze=V((e,t)=>{i?.(e,t),!t.isCanceled&&B(e)}),Be=V(e=>{let t=fl(e.scrollHeight,e.clientHeight),n=pl(e.scrollTop,t),r=n>0,i=n<t;J.set(`scrollUpArrowVisible`,r),J.set(`scrollDownArrowVisible`,i)}),Ve=Os({open:H,onOpenChange:Re,elements:{reference:we,floating:Te}}),Ue=vs(Ve,{enabled:!L,event:`mousedown`}),We=xs(Ve),Ge=Fs(Ve,{enabled:!L,listRef:W,activeIndex:Se,selectedIndex:Ce,disabledIndices:he,onNavigate(e){(e!==null||H)&&J.set(`activeIndex`,e)},focusItemOnHover:C}),Ke=Is(Ve,{enabled:!L&&(H||!f&&!y),listRef:ee,activeIndex:Se,selectedIndex:Ce,disabledIndices:e=>yo(W.current[e]),onMatch(e){H?J.set(`activeIndex`,e):ze(oe.current[e],Me(He))},onTyping(e){se.current=e}}),Je=X.useMemo(()=>G(Ke.reference,Ge.reference,We.reference,Ue.reference,me),[Ue.reference,Ke.reference,Ge.reference,We.reference,me]),Ye=X.useMemo(()=>G(Cs,Ke.floating,Ge.floating,We.floating),[Ke.floating,Ge.floating,We.floating]),Xe=Ge.item??ne,Ze=X.useMemo(()=>({props:Xe,multiple:y,disabled:L,readOnly:f,isItemEqualToValue:S}),[Xe,y,L,f,S]);J.useContextCallback(`setValue`,ze),J.useContextCallback(`setOpen`,Re),J.useContextCallback(`handleScrollArrowVisibility`,Be),J.useContextCallback(`onOpenChangeComplete`,_),_o(()=>{J.update({popupProps:Ye,triggerProps:Je,itemRoot:Ze})}),J.useSyncedValues({id:I,modal:m,multiple:y,disabled:L,readOnly:f,required:p,highlightItemOnHover:C,value:z,open:H,mounted:ve,transitionStatus:be,popupProps:Ye,triggerProps:Je,itemRoot:Ze,items:v,itemToStringLabel:b,itemToStringValue:x,isItemEqualToValue:S,openMethod:je});let Qe=le(g,P.inputRef),$e=y?void 0:R,et=X.useMemo(()=>!y||!Array.isArray(z)||!R?null:z.map(e=>{let t=al(e,x);return Z(`input`,{type:`hidden`,form:l,name:R,value:t,disabled:L},t)}),[y,z,l,R,x,L]);return Q(Bc.Provider,{value:J,children:[Z(Vc.Provider,{value:Ve,children:w}),Z(`input`,{...P.getValidationProps(L,{onFocus(){J.state.triggerElement?.focus({focusVisible:!0})},onChange(e){if(e.nativeEvent.defaultPrevented||L||f)return;let t=e.currentTarget.value,n=Me(He,e.nativeEvent);function r(){if(y)return;let e=t.toLowerCase(),r=oe.current.findIndex(t=>al(t,x).toLowerCase()===e||il(t,b).toLowerCase()===e);r===-1&&(r=oe.current.findIndex((t,n)=>{let r=ee.current[n];return r!=null&&r.toLowerCase()===e}));let i=oe.current[r];i!=null&&ze(i,n)}J.set(`forceMount`,!0),queueMicrotask(r)}}),id:I&&$e==null?`${I}-hidden-input`:void 0,form:l,name:$e,autoComplete:u,value:Ne,disabled:L,required:p&&!(y&&Le),readOnly:f,ref:Qe,style:R?Pi:Ni,tabIndex:-1,"aria-hidden":!0,suppressHydrationWarning:!0}),et]})}var hl=5;function gl(e,t){let n=_l(t);return e.clientX>=n.left-hl&&e.clientX<=n.right+hl&&e.clientY>=n.top-hl&&e.clientY<=n.bottom+hl}function _l(e){let t=e.getBoundingClientRect(),n=L(e);if(fn)return t;let r=n.getComputedStyle(e,`::before`),i=n.getComputedStyle(e,`::after`);if(r.content===`none`&&i.content===`none`)return t;let a=parseFloat(r.width)||0,o=parseFloat(r.height)||0,s=parseFloat(i.width)||0,c=parseFloat(i.height)||0,l=Math.max(t.width,a,s),u=Math.max(t.height,o,c),d=l-t.width,f=u-t.height;return{left:t.left-d/2,right:t.right+d/2,top:t.top-f/2,bottom:t.bottom+f/2}}var vl=`data-popup-side`,yl=400,bl={...Ln,...Se,popupSide:e=>e?{[vl]:e}:null,value:()=>null},xl=X.forwardRef(function(e,t){let{render:n,className:r,id:i,disabled:a=!1,nativeButton:o=!0,style:s,...c}=e,{setTouched:l,validationMode:u,validation:d,state:f,disabled:p}=Oe(),{labelId:m}=Be(),h=Hc(),g=h.useState(`readOnly`),_=h.useState(`required`),v=h.useState(`disabled`),y=p||v||a,b=h.useState(`open`),x=h.useState(`mounted`),S=h.useState(`value`),C=h.useState(`triggerProps`),w=h.useState(`positionerElement`),T=h.useState(`listElement`),E=h.useState(`popupSide`),D=h.useState(`id`),O=h.useState(`labelId`),k=h.useState(`hasSelectedValue`),A=x&&w?E:null,j=i??D,M=ia(m,O);De({id:i});let N=Ai(w),P=X.useRef(null),F=Ze(y,P),{getButtonProps:I,buttonRef:L}=ae({disabled:y,native:o}),R=h.useStateSetter(`triggerElement`),z=xe(),B=xe(),V=xe();X.useEffect(()=>{if(b)return V.start(yl,()=>{h.context.selectionRef.current.allowUnselectedMouseUp=!0,h.context.selectionRef.current.allowSelectedMouseUp=!0}),()=>{V.clear()};h.context.selectionRef.current={allowSelectedMouseUp:!1,allowUnselectedMouseUp:!1,dragY:0},B.clear()},[b,h,B,V]);let H=G(C,{id:j,role:`combobox`,"aria-expanded":b,"aria-haspopup":`listbox`,"aria-controls":b?T?.id??Wn(w)?.id:void 0,"aria-labelledby":M,"aria-readonly":g||void 0,"aria-required":_||void 0,tabIndex:y?-1:0,onFocus(e){F(!0),b&&h.context.alignItemWithTriggerActiveRef.current&&h.context.setOpen(!1,Me(He,e.nativeEvent)),z.start(0,()=>{h.set(`forceMount`,!0)})},onBlur(e){$(w,e.relatedTarget)||(l(!0),F(!1),u===`onBlur`&&d.commit(S))},onMouseDown(e){if(b)return;let t=ut(e.currentTarget);function n(e){if(!P.current)return;let t=e.target;$(P.current,t)||$(N.current,t)||gl(e,P.current)||h.context.setOpen(!1,Me(Ue,e))}B.start(0,()=>{t.addEventListener(`mouseup`,n,{once:!0})})}},c,I),U=d.getValidationProps(y,H);U.role=`combobox`;let W={...f,open:b,disabled:y,value:S,readOnly:g,popupSide:A,placeholder:!k};return K(`button`,e,{ref:[t,P,L,R],state:W,stateAttributesMapping:bl,props:U})}),Sl={value:()=>null},Cl=X.forwardRef(function(e,t){let{className:n,render:r,children:i,placeholder:a,style:o,...s}=e,c=Hc(),l=c.useState(`value`),u=c.useState(`items`),d=c.useState(`itemToStringLabel`),f=c.useState(`hasSelectedValue`),p=!f&&a!=null&&i==null,m=c.useState(`hasNullItemLabel`,p),h={value:l,placeholder:!f},g=null;return g=typeof i==`function`?i(l):i??(p&&!m?a:Array.isArray(l)?sl(l,u,d):ol(l,u,d)),K(`span`,e,{state:h,ref:[t,c.context.valueRef],props:[{children:g},s],stateAttributesMapping:Sl})}),wl=X.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,o={open:Hc().useState(`open`)};return K(`span`,e,{state:o,ref:t,props:[{"aria-hidden":!0,children:`▼`},a],stateAttributesMapping:In})}),Tl=X.forwardRef(function(e,t){let n=Hc(),r=n.useState(`mounted`),i=n.useState(`forceMount`);return r||i?Z(rs,{ref:t,...e}):null});function El(e){return de(19)?e:e?`true`:void 0}function Dl(e){let{nodeId:t,externalTree:n,rootContext:r}=e,i=r.useState(`referenceElement`),a=r.useState(`floatingElement`),o=r.useState(`domReferenceElement`),s=r.useState(`open`),c=r.useState(`floatingId`),[l,u]=X.useState(null),d=X.useRef(null),f=cs(n),p=X.useMemo(()=>({reference:i,floating:a,domReference:o}),[i,a,o]),m=Pc({...e,elements:{...p,...l&&{reference:l}}}),h=X.useCallback(e=>{let t=M(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;u(t),m.refs.setReference(t)},[m.refs]),g=X.useMemo(()=>({...m.refs,setPositionReference:h,domReference:d}),[m.refs,h]),_=X.useMemo(()=>({...m.elements,domReference:o}),[m.elements,o]),v=X.useMemo(()=>({...m,dataRef:r.context.dataRef,open:s,onOpenChange:r.setOpen,events:r.context.events,floatingId:c,refs:g,elements:_,nodeId:t,rootStore:r}),[m,g,_,t,r,s,c]);return Y(()=>{o&&(d.current=o)},[o]),Y(()=>{r.context.dataRef.current.floatingContext=v;let e=f?.nodesRef.current.find(e=>e.id===t);e&&(e.context=v)}),X.useMemo(()=>({...m,context:v,refs:g,elements:_,rootStore:r}),[m,g,_,v,r])}var Ol=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=or(e,t)||{};if(l==null)return{};let d=wr(u),f={x:n,y:r},p=fr(i),m=ur(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],S=s.floating[y]||a.floating[m],C=b/2-x/2,w=S/2-h[m]/2-1,T=Math.min(d[_],w),E=Math.min(d[v],w),D=T,O=S-h[m]-E,k=S/2-h[m]/2+C,A=ar(D,k,O),j=!c.arrow&&cr(i)!=null&&k!==A&&a.reference[m]/2-(k<D?T:E)-h[m]/2<0,M=j?k<D?k-D:k-O:0;return{[p]:f[p]+M,data:{[p]:A,centerOffset:k-A-M,...j&&{alignmentOffset:M}},reset:j}}}),kl=(e,t)=>{let{name:n,fn:r}=Ol(e);return{name:n,fn:r,options:[e,t]}},Al={name:`hide`,async fn(e){let{width:t,height:n,x:r,y:i}=e.rects.reference,a=t===0&&n===0&&r===0&&i===0,o=await e.platform.detectOverflow(e,{elementContext:`reference`});return{data:{referenceHidden:o.top-n>=0||o.right-t>=0||o.bottom-n>=0||o.left-t>=0||a}}}},jl={sideX:`left`,sideY:`top`},Ml=`--available-width`,Nl=`--available-height`,Pl=`--anchor-width`,Fl=`--anchor-height`,Il=`--transform-origin`,Ll=Ml,Rl=Nl;function zl(e,t,n){let r=e===`inline-start`||e===`inline-end`;return{top:`top`,right:r?n?`inline-start`:`inline-end`:`right`,bottom:`bottom`,left:r?n?`inline-end`:`inline-start`:`left`}[t]}function Bl(e,t,n){let{rects:r,placement:i}=e;return{side:zl(t,sr(i),n),align:cr(i)||`center`,anchor:{width:r.reference.width,height:r.reference.height},positioner:{width:r.floating.width,height:r.floating.height}}}function Vl(e){return Hl(e,Dl)}function Hl(e,t){let{anchor:n,positionMethod:r=`absolute`,side:i=`bottom`,sideOffset:a=0,align:o=`center`,alignOffset:s=0,collisionBoundary:c,collisionPadding:l=5,sticky:u=!1,arrowPadding:d=5,disableAnchorTracking:f=!1,inline:p,keepMounted:m=!1,floatingRootContext:h,mounted:g,collisionAvoidance:_,shift:v,nodeId:y,adaptiveOrigin:b,lazyFlip:x=!1,externalTree:S}=e,C=_.side||`flip`,w=_.align||`flip`,T=_.fallbackAxisSide||`end`,E=v?.crossAxis??!1,D=v?.rootBoundary,O=typeof n==`function`?n:void 0,k=V(O),A=O?k:n,j=Ai(n),M=Ai(g),N=ya()===`rtl`,[P,F]=X.useState(null);!g&&P!==null&&F(null);let I=x===`placement`,R=P?sr(P):null,z=P&&I?cr(P)||`center`:null,B=R||{top:`top`,right:`right`,bottom:`bottom`,left:`left`,"inline-end":N?`left`:`right`,"inline-start":N?`right`:`left`}[i],H=z||o,U=H===`center`?B:`${B}-${H}`,W=l;typeof W==`number`?W={top:W,right:W,bottom:W,left:W}:W&&={top:W.top||0,right:W.right||0,bottom:W.bottom||0,left:W.left||0};let ee=+(i===`bottom`),te=+(i===`top`),G=+(i===`right`),K=+(i===`left`),ne={boundary:c===`clipping-ancestors`?`clippingAncestors`:c,padding:W},re=X.useRef(null),ie=Ai(a),ae=Ai(s),oe=typeof a==`function`?0:a,se=typeof s==`function`?0:s,ce=[];p&&ce.push(p),ce.push(Fc(e=>{let t=Bl(e,i,N),n=typeof ie.current==`function`?ie.current(t):ie.current,r=typeof ae.current==`function`?ae.current(t):ae.current;return{mainAxis:n,crossAxis:r,alignmentAxis:r}},[oe,se,N,i]));let le=w===`none`&&C!==`shift`,ue=!le&&(u||E||C===`shift`),q=C===`none`?null:Rc({...ne,padding:{top:W.top+1+ee,right:W.right+1+K,bottom:W.bottom+1+te,left:W.left+1+G},mainAxis:!E&&C===`flip`,crossAxis:w===`flip`&&`alignment`,fallbackAxisSideDirection:T}),de=le?null:Ic({...ne,rootBoundary:D,mainAxis:w!==`none`,crossAxis:ue,limiter:u||E?void 0:Lc(e=>{if(!re.current)return{};let{width:t,height:n}=re.current.getBoundingClientRect(),r=dr(sr(e.placement)),i=r===`y`?t:n,a=r===`y`?W.left+W.right:W.top+W.bottom;return{offset:i/2+a/2}})},[ne,u,E,D,W,w]);C===`shift`||w===`shift`||H===`center`?ce.push(de,q):ce.push(q,de),ce.push(zc({...ne,apply({elements:{floating:e},availableWidth:t,availableHeight:n,rects:r}){if(!M.current)return;let i=e.style;i.setProperty(Ll,`${t}px`),i.setProperty(Rl,`${n}px`);let a=L(e).devicePixelRatio||1,{x:o,y:s,width:c,height:l}=r.reference,u=(Math.round((o+c)*a)-Math.round(o*a))/a,d=(Math.round((s+l)*a)-Math.round(s*a))/a;i.setProperty(Pl,`${u}px`),i.setProperty(Fl,`${d}px`)}}),kl(e=>({element:re.current||ut(e.elements.floating).createElement(`div`),padding:re.current?d:0}),[d]),{name:`transformOrigin`,fn(e){let{elements:{floating:t},middlewareData:n,placement:r,platform:o,rects:s,y:c}=e,l=sr(r),u=cr(r),d=dr(l)===`y`,f=re.current,p=typeof a==`function`?a(Bl(e,i,N)):a,m;m=!f&&u&&Math.abs(d?n.shift?.x||0:n.shift?.y||0)<=1?u===`start`===(d&&o.isRTL?.(t)===!0)?`100%`:`0%`:`${(d?n.arrow?.x||0:n.arrow?.y||0)+(d?f?.clientWidth||0:f?.clientHeight||0)/2}px`;let h=l===`top`||l===`left`?`calc(100% + ${p}px)`:`${-p}px`;return ue&&d&&Math.abs(n.shift?.y||0)>p&&(h=`${s.reference.y+s.reference.height/2-c}px`),t.style.setProperty(Il,d?`${m} ${h}`:`${h} ${m}`),{}}},Al,b),Y(()=>{!g&&h&&h.update({referenceElement:null,floatingElement:null,domReferenceElement:null,positionReference:null})},[g,h]);let fe=X.useMemo(()=>({ancestorScroll:!f,elementResize:!f&&typeof ResizeObserver<`u`,layoutShift:!f&&typeof IntersectionObserver<`u`}),[f]),{refs:pe,elements:me,x:he,y:J,middlewareData:ge,update:_e,placement:ve,context:ye,isPositioned:be,floatingStyles:xe}=t({rootContext:h,open:m?g:void 0,placement:U,middleware:ce,strategy:r,whileElementsMounted:m?void 0:(...e)=>Sc(...e,fe),nodeId:y,externalTree:S}),{sideX:Se,sideY:Ce}=ge.adaptiveOrigin||jl,we=be?r:`fixed`,Te=X.useMemo(()=>{let e;return e=be?b?{position:we,[Se]:he,[Ce]:J}:{...xe,position:we}:{position:we,top:0,left:0},e[Ll]=`100vw`,e[Rl]=`100vh`,be||(e.opacity=0),e},[b,we,Se,he,Ce,J,xe,be]),Ee=X.useRef(null);Y(()=>{if(!g)return;let e=j.current,t=typeof e==`function`?e():e,n=(Ul(t)?t.current:t)||null;n!==Ee.current&&(pe.setPositionReference(n),Ee.current=n)},[g,pe,A,j]),X.useEffect(()=>{if(!g)return;let e=j.current;typeof e!=`function`&&Ul(e)&&e.current!==Ee.current&&(pe.setPositionReference(e.current),Ee.current=e.current)},[g,pe,A,j]),X.useEffect(()=>{if(m&&g&&me.reference&&me.floating)return Sc(me.reference,me.floating,_e,fe)},[m,g,me,_e,fe]);let De=sr(ve),Oe=zl(i,De,N),ke=cr(ve)||`center`,Ae=!!ge.hide?.referenceHidden;Y(()=>{x&&g&&be&&(De!==B||I&&ke!==H)&&F(ve)},[x,I,g,be,ve,De,ke,B,H]);let je=X.useMemo(()=>({position:`absolute`,top:ge.arrow?.y,left:ge.arrow?.x}),[ge.arrow]),Me=ge.arrow?.centerOffset!==0;return X.useMemo(()=>({positionerStyles:Te,arrowStyles:je,arrowRef:re,arrowUncentered:Me,side:Oe,align:ke,physicalSide:De,anchorHidden:Ae,refs:pe,context:ye,isPositioned:be,update:_e}),[Te,je,re,Me,Oe,ke,De,Ae,pe,ye,be,_e])}function Ul(e){return e!=null&&`current`in e}var Wl=X.createContext(void 0);function Gl(){let e=X.useContext(Wl);if(!e)throw Error(ge(59));return e}var Kl=X.forwardRef(function(e,t){let{cutout:n,...r}=e,i;if(n){let e=n.getBoundingClientRect();i=`polygon(0% 0%,100% 0%,100% 100%,0% 100%,0% 0%,${e.left}px ${e.top}px,${e.left}px ${e.bottom}px,${e.right}px ${e.bottom}px,${e.right}px ${e.top}px,${e.left}px ${e.top}px)`}return Z(`div`,{ref:t,role:`presentation`,"data-base-ui-inert":``,...r,style:{position:`fixed`,inset:0,userSelect:`none`,WebkitUserSelect:`none`,clipPath:i}})});function ql(e,t){e&&Object.assign(e.style,t)}var Jl={position:`relative`,maxHeight:`100%`,overflowX:`hidden`,overflowY:`auto`};function Yl(e){return e===`starting`?Xo:ne}function Xl(e,t,{styles:n,transitionStatus:r,props:i,refs:a,hidden:o,inert:s=!1}){let c={...n};return s&&(c.pointerEvents=`none`),K(`div`,e,{state:t,ref:a,props:[{role:`presentation`,hidden:o,style:c},Yl(r),i],stateAttributesMapping:Rn})}var Zl={},Ql={},$l=``;function eu(e,t){return _e(e)?e:t}function tu(e,t,n){return/hidden|clip/.test(e.getComputedStyle(eu(t,n)).overflowY)}function nu(e){if(typeof document>`u`)return!1;let t=ut(e);return L(t).innerWidth-t.documentElement.clientWidth>0}function ru(e){if(!(typeof CSS<`u`&&CSS.supports&&CSS.supports(`scrollbar-gutter`,`stable`))||typeof document>`u`)return!1;let t=ut(e),n=t.documentElement,r=t.body,i=eu(n,r),a=i.style.overflowY,o=n.style.scrollbarGutter;n.style.scrollbarGutter=`stable`,i.style.overflowY=`scroll`;let s=i.offsetWidth;i.style.overflowY=`hidden`;let c=i.offsetWidth;return i.style.overflowY=a,n.style.scrollbarGutter=o,s===c}function iu(e){let t=ut(e),n=t.documentElement,r=t.body,i=eu(n,r),a={overflowY:i.style.overflowY,overflowX:i.style.overflowX};return Object.assign(i.style,{overflowY:`hidden`,overflowX:`hidden`}),()=>{Object.assign(i.style,a)}}function au(e){let t=ut(e),n=t.documentElement,r=t.body,i=L(n),a=0,o=0,s=!1,c=si.create();if(un&&(i.visualViewport?.scale??1)!==1)return()=>{};function l(){let t=i.getComputedStyle(n),c=i.getComputedStyle(r),l=(t.scrollbarGutter||``).includes(`both-edges`)?`stable both-edges`:`stable`;a=n.scrollTop,o=n.scrollLeft,Zl={scrollbarGutter:n.style.scrollbarGutter,overflowY:n.style.overflowY,overflowX:n.style.overflowX},$l=n.style.scrollBehavior,Ql={position:r.style.position,height:r.style.height,width:r.style.width,boxSizing:r.style.boxSizing,overflowY:r.style.overflowY,overflowX:r.style.overflowX,scrollBehavior:r.style.scrollBehavior};let u=n.scrollHeight>n.clientHeight,d=n.scrollWidth>n.clientWidth,f=t.overflowY===`scroll`||c.overflowY===`scroll`,p=t.overflowX===`scroll`||c.overflowX===`scroll`,m=Math.max(0,i.innerWidth-r.clientWidth),h=Math.max(0,i.innerHeight-r.clientHeight),g=parseFloat(c.marginTop)+parseFloat(c.marginBottom),_=parseFloat(c.marginLeft)+parseFloat(c.marginRight),v=eu(n,r);s=ru(e),s?(n.style.scrollbarGutter=l,v.style.overflowY=`hidden`,v.style.overflowX=`hidden`):(Object.assign(n.style,{scrollbarGutter:l,overflowY:`hidden`,overflowX:`hidden`}),(u||f)&&(n.style.overflowY=`scroll`),(d||p)&&(n.style.overflowX=`scroll`),Object.assign(r.style,{position:`relative`,height:g||h?`calc(100dvh - ${g+h}px)`:`100dvh`,width:_||m?`calc(100vw - ${_+m}px)`:`100vw`,boxSizing:`border-box`,overflowY:`hidden`,overflowX:`hidden`,scrollBehavior:`unset`}),r.scrollTop=a,r.scrollLeft=o,n.setAttribute(`data-base-ui-scroll-locked`,``),n.style.scrollBehavior=`unset`)}function u(){Object.assign(n.style,Zl),Object.assign(r.style,Ql),s||(n.scrollTop=a,n.scrollLeft=o,n.removeAttribute(`data-base-ui-scroll-locked`),n.style.scrollBehavior=$l)}function d(){u(),c.request(l)}l();let f=ki(i,`resize`,d);return()=>{c.cancel(),u(),typeof i.removeEventListener==`function`&&f()}}var ou=new class{lockCount=0;restore=null;timeoutLock=Ae.create();timeoutUnlock=Ae.create();acquire(e){return this.lockCount+=1,this.lockCount===1&&this.restore===null&&this.timeoutLock.start(0,()=>this.lock(e)),this.release}release=()=>{--this.lockCount,this.lockCount===0&&this.restore&&this.timeoutUnlock.start(0,this.unlock)};unlock=()=>{this.lockCount===0&&this.restore&&(this.restore?.(),this.restore=null)};lock(e){if(this.lockCount===0||this.restore!==null)return;let t=ut(e),n=t.documentElement,r=t.body,i=L(n);if(tu(i,n,r)){let t=new i.MutationObserver(()=>{tu(i,n,r)||(t.disconnect(),this.restore=null,this.lock(e))}),a={attributes:!0};t.observe(n,a),t.observe(r,a),this.restore=()=>t.disconnect();return}let a=an||!nu(e);this.restore=a?iu(e):au(e)}};function su(e=!0,t=null){Y(()=>{if(e)return ou.acquire(t)},[e,t])}var cu=20;function lu(e,t,n,r){let[i,a]=X.useState(!1);Y(()=>{if(!e||!t||n==null){a(!1);return}let r=ut(n).documentElement.clientWidth,i=n.offsetWidth;a(r>0&&i>0&&i>=r-cu)},[e,t,n]),su(e&&(!t||i),r)}var uu={position:`fixed`},du=X.forwardRef(function(e,t){let{anchor:n,className:r,render:i,positionMethod:a,side:o,align:s,sideOffset:c,alignOffset:l,collisionBoundary:u=`clipping-ancestors`,collisionPadding:d,arrowPadding:f,sticky:p,disableAnchorTracking:m,alignItemWithTrigger:h=!0,collisionAvoidance:g=Zo,style:_,...v}=e,y=Hc(),b=Uc(),x=y.useState(`open`),S=y.useState(`mounted`),C=y.useState(`modal`),w=y.useState(`value`),T=y.useState(`openMethod`),E=y.useState(`positionerElement`),D=y.useState(`triggerElement`),O=y.useState(`isItemEqualToValue`),k=y.useState(`transitionStatus`),A=X.useRef(null),j=X.useRef(null),[M,N]=X.useState(h),P=S&&M&&T!==`touch`;!S&&M!==h&&N(h),X.useImperativeHandle(y.context.alignItemWithTriggerActiveRef,()=>P),lu((P||C)&&x,T===`touch`,E,D);let F=Vl({anchor:n,floatingRootContext:b,positionMethod:a,mounted:S,side:o,sideOffset:c,align:s,alignOffset:l,arrowPadding:f,collisionBoundary:u,collisionPadding:d,sticky:p,disableAnchorTracking:m??P,collisionAvoidance:g,keepMounted:!0}),I=P?`none`:F.side,L=P?uu:F.positionerStyles,R={open:x,side:I,align:F.align,anchorHidden:F.anchorHidden};Y(()=>{y.set(`popupSide`,F.side)},[y,F.side]);let z=Xl(e,R,{styles:L,transitionStatus:k,props:v,refs:[t,y.useStateSetter(`positionerElement`)],hidden:!S,inert:!x}),B=X.useRef(0),H=V(e=>{if(y.context.valuesRef.current.length===0)return;let t=B.current;B.current=e.size;let n=Me(He);if(t!==0&&!y.state.multiple&&w!==null&&Jc(y.context.valuesRef.current,w,O)===-1){let e=y.context.initialValueRef.current,t=e!=null&&Jc(y.context.valuesRef.current,e,O)!==-1?e:null;y.context.setValue(t,n),t===null&&(y.set(`selectedIndex`,null),y.context.selectedItemTextRef.current=null)}if(t!==0&&y.state.multiple&&Array.isArray(w)){let e=w.filter(e=>Jc(y.context.valuesRef.current,e,O)!==-1);e.length!==w.length&&(y.context.setValue(e,n),e.length===0&&(y.set(`selectedIndex`,null),y.context.selectedItemTextRef.current=null))}if(x&&P){y.update({scrollUpArrowVisible:!1,scrollDownArrowVisible:!1});let e={height:``};ql(E,e),ql(y.context.popupRef.current,e)}}),U=X.useMemo(()=>({...F,side:I,alignItemWithTriggerActive:P,setControlledAlignItemWithTrigger:N,scrollUpArrowRef:A,scrollDownArrowRef:j}),[F,I,P,N]);return Z(xi,{elementsRef:y.context.listRef,labelsRef:y.context.labelsRef,onMapChange:H,children:Q(Wl.Provider,{value:U,children:[S&&C&&Z(Kl,{inert:El(!x),cutout:D}),z]})})}),fu=`base-ui-disable-scrollbar`,pu={className:fu,getElement(e){return Z(`style`,{nonce:e,href:fu,precedence:`base-ui:low`,children:`.${fu}{scrollbar-width:none}.${fu}::-webkit-scrollbar{display:none}`})}},mu=X.createContext(void 0);function hu(e){let t=X.useContext(mu);if(t===void 0&&!e)throw Error(ge(69));return t}var gu=`--transform-origin`,_u={...Rn,...Tn},vu=X.forwardRef(function(e,t){let{render:n,className:r,style:i,finalFocus:a,...o}=e,s=Hc(),c=s.useState(`multiple`),l=s.useState(`readOnly`),u=s.useState(`highlightItemOnHover`),d=Uc(),{side:f,align:p,alignItemWithTriggerActive:m,isPositioned:h,setControlledAlignItemWithTrigger:g}=Gl(),_=hu(!0)!=null,v=ya(),{nonce:y,disableStyleElements:b}=ao(),x=s.useState(`id`),S=s.useState(`open`),C=s.useState(`openMethod`),w=s.useState(`mounted`),T=s.useState(`popupProps`),E=s.useState(`transitionStatus`),D=s.useState(`triggerElement`),O=s.useState(`positionerElement`),k=s.useState(`listElement`),A=X.useRef(!1),j=X.useRef(!1),M=X.useRef({}),N=ci(),P=V(e=>{if(!O||!s.context.popupRef.current||!j.current)return;let t=O.style.top===`0px`,n=O.style.bottom===`0px`;if(A.current||!m||!t&&!n){s.context.handleScrollArrowVisibility(e);return}let r=xu(O),i=Su(O.getBoundingClientRect().height,`y`,r),a=ut(O),o=L(O),c=o.getComputedStyle(O),l=parseFloat(c.marginTop),u=parseFloat(c.marginBottom),d=yu(o.getComputedStyle(s.context.popupRef.current)),f=Math.min(a.documentElement.clientHeight-l-u,d),p=e.scrollTop,h=bu(e),g=null,_=e=>{O.style.height=`${e}px`},v=t?h-p:p,y=Math.min(i+v,f);if(v<=1){let n=ta(v,0,f-i);n>0&&_(i+n),e.scrollTop=t?h:0,f-(i+n)<=1&&(A.current=!0),s.context.handleScrollArrowVisibility(e);return}f-y>1?g=t?1/0:0:n&&p<h&&(g=p-(v-(i+v-f)));let b=Math.ceil(y);if(b!==0&&_(b),g!=null){let t=ta(g,0,bu(e));Math.abs(e.scrollTop-t)>1&&(e.scrollTop=t)}b>=f-1&&(A.current=!0),s.context.handleScrollArrowVisibility(e)});X.useImperativeHandle(s.context.scrollHandlerRef,()=>P,[P]),mi({open:S,ref:s.context.popupRef,onComplete(){S&&s.context.onOpenChangeComplete(!0)}});let F={open:S,transitionStatus:E,side:f,align:p};Y(()=>{O&&s.context.popupRef.current&&!Object.keys(M.current).length&&(M.current={top:O.style.top||`0`,left:O.style.left||`0`,right:O.style.right,height:O.style.height,bottom:O.style.bottom,minHeight:O.style.minHeight,maxHeight:O.style.maxHeight,marginTop:O.style.marginTop,marginBottom:O.style.marginBottom})},[s,O]),Y(()=>{S||m||(j.current=!1,A.current=!1,ql(O,M.current))},[S,m,O]),Y(()=>{let e=s.context.popupRef.current;if(!S||!D||!O||!e||m&&!h||s.state.transitionStatus===`ending`)return;if(j.current=!0,e.style.removeProperty(gu),!m){N.request(()=>s.context.handleScrollArrowVisibility(k||e));return}let t=Tu(e);try{let t=s.context.selectedItemTextRef.current;t?.isConnected||(t=!s.select(`hasSelectedValue`)&&s.context.firstItemTextRef.current?.isConnected?s.context.firstItemTextRef.current:null);let n=s.context.valueRef.current,r=L(O),i=r.getComputedStyle(O),a=r.getComputedStyle(e),o=ut(D),c=xu(D),l=Cu(D.getBoundingClientRect(),c),d=Cu(O.getBoundingClientRect(),c),f=l.height,p=k||e,m=p.scrollHeight,h=parseFloat(a.borderBottomWidth),_=parseFloat(i.marginTop)||10,y=parseFloat(i.marginBottom)||10,b=parseFloat(i.minHeight)||100,x=yu(a),S=o.documentElement.clientHeight-_-y,C=o.documentElement.clientWidth,w=S-l.bottom+f,T,E=v===`rtl`?l.right-d.width:l.left,j=0;if(t&&n){let e=Cu(n.getBoundingClientRect(),c);T=Cu(t.getBoundingClientRect(),c),E=d.left+(v===`rtl`?e.right-T.right:e.left-T.left);let r=e.top-l.top+e.height/2;j=T.top-d.top+T.height/2-r}let N=w+j+y+h,P=Math.min(S,N),F=S-_-y,I=N-P,R=C-5;O.style.left=`${ta(E,5,R-d.width)}px`,O.style.height=`${P}px`,O.style.maxHeight=`none`,O.style.marginTop=`${_}px`,O.style.marginBottom=`${y}px`,e.style.height=`100%`;let z=bu(p),B=I>=z-1;B&&(P=Math.min(S,d.height)-(I-z));let V=l.top<20||l.bottom>S-20||Math.ceil(P)+1<Math.min(m,b),H=(r.visualViewport?.scale??1)!==1&&un;if(V||H){ql(O,M.current),g(!1);return}let U=Math.max(b,P);if(B){let e=Math.max(0,S-N);O.style.top=d.height>=F?`0`:`${e}px`,O.style.height=`${P}px`,p.scrollTop=bu(p)}else O.style.bottom=`0`,p.scrollTop=I;if(T){let t=d.top,n=d.height,r=T.top+T.height/2,i=ta(n>0?(r-t)/n*100:50,0,100);e.style.setProperty(gu,`50% ${i}%`)}(U===S||P>=x)&&(A.current=!0),s.context.handleScrollArrowVisibility(p),u&&s.state.selectedIndex===null&&s.state.activeIndex===null&&s.context.listRef.current[0]!=null&&s.set(`activeIndex`,0)}finally{t()}},[s,S,O,D,m,g,N,k,u,v,h]),X.useEffect(()=>{if(!m||!O||!S)return;let e=L(O);function t(e){s.context.setOpen(!1,Me($e,e))}return ki(e,`resize`,t)},[s,m,O,S]);let I={...k?{role:`presentation`}:{role:`listbox`,"aria-multiselectable":c||void 0,"aria-readonly":l||void 0,id:`${x}-list`},onKeyDown(e){_&&Xa.has(e.key)&&e.stopPropagation()},onScroll(e){k||P(e.currentTarget)},...m&&{style:k?{height:`100%`}:Jl},className:!k&&m?pu.className:void 0},R=K(`div`,e,{ref:[t,s.context.popupRef],state:F,stateAttributesMapping:_u,props:[T,I,Yl(E),o]});return Q(X.Fragment,{children:[!b&&pu.getElement(y),Z(_s,{context:d,modal:!1,disabled:!w,openInteractionType:C,returnFocus:a,restoreFocus:!0,children:R})]})});function yu(e){let t=e.maxHeight;return t.endsWith(`px`)&&parseFloat(t)||1/0}function bu(e){return fl(e.scrollHeight,e.clientHeight)}function xu(e){return yc.getScale(e)}function Su(e,t,n){return e/n[t]}function Cu(e,t){return Tr({x:Su(e.x,`x`,t),y:Su(e.y,`y`,t),width:Su(e.width,`x`,t),height:Su(e.height,`y`,t)})}var wu=[[`transform`,`none`],[`scale`,`1`],[`translate`,`0 0`]];function Tu(e){let{style:t}=e,n={};for(let[e,r]of wu)n[e]=t.getPropertyValue(e),t.setProperty(e,r,`important`);return()=>{for(let[e]of wu){let r=n[e];r?t.setProperty(e,r):t.removeProperty(e)}}}var Eu=X.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,o=Hc(),s=o.useState(`multiple`),c=o.useState(`readOnly`),{alignItemWithTriggerActive:l}=Gl(),u=o.useState(`hasScrollArrows`),d=o.useState(`openMethod`),f={id:`${o.useState(`id`)}-list`,role:`listbox`,"aria-multiselectable":s||void 0,"aria-readonly":c||void 0,onScroll(e){o.context.scrollHandlerRef.current?.(e.currentTarget)},...l&&{style:Jl},className:u&&d!==`touch`?pu.className:void 0},p=o.useStateSetter(`listElement`);return K(`div`,e,{ref:[t,p],props:[f,a]})}),Du=X.createContext(void 0);function Ou(){let e=X.useContext(Du);if(!e)throw Error(ge(57));return e}var ku=X.memo(X.forwardRef(function(e,t){let{render:n,className:r,style:i,value:a=null,label:o,disabled:s=!1,nativeButton:c=!1,...l}=e,u=X.useRef(null),d=Oi({guess:!0,label:o,textRef:u}),f=Hc(),{props:p,multiple:m,disabled:h,readOnly:g,isItemEqualToValue:_}=f.useState(`itemRoot`),v=h||s,y=f.useState(`isActive`,d.index),b=f.useState(`open`),x=f.useState(`isSelected`,a),S=f.useState(`isSelectedByFocus`,d.index),C=d.index,w=X.useRef(null);Y(()=>{let e=f.context.valuesRef.current;return e[C]=a,()=>{delete e[C]}},[C,a,f]),Y(()=>{let e=f.state.value,t=f.state.selectedIndex,n=t,r;m&&Array.isArray(e)?(n=Zc(C,a,f.context.valuesRef.current,e,_,t),r=n===C,C===t&&!r&&(f.context.selectedItemTextRef.current=null)):(r=e!==void 0&&Gc(a,e,_),r&&(n=C)),f.set(`selectedIndex`,n),r&&u.current&&(f.context.selectedItemTextRef.current=u.current)},[C,m,_,f,a]);let T=X.useRef(`mouse`),E=X.useRef(!1),{getButtonProps:D,buttonRef:O}=ae({disabled:v,focusableWhenDisabled:!0,native:c,composite:!0}),k={disabled:v,selected:x,highlighted:y};function A(e){if(h||g)return;let t=f.state.value;if(m){let n=Array.isArray(t)?t:[],r=x?Qc(n,a,_):[...n,a];f.context.setValue(r,Me(Ye,e))}else f.context.setValue(a,Me(Ye,e)),f.context.setOpen(!1,Me(Ye,e))}function j(){f.context.selectionRef.current.dragY=0}let M={role:`option`,"aria-selected":x,tabIndex:b&&y?0:-1,onKeyDown(e){f.set(`activeIndex`,C),e.key===` `&&f.context.typingRef.current&&e.preventDefault()},onClick(e){let t=T.current!==`touch`,n=e.nativeEvent.pointerType,r=t&&Yn(e.nativeEvent)&&(n!==void 0||y),i=t&&!r&&!E.current;E.current=!1,!(v||i)&&A(e.nativeEvent)},onPointerEnter(e){T.current=e.pointerType},onPointerMove(e){if(e.pointerType===`mouse`&&e.buttons===1){let t=f.context.selectionRef.current;t.dragY+=e.movementY,t.dragY**2>=64&&(t.allowUnselectedMouseUp=!0)}},onPointerDown(e){T.current=e.pointerType,E.current=!0,j()},onMouseUp(){if(j(),v||T.current===`touch`||E.current)return;let e=!f.context.selectionRef.current.allowSelectedMouseUp&&x,t=!f.context.selectionRef.current.allowUnselectedMouseUp&&!x;e||t||(E.current=!0,w.current?.click(),E.current=!1)}},N=K(`div`,e,{ref:[O,t,d.ref,w],state:k,props:[p,M,l,D]}),P=X.useMemo(()=>({selected:x,index:C,textRef:u,selectedByFocus:S}),[x,C,u,S]);return Z(Du.Provider,{value:P,children:N})})),Au=X.memo(X.forwardRef(function(e,t){let{render:n,className:r,style:i,keepMounted:a,selected:o,...s}=e,c=X.useRef(null),{transitionStatus:l,setMounted:u}=hi(o),d=K(`span`,e,{ref:[t,c],state:{selected:o,transitionStatus:l},props:[{"aria-hidden":!0,children:`✔️`},s],stateAttributesMapping:Tn});return mi({batch:!0,enabled:!o,open:o,ref:c,onComplete(){o||u(!1)}}),d})),ju=X.forwardRef(function(e,t){let{selected:n}=Ou();return e.keepMounted||n?Z(Au,{...e,selected:n,ref:t}):null}),Mu=X.memo(X.forwardRef(function(e,t){let{index:n,textRef:r,selectedByFocus:i}=Ou(),a=Hc(),{render:o,className:s,style:c,...l}=e,u=X.useCallback(e=>{e&&(n===0&&(a.context.firstItemTextRef.current=e),i&&(a.context.selectedItemTextRef.current=e))},[a,n,i]);return K(`div`,e,{ref:[u,t,r],props:l})})),Nu=X.forwardRef(function(e,t){let{render:n,className:r,style:i,direction:a,keepMounted:o,...s}=e,c=a===`up`,l=Hc(),{side:u,scrollDownArrowRef:d,scrollUpArrowRef:f}=Gl(),p=c?`scrollUpArrowVisible`:`scrollDownArrowVisible`,m=l.useState(p),h=l.useState(`openMethod`),g=m&&h!==`touch`,_=xe(),v=c?f:d,{mounted:y,transitionStatus:b,setMounted:x}=hi(g);Y(()=>(l.context.scrollArrowsMountedCountRef.current+=1,l.set(`hasScrollArrows`,!0),()=>{l.context.scrollArrowsMountedCountRef.current=Math.max(0,l.context.scrollArrowsMountedCountRef.current-1),l.context.scrollArrowsMountedCountRef.current===0&&l.set(`hasScrollArrows`,!1)}),[l]),mi({open:g,ref:v,onComplete(){g||x(!1)}});let S=K(`div`,e,{ref:[t,v],state:{direction:a,visible:g,side:u,transitionStatus:b},props:[{"aria-hidden":!0,children:c?`▲`:`▼`,style:{position:`absolute`},onMouseMove(e){if(e.movementX===0&&e.movementY===0||_.isStarted())return;l.set(`activeIndex`,null);function t(){let e=l.state.listElement??l.context.popupRef.current;if(!e)return;l.set(`activeIndex`,null),l.context.handleScrollArrowVisibility(e);let n=fl(e.scrollHeight,e.clientHeight),r=pl(e.scrollTop,n),i=r===(c?0:n),a=l.context.listRef.current;if(r!==e.scrollTop&&(e.scrollTop=r),i)_.clear();else{if(a.length>0){let t=v.current?.offsetHeight||0;e.scrollTop=Pu(a,c,r,e.clientHeight,t,n)}_.start(40,t)}}_.start(40,t)},onMouseLeave(){_.clear()}},s],stateAttributesMapping:Tn});return y||o?S:null});function Pu(e,t,n,r,i,a){if(t){let t=0,r=n+i-1;for(let n=0;n<e.length;n+=1){let i=e[n];if(i&&i.offsetTop>=r){t=n;break}}let o=Math.max(0,t-1),s=e[o];return o<t&&s?pl(s.offsetTop-i,a):0}let o=e.length-1,s=n+r-i+1;for(let t=0;t<e.length;t+=1){let n=e[t];if(n&&n.offsetTop+n.offsetHeight>s){o=Math.max(0,t-1);break}}let c=Math.min(e.length-1,o+1),l=e[c];return c>o&&l?pl(l.offsetTop+l.offsetHeight-r+i,a):a}var Fu=X.forwardRef(function(e,t){return Z(Nu,{...e,ref:t,direction:`down`})}),Iu=X.forwardRef(function(e,t){return Z(Nu,{...e,ref:t,direction:`up`})}),Lu=ml;function Ru({className:e,...t}){return Z(Cl,{"data-slot":`select-value`,className:q(`flex flex-1 text-left`,e),...t})}function zu({className:e,size:t=`default`,children:n,...r}){return Q(xl,{"data-slot":`select-trigger`,"data-size":t,className:q(`flex w-fit items-center justify-between gap-1.5 rounded-lg border border-input bg-transparent py-2 pr-2 pl-2.5 text-sm whitespace-nowrap transition-colors outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-placeholder:text-muted-foreground data-[size=default]:h-8 data-[size=sm]:h-7 data-[size=sm]:rounded-[min(var(--radius-md),10px)] *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5 dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,e),...r,children:[n,Z(wl,{render:Z(we,{className:`pointer-events-none size-4 text-muted-foreground`})})]})}function Bu({className:e,children:t,container:n,side:r=`bottom`,sideOffset:i=4,align:a=`center`,alignOffset:o=0,alignItemWithTrigger:s=!0,...c}){return Z(Tl,{container:n,children:Z(du,{side:r,sideOffset:i,align:a,alignOffset:o,alignItemWithTrigger:s,className:`pointer-events-auto isolate z-50`,children:Q(vu,{"data-slot":`select-content`,"data-align-trigger":s,className:q(`relative isolate z-50 max-h-(--available-height) w-(--anchor-width) min-w-36 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[align-trigger=true]:animate-none data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95`,e),...c,children:[Z(Hu,{}),Z(Eu,{children:t}),Z(Uu,{})]})})})}function Vu({className:e,children:t,...n}){return Q(ku,{"data-slot":`select-item`,className:q(`relative flex w-full cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2`,e),...n,children:[Z(Mu,{className:`flex flex-1 shrink-0 gap-2 whitespace-nowrap`,children:t}),Z(ju,{render:Z(`span`,{className:`pointer-events-none absolute right-2 flex size-4 items-center justify-center`}),children:Z(Ce,{className:`pointer-events-none`})})]})}function Hu({className:e,...t}){return Z(Iu,{"data-slot":`select-scroll-up-button`,className:q(`top-0 z-10 flex w-full cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4`,e),...t,children:Z(Ft,{})})}function Uu({className:e,...t}){return Z(Fu,{"data-slot":`select-scroll-down-button`,className:q(`bottom-0 z-10 flex w-full cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4`,e),...t,children:Z(we,{})})}var Wu=e=>e[0]?.toUpperCase()+e.slice(1);function Gu({entry:e,value:r,onChange:a,container:o,id:s}){if(e.control===`toggle`)return Z(Hi,{id:s,"aria-label":e.label,checked:!!r,onCheckedChange:a});if(e.control===`select`)return Q(Lu,{value:String(r),onValueChange:a,children:[Z(zu,{id:s,"aria-label":e.label,size:`sm`,className:`w-40 text-xs`,children:Z(Ru,{children:Wu(String(r))})}),Z(Bu,{container:o,children:e.choices?.map(e=>Z(Vu,{value:e,children:Wu(e)},e))})]});if(e.control===`number`)return Q(`div`,{className:`flex w-40 items-center gap-3`,children:[Z(go,{id:s,"aria-label":e.label,min:e.min,max:e.max,step:e.step,value:[Number(r)],onValueChange:e=>a(Number(Array.isArray(e)?e[0]:e))}),Z(`output`,{className:`min-w-8 text-right tabular-nums`,children:e.max===1?`${Math.round(Number(r)*100)}%`:String(r)})]});if(e.control===`tabs`){let t=r;return Z(`fieldset`,{id:s,"aria-label":e.label,className:`grid w-full grid-cols-2 gap-x-4 gap-y-2`,children:e.choices?.map(e=>Q(`label`,{className:`flex items-center gap-2 text-xs`,children:[Z(ea,{checked:t.includes(e),onCheckedChange:n=>a(n?[...t,e]:t.filter(t=>t!==e))}),e===`weapons`?`Tools`:e===`settings`?`Settings`:Wu(e)]},e))})}if(e.control===`hint`){let o=r,c=e=>a({...o||{},...e});return Q(`fieldset`,{id:s,"aria-label":e.label,className:`w-full space-y-3`,children:[Q(`label`,{className:`flex items-center gap-2`,children:[Z(Hi,{checked:o!==!1,onCheckedChange:e=>a(e?{}:!1)}),`Show after arrival`]}),o!==!1&&Q(`div`,{className:`grid grid-cols-2 gap-3`,children:[Q(`label`,{className:`grid gap-1`,children:[`Text`,Z(Je,{value:o.text??t.text,onChange:e=>c({text:e.target.value})})]}),Q(`label`,{className:`grid gap-1`,children:[`Delay (ms)`,Z(Je,{type:`number`,min:0,value:o.showAfter??t.showAfter,onChange:e=>c({showAfter:Number(e.target.value)})})]}),Q(`label`,{className:`grid gap-1`,children:[`Placement`,Z(`select`,{value:o.placement??t.placement,onChange:e=>c({placement:e.target.value}),children:i.map(e=>Z(`option`,{children:e},e))})]}),Q(`label`,{className:`grid gap-1`,children:[`Dismiss on`,Z(`select`,{value:o.dismiss??t.dismiss,onChange:e=>c({dismiss:e.target.value}),children:n.map(e=>Z(`option`,{children:e},e))})]})]})]})}return e.control===`color`&&e.default===void 0?Q(`div`,{className:`flex w-40 items-center justify-end gap-3`,children:[Z(Hi,{id:s,"aria-label":e.label,checked:typeof r==`string`,onCheckedChange:e=>a(e?`#66e6ff`:void 0)}),typeof r==`string`&&Z(Je,{type:`color`,"aria-label":`${e.label} color`,className:`w-20 p-1`,value:r,onChange:e=>a(e.target.value)})]}):Z(Je,{id:s,"aria-label":e.label,type:e.control,className:e.control===`color`?`w-20 p-1`:`w-40 text-xs`,value:String(r??(e.control===`color`?`#000000`:``)),onChange:e=>a(e.target.value||void 0)})}var Ku=X.createContext(void 0);function qu(){let e=X.useContext(Ku);if(e===void 0)throw Error(ge(64));return e}var Ju=`data-activation-direction`,Yu={tabActivationDirection:e=>({[Ju]:e})},Xu=X.forwardRef(function(e,t){let{className:n,defaultValue:r=0,onValueChange:i,orientation:a=`horizontal`,render:o,value:s,style:c,...l}=e,u=e.defaultValue!==void 0,d=X.useRef([]),[f,p]=X.useState(()=>new Map),[m,h]=vi({controlled:s,default:r,name:`Tabs`,state:`value`}),g=s!==void 0,[_,v]=X.useState(()=>new Map),y=X.useRef(void 0),b=X.useCallback(e=>Zu(_,e),[_]),[x,S]=X.useState(()=>({previousValue:m,tabActivationDirection:`none`})),{previousValue:C,tabActivationDirection:w}=x,T=w,E=!1;C!==m&&(T=Qu(C,m,a,_),E=C!=null&&m!=null&&b(m)==null);let D=E?C:m,O=C!==D||w!==T;Y(()=>{O&&S({previousValue:D,tabActivationDirection:T})},[D,O,T]);let k=V((e,t)=>{t.activationDirection=Qu(m,e,a,_),i?.(e,t),!t.isCanceled&&h(()=>e)}),A=V((e,t)=>{i?.(e,Me(t,void 0,void 0,{activationDirection:`none`}))}),j=V((e,t)=>(p(n=>{let r=new Map(n);return r.set(e,t),r}),()=>{p(n=>{if(n.get(e)!==t)return n;let r=new Map(n);return r.delete(e),r})})),M=X.useCallback(e=>f.get(e),[f]),N=X.useCallback(e=>{for(let t of _.values())if(e===t.value)return t.id},[_]),P=X.useMemo(()=>({getTabElementBySelectedValue:b,getTabIdByPanelValue:N,getTabPanelIdByValue:M,onValueChange:k,orientation:a,registerMountedTabPanel:j,setTabMap:v,tabActivationDirection:T,value:m}),[b,N,M,k,a,j,v,T,m]),F=X.useMemo(()=>{for(let e of _.values())if(e.value===m)return e},[_,m]),I=X.useMemo(()=>{for(let e of _.values())if(!e.disabled)return e.value},[_]),L=X.useRef(!u),R=X.useRef(r),z=X.useRef(u),B=X.useRef(!1);Y(()=>{if(g)return;function e(e,t){h(()=>e),S({previousValue:e,tabActivationDirection:`none`}),A(e,t),L.current=!1}if(_.size===0){B.current&&m!==null&&!y.current?.isConnected&&e(null,Ge);return}B.current=!0,y.current=_.keys().next().value;let t=F?.disabled,n=F==null&&m!==null;if(!t&&m===R.current&&(z.current=!1),z.current&&t&&m===R.current)return;let r=L.current;if(t||n){let n=I??null;if(m===n){L.current=!1;return}let i=Ge;r?i=Ne:t&&(i=Ke),e(n,i)}else r&&F!=null&&(A(m,Ne),L.current=!1)},[I,g,A,F,h,_,m]);let H=K(`div`,e,{state:{orientation:a,tabActivationDirection:T},ref:t,props:l,stateAttributesMapping:Yu});return Z(Ku.Provider,{value:P,children:Z(xi,{elementsRef:d,children:H})})});function Zu(e,t){for(let[n,r]of e.entries())if(t===r.value)return n;return null}function Qu(e,t,n,r){if(e==null||t==null)return`none`;let[i,a,o]=n===`horizontal`?[`left`,`left`,`right`]:[`top`,`up`,`down`],s=Zu(r,e),c=Zu(r,t);if(s==null||c==null)return s!==c&&(typeof e==`number`||typeof e==`string`)&&typeof e==typeof t?t>e?o:a:`none`;let l=s.getBoundingClientRect()[i],u=c.getBoundingClientRect()[i];return u<l?a:u>l?o:`none`}var $u=`data-composite-item-active`;function ed(e={}){let{highlightItemOnHover:t,highlightedIndex:n,onHighlightedIndexChange:r}=J(),{ref:i,index:a}=Oi(e),o=n===a,s=X.useRef(null),c=le(i,s);return{compositeProps:{tabIndex:o?0:-1,onFocus(){r(a)},onMouseMove(){let e=s.current;if(!t||!e)return;let n=e.hasAttribute(`disabled`)||e.ariaDisabled===`true`;!o&&!n&&e.focus()}},compositeRef:c,index:a}}var td=X.createContext(void 0);function nd(){let e=X.useContext(td);if(e===void 0)throw Error(ge(65));return e}var rd=X.forwardRef(function(e,t){let{className:n,disabled:r=!1,render:i,value:a,id:o,nativeButton:s=!0,style:c,...l}=e,{value:u,getTabPanelIdByValue:d,onValueChange:f,orientation:p,tabActivationDirection:m}=qu(),{activateOnFocus:h,registerTabResizeObserverElement:g,tabsListElement:_}=nd(),{highlightedIndex:v,onHighlightedIndexChange:y}=J(),b=ve(o),{compositeProps:x,compositeRef:S,index:C}=ed({metadata:X.useMemo(()=>({disabled:r,id:b,value:a}),[r,b,a])}),w=a===u,T=X.useRef(!1),E=X.useRef(null),D=V(e=>{E.current?.(),E.current=e?g(e):null});Y(()=>{if(T.current){T.current=!1;return}if(!(w&&C>-1&&v!==C))return;let e=_;if(e!=null){let t=pn(ut(e));if(t&&$(e,t))return}r||y(C)},[w,C,v,y,r,_]);let{getButtonProps:O,buttonRef:k}=ae({disabled:r,native:s,focusableWhenDisabled:!0}),A=d(a),j=X.useRef(!1),M=X.useRef(!1);function N(e){f(a,Me(He,e.nativeEvent,void 0,{activationDirection:`none`}))}function P(e){w||r||N(e)}function F(e){w||r||h&&(!j.current||M.current)&&N(e)}function I(e){if(w||r)return;j.current=!0,M.current=e.button===0;let t=ut(e.currentTarget);function n(){j.current=!1,M.current=!1,t.removeEventListener(`pointerup`,n),t.removeEventListener(`pointercancel`,n)}t.addEventListener(`pointerup`,n),t.addEventListener(`pointercancel`,n)}return K(`button`,e,{state:{disabled:r,active:w,orientation:p,tabActivationDirection:m},ref:[t,k,S,D],props:[x,{role:`tab`,"aria-controls":A,"aria-selected":w,id:b,onClick:P,onFocus:F,onPointerDown:I,[$u]:w?``:void 0,onKeyDownCapture(){T.current=!0}},l,O],stateAttributesMapping:Yu})});function id(e){let{loopFocus:t=!0,orientation:n=`both`,grid:r,onLoop:i,direction:a,highlightedIndex:o,onHighlightedIndexChange:s,rootRef:c,enableHomeAndEndKeys:l=!1,stopEventPropagation:u,disabledIndices:d,modifierKeys:f=he}=e,[p,m]=X.useState(0),h=r!=null,g=X.useRef(null),_=le(g,c),v=X.useRef([]),y=X.useRef(!1),b=X.useRef(null),x=o??p,S=V((e,t=!1)=>{if(b.current=v.current[e]??null,(s??m)(e),t){let t=v.current[e];eo(g.current,t,a,n)}}),C=V(e=>{if(e.size===0)return;if(y.current){let e=v.current,t=e.indexOf(b.current);if(t===-1){let t=e[x];!t||jr(e,x,d)?S(ad(e,d)):b.current=t}else t!==x&&S(t);return}y.current=!0;let t=Array.from(e.keys()),r=t.find(e=>e?.hasAttribute(`data-composite-item-active`))??null,i=r?e.get(r)?.index??-1:-1;if(i!==-1)S(i);else if(jr(t,x,d)){let e=Ar(t,{disabledIndices:d});Er(t,e)||S(e)}eo(g.current,r,a,n)});Y(()=>{if(d==null||o!=null||!y.current)return;let e=v.current;if(jr(e,x,d)){let t=Ar(e,{disabledIndices:d});Er(e,t)||S(t)}},[d,o,x,v,S]);let w=V((e,t,n)=>i?i(e,t,n,v):n),T=V(e=>{let o=e.key===`Home`||e.key===`End`;if(!Xa.has(e.key)||!l&&o||od(e,f)||!g.current)return;let s=a===`rtl`,c=s?Ga:Ka,p=s?Ka:Ga,m=n===`vertical`?Wa:c,_=n===`vertical`?Ua:p,y=hn(e.nativeEvent);if(y!=null&&$a(y)&&!yo(y)){let t=y.selectionStart,n=y.selectionEnd,r=y.value;if(t==null||e.shiftKey||t!==n||e.key!==_&&t<r.length||e.key!==m&&t>0)return}let b=x,C=Dr(v,d),T=Or(v,d);r!=null&&(b=r({disabledIndices:d,elementsRef:v,event:e,highlightedIndex:x,loopFocus:t,maxIndex:T,minIndex:C,onLoop:w,orientation:n,rtl:s}));let E=n!==`vertical`&&e.key===c||n!==`horizontal`&&e.key===`ArrowDown`,D=n!==`vertical`&&e.key===p||n!==`horizontal`&&e.key===`ArrowUp`;l&&(e.key===`Home`?b=C:e.key===`End`&&(b=T)),b===x&&(E||D)&&(t&&b===T&&E?(b=C,i&&(b=i(e,x,b,v))):t&&b===C&&D?(b=T,i&&(b=i(e,x,b,v))):b=Ar(v.current,{startingIndex:b,decrement:D,disabledIndices:d})),b!==x&&!Er(v.current,b)&&(u&&e.stopPropagation(),(h||o||E||D)&&e.preventDefault(),S(b,!0),queueMicrotask(()=>{v.current[b]?.focus()}))});return{props:{ref:_,onFocus(e){let t=g.current,n=hn(e.nativeEvent);t&&n!=null&&$a(n)&&n.setSelectionRange(0,n.value.length)},onKeyDown:T},highlightedIndex:x,onHighlightedIndexChange:S,elementsRef:v,onMapChange:C,relayKeyboardEvent:T}}function ad(e,t){let n=-1;for(let r=0;r<e.length;r+=1){let i=e[r];if(i&&!jr(e,r,t)){if(i.hasAttribute(`data-composite-item-active`))return r;n===-1&&(n=r)}}return Math.max(n,0)}function od(e,t){for(let n of Za)if(!t.includes(n)&&e.getModifierState(n))return!0;return!1}function sd(e){let{render:t,className:n,style:r,refs:i=he,props:a=he,state:o=ne,stateAttributesMapping:s,highlightedIndex:c,onHighlightedIndexChange:l,orientation:u,grid:d,loopFocus:f,onLoop:p,enableHomeAndEndKeys:m,onMapChange:h,stopEventPropagation:g=!0,rootRef:_,disabledIndices:v,modifierKeys:y,highlightItemOnHover:b=!1,tag:x=`div`,...S}=e,{props:C,highlightedIndex:w,onHighlightedIndexChange:T,elementsRef:E,onMapChange:D,relayKeyboardEvent:O}=id({grid:d,loopFocus:f,onLoop:p,orientation:u,highlightedIndex:c,onHighlightedIndexChange:l,rootRef:_,stopEventPropagation:g,enableHomeAndEndKeys:m,direction:ya(),disabledIndices:v,modifierKeys:y}),k=K(x,e,{state:o,ref:i,props:[C,...a,S],stateAttributesMapping:s}),A=X.useMemo(()=>({highlightedIndex:w,onHighlightedIndexChange:T,highlightItemOnHover:b,relayKeyboardEvent:O}),[w,T,b,O]);return Z(ee.Provider,{value:A,children:Z(xi,{elementsRef:E,onMapChange:e=>{h?.(e),D(e)},children:k})})}var cd=X.forwardRef(function(e,t){let{activateOnFocus:n=!1,className:r,loopFocus:i=!0,render:a,style:o,...s}=e,{orientation:c,setTabMap:l,tabActivationDirection:u}=qu(),[d,f]=X.useState(0),[p,m]=X.useState(null),h=X.useRef(new Set),g=X.useRef(new Set),_=X.useRef(null);Y(()=>{if(typeof ResizeObserver>`u`)return;let e=new ResizeObserver(()=>{h.current.forEach(e=>{e()})});return _.current=e,p&&e.observe(p),g.current.forEach(t=>{e.observe(t)}),()=>{e.disconnect(),_.current=null}},[p]);let v=V(e=>(h.current.add(e),()=>{h.current.delete(e)})),y=V(e=>(g.current.add(e),_.current?.observe(e),()=>{g.current.delete(e),_.current?.unobserve(e)})),b={orientation:c,tabActivationDirection:u},x={"aria-orientation":c===`vertical`?`vertical`:void 0,role:`tablist`},S=X.useMemo(()=>({activateOnFocus:n,registerIndicatorUpdateListener:v,registerTabResizeObserverElement:y,tabsListElement:p}),[n,v,y,p]);return Z(td.Provider,{value:S,children:Z(sd,{render:a,className:r,style:o,state:b,refs:[t,m],props:[x,s],stateAttributesMapping:Yu,highlightedIndex:d,enableHomeAndEndKeys:!0,loopFocus:i,orientation:c,onHighlightedIndexChange:f,onMapChange:l,disabledIndices:he})})});function ld({className:e,orientation:t=`horizontal`,...n}){return Z(Xu,{"data-slot":`tabs`,"data-orientation":t,className:q(`group/tabs flex gap-2 data-horizontal:flex-col`,e),...n})}var ud=pe(`group/tabs-list inline-flex w-fit items-center justify-center rounded-lg p-[3px] text-muted-foreground group-data-horizontal/tabs:h-8 group-data-vertical/tabs:h-fit group-data-vertical/tabs:flex-col data-[variant=line]:rounded-none`,{variants:{variant:{default:`bg-muted`,line:`gap-1 bg-transparent`}},defaultVariants:{variant:`default`}});function dd({className:e,variant:t=`default`,...n}){return Z(cd,{"data-slot":`tabs-list`,"data-variant":t,className:q(ud({variant:t}),e),...n})}function fd({className:e,...t}){return Z(rd,{"data-slot":`tabs-trigger`,className:q(`relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-sm font-medium whitespace-nowrap text-foreground/60 transition-all group-data-vertical/tabs:w-full group-data-vertical/tabs:justify-start hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 has-data-[icon=inline-end]:pr-1 has-data-[icon=inline-start]:pl-1 aria-disabled:pointer-events-none aria-disabled:opacity-50 dark:text-muted-foreground dark:hover:text-foreground group-data-[variant=default]/tabs-list:data-active:shadow-sm group-data-[variant=line]/tabs-list:data-active:shadow-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,`group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent dark:group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent`,`data-active:bg-background data-active:text-foreground dark:data-active:border-input dark:data-active:bg-input/30 dark:data-active:text-foreground`,`after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-horizontal/tabs:after:inset-x-0 group-data-horizontal/tabs:after:bottom-[-5px] group-data-horizontal/tabs:after:h-0.5 group-data-vertical/tabs:after:inset-y-0 group-data-vertical/tabs:after:-right-1 group-data-vertical/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100`,e),...t})}function pd({className:e,...t}){return Z(`div`,{"data-slot":`sidebar`,className:q(`flex h-full w-(--pause-sidebar-width) flex-col bg-sidebar text-sidebar-foreground`,e),...t})}function md({className:e,...t}){return Z(`div`,{"data-slot":`sidebar-header`,"data-sidebar":`header`,className:q(`flex flex-col gap-2 p-2`,e),...t})}function hd({className:e,...t}){return Z(`div`,{"data-slot":`sidebar-footer`,"data-sidebar":`footer`,className:q(`flex flex-col gap-2 p-2`,e),...t})}function gd({className:e,...t}){return Z(`div`,{"data-slot":`sidebar-content`,"data-sidebar":`content`,className:q(`no-scrollbar flex min-h-0 flex-1 flex-col gap-0 overflow-auto`,e),...t})}function _d({className:e,...t}){return Z(`div`,{"data-slot":`sidebar-group`,"data-sidebar":`group`,className:q(`relative flex w-full min-w-0 flex-col p-2`,e),...t})}function vd({className:e,...t}){return Z(`ul`,{"data-slot":`sidebar-menu`,"data-sidebar":`menu`,className:q(`flex w-full min-w-0 flex-col gap-0`,e),...t})}function yd({className:e,...t}){return Z(`li`,{"data-slot":`sidebar-menu-item`,"data-sidebar":`menu-item`,className:q(`group/menu-item relative`,e),...t})}function bd({isActive:e=!1,className:t,...n}){return Z(`button`,{type:`button`,"data-slot":`sidebar-menu-button`,"data-sidebar":`menu-button`,"data-active":e,className:q(`flex h-8 w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm ring-sidebar-ring outline-hidden hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 data-active:bg-sidebar-accent data-active:font-medium data-active:text-sidebar-accent-foreground [&_svg]:size-4 [&_svg]:shrink-0 [&>span:last-child]:truncate`,t),...n})}var xd={viewBox:`9 147 389 250`,wordmarkPath:`M88,381L85,384L84,384L83,385L86,385L86,384L87,383L87,382ZM68,375L63,380L62,380L62,381L61,382L60,382L58,384L57,384L56,383L61,378L61,377L63,375L64,375L65,374L67,374ZM67,374L68,373L69,374L68,375ZM27,372L26,372L25,373L24,373L23,374L22,374L20,376L19,376L17,378L16,378L15,379L14,379L13,380L12,380L11,381L12,381L13,380L14,380L16,378L18,378L21,375L22,375L24,373L26,373ZM61,370L62,369L63,370L62,371ZM124,362L123,362L122,363L120,363L119,364L117,364L116,365L115,365L114,366L112,366L111,367L109,367L108,368L106,368L105,369L104,369L107,369L108,368L109,368L110,367L112,367L113,366L115,366L116,365L117,365L118,364L120,364L121,363L123,363ZM120,357L119,356L116,359L115,359L112,362L111,362L109,364L110,364L112,362L113,362L114,361L115,361L116,360L117,360L119,358L120,358ZM130,352L129,352L126,355L125,355L124,354L123,354L123,355L124,356L124,357L128,353L129,353ZM61,341L61,340L62,339L63,339L64,340L62,342ZM269,329L270,330L271,330L270,329ZM262,323L263,322L264,323L263,324ZM41,320L40,320L36,324L36,325L39,328L40,328L42,326L42,325L44,323ZM360,316L359,317L359,320L359,319L360,318ZM53,303L53,305L54,306L54,304ZM65,299L64,299L63,300L62,300L64,300ZM86,298L87,297L88,297L89,298L88,299L87,299ZM394,297L392,297L391,298L388,298L387,299L386,299L385,300L383,300L382,301L380,301L379,302L377,302L376,303L375,303L374,304L372,304L371,305L370,305L369,306L368,306L367,307L365,307L364,308L363,308L362,309L361,309L360,310L358,310L357,311L358,311L359,310L360,310L361,309L363,309L364,308L365,308L366,307L368,307L369,306L371,306L372,305L373,305L374,304L376,304L377,303L378,303L379,302L381,302L382,301L383,301L384,300L387,300L388,299L389,299L390,298L391,298L392,297ZM88,297L89,296L90,296L91,297L90,298L89,298ZM72,296L71,296L70,297L69,297L68,298L67,298L69,298L70,297L71,297ZM161,294L162,295L162,297L161,298L161,299L160,300L160,302L159,303L159,304L158,305L158,306L157,307L157,308L156,309L156,310L155,311L155,312L154,313L154,314L153,315L153,316L152,317L152,318L151,319L151,320L150,321L150,322L149,323L148,323L147,324L145,324L144,325L142,325L141,326L139,326L138,325L138,324L139,323L139,321L140,320L140,319L141,318L141,317L142,316L142,315L143,314L143,313L144,312L144,311L146,309L146,308L147,307L147,306L148,305L148,304L149,303L149,302L150,301L150,300L151,299L151,298L152,297L153,297L154,296L156,296L157,295L159,295L160,294ZM88,289L87,290L85,290L84,291L83,291L82,292L81,292L80,293L78,293L77,294L76,294L75,295L74,295L76,295L77,294L78,294L79,293L80,293L81,292L82,292L83,291L85,291L86,290L87,290ZM77,284L75,286L77,288L78,288L80,286L80,285L79,285L78,284ZM254,282L254,283L253,284L253,285L252,286L252,287L248,291L247,291L246,292L245,292L244,293L243,293L242,294L241,294L240,295L239,295L238,294L238,293L240,291L240,290L241,289L241,288L242,287L242,286L243,285L243,284L244,283L245,283L246,282L249,282L250,281L253,281ZM178,285L177,285L175,283L174,283L173,282L172,282L171,281L169,281L168,282L165,282L164,283L161,283L160,284L158,284L157,285L155,285L154,286L151,286L150,287L149,287L147,289L146,289L144,291L143,291L142,292L141,292L137,296L137,299L136,300L136,301L134,303L134,304L133,305L133,306L131,308L131,309L130,310L130,311L129,312L129,313L128,314L128,315L127,316L127,317L126,318L126,319L125,320L125,321L124,322L124,323L122,325L122,326L121,327L121,328L120,329L120,332L119,333L119,335L121,337L121,338L124,341L125,341L126,342L126,344L129,341L130,341L131,340L134,340L135,339L137,339L138,338L141,338L142,337L144,337L145,336L147,336L148,337L146,339L148,337L149,337L152,334L153,334L154,333L155,333L156,332L157,332L164,325L164,324L165,323L165,322L166,321L166,320L167,319L167,318L168,317L168,315L169,314L169,313L170,312L170,310L171,309L171,307L172,306L172,305L173,304L173,303L174,302L174,301L175,300L175,298L176,297L176,296L177,295L177,294L178,293L178,291L177,290L177,289L178,288ZM224,274L225,273L226,273L227,274L226,275L225,275ZM315,272L316,273L316,274L315,275L315,276L314,277L314,278L313,279L313,280L312,281L312,282L311,283L311,284L310,285L310,286L309,287L309,289L303,295L302,295L300,297L299,297L297,299L296,299L295,300L294,300L293,299L294,298L294,297L295,296L295,295L296,294L296,293L297,292L297,290L298,289L298,288L299,287L299,286L300,285L300,284L301,283L301,282L302,281L302,280L303,279L303,278L304,277L304,276L307,273L310,273L311,272ZM266,271L265,271L263,269L262,270L259,270L258,271L254,271L253,272L249,272L248,273L245,273L244,274L240,274L239,273L239,272L240,271L240,269L241,268L240,269L240,270L239,271L239,272L234,277L232,277L231,278L231,279L229,281L229,282L227,284L228,283L229,283L230,282L231,283L231,285L230,286L230,287L229,288L229,289L228,290L228,291L226,293L226,295L224,297L224,298L223,299L223,300L220,303L219,303L218,304L217,304L216,305L215,305L216,305L218,307L218,310L217,311L217,312L216,313L216,314L215,315L215,316L214,317L214,318L213,319L213,320L212,321L212,322L211,323L211,324L210,325L210,326L209,327L209,328L208,329L208,330L207,331L207,332L204,335L204,336L205,337L205,338L208,335L211,335L214,332L215,332L217,330L218,330L219,331L222,328L225,328L226,327L227,327L224,327L223,326L223,323L224,322L224,321L225,320L225,319L226,318L226,317L227,316L227,315L228,314L228,313L230,311L230,310L232,308L233,309L234,309L237,312L238,312L241,315L242,315L246,319L247,319L249,321L250,321L251,322L253,322L254,323L255,323L257,325L258,324L260,324L261,325L262,325L264,327L265,327L266,328L266,327L263,324L264,323L265,323L266,324L262,320L262,319L258,315L258,314L246,302L246,301L247,300L249,300L251,298L252,298L253,297L254,297L256,295L257,295L261,291L261,290L265,286L265,285L266,284L266,283L267,282L267,281L268,280L268,279L269,278L269,277L270,276L270,275ZM170,266L169,266L168,267L166,267L165,268L164,268L163,269L161,269L160,270L158,270L157,271L155,271L154,272L152,272L151,273L150,273L149,274L147,274L146,275L145,275L144,276L141,276L140,275L139,275L138,276L137,276L136,277L134,277L133,278L131,278L130,279L128,279L127,280L125,280L124,281L123,281L122,282L119,282L116,285L115,285L114,286L112,286L111,287L110,287L109,288L107,288L106,289L104,289L103,290L102,290L101,291L99,291L98,292L97,292L96,293L94,293L93,294L92,294L91,295L90,295L89,296L88,296L87,297L86,297L85,298L84,298L83,299L82,299L83,299L84,298L86,298L87,299L84,302L84,303L82,305L83,305L84,304L85,305L85,306L83,308L82,308L81,309L80,309L78,311L77,311L76,312L75,312L74,313L73,313L72,314L73,313L75,313L76,312L77,312L78,311L79,312L80,312L81,311L83,311L85,309L87,309L88,308L90,308L91,307L92,307L93,306L95,306L96,305L97,305L98,304L99,304L100,303L102,303L103,302L104,302L105,301L107,301L108,300L109,300L110,301L110,302L109,303L109,304L107,306L107,307L106,308L106,309L104,311L104,312L103,313L103,314L102,315L102,316L100,318L100,319L99,320L99,321L97,323L97,324L96,325L96,326L94,328L94,329L93,330L93,331L91,333L91,334L90,335L90,336L89,337L89,338L87,340L87,341L85,343L85,344L82,347L81,347L79,349L78,349L77,350L76,350L75,351L74,351L72,353L71,353L70,354L68,354L67,353L67,351L68,350L68,348L70,346L70,345L71,344L71,343L72,342L72,341L74,339L74,338L75,337L75,335L77,333L77,332L79,330L77,332L76,332L74,334L73,334L71,336L70,336L68,338L67,338L65,340L64,340L63,339L66,336L67,336L69,334L67,336L66,336L64,338L63,338L61,340L60,340L57,343L56,343L52,347L51,347L49,349L48,349L46,351L45,351L43,353L42,353L39,356L38,356L37,355L37,354L35,356L34,356L35,356L36,357L36,358L34,360L33,360L32,361L31,361L29,363L28,363L26,365L25,365L23,367L24,367L26,365L27,365L28,364L29,364L31,362L32,362L34,360L35,360L37,358L38,358L41,355L42,355L44,353L45,353L48,350L49,350L52,347L53,347L54,348L53,349L53,350L51,352L51,353L49,355L49,357L48,358L48,359L47,360L47,361L41,367L41,368L39,370L43,366L45,366L46,367L42,371L41,371L39,373L39,374L36,377L35,377L25,387L24,387L16,395L17,395L18,394L19,394L23,390L24,390L27,387L28,387L30,385L31,385L34,382L35,382L37,380L38,380L39,379L41,379L45,375L46,375L49,372L51,372L52,373L59,373L60,374L60,375L57,378L57,379L54,382L54,383L52,385L52,386L51,387L51,388L49,390L49,391L48,392L48,393L47,394L50,391L51,391L54,388L55,388L64,379L65,379L68,376L68,375L73,370L74,371L74,374L74,373L75,372L75,371L77,369L77,368L79,366L80,366L82,364L85,364L87,362L88,362L90,360L91,360L93,358L94,358L96,356L97,356L99,354L99,353L100,352L100,351L102,349L102,348L103,347L103,346L104,345L104,344L105,343L105,342L106,341L106,340L108,338L108,337L109,336L109,335L110,334L110,333L112,331L114,331L114,330L113,329L113,328L114,327L114,326L115,325L115,324L117,322L117,321L118,320L119,320L120,319L119,318L119,317L120,316L120,315L121,314L121,313L122,312L122,311L124,309L124,308L126,306L126,305L127,304L126,303L127,302L127,301L128,300L128,299L130,297L130,296L131,295L131,294L132,293L132,292L133,291L134,291L135,290L137,290L138,289L139,289L140,288L141,288L144,285L146,285L148,283L149,283L150,282L152,282L153,281L155,281L156,280L157,280L158,279L159,279L160,278L161,278L160,278L159,279L157,279L156,280L154,280L153,279L154,278L155,278L157,276L158,276L160,274L161,274L163,272L164,272L163,272L162,273L160,273L159,272L161,270L162,270L163,269L164,269L165,268L167,268L168,267L169,267ZM291,266L287,270L286,269L286,268L285,269L284,269L283,268L282,269L280,269L279,268L280,267L280,265L281,264L281,262L281,263L280,264L280,265L279,266L279,267L278,268L278,269L277,270L277,271L276,272L276,273L275,274L275,275L274,276L274,277L273,278L273,280L272,281L272,282L271,283L271,284L270,285L270,286L269,287L269,288L268,289L268,290L267,291L267,292L266,293L266,294L265,295L265,296L264,297L264,298L263,299L263,300L262,301L262,302L261,303L261,305L260,306L260,307L259,308L259,310L258,311L259,311L259,310L261,308L262,308L263,309L263,313L264,313L268,309L269,310L269,311L270,310L270,309L271,308L271,307L272,306L272,305L273,304L273,303L274,302L274,301L275,300L275,299L276,298L276,297L277,296L277,295L278,294L278,293L279,292L279,291L280,290L280,288L281,287L281,286L282,285L282,284L283,283L283,282L284,281L284,280L285,279L285,278L286,277L286,276L287,275L287,274L288,273L288,272L290,270L290,269L291,268ZM326,262L325,262L324,261L323,261L322,260L320,260L319,261L317,261L316,262L313,262L312,263L310,263L309,264L306,264L305,265L302,265L301,266L300,266L298,264L299,263L299,262L300,261L298,263L298,264L297,265L297,266L296,267L296,268L295,269L295,270L293,272L293,274L292,275L292,278L291,279L291,280L290,281L290,283L289,284L289,285L288,286L288,287L287,288L287,289L286,290L286,291L285,292L285,293L284,294L284,295L283,296L283,297L282,298L282,299L281,300L281,301L280,302L280,303L279,304L279,305L278,306L278,307L274,311L274,312L273,313L273,314L272,315L273,314L276,314L277,315L277,318L276,319L276,320L275,321L277,319L278,320L278,321L280,319L281,319L282,318L283,318L286,315L287,315L288,314L289,314L291,312L293,312L294,311L295,311L296,310L298,310L299,309L300,309L303,306L304,306L306,304L307,304L310,301L311,301L314,298L314,297L315,296L316,296L318,294L318,293L319,292L319,291L320,290L320,289L321,288L321,287L322,286L322,285L323,284L323,283L324,282L324,281L325,280L325,279L326,278L326,277L327,276L327,275L328,274L328,273L329,272L329,270L330,269L330,266ZM240,259L234,265L233,265L232,266L231,265L231,264L234,261L232,263L231,263L228,266L227,266L226,267L225,267L223,269L222,268L221,269L220,269L218,271L217,271L216,272L215,271L215,270L217,268L215,270L215,271L213,273L213,274L211,276L211,277L209,279L209,280L207,282L207,283L204,286L204,287L201,290L201,291L198,294L197,293L197,291L196,290L196,285L195,284L195,276L194,276L193,275L193,274L191,276L186,276L185,277L184,276L183,276L183,277L182,278L181,278L180,277L180,275L179,274L179,272L179,279L180,280L180,282L181,283L181,287L182,288L182,294L183,295L183,301L184,302L184,305L185,306L185,308L186,309L186,311L185,312L185,313L184,314L184,315L182,317L182,318L181,319L181,320L180,321L180,322L179,323L179,324L177,326L177,327L176,328L176,329L175,330L175,331L174,332L174,333L172,335L172,336L171,337L171,338L170,339L170,340L168,342L168,343L167,344L167,345L166,346L166,347L165,348L165,349L166,348L166,347L168,345L169,345L170,344L171,344L172,343L173,344L173,346L171,348L171,349L170,350L170,351L169,352L169,353L166,356L167,357L167,356L170,353L170,352L171,351L171,350L174,347L174,346L176,344L177,344L181,340L181,339L182,338L183,338L184,339L184,340L183,341L184,340L184,339L186,337L186,336L188,334L188,333L189,332L189,331L190,330L190,329L191,328L191,327L193,325L193,324L194,323L194,322L195,321L195,320L197,318L197,317L198,316L198,315L199,314L199,313L200,312L200,311L202,309L202,308L203,307L203,306L210,299L210,298L214,294L214,293L218,289L218,288L222,284L222,283L225,280L225,279L228,276L228,275L231,272L231,271L234,268L234,267L237,264L237,263L240,260ZM332,249L329,252L330,252L331,251L332,251ZM171,249L171,250L172,250L172,249ZM92,247L92,250L94,252L95,251L96,251L96,247ZM220,248L219,247L219,246L218,245L217,245L216,246L212,246L209,249L209,250L211,252L212,252L213,253L215,253L216,252L217,252L218,251L219,251L220,250ZM396,240L395,241L394,241L393,242L391,242L390,243L389,243L388,244L386,244L385,245L384,245L383,246L380,246L379,247L376,247L375,248L373,248L372,249L371,249L370,250L368,250L367,251L365,251L364,252L363,252L362,253L360,253L359,254L357,254L356,255L354,255L353,256L352,256L351,255L351,254L349,256L348,256L347,257L346,257L345,258L343,258L342,259L340,257L341,256L341,255L342,254L342,252L343,251L342,252L342,253L341,254L341,255L339,257L339,259L337,261L336,261L335,262L334,262L334,263L335,264L335,266L334,267L334,268L335,269L334,270L334,271L333,272L333,273L332,274L332,275L331,276L331,278L330,279L330,280L329,281L329,282L328,283L327,283L326,284L326,286L325,287L324,287L325,288L325,291L324,292L324,293L323,294L323,296L322,297L322,298L321,299L321,300L320,301L320,302L319,303L319,304L318,305L318,306L316,308L315,308L315,311L313,313L313,314L312,315L312,316L314,314L317,314L318,315L318,319L317,320L317,321L315,323L315,324L314,325L314,327L313,328L314,327L314,326L315,325L315,324L316,323L316,322L318,320L318,318L320,316L321,317L321,319L322,320L322,319L328,313L330,313L331,312L332,312L333,311L335,311L336,310L337,310L338,309L340,309L341,308L343,308L344,307L347,307L348,306L349,306L350,305L353,305L354,304L355,304L356,303L357,303L358,302L360,302L361,301L362,301L363,300L364,300L363,300L362,301L360,301L359,300L361,298L362,298L363,297L364,297L368,293L369,293L367,293L366,292L368,290L369,290L370,289L372,289L373,288L374,288L375,287L376,287L374,287L373,288L371,288L370,289L368,289L367,290L364,290L363,291L361,291L360,292L358,292L357,293L355,293L354,294L351,294L350,295L349,295L348,296L346,296L345,297L343,297L342,298L340,298L339,299L337,299L336,300L335,300L334,299L334,298L335,297L335,296L336,295L336,294L337,293L337,291L340,288L342,288L343,287L344,287L345,286L347,286L348,285L350,285L351,284L353,284L354,283L356,283L357,282L358,282L359,281L359,279L360,278L361,278L364,275L363,275L362,274L365,271L367,271L367,270L366,271L364,271L363,272L361,272L360,273L357,273L356,274L354,274L353,275L352,275L351,276L348,276L347,277L345,277L344,276L345,275L345,273L346,272L346,271L347,270L347,269L348,268L349,268L350,267L352,267L353,266L355,266L356,265L357,265L358,264L360,264L361,263L362,263L363,262L365,262L366,261L367,261L368,260L372,260L373,259L374,259L375,258L376,258L377,257L378,257L379,256L381,256L382,255L381,255L380,256L378,256L377,255L379,253L380,253L381,252L382,252L386,248L385,249L383,249L382,248L384,246L385,246L386,245L388,245L389,244L390,244L391,243L392,243L393,242L394,242L395,241L396,241ZM173,237L173,239L174,239L174,238ZM354,232L351,232L348,235L349,235L352,232L353,233L353,234L352,235L354,233ZM148,228L149,229L149,230L148,231L147,231L146,230ZM147,226L145,228L145,230L147,232L149,232L150,231L150,230L151,229L148,226ZM198,223L196,223L195,224L195,225L194,226L194,228L192,230L192,233L191,234L191,236L190,237L190,239L189,240L189,241L188,242L188,243L186,245L186,248L185,249L185,250L184,251L184,253L183,254L183,255L184,254L184,252L186,250L187,251L187,252L187,251L188,250L188,249L189,248L189,244L190,243L190,241L192,239L193,239L194,240L194,243L194,238L195,237L195,236L196,235L196,229L197,228L197,226L198,225ZM276,217L275,218L275,220L276,221L277,220L277,218ZM166,214L166,215L167,216L166,217L165,217L164,216L164,215L163,216L163,221L165,223L168,223L169,222L170,222L171,221L171,219L172,218L171,217L171,216L170,215L169,215L168,214ZM102,201L101,202L101,203L100,204L100,205L99,206L99,209L101,211L101,212L102,213L107,213L108,214L109,214L110,213L110,212L112,210L112,204L109,201ZM199,184L199,185L200,186L200,188L198,190L198,191L197,192L197,197L198,198L198,199L201,202L201,203L200,204L200,210L199,211L199,212L198,213L198,216L197,217L198,216L199,217L200,216L200,213L201,212L201,210L202,209L202,208L203,207L203,206L204,205L204,204L205,203L209,203L210,202L211,202L212,201L212,200L213,199L213,198L214,197L214,196L213,195L214,194L214,192L212,190L212,189L211,188L210,188L209,187L208,187L207,186L203,186L202,187ZM189,171L189,172L190,173L191,173L191,172L190,171ZM165,149L165,150L164,151L164,152L165,153L165,154L169,154L169,150L168,149Z`,crownPath:`M150,261L147,261L146,262L144,262L143,263L141,263L140,264L138,264L137,265L135,265L134,266L132,266L131,267L130,267L129,268L127,268L126,269L124,269L123,270L121,270L120,271L119,271L118,272L116,272L115,273L114,273L113,274L112,274L110,276L111,276L112,277L114,277L115,276L116,276L117,275L119,275L120,274L122,274L123,273L125,273L126,272L128,272L129,271L130,271L131,270L133,270L134,269L136,269L137,268L139,268L140,267L142,267L143,266L145,266L146,265L148,265L149,264L150,264ZM100,254L100,255L103,258L103,259L104,260L104,261L106,263L106,264L107,265L107,266L109,268L109,269L110,270L110,271L111,270L112,270L113,269L113,268L111,266L111,265L110,264L112,262L113,263L114,263L115,264L117,264L119,266L120,266L121,265L122,265L123,264L123,250L124,249L129,254L129,255L134,260L134,261L135,260L137,260L138,259L138,257L139,256L139,255L140,254L140,253L141,252L141,251L142,250L142,249L143,248L145,250L145,258L146,258L147,257L148,257L148,252L147,251L147,241L146,240L146,236L145,237L145,238L143,240L143,241L141,243L141,244L139,246L139,247L138,248L138,249L137,250L137,251L135,253L132,250L132,249L128,245L128,244L125,241L125,240L121,236L121,235L117,231L117,230L116,229L116,240L117,241L117,259L116,260L115,259L112,259L111,258L109,258L108,257L107,257L106,256L104,256L103,255L101,255Z`},Sd=Object.freeze({...xd,path:xd.wordmarkPath+xd.crownPath}),Cd=[0,45,105,145,225,265,335,380,475,520,610,650,750,790,890,940,1e3],wd=[1,0,.6,1,0,.45,0,.9,0,.65,0,1,0,.55,.75,0];function Td(e,t,n){let r=(e^Math.imul(t+1,2654435769)^Math.imul(n,2246822507))>>>0;return r=Math.imul(r^r>>>16,569420461),r=Math.imul(r^r>>>15,1935289751),((r^r>>>15)>>>0)/4294967296}function Ed(e,t=0){if(!Number.isFinite(e)||e<0||e>=1e3)return;let n=Cd.length-1;for(;e<Cd[n];)n--;let r=wd[n];if(!r)return{x:0,y:0,rotation:0};let i=Td(t,n,1)<.5?-1:1;return{x:Math.round(i*(3+Td(t,n,2)*3)*r),y:Math.round((Td(t,n,3)*4-2)*r),rotation:Math.round((Td(t,n,4)*2-1)*r*4)*Math.PI/720}}function Dd({hovered:e,breakable:t=!1,animateOnEnter:n=!1,...r}){let i=it(null),[a,o]=at(!1),[s,c]=at(n),l=(e??a)||s;return nt(()=>{if(c(n),!n)return;let e=window.setTimeout(()=>c(!1),1e3);return()=>window.clearTimeout(e)},[n]),nt(()=>{let e=i.current;if(!e||!l)return;let t=window.matchMedia(`(prefers-reduced-motion: reduce)`),n=Math.floor(Math.random()*4294967296),r=performance.now(),a,o=()=>{if(clearTimeout(a),t.matches){e.style.removeProperty(`transform`);return}let i=performance.now()-r,s=i%1e3,c=Ed(s,n+Math.floor(i/1e3));c&&(e.style.transform=`translate(${c.x*.28}px, ${c.y*.28}px) rotate(${c.rotation}rad)`);let l=Cd.find(e=>e>s)??1e3;a=setTimeout(o,Math.max(1,l-s))};return o(),t.addEventListener(`change`,o),()=>{clearTimeout(a),e.style.removeProperty(`transform`),t.removeEventListener(`change`,o)}},[l]),Q(`svg`,{...r,ref:i,viewBox:Sd.viewBox,role:r.role??`img`,"aria-label":r[`aria-label`]??`Joy Ride`,"data-jr-breakable":t||void 0,"data-jr-combustible":t||void 0,style:{overflow:`visible`,transformOrigin:`center`,...r.style},onPointerEnter:e=>{o(!0),r.onPointerEnter?.(e)},onPointerLeave:e=>{o(!1),r.onPointerLeave?.(e)},children:[Z(`path`,{d:Sd.wordmarkPath,fill:`currentColor`,fillRule:`evenodd`}),Z(`path`,{d:Sd.crownPath,fill:`var(--joy-logo-accent, var(--drive-accent, #d63228))`,fillRule:`evenodd`})]})}function Od(){return Q(te,{variant:`outline`,size:`default`,className:`w-full justify-center`,nativeButton:!1,render:Z(`a`,{href:`https://github.com/jakiestfu/joy-ride`,target:`_blank`,rel:`noreferrer`}),children:[Z(Ut,{"aria-hidden":`true`}),`GitHub`]})}var kd=`.joy-pause-menu{--pause-accent:var(--joy-ride-accent-color,var(--primary));--pause-accent-foreground:var(--joy-ride-accent-foreground,var(--primary-foreground));--joy-logo-accent:var(--pause-accent);--font-sans:var(--jr-dialog-font-family,"Inter Variable", sans-serif);--pause-inset:20px;--text-xs:10px;--text-sm:12px;--text-base:13px;z-index:2;pointer-events:auto;color:var(--foreground);font-family:var(--font-sans);outline:none;font-size:12px;position:fixed}.joy-pause-frame{border:1px solid var(--border);background:var(--background);width:100%;height:100%;display:flex;overflow:hidden;box-shadow:0 24px 80px #0005}.joy-pause-layout{--pause-sidebar-width:160px;align-items:stretch;height:100%;min-height:0}.joy-pause-sidebar{border-right:1px solid var(--sidebar-border);flex-shrink:0}.joy-pause-brand{justify-content:center;align-items:flex-start;min-height:100px;padding:18px 16px 12px}.joy-pause-logo-backing{isolation:isolate;place-items:center;width:138px;height:76px;display:grid;position:relative;left:-8px}.joy-pause-logo-backing:before{content:"";z-index:-1;background:var(--sidebar);pointer-events:none;position:absolute;inset:-8px;-webkit-mask:url(`+new URL(`../embed-assets/logo-backing-DQNUb3C2.svg`,import.meta.url).href+`) 50%/100% 100% no-repeat;mask:url(`+new URL(`../embed-assets/logo-backing-DQNUb3C2.svg`,import.meta.url).href+`) 50%/100% 100% no-repeat}.joy-pause-logo{width:124px;height:76px;display:block;overflow:visible}.joy-pause-sidebar [data-slot=sidebar-menu]{gap:5px}.joy-pause-sidebar [data-slot=sidebar-group]{padding:16px 10px}.joy-pause-sidebar [data-slot=sidebar-menu-button]{min-height:38px;padding-inline:12px;font-weight:550}.joy-pause-sidebar [data-slot=sidebar-menu-button][data-active=true]{font-weight:650}.joy-pause-sidebar-footer{align-items:stretch;padding:10px 12px 14px}.joy-pause-workspace{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.joy-pause-header{padding:18px var(--pause-inset) 16px;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;display:flex}.joy-pause-header[data-documentation]{border-bottom:1px solid var(--border);padding-bottom:18px}.joy-pause-header[data-dragging]{cursor:grabbing}.joy-pause-header:focus-visible{outline:2px solid var(--ring);outline-offset:-3px}.joy-pause-heading{min-width:0}.joy-pause-heading h1{letter-spacing:-.04em;margin:0;font-size:22px;font-weight:650;line-height:1.25}.joy-pause-header-actions{flex:none;align-items:center;gap:8px;display:flex}.joy-pause-documentation-search{align-items:center;gap:8px;width:min(28vw,280px);min-width:0;margin-right:4px;display:flex}@media (width<=800px){.joy-pause-header[data-documentation]{flex-wrap:wrap}.joy-pause-header[data-documentation] .joy-pause-header-actions{width:100%}.joy-pause-documentation-search{flex:1;width:auto}.joy-pause-documentation-search .joy-docs-results{width:min(320px,100vw - 130px);left:0;right:auto}}.joy-pause-content,.joy-pause-body{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.joy-pause-panels{min-width:0}.joy-pause-panels>section{padding:2px var(--pause-inset) 16px}.joy-pause-panels>section>section+section{margin-top:16px}.joy-pause-settings-main>label{grid-template-columns:minmax(110px,.8fr) minmax(0,1fr);align-items:center;gap:20px;font-size:12px;font-weight:500;display:grid}.joy-pause-settings-main>label+label{margin-top:14px}.joy-pause-audio{grid-template-columns:minmax(110px,.8fr) minmax(0,1fr);align-items:center;gap:20px;display:grid}.joy-pause-audio>div{align-items:center;gap:14px;display:flex}.joy-pause-audio [data-slot=slider]{flex:1;min-width:0}.joy-pause-audio output{text-align:right;min-width:3ch;color:var(--muted-foreground);font-size:12px}.joy-pause-tool{border-radius:var(--radius-lg);border:0;padding:8px 0}.joy-pause-vehicle-image{place-items:center;height:160px;display:grid}.joy-pause-vehicle-image img{object-fit:contain;max-width:220px;max-height:140px}.joy-pause-vehicle-image svg{width:180px}.joy-pause-vehicle-name{margin:6px 0;font-size:17px;font-weight:600;line-height:1.4;display:block}.joy-pause-vehicle-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;margin-top:16px;display:grid}.joy-pause-vehicle-stats>div>span{color:var(--muted-foreground);font-size:11px}.joy-pause-footer{padding:12px var(--pause-inset) 16px;flex-shrink:0;justify-content:flex-end;display:flex}.joy-pause-footer-actions{gap:10px;display:flex}.joy-pause-close-button{background:var(--pause-accent);color:var(--pause-accent-foreground)}.joy-pause-close-button:hover{background:color-mix(in srgb, var(--pause-accent) 82%, var(--foreground));color:var(--pause-accent-foreground)}@media (width<=600px){.joy-pause-menu{--pause-inset:16px}.joy-pause-layout{--pause-sidebar-width:62px}.joy-pause-brand{min-height:86px;padding:16px 5px}.joy-pause-logo-backing{width:52px;height:42px;left:-2px}.joy-pause-logo{width:50px;height:40px}.joy-pause-sidebar [data-slot=sidebar-group]{padding-inline:8px}.joy-pause-sidebar [data-slot=sidebar-menu-button]{justify-content:center;height:40px;padding:8px}.joy-pause-sidebar [data-slot=sidebar-menu-button]>span{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.joy-pause-sidebar-footer{align-items:stretch;gap:10px;padding:12px 6px}.joy-pause-sidebar-footer [data-slot=button]{gap:0;width:100%;padding:0;font-size:0}.joy-pause-header{gap:8px;padding-top:14px;padding-bottom:14px}.joy-pause-heading h1{font-size:21px}.joy-pause-header-actions{gap:4px}.joy-pause-settings-main>label,.joy-pause-audio{grid-template-columns:minmax(0,1fr);gap:8px}.joy-pause-vehicle-image img{max-width:165px}.joy-pause-vehicle-image{height:135px}.joy-pause-vehicle-stats{grid-template-columns:minmax(0,1fr)}}@media (height<=600px){.joy-pause-header{padding-block:16px}.joy-pause-footer{padding-block:12px}.joy-pause-brand{min-height:90px}}`,Ad=`.joy-docs-prose :is(h2,h3,h4){color:var(--foreground);letter-spacing:-.025em;scroll-margin-top:20px;font-weight:600;line-height:1.35}.joy-docs-prose h2{margin:0 0 12px;font-size:24px}.joy-docs-prose h3{border-top:1px solid var(--border);margin:32px 0 12px;padding-top:20px;font-size:16px}.joy-docs-prose h4{margin:24px 0 8px;font-size:13px}.joy-docs-prose :is(h2,h3,h4):focus{outline:none}.joy-docs-prose :is(h2,h3,h4):focus-visible{outline:2px solid var(--ring);outline-offset:4px}.joy-docs-prose p{max-width:74ch;margin:12px 0}.joy-docs-prose :is(ul,ol){max-width:74ch;margin:14px 0;padding-left:22px}.joy-docs-prose ul{list-style:outside}.joy-docs-prose ol{list-style:decimal}.joy-docs-prose li{margin-block:5px}.joy-docs-prose strong{color:var(--foreground);font-weight:600}.joy-docs-prose a{color:var(--foreground);text-underline-offset:3px;text-decoration:underline}.joy-docs-prose a:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.joy-docs-prose a.joy-docs-property-link,.joy-docs-table a{color:inherit;text-decoration:none}.joy-docs-prose a.joy-docs-property-link:hover,.joy-docs-table a:hover{text-decoration:underline}.joy-docs-prose :not(pre)>code{color:var(--foreground);background:var(--muted);border-radius:var(--radius-sm);padding:2px 4px;font-family:ui-monospace,monospace;font-size:.9em}.joy-docs-prose blockquote{border-left:2px solid var(--border);color:var(--muted-foreground);margin:18px 0;padding:4px 16px}.joy-docs-prose [data-slot=code-block]{max-width:100%;margin-block:16px}.joy-docs-table :is(th,td):first-child{white-space:nowrap}.joy-pause-panels[data-documentation]{overflow:clip}.joy-pause-menu[data-documentation] .joy-pause-header{padding-bottom:28px}.joy-pause-menu[data-documentation] .joy-pause-footer{padding-block:8px}@media (width<=800px){.joy-docs-prose h2{font-size:21px}}`,jd={name:`@joy-ride/ui`,version:`0.25.0`,type:`module`,private:!1,dependencies:{"@base-ui/react":`^1.9.0`,"@joy-ride/browser":`workspace:*`,"@joy-ride/engine":`workspace:*`,"@phosphor-icons/react":`^2.1.10`,"class-variance-authority":`^0.7.1`,cn:`^0.5.0`,"mdast-util-to-string":`^4.0.0`,react:`19.3.1`,"react-dom":`19.3.1`,"react-markdown":`^10.1.0`,"remark-gfm":`^4.0.1`,"remark-parse":`^11.0.0`,shadcn:`^4.23.0`,"sugar-high":`^2.6.4`,"tw-animate-css":`^1.4.0`,unified:`^11.0.5`},exports:{".":{source:`./src/index.ts`,types:`./src/index.ts`,import:`./lib/index.js`,default:`./lib/index.js`},"./embed-core":{source:`./src/embed-core.ts`,types:`./src/embed-core.ts`,import:`./lib/embed-core.js`,default:`./lib/embed-core.js`},"./vehicle-popover":{source:`./src/vehicle-popover.ts`,types:`./src/vehicle-popover.ts`,import:`./lib/vehicle-popover.js`,default:`./lib/vehicle-popover.js`},"./controls":{source:`./src/controls.ts`,types:`./src/controls.ts`,import:`./lib/controls.js`,default:`./lib/controls.js`},"./documentation":{source:`./src/documentation.ts`,types:`./src/documentation.ts`,import:`./lib/documentation.js`,default:`./lib/documentation.js`},"./documentation.css":`./src/components/documentation/Documentation.css`,"./theme":{source:`./src/theme.ts`,types:`./src/theme.ts`,import:`./lib/theme.js`,default:`./lib/theme.js`},"./theme.css":`./src/components/ui/theme.css`,"./brand":{source:`./src/brand.ts`,types:`./src/brand.ts`,import:`./lib/brand.js`,default:`./lib/brand.js`},"./code-block":{source:`./src/components/documentation/CodeBlock.tsx`,types:`./src/components/documentation/CodeBlock.tsx`,import:`./lib/code-block.js`,default:`./lib/code-block.js`},"./vehicle-hint":{source:`./src/components/overlays/VehicleHint.tsx`,types:`./src/components/overlays/VehicleHint.tsx`,import:`./lib/vehicle-hint.js`,default:`./lib/vehicle-hint.js`},"./styles.css":{source:`./src/styles.css`,default:`./lib/styles.css`},"./brand/logo":{source:`./src/brand/logo.ts`,types:`./src/brand/logo.ts`,import:`./lib/brand/logo.js`,default:`./lib/brand/logo.js`}},scripts:{logo:`node scripts/sync-logo.ts`,build:`vite build`,dev:`vite build --watch --emptyOutDir false`},sideEffects:[`**/*.css`],devDependencies:{vite:`8.3.5`}},Md=14,Nd=(e,t,n)=>Math.max(t,Math.min(n,e));function Pd(e,t={width:480,height:560},n={x:0,y:0}){let r=Math.min(Md,e.width/2,e.height/2),i=Math.min(t.width,Math.max(0,e.width-r*2)),a=Math.min(t.height,Math.max(0,e.height-r*2));return{width:i,height:a,left:Nd((e.width-i)/2+n.x,r,e.width-r-i),top:Nd((e.height-a)/2+n.y,r,e.height-r-a)}}function Fd({styles:e,theme:t=`auto`,size:n,onEscape:r,onReset:i,shortcutsEnabled:a}){let o=it(e),[s,c]=at(null),[l,u]=at(()=>({width:window.innerWidth,height:Math.min(window.innerHeight,window.visualViewport?.height??window.innerHeight)})),[d,f]=at({x:0,y:0}),[p,m]=at(!1),h=it(null),g=it(null);rt(()=>{let e=document.createElement(`div`);e.dataset.jrUi=``,e.dataset.jrPopoverHost=``,e.style.cssText=`position:fixed;inset:0;z-index:${y(`dialog`)};pointer-events:none`;let n=e.attachShadow({mode:`open`}),r=document.createElement(`style`);r.dataset.jrDialogStyles=``,r.textContent=o.current,n.append(r);let i=E(e,t);return document.body.append(e),c(n),()=>{i(),e.remove()}},[t]),rt(()=>{let t=s?.querySelector(`style`);t&&(t.textContent=e)},[s,e]),nt(()=>{let e=()=>u({width:window.innerWidth,height:Math.min(window.innerHeight,window.visualViewport?.height??window.innerHeight)});window.addEventListener(`resize`,e),window.visualViewport?.addEventListener(`resize`,e);let t=e=>{e.defaultPrevented||(e.key===`Escape`?(e.preventDefault(),e.stopPropagation(),r()):e.repeat||e.metaKey||e.ctrlKey||e.altKey||b(e)||a&&e.code===`KeyC`&&(e.preventDefault(),e.stopPropagation(),i()))};return document.addEventListener(`keydown`,t),()=>{window.removeEventListener(`resize`,e),window.visualViewport?.removeEventListener(`resize`,e),document.removeEventListener(`keydown`,t)}},[r,i,a]),nt(()=>{if(!s)return;let e=document.activeElement;for(;e?.shadowRoot?.activeElement;)e=e.shadowRoot.activeElement;let t=document.documentElement,n=t.style.overflow,r=t.style.scrollbarGutter;getComputedStyle(t).scrollbarGutter===`auto`&&(t.style.scrollbarGutter=`stable`),t.style.overflow=`hidden`;let i=requestAnimationFrame(()=>h.current?.focus({preventScroll:!0})),a=e=>{if(e.key!==`Tab`||e.ctrlKey||e.metaKey||e.altKey)return;let t=[...s.querySelectorAll(`button,a[href],input,select,textarea,[tabindex]`)].filter(e=>e.tabIndex>=0&&!e.matches(`:disabled,[aria-hidden="true"]`)&&e.getClientRects().length&&getComputedStyle(e).visibility!==`hidden`),n=s.activeElement;for(;n?.shadowRoot?.activeElement;)n=n.shadowRoot.activeElement;t.length?(!n||!s.contains(n)||n===h.current||(e.shiftKey?n===t[0]:n===t.at(-1)))&&(e.preventDefault(),(e.shiftKey?t.at(-1):t[0])?.focus()):(e.preventDefault(),h.current?.focus())};return document.addEventListener(`keydown`,a,!0),()=>{cancelAnimationFrame(i),document.removeEventListener(`keydown`,a,!0),t.style.overflow=n,t.style.scrollbarGutter=r,e instanceof HTMLElement&&e.isConnected&&e.focus({preventScroll:!0})}},[s]);let _=Pd(l,n,d);return{portalRoot:s,dialogRef:h,placement:_,dragging:p,headerProps:{onPointerDown:e=>{e.button!==0||e.target instanceof Element&&e.target.closest(`button,a,input,select,textarea,[role="button"]`)||(e.preventDefault(),g.current={pointer:e.pointerId,x:e.clientX,y:e.clientY,offset:{x:_.left-(l.width-_.width)/2,y:_.top-(l.height-_.height)/2}},e.currentTarget.setPointerCapture(e.pointerId),m(!0))},onPointerMove:e=>{let t=g.current;t&&t.pointer===e.pointerId&&f({x:t.offset.x+e.clientX-t.x,y:t.offset.y+e.clientY-t.y})},onPointerUp:e=>{g.current?.pointer===e.pointerId&&(g.current=null,m(!1),e.currentTarget.hasPointerCapture(e.pointerId)&&e.currentTarget.releasePointerCapture(e.pointerId))},onLostPointerCapture:()=>{g.current=null,m(!1)},onKeyDown:e=>{if(e.target!==e.currentTarget)return;let t=e.shiftKey?20:8,n={ArrowLeft:[-t,0],ArrowRight:[t,0],ArrowUp:[0,-t],ArrowDown:[0,t]};if(e.key!==`Home`&&!n[e.key])return;e.preventDefault(),e.stopPropagation();let[r,i]=n[e.key]??[0,0];f(e.key===`Home`?{x:0,y:0}:{x:_.left-(l.width-_.width)/2+r,y:_.top-(l.height-_.height)/2+i})}}}}var Id=X.createContext(void 0);function Ld(){let e=X.useContext(Id);if(e===void 0)throw Error(ge(51));return e}var Rd=`data-complete`,zd=`data-indeterminate`,Bd=`data-progressing`,Vd={status(e){return e===`progressing`?{[Bd]:``}:e===`complete`?{[Rd]:``}:e===`indeterminate`?{[zd]:``}:null}},Hd=X.forwardRef(function(e,t){let{format:n,getAriaValueText:r,locale:i,max:a=100,min:o=0,value:s,render:c,className:l,children:u,style:d,...f}=e,[p,m]=X.useState(),h=`indeterminate`,g=null,_=null,v=``,y=`indeterminate progress`;if(s!=null&&Number.isFinite(s)){let e=Ha(s,o,a);g=ta(Number.isNaN(e)?0:e,0,100),_=ta(s,o,a),h=_===a?`complete`:`progressing`,v=n?_a(_,i,n):_a(g/100,i,{style:`percent`}),y=v}let b=X.useMemo(()=>({status:h}),[h]),x={"aria-labelledby":p,"aria-valuemax":a,"aria-valuemin":o,"aria-valuenow":_??void 0,"aria-valuetext":r?r(v,s):y,role:`progressbar`,children:Q(X.Fragment,{children:[u,Z(`span`,{role:`presentation`,style:Ni,children:`x`})]})},S=X.useMemo(()=>({formattedValue:v,percentageValue:g,setLabelId:m,state:b,value:s}),[v,g,m,b,s]),C=K(`div`,e,{state:b,ref:t,props:[x,f],stateAttributesMapping:Vd});return Z(Id.Provider,{value:S,children:C})}),Ud=X.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,{state:o}=Ld();return K(`div`,e,{state:o,ref:t,props:a,stateAttributesMapping:Vd})}),Wd=X.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,{percentageValue:o,state:s}=Ld(),c=o==null?{}:{insetInlineStart:0,height:`inherit`,width:`${o}%`};return K(`div`,e,{state:s,ref:t,props:[{style:c},a],stateAttributesMapping:Vd})}),Gd=X.forwardRef(function(e,t){let{className:n,render:r,children:i,style:a,...o}=e,{value:s,formattedValue:c,state:l}=Ld(),u=l.status===`indeterminate`;return K(`span`,e,{state:l,ref:t,props:[{"aria-hidden":!0,children:typeof i==`function`?i(u?`indeterminate`:c,s):u?null:c},o],stateAttributesMapping:Vd})}),Kd=X.forwardRef(function(e,t){let{render:n,className:r,style:i,id:a,...o}=e,{setLabelId:s,state:c}=Ld(),l=ni(a,s);return K(`span`,e,{state:c,ref:t,props:[{id:l,role:`presentation`},o],stateAttributesMapping:Vd})});function qd({className:e,children:t,value:n,...r}){return Q(Hd,{value:n,"data-slot":`progress`,className:q(`flex flex-wrap gap-3`,e),...r,children:[t,Z(Jd,{children:Z(Yd,{})})]})}function Jd({className:e,...t}){return Z(Ud,{className:q(`relative flex h-1 w-full items-center overflow-x-hidden rounded-full bg-muted`,e),"data-slot":`progress-track`,...t})}function Yd({className:e,...t}){return Z(Wd,{"data-slot":`progress-indicator`,className:q(`h-full bg-primary transition-all`,e),...t})}function Xd({className:e,...t}){return Z(Kd,{className:q(`text-sm font-medium`,e),"data-slot":`progress-label`,...t})}function Zd({className:e,...t}){return Z(Gd,{className:q(`ml-auto text-sm text-muted-foreground tabular-nums`,e),"data-slot":`progress-value`,...t})}function Qd(e,t){return{throttle:+!!e,steer:0,action:t&&!e,boost:!1}}var $d=class{sim=new l;revSeconds=0;constructor(e){this.reset(e)}reset(e){this.revSeconds=0,this.sim.setMode(`car`),this.sim.setPreset(e),this.sim.barrier=!1,this.sim.body.position={x:0,y:0},this.sim.body.velocity={x:0,y:0},this.sim.body.angle=0,this.sim.body.spin=0}rev(){this.revSeconds=.25}step(e,t,n=!1,r=!0){let i=t===`engine`||this.revSeconds>0,a=Qd(i,!1);n&&i&&r&&(this.sim.body.velocity.x+=(24-this.sim.body.velocity.x)*(1-Math.exp(-e*5))),r&&(this.revSeconds=Math.max(0,this.revSeconds-e),this.sim.tick(a,e));let o=u(this.sim.body.velocity);return{controls:a,speedMps:o,active:i||t===`horn`||o>.45}}};function ef({preset:e,point:t=null,onPlace:n,availableTools:r,masterVolume:i=1,showVehicleNames:a=!0}){let p=it(null),m=it(null),[h,g]=at(()=>typeof document<`u`&&document.documentElement.classList.contains(`dark`));rt(()=>{let e=p.current?.getRootNode(),t=e instanceof ShadowRoot?e.host:document.documentElement,n=()=>g(t.classList.contains(`dark`));n();let r=new MutationObserver(n);return r.observe(t,{attributes:!0,attributeFilter:[`class`]}),()=>r.disconnect()},[]);let[_,v]=at(`idle`),[y,b]=at(null),[x,S]=at(0),[C,w]=at(null),[T,E]=at(null),D=it(null),O=it(null),k=e.image?.src??null,A=!!k&&T===k,j=!!k&&C!==k&&!A,M=it(``),N=i>0?i:.65,P=_===`boosting`&&!r.includes(`boost`)||_===`firing`&&!r.includes(`machineGun`)||_===`rocket`&&!r.includes(`rocket`)?`idle`:_,F=it({preset:e,point:t,dark:h,state:_,held:y,masterVolume:i});F.current={preset:e,point:t,dark:h,state:P,held:y,masterVolume:N};let I=()=>{b(null),m.current?.sound?.setHorn(!1)};nt(()=>{let e=p.current;if(!e)return;let t=new l;t.setMode(`car`),t.setPreset(F.current.preset),t.barrier=!1;let n=new d(`preview`,t),r=new f(e,!1,`high`,!0);r.deadZone=!1,r.cameraSmoothing=0,r.setTireSmokeEnabled(!1),r.setScreenShakeEnabled(!1);let i=new $d(F.current.preset);m.current={renderer:r,vehicle:n,sound:null,audioMotion:i};let a=0,o=0,h=0,g=0,_=l=>{if(a=requestAnimationFrame(_),document.hidden||!e.clientWidth||!e.clientHeight){o=l;return}let d=Math.min(1/30,Math.max(0,(l-(o||l))/1e3));o=l;let f=F.current,p=m.current?.sound,v=f.state===`boosting`||f.held===`engine`,y=Qd(v,f.dark);v?f.state===`boosting`&&(t.body.velocity={x:t.body.velocity.x+(24-t.body.velocity.x)*(1-Math.exp(-d*5)),y:0}):t.body.velocity={x:0,y:0},t.tick(y,d,p?.rpm);let b=u(t.body.velocity);l-h>=100&&(S(Math.round(b*2.236936)),h=l),t.body.angle=0,t.body.spin=0;let x=i.step(d,f.held,f.state===`boosting`,p?.rpm!=null);p?.setActive(x.active),p?.setMasterVolume(f.masterVolume),p?.setHorn(f.held===`horn`),p?.update(d,x.controls,x.speedMps),p&&r.queueExhaustPops(p.takeExhaustPops()),t.lastInput={...y,machineGun:f.state===`firing`},n.weapons.rocket.previewOpen=f.state===`rocket`,g+=d,f.state===`boosting`&&!f.preset.sound.electric&&g>=.08&&(r.queueExhaustPops([.95]),g=0),r.setSurfaceTone(f.dark?`dark`:`light`);let C=Math.min(e.clientWidth/(28*Math.max(6.8,f.preset.geometry.lengthM+2.4)),e.clientHeight/(28*Math.max(4.8,f.preset.geometry.widthM+2.6)));r.setCanvasWorldScale(C,4),r.advanceEffects(n,d,{driven:!1});let T=r.vehicleImageLoadState(f.preset);if(T===`ready`)r.render(n,l),f.preset.image?.src&&D.current!==f.preset.image.src&&(D.current=f.preset.image.src,w(f.preset.image.src));else if(T===`failed`&&f.preset.image?.src){let e=f.preset.image.src;O.current!==e&&(O.current=e,E(e))}if(f.point){let n=e.getContext(`2d`),i=f.preset.geometry,a=c(f.preset),o,l,u=f.point;u===`front`||u===`rear`?(o=u===`front`?i.frontAxleXM??i.wheelbaseM/2:i.rearAxleXM??-i.wheelbaseM/2,l=(u===`front`?i.frontTrackWidthM??i.trackWidthM:i.rearTrackWidthM??i.trackWidthM)/2):u===`headlights`||u===`taillights`?{xM:o,yM:l}=a[u]:u===`door`?(o=s(f.preset).xM,l=i.widthM*.43):{xM:o,yM:l}=f.preset.roofRocket,n.save(),n.setTransform(e.width/e.clientWidth,0,0,e.height/e.clientHeight,0,0);for(let e of u===`roof`?[1]:[-1,1]){let i=r.viewportFromDocument(r.documentPoint(t.body.world({x:o,y:l*e})));n.beginPath(),n.arc(i.x,i.y,7,0,Math.PI*2),n.fillStyle=`#fff`,n.fill(),n.strokeStyle=`#18181b`,n.lineWidth=2,n.stroke(),n.beginPath(),n.arc(i.x,i.y,12,0,Math.PI*2),n.strokeStyle=f.dark?`#fff9`:`#18181b88`,n.lineWidth=1,n.stroke()}n.restore()}};a=requestAnimationFrame(_);let v=()=>{b(null),m.current?.sound?.setHorn(!1)},y=()=>{v(),i.reset(F.current.preset),m.current?.sound?.setActive(!1)};return window.addEventListener(`blur`,y),document.addEventListener(`visibilitychange`,y),window.addEventListener(`pointerup`,v),window.addEventListener(`pointercancel`,v),()=>{cancelAnimationFrame(a),window.removeEventListener(`blur`,y),window.removeEventListener(`pointerup`,v),window.removeEventListener(`pointercancel`,v),document.removeEventListener(`visibilitychange`,y),m.current?.sound?.dispose(),r.dispose(),n.dispose(),m.current=null}},[]),nt(()=>{I();let t=m.current;if(!t)return;t.vehicle.setPreset(e),t.audioMotion.reset(e),t.sound?.setActive(!1);let n=JSON.stringify(e.sound);M.current!==n&&(t.sound?.setPreset(e),M.current=n)},[e]);let L=t=>{let n=m.current;n&&(n.sound||=new o(e,{idleSound:!1,masterVolume:N}),t===`engine`&&n.audioMotion.rev(),n.sound.setActive(!0),n.sound.start(),n.sound.setHorn(t===`horn`),b(t))},R=e=>({onPointerDown:t=>{t.button===0&&(t.currentTarget.setPointerCapture(t.pointerId),L(e))},onPointerUp:I,onPointerCancel:I,onLostPointerCapture:I,onBlur:I,onKeyDown:t=>{(t.key===` `||t.key===`Enter`)&&(t.preventDefault(),t.repeat||L(e))},onKeyUp:e=>{(e.key===` `||e.key===`Enter`)&&(e.preventDefault(),I())},"aria-pressed":y===e});return Q(`div`,{className:`grid min-w-0 gap-3`,children:[Z(ld,{value:P,onValueChange:e=>{I(),v(e)},children:Q(dd,{className:`w-full`,"aria-label":`Vehicle preview state`,children:[Z(fd,{value:`idle`,children:`Idle`}),r.includes(`boost`)&&Z(fd,{value:`boosting`,children:`Boosting`}),r.includes(`machineGun`)&&Z(fd,{value:`firing`,children:`Firing`}),r.includes(`rocket`)&&Z(fd,{value:`rocket`,children:`Rocket open`})]})}),Q(`div`,{className:`relative overflow-hidden rounded-xl border border-border`,style:{colorScheme:h?`dark`:`light`,backgroundColor:h?`#171b1d`:`#fafbfc`},children:[Z(`canvas`,{ref:p,className:`block h-[220px] w-full max-sm:h-[190px] ${n&&t?`cursor-crosshair`:``}`,style:{visibility:j||A?`hidden`:`visible`},role:`img`,"aria-label":`${a?e.name:`Vehicle`} ${_} preview${t?`; place ${t}`:``}`,onClick:r=>{if(!n||!t||!m.current)return;let i=r.currentTarget.getBoundingClientRect(),a=m.current.renderer,o=a.worldFromDocument(a.documentFromViewport({x:(r.clientX-i.left)/i.width*r.currentTarget.clientWidth,y:(r.clientY-i.top)/i.height*r.currentTarget.clientHeight})),s=e.geometry,c=m.current.vehicle.sim.body,l=o.x-c.position.x,u=o.y-c.position.y;Math.abs(l)<=s.lengthM/2&&Math.abs(u)<=s.widthM/2&&n(l,u)}}),j&&Z(`div`,{className:`absolute inset-0 grid place-items-center`,role:`status`,"aria-label":`Loading vehicle preview`,children:Z(It,{className:`h-8 w-8 animate-spin text-muted-foreground`,"aria-hidden":`true`})}),A&&Z(`div`,{className:`absolute inset-0 grid place-items-center text-xs text-muted-foreground`,role:`status`,children:`Preview unavailable`}),Z(te,{variant:`outline`,size:`icon-sm`,className:`absolute right-3 top-3 bg-background text-foreground`,onClick:()=>g(!h),"aria-label":h?`Use light preview surface`:`Use dark preview surface`,children:Z(h?qt:Gt,{})}),Z(`span`,{className:`pointer-events-none absolute bottom-3 left-3 text-[10px]`,style:{color:h?`#aaa`:`#737373`},children:h?`Night · lights auto`:`Day · lights auto`}),(P===`boosting`||y===`engine`)&&Q(`output`,{"aria-label":`Simulated speed`,className:`pointer-events-none absolute bottom-3 right-3 text-[10px] tabular-nums`,style:{color:h?`#aaa`:`#737373`},children:[x,` mph`]})]}),Q(`div`,{className:`flex flex-wrap items-center gap-2`,children:[Q(te,{variant:`outline`,size:`sm`,className:`touch-none select-none`,...R(`engine`),children:[Z(Bt,{}),` Engine`]}),Q(te,{variant:`outline`,size:`sm`,className:`touch-none select-none`,...R(`horn`),children:[Z(fe,{}),` Horn`]}),Z(`span`,{className:`text-xs text-muted-foreground`,children:`Press and hold to listen`})]})]})}function tf({preset:e,presets:t,tools:n,options:r,showVehicleNames:i,onSelectPreset:a}){let[o,s]=at(!1),c=Math.max(0,t.findIndex(t=>t.id===e.id)),l=e=>{let n=t[Math.max(0,Math.min(t.length-1,e))];n&&a(n)};return Q(`section`,{className:`joy-pause-vehicle-panel min-h-full text-sm`,children:[Q(`div`,{className:`mb-3 flex items-center justify-between gap-3 rounded-xl border border-border bg-muted/40 p-2.5`,children:[Q(te,{variant:`outline`,size:`sm`,onClick:()=>l(c-1),disabled:c===0,"aria-label":`Previous vehicle`,children:[Z(Nt,{}),` `,Z(`span`,{className:`hidden min-[601px]:inline`,children:`Previous`})]}),Q(`div`,{className:`min-w-0 text-center`,children:[Q(`span`,{className:`block whitespace-nowrap text-[10px] font-semibold uppercase tracking-wider text-muted-foreground`,children:[`Vehicle `,c+1,` of `,t.length]}),i&&Z(`strong`,{className:`block truncate text-sm`,children:e.name})]}),Q(`div`,{className:`flex shrink-0 items-center gap-1`,children:[Q(te,{variant:`outline`,size:`sm`,onClick:()=>l(c+1),disabled:c===t.length-1,"aria-label":`Next vehicle`,children:[`Next `,Z(Pt,{})]}),Z(te,{variant:`ghost`,size:`icon-sm`,"aria-label":o?`Back to vehicle`:`View all vehicles`,title:o?`Back to vehicle`:`View all vehicles`,"aria-pressed":o,onClick:()=>s(!o),children:Z(Kt,{})})]})]}),o?Z(`div`,{"aria-label":`All vehicles`,className:`grid grid-cols-2 gap-3 min-[601px]:grid-cols-4`,children:t.map((t,n)=>{let r=t.id===e.id;return Q(`button`,{type:`button`,"aria-pressed":r,"aria-label":`Select ${i?t.name:`vehicle ${n+1}`}`,onClick:()=>{a(t),s(!1)},className:`relative flex min-w-0 flex-col items-center rounded-xl border p-2 transition-colors focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring ${r?`border-primary bg-primary/10 ring-1 ring-primary`:`border-border bg-muted/20 hover:bg-muted/60`}`,children:[r&&Z(Ce,{"aria-label":`Selected`,className:`absolute top-2 right-2 size-4 text-primary`}),Z(`div`,{className:`flex h-36 w-full items-center justify-center overflow-hidden`,children:t.image?Z(`img`,{src:t.image.src,alt:``,className:`w-32 max-w-none rotate-90 object-contain`}):Q(`span`,{className:`text-xs text-muted-foreground`,children:[`Vehicle `,n+1]})}),i&&Z(`span`,{className:`min-h-8 w-full text-center text-[11px] leading-4`,children:t.name})]},t.id)})}):Q(lt,{children:[Z(ef,{preset:e,availableTools:n.map(e=>e.id),masterVolume:r.masterVolume,showVehicleNames:i}),Z(`div`,{className:`joy-pause-vehicle-stats`,children:S(e,t).map(e=>Q(qd,{value:e.value,className:`gap-1.5`,children:[Z(Xd,{className:`text-xs text-muted-foreground`,children:e.label}),Z(Zd,{className:`text-xs`})]},e.label))})]})]})}function nf({options:e,onChange:t,portalRoot:n}){let r=a.filter(e=>e.category===`game`&&e.visitor!==!1);return e.showGameSettings?Q(`section`,{"aria-label":`Game settings`,className:`min-h-full space-y-1 px-5 py-3 text-xs`,children:[Z(`p`,{className:`mb-3 text-muted-foreground`,children:`Adjust visuals, sound, performance, and playground rules.`}),r.map(r=>{let i=r.storage===`lighting`?g(e.lighting)[r.key]:e[r.key],a=n=>t(r.storage===`lighting`?{lighting:{...g(e.lighting),[r.key]:n}}:{[r.key]:n}),o=`settings-${r.key}`;return Q(`div`,{className:`flex items-center justify-between gap-5 border-b border-border/60 py-3 last:border-0`,children:[Q(`label`,{htmlFor:o,className:`grid min-w-0 gap-1 font-medium`,children:[Z(`span`,{children:r.label}),r.help&&Z(`span`,{className:`max-w-60 font-normal text-muted-foreground`,children:r.help})]}),Z(Gu,{entry:r,value:i,onChange:a,id:o,container:n})]},r.key)})]}):null}function rf(e,t){let n=new Set(e.map(e=>e.id));return x.flatMap(e=>{if(e.id===`boost`&&!n.has(`boost`))return[];if(!e.id.startsWith(`slot`))return[e];let r=t.find(({number:t})=>`slot${t}`===e.id);if(!r)return[];let i=p.find(({id:e})=>e===r.slot.action),a=r.slot.action===`eject`?`Pour ${r.slot.liquid}`:i?.label??`Use tool`;return[{...e,label:a}]})}function af({tools:e,assignments:t}){return Q(`section`,{className:`min-h-full text-sm`,children:[Z(`div`,{className:`mb-3 text-xs font-semibold text-muted-foreground`,children:`Keyboard shortcuts`}),Z(`div`,{className:`grid grid-cols-1 gap-x-7 gap-y-1 min-[601px]:grid-cols-2`,children:rf(e,t).map(e=>Q(`div`,{className:`flex min-w-0 items-center justify-between gap-2 border-b border-border/60 py-2`,children:[Z(`span`,{className:`text-muted-foreground`,children:e.label}),Z(_i,{className:`shrink-0`,children:e.keys.map((e,t)=>Q(`span`,{className:`inline-flex items-center gap-1`,children:[t>0&&Z(`span`,{"aria-hidden":`true`,children:`/`}),Z(gi,{children:e})]},e))})]},e.id))})]})}function of({tools:e}){return Q(`section`,{className:`min-h-full space-y-3 px-3 py-2.5 text-xs`,children:[Z(`h2`,{className:`font-mono text-xs font-semibold uppercase`,children:`Tools`}),Z(`p`,{className:`text-muted-foreground`,children:`Hold a shortcut while driving.`}),Z(`div`,{className:`grid gap-1.5`,children:e.map(e=>Q(`div`,{className:`joy-pause-tool flex items-center gap-2 rounded-sm border border-border px-2 py-1.5`,children:[Z(_i,{className:`shrink-0`,children:e.keys.map((e,t)=>Q(`span`,{className:`inline-flex items-center gap-1`,children:[t>0&&Z(`span`,{"aria-hidden":`true`,children:`/`}),Z(gi,{children:e})]},e))}),Q(`div`,{className:`flex min-w-0 flex-1 items-baseline justify-between gap-2`,children:[Z(`span`,{className:`font-semibold`,children:e.label}),Z(`span`,{className:`truncate text-muted-foreground`,children:e.description})]})]},e.id))}),!e.length&&Z(`p`,{className:`text-muted-foreground`,children:`No tools are enabled for this world.`})]})}function sf({className:e,size:t=`default`,...n}){return Q(`div`,{className:q(`group/native-select relative w-fit has-[select:disabled]:opacity-50`,e),"data-slot":`native-select-wrapper`,"data-size":t,children:[Z(`select`,{"data-slot":`native-select`,"data-size":t,className:`h-8 w-full min-w-0 appearance-none rounded-lg border border-input bg-transparent py-1 pr-8 pl-2.5 text-sm transition-colors outline-none select-none selection:bg-primary selection:text-primary-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-[size=sm]:h-7 data-[size=sm]:rounded-[min(var(--radius-md),10px)] data-[size=sm]:py-0.5 dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40`,...n}),Z(we,{className:`pointer-events-none absolute top-1/2 right-2.5 size-4 -translate-y-1/2 text-muted-foreground select-none`,"aria-hidden":`true`,"data-slot":`native-select-icon`})]})}function cf({className:e,...t}){return Z(`option`,{"data-slot":`native-select-option`,className:q(`bg-[Canvas] text-[CanvasText]`,e),...t})}var lf=Object.freeze([]),uf=()=>lf,df=()=>()=>{};function ff({objects:e,onReveal:t,onDriveTo:n,onReset:r}){let i=ot(e?.subscribe??df,e?.getSnapshot??uf,uf),[a,o]=at(``),[s,c]=at(`all`),[l,u]=at(``),d=[...new Set([...i.flatMap(e=>e.capabilities),...s===`all`?[]:[s]])].sort(),f=a.trim().toLowerCase(),p=i.filter(e=>(s===`all`||e.capabilities.includes(s))&&[e.name,e.id,e.element,...e.capabilities].join(` `).toLowerCase().includes(f)),m=n=>{e?.getTarget(n.id)?(t(),requestAnimationFrame(()=>e.reveal(n.id))):u(`That object is no longer available.`)},h=t=>{let r=e?.getTarget(t.id);r?n?.(r):u(`That object is no longer available.`)};return Q(`section`,{"aria-label":`Scene objects`,className:`min-h-full space-y-4 px-3 py-3 text-xs`,children:[Q(`div`,{className:`flex items-start justify-between gap-4`,children:[Q(`div`,{children:[Q(`h2`,{className:`text-sm font-semibold`,children:[i.length,` active `,i.length===1?`object`:`objects`]}),Z(`p`,{className:`mt-1.5 leading-relaxed text-muted-foreground`,children:`Show highlights an object on the page. Drive to makes a short skid toward it. Reset restores that object; remove leaves the HTML in place.`})]}),Z(te,{variant:`ghost`,size:`sm`,className:`shrink-0 text-[11px]`,onClick:()=>{r(),u(`Scene reset.`)},children:`Reset scene`})]}),Q(`div`,{className:`flex gap-2`,children:[Z(Je,{"aria-label":`Search scene objects`,placeholder:`Find an object…`,value:a,onChange:e=>{o(e.target.value),u(``)},className:`h-8 min-w-0 flex-1 text-xs`}),Q(sf,{"aria-label":`Object type`,size:`sm`,value:s,onChange:e=>{c(e.target.value),u(``)},children:[Z(cf,{value:`all`,children:`All types`}),d.map(e=>Z(cf,{value:e,children:e},e))]})]}),Z(`p`,{role:`status`,"aria-live":`polite`,className:`min-h-4 text-[10px] text-muted-foreground`,children:l||(a||s!==`all`?`${p.length} of ${i.length} objects`:`Live objects from this simulation`)}),p.length?Z(`ul`,{"aria-label":`Active scene objects`,className:`divide-y divide-border`,children:p.map(t=>Q(`li`,{"data-object-id":t.id,className:`flex items-center gap-2 py-3`,children:[Q(`div`,{className:`flex min-w-0 flex-1 items-center gap-3`,children:[Z(`span`,{className:`relative flex size-12 shrink-0 items-center justify-center overflow-hidden rounded-md border bg-muted/40`,style:{backgroundColor:t.preview.image&&!t.preview.image.startsWith(`data:image/svg+xml`)?`#e4e7e9`:t.preview.image?void 0:t.preview.color},children:t.preview.image?Z(`img`,{src:t.preview.image,alt:``,loading:`lazy`,className:`size-full object-contain p-1`,onError:e=>{e.currentTarget.style.visibility=`hidden`}}):t.preview.text?Z(`span`,{className:`px-1 text-center text-[9px] font-semibold leading-tight text-foreground [text-shadow:0_0_3px_var(--background)]`,children:t.preview.text}):Z(zt,{size:19,className:`text-muted-foreground`})}),Q(`span`,{className:`min-w-0 flex-1`,children:[Z(`span`,{className:`flex items-center gap-1.5`,children:Z(`strong`,{className:`truncate text-xs font-semibold`,children:t.name})}),Q(`span`,{className:`mt-1 flex flex-wrap gap-x-2 gap-y-1 text-[9px] text-muted-foreground`,title:t.id,children:[Z(`code`,{children:t.element}),t.state!==`Active`&&Z(`span`,{children:t.state})]}),Z(`span`,{className:`mt-1.5 flex flex-wrap gap-1`,children:t.capabilities.map(e=>Z(`span`,{className:`rounded-sm bg-muted px-1.5 py-0.5 text-[9px] text-muted-foreground`,children:e},e))})]})]}),Q(`div`,{className:`flex shrink-0 gap-0.5`,children:[Z(te,{variant:`ghost`,size:`icon-sm`,"aria-label":`Show ${t.name} (${t.id})`,title:`Show object`,onClick:()=>m(t),children:Z(Vt,{size:15})}),n&&Z(te,{variant:`ghost`,size:`icon-sm`,"aria-label":`Drive to ${t.name} (${t.id})`,title:`Drive to object`,onClick:()=>h(t),children:Z(Mt,{size:15})}),Z(te,{variant:`ghost`,size:`icon-sm`,disabled:!t.resettable,"aria-label":`Reset ${t.name} (${t.id})`,title:`Reset object`,onClick:()=>u(e?.reset(t.id)?`Reset ${t.name}.`:`That object is no longer available.`),children:Z(At,{size:15})}),Z(te,{variant:`ghost`,size:`icon-sm`,"aria-label":`Remove ${t.name} (${t.id}) from simulation`,title:`Remove from simulation`,onClick:()=>u(e?.remove(t.id)?`Removed ${t.name} from the simulation.`:`That object is no longer available.`),children:Z(Jt,{size:15})})]})]},t.id))}):Q(`div`,{className:`rounded-lg border border-dashed p-8 text-center leading-relaxed text-muted-foreground`,children:[Z(zt,{size:24,className:`mx-auto mb-3 opacity-50`}),i.length?`No objects match those filters.`:e?`No active objects in this scene yet.`:`Start a playground to inspect its objects here.`]})]})}var pf=`${w(T)}\n${kd}\n${Ad}`,mf=tt(()=>C(()=>import(`./Documentation-B6U46upd.js`).then(e=>({default:e.Documentation})),[],import.meta.url)),hf=tt(()=>C(()=>import(`./EmbedPanel-dnDwQhT5.js`).then(e=>({default:e.EmbedPanel})),[],import.meta.url));function gf(e){return[1,3,5].map(t=>parseInt(e.slice(t,t+2),16)/255).reduce((e,t,n)=>e+(t<=.04045?t/12.92:((t+.055)/1.055)**2.4)*[.2126,.7152,.0722][n],0)>.179?`#111111`:`#ffffff`}function _f({children:e,...t}){return Z(`div`,{...t,children:e})}var vf={vehicle:{title:`Vehicle`,icon:Mt},objects:{title:`Objects`,icon:zt},weapons:{title:`Tools`,icon:Rt},settings:{title:`Settings`,icon:Ht},controls:{title:`Controls`,icon:Wt},embed:{title:`Embed`,icon:Lt},documentation:{title:`Documentation`,icon:jt}};function yf({muted:e}){return Z(e?ue:fe,{"aria-hidden":`true`})}function bf(e){return Z(xf,{...e,appearance:_({...e.options,...e})})}function xf({appearance:e,dialogTheme:t,frame:n,preset:i,slots:a,presets:o,options:s,onSelectPreset:c,onChange:l,onClose:u,onQuit:d,onReset:f,initialTab:p=`vehicle`,embed:g,objects:_,onDriveToObject:b}){let x=n??_f,[S,C]=at(p),[w,T]=at({chapter:``,anchor:``}),[E,D]=at(null),[O,k]=at(!1),A=it(s.masterVolume||1),j=e.toolsEnabled&&s.toolsEnabled,M=h(a,j),N=M.filter(e=>e.id!==`boost`&&e.keys.length>0),P=m(a,{toolsEnabled:j}),F=e.showGameSettings&&s.showGameSettings,I=e=>l(v({...s,showGameSettings:F},e)),L=r.filter(t=>e.vehicleTabs.includes(t)&&(t!==`settings`||F)&&(t!==`weapons`||N.length>0)&&(t!==`embed`||!!g)),R=L.includes(S)?S:L[0]??`vehicle`,{portalRoot:z,dialogRef:B,placement:V,dragging:H,headerProps:U}=Fd({styles:pf,theme:t,size:R===`documentation`?{width:1040,height:720}:{width:760,height:650},onEscape:u,onReset:f,shortcutsEnabled:R!==`documentation`}),W=Math.round(s.masterVolume*100),ee=e.showVehicleNames?i.name:`Vehicle`;nt(()=>{s.masterVolume>0&&(A.current=s.masterVolume)},[s.masterVolume]),nt(()=>C(p),[p]);let G={...V,pointerEvents:`auto`,...e.accentColor?{"--joy-ride-accent-color":e.accentColor,"--joy-ride-accent-foreground":gf(e.accentColor)}:{},...s.dialogFontFamily?{"--jr-dialog-font-family":s.dialogFontFamily===`inherit`?getComputedStyle(document.body).fontFamily:s.dialogFontFamily}:{}},K=()=>I({masterVolume:s.masterVolume>0?0:A.current});return z?Q(lt,{children:[ct(Z(`div`,{"data-jr-ui":``,"aria-hidden":`true`,onClick:e=>{e.stopPropagation(),u()},style:{position:`fixed`,inset:0,zIndex:y(`dialogBackdrop`),pointerEvents:`auto`,background:`#11182766`}}),document.body),ct(Z(lt,{children:Z(`div`,{ref:B,"data-jr-ui":``,className:`joy-pause-menu`,"data-documentation":R===`documentation`||void 0,role:`dialog`,"aria-label":`Joy Ride pause menu — ${ee}`,"aria-modal":`true`,tabIndex:-1,style:G,onPointerEnter:()=>k(!0),onPointerLeave:()=>k(!1),children:Z(x,{className:`joy-pause-frame rounded-xl`,children:Q(`div`,{className:`joy-pause-layout flex w-full`,children:[Q(pd,{className:`joy-pause-sidebar`,children:[e.showLogo&&Z(md,{className:`joy-pause-brand`,children:Z(`div`,{className:`joy-pause-logo-backing`,children:Z(Dd,{className:`joy-pause-logo`,hovered:O})})}),Z(gd,{children:Z(_d,{children:Z(`nav`,{"aria-label":`Vehicle configuration`,children:Z(vd,{children:L.map(e=>{let t=vf[e].icon;return Z(yd,{children:Q(bd,{isActive:R===e,"aria-current":R===e?`page`:void 0,title:vf[e].title,onClick:()=>{C(e)},children:[Z(t,{"aria-hidden":`true`}),Z(`span`,{children:vf[e].title})]})},e)})})})})}),Z(`div`,{className:`joy-pause-version px-4 py-2 font-mono text-[10px] text-muted-foreground ${e.showGithub?`border-b border-sidebar-border`:``}`,children:jd.version}),e.showGithub&&Z(hd,{className:`joy-pause-sidebar-footer`,children:Z(Od,{})})]}),Q(`div`,{className:`joy-pause-workspace`,children:[Q(`header`,{className:`joy-pause-header`,"data-unbranded":e.showLogo?void 0:``,"data-documentation":R===`documentation`||void 0,role:`group`,tabIndex:0,"aria-label":`Move pause menu. Drag or use arrow keys; Home centers it.`,"data-dragging":H||void 0,...U,children:[Z(`div`,{className:`joy-pause-heading`,children:Z(`h1`,{children:vf[R].title})}),Q(`div`,{className:`joy-pause-header-actions`,children:[R===`documentation`&&Z(`div`,{ref:D,className:`joy-pause-documentation-search`}),Z(te,{variant:`outline`,size:`icon`,onClick:K,"aria-label":s.masterVolume?`Mute audio`:`Unmute audio`,title:`${s.masterVolume?`Mute`:`Unmute`} audio (${W}%)`,children:Z(yf,{muted:!s.masterVolume})}),Z(te,{variant:`outline`,size:`icon`,onClick:u,"aria-label":`Close vehicle settings`,children:Z(me,{})})]})]}),Q(`div`,{className:`joy-pause-content`,children:[Z(`div`,{className:`joy-pause-body min-h-0 flex-1`,children:Q(`div`,{className:`joy-pause-panels min-h-0 flex-1 overflow-auto`,"data-documentation":R===`documentation`||void 0,children:[R===`documentation`&&Z(et,{fallback:Z(`p`,{role:`status`,className:`p-5 text-muted-foreground`,children:`Loading API reference…`}),children:Z(mf,{location:w,onNavigate:T,searchTarget:E})}),R===`vehicle`&&Z(tf,{preset:i,presets:o,options:s,tools:M,showVehicleNames:e.showVehicleNames,onSelectPreset:c}),R===`objects`&&Z(ff,{objects:_,onReveal:u,onDriveTo:b,onReset:f}),R===`settings`&&F&&Z(nf,{options:s,onChange:I,portalRoot:z}),R===`controls`&&Z(af,{tools:M,assignments:P}),R===`weapons`&&Z(of,{tools:N}),g&&R===`embed`&&Z(et,{fallback:Z(`p`,{role:`status`,className:`p-5 text-muted-foreground`,children:`Loading embed options…`}),children:Z(hf,{embed:g})})]})}),Z(`footer`,{className:`joy-pause-footer`,children:Q(`div`,{className:`joy-pause-footer-actions`,children:[Z(te,{type:`button`,variant:`outline`,onClick:d,children:`Quit`}),Z(te,{type:`button`,className:`joy-pause-close-button`,onClick:u,children:`Close`})]})})]})]})]})})})}),z)]}):null}export{bf as VehiclePopover,Sn as _,Ai as a,xi as c,_i as d,hi as f,Tn as g,si as h,Gu as i,vi as l,pi as m,dd as n,ki as o,mi as p,fd as r,Oi as s,ld as t,gi as u,xn as v,Ft as y};