@ryuzaki13/react-foundation-ui 1.1.9 → 1.2.1

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 (250) hide show
  1. package/dist/advanced-search/index.js +1 -1
  2. package/dist/check-box/CheckBox.d.ts +3 -1
  3. package/dist/check-box/CheckBox.d.ts.map +1 -1
  4. package/dist/check-box/index.js +1 -1
  5. package/dist/chunks/{CheckBox.module-D0Ze9qh3.js → CheckBox.module-C5SjPwSj.js} +2 -1
  6. package/dist/chunks/{CheckBox.module-D0Ze9qh3.js.map → CheckBox.module-C5SjPwSj.js.map} +1 -1
  7. package/dist/chunks/{TextEditorLexicalClient-DeBA6fQX.js → TextEditorLexicalClient-D2P2VLL0.js} +2 -2
  8. package/dist/chunks/{TextEditorLexicalClient-DeBA6fQX.js.map → TextEditorLexicalClient-D2P2VLL0.js.map} +1 -1
  9. package/dist/chunks/check-box-Dd3YFuxd.js +51 -0
  10. package/dist/chunks/check-box-Dd3YFuxd.js.map +1 -0
  11. package/dist/chunks/{multi-select-BCpRct-k.js → multi-select-Bg7Psslp.js} +56 -81
  12. package/dist/chunks/multi-select-Bg7Psslp.js.map +1 -0
  13. package/dist/chunks/{picker-DTZk09Ag.js → picker-BAQ9NeHe.js} +117 -88
  14. package/dist/chunks/picker-BAQ9NeHe.js.map +1 -0
  15. package/dist/chunks/{select-Bd48kVI3.js → select-DKbSVCp4.js} +16 -16
  16. package/dist/chunks/{select-Bd48kVI3.js.map → select-DKbSVCp4.js.map} +1 -1
  17. package/dist/layout-picker/index.js +11 -11
  18. package/dist/layout-picker/index.js.map +1 -1
  19. package/dist/multi-select/index.js +1 -1
  20. package/dist/multi-select/ui/defaultRenderers.d.ts.map +1 -1
  21. package/dist/picker/PickerPopup.d.ts +4 -1
  22. package/dist/picker/PickerPopup.d.ts.map +1 -1
  23. package/dist/picker/PickerSelectionToolbar.d.ts +13 -0
  24. package/dist/picker/PickerSelectionToolbar.d.ts.map +1 -0
  25. package/dist/picker/index.d.ts +1 -0
  26. package/dist/picker/index.d.ts.map +1 -1
  27. package/dist/picker/index.js +2 -2
  28. package/dist/picker/model/usePickerFloatingListbox.d.ts +3 -0
  29. package/dist/picker/model/usePickerFloatingListbox.d.ts.map +1 -1
  30. package/dist/preset-select/index.js +1 -1
  31. package/dist/radio-button/index.js +1 -1
  32. package/dist/select/index.js +1 -1
  33. package/dist/slider/index.js +1 -1
  34. package/dist/state-select/index.js +1 -1
  35. package/dist/styles.css +1 -1
  36. package/dist/text-editor/index.js +1 -1
  37. package/dist/tree-select/ODataTreeMultiSelect.d.ts +4 -2
  38. package/dist/tree-select/ODataTreeMultiSelect.d.ts.map +1 -1
  39. package/dist/tree-select/TreeMultiSelect.d.ts +4 -2
  40. package/dist/tree-select/TreeMultiSelect.d.ts.map +1 -1
  41. package/dist/tree-select/TreeNodeContent.d.ts +4 -2
  42. package/dist/tree-select/TreeNodeContent.d.ts.map +1 -1
  43. package/dist/tree-select/TreePickerBase.d.ts +8 -2
  44. package/dist/tree-select/TreePickerBase.d.ts.map +1 -1
  45. package/dist/tree-select/index.js +341 -235
  46. package/dist/tree-select/index.js.map +1 -1
  47. package/dist/tree-select/model/resolveBalancedTreeColumnsLayout.d.ts +22 -0
  48. package/dist/tree-select/model/resolveBalancedTreeColumnsLayout.d.ts.map +1 -0
  49. package/dist/tree-select/model/treeUtils.d.ts +6 -0
  50. package/dist/tree-select/model/treeUtils.d.ts.map +1 -1
  51. package/dist/tree-select/types.d.ts +2 -0
  52. package/dist/tree-select/types.d.ts.map +1 -1
  53. package/package.json +2 -2
  54. package/storybook-static/assets/{Badge-CYUtks4i.js → Badge-DGkAgQtD.js} +1 -1
  55. package/storybook-static/assets/{Badge.stories-CiwiuZND.js → Badge.stories-BNnfMijp.js} +1 -1
  56. package/storybook-static/assets/{Button-DxBLrgCb.js → Button-2V7cFs7U.js} +1 -1
  57. package/storybook-static/assets/{Button-GcMG_GZZ.js → Button-vNsY1Xgh.js} +1 -1
  58. package/storybook-static/assets/{Button.stories-Cd0Os334.js → Button.stories-qrLBulWZ.js} +1 -1
  59. package/storybook-static/assets/{CheckBox-B1xm2kwz.css → CheckBox-CT1_Mjc0.css} +1 -1
  60. package/storybook-static/assets/{CheckBox-DFUUkGhT.js → CheckBox-DeEGRsNS.js} +1 -1
  61. package/storybook-static/assets/CheckBox-Dnxk4w_M.js +2 -0
  62. package/storybook-static/assets/CheckBox.module-ezWPE2pa.js +1 -0
  63. package/storybook-static/assets/{CheckBox.stories-CJ_3y5UH.js → CheckBox.stories-CuPBzuQf.js} +1 -1
  64. package/storybook-static/assets/{Color-KMSTOMOX-D_F5kPOR.js → Color-KMSTOMOX-3kWYdPbk.js} +1 -1
  65. package/storybook-static/assets/{ContextMenu-Bwi_RCid.js → ContextMenu-C1EU4pnG.js} +1 -1
  66. package/storybook-static/assets/{ContextMenu.stories-CD3V_TkA.js → ContextMenu.stories-BWOdu8nd.js} +1 -1
  67. package/storybook-static/assets/{DateInput-D838WG9k.js → DateInput-D1rE9ZF6.js} +1 -1
  68. package/storybook-static/assets/{DateInput-BLOXukhB.js → DateInput-Qi0iElov.js} +1 -1
  69. package/storybook-static/assets/{DateInput.stories-B5IcEl_E.js → DateInput.stories-DfNzJVzP.js} +1 -1
  70. package/storybook-static/assets/{DateRangePresetSelect-nV0sOrrq.js → DateRangePresetSelect-B5FJLqSK.js} +1 -1
  71. package/storybook-static/assets/{DateRangePresetSelect-D-5OmKVI.js → DateRangePresetSelect-DASkcMx3.js} +1 -1
  72. package/storybook-static/assets/{DateRangePresetSelect.stories-B0OEeGyM.js → DateRangePresetSelect.stories-3ZcfGTpo.js} +1 -1
  73. package/storybook-static/assets/{Detail-BoRol63k.js → Detail-B02ATDwL.js} +1 -1
  74. package/storybook-static/assets/{Detail.stories-Bvoc4JyH.js → Detail.stories-ehMtdhKV.js} +1 -1
  75. package/storybook-static/assets/{Dialog-6f4X_UF_.js → Dialog-CB0KyNOp.js} +1 -1
  76. package/storybook-static/assets/{Dialog.stories-DupxCJ26.js → Dialog.stories-CO5-c6KC.js} +1 -1
  77. package/storybook-static/assets/{Disclosure-mjTMcSOm.js → Disclosure-CWvegL_8.js} +1 -1
  78. package/storybook-static/assets/{Disclosure.stories-BXY5v1i7.js → Disclosure.stories-_0z-uGCF.js} +1 -1
  79. package/storybook-static/assets/{DocsRenderer-JROSPFPF-B5gLF2_w.js → DocsRenderer-JROSPFPF-e6fFOpcs.js} +2 -2
  80. package/storybook-static/assets/{DropZone-BWidhx3w.js → DropZone-BQryB_S-.js} +1 -1
  81. package/storybook-static/assets/{DropZone.stories-DdzxEO58.js → DropZone.stories-viPFVTfL.js} +1 -1
  82. package/storybook-static/assets/{DropdownMenu-CTP2q7WN.js → DropdownMenu-CJiWiCWO.js} +1 -1
  83. package/storybook-static/assets/{ExpandableActionPanel.stories-zrVipsOg.js → ExpandableActionPanel.stories-DwL1eUl0.js} +1 -1
  84. package/storybook-static/assets/{Flex-BOdbeJ0I.js → Flex-HhZPENBj.js} +1 -1
  85. package/storybook-static/assets/{Flex-DZrPfPl7.js → Flex-c2FgZKph.js} +1 -1
  86. package/storybook-static/assets/{Flex.stories-BXa9Ld3i.js → Flex.stories-BdEfqTKQ.js} +1 -1
  87. package/storybook-static/assets/{Grid-BHcgytfy.js → Grid-CMUBLPOI.js} +1 -1
  88. package/storybook-static/assets/{Grid-JvQFWmt_.js → Grid-CXYJrcNO.js} +1 -1
  89. package/storybook-static/assets/{Grid.stories-B5poAGUr.js → Grid.stories-CSo_R9bk.js} +1 -1
  90. package/storybook-static/assets/{ImageCropper.stories-DddyTDWa.js → ImageCropper.stories-DPUCdwDr.js} +1 -1
  91. package/storybook-static/assets/{ImageRenderer-VdBmXv1k.js → ImageRenderer-DIEFIwlO.js} +1 -1
  92. package/storybook-static/assets/{ImageRenderer.stories-B5W5SEMP.js → ImageRenderer.stories-BAzbbd54.js} +1 -1
  93. package/storybook-static/assets/{ImageView.stories-Bxdytr0W.js → ImageView.stories-d6p9XR7R.js} +1 -1
  94. package/storybook-static/assets/{ImageViewer.stories-BXJN4esR.js → ImageViewer.stories-DqBkvrje.js} +2 -2
  95. package/storybook-static/assets/{ImageViewerRuntime-DLzkYOMn.js → ImageViewerRuntime-DVM6ctfF.js} +1 -1
  96. package/storybook-static/assets/{Input-D6FlpB4Y.js → Input-KjqYLUEq.js} +1 -1
  97. package/storybook-static/assets/{Input-DoKDcdGf.js → Input-v-SWe_uB.js} +1 -1
  98. package/storybook-static/assets/{Input.stories-tR41eQh7.js → Input.stories-0dcZXgca.js} +1 -1
  99. package/storybook-static/assets/{InputDateTime-BpvZYBm8.js → InputDateTime-BMM480ZM.js} +1 -1
  100. package/storybook-static/assets/{InputDateTime.stories-BOVClwU1.js → InputDateTime.stories-B8BnTwZN.js} +1 -1
  101. package/storybook-static/assets/{InputFile-BGHb93zX.js → InputFile-vetf3pm3.js} +1 -1
  102. package/storybook-static/assets/{InputFile.stories-CmhCmMX6.js → InputFile.stories-DCg1YCRD.js} +1 -1
  103. package/storybook-static/assets/{InputFiles-CLnOm0x9.js → InputFiles-B3lJfRWZ.js} +1 -1
  104. package/storybook-static/assets/{InputFiles-Bsatbrje.js → InputFiles-DsMZLICv.js} +1 -1
  105. package/storybook-static/assets/{InputFiles.stories-BOH1-zD8.js → InputFiles.stories-DwLeAv35.js} +1 -1
  106. package/storybook-static/assets/{InputImage-CZAwib3W.js → InputImage-DMMraEzR.js} +1 -1
  107. package/storybook-static/assets/{InputImage.stories-BobdHmpf.js → InputImage.stories-CMOZu1f6.js} +1 -1
  108. package/storybook-static/assets/{LayoutPicker-BNQIVp3u.js → LayoutPicker-CoTbJOK9.js} +1 -1
  109. package/storybook-static/assets/{LayoutPicker.stories-Du0HfXjJ.js → LayoutPicker.stories-BXk3mwYX.js} +1 -1
  110. package/storybook-static/assets/{Listbox-Cup327ne.js → Listbox-BQHunK7L.js} +1 -1
  111. package/storybook-static/assets/{Listbox.stories-BlrBt5zM.js → Listbox.stories-DxGIgwKd.js} +1 -1
  112. package/storybook-static/assets/{Modal-d1loZR-M.js → Modal-wvQf3E-t.js} +1 -1
  113. package/storybook-static/assets/{Modal.stories-ClQnn-f_.js → Modal.stories-CV9fGbCP.js} +1 -1
  114. package/storybook-static/assets/{MultiSelect-CUQV67Ev.css → MultiSelect-BoIwmje6.css} +1 -1
  115. package/storybook-static/assets/{MultiSelect-DydDWE0p.js → MultiSelect-BwIbw9ss.js} +1 -1
  116. package/storybook-static/assets/MultiSelect-DMbWfmcw.js +2 -0
  117. package/storybook-static/assets/{MultiSelect.stories-iBixjG7e.js → MultiSelect.stories-CKbPYanW.js} +1 -1
  118. package/storybook-static/assets/{NotificationsHost-C86XqiWb.js → NotificationsHost-v6O42GH9.js} +1 -1
  119. package/storybook-static/assets/{NotificationsHost.stories-B1zhHRl_.js → NotificationsHost.stories-DWtIwIMT.js} +1 -1
  120. package/storybook-static/assets/{ODataMultiSelect-wVgBQ88Z.js → ODataMultiSelect-B7VmCCyD.js} +1 -1
  121. package/storybook-static/assets/{ODataMultiSelect.stories-Cv2ibcVz.js → ODataMultiSelect.stories-B_GztBj9.js} +1 -1
  122. package/storybook-static/assets/{ODataSelect-BMymfHVd.js → ODataSelect-BCq3J8js.js} +1 -1
  123. package/storybook-static/assets/{ODataSelect-Rq48Ismc.js → ODataSelect-CHD3MCHd.js} +1 -1
  124. package/storybook-static/assets/{ODataSelect.stories-DFID1Uev.js → ODataSelect.stories-C3G6df2Y.js} +1 -1
  125. package/storybook-static/assets/{ODataTreeMultiSelect-y1_5XOhF.js → ODataTreeMultiSelect-CFEzZtem.js} +1 -1
  126. package/storybook-static/assets/ODataTreeMultiSelect.stories-BJpkyABJ.js +28 -0
  127. package/storybook-static/assets/{ODataTreeSelect-Dxo-54Zi.js → ODataTreeSelect-Dmk59MWR.js} +1 -1
  128. package/storybook-static/assets/{ODataTreeSelect.stories-B3SQ3ubn.js → ODataTreeSelect.stories-KV2ngm1a.js} +1 -1
  129. package/storybook-static/assets/{PeriodSelect-B2brJahg.js → PeriodSelect-xv0hygbe.js} +1 -1
  130. package/storybook-static/assets/{PeriodSelect.stories-Je8sNgoc.js → PeriodSelect.stories-D9VNWc-J.js} +1 -1
  131. package/storybook-static/assets/{Popover-Dqyna8Ub.js → Popover-DI7zaH4O.js} +1 -1
  132. package/storybook-static/assets/{Popover.stories-DHGRJd3v.js → Popover.stories-CA57v2N3.js} +1 -1
  133. package/storybook-static/assets/{PresetRangeDateInput-Bq32kP8I.js → PresetRangeDateInput-3AIccdEE.js} +1 -1
  134. package/storybook-static/assets/{PresetRangeDateInput.stories-C34e4bWa.js → PresetRangeDateInput.stories-7pPiYINM.js} +1 -1
  135. package/storybook-static/assets/{RadioButton-D6gcuP42.js → RadioButton-BGfGiK2D.js} +1 -1
  136. package/storybook-static/assets/{RadioButton.stories-CcupC0LJ.js → RadioButton.stories-BOeSQ7Qy.js} +1 -1
  137. package/storybook-static/assets/{RadioGroup-BfsMzoOg.js → RadioGroup-BXdWvE2x.js} +1 -1
  138. package/storybook-static/assets/{RadioGroup-B1nKl71P.js → RadioGroup-BteZ8Zfh.js} +1 -1
  139. package/storybook-static/assets/{RadioGroup.stories-WojhAYJm.js → RadioGroup.stories-DdCAD6fi.js} +1 -1
  140. package/storybook-static/assets/{Select-_QFx3i7X.js → Select-BA_oiGy1.js} +1 -1
  141. package/storybook-static/assets/{Select-BxZr4NfI.js → Select-S1Kq352p.js} +1 -1
  142. package/storybook-static/assets/{Select.stories-2_XweKMH.js → Select.stories-0y2Tbi0E.js} +1 -1
  143. package/storybook-static/assets/{SelectOptionContent-YY3Lf4SM.js → SelectOptionContent-DNO6pn8i.js} +1 -1
  144. package/storybook-static/assets/{SerializableSelect-BxIcA2AU.js → SerializableSelect-DLLMZfeg.js} +1 -1
  145. package/storybook-static/assets/{SerializableSelect-CDQfz0rk.js → SerializableSelect-d1Emzd9y.js} +1 -1
  146. package/storybook-static/assets/{SerializableSelect.stories-D23YkoRX.js → SerializableSelect.stories-DlrUNt98.js} +1 -1
  147. package/storybook-static/assets/{SingleDateTimeInput-Ds1pL3ge.js → SingleDateTimeInput-PZjf5coN.js} +1 -1
  148. package/storybook-static/assets/{SingleDateTimeInput.stories-DaHEQhiz.js → SingleDateTimeInput.stories-D-LF20Xf.js} +1 -1
  149. package/storybook-static/assets/{Slider-D4sBhVAB.js → Slider-Cnt-h4QU.js} +1 -1
  150. package/storybook-static/assets/{Slider.stories-BsM03Rby.js → Slider.stories-CspORXQq.js} +1 -1
  151. package/storybook-static/assets/{SliderInput-cP0GSpO-.js → SliderInput-DKEzvdee.js} +1 -1
  152. package/storybook-static/assets/{SliderInput.stories-BGk9ZIYB.js → SliderInput.stories-Ds7ENz3W.js} +1 -1
  153. package/storybook-static/assets/{Sortable-CW9mxBpj.js → Sortable-Boktuyds.js} +1 -1
  154. package/storybook-static/assets/{Sortable.stories-CkFOw5CW.js → Sortable.stories-DVP9I-8-.js} +1 -1
  155. package/storybook-static/assets/{Splitter-BFbFbn0X.js → Splitter-DjjitTJC.js} +1 -1
  156. package/storybook-static/assets/{Splitter.stories-Dj4bWJtu.js → Splitter.stories-TONEtB2o.js} +1 -1
  157. package/storybook-static/assets/{StateSelect-CHvxD1oY.js → StateSelect-CKS5OKFD.js} +1 -1
  158. package/storybook-static/assets/{StateSelect.stories-DiAdGF8Q.js → StateSelect.stories-1PpI7sB7.js} +1 -1
  159. package/storybook-static/assets/{Switch-DzE9B2Ue.js → Switch-DJpASzdE.js} +1 -1
  160. package/storybook-static/assets/{Switch.stories-DmRSgOsO.js → Switch.stories-DFrplfI2.js} +1 -1
  161. package/storybook-static/assets/{Table-DgbZNzAp.js → Table-BhHNM7kb.js} +1 -1
  162. package/storybook-static/assets/{Table.stories-DqYHNHnR.js → Table.stories-BifwgPO8.js} +1 -1
  163. package/storybook-static/assets/{Tabs-DSUhNbam.js → Tabs-p9UXYlyD.js} +1 -1
  164. package/storybook-static/assets/{Tabs.stories-DKsEFwhg.js → Tabs.stories-Fiib2sS7.js} +1 -1
  165. package/storybook-static/assets/{TagInput.stories-B8x2doJL.js → TagInput.stories-Gg038VKV.js} +1 -1
  166. package/storybook-static/assets/{Textarea-ZqM5o8fk.js → Textarea-SlgV7esV.js} +1 -1
  167. package/storybook-static/assets/{Textarea.stories-B0IBcsuI.js → Textarea.stories-DBFORAfY.js} +1 -1
  168. package/storybook-static/assets/{TimePanel-DFVpYrKi.js → TimePanel-C0P98Tt-.js} +1 -1
  169. package/storybook-static/assets/{TimePanel.stories-Dah8MdEV.js → TimePanel.stories-Dp993HaV.js} +1 -1
  170. package/storybook-static/assets/{Toggle-CE93J6yJ.js → Toggle-CWy__Mll.js} +1 -1
  171. package/storybook-static/assets/{Toggle.stories-DQSLZ16I.js → Toggle.stories-BvLgd3ea.js} +1 -1
  172. package/storybook-static/assets/TreeMultiSelect-CDFFjZnT.js +1 -0
  173. package/storybook-static/assets/{TreeMultiSelect-DtUozmC9.js → TreeMultiSelect-CrDJlnbX.js} +1 -1
  174. package/storybook-static/assets/TreeMultiSelect.stories-C3zkS-ak.js +31 -0
  175. package/storybook-static/assets/TreePickerBase-B35lReuv.css +1 -0
  176. package/storybook-static/assets/TreePickerBase-Bn8pSo-u.js +22 -0
  177. package/storybook-static/assets/{TreeSelect-C1dHJDVC.js → TreeSelect-BrFxwiBP.js} +1 -1
  178. package/storybook-static/assets/TreeSelect-CuaoMlYe.js +1 -0
  179. package/storybook-static/assets/{TreeSelect.stories-C_fffAaM.js → TreeSelect.stories-rzd0vNoK.js} +1 -1
  180. package/storybook-static/assets/{TreeTable-mGpVE4fE.js → TreeTable-uvfUlKoJ.js} +1 -1
  181. package/storybook-static/assets/{TreeTable.stories-on_ck1LO.js → TreeTable.stories-FUOaBB9J.js} +1 -1
  182. package/storybook-static/assets/{WithTooltip-7X4HQR7L-BP3dvWMO.js → WithTooltip-7X4HQR7L-LW5ygQJA.js} +1 -1
  183. package/storybook-static/assets/base-table-DPs5qte-.js +18 -0
  184. package/storybook-static/assets/{blocks-CdNjp0UR.js → blocks-C6uFFMmb.js} +6 -6
  185. package/storybook-static/assets/{button-mxhQ6kpI.js → button-DyEbX-UX.js} +1 -1
  186. package/storybook-static/assets/{check-box-CuugSv5K.js → check-box-ByXAYB_w.js} +1 -1
  187. package/storybook-static/assets/{chunk-3LY4VQVK-CNZt5fIP.js → chunk-3LY4VQVK-D0GJRVS7.js} +1 -1
  188. package/storybook-static/assets/{chunk-LITCR56V--UakKRHa.js → chunk-LITCR56V-CElM9plZ.js} +1 -1
  189. package/storybook-static/assets/{contextMenu-DRYHg4YV.js → contextMenu-BQKOQzU1.js} +1 -1
  190. package/storybook-static/assets/{error-s5vKL37a.js → error-SC0Oqs6M.js} +1 -1
  191. package/storybook-static/assets/{flex-4NGrP0a9.js → flex-BOqV4dzk.js} +1 -1
  192. package/storybook-static/assets/floating-ui.react-CiEPwtuP.js +1 -0
  193. package/storybook-static/assets/formatter-L2YTDE3Q-DfQ24eKP.js +1 -0
  194. package/storybook-static/assets/{formatters-D4nD5Nic.js → formatters-C29y1vJ_.js} +1 -1
  195. package/storybook-static/assets/grid-DNJaN2X3.js +1 -0
  196. package/storybook-static/assets/hooks-4Gvtb540.js +5 -0
  197. package/storybook-static/assets/{iframe-BxBCFrOJ.js → iframe-Cqdlb8-A.js} +3 -3
  198. package/storybook-static/assets/{input-CjJ-AgIT.js → input-BcaISJRy.js} +1 -1
  199. package/storybook-static/assets/{lucide-react-BmnaUuit.js → lucide-react-BdqrDz6_.js} +1 -1
  200. package/storybook-static/assets/{mdx-react-shim-BEzdmfRR.js → mdx-react-shim-Rn_bm6Wj.js} +1 -1
  201. package/storybook-static/assets/{media-NSeJNB4V.js → media-dmdQkM5d.js} +1 -1
  202. package/storybook-static/assets/{misc-_2j1xxm-.js → misc-C1Uf9TI0.js} +1 -1
  203. package/storybook-static/assets/{notifications-Bb4NwpnZ.js → notifications-Br3lffDl.js} +1 -1
  204. package/storybook-static/assets/{odata-DkCpE6Ui.js → odata-BT-Vuah1.js} +1 -1
  205. package/storybook-static/assets/odata-service-QOs47Qvv.js +1 -0
  206. package/storybook-static/assets/{odataStoryFixtures-h0MkHLcZ.js → odataStoryFixtures-CEQgZ8Ju.js} +1 -1
  207. package/storybook-static/assets/{picker-BmTTr59E.css → picker-DzBkX15M.css} +1 -1
  208. package/storybook-static/assets/picker-eODRzsH5.js +2 -0
  209. package/storybook-static/assets/{popover-DBec4vEA.js → popover-Cf-d9CBe.js} +2 -2
  210. package/storybook-static/assets/{preset-select-CaY8SOYT.js → preset-select-Divqvyhr.js} +1 -1
  211. package/storybook-static/assets/{react-18-DPMOLLe1.js → react-18-C8ZBY1Ky.js} +1 -1
  212. package/storybook-static/assets/{react-dom-BKRiX1TT.js → react-dom-DEo6Vc1z.js} +1 -1
  213. package/storybook-static/assets/{react-0gkFNWVQ.js → react-oW-8yUPs.js} +1 -1
  214. package/storybook-static/assets/select-B2Yo9S2f.js +1 -0
  215. package/storybook-static/assets/{slider-BqG2yvL2.js → slider-BgZTddiR.js} +1 -1
  216. package/storybook-static/assets/{sortable-Viqf8wuB.js → sortable-BZttsbB-.js} +1 -1
  217. package/storybook-static/assets/{syntaxhighlighter-RTCFPKCB-DuzwRVHO.js → syntaxhighlighter-RTCFPKCB-DHMad3_O.js} +1 -1
  218. package/storybook-static/assets/{text-B62c97-X.js → text-DX5yXvyz.js} +1 -1
  219. package/storybook-static/assets/{theming-CG2b7751.js → theming-x5D2-3Wh.js} +1 -1
  220. package/storybook-static/assets/ui-CuulZK-0.js +1 -0
  221. package/storybook-static/assets/{useODataSelectBase-J0YKxol4.js → useODataSelectBase-ByD_yhA4.js} +1 -1
  222. package/storybook-static/assets/{useODataTreeData-wlNQaI0p.js → useODataTreeData-C-pt6PNC.js} +1 -1
  223. package/storybook-static/assets/{utils-CMnxoKbT.js → utils-238J8rpj.js} +1 -1
  224. package/storybook-static/iframe.html +1 -1
  225. package/storybook-static/index.json +1 -1
  226. package/storybook-static/project.json +1 -1
  227. package/dist/chunks/check-box-BowNqqd3.js +0 -48
  228. package/dist/chunks/check-box-BowNqqd3.js.map +0 -1
  229. package/dist/chunks/multi-select-BCpRct-k.js.map +0 -1
  230. package/dist/chunks/picker-DTZk09Ag.js.map +0 -1
  231. package/dist/multi-select/ui/MultiSelectOptionsToolbar.d.ts +0 -8
  232. package/dist/multi-select/ui/MultiSelectOptionsToolbar.d.ts.map +0 -1
  233. package/storybook-static/assets/CheckBox-m8RUUjvq.js +0 -2
  234. package/storybook-static/assets/CheckBox.module-Hr3mvdAC.js +0 -1
  235. package/storybook-static/assets/MultiSelect-BUWlGDnx.js +0 -2
  236. package/storybook-static/assets/ODataTreeMultiSelect.stories-Be4AaF8U.js +0 -24
  237. package/storybook-static/assets/TreeMultiSelect-Cm8XLcaB.js +0 -1
  238. package/storybook-static/assets/TreeMultiSelect.stories-DKd_qDqk.js +0 -14
  239. package/storybook-static/assets/TreePickerBase-qreyVjhY.css +0 -1
  240. package/storybook-static/assets/TreePickerBase-xFkOCgy0.js +0 -19
  241. package/storybook-static/assets/TreeSelect-C0Oxcp_s.js +0 -1
  242. package/storybook-static/assets/base-table-XPKfaZOF.js +0 -18
  243. package/storybook-static/assets/floating-ui.react-DV6_xxif.js +0 -1
  244. package/storybook-static/assets/formatter-L2YTDE3Q-BC5xVOel.js +0 -1
  245. package/storybook-static/assets/grid-DZrPQELi.js +0 -1
  246. package/storybook-static/assets/hooks-hqscBU_x.js +0 -5
  247. package/storybook-static/assets/odata-service-BO_9B-Az.js +0 -1
  248. package/storybook-static/assets/picker-CxN205s6.js +0 -1
  249. package/storybook-static/assets/select-C23Vd0JX.js +0 -1
  250. package/storybook-static/assets/ui-CAk1ISqX.js +0 -1
@@ -1,4 +1,4 @@
1
- import{a as e,c as t,i as n,s as r}from"./preload-helper-B45gAKPr.js";import{C as i}from"./iframe-BxBCFrOJ.js";import{t as a}from"./jsx-runtime-BBQGix-2.js";var o,s,c=n((()=>{o=t(i(),1),s=(0,o.createContext)({})}));function l(e){let t=(0,u.useRef)(null);return t.current===null&&(t.current=e()),t.current}var u,d=n((()=>{u=t(i(),1)})),f,p=n((()=>{f=typeof window<`u`})),m,h,g=n((()=>{m=t(i(),1),p(),h=f?m.useLayoutEffect:m.useEffect})),_,v,y=n((()=>{_=t(i(),1),v=(0,_.createContext)(null)}));function b(e,t){e.indexOf(t)===-1&&e.push(t)}function x(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var S=n((()=>{})),C,ee=n((()=>{C=(e,t,n)=>n>t?t:n<e?e:n})),w,T,te=n((()=>{w=()=>{},T=()=>{}})),ne,re=n((()=>{ne={}})),ie,ae=n((()=>{ie=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)})),oe,se=n((()=>{oe=e=>typeof e==`object`&&!!e})),ce,le=n((()=>{ce=e=>/^0[^.\s]+$/u.test(e)}));function ue(e){let t;return()=>(t===void 0&&(t=e()),t)}var de=n((()=>{})),E,fe=n((()=>{E=e=>e})),pe,me=n((()=>{pe=(...e)=>e.reduce((e,t)=>n=>t(e(n)))})),he,ge=n((()=>{he=(e,t,n)=>{let r=t-e;return r?(n-e)/r:1}})),_e,ve=n((()=>{S(),_e=class{constructor(){this.subscriptions=[]}add(e){return b(this.subscriptions,e),()=>x(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}}})),D,O,ye=n((()=>{D=e=>e*1e3,O=e=>e/1e3})),be,xe=n((()=>{be=(e,t)=>t?1e3/t*e:0}));function Se(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=we(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>Te&&++s<Ee);return o}function Ce(e,t,n,r){if(e===t&&n===r)return E;let i=t=>Se(t,0,1,e,n);return e=>e===0||e===1?e:we(i(e),t,r)}var we,Te,Ee,De=n((()=>{fe(),we=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Te=1e-7,Ee=12})),Oe,ke=n((()=>{Oe=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2})),Ae,je=n((()=>{Ae=e=>t=>1-e(1-t)})),Me,Ne,Pe,Fe=n((()=>{De(),ke(),je(),Me=Ce(.33,1.53,.69,.99),Ne=Ae(Me),Pe=Oe(Ne)})),Ie,Le=n((()=>{Fe(),Ie=e=>e>=1?1:(e*=2)<1?.5*Ne(e):.5*(2-2**(-10*(e-1)))})),Re,ze,Be,Ve=n((()=>{ke(),je(),Re=e=>1-Math.sin(Math.acos(e)),ze=Ae(Re),Be=Oe(Re)})),He,Ue,We,Ge=n((()=>{De(),He=Ce(.42,0,1,1),Ue=Ce(0,0,.58,1),We=Ce(.42,0,.58,1)})),Ke,qe=n((()=>{Ke=e=>Array.isArray(e)&&typeof e[0]!=`number`})),Je,Ye=n((()=>{Je=e=>Array.isArray(e)&&typeof e[0]==`number`})),Xe,Ze,Qe,$e=n((()=>{te(),fe(),Le(),Fe(),Ve(),De(),Ge(),Ye(),Xe={linear:E,easeIn:He,easeInOut:We,easeOut:Ue,circIn:Re,circInOut:Be,circOut:ze,backIn:Ne,backInOut:Pe,backOut:Me,anticipate:Ie},Ze=e=>typeof e==`string`,Qe=e=>{if(Je(e)){T(e.length===4,`Cubic bezier arrays must contain four numerical values.`,`cubic-bezier-length`);let[t,n,r,i]=e;return Ce(t,n,r,i)}else if(Ze(e))return T(Xe[e]!==void 0,`Invalid easing type '${e}'`,`invalid-easing-type`),Xe[e];return e}})),k=n((()=>{S(),ee(),te(),re(),ae(),se(),le(),de(),fe(),me(),ge(),ve(),ye(),xe(),Le(),Fe(),Ve(),De(),Ge(),ke(),je(),qe(),Ye(),$e()})),et,tt=n((()=>{et=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`]}));function nt(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}var rt=n((()=>{}));function it(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=et.reduce((e,t)=>(e[t]=nt(a),e),{}),{setup:s,read:c,resolveKeyframes:l,preUpdate:u,update:d,preRender:f,render:p,postRender:m}=o,h=()=>{let a=ne.useManualTiming,o=a?i.timestamp:performance.now();n=!1,a||(i.delta=r?1e3/60:Math.max(Math.min(o-i.timestamp,at),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:et.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<et.length;t++)o[et[t]].cancel(e)},state:i,steps:o}}var at,ot=n((()=>{k(),tt(),rt(),at=40})),A,st,j,ct,M=n((()=>{k(),ot(),{schedule:A,cancel:st,state:j,steps:ct}=it(typeof requestAnimationFrame<`u`?requestAnimationFrame:E,!0)}));function lt(){ut=void 0}var ut,N,dt=n((()=>{k(),M(),N={now:()=>(ut===void 0&&N.set(j.isProcessing||ne.useManualTiming?j.timestamp:performance.now()),ut),set:e=>{ut=e,queueMicrotask(lt)}}}));function ft(e){return typeof e==`string`?e.split(`/*`)[0].includes(`var(--`):!1}var pt,mt,ht,gt,_t,vt=n((()=>{pt=e=>t=>typeof t==`string`&&t.startsWith(e),mt=pt(`--`),ht=pt(`var(--`),gt=e=>ht(e)?_t.test(e.split(`/*`)[0].trim()):!1,_t=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu})),yt,bt,xt,St=n((()=>{k(),yt={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},bt={...yt,transform:e=>C(0,1,e)},xt={...yt,default:1}})),Ct,wt=n((()=>{Ct=e=>Math.round(e*1e5)/1e5})),Tt,Et=n((()=>{Tt=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu}));function Dt(e){return e==null}var Ot=n((()=>{})),kt,At=n((()=>{kt=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu})),jt,Mt,Nt=n((()=>{Et(),Ot(),At(),jt=(e,t)=>n=>!!(typeof n==`string`&&kt.test(n)&&n.startsWith(e)||t&&!Dt(n)&&Object.prototype.hasOwnProperty.call(n,t)),Mt=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(Tt);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}}})),Pt,Ft,It,Lt=n((()=>{k(),St(),wt(),Nt(),Pt=e=>C(0,255,e),Ft={...yt,transform:e=>Math.round(Pt(e))},It={test:jt(`rgb`,`red`),parse:Mt(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+Ft.transform(e)+`, `+Ft.transform(t)+`, `+Ft.transform(n)+`, `+Ct(bt.transform(r))+`)`}}));function Rt(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 zt,Bt=n((()=>{Lt(),Nt(),zt={test:jt(`#`),parse:Rt,transform:It.transform}})),Vt,P,F,I,Ht,Ut,Wt,L=n((()=>{Vt=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),P=Vt(`deg`),F=Vt(`%`),I=Vt(`px`),Ht=Vt(`vh`),Ut=Vt(`vw`),Wt={...F,parse:e=>F.parse(e)/100,transform:e=>F.transform(e*100)}})),Gt,Kt=n((()=>{St(),L(),wt(),Nt(),Gt={test:jt(`hsl`,`hue`),parse:Mt(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+F.transform(Ct(t))+`, `+F.transform(Ct(n))+`, `+Ct(bt.transform(r))+`)`}})),R,qt=n((()=>{Bt(),Kt(),Lt(),R={test:e=>It.test(e)||zt.test(e)||Gt.test(e),parse:e=>It.test(e)?It.parse(e):Gt.test(e)?Gt.parse(e):zt.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?It.transform(e):Gt.transform(e),getAnimatableNone:e=>{let t=R.parse(e);return t.alpha=0,R.transform(t)}}})),Jt,Yt=n((()=>{Jt=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu}));function Xt(e){return isNaN(e)&&typeof e==`string`&&(e.match(Tt)?.length||0)+(e.match(Jt)?.length||0)>0}function Zt(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(cn,e=>(R.test(e)?(r.color.push(a),i.push(rn),n.push(R.parse(e))):e.startsWith(on)?(r.var.push(a),i.push(an),n.push(e)):(r.number.push(a),i.push(nn),n.push(parseFloat(e))),++a,sn)).split(sn),indexes:r,types:i}}function Qt(e){return Zt(e).values}function $t({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];e===nn?i+=Ct(r[a]):e===rn?i+=R.transform(r[a]):i+=r[a]}return i}}function en(e){return $t(Zt(e))}function tn(e){let t=Zt(e);return $t(t)(t.values.map((e,n)=>un(e,t.split[n])))}var nn,rn,an,on,sn,cn,ln,un,z,B=n((()=>{qt(),Yt(),Et(),wt(),nn=`number`,rn=`color`,an=`var`,on=`var(`,sn="${}",cn=/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,ln=e=>typeof e==`number`?0:R.test(e)?R.getAnimatableNone(e):e,un=(e,t)=>typeof e==`number`?t?.trim().endsWith(`/`)?e:0:ln(e),z={test:Xt,parse:Qt,createTransformer:en,getAnimatableNone:tn}}));function dn(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 fn({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=dn(s,r,e+1/3),a=dn(s,r,e),o=dn(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}var pn=n((()=>{}));function mn(e,t){return n=>n>0?t:e}var hn=n((()=>{})),V,H=n((()=>{V=(e,t,n)=>e+(t-e)*n}));function gn(e){let t=yn(e);if(w(!!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===Gt&&(n=fn(n)),n}var _n,vn,yn,bn,xn=n((()=>{k(),Bt(),Kt(),pn(),Lt(),hn(),H(),_n=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},vn=[zt,It,Gt],yn=e=>vn.find(t=>t.test(e)),bn=(e,t)=>{let n=gn(e),r=gn(t);if(!n||!r)return mn(e,t);let i={...n};return e=>(i.red=_n(n.red,r.red,e),i.green=_n(n.green,r.green,e),i.blue=_n(n.blue,r.blue,e),i.alpha=V(n.alpha,r.alpha,e),It.transform(i))}}));function Sn(e,t){return Cn.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}var Cn,wn=n((()=>{Cn=new Set([`none`,`hidden`])}));function Tn(e,t){return n=>V(e,t,n)}function En(e){return typeof e==`number`?Tn:typeof e==`string`?gt(e)?mn:R.test(e)?bn:An:Array.isArray(e)?Dn:typeof e==`object`?R.test(e)?bn:On:mn}function Dn(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>En(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function On(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=En(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}function kn(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]];n[i]=e.values[o]??0,r[a]++}return n}var An,jn=n((()=>{k(),vt(),qt(),B(),xn(),hn(),H(),wn(),An=(e,t)=>{let n=z.createTransformer(t),r=Zt(e),i=Zt(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?Cn.has(e)&&!i.values.length||Cn.has(t)&&!r.values.length?Sn(e,t):pe(Dn(kn(r,i),i.values),n):(w(!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`),mn(e,t))}}));function Mn(e,t,n){return typeof e==`number`&&typeof t==`number`&&typeof n==`number`?V(e,t,n):En(e)(e,t)}var Nn=n((()=>{jn(),H()})),Pn,Fn=n((()=>{dt(),M(),Pn=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>A.update(t,e),stop:()=>st(t),now:()=>j.isProcessing?j.timestamp:N.now()}}})),In,Ln=n((()=>{In=(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 Rn(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 zn,Bn=n((()=>{zn=2e4}));function Vn(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(Rn(r),zn);return{type:`keyframes`,ease:e=>r.next(i*e).value/t,duration:O(i)}}var Hn=n((()=>{k(),Bn()}));function Un(e,t){return e*Math.sqrt(1-t*t)}function Wn(e,t,n){let r=n;for(let n=1;n<Yn;n++)r-=e(r)/t(r);return r}function Gn({duration:e=U.duration,bounce:t=U.bounce,velocity:n=U.velocity,mass:r=U.mass}){let i,a;w(e<=D(U.maxDuration),`Spring duration must be 10 seconds or less`,`spring-duration-limit`);let o=1-t;o=C(U.minDamping,U.maxDamping,o),e=C(U.minDuration,U.maxDuration,O(e)),o<1?(i=t=>{let r=t*o,i=r*e,a=r-n,s=Un(t,o),c=Math.exp(-i);return Xn-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=Un(t**2,o);return(-i(t)+Xn>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=Wn(i,a,s);if(e=D(e),isNaN(c))return{stiffness:U.stiffness,damping:U.damping,duration:e};{let t=c**2*r;return{stiffness:t,damping:o*2*Math.sqrt(r*t),duration:e}}}function Kn(e,t){return t.some(t=>e[t]!==void 0)}function qn(e){let t={velocity:U.velocity,stiffness:U.stiffness,damping:U.damping,mass:U.mass,isResolvedFromDuration:!1,...e};if(!Kn(e,Qn)&&Kn(e,Zn))if(t.velocity=0,e.visualDuration){let n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*C(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:U.mass,stiffness:i,damping:a}}else{let n=Gn({...e,velocity:0});t={...t,...n,mass:U.mass},t.isResolvedFromDuration=!0}return t}function Jn(e=U.visualDuration,t=U.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}=qn({...n,velocity:-O(n.velocity||0)}),m=f||0,h=l/(2*Math.sqrt(c*u)),g=o-a,_=O(Math.sqrt(c/u)),v=Math.abs(g)<5;r||=v?U.restSpeed.granular:U.restSpeed.default,i||=v?U.restDelta.granular:U.restDelta.default;let y,b,x,S,C,ee;if(h<1)x=Un(_,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,ee=h*_*g-S*x,b=e=>Math.exp(-h*_*e)*(C*Math.sin(x*e)+ee*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 w={calculatedDuration:p&&d||null,velocity:e=>D(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=D(t*(C*n+ee*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=D(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(Rn(w),zn),t=In(t=>w.next(e*t).value,e,30);return e+`ms `+t},toTransition:()=>{}};return w}var U,Yn,Xn,Zn,Qn,$n=n((()=>{k(),Ln(),Bn(),Hn(),U={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},Yn=12,Xn=.001,Zn=[`duration`,`bounce`],Qn=[`stiffness`,`damping`,`mass`],Jn.applyToOptions=e=>{let t=Vn(e,100,Jn);return e.ease=t.ease,e.duration=D(t.duration),e.type=`keyframes`,e}}));function er(e,t,n){let r=Math.max(t-tr,0);return be(n-e(r),t-r)}var tr,nr=n((()=>{k(),tr=5}));function rr({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=Jn({keyframes:[f.value,m(f.value)],velocity:er(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)}}}var ir=n((()=>{$n(),nr()}));function ar(e,t,n){let r=[],i=n||ne.mix||Mn,a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);t&&(a=pe(Array.isArray(t)?t[n]||E:t,a)),r.push(a)}return r}function or(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let a=e.length;if(T(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=ar(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=he(e[r],e[r+1],n);return s[r](i)};return n?t=>l(C(e[0],e[a-1],t)):l}var sr=n((()=>{k(),Nn()}));function cr(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=he(0,t,r);e.push(V(n,1,i))}}var lr=n((()=>{k(),H()}));function ur(e){let t=[0];return cr(t,e.length-1),t}var dr=n((()=>{lr()}));function fr(e,t){return e.map(e=>e*t)}var pr=n((()=>{}));function mr(e,t){return e.map(()=>t||We).splice(0,e.length-1)}function hr({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`}){let i=Ke(r)?r.map(Qe):Qe(r),a={done:!1,value:t[0]},o=or(fr(n&&n.length===t.length?n:ur(t),e),t,{ease:Array.isArray(i)?i:mr(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}var gr=n((()=>{k(),sr(),dr(),pr()}));function _r(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter(vr),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var vr,yr=n((()=>{vr=e=>e!==null}));function br(e){typeof e.type==`string`&&(e.type=xr[e.type])}var xr,Sr=n((()=>{ir(),gr(),$n(),xr={decay:rr,inertia:rr,tween:hr,keyframes:hr,spring:Jn}})),Cr,wr=n((()=>{Cr=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)}}})),Tr,Er,Dr=n((()=>{k(),dt(),Nn(),Fn(),ir(),gr(),Bn(),nr(),yr(),Sr(),wr(),Tr=e=>e/100,Er=class extends Cr{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!==N.now()&&this.tick(N.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;br(e);let{type:t=hr,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||hr;s!==hr&&typeof o[0]!=`number`&&(this.mixKeyframes=pe(Tr,Mn(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=Rn(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.holdTime===null?this.currentTime=t:this.currentTime=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=C(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:x}=b;!_&&s!==null&&(x=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let S=this.holdTime===null&&(this.state===`finished`||this.state===`running`&&x);return S&&p!==rr&&(b.value=_r(l,this.options,h,this.speed)),m&&m(b.value),S&&this.finish(),b}then(e,t){return this.finished.then(e,t)}get duration(){return O(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+O(e)}get time(){return O(this.currentTime)}set time(e){e=D(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 er(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(N.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=O(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=Pn,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(N.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 Or(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var kr=n((()=>{}));function Ar(e){return+!!e.includes(`scale`)}function jr(e,t){if(!e||e===`none`)return Ar(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,i;if(n)r=Br,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=Fr,i=t}if(!i)return Ar(t);let a=r[t],o=i[1].split(`,`).map(Mr);return typeof a==`function`?a(o):o[a]}function Mr(e){return parseFloat(e.trim())}var Nr,Pr,Fr,Ir,Lr,Rr,zr,Br,Vr,Hr=n((()=>{Nr=e=>e*180/Math.PI,Pr=e=>{let t=Nr(Math.atan2(e[1],e[0]));return Ir(t)},Fr={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Pr,rotateZ:Pr,skewX:e=>Nr(Math.atan(e[1])),skewY:e=>Nr(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Ir=e=>(e%=360,e<0&&(e+=360),e),Lr=Pr,Rr=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),zr=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),Br={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Rr,scaleY:zr,scale:e=>(Rr(e)+zr(e))/2,rotateX:e=>Ir(Nr(Math.atan2(e[6],e[5]))),rotateY:e=>Ir(Nr(Math.atan2(-e[2],e[0]))),rotateZ:Lr,rotate:Lr,skewX:e=>Nr(Math.atan(e[4])),skewY:e=>Nr(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2},Vr=(e,t)=>{let{transform:n=`none`}=getComputedStyle(e);return jr(n,t)}})),Ur,Wr,W=n((()=>{Ur=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],Wr=new Set([...Ur,`pathRotation`])}));function Gr(e){let t=[];return Jr.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(+!!n.startsWith(`scale`)))}),t}var Kr,qr,Jr,Yr,Xr=n((()=>{Hr(),W(),St(),L(),Kr=e=>e===yt||e===I,qr=new Set([`x`,`y`,`z`]),Jr=Ur.filter(e=>!qr.has(e)),Yr={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})=>jr(t,`x`),y:(e,{transform:t})=>jr(t,`y`)},Yr.translateX=Yr.x,Yr.translateY=Yr.y}));function Zr(){if(ni){let e=Array.from(ei).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=Gr(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)})}ni=!1,ti=!1,ei.forEach(e=>e.complete(ri)),ei.clear()}function Qr(){ei.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(ni=!0)})}function $r(){ri=!0,Qr(),Zr(),ri=!1}var ei,ti,ni,ri,ii,ai=n((()=>{kr(),Xr(),M(),ei=new Set,ti=!1,ni=!1,ri=!1,ii=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?(ei.add(this),ti||(ti=!0,A.read(Qr),A.resolveKeyframes(Zr))):(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])}Or(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),ei.delete(this)}cancel(){this.state===`scheduled`&&(ei.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}}})),oi,si=n((()=>{oi=e=>e.startsWith(`--`)}));function ci(e,t,n){oi(t)?e.style.setProperty(t,n):e.style[t]=n}var li=n((()=>{si()})),ui,di=n((()=>{ui={}}));function fi(e,t){let n=ue(e);return()=>ui[t]??n()}var pi=n((()=>{k(),di()})),mi,hi=n((()=>{pi(),mi=fi(()=>window.ScrollTimeline!==void 0,`scrollTimeline`)})),gi,_i=n((()=>{pi(),gi=fi(()=>{try{document.createElement(`div`).animate({opacity:0},{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`)})),vi,yi=n((()=>{vi=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`})),bi,xi=n((()=>{yi(),bi={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:vi([0,.65,.55,1]),circOut:vi([.55,0,1,.45]),backIn:vi([.31,.01,.66,-.59]),backOut:vi([.33,1.53,.69,.99])}}));function Si(e,t){if(e)return typeof e==`function`?gi()?In(e,t):`ease-out`:Je(e)?vi(e):Array.isArray(e)?e.map(e=>Si(e,t)||bi.easeOut):bi[e]}var Ci=n((()=>{k(),_i(),Ln(),yi(),xi()}));function wi(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=Si(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)}var Ti=n((()=>{Ci()}));function Ei(e){return typeof e==`function`&&`applyToOptions`in e}var Di=n((()=>{}));function Oi({type:e,...t}){return Ei(e)&&gi()?e.applyToOptions(t):(t.duration??=300,t.ease??=`easeOut`,t)}var ki=n((()=>{_i(),Di()})),Ai,ji=n((()=>{k(),li(),hi(),yr(),wr(),Ti(),ki(),Ai=class extends Cr{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,T(typeof e.type!=`string`,`Mini animate() doesn't support "type" as a string.`,`mini-spring`);let c=Oi(e);this.animation=wi(t,n,r,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=_r(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),ci(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 O(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+O(e)}get time(){return O(Number(this.animation.currentTime)||0)}set time(e){let t=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=D(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&&mi()?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),E):r(this)}}}));function Mi(e){return e in Pi}function Ni(e){typeof e.ease==`string`&&Mi(e.ease)&&(e.ease=Pi[e.ease])}var Pi,Fi=n((()=>{k(),Pi={anticipate:Ie,backInOut:Pe,circInOut:Be}})),Ii,Li,Ri=n((()=>{k(),dt(),li(),Dr(),ji(),Sr(),Fi(),Ii=10,Li=class extends Ai{constructor(e){Ni(e),br(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 Er({...a,autoplay:!1}),s=Math.max(Ii,N.now()-this.startTime),c=C(0,Ii,s-Ii),l=o.sample(s).value,{name:u}=this.options;i&&u&&ci(i,u,l),t.setWithVelocity(o.sample(Math.max(0,s-c)).value,l,c),o.stop()}}})),zi,Bi=n((()=>{B(),zi=(e,t)=>t===`zIndex`?!1:!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(z.test(e)||e===`0`)&&!e.startsWith(`url(`))}));function Vi(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 Hi(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=zi(i,t),s=zi(a,t);return w(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:Vi(e)||(n===`spring`||Ei(n))&&r}var Ui=n((()=>{k(),Di(),Bi()}));function Wi(e){e.duration=0,e.type=`keyframes`}var Gi=n((()=>{})),Ki,qi=n((()=>{Ki=new Set([`opacity`,`clipPath`,`filter`,`transform`])}));function Ji(e){for(let t=0;t<e.length;t++)if(typeof e[t]==`string`&&Yi.test(e[t]))return!0;return!1}var Yi,Xi=n((()=>{Yi=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/}));function Zi(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:a,type:o,keyframes:s}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:c,transformTemplate:l}=t.owner.getProps();return $i()&&n&&(Ki.has(n)||Qi.has(n)&&Ji(s))&&(n!==`transform`||!l)&&!c&&!r&&i!==`mirror`&&a!==0&&o!==`inertia`}var Qi,$i,ea=n((()=>{k(),qi(),Xi(),Qi=new Set([`color`,`backgroundColor`,`outlineColor`,`fill`,`stroke`,`borderColor`,`borderTopColor`,`borderRightColor`,`borderBottomColor`,`borderLeftColor`]),$i=ue(()=>Object.hasOwnProperty.call(Element.prototype,`animate`))})),ta,na,ra=n((()=>{k(),dt(),Dr(),yr(),ai(),Ri(),Ui(),Gi(),wr(),ea(),ta=40,na=class extends Cr{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=N.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||ii;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=N.now();let u=!0;Hi(e,i,a,o)||(u=!1,(ne.instantAnimations||!s)&&l?.(_r(e,n,t)),e[0]=e[e.length-1],Wi(n),n.repeat=0);let d={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>ta?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},f=u&&!c&&Zi(d),p=d.motionValue?.owner?.current,m;if(f)try{m=new Li({...d,element:p})}catch{m=new Er(d)}else m=new Er(d);m.finished.then(()=>{this.notifyFinished()}).catch(E),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(),$r()),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 ia(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}var aa=n((()=>{}));function oa(e,t){return new ua(e,t)}var sa,ca,la,ua,da=n((()=>{k(),dt(),M(),sa=30,ca=e=>!isNaN(parseFloat(e)),la={current:void 0},ua=class{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=N.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=N.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=ca(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 _e);let n=this.events[e].add(t);return e===`change`?()=>{n(),A.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 la.current&&la.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=N.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>sa)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,sa);return be(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 fa(e,t){if(e?.inherit&&t){let{inherit:n,...r}=e;return{...t,...r}}return e}var pa=n((()=>{}));function ma(e,t){let n=e?.[t]??e?.default??e;return n===e?n:fa(n,e)}var ha=n((()=>{pa()})),ga,_a,va,ya,ba,xa=n((()=>{W(),ga={type:`spring`,stiffness:500,damping:25,restSpeed:10},_a=e=>({type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),va={type:`keyframes`,duration:.8},ya={type:`keyframes`,ease:[.25,.1,.35,1],duration:.3},ba=(e,{keyframes:t})=>t.length>2?va:Wr.has(e)?e.startsWith(`scale`)?_a(t[1]):ga:ya}));function Sa(e){for(let t in e)if(!Ca.has(t))return!0;return!1}var Ca,wa=n((()=>{Ca=new Set([`when`,`delay`,`delayChildren`,`staggerChildren`,`staggerDirection`,`repeat`,`repeatType`,`repeatDelay`,`from`,`elapsed`])})),Ta,Ea=n((()=>{k(),ra(),Dr(),ha(),Gi(),xa(),yr(),wa(),M(),Ta=(e,t,n,r={},i,a)=>o=>{let s=ma(r,e)||{},c=s.delay||r.delay||0,{elapsed:l=0}=r;l-=D(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,ba(e,u)),u.duration&&=D(u.duration),u.repeatDelay&&=D(u.repeatDelay),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(Wi(u),u.delay===0&&(d=!0)),(ne.instantAnimations||ne.skipAnimations||i?.shouldSkipAnimations||s.skipAnimations)&&(d=!0,Wi(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!a&&t.get()!==void 0){let e=_r(u.keyframes,s);if(e!==void 0){A.update(()=>{u.onUpdate(e),u.onComplete()});return}}return s.isSync?new Er(u):new na(u)}}));function Da(e){let t=ka.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}function Oa(e,t,n=1){T(n<=Aa,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,`max-css-var-depth`);let[r,i]=Da(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let e=a.trim();return ie(e)?parseFloat(e):e}return gt(i)?Oa(i,t,n+1):i}var ka,Aa,ja=n((()=>{k(),vt(),ka=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,Aa=4}));function Ma(e){let t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function Na(e,t,n,r){if(typeof t==`function`){let[i,a]=Ma(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]=Ma(r);t=t(n===void 0?e.custom:n,i,a)}return t}var Pa=n((()=>{}));function Fa(e,t,n){let r=e.getProps();return Na(r,t,n===void 0?r.custom:n,e)}var Ia=n((()=>{Pa()})),La,Ra=n((()=>{W(),La=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,...Ur])})),za,Ba=n((()=>{za=e=>Array.isArray(e)}));function Va(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,oa(n))}function Ha(e){return za(e)?e[e.length-1]||0:e}function Ua(e,t){let{transitionEnd:n={},transition:r={},...i}=Fa(e,t)||{};i={...i,...n};for(let t in i)Va(e,t,Ha(i[t]))}var Wa=n((()=>{da(),Ia(),Ba()})),G,Ga=n((()=>{G=e=>!!(e&&e.getVelocity)}));function Ka(e){return!!(G(e)&&e.add)}var qa=n((()=>{Ga()}));function Ja(e,t){let n=e.getValue(`willChange`);if(Ka(n))return n.add(t);if(!n&&ne.WillChange){let n=new ne.WillChange(`auto`);e.addValue(`willChange`,n),n.add(t)}}var Ya=n((()=>{k(),qa()}));function Xa(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}var Za=n((()=>{})),Qa,$a,eo=n((()=>{Za(),Qa=`framerAppearId`,$a=`data-`+Xa(Qa)}));function to(e){return e.props[$a]}var no=n((()=>{eo()}));function ro({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function io(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a,transitionEnd:o,...s}=t,c=e.getDefaultTransition();a=a?fa(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&&ro(f,t))continue;let o={delay:n,...ma(a||{},t)};u&&(o.skipAnimations=!0);let c=r.get();if(c!==void 0&&!r.isAnimating()&&!Array.isArray(i)&&i===c&&!o.velocity){A.update(()=>r.set(i));continue}let p=!1;if(window.MotionHandoffAnimation){let n=to(e);if(n){let e=window.MotionHandoffAnimation(n,t,A);e!==null&&(o.startTime=e,p=!0)}}Ja(e,t);let m=l??e.shouldReduceMotion;r.start(Ta(t,r,i,m&&La.has(t)?{type:!1}:o,e,p));let h=r.animation;h&&d.push(h)}if(o){let t=()=>A.update(()=>{o&&Ua(e,o)});d.length?Promise.all(d).then(t):t()}return d}var ao=n((()=>{ha(),pa(),Ra(),Wa(),Ya(),no(),Ea(),M()}));function oo(e,t,n={}){let r=Fa(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(io(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:a=0,staggerChildren:o,staggerDirection:s}=i;return so(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())}else return Promise.all([a(),o(n.delay)])}function so(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(oo(c,t,{...o,delay:n+(typeof r==`function`?0:r)+ia(e.variantChildren,c,r,i,a)}).then(()=>c.notify(`AnimationComplete`,t)));return Promise.all(s)}var co=n((()=>{Ia(),aa(),ao()}));function lo(e,t,n={}){e.notify(`AnimationStart`,t);let r;if(Array.isArray(t)){let i=t.map(t=>oo(e,t,n));r=Promise.all(i)}else if(typeof t==`string`)r=oo(e,t,n);else{let i=typeof t==`function`?Fa(e,t,n.custom):t;r=Promise.all(io(e,i,n))}return r.then(()=>{e.notify(`AnimationComplete`,t)})}var uo=n((()=>{Ia(),ao(),co()})),fo,po=n((()=>{fo={test:e=>e===`auto`,parse:e=>e}})),mo,ho=n((()=>{mo=e=>t=>t.test(e)})),go,_o,vo=n((()=>{po(),St(),L(),ho(),go=[yt,I,F,P,Ut,Ht,fo],_o=e=>go.find(mo(e))}));function yo(e){return typeof e==`number`?e===0:e===null?!0:e===`none`||e===`0`||ce(e)}var bo=n((()=>{k()}));function xo(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(Tt)||[];if(!r)return e;let i=n.replace(r,``),a=+!!So.has(t);return r!==n&&(a*=100),t+`(`+a+i+`)`}var So,Co,wo,To=n((()=>{B(),Et(),So=new Set([`brightness`,`contrast`,`saturate`,`opacity`]),Co=/\b([a-z-]*)\(.*?\)/gu,wo={...z,getAnimatableNone:e=>{let t=e.match(Co);return t?t.map(xo).join(` `):e}}})),Eo,Do=n((()=>{B(),Eo={...z,getAnimatableNone:e=>{let t=z.parse(e);return z.createTransformer(e)(t.map(e=>typeof e==`number`?0:typeof e==`object`?{...e,alpha:1}:e))}}})),Oo,ko=n((()=>{St(),Oo={...yt,transform:Math.round}})),Ao,jo=n((()=>{St(),L(),Ao={rotate:P,pathRotation:P,rotateX:P,rotateY:P,rotateZ:P,scale:xt,scaleX:xt,scaleY:xt,scaleZ:xt,skew:P,skewX:P,skewY:P,distance:I,translateX:I,translateY:I,translateZ:I,x:I,y:I,z:I,perspective:I,transformPerspective:I,opacity:bt,originX:Wt,originY:Wt,originZ:I}})),Mo,No=n((()=>{ko(),St(),L(),jo(),Mo={borderWidth:I,borderTopWidth:I,borderRightWidth:I,borderBottomWidth:I,borderLeftWidth:I,borderRadius:I,borderTopLeftRadius:I,borderTopRightRadius:I,borderBottomRightRadius:I,borderBottomLeftRadius:I,width:I,maxWidth:I,height:I,maxHeight:I,top:I,right:I,bottom:I,left:I,inset:I,insetBlock:I,insetBlockStart:I,insetBlockEnd:I,insetInline:I,insetInlineStart:I,insetInlineEnd:I,padding:I,paddingTop:I,paddingRight:I,paddingBottom:I,paddingLeft:I,paddingBlock:I,paddingBlockStart:I,paddingBlockEnd:I,paddingInline:I,paddingInlineStart:I,paddingInlineEnd:I,margin:I,marginTop:I,marginRight:I,marginBottom:I,marginLeft:I,marginBlock:I,marginBlockStart:I,marginBlockEnd:I,marginInline:I,marginInlineStart:I,marginInlineEnd:I,fontSize:I,backgroundPositionX:I,backgroundPositionY:I,...Ao,zIndex:Oo,fillOpacity:bt,strokeOpacity:bt,numOctaves:Oo}})),Po,Fo,Io=n((()=>{qt(),To(),Do(),No(),Po={...Mo,color:R,backgroundColor:R,outlineColor:R,fill:R,stroke:R,borderColor:R,borderTopColor:R,borderRightColor:R,borderBottomColor:R,borderLeftColor:R,filter:wo,WebkitFilter:wo,mask:Eo,WebkitMask:Eo},Fo=e=>Po[e]}));function Lo(e,t){let n=Fo(e);return Ro.has(n)||(n=z),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var Ro,zo=n((()=>{B(),To(),Do(),Io(),Ro=new Set([wo,Eo])}));function Bo(e,t,n){let r=0,i;for(;r<e.length&&!i;){let t=e[r];typeof t==`string`&&!Vo.has(t)&&Zt(t).values.length&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]=Lo(n,i)}var Vo,Ho=n((()=>{B(),zo(),Vo=new Set([`auto`,`none`,`0`])})),Uo,Wo=n((()=>{Ra(),vo(),ja(),vt(),ai(),bo(),Ho(),Xr(),Uo=class extends ii{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(),gt(r))){let i=Oa(r,t.current);i!==void 0&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!La.has(n)||e.length!==2)return;let[r,i]=e,a=_o(r),o=_o(i);if(ft(r)!==ft(i)&&Yr[n]){this.needsMeasurement=!0;return}if(a!==o)if(Kr(a)&&Kr(o))for(let t=0;t<e.length;t++){let n=e[t];typeof n==`string`&&(e[t]=parseFloat(n))}else Yr[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(e[t]===null||yo(e[t]))&&n.push(t);n.length&&Bo(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=Yr[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]=Yr[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()}}})),Go,Ko=n((()=>{Go=[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomRightRadius`,`borderBottomLeftRadius`]}));function qo(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 Jo=n((()=>{})),Yo,Xo=n((()=>{Yo=(e,t)=>t&&typeof e==`number`?t.transform(e):e}));function Zo(e){return oe(e)&&`offsetHeight`in e&&!(`ownerSVGElement`in e)}var Qo=n((()=>{k()})),$o,es,ts=n((()=>{ot(),{schedule:$o,cancel:es}=it(queueMicrotask,!1)}));function ns(){return K.x||K.y}var K,rs=n((()=>{K={x:!1,y:!1}}));function is(e){return e===`x`||e===`y`?K[e]?null:(K[e]=!0,()=>{K[e]=!1}):K.x||K.y?null:(K.x=K.y=!0,()=>{K.x=K.y=!1})}var as=n((()=>{rs()}));function os(e,t){let n=qo(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}var ss=n((()=>{Jo()}));function cs(e){return!(e.pointerType===`touch`||ns())}function ls(e,t,n={}){let[r,i,a]=os(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(!cs(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}var us=n((()=>{rs(),ss()})),ds,fs=n((()=>{ds=(e,t)=>t?e===t?!0:ds(e,t.parentElement):!1})),ps,ms=n((()=>{ps=e=>e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1}));function hs(e){return _s.has(e.tagName)||e.isContentEditable===!0}function gs(e){return vs.has(e.tagName)||e.isContentEditable===!0}var _s,vs,ys=n((()=>{_s=new Set([`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`,`A`]),vs=new Set([`INPUT`,`SELECT`,`TEXTAREA`])})),bs,xs=n((()=>{bs=new WeakSet}));function Ss(e){return t=>{t.key===`Enter`&&e(t)}}function Cs(e,t){e.dispatchEvent(new PointerEvent(`pointer`+t,{isPrimary:!0,bubbles:!0}))}var ws,Ts=n((()=>{xs(),ws=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=Ss(()=>{if(bs.has(n))return;Cs(n,`down`);let e=Ss(()=>{Cs(n,`up`)});n.addEventListener(`keyup`,e,t),n.addEventListener(`blur`,()=>Cs(n,`cancel`),t)});n.addEventListener(`keydown`,r,t),n.addEventListener(`blur`,()=>n.removeEventListener(`keydown`,r),t)}}));function Es(e){return ps(e)&&!ns()}function Ds(e,t,n={}){let[r,i,a]=os(e,n),o=e=>{let r=e.currentTarget;if(!Es(e)||Os.has(e))return;bs.add(r),n.stopPropagation&&Os.add(e);let a=t(r,e),o={...i,capture:!0},s=(e,t)=>{window.removeEventListener(`pointerup`,c,o),window.removeEventListener(`pointercancel`,l,o),bs.has(r)&&bs.delete(r),Es(e)&&typeof a==`function`&&a(e,{success:t})},c=e=>{s(e,r===window||r===document||n.useGlobalTarget||ds(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),Zo(e)&&(e.addEventListener(`focus`,e=>ws(e,i)),!hs(e)&&!e.hasAttribute(`tabindex`)&&(e.tabIndex=0))}),a}var Os,ks=n((()=>{Qo(),rs(),fs(),ms(),ss(),ys(),Ts(),xs(),Os=new WeakSet}));function As(e){return oe(e)&&`ownerSVGElement`in e}var js=n((()=>{k()}));function Ms({target:e,borderBoxSize:t}){Is.get(e)?.forEach(n=>{n(e,{get width(){return zs(e,t)},get height(){return Bs(e,t)}})})}function Ns(e){e.forEach(Ms)}function Ps(){typeof ResizeObserver>`u`||(Ls=new ResizeObserver(Ns))}function Fs(e,t){Ls||Ps();let n=qo(e);return n.forEach(e=>{let n=Is.get(e);n||(n=new Set,Is.set(e,n)),n.add(t),Ls?.observe(e)}),()=>{n.forEach(e=>{let n=Is.get(e);n?.delete(t),n?.size||Ls?.unobserve(e)})}}var Is,Ls,Rs,zs,Bs,Vs=n((()=>{js(),Jo(),Is=new WeakMap,Rs=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+`Size`]:As(r)&&`getBBox`in r?r.getBBox()[t]:r[n],zs=Rs(`inline`,`width`,`offsetWidth`),Bs=Rs(`block`,`height`,`offsetHeight`)}));function Hs(){Gs=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};Ws.forEach(t=>t(e))},window.addEventListener(`resize`,Gs)}function Us(e){return Ws.add(e),Gs||Hs(),()=>{Ws.delete(e),!Ws.size&&typeof Gs==`function`&&(window.removeEventListener(`resize`,Gs),Gs=void 0)}}var Ws,Gs,Ks=n((()=>{Ws=new Set}));function qs(e,t){return typeof e==`function`?Us(e):Fs(e,t)}var Js=n((()=>{Vs(),Ks()})),Ys,Xs=n((()=>{Ys={value:null,addProjectionMetrics:null}}));function Zs(e){return As(e)&&e.tagName===`svg`}var Qs=n((()=>{js()})),$s,ec,tc=n((()=>{qt(),B(),vo(),ho(),$s=[...go,R,z],ec=e=>$s.find(mo(e))})),nc,rc,ic,q,ac=n((()=>{nc=()=>({translate:0,scale:1,origin:0,originPoint:0}),rc=()=>({x:nc(),y:nc()}),ic=()=>({min:0,max:0}),q=()=>({x:ic(),y:ic()})})),oc,sc=n((()=>{oc=new WeakMap}));function cc(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}var lc=n((()=>{}));function uc(e){return typeof e==`string`||Array.isArray(e)}var dc=n((()=>{})),fc,pc,mc=n((()=>{fc=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`],pc=[`initial`,...fc]}));function hc(e){return cc(e.animate)||pc.some(t=>uc(e[t]))}function gc(e){return!!(hc(e)||e.variants)}var _c=n((()=>{lc(),dc(),mc()}));function vc(e,t,n){for(let r in t){let i=t[r],a=n[r];if(G(i))e.addValue(r,i);else if(G(a))e.addValue(r,oa(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,oa(t===void 0?i:t,{owner:e}))}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var yc=n((()=>{da(),Ga()})),bc,xc,Sc=n((()=>{bc={current:null},xc={current:!1}}));function Cc(){if(xc.current=!0,wc)if(window.matchMedia){let e=window.matchMedia(`(prefers-reduced-motion)`),t=()=>bc.current=e.matches;e.addEventListener(`change`,t),t()}else bc.current=!1}var wc,Tc=n((()=>{Sc(),wc=typeof window<`u`}));function Ec(e){kc=e}function Dc(){return kc}var Oc,kc,Ac,jc=n((()=>{k(),ai(),ji(),qi(),ts(),dt(),ac(),da(),B(),zo(),tc(),Ga(),sc(),_c(),W(),yc(),Tc(),Pa(),Sc(),M(),Oc=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],kc={},Ac=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=ii,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=N.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,A.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=hc(t),this.isVariantNode=gc(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&&G(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,oc.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:(xc.current||Cc(),this.shouldReduceMotion=bc.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(),st(this.notifyUpdate),st(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&&Ki.has(e)&&this.current instanceof HTMLElement){let{factory:n,keyframes:r,times:i,ease:a,duration:o}=t.accelerate,s=new Ai({element:this.current,name:e,keyframes:r,times:i,ease:a,duration:D(o)}),c=n(s);this.valueSubscriptions.set(e,()=>{c(),s.cancel()});return}let n=Wr.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on(`change`,t=>{this.latestValues[e]=t,this.props.onUpdate&&A.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 kc){let t=kc[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):q()}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<Oc.length;t++){let n=Oc[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=vc(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=oa(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`&&(ie(n)||ce(n))?n=parseFloat(n):!ec(n)&&z.test(t)&&(n=Lo(e,t)),this.setBaseTarget(e,G(n)?n.get():n)),G(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=Na(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&&!G(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 _e),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){$o.render(this.render)}}})),Mc,Nc=n((()=>{Ga(),Wo(),jc(),Mc=class extends Ac{constructor(){super(...arguments),this.KeyframeResolver=Uo}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;G(e)&&(this.childSubscription=e.on(`change`,e=>{this.current&&(this.current.textContent=`${e}`)}))}}})),Pc,Fc=n((()=>{Pc=class{constructor(e){this.isMounted=!1,this.node=e}update(){}}}));function Ic({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Lc({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Rc(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}}var zc=n((()=>{}));function Bc(e){return e===void 0||e===1}function Vc({scale:e,scaleX:t,scaleY:n}){return!Bc(e)||!Bc(t)||!Bc(n)}function Hc(e){return Vc(e)||Uc(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Uc(e){return Wc(e.x)||Wc(e.y)}function Wc(e){return e&&e!==`0%`}var Gc=n((()=>{}));function Kc(e,t,n){return n+t*(e-n)}function qc(e,t,n,r,i){return i!==void 0&&(e=Kc(e,i,r)),Kc(e,n,r)+t}function Jc(e,t=0,n=1,r,i){e.min=qc(e.min,t,n,r,i),e.max=qc(e.max,t,n,r,i)}function Yc(e,{x:t,y:n}){Jc(e.x,t.translate,t.scale,t.originPoint),Jc(e.y,n.translate,n.scale,n.originPoint)}function Xc(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&&(J(e.x,-a.scroll.offset.x),J(e.y,-a.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,Yc(e,o)),r&&Hc(a.latestValues)&&$c(e,a.latestValues,a.layout?.layoutBox))}t.x<tl&&t.x>el&&(t.x=1),t.y<tl&&t.y>el&&(t.y=1)}function J(e,t){e.min+=t,e.max+=t}function Zc(e,t,n,r,i=.5){Jc(e,t,n,V(e.min,e.max,i),r)}function Qc(e,t){return typeof e==`string`?parseFloat(e)/100*(t.max-t.min):e}function $c(e,t,n){let r=n??e;Zc(e.x,Qc(t.x,r.x),t.scaleX,t.scale,t.originX),Zc(e.y,Qc(t.y,r.y),t.scaleY,t.scale,t.originY)}var el,tl,nl=n((()=>{H(),Gc(),el=.999999999999,tl=1.0000000000001}));function rl(e,t){return Ic(Rc(e.getBoundingClientRect(),t))}function il(e,t,n){let r=rl(e,n),{scroll:i}=t;return i&&(J(r.x,i.offset.x),J(r.y,i.offset.y)),r}var al=n((()=>{zc(),nl()}));function ol(e,t,n){let r=``,i=!0;for(let a=0;a<cl;a++){let o=Ur[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=Yo(s,Mo[o]);if(!c){i=!1;let t=sl[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}let a=e.pathRotation;return a&&(i=!1,r+=`rotate(${Yo(a,Mo.pathRotation)}) `),r=r.trim(),n?r=n(t,i?``:r):i&&(r=`none`),r}var sl,cl,ll=n((()=>{Xo(),No(),W(),sl={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},cl=Ur.length}));function ul(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(Wr.has(e)){o=!0;continue}else if(mt(e)){i[e]=n;continue}else{let t=Yo(n,Mo[e]);e.startsWith(`origin`)?(s=!0,a[e]=t):r[e]=t}}if(t.transform||(o||n?r.transform=ol(t,e.transform,n):r.transform&&=`none`),s){let{originX:e=`50%`,originY:t=`50%`,originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}var dl=n((()=>{Xo(),No(),W(),vt(),ll()}));function fl(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])}var pl=n((()=>{}));function ml(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var hl,gl=n((()=>{L(),hl={correct:(e,t)=>{if(!t.target)return e;if(typeof e==`string`)if(I.test(e))e=parseFloat(e);else return e;return`${ml(e,t.target.x)}% ${ml(e,t.target.y)}%`}}})),_l,vl=n((()=>{B(),H(),_l={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=z.parse(e);if(i.length>5)return r;let a=z.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=V(s,c,.5);return typeof i[2+o]==`number`&&(i[2+o]/=l),typeof i[3+o]==`number`&&(i[3+o]/=l),a(i)}}})),yl,bl=n((()=>{Ko(),gl(),vl(),yl={borderRadius:{...hl,applyTo:[...Go]},borderTopLeftRadius:hl,borderTopRightRadius:hl,borderBottomLeftRadius:hl,borderBottomRightRadius:hl,boxShadow:_l}}));function xl(e,{layout:t,layoutId:n}){return Wr.has(e)||e.startsWith(`origin`)||(t||n!==void 0)&&(!!yl[e]||e===`opacity`)}var Sl=n((()=>{W(),bl()}));function Cl(e,t,n){let r=e.style,i=t?.style,a={};if(!r)return a;for(let t in r)(G(r[t])||i&&G(i[t])||xl(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(a[t]=r[t]);return a}var wl=n((()=>{Ga(),Sl()}));function Tl(e){return window.getComputedStyle(e)}var El,Dl=n((()=>{vt(),W(),Hr(),al(),Nc(),dl(),pl(),wl(),El=class extends Mc{constructor(){super(...arguments),this.type=`html`,this.renderInstance=fl}readValueFromInstance(e,t){if(Wr.has(t))return this.projection?.isProjecting?Ar(t):Vr(e,t);{let n=Tl(e),r=(mt(t)?n.getPropertyValue(t):n[t])||0;return typeof r==`string`?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return rl(e,t)}build(e,t,n){ul(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return Cl(e,t,n)}}}));function Ol(e,t,n=1,r=0,i=!0){e.pathLength=1;let a=i?kl:Al;e[a.offset]=`${-r}`,e[a.array]=`${t} ${n}`}var kl,Al,jl=n((()=>{kl={offset:`stroke-dashoffset`,array:`stroke-dasharray`},Al={offset:`strokeDashoffset`,array:`strokeDasharray`}}));function Ml(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s},c,l,u){if(ul(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;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??`50% 50%`,delete d.transformOrigin),f.transform&&(f.transformBox=u?.transformBox??`fill-box`,delete d.transformBox);for(let e of Nl)d[e]!==void 0&&(f[e]=d[e],delete d[e]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&Ol(d,i,a,o,!1)}var Nl,Pl=n((()=>{dl(),jl(),Nl=[`offsetDistance`,`offsetPath`,`offsetRotate`,`offsetAnchor`]})),Fl,Il=n((()=>{Fl=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`])})),Ll,Rl=n((()=>{Ll=e=>typeof e==`string`&&e.toLowerCase()===`svg`}));function zl(e,t,n,r){fl(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(Fl.has(n)?n:Xa(n),t.attrs[n])}var Bl=n((()=>{Za(),pl(),Il()}));function Vl(e,t,n){let r=Cl(e,t,n);for(let n in e)if(G(e[n])||G(t[n])){let t=Ur.indexOf(n)===-1?n:`attr`+n.charAt(0).toUpperCase()+n.substring(1);r[t]=e[n]}return r}var Hl=n((()=>{Ga(),W(),wl()})),Ul,Wl=n((()=>{W(),Io(),ac(),Nc(),Za(),Pl(),Il(),Rl(),Bl(),Hl(),Ul=class extends Mc{constructor(){super(...arguments),this.type=`svg`,this.isSVGTag=!1,this.measureInstanceViewportBox=q}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Wr.has(t)){let e=Fo(t);return e&&e.default||0}return t=Fl.has(t)?t:Xa(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return Vl(e,t,n)}build(e,t,n){Ml(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){zl(e,t,n,r)}mount(e){this.isSVGTag=Ll(e.tagName),super.mount(e)}}}));function Gl(e){if(!e)return;if(!e.isControllingVariants){let t=e.parent&&Gl(e.parent)||{};return e.props.initial!==void 0&&(t.initial=e.props.initial),t}let t={};for(let n=0;n<Kl;n++){let r=pc[n],i=e.props[r];(uc(i)||i===!1)&&(t[r]=i)}return t}var Kl,ql=n((()=>{dc(),mc(),Kl=pc.length}));function Jl(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}var Yl=n((()=>{}));function Xl(e){return t=>Promise.all(t.map(({animation:t,options:n})=>lo(e,t,n)))}function Zl(e){let t=Xl(e),n=eu(),r=!0,i=!1,a=t=>(n,r)=>{let i=Fa(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=Gl(e.parent)||{},l=[],u=new Set,d={},f=1/0;for(let t=0;t<nu;t++){let p=tu[t],m=n[p],h=s[p]===void 0?c[p]:s[p],g=uc(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||cc(h)||typeof h==`boolean`)continue;if(p===`exit`&&m.isActive&&_!==!0){m.prevResolvedValues&&(d={...d,...m.prevResolvedValues});continue}let y=Ql(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:ee={}}=m,w={...ee,...C},T=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 w){let t=C[e],n=ee[e];if(d.hasOwnProperty(e))continue;let r=!1;r=za(t)&&za(n)?!Jl(t,n)||y:t!==n,r?t==null?u.add(e):T(e):t!==void 0&&u.has(e)?T(e):m.protectedKeys[e]=!0}m.prevProp=h,m.prevResolvedValues=C,m.isActive&&(d={...d,...C}),(r||i)&&e.blockInitialAnimation&&(b=!1);let te=v&&y;b&&(!te||x)&&l.push(...S.map(t=>{let n={type:p};if(typeof t==`string`&&(r||i)&&!te&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,i=Fa(r,t);if(r.enteringChildren&&i){let{delayChildren:t}=i.transition||{};n.delay=ia(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(u.size){let t={};if(typeof s.initial!=`boolean`){let n=Fa(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=eu(),i=!0}}}function Ql(e,t){return typeof t==`string`?t!==e:Array.isArray(t)?!Jl(t,e):!1}function $l(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function eu(){return{animate:$l(!0),whileInView:$l(),whileHover:$l(),whileTap:$l(),whileDrag:$l(),whileFocus:$l(),exit:$l()}}var tu,nu,ru=n((()=>{uo(),aa(),ql(),lc(),Ba(),dc(),Ia(),Yl(),mc(),tu=[...fc].reverse(),nu=fc.length}));function iu(e,t){e.min=t.min,e.max=t.max}function Y(e,t){iu(e.x,t.x),iu(e.y,t.y)}function au(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var ou=n((()=>{}));function X(e){return e.max-e.min}function su(e,t,n){return Math.abs(e-t)<=n}function cu(e,t,n,r=.5){e.origin=r,e.originPoint=V(t.min,t.max,e.origin),e.scale=X(n)/X(t),e.translate=V(n.min,n.max,e.origin)-e.originPoint,(e.scale>=mu&&e.scale<=hu||isNaN(e.scale))&&(e.scale=1),(e.translate>=gu&&e.translate<=_u||isNaN(e.translate))&&(e.translate=0)}function lu(e,t,n,r){cu(e.x,t.x,n.x,r?r.originX:void 0),cu(e.y,t.y,n.y,r?r.originY:void 0)}function uu(e,t,n,r=0){e.min=(r?V(n.min,n.max,r):n.min)+t.min,e.max=e.min+X(t)}function du(e,t,n,r){uu(e.x,t.x,n.x,r?.x),uu(e.y,t.y,n.y,r?.y)}function fu(e,t,n,r=0){let i=r?V(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+X(t)}function pu(e,t,n,r){fu(e.x,t.x,n.x,r?.x),fu(e.y,t.y,n.y,r?.y)}var mu,hu,gu,_u,vu=n((()=>{H(),mu=.9999,hu=1.0001,gu=-.01,_u=.01}));function yu(e,t,n,r,i){return e-=t,e=Kc(e,1/n,r),i!==void 0&&(e=Kc(e,1/i,r)),e}function bu(e,t=0,n=1,r=.5,i,a=e,o=e){if(F.test(t)&&(t=parseFloat(t),t=V(o.min,o.max,t/100)-o.min),typeof t!=`number`)return;let s=V(a.min,a.max,r);e===a&&(s-=t),e.min=yu(e.min,t,n,s,i),e.max=yu(e.max,t,n,s,i)}function xu(e,t,[n,r,i],a,o){bu(e,t[n],t[r],t[i],t.scale,a,o)}function Su(e,t,n,r){xu(e.x,t,Cu,n?n.x:void 0,r?r.x:void 0),xu(e.y,t,wu,n?n.y:void 0,r?r.y:void 0)}var Cu,wu,Tu=n((()=>{H(),L(),nl(),Cu=[`x`,`scaleX`,`originX`],wu=[`y`,`scaleY`,`originY`]}));function Eu(e){return e.translate===0&&e.scale===1}function Du(e){return Eu(e.x)&&Eu(e.y)}function Ou(e,t){return e.min===t.min&&e.max===t.max}function ku(e,t){return Ou(e.x,t.x)&&Ou(e.y,t.y)}function Au(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function ju(e,t){return Au(e.x,t.x)&&Au(e.y,t.y)}function Mu(e){return X(e.x)/X(e.y)}function Nu(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}var Pu=n((()=>{vu()}));function Z(e){return[e(`x`),e(`y`)]}var Fu=n((()=>{}));function Iu(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`}var Lu=n((()=>{}));function Ru(e,t,n,r,i,a){i?(e.opacity=V(0,n.opacity??1,Wu(r)),e.opacityExit=V(t.opacity??1,0,Gu(r))):a&&(e.opacity=V(t.opacity??1,n.opacity??1,r));for(let i=0;i<Vu;i++){let a=Go[i],o=zu(t,a),s=zu(n,a);o===void 0&&s===void 0||(o||=0,s||=0,o===0||s===0||Uu(o)===Uu(s)?(e[a]=Math.max(V(Hu(o),Hu(s),r),0),(F.test(s)||F.test(o))&&(e[a]+=`%`)):e[a]=s)}(t.rotate||n.rotate)&&(e.rotate=V(t.rotate||0,n.rotate||0,r))}function zu(e,t){return e[t]===void 0?e.borderRadius:e[t]}function Bu(e,t,n){return r=>r<e?0:r>t?1:n(he(e,t,r))}var Vu,Hu,Uu,Wu,Gu,Ku=n((()=>{H(),L(),k(),Ko(),Vu=Go.length,Hu=e=>typeof e==`string`?parseFloat(e):e,Uu=e=>typeof e==`number`||I.test(e),Wu=Bu(0,.5,ze),Gu=Bu(.5,.95,E)}));function qu(e,t,n){let r=G(e)?e:oa(e);return r.start(Ta(``,r,t,n)),r.animation}var Ju=n((()=>{Ea(),da(),Ga()}));function Yu(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}var Xu=n((()=>{})),Zu,Qu=n((()=>{Zu=(e,t)=>e.depth-t.depth})),$u,ed=n((()=>{k(),Qu(),$u=class{constructor(){this.children=[],this.isDirty=!1}add(e){b(this.children,e),this.isDirty=!0}remove(e){x(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Zu),this.isDirty=!1,this.children.forEach(e)}}}));function td(e,t){let n=N.now(),r=({timestamp:i})=>{let a=i-n;a>=t&&(st(r),e(a-t))};return A.setup(r,!0),()=>st(r)}var nd=n((()=>{dt(),M()}));function rd(e){return G(e)?e.get():e}var id=n((()=>{Ga()})),ad,od=n((()=>{k(),ad=class{constructor(){this.members=[]}add(e){b(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&&(x(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(x(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)}}})),sd,cd=n((()=>{sd={hasAnimatedSinceResize:!0,hasEverUpdated:!1}}));function ld(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function ud(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=to(t);if(window.MotionHasOptimisedAnimation(n,`transform`)){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,`transform`,A,!(t||r))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&ud(r)}function dd({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=Rd++,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,Ys.value&&(Fd.nodes=Fd.calculatedTargetDeltas=Fd.calculatedProjections=0),this.nodes.forEach(md),this.nodes.forEach(Cd),this.nodes.forEach(wd),this.nodes.forEach(hd),Ys.addProjectionMetrics&&Ys.addProjectionMetrics(Fd)},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 $u)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new _e),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=As(t)&&!Zs(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;A.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=td(i,250),sd.hasAnimatedSinceResize&&(sd.hasAnimatedSinceResize=!1,this.nodes.forEach(Sd)))})}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()||zd,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=i.getProps(),c=!this.targetLayout||!ju(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={...ma(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||Sd(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(),st(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(Td),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&&ud(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(vd),this.nodes.forEach(_d);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(yd);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(bd),this.nodes.forEach(xd),this.nodes.forEach(fd),this.nodes.forEach(pd)):this.nodes.forEach(yd),this.clearAllSnapshots();let e=N.now();j.delta=C(0,1e3/60,e-j.timestamp),j.timestamp=e,j.isProcessing=!0,ct.update.process(j),ct.preRender.process(j),ct.render.process(j),j.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,$o.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(gd),this.sharedNodes.forEach(Ed)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,A.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){A.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!X(this.snapshot.measuredBox.x)&&!X(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||=q(),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&&!Du(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,``):void 0,a=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||Hc(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)),Md(n),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return q();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Pd))){let{scroll:e}=this.root;e&&(J(t.x,e.offset.x),J(t.y,e.offset.y))}return t}removeElementScroll(e){let t=q();if(Y(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&&Y(t,e),J(t.x,i.offset.x),J(t.y,i.offset.y))}return t}applyTransform(e,t=!1,n){let r=n||q();Y(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&&(J(r.x,-n.scroll.offset.x),J(r.y,-n.scroll.offset.y)),Hc(n.latestValues)&&$c(r,n.latestValues,n.layout?.layoutBox)}return Hc(this.latestValues)&&$c(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){let t=q();Y(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!Hc(n.latestValues))continue;let r;n.instance&&(Vc(n.latestValues)&&n.updateSnapshot(),r=q(),Y(r,n.measurePageBox())),Su(t,n.latestValues,n.snapshot?.layoutBox,r)}return Hc(this.latestValues)&&Su(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?!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!==j.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=j.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=q(),this.targetWithTransforms=q()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),du(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Y(this.target,this.layout.layoutBox),Yc(this.target,this.targetDelta)):Y(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),Ys.value&&Fd.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||Vc(this.parent.latestValues)||Uc(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=q(),this.relativeTargetOrigin=q(),pu(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),Y(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===j.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;Y(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;Xc(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=q());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(au(this.prevProjectionDelta.x,this.projectionDelta.x),au(this.prevProjectionDelta.y,this.projectionDelta.y)),lu(this.projectionDelta,this.layoutCorrected,s,this.latestValues),(this.treeScale.x!==a||this.treeScale.y!==o||!Nu(this.projectionDelta.x,this.prevProjectionDelta.x)||!Nu(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(`projectionUpdate`,s)),Ys.value&&Fd.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=rc(),this.projectionDelta=rc(),this.projectionDeltaWithTransform=rc()}setAnimationOrigin(e,t=!1,n){let r=this.snapshot,i=r?r.latestValues:{},a={...this.latestValues},o=rc();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let s=q(),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(Ad));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=V(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=V(e.y.scale,1,n),o.y.origin=e.y.origin,o.y.originPoint=e.y.originPoint):(Dd(o.x,e.x,n),Dd(o.y,e.y,n)),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(pu(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),kd(this.relativeTarget,this.relativeTargetOrigin,s,n),f&&ku(this.relativeTarget,f)&&(this.isProjectionDirty=!1),f||=q(),Y(f,this.relativeTarget)),c&&(this.animationValues=a,Ru(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&&=(st(this.pendingAnimation),void 0),this.pendingAnimation=A.update(()=>{sd.hasAnimatedSinceResize=!0,this.motionValue||=oa(0),this.motionValue.jump(0,!1),this.currentAnimation=qu(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&&Nd(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||q();let t=X(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=X(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}Y(t,n),$c(t,i),lu(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new ad),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:!0}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&&ld(`z`,e,r,this.animationValues);for(let t=0;t<Id.length;t++)ld(`rotate${Id[t]}`,e,r,this.animationValues),ld(`skew${Id[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=rd(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=rd(t?.pointerEvents)||``),this.hasProjected&&!Hc(this.latestValues)&&(e.transform=n?n({},``):`none`,this.hasProjected=!1);return}e.visibility=``;let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();let a=Iu(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`,r.animationValues?e.opacity=r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:e.opacity=r===this?i.opacity===void 0?``:i.opacity:i.opacityExit===void 0?0:i.opacityExit;for(let t in yl){if(i[t]===void 0)continue;let{correct:n,applyTo:o,isCSSVariable:s}=yl[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?rd(t?.pointerEvents)||``:`none`)}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(_d),this.root.sharedNodes.clear()}}}function fd(e){e.updateLayout()}function pd(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`)Z(e=>{let r=a?t.measuredBox[e]:t.layoutBox[e],i=X(r);r.min=n[e].min,r.max=r.min+i});else if(i===`x`||i===`y`){let e=i===`x`?`y`:`x`;iu(a?t.measuredBox[e]:t.layoutBox[e],n[e])}else Nd(i,t.layoutBox,n)&&Z(r=>{let i=a?t.measuredBox[r]:t.layoutBox[r],o=X(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=rc();lu(o,n,t.layoutBox);let s=rc();a?lu(s,e.applyTransform(r,!0),t.measuredBox):lu(s,n,t.layoutBox);let c=!Du(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=q();pu(s,t.layoutBox,i.layoutBox,o);let c=q();pu(c,n,a.layoutBox,o),ju(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 md(e){Ys.value&&Fd.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 hd(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function gd(e){e.clearSnapshot()}function _d(e){e.clearMeasurements()}function vd(e){e.isLayoutDirty=!0,e.updateLayout()}function yd(e){e.isLayoutDirty=!1}function bd(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function xd(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify(`BeforeLayoutMeasure`),e.resetTransform()}function Sd(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Cd(e){e.resolveTargetDelta()}function wd(e){e.calcProjection()}function Td(e){e.resetSkewAndRotation()}function Ed(e){e.removeLeadSnapshot()}function Dd(e,t,n){e.translate=V(t.translate,0,n),e.scale=V(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Od(e,t,n,r){e.min=V(t.min,n.min,r),e.max=V(t.max,n.max,r)}function kd(e,t,n,r){Od(e.x,t.x,n.x,r),Od(e.y,t.y,n.y,r)}function Ad(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}function jd(e){e.min=Vd(e.min),e.max=Vd(e.max)}function Md(e){jd(e.x),jd(e.y)}function Nd(e,t,n){return e===`position`||e===`preserve-aspect`&&!su(Mu(t),Mu(n),.2)}function Pd(e){return e!==e.root&&e.scroll?.wasRoot}var Fd,Id,Ld,Rd,zd,Bd,Vd,Hd=n((()=>{k(),Ju(),no(),ha(),ts(),dt(),bl(),Xs(),nd(),js(),Qs(),H(),da(),id(),Ku(),ou(),nl(),vu(),Tu(),ac(),Pu(),od(),Lu(),Fu(),ed(),Gc(),cd(),M(),Fd={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},Id=[``,`X`,`Y`,`Z`],Ld=1e3,Rd=0,zd={duration:.45,ease:[.4,0,.1,1]},Bd=e=>typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Vd=Bd(`applewebkit/`)&&!Bd(`chrome/`)?Math.round:E})),Ud,Wd=n((()=>{Xu(),Hd(),Ud=dd({attachResizeListener:(e,t)=>Yu(e,`resize`,t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0})})),Gd,Kd,qd=n((()=>{Hd(),Wd(),Gd={current:void 0},Kd=dd({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Gd.current){let e=new Ud({});e.mount(window),e.setOptions({layoutScroll:!0}),Gd.current=e}return Gd.current},resetTransform:(e,t)=>{e.style.transform=t===void 0?`none`:t},checkIsScrollRoot:e=>window.getComputedStyle(e).position===`fixed`})})),Q=n((()=>{ra(),Dr(),ji(),Ri(),k(),da(),Ea(),ha(),ja(),xa(),yr(),vt(),wa(),uo(),ao(),co(),eo(),no(),ir(),gr(),$n(),Bn(),Hn(),Wo(),ai(),dr(),lr(),Ko(),yi(),_i(),xi(),Ci(),Ti(),ea(),qi(),ki(),Ln(),M(),No(),Xo(),si(),W(),Qo(),ot(),ts(),dt(),rs(),as(),us(),ks(),ys(),fs(),ms(),Hr(),li(),Ba(),Ra(),Js(),Xs(),sr(),js(),Qs(),Nn(),xn(),jn(),H(),wn(),di(),hi(),Ga(),qt(),Bt(),Kt(),Lt(),B(),vo(),Io(),jo(),St(),L(),ho(),zo(),tc(),Ya(),qa(),Nc(),Fc(),Dl(),ac(),jc(),sc(),Wl(),ru(),ql(),lc(),_c(),Sl(),dc(),yc(),Ia(),Pa(),Wa(),mc(),Tc(),zc(),nl(),vu(),Tu(),Pu(),Fu(),al(),gl(),vl(),Ku(),Ju(),Xu(),Qu(),ed(),nd(),id(),Hd(),Wd(),qd(),cd(),od(),dl(),ll(),wl(),Pl(),Il(),Rl(),jl(),Bl(),Hl(),tt(),bl(),Sc()})),Jd,Yd,Xd=n((()=>{Jd=t(i(),1),Yd=(0,Jd.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:`never`})}));function Zd(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function Qd(...e){return t=>{let n=!1,r=e.map(e=>{let r=Zd(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():Zd(e[t],null)}}}}function $d(...e){return ef.useCallback(Qd(...e),e)}var ef,tf=n((()=>{ef=t(i(),1)}));function nf({children:e,isPresent:t,anchorX:n,anchorY:r,root:i,pop:a}){let o=(0,of.useId)(),s=(0,of.useRef)(null),c=(0,of.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:`ltr`}),{nonce:l}=(0,of.useContext)(Yd),u=$d(s,e.props?.ref??e?.ref);return(0,of.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,c as t,i as n,s as r}from"./preload-helper-B45gAKPr.js";import{C as i}from"./iframe-Cqdlb8-A.js";import{t as a}from"./jsx-runtime-BBQGix-2.js";var o,s,c=n((()=>{o=t(i(),1),s=(0,o.createContext)({})}));function l(e){let t=(0,u.useRef)(null);return t.current===null&&(t.current=e()),t.current}var u,d=n((()=>{u=t(i(),1)})),f,p=n((()=>{f=typeof window<`u`})),m,h,g=n((()=>{m=t(i(),1),p(),h=f?m.useLayoutEffect:m.useEffect})),_,v,y=n((()=>{_=t(i(),1),v=(0,_.createContext)(null)}));function b(e,t){e.indexOf(t)===-1&&e.push(t)}function x(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var S=n((()=>{})),C,ee=n((()=>{C=(e,t,n)=>n>t?t:n<e?e:n})),w,T,te=n((()=>{w=()=>{},T=()=>{}})),ne,re=n((()=>{ne={}})),ie,ae=n((()=>{ie=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)})),oe,se=n((()=>{oe=e=>typeof e==`object`&&!!e})),ce,le=n((()=>{ce=e=>/^0[^.\s]+$/u.test(e)}));function ue(e){let t;return()=>(t===void 0&&(t=e()),t)}var de=n((()=>{})),E,fe=n((()=>{E=e=>e})),pe,me=n((()=>{pe=(...e)=>e.reduce((e,t)=>n=>t(e(n)))})),he,ge=n((()=>{he=(e,t,n)=>{let r=t-e;return r?(n-e)/r:1}})),_e,ve=n((()=>{S(),_e=class{constructor(){this.subscriptions=[]}add(e){return b(this.subscriptions,e),()=>x(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}}})),D,O,ye=n((()=>{D=e=>e*1e3,O=e=>e/1e3})),be,xe=n((()=>{be=(e,t)=>t?1e3/t*e:0}));function Se(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=we(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>Te&&++s<Ee);return o}function Ce(e,t,n,r){if(e===t&&n===r)return E;let i=t=>Se(t,0,1,e,n);return e=>e===0||e===1?e:we(i(e),t,r)}var we,Te,Ee,De=n((()=>{fe(),we=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Te=1e-7,Ee=12})),Oe,ke=n((()=>{Oe=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2})),Ae,je=n((()=>{Ae=e=>t=>1-e(1-t)})),Me,Ne,Pe,Fe=n((()=>{De(),ke(),je(),Me=Ce(.33,1.53,.69,.99),Ne=Ae(Me),Pe=Oe(Ne)})),Ie,Le=n((()=>{Fe(),Ie=e=>e>=1?1:(e*=2)<1?.5*Ne(e):.5*(2-2**(-10*(e-1)))})),Re,ze,Be,Ve=n((()=>{ke(),je(),Re=e=>1-Math.sin(Math.acos(e)),ze=Ae(Re),Be=Oe(Re)})),He,Ue,We,Ge=n((()=>{De(),He=Ce(.42,0,1,1),Ue=Ce(0,0,.58,1),We=Ce(.42,0,.58,1)})),Ke,qe=n((()=>{Ke=e=>Array.isArray(e)&&typeof e[0]!=`number`})),Je,Ye=n((()=>{Je=e=>Array.isArray(e)&&typeof e[0]==`number`})),Xe,Ze,Qe,$e=n((()=>{te(),fe(),Le(),Fe(),Ve(),De(),Ge(),Ye(),Xe={linear:E,easeIn:He,easeInOut:We,easeOut:Ue,circIn:Re,circInOut:Be,circOut:ze,backIn:Ne,backInOut:Pe,backOut:Me,anticipate:Ie},Ze=e=>typeof e==`string`,Qe=e=>{if(Je(e)){T(e.length===4,`Cubic bezier arrays must contain four numerical values.`,`cubic-bezier-length`);let[t,n,r,i]=e;return Ce(t,n,r,i)}else if(Ze(e))return T(Xe[e]!==void 0,`Invalid easing type '${e}'`,`invalid-easing-type`),Xe[e];return e}})),k=n((()=>{S(),ee(),te(),re(),ae(),se(),le(),de(),fe(),me(),ge(),ve(),ye(),xe(),Le(),Fe(),Ve(),De(),Ge(),ke(),je(),qe(),Ye(),$e()})),et,tt=n((()=>{et=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`]}));function nt(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}var rt=n((()=>{}));function it(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=et.reduce((e,t)=>(e[t]=nt(a),e),{}),{setup:s,read:c,resolveKeyframes:l,preUpdate:u,update:d,preRender:f,render:p,postRender:m}=o,h=()=>{let a=ne.useManualTiming,o=a?i.timestamp:performance.now();n=!1,a||(i.delta=r?1e3/60:Math.max(Math.min(o-i.timestamp,at),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:et.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<et.length;t++)o[et[t]].cancel(e)},state:i,steps:o}}var at,ot=n((()=>{k(),tt(),rt(),at=40})),A,st,j,ct,M=n((()=>{k(),ot(),{schedule:A,cancel:st,state:j,steps:ct}=it(typeof requestAnimationFrame<`u`?requestAnimationFrame:E,!0)}));function lt(){ut=void 0}var ut,N,dt=n((()=>{k(),M(),N={now:()=>(ut===void 0&&N.set(j.isProcessing||ne.useManualTiming?j.timestamp:performance.now()),ut),set:e=>{ut=e,queueMicrotask(lt)}}}));function ft(e){return typeof e==`string`?e.split(`/*`)[0].includes(`var(--`):!1}var pt,mt,ht,gt,_t,vt=n((()=>{pt=e=>t=>typeof t==`string`&&t.startsWith(e),mt=pt(`--`),ht=pt(`var(--`),gt=e=>ht(e)?_t.test(e.split(`/*`)[0].trim()):!1,_t=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu})),yt,bt,xt,St=n((()=>{k(),yt={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},bt={...yt,transform:e=>C(0,1,e)},xt={...yt,default:1}})),Ct,wt=n((()=>{Ct=e=>Math.round(e*1e5)/1e5})),Tt,Et=n((()=>{Tt=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu}));function Dt(e){return e==null}var Ot=n((()=>{})),kt,At=n((()=>{kt=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu})),jt,Mt,Nt=n((()=>{Et(),Ot(),At(),jt=(e,t)=>n=>!!(typeof n==`string`&&kt.test(n)&&n.startsWith(e)||t&&!Dt(n)&&Object.prototype.hasOwnProperty.call(n,t)),Mt=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(Tt);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}}})),Pt,Ft,It,Lt=n((()=>{k(),St(),wt(),Nt(),Pt=e=>C(0,255,e),Ft={...yt,transform:e=>Math.round(Pt(e))},It={test:jt(`rgb`,`red`),parse:Mt(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+Ft.transform(e)+`, `+Ft.transform(t)+`, `+Ft.transform(n)+`, `+Ct(bt.transform(r))+`)`}}));function Rt(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 zt,Bt=n((()=>{Lt(),Nt(),zt={test:jt(`#`),parse:Rt,transform:It.transform}})),Vt,P,F,I,Ht,Ut,Wt,L=n((()=>{Vt=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),P=Vt(`deg`),F=Vt(`%`),I=Vt(`px`),Ht=Vt(`vh`),Ut=Vt(`vw`),Wt={...F,parse:e=>F.parse(e)/100,transform:e=>F.transform(e*100)}})),Gt,Kt=n((()=>{St(),L(),wt(),Nt(),Gt={test:jt(`hsl`,`hue`),parse:Mt(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+F.transform(Ct(t))+`, `+F.transform(Ct(n))+`, `+Ct(bt.transform(r))+`)`}})),R,qt=n((()=>{Bt(),Kt(),Lt(),R={test:e=>It.test(e)||zt.test(e)||Gt.test(e),parse:e=>It.test(e)?It.parse(e):Gt.test(e)?Gt.parse(e):zt.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?It.transform(e):Gt.transform(e),getAnimatableNone:e=>{let t=R.parse(e);return t.alpha=0,R.transform(t)}}})),Jt,Yt=n((()=>{Jt=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu}));function Xt(e){return isNaN(e)&&typeof e==`string`&&(e.match(Tt)?.length||0)+(e.match(Jt)?.length||0)>0}function Zt(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(cn,e=>(R.test(e)?(r.color.push(a),i.push(rn),n.push(R.parse(e))):e.startsWith(on)?(r.var.push(a),i.push(an),n.push(e)):(r.number.push(a),i.push(nn),n.push(parseFloat(e))),++a,sn)).split(sn),indexes:r,types:i}}function Qt(e){return Zt(e).values}function $t({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];e===nn?i+=Ct(r[a]):e===rn?i+=R.transform(r[a]):i+=r[a]}return i}}function en(e){return $t(Zt(e))}function tn(e){let t=Zt(e);return $t(t)(t.values.map((e,n)=>un(e,t.split[n])))}var nn,rn,an,on,sn,cn,ln,un,z,B=n((()=>{qt(),Yt(),Et(),wt(),nn=`number`,rn=`color`,an=`var`,on=`var(`,sn="${}",cn=/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,ln=e=>typeof e==`number`?0:R.test(e)?R.getAnimatableNone(e):e,un=(e,t)=>typeof e==`number`?t?.trim().endsWith(`/`)?e:0:ln(e),z={test:Xt,parse:Qt,createTransformer:en,getAnimatableNone:tn}}));function dn(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 fn({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=dn(s,r,e+1/3),a=dn(s,r,e),o=dn(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}var pn=n((()=>{}));function mn(e,t){return n=>n>0?t:e}var hn=n((()=>{})),V,H=n((()=>{V=(e,t,n)=>e+(t-e)*n}));function gn(e){let t=yn(e);if(w(!!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===Gt&&(n=fn(n)),n}var _n,vn,yn,bn,xn=n((()=>{k(),Bt(),Kt(),pn(),Lt(),hn(),H(),_n=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},vn=[zt,It,Gt],yn=e=>vn.find(t=>t.test(e)),bn=(e,t)=>{let n=gn(e),r=gn(t);if(!n||!r)return mn(e,t);let i={...n};return e=>(i.red=_n(n.red,r.red,e),i.green=_n(n.green,r.green,e),i.blue=_n(n.blue,r.blue,e),i.alpha=V(n.alpha,r.alpha,e),It.transform(i))}}));function Sn(e,t){return Cn.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}var Cn,wn=n((()=>{Cn=new Set([`none`,`hidden`])}));function Tn(e,t){return n=>V(e,t,n)}function En(e){return typeof e==`number`?Tn:typeof e==`string`?gt(e)?mn:R.test(e)?bn:An:Array.isArray(e)?Dn:typeof e==`object`?R.test(e)?bn:On:mn}function Dn(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>En(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function On(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=En(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}function kn(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]];n[i]=e.values[o]??0,r[a]++}return n}var An,jn=n((()=>{k(),vt(),qt(),B(),xn(),hn(),H(),wn(),An=(e,t)=>{let n=z.createTransformer(t),r=Zt(e),i=Zt(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?Cn.has(e)&&!i.values.length||Cn.has(t)&&!r.values.length?Sn(e,t):pe(Dn(kn(r,i),i.values),n):(w(!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`),mn(e,t))}}));function Mn(e,t,n){return typeof e==`number`&&typeof t==`number`&&typeof n==`number`?V(e,t,n):En(e)(e,t)}var Nn=n((()=>{jn(),H()})),Pn,Fn=n((()=>{dt(),M(),Pn=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>A.update(t,e),stop:()=>st(t),now:()=>j.isProcessing?j.timestamp:N.now()}}})),In,Ln=n((()=>{In=(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 Rn(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 zn,Bn=n((()=>{zn=2e4}));function Vn(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(Rn(r),zn);return{type:`keyframes`,ease:e=>r.next(i*e).value/t,duration:O(i)}}var Hn=n((()=>{k(),Bn()}));function Un(e,t){return e*Math.sqrt(1-t*t)}function Wn(e,t,n){let r=n;for(let n=1;n<Yn;n++)r-=e(r)/t(r);return r}function Gn({duration:e=U.duration,bounce:t=U.bounce,velocity:n=U.velocity,mass:r=U.mass}){let i,a;w(e<=D(U.maxDuration),`Spring duration must be 10 seconds or less`,`spring-duration-limit`);let o=1-t;o=C(U.minDamping,U.maxDamping,o),e=C(U.minDuration,U.maxDuration,O(e)),o<1?(i=t=>{let r=t*o,i=r*e,a=r-n,s=Un(t,o),c=Math.exp(-i);return Xn-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=Un(t**2,o);return(-i(t)+Xn>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=Wn(i,a,s);if(e=D(e),isNaN(c))return{stiffness:U.stiffness,damping:U.damping,duration:e};{let t=c**2*r;return{stiffness:t,damping:o*2*Math.sqrt(r*t),duration:e}}}function Kn(e,t){return t.some(t=>e[t]!==void 0)}function qn(e){let t={velocity:U.velocity,stiffness:U.stiffness,damping:U.damping,mass:U.mass,isResolvedFromDuration:!1,...e};if(!Kn(e,Qn)&&Kn(e,Zn))if(t.velocity=0,e.visualDuration){let n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*C(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:U.mass,stiffness:i,damping:a}}else{let n=Gn({...e,velocity:0});t={...t,...n,mass:U.mass},t.isResolvedFromDuration=!0}return t}function Jn(e=U.visualDuration,t=U.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}=qn({...n,velocity:-O(n.velocity||0)}),m=f||0,h=l/(2*Math.sqrt(c*u)),g=o-a,_=O(Math.sqrt(c/u)),v=Math.abs(g)<5;r||=v?U.restSpeed.granular:U.restSpeed.default,i||=v?U.restDelta.granular:U.restDelta.default;let y,b,x,S,C,ee;if(h<1)x=Un(_,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,ee=h*_*g-S*x,b=e=>Math.exp(-h*_*e)*(C*Math.sin(x*e)+ee*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 w={calculatedDuration:p&&d||null,velocity:e=>D(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=D(t*(C*n+ee*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=D(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(Rn(w),zn),t=In(t=>w.next(e*t).value,e,30);return e+`ms `+t},toTransition:()=>{}};return w}var U,Yn,Xn,Zn,Qn,$n=n((()=>{k(),Ln(),Bn(),Hn(),U={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},Yn=12,Xn=.001,Zn=[`duration`,`bounce`],Qn=[`stiffness`,`damping`,`mass`],Jn.applyToOptions=e=>{let t=Vn(e,100,Jn);return e.ease=t.ease,e.duration=D(t.duration),e.type=`keyframes`,e}}));function er(e,t,n){let r=Math.max(t-tr,0);return be(n-e(r),t-r)}var tr,nr=n((()=>{k(),tr=5}));function rr({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=Jn({keyframes:[f.value,m(f.value)],velocity:er(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)}}}var ir=n((()=>{$n(),nr()}));function ar(e,t,n){let r=[],i=n||ne.mix||Mn,a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);t&&(a=pe(Array.isArray(t)?t[n]||E:t,a)),r.push(a)}return r}function or(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let a=e.length;if(T(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=ar(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=he(e[r],e[r+1],n);return s[r](i)};return n?t=>l(C(e[0],e[a-1],t)):l}var sr=n((()=>{k(),Nn()}));function cr(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=he(0,t,r);e.push(V(n,1,i))}}var lr=n((()=>{k(),H()}));function ur(e){let t=[0];return cr(t,e.length-1),t}var dr=n((()=>{lr()}));function fr(e,t){return e.map(e=>e*t)}var pr=n((()=>{}));function mr(e,t){return e.map(()=>t||We).splice(0,e.length-1)}function hr({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`}){let i=Ke(r)?r.map(Qe):Qe(r),a={done:!1,value:t[0]},o=or(fr(n&&n.length===t.length?n:ur(t),e),t,{ease:Array.isArray(i)?i:mr(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}var gr=n((()=>{k(),sr(),dr(),pr()}));function _r(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter(vr),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var vr,yr=n((()=>{vr=e=>e!==null}));function br(e){typeof e.type==`string`&&(e.type=xr[e.type])}var xr,Sr=n((()=>{ir(),gr(),$n(),xr={decay:rr,inertia:rr,tween:hr,keyframes:hr,spring:Jn}})),Cr,wr=n((()=>{Cr=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)}}})),Tr,Er,Dr=n((()=>{k(),dt(),Nn(),Fn(),ir(),gr(),Bn(),nr(),yr(),Sr(),wr(),Tr=e=>e/100,Er=class extends Cr{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!==N.now()&&this.tick(N.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;br(e);let{type:t=hr,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||hr;s!==hr&&typeof o[0]!=`number`&&(this.mixKeyframes=pe(Tr,Mn(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=Rn(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.holdTime===null?this.currentTime=t:this.currentTime=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=C(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:x}=b;!_&&s!==null&&(x=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let S=this.holdTime===null&&(this.state===`finished`||this.state===`running`&&x);return S&&p!==rr&&(b.value=_r(l,this.options,h,this.speed)),m&&m(b.value),S&&this.finish(),b}then(e,t){return this.finished.then(e,t)}get duration(){return O(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+O(e)}get time(){return O(this.currentTime)}set time(e){e=D(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 er(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(N.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=O(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=Pn,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(N.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 Or(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var kr=n((()=>{}));function Ar(e){return+!!e.includes(`scale`)}function jr(e,t){if(!e||e===`none`)return Ar(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,i;if(n)r=Br,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=Fr,i=t}if(!i)return Ar(t);let a=r[t],o=i[1].split(`,`).map(Mr);return typeof a==`function`?a(o):o[a]}function Mr(e){return parseFloat(e.trim())}var Nr,Pr,Fr,Ir,Lr,Rr,zr,Br,Vr,Hr=n((()=>{Nr=e=>e*180/Math.PI,Pr=e=>{let t=Nr(Math.atan2(e[1],e[0]));return Ir(t)},Fr={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Pr,rotateZ:Pr,skewX:e=>Nr(Math.atan(e[1])),skewY:e=>Nr(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Ir=e=>(e%=360,e<0&&(e+=360),e),Lr=Pr,Rr=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),zr=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),Br={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Rr,scaleY:zr,scale:e=>(Rr(e)+zr(e))/2,rotateX:e=>Ir(Nr(Math.atan2(e[6],e[5]))),rotateY:e=>Ir(Nr(Math.atan2(-e[2],e[0]))),rotateZ:Lr,rotate:Lr,skewX:e=>Nr(Math.atan(e[4])),skewY:e=>Nr(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2},Vr=(e,t)=>{let{transform:n=`none`}=getComputedStyle(e);return jr(n,t)}})),Ur,Wr,W=n((()=>{Ur=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],Wr=new Set([...Ur,`pathRotation`])}));function Gr(e){let t=[];return Jr.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(+!!n.startsWith(`scale`)))}),t}var Kr,qr,Jr,Yr,Xr=n((()=>{Hr(),W(),St(),L(),Kr=e=>e===yt||e===I,qr=new Set([`x`,`y`,`z`]),Jr=Ur.filter(e=>!qr.has(e)),Yr={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})=>jr(t,`x`),y:(e,{transform:t})=>jr(t,`y`)},Yr.translateX=Yr.x,Yr.translateY=Yr.y}));function Zr(){if(ni){let e=Array.from(ei).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=Gr(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)})}ni=!1,ti=!1,ei.forEach(e=>e.complete(ri)),ei.clear()}function Qr(){ei.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(ni=!0)})}function $r(){ri=!0,Qr(),Zr(),ri=!1}var ei,ti,ni,ri,ii,ai=n((()=>{kr(),Xr(),M(),ei=new Set,ti=!1,ni=!1,ri=!1,ii=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?(ei.add(this),ti||(ti=!0,A.read(Qr),A.resolveKeyframes(Zr))):(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])}Or(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),ei.delete(this)}cancel(){this.state===`scheduled`&&(ei.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}}})),oi,si=n((()=>{oi=e=>e.startsWith(`--`)}));function ci(e,t,n){oi(t)?e.style.setProperty(t,n):e.style[t]=n}var li=n((()=>{si()})),ui,di=n((()=>{ui={}}));function fi(e,t){let n=ue(e);return()=>ui[t]??n()}var pi=n((()=>{k(),di()})),mi,hi=n((()=>{pi(),mi=fi(()=>window.ScrollTimeline!==void 0,`scrollTimeline`)})),gi,_i=n((()=>{pi(),gi=fi(()=>{try{document.createElement(`div`).animate({opacity:0},{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`)})),vi,yi=n((()=>{vi=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`})),bi,xi=n((()=>{yi(),bi={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:vi([0,.65,.55,1]),circOut:vi([.55,0,1,.45]),backIn:vi([.31,.01,.66,-.59]),backOut:vi([.33,1.53,.69,.99])}}));function Si(e,t){if(e)return typeof e==`function`?gi()?In(e,t):`ease-out`:Je(e)?vi(e):Array.isArray(e)?e.map(e=>Si(e,t)||bi.easeOut):bi[e]}var Ci=n((()=>{k(),_i(),Ln(),yi(),xi()}));function wi(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=Si(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)}var Ti=n((()=>{Ci()}));function Ei(e){return typeof e==`function`&&`applyToOptions`in e}var Di=n((()=>{}));function Oi({type:e,...t}){return Ei(e)&&gi()?e.applyToOptions(t):(t.duration??=300,t.ease??=`easeOut`,t)}var ki=n((()=>{_i(),Di()})),Ai,ji=n((()=>{k(),li(),hi(),yr(),wr(),Ti(),ki(),Ai=class extends Cr{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,T(typeof e.type!=`string`,`Mini animate() doesn't support "type" as a string.`,`mini-spring`);let c=Oi(e);this.animation=wi(t,n,r,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=_r(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),ci(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 O(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+O(e)}get time(){return O(Number(this.animation.currentTime)||0)}set time(e){let t=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=D(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&&mi()?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),E):r(this)}}}));function Mi(e){return e in Pi}function Ni(e){typeof e.ease==`string`&&Mi(e.ease)&&(e.ease=Pi[e.ease])}var Pi,Fi=n((()=>{k(),Pi={anticipate:Ie,backInOut:Pe,circInOut:Be}})),Ii,Li,Ri=n((()=>{k(),dt(),li(),Dr(),ji(),Sr(),Fi(),Ii=10,Li=class extends Ai{constructor(e){Ni(e),br(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 Er({...a,autoplay:!1}),s=Math.max(Ii,N.now()-this.startTime),c=C(0,Ii,s-Ii),l=o.sample(s).value,{name:u}=this.options;i&&u&&ci(i,u,l),t.setWithVelocity(o.sample(Math.max(0,s-c)).value,l,c),o.stop()}}})),zi,Bi=n((()=>{B(),zi=(e,t)=>t===`zIndex`?!1:!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(z.test(e)||e===`0`)&&!e.startsWith(`url(`))}));function Vi(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 Hi(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=zi(i,t),s=zi(a,t);return w(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:Vi(e)||(n===`spring`||Ei(n))&&r}var Ui=n((()=>{k(),Di(),Bi()}));function Wi(e){e.duration=0,e.type=`keyframes`}var Gi=n((()=>{})),Ki,qi=n((()=>{Ki=new Set([`opacity`,`clipPath`,`filter`,`transform`])}));function Ji(e){for(let t=0;t<e.length;t++)if(typeof e[t]==`string`&&Yi.test(e[t]))return!0;return!1}var Yi,Xi=n((()=>{Yi=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/}));function Zi(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:a,type:o,keyframes:s}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:c,transformTemplate:l}=t.owner.getProps();return $i()&&n&&(Ki.has(n)||Qi.has(n)&&Ji(s))&&(n!==`transform`||!l)&&!c&&!r&&i!==`mirror`&&a!==0&&o!==`inertia`}var Qi,$i,ea=n((()=>{k(),qi(),Xi(),Qi=new Set([`color`,`backgroundColor`,`outlineColor`,`fill`,`stroke`,`borderColor`,`borderTopColor`,`borderRightColor`,`borderBottomColor`,`borderLeftColor`]),$i=ue(()=>Object.hasOwnProperty.call(Element.prototype,`animate`))})),ta,na,ra=n((()=>{k(),dt(),Dr(),yr(),ai(),Ri(),Ui(),Gi(),wr(),ea(),ta=40,na=class extends Cr{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=N.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||ii;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=N.now();let u=!0;Hi(e,i,a,o)||(u=!1,(ne.instantAnimations||!s)&&l?.(_r(e,n,t)),e[0]=e[e.length-1],Wi(n),n.repeat=0);let d={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>ta?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},f=u&&!c&&Zi(d),p=d.motionValue?.owner?.current,m;if(f)try{m=new Li({...d,element:p})}catch{m=new Er(d)}else m=new Er(d);m.finished.then(()=>{this.notifyFinished()}).catch(E),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(),$r()),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 ia(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}var aa=n((()=>{}));function oa(e,t){return new ua(e,t)}var sa,ca,la,ua,da=n((()=>{k(),dt(),M(),sa=30,ca=e=>!isNaN(parseFloat(e)),la={current:void 0},ua=class{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=N.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=N.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=ca(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 _e);let n=this.events[e].add(t);return e===`change`?()=>{n(),A.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 la.current&&la.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=N.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>sa)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,sa);return be(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 fa(e,t){if(e?.inherit&&t){let{inherit:n,...r}=e;return{...t,...r}}return e}var pa=n((()=>{}));function ma(e,t){let n=e?.[t]??e?.default??e;return n===e?n:fa(n,e)}var ha=n((()=>{pa()})),ga,_a,va,ya,ba,xa=n((()=>{W(),ga={type:`spring`,stiffness:500,damping:25,restSpeed:10},_a=e=>({type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),va={type:`keyframes`,duration:.8},ya={type:`keyframes`,ease:[.25,.1,.35,1],duration:.3},ba=(e,{keyframes:t})=>t.length>2?va:Wr.has(e)?e.startsWith(`scale`)?_a(t[1]):ga:ya}));function Sa(e){for(let t in e)if(!Ca.has(t))return!0;return!1}var Ca,wa=n((()=>{Ca=new Set([`when`,`delay`,`delayChildren`,`staggerChildren`,`staggerDirection`,`repeat`,`repeatType`,`repeatDelay`,`from`,`elapsed`])})),Ta,Ea=n((()=>{k(),ra(),Dr(),ha(),Gi(),xa(),yr(),wa(),M(),Ta=(e,t,n,r={},i,a)=>o=>{let s=ma(r,e)||{},c=s.delay||r.delay||0,{elapsed:l=0}=r;l-=D(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,ba(e,u)),u.duration&&=D(u.duration),u.repeatDelay&&=D(u.repeatDelay),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(Wi(u),u.delay===0&&(d=!0)),(ne.instantAnimations||ne.skipAnimations||i?.shouldSkipAnimations||s.skipAnimations)&&(d=!0,Wi(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!a&&t.get()!==void 0){let e=_r(u.keyframes,s);if(e!==void 0){A.update(()=>{u.onUpdate(e),u.onComplete()});return}}return s.isSync?new Er(u):new na(u)}}));function Da(e){let t=ka.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}function Oa(e,t,n=1){T(n<=Aa,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,`max-css-var-depth`);let[r,i]=Da(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let e=a.trim();return ie(e)?parseFloat(e):e}return gt(i)?Oa(i,t,n+1):i}var ka,Aa,ja=n((()=>{k(),vt(),ka=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,Aa=4}));function Ma(e){let t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function Na(e,t,n,r){if(typeof t==`function`){let[i,a]=Ma(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]=Ma(r);t=t(n===void 0?e.custom:n,i,a)}return t}var Pa=n((()=>{}));function Fa(e,t,n){let r=e.getProps();return Na(r,t,n===void 0?r.custom:n,e)}var Ia=n((()=>{Pa()})),La,Ra=n((()=>{W(),La=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,...Ur])})),za,Ba=n((()=>{za=e=>Array.isArray(e)}));function Va(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,oa(n))}function Ha(e){return za(e)?e[e.length-1]||0:e}function Ua(e,t){let{transitionEnd:n={},transition:r={},...i}=Fa(e,t)||{};i={...i,...n};for(let t in i)Va(e,t,Ha(i[t]))}var Wa=n((()=>{da(),Ia(),Ba()})),G,Ga=n((()=>{G=e=>!!(e&&e.getVelocity)}));function Ka(e){return!!(G(e)&&e.add)}var qa=n((()=>{Ga()}));function Ja(e,t){let n=e.getValue(`willChange`);if(Ka(n))return n.add(t);if(!n&&ne.WillChange){let n=new ne.WillChange(`auto`);e.addValue(`willChange`,n),n.add(t)}}var Ya=n((()=>{k(),qa()}));function Xa(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}var Za=n((()=>{})),Qa,$a,eo=n((()=>{Za(),Qa=`framerAppearId`,$a=`data-`+Xa(Qa)}));function to(e){return e.props[$a]}var no=n((()=>{eo()}));function ro({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function io(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a,transitionEnd:o,...s}=t,c=e.getDefaultTransition();a=a?fa(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&&ro(f,t))continue;let o={delay:n,...ma(a||{},t)};u&&(o.skipAnimations=!0);let c=r.get();if(c!==void 0&&!r.isAnimating()&&!Array.isArray(i)&&i===c&&!o.velocity){A.update(()=>r.set(i));continue}let p=!1;if(window.MotionHandoffAnimation){let n=to(e);if(n){let e=window.MotionHandoffAnimation(n,t,A);e!==null&&(o.startTime=e,p=!0)}}Ja(e,t);let m=l??e.shouldReduceMotion;r.start(Ta(t,r,i,m&&La.has(t)?{type:!1}:o,e,p));let h=r.animation;h&&d.push(h)}if(o){let t=()=>A.update(()=>{o&&Ua(e,o)});d.length?Promise.all(d).then(t):t()}return d}var ao=n((()=>{ha(),pa(),Ra(),Wa(),Ya(),no(),Ea(),M()}));function oo(e,t,n={}){let r=Fa(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(io(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:a=0,staggerChildren:o,staggerDirection:s}=i;return so(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())}else return Promise.all([a(),o(n.delay)])}function so(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(oo(c,t,{...o,delay:n+(typeof r==`function`?0:r)+ia(e.variantChildren,c,r,i,a)}).then(()=>c.notify(`AnimationComplete`,t)));return Promise.all(s)}var co=n((()=>{Ia(),aa(),ao()}));function lo(e,t,n={}){e.notify(`AnimationStart`,t);let r;if(Array.isArray(t)){let i=t.map(t=>oo(e,t,n));r=Promise.all(i)}else if(typeof t==`string`)r=oo(e,t,n);else{let i=typeof t==`function`?Fa(e,t,n.custom):t;r=Promise.all(io(e,i,n))}return r.then(()=>{e.notify(`AnimationComplete`,t)})}var uo=n((()=>{Ia(),ao(),co()})),fo,po=n((()=>{fo={test:e=>e===`auto`,parse:e=>e}})),mo,ho=n((()=>{mo=e=>t=>t.test(e)})),go,_o,vo=n((()=>{po(),St(),L(),ho(),go=[yt,I,F,P,Ut,Ht,fo],_o=e=>go.find(mo(e))}));function yo(e){return typeof e==`number`?e===0:e===null?!0:e===`none`||e===`0`||ce(e)}var bo=n((()=>{k()}));function xo(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(Tt)||[];if(!r)return e;let i=n.replace(r,``),a=+!!So.has(t);return r!==n&&(a*=100),t+`(`+a+i+`)`}var So,Co,wo,To=n((()=>{B(),Et(),So=new Set([`brightness`,`contrast`,`saturate`,`opacity`]),Co=/\b([a-z-]*)\(.*?\)/gu,wo={...z,getAnimatableNone:e=>{let t=e.match(Co);return t?t.map(xo).join(` `):e}}})),Eo,Do=n((()=>{B(),Eo={...z,getAnimatableNone:e=>{let t=z.parse(e);return z.createTransformer(e)(t.map(e=>typeof e==`number`?0:typeof e==`object`?{...e,alpha:1}:e))}}})),Oo,ko=n((()=>{St(),Oo={...yt,transform:Math.round}})),Ao,jo=n((()=>{St(),L(),Ao={rotate:P,pathRotation:P,rotateX:P,rotateY:P,rotateZ:P,scale:xt,scaleX:xt,scaleY:xt,scaleZ:xt,skew:P,skewX:P,skewY:P,distance:I,translateX:I,translateY:I,translateZ:I,x:I,y:I,z:I,perspective:I,transformPerspective:I,opacity:bt,originX:Wt,originY:Wt,originZ:I}})),Mo,No=n((()=>{ko(),St(),L(),jo(),Mo={borderWidth:I,borderTopWidth:I,borderRightWidth:I,borderBottomWidth:I,borderLeftWidth:I,borderRadius:I,borderTopLeftRadius:I,borderTopRightRadius:I,borderBottomRightRadius:I,borderBottomLeftRadius:I,width:I,maxWidth:I,height:I,maxHeight:I,top:I,right:I,bottom:I,left:I,inset:I,insetBlock:I,insetBlockStart:I,insetBlockEnd:I,insetInline:I,insetInlineStart:I,insetInlineEnd:I,padding:I,paddingTop:I,paddingRight:I,paddingBottom:I,paddingLeft:I,paddingBlock:I,paddingBlockStart:I,paddingBlockEnd:I,paddingInline:I,paddingInlineStart:I,paddingInlineEnd:I,margin:I,marginTop:I,marginRight:I,marginBottom:I,marginLeft:I,marginBlock:I,marginBlockStart:I,marginBlockEnd:I,marginInline:I,marginInlineStart:I,marginInlineEnd:I,fontSize:I,backgroundPositionX:I,backgroundPositionY:I,...Ao,zIndex:Oo,fillOpacity:bt,strokeOpacity:bt,numOctaves:Oo}})),Po,Fo,Io=n((()=>{qt(),To(),Do(),No(),Po={...Mo,color:R,backgroundColor:R,outlineColor:R,fill:R,stroke:R,borderColor:R,borderTopColor:R,borderRightColor:R,borderBottomColor:R,borderLeftColor:R,filter:wo,WebkitFilter:wo,mask:Eo,WebkitMask:Eo},Fo=e=>Po[e]}));function Lo(e,t){let n=Fo(e);return Ro.has(n)||(n=z),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var Ro,zo=n((()=>{B(),To(),Do(),Io(),Ro=new Set([wo,Eo])}));function Bo(e,t,n){let r=0,i;for(;r<e.length&&!i;){let t=e[r];typeof t==`string`&&!Vo.has(t)&&Zt(t).values.length&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]=Lo(n,i)}var Vo,Ho=n((()=>{B(),zo(),Vo=new Set([`auto`,`none`,`0`])})),Uo,Wo=n((()=>{Ra(),vo(),ja(),vt(),ai(),bo(),Ho(),Xr(),Uo=class extends ii{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(),gt(r))){let i=Oa(r,t.current);i!==void 0&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!La.has(n)||e.length!==2)return;let[r,i]=e,a=_o(r),o=_o(i);if(ft(r)!==ft(i)&&Yr[n]){this.needsMeasurement=!0;return}if(a!==o)if(Kr(a)&&Kr(o))for(let t=0;t<e.length;t++){let n=e[t];typeof n==`string`&&(e[t]=parseFloat(n))}else Yr[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(e[t]===null||yo(e[t]))&&n.push(t);n.length&&Bo(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=Yr[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]=Yr[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()}}})),Go,Ko=n((()=>{Go=[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomRightRadius`,`borderBottomLeftRadius`]}));function qo(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 Jo=n((()=>{})),Yo,Xo=n((()=>{Yo=(e,t)=>t&&typeof e==`number`?t.transform(e):e}));function Zo(e){return oe(e)&&`offsetHeight`in e&&!(`ownerSVGElement`in e)}var Qo=n((()=>{k()})),$o,es,ts=n((()=>{ot(),{schedule:$o,cancel:es}=it(queueMicrotask,!1)}));function ns(){return K.x||K.y}var K,rs=n((()=>{K={x:!1,y:!1}}));function is(e){return e===`x`||e===`y`?K[e]?null:(K[e]=!0,()=>{K[e]=!1}):K.x||K.y?null:(K.x=K.y=!0,()=>{K.x=K.y=!1})}var as=n((()=>{rs()}));function os(e,t){let n=qo(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}var ss=n((()=>{Jo()}));function cs(e){return!(e.pointerType===`touch`||ns())}function ls(e,t,n={}){let[r,i,a]=os(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(!cs(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}var us=n((()=>{rs(),ss()})),ds,fs=n((()=>{ds=(e,t)=>t?e===t?!0:ds(e,t.parentElement):!1})),ps,ms=n((()=>{ps=e=>e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1}));function hs(e){return _s.has(e.tagName)||e.isContentEditable===!0}function gs(e){return vs.has(e.tagName)||e.isContentEditable===!0}var _s,vs,ys=n((()=>{_s=new Set([`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`,`A`]),vs=new Set([`INPUT`,`SELECT`,`TEXTAREA`])})),bs,xs=n((()=>{bs=new WeakSet}));function Ss(e){return t=>{t.key===`Enter`&&e(t)}}function Cs(e,t){e.dispatchEvent(new PointerEvent(`pointer`+t,{isPrimary:!0,bubbles:!0}))}var ws,Ts=n((()=>{xs(),ws=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=Ss(()=>{if(bs.has(n))return;Cs(n,`down`);let e=Ss(()=>{Cs(n,`up`)});n.addEventListener(`keyup`,e,t),n.addEventListener(`blur`,()=>Cs(n,`cancel`),t)});n.addEventListener(`keydown`,r,t),n.addEventListener(`blur`,()=>n.removeEventListener(`keydown`,r),t)}}));function Es(e){return ps(e)&&!ns()}function Ds(e,t,n={}){let[r,i,a]=os(e,n),o=e=>{let r=e.currentTarget;if(!Es(e)||Os.has(e))return;bs.add(r),n.stopPropagation&&Os.add(e);let a=t(r,e),o={...i,capture:!0},s=(e,t)=>{window.removeEventListener(`pointerup`,c,o),window.removeEventListener(`pointercancel`,l,o),bs.has(r)&&bs.delete(r),Es(e)&&typeof a==`function`&&a(e,{success:t})},c=e=>{s(e,r===window||r===document||n.useGlobalTarget||ds(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),Zo(e)&&(e.addEventListener(`focus`,e=>ws(e,i)),!hs(e)&&!e.hasAttribute(`tabindex`)&&(e.tabIndex=0))}),a}var Os,ks=n((()=>{Qo(),rs(),fs(),ms(),ss(),ys(),Ts(),xs(),Os=new WeakSet}));function As(e){return oe(e)&&`ownerSVGElement`in e}var js=n((()=>{k()}));function Ms({target:e,borderBoxSize:t}){Is.get(e)?.forEach(n=>{n(e,{get width(){return zs(e,t)},get height(){return Bs(e,t)}})})}function Ns(e){e.forEach(Ms)}function Ps(){typeof ResizeObserver>`u`||(Ls=new ResizeObserver(Ns))}function Fs(e,t){Ls||Ps();let n=qo(e);return n.forEach(e=>{let n=Is.get(e);n||(n=new Set,Is.set(e,n)),n.add(t),Ls?.observe(e)}),()=>{n.forEach(e=>{let n=Is.get(e);n?.delete(t),n?.size||Ls?.unobserve(e)})}}var Is,Ls,Rs,zs,Bs,Vs=n((()=>{js(),Jo(),Is=new WeakMap,Rs=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+`Size`]:As(r)&&`getBBox`in r?r.getBBox()[t]:r[n],zs=Rs(`inline`,`width`,`offsetWidth`),Bs=Rs(`block`,`height`,`offsetHeight`)}));function Hs(){Gs=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};Ws.forEach(t=>t(e))},window.addEventListener(`resize`,Gs)}function Us(e){return Ws.add(e),Gs||Hs(),()=>{Ws.delete(e),!Ws.size&&typeof Gs==`function`&&(window.removeEventListener(`resize`,Gs),Gs=void 0)}}var Ws,Gs,Ks=n((()=>{Ws=new Set}));function qs(e,t){return typeof e==`function`?Us(e):Fs(e,t)}var Js=n((()=>{Vs(),Ks()})),Ys,Xs=n((()=>{Ys={value:null,addProjectionMetrics:null}}));function Zs(e){return As(e)&&e.tagName===`svg`}var Qs=n((()=>{js()})),$s,ec,tc=n((()=>{qt(),B(),vo(),ho(),$s=[...go,R,z],ec=e=>$s.find(mo(e))})),nc,rc,ic,q,ac=n((()=>{nc=()=>({translate:0,scale:1,origin:0,originPoint:0}),rc=()=>({x:nc(),y:nc()}),ic=()=>({min:0,max:0}),q=()=>({x:ic(),y:ic()})})),oc,sc=n((()=>{oc=new WeakMap}));function cc(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}var lc=n((()=>{}));function uc(e){return typeof e==`string`||Array.isArray(e)}var dc=n((()=>{})),fc,pc,mc=n((()=>{fc=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`],pc=[`initial`,...fc]}));function hc(e){return cc(e.animate)||pc.some(t=>uc(e[t]))}function gc(e){return!!(hc(e)||e.variants)}var _c=n((()=>{lc(),dc(),mc()}));function vc(e,t,n){for(let r in t){let i=t[r],a=n[r];if(G(i))e.addValue(r,i);else if(G(a))e.addValue(r,oa(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,oa(t===void 0?i:t,{owner:e}))}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var yc=n((()=>{da(),Ga()})),bc,xc,Sc=n((()=>{bc={current:null},xc={current:!1}}));function Cc(){if(xc.current=!0,wc)if(window.matchMedia){let e=window.matchMedia(`(prefers-reduced-motion)`),t=()=>bc.current=e.matches;e.addEventListener(`change`,t),t()}else bc.current=!1}var wc,Tc=n((()=>{Sc(),wc=typeof window<`u`}));function Ec(e){kc=e}function Dc(){return kc}var Oc,kc,Ac,jc=n((()=>{k(),ai(),ji(),qi(),ts(),dt(),ac(),da(),B(),zo(),tc(),Ga(),sc(),_c(),W(),yc(),Tc(),Pa(),Sc(),M(),Oc=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],kc={},Ac=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=ii,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=N.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,A.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=hc(t),this.isVariantNode=gc(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&&G(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,oc.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:(xc.current||Cc(),this.shouldReduceMotion=bc.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(),st(this.notifyUpdate),st(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&&Ki.has(e)&&this.current instanceof HTMLElement){let{factory:n,keyframes:r,times:i,ease:a,duration:o}=t.accelerate,s=new Ai({element:this.current,name:e,keyframes:r,times:i,ease:a,duration:D(o)}),c=n(s);this.valueSubscriptions.set(e,()=>{c(),s.cancel()});return}let n=Wr.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on(`change`,t=>{this.latestValues[e]=t,this.props.onUpdate&&A.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 kc){let t=kc[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):q()}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<Oc.length;t++){let n=Oc[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=vc(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=oa(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`&&(ie(n)||ce(n))?n=parseFloat(n):!ec(n)&&z.test(t)&&(n=Lo(e,t)),this.setBaseTarget(e,G(n)?n.get():n)),G(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=Na(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&&!G(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 _e),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){$o.render(this.render)}}})),Mc,Nc=n((()=>{Ga(),Wo(),jc(),Mc=class extends Ac{constructor(){super(...arguments),this.KeyframeResolver=Uo}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;G(e)&&(this.childSubscription=e.on(`change`,e=>{this.current&&(this.current.textContent=`${e}`)}))}}})),Pc,Fc=n((()=>{Pc=class{constructor(e){this.isMounted=!1,this.node=e}update(){}}}));function Ic({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Lc({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Rc(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}}var zc=n((()=>{}));function Bc(e){return e===void 0||e===1}function Vc({scale:e,scaleX:t,scaleY:n}){return!Bc(e)||!Bc(t)||!Bc(n)}function Hc(e){return Vc(e)||Uc(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Uc(e){return Wc(e.x)||Wc(e.y)}function Wc(e){return e&&e!==`0%`}var Gc=n((()=>{}));function Kc(e,t,n){return n+t*(e-n)}function qc(e,t,n,r,i){return i!==void 0&&(e=Kc(e,i,r)),Kc(e,n,r)+t}function Jc(e,t=0,n=1,r,i){e.min=qc(e.min,t,n,r,i),e.max=qc(e.max,t,n,r,i)}function Yc(e,{x:t,y:n}){Jc(e.x,t.translate,t.scale,t.originPoint),Jc(e.y,n.translate,n.scale,n.originPoint)}function Xc(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&&(J(e.x,-a.scroll.offset.x),J(e.y,-a.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,Yc(e,o)),r&&Hc(a.latestValues)&&$c(e,a.latestValues,a.layout?.layoutBox))}t.x<tl&&t.x>el&&(t.x=1),t.y<tl&&t.y>el&&(t.y=1)}function J(e,t){e.min+=t,e.max+=t}function Zc(e,t,n,r,i=.5){Jc(e,t,n,V(e.min,e.max,i),r)}function Qc(e,t){return typeof e==`string`?parseFloat(e)/100*(t.max-t.min):e}function $c(e,t,n){let r=n??e;Zc(e.x,Qc(t.x,r.x),t.scaleX,t.scale,t.originX),Zc(e.y,Qc(t.y,r.y),t.scaleY,t.scale,t.originY)}var el,tl,nl=n((()=>{H(),Gc(),el=.999999999999,tl=1.0000000000001}));function rl(e,t){return Ic(Rc(e.getBoundingClientRect(),t))}function il(e,t,n){let r=rl(e,n),{scroll:i}=t;return i&&(J(r.x,i.offset.x),J(r.y,i.offset.y)),r}var al=n((()=>{zc(),nl()}));function ol(e,t,n){let r=``,i=!0;for(let a=0;a<cl;a++){let o=Ur[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=Yo(s,Mo[o]);if(!c){i=!1;let t=sl[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}let a=e.pathRotation;return a&&(i=!1,r+=`rotate(${Yo(a,Mo.pathRotation)}) `),r=r.trim(),n?r=n(t,i?``:r):i&&(r=`none`),r}var sl,cl,ll=n((()=>{Xo(),No(),W(),sl={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},cl=Ur.length}));function ul(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(Wr.has(e)){o=!0;continue}else if(mt(e)){i[e]=n;continue}else{let t=Yo(n,Mo[e]);e.startsWith(`origin`)?(s=!0,a[e]=t):r[e]=t}}if(t.transform||(o||n?r.transform=ol(t,e.transform,n):r.transform&&=`none`),s){let{originX:e=`50%`,originY:t=`50%`,originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}var dl=n((()=>{Xo(),No(),W(),vt(),ll()}));function fl(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])}var pl=n((()=>{}));function ml(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var hl,gl=n((()=>{L(),hl={correct:(e,t)=>{if(!t.target)return e;if(typeof e==`string`)if(I.test(e))e=parseFloat(e);else return e;return`${ml(e,t.target.x)}% ${ml(e,t.target.y)}%`}}})),_l,vl=n((()=>{B(),H(),_l={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=z.parse(e);if(i.length>5)return r;let a=z.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=V(s,c,.5);return typeof i[2+o]==`number`&&(i[2+o]/=l),typeof i[3+o]==`number`&&(i[3+o]/=l),a(i)}}})),yl,bl=n((()=>{Ko(),gl(),vl(),yl={borderRadius:{...hl,applyTo:[...Go]},borderTopLeftRadius:hl,borderTopRightRadius:hl,borderBottomLeftRadius:hl,borderBottomRightRadius:hl,boxShadow:_l}}));function xl(e,{layout:t,layoutId:n}){return Wr.has(e)||e.startsWith(`origin`)||(t||n!==void 0)&&(!!yl[e]||e===`opacity`)}var Sl=n((()=>{W(),bl()}));function Cl(e,t,n){let r=e.style,i=t?.style,a={};if(!r)return a;for(let t in r)(G(r[t])||i&&G(i[t])||xl(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(a[t]=r[t]);return a}var wl=n((()=>{Ga(),Sl()}));function Tl(e){return window.getComputedStyle(e)}var El,Dl=n((()=>{vt(),W(),Hr(),al(),Nc(),dl(),pl(),wl(),El=class extends Mc{constructor(){super(...arguments),this.type=`html`,this.renderInstance=fl}readValueFromInstance(e,t){if(Wr.has(t))return this.projection?.isProjecting?Ar(t):Vr(e,t);{let n=Tl(e),r=(mt(t)?n.getPropertyValue(t):n[t])||0;return typeof r==`string`?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return rl(e,t)}build(e,t,n){ul(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return Cl(e,t,n)}}}));function Ol(e,t,n=1,r=0,i=!0){e.pathLength=1;let a=i?kl:Al;e[a.offset]=`${-r}`,e[a.array]=`${t} ${n}`}var kl,Al,jl=n((()=>{kl={offset:`stroke-dashoffset`,array:`stroke-dasharray`},Al={offset:`strokeDashoffset`,array:`strokeDasharray`}}));function Ml(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s},c,l,u){if(ul(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;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??`50% 50%`,delete d.transformOrigin),f.transform&&(f.transformBox=u?.transformBox??`fill-box`,delete d.transformBox);for(let e of Nl)d[e]!==void 0&&(f[e]=d[e],delete d[e]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&Ol(d,i,a,o,!1)}var Nl,Pl=n((()=>{dl(),jl(),Nl=[`offsetDistance`,`offsetPath`,`offsetRotate`,`offsetAnchor`]})),Fl,Il=n((()=>{Fl=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`])})),Ll,Rl=n((()=>{Ll=e=>typeof e==`string`&&e.toLowerCase()===`svg`}));function zl(e,t,n,r){fl(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(Fl.has(n)?n:Xa(n),t.attrs[n])}var Bl=n((()=>{Za(),pl(),Il()}));function Vl(e,t,n){let r=Cl(e,t,n);for(let n in e)if(G(e[n])||G(t[n])){let t=Ur.indexOf(n)===-1?n:`attr`+n.charAt(0).toUpperCase()+n.substring(1);r[t]=e[n]}return r}var Hl=n((()=>{Ga(),W(),wl()})),Ul,Wl=n((()=>{W(),Io(),ac(),Nc(),Za(),Pl(),Il(),Rl(),Bl(),Hl(),Ul=class extends Mc{constructor(){super(...arguments),this.type=`svg`,this.isSVGTag=!1,this.measureInstanceViewportBox=q}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Wr.has(t)){let e=Fo(t);return e&&e.default||0}return t=Fl.has(t)?t:Xa(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return Vl(e,t,n)}build(e,t,n){Ml(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){zl(e,t,n,r)}mount(e){this.isSVGTag=Ll(e.tagName),super.mount(e)}}}));function Gl(e){if(!e)return;if(!e.isControllingVariants){let t=e.parent&&Gl(e.parent)||{};return e.props.initial!==void 0&&(t.initial=e.props.initial),t}let t={};for(let n=0;n<Kl;n++){let r=pc[n],i=e.props[r];(uc(i)||i===!1)&&(t[r]=i)}return t}var Kl,ql=n((()=>{dc(),mc(),Kl=pc.length}));function Jl(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}var Yl=n((()=>{}));function Xl(e){return t=>Promise.all(t.map(({animation:t,options:n})=>lo(e,t,n)))}function Zl(e){let t=Xl(e),n=eu(),r=!0,i=!1,a=t=>(n,r)=>{let i=Fa(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=Gl(e.parent)||{},l=[],u=new Set,d={},f=1/0;for(let t=0;t<nu;t++){let p=tu[t],m=n[p],h=s[p]===void 0?c[p]:s[p],g=uc(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||cc(h)||typeof h==`boolean`)continue;if(p===`exit`&&m.isActive&&_!==!0){m.prevResolvedValues&&(d={...d,...m.prevResolvedValues});continue}let y=Ql(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:ee={}}=m,w={...ee,...C},T=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 w){let t=C[e],n=ee[e];if(d.hasOwnProperty(e))continue;let r=!1;r=za(t)&&za(n)?!Jl(t,n)||y:t!==n,r?t==null?u.add(e):T(e):t!==void 0&&u.has(e)?T(e):m.protectedKeys[e]=!0}m.prevProp=h,m.prevResolvedValues=C,m.isActive&&(d={...d,...C}),(r||i)&&e.blockInitialAnimation&&(b=!1);let te=v&&y;b&&(!te||x)&&l.push(...S.map(t=>{let n={type:p};if(typeof t==`string`&&(r||i)&&!te&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,i=Fa(r,t);if(r.enteringChildren&&i){let{delayChildren:t}=i.transition||{};n.delay=ia(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(u.size){let t={};if(typeof s.initial!=`boolean`){let n=Fa(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=eu(),i=!0}}}function Ql(e,t){return typeof t==`string`?t!==e:Array.isArray(t)?!Jl(t,e):!1}function $l(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function eu(){return{animate:$l(!0),whileInView:$l(),whileHover:$l(),whileTap:$l(),whileDrag:$l(),whileFocus:$l(),exit:$l()}}var tu,nu,ru=n((()=>{uo(),aa(),ql(),lc(),Ba(),dc(),Ia(),Yl(),mc(),tu=[...fc].reverse(),nu=fc.length}));function iu(e,t){e.min=t.min,e.max=t.max}function Y(e,t){iu(e.x,t.x),iu(e.y,t.y)}function au(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var ou=n((()=>{}));function X(e){return e.max-e.min}function su(e,t,n){return Math.abs(e-t)<=n}function cu(e,t,n,r=.5){e.origin=r,e.originPoint=V(t.min,t.max,e.origin),e.scale=X(n)/X(t),e.translate=V(n.min,n.max,e.origin)-e.originPoint,(e.scale>=mu&&e.scale<=hu||isNaN(e.scale))&&(e.scale=1),(e.translate>=gu&&e.translate<=_u||isNaN(e.translate))&&(e.translate=0)}function lu(e,t,n,r){cu(e.x,t.x,n.x,r?r.originX:void 0),cu(e.y,t.y,n.y,r?r.originY:void 0)}function uu(e,t,n,r=0){e.min=(r?V(n.min,n.max,r):n.min)+t.min,e.max=e.min+X(t)}function du(e,t,n,r){uu(e.x,t.x,n.x,r?.x),uu(e.y,t.y,n.y,r?.y)}function fu(e,t,n,r=0){let i=r?V(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+X(t)}function pu(e,t,n,r){fu(e.x,t.x,n.x,r?.x),fu(e.y,t.y,n.y,r?.y)}var mu,hu,gu,_u,vu=n((()=>{H(),mu=.9999,hu=1.0001,gu=-.01,_u=.01}));function yu(e,t,n,r,i){return e-=t,e=Kc(e,1/n,r),i!==void 0&&(e=Kc(e,1/i,r)),e}function bu(e,t=0,n=1,r=.5,i,a=e,o=e){if(F.test(t)&&(t=parseFloat(t),t=V(o.min,o.max,t/100)-o.min),typeof t!=`number`)return;let s=V(a.min,a.max,r);e===a&&(s-=t),e.min=yu(e.min,t,n,s,i),e.max=yu(e.max,t,n,s,i)}function xu(e,t,[n,r,i],a,o){bu(e,t[n],t[r],t[i],t.scale,a,o)}function Su(e,t,n,r){xu(e.x,t,Cu,n?n.x:void 0,r?r.x:void 0),xu(e.y,t,wu,n?n.y:void 0,r?r.y:void 0)}var Cu,wu,Tu=n((()=>{H(),L(),nl(),Cu=[`x`,`scaleX`,`originX`],wu=[`y`,`scaleY`,`originY`]}));function Eu(e){return e.translate===0&&e.scale===1}function Du(e){return Eu(e.x)&&Eu(e.y)}function Ou(e,t){return e.min===t.min&&e.max===t.max}function ku(e,t){return Ou(e.x,t.x)&&Ou(e.y,t.y)}function Au(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function ju(e,t){return Au(e.x,t.x)&&Au(e.y,t.y)}function Mu(e){return X(e.x)/X(e.y)}function Nu(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}var Pu=n((()=>{vu()}));function Z(e){return[e(`x`),e(`y`)]}var Fu=n((()=>{}));function Iu(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`}var Lu=n((()=>{}));function Ru(e,t,n,r,i,a){i?(e.opacity=V(0,n.opacity??1,Wu(r)),e.opacityExit=V(t.opacity??1,0,Gu(r))):a&&(e.opacity=V(t.opacity??1,n.opacity??1,r));for(let i=0;i<Vu;i++){let a=Go[i],o=zu(t,a),s=zu(n,a);o===void 0&&s===void 0||(o||=0,s||=0,o===0||s===0||Uu(o)===Uu(s)?(e[a]=Math.max(V(Hu(o),Hu(s),r),0),(F.test(s)||F.test(o))&&(e[a]+=`%`)):e[a]=s)}(t.rotate||n.rotate)&&(e.rotate=V(t.rotate||0,n.rotate||0,r))}function zu(e,t){return e[t]===void 0?e.borderRadius:e[t]}function Bu(e,t,n){return r=>r<e?0:r>t?1:n(he(e,t,r))}var Vu,Hu,Uu,Wu,Gu,Ku=n((()=>{H(),L(),k(),Ko(),Vu=Go.length,Hu=e=>typeof e==`string`?parseFloat(e):e,Uu=e=>typeof e==`number`||I.test(e),Wu=Bu(0,.5,ze),Gu=Bu(.5,.95,E)}));function qu(e,t,n){let r=G(e)?e:oa(e);return r.start(Ta(``,r,t,n)),r.animation}var Ju=n((()=>{Ea(),da(),Ga()}));function Yu(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}var Xu=n((()=>{})),Zu,Qu=n((()=>{Zu=(e,t)=>e.depth-t.depth})),$u,ed=n((()=>{k(),Qu(),$u=class{constructor(){this.children=[],this.isDirty=!1}add(e){b(this.children,e),this.isDirty=!0}remove(e){x(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Zu),this.isDirty=!1,this.children.forEach(e)}}}));function td(e,t){let n=N.now(),r=({timestamp:i})=>{let a=i-n;a>=t&&(st(r),e(a-t))};return A.setup(r,!0),()=>st(r)}var nd=n((()=>{dt(),M()}));function rd(e){return G(e)?e.get():e}var id=n((()=>{Ga()})),ad,od=n((()=>{k(),ad=class{constructor(){this.members=[]}add(e){b(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&&(x(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(x(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)}}})),sd,cd=n((()=>{sd={hasAnimatedSinceResize:!0,hasEverUpdated:!1}}));function ld(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function ud(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=to(t);if(window.MotionHasOptimisedAnimation(n,`transform`)){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,`transform`,A,!(t||r))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&ud(r)}function dd({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=Rd++,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,Ys.value&&(Fd.nodes=Fd.calculatedTargetDeltas=Fd.calculatedProjections=0),this.nodes.forEach(md),this.nodes.forEach(Cd),this.nodes.forEach(wd),this.nodes.forEach(hd),Ys.addProjectionMetrics&&Ys.addProjectionMetrics(Fd)},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 $u)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new _e),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=As(t)&&!Zs(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;A.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=td(i,250),sd.hasAnimatedSinceResize&&(sd.hasAnimatedSinceResize=!1,this.nodes.forEach(Sd)))})}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()||zd,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=i.getProps(),c=!this.targetLayout||!ju(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={...ma(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||Sd(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(),st(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(Td),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&&ud(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(vd),this.nodes.forEach(_d);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(yd);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(bd),this.nodes.forEach(xd),this.nodes.forEach(fd),this.nodes.forEach(pd)):this.nodes.forEach(yd),this.clearAllSnapshots();let e=N.now();j.delta=C(0,1e3/60,e-j.timestamp),j.timestamp=e,j.isProcessing=!0,ct.update.process(j),ct.preRender.process(j),ct.render.process(j),j.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,$o.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(gd),this.sharedNodes.forEach(Ed)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,A.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){A.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!X(this.snapshot.measuredBox.x)&&!X(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||=q(),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&&!Du(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,``):void 0,a=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||Hc(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)),Md(n),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return q();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Pd))){let{scroll:e}=this.root;e&&(J(t.x,e.offset.x),J(t.y,e.offset.y))}return t}removeElementScroll(e){let t=q();if(Y(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&&Y(t,e),J(t.x,i.offset.x),J(t.y,i.offset.y))}return t}applyTransform(e,t=!1,n){let r=n||q();Y(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&&(J(r.x,-n.scroll.offset.x),J(r.y,-n.scroll.offset.y)),Hc(n.latestValues)&&$c(r,n.latestValues,n.layout?.layoutBox)}return Hc(this.latestValues)&&$c(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){let t=q();Y(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!Hc(n.latestValues))continue;let r;n.instance&&(Vc(n.latestValues)&&n.updateSnapshot(),r=q(),Y(r,n.measurePageBox())),Su(t,n.latestValues,n.snapshot?.layoutBox,r)}return Hc(this.latestValues)&&Su(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?!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!==j.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=j.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=q(),this.targetWithTransforms=q()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),du(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Y(this.target,this.layout.layoutBox),Yc(this.target,this.targetDelta)):Y(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),Ys.value&&Fd.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||Vc(this.parent.latestValues)||Uc(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=q(),this.relativeTargetOrigin=q(),pu(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),Y(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===j.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;Y(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;Xc(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=q());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(au(this.prevProjectionDelta.x,this.projectionDelta.x),au(this.prevProjectionDelta.y,this.projectionDelta.y)),lu(this.projectionDelta,this.layoutCorrected,s,this.latestValues),(this.treeScale.x!==a||this.treeScale.y!==o||!Nu(this.projectionDelta.x,this.prevProjectionDelta.x)||!Nu(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(`projectionUpdate`,s)),Ys.value&&Fd.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=rc(),this.projectionDelta=rc(),this.projectionDeltaWithTransform=rc()}setAnimationOrigin(e,t=!1,n){let r=this.snapshot,i=r?r.latestValues:{},a={...this.latestValues},o=rc();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let s=q(),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(Ad));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=V(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=V(e.y.scale,1,n),o.y.origin=e.y.origin,o.y.originPoint=e.y.originPoint):(Dd(o.x,e.x,n),Dd(o.y,e.y,n)),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(pu(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),kd(this.relativeTarget,this.relativeTargetOrigin,s,n),f&&ku(this.relativeTarget,f)&&(this.isProjectionDirty=!1),f||=q(),Y(f,this.relativeTarget)),c&&(this.animationValues=a,Ru(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&&=(st(this.pendingAnimation),void 0),this.pendingAnimation=A.update(()=>{sd.hasAnimatedSinceResize=!0,this.motionValue||=oa(0),this.motionValue.jump(0,!1),this.currentAnimation=qu(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&&Nd(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||q();let t=X(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=X(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}Y(t,n),$c(t,i),lu(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new ad),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:!0}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&&ld(`z`,e,r,this.animationValues);for(let t=0;t<Id.length;t++)ld(`rotate${Id[t]}`,e,r,this.animationValues),ld(`skew${Id[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=rd(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=rd(t?.pointerEvents)||``),this.hasProjected&&!Hc(this.latestValues)&&(e.transform=n?n({},``):`none`,this.hasProjected=!1);return}e.visibility=``;let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();let a=Iu(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`,r.animationValues?e.opacity=r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:e.opacity=r===this?i.opacity===void 0?``:i.opacity:i.opacityExit===void 0?0:i.opacityExit;for(let t in yl){if(i[t]===void 0)continue;let{correct:n,applyTo:o,isCSSVariable:s}=yl[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?rd(t?.pointerEvents)||``:`none`)}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(_d),this.root.sharedNodes.clear()}}}function fd(e){e.updateLayout()}function pd(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`)Z(e=>{let r=a?t.measuredBox[e]:t.layoutBox[e],i=X(r);r.min=n[e].min,r.max=r.min+i});else if(i===`x`||i===`y`){let e=i===`x`?`y`:`x`;iu(a?t.measuredBox[e]:t.layoutBox[e],n[e])}else Nd(i,t.layoutBox,n)&&Z(r=>{let i=a?t.measuredBox[r]:t.layoutBox[r],o=X(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=rc();lu(o,n,t.layoutBox);let s=rc();a?lu(s,e.applyTransform(r,!0),t.measuredBox):lu(s,n,t.layoutBox);let c=!Du(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=q();pu(s,t.layoutBox,i.layoutBox,o);let c=q();pu(c,n,a.layoutBox,o),ju(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 md(e){Ys.value&&Fd.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 hd(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function gd(e){e.clearSnapshot()}function _d(e){e.clearMeasurements()}function vd(e){e.isLayoutDirty=!0,e.updateLayout()}function yd(e){e.isLayoutDirty=!1}function bd(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function xd(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify(`BeforeLayoutMeasure`),e.resetTransform()}function Sd(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Cd(e){e.resolveTargetDelta()}function wd(e){e.calcProjection()}function Td(e){e.resetSkewAndRotation()}function Ed(e){e.removeLeadSnapshot()}function Dd(e,t,n){e.translate=V(t.translate,0,n),e.scale=V(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Od(e,t,n,r){e.min=V(t.min,n.min,r),e.max=V(t.max,n.max,r)}function kd(e,t,n,r){Od(e.x,t.x,n.x,r),Od(e.y,t.y,n.y,r)}function Ad(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}function jd(e){e.min=Vd(e.min),e.max=Vd(e.max)}function Md(e){jd(e.x),jd(e.y)}function Nd(e,t,n){return e===`position`||e===`preserve-aspect`&&!su(Mu(t),Mu(n),.2)}function Pd(e){return e!==e.root&&e.scroll?.wasRoot}var Fd,Id,Ld,Rd,zd,Bd,Vd,Hd=n((()=>{k(),Ju(),no(),ha(),ts(),dt(),bl(),Xs(),nd(),js(),Qs(),H(),da(),id(),Ku(),ou(),nl(),vu(),Tu(),ac(),Pu(),od(),Lu(),Fu(),ed(),Gc(),cd(),M(),Fd={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},Id=[``,`X`,`Y`,`Z`],Ld=1e3,Rd=0,zd={duration:.45,ease:[.4,0,.1,1]},Bd=e=>typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Vd=Bd(`applewebkit/`)&&!Bd(`chrome/`)?Math.round:E})),Ud,Wd=n((()=>{Xu(),Hd(),Ud=dd({attachResizeListener:(e,t)=>Yu(e,`resize`,t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0})})),Gd,Kd,qd=n((()=>{Hd(),Wd(),Gd={current:void 0},Kd=dd({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Gd.current){let e=new Ud({});e.mount(window),e.setOptions({layoutScroll:!0}),Gd.current=e}return Gd.current},resetTransform:(e,t)=>{e.style.transform=t===void 0?`none`:t},checkIsScrollRoot:e=>window.getComputedStyle(e).position===`fixed`})})),Q=n((()=>{ra(),Dr(),ji(),Ri(),k(),da(),Ea(),ha(),ja(),xa(),yr(),vt(),wa(),uo(),ao(),co(),eo(),no(),ir(),gr(),$n(),Bn(),Hn(),Wo(),ai(),dr(),lr(),Ko(),yi(),_i(),xi(),Ci(),Ti(),ea(),qi(),ki(),Ln(),M(),No(),Xo(),si(),W(),Qo(),ot(),ts(),dt(),rs(),as(),us(),ks(),ys(),fs(),ms(),Hr(),li(),Ba(),Ra(),Js(),Xs(),sr(),js(),Qs(),Nn(),xn(),jn(),H(),wn(),di(),hi(),Ga(),qt(),Bt(),Kt(),Lt(),B(),vo(),Io(),jo(),St(),L(),ho(),zo(),tc(),Ya(),qa(),Nc(),Fc(),Dl(),ac(),jc(),sc(),Wl(),ru(),ql(),lc(),_c(),Sl(),dc(),yc(),Ia(),Pa(),Wa(),mc(),Tc(),zc(),nl(),vu(),Tu(),Pu(),Fu(),al(),gl(),vl(),Ku(),Ju(),Xu(),Qu(),ed(),nd(),id(),Hd(),Wd(),qd(),cd(),od(),dl(),ll(),wl(),Pl(),Il(),Rl(),jl(),Bl(),Hl(),tt(),bl(),Sc()})),Jd,Yd,Xd=n((()=>{Jd=t(i(),1),Yd=(0,Jd.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:`never`})}));function Zd(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function Qd(...e){return t=>{let n=!1,r=e.map(e=>{let r=Zd(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():Zd(e[t],null)}}}}function $d(...e){return ef.useCallback(Qd(...e),e)}var ef,tf=n((()=>{ef=t(i(),1)}));function nf({children:e,isPresent:t,anchorX:n,anchorY:r,root:i,pop:a}){let o=(0,of.useId)(),s=(0,of.useRef)(null),c=(0,of.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:`ltr`}),{nonce:l}=(0,of.useContext)(Yd),u=$d(s,e.props?.ref??e?.ref);return(0,of.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;
@@ -0,0 +1 @@
1
+ import{i as e}from"./preload-helper-B45gAKPr.js";import{n as t}from"./Select-S1Kq352p.js";import{n}from"./ODataSelect-BCq3J8js.js";import{n as r}from"./SerializableSelect-DLLMZfeg.js";var i=e((()=>{n(),t(),r()}));export{i as t};