@123usmanhaider321/ui 0.1.0 → 0.1.8

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 (1322) hide show
  1. package/dist/_virtual/duration.js +5 -0
  2. package/dist/_virtual/duration.js.map +1 -0
  3. package/dist/_virtual/index.js +2 -2
  4. package/dist/_virtual/isBetween.js +5 -0
  5. package/dist/_virtual/isBetween.js.map +1 -0
  6. package/dist/_virtual/relativeTime.js +5 -0
  7. package/dist/_virtual/relativeTime.js.map +1 -0
  8. package/dist/_virtual/use-sync-external-store-shim.development.js +5 -0
  9. package/dist/_virtual/use-sync-external-store-shim.development.js.map +1 -0
  10. package/dist/_virtual/use-sync-external-store-shim.production.js +5 -0
  11. package/dist/_virtual/use-sync-external-store-shim.production.js.map +1 -0
  12. package/dist/_virtual/with-selector.development.js +5 -0
  13. package/dist/_virtual/with-selector.development.js.map +1 -0
  14. package/dist/_virtual/with-selector.production.js +5 -0
  15. package/dist/_virtual/with-selector.production.js.map +1 -0
  16. package/dist/components/Alert/Alert.d.ts +2 -2
  17. package/dist/components/Alert/Alert.js +18 -21
  18. package/dist/components/Alert/Alert.js.map +1 -1
  19. package/dist/components/Button/Button.js +14 -14
  20. package/dist/components/Button/Button.js.map +1 -1
  21. package/dist/components/Checkbox/Checkbox.js +12 -12
  22. package/dist/components/Checkbox/Checkbox.js.map +1 -1
  23. package/dist/components/CheckboxGroup/CheckboxGroup.js +22 -22
  24. package/dist/components/CheckboxGroup/CheckboxGroup.js.map +1 -1
  25. package/dist/components/ConfirmationModal/ConfirmationModal.js +37 -39
  26. package/dist/components/ConfirmationModal/ConfirmationModal.js.map +1 -1
  27. package/dist/components/CustomSelect/CustomSelect.js +35 -37
  28. package/dist/components/CustomSelect/CustomSelect.js.map +1 -1
  29. package/dist/components/EventAddForm/AddEventLayout.d.ts +58 -0
  30. package/dist/components/EventAddForm/AddEventLayout.js +227 -0
  31. package/dist/components/EventAddForm/AddEventLayout.js.map +1 -0
  32. package/dist/components/EventAddForm/AddEventStepper.d.ts +15 -0
  33. package/dist/components/EventAddForm/AddEventStepper.js +719 -0
  34. package/dist/components/EventAddForm/AddEventStepper.js.map +1 -0
  35. package/dist/components/EventAddForm/common/ConfirmationModal.d.ts +14 -0
  36. package/dist/components/EventAddForm/common/ConfirmationModal.js +136 -0
  37. package/dist/components/EventAddForm/common/ConfirmationModal.js.map +1 -0
  38. package/dist/components/EventAddForm/common/DescriptionModal.d.ts +8 -0
  39. package/dist/components/EventAddForm/common/DescriptionModal.js +70 -0
  40. package/dist/components/EventAddForm/common/DescriptionModal.js.map +1 -0
  41. package/dist/components/EventAddForm/components/AnimatedBackground.d.ts +8 -0
  42. package/dist/components/EventAddForm/components/ApprovalConfirmationModal.d.ts +7 -0
  43. package/dist/components/EventAddForm/components/CheckboxGroup.d.ts +23 -0
  44. package/dist/components/EventAddForm/components/CheckboxGroup.js +92 -0
  45. package/dist/components/EventAddForm/components/CheckboxGroup.js.map +1 -0
  46. package/dist/components/EventAddForm/components/CustomMeetingForm.d.ts +18 -0
  47. package/dist/components/EventAddForm/components/CustomMeetingForm.js +237 -0
  48. package/dist/components/EventAddForm/components/CustomMeetingForm.js.map +1 -0
  49. package/dist/components/EventAddForm/components/DateTimeField.d.ts +23 -0
  50. package/dist/components/EventAddForm/components/DateTimeField.js +173 -0
  51. package/dist/components/EventAddForm/components/DateTimeField.js.map +1 -0
  52. package/dist/components/EventAddForm/components/EventSubmissionConfirmationModal.d.ts +33 -0
  53. package/dist/components/EventAddForm/components/EventSubmissionConfirmationModal.js +366 -0
  54. package/dist/components/EventAddForm/components/EventSubmissionConfirmationModal.js.map +1 -0
  55. package/dist/components/EventAddForm/components/FileUpload.d.ts +14 -0
  56. package/dist/components/EventAddForm/components/FileUpload.js +412 -0
  57. package/dist/components/EventAddForm/components/FileUpload.js.map +1 -0
  58. package/dist/components/EventAddForm/components/FormBuilderProceedModal.d.ts +10 -0
  59. package/dist/components/EventAddForm/components/FormBuilderProceedModal.js +197 -0
  60. package/dist/components/EventAddForm/components/FormBuilderProceedModal.js.map +1 -0
  61. package/dist/components/EventAddForm/components/GoogleMapsAutocompleteInput.d.ts +38 -0
  62. package/dist/components/EventAddForm/components/GoogleMapsAutocompleteInput.js +1179 -0
  63. package/dist/components/EventAddForm/components/GoogleMapsAutocompleteInput.js.map +1 -0
  64. package/dist/components/EventAddForm/components/InputField.d.ts +15 -0
  65. package/dist/components/EventAddForm/components/RadioGroupButton.d.ts +14 -0
  66. package/dist/components/EventAddForm/components/SelectField.d.ts +19 -0
  67. package/dist/components/EventAddForm/components/SingleDateTimeInput.d.ts +27 -0
  68. package/dist/components/EventAddForm/components/SingleDateTimeInput.js +102 -0
  69. package/dist/components/EventAddForm/components/SingleDateTimeInput.js.map +1 -0
  70. package/dist/components/EventAddForm/components/StepTwo/CustomFormSection.d.ts +10 -0
  71. package/dist/components/EventAddForm/components/StepTwo/CustomFormSection.js +277 -0
  72. package/dist/components/EventAddForm/components/StepTwo/CustomFormSection.js.map +1 -0
  73. package/dist/components/EventAddForm/components/StepTwo/TicketTierSection.d.ts +37 -0
  74. package/dist/components/EventAddForm/components/StepTwo/TicketTierSection.js +148 -0
  75. package/dist/components/EventAddForm/components/StepTwo/TicketTierSection.js.map +1 -0
  76. package/dist/components/EventAddForm/components/TicketTierForm.d.ts +29 -0
  77. package/dist/components/EventAddForm/components/TicketTierForm.js +418 -0
  78. package/dist/components/EventAddForm/components/TicketTierForm.js.map +1 -0
  79. package/dist/components/EventAddForm/components/TicketTypeSelection.d.ts +7 -0
  80. package/dist/components/EventAddForm/components/TicketTypeSelection.js +93 -0
  81. package/dist/components/EventAddForm/components/TicketTypeSelection.js.map +1 -0
  82. package/dist/components/EventAddForm/hooks/useStepperForm.d.ts +81 -0
  83. package/dist/components/EventAddForm/hooks/useStepperForm.js +371 -0
  84. package/dist/components/EventAddForm/hooks/useStepperForm.js.map +1 -0
  85. package/dist/components/EventAddForm/hooks/useTicketTierForm.d.ts +87 -0
  86. package/dist/components/EventAddForm/hooks/useTicketTierForm.js +237 -0
  87. package/dist/components/EventAddForm/hooks/useTicketTierForm.js.map +1 -0
  88. package/dist/components/EventAddForm/index.d.ts +3 -0
  89. package/dist/components/EventAddForm/index.js +41 -0
  90. package/dist/components/EventAddForm/index.js.map +1 -0
  91. package/dist/components/EventAddForm/schemas/index.d.ts +2 -0
  92. package/dist/components/EventAddForm/schemas/step1.js +135 -0
  93. package/dist/components/EventAddForm/schemas/step1.js.map +1 -0
  94. package/dist/components/EventAddForm/schemas/step2.d.ts +138 -0
  95. package/dist/components/EventAddForm/schemas/step2.js +94 -0
  96. package/dist/components/EventAddForm/schemas/step2.js.map +1 -0
  97. package/dist/components/EventAddForm/schemas/utils.js.map +1 -0
  98. package/dist/components/EventAddForm/steps/IndividualFormStep.d.ts +26 -0
  99. package/dist/components/EventAddForm/steps/IndividualFormStep.js +85 -0
  100. package/dist/components/EventAddForm/steps/IndividualFormStep.js.map +1 -0
  101. package/dist/components/EventAddForm/steps/SocialProfilesStep.d.ts +18 -0
  102. package/dist/components/EventAddForm/steps/SocialProfilesStep.js +123 -0
  103. package/dist/components/EventAddForm/steps/SocialProfilesStep.js.map +1 -0
  104. package/dist/components/EventAddForm/steps/StepOne.d.ts +18 -0
  105. package/dist/components/EventAddForm/steps/StepOne.js +462 -0
  106. package/dist/components/EventAddForm/steps/StepOne.js.map +1 -0
  107. package/dist/components/EventAddForm/steps/StepTwo.d.ts +17 -0
  108. package/dist/components/EventAddForm/steps/StepTwo.js +173 -0
  109. package/dist/components/EventAddForm/steps/StepTwo.js.map +1 -0
  110. package/dist/components/EventAddForm/steps/TeamFormStep.d.ts +19 -0
  111. package/dist/components/EventAddForm/steps/TeamFormStep.js +13 -0
  112. package/dist/components/EventAddForm/steps/TeamFormStep.js.map +1 -0
  113. package/dist/components/FormBuilder/CategoryList.js +26 -26
  114. package/dist/components/FormBuilder/CategoryList.js.map +1 -1
  115. package/dist/components/FormBuilder/DiscountInput.js +38 -39
  116. package/dist/components/FormBuilder/DiscountInput.js.map +1 -1
  117. package/dist/components/FormBuilder/FormBuilder.js +71 -74
  118. package/dist/components/FormBuilder/FormBuilder.js.map +1 -1
  119. package/dist/components/FormBuilder/OptionList.js +19 -19
  120. package/dist/components/FormBuilder/OptionList.js.map +1 -1
  121. package/dist/components/FormBuilder/PaymentPreview.js +19 -19
  122. package/dist/components/FormBuilder/PaymentPreview.js.map +1 -1
  123. package/dist/components/FormBuilder/PreviewInput.js +18 -29
  124. package/dist/components/FormBuilder/PreviewInput.js.map +1 -1
  125. package/dist/components/FormBuilder/QuestionCard.js +66 -67
  126. package/dist/components/FormBuilder/QuestionCard.js.map +1 -1
  127. package/dist/components/FormBuilder/QuestionEditor.js +16 -16
  128. package/dist/components/FormBuilder/QuestionEditor.js.map +1 -1
  129. package/dist/components/FormBuilder/RequiredToggle.js +14 -14
  130. package/dist/components/FormBuilder/RequiredToggle.js.map +1 -1
  131. package/dist/components/FormBuilder/SortableQuestionList.js +4 -4
  132. package/dist/components/FormBuilder/SortableQuestionList.js.map +1 -1
  133. package/dist/components/FormBuilder/utils.js.map +1 -1
  134. package/dist/components/FormInput/FormInput.js +28 -28
  135. package/dist/components/FormInput/FormInput.js.map +1 -1
  136. package/dist/components/ImageCropModal/index.d.ts +14 -0
  137. package/dist/components/ImageCropModal/index.js +464 -0
  138. package/dist/components/ImageCropModal/index.js.map +1 -0
  139. package/dist/components/InformationPopover/InformationPopover.js +4 -4
  140. package/dist/components/InformationPopover/InformationPopover.js.map +1 -1
  141. package/dist/components/InformationPopover.d.ts +7 -0
  142. package/dist/components/InformationPopover.js +19 -0
  143. package/dist/components/InformationPopover.js.map +1 -0
  144. package/dist/components/InputErrorMessage/InputErrorMessage.js +5 -6
  145. package/dist/components/InputErrorMessage/InputErrorMessage.js.map +1 -1
  146. package/dist/components/Modal/Modal.js +24 -25
  147. package/dist/components/Modal/Modal.js.map +1 -1
  148. package/dist/components/Radio/Radio.js +9 -9
  149. package/dist/components/Radio/Radio.js.map +1 -1
  150. package/dist/components/Spinner/spinner.d.ts +2 -0
  151. package/dist/components/Spinner/spinner.js +22 -0
  152. package/dist/components/Spinner/spinner.js.map +1 -0
  153. package/dist/components/Tooltip/Tooltip.js +13 -14
  154. package/dist/components/Tooltip/Tooltip.js.map +1 -1
  155. package/dist/components/common/FallbackImage.d.ts +9 -0
  156. package/dist/components/common/FallbackImage.js +47 -0
  157. package/dist/components/common/FallbackImage.js.map +1 -0
  158. package/dist/components/ui/Calendar/calendar-utils.d.ts +3 -0
  159. package/dist/components/ui/Calendar/calendar-utils.js +51 -0
  160. package/dist/components/ui/Calendar/calendar-utils.js.map +1 -0
  161. package/dist/components/ui/Calendar/index.d.ts +14 -0
  162. package/dist/components/ui/Calendar/index.js +142 -0
  163. package/dist/components/ui/Calendar/index.js.map +1 -0
  164. package/dist/components/ui/Checkbox.d.ts +9 -0
  165. package/dist/components/ui/Checkbox.js +50 -0
  166. package/dist/components/ui/Checkbox.js.map +1 -0
  167. package/dist/components/ui/DatePicker/index.d.ts +15 -0
  168. package/dist/components/ui/DatePicker/index.js +188 -0
  169. package/dist/components/ui/DatePicker/index.js.map +1 -0
  170. package/dist/components/ui/FormInput.d.ts +28 -0
  171. package/dist/components/ui/FormInput.js +129 -0
  172. package/dist/components/ui/FormInput.js.map +1 -0
  173. package/dist/components/ui/InputErrorMessage.d.ts +7 -0
  174. package/dist/components/ui/InputErrorMessage.js +21 -0
  175. package/dist/components/ui/InputErrorMessage.js.map +1 -0
  176. package/dist/components/ui/Modal/index.d.ts +14 -0
  177. package/dist/components/ui/Modal/index.js +73 -0
  178. package/dist/components/ui/Modal/index.js.map +1 -0
  179. package/dist/components/ui/Radio.d.ts +6 -0
  180. package/dist/components/ui/Radio.js +35 -0
  181. package/dist/components/ui/Radio.js.map +1 -0
  182. package/dist/components/ui/RichTextEditor.d.ts +13 -0
  183. package/dist/components/ui/RichTextEditor.js +242 -0
  184. package/dist/components/ui/RichTextEditor.js.map +1 -0
  185. package/dist/components/ui/TimePicker/index.d.ts +19 -0
  186. package/dist/components/ui/TimePicker/index.js +215 -0
  187. package/dist/components/ui/TimePicker/index.js.map +1 -0
  188. package/dist/components/ui/TimeSelector/index.d.ts +11 -0
  189. package/dist/components/ui/TimeSelector/index.js +138 -0
  190. package/dist/components/ui/TimeSelector/index.js.map +1 -0
  191. package/dist/components/ui/Tooltip/index.d.ts +12 -0
  192. package/dist/components/ui/Tooltip.d.ts +12 -0
  193. package/dist/components/ui/Tooltip.js +136 -0
  194. package/dist/components/ui/Tooltip.js.map +1 -0
  195. package/dist/hooks/useDropdownPosition.d.ts +11 -0
  196. package/dist/hooks/useFirebaseAuthState.d.ts +6 -0
  197. package/dist/hooks/useFirebaseAuthState.js +23 -0
  198. package/dist/hooks/useFirebaseAuthState.js.map +1 -0
  199. package/dist/hooks/useTicketTierForm.d.ts +61 -0
  200. package/dist/index.d.ts +8 -15
  201. package/dist/index.js +9 -49
  202. package/dist/index.js.map +1 -1
  203. package/dist/lib/actions.d.ts +318 -0
  204. package/dist/lib/actions.js +32 -0
  205. package/dist/lib/actions.js.map +1 -0
  206. package/dist/lib/constants.d.ts +72 -0
  207. package/dist/lib/cropImage.d.ts +28 -0
  208. package/dist/lib/cropImage.js +113 -0
  209. package/dist/lib/cropImage.js.map +1 -0
  210. package/dist/lib/imageAnalysis.d.ts +16 -0
  211. package/dist/lib/imageAnalysis.js +58 -0
  212. package/dist/lib/imageAnalysis.js.map +1 -0
  213. package/dist/lib/utils.d.ts +3 -0
  214. package/dist/lib/utils.js +9 -0
  215. package/dist/lib/utils.js.map +1 -0
  216. package/dist/node_modules/@dnd-kit/core/dist/core.esm.js +2 -2
  217. package/dist/node_modules/@dnd-kit/sortable/dist/sortable.esm.js +2 -2
  218. package/dist/node_modules/@firebase/app/dist/esm/index.esm.js +768 -0
  219. package/dist/node_modules/@firebase/app/dist/esm/index.esm.js.map +1 -0
  220. package/dist/node_modules/@firebase/component/dist/esm/index.esm.js +340 -0
  221. package/dist/node_modules/@firebase/component/dist/esm/index.esm.js.map +1 -0
  222. package/dist/node_modules/@firebase/logger/dist/esm/index.esm.js +123 -0
  223. package/dist/node_modules/@firebase/logger/dist/esm/index.esm.js.map +1 -0
  224. package/dist/node_modules/@firebase/storage/dist/index.esm.js +2623 -0
  225. package/dist/node_modules/@firebase/storage/dist/index.esm.js.map +1 -0
  226. package/dist/node_modules/@firebase/util/dist/index.esm.js +658 -0
  227. package/dist/node_modules/@firebase/util/dist/index.esm.js.map +1 -0
  228. package/dist/node_modules/@firebase/util/dist/postinstall.js +5 -0
  229. package/dist/node_modules/@firebase/util/dist/postinstall.js.map +1 -0
  230. package/dist/node_modules/@fortawesome/react-fontawesome/dist/index.js +2 -2
  231. package/dist/node_modules/@heroicons/react/20/solid/esm/CheckIcon.js +27 -0
  232. package/dist/node_modules/@heroicons/react/20/solid/esm/CheckIcon.js.map +1 -0
  233. package/dist/node_modules/@heroicons/react/20/solid/esm/ChevronDownIcon.js +27 -0
  234. package/dist/node_modules/@heroicons/react/20/solid/esm/ChevronDownIcon.js.map +1 -0
  235. package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowRightIcon.js +29 -0
  236. package/dist/node_modules/@heroicons/react/24/outline/esm/ArrowRightIcon.js.map +1 -0
  237. package/dist/node_modules/@heroicons/react/24/outline/esm/ClockIcon.js +29 -0
  238. package/dist/node_modules/@heroicons/react/24/outline/esm/ClockIcon.js.map +1 -0
  239. package/dist/node_modules/@heroicons/react/24/outline/esm/DocumentDuplicateIcon.js +29 -0
  240. package/dist/node_modules/@heroicons/react/24/outline/esm/DocumentDuplicateIcon.js.map +1 -0
  241. package/dist/node_modules/@heroicons/react/24/outline/esm/LinkIcon.js +29 -0
  242. package/dist/node_modules/@heroicons/react/24/outline/esm/LinkIcon.js.map +1 -0
  243. package/dist/node_modules/@heroicons/react/24/outline/esm/MagnifyingGlassIcon.js +29 -0
  244. package/dist/node_modules/@heroicons/react/24/outline/esm/MagnifyingGlassIcon.js.map +1 -0
  245. package/dist/node_modules/@heroicons/react/24/outline/esm/MapPinIcon.js +33 -0
  246. package/dist/node_modules/@heroicons/react/24/outline/esm/MapPinIcon.js.map +1 -0
  247. package/dist/node_modules/@heroicons/react/24/outline/esm/VideoCameraIcon.js +29 -0
  248. package/dist/node_modules/@heroicons/react/24/outline/esm/VideoCameraIcon.js.map +1 -0
  249. package/dist/node_modules/@heroicons/react/24/outline/esm/XMarkIcon.js +29 -0
  250. package/dist/node_modules/@heroicons/react/24/outline/esm/XMarkIcon.js.map +1 -0
  251. package/dist/node_modules/@tiptap/core/dist/index.js +5446 -0
  252. package/dist/node_modules/@tiptap/core/dist/index.js.map +1 -0
  253. package/dist/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.js +21 -0
  254. package/dist/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.js.map +1 -0
  255. package/dist/node_modules/@tiptap/extension-blockquote/dist/index.js +78 -0
  256. package/dist/node_modules/@tiptap/extension-blockquote/dist/index.js.map +1 -0
  257. package/dist/node_modules/@tiptap/extension-bold/dist/index.js +100 -0
  258. package/dist/node_modules/@tiptap/extension-bold/dist/index.js.map +1 -0
  259. package/dist/node_modules/@tiptap/extension-code/dist/index.js +70 -0
  260. package/dist/node_modules/@tiptap/extension-code/dist/index.js.map +1 -0
  261. package/dist/node_modules/@tiptap/extension-code-block/dist/index.js +317 -0
  262. package/dist/node_modules/@tiptap/extension-code-block/dist/index.js.map +1 -0
  263. package/dist/node_modules/@tiptap/extension-document/dist/index.js +16 -0
  264. package/dist/node_modules/@tiptap/extension-document/dist/index.js.map +1 -0
  265. package/dist/node_modules/@tiptap/extension-hard-break/dist/index.js +66 -0
  266. package/dist/node_modules/@tiptap/extension-hard-break/dist/index.js.map +1 -0
  267. package/dist/node_modules/@tiptap/extension-heading/dist/index.js +86 -0
  268. package/dist/node_modules/@tiptap/extension-heading/dist/index.js.map +1 -0
  269. package/dist/node_modules/@tiptap/extension-horizontal-rule/dist/index.js +80 -0
  270. package/dist/node_modules/@tiptap/extension-horizontal-rule/dist/index.js.map +1 -0
  271. package/dist/node_modules/@tiptap/extension-italic/dist/index.js +98 -0
  272. package/dist/node_modules/@tiptap/extension-italic/dist/index.js.map +1 -0
  273. package/dist/node_modules/@tiptap/extension-link/dist/index.js +423 -0
  274. package/dist/node_modules/@tiptap/extension-link/dist/index.js.map +1 -0
  275. package/dist/node_modules/@tiptap/extension-list/dist/index.js +1039 -0
  276. package/dist/node_modules/@tiptap/extension-list/dist/index.js.map +1 -0
  277. package/dist/node_modules/@tiptap/extension-paragraph/dist/index.js +61 -0
  278. package/dist/node_modules/@tiptap/extension-paragraph/dist/index.js.map +1 -0
  279. package/dist/node_modules/@tiptap/extension-placeholder/dist/index.js +7 -0
  280. package/dist/node_modules/@tiptap/extension-placeholder/dist/index.js.map +1 -0
  281. package/dist/node_modules/@tiptap/extension-strike/dist/index.js +79 -0
  282. package/dist/node_modules/@tiptap/extension-strike/dist/index.js.map +1 -0
  283. package/dist/node_modules/@tiptap/extension-text/dist/index.js +16 -0
  284. package/dist/node_modules/@tiptap/extension-text/dist/index.js.map +1 -0
  285. package/dist/node_modules/@tiptap/extension-underline/dist/index.js +76 -0
  286. package/dist/node_modules/@tiptap/extension-underline/dist/index.js.map +1 -0
  287. package/dist/node_modules/@tiptap/extensions/dist/index.js +376 -0
  288. package/dist/node_modules/@tiptap/extensions/dist/index.js.map +1 -0
  289. package/dist/node_modules/@tiptap/react/dist/index.js +650 -0
  290. package/dist/node_modules/@tiptap/react/dist/index.js.map +1 -0
  291. package/dist/node_modules/@tiptap/starter-kit/dist/index.js +97 -0
  292. package/dist/node_modules/@tiptap/starter-kit/dist/index.js.map +1 -0
  293. package/dist/node_modules/dayjs/dayjs.min.js +1 -1
  294. package/dist/node_modules/dayjs/plugin/duration.js +137 -0
  295. package/dist/node_modules/dayjs/plugin/duration.js.map +1 -0
  296. package/dist/node_modules/dayjs/plugin/isBetween.js +20 -0
  297. package/dist/node_modules/dayjs/plugin/isBetween.js.map +1 -0
  298. package/dist/node_modules/dayjs/plugin/relativeTime.js +49 -0
  299. package/dist/node_modules/dayjs/plugin/relativeTime.js.map +1 -0
  300. package/dist/node_modules/fast-equals/dist/es/index.js +442 -0
  301. package/dist/node_modules/fast-equals/dist/es/index.js.map +1 -0
  302. package/dist/node_modules/idb/build/index.js +70 -0
  303. package/dist/node_modules/idb/build/index.js.map +1 -0
  304. package/dist/node_modules/idb/build/wrap-idb-value.js +149 -0
  305. package/dist/node_modules/idb/build/wrap-idb-value.js.map +1 -0
  306. package/dist/node_modules/linkifyjs/dist/linkify.js +1159 -0
  307. package/dist/node_modules/linkifyjs/dist/linkify.js.map +1 -0
  308. package/dist/node_modules/orderedmap/dist/index.js +120 -0
  309. package/dist/node_modules/orderedmap/dist/index.js.map +1 -0
  310. package/dist/node_modules/prosemirror-commands/dist/index.js +527 -0
  311. package/dist/node_modules/prosemirror-commands/dist/index.js.map +1 -0
  312. package/dist/node_modules/prosemirror-dropcursor/dist/index.js +137 -0
  313. package/dist/node_modules/prosemirror-dropcursor/dist/index.js.map +1 -0
  314. package/dist/node_modules/prosemirror-gapcursor/dist/index.js +221 -0
  315. package/dist/node_modules/prosemirror-gapcursor/dist/index.js.map +1 -0
  316. package/dist/node_modules/prosemirror-history/dist/index.js +357 -0
  317. package/dist/node_modules/prosemirror-history/dist/index.js.map +1 -0
  318. package/dist/node_modules/prosemirror-keymap/dist/index.js +84 -0
  319. package/dist/node_modules/prosemirror-keymap/dist/index.js.map +1 -0
  320. package/dist/node_modules/prosemirror-model/dist/index.js +3209 -0
  321. package/dist/node_modules/prosemirror-model/dist/index.js.map +1 -0
  322. package/dist/node_modules/prosemirror-schema-list/dist/index.js +131 -0
  323. package/dist/node_modules/prosemirror-schema-list/dist/index.js.map +1 -0
  324. package/dist/node_modules/prosemirror-state/dist/index.js +936 -0
  325. package/dist/node_modules/prosemirror-state/dist/index.js.map +1 -0
  326. package/dist/node_modules/prosemirror-transform/dist/index.js +1881 -0
  327. package/dist/node_modules/prosemirror-transform/dist/index.js.map +1 -0
  328. package/dist/node_modules/prosemirror-view/dist/index.js +5232 -0
  329. package/dist/node_modules/prosemirror-view/dist/index.js.map +1 -0
  330. package/dist/node_modules/rope-sequence/dist/index.js +184 -0
  331. package/dist/node_modules/rope-sequence/dist/index.js.map +1 -0
  332. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js +82 -0
  333. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js.map +1 -0
  334. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js +78 -0
  335. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js.map +1 -0
  336. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +78 -0
  337. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js.map +1 -0
  338. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +63 -0
  339. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js.map +1 -0
  340. package/dist/node_modules/use-sync-external-store/shim/index.js +13 -0
  341. package/dist/node_modules/use-sync-external-store/shim/index.js.map +1 -0
  342. package/dist/node_modules/use-sync-external-store/shim/with-selector.js +13 -0
  343. package/dist/node_modules/use-sync-external-store/shim/with-selector.js.map +1 -0
  344. package/dist/node_modules/w3c-keyname/index.js +106 -0
  345. package/dist/node_modules/w3c-keyname/index.js.map +1 -0
  346. package/dist/node_modules/zod/v4/classic/coerce.js +10 -0
  347. package/dist/node_modules/zod/v4/classic/coerce.js.map +1 -0
  348. package/dist/node_modules/zod/v4/classic/schemas.js +22 -4
  349. package/dist/node_modules/zod/v4/classic/schemas.js.map +1 -1
  350. package/dist/node_modules/zod/v4/core/api.js +18 -0
  351. package/dist/node_modules/zod/v4/core/api.js.map +1 -1
  352. package/dist/node_modules/zod/v4/core/json-schema-processors.js +4 -0
  353. package/dist/node_modules/zod/v4/core/json-schema-processors.js.map +1 -1
  354. package/dist/node_modules/zod/v4/core/regexes.js +2 -0
  355. package/dist/node_modules/zod/v4/core/regexes.js.map +1 -1
  356. package/dist/node_modules/zod/v4/core/schemas.js +25 -3
  357. package/dist/node_modules/zod/v4/core/schemas.js.map +1 -1
  358. package/dist/redux/baseQuery.d.ts +1 -0
  359. package/dist/redux/baseQuery.js +24 -0
  360. package/dist/redux/baseQuery.js.map +1 -0
  361. package/dist/services/eventApi.d.ts +4383 -0
  362. package/dist/services/eventApi.js +411 -0
  363. package/dist/services/eventApi.js.map +1 -0
  364. package/dist/services/helpers.d.ts +50 -0
  365. package/dist/services/helpers.js +115 -0
  366. package/dist/services/helpers.js.map +1 -0
  367. package/dist/services/initialize-firebase.d.ts +2 -0
  368. package/dist/services/initialize-firebase.js +20 -0
  369. package/dist/services/initialize-firebase.js.map +1 -0
  370. package/dist/services/process-image-on-server.d.ts +1 -0
  371. package/dist/services/process-image-on-server.js +30 -0
  372. package/dist/services/process-image-on-server.js.map +1 -0
  373. package/dist/services/remote-config.d.ts +5 -0
  374. package/dist/services/remote-config.js +9 -0
  375. package/dist/services/remote-config.js.map +1 -0
  376. package/dist/services/single-event-api.d.ts +4287 -0
  377. package/dist/services/single-event-api.js +301 -0
  378. package/dist/services/single-event-api.js.map +1 -0
  379. package/dist/services/utils.d.ts +35 -0
  380. package/dist/services/utils.js +107 -0
  381. package/dist/services/utils.js.map +1 -0
  382. package/dist/stories/Alert.stories.d.ts +1 -1
  383. package/dist/styles.css +3531 -96
  384. package/dist/types/events.d.ts +60 -0
  385. package/dist/types/question.d.ts +37 -0
  386. package/dist/types/redux-types.d.ts +15 -0
  387. package/dist/types/types.d.ts +60 -0
  388. package/dist/types/types.js +10 -0
  389. package/dist/types/types.js.map +1 -0
  390. package/dist/utils/cn.js +2 -2
  391. package/dist/utils/cn.js.map +1 -1
  392. package/dist/utils/date-range.d.ts +4 -0
  393. package/dist/utils/date-range.js +13 -0
  394. package/dist/utils/date-range.js.map +1 -0
  395. package/dist/utils/single-event-helpers.d.ts +50 -0
  396. package/dist/utils/single-event-helpers.js +18 -0
  397. package/dist/utils/single-event-helpers.js.map +1 -0
  398. package/dist/utils/social-validation.d.ts +10 -0
  399. package/dist/utils/social-validation.js +42 -0
  400. package/dist/utils/social-validation.js.map +1 -0
  401. package/dist/utils/utils.d.ts +59 -0
  402. package/dist/utils/utils.js +20 -0
  403. package/dist/utils/utils.js.map +1 -0
  404. package/package.json +18 -2
  405. package/dist/_virtual/index2.js +0 -5
  406. package/dist/_virtual/index2.js.map +0 -1
  407. package/dist/_virtual/jsx-runtime.js +0 -5
  408. package/dist/_virtual/jsx-runtime.js.map +0 -1
  409. package/dist/_virtual/react-is.development.js +0 -5
  410. package/dist/_virtual/react-is.development.js.map +0 -1
  411. package/dist/_virtual/react-is.production.min.js +0 -5
  412. package/dist/_virtual/react-is.production.min.js.map +0 -1
  413. package/dist/_virtual/react-jsx-runtime.development.js +0 -5
  414. package/dist/_virtual/react-jsx-runtime.development.js.map +0 -1
  415. package/dist/_virtual/react-jsx-runtime.production.js +0 -5
  416. package/dist/_virtual/react-jsx-runtime.production.js.map +0 -1
  417. package/dist/_virtual/use-sync-external-store-with-selector.development.js +0 -5
  418. package/dist/_virtual/use-sync-external-store-with-selector.development.js.map +0 -1
  419. package/dist/_virtual/use-sync-external-store-with-selector.production.js +0 -5
  420. package/dist/_virtual/use-sync-external-store-with-selector.production.js.map +0 -1
  421. package/dist/components/StepperForm/AddEventLayout.d.ts +0 -66
  422. package/dist/components/StepperForm/AddEventLayout.js +0 -220
  423. package/dist/components/StepperForm/AddEventLayout.js.map +0 -1
  424. package/dist/components/StepperForm/EventSubmissionConfirmationModal.d.ts +0 -19
  425. package/dist/components/StepperForm/EventSubmissionConfirmationModal.js +0 -296
  426. package/dist/components/StepperForm/EventSubmissionConfirmationModal.js.map +0 -1
  427. package/dist/components/StepperForm/index.d.ts +0 -8
  428. package/dist/components/StepperForm/schemas/step1.js +0 -130
  429. package/dist/components/StepperForm/schemas/step1.js.map +0 -1
  430. package/dist/components/StepperForm/schemas/step2.d.ts +0 -138
  431. package/dist/components/StepperForm/schemas/step2.js +0 -95
  432. package/dist/components/StepperForm/schemas/step2.js.map +0 -1
  433. package/dist/components/StepperForm/schemas/utils.js.map +0 -1
  434. package/dist/components/StepperForm/useStepperForm.d.ts +0 -81
  435. package/dist/components/StepperForm/useStepperForm.js +0 -366
  436. package/dist/components/StepperForm/useStepperForm.js.map +0 -1
  437. package/dist/components/Toggle/Toggle.js +0 -67
  438. package/dist/components/Toggle/Toggle.js.map +0 -1
  439. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -538
  440. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +0 -1
  441. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -626
  442. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +0 -1
  443. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js +0 -510
  444. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js.map +0 -1
  445. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js +0 -17
  446. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js.map +0 -1
  447. package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -269
  448. package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +0 -1
  449. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -177
  450. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +0 -1
  451. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -150
  452. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +0 -1
  453. package/dist/node_modules/@headlessui/react/dist/components/description/description.js +0 -40
  454. package/dist/node_modules/@headlessui/react/dist/components/description/description.js.map +0 -1
  455. package/dist/node_modules/@headlessui/react/dist/components/dialog/dialog.js +0 -111
  456. package/dist/node_modules/@headlessui/react/dist/components/dialog/dialog.js.map +0 -1
  457. package/dist/node_modules/@headlessui/react/dist/components/focus-trap/focus-trap.js +0 -133
  458. package/dist/node_modules/@headlessui/react/dist/components/focus-trap/focus-trap.js.map +0 -1
  459. package/dist/node_modules/@headlessui/react/dist/components/keyboard.js +0 -5
  460. package/dist/node_modules/@headlessui/react/dist/components/keyboard.js.map +0 -1
  461. package/dist/node_modules/@headlessui/react/dist/components/label/label.js +0 -62
  462. package/dist/node_modules/@headlessui/react/dist/components/label/label.js.map +0 -1
  463. package/dist/node_modules/@headlessui/react/dist/components/menu/menu-machine-glue.js +0 -22
  464. package/dist/node_modules/@headlessui/react/dist/components/menu/menu-machine-glue.js.map +0 -1
  465. package/dist/node_modules/@headlessui/react/dist/components/menu/menu-machine.js +0 -127
  466. package/dist/node_modules/@headlessui/react/dist/components/menu/menu-machine.js.map +0 -1
  467. package/dist/node_modules/@headlessui/react/dist/components/menu/menu.js +0 -206
  468. package/dist/node_modules/@headlessui/react/dist/components/menu/menu.js.map +0 -1
  469. package/dist/node_modules/@headlessui/react/dist/components/mouse.js +0 -5
  470. package/dist/node_modules/@headlessui/react/dist/components/mouse.js.map +0 -1
  471. package/dist/node_modules/@headlessui/react/dist/components/portal/portal.js +0 -65
  472. package/dist/node_modules/@headlessui/react/dist/components/portal/portal.js.map +0 -1
  473. package/dist/node_modules/@headlessui/react/dist/components/transition/transition.js +0 -136
  474. package/dist/node_modules/@headlessui/react/dist/components/transition/transition.js.map +0 -1
  475. package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/adjust-scrollbar-padding.js +0 -15
  476. package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/adjust-scrollbar-padding.js.map +0 -1
  477. package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/handle-ios-locking.js +0 -53
  478. package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/handle-ios-locking.js.map +0 -1
  479. package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/overflow-store.js +0 -39
  480. package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/overflow-store.js.map +0 -1
  481. package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/prevent-scroll.js +0 -9
  482. package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/prevent-scroll.js.map +0 -1
  483. package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/use-document-overflow.js +0 -13
  484. package/dist/node_modules/@headlessui/react/dist/hooks/document-overflow/use-document-overflow.js.map +0 -1
  485. package/dist/node_modules/@headlessui/react/dist/hooks/use-active-press.js +0 -34
  486. package/dist/node_modules/@headlessui/react/dist/hooks/use-active-press.js.map +0 -1
  487. package/dist/node_modules/@headlessui/react/dist/hooks/use-disposables.js +0 -10
  488. package/dist/node_modules/@headlessui/react/dist/hooks/use-disposables.js.map +0 -1
  489. package/dist/node_modules/@headlessui/react/dist/hooks/use-document-event.js +0 -16
  490. package/dist/node_modules/@headlessui/react/dist/hooks/use-document-event.js.map +0 -1
  491. package/dist/node_modules/@headlessui/react/dist/hooks/use-element-size.js +0 -27
  492. package/dist/node_modules/@headlessui/react/dist/hooks/use-element-size.js.map +0 -1
  493. package/dist/node_modules/@headlessui/react/dist/hooks/use-escape.js +0 -13
  494. package/dist/node_modules/@headlessui/react/dist/hooks/use-escape.js.map +0 -1
  495. package/dist/node_modules/@headlessui/react/dist/hooks/use-event-listener.js +0 -16
  496. package/dist/node_modules/@headlessui/react/dist/hooks/use-event-listener.js.map +0 -1
  497. package/dist/node_modules/@headlessui/react/dist/hooks/use-event.js +0 -10
  498. package/dist/node_modules/@headlessui/react/dist/hooks/use-event.js.map +0 -1
  499. package/dist/node_modules/@headlessui/react/dist/hooks/use-flags.js +0 -9
  500. package/dist/node_modules/@headlessui/react/dist/hooks/use-flags.js.map +0 -1
  501. package/dist/node_modules/@headlessui/react/dist/hooks/use-handle-toggle.js +0 -16
  502. package/dist/node_modules/@headlessui/react/dist/hooks/use-handle-toggle.js.map +0 -1
  503. package/dist/node_modules/@headlessui/react/dist/hooks/use-inert-others.js +0 -42
  504. package/dist/node_modules/@headlessui/react/dist/hooks/use-inert-others.js.map +0 -1
  505. package/dist/node_modules/@headlessui/react/dist/hooks/use-is-mounted.js +0 -12
  506. package/dist/node_modules/@headlessui/react/dist/hooks/use-is-mounted.js.map +0 -1
  507. package/dist/node_modules/@headlessui/react/dist/hooks/use-is-top-layer.js +0 -14
  508. package/dist/node_modules/@headlessui/react/dist/hooks/use-is-top-layer.js.map +0 -1
  509. package/dist/node_modules/@headlessui/react/dist/hooks/use-is-touch-device.js +0 -17
  510. package/dist/node_modules/@headlessui/react/dist/hooks/use-is-touch-device.js.map +0 -1
  511. package/dist/node_modules/@headlessui/react/dist/hooks/use-iso-morphic-effect.js +0 -9
  512. package/dist/node_modules/@headlessui/react/dist/hooks/use-iso-morphic-effect.js.map +0 -1
  513. package/dist/node_modules/@headlessui/react/dist/hooks/use-latest-value.js +0 -12
  514. package/dist/node_modules/@headlessui/react/dist/hooks/use-latest-value.js.map +0 -1
  515. package/dist/node_modules/@headlessui/react/dist/hooks/use-on-disappear.js +0 -29
  516. package/dist/node_modules/@headlessui/react/dist/hooks/use-on-disappear.js.map +0 -1
  517. package/dist/node_modules/@headlessui/react/dist/hooks/use-on-unmount.js +0 -15
  518. package/dist/node_modules/@headlessui/react/dist/hooks/use-on-unmount.js.map +0 -1
  519. package/dist/node_modules/@headlessui/react/dist/hooks/use-outside-click.js +0 -39
  520. package/dist/node_modules/@headlessui/react/dist/hooks/use-outside-click.js.map +0 -1
  521. package/dist/node_modules/@headlessui/react/dist/hooks/use-owner.js +0 -9
  522. package/dist/node_modules/@headlessui/react/dist/hooks/use-owner.js.map +0 -1
  523. package/dist/node_modules/@headlessui/react/dist/hooks/use-quick-release.js +0 -33
  524. package/dist/node_modules/@headlessui/react/dist/hooks/use-quick-release.js.map +0 -1
  525. package/dist/node_modules/@headlessui/react/dist/hooks/use-resolve-button-type.js +0 -13
  526. package/dist/node_modules/@headlessui/react/dist/hooks/use-resolve-button-type.js.map +0 -1
  527. package/dist/node_modules/@headlessui/react/dist/hooks/use-root-containers.js +0 -39
  528. package/dist/node_modules/@headlessui/react/dist/hooks/use-root-containers.js.map +0 -1
  529. package/dist/node_modules/@headlessui/react/dist/hooks/use-scroll-lock.js +0 -13
  530. package/dist/node_modules/@headlessui/react/dist/hooks/use-scroll-lock.js.map +0 -1
  531. package/dist/node_modules/@headlessui/react/dist/hooks/use-server-handoff-complete.js +0 -17
  532. package/dist/node_modules/@headlessui/react/dist/hooks/use-server-handoff-complete.js.map +0 -1
  533. package/dist/node_modules/@headlessui/react/dist/hooks/use-slot.js +0 -8
  534. package/dist/node_modules/@headlessui/react/dist/hooks/use-slot.js.map +0 -1
  535. package/dist/node_modules/@headlessui/react/dist/hooks/use-store.js +0 -8
  536. package/dist/node_modules/@headlessui/react/dist/hooks/use-store.js.map +0 -1
  537. package/dist/node_modules/@headlessui/react/dist/hooks/use-sync-refs.js +0 -21
  538. package/dist/node_modules/@headlessui/react/dist/hooks/use-sync-refs.js.map +0 -1
  539. package/dist/node_modules/@headlessui/react/dist/hooks/use-tab-direction.js +0 -14
  540. package/dist/node_modules/@headlessui/react/dist/hooks/use-tab-direction.js.map +0 -1
  541. package/dist/node_modules/@headlessui/react/dist/hooks/use-text-value.js +0 -18
  542. package/dist/node_modules/@headlessui/react/dist/hooks/use-text-value.js.map +0 -1
  543. package/dist/node_modules/@headlessui/react/dist/hooks/use-tracked-pointer.js +0 -17
  544. package/dist/node_modules/@headlessui/react/dist/hooks/use-tracked-pointer.js.map +0 -1
  545. package/dist/node_modules/@headlessui/react/dist/hooks/use-transition.js +0 -74
  546. package/dist/node_modules/@headlessui/react/dist/hooks/use-transition.js.map +0 -1
  547. package/dist/node_modules/@headlessui/react/dist/hooks/use-tree-walker.js +0 -19
  548. package/dist/node_modules/@headlessui/react/dist/hooks/use-tree-walker.js.map +0 -1
  549. package/dist/node_modules/@headlessui/react/dist/hooks/use-watch.js +0 -16
  550. package/dist/node_modules/@headlessui/react/dist/hooks/use-watch.js.map +0 -1
  551. package/dist/node_modules/@headlessui/react/dist/hooks/use-window-event.js +0 -16
  552. package/dist/node_modules/@headlessui/react/dist/hooks/use-window-event.js.map +0 -1
  553. package/dist/node_modules/@headlessui/react/dist/internal/close-provider.js +0 -10
  554. package/dist/node_modules/@headlessui/react/dist/internal/close-provider.js.map +0 -1
  555. package/dist/node_modules/@headlessui/react/dist/internal/disabled.js +0 -9
  556. package/dist/node_modules/@headlessui/react/dist/internal/disabled.js.map +0 -1
  557. package/dist/node_modules/@headlessui/react/dist/internal/floating.js +0 -155
  558. package/dist/node_modules/@headlessui/react/dist/internal/floating.js.map +0 -1
  559. package/dist/node_modules/@headlessui/react/dist/internal/hidden.js +0 -14
  560. package/dist/node_modules/@headlessui/react/dist/internal/hidden.js.map +0 -1
  561. package/dist/node_modules/@headlessui/react/dist/internal/id.js +0 -9
  562. package/dist/node_modules/@headlessui/react/dist/internal/id.js.map +0 -1
  563. package/dist/node_modules/@headlessui/react/dist/internal/open-closed.js +0 -20
  564. package/dist/node_modules/@headlessui/react/dist/internal/open-closed.js.map +0 -1
  565. package/dist/node_modules/@headlessui/react/dist/internal/portal-force-root.js +0 -13
  566. package/dist/node_modules/@headlessui/react/dist/internal/portal-force-root.js.map +0 -1
  567. package/dist/node_modules/@headlessui/react/dist/machine.js +0 -83
  568. package/dist/node_modules/@headlessui/react/dist/machine.js.map +0 -1
  569. package/dist/node_modules/@headlessui/react/dist/machines/stack-machine.js +0 -39
  570. package/dist/node_modules/@headlessui/react/dist/machines/stack-machine.js.map +0 -1
  571. package/dist/node_modules/@headlessui/react/dist/react-glue.js +0 -13
  572. package/dist/node_modules/@headlessui/react/dist/react-glue.js.map +0 -1
  573. package/dist/node_modules/@headlessui/react/dist/utils/active-element-history.js +0 -16
  574. package/dist/node_modules/@headlessui/react/dist/utils/active-element-history.js.map +0 -1
  575. package/dist/node_modules/@headlessui/react/dist/utils/bugs.js +0 -20
  576. package/dist/node_modules/@headlessui/react/dist/utils/bugs.js.map +0 -1
  577. package/dist/node_modules/@headlessui/react/dist/utils/calculate-active-index.js +0 -41
  578. package/dist/node_modules/@headlessui/react/dist/utils/calculate-active-index.js.map +0 -1
  579. package/dist/node_modules/@headlessui/react/dist/utils/class-names.js +0 -7
  580. package/dist/node_modules/@headlessui/react/dist/utils/class-names.js.map +0 -1
  581. package/dist/node_modules/@headlessui/react/dist/utils/default-map.js +0 -14
  582. package/dist/node_modules/@headlessui/react/dist/utils/default-map.js.map +0 -1
  583. package/dist/node_modules/@headlessui/react/dist/utils/disposables.js +0 -41
  584. package/dist/node_modules/@headlessui/react/dist/utils/disposables.js.map +0 -1
  585. package/dist/node_modules/@headlessui/react/dist/utils/document-ready.js +0 -10
  586. package/dist/node_modules/@headlessui/react/dist/utils/document-ready.js.map +0 -1
  587. package/dist/node_modules/@headlessui/react/dist/utils/dom.js +0 -47
  588. package/dist/node_modules/@headlessui/react/dist/utils/dom.js.map +0 -1
  589. package/dist/node_modules/@headlessui/react/dist/utils/element-movement.js +0 -23
  590. package/dist/node_modules/@headlessui/react/dist/utils/element-movement.js.map +0 -1
  591. package/dist/node_modules/@headlessui/react/dist/utils/env.js +0 -39
  592. package/dist/node_modules/@headlessui/react/dist/utils/env.js.map +0 -1
  593. package/dist/node_modules/@headlessui/react/dist/utils/focus-management.js +0 -98
  594. package/dist/node_modules/@headlessui/react/dist/utils/focus-management.js.map +0 -1
  595. package/dist/node_modules/@headlessui/react/dist/utils/get-text-value.js +0 -32
  596. package/dist/node_modules/@headlessui/react/dist/utils/get-text-value.js.map +0 -1
  597. package/dist/node_modules/@headlessui/react/dist/utils/match.js +0 -12
  598. package/dist/node_modules/@headlessui/react/dist/utils/match.js.map +0 -1
  599. package/dist/node_modules/@headlessui/react/dist/utils/micro-task.js +0 -9
  600. package/dist/node_modules/@headlessui/react/dist/utils/micro-task.js.map +0 -1
  601. package/dist/node_modules/@headlessui/react/dist/utils/owner.js +0 -23
  602. package/dist/node_modules/@headlessui/react/dist/utils/owner.js.map +0 -1
  603. package/dist/node_modules/@headlessui/react/dist/utils/platform.js +0 -15
  604. package/dist/node_modules/@headlessui/react/dist/utils/platform.js.map +0 -1
  605. package/dist/node_modules/@headlessui/react/dist/utils/render.js +0 -134
  606. package/dist/node_modules/@headlessui/react/dist/utils/render.js.map +0 -1
  607. package/dist/node_modules/@headlessui/react/dist/utils/store.js +0 -15
  608. package/dist/node_modules/@headlessui/react/dist/utils/store.js.map +0 -1
  609. package/dist/node_modules/@react-aria/focus/dist/useFocusRing.js +0 -49
  610. package/dist/node_modules/@react-aria/focus/dist/useFocusRing.js.map +0 -1
  611. package/dist/node_modules/@react-aria/interactions/dist/useFocus.js +0 -42
  612. package/dist/node_modules/@react-aria/interactions/dist/useFocus.js.map +0 -1
  613. package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.js +0 -170
  614. package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.js.map +0 -1
  615. package/dist/node_modules/@react-aria/interactions/dist/useFocusWithin.js +0 -76
  616. package/dist/node_modules/@react-aria/interactions/dist/useFocusWithin.js.map +0 -1
  617. package/dist/node_modules/@react-aria/interactions/dist/useHover.js +0 -125
  618. package/dist/node_modules/@react-aria/interactions/dist/useHover.js.map +0 -1
  619. package/dist/node_modules/@react-aria/interactions/dist/utils.js +0 -86
  620. package/dist/node_modules/@react-aria/interactions/dist/utils.js.map +0 -1
  621. package/dist/node_modules/@react-aria/utils/dist/DOMFunctions.js +0 -37
  622. package/dist/node_modules/@react-aria/utils/dist/DOMFunctions.js.map +0 -1
  623. package/dist/node_modules/@react-aria/utils/dist/domHelpers.js +0 -21
  624. package/dist/node_modules/@react-aria/utils/dist/domHelpers.js.map +0 -1
  625. package/dist/node_modules/@react-aria/utils/dist/focusWithoutScrolling.js +0 -56
  626. package/dist/node_modules/@react-aria/utils/dist/focusWithoutScrolling.js.map +0 -1
  627. package/dist/node_modules/@react-aria/utils/dist/isVirtualEvent.js +0 -10
  628. package/dist/node_modules/@react-aria/utils/dist/isVirtualEvent.js.map +0 -1
  629. package/dist/node_modules/@react-aria/utils/dist/openLink.js +0 -35
  630. package/dist/node_modules/@react-aria/utils/dist/openLink.js.map +0 -1
  631. package/dist/node_modules/@react-aria/utils/dist/platform.js +0 -57
  632. package/dist/node_modules/@react-aria/utils/dist/platform.js.map +0 -1
  633. package/dist/node_modules/@react-aria/utils/dist/useGlobalListeners.js +0 -44
  634. package/dist/node_modules/@react-aria/utils/dist/useGlobalListeners.js.map +0 -1
  635. package/dist/node_modules/@react-aria/utils/dist/useLayoutEffect.js +0 -7
  636. package/dist/node_modules/@react-aria/utils/dist/useLayoutEffect.js.map +0 -1
  637. package/dist/node_modules/@react-stately/flags/dist/import.js +0 -8
  638. package/dist/node_modules/@react-stately/flags/dist/import.js.map +0 -1
  639. package/dist/node_modules/clsx/dist/clsx.js +0 -17
  640. package/dist/node_modules/clsx/dist/clsx.js.map +0 -1
  641. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +0 -85
  642. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js.map +0 -1
  643. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +0 -50
  644. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js.map +0 -1
  645. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +0 -87
  646. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js.map +0 -1
  647. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +0 -20
  648. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js.map +0 -1
  649. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +0 -15
  650. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js.map +0 -1
  651. package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +0 -6
  652. package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js.map +0 -1
  653. package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +0 -6
  654. package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js.map +0 -1
  655. package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +0 -10
  656. package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js.map +0 -1
  657. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +0 -14
  658. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js.map +0 -1
  659. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +0 -6
  660. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js.map +0 -1
  661. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +0 -16
  662. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js.map +0 -1
  663. package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +0 -6
  664. package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js.map +0 -1
  665. package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +0 -6
  666. package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js.map +0 -1
  667. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +0 -9
  668. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js.map +0 -1
  669. package/dist/node_modules/framer-motion/dist/es/events/event-info.js +0 -15
  670. package/dist/node_modules/framer-motion/dist/es/events/event-info.js.map +0 -1
  671. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +0 -430
  672. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js.map +0 -1
  673. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +0 -39
  674. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js.map +0 -1
  675. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +0 -94
  676. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js.map +0 -1
  677. package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +0 -36
  678. package/dist/node_modules/framer-motion/dist/es/gestures/focus.js.map +0 -1
  679. package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +0 -32
  680. package/dist/node_modules/framer-motion/dist/es/gestures/hover.js.map +0 -1
  681. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +0 -216
  682. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js.map +0 -1
  683. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +0 -51
  684. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js.map +0 -1
  685. package/dist/node_modules/framer-motion/dist/es/gestures/press.js +0 -39
  686. package/dist/node_modules/framer-motion/dist/es/gestures/press.js.map +0 -1
  687. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +0 -62
  688. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js.map +0 -1
  689. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +0 -42
  690. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js.map +0 -1
  691. package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +0 -14
  692. package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js.map +0 -1
  693. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +0 -43
  694. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js.map +0 -1
  695. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +0 -18
  696. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js.map +0 -1
  697. package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +0 -22
  698. package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js.map +0 -1
  699. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +0 -112
  700. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js.map +0 -1
  701. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +0 -12
  702. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js.map +0 -1
  703. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +0 -16
  704. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js.map +0 -1
  705. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +0 -67
  706. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js.map +0 -1
  707. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +0 -34
  708. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js.map +0 -1
  709. package/dist/node_modules/framer-motion/dist/es/motion/index.js +0 -70
  710. package/dist/node_modules/framer-motion/dist/es/motion/index.js.map +0 -1
  711. package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +0 -5
  712. package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js.map +0 -1
  713. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +0 -37
  714. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js.map +0 -1
  715. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +0 -109
  716. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js.map +0 -1
  717. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +0 -67
  718. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js.map +0 -1
  719. package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +0 -40
  720. package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js.map +0 -1
  721. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +0 -36
  722. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js.map +0 -1
  723. package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +0 -14
  724. package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js.map +0 -1
  725. package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +0 -8
  726. package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js.map +0 -1
  727. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +0 -14
  728. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js.map +0 -1
  729. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +0 -22
  730. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js.map +0 -1
  731. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +0 -32
  732. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js.map +0 -1
  733. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +0 -30
  734. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js.map +0 -1
  735. package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +0 -11
  736. package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js.map +0 -1
  737. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +0 -45
  738. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js.map +0 -1
  739. package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +0 -10
  740. package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js.map +0 -1
  741. package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +0 -31
  742. package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js.map +0 -1
  743. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +0 -25
  744. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js.map +0 -1
  745. package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +0 -11
  746. package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js.map +0 -1
  747. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +0 -9
  748. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js.map +0 -1
  749. package/dist/node_modules/framer-motion/dist/es/utils/distance.js +0 -11
  750. package/dist/node_modules/framer-motion/dist/es/utils/distance.js.map +0 -1
  751. package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +0 -7
  752. package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js.map +0 -1
  753. package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +0 -5
  754. package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js.map +0 -1
  755. package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +0 -7
  756. package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js.map +0 -1
  757. package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js +0 -39
  758. package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js.map +0 -1
  759. package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +0 -12
  760. package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js.map +0 -1
  761. package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +0 -7
  762. package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js.map +0 -1
  763. package/dist/node_modules/imask/esm/controls/html-contenteditable-mask-element.js +0 -52
  764. package/dist/node_modules/imask/esm/controls/html-contenteditable-mask-element.js.map +0 -1
  765. package/dist/node_modules/imask/esm/controls/html-input-mask-element.js +0 -33
  766. package/dist/node_modules/imask/esm/controls/html-input-mask-element.js.map +0 -1
  767. package/dist/node_modules/imask/esm/controls/html-mask-element.js +0 -79
  768. package/dist/node_modules/imask/esm/controls/html-mask-element.js.map +0 -1
  769. package/dist/node_modules/imask/esm/controls/input-history.js +0 -37
  770. package/dist/node_modules/imask/esm/controls/input-history.js.map +0 -1
  771. package/dist/node_modules/imask/esm/controls/input.js +0 -309
  772. package/dist/node_modules/imask/esm/controls/input.js.map +0 -1
  773. package/dist/node_modules/imask/esm/controls/mask-element.js +0 -44
  774. package/dist/node_modules/imask/esm/controls/mask-element.js.map +0 -1
  775. package/dist/node_modules/imask/esm/core/action-details.js +0 -58
  776. package/dist/node_modules/imask/esm/core/action-details.js.map +0 -1
  777. package/dist/node_modules/imask/esm/core/change-details.js +0 -41
  778. package/dist/node_modules/imask/esm/core/change-details.js.map +0 -1
  779. package/dist/node_modules/imask/esm/core/continuous-tail-details.js +0 -53
  780. package/dist/node_modules/imask/esm/core/continuous-tail-details.js.map +0 -1
  781. package/dist/node_modules/imask/esm/core/holder.js +0 -7
  782. package/dist/node_modules/imask/esm/core/holder.js.map +0 -1
  783. package/dist/node_modules/imask/esm/core/utils.js +0 -71
  784. package/dist/node_modules/imask/esm/core/utils.js.map +0 -1
  785. package/dist/node_modules/imask/esm/index.js +0 -51
  786. package/dist/node_modules/imask/esm/index.js.map +0 -1
  787. package/dist/node_modules/imask/esm/masked/base.js +0 -359
  788. package/dist/node_modules/imask/esm/masked/base.js.map +0 -1
  789. package/dist/node_modules/imask/esm/masked/date.js +0 -132
  790. package/dist/node_modules/imask/esm/masked/date.js.map +0 -1
  791. package/dist/node_modules/imask/esm/masked/dynamic.js +0 -318
  792. package/dist/node_modules/imask/esm/masked/dynamic.js.map +0 -1
  793. package/dist/node_modules/imask/esm/masked/enum.js +0 -99
  794. package/dist/node_modules/imask/esm/masked/enum.js.map +0 -1
  795. package/dist/node_modules/imask/esm/masked/factory.js +0 -63
  796. package/dist/node_modules/imask/esm/masked/factory.js.map +0 -1
  797. package/dist/node_modules/imask/esm/masked/function.js +0 -24
  798. package/dist/node_modules/imask/esm/masked/function.js.map +0 -1
  799. package/dist/node_modules/imask/esm/masked/number.js +0 -287
  800. package/dist/node_modules/imask/esm/masked/number.js.map +0 -1
  801. package/dist/node_modules/imask/esm/masked/pattern/chunk-tail-details.js +0 -139
  802. package/dist/node_modules/imask/esm/masked/pattern/chunk-tail-details.js.map +0 -1
  803. package/dist/node_modules/imask/esm/masked/pattern/cursor.js +0 -122
  804. package/dist/node_modules/imask/esm/masked/pattern/cursor.js.map +0 -1
  805. package/dist/node_modules/imask/esm/masked/pattern/fixed-definition.js +0 -147
  806. package/dist/node_modules/imask/esm/masked/pattern/fixed-definition.js.map +0 -1
  807. package/dist/node_modules/imask/esm/masked/pattern/input-definition.js +0 -177
  808. package/dist/node_modules/imask/esm/masked/pattern/input-definition.js.map +0 -1
  809. package/dist/node_modules/imask/esm/masked/pattern.js +0 -432
  810. package/dist/node_modules/imask/esm/masked/pattern.js.map +0 -1
  811. package/dist/node_modules/imask/esm/masked/pipe.js +0 -32
  812. package/dist/node_modules/imask/esm/masked/pipe.js.map +0 -1
  813. package/dist/node_modules/imask/esm/masked/range.js +0 -110
  814. package/dist/node_modules/imask/esm/masked/range.js.map +0 -1
  815. package/dist/node_modules/imask/esm/masked/regexp.js +0 -23
  816. package/dist/node_modules/imask/esm/masked/regexp.js.map +0 -1
  817. package/dist/node_modules/imask/esm/masked/repeat.js +0 -133
  818. package/dist/node_modules/imask/esm/masked/repeat.js.map +0 -1
  819. package/dist/node_modules/lucide-react/dist/esm/Icon.js +0 -39
  820. package/dist/node_modules/lucide-react/dist/esm/Icon.js.map +0 -1
  821. package/dist/node_modules/lucide-react/dist/esm/context.js +0 -7
  822. package/dist/node_modules/lucide-react/dist/esm/context.js.map +0 -1
  823. package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js +0 -31
  824. package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js.map +0 -1
  825. package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js +0 -21
  826. package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js.map +0 -1
  827. package/dist/node_modules/lucide-react/dist/esm/icons/calendar.js +0 -19
  828. package/dist/node_modules/lucide-react/dist/esm/icons/calendar.js.map +0 -1
  829. package/dist/node_modules/lucide-react/dist/esm/icons/check.js +0 -14
  830. package/dist/node_modules/lucide-react/dist/esm/icons/check.js.map +0 -1
  831. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down.js +0 -14
  832. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-down.js.map +0 -1
  833. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-left.js +0 -14
  834. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-left.js.map +0 -1
  835. package/dist/node_modules/lucide-react/dist/esm/icons/clipboard-list.js +0 -27
  836. package/dist/node_modules/lucide-react/dist/esm/icons/clipboard-list.js.map +0 -1
  837. package/dist/node_modules/lucide-react/dist/esm/icons/copy.js +0 -17
  838. package/dist/node_modules/lucide-react/dist/esm/icons/copy.js.map +0 -1
  839. package/dist/node_modules/lucide-react/dist/esm/icons/eye.js +0 -23
  840. package/dist/node_modules/lucide-react/dist/esm/icons/eye.js.map +0 -1
  841. package/dist/node_modules/lucide-react/dist/esm/icons/info.js +0 -18
  842. package/dist/node_modules/lucide-react/dist/esm/icons/info.js.map +0 -1
  843. package/dist/node_modules/lucide-react/dist/esm/icons/loader-circle.js +0 -14
  844. package/dist/node_modules/lucide-react/dist/esm/icons/loader-circle.js.map +0 -1
  845. package/dist/node_modules/lucide-react/dist/esm/icons/plus.js +0 -17
  846. package/dist/node_modules/lucide-react/dist/esm/icons/plus.js.map +0 -1
  847. package/dist/node_modules/lucide-react/dist/esm/icons/trash-2.js +0 -20
  848. package/dist/node_modules/lucide-react/dist/esm/icons/trash-2.js.map +0 -1
  849. package/dist/node_modules/lucide-react/dist/esm/icons/triangle-alert.js +0 -24
  850. package/dist/node_modules/lucide-react/dist/esm/icons/triangle-alert.js.map +0 -1
  851. package/dist/node_modules/lucide-react/dist/esm/icons/user.js +0 -17
  852. package/dist/node_modules/lucide-react/dist/esm/icons/user.js.map +0 -1
  853. package/dist/node_modules/lucide-react/dist/esm/icons/users.js +0 -19
  854. package/dist/node_modules/lucide-react/dist/esm/icons/users.js.map +0 -1
  855. package/dist/node_modules/lucide-react/dist/esm/icons/x.js +0 -17
  856. package/dist/node_modules/lucide-react/dist/esm/icons/x.js.map +0 -1
  857. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/hasA11yProp.js +0 -18
  858. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/hasA11yProp.js.map +0 -1
  859. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.js +0 -13
  860. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.js.map +0 -1
  861. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/toCamelCase.js +0 -14
  862. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/toCamelCase.js.map +0 -1
  863. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/toKebabCase.js +0 -11
  864. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/toKebabCase.js.map +0 -1
  865. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/toPascalCase.js +0 -15
  866. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/toPascalCase.js.map +0 -1
  867. package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +0 -159
  868. package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js.map +0 -1
  869. package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +0 -300
  870. package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js.map +0 -1
  871. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +0 -165
  872. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js.map +0 -1
  873. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +0 -52
  874. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js.map +0 -1
  875. package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js +0 -12
  876. package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js.map +0 -1
  877. package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +0 -18
  878. package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js.map +0 -1
  879. package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +0 -68
  880. package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js.map +0 -1
  881. package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +0 -38
  882. package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js.map +0 -1
  883. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js +0 -247
  884. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js.map +0 -1
  885. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +0 -16
  886. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js.map +0 -1
  887. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +0 -17
  888. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js.map +0 -1
  889. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +0 -7
  890. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js.map +0 -1
  891. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +0 -10
  892. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js.map +0 -1
  893. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +0 -70
  894. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js.map +0 -1
  895. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +0 -72
  896. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js.map +0 -1
  897. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +0 -38
  898. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js.map +0 -1
  899. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js +0 -23
  900. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js.map +0 -1
  901. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +0 -109
  902. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js.map +0 -1
  903. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +0 -133
  904. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js.map +0 -1
  905. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +0 -11
  906. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js.map +0 -1
  907. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +0 -10
  908. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js.map +0 -1
  909. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +0 -13
  910. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js.map +0 -1
  911. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +0 -7
  912. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js.map +0 -1
  913. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +0 -9
  914. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js.map +0 -1
  915. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +0 -14
  916. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js.map +0 -1
  917. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +0 -23
  918. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js.map +0 -1
  919. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +0 -44
  920. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js.map +0 -1
  921. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js +0 -8
  922. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js.map +0 -1
  923. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js +0 -8
  924. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js.map +0 -1
  925. package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +0 -28
  926. package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js.map +0 -1
  927. package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js +0 -11
  928. package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js.map +0 -1
  929. package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +0 -32
  930. package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js.map +0 -1
  931. package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +0 -32
  932. package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js.map +0 -1
  933. package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +0 -34
  934. package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js.map +0 -1
  935. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +0 -12
  936. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js.map +0 -1
  937. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +0 -17
  938. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js.map +0 -1
  939. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +0 -21
  940. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js.map +0 -1
  941. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +0 -23
  942. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js.map +0 -1
  943. package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +0 -8
  944. package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js.map +0 -1
  945. package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +0 -19
  946. package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js.map +0 -1
  947. package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js +0 -11
  948. package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js.map +0 -1
  949. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +0 -5
  950. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js.map +0 -1
  951. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +0 -22
  952. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js.map +0 -1
  953. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +0 -16
  954. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js.map +0 -1
  955. package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +0 -27
  956. package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js.map +0 -1
  957. package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +0 -38
  958. package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js.map +0 -1
  959. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js +0 -13
  960. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js.map +0 -1
  961. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +0 -15
  962. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js.map +0 -1
  963. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js +0 -13
  964. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js.map +0 -1
  965. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +0 -12
  966. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js.map +0 -1
  967. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +0 -20
  968. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js.map +0 -1
  969. package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js +0 -8
  970. package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js.map +0 -1
  971. package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +0 -68
  972. package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js.map +0 -1
  973. package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +0 -10
  974. package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js.map +0 -1
  975. package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +0 -6
  976. package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js.map +0 -1
  977. package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +0 -22
  978. package/dist/node_modules/motion-dom/dist/es/frameloop/order.js.map +0 -1
  979. package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +0 -65
  980. package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js.map +0 -1
  981. package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +0 -22
  982. package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js.map +0 -1
  983. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +0 -12
  984. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js.map +0 -1
  985. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +0 -26
  986. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js.map +0 -1
  987. package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +0 -63
  988. package/dist/node_modules/motion-dom/dist/es/gestures/hover.js.map +0 -1
  989. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +0 -63
  990. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js.map +0 -1
  991. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +0 -19
  992. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js.map +0 -1
  993. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +0 -33
  994. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js.map +0 -1
  995. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +0 -5
  996. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js.map +0 -1
  997. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +0 -13
  998. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js.map +0 -1
  999. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +0 -11
  1000. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js.map +0 -1
  1001. package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +0 -16
  1002. package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js.map +0 -1
  1003. package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +0 -61
  1004. package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js.map +0 -1
  1005. package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js +0 -27
  1006. package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js.map +0 -1
  1007. package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js +0 -20
  1008. package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js.map +0 -1
  1009. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +0 -88
  1010. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js.map +0 -1
  1011. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +0 -58
  1012. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js.map +0 -1
  1013. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +0 -41
  1014. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js.map +0 -1
  1015. package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js +0 -22
  1016. package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js.map +0 -1
  1017. package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js +0 -35
  1018. package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js.map +0 -1
  1019. package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +0 -17
  1020. package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js.map +0 -1
  1021. package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js +0 -29
  1022. package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js.map +0 -1
  1023. package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +0 -1123
  1024. package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js.map +0 -1
  1025. package/dist/node_modules/motion-dom/dist/es/projection/node/state.js +0 -16
  1026. package/dist/node_modules/motion-dom/dist/es/projection/node/state.js.map +0 -1
  1027. package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js +0 -88
  1028. package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js.map +0 -1
  1029. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +0 -27
  1030. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js.map +0 -1
  1031. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +0 -26
  1032. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js.map +0 -1
  1033. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +0 -22
  1034. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js.map +0 -1
  1035. package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js +0 -37
  1036. package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js.map +0 -1
  1037. package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js +0 -5
  1038. package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js.map +0 -1
  1039. package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js +0 -7
  1040. package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js.map +0 -1
  1041. package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js +0 -25
  1042. package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js.map +0 -1
  1043. package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js +0 -21
  1044. package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js.map +0 -1
  1045. package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js +0 -19
  1046. package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js.map +0 -1
  1047. package/dist/node_modules/motion-dom/dist/es/render/Feature.js +0 -12
  1048. package/dist/node_modules/motion-dom/dist/es/render/Feature.js.map +0 -1
  1049. package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js +0 -432
  1050. package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js.map +0 -1
  1051. package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +0 -38
  1052. package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js.map +0 -1
  1053. package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +0 -5
  1054. package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js.map +0 -1
  1055. package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +0 -84
  1056. package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js.map +0 -1
  1057. package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +0 -8
  1058. package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js.map +0 -1
  1059. package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +0 -7
  1060. package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js.map +0 -1
  1061. package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +0 -42
  1062. package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js.map +0 -1
  1063. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +0 -43
  1064. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js.map +0 -1
  1065. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +0 -49
  1066. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js.map +0 -1
  1067. package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js +0 -15
  1068. package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js.map +0 -1
  1069. package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +0 -20
  1070. package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js.map +0 -1
  1071. package/dist/node_modules/motion-dom/dist/es/render/store.js +0 -5
  1072. package/dist/node_modules/motion-dom/dist/es/render/store.js.map +0 -1
  1073. package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +0 -46
  1074. package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js.map +0 -1
  1075. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +0 -60
  1076. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js.map +0 -1
  1077. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js +0 -29
  1078. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js.map +0 -1
  1079. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js +0 -5
  1080. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js.map +0 -1
  1081. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js +0 -18
  1082. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js.map +0 -1
  1083. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js +0 -13
  1084. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js.map +0 -1
  1085. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +0 -17
  1086. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js.map +0 -1
  1087. package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js +0 -229
  1088. package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js.map +0 -1
  1089. package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js +0 -27
  1090. package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js.map +0 -1
  1091. package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js +0 -7
  1092. package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js.map +0 -1
  1093. package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +0 -14
  1094. package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js.map +0 -1
  1095. package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +0 -10
  1096. package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js.map +0 -1
  1097. package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js +0 -7
  1098. package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js.map +0 -1
  1099. package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js +0 -7
  1100. package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js.map +0 -1
  1101. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +0 -14
  1102. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js.map +0 -1
  1103. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +0 -25
  1104. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js.map +0 -1
  1105. package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js +0 -34
  1106. package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js.map +0 -1
  1107. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +0 -21
  1108. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js.map +0 -1
  1109. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js +0 -7
  1110. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js.map +0 -1
  1111. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js +0 -9
  1112. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js.map +0 -1
  1113. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js +0 -26
  1114. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js.map +0 -1
  1115. package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js +0 -26
  1116. package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js.map +0 -1
  1117. package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js +0 -16
  1118. package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js.map +0 -1
  1119. package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js +0 -15
  1120. package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js.map +0 -1
  1121. package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js +0 -63
  1122. package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js.map +0 -1
  1123. package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js +0 -32
  1124. package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js.map +0 -1
  1125. package/dist/node_modules/motion-dom/dist/es/resize/index.js +0 -9
  1126. package/dist/node_modules/motion-dom/dist/es/resize/index.js.map +0 -1
  1127. package/dist/node_modules/motion-dom/dist/es/utils/delay.js +0 -18
  1128. package/dist/node_modules/motion-dom/dist/es/utils/delay.js.map +0 -1
  1129. package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +0 -54
  1130. package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js.map +0 -1
  1131. package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +0 -8
  1132. package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js.map +0 -1
  1133. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +0 -8
  1134. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js.map +0 -1
  1135. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +0 -8
  1136. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js.map +0 -1
  1137. package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +0 -45
  1138. package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js.map +0 -1
  1139. package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +0 -84
  1140. package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js.map +0 -1
  1141. package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +0 -7
  1142. package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js.map +0 -1
  1143. package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +0 -13
  1144. package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js.map +0 -1
  1145. package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +0 -7
  1146. package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js.map +0 -1
  1147. package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +0 -13
  1148. package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js.map +0 -1
  1149. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +0 -17
  1150. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js.map +0 -1
  1151. package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +0 -5
  1152. package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js.map +0 -1
  1153. package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +0 -13
  1154. package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js.map +0 -1
  1155. package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +0 -10
  1156. package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js.map +0 -1
  1157. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +0 -6
  1158. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js.map +0 -1
  1159. package/dist/node_modules/motion-dom/dist/es/value/index.js +0 -290
  1160. package/dist/node_modules/motion-dom/dist/es/value/index.js.map +0 -1
  1161. package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +0 -8
  1162. package/dist/node_modules/motion-dom/dist/es/value/types/auto.js.map +0 -1
  1163. package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +0 -38
  1164. package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js.map +0 -1
  1165. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +0 -40
  1166. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js.map +0 -1
  1167. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +0 -15
  1168. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js.map +0 -1
  1169. package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +0 -27
  1170. package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js.map +0 -1
  1171. package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +0 -19
  1172. package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js.map +0 -1
  1173. package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +0 -22
  1174. package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js.map +0 -1
  1175. package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js +0 -28
  1176. package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js.map +0 -1
  1177. package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +0 -93
  1178. package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js.map +0 -1
  1179. package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js +0 -13
  1180. package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js.map +0 -1
  1181. package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +0 -11
  1182. package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js.map +0 -1
  1183. package/dist/node_modules/motion-dom/dist/es/value/types/int.js +0 -9
  1184. package/dist/node_modules/motion-dom/dist/es/value/types/int.js.map +0 -1
  1185. package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +0 -29
  1186. package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js.map +0 -1
  1187. package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +0 -71
  1188. package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js.map +0 -1
  1189. package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +0 -32
  1190. package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js.map +0 -1
  1191. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +0 -20
  1192. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js.map +0 -1
  1193. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +0 -24
  1194. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js.map +0 -1
  1195. package/dist/node_modules/motion-dom/dist/es/value/types/test.js +0 -5
  1196. package/dist/node_modules/motion-dom/dist/es/value/types/test.js.map +0 -1
  1197. package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +0 -15
  1198. package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js.map +0 -1
  1199. package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +0 -5
  1200. package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js.map +0 -1
  1201. package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +0 -10
  1202. package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js.map +0 -1
  1203. package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +0 -5
  1204. package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js.map +0 -1
  1205. package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +0 -7
  1206. package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js.map +0 -1
  1207. package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +0 -7
  1208. package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js.map +0 -1
  1209. package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +0 -5
  1210. package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js.map +0 -1
  1211. package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +0 -5
  1212. package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js.map +0 -1
  1213. package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +0 -5
  1214. package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js.map +0 -1
  1215. package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +0 -8
  1216. package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js.map +0 -1
  1217. package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js +0 -16
  1218. package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js.map +0 -1
  1219. package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js +0 -8
  1220. package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js.map +0 -1
  1221. package/dist/node_modules/motion-utils/dist/es/array.js +0 -14
  1222. package/dist/node_modules/motion-utils/dist/es/array.js.map +0 -1
  1223. package/dist/node_modules/motion-utils/dist/es/clamp.js +0 -11
  1224. package/dist/node_modules/motion-utils/dist/es/clamp.js.map +0 -1
  1225. package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +0 -6
  1226. package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js.map +0 -1
  1227. package/dist/node_modules/motion-utils/dist/es/easing/back.js +0 -12
  1228. package/dist/node_modules/motion-utils/dist/es/easing/back.js.map +0 -1
  1229. package/dist/node_modules/motion-utils/dist/es/easing/circ.js +0 -11
  1230. package/dist/node_modules/motion-utils/dist/es/easing/circ.js.map +0 -1
  1231. package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +0 -29
  1232. package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js.map +0 -1
  1233. package/dist/node_modules/motion-utils/dist/es/easing/ease.js +0 -10
  1234. package/dist/node_modules/motion-utils/dist/es/easing/ease.js.map +0 -1
  1235. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +0 -5
  1236. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js.map +0 -1
  1237. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +0 -5
  1238. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js.map +0 -1
  1239. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +0 -5
  1240. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js.map +0 -1
  1241. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +0 -7
  1242. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js.map +0 -1
  1243. package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +0 -39
  1244. package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js.map +0 -1
  1245. package/dist/node_modules/motion-utils/dist/es/errors.js +0 -23
  1246. package/dist/node_modules/motion-utils/dist/es/errors.js.map +0 -1
  1247. package/dist/node_modules/motion-utils/dist/es/format-error-message.js +0 -7
  1248. package/dist/node_modules/motion-utils/dist/es/format-error-message.js.map +0 -1
  1249. package/dist/node_modules/motion-utils/dist/es/global-config.js +0 -5
  1250. package/dist/node_modules/motion-utils/dist/es/global-config.js.map +0 -1
  1251. package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +0 -5
  1252. package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js.map +0 -1
  1253. package/dist/node_modules/motion-utils/dist/es/is-object.js +0 -7
  1254. package/dist/node_modules/motion-utils/dist/es/is-object.js.map +0 -1
  1255. package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +0 -5
  1256. package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js.map +0 -1
  1257. package/dist/node_modules/motion-utils/dist/es/memo.js +0 -13
  1258. package/dist/node_modules/motion-utils/dist/es/memo.js.map +0 -1
  1259. package/dist/node_modules/motion-utils/dist/es/noop.js +0 -5
  1260. package/dist/node_modules/motion-utils/dist/es/noop.js.map +0 -1
  1261. package/dist/node_modules/motion-utils/dist/es/pipe.js +0 -6
  1262. package/dist/node_modules/motion-utils/dist/es/pipe.js.map +0 -1
  1263. package/dist/node_modules/motion-utils/dist/es/progress.js +0 -8
  1264. package/dist/node_modules/motion-utils/dist/es/progress.js.map +0 -1
  1265. package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +0 -33
  1266. package/dist/node_modules/motion-utils/dist/es/subscription-manager.js.map +0 -1
  1267. package/dist/node_modules/motion-utils/dist/es/time-conversion.js +0 -7
  1268. package/dist/node_modules/motion-utils/dist/es/time-conversion.js.map +0 -1
  1269. package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +0 -7
  1270. package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js.map +0 -1
  1271. package/dist/node_modules/motion-utils/dist/es/warn-once.js +0 -12
  1272. package/dist/node_modules/motion-utils/dist/es/warn-once.js.map +0 -1
  1273. package/dist/node_modules/object-assign/index.js +0 -79
  1274. package/dist/node_modules/object-assign/index.js.map +0 -1
  1275. package/dist/node_modules/prop-types/checkPropTypes.js +0 -69
  1276. package/dist/node_modules/prop-types/checkPropTypes.js.map +0 -1
  1277. package/dist/node_modules/prop-types/factoryWithThrowingShims.js +0 -59
  1278. package/dist/node_modules/prop-types/factoryWithThrowingShims.js.map +0 -1
  1279. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +0 -452
  1280. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js.map +0 -1
  1281. package/dist/node_modules/prop-types/index.js +0 -18
  1282. package/dist/node_modules/prop-types/index.js.map +0 -1
  1283. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -13
  1284. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +0 -1
  1285. package/dist/node_modules/prop-types/lib/has.js +0 -12
  1286. package/dist/node_modules/prop-types/lib/has.js.map +0 -1
  1287. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -166
  1288. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +0 -1
  1289. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -107
  1290. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +0 -1
  1291. package/dist/node_modules/prop-types/node_modules/react-is/index.js +0 -18
  1292. package/dist/node_modules/prop-types/node_modules/react-is/index.js.map +0 -1
  1293. package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +0 -271
  1294. package/dist/node_modules/react/cjs/react-jsx-runtime.development.js.map +0 -1
  1295. package/dist/node_modules/react/cjs/react-jsx-runtime.production.js +0 -42
  1296. package/dist/node_modules/react/cjs/react-jsx-runtime.production.js.map +0 -1
  1297. package/dist/node_modules/react/jsx-runtime.js +0 -13
  1298. package/dist/node_modules/react/jsx-runtime.js.map +0 -1
  1299. package/dist/node_modules/react-icons/fa/index.js +0 -9
  1300. package/dist/node_modules/react-icons/fa/index.js.map +0 -1
  1301. package/dist/node_modules/react-icons/fi/index.js +0 -9
  1302. package/dist/node_modules/react-icons/fi/index.js.map +0 -1
  1303. package/dist/node_modules/react-icons/lib/iconBase.js +0 -110
  1304. package/dist/node_modules/react-icons/lib/iconBase.js.map +0 -1
  1305. package/dist/node_modules/react-icons/lib/iconContext.js +0 -14
  1306. package/dist/node_modules/react-icons/lib/iconContext.js.map +0 -1
  1307. package/dist/node_modules/react-imask/esm/input.js +0 -28
  1308. package/dist/node_modules/react-imask/esm/input.js.map +0 -1
  1309. package/dist/node_modules/react-imask/esm/mixin.js +0 -172
  1310. package/dist/node_modules/react-imask/esm/mixin.js.map +0 -1
  1311. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +0 -2467
  1312. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +0 -1
  1313. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js +0 -81
  1314. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js.map +0 -1
  1315. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js +0 -77
  1316. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js.map +0 -1
  1317. package/dist/node_modules/use-sync-external-store/with-selector.js +0 -13
  1318. package/dist/node_modules/use-sync-external-store/with-selector.js.map +0 -1
  1319. /package/dist/components/{StepperForm → EventAddForm}/schemas/step1.d.ts +0 -0
  1320. /package/dist/components/{StepperForm → EventAddForm}/schemas/utils.d.ts +0 -0
  1321. /package/dist/components/{StepperForm → EventAddForm}/schemas/utils.js +0 -0
  1322. /package/dist/components/{StepperForm → EventAddForm}/types.d.ts +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"create-projection-node.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/projection/node/create-projection-node.mjs"],"sourcesContent":["import { SubscriptionManager, clamp, noop } from 'motion-utils';\nimport { animateSingleValue } from '../../animation/animate/single-value.mjs';\nimport { getOptimisedAppearId } from '../../animation/optimized-appear/get-appear-id.mjs';\nimport { getValueTransition } from '../../animation/utils/get-value-transition.mjs';\nimport { microtask } from '../../frameloop/microtask.mjs';\nimport { time } from '../../frameloop/sync-time.mjs';\nimport { scaleCorrectors } from '../styles/scale-correction.mjs';\nimport { activeAnimations } from '../../stats/animation-count.mjs';\nimport { statsBuffer } from '../../stats/buffer.mjs';\nimport { delay } from '../../utils/delay.mjs';\nimport { isSVGElement } from '../../utils/is-svg-element.mjs';\nimport { isSVGSVGElement } from '../../utils/is-svg-svg-element.mjs';\nimport { mixNumber } from '../../utils/mix/number.mjs';\nimport { motionValue } from '../../value/index.mjs';\nimport { resolveMotionValue } from '../../value/utils/resolve-motion-value.mjs';\nimport { mixValues } from '../animation/mix-values.mjs';\nimport { copyBoxInto, copyAxisDeltaInto, copyAxisInto } from '../geometry/copy.mjs';\nimport { translateAxis, transformBox, applyBoxDelta, applyTreeDeltas } from '../geometry/delta-apply.mjs';\nimport { calcLength, calcRelativeBox, calcRelativePosition, calcBoxDelta, isNear } from '../geometry/delta-calc.mjs';\nimport { removeBoxTransforms } from '../geometry/delta-remove.mjs';\nimport { createBox, createDelta } from '../geometry/models.mjs';\nimport { boxEqualsRounded, isDeltaZero, axisDeltaEquals, boxEquals, aspectRatio } from '../geometry/utils.mjs';\nimport { NodeStack } from '../shared/stack.mjs';\nimport { buildProjectionTransform } from '../styles/transform.mjs';\nimport { eachAxis } from '../utils/each-axis.mjs';\nimport { FlatTree } from '../utils/flat-tree.mjs';\nimport { hasTransform, hasScale, has2DTranslate } from '../utils/has-transform.mjs';\nimport { globalProjectionState } from './state.mjs';\nimport { frame, cancelFrame, frameData, frameSteps } from '../../frameloop/frame.mjs';\n\nconst metrics = {\n nodes: 0,\n calculatedTargetDeltas: 0,\n calculatedProjections: 0,\n};\nconst transformAxes = [\"\", \"X\", \"Y\", \"Z\"];\n/**\n * We use 1000 as the animation target as 0-1000 maps better to pixels than 0-1\n * which has a noticeable difference in spring animations\n */\nconst animationTarget = 1000;\nlet id = 0;\nfunction resetDistortingTransform(key, visualElement, values, sharedAnimationValues) {\n const { latestValues } = visualElement;\n // Record the distorting transform and then temporarily set it to 0\n if (latestValues[key]) {\n values[key] = latestValues[key];\n visualElement.setStaticValue(key, 0);\n if (sharedAnimationValues) {\n sharedAnimationValues[key] = 0;\n }\n }\n}\nfunction cancelTreeOptimisedTransformAnimations(projectionNode) {\n projectionNode.hasCheckedOptimisedAppear = true;\n if (projectionNode.root === projectionNode)\n return;\n const { visualElement } = projectionNode.options;\n if (!visualElement)\n return;\n const appearId = getOptimisedAppearId(visualElement);\n if (window.MotionHasOptimisedAnimation(appearId, \"transform\")) {\n const { layout, layoutId } = projectionNode.options;\n window.MotionCancelOptimisedAnimation(appearId, \"transform\", frame, !(layout || layoutId));\n }\n const { parent } = projectionNode;\n if (parent && !parent.hasCheckedOptimisedAppear) {\n cancelTreeOptimisedTransformAnimations(parent);\n }\n}\nfunction createProjectionNode({ attachResizeListener, defaultParent, measureScroll, checkIsScrollRoot, resetTransform, }) {\n return class ProjectionNode {\n constructor(latestValues = {}, parent = defaultParent?.()) {\n /**\n * A unique ID generated for every projection node.\n */\n this.id = id++;\n /**\n * An id that represents a unique session instigated by startUpdate.\n */\n this.animationId = 0;\n this.animationCommitId = 0;\n /**\n * A Set containing all this component's children. This is used to iterate\n * through the children.\n *\n * TODO: This could be faster to iterate as a flat array stored on the root node.\n */\n this.children = new Set();\n /**\n * Options for the node. We use this to configure what kind of layout animations\n * we should perform (if any).\n */\n this.options = {};\n /**\n * We use this to detect when its safe to shut down part of a projection tree.\n * We have to keep projecting children for scale correction and relative projection\n * until all their parents stop performing layout animations.\n */\n this.isTreeAnimating = false;\n this.isAnimationBlocked = false;\n /**\n * Flag to true if we think this layout has been changed. We can't always know this,\n * currently we set it to true every time a component renders, or if it has a layoutDependency\n * if that has changed between renders. Additionally, components can be grouped by LayoutGroup\n * and if one node is dirtied, they all are.\n */\n this.isLayoutDirty = false;\n /**\n * Flag to true if we think the projection calculations for this node needs\n * recalculating as a result of an updated transform or layout animation.\n */\n this.isProjectionDirty = false;\n /**\n * Flag to true if the layout *or* transform has changed. This then gets propagated\n * throughout the projection tree, forcing any element below to recalculate on the next frame.\n */\n this.isSharedProjectionDirty = false;\n /**\n * Flag transform dirty. This gets propagated throughout the whole tree but is only\n * respected by shared nodes.\n */\n this.isTransformDirty = false;\n /**\n * Block layout updates for instant layout transitions throughout the tree.\n */\n this.updateManuallyBlocked = false;\n this.updateBlockedByResize = false;\n /**\n * Set to true between the start of the first `willUpdate` call and the end of the `didUpdate`\n * call.\n */\n this.isUpdating = false;\n /**\n * If this is an SVG element we currently disable projection transforms\n */\n this.isSVG = false;\n /**\n * Flag to true (during promotion) if a node doing an instant layout transition needs to reset\n * its projection styles.\n */\n this.needsReset = false;\n /**\n * Flags whether this node should have its transform reset prior to measuring.\n */\n this.shouldResetTransform = false;\n /**\n * Store whether this node has been checked for optimised appear animations. As\n * effects fire bottom-up, and we want to look up the tree for appear animations,\n * this makes sure we only check each path once, stopping at nodes that\n * have already been checked.\n */\n this.hasCheckedOptimisedAppear = false;\n /**\n * An object representing the calculated contextual/accumulated/tree scale.\n * This will be used to scale calculcated projection transforms, as these are\n * calculated in screen-space but need to be scaled for elements to layoutly\n * make it to their calculated destinations.\n *\n * TODO: Lazy-init\n */\n this.treeScale = { x: 1, y: 1 };\n /**\n *\n */\n this.eventHandlers = new Map();\n this.hasTreeAnimated = false;\n this.layoutVersion = 0;\n // Note: Currently only running on root node\n this.updateScheduled = false;\n this.scheduleUpdate = () => this.update();\n this.projectionUpdateScheduled = false;\n this.checkUpdateFailed = () => {\n if (this.isUpdating) {\n this.isUpdating = false;\n this.clearAllSnapshots();\n }\n };\n /**\n * This is a multi-step process as shared nodes might be of different depths. Nodes\n * are sorted by depth order, so we need to resolve the entire tree before moving to\n * the next step.\n */\n this.updateProjection = () => {\n this.projectionUpdateScheduled = false;\n /**\n * Reset debug counts. Manually resetting rather than creating a new\n * object each frame.\n */\n if (statsBuffer.value) {\n metrics.nodes =\n metrics.calculatedTargetDeltas =\n metrics.calculatedProjections =\n 0;\n }\n this.nodes.forEach(propagateDirtyNodes);\n this.nodes.forEach(resolveTargetDelta);\n this.nodes.forEach(calcProjection);\n this.nodes.forEach(cleanDirtyNodes);\n if (statsBuffer.addProjectionMetrics) {\n statsBuffer.addProjectionMetrics(metrics);\n }\n };\n /**\n * Frame calculations\n */\n this.resolvedRelativeTargetAt = 0.0;\n this.linkedParentVersion = 0;\n this.hasProjected = false;\n this.isVisible = true;\n this.animationProgress = 0;\n /**\n * Shared layout\n */\n // TODO Only running on root node\n this.sharedNodes = new Map();\n this.latestValues = latestValues;\n this.root = parent ? parent.root || parent : this;\n this.path = parent ? [...parent.path, parent] : [];\n this.parent = parent;\n this.depth = parent ? parent.depth + 1 : 0;\n for (let i = 0; i < this.path.length; i++) {\n this.path[i].shouldResetTransform = true;\n }\n if (this.root === this)\n this.nodes = new FlatTree();\n }\n addEventListener(name, handler) {\n if (!this.eventHandlers.has(name)) {\n this.eventHandlers.set(name, new SubscriptionManager());\n }\n return this.eventHandlers.get(name).add(handler);\n }\n notifyListeners(name, ...args) {\n const subscriptionManager = this.eventHandlers.get(name);\n subscriptionManager && subscriptionManager.notify(...args);\n }\n hasListeners(name) {\n return this.eventHandlers.has(name);\n }\n /**\n * Lifecycles\n */\n mount(instance) {\n if (this.instance)\n return;\n this.isSVG = isSVGElement(instance) && !isSVGSVGElement(instance);\n this.instance = instance;\n const { layoutId, layout, visualElement } = this.options;\n if (visualElement && !visualElement.current) {\n visualElement.mount(instance);\n }\n this.root.nodes.add(this);\n this.parent && this.parent.children.add(this);\n if (this.root.hasTreeAnimated && (layout || layoutId)) {\n this.isLayoutDirty = true;\n }\n if (attachResizeListener) {\n let cancelDelay;\n let innerWidth = 0;\n const resizeUnblockUpdate = () => (this.root.updateBlockedByResize = false);\n // Set initial innerWidth in a frame.read callback to batch the read\n frame.read(() => {\n innerWidth = window.innerWidth;\n });\n attachResizeListener(instance, () => {\n const newInnerWidth = window.innerWidth;\n if (newInnerWidth === innerWidth)\n return;\n innerWidth = newInnerWidth;\n this.root.updateBlockedByResize = true;\n cancelDelay && cancelDelay();\n cancelDelay = delay(resizeUnblockUpdate, 250);\n if (globalProjectionState.hasAnimatedSinceResize) {\n globalProjectionState.hasAnimatedSinceResize = false;\n this.nodes.forEach(finishAnimation);\n }\n });\n }\n if (layoutId) {\n this.root.registerSharedNode(layoutId, this);\n }\n // Only register the handler if it requires layout animation\n if (this.options.animate !== false &&\n visualElement &&\n (layoutId || layout)) {\n this.addEventListener(\"didUpdate\", ({ delta, hasLayoutChanged, hasRelativeLayoutChanged, layout: newLayout, }) => {\n if (this.isTreeAnimationBlocked()) {\n this.target = undefined;\n this.relativeTarget = undefined;\n return;\n }\n // TODO: Check here if an animation exists\n const layoutTransition = this.options.transition ||\n visualElement.getDefaultTransition() ||\n defaultLayoutTransition;\n const { onLayoutAnimationStart, onLayoutAnimationComplete, } = visualElement.getProps();\n /**\n * The target layout of the element might stay the same,\n * but its position relative to its parent has changed.\n */\n const hasTargetChanged = !this.targetLayout ||\n !boxEqualsRounded(this.targetLayout, newLayout);\n /*\n * Note: Disabled to fix relative animations always triggering new\n * layout animations. If this causes further issues, we can try\n * a different approach to detecting relative target changes.\n */\n // || hasRelativeLayoutChanged\n /**\n * If the layout hasn't seemed to have changed, it might be that the\n * element is visually in the same place in the document but its position\n * relative to its parent has indeed changed. So here we check for that.\n */\n const hasOnlyRelativeTargetChanged = !hasLayoutChanged && hasRelativeLayoutChanged;\n if (this.options.layoutRoot ||\n this.resumeFrom ||\n hasOnlyRelativeTargetChanged ||\n (hasLayoutChanged &&\n (hasTargetChanged || !this.currentAnimation))) {\n if (this.resumeFrom) {\n this.resumingFrom = this.resumeFrom;\n this.resumingFrom.resumingFrom = undefined;\n }\n const animationOptions = {\n ...getValueTransition(layoutTransition, \"layout\"),\n onPlay: onLayoutAnimationStart,\n onComplete: onLayoutAnimationComplete,\n };\n if (visualElement.shouldReduceMotion ||\n this.options.layoutRoot) {\n animationOptions.delay = 0;\n animationOptions.type = false;\n }\n this.startAnimation(animationOptions);\n /**\n * Set animation origin after starting animation to avoid layout jump\n * caused by stopping previous layout animation\n */\n this.setAnimationOrigin(delta, hasOnlyRelativeTargetChanged);\n }\n else {\n /**\n * If the layout hasn't changed and we have an animation that hasn't started yet,\n * finish it immediately. Otherwise it will be animating from a location\n * that was probably never committed to screen and look like a jumpy box.\n */\n if (!hasLayoutChanged) {\n finishAnimation(this);\n }\n if (this.isLead() && this.options.onExitComplete) {\n this.options.onExitComplete();\n }\n }\n this.targetLayout = newLayout;\n });\n }\n }\n unmount() {\n this.options.layoutId && this.willUpdate();\n this.root.nodes.remove(this);\n const stack = this.getStack();\n stack && stack.remove(this);\n this.parent && this.parent.children.delete(this);\n this.instance = undefined;\n this.eventHandlers.clear();\n cancelFrame(this.updateProjection);\n }\n // only on the root\n blockUpdate() {\n this.updateManuallyBlocked = true;\n }\n unblockUpdate() {\n this.updateManuallyBlocked = false;\n }\n isUpdateBlocked() {\n return this.updateManuallyBlocked || this.updateBlockedByResize;\n }\n isTreeAnimationBlocked() {\n return (this.isAnimationBlocked ||\n (this.parent && this.parent.isTreeAnimationBlocked()) ||\n false);\n }\n // Note: currently only running on root node\n startUpdate() {\n if (this.isUpdateBlocked())\n return;\n this.isUpdating = true;\n this.nodes && this.nodes.forEach(resetSkewAndRotation);\n this.animationId++;\n }\n getTransformTemplate() {\n const { visualElement } = this.options;\n return visualElement && visualElement.getProps().transformTemplate;\n }\n willUpdate(shouldNotifyListeners = true) {\n this.root.hasTreeAnimated = true;\n if (this.root.isUpdateBlocked()) {\n this.options.onExitComplete && this.options.onExitComplete();\n return;\n }\n /**\n * If we're running optimised appear animations then these must be\n * cancelled before measuring the DOM. This is so we can measure\n * the true layout of the element rather than the WAAPI animation\n * which will be unaffected by the resetSkewAndRotate step.\n *\n * Note: This is a DOM write. Worst case scenario is this is sandwiched\n * between other snapshot reads which will cause unnecessary style recalculations.\n * This has to happen here though, as we don't yet know which nodes will need\n * snapshots in startUpdate(), but we only want to cancel optimised animations\n * if a layout animation measurement is actually going to be affected by them.\n */\n if (window.MotionCancelOptimisedAnimation &&\n !this.hasCheckedOptimisedAppear) {\n cancelTreeOptimisedTransformAnimations(this);\n }\n !this.root.isUpdating && this.root.startUpdate();\n if (this.isLayoutDirty)\n return;\n this.isLayoutDirty = true;\n for (let i = 0; i < this.path.length; i++) {\n const node = this.path[i];\n node.shouldResetTransform = true;\n /**\n * Percentage translates resolve against layoutBox dimensions,\n * so ancestors with them must be re-measured after transform reset.\n */\n if (typeof node.latestValues.x === \"string\" ||\n typeof node.latestValues.y === \"string\") {\n node.isLayoutDirty = true;\n }\n node.updateScroll(\"snapshot\");\n if (node.options.layoutRoot) {\n node.willUpdate(false);\n }\n }\n const { layoutId, layout } = this.options;\n if (layoutId === undefined && !layout)\n return;\n const transformTemplate = this.getTransformTemplate();\n this.prevTransformTemplateValue = transformTemplate\n ? transformTemplate(this.latestValues, \"\")\n : undefined;\n this.updateSnapshot();\n shouldNotifyListeners && this.notifyListeners(\"willUpdate\");\n }\n update() {\n this.updateScheduled = false;\n const updateWasBlocked = this.isUpdateBlocked();\n // When doing an instant transition, we skip the layout update,\n // but should still clean up the measurements so that the next\n // snapshot could be taken correctly.\n if (updateWasBlocked) {\n const wasBlockedByResize = this.updateBlockedByResize;\n this.unblockUpdate();\n this.updateBlockedByResize = false;\n this.clearAllSnapshots();\n /**\n * When blocked by resize, still measure layouts so\n * callbacks like onLayoutMeasure fire (e.g. Reorder).\n * Skip notifyLayoutUpdate to prevent animations.\n */\n if (wasBlockedByResize) {\n this.nodes.forEach(forceLayoutMeasure);\n }\n this.nodes.forEach(clearMeasurements);\n return;\n }\n /**\n * If this is a repeat of didUpdate then ignore the animation.\n */\n if (this.animationId <= this.animationCommitId) {\n this.nodes.forEach(clearIsLayoutDirty);\n return;\n }\n this.animationCommitId = this.animationId;\n if (!this.isUpdating) {\n this.nodes.forEach(clearIsLayoutDirty);\n }\n else {\n this.isUpdating = false;\n /**\n * Ensure animation-blocked nodes (e.g. during drag)\n * get measured even when memoized (willUpdate skipped).\n */\n this.nodes.forEach(ensureDraggedNodesSnapshotted);\n /**\n * Write\n */\n this.nodes.forEach(resetTransformStyle);\n /**\n * Read ==================\n */\n // Update layout measurements of updated children\n this.nodes.forEach(updateLayout);\n /**\n * Write\n */\n // Notify listeners that the layout is updated\n this.nodes.forEach(notifyLayoutUpdate);\n }\n this.clearAllSnapshots();\n /**\n * Manually flush any pending updates. Ideally\n * we could leave this to the following requestAnimationFrame but this seems\n * to leave a flash of incorrectly styled content.\n */\n const now = time.now();\n frameData.delta = clamp(0, 1000 / 60, now - frameData.timestamp);\n frameData.timestamp = now;\n frameData.isProcessing = true;\n frameSteps.update.process(frameData);\n frameSteps.preRender.process(frameData);\n frameSteps.render.process(frameData);\n frameData.isProcessing = false;\n }\n didUpdate() {\n if (!this.updateScheduled) {\n this.updateScheduled = true;\n microtask.read(this.scheduleUpdate);\n }\n }\n clearAllSnapshots() {\n this.nodes.forEach(clearSnapshot);\n this.sharedNodes.forEach(removeLeadSnapshots);\n }\n scheduleUpdateProjection() {\n if (!this.projectionUpdateScheduled) {\n this.projectionUpdateScheduled = true;\n frame.preRender(this.updateProjection, false, true);\n }\n }\n scheduleCheckAfterUnmount() {\n /**\n * If the unmounting node is in a layoutGroup and did trigger a willUpdate,\n * we manually call didUpdate to give a chance to the siblings to animate.\n * Otherwise, cleanup all snapshots to prevents future nodes from reusing them.\n */\n frame.postRender(() => {\n if (this.isLayoutDirty) {\n this.root.didUpdate();\n }\n else {\n this.root.checkUpdateFailed();\n }\n });\n }\n /**\n * Update measurements\n */\n updateSnapshot() {\n if (this.snapshot || !this.instance)\n return;\n this.snapshot = this.measure();\n if (this.snapshot &&\n !calcLength(this.snapshot.measuredBox.x) &&\n !calcLength(this.snapshot.measuredBox.y)) {\n this.snapshot = undefined;\n }\n }\n updateLayout() {\n if (!this.instance)\n return;\n this.updateScroll();\n if (!(this.options.alwaysMeasureLayout && this.isLead()) &&\n !this.isLayoutDirty) {\n return;\n }\n /**\n * When a node is mounted, it simply resumes from the prevLead's\n * snapshot instead of taking a new one, but the ancestors scroll\n * might have updated while the prevLead is unmounted. We need to\n * update the scroll again to make sure the layout we measure is\n * up to date.\n */\n if (this.resumeFrom && !this.resumeFrom.instance) {\n for (let i = 0; i < this.path.length; i++) {\n const node = this.path[i];\n node.updateScroll();\n }\n }\n const prevLayout = this.layout;\n this.layout = this.measure(false);\n this.layoutVersion++;\n if (!this.layoutCorrected)\n this.layoutCorrected = createBox();\n this.isLayoutDirty = false;\n this.projectionDelta = undefined;\n this.notifyListeners(\"measure\", this.layout.layoutBox);\n const { visualElement } = this.options;\n visualElement &&\n visualElement.notify(\"LayoutMeasure\", this.layout.layoutBox, prevLayout ? prevLayout.layoutBox : undefined);\n }\n updateScroll(phase = \"measure\") {\n let needsMeasurement = Boolean(this.options.layoutScroll && this.instance);\n if (this.scroll &&\n this.scroll.animationId === this.root.animationId &&\n this.scroll.phase === phase) {\n needsMeasurement = false;\n }\n if (needsMeasurement && this.instance) {\n const isRoot = checkIsScrollRoot(this.instance);\n this.scroll = {\n animationId: this.root.animationId,\n phase,\n isRoot,\n offset: measureScroll(this.instance),\n wasRoot: this.scroll ? this.scroll.isRoot : isRoot,\n };\n }\n }\n resetTransform() {\n if (!resetTransform)\n return;\n const isResetRequested = this.isLayoutDirty ||\n this.shouldResetTransform ||\n this.options.alwaysMeasureLayout;\n const hasProjection = this.projectionDelta && !isDeltaZero(this.projectionDelta);\n const transformTemplate = this.getTransformTemplate();\n const transformTemplateValue = transformTemplate\n ? transformTemplate(this.latestValues, \"\")\n : undefined;\n const transformTemplateHasChanged = transformTemplateValue !== this.prevTransformTemplateValue;\n if (isResetRequested &&\n this.instance &&\n (hasProjection ||\n hasTransform(this.latestValues) ||\n transformTemplateHasChanged)) {\n resetTransform(this.instance, transformTemplateValue);\n this.shouldResetTransform = false;\n this.scheduleRender();\n }\n }\n measure(removeTransform = true) {\n const pageBox = this.measurePageBox();\n let layoutBox = this.removeElementScroll(pageBox);\n /**\n * Measurements taken during the pre-render stage\n * still have transforms applied so we remove them\n * via calculation.\n */\n if (removeTransform) {\n layoutBox = this.removeTransform(layoutBox);\n }\n roundBox(layoutBox);\n return {\n animationId: this.root.animationId,\n measuredBox: pageBox,\n layoutBox,\n latestValues: {},\n source: this.id,\n };\n }\n measurePageBox() {\n const { visualElement } = this.options;\n if (!visualElement)\n return createBox();\n const box = visualElement.measureViewportBox();\n const wasInScrollRoot = this.scroll?.wasRoot || this.path.some(checkNodeWasScrollRoot);\n if (!wasInScrollRoot) {\n // Remove viewport scroll to give page-relative coordinates\n const { scroll } = this.root;\n if (scroll) {\n translateAxis(box.x, scroll.offset.x);\n translateAxis(box.y, scroll.offset.y);\n }\n }\n return box;\n }\n removeElementScroll(box) {\n const boxWithoutScroll = createBox();\n copyBoxInto(boxWithoutScroll, box);\n if (this.scroll?.wasRoot) {\n return boxWithoutScroll;\n }\n /**\n * Performance TODO: Keep a cumulative scroll offset down the tree\n * rather than loop back up the path.\n */\n for (let i = 0; i < this.path.length; i++) {\n const node = this.path[i];\n const { scroll, options } = node;\n if (node !== this.root && scroll && options.layoutScroll) {\n /**\n * If this is a new scroll root, we want to remove all previous scrolls\n * from the viewport box.\n */\n if (scroll.wasRoot) {\n copyBoxInto(boxWithoutScroll, box);\n }\n translateAxis(boxWithoutScroll.x, scroll.offset.x);\n translateAxis(boxWithoutScroll.y, scroll.offset.y);\n }\n }\n return boxWithoutScroll;\n }\n applyTransform(box, transformOnly = false, output) {\n const withTransforms = output || createBox();\n copyBoxInto(withTransforms, box);\n for (let i = 0; i < this.path.length; i++) {\n const node = this.path[i];\n if (!transformOnly &&\n node.options.layoutScroll &&\n node.scroll &&\n node !== node.root) {\n translateAxis(withTransforms.x, -node.scroll.offset.x);\n translateAxis(withTransforms.y, -node.scroll.offset.y);\n }\n if (!hasTransform(node.latestValues))\n continue;\n transformBox(withTransforms, node.latestValues, node.layout?.layoutBox);\n }\n if (hasTransform(this.latestValues)) {\n transformBox(withTransforms, this.latestValues, this.layout?.layoutBox);\n }\n return withTransforms;\n }\n removeTransform(box) {\n const boxWithoutTransform = createBox();\n copyBoxInto(boxWithoutTransform, box);\n for (let i = 0; i < this.path.length; i++) {\n const node = this.path[i];\n if (!hasTransform(node.latestValues))\n continue;\n let sourceBox;\n if (node.instance) {\n hasScale(node.latestValues) && node.updateSnapshot();\n sourceBox = createBox();\n copyBoxInto(sourceBox, node.measurePageBox());\n }\n removeBoxTransforms(boxWithoutTransform, node.latestValues, node.snapshot?.layoutBox, sourceBox);\n }\n if (hasTransform(this.latestValues)) {\n removeBoxTransforms(boxWithoutTransform, this.latestValues);\n }\n return boxWithoutTransform;\n }\n setTargetDelta(delta) {\n this.targetDelta = delta;\n this.root.scheduleUpdateProjection();\n this.isProjectionDirty = true;\n }\n setOptions(options) {\n this.options = {\n ...this.options,\n ...options,\n crossfade: options.crossfade !== undefined ? options.crossfade : true,\n };\n }\n clearMeasurements() {\n this.scroll = undefined;\n this.layout = undefined;\n this.snapshot = undefined;\n this.prevTransformTemplateValue = undefined;\n this.targetDelta = undefined;\n this.target = undefined;\n this.isLayoutDirty = false;\n }\n forceRelativeParentToResolveTarget() {\n if (!this.relativeParent)\n return;\n /**\n * If the parent target isn't up-to-date, force it to update.\n * This is an unfortunate de-optimisation as it means any updating relative\n * projection will cause all the relative parents to recalculate back\n * up the tree.\n */\n if (this.relativeParent.resolvedRelativeTargetAt !==\n frameData.timestamp) {\n this.relativeParent.resolveTargetDelta(true);\n }\n }\n resolveTargetDelta(forceRecalculation = false) {\n /**\n * Once the dirty status of nodes has been spread through the tree, we also\n * need to check if we have a shared node of a different depth that has itself\n * been dirtied.\n */\n const lead = this.getLead();\n this.isProjectionDirty || (this.isProjectionDirty = lead.isProjectionDirty);\n this.isTransformDirty || (this.isTransformDirty = lead.isTransformDirty);\n this.isSharedProjectionDirty || (this.isSharedProjectionDirty = lead.isSharedProjectionDirty);\n const isShared = Boolean(this.resumingFrom) || this !== lead;\n /**\n * We don't use transform for this step of processing so we don't\n * need to check whether any nodes have changed transform.\n */\n const canSkip = !(forceRecalculation ||\n (isShared && this.isSharedProjectionDirty) ||\n this.isProjectionDirty ||\n this.parent?.isProjectionDirty ||\n this.attemptToResolveRelativeTarget ||\n this.root.updateBlockedByResize);\n if (canSkip)\n return;\n const { layout, layoutId } = this.options;\n /**\n * If we have no layout, we can't perform projection, so early return\n */\n if (!this.layout || !(layout || layoutId))\n return;\n this.resolvedRelativeTargetAt = frameData.timestamp;\n const relativeParent = this.getClosestProjectingParent();\n if (relativeParent &&\n this.linkedParentVersion !== relativeParent.layoutVersion &&\n !relativeParent.options.layoutRoot) {\n this.removeRelativeTarget();\n }\n /**\n * If we don't have a targetDelta but do have a layout, we can attempt to resolve\n * a relativeParent. This will allow a component to perform scale correction\n * even if no animation has started.\n */\n if (!this.targetDelta && !this.relativeTarget) {\n if (this.options.layoutAnchor !== false &&\n relativeParent &&\n relativeParent.layout) {\n this.createRelativeTarget(relativeParent, this.layout.layoutBox, relativeParent.layout.layoutBox);\n }\n else {\n this.removeRelativeTarget();\n }\n }\n /**\n * If we have no relative target or no target delta our target isn't valid\n * for this frame.\n */\n if (!this.relativeTarget && !this.targetDelta)\n return;\n /**\n * Lazy-init target data structure\n */\n if (!this.target) {\n this.target = createBox();\n this.targetWithTransforms = createBox();\n }\n /**\n * If we've got a relative box for this component, resolve it into a target relative to the parent.\n */\n if (this.relativeTarget &&\n this.relativeTargetOrigin &&\n this.relativeParent &&\n this.relativeParent.target) {\n this.forceRelativeParentToResolveTarget();\n calcRelativeBox(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || undefined);\n /**\n * If we've only got a targetDelta, resolve it into a target\n */\n }\n else if (this.targetDelta) {\n if (Boolean(this.resumingFrom)) {\n this.applyTransform(this.layout.layoutBox, false, this.target);\n }\n else {\n copyBoxInto(this.target, this.layout.layoutBox);\n }\n applyBoxDelta(this.target, this.targetDelta);\n }\n else {\n /**\n * If no target, use own layout as target\n */\n copyBoxInto(this.target, this.layout.layoutBox);\n }\n /**\n * If we've been told to attempt to resolve a relative target, do so.\n */\n if (this.attemptToResolveRelativeTarget) {\n this.attemptToResolveRelativeTarget = false;\n if (this.options.layoutAnchor !== false &&\n relativeParent &&\n Boolean(relativeParent.resumingFrom) ===\n Boolean(this.resumingFrom) &&\n !relativeParent.options.layoutScroll &&\n relativeParent.target &&\n this.animationProgress !== 1) {\n this.createRelativeTarget(relativeParent, this.target, relativeParent.target);\n }\n else {\n this.relativeParent = this.relativeTarget = undefined;\n }\n }\n /**\n * Increase debug counter for resolved target deltas\n */\n if (statsBuffer.value) {\n metrics.calculatedTargetDeltas++;\n }\n }\n getClosestProjectingParent() {\n if (!this.parent ||\n hasScale(this.parent.latestValues) ||\n has2DTranslate(this.parent.latestValues)) {\n return undefined;\n }\n if (this.parent.isProjecting()) {\n return this.parent;\n }\n else {\n return this.parent.getClosestProjectingParent();\n }\n }\n isProjecting() {\n return Boolean((this.relativeTarget ||\n this.targetDelta ||\n this.options.layoutRoot) &&\n this.layout);\n }\n createRelativeTarget(relativeParent, layout, parentLayout) {\n this.relativeParent = relativeParent;\n this.linkedParentVersion = relativeParent.layoutVersion;\n this.forceRelativeParentToResolveTarget();\n this.relativeTarget = createBox();\n this.relativeTargetOrigin = createBox();\n calcRelativePosition(this.relativeTargetOrigin, layout, parentLayout, this.options.layoutAnchor || undefined);\n copyBoxInto(this.relativeTarget, this.relativeTargetOrigin);\n }\n removeRelativeTarget() {\n this.relativeParent = this.relativeTarget = undefined;\n }\n calcProjection() {\n const lead = this.getLead();\n const isShared = Boolean(this.resumingFrom) || this !== lead;\n let canSkip = true;\n /**\n * If this is a normal layout animation and neither this node nor its nearest projecting\n * is dirty then we can't skip.\n */\n if (this.isProjectionDirty || this.parent?.isProjectionDirty) {\n canSkip = false;\n }\n /**\n * If this is a shared layout animation and this node's shared projection is dirty then\n * we can't skip.\n */\n if (isShared &&\n (this.isSharedProjectionDirty || this.isTransformDirty)) {\n canSkip = false;\n }\n /**\n * If we have resolved the target this frame we must recalculate the\n * projection to ensure it visually represents the internal calculations.\n */\n if (this.resolvedRelativeTargetAt === frameData.timestamp) {\n canSkip = false;\n }\n if (canSkip)\n return;\n const { layout, layoutId } = this.options;\n /**\n * If this section of the tree isn't animating we can\n * delete our target sources for the following frame.\n */\n this.isTreeAnimating = Boolean((this.parent && this.parent.isTreeAnimating) ||\n this.currentAnimation ||\n this.pendingAnimation);\n if (!this.isTreeAnimating) {\n this.targetDelta = this.relativeTarget = undefined;\n }\n if (!this.layout || !(layout || layoutId))\n return;\n /**\n * Reset the corrected box with the latest values from box, as we're then going\n * to perform mutative operations on it.\n */\n copyBoxInto(this.layoutCorrected, this.layout.layoutBox);\n /**\n * Record previous tree scales before updating.\n */\n const prevTreeScaleX = this.treeScale.x;\n const prevTreeScaleY = this.treeScale.y;\n /**\n * Apply all the parent deltas to this box to produce the corrected box. This\n * is the layout box, as it will appear on screen as a result of the transforms of its parents.\n */\n applyTreeDeltas(this.layoutCorrected, this.treeScale, this.path, isShared);\n /**\n * If this layer needs to perform scale correction but doesn't have a target,\n * use the layout as the target.\n */\n if (lead.layout &&\n !lead.target &&\n (this.treeScale.x !== 1 || this.treeScale.y !== 1)) {\n lead.target = lead.layout.layoutBox;\n lead.targetWithTransforms = createBox();\n }\n const { target } = lead;\n if (!target) {\n /**\n * If we don't have a target to project into, but we were previously\n * projecting, we want to remove the stored transform and schedule\n * a render to ensure the elements reflect the removed transform.\n */\n if (this.prevProjectionDelta) {\n this.createProjectionDeltas();\n this.scheduleRender();\n }\n return;\n }\n if (!this.projectionDelta || !this.prevProjectionDelta) {\n this.createProjectionDeltas();\n }\n else {\n copyAxisDeltaInto(this.prevProjectionDelta.x, this.projectionDelta.x);\n copyAxisDeltaInto(this.prevProjectionDelta.y, this.projectionDelta.y);\n }\n /**\n * Update the delta between the corrected box and the target box before user-set transforms were applied.\n * This will allow us to calculate the corrected borderRadius and boxShadow to compensate\n * for our layout reprojection, but still allow them to be scaled correctly by the user.\n * It might be that to simplify this we may want to accept that user-set scale is also corrected\n * and we wouldn't have to keep and calc both deltas, OR we could support a user setting\n * to allow people to choose whether these styles are corrected based on just the\n * layout reprojection or the final bounding box.\n */\n calcBoxDelta(this.projectionDelta, this.layoutCorrected, target, this.latestValues);\n if (this.treeScale.x !== prevTreeScaleX ||\n this.treeScale.y !== prevTreeScaleY ||\n !axisDeltaEquals(this.projectionDelta.x, this.prevProjectionDelta.x) ||\n !axisDeltaEquals(this.projectionDelta.y, this.prevProjectionDelta.y)) {\n this.hasProjected = true;\n this.scheduleRender();\n this.notifyListeners(\"projectionUpdate\", target);\n }\n /**\n * Increase debug counter for recalculated projections\n */\n if (statsBuffer.value) {\n metrics.calculatedProjections++;\n }\n }\n hide() {\n this.isVisible = false;\n // TODO: Schedule render\n }\n show() {\n this.isVisible = true;\n // TODO: Schedule render\n }\n scheduleRender(notifyAll = true) {\n this.options.visualElement?.scheduleRender();\n if (notifyAll) {\n const stack = this.getStack();\n stack && stack.scheduleRender();\n }\n if (this.resumingFrom && !this.resumingFrom.instance) {\n this.resumingFrom = undefined;\n }\n }\n createProjectionDeltas() {\n this.prevProjectionDelta = createDelta();\n this.projectionDelta = createDelta();\n this.projectionDeltaWithTransform = createDelta();\n }\n setAnimationOrigin(delta, hasOnlyRelativeTargetChanged = false) {\n const snapshot = this.snapshot;\n const snapshotLatestValues = snapshot ? snapshot.latestValues : {};\n const mixedValues = { ...this.latestValues };\n const targetDelta = createDelta();\n if (!this.relativeParent ||\n !this.relativeParent.options.layoutRoot) {\n this.relativeTarget = this.relativeTargetOrigin = undefined;\n }\n this.attemptToResolveRelativeTarget = !hasOnlyRelativeTargetChanged;\n const relativeLayout = createBox();\n const snapshotSource = snapshot ? snapshot.source : undefined;\n const layoutSource = this.layout ? this.layout.source : undefined;\n const isSharedLayoutAnimation = snapshotSource !== layoutSource;\n const stack = this.getStack();\n const isOnlyMember = !stack || stack.members.length <= 1;\n const shouldCrossfadeOpacity = Boolean(isSharedLayoutAnimation &&\n !isOnlyMember &&\n this.options.crossfade === true &&\n !this.path.some(hasOpacityCrossfade));\n this.animationProgress = 0;\n let prevRelativeTarget;\n this.mixTargetDelta = (latest) => {\n const progress = latest / 1000;\n mixAxisDelta(targetDelta.x, delta.x, progress);\n mixAxisDelta(targetDelta.y, delta.y, progress);\n this.setTargetDelta(targetDelta);\n if (this.relativeTarget &&\n this.relativeTargetOrigin &&\n this.layout &&\n this.relativeParent &&\n this.relativeParent.layout) {\n calcRelativePosition(relativeLayout, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || undefined);\n mixBox(this.relativeTarget, this.relativeTargetOrigin, relativeLayout, progress);\n /**\n * If this is an unchanged relative target we can consider the\n * projection not dirty.\n */\n if (prevRelativeTarget &&\n boxEquals(this.relativeTarget, prevRelativeTarget)) {\n this.isProjectionDirty = false;\n }\n if (!prevRelativeTarget)\n prevRelativeTarget = createBox();\n copyBoxInto(prevRelativeTarget, this.relativeTarget);\n }\n if (isSharedLayoutAnimation) {\n this.animationValues = mixedValues;\n mixValues(mixedValues, snapshotLatestValues, this.latestValues, progress, shouldCrossfadeOpacity, isOnlyMember);\n }\n this.root.scheduleUpdateProjection();\n this.scheduleRender();\n this.animationProgress = progress;\n };\n this.mixTargetDelta(this.options.layoutRoot ? 1000 : 0);\n }\n startAnimation(options) {\n this.notifyListeners(\"animationStart\");\n this.currentAnimation?.stop();\n this.resumingFrom?.currentAnimation?.stop();\n if (this.pendingAnimation) {\n cancelFrame(this.pendingAnimation);\n this.pendingAnimation = undefined;\n }\n /**\n * Start the animation in the next frame to have a frame with progress 0,\n * where the target is the same as when the animation started, so we can\n * calculate the relative positions correctly for instant transitions.\n */\n this.pendingAnimation = frame.update(() => {\n globalProjectionState.hasAnimatedSinceResize = true;\n activeAnimations.layout++;\n this.motionValue || (this.motionValue = motionValue(0));\n this.motionValue.jump(0, false);\n this.currentAnimation = animateSingleValue(this.motionValue, [0, 1000], {\n ...options,\n velocity: 0,\n isSync: true,\n onUpdate: (latest) => {\n this.mixTargetDelta(latest);\n options.onUpdate && options.onUpdate(latest);\n },\n onStop: () => {\n activeAnimations.layout--;\n },\n onComplete: () => {\n activeAnimations.layout--;\n options.onComplete && options.onComplete();\n this.completeAnimation();\n },\n });\n if (this.resumingFrom) {\n this.resumingFrom.currentAnimation = this.currentAnimation;\n }\n this.pendingAnimation = undefined;\n });\n }\n completeAnimation() {\n if (this.resumingFrom) {\n this.resumingFrom.currentAnimation = undefined;\n this.resumingFrom.preserveOpacity = undefined;\n }\n const stack = this.getStack();\n stack && stack.exitAnimationComplete();\n this.resumingFrom =\n this.currentAnimation =\n this.animationValues =\n undefined;\n this.notifyListeners(\"animationComplete\");\n }\n finishAnimation() {\n if (this.currentAnimation) {\n this.mixTargetDelta && this.mixTargetDelta(animationTarget);\n this.currentAnimation.stop();\n }\n this.completeAnimation();\n }\n applyTransformsToTarget() {\n const lead = this.getLead();\n let { targetWithTransforms, target, layout, latestValues } = lead;\n if (!targetWithTransforms || !target || !layout)\n return;\n /**\n * If we're only animating position, and this element isn't the lead element,\n * then instead of projecting into the lead box we instead want to calculate\n * a new target that aligns the two boxes but maintains the layout shape.\n */\n if (this !== lead &&\n this.layout &&\n layout &&\n shouldAnimatePositionOnly(this.options.animationType, this.layout.layoutBox, layout.layoutBox)) {\n target = this.target || createBox();\n const xLength = calcLength(this.layout.layoutBox.x);\n target.x.min = lead.target.x.min;\n target.x.max = target.x.min + xLength;\n const yLength = calcLength(this.layout.layoutBox.y);\n target.y.min = lead.target.y.min;\n target.y.max = target.y.min + yLength;\n }\n copyBoxInto(targetWithTransforms, target);\n /**\n * Apply the latest user-set transforms to the targetBox to produce the targetBoxFinal.\n * This is the final box that we will then project into by calculating a transform delta and\n * applying it to the corrected box.\n */\n transformBox(targetWithTransforms, latestValues);\n /**\n * Update the delta between the corrected box and the final target box, after\n * user-set transforms are applied to it. This will be used by the renderer to\n * create a transform style that will reproject the element from its layout layout\n * into the desired bounding box.\n */\n calcBoxDelta(this.projectionDeltaWithTransform, this.layoutCorrected, targetWithTransforms, latestValues);\n }\n registerSharedNode(layoutId, node) {\n if (!this.sharedNodes.has(layoutId)) {\n this.sharedNodes.set(layoutId, new NodeStack());\n }\n const stack = this.sharedNodes.get(layoutId);\n stack.add(node);\n const config = node.options.initialPromotionConfig;\n node.promote({\n transition: config ? config.transition : undefined,\n preserveFollowOpacity: config && config.shouldPreserveFollowOpacity\n ? config.shouldPreserveFollowOpacity(node)\n : undefined,\n });\n }\n isLead() {\n const stack = this.getStack();\n return stack ? stack.lead === this : true;\n }\n getLead() {\n const { layoutId } = this.options;\n return layoutId ? this.getStack()?.lead || this : this;\n }\n getPrevLead() {\n const { layoutId } = this.options;\n return layoutId ? this.getStack()?.prevLead : undefined;\n }\n getStack() {\n const { layoutId } = this.options;\n if (layoutId)\n return this.root.sharedNodes.get(layoutId);\n }\n promote({ needsReset, transition, preserveFollowOpacity, } = {}) {\n const stack = this.getStack();\n if (stack)\n stack.promote(this, preserveFollowOpacity);\n if (needsReset) {\n this.projectionDelta = undefined;\n this.needsReset = true;\n }\n if (transition)\n this.setOptions({ transition });\n }\n relegate() {\n const stack = this.getStack();\n if (stack) {\n return stack.relegate(this);\n }\n else {\n return false;\n }\n }\n resetSkewAndRotation() {\n const { visualElement } = this.options;\n if (!visualElement)\n return;\n // If there's no detected skew or rotation values, we can early return without a forced render.\n let hasDistortingTransform = false;\n /**\n * An unrolled check for rotation values. Most elements don't have any rotation and\n * skipping the nested loop and new object creation is 50% faster.\n */\n const { latestValues } = visualElement;\n if (latestValues.z ||\n latestValues.rotate ||\n latestValues.rotateX ||\n latestValues.rotateY ||\n latestValues.rotateZ ||\n latestValues.skewX ||\n latestValues.skewY) {\n hasDistortingTransform = true;\n }\n // If there's no distorting values, we don't need to do any more.\n if (!hasDistortingTransform)\n return;\n const resetValues = {};\n if (latestValues.z) {\n resetDistortingTransform(\"z\", visualElement, resetValues, this.animationValues);\n }\n // Check the skew and rotate value of all axes and reset to 0\n for (let i = 0; i < transformAxes.length; i++) {\n resetDistortingTransform(`rotate${transformAxes[i]}`, visualElement, resetValues, this.animationValues);\n resetDistortingTransform(`skew${transformAxes[i]}`, visualElement, resetValues, this.animationValues);\n }\n // Force a render of this element to apply the transform with all skews and rotations\n // set to 0.\n visualElement.render();\n // Put back all the values we reset\n for (const key in resetValues) {\n visualElement.setStaticValue(key, resetValues[key]);\n if (this.animationValues) {\n this.animationValues[key] = resetValues[key];\n }\n }\n // Schedule a render for the next frame. This ensures we won't visually\n // see the element with the reset rotate value applied.\n visualElement.scheduleRender();\n }\n applyProjectionStyles(targetStyle, // CSSStyleDeclaration - doesn't allow numbers to be assigned to properties\n styleProp) {\n if (!this.instance || this.isSVG)\n return;\n if (!this.isVisible) {\n targetStyle.visibility = \"hidden\";\n return;\n }\n const transformTemplate = this.getTransformTemplate();\n if (this.needsReset) {\n this.needsReset = false;\n targetStyle.visibility = \"\";\n targetStyle.opacity = \"\";\n targetStyle.pointerEvents =\n resolveMotionValue(styleProp?.pointerEvents) || \"\";\n targetStyle.transform = transformTemplate\n ? transformTemplate(this.latestValues, \"\")\n : \"none\";\n return;\n }\n const lead = this.getLead();\n if (!this.projectionDelta || !this.layout || !lead.target) {\n if (this.options.layoutId) {\n targetStyle.opacity =\n this.latestValues.opacity !== undefined\n ? this.latestValues.opacity\n : 1;\n targetStyle.pointerEvents =\n resolveMotionValue(styleProp?.pointerEvents) || \"\";\n }\n if (this.hasProjected && !hasTransform(this.latestValues)) {\n targetStyle.transform = transformTemplate\n ? transformTemplate({}, \"\")\n : \"none\";\n this.hasProjected = false;\n }\n return;\n }\n targetStyle.visibility = \"\";\n const valuesToRender = lead.animationValues || lead.latestValues;\n this.applyTransformsToTarget();\n let transform = buildProjectionTransform(this.projectionDeltaWithTransform, this.treeScale, valuesToRender);\n if (transformTemplate) {\n transform = transformTemplate(valuesToRender, transform);\n }\n targetStyle.transform = transform;\n const { x, y } = this.projectionDelta;\n targetStyle.transformOrigin = `${x.origin * 100}% ${y.origin * 100}% 0`;\n if (lead.animationValues) {\n /**\n * If the lead component is animating, assign this either the entering/leaving\n * opacity\n */\n targetStyle.opacity =\n lead === this\n ? valuesToRender.opacity ??\n this.latestValues.opacity ??\n 1\n : this.preserveOpacity\n ? this.latestValues.opacity\n : valuesToRender.opacityExit;\n }\n else {\n /**\n * Or we're not animating at all, set the lead component to its layout\n * opacity and other components to hidden.\n */\n targetStyle.opacity =\n lead === this\n ? valuesToRender.opacity !== undefined\n ? valuesToRender.opacity\n : \"\"\n : valuesToRender.opacityExit !== undefined\n ? valuesToRender.opacityExit\n : 0;\n }\n /**\n * Apply scale correction\n */\n for (const key in scaleCorrectors) {\n if (valuesToRender[key] === undefined)\n continue;\n const { correct, applyTo, isCSSVariable } = scaleCorrectors[key];\n /**\n * Only apply scale correction to the value if we have an\n * active projection transform. Otherwise these values become\n * vulnerable to distortion if the element changes size without\n * a corresponding layout animation.\n */\n const corrected = transform === \"none\"\n ? valuesToRender[key]\n : correct(valuesToRender[key], lead);\n if (applyTo) {\n const num = applyTo.length;\n for (let i = 0; i < num; i++) {\n targetStyle[applyTo[i]] = corrected;\n }\n }\n else {\n // If this is a CSS variable, set it directly on the instance.\n // Replacing this function from creating styles to setting them\n // would be a good place to remove per frame object creation\n if (isCSSVariable) {\n this.options.visualElement.renderState.vars[key] = corrected;\n }\n else {\n targetStyle[key] = corrected;\n }\n }\n }\n /**\n * Disable pointer events on follow components. This is to ensure\n * that if a follow component covers a lead component it doesn't block\n * pointer events on the lead.\n */\n if (this.options.layoutId) {\n targetStyle.pointerEvents =\n lead === this\n ? resolveMotionValue(styleProp?.pointerEvents) || \"\"\n : \"none\";\n }\n }\n clearSnapshot() {\n this.resumeFrom = this.snapshot = undefined;\n }\n // Only run on root\n resetTree() {\n this.root.nodes.forEach((node) => node.currentAnimation?.stop());\n this.root.nodes.forEach(clearMeasurements);\n this.root.sharedNodes.clear();\n }\n };\n}\nfunction updateLayout(node) {\n node.updateLayout();\n}\nfunction notifyLayoutUpdate(node) {\n const snapshot = node.resumeFrom?.snapshot || node.snapshot;\n if (node.isLead() &&\n node.layout &&\n snapshot &&\n node.hasListeners(\"didUpdate\")) {\n const { layoutBox: layout, measuredBox: measuredLayout } = node.layout;\n const { animationType } = node.options;\n const isShared = snapshot.source !== node.layout.source;\n // TODO Maybe we want to also resize the layout snapshot so we don't trigger\n // animations for instance if layout=\"size\" and an element has only changed position\n if (animationType === \"size\") {\n eachAxis((axis) => {\n const axisSnapshot = isShared\n ? snapshot.measuredBox[axis]\n : snapshot.layoutBox[axis];\n const length = calcLength(axisSnapshot);\n axisSnapshot.min = layout[axis].min;\n axisSnapshot.max = axisSnapshot.min + length;\n });\n }\n else if (animationType === \"x\" || animationType === \"y\") {\n const snapAxis = animationType === \"x\" ? \"y\" : \"x\";\n copyAxisInto(isShared\n ? snapshot.measuredBox[snapAxis]\n : snapshot.layoutBox[snapAxis], layout[snapAxis]);\n }\n else if (shouldAnimatePositionOnly(animationType, snapshot.layoutBox, layout)) {\n eachAxis((axis) => {\n const axisSnapshot = isShared\n ? snapshot.measuredBox[axis]\n : snapshot.layoutBox[axis];\n const length = calcLength(layout[axis]);\n axisSnapshot.max = axisSnapshot.min + length;\n /**\n * Ensure relative target gets resized and rerendererd\n */\n if (node.relativeTarget && !node.currentAnimation) {\n node.isProjectionDirty = true;\n node.relativeTarget[axis].max =\n node.relativeTarget[axis].min + length;\n }\n });\n }\n const layoutDelta = createDelta();\n calcBoxDelta(layoutDelta, layout, snapshot.layoutBox);\n const visualDelta = createDelta();\n if (isShared) {\n calcBoxDelta(visualDelta, node.applyTransform(measuredLayout, true), snapshot.measuredBox);\n }\n else {\n calcBoxDelta(visualDelta, layout, snapshot.layoutBox);\n }\n const hasLayoutChanged = !isDeltaZero(layoutDelta);\n let hasRelativeLayoutChanged = false;\n if (!node.resumeFrom) {\n const relativeParent = node.getClosestProjectingParent();\n /**\n * If the relativeParent is itself resuming from a different element then\n * the relative snapshot is not relavent\n */\n if (relativeParent && !relativeParent.resumeFrom) {\n const { snapshot: parentSnapshot, layout: parentLayout } = relativeParent;\n if (parentSnapshot && parentLayout) {\n const anchor = node.options.layoutAnchor || undefined;\n const relativeSnapshot = createBox();\n calcRelativePosition(relativeSnapshot, snapshot.layoutBox, parentSnapshot.layoutBox, anchor);\n const relativeLayout = createBox();\n calcRelativePosition(relativeLayout, layout, parentLayout.layoutBox, anchor);\n if (!boxEqualsRounded(relativeSnapshot, relativeLayout)) {\n hasRelativeLayoutChanged = true;\n }\n if (relativeParent.options.layoutRoot) {\n node.relativeTarget = relativeLayout;\n node.relativeTargetOrigin = relativeSnapshot;\n node.relativeParent = relativeParent;\n }\n }\n }\n }\n node.notifyListeners(\"didUpdate\", {\n layout,\n snapshot,\n delta: visualDelta,\n layoutDelta,\n hasLayoutChanged,\n hasRelativeLayoutChanged,\n });\n }\n else if (node.isLead()) {\n const { onExitComplete } = node.options;\n onExitComplete && onExitComplete();\n }\n /**\n * Clearing transition\n * TODO: Investigate why this transition is being passed in as {type: false } from Framer\n * and why we need it at all\n */\n node.options.transition = undefined;\n}\nfunction propagateDirtyNodes(node) {\n /**\n * Increase debug counter for nodes encountered this frame\n */\n if (statsBuffer.value) {\n metrics.nodes++;\n }\n if (!node.parent)\n return;\n /**\n * If this node isn't projecting, propagate isProjectionDirty. It will have\n * no performance impact but it will allow the next child that *is* projecting\n * but *isn't* dirty to just check its parent to see if *any* ancestor needs\n * correcting.\n */\n if (!node.isProjecting()) {\n node.isProjectionDirty = node.parent.isProjectionDirty;\n }\n /**\n * Propagate isSharedProjectionDirty and isTransformDirty\n * throughout the whole tree. A future revision can take another look at\n * this but for safety we still recalcualte shared nodes.\n */\n node.isSharedProjectionDirty || (node.isSharedProjectionDirty = Boolean(node.isProjectionDirty ||\n node.parent.isProjectionDirty ||\n node.parent.isSharedProjectionDirty));\n node.isTransformDirty || (node.isTransformDirty = node.parent.isTransformDirty);\n}\nfunction cleanDirtyNodes(node) {\n node.isProjectionDirty =\n node.isSharedProjectionDirty =\n node.isTransformDirty =\n false;\n}\nfunction clearSnapshot(node) {\n node.clearSnapshot();\n}\nfunction clearMeasurements(node) {\n node.clearMeasurements();\n}\nfunction forceLayoutMeasure(node) {\n node.isLayoutDirty = true;\n node.updateLayout();\n}\nfunction clearIsLayoutDirty(node) {\n node.isLayoutDirty = false;\n}\n/**\n * When a node is animation-blocked (e.g. during drag) and its component\n * didn't re-render (memoized), willUpdate() is never called so there's\n * no snapshot. Use the previous layout as a snapshot and mark dirty so\n * resetTransform/updateLayout/notifyLayoutUpdate process it normally.\n */\nfunction ensureDraggedNodesSnapshotted(node) {\n if (node.isAnimationBlocked && node.layout && !node.isLayoutDirty) {\n node.snapshot = node.layout;\n node.isLayoutDirty = true;\n }\n}\nfunction resetTransformStyle(node) {\n const { visualElement } = node.options;\n if (visualElement && visualElement.getProps().onBeforeLayoutMeasure) {\n visualElement.notify(\"BeforeLayoutMeasure\");\n }\n node.resetTransform();\n}\nfunction finishAnimation(node) {\n node.finishAnimation();\n node.targetDelta = node.relativeTarget = node.target = undefined;\n node.isProjectionDirty = true;\n}\nfunction resolveTargetDelta(node) {\n node.resolveTargetDelta();\n}\nfunction calcProjection(node) {\n node.calcProjection();\n}\nfunction resetSkewAndRotation(node) {\n node.resetSkewAndRotation();\n}\nfunction removeLeadSnapshots(stack) {\n stack.removeLeadSnapshot();\n}\nfunction mixAxisDelta(output, delta, p) {\n output.translate = mixNumber(delta.translate, 0, p);\n output.scale = mixNumber(delta.scale, 1, p);\n output.origin = delta.origin;\n output.originPoint = delta.originPoint;\n}\nfunction mixAxis(output, from, to, p) {\n output.min = mixNumber(from.min, to.min, p);\n output.max = mixNumber(from.max, to.max, p);\n}\nfunction mixBox(output, from, to, p) {\n mixAxis(output.x, from.x, to.x, p);\n mixAxis(output.y, from.y, to.y, p);\n}\nfunction hasOpacityCrossfade(node) {\n return (node.animationValues && node.animationValues.opacityExit !== undefined);\n}\nconst defaultLayoutTransition = {\n duration: 0.45,\n ease: [0.4, 0, 0.1, 1],\n};\nconst userAgentContains = (string) => typeof navigator !== \"undefined\" &&\n navigator.userAgent &&\n navigator.userAgent.toLowerCase().includes(string);\n/**\n * Measured bounding boxes must be rounded in Safari and\n * left untouched in Chrome, otherwise non-integer layouts within scaled-up elements\n * can appear to jump.\n */\nconst roundPoint = userAgentContains(\"applewebkit/\") && !userAgentContains(\"chrome/\")\n ? Math.round\n : noop;\nfunction roundAxis(axis) {\n // Round to the nearest .5 pixels to support subpixel layouts\n axis.min = roundPoint(axis.min);\n axis.max = roundPoint(axis.max);\n}\nfunction roundBox(box) {\n roundAxis(box.x);\n roundAxis(box.y);\n}\nfunction shouldAnimatePositionOnly(animationType, snapshot, layout) {\n return (animationType === \"position\" ||\n (animationType === \"preserve-aspect\" &&\n !isNear(aspectRatio(snapshot), aspectRatio(layout), 0.2)));\n}\nfunction checkNodeWasScrollRoot(node) {\n return node !== node.root && node.scroll?.wasRoot;\n}\n\nexport { cleanDirtyNodes, createProjectionNode, mixAxis, mixAxisDelta, mixBox, propagateDirtyNodes };\n//# sourceMappingURL=create-projection-node.mjs.map\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmCA,MAAM,gBAAgB,CAAC,IAAI,KAAK,KAAK,GAAG;AAKxC,MAAM,kBAAkB;AACxB,IAAI,KAAK;AACT,SAAS,yBAAyB,KAAK,eAAe,QAAQ,uBAAuB;AACjF,QAAM,EAAE,aAAY,IAAK;AAEzB,MAAI,aAAa,GAAG,GAAG;AACnB,WAAO,GAAG,IAAI,aAAa,GAAG;AAC9B,kBAAc,eAAe,KAAK,CAAC;AACnC,QAAI,uBAAuB;AACvB,4BAAsB,GAAG,IAAI;AAAA,IACjC;AAAA,EACJ;AACJ;AACA,SAAS,uCAAuC,gBAAgB;AAC5D,iBAAe,4BAA4B;AAC3C,MAAI,eAAe,SAAS;AACxB;AACJ,QAAM,EAAE,kBAAkB,eAAe;AACzC,MAAI,CAAC;AACD;AACJ,QAAM,WAAW,qBAAq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,OAAO,GAAG,CAAC;AAC1C,SAAO,SAAS,MAAM;AACtB,SAAO,cAAc,MAAM;AAC/B;AACA,SAAS,QAAQ,QAAQ,MAAM,IAAI,GAAG;AAClC,SAAO,MAAM,UAAU,KAAK,KAAK,GAAG,KAAK,CAAC;AAC1C,SAAO,MAAM,UAAU,KAAK,KAAK,GAAG,KAAK,CAAC;AAC9C;AACA,SAAS,OAAO,QAAQ,MAAM,IAAI,GAAG;AACjC,UAAQ,OAAO,GAAG,KAAK,GAAG,GAAG,GAAG,CAAC;AACjC,UAAQ,OAAO,GAAG,KAAK,GAAG,GAAG,GAAG,CAAC;AACrC;AACA,SAAS,oBAAoB,MAAM;AAC/B,SAAQ,KAAK,mBAAmB,KAAK,gBAAgB,gBAAgB;AACzE;AACA,MAAM,0BAA0B;AAAA,EAC5B,UAAU;AAAA,EACV,MAAM,CAAC,KAAK,GAAG,KAAK,CAAC;AACzB;AACA,MAAM,oBAAoB,CAAC,WAAW,OAAO,cAAc,eACvD,UAAU,aACV,UAAU,UAAU,cAAc,SAAS,MAAM;AAMrD,MAAM,aAAa,kBAAkB,cAAc,KAAK,CAAC,kBAAkB,SAAS,IAC9E,KAAK,QACL;AACN,SAAS,UAAU,MAAM;AAErB,OAAK,MAAM,WAAW,KAAK,GAAG;AAC9B,OAAK,MAAM,WAAW,KAAK,GAAG;AAClC;AACA,SAAS,SAAS,KAAK;AACnB,YAAU,IAAI,CAAC;AACf,YAAU,IAAI,CAAC;AACnB;AACA,SAAS,0BAA0B,eAAe,UAAU,QAAQ;AAChE,SAAQ,kBAAkB,cACrB,kBAAkB,qBACf,CAAC,OAAO,YAAY,QAAQ,GAAG,YAAY,MAAM,GAAG,GAAG;AACnE;AACA,SAAS,uBAAuB,MAAM;;AAClC,SAAO,SAAS,KAAK,UAAQ,UAAK,WAAL,mBAAa;AAC9C;","x_google_ignoreList":[0]}
@@ -1,16 +0,0 @@
1
- const globalProjectionState = {
2
- /**
3
- * Global flag as to whether the tree has animated since the last time
4
- * we resized the window
5
- */
6
- hasAnimatedSinceResize: true,
7
- /**
8
- * We set this to true once, on the first update. Any nodes added to the tree beyond that
9
- * update will be given a `data-projection-id` attribute.
10
- */
11
- hasEverUpdated: false
12
- };
13
- export {
14
- globalProjectionState
15
- };
16
- //# sourceMappingURL=state.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"state.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/projection/node/state.mjs"],"sourcesContent":["/**\n * This should only ever be modified on the client otherwise it'll\n * persist through server requests. If we need instanced states we\n * could lazy-init via root.\n */\nconst globalProjectionState = {\n /**\n * Global flag as to whether the tree has animated since the last time\n * we resized the window\n */\n hasAnimatedSinceResize: true,\n /**\n * We set this to true once, on the first update. Any nodes added to the tree beyond that\n * update will be given a `data-projection-id` attribute.\n */\n hasEverUpdated: false,\n};\n\nexport { globalProjectionState };\n//# sourceMappingURL=state.mjs.map\n"],"names":[],"mappings":"AAKK,MAAC,wBAAwB;AAAA;AAAA;AAAA;AAAA;AAAA,EAK1B,wBAAwB;AAAA;AAAA;AAAA;AAAA;AAAA,EAKxB,gBAAgB;AACpB;","x_google_ignoreList":[0]}
@@ -1,88 +0,0 @@
1
- import { addUniqueItem, removeItem } from "../../../../../motion-utils/dist/es/array.js";
2
- class NodeStack {
3
- constructor() {
4
- this.members = [];
5
- }
6
- add(node) {
7
- addUniqueItem(this.members, node);
8
- for (let i = this.members.length - 1; i >= 0; i--) {
9
- const member = this.members[i];
10
- if (member === node || member === this.lead || member === this.prevLead)
11
- continue;
12
- const inst = member.instance;
13
- if ((!inst || inst.isConnected === false) && !member.snapshot) {
14
- removeItem(this.members, member);
15
- member.unmount();
16
- }
17
- }
18
- node.scheduleRender();
19
- }
20
- remove(node) {
21
- removeItem(this.members, node);
22
- if (node === this.prevLead)
23
- this.prevLead = void 0;
24
- if (node === this.lead) {
25
- const prevLead = this.members[this.members.length - 1];
26
- if (prevLead)
27
- this.promote(prevLead);
28
- }
29
- }
30
- relegate(node) {
31
- var _a;
32
- for (let i = this.members.indexOf(node) - 1; i >= 0; i--) {
33
- const member = this.members[i];
34
- if (member.isPresent !== false && ((_a = member.instance) == null ? void 0 : _a.isConnected) !== false) {
35
- this.promote(member);
36
- return true;
37
- }
38
- }
39
- return false;
40
- }
41
- promote(node, preserveFollowOpacity) {
42
- var _a;
43
- const prevLead = this.lead;
44
- if (node === prevLead)
45
- return;
46
- this.prevLead = prevLead;
47
- this.lead = node;
48
- node.show();
49
- if (prevLead) {
50
- prevLead.updateSnapshot();
51
- node.scheduleRender();
52
- const { layoutDependency: prevDep } = prevLead.options;
53
- const { layoutDependency: nextDep } = node.options;
54
- if (prevDep === void 0 || prevDep !== nextDep) {
55
- node.resumeFrom = prevLead;
56
- if (preserveFollowOpacity)
57
- prevLead.preserveOpacity = true;
58
- if (prevLead.snapshot) {
59
- node.snapshot = prevLead.snapshot;
60
- node.snapshot.latestValues = prevLead.animationValues || prevLead.latestValues;
61
- }
62
- if ((_a = node.root) == null ? void 0 : _a.isUpdating)
63
- node.isLayoutDirty = true;
64
- }
65
- if (node.options.crossfade === false)
66
- prevLead.hide();
67
- }
68
- }
69
- exitAnimationComplete() {
70
- this.members.forEach((member) => {
71
- var _a, _b, _c, _d, _e;
72
- (_b = (_a = member.options).onExitComplete) == null ? void 0 : _b.call(_a);
73
- (_e = (_c = member.resumingFrom) == null ? void 0 : (_d = _c.options).onExitComplete) == null ? void 0 : _e.call(_d);
74
- });
75
- }
76
- scheduleRender() {
77
- this.members.forEach((member) => member.instance && member.scheduleRender(false));
78
- }
79
- removeLeadSnapshot() {
80
- var _a;
81
- if ((_a = this.lead) == null ? void 0 : _a.snapshot)
82
- this.lead.snapshot = void 0;
83
- }
84
- }
85
- export {
86
- NodeStack
87
- };
88
- //# sourceMappingURL=stack.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"stack.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/projection/shared/stack.mjs"],"sourcesContent":["import { addUniqueItem, removeItem } from 'motion-utils';\n\nclass NodeStack {\n constructor() {\n this.members = [];\n }\n add(node) {\n addUniqueItem(this.members, node);\n for (let i = this.members.length - 1; i >= 0; i--) {\n const member = this.members[i];\n if (member === node || member === this.lead || member === this.prevLead)\n continue;\n const inst = member.instance;\n if ((!inst || inst.isConnected === false) && !member.snapshot) {\n removeItem(this.members, member);\n member.unmount();\n }\n }\n node.scheduleRender();\n }\n remove(node) {\n removeItem(this.members, node);\n if (node === this.prevLead)\n this.prevLead = undefined;\n if (node === this.lead) {\n const prevLead = this.members[this.members.length - 1];\n if (prevLead)\n this.promote(prevLead);\n }\n }\n relegate(node) {\n for (let i = this.members.indexOf(node) - 1; i >= 0; i--) {\n const member = this.members[i];\n if (member.isPresent !== false && member.instance?.isConnected !== false) {\n this.promote(member);\n return true;\n }\n }\n return false;\n }\n promote(node, preserveFollowOpacity) {\n const prevLead = this.lead;\n if (node === prevLead)\n return;\n this.prevLead = prevLead;\n this.lead = node;\n node.show();\n if (prevLead) {\n prevLead.updateSnapshot();\n node.scheduleRender();\n const { layoutDependency: prevDep } = prevLead.options;\n const { layoutDependency: nextDep } = node.options;\n if (prevDep === undefined || prevDep !== nextDep) {\n node.resumeFrom = prevLead;\n if (preserveFollowOpacity)\n prevLead.preserveOpacity = true;\n if (prevLead.snapshot) {\n node.snapshot = prevLead.snapshot;\n node.snapshot.latestValues =\n prevLead.animationValues || prevLead.latestValues;\n }\n if (node.root?.isUpdating)\n node.isLayoutDirty = true;\n }\n if (node.options.crossfade === false)\n prevLead.hide();\n }\n }\n exitAnimationComplete() {\n this.members.forEach((member) => {\n member.options.onExitComplete?.();\n member.resumingFrom?.options.onExitComplete?.();\n });\n }\n scheduleRender() {\n this.members.forEach((member) => member.instance && member.scheduleRender(false));\n }\n removeLeadSnapshot() {\n if (this.lead?.snapshot)\n this.lead.snapshot = undefined;\n }\n}\n\nexport { NodeStack };\n//# sourceMappingURL=stack.mjs.map\n"],"names":[],"mappings":";AAEA,MAAM,UAAU;AAAA,EACZ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AAkB,QAAO,IAAK,KAAK;AAC3C,UAAI,YAAY,UAAa,YAAY,SAAS;AAC9C,aAAK,aAAa;AAClB,YAAI;AACA,mBAAS,kBAAkB;AAC/B,YAAI,SAAS,UAAU;AACnB,eAAK,WAAW,SAAS;AACzB,eAAK,SAAS,eACV,SAAS,mBAAmB,SAAS;AAAA,QAC7C;AACA,aAAI,UAAK,SAAL,mBAAW;AACX,eAAK,gBAAgB;AAAA,MAC7B;AACA,UAAI,KAAK,QAAQ,cAAc;AAC3B,iBAAS,KAAI;AAAA,IACrB;AAAA,EACJ;AAAA,EACA,wBAAwB;AACpB,SAAK,QAAQ,QAAQ,CAAC,WAAW;;AAC7B,yBAAO,SAAQ,mBAAf;AACA,yBAAO,iBAAP,yBAAqB,SAAQ,mBAA7B;AAAA,IACJ,CAAC;AAAA,EACL;AAAA,EACA,iBAAiB;AACb,SAAK,QAAQ,QAAQ,CAAC,WAAW,OAAO,YAAY,OAAO,eAAe,KAAK,CAAC;AAAA,EACpF;AAAA,EACA,qBAAqB;;AACjB,SAAI,UAAK,SAAL,mBAAW;AACX,WAAK,KAAK,WAAW;AAAA,EAC7B;AACJ;","x_google_ignoreList":[0]}
@@ -1,27 +0,0 @@
1
- import { px } from "../../value/types/numbers/units.js";
2
- function pixelsToPercent(pixels, axis) {
3
- if (axis.max === axis.min)
4
- return 0;
5
- return pixels / (axis.max - axis.min) * 100;
6
- }
7
- const correctBorderRadius = {
8
- correct: (latest, node) => {
9
- if (!node.target)
10
- return latest;
11
- if (typeof latest === "string") {
12
- if (px.test(latest)) {
13
- latest = parseFloat(latest);
14
- } else {
15
- return latest;
16
- }
17
- }
18
- const x = pixelsToPercent(latest, node.target.x);
19
- const y = pixelsToPercent(latest, node.target.y);
20
- return `${x}% ${y}%`;
21
- }
22
- };
23
- export {
24
- correctBorderRadius,
25
- pixelsToPercent
26
- };
27
- //# sourceMappingURL=scale-border-radius.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"scale-border-radius.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs"],"sourcesContent":["import { px } from '../../value/types/numbers/units.mjs';\n\nfunction pixelsToPercent(pixels, axis) {\n if (axis.max === axis.min)\n return 0;\n return (pixels / (axis.max - axis.min)) * 100;\n}\n/**\n * We always correct borderRadius as a percentage rather than pixels to reduce paints.\n * For example, if you are projecting a box that is 100px wide with a 10px borderRadius\n * into a box that is 200px wide with a 20px borderRadius, that is actually a 10%\n * borderRadius in both states. If we animate between the two in pixels that will trigger\n * a paint each time. If we animate between the two in percentage we'll avoid a paint.\n */\nconst correctBorderRadius = {\n correct: (latest, node) => {\n if (!node.target)\n return latest;\n /**\n * If latest is a string, if it's a percentage we can return immediately as it's\n * going to be stretched appropriately. Otherwise, if it's a pixel, convert it to a number.\n */\n if (typeof latest === \"string\") {\n if (px.test(latest)) {\n latest = parseFloat(latest);\n }\n else {\n return latest;\n }\n }\n /**\n * If latest is a number, it's a pixel value. We use the current viewportBox to calculate that\n * pixel value as a percentage of each axis\n */\n const x = pixelsToPercent(latest, node.target.x);\n const y = pixelsToPercent(latest, node.target.y);\n return `${x}% ${y}%`;\n },\n};\n\nexport { correctBorderRadius, pixelsToPercent };\n//# sourceMappingURL=scale-border-radius.mjs.map\n"],"names":[],"mappings":";AAEA,SAAS,gBAAgB,QAAQ,MAAM;AACnC,MAAI,KAAK,QAAQ,KAAK;AAClB,WAAO;AACX,SAAQ,UAAU,KAAK,MAAM,KAAK,OAAQ;AAC9C;AAQK,MAAC,sBAAsB;AAAA,EACxB,SAAS,CAAC,QAAQ,SAAS;AACvB,QAAI,CAAC,KAAK;AACN,aAAO;AAKX,QAAI,OAAO,WAAW,UAAU;AAC5B,UAAI,GAAG,KAAK,MAAM,GAAG;AACjB,iBAAS,WAAW,MAAM;AAAA,MAC9B,OACK;AACD,eAAO;AAAA,MACX;AAAA,IACJ;AAKA,UAAM,IAAI,gBAAgB,QAAQ,KAAK,OAAO,CAAC;AAC/C,UAAM,IAAI,gBAAgB,QAAQ,KAAK,OAAO,CAAC;AAC/C,WAAO,GAAG,CAAC,KAAK,CAAC;AAAA,EACrB;AACJ;","x_google_ignoreList":[0]}
@@ -1,26 +0,0 @@
1
- import { complex } from "../../value/types/complex/index.js";
2
- import { mixNumber } from "../../utils/mix/number.js";
3
- const correctBoxShadow = {
4
- correct: (latest, { treeScale, projectionDelta }) => {
5
- const original = latest;
6
- const shadow = complex.parse(latest);
7
- if (shadow.length > 5)
8
- return original;
9
- const template = complex.createTransformer(latest);
10
- const offset = typeof shadow[0] !== "number" ? 1 : 0;
11
- const xScale = projectionDelta.x.scale * treeScale.x;
12
- const yScale = projectionDelta.y.scale * treeScale.y;
13
- shadow[0 + offset] /= xScale;
14
- shadow[1 + offset] /= yScale;
15
- const averageScale = mixNumber(xScale, yScale, 0.5);
16
- if (typeof shadow[2 + offset] === "number")
17
- shadow[2 + offset] /= averageScale;
18
- if (typeof shadow[3 + offset] === "number")
19
- shadow[3 + offset] /= averageScale;
20
- return template(shadow);
21
- }
22
- };
23
- export {
24
- correctBoxShadow
25
- };
26
- //# sourceMappingURL=scale-box-shadow.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"scale-box-shadow.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.mjs"],"sourcesContent":["import { complex } from '../../value/types/complex/index.mjs';\nimport { mixNumber } from '../../utils/mix/number.mjs';\n\nconst correctBoxShadow = {\n correct: (latest, { treeScale, projectionDelta }) => {\n const original = latest;\n const shadow = complex.parse(latest);\n // TODO: Doesn't support multiple shadows\n if (shadow.length > 5)\n return original;\n const template = complex.createTransformer(latest);\n const offset = typeof shadow[0] !== \"number\" ? 1 : 0;\n // Calculate the overall context scale\n const xScale = projectionDelta.x.scale * treeScale.x;\n const yScale = projectionDelta.y.scale * treeScale.y;\n shadow[0 + offset] /= xScale;\n shadow[1 + offset] /= yScale;\n /**\n * Ideally we'd correct x and y scales individually, but because blur and\n * spread apply to both we have to take a scale average and apply that instead.\n * We could potentially improve the outcome of this by incorporating the ratio between\n * the two scales.\n */\n const averageScale = mixNumber(xScale, yScale, 0.5);\n // Blur\n if (typeof shadow[2 + offset] === \"number\")\n shadow[2 + offset] /= averageScale;\n // Spread\n if (typeof shadow[3 + offset] === \"number\")\n shadow[3 + offset] /= averageScale;\n return template(shadow);\n },\n};\n\nexport { correctBoxShadow };\n//# sourceMappingURL=scale-box-shadow.mjs.map\n"],"names":[],"mappings":";;AAGK,MAAC,mBAAmB;AAAA,EACrB,SAAS,CAAC,QAAQ,EAAE,WAAW,gBAAe,MAAO;AACjD,UAAM,WAAW;AACjB,UAAM,SAAS,QAAQ,MAAM,MAAM;AAEnC,QAAI,OAAO,SAAS;AAChB,aAAO;AACX,UAAM,WAAW,QAAQ,kBAAkB,MAAM;AACjD,UAAM,SAAS,OAAO,OAAO,CAAC,MAAM,WAAW,IAAI;AAEnD,UAAM,SAAS,gBAAgB,EAAE,QAAQ,UAAU;AACnD,UAAM,SAAS,gBAAgB,EAAE,QAAQ,UAAU;AACnD,WAAO,IAAI,MAAM,KAAK;AACtB,WAAO,IAAI,MAAM,KAAK;AAOtB,UAAM,eAAe,UAAU,QAAQ,QAAQ,GAAG;AAElD,QAAI,OAAO,OAAO,IAAI,MAAM,MAAM;AAC9B,aAAO,IAAI,MAAM,KAAK;AAE1B,QAAI,OAAO,OAAO,IAAI,MAAM,MAAM;AAC9B,aAAO,IAAI,MAAM,KAAK;AAC1B,WAAO,SAAS,MAAM;AAAA,EAC1B;AACJ;","x_google_ignoreList":[0]}
@@ -1,22 +0,0 @@
1
- import { correctBorderRadius } from "./scale-border-radius.js";
2
- import { correctBoxShadow } from "./scale-box-shadow.js";
3
- const scaleCorrectors = {
4
- borderRadius: {
5
- ...correctBorderRadius,
6
- applyTo: [
7
- "borderTopLeftRadius",
8
- "borderTopRightRadius",
9
- "borderBottomLeftRadius",
10
- "borderBottomRightRadius"
11
- ]
12
- },
13
- borderTopLeftRadius: correctBorderRadius,
14
- borderTopRightRadius: correctBorderRadius,
15
- borderBottomLeftRadius: correctBorderRadius,
16
- borderBottomRightRadius: correctBorderRadius,
17
- boxShadow: correctBoxShadow
18
- };
19
- export {
20
- scaleCorrectors
21
- };
22
- //# sourceMappingURL=scale-correction.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"scale-correction.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/projection/styles/scale-correction.mjs"],"sourcesContent":["import { isCSSVariableName } from '../../animation/utils/is-css-variable.mjs';\nimport { correctBorderRadius } from './scale-border-radius.mjs';\nimport { correctBoxShadow } from './scale-box-shadow.mjs';\n\nconst scaleCorrectors = {\n borderRadius: {\n ...correctBorderRadius,\n applyTo: [\n \"borderTopLeftRadius\",\n \"borderTopRightRadius\",\n \"borderBottomLeftRadius\",\n \"borderBottomRightRadius\",\n ],\n },\n borderTopLeftRadius: correctBorderRadius,\n borderTopRightRadius: correctBorderRadius,\n borderBottomLeftRadius: correctBorderRadius,\n borderBottomRightRadius: correctBorderRadius,\n boxShadow: correctBoxShadow,\n};\nfunction addScaleCorrector(correctors) {\n for (const key in correctors) {\n scaleCorrectors[key] = correctors[key];\n if (isCSSVariableName(key)) {\n scaleCorrectors[key].isCSSVariable = true;\n }\n }\n}\n\nexport { addScaleCorrector, scaleCorrectors };\n//# sourceMappingURL=scale-correction.mjs.map\n"],"names":[],"mappings":";;AAIK,MAAC,kBAAkB;AAAA,EACpB,cAAc;AAAA,IACV,GAAG;AAAA,IACH,SAAS;AAAA,MACL;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACZ;AAAA,EACA;AAAA,EACI,qBAAqB;AAAA,EACrB,sBAAsB;AAAA,EACtB,wBAAwB;AAAA,EACxB,yBAAyB;AAAA,EACzB,WAAW;AACf;","x_google_ignoreList":[0]}
@@ -1,37 +0,0 @@
1
- function buildProjectionTransform(delta, treeScale, latestTransform) {
2
- let transform = "";
3
- const xTranslate = delta.x.translate / treeScale.x;
4
- const yTranslate = delta.y.translate / treeScale.y;
5
- const zTranslate = (latestTransform == null ? void 0 : latestTransform.z) || 0;
6
- if (xTranslate || yTranslate || zTranslate) {
7
- transform = `translate3d(${xTranslate}px, ${yTranslate}px, ${zTranslate}px) `;
8
- }
9
- if (treeScale.x !== 1 || treeScale.y !== 1) {
10
- transform += `scale(${1 / treeScale.x}, ${1 / treeScale.y}) `;
11
- }
12
- if (latestTransform) {
13
- const { transformPerspective, rotate, rotateX, rotateY, skewX, skewY } = latestTransform;
14
- if (transformPerspective)
15
- transform = `perspective(${transformPerspective}px) ${transform}`;
16
- if (rotate)
17
- transform += `rotate(${rotate}deg) `;
18
- if (rotateX)
19
- transform += `rotateX(${rotateX}deg) `;
20
- if (rotateY)
21
- transform += `rotateY(${rotateY}deg) `;
22
- if (skewX)
23
- transform += `skewX(${skewX}deg) `;
24
- if (skewY)
25
- transform += `skewY(${skewY}deg) `;
26
- }
27
- const elementScaleX = delta.x.scale * treeScale.x;
28
- const elementScaleY = delta.y.scale * treeScale.y;
29
- if (elementScaleX !== 1 || elementScaleY !== 1) {
30
- transform += `scale(${elementScaleX}, ${elementScaleY})`;
31
- }
32
- return transform || "none";
33
- }
34
- export {
35
- buildProjectionTransform
36
- };
37
- //# sourceMappingURL=transform.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"transform.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/projection/styles/transform.mjs"],"sourcesContent":["function buildProjectionTransform(delta, treeScale, latestTransform) {\n let transform = \"\";\n /**\n * The translations we use to calculate are always relative to the viewport coordinate space.\n * But when we apply scales, we also scale the coordinate space of an element and its children.\n * For instance if we have a treeScale (the culmination of all parent scales) of 0.5 and we need\n * to move an element 100 pixels, we actually need to move it 200 in within that scaled space.\n */\n const xTranslate = delta.x.translate / treeScale.x;\n const yTranslate = delta.y.translate / treeScale.y;\n const zTranslate = latestTransform?.z || 0;\n if (xTranslate || yTranslate || zTranslate) {\n transform = `translate3d(${xTranslate}px, ${yTranslate}px, ${zTranslate}px) `;\n }\n /**\n * Apply scale correction for the tree transform.\n * This will apply scale to the screen-orientated axes.\n */\n if (treeScale.x !== 1 || treeScale.y !== 1) {\n transform += `scale(${1 / treeScale.x}, ${1 / treeScale.y}) `;\n }\n if (latestTransform) {\n const { transformPerspective, rotate, rotateX, rotateY, skewX, skewY } = latestTransform;\n if (transformPerspective)\n transform = `perspective(${transformPerspective}px) ${transform}`;\n if (rotate)\n transform += `rotate(${rotate}deg) `;\n if (rotateX)\n transform += `rotateX(${rotateX}deg) `;\n if (rotateY)\n transform += `rotateY(${rotateY}deg) `;\n if (skewX)\n transform += `skewX(${skewX}deg) `;\n if (skewY)\n transform += `skewY(${skewY}deg) `;\n }\n /**\n * Apply scale to match the size of the element to the size we want it.\n * This will apply scale to the element-orientated axes.\n */\n const elementScaleX = delta.x.scale * treeScale.x;\n const elementScaleY = delta.y.scale * treeScale.y;\n if (elementScaleX !== 1 || elementScaleY !== 1) {\n transform += `scale(${elementScaleX}, ${elementScaleY})`;\n }\n return transform || \"none\";\n}\n\nexport { buildProjectionTransform };\n//# sourceMappingURL=transform.mjs.map\n"],"names":[],"mappings":"AAAA,SAAS,yBAAyB,OAAO,WAAW,iBAAiB;AACjE,MAAI,YAAY;AAOhB,QAAM,aAAa,MAAM,EAAE,YAAY,UAAU;AACjD,QAAM,aAAa,MAAM,EAAE,YAAY,UAAU;AACjD,QAAM,cAAa,mDAAiB,MAAK;AACzC,MAAI,cAAc,cAAc,YAAY;AACxC,gBAAY,eAAe,UAAU,OAAO,UAAU,OAAO,UAAU;AAAA,EAC3E;AAKA,MAAI,UAAU,MAAM,KAAK,UAAU,MAAM,GAAG;AACxC,iBAAa,SAAS,IAAI,UAAU,CAAC,KAAK,IAAI,UAAU,CAAC;AAAA,EAC7D;AACA,MAAI,iBAAiB;AACjB,UAAM,EAAE,sBAAsB,QAAQ,SAAS,SAAS,OAAO,MAAK,IAAK;AACzE,QAAI;AACA,kBAAY,eAAe,oBAAoB,OAAO,SAAS;AACnE,QAAI;AACA,mBAAa,UAAU,MAAM;AACjC,QAAI;AACA,mBAAa,WAAW,OAAO;AACnC,QAAI;AACA,mBAAa,WAAW,OAAO;AACnC,QAAI;AACA,mBAAa,SAAS,KAAK;AAC/B,QAAI;AACA,mBAAa,SAAS,KAAK;AAAA,EACnC;AAKA,QAAM,gBAAgB,MAAM,EAAE,QAAQ,UAAU;AAChD,QAAM,gBAAgB,MAAM,EAAE,QAAQ,UAAU;AAChD,MAAI,kBAAkB,KAAK,kBAAkB,GAAG;AAC5C,iBAAa,SAAS,aAAa,KAAK,aAAa;AAAA,EACzD;AACA,SAAO,aAAa;AACxB;","x_google_ignoreList":[0]}
@@ -1,5 +0,0 @@
1
- const compareByDepth = (a, b) => a.depth - b.depth;
2
- export {
3
- compareByDepth
4
- };
5
- //# sourceMappingURL=compare-by-depth.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"compare-by-depth.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.mjs"],"sourcesContent":["const compareByDepth = (a, b) => a.depth - b.depth;\n\nexport { compareByDepth };\n//# sourceMappingURL=compare-by-depth.mjs.map\n"],"names":[],"mappings":"AAAK,MAAC,iBAAiB,CAAC,GAAG,MAAM,EAAE,QAAQ,EAAE;","x_google_ignoreList":[0]}
@@ -1,7 +0,0 @@
1
- function eachAxis(callback) {
2
- return [callback("x"), callback("y")];
3
- }
4
- export {
5
- eachAxis
6
- };
7
- //# sourceMappingURL=each-axis.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"each-axis.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/projection/utils/each-axis.mjs"],"sourcesContent":["function eachAxis(callback) {\n return [callback(\"x\"), callback(\"y\")];\n}\n\nexport { eachAxis };\n//# sourceMappingURL=each-axis.mjs.map\n"],"names":[],"mappings":"AAAA,SAAS,SAAS,UAAU;AACxB,SAAO,CAAC,SAAS,GAAG,GAAG,SAAS,GAAG,CAAC;AACxC;","x_google_ignoreList":[0]}
@@ -1,25 +0,0 @@
1
- import { compareByDepth } from "./compare-by-depth.js";
2
- import { addUniqueItem, removeItem } from "../../../../../motion-utils/dist/es/array.js";
3
- class FlatTree {
4
- constructor() {
5
- this.children = [];
6
- this.isDirty = false;
7
- }
8
- add(child) {
9
- addUniqueItem(this.children, child);
10
- this.isDirty = true;
11
- }
12
- remove(child) {
13
- removeItem(this.children, child);
14
- this.isDirty = true;
15
- }
16
- forEach(callback) {
17
- this.isDirty && this.children.sort(compareByDepth);
18
- this.isDirty = false;
19
- this.children.forEach(callback);
20
- }
21
- }
22
- export {
23
- FlatTree
24
- };
25
- //# sourceMappingURL=flat-tree.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"flat-tree.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/projection/utils/flat-tree.mjs"],"sourcesContent":["import { addUniqueItem, removeItem } from 'motion-utils';\nimport { compareByDepth } from './compare-by-depth.mjs';\n\nclass FlatTree {\n constructor() {\n this.children = [];\n this.isDirty = false;\n }\n add(child) {\n addUniqueItem(this.children, child);\n this.isDirty = true;\n }\n remove(child) {\n removeItem(this.children, child);\n this.isDirty = true;\n }\n forEach(callback) {\n this.isDirty && this.children.sort(compareByDepth);\n this.isDirty = false;\n this.children.forEach(callback);\n }\n}\n\nexport { FlatTree };\n//# sourceMappingURL=flat-tree.mjs.map\n"],"names":[],"mappings":";;AAGA,MAAM,SAAS;AAAA,EACX,cAAc;AACV,SAAK,WAAW,CAAA;AAChB,SAAK,UAAU;AAAA,EACnB;AAAA,EACA,IAAI,OAAO;AACP,kBAAc,KAAK,UAAU,KAAK;AAClC,SAAK,UAAU;AAAA,EACnB;AAAA,EACA,OAAO,OAAO;AACV,eAAW,KAAK,UAAU,KAAK;AAC/B,SAAK,UAAU;AAAA,EACnB;AAAA,EACA,QAAQ,UAAU;AACd,SAAK,WAAW,KAAK,SAAS,KAAK,cAAc;AACjD,SAAK,UAAU;AACf,SAAK,SAAS,QAAQ,QAAQ;AAAA,EAClC;AACJ;","x_google_ignoreList":[0]}
@@ -1,21 +0,0 @@
1
- function isIdentityScale(scale) {
2
- return scale === void 0 || scale === 1;
3
- }
4
- function hasScale({ scale, scaleX, scaleY }) {
5
- return !isIdentityScale(scale) || !isIdentityScale(scaleX) || !isIdentityScale(scaleY);
6
- }
7
- function hasTransform(values) {
8
- return hasScale(values) || has2DTranslate(values) || values.z || values.rotate || values.rotateX || values.rotateY || values.skewX || values.skewY;
9
- }
10
- function has2DTranslate(values) {
11
- return is2DTranslate(values.x) || is2DTranslate(values.y);
12
- }
13
- function is2DTranslate(value) {
14
- return value && value !== "0%";
15
- }
16
- export {
17
- has2DTranslate,
18
- hasScale,
19
- hasTransform
20
- };
21
- //# sourceMappingURL=has-transform.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"has-transform.js","sources":["../../../../../../../node_modules/motion-dom/dist/es/projection/utils/has-transform.mjs"],"sourcesContent":["function isIdentityScale(scale) {\n return scale === undefined || scale === 1;\n}\nfunction hasScale({ scale, scaleX, scaleY }) {\n return (!isIdentityScale(scale) ||\n !isIdentityScale(scaleX) ||\n !isIdentityScale(scaleY));\n}\nfunction hasTransform(values) {\n return (hasScale(values) ||\n has2DTranslate(values) ||\n values.z ||\n values.rotate ||\n values.rotateX ||\n values.rotateY ||\n values.skewX ||\n values.skewY);\n}\nfunction has2DTranslate(values) {\n return is2DTranslate(values.x) || is2DTranslate(values.y);\n}\nfunction is2DTranslate(value) {\n return value && value !== \"0%\";\n}\n\nexport { has2DTranslate, hasScale, hasTransform };\n//# sourceMappingURL=has-transform.mjs.map\n"],"names":[],"mappings":"AAAA,SAAS,gBAAgB,OAAO;AAC5B,SAAO,UAAU,UAAa,UAAU;AAC5C;AACA,SAAS,SAAS,EAAE,OAAO,QAAQ,OAAM,GAAI;AACzC,SAAQ,CAAC,gBAAgB,KAAK,KAC1B,CAAC,gBAAgB,MAAM,KACvB,CAAC,gBAAgB,MAAM;AAC/B;AACA,SAAS,aAAa,QAAQ;AAC1B,SAAQ,SAAS,MAAM,KACnB,eAAe,MAAM,KACrB,OAAO,KACP,OAAO,UACP,OAAO,WACP,OAAO,WACP,OAAO,SACP,OAAO;AACf;AACA,SAAS,eAAe,QAAQ;AAC5B,SAAO,cAAc,OAAO,CAAC,KAAK,cAAc,OAAO,CAAC;AAC5D;AACA,SAAS,cAAc,OAAO;AAC1B,SAAO,SAAS,UAAU;AAC9B;","x_google_ignoreList":[0]}
@@ -1,19 +0,0 @@
1
- import { convertBoundingBoxToBox, transformBoxPoints } from "../geometry/conversion.js";
2
- import { translateAxis } from "../geometry/delta-apply.js";
3
- function measureViewportBox(instance, transformPoint) {
4
- return convertBoundingBoxToBox(transformBoxPoints(instance.getBoundingClientRect(), transformPoint));
5
- }
6
- function measurePageBox(element, rootProjectionNode, transformPagePoint) {
7
- const viewportBox = measureViewportBox(element, transformPagePoint);
8
- const { scroll } = rootProjectionNode;
9
- if (scroll) {
10
- translateAxis(viewportBox.x, scroll.offset.x);
11
- translateAxis(viewportBox.y, scroll.offset.y);
12
- }
13
- return viewportBox;
14
- }
15
- export {
16
- measurePageBox,
17
- measureViewportBox
18
- };
19
- //# sourceMappingURL=measure.js.map