@anoki/fse-ui 1.0.424 → 1.0.425

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 (264) hide show
  1. package/dist/index.cjs186.js +1 -1
  2. package/dist/index.cjs190.js +1 -1
  3. package/dist/index.cjs197.js +1 -1
  4. package/dist/index.cjs208.js +1 -1
  5. package/dist/index.cjs215.js +1 -1
  6. package/dist/index.cjs220.js +1 -1
  7. package/dist/index.cjs227.js +1 -1
  8. package/dist/index.cjs235.js +1 -1
  9. package/dist/index.cjs288.js +1 -1
  10. package/dist/index.cjs288.js.map +1 -1
  11. package/dist/index.cjs291.js +1 -1
  12. package/dist/index.cjs291.js.map +1 -1
  13. package/dist/index.cjs292.js +1 -1
  14. package/dist/index.cjs292.js.map +1 -1
  15. package/dist/index.cjs293.js +1 -1
  16. package/dist/index.cjs293.js.map +1 -1
  17. package/dist/{index.cjs290.js → index.cjs294.js} +2 -2
  18. package/dist/{index.cjs290.js.map → index.cjs294.js.map} +1 -1
  19. package/dist/index.cjs295.js +1 -1
  20. package/dist/index.cjs295.js.map +1 -1
  21. package/dist/index.cjs296.js +1 -1
  22. package/dist/index.cjs296.js.map +1 -1
  23. package/dist/index.cjs297.js +1 -1
  24. package/dist/index.cjs297.js.map +1 -1
  25. package/dist/index.cjs298.js +1 -1
  26. package/dist/index.cjs298.js.map +1 -1
  27. package/dist/index.cjs299.js +1 -1
  28. package/dist/index.cjs299.js.map +1 -1
  29. package/dist/index.cjs300.js +1 -1
  30. package/dist/index.cjs300.js.map +1 -1
  31. package/dist/index.cjs301.js +1 -1
  32. package/dist/index.cjs301.js.map +1 -1
  33. package/dist/index.cjs302.js +1 -1
  34. package/dist/index.cjs302.js.map +1 -1
  35. package/dist/index.cjs303.js +1 -1
  36. package/dist/index.cjs303.js.map +1 -1
  37. package/dist/index.cjs304.js +1 -1
  38. package/dist/index.cjs304.js.map +1 -1
  39. package/dist/index.cjs305.js +1 -1
  40. package/dist/index.cjs305.js.map +1 -1
  41. package/dist/index.cjs306.js +1 -1
  42. package/dist/index.cjs306.js.map +1 -1
  43. package/dist/index.cjs307.js +1 -1
  44. package/dist/index.cjs307.js.map +1 -1
  45. package/dist/index.cjs308.js +1 -1
  46. package/dist/index.cjs308.js.map +1 -1
  47. package/dist/index.cjs309.js +1 -1
  48. package/dist/index.cjs309.js.map +1 -1
  49. package/dist/{index.cjs317.js → index.cjs310.js} +2 -2
  50. package/dist/index.cjs310.js.map +1 -0
  51. package/dist/index.cjs311.js +2 -0
  52. package/dist/index.cjs311.js.map +1 -0
  53. package/dist/index.cjs312.js +2 -0
  54. package/dist/index.cjs312.js.map +1 -0
  55. package/dist/index.cjs313.js +2 -0
  56. package/dist/index.cjs313.js.map +1 -0
  57. package/dist/index.cjs314.js +2 -0
  58. package/dist/index.cjs314.js.map +1 -0
  59. package/dist/index.cjs315.js +1 -1
  60. package/dist/index.cjs315.js.map +1 -1
  61. package/dist/index.cjs318.js +1 -1
  62. package/dist/index.cjs318.js.map +1 -1
  63. package/dist/index.cjs319.js +1 -1
  64. package/dist/index.cjs319.js.map +1 -1
  65. package/dist/index.cjs320.js +1 -1
  66. package/dist/index.cjs320.js.map +1 -1
  67. package/dist/index.cjs321.js +1 -1
  68. package/dist/index.cjs321.js.map +1 -1
  69. package/dist/index.cjs322.js +1 -1
  70. package/dist/index.cjs322.js.map +1 -1
  71. package/dist/index.cjs329.js +2 -0
  72. package/dist/index.cjs329.js.map +1 -0
  73. package/dist/index.cjs330.js +1 -1
  74. package/dist/index.cjs330.js.map +1 -1
  75. package/dist/index.cjs331.js +1 -1
  76. package/dist/index.cjs331.js.map +1 -1
  77. package/dist/index.cjs332.js +1 -1
  78. package/dist/index.cjs332.js.map +1 -1
  79. package/dist/index.cjs339.js +1 -1
  80. package/dist/index.cjs339.js.map +1 -1
  81. package/dist/index.cjs340.js +1 -1
  82. package/dist/index.cjs340.js.map +1 -1
  83. package/dist/index.cjs341.js +1 -1
  84. package/dist/index.cjs341.js.map +1 -1
  85. package/dist/index.cjs342.js +1 -4
  86. package/dist/index.cjs342.js.map +1 -1
  87. package/dist/index.cjs343.js +1 -1
  88. package/dist/index.cjs343.js.map +1 -1
  89. package/dist/index.cjs344.js +1 -1
  90. package/dist/index.cjs344.js.map +1 -1
  91. package/dist/index.cjs345.js +2 -0
  92. package/dist/index.cjs345.js.map +1 -0
  93. package/dist/index.cjs346.js +2 -0
  94. package/dist/index.cjs346.js.map +1 -0
  95. package/dist/index.cjs347.js +5 -0
  96. package/dist/index.cjs347.js.map +1 -0
  97. package/dist/index.cjs348.js +1 -1
  98. package/dist/index.cjs348.js.map +1 -1
  99. package/dist/index.cjs349.js +1 -1
  100. package/dist/index.cjs349.js.map +1 -1
  101. package/dist/index.cjs350.js +1 -1
  102. package/dist/index.cjs350.js.map +1 -1
  103. package/dist/index.cjs351.js +1 -38
  104. package/dist/index.cjs351.js.map +1 -1
  105. package/dist/index.cjs352.js +1 -1
  106. package/dist/index.cjs352.js.map +1 -1
  107. package/dist/index.cjs353.js +38 -1
  108. package/dist/index.cjs353.js.map +1 -1
  109. package/dist/index.cjs354.js +1 -1
  110. package/dist/index.cjs354.js.map +1 -1
  111. package/dist/index.cjs355.js +1 -1
  112. package/dist/index.cjs355.js.map +1 -1
  113. package/dist/index.cjs356.js +1 -1
  114. package/dist/index.cjs356.js.map +1 -1
  115. package/dist/index.es186.js +7 -7
  116. package/dist/index.es190.js +1 -1
  117. package/dist/index.es197.js +8 -8
  118. package/dist/index.es208.js +14 -14
  119. package/dist/index.es215.js +1 -1
  120. package/dist/index.es220.js +1 -1
  121. package/dist/index.es227.js +1 -1
  122. package/dist/index.es235.js +7 -7
  123. package/dist/index.es288.js +15 -27
  124. package/dist/index.es288.js.map +1 -1
  125. package/dist/index.es291.js +6 -32
  126. package/dist/index.es291.js.map +1 -1
  127. package/dist/index.es292.js +23 -618
  128. package/dist/index.es292.js.map +1 -1
  129. package/dist/index.es293.js +66 -9
  130. package/dist/index.es293.js.map +1 -1
  131. package/dist/{index.es290.js → index.es294.js} +2 -2
  132. package/dist/{index.es290.js.map → index.es294.js.map} +1 -1
  133. package/dist/index.es295.js +32 -10
  134. package/dist/index.es295.js.map +1 -1
  135. package/dist/index.es296.js +621 -45
  136. package/dist/index.es296.js.map +1 -1
  137. package/dist/index.es297.js +10 -45
  138. package/dist/index.es297.js.map +1 -1
  139. package/dist/index.es298.js +5 -7
  140. package/dist/index.es298.js.map +1 -1
  141. package/dist/index.es299.js +23 -123
  142. package/dist/index.es299.js.map +1 -1
  143. package/dist/index.es300.js +67 -13
  144. package/dist/index.es300.js.map +1 -1
  145. package/dist/index.es301.js +28 -134
  146. package/dist/index.es301.js.map +1 -1
  147. package/dist/index.es302.js +10 -217
  148. package/dist/index.es302.js.map +1 -1
  149. package/dist/index.es303.js +45 -13
  150. package/dist/index.es303.js.map +1 -1
  151. package/dist/index.es304.js +43 -66
  152. package/dist/index.es304.js.map +1 -1
  153. package/dist/index.es305.js +7 -177
  154. package/dist/index.es305.js.map +1 -1
  155. package/dist/index.es306.js +122 -47
  156. package/dist/index.es306.js.map +1 -1
  157. package/dist/index.es307.js +14 -8
  158. package/dist/index.es307.js.map +1 -1
  159. package/dist/index.es308.js +135 -4
  160. package/dist/index.es308.js.map +1 -1
  161. package/dist/index.es309.js +217 -14
  162. package/dist/index.es309.js.map +1 -1
  163. package/dist/{index.es317.js → index.es310.js} +3 -3
  164. package/dist/index.es310.js.map +1 -0
  165. package/dist/index.es311.js +181 -0
  166. package/dist/index.es311.js.map +1 -0
  167. package/dist/index.es312.js +53 -0
  168. package/dist/index.es312.js.map +1 -0
  169. package/dist/index.es313.js +12 -0
  170. package/dist/index.es313.js.map +1 -0
  171. package/dist/index.es314.js +7 -0
  172. package/dist/index.es314.js.map +1 -0
  173. package/dist/index.es315.js +37 -120
  174. package/dist/index.es315.js.map +1 -1
  175. package/dist/index.es318.js +122 -30
  176. package/dist/index.es318.js.map +1 -1
  177. package/dist/index.es319.js +130 -37
  178. package/dist/index.es319.js.map +1 -1
  179. package/dist/index.es320.js +13 -11
  180. package/dist/index.es320.js.map +1 -1
  181. package/dist/index.es321.js +32 -204
  182. package/dist/index.es321.js.map +1 -1
  183. package/dist/index.es322.js +41 -21
  184. package/dist/index.es322.js.map +1 -1
  185. package/dist/index.es329.js +15 -0
  186. package/dist/index.es329.js.map +1 -0
  187. package/dist/index.es330.js +202 -22
  188. package/dist/index.es330.js.map +1 -1
  189. package/dist/index.es331.js +20 -27
  190. package/dist/index.es331.js.map +1 -1
  191. package/dist/index.es332.js +393 -5
  192. package/dist/index.es332.js.map +1 -1
  193. package/dist/index.es339.js +29 -5
  194. package/dist/index.es339.js.map +1 -1
  195. package/dist/index.es340.js +25 -3
  196. package/dist/index.es340.js.map +1 -1
  197. package/dist/index.es341.js +29 -24
  198. package/dist/index.es341.js.map +1 -1
  199. package/dist/index.es342.js +5 -110
  200. package/dist/index.es342.js.map +1 -1
  201. package/dist/index.es343.js +41 -15
  202. package/dist/index.es343.js.map +1 -1
  203. package/dist/index.es344.js +5 -29
  204. package/dist/index.es344.js.map +1 -1
  205. package/dist/index.es345.js +6 -0
  206. package/dist/index.es345.js.map +1 -0
  207. package/dist/index.es346.js +27 -0
  208. package/dist/index.es346.js.map +1 -0
  209. package/dist/index.es347.js +113 -0
  210. package/dist/index.es347.js.map +1 -0
  211. package/dist/index.es348.js +14 -521
  212. package/dist/index.es348.js.map +1 -1
  213. package/dist/index.es349.js +509 -113
  214. package/dist/index.es349.js.map +1 -1
  215. package/dist/index.es350.js +121 -123
  216. package/dist/index.es350.js.map +1 -1
  217. package/dist/index.es351.js +127 -67
  218. package/dist/index.es351.js.map +1 -1
  219. package/dist/index.es352.js +64 -8
  220. package/dist/index.es352.js.map +1 -1
  221. package/dist/index.es353.js +68 -13
  222. package/dist/index.es353.js.map +1 -1
  223. package/dist/index.es354.js +8 -61
  224. package/dist/index.es354.js.map +1 -1
  225. package/dist/index.es355.js +13 -64
  226. package/dist/index.es355.js.map +1 -1
  227. package/dist/index.es356.js +62 -42
  228. package/dist/index.es356.js.map +1 -1
  229. package/package.json +1 -4
  230. package/dist/index.cjs287.js +0 -2
  231. package/dist/index.cjs287.js.map +0 -1
  232. package/dist/index.cjs289.js +0 -2
  233. package/dist/index.cjs289.js.map +0 -1
  234. package/dist/index.cjs316.js +0 -2
  235. package/dist/index.cjs316.js.map +0 -1
  236. package/dist/index.cjs317.js.map +0 -1
  237. package/dist/index.cjs323.js +0 -2
  238. package/dist/index.cjs323.js.map +0 -1
  239. package/dist/index.cjs324.js +0 -2
  240. package/dist/index.cjs324.js.map +0 -1
  241. package/dist/index.cjs325.js +0 -2
  242. package/dist/index.cjs325.js.map +0 -1
  243. package/dist/index.cjs326.js +0 -2
  244. package/dist/index.cjs326.js.map +0 -1
  245. package/dist/index.cjs338.js +0 -2
  246. package/dist/index.cjs338.js.map +0 -1
  247. package/dist/index.es287.js +0 -10
  248. package/dist/index.es287.js.map +0 -1
  249. package/dist/index.es289.js +0 -71
  250. package/dist/index.es289.js.map +0 -1
  251. package/dist/index.es316.js +0 -138
  252. package/dist/index.es316.js.map +0 -1
  253. package/dist/index.es317.js.map +0 -1
  254. package/dist/index.es323.js +0 -28
  255. package/dist/index.es323.js.map +0 -1
  256. package/dist/index.es324.js +0 -396
  257. package/dist/index.es324.js.map +0 -1
  258. package/dist/index.es325.js +0 -9
  259. package/dist/index.es325.js.map +0 -1
  260. package/dist/index.es326.js +0 -32
  261. package/dist/index.es326.js.map +0 -1
  262. package/dist/index.es338.js +0 -45
  263. package/dist/index.es338.js.map +0 -1
  264. /package/dist/components/ui/{ConsentModal/ConsentModalFooter/ConsentModalFooter.css → DoctorModal/DoctorModalFooter/DoctorModalFooter.css} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs353.js","sources":["../node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js"],"sourcesContent":["var passiveSupported = false;\nif (typeof window !== 'undefined') {\n try {\n var options = Object.defineProperty({}, 'passive', {\n get: function () {\n passiveSupported = true;\n return true;\n },\n });\n // @ts-ignore\n window.addEventListener('test', options, options);\n // @ts-ignore\n window.removeEventListener('test', options, options);\n }\n catch (err) {\n passiveSupported = false;\n }\n}\nexport var nonPassive = passiveSupported ? { passive: false } : false;\n"],"names":["passiveSupported","options","nonPassive"],"mappings":"gFAAA,IAAIA,EAAmB,GACvB,GAAI,OAAO,OAAW,IAClB,GAAI,CACA,IAAIC,EAAU,OAAO,eAAe,CAAA,EAAI,UAAW,CAC/C,IAAK,UAAY,CACb,OAAAD,EAAmB,GACZ,EACV,CACb,CAAS,EAED,OAAO,iBAAiB,OAAQC,EAASA,CAAO,EAEhD,OAAO,oBAAoB,OAAQA,EAASA,CAAO,CAC3D,MACgB,CACRD,EAAmB,EAC3B,CAEU,IAACE,EAAaF,EAAmB,CAAE,QAAS,EAAK,EAAK","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs353.js","sources":["../node_modules/react-remove-scroll-bar/dist/es2015/component.js"],"sourcesContent":["import * as React from 'react';\nimport { styleSingleton } from 'react-style-singleton';\nimport { fullWidthClassName, zeroRightClassName, noScrollbarsClassName, removedBarSizeVariable } from './constants';\nimport { getGapWidth } from './utils';\nvar Style = styleSingleton();\nexport var lockAttribute = 'data-scroll-locked';\n// important tip - once we measure scrollBar width and remove them\n// we could not repeat this operation\n// thus we are using style-singleton - only the first \"yet correct\" style will be applied.\nvar getStyles = function (_a, allowRelative, gapMode, important) {\n var left = _a.left, top = _a.top, right = _a.right, gap = _a.gap;\n if (gapMode === void 0) { gapMode = 'margin'; }\n return \"\\n .\".concat(noScrollbarsClassName, \" {\\n overflow: hidden \").concat(important, \";\\n padding-right: \").concat(gap, \"px \").concat(important, \";\\n }\\n body[\").concat(lockAttribute, \"] {\\n overflow: hidden \").concat(important, \";\\n overscroll-behavior: contain;\\n \").concat([\n allowRelative && \"position: relative \".concat(important, \";\"),\n gapMode === 'margin' &&\n \"\\n padding-left: \".concat(left, \"px;\\n padding-top: \").concat(top, \"px;\\n padding-right: \").concat(right, \"px;\\n margin-left:0;\\n margin-top:0;\\n margin-right: \").concat(gap, \"px \").concat(important, \";\\n \"),\n gapMode === 'padding' && \"padding-right: \".concat(gap, \"px \").concat(important, \";\"),\n ]\n .filter(Boolean)\n .join(''), \"\\n }\\n \\n .\").concat(zeroRightClassName, \" {\\n right: \").concat(gap, \"px \").concat(important, \";\\n }\\n \\n .\").concat(fullWidthClassName, \" {\\n margin-right: \").concat(gap, \"px \").concat(important, \";\\n }\\n \\n .\").concat(zeroRightClassName, \" .\").concat(zeroRightClassName, \" {\\n right: 0 \").concat(important, \";\\n }\\n \\n .\").concat(fullWidthClassName, \" .\").concat(fullWidthClassName, \" {\\n margin-right: 0 \").concat(important, \";\\n }\\n \\n body[\").concat(lockAttribute, \"] {\\n \").concat(removedBarSizeVariable, \": \").concat(gap, \"px;\\n }\\n\");\n};\nvar getCurrentUseCounter = function () {\n var counter = parseInt(document.body.getAttribute(lockAttribute) || '0', 10);\n return isFinite(counter) ? counter : 0;\n};\nexport var useLockAttribute = function () {\n React.useEffect(function () {\n document.body.setAttribute(lockAttribute, (getCurrentUseCounter() + 1).toString());\n return function () {\n var newCounter = getCurrentUseCounter() - 1;\n if (newCounter <= 0) {\n document.body.removeAttribute(lockAttribute);\n }\n else {\n document.body.setAttribute(lockAttribute, newCounter.toString());\n }\n };\n }, []);\n};\n/**\n * Removes page scrollbar and blocks page scroll when mounted\n */\nexport var RemoveScrollBar = function (_a) {\n var noRelative = _a.noRelative, noImportant = _a.noImportant, _b = _a.gapMode, gapMode = _b === void 0 ? 'margin' : _b;\n useLockAttribute();\n /*\n gap will be measured on every component mount\n however it will be used only by the \"first\" invocation\n due to singleton nature of <Style\n */\n var gap = React.useMemo(function () { return getGapWidth(gapMode); }, [gapMode]);\n return React.createElement(Style, { styles: getStyles(gap, !noRelative, gapMode, !noImportant ? '!important' : '') });\n};\n"],"names":["Style","styleSingleton","lockAttribute","getStyles","_a","allowRelative","gapMode","important","left","top","right","gap","noScrollbarsClassName","zeroRightClassName","fullWidthClassName","removedBarSizeVariable","getCurrentUseCounter","counter","useLockAttribute","React","newCounter","RemoveScrollBar","noRelative","noImportant","_b","getGapWidth"],"mappings":"geAIA,IAAIA,EAAQC,EAAAA,eAAgB,EACjBC,EAAgB,qBAIvBC,EAAY,SAAUC,EAAIC,EAAeC,EAASC,EAAW,CAC7D,IAAIC,EAAOJ,EAAG,KAAMK,EAAML,EAAG,IAAKM,EAAQN,EAAG,MAAOO,EAAMP,EAAG,IAC7D,OAAIE,IAAY,SAAUA,EAAU,UAC7B;AAAA,KAAQ,OAAOM,EAAqB,sBAAE;AAAA,qBAA0B,EAAE,OAAOL,EAAW;AAAA,mBAAuB,EAAE,OAAOI,EAAK,KAAK,EAAE,OAAOJ,EAAW;AAAA;AAAA,QAAiB,EAAE,OAAOL,EAAe;AAAA,sBAA4B,EAAE,OAAOK,EAAW;AAAA;AAAA,KAA4C,EAAE,OAAO,CACnSF,GAAiB,sBAAsB,OAAOE,EAAW,GAAG,EAC5DD,IAAY,UACR;AAAA,oBAAuB,OAAOE,EAAM;AAAA,kBAAwB,EAAE,OAAOC,EAAK;AAAA,oBAA0B,EAAE,OAAOC,EAAO;AAAA;AAAA;AAAA,mBAAgE,EAAE,OAAOC,EAAK,KAAK,EAAE,OAAOJ,EAAW;AAAA,KAAS,EACxOD,IAAY,WAAa,kBAAkB,OAAOK,EAAK,KAAK,EAAE,OAAOJ,EAAW,GAAG,CAC3F,EACS,OAAO,OAAO,EACd,KAAK,EAAE,EAAG;AAAA;AAAA;AAAA,IAAgB,EAAE,OAAOM,EAAkB,mBAAE;AAAA,YAAiB,EAAE,OAAOF,EAAK,KAAK,EAAE,OAAOJ,EAAW;AAAA;AAAA;AAAA,IAAiB,EAAE,OAAOO,EAAkB,mBAAE;AAAA,mBAAwB,EAAE,OAAOH,EAAK,KAAK,EAAE,OAAOJ,EAAW;AAAA;AAAA;AAAA,IAAiB,EAAE,OAAOM,EAAA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function(e,r){if(!(e instanceof Element))return!1;var o=window.getComputedStyle(e);return o[r]!=="hidden"&&!(o.overflowY===o.overflowX&&!y(e)&&o[r]==="visible")},p=function(e){return w(e,"overflowY")},B=function(e){return w(e,"overflowX")},H=function(e,r){var o=r.ownerDocument,l=r;do{typeof ShadowRoot<"u"&&l instanceof ShadowRoot&&(l=l.host);var v=g(e,l);if(v){var n=b(e,l),a=n[1],t=n[2];if(a>t)return!0}l=l.parentNode}while(l&&l!==o.body);return!1},V=function(e){var r=e.scrollTop,o=e.scrollHeight,l=e.clientHeight;return[r,o,l]},D=function(e){var r=e.scrollLeft,o=e.scrollWidth,l=e.clientWidth;return[r,o,l]},g=function(e,r){return e==="v"?p(r):B(r)},b=function(e,r){return e==="v"?V(r):D(r)},R=function(e,r){return e==="h"&&r==="rtl"?-1:1},W=function(e,r,o,l,v){var n=R(e,window.getComputedStyle(r).direction),a=n*l,t=o.target,f=r.contains(t),c=!1,d=a>0,s=0,h=0;do{var i=b(e,t),u=i[0],m=i[1],C=i[2],S=m-C-n*u;(u||S)&&g(e,t)&&(s+=S,h+=u),t instanceof ShadowRoot?t=t.host:t=t.parentNode}while(!f&&t!==document.body||f&&(r.contains(t)||r===t));return(d&&Math.abs(s)<1||!d&&Math.abs(h)<1)&&(c=!0),c};exports.handleScroll=W;exports.locationCouldBeScrolled=H;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index.cjs359.js");var i=function(){var t=r.styleHookSingleton(),n=function(e){var l=e.styles,o=e.dynamic;return t(l,o),null};return n};exports.styleSingleton=i;
2
2
  //# sourceMappingURL=index.cjs354.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs354.js","sources":["../node_modules/react-remove-scroll/dist/es2015/handleScroll.js"],"sourcesContent":["var alwaysContainsScroll = function (node) {\n // textarea will always _contain_ scroll inside self. It only can be hidden\n return node.tagName === 'TEXTAREA';\n};\nvar elementCanBeScrolled = function (node, overflow) {\n if (!(node instanceof Element)) {\n return false;\n }\n var styles = window.getComputedStyle(node);\n return (\n // not-not-scrollable\n styles[overflow] !== 'hidden' &&\n // contains scroll inside self\n !(styles.overflowY === styles.overflowX && !alwaysContainsScroll(node) && styles[overflow] === 'visible'));\n};\nvar elementCouldBeVScrolled = function (node) { return elementCanBeScrolled(node, 'overflowY'); };\nvar elementCouldBeHScrolled = function (node) { return elementCanBeScrolled(node, 'overflowX'); };\nexport var locationCouldBeScrolled = function (axis, node) {\n var ownerDocument = node.ownerDocument;\n var current = node;\n do {\n // Skip over shadow root\n if (typeof ShadowRoot !== 'undefined' && current instanceof ShadowRoot) {\n current = current.host;\n }\n var isScrollable = elementCouldBeScrolled(axis, current);\n if (isScrollable) {\n var _a = getScrollVariables(axis, current), scrollHeight = _a[1], clientHeight = _a[2];\n if (scrollHeight > clientHeight) {\n return true;\n }\n }\n current = current.parentNode;\n } while (current && current !== ownerDocument.body);\n return false;\n};\nvar getVScrollVariables = function (_a) {\n var scrollTop = _a.scrollTop, scrollHeight = _a.scrollHeight, clientHeight = _a.clientHeight;\n return [\n scrollTop,\n scrollHeight,\n clientHeight,\n ];\n};\nvar getHScrollVariables = function (_a) {\n var scrollLeft = _a.scrollLeft, scrollWidth = _a.scrollWidth, clientWidth = _a.clientWidth;\n return [\n scrollLeft,\n scrollWidth,\n clientWidth,\n ];\n};\nvar elementCouldBeScrolled = function (axis, node) {\n return axis === 'v' ? elementCouldBeVScrolled(node) : elementCouldBeHScrolled(node);\n};\nvar getScrollVariables = function (axis, node) {\n return axis === 'v' ? getVScrollVariables(node) : getHScrollVariables(node);\n};\nvar getDirectionFactor = function (axis, direction) {\n /**\n * If the element's direction is rtl (right-to-left), then scrollLeft is 0 when the scrollbar is at its rightmost position,\n * and then increasingly negative as you scroll towards the end of the content.\n * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollLeft\n */\n return axis === 'h' && direction === 'rtl' ? -1 : 1;\n};\nexport var handleScroll = function (axis, endTarget, event, sourceDelta, noOverscroll) {\n var directionFactor = getDirectionFactor(axis, window.getComputedStyle(endTarget).direction);\n var delta = directionFactor * sourceDelta;\n // find scrollable target\n var target = event.target;\n var targetInLock = endTarget.contains(target);\n var shouldCancelScroll = false;\n var isDeltaPositive = delta > 0;\n var availableScroll = 0;\n var availableScrollTop = 0;\n do {\n var _a = getScrollVariables(axis, target), position = _a[0], scroll_1 = _a[1], capacity = _a[2];\n var elementScroll = scroll_1 - capacity - directionFactor * position;\n if (position || elementScroll) {\n if (elementCouldBeScrolled(axis, target)) {\n availableScroll += elementScroll;\n availableScrollTop += position;\n }\n }\n if (target instanceof ShadowRoot) {\n target = target.host;\n }\n else {\n target = target.parentNode;\n }\n } while (\n // portaled content\n (!targetInLock && target !== document.body) ||\n // self content\n (targetInLock && (endTarget.contains(target) || endTarget === target)));\n // handle epsilon around 0 (non standard zoom levels)\n if (isDeltaPositive &&\n ((noOverscroll && Math.abs(availableScroll) < 1) || (!noOverscroll && delta > availableScroll))) {\n shouldCancelScroll = true;\n }\n else if (!isDeltaPositive &&\n ((noOverscroll && Math.abs(availableScrollTop) < 1) || (!noOverscroll && -delta > availableScrollTop))) {\n shouldCancelScroll = true;\n }\n return shouldCancelScroll;\n};\n"],"names":["alwaysContainsScroll","node","elementCanBeScrolled","overflow","styles","elementCouldBeVScrolled","elementCouldBeHScrolled","locationCouldBeScrolled","axis","ownerDocument","current","isScrollable","elementCouldBeScrolled","_a","getScrollVariables","scrollHeight","clientHeight","getVScrollVariables","scrollTop","getHScrollVariables","scrollLeft","scrollWidth","clientWidth","getDirectionFactor","direction","handleScroll","endTarget","event","sourceDelta","noOverscroll","directionFactor","delta","target","targetInLock","shouldCancelScroll","isDeltaPositive","availableScroll","availableScrollTop","position","scroll_1","capacity","elementScroll"],"mappings":"gFAAA,IAAIA,EAAuB,SAAUC,EAAM,CAEvC,OAAOA,EAAK,UAAY,UAC5B,EACIC,EAAuB,SAAUD,EAAME,EAAU,CACjD,GAAI,EAAEF,aAAgB,SAClB,MAAO,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EAAW,CAMhD,OAAOhB,IAAS,KAAOgB,IAAc,MAAQ,GAAK,CACtD,EACWC,EAAe,SAAUjB,EAAMkB,EAAWC,EAAOC,EAAaC,EAAc,CACnF,IAAIC,EAAkBP,EAAmBf,EAAM,OAAO,iBAAiBkB,CAAS,EAAE,SAAS,EACvFK,EAAQD,EAAkBF,EAE1BI,EAASL,EAAM,OACfM,EAAeP,EAAU,SAASM,CAAM,EACxCE,EAAqB,GACrBC,EAAkBJ,EAAQ,EAC1BK,EAAkB,EAClBC,EAAqB,EACzB,EAAG,CACC,IAAIxB,EAAKC,EAAmBN,EAAMwB,CAAM,EAAGM,EAAWzB,EAAG,CAAC,EAAG0B,EAAW1B,EAAG,CAAC,EAAG2B,EAAW3B,EAAG,CAAC,EAC1F4B,EAAgBF,EAAWC,EAAWV,EAAkBQ,GACxDA,GAAYG,IACR7B,EAAuBJ,EAAMwB,CAAM,IACnCI,GAAmBK,EACnBJ,GAAsBC,GAG1BN,aAAkB,WAClBA,EAASA,EAAO,KAGhBA,EAASA,EAAO,UAEvB,OAEA,CAACC,GAAgBD,IAAW,SAAS,MAEjCC,IAAiBP,EAAU,SAASM,CAAM,GAAKN,IAAcM,IAElE,OAAIG,GACkB,KAAK,IAAIC,CAAe,EAAI,GAGzC,CAACD,GACY,KAAK,IAAIE,CAAkB,EAAI,KACjDH,EAAqB,IAElBA,CACX","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs354.js","sources":["../node_modules/react-style-singleton/dist/es2015/component.js"],"sourcesContent":["import { styleHookSingleton } from './hook';\n/**\n * create a Component to add styles on demand\n * - styles are added when first instance is mounted\n * - styles are removed when the last instance is unmounted\n * - changing styles in runtime does nothing unless dynamic is set. But with multiple components that can lead to the undefined behavior\n */\nexport var styleSingleton = function () {\n var useStyle = styleHookSingleton();\n var Sheet = function (_a) {\n var styles = _a.styles, dynamic = _a.dynamic;\n useStyle(styles, dynamic);\n return null;\n };\n return Sheet;\n};\n"],"names":["styleSingleton","useStyle","styleHookSingleton","Sheet","_a","styles","dynamic"],"mappings":"qHAOU,IAACA,EAAiB,UAAY,CACpC,IAAIC,EAAWC,EAAAA,mBAAoB,EAC/BC,EAAQ,SAAUC,EAAI,CACtB,IAAIC,EAASD,EAAG,OAAQE,EAAUF,EAAG,QACrC,OAAAH,EAASI,EAAQC,CAAO,EACjB,IACV,EACD,OAAOH,CACX","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./index.cjs330.js");function l(r){return r}function h(r,t){t===void 0&&(t=l);var e=[],a=!1,o={read:function(){if(a)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return e.length?e[e.length-1]:r},useMedium:function(u){var n=t(u,a);return e.push(n),function(){e=e.filter(function(i){return i!==n})}},assignSyncMedium:function(u){for(a=!0;e.length;){var n=e;e=[],n.forEach(u)}e={push:function(i){return u(i)},filter:function(){return e}}},assignMedium:function(u){a=!0;var n=[];if(e.length){var i=e;e=[],i.forEach(u),n=e}var s=function(){var f=n;n=[],f.forEach(u)},c=function(){return Promise.resolve().then(s)};c(),e={push:function(f){n.push(f),c()},filter:function(f){return n=n.filter(f),e}}}};return o}function m(r){r===void 0&&(r={});var t=h(null);return t.options=d.__assign({async:!0,ssr:!1},r),t}exports.createSidecarMedium=m;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var t=!1;if(typeof window<"u")try{var e=Object.defineProperty({},"passive",{get:function(){return t=!0,!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{t=!1}var r=t?{passive:!1}:!1;exports.nonPassive=r;
2
2
  //# sourceMappingURL=index.cjs355.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs355.js","sources":["../node_modules/use-sidecar/dist/es2015/medium.js"],"sourcesContent":["import { __assign } from \"tslib\";\nfunction ItoI(a) {\n return a;\n}\nfunction innerCreateMedium(defaults, middleware) {\n if (middleware === void 0) { middleware = ItoI; }\n var buffer = [];\n var assigned = false;\n var medium = {\n read: function () {\n if (assigned) {\n throw new Error('Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.');\n }\n if (buffer.length) {\n return buffer[buffer.length - 1];\n }\n return defaults;\n },\n useMedium: function (data) {\n var item = middleware(data, assigned);\n buffer.push(item);\n return function () {\n buffer = buffer.filter(function (x) { return x !== item; });\n };\n },\n assignSyncMedium: function (cb) {\n assigned = true;\n while (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n }\n buffer = {\n push: function (x) { return cb(x); },\n filter: function () { return buffer; },\n };\n },\n assignMedium: function (cb) {\n assigned = true;\n var pendingQueue = [];\n if (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n pendingQueue = buffer;\n }\n var executeQueue = function () {\n var cbs = pendingQueue;\n pendingQueue = [];\n cbs.forEach(cb);\n };\n var cycle = function () { return Promise.resolve().then(executeQueue); };\n cycle();\n buffer = {\n push: function (x) {\n pendingQueue.push(x);\n cycle();\n },\n filter: function (filter) {\n pendingQueue = pendingQueue.filter(filter);\n return buffer;\n },\n };\n },\n };\n return medium;\n}\nexport function createMedium(defaults, middleware) {\n if (middleware === void 0) { middleware = ItoI; }\n return innerCreateMedium(defaults, middleware);\n}\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport function createSidecarMedium(options) {\n if (options === void 0) { options = {}; }\n var medium = innerCreateMedium(null);\n medium.options = __assign({ async: true, ssr: false }, options);\n return medium;\n}\n"],"names":["ItoI","a","innerCreateMedium","defaults","middleware","buffer","assigned","medium","data","item","x","cb","cbs","pendingQueue","executeQueue","cycle","filter","createSidecarMedium","options","__assign"],"mappings":"qHACA,SAASA,EAAKC,EAAG,CACb,OAAOA,CACX,CACA,SAASC,EAAkBC,EAAUC,EAAY,CACzCA,IAAe,SAAUA,EAAaJ,GAC1C,IAAIK,EAAS,CAAE,EACXC,EAAW,GACXC,EAAS,CACT,KAA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AAE,MAAO,GAAM,IAAK,EAAO,EAAED,CAAO,EACvDX,CACX","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs355.js","sources":["../node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js"],"sourcesContent":["var passiveSupported = false;\nif (typeof window !== 'undefined') {\n try {\n var options = Object.defineProperty({}, 'passive', {\n get: function () {\n passiveSupported = true;\n return true;\n },\n });\n // @ts-ignore\n window.addEventListener('test', options, options);\n // @ts-ignore\n window.removeEventListener('test', options, options);\n }\n catch (err) {\n passiveSupported = false;\n }\n}\nexport var nonPassive = passiveSupported ? { passive: false } : false;\n"],"names":["passiveSupported","options","nonPassive"],"mappings":"gFAAA,IAAIA,EAAmB,GACvB,GAAI,OAAO,OAAW,IAClB,GAAI,CACA,IAAIC,EAAU,OAAO,eAAe,CAAA,EAAI,UAAW,CAC/C,IAAK,UAAY,CACb,OAAAD,EAAmB,GACZ,EACV,CACb,CAAS,EAED,OAAO,iBAAiB,OAAQC,EAASA,CAAO,EAEhD,OAAO,oBAAoB,OAAQA,EAASA,CAAO,CAC3D,MACgB,CACRD,EAAmB,EAC3B,CAEU,IAACE,EAAaF,EAAmB,CAAE,QAAS,EAAK,EAAK","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("react"),g=require("./index.cjs288.js"),a=require("./index.cjs161.js");function y(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const i=y(m);var p=i.forwardRef((e,r)=>{const{children:t,...n}=e,o=i.Children.toArray(t),l=o.find(j);if(l){const s=l.props.children,c=o.map(f=>f===l?i.Children.count(s)>1?i.Children.only(null):i.isValidElement(s)?s.props.children:null:f);return a.jsxRuntimeExports.jsx(u,{...n,ref:r,children:i.isValidElement(s)?i.cloneElement(s,void 0,c):null})}return a.jsxRuntimeExports.jsx(u,{...n,ref:r,children:t})});p.displayName="Slot";var u=i.forwardRef((e,r)=>{const{children:t,...n}=e;if(i.isValidElement(t)){const o=R(t),l=b(n,t.props);return t.type!==i.Fragment&&(l.ref=r?g.composeRefs(r,o):o),i.cloneElement(t,l)}return i.Children.count(t)>1?i.Children.only(null):null});u.displayName="SlotClone";var d=({children:e})=>a.jsxRuntimeExports.jsx(a.jsxRuntimeExports.Fragment,{children:e});function j(e){return i.isValidElement(e)&&e.type===d}function b(e,r){const t={...r};for(const n in r){const o=e[n],l=r[n];/^on[A-Z]/.test(n)?o&&l?t[n]=(...c)=>{l(...c),o(...c)}:o&&(t[n]=o):n==="style"?t[n]={...o,...l}:n==="className"&&(t[n]=[o,l].filter(Boolean).join(" "))}return{...e,...t}}function R(e){var n,o;let r=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,t=r&&"isReactWarning"in r&&r.isReactWarning;return t?e.ref:(r=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,t=r&&"isReactWarning"in r&&r.isReactWarning,t?e.props.ref:e.props.ref||e.ref)}exports.Slot=p;exports.Slottable=d;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var y=function(e){return e.tagName==="TEXTAREA"},w=function(e,r){if(!(e instanceof Element))return!1;var o=window.getComputedStyle(e);return o[r]!=="hidden"&&!(o.overflowY===o.overflowX&&!y(e)&&o[r]==="visible")},p=function(e){return w(e,"overflowY")},B=function(e){return w(e,"overflowX")},H=function(e,r){var o=r.ownerDocument,l=r;do{typeof ShadowRoot<"u"&&l instanceof ShadowRoot&&(l=l.host);var v=g(e,l);if(v){var n=b(e,l),a=n[1],t=n[2];if(a>t)return!0}l=l.parentNode}while(l&&l!==o.body);return!1},V=function(e){var r=e.scrollTop,o=e.scrollHeight,l=e.clientHeight;return[r,o,l]},D=function(e){var r=e.scrollLeft,o=e.scrollWidth,l=e.clientWidth;return[r,o,l]},g=function(e,r){return e==="v"?p(r):B(r)},b=function(e,r){return e==="v"?V(r):D(r)},R=function(e,r){return e==="h"&&r==="rtl"?-1:1},W=function(e,r,o,l,v){var n=R(e,window.getComputedStyle(r).direction),a=n*l,t=o.target,f=r.contains(t),c=!1,d=a>0,s=0,h=0;do{var i=b(e,t),u=i[0],m=i[1],C=i[2],S=m-C-n*u;(u||S)&&g(e,t)&&(s+=S,h+=u),t instanceof ShadowRoot?t=t.host:t=t.parentNode}while(!f&&t!==document.body||f&&(r.contains(t)||r===t));return(d&&Math.abs(s)<1||!d&&Math.abs(h)<1)&&(c=!0),c};exports.handleScroll=W;exports.locationCouldBeScrolled=H;
2
2
  //# sourceMappingURL=index.cjs356.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs356.js","sources":["../node_modules/@radix-ui/react-switch/node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["// packages/react/slot/src/slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\nvar Slot = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n});\nSlot.displayName = \"Slot\";\nvar SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n});\nSlotClone.displayName = \"SlotClone\";\nvar Slottable = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n};\nfunction isSlottable(child) {\n return React.isValidElement(child) && child.type === Slottable;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n childPropValue(...args);\n slotPropValue(...args);\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nvar Root = Slot;\nexport {\n Root,\n Slot,\n Slottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["Slot","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","SlotClone","childrenRef","getElementRef","props2","mergeProps","composeRefs","Slottable","Fragment2","childProps","overrideProps","propName","slotPropValue","childPropValue","args","element","getter","_a","mayWarn","_b"],"mappings":"ic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W,CAAE,SAAAhB,EAAU,EAEpD,SAASI,EAAYG,EAAO,CAC1B,OAAOV,EAAM,eAAeU,CAAK,GAAKA,EAAM,OAASQ,CACvD,CACA,SAASF,EAAWZ,EAAWgB,EAAY,CACzC,MAAMC,EAAgB,CAAE,GAAGD,CAAY,EACvC,UAAWE,KAAYF,EAAY,CACjC,MAAMG,EAAgBnB,EAAUkB,CAAQ,EAClCE,EAAiBJ,EAAWE,CAAQ,EACxB,WAAW,KAAKA,CAAQ,EAEpCC,GAAiBC,EACnBH,EAAcC,CAAQ,EAAI,IAAIG,IAAS,CACrCD,EAAe,GAAGC,CAAI,EACtBF,EAAc,GAAGE,CAAI,CACtB,EACQF,IACTF,EAAcC,CAAQ,EAAIC,GAEnBD,IAAa,QACtBD,EAAcC,CAAQ,EAAI,CAAE,GAAGC,EAAe,GAAGC,CAAgB,EACxDF,IAAa,cACtBD,EAAcC,CAAQ,EAAI,CAACC,EAAeC,CAAc,EAAE,OAAO,OAAO,EAAE,KAAK,GAAG,EAExF,CACE,MAAO,CAAE,GAAGpB,EAAW,GAAGiB,CAAe,CAC3C,CACA,SAASP,EAAcY,EAAS,SAC9B,IAAIC,GAASC,EAAA,OAAO,yBAAyBF,EAAQ,MAAO,KAAK,IAApD,YAAAE,EAAuD,IAChEC,EAAUF,GAAU,mBAAoBA,GAAUA,EAAO,eAC7D,OAAIE,EACKH,EAAQ,KAEjBC,GAASG,EAAA,OAAO,yBAAyBJ,EAAS,KAAK,IAA9C,YAAAI,EAAiD,IAC1DD,EAAUF,GAAU,mBAAoBA,GAAUA,EAAO,eACrDE,EACKH,EAAQ,MAAM,IAEhBA,EAAQ,MAAM,KAAOA,EAAQ,IACtC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs356.js","sources":["../node_modules/react-remove-scroll/dist/es2015/handleScroll.js"],"sourcesContent":["var alwaysContainsScroll = function (node) {\n // textarea will always _contain_ scroll inside self. It only can be hidden\n return node.tagName === 'TEXTAREA';\n};\nvar elementCanBeScrolled = function (node, overflow) {\n if (!(node instanceof Element)) {\n return false;\n }\n var styles = window.getComputedStyle(node);\n return (\n // not-not-scrollable\n styles[overflow] !== 'hidden' &&\n // contains scroll inside self\n !(styles.overflowY === styles.overflowX && !alwaysContainsScroll(node) && styles[overflow] === 'visible'));\n};\nvar elementCouldBeVScrolled = function (node) { return elementCanBeScrolled(node, 'overflowY'); };\nvar elementCouldBeHScrolled = function (node) { return elementCanBeScrolled(node, 'overflowX'); };\nexport var locationCouldBeScrolled = function (axis, node) {\n var ownerDocument = node.ownerDocument;\n var current = node;\n do {\n // Skip over shadow root\n if (typeof ShadowRoot !== 'undefined' && current instanceof ShadowRoot) {\n current = current.host;\n }\n var isScrollable = elementCouldBeScrolled(axis, current);\n if (isScrollable) {\n var _a = getScrollVariables(axis, current), scrollHeight = _a[1], clientHeight = _a[2];\n if (scrollHeight > clientHeight) {\n return true;\n }\n }\n current = current.parentNode;\n } while (current && current !== ownerDocument.body);\n return false;\n};\nvar getVScrollVariables = function (_a) {\n var scrollTop = _a.scrollTop, scrollHeight = _a.scrollHeight, clientHeight = _a.clientHeight;\n return [\n scrollTop,\n scrollHeight,\n clientHeight,\n ];\n};\nvar getHScrollVariables = function (_a) {\n var scrollLeft = _a.scrollLeft, scrollWidth = _a.scrollWidth, clientWidth = _a.clientWidth;\n return [\n scrollLeft,\n scrollWidth,\n clientWidth,\n ];\n};\nvar elementCouldBeScrolled = function (axis, node) {\n return axis === 'v' ? elementCouldBeVScrolled(node) : elementCouldBeHScrolled(node);\n};\nvar getScrollVariables = function (axis, node) {\n return axis === 'v' ? getVScrollVariables(node) : getHScrollVariables(node);\n};\nvar getDirectionFactor = function (axis, direction) {\n /**\n * If the element's direction is rtl (right-to-left), then scrollLeft is 0 when the scrollbar is at its rightmost position,\n * and then increasingly negative as you scroll towards the end of the content.\n * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollLeft\n */\n return axis === 'h' && direction === 'rtl' ? -1 : 1;\n};\nexport var handleScroll = function (axis, endTarget, event, sourceDelta, noOverscroll) {\n var directionFactor = getDirectionFactor(axis, window.getComputedStyle(endTarget).direction);\n var delta = directionFactor * sourceDelta;\n // find scrollable target\n var target = event.target;\n var targetInLock = endTarget.contains(target);\n var shouldCancelScroll = false;\n var isDeltaPositive = delta > 0;\n var availableScroll = 0;\n var availableScrollTop = 0;\n do {\n var _a = getScrollVariables(axis, target), position = _a[0], scroll_1 = _a[1], capacity = _a[2];\n var elementScroll = scroll_1 - capacity - directionFactor * position;\n if (position || elementScroll) {\n if (elementCouldBeScrolled(axis, target)) {\n availableScroll += elementScroll;\n availableScrollTop += position;\n }\n }\n if (target instanceof ShadowRoot) {\n target = target.host;\n }\n else {\n target = target.parentNode;\n }\n } while (\n // portaled content\n (!targetInLock && target !== document.body) ||\n // self content\n (targetInLock && (endTarget.contains(target) || endTarget === target)));\n // handle epsilon around 0 (non standard zoom levels)\n if (isDeltaPositive &&\n ((noOverscroll && Math.abs(availableScroll) < 1) || (!noOverscroll && delta > availableScroll))) {\n shouldCancelScroll = true;\n }\n else if (!isDeltaPositive &&\n ((noOverscroll && Math.abs(availableScrollTop) < 1) || (!noOverscroll && -delta > availableScrollTop))) {\n shouldCancelScroll = true;\n }\n return shouldCancelScroll;\n};\n"],"names":["alwaysContainsScroll","node","elementCanBeScrolled","overflow","styles","elementCouldBeVScrolled","elementCouldBeHScrolled","locationCouldBeScrolled","axis","ownerDocument","current","isScrollable","elementCouldBeScrolled","_a","getScrollVariables","scrollHeight","clientHeight","getVScrollVariables","scrollTop","getHScrollVariables","scrollLeft","scrollWidth","clientWidth","getDirectionFactor","direction","handleScroll","endTarget","event","sourceDelta","noOverscroll","directionFactor","delta","target","targetInLock","shouldCancelScroll","isDeltaPositive","availableScroll","availableScrollTop","position","scroll_1","capacity","elementScroll"],"mappings":"gFAAA,IAAIA,EAAuB,SAAUC,EAAM,CAEvC,OAAOA,EAAK,UAAY,UAC5B,EACIC,EAAuB,SAAUD,EAAME,EAAU,C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CAC9E,EACIsB,EAAqB,SAAUf,EAAMgB,EAAW,CAMhD,OAAOhB,IAAS,KAAOgB,IAAc,MAAQ,GAAK,CACtD,EACWC,EAAe,SAAUjB,EAAMkB,EAAWC,EAAOC,EAAaC,EAAc,CACnF,IAAIC,EAAkBP,EAAmBf,EAAM,OAAO,iBAAiBkB,CAAS,EAAE,SAAS,EACvFK,EAAQD,EAAkBF,EAE1BI,EAASL,EAAM,OACfM,EAAeP,EAAU,SAASM,CAAM,EACxCE,EAAqB,GACrBC,EAAkBJ,EAAQ,EAC1BK,EAAkB,EAClBC,EAAqB,EACzB,EAAG,CACC,IAAIxB,EAAKC,EAAmBN,EAAMwB,CAAM,EAAGM,EAAWzB,EAAG,CAAC,EAAG0B,EAAW1B,EAAG,CAAC,EAAG2B,EAAW3B,EAAG,CAAC,EAC1F4B,EAAgBF,EAAWC,EAAWV,EAAkBQ,GACxDA,GAAYG,IACR7B,EAAuBJ,EAAMwB,CAAM,IACnCI,GAAmBK,EACnBJ,GAAsBC,GAG1BN,aAAkB,WAClBA,EAASA,EAAO,KAGhBA,EAASA,EAAO,UAEvB,OAEA,CAACC,GAAgBD,IAAW,SAAS,MAEjCC,IAAiBP,EAAU,SAASM,CAAM,GAAKN,IAAcM,IAElE,OAAIG,GACkB,KAAK,IAAIC,CAAe,EAAI,GAGzC,CAACD,GACY,KAAK,IAAIE,CAAkB,EAAI,KACjDH,EAAqB,IAElBA,CACX","x_google_ignoreList":[0]}
@@ -1,11 +1,11 @@
1
1
  import * as p from "react";
2
- import { composeEventHandlers as m } from "./index.es287.js";
3
- import { composeRefs as E } from "./index.es288.js";
4
- import { createContextScope as S } from "./index.es289.js";
5
- import { useControllableState as P } from "./index.es290.js";
6
- import { Primitive as y } from "./index.es291.js";
7
- import { createMenuScope as D, Anchor as O, Content as T, Group as j, Label as G, Item as k, CheckboxItem as L, RadioGroup as K, RadioItem as U, ItemIndicator as B, Separator as F, Arrow as H, SubTrigger as W, SubContent as $, Root as X, Portal as q } from "./index.es292.js";
8
- import { useId as g } from "./index.es293.js";
2
+ import { composeEventHandlers as m } from "./index.es291.js";
3
+ import { composeRefs as E } from "./index.es292.js";
4
+ import { createContextScope as S } from "./index.es293.js";
5
+ import { useControllableState as P } from "./index.es294.js";
6
+ import { Primitive as y } from "./index.es295.js";
7
+ import { createMenuScope as D, Anchor as O, Content as T, Group as j, Label as G, Item as k, CheckboxItem as L, RadioGroup as K, RadioItem as U, ItemIndicator as B, Separator as F, Arrow as H, SubTrigger as W, SubContent as $, Root as X, Portal as q } from "./index.es296.js";
8
+ import { useId as g } from "./index.es297.js";
9
9
  import { j as a } from "./index.es161.js";
10
10
  var M = "DropdownMenu", [z, bo] = S(
11
11
  M,
@@ -3,7 +3,7 @@ import { Button as m } from "./index.es25.js";
3
3
  import { HeaderTopBanner as y } from "./index.es21.js";
4
4
  import { useState as g, useRef as w, useCallback as C, useEffect as u } from "react";
5
5
  import { clsx as r } from "./index.es163.js";
6
- import { useFocusTrap as N } from "./index.es309.js";
6
+ import { useFocusTrap as N } from "./index.es288.js";
7
7
  import { Container as k } from "./index.es6.js";
8
8
  import './components/navigations/HeaderMobile/HeaderMobile.css';/* empty css */
9
9
  import { Col as L } from "./index.es10.js";
@@ -1,12 +1,12 @@
1
1
  import * as n from "react";
2
- import { useComposedRefs as N } from "./index.es288.js";
3
- import { createContextScope as M } from "./index.es289.js";
4
- import { composeEventHandlers as S } from "./index.es287.js";
5
- import { useControllableState as O } from "./index.es290.js";
6
- import { usePrevious as A } from "./index.es325.js";
7
- import { useSize as B } from "./index.es323.js";
8
- import { Presence as H } from "./index.es304.js";
9
- import { Primitive as j } from "./index.es326.js";
2
+ import { useComposedRefs as N } from "./index.es292.js";
3
+ import { createContextScope as M } from "./index.es293.js";
4
+ import { composeEventHandlers as S } from "./index.es291.js";
5
+ import { useControllableState as O } from "./index.es294.js";
6
+ import { usePrevious as A } from "./index.es298.js";
7
+ import { useSize as B } from "./index.es299.js";
8
+ import { Presence as H } from "./index.es300.js";
9
+ import { Primitive as j } from "./index.es301.js";
10
10
  import { j as f } from "./index.es161.js";
11
11
  var R = "Checkbox", [K, Y] = M(R), [L, q] = K(R), I = n.forwardRef(
12
12
  (e, l) => {
@@ -1,18 +1,18 @@
1
1
  import * as s from "react";
2
- import { composeEventHandlers as p } from "./index.es287.js";
3
- import { useComposedRefs as C } from "./index.es288.js";
4
- import { createContextScope as L, createContext as $ } from "./index.es289.js";
5
- import { useId as x } from "./index.es293.js";
6
- import { useControllableState as B } from "./index.es290.js";
7
- import { DismissableLayer as H } from "./index.es315.js";
8
- import { FocusScope as V } from "./index.es316.js";
9
- import { Portal as q } from "./index.es317.js";
10
- import { Presence as R } from "./index.es304.js";
11
- import { Primitive as m } from "./index.es318.js";
12
- import { useFocusGuards as K } from "./index.es300.js";
13
- import U from "./index.es307.js";
14
- import { hideOthers as Y } from "./index.es306.js";
15
- import { Slot as Z } from "./index.es319.js";
2
+ import { composeEventHandlers as p } from "./index.es291.js";
3
+ import { useComposedRefs as C } from "./index.es292.js";
4
+ import { createContextScope as L, createContext as $ } from "./index.es293.js";
5
+ import { useId as x } from "./index.es297.js";
6
+ import { useControllableState as B } from "./index.es294.js";
7
+ import { DismissableLayer as H } from "./index.es318.js";
8
+ import { FocusScope as V } from "./index.es319.js";
9
+ import { Portal as q } from "./index.es320.js";
10
+ import { Presence as R } from "./index.es300.js";
11
+ import { Primitive as m } from "./index.es321.js";
12
+ import { useFocusGuards as K } from "./index.es307.js";
13
+ import U from "./index.es313.js";
14
+ import { hideOthers as Y } from "./index.es312.js";
15
+ import { Slot as Z } from "./index.es322.js";
16
16
  import { j as i } from "./index.es161.js";
17
17
  var _ = "Dialog", [P, _e] = L(_), [z, u] = P(_), y = (e) => {
18
18
  const {
@@ -1,5 +1,5 @@
1
1
  import { j as t } from "./index.es161.js";
2
- import './components/ui/ConsentModal/ConsentModalFooter/ConsentModalFooter.css';/* empty css */
2
+ import './components/ui/DoctorModal/DoctorModalFooter/DoctorModalFooter.css';/* empty css */
3
3
  const s = ({ children: o }) => /* @__PURE__ */ t.jsx("footer", { className: "ui-consent-modal-footer bg-white shadow", children: o });
4
4
  export {
5
5
  s as ConsentModalFooter
@@ -1,5 +1,5 @@
1
1
  import { j as t } from "./index.es161.js";
2
- import './components/ui/ConsentModal/ConsentModalFooter/ConsentModalFooter.css';/* empty css */
2
+ import './components/ui/DoctorModal/DoctorModalFooter/DoctorModalFooter.css';/* empty css */
3
3
  const s = ({ children: o }) => /* @__PURE__ */ t.jsx("footer", { className: "ui-consent-modal-footer bg-white shadow", children: o });
4
4
  export {
5
5
  s as DoctorModalFooter
@@ -1,5 +1,5 @@
1
1
  import { j as t } from "./index.es161.js";
2
- import './components/ui/ConsentModal/ConsentModalFooter/ConsentModalFooter.css';/* empty css */
2
+ import './components/ui/DoctorModal/DoctorModalFooter/DoctorModalFooter.css';/* empty css */
3
3
  const s = ({
4
4
  children: o
5
5
  }) => /* @__PURE__ */ t.jsx("footer", { className: "ui-consent-modal-footer bg-white shadow", children: o });
@@ -1,11 +1,11 @@
1
1
  import * as n from "react";
2
- import { composeEventHandlers as T } from "./index.es287.js";
3
- import { useComposedRefs as _ } from "./index.es288.js";
4
- import { createContextScope as H } from "./index.es289.js";
5
- import { useControllableState as I } from "./index.es290.js";
6
- import { usePrevious as M } from "./index.es325.js";
7
- import { useSize as N } from "./index.es323.js";
8
- import { Primitive as w } from "./index.es344.js";
2
+ import { composeEventHandlers as T } from "./index.es291.js";
3
+ import { useComposedRefs as _ } from "./index.es292.js";
4
+ import { createContextScope as H } from "./index.es293.js";
5
+ import { useControllableState as I } from "./index.es294.js";
6
+ import { usePrevious as M } from "./index.es298.js";
7
+ import { useSize as N } from "./index.es299.js";
8
+ import { Primitive as w } from "./index.es339.js";
9
9
  import { j as u } from "./index.es161.js";
10
10
  var k = "Switch", [B, J] = H(k), [q, z] = B(k), C = n.forwardRef(
11
11
  (e, s) => {
@@ -1,30 +1,18 @@
1
- import * as l from "react";
2
- function f(n, u) {
3
- if (typeof n == "function")
4
- return n(u);
5
- n != null && (n.current = u);
6
- }
7
- function i(...n) {
8
- return (u) => {
9
- let o = !1;
10
- const c = n.map((e) => {
11
- const t = f(e, u);
12
- return !o && typeof t == "function" && (o = !0), t;
13
- });
14
- if (o)
15
- return () => {
16
- for (let e = 0; e < c.length; e++) {
17
- const t = c[e];
18
- typeof t == "function" ? t() : f(n[e], null);
19
- }
20
- };
21
- };
22
- }
23
- function s(...n) {
24
- return l.useCallback(i(...n), n);
25
- }
1
+ import { useEffect as l } from "react";
2
+ const f = (t, n) => {
3
+ l(() => {
4
+ if (!n || !t.current) return;
5
+ const o = t.current.querySelectorAll(
6
+ 'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'
7
+ ), c = o[0], r = o[o.length - 1], s = (e) => {
8
+ e.key === "Tab" && (e.shiftKey ? document.activeElement === c && (r.focus(), e.preventDefault()) : document.activeElement === r && (c.focus(), e.preventDefault()));
9
+ }, u = document.activeElement;
10
+ return c.focus(), document.addEventListener("keydown", s), () => {
11
+ document.removeEventListener("keydown", s), n && (u == null || u.focus());
12
+ };
13
+ }, [n, t]);
14
+ };
26
15
  export {
27
- i as composeRefs,
28
- s as useComposedRefs
16
+ f as useFocusTrap
29
17
  };
30
18
  //# sourceMappingURL=index.es288.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es288.js","sources":["../node_modules/@radix-ui/react-compose-refs/dist/index.mjs"],"sourcesContent":["// packages/react/compose-refs/src/composeRefs.tsx\nimport * as React from \"react\";\nfunction setRef(ref, value) {\n if (typeof ref === \"function\") {\n return ref(value);\n } else if (ref !== null && ref !== void 0) {\n ref.current = value;\n }\n}\nfunction composeRefs(...refs) {\n return (node) => {\n let hasCleanup = false;\n const cleanups = refs.map((ref) => {\n const cleanup = setRef(ref, node);\n if (!hasCleanup && typeof cleanup == \"function\") {\n hasCleanup = true;\n }\n return cleanup;\n });\n if (hasCleanup) {\n return () => {\n for (let i = 0; i < cleanups.length; i++) {\n const cleanup = cleanups[i];\n if (typeof cleanup == \"function\") {\n cleanup();\n } else {\n setRef(refs[i], null);\n }\n }\n };\n }\n };\n}\nfunction useComposedRefs(...refs) {\n return React.useCallback(composeRefs(...refs), refs);\n}\nexport {\n composeRefs,\n useComposedRefs\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["setRef","ref","value","composeRefs","refs","node","hasCleanup","cleanups","cleanup","i","useComposedRefs","React"],"mappings":";AAEA,SAASA,EAAOC,GAAKC,GAAO;AAC1B,MAAI,OAAOD,KAAQ;AACjB,WAAOA,EAAIC,CAAK;AACX,EAAID,KAAQ,SACjBA,EAAI,UAAUC;AAElB;AACA,SAASC,KAAeC,GAAM;AAC5B,SAAO,CAACC,MAAS;AACf,QAAIC,IAAa;AACjB,UAAMC,IAAWH,EAAK,IAAI,CAACH,MAAQ;AACjC,YAAMO,IAAUR,EAAOC,GAAKI,CAAI;AAChC,aAAI,CAACC,KAAc,OAAOE,KAAW,eACnCF,IAAa,KAERE;AAAA,IACb,CAAK;AACD,QAAIF;AACF,aAAO,MAAM;AACX,iBAASG,IAAI,GAAGA,IAAIF,EAAS,QAAQE,KAAK;AACxC,gBAAMD,IAAUD,EAASE,CAAC;AAC1B,UAAI,OAAOD,KAAW,aACpBA,EAAS,IAETR,EAAOI,EAAKK,CAAC,GAAG,IAAI;AAAA,QAEhC;AAAA,MACO;AAAA,EAEJ;AACH;AACA,SAASC,KAAmBN,GAAM;AAChC,SAAOO,EAAM,YAAYR,EAAY,GAAGC,CAAI,GAAGA,CAAI;AACrD;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es288.js","sources":["../src/hooks/useFocusTrap.ts"],"sourcesContent":["import { useEffect } from \"react\";\n\nexport const useFocusTrap = (\n ref: React.RefObject<HTMLElement | null>,\n isActive: boolean,\n) => {\n useEffect(() => {\n if (!isActive || !ref.current) return;\n\n const focusableElements = ref.current.querySelectorAll(\n 'button, [href], input, select, textarea, [tabindex]:not([tabindex=\"-1\"])',\n );\n const firstFocusableElement = focusableElements[0] as HTMLElement;\n const lastFocusableElement = focusableElements[\n focusableElements.length - 1\n ] as HTMLElement;\n\n const handleKeyDown = (e: KeyboardEvent) => {\n if (e.key !== \"Tab\") return;\n\n if (e.shiftKey) {\n if (document.activeElement === firstFocusableElement) {\n lastFocusableElement.focus();\n e.preventDefault();\n }\n } else {\n if (document.activeElement === lastFocusableElement) {\n firstFocusableElement.focus();\n e.preventDefault();\n }\n }\n };\n\n const previousActiveElement = document.activeElement as HTMLElement;\n\n firstFocusableElement.focus();\n\n document.addEventListener(\"keydown\", handleKeyDown);\n\n return () => {\n document.removeEventListener(\"keydown\", handleKeyDown);\n\n if (isActive) {\n previousActiveElement?.focus();\n }\n };\n }, [isActive, ref]);\n};\n"],"names":["useFocusTrap","ref","isActive","useEffect","focusableElements","firstFocusableElement","lastFocusableElement","handleKeyDown","previousActiveElement"],"mappings":";AAEa,MAAAA,IAAe,CAC1BC,GACAC,MACG;AACH,EAAAC,EAAU,MAAM;AACd,QAAI,CAACD,KAAY,CAACD,EAAI,QAAS;AAEzB,UAAAG,IAAoBH,EAAI,QAAQ;AAAA,MACpC;AAAA,IACF,GACMI,IAAwBD,EAAkB,CAAC,GAC3CE,IAAuBF,EAC3BA,EAAkB,SAAS,CAC7B,GAEMG,IAAgB,CAAC,MAAqB;AACtC,MAAA,EAAE,QAAQ,UAEV,EAAE,WACA,SAAS,kBAAkBF,MAC7BC,EAAqB,MAAM,GAC3B,EAAE,eAAe,KAGf,SAAS,kBAAkBA,MAC7BD,EAAsB,MAAM,GAC5B,EAAE,eAAe;AAAA,IAGvB,GAEMG,IAAwB,SAAS;AAEvC,WAAAH,EAAsB,MAAM,GAEnB,SAAA,iBAAiB,WAAWE,CAAa,GAE3C,MAAM;AACF,eAAA,oBAAoB,WAAWA,CAAa,GAEjDL,MACFM,KAAA,QAAAA,EAAuB;AAAA,IAE3B;AAAA,EAAA,GACC,CAACN,GAAUD,CAAG,CAAC;AACpB;"}
@@ -1,36 +1,10 @@
1
- import * as n from "react";
2
- import * as p from "react-dom";
3
- import { Slot as f } from "./index.es296.js";
4
- import { j as u } from "./index.es161.js";
5
- var c = [
6
- "a",
7
- "button",
8
- "div",
9
- "form",
10
- "h2",
11
- "h3",
12
- "img",
13
- "input",
14
- "label",
15
- "li",
16
- "nav",
17
- "ol",
18
- "p",
19
- "span",
20
- "svg",
21
- "ul"
22
- ], v = c.reduce((r, i) => {
23
- const t = n.forwardRef((o, e) => {
24
- const { asChild: s, ...m } = o, a = s ? f : i;
25
- return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ u.jsx(a, { ...m, ref: e });
26
- });
27
- return t.displayName = `Primitive.${i}`, { ...r, [i]: t };
28
- }, {});
29
- function h(r, i) {
30
- r && p.flushSync(() => r.dispatchEvent(i));
1
+ function h(f, c, { checkForDefaultPrevented: p = !0 } = {}) {
2
+ return function(s) {
3
+ if (f == null || f(s), p === !1 || !s.defaultPrevented)
4
+ return c == null ? void 0 : c(s);
5
+ };
31
6
  }
32
7
  export {
33
- v as Primitive,
34
- h as dispatchDiscreteCustomEvent
8
+ h as composeEventHandlers
35
9
  };
36
10
  //# sourceMappingURL=index.es291.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es291.js","sources":["../node_modules/@radix-ui/react-primitive/dist/index.mjs"],"sourcesContent":["// packages/react/primitive/src/Primitive.tsx\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { Slot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NODES = [\n \"a\",\n \"button\",\n \"div\",\n \"form\",\n \"h2\",\n \"h3\",\n \"img\",\n \"input\",\n \"label\",\n \"li\",\n \"nav\",\n \"ol\",\n \"p\",\n \"span\",\n \"svg\",\n \"ul\"\n];\nvar Primitive = NODES.reduce((primitive, node) => {\n const Node = React.forwardRef((props, forwardedRef) => {\n const { asChild, ...primitiveProps } = props;\n const Comp = asChild ? Slot : node;\n if (typeof window !== \"undefined\") {\n window[Symbol.for(\"radix-ui\")] = true;\n }\n return /* @__PURE__ */ jsx(Comp, { ...primitiveProps, ref: forwardedRef });\n });\n Node.displayName = `Primitive.${node}`;\n return { ...primitive, [node]: Node };\n}, {});\nfunction dispatchDiscreteCustomEvent(target, event) {\n if (target) ReactDOM.flushSync(() => target.dispatchEvent(event));\n}\nvar Root = Primitive;\nexport {\n Primitive,\n Root,\n dispatchDiscreteCustomEvent\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["NODES","Primitive","primitive","node","Node","React","props","forwardedRef","asChild","primitiveProps","Comp","Slot","jsx","dispatchDiscreteCustomEvent","target","event","ReactDOM"],"mappings":";;;;AAKA,IAAIA,IAAQ;AAAA,EACV;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GACIC,IAAYD,EAAM,OAAO,CAACE,GAAWC,MAAS;AAChD,QAAMC,IAAOC,EAAM,WAAW,CAACC,GAAOC,MAAiB;AACrD,UAAM,EAAE,SAAAC,GAAS,GAAGC,EAAc,IAAKH,GACjCI,IAAOF,IAAUG,IAAOR;AAC9B,WAAI,OAAO,SAAW,QACpB,OAAO,OAAO,IAAI,UAAU,CAAC,IAAI,KAEZS,gBAAAA,EAAAA,IAAIF,GAAM,EAAE,GAAGD,GAAgB,KAAKF,GAAc;AAAA,EAC7E,CAAG;AACD,SAAAH,EAAK,cAAc,aAAaD,CAAI,IAC7B,EAAE,GAAGD,GAAW,CAACC,CAAI,GAAGC,EAAM;AACvC,GAAG,CAAE,CAAA;AACL,SAASS,EAA4BC,GAAQC,GAAO;AAClD,EAAID,KAAQE,EAAS,UAAU,MAAMF,EAAO,cAAcC,CAAK,CAAC;AAClE;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es291.js","sources":["../node_modules/@radix-ui/primitive/dist/index.mjs"],"sourcesContent":["// packages/core/primitive/src/primitive.tsx\nfunction composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {\n return function handleEvent(event) {\n originalEventHandler?.(event);\n if (checkForDefaultPrevented === false || !event.defaultPrevented) {\n return ourEventHandler?.(event);\n }\n };\n}\nexport {\n composeEventHandlers\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["composeEventHandlers","originalEventHandler","ourEventHandler","checkForDefaultPrevented","event"],"mappings":"AACA,SAASA,EAAqBC,GAAsBC,GAAiB,EAAE,0BAAAC,IAA2B,GAAM,IAAG,IAAI;AAC7G,SAAO,SAAqBC,GAAO;AAEjC,QADAH,KAAA,QAAAA,EAAuBG,IACnBD,MAA6B,MAAS,CAACC,EAAM;AAC/C,aAAOF,KAAA,gBAAAA,EAAkBE;AAAA,EAE5B;AACH;","x_google_ignoreList":[0]}