@ryuzaki13/react-foundation-ui 1.8.10 → 1.8.12

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 (288) hide show
  1. package/dist/advanced-search/index.js +1 -1
  2. package/dist/chunks/{defaultRenderers-Dbhg2hHc.js → defaultRenderers-u_Vep6Pj.js} +2 -2
  3. package/dist/chunks/defaultRenderers-u_Vep6Pj.js.map +1 -0
  4. package/dist/chunks/{multi-select-CHZhWoq6.js → multi-select-DtmRtX6v.js} +2 -2
  5. package/dist/chunks/multi-select-DtmRtX6v.js.map +1 -0
  6. package/dist/chunks/select-MN6zDPKM.js.map +1 -1
  7. package/dist/chunks/useODataSelectBase-DR4PrY1j.js.map +1 -1
  8. package/dist/multi-select/index.js +1 -1
  9. package/dist/multi-select/model/useODataMultiSelect.d.ts +1 -1
  10. package/dist/multi-select/model/useODataMultiSelect.d.ts.map +1 -1
  11. package/dist/multi-select/ui/MultiSelect.d.ts +2 -2
  12. package/dist/multi-select/ui/MultiSelect.d.ts.map +1 -1
  13. package/dist/multi-select/ui/SerializableMultiSelect.d.ts.map +1 -1
  14. package/dist/multi-select/ui/defaultRenderers.d.ts +2 -2
  15. package/dist/multi-select/ui/defaultRenderers.d.ts.map +1 -1
  16. package/dist/select/model/useODataSelect.d.ts +1 -1
  17. package/dist/select/model/useODataSelect.d.ts.map +1 -1
  18. package/dist/select/model/useODataSelectBase.d.ts +1 -1
  19. package/dist/select/model/useODataSelectBase.d.ts.map +1 -1
  20. package/dist/tree-select/index.js +1 -1
  21. package/dist/tree-select/index.js.map +1 -1
  22. package/dist/tree-select/model/buildODataTreeNodes.d.ts +1 -1
  23. package/dist/tree-select/model/buildODataTreeNodes.d.ts.map +1 -1
  24. package/package.json +3 -3
  25. package/storybook-static/assets/{Badge-BqQpQw_L.js → Badge-CveIo2LZ.js} +1 -1
  26. package/storybook-static/assets/{Badge.stories-BLEc3pho.js → Badge.stories-Bd8M64xJ.js} +1 -1
  27. package/storybook-static/assets/{BadgeList-DfMo6yit.js → BadgeList-xT41a0VL.js} +1 -1
  28. package/storybook-static/assets/{Button-D1w_se49.js → Button-C5bBSb3k.js} +1 -1
  29. package/storybook-static/assets/{Button-D6MwkfU8.js → Button-DkDgfpHL.js} +1 -1
  30. package/storybook-static/assets/{Button.stories-DsEGxbz-.js → Button.stories-CeKPeGK5.js} +1 -1
  31. package/storybook-static/assets/{CalendarView-FWwbhHMn.js → CalendarView-CEqcrblx.js} +1 -1
  32. package/storybook-static/assets/{CheckBox-BIeKlLsQ.js → CheckBox-DKeFkdOt.js} +1 -1
  33. package/storybook-static/assets/{CheckBox-krtKLFK6.js → CheckBox-OVvAarW-.js} +1 -1
  34. package/storybook-static/assets/{CheckBox.stories-gV23d8F9.js → CheckBox.stories-CfZ0p1yo.js} +1 -1
  35. package/storybook-static/assets/{Color-6AOWCN3U-DF3lA8Cg.js → Color-6AOWCN3U-BWW7zrfs.js} +1 -1
  36. package/storybook-static/assets/{ContextMenu-Jid_pp7z.js → ContextMenu-kia7is1N.js} +1 -1
  37. package/storybook-static/assets/{ContextMenu-CvOaSUdS.js → ContextMenu-xn2GtiLR.js} +1 -1
  38. package/storybook-static/assets/{ContextMenu.stories-BMRQo225.js → ContextMenu.stories-CYuy9uXF.js} +1 -1
  39. package/storybook-static/assets/{CustomOptionButton-B_3l2oEp.js → CustomOptionButton-C4w-APws.js} +1 -1
  40. package/storybook-static/assets/DateInput-BiUFIihm.js +1 -0
  41. package/storybook-static/assets/{DateInput-Dmfu-QPI.js → DateInput-DAzE5mCE.js} +1 -1
  42. package/storybook-static/assets/{DateInput.stories-BcZKAAUH.js → DateInput.stories-BcowGCRD.js} +1 -1
  43. package/storybook-static/assets/{DateRangePresetSelect-Dpjei_qk.js → DateRangePresetSelect-CQm4dNLR.js} +1 -1
  44. package/storybook-static/assets/{DateRangePresetSelect-C4QK2uI5.js → DateRangePresetSelect-RIyqNBk9.js} +1 -1
  45. package/storybook-static/assets/{DateRangePresetSelect.stories-HuFMQCzg.js → DateRangePresetSelect.stories-ypGyuGfy.js} +1 -1
  46. package/storybook-static/assets/{Detail-mSGrPHPd.js → Detail-CEypL2Nh.js} +1 -1
  47. package/storybook-static/assets/{Detail.stories-CNmeyajk.js → Detail.stories-DNkT7B-u.js} +1 -1
  48. package/storybook-static/assets/{Dialog-CNPtztC5.js → Dialog-BVFFQJDH.js} +1 -1
  49. package/storybook-static/assets/{Dialog-C4lB95kT.js → Dialog-DD0grLG3.js} +1 -1
  50. package/storybook-static/assets/{Dialog.stories-DGC2CdmD.js → Dialog.stories-DSCypHqR.js} +1 -1
  51. package/storybook-static/assets/{Disclosure-Bg9Uurzq.js → Disclosure-DauUgrev.js} +1 -1
  52. package/storybook-static/assets/{Disclosure.stories-52zq3d3b.js → Disclosure.stories-B1qB8vQZ.js} +1 -1
  53. package/storybook-static/assets/{DisclosureGroup-htBmjuHs.js → DisclosureGroup-D9oCCeHf.js} +1 -1
  54. package/storybook-static/assets/{DocsRenderer-JROSPFPF-CfCr8YB1.js → DocsRenderer-JROSPFPF-CmSf6tXp.js} +1 -1
  55. package/storybook-static/assets/{DropZone-DHl97f8Y.js → DropZone-D42ueN1w.js} +1 -1
  56. package/storybook-static/assets/{DropZone-BsjXindv.js → DropZone-D8hbPCAv.js} +1 -1
  57. package/storybook-static/assets/{DropZone.stories-UxmcssH9.js → DropZone.stories-DO-T_Bh4.js} +1 -1
  58. package/storybook-static/assets/{DropdownMenu-Bq4Z7eyk.js → DropdownMenu-CknJDoji.js} +1 -1
  59. package/storybook-static/assets/{ExpandableActionPanel-Buvm-uo_.js → ExpandableActionPanel-Dqi_bo3c.js} +1 -1
  60. package/storybook-static/assets/{ExpandableActionPanel.stories-DHjq73og.js → ExpandableActionPanel.stories-BD9QZGZN.js} +1 -1
  61. package/storybook-static/assets/{Flex-B9W01d7p.js → Flex-CaVn1IOP.js} +1 -1
  62. package/storybook-static/assets/{Flex.stories-Y8vGrgl5.js → Flex.stories-Bp9Y6q6b.js} +1 -1
  63. package/storybook-static/assets/{FloatingPopover-C06XhNb8.js → FloatingPopover-U7tx-Jlw.js} +1 -1
  64. package/storybook-static/assets/{FormattedTableCell-DnBQJjql.js → FormattedTableCell-pmmhsAbN.js} +1 -1
  65. package/storybook-static/assets/{Grid-BNsdOQE3.js → Grid-CEpMNurH.js} +1 -1
  66. package/storybook-static/assets/{Grid.stories-hwxpk_k9.js → Grid.stories-BM-gO5DN.js} +1 -1
  67. package/storybook-static/assets/{ImageCropper.stories-L6AaNzcC.js → ImageCropper.stories-BWz5XU6U.js} +1 -1
  68. package/storybook-static/assets/{ImageRenderer-DA4vCb7C.js → ImageRenderer-BTYZEX5t.js} +1 -1
  69. package/storybook-static/assets/{ImageRenderer.stories-eWJHpmcc.js → ImageRenderer.stories-Dz2STM95.js} +1 -1
  70. package/storybook-static/assets/{ImageView.stories-CDZmePLC.js → ImageView.stories-DBVe0an3.js} +1 -1
  71. package/storybook-static/assets/{ImageViewer.stories-c1s8XOKG.js → ImageViewer.stories-C4Px97lD.js} +2 -2
  72. package/storybook-static/assets/{ImageViewerRuntime-CB58FU7X.js → ImageViewerRuntime-TJtlJVfa.js} +1 -1
  73. package/storybook-static/assets/{Input-k78uABnO.js → Input-CIPgijvW.js} +1 -1
  74. package/storybook-static/assets/{Input-CPh1-5MN.js → Input-D8io9jVS.js} +1 -1
  75. package/storybook-static/assets/{Input.stories-Bjo-quWE.js → Input.stories-SUk3aYaC.js} +1 -1
  76. package/storybook-static/assets/{InputDateTime-D6wx8NHg.js → InputDateTime-DA5pIDuE.js} +1 -1
  77. package/storybook-static/assets/{InputDateTime.stories-DKYu3IHZ.js → InputDateTime.stories-DeudzDSU.js} +1 -1
  78. package/storybook-static/assets/{InputFile-B_d9cuuZ.js → InputFile-C5mp5Y5I.js} +1 -1
  79. package/storybook-static/assets/{InputFile-jyLYajsV.js → InputFile-CGAC7ruP.js} +1 -1
  80. package/storybook-static/assets/{InputFile.stories-BdefvDig.js → InputFile.stories-Cx1xQ6PE.js} +1 -1
  81. package/storybook-static/assets/{InputFiles-Bk5cxV_q.js → InputFiles-B7OBcPJN.js} +1 -1
  82. package/storybook-static/assets/{InputFiles-8NO4ybbw.js → InputFiles-Hzl89Ghf.js} +1 -1
  83. package/storybook-static/assets/{InputFiles.stories-ByWo1zY4.js → InputFiles.stories-CG6QjDZH.js} +1 -1
  84. package/storybook-static/assets/{InputFilesList-D4SB2px7.js → InputFilesList-B6htWHF1.js} +1 -1
  85. package/storybook-static/assets/{InputImage-Zoi-dxR0.js → InputImage-BTa4S4Wp.js} +1 -1
  86. package/storybook-static/assets/{InputImage-DehD0dUv.js → InputImage-CQnoblAE.js} +1 -1
  87. package/storybook-static/assets/{InputImage.stories-Bm6vjE22.js → InputImage.stories-CEI44Eyz.js} +1 -1
  88. package/storybook-static/assets/{InteractiveComponents-B1kglKoK.js → InteractiveComponents-B0ypWz1x.js} +1 -1
  89. package/storybook-static/assets/{InteractiveComponents.stories-HmO6jYBZ.js → InteractiveComponents.stories-BadApta9.js} +1 -1
  90. package/storybook-static/assets/{LayoutPicker-BdaZMF1N.js → LayoutPicker-COB9GlV_.js} +1 -1
  91. package/storybook-static/assets/{LayoutPicker-C__JzlAL.js → LayoutPicker-C_Uz7Tnj.js} +1 -1
  92. package/storybook-static/assets/{LayoutPicker.stories-Q1MsCb_7.js → LayoutPicker.stories-Btp0IcaL.js} +1 -1
  93. package/storybook-static/assets/{Listbox-_2Lhh6GE.js → Listbox-AAaZGSAl.js} +1 -1
  94. package/storybook-static/assets/{Listbox-HDTB2yAv.js → Listbox-CyfuZw7w.js} +1 -1
  95. package/storybook-static/assets/{Listbox.stories-C5uX1wxr.js → Listbox.stories-NDKQmjyQ.js} +1 -1
  96. package/storybook-static/assets/{Modal-Blv9Namu.js → Modal-BJDnJ4zv.js} +1 -1
  97. package/storybook-static/assets/{Modal.stories-Bh5G9FLw.js → Modal.stories-D_X5lTLO.js} +1 -1
  98. package/storybook-static/assets/{ModalManagerProvider-DedM4XGI.js → ModalManagerProvider-ShDjozpW.js} +1 -1
  99. package/storybook-static/assets/{MultiSelect-B_2TcTLI.js → MultiSelect-B5CElQ3-.js} +1 -1
  100. package/storybook-static/assets/{MultiSelect-C9a9z0VK.js → MultiSelect-DqXfrjcH.js} +1 -1
  101. package/storybook-static/assets/{MultiSelect.stories-D5Ly4DPj.js → MultiSelect.stories-fB3mcFmx.js} +1 -1
  102. package/storybook-static/assets/{NoData-CD8_tH4f.js → NoData-DDb0G7T8.js} +1 -1
  103. package/storybook-static/assets/{NotificationsHost-MW4gDQQK.js → NotificationsHost-CIGL-pKX.js} +1 -1
  104. package/storybook-static/assets/NotificationsHost.stories-B_MRb3fs.js +29 -0
  105. package/storybook-static/assets/{ODataMultiSelect-DjVOp5BB.js → ODataMultiSelect-DQAitH4N.js} +1 -1
  106. package/storybook-static/assets/{ODataMultiSelect.stories-Cpxe83Z0.js → ODataMultiSelect.stories-DwW221S9.js} +2 -2
  107. package/storybook-static/assets/{ODataSelect-C_2GMQva.js → ODataSelect-tiZhOIhE.js} +1 -1
  108. package/storybook-static/assets/{ODataSelect.stories-C6Wo7X-M.js → ODataSelect.stories-BhaatPjK.js} +2 -2
  109. package/storybook-static/assets/{ODataTreeMultiSelect-1PxW1yEH.js → ODataTreeMultiSelect-B9WqJ-Un.js} +1 -1
  110. package/storybook-static/assets/{ODataTreeMultiSelect.stories-AetogHrA.js → ODataTreeMultiSelect.stories-CAfKuhfU.js} +1 -1
  111. package/storybook-static/assets/{ODataTreeSelect-vPvVKIRZ.js → ODataTreeSelect-Cel1phxZ.js} +1 -1
  112. package/storybook-static/assets/{ODataTreeSelect.stories-Cvyu6C2q.js → ODataTreeSelect.stories-BpBCpBA9.js} +1 -1
  113. package/storybook-static/assets/{OneStepScroller-BtSUY6R7.js → OneStepScroller-BSeGbz02.js} +1 -1
  114. package/storybook-static/assets/{Option-D5HVST0Y.js → Option-BBtQ3GdK.js} +1 -1
  115. package/storybook-static/assets/{OptionButton-DMZn3qex.js → OptionButton-B9nZuqqW.js} +1 -1
  116. package/storybook-static/assets/{PeriodSelect-ccgbEHCS.js → PeriodSelect-BGvhR3to.js} +1 -1
  117. package/storybook-static/assets/{PeriodSelect-BirdSdPT.js → PeriodSelect-DA_zjcdA.js} +1 -1
  118. package/storybook-static/assets/{PeriodSelect.stories-LnR8MJQQ.js → PeriodSelect.stories-DDP1eXyM.js} +1 -1
  119. package/storybook-static/assets/{PickerTriggerActions-DEXowtVB.js → PickerTriggerActions-BgvzqRBd.js} +1 -1
  120. package/storybook-static/assets/{Popover-CfT-5TUj.js → Popover-BQql18MF.js} +1 -1
  121. package/storybook-static/assets/{Popover-B9Pbbd8S.js → Popover-C0NebUMz.js} +1 -1
  122. package/storybook-static/assets/{Popover.stories-DkIh7SkO.js → Popover.stories-CIyDUtlz.js} +1 -1
  123. package/storybook-static/assets/{PresetRangeDateInput-BshHlO-z.js → PresetRangeDateInput-BsgzPwCV.js} +1 -1
  124. package/storybook-static/assets/{PresetRangeDateInput-rHxPNjnG.js → PresetRangeDateInput-htbxc3ni.js} +1 -1
  125. package/storybook-static/assets/{PresetRangeDateInput.stories-BToClw-C.js → PresetRangeDateInput.stories-ClHM5Kah.js} +1 -1
  126. package/storybook-static/assets/{PresetSelect-BND50bCx.js → PresetSelect-Dcx0BOTx.js} +1 -1
  127. package/storybook-static/assets/README--LCKbep-.js +110 -0
  128. package/storybook-static/assets/{README-Du53oOl4.js → README-5M8ajrJp.js} +1 -1
  129. package/storybook-static/assets/README-5NhzH8VL.js +95 -0
  130. package/storybook-static/assets/README-Am6Fa6-b.js +69 -0
  131. package/storybook-static/assets/README-B3bFglqG.js +82 -0
  132. package/storybook-static/assets/README-B45Cwj2a.js +95 -0
  133. package/storybook-static/assets/README-B6Nq7NCU.js +416 -0
  134. package/storybook-static/assets/{README-s-T48I9S.js → README-B6ltJiw3.js} +1 -1
  135. package/storybook-static/assets/{README-DUA1kfLE.js → README-BB_JPejH.js} +1 -1
  136. package/storybook-static/assets/README-BIq-FXcN.js +2124 -0
  137. package/storybook-static/assets/README-BSh5XUR9.js +110 -0
  138. package/storybook-static/assets/README-BXJneZAJ.js +147 -0
  139. package/storybook-static/assets/README-BYSgTTZt.js +296 -0
  140. package/storybook-static/assets/{README-BRNFl9WV.js → README-BmhhWWEk.js} +1 -1
  141. package/storybook-static/assets/README-Bqnqu1bC.js +118 -0
  142. package/storybook-static/assets/README-BuMMG4_N.js +192 -0
  143. package/storybook-static/assets/README-BxjYCoYA.js +186 -0
  144. package/storybook-static/assets/{README-BsxKAG_a.js → README-ByALXSEH.js} +1 -1
  145. package/storybook-static/assets/README-Byo6DxIF.js +101 -0
  146. package/storybook-static/assets/README-C3UcjOGB.js +208 -0
  147. package/storybook-static/assets/README-C6BOdXNV.js +322 -0
  148. package/storybook-static/assets/README-C8E1O7DQ.js +230 -0
  149. package/storybook-static/assets/README-C9eh0JLs.js +64 -0
  150. package/storybook-static/assets/README-CAGQnLsv.js +90 -0
  151. package/storybook-static/assets/README-CC00hlZK.js +527 -0
  152. package/storybook-static/assets/README-CH_6ZIO2.js +64 -0
  153. package/storybook-static/assets/README-CHbo4O3Z.js +75 -0
  154. package/storybook-static/assets/{README-Y0nGf_0E.js → README-CIGfHKKE.js} +1 -1
  155. package/storybook-static/assets/{README-B7XIrdXq.js → README-CM-7E-Jf.js} +1 -1
  156. package/storybook-static/assets/{README-8Lm1JpdJ.js → README-CNHemCS2.js} +1 -1
  157. package/storybook-static/assets/{README-fxPT-NzI.js → README-CWfPiPIB.js} +1 -1
  158. package/storybook-static/assets/{README-Dw1C16bT.js → README-CeK4kfFO.js} +1 -1
  159. package/storybook-static/assets/README-Cj2e6HrF.js +178 -0
  160. package/storybook-static/assets/README-CsoHGRve.js +1844 -0
  161. package/storybook-static/assets/README-D9OypaFB.js +208 -0
  162. package/storybook-static/assets/{README-zAGDQqES.js → README-DDBqoI-T.js} +1 -1
  163. package/storybook-static/assets/README-DE2wk9-v.js +1282 -0
  164. package/storybook-static/assets/README-DEj2wSK0.js +264 -0
  165. package/storybook-static/assets/{README-DJlxGqOL.js → README-DIbfpC-2.js} +1 -1
  166. package/storybook-static/assets/{README-D5VR4x0m.js → README-DJHVgrpj.js} +1 -1
  167. package/storybook-static/assets/README-DN9HKtp_.js +124 -0
  168. package/storybook-static/assets/README-DNricOkt.js +136 -0
  169. package/storybook-static/assets/README-DV4fCpqN.js +1146 -0
  170. package/storybook-static/assets/{README-BMmR1B7a.js → README-DjCArsA5.js} +1 -1
  171. package/storybook-static/assets/README-Dl92E69Z.js +1704 -0
  172. package/storybook-static/assets/README-DnA-4W65.js +226 -0
  173. package/storybook-static/assets/README-DoCA4JXf.js +273 -0
  174. package/storybook-static/assets/{README-DUxV9GhP.js → README-DvAlDsh9.js} +1 -1
  175. package/storybook-static/assets/README-Ss-3t1nX.js +158 -0
  176. package/storybook-static/assets/README-eHCINzP3.js +154 -0
  177. package/storybook-static/assets/README-qHKxXU95.js +98 -0
  178. package/storybook-static/assets/README-tm9QH9cF.js +103 -0
  179. package/storybook-static/assets/README-ui-uanyg.js +672 -0
  180. package/storybook-static/assets/{RadioButton-BKvo6LIi.js → RadioButton-CWtjclwT.js} +1 -1
  181. package/storybook-static/assets/{RadioButton-D8KuponB.js → RadioButton-YIQXt0wx.js} +1 -1
  182. package/storybook-static/assets/{RadioButton.stories-BabeLrwX.js → RadioButton.stories-Ah-CBpeC.js} +1 -1
  183. package/storybook-static/assets/{RadioGroup-CsWjbEp2.js → RadioGroup-BnO-GL7A.js} +1 -1
  184. package/storybook-static/assets/{RadioGroup-jl5PxZpJ.js → RadioGroup-CUS0etBD.js} +1 -1
  185. package/storybook-static/assets/{RadioGroup.stories-BGoWy9-B.js → RadioGroup.stories-DGwCawtU.js} +1 -1
  186. package/storybook-static/assets/{Scrollable-CmPEHdW8.js → Scrollable-D85fA6pO.js} +1 -1
  187. package/storybook-static/assets/{Select-DiN4WVRM.js → Select-CGCxJjL9.js} +1 -1
  188. package/storybook-static/assets/{Select-BGM16rM6.js → Select-gRnfvfGh.js} +1 -1
  189. package/storybook-static/assets/{Select.stories-BEO6vXD_.js → Select.stories-CMwt4F9i.js} +1 -1
  190. package/storybook-static/assets/{SerializableSelect-B0DuNSqT.js → SerializableSelect-BLXfKJ38.js} +1 -1
  191. package/storybook-static/assets/{SerializableSelect.stories-DcI6UQCk.js → SerializableSelect.stories-Bca1a9ZU.js} +1 -1
  192. package/storybook-static/assets/{SingleDateTimeInput-C_Itd_An.js → SingleDateTimeInput-CyeQN0Rd.js} +1 -1
  193. package/storybook-static/assets/{SingleDateTimeInput-CwYhFl03.js → SingleDateTimeInput-xrmZckzw.js} +1 -1
  194. package/storybook-static/assets/SingleDateTimeInput.stories-BYFTQM9z.js +48 -0
  195. package/storybook-static/assets/{Slider-DCEQ39ar.js → Slider-1yJ3uVeR.js} +1 -1
  196. package/storybook-static/assets/{Slider-r4NefX-L.js → Slider-D8GtXVGI.js} +1 -1
  197. package/storybook-static/assets/{Slider.stories-B3M87sif.js → Slider.stories-CyQ3ns_C.js} +1 -1
  198. package/storybook-static/assets/{SliderInput-BmLucI1O.js → SliderInput-BOzHhEUA.js} +1 -1
  199. package/storybook-static/assets/{SliderInput-2ThnJzQ4.js → SliderInput-ISSx9vH_.js} +1 -1
  200. package/storybook-static/assets/{SliderInput.stories-B64rkErN.js → SliderInput.stories-7ooTghrS.js} +1 -1
  201. package/storybook-static/assets/{Sortable-Bx0rDd7W.js → Sortable-CCLiMmfZ.js} +1 -1
  202. package/storybook-static/assets/{Sortable.stories-BizbKIHw.js → Sortable.stories-B36szI6t.js} +1 -1
  203. package/storybook-static/assets/{Splitter-DGCB2owx.js → Splitter-DQGhgRwx.js} +1 -1
  204. package/storybook-static/assets/{Splitter.stories-8Oh14fbm.js → Splitter.stories-Hsq1wYaq.js} +1 -1
  205. package/storybook-static/assets/{StateSelect-Dw0Qm14-.js → StateSelect-C6hldFgO.js} +1 -1
  206. package/storybook-static/assets/{StateSelect-BSQUSTgI.js → StateSelect-DieNn4VC.js} +1 -1
  207. package/storybook-static/assets/{StateSelect.stories-C8WPRJNx.js → StateSelect.stories-CvAhDMix.js} +1 -1
  208. package/storybook-static/assets/{StringToggle.stories-K9u9rdE8.js → StringToggle.stories-CUT1tvt-.js} +1 -1
  209. package/storybook-static/assets/{Switch-BBuNsdNx.js → Switch-CX9p_uYU.js} +1 -1
  210. package/storybook-static/assets/{Switch-CtpvrECR.js → Switch-nEMRtcWe.js} +1 -1
  211. package/storybook-static/assets/{Switch.stories-Bcr4zA7L.js → Switch.stories-CPsHa2_m.js} +1 -1
  212. package/storybook-static/assets/{Table-iYeIie6s.js → Table-BhtITVtj.js} +1 -1
  213. package/storybook-static/assets/{Table.stories-BESdXqZx.js → Table.stories-nWNhSydG.js} +2 -2
  214. package/storybook-static/assets/{Tabs-aqWeCgs4.js → Tabs-DMQFh2BJ.js} +1 -1
  215. package/storybook-static/assets/{Tabs.stories-BSnrKg5G.js → Tabs.stories-D23_xvom.js} +1 -1
  216. package/storybook-static/assets/{TabsBox-CvRq3QA7.js → TabsBox-B5BsD_j_.js} +1 -1
  217. package/storybook-static/assets/{TagInput-CfKrOpJJ.js → TagInput-DO17z100.js} +1 -1
  218. package/storybook-static/assets/{TagInput.stories-CvXZl_qX.js → TagInput.stories-CMMFnIzb.js} +1 -1
  219. package/storybook-static/assets/{Text-_hP7L82D.js → Text-ClnbDqRk.js} +1 -1
  220. package/storybook-static/assets/{Textarea-Ujw8jml9.js → Textarea-C2IO_zsP.js} +1 -1
  221. package/storybook-static/assets/{Textarea-C6X20K4X.js → Textarea-DkhohiNc.js} +1 -1
  222. package/storybook-static/assets/{Textarea.stories-Bi4BQMxQ.js → Textarea.stories-NL6Aq8Vc.js} +1 -1
  223. package/storybook-static/assets/{TimePanel-B3eqkZj8.js → TimePanel-DNEPDlSW.js} +1 -1
  224. package/storybook-static/assets/{TimePanel.stories-BHXkDSMy.js → TimePanel.stories-DlfdPsz1.js} +1 -1
  225. package/storybook-static/assets/{Toggle-DS-Q4jwI.js → Toggle-3U5CceQN.js} +1 -1
  226. package/storybook-static/assets/{Toggle-6sjykxYk.js → Toggle-Cc6Ca-HI.js} +1 -1
  227. package/storybook-static/assets/{Toggle.stories-BhM1so-Z.js → Toggle.stories-BR-hVLDp.js} +1 -1
  228. package/storybook-static/assets/{TreeMultiSelect-D2lWYAa2.js → TreeMultiSelect-B0oBc-4y.js} +1 -1
  229. package/storybook-static/assets/{TreeMultiSelect-BudM77CT.js → TreeMultiSelect-D9hMQN2O.js} +1 -1
  230. package/storybook-static/assets/{TreeMultiSelect.stories-Bhh1zaAQ.js → TreeMultiSelect.stories-CslpbvPR.js} +1 -1
  231. package/storybook-static/assets/{TreePickerBase-CJfbJ6Ap.js → TreePickerBase-B_dMCe45.js} +1 -1
  232. package/storybook-static/assets/{TreeSelect-BFD6AKMu.js → TreeSelect-2lj0Q8gm.js} +1 -1
  233. package/storybook-static/assets/{TreeSelect-B7SG9PV7.js → TreeSelect-DEKNYF2b.js} +1 -1
  234. package/storybook-static/assets/{TreeSelect.stories-C-bHnrPH.js → TreeSelect.stories-CVDxn8Vm.js} +1 -1
  235. package/storybook-static/assets/{TreeTable-D-z37qlF.js → TreeTable-CBIpzYRL.js} +1 -1
  236. package/storybook-static/assets/{TreeTable.stories-CF_mH9Zz.js → TreeTable.stories-BMzrr2Kc.js} +2 -2
  237. package/storybook-static/assets/{blocks-Ddv0ZNIG.js → blocks-B5YBxaaS.js} +3 -3
  238. package/storybook-static/assets/{check-CgNbDbzr.js → check-BjtdCRaW.js} +1 -1
  239. package/storybook-static/assets/{chevron-down-0EnY_Ds_.js → chevron-down-B4u-y8Z1.js} +1 -1
  240. package/storybook-static/assets/{chevron-left-D5M5fFYk.js → chevron-left-BQfWs7Ah.js} +1 -1
  241. package/storybook-static/assets/{chevron-right-Uz5Iy_m-.js → chevron-right-ChokKd-f.js} +1 -1
  242. package/storybook-static/assets/{chunk-W22LQPXL-THpLoWLV.js → chunk-W22LQPXL-meOkhzk4.js} +1 -1
  243. package/storybook-static/assets/{circle-alert-B6Z--uoZ.js → circle-alert-B1AnDRf_.js} +1 -1
  244. package/storybook-static/assets/{circle-check-DMzkBUqN.js → circle-check-JYnlcC1F.js} +1 -1
  245. package/storybook-static/assets/{components-BmKs7c49.js → components-C_wl1sL5.js} +3 -3
  246. package/storybook-static/assets/{contextMenu-Dct-XhfD.js → contextMenu-B-TUGs_1.js} +1 -1
  247. package/storybook-static/assets/{defaultRenderers-BHXboKuy.js → defaultRenderers-DfmnIuod.js} +1 -1
  248. package/storybook-static/assets/{download-wey0TOZ0.js → download-eR3X8I-h.js} +1 -1
  249. package/storybook-static/assets/{floating-ui.react-COVT_I6r.js → floating-ui.react-D95VPQ0b.js} +1 -1
  250. package/storybook-static/assets/formatters-D33Uh3si-CxrG0jsB.js +1 -0
  251. package/storybook-static/assets/foundationApi-QhHXpYLB.js +59 -0
  252. package/storybook-static/assets/foundationLib-CEAjnstw.js +30 -0
  253. package/storybook-static/assets/{hooks-Baxp-XYz.js → hooks-awde7r2r.js} +1 -1
  254. package/storybook-static/assets/iframe-DzQq_POR.js +1 -0
  255. package/storybook-static/assets/{iframe-BOu-P2xF.js → iframe-FSp_AjJa.js} +4 -4
  256. package/storybook-static/assets/{info-gF0pk8a1.js → info-12vmb1sT.js} +1 -1
  257. package/storybook-static/assets/odata-C0Kpvttz.js +1 -0
  258. package/storybook-static/assets/odata-service-CWkHASdw-DlmSiioz.js +3 -0
  259. package/storybook-static/assets/{odataStoryFixtures-BUio-7WG.js → odataStoryFixtures-BXZnk_C7.js} +1 -1
  260. package/storybook-static/assets/{react-CN73PS7L.js → react-BlCqWuXr.js} +1 -1
  261. package/storybook-static/assets/{refresh-cw-BZ2qxodL.js → refresh-cw-Bf5ufPte.js} +1 -1
  262. package/storybook-static/assets/{settings-2-B33BG8wi.js → settings-2-DR-dTXIC.js} +1 -1
  263. package/storybook-static/assets/{sortable-CmC4atFR.js → sortable-B5e5yb_-.js} +1 -1
  264. package/storybook-static/assets/{syntaxhighlighter-QEQV7K2Y-Di0K55k7.js → syntaxhighlighter-QEQV7K2Y-EVJARTec.js} +1 -1
  265. package/storybook-static/assets/{trash-2-TnhWnKGO.js → trash-2-QP7TS18H.js} +1 -1
  266. package/storybook-static/assets/{triangle-alert-hZRwHRWu.js → triangle-alert-qw19mxHr.js} +1 -1
  267. package/storybook-static/assets/{useODataSelectBase-bTXYj3rC.js → useODataSelectBase-Csu_Cct9.js} +1 -1
  268. package/storybook-static/assets/useODataTreeData-BAv-Twqf.js +1 -0
  269. package/storybook-static/assets/{usePickerQuery-BMGBq6pi.js → usePickerQuery-Da-XM_Y0.js} +1 -1
  270. package/storybook-static/assets/{usePickerTriggerController-CB_TIrYx.js → usePickerTriggerController-C0TdC2Pz.js} +1 -1
  271. package/storybook-static/assets/{x-D86ykZGt.js → x-aCjYTirW.js} +1 -1
  272. package/storybook-static/iframe.html +2 -2
  273. package/storybook-static/index.json +1 -1
  274. package/storybook-static/project.json +1 -1
  275. package/dist/chunks/defaultRenderers-Dbhg2hHc.js.map +0 -1
  276. package/dist/chunks/multi-select-CHZhWoq6.js.map +0 -1
  277. package/storybook-static/assets/DateInput-DSwx7eI6.js +0 -1
  278. package/storybook-static/assets/NotificationsHost.stories-BZJG9Nvq.js +0 -29
  279. package/storybook-static/assets/SingleDateTimeInput.stories-kdKdW6al.js +0 -48
  280. package/storybook-static/assets/async-D1NpMm55.js +0 -625
  281. package/storybook-static/assets/formatters-CBgrBeSA-CqB1pZxS.js +0 -1
  282. package/storybook-static/assets/foundationLib-CRTVZVS8.js +0 -25
  283. package/storybook-static/assets/iframe-CDj936Ul.js +0 -1
  284. package/storybook-static/assets/odata-D9Wmxqmj.js +0 -1
  285. package/storybook-static/assets/odata-service-B6TxBSLm-Bq8Ya67E.js +0 -3
  286. package/storybook-static/assets/odataFetchFn-DfJwHTw8.js +0 -763
  287. package/storybook-static/assets/persisted-4qmfJLE0.js +0 -600
  288. package/storybook-static/assets/useODataTreeData-ZcX73Wdh.js +0 -1
@@ -1,4 +1,4 @@
1
- import{a as e,n as t}from"./rolldown-runtime-DkW27tQK.js";import{t as n}from"./react-BZJXY1be.js";import{n as r}from"./iframe-BOu-P2xF.js";import{c as i}from"./ModalManagerProvider-DedM4XGI.js";var a,o;function s(){return(s=t((()=>{a=n(),o=(0,a.createContext)({})})))()}function c(e){let t=(0,l.useRef)(null);return t.current===null&&(t.current=e()),t.current}var l;function u(){return(u=t((()=>{l=n()})))()}var d;function f(){return(f=t((()=>{d=typeof window<`u`})))()}var p,m;function h(){return(h=t((()=>{p=n(),f(),m=d?p.useLayoutEffect:p.useEffect})))()}var g,_;function v(){return(v=t((()=>{g=n(),_=(0,g.createContext)(null)})))()}function y(e,t){e.indexOf(t)===-1&&e.push(t)}function b(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var x;function S(){return(S=t((()=>{x=(e,t,n)=>n>t?t:n<e?e:n})))()}var C,w;function T(){return(T=t((()=>{C=()=>{},w=()=>{}})))()}var E;function ee(){return(ee=t((()=>{E={}})))()}var te;function ne(){return(ne=t((()=>{te=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)})))()}var re;function ie(){return(ie=t((()=>{re=e=>typeof e==`object`&&!!e})))()}var ae;function oe(){return(oe=t((()=>{ae=e=>/^0[^.\s]+$/u.test(e)})))()}function se(e){let t;return()=>(t===void 0&&(t=e()),t)}var D;function O(){return(O=t((()=>{D=e=>e})))()}var ce;function le(){return(le=t((()=>{ce=(...e)=>e.reduce((e,t)=>n=>t(e(n)))})))()}var ue;function de(){return(de=t((()=>{ue=(e,t,n)=>{let r=t-e;return r?(n-e)/r:1}})))()}var fe;function pe(){return(pe=t((()=>{fe=class{constructor(){this.subscriptions=[]}add(e){return y(this.subscriptions,e),()=>b(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r){if(r===1)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}})))()}var k,A;function me(){return(me=t((()=>{k=e=>e*1e3,A=e=>e/1e3})))()}var he;function ge(){return(ge=t((()=>{he=(e,t)=>t?1e3/t*e:0})))()}function _e(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=ye(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>be&&++s<xe);return o}function ve(e,t,n,r){if(e===t&&n===r)return D;let i=t=>_e(t,0,1,e,n);return e=>e===0||e===1?e:ye(i(e),t,r)}var ye,be,xe;function Se(){return(Se=t((()=>{O(),ye=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,be=1e-7,xe=12})))()}var Ce;function we(){return(we=t((()=>{Ce=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2})))()}var Te;function Ee(){return(Ee=t((()=>{Te=e=>t=>1-e(1-t)})))()}var De,Oe,ke;function Ae(){return(Ae=t((()=>{Se(),we(),Ee(),De=ve(.33,1.53,.69,.99),Oe=Te(De),ke=Ce(Oe)})))()}var je;function Me(){return(Me=t((()=>{Ae(),je=e=>e>=1?1:(e*=2)<1?.5*Oe(e):.5*(2-2**(-10*(e-1)))})))()}var Ne,Pe,Fe;function Ie(){return(Ie=t((()=>{we(),Ee(),Ne=e=>1-Math.sin(Math.acos(e)),Pe=Te(Ne),Fe=Ce(Ne)})))()}var Le,Re,ze;function Be(){return(Be=t((()=>{Se(),Le=ve(.42,0,1,1),Re=ve(0,0,.58,1),ze=ve(.42,0,.58,1)})))()}var Ve;function He(){return(He=t((()=>{Ve=e=>Array.isArray(e)&&typeof e[0]!=`number`})))()}var Ue;function We(){return(We=t((()=>{Ue=e=>Array.isArray(e)&&typeof e[0]==`number`})))()}var Ge,Ke,qe;function Je(){return(Je=t((()=>{T(),O(),Me(),Ae(),Ie(),Se(),Be(),We(),Ge={linear:D,easeIn:Le,easeInOut:ze,easeOut:Re,circIn:Ne,circInOut:Fe,circOut:Pe,backIn:Oe,backInOut:ke,backOut:De,anticipate:je},Ke=e=>typeof e==`string`,qe=e=>{if(Ue(e)){w(e.length===4,`Cubic bezier arrays must contain four numerical values.`,`cubic-bezier-length`);let[t,n,r,i]=e;return ve(t,n,r,i)}return Ke(e)?(w(Ge[e]!==void 0,`Invalid easing type '${e}'`,`invalid-easing-type`),Ge[e]):e}})))()}var Ye;function Xe(){return(Xe=t((()=>{Ye=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`]})))()}function Ze(e){let t=new Set,n=new Set,r=!1,i=!1,a=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function s(t){a.has(t)&&(c.schedule(t),e()),t(o)}let c={schedule:(e,i=!1,o=!1)=>{let s=o&&r?t:n;return i&&a.add(e),s.add(e),e},cancel:e=>{n.delete(e),a.delete(e)},process:e=>{if(o=e,r){i=!0;return}r=!0;let a=t;t=n,n=a,t.forEach(s),t.clear(),r=!1,i&&(i=!1,c.process(e))}};return c}function Qe(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=Ye.reduce((e,t)=>(e[t]=Ze(a),e),{}),{setup:s,read:c,resolveKeyframes:l,preUpdate:u,update:d,preRender:f,render:p,postRender:m}=o,h=()=>{let a=E.useManualTiming,o=a?i.timestamp:performance.now();n=!1,a||(i.delta=r?1e3/60:Math.max(Math.min(o-i.timestamp,$e),1)),i.timestamp=o,i.isProcessing=!0,s.process(i),c.process(i),l.process(i),u.process(i),d.process(i),f.process(i),p.process(i),m.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(h))},g=()=>{n=!0,r=!0,i.isProcessing||e(h)};return{schedule:Ye.reduce((e,t)=>{let r=o[t];return e[t]=(e,t=!1,i=!1)=>(n||g(),r.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<Ye.length;t++)o[Ye[t]].cancel(e)},state:i,steps:o}}var $e;function et(){return(et=t((()=>{ee(),Xe(),$e=40})))()}var j,tt,M,nt;function N(){return(N=t((()=>{O(),et(),{schedule:j,cancel:tt,state:M,steps:nt}=Qe(typeof requestAnimationFrame<`u`?requestAnimationFrame:D,!0)})))()}function rt(){it=void 0}var it,P;function at(){return(at=t((()=>{ee(),N(),P={now:()=>(it===void 0&&P.set(M.isProcessing||E.useManualTiming?M.timestamp:performance.now()),it),set:e=>{it=e,queueMicrotask(rt)}}})))()}function ot(e){return typeof e==`string`&&e.split(`/*`)[0].includes(`var(--`)}var st,ct,lt,ut,dt;function ft(){return(ft=t((()=>{st=e=>t=>typeof t==`string`&&t.startsWith(e),ct=st(`--`),lt=st(`var(--`),ut=e=>lt(e)?dt.test(e.split(`/*`)[0].trim()):!1,dt=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu})))()}var pt,mt,ht;function gt(){return(gt=t((()=>{S(),pt={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},mt={...pt,transform:e=>x(0,1,e)},ht={...pt,default:1}})))()}var _t;function vt(){return(vt=t((()=>{_t=e=>Math.round(e*1e5)/1e5})))()}var yt;function bt(){return(bt=t((()=>{yt=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu})))()}function xt(e){return e==null}var St;function Ct(){return(Ct=t((()=>{St=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu})))()}var wt,Tt;function Et(){return(Et=t((()=>{bt(),Ct(),wt=(e,t)=>n=>!!(typeof n==`string`&&St.test(n)&&n.startsWith(e)||t&&!xt(n)&&Object.prototype.hasOwnProperty.call(n,t)),Tt=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(yt);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}}})))()}var Dt,Ot,kt;function At(){return(At=t((()=>{S(),gt(),vt(),Et(),Dt=e=>x(0,255,e),Ot={...pt,transform:e=>Math.round(Dt(e))},kt={test:wt(`rgb`,`red`),parse:Tt(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+Ot.transform(e)+`, `+Ot.transform(t)+`, `+Ot.transform(n)+`, `+_t(mt.transform(r))+`)`}})))()}function jt(e){let t=``,n=``,r=``,i=``;return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}var Mt;function Nt(){return(Nt=t((()=>{At(),Et(),Mt={test:wt(`#`),parse:jt,transform:kt.transform}})))()}var Pt,F,I,L,Ft,It,Lt;function R(){return(R=t((()=>{Pt=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),F=Pt(`deg`),I=Pt(`%`),L=Pt(`px`),Ft=Pt(`vh`),It=Pt(`vw`),Lt={...I,parse:e=>I.parse(e)/100,transform:e=>I.transform(e*100)}})))()}var Rt;function zt(){return(zt=t((()=>{gt(),R(),vt(),Et(),Rt={test:wt(`hsl`,`hue`),parse:Tt(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+I.transform(_t(t))+`, `+I.transform(_t(n))+`, `+_t(mt.transform(r))+`)`}})))()}var z;function Bt(){return(Bt=t((()=>{Nt(),zt(),At(),z={test:e=>kt.test(e)||Mt.test(e)||Rt.test(e),parse:e=>kt.test(e)?kt.parse(e):Rt.test(e)?Rt.parse(e):Mt.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?kt.transform(e):Rt.transform(e),getAnimatableNone:e=>{let t=z.parse(e);return t.alpha=0,z.transform(t)}}})))()}var Vt;function Ht(){return(Ht=t((()=>{Vt=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu})))()}function Ut(e){return isNaN(e)&&typeof e==`string`&&(e.match(yt)?.length||0)+(e.match(Vt)?.length||0)>0}function Wt(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(en,e=>(z.test(e)?(r.color.push(a),i.push(Xt),n.push(z.parse(e))):e.startsWith(Qt)?(r.var.push(a),i.push(Zt),n.push(e)):(r.number.push(a),i.push(Yt),n.push(parseFloat(e))),++a,$t)).split($t),indexes:r,types:i}}function Gt(e){return Wt(e).values}function Kt({split:e,types:t}){let n=e.length;return r=>{let i=``;for(let a=0;a<n;a++)if(i+=e[a],r[a]!==void 0){let e=t[a];i+=e===Yt?_t(r[a]):e===Xt?z.transform(r[a]):r[a]}return i}}function qt(e){return Kt(Wt(e))}function Jt(e){let t=Wt(e);return Kt(t)(t.values.map((e,n)=>nn(e,t.split[n])))}var Yt,Xt,Zt,Qt,$t,en,tn,nn,B;function V(){return(V=t((()=>{Bt(),Ht(),bt(),vt(),Yt=`number`,Xt=`color`,Zt=`var`,Qt=`var(`,$t="${}",en=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu,tn=e=>typeof e==`number`?0:z.test(e)?z.getAnimatableNone(e):e,nn=(e,t)=>typeof e==`number`?t?.trim().endsWith(`/`)?e:0:tn(e),B={test:Ut,parse:Gt,createTransformer:qt,getAnimatableNone:Jt}})))()}function rn(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function an({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,o=0;if(!t)i=a=o=n;else{let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=rn(s,r,e+1/3),a=rn(s,r,e),o=rn(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}function on(e,t){return n=>n>0?t:e}var H;function U(){return(U=t((()=>{H=(e,t,n)=>e+(t-e)*n})))()}function sn(e){let t=un(e);if(C(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,`color-not-animatable`),!t)return!1;let n=t.parse(e);return t===Rt&&(n=an(n)),n}var cn,ln,un,dn;function fn(){return(fn=t((()=>{T(),Nt(),zt(),At(),U(),cn=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},ln=[Mt,kt,Rt],un=e=>ln.find(t=>t.test(e)),dn=(e,t)=>{let n=sn(e),r=sn(t);if(!n||!r)return on(e,t);let i={...n};return e=>(i.red=cn(n.red,r.red,e),i.green=cn(n.green,r.green,e),i.blue=cn(n.blue,r.blue,e),i.alpha=H(n.alpha,r.alpha,e),kt.transform(i))}})))()}function pn(e,t){return mn.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}var mn;function hn(){return(hn=t((()=>{mn=new Set([`none`,`hidden`])})))()}function gn(e,t){return n=>H(e,t,n)}function _n(e){return typeof e==`number`?gn:typeof e==`string`?ut(e)?on:z.test(e)?dn:xn:Array.isArray(e)?vn:typeof e==`object`?z.test(e)?dn:yn:on}function vn(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>_n(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function yn(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=_n(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}function bn(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let a=t.types[i],o=e.indexes[a][r[a]],s=e.values[o]??0;n[i]=s,r[a]++}return n}var xn;function Sn(){return(Sn=t((()=>{le(),T(),ft(),Bt(),V(),fn(),U(),hn(),xn=(e,t)=>{let n=B.createTransformer(t),r=Wt(e),i=Wt(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?mn.has(e)&&!i.values.length||mn.has(t)&&!r.values.length?pn(e,t):ce(vn(bn(r,i),i.values),n):(C(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,`complex-values-different`),on(e,t))}})))()}function Cn(e,t,n){return typeof e==`number`&&typeof t==`number`&&typeof n==`number`?H(e,t,n):_n(e)(e,t)}function wn(){return(wn=t((()=>{Sn(),U()})))()}var Tn;function En(){return(En=t((()=>{at(),N(),Tn=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>j.update(t,e),stop:()=>tt(t),now:()=>M.isProcessing?M.timestamp:P.now()}}})))()}var Dn;function On(){return(On=t((()=>{Dn=(e,t,n=10)=>{let r=``,i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=Math.round(e(t/(i-1))*1e4)/1e4+`, `;return`linear(${r.substring(0,r.length-2)})`}})))()}function kn(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}var An;function jn(){return(jn=t((()=>{An=2e4})))()}function Mn(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(kn(r),An);return{type:`keyframes`,ease:e=>r.next(i*e).value/t,duration:A(i)}}function Nn(){return(Nn=t((()=>{me(),jn()})))()}function Pn(e,t){return e*Math.sqrt(1-t*t)}function Fn(e,t,n){let r=n;for(let n=1;n<Bn;n++)r-=e(r)/t(r);return r}function In({duration:e=W.duration,bounce:t=W.bounce,velocity:n=W.velocity,mass:r=W.mass}){let i,a;C(e<=k(W.maxDuration),`Spring duration must be 10 seconds or less`,`spring-duration-limit`);let o=1-t;o=x(W.minDamping,W.maxDamping,o),e=x(W.minDuration,W.maxDuration,A(e)),o<1?(i=t=>{let r=t*o,i=r*e,a=r-n,s=Pn(t,o),c=Math.exp(-i);return Vn-a/s*c},a=t=>{let r=t*o*e,a=r*n+n,s=o**2*t**2*e,c=Math.exp(-r),l=Pn(t**2,o);return(-i(t)+Vn>0?-1:1)*((a-s)*c)/l}):(i=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),a=t=>Math.exp(-t*e)*((n-t)*(e*e)));let s=5/e,c=Fn(i,a,s);if(e=k(e),isNaN(c))return{stiffness:W.stiffness,damping:W.damping,duration:e};{let t=c**2*r;return{stiffness:t,damping:o*2*Math.sqrt(r*t),duration:e}}}function Ln(e,t){return t.some(t=>e[t]!==void 0)}function Rn(e){let t={velocity:W.velocity,stiffness:W.stiffness,damping:W.damping,mass:W.mass,isResolvedFromDuration:!1,...e};if(!Ln(e,Un)&&Ln(e,Hn)){if(t.velocity=0,e.visualDuration){let n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*x(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:W.mass,stiffness:i,damping:a}}else{let n=In({...e,velocity:0});t={...t,...n,mass:W.mass},t.isResolvedFromDuration=!0}}return t}function zn(e=W.visualDuration,t=W.bounce){let n=typeof e==`object`?e:{visualDuration:e,keyframes:[0,1],bounce:t},{restSpeed:r,restDelta:i}=n,a=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],s={done:!1,value:a},{stiffness:c,damping:l,mass:u,duration:d,velocity:f,isResolvedFromDuration:p}=Rn({...n,velocity:-A(n.velocity||0)}),m=f||0,h=l/(2*Math.sqrt(c*u)),g=o-a,_=A(Math.sqrt(c/u)),v=Math.abs(g)<5;r||=v?W.restSpeed.granular:W.restSpeed.default,i||=v?W.restDelta.granular:W.restDelta.default;let y,b,x,S,C,w;if(h<1)x=Pn(_,h),S=(m+h*_*g)/x,y=e=>{let t=Math.exp(-h*_*e);return o-t*(S*Math.sin(x*e)+g*Math.cos(x*e))},C=h*_*S+g*x,w=h*_*g-S*x,b=e=>Math.exp(-h*_*e)*(C*Math.sin(x*e)+w*Math.cos(x*e));else if(h===1){y=e=>o-Math.exp(-_*e)*(g+(m+_*g)*e);let e=m+_*g;b=t=>Math.exp(-_*t)*(_*e*t-m)}else{let e=_*Math.sqrt(h*h-1);y=t=>{let n=Math.exp(-h*_*t),r=Math.min(e*t,300);return o-n*((m+h*_*g)*Math.sinh(r)+e*g*Math.cosh(r))/e};let t=(m+h*_*g)/e,n=h*_*t-g*e,r=h*_*g-t*e;b=t=>{let i=Math.exp(-h*_*t),a=Math.min(e*t,300);return i*(n*Math.sinh(a)+r*Math.cosh(a))}}let T={calculatedDuration:p&&d||null,velocity:e=>k(b(e)),next:e=>{if(!p&&h<1){let t=Math.exp(-h*_*e),n=Math.sin(x*e),a=Math.cos(x*e),c=o-t*(S*n+g*a),l=k(t*(C*n+w*a));return s.done=Math.abs(l)<=r&&Math.abs(o-c)<=i,s.value=s.done?o:c,s}let t=y(e);if(p)s.done=e>=d;else{let n=k(b(e));s.done=Math.abs(n)<=r&&Math.abs(o-t)<=i}return s.value=s.done?o:t,s},toString:()=>{let e=Math.min(kn(T),An),t=Dn(t=>T.next(e*t).value,e,30);return e+`ms `+t},toTransition:()=>{}};return T}var W,Bn,Vn,Hn,Un;function Wn(){return(Wn=t((()=>{me(),S(),T(),On(),jn(),Nn(),W={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Bn=12,Vn=.001,Hn=[`duration`,`bounce`],Un=[`stiffness`,`damping`,`mass`],zn.applyToOptions=e=>{let t=Mn(e,100,zn);return e.ease=t.ease,e.duration=k(t.duration),e.type=`keyframes`,e}})))()}function Gn(e,t,n){let r=Math.max(t-Kn,0);return he(n-e(r),t-r)}var Kn;function qn(){return(qn=t((()=>{ge(),Kn=5})))()}function Jn({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:o,min:s,max:c,restDelta:l=.5,restSpeed:u}){let d=e[0],f={done:!1,value:d},p=e=>s!==void 0&&e<s||c!==void 0&&e>c,m=e=>s===void 0?c:c===void 0||Math.abs(s-e)<Math.abs(c-e)?s:c,h=n*t,g=d+h,_=o===void 0?g:o(g);_!==g&&(h=_-d);let v=e=>-h*Math.exp(-e/r),y=e=>_+v(e),b=e=>{let t=v(e),n=y(e);f.done=Math.abs(t)<=l,f.value=f.done?_:n},x,S,C=e=>{p(f.value)&&(x=e,S=zn({keyframes:[f.value,m(f.value)],velocity:Gn(y,e,f.value),damping:i,stiffness:a,restDelta:l,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return!S&&x===void 0&&(t=!0,b(e),C(e)),x!==void 0&&e>=x?S.next(e-x):(!t&&b(e),f)}}}function Yn(){return(Yn=t((()=>{Wn(),qn()})))()}function Xn(e,t,n){let r=[],i=n||E.mix||Cn,a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);if(t){let e=Array.isArray(t)?t[n]||D:t;a=ce(e,a)}r.push(a)}return r}function Zn(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let a=e.length;if(w(a===t.length,`Both input and output ranges must be the same length`,`range-length`),a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=Xn(t,r,i),c=s.length,l=n=>{if(o&&n<e[0])return t[0];let r=0;if(c>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=ue(e[r],e[r+1],n);return s[r](i)};return n?t=>l(x(e[0],e[a-1],t)):l}function Qn(){return(Qn=t((()=>{T(),S(),ee(),O(),le(),de(),wn()})))()}function $n(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=ue(0,t,r);e.push(H(n,1,i))}}function er(){return(er=t((()=>{de(),U()})))()}function tr(e){let t=[0];return $n(t,e.length-1),t}function nr(){return(nr=t((()=>{er()})))()}function rr(e,t){return e.map(e=>e*t)}function ir(e,t){return e.map(()=>t||ze).splice(0,e.length-1)}function ar({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`}){let i=Ve(r)?r.map(qe):qe(r),a={done:!1,value:t[0]},o=Zn(rr(n&&n.length===t.length?n:tr(t),e),t,{ease:Array.isArray(i)?i:ir(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}function or(){return(or=t((()=>{Be(),He(),Je(),Qn(),nr()})))()}function sr(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter(cr),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var cr;function lr(){return(lr=t((()=>{cr=e=>e!==null})))()}function ur(e){typeof e.type==`string`&&(e.type=dr[e.type])}var dr;function fr(){return(fr=t((()=>{Yn(),or(),Wn(),dr={decay:Jn,inertia:Jn,tween:ar,keyframes:ar,spring:zn}})))()}var pr;function mr(){return(mr=t((()=>{pr=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}})))()}var hr,gr;function _r(){return(_r=t((()=>{le(),S(),me(),at(),wn(),En(),Yn(),or(),jn(),qn(),lr(),fr(),mr(),hr=e=>e/100,gr=class extends pr{constructor(e){super(),this.state=`idle`,this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==P.now()&&this.tick(P.now()),this.isStopped=!0,this.state!==`idle`&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){let{options:e}=this;ur(e);let{type:t=ar,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||ar;s!==ar&&typeof o[0]!=`number`&&(this.mixKeyframes=ce(hr,Cn(o[0],o[1])),o=[0,100]);let c=s({...e,keyframes:o});i===`mirror`&&(this.mirroredGenerator=s({...e,keyframes:[...o].reverse(),velocity:-a})),c.calculatedDuration===null&&(c.calculatedDuration=kn(c));let{calculatedDuration:l}=c;this.calculatedDuration=l,this.resolvedDuration=l+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=c}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;this.currentTime=this.holdTime===null?t:this.holdTime}tick(e,t=!1){let{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:s}=this;if(this.startTime===null)return n.next(0);let{delay:c=0,keyframes:l,repeat:u,repeatType:d,repeatDelay:f,type:p,onUpdate:m,finalKeyframe:h}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let g=this.currentTime-c*(this.playbackSpeed>=0?1:-1),_=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),this.state===`finished`&&this.holdTime===null&&(this.currentTime=r);let v=this.currentTime,y=n;if(u){let e=Math.min(this.currentTime,r)/o,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),n===1&&t--,t=Math.min(t,u+1),t%2&&(d===`reverse`?(n=1-n,f&&(n-=f/o)):d===`mirror`&&(y=a)),v=x(0,1,n)*o}let b;_?(this.delayState.value=l[0],b=this.delayState):b=y.next(v),i&&!_&&(b.value=i(b.value));let{done:S}=b;!_&&s!==null&&(S=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let C=this.holdTime===null&&(this.state===`finished`||this.state===`running`&&S);return C&&p!==Jn&&(b.value=sr(l,this.options,h,this.speed)),m&&m(b.value),C&&this.finish(),b}then(e,t){return this.finished.then(e,t)}get duration(){return A(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+A(e)}get time(){return A(this.currentTime)}set time(e){e=k(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state=`paused`,this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return Gn(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(P.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=A(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=Tn,startTime:t}=this.options;this.driver||=e(e=>this.tick(e)),this.options.onPlay?.();let n=this.driver.now();this.state===`finished`?(this.updateFinished(),this.startTime=n):this.holdTime===null?this.startTime||=t??n:this.startTime=n-this.holdTime,this.state===`finished`&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state=`running`,this.driver.start()}pause(){this.state=`paused`,this.updateTime(P.now()),this.holdTime=this.currentTime}complete(){this.state!==`running`&&this.play(),this.state=`finished`,this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state=`finished`,this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state=`idle`,this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&=(this.driver.stop(),void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type=`keyframes`,this.options.ease=`linear`,this.initAnimation()),this.driver?.stop(),e.observe(this)}}})))()}function vr(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}function yr(e){return+!!e.includes(`scale`)}function br(e,t){if(!e||e===`none`)return yr(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,i;if(n)r=kr,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=wr,i=t}if(!i)return yr(t);let a=r[t],o=i[1].split(`,`).map(xr);return typeof a==`function`?a(o):o[a]}function xr(e){return parseFloat(e.trim())}var Sr,Cr,wr,Tr,Er,Dr,Or,kr,Ar;function jr(){return(jr=t((()=>{Sr=e=>e*180/Math.PI,Cr=e=>{let t=Sr(Math.atan2(e[1],e[0]));return Tr(t)},wr={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Cr,rotateZ:Cr,skewX:e=>Sr(Math.atan(e[1])),skewY:e=>Sr(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Tr=e=>(e%=360,e<0&&(e+=360),e),Er=Cr,Dr=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Or=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),kr={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Dr,scaleY:Or,scale:e=>(Dr(e)+Or(e))/2,rotateX:e=>Tr(Sr(Math.atan2(e[6],e[5]))),rotateY:e=>Tr(Sr(Math.atan2(-e[2],e[0]))),rotateZ:Er,rotate:Er,skewX:e=>Sr(Math.atan(e[4])),skewY:e=>Sr(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2},Ar=(e,t)=>{let{transform:n=`none`}=getComputedStyle(e);return br(n,t)}})))()}var Mr,Nr;function G(){return(G=t((()=>{Mr=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],Nr=new Set([...Mr,`pathRotation`])})))()}function Pr(e){let t=[];return Lr.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(+!!n.startsWith(`scale`)))}),t}var Fr,Ir,Lr,Rr;function zr(){return(zr=t((()=>{jr(),G(),gt(),R(),Fr=e=>e===pt||e===L,Ir=new Set([`x`,`y`,`z`]),Lr=Mr.filter(e=>!Ir.has(e)),Rr={width:({x:e},{paddingLeft:t=`0`,paddingRight:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t=`0`,paddingBottom:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>br(t,`x`),y:(e,{transform:t})=>br(t,`y`)},Rr.translateX=Rr.x,Rr.translateY=Rr.y})))()}function Br(){if(Gr){let e=Array.from(Ur).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=Pr(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{e.suspendedScrollY!==void 0&&window.scrollTo(0,e.suspendedScrollY)})}Gr=!1,Wr=!1,Ur.forEach(e=>e.complete(Kr)),Ur.clear()}function Vr(){Ur.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Gr=!0)})}function Hr(){Kr=!0,Vr(),Br(),Kr=!1}var Ur,Wr,Gr,Kr,qr;function Jr(){return(Jr=t((()=>{zr(),N(),Ur=new Set,Wr=!1,Gr=!1,Kr=!1,qr=class{constructor(e,t,n,r,i,a=!1){this.state=`pending`,this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=a}scheduleResolve(){this.state=`scheduled`,this.isAsync?(Ur.add(this),Wr||(Wr=!0,j.read(Vr),j.resolveKeyframes(Br))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(e[0]===null){let i=r?.get(),a=e[e.length-1];if(i!==void 0)e[0]=i;else if(n&&t){let r=n.readValue(t,a);r!=null&&(e[0]=r)}e[0]===void 0&&(e[0]=a),r&&i===void 0&&r.set(e[0])}vr(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),Ur.delete(this)}cancel(){this.state===`scheduled`&&(Ur.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}}})))()}var Yr;function Xr(){return(Xr=t((()=>{Yr=e=>e.startsWith(`--`)})))()}function Zr(e,t,n){Yr(t)?e.style.setProperty(t,n):e.style[t]=n}function Qr(){return(Qr=t((()=>{Xr()})))()}var $r;function ei(){return(ei=t((()=>{$r={}})))()}function ti(e,t){let n=se(e);return()=>$r[t]??n()}function ni(){return(ni=t((()=>{ei()})))()}var ri;function ii(){return(ii=t((()=>{ni(),ri=ti(()=>window.ScrollTimeline!==void 0,`scrollTimeline`)})))()}var ai;function oi(){return(oi=t((()=>{ni(),ai=ti(()=>{try{document.createElement(`div`).animate({opacity:0},{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`)})))()}var si;function ci(){return(ci=t((()=>{si=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`})))()}var li;function ui(){return(ui=t((()=>{ci(),li={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:si([0,.65,.55,1]),circOut:si([.55,0,1,.45]),backIn:si([.31,.01,.66,-.59]),backOut:si([.33,1.53,.69,.99])}})))()}function di(e,t){if(e)return typeof e==`function`?ai()?Dn(e,t):`ease-out`:Ue(e)?si(e):Array.isArray(e)?e.map(e=>di(e,t)||li.easeOut):li[e]}function fi(){return(fi=t((()=>{We(),oi(),On(),ci(),ui()})))()}function pi(e,t,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:o=`loop`,ease:s=`easeOut`,times:c}={},l=void 0){let u={[t]:n};c&&(u.offset=c);let d=di(s,i);Array.isArray(d)&&(u.easing=d);let f={delay:r,duration:i,easing:Array.isArray(d)?`linear`:d,fill:`both`,iterations:a+1,direction:o===`reverse`?`alternate`:`normal`};return l&&(f.pseudoElement=l),e.animate(u,f)}function mi(){return(mi=t((()=>{fi()})))()}function hi(e){return typeof e==`function`&&`applyToOptions`in e}function gi({type:e,...t}){return hi(e)&&ai()?e.applyToOptions(t):(t.duration??=300,t.ease??=`easeOut`,t)}function _i(){return(_i=t((()=>{oi()})))()}var vi;function yi(){return(yi=t((()=>{T(),me(),O(),Qr(),ii(),lr(),mr(),mi(),_i(),vi=class extends pr{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;let{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:a=!1,finalKeyframe:o,onComplete:s}=e;this.isPseudoElement=!!i,this.allowFlatten=a,this.options=e,w(typeof e.type!=`string`,`Mini animate() doesn't support "type" as a string.`,`mini-spring`);let c=gi(e);this.animation=pi(t,n,r,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=sr(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),Zr(t,n,e),this.animation.cancel()}s?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state===`finished`&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;e!==`idle`&&e!==`finished`&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return A(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+A(e)}get time(){return A(Number(this.animation.currentTime)||0)}set time(e){let t=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=k(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime===null?this.animation.playState:`finished`}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:n,observe:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:`linear`}),this.animation.onfinish=null,e&&ri()?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),D):r(this)}}})))()}function bi(e){return e in Si}function xi(e){typeof e.ease==`string`&&bi(e.ease)&&(e.ease=Si[e.ease])}var Si;function Ci(){return(Ci=t((()=>{Ie(),Ae(),Me(),Si={anticipate:je,backInOut:ke,circInOut:Fe}})))()}var wi,Ti;function Ei(){return(Ei=t((()=>{S(),at(),Qr(),_r(),yi(),fr(),Ci(),wi=10,Ti=class extends vi{constructor(e){xi(e),ur(e),super(e),e.startTime!==void 0&&e.autoplay!==!1&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:n,onComplete:r,element:i,...a}=this.options;if(!t)return;if(e!==void 0){t.set(e);return}let o=new gr({...a,autoplay:!1}),s=Math.max(wi,P.now()-this.startTime),c=x(0,wi,s-wi),l=o.sample(s).value,{name:u}=this.options;i&&u&&Zr(i,u,l),t.setWithVelocity(o.sample(Math.max(0,s-c)).value,l,c),o.stop()}}})))()}var Di;function Oi(){return(Oi=t((()=>{V(),Di=(e,t)=>t!==`zIndex`&&!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(B.test(e)||e===`0`)&&!e.startsWith(`url(`))})))()}function ki(e){let t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function Ai(e,t,n,r){let i=e[0];if(i===null)return!1;if(t===`display`||t===`visibility`)return!0;let a=e[e.length-1],o=Di(i,t),s=Di(a,t);return C(o===s,`You are trying to animate ${t} from "${i}" to "${a}". "${o?a:i}" is not an animatable value.`,`value-not-animatable`),!o||!s?!1:ki(e)||(n===`spring`||hi(n))&&r}function ji(){return(ji=t((()=>{T(),Oi()})))()}function Mi(e){e.duration=0,e.type=`keyframes`}var Ni;function Pi(){return(Pi=t((()=>{Ni=new Set([`opacity`,`clipPath`,`filter`,`transform`,`backgroundColor`])})))()}function Fi(e){for(let t=0;t<e.length;t++)if(typeof e[t]==`string`&&Ii.test(e[t]))return!0;return!1}var Ii;function Li(){return(Li=t((()=>{Ii=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/})))()}function Ri(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:a,type:o,keyframes:s}=e,c=t?.owner?.current;if(!(c instanceof HTMLElement)&&!(c instanceof SVGElement))return!1;let{onUpdate:l,transformTemplate:u}=t.owner.getProps();return Bi()&&n&&(Ni.has(n)||zi.has(n)&&Fi(s))&&(n!==`transform`||!u)&&!l&&!r&&i!==`mirror`&&a!==0&&o!==`inertia`}var zi,Bi;function Vi(){return(Vi=t((()=>{Pi(),Li(),zi=new Set([`color`,`backgroundColor`,`outlineColor`,`fill`,`stroke`,`borderColor`,`borderTopColor`,`borderRightColor`,`borderBottomColor`,`borderLeftColor`]),Bi=se(()=>Object.hasOwnProperty.call(Element.prototype,`animate`))})))()}var Hi,Ui;function Wi(){return(Wi=t((()=>{ee(),O(),at(),_r(),lr(),Jr(),Ei(),ji(),mr(),Vi(),Hi=40,Ui=class extends pr{constructor({autoplay:e=!0,delay:t=0,type:n=`keyframes`,repeat:r=0,repeatDelay:i=0,repeatType:a=`loop`,keyframes:o,name:s,motionValue:c,element:l,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=P.now();let d={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:a,name:s,motionValue:c,element:l,...u},f=l?.KeyframeResolver||qr;this.keyframeResolver=new f(o,(e,t,n)=>this.onKeyframesResolved(e,t,d,!n),s,c,l),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;let{name:i,type:a,velocity:o,delay:s,isHandoff:c,onUpdate:l}=n;this.resolvedAt=P.now();let u=!0;Ai(e,i,a,o)||(u=!1,(E.instantAnimations||!s)&&l?.(sr(e,n,t)),e[0]=e[e.length-1],Mi(n),n.repeat=0);let d={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>Hi?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},f=u&&!c&&Ri(d),p=d.motionValue?.owner?.current,m;if(f)try{m=new Ti({...d,element:p})}catch{m=new gr(d)}else m=new gr(d);m.finished.then(()=>{this.notifyFinished()}).catch(D),this.pendingTimeline&&=(this.stopTimeline=m.attachTimeline(this.pendingTimeline),void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Hr()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}})))()}function Gi(e,t,n,r=0,i=1){let a=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),o=e.size,s=(o-1)*r;return typeof n==`function`?n(a,o):i===1?a*r:s-a*r}function Ki(e,t){return new Xi(e,t)}var qi,Ji,Yi,Xi;function Zi(){return(Zi=t((()=>{pe(),ge(),at(),N(),qi=30,Ji=e=>!isNaN(parseFloat(e)),Yi={current:void 0},Xi=class{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=P.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=P.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=Ji(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on(`change`,e)}on(e,t){this.events[e]||(this.events[e]=new fe);let n=this.events[e].add(t);return e===`change`?()=>{n(),j.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||=new Set,this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return Yi.current&&Yi.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=P.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>qi)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,qi);return he(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}})))()}function Qi(e,t){if(e?.inherit&&t){let{inherit:n,...r}=e;return{...t,...r}}return e}function $i(e,t){let n=e?.[t]??e?.default??e;return n===e?n:Qi(n,e)}function ea(){return(ea=t((()=>{})))()}var ta,na,ra,ia,aa;function oa(){return(oa=t((()=>{G(),ta={type:`spring`,stiffness:500,damping:25,restSpeed:10},na=e=>({type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),ra={type:`keyframes`,duration:.8},ia={type:`keyframes`,ease:[.25,.1,.35,1],duration:.3},aa=(e,{keyframes:t})=>t.length>2?ra:Nr.has(e)?e.startsWith(`scale`)?na(t[1]):ta:ia})))()}function sa(e){for(let t in e)if(!ca.has(t))return!0;return!1}var ca;function la(){return(la=t((()=>{ca=new Set([`when`,`delay`,`delayChildren`,`staggerChildren`,`staggerDirection`,`repeat`,`repeatType`,`repeatDelay`,`from`,`elapsed`])})))()}var ua;function da(){return(da=t((()=>{me(),ee(),Wi(),_r(),ea(),oa(),lr(),la(),N(),ua=(e,t,n,r={},i,a)=>o=>{let s=$i(r,e)||{},c=s.delay||r.delay||0,{elapsed:l=0}=r;l-=k(c);let u={keyframes:Array.isArray(n)?n:[null,n],ease:`easeOut`,velocity:t.getVelocity(),...s,delay:-l,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{o(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:a?void 0:i};sa(s)||Object.assign(u,aa(e,u)),u.duration&&=k(u.duration),u.repeatDelay&&=k(u.repeatDelay),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(Mi(u),u.delay===0&&(d=!0)),(E.instantAnimations||E.skipAnimations||i?.shouldSkipAnimations||s.skipAnimations)&&(d=!0,Mi(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!a&&t.get()!==void 0){let e=sr(u.keyframes,s);if(e!==void 0){j.update(()=>{u.onUpdate(e),u.onComplete()});return}}return s.isSync?new gr(u):new Ui(u)}})))()}function fa(e){let t=ma.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}function pa(e,t,n=1){w(n<=ha,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,`max-css-var-depth`);let[r,i]=fa(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let e=a.trim();return te(e)?parseFloat(e):e}return ut(i)?pa(i,t,n+1):i}var ma,ha;function ga(){return(ga=t((()=>{T(),ne(),ft(),ma=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,ha=4})))()}function _a(e){let t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function va(e,t,n,r){if(typeof t==`function`){let[i,a]=_a(r);t=t(n===void 0?e.custom:n,i,a)}if(typeof t==`string`&&(t=e.variants&&e.variants[t]),typeof t==`function`){let[i,a]=_a(r);t=t(n===void 0?e.custom:n,i,a)}return t}function ya(e,t,n){let r=e.getProps();return va(r,t,n===void 0?r.custom:n,e)}function ba(){return(ba=t((()=>{})))()}var xa;function Sa(){return(Sa=t((()=>{G(),xa=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,...Mr])})))()}var Ca;function wa(){return(wa=t((()=>{Ca=e=>Array.isArray(e)})))()}function Ta(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ki(n))}function Ea(e){return Ca(e)?e[e.length-1]||0:e}function Da(e,t){let{transitionEnd:n={},transition:r={},...i}=ya(e,t)||{};i={...i,...n};for(let t in i)Ta(e,t,Ea(i[t]))}function Oa(){return(Oa=t((()=>{Zi(),ba(),wa()})))()}var K;function q(){return(q=t((()=>{K=e=>!!(e&&e.getVelocity)})))()}function ka(e){return!!(K(e)&&e.add)}function Aa(){return(Aa=t((()=>{q()})))()}function ja(e,t){let n=e.getValue(`willChange`);if(ka(n))return n.add(t);if(!n&&E.WillChange){let n=new E.WillChange(`auto`);e.addValue(`willChange`,n),n.add(t)}}function Ma(){return(Ma=t((()=>{ee(),Aa()})))()}function Na(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}var Pa,Fa;function Ia(){return(Ia=t((()=>{Pa=`framerAppearId`,Fa=`data-`+Na(Pa)})))()}function La(e){return e.props[Fa]}function Ra(){return(Ra=t((()=>{Ia()})))()}function za({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function Ba(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a,transitionEnd:o,...s}=t,c=e.getDefaultTransition();a=a?Qi(a,c):c;let l=a?.reduceMotion,u=a?.skipAnimations;r&&(a=r);let d=[],f=i&&e.animationState&&e.animationState.getState()[i],p=a?.path;p&&p.animateVisualElement(e,s,a,n,d);for(let t in s){let r=e.getValue(t,e.latestValues[t]??null),i=s[t];if(i===void 0||f&&za(f,t))continue;let o={delay:n,...$i(a||{},t)};u&&(o.skipAnimations=!0);let c=r.get();if(c!==void 0&&!r.isAnimating()&&!Array.isArray(i)&&i===c&&!o.velocity){j.update(()=>r.set(i));continue}let p=!1;if(window.MotionHandoffAnimation){let n=La(e);if(n){let e=window.MotionHandoffAnimation(n,t,j);e!==null&&(o.startTime=e,p=!0)}}ja(e,t);let m=l??e.shouldReduceMotion;r.start(ua(t,r,i,m&&xa.has(t)?{type:!1}:o,e,p));let h=r.animation;h&&d.push(h)}if(o){let t=()=>j.update(()=>{o&&Da(e,o)});d.length?Promise.all(d).then(t):t()}return d}function Va(){return(Va=t((()=>{ea(),Sa(),Oa(),Ma(),Ra(),da(),N()})))()}function Ha(e,t,n={}){let r=ya(e,t,n.type===`exit`?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let a=r?()=>Promise.all(Ba(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:a=0,staggerChildren:o,staggerDirection:s}=i;return Ua(e,t,r,a,o,s,n)}:()=>Promise.resolve(),{when:s}=i;if(s){let[e,t]=s===`beforeChildren`?[a,o]:[o,a];return e().then(()=>t())}return Promise.all([a(),o(n.delay)])}function Ua(e,t,n=0,r=0,i=0,a=1,o){let s=[];for(let c of e.variantChildren)c.notify(`AnimationStart`,t),s.push(Ha(c,t,{...o,delay:n+(typeof r==`function`?0:r)+Gi(e.variantChildren,c,r,i,a)}).then(()=>c.notify(`AnimationComplete`,t)));return Promise.all(s)}function Wa(){return(Wa=t((()=>{ba(),Va()})))()}function Ga(e,t,n={}){e.notify(`AnimationStart`,t);let r;if(Array.isArray(t)){let i=t.map(t=>Ha(e,t,n));r=Promise.all(i)}else if(typeof t==`string`)r=Ha(e,t,n);else{let i=typeof t==`function`?ya(e,t,n.custom):t;r=Promise.all(Ba(e,i,n))}return r.then(()=>{e.notify(`AnimationComplete`,t)})}function Ka(){return(Ka=t((()=>{ba(),Va(),Wa()})))()}var qa;function Ja(){return(Ja=t((()=>{qa={test:e=>e===`auto`,parse:e=>e}})))()}var Ya;function Xa(){return(Xa=t((()=>{Ya=e=>t=>t.test(e)})))()}var Za,Qa;function $a(){return($a=t((()=>{Ja(),gt(),R(),Xa(),Za=[pt,L,I,F,It,Ft,qa],Qa=e=>Za.find(Ya(e))})))()}function eo(e){return typeof e==`number`?e===0:e===null||e===`none`||e===`0`||ae(e)}function to(){return(to=t((()=>{oe()})))()}function no(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(yt)||[];if(!r)return e;let i=n.replace(r,``),a=+!!ro.has(t);return r!==n&&(a*=100),t+`(`+a+i+`)`}var ro,io,ao;function oo(){return(oo=t((()=>{V(),bt(),ro=new Set([`brightness`,`contrast`,`saturate`,`opacity`]),io=/\b([a-z-]*)\(.*?\)/gu,ao={...B,getAnimatableNone:e=>{let t=e.match(io);return t?t.map(no).join(` `):e}}})))()}var so;function co(){return(co=t((()=>{V(),so={...B,getAnimatableNone:e=>{let t=B.parse(e);return B.createTransformer(e)(t.map(e=>typeof e==`number`?0:typeof e==`object`?{...e,alpha:1}:e))}}})))()}var lo;function uo(){return(uo=t((()=>{gt(),lo={...pt,transform:Math.round}})))()}var fo;function po(){return(po=t((()=>{gt(),R(),fo={rotate:F,pathRotation:F,rotateX:F,rotateY:F,rotateZ:F,scale:ht,scaleX:ht,scaleY:ht,scaleZ:ht,skew:F,skewX:F,skewY:F,distance:L,translateX:L,translateY:L,translateZ:L,x:L,y:L,z:L,perspective:L,transformPerspective:L,opacity:mt,originX:Lt,originY:Lt,originZ:L}})))()}var mo;function ho(){return(ho=t((()=>{uo(),gt(),R(),po(),mo={borderWidth:L,borderTopWidth:L,borderRightWidth:L,borderBottomWidth:L,borderLeftWidth:L,borderRadius:L,borderTopLeftRadius:L,borderTopRightRadius:L,borderBottomRightRadius:L,borderBottomLeftRadius:L,width:L,maxWidth:L,height:L,maxHeight:L,top:L,right:L,bottom:L,left:L,inset:L,insetBlock:L,insetBlockStart:L,insetBlockEnd:L,insetInline:L,insetInlineStart:L,insetInlineEnd:L,padding:L,paddingTop:L,paddingRight:L,paddingBottom:L,paddingLeft:L,paddingBlock:L,paddingBlockStart:L,paddingBlockEnd:L,paddingInline:L,paddingInlineStart:L,paddingInlineEnd:L,margin:L,marginTop:L,marginRight:L,marginBottom:L,marginLeft:L,marginBlock:L,marginBlockStart:L,marginBlockEnd:L,marginInline:L,marginInlineStart:L,marginInlineEnd:L,fontSize:L,backgroundPositionX:L,backgroundPositionY:L,...fo,zIndex:lo,fillOpacity:mt,strokeOpacity:mt,numOctaves:lo}})))()}var go,_o;function vo(){return(vo=t((()=>{Bt(),oo(),co(),ho(),go={...mo,color:z,backgroundColor:z,outlineColor:z,fill:z,stroke:z,borderColor:z,borderTopColor:z,borderRightColor:z,borderBottomColor:z,borderLeftColor:z,filter:ao,WebkitFilter:ao,mask:so,WebkitMask:so},_o=e=>go[e]})))()}function yo(e,t){let n=_o(e);return bo.has(n)||(n=B),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var bo;function xo(){return(xo=t((()=>{V(),oo(),co(),vo(),bo=new Set([ao,so])})))()}function So(e,t,n){let r=0,i;for(;r<e.length&&!i;){let t=e[r];typeof t==`string`&&!Co.has(t)&&Wt(t).values.length&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]=yo(n,i)}var Co;function wo(){return(wo=t((()=>{V(),xo(),Co=new Set([`auto`,`none`,`0`])})))()}var To;function Eo(){return(Eo=t((()=>{Sa(),$a(),ga(),ft(),Jr(),to(),wo(),zr(),To=class extends qr{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if(typeof r==`string`&&(r=r.trim(),ut(r))){let i=pa(r,t.current);i!==void 0&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!xa.has(n)||e.length!==2)return;let[r,i]=e,a=Qa(r),o=Qa(i);if(ot(r)!==ot(i)&&Rr[n]){this.needsMeasurement=!0;return}if(a!==o){if(Fr(a)&&Fr(o))for(let t=0;t<e.length;t++){let n=e[t];typeof n==`string`&&(e[t]=parseFloat(n))}else Rr[n]&&(this.needsMeasurement=!0)}}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(e[t]===null||eo(e[t]))&&n.push(t);n.length&&So(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;n===`height`&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Rr[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];r!==void 0&&e.getValue(n,r).jump(r,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);let i=n.length-1,a=n[i];n[i]=Rr[t](e.measureViewportBox(),window.getComputedStyle(e.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),this.removedTransforms?.length&&this.removedTransforms.forEach(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}}})))()}var Do;function Oo(){return(Oo=t((()=>{Do=[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomRightRadius`,`borderBottomLeftRadius`]})))()}function ko(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e==`string`){let r=document;t&&(r=t.current);let i=n?.[e]??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>e!=null)}var Ao;function jo(){return(jo=t((()=>{Ao=(e,t)=>t&&typeof e==`number`?t.transform(e):e})))()}function Mo(e){return re(e)&&`offsetHeight`in e&&!(`ownerSVGElement`in e)}function No(){return(No=t((()=>{ie()})))()}var Po,Fo;function Io(){return(Io=t((()=>{et(),{schedule:Po,cancel:Fo}=Qe(queueMicrotask,!1)})))()}function Lo(){return J.x||J.y}var J;function Ro(){return(Ro=t((()=>{J={x:!1,y:!1}})))()}function zo(e){return e===`x`||e===`y`?J[e]?null:(J[e]=!0,()=>{J[e]=!1}):J.x||J.y?null:(J.x=J.y=!0,()=>{J.x=J.y=!1})}function Bo(){return(Bo=t((()=>{Ro()})))()}function Vo(e,t){let n=ko(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function Ho(){return(Ho=t((()=>{})))()}function Uo(e){return!(e.pointerType===`touch`||Lo())}function Wo(e,t,n={}){let[r,i,a]=Vo(e,n);return r.forEach(e=>{let n=!1,r=!1,a,o=()=>{e.removeEventListener(`pointerleave`,u)},s=e=>{a&&=(a(e),void 0),o()},c=e=>{n=!1,window.removeEventListener(`pointerup`,c),window.removeEventListener(`pointercancel`,c),r&&(r=!1,s(e))},l=()=>{n=!0,window.addEventListener(`pointerup`,c,i),window.addEventListener(`pointercancel`,c,i)},u=e=>{if(e.pointerType!==`touch`){if(n){r=!0;return}s(e)}};e.addEventListener(`pointerenter`,n=>{if(!Uo(n))return;r=!1;let o=t(e,n);typeof o==`function`&&(a=o,e.addEventListener(`pointerleave`,u,i))},i),e.addEventListener(`pointerdown`,l,i)}),a}function Go(){return(Go=t((()=>{Ro(),Ho()})))()}var Ko;function qo(){return(qo=t((()=>{Ko=(e,t)=>t?e===t||Ko(e,t.parentElement):!1})))()}var Jo;function Yo(){return(Yo=t((()=>{Jo=e=>e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1})))()}function Xo(e){return Qo.has(e.tagName)||e.isContentEditable===!0}function Zo(e){return $o.has(e.tagName)||e.isContentEditable===!0}var Qo,$o;function es(){return(es=t((()=>{Qo=new Set([`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`,`A`]),$o=new Set([`INPUT`,`SELECT`,`TEXTAREA`])})))()}var ts;function ns(){return(ns=t((()=>{ts=new WeakSet})))()}function rs(e){return t=>{t.key===`Enter`&&e(t)}}function is(e,t){e.dispatchEvent(new PointerEvent(`pointer`+t,{isPrimary:!0,bubbles:!0}))}var as;function os(){return(os=t((()=>{ns(),as=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=rs(()=>{if(ts.has(n))return;is(n,`down`);let e=rs(()=>{is(n,`up`)});n.addEventListener(`keyup`,e,t),n.addEventListener(`blur`,()=>is(n,`cancel`),t)});n.addEventListener(`keydown`,r,t),n.addEventListener(`blur`,()=>n.removeEventListener(`keydown`,r),t)}})))()}function ss(e){return Jo(e)&&!Lo()}function cs(e,t,n={}){let[r,i,a]=Vo(e,n),o=e=>{let r=e.currentTarget;if(!ss(e)||ls.has(e))return;ts.add(r),n.stopPropagation&&ls.add(e);let a=t(r,e),o={...i,capture:!0},s=(e,t)=>{window.removeEventListener(`pointerup`,c,o),window.removeEventListener(`pointercancel`,l,o),ts.has(r)&&ts.delete(r),ss(e)&&typeof a==`function`&&a(e,{success:t})},c=e=>{s(e,r===window||r===document||n.useGlobalTarget||Ko(r,e.target))},l=e=>{s(e,!1)};window.addEventListener(`pointerup`,c,o),window.addEventListener(`pointercancel`,l,o)};return r.forEach(e=>{(n.useGlobalTarget?window:e).addEventListener(`pointerdown`,o,i),Mo(e)&&(e.addEventListener(`focus`,e=>as(e,i)),!Xo(e)&&!e.hasAttribute(`tabindex`)&&(e.tabIndex=0))}),a}var ls;function us(){return(us=t((()=>{No(),Ro(),qo(),Yo(),Ho(),es(),os(),ns(),ls=new WeakSet})))()}function ds(e){return re(e)&&`ownerSVGElement`in e}function fs(){return(fs=t((()=>{ie()})))()}function ps({target:e,borderBoxSize:t}){_s.get(e)?.forEach(n=>{n(e,{get width(){return bs(e,t)},get height(){return xs(e,t)}})})}function ms(e){e.forEach(ps)}function hs(){typeof ResizeObserver>`u`||(vs=new ResizeObserver(ms))}function gs(e,t){vs||hs();let n=ko(e);return n.forEach(e=>{let n=_s.get(e);n||(n=new Set,_s.set(e,n)),n.add(t),vs?.observe(e)}),()=>{n.forEach(e=>{let n=_s.get(e);n?.delete(t),n?.size||vs?.unobserve(e)})}}var _s,vs,ys,bs,xs;function Ss(){return(Ss=t((()=>{fs(),_s=new WeakMap,ys=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+`Size`]:ds(r)&&`getBBox`in r?r.getBBox()[t]:r[n],bs=ys(`inline`,`width`,`offsetWidth`),xs=ys(`block`,`height`,`offsetHeight`)})))()}function Cs(){Es=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};Ts.forEach(t=>t(e))},window.addEventListener(`resize`,Es)}function ws(e){return Ts.add(e),Es||Cs(),()=>{Ts.delete(e),!Ts.size&&typeof Es==`function`&&(window.removeEventListener(`resize`,Es),Es=void 0)}}var Ts,Es;function Ds(){return(Ds=t((()=>{Ts=new Set})))()}function Os(e,t){return typeof e==`function`?ws(e):gs(e,t)}function ks(){return(ks=t((()=>{Ss(),Ds()})))()}var As;function js(){return(js=t((()=>{As={value:null,addProjectionMetrics:null}})))()}function Ms(e){return ds(e)&&e.tagName===`svg`}function Ns(){return(Ns=t((()=>{fs()})))()}var Ps,Fs;function Is(){return(Is=t((()=>{Bt(),V(),$a(),Xa(),Ps=[...Za,z,B],Fs=e=>Ps.find(Ya(e))})))()}var Ls,Rs,zs,Y;function Bs(){return(Bs=t((()=>{Ls=()=>({translate:0,scale:1,origin:0,originPoint:0}),Rs=()=>({x:Ls(),y:Ls()}),zs=()=>({min:0,max:0}),Y=()=>({x:zs(),y:zs()})})))()}var Vs;function Hs(){return(Hs=t((()=>{Vs=new WeakMap})))()}function Us(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}function Ws(e){return typeof e==`string`||Array.isArray(e)}var Gs,Ks;function qs(){return(qs=t((()=>{Gs=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`],Ks=[`initial`,...Gs]})))()}function Js(e){return Us(e.animate)||Ks.some(t=>Ws(e[t]))}function Ys(e){return!!(Js(e)||e.variants)}function Xs(){return(Xs=t((()=>{qs()})))()}function Zs(e,t,n){for(let r in t){let i=t[r],a=n[r];if(K(i))e.addValue(r,i);else if(K(a))e.addValue(r,Ki(i,{owner:e}));else if(a!==i){if(e.hasValue(r)){let t=e.getValue(r);t.liveStyle===!0?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,Ki(t===void 0?i:t,{owner:e}))}}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}function Qs(){return(Qs=t((()=>{Zi(),q()})))()}var $s,ec;function tc(){return(tc=t((()=>{$s={current:null},ec={current:!1}})))()}function nc(){if(ec.current=!0,rc){if(window.matchMedia){let e=window.matchMedia(`(prefers-reduced-motion)`),t=()=>$s.current=e.matches;e.addEventListener(`change`,t),t()}else $s.current=!1}}var rc;function ic(){return(ic=t((()=>{tc(),rc=typeof window<`u`})))()}function ac(e){cc=e}function oc(){return cc}var sc,cc,lc;function uc(){return(uc=t((()=>{me(),ne(),oe(),pe(),Jr(),yi(),Pi(),Io(),at(),Bs(),Zi(),V(),xo(),Is(),q(),Hs(),Xs(),G(),Qs(),ic(),tc(),N(),sc=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],cc={},lc=class{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,skipAnimations:i,blockInitialAnimation:a,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=qr,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify(`Update`,this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=P.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,j.render(this.render,!1,!0))};let{latestValues:c,renderState:l}=o;this.latestValues=c,this.baseTarget={...c},this.initialValues=t.initial?{...c}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=i,this.options=s,this.blockInitialAnimation=!!a,this.isControllingVariants=Js(t),this.isVariantNode=Ys(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];c[e]!==void 0&&K(t)&&t.set(c[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,Vs.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),this.reducedMotionConfig===`never`?this.shouldReduceMotion=!1:this.reducedMotionConfig===`always`?this.shouldReduceMotion=!0:(ec.current||nc(),this.shouldReduceMotion=$s.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),tt(this.notifyUpdate),tt(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let e in this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??=new Set,this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&Ni.has(e)&&this.current instanceof HTMLElement){let{factory:n,keyframes:r,times:i,ease:a,duration:o}=t.accelerate,s=new vi({element:this.current,name:e,keyframes:r,times:i,ease:a,duration:k(o)}),c=n(s);this.valueSubscriptions.set(e,()=>{c(),s.cancel()});return}let n=Nr.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on(`change`,t=>{this.latestValues[e]=t,this.props.onUpdate&&j.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),i;typeof window<`u`&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i&&i()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e=`animation`;for(e in cc){let t=cc[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Y()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<sc.length;t++){let n=sc[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e[`on`+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=Zs(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&t!==void 0&&(n=Ki(t===null?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return n!=null&&(typeof n==`string`&&(te(n)||ae(n))?n=parseFloat(n):!Fs(n)&&B.test(t)&&(n=yo(e,t)),this.setBaseTarget(e,K(n)?n.get():n)),K(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let{initial:t}=this.props,n;if(typeof t==`string`||typeof t==`object`){let r=va(this.props,t,this.presenceContext?.custom);r&&(n=r[e])}if(t&&n!==void 0)return n;let r=this.getBaseTargetFromProps(this.props,e);return r!==void 0&&!K(r)?r:this.initialValues[e]!==void 0&&n===void 0?void 0:this.baseTarget[e]}on(e,t){return this.events[e]||(this.events[e]=new fe),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){Po.render(this.render)}}})))()}var dc;function fc(){return(fc=t((()=>{q(),Eo(),uc(),dc=class extends lc{constructor(){super(...arguments),this.KeyframeResolver=To}sortInstanceNodePosition(e,t){return e.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(e,t){let n=e.style;return n?n[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;K(e)&&(this.childSubscription=e.on(`change`,e=>{this.current&&(this.current.textContent=`${e}`)}))}}})))()}var pc;function mc(){return(mc=t((()=>{pc=class{constructor(e){this.isMounted=!1,this.node=e}update(){}}})))()}function hc({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function gc({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function _c(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function vc(e){return e===void 0||e===1}function yc({scale:e,scaleX:t,scaleY:n}){return!vc(e)||!vc(t)||!vc(n)}function bc(e){return yc(e)||xc(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function xc(e){return Sc(e.x)||Sc(e.y)}function Sc(e){return e&&e!==`0%`}function Cc(e,t,n){return n+t*(e-n)}function wc(e,t,n,r,i){return i!==void 0&&(e=Cc(e,i,r)),Cc(e,n,r)+t}function Tc(e,t=0,n=1,r,i){e.min=wc(e.min,t,n,r,i),e.max=wc(e.max,t,n,r,i)}function Ec(e,{x:t,y:n}){Tc(e.x,t.translate,t.scale,t.originPoint),Tc(e.y,n.translate,n.scale,n.originPoint)}function Dc(e,t,n,r=!1){let i=n.length;if(!i)return;t.x=t.y=1;let a,o;for(let s=0;s<i;s++){a=n[s],o=a.projectionDelta;let{visualElement:i}=a.options;i&&i.props.style&&i.props.style.display===`contents`||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&(X(e.x,-a.scroll.offset.x),X(e.y,-a.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,Ec(e,o)),r&&bc(a.latestValues)&&Ac(e,a.latestValues,a.layout?.layoutBox))}t.x<Mc&&t.x>jc&&(t.x=1),t.y<Mc&&t.y>jc&&(t.y=1)}function X(e,t){e.min+=t,e.max+=t}function Oc(e,t,n,r,i=.5){Tc(e,t,n,H(e.min,e.max,i),r)}function kc(e,t){return typeof e==`string`?parseFloat(e)/100*(t.max-t.min):e}function Ac(e,t,n){let r=n??e;Oc(e.x,kc(t.x,r.x),t.scaleX,t.scale,t.originX),Oc(e.y,kc(t.y,r.y),t.scaleY,t.scale,t.originY)}var jc,Mc;function Nc(){return(Nc=t((()=>{U(),jc=.999999999999,Mc=1.0000000000001})))()}function Pc(e,t){return hc(_c(e.getBoundingClientRect(),t))}function Fc(e,t,n){let r=Pc(e,n),{scroll:i}=t;return i&&(X(r.x,i.offset.x),X(r.y,i.offset.y)),r}function Ic(){return(Ic=t((()=>{Nc()})))()}function Lc(e,t,n){let r=``,i=!0;for(let a=0;a<zc;a++){let o=Mr[a],s=e[o];if(s===void 0)continue;let c=!0;if(typeof s==`number`)c=s===+!!o.startsWith(`scale`);else{let e=parseFloat(s);c=o.startsWith(`scale`)?e===1:e===0}if(!c||n){let e=Ao(s,mo[o]);if(!c){i=!1;let t=Rc[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}let a=e.pathRotation;return a&&(i=!1,r+=`rotate(${Ao(a,mo.pathRotation)}) `),r=r.trim(),n?r=n(t,i?``:r):i&&(r=`none`),r}var Rc,zc;function Bc(){return(Bc=t((()=>{jo(),ho(),G(),Rc={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},zc=Mr.length})))()}function Vc(e,t,n){let{style:r,vars:i,transformOrigin:a}=e,o=!1,s=!1;for(let e in t){let n=t[e];if(Nr.has(e)){o=!0;continue}if(ct(e)){i[e]=n;continue}{let t=Ao(n,mo[e]);e.startsWith(`origin`)?(s=!0,a[e]=t):r[e]=t}}if(t.transform||(o||n?r.transform=Lc(t,e.transform,n):r.transform&&=`none`),s){let{originX:e=`50%`,originY:t=`50%`,originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}function Hc(){return(Hc=t((()=>{jo(),ho(),G(),ft(),Bc()})))()}function Uc(e,{style:t,vars:n},r,i){let a=e.style,o;for(o in t)a[o]=t[o];for(o in i?.applyProjectionStyles(a,r),n)a.setProperty(o,n[o])}function Wc(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var Gc;function Kc(){return(Kc=t((()=>{R(),Gc={correct:(e,t)=>{if(!t.target)return e;if(typeof e==`string`){if(L.test(e))e=parseFloat(e);else return e}return`${Wc(e,t.target.x)}% ${Wc(e,t.target.y)}%`}}})))()}var qc;function Jc(){return(Jc=t((()=>{V(),U(),qc={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=B.parse(e);if(i.length>5)return r;let a=B.createTransformer(e),o=typeof i[0]==`number`?0:1,s=n.x.scale*t.x,c=n.y.scale*t.y;i[0+o]/=s,i[1+o]/=c;let l=H(s,c,.5);return typeof i[2+o]==`number`&&(i[2+o]/=l),typeof i[3+o]==`number`&&(i[3+o]/=l),a(i)}}})))()}var Yc;function Xc(){return(Xc=t((()=>{Oo(),Kc(),Jc(),Yc={borderRadius:{...Gc,applyTo:[...Do]},borderTopLeftRadius:Gc,borderTopRightRadius:Gc,borderBottomLeftRadius:Gc,borderBottomRightRadius:Gc,boxShadow:qc}})))()}function Zc(e,{layout:t,layoutId:n}){return Nr.has(e)||e.startsWith(`origin`)||(t||n!==void 0)&&(!!Yc[e]||e===`opacity`)}function Qc(){return(Qc=t((()=>{G(),Xc()})))()}function $c(e,t,n){let r=e.style,i=t?.style,a={};if(!r)return a;for(let t in r)(K(r[t])||i&&K(i[t])||Zc(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(a[t]=r[t]);return a}function el(){return(el=t((()=>{q(),Qc()})))()}function tl(e){return window.getComputedStyle(e)}var nl;function rl(){return(rl=t((()=>{T(),ft(),G(),jr(),Ic(),fc(),Hc(),el(),nl=class extends dc{constructor(){super(...arguments),this.type=`html`,this.renderInstance=Uc}mount(e){w(!!e.style,`motion.create() components must forward their ref to a HTML or SVG element`,`custom-component-ref`),super.mount(e)}readValueFromInstance(e,t){if(Nr.has(t))return this.projection?.isProjecting?yr(t):Ar(e,t);{let n=tl(e),r=(ct(t)?n.getPropertyValue(t):n[t])||0;return typeof r==`string`?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return Pc(e,t)}build(e,t,n){Vc(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return $c(e,t,n)}}})))()}function il(e,t,n=1,r=0,i=!0){e.pathLength=1;let a=i?al:ol;e[a.offset]=`${-r}`,e[a.array]=`${t} ${n}`}var al,ol;function sl(){return(sl=t((()=>{al={offset:`stroke-dashoffset`,array:`stroke-dasharray`},ol={offset:`strokeDashoffset`,array:`strokeDasharray`}})))()}function cl(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s},c,l,u){if(Vc(e,s,l),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:f}=e;for(let e of ll)d[e]!==void 0&&(f[e]=d[e],delete d[e]);(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??`50% 50%`,delete d.transformOrigin),f.transform&&(f.transformBox=u?.transformBox??`fill-box`,delete d.transformBox),t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&il(d,i,a,o,!1)}var ll;function ul(){return(ul=t((()=>{Hc(),sl(),ll=[`transform`,`opacity`,`offsetDistance`,`offsetPath`,`offsetRotate`,`offsetAnchor`]})))()}var dl;function fl(){return(fl=t((()=>{dl=new Set([`baseFrequency`,`diffuseConstant`,`kernelMatrix`,`kernelUnitLength`,`keySplines`,`keyTimes`,`limitingConeAngle`,`markerHeight`,`markerWidth`,`numOctaves`,`targetX`,`targetY`,`surfaceScale`,`specularConstant`,`specularExponent`,`stdDeviation`,`tableValues`,`viewBox`,`gradientTransform`,`pathLength`,`startOffset`,`textLength`,`lengthAdjust`])})))()}var pl;function ml(){return(ml=t((()=>{pl=e=>typeof e==`string`&&e.toLowerCase()===`svg`})))()}function hl(e,t,n,r){Uc(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(dl.has(n)?n:Na(n),t.attrs[n])}function gl(){return(gl=t((()=>{fl()})))()}function _l(e,t,n){let r=$c(e,t,n);for(let n in e)if(K(e[n])||K(t[n])){let t=Mr.indexOf(n)===-1?n:`attr`+n.charAt(0).toUpperCase()+n.substring(1);r[t]=e[n]}return r}function vl(){return(vl=t((()=>{q(),G(),el()})))()}var yl;function bl(){return(bl=t((()=>{G(),vo(),Bs(),fc(),ul(),fl(),ml(),gl(),vl(),yl=class extends dc{constructor(){super(...arguments),this.type=`svg`,this.isSVGTag=!1,this.measureInstanceViewportBox=Y}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Nr.has(t)){let e=_o(t);return e&&e.default||0}if(ll.includes(t)){let n=getComputedStyle(e)[t];if(typeof n==`string`&&n)return n.trim()}return t=dl.has(t)?t:Na(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return _l(e,t,n)}build(e,t,n){cl(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){hl(e,t,n,r)}mount(e){this.isSVGTag=pl(e.tagName),super.mount(e)}}})))()}function xl(e){if(!e)return;if(!e.isControllingVariants){let t=e.parent&&xl(e.parent)||{};return e.props.initial!==void 0&&(t.initial=e.props.initial),t}let t={};for(let n=0;n<Sl;n++){let r=Ks[n],i=e.props[r];(Ws(i)||i===!1)&&(t[r]=i)}return t}var Sl;function Cl(){return(Cl=t((()=>{qs(),Sl=Ks.length})))()}function wl(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function Tl(e){return t=>Promise.all(t.map(({animation:t,options:n})=>Ga(e,t,n)))}function El(e){let t=Tl(e),n=kl(),r=!0,i=!1,a=t=>(n,r)=>{let i=ya(e,r,t===`exit`?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function o(n){t=n(e)}function s(o){let{props:s}=e,c=xl(e.parent)||{},l=[],u=new Set,d={},f=1/0;for(let t=0;t<jl;t++){let p=Al[t],m=n[p],h=s[p]===void 0?c[p]:s[p],g=Ws(h),_=p===o?m.isActive:null;_===!1&&(f=t);let v=h===c[p]&&h!==s[p]&&g;if(v&&(r||i)&&e.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...d},!m.isActive&&_===null||!h&&!m.prevProp||Us(h)||typeof h==`boolean`)continue;if(p===`exit`&&m.isActive&&_!==!0){m.prevResolvedValues&&(d={...d,...m.prevResolvedValues});continue}let y=Dl(m.prevProp,h),b=y||p===o&&m.isActive&&!v&&g||t>f&&g,x=!1,S=Array.isArray(h)?h:[h],C=S.reduce(a(p),{});_===!1&&(C={});let{prevResolvedValues:w={}}=m,T={...w,...C},E=t=>{b=!0,u.has(t)&&(x=!0,u.delete(t)),m.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in T){let t=C[e],n=w[e];if(d.hasOwnProperty(e))continue;let r=!1;r=Ca(t)&&Ca(n)?!wl(t,n)||y:t!==n,r?t==null?u.add(e):E(e):t!==void 0&&u.has(e)?E(e):m.protectedKeys[e]=!0}m.prevProp=h,m.prevResolvedValues=C,m.isActive&&(d={...d,...C}),(r||i)&&e.blockInitialAnimation&&(b=!1);let ee=v&&y;b&&(!ee||x)&&l.push(...S.map(t=>{let n={type:p};if(typeof t==`string`&&(r||i)&&!ee&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,i=ya(r,t);if(r.enteringChildren&&i){let{delayChildren:t}=i.transition||{};n.delay=Gi(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(u.size){let t={};if(typeof s.initial!=`boolean`){let n=ya(e,Array.isArray(s.initial)?s.initial[0]:s.initial);n&&n.transition&&(t.transition=n.transition)}u.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=r??null}),l.push({animation:t})}let p=!!l.length;return r&&(s.initial===!1||s.initial===s.animate)&&!e.manuallyAnimateOnMount&&(p=!1),r=!1,i=!1,p?t(l):Promise.resolve()}function c(t,r){if(n[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),n[t].isActive=r;let i=s(t);for(let e in n)n[e].protectedKeys={};return i}return{animateChanges:s,setActive:c,setAnimateFunction:o,getState:()=>n,reset:()=>{n=kl(),i=!0}}}function Dl(e,t){return typeof t==`string`?t!==e:Array.isArray(t)?!wl(t,e):!1}function Ol(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function kl(){return{animate:Ol(!0),whileInView:Ol(),whileHover:Ol(),whileTap:Ol(),whileDrag:Ol(),whileFocus:Ol(),exit:Ol()}}var Al,jl;function Ml(){return(Ml=t((()=>{Ka(),Cl(),wa(),ba(),qs(),Al=[...Gs].reverse(),jl=Gs.length})))()}function Nl(e,t){e.min=t.min,e.max=t.max}function Z(e,t){Nl(e.x,t.x),Nl(e.y,t.y)}function Pl(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Q(e){return e.max-e.min}function Fl(e,t,n){return Math.abs(e-t)<=n}function Il(e,t,n,r=.5){e.origin=r,e.originPoint=H(t.min,t.max,e.origin),e.scale=Q(n)/Q(t),e.translate=H(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Hl&&e.scale<=Ul||isNaN(e.scale))&&(e.scale=1),(e.translate>=Wl&&e.translate<=Gl||isNaN(e.translate))&&(e.translate=0)}function Ll(e,t,n,r){Il(e.x,t.x,n.x,r?r.originX:void 0),Il(e.y,t.y,n.y,r?r.originY:void 0)}function Rl(e,t,n,r=0){e.min=(r?H(n.min,n.max,r):n.min)+t.min,e.max=e.min+Q(t)}function zl(e,t,n,r){Rl(e.x,t.x,n.x,r?.x),Rl(e.y,t.y,n.y,r?.y)}function Bl(e,t,n,r=0){let i=r?H(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+Q(t)}function Vl(e,t,n,r){Bl(e.x,t.x,n.x,r?.x),Bl(e.y,t.y,n.y,r?.y)}var Hl,Ul,Wl,Gl;function Kl(){return(Kl=t((()=>{U(),Hl=.9999,Ul=1.0001,Wl=-.01,Gl=.01})))()}function ql(e,t,n,r,i){return e-=t,e=Cc(e,1/n,r),i!==void 0&&(e=Cc(e,1/i,r)),e}function Jl(e,t=0,n=1,r=.5,i,a=e,o=e){if(I.test(t)&&(t=parseFloat(t),t=H(o.min,o.max,t/100)-o.min),typeof t!=`number`)return;let s=H(a.min,a.max,r);e===a&&(s-=t),e.min=ql(e.min,t,n,s,i),e.max=ql(e.max,t,n,s,i)}function Yl(e,t,[n,r,i],a,o){Jl(e,t[n],t[r],t[i],t.scale,a,o)}function Xl(e,t,n,r){Yl(e.x,t,Zl,n?n.x:void 0,r?r.x:void 0),Yl(e.y,t,Ql,n?n.y:void 0,r?r.y:void 0)}var Zl,Ql;function $l(){return($l=t((()=>{U(),R(),Nc(),Zl=[`x`,`scaleX`,`originX`],Ql=[`y`,`scaleY`,`originY`]})))()}function eu(e){return e.translate===0&&e.scale===1}function tu(e){return eu(e.x)&&eu(e.y)}function nu(e,t){return e.min===t.min&&e.max===t.max}function ru(e,t){return nu(e.x,t.x)&&nu(e.y,t.y)}function iu(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function au(e,t){return iu(e.x,t.x)&&iu(e.y,t.y)}function ou(e){return Q(e.x)/Q(e.y)}function su(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function cu(){return(cu=t((()=>{Kl()})))()}function lu(e){return[e(`x`),e(`y`)]}function uu(e,t,n){let r=``,i=e.x.translate/t.x,a=e.y.translate/t.y,o=n?.z||0;if((i||a||o)&&(r=`translate3d(${i}px, ${a}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,pathRotation:i,rotateX:a,rotateY:o,skewX:s,skewY:c}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotate(${i}deg) `),a&&(r+=`rotateX(${a}deg) `),o&&(r+=`rotateY(${o}deg) `),s&&(r+=`skewX(${s}deg) `),c&&(r+=`skewY(${c}deg) `)}let s=e.x.scale*t.x,c=e.y.scale*t.y;return(s!==1||c!==1)&&(r+=`scale(${s}, ${c})`),r||`none`}function du(e,t,n,r,i,a){i?(e.opacity=H(0,n.opacity??1,_u(r)),e.opacityExit=H(t.opacity??1,0,vu(r))):a&&(e.opacity=H(t.opacity??1,n.opacity??1,r));for(let i=0;i<mu;i++){let a=Do[i],o=fu(t,a),s=fu(n,a);(o!==void 0||s!==void 0)&&(o||=0,s||=0,o===0||s===0||gu(o)===gu(s)?(e[a]=Math.max(H(hu(o),hu(s),r),0),(I.test(s)||I.test(o))&&(e[a]+=`%`)):e[a]=s)}(t.rotate||n.rotate)&&(e.rotate=H(t.rotate||0,n.rotate||0,r))}function fu(e,t){return e[t]===void 0?e.borderRadius:e[t]}function pu(e,t,n){return r=>r<e?0:r>t?1:n(ue(e,t,r))}var mu,hu,gu,_u,vu;function yu(){return(yu=t((()=>{U(),R(),de(),Ie(),O(),Oo(),mu=Do.length,hu=e=>typeof e==`string`?parseFloat(e):e,gu=e=>typeof e==`number`||L.test(e),_u=pu(0,.5,Pe),vu=pu(.5,.95,D)})))()}function bu(e,t,n){let r=K(e)?e:Ki(e);return r.start(ua(``,r,t,n)),r.animation}function xu(){return(xu=t((()=>{da(),Zi(),q()})))()}function Su(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}var Cu;function wu(){return(wu=t((()=>{Cu=(e,t)=>e.depth-t.depth})))()}var Tu;function Eu(){return(Eu=t((()=>{wu(),Tu=class{constructor(){this.children=[],this.isDirty=!1}add(e){y(this.children,e),this.isDirty=!0}remove(e){b(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Cu),this.isDirty=!1,this.children.forEach(e)}}})))()}function Du(e,t){let n=P.now(),r=({timestamp:i})=>{let a=i-n;a>=t&&(tt(r),e(a-t))};return j.setup(r,!0),()=>tt(r)}function Ou(){return(Ou=t((()=>{at(),N()})))()}function ku(e){return K(e)?e.get():e}function Au(){return(Au=t((()=>{q()})))()}var ju;function Mu(){return(Mu=t((()=>{ju=class{constructor(){this.members=[]}add(e){y(this.members,e);for(let t=this.members.length-1;t>=0;t--){let n=this.members[t];if(n===e||n===this.lead||n===this.prevLead)continue;let r=n.instance;(!r||r.isConnected===!1)&&!n.snapshot&&(b(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(b(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(e.isPresent!==!1&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.updateSnapshot(),e.scheduleRender();let{layoutDependency:r}=n.options,{layoutDependency:i}=e.options;(r===void 0||r!==i)&&(e.resumeFrom=n,t&&(n.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),e.options.crossfade===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}})))()}var Nu;function Pu(){return(Pu=t((()=>{Nu={hasAnimatedSinceResize:!0,hasEverUpdated:!1}})))()}function Fu(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Iu(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=La(t);if(window.MotionHasOptimisedAnimation(n,`transform`)){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,`transform`,j,!(t||r))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Iu(r)}function Lu({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=ud++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,As.value&&(sd.nodes=sd.calculatedTargetDeltas=sd.calculatedProjections=0),this.nodes.forEach(Bu),this.nodes.forEach(Yu),this.nodes.forEach(Xu),this.nodes.forEach(Vu),As.addProjectionMetrics&&As.addProjectionMetrics(sd)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new Tu)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new fe),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=ds(t)&&!Ms(t),this.instance=t;let{layoutId:n,layout:r,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||n)&&(this.isLayoutDirty=!0),e){let n,r=0,i=()=>this.root.updateBlockedByResize=!1;j.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=Du(i,250),Nu.hasAnimatedSinceResize&&(Nu.hasAnimatedSinceResize=!1,this.nodes.forEach(Ju)))})}n&&this.root.registerSharedNode(n,this),this.options.animate!==!1&&i&&(n||r)&&this.addEventListener(`didUpdate`,({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let a=this.options.transition||i.getDefaultTransition()||dd,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=i.getProps(),c=!this.targetLayout||!au(this.targetLayout,r),l=!t&&n;if(this.options.layoutRoot||this.resumeFrom||l||t&&(c||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...$i(a,`layout`),onPlay:o,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,l,t.path)}else t||Ju(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),tt(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Zu),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Iu(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,(typeof t.latestValues.x==`string`||typeof t.latestValues.y==`string`)&&(t.isLayoutDirty=!0),t.updateScroll(`snapshot`),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(t===void 0&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,``):void 0,this.updateSnapshot(),e&&this.notifyListeners(`willUpdate`)}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(Wu),this.nodes.forEach(Uu);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Gu);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Ku),this.nodes.forEach(qu),this.nodes.forEach(Ru),this.nodes.forEach(zu)):this.nodes.forEach(Gu),this.clearAllSnapshots();let e=P.now();M.delta=x(0,1e3/60,e-M.timestamp),M.timestamp=e,M.isProcessing=!0,nt.update.process(M),nt.preRender.process(M),nt.render.process(M),M.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Po.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Hu),this.sharedNodes.forEach(Qu)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,j.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){j.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Q(this.snapshot.measuredBox.x)&&!Q(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||=Y(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners(`measure`,this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify(`LayoutMeasure`,this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e=`measure`){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!tu(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,``):void 0,a=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||bc(this.latestValues)||a)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){let t=this.measurePageBox(),n=this.removeElementScroll(t);return e&&(n=this.removeTransform(n)),id(n),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return Y();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(od))){let{scroll:e}=this.root;e&&(X(t.x,e.offset.x),X(t.y,e.offset.y))}return t}removeElementScroll(e){let t=Y();if(Z(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:a}=r;r!==this.root&&i&&a.layoutScroll&&(i.wasRoot&&Z(t,e),X(t.x,i.offset.x),X(t.y,i.offset.y))}return t}applyTransform(e,t=!1,n){let r=n||Y();Z(r,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(X(r.x,-n.scroll.offset.x),X(r.y,-n.scroll.offset.y)),bc(n.latestValues)&&Ac(r,n.latestValues,n.layout?.layoutBox)}return bc(this.latestValues)&&Ac(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){let t=Y();Z(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!bc(n.latestValues))continue;let r;n.instance&&(yc(n.latestValues)&&n.updateSnapshot(),r=Y(),Z(r,n.measurePageBox())),Xl(t,n.latestValues,n.snapshot?.layoutBox,r)}return bc(this.latestValues)&&Xl(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:e.crossfade===void 0||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==M.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||=t.isProjectionDirty,this.isTransformDirty||=t.isTransformDirty,this.isSharedProjectionDirty||=t.isSharedProjectionDirty;let n=!!this.resumingFrom||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:i}=this.options;if(!this.layout||!(r||i))return;this.resolvedRelativeTargetAt=M.timestamp;let a=this.getClosestProjectingParent();a&&this.linkedParentVersion!==a.layoutVersion&&!a.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&a&&a.layout?this.createRelativeTarget(a,this.layout.layoutBox,a.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Y(),this.targetWithTransforms=Y()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),zl(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Z(this.target,this.layout.layoutBox),Ec(this.target,this.targetDelta)):Z(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&a&&!!a.resumingFrom==!!this.resumingFrom&&!a.options.layoutScroll&&a.target&&this.animationProgress!==1?this.createRelativeTarget(a,this.target,a.target):this.relativeParent=this.relativeTarget=void 0),As.value&&sd.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||yc(this.parent.latestValues)||xc(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,n){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Y(),this.relativeTargetOrigin=Y(),Vl(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),Z(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===M.timestamp&&(n=!1),n)return;let{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||i))return;Z(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;Dc(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=Y());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Pl(this.prevProjectionDelta.x,this.projectionDelta.x),Pl(this.prevProjectionDelta.y,this.projectionDelta.y)),Ll(this.projectionDelta,this.layoutCorrected,s,this.latestValues),(this.treeScale.x!==a||this.treeScale.y!==o||!su(this.projectionDelta.x,this.prevProjectionDelta.x)||!su(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(`projectionUpdate`,s)),As.value&&sd.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Rs(),this.projectionDelta=Rs(),this.projectionDeltaWithTransform=Rs()}setAnimationOrigin(e,t=!1,n){let r=this.snapshot,i=r?r.latestValues:{},a={...this.latestValues},o=Rs();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let s=Y(),c=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),u=!l||l.members.length<=1,d=!!(c&&!u&&this.options.crossfade===!0&&!this.path.some(nd));this.animationProgress=0;let f,p=n?.interpolateProjection(e);this.mixTargetDelta=t=>{let n=t/1e3,r=p?.(n);r?(o.x.translate=r.x,o.x.scale=H(e.x.scale,1,n),o.x.origin=e.x.origin,o.x.originPoint=e.x.originPoint,o.y.translate=r.y,o.y.scale=H(e.y.scale,1,n),o.y.origin=e.y.origin,o.y.originPoint=e.y.originPoint):($u(o.x,e.x,n),$u(o.y,e.y,n)),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Vl(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),td(this.relativeTarget,this.relativeTargetOrigin,s,n),f&&ru(this.relativeTarget,f)&&(this.isProjectionDirty=!1),f||=Y(),Z(f,this.relativeTarget)),c&&(this.animationValues=a,du(a,i,this.latestValues,n,d,u)),r&&r.rotate!==void 0&&(this.animationValues||=a,this.animationValues.pathRotation=r.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners(`animationStart`),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&=(tt(this.pendingAnimation),void 0),this.pendingAnimation=j.update(()=>{Nu.hasAnimatedSinceResize=!0,this.motionValue||=Ki(0),this.motionValue.jump(0,!1),this.currentAnimation=bu(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners(`animationComplete`)}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(ld),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(!(!t||!n||!r)){if(this!==e&&this.layout&&r&&ad(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||Y();let t=Q(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=Q(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}Z(t,n),Ac(t,i),Ll(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new ju),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return e?e.relegate(this):!1}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&Fu(`z`,e,r,this.animationValues);for(let t=0;t<cd.length;t++)Fu(`rotate${cd[t]}`,e,r,this.animationValues),Fu(`skew${cd[t]}`,e,r,this.animationValues);e.render();for(let t in r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility=`hidden`;return}let n=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility=``,e.opacity=``,e.pointerEvents=ku(t?.pointerEvents)||``,e.transform=n?n(this.latestValues,``):`none`;return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(e.opacity=this.latestValues.opacity===void 0?1:this.latestValues.opacity,e.pointerEvents=ku(t?.pointerEvents)||``),this.hasProjected&&!bc(this.latestValues)&&(e.transform=n?n({},``):`none`,this.hasProjected=!1);return}e.visibility=``;let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();let a=uu(this.projectionDeltaWithTransform,this.treeScale,i);n&&(a=n(i,a)),e.transform=a;let{x:o,y:s}=this.projectionDelta;e.transformOrigin=`${o.origin*100}% ${s.origin*100}% 0`,e.opacity=r.animationValues?r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:r===this?i.opacity===void 0?``:i.opacity:i.opacityExit===void 0?0:i.opacityExit;for(let t in Yc){if(i[t]===void 0)continue;let{correct:n,applyTo:o,isCSSVariable:s}=Yc[t],c=a===`none`?i[t]:n(i[t],r);if(o){let t=o.length;for(let n=0;n<t;n++)e[o[n]]=c}else s?this.options.visualElement.renderState.vars[t]=c:e[t]=c}this.options.layoutId&&(e.pointerEvents=r===this?ku(t?.pointerEvents)||``:`none`)}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(Uu),this.root.sharedNodes.clear()}}}function Ru(e){e.updateLayout()}function zu(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners(`didUpdate`)){let{layoutBox:n,measuredBox:r}=e.layout,{animationType:i}=e.options,a=t.source!==e.layout.source;if(i===`size`)lu(e=>{let r=a?t.measuredBox[e]:t.layoutBox[e],i=Q(r);r.min=n[e].min,r.max=r.min+i});else if(i===`x`||i===`y`){let e=i===`x`?`y`:`x`;Nl(a?t.measuredBox[e]:t.layoutBox[e],n[e])}else ad(i,t.layoutBox,n)&&lu(r=>{let i=a?t.measuredBox[r]:t.layoutBox[r],o=Q(n[r]);i.max=i.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+o)});let o=Rs();Ll(o,n,t.layoutBox);let s=Rs();a?Ll(s,e.applyTransform(r,!0),t.measuredBox):Ll(s,n,t.layoutBox);let c=!tu(o),l=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:a}=r;if(i&&a){let o=e.options.layoutAnchor||void 0,s=Y();Vl(s,t.layoutBox,i.layoutBox,o);let c=Y();Vl(c,n,a.layoutBox,o),au(s,c)||(l=!0),r.options.layoutRoot&&(e.relativeTarget=c,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners(`didUpdate`,{layout:n,snapshot:t,delta:s,layoutDelta:o,hasLayoutChanged:c,hasRelativeLayoutChanged:l})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function Bu(e){As.value&&sd.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty),e.isTransformDirty||=e.parent.isTransformDirty)}function Vu(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Hu(e){e.clearSnapshot()}function Uu(e){e.clearMeasurements()}function Wu(e){e.isLayoutDirty=!0,e.updateLayout()}function Gu(e){e.isLayoutDirty=!1}function Ku(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function qu(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify(`BeforeLayoutMeasure`),e.resetTransform()}function Ju(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Yu(e){e.resolveTargetDelta()}function Xu(e){e.calcProjection()}function Zu(e){e.resetSkewAndRotation()}function Qu(e){e.removeLeadSnapshot()}function $u(e,t,n){e.translate=H(t.translate,0,n),e.scale=H(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function ed(e,t,n,r){e.min=H(t.min,n.min,r),e.max=H(t.max,n.max,r)}function td(e,t,n,r){ed(e.x,t.x,n.x,r),ed(e.y,t.y,n.y,r)}function nd(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}function rd(e){e.min=pd(e.min),e.max=pd(e.max)}function id(e){rd(e.x),rd(e.y)}function ad(e,t,n){return e===`position`||e===`preserve-aspect`&&!Fl(ou(t),ou(n),.2)}function od(e){return e!==e.root&&e.scroll?.wasRoot}var sd,cd,ld,ud,dd,fd,pd;function md(){return(md=t((()=>{pe(),S(),O(),xu(),Ra(),ea(),Io(),at(),Xc(),js(),Ou(),fs(),Ns(),U(),Zi(),Au(),yu(),Nc(),Kl(),$l(),Bs(),cu(),Mu(),Eu(),Pu(),N(),sd={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},cd=[``,`X`,`Y`,`Z`],ld=1e3,ud=0,dd={duration:.45,ease:[.4,0,.1,1]},fd=e=>typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),pd=fd(`applewebkit/`)&&!fd(`chrome/`)?Math.round:D})))()}var hd;function gd(){return(gd=t((()=>{md(),hd=Lu({attachResizeListener:(e,t)=>Su(e,`resize`,t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0})})))()}var _d,vd;function yd(){return(yd=t((()=>{md(),gd(),_d={current:void 0},vd=Lu({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!_d.current){let e=new hd({});e.mount(window),e.setOptions({layoutScroll:!0}),_d.current=e}return _d.current},resetTransform:(e,t)=>{e.style.transform=t===void 0?`none`:t},checkIsScrollRoot:e=>window.getComputedStyle(e).position===`fixed`})})))()}var bd,xd;function Sd(){return(Sd=t((()=>{bd=n(),xd=(0,bd.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:`never`})})))()}function Cd(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function wd(...e){return t=>{let n=!1,r=e.map(e=>{let r=Cd(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():Cd(e[t],null)}}}}function Td(...e){return Ed.useCallback(wd(...e),e)}var Ed;function Dd(){return(Dd=t((()=>{Ed=e(n(),1)})))()}function Od({children:e,isPresent:t,anchorX:n,anchorY:r,root:i,pop:a}){let o=(0,jd.useId)(),s=(0,jd.useRef)(null),c=(0,jd.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:`ltr`}),{nonce:l}=(0,jd.useContext)(xd),u=Td(s,a===!1?void 0:e.props?.ref??e?.ref);return(0,jd.useInsertionEffect)(()=>{let{width:e,height:u,top:d,left:f,right:p,bottom:m,direction:h}=c.current;if(t||a===!1||!s.current||!e||!u)return;let g=h===`rtl`,_=n===`left`?g?`right: ${p}`:`left: ${f}`:g?`left: ${f}`:`right: ${p}`,v=r===`bottom`?`bottom: ${m}`:`top: ${d}`;s.current.dataset.motionPopId=o;let y=document.createElement(`style`);l&&(y.nonce=l);let b=i??document.head;return b.appendChild(y),y.sheet&&y.sheet.insertRule(`
1
+ import{a as e,n as t}from"./rolldown-runtime-DkW27tQK.js";import{t as n}from"./react-BZJXY1be.js";import{n as r}from"./iframe-FSp_AjJa.js";import{c as i}from"./ModalManagerProvider-ShDjozpW.js";var a,o;function s(){return(s=t((()=>{a=n(),o=(0,a.createContext)({})})))()}function c(e){let t=(0,l.useRef)(null);return t.current===null&&(t.current=e()),t.current}var l;function u(){return(u=t((()=>{l=n()})))()}var d;function f(){return(f=t((()=>{d=typeof window<`u`})))()}var p,m;function h(){return(h=t((()=>{p=n(),f(),m=d?p.useLayoutEffect:p.useEffect})))()}var g,_;function v(){return(v=t((()=>{g=n(),_=(0,g.createContext)(null)})))()}function y(e,t){e.indexOf(t)===-1&&e.push(t)}function b(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var x;function S(){return(S=t((()=>{x=(e,t,n)=>n>t?t:n<e?e:n})))()}var C,w;function T(){return(T=t((()=>{C=()=>{},w=()=>{}})))()}var E;function ee(){return(ee=t((()=>{E={}})))()}var te;function ne(){return(ne=t((()=>{te=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)})))()}var re;function ie(){return(ie=t((()=>{re=e=>typeof e==`object`&&!!e})))()}var ae;function oe(){return(oe=t((()=>{ae=e=>/^0[^.\s]+$/u.test(e)})))()}function se(e){let t;return()=>(t===void 0&&(t=e()),t)}var D;function O(){return(O=t((()=>{D=e=>e})))()}var ce;function le(){return(le=t((()=>{ce=(...e)=>e.reduce((e,t)=>n=>t(e(n)))})))()}var ue;function de(){return(de=t((()=>{ue=(e,t,n)=>{let r=t-e;return r?(n-e)/r:1}})))()}var fe;function pe(){return(pe=t((()=>{fe=class{constructor(){this.subscriptions=[]}add(e){return y(this.subscriptions,e),()=>b(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r){if(r===1)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}})))()}var k,A;function me(){return(me=t((()=>{k=e=>e*1e3,A=e=>e/1e3})))()}var he;function ge(){return(ge=t((()=>{he=(e,t)=>t?1e3/t*e:0})))()}function _e(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=ye(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>be&&++s<xe);return o}function ve(e,t,n,r){if(e===t&&n===r)return D;let i=t=>_e(t,0,1,e,n);return e=>e===0||e===1?e:ye(i(e),t,r)}var ye,be,xe;function Se(){return(Se=t((()=>{O(),ye=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,be=1e-7,xe=12})))()}var Ce;function we(){return(we=t((()=>{Ce=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2})))()}var Te;function Ee(){return(Ee=t((()=>{Te=e=>t=>1-e(1-t)})))()}var De,Oe,ke;function Ae(){return(Ae=t((()=>{Se(),we(),Ee(),De=ve(.33,1.53,.69,.99),Oe=Te(De),ke=Ce(Oe)})))()}var je;function Me(){return(Me=t((()=>{Ae(),je=e=>e>=1?1:(e*=2)<1?.5*Oe(e):.5*(2-2**(-10*(e-1)))})))()}var Ne,Pe,Fe;function Ie(){return(Ie=t((()=>{we(),Ee(),Ne=e=>1-Math.sin(Math.acos(e)),Pe=Te(Ne),Fe=Ce(Ne)})))()}var Le,Re,ze;function Be(){return(Be=t((()=>{Se(),Le=ve(.42,0,1,1),Re=ve(0,0,.58,1),ze=ve(.42,0,.58,1)})))()}var Ve;function He(){return(He=t((()=>{Ve=e=>Array.isArray(e)&&typeof e[0]!=`number`})))()}var Ue;function We(){return(We=t((()=>{Ue=e=>Array.isArray(e)&&typeof e[0]==`number`})))()}var Ge,Ke,qe;function Je(){return(Je=t((()=>{T(),O(),Me(),Ae(),Ie(),Se(),Be(),We(),Ge={linear:D,easeIn:Le,easeInOut:ze,easeOut:Re,circIn:Ne,circInOut:Fe,circOut:Pe,backIn:Oe,backInOut:ke,backOut:De,anticipate:je},Ke=e=>typeof e==`string`,qe=e=>{if(Ue(e)){w(e.length===4,`Cubic bezier arrays must contain four numerical values.`,`cubic-bezier-length`);let[t,n,r,i]=e;return ve(t,n,r,i)}return Ke(e)?(w(Ge[e]!==void 0,`Invalid easing type '${e}'`,`invalid-easing-type`),Ge[e]):e}})))()}var Ye;function Xe(){return(Xe=t((()=>{Ye=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`]})))()}function Ze(e){let t=new Set,n=new Set,r=!1,i=!1,a=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function s(t){a.has(t)&&(c.schedule(t),e()),t(o)}let c={schedule:(e,i=!1,o=!1)=>{let s=o&&r?t:n;return i&&a.add(e),s.add(e),e},cancel:e=>{n.delete(e),a.delete(e)},process:e=>{if(o=e,r){i=!0;return}r=!0;let a=t;t=n,n=a,t.forEach(s),t.clear(),r=!1,i&&(i=!1,c.process(e))}};return c}function Qe(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=Ye.reduce((e,t)=>(e[t]=Ze(a),e),{}),{setup:s,read:c,resolveKeyframes:l,preUpdate:u,update:d,preRender:f,render:p,postRender:m}=o,h=()=>{let a=E.useManualTiming,o=a?i.timestamp:performance.now();n=!1,a||(i.delta=r?1e3/60:Math.max(Math.min(o-i.timestamp,$e),1)),i.timestamp=o,i.isProcessing=!0,s.process(i),c.process(i),l.process(i),u.process(i),d.process(i),f.process(i),p.process(i),m.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(h))},g=()=>{n=!0,r=!0,i.isProcessing||e(h)};return{schedule:Ye.reduce((e,t)=>{let r=o[t];return e[t]=(e,t=!1,i=!1)=>(n||g(),r.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<Ye.length;t++)o[Ye[t]].cancel(e)},state:i,steps:o}}var $e;function et(){return(et=t((()=>{ee(),Xe(),$e=40})))()}var j,tt,M,nt;function N(){return(N=t((()=>{O(),et(),{schedule:j,cancel:tt,state:M,steps:nt}=Qe(typeof requestAnimationFrame<`u`?requestAnimationFrame:D,!0)})))()}function rt(){it=void 0}var it,P;function at(){return(at=t((()=>{ee(),N(),P={now:()=>(it===void 0&&P.set(M.isProcessing||E.useManualTiming?M.timestamp:performance.now()),it),set:e=>{it=e,queueMicrotask(rt)}}})))()}function ot(e){return typeof e==`string`&&e.split(`/*`)[0].includes(`var(--`)}var st,ct,lt,ut,dt;function ft(){return(ft=t((()=>{st=e=>t=>typeof t==`string`&&t.startsWith(e),ct=st(`--`),lt=st(`var(--`),ut=e=>lt(e)?dt.test(e.split(`/*`)[0].trim()):!1,dt=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu})))()}var pt,mt,ht;function gt(){return(gt=t((()=>{S(),pt={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},mt={...pt,transform:e=>x(0,1,e)},ht={...pt,default:1}})))()}var _t;function vt(){return(vt=t((()=>{_t=e=>Math.round(e*1e5)/1e5})))()}var yt;function bt(){return(bt=t((()=>{yt=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu})))()}function xt(e){return e==null}var St;function Ct(){return(Ct=t((()=>{St=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu})))()}var wt,Tt;function Et(){return(Et=t((()=>{bt(),Ct(),wt=(e,t)=>n=>!!(typeof n==`string`&&St.test(n)&&n.startsWith(e)||t&&!xt(n)&&Object.prototype.hasOwnProperty.call(n,t)),Tt=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(yt);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}}})))()}var Dt,Ot,kt;function At(){return(At=t((()=>{S(),gt(),vt(),Et(),Dt=e=>x(0,255,e),Ot={...pt,transform:e=>Math.round(Dt(e))},kt={test:wt(`rgb`,`red`),parse:Tt(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+Ot.transform(e)+`, `+Ot.transform(t)+`, `+Ot.transform(n)+`, `+_t(mt.transform(r))+`)`}})))()}function jt(e){let t=``,n=``,r=``,i=``;return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}var Mt;function Nt(){return(Nt=t((()=>{At(),Et(),Mt={test:wt(`#`),parse:jt,transform:kt.transform}})))()}var Pt,F,I,L,Ft,It,Lt;function R(){return(R=t((()=>{Pt=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),F=Pt(`deg`),I=Pt(`%`),L=Pt(`px`),Ft=Pt(`vh`),It=Pt(`vw`),Lt={...I,parse:e=>I.parse(e)/100,transform:e=>I.transform(e*100)}})))()}var Rt;function zt(){return(zt=t((()=>{gt(),R(),vt(),Et(),Rt={test:wt(`hsl`,`hue`),parse:Tt(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+I.transform(_t(t))+`, `+I.transform(_t(n))+`, `+_t(mt.transform(r))+`)`}})))()}var z;function Bt(){return(Bt=t((()=>{Nt(),zt(),At(),z={test:e=>kt.test(e)||Mt.test(e)||Rt.test(e),parse:e=>kt.test(e)?kt.parse(e):Rt.test(e)?Rt.parse(e):Mt.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?kt.transform(e):Rt.transform(e),getAnimatableNone:e=>{let t=z.parse(e);return t.alpha=0,z.transform(t)}}})))()}var Vt;function Ht(){return(Ht=t((()=>{Vt=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu})))()}function Ut(e){return isNaN(e)&&typeof e==`string`&&(e.match(yt)?.length||0)+(e.match(Vt)?.length||0)>0}function Wt(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(en,e=>(z.test(e)?(r.color.push(a),i.push(Xt),n.push(z.parse(e))):e.startsWith(Qt)?(r.var.push(a),i.push(Zt),n.push(e)):(r.number.push(a),i.push(Yt),n.push(parseFloat(e))),++a,$t)).split($t),indexes:r,types:i}}function Gt(e){return Wt(e).values}function Kt({split:e,types:t}){let n=e.length;return r=>{let i=``;for(let a=0;a<n;a++)if(i+=e[a],r[a]!==void 0){let e=t[a];i+=e===Yt?_t(r[a]):e===Xt?z.transform(r[a]):r[a]}return i}}function qt(e){return Kt(Wt(e))}function Jt(e){let t=Wt(e);return Kt(t)(t.values.map((e,n)=>nn(e,t.split[n])))}var Yt,Xt,Zt,Qt,$t,en,tn,nn,B;function V(){return(V=t((()=>{Bt(),Ht(),bt(),vt(),Yt=`number`,Xt=`color`,Zt=`var`,Qt=`var(`,$t="${}",en=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu,tn=e=>typeof e==`number`?0:z.test(e)?z.getAnimatableNone(e):e,nn=(e,t)=>typeof e==`number`?t?.trim().endsWith(`/`)?e:0:tn(e),B={test:Ut,parse:Gt,createTransformer:qt,getAnimatableNone:Jt}})))()}function rn(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function an({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,o=0;if(!t)i=a=o=n;else{let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=rn(s,r,e+1/3),a=rn(s,r,e),o=rn(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}function on(e,t){return n=>n>0?t:e}var H;function U(){return(U=t((()=>{H=(e,t,n)=>e+(t-e)*n})))()}function sn(e){let t=un(e);if(C(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,`color-not-animatable`),!t)return!1;let n=t.parse(e);return t===Rt&&(n=an(n)),n}var cn,ln,un,dn;function fn(){return(fn=t((()=>{T(),Nt(),zt(),At(),U(),cn=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},ln=[Mt,kt,Rt],un=e=>ln.find(t=>t.test(e)),dn=(e,t)=>{let n=sn(e),r=sn(t);if(!n||!r)return on(e,t);let i={...n};return e=>(i.red=cn(n.red,r.red,e),i.green=cn(n.green,r.green,e),i.blue=cn(n.blue,r.blue,e),i.alpha=H(n.alpha,r.alpha,e),kt.transform(i))}})))()}function pn(e,t){return mn.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}var mn;function hn(){return(hn=t((()=>{mn=new Set([`none`,`hidden`])})))()}function gn(e,t){return n=>H(e,t,n)}function _n(e){return typeof e==`number`?gn:typeof e==`string`?ut(e)?on:z.test(e)?dn:xn:Array.isArray(e)?vn:typeof e==`object`?z.test(e)?dn:yn:on}function vn(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>_n(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function yn(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=_n(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}function bn(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let a=t.types[i],o=e.indexes[a][r[a]],s=e.values[o]??0;n[i]=s,r[a]++}return n}var xn;function Sn(){return(Sn=t((()=>{le(),T(),ft(),Bt(),V(),fn(),U(),hn(),xn=(e,t)=>{let n=B.createTransformer(t),r=Wt(e),i=Wt(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?mn.has(e)&&!i.values.length||mn.has(t)&&!r.values.length?pn(e,t):ce(vn(bn(r,i),i.values),n):(C(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,`complex-values-different`),on(e,t))}})))()}function Cn(e,t,n){return typeof e==`number`&&typeof t==`number`&&typeof n==`number`?H(e,t,n):_n(e)(e,t)}function wn(){return(wn=t((()=>{Sn(),U()})))()}var Tn;function En(){return(En=t((()=>{at(),N(),Tn=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>j.update(t,e),stop:()=>tt(t),now:()=>M.isProcessing?M.timestamp:P.now()}}})))()}var Dn;function On(){return(On=t((()=>{Dn=(e,t,n=10)=>{let r=``,i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=Math.round(e(t/(i-1))*1e4)/1e4+`, `;return`linear(${r.substring(0,r.length-2)})`}})))()}function kn(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}var An;function jn(){return(jn=t((()=>{An=2e4})))()}function Mn(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(kn(r),An);return{type:`keyframes`,ease:e=>r.next(i*e).value/t,duration:A(i)}}function Nn(){return(Nn=t((()=>{me(),jn()})))()}function Pn(e,t){return e*Math.sqrt(1-t*t)}function Fn(e,t,n){let r=n;for(let n=1;n<Bn;n++)r-=e(r)/t(r);return r}function In({duration:e=W.duration,bounce:t=W.bounce,velocity:n=W.velocity,mass:r=W.mass}){let i,a;C(e<=k(W.maxDuration),`Spring duration must be 10 seconds or less`,`spring-duration-limit`);let o=1-t;o=x(W.minDamping,W.maxDamping,o),e=x(W.minDuration,W.maxDuration,A(e)),o<1?(i=t=>{let r=t*o,i=r*e,a=r-n,s=Pn(t,o),c=Math.exp(-i);return Vn-a/s*c},a=t=>{let r=t*o*e,a=r*n+n,s=o**2*t**2*e,c=Math.exp(-r),l=Pn(t**2,o);return(-i(t)+Vn>0?-1:1)*((a-s)*c)/l}):(i=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),a=t=>Math.exp(-t*e)*((n-t)*(e*e)));let s=5/e,c=Fn(i,a,s);if(e=k(e),isNaN(c))return{stiffness:W.stiffness,damping:W.damping,duration:e};{let t=c**2*r;return{stiffness:t,damping:o*2*Math.sqrt(r*t),duration:e}}}function Ln(e,t){return t.some(t=>e[t]!==void 0)}function Rn(e){let t={velocity:W.velocity,stiffness:W.stiffness,damping:W.damping,mass:W.mass,isResolvedFromDuration:!1,...e};if(!Ln(e,Un)&&Ln(e,Hn)){if(t.velocity=0,e.visualDuration){let n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*x(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:W.mass,stiffness:i,damping:a}}else{let n=In({...e,velocity:0});t={...t,...n,mass:W.mass},t.isResolvedFromDuration=!0}}return t}function zn(e=W.visualDuration,t=W.bounce){let n=typeof e==`object`?e:{visualDuration:e,keyframes:[0,1],bounce:t},{restSpeed:r,restDelta:i}=n,a=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],s={done:!1,value:a},{stiffness:c,damping:l,mass:u,duration:d,velocity:f,isResolvedFromDuration:p}=Rn({...n,velocity:-A(n.velocity||0)}),m=f||0,h=l/(2*Math.sqrt(c*u)),g=o-a,_=A(Math.sqrt(c/u)),v=Math.abs(g)<5;r||=v?W.restSpeed.granular:W.restSpeed.default,i||=v?W.restDelta.granular:W.restDelta.default;let y,b,x,S,C,w;if(h<1)x=Pn(_,h),S=(m+h*_*g)/x,y=e=>{let t=Math.exp(-h*_*e);return o-t*(S*Math.sin(x*e)+g*Math.cos(x*e))},C=h*_*S+g*x,w=h*_*g-S*x,b=e=>Math.exp(-h*_*e)*(C*Math.sin(x*e)+w*Math.cos(x*e));else if(h===1){y=e=>o-Math.exp(-_*e)*(g+(m+_*g)*e);let e=m+_*g;b=t=>Math.exp(-_*t)*(_*e*t-m)}else{let e=_*Math.sqrt(h*h-1);y=t=>{let n=Math.exp(-h*_*t),r=Math.min(e*t,300);return o-n*((m+h*_*g)*Math.sinh(r)+e*g*Math.cosh(r))/e};let t=(m+h*_*g)/e,n=h*_*t-g*e,r=h*_*g-t*e;b=t=>{let i=Math.exp(-h*_*t),a=Math.min(e*t,300);return i*(n*Math.sinh(a)+r*Math.cosh(a))}}let T={calculatedDuration:p&&d||null,velocity:e=>k(b(e)),next:e=>{if(!p&&h<1){let t=Math.exp(-h*_*e),n=Math.sin(x*e),a=Math.cos(x*e),c=o-t*(S*n+g*a),l=k(t*(C*n+w*a));return s.done=Math.abs(l)<=r&&Math.abs(o-c)<=i,s.value=s.done?o:c,s}let t=y(e);if(p)s.done=e>=d;else{let n=k(b(e));s.done=Math.abs(n)<=r&&Math.abs(o-t)<=i}return s.value=s.done?o:t,s},toString:()=>{let e=Math.min(kn(T),An),t=Dn(t=>T.next(e*t).value,e,30);return e+`ms `+t},toTransition:()=>{}};return T}var W,Bn,Vn,Hn,Un;function Wn(){return(Wn=t((()=>{me(),S(),T(),On(),jn(),Nn(),W={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Bn=12,Vn=.001,Hn=[`duration`,`bounce`],Un=[`stiffness`,`damping`,`mass`],zn.applyToOptions=e=>{let t=Mn(e,100,zn);return e.ease=t.ease,e.duration=k(t.duration),e.type=`keyframes`,e}})))()}function Gn(e,t,n){let r=Math.max(t-Kn,0);return he(n-e(r),t-r)}var Kn;function qn(){return(qn=t((()=>{ge(),Kn=5})))()}function Jn({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:o,min:s,max:c,restDelta:l=.5,restSpeed:u}){let d=e[0],f={done:!1,value:d},p=e=>s!==void 0&&e<s||c!==void 0&&e>c,m=e=>s===void 0?c:c===void 0||Math.abs(s-e)<Math.abs(c-e)?s:c,h=n*t,g=d+h,_=o===void 0?g:o(g);_!==g&&(h=_-d);let v=e=>-h*Math.exp(-e/r),y=e=>_+v(e),b=e=>{let t=v(e),n=y(e);f.done=Math.abs(t)<=l,f.value=f.done?_:n},x,S,C=e=>{p(f.value)&&(x=e,S=zn({keyframes:[f.value,m(f.value)],velocity:Gn(y,e,f.value),damping:i,stiffness:a,restDelta:l,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return!S&&x===void 0&&(t=!0,b(e),C(e)),x!==void 0&&e>=x?S.next(e-x):(!t&&b(e),f)}}}function Yn(){return(Yn=t((()=>{Wn(),qn()})))()}function Xn(e,t,n){let r=[],i=n||E.mix||Cn,a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);if(t){let e=Array.isArray(t)?t[n]||D:t;a=ce(e,a)}r.push(a)}return r}function Zn(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let a=e.length;if(w(a===t.length,`Both input and output ranges must be the same length`,`range-length`),a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=Xn(t,r,i),c=s.length,l=n=>{if(o&&n<e[0])return t[0];let r=0;if(c>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=ue(e[r],e[r+1],n);return s[r](i)};return n?t=>l(x(e[0],e[a-1],t)):l}function Qn(){return(Qn=t((()=>{T(),S(),ee(),O(),le(),de(),wn()})))()}function $n(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=ue(0,t,r);e.push(H(n,1,i))}}function er(){return(er=t((()=>{de(),U()})))()}function tr(e){let t=[0];return $n(t,e.length-1),t}function nr(){return(nr=t((()=>{er()})))()}function rr(e,t){return e.map(e=>e*t)}function ir(e,t){return e.map(()=>t||ze).splice(0,e.length-1)}function ar({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`}){let i=Ve(r)?r.map(qe):qe(r),a={done:!1,value:t[0]},o=Zn(rr(n&&n.length===t.length?n:tr(t),e),t,{ease:Array.isArray(i)?i:ir(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}function or(){return(or=t((()=>{Be(),He(),Je(),Qn(),nr()})))()}function sr(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter(cr),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var cr;function lr(){return(lr=t((()=>{cr=e=>e!==null})))()}function ur(e){typeof e.type==`string`&&(e.type=dr[e.type])}var dr;function fr(){return(fr=t((()=>{Yn(),or(),Wn(),dr={decay:Jn,inertia:Jn,tween:ar,keyframes:ar,spring:zn}})))()}var pr;function mr(){return(mr=t((()=>{pr=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}})))()}var hr,gr;function _r(){return(_r=t((()=>{le(),S(),me(),at(),wn(),En(),Yn(),or(),jn(),qn(),lr(),fr(),mr(),hr=e=>e/100,gr=class extends pr{constructor(e){super(),this.state=`idle`,this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==P.now()&&this.tick(P.now()),this.isStopped=!0,this.state!==`idle`&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){let{options:e}=this;ur(e);let{type:t=ar,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||ar;s!==ar&&typeof o[0]!=`number`&&(this.mixKeyframes=ce(hr,Cn(o[0],o[1])),o=[0,100]);let c=s({...e,keyframes:o});i===`mirror`&&(this.mirroredGenerator=s({...e,keyframes:[...o].reverse(),velocity:-a})),c.calculatedDuration===null&&(c.calculatedDuration=kn(c));let{calculatedDuration:l}=c;this.calculatedDuration=l,this.resolvedDuration=l+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=c}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;this.currentTime=this.holdTime===null?t:this.holdTime}tick(e,t=!1){let{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:s}=this;if(this.startTime===null)return n.next(0);let{delay:c=0,keyframes:l,repeat:u,repeatType:d,repeatDelay:f,type:p,onUpdate:m,finalKeyframe:h}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let g=this.currentTime-c*(this.playbackSpeed>=0?1:-1),_=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),this.state===`finished`&&this.holdTime===null&&(this.currentTime=r);let v=this.currentTime,y=n;if(u){let e=Math.min(this.currentTime,r)/o,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),n===1&&t--,t=Math.min(t,u+1),t%2&&(d===`reverse`?(n=1-n,f&&(n-=f/o)):d===`mirror`&&(y=a)),v=x(0,1,n)*o}let b;_?(this.delayState.value=l[0],b=this.delayState):b=y.next(v),i&&!_&&(b.value=i(b.value));let{done:S}=b;!_&&s!==null&&(S=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let C=this.holdTime===null&&(this.state===`finished`||this.state===`running`&&S);return C&&p!==Jn&&(b.value=sr(l,this.options,h,this.speed)),m&&m(b.value),C&&this.finish(),b}then(e,t){return this.finished.then(e,t)}get duration(){return A(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+A(e)}get time(){return A(this.currentTime)}set time(e){e=k(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state=`paused`,this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return Gn(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(P.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=A(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=Tn,startTime:t}=this.options;this.driver||=e(e=>this.tick(e)),this.options.onPlay?.();let n=this.driver.now();this.state===`finished`?(this.updateFinished(),this.startTime=n):this.holdTime===null?this.startTime||=t??n:this.startTime=n-this.holdTime,this.state===`finished`&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state=`running`,this.driver.start()}pause(){this.state=`paused`,this.updateTime(P.now()),this.holdTime=this.currentTime}complete(){this.state!==`running`&&this.play(),this.state=`finished`,this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state=`finished`,this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state=`idle`,this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&=(this.driver.stop(),void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type=`keyframes`,this.options.ease=`linear`,this.initAnimation()),this.driver?.stop(),e.observe(this)}}})))()}function vr(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}function yr(e){return+!!e.includes(`scale`)}function br(e,t){if(!e||e===`none`)return yr(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,i;if(n)r=kr,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=wr,i=t}if(!i)return yr(t);let a=r[t],o=i[1].split(`,`).map(xr);return typeof a==`function`?a(o):o[a]}function xr(e){return parseFloat(e.trim())}var Sr,Cr,wr,Tr,Er,Dr,Or,kr,Ar;function jr(){return(jr=t((()=>{Sr=e=>e*180/Math.PI,Cr=e=>{let t=Sr(Math.atan2(e[1],e[0]));return Tr(t)},wr={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Cr,rotateZ:Cr,skewX:e=>Sr(Math.atan(e[1])),skewY:e=>Sr(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Tr=e=>(e%=360,e<0&&(e+=360),e),Er=Cr,Dr=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Or=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),kr={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Dr,scaleY:Or,scale:e=>(Dr(e)+Or(e))/2,rotateX:e=>Tr(Sr(Math.atan2(e[6],e[5]))),rotateY:e=>Tr(Sr(Math.atan2(-e[2],e[0]))),rotateZ:Er,rotate:Er,skewX:e=>Sr(Math.atan(e[4])),skewY:e=>Sr(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2},Ar=(e,t)=>{let{transform:n=`none`}=getComputedStyle(e);return br(n,t)}})))()}var Mr,Nr;function G(){return(G=t((()=>{Mr=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],Nr=new Set([...Mr,`pathRotation`])})))()}function Pr(e){let t=[];return Lr.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(+!!n.startsWith(`scale`)))}),t}var Fr,Ir,Lr,Rr;function zr(){return(zr=t((()=>{jr(),G(),gt(),R(),Fr=e=>e===pt||e===L,Ir=new Set([`x`,`y`,`z`]),Lr=Mr.filter(e=>!Ir.has(e)),Rr={width:({x:e},{paddingLeft:t=`0`,paddingRight:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t=`0`,paddingBottom:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>br(t,`x`),y:(e,{transform:t})=>br(t,`y`)},Rr.translateX=Rr.x,Rr.translateY=Rr.y})))()}function Br(){if(Gr){let e=Array.from(Ur).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=Pr(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{e.suspendedScrollY!==void 0&&window.scrollTo(0,e.suspendedScrollY)})}Gr=!1,Wr=!1,Ur.forEach(e=>e.complete(Kr)),Ur.clear()}function Vr(){Ur.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Gr=!0)})}function Hr(){Kr=!0,Vr(),Br(),Kr=!1}var Ur,Wr,Gr,Kr,qr;function Jr(){return(Jr=t((()=>{zr(),N(),Ur=new Set,Wr=!1,Gr=!1,Kr=!1,qr=class{constructor(e,t,n,r,i,a=!1){this.state=`pending`,this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=a}scheduleResolve(){this.state=`scheduled`,this.isAsync?(Ur.add(this),Wr||(Wr=!0,j.read(Vr),j.resolveKeyframes(Br))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(e[0]===null){let i=r?.get(),a=e[e.length-1];if(i!==void 0)e[0]=i;else if(n&&t){let r=n.readValue(t,a);r!=null&&(e[0]=r)}e[0]===void 0&&(e[0]=a),r&&i===void 0&&r.set(e[0])}vr(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),Ur.delete(this)}cancel(){this.state===`scheduled`&&(Ur.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}}})))()}var Yr;function Xr(){return(Xr=t((()=>{Yr=e=>e.startsWith(`--`)})))()}function Zr(e,t,n){Yr(t)?e.style.setProperty(t,n):e.style[t]=n}function Qr(){return(Qr=t((()=>{Xr()})))()}var $r;function ei(){return(ei=t((()=>{$r={}})))()}function ti(e,t){let n=se(e);return()=>$r[t]??n()}function ni(){return(ni=t((()=>{ei()})))()}var ri;function ii(){return(ii=t((()=>{ni(),ri=ti(()=>window.ScrollTimeline!==void 0,`scrollTimeline`)})))()}var ai;function oi(){return(oi=t((()=>{ni(),ai=ti(()=>{try{document.createElement(`div`).animate({opacity:0},{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`)})))()}var si;function ci(){return(ci=t((()=>{si=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`})))()}var li;function ui(){return(ui=t((()=>{ci(),li={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:si([0,.65,.55,1]),circOut:si([.55,0,1,.45]),backIn:si([.31,.01,.66,-.59]),backOut:si([.33,1.53,.69,.99])}})))()}function di(e,t){if(e)return typeof e==`function`?ai()?Dn(e,t):`ease-out`:Ue(e)?si(e):Array.isArray(e)?e.map(e=>di(e,t)||li.easeOut):li[e]}function fi(){return(fi=t((()=>{We(),oi(),On(),ci(),ui()})))()}function pi(e,t,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:o=`loop`,ease:s=`easeOut`,times:c}={},l=void 0){let u={[t]:n};c&&(u.offset=c);let d=di(s,i);Array.isArray(d)&&(u.easing=d);let f={delay:r,duration:i,easing:Array.isArray(d)?`linear`:d,fill:`both`,iterations:a+1,direction:o===`reverse`?`alternate`:`normal`};return l&&(f.pseudoElement=l),e.animate(u,f)}function mi(){return(mi=t((()=>{fi()})))()}function hi(e){return typeof e==`function`&&`applyToOptions`in e}function gi({type:e,...t}){return hi(e)&&ai()?e.applyToOptions(t):(t.duration??=300,t.ease??=`easeOut`,t)}function _i(){return(_i=t((()=>{oi()})))()}var vi;function yi(){return(yi=t((()=>{T(),me(),O(),Qr(),ii(),lr(),mr(),mi(),_i(),vi=class extends pr{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;let{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:a=!1,finalKeyframe:o,onComplete:s}=e;this.isPseudoElement=!!i,this.allowFlatten=a,this.options=e,w(typeof e.type!=`string`,`Mini animate() doesn't support "type" as a string.`,`mini-spring`);let c=gi(e);this.animation=pi(t,n,r,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=sr(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),Zr(t,n,e),this.animation.cancel()}s?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state===`finished`&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;e!==`idle`&&e!==`finished`&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return A(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+A(e)}get time(){return A(Number(this.animation.currentTime)||0)}set time(e){let t=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=k(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime===null?this.animation.playState:`finished`}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:n,observe:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:`linear`}),this.animation.onfinish=null,e&&ri()?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),D):r(this)}}})))()}function bi(e){return e in Si}function xi(e){typeof e.ease==`string`&&bi(e.ease)&&(e.ease=Si[e.ease])}var Si;function Ci(){return(Ci=t((()=>{Ie(),Ae(),Me(),Si={anticipate:je,backInOut:ke,circInOut:Fe}})))()}var wi,Ti;function Ei(){return(Ei=t((()=>{S(),at(),Qr(),_r(),yi(),fr(),Ci(),wi=10,Ti=class extends vi{constructor(e){xi(e),ur(e),super(e),e.startTime!==void 0&&e.autoplay!==!1&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:n,onComplete:r,element:i,...a}=this.options;if(!t)return;if(e!==void 0){t.set(e);return}let o=new gr({...a,autoplay:!1}),s=Math.max(wi,P.now()-this.startTime),c=x(0,wi,s-wi),l=o.sample(s).value,{name:u}=this.options;i&&u&&Zr(i,u,l),t.setWithVelocity(o.sample(Math.max(0,s-c)).value,l,c),o.stop()}}})))()}var Di;function Oi(){return(Oi=t((()=>{V(),Di=(e,t)=>t!==`zIndex`&&!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(B.test(e)||e===`0`)&&!e.startsWith(`url(`))})))()}function ki(e){let t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function Ai(e,t,n,r){let i=e[0];if(i===null)return!1;if(t===`display`||t===`visibility`)return!0;let a=e[e.length-1],o=Di(i,t),s=Di(a,t);return C(o===s,`You are trying to animate ${t} from "${i}" to "${a}". "${o?a:i}" is not an animatable value.`,`value-not-animatable`),!o||!s?!1:ki(e)||(n===`spring`||hi(n))&&r}function ji(){return(ji=t((()=>{T(),Oi()})))()}function Mi(e){e.duration=0,e.type=`keyframes`}var Ni;function Pi(){return(Pi=t((()=>{Ni=new Set([`opacity`,`clipPath`,`filter`,`transform`,`backgroundColor`])})))()}function Fi(e){for(let t=0;t<e.length;t++)if(typeof e[t]==`string`&&Ii.test(e[t]))return!0;return!1}var Ii;function Li(){return(Li=t((()=>{Ii=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/})))()}function Ri(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:a,type:o,keyframes:s}=e,c=t?.owner?.current;if(!(c instanceof HTMLElement)&&!(c instanceof SVGElement))return!1;let{onUpdate:l,transformTemplate:u}=t.owner.getProps();return Bi()&&n&&(Ni.has(n)||zi.has(n)&&Fi(s))&&(n!==`transform`||!u)&&!l&&!r&&i!==`mirror`&&a!==0&&o!==`inertia`}var zi,Bi;function Vi(){return(Vi=t((()=>{Pi(),Li(),zi=new Set([`color`,`backgroundColor`,`outlineColor`,`fill`,`stroke`,`borderColor`,`borderTopColor`,`borderRightColor`,`borderBottomColor`,`borderLeftColor`]),Bi=se(()=>Object.hasOwnProperty.call(Element.prototype,`animate`))})))()}var Hi,Ui;function Wi(){return(Wi=t((()=>{ee(),O(),at(),_r(),lr(),Jr(),Ei(),ji(),mr(),Vi(),Hi=40,Ui=class extends pr{constructor({autoplay:e=!0,delay:t=0,type:n=`keyframes`,repeat:r=0,repeatDelay:i=0,repeatType:a=`loop`,keyframes:o,name:s,motionValue:c,element:l,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=P.now();let d={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:a,name:s,motionValue:c,element:l,...u},f=l?.KeyframeResolver||qr;this.keyframeResolver=new f(o,(e,t,n)=>this.onKeyframesResolved(e,t,d,!n),s,c,l),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;let{name:i,type:a,velocity:o,delay:s,isHandoff:c,onUpdate:l}=n;this.resolvedAt=P.now();let u=!0;Ai(e,i,a,o)||(u=!1,(E.instantAnimations||!s)&&l?.(sr(e,n,t)),e[0]=e[e.length-1],Mi(n),n.repeat=0);let d={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>Hi?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},f=u&&!c&&Ri(d),p=d.motionValue?.owner?.current,m;if(f)try{m=new Ti({...d,element:p})}catch{m=new gr(d)}else m=new gr(d);m.finished.then(()=>{this.notifyFinished()}).catch(D),this.pendingTimeline&&=(this.stopTimeline=m.attachTimeline(this.pendingTimeline),void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Hr()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}})))()}function Gi(e,t,n,r=0,i=1){let a=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),o=e.size,s=(o-1)*r;return typeof n==`function`?n(a,o):i===1?a*r:s-a*r}function Ki(e,t){return new Xi(e,t)}var qi,Ji,Yi,Xi;function Zi(){return(Zi=t((()=>{pe(),ge(),at(),N(),qi=30,Ji=e=>!isNaN(parseFloat(e)),Yi={current:void 0},Xi=class{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=P.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=P.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=Ji(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on(`change`,e)}on(e,t){this.events[e]||(this.events[e]=new fe);let n=this.events[e].add(t);return e===`change`?()=>{n(),j.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||=new Set,this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return Yi.current&&Yi.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=P.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>qi)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,qi);return he(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}})))()}function Qi(e,t){if(e?.inherit&&t){let{inherit:n,...r}=e;return{...t,...r}}return e}function $i(e,t){let n=e?.[t]??e?.default??e;return n===e?n:Qi(n,e)}function ea(){return(ea=t((()=>{})))()}var ta,na,ra,ia,aa;function oa(){return(oa=t((()=>{G(),ta={type:`spring`,stiffness:500,damping:25,restSpeed:10},na=e=>({type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),ra={type:`keyframes`,duration:.8},ia={type:`keyframes`,ease:[.25,.1,.35,1],duration:.3},aa=(e,{keyframes:t})=>t.length>2?ra:Nr.has(e)?e.startsWith(`scale`)?na(t[1]):ta:ia})))()}function sa(e){for(let t in e)if(!ca.has(t))return!0;return!1}var ca;function la(){return(la=t((()=>{ca=new Set([`when`,`delay`,`delayChildren`,`staggerChildren`,`staggerDirection`,`repeat`,`repeatType`,`repeatDelay`,`from`,`elapsed`])})))()}var ua;function da(){return(da=t((()=>{me(),ee(),Wi(),_r(),ea(),oa(),lr(),la(),N(),ua=(e,t,n,r={},i,a)=>o=>{let s=$i(r,e)||{},c=s.delay||r.delay||0,{elapsed:l=0}=r;l-=k(c);let u={keyframes:Array.isArray(n)?n:[null,n],ease:`easeOut`,velocity:t.getVelocity(),...s,delay:-l,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{o(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:a?void 0:i};sa(s)||Object.assign(u,aa(e,u)),u.duration&&=k(u.duration),u.repeatDelay&&=k(u.repeatDelay),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(Mi(u),u.delay===0&&(d=!0)),(E.instantAnimations||E.skipAnimations||i?.shouldSkipAnimations||s.skipAnimations)&&(d=!0,Mi(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!a&&t.get()!==void 0){let e=sr(u.keyframes,s);if(e!==void 0){j.update(()=>{u.onUpdate(e),u.onComplete()});return}}return s.isSync?new gr(u):new Ui(u)}})))()}function fa(e){let t=ma.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}function pa(e,t,n=1){w(n<=ha,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,`max-css-var-depth`);let[r,i]=fa(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let e=a.trim();return te(e)?parseFloat(e):e}return ut(i)?pa(i,t,n+1):i}var ma,ha;function ga(){return(ga=t((()=>{T(),ne(),ft(),ma=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,ha=4})))()}function _a(e){let t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function va(e,t,n,r){if(typeof t==`function`){let[i,a]=_a(r);t=t(n===void 0?e.custom:n,i,a)}if(typeof t==`string`&&(t=e.variants&&e.variants[t]),typeof t==`function`){let[i,a]=_a(r);t=t(n===void 0?e.custom:n,i,a)}return t}function ya(e,t,n){let r=e.getProps();return va(r,t,n===void 0?r.custom:n,e)}function ba(){return(ba=t((()=>{})))()}var xa;function Sa(){return(Sa=t((()=>{G(),xa=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,...Mr])})))()}var Ca;function wa(){return(wa=t((()=>{Ca=e=>Array.isArray(e)})))()}function Ta(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ki(n))}function Ea(e){return Ca(e)?e[e.length-1]||0:e}function Da(e,t){let{transitionEnd:n={},transition:r={},...i}=ya(e,t)||{};i={...i,...n};for(let t in i)Ta(e,t,Ea(i[t]))}function Oa(){return(Oa=t((()=>{Zi(),ba(),wa()})))()}var K;function q(){return(q=t((()=>{K=e=>!!(e&&e.getVelocity)})))()}function ka(e){return!!(K(e)&&e.add)}function Aa(){return(Aa=t((()=>{q()})))()}function ja(e,t){let n=e.getValue(`willChange`);if(ka(n))return n.add(t);if(!n&&E.WillChange){let n=new E.WillChange(`auto`);e.addValue(`willChange`,n),n.add(t)}}function Ma(){return(Ma=t((()=>{ee(),Aa()})))()}function Na(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}var Pa,Fa;function Ia(){return(Ia=t((()=>{Pa=`framerAppearId`,Fa=`data-`+Na(Pa)})))()}function La(e){return e.props[Fa]}function Ra(){return(Ra=t((()=>{Ia()})))()}function za({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function Ba(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a,transitionEnd:o,...s}=t,c=e.getDefaultTransition();a=a?Qi(a,c):c;let l=a?.reduceMotion,u=a?.skipAnimations;r&&(a=r);let d=[],f=i&&e.animationState&&e.animationState.getState()[i],p=a?.path;p&&p.animateVisualElement(e,s,a,n,d);for(let t in s){let r=e.getValue(t,e.latestValues[t]??null),i=s[t];if(i===void 0||f&&za(f,t))continue;let o={delay:n,...$i(a||{},t)};u&&(o.skipAnimations=!0);let c=r.get();if(c!==void 0&&!r.isAnimating()&&!Array.isArray(i)&&i===c&&!o.velocity){j.update(()=>r.set(i));continue}let p=!1;if(window.MotionHandoffAnimation){let n=La(e);if(n){let e=window.MotionHandoffAnimation(n,t,j);e!==null&&(o.startTime=e,p=!0)}}ja(e,t);let m=l??e.shouldReduceMotion;r.start(ua(t,r,i,m&&xa.has(t)?{type:!1}:o,e,p));let h=r.animation;h&&d.push(h)}if(o){let t=()=>j.update(()=>{o&&Da(e,o)});d.length?Promise.all(d).then(t):t()}return d}function Va(){return(Va=t((()=>{ea(),Sa(),Oa(),Ma(),Ra(),da(),N()})))()}function Ha(e,t,n={}){let r=ya(e,t,n.type===`exit`?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let a=r?()=>Promise.all(Ba(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:a=0,staggerChildren:o,staggerDirection:s}=i;return Ua(e,t,r,a,o,s,n)}:()=>Promise.resolve(),{when:s}=i;if(s){let[e,t]=s===`beforeChildren`?[a,o]:[o,a];return e().then(()=>t())}return Promise.all([a(),o(n.delay)])}function Ua(e,t,n=0,r=0,i=0,a=1,o){let s=[];for(let c of e.variantChildren)c.notify(`AnimationStart`,t),s.push(Ha(c,t,{...o,delay:n+(typeof r==`function`?0:r)+Gi(e.variantChildren,c,r,i,a)}).then(()=>c.notify(`AnimationComplete`,t)));return Promise.all(s)}function Wa(){return(Wa=t((()=>{ba(),Va()})))()}function Ga(e,t,n={}){e.notify(`AnimationStart`,t);let r;if(Array.isArray(t)){let i=t.map(t=>Ha(e,t,n));r=Promise.all(i)}else if(typeof t==`string`)r=Ha(e,t,n);else{let i=typeof t==`function`?ya(e,t,n.custom):t;r=Promise.all(Ba(e,i,n))}return r.then(()=>{e.notify(`AnimationComplete`,t)})}function Ka(){return(Ka=t((()=>{ba(),Va(),Wa()})))()}var qa;function Ja(){return(Ja=t((()=>{qa={test:e=>e===`auto`,parse:e=>e}})))()}var Ya;function Xa(){return(Xa=t((()=>{Ya=e=>t=>t.test(e)})))()}var Za,Qa;function $a(){return($a=t((()=>{Ja(),gt(),R(),Xa(),Za=[pt,L,I,F,It,Ft,qa],Qa=e=>Za.find(Ya(e))})))()}function eo(e){return typeof e==`number`?e===0:e===null||e===`none`||e===`0`||ae(e)}function to(){return(to=t((()=>{oe()})))()}function no(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(yt)||[];if(!r)return e;let i=n.replace(r,``),a=+!!ro.has(t);return r!==n&&(a*=100),t+`(`+a+i+`)`}var ro,io,ao;function oo(){return(oo=t((()=>{V(),bt(),ro=new Set([`brightness`,`contrast`,`saturate`,`opacity`]),io=/\b([a-z-]*)\(.*?\)/gu,ao={...B,getAnimatableNone:e=>{let t=e.match(io);return t?t.map(no).join(` `):e}}})))()}var so;function co(){return(co=t((()=>{V(),so={...B,getAnimatableNone:e=>{let t=B.parse(e);return B.createTransformer(e)(t.map(e=>typeof e==`number`?0:typeof e==`object`?{...e,alpha:1}:e))}}})))()}var lo;function uo(){return(uo=t((()=>{gt(),lo={...pt,transform:Math.round}})))()}var fo;function po(){return(po=t((()=>{gt(),R(),fo={rotate:F,pathRotation:F,rotateX:F,rotateY:F,rotateZ:F,scale:ht,scaleX:ht,scaleY:ht,scaleZ:ht,skew:F,skewX:F,skewY:F,distance:L,translateX:L,translateY:L,translateZ:L,x:L,y:L,z:L,perspective:L,transformPerspective:L,opacity:mt,originX:Lt,originY:Lt,originZ:L}})))()}var mo;function ho(){return(ho=t((()=>{uo(),gt(),R(),po(),mo={borderWidth:L,borderTopWidth:L,borderRightWidth:L,borderBottomWidth:L,borderLeftWidth:L,borderRadius:L,borderTopLeftRadius:L,borderTopRightRadius:L,borderBottomRightRadius:L,borderBottomLeftRadius:L,width:L,maxWidth:L,height:L,maxHeight:L,top:L,right:L,bottom:L,left:L,inset:L,insetBlock:L,insetBlockStart:L,insetBlockEnd:L,insetInline:L,insetInlineStart:L,insetInlineEnd:L,padding:L,paddingTop:L,paddingRight:L,paddingBottom:L,paddingLeft:L,paddingBlock:L,paddingBlockStart:L,paddingBlockEnd:L,paddingInline:L,paddingInlineStart:L,paddingInlineEnd:L,margin:L,marginTop:L,marginRight:L,marginBottom:L,marginLeft:L,marginBlock:L,marginBlockStart:L,marginBlockEnd:L,marginInline:L,marginInlineStart:L,marginInlineEnd:L,fontSize:L,backgroundPositionX:L,backgroundPositionY:L,...fo,zIndex:lo,fillOpacity:mt,strokeOpacity:mt,numOctaves:lo}})))()}var go,_o;function vo(){return(vo=t((()=>{Bt(),oo(),co(),ho(),go={...mo,color:z,backgroundColor:z,outlineColor:z,fill:z,stroke:z,borderColor:z,borderTopColor:z,borderRightColor:z,borderBottomColor:z,borderLeftColor:z,filter:ao,WebkitFilter:ao,mask:so,WebkitMask:so},_o=e=>go[e]})))()}function yo(e,t){let n=_o(e);return bo.has(n)||(n=B),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var bo;function xo(){return(xo=t((()=>{V(),oo(),co(),vo(),bo=new Set([ao,so])})))()}function So(e,t,n){let r=0,i;for(;r<e.length&&!i;){let t=e[r];typeof t==`string`&&!Co.has(t)&&Wt(t).values.length&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]=yo(n,i)}var Co;function wo(){return(wo=t((()=>{V(),xo(),Co=new Set([`auto`,`none`,`0`])})))()}var To;function Eo(){return(Eo=t((()=>{Sa(),$a(),ga(),ft(),Jr(),to(),wo(),zr(),To=class extends qr{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if(typeof r==`string`&&(r=r.trim(),ut(r))){let i=pa(r,t.current);i!==void 0&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!xa.has(n)||e.length!==2)return;let[r,i]=e,a=Qa(r),o=Qa(i);if(ot(r)!==ot(i)&&Rr[n]){this.needsMeasurement=!0;return}if(a!==o){if(Fr(a)&&Fr(o))for(let t=0;t<e.length;t++){let n=e[t];typeof n==`string`&&(e[t]=parseFloat(n))}else Rr[n]&&(this.needsMeasurement=!0)}}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(e[t]===null||eo(e[t]))&&n.push(t);n.length&&So(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;n===`height`&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Rr[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];r!==void 0&&e.getValue(n,r).jump(r,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);let i=n.length-1,a=n[i];n[i]=Rr[t](e.measureViewportBox(),window.getComputedStyle(e.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),this.removedTransforms?.length&&this.removedTransforms.forEach(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}}})))()}var Do;function Oo(){return(Oo=t((()=>{Do=[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomRightRadius`,`borderBottomLeftRadius`]})))()}function ko(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e==`string`){let r=document;t&&(r=t.current);let i=n?.[e]??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>e!=null)}var Ao;function jo(){return(jo=t((()=>{Ao=(e,t)=>t&&typeof e==`number`?t.transform(e):e})))()}function Mo(e){return re(e)&&`offsetHeight`in e&&!(`ownerSVGElement`in e)}function No(){return(No=t((()=>{ie()})))()}var Po,Fo;function Io(){return(Io=t((()=>{et(),{schedule:Po,cancel:Fo}=Qe(queueMicrotask,!1)})))()}function Lo(){return J.x||J.y}var J;function Ro(){return(Ro=t((()=>{J={x:!1,y:!1}})))()}function zo(e){return e===`x`||e===`y`?J[e]?null:(J[e]=!0,()=>{J[e]=!1}):J.x||J.y?null:(J.x=J.y=!0,()=>{J.x=J.y=!1})}function Bo(){return(Bo=t((()=>{Ro()})))()}function Vo(e,t){let n=ko(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function Ho(){return(Ho=t((()=>{})))()}function Uo(e){return!(e.pointerType===`touch`||Lo())}function Wo(e,t,n={}){let[r,i,a]=Vo(e,n);return r.forEach(e=>{let n=!1,r=!1,a,o=()=>{e.removeEventListener(`pointerleave`,u)},s=e=>{a&&=(a(e),void 0),o()},c=e=>{n=!1,window.removeEventListener(`pointerup`,c),window.removeEventListener(`pointercancel`,c),r&&(r=!1,s(e))},l=()=>{n=!0,window.addEventListener(`pointerup`,c,i),window.addEventListener(`pointercancel`,c,i)},u=e=>{if(e.pointerType!==`touch`){if(n){r=!0;return}s(e)}};e.addEventListener(`pointerenter`,n=>{if(!Uo(n))return;r=!1;let o=t(e,n);typeof o==`function`&&(a=o,e.addEventListener(`pointerleave`,u,i))},i),e.addEventListener(`pointerdown`,l,i)}),a}function Go(){return(Go=t((()=>{Ro(),Ho()})))()}var Ko;function qo(){return(qo=t((()=>{Ko=(e,t)=>t?e===t||Ko(e,t.parentElement):!1})))()}var Jo;function Yo(){return(Yo=t((()=>{Jo=e=>e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1})))()}function Xo(e){return Qo.has(e.tagName)||e.isContentEditable===!0}function Zo(e){return $o.has(e.tagName)||e.isContentEditable===!0}var Qo,$o;function es(){return(es=t((()=>{Qo=new Set([`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`,`A`]),$o=new Set([`INPUT`,`SELECT`,`TEXTAREA`])})))()}var ts;function ns(){return(ns=t((()=>{ts=new WeakSet})))()}function rs(e){return t=>{t.key===`Enter`&&e(t)}}function is(e,t){e.dispatchEvent(new PointerEvent(`pointer`+t,{isPrimary:!0,bubbles:!0}))}var as;function os(){return(os=t((()=>{ns(),as=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=rs(()=>{if(ts.has(n))return;is(n,`down`);let e=rs(()=>{is(n,`up`)});n.addEventListener(`keyup`,e,t),n.addEventListener(`blur`,()=>is(n,`cancel`),t)});n.addEventListener(`keydown`,r,t),n.addEventListener(`blur`,()=>n.removeEventListener(`keydown`,r),t)}})))()}function ss(e){return Jo(e)&&!Lo()}function cs(e,t,n={}){let[r,i,a]=Vo(e,n),o=e=>{let r=e.currentTarget;if(!ss(e)||ls.has(e))return;ts.add(r),n.stopPropagation&&ls.add(e);let a=t(r,e),o={...i,capture:!0},s=(e,t)=>{window.removeEventListener(`pointerup`,c,o),window.removeEventListener(`pointercancel`,l,o),ts.has(r)&&ts.delete(r),ss(e)&&typeof a==`function`&&a(e,{success:t})},c=e=>{s(e,r===window||r===document||n.useGlobalTarget||Ko(r,e.target))},l=e=>{s(e,!1)};window.addEventListener(`pointerup`,c,o),window.addEventListener(`pointercancel`,l,o)};return r.forEach(e=>{(n.useGlobalTarget?window:e).addEventListener(`pointerdown`,o,i),Mo(e)&&(e.addEventListener(`focus`,e=>as(e,i)),!Xo(e)&&!e.hasAttribute(`tabindex`)&&(e.tabIndex=0))}),a}var ls;function us(){return(us=t((()=>{No(),Ro(),qo(),Yo(),Ho(),es(),os(),ns(),ls=new WeakSet})))()}function ds(e){return re(e)&&`ownerSVGElement`in e}function fs(){return(fs=t((()=>{ie()})))()}function ps({target:e,borderBoxSize:t}){_s.get(e)?.forEach(n=>{n(e,{get width(){return bs(e,t)},get height(){return xs(e,t)}})})}function ms(e){e.forEach(ps)}function hs(){typeof ResizeObserver>`u`||(vs=new ResizeObserver(ms))}function gs(e,t){vs||hs();let n=ko(e);return n.forEach(e=>{let n=_s.get(e);n||(n=new Set,_s.set(e,n)),n.add(t),vs?.observe(e)}),()=>{n.forEach(e=>{let n=_s.get(e);n?.delete(t),n?.size||vs?.unobserve(e)})}}var _s,vs,ys,bs,xs;function Ss(){return(Ss=t((()=>{fs(),_s=new WeakMap,ys=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+`Size`]:ds(r)&&`getBBox`in r?r.getBBox()[t]:r[n],bs=ys(`inline`,`width`,`offsetWidth`),xs=ys(`block`,`height`,`offsetHeight`)})))()}function Cs(){Es=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};Ts.forEach(t=>t(e))},window.addEventListener(`resize`,Es)}function ws(e){return Ts.add(e),Es||Cs(),()=>{Ts.delete(e),!Ts.size&&typeof Es==`function`&&(window.removeEventListener(`resize`,Es),Es=void 0)}}var Ts,Es;function Ds(){return(Ds=t((()=>{Ts=new Set})))()}function Os(e,t){return typeof e==`function`?ws(e):gs(e,t)}function ks(){return(ks=t((()=>{Ss(),Ds()})))()}var As;function js(){return(js=t((()=>{As={value:null,addProjectionMetrics:null}})))()}function Ms(e){return ds(e)&&e.tagName===`svg`}function Ns(){return(Ns=t((()=>{fs()})))()}var Ps,Fs;function Is(){return(Is=t((()=>{Bt(),V(),$a(),Xa(),Ps=[...Za,z,B],Fs=e=>Ps.find(Ya(e))})))()}var Ls,Rs,zs,Y;function Bs(){return(Bs=t((()=>{Ls=()=>({translate:0,scale:1,origin:0,originPoint:0}),Rs=()=>({x:Ls(),y:Ls()}),zs=()=>({min:0,max:0}),Y=()=>({x:zs(),y:zs()})})))()}var Vs;function Hs(){return(Hs=t((()=>{Vs=new WeakMap})))()}function Us(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}function Ws(e){return typeof e==`string`||Array.isArray(e)}var Gs,Ks;function qs(){return(qs=t((()=>{Gs=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`],Ks=[`initial`,...Gs]})))()}function Js(e){return Us(e.animate)||Ks.some(t=>Ws(e[t]))}function Ys(e){return!!(Js(e)||e.variants)}function Xs(){return(Xs=t((()=>{qs()})))()}function Zs(e,t,n){for(let r in t){let i=t[r],a=n[r];if(K(i))e.addValue(r,i);else if(K(a))e.addValue(r,Ki(i,{owner:e}));else if(a!==i){if(e.hasValue(r)){let t=e.getValue(r);t.liveStyle===!0?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,Ki(t===void 0?i:t,{owner:e}))}}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}function Qs(){return(Qs=t((()=>{Zi(),q()})))()}var $s,ec;function tc(){return(tc=t((()=>{$s={current:null},ec={current:!1}})))()}function nc(){if(ec.current=!0,rc){if(window.matchMedia){let e=window.matchMedia(`(prefers-reduced-motion)`),t=()=>$s.current=e.matches;e.addEventListener(`change`,t),t()}else $s.current=!1}}var rc;function ic(){return(ic=t((()=>{tc(),rc=typeof window<`u`})))()}function ac(e){cc=e}function oc(){return cc}var sc,cc,lc;function uc(){return(uc=t((()=>{me(),ne(),oe(),pe(),Jr(),yi(),Pi(),Io(),at(),Bs(),Zi(),V(),xo(),Is(),q(),Hs(),Xs(),G(),Qs(),ic(),tc(),N(),sc=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],cc={},lc=class{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,skipAnimations:i,blockInitialAnimation:a,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=qr,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify(`Update`,this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=P.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,j.render(this.render,!1,!0))};let{latestValues:c,renderState:l}=o;this.latestValues=c,this.baseTarget={...c},this.initialValues=t.initial?{...c}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=i,this.options=s,this.blockInitialAnimation=!!a,this.isControllingVariants=Js(t),this.isVariantNode=Ys(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];c[e]!==void 0&&K(t)&&t.set(c[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,Vs.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),this.reducedMotionConfig===`never`?this.shouldReduceMotion=!1:this.reducedMotionConfig===`always`?this.shouldReduceMotion=!0:(ec.current||nc(),this.shouldReduceMotion=$s.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),tt(this.notifyUpdate),tt(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let e in this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??=new Set,this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&Ni.has(e)&&this.current instanceof HTMLElement){let{factory:n,keyframes:r,times:i,ease:a,duration:o}=t.accelerate,s=new vi({element:this.current,name:e,keyframes:r,times:i,ease:a,duration:k(o)}),c=n(s);this.valueSubscriptions.set(e,()=>{c(),s.cancel()});return}let n=Nr.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on(`change`,t=>{this.latestValues[e]=t,this.props.onUpdate&&j.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),i;typeof window<`u`&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i&&i()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e=`animation`;for(e in cc){let t=cc[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Y()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<sc.length;t++){let n=sc[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e[`on`+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=Zs(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&t!==void 0&&(n=Ki(t===null?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return n!=null&&(typeof n==`string`&&(te(n)||ae(n))?n=parseFloat(n):!Fs(n)&&B.test(t)&&(n=yo(e,t)),this.setBaseTarget(e,K(n)?n.get():n)),K(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let{initial:t}=this.props,n;if(typeof t==`string`||typeof t==`object`){let r=va(this.props,t,this.presenceContext?.custom);r&&(n=r[e])}if(t&&n!==void 0)return n;let r=this.getBaseTargetFromProps(this.props,e);return r!==void 0&&!K(r)?r:this.initialValues[e]!==void 0&&n===void 0?void 0:this.baseTarget[e]}on(e,t){return this.events[e]||(this.events[e]=new fe),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){Po.render(this.render)}}})))()}var dc;function fc(){return(fc=t((()=>{q(),Eo(),uc(),dc=class extends lc{constructor(){super(...arguments),this.KeyframeResolver=To}sortInstanceNodePosition(e,t){return e.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(e,t){let n=e.style;return n?n[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;K(e)&&(this.childSubscription=e.on(`change`,e=>{this.current&&(this.current.textContent=`${e}`)}))}}})))()}var pc;function mc(){return(mc=t((()=>{pc=class{constructor(e){this.isMounted=!1,this.node=e}update(){}}})))()}function hc({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function gc({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function _c(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function vc(e){return e===void 0||e===1}function yc({scale:e,scaleX:t,scaleY:n}){return!vc(e)||!vc(t)||!vc(n)}function bc(e){return yc(e)||xc(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function xc(e){return Sc(e.x)||Sc(e.y)}function Sc(e){return e&&e!==`0%`}function Cc(e,t,n){return n+t*(e-n)}function wc(e,t,n,r,i){return i!==void 0&&(e=Cc(e,i,r)),Cc(e,n,r)+t}function Tc(e,t=0,n=1,r,i){e.min=wc(e.min,t,n,r,i),e.max=wc(e.max,t,n,r,i)}function Ec(e,{x:t,y:n}){Tc(e.x,t.translate,t.scale,t.originPoint),Tc(e.y,n.translate,n.scale,n.originPoint)}function Dc(e,t,n,r=!1){let i=n.length;if(!i)return;t.x=t.y=1;let a,o;for(let s=0;s<i;s++){a=n[s],o=a.projectionDelta;let{visualElement:i}=a.options;i&&i.props.style&&i.props.style.display===`contents`||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&(X(e.x,-a.scroll.offset.x),X(e.y,-a.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,Ec(e,o)),r&&bc(a.latestValues)&&Ac(e,a.latestValues,a.layout?.layoutBox))}t.x<Mc&&t.x>jc&&(t.x=1),t.y<Mc&&t.y>jc&&(t.y=1)}function X(e,t){e.min+=t,e.max+=t}function Oc(e,t,n,r,i=.5){Tc(e,t,n,H(e.min,e.max,i),r)}function kc(e,t){return typeof e==`string`?parseFloat(e)/100*(t.max-t.min):e}function Ac(e,t,n){let r=n??e;Oc(e.x,kc(t.x,r.x),t.scaleX,t.scale,t.originX),Oc(e.y,kc(t.y,r.y),t.scaleY,t.scale,t.originY)}var jc,Mc;function Nc(){return(Nc=t((()=>{U(),jc=.999999999999,Mc=1.0000000000001})))()}function Pc(e,t){return hc(_c(e.getBoundingClientRect(),t))}function Fc(e,t,n){let r=Pc(e,n),{scroll:i}=t;return i&&(X(r.x,i.offset.x),X(r.y,i.offset.y)),r}function Ic(){return(Ic=t((()=>{Nc()})))()}function Lc(e,t,n){let r=``,i=!0;for(let a=0;a<zc;a++){let o=Mr[a],s=e[o];if(s===void 0)continue;let c=!0;if(typeof s==`number`)c=s===+!!o.startsWith(`scale`);else{let e=parseFloat(s);c=o.startsWith(`scale`)?e===1:e===0}if(!c||n){let e=Ao(s,mo[o]);if(!c){i=!1;let t=Rc[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}let a=e.pathRotation;return a&&(i=!1,r+=`rotate(${Ao(a,mo.pathRotation)}) `),r=r.trim(),n?r=n(t,i?``:r):i&&(r=`none`),r}var Rc,zc;function Bc(){return(Bc=t((()=>{jo(),ho(),G(),Rc={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},zc=Mr.length})))()}function Vc(e,t,n){let{style:r,vars:i,transformOrigin:a}=e,o=!1,s=!1;for(let e in t){let n=t[e];if(Nr.has(e)){o=!0;continue}if(ct(e)){i[e]=n;continue}{let t=Ao(n,mo[e]);e.startsWith(`origin`)?(s=!0,a[e]=t):r[e]=t}}if(t.transform||(o||n?r.transform=Lc(t,e.transform,n):r.transform&&=`none`),s){let{originX:e=`50%`,originY:t=`50%`,originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}function Hc(){return(Hc=t((()=>{jo(),ho(),G(),ft(),Bc()})))()}function Uc(e,{style:t,vars:n},r,i){let a=e.style,o;for(o in t)a[o]=t[o];for(o in i?.applyProjectionStyles(a,r),n)a.setProperty(o,n[o])}function Wc(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var Gc;function Kc(){return(Kc=t((()=>{R(),Gc={correct:(e,t)=>{if(!t.target)return e;if(typeof e==`string`){if(L.test(e))e=parseFloat(e);else return e}return`${Wc(e,t.target.x)}% ${Wc(e,t.target.y)}%`}}})))()}var qc;function Jc(){return(Jc=t((()=>{V(),U(),qc={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=B.parse(e);if(i.length>5)return r;let a=B.createTransformer(e),o=typeof i[0]==`number`?0:1,s=n.x.scale*t.x,c=n.y.scale*t.y;i[0+o]/=s,i[1+o]/=c;let l=H(s,c,.5);return typeof i[2+o]==`number`&&(i[2+o]/=l),typeof i[3+o]==`number`&&(i[3+o]/=l),a(i)}}})))()}var Yc;function Xc(){return(Xc=t((()=>{Oo(),Kc(),Jc(),Yc={borderRadius:{...Gc,applyTo:[...Do]},borderTopLeftRadius:Gc,borderTopRightRadius:Gc,borderBottomLeftRadius:Gc,borderBottomRightRadius:Gc,boxShadow:qc}})))()}function Zc(e,{layout:t,layoutId:n}){return Nr.has(e)||e.startsWith(`origin`)||(t||n!==void 0)&&(!!Yc[e]||e===`opacity`)}function Qc(){return(Qc=t((()=>{G(),Xc()})))()}function $c(e,t,n){let r=e.style,i=t?.style,a={};if(!r)return a;for(let t in r)(K(r[t])||i&&K(i[t])||Zc(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(a[t]=r[t]);return a}function el(){return(el=t((()=>{q(),Qc()})))()}function tl(e){return window.getComputedStyle(e)}var nl;function rl(){return(rl=t((()=>{T(),ft(),G(),jr(),Ic(),fc(),Hc(),el(),nl=class extends dc{constructor(){super(...arguments),this.type=`html`,this.renderInstance=Uc}mount(e){w(!!e.style,`motion.create() components must forward their ref to a HTML or SVG element`,`custom-component-ref`),super.mount(e)}readValueFromInstance(e,t){if(Nr.has(t))return this.projection?.isProjecting?yr(t):Ar(e,t);{let n=tl(e),r=(ct(t)?n.getPropertyValue(t):n[t])||0;return typeof r==`string`?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return Pc(e,t)}build(e,t,n){Vc(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return $c(e,t,n)}}})))()}function il(e,t,n=1,r=0,i=!0){e.pathLength=1;let a=i?al:ol;e[a.offset]=`${-r}`,e[a.array]=`${t} ${n}`}var al,ol;function sl(){return(sl=t((()=>{al={offset:`stroke-dashoffset`,array:`stroke-dasharray`},ol={offset:`strokeDashoffset`,array:`strokeDasharray`}})))()}function cl(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s},c,l,u){if(Vc(e,s,l),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:f}=e;for(let e of ll)d[e]!==void 0&&(f[e]=d[e],delete d[e]);(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??`50% 50%`,delete d.transformOrigin),f.transform&&(f.transformBox=u?.transformBox??`fill-box`,delete d.transformBox),t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&il(d,i,a,o,!1)}var ll;function ul(){return(ul=t((()=>{Hc(),sl(),ll=[`transform`,`opacity`,`offsetDistance`,`offsetPath`,`offsetRotate`,`offsetAnchor`]})))()}var dl;function fl(){return(fl=t((()=>{dl=new Set([`baseFrequency`,`diffuseConstant`,`kernelMatrix`,`kernelUnitLength`,`keySplines`,`keyTimes`,`limitingConeAngle`,`markerHeight`,`markerWidth`,`numOctaves`,`targetX`,`targetY`,`surfaceScale`,`specularConstant`,`specularExponent`,`stdDeviation`,`tableValues`,`viewBox`,`gradientTransform`,`pathLength`,`startOffset`,`textLength`,`lengthAdjust`])})))()}var pl;function ml(){return(ml=t((()=>{pl=e=>typeof e==`string`&&e.toLowerCase()===`svg`})))()}function hl(e,t,n,r){Uc(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(dl.has(n)?n:Na(n),t.attrs[n])}function gl(){return(gl=t((()=>{fl()})))()}function _l(e,t,n){let r=$c(e,t,n);for(let n in e)if(K(e[n])||K(t[n])){let t=Mr.indexOf(n)===-1?n:`attr`+n.charAt(0).toUpperCase()+n.substring(1);r[t]=e[n]}return r}function vl(){return(vl=t((()=>{q(),G(),el()})))()}var yl;function bl(){return(bl=t((()=>{G(),vo(),Bs(),fc(),ul(),fl(),ml(),gl(),vl(),yl=class extends dc{constructor(){super(...arguments),this.type=`svg`,this.isSVGTag=!1,this.measureInstanceViewportBox=Y}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Nr.has(t)){let e=_o(t);return e&&e.default||0}if(ll.includes(t)){let n=getComputedStyle(e)[t];if(typeof n==`string`&&n)return n.trim()}return t=dl.has(t)?t:Na(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return _l(e,t,n)}build(e,t,n){cl(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){hl(e,t,n,r)}mount(e){this.isSVGTag=pl(e.tagName),super.mount(e)}}})))()}function xl(e){if(!e)return;if(!e.isControllingVariants){let t=e.parent&&xl(e.parent)||{};return e.props.initial!==void 0&&(t.initial=e.props.initial),t}let t={};for(let n=0;n<Sl;n++){let r=Ks[n],i=e.props[r];(Ws(i)||i===!1)&&(t[r]=i)}return t}var Sl;function Cl(){return(Cl=t((()=>{qs(),Sl=Ks.length})))()}function wl(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function Tl(e){return t=>Promise.all(t.map(({animation:t,options:n})=>Ga(e,t,n)))}function El(e){let t=Tl(e),n=kl(),r=!0,i=!1,a=t=>(n,r)=>{let i=ya(e,r,t===`exit`?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function o(n){t=n(e)}function s(o){let{props:s}=e,c=xl(e.parent)||{},l=[],u=new Set,d={},f=1/0;for(let t=0;t<jl;t++){let p=Al[t],m=n[p],h=s[p]===void 0?c[p]:s[p],g=Ws(h),_=p===o?m.isActive:null;_===!1&&(f=t);let v=h===c[p]&&h!==s[p]&&g;if(v&&(r||i)&&e.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...d},!m.isActive&&_===null||!h&&!m.prevProp||Us(h)||typeof h==`boolean`)continue;if(p===`exit`&&m.isActive&&_!==!0){m.prevResolvedValues&&(d={...d,...m.prevResolvedValues});continue}let y=Dl(m.prevProp,h),b=y||p===o&&m.isActive&&!v&&g||t>f&&g,x=!1,S=Array.isArray(h)?h:[h],C=S.reduce(a(p),{});_===!1&&(C={});let{prevResolvedValues:w={}}=m,T={...w,...C},E=t=>{b=!0,u.has(t)&&(x=!0,u.delete(t)),m.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in T){let t=C[e],n=w[e];if(d.hasOwnProperty(e))continue;let r=!1;r=Ca(t)&&Ca(n)?!wl(t,n)||y:t!==n,r?t==null?u.add(e):E(e):t!==void 0&&u.has(e)?E(e):m.protectedKeys[e]=!0}m.prevProp=h,m.prevResolvedValues=C,m.isActive&&(d={...d,...C}),(r||i)&&e.blockInitialAnimation&&(b=!1);let ee=v&&y;b&&(!ee||x)&&l.push(...S.map(t=>{let n={type:p};if(typeof t==`string`&&(r||i)&&!ee&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,i=ya(r,t);if(r.enteringChildren&&i){let{delayChildren:t}=i.transition||{};n.delay=Gi(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(u.size){let t={};if(typeof s.initial!=`boolean`){let n=ya(e,Array.isArray(s.initial)?s.initial[0]:s.initial);n&&n.transition&&(t.transition=n.transition)}u.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=r??null}),l.push({animation:t})}let p=!!l.length;return r&&(s.initial===!1||s.initial===s.animate)&&!e.manuallyAnimateOnMount&&(p=!1),r=!1,i=!1,p?t(l):Promise.resolve()}function c(t,r){if(n[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),n[t].isActive=r;let i=s(t);for(let e in n)n[e].protectedKeys={};return i}return{animateChanges:s,setActive:c,setAnimateFunction:o,getState:()=>n,reset:()=>{n=kl(),i=!0}}}function Dl(e,t){return typeof t==`string`?t!==e:Array.isArray(t)?!wl(t,e):!1}function Ol(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function kl(){return{animate:Ol(!0),whileInView:Ol(),whileHover:Ol(),whileTap:Ol(),whileDrag:Ol(),whileFocus:Ol(),exit:Ol()}}var Al,jl;function Ml(){return(Ml=t((()=>{Ka(),Cl(),wa(),ba(),qs(),Al=[...Gs].reverse(),jl=Gs.length})))()}function Nl(e,t){e.min=t.min,e.max=t.max}function Z(e,t){Nl(e.x,t.x),Nl(e.y,t.y)}function Pl(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Q(e){return e.max-e.min}function Fl(e,t,n){return Math.abs(e-t)<=n}function Il(e,t,n,r=.5){e.origin=r,e.originPoint=H(t.min,t.max,e.origin),e.scale=Q(n)/Q(t),e.translate=H(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Hl&&e.scale<=Ul||isNaN(e.scale))&&(e.scale=1),(e.translate>=Wl&&e.translate<=Gl||isNaN(e.translate))&&(e.translate=0)}function Ll(e,t,n,r){Il(e.x,t.x,n.x,r?r.originX:void 0),Il(e.y,t.y,n.y,r?r.originY:void 0)}function Rl(e,t,n,r=0){e.min=(r?H(n.min,n.max,r):n.min)+t.min,e.max=e.min+Q(t)}function zl(e,t,n,r){Rl(e.x,t.x,n.x,r?.x),Rl(e.y,t.y,n.y,r?.y)}function Bl(e,t,n,r=0){let i=r?H(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+Q(t)}function Vl(e,t,n,r){Bl(e.x,t.x,n.x,r?.x),Bl(e.y,t.y,n.y,r?.y)}var Hl,Ul,Wl,Gl;function Kl(){return(Kl=t((()=>{U(),Hl=.9999,Ul=1.0001,Wl=-.01,Gl=.01})))()}function ql(e,t,n,r,i){return e-=t,e=Cc(e,1/n,r),i!==void 0&&(e=Cc(e,1/i,r)),e}function Jl(e,t=0,n=1,r=.5,i,a=e,o=e){if(I.test(t)&&(t=parseFloat(t),t=H(o.min,o.max,t/100)-o.min),typeof t!=`number`)return;let s=H(a.min,a.max,r);e===a&&(s-=t),e.min=ql(e.min,t,n,s,i),e.max=ql(e.max,t,n,s,i)}function Yl(e,t,[n,r,i],a,o){Jl(e,t[n],t[r],t[i],t.scale,a,o)}function Xl(e,t,n,r){Yl(e.x,t,Zl,n?n.x:void 0,r?r.x:void 0),Yl(e.y,t,Ql,n?n.y:void 0,r?r.y:void 0)}var Zl,Ql;function $l(){return($l=t((()=>{U(),R(),Nc(),Zl=[`x`,`scaleX`,`originX`],Ql=[`y`,`scaleY`,`originY`]})))()}function eu(e){return e.translate===0&&e.scale===1}function tu(e){return eu(e.x)&&eu(e.y)}function nu(e,t){return e.min===t.min&&e.max===t.max}function ru(e,t){return nu(e.x,t.x)&&nu(e.y,t.y)}function iu(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function au(e,t){return iu(e.x,t.x)&&iu(e.y,t.y)}function ou(e){return Q(e.x)/Q(e.y)}function su(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function cu(){return(cu=t((()=>{Kl()})))()}function lu(e){return[e(`x`),e(`y`)]}function uu(e,t,n){let r=``,i=e.x.translate/t.x,a=e.y.translate/t.y,o=n?.z||0;if((i||a||o)&&(r=`translate3d(${i}px, ${a}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,pathRotation:i,rotateX:a,rotateY:o,skewX:s,skewY:c}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotate(${i}deg) `),a&&(r+=`rotateX(${a}deg) `),o&&(r+=`rotateY(${o}deg) `),s&&(r+=`skewX(${s}deg) `),c&&(r+=`skewY(${c}deg) `)}let s=e.x.scale*t.x,c=e.y.scale*t.y;return(s!==1||c!==1)&&(r+=`scale(${s}, ${c})`),r||`none`}function du(e,t,n,r,i,a){i?(e.opacity=H(0,n.opacity??1,_u(r)),e.opacityExit=H(t.opacity??1,0,vu(r))):a&&(e.opacity=H(t.opacity??1,n.opacity??1,r));for(let i=0;i<mu;i++){let a=Do[i],o=fu(t,a),s=fu(n,a);(o!==void 0||s!==void 0)&&(o||=0,s||=0,o===0||s===0||gu(o)===gu(s)?(e[a]=Math.max(H(hu(o),hu(s),r),0),(I.test(s)||I.test(o))&&(e[a]+=`%`)):e[a]=s)}(t.rotate||n.rotate)&&(e.rotate=H(t.rotate||0,n.rotate||0,r))}function fu(e,t){return e[t]===void 0?e.borderRadius:e[t]}function pu(e,t,n){return r=>r<e?0:r>t?1:n(ue(e,t,r))}var mu,hu,gu,_u,vu;function yu(){return(yu=t((()=>{U(),R(),de(),Ie(),O(),Oo(),mu=Do.length,hu=e=>typeof e==`string`?parseFloat(e):e,gu=e=>typeof e==`number`||L.test(e),_u=pu(0,.5,Pe),vu=pu(.5,.95,D)})))()}function bu(e,t,n){let r=K(e)?e:Ki(e);return r.start(ua(``,r,t,n)),r.animation}function xu(){return(xu=t((()=>{da(),Zi(),q()})))()}function Su(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}var Cu;function wu(){return(wu=t((()=>{Cu=(e,t)=>e.depth-t.depth})))()}var Tu;function Eu(){return(Eu=t((()=>{wu(),Tu=class{constructor(){this.children=[],this.isDirty=!1}add(e){y(this.children,e),this.isDirty=!0}remove(e){b(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Cu),this.isDirty=!1,this.children.forEach(e)}}})))()}function Du(e,t){let n=P.now(),r=({timestamp:i})=>{let a=i-n;a>=t&&(tt(r),e(a-t))};return j.setup(r,!0),()=>tt(r)}function Ou(){return(Ou=t((()=>{at(),N()})))()}function ku(e){return K(e)?e.get():e}function Au(){return(Au=t((()=>{q()})))()}var ju;function Mu(){return(Mu=t((()=>{ju=class{constructor(){this.members=[]}add(e){y(this.members,e);for(let t=this.members.length-1;t>=0;t--){let n=this.members[t];if(n===e||n===this.lead||n===this.prevLead)continue;let r=n.instance;(!r||r.isConnected===!1)&&!n.snapshot&&(b(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(b(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(e.isPresent!==!1&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.updateSnapshot(),e.scheduleRender();let{layoutDependency:r}=n.options,{layoutDependency:i}=e.options;(r===void 0||r!==i)&&(e.resumeFrom=n,t&&(n.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),e.options.crossfade===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}})))()}var Nu;function Pu(){return(Pu=t((()=>{Nu={hasAnimatedSinceResize:!0,hasEverUpdated:!1}})))()}function Fu(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Iu(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=La(t);if(window.MotionHasOptimisedAnimation(n,`transform`)){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,`transform`,j,!(t||r))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Iu(r)}function Lu({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=ud++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,As.value&&(sd.nodes=sd.calculatedTargetDeltas=sd.calculatedProjections=0),this.nodes.forEach(Bu),this.nodes.forEach(Yu),this.nodes.forEach(Xu),this.nodes.forEach(Vu),As.addProjectionMetrics&&As.addProjectionMetrics(sd)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new Tu)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new fe),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=ds(t)&&!Ms(t),this.instance=t;let{layoutId:n,layout:r,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||n)&&(this.isLayoutDirty=!0),e){let n,r=0,i=()=>this.root.updateBlockedByResize=!1;j.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=Du(i,250),Nu.hasAnimatedSinceResize&&(Nu.hasAnimatedSinceResize=!1,this.nodes.forEach(Ju)))})}n&&this.root.registerSharedNode(n,this),this.options.animate!==!1&&i&&(n||r)&&this.addEventListener(`didUpdate`,({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let a=this.options.transition||i.getDefaultTransition()||dd,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=i.getProps(),c=!this.targetLayout||!au(this.targetLayout,r),l=!t&&n;if(this.options.layoutRoot||this.resumeFrom||l||t&&(c||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...$i(a,`layout`),onPlay:o,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,l,t.path)}else t||Ju(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),tt(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Zu),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Iu(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,(typeof t.latestValues.x==`string`||typeof t.latestValues.y==`string`)&&(t.isLayoutDirty=!0),t.updateScroll(`snapshot`),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(t===void 0&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,``):void 0,this.updateSnapshot(),e&&this.notifyListeners(`willUpdate`)}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(Wu),this.nodes.forEach(Uu);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Gu);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Ku),this.nodes.forEach(qu),this.nodes.forEach(Ru),this.nodes.forEach(zu)):this.nodes.forEach(Gu),this.clearAllSnapshots();let e=P.now();M.delta=x(0,1e3/60,e-M.timestamp),M.timestamp=e,M.isProcessing=!0,nt.update.process(M),nt.preRender.process(M),nt.render.process(M),M.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Po.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Hu),this.sharedNodes.forEach(Qu)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,j.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){j.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Q(this.snapshot.measuredBox.x)&&!Q(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||=Y(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners(`measure`,this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify(`LayoutMeasure`,this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e=`measure`){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!tu(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,``):void 0,a=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||bc(this.latestValues)||a)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){let t=this.measurePageBox(),n=this.removeElementScroll(t);return e&&(n=this.removeTransform(n)),id(n),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return Y();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(od))){let{scroll:e}=this.root;e&&(X(t.x,e.offset.x),X(t.y,e.offset.y))}return t}removeElementScroll(e){let t=Y();if(Z(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:a}=r;r!==this.root&&i&&a.layoutScroll&&(i.wasRoot&&Z(t,e),X(t.x,i.offset.x),X(t.y,i.offset.y))}return t}applyTransform(e,t=!1,n){let r=n||Y();Z(r,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(X(r.x,-n.scroll.offset.x),X(r.y,-n.scroll.offset.y)),bc(n.latestValues)&&Ac(r,n.latestValues,n.layout?.layoutBox)}return bc(this.latestValues)&&Ac(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){let t=Y();Z(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!bc(n.latestValues))continue;let r;n.instance&&(yc(n.latestValues)&&n.updateSnapshot(),r=Y(),Z(r,n.measurePageBox())),Xl(t,n.latestValues,n.snapshot?.layoutBox,r)}return bc(this.latestValues)&&Xl(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:e.crossfade===void 0||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==M.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||=t.isProjectionDirty,this.isTransformDirty||=t.isTransformDirty,this.isSharedProjectionDirty||=t.isSharedProjectionDirty;let n=!!this.resumingFrom||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:i}=this.options;if(!this.layout||!(r||i))return;this.resolvedRelativeTargetAt=M.timestamp;let a=this.getClosestProjectingParent();a&&this.linkedParentVersion!==a.layoutVersion&&!a.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&a&&a.layout?this.createRelativeTarget(a,this.layout.layoutBox,a.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Y(),this.targetWithTransforms=Y()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),zl(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Z(this.target,this.layout.layoutBox),Ec(this.target,this.targetDelta)):Z(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&a&&!!a.resumingFrom==!!this.resumingFrom&&!a.options.layoutScroll&&a.target&&this.animationProgress!==1?this.createRelativeTarget(a,this.target,a.target):this.relativeParent=this.relativeTarget=void 0),As.value&&sd.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||yc(this.parent.latestValues)||xc(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,n){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Y(),this.relativeTargetOrigin=Y(),Vl(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),Z(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===M.timestamp&&(n=!1),n)return;let{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||i))return;Z(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;Dc(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=Y());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Pl(this.prevProjectionDelta.x,this.projectionDelta.x),Pl(this.prevProjectionDelta.y,this.projectionDelta.y)),Ll(this.projectionDelta,this.layoutCorrected,s,this.latestValues),(this.treeScale.x!==a||this.treeScale.y!==o||!su(this.projectionDelta.x,this.prevProjectionDelta.x)||!su(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(`projectionUpdate`,s)),As.value&&sd.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Rs(),this.projectionDelta=Rs(),this.projectionDeltaWithTransform=Rs()}setAnimationOrigin(e,t=!1,n){let r=this.snapshot,i=r?r.latestValues:{},a={...this.latestValues},o=Rs();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let s=Y(),c=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),u=!l||l.members.length<=1,d=!!(c&&!u&&this.options.crossfade===!0&&!this.path.some(nd));this.animationProgress=0;let f,p=n?.interpolateProjection(e);this.mixTargetDelta=t=>{let n=t/1e3,r=p?.(n);r?(o.x.translate=r.x,o.x.scale=H(e.x.scale,1,n),o.x.origin=e.x.origin,o.x.originPoint=e.x.originPoint,o.y.translate=r.y,o.y.scale=H(e.y.scale,1,n),o.y.origin=e.y.origin,o.y.originPoint=e.y.originPoint):($u(o.x,e.x,n),$u(o.y,e.y,n)),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Vl(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),td(this.relativeTarget,this.relativeTargetOrigin,s,n),f&&ru(this.relativeTarget,f)&&(this.isProjectionDirty=!1),f||=Y(),Z(f,this.relativeTarget)),c&&(this.animationValues=a,du(a,i,this.latestValues,n,d,u)),r&&r.rotate!==void 0&&(this.animationValues||=a,this.animationValues.pathRotation=r.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners(`animationStart`),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&=(tt(this.pendingAnimation),void 0),this.pendingAnimation=j.update(()=>{Nu.hasAnimatedSinceResize=!0,this.motionValue||=Ki(0),this.motionValue.jump(0,!1),this.currentAnimation=bu(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners(`animationComplete`)}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(ld),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(!(!t||!n||!r)){if(this!==e&&this.layout&&r&&ad(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||Y();let t=Q(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=Q(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}Z(t,n),Ac(t,i),Ll(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new ju),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return e?e.relegate(this):!1}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&Fu(`z`,e,r,this.animationValues);for(let t=0;t<cd.length;t++)Fu(`rotate${cd[t]}`,e,r,this.animationValues),Fu(`skew${cd[t]}`,e,r,this.animationValues);e.render();for(let t in r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility=`hidden`;return}let n=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility=``,e.opacity=``,e.pointerEvents=ku(t?.pointerEvents)||``,e.transform=n?n(this.latestValues,``):`none`;return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(e.opacity=this.latestValues.opacity===void 0?1:this.latestValues.opacity,e.pointerEvents=ku(t?.pointerEvents)||``),this.hasProjected&&!bc(this.latestValues)&&(e.transform=n?n({},``):`none`,this.hasProjected=!1);return}e.visibility=``;let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();let a=uu(this.projectionDeltaWithTransform,this.treeScale,i);n&&(a=n(i,a)),e.transform=a;let{x:o,y:s}=this.projectionDelta;e.transformOrigin=`${o.origin*100}% ${s.origin*100}% 0`,e.opacity=r.animationValues?r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:r===this?i.opacity===void 0?``:i.opacity:i.opacityExit===void 0?0:i.opacityExit;for(let t in Yc){if(i[t]===void 0)continue;let{correct:n,applyTo:o,isCSSVariable:s}=Yc[t],c=a===`none`?i[t]:n(i[t],r);if(o){let t=o.length;for(let n=0;n<t;n++)e[o[n]]=c}else s?this.options.visualElement.renderState.vars[t]=c:e[t]=c}this.options.layoutId&&(e.pointerEvents=r===this?ku(t?.pointerEvents)||``:`none`)}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(Uu),this.root.sharedNodes.clear()}}}function Ru(e){e.updateLayout()}function zu(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners(`didUpdate`)){let{layoutBox:n,measuredBox:r}=e.layout,{animationType:i}=e.options,a=t.source!==e.layout.source;if(i===`size`)lu(e=>{let r=a?t.measuredBox[e]:t.layoutBox[e],i=Q(r);r.min=n[e].min,r.max=r.min+i});else if(i===`x`||i===`y`){let e=i===`x`?`y`:`x`;Nl(a?t.measuredBox[e]:t.layoutBox[e],n[e])}else ad(i,t.layoutBox,n)&&lu(r=>{let i=a?t.measuredBox[r]:t.layoutBox[r],o=Q(n[r]);i.max=i.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+o)});let o=Rs();Ll(o,n,t.layoutBox);let s=Rs();a?Ll(s,e.applyTransform(r,!0),t.measuredBox):Ll(s,n,t.layoutBox);let c=!tu(o),l=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:a}=r;if(i&&a){let o=e.options.layoutAnchor||void 0,s=Y();Vl(s,t.layoutBox,i.layoutBox,o);let c=Y();Vl(c,n,a.layoutBox,o),au(s,c)||(l=!0),r.options.layoutRoot&&(e.relativeTarget=c,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners(`didUpdate`,{layout:n,snapshot:t,delta:s,layoutDelta:o,hasLayoutChanged:c,hasRelativeLayoutChanged:l})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function Bu(e){As.value&&sd.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty),e.isTransformDirty||=e.parent.isTransformDirty)}function Vu(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Hu(e){e.clearSnapshot()}function Uu(e){e.clearMeasurements()}function Wu(e){e.isLayoutDirty=!0,e.updateLayout()}function Gu(e){e.isLayoutDirty=!1}function Ku(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function qu(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify(`BeforeLayoutMeasure`),e.resetTransform()}function Ju(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Yu(e){e.resolveTargetDelta()}function Xu(e){e.calcProjection()}function Zu(e){e.resetSkewAndRotation()}function Qu(e){e.removeLeadSnapshot()}function $u(e,t,n){e.translate=H(t.translate,0,n),e.scale=H(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function ed(e,t,n,r){e.min=H(t.min,n.min,r),e.max=H(t.max,n.max,r)}function td(e,t,n,r){ed(e.x,t.x,n.x,r),ed(e.y,t.y,n.y,r)}function nd(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}function rd(e){e.min=pd(e.min),e.max=pd(e.max)}function id(e){rd(e.x),rd(e.y)}function ad(e,t,n){return e===`position`||e===`preserve-aspect`&&!Fl(ou(t),ou(n),.2)}function od(e){return e!==e.root&&e.scroll?.wasRoot}var sd,cd,ld,ud,dd,fd,pd;function md(){return(md=t((()=>{pe(),S(),O(),xu(),Ra(),ea(),Io(),at(),Xc(),js(),Ou(),fs(),Ns(),U(),Zi(),Au(),yu(),Nc(),Kl(),$l(),Bs(),cu(),Mu(),Eu(),Pu(),N(),sd={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},cd=[``,`X`,`Y`,`Z`],ld=1e3,ud=0,dd={duration:.45,ease:[.4,0,.1,1]},fd=e=>typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),pd=fd(`applewebkit/`)&&!fd(`chrome/`)?Math.round:D})))()}var hd;function gd(){return(gd=t((()=>{md(),hd=Lu({attachResizeListener:(e,t)=>Su(e,`resize`,t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0})})))()}var _d,vd;function yd(){return(yd=t((()=>{md(),gd(),_d={current:void 0},vd=Lu({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!_d.current){let e=new hd({});e.mount(window),e.setOptions({layoutScroll:!0}),_d.current=e}return _d.current},resetTransform:(e,t)=>{e.style.transform=t===void 0?`none`:t},checkIsScrollRoot:e=>window.getComputedStyle(e).position===`fixed`})})))()}var bd,xd;function Sd(){return(Sd=t((()=>{bd=n(),xd=(0,bd.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:`never`})})))()}function Cd(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function wd(...e){return t=>{let n=!1,r=e.map(e=>{let r=Cd(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():Cd(e[t],null)}}}}function Td(...e){return Ed.useCallback(wd(...e),e)}var Ed;function Dd(){return(Dd=t((()=>{Ed=e(n(),1)})))()}function Od({children:e,isPresent:t,anchorX:n,anchorY:r,root:i,pop:a}){let o=(0,jd.useId)(),s=(0,jd.useRef)(null),c=(0,jd.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:`ltr`}),{nonce:l}=(0,jd.useContext)(xd),u=Td(s,a===!1?void 0:e.props?.ref??e?.ref);return(0,jd.useInsertionEffect)(()=>{let{width:e,height:u,top:d,left:f,right:p,bottom:m,direction:h}=c.current;if(t||a===!1||!s.current||!e||!u)return;let g=h===`rtl`,_=n===`left`?g?`right: ${p}`:`left: ${f}`:g?`left: ${f}`:`right: ${p}`,v=r===`bottom`?`bottom: ${m}`:`top: ${d}`;s.current.dataset.motionPopId=o;let y=document.createElement(`style`);l&&(y.nonce=l);let b=i??document.head;return b.appendChild(y),y.sheet&&y.sheet.insertRule(`
2
2
  [data-motion-pop-id="${o}"] {
3
3
  position: absolute !important;
4
4
  width: ${e}px !important;
@@ -1 +1 @@
1
- import{n as e}from"./rolldown-runtime-DkW27tQK.js";import{i as t,r as n}from"./iframe-BOu-P2xF.js";var r,i;function a(){return(a=e((()=>{t(),r=[[`path`,{d:`M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8`,key:`v9h5vc`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}],[`path`,{d:`M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16`,key:`3uifl3`}],[`path`,{d:`M8 16H3v5`,key:`1cv678`}]],i=n(`refresh-cw`,r)})))()}export{a as n,i as t};
1
+ import{n as e}from"./rolldown-runtime-DkW27tQK.js";import{i as t,r as n}from"./iframe-FSp_AjJa.js";var r,i;function a(){return(a=e((()=>{t(),r=[[`path`,{d:`M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8`,key:`v9h5vc`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}],[`path`,{d:`M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16`,key:`3uifl3`}],[`path`,{d:`M8 16H3v5`,key:`1cv678`}]],i=n(`refresh-cw`,r)})))()}export{a as n,i as t};
@@ -1 +1 @@
1
- import{n as e}from"./rolldown-runtime-DkW27tQK.js";import{i as t,r as n}from"./iframe-BOu-P2xF.js";var r,i;function a(){return(a=e((()=>{t(),r=[[`path`,{d:`M14 17H5`,key:`gfn3mx`}],[`path`,{d:`M19 7h-9`,key:`6i9tg`}],[`circle`,{cx:`17`,cy:`17`,r:`3`,key:`18b49y`}],[`circle`,{cx:`7`,cy:`7`,r:`3`,key:`dfmy0x`}]],i=n(`settings-2`,r)})))()}export{a as n,i as t};
1
+ import{n as e}from"./rolldown-runtime-DkW27tQK.js";import{i as t,r as n}from"./iframe-FSp_AjJa.js";var r,i;function a(){return(a=e((()=>{t(),r=[[`path`,{d:`M14 17H5`,key:`gfn3mx`}],[`path`,{d:`M19 7h-9`,key:`6i9tg`}],[`circle`,{cx:`17`,cy:`17`,r:`3`,key:`18b49y`}],[`circle`,{cx:`7`,cy:`7`,r:`3`,key:`dfmy0x`}]],i=n(`settings-2`,r)})))()}export{a as n,i as t};
@@ -1 +1 @@
1
- import{n as e}from"./rolldown-runtime-DkW27tQK.js";import{t}from"./react-BZJXY1be.js";import{i as n,n as r,r as i}from"./iframe-BOu-P2xF.js";import{a,i as o}from"./utils-tg3ibbzi.js";import{a as s,c,d as l,f as u,i as d,l as f,m as p,n as m,o as h,p as g,r as _,s as v,u as y}from"./hooks-Baxp-XYz.js";var b,x;function S(){return(S=e((()=>{n(),b=[[`circle`,{cx:`12`,cy:`5`,r:`1`,key:`gxeob9`}],[`circle`,{cx:`19`,cy:`5`,r:`1`,key:`w8mnmm`}],[`circle`,{cx:`5`,cy:`5`,r:`1`,key:`lttvr7`}],[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}],[`circle`,{cx:`19`,cy:`12`,r:`1`,key:`1wjl8i`}],[`circle`,{cx:`5`,cy:`12`,r:`1`,key:`1pcz8c`}],[`circle`,{cx:`12`,cy:`19`,r:`1`,key:`lyex9k`}],[`circle`,{cx:`19`,cy:`19`,r:`1`,key:`shf9b7`}],[`circle`,{cx:`5`,cy:`19`,r:`1`,key:`bfqh0e`}]],x=i(`grip`,b)})))()}function C(e){return e?.data.current?.sortable.containerId??null}function w(e,t){return Array.isArray(t)?t:t[String(e)]??null}function T(e,t){if(t)return t;switch(e){case`horizontal`:return s;case`grid`:return v;default:return f}}function E(e){let{event:t,items:n}=e,{active:r,over:i}=t;if(!i||r.id===i.id)return null;let a=C(r),o=C(i);if(a==null||o==null||a!==o)return null;let s=w(a,n);if(!s)return null;let c=s.indexOf(r.id),l=s.indexOf(i.id);return c<0||l<0?null:{containerId:a,activeId:r.id,overId:i.id,fromIndex:c,toIndex:l}}function D(){return(D=e((()=>{h()})))()}function O(e,t){return typeof e==`function`?e(t):e}function k(e,t){return typeof e==`function`?e(t):e}function A(e){let{children:t,collisionDetection:n=l,sensors:r,onDragCancel:i,onDragEnd:a,onDragMove:o,onDragOver:s,onDragPending:c,onDragStart:u,accessibility:d,...f}=e,p=_(),m=typeof document>`u`?void 0:document.body,h=(0,P.useMemo)(()=>({...d,container:d?.container??m}),[d,m]);return(0,F.jsx)(y,{...f,accessibility:h,sensors:r??p,collisionDetection:n,onDragStart:u,onDragMove:o,onDragOver:s,onDragEnd:a,onDragCancel:i,onDragPending:c,children:t})}function j(e){let{children:t,containerId:n,items:r,layout:i=`vertical`,strategy:a}=e;return(0,F.jsx)(d,{id:String(n),items:[...r],strategy:T(i,a),children:t})}function M(e){let{as:t,id:n,children:r,className:i,style:o,disabled:s=!1,dragActivator:l=`handle`,...u}=e,d=t??`div`,{attributes:f,listeners:p,setActivatorNodeRef:m,setNodeRef:h,transform:_,transition:v,isDragging:y,isOver:b,isSorting:x}=c({id:n,disabled:s}),S={transform:g.Transform.toString(_),transition:v,zIndex:!s&&y?2:1,opacity:!s&&y?.6:void 0,...o},C=(0,P.useMemo)(()=>({attributes:f,listeners:l===`handle`?p:void 0,setActivatorNodeRef:m,disabled:s||l!==`handle`,isDragging:y}),[f,p,m,s,l,y]),w={isDragging:y,isOver:b,isSorting:x,disabled:s},T=l===`item`&&!s?{...f,...p}:{};return(0,F.jsx)(I.Provider,{value:C,children:(0,P.createElement)(d,{...u,...T,ref:h,className:a(i),style:S,"data-sortable-id":String(n),"data-sortable-dragging":y?`true`:`false`,"data-sortable-disabled":s?`true`:`false`},O(r,w))})}function N(e){let{as:t,children:n,disabled:r=!1,...i}=e,a=t??`div`,o=(0,P.useContext)(I),s=r||!o||o.disabled,c=s?{}:{...o.attributes,...o.listeners},l={disabled:s,isDragging:o?.isDragging??!1};return(0,P.createElement)(a,{...i,...c,ref:!s&&o?o.setActivatorNodeRef:void 0,"aria-disabled":s||void 0,"data-sortable-handle":`true`,"data-sortable-handle-disabled":s?`true`:`false`,"data-sortable-handle-dragging":l.isDragging?`true`:`false`},k(n,l))}var P,F,I;function L(){return(L=e((()=>{P=t(),u(),h(),p(),m(),o(),D(),F=r(),I=(0,P.createContext)(null),A.__docgenInfo={description:``,methods:[],displayName:`SortableRoot`,props:{children:{required:!0,tsType:{name:`ReactNode`},description:``},collisionDetection:{required:!1,tsType:{name:`DndContextProps["collisionDetection"]`,raw:`DndContextProps["collisionDetection"]`},description:``},sensors:{required:!1,tsType:{name:`DndContextProps["sensors"]`,raw:`DndContextProps["sensors"]`},description:``}}},j.__docgenInfo={description:``,methods:[],displayName:`SortableContainer`,props:{children:{required:!0,tsType:{name:`ReactNode`},description:``},containerId:{required:!0,tsType:{name:`UniqueIdentifier`},description:``},items:{required:!0,tsType:{name:`unknown`},description:``},layout:{required:!1,tsType:{name:`union`,raw:`"vertical" | "horizontal" | "grid"`,elements:[{name:`literal`,value:`"vertical"`},{name:`literal`,value:`"horizontal"`},{name:`literal`,value:`"grid"`}]},description:``},strategy:{required:!1,tsType:{name:`SortingStrategy`},description:``}}},M.__docgenInfo={description:``,methods:[],displayName:`SortableItem`,props:{as:{required:!1,tsType:{name:`ElementType`},description:``},id:{required:!0,tsType:{name:`UniqueIdentifier`},description:``},children:{required:!1,tsType:{name:`union`,raw:`ReactNode | ((state: SortableItemRenderState) => ReactNode)`,elements:[{name:`ReactNode`},{name:`unknown`}]},description:``},className:{required:!1,tsType:{name:`string`},description:``},style:{required:!1,tsType:{name:`CSSProperties`},description:``},disabled:{required:!1,tsType:{name:`boolean`},description:``},dragActivator:{required:!1,tsType:{name:`union`,raw:`"handle" | "item"`,elements:[{name:`literal`,value:`"handle"`},{name:`literal`,value:`"item"`}]},description:``}}},N.__docgenInfo={description:``,methods:[],displayName:`SortableHandle`,props:{as:{required:!1,tsType:{name:`ElementType`},description:``},children:{required:!1,tsType:{name:`union`,raw:`ReactNode | ((state: Pick<SortableHandleContextValue, "disabled" | "isDragging">) => ReactNode)`,elements:[{name:`ReactNode`},{name:`unknown`}]},description:``},disabled:{required:!1,tsType:{name:`boolean`},description:``}}}})))()}var R,z;function B(){return(B=e((()=>{R=`_7rGb26`,z={dragHandle:R}})))()}function V(e,t){return e??t}function H(e,t,n){return e==null?t??n:t}function U(e){if(e.as===`button`){let{as:t,children:n,className:r,disabled:i=!1,icon:o=(0,W.jsx)(x,{"aria-hidden":`true`}),type:s=`button`,...c}=e,l=H(n,c[`aria-label`],c.title);return(0,W.jsx)(N,{...c,as:t,type:s,disabled:i,"aria-label":l,className:a(z.dragHandle,r),children:V(n,o)})}let{as:t,children:n,className:r,disabled:i=!1,icon:o=(0,W.jsx)(x,{"aria-hidden":`true`}),...s}=e,c=H(n,s[`aria-label`],s.title);return(0,W.jsx)(N,{...s,as:t,disabled:i,"aria-label":c,className:a(z.dragHandle,r),children:V(n,o)})}var W;function G(){return(G=e((()=>{o(),S(),L(),B(),W=r(),U.__docgenInfo={description:``,methods:[],displayName:`SortableDragHandle`}})))()}var K;function q(){return(q=e((()=>{L(),G(),D(),K={Root:A,Container:j,Item:M,Handle:N,DragHandle:U}})))()}export{D as i,q as n,E as r,K as t};
1
+ import{n as e}from"./rolldown-runtime-DkW27tQK.js";import{t}from"./react-BZJXY1be.js";import{i as n,n as r,r as i}from"./iframe-FSp_AjJa.js";import{a,i as o}from"./utils-tg3ibbzi.js";import{a as s,c,d as l,f as u,i as d,l as f,m as p,n as m,o as h,p as g,r as _,s as v,u as y}from"./hooks-awde7r2r.js";var b,x;function S(){return(S=e((()=>{n(),b=[[`circle`,{cx:`12`,cy:`5`,r:`1`,key:`gxeob9`}],[`circle`,{cx:`19`,cy:`5`,r:`1`,key:`w8mnmm`}],[`circle`,{cx:`5`,cy:`5`,r:`1`,key:`lttvr7`}],[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}],[`circle`,{cx:`19`,cy:`12`,r:`1`,key:`1wjl8i`}],[`circle`,{cx:`5`,cy:`12`,r:`1`,key:`1pcz8c`}],[`circle`,{cx:`12`,cy:`19`,r:`1`,key:`lyex9k`}],[`circle`,{cx:`19`,cy:`19`,r:`1`,key:`shf9b7`}],[`circle`,{cx:`5`,cy:`19`,r:`1`,key:`bfqh0e`}]],x=i(`grip`,b)})))()}function C(e){return e?.data.current?.sortable.containerId??null}function w(e,t){return Array.isArray(t)?t:t[String(e)]??null}function T(e,t){if(t)return t;switch(e){case`horizontal`:return s;case`grid`:return v;default:return f}}function E(e){let{event:t,items:n}=e,{active:r,over:i}=t;if(!i||r.id===i.id)return null;let a=C(r),o=C(i);if(a==null||o==null||a!==o)return null;let s=w(a,n);if(!s)return null;let c=s.indexOf(r.id),l=s.indexOf(i.id);return c<0||l<0?null:{containerId:a,activeId:r.id,overId:i.id,fromIndex:c,toIndex:l}}function D(){return(D=e((()=>{h()})))()}function O(e,t){return typeof e==`function`?e(t):e}function k(e,t){return typeof e==`function`?e(t):e}function A(e){let{children:t,collisionDetection:n=l,sensors:r,onDragCancel:i,onDragEnd:a,onDragMove:o,onDragOver:s,onDragPending:c,onDragStart:u,accessibility:d,...f}=e,p=_(),m=typeof document>`u`?void 0:document.body,h=(0,P.useMemo)(()=>({...d,container:d?.container??m}),[d,m]);return(0,F.jsx)(y,{...f,accessibility:h,sensors:r??p,collisionDetection:n,onDragStart:u,onDragMove:o,onDragOver:s,onDragEnd:a,onDragCancel:i,onDragPending:c,children:t})}function j(e){let{children:t,containerId:n,items:r,layout:i=`vertical`,strategy:a}=e;return(0,F.jsx)(d,{id:String(n),items:[...r],strategy:T(i,a),children:t})}function M(e){let{as:t,id:n,children:r,className:i,style:o,disabled:s=!1,dragActivator:l=`handle`,...u}=e,d=t??`div`,{attributes:f,listeners:p,setActivatorNodeRef:m,setNodeRef:h,transform:_,transition:v,isDragging:y,isOver:b,isSorting:x}=c({id:n,disabled:s}),S={transform:g.Transform.toString(_),transition:v,zIndex:!s&&y?2:1,opacity:!s&&y?.6:void 0,...o},C=(0,P.useMemo)(()=>({attributes:f,listeners:l===`handle`?p:void 0,setActivatorNodeRef:m,disabled:s||l!==`handle`,isDragging:y}),[f,p,m,s,l,y]),w={isDragging:y,isOver:b,isSorting:x,disabled:s},T=l===`item`&&!s?{...f,...p}:{};return(0,F.jsx)(I.Provider,{value:C,children:(0,P.createElement)(d,{...u,...T,ref:h,className:a(i),style:S,"data-sortable-id":String(n),"data-sortable-dragging":y?`true`:`false`,"data-sortable-disabled":s?`true`:`false`},O(r,w))})}function N(e){let{as:t,children:n,disabled:r=!1,...i}=e,a=t??`div`,o=(0,P.useContext)(I),s=r||!o||o.disabled,c=s?{}:{...o.attributes,...o.listeners},l={disabled:s,isDragging:o?.isDragging??!1};return(0,P.createElement)(a,{...i,...c,ref:!s&&o?o.setActivatorNodeRef:void 0,"aria-disabled":s||void 0,"data-sortable-handle":`true`,"data-sortable-handle-disabled":s?`true`:`false`,"data-sortable-handle-dragging":l.isDragging?`true`:`false`},k(n,l))}var P,F,I;function L(){return(L=e((()=>{P=t(),u(),h(),p(),m(),o(),D(),F=r(),I=(0,P.createContext)(null),A.__docgenInfo={description:``,methods:[],displayName:`SortableRoot`,props:{children:{required:!0,tsType:{name:`ReactNode`},description:``},collisionDetection:{required:!1,tsType:{name:`DndContextProps["collisionDetection"]`,raw:`DndContextProps["collisionDetection"]`},description:``},sensors:{required:!1,tsType:{name:`DndContextProps["sensors"]`,raw:`DndContextProps["sensors"]`},description:``}}},j.__docgenInfo={description:``,methods:[],displayName:`SortableContainer`,props:{children:{required:!0,tsType:{name:`ReactNode`},description:``},containerId:{required:!0,tsType:{name:`UniqueIdentifier`},description:``},items:{required:!0,tsType:{name:`unknown`},description:``},layout:{required:!1,tsType:{name:`union`,raw:`"vertical" | "horizontal" | "grid"`,elements:[{name:`literal`,value:`"vertical"`},{name:`literal`,value:`"horizontal"`},{name:`literal`,value:`"grid"`}]},description:``},strategy:{required:!1,tsType:{name:`SortingStrategy`},description:``}}},M.__docgenInfo={description:``,methods:[],displayName:`SortableItem`,props:{as:{required:!1,tsType:{name:`ElementType`},description:``},id:{required:!0,tsType:{name:`UniqueIdentifier`},description:``},children:{required:!1,tsType:{name:`union`,raw:`ReactNode | ((state: SortableItemRenderState) => ReactNode)`,elements:[{name:`ReactNode`},{name:`unknown`}]},description:``},className:{required:!1,tsType:{name:`string`},description:``},style:{required:!1,tsType:{name:`CSSProperties`},description:``},disabled:{required:!1,tsType:{name:`boolean`},description:``},dragActivator:{required:!1,tsType:{name:`union`,raw:`"handle" | "item"`,elements:[{name:`literal`,value:`"handle"`},{name:`literal`,value:`"item"`}]},description:``}}},N.__docgenInfo={description:``,methods:[],displayName:`SortableHandle`,props:{as:{required:!1,tsType:{name:`ElementType`},description:``},children:{required:!1,tsType:{name:`union`,raw:`ReactNode | ((state: Pick<SortableHandleContextValue, "disabled" | "isDragging">) => ReactNode)`,elements:[{name:`ReactNode`},{name:`unknown`}]},description:``},disabled:{required:!1,tsType:{name:`boolean`},description:``}}}})))()}var R,z;function B(){return(B=e((()=>{R=`_7rGb26`,z={dragHandle:R}})))()}function V(e,t){return e??t}function H(e,t,n){return e==null?t??n:t}function U(e){if(e.as===`button`){let{as:t,children:n,className:r,disabled:i=!1,icon:o=(0,W.jsx)(x,{"aria-hidden":`true`}),type:s=`button`,...c}=e,l=H(n,c[`aria-label`],c.title);return(0,W.jsx)(N,{...c,as:t,type:s,disabled:i,"aria-label":l,className:a(z.dragHandle,r),children:V(n,o)})}let{as:t,children:n,className:r,disabled:i=!1,icon:o=(0,W.jsx)(x,{"aria-hidden":`true`}),...s}=e,c=H(n,s[`aria-label`],s.title);return(0,W.jsx)(N,{...s,as:t,disabled:i,"aria-label":c,className:a(z.dragHandle,r),children:V(n,o)})}var W;function G(){return(G=e((()=>{o(),S(),L(),B(),W=r(),U.__docgenInfo={description:``,methods:[],displayName:`SortableDragHandle`}})))()}var K;function q(){return(q=e((()=>{L(),G(),D(),K={Root:A,Container:j,Item:M,Handle:N,DragHandle:U}})))()}export{D as i,q as n,E as r,K as t};