@ryuzaki13/react-foundation-ui 1.8.17 → 1.8.19

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 (352) hide show
  1. package/dist/advanced-search/index.js +4 -4
  2. package/dist/base-table/index.js +1 -1
  3. package/dist/chunks/{TextEditorLexicalClient-Ca89d-Db.js → TextEditorLexicalClient-jYDUbAcf.js} +2 -2
  4. package/dist/chunks/{TextEditorLexicalClient-Ca89d-Db.js.map → TextEditorLexicalClient-jYDUbAcf.js.map} +1 -1
  5. package/dist/chunks/{base-table-CXPasGQC.js → base-table-BuH1DvPd.js} +2 -2
  6. package/dist/chunks/{base-table-CXPasGQC.js.map → base-table-BuH1DvPd.js.map} +1 -1
  7. package/dist/chunks/{context-menu-CTJsMd8y.js → context-menu-CCAr_R-t.js} +2 -2
  8. package/dist/chunks/{context-menu-CTJsMd8y.js.map → context-menu-CCAr_R-t.js.map} +1 -1
  9. package/dist/chunks/{date-input-g6l1iDmf.js → date-input-DXCIZbyc.js} +2 -2
  10. package/dist/chunks/{date-input-g6l1iDmf.js.map → date-input-DXCIZbyc.js.map} +1 -1
  11. package/dist/chunks/{input-d08WN5FV.js → input-D1jOxm0t.js} +3 -2
  12. package/dist/chunks/input-D1jOxm0t.js.map +1 -0
  13. package/dist/chunks/{input-files-_NdSQM_3.js → input-files-CDGpJaUm.js} +2 -2
  14. package/dist/chunks/{input-files-_NdSQM_3.js.map → input-files-CDGpJaUm.js.map} +1 -1
  15. package/dist/chunks/{input-search-BjtTMoRu.js → input-search-Ci1ubGox.js} +2 -2
  16. package/dist/chunks/{input-search-BjtTMoRu.js.map → input-search-Ci1ubGox.js.map} +1 -1
  17. package/dist/chunks/{multi-select-m5Xl2yJZ.js → multi-select-D1JjZJfr.js} +2 -2
  18. package/dist/chunks/{multi-select-m5Xl2yJZ.js.map → multi-select-D1JjZJfr.js.map} +1 -1
  19. package/dist/chunks/{picker-DF_heUIT.js → picker-DO9HFqJV.js} +2 -2
  20. package/dist/chunks/picker-DO9HFqJV.js.map +1 -0
  21. package/dist/chunks/{select-C3tbPtgQ.js → select-3jk0ljU1.js} +3 -3
  22. package/dist/chunks/{select-C3tbPtgQ.js.map → select-3jk0ljU1.js.map} +1 -1
  23. package/dist/chunks/{table-Bhj60fyi.js → table-DLkfAmSZ.js} +2 -2
  24. package/dist/chunks/{table-Bhj60fyi.js.map → table-DLkfAmSZ.js.map} +1 -1
  25. package/dist/context-menu/index.js +1 -1
  26. package/dist/date-input/index.js +1 -1
  27. package/dist/date-time-input/index.js +1 -1
  28. package/dist/drop-zone/index.js +1 -1
  29. package/dist/image/index.js +2 -2
  30. package/dist/input/Input.d.ts.map +1 -1
  31. package/dist/input/index.js +1 -1
  32. package/dist/input-date-time/index.js +1 -1
  33. package/dist/input-file/index.js +1 -1
  34. package/dist/input-files/index.js +1 -1
  35. package/dist/input-image/index.js +1 -1
  36. package/dist/input-search/index.js +1 -1
  37. package/dist/layout-picker/index.js +1 -1
  38. package/dist/listbox/index.js +1 -1
  39. package/dist/multi-select/index.js +1 -1
  40. package/dist/picker/index.js +1 -1
  41. package/dist/picker/model/usePickerFloatingListbox.d.ts +1 -1
  42. package/dist/preset-range-date-input/index.js +1 -1
  43. package/dist/preset-select/index.js +1 -1
  44. package/dist/select/index.js +1 -1
  45. package/dist/simple-table/index.js +1 -1
  46. package/dist/slider/index.js +2 -2
  47. package/dist/state-select/index.js +1 -1
  48. package/dist/styles.css +1 -1
  49. package/dist/table/index.js +1 -1
  50. package/dist/table-sorting/index.js +1 -1
  51. package/dist/tag-input/index.js +1 -1
  52. package/dist/text-editor/index.js +1 -1
  53. package/dist/textarea/index.js +1 -1
  54. package/dist/tree-select/index.js +2 -2
  55. package/dist/tree-table/index.js +1 -1
  56. package/package.json +3 -3
  57. package/storybook-static/assets/{Badge-9ov2SQpw.js → Badge-CAM2jkFm.js} +6 -6
  58. package/storybook-static/assets/{Badge.stories-DyT1y7iJ.js → Badge.stories-DRjjmR32.js} +1 -1
  59. package/storybook-static/assets/{BadgeList-DsCC0K2u.js → BadgeList-D4Swhp3V.js} +1 -1
  60. package/storybook-static/assets/{Button-Ch-WQXxt.js → Button-1UZNz2k4.js} +1 -1
  61. package/storybook-static/assets/{Button-DrEpacN2.js → Button-4YB5_DwT.js} +6 -6
  62. package/storybook-static/assets/{Button.stories-Bt1ww23Y.js → Button.stories-B0sdwFqZ.js} +1 -1
  63. package/storybook-static/assets/{CalendarView-C2J0uWGf.js → CalendarView-sSyZ5jCR.js} +1 -1
  64. package/storybook-static/assets/{CheckBox-Dmed1k3Y.js → CheckBox-BdGaGy4_.js} +2 -2
  65. package/storybook-static/assets/{CheckBox-BBm7pBaK.js → CheckBox-Cpt5rjSg.js} +1 -1
  66. package/storybook-static/assets/{CheckBox.stories-Dy7pe9eU.js → CheckBox.stories-6d6-rkNo.js} +1 -1
  67. package/storybook-static/assets/Color-6AOWCN3U-sKBB2RBT.js +1 -0
  68. package/storybook-static/assets/{ContextMenu-9gl4i81Y.js → ContextMenu-B155_m2F.js} +1 -1
  69. package/storybook-static/assets/{ContextMenu-DbjrPPi1.js → ContextMenu-BLnt5p2W.js} +2 -2
  70. package/storybook-static/assets/{ContextMenu.stories-UxHdcdSM.js → ContextMenu.stories-B8sv4v3Q.js} +1 -1
  71. package/storybook-static/assets/{CustomOptionButton-qGFdzAlY.js → CustomOptionButton-hKfsqWNH.js} +1 -1
  72. package/storybook-static/assets/{DateInput-XANZLf8y.js → DateInput-DvIl6s-f.js} +2 -2
  73. package/storybook-static/assets/{DateInput-C3lNtiZJ.js → DateInput-XvSKmvqi.js} +1 -1
  74. package/storybook-static/assets/{DateInput.stories-CPxMqlod.js → DateInput.stories-SU41oukh.js} +1 -1
  75. package/storybook-static/assets/{DateRangePresetSelect-S0q2x0q-.js → DateRangePresetSelect-BCLZcXdv.js} +2 -2
  76. package/storybook-static/assets/{DateRangePresetSelect-erSbZygb.js → DateRangePresetSelect-tz-3m9UI.js} +1 -1
  77. package/storybook-static/assets/DateRangePresetSelect.stories-D8zuTlHo.js +19 -0
  78. package/storybook-static/assets/{Detail-fBnBGZJ-.js → Detail-Ct95dA1k.js} +2 -2
  79. package/storybook-static/assets/{Detail.stories-BS83WXDS.js → Detail.stories-Chedt7EX.js} +1 -1
  80. package/storybook-static/assets/{Dialog-BkxPSokc.js → Dialog-BX3QZOnt.js} +1 -1
  81. package/storybook-static/assets/{Dialog-CUmLq_8l.js → Dialog-C7Duw0PA.js} +2 -2
  82. package/storybook-static/assets/Dialog.stories-J0w0R0Db.js +22 -0
  83. package/storybook-static/assets/{Disclosure-CoQrHJcx.js → Disclosure-BzlV54RK.js} +2 -2
  84. package/storybook-static/assets/Disclosure.stories-z7gnOr5h.js +23 -0
  85. package/storybook-static/assets/{DisclosureGroup-C76Vffsk.js → DisclosureGroup-c179TOi5.js} +1 -1
  86. package/storybook-static/assets/{DocsRenderer-JROSPFPF-Dcd0Q4OT.js → DocsRenderer-JROSPFPF-Ba9N3QAD.js} +1 -1
  87. package/storybook-static/assets/{DropZone-D8ce83Dp.js → DropZone-D5X0oV8O.js} +1 -1
  88. package/storybook-static/assets/{DropZone-CDDUWBFm.js → DropZone-vxUU2p-k.js} +2 -2
  89. package/storybook-static/assets/DropZone.stories-iNXgESGM.js +26 -0
  90. package/storybook-static/assets/{DropdownMenu-BDIZKs1J.js → DropdownMenu-CJlpP3HB.js} +1 -1
  91. package/storybook-static/assets/{ExpandableActionPanel-BuioQ5dl.js → ExpandableActionPanel-CmkEByID.js} +1 -1
  92. package/storybook-static/assets/ExpandableActionPanel.stories-DmRLaVxn.js +9 -0
  93. package/storybook-static/assets/{Flex-B22MHXX7.js → Flex-tVAYZ-nU.js} +2 -2
  94. package/storybook-static/assets/{Flex.stories-kwnLelWl.js → Flex.stories-CVYDcbvw.js} +1 -1
  95. package/storybook-static/assets/{FloatingPopover-Bp9Qypq9.js → FloatingPopover-DMTLPzR3.js} +1 -1
  96. package/storybook-static/assets/{FormattedTableCell-B6jdkIC4.js → FormattedTableCell-DP6-D86D.js} +1 -1
  97. package/storybook-static/assets/{Grid-DflESV2R.js → Grid-Vm-amT-a.js} +2 -2
  98. package/storybook-static/assets/{Grid.stories-CFoPPd64.js → Grid.stories-B0beH9CK.js} +1 -1
  99. package/storybook-static/assets/ImageCropper.stories-Dt-IA4EB.js +131 -0
  100. package/storybook-static/assets/{ImageRenderer-DIL2Vc1q.js → ImageRenderer-DudkQ-3G.js} +1 -1
  101. package/storybook-static/assets/ImageRenderer.stories-CNeSiXkj.js +34 -0
  102. package/storybook-static/assets/ImageView.stories-DMtpy--X.js +14 -0
  103. package/storybook-static/assets/{ImageViewer.stories-D0qPi2e4.js → ImageViewer.stories-BkoV0li4.js} +3 -3
  104. package/storybook-static/assets/{ImageViewerRuntime-DkHuWptv.js → ImageViewerRuntime-BLgQCsSL.js} +1 -1
  105. package/storybook-static/assets/Input-CYgnggvb.css +1 -0
  106. package/storybook-static/assets/{Input-yxWSYFnb.js → Input-MPCFEMQm.js} +2 -2
  107. package/storybook-static/assets/Input-WhTMStKL.js +3 -0
  108. package/storybook-static/assets/Input.stories-B50KKSiz.js +52 -0
  109. package/storybook-static/assets/{InputDateTime-DhZt9ZDV.js → InputDateTime-1zTFbNEF.js} +2 -2
  110. package/storybook-static/assets/{InputDateTime.stories-BUBjE1XK.js → InputDateTime.stories-B7W4BkU6.js} +1 -1
  111. package/storybook-static/assets/{InputFile-D9QY_9jH.js → InputFile-B3QB0SLD.js} +1 -1
  112. package/storybook-static/assets/{InputFile-7mZglfLi.js → InputFile-DYHuD6B8.js} +2 -2
  113. package/storybook-static/assets/InputFile.stories-B-hrCtm_.js +27 -0
  114. package/storybook-static/assets/{InputFiles-Bj0dCOF-.js → InputFiles-CPPAJxgC.js} +1 -1
  115. package/storybook-static/assets/{InputFiles-LUM6HpDW.js → InputFiles-Dpa2BiyZ.js} +2 -2
  116. package/storybook-static/assets/InputFiles.stories-1ocz2wNw.js +26 -0
  117. package/storybook-static/assets/{InputFilesList-CSR5cAWT.js → InputFilesList-D2Ro-1Hm.js} +1 -1
  118. package/storybook-static/assets/{InputImage-I4lZZZDP.js → InputImage-BDC2lyVo.js} +1 -1
  119. package/storybook-static/assets/{InputImage-DCXLCb31.js → InputImage-DPmkvGcl.js} +2 -2
  120. package/storybook-static/assets/InputImage.stories-D3hWZBtn.js +56 -0
  121. package/storybook-static/assets/{InteractiveComponents-CqglREgC.js → InteractiveComponents-Djz3CtkU.js} +1 -1
  122. package/storybook-static/assets/{InteractiveComponents.stories-wY4MY2As.js → InteractiveComponents.stories-CJ2VWPLD.js} +1 -1
  123. package/storybook-static/assets/{LayoutPicker-DaT1HP0_.js → LayoutPicker-BFShZhhi.js} +1 -1
  124. package/storybook-static/assets/{LayoutPicker-DYwZvtzh.js → LayoutPicker-CMMEs83d.js} +3 -3
  125. package/storybook-static/assets/{LayoutPicker.stories-dsNYjmjt.js → LayoutPicker.stories-Cdb_UnBI.js} +1 -1
  126. package/storybook-static/assets/{Listbox-Bnd30LZ_.js → Listbox-B7nZijLJ.js} +2 -2
  127. package/storybook-static/assets/{Listbox-DA4aaUt0.js → Listbox-DM1vuGVD.js} +1 -1
  128. package/storybook-static/assets/{Listbox.stories-xe6Yszg6.js → Listbox.stories-DTs-ANe9.js} +1 -1
  129. package/storybook-static/assets/{Modal-NJll9h9x.js → Modal-D0dkB7lh.js} +3 -3
  130. package/storybook-static/assets/{Modal.stories-B7N5aIgP.js → Modal.stories-BOh10Fkn.js} +1 -1
  131. package/storybook-static/assets/{ModalManagerProvider-DA5QtvQ2.js → ModalManagerProvider-CEEmviJU.js} +1 -1
  132. package/storybook-static/assets/{MultiSelect-CUqW5AMh.js → MultiSelect-CbrRNOEZ.js} +2 -2
  133. package/storybook-static/assets/{MultiSelect-giyYuz8c.js → MultiSelect-oJhMsKuC.js} +1 -1
  134. package/storybook-static/assets/MultiSelect.stories-mLWhd-au.js +55 -0
  135. package/storybook-static/assets/{NoData-DhKFosBa.js → NoData-C7Kj62Zk.js} +1 -1
  136. package/storybook-static/assets/{NotificationsHost-DKsOqiZE.js → NotificationsHost-D_i7EsJA.js} +3 -3
  137. package/storybook-static/assets/{NotificationsHost.stories-CVsDqE_z.js → NotificationsHost.stories-5GPO8lQl.js} +2 -2
  138. package/storybook-static/assets/{ODataMultiSelect-TMnKV9KI.js → ODataMultiSelect-B6hKhD2q.js} +2 -2
  139. package/storybook-static/assets/{ODataMultiSelect.stories-CbxXeBSq.js → ODataMultiSelect.stories-BO7WaR9I.js} +2 -2
  140. package/storybook-static/assets/{ODataSelect-D3zaT9Bd.js → ODataSelect-BW8S-U91.js} +2 -2
  141. package/storybook-static/assets/{ODataSelect.stories-Djkb72yE.js → ODataSelect.stories-rVZ8RYIu.js} +2 -2
  142. package/storybook-static/assets/{ODataTreeMultiSelect-Bz7Pqr69.js → ODataTreeMultiSelect-BhvUurca.js} +1 -1
  143. package/storybook-static/assets/{ODataTreeMultiSelect.stories-QtxQbfUh.js → ODataTreeMultiSelect.stories-CM8wiVsI.js} +2 -2
  144. package/storybook-static/assets/{ODataTreeSelect-C2dm8syR.js → ODataTreeSelect-B96PJWcL.js} +1 -1
  145. package/storybook-static/assets/{ODataTreeSelect.stories-HRX2qliv.js → ODataTreeSelect.stories-HHLJZrD8.js} +2 -2
  146. package/storybook-static/assets/{OneStepScroller-u3gW3CFu.js → OneStepScroller-DzrN3WVZ.js} +1 -1
  147. package/storybook-static/assets/{Option-CpsdTcBv.js → Option-BwWLsS-Q.js} +1 -1
  148. package/storybook-static/assets/{Option-CpAZkiB9.css → Option-DFJ-DfU8.css} +1 -1
  149. package/storybook-static/assets/{OptionButton-Cpc3pWQ6.js → OptionButton-CdYqQAwC.js} +1 -1
  150. package/storybook-static/assets/{PeriodSelect-CWHJ86O3.js → PeriodSelect-CJejEx-e.js} +1 -1
  151. package/storybook-static/assets/{PeriodSelect-C6OPxXw9.js → PeriodSelect-_GvgXTKk.js} +1 -1
  152. package/storybook-static/assets/PeriodSelect.stories-CGNmEIBG.js +50 -0
  153. package/storybook-static/assets/{PickerTriggerActions-C05_NlBv.js → PickerTriggerActions-apA_Ruie.js} +1 -1
  154. package/storybook-static/assets/{Popover-CI-lzd_Y.js → Popover-BYGM8Bjj.js} +2 -2
  155. package/storybook-static/assets/{Popover-Dp6v7TaU.js → Popover-CDeopGLJ.js} +1 -1
  156. package/storybook-static/assets/{Popover.stories-D7LLMGrG.js → Popover.stories-DTeZeyAB.js} +1 -1
  157. package/storybook-static/assets/{PresetRangeDateInput-DEXNHHFw.js → PresetRangeDateInput-BdFjz9Ed.js} +2 -2
  158. package/storybook-static/assets/{PresetRangeDateInput-jsBNunjm.js → PresetRangeDateInput-D3FBpZqV.js} +1 -1
  159. package/storybook-static/assets/PresetRangeDateInput.stories-B2HCz7Tw.js +3 -0
  160. package/storybook-static/assets/{PresetSelect-B0OvN78Z.js → PresetSelect-BgzVe_NB.js} +1 -1
  161. package/storybook-static/assets/{README-Bu_7En3k.js → README-1tFUbU_N.js} +1 -1
  162. package/storybook-static/assets/{README-D95iopvt.js → README-9flk-o3B.js} +1 -1
  163. package/storybook-static/assets/{README-z6nH2ckx.js → README-B5QVQmyU.js} +1 -1
  164. package/storybook-static/assets/{README-CsAEz_8x.js → README-B8dyxeZz.js} +9 -12
  165. package/storybook-static/assets/{README-CwzP17ME.js → README-BJEbnNWP.js} +5 -9
  166. package/storybook-static/assets/{README--JrkMrwi.js → README-BRnZl0of.js} +4 -4
  167. package/storybook-static/assets/{README-BQpq3lh7.js → README-BSrGqFaw.js} +1 -1
  168. package/storybook-static/assets/{README-CPsRBLe4.js → README-BTp9nnLv.js} +3 -3
  169. package/storybook-static/assets/{README-CZuXtApO.js → README-BUkpxX-E.js} +4 -4
  170. package/storybook-static/assets/{README-CuqoQyPO.js → README-Bht25HeR.js} +1 -1
  171. package/storybook-static/assets/{README-BLho4XLO.js → README-Br9h1slQ.js} +4 -4
  172. package/storybook-static/assets/{README-yZSX-OqC.js → README-BtPehMeb.js} +4 -8
  173. package/storybook-static/assets/{README-LsHbJAIM.js → README-Bv9s5Hlv.js} +4 -7
  174. package/storybook-static/assets/{README-CoWUGZ_l.js → README-C2rr_CMA.js} +1 -1
  175. package/storybook-static/assets/{README-BuAqAOQM.js → README-C8K3rQpu.js} +4 -4
  176. package/storybook-static/assets/{README-DBjNHk3o.js → README-CBhnA3Kz.js} +3 -3
  177. package/storybook-static/assets/{README-yrnG-A7C.js → README-C_uOxFAl.js} +3 -3
  178. package/storybook-static/assets/{README-BBZeaX_g.js → README-CeuRBAf6.js} +1 -1
  179. package/storybook-static/assets/{README-D8up0NHH.js → README-Chc7eGGc.js} +1 -1
  180. package/storybook-static/assets/{README-Cc1ZT-3z.js → README-Cl2jxLna.js} +5 -5
  181. package/storybook-static/assets/{README-CisRMHhh.js → README-CuYqzgi0.js} +1 -1
  182. package/storybook-static/assets/{README-CD5_64aC.js → README-Cuj7DFn9.js} +5 -8
  183. package/storybook-static/assets/{README-IjRO8QsY.js → README-CvrH-776.js} +1 -1
  184. package/storybook-static/assets/{README-DRmu-SFW.js → README-CxsAd0Iq.js} +1 -1
  185. package/storybook-static/assets/{README-CkJtDuAy.js → README-DGTIYOSH.js} +3 -6
  186. package/storybook-static/assets/{README-Cc_acRci.js → README-DHJwCm5f.js} +14 -14
  187. package/storybook-static/assets/{README-mw1aJmys.js → README-DLBEUtiL.js} +1 -1
  188. package/storybook-static/assets/{README-BWH3eVjB.js → README-DNDYDuQ4.js} +4 -8
  189. package/storybook-static/assets/{README-CkwN7vVC.js → README-DQSMXoRa.js} +3 -5
  190. package/storybook-static/assets/{README-k92LCArT.js → README-DSsqg62x.js} +4 -8
  191. package/storybook-static/assets/{README-Dfdjepn7.js → README-DYKVnI5h.js} +4 -8
  192. package/storybook-static/assets/{README-BkBUm6xw.js → README-DZmDqmSd.js} +12 -12
  193. package/storybook-static/assets/{README-Dmt6U3aU.js → README-DcJ05Rnh.js} +1 -1
  194. package/storybook-static/assets/{README-ChzloWz7.js → README-Dju2IqV_.js} +1 -1
  195. package/storybook-static/assets/{README-BKyKhTdP.js → README-DldTDL_-.js} +1 -1
  196. package/storybook-static/assets/{README-oaNW_-7c.js → README-Dq0P8Ach.js} +3 -7
  197. package/storybook-static/assets/{README-B80TRZff.js → README-GstpCBI6.js} +1 -1
  198. package/storybook-static/assets/{README-DBMe9cYi.js → README-HhDoM8Gq.js} +2 -2
  199. package/storybook-static/assets/{README-DVhchZZO.js → README-I0-Ly9-N.js} +4 -8
  200. package/storybook-static/assets/{README-PtCi8SvW.js → README-NwNz8xro.js} +1 -5
  201. package/storybook-static/assets/{README-BYSR0Cie.js → README-OGP9mnSD.js} +4 -4
  202. package/storybook-static/assets/{README-CiMCyRM7.js → README-Se6780nc.js} +1 -1
  203. package/storybook-static/assets/{README-BdToXIoX.js → README-VwNH_K60.js} +1 -1
  204. package/storybook-static/assets/{README-CXBr_CyQ.js → README-_aVIdcMd.js} +4 -4
  205. package/storybook-static/assets/{README-BaCtki1X.js → README-bhX-QiSo.js} +3 -3
  206. package/storybook-static/assets/{README-DjPdG1sn.js → README-eqGIA1ao.js} +4 -8
  207. package/storybook-static/assets/{README-D6gttVs5.js → README-fLJ5n8A8.js} +6 -9
  208. package/storybook-static/assets/{README-BuJyvn9e.js → README-g3WhSoX3.js} +3 -3
  209. package/storybook-static/assets/{README-DQGBcWhx.js → README-m0xvi4o1.js} +1 -1
  210. package/storybook-static/assets/{README-DnCNNxgo.js → README-mXAkjKF0.js} +1 -1
  211. package/storybook-static/assets/{README-l6UdMKGF.js → README-n3wmMhlD.js} +1 -4
  212. package/storybook-static/assets/{README-CYgh97f9.js → README-z2leBvSk.js} +3 -3
  213. package/storybook-static/assets/{RadioButton-Cjuz545O.js → RadioButton-DqEZ3dh2.js} +2 -2
  214. package/storybook-static/assets/{RadioButton-ASb4zRKF.js → RadioButton-JEqzXOJN.js} +1 -1
  215. package/storybook-static/assets/RadioButton.stories-CzIM9dix.js +32 -0
  216. package/storybook-static/assets/{RadioGroup-3QSU0_PH.js → RadioGroup-COIsrK0r.js} +2 -2
  217. package/storybook-static/assets/{RadioGroup-UOcxQ4n6.js → RadioGroup-D4EHkLTb.js} +1 -1
  218. package/storybook-static/assets/{RadioGroup.stories-B9JWyRFi.js → RadioGroup.stories-BdAv58pJ.js} +1 -1
  219. package/storybook-static/assets/{Scrollable-BM7KKTaO.js → Scrollable-noVIQseX.js} +1 -1
  220. package/storybook-static/assets/{Select-CzipkH5g.js → Select-9v7A23y8.js} +2 -2
  221. package/storybook-static/assets/{Select-BIYQ3HYq.js → Select-DgPcfbEp.js} +1 -1
  222. package/storybook-static/assets/Select.stories-yIRnlqrF.js +69 -0
  223. package/storybook-static/assets/{SerializableSelect-aH37Oz_P.js → SerializableSelect-CnPwQtgN.js} +2 -2
  224. package/storybook-static/assets/{SerializableSelect.stories-Cb31hcHm.js → SerializableSelect.stories-9QxpRX-K.js} +2 -2
  225. package/storybook-static/assets/{SingleDateTimeInput-BKZ2j5XA.js → SingleDateTimeInput-CxKz7tUP.js} +2 -2
  226. package/storybook-static/assets/{SingleDateTimeInput-jcU1eYyD.js → SingleDateTimeInput-DBrfgnnn.js} +1 -1
  227. package/storybook-static/assets/{SingleDateTimeInput.stories-D8facy2e.js → SingleDateTimeInput.stories-lOLyuR7U.js} +1 -1
  228. package/storybook-static/assets/{Slider-D5zW2B4x.js → Slider-Cn1YHOVt.js} +1 -1
  229. package/storybook-static/assets/{Slider-CdlSXT8S.js → Slider-KC0hs5nY.js} +3 -3
  230. package/storybook-static/assets/{Slider.stories-DJFDUw-L.js → Slider.stories-C-IjisOs.js} +1 -1
  231. package/storybook-static/assets/{SliderInput-DS33CaaK.js → SliderInput-BVDFbjAz.js} +3 -3
  232. package/storybook-static/assets/{SliderInput-BR8kdM0H.js → SliderInput-Bz4D-xc3.js} +1 -1
  233. package/storybook-static/assets/{SliderInput.stories-B_mObDwL.js → SliderInput.stories-SlhRnTWN.js} +1 -1
  234. package/storybook-static/assets/{Sortable-DWy-JKZS.js → Sortable-d-UOB6NI.js} +2 -2
  235. package/storybook-static/assets/{Sortable.stories-SPmHtcYM.js → Sortable.stories-DWywtUOf.js} +1 -1
  236. package/storybook-static/assets/{Splitter-HUb-YSZF.js → Splitter-t2bV_zrF.js} +4 -4
  237. package/storybook-static/assets/{Splitter.stories-Crzq96sd.js → Splitter.stories-CTTTfgXu.js} +1 -1
  238. package/storybook-static/assets/{StateSelect-BSjtYKZ-.js → StateSelect-CR5WR-IW.js} +2 -2
  239. package/storybook-static/assets/{StateSelect-BwlppuOd.js → StateSelect-CX7Xf-aX.js} +1 -1
  240. package/storybook-static/assets/StateSelect.stories-3KkvmQ80.js +59 -0
  241. package/storybook-static/assets/StringToggle.stories-D7r-Du4d.js +5 -0
  242. package/storybook-static/assets/{Switch-fLpDZ4qU.js → Switch-DB4EZ32N.js} +1 -1
  243. package/storybook-static/assets/{Switch-nA9xU7Pp.js → Switch-Deae3h9G.js} +2 -2
  244. package/storybook-static/assets/Switch.stories-CZxayDtX.js +15 -0
  245. package/storybook-static/assets/{Table-wK63zl6Q.js → Table-CrxyY7zt.js} +4 -4
  246. package/storybook-static/assets/{Table.stories-C0G_h1tN.js → Table.stories-Cwxd5T2K.js} +2 -2
  247. package/storybook-static/assets/{Tabs-D8KwnnA-.js → Tabs-L4LxDqx4.js} +3 -3
  248. package/storybook-static/assets/{Tabs.stories-CS6nCuni.js → Tabs.stories-C4XMXjqd.js} +2 -2
  249. package/storybook-static/assets/{TabsBox-DP0-ZqEC.js → TabsBox-Bnvm4jMi.js} +1 -1
  250. package/storybook-static/assets/{TagInput-D4lwVc3K.js → TagInput-DW0JzYQ3.js} +1 -1
  251. package/storybook-static/assets/TagInput.stories-zF7cV7Cp.js +18 -0
  252. package/storybook-static/assets/{Text-DG9QNJe0.js → Text-ByhnRSgp.js} +1 -1
  253. package/storybook-static/assets/{Textarea-D3-Th6DP.js → Textarea-BySrQxab.js} +2 -2
  254. package/storybook-static/assets/{Textarea-Dj6LQHvv.js → Textarea-WtjTIiyq.js} +1 -1
  255. package/storybook-static/assets/Textarea.stories-jFSqX_4h.js +17 -0
  256. package/storybook-static/assets/{TimePanel-BB4DBxJQ.js → TimePanel-B-rvi-xm.js} +1 -1
  257. package/storybook-static/assets/TimePanel.stories-BQJruT0g.js +14 -0
  258. package/storybook-static/assets/{Toggle-CZ6VsUj-.js → Toggle-BfRh792z.js} +2 -2
  259. package/storybook-static/assets/{Toggle-D6bWhfSd.js → Toggle-BkglFvBx.js} +1 -1
  260. package/storybook-static/assets/Toggle.stories-BonTJbH-.js +25 -0
  261. package/storybook-static/assets/{TreeMultiSelect-CHWAQAhE.js → TreeMultiSelect-7E1j6lHT.js} +1 -1
  262. package/storybook-static/assets/{TreeMultiSelect-BRvJJEY_.js → TreeMultiSelect-CKr7kx7s.js} +1 -1
  263. package/storybook-static/assets/{TreeMultiSelect.stories-BLkkWrbm.js → TreeMultiSelect.stories-DQ9N-EPu.js} +1 -1
  264. package/storybook-static/assets/{TreePickerBase-COJUEQlF.js → TreePickerBase-DwoQyBMk.js} +1 -1
  265. package/storybook-static/assets/{TreeSelect-nFF1HBur.js → TreeSelect-BLc7zLho.js} +1 -1
  266. package/storybook-static/assets/{TreeSelect-DRmtAxPM.js → TreeSelect-BP_YoVCu.js} +1 -1
  267. package/storybook-static/assets/TreeSelect.stories-CyurXsU_.js +32 -0
  268. package/storybook-static/assets/{TreeTable-BRWCFTXn.js → TreeTable-wfgjChnU.js} +3 -3
  269. package/storybook-static/assets/{TreeTable.stories-BqoNWDPG.js → TreeTable.stories-DUBR67SN.js} +2 -2
  270. package/storybook-static/assets/{WithTooltip-7X4HQR7L-DQ4Qthn2.js → WithTooltip-CDUNV5IS-mFMh6Qcu.js} +2 -2
  271. package/storybook-static/assets/{blocks-BohMQTSj.js → blocks-DNj8uFSt.js} +3 -3
  272. package/storybook-static/assets/{check-D7ID2Deb.js → check-CS2caYIB.js} +1 -1
  273. package/storybook-static/assets/{chevron-down-DNkLBCIY.js → chevron-down-DXkNPvpX.js} +1 -1
  274. package/storybook-static/assets/{chevron-left-CdeAAF4x.js → chevron-left-5q-SFjrm.js} +1 -1
  275. package/storybook-static/assets/{chevron-right-BXx9VPR9.js → chevron-right-u6yLjLrs.js} +1 -1
  276. package/storybook-static/assets/{chunk-W22LQPXL-DRxdZLYI.js → chunk-W22LQPXL-CfJGLIdy.js} +1 -1
  277. package/storybook-static/assets/{circle-alert-BRmexcKa.js → circle-alert-Cs1OuREv.js} +1 -1
  278. package/storybook-static/assets/circle-check-Cvppn-HO.js +1 -0
  279. package/storybook-static/assets/components-B6cPezpK.js +241 -0
  280. package/storybook-static/assets/{contextMenu-DsJ4tjOh.js → contextMenu-CX8Geuik.js} +1 -1
  281. package/storybook-static/assets/{defaultRenderers-DfmnIuod.js → defaultRenderers-Dinv2uRZ.js} +1 -1
  282. package/storybook-static/assets/{download-BM2GUoHT.js → download-DY_RFHLw.js} +1 -1
  283. package/storybook-static/assets/floating-ui.react-CCV40RlP.js +1 -0
  284. package/storybook-static/assets/{formatters-D33Uh3si-CxrG0jsB.js → formatters-D33Uh3si-Df97arf9.js} +1 -1
  285. package/storybook-static/assets/{foundationApi-B9hbYace.js → foundationApi-naPnCFLL.js} +3 -6
  286. package/storybook-static/assets/{foundationLib-CerWWVvG.js → foundationLib-CSxKMNQk.js} +1 -1
  287. package/storybook-static/assets/{hooks-DVzTVd_R.js → hooks-CK4me-dJ.js} +1 -1
  288. package/storybook-static/assets/{iframe-K-XGUe-D.js → iframe-YrfSEgEg.js} +203 -203
  289. package/storybook-static/assets/iframe-uYND_WUi.js +1 -0
  290. package/storybook-static/assets/{info-DuSCzhWe.js → info-BEkn6tJB.js} +1 -1
  291. package/storybook-static/assets/odata-j4p1dw3i.js +1 -0
  292. package/storybook-static/assets/odata-service-CWkHASdw-CXhFi03v.js +3 -0
  293. package/storybook-static/assets/{odataStoryFixtures-mZQcAsMK.js → odataStoryFixtures-B_1MKEB-.js} +1 -1
  294. package/storybook-static/assets/{react-18-D4o7zN8K.js → react-18-EmNFJX4V.js} +1 -1
  295. package/storybook-static/assets/react-BihcRTyZ.js +9 -0
  296. package/storybook-static/assets/{refresh-cw-CX2bab9x.js → refresh-cw-uKRX7BI0.js} +1 -1
  297. package/storybook-static/assets/{settings-2-BJfXo0yn.js → settings-2-DTKuqR8p.js} +1 -1
  298. package/storybook-static/assets/{sortable-BRu15Ztn.js → sortable-sVqTZjeF.js} +1 -1
  299. package/storybook-static/assets/{syntaxhighlighter-QEQV7K2Y-Cj45F5T0.js → syntaxhighlighter-QEQV7K2Y-GFZ4bA4u.js} +1 -1
  300. package/storybook-static/assets/theming-BgT2grXK.js +39 -0
  301. package/storybook-static/assets/{trash-2-P9F6tNaQ.js → trash-2-C6QVfyTq.js} +1 -1
  302. package/storybook-static/assets/{triangle-alert-D3Dwx8eQ.js → triangle-alert-DKkTKSAW.js} +1 -1
  303. package/storybook-static/assets/{useODataSelectBase-B6VwzbOR.js → useODataSelectBase-BxPpoJje.js} +1 -1
  304. package/storybook-static/assets/{useODataTreeData-DXyvta3A.js → useODataTreeData-Ct-ZR8pA.js} +1 -1
  305. package/storybook-static/assets/{usePickerQuery-Doby770u.js → usePickerQuery-DJMG-4Gl.js} +1 -1
  306. package/storybook-static/assets/{usePickerTriggerController-viUgSGjI.js → usePickerTriggerController-DeZhyi9h.js} +1 -1
  307. package/storybook-static/assets/{x-DIxXnpOQ.js → x-cU42PK2s.js} +1 -1
  308. package/storybook-static/iframe.html +2 -2
  309. package/storybook-static/index.json +1 -1
  310. package/storybook-static/project.json +1 -1
  311. package/storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +1 -1
  312. package/storybook-static/sb-manager/globals-runtime.js +5 -2
  313. package/storybook-static/sb-manager/runtime.js +1 -0
  314. package/dist/chunks/input-d08WN5FV.js.map +0 -1
  315. package/dist/chunks/picker-DF_heUIT.js.map +0 -1
  316. package/storybook-static/assets/Color-6AOWCN3U-DI-APVga.js +0 -1
  317. package/storybook-static/assets/DateRangePresetSelect.stories-OATiJF6J.js +0 -19
  318. package/storybook-static/assets/Dialog.stories-2NFJy7ry.js +0 -22
  319. package/storybook-static/assets/Disclosure.stories-D1XLmlV_.js +0 -23
  320. package/storybook-static/assets/DropZone.stories-Dm7AK-kr.js +0 -26
  321. package/storybook-static/assets/ExpandableActionPanel.stories-CJZPlJkO.js +0 -9
  322. package/storybook-static/assets/ImageCropper.stories-C-MdyLbo.js +0 -131
  323. package/storybook-static/assets/ImageRenderer.stories-C2_kDlXr.js +0 -34
  324. package/storybook-static/assets/ImageView.stories-DPiGO3Ky.js +0 -14
  325. package/storybook-static/assets/Input-BDeY_-Jr.js +0 -3
  326. package/storybook-static/assets/Input-Db2-9PJZ.css +0 -1
  327. package/storybook-static/assets/Input.stories-BdtZlToV.js +0 -52
  328. package/storybook-static/assets/InputFile.stories-CA3m-mhv.js +0 -27
  329. package/storybook-static/assets/InputFiles.stories-RP0bEium.js +0 -26
  330. package/storybook-static/assets/InputImage.stories-Yn37tywg.js +0 -56
  331. package/storybook-static/assets/MultiSelect.stories-DdUxajBC.js +0 -55
  332. package/storybook-static/assets/PeriodSelect.stories-B6rrRiik.js +0 -50
  333. package/storybook-static/assets/PresetRangeDateInput.stories-DnIcaxSx.js +0 -3
  334. package/storybook-static/assets/README-BPMguwxX.js +0 -101
  335. package/storybook-static/assets/RadioButton.stories-DMiFrv1f.js +0 -32
  336. package/storybook-static/assets/Select.stories-DFRMbFDX.js +0 -69
  337. package/storybook-static/assets/StateSelect.stories-Cz-LdiGm.js +0 -59
  338. package/storybook-static/assets/StringToggle.stories-CLQs9S-2.js +0 -5
  339. package/storybook-static/assets/Switch.stories-Cc7zwrXS.js +0 -15
  340. package/storybook-static/assets/TagInput.stories-KFzrqv4v.js +0 -18
  341. package/storybook-static/assets/Textarea.stories-qerXQk3F.js +0 -17
  342. package/storybook-static/assets/TimePanel.stories-CtaUQrxC.js +0 -14
  343. package/storybook-static/assets/Toggle.stories-DbO2-OJd.js +0 -25
  344. package/storybook-static/assets/TreeSelect.stories-DmkPem76.js +0 -32
  345. package/storybook-static/assets/circle-check-BRJ_YsFd.js +0 -1
  346. package/storybook-static/assets/components-Biok6rgP.js +0 -241
  347. package/storybook-static/assets/floating-ui.react-CBQlgAqp.js +0 -1
  348. package/storybook-static/assets/iframe-GtVf_5WZ.js +0 -1
  349. package/storybook-static/assets/odata-D7jdF0bG.js +0 -1
  350. package/storybook-static/assets/odata-service-CWkHASdw-DlmSiioz.js +0 -3
  351. package/storybook-static/assets/react-CtcbcJqm.js +0 -9
  352. package/storybook-static/assets/theming-Cvtrnj7n.js +0 -39
@@ -1,3 +0,0 @@
1
- import{n as e}from"./rolldown-runtime-DkW27tQK.js";import{n as t,t as n}from"./react-GkniIHEK.js";function r(e){return e<0?-1:+(e>0)}function i(e,t){return e===t?0:e<t?-1:1}function a(e,t){let n=o.compare(e,t);return n===0?i(e,t):r(n)}var o;function s(){return(s=e((()=>{o=new Intl.Collator(`ru-RU`,{usage:`sort`,sensitivity:`base`,numeric:!0})})))()}function c(e,t,n){function r(n,r){if(n._zod||Object.defineProperty(n,"_zod",{value:{def:r,constr:o,traits:new Set},enumerable:!1}),n._zod.traits.has(e))return;n._zod.traits.add(e),t(n,r);let i=o.prototype,a=Object.keys(i);for(let e=0;e<a.length;e++){let t=a[e];t in n||(n[t]=i[t].bind(n))}}let i=n?.Parent??Object;class a extends i{}Object.defineProperty(a,"name",{value:e});function o(e){var t;let i=n?.Parent?new a:this;r(i,e),(t=i._zod).deferred??(t.deferred=[]);for(let e of i._zod.deferred)e();return i}return Object.defineProperty(o,"init",{value:r}),Object.defineProperty(o,Symbol.hasInstance,{value:t=>n?.Parent&&t instanceof n.Parent?!0:t?._zod?.traits?.has(e)}),Object.defineProperty(o,"name",{value:e}),o}function l(e){return e&&Object.assign(p,e),p}var u,d,f,p;function m(){return(m=e((()=>{d=class extends Error{constructor(){super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`)}},f=class extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name=`ZodEncodeError`}},(u=globalThis).__zod_globalConfig??(u.__zod_globalConfig={}),p=globalThis.__zod_globalConfig})))()}function ee(e,t){return typeof t==`bigint`?t.toString():t}function te(e){return e==null}function ne(e){let t=+!!e.startsWith(`^`),n=e.endsWith(`$`)?e.length-1:e.length;return e.slice(t,n)}function re(e,t){let n=e/t,r=Math.round(n),i=2**-52*Math.max(Math.abs(n),1);return Math.abs(n-r)<i?0:n-r}function h(e,t,n){let r;Object.defineProperty(e,t,{get(){if(r!==ge)return r===void 0&&(r=ge,r=n()),r},set(n){Object.defineProperty(e,t,{value:n})},configurable:!0})}function ie(...e){let t={};for(let n of e){let e=Object.getOwnPropertyDescriptors(n);Object.assign(t,e)}return Object.defineProperties({},t)}function ae(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,``).replace(/[\s_-]+/g,`-`).replace(/^-+|-+$/g,``)}function oe(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function se(e){if(oe(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!=`function`)return!0;let n=t.prototype;return oe(n)!==!1&&Object.prototype.hasOwnProperty.call(n,`isPrototypeOf`)!==!1}function ce(e){return se(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}function le(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function ue(e,t,n){let r=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(r._zod.parent=e),r}function g(e){let t=e;if(!t)return{};if(typeof t==`string`)return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error==`string`?{...t,error:()=>t.error}:t}function _(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function de(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue===!1)return!0;return!1}function fe(e,t){return t.map(t=>{var n;return(n=t).path??(n.path=[]),t.path.unshift(e),t})}function pe(e){return typeof e==`string`?e:e?.message}function v(e,t,n){let r=e.message?e.message:pe(e.inst?._zod.def?.error?.(e))??pe(t?.error?.(e))??pe(n.customError?.(e))??pe(n.localeError?.(e))??`Invalid input`,{inst:i,continue:a,input:o,...s}=e;return s.path??=[],s.message=r,t?.reportInput&&(s.input=o),s}function me(e){return Array.isArray(e)?`array`:typeof e==`string`?`string`:`unknown`}function he(...e){let[t,n,r]=e;return typeof t==`string`?{message:t,code:`custom`,input:n,inst:r}:{...t}}var ge,_e,ve;function y(){return(y=e((()=>{ge=Symbol(`evaluating`),_e=`captureStackTrace`in Error?Error.captureStackTrace:(...e)=>{},ve={safeint:[-(2**53-1),2**53-1],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]}})))()}function ye(e,t=e=>e.message){let n={},r=[];for(let i of e.issues)i.path.length>0?(n[i.path[0]]=n[i.path[0]]||[],n[i.path[0]].push(t(i))):r.push(t(i));return{formErrors:r,fieldErrors:n}}function be(e,t=e=>e.message){let n={_errors:[]},r=(e,i=[])=>{for(let a of e.issues)if(a.code===`invalid_union`&&a.errors.length)a.errors.map(e=>r({issues:e},[...i,...a.path]));else if(a.code===`invalid_key`)r({issues:a.issues},[...i,...a.path]);else if(a.code===`invalid_element`)r({issues:a.issues},[...i,...a.path]);else{let e=[...i,...a.path];if(e.length===0)n._errors.push(t(a));else{let r=n,i=0;for(;i<e.length;){let n=e[i];i===e.length-1?(r[n]=r[n]||{_errors:[]},r[n]._errors.push(t(a))):r[n]=r[n]||{_errors:[]},r=r[n],i++}}}};return r(e),n}var xe,Se,Ce;function we(){return(we=e((()=>{m(),y(),xe=(e,t)=>{e.name=`$ZodError`,Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,ee,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},Se=c(`$ZodError`,xe),Ce=c(`$ZodError`,xe,{Parent:Error})})))()}var Te,Ee,De,Oe,ke,Ae,je,Me,Ne,Pe,Fe,Ie,Le,Re;function ze(){return(ze=e((()=>{m(),we(),y(),Te=e=>(t,n,r,i)=>{let a=r?{...r,async:!1}:{async:!1},o=t._zod.run({value:n,issues:[]},a);if(o instanceof Promise)throw new d;if(o.issues.length){let t=new((i?.Err)??e)(o.issues.map(e=>v(e,a,l())));throw _e(t,i?.callee),t}return o.value},Ee=e=>async(t,n,r,i)=>{let a=r?{...r,async:!0}:{async:!0},o=t._zod.run({value:n,issues:[]},a);if(o instanceof Promise&&(o=await o),o.issues.length){let t=new((i?.Err)??e)(o.issues.map(e=>v(e,a,l())));throw _e(t,i?.callee),t}return o.value},De=e=>(t,n,r)=>{let i=r?{...r,async:!1}:{async:!1},a=t._zod.run({value:n,issues:[]},i);if(a instanceof Promise)throw new d;return a.issues.length?{success:!1,error:new(e??Se)(a.issues.map(e=>v(e,i,l())))}:{success:!0,data:a.value}},Oe=De(Ce),ke=e=>async(t,n,r)=>{let i=r?{...r,async:!0}:{async:!0},a=t._zod.run({value:n,issues:[]},i);return a instanceof Promise&&(a=await a),a.issues.length?{success:!1,error:new e(a.issues.map(e=>v(e,i,l())))}:{success:!0,data:a.value}},Ae=ke(Ce),je=e=>(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return Te(e)(t,n,i)},Me=e=>(t,n,r)=>Te(e)(t,n,r),Ne=e=>async(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return Ee(e)(t,n,i)},Pe=e=>async(t,n,r)=>Ee(e)(t,n,r),Fe=e=>(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return De(e)(t,n,i)},Ie=e=>(t,n,r)=>De(e)(t,n,r),Le=e=>async(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return ke(e)(t,n,i)},Re=e=>async(t,n,r)=>ke(e)(t,n,r)})))()}function Be(){return new RegExp(et,`u`)}function Ve(e){let t=`(?:[01]\\d|2[0-3]):[0-5]\\d`;return typeof e.precision==`number`?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function He(e){return RegExp(`^${Ve(e)}$`)}function Ue(e){let t=Ve({precision:e.precision}),n=[`Z`];e.local&&n.push(``),e.offset&&n.push(`([+-](?:[01]\\d|2[0-3]):[0-5]\\d)`);let r=`${t}(?:${n.join(`|`)})`;return RegExp(`^${lt}T(?:${r})$`)}var We,Ge,Ke,qe,Je,Ye,Xe,Ze,Qe,$e,et,tt,nt,rt,it,at,ot,st,ct,lt,ut,dt,ft,pt,mt,ht,gt;function _t(){return(_t=e((()=>{We=/^[cC][0-9a-z]{6,}$/,Ge=/^[0-9a-z]+$/,Ke=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,qe=/^[0-9a-vA-V]{20}$/,Je=/^[A-Za-z0-9]{27}$/,Ye=/^[a-zA-Z0-9_-]{21}$/,Xe=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,Ze=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,Qe=e=>e?RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,$e=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,et=`^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$`,tt=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,nt=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,rt=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,it=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,at=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,ot=/^[A-Za-z0-9_-]*$/,st=/^https?$/,ct=/^\+[1-9]\d{6,14}$/,lt=`(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))`,ut=RegExp(`^${lt}$`),dt=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??``}}`:`[\\s\\S]*`;return RegExp(`^${t}$`)},ft=/^-?\d+$/,pt=/^-?\d+(?:\.\d+)?$/,mt=/^(?:true|false)$/i,ht=/^[^A-Z]*$/,gt=/^[^a-z]*$/})))()}var b,vt,yt,bt,xt,St,Ct,wt,Tt,Et,Dt,Ot,kt,At,jt,Mt,Nt;function Pt(){return(Pt=e((()=>{m(),_t(),y(),b=c(`$ZodCheck`,(e,t)=>{var n;e._zod??={},e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),vt={number:`number`,bigint:`bigint`,object:`date`},yt=c(`$ZodCheckLessThan`,(e,t)=>{b.init(e,t);let n=vt[typeof t.value];e._zod.onattach.push(e=>{let n=e._zod.bag,r=(t.inclusive?n.maximum:n.exclusiveMaximum)??1/0;t.value<r&&(t.inclusive?n.maximum=t.value:n.exclusiveMaximum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value<=t.value:r.value<t.value)||r.issues.push({origin:n,code:`too_big`,maximum:typeof t.value==`object`?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),bt=c(`$ZodCheckGreaterThan`,(e,t)=>{b.init(e,t);let n=vt[typeof t.value];e._zod.onattach.push(e=>{let n=e._zod.bag,r=(t.inclusive?n.minimum:n.exclusiveMinimum)??-1/0;t.value>r&&(t.inclusive?n.minimum=t.value:n.exclusiveMinimum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value>=t.value:r.value>t.value)||r.issues.push({origin:n,code:`too_small`,minimum:typeof t.value==`object`?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),xt=c(`$ZodCheckMultipleOf`,(e,t)=>{b.init(e,t),e._zod.onattach.push(e=>{var n;(n=e._zod.bag).multipleOf??(n.multipleOf=t.value)}),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw Error(`Cannot mix number and bigint in multiple_of check.`);(typeof n.value==`bigint`?n.value%t.value===BigInt(0):re(n.value,t.value)===0)||n.issues.push({origin:typeof n.value,code:`not_multiple_of`,divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),St=c(`$ZodCheckNumberFormat`,(e,t)=>{b.init(e,t),t.format=t.format||`float64`;let n=t.format?.includes(`int`),r=n?`int`:`number`,[i,a]=ve[t.format];e._zod.onattach.push(e=>{let r=e._zod.bag;r.format=t.format,r.minimum=i,r.maximum=a,n&&(r.pattern=ft)}),e._zod.check=o=>{let s=o.value;if(n){if(!Number.isInteger(s)){o.issues.push({expected:r,format:t.format,code:`invalid_type`,continue:!1,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>0?o.issues.push({input:s,code:`too_big`,maximum:2**53-1,note:`Integers must be within the safe integer range.`,inst:e,origin:r,inclusive:!0,continue:!t.abort}):o.issues.push({input:s,code:`too_small`,minimum:-(2**53-1),note:`Integers must be within the safe integer range.`,inst:e,origin:r,inclusive:!0,continue:!t.abort});return}}s<i&&o.issues.push({origin:`number`,input:s,code:`too_small`,minimum:i,inclusive:!0,inst:e,continue:!t.abort}),s>a&&o.issues.push({origin:`number`,input:s,code:`too_big`,maximum:a,inclusive:!0,inst:e,continue:!t.abort})}}),Ct=c(`$ZodCheckMaxLength`,(e,t)=>{var n;b.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!te(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag.maximum??1/0;t.maximum<n&&(e._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{let r=n.value;if(r.length<=t.maximum)return;let i=me(r);n.issues.push({origin:i,code:`too_big`,maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),wt=c(`$ZodCheckMinLength`,(e,t)=>{var n;b.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!te(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag.minimum??-1/0;t.minimum>n&&(e._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{let r=n.value;if(r.length>=t.minimum)return;let i=me(r);n.issues.push({origin:i,code:`too_small`,minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Tt=c(`$ZodCheckLengthEquals`,(e,t)=>{var n;b.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!te(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag;n.minimum=t.length,n.maximum=t.length,n.length=t.length}),e._zod.check=n=>{let r=n.value,i=r.length;if(i===t.length)return;let a=me(r),o=i>t.length;n.issues.push({origin:a,...o?{code:`too_big`,maximum:t.length}:{code:`too_small`,minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),Et=c(`$ZodCheckStringFormat`,(e,t)=>{var n,r;b.init(e,t),e._zod.onattach.push(e=>{let n=e._zod.bag;n.format=t.format,t.pattern&&(n.patterns??=new Set,n.patterns.add(t.pattern))}),t.pattern?(n=e._zod).check??(n.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:`string`,code:`invalid_format`,format:t.format,input:n.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(r=e._zod).check??(r.check=()=>{})}),Dt=c(`$ZodCheckRegex`,(e,t)=>{Et.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:`string`,code:`invalid_format`,format:`regex`,input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),Ot=c(`$ZodCheckLowerCase`,(e,t)=>{t.pattern??=ht,Et.init(e,t)}),kt=c(`$ZodCheckUpperCase`,(e,t)=>{t.pattern??=gt,Et.init(e,t)}),At=c(`$ZodCheckIncludes`,(e,t)=>{b.init(e,t);let n=le(t.includes),r=new RegExp(typeof t.position==`number`?`^.{${t.position}}${n}`:n);t.pattern=r,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(r)}),e._zod.check=n=>{n.value.includes(t.includes,t.position)||n.issues.push({origin:`string`,code:`invalid_format`,format:`includes`,includes:t.includes,input:n.value,inst:e,continue:!t.abort})}}),jt=c(`$ZodCheckStartsWith`,(e,t)=>{b.init(e,t);let n=RegExp(`^${le(t.prefix)}.*`);t.pattern??=n,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(n)}),e._zod.check=n=>{n.value.startsWith(t.prefix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`starts_with`,prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}}),Mt=c(`$ZodCheckEndsWith`,(e,t)=>{b.init(e,t);let n=RegExp(`.*${le(t.suffix)}$`);t.pattern??=n,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(n)}),e._zod.check=n=>{n.value.endsWith(t.suffix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`ends_with`,suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}}),Nt=c(`$ZodCheckOverwrite`,(e,t)=>{b.init(e,t),e._zod.check=e=>{e.value=t.tx(e.value)}})})))()}var Ft;function It(){return(It=e((()=>{Ft={major:4,minor:4,patch:3}})))()}function Lt(e){if(e===``)return!0;if(/\s/.test(e)||e.length%4!=0)return!1;try{return atob(e),!0}catch{return!1}}function Rt(e){if(!ot.test(e))return!1;let t=e.replace(/[-_]/g,e=>e===`-`?`+`:`/`);return Lt(t.padEnd(Math.ceil(t.length/4)*4,`=`))}function zt(e,t=null){try{let n=e.split(`.`);if(n.length!==3)return!1;let[r]=n;if(!r)return!1;let i=JSON.parse(atob(r));return!(`typ`in i&&i?.typ!==`JWT`||!i.alg||t&&(!(`alg`in i)||i.alg!==t))}catch{return!1}}function Bt(e,t,n){e.issues.length&&t.issues.push(...fe(n,e.issues)),t.value[n]=e.value}function Vt(e,t,n,r){for(let n of e)if(n.issues.length===0)return t.value=n.value,t;let i=e.filter(e=>!_(e));return i.length===1?(t.value=i[0].value,i[0]):(t.issues.push({code:`invalid_union`,input:t.value,inst:n,errors:e.map(e=>e.issues.map(e=>v(e,r,l())))}),t)}function Ht(e,t){if(e===t||e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(se(e)&&se(t)){let n=Object.keys(t),r=Object.keys(e).filter(e=>n.indexOf(e)!==-1),i={...e,...t};for(let n of r){let r=Ht(e[n],t[n]);if(!r.valid)return{valid:!1,mergeErrorPath:[n,...r.mergeErrorPath]};i[n]=r.data}return{valid:!0,data:i}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let n=[];for(let r=0;r<e.length;r++){let i=e[r],a=t[r],o=Ht(i,a);if(!o.valid)return{valid:!1,mergeErrorPath:[r,...o.mergeErrorPath]};n.push(o.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function Ut(e,t,n){let r=new Map,i;for(let n of t.issues)if(n.code===`unrecognized_keys`){i??=n;for(let e of n.keys)r.has(e)||r.set(e,{}),r.get(e).l=!0}else e.issues.push(n);for(let t of n.issues)if(t.code===`unrecognized_keys`)for(let e of t.keys)r.has(e)||r.set(e,{}),r.get(e).r=!0;else e.issues.push(t);let a=[...r].filter(([,e])=>e.l&&e.r).map(([e])=>e);if(a.length&&i&&e.issues.push({...i,keys:a}),_(e))return e;let o=Ht(t.value,n.value);if(!o.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(o.mergeErrorPath)}`);return e.value=o.data,e}function Wt(e,t){return t===void 0&&(e.issues.length||e.fallback)?{issues:[],value:void 0}:e}function Gt(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}function Kt(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:`invalid_type`,expected:`nonoptional`,input:e.value,inst:t}),e}function qt(e,t,n){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues,fallback:e.fallback},n)}function Jt(e){return e.value=Object.freeze(e.value),e}function Yt(e,t,n,r){if(!e){let e={code:`custom`,input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(e.params=r._zod.def.params),t.issues.push(he(e))}}var x,Xt,S,Zt,Qt,$t,en,tn,nn,rn,an,on,sn,cn,ln,un,dn,fn,pn,mn,hn,gn,_n,vn,yn,bn,xn,Sn,Cn,wn,Tn,En,Dn,On,kn,An,jn,Mn,Nn,Pn,Fn,In,Ln,Rn;function zn(){return(zn=e((()=>{Pt(),m(),ze(),_t(),y(),It(),x=c(`$ZodType`,(e,t)=>{var n;e??={},e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=Ft;let r=[...e._zod.def.checks??[]];e._zod.traits.has(`$ZodCheck`)&&r.unshift(e);for(let t of r)for(let n of t._zod.onattach)n(e);if(r.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let t=(e,t,n)=>{let r=_(e),i;for(let a of t){if(a._zod.def.when){if(de(e)||!a._zod.def.when(e))continue}else if(r)continue;let t=e.issues.length,o=a._zod.check(e);if(o instanceof Promise&&n?.async===!1)throw new d;if(i||o instanceof Promise)i=(i??Promise.resolve()).then(async()=>{await o,e.issues.length!==t&&(r||=_(e,t))});else{if(e.issues.length===t)continue;r||=_(e,t)}}return i?i.then(()=>e):e},n=(n,i,a)=>{if(_(n))return n.aborted=!0,n;let o=t(i,r,a);if(o instanceof Promise){if(a.async===!1)throw new d;return o.then(t=>e._zod.parse(t,a))}return e._zod.parse(o,a)};e._zod.run=(i,a)=>{if(a.skipChecks)return e._zod.parse(i,a);if(a.direction===`backward`){let t=e._zod.parse({value:i.value,issues:[]},{...a,skipChecks:!0});return t instanceof Promise?t.then(e=>n(e,i,a)):n(t,i,a)}let o=e._zod.parse(i,a);if(o instanceof Promise){if(a.async===!1)throw new d;return o.then(e=>t(e,r,a))}return t(o,r,a)}}h(e,`~standard`,()=>({validate:t=>{try{let n=Oe(e,t);return n.success?{value:n.data}:{issues:n.error?.issues}}catch{return Ae(e,t).then(e=>e.success?{value:e.data}:{issues:e.error?.issues})}},vendor:`zod`,version:1}))}),Xt=c(`$ZodString`,(e,t)=>{x.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??dt(e._zod.bag),e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=String(n.value)}catch{}return typeof n.value==`string`||n.issues.push({expected:`string`,code:`invalid_type`,input:n.value,inst:e}),n}}),S=c(`$ZodStringFormat`,(e,t)=>{Et.init(e,t),Xt.init(e,t)}),Zt=c(`$ZodGUID`,(e,t)=>{t.pattern??=Ze,S.init(e,t)}),Qt=c(`$ZodUUID`,(e,t)=>{if(t.version){let e={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(e===void 0)throw Error(`Invalid UUID version: "${t.version}"`);t.pattern??=Qe(e)}else t.pattern??=Qe();S.init(e,t)}),$t=c(`$ZodEmail`,(e,t)=>{t.pattern??=$e,S.init(e,t)}),en=c(`$ZodURL`,(e,t)=>{S.init(e,t),e._zod.check=n=>{try{let r=n.value.trim();if(!t.normalize&&t.protocol?.source===st.source&&!/^https?:\/\//i.test(r)){n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid URL format`,input:n.value,inst:e,continue:!t.abort});return}let i=new URL(r);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(i.hostname)||n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid hostname`,pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(i.protocol.endsWith(`:`)?i.protocol.slice(0,-1):i.protocol)||n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid protocol`,pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort})),n.value=t.normalize?i.href:r;return}catch{n.issues.push({code:`invalid_format`,format:`url`,input:n.value,inst:e,continue:!t.abort})}}}),tn=c(`$ZodEmoji`,(e,t)=>{t.pattern??=Be(),S.init(e,t)}),nn=c(`$ZodNanoID`,(e,t)=>{t.pattern??=Ye,S.init(e,t)}),rn=c(`$ZodCUID`,(e,t)=>{t.pattern??=We,S.init(e,t)}),an=c(`$ZodCUID2`,(e,t)=>{t.pattern??=Ge,S.init(e,t)}),on=c(`$ZodULID`,(e,t)=>{t.pattern??=Ke,S.init(e,t)}),sn=c(`$ZodXID`,(e,t)=>{t.pattern??=qe,S.init(e,t)}),cn=c(`$ZodKSUID`,(e,t)=>{t.pattern??=Je,S.init(e,t)}),ln=c(`$ZodISODateTime`,(e,t)=>{t.pattern??=Ue(t),S.init(e,t)}),un=c(`$ZodISODate`,(e,t)=>{t.pattern??=ut,S.init(e,t)}),dn=c(`$ZodISOTime`,(e,t)=>{t.pattern??=He(t),S.init(e,t)}),fn=c(`$ZodISODuration`,(e,t)=>{t.pattern??=Xe,S.init(e,t)}),pn=c(`$ZodIPv4`,(e,t)=>{t.pattern??=tt,S.init(e,t),e._zod.bag.format=`ipv4`}),mn=c(`$ZodIPv6`,(e,t)=>{t.pattern??=nt,S.init(e,t),e._zod.bag.format=`ipv6`,e._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:`invalid_format`,format:`ipv6`,input:n.value,inst:e,continue:!t.abort})}}}),hn=c(`$ZodCIDRv4`,(e,t)=>{t.pattern??=rt,S.init(e,t)}),gn=c(`$ZodCIDRv6`,(e,t)=>{t.pattern??=it,S.init(e,t),e._zod.check=n=>{let r=n.value.split(`/`);try{if(r.length!==2)throw Error();let[e,t]=r;if(!t)throw Error();let n=Number(t);if(`${n}`!==t||n<0||n>128)throw Error();new URL(`http://[${e}]`)}catch{n.issues.push({code:`invalid_format`,format:`cidrv6`,input:n.value,inst:e,continue:!t.abort})}}}),_n=c(`$ZodBase64`,(e,t)=>{t.pattern??=at,S.init(e,t),e._zod.bag.contentEncoding=`base64`,e._zod.check=n=>{Lt(n.value)||n.issues.push({code:`invalid_format`,format:`base64`,input:n.value,inst:e,continue:!t.abort})}}),vn=c(`$ZodBase64URL`,(e,t)=>{t.pattern??=ot,S.init(e,t),e._zod.bag.contentEncoding=`base64url`,e._zod.check=n=>{Rt(n.value)||n.issues.push({code:`invalid_format`,format:`base64url`,input:n.value,inst:e,continue:!t.abort})}}),yn=c(`$ZodE164`,(e,t)=>{t.pattern??=ct,S.init(e,t)}),bn=c(`$ZodJWT`,(e,t)=>{S.init(e,t),e._zod.check=n=>{zt(n.value,t.alg)||n.issues.push({code:`invalid_format`,format:`jwt`,input:n.value,inst:e,continue:!t.abort})}}),xn=c(`$ZodNumber`,(e,t)=>{x.init(e,t),e._zod.pattern=e._zod.bag.pattern??pt,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=Number(n.value)}catch{}let i=n.value;if(typeof i==`number`&&!Number.isNaN(i)&&Number.isFinite(i))return n;let a=typeof i==`number`?Number.isNaN(i)?`NaN`:Number.isFinite(i)?void 0:`Infinity`:void 0;return n.issues.push({expected:`number`,code:`invalid_type`,input:i,inst:e,...a?{received:a}:{}}),n}}),Sn=c(`$ZodNumberFormat`,(e,t)=>{St.init(e,t),xn.init(e,t)}),Cn=c(`$ZodBoolean`,(e,t)=>{x.init(e,t),e._zod.pattern=mt,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=!!n.value}catch{}let i=n.value;return typeof i==`boolean`||n.issues.push({expected:`boolean`,code:`invalid_type`,input:i,inst:e}),n}}),wn=c(`$ZodDate`,(e,t)=>{x.init(e,t),e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=new Date(n.value)}catch{}let i=n.value,a=i instanceof Date;return a&&!Number.isNaN(i.getTime())||n.issues.push({expected:`date`,code:`invalid_type`,input:i,...a?{received:`Invalid Date`}:{},inst:e}),n}}),Tn=c(`$ZodArray`,(e,t)=>{x.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!Array.isArray(i))return n.issues.push({expected:`array`,code:`invalid_type`,input:i,inst:e}),n;n.value=Array(i.length);let a=[];for(let e=0;e<i.length;e++){let o=i[e],s=t.element._zod.run({value:o,issues:[]},r);s instanceof Promise?a.push(s.then(t=>Bt(t,n,e))):Bt(s,n,e)}return a.length?Promise.all(a).then(()=>n):n}}),En=c(`$ZodUnion`,(e,t)=>{x.init(e,t),h(e._zod,`optin`,()=>t.options.some(e=>e._zod.optin===`optional`)?`optional`:void 0),h(e._zod,`optout`,()=>t.options.some(e=>e._zod.optout===`optional`)?`optional`:void 0),h(e._zod,`values`,()=>{if(t.options.every(e=>e._zod.values))return new Set(t.options.flatMap(e=>Array.from(e._zod.values)))}),h(e._zod,`pattern`,()=>{if(t.options.every(e=>e._zod.pattern)){let e=t.options.map(e=>e._zod.pattern);return RegExp(`^(${e.map(e=>ne(e.source)).join(`|`)})$`)}});let n=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(r,i)=>{if(n)return n(r,i);let a=!1,o=[];for(let e of t.options){let t=e._zod.run({value:r.value,issues:[]},i);if(t instanceof Promise)o.push(t),a=!0;else{if(t.issues.length===0)return t;o.push(t)}}return a?Promise.all(o).then(t=>Vt(t,r,e,i)):Vt(o,r,e,i)}}),Dn=c(`$ZodIntersection`,(e,t)=>{x.init(e,t),e._zod.parse=(e,n)=>{let r=e.value,i=t.left._zod.run({value:r,issues:[]},n),a=t.right._zod.run({value:r,issues:[]},n);return i instanceof Promise||a instanceof Promise?Promise.all([i,a]).then(([t,n])=>Ut(e,t,n)):Ut(e,i,a)}}),On=c(`$ZodTransform`,(e,t)=>{x.init(e,t),e._zod.optin=`optional`,e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new f(e.constructor.name);let i=t.transform(n.value,n);if(r.async)return(i instanceof Promise?i:Promise.resolve(i)).then(e=>(n.value=e,n.fallback=!0,n));if(i instanceof Promise)throw new d;return n.value=i,n.fallback=!0,n}}),kn=c(`$ZodOptional`,(e,t)=>{x.init(e,t),e._zod.optin=`optional`,e._zod.optout=`optional`,h(e._zod,`values`,()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),h(e._zod,`pattern`,()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${ne(e.source)})?$`):void 0}),e._zod.parse=(e,n)=>{if(t.innerType._zod.optin===`optional`){let r=e.value,i=t.innerType._zod.run(e,n);return i instanceof Promise?i.then(e=>Wt(e,r)):Wt(i,r)}return e.value===void 0?e:t.innerType._zod.run(e,n)}}),An=c(`$ZodExactOptional`,(e,t)=>{kn.init(e,t),h(e._zod,`values`,()=>t.innerType._zod.values),h(e._zod,`pattern`,()=>t.innerType._zod.pattern),e._zod.parse=(e,n)=>t.innerType._zod.run(e,n)}),jn=c(`$ZodNullable`,(e,t)=>{x.init(e,t),h(e._zod,`optin`,()=>t.innerType._zod.optin),h(e._zod,`optout`,()=>t.innerType._zod.optout),h(e._zod,`pattern`,()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${ne(e.source)}|null)$`):void 0}),h(e._zod,`values`,()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(e,n)=>e.value===null?e:t.innerType._zod.run(e,n)}),Mn=c(`$ZodDefault`,(e,t)=>{x.init(e,t),e._zod.optin=`optional`,h(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);if(e.value===void 0)return e.value=t.defaultValue,e;let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(e=>Gt(e,t)):Gt(r,t)}}),Nn=c(`$ZodPrefault`,(e,t)=>{x.init(e,t),e._zod.optin=`optional`,h(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>(n.direction===`backward`||e.value===void 0&&(e.value=t.defaultValue),t.innerType._zod.run(e,n))}),Pn=c(`$ZodNonOptional`,(e,t)=>{x.init(e,t),h(e._zod,`values`,()=>{let e=t.innerType._zod.values;return e?new Set([...e].filter(e=>e!==void 0)):void 0}),e._zod.parse=(n,r)=>{let i=t.innerType._zod.run(n,r);return i instanceof Promise?i.then(t=>Kt(t,e)):Kt(i,e)}}),Fn=c(`$ZodCatch`,(e,t)=>{x.init(e,t),e._zod.optin=`optional`,h(e._zod,`optout`,()=>t.innerType._zod.optout),h(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(r=>(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>v(e,n,l()))},input:e.value}),e.issues=[],e.fallback=!0),e)):(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>v(e,n,l()))},input:e.value}),e.issues=[],e.fallback=!0),e)}}),In=c(`$ZodPipe`,(e,t)=>{x.init(e,t),h(e._zod,`values`,()=>t.in._zod.values),h(e._zod,`optin`,()=>t.in._zod.optin),h(e._zod,`optout`,()=>t.out._zod.optout),h(e._zod,`propValues`,()=>t.in._zod.propValues),e._zod.parse=(e,n)=>{if(n.direction===`backward`){let r=t.out._zod.run(e,n);return r instanceof Promise?r.then(e=>qt(e,t.in,n)):qt(r,t.in,n)}let r=t.in._zod.run(e,n);return r instanceof Promise?r.then(e=>qt(e,t.out,n)):qt(r,t.out,n)}}),Ln=c(`$ZodReadonly`,(e,t)=>{x.init(e,t),h(e._zod,`propValues`,()=>t.innerType._zod.propValues),h(e._zod,`values`,()=>t.innerType._zod.values),h(e._zod,`optin`,()=>t.innerType?._zod?.optin),h(e._zod,`optout`,()=>t.innerType?._zod?.optout),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(Jt):Jt(r)}}),Rn=c(`$ZodCustom`,(e,t)=>{b.init(e,t),x.init(e,t),e._zod.parse=(e,t)=>e,e._zod.check=n=>{let r=n.value,i=t.fn(r);if(i instanceof Promise)return i.then(t=>Yt(t,n,r,e));Yt(i,n,r,e)}})})))()}function Bn(){return new Hn}var Vn,Hn,C;function Un(){return(Un=e((()=>{Hn=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...t){let n=t[0];return this._map.set(e,n),n&&typeof n==`object`&&`id`in n&&this._idmap.set(n.id,e),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){let t=this._map.get(e);return t&&typeof t==`object`&&`id`in t&&this._idmap.delete(t.id),this._map.delete(e),this}get(e){let t=e._zod.parent;if(t){let n={...this.get(t)??{}};delete n.id;let r={...n,...this._map.get(e)};return Object.keys(r).length?r:void 0}return this._map.get(e)}has(e){return this._map.has(e)}},(Vn=globalThis).__zod_globalRegistry??(Vn.__zod_globalRegistry=Bn()),C=globalThis.__zod_globalRegistry})))()}function Wn(e,t){return new e({type:`string`,...g(t)})}function Gn(e,t){return new e({type:`string`,format:`email`,check:`string_format`,abort:!1,...g(t)})}function Kn(e,t){return new e({type:`string`,format:`guid`,check:`string_format`,abort:!1,...g(t)})}function qn(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,...g(t)})}function Jn(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v4`,...g(t)})}function Yn(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v6`,...g(t)})}function Xn(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v7`,...g(t)})}function Zn(e,t){return new e({type:`string`,format:`url`,check:`string_format`,abort:!1,...g(t)})}function Qn(e,t){return new e({type:`string`,format:`emoji`,check:`string_format`,abort:!1,...g(t)})}function $n(e,t){return new e({type:`string`,format:`nanoid`,check:`string_format`,abort:!1,...g(t)})}function er(e,t){return new e({type:`string`,format:`cuid`,check:`string_format`,abort:!1,...g(t)})}function tr(e,t){return new e({type:`string`,format:`cuid2`,check:`string_format`,abort:!1,...g(t)})}function nr(e,t){return new e({type:`string`,format:`ulid`,check:`string_format`,abort:!1,...g(t)})}function rr(e,t){return new e({type:`string`,format:`xid`,check:`string_format`,abort:!1,...g(t)})}function ir(e,t){return new e({type:`string`,format:`ksuid`,check:`string_format`,abort:!1,...g(t)})}function ar(e,t){return new e({type:`string`,format:`ipv4`,check:`string_format`,abort:!1,...g(t)})}function or(e,t){return new e({type:`string`,format:`ipv6`,check:`string_format`,abort:!1,...g(t)})}function sr(e,t){return new e({type:`string`,format:`cidrv4`,check:`string_format`,abort:!1,...g(t)})}function cr(e,t){return new e({type:`string`,format:`cidrv6`,check:`string_format`,abort:!1,...g(t)})}function lr(e,t){return new e({type:`string`,format:`base64`,check:`string_format`,abort:!1,...g(t)})}function ur(e,t){return new e({type:`string`,format:`base64url`,check:`string_format`,abort:!1,...g(t)})}function dr(e,t){return new e({type:`string`,format:`e164`,check:`string_format`,abort:!1,...g(t)})}function fr(e,t){return new e({type:`string`,format:`jwt`,check:`string_format`,abort:!1,...g(t)})}function pr(e,t){return new e({type:`string`,format:`datetime`,check:`string_format`,offset:!1,local:!1,precision:null,...g(t)})}function mr(e,t){return new e({type:`string`,format:`date`,check:`string_format`,...g(t)})}function hr(e,t){return new e({type:`string`,format:`time`,check:`string_format`,precision:null,...g(t)})}function gr(e,t){return new e({type:`string`,format:`duration`,check:`string_format`,...g(t)})}function _r(e,t){return new e({type:`number`,checks:[],...g(t)})}function vr(e,t){return new e({type:`number`,check:`number_format`,abort:!1,format:`safeint`,...g(t)})}function yr(e,t){return new e({type:`boolean`,...g(t)})}function br(e,t){return new e({type:`date`,...g(t)})}function xr(e,t){return new yt({check:`less_than`,...g(t),value:e,inclusive:!1})}function Sr(e,t){return new yt({check:`less_than`,...g(t),value:e,inclusive:!0})}function Cr(e,t){return new bt({check:`greater_than`,...g(t),value:e,inclusive:!1})}function wr(e,t){return new bt({check:`greater_than`,...g(t),value:e,inclusive:!0})}function Tr(e,t){return new xt({check:`multiple_of`,...g(t),value:e})}function Er(e,t){return new Ct({check:`max_length`,...g(t),maximum:e})}function Dr(e,t){return new wt({check:`min_length`,...g(t),minimum:e})}function Or(e,t){return new Tt({check:`length_equals`,...g(t),length:e})}function kr(e,t){return new Dt({check:`string_format`,format:`regex`,...g(t),pattern:e})}function Ar(e){return new Ot({check:`string_format`,format:`lowercase`,...g(e)})}function jr(e){return new kt({check:`string_format`,format:`uppercase`,...g(e)})}function Mr(e,t){return new At({check:`string_format`,format:`includes`,...g(t),includes:e})}function Nr(e,t){return new jt({check:`string_format`,format:`starts_with`,...g(t),prefix:e})}function Pr(e,t){return new Mt({check:`string_format`,format:`ends_with`,...g(t),suffix:e})}function w(e){return new Nt({check:`overwrite`,tx:e})}function Fr(e){return w(t=>t.normalize(e))}function Ir(){return w(e=>e.trim())}function Lr(){return w(e=>e.toLowerCase())}function Rr(){return w(e=>e.toUpperCase())}function zr(){return w(e=>ae(e))}function Br(e,t,n){return new e({type:`array`,element:t,...g(n)})}function Vr(e,t,n){return new e({type:`custom`,check:`custom`,fn:t,...g(n)})}function Hr(e,t){let n=Ur(t=>(t.addIssue=e=>{if(typeof e==`string`)t.issues.push(he(e,t.value,n._zod.def));else{let r=e;r.fatal&&(r.continue=!1),r.code??=`custom`,r.input??=t.value,r.inst??=n,r.continue??=!n._zod.def.abort,t.issues.push(he(r))}},e(t.value,t)),t);return n}function Ur(e,t){let n=new b({check:`custom`,...g(t)});return n._zod.check=e,n}function Wr(){return(Wr=e((()=>{Pt(),y()})))()}function Gr(e){let t=e?.target??`draft-2020-12`;return t===`draft-4`&&(t=`draft-04`),t===`draft-7`&&(t=`draft-07`),{processors:e.processors??{},metadataRegistry:e?.metadata??C,target:t,unrepresentable:e?.unrepresentable??`throw`,override:e?.override??(()=>{}),io:e?.io??`output`,counter:0,seen:new Map,cycles:e?.cycles??`ref`,reused:e?.reused??`inline`,external:e?.external??void 0}}function T(e,t,n={path:[],schemaPath:[]}){var r;let i=e._zod.def,a=t.seen.get(e);if(a)return a.count++,n.schemaPath.includes(e)&&(a.cycle=n.path),a.schema;let o={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,o);let s=e._zod.toJSONSchema?.();if(s)o.schema=s;else{let r={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,o.schema,r);else{let n=o.schema,a=t.processors[i.type];if(!a)throw Error(`[toJSONSchema]: Non-representable type encountered: ${i.type}`);a(e,t,n,r)}let a=e._zod.parent;a&&(o.ref||=a,T(a,t,r),t.seen.get(a).isParent=!0)}let c=t.metadataRegistry.get(e);return c&&Object.assign(o.schema,c),t.io===`input`&&E(e)&&(delete o.schema.examples,delete o.schema.default),t.io===`input`&&`_prefault`in o.schema&&((r=o.schema).default??(r.default=o.schema._prefault)),delete o.schema._prefault,t.seen.get(e).schema}function Kr(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);let r=new Map;for(let t of e.seen.entries()){let n=e.metadataRegistry.get(t[0])?.id;if(n){let e=r.get(n);if(e&&e!==t[0])throw Error(`Duplicate schema id "${n}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);r.set(n,t[0])}}let i=t=>{let r=e.target===`draft-2020-12`?`$defs`:`definitions`;if(e.external){let n=e.external.registry.get(t[0])?.id,i=e.external.uri??(e=>e);if(n)return{ref:i(n)};let a=t[1].defId??t[1].schema.id??`schema${e.counter++}`;return t[1].defId=a,{defId:a,ref:`${i(`__shared`)}#/${r}/${a}`}}if(t[1]===n)return{ref:`#`};let i=`#/${r}/`,a=t[1].schema.id??`__schema${e.counter++}`;return{defId:a,ref:i+a}},a=e=>{if(e[1].schema.$ref)return;let t=e[1],{ref:n,defId:r}=i(e);t.def={...t.schema},r&&(t.defId=r);let a=t.schema;for(let e in a)delete a[e];a.$ref=n};if(e.cycles===`throw`)for(let t of e.seen.entries()){let e=t[1];if(e.cycle)throw Error(`Cycle detected: #/${e.cycle?.join(`/`)}/<root>
2
-
3
- Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let n of e.seen.entries()){let r=n[1];if(t===n[0]){a(n);continue}if(e.external){let r=e.external.registry.get(n[0])?.id;if(t!==n[0]&&r){a(n);continue}}if(e.metadataRegistry.get(n[0])?.id){a(n);continue}if(r.cycle){a(n);continue}if(r.count>1&&e.reused===`ref`){a(n);continue}}}function qr(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);let r=t=>{let n=e.seen.get(t);if(n.ref===null)return;let i=n.def??n.schema,a={...i},o=n.ref;if(n.ref=null,o){r(o);let n=e.seen.get(o),s=n.schema;if(s.$ref&&(e.target===`draft-07`||e.target===`draft-04`||e.target===`openapi-3.0`)?(i.allOf=i.allOf??[],i.allOf.push(s)):Object.assign(i,s),Object.assign(i,a),t._zod.parent===o)for(let e in i)e!==`$ref`&&e!==`allOf`&&(e in a||delete i[e]);if(s.$ref&&n.def)for(let e in i)e!==`$ref`&&e!==`allOf`&&e in n.def&&JSON.stringify(i[e])===JSON.stringify(n.def[e])&&delete i[e]}let s=t._zod.parent;if(s&&s!==o){r(s);let t=e.seen.get(s);if(t?.schema.$ref&&(i.$ref=t.schema.$ref,t.def))for(let e in i)e!==`$ref`&&e!==`allOf`&&e in t.def&&JSON.stringify(i[e])===JSON.stringify(t.def[e])&&delete i[e]}e.override({zodSchema:t,jsonSchema:i,path:n.path??[]})};for(let t of[...e.seen.entries()].reverse())r(t[0]);let i={};if(e.target===`draft-2020-12`?i.$schema=`https://json-schema.org/draft/2020-12/schema`:e.target===`draft-07`?i.$schema=`http://json-schema.org/draft-07/schema#`:e.target===`draft-04`?i.$schema=`http://json-schema.org/draft-04/schema#`:e.target,e.external?.uri){let n=e.external.registry.get(t)?.id;if(!n)throw Error("Schema is missing an `id` property");i.$id=e.external.uri(n)}Object.assign(i,n.def??n.schema);let a=e.metadataRegistry.get(t)?.id;a!==void 0&&i.id===a&&delete i.id;let o=e.external?.defs??{};for(let t of e.seen.entries()){let e=t[1];e.def&&e.defId&&(e.def.id===e.defId&&delete e.def.id,o[e.defId]=e.def)}e.external||Object.keys(o).length>0&&(e.target===`draft-2020-12`?i.$defs=o:i.definitions=o);try{let n=JSON.parse(JSON.stringify(i));return Object.defineProperty(n,"~standard",{value:{...t[`~standard`],jsonSchema:{input:Yr(t,`input`,e.processors),output:Yr(t,`output`,e.processors)}},enumerable:!1,writable:!1}),n}catch{throw Error(`Error converting schema to JSON.`)}}function E(e,t){let n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);let r=e._zod.def;if(r.type===`transform`)return!0;if(r.type===`array`)return E(r.element,n);if(r.type===`set`)return E(r.valueType,n);if(r.type===`lazy`)return E(r.getter(),n);if(r.type===`promise`||r.type===`optional`||r.type===`nonoptional`||r.type===`nullable`||r.type===`readonly`||r.type==="default"||r.type===`prefault`)return E(r.innerType,n);if(r.type===`intersection`)return E(r.left,n)||E(r.right,n);if(r.type===`record`||r.type===`map`)return E(r.keyType,n)||E(r.valueType,n);if(r.type===`pipe`)return e._zod.traits.has(`$ZodCodec`)?!0:E(r.in,n)||E(r.out,n);if(r.type===`object`){for(let e in r.shape)if(E(r.shape[e],n))return!0;return!1}if(r.type===`union`){for(let e of r.options)if(E(e,n))return!0;return!1}if(r.type===`tuple`){for(let e of r.items)if(E(e,n))return!0;return!!(r.rest&&E(r.rest,n))}return!1}var Jr,Yr;function Xr(){return(Xr=e((()=>{Un(),Jr=(e,t={})=>n=>{let r=Gr({...n,processors:t});return T(e,r),Kr(r,e),qr(r,e)},Yr=(e,t,n={})=>r=>{let{libraryOptions:i,target:a}=r??{},o=Gr({...i??{},target:a,io:t,processors:n});return T(e,o),Kr(o,e),qr(o,e)}})))()}var Zr,Qr,$r,ei,ti,ni,ri,ii,ai,oi,si,ci,li,ui,di,fi,pi,mi;function hi(){return(hi=e((()=>{Xr(),Zr={guid:`uuid`,url:`uri`,datetime:`date-time`,json_string:`json-string`,regex:``},Qr=(e,t,n,r)=>{let i=n;i.type=`string`;let{minimum:a,maximum:o,format:s,patterns:c,contentEncoding:l}=e._zod.bag;if(typeof a==`number`&&(i.minLength=a),typeof o==`number`&&(i.maxLength=o),s&&(i.format=Zr[s]??s,i.format===``&&delete i.format,s===`time`&&delete i.format),l&&(i.contentEncoding=l),c&&c.size>0){let e=[...c];e.length===1?i.pattern=e[0].source:e.length>1&&(i.allOf=[...e.map(e=>({...t.target===`draft-07`||t.target===`draft-04`||t.target===`openapi-3.0`?{type:`string`}:{},pattern:e.source}))])}},$r=(e,t,n,r)=>{let i=n,{minimum:a,maximum:o,format:s,multipleOf:c,exclusiveMaximum:l,exclusiveMinimum:u}=e._zod.bag;i.type=typeof s==`string`&&s.includes(`int`)?`integer`:`number`;let d=typeof u==`number`&&u>=(a??-1/0),f=typeof l==`number`&&l<=(o??1/0),p=t.target===`draft-04`||t.target===`openapi-3.0`;d?p?(i.minimum=u,i.exclusiveMinimum=!0):i.exclusiveMinimum=u:typeof a==`number`&&(i.minimum=a),f?p?(i.maximum=l,i.exclusiveMaximum=!0):i.exclusiveMaximum=l:typeof o==`number`&&(i.maximum=o),typeof c==`number`&&(i.multipleOf=c)},ei=(e,t,n,r)=>{n.type=`boolean`},ti=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Date cannot be represented in JSON Schema`)},ni=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Custom types cannot be represented in JSON Schema`)},ri=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Transforms cannot be represented in JSON Schema`)},ii=(e,t,n,r)=>{let i=n,a=e._zod.def,{minimum:o,maximum:s}=e._zod.bag;typeof o==`number`&&(i.minItems=o),typeof s==`number`&&(i.maxItems=s),i.type=`array`,i.items=T(a.element,t,{...r,path:[...r.path,`items`]})},ai=(e,t,n,r)=>{let i=e._zod.def,a=i.inclusive===!1,o=i.options.map((e,n)=>T(e,t,{...r,path:[...r.path,a?`oneOf`:`anyOf`,n]}));a?n.oneOf=o:n.anyOf=o},oi=(e,t,n,r)=>{let i=e._zod.def,a=T(i.left,t,{...r,path:[...r.path,`allOf`,0]}),o=T(i.right,t,{...r,path:[...r.path,`allOf`,1]}),s=e=>`allOf`in e&&Object.keys(e).length===1;n.allOf=[...s(a)?a.allOf:[a],...s(o)?o.allOf:[o]]},si=(e,t,n,r)=>{let i=e._zod.def,a=T(i.innerType,t,r),o=t.seen.get(e);t.target===`openapi-3.0`?(o.ref=i.innerType,n.nullable=!0):n.anyOf=[a,{type:`null`}]},ci=(e,t,n,r)=>{let i=e._zod.def;T(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},li=(e,t,n,r)=>{let i=e._zod.def;T(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.default=JSON.parse(JSON.stringify(i.defaultValue))},ui=(e,t,n,r)=>{let i=e._zod.def;T(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,t.io===`input`&&(n._prefault=JSON.parse(JSON.stringify(i.defaultValue)))},di=(e,t,n,r)=>{let i=e._zod.def;T(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType;let o;try{o=i.catchValue(void 0)}catch{throw Error(`Dynamic catch values are not supported in JSON Schema`)}n.default=o},fi=(e,t,n,r)=>{let i=e._zod.def,a=i.in._zod.traits.has(`$ZodTransform`),o=t.io===`input`?a?i.out:i.in:i.out;T(o,t,r);let s=t.seen.get(e);s.ref=o},pi=(e,t,n,r)=>{let i=e._zod.def;T(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.readOnly=!0},mi=(e,t,n,r)=>{let i=e._zod.def;T(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType}})))()}function gi(e){return pr(bi,e)}function _i(e){return mr(xi,e)}function vi(e){return hr(Si,e)}function yi(e){return gr(Ci,e)}var bi,xi,Si,Ci;function wi(){return(wi=e((()=>{m(),zn(),Wr(),Ka(),bi=c(`ZodISODateTime`,(e,t)=>{ln.init(e,t),A.init(e,t)}),xi=c(`ZodISODate`,(e,t)=>{un.init(e,t),A.init(e,t)}),Si=c(`ZodISOTime`,(e,t)=>{dn.init(e,t),A.init(e,t)}),Ci=c(`ZodISODuration`,(e,t)=>{fn.init(e,t),A.init(e,t)})})))()}var Ti,D;function Ei(){return(Ei=e((()=>{we(),m(),y(),Ti=(e,t)=>{Se.init(e,t),e.name=`ZodError`,Object.defineProperties(e,{format:{value:t=>be(e,t)},flatten:{value:t=>ye(e,t)},addIssue:{value:t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,ee,2)}},addIssues:{value:t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,ee,2)}},isEmpty:{get(){return e.issues.length===0}}})},D=c(`ZodError`,Ti,{Parent:Error})})))()}var Di,Oi,ki,Ai,ji,Mi,Ni,Pi,Fi,Ii,Li,Ri;function zi(){return(zi=e((()=>{ze(),Ei(),Di=Te(D),Oi=Ee(D),ki=De(D),Ai=ke(D),ji=je(D),Mi=Me(D),Ni=Ne(D),Pi=Pe(D),Fi=Fe(D),Ii=Ie(D),Li=Le(D),Ri=Re(D)})))()}function Bi(e,t,n){let r=Object.getPrototypeOf(e),i=sa.get(r);if(i||(i=new Set,sa.set(r,i)),!i.has(t)){i.add(t);for(let e in n){let t=n[e];Object.defineProperty(r,e,{configurable:!0,enumerable:!1,get(){let n=t.bind(this);return Object.defineProperty(this,e,{configurable:!0,writable:!0,enumerable:!0,value:n}),n},set(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,enumerable:!0,value:t})}})}}}function Vi(e){return Wn(la,e)}function Hi(e){return qn(j,e)}function O(e){return _r(Oa,e)}function Ui(e){return vr(ka,e)}function Wi(e){return yr(Aa,e)}function Gi(e){return br(ja,e)}function Ki(e,t){return Br(Ma,e,t)}function qi(e,t){return new Na({type:`union`,options:e,...g(t)})}function Ji(e,t){return new Pa({type:`intersection`,left:e,right:t})}function Yi(e){return new Fa({type:`transform`,transform:e})}function Xi(e){return new Ia({type:`optional`,innerType:e})}function Zi(e){return new La({type:`optional`,innerType:e})}function Qi(e){return new Ra({type:`nullable`,innerType:e})}function $i(e,t){return new za({type:`default`,innerType:e,get defaultValue(){return typeof t==`function`?t():ce(t)}})}function ea(e,t){return new Ba({type:`prefault`,innerType:e,get defaultValue(){return typeof t==`function`?t():ce(t)}})}function ta(e,t){return new Va({type:`nonoptional`,innerType:e,...g(t)})}function na(e,t){return new Ha({type:`catch`,innerType:e,catchValue:typeof t==`function`?t:()=>t})}function ra(e,t){return new Ua({type:`pipe`,in:e,out:t})}function ia(e){return new Wa({type:`readonly`,innerType:e})}function aa(e,t={}){return Vr(Ga,e,t)}function oa(e,t){return Hr(e,t)}var sa,k,ca,la,A,ua,da,j,fa,pa,ma,ha,ga,_a,va,ya,ba,xa,Sa,Ca,wa,Ta,Ea,Da,Oa,ka,Aa,ja,Ma,Na,Pa,Fa,Ia,La,Ra,za,Ba,Va,Ha,Ua,Wa,Ga;function Ka(){return(Ka=e((()=>{m(),zn(),y(),Un(),Wr(),hi(),Xr(),wi(),zi(),sa=new WeakMap,k=c(`ZodType`,(e,t)=>(x.init(e,t),Object.assign(e[`~standard`],{jsonSchema:{input:Yr(e,`input`),output:Yr(e,`output`)}}),e.toJSONSchema=Jr(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.parse=(t,n)=>Di(e,t,n,{callee:e.parse}),e.safeParse=(t,n)=>ki(e,t,n),e.parseAsync=async(t,n)=>Oi(e,t,n,{callee:e.parseAsync}),e.safeParseAsync=async(t,n)=>Ai(e,t,n),e.spa=e.safeParseAsync,e.encode=(t,n)=>ji(e,t,n),e.decode=(t,n)=>Mi(e,t,n),e.encodeAsync=async(t,n)=>Ni(e,t,n),e.decodeAsync=async(t,n)=>Pi(e,t,n),e.safeEncode=(t,n)=>Fi(e,t,n),e.safeDecode=(t,n)=>Ii(e,t,n),e.safeEncodeAsync=async(t,n)=>Li(e,t,n),e.safeDecodeAsync=async(t,n)=>Ri(e,t,n),Bi(e,`ZodType`,{check(...e){let t=this.def;return this.clone(ie(t,{checks:[...t.checks??[],...e.map(e=>typeof e==`function`?{_zod:{check:e,def:{check:`custom`},onattach:[]}}:e)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,t){return ue(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},refine(e,t){return this.check(aa(e,t))},superRefine(e,t){return this.check(oa(e,t))},overwrite(e){return this.check(w(e))},optional(){return Xi(this)},exactOptional(){return Zi(this)},nullable(){return Qi(this)},nullish(){return Xi(Qi(this))},nonoptional(e){return ta(this,e)},array(){return Ki(this)},or(e){return qi([this,e])},and(e){return Ji(this,e)},transform(e){return ra(this,Yi(e))},default(e){return $i(this,e)},prefault(e){return ea(this,e)},catch(e){return na(this,e)},pipe(e){return ra(this,e)},readonly(){return ia(this)},describe(e){let t=this.clone();return C.add(t,{description:e}),t},meta(...e){if(e.length===0)return C.get(this);let t=this.clone();return C.add(t,e[0]),t},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(e){return e(this)}}),Object.defineProperty(e,"description",{get(){return C.get(e)?.description},configurable:!0}),e)),ca=c(`_ZodString`,(e,t)=>{Xt.init(e,t),k.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Qr(e,t,n,r);let n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,Bi(e,`_ZodString`,{regex(...e){return this.check(kr(...e))},includes(...e){return this.check(Mr(...e))},startsWith(...e){return this.check(Nr(...e))},endsWith(...e){return this.check(Pr(...e))},min(...e){return this.check(Dr(...e))},max(...e){return this.check(Er(...e))},length(...e){return this.check(Or(...e))},nonempty(...e){return this.check(Dr(1,...e))},lowercase(e){return this.check(Ar(e))},uppercase(e){return this.check(jr(e))},trim(){return this.check(Ir())},normalize(...e){return this.check(Fr(...e))},toLowerCase(){return this.check(Lr())},toUpperCase(){return this.check(Rr())},slugify(){return this.check(zr())}})}),la=c(`ZodString`,(e,t)=>{Xt.init(e,t),ca.init(e,t),e.email=t=>e.check(Gn(ua,t)),e.url=t=>e.check(Zn(fa,t)),e.jwt=t=>e.check(fr(Da,t)),e.emoji=t=>e.check(Qn(pa,t)),e.guid=t=>e.check(Kn(da,t)),e.uuid=t=>e.check(qn(j,t)),e.uuidv4=t=>e.check(Jn(j,t)),e.uuidv6=t=>e.check(Yn(j,t)),e.uuidv7=t=>e.check(Xn(j,t)),e.nanoid=t=>e.check($n(ma,t)),e.guid=t=>e.check(Kn(da,t)),e.cuid=t=>e.check(er(ha,t)),e.cuid2=t=>e.check(tr(ga,t)),e.ulid=t=>e.check(nr(_a,t)),e.base64=t=>e.check(lr(wa,t)),e.base64url=t=>e.check(ur(Ta,t)),e.xid=t=>e.check(rr(va,t)),e.ksuid=t=>e.check(ir(ya,t)),e.ipv4=t=>e.check(ar(ba,t)),e.ipv6=t=>e.check(or(xa,t)),e.cidrv4=t=>e.check(sr(Sa,t)),e.cidrv6=t=>e.check(cr(Ca,t)),e.e164=t=>e.check(dr(Ea,t)),e.datetime=t=>e.check(gi(t)),e.date=t=>e.check(_i(t)),e.time=t=>e.check(vi(t)),e.duration=t=>e.check(yi(t))}),A=c(`ZodStringFormat`,(e,t)=>{S.init(e,t),ca.init(e,t)}),ua=c(`ZodEmail`,(e,t)=>{$t.init(e,t),A.init(e,t)}),da=c(`ZodGUID`,(e,t)=>{Zt.init(e,t),A.init(e,t)}),j=c(`ZodUUID`,(e,t)=>{Qt.init(e,t),A.init(e,t)}),fa=c(`ZodURL`,(e,t)=>{en.init(e,t),A.init(e,t)}),pa=c(`ZodEmoji`,(e,t)=>{tn.init(e,t),A.init(e,t)}),ma=c(`ZodNanoID`,(e,t)=>{nn.init(e,t),A.init(e,t)}),ha=c(`ZodCUID`,(e,t)=>{rn.init(e,t),A.init(e,t)}),ga=c(`ZodCUID2`,(e,t)=>{an.init(e,t),A.init(e,t)}),_a=c(`ZodULID`,(e,t)=>{on.init(e,t),A.init(e,t)}),va=c(`ZodXID`,(e,t)=>{sn.init(e,t),A.init(e,t)}),ya=c(`ZodKSUID`,(e,t)=>{cn.init(e,t),A.init(e,t)}),ba=c(`ZodIPv4`,(e,t)=>{pn.init(e,t),A.init(e,t)}),xa=c(`ZodIPv6`,(e,t)=>{mn.init(e,t),A.init(e,t)}),Sa=c(`ZodCIDRv4`,(e,t)=>{hn.init(e,t),A.init(e,t)}),Ca=c(`ZodCIDRv6`,(e,t)=>{gn.init(e,t),A.init(e,t)}),wa=c(`ZodBase64`,(e,t)=>{_n.init(e,t),A.init(e,t)}),Ta=c(`ZodBase64URL`,(e,t)=>{vn.init(e,t),A.init(e,t)}),Ea=c(`ZodE164`,(e,t)=>{yn.init(e,t),A.init(e,t)}),Da=c(`ZodJWT`,(e,t)=>{bn.init(e,t),A.init(e,t)}),Oa=c(`ZodNumber`,(e,t)=>{xn.init(e,t),k.init(e,t),e._zod.processJSONSchema=(t,n,r)=>$r(e,t,n,r),Bi(e,`ZodNumber`,{gt(e,t){return this.check(Cr(e,t))},gte(e,t){return this.check(wr(e,t))},min(e,t){return this.check(wr(e,t))},lt(e,t){return this.check(xr(e,t))},lte(e,t){return this.check(Sr(e,t))},max(e,t){return this.check(Sr(e,t))},int(e){return this.check(Ui(e))},safe(e){return this.check(Ui(e))},positive(e){return this.check(Cr(0,e))},nonnegative(e){return this.check(wr(0,e))},negative(e){return this.check(xr(0,e))},nonpositive(e){return this.check(Sr(0,e))},multipleOf(e,t){return this.check(Tr(e,t))},step(e,t){return this.check(Tr(e,t))},finite(){return this}});let n=e._zod.bag;e.minValue=Math.max(n.minimum??-1/0,n.exclusiveMinimum??-1/0)??null,e.maxValue=Math.min(n.maximum??1/0,n.exclusiveMaximum??1/0)??null,e.isInt=(n.format??``).includes(`int`)||Number.isSafeInteger(n.multipleOf??.5),e.isFinite=!0,e.format=n.format??null}),ka=c(`ZodNumberFormat`,(e,t)=>{Sn.init(e,t),Oa.init(e,t)}),Aa=c(`ZodBoolean`,(e,t)=>{Cn.init(e,t),k.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ei(e,t,n,r)}),ja=c(`ZodDate`,(e,t)=>{wn.init(e,t),k.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ti(e,t,n,r),e.min=(t,n)=>e.check(wr(t,n)),e.max=(t,n)=>e.check(Sr(t,n));let n=e._zod.bag;e.minDate=n.minimum?new Date(n.minimum):null,e.maxDate=n.maximum?new Date(n.maximum):null}),Ma=c(`ZodArray`,(e,t)=>{Tn.init(e,t),k.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ii(e,t,n,r),e.element=t.element,Bi(e,`ZodArray`,{min(e,t){return this.check(Dr(e,t))},nonempty(e){return this.check(Dr(1,e))},max(e,t){return this.check(Er(e,t))},length(e,t){return this.check(Or(e,t))},unwrap(){return this.element}})}),Na=c(`ZodUnion`,(e,t)=>{En.init(e,t),k.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ai(e,t,n,r),e.options=t.options}),Pa=c(`ZodIntersection`,(e,t)=>{Dn.init(e,t),k.init(e,t),e._zod.processJSONSchema=(t,n,r)=>oi(e,t,n,r)}),Fa=c(`ZodTransform`,(e,t)=>{On.init(e,t),k.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ri(e,t,n,r),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new f(e.constructor.name);n.addIssue=r=>{if(typeof r==`string`)n.issues.push(he(r,n.value,t));else{let t=r;t.fatal&&(t.continue=!1),t.code??=`custom`,t.input??=n.value,t.inst??=e,n.issues.push(he(t))}};let i=t.transform(n.value,n);return i instanceof Promise?i.then(e=>(n.value=e,n.fallback=!0,n)):(n.value=i,n.fallback=!0,n)}}),Ia=c(`ZodOptional`,(e,t)=>{kn.init(e,t),k.init(e,t),e._zod.processJSONSchema=(t,n,r)=>mi(e,t,n,r),e.unwrap=()=>e._zod.def.innerType}),La=c(`ZodExactOptional`,(e,t)=>{An.init(e,t),k.init(e,t),e._zod.processJSONSchema=(t,n,r)=>mi(e,t,n,r),e.unwrap=()=>e._zod.def.innerType}),Ra=c(`ZodNullable`,(e,t)=>{jn.init(e,t),k.init(e,t),e._zod.processJSONSchema=(t,n,r)=>si(e,t,n,r),e.unwrap=()=>e._zod.def.innerType}),za=c(`ZodDefault`,(e,t)=>{Mn.init(e,t),k.init(e,t),e._zod.processJSONSchema=(t,n,r)=>li(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap}),Ba=c(`ZodPrefault`,(e,t)=>{Nn.init(e,t),k.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ui(e,t,n,r),e.unwrap=()=>e._zod.def.innerType}),Va=c(`ZodNonOptional`,(e,t)=>{Pn.init(e,t),k.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ci(e,t,n,r),e.unwrap=()=>e._zod.def.innerType}),Ha=c(`ZodCatch`,(e,t)=>{Fn.init(e,t),k.init(e,t),e._zod.processJSONSchema=(t,n,r)=>di(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap}),Ua=c(`ZodPipe`,(e,t)=>{In.init(e,t),k.init(e,t),e._zod.processJSONSchema=(t,n,r)=>fi(e,t,n,r),e.in=t.in,e.out=t.out}),Wa=c(`ZodReadonly`,(e,t)=>{Ln.init(e,t),k.init(e,t),e._zod.processJSONSchema=(t,n,r)=>pi(e,t,n,r),e.unwrap=()=>e._zod.def.innerType}),Ga=c(`ZodCustom`,(e,t)=>{Rn.init(e,t),k.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ni(e,t,n,r)})})))()}function M(e,...t){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}function N(e){return e?qa(e)||Lo(e)||!!e[Do]||!!e[Oo]?.[Do]||Ro(e)||zo(e):!1}function qa(e){if(!e||!Bo(e))return!1;let t=L(e);if(t===null||t===I[ko])return!0;let n=I.hasOwnProperty.call(t,Oo)&&t[Oo];if(n===Object)return!0;if(!V(n))return!1;let r=No.get(n);return r===void 0&&(r=Function.toString.call(n),No.set(n,r)),r===Mo}function Ja(e,t,n=!0){Ya(e)===0?(n?Reflect.ownKeys(e):I.keys(e)).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function Ya(e){let t=e[F];return t?t.type_:Lo(e)?1:Ro(e)?2:zo(e)?3:0}function Xa(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t}function Za(e){let t=+e;return Number.isInteger(t)&&String(t)===e}function Qa(e,t){if(Ro(e))return new Map(e);if(zo(e))return new Set(e);if(Lo(e))return Array[ko].slice.call(e);let n=qa(e);if(t===!0||t===`class_only`&&!n){let t=I.getOwnPropertyDescriptors(e);delete t[F];let n=Reflect.ownKeys(t);for(let r=0;r<n.length;r++){let i=n[r],a=t[i];a[jo]===!1&&(a[jo]=!0,a[Ao]=!0),(a.get||a.set)&&(t[i]={[Ao]:!0,[jo]:!0,[R]:a[R],[z]:e[i]})}return I.create(L(e),t)}{let t=L(e);if(t!==null&&n)return{...e};let r=I.create(t);return I.assign(r,e)}}function $a(e,t=!1){return to(e)||B(e)||!N(e)?e:(Ya(e)>1&&I.defineProperties(e,{set:Uo,add:Uo,clear:Uo,delete:Uo}),I.freeze(e),t&&Ja(e,(e,t)=>{$a(t,!0)},!1),e)}function eo(){M(2)}function to(e){return e===null||!Bo(e)||I.isFrozen(e)}function P(e){let t=qo[e];return t||M(0,e),t}function no(e,t){t&&(e.patchPlugin_=P(Go),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function ro(e){io(e),e.drafts_.forEach(ao),e.drafts_=null}function io(e){e===Yo&&(Yo=e.parent_)}function ao(e){let t=e[F];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function oo(e,t){t.unfinalizedDrafts_=t.drafts_.length;let n=t.drafts_[0];if(e!==void 0&&e!==n){n[F].modified_&&(ro(t),M(4)),N(e)&&(e=so(t,e));let{patchPlugin_:r}=t;r&&r.generateReplacementPatches_(n[F].base_,e,t)}else e=so(t,n);return co(t,e,!0),ro(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e===Eo?void 0:e}function so(e,t){if(to(t))return t;let n=t[F];if(!n)return ho(t,e.handledSet_,e);if(!$o(n,e))return t;if(!n.modified_)return n.base_;if(!n.finalized_){let{callbacks_:t}=n;if(t)for(;t.length>0;)t.pop()(e);po(n,e)}return n.copy_}function co(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&$a(t,n)}function lo(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}function uo(e,t,n,r){let i=H(e),a=e.type_;if(r!==void 0&&Fo(i,r,a)===t){Io(i,r,n,a);return}if(!e.draftLocations_){let t=e.draftLocations_=new Map;Ja(i,(e,n)=>{if(B(n)){let r=t.get(n)||[];r.push(e),t.set(n,r)}})}let o=e.draftLocations_.get(t)??es;for(let e of o)Io(i,e,n,a)}function fo(e,t,n){e.callbacks_.push(function(r){let i=t;if(!i||!$o(i,r))return;r.mapSetPlugin_?.fixSetContents(i);let a=Ho(i);uo(e,i.draft_??i,a,n),po(i,r)})}function po(e,t){if(e.modified_&&!e.finalized_&&(e.type_===3||e.type_===1&&e.allIndicesReassigned_||(e.assigned_?.size??0)>0)){let{patchPlugin_:n}=t;if(n){let r=n.getPath(e);r&&n.generatePatches_(e,r,t)}lo(e)}}function mo(e,t,n){let{scope_:r}=e;if(B(n)){let i=n[F];$o(i,r)&&i.callbacks_.push(function(){So(e),uo(e,n,Ho(i),t)})}else N(n)&&e.callbacks_.push(function(){let i=H(e);e.type_===3?i.has(n)&&ho(n,r.handledSet_,r):Fo(i,t,e.type_)===n&&r.drafts_.length>1&&(e.assigned_.get(t)??!1)===!0&&e.copy_&&ho(Fo(e.copy_,t,e.type_),r.handledSet_,r)})}function ho(e,t,n){return!n.immer_.autoFreeze_&&n.unfinalizedDrafts_<1||B(e)||t.has(e)||!N(e)||to(e)?e:(t.add(e),Ja(e,(r,i)=>{if(B(i)){let t=i[F];$o(t,n)&&(Io(e,r,Ho(t),e.type_),lo(t))}else N(i)&&ho(i,t,n)}),e)}function go(e,t){let n=Lo(e),r={type_:+!!n,scope_:t?t.scope_:Xo(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},i=r,a=ts;n&&(i=[r],a=U);let{revoke:o,proxy:s}=Proxy.revocable(i,a);return r.draft_=s,r.revoke_=o,[s,r]}function _o(e,t){let n=e[F];return(n?H(n):e)[t]}function vo(e,t,n){return e.type_!==1||!e.allIndicesReassigned_||e.assigned_?.get(t)||!N(n)||n[F]?!1:e.baseRefs_.has(n)}function yo(e,t,n){let r=bo(t,n);return r?z in r?r[z]:r.get?.call(e.draft_):void 0}function bo(e,t){if(!(t in e))return;let n=L(e);for(;n;){let e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=L(n)}}function xo(e){e.modified_||(e.modified_=!0,e.parent_&&xo(e.parent_))}function So(e){e.copy_||=(e.assigned_=new Map,Qa(e.base_,e.scope_.immer_.useStrictShallowCopy_))}function Co(e,t,n,r){let[i,a]=Ro(t)?P(Wo).proxyMap_(t,n):zo(t)?P(Wo).proxySet_(t,n):go(t,n);return(n?.scope_??Xo()).drafts_.push(i),a.callbacks_=n?.callbacks_??[],a.key_=r,n&&r!==void 0?fo(n,a,r):a.callbacks_.push(function(e){e.mapSetPlugin_?.fixSetContents(a);let{patchPlugin_:t}=e;a.modified_&&t&&t.generatePatches_(a,[],e)}),i}function wo(e){return B(e)||M(10,e),To(e)}function To(e){if(!N(e)||to(e))return e;let t=e[F],n,r=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=Qa(e,t.scope_.immer_.useStrictShallowCopy_),r=t.scope_.immer_.shouldUseStrictIteration()}else n=Qa(e,!0);return Ja(n,(e,t)=>{Io(n,e,To(t))},r),t&&(t.finalized_=!1),n}var Eo,Do,F,I,L,Oo,ko,Ao,R,jo,z,B,Mo,No,Po,Fo,Io,Lo,Ro,zo,Bo,V,Vo,H,Ho,Uo,Wo,Go,Ko,qo,Jo,Yo,Xo,Zo,Qo,$o,es,ts,U,ns,rs,is;function as(){return(as=e((()=>{Eo=Symbol.for(`immer-nothing`),Do=Symbol.for(`immer-draftable`),F=Symbol.for(`immer-state`),I=Object,L=I.getPrototypeOf,Oo=`constructor`,ko=`prototype`,Ao=`configurable`,R=`enumerable`,jo=`writable`,z=`value`,B=e=>!!e&&!!e[F],Mo=I[ko][Oo].toString(),No=new WeakMap,Po=(e,t,n=Ya(e))=>n===2?e.has(t):I[ko].hasOwnProperty.call(e,t),Fo=(e,t,n=Ya(e))=>n===2?e.get(t):e[t],Io=(e,t,n,r=Ya(e))=>{r===2?e.set(t,n):r===3?e.add(n):e[t]=n},Lo=Array.isArray,Ro=e=>e instanceof Map,zo=e=>e instanceof Set,Bo=e=>typeof e==`object`,V=e=>typeof e==`function`,Vo=e=>typeof e==`boolean`,H=e=>e.copy_||e.base_,Ho=e=>e.modified_?e.copy_:e.base_,Uo={[z]:eo},Wo=`MapSet`,Go=`Patches`,Ko=`ArrayMethods`,qo={},Jo=e=>!!qo[e],Xo=()=>Yo,Zo=(e,t)=>({drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:Jo(Wo)?P(Wo):void 0,arrayMethodsPlugin_:Jo(Ko)?P(Ko):void 0}),Qo=e=>Yo=Zo(Yo,e),$o=(e,t)=>e.scope_===t,es=[],ts={get(e,t){if(t===F)return e;let n=e.scope_.arrayMethodsPlugin_,r=e.type_===1&&typeof t==`string`;if(r&&n?.isArrayOperationMethod(t))return n.createMethodInterceptor(e,t);let i=H(e);if(!Po(i,t,e.type_))return yo(e,i,t);let a=i[t];if(e.finalized_||!N(a)||r&&e.operationMethod&&n?.isMutatingArrayMethod(e.operationMethod)&&Za(t))return a;if(a===_o(e.base_,t)||vo(e,t,a)){So(e);let n=e.type_===1?+t:t,r=Co(e.scope_,a,e,n);return e.copy_[n]=r}return a},has(e,t){return t in H(e)},ownKeys(e){return Reflect.ownKeys(H(e))},set(e,t,n){let r=bo(H(e),t);if(r?.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){let r=_o(H(e),t),i=r?.[F];if(i&&i.base_===n)return e.copy_[t]=n,e.assigned_.set(t,!1),!0;if(Xa(n,r)&&(n!==void 0||Po(e.base_,t,e.type_)))return!0;So(e),xo(e)}return e.copy_[t]===n&&(n!==void 0||Po(e.copy_,t,e.type_))||Number.isNaN(n)&&Number.isNaN(e.copy_[t])?!0:(e.copy_[t]=n,e.assigned_.set(t,!0),mo(e,t,n),!0)},deleteProperty(e,t){return So(e),_o(e.base_,t)!==void 0||t in e.base_?(e.assigned_.set(t,!1),xo(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){let n=H(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{[jo]:!0,[Ao]:e.type_!==1||t!==`length`,[R]:r[R],[z]:n[t]}},defineProperty(){M(11)},getPrototypeOf(e){return L(e.base_)},setPrototypeOf(){M(12)}},U={};for(let e in ts){let t=ts[e];U[e]=function(){let e=arguments;return e[0]=e[0][0],t.apply(this,e)}}U.deleteProperty=function(e,t){return U.set.call(this,e,t,void 0)},U.set=function(e,t,n){return ts.set.call(this,e[0],t,n,e[0])},ns=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,t,n)=>{if(V(e)&&!V(t)){let n=t;t=e;let r=this;return function(e=n,...i){return r.produce(e,e=>t.call(this,e,...i))}}V(t)||M(6),n!==void 0&&!V(n)&&M(7);let r;if(N(e)){let i=Qo(this),a=Co(i,e,void 0),o=!0;try{r=t(a),o=!1}finally{o?ro(i):io(i)}return no(i,n),oo(r,i)}if(!e||!Bo(e)){if(r=t(e),r===void 0&&(r=e),r===Eo&&(r=void 0),this.autoFreeze_&&$a(r,!0),n){let t=[],i=[];P(Go).generateReplacementPatches_(e,r,{patches_:t,inversePatches_:i}),n(t,i)}return r}M(1,e)},this.produceWithPatches=(e,t)=>{if(V(e))return(t,...n)=>this.produceWithPatches(t,t=>e(t,...n));let n,r;return[this.produce(e,t,(e,t)=>{n=e,r=t}),n,r]},Vo(e?.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),Vo(e?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),Vo(e?.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){N(e)||M(8),B(e)&&(e=wo(e));let t=Qo(this),n=Co(t,e,void 0);return n[F].isManual_=!0,io(t),n}finishDraft(e,t){let n=e&&e[F];(!n||!n.isManual_)&&M(9);let{scope_:r}=n;return no(r,t),oo(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){let r=t[n];if(r.path.length===0&&r.op===`replace`){e=r.value;break}}n>-1&&(t=t.slice(n+1));let r=P(Go).applyPatches_;return B(e)?r(e,t):this.produce(e,e=>r(e,t))}},rs=new ns,is=rs.produce})))()}var os,ss;function cs(){return(cs=e((()=>{as(),os=e=>(t,n,r)=>(r.setState=(e,n,...r)=>t(typeof e==`function`?is(e):e,n,...r),e(r.setState,n,r)),ss=os})))()}function ls(e){return Dl.has(e)}function us(e,t){return t.some(t=>e.includes(t))}function ds(e){return X.lastIndex=0,X.test(e)}function fs(e){return Ol[e]}function ps(e,t){if(t===`day`)return e;let n=fs(t),r=[],i=``,a=!1,o=0,s=0,c;for(X.lastIndex=0;c=X.exec(e);){let t=e.slice(s,c.index),l=c[0];a&&(i+=t),n.has(l)&&(a&&r.push(i),r.push(l),i=``,a=!0,o+=1),s=c.index+l.length}return o===0?e:r.join(``)}function W(e,t=2){return String(e).padStart(t,`0`)}function ms(e,t=`day`){return t===`year`?{year:`numeric`}:t===`month`?e===`short`?{month:`2-digit`,year:`numeric`}:e===`medium`?{month:`short`,year:`numeric`}:{month:`long`,year:`numeric`}:e===`short`?{day:`2-digit`,month:`2-digit`,year:`numeric`}:e===`medium`?{day:`numeric`,month:`short`,year:`numeric`}:{day:`numeric`,month:`long`,year:`numeric`}}function hs(e){return e===`short`?{day:`2-digit`,month:`2-digit`}:e===`medium`?{day:`numeric`,month:`short`}:{day:`numeric`,month:`long`}}function gs(e){return e===`short`?{hour:`2-digit`,minute:`2-digit`,hourCycle:`h23`}:{hour:`2-digit`,minute:`2-digit`,second:`2-digit`,hourCycle:`h23`}}function _s(e){let{timeZone:t,timeZoneName:n,...r}=e;return r}function vs(e){return!!(e.dateStyle||e.year||e.month||e.day)}function ys(e,t){let n=_s(e);return t===`day`||!vs(n)?n:n.dateStyle?ms(n.dateStyle===`short`||n.dateStyle===`medium`?n.dateStyle:`long`,t):t===`year`?{year:n.year??`numeric`}:{month:n.month??`2-digit`,year:n.year??`numeric`}}function bs(e,t){let n=_s(t),r=new Map;if(n.timeStyle){let t=gs(n.timeStyle===`short`?`short`:`medium`);if(n.dateStyle){let i=new Intl.DateTimeFormat(e,{dateStyle:n.dateStyle}),a=new Intl.DateTimeFormat(e,t);return(t,o=`day`)=>{if(o===`day`)return`${i.format(t)}, ${a.format(t)}`;let s=ys({dateStyle:n.dateStyle},o),c=r.get(o);return c||(c=new Intl.DateTimeFormat(e,s),r.set(o,c)),c.format(t)}}return new Intl.DateTimeFormat(e,t).format}let i=new Intl.DateTimeFormat(e,n);return(t,a=`day`)=>{if(a===`day`)return i.format(t);let o=r.get(a);return o||(o=new Intl.DateTimeFormat(e,ys(n,a)),r.set(a,o)),o.format(t)}}function xs(e,t){let n=String(t.getFullYear());switch(e){case`yyyy`:return n;case`yy`:return n.slice(-2);case`MM`:return W(t.getMonth()+1);case`dd`:return W(t.getDate());case`HH`:return W(t.getHours());case`mm`:return W(t.getMinutes());case`ss`:return W(t.getSeconds());default:return e}}function Ss(e){switch(e){case`yyyyMMdd`:return e=>`${e.getFullYear()}${W(e.getMonth()+1)}${W(e.getDate())}`;case`yyyyMMddHHmmss`:return e=>`${e.getFullYear()}${W(e.getMonth()+1)}${W(e.getDate())}${W(e.getHours())}${W(e.getMinutes())}${W(e.getSeconds())}`;case`yyyy-MM-dd`:return e=>`${e.getFullYear()}-${W(e.getMonth()+1)}-${W(e.getDate())}`;case`yyyy-MM-ddTHH:mm:ss`:return e=>`${e.getFullYear()}-${W(e.getMonth()+1)}-${W(e.getDate())}T${W(e.getHours())}:${W(e.getMinutes())}:${W(e.getSeconds())}`;default:return ws(e)}}function Cs(e){let t=new Map;return(n,r=`day`)=>{let i=t.get(r);return i||(i=Ss(ps(e,r)),t.set(r,i)),i(n,`day`)}}function ws(e){let t=[],n=0,r;for(X.lastIndex=0;r=X.exec(e);)r.index>n&&t.push(e.slice(n,r.index)),t.push(r[0]),n=r.index+r[0].length;return n<e.length&&t.push(e.slice(n)),e=>{let n=``;for(let r of t)n+=ls(r)?xs(r,e):r;return n}}function Ts(e,t,n){if(us(t,wl)||!us(t,Tl))return n;let r=e<0?`-`:``,i=Math.trunc(Math.abs(e)/1e3),a=Math.trunc(i/3600),o=Math.trunc(i%3600/60),s=i%60;return t===`HH:mm`?`${r}${W(a)}:${W(o)}`:t===`HH:mm:ss`?`${r}${W(a)}:${W(o)}:${W(s)}`:r+t.replaceAll(`HH`,W(a)).replaceAll(`mm`,W(o)).replaceAll(`ss`,W(s))}function Es(e){let t={...Al,...e},n=Ds(t),r=t.durationPattern??t.pattern,i={...t,formatDateTime:n};return r&&(i.formatDuration=(e,t)=>Ts(e,r,t)),i}function Ds(e){if(e.pattern)return Cs(e.pattern);if(e.intlDateOptions&&e.intlTimeOptions){let t=bs(e.locale,e.intlDateOptions),n=bs(e.locale,e.intlTimeOptions),r=e.intlJoiner??` `;return(e,i=`day`)=>i===`day`?`${t(e)}${r}${n(e)}`:t(e,i)}return bs(e.locale,e.intlOptions??Al.intlOptions)}function Os(e,t){let n=new Intl.DateTimeFormat(e,t===`short`?{day:`numeric`,month:t,year:`numeric`}:{month:t,year:`numeric`}),r=new Intl.DateTimeFormat(e,{month:`long`}),i=new Intl.DateTimeFormat(e,{year:`numeric`});return(e,a=`day`)=>{let o=(a===`year`?i:n).formatToParts(e),s=o.find(e=>e.type===`year`)?.value??``;if(a===`year`)return s;let c=o.find(e=>e.type===`month`)?.value??``;return`${t===`short`&&!c.endsWith(`.`)?r.formatToParts(e).find(e=>e.type===`month`)?.value??c:c} ${s}`}}function ks(e){let t=Es(e),n=Nl.get(e.name);return n?{...t,formatDateTime:Os(t.locale,n)}:t}function As(){for(let e of Ml)Pl.set(e.name,ks(e))}function js(e){return Pl.get(e)}function Ms(e){return Pl.get(e)}function Ns(e){return Z.includes(e)}function Ps(e,t=Q.date){let n=e?.trim();return n?Ns(n)?jl[n]:n:t}function G(e,t,n,r=0,i=0,a=0,o=0){let s=new Date(e,t-1,n,r,i,a,o);return s.getFullYear()===e&&s.getMonth()===t-1&&s.getDate()===n&&s.getHours()===r&&s.getMinutes()===i&&s.getSeconds()===a?s:null}function Fs(e,t){return e.toLocaleLowerCase(t).replace(/\.$/,``)}function Is(e,t,n,r){e.set(Fs(t,r),n)}function Ls(e,t,n,r,i){let a=t.formatToParts(n).find(e=>e.type===`month`);a&&Is(e,a.value,r,i)}function Rs(e){let t=iu.get(e);if(t)return t;let n=new Map,r=new Intl.DateTimeFormat(e,{month:`short`}),i=new Intl.DateTimeFormat(e,{month:`long`}),a=new Intl.DateTimeFormat(e,{day:`numeric`,month:`short`,year:`numeric`}),o=new Intl.DateTimeFormat(e,{day:`numeric`,month:`long`,year:`numeric`});for(let t=0;t<12;t+=1){let s=new Date(2026,t,1);Is(n,r.format(s),t,e),Is(n,i.format(s),t,e),Ls(n,a,s,t,e),Ls(n,o,s,t,e)}return iu.set(e,n),n}function zs(e,t){let n=$l.exec(e.trim());if(!n)return null;let r=Number(n[1]),i=Rs(t).get(Fs(n[2],t)),a=Number(n[3]),o=Number(n[4]??0),s=Number(n[5]??0),c=Number(n[6]??0);if(i===void 0||!Number.isFinite(r)||!Number.isFinite(a)||!Number.isFinite(o)||!Number.isFinite(s)||!Number.isFinite(c))return null;let l=G(a,i+1,r,o,s,c);return l?K(l,`iso-local`):null}function Bs(e,t,n){let r=eu.exec(e.trim());if(r){let e=Number(r[1]),t=G(n,Number(r[2]),e);return t?K(t,`iso-local`):null}let i=tu.exec(e.trim());if(!i)return null;let a=Number(i[1]),o=Rs(t).get(Fs(i[2],t));if(o===void 0||!Number.isFinite(a))return null;let s=G(n,o+1,a);return s?K(s,`iso-local`):null}function Vs(e,t){let n=nu.exec(e.trim());if(!n)return null;let r=Rs(t).get(Fs(n[1],t)),i=Number(n[2]);if(r===void 0||!Number.isFinite(i))return null;let a=G(i,r+1,1);return a?K(a,`iso-local`):null}function Hs(e){let t=ru.exec(e.trim());if(!t)return null;let n=Number(t[1]);if(!Number.isFinite(n))return null;let r=G(n,1,1);return r?K(r,`iso-local`):null}function Us(e,t,n){return n===`year`?Hs(e):n===`month`?Vs(e,t):zs(e,t)}function Ws(e){return au.has(e)}function Gs(e){return ou.has(e)}function Ks(e){return e instanceof Date&&!Number.isNaN(e.getTime())?e.getFullYear():new Date().getFullYear()}function qs(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function Js(e){return new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds())}function K(e,t){return{kind:`date-time`,source:t,date:e}}function Ys(e,t=$){if(!Number.isFinite(e))return null;let n=Math.abs(e)<0xe8d4a51000?e*1e3:e,r=new Date(n);return Number.isNaN(r.getTime())?null:K(t===`instant`?r:Js(r),`timestamp`)}function Xs(e,t=$){let n=Fl.exec(e);if(!n)return null;let r=Number(n[1]);if(!Number.isFinite(r))return null;if(t===`instant`){let e=new Date(r);return Number.isNaN(e.getTime())?null:K(e,`odata-ticks`)}let i=n[2];if(!i)return K(Js(new Date(r)),`odata-ticks`);let a=i.startsWith(`-`)?-1:1,o=Number(i.slice(1,3)),s=Number(i.slice(3,5));if(!Number.isFinite(o)||!Number.isFinite(s))return null;let c=a*(o*ql+s*Kl);return K(Js(new Date(r+c)),`odata-ticks`)}function Zs(e){let t=Ll.exec(e);if(!t)return null;let n=Number(t[1]),r=Number(t[2]),i=Number(t[3]),a=Number(t[4]??0),o=Number(t[5]??0),s=Number(t[6]??0),c=(t[7]??``).slice(0,3).padEnd(3,`0`),l=G(n,r,i,a,o,s,Number(c||0));return l?K(l,`iso-local`):null}function Qs(e){if(e[1].toUpperCase()===`Z`)return 0;let t=e[2]===`-`?-1:1,n=Number(e[3]),r=Number(e[4]);return!Number.isFinite(n)||!Number.isFinite(r)||n>23||r>59?null:t*(n*ql+r*Kl)}function $s(e,t=$){let n=Rl.exec(e);if(!n)return null;let r=Zs(e.slice(0,n.index));if(!r)return null;if(t===`floating`)return K(r.date,`iso-zoned`);let i=Qs(n);if(i===null)return null;let a=r.date,o=Date.UTC(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds(),a.getMilliseconds())-i,s=new Date(o);return Number.isNaN(s.getTime())?null:K(s,`iso-zoned`)}function ec(e){if(!zl.test(e))return null;let t=G(Number(e.slice(0,4)),Number(e.slice(4,6)),Number(e.slice(6,8)));return t?K(t,`abap-compact`):null}function tc(e){if(!Bl.test(e))return null;let t=G(Number(e.slice(0,4)),Number(e.slice(4,6)),Number(e.slice(6,8)),Number(e.slice(8,10)),Number(e.slice(10,12)),Number(e.slice(12,14)));return t?K(t,`abap-timestamp`):null}function nc(e){let t=Vl.exec(e);if(!t)return null;let n=Number(t[1]),r=Number(t[2]),i=G(Number(t[3]),r,n);return i?K(i,`abap-dotted`):null}function rc(e){let t=Hl.exec(e);if(!t)return null;let n=Number(t[1]),r=Number(t[2]),i=G(Number(t[3]),n,r);return i?K(i,`slash-date`):null}function ic(e,t=$){let n=Il.exec(e);return n?oc(n[2].trim(),`odata-literal`,t):null}function ac(e){let t=Ul.exec(e);if(!t)return null;let n=t[1]===`-`?-1:1,r=Number(t[2]??0),i=Number(t[3]??0),a=Number(t[4]??0),o=Number(t[5]??0),s=Number(t[6]??0),c=Number(t[7]??0),l=(t[8]??``).slice(0,3).padEnd(3,`0`),u=Number(l||0);return r||i||a||o||s||c||u?{kind:`duration`,source:`iso-duration`,durationMs:n*(r*Xl*Jl+i*Yl*Jl+a*Jl+o*ql+s*Kl+c*Gl+u)}:null}function q(e,t){return t?{...e,source:t}:e}function oc(e,t,n=$){let r=$s(e,n);if(r)return q(r,t);let i=Zs(e);if(i)return q(i,t);let a=nc(e);if(a)return q(a,t);let o=rc(e);if(o)return q(o,t);let s=tc(e);if(s)return q(s,t);let c=ec(e);if(c)return q(c,t);let l=Number(e);if(/^-?\d+$/.test(e)&&Number.isFinite(l)){let e=Ys(l,n);if(e)return q(e,t)}return null}function sc(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function cc(e){return e<Zl?2e3+e:1900+e}function lc(e,t=`dd.MM.yyyy`,n={}){if(typeof e!=`string`)return J(e);let r=e.trim();if(Wl.has(r.toLowerCase()))return null;let i=n.precision??`day`,a=ps(t,i),o=[],s=0,c=`^`,l=null;for(X.lastIndex=0;(l=X.exec(a))!==null;)c+=sc(a.slice(s,l.index)),o.push(l[0]),l[0]===`yyyy`?c+=`(\\d{4})`:c+=`(\\d{2})`,s=l.index+l[0].length;if(o.length===0)return null;c+=`${sc(a.slice(s))}$`;let u=new RegExp(c).exec(r);if(!u)return null;let d=null,f=null,p=null,m=0,ee=0,te=0;for(let e=0;e<o.length;e+=1){let t=o[e],n=u[e+1],r=Number(n);if(!Number.isFinite(r))return null;t===`yyyy`&&(d=r),t===`yy`&&(d=cc(r)),t===`MM`&&(f=r),t===`dd`&&(p=r),t===`HH`&&(m=r),t===`mm`&&(ee=r),t===`ss`&&(te=r)}if(!d||i!==`year`&&!f||i===`day`&&!p)return null;let ne=G(d,f??1,p??1,m,ee,te);return ne?K(ne,`iso-local`):null}function uc(e,t){let n=js(e),r=Ql[e];return n?.pattern?[ps(n.pattern,t)]:r?r.map(e=>ps(e,t)):!n&&ds(e)?[ps(e,t)]:[]}function dc(e,t,n={}){if(typeof e!=`string`){let t=J(e);return t?.kind===`date-time`?t:null}let r=e.trim();if(Wl.has(r.toLowerCase()))return null;let i=n.precision??`day`,a=Ps(t,n.defaultFormat??Q.date);for(let e of uc(a,i)){let t=lc(r,e,{precision:i});if(t?.kind===`date-time`)return t}if(i===`day`){let e=J(r);if(e?.kind===`date-time`)return e}let o=js(a)?.locale??n.locale??Al.locale;if(i===`day`&&Ws(a)){let e=Bs(r,o,Ks(n.referenceDate));if(e)return e}return i!==`year`&&Gs(a)?Vs(r,o):Us(r,o,i)}function fc(e,{mode:t=$}={}){if(e==null)return null;if(e instanceof Date)return Number.isNaN(e.getTime())?null:K(t===`instant`?new Date(e.getTime()):qs(e),`date-object`);if(typeof e==`number`)return Ys(e,t);if(typeof e!=`string`)return null;let n=e.trim();return Wl.has(n.toLowerCase())?null:Xs(n,t)||ic(n,t)||ac(n)||oc(n,void 0,t)}function J(e){return fc(e)}function pc(e){if(!e)return null;if(e.kind===`date-time`)return e.date;let t=new Date(e.durationMs);return Number.isNaN(t.getTime())?null:Js(t)}function mc(e){return pc(J(e))}function hc(e){return String(e).padStart(2,`0`)}function gc(e){if(typeof e!=`string`){let t=su.get(e);if(t)return t;let n=Es(e);return su.set(e,n),n}let t=Ms(e);if(!t)throw Error(`Предустановка даты "${e}" не найдена`);return t}function _c(e,t){return t?.fallback??e.invalidFallback}function vc(e,t,n,r){return e.kind===`duration`?t.formatDuration?t.formatDuration(e.durationMs,n):n:t.formatDateTime(e.date,r)}function yc(e,t=Q.date,n){let r=gc(t),i=_c(r,n),a=n?.precision??`day`,o=J(e);return o?vc(o,r,i,a):i}function bc(e,t){return yc(e,Q.datetime,t)}function xc(e,t){return yc(e,Q.time,t)}function Sc(e,t,n=Q.date,r){let i=gc(n),a=_c(i,r),o=r?.precision??`day`,s=J(e),c=J(t);if(!s||!c)return a;let l=vc(s,i,a,o),u=vc(c,i,a,o);return!l||!u?a:`${l} - ${u}`}function Cc(e,t){return yc(e,Q.abapDate,t)}function wc(e,t){return yc(e,Q.odataDatetime,t)}function Tc(e,t){let n=t?.fallback??``,r=J(e);if(!r)return n;if(r.kind===`duration`){let e=gc(Q.timeSeconds).formatDuration?.(r.durationMs,n)??n;if(e===n)return n;let[t=`00`,i=`00`,a=`00`]=e.split(`:`);return`PT${t}H${i}M${a}S`}let i=r.date;return`PT${hc(i.getHours())}H${hc(i.getMinutes())}M${hc(i.getSeconds())}S`}function Ec(e){if(typeof e==`number`)return Number.isFinite(e)?e:void 0;if(typeof e!=`string`)return;let t=e.trim();if(!t)return;let n=Number(t);if(Number.isFinite(n))return n;let r=``;for(let e=0;e<t.length;e++){let n=t.charCodeAt(e);n!==32&&n!==160&&n!==8239&&n!==39&&(r+=t[e])}let i=r.indexOf(`,`)!==-1,a=r.indexOf(`.`)!==-1;i&&a?r=r.replace(/,/g,``):i&&(r=r.replace(/,/g,`.`));let o=Number(r);return Number.isFinite(o)?o:void 0}function Dc(e){return Ec(e)??0}function Oc(e){let t=Ec(e);if(!(t===void 0||!Number.isInteger(t)||t<=0))return t}function kc(e){let t={};return e.forEach(e=>{t[e.codeKey]=[]}),t}function Ac(e,t,n=!0,r=!0){if(!e||e.length===0)return kc(t);let i=new Set,o=e[0];o&&Object.keys(o).forEach(e=>{i.add(e)});let s=t.filter(e=>i.has(e.codeKey)&&i.has(e.textKey));if(s.length===0)return kc(t);let c={},l=new Map;for(let e of s){let t=e.codeKey;l.set(t,{codeKey:e.codeKey,textKey:e.textKey,uniqueSet:new Set}),c[t]=[]}t.forEach(e=>{let t=e.codeKey;l.has(t)||(c[t]=[])});for(let t of e)for(let[e,r]of l){let{codeKey:i,textKey:a,uniqueSet:o}=r,s=String(t[i]),l=String(t[a]);if(n&&!l||s==null)continue;let u=`${String(s)}|${String(l)}`;o.has(u)||(o.add(u),c[e].push({[i]:s,[a]:l}))}for(let[e,t]of l){let n=c[e];if(n.length>0){let e=r?t.codeKey:t.textKey;n.sort((t,n)=>{let r=t[e]||``,i=n[e]||``;return a(String(r),String(i))})}}return c}function Y(e,t){switch(e){case`string`:return`'${String(t).replace(/'/g,`''`)}'`;case`guid`:return`guid'${String(t)}'`;case`boolean`:return t?`'X'`:`' '`;case`long`:return`${String(t)}L`;case`float`:return`${String(t)}F`;case`decimal`:return`${String(t)}M`;case`double`:return`${String(t)}D`;case`datetime`:case`datetimeOffset`:case`time`:if(!(t instanceof Date))throw Error(`Неверная дата для типа '${e}': ${t}`);return lu[e](t);case`binary`:return`binary'${t}'`;case`byte`:case`int`:return`${String(t)}`;default:throw Error(`Неподдерживаемый тип: ${e}`)}}function jc(e,t){let n=uu[e].safeParse(t);if(!n.success)throw Error(`Некорректное значение для типа '${e}': ${n.error.issues[0]?.message??t}`);return Y(e,n.data)}function Mc(e,t){return(...n)=>{let r=e.safeParse(n);if(!r.success)throw Error(`Validation failed: ${r.error.message}`);return t(...r.data)}}function Nc(e){return Mc(Ki(Wi()),e)}function Pc(e){return Mc(Ki(Vi()),e)}function Fc(e){return Mc(Ki(Gi()),e)}function Ic(e){switch(e){case`boolean`:return`boolean`;case`int`:case`long`:case`float`:case`decimal`:case`double`:case`byte`:return`number`;case`datetime`:case`datetimeOffset`:case`time`:return`date`;default:return`string`}}function Lc(e,t){if(!t||typeof t!=`number`)return;let n=e.match(/^'(.*)'$/s);if(!n)throw Error(`Значение должно быть заключено в одинарные кавычки: ${e}`);let r=n[1];if(r.length>t)throw Error(`Значение слишком длинное для maxLength=${t}: '${e}' (${r.length} символов внутри кавычек)`)}function Rc(e,t){return e.parameters?e.parameters.map(e=>{let{id:n,type:r,maxLength:i,mandatory:a}=e,o=t[n]??{},s=o.value,c=o.formatter;if(a&&s==null)throw Error(`Отсутствует обязательный параметр: ${n}`);if(s==null)return null;try{if(Array.isArray(s)&&!c)throw Error(`Массив значений OData-параметра требует custom formatter`);let e=c?c(s):jc(r,s);return Lc(e,i),[n,e]}catch(e){throw Error(`Ошибка форматирования параметра ${n}: ${String(e)}`)}}).filter(e=>e!==null):[]}function zc(e,t){let n=Rc(e,t);return n.length?`(${n.map(([e,t])=>`${e}=${encodeURIComponent(t)}`).join(`,`)})`:``}function Bc(e,t,n){let r=zc(e,n),i=e.result?`/${e.result}`:``;return`/${t.service}/${t.target}${r}${i}`}function Vc(e){switch(typeof e){case`bigint`:case`number`:return`int`;case`boolean`:return`boolean`;case`object`:if(e instanceof Date)return`datetime`}return`string`}function Hc(e){let{key:t,operation:n=`eq`,value:r,type:i}=e,a=jc(i??Vc(r),r);return n===`contains`?`substringof(${a},${String(t)})`:n===`startswith`||n===`endswith`?`${n}(${String(t)}, ${a})`:`${String(t)} ${n} ${a}`}function Uc(e){return`conditions`in e&&e.conditions!==void 0}function Wc(e){return`filters`in e&&e.filters!==void 0}function Gc(e,t){let n=[];for(let r of e){let e=t(r);e&&n.push(e)}return n}function Kc(e){if(!e)return``;if(Uc(e)){let{conditions:t,and:n=!1}=e;if(t.length===0)return``;if(t.length===1)return Hc(t[0]);let r=n?`and`:`or`;return`(${t.map(Hc).join(` ${r} `)})`}if(Wc(e)){let{filters:t,and:n=!1}=e;if(t.length===0)return``;if(t.length===1)return Kc(t[0]);let r=n?`and`:`or`,i=Gc(t,Kc);return i.length===0?``:i.length===1?i[0]:`(${i.join(` ${r} `)})`}throw Error(`Некорректное выражение фильтра`)}function qc(e,t){if(!t)return{conditions:[]};let n=t[0],r=t[1];return n==null||r==null?n?{conditions:[{key:e,value:n,operation:`ge`}]}:r?{conditions:[{key:e,value:r,operation:`le`}]}:{conditions:[]}:{and:!0,conditions:[{key:e,value:n,operation:`ge`},{key:e,value:r,operation:`le`}]}}function Jc(e){return e?hu.has(e.toUpperCase()):!1}function Yc(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function Xc(e){return e.startsWith(`Edm.`)}function Zc(e,t){if(t)return e[t.toUpperCase()]}function Qc(e,t,n){let r=Zc(n,e);if(!r)return;let i=RegExp(`^${Yc(r)}(_txt|_text|_t)$`,`i`);for(let e of t)if(i.test(e.id))return e.id}function $c(e){let t={},n={};for(let r of e)t[r.id]=r,n[r.id.toUpperCase()]=r.id;for(let t of e){if(t.role===`measure`){t.semanticType=`none`,t.linkedColumnId=void 0;continue}t.role=`dimension`,t.sortable=!0,t.filterable=!0,t.semanticType=mu.test(t.id)?`text`:`code`;let e=Zc(n,t.linkedColumnId);t.linkedColumnId=e&&e!==t.id?e:void 0}for(let r of e){if(r.role!==`dimension`||r.semanticType!==`code`)continue;let i=r.linkedColumnId;if(i){let e=t[i];!e||e.role!==`dimension`?i=void 0:e.semanticType=`text`}if(i||=Qc(r.id,e,n),!i&&Jc(r.id)&&(i=Qc(r.id,e,n)),r.linkedColumnId=i,i){let e=t[i];e&&e.role===`dimension`&&(e.semanticType=`text`,e.linkedColumnId=r.id)}}for(let r of e){if(r.role!==`dimension`||r.semanticType!==`text`)continue;let e=r.linkedColumnId;if(e){let n=t[e];!n||n.role!==`dimension`?e=void 0:n.semanticType=`code`}if(!e){let i=Zc(n,r.id.match(mu)?.[1]);i&&t[i]?.role===`dimension`&&(e=i)}if(r.linkedColumnId=e,e){let n=t[e];n&&n.role===`dimension`&&(n.semanticType=`code`,n.linkedColumnId||=r.id)}}return e}function el(e){switch(e){case`Edm.String`:return`string`;case`Edm.Guid`:return`guid`;case`Edm.Boolean`:return`boolean`;case`Edm.Int16`:case`Edm.Int32`:return`int`;case`Edm.Int64`:return`long`;case`Edm.Single`:return`float`;case`Edm.Decimal`:return`decimal`;case`Edm.Double`:return`double`;case`Edm.DateTime`:return`datetime`;case`Edm.DateTimeOffset`:return`datetimeOffset`;case`Edm.Time`:return`time`;case`Edm.Binary`:return`binary`;case`Edm.Byte`:return`byte`;default:throw Error(`Неподдерживаемый тип данных ${e}`)}}function tl(e){let t=e.getAttribute(`Name`),n=e.getAttribute(`Type`)||``,r=el(n),i=e.hasAttribute(`MaxLength`)?Number(e.getAttribute(`MaxLength`)):void 0,a=e.hasAttribute(`Precision`)?Number(e.getAttribute(`Precision`)):void 0,o=e.hasAttribute(`Scale`)?Number(e.getAttribute(`Scale`)):void 0,s=e.getAttribute(`sap:label`)||void 0,c=e.getAttribute(`sap:parameter`)||void 0,l=e.getAttribute(`Nullable`)!==`false`||void 0;return{id:t,label:s??t,type:r,originalType:n,...r===`string`&&i===1?{abapBooleanLike:!0}:{},...i!==void 0&&{maxLength:i},...a!==void 0&&{precision:a},...o!==void 0&&{scale:o},...c!==void 0&&{parameter:c},...l!==void 0&&{nullable:!0},...c===`mandatory`&&{mandatory:!0}}}function nl(e){let t=tl(e),n=e.getAttribute(`sap:text`)||void 0,r=e.getAttribute(`sap:sortable`)!==`false`,i=e.getAttribute(`sap:filterable`)!==`false`,a=e.getAttribute(`sap:aggregation-role`)===`measure`?`measure`:`dimension`,o=e.getAttribute(`sap:label`)||void 0,{nullable:s,mandatory:c,...l}=t;return{...l,...n!==void 0&&{linkedColumnId:n},...o!==void 0&&{label:o},semanticType:`none`,sortable:r,filterable:i,role:a}}function rl(e){let t=e.getAttribute(`Name`),n=e.getAttribute(`Type`)||``;return!t||!Xc(n)?!1:!([`CNT`,`cnt`].includes(t)||/_F$/i.test(t))}function il(e){let t=e.getAttribute(`Name`),n=e.getAttribute(`Type`)||``;return!t||!Xc(n)?!1:!([`CNT`,`cnt`].includes(t)||/_F$/i.test(t))}function al(e){return Array.from(e.getElementsByTagName(`Property`))}function ol(e){return Array.from(e.getElementsByTagName(`PropertyRef`))}function sl(e){return Array.from(e.getElementsByTagName(`NavigationProperty`))}function cl(e){return al(e).filter(rl).map(tl)}function ll(e){let t=al(e).filter(rl),n=ol(e);return t.map(e=>{let t=tl(e);return n.find(e=>e.getAttribute(`Name`)===t.id)&&(t.mandatory=!0),t})}function ul(e){return $c(al(e).filter(il).map(nl))}function dl(e){if(!e)return;let t=e.split(`.`);return t[t.length-1]||void 0}function fl(e){let t=e.getAttribute(`Mode`);if(t&&t!==`In`){let n=e.getAttribute(`Name`)||`(unknown)`;throw Error(`FunctionImport parameter '${n}' uses unsupported Mode='${t}'`)}let n=e.getAttribute(`Type`)||``;if(!Xc(n)){let t=e.getAttribute(`Name`)||`(unknown)`;throw Error(`FunctionImport parameter '${t}' uses unsupported Type='${n}'`)}let r=tl(e);return e.getAttribute(`Nullable`)===`false`&&(r.mandatory=!0),r}function pl(e){return e.reduce((e,t)=>{let n=t.getAttribute(`Name`);return n&&(e[n]=t),e},{})}function ml(e){return Array.from(e.getElementsByTagName(`EntitySet`)).reduce((e,t)=>{let n=t.getAttribute(`Name`),r=dl(t.getAttribute(`EntityType`));return!n||!r||(e[n]=r),e},{})}function hl(e){return Array.from(e.getElementsByTagName(`AssociationSet`)).reduce((e,t)=>{let n=t.getAttribute(`Association`);if(!n)return e;let r={ends:Array.from(t.getElementsByTagName(`End`)).map(e=>{let t=e.getAttribute(`Role`),n=e.getAttribute(`EntitySet`);if(!(!t||!n))return{role:t,entitySet:n}}).filter(e=>!!e)};e[n]=r;let i=dl(n);return i&&(e[i]=r),e},{})}function gl(e,t){for(let n of sl(e)){let e=n.getAttribute(`Name`);if(e!==`Set`&&e!==`Results`)continue;let r=n.getAttribute(`Relationship`),i=r?t[r]:void 0,a=n.getAttribute(`ToRole`),o=n.getAttribute(`FromRole`),s=i?.ends.find(e=>e.role===a)?.entitySet;return!s&&i&&(s=i.ends.find(e=>e.role!==o)?.entitySet),{name:e,targetEntitySet:s}}}function _l(e,t,n){let r=new Set;for(let[i,a]of Object.entries(e)){let e=t[a];if(!e)continue;let o=gl(e,n);o?.targetEntitySet&&o.targetEntitySet!==i&&r.add(o.targetEntitySet)}return r}function vl(e,t,n,r){let i=t?.targetEntitySet?n[t.targetEntitySet]:void 0;return i&&r[i]||e}function yl(e,t,n){if(n)return cl(e);if(!t.endsWith(`Type`))return ll(e)}function bl(e,t){if(!e)return new Set;let n=dl(e);if(!n)return new Set;let r=t[n];return r?new Set(ol(r).map(e=>e.getAttribute(`Name`)).filter(e=>!!e)):new Set}function xl(e,t,n){let r=e.getAttribute(`Name`)||``,i=e.getAttribute(`EntitySet`)||void 0,a=e.getAttribute(`sap:action-for`)||void 0,o=bl(a,n),s=Array.from(e.getElementsByTagName(`Parameter`)).map(e=>{let t=fl(e);return o.has(t.id)&&(t.mandatory=!0),t});return{name:r,title:e.getAttribute(`sap:label`)||``,httpMethod:e.getAttribute(`m:HttpMethod`)||void 0,parameters:s.length?s:void 0,returnType:e.getAttribute(`ReturnType`)||``,...i!==void 0&&{entitySet:i},...a!==void 0&&{actionFor:a},...i&&t[i]?{resultEntity:i}:{}}}function Sl(e){let t=new DOMParser().parseFromString(e,`application/xml`),n=Array.from(t.getElementsByTagName(`EntityType`)),r=Array.from(t.getElementsByTagName(`FunctionImport`)),i=ml(t),a=pl(n),o=hl(t),s=_l(i,a,o),c={},l={};for(let[e,t]of Object.entries(i)){if(s.has(e))continue;let n=a[t];if(!n)continue;let r=gl(n,o),l=vl(n,r,i,a),u=n.getAttribute(`sap:label`)||l.getAttribute(`sap:label`)||``,d=ul(l),f=yl(n,t,r);c[e]={title:u,columns:d,...f?.length?{parameters:f}:{},...r?{result:r.name}:{}}}for(let e of r){let t=xl(e,i,a);l[t.name]=t}return{entities:c,functionImports:l}}function Cl(e){return e.map(e=>`${String(e.key)} ${e.desc?`desc`:`asc`}`).join(`,`)}var wl,Tl,El,X,Dl,Ol,kl,Z,Al,Q,jl,Ml,Nl,Pl,Fl,Il,Ll,Rl,zl,Bl,Vl,Hl,Ul,Wl,Gl,Kl,ql,Jl,Yl,Xl,Zl,$,Ql,$l,eu,tu,nu,ru,iu,au,ou,su,cu,lu,uu,du,fu,pu,mu,hu;function gu(){return(gu=e((()=>{s(),Ka(),t(),cs(),wl=Object.freeze([`dd`,`MM`,`yyyy`,`yy`]),Tl=Object.freeze([`HH`,`mm`,`ss`]),El=Object.freeze([...wl,...Tl]),X=/(yyyy|yy|MM|dd|HH|mm|ss)/g,Dl=new Set(El),Ol=Object.freeze({day:new Set(El),month:new Set([`MM`,`yyyy`,`yy`]),year:new Set([`yyyy`,`yy`])}),kl=`ru-RU`,Z=Object.freeze([`short`,`medium`,`long`]),Object.freeze([`day`,`month`,`year`]),Al={locale:kl,intlOptions:{day:`2-digit`,month:`2-digit`,year:`numeric`},invalidFallback:``},Q=Object.freeze({date:`date`,dateShort:`date-short`,dateMedium:`date-medium`,dateLong:`date-long`,monthShort:`month-short`,monthMedium:`month-medium`,monthLong:`month-long`,monthYearMedium:`month-year-medium`,monthYearLong:`month-year-long`,datetime:`datetime`,datetimeSeconds:`datetime-seconds`,datetimeShort:`datetime-short`,datetimeMedium:`datetime-medium`,datetimeLong:`datetime-long`,time:`time`,timeSeconds:`time-seconds`,timeShort:`time-short`,timeMedium:`time-medium`,timeLong:`time-long`,odataDate:`odata-date`,odataDatetime:`odata-datetime`,abapDatetime:`abap-datetime`,abapDate:`abap-date`,abapMonth:`abap-month`,abapYear:`abap-year`}),jl=Object.freeze({short:Q.dateShort,medium:Q.dateMedium,long:Q.dateLong}),Ml=[{name:Q.date,intlOptions:{day:`2-digit`,month:`2-digit`,year:`numeric`}},{name:Q.datetime,intlDateOptions:{day:`2-digit`,month:`2-digit`,year:`numeric`},intlTimeOptions:{hour:`2-digit`,minute:`2-digit`,hourCycle:`h23`},intlJoiner:` `},{name:Q.datetimeSeconds,intlDateOptions:{day:`2-digit`,month:`2-digit`,year:`numeric`},intlTimeOptions:{hour:`2-digit`,minute:`2-digit`,second:`2-digit`,hourCycle:`h23`},intlJoiner:` `},{name:Q.time,intlOptions:{hour:`2-digit`,minute:`2-digit`,hourCycle:`h23`},durationPattern:`HH:mm`},{name:Q.timeSeconds,intlOptions:{hour:`2-digit`,minute:`2-digit`,second:`2-digit`,hourCycle:`h23`},durationPattern:`HH:mm:ss`},...Z.map(e=>({name:`date-${e}`,intlOptions:ms(e)})),...Z.map(e=>({name:`month-${e}`,intlOptions:hs(e)})),{name:Q.monthYearMedium,intlOptions:{month:`short`,year:`numeric`}},{name:Q.monthYearLong,intlOptions:{month:`long`,year:`numeric`}},...Z.map(e=>({name:`time-${e}`,intlOptions:gs(e),durationPattern:e===`short`?`HH:mm`:`HH:mm:ss`})),...Z.map(e=>({name:`datetime-${e}`,intlDateOptions:ms(e),intlTimeOptions:gs(e),intlJoiner:`, `})),{name:Q.odataDate,pattern:`yyyy-MM-dd`},{name:Q.odataDatetime,pattern:`yyyy-MM-ddTHH:mm:ss`},{name:Q.abapDatetime,pattern:`yyyyMMddHHmmss`},{name:Q.abapDate,pattern:`yyyyMMdd`},{name:Q.abapMonth,pattern:`yyyyMM`},{name:Q.abapYear,pattern:`yyyy`}],Nl=new Map([[Q.monthYearMedium,`short`],[Q.monthYearLong,`long`]]),Pl=new Map,As(),Fl=/^\/Date\((-?\d+)([+-]\d{4})?\)\/$/,Il=/^(datetimeoffset|datetime)'(.+)'$/i,Ll=/^(\d{4})-(\d{2})-(\d{2})(?:[T ](\d{2})(?::(\d{2})(?::(\d{2})(?:\.(\d{1,9}))?)?)?)?$/,Rl=/(Z|([+-])(\d{2}):?(\d{2}))$/i,zl=/^\d{8}$/,Bl=/^\d{14,}$/,Vl=/^(\d{2})\.(\d{2})\.(\d{4})$/,Hl=/^(\d{2})\/(\d{2})\/(\d{4})$/,Ul=/^([+-])?P(?:(\d+)Y)?(?:(\d+)M)?(?:(\d+)D)?(?:T(?:(\d+)H)?(?:(\d+)M)?(?:(\d+)(?:\.(\d+))?S)?)?$/,Wl=new Set([``,`null`,`undefined`]),Gl=1e3,Kl=6e4,ql=36e5,Jl=864e5,Yl=30,Xl=365,Zl=70,$=`floating`,Ql=Object.freeze({[Q.date]:Object.freeze([`dd.MM.yyyy`]),[Q.dateShort]:Object.freeze([`dd.MM.yyyy`]),[Q.datetime]:Object.freeze([`dd.MM.yyyy HH:mm`]),[Q.datetimeSeconds]:Object.freeze([`dd.MM.yyyy HH:mm:ss`]),[Q.datetimeShort]:Object.freeze([`dd.MM.yyyy, HH:mm`])}),$l=/^(\d{1,2})\s+([\p{L}.]+)\s+(\d{4})(?:\s*[\p{L}.]+)?(?:,?\s+(\d{1,2}):(\d{2})(?::(\d{2}))?)?$/iu,eu=/^(\d{1,2})\.(\d{1,2})$/u,tu=/^(\d{1,2})\s+([\p{L}.]+)$/iu,nu=/^([\p{L}.]+)\s+(\d{4})(?:\s*[\p{L}.]+)?$/iu,ru=/^(\d{4})(?:\s*[\p{L}.]+)?$/iu,iu=new Map,au=new Set([Q.monthShort,Q.monthMedium,Q.monthLong]),ou=new Set([Q.monthYearMedium,Q.monthYearLong]),su=new WeakMap,cu=Object.freeze([`string`,`number`,`boolean`,`date`]),new Set(cu),Object.freeze({string:`строка`,number:`число`,boolean:`boolean`,date:`дата`}),lu={datetime(e){return`datetime'${wc(e)}'`},datetimeOffset(e){return`datetimeoffset'${e.toISOString()}'`},time(e){return`time'${Tc(e)}'`}},uu={string:Vi(),guid:Hi().or(Vi().regex(/^[0-9a-fA-F-]+$/,`Invalid GUID`)),boolean:Wi(),int:O().int(),long:O().int(),float:O(),decimal:O(),double:O(),datetime:Gi(),datetimeOffset:Gi(),time:Gi(),binary:Vi(),byte:O().int().min(0).max(255)},Fc(lu.datetime),Fc(lu.datetimeOffset),Fc(lu.time),Fc(e=>Y(`string`,Cc(e))),Nc(e=>Y(`boolean`,e)),Nc(e=>Y(`string`,Number(e))),Nc(e=>Y(`byte`,Number(e))),Pc(e=>Y(`string`,e)),du=Object.freeze({eq:`eq`,ne:`ne`,gt:`gt`,ge:`ge`,lt:`lt`,le:`le`,startswith:`startswith`,endswith:`endswith`,contains:`contains`}),fu=Object.freeze(Object.values(du)),Object.freeze({eq:`равно`,ne:`не равно`,gt:`больше`,ge:`больше или равно`,lt:`меньше`,le:`меньше или равно`,startswith:`начинается с`,endswith:`заканчивается на`,contains:`содержит`}),new Set(fu),pu=n()(ss(e=>({defaultMaxVisibleItems:200,defaultMinSearchCodeLength:3,defaultMinSearchTextLength:1,defaultSearchDebounceDelay:100,setDefaultMaxVisibleItems:t=>e({defaultMaxVisibleItems:t}),setDefaultMinSearchTextLength:t=>e({defaultMinSearchTextLength:t}),setDefaultMinSearchCodeLength:t=>e({defaultMinSearchCodeLength:t}),setDefaultSearchDebounceDelay:t=>e({defaultSearchDebounceDelay:t})}))),mu=/^(.+)(_txt|_text|_t)$/i,hu=new Set([`ZDIV`,`ZCFO1`])})))()}export{s as C,Kc as S,Sc as _,bc as a,qc as b,dc as c,js as d,Ic as f,gu as g,wc as h,Sl as i,Ps as l,Oc as m,yc as n,xc as o,Ec as p,Ac as r,mc as s,pu as t,Cl as u,Bc as v,a as w,Q as x,Dc as y};
@@ -1,9 +0,0 @@
1
- import{a as e,n as t}from"./rolldown-runtime-DkW27tQK.js";import{t as n}from"./react-BZJXY1be.js";import{n as r}from"./iframe-K-XGUe-D.js";import{c as i}from"./ModalManagerProvider-DA5QtvQ2.js";var a,o;function s(){return(s=t((()=>{a=n(),o=(0,a.createContext)({})})))()}function c(e){let t=(0,l.useRef)(null);return t.current===null&&(t.current=e()),t.current}var l;function u(){return(u=t((()=>{l=n()})))()}var d;function f(){return(f=t((()=>{d=typeof window<`u`})))()}var p,m;function h(){return(h=t((()=>{p=n(),f(),m=d?p.useLayoutEffect:p.useEffect})))()}var g,_;function v(){return(v=t((()=>{g=n(),_=(0,g.createContext)(null)})))()}function y(e,t){e.indexOf(t)===-1&&e.push(t)}function b(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var x;function S(){return(S=t((()=>{x=(e,t,n)=>n>t?t:n<e?e:n})))()}var C,w;function T(){return(T=t((()=>{C=()=>{},w=()=>{}})))()}var E;function ee(){return(ee=t((()=>{E={}})))()}var te;function ne(){return(ne=t((()=>{te=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)})))()}var re;function ie(){return(ie=t((()=>{re=e=>typeof e==`object`&&!!e})))()}var ae;function oe(){return(oe=t((()=>{ae=e=>/^0[^.\s]+$/u.test(e)})))()}function se(e){let t;return()=>(t===void 0&&(t=e()),t)}var D;function O(){return(O=t((()=>{D=e=>e})))()}var ce;function le(){return(le=t((()=>{ce=(...e)=>e.reduce((e,t)=>n=>t(e(n)))})))()}var ue;function de(){return(de=t((()=>{ue=(e,t,n)=>{let r=t-e;return r?(n-e)/r:1}})))()}var fe;function pe(){return(pe=t((()=>{fe=class{constructor(){this.subscriptions=[]}add(e){return y(this.subscriptions,e),()=>b(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r){if(r===1)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}})))()}var k,A;function me(){return(me=t((()=>{k=e=>e*1e3,A=e=>e/1e3})))()}var he;function ge(){return(ge=t((()=>{he=(e,t)=>t?1e3/t*e:0})))()}function _e(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=ye(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>be&&++s<xe);return o}function ve(e,t,n,r){if(e===t&&n===r)return D;let i=t=>_e(t,0,1,e,n);return e=>e===0||e===1?e:ye(i(e),t,r)}var ye,be,xe;function Se(){return(Se=t((()=>{O(),ye=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,be=1e-7,xe=12})))()}var Ce;function we(){return(we=t((()=>{Ce=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2})))()}var Te;function Ee(){return(Ee=t((()=>{Te=e=>t=>1-e(1-t)})))()}var De,Oe,ke;function Ae(){return(Ae=t((()=>{Se(),we(),Ee(),De=ve(.33,1.53,.69,.99),Oe=Te(De),ke=Ce(Oe)})))()}var je;function Me(){return(Me=t((()=>{Ae(),je=e=>e>=1?1:(e*=2)<1?.5*Oe(e):.5*(2-2**(-10*(e-1)))})))()}var Ne,Pe,Fe;function Ie(){return(Ie=t((()=>{we(),Ee(),Ne=e=>1-Math.sin(Math.acos(e)),Pe=Te(Ne),Fe=Ce(Ne)})))()}var Le,Re,ze;function Be(){return(Be=t((()=>{Se(),Le=ve(.42,0,1,1),Re=ve(0,0,.58,1),ze=ve(.42,0,.58,1)})))()}var Ve;function He(){return(He=t((()=>{Ve=e=>Array.isArray(e)&&typeof e[0]!=`number`})))()}var Ue;function We(){return(We=t((()=>{Ue=e=>Array.isArray(e)&&typeof e[0]==`number`})))()}var Ge,Ke,qe;function Je(){return(Je=t((()=>{T(),O(),Me(),Ae(),Ie(),Se(),Be(),We(),Ge={linear:D,easeIn:Le,easeInOut:ze,easeOut:Re,circIn:Ne,circInOut:Fe,circOut:Pe,backIn:Oe,backInOut:ke,backOut:De,anticipate:je},Ke=e=>typeof e==`string`,qe=e=>{if(Ue(e)){w(e.length===4,`Cubic bezier arrays must contain four numerical values.`,`cubic-bezier-length`);let[t,n,r,i]=e;return ve(t,n,r,i)}return Ke(e)?(w(Ge[e]!==void 0,`Invalid easing type '${e}'`,`invalid-easing-type`),Ge[e]):e}})))()}var Ye;function Xe(){return(Xe=t((()=>{Ye=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`]})))()}function Ze(e){let t=new Set,n=new Set,r=!1,i=!1,a=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function s(t){a.has(t)&&(c.schedule(t),e()),t(o)}let c={schedule:(e,i=!1,o=!1)=>{let s=o&&r?t:n;return i&&a.add(e),s.add(e),e},cancel:e=>{n.delete(e),a.delete(e)},process:e=>{if(o=e,r){i=!0;return}r=!0;let a=t;t=n,n=a,t.forEach(s),t.clear(),r=!1,i&&(i=!1,c.process(e))}};return c}function Qe(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=Ye.reduce((e,t)=>(e[t]=Ze(a),e),{}),{setup:s,read:c,resolveKeyframes:l,preUpdate:u,update:d,preRender:f,render:p,postRender:m}=o,h=()=>{let a=E.useManualTiming,o=a?i.timestamp:performance.now();n=!1,a||(i.delta=r?1e3/60:Math.max(Math.min(o-i.timestamp,$e),1)),i.timestamp=o,i.isProcessing=!0,s.process(i),c.process(i),l.process(i),u.process(i),d.process(i),f.process(i),p.process(i),m.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(h))},g=()=>{n=!0,r=!0,i.isProcessing||e(h)};return{schedule:Ye.reduce((e,t)=>{let r=o[t];return e[t]=(e,t=!1,i=!1)=>(n||g(),r.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<Ye.length;t++)o[Ye[t]].cancel(e)},state:i,steps:o}}var $e;function et(){return(et=t((()=>{ee(),Xe(),$e=40})))()}var j,tt,M,nt;function N(){return(N=t((()=>{O(),et(),{schedule:j,cancel:tt,state:M,steps:nt}=Qe(typeof requestAnimationFrame<`u`?requestAnimationFrame:D,!0)})))()}function rt(){it=void 0}var it,P;function at(){return(at=t((()=>{ee(),N(),P={now:()=>(it===void 0&&P.set(M.isProcessing||E.useManualTiming?M.timestamp:performance.now()),it),set:e=>{it=e,queueMicrotask(rt)}}})))()}function ot(e){return typeof e==`string`&&e.split(`/*`)[0].includes(`var(--`)}var st,ct,lt,ut,dt;function ft(){return(ft=t((()=>{st=e=>t=>typeof t==`string`&&t.startsWith(e),ct=st(`--`),lt=st(`var(--`),ut=e=>lt(e)?dt.test(e.split(`/*`)[0].trim()):!1,dt=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu})))()}var pt,mt,ht;function gt(){return(gt=t((()=>{S(),pt={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},mt={...pt,transform:e=>x(0,1,e)},ht={...pt,default:1}})))()}var _t;function vt(){return(vt=t((()=>{_t=e=>Math.round(e*1e5)/1e5})))()}var yt;function bt(){return(bt=t((()=>{yt=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu})))()}function xt(e){return e==null}var St;function Ct(){return(Ct=t((()=>{St=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu})))()}var wt,Tt;function Et(){return(Et=t((()=>{bt(),Ct(),wt=(e,t)=>n=>!!(typeof n==`string`&&St.test(n)&&n.startsWith(e)||t&&!xt(n)&&Object.prototype.hasOwnProperty.call(n,t)),Tt=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(yt);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}}})))()}var Dt,Ot,kt;function At(){return(At=t((()=>{S(),gt(),vt(),Et(),Dt=e=>x(0,255,e),Ot={...pt,transform:e=>Math.round(Dt(e))},kt={test:wt(`rgb`,`red`),parse:Tt(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+Ot.transform(e)+`, `+Ot.transform(t)+`, `+Ot.transform(n)+`, `+_t(mt.transform(r))+`)`}})))()}function jt(e){let t=``,n=``,r=``,i=``;return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}var Mt;function Nt(){return(Nt=t((()=>{At(),Et(),Mt={test:wt(`#`),parse:jt,transform:kt.transform}})))()}var Pt,F,I,L,Ft,It,Lt;function R(){return(R=t((()=>{Pt=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),F=Pt(`deg`),I=Pt(`%`),L=Pt(`px`),Ft=Pt(`vh`),It=Pt(`vw`),Lt={...I,parse:e=>I.parse(e)/100,transform:e=>I.transform(e*100)}})))()}var Rt;function zt(){return(zt=t((()=>{gt(),R(),vt(),Et(),Rt={test:wt(`hsl`,`hue`),parse:Tt(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+I.transform(_t(t))+`, `+I.transform(_t(n))+`, `+_t(mt.transform(r))+`)`}})))()}var z;function Bt(){return(Bt=t((()=>{Nt(),zt(),At(),z={test:e=>kt.test(e)||Mt.test(e)||Rt.test(e),parse:e=>kt.test(e)?kt.parse(e):Rt.test(e)?Rt.parse(e):Mt.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?kt.transform(e):Rt.transform(e),getAnimatableNone:e=>{let t=z.parse(e);return t.alpha=0,z.transform(t)}}})))()}var Vt;function Ht(){return(Ht=t((()=>{Vt=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu})))()}function Ut(e){return isNaN(e)&&typeof e==`string`&&(e.match(yt)?.length||0)+(e.match(Vt)?.length||0)>0}function Wt(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(en,e=>(z.test(e)?(r.color.push(a),i.push(Xt),n.push(z.parse(e))):e.startsWith(Qt)?(r.var.push(a),i.push(Zt),n.push(e)):(r.number.push(a),i.push(Yt),n.push(parseFloat(e))),++a,$t)).split($t),indexes:r,types:i}}function Gt(e){return Wt(e).values}function Kt({split:e,types:t}){let n=e.length;return r=>{let i=``;for(let a=0;a<n;a++)if(i+=e[a],r[a]!==void 0){let e=t[a];i+=e===Yt?_t(r[a]):e===Xt?z.transform(r[a]):r[a]}return i}}function qt(e){return Kt(Wt(e))}function Jt(e){let t=Wt(e);return Kt(t)(t.values.map((e,n)=>nn(e,t.split[n])))}var Yt,Xt,Zt,Qt,$t,en,tn,nn,B;function V(){return(V=t((()=>{Bt(),Ht(),bt(),vt(),Yt=`number`,Xt=`color`,Zt=`var`,Qt=`var(`,$t="${}",en=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu,tn=e=>typeof e==`number`?0:z.test(e)?z.getAnimatableNone(e):e,nn=(e,t)=>typeof e==`number`?t?.trim().endsWith(`/`)?e:0:tn(e),B={test:Ut,parse:Gt,createTransformer:qt,getAnimatableNone:Jt}})))()}function rn(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function an({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,o=0;if(!t)i=a=o=n;else{let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=rn(s,r,e+1/3),a=rn(s,r,e),o=rn(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}function on(e,t){return n=>n>0?t:e}var H;function U(){return(U=t((()=>{H=(e,t,n)=>e+(t-e)*n})))()}function sn(e){let t=un(e);if(C(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,`color-not-animatable`),!t)return!1;let n=t.parse(e);return t===Rt&&(n=an(n)),n}var cn,ln,un,dn;function fn(){return(fn=t((()=>{T(),Nt(),zt(),At(),U(),cn=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},ln=[Mt,kt,Rt],un=e=>ln.find(t=>t.test(e)),dn=(e,t)=>{let n=sn(e),r=sn(t);if(!n||!r)return on(e,t);let i={...n};return e=>(i.red=cn(n.red,r.red,e),i.green=cn(n.green,r.green,e),i.blue=cn(n.blue,r.blue,e),i.alpha=H(n.alpha,r.alpha,e),kt.transform(i))}})))()}function pn(e,t){return mn.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}var mn;function hn(){return(hn=t((()=>{mn=new Set([`none`,`hidden`])})))()}function gn(e,t){return n=>H(e,t,n)}function _n(e){return typeof e==`number`?gn:typeof e==`string`?ut(e)?on:z.test(e)?dn:xn:Array.isArray(e)?vn:typeof e==`object`?z.test(e)?dn:yn:on}function vn(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>_n(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function yn(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=_n(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}function bn(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let a=t.types[i],o=e.indexes[a][r[a]],s=e.values[o]??0;n[i]=s,r[a]++}return n}var xn;function Sn(){return(Sn=t((()=>{le(),T(),ft(),Bt(),V(),fn(),U(),hn(),xn=(e,t)=>{let n=B.createTransformer(t),r=Wt(e),i=Wt(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?mn.has(e)&&!i.values.length||mn.has(t)&&!r.values.length?pn(e,t):ce(vn(bn(r,i),i.values),n):(C(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,`complex-values-different`),on(e,t))}})))()}function Cn(e,t,n){return typeof e==`number`&&typeof t==`number`&&typeof n==`number`?H(e,t,n):_n(e)(e,t)}function wn(){return(wn=t((()=>{Sn(),U()})))()}var Tn;function En(){return(En=t((()=>{at(),N(),Tn=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>j.update(t,e),stop:()=>tt(t),now:()=>M.isProcessing?M.timestamp:P.now()}}})))()}var Dn;function On(){return(On=t((()=>{Dn=(e,t,n=10)=>{let r=``,i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=Math.round(e(t/(i-1))*1e4)/1e4+`, `;return`linear(${r.substring(0,r.length-2)})`}})))()}function kn(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}var An;function jn(){return(jn=t((()=>{An=2e4})))()}function Mn(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(kn(r),An);return{type:`keyframes`,ease:e=>r.next(i*e).value/t,duration:A(i)}}function Nn(){return(Nn=t((()=>{me(),jn()})))()}function Pn(e,t){return e*Math.sqrt(1-t*t)}function Fn(e,t,n){let r=n;for(let n=1;n<Bn;n++)r-=e(r)/t(r);return r}function In({duration:e=W.duration,bounce:t=W.bounce,velocity:n=W.velocity,mass:r=W.mass}){let i,a;C(e<=k(W.maxDuration),`Spring duration must be 10 seconds or less`,`spring-duration-limit`);let o=1-t;o=x(W.minDamping,W.maxDamping,o),e=x(W.minDuration,W.maxDuration,A(e)),o<1?(i=t=>{let r=t*o,i=r*e,a=r-n,s=Pn(t,o),c=Math.exp(-i);return Vn-a/s*c},a=t=>{let r=t*o*e,a=r*n+n,s=o**2*t**2*e,c=Math.exp(-r),l=Pn(t**2,o);return(-i(t)+Vn>0?-1:1)*((a-s)*c)/l}):(i=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),a=t=>Math.exp(-t*e)*((n-t)*(e*e)));let s=5/e,c=Fn(i,a,s);if(e=k(e),isNaN(c))return{stiffness:W.stiffness,damping:W.damping,duration:e};{let t=c**2*r;return{stiffness:t,damping:o*2*Math.sqrt(r*t),duration:e}}}function Ln(e,t){return t.some(t=>e[t]!==void 0)}function Rn(e){let t={velocity:W.velocity,stiffness:W.stiffness,damping:W.damping,mass:W.mass,isResolvedFromDuration:!1,...e};if(!Ln(e,Un)&&Ln(e,Hn)){if(t.velocity=0,e.visualDuration){let n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*x(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:W.mass,stiffness:i,damping:a}}else{let n=In({...e,velocity:0});t={...t,...n,mass:W.mass},t.isResolvedFromDuration=!0}}return t}function zn(e=W.visualDuration,t=W.bounce){let n=typeof e==`object`?e:{visualDuration:e,keyframes:[0,1],bounce:t},{restSpeed:r,restDelta:i}=n,a=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],s={done:!1,value:a},{stiffness:c,damping:l,mass:u,duration:d,velocity:f,isResolvedFromDuration:p}=Rn({...n,velocity:-A(n.velocity||0)}),m=f||0,h=l/(2*Math.sqrt(c*u)),g=o-a,_=A(Math.sqrt(c/u)),v=Math.abs(g)<5;r||=v?W.restSpeed.granular:W.restSpeed.default,i||=v?W.restDelta.granular:W.restDelta.default;let y,b,x,S,C,w;if(h<1)x=Pn(_,h),S=(m+h*_*g)/x,y=e=>{let t=Math.exp(-h*_*e);return o-t*(S*Math.sin(x*e)+g*Math.cos(x*e))},C=h*_*S+g*x,w=h*_*g-S*x,b=e=>Math.exp(-h*_*e)*(C*Math.sin(x*e)+w*Math.cos(x*e));else if(h===1){y=e=>o-Math.exp(-_*e)*(g+(m+_*g)*e);let e=m+_*g;b=t=>Math.exp(-_*t)*(_*e*t-m)}else{let e=_*Math.sqrt(h*h-1);y=t=>{let n=Math.exp(-h*_*t),r=Math.min(e*t,300);return o-n*((m+h*_*g)*Math.sinh(r)+e*g*Math.cosh(r))/e};let t=(m+h*_*g)/e,n=h*_*t-g*e,r=h*_*g-t*e;b=t=>{let i=Math.exp(-h*_*t),a=Math.min(e*t,300);return i*(n*Math.sinh(a)+r*Math.cosh(a))}}let T={calculatedDuration:p&&d||null,velocity:e=>k(b(e)),next:e=>{if(!p&&h<1){let t=Math.exp(-h*_*e),n=Math.sin(x*e),a=Math.cos(x*e),c=o-t*(S*n+g*a),l=k(t*(C*n+w*a));return s.done=Math.abs(l)<=r&&Math.abs(o-c)<=i,s.value=s.done?o:c,s}let t=y(e);if(p)s.done=e>=d;else{let n=k(b(e));s.done=Math.abs(n)<=r&&Math.abs(o-t)<=i}return s.value=s.done?o:t,s},toString:()=>{let e=Math.min(kn(T),An),t=Dn(t=>T.next(e*t).value,e,30);return e+`ms `+t},toTransition:()=>{}};return T}var W,Bn,Vn,Hn,Un;function Wn(){return(Wn=t((()=>{me(),S(),T(),On(),jn(),Nn(),W={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Bn=12,Vn=.001,Hn=[`duration`,`bounce`],Un=[`stiffness`,`damping`,`mass`],zn.applyToOptions=e=>{let t=Mn(e,100,zn);return e.ease=t.ease,e.duration=k(t.duration),e.type=`keyframes`,e}})))()}function Gn(e,t,n){let r=Math.max(t-Kn,0);return he(n-e(r),t-r)}var Kn;function qn(){return(qn=t((()=>{ge(),Kn=5})))()}function Jn({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:o,min:s,max:c,restDelta:l=.5,restSpeed:u}){let d=e[0],f={done:!1,value:d},p=e=>s!==void 0&&e<s||c!==void 0&&e>c,m=e=>s===void 0?c:c===void 0||Math.abs(s-e)<Math.abs(c-e)?s:c,h=n*t,g=d+h,_=o===void 0?g:o(g);_!==g&&(h=_-d);let v=e=>-h*Math.exp(-e/r),y=e=>_+v(e),b=e=>{let t=v(e),n=y(e);f.done=Math.abs(t)<=l,f.value=f.done?_:n},x,S,C=e=>{p(f.value)&&(x=e,S=zn({keyframes:[f.value,m(f.value)],velocity:Gn(y,e,f.value),damping:i,stiffness:a,restDelta:l,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return!S&&x===void 0&&(t=!0,b(e),C(e)),x!==void 0&&e>=x?S.next(e-x):(!t&&b(e),f)}}}function Yn(){return(Yn=t((()=>{Wn(),qn()})))()}function Xn(e,t,n){let r=[],i=n||E.mix||Cn,a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);if(t){let e=Array.isArray(t)?t[n]||D:t;a=ce(e,a)}r.push(a)}return r}function Zn(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let a=e.length;if(w(a===t.length,`Both input and output ranges must be the same length`,`range-length`),a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=Xn(t,r,i),c=s.length,l=n=>{if(o&&n<e[0])return t[0];let r=0;if(c>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=ue(e[r],e[r+1],n);return s[r](i)};return n?t=>l(x(e[0],e[a-1],t)):l}function Qn(){return(Qn=t((()=>{T(),S(),ee(),O(),le(),de(),wn()})))()}function $n(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=ue(0,t,r);e.push(H(n,1,i))}}function er(){return(er=t((()=>{de(),U()})))()}function tr(e){let t=[0];return $n(t,e.length-1),t}function nr(){return(nr=t((()=>{er()})))()}function rr(e,t){return e.map(e=>e*t)}function ir(e,t){return e.map(()=>t||ze).splice(0,e.length-1)}function ar({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`}){let i=Ve(r)?r.map(qe):qe(r),a={done:!1,value:t[0]},o=Zn(rr(n&&n.length===t.length?n:tr(t),e),t,{ease:Array.isArray(i)?i:ir(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}function or(){return(or=t((()=>{Be(),He(),Je(),Qn(),nr()})))()}function sr(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter(cr),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var cr;function lr(){return(lr=t((()=>{cr=e=>e!==null})))()}function ur(e){typeof e.type==`string`&&(e.type=dr[e.type])}var dr;function fr(){return(fr=t((()=>{Yn(),or(),Wn(),dr={decay:Jn,inertia:Jn,tween:ar,keyframes:ar,spring:zn}})))()}var pr;function mr(){return(mr=t((()=>{pr=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}})))()}var hr,gr;function _r(){return(_r=t((()=>{le(),S(),me(),at(),wn(),En(),Yn(),or(),jn(),qn(),lr(),fr(),mr(),hr=e=>e/100,gr=class extends pr{constructor(e){super(),this.state=`idle`,this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==P.now()&&this.tick(P.now()),this.isStopped=!0,this.state!==`idle`&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){let{options:e}=this;ur(e);let{type:t=ar,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||ar;s!==ar&&typeof o[0]!=`number`&&(this.mixKeyframes=ce(hr,Cn(o[0],o[1])),o=[0,100]);let c=s({...e,keyframes:o});i===`mirror`&&(this.mirroredGenerator=s({...e,keyframes:[...o].reverse(),velocity:-a})),c.calculatedDuration===null&&(c.calculatedDuration=kn(c));let{calculatedDuration:l}=c;this.calculatedDuration=l,this.resolvedDuration=l+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=c}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;this.currentTime=this.holdTime===null?t:this.holdTime}tick(e,t=!1){let{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:s}=this;if(this.startTime===null)return n.next(0);let{delay:c=0,keyframes:l,repeat:u,repeatType:d,repeatDelay:f,type:p,onUpdate:m,finalKeyframe:h}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let g=this.currentTime-c*(this.playbackSpeed>=0?1:-1),_=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),this.state===`finished`&&this.holdTime===null&&(this.currentTime=r);let v=this.currentTime,y=n;if(u){let e=Math.min(this.currentTime,r)/o,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),n===1&&t--,t=Math.min(t,u+1),t%2&&(d===`reverse`?(n=1-n,f&&(n-=f/o)):d===`mirror`&&(y=a)),v=x(0,1,n)*o}let b;_?(this.delayState.value=l[0],b=this.delayState):b=y.next(v),i&&!_&&(b.value=i(b.value));let{done:S}=b;!_&&s!==null&&(S=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let C=this.holdTime===null&&(this.state===`finished`||this.state===`running`&&S);return C&&p!==Jn&&(b.value=sr(l,this.options,h,this.speed)),m&&m(b.value),C&&this.finish(),b}then(e,t){return this.finished.then(e,t)}get duration(){return A(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+A(e)}get time(){return A(this.currentTime)}set time(e){e=k(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state=`paused`,this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return Gn(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(P.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=A(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=Tn,startTime:t}=this.options;this.driver||=e(e=>this.tick(e)),this.options.onPlay?.();let n=this.driver.now();this.state===`finished`?(this.updateFinished(),this.startTime=n):this.holdTime===null?this.startTime||=t??n:this.startTime=n-this.holdTime,this.state===`finished`&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state=`running`,this.driver.start()}pause(){this.state=`paused`,this.updateTime(P.now()),this.holdTime=this.currentTime}complete(){this.state!==`running`&&this.play(),this.state=`finished`,this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state=`finished`,this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state=`idle`,this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&=(this.driver.stop(),void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type=`keyframes`,this.options.ease=`linear`,this.initAnimation()),this.driver?.stop(),e.observe(this)}}})))()}function vr(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}function yr(e){return+!!e.includes(`scale`)}function br(e,t){if(!e||e===`none`)return yr(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,i;if(n)r=kr,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=wr,i=t}if(!i)return yr(t);let a=r[t],o=i[1].split(`,`).map(xr);return typeof a==`function`?a(o):o[a]}function xr(e){return parseFloat(e.trim())}var Sr,Cr,wr,Tr,Er,Dr,Or,kr,Ar;function jr(){return(jr=t((()=>{Sr=e=>e*180/Math.PI,Cr=e=>{let t=Sr(Math.atan2(e[1],e[0]));return Tr(t)},wr={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Cr,rotateZ:Cr,skewX:e=>Sr(Math.atan(e[1])),skewY:e=>Sr(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Tr=e=>(e%=360,e<0&&(e+=360),e),Er=Cr,Dr=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Or=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),kr={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Dr,scaleY:Or,scale:e=>(Dr(e)+Or(e))/2,rotateX:e=>Tr(Sr(Math.atan2(e[6],e[5]))),rotateY:e=>Tr(Sr(Math.atan2(-e[2],e[0]))),rotateZ:Er,rotate:Er,skewX:e=>Sr(Math.atan(e[4])),skewY:e=>Sr(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2},Ar=(e,t)=>{let{transform:n=`none`}=getComputedStyle(e);return br(n,t)}})))()}var Mr,Nr;function G(){return(G=t((()=>{Mr=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],Nr=new Set([...Mr,`pathRotation`])})))()}function Pr(e){let t=[];return Lr.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(+!!n.startsWith(`scale`)))}),t}var Fr,Ir,Lr,Rr;function zr(){return(zr=t((()=>{jr(),G(),gt(),R(),Fr=e=>e===pt||e===L,Ir=new Set([`x`,`y`,`z`]),Lr=Mr.filter(e=>!Ir.has(e)),Rr={width:({x:e},{paddingLeft:t=`0`,paddingRight:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t=`0`,paddingBottom:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>br(t,`x`),y:(e,{transform:t})=>br(t,`y`)},Rr.translateX=Rr.x,Rr.translateY=Rr.y})))()}function Br(){if(Gr){let e=Array.from(Ur).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=Pr(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{e.suspendedScrollY!==void 0&&window.scrollTo(0,e.suspendedScrollY)})}Gr=!1,Wr=!1,Ur.forEach(e=>e.complete(Kr)),Ur.clear()}function Vr(){Ur.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Gr=!0)})}function Hr(){Kr=!0,Vr(),Br(),Kr=!1}var Ur,Wr,Gr,Kr,qr;function Jr(){return(Jr=t((()=>{zr(),N(),Ur=new Set,Wr=!1,Gr=!1,Kr=!1,qr=class{constructor(e,t,n,r,i,a=!1){this.state=`pending`,this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=a}scheduleResolve(){this.state=`scheduled`,this.isAsync?(Ur.add(this),Wr||(Wr=!0,j.read(Vr),j.resolveKeyframes(Br))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(e[0]===null){let i=r?.get(),a=e[e.length-1];if(i!==void 0)e[0]=i;else if(n&&t){let r=n.readValue(t,a);r!=null&&(e[0]=r)}e[0]===void 0&&(e[0]=a),r&&i===void 0&&r.set(e[0])}vr(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),Ur.delete(this)}cancel(){this.state===`scheduled`&&(Ur.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}}})))()}var Yr;function Xr(){return(Xr=t((()=>{Yr=e=>e.startsWith(`--`)})))()}function Zr(e,t,n){Yr(t)?e.style.setProperty(t,n):e.style[t]=n}function Qr(){return(Qr=t((()=>{Xr()})))()}var $r;function ei(){return(ei=t((()=>{$r={}})))()}function ti(e,t){let n=se(e);return()=>$r[t]??n()}function ni(){return(ni=t((()=>{ei()})))()}var ri;function ii(){return(ii=t((()=>{ni(),ri=ti(()=>window.ScrollTimeline!==void 0,`scrollTimeline`)})))()}var ai;function oi(){return(oi=t((()=>{ni(),ai=ti(()=>{try{document.createElement(`div`).animate({opacity:0},{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`)})))()}var si;function ci(){return(ci=t((()=>{si=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`})))()}var li;function ui(){return(ui=t((()=>{ci(),li={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:si([0,.65,.55,1]),circOut:si([.55,0,1,.45]),backIn:si([.31,.01,.66,-.59]),backOut:si([.33,1.53,.69,.99])}})))()}function di(e,t){if(e)return typeof e==`function`?ai()?Dn(e,t):`ease-out`:Ue(e)?si(e):Array.isArray(e)?e.map(e=>di(e,t)||li.easeOut):li[e]}function fi(){return(fi=t((()=>{We(),oi(),On(),ci(),ui()})))()}function pi(e,t,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:o=`loop`,ease:s=`easeOut`,times:c}={},l=void 0){let u={[t]:n};c&&(u.offset=c);let d=di(s,i);Array.isArray(d)&&(u.easing=d);let f={delay:r,duration:i,easing:Array.isArray(d)?`linear`:d,fill:`both`,iterations:a+1,direction:o===`reverse`?`alternate`:`normal`};return l&&(f.pseudoElement=l),e.animate(u,f)}function mi(){return(mi=t((()=>{fi()})))()}function hi(e){return typeof e==`function`&&`applyToOptions`in e}function gi({type:e,...t}){return hi(e)&&ai()?e.applyToOptions(t):(t.duration??=300,t.ease??=`easeOut`,t)}function _i(){return(_i=t((()=>{oi()})))()}var vi;function yi(){return(yi=t((()=>{T(),me(),O(),Qr(),ii(),lr(),mr(),mi(),_i(),vi=class extends pr{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;let{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:a=!1,finalKeyframe:o,onComplete:s}=e;this.isPseudoElement=!!i,this.allowFlatten=a,this.options=e,w(typeof e.type!=`string`,`Mini animate() doesn't support "type" as a string.`,`mini-spring`);let c=gi(e);this.animation=pi(t,n,r,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=sr(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),Zr(t,n,e),this.animation.cancel()}s?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state===`finished`&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;e!==`idle`&&e!==`finished`&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return A(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+A(e)}get time(){return A(Number(this.animation.currentTime)||0)}set time(e){let t=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=k(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime===null?this.animation.playState:`finished`}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:n,observe:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:`linear`}),this.animation.onfinish=null,e&&ri()?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),D):r(this)}}})))()}function bi(e){return e in Si}function xi(e){typeof e.ease==`string`&&bi(e.ease)&&(e.ease=Si[e.ease])}var Si;function Ci(){return(Ci=t((()=>{Ie(),Ae(),Me(),Si={anticipate:je,backInOut:ke,circInOut:Fe}})))()}var wi,Ti;function Ei(){return(Ei=t((()=>{S(),at(),Qr(),_r(),yi(),fr(),Ci(),wi=10,Ti=class extends vi{constructor(e){xi(e),ur(e),super(e),e.startTime!==void 0&&e.autoplay!==!1&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:n,onComplete:r,element:i,...a}=this.options;if(!t)return;if(e!==void 0){t.set(e);return}let o=new gr({...a,autoplay:!1}),s=Math.max(wi,P.now()-this.startTime),c=x(0,wi,s-wi),l=o.sample(s).value,{name:u}=this.options;i&&u&&Zr(i,u,l),t.setWithVelocity(o.sample(Math.max(0,s-c)).value,l,c),o.stop()}}})))()}var Di;function Oi(){return(Oi=t((()=>{V(),Di=(e,t)=>t!==`zIndex`&&!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(B.test(e)||e===`0`)&&!e.startsWith(`url(`))})))()}function ki(e){let t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function Ai(e,t,n,r){let i=e[0];if(i===null)return!1;if(t===`display`||t===`visibility`)return!0;let a=e[e.length-1],o=Di(i,t),s=Di(a,t);return C(o===s,`You are trying to animate ${t} from "${i}" to "${a}". "${o?a:i}" is not an animatable value.`,`value-not-animatable`),!o||!s?!1:ki(e)||(n===`spring`||hi(n))&&r}function ji(){return(ji=t((()=>{T(),Oi()})))()}function Mi(e){e.duration=0,e.type=`keyframes`}var Ni;function Pi(){return(Pi=t((()=>{Ni=new Set([`opacity`,`clipPath`,`filter`,`transform`,`backgroundColor`])})))()}function Fi(e){for(let t=0;t<e.length;t++)if(typeof e[t]==`string`&&Ii.test(e[t]))return!0;return!1}var Ii;function Li(){return(Li=t((()=>{Ii=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/})))()}function Ri(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:a,type:o,keyframes:s}=e,c=t?.owner?.current;if(!(c instanceof HTMLElement)&&!(c instanceof SVGElement))return!1;let{onUpdate:l,transformTemplate:u}=t.owner.getProps();return Bi()&&n&&(Ni.has(n)||zi.has(n)&&Fi(s))&&(n!==`transform`||!u)&&!l&&!r&&i!==`mirror`&&a!==0&&o!==`inertia`}var zi,Bi;function Vi(){return(Vi=t((()=>{Pi(),Li(),zi=new Set([`color`,`backgroundColor`,`outlineColor`,`fill`,`stroke`,`borderColor`,`borderTopColor`,`borderRightColor`,`borderBottomColor`,`borderLeftColor`]),Bi=se(()=>Object.hasOwnProperty.call(Element.prototype,`animate`))})))()}var Hi,Ui;function Wi(){return(Wi=t((()=>{ee(),O(),at(),_r(),lr(),Jr(),Ei(),ji(),mr(),Vi(),Hi=40,Ui=class extends pr{constructor({autoplay:e=!0,delay:t=0,type:n=`keyframes`,repeat:r=0,repeatDelay:i=0,repeatType:a=`loop`,keyframes:o,name:s,motionValue:c,element:l,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=P.now();let d={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:a,name:s,motionValue:c,element:l,...u},f=l?.KeyframeResolver||qr;this.keyframeResolver=new f(o,(e,t,n)=>this.onKeyframesResolved(e,t,d,!n),s,c,l),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;let{name:i,type:a,velocity:o,delay:s,isHandoff:c,onUpdate:l}=n;this.resolvedAt=P.now();let u=!0;Ai(e,i,a,o)||(u=!1,(E.instantAnimations||!s)&&l?.(sr(e,n,t)),e[0]=e[e.length-1],Mi(n),n.repeat=0);let d={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>Hi?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},f=u&&!c&&Ri(d),p=d.motionValue?.owner?.current,m;if(f)try{m=new Ti({...d,element:p})}catch{m=new gr(d)}else m=new gr(d);m.finished.then(()=>{this.notifyFinished()}).catch(D),this.pendingTimeline&&=(this.stopTimeline=m.attachTimeline(this.pendingTimeline),void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Hr()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}})))()}function Gi(e,t,n,r=0,i=1){let a=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),o=e.size,s=(o-1)*r;return typeof n==`function`?n(a,o):i===1?a*r:s-a*r}function Ki(e,t){return new Xi(e,t)}var qi,Ji,Yi,Xi;function Zi(){return(Zi=t((()=>{pe(),ge(),at(),N(),qi=30,Ji=e=>!isNaN(parseFloat(e)),Yi={current:void 0},Xi=class{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=P.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=P.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=Ji(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on(`change`,e)}on(e,t){this.events[e]||(this.events[e]=new fe);let n=this.events[e].add(t);return e===`change`?()=>{n(),j.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||=new Set,this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return Yi.current&&Yi.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=P.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>qi)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,qi);return he(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}})))()}function Qi(e,t){if(e?.inherit&&t){let{inherit:n,...r}=e;return{...t,...r}}return e}function $i(e,t){let n=e?.[t]??e?.default??e;return n===e?n:Qi(n,e)}function ea(){return(ea=t((()=>{})))()}var ta,na,ra,ia,aa;function oa(){return(oa=t((()=>{G(),ta={type:`spring`,stiffness:500,damping:25,restSpeed:10},na=e=>({type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),ra={type:`keyframes`,duration:.8},ia={type:`keyframes`,ease:[.25,.1,.35,1],duration:.3},aa=(e,{keyframes:t})=>t.length>2?ra:Nr.has(e)?e.startsWith(`scale`)?na(t[1]):ta:ia})))()}function sa(e){for(let t in e)if(!ca.has(t))return!0;return!1}var ca;function la(){return(la=t((()=>{ca=new Set([`when`,`delay`,`delayChildren`,`staggerChildren`,`staggerDirection`,`repeat`,`repeatType`,`repeatDelay`,`from`,`elapsed`])})))()}var ua;function da(){return(da=t((()=>{me(),ee(),Wi(),_r(),ea(),oa(),lr(),la(),N(),ua=(e,t,n,r={},i,a)=>o=>{let s=$i(r,e)||{},c=s.delay||r.delay||0,{elapsed:l=0}=r;l-=k(c);let u={keyframes:Array.isArray(n)?n:[null,n],ease:`easeOut`,velocity:t.getVelocity(),...s,delay:-l,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{o(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:a?void 0:i};sa(s)||Object.assign(u,aa(e,u)),u.duration&&=k(u.duration),u.repeatDelay&&=k(u.repeatDelay),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(Mi(u),u.delay===0&&(d=!0)),(E.instantAnimations||E.skipAnimations||i?.shouldSkipAnimations||s.skipAnimations)&&(d=!0,Mi(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!a&&t.get()!==void 0){let e=sr(u.keyframes,s);if(e!==void 0){j.update(()=>{u.onUpdate(e),u.onComplete()});return}}return s.isSync?new gr(u):new Ui(u)}})))()}function fa(e){let t=ma.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}function pa(e,t,n=1){w(n<=ha,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,`max-css-var-depth`);let[r,i]=fa(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let e=a.trim();return te(e)?parseFloat(e):e}return ut(i)?pa(i,t,n+1):i}var ma,ha;function ga(){return(ga=t((()=>{T(),ne(),ft(),ma=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,ha=4})))()}function _a(e){let t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function va(e,t,n,r){if(typeof t==`function`){let[i,a]=_a(r);t=t(n===void 0?e.custom:n,i,a)}if(typeof t==`string`&&(t=e.variants&&e.variants[t]),typeof t==`function`){let[i,a]=_a(r);t=t(n===void 0?e.custom:n,i,a)}return t}function ya(e,t,n){let r=e.getProps();return va(r,t,n===void 0?r.custom:n,e)}function ba(){return(ba=t((()=>{})))()}var xa;function Sa(){return(Sa=t((()=>{G(),xa=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,...Mr])})))()}var Ca;function wa(){return(wa=t((()=>{Ca=e=>Array.isArray(e)})))()}function Ta(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ki(n))}function Ea(e){return Ca(e)?e[e.length-1]||0:e}function Da(e,t){let{transitionEnd:n={},transition:r={},...i}=ya(e,t)||{};i={...i,...n};for(let t in i)Ta(e,t,Ea(i[t]))}function Oa(){return(Oa=t((()=>{Zi(),ba(),wa()})))()}var K;function q(){return(q=t((()=>{K=e=>!!(e&&e.getVelocity)})))()}function ka(e){return!!(K(e)&&e.add)}function Aa(){return(Aa=t((()=>{q()})))()}function ja(e,t){let n=e.getValue(`willChange`);if(ka(n))return n.add(t);if(!n&&E.WillChange){let n=new E.WillChange(`auto`);e.addValue(`willChange`,n),n.add(t)}}function Ma(){return(Ma=t((()=>{ee(),Aa()})))()}function Na(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}var Pa,Fa;function Ia(){return(Ia=t((()=>{Pa=`framerAppearId`,Fa=`data-`+Na(Pa)})))()}function La(e){return e.props[Fa]}function Ra(){return(Ra=t((()=>{Ia()})))()}function za({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function Ba(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a,transitionEnd:o,...s}=t,c=e.getDefaultTransition();a=a?Qi(a,c):c;let l=a?.reduceMotion,u=a?.skipAnimations;r&&(a=r);let d=[],f=i&&e.animationState&&e.animationState.getState()[i],p=a?.path;p&&p.animateVisualElement(e,s,a,n,d);for(let t in s){let r=e.getValue(t,e.latestValues[t]??null),i=s[t];if(i===void 0||f&&za(f,t))continue;let o={delay:n,...$i(a||{},t)};u&&(o.skipAnimations=!0);let c=r.get();if(c!==void 0&&!r.isAnimating()&&!Array.isArray(i)&&i===c&&!o.velocity){j.update(()=>r.set(i));continue}let p=!1;if(window.MotionHandoffAnimation){let n=La(e);if(n){let e=window.MotionHandoffAnimation(n,t,j);e!==null&&(o.startTime=e,p=!0)}}ja(e,t);let m=l??e.shouldReduceMotion;r.start(ua(t,r,i,m&&xa.has(t)?{type:!1}:o,e,p));let h=r.animation;h&&d.push(h)}if(o){let t=()=>j.update(()=>{o&&Da(e,o)});d.length?Promise.all(d).then(t):t()}return d}function Va(){return(Va=t((()=>{ea(),Sa(),Oa(),Ma(),Ra(),da(),N()})))()}function Ha(e,t,n={}){let r=ya(e,t,n.type===`exit`?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let a=r?()=>Promise.all(Ba(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:a=0,staggerChildren:o,staggerDirection:s}=i;return Ua(e,t,r,a,o,s,n)}:()=>Promise.resolve(),{when:s}=i;if(s){let[e,t]=s===`beforeChildren`?[a,o]:[o,a];return e().then(()=>t())}return Promise.all([a(),o(n.delay)])}function Ua(e,t,n=0,r=0,i=0,a=1,o){let s=[];for(let c of e.variantChildren)c.notify(`AnimationStart`,t),s.push(Ha(c,t,{...o,delay:n+(typeof r==`function`?0:r)+Gi(e.variantChildren,c,r,i,a)}).then(()=>c.notify(`AnimationComplete`,t)));return Promise.all(s)}function Wa(){return(Wa=t((()=>{ba(),Va()})))()}function Ga(e,t,n={}){e.notify(`AnimationStart`,t);let r;if(Array.isArray(t)){let i=t.map(t=>Ha(e,t,n));r=Promise.all(i)}else if(typeof t==`string`)r=Ha(e,t,n);else{let i=typeof t==`function`?ya(e,t,n.custom):t;r=Promise.all(Ba(e,i,n))}return r.then(()=>{e.notify(`AnimationComplete`,t)})}function Ka(){return(Ka=t((()=>{ba(),Va(),Wa()})))()}var qa;function Ja(){return(Ja=t((()=>{qa={test:e=>e===`auto`,parse:e=>e}})))()}var Ya;function Xa(){return(Xa=t((()=>{Ya=e=>t=>t.test(e)})))()}var Za,Qa;function $a(){return($a=t((()=>{Ja(),gt(),R(),Xa(),Za=[pt,L,I,F,It,Ft,qa],Qa=e=>Za.find(Ya(e))})))()}function eo(e){return typeof e==`number`?e===0:e===null||e===`none`||e===`0`||ae(e)}function to(){return(to=t((()=>{oe()})))()}function no(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(yt)||[];if(!r)return e;let i=n.replace(r,``),a=+!!ro.has(t);return r!==n&&(a*=100),t+`(`+a+i+`)`}var ro,io,ao;function oo(){return(oo=t((()=>{V(),bt(),ro=new Set([`brightness`,`contrast`,`saturate`,`opacity`]),io=/\b([a-z-]*)\(.*?\)/gu,ao={...B,getAnimatableNone:e=>{let t=e.match(io);return t?t.map(no).join(` `):e}}})))()}var so;function co(){return(co=t((()=>{V(),so={...B,getAnimatableNone:e=>{let t=B.parse(e);return B.createTransformer(e)(t.map(e=>typeof e==`number`?0:typeof e==`object`?{...e,alpha:1}:e))}}})))()}var lo;function uo(){return(uo=t((()=>{gt(),lo={...pt,transform:Math.round}})))()}var fo;function po(){return(po=t((()=>{gt(),R(),fo={rotate:F,pathRotation:F,rotateX:F,rotateY:F,rotateZ:F,scale:ht,scaleX:ht,scaleY:ht,scaleZ:ht,skew:F,skewX:F,skewY:F,distance:L,translateX:L,translateY:L,translateZ:L,x:L,y:L,z:L,perspective:L,transformPerspective:L,opacity:mt,originX:Lt,originY:Lt,originZ:L}})))()}var mo;function ho(){return(ho=t((()=>{uo(),gt(),R(),po(),mo={borderWidth:L,borderTopWidth:L,borderRightWidth:L,borderBottomWidth:L,borderLeftWidth:L,borderRadius:L,borderTopLeftRadius:L,borderTopRightRadius:L,borderBottomRightRadius:L,borderBottomLeftRadius:L,width:L,maxWidth:L,height:L,maxHeight:L,top:L,right:L,bottom:L,left:L,inset:L,insetBlock:L,insetBlockStart:L,insetBlockEnd:L,insetInline:L,insetInlineStart:L,insetInlineEnd:L,padding:L,paddingTop:L,paddingRight:L,paddingBottom:L,paddingLeft:L,paddingBlock:L,paddingBlockStart:L,paddingBlockEnd:L,paddingInline:L,paddingInlineStart:L,paddingInlineEnd:L,margin:L,marginTop:L,marginRight:L,marginBottom:L,marginLeft:L,marginBlock:L,marginBlockStart:L,marginBlockEnd:L,marginInline:L,marginInlineStart:L,marginInlineEnd:L,fontSize:L,backgroundPositionX:L,backgroundPositionY:L,...fo,zIndex:lo,fillOpacity:mt,strokeOpacity:mt,numOctaves:lo}})))()}var go,_o;function vo(){return(vo=t((()=>{Bt(),oo(),co(),ho(),go={...mo,color:z,backgroundColor:z,outlineColor:z,fill:z,stroke:z,borderColor:z,borderTopColor:z,borderRightColor:z,borderBottomColor:z,borderLeftColor:z,filter:ao,WebkitFilter:ao,mask:so,WebkitMask:so},_o=e=>go[e]})))()}function yo(e,t){let n=_o(e);return bo.has(n)||(n=B),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var bo;function xo(){return(xo=t((()=>{V(),oo(),co(),vo(),bo=new Set([ao,so])})))()}function So(e,t,n){let r=0,i;for(;r<e.length&&!i;){let t=e[r];typeof t==`string`&&!Co.has(t)&&Wt(t).values.length&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]=yo(n,i)}var Co;function wo(){return(wo=t((()=>{V(),xo(),Co=new Set([`auto`,`none`,`0`])})))()}var To;function Eo(){return(Eo=t((()=>{Sa(),$a(),ga(),ft(),Jr(),to(),wo(),zr(),To=class extends qr{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if(typeof r==`string`&&(r=r.trim(),ut(r))){let i=pa(r,t.current);i!==void 0&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!xa.has(n)||e.length!==2)return;let[r,i]=e,a=Qa(r),o=Qa(i);if(ot(r)!==ot(i)&&Rr[n]){this.needsMeasurement=!0;return}if(a!==o){if(Fr(a)&&Fr(o))for(let t=0;t<e.length;t++){let n=e[t];typeof n==`string`&&(e[t]=parseFloat(n))}else Rr[n]&&(this.needsMeasurement=!0)}}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(e[t]===null||eo(e[t]))&&n.push(t);n.length&&So(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;n===`height`&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Rr[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];r!==void 0&&e.getValue(n,r).jump(r,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);let i=n.length-1,a=n[i];n[i]=Rr[t](e.measureViewportBox(),window.getComputedStyle(e.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),this.removedTransforms?.length&&this.removedTransforms.forEach(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}}})))()}var Do;function Oo(){return(Oo=t((()=>{Do=[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomRightRadius`,`borderBottomLeftRadius`]})))()}function ko(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e==`string`){let r=document;t&&(r=t.current);let i=n?.[e]??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>e!=null)}var Ao;function jo(){return(jo=t((()=>{Ao=(e,t)=>t&&typeof e==`number`?t.transform(e):e})))()}function Mo(e){return re(e)&&`offsetHeight`in e&&!(`ownerSVGElement`in e)}function No(){return(No=t((()=>{ie()})))()}var Po,Fo;function Io(){return(Io=t((()=>{et(),{schedule:Po,cancel:Fo}=Qe(queueMicrotask,!1)})))()}function Lo(){return J.x||J.y}var J;function Ro(){return(Ro=t((()=>{J={x:!1,y:!1}})))()}function zo(e){return e===`x`||e===`y`?J[e]?null:(J[e]=!0,()=>{J[e]=!1}):J.x||J.y?null:(J.x=J.y=!0,()=>{J.x=J.y=!1})}function Bo(){return(Bo=t((()=>{Ro()})))()}function Vo(e,t){let n=ko(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function Ho(){return(Ho=t((()=>{})))()}function Uo(e){return!(e.pointerType===`touch`||Lo())}function Wo(e,t,n={}){let[r,i,a]=Vo(e,n);return r.forEach(e=>{let n=!1,r=!1,a,o=()=>{e.removeEventListener(`pointerleave`,u)},s=e=>{a&&=(a(e),void 0),o()},c=e=>{n=!1,window.removeEventListener(`pointerup`,c),window.removeEventListener(`pointercancel`,c),r&&(r=!1,s(e))},l=()=>{n=!0,window.addEventListener(`pointerup`,c,i),window.addEventListener(`pointercancel`,c,i)},u=e=>{if(e.pointerType!==`touch`){if(n){r=!0;return}s(e)}};e.addEventListener(`pointerenter`,n=>{if(!Uo(n))return;r=!1;let o=t(e,n);typeof o==`function`&&(a=o,e.addEventListener(`pointerleave`,u,i))},i),e.addEventListener(`pointerdown`,l,i)}),a}function Go(){return(Go=t((()=>{Ro(),Ho()})))()}var Ko;function qo(){return(qo=t((()=>{Ko=(e,t)=>t?e===t||Ko(e,t.parentElement):!1})))()}var Jo;function Yo(){return(Yo=t((()=>{Jo=e=>e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1})))()}function Xo(e){return Qo.has(e.tagName)||e.isContentEditable===!0}function Zo(e){return $o.has(e.tagName)||e.isContentEditable===!0}var Qo,$o;function es(){return(es=t((()=>{Qo=new Set([`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`,`A`]),$o=new Set([`INPUT`,`SELECT`,`TEXTAREA`])})))()}var ts;function ns(){return(ns=t((()=>{ts=new WeakSet})))()}function rs(e){return t=>{t.key===`Enter`&&e(t)}}function is(e,t){e.dispatchEvent(new PointerEvent(`pointer`+t,{isPrimary:!0,bubbles:!0}))}var as;function os(){return(os=t((()=>{ns(),as=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=rs(()=>{if(ts.has(n))return;is(n,`down`);let e=rs(()=>{is(n,`up`)});n.addEventListener(`keyup`,e,t),n.addEventListener(`blur`,()=>is(n,`cancel`),t)});n.addEventListener(`keydown`,r,t),n.addEventListener(`blur`,()=>n.removeEventListener(`keydown`,r),t)}})))()}function ss(e){return Jo(e)&&!Lo()}function cs(e,t,n={}){let[r,i,a]=Vo(e,n),o=e=>{let r=e.currentTarget;if(!ss(e)||ls.has(e))return;ts.add(r),n.stopPropagation&&ls.add(e);let a=t(r,e),o={...i,capture:!0},s=(e,t)=>{window.removeEventListener(`pointerup`,c,o),window.removeEventListener(`pointercancel`,l,o),ts.has(r)&&ts.delete(r),ss(e)&&typeof a==`function`&&a(e,{success:t})},c=e=>{s(e,r===window||r===document||n.useGlobalTarget||Ko(r,e.target))},l=e=>{s(e,!1)};window.addEventListener(`pointerup`,c,o),window.addEventListener(`pointercancel`,l,o)};return r.forEach(e=>{(n.useGlobalTarget?window:e).addEventListener(`pointerdown`,o,i),Mo(e)&&(e.addEventListener(`focus`,e=>as(e,i)),!Xo(e)&&!e.hasAttribute(`tabindex`)&&(e.tabIndex=0))}),a}var ls;function us(){return(us=t((()=>{No(),Ro(),qo(),Yo(),Ho(),es(),os(),ns(),ls=new WeakSet})))()}function ds(e){return re(e)&&`ownerSVGElement`in e}function fs(){return(fs=t((()=>{ie()})))()}function ps({target:e,borderBoxSize:t}){_s.get(e)?.forEach(n=>{n(e,{get width(){return bs(e,t)},get height(){return xs(e,t)}})})}function ms(e){e.forEach(ps)}function hs(){typeof ResizeObserver>`u`||(vs=new ResizeObserver(ms))}function gs(e,t){vs||hs();let n=ko(e);return n.forEach(e=>{let n=_s.get(e);n||(n=new Set,_s.set(e,n)),n.add(t),vs?.observe(e)}),()=>{n.forEach(e=>{let n=_s.get(e);n?.delete(t),n?.size||vs?.unobserve(e)})}}var _s,vs,ys,bs,xs;function Ss(){return(Ss=t((()=>{fs(),_s=new WeakMap,ys=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+`Size`]:ds(r)&&`getBBox`in r?r.getBBox()[t]:r[n],bs=ys(`inline`,`width`,`offsetWidth`),xs=ys(`block`,`height`,`offsetHeight`)})))()}function Cs(){Es=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};Ts.forEach(t=>t(e))},window.addEventListener(`resize`,Es)}function ws(e){return Ts.add(e),Es||Cs(),()=>{Ts.delete(e),!Ts.size&&typeof Es==`function`&&(window.removeEventListener(`resize`,Es),Es=void 0)}}var Ts,Es;function Ds(){return(Ds=t((()=>{Ts=new Set})))()}function Os(e,t){return typeof e==`function`?ws(e):gs(e,t)}function ks(){return(ks=t((()=>{Ss(),Ds()})))()}var As;function js(){return(js=t((()=>{As={value:null,addProjectionMetrics:null}})))()}function Ms(e){return ds(e)&&e.tagName===`svg`}function Ns(){return(Ns=t((()=>{fs()})))()}var Ps,Fs;function Is(){return(Is=t((()=>{Bt(),V(),$a(),Xa(),Ps=[...Za,z,B],Fs=e=>Ps.find(Ya(e))})))()}var Ls,Rs,zs,Y;function Bs(){return(Bs=t((()=>{Ls=()=>({translate:0,scale:1,origin:0,originPoint:0}),Rs=()=>({x:Ls(),y:Ls()}),zs=()=>({min:0,max:0}),Y=()=>({x:zs(),y:zs()})})))()}var Vs;function Hs(){return(Hs=t((()=>{Vs=new WeakMap})))()}function Us(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}function Ws(e){return typeof e==`string`||Array.isArray(e)}var Gs,Ks;function qs(){return(qs=t((()=>{Gs=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`],Ks=[`initial`,...Gs]})))()}function Js(e){return Us(e.animate)||Ks.some(t=>Ws(e[t]))}function Ys(e){return!!(Js(e)||e.variants)}function Xs(){return(Xs=t((()=>{qs()})))()}function Zs(e,t,n){for(let r in t){let i=t[r],a=n[r];if(K(i))e.addValue(r,i);else if(K(a))e.addValue(r,Ki(i,{owner:e}));else if(a!==i){if(e.hasValue(r)){let t=e.getValue(r);t.liveStyle===!0?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,Ki(t===void 0?i:t,{owner:e}))}}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}function Qs(){return(Qs=t((()=>{Zi(),q()})))()}var $s,ec;function tc(){return(tc=t((()=>{$s={current:null},ec={current:!1}})))()}function nc(){if(ec.current=!0,rc){if(window.matchMedia){let e=window.matchMedia(`(prefers-reduced-motion)`),t=()=>$s.current=e.matches;e.addEventListener(`change`,t),t()}else $s.current=!1}}var rc;function ic(){return(ic=t((()=>{tc(),rc=typeof window<`u`})))()}function ac(e){cc=e}function oc(){return cc}var sc,cc,lc;function uc(){return(uc=t((()=>{me(),ne(),oe(),pe(),Jr(),yi(),Pi(),Io(),at(),Bs(),Zi(),V(),xo(),Is(),q(),Hs(),Xs(),G(),Qs(),ic(),tc(),N(),sc=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],cc={},lc=class{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,skipAnimations:i,blockInitialAnimation:a,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=qr,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify(`Update`,this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=P.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,j.render(this.render,!1,!0))};let{latestValues:c,renderState:l}=o;this.latestValues=c,this.baseTarget={...c},this.initialValues=t.initial?{...c}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=i,this.options=s,this.blockInitialAnimation=!!a,this.isControllingVariants=Js(t),this.isVariantNode=Ys(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];c[e]!==void 0&&K(t)&&t.set(c[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,Vs.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),this.reducedMotionConfig===`never`?this.shouldReduceMotion=!1:this.reducedMotionConfig===`always`?this.shouldReduceMotion=!0:(ec.current||nc(),this.shouldReduceMotion=$s.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),tt(this.notifyUpdate),tt(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let e in this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??=new Set,this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&Ni.has(e)&&this.current instanceof HTMLElement){let{factory:n,keyframes:r,times:i,ease:a,duration:o}=t.accelerate,s=new vi({element:this.current,name:e,keyframes:r,times:i,ease:a,duration:k(o)}),c=n(s);this.valueSubscriptions.set(e,()=>{c(),s.cancel()});return}let n=Nr.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on(`change`,t=>{this.latestValues[e]=t,this.props.onUpdate&&j.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),i;typeof window<`u`&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i&&i()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e=`animation`;for(e in cc){let t=cc[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Y()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<sc.length;t++){let n=sc[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e[`on`+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=Zs(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&t!==void 0&&(n=Ki(t===null?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return n!=null&&(typeof n==`string`&&(te(n)||ae(n))?n=parseFloat(n):!Fs(n)&&B.test(t)&&(n=yo(e,t)),this.setBaseTarget(e,K(n)?n.get():n)),K(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let{initial:t}=this.props,n;if(typeof t==`string`||typeof t==`object`){let r=va(this.props,t,this.presenceContext?.custom);r&&(n=r[e])}if(t&&n!==void 0)return n;let r=this.getBaseTargetFromProps(this.props,e);return r!==void 0&&!K(r)?r:this.initialValues[e]!==void 0&&n===void 0?void 0:this.baseTarget[e]}on(e,t){return this.events[e]||(this.events[e]=new fe),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){Po.render(this.render)}}})))()}var dc;function fc(){return(fc=t((()=>{q(),Eo(),uc(),dc=class extends lc{constructor(){super(...arguments),this.KeyframeResolver=To}sortInstanceNodePosition(e,t){return e.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(e,t){let n=e.style;return n?n[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;K(e)&&(this.childSubscription=e.on(`change`,e=>{this.current&&(this.current.textContent=`${e}`)}))}}})))()}var pc;function mc(){return(mc=t((()=>{pc=class{constructor(e){this.isMounted=!1,this.node=e}update(){}}})))()}function hc({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function gc({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function _c(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function vc(e){return e===void 0||e===1}function yc({scale:e,scaleX:t,scaleY:n}){return!vc(e)||!vc(t)||!vc(n)}function bc(e){return yc(e)||xc(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function xc(e){return Sc(e.x)||Sc(e.y)}function Sc(e){return e&&e!==`0%`}function Cc(e,t,n){return n+t*(e-n)}function wc(e,t,n,r,i){return i!==void 0&&(e=Cc(e,i,r)),Cc(e,n,r)+t}function Tc(e,t=0,n=1,r,i){e.min=wc(e.min,t,n,r,i),e.max=wc(e.max,t,n,r,i)}function Ec(e,{x:t,y:n}){Tc(e.x,t.translate,t.scale,t.originPoint),Tc(e.y,n.translate,n.scale,n.originPoint)}function Dc(e,t,n,r=!1){let i=n.length;if(!i)return;t.x=t.y=1;let a,o;for(let s=0;s<i;s++){a=n[s],o=a.projectionDelta;let{visualElement:i}=a.options;i&&i.props.style&&i.props.style.display===`contents`||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&(X(e.x,-a.scroll.offset.x),X(e.y,-a.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,Ec(e,o)),r&&bc(a.latestValues)&&Ac(e,a.latestValues,a.layout?.layoutBox))}t.x<Mc&&t.x>jc&&(t.x=1),t.y<Mc&&t.y>jc&&(t.y=1)}function X(e,t){e.min+=t,e.max+=t}function Oc(e,t,n,r,i=.5){Tc(e,t,n,H(e.min,e.max,i),r)}function kc(e,t){return typeof e==`string`?parseFloat(e)/100*(t.max-t.min):e}function Ac(e,t,n){let r=n??e;Oc(e.x,kc(t.x,r.x),t.scaleX,t.scale,t.originX),Oc(e.y,kc(t.y,r.y),t.scaleY,t.scale,t.originY)}var jc,Mc;function Nc(){return(Nc=t((()=>{U(),jc=.999999999999,Mc=1.0000000000001})))()}function Pc(e,t){return hc(_c(e.getBoundingClientRect(),t))}function Fc(e,t,n){let r=Pc(e,n),{scroll:i}=t;return i&&(X(r.x,i.offset.x),X(r.y,i.offset.y)),r}function Ic(){return(Ic=t((()=>{Nc()})))()}function Lc(e,t,n){let r=``,i=!0;for(let a=0;a<zc;a++){let o=Mr[a],s=e[o];if(s===void 0)continue;let c=!0;if(typeof s==`number`)c=s===+!!o.startsWith(`scale`);else{let e=parseFloat(s);c=o.startsWith(`scale`)?e===1:e===0}if(!c||n){let e=Ao(s,mo[o]);if(!c){i=!1;let t=Rc[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}let a=e.pathRotation;return a&&(i=!1,r+=`rotate(${Ao(a,mo.pathRotation)}) `),r=r.trim(),n?r=n(t,i?``:r):i&&(r=`none`),r}var Rc,zc;function Bc(){return(Bc=t((()=>{jo(),ho(),G(),Rc={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},zc=Mr.length})))()}function Vc(e,t,n){let{style:r,vars:i,transformOrigin:a}=e,o=!1,s=!1;for(let e in t){let n=t[e];if(Nr.has(e)){o=!0;continue}if(ct(e)){i[e]=n;continue}{let t=Ao(n,mo[e]);e.startsWith(`origin`)?(s=!0,a[e]=t):r[e]=t}}if(t.transform||(o||n?r.transform=Lc(t,e.transform,n):r.transform&&=`none`),s){let{originX:e=`50%`,originY:t=`50%`,originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}function Hc(){return(Hc=t((()=>{jo(),ho(),G(),ft(),Bc()})))()}function Uc(e,{style:t,vars:n},r,i){let a=e.style,o;for(o in t)a[o]=t[o];for(o in i?.applyProjectionStyles(a,r),n)a.setProperty(o,n[o])}function Wc(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var Gc;function Kc(){return(Kc=t((()=>{R(),Gc={correct:(e,t)=>{if(!t.target)return e;if(typeof e==`string`){if(L.test(e))e=parseFloat(e);else return e}return`${Wc(e,t.target.x)}% ${Wc(e,t.target.y)}%`}}})))()}var qc;function Jc(){return(Jc=t((()=>{V(),U(),qc={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=B.parse(e);if(i.length>5)return r;let a=B.createTransformer(e),o=typeof i[0]==`number`?0:1,s=n.x.scale*t.x,c=n.y.scale*t.y;i[0+o]/=s,i[1+o]/=c;let l=H(s,c,.5);return typeof i[2+o]==`number`&&(i[2+o]/=l),typeof i[3+o]==`number`&&(i[3+o]/=l),a(i)}}})))()}var Yc;function Xc(){return(Xc=t((()=>{Oo(),Kc(),Jc(),Yc={borderRadius:{...Gc,applyTo:[...Do]},borderTopLeftRadius:Gc,borderTopRightRadius:Gc,borderBottomLeftRadius:Gc,borderBottomRightRadius:Gc,boxShadow:qc}})))()}function Zc(e,{layout:t,layoutId:n}){return Nr.has(e)||e.startsWith(`origin`)||(t||n!==void 0)&&(!!Yc[e]||e===`opacity`)}function Qc(){return(Qc=t((()=>{G(),Xc()})))()}function $c(e,t,n){let r=e.style,i=t?.style,a={};if(!r)return a;for(let t in r)(K(r[t])||i&&K(i[t])||Zc(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(a[t]=r[t]);return a}function el(){return(el=t((()=>{q(),Qc()})))()}function tl(e){return window.getComputedStyle(e)}var nl;function rl(){return(rl=t((()=>{T(),ft(),G(),jr(),Ic(),fc(),Hc(),el(),nl=class extends dc{constructor(){super(...arguments),this.type=`html`,this.renderInstance=Uc}mount(e){w(!!e.style,`motion.create() components must forward their ref to a HTML or SVG element`,`custom-component-ref`),super.mount(e)}readValueFromInstance(e,t){if(Nr.has(t))return this.projection?.isProjecting?yr(t):Ar(e,t);{let n=tl(e),r=(ct(t)?n.getPropertyValue(t):n[t])||0;return typeof r==`string`?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return Pc(e,t)}build(e,t,n){Vc(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return $c(e,t,n)}}})))()}function il(e,t,n=1,r=0,i=!0){e.pathLength=1;let a=i?al:ol;e[a.offset]=`${-r}`,e[a.array]=`${t} ${n}`}var al,ol;function sl(){return(sl=t((()=>{al={offset:`stroke-dashoffset`,array:`stroke-dasharray`},ol={offset:`strokeDashoffset`,array:`strokeDasharray`}})))()}function cl(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s},c,l,u){if(Vc(e,s,l),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:f}=e;for(let e of ll)d[e]!==void 0&&(f[e]=d[e],delete d[e]);(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??`50% 50%`,delete d.transformOrigin),f.transform&&(f.transformBox=u?.transformBox??`fill-box`,delete d.transformBox),t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&il(d,i,a,o,!1)}var ll;function ul(){return(ul=t((()=>{Hc(),sl(),ll=[`transform`,`opacity`,`offsetDistance`,`offsetPath`,`offsetRotate`,`offsetAnchor`]})))()}var dl;function fl(){return(fl=t((()=>{dl=new Set([`baseFrequency`,`diffuseConstant`,`kernelMatrix`,`kernelUnitLength`,`keySplines`,`keyTimes`,`limitingConeAngle`,`markerHeight`,`markerWidth`,`numOctaves`,`targetX`,`targetY`,`surfaceScale`,`specularConstant`,`specularExponent`,`stdDeviation`,`tableValues`,`viewBox`,`gradientTransform`,`pathLength`,`startOffset`,`textLength`,`lengthAdjust`])})))()}var pl;function ml(){return(ml=t((()=>{pl=e=>typeof e==`string`&&e.toLowerCase()===`svg`})))()}function hl(e,t,n,r){Uc(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(dl.has(n)?n:Na(n),t.attrs[n])}function gl(){return(gl=t((()=>{fl()})))()}function _l(e,t,n){let r=$c(e,t,n);for(let n in e)if(K(e[n])||K(t[n])){let t=Mr.indexOf(n)===-1?n:`attr`+n.charAt(0).toUpperCase()+n.substring(1);r[t]=e[n]}return r}function vl(){return(vl=t((()=>{q(),G(),el()})))()}var yl;function bl(){return(bl=t((()=>{G(),vo(),Bs(),fc(),ul(),fl(),ml(),gl(),vl(),yl=class extends dc{constructor(){super(...arguments),this.type=`svg`,this.isSVGTag=!1,this.measureInstanceViewportBox=Y}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Nr.has(t)){let e=_o(t);return e&&e.default||0}if(ll.includes(t)){let n=getComputedStyle(e)[t];if(typeof n==`string`&&n)return n.trim()}return t=dl.has(t)?t:Na(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return _l(e,t,n)}build(e,t,n){cl(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){hl(e,t,n,r)}mount(e){this.isSVGTag=pl(e.tagName),super.mount(e)}}})))()}function xl(e){if(!e)return;if(!e.isControllingVariants){let t=e.parent&&xl(e.parent)||{};return e.props.initial!==void 0&&(t.initial=e.props.initial),t}let t={};for(let n=0;n<Sl;n++){let r=Ks[n],i=e.props[r];(Ws(i)||i===!1)&&(t[r]=i)}return t}var Sl;function Cl(){return(Cl=t((()=>{qs(),Sl=Ks.length})))()}function wl(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function Tl(e){return t=>Promise.all(t.map(({animation:t,options:n})=>Ga(e,t,n)))}function El(e){let t=Tl(e),n=kl(),r=!0,i=!1,a=t=>(n,r)=>{let i=ya(e,r,t===`exit`?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function o(n){t=n(e)}function s(o){let{props:s}=e,c=xl(e.parent)||{},l=[],u=new Set,d={},f=1/0;for(let t=0;t<jl;t++){let p=Al[t],m=n[p],h=s[p]===void 0?c[p]:s[p],g=Ws(h),_=p===o?m.isActive:null;_===!1&&(f=t);let v=h===c[p]&&h!==s[p]&&g;if(v&&(r||i)&&e.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...d},!m.isActive&&_===null||!h&&!m.prevProp||Us(h)||typeof h==`boolean`)continue;if(p===`exit`&&m.isActive&&_!==!0){m.prevResolvedValues&&(d={...d,...m.prevResolvedValues});continue}let y=Dl(m.prevProp,h),b=y||p===o&&m.isActive&&!v&&g||t>f&&g,x=!1,S=Array.isArray(h)?h:[h],C=S.reduce(a(p),{});_===!1&&(C={});let{prevResolvedValues:w={}}=m,T={...w,...C},E=t=>{b=!0,u.has(t)&&(x=!0,u.delete(t)),m.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in T){let t=C[e],n=w[e];if(d.hasOwnProperty(e))continue;let r=!1;r=Ca(t)&&Ca(n)?!wl(t,n)||y:t!==n,r?t==null?u.add(e):E(e):t!==void 0&&u.has(e)?E(e):m.protectedKeys[e]=!0}m.prevProp=h,m.prevResolvedValues=C,m.isActive&&(d={...d,...C}),(r||i)&&e.blockInitialAnimation&&(b=!1);let ee=v&&y;b&&(!ee||x)&&l.push(...S.map(t=>{let n={type:p};if(typeof t==`string`&&(r||i)&&!ee&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,i=ya(r,t);if(r.enteringChildren&&i){let{delayChildren:t}=i.transition||{};n.delay=Gi(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(u.size){let t={};if(typeof s.initial!=`boolean`){let n=ya(e,Array.isArray(s.initial)?s.initial[0]:s.initial);n&&n.transition&&(t.transition=n.transition)}u.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=r??null}),l.push({animation:t})}let p=!!l.length;return r&&(s.initial===!1||s.initial===s.animate)&&!e.manuallyAnimateOnMount&&(p=!1),r=!1,i=!1,p?t(l):Promise.resolve()}function c(t,r){if(n[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),n[t].isActive=r;let i=s(t);for(let e in n)n[e].protectedKeys={};return i}return{animateChanges:s,setActive:c,setAnimateFunction:o,getState:()=>n,reset:()=>{n=kl(),i=!0}}}function Dl(e,t){return typeof t==`string`?t!==e:Array.isArray(t)?!wl(t,e):!1}function Ol(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function kl(){return{animate:Ol(!0),whileInView:Ol(),whileHover:Ol(),whileTap:Ol(),whileDrag:Ol(),whileFocus:Ol(),exit:Ol()}}var Al,jl;function Ml(){return(Ml=t((()=>{Ka(),Cl(),wa(),ba(),qs(),Al=[...Gs].reverse(),jl=Gs.length})))()}function Nl(e,t){e.min=t.min,e.max=t.max}function Z(e,t){Nl(e.x,t.x),Nl(e.y,t.y)}function Pl(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Q(e){return e.max-e.min}function Fl(e,t,n){return Math.abs(e-t)<=n}function Il(e,t,n,r=.5){e.origin=r,e.originPoint=H(t.min,t.max,e.origin),e.scale=Q(n)/Q(t),e.translate=H(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Hl&&e.scale<=Ul||isNaN(e.scale))&&(e.scale=1),(e.translate>=Wl&&e.translate<=Gl||isNaN(e.translate))&&(e.translate=0)}function Ll(e,t,n,r){Il(e.x,t.x,n.x,r?r.originX:void 0),Il(e.y,t.y,n.y,r?r.originY:void 0)}function Rl(e,t,n,r=0){e.min=(r?H(n.min,n.max,r):n.min)+t.min,e.max=e.min+Q(t)}function zl(e,t,n,r){Rl(e.x,t.x,n.x,r?.x),Rl(e.y,t.y,n.y,r?.y)}function Bl(e,t,n,r=0){let i=r?H(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+Q(t)}function Vl(e,t,n,r){Bl(e.x,t.x,n.x,r?.x),Bl(e.y,t.y,n.y,r?.y)}var Hl,Ul,Wl,Gl;function Kl(){return(Kl=t((()=>{U(),Hl=.9999,Ul=1.0001,Wl=-.01,Gl=.01})))()}function ql(e,t,n,r,i){return e-=t,e=Cc(e,1/n,r),i!==void 0&&(e=Cc(e,1/i,r)),e}function Jl(e,t=0,n=1,r=.5,i,a=e,o=e){if(I.test(t)&&(t=parseFloat(t),t=H(o.min,o.max,t/100)-o.min),typeof t!=`number`)return;let s=H(a.min,a.max,r);e===a&&(s-=t),e.min=ql(e.min,t,n,s,i),e.max=ql(e.max,t,n,s,i)}function Yl(e,t,[n,r,i],a,o){Jl(e,t[n],t[r],t[i],t.scale,a,o)}function Xl(e,t,n,r){Yl(e.x,t,Zl,n?n.x:void 0,r?r.x:void 0),Yl(e.y,t,Ql,n?n.y:void 0,r?r.y:void 0)}var Zl,Ql;function $l(){return($l=t((()=>{U(),R(),Nc(),Zl=[`x`,`scaleX`,`originX`],Ql=[`y`,`scaleY`,`originY`]})))()}function eu(e){return e.translate===0&&e.scale===1}function tu(e){return eu(e.x)&&eu(e.y)}function nu(e,t){return e.min===t.min&&e.max===t.max}function ru(e,t){return nu(e.x,t.x)&&nu(e.y,t.y)}function iu(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function au(e,t){return iu(e.x,t.x)&&iu(e.y,t.y)}function ou(e){return Q(e.x)/Q(e.y)}function su(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function cu(){return(cu=t((()=>{Kl()})))()}function lu(e){return[e(`x`),e(`y`)]}function uu(e,t,n){let r=``,i=e.x.translate/t.x,a=e.y.translate/t.y,o=n?.z||0;if((i||a||o)&&(r=`translate3d(${i}px, ${a}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,pathRotation:i,rotateX:a,rotateY:o,skewX:s,skewY:c}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotate(${i}deg) `),a&&(r+=`rotateX(${a}deg) `),o&&(r+=`rotateY(${o}deg) `),s&&(r+=`skewX(${s}deg) `),c&&(r+=`skewY(${c}deg) `)}let s=e.x.scale*t.x,c=e.y.scale*t.y;return(s!==1||c!==1)&&(r+=`scale(${s}, ${c})`),r||`none`}function du(e,t,n,r,i,a){i?(e.opacity=H(0,n.opacity??1,_u(r)),e.opacityExit=H(t.opacity??1,0,vu(r))):a&&(e.opacity=H(t.opacity??1,n.opacity??1,r));for(let i=0;i<mu;i++){let a=Do[i],o=fu(t,a),s=fu(n,a);(o!==void 0||s!==void 0)&&(o||=0,s||=0,o===0||s===0||gu(o)===gu(s)?(e[a]=Math.max(H(hu(o),hu(s),r),0),(I.test(s)||I.test(o))&&(e[a]+=`%`)):e[a]=s)}(t.rotate||n.rotate)&&(e.rotate=H(t.rotate||0,n.rotate||0,r))}function fu(e,t){return e[t]===void 0?e.borderRadius:e[t]}function pu(e,t,n){return r=>r<e?0:r>t?1:n(ue(e,t,r))}var mu,hu,gu,_u,vu;function yu(){return(yu=t((()=>{U(),R(),de(),Ie(),O(),Oo(),mu=Do.length,hu=e=>typeof e==`string`?parseFloat(e):e,gu=e=>typeof e==`number`||L.test(e),_u=pu(0,.5,Pe),vu=pu(.5,.95,D)})))()}function bu(e,t,n){let r=K(e)?e:Ki(e);return r.start(ua(``,r,t,n)),r.animation}function xu(){return(xu=t((()=>{da(),Zi(),q()})))()}function Su(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}var Cu;function wu(){return(wu=t((()=>{Cu=(e,t)=>e.depth-t.depth})))()}var Tu;function Eu(){return(Eu=t((()=>{wu(),Tu=class{constructor(){this.children=[],this.isDirty=!1}add(e){y(this.children,e),this.isDirty=!0}remove(e){b(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Cu),this.isDirty=!1,this.children.forEach(e)}}})))()}function Du(e,t){let n=P.now(),r=({timestamp:i})=>{let a=i-n;a>=t&&(tt(r),e(a-t))};return j.setup(r,!0),()=>tt(r)}function Ou(){return(Ou=t((()=>{at(),N()})))()}function ku(e){return K(e)?e.get():e}function Au(){return(Au=t((()=>{q()})))()}var ju;function Mu(){return(Mu=t((()=>{ju=class{constructor(){this.members=[]}add(e){y(this.members,e);for(let t=this.members.length-1;t>=0;t--){let n=this.members[t];if(n===e||n===this.lead||n===this.prevLead)continue;let r=n.instance;(!r||r.isConnected===!1)&&!n.snapshot&&(b(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(b(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(e.isPresent!==!1&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.updateSnapshot(),e.scheduleRender();let{layoutDependency:r}=n.options,{layoutDependency:i}=e.options;(r===void 0||r!==i)&&(e.resumeFrom=n,t&&(n.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),e.options.crossfade===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}})))()}var Nu;function Pu(){return(Pu=t((()=>{Nu={hasAnimatedSinceResize:!0,hasEverUpdated:!1}})))()}function Fu(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Iu(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=La(t);if(window.MotionHasOptimisedAnimation(n,`transform`)){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,`transform`,j,!(t||r))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Iu(r)}function Lu({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=ud++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,As.value&&(sd.nodes=sd.calculatedTargetDeltas=sd.calculatedProjections=0),this.nodes.forEach(Bu),this.nodes.forEach(Yu),this.nodes.forEach(Xu),this.nodes.forEach(Vu),As.addProjectionMetrics&&As.addProjectionMetrics(sd)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new Tu)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new fe),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=ds(t)&&!Ms(t),this.instance=t;let{layoutId:n,layout:r,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||n)&&(this.isLayoutDirty=!0),e){let n,r=0,i=()=>this.root.updateBlockedByResize=!1;j.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=Du(i,250),Nu.hasAnimatedSinceResize&&(Nu.hasAnimatedSinceResize=!1,this.nodes.forEach(Ju)))})}n&&this.root.registerSharedNode(n,this),this.options.animate!==!1&&i&&(n||r)&&this.addEventListener(`didUpdate`,({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let a=this.options.transition||i.getDefaultTransition()||dd,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=i.getProps(),c=!this.targetLayout||!au(this.targetLayout,r),l=!t&&n;if(this.options.layoutRoot||this.resumeFrom||l||t&&(c||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...$i(a,`layout`),onPlay:o,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,l,t.path)}else t||Ju(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),tt(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Zu),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Iu(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,(typeof t.latestValues.x==`string`||typeof t.latestValues.y==`string`)&&(t.isLayoutDirty=!0),t.updateScroll(`snapshot`),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(t===void 0&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,``):void 0,this.updateSnapshot(),e&&this.notifyListeners(`willUpdate`)}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(Wu),this.nodes.forEach(Uu);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Gu);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Ku),this.nodes.forEach(qu),this.nodes.forEach(Ru),this.nodes.forEach(zu)):this.nodes.forEach(Gu),this.clearAllSnapshots();let e=P.now();M.delta=x(0,1e3/60,e-M.timestamp),M.timestamp=e,M.isProcessing=!0,nt.update.process(M),nt.preRender.process(M),nt.render.process(M),M.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Po.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Hu),this.sharedNodes.forEach(Qu)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,j.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){j.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Q(this.snapshot.measuredBox.x)&&!Q(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||=Y(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners(`measure`,this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify(`LayoutMeasure`,this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e=`measure`){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!tu(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,``):void 0,a=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||bc(this.latestValues)||a)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){let t=this.measurePageBox(),n=this.removeElementScroll(t);return e&&(n=this.removeTransform(n)),id(n),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return Y();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(od))){let{scroll:e}=this.root;e&&(X(t.x,e.offset.x),X(t.y,e.offset.y))}return t}removeElementScroll(e){let t=Y();if(Z(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:a}=r;r!==this.root&&i&&a.layoutScroll&&(i.wasRoot&&Z(t,e),X(t.x,i.offset.x),X(t.y,i.offset.y))}return t}applyTransform(e,t=!1,n){let r=n||Y();Z(r,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(X(r.x,-n.scroll.offset.x),X(r.y,-n.scroll.offset.y)),bc(n.latestValues)&&Ac(r,n.latestValues,n.layout?.layoutBox)}return bc(this.latestValues)&&Ac(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){let t=Y();Z(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!bc(n.latestValues))continue;let r;n.instance&&(yc(n.latestValues)&&n.updateSnapshot(),r=Y(),Z(r,n.measurePageBox())),Xl(t,n.latestValues,n.snapshot?.layoutBox,r)}return bc(this.latestValues)&&Xl(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:e.crossfade===void 0||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==M.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||=t.isProjectionDirty,this.isTransformDirty||=t.isTransformDirty,this.isSharedProjectionDirty||=t.isSharedProjectionDirty;let n=!!this.resumingFrom||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:i}=this.options;if(!this.layout||!(r||i))return;this.resolvedRelativeTargetAt=M.timestamp;let a=this.getClosestProjectingParent();a&&this.linkedParentVersion!==a.layoutVersion&&!a.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&a&&a.layout?this.createRelativeTarget(a,this.layout.layoutBox,a.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Y(),this.targetWithTransforms=Y()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),zl(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Z(this.target,this.layout.layoutBox),Ec(this.target,this.targetDelta)):Z(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&a&&!!a.resumingFrom==!!this.resumingFrom&&!a.options.layoutScroll&&a.target&&this.animationProgress!==1?this.createRelativeTarget(a,this.target,a.target):this.relativeParent=this.relativeTarget=void 0),As.value&&sd.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||yc(this.parent.latestValues)||xc(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,n){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Y(),this.relativeTargetOrigin=Y(),Vl(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),Z(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===M.timestamp&&(n=!1),n)return;let{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||i))return;Z(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;Dc(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=Y());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Pl(this.prevProjectionDelta.x,this.projectionDelta.x),Pl(this.prevProjectionDelta.y,this.projectionDelta.y)),Ll(this.projectionDelta,this.layoutCorrected,s,this.latestValues),(this.treeScale.x!==a||this.treeScale.y!==o||!su(this.projectionDelta.x,this.prevProjectionDelta.x)||!su(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(`projectionUpdate`,s)),As.value&&sd.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Rs(),this.projectionDelta=Rs(),this.projectionDeltaWithTransform=Rs()}setAnimationOrigin(e,t=!1,n){let r=this.snapshot,i=r?r.latestValues:{},a={...this.latestValues},o=Rs();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let s=Y(),c=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),u=!l||l.members.length<=1,d=!!(c&&!u&&this.options.crossfade===!0&&!this.path.some(nd));this.animationProgress=0;let f,p=n?.interpolateProjection(e);this.mixTargetDelta=t=>{let n=t/1e3,r=p?.(n);r?(o.x.translate=r.x,o.x.scale=H(e.x.scale,1,n),o.x.origin=e.x.origin,o.x.originPoint=e.x.originPoint,o.y.translate=r.y,o.y.scale=H(e.y.scale,1,n),o.y.origin=e.y.origin,o.y.originPoint=e.y.originPoint):($u(o.x,e.x,n),$u(o.y,e.y,n)),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Vl(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),td(this.relativeTarget,this.relativeTargetOrigin,s,n),f&&ru(this.relativeTarget,f)&&(this.isProjectionDirty=!1),f||=Y(),Z(f,this.relativeTarget)),c&&(this.animationValues=a,du(a,i,this.latestValues,n,d,u)),r&&r.rotate!==void 0&&(this.animationValues||=a,this.animationValues.pathRotation=r.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners(`animationStart`),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&=(tt(this.pendingAnimation),void 0),this.pendingAnimation=j.update(()=>{Nu.hasAnimatedSinceResize=!0,this.motionValue||=Ki(0),this.motionValue.jump(0,!1),this.currentAnimation=bu(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners(`animationComplete`)}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(ld),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(!(!t||!n||!r)){if(this!==e&&this.layout&&r&&ad(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||Y();let t=Q(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=Q(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}Z(t,n),Ac(t,i),Ll(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new ju),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return e?e.relegate(this):!1}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&Fu(`z`,e,r,this.animationValues);for(let t=0;t<cd.length;t++)Fu(`rotate${cd[t]}`,e,r,this.animationValues),Fu(`skew${cd[t]}`,e,r,this.animationValues);e.render();for(let t in r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility=`hidden`;return}let n=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility=``,e.opacity=``,e.pointerEvents=ku(t?.pointerEvents)||``,e.transform=n?n(this.latestValues,``):`none`;return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(e.opacity=this.latestValues.opacity===void 0?1:this.latestValues.opacity,e.pointerEvents=ku(t?.pointerEvents)||``),this.hasProjected&&!bc(this.latestValues)&&(e.transform=n?n({},``):`none`,this.hasProjected=!1);return}e.visibility=``;let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();let a=uu(this.projectionDeltaWithTransform,this.treeScale,i);n&&(a=n(i,a)),e.transform=a;let{x:o,y:s}=this.projectionDelta;e.transformOrigin=`${o.origin*100}% ${s.origin*100}% 0`,e.opacity=r.animationValues?r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:r===this?i.opacity===void 0?``:i.opacity:i.opacityExit===void 0?0:i.opacityExit;for(let t in Yc){if(i[t]===void 0)continue;let{correct:n,applyTo:o,isCSSVariable:s}=Yc[t],c=a===`none`?i[t]:n(i[t],r);if(o){let t=o.length;for(let n=0;n<t;n++)e[o[n]]=c}else s?this.options.visualElement.renderState.vars[t]=c:e[t]=c}this.options.layoutId&&(e.pointerEvents=r===this?ku(t?.pointerEvents)||``:`none`)}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(Uu),this.root.sharedNodes.clear()}}}function Ru(e){e.updateLayout()}function zu(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners(`didUpdate`)){let{layoutBox:n,measuredBox:r}=e.layout,{animationType:i}=e.options,a=t.source!==e.layout.source;if(i===`size`)lu(e=>{let r=a?t.measuredBox[e]:t.layoutBox[e],i=Q(r);r.min=n[e].min,r.max=r.min+i});else if(i===`x`||i===`y`){let e=i===`x`?`y`:`x`;Nl(a?t.measuredBox[e]:t.layoutBox[e],n[e])}else ad(i,t.layoutBox,n)&&lu(r=>{let i=a?t.measuredBox[r]:t.layoutBox[r],o=Q(n[r]);i.max=i.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+o)});let o=Rs();Ll(o,n,t.layoutBox);let s=Rs();a?Ll(s,e.applyTransform(r,!0),t.measuredBox):Ll(s,n,t.layoutBox);let c=!tu(o),l=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:a}=r;if(i&&a){let o=e.options.layoutAnchor||void 0,s=Y();Vl(s,t.layoutBox,i.layoutBox,o);let c=Y();Vl(c,n,a.layoutBox,o),au(s,c)||(l=!0),r.options.layoutRoot&&(e.relativeTarget=c,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners(`didUpdate`,{layout:n,snapshot:t,delta:s,layoutDelta:o,hasLayoutChanged:c,hasRelativeLayoutChanged:l})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function Bu(e){As.value&&sd.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty),e.isTransformDirty||=e.parent.isTransformDirty)}function Vu(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Hu(e){e.clearSnapshot()}function Uu(e){e.clearMeasurements()}function Wu(e){e.isLayoutDirty=!0,e.updateLayout()}function Gu(e){e.isLayoutDirty=!1}function Ku(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function qu(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify(`BeforeLayoutMeasure`),e.resetTransform()}function Ju(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Yu(e){e.resolveTargetDelta()}function Xu(e){e.calcProjection()}function Zu(e){e.resetSkewAndRotation()}function Qu(e){e.removeLeadSnapshot()}function $u(e,t,n){e.translate=H(t.translate,0,n),e.scale=H(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function ed(e,t,n,r){e.min=H(t.min,n.min,r),e.max=H(t.max,n.max,r)}function td(e,t,n,r){ed(e.x,t.x,n.x,r),ed(e.y,t.y,n.y,r)}function nd(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}function rd(e){e.min=pd(e.min),e.max=pd(e.max)}function id(e){rd(e.x),rd(e.y)}function ad(e,t,n){return e===`position`||e===`preserve-aspect`&&!Fl(ou(t),ou(n),.2)}function od(e){return e!==e.root&&e.scroll?.wasRoot}var sd,cd,ld,ud,dd,fd,pd;function md(){return(md=t((()=>{pe(),S(),O(),xu(),Ra(),ea(),Io(),at(),Xc(),js(),Ou(),fs(),Ns(),U(),Zi(),Au(),yu(),Nc(),Kl(),$l(),Bs(),cu(),Mu(),Eu(),Pu(),N(),sd={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},cd=[``,`X`,`Y`,`Z`],ld=1e3,ud=0,dd={duration:.45,ease:[.4,0,.1,1]},fd=e=>typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),pd=fd(`applewebkit/`)&&!fd(`chrome/`)?Math.round:D})))()}var hd;function gd(){return(gd=t((()=>{md(),hd=Lu({attachResizeListener:(e,t)=>Su(e,`resize`,t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0})})))()}var _d,vd;function yd(){return(yd=t((()=>{md(),gd(),_d={current:void 0},vd=Lu({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!_d.current){let e=new hd({});e.mount(window),e.setOptions({layoutScroll:!0}),_d.current=e}return _d.current},resetTransform:(e,t)=>{e.style.transform=t===void 0?`none`:t},checkIsScrollRoot:e=>window.getComputedStyle(e).position===`fixed`})})))()}var bd,xd;function Sd(){return(Sd=t((()=>{bd=n(),xd=(0,bd.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:`never`})})))()}function Cd(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function wd(...e){return t=>{let n=!1,r=e.map(e=>{let r=Cd(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():Cd(e[t],null)}}}}function Td(...e){return Ed.useCallback(wd(...e),e)}var Ed;function Dd(){return(Dd=t((()=>{Ed=e(n(),1)})))()}function Od({children:e,isPresent:t,anchorX:n,anchorY:r,root:i,pop:a}){let o=(0,jd.useId)(),s=(0,jd.useRef)(null),c=(0,jd.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:`ltr`}),{nonce:l}=(0,jd.useContext)(xd),u=Td(s,a===!1?void 0:e.props?.ref??e?.ref);return(0,jd.useInsertionEffect)(()=>{let{width:e,height:u,top:d,left:f,right:p,bottom:m,direction:h}=c.current;if(t||a===!1||!s.current||!e||!u)return;let g=h===`rtl`,_=n===`left`?g?`right: ${p}`:`left: ${f}`:g?`left: ${f}`:`right: ${p}`,v=r===`bottom`?`bottom: ${m}`:`top: ${d}`;s.current.dataset.motionPopId=o;let y=document.createElement(`style`);l&&(y.nonce=l);let b=i??document.head;return b.appendChild(y),y.sheet&&y.sheet.insertRule(`
2
- [data-motion-pop-id="${o}"] {
3
- position: absolute !important;
4
- width: ${e}px !important;
5
- height: ${u}px !important;
6
- ${_}px !important;
7
- ${v}px !important;
8
- }
9
- `),()=>{s.current?.removeAttribute(`data-motion-pop-id`),b.contains(y)&&b.removeChild(y)}},[t]),(0,kd.jsx)(Md,{isPresent:t,childRef:s,sizeRef:c,pop:a,children:a===!1?e:Ad.cloneElement(e,{ref:u})})}var kd,Ad,jd,Md;function Nd(){return(Nd=t((()=>{kd=r(),No(),Ad=e(n(),1),jd=n(),Sd(),Dd(),Md=class extends Ad.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(Mo(t)&&e.isPresent&&!this.props.isPresent&&this.props.pop!==!1){let e=t.offsetParent,n=Mo(e)&&e.offsetWidth||0,r=Mo(e)&&e.offsetHeight||0,i=getComputedStyle(t),a=this.props.sizeRef.current;a.height=parseFloat(i.height),a.width=parseFloat(i.width),a.top=t.offsetTop,a.left=t.offsetLeft,a.right=n-a.width-a.left,a.bottom=r-a.height-a.top,a.direction=i.direction}return null}componentDidUpdate(){}render(){return this.props.children}}})))()}function Pd(){return new Map}var Fd,Id,Ld,Rd;function zd(){return(zd=t((()=>{Fd=r(),Id=e(n(),1),Ld=n(),v(),u(),h(),Nd(),Rd=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:a,mode:o,anchorX:s,anchorY:l,root:u})=>{let d=c(Pd),f=(0,Ld.useId)(),p=(0,Ld.useRef)(n),h=(0,Ld.useRef)(r);m(()=>{p.current=n,h.current=r});let g=!0,v=(0,Ld.useMemo)(()=>(g=!1,{id:f,initial:t,isPresent:n,custom:i,onExitComplete:e=>{d.set(e,!0);for(let e of d.values())if(!e)return;r&&r()},register:e=>(d.set(e,!1),()=>{d.delete(e),!p.current&&!d.size&&h.current?.()})}),[n,d,r]);return a&&g&&(v={...v}),(0,Ld.useMemo)(()=>{d.forEach((e,t)=>d.set(t,!1))},[n]),Id.useEffect(()=>{!n&&!d.size&&r&&r()},[n]),e=(0,Fd.jsx)(Od,{pop:o===`popLayout`,isPresent:n,anchorX:s,anchorY:l,root:u,children:e}),(0,Fd.jsx)(_.Provider,{value:v,children:e})}})))()}function Bd(e=!0){let t=(0,Vd.useContext)(_);if(t===null)return[!0,null];let{isPresent:n,onExitComplete:r,register:i}=t,a=(0,Vd.useId)();(0,Vd.useEffect)(()=>{if(e)return i(a)},[e]);let o=(0,Vd.useCallback)(()=>e&&r&&r(a),[a,r,e]);return!n&&r?[!1,o]:[!0]}var Vd;function Hd(){return(Hd=t((()=>{Vd=n(),v()})))()}function Ud(e){let t=[];return Wd.Children.forEach(e,e=>{(0,Wd.isValidElement)(e)&&t.push(e)}),t}var Wd,Gd;function Kd(){return(Kd=t((()=>{Wd=n(),Gd=e=>e.key||``})))()}var qd,Jd,Yd;function Xd(){return(Xd=t((()=>{qd=r(),Jd=n(),s(),u(),h(),zd(),Hd(),Kd(),Yd=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:a=`sync`,propagate:s=!1,anchorX:l=`left`,anchorY:u=`top`,root:d})=>{let[f,p]=Bd(s),h=(0,Jd.useMemo)(()=>Ud(e),[e]),g=s&&!f?[]:h.map(Gd),_=(0,Jd.useRef)(!0),v=(0,Jd.useRef)(h),y=c(()=>new Map),b=(0,Jd.useRef)(new Set),[x,S]=(0,Jd.useState)(h),[C,w]=(0,Jd.useState)(h);m(()=>{s&&!f&&!C.length&&p?.()},[f,s,C.length,p]),m(()=>{_.current=!1,v.current=h;for(let e=0;e<C.length;e++){let t=Gd(C[e]);g.includes(t)?(y.delete(t),b.current.delete(t)):y.get(t)!==!0&&y.set(t,!1)}},[C,g.length,g.join(`-`)]);let T=[];if(h!==x){let e=[...h];for(let t=0;t<C.length;t++){let n=C[t],r=Gd(n);g.includes(r)||(e.splice(t,0,n),T.push(n))}return a===`wait`&&T.length&&(e=T),w(Ud(e)),S(h),null}let{forceRender:E}=(0,Jd.useContext)(o);return(0,qd.jsx)(qd.Fragment,{children:C.map(e=>{let o=Gd(e),c=s&&!f?!1:h===C||g.includes(o);return(0,qd.jsx)(Rd,{isPresent:c,initial:!_.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:a,root:d,onExitComplete:c?void 0:()=>{if(b.current.has(o))return;if(y.has(o))b.current.add(o),y.set(o,!0);else return;let e=!0;y.forEach(t=>{t||(e=!1)}),e&&(E?.(),w(v.current),s&&p?.(),r&&r())},anchorX:l,anchorY:u,children:e},o)})})}})))()}var Zd,Qd;function $d(){return($d=t((()=>{Zd=n(),Qd=(0,Zd.createContext)({strict:!1})})))()}function ef(){if(rf)return;let e={};for(let t in nf)e[t]={isEnabled:e=>nf[t].some(t=>!!e[t])};ac(e),rf=!0}function tf(){return ef(),oc()}var nf,rf;function af(){return(af=t((()=>{uc(),nf={animation:[`animate`,`variants`,`whileHover`,`whileTap`,`exit`,`whileInView`,`whileFocus`,`whileDrag`],exit:[`exit`],drag:[`drag`,`dragControls`],focus:[`whileFocus`],hover:[`whileHover`,`onHoverStart`,`onHoverEnd`],tap:[`whileTap`,`onTap`,`onTapStart`,`onTapCancel`],pan:[`onPan`,`onPanStart`,`onPanSessionStart`,`onPanEnd`],inView:[`whileInView`,`onViewportEnter`,`onViewportLeave`],layout:[`layout`,`layoutId`]},rf=!1})))()}function of(e){let t=tf();for(let n in e)t[n]={...t[n],...e[n]};ac(t)}function sf(){return(sf=t((()=>{uc(),af()})))()}var cf,lf;function uf(){return(uf=t((()=>{cf=n(),lf=(0,cf.createContext)({})})))()}function df(e,t){if(Js(e)){let{initial:t,animate:n}=e;return{initial:t===!1||Ws(t)?t:void 0,animate:Ws(n)?n:void 0}}return e.inherit===!1?{}:t}function ff(){return(ff=t((()=>{Xs()})))()}function pf(e){let{initial:t,animate:n}=df(e,(0,hf.useContext)(lf));return(0,hf.useMemo)(()=>({initial:t,animate:n}),[mf(t),mf(n)])}function mf(e){return Array.isArray(e)?e.join(` `):e}var hf;function gf(){return(gf=t((()=>{hf=n(),uf(),ff()})))()}var _f;function vf(){return(vf=t((()=>{_f=()=>({style:{},transform:{},transformOrigin:{},vars:{}})})))()}function yf(e,t,n){for(let r in t)!K(t[r])&&!Zc(r,n)&&(e[r]=t[r])}function bf({transformTemplate:e},t){return(0,Cf.useMemo)(()=>{let n=_f();return Vc(n,t,e),Object.assign({},n.vars,n.style)},[t])}function xf(e,t){let n=e.style||{},r={};return yf(r,n,e),Object.assign(r,bf(e,t)),r}function Sf(e,t){let n={},r=xf(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout=`none`,r.touchAction=e.drag===!0?`none`:`pan-${e.drag===`x`?`y`:`x`}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}var Cf;function wf(){return(wf=t((()=>{q(),Qc(),Hc(),Cf=n(),vf()})))()}var Tf;function Ef(){return(Ef=t((()=>{vf(),Tf=()=>({..._f(),attrs:{}})})))()}function Df(e,t,n,r){let i=(0,Of.useMemo)(()=>{let n=Tf();return cl(n,t,pl(r),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};yf(t,e.style,e),i.style={...t,...i.style}}return i}var Of;function kf(){return(kf=t((()=>{ul(),ml(),Of=n(),wf(),Ef()})))()}function Af(e){return e.startsWith(`while`)||e.startsWith(`drag`)&&e!==`draggable`||e.startsWith(`layout`)||e.startsWith(`onTap`)||e.startsWith(`onPan`)||e.startsWith(`onLayout`)||jf.has(e)}var jf;function Mf(){return(Mf=t((()=>{jf=new Set(`animate.exit.variants.initial.style.values.variants.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport`.split(`.`))})))()}function Nf(e,t){return e.startsWith(`on`)?!Af(e):t?.(e)??!Af(e)}function Pf(e,t,n,r){let i={};for(let a in e)(a!==`values`||typeof e.values!=`object`)&&(K(e[a])||(Nf(a,r)||n===!0&&Af(a)||!t&&!Af(a)||e.draggable&&a.startsWith(`onDrag`))&&(i[a]=e[a]));return i}function Ff(){return(Ff=t((()=>{q(),Mf()})))()}var If;function Lf(){return(Lf=t((()=>{If=[`animate`,`circle`,`defs`,`desc`,`ellipse`,`g`,`image`,`line`,`filter`,`marker`,`mask`,`metadata`,`path`,`pattern`,`polygon`,`polyline`,`rect`,`stop`,`switch`,`symbol`,`svg`,`text`,`tspan`,`use`,`view`]})))()}function Rf(e){return typeof e!=`string`||e.includes(`-`)?!1:!!(If.indexOf(e)>-1||/[A-Z]/u.test(e))}function zf(){return(zf=t((()=>{Lf()})))()}function Bf(e,t,n,{latestValues:r},i,a=!1,o,s){let c=(o??Rf(e)?Df:Sf)(t,r,i,e),l=Pf(t,typeof e==`string`,a,s),u=e===Vf.Fragment?{}:{...l,...c,ref:n},{children:d}=t,f=(0,Vf.useMemo)(()=>K(d)?d.get():d,[d]);return(0,Vf.createElement)(e,{...u,children:f})}var Vf;function Hf(){return(Hf=t((()=>{q(),Vf=n(),wf(),kf(),Ff(),zf()})))()}function Uf({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:Wf(n,r,i,e),renderState:t()}}function Wf(e,t,n,r){let i={},a=r(e,{});for(let e in a)i[e]=ku(a[e]);let{initial:o,animate:s}=e,c=Js(e),l=Ys(e);t&&l&&!c&&e.inherit!==!1&&(o===void 0&&(o=t.initial),s===void 0&&(s=t.animate));let u=n?n.initial===!1:!1;u||=o===!1;let d=u?s:o;if(d&&typeof d!=`boolean`&&!Us(d)){let t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){let r=va(e,t[n]);if(r){let{transitionEnd:e,transition:t,...n}=r;for(let e in n){let t=n[e];if(Array.isArray(t)){let e=u?t.length-1:0;t=t[e]}t!==null&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}var Gf,Kf;function qf(){return(qf=t((()=>{Au(),Xs(),Gf=n(),uf(),v(),u(),Kf=e=>(t,n)=>{let r=(0,Gf.useContext)(lf),i=(0,Gf.useContext)(_),a=()=>Uf(e,t,r,i);return n?a():c(a)}})))()}var Jf;function Yf(){return(Yf=t((()=>{el(),qf(),vf(),Jf=Kf({scrapeMotionValuesFromProps:$c,createRenderState:_f})})))()}var Xf;function Zf(){return(Zf=t((()=>{vl(),qf(),Ef(),Xf=Kf({scrapeMotionValuesFromProps:_l,createRenderState:Tf})})))()}var Qf;function $f(){return($f=t((()=>{Qf=Symbol.for(`motionComponentSymbol`)})))()}function ep(e,t,n){let r=(0,tp.useRef)(n);(0,tp.useInsertionEffect)(()=>{r.current=n});let i=(0,tp.useRef)(null);return(0,tp.useCallback)(n=>{n&&e.onMount?.(n),t&&(n?t.mount(n):t.unmount());let a=r.current;if(typeof a==`function`){if(n){let e=a(n);typeof e==`function`&&(i.current=e)}else i.current?(i.current(),i.current=null):a(n)}else a&&(a.current=n)},[t])}var tp;function np(){return(np=t((()=>{tp=n()})))()}var rp,ip;function ap(){return(ap=t((()=>{rp=n(),ip=(0,rp.createContext)({})})))()}function op(e){return e&&typeof e==`object`&&Object.prototype.hasOwnProperty.call(e,`current`)}function sp(e,t,n,r,i,a){let{visualElement:o}=(0,$.useContext)(lf),s=(0,$.useContext)(Qd),c=(0,$.useContext)(_),l=(0,$.useContext)(xd),u=l.reducedMotion,d=l.skipAnimations,f=(0,$.useRef)(null),p=(0,$.useRef)(!1);r||=s.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:o,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:u,skipAnimations:d,isSVG:a}),p.current&&f.current&&(f.current.manuallyAnimateOnMount=!0));let h=f.current,g=(0,$.useContext)(ip);h&&!h.projection&&i&&(h.type===`html`||h.type===`svg`)&&cp(f.current,n,i,g);let v=(0,$.useRef)(!1);(0,$.useInsertionEffect)(()=>{h&&v.current&&h.update(n,c)});let y=n[Fa],b=(0,$.useRef)(!!y&&typeof window<`u`&&!window.MotionHandoffIsComplete?.(y)&&window.MotionHasOptimisedAnimation?.(y));return m(()=>{p.current=!0,h&&(v.current=!0,window.MotionIsMounted=!0,h.updateFeatures(),h.scheduleRenderMicrotask(),b.current&&h.animationState&&h.animationState.animateChanges())}),(0,$.useEffect)(()=>{h&&(!b.current&&h.animationState&&h.animationState.animateChanges(),b.current&&=(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(y)}),!1),h.enteringChildren=void 0)}),h}function cp(e,t,n,r){let{layoutId:i,layout:a,drag:o,dragConstraints:s,layoutScroll:c,layoutRoot:l,layoutAnchor:u,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t[`data-framer-portal-id`]?void 0:lp(e.parent)),e.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:!!o||s&&op(s),visualElement:e,animationType:typeof a==`string`?a:`both`,initialPromotionConfig:r,crossfade:d,layoutScroll:c,layoutRoot:l,layoutAnchor:u})}function lp(e){if(e)return e.options.allowProjection===!1?lp(e.parent):e.projection}var $;function up(){return(up=t((()=>{Ia(),$=n(),$d(),Sd(),uf(),v(),ap(),h()})))()}function dp(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&of(r);let a=n?n===`svg`:Rf(e),o=a?Xf:Jf;function s(n,s){let c,l={...(0,gp.useContext)(xd),...n,layoutId:fp(n)},{isStatic:u,isValidProp:d}=l,f=pf(n),p=o(n,u);if(!u&&typeof window<`u`){pp(l,r);let t=mp(l);c=t.MeasureLayout,f.visualElement=sp(e,p,l,i,t.ProjectionNode,a)}return(0,hp.jsxs)(lf.Provider,{value:f,children:[c&&f.visualElement?(0,hp.jsx)(c,{visualElement:f.visualElement,...l}):null,Bf(e,n,ep(p,f.visualElement,s),p,u,t,a,d)]})}s.displayName=`motion.${typeof e==`string`?e:`create(${e.displayName??e.name??``})`}`;let c=(0,gp.forwardRef)(s);return c[Qf]=e,c}function fp({layoutId:e}){let t=(0,gp.useContext)(o).id;return t&&e!==void 0?t+`-`+e:e}function pp(e,t){(0,gp.useContext)(Qd).strict}function mp(e){let{drag:t,layout:n}=tf();if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}var hp,gp;function _p(){return(_p=t((()=>{hp=r(),gp=n(),s(),$d(),Sd(),uf(),gf(),Hf(),zf(),Yf(),Zf(),af(),sf(),$f(),np(),up()})))()}function vp(e,t){if(typeof Proxy>`u`)return dp;let n=new Map,r=(n,r)=>dp(n,r,e,t);return new Proxy((e,t)=>r(e,t),{get:(i,a)=>a===`create`?r:(n.has(a)||n.set(a,dp(a,void 0,e,t)),n.get(a))})}function yp(){return(yp=t((()=>{_p()})))()}var bp,xp;function Sp(){return(Sp=t((()=>{bl(),rl(),bp=n(),zf(),xp=(e,t)=>t.isSVG??Rf(e)?new yl(t):new nl(t,{allowProjection:e!==bp.Fragment})})))()}var Cp;function wp(){return(wp=t((()=>{mc(),Ml(),Cp=class extends pc{constructor(e){super(e),e.animationState||=El(e)}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();Us(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}})))()}var Tp,Ep;function Dp(){return(Dp=t((()=>{mc(),ba(),Tp=0,Ep=class extends pc{constructor(){super(...arguments),this.id=Tp++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;if(e&&n===!1){if(this.isExitComplete){let{initial:e,custom:t}=this.node.getProps();if(typeof e==`string`||typeof e==`object`&&e&&!Array.isArray(e)){let n=ya(this.node,e,t);if(n){let{transition:e,transitionEnd:t,...r}=n;for(let e in r)this.node.getValue(e)?.jump(r[e])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive(`exit`,!1);this.isExitComplete=!1;return}let r=this.node.animationState.setActive(`exit`,!e);t&&!e&&r.then(()=>{this.isExitComplete=!0,t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}})))()}var Op;function kp(){return(kp=t((()=>{wp(),Dp(),Op={animation:{Feature:Cp},exit:{Feature:Ep}}})))()}function Ap(e){return{point:{x:e.pageX,y:e.pageY}}}var jp;function Mp(){return(Mp=t((()=>{Yo(),jp=e=>t=>Jo(t)&&e(t,Ap(t))})))()}function Np(e,t,n,r){return Su(e,t,jp(n),r)}function Pp(){return(Pp=t((()=>{Mp()})))()}var Fp;function Ip(){return(Ip=t((()=>{Fp=({current:e})=>e?e.ownerDocument.defaultView:null})))()}function Lp(e,t){let n=Rp(e.x,t.x),r=Rp(e.y,t.y);return Math.sqrt(n**2+r**2)}var Rp;function zp(){return(zp=t((()=>{Rp=(e,t)=>Math.abs(e-t)})))()}function Bp(e,t){return t?{point:t(e.point)}:e}function Vp(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Hp({point:e},t){return{point:e,delta:Vp(e,Wp(t)),offset:Vp(e,Up(t)),velocity:Gp(t,.1)}}function Up(e){return e[0]}function Wp(e){return e[e.length-1]}function Gp(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=Wp(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>k(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&i.timestamp-r.timestamp>k(t)*2&&(r=e[1]);let a=A(i.timestamp-r.timestamp);if(a===0)return{x:0,y:0};let o={x:(i.x-r.x)/a,y:(i.y-r.y)/a};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}var Kp,qp;function Jp(){return(Jp=t((()=>{N(),Yo(),le(),me(),Pp(),Mp(),zp(),Kp=new Set([`auto`,`scroll`]),qp=class{constructor(e,t,{transformPagePoint:n,contextWindow:r=window,dragSnapToOrigin:i=!1,distanceThreshold:a=3,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Bp(this.lastRawMoveEventInfo,this.transformPagePoint));let e=Hp(this.lastMoveEventInfo,this.history),t=this.startEvent!==null,n=Lp(e.offset,{x:0,y:0})>=this.distanceThreshold;if(!t&&!n)return;let{point:r}=e,{timestamp:i}=M;this.history.push({...r,timestamp:i});let{onStart:a,onMove:o}=this.handlers;t||(a&&a(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=Bp(t,this.transformPagePoint),j.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:n,onSessionEnd:r,resumeAnimation:i}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let a=Hp(e.type===`pointercancel`?this.lastMoveEventInfo:Bp(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,a),r&&r(e,a)},!Jo(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=a,this.contextWindow=r||window;let s=Bp(Ap(e),this.transformPagePoint),{point:c}=s,{timestamp:l}=M;this.history=[{...c,timestamp:l}];let{onSessionStart:u}=t;u&&u(e,Hp(s,this.history));let d={passive:!0,capture:!0};this.removeListeners=ce(Np(this.contextWindow,`pointermove`,this.handlePointerMove,d),Np(this.contextWindow,`pointerup`,this.handlePointerUp,d),Np(this.contextWindow,`pointercancel`,this.handlePointerUp,d)),o&&this.startScrollTracking(o)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(Kp.has(e.overflowX)||Kp.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener(`scroll`,this.onElementScroll,{capture:!0}),window.addEventListener(`scroll`,this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener(`scroll`,this.onElementScroll,{capture:!0}),window.removeEventListener(`scroll`,this.onWindowScroll)}}handleScroll(e){let t=this.scrollPositions.get(e);if(!t)return;let n=e===window,r=n?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},i={x:r.x-t.x,y:r.y-t.y};(i.x!==0||i.y!==0)&&(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(e,r),j.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),tt(this.updatePoint)}}})))()}function Yp(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?H(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?H(n,e,r.max):Math.min(e,n)),e}function Xp(e,t,n){return{min:t===void 0?void 0:e.min+t,max:n===void 0?void 0:e.max+n-(e.max-e.min)}}function Zp(e,{top:t,left:n,bottom:r,right:i}){return{x:Xp(e.x,n,i),y:Xp(e.y,t,r)}}function Qp(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function $p(e,t){return{x:Qp(e.x,t.x),y:Qp(e.y,t.y)}}function em(e,t){let n=.5,r=Q(e),i=Q(t);return i>r?n=ue(t.min,t.max-r,e.min):r>i&&(n=ue(e.min,e.max-i,t.min)),x(0,1,n)}function tm(e,t){let n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}function nm(e=am){return e===!1?e=0:e===!0&&(e=am),{x:rm(e,`left`,`right`),y:rm(e,`top`,`bottom`)}}function rm(e,t,n){return{min:im(e,t),max:im(e,n)}}function im(e,t){return typeof e==`number`?e:e[t]||0}var am;function om(){return(om=t((()=>{U(),Kl(),de(),S(),am=.35})))()}function sm(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function cm(e,t,n){let r=Os(e,sm(n)),i=Os(t,sm(n));return()=>{r(),i()}}function lm(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function um(e,t=10){let n=null;return Math.abs(e.y)>t?n=`y`:Math.abs(e.x)>t&&(n=`x`),n}var dm,fm;function pm(){return(pm=t((()=>{Bs(),N(),Ic(),Ma(),da(),U(),Bo(),R(),Kl(),ks(),es(),T(),Pp(),Mp(),Ip(),Jp(),om(),dm=new WeakMap,fm=class{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Y(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:n}={}){let{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;let i=e=>{t&&this.snapToCursor(Ap(e).point),this.stopAnimation()},a=(e,t)=>{let{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=zo(n),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),lu(e=>{let t=this.getAxisMotionValue(e).get()||0;if(I.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[e];r&&(t=Q(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&j.update(()=>i(e,t),!1,!0),ja(this.visualElement,`transform`);let{animationState:a}=this.visualElement;a&&a.setActive(`whileDrag`,!0)},o=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:a}=this.getProps();if(!n&&!this.openDragLock)return;let{offset:o}=t;if(r&&this.currentDirection===null){this.currentDirection=um(o),this.currentDirection!==null&&i&&i(this.currentDirection);return}this.updateAxis(`x`,t.point,o),this.updateAxis(`y`,t.point,o),this.visualElement.render(),a&&j.update(()=>a(e,t),!1,!0)},s=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:l}=this.getProps();this.panSession=new qp(e,{onSessionStart:i,onStart:a,onMove:o,onSessionEnd:s,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,distanceThreshold:n,contextWindow:Fp(this.visualElement),element:this.visualElement.current})}stop(e,t){let n=e||this.latestPointerEvent,r=t||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!r||!n)return;let{velocity:a}=r;this.startAnimation(a);let{onDragEnd:o}=this.getProps();o&&j.postRender(()=>o(n,r))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive(`whileDrag`,!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!lm(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),a=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(a=Yp(a,this.constraints[e],this.elastic[e])),i.set(a)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;e&&op(e)?this.constraints||=this.resolveRefConstraints():this.constraints=e&&n?Zp(n.layoutBox,e):!1,this.elastic=nm(t),r!==this.constraints&&!op(e)&&n&&this.constraints&&!this.hasMutatedConstraints&&lu(e=>{this.constraints!==!1&&this.getAxisMotionValue(e)&&(this.constraints[e]=tm(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){let{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!op(e))return!1;let n=e.current;w(n!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.",`drag-constraints-ref`);let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;r.root&&(r.root.scroll=void 0,r.root.updateScroll());let i=Fc(n,r.root,this.visualElement.getTransformPagePoint()),a=$p(r.layout.layoutBox,i);if(t){let e=t(gc(a));this.hasMutatedConstraints=!!e,e&&(a=hc(e))}return a}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:o}=this.getProps(),s=this.constraints||{},c=lu(o=>{if(!lm(o,t,this.currentDirection))return;let c=s&&s[o]||{};(a===!0||a===o)&&(c={min:0,max:0});let l=r?200:1e6,u=r?40:1e7,d={type:`inertia`,velocity:n?e[o]:0,bounceStiffness:l,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...i,...c};return this.startAxisValueAnimation(o,d)});return Promise.all(c).then(o)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return ja(this.visualElement,e),n.start(ua(e,n,0,t,this.visualElement,!1))}stopAnimation(){lu(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`;return this.visualElement.getProps()[t]||this.visualElement.getValue(e,this.visualElement.latestValues[e]??0)}snapToCursor(e){lu(t=>{let{drag:n}=this.getProps();if(!lm(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){let{min:n,max:a}=r.layout.layoutBox[t],o=i.get()||0;i.set(e[t]-H(n,a,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!op(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};lu(e=>{let t=this.getAxisMotionValue(e);if(t&&this.constraints!==!1){let n=t.get();r[e]=em({min:n,max:n},this.constraints[e])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},``):`none`,n.root&&n.root.updateScroll(),n.updateLayout(),this.constraints=!1,this.resolveConstraints(),lu(t=>{if(!lm(t,e,null))return;let n=this.getAxisMotionValue(t),{min:i,max:a}=this.constraints[t];n.set(H(i,a,r[t]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;dm.set(this.visualElement,this);let e=this.visualElement.current,t=Np(e,`pointerdown`,t=>{let{drag:n,dragListener:r=!0}=this.getProps(),i=t.target,a=i!==e&&Zo(i);n&&r&&!a&&this.start(t)}),n,r=()=>{let{dragConstraints:t}=this.getProps();op(t)&&t.current&&(this.constraints=this.resolveRefConstraints(),n||=cm(e,t.current,()=>this.scalePositionWithinConstraints()))},{projection:i}=this.visualElement,a=i.addEventListener(`measure`,r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),j.read(r);let o=Su(window,`resize`,()=>this.scalePositionWithinConstraints()),s=i.addEventListener(`didUpdate`,(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(lu(t=>{let n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())}));return()=>{o(),t(),a(),s&&s(),n&&n()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:a=am,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:a,dragMomentum:o}}}})))()}var mm;function hm(){return(hm=t((()=>{mc(),O(),pm(),mm=class extends pc{constructor(e){super(e),this.removeGroupControls=D,this.removeListeners=D,this.controls=new fm(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||D}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}})))()}var gm,_m;function vm(){return(vm=t((()=>{mc(),N(),O(),Pp(),Ip(),Jp(),gm=e=>(t,n)=>{e&&j.update(()=>e(t,n),!1,!0)},_m=class extends pc{constructor(){super(...arguments),this.removePointerDownListener=D}onPointerDown(e){this.session=new qp(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Fp(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:gm(e),onStart:gm(t),onMove:gm(n),onEnd:(e,t)=>{delete this.session,r&&j.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=Np(this.node.current,`pointerdown`,e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}})))()}function ym(e){let[t,n]=Bd(),r=(0,xm.useContext)(o);return(0,bm.jsx)(Cm,{...e,layoutGroup:r,switchLayoutGroup:(0,xm.useContext)(ip),isPresent:t,safeToRemove:n})}var bm,xm,Sm,Cm;function wm(){return(wm=t((()=>{bm=r(),Pu(),N(),Io(),xm=n(),Hd(),s(),ap(),Sm=!1,Cm=class extends xm.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),Sm&&i.root.didUpdate(),i.addEventListener(`animationComplete`,()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Nu.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,{projection:a}=n;return a?(a.isPresent=i,e.layoutDependency!==t&&a.setOptions({...a.options,layoutDependency:t}),Sm=!0,r||e.layoutDependency!==t||t===void 0||e.isPresent!==i?a.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?a.promote():a.relegate()||j.postRender(()=>{let e=a.getStack();(!e||!e.members.length)&&this.safeToRemove()})),null):null}componentDidUpdate(){let{visualElement:e,layoutAnchor:t}=this.props,{projection:n}=e;n&&(n.options.layoutAnchor=t,n.root.didUpdate(),Po.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;Sm=!0,r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}})))()}var Tm;function Em(){return(Em=t((()=>{hm(),vm(),wm(),yd(),Tm={pan:{Feature:_m},drag:{Feature:mm,ProjectionNode:vd,MeasureLayout:ym}}})))()}function Dm(e,t,n){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive(`whileHover`,n===`Start`);let i=r[`onHover`+n];i&&j.postRender(()=>i(t,Ap(t)))}var Om;function km(){return(km=t((()=>{mc(),Go(),N(),Mp(),Om=class extends pc{mount(){let{current:e}=this.node;e&&(this.unmount=Wo(e,(e,t)=>(Dm(this.node,t,`Start`),e=>Dm(this.node,e,`End`))))}unmount(){}}})))()}var Am;function jm(){return(jm=t((()=>{mc(),le(),Am=class extends pc{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(`:focus-visible`)}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive(`whileFocus`,!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive(`whileFocus`,!1),this.isActive=!1)}mount(){this.unmount=ce(Su(this.node.current,`focus`,()=>this.onFocus()),Su(this.node.current,`blur`,()=>this.onBlur()))}unmount(){}}})))()}function Mm(e,t,n){let{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive(`whileTap`,n===`Start`);let i=r[`onTap`+(n===`End`?``:n)];i&&j.postRender(()=>i(t,Ap(t)))}var Nm;function Pm(){return(Pm=t((()=>{mc(),us(),N(),Mp(),Nm=class extends pc{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:n}=this.node.props;this.unmount=cs(e,(e,t)=>(Mm(this.node,t,`Start`),(e,{success:t})=>Mm(this.node,e,t?`End`:`Cancel`)),{useGlobalTarget:t,stopPropagation:n?.tap===!1})}unmount(){}}})))()}function Fm({root:e,...t}){let n=e||document;Rm.has(n)||Rm.set(n,{});let r=Rm.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(Bm,{root:e,...t})),r[i]}function Im(e,t,n){let r=Fm(t);return Lm.set(e,n),r.observe(e),()=>{Lm.delete(e),r.unobserve(e)}}var Lm,Rm,zm,Bm;function Vm(){return(Vm=t((()=>{Lm=new WeakMap,Rm=new WeakMap,zm=e=>{let t=Lm.get(e.target);t&&t(e)},Bm=e=>{e.forEach(zm)}})))()}function Hm({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}var Um,Wm;function Gm(){return(Gm=t((()=>{mc(),Vm(),Um={some:0,all:1},Wm=class extends pc{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();let{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r=`some`,once:i}=e,a={root:t?t.current:void 0,rootMargin:n,threshold:typeof r==`number`?r:Um[r]},o=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive(`whileInView`,t);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),a=t?n:r;a&&a(e)};this.stopObserver=Im(this.node.current,a,o)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>`u`)return;let{props:e,prevProps:t}=this.node;[`amount`,`margin`,`root`].some(Hm(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}})))()}var Km;function qm(){return(qm=t((()=>{km(),jm(),Pm(),Gm(),Km={inView:{Feature:Wm},tap:{Feature:Nm},focus:{Feature:Am},hover:{Feature:Om}}})))()}var Jm;function Ym(){return(Ym=t((()=>{yd(),wm(),Jm={layout:{ProjectionNode:vd,MeasureLayout:ym}}})))()}var Xm;function Zm(){return(Zm=t((()=>{kp(),Em(),qm(),Ym(),Xm={...Op,...Km,...Tm,...Jm}})))()}var Qm;function $m(){return($m=t((()=>{Sp(),yp(),Zm(),Qm=vp(Xm,xp)})))()}var eh;function th(){return(th=t((()=>{$m(),Xd(),i(),eh=Qm})))()}export{nc as a,tc as c,Xd as i,$s as l,eh as n,ic as o,Yd as r,ec as s,th as t};