msw-dev-tool 1.1.21 → 1.1.22

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 (529) hide show
  1. package/dist/cjs/_virtual/_commonjsHelpers.js +11 -0
  2. package/dist/cjs/_virtual/_commonjsHelpers.js.map +1 -0
  3. package/dist/cjs/_virtual/index.js +6 -0
  4. package/dist/cjs/_virtual/index.js.map +1 -0
  5. package/dist/cjs/_virtual/lodash.js +6 -0
  6. package/dist/cjs/_virtual/lodash.js.map +1 -0
  7. package/dist/cjs/const/handler.js +10 -0
  8. package/dist/cjs/const/handler.js.map +1 -0
  9. package/dist/cjs/index.js +5 -29765
  10. package/dist/cjs/index.js.map +1 -1
  11. package/dist/cjs/lib/handlerStore.js +114 -0
  12. package/dist/cjs/lib/handlerStore.js.map +1 -0
  13. package/dist/cjs/lib/type.js +41 -0
  14. package/dist/cjs/lib/type.js.map +1 -0
  15. package/dist/cjs/lib/util.js +96 -0
  16. package/dist/cjs/lib/util.js.map +1 -0
  17. package/dist/cjs/node_modules/.pnpm/@floating-ui_core@1.6.9/node_modules/@floating-ui/core/dist/floating-ui.core.js +818 -0
  18. package/dist/cjs/node_modules/.pnpm/@floating-ui_core@1.6.9/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +1 -0
  19. package/dist/cjs/node_modules/.pnpm/@floating-ui_dom@1.6.13/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +739 -0
  20. package/dist/cjs/node_modules/.pnpm/@floating-ui_dom@1.6.13/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +1 -0
  21. package/dist/cjs/node_modules/.pnpm/@floating-ui_react-dom@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +378 -0
  22. package/dist/cjs/node_modules/.pnpm/@floating-ui_react-dom@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +1 -0
  23. package/dist/cjs/node_modules/.pnpm/@floating-ui_utils@0.2.9/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +176 -0
  24. package/dist/cjs/node_modules/.pnpm/@floating-ui_utils@0.2.9/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +1 -0
  25. package/dist/cjs/node_modules/.pnpm/@floating-ui_utils@0.2.9/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +160 -0
  26. package/dist/cjs/node_modules/.pnpm/@floating-ui_utils@0.2.9/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +1 -0
  27. package/dist/cjs/node_modules/.pnpm/@radix-ui_number@1.1.0/node_modules/@radix-ui/number/dist/index.js +9 -0
  28. package/dist/cjs/node_modules/.pnpm/@radix-ui_number@1.1.0/node_modules/@radix-ui/number/dist/index.js.map +1 -0
  29. package/dist/cjs/node_modules/.pnpm/@radix-ui_primitive@1.1.1/node_modules/@radix-ui/primitive/dist/index.js +14 -0
  30. package/dist/cjs/node_modules/.pnpm/@radix-ui_primitive@1.1.1/node_modules/@radix-ui/primitive/dist/index.js.map +1 -0
  31. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-arrow@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.1_x6p6stvosyj5xtena3xfahoytu/node_modules/@radix-ui/react-arrow/dist/index.js +48 -0
  32. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-arrow@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.1_x6p6stvosyj5xtena3xfahoytu/node_modules/@radix-ui/react-arrow/dist/index.js.map +1 -0
  33. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-collection@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@1_tagbd57u5fsqga6qdjecsll7fm/node_modules/@radix-ui/react-collection/dist/index.js +71 -0
  34. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-collection@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@1_tagbd57u5fsqga6qdjecsll7fm/node_modules/@radix-ui/react-collection/dist/index.js.map +1 -0
  35. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.1_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.js +62 -0
  36. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.1_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.js.map +1 -0
  37. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-context@1.1.1_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-context/dist/index.js +102 -0
  38. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-context@1.1.1_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-context/dist/index.js.map +1 -0
  39. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-dialog@1.1.6_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3._tj6htj5pmg2es74uknz4aewlhy/node_modules/@radix-ui/react-dialog/dist/index.js +358 -0
  40. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-dialog@1.1.6_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3._tj6htj5pmg2es74uknz4aewlhy/node_modules/@radix-ui/react-dialog/dist/index.js.map +1 -0
  41. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-direction@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-direction/dist/index.js +40 -0
  42. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-direction@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-direction/dist/index.js.map +1 -0
  43. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.5_@types_react-dom@18.3.5_@types_react@18.3.18__@types__nitdfoqpcbroetgllwgz3is5ai/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +234 -0
  44. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.5_@types_react-dom@18.3.5_@types_react@18.3.18__@types__nitdfoqpcbroetgllwgz3is5ai/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +1 -0
  45. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.1_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-focus-guards/dist/index.js +51 -0
  46. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.1_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-focus-guards/dist/index.js.map +1 -0
  47. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@_fadkqkpo6fm4ufegukbxon2hs4/node_modules/@radix-ui/react-focus-scope/dist/index.js +229 -0
  48. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@_fadkqkpo6fm4ufegukbxon2hs4/node_modules/@radix-ui/react-focus-scope/dist/index.js.map +1 -0
  49. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-icons@1.3.2_react@18.3.1/node_modules/@radix-ui/react-icons/dist/react-icons.esm.js +181 -0
  50. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-icons@1.3.2_react@18.3.1/node_modules/@radix-ui/react-icons/dist/react-icons.esm.js.map +1 -0
  51. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-id@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-id/dist/index.js +37 -0
  52. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-id@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-id/dist/index.js.map +1 -0
  53. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-label@2.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.1_2cqdrul4wd4nqxmfcrqwokv4ti/node_modules/@radix-ui/react-label/dist/index.js +45 -0
  54. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-label@2.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.1_2cqdrul4wd4nqxmfcrqwokv4ti/node_modules/@radix-ui/react-label/dist/index.js.map +1 -0
  55. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-popper@1.2.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3._vskr4u3q77jmhehtw5db7awfeq/node_modules/@radix-ui/react-popper/dist/index.js +308 -0
  56. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-popper@1.2.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3._vskr4u3q77jmhehtw5db7awfeq/node_modules/@radix-ui/react-popper/dist/index.js.map +1 -0
  57. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-portal@1.1.4_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3._ulc3jfxcmrz2rfz7bui53djdtu/node_modules/@radix-ui/react-portal/dist/index.js +39 -0
  58. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-portal@1.1.4_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3._ulc3jfxcmrz2rfz7bui53djdtu/node_modules/@radix-ui/react-portal/dist/index.js.map +1 -0
  59. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-presence@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18._pqwkltkxenlrsgmgun6icjiigu/node_modules/@radix-ui/react-presence/dist/index.js +152 -0
  60. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-presence@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18._pqwkltkxenlrsgmgun6icjiigu/node_modules/@radix-ui/react-presence/dist/index.js.map +1 -0
  61. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-primitive@2.0.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18_sejcxqoscaweil2bvgwwavaoha/node_modules/@radix-ui/react-primitive/dist/index.js +65 -0
  62. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-primitive@2.0.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18_sejcxqoscaweil2bvgwwavaoha/node_modules/@radix-ui/react-primitive/dist/index.js.map +1 -0
  63. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-scroll-area@1.2.3_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@_xx7wjcphuyz2zijkk43rojvdle/node_modules/@radix-ui/react-scroll-area/dist/index.js +752 -0
  64. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-scroll-area@1.2.3_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@_xx7wjcphuyz2zijkk43rojvdle/node_modules/@radix-ui/react-scroll-area/dist/index.js.map +1 -0
  65. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-select@2.1.6_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3._h3snaisb2dmidicxlzdds2tiqu/node_modules/@radix-ui/react-select/dist/index.js +1168 -0
  66. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-select@2.1.6_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3._h3snaisb2dmidicxlzdds2tiqu/node_modules/@radix-ui/react-select/dist/index.js.map +1 -0
  67. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-slot@1.1.2_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-slot/dist/index.js +106 -0
  68. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-slot@1.1.2_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
  69. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-tooltip@1.1.8_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3_zlakc5i4tpx4eat4ixff5zh6tq/node_modules/@radix-ui/react-tooltip/dist/index.js +407 -0
  70. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-tooltip@1.1.8_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3_zlakc5i4tpx4eat4ixff5zh6tq/node_modules/@radix-ui/react-tooltip/dist/index.js.map +1 -0
  71. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +34 -0
  72. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-callback-ref/dist/index.js.map +1 -0
  73. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +68 -0
  74. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.js.map +1 -0
  75. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +40 -0
  76. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js.map +1 -0
  77. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +29 -0
  78. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-layout-effect/dist/index.js.map +1 -0
  79. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-use-previous@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-previous/dist/index.js +37 -0
  80. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-use-previous@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-previous/dist/index.js.map +1 -0
  81. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-use-size@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-size/dist/index.js +62 -0
  82. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-use-size@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-size/dist/index.js.map +1 -0
  83. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_re_omyrydx3gc2oidaiqb4gsovieq/node_modules/@radix-ui/react-visually-hidden/dist/index.js +58 -0
  84. package/dist/cjs/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_re_omyrydx3gc2oidaiqb4gsovieq/node_modules/@radix-ui/react-visually-hidden/dist/index.js.map +1 -0
  85. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/_internal/base-button.js +36 -0
  86. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/_internal/base-button.js.map +1 -0
  87. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/_internal/base-button.props.js +11 -0
  88. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/_internal/base-button.props.js.map +1 -0
  89. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/box.js +33 -0
  90. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/box.js.map +1 -0
  91. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/box.props.js +8 -0
  92. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/box.props.js.map +1 -0
  93. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/button.js +29 -0
  94. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/button.js.map +1 -0
  95. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/container.js +36 -0
  96. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/container.js.map +1 -0
  97. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/container.props.js +8 -0
  98. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/container.props.js.map +1 -0
  99. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/flex.js +33 -0
  100. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/flex.js.map +1 -0
  101. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/flex.props.js +9 -0
  102. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/flex.props.js.map +1 -0
  103. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/heading.js +32 -0
  104. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/heading.js.map +1 -0
  105. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/heading.props.js +15 -0
  106. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/heading.props.js.map +1 -0
  107. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/scroll-area.js +35 -0
  108. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/scroll-area.js.map +1 -0
  109. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/scroll-area.props.js +9 -0
  110. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/scroll-area.props.js.map +1 -0
  111. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/slot.js +8 -0
  112. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/slot.js.map +1 -0
  113. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/spinner.js +32 -0
  114. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/spinner.js.map +1 -0
  115. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/spinner.props.js +6 -0
  116. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/spinner.props.js.map +1 -0
  117. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/table.js +39 -0
  118. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/table.js.map +1 -0
  119. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/table.props.js +11 -0
  120. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/table.props.js.map +1 -0
  121. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/text-field.js +36 -0
  122. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/text-field.js.map +1 -0
  123. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/text-field.props.js +12 -0
  124. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/text-field.props.js.map +1 -0
  125. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/text.js +32 -0
  126. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/text.js.map +1 -0
  127. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/text.props.js +15 -0
  128. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/text.props.js.map +1 -0
  129. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/theme.js +34 -0
  130. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/theme.js.map +1 -0
  131. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/theme.props.js +10 -0
  132. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/theme.props.js.map +1 -0
  133. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/visually-hidden.js +8 -0
  134. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/visually-hidden.js.map +1 -0
  135. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/helpers/extract-margin-props.js +6 -0
  136. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/helpers/extract-margin-props.js.map +1 -0
  137. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/helpers/extract-props.js +11 -0
  138. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/helpers/extract-props.js.map +1 -0
  139. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/helpers/get-margin-styles.js +11 -0
  140. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/helpers/get-margin-styles.js.map +1 -0
  141. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/helpers/get-matching-gray-color.js +6 -0
  142. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/helpers/get-matching-gray-color.js.map +1 -0
  143. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/helpers/get-responsive-styles.js +12 -0
  144. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/helpers/get-responsive-styles.js.map +1 -0
  145. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/helpers/get-subtree.js +27 -0
  146. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/helpers/get-subtree.js.map +1 -0
  147. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/helpers/has-own-property.js +6 -0
  148. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/helpers/has-own-property.js.map +1 -0
  149. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/helpers/is-responsive-object.js +8 -0
  150. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/helpers/is-responsive-object.js.map +1 -0
  151. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/helpers/map-prop-values.js +7 -0
  152. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/helpers/map-prop-values.js.map +1 -0
  153. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/helpers/merge-styles.js +6 -0
  154. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/helpers/merge-styles.js.map +1 -0
  155. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/as-child.prop.js +6 -0
  156. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/as-child.prop.js.map +1 -0
  157. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/color.prop.js +9 -0
  158. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/color.prop.js.map +1 -0
  159. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/gap.props.js +6 -0
  160. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/gap.props.js.map +1 -0
  161. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/height.props.js +6 -0
  162. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/height.props.js.map +1 -0
  163. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/high-contrast.prop.js +6 -0
  164. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/high-contrast.prop.js.map +1 -0
  165. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/layout.props.js +10 -0
  166. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/layout.props.js.map +1 -0
  167. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/leading-trim.prop.js +6 -0
  168. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/leading-trim.prop.js.map +1 -0
  169. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/margin.props.js +6 -0
  170. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/margin.props.js.map +1 -0
  171. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/padding.props.js +6 -0
  172. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/padding.props.js.map +1 -0
  173. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/prop-def.js +6 -0
  174. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/prop-def.js.map +1 -0
  175. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/radius.prop.js +7 -0
  176. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/radius.prop.js.map +1 -0
  177. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/text-align.prop.js +6 -0
  178. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/text-align.prop.js.map +1 -0
  179. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/text-wrap.prop.js +6 -0
  180. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/text-wrap.prop.js.map +1 -0
  181. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/truncate.prop.js +6 -0
  182. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/truncate.prop.js.map +1 -0
  183. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/weight.prop.js +6 -0
  184. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/weight.prop.js.map +1 -0
  185. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/width.props.js +6 -0
  186. package/dist/cjs/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/width.props.js.map +1 -0
  187. package/dist/cjs/node_modules/.pnpm/@rollup_plugin-typescript@11.1.6_rollup@3.29.5_tslib@2.8.1_typescript@5.6.3/node_modules/tslib/tslib.es6.js +60 -0
  188. package/dist/cjs/node_modules/.pnpm/@rollup_plugin-typescript@11.1.6_rollup@3.29.5_tslib@2.8.1_typescript@5.6.3/node_modules/tslib/tslib.es6.js.map +1 -0
  189. package/dist/cjs/node_modules/.pnpm/@tanstack_react-table@8.20.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-table/build/lib/index.js +137 -0
  190. package/dist/cjs/node_modules/.pnpm/@tanstack_react-table@8.20.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-table/build/lib/index.js.map +1 -0
  191. package/dist/cjs/node_modules/.pnpm/@tanstack_table-core@8.20.5/node_modules/@tanstack/table-core/build/lib/index.js +3012 -0
  192. package/dist/cjs/node_modules/.pnpm/@tanstack_table-core@8.20.5/node_modules/@tanstack/table-core/build/lib/index.js.map +1 -0
  193. package/dist/cjs/node_modules/.pnpm/aria-hidden@1.2.4/node_modules/aria-hidden/dist/es2015/index.js +139 -0
  194. package/dist/cjs/node_modules/.pnpm/aria-hidden@1.2.4/node_modules/aria-hidden/dist/es2015/index.js.map +1 -0
  195. package/dist/cjs/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js +87 -0
  196. package/dist/cjs/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js.map +1 -0
  197. package/dist/cjs/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js +15 -0
  198. package/dist/cjs/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js.map +1 -0
  199. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/lodash.js +17209 -0
  200. package/dist/cjs/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/lodash.js.map +1 -0
  201. package/dist/cjs/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll-bar/dist/es2015/component.js +80 -0
  202. package/dist/cjs/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll-bar/dist/es2015/component.js.map +1 -0
  203. package/dist/cjs/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +16 -0
  204. package/dist/cjs/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll-bar/dist/es2015/constants.js.map +1 -0
  205. package/dist/cjs/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +35 -0
  206. package/dist/cjs/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll-bar/dist/es2015/utils.js.map +1 -0
  207. package/dist/cjs/node_modules/.pnpm/react-remove-scroll@2.6.3_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/Combination.js +34 -0
  208. package/dist/cjs/node_modules/.pnpm/react-remove-scroll@2.6.3_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/Combination.js.map +1 -0
  209. package/dist/cjs/node_modules/.pnpm/react-remove-scroll@2.6.3_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +184 -0
  210. package/dist/cjs/node_modules/.pnpm/react-remove-scroll@2.6.3_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/SideEffect.js.map +1 -0
  211. package/dist/cjs/node_modules/.pnpm/react-remove-scroll@2.6.3_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/UI.js +60 -0
  212. package/dist/cjs/node_modules/.pnpm/react-remove-scroll@2.6.3_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/UI.js.map +1 -0
  213. package/dist/cjs/node_modules/.pnpm/react-remove-scroll@2.6.3_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +24 -0
  214. package/dist/cjs/node_modules/.pnpm/react-remove-scroll@2.6.3_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js.map +1 -0
  215. package/dist/cjs/node_modules/.pnpm/react-remove-scroll@2.6.3_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +113 -0
  216. package/dist/cjs/node_modules/.pnpm/react-remove-scroll@2.6.3_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/handleScroll.js.map +1 -0
  217. package/dist/cjs/node_modules/.pnpm/react-remove-scroll@2.6.3_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/medium.js +8 -0
  218. package/dist/cjs/node_modules/.pnpm/react-remove-scroll@2.6.3_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/medium.js.map +1 -0
  219. package/dist/cjs/node_modules/.pnpm/react-remove-scroll@2.6.3_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/sidecar.js +12 -0
  220. package/dist/cjs/node_modules/.pnpm/react-remove-scroll@2.6.3_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/sidecar.js.map +1 -0
  221. package/dist/cjs/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@18.3.18_react@18.3.1/node_modules/react-style-singleton/dist/es2015/component.js +22 -0
  222. package/dist/cjs/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@18.3.18_react@18.3.1/node_modules/react-style-singleton/dist/es2015/component.js.map +1 -0
  223. package/dist/cjs/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@18.3.18_react@18.3.1/node_modules/react-style-singleton/dist/es2015/hook.js +47 -0
  224. package/dist/cjs/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@18.3.18_react@18.3.1/node_modules/react-style-singleton/dist/es2015/hook.js.map +1 -0
  225. package/dist/cjs/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@18.3.18_react@18.3.1/node_modules/react-style-singleton/dist/es2015/singleton.js +54 -0
  226. package/dist/cjs/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@18.3.18_react@18.3.1/node_modules/react-style-singleton/dist/es2015/singleton.js.map +1 -0
  227. package/dist/cjs/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@18.3.18_react@18.3.1/node_modules/use-callback-ref/dist/es2015/assignRef.js +27 -0
  228. package/dist/cjs/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@18.3.18_react@18.3.1/node_modules/use-callback-ref/dist/es2015/assignRef.js.map +1 -0
  229. package/dist/cjs/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@18.3.18_react@18.3.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +70 -0
  230. package/dist/cjs/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@18.3.18_react@18.3.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.js.map +1 -0
  231. package/dist/cjs/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@18.3.18_react@18.3.1/node_modules/use-callback-ref/dist/es2015/useRef.js +45 -0
  232. package/dist/cjs/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@18.3.18_react@18.3.1/node_modules/use-callback-ref/dist/es2015/useRef.js.map +1 -0
  233. package/dist/cjs/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@18.3.18_react@18.3.1/node_modules/use-sidecar/dist/es2015/exports.js +43 -0
  234. package/dist/cjs/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@18.3.18_react@18.3.1/node_modules/use-sidecar/dist/es2015/exports.js.map +1 -0
  235. package/dist/cjs/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@18.3.18_react@18.3.1/node_modules/use-sidecar/dist/es2015/medium.js +80 -0
  236. package/dist/cjs/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@18.3.18_react@18.3.1/node_modules/use-sidecar/dist/es2015/medium.js.map +1 -0
  237. package/dist/cjs/node_modules/.pnpm/vaul@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_react-dom@18.3._7iqkcrcg5qjc3n2ixm6rnrnx3e/node_modules/vaul/dist/index.js +1681 -0
  238. package/dist/cjs/node_modules/.pnpm/vaul@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_react-dom@18.3._7iqkcrcg5qjc3n2ixm6rnrnx3e/node_modules/vaul/dist/index.js.map +1 -0
  239. package/dist/cjs/store/uiControlStore.js +13 -0
  240. package/dist/cjs/store/uiControlStore.js.map +1 -0
  241. package/dist/cjs/ui/DevToolContent/HandlerDebugger/KeyValueInputList.js +71 -0
  242. package/dist/cjs/ui/DevToolContent/HandlerDebugger/KeyValueInputList.js.map +1 -0
  243. package/dist/cjs/ui/DevToolContent/HandlerDebugger/PathParamSetter.js +26 -0
  244. package/dist/cjs/ui/DevToolContent/HandlerDebugger/PathParamSetter.js.map +1 -0
  245. package/dist/cjs/ui/DevToolContent/HandlerDebugger/RequestPreview.js +71 -0
  246. package/dist/cjs/ui/DevToolContent/HandlerDebugger/RequestPreview.js.map +1 -0
  247. package/dist/cjs/ui/DevToolContent/HandlerDebugger/index.js +57 -0
  248. package/dist/cjs/ui/DevToolContent/HandlerDebugger/index.js.map +1 -0
  249. package/dist/cjs/ui/DevToolContent/HandlerTable/BehaviorSelect.js +40 -0
  250. package/dist/cjs/ui/DevToolContent/HandlerTable/BehaviorSelect.js.map +1 -0
  251. package/dist/cjs/ui/DevToolContent/HandlerTable/index.js +27 -0
  252. package/dist/cjs/ui/DevToolContent/HandlerTable/index.js.map +1 -0
  253. package/dist/cjs/ui/DevToolContent/ToolButtonGroup.js +18 -0
  254. package/dist/cjs/ui/DevToolContent/ToolButtonGroup.js.map +1 -0
  255. package/dist/cjs/ui/DevToolContent/hook/useFlattenHandlersTable.js +75 -0
  256. package/dist/cjs/ui/DevToolContent/hook/useFlattenHandlersTable.js.map +1 -0
  257. package/dist/cjs/ui/MSWDevTool.js +59 -0
  258. package/dist/cjs/ui/MSWDevTool.js.map +1 -0
  259. package/dist/cjs/ui/ThemeProvider.js +19 -0
  260. package/dist/cjs/ui/ThemeProvider.js.map +1 -0
  261. package/dist/cjs/ui/Trigger.js +23 -0
  262. package/dist/cjs/ui/Trigger.js.map +1 -0
  263. package/dist/cjs/utils/url.js +43 -0
  264. package/dist/cjs/utils/url.js.map +1 -0
  265. package/dist/esm/_virtual/_commonjsHelpers.js +8 -0
  266. package/dist/esm/_virtual/_commonjsHelpers.js.map +1 -0
  267. package/dist/esm/_virtual/index.js +4 -0
  268. package/dist/esm/_virtual/index.js.map +1 -0
  269. package/dist/esm/_virtual/lodash.js +4 -0
  270. package/dist/esm/_virtual/lodash.js.map +1 -0
  271. package/dist/esm/const/handler.js +7 -0
  272. package/dist/esm/const/handler.js.map +1 -0
  273. package/dist/esm/index.js +2 -29748
  274. package/dist/esm/index.js.map +1 -1
  275. package/dist/esm/lib/handlerStore.js +110 -0
  276. package/dist/esm/lib/handlerStore.js.map +1 -0
  277. package/dist/esm/lib/type.js +37 -0
  278. package/dist/esm/lib/type.js.map +1 -0
  279. package/dist/esm/lib/util.js +88 -0
  280. package/dist/esm/lib/util.js.map +1 -0
  281. package/dist/esm/node_modules/.pnpm/@floating-ui_core@1.6.9/node_modules/@floating-ui/core/dist/floating-ui.core.js +807 -0
  282. package/dist/esm/node_modules/.pnpm/@floating-ui_core@1.6.9/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +1 -0
  283. package/dist/esm/node_modules/.pnpm/@floating-ui_dom@1.6.13/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +727 -0
  284. package/dist/esm/node_modules/.pnpm/@floating-ui_dom@1.6.13/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +1 -0
  285. package/dist/esm/node_modules/.pnpm/@floating-ui_react-dom@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +348 -0
  286. package/dist/esm/node_modules/.pnpm/@floating-ui_react-dom@2.1.2_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +1 -0
  287. package/dist/esm/node_modules/.pnpm/@floating-ui_utils@0.2.9/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +155 -0
  288. package/dist/esm/node_modules/.pnpm/@floating-ui_utils@0.2.9/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +1 -0
  289. package/dist/esm/node_modules/.pnpm/@floating-ui_utils@0.2.9/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +137 -0
  290. package/dist/esm/node_modules/.pnpm/@floating-ui_utils@0.2.9/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +1 -0
  291. package/dist/esm/node_modules/.pnpm/@radix-ui_number@1.1.0/node_modules/@radix-ui/number/dist/index.js +7 -0
  292. package/dist/esm/node_modules/.pnpm/@radix-ui_number@1.1.0/node_modules/@radix-ui/number/dist/index.js.map +1 -0
  293. package/dist/esm/node_modules/.pnpm/@radix-ui_primitive@1.1.1/node_modules/@radix-ui/primitive/dist/index.js +12 -0
  294. package/dist/esm/node_modules/.pnpm/@radix-ui_primitive@1.1.1/node_modules/@radix-ui/primitive/dist/index.js.map +1 -0
  295. package/dist/esm/node_modules/.pnpm/@radix-ui_react-arrow@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.1_x6p6stvosyj5xtena3xfahoytu/node_modules/@radix-ui/react-arrow/dist/index.js +26 -0
  296. package/dist/esm/node_modules/.pnpm/@radix-ui_react-arrow@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.1_x6p6stvosyj5xtena3xfahoytu/node_modules/@radix-ui/react-arrow/dist/index.js.map +1 -0
  297. package/dist/esm/node_modules/.pnpm/@radix-ui_react-collection@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@1_tagbd57u5fsqga6qdjecsll7fm/node_modules/@radix-ui/react-collection/dist/index.js +69 -0
  298. package/dist/esm/node_modules/.pnpm/@radix-ui_react-collection@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@1_tagbd57u5fsqga6qdjecsll7fm/node_modules/@radix-ui/react-collection/dist/index.js.map +1 -0
  299. package/dist/esm/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.1_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.js +40 -0
  300. package/dist/esm/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.1_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.js.map +1 -0
  301. package/dist/esm/node_modules/.pnpm/@radix-ui_react-context@1.1.1_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-context/dist/index.js +80 -0
  302. package/dist/esm/node_modules/.pnpm/@radix-ui_react-context@1.1.1_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-context/dist/index.js.map +1 -0
  303. package/dist/esm/node_modules/.pnpm/@radix-ui_react-dialog@1.1.6_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3._tj6htj5pmg2es74uknz4aewlhy/node_modules/@radix-ui/react-dialog/dist/index.js +320 -0
  304. package/dist/esm/node_modules/.pnpm/@radix-ui_react-dialog@1.1.6_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3._tj6htj5pmg2es74uknz4aewlhy/node_modules/@radix-ui/react-dialog/dist/index.js.map +1 -0
  305. package/dist/esm/node_modules/.pnpm/@radix-ui_react-direction@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-direction/dist/index.js +17 -0
  306. package/dist/esm/node_modules/.pnpm/@radix-ui_react-direction@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-direction/dist/index.js.map +1 -0
  307. package/dist/esm/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.5_@types_react-dom@18.3.5_@types_react@18.3.18__@types__nitdfoqpcbroetgllwgz3is5ai/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +212 -0
  308. package/dist/esm/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.5_@types_react-dom@18.3.5_@types_react@18.3.18__@types__nitdfoqpcbroetgllwgz3is5ai/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +1 -0
  309. package/dist/esm/node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.1_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-focus-guards/dist/index.js +30 -0
  310. package/dist/esm/node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.1_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-focus-guards/dist/index.js.map +1 -0
  311. package/dist/esm/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@_fadkqkpo6fm4ufegukbxon2hs4/node_modules/@radix-ui/react-focus-scope/dist/index.js +208 -0
  312. package/dist/esm/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@_fadkqkpo6fm4ufegukbxon2hs4/node_modules/@radix-ui/react-focus-scope/dist/index.js.map +1 -0
  313. package/dist/esm/node_modules/.pnpm/@radix-ui_react-icons@1.3.2_react@18.3.1/node_modules/@radix-ui/react-icons/dist/react-icons.esm.js +173 -0
  314. package/dist/esm/node_modules/.pnpm/@radix-ui_react-icons@1.3.2_react@18.3.1/node_modules/@radix-ui/react-icons/dist/react-icons.esm.js.map +1 -0
  315. package/dist/esm/node_modules/.pnpm/@radix-ui_react-id@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-id/dist/index.js +16 -0
  316. package/dist/esm/node_modules/.pnpm/@radix-ui_react-id@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-id/dist/index.js.map +1 -0
  317. package/dist/esm/node_modules/.pnpm/@radix-ui_react-label@2.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.1_2cqdrul4wd4nqxmfcrqwokv4ti/node_modules/@radix-ui/react-label/dist/index.js +24 -0
  318. package/dist/esm/node_modules/.pnpm/@radix-ui_react-label@2.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.1_2cqdrul4wd4nqxmfcrqwokv4ti/node_modules/@radix-ui/react-label/dist/index.js.map +1 -0
  319. package/dist/esm/node_modules/.pnpm/@radix-ui_react-popper@1.2.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3._vskr4u3q77jmhehtw5db7awfeq/node_modules/@radix-ui/react-popper/dist/index.js +279 -0
  320. package/dist/esm/node_modules/.pnpm/@radix-ui_react-popper@1.2.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3._vskr4u3q77jmhehtw5db7awfeq/node_modules/@radix-ui/react-popper/dist/index.js.map +1 -0
  321. package/dist/esm/node_modules/.pnpm/@radix-ui_react-portal@1.1.4_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3._ulc3jfxcmrz2rfz7bui53djdtu/node_modules/@radix-ui/react-portal/dist/index.js +18 -0
  322. package/dist/esm/node_modules/.pnpm/@radix-ui_react-portal@1.1.4_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3._ulc3jfxcmrz2rfz7bui53djdtu/node_modules/@radix-ui/react-portal/dist/index.js.map +1 -0
  323. package/dist/esm/node_modules/.pnpm/@radix-ui_react-presence@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18._pqwkltkxenlrsgmgun6icjiigu/node_modules/@radix-ui/react-presence/dist/index.js +131 -0
  324. package/dist/esm/node_modules/.pnpm/@radix-ui_react-presence@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18._pqwkltkxenlrsgmgun6icjiigu/node_modules/@radix-ui/react-presence/dist/index.js.map +1 -0
  325. package/dist/esm/node_modules/.pnpm/@radix-ui_react-primitive@2.0.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18_sejcxqoscaweil2bvgwwavaoha/node_modules/@radix-ui/react-primitive/dist/index.js +42 -0
  326. package/dist/esm/node_modules/.pnpm/@radix-ui_react-primitive@2.0.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18_sejcxqoscaweil2bvgwwavaoha/node_modules/@radix-ui/react-primitive/dist/index.js.map +1 -0
  327. package/dist/esm/node_modules/.pnpm/@radix-ui_react-scroll-area@1.2.3_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@_xx7wjcphuyz2zijkk43rojvdle/node_modules/@radix-ui/react-scroll-area/dist/index.js +721 -0
  328. package/dist/esm/node_modules/.pnpm/@radix-ui_react-scroll-area@1.2.3_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@_xx7wjcphuyz2zijkk43rojvdle/node_modules/@radix-ui/react-scroll-area/dist/index.js.map +1 -0
  329. package/dist/esm/node_modules/.pnpm/@radix-ui_react-select@2.1.6_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3._h3snaisb2dmidicxlzdds2tiqu/node_modules/@radix-ui/react-select/dist/index.js +1130 -0
  330. package/dist/esm/node_modules/.pnpm/@radix-ui_react-select@2.1.6_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3._h3snaisb2dmidicxlzdds2tiqu/node_modules/@radix-ui/react-select/dist/index.js.map +1 -0
  331. package/dist/esm/node_modules/.pnpm/@radix-ui_react-slot@1.1.2_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-slot/dist/index.js +83 -0
  332. package/dist/esm/node_modules/.pnpm/@radix-ui_react-slot@1.1.2_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
  333. package/dist/esm/node_modules/.pnpm/@radix-ui_react-tooltip@1.1.8_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3_zlakc5i4tpx4eat4ixff5zh6tq/node_modules/@radix-ui/react-tooltip/dist/index.js +381 -0
  334. package/dist/esm/node_modules/.pnpm/@radix-ui_react-tooltip@1.1.8_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3_zlakc5i4tpx4eat4ixff5zh6tq/node_modules/@radix-ui/react-tooltip/dist/index.js.map +1 -0
  335. package/dist/esm/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +13 -0
  336. package/dist/esm/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-callback-ref/dist/index.js.map +1 -0
  337. package/dist/esm/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +47 -0
  338. package/dist/esm/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.js.map +1 -0
  339. package/dist/esm/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +19 -0
  340. package/dist/esm/node_modules/.pnpm/@radix-ui_react-use-escape-keydown@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js.map +1 -0
  341. package/dist/esm/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +8 -0
  342. package/dist/esm/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-layout-effect/dist/index.js.map +1 -0
  343. package/dist/esm/node_modules/.pnpm/@radix-ui_react-use-previous@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-previous/dist/index.js +16 -0
  344. package/dist/esm/node_modules/.pnpm/@radix-ui_react-use-previous@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-previous/dist/index.js.map +1 -0
  345. package/dist/esm/node_modules/.pnpm/@radix-ui_react-use-size@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-size/dist/index.js +41 -0
  346. package/dist/esm/node_modules/.pnpm/@radix-ui_react-use-size@1.1.0_@types_react@18.3.18_react@18.3.1/node_modules/@radix-ui/react-use-size/dist/index.js.map +1 -0
  347. package/dist/esm/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_re_omyrydx3gc2oidaiqb4gsovieq/node_modules/@radix-ui/react-visually-hidden/dist/index.js +36 -0
  348. package/dist/esm/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_re_omyrydx3gc2oidaiqb4gsovieq/node_modules/@radix-ui/react-visually-hidden/dist/index.js.map +1 -0
  349. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/_internal/base-button.js +15 -0
  350. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/_internal/base-button.js.map +1 -0
  351. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/_internal/base-button.props.js +9 -0
  352. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/_internal/base-button.props.js.map +1 -0
  353. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/box.js +12 -0
  354. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/box.js.map +1 -0
  355. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/box.props.js +6 -0
  356. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/box.props.js.map +1 -0
  357. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/button.js +8 -0
  358. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/button.js.map +1 -0
  359. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/container.js +15 -0
  360. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/container.js.map +1 -0
  361. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/container.props.js +6 -0
  362. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/container.props.js.map +1 -0
  363. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/flex.js +12 -0
  364. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/flex.js.map +1 -0
  365. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/flex.props.js +7 -0
  366. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/flex.props.js.map +1 -0
  367. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/heading.js +11 -0
  368. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/heading.js.map +1 -0
  369. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/heading.props.js +13 -0
  370. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/heading.props.js.map +1 -0
  371. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/scroll-area.js +14 -0
  372. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/scroll-area.js.map +1 -0
  373. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/scroll-area.props.js +7 -0
  374. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/scroll-area.props.js.map +1 -0
  375. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/slot.js +6 -0
  376. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/slot.js.map +1 -0
  377. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/spinner.js +11 -0
  378. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/spinner.js.map +1 -0
  379. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/spinner.props.js +4 -0
  380. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/spinner.props.js.map +1 -0
  381. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/table.js +12 -0
  382. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/table.js.map +1 -0
  383. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/table.props.js +7 -0
  384. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/table.props.js.map +1 -0
  385. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/text-field.js +14 -0
  386. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/text-field.js.map +1 -0
  387. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/text-field.props.js +9 -0
  388. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/text-field.props.js.map +1 -0
  389. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/text.js +11 -0
  390. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/text.js.map +1 -0
  391. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/text.props.js +13 -0
  392. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/text.props.js.map +1 -0
  393. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/theme.js +12 -0
  394. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/theme.js.map +1 -0
  395. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/theme.props.js +8 -0
  396. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/theme.props.js.map +1 -0
  397. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/visually-hidden.js +6 -0
  398. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/components/visually-hidden.js.map +1 -0
  399. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/helpers/extract-margin-props.js +4 -0
  400. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/helpers/extract-margin-props.js.map +1 -0
  401. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/helpers/extract-props.js +9 -0
  402. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/helpers/extract-props.js.map +1 -0
  403. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/helpers/get-margin-styles.js +9 -0
  404. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/helpers/get-margin-styles.js.map +1 -0
  405. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/helpers/get-matching-gray-color.js +4 -0
  406. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/helpers/get-matching-gray-color.js.map +1 -0
  407. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/helpers/get-responsive-styles.js +8 -0
  408. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/helpers/get-responsive-styles.js.map +1 -0
  409. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/helpers/get-subtree.js +6 -0
  410. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/helpers/get-subtree.js.map +1 -0
  411. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/helpers/has-own-property.js +4 -0
  412. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/helpers/has-own-property.js.map +1 -0
  413. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/helpers/is-responsive-object.js +6 -0
  414. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/helpers/is-responsive-object.js.map +1 -0
  415. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/helpers/map-prop-values.js +4 -0
  416. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/helpers/map-prop-values.js.map +1 -0
  417. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/helpers/merge-styles.js +4 -0
  418. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/helpers/merge-styles.js.map +1 -0
  419. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/as-child.prop.js +4 -0
  420. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/as-child.prop.js.map +1 -0
  421. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/color.prop.js +4 -0
  422. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/color.prop.js.map +1 -0
  423. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/gap.props.js +4 -0
  424. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/gap.props.js.map +1 -0
  425. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/height.props.js +4 -0
  426. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/height.props.js.map +1 -0
  427. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/high-contrast.prop.js +4 -0
  428. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/high-contrast.prop.js.map +1 -0
  429. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/layout.props.js +8 -0
  430. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/layout.props.js.map +1 -0
  431. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/leading-trim.prop.js +4 -0
  432. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/leading-trim.prop.js.map +1 -0
  433. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/margin.props.js +4 -0
  434. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/margin.props.js.map +1 -0
  435. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/padding.props.js +4 -0
  436. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/padding.props.js.map +1 -0
  437. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/prop-def.js +4 -0
  438. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/prop-def.js.map +1 -0
  439. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/radius.prop.js +4 -0
  440. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/radius.prop.js.map +1 -0
  441. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/text-align.prop.js +4 -0
  442. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/text-align.prop.js.map +1 -0
  443. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/text-wrap.prop.js +4 -0
  444. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/text-wrap.prop.js.map +1 -0
  445. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/truncate.prop.js +4 -0
  446. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/truncate.prop.js.map +1 -0
  447. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/weight.prop.js +4 -0
  448. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/weight.prop.js.map +1 -0
  449. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/width.props.js +4 -0
  450. package/dist/esm/node_modules/.pnpm/@radix-ui_themes@3.2.1_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_rea_l62yjk6twgw4yi4chvzddg3hmm/node_modules/@radix-ui/themes/dist/esm/props/width.props.js.map +1 -0
  451. package/dist/esm/node_modules/.pnpm/@rollup_plugin-typescript@11.1.6_rollup@3.29.5_tslib@2.8.1_typescript@5.6.3/node_modules/tslib/tslib.es6.js +57 -0
  452. package/dist/esm/node_modules/.pnpm/@rollup_plugin-typescript@11.1.6_rollup@3.29.5_tslib@2.8.1_typescript@5.6.3/node_modules/tslib/tslib.es6.js.map +1 -0
  453. package/dist/esm/node_modules/.pnpm/@tanstack_react-table@8.20.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-table/build/lib/index.js +75 -0
  454. package/dist/esm/node_modules/.pnpm/@tanstack_react-table@8.20.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-table/build/lib/index.js.map +1 -0
  455. package/dist/esm/node_modules/.pnpm/@tanstack_table-core@8.20.5/node_modules/@tanstack/table-core/build/lib/index.js +2970 -0
  456. package/dist/esm/node_modules/.pnpm/@tanstack_table-core@8.20.5/node_modules/@tanstack/table-core/build/lib/index.js.map +1 -0
  457. package/dist/esm/node_modules/.pnpm/aria-hidden@1.2.4/node_modules/aria-hidden/dist/es2015/index.js +137 -0
  458. package/dist/esm/node_modules/.pnpm/aria-hidden@1.2.4/node_modules/aria-hidden/dist/es2015/index.js.map +1 -0
  459. package/dist/esm/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js +83 -0
  460. package/dist/esm/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js.map +1 -0
  461. package/dist/esm/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js +13 -0
  462. package/dist/esm/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js.map +1 -0
  463. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/lodash.js +17207 -0
  464. package/dist/esm/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/lodash.js.map +1 -0
  465. package/dist/esm/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll-bar/dist/es2015/component.js +57 -0
  466. package/dist/esm/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll-bar/dist/es2015/component.js.map +1 -0
  467. package/dist/esm/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +11 -0
  468. package/dist/esm/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll-bar/dist/es2015/constants.js.map +1 -0
  469. package/dist/esm/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +32 -0
  470. package/dist/esm/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll-bar/dist/es2015/utils.js.map +1 -0
  471. package/dist/esm/node_modules/.pnpm/react-remove-scroll@2.6.3_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/Combination.js +11 -0
  472. package/dist/esm/node_modules/.pnpm/react-remove-scroll@2.6.3_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/Combination.js.map +1 -0
  473. package/dist/esm/node_modules/.pnpm/react-remove-scroll@2.6.3_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +161 -0
  474. package/dist/esm/node_modules/.pnpm/react-remove-scroll@2.6.3_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/SideEffect.js.map +1 -0
  475. package/dist/esm/node_modules/.pnpm/react-remove-scroll@2.6.3_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/UI.js +39 -0
  476. package/dist/esm/node_modules/.pnpm/react-remove-scroll@2.6.3_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/UI.js.map +1 -0
  477. package/dist/esm/node_modules/.pnpm/react-remove-scroll@2.6.3_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +22 -0
  478. package/dist/esm/node_modules/.pnpm/react-remove-scroll@2.6.3_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js.map +1 -0
  479. package/dist/esm/node_modules/.pnpm/react-remove-scroll@2.6.3_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +110 -0
  480. package/dist/esm/node_modules/.pnpm/react-remove-scroll@2.6.3_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/handleScroll.js.map +1 -0
  481. package/dist/esm/node_modules/.pnpm/react-remove-scroll@2.6.3_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/medium.js +6 -0
  482. package/dist/esm/node_modules/.pnpm/react-remove-scroll@2.6.3_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/medium.js.map +1 -0
  483. package/dist/esm/node_modules/.pnpm/react-remove-scroll@2.6.3_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/sidecar.js +8 -0
  484. package/dist/esm/node_modules/.pnpm/react-remove-scroll@2.6.3_@types_react@18.3.18_react@18.3.1/node_modules/react-remove-scroll/dist/es2015/sidecar.js.map +1 -0
  485. package/dist/esm/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@18.3.18_react@18.3.1/node_modules/react-style-singleton/dist/es2015/component.js +20 -0
  486. package/dist/esm/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@18.3.18_react@18.3.1/node_modules/react-style-singleton/dist/es2015/component.js.map +1 -0
  487. package/dist/esm/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@18.3.18_react@18.3.1/node_modules/react-style-singleton/dist/es2015/hook.js +26 -0
  488. package/dist/esm/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@18.3.18_react@18.3.1/node_modules/react-style-singleton/dist/es2015/hook.js.map +1 -0
  489. package/dist/esm/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@18.3.18_react@18.3.1/node_modules/react-style-singleton/dist/es2015/singleton.js +52 -0
  490. package/dist/esm/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@18.3.18_react@18.3.1/node_modules/react-style-singleton/dist/es2015/singleton.js.map +1 -0
  491. package/dist/esm/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@18.3.18_react@18.3.1/node_modules/use-callback-ref/dist/es2015/assignRef.js +25 -0
  492. package/dist/esm/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@18.3.18_react@18.3.1/node_modules/use-callback-ref/dist/es2015/assignRef.js.map +1 -0
  493. package/dist/esm/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@18.3.18_react@18.3.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +49 -0
  494. package/dist/esm/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@18.3.18_react@18.3.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.js.map +1 -0
  495. package/dist/esm/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@18.3.18_react@18.3.1/node_modules/use-callback-ref/dist/es2015/useRef.js +43 -0
  496. package/dist/esm/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@18.3.18_react@18.3.1/node_modules/use-callback-ref/dist/es2015/useRef.js.map +1 -0
  497. package/dist/esm/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@18.3.18_react@18.3.1/node_modules/use-sidecar/dist/es2015/exports.js +22 -0
  498. package/dist/esm/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@18.3.18_react@18.3.1/node_modules/use-sidecar/dist/es2015/exports.js.map +1 -0
  499. package/dist/esm/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@18.3.18_react@18.3.1/node_modules/use-sidecar/dist/es2015/medium.js +78 -0
  500. package/dist/esm/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@18.3.18_react@18.3.1/node_modules/use-sidecar/dist/es2015/medium.js.map +1 -0
  501. package/dist/esm/node_modules/.pnpm/vaul@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_react-dom@18.3._7iqkcrcg5qjc3n2ixm6rnrnx3e/node_modules/vaul/dist/index.js +1655 -0
  502. package/dist/esm/node_modules/.pnpm/vaul@1.1.2_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3.18_react-dom@18.3._7iqkcrcg5qjc3n2ixm6rnrnx3e/node_modules/vaul/dist/index.js.map +1 -0
  503. package/dist/esm/store/uiControlStore.js +9 -0
  504. package/dist/esm/store/uiControlStore.js.map +1 -0
  505. package/dist/esm/ui/DevToolContent/HandlerDebugger/KeyValueInputList.js +69 -0
  506. package/dist/esm/ui/DevToolContent/HandlerDebugger/KeyValueInputList.js.map +1 -0
  507. package/dist/esm/ui/DevToolContent/HandlerDebugger/PathParamSetter.js +24 -0
  508. package/dist/esm/ui/DevToolContent/HandlerDebugger/PathParamSetter.js.map +1 -0
  509. package/dist/esm/ui/DevToolContent/HandlerDebugger/RequestPreview.js +69 -0
  510. package/dist/esm/ui/DevToolContent/HandlerDebugger/RequestPreview.js.map +1 -0
  511. package/dist/esm/ui/DevToolContent/HandlerDebugger/index.js +55 -0
  512. package/dist/esm/ui/DevToolContent/HandlerDebugger/index.js.map +1 -0
  513. package/dist/esm/ui/DevToolContent/HandlerTable/BehaviorSelect.js +38 -0
  514. package/dist/esm/ui/DevToolContent/HandlerTable/BehaviorSelect.js.map +1 -0
  515. package/dist/esm/ui/DevToolContent/HandlerTable/index.js +25 -0
  516. package/dist/esm/ui/DevToolContent/HandlerTable/index.js.map +1 -0
  517. package/dist/esm/ui/DevToolContent/ToolButtonGroup.js +16 -0
  518. package/dist/esm/ui/DevToolContent/ToolButtonGroup.js.map +1 -0
  519. package/dist/esm/ui/DevToolContent/hook/useFlattenHandlersTable.js +73 -0
  520. package/dist/esm/ui/DevToolContent/hook/useFlattenHandlersTable.js.map +1 -0
  521. package/dist/esm/ui/MSWDevTool.js +57 -0
  522. package/dist/esm/ui/MSWDevTool.js.map +1 -0
  523. package/dist/esm/ui/ThemeProvider.js +17 -0
  524. package/dist/esm/ui/ThemeProvider.js.map +1 -0
  525. package/dist/esm/ui/Trigger.js +21 -0
  526. package/dist/esm/ui/Trigger.js.map +1 -0
  527. package/dist/esm/utils/url.js +39 -0
  528. package/dist/esm/utils/url.js.map +1 -0
  529. package/package.json +1 -1
@@ -0,0 +1,1681 @@
1
+ 'use strict';
2
+
3
+ var index = require('../../../../@radix-ui_react-dialog@1.1.6_@types_react-dom@18.3.5_@types_react@18.3.18__@types_react@18.3._tj6htj5pmg2es74uknz4aewlhy/node_modules/@radix-ui/react-dialog/dist/index.js');
4
+ var React = require('react');
5
+
6
+ function _interopNamespaceDefault(e) {
7
+ var n = Object.create(null);
8
+ if (e) {
9
+ Object.keys(e).forEach(function (k) {
10
+ if (k !== 'default') {
11
+ var d = Object.getOwnPropertyDescriptor(e, k);
12
+ Object.defineProperty(n, k, d.get ? d : {
13
+ enumerable: true,
14
+ get: function () { return e[k]; }
15
+ });
16
+ }
17
+ });
18
+ }
19
+ n.default = e;
20
+ return Object.freeze(n);
21
+ }
22
+
23
+ var React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
24
+
25
+ function __insertCSS(code) {
26
+ if (!code || typeof document == 'undefined') return
27
+ let head = document.head || document.getElementsByTagName('head')[0];
28
+ let style = document.createElement('style');
29
+ style.type = 'text/css';
30
+ head.appendChild(style)
31
+ ;style.styleSheet ? (style.styleSheet.cssText = code) : style.appendChild(document.createTextNode(code));
32
+ }
33
+
34
+ const DrawerContext = React.createContext({
35
+ drawerRef: {
36
+ current: null
37
+ },
38
+ overlayRef: {
39
+ current: null
40
+ },
41
+ onPress: ()=>{},
42
+ onRelease: ()=>{},
43
+ onDrag: ()=>{},
44
+ onNestedDrag: ()=>{},
45
+ onNestedOpenChange: ()=>{},
46
+ onNestedRelease: ()=>{},
47
+ openProp: undefined,
48
+ dismissible: false,
49
+ isOpen: false,
50
+ isDragging: false,
51
+ keyboardIsOpen: {
52
+ current: false
53
+ },
54
+ snapPointsOffset: null,
55
+ snapPoints: null,
56
+ handleOnly: false,
57
+ modal: false,
58
+ shouldFade: false,
59
+ activeSnapPoint: null,
60
+ onOpenChange: ()=>{},
61
+ setActiveSnapPoint: ()=>{},
62
+ closeDrawer: ()=>{},
63
+ direction: 'bottom',
64
+ shouldAnimate: {
65
+ current: true
66
+ },
67
+ shouldScaleBackground: false,
68
+ setBackgroundColorOnScale: true,
69
+ noBodyStyles: false,
70
+ container: null,
71
+ autoFocus: false
72
+ });
73
+ const useDrawerContext = ()=>{
74
+ const context = React.useContext(DrawerContext);
75
+ if (!context) {
76
+ throw new Error('useDrawerContext must be used within a Drawer.Root');
77
+ }
78
+ return context;
79
+ };
80
+
81
+ __insertCSS("[data-vaul-drawer]{touch-action:none;will-change:transform;transition:transform .5s cubic-bezier(.32, .72, 0, 1);animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=open]{animation-name:slideFromBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=closed]{animation-name:slideToBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=open]{animation-name:slideFromTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=closed]{animation-name:slideToTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=open]{animation-name:slideFromLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=closed]{animation-name:slideToLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=open]{animation-name:slideFromRight}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=closed]{animation-name:slideToRight}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--initial-transform,100%),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--initial-transform,100%),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-overlay][data-vaul-snap-points=false]{animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-overlay][data-vaul-snap-points=false][data-state=open]{animation-name:fadeIn}[data-vaul-overlay][data-state=closed]{animation-name:fadeOut}[data-vaul-animate=false]{animation:none!important}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:0;transition:opacity .5s cubic-bezier(.32, .72, 0, 1)}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:1}[data-vaul-drawer]:not([data-vaul-custom-container=true])::after{content:'';position:absolute;background:inherit;background-color:inherit}[data-vaul-drawer][data-vaul-drawer-direction=top]::after{top:initial;bottom:100%;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=bottom]::after{top:100%;bottom:initial;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=left]::after{left:initial;right:100%;top:0;bottom:0;width:200%}[data-vaul-drawer][data-vaul-drawer-direction=right]::after{left:100%;right:initial;top:0;bottom:0;width:200%}[data-vaul-overlay][data-vaul-snap-points=true]:not([data-vaul-snap-points-overlay=true]):not(\n[data-state=closed]\n){opacity:0}[data-vaul-overlay][data-vaul-snap-points-overlay=true]{opacity:1}[data-vaul-handle]{display:block;position:relative;opacity:.7;background:#e2e2e4;margin-left:auto;margin-right:auto;height:5px;width:32px;border-radius:1rem;touch-action:pan-y}[data-vaul-handle]:active,[data-vaul-handle]:hover{opacity:1}[data-vaul-handle-hitarea]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max(100%,2.75rem);height:max(100%,2.75rem);touch-action:inherit}@media (hover:hover) and (pointer:fine){[data-vaul-drawer]{user-select:none}}@media (pointer:fine){[data-vaul-handle-hitarea]:{width:100%;height:100%}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeOut{to{opacity:0}}@keyframes slideFromBottom{from{transform:translate3d(0,var(--initial-transform,100%),0)}to{transform:translate3d(0,0,0)}}@keyframes slideToBottom{to{transform:translate3d(0,var(--initial-transform,100%),0)}}@keyframes slideFromTop{from{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}to{transform:translate3d(0,0,0)}}@keyframes slideToTop{to{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}}@keyframes slideFromLeft{from{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToLeft{to{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}}@keyframes slideFromRight{from{transform:translate3d(var(--initial-transform,100%),0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToRight{to{transform:translate3d(var(--initial-transform,100%),0,0)}}");
82
+
83
+ function isMobileFirefox() {
84
+ const userAgent = navigator.userAgent;
85
+ return typeof window !== 'undefined' && (/Firefox/.test(userAgent) && /Mobile/.test(userAgent) || // Android Firefox
86
+ /FxiOS/.test(userAgent) // iOS Firefox
87
+ );
88
+ }
89
+ function isMac() {
90
+ return testPlatform(/^Mac/);
91
+ }
92
+ function isIPhone() {
93
+ return testPlatform(/^iPhone/);
94
+ }
95
+ function isSafari() {
96
+ return /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
97
+ }
98
+ function isIPad() {
99
+ return testPlatform(/^iPad/) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.
100
+ isMac() && navigator.maxTouchPoints > 1;
101
+ }
102
+ function isIOS() {
103
+ return isIPhone() || isIPad();
104
+ }
105
+ function testPlatform(re) {
106
+ return typeof window !== 'undefined' && window.navigator != null ? re.test(window.navigator.platform) : undefined;
107
+ }
108
+
109
+ // This code comes from https://github.com/adobe/react-spectrum/blob/main/packages/%40react-aria/overlays/src/usePreventScroll.ts
110
+ const KEYBOARD_BUFFER = 24;
111
+ const useIsomorphicLayoutEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;
112
+ function chain$1(...callbacks) {
113
+ return (...args)=>{
114
+ for (let callback of callbacks){
115
+ if (typeof callback === 'function') {
116
+ callback(...args);
117
+ }
118
+ }
119
+ };
120
+ }
121
+ // @ts-ignore
122
+ const visualViewport = typeof document !== 'undefined' && window.visualViewport;
123
+ function isScrollable(node) {
124
+ let style = window.getComputedStyle(node);
125
+ return /(auto|scroll)/.test(style.overflow + style.overflowX + style.overflowY);
126
+ }
127
+ function getScrollParent(node) {
128
+ if (isScrollable(node)) {
129
+ node = node.parentElement;
130
+ }
131
+ while(node && !isScrollable(node)){
132
+ node = node.parentElement;
133
+ }
134
+ return node || document.scrollingElement || document.documentElement;
135
+ }
136
+ // HTML input types that do not cause the software keyboard to appear.
137
+ const nonTextInputTypes = new Set([
138
+ 'checkbox',
139
+ 'radio',
140
+ 'range',
141
+ 'color',
142
+ 'file',
143
+ 'image',
144
+ 'button',
145
+ 'submit',
146
+ 'reset'
147
+ ]);
148
+ // The number of active usePreventScroll calls. Used to determine whether to revert back to the original page style/scroll position
149
+ let preventScrollCount = 0;
150
+ let restore;
151
+ /**
152
+ * Prevents scrolling on the document body on mount, and
153
+ * restores it on unmount. Also ensures that content does not
154
+ * shift due to the scrollbars disappearing.
155
+ */ function usePreventScroll(options = {}) {
156
+ let { isDisabled } = options;
157
+ useIsomorphicLayoutEffect(()=>{
158
+ if (isDisabled) {
159
+ return;
160
+ }
161
+ preventScrollCount++;
162
+ if (preventScrollCount === 1) {
163
+ if (isIOS()) {
164
+ restore = preventScrollMobileSafari();
165
+ }
166
+ }
167
+ return ()=>{
168
+ preventScrollCount--;
169
+ if (preventScrollCount === 0) {
170
+ restore == null ? void 0 : restore();
171
+ }
172
+ };
173
+ }, [
174
+ isDisabled
175
+ ]);
176
+ }
177
+ // Mobile Safari is a whole different beast. Even with overflow: hidden,
178
+ // it still scrolls the page in many situations:
179
+ //
180
+ // 1. When the bottom toolbar and address bar are collapsed, page scrolling is always allowed.
181
+ // 2. When the keyboard is visible, the viewport does not resize. Instead, the keyboard covers part of
182
+ // it, so it becomes scrollable.
183
+ // 3. When tapping on an input, the page always scrolls so that the input is centered in the visual viewport.
184
+ // This may cause even fixed position elements to scroll off the screen.
185
+ // 4. When using the next/previous buttons in the keyboard to navigate between inputs, the whole page always
186
+ // scrolls, even if the input is inside a nested scrollable element that could be scrolled instead.
187
+ //
188
+ // In order to work around these cases, and prevent scrolling without jankiness, we do a few things:
189
+ //
190
+ // 1. Prevent default on `touchmove` events that are not in a scrollable element. This prevents touch scrolling
191
+ // on the window.
192
+ // 2. Prevent default on `touchmove` events inside a scrollable element when the scroll position is at the
193
+ // top or bottom. This avoids the whole page scrolling instead, but does prevent overscrolling.
194
+ // 3. Prevent default on `touchend` events on input elements and handle focusing the element ourselves.
195
+ // 4. When focusing an input, apply a transform to trick Safari into thinking the input is at the top
196
+ // of the page, which prevents it from scrolling the page. After the input is focused, scroll the element
197
+ // into view ourselves, without scrolling the whole page.
198
+ // 5. Offset the body by the scroll position using a negative margin and scroll to the top. This should appear the
199
+ // same visually, but makes the actual scroll position always zero. This is required to make all of the
200
+ // above work or Safari will still try to scroll the page when focusing an input.
201
+ // 6. As a last resort, handle window scroll events, and scroll back to the top. This can happen when attempting
202
+ // to navigate to an input with the next/previous buttons that's outside a modal.
203
+ function preventScrollMobileSafari() {
204
+ let scrollable;
205
+ let lastY = 0;
206
+ let onTouchStart = (e)=>{
207
+ // Store the nearest scrollable parent element from the element that the user touched.
208
+ scrollable = getScrollParent(e.target);
209
+ if (scrollable === document.documentElement && scrollable === document.body) {
210
+ return;
211
+ }
212
+ lastY = e.changedTouches[0].pageY;
213
+ };
214
+ let onTouchMove = (e)=>{
215
+ // Prevent scrolling the window.
216
+ if (!scrollable || scrollable === document.documentElement || scrollable === document.body) {
217
+ e.preventDefault();
218
+ return;
219
+ }
220
+ // Prevent scrolling up when at the top and scrolling down when at the bottom
221
+ // of a nested scrollable area, otherwise mobile Safari will start scrolling
222
+ // the window instead. Unfortunately, this disables bounce scrolling when at
223
+ // the top but it's the best we can do.
224
+ let y = e.changedTouches[0].pageY;
225
+ let scrollTop = scrollable.scrollTop;
226
+ let bottom = scrollable.scrollHeight - scrollable.clientHeight;
227
+ if (bottom === 0) {
228
+ return;
229
+ }
230
+ if (scrollTop <= 0 && y > lastY || scrollTop >= bottom && y < lastY) {
231
+ e.preventDefault();
232
+ }
233
+ lastY = y;
234
+ };
235
+ let onTouchEnd = (e)=>{
236
+ let target = e.target;
237
+ // Apply this change if we're not already focused on the target element
238
+ if (isInput(target) && target !== document.activeElement) {
239
+ e.preventDefault();
240
+ // Apply a transform to trick Safari into thinking the input is at the top of the page
241
+ // so it doesn't try to scroll it into view. When tapping on an input, this needs to
242
+ // be done before the "focus" event, so we have to focus the element ourselves.
243
+ target.style.transform = 'translateY(-2000px)';
244
+ target.focus();
245
+ requestAnimationFrame(()=>{
246
+ target.style.transform = '';
247
+ });
248
+ }
249
+ };
250
+ let onFocus = (e)=>{
251
+ let target = e.target;
252
+ if (isInput(target)) {
253
+ // Transform also needs to be applied in the focus event in cases where focus moves
254
+ // other than tapping on an input directly, e.g. the next/previous buttons in the
255
+ // software keyboard. In these cases, it seems applying the transform in the focus event
256
+ // is good enough, whereas when tapping an input, it must be done before the focus event. 🤷‍♂️
257
+ target.style.transform = 'translateY(-2000px)';
258
+ requestAnimationFrame(()=>{
259
+ target.style.transform = '';
260
+ // This will have prevented the browser from scrolling the focused element into view,
261
+ // so we need to do this ourselves in a way that doesn't cause the whole page to scroll.
262
+ if (visualViewport) {
263
+ if (visualViewport.height < window.innerHeight) {
264
+ // If the keyboard is already visible, do this after one additional frame
265
+ // to wait for the transform to be removed.
266
+ requestAnimationFrame(()=>{
267
+ scrollIntoView(target);
268
+ });
269
+ } else {
270
+ // Otherwise, wait for the visual viewport to resize before scrolling so we can
271
+ // measure the correct position to scroll to.
272
+ visualViewport.addEventListener('resize', ()=>scrollIntoView(target), {
273
+ once: true
274
+ });
275
+ }
276
+ }
277
+ });
278
+ }
279
+ };
280
+ let onWindowScroll = ()=>{
281
+ // Last resort. If the window scrolled, scroll it back to the top.
282
+ // It should always be at the top because the body will have a negative margin (see below).
283
+ window.scrollTo(0, 0);
284
+ };
285
+ // Record the original scroll position so we can restore it.
286
+ // Then apply a negative margin to the body to offset it by the scroll position. This will
287
+ // enable us to scroll the window to the top, which is required for the rest of this to work.
288
+ let scrollX = window.pageXOffset;
289
+ let scrollY = window.pageYOffset;
290
+ let restoreStyles = chain$1(setStyle(document.documentElement, 'paddingRight', `${window.innerWidth - document.documentElement.clientWidth}px`));
291
+ // Scroll to the top. The negative margin on the body will make this appear the same.
292
+ window.scrollTo(0, 0);
293
+ let removeEvents = chain$1(addEvent(document, 'touchstart', onTouchStart, {
294
+ passive: false,
295
+ capture: true
296
+ }), addEvent(document, 'touchmove', onTouchMove, {
297
+ passive: false,
298
+ capture: true
299
+ }), addEvent(document, 'touchend', onTouchEnd, {
300
+ passive: false,
301
+ capture: true
302
+ }), addEvent(document, 'focus', onFocus, true), addEvent(window, 'scroll', onWindowScroll));
303
+ return ()=>{
304
+ // Restore styles and scroll the page back to where it was.
305
+ restoreStyles();
306
+ removeEvents();
307
+ window.scrollTo(scrollX, scrollY);
308
+ };
309
+ }
310
+ // Sets a CSS property on an element, and returns a function to revert it to the previous value.
311
+ function setStyle(element, style, value) {
312
+ // https://github.com/microsoft/TypeScript/issues/17827#issuecomment-391663310
313
+ // @ts-ignore
314
+ let cur = element.style[style];
315
+ // @ts-ignore
316
+ element.style[style] = value;
317
+ return ()=>{
318
+ // @ts-ignore
319
+ element.style[style] = cur;
320
+ };
321
+ }
322
+ // Adds an event listener to an element, and returns a function to remove it.
323
+ function addEvent(target, event, handler, options) {
324
+ // @ts-ignore
325
+ target.addEventListener(event, handler, options);
326
+ return ()=>{
327
+ // @ts-ignore
328
+ target.removeEventListener(event, handler, options);
329
+ };
330
+ }
331
+ function scrollIntoView(target) {
332
+ let root = document.scrollingElement || document.documentElement;
333
+ while(target && target !== root){
334
+ // Find the parent scrollable element and adjust the scroll position if the target is not already in view.
335
+ let scrollable = getScrollParent(target);
336
+ if (scrollable !== document.documentElement && scrollable !== document.body && scrollable !== target) {
337
+ let scrollableTop = scrollable.getBoundingClientRect().top;
338
+ let targetTop = target.getBoundingClientRect().top;
339
+ let targetBottom = target.getBoundingClientRect().bottom;
340
+ // Buffer is needed for some edge cases
341
+ const keyboardHeight = scrollable.getBoundingClientRect().bottom + KEYBOARD_BUFFER;
342
+ if (targetBottom > keyboardHeight) {
343
+ scrollable.scrollTop += targetTop - scrollableTop;
344
+ }
345
+ }
346
+ // @ts-ignore
347
+ target = scrollable.parentElement;
348
+ }
349
+ }
350
+ function isInput(target) {
351
+ return target instanceof HTMLInputElement && !nonTextInputTypes.has(target.type) || target instanceof HTMLTextAreaElement || target instanceof HTMLElement && target.isContentEditable;
352
+ }
353
+
354
+ // This code comes from https://github.com/radix-ui/primitives/tree/main/packages/react/compose-refs
355
+ /**
356
+ * Set a given ref to a given value
357
+ * This utility takes care of different types of refs: callback refs and RefObject(s)
358
+ */ function setRef(ref, value) {
359
+ if (typeof ref === 'function') {
360
+ ref(value);
361
+ } else if (ref !== null && ref !== undefined) {
362
+ ref.current = value;
363
+ }
364
+ }
365
+ /**
366
+ * A utility to compose multiple refs together
367
+ * Accepts callback refs and RefObject(s)
368
+ */ function composeRefs(...refs) {
369
+ return (node)=>refs.forEach((ref)=>setRef(ref, node));
370
+ }
371
+ /**
372
+ * A custom hook that composes multiple refs
373
+ * Accepts callback refs and RefObject(s)
374
+ */ function useComposedRefs(...refs) {
375
+ // eslint-disable-next-line react-hooks/exhaustive-deps
376
+ return React__namespace.useCallback(composeRefs(...refs), refs);
377
+ }
378
+
379
+ const cache = new WeakMap();
380
+ function set(el, styles, ignoreCache = false) {
381
+ if (!el || !(el instanceof HTMLElement)) return;
382
+ let originalStyles = {};
383
+ Object.entries(styles).forEach(([key, value])=>{
384
+ if (key.startsWith('--')) {
385
+ el.style.setProperty(key, value);
386
+ return;
387
+ }
388
+ originalStyles[key] = el.style[key];
389
+ el.style[key] = value;
390
+ });
391
+ if (ignoreCache) return;
392
+ cache.set(el, originalStyles);
393
+ }
394
+ function reset(el, prop) {
395
+ if (!el || !(el instanceof HTMLElement)) return;
396
+ let originalStyles = cache.get(el);
397
+ if (!originalStyles) {
398
+ return;
399
+ }
400
+ {
401
+ el.style[prop] = originalStyles[prop];
402
+ }
403
+ }
404
+ const isVertical = (direction)=>{
405
+ switch(direction){
406
+ case 'top':
407
+ case 'bottom':
408
+ return true;
409
+ case 'left':
410
+ case 'right':
411
+ return false;
412
+ default:
413
+ return direction;
414
+ }
415
+ };
416
+ function getTranslate(element, direction) {
417
+ if (!element) {
418
+ return null;
419
+ }
420
+ const style = window.getComputedStyle(element);
421
+ const transform = // @ts-ignore
422
+ style.transform || style.webkitTransform || style.mozTransform;
423
+ let mat = transform.match(/^matrix3d\((.+)\)$/);
424
+ if (mat) {
425
+ // https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/matrix3d
426
+ return parseFloat(mat[1].split(', ')[isVertical(direction) ? 13 : 12]);
427
+ }
428
+ // https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/matrix
429
+ mat = transform.match(/^matrix\((.+)\)$/);
430
+ return mat ? parseFloat(mat[1].split(', ')[isVertical(direction) ? 5 : 4]) : null;
431
+ }
432
+ function dampenValue(v) {
433
+ return 8 * (Math.log(v + 1) - 2);
434
+ }
435
+ function assignStyle(element, style) {
436
+ if (!element) return ()=>{};
437
+ const prevStyle = element.style.cssText;
438
+ Object.assign(element.style, style);
439
+ return ()=>{
440
+ element.style.cssText = prevStyle;
441
+ };
442
+ }
443
+ /**
444
+ * Receives functions as arguments and returns a new function that calls all.
445
+ */ function chain(...fns) {
446
+ return (...args)=>{
447
+ for (const fn of fns){
448
+ if (typeof fn === 'function') {
449
+ // @ts-ignore
450
+ fn(...args);
451
+ }
452
+ }
453
+ };
454
+ }
455
+
456
+ const TRANSITIONS = {
457
+ DURATION: 0.5,
458
+ EASE: [
459
+ 0.32,
460
+ 0.72,
461
+ 0,
462
+ 1
463
+ ]
464
+ };
465
+ const VELOCITY_THRESHOLD = 0.4;
466
+ const CLOSE_THRESHOLD = 0.25;
467
+ const SCROLL_LOCK_TIMEOUT = 100;
468
+ const BORDER_RADIUS = 8;
469
+ const NESTED_DISPLACEMENT = 16;
470
+ const WINDOW_TOP_OFFSET = 26;
471
+ const DRAG_CLASS = 'vaul-dragging';
472
+
473
+ // This code comes from https://github.com/radix-ui/primitives/blob/main/packages/react/use-controllable-state/src/useControllableState.tsx
474
+ function useCallbackRef(callback) {
475
+ const callbackRef = React.useRef(callback);
476
+ React.useEffect(()=>{
477
+ callbackRef.current = callback;
478
+ });
479
+ // https://github.com/facebook/react/issues/19240
480
+ return React.useMemo(()=>(...args)=>callbackRef.current == null ? void 0 : callbackRef.current.call(callbackRef, ...args), []);
481
+ }
482
+ function useUncontrolledState({ defaultProp, onChange }) {
483
+ const uncontrolledState = React.useState(defaultProp);
484
+ const [value] = uncontrolledState;
485
+ const prevValueRef = React.useRef(value);
486
+ const handleChange = useCallbackRef(onChange);
487
+ React.useEffect(()=>{
488
+ if (prevValueRef.current !== value) {
489
+ handleChange(value);
490
+ prevValueRef.current = value;
491
+ }
492
+ }, [
493
+ value,
494
+ prevValueRef,
495
+ handleChange
496
+ ]);
497
+ return uncontrolledState;
498
+ }
499
+ function useControllableState({ prop, defaultProp, onChange = ()=>{} }) {
500
+ const [uncontrolledProp, setUncontrolledProp] = useUncontrolledState({
501
+ defaultProp,
502
+ onChange
503
+ });
504
+ const isControlled = prop !== undefined;
505
+ const value = isControlled ? prop : uncontrolledProp;
506
+ const handleChange = useCallbackRef(onChange);
507
+ const setValue = React.useCallback((nextValue)=>{
508
+ if (isControlled) {
509
+ const setter = nextValue;
510
+ const value = typeof nextValue === 'function' ? setter(prop) : nextValue;
511
+ if (value !== prop) handleChange(value);
512
+ } else {
513
+ setUncontrolledProp(nextValue);
514
+ }
515
+ }, [
516
+ isControlled,
517
+ prop,
518
+ setUncontrolledProp,
519
+ handleChange
520
+ ]);
521
+ return [
522
+ value,
523
+ setValue
524
+ ];
525
+ }
526
+
527
+ function useSnapPoints({ activeSnapPointProp, setActiveSnapPointProp, snapPoints, drawerRef, overlayRef, fadeFromIndex, onSnapPointChange, direction = 'bottom', container, snapToSequentialPoint }) {
528
+ const [activeSnapPoint, setActiveSnapPoint] = useControllableState({
529
+ prop: activeSnapPointProp,
530
+ defaultProp: snapPoints == null ? void 0 : snapPoints[0],
531
+ onChange: setActiveSnapPointProp
532
+ });
533
+ const [windowDimensions, setWindowDimensions] = React.useState(typeof window !== 'undefined' ? {
534
+ innerWidth: window.innerWidth,
535
+ innerHeight: window.innerHeight
536
+ } : undefined);
537
+ React.useEffect(()=>{
538
+ function onResize() {
539
+ setWindowDimensions({
540
+ innerWidth: window.innerWidth,
541
+ innerHeight: window.innerHeight
542
+ });
543
+ }
544
+ window.addEventListener('resize', onResize);
545
+ return ()=>window.removeEventListener('resize', onResize);
546
+ }, []);
547
+ const isLastSnapPoint = React.useMemo(()=>activeSnapPoint === (snapPoints == null ? void 0 : snapPoints[snapPoints.length - 1]) || null, [
548
+ snapPoints,
549
+ activeSnapPoint
550
+ ]);
551
+ const activeSnapPointIndex = React.useMemo(()=>{
552
+ var _snapPoints_findIndex;
553
+ return (_snapPoints_findIndex = snapPoints == null ? void 0 : snapPoints.findIndex((snapPoint)=>snapPoint === activeSnapPoint)) != null ? _snapPoints_findIndex : null;
554
+ }, [
555
+ snapPoints,
556
+ activeSnapPoint
557
+ ]);
558
+ const shouldFade = snapPoints && snapPoints.length > 0 && (fadeFromIndex || fadeFromIndex === 0) && !Number.isNaN(fadeFromIndex) && snapPoints[fadeFromIndex] === activeSnapPoint || !snapPoints;
559
+ const snapPointsOffset = React.useMemo(()=>{
560
+ const containerSize = container ? {
561
+ width: container.getBoundingClientRect().width,
562
+ height: container.getBoundingClientRect().height
563
+ } : typeof window !== 'undefined' ? {
564
+ width: window.innerWidth,
565
+ height: window.innerHeight
566
+ } : {
567
+ width: 0,
568
+ height: 0
569
+ };
570
+ var _snapPoints_map;
571
+ return (_snapPoints_map = snapPoints == null ? void 0 : snapPoints.map((snapPoint)=>{
572
+ const isPx = typeof snapPoint === 'string';
573
+ let snapPointAsNumber = 0;
574
+ if (isPx) {
575
+ snapPointAsNumber = parseInt(snapPoint, 10);
576
+ }
577
+ if (isVertical(direction)) {
578
+ const height = isPx ? snapPointAsNumber : windowDimensions ? snapPoint * containerSize.height : 0;
579
+ if (windowDimensions) {
580
+ return direction === 'bottom' ? containerSize.height - height : -containerSize.height + height;
581
+ }
582
+ return height;
583
+ }
584
+ const width = isPx ? snapPointAsNumber : windowDimensions ? snapPoint * containerSize.width : 0;
585
+ if (windowDimensions) {
586
+ return direction === 'right' ? containerSize.width - width : -containerSize.width + width;
587
+ }
588
+ return width;
589
+ })) != null ? _snapPoints_map : [];
590
+ }, [
591
+ snapPoints,
592
+ windowDimensions,
593
+ container
594
+ ]);
595
+ const activeSnapPointOffset = React.useMemo(()=>activeSnapPointIndex !== null ? snapPointsOffset == null ? void 0 : snapPointsOffset[activeSnapPointIndex] : null, [
596
+ snapPointsOffset,
597
+ activeSnapPointIndex
598
+ ]);
599
+ const snapToPoint = React.useCallback((dimension)=>{
600
+ var _snapPointsOffset_findIndex;
601
+ const newSnapPointIndex = (_snapPointsOffset_findIndex = snapPointsOffset == null ? void 0 : snapPointsOffset.findIndex((snapPointDim)=>snapPointDim === dimension)) != null ? _snapPointsOffset_findIndex : null;
602
+ onSnapPointChange(newSnapPointIndex);
603
+ set(drawerRef.current, {
604
+ transition: `transform ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(',')})`,
605
+ transform: isVertical(direction) ? `translate3d(0, ${dimension}px, 0)` : `translate3d(${dimension}px, 0, 0)`
606
+ });
607
+ if (snapPointsOffset && newSnapPointIndex !== snapPointsOffset.length - 1 && fadeFromIndex !== undefined && newSnapPointIndex !== fadeFromIndex && newSnapPointIndex < fadeFromIndex) {
608
+ set(overlayRef.current, {
609
+ transition: `opacity ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(',')})`,
610
+ opacity: '0'
611
+ });
612
+ } else {
613
+ set(overlayRef.current, {
614
+ transition: `opacity ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(',')})`,
615
+ opacity: '1'
616
+ });
617
+ }
618
+ setActiveSnapPoint(snapPoints == null ? void 0 : snapPoints[Math.max(newSnapPointIndex, 0)]);
619
+ }, [
620
+ drawerRef.current,
621
+ snapPoints,
622
+ snapPointsOffset,
623
+ fadeFromIndex,
624
+ overlayRef,
625
+ setActiveSnapPoint
626
+ ]);
627
+ React.useEffect(()=>{
628
+ if (activeSnapPoint || activeSnapPointProp) {
629
+ var _snapPoints_findIndex;
630
+ const newIndex = (_snapPoints_findIndex = snapPoints == null ? void 0 : snapPoints.findIndex((snapPoint)=>snapPoint === activeSnapPointProp || snapPoint === activeSnapPoint)) != null ? _snapPoints_findIndex : -1;
631
+ if (snapPointsOffset && newIndex !== -1 && typeof snapPointsOffset[newIndex] === 'number') {
632
+ snapToPoint(snapPointsOffset[newIndex]);
633
+ }
634
+ }
635
+ }, [
636
+ activeSnapPoint,
637
+ activeSnapPointProp,
638
+ snapPoints,
639
+ snapPointsOffset,
640
+ snapToPoint
641
+ ]);
642
+ function onRelease({ draggedDistance, closeDrawer, velocity, dismissible }) {
643
+ if (fadeFromIndex === undefined) return;
644
+ const currentPosition = direction === 'bottom' || direction === 'right' ? (activeSnapPointOffset != null ? activeSnapPointOffset : 0) - draggedDistance : (activeSnapPointOffset != null ? activeSnapPointOffset : 0) + draggedDistance;
645
+ const isOverlaySnapPoint = activeSnapPointIndex === fadeFromIndex - 1;
646
+ const isFirst = activeSnapPointIndex === 0;
647
+ const hasDraggedUp = draggedDistance > 0;
648
+ if (isOverlaySnapPoint) {
649
+ set(overlayRef.current, {
650
+ transition: `opacity ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(',')})`
651
+ });
652
+ }
653
+ if (!snapToSequentialPoint && velocity > 2 && !hasDraggedUp) {
654
+ if (dismissible) closeDrawer();
655
+ else snapToPoint(snapPointsOffset[0]); // snap to initial point
656
+ return;
657
+ }
658
+ if (!snapToSequentialPoint && velocity > 2 && hasDraggedUp && snapPointsOffset && snapPoints) {
659
+ snapToPoint(snapPointsOffset[snapPoints.length - 1]);
660
+ return;
661
+ }
662
+ // Find the closest snap point to the current position
663
+ const closestSnapPoint = snapPointsOffset == null ? void 0 : snapPointsOffset.reduce((prev, curr)=>{
664
+ if (typeof prev !== 'number' || typeof curr !== 'number') return prev;
665
+ return Math.abs(curr - currentPosition) < Math.abs(prev - currentPosition) ? curr : prev;
666
+ });
667
+ const dim = isVertical(direction) ? window.innerHeight : window.innerWidth;
668
+ if (velocity > VELOCITY_THRESHOLD && Math.abs(draggedDistance) < dim * 0.4) {
669
+ const dragDirection = hasDraggedUp ? 1 : -1; // 1 = up, -1 = down
670
+ // Don't do anything if we swipe upwards while being on the last snap point
671
+ if (dragDirection > 0 && isLastSnapPoint && snapPoints) {
672
+ snapToPoint(snapPointsOffset[snapPoints.length - 1]);
673
+ return;
674
+ }
675
+ if (isFirst && dragDirection < 0 && dismissible) {
676
+ closeDrawer();
677
+ }
678
+ if (activeSnapPointIndex === null) return;
679
+ snapToPoint(snapPointsOffset[activeSnapPointIndex + dragDirection]);
680
+ return;
681
+ }
682
+ snapToPoint(closestSnapPoint);
683
+ }
684
+ function onDrag({ draggedDistance }) {
685
+ if (activeSnapPointOffset === null) return;
686
+ const newValue = direction === 'bottom' || direction === 'right' ? activeSnapPointOffset - draggedDistance : activeSnapPointOffset + draggedDistance;
687
+ // Don't do anything if we exceed the last(biggest) snap point
688
+ if ((direction === 'bottom' || direction === 'right') && newValue < snapPointsOffset[snapPointsOffset.length - 1]) {
689
+ return;
690
+ }
691
+ if ((direction === 'top' || direction === 'left') && newValue > snapPointsOffset[snapPointsOffset.length - 1]) {
692
+ return;
693
+ }
694
+ set(drawerRef.current, {
695
+ transform: isVertical(direction) ? `translate3d(0, ${newValue}px, 0)` : `translate3d(${newValue}px, 0, 0)`
696
+ });
697
+ }
698
+ function getPercentageDragged(absDraggedDistance, isDraggingDown) {
699
+ if (!snapPoints || typeof activeSnapPointIndex !== 'number' || !snapPointsOffset || fadeFromIndex === undefined) return null;
700
+ // If this is true we are dragging to a snap point that is supposed to have an overlay
701
+ const isOverlaySnapPoint = activeSnapPointIndex === fadeFromIndex - 1;
702
+ const isOverlaySnapPointOrHigher = activeSnapPointIndex >= fadeFromIndex;
703
+ if (isOverlaySnapPointOrHigher && isDraggingDown) {
704
+ return 0;
705
+ }
706
+ // Don't animate, but still use this one if we are dragging away from the overlaySnapPoint
707
+ if (isOverlaySnapPoint && !isDraggingDown) return 1;
708
+ if (!shouldFade && !isOverlaySnapPoint) return null;
709
+ // Either fadeFrom index or the one before
710
+ const targetSnapPointIndex = isOverlaySnapPoint ? activeSnapPointIndex + 1 : activeSnapPointIndex - 1;
711
+ // Get the distance from overlaySnapPoint to the one before or vice-versa to calculate the opacity percentage accordingly
712
+ const snapPointDistance = isOverlaySnapPoint ? snapPointsOffset[targetSnapPointIndex] - snapPointsOffset[targetSnapPointIndex - 1] : snapPointsOffset[targetSnapPointIndex + 1] - snapPointsOffset[targetSnapPointIndex];
713
+ const percentageDragged = absDraggedDistance / Math.abs(snapPointDistance);
714
+ if (isOverlaySnapPoint) {
715
+ return 1 - percentageDragged;
716
+ } else {
717
+ return percentageDragged;
718
+ }
719
+ }
720
+ return {
721
+ isLastSnapPoint,
722
+ activeSnapPoint,
723
+ shouldFade,
724
+ getPercentageDragged,
725
+ setActiveSnapPoint,
726
+ activeSnapPointIndex,
727
+ onRelease,
728
+ onDrag,
729
+ snapPointsOffset
730
+ };
731
+ }
732
+
733
+ const noop = ()=>()=>{};
734
+ function useScaleBackground() {
735
+ const { direction, isOpen, shouldScaleBackground, setBackgroundColorOnScale, noBodyStyles } = useDrawerContext();
736
+ const timeoutIdRef = React.useRef(null);
737
+ const initialBackgroundColor = React.useMemo(()=>document.body.style.backgroundColor, []);
738
+ function getScale() {
739
+ return (window.innerWidth - WINDOW_TOP_OFFSET) / window.innerWidth;
740
+ }
741
+ React.useEffect(()=>{
742
+ if (isOpen && shouldScaleBackground) {
743
+ if (timeoutIdRef.current) clearTimeout(timeoutIdRef.current);
744
+ const wrapper = document.querySelector('[data-vaul-drawer-wrapper]') || document.querySelector('[vaul-drawer-wrapper]');
745
+ if (!wrapper) return;
746
+ chain(setBackgroundColorOnScale && !noBodyStyles ? assignStyle(document.body, {
747
+ background: 'black'
748
+ }) : noop, assignStyle(wrapper, {
749
+ transformOrigin: isVertical(direction) ? 'top' : 'left',
750
+ transitionProperty: 'transform, border-radius',
751
+ transitionDuration: `${TRANSITIONS.DURATION}s`,
752
+ transitionTimingFunction: `cubic-bezier(${TRANSITIONS.EASE.join(',')})`
753
+ }));
754
+ const wrapperStylesCleanup = assignStyle(wrapper, {
755
+ borderRadius: `${BORDER_RADIUS}px`,
756
+ overflow: 'hidden',
757
+ ...isVertical(direction) ? {
758
+ transform: `scale(${getScale()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`
759
+ } : {
760
+ transform: `scale(${getScale()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`
761
+ }
762
+ });
763
+ return ()=>{
764
+ wrapperStylesCleanup();
765
+ timeoutIdRef.current = window.setTimeout(()=>{
766
+ if (initialBackgroundColor) {
767
+ document.body.style.background = initialBackgroundColor;
768
+ } else {
769
+ document.body.style.removeProperty('background');
770
+ }
771
+ }, TRANSITIONS.DURATION * 1000);
772
+ };
773
+ }
774
+ }, [
775
+ isOpen,
776
+ shouldScaleBackground,
777
+ initialBackgroundColor
778
+ ]);
779
+ }
780
+
781
+ let previousBodyPosition = null;
782
+ /**
783
+ * This hook is necessary to prevent buggy behavior on iOS devices (need to test on Android).
784
+ * I won't get into too much detail about what bugs it solves, but so far I've found that setting the body to `position: fixed` is the most reliable way to prevent those bugs.
785
+ * Issues that this hook solves:
786
+ * https://github.com/emilkowalski/vaul/issues/435
787
+ * https://github.com/emilkowalski/vaul/issues/433
788
+ * And more that I discovered, but were just not reported.
789
+ */ function usePositionFixed({ isOpen, modal, nested, hasBeenOpened, preventScrollRestoration, noBodyStyles }) {
790
+ const [activeUrl, setActiveUrl] = React.useState(()=>typeof window !== 'undefined' ? window.location.href : '');
791
+ const scrollPos = React.useRef(0);
792
+ const setPositionFixed = React.useCallback(()=>{
793
+ // All browsers on iOS will return true here.
794
+ if (!isSafari()) return;
795
+ // If previousBodyPosition is already set, don't set it again.
796
+ if (previousBodyPosition === null && isOpen && !noBodyStyles) {
797
+ previousBodyPosition = {
798
+ position: document.body.style.position,
799
+ top: document.body.style.top,
800
+ left: document.body.style.left,
801
+ height: document.body.style.height,
802
+ right: 'unset'
803
+ };
804
+ // Update the dom inside an animation frame
805
+ const { scrollX, innerHeight } = window;
806
+ document.body.style.setProperty('position', 'fixed', 'important');
807
+ Object.assign(document.body.style, {
808
+ top: `${-scrollPos.current}px`,
809
+ left: `${-scrollX}px`,
810
+ right: '0px',
811
+ height: 'auto'
812
+ });
813
+ window.setTimeout(()=>window.requestAnimationFrame(()=>{
814
+ // Attempt to check if the bottom bar appeared due to the position change
815
+ const bottomBarHeight = innerHeight - window.innerHeight;
816
+ if (bottomBarHeight && scrollPos.current >= innerHeight) {
817
+ // Move the content further up so that the bottom bar doesn't hide it
818
+ document.body.style.top = `${-(scrollPos.current + bottomBarHeight)}px`;
819
+ }
820
+ }), 300);
821
+ }
822
+ }, [
823
+ isOpen
824
+ ]);
825
+ const restorePositionSetting = React.useCallback(()=>{
826
+ // All browsers on iOS will return true here.
827
+ if (!isSafari()) return;
828
+ if (previousBodyPosition !== null && !noBodyStyles) {
829
+ // Convert the position from "px" to Int
830
+ const y = -parseInt(document.body.style.top, 10);
831
+ const x = -parseInt(document.body.style.left, 10);
832
+ // Restore styles
833
+ Object.assign(document.body.style, previousBodyPosition);
834
+ window.requestAnimationFrame(()=>{
835
+ if (preventScrollRestoration && activeUrl !== window.location.href) {
836
+ setActiveUrl(window.location.href);
837
+ return;
838
+ }
839
+ window.scrollTo(x, y);
840
+ });
841
+ previousBodyPosition = null;
842
+ }
843
+ }, [
844
+ activeUrl
845
+ ]);
846
+ React.useEffect(()=>{
847
+ function onScroll() {
848
+ scrollPos.current = window.scrollY;
849
+ }
850
+ onScroll();
851
+ window.addEventListener('scroll', onScroll);
852
+ return ()=>{
853
+ window.removeEventListener('scroll', onScroll);
854
+ };
855
+ }, []);
856
+ React.useEffect(()=>{
857
+ if (!modal) return;
858
+ return ()=>{
859
+ if (typeof document === 'undefined') return;
860
+ // Another drawer is opened, safe to ignore the execution
861
+ const hasDrawerOpened = !!document.querySelector('[data-vaul-drawer]');
862
+ if (hasDrawerOpened) return;
863
+ restorePositionSetting();
864
+ };
865
+ }, [
866
+ modal,
867
+ restorePositionSetting
868
+ ]);
869
+ React.useEffect(()=>{
870
+ if (nested || !hasBeenOpened) return;
871
+ // This is needed to force Safari toolbar to show **before** the drawer starts animating to prevent a gnarly shift from happening
872
+ if (isOpen) {
873
+ // avoid for standalone mode (PWA)
874
+ const isStandalone = window.matchMedia('(display-mode: standalone)').matches;
875
+ !isStandalone && setPositionFixed();
876
+ if (!modal) {
877
+ window.setTimeout(()=>{
878
+ restorePositionSetting();
879
+ }, 500);
880
+ }
881
+ } else {
882
+ restorePositionSetting();
883
+ }
884
+ }, [
885
+ isOpen,
886
+ hasBeenOpened,
887
+ activeUrl,
888
+ modal,
889
+ nested,
890
+ setPositionFixed,
891
+ restorePositionSetting
892
+ ]);
893
+ return {
894
+ restorePositionSetting
895
+ };
896
+ }
897
+
898
+ function Root({ open: openProp, onOpenChange, children, onDrag: onDragProp, onRelease: onReleaseProp, snapPoints, shouldScaleBackground = false, setBackgroundColorOnScale = true, closeThreshold = CLOSE_THRESHOLD, scrollLockTimeout = SCROLL_LOCK_TIMEOUT, dismissible = true, handleOnly = false, fadeFromIndex = snapPoints && snapPoints.length - 1, activeSnapPoint: activeSnapPointProp, setActiveSnapPoint: setActiveSnapPointProp, fixed, modal = true, onClose, nested, noBodyStyles = false, direction = 'bottom', defaultOpen = false, disablePreventScroll = true, snapToSequentialPoint = false, preventScrollRestoration = false, repositionInputs = true, onAnimationEnd, container, autoFocus = false }) {
899
+ var _drawerRef_current, _drawerRef_current1;
900
+ const [isOpen = false, setIsOpen] = useControllableState({
901
+ defaultProp: defaultOpen,
902
+ prop: openProp,
903
+ onChange: (o)=>{
904
+ onOpenChange == null ? void 0 : onOpenChange(o);
905
+ if (!o && !nested) {
906
+ restorePositionSetting();
907
+ }
908
+ setTimeout(()=>{
909
+ onAnimationEnd == null ? void 0 : onAnimationEnd(o);
910
+ }, TRANSITIONS.DURATION * 1000);
911
+ if (o && !modal) {
912
+ if (typeof window !== 'undefined') {
913
+ window.requestAnimationFrame(()=>{
914
+ document.body.style.pointerEvents = 'auto';
915
+ });
916
+ }
917
+ }
918
+ if (!o) {
919
+ // This will be removed when the exit animation ends (`500ms`)
920
+ document.body.style.pointerEvents = 'auto';
921
+ }
922
+ }
923
+ });
924
+ const [hasBeenOpened, setHasBeenOpened] = React.useState(false);
925
+ const [isDragging, setIsDragging] = React.useState(false);
926
+ const [justReleased, setJustReleased] = React.useState(false);
927
+ const overlayRef = React.useRef(null);
928
+ const openTime = React.useRef(null);
929
+ const dragStartTime = React.useRef(null);
930
+ const dragEndTime = React.useRef(null);
931
+ const lastTimeDragPrevented = React.useRef(null);
932
+ const isAllowedToDrag = React.useRef(false);
933
+ const nestedOpenChangeTimer = React.useRef(null);
934
+ const pointerStart = React.useRef(0);
935
+ const keyboardIsOpen = React.useRef(false);
936
+ const shouldAnimate = React.useRef(!defaultOpen);
937
+ const previousDiffFromInitial = React.useRef(0);
938
+ const drawerRef = React.useRef(null);
939
+ const drawerHeightRef = React.useRef(((_drawerRef_current = drawerRef.current) == null ? void 0 : _drawerRef_current.getBoundingClientRect().height) || 0);
940
+ const drawerWidthRef = React.useRef(((_drawerRef_current1 = drawerRef.current) == null ? void 0 : _drawerRef_current1.getBoundingClientRect().width) || 0);
941
+ const initialDrawerHeight = React.useRef(0);
942
+ const onSnapPointChange = React.useCallback((activeSnapPointIndex)=>{
943
+ // Change openTime ref when we reach the last snap point to prevent dragging for 500ms incase it's scrollable.
944
+ if (snapPoints && activeSnapPointIndex === snapPointsOffset.length - 1) openTime.current = new Date();
945
+ }, []);
946
+ const { activeSnapPoint, activeSnapPointIndex, setActiveSnapPoint, onRelease: onReleaseSnapPoints, snapPointsOffset, onDrag: onDragSnapPoints, shouldFade, getPercentageDragged: getSnapPointsPercentageDragged } = useSnapPoints({
947
+ snapPoints,
948
+ activeSnapPointProp,
949
+ setActiveSnapPointProp,
950
+ drawerRef,
951
+ fadeFromIndex,
952
+ overlayRef,
953
+ onSnapPointChange,
954
+ direction,
955
+ container,
956
+ snapToSequentialPoint
957
+ });
958
+ usePreventScroll({
959
+ isDisabled: !isOpen || isDragging || !modal || justReleased || !hasBeenOpened || !repositionInputs || !disablePreventScroll
960
+ });
961
+ const { restorePositionSetting } = usePositionFixed({
962
+ isOpen,
963
+ modal,
964
+ nested: nested != null ? nested : false,
965
+ hasBeenOpened,
966
+ preventScrollRestoration,
967
+ noBodyStyles
968
+ });
969
+ function getScale() {
970
+ return (window.innerWidth - WINDOW_TOP_OFFSET) / window.innerWidth;
971
+ }
972
+ function onPress(event) {
973
+ var _drawerRef_current, _drawerRef_current1;
974
+ if (!dismissible && !snapPoints) return;
975
+ if (drawerRef.current && !drawerRef.current.contains(event.target)) return;
976
+ drawerHeightRef.current = ((_drawerRef_current = drawerRef.current) == null ? void 0 : _drawerRef_current.getBoundingClientRect().height) || 0;
977
+ drawerWidthRef.current = ((_drawerRef_current1 = drawerRef.current) == null ? void 0 : _drawerRef_current1.getBoundingClientRect().width) || 0;
978
+ setIsDragging(true);
979
+ dragStartTime.current = new Date();
980
+ // iOS doesn't trigger mouseUp after scrolling so we need to listen to touched in order to disallow dragging
981
+ if (isIOS()) {
982
+ window.addEventListener('touchend', ()=>isAllowedToDrag.current = false, {
983
+ once: true
984
+ });
985
+ }
986
+ // Ensure we maintain correct pointer capture even when going outside of the drawer
987
+ event.target.setPointerCapture(event.pointerId);
988
+ pointerStart.current = isVertical(direction) ? event.pageY : event.pageX;
989
+ }
990
+ function shouldDrag(el, isDraggingInDirection) {
991
+ var _window_getSelection;
992
+ let element = el;
993
+ const highlightedText = (_window_getSelection = window.getSelection()) == null ? void 0 : _window_getSelection.toString();
994
+ const swipeAmount = drawerRef.current ? getTranslate(drawerRef.current, direction) : null;
995
+ const date = new Date();
996
+ // Fixes https://github.com/emilkowalski/vaul/issues/483
997
+ if (element.tagName === 'SELECT') {
998
+ return false;
999
+ }
1000
+ if (element.hasAttribute('data-vaul-no-drag') || element.closest('[data-vaul-no-drag]')) {
1001
+ return false;
1002
+ }
1003
+ if (direction === 'right' || direction === 'left') {
1004
+ return true;
1005
+ }
1006
+ // Allow scrolling when animating
1007
+ if (openTime.current && date.getTime() - openTime.current.getTime() < 500) {
1008
+ return false;
1009
+ }
1010
+ if (swipeAmount !== null) {
1011
+ if (direction === 'bottom' ? swipeAmount > 0 : swipeAmount < 0) {
1012
+ return true;
1013
+ }
1014
+ }
1015
+ // Don't drag if there's highlighted text
1016
+ if (highlightedText && highlightedText.length > 0) {
1017
+ return false;
1018
+ }
1019
+ // Disallow dragging if drawer was scrolled within `scrollLockTimeout`
1020
+ if (lastTimeDragPrevented.current && date.getTime() - lastTimeDragPrevented.current.getTime() < scrollLockTimeout && swipeAmount === 0) {
1021
+ lastTimeDragPrevented.current = date;
1022
+ return false;
1023
+ }
1024
+ if (isDraggingInDirection) {
1025
+ lastTimeDragPrevented.current = date;
1026
+ // We are dragging down so we should allow scrolling
1027
+ return false;
1028
+ }
1029
+ // Keep climbing up the DOM tree as long as there's a parent
1030
+ while(element){
1031
+ // Check if the element is scrollable
1032
+ if (element.scrollHeight > element.clientHeight) {
1033
+ if (element.scrollTop !== 0) {
1034
+ lastTimeDragPrevented.current = new Date();
1035
+ // The element is scrollable and not scrolled to the top, so don't drag
1036
+ return false;
1037
+ }
1038
+ if (element.getAttribute('role') === 'dialog') {
1039
+ return true;
1040
+ }
1041
+ }
1042
+ // Move up to the parent element
1043
+ element = element.parentNode;
1044
+ }
1045
+ // No scrollable parents not scrolled to the top found, so drag
1046
+ return true;
1047
+ }
1048
+ function onDrag(event) {
1049
+ if (!drawerRef.current) {
1050
+ return;
1051
+ }
1052
+ // We need to know how much of the drawer has been dragged in percentages so that we can transform background accordingly
1053
+ if (isDragging) {
1054
+ const directionMultiplier = direction === 'bottom' || direction === 'right' ? 1 : -1;
1055
+ const draggedDistance = (pointerStart.current - (isVertical(direction) ? event.pageY : event.pageX)) * directionMultiplier;
1056
+ const isDraggingInDirection = draggedDistance > 0;
1057
+ // Pre condition for disallowing dragging in the close direction.
1058
+ const noCloseSnapPointsPreCondition = snapPoints && !dismissible && !isDraggingInDirection;
1059
+ // Disallow dragging down to close when first snap point is the active one and dismissible prop is set to false.
1060
+ if (noCloseSnapPointsPreCondition && activeSnapPointIndex === 0) return;
1061
+ // We need to capture last time when drag with scroll was triggered and have a timeout between
1062
+ const absDraggedDistance = Math.abs(draggedDistance);
1063
+ const wrapper = document.querySelector('[data-vaul-drawer-wrapper]');
1064
+ const drawerDimension = direction === 'bottom' || direction === 'top' ? drawerHeightRef.current : drawerWidthRef.current;
1065
+ // Calculate the percentage dragged, where 1 is the closed position
1066
+ let percentageDragged = absDraggedDistance / drawerDimension;
1067
+ const snapPointPercentageDragged = getSnapPointsPercentageDragged(absDraggedDistance, isDraggingInDirection);
1068
+ if (snapPointPercentageDragged !== null) {
1069
+ percentageDragged = snapPointPercentageDragged;
1070
+ }
1071
+ // Disallow close dragging beyond the smallest snap point.
1072
+ if (noCloseSnapPointsPreCondition && percentageDragged >= 1) {
1073
+ return;
1074
+ }
1075
+ if (!isAllowedToDrag.current && !shouldDrag(event.target, isDraggingInDirection)) return;
1076
+ drawerRef.current.classList.add(DRAG_CLASS);
1077
+ // If shouldDrag gave true once after pressing down on the drawer, we set isAllowedToDrag to true and it will remain true until we let go, there's no reason to disable dragging mid way, ever, and that's the solution to it
1078
+ isAllowedToDrag.current = true;
1079
+ set(drawerRef.current, {
1080
+ transition: 'none'
1081
+ });
1082
+ set(overlayRef.current, {
1083
+ transition: 'none'
1084
+ });
1085
+ if (snapPoints) {
1086
+ onDragSnapPoints({
1087
+ draggedDistance
1088
+ });
1089
+ }
1090
+ // Run this only if snapPoints are not defined or if we are at the last snap point (highest one)
1091
+ if (isDraggingInDirection && !snapPoints) {
1092
+ const dampenedDraggedDistance = dampenValue(draggedDistance);
1093
+ const translateValue = Math.min(dampenedDraggedDistance * -1, 0) * directionMultiplier;
1094
+ set(drawerRef.current, {
1095
+ transform: isVertical(direction) ? `translate3d(0, ${translateValue}px, 0)` : `translate3d(${translateValue}px, 0, 0)`
1096
+ });
1097
+ return;
1098
+ }
1099
+ const opacityValue = 1 - percentageDragged;
1100
+ if (shouldFade || fadeFromIndex && activeSnapPointIndex === fadeFromIndex - 1) {
1101
+ onDragProp == null ? void 0 : onDragProp(event, percentageDragged);
1102
+ set(overlayRef.current, {
1103
+ opacity: `${opacityValue}`,
1104
+ transition: 'none'
1105
+ }, true);
1106
+ }
1107
+ if (wrapper && overlayRef.current && shouldScaleBackground) {
1108
+ // Calculate percentageDragged as a fraction (0 to 1)
1109
+ const scaleValue = Math.min(getScale() + percentageDragged * (1 - getScale()), 1);
1110
+ const borderRadiusValue = 8 - percentageDragged * 8;
1111
+ const translateValue = Math.max(0, 14 - percentageDragged * 14);
1112
+ set(wrapper, {
1113
+ borderRadius: `${borderRadiusValue}px`,
1114
+ transform: isVertical(direction) ? `scale(${scaleValue}) translate3d(0, ${translateValue}px, 0)` : `scale(${scaleValue}) translate3d(${translateValue}px, 0, 0)`,
1115
+ transition: 'none'
1116
+ }, true);
1117
+ }
1118
+ if (!snapPoints) {
1119
+ const translateValue = absDraggedDistance * directionMultiplier;
1120
+ set(drawerRef.current, {
1121
+ transform: isVertical(direction) ? `translate3d(0, ${translateValue}px, 0)` : `translate3d(${translateValue}px, 0, 0)`
1122
+ });
1123
+ }
1124
+ }
1125
+ }
1126
+ React.useEffect(()=>{
1127
+ window.requestAnimationFrame(()=>{
1128
+ shouldAnimate.current = true;
1129
+ });
1130
+ }, []);
1131
+ React.useEffect(()=>{
1132
+ var _window_visualViewport;
1133
+ function onVisualViewportChange() {
1134
+ if (!drawerRef.current || !repositionInputs) return;
1135
+ const focusedElement = document.activeElement;
1136
+ if (isInput(focusedElement) || keyboardIsOpen.current) {
1137
+ var _window_visualViewport;
1138
+ const visualViewportHeight = ((_window_visualViewport = window.visualViewport) == null ? void 0 : _window_visualViewport.height) || 0;
1139
+ const totalHeight = window.innerHeight;
1140
+ // This is the height of the keyboard
1141
+ let diffFromInitial = totalHeight - visualViewportHeight;
1142
+ const drawerHeight = drawerRef.current.getBoundingClientRect().height || 0;
1143
+ // Adjust drawer height only if it's tall enough
1144
+ const isTallEnough = drawerHeight > totalHeight * 0.8;
1145
+ if (!initialDrawerHeight.current) {
1146
+ initialDrawerHeight.current = drawerHeight;
1147
+ }
1148
+ const offsetFromTop = drawerRef.current.getBoundingClientRect().top;
1149
+ // visualViewport height may change due to somq e subtle changes to the keyboard. Checking if the height changed by 60 or more will make sure that they keyboard really changed its open state.
1150
+ if (Math.abs(previousDiffFromInitial.current - diffFromInitial) > 60) {
1151
+ keyboardIsOpen.current = !keyboardIsOpen.current;
1152
+ }
1153
+ if (snapPoints && snapPoints.length > 0 && snapPointsOffset && activeSnapPointIndex) {
1154
+ const activeSnapPointHeight = snapPointsOffset[activeSnapPointIndex] || 0;
1155
+ diffFromInitial += activeSnapPointHeight;
1156
+ }
1157
+ previousDiffFromInitial.current = diffFromInitial;
1158
+ // We don't have to change the height if the input is in view, when we are here we are in the opened keyboard state so we can correctly check if the input is in view
1159
+ if (drawerHeight > visualViewportHeight || keyboardIsOpen.current) {
1160
+ const height = drawerRef.current.getBoundingClientRect().height;
1161
+ let newDrawerHeight = height;
1162
+ if (height > visualViewportHeight) {
1163
+ newDrawerHeight = visualViewportHeight - (isTallEnough ? offsetFromTop : WINDOW_TOP_OFFSET);
1164
+ }
1165
+ // When fixed, don't move the drawer upwards if there's space, but rather only change it's height so it's fully scrollable when the keyboard is open
1166
+ if (fixed) {
1167
+ drawerRef.current.style.height = `${height - Math.max(diffFromInitial, 0)}px`;
1168
+ } else {
1169
+ drawerRef.current.style.height = `${Math.max(newDrawerHeight, visualViewportHeight - offsetFromTop)}px`;
1170
+ }
1171
+ } else if (!isMobileFirefox()) {
1172
+ drawerRef.current.style.height = `${initialDrawerHeight.current}px`;
1173
+ }
1174
+ if (snapPoints && snapPoints.length > 0 && !keyboardIsOpen.current) {
1175
+ drawerRef.current.style.bottom = `0px`;
1176
+ } else {
1177
+ // Negative bottom value would never make sense
1178
+ drawerRef.current.style.bottom = `${Math.max(diffFromInitial, 0)}px`;
1179
+ }
1180
+ }
1181
+ }
1182
+ (_window_visualViewport = window.visualViewport) == null ? void 0 : _window_visualViewport.addEventListener('resize', onVisualViewportChange);
1183
+ return ()=>{
1184
+ var _window_visualViewport;
1185
+ return (_window_visualViewport = window.visualViewport) == null ? void 0 : _window_visualViewport.removeEventListener('resize', onVisualViewportChange);
1186
+ };
1187
+ }, [
1188
+ activeSnapPointIndex,
1189
+ snapPoints,
1190
+ snapPointsOffset
1191
+ ]);
1192
+ function closeDrawer(fromWithin) {
1193
+ cancelDrag();
1194
+ onClose == null ? void 0 : onClose();
1195
+ if (!fromWithin) {
1196
+ setIsOpen(false);
1197
+ }
1198
+ setTimeout(()=>{
1199
+ if (snapPoints) {
1200
+ setActiveSnapPoint(snapPoints[0]);
1201
+ }
1202
+ }, TRANSITIONS.DURATION * 1000); // seconds to ms
1203
+ }
1204
+ function resetDrawer() {
1205
+ if (!drawerRef.current) return;
1206
+ const wrapper = document.querySelector('[data-vaul-drawer-wrapper]');
1207
+ const currentSwipeAmount = getTranslate(drawerRef.current, direction);
1208
+ set(drawerRef.current, {
1209
+ transform: 'translate3d(0, 0, 0)',
1210
+ transition: `transform ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(',')})`
1211
+ });
1212
+ set(overlayRef.current, {
1213
+ transition: `opacity ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(',')})`,
1214
+ opacity: '1'
1215
+ });
1216
+ // Don't reset background if swiped upwards
1217
+ if (shouldScaleBackground && currentSwipeAmount && currentSwipeAmount > 0 && isOpen) {
1218
+ set(wrapper, {
1219
+ borderRadius: `${BORDER_RADIUS}px`,
1220
+ overflow: 'hidden',
1221
+ ...isVertical(direction) ? {
1222
+ transform: `scale(${getScale()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`,
1223
+ transformOrigin: 'top'
1224
+ } : {
1225
+ transform: `scale(${getScale()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`,
1226
+ transformOrigin: 'left'
1227
+ },
1228
+ transitionProperty: 'transform, border-radius',
1229
+ transitionDuration: `${TRANSITIONS.DURATION}s`,
1230
+ transitionTimingFunction: `cubic-bezier(${TRANSITIONS.EASE.join(',')})`
1231
+ }, true);
1232
+ }
1233
+ }
1234
+ function cancelDrag() {
1235
+ if (!isDragging || !drawerRef.current) return;
1236
+ drawerRef.current.classList.remove(DRAG_CLASS);
1237
+ isAllowedToDrag.current = false;
1238
+ setIsDragging(false);
1239
+ dragEndTime.current = new Date();
1240
+ }
1241
+ function onRelease(event) {
1242
+ if (!isDragging || !drawerRef.current) return;
1243
+ drawerRef.current.classList.remove(DRAG_CLASS);
1244
+ isAllowedToDrag.current = false;
1245
+ setIsDragging(false);
1246
+ dragEndTime.current = new Date();
1247
+ const swipeAmount = getTranslate(drawerRef.current, direction);
1248
+ if (!event || !shouldDrag(event.target, false) || !swipeAmount || Number.isNaN(swipeAmount)) return;
1249
+ if (dragStartTime.current === null) return;
1250
+ const timeTaken = dragEndTime.current.getTime() - dragStartTime.current.getTime();
1251
+ const distMoved = pointerStart.current - (isVertical(direction) ? event.pageY : event.pageX);
1252
+ const velocity = Math.abs(distMoved) / timeTaken;
1253
+ if (velocity > 0.05) {
1254
+ // `justReleased` is needed to prevent the drawer from focusing on an input when the drag ends, as it's not the intent most of the time.
1255
+ setJustReleased(true);
1256
+ setTimeout(()=>{
1257
+ setJustReleased(false);
1258
+ }, 200);
1259
+ }
1260
+ if (snapPoints) {
1261
+ const directionMultiplier = direction === 'bottom' || direction === 'right' ? 1 : -1;
1262
+ onReleaseSnapPoints({
1263
+ draggedDistance: distMoved * directionMultiplier,
1264
+ closeDrawer,
1265
+ velocity,
1266
+ dismissible
1267
+ });
1268
+ onReleaseProp == null ? void 0 : onReleaseProp(event, true);
1269
+ return;
1270
+ }
1271
+ // Moved upwards, don't do anything
1272
+ if (direction === 'bottom' || direction === 'right' ? distMoved > 0 : distMoved < 0) {
1273
+ resetDrawer();
1274
+ onReleaseProp == null ? void 0 : onReleaseProp(event, true);
1275
+ return;
1276
+ }
1277
+ if (velocity > VELOCITY_THRESHOLD) {
1278
+ closeDrawer();
1279
+ onReleaseProp == null ? void 0 : onReleaseProp(event, false);
1280
+ return;
1281
+ }
1282
+ var _drawerRef_current_getBoundingClientRect_height;
1283
+ const visibleDrawerHeight = Math.min((_drawerRef_current_getBoundingClientRect_height = drawerRef.current.getBoundingClientRect().height) != null ? _drawerRef_current_getBoundingClientRect_height : 0, window.innerHeight);
1284
+ var _drawerRef_current_getBoundingClientRect_width;
1285
+ const visibleDrawerWidth = Math.min((_drawerRef_current_getBoundingClientRect_width = drawerRef.current.getBoundingClientRect().width) != null ? _drawerRef_current_getBoundingClientRect_width : 0, window.innerWidth);
1286
+ const isHorizontalSwipe = direction === 'left' || direction === 'right';
1287
+ if (Math.abs(swipeAmount) >= (isHorizontalSwipe ? visibleDrawerWidth : visibleDrawerHeight) * closeThreshold) {
1288
+ closeDrawer();
1289
+ onReleaseProp == null ? void 0 : onReleaseProp(event, false);
1290
+ return;
1291
+ }
1292
+ onReleaseProp == null ? void 0 : onReleaseProp(event, true);
1293
+ resetDrawer();
1294
+ }
1295
+ React.useEffect(()=>{
1296
+ // Trigger enter animation without using CSS animation
1297
+ if (isOpen) {
1298
+ set(document.documentElement, {
1299
+ scrollBehavior: 'auto'
1300
+ });
1301
+ openTime.current = new Date();
1302
+ }
1303
+ return ()=>{
1304
+ reset(document.documentElement, 'scrollBehavior');
1305
+ };
1306
+ }, [
1307
+ isOpen
1308
+ ]);
1309
+ function onNestedOpenChange(o) {
1310
+ const scale = o ? (window.innerWidth - NESTED_DISPLACEMENT) / window.innerWidth : 1;
1311
+ const initialTranslate = o ? -NESTED_DISPLACEMENT : 0;
1312
+ if (nestedOpenChangeTimer.current) {
1313
+ window.clearTimeout(nestedOpenChangeTimer.current);
1314
+ }
1315
+ set(drawerRef.current, {
1316
+ transition: `transform ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(',')})`,
1317
+ transform: isVertical(direction) ? `scale(${scale}) translate3d(0, ${initialTranslate}px, 0)` : `scale(${scale}) translate3d(${initialTranslate}px, 0, 0)`
1318
+ });
1319
+ if (!o && drawerRef.current) {
1320
+ nestedOpenChangeTimer.current = setTimeout(()=>{
1321
+ const translateValue = getTranslate(drawerRef.current, direction);
1322
+ set(drawerRef.current, {
1323
+ transition: 'none',
1324
+ transform: isVertical(direction) ? `translate3d(0, ${translateValue}px, 0)` : `translate3d(${translateValue}px, 0, 0)`
1325
+ });
1326
+ }, 500);
1327
+ }
1328
+ }
1329
+ function onNestedDrag(_event, percentageDragged) {
1330
+ if (percentageDragged < 0) return;
1331
+ const initialScale = (window.innerWidth - NESTED_DISPLACEMENT) / window.innerWidth;
1332
+ const newScale = initialScale + percentageDragged * (1 - initialScale);
1333
+ const newTranslate = -NESTED_DISPLACEMENT + percentageDragged * NESTED_DISPLACEMENT;
1334
+ set(drawerRef.current, {
1335
+ transform: isVertical(direction) ? `scale(${newScale}) translate3d(0, ${newTranslate}px, 0)` : `scale(${newScale}) translate3d(${newTranslate}px, 0, 0)`,
1336
+ transition: 'none'
1337
+ });
1338
+ }
1339
+ function onNestedRelease(_event, o) {
1340
+ const dim = isVertical(direction) ? window.innerHeight : window.innerWidth;
1341
+ const scale = o ? (dim - NESTED_DISPLACEMENT) / dim : 1;
1342
+ const translate = o ? -NESTED_DISPLACEMENT : 0;
1343
+ if (o) {
1344
+ set(drawerRef.current, {
1345
+ transition: `transform ${TRANSITIONS.DURATION}s cubic-bezier(${TRANSITIONS.EASE.join(',')})`,
1346
+ transform: isVertical(direction) ? `scale(${scale}) translate3d(0, ${translate}px, 0)` : `scale(${scale}) translate3d(${translate}px, 0, 0)`
1347
+ });
1348
+ }
1349
+ }
1350
+ React.useEffect(()=>{
1351
+ if (!modal) {
1352
+ // Need to do this manually unfortunately
1353
+ window.requestAnimationFrame(()=>{
1354
+ document.body.style.pointerEvents = 'auto';
1355
+ });
1356
+ }
1357
+ }, [
1358
+ modal
1359
+ ]);
1360
+ return /*#__PURE__*/ React.createElement(index.Root, {
1361
+ defaultOpen: defaultOpen,
1362
+ onOpenChange: (open)=>{
1363
+ if (!dismissible && !open) return;
1364
+ if (open) {
1365
+ setHasBeenOpened(true);
1366
+ } else {
1367
+ closeDrawer(true);
1368
+ }
1369
+ setIsOpen(open);
1370
+ },
1371
+ open: isOpen
1372
+ }, /*#__PURE__*/ React.createElement(DrawerContext.Provider, {
1373
+ value: {
1374
+ activeSnapPoint,
1375
+ snapPoints,
1376
+ setActiveSnapPoint,
1377
+ drawerRef,
1378
+ overlayRef,
1379
+ onOpenChange,
1380
+ onPress,
1381
+ onRelease,
1382
+ onDrag,
1383
+ dismissible,
1384
+ shouldAnimate,
1385
+ handleOnly,
1386
+ isOpen,
1387
+ isDragging,
1388
+ shouldFade,
1389
+ closeDrawer,
1390
+ onNestedDrag,
1391
+ onNestedOpenChange,
1392
+ onNestedRelease,
1393
+ keyboardIsOpen,
1394
+ modal,
1395
+ snapPointsOffset,
1396
+ activeSnapPointIndex,
1397
+ direction,
1398
+ shouldScaleBackground,
1399
+ setBackgroundColorOnScale,
1400
+ noBodyStyles,
1401
+ container,
1402
+ autoFocus
1403
+ }
1404
+ }, children));
1405
+ }
1406
+ const Overlay = /*#__PURE__*/ React.forwardRef(function({ ...rest }, ref) {
1407
+ const { overlayRef, snapPoints, onRelease, shouldFade, isOpen, modal, shouldAnimate } = useDrawerContext();
1408
+ const composedRef = useComposedRefs(ref, overlayRef);
1409
+ const hasSnapPoints = snapPoints && snapPoints.length > 0;
1410
+ // Overlay is the component that is locking scroll, removing it will unlock the scroll without having to dig into Radix's Dialog library
1411
+ if (!modal) {
1412
+ return null;
1413
+ }
1414
+ const onMouseUp = React.useCallback((event)=>onRelease(event), [
1415
+ onRelease
1416
+ ]);
1417
+ return /*#__PURE__*/ React.createElement(index.Overlay, {
1418
+ onMouseUp: onMouseUp,
1419
+ ref: composedRef,
1420
+ "data-vaul-overlay": "",
1421
+ "data-vaul-snap-points": isOpen && hasSnapPoints ? 'true' : 'false',
1422
+ "data-vaul-snap-points-overlay": isOpen && shouldFade ? 'true' : 'false',
1423
+ "data-vaul-animate": (shouldAnimate == null ? void 0 : shouldAnimate.current) ? 'true' : 'false',
1424
+ ...rest
1425
+ });
1426
+ });
1427
+ Overlay.displayName = 'Drawer.Overlay';
1428
+ const Content = /*#__PURE__*/ React.forwardRef(function({ onPointerDownOutside, style, onOpenAutoFocus, ...rest }, ref) {
1429
+ const { drawerRef, onPress, onRelease, onDrag, keyboardIsOpen, snapPointsOffset, activeSnapPointIndex, modal, isOpen, direction, snapPoints, container, handleOnly, shouldAnimate, autoFocus } = useDrawerContext();
1430
+ // Needed to use transition instead of animations
1431
+ const [delayedSnapPoints, setDelayedSnapPoints] = React.useState(false);
1432
+ const composedRef = useComposedRefs(ref, drawerRef);
1433
+ const pointerStartRef = React.useRef(null);
1434
+ const lastKnownPointerEventRef = React.useRef(null);
1435
+ const wasBeyondThePointRef = React.useRef(false);
1436
+ const hasSnapPoints = snapPoints && snapPoints.length > 0;
1437
+ useScaleBackground();
1438
+ const isDeltaInDirection = (delta, direction, threshold = 0)=>{
1439
+ if (wasBeyondThePointRef.current) return true;
1440
+ const deltaY = Math.abs(delta.y);
1441
+ const deltaX = Math.abs(delta.x);
1442
+ const isDeltaX = deltaX > deltaY;
1443
+ const dFactor = [
1444
+ 'bottom',
1445
+ 'right'
1446
+ ].includes(direction) ? 1 : -1;
1447
+ if (direction === 'left' || direction === 'right') {
1448
+ const isReverseDirection = delta.x * dFactor < 0;
1449
+ if (!isReverseDirection && deltaX >= 0 && deltaX <= threshold) {
1450
+ return isDeltaX;
1451
+ }
1452
+ } else {
1453
+ const isReverseDirection = delta.y * dFactor < 0;
1454
+ if (!isReverseDirection && deltaY >= 0 && deltaY <= threshold) {
1455
+ return !isDeltaX;
1456
+ }
1457
+ }
1458
+ wasBeyondThePointRef.current = true;
1459
+ return true;
1460
+ };
1461
+ React.useEffect(()=>{
1462
+ if (hasSnapPoints) {
1463
+ window.requestAnimationFrame(()=>{
1464
+ setDelayedSnapPoints(true);
1465
+ });
1466
+ }
1467
+ }, []);
1468
+ function handleOnPointerUp(event) {
1469
+ pointerStartRef.current = null;
1470
+ wasBeyondThePointRef.current = false;
1471
+ onRelease(event);
1472
+ }
1473
+ return /*#__PURE__*/ React.createElement(index.Content, {
1474
+ "data-vaul-drawer-direction": direction,
1475
+ "data-vaul-drawer": "",
1476
+ "data-vaul-delayed-snap-points": delayedSnapPoints ? 'true' : 'false',
1477
+ "data-vaul-snap-points": isOpen && hasSnapPoints ? 'true' : 'false',
1478
+ "data-vaul-custom-container": container ? 'true' : 'false',
1479
+ "data-vaul-animate": (shouldAnimate == null ? void 0 : shouldAnimate.current) ? 'true' : 'false',
1480
+ ...rest,
1481
+ ref: composedRef,
1482
+ style: snapPointsOffset && snapPointsOffset.length > 0 ? {
1483
+ '--snap-point-height': `${snapPointsOffset[activeSnapPointIndex != null ? activeSnapPointIndex : 0]}px`,
1484
+ ...style
1485
+ } : style,
1486
+ onPointerDown: (event)=>{
1487
+ if (handleOnly) return;
1488
+ rest.onPointerDown == null ? void 0 : rest.onPointerDown.call(rest, event);
1489
+ pointerStartRef.current = {
1490
+ x: event.pageX,
1491
+ y: event.pageY
1492
+ };
1493
+ onPress(event);
1494
+ },
1495
+ onOpenAutoFocus: (e)=>{
1496
+ onOpenAutoFocus == null ? void 0 : onOpenAutoFocus(e);
1497
+ if (!autoFocus) {
1498
+ e.preventDefault();
1499
+ }
1500
+ },
1501
+ onPointerDownOutside: (e)=>{
1502
+ onPointerDownOutside == null ? void 0 : onPointerDownOutside(e);
1503
+ if (!modal || e.defaultPrevented) {
1504
+ e.preventDefault();
1505
+ return;
1506
+ }
1507
+ if (keyboardIsOpen.current) {
1508
+ keyboardIsOpen.current = false;
1509
+ }
1510
+ },
1511
+ onFocusOutside: (e)=>{
1512
+ if (!modal) {
1513
+ e.preventDefault();
1514
+ return;
1515
+ }
1516
+ },
1517
+ onPointerMove: (event)=>{
1518
+ lastKnownPointerEventRef.current = event;
1519
+ if (handleOnly) return;
1520
+ rest.onPointerMove == null ? void 0 : rest.onPointerMove.call(rest, event);
1521
+ if (!pointerStartRef.current) return;
1522
+ const yPosition = event.pageY - pointerStartRef.current.y;
1523
+ const xPosition = event.pageX - pointerStartRef.current.x;
1524
+ const swipeStartThreshold = event.pointerType === 'touch' ? 10 : 2;
1525
+ const delta = {
1526
+ x: xPosition,
1527
+ y: yPosition
1528
+ };
1529
+ const isAllowedToSwipe = isDeltaInDirection(delta, direction, swipeStartThreshold);
1530
+ if (isAllowedToSwipe) onDrag(event);
1531
+ else if (Math.abs(xPosition) > swipeStartThreshold || Math.abs(yPosition) > swipeStartThreshold) {
1532
+ pointerStartRef.current = null;
1533
+ }
1534
+ },
1535
+ onPointerUp: (event)=>{
1536
+ rest.onPointerUp == null ? void 0 : rest.onPointerUp.call(rest, event);
1537
+ pointerStartRef.current = null;
1538
+ wasBeyondThePointRef.current = false;
1539
+ onRelease(event);
1540
+ },
1541
+ onPointerOut: (event)=>{
1542
+ rest.onPointerOut == null ? void 0 : rest.onPointerOut.call(rest, event);
1543
+ handleOnPointerUp(lastKnownPointerEventRef.current);
1544
+ },
1545
+ onContextMenu: (event)=>{
1546
+ rest.onContextMenu == null ? void 0 : rest.onContextMenu.call(rest, event);
1547
+ if (lastKnownPointerEventRef.current) {
1548
+ handleOnPointerUp(lastKnownPointerEventRef.current);
1549
+ }
1550
+ }
1551
+ });
1552
+ });
1553
+ Content.displayName = 'Drawer.Content';
1554
+ const LONG_HANDLE_PRESS_TIMEOUT = 250;
1555
+ const DOUBLE_TAP_TIMEOUT = 120;
1556
+ const Handle = /*#__PURE__*/ React.forwardRef(function({ preventCycle = false, children, ...rest }, ref) {
1557
+ const { closeDrawer, isDragging, snapPoints, activeSnapPoint, setActiveSnapPoint, dismissible, handleOnly, isOpen, onPress, onDrag } = useDrawerContext();
1558
+ const closeTimeoutIdRef = React.useRef(null);
1559
+ const shouldCancelInteractionRef = React.useRef(false);
1560
+ function handleStartCycle() {
1561
+ // Stop if this is the second click of a double click
1562
+ if (shouldCancelInteractionRef.current) {
1563
+ handleCancelInteraction();
1564
+ return;
1565
+ }
1566
+ window.setTimeout(()=>{
1567
+ handleCycleSnapPoints();
1568
+ }, DOUBLE_TAP_TIMEOUT);
1569
+ }
1570
+ function handleCycleSnapPoints() {
1571
+ // Prevent accidental taps while resizing drawer
1572
+ if (isDragging || preventCycle || shouldCancelInteractionRef.current) {
1573
+ handleCancelInteraction();
1574
+ return;
1575
+ }
1576
+ // Make sure to clear the timeout id if the user releases the handle before the cancel timeout
1577
+ handleCancelInteraction();
1578
+ if (!snapPoints || snapPoints.length === 0) {
1579
+ if (!dismissible) {
1580
+ closeDrawer();
1581
+ }
1582
+ return;
1583
+ }
1584
+ const isLastSnapPoint = activeSnapPoint === snapPoints[snapPoints.length - 1];
1585
+ if (isLastSnapPoint && dismissible) {
1586
+ closeDrawer();
1587
+ return;
1588
+ }
1589
+ const currentSnapIndex = snapPoints.findIndex((point)=>point === activeSnapPoint);
1590
+ if (currentSnapIndex === -1) return; // activeSnapPoint not found in snapPoints
1591
+ const nextSnapPoint = snapPoints[currentSnapIndex + 1];
1592
+ setActiveSnapPoint(nextSnapPoint);
1593
+ }
1594
+ function handleStartInteraction() {
1595
+ closeTimeoutIdRef.current = window.setTimeout(()=>{
1596
+ // Cancel click interaction on a long press
1597
+ shouldCancelInteractionRef.current = true;
1598
+ }, LONG_HANDLE_PRESS_TIMEOUT);
1599
+ }
1600
+ function handleCancelInteraction() {
1601
+ if (closeTimeoutIdRef.current) {
1602
+ window.clearTimeout(closeTimeoutIdRef.current);
1603
+ }
1604
+ shouldCancelInteractionRef.current = false;
1605
+ }
1606
+ return /*#__PURE__*/ React.createElement("div", {
1607
+ onClick: handleStartCycle,
1608
+ onPointerCancel: handleCancelInteraction,
1609
+ onPointerDown: (e)=>{
1610
+ if (handleOnly) onPress(e);
1611
+ handleStartInteraction();
1612
+ },
1613
+ onPointerMove: (e)=>{
1614
+ if (handleOnly) onDrag(e);
1615
+ },
1616
+ // onPointerUp is already handled by the content component
1617
+ ref: ref,
1618
+ "data-vaul-drawer-visible": isOpen ? 'true' : 'false',
1619
+ "data-vaul-handle": "",
1620
+ "aria-hidden": "true",
1621
+ ...rest
1622
+ }, /*#__PURE__*/ React.createElement("span", {
1623
+ "data-vaul-handle-hitarea": "",
1624
+ "aria-hidden": "true"
1625
+ }, children));
1626
+ });
1627
+ Handle.displayName = 'Drawer.Handle';
1628
+ function NestedRoot({ onDrag, onOpenChange, open: nestedIsOpen, ...rest }) {
1629
+ const { onNestedDrag, onNestedOpenChange, onNestedRelease } = useDrawerContext();
1630
+ if (!onNestedDrag) {
1631
+ throw new Error('Drawer.NestedRoot must be placed in another drawer');
1632
+ }
1633
+ return /*#__PURE__*/ React.createElement(Root, {
1634
+ nested: true,
1635
+ open: nestedIsOpen,
1636
+ onClose: ()=>{
1637
+ onNestedOpenChange(false);
1638
+ },
1639
+ onDrag: (e, p)=>{
1640
+ onNestedDrag(e, p);
1641
+ onDrag == null ? void 0 : onDrag(e, p);
1642
+ },
1643
+ onOpenChange: (o)=>{
1644
+ if (o) {
1645
+ onNestedOpenChange(o);
1646
+ }
1647
+ onOpenChange == null ? void 0 : onOpenChange(o);
1648
+ },
1649
+ onRelease: onNestedRelease,
1650
+ ...rest
1651
+ });
1652
+ }
1653
+ function Portal(props) {
1654
+ const context = useDrawerContext();
1655
+ const { container = context.container, ...portalProps } = props;
1656
+ return /*#__PURE__*/ React.createElement(index.Portal, {
1657
+ container: container,
1658
+ ...portalProps
1659
+ });
1660
+ }
1661
+ const Drawer = {
1662
+ Root,
1663
+ NestedRoot,
1664
+ Content,
1665
+ Overlay,
1666
+ Trigger: index.Trigger,
1667
+ Portal,
1668
+ Handle,
1669
+ Close: index.Close,
1670
+ Title: index.Title,
1671
+ Description: index.Description
1672
+ };
1673
+
1674
+ exports.Content = Content;
1675
+ exports.Drawer = Drawer;
1676
+ exports.Handle = Handle;
1677
+ exports.NestedRoot = NestedRoot;
1678
+ exports.Overlay = Overlay;
1679
+ exports.Portal = Portal;
1680
+ exports.Root = Root;
1681
+ //# sourceMappingURL=index.js.map