@anoki/fse-ui 1.0.0-beta1.48.33 → 1.0.0-beta1.48.34

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 (273) hide show
  1. package/dist/components/ui/TableOfContents/TableOfContents.css +1 -1
  2. package/dist/index.cjs110.js +1 -1
  3. package/dist/index.cjs110.js.map +1 -1
  4. package/dist/index.cjs264.js +1 -1
  5. package/dist/index.cjs277.js +1 -1
  6. package/dist/index.cjs288.js +1 -1
  7. package/dist/index.cjs295.js +1 -1
  8. package/dist/index.cjs32.js +1 -1
  9. package/dist/index.cjs326.js +1 -1
  10. package/dist/index.cjs33.js +1 -1
  11. package/dist/index.cjs368.js +1 -1
  12. package/dist/index.cjs374.js +1 -1
  13. package/dist/index.cjs432.js +1 -1
  14. package/dist/index.cjs439.js +1 -1
  15. package/dist/index.cjs456.js +1 -1
  16. package/dist/index.cjs456.js.map +1 -1
  17. package/dist/index.cjs457.js +1 -1
  18. package/dist/index.cjs457.js.map +1 -1
  19. package/dist/index.cjs458.js +1 -1
  20. package/dist/index.cjs458.js.map +1 -1
  21. package/dist/index.cjs460.js +1 -1
  22. package/dist/index.cjs460.js.map +1 -1
  23. package/dist/index.cjs461.js +1 -1
  24. package/dist/index.cjs461.js.map +1 -1
  25. package/dist/index.cjs462.js +1 -1
  26. package/dist/index.cjs462.js.map +1 -1
  27. package/dist/index.cjs463.js +1 -1
  28. package/dist/index.cjs463.js.map +1 -1
  29. package/dist/index.cjs464.js +1 -1
  30. package/dist/index.cjs464.js.map +1 -1
  31. package/dist/index.cjs465.js +1 -1
  32. package/dist/index.cjs465.js.map +1 -1
  33. package/dist/index.cjs469.js +2 -0
  34. package/dist/index.cjs469.js.map +1 -0
  35. package/dist/{index.cjs476.js → index.cjs470.js} +2 -2
  36. package/dist/{index.cjs476.js.map → index.cjs470.js.map} +1 -1
  37. package/dist/{index.cjs477.js → index.cjs471.js} +2 -2
  38. package/dist/{index.cjs477.js.map → index.cjs471.js.map} +1 -1
  39. package/dist/{index.cjs478.js → index.cjs472.js} +1 -1
  40. package/dist/{index.cjs478.js.map → index.cjs472.js.map} +1 -1
  41. package/dist/{index.cjs479.js → index.cjs473.js} +2 -2
  42. package/dist/{index.cjs479.js.map → index.cjs473.js.map} +1 -1
  43. package/dist/index.cjs474.js +1 -1
  44. package/dist/index.cjs474.js.map +1 -1
  45. package/dist/index.cjs475.js +1 -1
  46. package/dist/index.cjs475.js.map +1 -1
  47. package/dist/index.cjs482.js +2 -0
  48. package/dist/index.cjs482.js.map +1 -0
  49. package/dist/{index.cjs496.js → index.cjs499.js} +2 -2
  50. package/dist/{index.cjs496.js.map → index.cjs499.js.map} +1 -1
  51. package/dist/{index.cjs497.js → index.cjs500.js} +1 -1
  52. package/dist/index.cjs500.js.map +1 -0
  53. package/dist/{index.cjs498.js → index.cjs501.js} +1 -1
  54. package/dist/index.cjs501.js.map +1 -0
  55. package/dist/index.cjs511.js +1 -27
  56. package/dist/index.cjs511.js.map +1 -1
  57. package/dist/index.cjs512.js +2 -1
  58. package/dist/index.cjs512.js.map +1 -1
  59. package/dist/index.cjs513.js +27 -1
  60. package/dist/index.cjs513.js.map +1 -1
  61. package/dist/index.cjs514.js +1 -2
  62. package/dist/index.cjs514.js.map +1 -1
  63. package/dist/index.cjs518.js +1 -1
  64. package/dist/index.cjs518.js.map +1 -1
  65. package/dist/index.cjs519.js +1 -1
  66. package/dist/index.cjs519.js.map +1 -1
  67. package/dist/index.cjs520.js +1 -1
  68. package/dist/index.cjs520.js.map +1 -1
  69. package/dist/index.cjs521.js +1 -1
  70. package/dist/index.cjs521.js.map +1 -1
  71. package/dist/index.cjs522.js +1 -1
  72. package/dist/index.cjs522.js.map +1 -1
  73. package/dist/index.cjs529.js +1 -1
  74. package/dist/index.cjs529.js.map +1 -1
  75. package/dist/index.cjs530.js +1 -1
  76. package/dist/index.cjs530.js.map +1 -1
  77. package/dist/index.cjs531.js +1 -1
  78. package/dist/index.cjs531.js.map +1 -1
  79. package/dist/index.cjs532.js +1 -1
  80. package/dist/index.cjs532.js.map +1 -1
  81. package/dist/index.cjs533.js +1 -1
  82. package/dist/index.cjs533.js.map +1 -1
  83. package/dist/index.cjs534.js +1 -1
  84. package/dist/index.cjs534.js.map +1 -1
  85. package/dist/index.cjs535.js +1 -1
  86. package/dist/index.cjs536.js +1 -1
  87. package/dist/index.cjs537.js +1 -1
  88. package/dist/index.cjs540.js +1 -1
  89. package/dist/index.cjs542.js +1 -1
  90. package/dist/index.cjs545.js +1 -1
  91. package/dist/index.cjs546.js +1 -1
  92. package/dist/index.cjs547.js +1 -1
  93. package/dist/index.cjs554.js +1 -1
  94. package/dist/index.cjs559.js +1 -1
  95. package/dist/index.cjs561.js +1 -1
  96. package/dist/index.cjs563.js +1 -1
  97. package/dist/index.cjs565.js +1 -1
  98. package/dist/index.cjs566.js +1 -1
  99. package/dist/index.cjs570.js +1 -1
  100. package/dist/index.cjs570.js.map +1 -1
  101. package/dist/index.cjs571.js +1 -1
  102. package/dist/index.cjs571.js.map +1 -1
  103. package/dist/index.cjs572.js +1 -1
  104. package/dist/index.cjs572.js.map +1 -1
  105. package/dist/index.cjs573.js +1 -1
  106. package/dist/index.cjs573.js.map +1 -1
  107. package/dist/index.cjs574.js +1 -1
  108. package/dist/index.cjs574.js.map +1 -1
  109. package/dist/index.cjs580.js +38 -1
  110. package/dist/index.cjs580.js.map +1 -1
  111. package/dist/index.cjs581.js +1 -1
  112. package/dist/index.cjs581.js.map +1 -1
  113. package/dist/index.cjs582.js +1 -1
  114. package/dist/index.cjs582.js.map +1 -1
  115. package/dist/index.cjs583.js +1 -38
  116. package/dist/index.cjs583.js.map +1 -1
  117. package/dist/index.cjs584.js +1 -1
  118. package/dist/index.cjs584.js.map +1 -1
  119. package/dist/index.cjs585.js +1 -1
  120. package/dist/index.cjs585.js.map +1 -1
  121. package/dist/index.cjs586.js +1 -1
  122. package/dist/index.cjs586.js.map +1 -1
  123. package/dist/index.cjs587.js +1 -1
  124. package/dist/index.cjs587.js.map +1 -1
  125. package/dist/index.cjs588.js +1 -1
  126. package/dist/index.cjs588.js.map +1 -1
  127. package/dist/index.cjs589.js +1 -1
  128. package/dist/index.cjs589.js.map +1 -1
  129. package/dist/index.cjs590.js +1 -1
  130. package/dist/index.cjs590.js.map +1 -1
  131. package/dist/index.es110.js +51 -51
  132. package/dist/index.es110.js.map +1 -1
  133. package/dist/index.es264.js +6 -6
  134. package/dist/index.es277.js +7 -7
  135. package/dist/index.es288.js +1 -1
  136. package/dist/index.es295.js +13 -13
  137. package/dist/index.es32.js +1 -1
  138. package/dist/index.es326.js +6 -6
  139. package/dist/index.es33.js +1 -1
  140. package/dist/index.es368.js +4 -4
  141. package/dist/index.es374.js +1 -1
  142. package/dist/index.es432.js +1 -1
  143. package/dist/index.es439.js +2 -2
  144. package/dist/index.es456.js +5 -25
  145. package/dist/index.es456.js.map +1 -1
  146. package/dist/index.es457.js +23 -64
  147. package/dist/index.es457.js.map +1 -1
  148. package/dist/index.es458.js +66 -5
  149. package/dist/index.es458.js.map +1 -1
  150. package/dist/index.es460.js +32 -5
  151. package/dist/index.es460.js.map +1 -1
  152. package/dist/index.es461.js +621 -24
  153. package/dist/index.es461.js.map +1 -1
  154. package/dist/index.es462.js +10 -68
  155. package/dist/index.es462.js.map +1 -1
  156. package/dist/index.es463.js +5 -32
  157. package/dist/index.es463.js.map +1 -1
  158. package/dist/index.es464.js +24 -621
  159. package/dist/index.es464.js.map +1 -1
  160. package/dist/index.es465.js +68 -10
  161. package/dist/index.es465.js.map +1 -1
  162. package/dist/index.es469.js +128 -0
  163. package/dist/index.es469.js.map +1 -0
  164. package/dist/{index.es476.js → index.es470.js} +3 -3
  165. package/dist/{index.es476.js.map → index.es470.js.map} +1 -1
  166. package/dist/{index.es477.js → index.es471.js} +3 -3
  167. package/dist/{index.es477.js.map → index.es471.js.map} +1 -1
  168. package/dist/{index.es478.js → index.es472.js} +1 -1
  169. package/dist/{index.es478.js.map → index.es472.js.map} +1 -1
  170. package/dist/{index.es479.js → index.es473.js} +4 -4
  171. package/dist/{index.es479.js.map → index.es473.js.map} +1 -1
  172. package/dist/index.es474.js +50 -15
  173. package/dist/index.es474.js.map +1 -1
  174. package/dist/index.es475.js +51 -120
  175. package/dist/index.es475.js.map +1 -1
  176. package/dist/index.es482.js +18 -0
  177. package/dist/index.es482.js.map +1 -0
  178. package/dist/{index.es496.js → index.es499.js} +3 -3
  179. package/dist/{index.es496.js.map → index.es499.js.map} +1 -1
  180. package/dist/{index.es497.js → index.es500.js} +1 -1
  181. package/dist/index.es500.js.map +1 -0
  182. package/dist/{index.es498.js → index.es501.js} +1 -1
  183. package/dist/index.es501.js.map +1 -0
  184. package/dist/index.es511.js +5 -3674
  185. package/dist/index.es511.js.map +1 -1
  186. package/dist/index.es512.js +521 -2
  187. package/dist/index.es512.js.map +1 -1
  188. package/dist/index.es513.js +3674 -5
  189. package/dist/index.es513.js.map +1 -1
  190. package/dist/index.es514.js +2 -521
  191. package/dist/index.es514.js.map +1 -1
  192. package/dist/index.es518.js +46 -4
  193. package/dist/index.es518.js.map +1 -1
  194. package/dist/index.es519.js +13 -45
  195. package/dist/index.es519.js.map +1 -1
  196. package/dist/index.es520.js +216 -12
  197. package/dist/index.es520.js.map +1 -1
  198. package/dist/index.es521.js +163 -203
  199. package/dist/index.es521.js.map +1 -1
  200. package/dist/index.es522.js +3 -177
  201. package/dist/index.es522.js.map +1 -1
  202. package/dist/index.es529.js +22 -202
  203. package/dist/index.es529.js.map +1 -1
  204. package/dist/index.es530.js +27 -20
  205. package/dist/index.es530.js.map +1 -1
  206. package/dist/index.es531.js +5 -393
  207. package/dist/index.es531.js.map +1 -1
  208. package/dist/index.es532.js +202 -22
  209. package/dist/index.es532.js.map +1 -1
  210. package/dist/index.es533.js +20 -27
  211. package/dist/index.es533.js.map +1 -1
  212. package/dist/index.es534.js +393 -5
  213. package/dist/index.es534.js.map +1 -1
  214. package/dist/index.es535.js +1 -1
  215. package/dist/index.es536.js +1 -1
  216. package/dist/index.es537.js +3 -3
  217. package/dist/index.es540.js +3 -3
  218. package/dist/index.es542.js +1 -1
  219. package/dist/index.es545.js +2 -2
  220. package/dist/index.es546.js +2 -2
  221. package/dist/index.es547.js +14 -14
  222. package/dist/index.es554.js +8 -8
  223. package/dist/index.es559.js +8 -8
  224. package/dist/index.es561.js +1 -1
  225. package/dist/index.es563.js +1 -1
  226. package/dist/index.es565.js +5 -5
  227. package/dist/index.es566.js +1 -1
  228. package/dist/index.es570.js +6 -2
  229. package/dist/index.es570.js.map +1 -1
  230. package/dist/index.es571.js +16 -2
  231. package/dist/index.es571.js.map +1 -1
  232. package/dist/index.es572.js +2 -2
  233. package/dist/index.es572.js.map +1 -1
  234. package/dist/index.es573.js +2 -6
  235. package/dist/index.es573.js.map +1 -1
  236. package/dist/index.es574.js +2 -16
  237. package/dist/index.es574.js.map +1 -1
  238. package/dist/index.es580.js +64 -518
  239. package/dist/index.es580.js.map +1 -1
  240. package/dist/index.es581.js +8 -126
  241. package/dist/index.es581.js.map +1 -1
  242. package/dist/index.es582.js +13 -128
  243. package/dist/index.es582.js.map +1 -1
  244. package/dist/index.es583.js +61 -68
  245. package/dist/index.es583.js.map +1 -1
  246. package/dist/index.es584.js +64 -8
  247. package/dist/index.es584.js.map +1 -1
  248. package/dist/index.es585.js +520 -11
  249. package/dist/index.es585.js.map +1 -1
  250. package/dist/index.es586.js +126 -61
  251. package/dist/index.es586.js.map +1 -1
  252. package/dist/index.es587.js +125 -61
  253. package/dist/index.es587.js.map +1 -1
  254. package/dist/index.es588.js +4 -3
  255. package/dist/index.es588.js.map +1 -1
  256. package/dist/index.es589.js +3 -2
  257. package/dist/index.es589.js.map +1 -1
  258. package/dist/index.es590.js +2 -4
  259. package/dist/index.es590.js.map +1 -1
  260. package/package.json +1 -1
  261. package/dist/index.cjs480.js +0 -2
  262. package/dist/index.cjs480.js.map +0 -1
  263. package/dist/index.cjs481.js +0 -2
  264. package/dist/index.cjs481.js.map +0 -1
  265. package/dist/index.cjs497.js.map +0 -1
  266. package/dist/index.cjs498.js.map +0 -1
  267. package/dist/index.es480.js +0 -53
  268. package/dist/index.es480.js.map +0 -1
  269. package/dist/index.es481.js +0 -59
  270. package/dist/index.es481.js.map +0 -1
  271. package/dist/index.es497.js.map +0 -1
  272. package/dist/index.es498.js.map +0 -1
  273. /package/dist/components/ui/{CardMapDoctor/CardMapDoctor.css → CardMapDoctorV2/CardMapDoctorV2.css} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs533.js","sources":["../node_modules/react-remove-scroll/dist/es2015/UI.js"],"sourcesContent":["import { __assign, __rest } from \"tslib\";\nimport * as React from 'react';\nimport { fullWidthClassName, zeroRightClassName } from 'react-remove-scroll-bar/constants';\nimport { useMergeRefs } from 'use-callback-ref';\nimport { effectCar } from './medium';\nvar nothing = function () {\n return;\n};\n/**\n * Removes scrollbar from the page and contain the scroll within the Lock\n */\nvar RemoveScroll = React.forwardRef(function (props, parentRef) {\n var ref = React.useRef(null);\n var _a = React.useState({\n onScrollCapture: nothing,\n onWheelCapture: nothing,\n onTouchMoveCapture: nothing,\n }), callbacks = _a[0], setCallbacks = _a[1];\n var forwardProps = props.forwardProps, children = props.children, className = props.className, removeScrollBar = props.removeScrollBar, enabled = props.enabled, shards = props.shards, sideCar = props.sideCar, noIsolation = props.noIsolation, inert = props.inert, allowPinchZoom = props.allowPinchZoom, _b = props.as, Container = _b === void 0 ? 'div' : _b, gapMode = props.gapMode, rest = __rest(props, [\"forwardProps\", \"children\", \"className\", \"removeScrollBar\", \"enabled\", \"shards\", \"sideCar\", \"noIsolation\", \"inert\", \"allowPinchZoom\", \"as\", \"gapMode\"]);\n var SideCar = sideCar;\n var containerRef = useMergeRefs([ref, parentRef]);\n var containerProps = __assign(__assign({}, rest), callbacks);\n return (React.createElement(React.Fragment, null,\n enabled && (React.createElement(SideCar, { sideCar: effectCar, removeScrollBar: removeScrollBar, shards: shards, noIsolation: noIsolation, inert: inert, setCallbacks: setCallbacks, allowPinchZoom: !!allowPinchZoom, lockRef: ref, gapMode: gapMode })),\n forwardProps ? (React.cloneElement(React.Children.only(children), __assign(__assign({}, containerProps), { ref: containerRef }))) : (React.createElement(Container, __assign({}, containerProps, { className: className, ref: containerRef }), children))));\n});\nRemoveScroll.defaultProps = {\n enabled: true,\n removeScrollBar: true,\n inert: false,\n};\nRemoveScroll.classNames = {\n fullWidth: fullWidthClassName,\n zeroRight: zeroRightClassName,\n};\nexport { RemoveScroll };\n"],"names":["nothing","RemoveScroll","React","props","parentRef","ref","_a","callbacks","setCallbacks","forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","_b","Container","gapMode","rest","__rest","SideCar","containerRef","useMergeRefs","containerProps","__assign","effectCar","fullWidthClassName","zeroRightClassName"],"mappings":"+fAKA,IAAIA,EAAU,UAAY,CAE1B,EAIIC,EAAeC,EAAM,WAAW,SAAUC,EAAOC,EAAW,CAC5D,IAAIC,EAAMH,EAAM,OAAO,IAAI,EACvBI,EAAKJ,EAAM,SAAS,CACpB,gBAAiBF,EACjB,eAAgBA,EAChB,mBAAoBA,CAC5B,CAAK,EAAGO,EAAYD,EAAG,CAAC,EAAGE,EAAeF,EAAG,CAAC,EACtCG,EAAeN,EAAM,aAAcO,EAAWP,EAAM,SAAUQ,EAAYR,EAAM,UAAWS,EAAkBT,EAAM,gBAAiBU,EAAUV,EAAM,QAASW,EAASX,EAAM,OAAQY,EAAUZ,EAAM,QAASa,EAAcb,EAAM,YAAac,EAAQd,EAAM,MAAOe,EAAiBf,EAAM,eAAgBgB,EAAKhB,EAAM,GAAIiB,EAAYD,IAAO,OAAS,MAAQA,EAAIE,EAAUlB,EAAM,QAASmB,EAAOC,EAAAA,OAAOpB,EAAO,CAAC,eAAgB,WAAY,YAAa,kBAAmB,UAAW,SAAU,UAAW,cAAe,QAAS,iBAAkB,KAAM,SAAS,CAAC,EACtiBqB,EAAUT,EACVU,EAAeC,EAAY,aAAC,CAACrB,EAAKD,CAAS,CAAC,EAC5CuB,EAAiBC,EAAAA,SAASA,EAAAA,SAAS,CAAA,EAAIN,CAAI,EAAGf,CAAS,EAC3D,OAAQL,EAAM,cAAcA,EAAM,SAAU,KACxCW,GAAYX,EAAM,cAAcsB,EAAS,CAAE,QAASK,YAAW,gBAAiBjB,EAAiB,OAAQE,EAAQ,YAAaE,EAAa,MAAOC,EAAO,aAAcT,EAAc,eAAgB,CAAC,CAACU,EAAgB,QAASb,EAAK,QAASgB,CAAS,CAAA,EACvPZ,EAAgBP,EAAM,aAAaA,EAAM,SAAS,KAAKQ,CAAQ,EAAGkB,EAAQ,SAACA,EAAQ,SAAC,CAAE,EAAED,CAAc,EAAG,CAAE,IAAKF,CAAY,CAAE,CAAC,EAAMvB,EAAM,cAAckB,EAAWQ,EAAQ,SAAC,CAAE,EAAED,EAAgB,CAAE,UAAWhB,EAAW,IAAKc,CAAc,CAAA,EAAGf,CAAQ,CAAE,CACjQ,CAAC,EACDT,EAAa,aAAe,CACxB,QAAS,GACT,gBAAiB,GACjB,MAAO,EACX,EACAA,EAAa,WAAa,CACtB,UAAW6B,EAAkB,mBAC7B,UAAWC,EAAkB,kBACjC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs533.js","sources":["../node_modules/@radix-ui/react-arrow/dist/index.mjs"],"sourcesContent":["// packages/react/arrow/src/arrow.tsx\nimport * as React from \"react\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NAME = \"Arrow\";\nvar Arrow = React.forwardRef((props, forwardedRef) => {\n const { children, width = 10, height = 5, ...arrowProps } = props;\n return /* @__PURE__ */ jsx(\n Primitive.svg,\n {\n ...arrowProps,\n ref: forwardedRef,\n width,\n height,\n viewBox: \"0 0 30 10\",\n preserveAspectRatio: \"none\",\n children: props.asChild ? children : /* @__PURE__ */ jsx(\"polygon\", { points: \"0,0 30,0 15,10\" })\n }\n );\n});\nArrow.displayName = NAME;\nvar Root = Arrow;\nexport {\n Arrow,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["NAME","Arrow","React","props","forwardedRef","children","width","height","arrowProps","jsx","Primitive","Root"],"mappings":"icAIA,IAAIA,EAAO,QACPC,EAAQC,EAAM,WAAW,CAACC,EAAOC,IAAiB,CACpD,KAAM,CAAE,SAAAC,EAAU,MAAAC,EAAQ,GAAI,OAAAC,EAAS,EAAG,GAAGC,CAAU,EAAKL,EAC5D,OAAuBM,EAAG,kBAAA,IACxBC,EAAAA,UAAU,IACV,CACE,GAAGF,EACH,IAAKJ,EACL,MAAAE,EACA,OAAAC,EACA,QAAS,YACT,oBAAqB,OACrB,SAAUJ,EAAM,QAAUE,EAA2BI,EAAG,kBAAA,IAAC,UAAW,CAAE,OAAQ,gBAAkB,CAAA,CACtG,CACG,CACH,CAAC,EACDR,EAAM,YAAcD,EACjB,IAACW,EAAOV","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs565.js"),r=require("./index.cjs563.js"),t=require("./index.cjs566.js"),c=t.exportSidecar(r.effectCar,e.RemoveScrollSideCar);module.exports=c;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("./index.cjs585.js"),d=require("./index.cjs586.js"),i=require("./index.cjs587.js");function B(t){const e=i.getComputedStyle(t);let o=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const s=i.isHTMLElement(t),l=s?t.offsetWidth:o,r=s?t.offsetHeight:n,c=d.round(o)!==l||d.round(n)!==r;return c&&(o=l,n=r),{width:o,height:n,$:c}}function N(t){return i.isElement(t)?t:t.contextElement}function L(t){const e=N(t);if(!i.isHTMLElement(e))return d.createCoords(1);const o=e.getBoundingClientRect(),{width:n,height:s,$:l}=B(e);let r=(l?d.round(o.width):o.width)/n,c=(l?d.round(o.height):o.height)/s;return(!r||!Number.isFinite(r))&&(r=1),(!c||!Number.isFinite(c))&&(c=1),{x:r,y:c}}const P=d.createCoords(0);function A(t){const e=i.getWindow(t);return!i.isWebKit()||!e.visualViewport?P:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function q(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==i.getWindow(t)?!1:e}function T(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);const s=t.getBoundingClientRect(),l=N(t);let r=d.createCoords(1);e&&(n?i.isElement(n)&&(r=L(n)):r=L(t));const c=q(l,o,n)?A(l):d.createCoords(0);let f=(s.left+c.x)/r.x,u=(s.top+c.y)/r.y,a=s.width/r.x,g=s.height/r.y;if(l){const w=i.getWindow(l),h=n&&i.isElement(n)?i.getWindow(n):n;let v=w,p=i.getFrameElement(v);for(;p&&n&&h!==v;){const y=L(p),m=p.getBoundingClientRect(),x=i.getComputedStyle(p),C=m.left+(p.clientLeft+parseFloat(x.paddingLeft))*y.x,O=m.top+(p.clientTop+parseFloat(x.paddingTop))*y.y;f*=y.x,u*=y.y,a*=y.x,g*=y.y,f+=C,u+=O,v=i.getWindow(p),p=i.getFrameElement(v)}}return d.rectToClientRect({width:a,height:g,x:f,y:u})}function W(t,e){const o=i.getNodeScroll(t).scrollLeft;return e?e.left+o:T(i.getDocumentElement(t)).left+o}function M(t,e,o){o===void 0&&(o=!1);const n=t.getBoundingClientRect(),s=n.left+e.scrollLeft-(o?0:W(t,n)),l=n.top+e.scrollTop;return{x:s,y:l}}function U(t){let{elements:e,rect:o,offsetParent:n,strategy:s}=t;const l=s==="fixed",r=i.getDocumentElement(n),c=e?i.isTopLayer(e.floating):!1;if(n===r||c&&l)return o;let f={scrollLeft:0,scrollTop:0},u=d.createCoords(1);const a=d.createCoords(0),g=i.isHTMLElement(n);if((g||!g&&!l)&&((i.getNodeName(n)!=="body"||i.isOverflowElement(r))&&(f=i.getNodeScroll(n)),i.isHTMLElement(n))){const h=T(n);u=L(n),a.x=h.x+n.clientLeft,a.y=h.y+n.clientTop}const w=r&&!g&&!l?M(r,f,!0):d.createCoords(0);return{width:o.width*u.x,height:o.height*u.y,x:o.x*u.x-f.scrollLeft*u.x+a.x+w.x,y:o.y*u.y-f.scrollTop*u.y+a.y+w.y}}function k(t){return Array.from(t.getClientRects())}function K(t){const e=i.getDocumentElement(t),o=i.getNodeScroll(t),n=t.ownerDocument.body,s=d.max(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),l=d.max(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let r=-o.scrollLeft+W(t);const c=-o.scrollTop;return i.getComputedStyle(n).direction==="rtl"&&(r+=d.max(e.clientWidth,n.clientWidth)-s),{width:s,height:l,x:r,y:c}}function $(t,e){const o=i.getWindow(t),n=i.getDocumentElement(t),s=o.visualViewport;let l=n.clientWidth,r=n.clientHeight,c=0,f=0;if(s){l=s.width,r=s.height;const u=i.isWebKit();(!u||u&&e==="fixed")&&(c=s.offsetLeft,f=s.offsetTop)}return{width:l,height:r,x:c,y:f}}function j(t,e){const o=T(t,!0,e==="fixed"),n=o.top+t.clientTop,s=o.left+t.clientLeft,l=i.isHTMLElement(t)?L(t):d.createCoords(1),r=t.clientWidth*l.x,c=t.clientHeight*l.y,f=s*l.x,u=n*l.y;return{width:r,height:c,x:f,y:u}}function F(t,e,o){let n;if(e==="viewport")n=$(t,o);else if(e==="document")n=K(i.getDocumentElement(t));else if(i.isElement(e))n=j(e,o);else{const s=A(t);n={x:e.x-s.x,y:e.y-s.y,width:e.width,height:e.height}}return d.rectToClientRect(n)}function z(t,e){const o=i.getParentNode(t);return o===e||!i.isElement(o)||i.isLastTraversableNode(o)?!1:i.getComputedStyle(o).position==="fixed"||z(o,e)}function G(t,e){const o=e.get(t);if(o)return o;let n=i.getOverflowAncestors(t,[],!1).filter(c=>i.isElement(c)&&i.getNodeName(c)!=="body"),s=null;const l=i.getComputedStyle(t).position==="fixed";let r=l?i.getParentNode(t):t;for(;i.isElement(r)&&!i.isLastTraversableNode(r);){const c=i.getComputedStyle(r),f=i.isContainingBlock(r);!f&&c.position==="fixed"&&(s=null),(l?!f&&!s:!f&&c.position==="static"&&!!s&&["absolute","fixed"].includes(s.position)||i.isOverflowElement(r)&&!f&&z(t,r))?n=n.filter(a=>a!==r):s=c,r=i.getParentNode(r)}return e.set(t,n),n}function J(t){let{element:e,boundary:o,rootBoundary:n,strategy:s}=t;const r=[...o==="clippingAncestors"?i.isTopLayer(e)?[]:G(e,this._c):[].concat(o),n],c=r[0],f=r.reduce((u,a)=>{const g=F(e,a,s);return u.top=d.max(g.top,u.top),u.right=d.min(g.right,u.right),u.bottom=d.min(g.bottom,u.bottom),u.left=d.max(g.left,u.left),u},F(e,c,s));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function Q(t){const{width:e,height:o}=B(t);return{width:e,height:o}}function Y(t,e,o){const n=i.isHTMLElement(e),s=i.getDocumentElement(e),l=o==="fixed",r=T(t,!0,l,e);let c={scrollLeft:0,scrollTop:0};const f=d.createCoords(0);if(n||!n&&!l)if((i.getNodeName(e)!=="body"||i.isOverflowElement(s))&&(c=i.getNodeScroll(e)),n){const w=T(e,!0,l,e);f.x=w.x+e.clientLeft,f.y=w.y+e.clientTop}else s&&(f.x=W(s));const u=s&&!n&&!l?M(s,c):d.createCoords(0),a=r.left+c.scrollLeft-f.x-u.x,g=r.top+c.scrollTop-f.y-u.y;return{x:a,y:g,width:r.width,height:r.height}}function b(t){return i.getComputedStyle(t).position==="static"}function H(t,e){if(!i.isHTMLElement(t)||i.getComputedStyle(t).position==="fixed")return null;if(e)return e(t);let o=t.offsetParent;return i.getDocumentElement(t)===o&&(o=o.ownerDocument.body),o}function I(t,e){const o=i.getWindow(t);if(i.isTopLayer(t))return o;if(!i.isHTMLElement(t)){let s=i.getParentNode(t);for(;s&&!i.isLastTraversableNode(s);){if(i.isElement(s)&&!b(s))return s;s=i.getParentNode(s)}return o}let n=H(t,e);for(;n&&i.isTableElement(n)&&b(n);)n=H(n,e);return n&&i.isLastTraversableNode(n)&&b(n)&&!i.isContainingBlock(n)?o:n||i.getContainingBlock(t)||o}const Z=async function(t){const e=this.getOffsetParent||I,o=this.getDimensions,n=await o(t.floating);return{reference:Y(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function X(t){return i.getComputedStyle(t).direction==="rtl"}const V={convertOffsetParentRelativeRectToViewportRelativeRect:U,getDocumentElement:i.getDocumentElement,getClippingRect:J,getOffsetParent:I,getElementRects:Z,getClientRects:k,getDimensions:Q,getScale:L,isElement:i.isElement,isRTL:X};function _(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function tt(t,e){let o=null,n;const s=i.getDocumentElement(t);function l(){var c;clearTimeout(n),(c=o)==null||c.disconnect(),o=null}function r(c,f){c===void 0&&(c=!1),f===void 0&&(f=1),l();const u=t.getBoundingClientRect(),{left:a,top:g,width:w,height:h}=u;if(c||e(),!w||!h)return;const v=d.floor(g),p=d.floor(s.clientWidth-(a+w)),y=d.floor(s.clientHeight-(g+h)),m=d.floor(a),C={rootMargin:-v+"px "+-p+"px "+-y+"px "+-m+"px",threshold:d.max(0,d.min(1,f))||1};let O=!0;function D(S){const R=S[0].intersectionRatio;if(R!==f){if(!O)return r();R?r(!1,R):n=setTimeout(()=>{r(!1,1e-7)},1e3)}R===1&&!_(u,t.getBoundingClientRect())&&r(),O=!1}try{o=new IntersectionObserver(D,{...C,root:s.ownerDocument})}catch{o=new IntersectionObserver(D,C)}o.observe(t)}return r(!0),l}function et(t,e,o,n){n===void 0&&(n={});const{ancestorScroll:s=!0,ancestorResize:l=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:f=!1}=n,u=N(t),a=s||l?[...u?i.getOverflowAncestors(u):[],...i.getOverflowAncestors(e)]:[];a.forEach(m=>{s&&m.addEventListener("scroll",o,{passive:!0}),l&&m.addEventListener("resize",o)});const g=u&&c?tt(u,o):null;let w=-1,h=null;r&&(h=new ResizeObserver(m=>{let[x]=m;x&&x.target===u&&h&&(h.unobserve(e),cancelAnimationFrame(w),w=requestAnimationFrame(()=>{var C;(C=h)==null||C.observe(e)})),o()}),u&&!f&&h.observe(u),h.observe(e));let v,p=f?T(t):null;f&&y();function y(){const m=T(t);p&&!_(p,m)&&o(),p=m,v=requestAnimationFrame(y)}return o(),()=>{var m;a.forEach(x=>{s&&x.removeEventListener("scroll",o),l&&x.removeEventListener("resize",o)}),g==null||g(),(m=h)==null||m.disconnect(),h=null,f&&cancelAnimationFrame(v)}}const ot=E.offset,nt=E.shift,it=E.flip,st=E.size,rt=E.hide,lt=E.arrow,ct=E.limitShift,ft=(t,e,o)=>{const n=new Map,s={platform:V,...o},l={...s.platform,_c:n};return E.computePosition(t,e,{...s,platform:l})};exports.getOverflowAncestors=i.getOverflowAncestors;exports.arrow=lt;exports.autoUpdate=et;exports.computePosition=ft;exports.flip=it;exports.hide=rt;exports.limitShift=ct;exports.offset=ot;exports.platform=V;exports.shift=nt;exports.size=st;
2
2
  //# sourceMappingURL=index.cjs534.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs534.js","sources":["../node_modules/react-remove-scroll/dist/es2015/sidecar.js"],"sourcesContent":["import { exportSidecar } from 'use-sidecar';\nimport { RemoveScrollSideCar } from './SideEffect';\nimport { effectCar } from './medium';\nexport default exportSidecar(effectCar, RemoveScrollSideCar);\n"],"names":["SideCar","exportSidecar","effectCar","RemoveScrollSideCar"],"mappings":"gHAGAA,EAAeC,EAAa,cAACC,EAAS,UAAEC,qBAAmB","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs534.js","sources":["../node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs"],"sourcesContent":["import { rectToClientRect, detectOverflow as detectOverflow$1, offset as offset$1, autoPlacement as autoPlacement$1, shift as shift$1, flip as flip$1, size as size$1, hide as hide$1, arrow as arrow$1, inline as inline$1, limitShift as limitShift$1, computePosition as computePosition$1 } from '@floating-ui/core';\nimport { round, createCoords, max, min, floor } from '@floating-ui/utils';\nimport { getComputedStyle, isHTMLElement, isElement, getWindow, isWebKit, getFrameElement, getNodeScroll, getDocumentElement, isTopLayer, getNodeName, isOverflowElement, getOverflowAncestors, getParentNode, isLastTraversableNode, isContainingBlock, isTableElement, getContainingBlock } from '@floating-ui/utils/dom';\nexport { getOverflowAncestors } from '@floating-ui/utils/dom';\n\nfunction getCssDimensions(element) {\n const css = getComputedStyle(element);\n // In testing environments, the `width` and `height` properties are empty\n // strings for SVG elements, returning NaN. Fallback to `0` in this case.\n let width = parseFloat(css.width) || 0;\n let height = parseFloat(css.height) || 0;\n const hasOffset = isHTMLElement(element);\n const offsetWidth = hasOffset ? element.offsetWidth : width;\n const offsetHeight = hasOffset ? element.offsetHeight : height;\n const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;\n if (shouldFallback) {\n width = offsetWidth;\n height = offsetHeight;\n }\n return {\n width,\n height,\n $: shouldFallback\n };\n}\n\nfunction unwrapElement(element) {\n return !isElement(element) ? element.contextElement : element;\n}\n\nfunction getScale(element) {\n const domElement = unwrapElement(element);\n if (!isHTMLElement(domElement)) {\n return createCoords(1);\n }\n const rect = domElement.getBoundingClientRect();\n const {\n width,\n height,\n $\n } = getCssDimensions(domElement);\n let x = ($ ? round(rect.width) : rect.width) / width;\n let y = ($ ? round(rect.height) : rect.height) / height;\n\n // 0, NaN, or Infinity should always fallback to 1.\n\n if (!x || !Number.isFinite(x)) {\n x = 1;\n }\n if (!y || !Number.isFinite(y)) {\n y = 1;\n }\n return {\n x,\n y\n };\n}\n\nconst noOffsets = /*#__PURE__*/createCoords(0);\nfunction getVisualOffsets(element) {\n const win = getWindow(element);\n if (!isWebKit() || !win.visualViewport) {\n return noOffsets;\n }\n return {\n x: win.visualViewport.offsetLeft,\n y: win.visualViewport.offsetTop\n };\n}\nfunction shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {\n if (isFixed === void 0) {\n isFixed = false;\n }\n if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {\n return false;\n }\n return isFixed;\n}\n\nfunction getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {\n if (includeScale === void 0) {\n includeScale = false;\n }\n if (isFixedStrategy === void 0) {\n isFixedStrategy = false;\n }\n const clientRect = element.getBoundingClientRect();\n const domElement = unwrapElement(element);\n let scale = createCoords(1);\n if (includeScale) {\n if (offsetParent) {\n if (isElement(offsetParent)) {\n scale = getScale(offsetParent);\n }\n } else {\n scale = getScale(element);\n }\n }\n const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);\n let x = (clientRect.left + visualOffsets.x) / scale.x;\n let y = (clientRect.top + visualOffsets.y) / scale.y;\n let width = clientRect.width / scale.x;\n let height = clientRect.height / scale.y;\n if (domElement) {\n const win = getWindow(domElement);\n const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;\n let currentWin = win;\n let currentIFrame = getFrameElement(currentWin);\n while (currentIFrame && offsetParent && offsetWin !== currentWin) {\n const iframeScale = getScale(currentIFrame);\n const iframeRect = currentIFrame.getBoundingClientRect();\n const css = getComputedStyle(currentIFrame);\n const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;\n const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;\n x *= iframeScale.x;\n y *= iframeScale.y;\n width *= iframeScale.x;\n height *= iframeScale.y;\n x += left;\n y += top;\n currentWin = getWindow(currentIFrame);\n currentIFrame = getFrameElement(currentWin);\n }\n }\n return rectToClientRect({\n width,\n height,\n x,\n y\n });\n}\n\n// If <html> has a CSS width greater than the viewport, then this will be\n// incorrect for RTL.\nfunction getWindowScrollBarX(element, rect) {\n const leftScroll = getNodeScroll(element).scrollLeft;\n if (!rect) {\n return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;\n }\n return rect.left + leftScroll;\n}\n\nfunction getHTMLOffset(documentElement, scroll, ignoreScrollbarX) {\n if (ignoreScrollbarX === void 0) {\n ignoreScrollbarX = false;\n }\n const htmlRect = documentElement.getBoundingClientRect();\n const x = htmlRect.left + scroll.scrollLeft - (ignoreScrollbarX ? 0 :\n // RTL <body> scrollbar.\n getWindowScrollBarX(documentElement, htmlRect));\n const y = htmlRect.top + scroll.scrollTop;\n return {\n x,\n y\n };\n}\n\nfunction convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {\n let {\n elements,\n rect,\n offsetParent,\n strategy\n } = _ref;\n const isFixed = strategy === 'fixed';\n const documentElement = getDocumentElement(offsetParent);\n const topLayer = elements ? isTopLayer(elements.floating) : false;\n if (offsetParent === documentElement || topLayer && isFixed) {\n return rect;\n }\n let scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n let scale = createCoords(1);\n const offsets = createCoords(0);\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n if (isHTMLElement(offsetParent)) {\n const offsetRect = getBoundingClientRect(offsetParent);\n scale = getScale(offsetParent);\n offsets.x = offsetRect.x + offsetParent.clientLeft;\n offsets.y = offsetRect.y + offsetParent.clientTop;\n }\n }\n const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll, true) : createCoords(0);\n return {\n width: rect.width * scale.x,\n height: rect.height * scale.y,\n x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x + htmlOffset.x,\n y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y + htmlOffset.y\n };\n}\n\nfunction getClientRects(element) {\n return Array.from(element.getClientRects());\n}\n\n// Gets the entire size of the scrollable document area, even extending outside\n// of the `<html>` and `<body>` rect bounds if horizontally scrollable.\nfunction getDocumentRect(element) {\n const html = getDocumentElement(element);\n const scroll = getNodeScroll(element);\n const body = element.ownerDocument.body;\n const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);\n const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);\n let x = -scroll.scrollLeft + getWindowScrollBarX(element);\n const y = -scroll.scrollTop;\n if (getComputedStyle(body).direction === 'rtl') {\n x += max(html.clientWidth, body.clientWidth) - width;\n }\n return {\n width,\n height,\n x,\n y\n };\n}\n\nfunction getViewportRect(element, strategy) {\n const win = getWindow(element);\n const html = getDocumentElement(element);\n const visualViewport = win.visualViewport;\n let width = html.clientWidth;\n let height = html.clientHeight;\n let x = 0;\n let y = 0;\n if (visualViewport) {\n width = visualViewport.width;\n height = visualViewport.height;\n const visualViewportBased = isWebKit();\n if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {\n x = visualViewport.offsetLeft;\n y = visualViewport.offsetTop;\n }\n }\n return {\n width,\n height,\n x,\n y\n };\n}\n\n// Returns the inner client rect, subtracting scrollbars if present.\nfunction getInnerBoundingClientRect(element, strategy) {\n const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');\n const top = clientRect.top + element.clientTop;\n const left = clientRect.left + element.clientLeft;\n const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);\n const width = element.clientWidth * scale.x;\n const height = element.clientHeight * scale.y;\n const x = left * scale.x;\n const y = top * scale.y;\n return {\n width,\n height,\n x,\n y\n };\n}\nfunction getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {\n let rect;\n if (clippingAncestor === 'viewport') {\n rect = getViewportRect(element, strategy);\n } else if (clippingAncestor === 'document') {\n rect = getDocumentRect(getDocumentElement(element));\n } else if (isElement(clippingAncestor)) {\n rect = getInnerBoundingClientRect(clippingAncestor, strategy);\n } else {\n const visualOffsets = getVisualOffsets(element);\n rect = {\n x: clippingAncestor.x - visualOffsets.x,\n y: clippingAncestor.y - visualOffsets.y,\n width: clippingAncestor.width,\n height: clippingAncestor.height\n };\n }\n return rectToClientRect(rect);\n}\nfunction hasFixedPositionAncestor(element, stopNode) {\n const parentNode = getParentNode(element);\n if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {\n return false;\n }\n return getComputedStyle(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);\n}\n\n// A \"clipping ancestor\" is an `overflow` element with the characteristic of\n// clipping (or hiding) child elements. This returns all clipping ancestors\n// of the given element up the tree.\nfunction getClippingElementAncestors(element, cache) {\n const cachedResult = cache.get(element);\n if (cachedResult) {\n return cachedResult;\n }\n let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body');\n let currentContainingBlockComputedStyle = null;\n const elementIsFixed = getComputedStyle(element).position === 'fixed';\n let currentNode = elementIsFixed ? getParentNode(element) : element;\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {\n const computedStyle = getComputedStyle(currentNode);\n const currentNodeIsContaining = isContainingBlock(currentNode);\n if (!currentNodeIsContaining && computedStyle.position === 'fixed') {\n currentContainingBlockComputedStyle = null;\n }\n const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && ['absolute', 'fixed'].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);\n if (shouldDropCurrentNode) {\n // Drop non-containing blocks.\n result = result.filter(ancestor => ancestor !== currentNode);\n } else {\n // Record last containing block for next iteration.\n currentContainingBlockComputedStyle = computedStyle;\n }\n currentNode = getParentNode(currentNode);\n }\n cache.set(element, result);\n return result;\n}\n\n// Gets the maximum area that the element is visible in due to any number of\n// clipping ancestors.\nfunction getClippingRect(_ref) {\n let {\n element,\n boundary,\n rootBoundary,\n strategy\n } = _ref;\n const elementClippingAncestors = boundary === 'clippingAncestors' ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);\n const clippingAncestors = [...elementClippingAncestors, rootBoundary];\n const firstClippingAncestor = clippingAncestors[0];\n const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {\n const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);\n accRect.top = max(rect.top, accRect.top);\n accRect.right = min(rect.right, accRect.right);\n accRect.bottom = min(rect.bottom, accRect.bottom);\n accRect.left = max(rect.left, accRect.left);\n return accRect;\n }, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));\n return {\n width: clippingRect.right - clippingRect.left,\n height: clippingRect.bottom - clippingRect.top,\n x: clippingRect.left,\n y: clippingRect.top\n };\n}\n\nfunction getDimensions(element) {\n const {\n width,\n height\n } = getCssDimensions(element);\n return {\n width,\n height\n };\n}\n\nfunction getRectRelativeToOffsetParent(element, offsetParent, strategy) {\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n const documentElement = getDocumentElement(offsetParent);\n const isFixed = strategy === 'fixed';\n const rect = getBoundingClientRect(element, true, isFixed, offsetParent);\n let scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n const offsets = createCoords(0);\n if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n if (isOffsetParentAnElement) {\n const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);\n offsets.x = offsetRect.x + offsetParent.clientLeft;\n offsets.y = offsetRect.y + offsetParent.clientTop;\n } else if (documentElement) {\n // If the <body> scrollbar appears on the left (e.g. RTL systems). Use\n // Firefox with layout.scrollbar.side = 3 in about:config to test this.\n offsets.x = getWindowScrollBarX(documentElement);\n }\n }\n const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);\n const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;\n const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;\n return {\n x,\n y,\n width: rect.width,\n height: rect.height\n };\n}\n\nfunction isStaticPositioned(element) {\n return getComputedStyle(element).position === 'static';\n}\n\nfunction getTrueOffsetParent(element, polyfill) {\n if (!isHTMLElement(element) || getComputedStyle(element).position === 'fixed') {\n return null;\n }\n if (polyfill) {\n return polyfill(element);\n }\n let rawOffsetParent = element.offsetParent;\n\n // Firefox returns the <html> element as the offsetParent if it's non-static,\n // while Chrome and Safari return the <body> element. The <body> element must\n // be used to perform the correct calculations even if the <html> element is\n // non-static.\n if (getDocumentElement(element) === rawOffsetParent) {\n rawOffsetParent = rawOffsetParent.ownerDocument.body;\n }\n return rawOffsetParent;\n}\n\n// Gets the closest ancestor positioned element. Handles some edge cases,\n// such as table ancestors and cross browser bugs.\nfunction getOffsetParent(element, polyfill) {\n const win = getWindow(element);\n if (isTopLayer(element)) {\n return win;\n }\n if (!isHTMLElement(element)) {\n let svgOffsetParent = getParentNode(element);\n while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {\n if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {\n return svgOffsetParent;\n }\n svgOffsetParent = getParentNode(svgOffsetParent);\n }\n return win;\n }\n let offsetParent = getTrueOffsetParent(element, polyfill);\n while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {\n offsetParent = getTrueOffsetParent(offsetParent, polyfill);\n }\n if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {\n return win;\n }\n return offsetParent || getContainingBlock(element) || win;\n}\n\nconst getElementRects = async function (data) {\n const getOffsetParentFn = this.getOffsetParent || getOffsetParent;\n const getDimensionsFn = this.getDimensions;\n const floatingDimensions = await getDimensionsFn(data.floating);\n return {\n reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),\n floating: {\n x: 0,\n y: 0,\n width: floatingDimensions.width,\n height: floatingDimensions.height\n }\n };\n};\n\nfunction isRTL(element) {\n return getComputedStyle(element).direction === 'rtl';\n}\n\nconst platform = {\n convertOffsetParentRelativeRectToViewportRelativeRect,\n getDocumentElement,\n getClippingRect,\n getOffsetParent,\n getElementRects,\n getClientRects,\n getDimensions,\n getScale,\n isElement,\n isRTL\n};\n\nfunction rectsAreEqual(a, b) {\n return a.x === b.x && a.y === b.y && a.width === b.width && a.height === b.height;\n}\n\n// https://samthor.au/2021/observing-dom/\nfunction observeMove(element, onMove) {\n let io = null;\n let timeoutId;\n const root = getDocumentElement(element);\n function cleanup() {\n var _io;\n clearTimeout(timeoutId);\n (_io = io) == null || _io.disconnect();\n io = null;\n }\n function refresh(skip, threshold) {\n if (skip === void 0) {\n skip = false;\n }\n if (threshold === void 0) {\n threshold = 1;\n }\n cleanup();\n const elementRectForRootMargin = element.getBoundingClientRect();\n const {\n left,\n top,\n width,\n height\n } = elementRectForRootMargin;\n if (!skip) {\n onMove();\n }\n if (!width || !height) {\n return;\n }\n const insetTop = floor(top);\n const insetRight = floor(root.clientWidth - (left + width));\n const insetBottom = floor(root.clientHeight - (top + height));\n const insetLeft = floor(left);\n const rootMargin = -insetTop + \"px \" + -insetRight + \"px \" + -insetBottom + \"px \" + -insetLeft + \"px\";\n const options = {\n rootMargin,\n threshold: max(0, min(1, threshold)) || 1\n };\n let isFirstUpdate = true;\n function handleObserve(entries) {\n const ratio = entries[0].intersectionRatio;\n if (ratio !== threshold) {\n if (!isFirstUpdate) {\n return refresh();\n }\n if (!ratio) {\n // If the reference is clipped, the ratio is 0. Throttle the refresh\n // to prevent an infinite loop of updates.\n timeoutId = setTimeout(() => {\n refresh(false, 1e-7);\n }, 1000);\n } else {\n refresh(false, ratio);\n }\n }\n if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {\n // It's possible that even though the ratio is reported as 1, the\n // element is not actually fully within the IntersectionObserver's root\n // area anymore. This can happen under performance constraints. This may\n // be a bug in the browser's IntersectionObserver implementation. To\n // work around this, we compare the element's bounding rect now with\n // what it was at the time we created the IntersectionObserver. If they\n // are not equal then the element moved, so we refresh.\n refresh();\n }\n isFirstUpdate = false;\n }\n\n // Older browsers don't support a `document` as the root and will throw an\n // error.\n try {\n io = new IntersectionObserver(handleObserve, {\n ...options,\n // Handle <iframe>s\n root: root.ownerDocument\n });\n } catch (e) {\n io = new IntersectionObserver(handleObserve, options);\n }\n io.observe(element);\n }\n refresh(true);\n return cleanup;\n}\n\n/**\n * Automatically updates the position of the floating element when necessary.\n * Should only be called when the floating element is mounted on the DOM or\n * visible on the screen.\n * @returns cleanup function that should be invoked when the floating element is\n * removed from the DOM or hidden from the screen.\n * @see https://floating-ui.com/docs/autoUpdate\n */\nfunction autoUpdate(reference, floating, update, options) {\n if (options === void 0) {\n options = {};\n }\n const {\n ancestorScroll = true,\n ancestorResize = true,\n elementResize = typeof ResizeObserver === 'function',\n layoutShift = typeof IntersectionObserver === 'function',\n animationFrame = false\n } = options;\n const referenceEl = unwrapElement(reference);\n const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...getOverflowAncestors(floating)] : [];\n ancestors.forEach(ancestor => {\n ancestorScroll && ancestor.addEventListener('scroll', update, {\n passive: true\n });\n ancestorResize && ancestor.addEventListener('resize', update);\n });\n const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;\n let reobserveFrame = -1;\n let resizeObserver = null;\n if (elementResize) {\n resizeObserver = new ResizeObserver(_ref => {\n let [firstEntry] = _ref;\n if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {\n // Prevent update loops when using the `size` middleware.\n // https://github.com/floating-ui/floating-ui/issues/1740\n resizeObserver.unobserve(floating);\n cancelAnimationFrame(reobserveFrame);\n reobserveFrame = requestAnimationFrame(() => {\n var _resizeObserver;\n (_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);\n });\n }\n update();\n });\n if (referenceEl && !animationFrame) {\n resizeObserver.observe(referenceEl);\n }\n resizeObserver.observe(floating);\n }\n let frameId;\n let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;\n if (animationFrame) {\n frameLoop();\n }\n function frameLoop() {\n const nextRefRect = getBoundingClientRect(reference);\n if (prevRefRect && !rectsAreEqual(prevRefRect, nextRefRect)) {\n update();\n }\n prevRefRect = nextRefRect;\n frameId = requestAnimationFrame(frameLoop);\n }\n update();\n return () => {\n var _resizeObserver2;\n ancestors.forEach(ancestor => {\n ancestorScroll && ancestor.removeEventListener('scroll', update);\n ancestorResize && ancestor.removeEventListener('resize', update);\n });\n cleanupIo == null || cleanupIo();\n (_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();\n resizeObserver = null;\n if (animationFrame) {\n cancelAnimationFrame(frameId);\n }\n };\n}\n\n/**\n * Resolves with an object of overflow side offsets that determine how much the\n * element is overflowing a given clipping boundary on each side.\n * - positive = overflowing the boundary by that number of pixels\n * - negative = how many pixels left before it will overflow\n * - 0 = lies flush with the boundary\n * @see https://floating-ui.com/docs/detectOverflow\n */\nconst detectOverflow = detectOverflow$1;\n\n/**\n * Modifies the placement by translating the floating element along the\n * specified axes.\n * A number (shorthand for `mainAxis` or distance), or an axes configuration\n * object may be passed.\n * @see https://floating-ui.com/docs/offset\n */\nconst offset = offset$1;\n\n/**\n * Optimizes the visibility of the floating element by choosing the placement\n * that has the most space available automatically, without needing to specify a\n * preferred placement. Alternative to `flip`.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = autoPlacement$1;\n\n/**\n * Optimizes the visibility of the floating element by shifting it in order to\n * keep it in view when it will overflow the clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = shift$1;\n\n/**\n * Optimizes the visibility of the floating element by flipping the `placement`\n * in order to keep it in view when the preferred placement(s) will overflow the\n * clipping boundary. Alternative to `autoPlacement`.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = flip$1;\n\n/**\n * Provides data that allows you to change the size of the floating element —\n * for instance, prevent it from overflowing the clipping boundary or match the\n * width of the reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = size$1;\n\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = hide$1;\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = arrow$1;\n\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = inline$1;\n\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = limitShift$1;\n\n/**\n * Computes the `x` and `y` coordinates that will place the floating element\n * next to a given reference element.\n */\nconst computePosition = (reference, floating, options) => {\n // This caches the expensive `getClippingElementAncestors` function so that\n // multiple lifecycle resets re-use the same result. It only lives for a\n // single call. If other functions become expensive, we can add them as well.\n const cache = new Map();\n const mergedOptions = {\n platform,\n ...options\n };\n const platformWithCache = {\n ...mergedOptions.platform,\n _c: cache\n };\n return computePosition$1(reference, floating, {\n ...mergedOptions,\n platform: platformWithCache\n });\n};\n\nexport { arrow, autoPlacement, autoUpdate, computePosition, detectOverflow, flip, hide, inline, limitShift, offset, platform, shift, size };\n"],"names":["getCssDimensions","element","css","getComputedStyle","width","height","hasOffset","isHTMLElement","offsetWidth","offsetHeight","shouldFallback","round","unwrapElement","isElement","getScale","domElement","createCoords","rect","$","x","y","noOffsets","getVisualOffsets","win","getWindow","isWebKit","shouldAddVisualOffsets","isFixed","floatingOffsetParent","getBoundingClientRect","includeScale","isFixedStrategy","offsetParent","clientRect","scale","visualOffsets","offsetWin","currentWin","currentIFrame","getFrameElement","iframeScale","iframeRect","left","top","rectToClientRect","getWindowScrollBarX","leftScroll","getNodeScroll","getDocumentElement","getHTMLOffset","documentElement","scroll","ignoreScrollbarX","htmlRect","convertOffsetParentRelativeRectToViewportRelativeRect","_ref","elements","strategy","topLayer","isTopLayer","offsets","isOffsetParentAnElement","getNodeName","isOverflowElement","offsetRect","htmlOffset","getClientRects","getDocumentRect","html","body","max","getViewportRect","visualViewport","visualViewportBased","getInnerBoundingClientRect","getClientRectFromClippingAncestor","clippingAncestor","hasFixedPositionAncestor","stopNode","parentNode","getParentNode","isLastTraversableNode","getClippingElementAncestors","cache","cachedResult","result","getOverflowAncestors","el","currentContainingBlockComputedStyle","elementIsFixed","currentNode","computedStyle","currentNodeIsContaining","isContainingBlock","ancestor","getClippingRect","boundary","rootBoundary","clippingAncestors","firstClippingAncestor","clippingRect","accRect","min","getDimensions","getRectRelativeToOffsetParent","isStaticPositioned","getTrueOffsetParent","polyfill","rawOffsetParent","getOffsetParent","svgOffsetParent","isTableElement","getContainingBlock","getElementRects","data","getOffsetParentFn","getDimensionsFn","floatingDimensions","isRTL","platform","rectsAreEqual","a","b","observeMove","onMove","io","timeoutId","root","cleanup","_io","refresh","skip","threshold","elementRectForRootMargin","insetTop","floor","insetRight","insetBottom","insetLeft","options","isFirstUpdate","handleObserve","entries","ratio","autoUpdate","reference","floating","update","ancestorScroll","ancestorResize","elementResize","layoutShift","animationFrame","referenceEl","ancestors","cleanupIo","reobserveFrame","resizeObserver","firstEntry","_resizeObserver","frameId","prevRefRect","frameLoop","nextRefRect","_resizeObserver2","offset","offset$1","shift","shift$1","flip","flip$1","size","size$1","hide","hide$1","arrow","arrow$1","limitShift","limitShift$1","computePosition","mergedOptions","platformWithCache","computePosition$1"],"mappings":"mLAKA,SAASA,EAAiBC,EAAS,CACjC,MAAMC,EAAMC,EAAgB,iBAACF,CAAO,EAGpC,IAAIG,EAAQ,WAAWF,EAAI,KAAK,GAAK,EACjCG,EAAS,WAAWH,EAAI,MAAM,GAAK,EACvC,MAAMI,EAAYC,EAAa,cAACN,CAAO,EACjCO,EAAcF,EAAYL,EAAQ,YAAcG,EAChDK,EAAeH,EAAYL,EAAQ,aAAeI,EAClDK,EAAiBC,EAAAA,MAAMP,CAAK,IAAMI,GAAeG,EAAK,MAACN,CAAM,IAAMI,EACzE,OAAIC,IACFN,EAAQI,EACRH,EAASI,GAEJ,C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EAAe,QAAQX,CAAQ,GAEjC,IAAIc,EACAC,EAAcT,EAAiB3H,EAAsBoH,CAAS,EAAI,KAClEO,GACFU,EAAW,EAEb,SAASA,GAAY,CACnB,MAAMC,EAActI,EAAsBoH,CAAS,EAC/CgB,GAAe,CAACzC,EAAcyC,EAAaE,CAAW,GACxDhB,EAAQ,EAEVc,EAAcE,EACdH,EAAU,sBAAsBE,CAAS,CAC7C,CACE,OAAAf,EAAQ,EACD,IAAM,CACX,IAAIiB,EACJV,EAAU,QAAQ5D,GAAY,CAC5BsD,GAAkBtD,EAAS,oBAAoB,SAAUqD,CAAM,EAC/DE,GAAkBvD,EAAS,oBAAoB,SAAUqD,CAAM,CACrE,CAAK,EACDQ,GAAa,MAAQA,EAAW,GAC/BS,EAAmBP,IAAmB,MAAQO,EAAiB,WAAY,EAC5EP,EAAiB,KACbL,GACF,qBAAqBQ,CAAO,CAE/B,CACH,CAmBK,MAACK,GAASC,EAAAA,OAeTC,GAAQC,EAAAA,MAQRC,GAAOC,EAAAA,KAQPC,GAAOC,EAAAA,KAOPC,GAAOC,EAAAA,KAOPC,GAAQC,EAAAA,MAYRC,GAAaC,EAAAA,WAMbC,GAAkB,CAAClC,EAAWC,EAAUP,IAAY,CAIxD,MAAMxD,EAAQ,IAAI,IACZiG,EAAgB,CACpB,SAAA7D,EACA,GAAGoB,CACJ,EACK0C,EAAoB,CACxB,GAAGD,EAAc,SACjB,GAAIjG,CACL,EACD,OAAOmG,EAAiB,gBAACrC,EAAWC,EAAU,CAC5C,GAAGkC,EACH,SAAUC,CACd,CAAG,CACH","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("./index.cjs497.js");var h,E;function V(){if(E)return h;E=1;var L="Expected a function",O=NaN,G="[object Symbol]",M=/^\s+|\s+$/g,q=/^[-+]0x[0-9a-f]+$/i,C=/^0b[01]+$/i,N=/^0o[0-7]+$/i,R=parseInt,W=typeof g.commonjsGlobal=="object"&&g.commonjsGlobal&&g.commonjsGlobal.Object===Object&&g.commonjsGlobal,$=typeof self=="object"&&self&&self.Object===Object&&self,A=W||$||Function("return this")(),B=Object.prototype,F=B.toString,P=Math.max,H=Math.min,y=function(){return A.Date.now()};function D(e,r,i){var a,u,l,c,t,f,s=0,S=!1,d=!1,p=!0;if(typeof e!="function")throw new TypeError(L);r=I(r)||0,j(i)&&(S=!!i.leading,d="maxWait"in i,l=d?P(I(i.maxWait)||0,r):l,p="trailing"in i?!!i.trailing:p);function v(n){var o=a,m=u;return a=u=void 0,s=n,c=e.apply(m,o),c}function z(n){return s=n,t=setTimeout(b,r),S?v(n):c}function J(n){var o=n-f,m=n-s,k=r-o;return d?H(k,l-m):k}function x(n){var o=n-f,m=n-s;return f===void 0||o>=r||o<0||d&&m>=l}function b(){var n=y();if(x(n))return _(n);t=setTimeout(b,J(n))}function _(n){return t=void 0,p&&a?v(n):(a=u=void 0,c)}function K(){t!==void 0&&clearTimeout(t),s=0,a=f=u=t=void 0}function Q(){return t===void 0?c:_(y())}function T(){var n=y(),o=x(n);if(a=arguments,u=this,f=n,o){if(t===void 0)return z(f);if(d)return t=setTimeout(b,r),v(f)}return t===void 0&&(t=setTimeout(b,r)),c}return T.cancel=K,T.flush=Q,T}function j(e){var r=typeof e;return!!e&&(r=="object"||r=="function")}function U(e){return!!e&&typeof e=="object"}function X(e){return typeof e=="symbol"||U(e)&&F.call(e)==G}function I(e){if(typeof e=="number")return e;if(X(e))return O;if(j(e)){var r=typeof e.valueOf=="function"?e.valueOf():e;e=j(r)?r+"":r}if(typeof e!="string")return e===0?e:+e;e=e.replace(M,"");var i=C.test(e);return i||N.test(e)?R(e.slice(2),i?2:8):q.test(e)?O:+e}return h=D,h}exports.__require=V;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("./index.cjs500.js");var h,E;function V(){if(E)return h;E=1;var L="Expected a function",O=NaN,G="[object Symbol]",M=/^\s+|\s+$/g,q=/^[-+]0x[0-9a-f]+$/i,C=/^0b[01]+$/i,N=/^0o[0-7]+$/i,R=parseInt,W=typeof g.commonjsGlobal=="object"&&g.commonjsGlobal&&g.commonjsGlobal.Object===Object&&g.commonjsGlobal,$=typeof self=="object"&&self&&self.Object===Object&&self,A=W||$||Function("return this")(),B=Object.prototype,F=B.toString,P=Math.max,H=Math.min,y=function(){return A.Date.now()};function D(e,r,i){var a,u,l,c,t,f,s=0,S=!1,d=!1,p=!0;if(typeof e!="function")throw new TypeError(L);r=I(r)||0,j(i)&&(S=!!i.leading,d="maxWait"in i,l=d?P(I(i.maxWait)||0,r):l,p="trailing"in i?!!i.trailing:p);function v(n){var o=a,m=u;return a=u=void 0,s=n,c=e.apply(m,o),c}function z(n){return s=n,t=setTimeout(b,r),S?v(n):c}function J(n){var o=n-f,m=n-s,k=r-o;return d?H(k,l-m):k}function x(n){var o=n-f,m=n-s;return f===void 0||o>=r||o<0||d&&m>=l}function b(){var n=y();if(x(n))return _(n);t=setTimeout(b,J(n))}function _(n){return t=void 0,p&&a?v(n):(a=u=void 0,c)}function K(){t!==void 0&&clearTimeout(t),s=0,a=f=u=t=void 0}function Q(){return t===void 0?c:_(y())}function T(){var n=y(),o=x(n);if(a=arguments,u=this,f=n,o){if(t===void 0)return z(f);if(d)return t=setTimeout(b,r),v(f)}return t===void 0&&(t=setTimeout(b,r)),c}return T.cancel=K,T.flush=Q,T}function j(e){var r=typeof e;return!!e&&(r=="object"||r=="function")}function U(e){return!!e&&typeof e=="object"}function X(e){return typeof e=="symbol"||U(e)&&F.call(e)==G}function I(e){if(typeof e=="number")return e;if(X(e))return O;if(j(e)){var r=typeof e.valueOf=="function"?e.valueOf():e;e=j(r)?r+"":r}if(typeof e!="string")return e===0?e:+e;e=e.replace(M,"");var i=C.test(e);return i||N.test(e)?R(e.slice(2),i?2:8):q.test(e)?O:+e}return h=D,h}exports.__require=V;
2
2
  //# sourceMappingURL=index.cjs535.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs497.js"),r=require("./index.cjs567.js");var s=r.__require();const t=e.getDefaultExportFromCjs(s);module.exports=t;
1
+ "use strict";const e=require("./index.cjs500.js"),r=require("./index.cjs567.js");var s=r.__require();const t=e.getDefaultExportFromCjs(s);module.exports=t;
2
2
  //# sourceMappingURL=index.cjs536.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("react"),g=require("./index.cjs536.js"),o=require("./index.cjs573.js"),y=require("./index.cjs538.js"),q=require("./index.cjs555.js"),B=require("./index.cjs560.js"),P=require("./index.cjs539.js"),l=require("./index.cjs574.js"),S=require("./index.cjs541.js"),E=require("./index.cjs481.js");function j(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,a.get?a:{enumerable:!0,get:()=>e[r]})}}return n.default=e,Object.freeze(n)}const t=j(b),c=t.forwardRef((e,n)=>{const{size:r=o.baseButtonPropDefs.size.default}=e,{className:a,children:s,asChild:u,color:d,radius:p,disabled:i=e.loading,...m}=P.extractProps(e,o.baseButtonPropDefs,S.marginPropDefs),f=u?E.Root:"button";return t.createElement(f,{"data-disabled":i||void 0,"data-accent-color":d,"data-radius":p,...m,ref:n,className:g("rt-reset","rt-BaseButton",a),disabled:i},e.loading?t.createElement(t.Fragment,null,t.createElement("span",{style:{display:"contents",visibility:"hidden"},"aria-hidden":!0},s),t.createElement(B.VisuallyHidden,null,s),t.createElement(y.Flex,{asChild:!0,align:"center",justify:"center",position:"absolute",inset:"0"},t.createElement("span",null,t.createElement(q.Spinner,{size:l.mapResponsiveProp(r,l.mapButtonSizeToSpinnerSize)})))):s)});c.displayName="BaseButton";exports.BaseButton=c;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("react"),g=require("./index.cjs536.js"),o=require("./index.cjs570.js"),y=require("./index.cjs538.js"),q=require("./index.cjs555.js"),B=require("./index.cjs560.js"),P=require("./index.cjs539.js"),l=require("./index.cjs571.js"),S=require("./index.cjs541.js"),E=require("./index.cjs475.js");function j(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,a.get?a:{enumerable:!0,get:()=>e[r]})}}return n.default=e,Object.freeze(n)}const t=j(b),c=t.forwardRef((e,n)=>{const{size:r=o.baseButtonPropDefs.size.default}=e,{className:a,children:s,asChild:u,color:d,radius:p,disabled:i=e.loading,...m}=P.extractProps(e,o.baseButtonPropDefs,S.marginPropDefs),f=u?E.Root:"button";return t.createElement(f,{"data-disabled":i||void 0,"data-accent-color":d,"data-radius":p,...m,ref:n,className:g("rt-reset","rt-BaseButton",a),disabled:i},e.loading?t.createElement(t.Fragment,null,t.createElement("span",{style:{display:"contents",visibility:"hidden"},"aria-hidden":!0},s),t.createElement(B.VisuallyHidden,null,s),t.createElement(y.Flex,{asChild:!0,align:"center",justify:"center",position:"absolute",inset:"0"},t.createElement("span",null,t.createElement(q.Spinner,{size:l.mapResponsiveProp(r,l.mapButtonSizeToSpinnerSize)})))):s)});c.displayName="BaseButton";exports.BaseButton=c;
2
2
  //# sourceMappingURL=index.cjs537.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.cjs570.js"),t=require("./index.cjs571.js"),o=require("./index.cjs572.js"),r=["visible","hidden","clip","scroll","auto"],i=["static","relative","absolute","fixed","sticky"],e=["0","1","2","3","4","5","6","7","8","9","-1","-2","-3","-4","-5","-6","-7","-8","-9"],p=["0","1"],n=["0","1"],u={...s.paddingPropDefs,...o.widthPropDefs,...t.heightPropDefs,position:{type:"enum",className:"rt-r-position",values:i,responsive:!0},inset:{type:"enum | string",className:"rt-r-inset",customProperties:["--inset"],values:e,responsive:!0},top:{type:"enum | string",className:"rt-r-top",customProperties:["--top"],values:e,responsive:!0},right:{type:"enum | string",className:"rt-r-right",customProperties:["--right"],values:e,responsive:!0},bottom:{type:"enum | string",className:"rt-r-bottom",customProperties:["--bottom"],values:e,responsive:!0},left:{type:"enum | string",className:"rt-r-left",customProperties:["--left"],values:e,responsive:!0},overflow:{type:"enum",className:"rt-r-overflow",values:r,responsive:!0},overflowX:{type:"enum",className:"rt-r-ox",values:r,responsive:!0},overflowY:{type:"enum",className:"rt-r-oy",values:r,responsive:!0},flexBasis:{type:"string",className:"rt-r-fb",customProperties:["--flex-basis"],responsive:!0},flexShrink:{type:"enum | string",className:"rt-r-fs",customProperties:["--flex-shrink"],values:p,responsive:!0},flexGrow:{type:"enum | string",className:"rt-r-fg",customProperties:["--flex-grow"],values:n,responsive:!0},gridArea:{type:"string",className:"rt-r-ga",customProperties:["--grid-area"],responsive:!0},gridColumn:{type:"string",className:"rt-r-gc",customProperties:["--grid-column"],responsive:!0},gridColumnStart:{type:"string",className:"rt-r-gcs",customProperties:["--grid-column-start"],responsive:!0},gridColumnEnd:{type:"string",className:"rt-r-gce",customProperties:["--grid-column-end"],responsive:!0},gridRow:{type:"string",className:"rt-r-gr",customProperties:["--grid-row"],responsive:!0},gridRowStart:{type:"string",className:"rt-r-grs",customProperties:["--grid-row-start"],responsive:!0},gridRowEnd:{type:"string",className:"rt-r-gre",customProperties:["--grid-row-end"],responsive:!0}};exports.layoutPropDefs=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.cjs572.js"),t=require("./index.cjs573.js"),o=require("./index.cjs574.js"),r=["visible","hidden","clip","scroll","auto"],i=["static","relative","absolute","fixed","sticky"],e=["0","1","2","3","4","5","6","7","8","9","-1","-2","-3","-4","-5","-6","-7","-8","-9"],p=["0","1"],n=["0","1"],u={...s.paddingPropDefs,...o.widthPropDefs,...t.heightPropDefs,position:{type:"enum",className:"rt-r-position",values:i,responsive:!0},inset:{type:"enum | string",className:"rt-r-inset",customProperties:["--inset"],values:e,responsive:!0},top:{type:"enum | string",className:"rt-r-top",customProperties:["--top"],values:e,responsive:!0},right:{type:"enum | string",className:"rt-r-right",customProperties:["--right"],values:e,responsive:!0},bottom:{type:"enum | string",className:"rt-r-bottom",customProperties:["--bottom"],values:e,responsive:!0},left:{type:"enum | string",className:"rt-r-left",customProperties:["--left"],values:e,responsive:!0},overflow:{type:"enum",className:"rt-r-overflow",values:r,responsive:!0},overflowX:{type:"enum",className:"rt-r-ox",values:r,responsive:!0},overflowY:{type:"enum",className:"rt-r-oy",values:r,responsive:!0},flexBasis:{type:"string",className:"rt-r-fb",customProperties:["--flex-basis"],responsive:!0},flexShrink:{type:"enum | string",className:"rt-r-fs",customProperties:["--flex-shrink"],values:p,responsive:!0},flexGrow:{type:"enum | string",className:"rt-r-fg",customProperties:["--flex-grow"],values:n,responsive:!0},gridArea:{type:"string",className:"rt-r-ga",customProperties:["--grid-area"],responsive:!0},gridColumn:{type:"string",className:"rt-r-gc",customProperties:["--grid-column"],responsive:!0},gridColumnStart:{type:"string",className:"rt-r-gcs",customProperties:["--grid-column-start"],responsive:!0},gridColumnEnd:{type:"string",className:"rt-r-gce",customProperties:["--grid-column-end"],responsive:!0},gridRow:{type:"string",className:"rt-r-gr",customProperties:["--grid-row"],responsive:!0},gridRowStart:{type:"string",className:"rt-r-grs",customProperties:["--grid-row-start"],responsive:!0},gridRowEnd:{type:"string",className:"rt-r-gre",customProperties:["--grid-row-end"],responsive:!0}};exports.layoutPropDefs=u;
2
2
  //# sourceMappingURL=index.cjs540.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs481.js"),t=e.Root;exports.Slot=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs475.js"),t=e.Root;exports.Slot=t;
2
2
  //# sourceMappingURL=index.cjs542.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs575.js"),i=require("./index.cjs571.js"),e=require("./index.cjs572.js"),r=["1","2","3","4"],s={...t.asChildPropDef,size:{type:"enum",className:"rt-r-size",values:r,default:"2",responsive:!0},width:e.widthPropDefs.width,minWidth:e.widthPropDefs.minWidth,maxWidth:{...e.widthPropDefs.maxWidth,default:"480px"},...i.heightPropDefs};exports.popoverContentPropDefs=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs575.js"),i=require("./index.cjs573.js"),e=require("./index.cjs574.js"),r=["1","2","3","4"],s={...t.asChildPropDef,size:{type:"enum",className:"rt-r-size",values:r,default:"2",responsive:!0},width:e.widthPropDefs.width,minWidth:e.widthPropDefs.minWidth,maxWidth:{...e.widthPropDefs.maxWidth,default:"480px"},...i.heightPropDefs};exports.popoverContentPropDefs=s;
2
2
  //# sourceMappingURL=index.cjs545.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("react"),A=require("./index.cjs536.js"),G=require("./index.cjs557.js"),t=require("./index.cjs558.js"),N=require("./index.cjs559.js"),O=require("./index.cjs520.js"),j=require("./index.cjs481.js");function M(o){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const e in o)if(e!=="default"){const r=Object.getOwnPropertyDescriptor(o,e);Object.defineProperty(n,e,r.get?r:{enumerable:!0,get:()=>o[e]})}}return n.default=o,Object.freeze(n)}const a=M(q),i=()=>{},E=a.createContext(void 0),b=a.forwardRef((o,n)=>a.useContext(E)===void 0?a.createElement(N.Provider,{delayDuration:200},a.createElement(O.Provider,{dir:"ltr"},a.createElement(x,{...o,ref:n}))):a.createElement(R,{...o,ref:n}));b.displayName="Theme";const x=a.forwardRef((o,n)=>{const{appearance:e=t.themePropDefs.appearance.default,accentColor:r=t.themePropDefs.accentColor.default,grayColor:s=t.themePropDefs.grayColor.default,panelBackground:u=t.themePropDefs.panelBackground.default,radius:c=t.themePropDefs.radius.default,scaling:l=t.themePropDefs.scaling.default,hasBackground:d=t.themePropDefs.hasBackground.default,...f}=o,[p,g]=a.useState(e);a.useEffect(()=>g(e),[e]);const[P,h]=a.useState(r);a.useEffect(()=>h(r),[r]);const[k,C]=a.useState(s);a.useEffect(()=>C(s),[s]);const[B,m]=a.useState(u);a.useEffect(()=>m(u),[u]);const[D,v]=a.useState(c);a.useEffect(()=>v(c),[c]);const[y,S]=a.useState(l);return a.useEffect(()=>S(l),[l]),a.createElement(R,{...f,ref:n,isRoot:!0,hasBackground:d,appearance:p,accentColor:P,grayColor:k,panelBackground:B,radius:D,scaling:y,onAppearanceChange:g,onAccentColorChange:h,onGrayColorChange:C,onPanelBackgroundChange:m,onRadiusChange:v,onScalingChange:S})});x.displayName="ThemeRoot";const R=a.forwardRef((o,n)=>{const e=a.useContext(E),{asChild:r,isRoot:s,hasBackground:u,appearance:c=(e==null?void 0:e.appearance)??t.themePropDefs.appearance.default,accentColor:l=(e==null?void 0:e.accentColor)??t.themePropDefs.accentColor.default,grayColor:d=(e==null?void 0:e.resolvedGrayColor)??t.themePropDefs.grayColor.default,panelBackground:f=(e==null?void 0:e.panelBackground)??t.themePropDefs.panelBackground.default,radius:p=(e==null?void 0:e.radius)??t.themePropDefs.radius.default,scaling:g=(e==null?void 0:e.scaling)??t.themePropDefs.scaling.default,onAppearanceChange:P=i,onAccentColorChange:h=i,onGrayColorChange:k=i,onPanelBackgroundChange:C=i,onRadiusChange:B=i,onScalingChange:m=i,...D}=o,v=r?j.Root:"div",y=d==="auto"?G.getMatchingGrayColor(l):d,S=o.appearance==="light"||o.appearance==="dark",T=u===void 0?s||S:u;return a.createElement(E.Provider,{value:a.useMemo(()=>({appearance:c,accentColor:l,grayColor:d,resolvedGrayColor:y,panelBackground:f,radius:p,scaling:g,onAppearanceChange:P,onAccentColorChange:h,onGrayColorChange:k,onPanelBackgroundChange:C,onRadiusChange:B,onScalingChange:m}),[c,l,d,y,f,p,g,P,h,k,C,B,m])},a.createElement(v,{"data-is-root-theme":s?"true":"false","data-accent-color":l,"data-gray-color":y,"data-has-background":T?"true":"false","data-panel-background":f,"data-radius":p,"data-scaling":g,ref:n,...D,className:A("radix-themes",{light:c==="light",dark:c==="dark"},D.className)}))});R.displayName="ThemeImpl";exports.Theme=b;exports.ThemeContext=E;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("react"),A=require("./index.cjs536.js"),G=require("./index.cjs557.js"),t=require("./index.cjs558.js"),N=require("./index.cjs559.js"),O=require("./index.cjs519.js"),j=require("./index.cjs475.js");function M(o){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const e in o)if(e!=="default"){const r=Object.getOwnPropertyDescriptor(o,e);Object.defineProperty(n,e,r.get?r:{enumerable:!0,get:()=>o[e]})}}return n.default=o,Object.freeze(n)}const a=M(q),i=()=>{},E=a.createContext(void 0),b=a.forwardRef((o,n)=>a.useContext(E)===void 0?a.createElement(N.Provider,{delayDuration:200},a.createElement(O.Provider,{dir:"ltr"},a.createElement(x,{...o,ref:n}))):a.createElement(R,{...o,ref:n}));b.displayName="Theme";const x=a.forwardRef((o,n)=>{const{appearance:e=t.themePropDefs.appearance.default,accentColor:r=t.themePropDefs.accentColor.default,grayColor:s=t.themePropDefs.grayColor.default,panelBackground:u=t.themePropDefs.panelBackground.default,radius:c=t.themePropDefs.radius.default,scaling:l=t.themePropDefs.scaling.default,hasBackground:d=t.themePropDefs.hasBackground.default,...f}=o,[p,g]=a.useState(e);a.useEffect(()=>g(e),[e]);const[P,h]=a.useState(r);a.useEffect(()=>h(r),[r]);const[k,C]=a.useState(s);a.useEffect(()=>C(s),[s]);const[B,m]=a.useState(u);a.useEffect(()=>m(u),[u]);const[D,v]=a.useState(c);a.useEffect(()=>v(c),[c]);const[y,S]=a.useState(l);return a.useEffect(()=>S(l),[l]),a.createElement(R,{...f,ref:n,isRoot:!0,hasBackground:d,appearance:p,accentColor:P,grayColor:k,panelBackground:B,radius:D,scaling:y,onAppearanceChange:g,onAccentColorChange:h,onGrayColorChange:C,onPanelBackgroundChange:m,onRadiusChange:v,onScalingChange:S})});x.displayName="ThemeRoot";const R=a.forwardRef((o,n)=>{const e=a.useContext(E),{asChild:r,isRoot:s,hasBackground:u,appearance:c=(e==null?void 0:e.appearance)??t.themePropDefs.appearance.default,accentColor:l=(e==null?void 0:e.accentColor)??t.themePropDefs.accentColor.default,grayColor:d=(e==null?void 0:e.resolvedGrayColor)??t.themePropDefs.grayColor.default,panelBackground:f=(e==null?void 0:e.panelBackground)??t.themePropDefs.panelBackground.default,radius:p=(e==null?void 0:e.radius)??t.themePropDefs.radius.default,scaling:g=(e==null?void 0:e.scaling)??t.themePropDefs.scaling.default,onAppearanceChange:P=i,onAccentColorChange:h=i,onGrayColorChange:k=i,onPanelBackgroundChange:C=i,onRadiusChange:B=i,onScalingChange:m=i,...D}=o,v=r?j.Root:"div",y=d==="auto"?G.getMatchingGrayColor(l):d,S=o.appearance==="light"||o.appearance==="dark",T=u===void 0?s||S:u;return a.createElement(E.Provider,{value:a.useMemo(()=>({appearance:c,accentColor:l,grayColor:d,resolvedGrayColor:y,panelBackground:f,radius:p,scaling:g,onAppearanceChange:P,onAccentColorChange:h,onGrayColorChange:k,onPanelBackgroundChange:C,onRadiusChange:B,onScalingChange:m}),[c,l,d,y,f,p,g,P,h,k,C,B,m])},a.createElement(v,{"data-is-root-theme":s?"true":"false","data-accent-color":l,"data-gray-color":y,"data-has-background":T?"true":"false","data-panel-background":f,"data-radius":p,"data-scaling":g,ref:n,...D,className:A("radix-themes",{light:c==="light",dark:c==="dark"},D.className)}))});R.displayName="ThemeImpl";exports.Theme=b;exports.ThemeContext=E;
2
2
  //# sourceMappingURL=index.cjs546.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const I=require("react"),P=require("./index.cjs458.js"),S=require("./index.cjs456.js"),H=require("./index.cjs457.js"),L=require("./index.cjs475.js"),G=require("./index.cjs478.js"),K=require("./index.cjs476.js"),z=require("./index.cjs465.js"),f=require("./index.cjs521.js"),U=require("./index.cjs477.js"),y=require("./index.cjs462.js"),N=require("./index.cjs463.js"),V=require("./index.cjs481.js"),W=require("./index.cjs459.js"),Z=require("./index.cjs480.js"),B=require("./index.cjs479.js"),u=require("./index.cjs244.js");function J(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const s=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(n,o,s.get?s:{enumerable:!0,get:()=>e[o]})}}return n.default=e,Object.freeze(n)}const i=J(I);var C="Popover",[F,Q]=H.createContextScope(C,[f.createPopperScope]),g=f.createPopperScope(),[X,d]=F(C),E=e=>{const{__scopePopover:n,children:o,open:s,defaultOpen:t,onOpenChange:r,modal:c=!1}=e,a=g(n),p=i.useRef(null),[l,m]=i.useState(!1),[R=!1,v]=W.useControllableState({prop:s,defaultProp:t,onChange:r});return u.jsxRuntimeExports.jsx(f.Root,{...a,children:u.jsxRuntimeExports.jsx(X,{scope:n,contentId:z.useId(),triggerRef:p,open:R,onOpenChange:v,onOpenToggle:i.useCallback(()=>v(h=>!h),[v]),hasCustomAnchor:l,onCustomAnchorAdd:i.useCallback(()=>m(!0),[]),onCustomAnchorRemove:i.useCallback(()=>m(!1),[]),modal:c,children:o})})};E.displayName=C;var q="PopoverAnchor",j=i.forwardRef((e,n)=>{const{__scopePopover:o,...s}=e,t=d(q,o),r=g(o),{onCustomAnchorAdd:c,onCustomAnchorRemove:a}=t;return i.useEffect(()=>(c(),()=>a()),[c,a]),u.jsxRuntimeExports.jsx(f.Anchor,{...r,...s,ref:n})});j.displayName=q;var D="PopoverTrigger",A=i.forwardRef((e,n)=>{const{__scopePopover:o,...s}=e,t=d(D,o),r=g(o),c=S.useComposedRefs(n,t.triggerRef),a=u.jsxRuntimeExports.jsx(N.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":t.open,"aria-controls":t.contentId,"data-state":$(t.open),...s,ref:c,onClick:P.composeEventHandlers(e.onClick,t.onOpenToggle)});return t.hasCustomAnchor?a:u.jsxRuntimeExports.jsx(f.Anchor,{asChild:!0,...r,children:a})});A.displayName=D;var O="PopoverPortal",[Y,ee]=F(O,{forceMount:void 0}),_=e=>{const{__scopePopover:n,forceMount:o,children:s,container:t}=e,r=d(O,n);return u.jsxRuntimeExports.jsx(Y,{scope:n,forceMount:o,children:u.jsxRuntimeExports.jsx(y.Presence,{present:o||r.open,children:u.jsxRuntimeExports.jsx(U.Portal,{asChild:!0,container:t,children:s})})})};_.displayName=O;var x="PopoverContent",b=i.forwardRef((e,n)=>{const o=ee(x,e.__scopePopover),{forceMount:s=o.forceMount,...t}=e,r=d(x,e.__scopePopover);return u.jsxRuntimeExports.jsx(y.Presence,{present:s||r.open,children:r.modal?u.jsxRuntimeExports.jsx(te,{...t,ref:n}):u.jsxRuntimeExports.jsx(re,{...t,ref:n})})});b.displayName=x;var oe=V.createSlot("PopoverContent.RemoveScroll"),te=i.forwardRef((e,n)=>{const o=d(x,e.__scopePopover),s=i.useRef(null),t=S.useComposedRefs(n,s),r=i.useRef(!1);return i.useEffect(()=>{const c=s.current;if(c)return Z.hideOthers(c)},[]),u.jsxRuntimeExports.jsx(B,{as:oe,allowPinchZoom:!0,children:u.jsxRuntimeExports.jsx(M,{...e,ref:t,trapFocus:o.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:P.composeEventHandlers(e.onCloseAutoFocus,c=>{var a;c.preventDefault(),r.current||(a=o.triggerRef.current)==null||a.focus()}),onPointerDownOutside:P.composeEventHandlers(e.onPointerDownOutside,c=>{const a=c.detail.originalEvent,p=a.button===0&&a.ctrlKey===!0,l=a.button===2||p;r.current=l},{checkForDefaultPrevented:!1}),onFocusOutside:P.composeEventHandlers(e.onFocusOutside,c=>c.preventDefault(),{checkForDefaultPrevented:!1})})})}),re=i.forwardRef((e,n)=>{const o=d(x,e.__scopePopover),s=i.useRef(!1),t=i.useRef(!1);return u.jsxRuntimeExports.jsx(M,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:r=>{var c,a;(c=e.onCloseAutoFocus)==null||c.call(e,r),r.defaultPrevented||(s.current||(a=o.triggerRef.current)==null||a.focus(),r.preventDefault()),s.current=!1,t.current=!1},onInteractOutside:r=>{var p,l;(p=e.onInteractOutside)==null||p.call(e,r),r.defaultPrevented||(s.current=!0,r.detail.originalEvent.type==="pointerdown"&&(t.current=!0));const c=r.target;((l=o.triggerRef.current)==null?void 0:l.contains(c))&&r.preventDefault(),r.detail.originalEvent.type==="focusin"&&t.current&&r.preventDefault()}})}),M=i.forwardRef((e,n)=>{const{__scopePopover:o,trapFocus:s,onOpenAutoFocus:t,onCloseAutoFocus:r,disableOutsidePointerEvents:c,onEscapeKeyDown:a,onPointerDownOutside:p,onFocusOutside:l,onInteractOutside:m,...R}=e,v=d(x,o),h=g(o);return G.useFocusGuards(),u.jsxRuntimeExports.jsx(K.FocusScope,{asChild:!0,loop:!0,trapped:s,onMountAutoFocus:t,onUnmountAutoFocus:r,children:u.jsxRuntimeExports.jsx(L.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:c,onInteractOutside:m,onEscapeKeyDown:a,onPointerDownOutside:p,onFocusOutside:l,onDismiss:()=>v.onOpenChange(!1),children:u.jsxRuntimeExports.jsx(f.Content,{"data-state":$(v.open),role:"dialog",id:v.contentId,...h,...R,ref:n,style:{...R.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),T="PopoverClose",w=i.forwardRef((e,n)=>{const{__scopePopover:o,...s}=e,t=d(T,o);return u.jsxRuntimeExports.jsx(N.Primitive.button,{type:"button",...s,ref:n,onClick:P.composeEventHandlers(e.onClick,()=>t.onOpenChange(!1))})});w.displayName=T;var ne="PopoverArrow",k=i.forwardRef((e,n)=>{const{__scopePopover:o,...s}=e,t=g(o);return u.jsxRuntimeExports.jsx(f.Arrow,{...t,...s,ref:n})});k.displayName=ne;function $(e){return e?"open":"closed"}var se=E,ce=j,ae=A,ie=_,ue=b,pe=w;exports.Anchor=ce;exports.Close=pe;exports.Content=ue;exports.Popover=E;exports.PopoverAnchor=j;exports.PopoverArrow=k;exports.PopoverClose=w;exports.PopoverContent=b;exports.PopoverPortal=_;exports.PopoverTrigger=A;exports.Portal=ie;exports.Root=se;exports.Trigger=ae;exports.createPopoverScope=Q;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const I=require("react"),P=require("./index.cjs456.js"),S=require("./index.cjs457.js"),H=require("./index.cjs458.js"),L=require("./index.cjs469.js"),G=require("./index.cjs472.js"),K=require("./index.cjs470.js"),z=require("./index.cjs462.js"),f=require("./index.cjs520.js"),U=require("./index.cjs471.js"),y=require("./index.cjs465.js"),N=require("./index.cjs460.js"),V=require("./index.cjs475.js"),W=require("./index.cjs459.js"),Z=require("./index.cjs474.js"),B=require("./index.cjs473.js"),u=require("./index.cjs244.js");function J(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const s=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(n,o,s.get?s:{enumerable:!0,get:()=>e[o]})}}return n.default=e,Object.freeze(n)}const i=J(I);var C="Popover",[F,Q]=H.createContextScope(C,[f.createPopperScope]),g=f.createPopperScope(),[X,d]=F(C),E=e=>{const{__scopePopover:n,children:o,open:s,defaultOpen:t,onOpenChange:r,modal:c=!1}=e,a=g(n),p=i.useRef(null),[l,m]=i.useState(!1),[R=!1,v]=W.useControllableState({prop:s,defaultProp:t,onChange:r});return u.jsxRuntimeExports.jsx(f.Root,{...a,children:u.jsxRuntimeExports.jsx(X,{scope:n,contentId:z.useId(),triggerRef:p,open:R,onOpenChange:v,onOpenToggle:i.useCallback(()=>v(h=>!h),[v]),hasCustomAnchor:l,onCustomAnchorAdd:i.useCallback(()=>m(!0),[]),onCustomAnchorRemove:i.useCallback(()=>m(!1),[]),modal:c,children:o})})};E.displayName=C;var q="PopoverAnchor",j=i.forwardRef((e,n)=>{const{__scopePopover:o,...s}=e,t=d(q,o),r=g(o),{onCustomAnchorAdd:c,onCustomAnchorRemove:a}=t;return i.useEffect(()=>(c(),()=>a()),[c,a]),u.jsxRuntimeExports.jsx(f.Anchor,{...r,...s,ref:n})});j.displayName=q;var D="PopoverTrigger",A=i.forwardRef((e,n)=>{const{__scopePopover:o,...s}=e,t=d(D,o),r=g(o),c=S.useComposedRefs(n,t.triggerRef),a=u.jsxRuntimeExports.jsx(N.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":t.open,"aria-controls":t.contentId,"data-state":$(t.open),...s,ref:c,onClick:P.composeEventHandlers(e.onClick,t.onOpenToggle)});return t.hasCustomAnchor?a:u.jsxRuntimeExports.jsx(f.Anchor,{asChild:!0,...r,children:a})});A.displayName=D;var O="PopoverPortal",[Y,ee]=F(O,{forceMount:void 0}),_=e=>{const{__scopePopover:n,forceMount:o,children:s,container:t}=e,r=d(O,n);return u.jsxRuntimeExports.jsx(Y,{scope:n,forceMount:o,children:u.jsxRuntimeExports.jsx(y.Presence,{present:o||r.open,children:u.jsxRuntimeExports.jsx(U.Portal,{asChild:!0,container:t,children:s})})})};_.displayName=O;var x="PopoverContent",b=i.forwardRef((e,n)=>{const o=ee(x,e.__scopePopover),{forceMount:s=o.forceMount,...t}=e,r=d(x,e.__scopePopover);return u.jsxRuntimeExports.jsx(y.Presence,{present:s||r.open,children:r.modal?u.jsxRuntimeExports.jsx(te,{...t,ref:n}):u.jsxRuntimeExports.jsx(re,{...t,ref:n})})});b.displayName=x;var oe=V.createSlot("PopoverContent.RemoveScroll"),te=i.forwardRef((e,n)=>{const o=d(x,e.__scopePopover),s=i.useRef(null),t=S.useComposedRefs(n,s),r=i.useRef(!1);return i.useEffect(()=>{const c=s.current;if(c)return Z.hideOthers(c)},[]),u.jsxRuntimeExports.jsx(B,{as:oe,allowPinchZoom:!0,children:u.jsxRuntimeExports.jsx(M,{...e,ref:t,trapFocus:o.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:P.composeEventHandlers(e.onCloseAutoFocus,c=>{var a;c.preventDefault(),r.current||(a=o.triggerRef.current)==null||a.focus()}),onPointerDownOutside:P.composeEventHandlers(e.onPointerDownOutside,c=>{const a=c.detail.originalEvent,p=a.button===0&&a.ctrlKey===!0,l=a.button===2||p;r.current=l},{checkForDefaultPrevented:!1}),onFocusOutside:P.composeEventHandlers(e.onFocusOutside,c=>c.preventDefault(),{checkForDefaultPrevented:!1})})})}),re=i.forwardRef((e,n)=>{const o=d(x,e.__scopePopover),s=i.useRef(!1),t=i.useRef(!1);return u.jsxRuntimeExports.jsx(M,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:r=>{var c,a;(c=e.onCloseAutoFocus)==null||c.call(e,r),r.defaultPrevented||(s.current||(a=o.triggerRef.current)==null||a.focus(),r.preventDefault()),s.current=!1,t.current=!1},onInteractOutside:r=>{var p,l;(p=e.onInteractOutside)==null||p.call(e,r),r.defaultPrevented||(s.current=!0,r.detail.originalEvent.type==="pointerdown"&&(t.current=!0));const c=r.target;((l=o.triggerRef.current)==null?void 0:l.contains(c))&&r.preventDefault(),r.detail.originalEvent.type==="focusin"&&t.current&&r.preventDefault()}})}),M=i.forwardRef((e,n)=>{const{__scopePopover:o,trapFocus:s,onOpenAutoFocus:t,onCloseAutoFocus:r,disableOutsidePointerEvents:c,onEscapeKeyDown:a,onPointerDownOutside:p,onFocusOutside:l,onInteractOutside:m,...R}=e,v=d(x,o),h=g(o);return G.useFocusGuards(),u.jsxRuntimeExports.jsx(K.FocusScope,{asChild:!0,loop:!0,trapped:s,onMountAutoFocus:t,onUnmountAutoFocus:r,children:u.jsxRuntimeExports.jsx(L.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:c,onInteractOutside:m,onEscapeKeyDown:a,onPointerDownOutside:p,onFocusOutside:l,onDismiss:()=>v.onOpenChange(!1),children:u.jsxRuntimeExports.jsx(f.Content,{"data-state":$(v.open),role:"dialog",id:v.contentId,...h,...R,ref:n,style:{...R.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),T="PopoverClose",w=i.forwardRef((e,n)=>{const{__scopePopover:o,...s}=e,t=d(T,o);return u.jsxRuntimeExports.jsx(N.Primitive.button,{type:"button",...s,ref:n,onClick:P.composeEventHandlers(e.onClick,()=>t.onOpenChange(!1))})});w.displayName=T;var ne="PopoverArrow",k=i.forwardRef((e,n)=>{const{__scopePopover:o,...s}=e,t=g(o);return u.jsxRuntimeExports.jsx(f.Arrow,{...t,...s,ref:n})});k.displayName=ne;function $(e){return e?"open":"closed"}var se=E,ce=j,ae=A,ie=_,ue=b,pe=w;exports.Anchor=ce;exports.Close=pe;exports.Content=ue;exports.Popover=E;exports.PopoverAnchor=j;exports.PopoverArrow=k;exports.PopoverClose=w;exports.PopoverContent=b;exports.PopoverPortal=_;exports.PopoverTrigger=A;exports.Portal=ie;exports.Root=se;exports.Trigger=ae;exports.createPopoverScope=Q;
2
2
  //# sourceMappingURL=index.cjs547.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const le=require("react"),j=require("./index.cjs463.js"),N=require("./index.cjs462.js"),se=require("./index.cjs457.js"),A=require("./index.cjs456.js"),g=require("./index.cjs517.js"),ce=require("./index.cjs520.js"),ie=require("./index.cjs518.js"),ae=require("./index.cjs590.js"),E=require("./index.cjs458.js"),m=require("./index.cjs244.js");function ue(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(o,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return o.default=e,Object.freeze(o)}const s=ue(le);function de(e,o){return s.useReducer((r,n)=>o[r][n]??r,e)}var Y="ScrollArea",[K,fe]=se.createContextScope(Y),[he,v]=K(Y),V=s.forwardRef((e,o)=>{const{__scopeScrollArea:r,type:n="hover",dir:t,scrollHideDelay:l=600,...c}=e,[i,a]=s.useState(null),[f,u]=s.useState(null),[h,d]=s.useState(null),[b,S]=s.useState(null),[T,M]=s.useState(null),[R,_]=s.useState(0),[X,L]=s.useState(0),[D,y]=s.useState(!1),[H,O]=s.useState(!1),p=A.useComposedRefs(o,P=>a(P)),x=ce.useDirection(t);return m.jsxRuntimeExports.jsx(he,{scope:r,type:n,dir:x,scrollHideDelay:l,scrollArea:i,viewport:f,onViewportChange:u,content:h,onContentChange:d,scrollbarX:b,onScrollbarXChange:S,scrollbarXEnabled:D,onScrollbarXEnabledChange:y,scrollbarY:T,onScrollbarYChange:M,scrollbarYEnabled:H,onScrollbarYEnabledChange:O,onCornerWidthChange:_,onCornerHeightChange:L,children:m.jsxRuntimeExports.jsx(j.Primitive.div,{dir:x,...c,ref:p,style:{position:"relative","--radix-scroll-area-corner-width":R+"px","--radix-scroll-area-corner-height":X+"px",...e.style}})})});V.displayName=Y;var Q="ScrollAreaViewport",U=s.forwardRef((e,o)=>{const{__scopeScrollArea:r,children:n,nonce:t,...l}=e,c=v(Q,r),i=s.useRef(null),a=A.useComposedRefs(o,i,c.onViewportChange);return m.jsxRuntimeExports.jsxs(m.jsxRuntimeExports.Fragment,{children:[m.jsxRuntimeExports.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:t}),m.jsxRuntimeExports.jsx(j.Primitive.div,{"data-radix-scroll-area-viewport":"",...l,ref:a,style:{overflowX:c.scrollbarXEnabled?"scroll":"hidden",overflowY:c.scrollbarYEnabled?"scroll":"hidden",...e.style},children:m.jsxRuntimeExports.jsx("div",{ref:c.onContentChange,style:{minWidth:"100%",display:"table"},children:n})})]})});U.displayName=Q;var w="ScrollAreaScrollbar",q=s.forwardRef((e,o)=>{const{forceMount:r,...n}=e,t=v(w,e.__scopeScrollArea),{onScrollbarXEnabledChange:l,onScrollbarYEnabledChange:c}=t,i=e.orientation==="horizontal";return s.useEffect(()=>(i?l(!0):c(!0),()=>{i?l(!1):c(!1)}),[i,l,c]),t.type==="hover"?m.jsxRuntimeExports.jsx(me,{...n,ref:o,forceMount:r}):t.type==="scroll"?m.jsxRuntimeExports.jsx(be,{...n,ref:o,forceMount:r}):t.type==="auto"?m.jsxRuntimeExports.jsx(Z,{...n,ref:o,forceMount:r}):t.type==="always"?m.jsxRuntimeExports.jsx(B,{...n,ref:o}):null});q.displayName=w;var me=s.forwardRef((e,o)=>{const{forceMount:r,...n}=e,t=v(w,e.__scopeScrollArea),[l,c]=s.useState(!1);return s.useEffect(()=>{const i=t.scrollArea;let a=0;if(i){const f=()=>{window.clearTimeout(a),c(!0)},u=()=>{a=window.setTimeout(()=>c(!1),t.scrollHideDelay)};return i.addEventListener("pointerenter",f),i.addEventListener("pointerleave",u),()=>{window.clearTimeout(a),i.removeEventListener("pointerenter",f),i.removeEventListener("pointerleave",u)}}},[t.scrollArea,t.scrollHideDelay]),m.jsxRuntimeExports.jsx(N.Presence,{present:r||l,children:m.jsxRuntimeExports.jsx(Z,{"data-state":l?"visible":"hidden",...n,ref:o})})}),be=s.forwardRef((e,o)=>{const{forceMount:r,...n}=e,t=v(w,e.__scopeScrollArea),l=e.orientation==="horizontal",c=I(()=>a("SCROLL_END"),100),[i,a]=de("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return s.useEffect(()=>{if(i==="idle"){const f=window.setTimeout(()=>a("HIDE"),t.scrollHideDelay);return()=>window.clearTimeout(f)}},[i,t.scrollHideDelay,a]),s.useEffect(()=>{const f=t.viewport,u=l?"scrollLeft":"scrollTop";if(f){let h=f[u];const d=()=>{const b=f[u];h!==b&&(a("SCROLL"),c()),h=b};return f.addEventListener("scroll",d),()=>f.removeEventListener("scroll",d)}},[t.viewport,l,a,c]),m.jsxRuntimeExports.jsx(N.Presence,{present:r||i!=="hidden",children:m.jsxRuntimeExports.jsx(B,{"data-state":i==="hidden"?"hidden":"visible",...n,ref:o,onPointerEnter:E.composeEventHandlers(e.onPointerEnter,()=>a("POINTER_ENTER")),onPointerLeave:E.composeEventHandlers(e.onPointerLeave,()=>a("POINTER_LEAVE"))})})}),Z=s.forwardRef((e,o)=>{const r=v(w,e.__scopeScrollArea),{forceMount:n,...t}=e,[l,c]=s.useState(!1),i=e.orientation==="horizontal",a=I(()=>{if(r.viewport){const f=r.viewport.offsetWidth<r.viewport.scrollWidth,u=r.viewport.offsetHeight<r.viewport.scrollHeight;c(i?f:u)}},10);return C(r.viewport,a),C(r.content,a),m.jsxRuntimeExports.jsx(N.Presence,{present:n||l,children:m.jsxRuntimeExports.jsx(B,{"data-state":l?"visible":"hidden",...t,ref:o})})}),B=s.forwardRef((e,o)=>{const{orientation:r="vertical",...n}=e,t=v(w,e.__scopeScrollArea),l=s.useRef(null),c=s.useRef(0),[i,a]=s.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),f=te(i.viewport,i.content),u={...n,sizes:i,onSizesChange:a,hasThumb:f>0&&f<1,onThumbChange:d=>l.current=d,onThumbPointerUp:()=>c.current=0,onThumbPointerDown:d=>c.current=d};function h(d,b){return Re(d,c.current,i,b)}return r==="horizontal"?m.jsxRuntimeExports.jsx(pe,{...u,ref:o,onThumbPositionChange:()=>{if(t.viewport&&l.current){const d=t.viewport.scrollLeft,b=J(d,i,t.dir);l.current.style.transform=`translate3d(${b}px, 0, 0)`}},onWheelScroll:d=>{t.viewport&&(t.viewport.scrollLeft=d)},onDragScroll:d=>{t.viewport&&(t.viewport.scrollLeft=h(d,t.dir))}}):r==="vertical"?m.jsxRuntimeExports.jsx(Se,{...u,ref:o,onThumbPositionChange:()=>{if(t.viewport&&l.current){const d=t.viewport.scrollTop,b=J(d,i);l.current.style.transform=`translate3d(0, ${b}px, 0)`}},onWheelScroll:d=>{t.viewport&&(t.viewport.scrollTop=d)},onDragScroll:d=>{t.viewport&&(t.viewport.scrollTop=h(d))}}):null}),pe=s.forwardRef((e,o)=>{const{sizes:r,onSizesChange:n,...t}=e,l=v(w,e.__scopeScrollArea),[c,i]=s.useState(),a=s.useRef(null),f=A.useComposedRefs(o,a,l.onScrollbarXChange);return s.useEffect(()=>{a.current&&i(getComputedStyle(a.current))},[a]),m.jsxRuntimeExports.jsx(re,{"data-orientation":"horizontal",...t,ref:f,sizes:r,style:{bottom:0,left:l.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:l.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":k(r)+"px",...e.style},onThumbPointerDown:u=>e.onThumbPointerDown(u.x),onDragScroll:u=>e.onDragScroll(u.x),onWheelScroll:(u,h)=>{if(l.viewport){const d=l.viewport.scrollLeft+u.deltaX;e.onWheelScroll(d),ne(d,h)&&u.preventDefault()}},onResize:()=>{a.current&&l.viewport&&c&&n({content:l.viewport.scrollWidth,viewport:l.viewport.offsetWidth,scrollbar:{size:a.current.clientWidth,paddingStart:z(c.paddingLeft),paddingEnd:z(c.paddingRight)}})}})}),Se=s.forwardRef((e,o)=>{const{sizes:r,onSizesChange:n,...t}=e,l=v(w,e.__scopeScrollArea),[c,i]=s.useState(),a=s.useRef(null),f=A.useComposedRefs(o,a,l.onScrollbarYChange);return s.useEffect(()=>{a.current&&i(getComputedStyle(a.current))},[a]),m.jsxRuntimeExports.jsx(re,{"data-orientation":"vertical",...t,ref:f,sizes:r,style:{top:0,right:l.dir==="ltr"?0:void 0,left:l.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":k(r)+"px",...e.style},onThumbPointerDown:u=>e.onThumbPointerDown(u.y),onDragScroll:u=>e.onDragScroll(u.y),onWheelScroll:(u,h)=>{if(l.viewport){const d=l.viewport.scrollTop+u.deltaY;e.onWheelScroll(d),ne(d,h)&&u.preventDefault()}},onResize:()=>{a.current&&l.viewport&&c&&n({content:l.viewport.scrollHeight,viewport:l.viewport.offsetHeight,scrollbar:{size:a.current.clientHeight,paddingStart:z(c.paddingTop),paddingEnd:z(c.paddingBottom)}})}})}),[ve,ee]=K(w),re=s.forwardRef((e,o)=>{const{__scopeScrollArea:r,sizes:n,hasThumb:t,onThumbChange:l,onThumbPointerUp:c,onThumbPointerDown:i,onThumbPositionChange:a,onDragScroll:f,onWheelScroll:u,onResize:h,...d}=e,b=v(w,r),[S,T]=s.useState(null),M=A.useComposedRefs(o,p=>T(p)),R=s.useRef(null),_=s.useRef(""),X=b.viewport,L=n.content-n.viewport,D=g.useCallbackRef(u),y=g.useCallbackRef(a),H=I(h,10);function O(p){if(R.current){const x=p.clientX-R.current.left,P=p.clientY-R.current.top;f({x,y:P})}}return s.useEffect(()=>{const p=x=>{const P=x.target;(S==null?void 0:S.contains(P))&&D(x,L)};return document.addEventListener("wheel",p,{passive:!1}),()=>document.removeEventListener("wheel",p,{passive:!1})},[X,S,L,D]),s.useEffect(y,[n,y]),C(S,H),C(b.content,H),m.jsxRuntimeExports.jsx(ve,{scope:r,scrollbar:S,hasThumb:t,onThumbChange:g.useCallbackRef(l),onThumbPointerUp:g.useCallbackRef(c),onThumbPositionChange:y,onThumbPointerDown:g.useCallbackRef(i),children:m.jsxRuntimeExports.jsx(j.Primitive.div,{...d,ref:M,style:{position:"absolute",...d.style},onPointerDown:E.composeEventHandlers(e.onPointerDown,p=>{p.button===0&&(p.target.setPointerCapture(p.pointerId),R.current=S.getBoundingClientRect(),_.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",b.viewport&&(b.viewport.style.scrollBehavior="auto"),O(p))}),onPointerMove:E.composeEventHandlers(e.onPointerMove,O),onPointerUp:E.composeEventHandlers(e.onPointerUp,p=>{const x=p.target;x.hasPointerCapture(p.pointerId)&&x.releasePointerCapture(p.pointerId),document.body.style.webkitUserSelect=_.current,b.viewport&&(b.viewport.style.scrollBehavior=""),R.current=null})})})}),W="ScrollAreaThumb",F=s.forwardRef((e,o)=>{const{forceMount:r,...n}=e,t=ee(W,e.__scopeScrollArea);return m.jsxRuntimeExports.jsx(N.Presence,{present:r||t.hasThumb,children:m.jsxRuntimeExports.jsx(xe,{ref:o,...n})})}),xe=s.forwardRef((e,o)=>{const{__scopeScrollArea:r,style:n,...t}=e,l=v(W,r),c=ee(W,r),{onThumbPositionChange:i}=c,a=A.useComposedRefs(o,h=>c.onThumbChange(h)),f=s.useRef(void 0),u=I(()=>{f.current&&(f.current(),f.current=void 0)},100);return s.useEffect(()=>{const h=l.viewport;if(h){const d=()=>{if(u(),!f.current){const b=ge(h,i);f.current=b,i()}};return i(),h.addEventListener("scroll",d),()=>h.removeEventListener("scroll",d)}},[l.viewport,u,i]),m.jsxRuntimeExports.jsx(j.Primitive.div,{"data-state":c.hasThumb?"visible":"hidden",...t,ref:a,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...n},onPointerDownCapture:E.composeEventHandlers(e.onPointerDownCapture,h=>{const b=h.target.getBoundingClientRect(),S=h.clientX-b.left,T=h.clientY-b.top;c.onThumbPointerDown({x:S,y:T})}),onPointerUp:E.composeEventHandlers(e.onPointerUp,c.onThumbPointerUp)})});F.displayName=W;var $="ScrollAreaCorner",G=s.forwardRef((e,o)=>{const r=v($,e.__scopeScrollArea),n=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&n?m.jsxRuntimeExports.jsx(we,{...e,ref:o}):null});G.displayName=$;var we=s.forwardRef((e,o)=>{const{__scopeScrollArea:r,...n}=e,t=v($,r),[l,c]=s.useState(0),[i,a]=s.useState(0),f=!!(l&&i);return C(t.scrollbarX,()=>{var h;const u=((h=t.scrollbarX)==null?void 0:h.offsetHeight)||0;t.onCornerHeightChange(u),a(u)}),C(t.scrollbarY,()=>{var h;const u=((h=t.scrollbarY)==null?void 0:h.offsetWidth)||0;t.onCornerWidthChange(u),c(u)}),f?m.jsxRuntimeExports.jsx(j.Primitive.div,{...n,ref:o,style:{width:l,height:i,position:"absolute",right:t.dir==="ltr"?0:void 0,left:t.dir==="rtl"?0:void 0,bottom:0,...e.style}}):null});function z(e){return e?parseInt(e,10):0}function te(e,o){const r=e/o;return isNaN(r)?0:r}function k(e){const o=te(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*o;return Math.max(n,18)}function Re(e,o,r,n="ltr"){const t=k(r),l=t/2,c=o||l,i=t-c,a=r.scrollbar.paddingStart+c,f=r.scrollbar.size-r.scrollbar.paddingEnd-i,u=r.content-r.viewport,h=n==="ltr"?[0,u]:[u*-1,0];return oe([a,f],h)(e)}function J(e,o,r="ltr"){const n=k(o),t=o.scrollbar.paddingStart+o.scrollbar.paddingEnd,l=o.scrollbar.size-t,c=o.content-o.viewport,i=l-n,a=r==="ltr"?[0,c]:[c*-1,0],f=ae.clamp(e,a);return oe([0,c],[0,i])(f)}function oe(e,o){return r=>{if(e[0]===e[1]||o[0]===o[1])return o[0];const n=(o[1]-o[0])/(e[1]-e[0]);return o[0]+n*(r-e[0])}}function ne(e,o){return e>0&&e<o}var ge=(e,o=()=>{})=>{let r={left:e.scrollLeft,top:e.scrollTop},n=0;return function t(){const l={left:e.scrollLeft,top:e.scrollTop},c=r.left!==l.left,i=r.top!==l.top;(c||i)&&o(),r=l,n=window.requestAnimationFrame(t)}(),()=>window.cancelAnimationFrame(n)};function I(e,o){const r=g.useCallbackRef(e),n=s.useRef(0);return s.useEffect(()=>()=>window.clearTimeout(n.current),[]),s.useCallback(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(r,o)},[r,o])}function C(e,o){const r=g.useCallbackRef(o);ie.useLayoutEffect(()=>{let n=0;if(e){const t=new ResizeObserver(()=>{cancelAnimationFrame(n),n=window.requestAnimationFrame(r)});return t.observe(e),()=>{window.cancelAnimationFrame(n),t.unobserve(e)}}},[e,r])}var Ee=V,Pe=U,Ce=q,Ae=F,Te=G;exports.Corner=Te;exports.Root=Ee;exports.ScrollArea=V;exports.ScrollAreaCorner=G;exports.ScrollAreaScrollbar=q;exports.ScrollAreaThumb=F;exports.ScrollAreaViewport=U;exports.Scrollbar=Ce;exports.Thumb=Ae;exports.Viewport=Pe;exports.createScrollAreaScope=fe;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const le=require("react"),j=require("./index.cjs460.js"),N=require("./index.cjs465.js"),se=require("./index.cjs458.js"),A=require("./index.cjs457.js"),g=require("./index.cjs517.js"),ce=require("./index.cjs519.js"),ie=require("./index.cjs522.js"),ae=require("./index.cjs588.js"),E=require("./index.cjs456.js"),m=require("./index.cjs244.js");function ue(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(o,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return o.default=e,Object.freeze(o)}const s=ue(le);function de(e,o){return s.useReducer((r,n)=>o[r][n]??r,e)}var Y="ScrollArea",[K,fe]=se.createContextScope(Y),[he,v]=K(Y),V=s.forwardRef((e,o)=>{const{__scopeScrollArea:r,type:n="hover",dir:t,scrollHideDelay:l=600,...c}=e,[i,a]=s.useState(null),[f,u]=s.useState(null),[h,d]=s.useState(null),[b,S]=s.useState(null),[T,M]=s.useState(null),[R,_]=s.useState(0),[X,L]=s.useState(0),[D,y]=s.useState(!1),[H,O]=s.useState(!1),p=A.useComposedRefs(o,P=>a(P)),x=ce.useDirection(t);return m.jsxRuntimeExports.jsx(he,{scope:r,type:n,dir:x,scrollHideDelay:l,scrollArea:i,viewport:f,onViewportChange:u,content:h,onContentChange:d,scrollbarX:b,onScrollbarXChange:S,scrollbarXEnabled:D,onScrollbarXEnabledChange:y,scrollbarY:T,onScrollbarYChange:M,scrollbarYEnabled:H,onScrollbarYEnabledChange:O,onCornerWidthChange:_,onCornerHeightChange:L,children:m.jsxRuntimeExports.jsx(j.Primitive.div,{dir:x,...c,ref:p,style:{position:"relative","--radix-scroll-area-corner-width":R+"px","--radix-scroll-area-corner-height":X+"px",...e.style}})})});V.displayName=Y;var Q="ScrollAreaViewport",U=s.forwardRef((e,o)=>{const{__scopeScrollArea:r,children:n,nonce:t,...l}=e,c=v(Q,r),i=s.useRef(null),a=A.useComposedRefs(o,i,c.onViewportChange);return m.jsxRuntimeExports.jsxs(m.jsxRuntimeExports.Fragment,{children:[m.jsxRuntimeExports.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:t}),m.jsxRuntimeExports.jsx(j.Primitive.div,{"data-radix-scroll-area-viewport":"",...l,ref:a,style:{overflowX:c.scrollbarXEnabled?"scroll":"hidden",overflowY:c.scrollbarYEnabled?"scroll":"hidden",...e.style},children:m.jsxRuntimeExports.jsx("div",{ref:c.onContentChange,style:{minWidth:"100%",display:"table"},children:n})})]})});U.displayName=Q;var w="ScrollAreaScrollbar",q=s.forwardRef((e,o)=>{const{forceMount:r,...n}=e,t=v(w,e.__scopeScrollArea),{onScrollbarXEnabledChange:l,onScrollbarYEnabledChange:c}=t,i=e.orientation==="horizontal";return s.useEffect(()=>(i?l(!0):c(!0),()=>{i?l(!1):c(!1)}),[i,l,c]),t.type==="hover"?m.jsxRuntimeExports.jsx(me,{...n,ref:o,forceMount:r}):t.type==="scroll"?m.jsxRuntimeExports.jsx(be,{...n,ref:o,forceMount:r}):t.type==="auto"?m.jsxRuntimeExports.jsx(Z,{...n,ref:o,forceMount:r}):t.type==="always"?m.jsxRuntimeExports.jsx(B,{...n,ref:o}):null});q.displayName=w;var me=s.forwardRef((e,o)=>{const{forceMount:r,...n}=e,t=v(w,e.__scopeScrollArea),[l,c]=s.useState(!1);return s.useEffect(()=>{const i=t.scrollArea;let a=0;if(i){const f=()=>{window.clearTimeout(a),c(!0)},u=()=>{a=window.setTimeout(()=>c(!1),t.scrollHideDelay)};return i.addEventListener("pointerenter",f),i.addEventListener("pointerleave",u),()=>{window.clearTimeout(a),i.removeEventListener("pointerenter",f),i.removeEventListener("pointerleave",u)}}},[t.scrollArea,t.scrollHideDelay]),m.jsxRuntimeExports.jsx(N.Presence,{present:r||l,children:m.jsxRuntimeExports.jsx(Z,{"data-state":l?"visible":"hidden",...n,ref:o})})}),be=s.forwardRef((e,o)=>{const{forceMount:r,...n}=e,t=v(w,e.__scopeScrollArea),l=e.orientation==="horizontal",c=I(()=>a("SCROLL_END"),100),[i,a]=de("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return s.useEffect(()=>{if(i==="idle"){const f=window.setTimeout(()=>a("HIDE"),t.scrollHideDelay);return()=>window.clearTimeout(f)}},[i,t.scrollHideDelay,a]),s.useEffect(()=>{const f=t.viewport,u=l?"scrollLeft":"scrollTop";if(f){let h=f[u];const d=()=>{const b=f[u];h!==b&&(a("SCROLL"),c()),h=b};return f.addEventListener("scroll",d),()=>f.removeEventListener("scroll",d)}},[t.viewport,l,a,c]),m.jsxRuntimeExports.jsx(N.Presence,{present:r||i!=="hidden",children:m.jsxRuntimeExports.jsx(B,{"data-state":i==="hidden"?"hidden":"visible",...n,ref:o,onPointerEnter:E.composeEventHandlers(e.onPointerEnter,()=>a("POINTER_ENTER")),onPointerLeave:E.composeEventHandlers(e.onPointerLeave,()=>a("POINTER_LEAVE"))})})}),Z=s.forwardRef((e,o)=>{const r=v(w,e.__scopeScrollArea),{forceMount:n,...t}=e,[l,c]=s.useState(!1),i=e.orientation==="horizontal",a=I(()=>{if(r.viewport){const f=r.viewport.offsetWidth<r.viewport.scrollWidth,u=r.viewport.offsetHeight<r.viewport.scrollHeight;c(i?f:u)}},10);return C(r.viewport,a),C(r.content,a),m.jsxRuntimeExports.jsx(N.Presence,{present:n||l,children:m.jsxRuntimeExports.jsx(B,{"data-state":l?"visible":"hidden",...t,ref:o})})}),B=s.forwardRef((e,o)=>{const{orientation:r="vertical",...n}=e,t=v(w,e.__scopeScrollArea),l=s.useRef(null),c=s.useRef(0),[i,a]=s.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),f=te(i.viewport,i.content),u={...n,sizes:i,onSizesChange:a,hasThumb:f>0&&f<1,onThumbChange:d=>l.current=d,onThumbPointerUp:()=>c.current=0,onThumbPointerDown:d=>c.current=d};function h(d,b){return Re(d,c.current,i,b)}return r==="horizontal"?m.jsxRuntimeExports.jsx(pe,{...u,ref:o,onThumbPositionChange:()=>{if(t.viewport&&l.current){const d=t.viewport.scrollLeft,b=J(d,i,t.dir);l.current.style.transform=`translate3d(${b}px, 0, 0)`}},onWheelScroll:d=>{t.viewport&&(t.viewport.scrollLeft=d)},onDragScroll:d=>{t.viewport&&(t.viewport.scrollLeft=h(d,t.dir))}}):r==="vertical"?m.jsxRuntimeExports.jsx(Se,{...u,ref:o,onThumbPositionChange:()=>{if(t.viewport&&l.current){const d=t.viewport.scrollTop,b=J(d,i);l.current.style.transform=`translate3d(0, ${b}px, 0)`}},onWheelScroll:d=>{t.viewport&&(t.viewport.scrollTop=d)},onDragScroll:d=>{t.viewport&&(t.viewport.scrollTop=h(d))}}):null}),pe=s.forwardRef((e,o)=>{const{sizes:r,onSizesChange:n,...t}=e,l=v(w,e.__scopeScrollArea),[c,i]=s.useState(),a=s.useRef(null),f=A.useComposedRefs(o,a,l.onScrollbarXChange);return s.useEffect(()=>{a.current&&i(getComputedStyle(a.current))},[a]),m.jsxRuntimeExports.jsx(re,{"data-orientation":"horizontal",...t,ref:f,sizes:r,style:{bottom:0,left:l.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:l.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":k(r)+"px",...e.style},onThumbPointerDown:u=>e.onThumbPointerDown(u.x),onDragScroll:u=>e.onDragScroll(u.x),onWheelScroll:(u,h)=>{if(l.viewport){const d=l.viewport.scrollLeft+u.deltaX;e.onWheelScroll(d),ne(d,h)&&u.preventDefault()}},onResize:()=>{a.current&&l.viewport&&c&&n({content:l.viewport.scrollWidth,viewport:l.viewport.offsetWidth,scrollbar:{size:a.current.clientWidth,paddingStart:z(c.paddingLeft),paddingEnd:z(c.paddingRight)}})}})}),Se=s.forwardRef((e,o)=>{const{sizes:r,onSizesChange:n,...t}=e,l=v(w,e.__scopeScrollArea),[c,i]=s.useState(),a=s.useRef(null),f=A.useComposedRefs(o,a,l.onScrollbarYChange);return s.useEffect(()=>{a.current&&i(getComputedStyle(a.current))},[a]),m.jsxRuntimeExports.jsx(re,{"data-orientation":"vertical",...t,ref:f,sizes:r,style:{top:0,right:l.dir==="ltr"?0:void 0,left:l.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":k(r)+"px",...e.style},onThumbPointerDown:u=>e.onThumbPointerDown(u.y),onDragScroll:u=>e.onDragScroll(u.y),onWheelScroll:(u,h)=>{if(l.viewport){const d=l.viewport.scrollTop+u.deltaY;e.onWheelScroll(d),ne(d,h)&&u.preventDefault()}},onResize:()=>{a.current&&l.viewport&&c&&n({content:l.viewport.scrollHeight,viewport:l.viewport.offsetHeight,scrollbar:{size:a.current.clientHeight,paddingStart:z(c.paddingTop),paddingEnd:z(c.paddingBottom)}})}})}),[ve,ee]=K(w),re=s.forwardRef((e,o)=>{const{__scopeScrollArea:r,sizes:n,hasThumb:t,onThumbChange:l,onThumbPointerUp:c,onThumbPointerDown:i,onThumbPositionChange:a,onDragScroll:f,onWheelScroll:u,onResize:h,...d}=e,b=v(w,r),[S,T]=s.useState(null),M=A.useComposedRefs(o,p=>T(p)),R=s.useRef(null),_=s.useRef(""),X=b.viewport,L=n.content-n.viewport,D=g.useCallbackRef(u),y=g.useCallbackRef(a),H=I(h,10);function O(p){if(R.current){const x=p.clientX-R.current.left,P=p.clientY-R.current.top;f({x,y:P})}}return s.useEffect(()=>{const p=x=>{const P=x.target;(S==null?void 0:S.contains(P))&&D(x,L)};return document.addEventListener("wheel",p,{passive:!1}),()=>document.removeEventListener("wheel",p,{passive:!1})},[X,S,L,D]),s.useEffect(y,[n,y]),C(S,H),C(b.content,H),m.jsxRuntimeExports.jsx(ve,{scope:r,scrollbar:S,hasThumb:t,onThumbChange:g.useCallbackRef(l),onThumbPointerUp:g.useCallbackRef(c),onThumbPositionChange:y,onThumbPointerDown:g.useCallbackRef(i),children:m.jsxRuntimeExports.jsx(j.Primitive.div,{...d,ref:M,style:{position:"absolute",...d.style},onPointerDown:E.composeEventHandlers(e.onPointerDown,p=>{p.button===0&&(p.target.setPointerCapture(p.pointerId),R.current=S.getBoundingClientRect(),_.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",b.viewport&&(b.viewport.style.scrollBehavior="auto"),O(p))}),onPointerMove:E.composeEventHandlers(e.onPointerMove,O),onPointerUp:E.composeEventHandlers(e.onPointerUp,p=>{const x=p.target;x.hasPointerCapture(p.pointerId)&&x.releasePointerCapture(p.pointerId),document.body.style.webkitUserSelect=_.current,b.viewport&&(b.viewport.style.scrollBehavior=""),R.current=null})})})}),W="ScrollAreaThumb",F=s.forwardRef((e,o)=>{const{forceMount:r,...n}=e,t=ee(W,e.__scopeScrollArea);return m.jsxRuntimeExports.jsx(N.Presence,{present:r||t.hasThumb,children:m.jsxRuntimeExports.jsx(xe,{ref:o,...n})})}),xe=s.forwardRef((e,o)=>{const{__scopeScrollArea:r,style:n,...t}=e,l=v(W,r),c=ee(W,r),{onThumbPositionChange:i}=c,a=A.useComposedRefs(o,h=>c.onThumbChange(h)),f=s.useRef(void 0),u=I(()=>{f.current&&(f.current(),f.current=void 0)},100);return s.useEffect(()=>{const h=l.viewport;if(h){const d=()=>{if(u(),!f.current){const b=ge(h,i);f.current=b,i()}};return i(),h.addEventListener("scroll",d),()=>h.removeEventListener("scroll",d)}},[l.viewport,u,i]),m.jsxRuntimeExports.jsx(j.Primitive.div,{"data-state":c.hasThumb?"visible":"hidden",...t,ref:a,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...n},onPointerDownCapture:E.composeEventHandlers(e.onPointerDownCapture,h=>{const b=h.target.getBoundingClientRect(),S=h.clientX-b.left,T=h.clientY-b.top;c.onThumbPointerDown({x:S,y:T})}),onPointerUp:E.composeEventHandlers(e.onPointerUp,c.onThumbPointerUp)})});F.displayName=W;var $="ScrollAreaCorner",G=s.forwardRef((e,o)=>{const r=v($,e.__scopeScrollArea),n=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&n?m.jsxRuntimeExports.jsx(we,{...e,ref:o}):null});G.displayName=$;var we=s.forwardRef((e,o)=>{const{__scopeScrollArea:r,...n}=e,t=v($,r),[l,c]=s.useState(0),[i,a]=s.useState(0),f=!!(l&&i);return C(t.scrollbarX,()=>{var h;const u=((h=t.scrollbarX)==null?void 0:h.offsetHeight)||0;t.onCornerHeightChange(u),a(u)}),C(t.scrollbarY,()=>{var h;const u=((h=t.scrollbarY)==null?void 0:h.offsetWidth)||0;t.onCornerWidthChange(u),c(u)}),f?m.jsxRuntimeExports.jsx(j.Primitive.div,{...n,ref:o,style:{width:l,height:i,position:"absolute",right:t.dir==="ltr"?0:void 0,left:t.dir==="rtl"?0:void 0,bottom:0,...e.style}}):null});function z(e){return e?parseInt(e,10):0}function te(e,o){const r=e/o;return isNaN(r)?0:r}function k(e){const o=te(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*o;return Math.max(n,18)}function Re(e,o,r,n="ltr"){const t=k(r),l=t/2,c=o||l,i=t-c,a=r.scrollbar.paddingStart+c,f=r.scrollbar.size-r.scrollbar.paddingEnd-i,u=r.content-r.viewport,h=n==="ltr"?[0,u]:[u*-1,0];return oe([a,f],h)(e)}function J(e,o,r="ltr"){const n=k(o),t=o.scrollbar.paddingStart+o.scrollbar.paddingEnd,l=o.scrollbar.size-t,c=o.content-o.viewport,i=l-n,a=r==="ltr"?[0,c]:[c*-1,0],f=ae.clamp(e,a);return oe([0,c],[0,i])(f)}function oe(e,o){return r=>{if(e[0]===e[1]||o[0]===o[1])return o[0];const n=(o[1]-o[0])/(e[1]-e[0]);return o[0]+n*(r-e[0])}}function ne(e,o){return e>0&&e<o}var ge=(e,o=()=>{})=>{let r={left:e.scrollLeft,top:e.scrollTop},n=0;return function t(){const l={left:e.scrollLeft,top:e.scrollTop},c=r.left!==l.left,i=r.top!==l.top;(c||i)&&o(),r=l,n=window.requestAnimationFrame(t)}(),()=>window.cancelAnimationFrame(n)};function I(e,o){const r=g.useCallbackRef(e),n=s.useRef(0);return s.useEffect(()=>()=>window.clearTimeout(n.current),[]),s.useCallback(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(r,o)},[r,o])}function C(e,o){const r=g.useCallbackRef(o);ie.useLayoutEffect(()=>{let n=0;if(e){const t=new ResizeObserver(()=>{cancelAnimationFrame(n),n=window.requestAnimationFrame(r)});return t.observe(e),()=>{window.cancelAnimationFrame(n),t.unobserve(e)}}},[e,r])}var Ee=V,Pe=U,Ce=q,Ae=F,Te=G;exports.Corner=Te;exports.Root=Ee;exports.ScrollArea=V;exports.ScrollAreaCorner=G;exports.ScrollAreaScrollbar=q;exports.ScrollAreaThumb=F;exports.ScrollAreaViewport=U;exports.Scrollbar=Ce;exports.Thumb=Ae;exports.Viewport=Pe;exports.createScrollAreaScope=fe;
2
2
  //# sourceMappingURL=index.cjs554.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const F=require("react"),y=require("./index.cjs458.js"),O=require("./index.cjs456.js"),B=require("./index.cjs457.js"),U=require("./index.cjs475.js"),g=require("./index.cjs521.js"),V=require("./index.cjs462.js"),Y=require("./index.cjs463.js"),X=require("./index.cjs481.js"),z=require("./index.cjs561.js"),x=require("./index.cjs244.js");function K(t){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const r=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(o,e,r.get?r:{enumerable:!0,get:()=>t[e]})}}return o.default=t,Object.freeze(o)}const c=K(F);var[R,W]=B.createContextScope("Tooltip",[g.createPopperScope]),_=g.createPopperScope(),D="TooltipProvider",J=700,L="tooltip.open",[Q,k]=R(D),A=t=>{const{__scopeTooltip:o,delayDuration:e=J,skipDelayDuration:r=300,disableHoverableContent:n=!1,children:a}=t,s=c.useRef(!0),d=c.useRef(!1),i=c.useRef(0);return c.useEffect(()=>{const u=i.current;return()=>window.clearTimeout(u)},[]),x.jsxRuntimeExports.jsx(Q,{scope:o,isOpenDelayedRef:s,delayDuration:e,onOpen:c.useCallback(()=>{window.clearTimeout(i.current),s.current=!1},[]),onClose:c.useCallback(()=>{window.clearTimeout(i.current),i.current=window.setTimeout(()=>s.current=!0,r)},[r]),isPointerInTransitRef:d,onPointerInTransitChange:c.useCallback(u=>{d.current=u},[]),disableHoverableContent:n,children:a})};A.displayName=D;var M="Tooltip",[de,b]=R(M),j="TooltipTrigger",S=c.forwardRef((t,o)=>{const{__scopeTooltip:e,...r}=t,n=b(j,e),a=k(j,e),s=_(e),d=c.useRef(null),i=O.useComposedRefs(o,d,n.onTriggerChange),u=c.useRef(!1),l=c.useRef(!1),p=c.useCallback(()=>u.current=!1,[]);return c.useEffect(()=>()=>document.removeEventListener("pointerup",p),[p]),x.jsxRuntimeExports.jsx(g.Anchor,{asChild:!0,...s,children:x.jsxRuntimeExports.jsx(Y.Primitive.button,{"aria-describedby":n.open?n.contentId:void 0,"data-state":n.stateAttribute,...r,ref:i,onPointerMove:y.composeEventHandlers(t.onPointerMove,f=>{f.pointerType!=="touch"&&!l.current&&!a.isPointerInTransitRef.current&&(n.onTriggerEnter(),l.current=!0)}),onPointerLeave:y.composeEventHandlers(t.onPointerLeave,()=>{n.onTriggerLeave(),l.current=!1}),onPointerDown:y.composeEventHandlers(t.onPointerDown,()=>{n.open&&n.onClose(),u.current=!0,document.addEventListener("pointerup",p,{once:!0})}),onFocus:y.composeEventHandlers(t.onFocus,()=>{u.current||n.onOpen()}),onBlur:y.composeEventHandlers(t.onBlur,n.onClose),onClick:y.composeEventHandlers(t.onClick,n.onClose)})})});S.displayName=j;var Z="TooltipPortal",[xe,ee]=R(Z,{forceMount:void 0}),E="TooltipContent",H=c.forwardRef((t,o)=>{const e=ee(E,t.__scopeTooltip),{forceMount:r=e.forceMount,side:n="top",...a}=t,s=b(E,t.__scopeTooltip);return x.jsxRuntimeExports.jsx(V.Presence,{present:r||s.open,children:s.disableHoverableContent?x.jsxRuntimeExports.jsx(I,{side:n,...a,ref:o}):x.jsxRuntimeExports.jsx(te,{side:n,...a,ref:o})})}),te=c.forwardRef((t,o)=>{const e=b(E,t.__scopeTooltip),r=k(E,t.__scopeTooltip),n=c.useRef(null),a=O.useComposedRefs(o,n),[s,d]=c.useState(null),{trigger:i,onClose:u}=e,l=n.current,{onPointerInTransitChange:p}=r,f=c.useCallback(()=>{d(null),p(!1)},[p]),T=c.useCallback((v,h)=>{const m=v.currentTarget,C={x:v.clientX,y:v.clientY},P=se(C,m.getBoundingClientRect()),w=ie(C,P),G=ce(h.getBoundingClientRect()),$=le([...w,...G]);d($),p(!0)},[p]);return c.useEffect(()=>()=>f(),[f]),c.useEffect(()=>{if(i&&l){const v=m=>T(m,l),h=m=>T(m,i);return i.addEventListener("pointerleave",v),l.addEventListener("pointerleave",h),()=>{i.removeEventListener("pointerleave",v),l.removeEventListener("pointerleave",h)}}},[i,l,T,f]),c.useEffect(()=>{if(s){const v=h=>{const m=h.target,C={x:h.clientX,y:h.clientY},P=(i==null?void 0:i.contains(m))||(l==null?void 0:l.contains(m)),w=!ae(C,s);P?f():w&&(f(),u())};return document.addEventListener("pointermove",v),()=>document.removeEventListener("pointermove",v)}},[i,l,s,u,f]),x.jsxRuntimeExports.jsx(I,{...t,ref:a})}),[oe,re]=R(M,{isInside:!1}),ne=X.createSlottable("TooltipContent"),I=c.forwardRef((t,o)=>{const{__scopeTooltip:e,children:r,"aria-label":n,onEscapeKeyDown:a,onPointerDownOutside:s,...d}=t,i=b(E,e),u=_(e),{onClose:l}=i;return c.useEffect(()=>(document.addEventListener(L,l),()=>document.removeEventListener(L,l)),[l]),c.useEffect(()=>{if(i.trigger){const p=f=>{const T=f.target;T!=null&&T.contains(i.trigger)&&l()};return window.addEventListener("scroll",p,{capture:!0}),()=>window.removeEventListener("scroll",p,{capture:!0})}},[i.trigger,l]),x.jsxRuntimeExports.jsx(U.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:s,onFocusOutside:p=>p.preventDefault(),onDismiss:l,children:x.jsxRuntimeExports.jsxs(g.Content,{"data-state":i.stateAttribute,...u,...d,ref:o,style:{...d.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[x.jsxRuntimeExports.jsx(ne,{children:r}),x.jsxRuntimeExports.jsx(oe,{scope:e,isInside:!0,children:x.jsxRuntimeExports.jsx(z.Root,{id:i.contentId,role:"tooltip",children:n||r})})]})})});H.displayName=E;var N="TooltipArrow",q=c.forwardRef((t,o)=>{const{__scopeTooltip:e,...r}=t,n=_(e);return re(N,e).isInside?null:x.jsxRuntimeExports.jsx(g.Arrow,{...n,...r,ref:o})});q.displayName=N;function se(t,o){const e=Math.abs(o.top-t.y),r=Math.abs(o.bottom-t.y),n=Math.abs(o.right-t.x),a=Math.abs(o.left-t.x);switch(Math.min(e,r,n,a)){case a:return"left";case n:return"right";case e:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function ie(t,o,e=5){const r=[];switch(o){case"top":r.push({x:t.x-e,y:t.y+e},{x:t.x+e,y:t.y+e});break;case"bottom":r.push({x:t.x-e,y:t.y-e},{x:t.x+e,y:t.y-e});break;case"left":r.push({x:t.x+e,y:t.y-e},{x:t.x+e,y:t.y+e});break;case"right":r.push({x:t.x-e,y:t.y-e},{x:t.x-e,y:t.y+e});break}return r}function ce(t){const{top:o,right:e,bottom:r,left:n}=t;return[{x:n,y:o},{x:e,y:o},{x:e,y:r},{x:n,y:r}]}function ae(t,o){const{x:e,y:r}=t;let n=!1;for(let a=0,s=o.length-1;a<o.length;s=a++){const d=o[a].x,i=o[a].y,u=o[s].x,l=o[s].y;i>r!=l>r&&e<(u-d)*(r-i)/(l-i)+d&&(n=!n)}return n}function le(t){const o=t.slice();return o.sort((e,r)=>e.x<r.x?-1:e.x>r.x?1:e.y<r.y?-1:e.y>r.y?1:0),ue(o)}function ue(t){if(t.length<=1)return t.slice();const o=[];for(let r=0;r<t.length;r++){const n=t[r];for(;o.length>=2;){const a=o[o.length-1],s=o[o.length-2];if((a.x-s.x)*(n.y-s.y)>=(a.y-s.y)*(n.x-s.x))o.pop();else break}o.push(n)}o.pop();const e=[];for(let r=t.length-1;r>=0;r--){const n=t[r];for(;e.length>=2;){const a=e[e.length-1],s=e[e.length-2];if((a.x-s.x)*(n.y-s.y)>=(a.y-s.y)*(n.x-s.x))e.pop();else break}e.push(n)}return e.pop(),o.length===1&&e.length===1&&o[0].x===e[0].x&&o[0].y===e[0].y?o:o.concat(e)}var pe=A;exports.Provider=pe;exports.TooltipArrow=q;exports.TooltipContent=H;exports.TooltipProvider=A;exports.TooltipTrigger=S;exports.createTooltipScope=W;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const F=require("react"),y=require("./index.cjs456.js"),O=require("./index.cjs457.js"),B=require("./index.cjs458.js"),U=require("./index.cjs469.js"),g=require("./index.cjs520.js"),V=require("./index.cjs465.js"),Y=require("./index.cjs460.js"),X=require("./index.cjs475.js"),z=require("./index.cjs561.js"),x=require("./index.cjs244.js");function K(t){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const r=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(o,e,r.get?r:{enumerable:!0,get:()=>t[e]})}}return o.default=t,Object.freeze(o)}const c=K(F);var[R,W]=B.createContextScope("Tooltip",[g.createPopperScope]),_=g.createPopperScope(),D="TooltipProvider",J=700,L="tooltip.open",[Q,k]=R(D),A=t=>{const{__scopeTooltip:o,delayDuration:e=J,skipDelayDuration:r=300,disableHoverableContent:n=!1,children:a}=t,s=c.useRef(!0),d=c.useRef(!1),i=c.useRef(0);return c.useEffect(()=>{const u=i.current;return()=>window.clearTimeout(u)},[]),x.jsxRuntimeExports.jsx(Q,{scope:o,isOpenDelayedRef:s,delayDuration:e,onOpen:c.useCallback(()=>{window.clearTimeout(i.current),s.current=!1},[]),onClose:c.useCallback(()=>{window.clearTimeout(i.current),i.current=window.setTimeout(()=>s.current=!0,r)},[r]),isPointerInTransitRef:d,onPointerInTransitChange:c.useCallback(u=>{d.current=u},[]),disableHoverableContent:n,children:a})};A.displayName=D;var M="Tooltip",[de,b]=R(M),j="TooltipTrigger",S=c.forwardRef((t,o)=>{const{__scopeTooltip:e,...r}=t,n=b(j,e),a=k(j,e),s=_(e),d=c.useRef(null),i=O.useComposedRefs(o,d,n.onTriggerChange),u=c.useRef(!1),l=c.useRef(!1),p=c.useCallback(()=>u.current=!1,[]);return c.useEffect(()=>()=>document.removeEventListener("pointerup",p),[p]),x.jsxRuntimeExports.jsx(g.Anchor,{asChild:!0,...s,children:x.jsxRuntimeExports.jsx(Y.Primitive.button,{"aria-describedby":n.open?n.contentId:void 0,"data-state":n.stateAttribute,...r,ref:i,onPointerMove:y.composeEventHandlers(t.onPointerMove,f=>{f.pointerType!=="touch"&&!l.current&&!a.isPointerInTransitRef.current&&(n.onTriggerEnter(),l.current=!0)}),onPointerLeave:y.composeEventHandlers(t.onPointerLeave,()=>{n.onTriggerLeave(),l.current=!1}),onPointerDown:y.composeEventHandlers(t.onPointerDown,()=>{n.open&&n.onClose(),u.current=!0,document.addEventListener("pointerup",p,{once:!0})}),onFocus:y.composeEventHandlers(t.onFocus,()=>{u.current||n.onOpen()}),onBlur:y.composeEventHandlers(t.onBlur,n.onClose),onClick:y.composeEventHandlers(t.onClick,n.onClose)})})});S.displayName=j;var Z="TooltipPortal",[xe,ee]=R(Z,{forceMount:void 0}),E="TooltipContent",H=c.forwardRef((t,o)=>{const e=ee(E,t.__scopeTooltip),{forceMount:r=e.forceMount,side:n="top",...a}=t,s=b(E,t.__scopeTooltip);return x.jsxRuntimeExports.jsx(V.Presence,{present:r||s.open,children:s.disableHoverableContent?x.jsxRuntimeExports.jsx(I,{side:n,...a,ref:o}):x.jsxRuntimeExports.jsx(te,{side:n,...a,ref:o})})}),te=c.forwardRef((t,o)=>{const e=b(E,t.__scopeTooltip),r=k(E,t.__scopeTooltip),n=c.useRef(null),a=O.useComposedRefs(o,n),[s,d]=c.useState(null),{trigger:i,onClose:u}=e,l=n.current,{onPointerInTransitChange:p}=r,f=c.useCallback(()=>{d(null),p(!1)},[p]),T=c.useCallback((v,h)=>{const m=v.currentTarget,C={x:v.clientX,y:v.clientY},P=se(C,m.getBoundingClientRect()),w=ie(C,P),G=ce(h.getBoundingClientRect()),$=le([...w,...G]);d($),p(!0)},[p]);return c.useEffect(()=>()=>f(),[f]),c.useEffect(()=>{if(i&&l){const v=m=>T(m,l),h=m=>T(m,i);return i.addEventListener("pointerleave",v),l.addEventListener("pointerleave",h),()=>{i.removeEventListener("pointerleave",v),l.removeEventListener("pointerleave",h)}}},[i,l,T,f]),c.useEffect(()=>{if(s){const v=h=>{const m=h.target,C={x:h.clientX,y:h.clientY},P=(i==null?void 0:i.contains(m))||(l==null?void 0:l.contains(m)),w=!ae(C,s);P?f():w&&(f(),u())};return document.addEventListener("pointermove",v),()=>document.removeEventListener("pointermove",v)}},[i,l,s,u,f]),x.jsxRuntimeExports.jsx(I,{...t,ref:a})}),[oe,re]=R(M,{isInside:!1}),ne=X.createSlottable("TooltipContent"),I=c.forwardRef((t,o)=>{const{__scopeTooltip:e,children:r,"aria-label":n,onEscapeKeyDown:a,onPointerDownOutside:s,...d}=t,i=b(E,e),u=_(e),{onClose:l}=i;return c.useEffect(()=>(document.addEventListener(L,l),()=>document.removeEventListener(L,l)),[l]),c.useEffect(()=>{if(i.trigger){const p=f=>{const T=f.target;T!=null&&T.contains(i.trigger)&&l()};return window.addEventListener("scroll",p,{capture:!0}),()=>window.removeEventListener("scroll",p,{capture:!0})}},[i.trigger,l]),x.jsxRuntimeExports.jsx(U.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:s,onFocusOutside:p=>p.preventDefault(),onDismiss:l,children:x.jsxRuntimeExports.jsxs(g.Content,{"data-state":i.stateAttribute,...u,...d,ref:o,style:{...d.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[x.jsxRuntimeExports.jsx(ne,{children:r}),x.jsxRuntimeExports.jsx(oe,{scope:e,isInside:!0,children:x.jsxRuntimeExports.jsx(z.Root,{id:i.contentId,role:"tooltip",children:n||r})})]})})});H.displayName=E;var N="TooltipArrow",q=c.forwardRef((t,o)=>{const{__scopeTooltip:e,...r}=t,n=_(e);return re(N,e).isInside?null:x.jsxRuntimeExports.jsx(g.Arrow,{...n,...r,ref:o})});q.displayName=N;function se(t,o){const e=Math.abs(o.top-t.y),r=Math.abs(o.bottom-t.y),n=Math.abs(o.right-t.x),a=Math.abs(o.left-t.x);switch(Math.min(e,r,n,a)){case a:return"left";case n:return"right";case e:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function ie(t,o,e=5){const r=[];switch(o){case"top":r.push({x:t.x-e,y:t.y+e},{x:t.x+e,y:t.y+e});break;case"bottom":r.push({x:t.x-e,y:t.y-e},{x:t.x+e,y:t.y-e});break;case"left":r.push({x:t.x+e,y:t.y-e},{x:t.x+e,y:t.y+e});break;case"right":r.push({x:t.x-e,y:t.y-e},{x:t.x-e,y:t.y+e});break}return r}function ce(t){const{top:o,right:e,bottom:r,left:n}=t;return[{x:n,y:o},{x:e,y:o},{x:e,y:r},{x:n,y:r}]}function ae(t,o){const{x:e,y:r}=t;let n=!1;for(let a=0,s=o.length-1;a<o.length;s=a++){const d=o[a].x,i=o[a].y,u=o[s].x,l=o[s].y;i>r!=l>r&&e<(u-d)*(r-i)/(l-i)+d&&(n=!n)}return n}function le(t){const o=t.slice();return o.sort((e,r)=>e.x<r.x?-1:e.x>r.x?1:e.y<r.y?-1:e.y>r.y?1:0),ue(o)}function ue(t){if(t.length<=1)return t.slice();const o=[];for(let r=0;r<t.length;r++){const n=t[r];for(;o.length>=2;){const a=o[o.length-1],s=o[o.length-2];if((a.x-s.x)*(n.y-s.y)>=(a.y-s.y)*(n.x-s.x))o.pop();else break}o.push(n)}o.pop();const e=[];for(let r=t.length-1;r>=0;r--){const n=t[r];for(;e.length>=2;){const a=e[e.length-1],s=e[e.length-2];if((a.x-s.x)*(n.y-s.y)>=(a.y-s.y)*(n.x-s.x))e.pop();else break}e.push(n)}return e.pop(),o.length===1&&e.length===1&&o[0].x===e[0].x&&o[0].y===e[0].y?o:o.concat(e)}var pe=A;exports.Provider=pe;exports.TooltipArrow=q;exports.TooltipContent=H;exports.TooltipProvider=A;exports.TooltipTrigger=S;exports.createTooltipScope=W;
2
2
  //# sourceMappingURL=index.cjs559.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),a=require("./index.cjs463.js"),l=require("./index.cjs244.js");function s(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const c=s(o);var d="VisuallyHidden",i=c.forwardRef((e,t)=>l.jsxRuntimeExports.jsx(a.Primitive.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));i.displayName=d;var u=i;exports.Root=u;exports.VisuallyHidden=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),a=require("./index.cjs460.js"),l=require("./index.cjs244.js");function s(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const c=s(o);var d="VisuallyHidden",i=c.forwardRef((e,t)=>l.jsxRuntimeExports.jsx(a.Primitive.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));i.displayName=d;var u=i;exports.Root=u;exports.VisuallyHidden=i;
2
2
  //# sourceMappingURL=index.cjs561.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs587.js");var r=e.createSidecarMedium();exports.effectCar=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs584.js");var r=e.createSidecarMedium();exports.effectCar=r;
2
2
  //# sourceMappingURL=index.cjs563.js.map
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const O=require("./index.cjs532.js"),q=require("react"),j=require("./index.cjs583.js"),_=require("./index.cjs584.js"),d=require("./index.cjs585.js"),E=require("./index.cjs586.js");function p(e){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const l in e)if(l!=="default"){const i=Object.getOwnPropertyDescriptor(e,l);Object.defineProperty(a,l,i.get?i:{enumerable:!0,get:()=>e[l]})}}return a.default=e,Object.freeze(a)}const n=p(q);var g=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},R=function(e){return[e.deltaX,e.deltaY]},M=function(e){return e&&"current"in e?e.current:e},A=function(e,a){return e[0]===a[0]&&e[1]===a[1]},x=function(e){return`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const O=require("./index.cjs529.js"),q=require("react"),j=require("./index.cjs580.js"),_=require("./index.cjs581.js"),d=require("./index.cjs582.js"),E=require("./index.cjs583.js");function p(e){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const l in e)if(l!=="default"){const i=Object.getOwnPropertyDescriptor(e,l);Object.defineProperty(a,l,i.get?i:{enumerable:!0,get:()=>e[l]})}}return a.default=e,Object.freeze(a)}const n=p(q);var g=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},R=function(e){return[e.deltaX,e.deltaY]},M=function(e){return e&&"current"in e?e.current:e},A=function(e,a){return e[0]===a[0]&&e[1]===a[1]},x=function(e){return`
2
2
  .block-interactivity-`.concat(e,` {pointer-events: none;}
3
3
  .allow-interactivity-`).concat(e,` {pointer-events: all;}
4
4
  `)},I=0,v=[];function W(e){var a=n.useRef([]),l=n.useRef([0,0]),i=n.useRef(),h=n.useState(I++)[0],S=n.useState(_.styleSingleton)[0],b=n.useRef(e);n.useEffect(function(){b.current=e},[e]),n.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(h));var t=O.__spreadArray([e.lockRef.current],(e.shards||[]).map(M),!0).filter(Boolean);return t.forEach(function(r){return r.classList.add("allow-interactivity-".concat(h))}),function(){document.body.classList.remove("block-interactivity-".concat(h)),t.forEach(function(r){return r.classList.remove("allow-interactivity-".concat(h))})}}},[e.inert,e.lockRef.current,e.shards]);var k=n.useCallback(function(t,r){if("touches"in t&&t.touches.length===2||t.type==="wheel"&&t.ctrlKey)return!b.current.allowPinchZoom;var s=g(t),u=l.current,o="deltaX"in t?t.deltaX:u[0]-s[0],f="deltaY"in t?t.deltaY:u[1]-s[1],c,P=t.target,m=Math.abs(o)>Math.abs(f)?"h":"v";if("touches"in t&&m==="h"&&P.type==="range")return!1;var C=E.locationCouldBeScrolled(m,P);if(!C)return!0;if(C?c=m:(c=m==="v"?"h":"v",C=E.locationCouldBeScrolled(m,P)),!C)return!1;if(!i.current&&"changedTouches"in t&&(o||f)&&(i.current=c),!c)return!0;var Y=i.current||c;return E.handleScroll(Y,r,t,Y==="h"?o:f)},[]),y=n.useCallback(function(t){var r=t;if(!(!v.length||v[v.length-1]!==S)){var s="deltaY"in r?R(r):g(r),u=a.current.filter(function(c){return c.name===r.type&&(c.target===r.target||r.target===c.shadowParent)&&A(c.delta,s)})[0];if(u&&u.should){r.cancelable&&r.preventDefault();return}if(!u){var o=(b.current.shards||[]).map(M).filter(Boolean).filter(function(c){return c.contains(r.target)}),f=o.length>0?k(r,o[0]):!b.current.noIsolation;f&&r.cancelable&&r.preventDefault()}}},[]),w=n.useCallback(function(t,r,s,u){var o={name:t,delta:r,target:s,should:u,shadowParent:z(s)};a.current.push(o),setTimeout(function(){a.current=a.current.filter(function(f){return f!==o})},1)},[]),T=n.useCallback(function(t){l.current=g(t),i.current=void 0},[]),L=n.useCallback(function(t){w(t.type,R(t),t.target,k(t,e.lockRef.current))},[]),X=n.useCallback(function(t){w(t.type,g(t),t.target,k(t,e.lockRef.current))},[]);n.useEffect(function(){return v.push(S),e.setCallbacks({onScrollCapture:L,onWheelCapture:L,onTouchMoveCapture:X}),document.addEventListener("wheel",y,d.nonPassive),document.addEventListener("touchmove",y,d.nonPassive),document.addEventListener("touchstart",T,d.nonPassive),function(){v=v.filter(function(t){return t!==S}),document.removeEventListener("wheel",y,d.nonPassive),document.removeEventListener("touchmove",y,d.nonPassive),document.removeEventListener("touchstart",T,d.nonPassive)}},[]);var B=e.removeScrollBar,D=e.inert;return n.createElement(n.Fragment,null,D?n.createElement(S,{styles:x(h)}):null,B?n.createElement(j.RemoveScrollBar,{gapMode:e.gapMode}):null)}function z(e){for(var a=null;e!==null;)e instanceof ShadowRoot&&(a=e.host,e=e.host),e=e.parentNode;return a}exports.RemoveScrollSideCar=W;exports.getDeltaXY=R;exports.getTouchXY=g;
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs532.js"),n=require("react");function c(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,i.get?i:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const s=c(n);var a=function(e){var r=e.sideCar,t=o.__rest(e,["sideCar"]);if(!r)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var i=r.read();if(!i)throw new Error("Sidecar medium not found");return s.createElement(i,o.__assign({},t))};a.isSideCarExport=!0;function u(e,r){return e.useMedium(r),a}exports.exportSidecar=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs529.js"),n=require("react");function c(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,i.get?i:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const s=c(n);var a=function(e){var r=e.sideCar,t=o.__rest(e,["sideCar"]);if(!r)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var i=r.read();if(!i)throw new Error("Sidecar medium not found");return s.createElement(i,o.__assign({},t))};a.isSideCarExport=!0;function u(e,r){return e.useMedium(r),a}exports.exportSidecar=u;
2
2
  //# sourceMappingURL=index.cjs566.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=["0","1","2","3","4","5","6","7","8","9"],s={p:{type:"enum | string",className:"rt-r-p",customProperties:["--p"],values:e,responsive:!0},px:{type:"enum | string",className:"rt-r-px",customProperties:["--pl","--pr"],values:e,responsive:!0},py:{type:"enum | string",className:"rt-r-py",customProperties:["--pt","--pb"],values:e,responsive:!0},pt:{type:"enum | string",className:"rt-r-pt",customProperties:["--pt"],values:e,responsive:!0},pr:{type:"enum | string",className:"rt-r-pr",customProperties:["--pr"],values:e,responsive:!0},pb:{type:"enum | string",className:"rt-r-pb",customProperties:["--pb"],values:e,responsive:!0},pl:{type:"enum | string",className:"rt-r-pl",customProperties:["--pl"],values:e,responsive:!0}};exports.paddingPropDefs=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs575.js"),r=require("./index.cjs589.js"),o=require("./index.cjs590.js"),s=require("./index.cjs577.js"),t=["1","2","3","4"],a=["classic","solid","soft","surface","outline","ghost"],i={...e.asChildPropDef,size:{type:"enum",className:"rt-r-size",values:t,default:"2",responsive:!0},variant:{type:"enum",className:"rt-variant",values:a,default:"solid"},...r.accentColorPropDef,...o.highContrastPropDef,...s.radiusPropDef,loading:{type:"boolean",className:"rt-loading",default:!1}};exports.baseButtonPropDefs=i;
2
2
  //# sourceMappingURL=index.cjs570.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs570.js","sources":["../node_modules/@radix-ui/themes/dist/esm/props/padding.props.js"],"sourcesContent":["const e=[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\"],p={p:{type:\"enum | string\",className:\"rt-r-p\",customProperties:[\"--p\"],values:e,responsive:!0},px:{type:\"enum | string\",className:\"rt-r-px\",customProperties:[\"--pl\",\"--pr\"],values:e,responsive:!0},py:{type:\"enum | string\",className:\"rt-r-py\",customProperties:[\"--pt\",\"--pb\"],values:e,responsive:!0},pt:{type:\"enum | string\",className:\"rt-r-pt\",customProperties:[\"--pt\"],values:e,responsive:!0},pr:{type:\"enum | string\",className:\"rt-r-pr\",customProperties:[\"--pr\"],values:e,responsive:!0},pb:{type:\"enum | string\",className:\"rt-r-pb\",customProperties:[\"--pb\"],values:e,responsive:!0},pl:{type:\"enum | string\",className:\"rt-r-pl\",customProperties:[\"--pl\"],values:e,responsive:!0}};export{p as paddingPropDefs};\n//# sourceMappingURL=padding.props.js.map\n"],"names":["p"],"mappings":"gFAAK,MAAC,EAAE,CAAC,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,GAAG,EAAEA,EAAE,CAAC,EAAE,CAAC,KAAK,gBAAgB,UAAU,SAAS,iBAAiB,CAAC,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,EAAE,GAAG,CAAC,KAAK,gBAAgB,UAAU,UAAU,iBAAiB,CAAC,OAAO,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,EAAE,GAAG,CAAC,KAAK,gBAAgB,UAAU,UAAU,iBAAiB,CAAC,OAAO,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,EAAE,GAAG,CAAC,KAAK,gBAAgB,UAAU,UAAU,iBAAiB,CAAC,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,EAAE,GAAG,CAAC,KAAK,gBAAgB,UAAU,UAAU,iBAAiB,CAAC,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,EAAE,GAAG,CAAC,KAAK,gBAAgB,UAAU,UAAU,iBAAiB,CAAC,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,EAAE,GAAG,CAAC,KAAK,gBAAgB,UAAU,UAAU,iBAAiB,CAAC,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,CAAC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs570.js","sources":["../node_modules/@radix-ui/themes/dist/esm/components/_internal/base-button.props.js"],"sourcesContent":["import{asChildPropDef as o}from\"../../props/as-child.prop.js\";import{accentColorPropDef as e}from\"../../props/color.prop.js\";import{highContrastPropDef as s}from\"../../props/high-contrast.prop.js\";import{radiusPropDef as r}from\"../../props/radius.prop.js\";const t=[\"1\",\"2\",\"3\",\"4\"],a=[\"classic\",\"solid\",\"soft\",\"surface\",\"outline\",\"ghost\"],i={...o,size:{type:\"enum\",className:\"rt-r-size\",values:t,default:\"2\",responsive:!0},variant:{type:\"enum\",className:\"rt-variant\",values:a,default:\"solid\"},...e,...s,...r,loading:{type:\"boolean\",className:\"rt-loading\",default:!1}};export{i as baseButtonPropDefs};\n//# sourceMappingURL=base-button.props.js.map\n"],"names":["o","e","s","r"],"mappings":"kNAAsQ,EAAE,CAAC,IAAI,IAAI,IAAI,GAAG,EAAE,EAAE,CAAC,UAAU,QAAQ,OAAO,UAAU,UAAU,OAAO,EAAE,EAAE,CAAC,GAAGA,EAAAA,eAAE,KAAK,CAAC,KAAK,OAAO,UAAU,YAAY,OAAO,EAAE,QAAQ,IAAI,WAAW,EAAE,EAAE,QAAQ,CAAC,KAAK,OAAO,UAAU,aAAa,OAAO,EAAE,QAAQ,OAAO,EAAE,GAAGC,qBAAE,GAAGC,sBAAE,GAAGC,EAAC,cAAC,QAAQ,CAAC,KAAK,UAAU,UAAU,aAAa,QAAQ,EAAE,CAAC","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={height:{type:"string",className:"rt-r-h",customProperties:["--height"],responsive:!0},minHeight:{type:"string",className:"rt-r-min-h",customProperties:["--min-height"],responsive:!0},maxHeight:{type:"string",className:"rt-r-max-h",customProperties:["--max-height"],responsive:!0}};exports.heightPropDefs=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function i(e,t){if(e!==void 0)return typeof e=="string"?t(e):Object.fromEntries(Object.entries(e).map(([r,n])=>[r,t(n)]))}function o(e){switch(e){case"1":return"1";case"2":case"3":return"2";case"4":return"3"}}exports.mapButtonSizeToSpinnerSize=o;exports.mapResponsiveProp=i;
2
2
  //# sourceMappingURL=index.cjs571.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs571.js","sources":["../node_modules/@radix-ui/themes/dist/esm/props/height.props.js"],"sourcesContent":["const e={height:{type:\"string\",className:\"rt-r-h\",customProperties:[\"--height\"],responsive:!0},minHeight:{type:\"string\",className:\"rt-r-min-h\",customProperties:[\"--min-height\"],responsive:!0},maxHeight:{type:\"string\",className:\"rt-r-max-h\",customProperties:[\"--max-height\"],responsive:!0}};export{e as heightPropDefs};\n//# sourceMappingURL=height.props.js.map\n"],"names":[],"mappings":"gFAAK,MAAC,EAAE,CAAC,OAAO,CAAC,KAAK,SAAS,UAAU,SAAS,iBAAiB,CAAC,UAAU,EAAE,WAAW,EAAE,EAAE,UAAU,CAAC,KAAK,SAAS,UAAU,aAAa,iBAAiB,CAAC,cAAc,EAAE,WAAW,EAAE,EAAE,UAAU,CAAC,KAAK,SAAS,UAAU,aAAa,iBAAiB,CAAC,cAAc,EAAE,WAAW,EAAE,CAAC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs571.js","sources":["../node_modules/@radix-ui/themes/dist/esm/helpers/map-prop-values.js"],"sourcesContent":["function s(e,t){if(e!==void 0)return typeof e==\"string\"?t(e):Object.fromEntries(Object.entries(e).map(([n,o])=>[n,t(o)]))}function p(e){return e===\"3\"?\"3\":\"2\"}function r(e){switch(e){case\"1\":return\"1\";case\"2\":case\"3\":return\"2\";case\"4\":return\"3\"}}export{r as mapButtonSizeToSpinnerSize,p as mapCalloutSizeToTextSize,s as mapResponsiveProp};\n//# sourceMappingURL=map-prop-values.js.map\n"],"names":["s","n","o","r"],"mappings":"gFAAA,SAASA,EAAE,EAAE,EAAE,CAAC,GAAG,IAAI,OAAO,OAAO,OAAO,GAAG,SAAS,EAAE,CAAC,EAAE,OAAO,YAAY,OAAO,QAAQ,CAAC,EAAE,IAAI,CAAC,CAACC,EAAEC,CAAC,IAAI,CAACD,EAAE,EAAEC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAsC,SAASC,EAAE,EAAE,CAAC,OAAO,EAAC,CAAE,IAAI,IAAI,MAAM,IAAI,IAAI,IAAI,IAAI,IAAI,MAAM,IAAI,IAAI,IAAI,MAAM,GAAG,CAAC","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t={width:{type:"string",className:"rt-r-w",customProperties:["--width"],responsive:!0},minWidth:{type:"string",className:"rt-r-min-w",customProperties:["--min-width"],responsive:!0},maxWidth:{type:"string",className:"rt-r-max-w",customProperties:["--max-width"],responsive:!0}};exports.widthPropDefs=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=["0","1","2","3","4","5","6","7","8","9"],s={p:{type:"enum | string",className:"rt-r-p",customProperties:["--p"],values:e,responsive:!0},px:{type:"enum | string",className:"rt-r-px",customProperties:["--pl","--pr"],values:e,responsive:!0},py:{type:"enum | string",className:"rt-r-py",customProperties:["--pt","--pb"],values:e,responsive:!0},pt:{type:"enum | string",className:"rt-r-pt",customProperties:["--pt"],values:e,responsive:!0},pr:{type:"enum | string",className:"rt-r-pr",customProperties:["--pr"],values:e,responsive:!0},pb:{type:"enum | string",className:"rt-r-pb",customProperties:["--pb"],values:e,responsive:!0},pl:{type:"enum | string",className:"rt-r-pl",customProperties:["--pl"],values:e,responsive:!0}};exports.paddingPropDefs=s;
2
2
  //# sourceMappingURL=index.cjs572.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs572.js","sources":["../node_modules/@radix-ui/themes/dist/esm/props/width.props.js"],"sourcesContent":["const t={width:{type:\"string\",className:\"rt-r-w\",customProperties:[\"--width\"],responsive:!0},minWidth:{type:\"string\",className:\"rt-r-min-w\",customProperties:[\"--min-width\"],responsive:!0},maxWidth:{type:\"string\",className:\"rt-r-max-w\",customProperties:[\"--max-width\"],responsive:!0}};export{t as widthPropDefs};\n//# sourceMappingURL=width.props.js.map\n"],"names":[],"mappings":"gFAAK,MAAC,EAAE,CAAC,MAAM,CAAC,KAAK,SAAS,UAAU,SAAS,iBAAiB,CAAC,SAAS,EAAE,WAAW,EAAE,EAAE,SAAS,CAAC,KAAK,SAAS,UAAU,aAAa,iBAAiB,CAAC,aAAa,EAAE,WAAW,EAAE,EAAE,SAAS,CAAC,KAAK,SAAS,UAAU,aAAa,iBAAiB,CAAC,aAAa,EAAE,WAAW,EAAE,CAAC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs572.js","sources":["../node_modules/@radix-ui/themes/dist/esm/props/padding.props.js"],"sourcesContent":["const e=[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\"],p={p:{type:\"enum | string\",className:\"rt-r-p\",customProperties:[\"--p\"],values:e,responsive:!0},px:{type:\"enum | string\",className:\"rt-r-px\",customProperties:[\"--pl\",\"--pr\"],values:e,responsive:!0},py:{type:\"enum | string\",className:\"rt-r-py\",customProperties:[\"--pt\",\"--pb\"],values:e,responsive:!0},pt:{type:\"enum | string\",className:\"rt-r-pt\",customProperties:[\"--pt\"],values:e,responsive:!0},pr:{type:\"enum | string\",className:\"rt-r-pr\",customProperties:[\"--pr\"],values:e,responsive:!0},pb:{type:\"enum | string\",className:\"rt-r-pb\",customProperties:[\"--pb\"],values:e,responsive:!0},pl:{type:\"enum | string\",className:\"rt-r-pl\",customProperties:[\"--pl\"],values:e,responsive:!0}};export{p as paddingPropDefs};\n//# sourceMappingURL=padding.props.js.map\n"],"names":["p"],"mappings":"gFAAK,MAAC,EAAE,CAAC,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,GAAG,EAAEA,EAAE,CAAC,EAAE,CAAC,KAAK,gBAAgB,UAAU,SAAS,iBAAiB,CAAC,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,EAAE,GAAG,CAAC,KAAK,gBAAgB,UAAU,UAAU,iBAAiB,CAAC,OAAO,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,EAAE,GAAG,CAAC,KAAK,gBAAgB,UAAU,UAAU,iBAAiB,CAAC,OAAO,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,EAAE,GAAG,CAAC,KAAK,gBAAgB,UAAU,UAAU,iBAAiB,CAAC,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,EAAE,GAAG,CAAC,KAAK,gBAAgB,UAAU,UAAU,iBAAiB,CAAC,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,EAAE,GAAG,CAAC,KAAK,gBAAgB,UAAU,UAAU,iBAAiB,CAAC,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,EAAE,GAAG,CAAC,KAAK,gBAAgB,UAAU,UAAU,iBAAiB,CAAC,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,CAAC","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs575.js"),r=require("./index.cjs588.js"),o=require("./index.cjs589.js"),s=require("./index.cjs577.js"),t=["1","2","3","4"],a=["classic","solid","soft","surface","outline","ghost"],i={...e.asChildPropDef,size:{type:"enum",className:"rt-r-size",values:t,default:"2",responsive:!0},variant:{type:"enum",className:"rt-variant",values:a,default:"solid"},...r.accentColorPropDef,...o.highContrastPropDef,...s.radiusPropDef,loading:{type:"boolean",className:"rt-loading",default:!1}};exports.baseButtonPropDefs=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={height:{type:"string",className:"rt-r-h",customProperties:["--height"],responsive:!0},minHeight:{type:"string",className:"rt-r-min-h",customProperties:["--min-height"],responsive:!0},maxHeight:{type:"string",className:"rt-r-max-h",customProperties:["--max-height"],responsive:!0}};exports.heightPropDefs=e;
2
2
  //# sourceMappingURL=index.cjs573.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs573.js","sources":["../node_modules/@radix-ui/themes/dist/esm/components/_internal/base-button.props.js"],"sourcesContent":["import{asChildPropDef as o}from\"../../props/as-child.prop.js\";import{accentColorPropDef as e}from\"../../props/color.prop.js\";import{highContrastPropDef as s}from\"../../props/high-contrast.prop.js\";import{radiusPropDef as r}from\"../../props/radius.prop.js\";const t=[\"1\",\"2\",\"3\",\"4\"],a=[\"classic\",\"solid\",\"soft\",\"surface\",\"outline\",\"ghost\"],i={...o,size:{type:\"enum\",className:\"rt-r-size\",values:t,default:\"2\",responsive:!0},variant:{type:\"enum\",className:\"rt-variant\",values:a,default:\"solid\"},...e,...s,...r,loading:{type:\"boolean\",className:\"rt-loading\",default:!1}};export{i as baseButtonPropDefs};\n//# sourceMappingURL=base-button.props.js.map\n"],"names":["o","e","s","r"],"mappings":"kNAAsQ,EAAE,CAAC,IAAI,IAAI,IAAI,GAAG,EAAE,EAAE,CAAC,UAAU,QAAQ,OAAO,UAAU,UAAU,OAAO,EAAE,EAAE,CAAC,GAAGA,EAAAA,eAAE,KAAK,CAAC,KAAK,OAAO,UAAU,YAAY,OAAO,EAAE,QAAQ,IAAI,WAAW,EAAE,EAAE,QAAQ,CAAC,KAAK,OAAO,UAAU,aAAa,OAAO,EAAE,QAAQ,OAAO,EAAE,GAAGC,qBAAE,GAAGC,sBAAE,GAAGC,EAAC,cAAC,QAAQ,CAAC,KAAK,UAAU,UAAU,aAAa,QAAQ,EAAE,CAAC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs573.js","sources":["../node_modules/@radix-ui/themes/dist/esm/props/height.props.js"],"sourcesContent":["const e={height:{type:\"string\",className:\"rt-r-h\",customProperties:[\"--height\"],responsive:!0},minHeight:{type:\"string\",className:\"rt-r-min-h\",customProperties:[\"--min-height\"],responsive:!0},maxHeight:{type:\"string\",className:\"rt-r-max-h\",customProperties:[\"--max-height\"],responsive:!0}};export{e as heightPropDefs};\n//# sourceMappingURL=height.props.js.map\n"],"names":[],"mappings":"gFAAK,MAAC,EAAE,CAAC,OAAO,CAAC,KAAK,SAAS,UAAU,SAAS,iBAAiB,CAAC,UAAU,EAAE,WAAW,EAAE,EAAE,UAAU,CAAC,KAAK,SAAS,UAAU,aAAa,iBAAiB,CAAC,cAAc,EAAE,WAAW,EAAE,EAAE,UAAU,CAAC,KAAK,SAAS,UAAU,aAAa,iBAAiB,CAAC,cAAc,EAAE,WAAW,EAAE,CAAC","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function i(e,t){if(e!==void 0)return typeof e=="string"?t(e):Object.fromEntries(Object.entries(e).map(([r,n])=>[r,t(n)]))}function o(e){switch(e){case"1":return"1";case"2":case"3":return"2";case"4":return"3"}}exports.mapButtonSizeToSpinnerSize=o;exports.mapResponsiveProp=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t={width:{type:"string",className:"rt-r-w",customProperties:["--width"],responsive:!0},minWidth:{type:"string",className:"rt-r-min-w",customProperties:["--min-width"],responsive:!0},maxWidth:{type:"string",className:"rt-r-max-w",customProperties:["--max-width"],responsive:!0}};exports.widthPropDefs=t;
2
2
  //# sourceMappingURL=index.cjs574.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs574.js","sources":["../node_modules/@radix-ui/themes/dist/esm/helpers/map-prop-values.js"],"sourcesContent":["function s(e,t){if(e!==void 0)return typeof e==\"string\"?t(e):Object.fromEntries(Object.entries(e).map(([n,o])=>[n,t(o)]))}function p(e){return e===\"3\"?\"3\":\"2\"}function r(e){switch(e){case\"1\":return\"1\";case\"2\":case\"3\":return\"2\";case\"4\":return\"3\"}}export{r as mapButtonSizeToSpinnerSize,p as mapCalloutSizeToTextSize,s as mapResponsiveProp};\n//# sourceMappingURL=map-prop-values.js.map\n"],"names":["s","n","o","r"],"mappings":"gFAAA,SAASA,EAAE,EAAE,EAAE,CAAC,GAAG,IAAI,OAAO,OAAO,OAAO,GAAG,SAAS,EAAE,CAAC,EAAE,OAAO,YAAY,OAAO,QAAQ,CAAC,EAAE,IAAI,CAAC,CAACC,EAAEC,CAAC,IAAI,CAACD,EAAE,EAAEC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAsC,SAASC,EAAE,EAAE,CAAC,OAAO,EAAC,CAAE,IAAI,IAAI,MAAM,IAAI,IAAI,IAAI,IAAI,IAAI,MAAM,IAAI,IAAI,IAAI,MAAM,GAAG,CAAC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs574.js","sources":["../node_modules/@radix-ui/themes/dist/esm/props/width.props.js"],"sourcesContent":["const t={width:{type:\"string\",className:\"rt-r-w\",customProperties:[\"--width\"],responsive:!0},minWidth:{type:\"string\",className:\"rt-r-min-w\",customProperties:[\"--min-width\"],responsive:!0},maxWidth:{type:\"string\",className:\"rt-r-max-w\",customProperties:[\"--max-width\"],responsive:!0}};export{t as widthPropDefs};\n//# sourceMappingURL=width.props.js.map\n"],"names":[],"mappings":"gFAAK,MAAC,EAAE,CAAC,MAAM,CAAC,KAAK,SAAS,UAAU,SAAS,iBAAiB,CAAC,SAAS,EAAE,WAAW,EAAE,EAAE,SAAS,CAAC,KAAK,SAAS,UAAU,aAAa,iBAAiB,CAAC,aAAa,EAAE,WAAW,EAAE,EAAE,SAAS,CAAC,KAAK,SAAS,UAAU,aAAa,iBAAiB,CAAC,aAAa,EAAE,WAAW,EAAE,CAAC","x_google_ignoreList":[0]}