@txgw/payout-components 0.6.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (392) hide show
  1. package/dist/AMIS-BpATHKnv.js +1 -0
  2. package/dist/Action-B0KUcn27.js +1 -0
  3. package/dist/Action-CzJ_r33l.js +1 -0
  4. package/dist/Alert-DwWdKr12.js +1 -0
  5. package/dist/AnchorNav-DRGjEF5J.js +1 -0
  6. package/dist/App-DxKgyXV1.js +1 -0
  7. package/dist/Audio-BoaWMJHA.js +1 -0
  8. package/dist/Avatar-B2lZKPPh.js +1 -0
  9. package/dist/BarCode-BnchzdIg.js +1 -0
  10. package/dist/BarCode-dEGhm4u6.js +1 -0
  11. package/dist/Breadcrumb-BHzIF2Vg.js +1 -0
  12. package/dist/ButtonGroup-BMvNPoKc.js +1 -0
  13. package/dist/ButtonGroupSelect-BmQIuhWU.js +1 -0
  14. package/dist/ButtonGroupSelect-CfNu0OBj.js +1 -0
  15. package/dist/ButtonToolbar-CYZ0LWsz.js +1 -0
  16. package/dist/CRUD-BDeg8xZI.js +1 -0
  17. package/dist/CRUD2-DrE-2JU3.js +1 -0
  18. package/dist/Calendar-DkEUJJQW.js +1 -0
  19. package/dist/Card-BVUWwkgm.js +1 -0
  20. package/dist/Card-IZbcizfw.js +1 -0
  21. package/dist/Card2-Dyl0FIVL.js +1 -0
  22. package/dist/Cards-DlMpwNSr.js +1 -0
  23. package/dist/Carousel-CXMYZL8H.js +1 -0
  24. package/dist/ChainedSelect-BQK0j-pA.js +1 -0
  25. package/dist/Chart-uJ8v1OSG.js +1 -0
  26. package/dist/ChartRadios-C9Ov2SCd.js +1 -0
  27. package/dist/Checkbox-DAq7LXTe.js +1 -0
  28. package/dist/Checkbox-DbHhD7iK.js +1 -0
  29. package/dist/Checkboxes-wud_gmq3.js +1 -0
  30. package/dist/Code-VjDT2QOS.js +1 -0
  31. package/dist/Collapse-CRIu-D5O.js +1 -0
  32. package/dist/Collapse-CknZKNKz.js +1 -0
  33. package/dist/CollapseGroup-DkMS5MXZ.js +1 -0
  34. package/dist/Color-CZV84qNC.js +1 -0
  35. package/dist/ColorPicker-R5D1ZNwb.js +1 -0
  36. package/dist/ColumnToggler-BxHry8EL.js +1 -0
  37. package/dist/ColumnToggler-D98cb4XS.js +1 -0
  38. package/dist/Combo-BUD7tb8b.js +1 -0
  39. package/dist/ConditionBuilder-DFF8QBcW.js +1 -0
  40. package/dist/Container-f-JHe2WE.js +1 -0
  41. package/dist/Control-dOQnC26j.js +1 -0
  42. package/dist/Custom-CqKL8xv_.js +1 -0
  43. package/dist/{Date-C9Kib09x.js → Date-BcRD4sv_.js} +1 -333
  44. package/dist/DateRange-BkGu5vJl.js +1 -0
  45. package/dist/Dialog-CQSNeqgY.js +1 -0
  46. package/dist/DiffEditor-DU9deT5c.js +1 -0
  47. package/dist/Divider-CYwXWwc5.js +1 -0
  48. package/dist/Drawer-DmUqxMKd.js +1 -0
  49. package/dist/DropDownButton-C0e2mksC.js +1 -0
  50. package/dist/Each-Bnhdfx44.js +1 -0
  51. package/dist/FieldSet-BRfWbiPG.js +1 -0
  52. package/dist/FieldSet-f-m_bp4h.js +1 -0
  53. package/dist/Flex-C0c49ZMP.js +1 -0
  54. package/dist/Formula-C82aVdAD.js +1 -0
  55. package/dist/Grid2D-BJPrAz8w.js +1 -0
  56. package/dist/GridNav-DCCBgvz1.js +1 -0
  57. package/dist/Group-D_2Fn4zB.js +1 -0
  58. package/dist/HBox-CG3Ad5us.js +1 -0
  59. package/dist/HBox-CRrACS8I.js +1 -0
  60. package/dist/Hidden-SaNCTMlZ.js +1 -0
  61. package/dist/IFrame-2LIicqpq.js +1 -0
  62. package/dist/Icon-3_vNko-P.js +1 -0
  63. package/dist/IconPicker-DAMClR_z.js +1 -0
  64. package/dist/IconPickerIcons-DN0pqJHt.js +1 -0
  65. package/dist/IconSelect-CHM0oHqd.js +1 -0
  66. package/dist/IconSelectStore-MNwivoh-.js +1 -0
  67. package/dist/Image-Br7JbiAF.js +1 -0
  68. package/dist/Image-hHgZkb5C.js +1 -0
  69. package/dist/Images-ZGJfaN-q.js +1 -0
  70. package/dist/InputArray-D3y772RO.js +1 -0
  71. package/dist/InputCity-CF6mEwuH.js +1 -0
  72. package/dist/InputColor-CYmzXu5I.js +1 -0
  73. package/dist/InputDate-BldJd84x.js +1 -0
  74. package/dist/InputDateRange-KzSlI2fv.js +1 -0
  75. package/dist/InputExcel-CJZWvZFT.js +1 -0
  76. package/dist/InputFile-C0FUNeFM.js +1 -0
  77. package/dist/InputFile-DFjvYmV3.js +1 -0
  78. package/dist/InputFormula-BKxq41uR.js +1 -0
  79. package/dist/InputGroup-wvaymJ-V.js +1 -0
  80. package/dist/InputImage-CLuXGhoy.js +1 -0
  81. package/dist/InputImage-DasZBpb-.js +1 -0
  82. package/dist/InputMonthRange-DVRnBZ4I.js +1 -0
  83. package/dist/InputNumber-BjzsM73z.js +1 -0
  84. package/dist/InputQuarterRange-DQuiFCOb.js +1 -0
  85. package/dist/InputRange-C97bKrW6.js +1 -0
  86. package/dist/InputRating-CpFNTZKA.js +1 -0
  87. package/dist/InputRepeat-CN2KxX7g.js +1 -0
  88. package/dist/InputRichText-BXjRSQFh.js +1 -0
  89. package/dist/InputRichText-DdyJFH82.js +1 -0
  90. package/dist/InputSignature-CsxuK757.js +1 -0
  91. package/dist/InputSubForm-Ddweo6dR.js +1 -0
  92. package/dist/InputTable-Bt8U_tyA.js +1 -0
  93. package/dist/InputTag-kg2v747D.js +1 -0
  94. package/dist/InputText-bKR0VgA6.js +1 -0
  95. package/dist/InputTree-DbdS4b2m.js +1 -0
  96. package/dist/InputVerificationCode-DcFJRWeR.js +1 -0
  97. package/dist/InputYearRange-ChXlMgCi.js +1 -0
  98. package/dist/JSONSchema-C_VjFVVN.js +1 -0
  99. package/dist/JSONSchemaEditor-CEgywCvJ.js +1 -0
  100. package/dist/Json-DqjhkjHF.js +1 -0
  101. package/dist/Link-9hUnE5FW.js +1 -0
  102. package/dist/List-BBntusL0.js +1 -0
  103. package/dist/List-C8nPjG1-.js +1 -0
  104. package/dist/ListSelect-lX84FGAP.js +1 -0
  105. package/dist/LocationPicker-DnA8QpYh.js +1 -0
  106. package/dist/Log-CRxPlj86.js +1 -0
  107. package/dist/Mapping-X2IRbppi.js +1 -0
  108. package/dist/Markdown-BlxcmdTl.js +1 -0
  109. package/dist/Markdown-ByuMaB2P.js +1 -0
  110. package/dist/MatrixCheckboxes-BvBU1E-4.js +1 -0
  111. package/dist/MultilineText-BmbIytvk.js +1 -0
  112. package/dist/Nav-BxS7kBh9.js +1 -0
  113. package/dist/NestedSelect-CbWnin5b.js +1 -0
  114. package/dist/Number-CGYpvopX.js +1 -0
  115. package/dist/OfficeViewer-DBFFaH5P.js +1 -0
  116. package/dist/Operation-j5yIUDkZ.js +1 -0
  117. package/dist/Page-CJ2gK3vA.js +1 -0
  118. package/dist/Pagination-BDEmomCQ.js +1 -0
  119. package/dist/PaginationWrapper-Bnsk8oIg.js +1 -0
  120. package/dist/Panel-DKpM1Qfc.js +1 -0
  121. package/dist/Password-CzHAzi8M.js +1 -0
  122. package/dist/Picker-D5WVPGTg.js +1 -0
  123. package/dist/Plain-oyGNzh1N.js +1 -0
  124. package/dist/PopUp-DaheG-Vv.js +104 -0
  125. package/dist/Portlet-dA2P7U6i.js +1 -0
  126. package/dist/Progress-D2LXKzUA.js +1 -0
  127. package/dist/Property-CekATdUy.js +1 -0
  128. package/dist/QRCode-DPoyEXK3.js +2 -0
  129. package/dist/Radio-HhPQKIKk.js +1 -0
  130. package/dist/Radios-DVzovX2u.js +1 -0
  131. package/dist/Remark-CHTOdmdn.js +1 -0
  132. package/dist/Remark-bXVj7ffU.js +1 -0
  133. package/dist/RichText-wfPXQmb8.js +1 -0
  134. package/dist/SearchBox-Jlwq8w3o.js +1 -0
  135. package/dist/Select-DCB0i1Ga.js +1 -0
  136. package/dist/Service-Bmfl8VSD.js +1 -0
  137. package/dist/Shape-5ZBBe1x0.js +1 -0
  138. package/dist/Slider-pb5I0Xb2.js +1 -0
  139. package/dist/SparkLine-C4x34-6K.js +1 -0
  140. package/dist/Spinner-SR1wYU_1.js +1 -0
  141. package/dist/StaticHoc-DVc-5HZA.js +1 -0
  142. package/dist/Status-7D4DBjk6.js +1 -0
  143. package/dist/Steps-Dd_3MM0y.js +1 -0
  144. package/dist/Switch-CZqzJH45.js +1 -0
  145. package/dist/SwitchContainer-L7IwrheV.js +1 -0
  146. package/dist/Table-CYUuVDxA.js +1 -0
  147. package/dist/Table-D-9NfAqg.js +1 -0
  148. package/dist/Table2-CIZ93hrj.js +1 -0
  149. package/dist/TableView-CigjcDJc.js +1 -0
  150. package/dist/Tabs-Cljj-nTv.js +1 -0
  151. package/dist/TabsTransfer-BXwrW4NX.js +1 -0
  152. package/dist/TabsTransferPicker-DB005nER.js +1 -0
  153. package/dist/Tag-CcfwT8FM.js +1 -0
  154. package/dist/Tasks-DeVW2Tdg.js +1 -0
  155. package/dist/Textarea-zsHcK0rZ.js +1 -0
  156. package/dist/Timeline-D_3FRzUa.js +1 -0
  157. package/dist/TooltipWrapper-BElQhX67.js +1 -0
  158. package/dist/Tpl-OPfW08Kh.js +1 -0
  159. package/dist/Transfer-Cx1Ijzfh.js +1 -0
  160. package/dist/Transfer-DboPBh8V.js +1 -0
  161. package/dist/TransferPicker-xlJfwHxP.js +1 -0
  162. package/dist/TreeSelect-BTKg9Ldf.js +1 -0
  163. package/dist/UUID-BkwpeiT9.js +1 -0
  164. package/dist/UserSelect-CsY5PQp9.js +1 -0
  165. package/dist/VBox-Ca4DBR6-.js +1 -0
  166. package/dist/Video-CXzxq3vU.js +1 -0
  167. package/dist/WebComponent-DYxJeu6a.js +1 -0
  168. package/dist/Wizard-fqzq2OCn.js +1 -0
  169. package/dist/Words-V70QrARW.js +1 -0
  170. package/dist/Wrapper-BtFbBBXy.js +1 -0
  171. package/dist/_getTag-x788Ng9o.js +1 -0
  172. package/dist/beneficiary-form-BmmdIRc0.js +10 -0
  173. package/dist/client-BoE-UyzU.js +1 -0
  174. package/dist/crypto-js-Cv2Y8hvs.js +1 -0
  175. package/dist/doc-CmSOujco.js +1 -0
  176. package/dist/es-DY5--nMG.js +1 -0
  177. package/dist/esm-BMvKJM5q.js +4 -0
  178. package/dist/esm-BbZME5Ac.js +28 -0
  179. package/dist/esm-DyRrwLZv.js +1 -0
  180. package/dist/function-C8ta9DKb.js +3 -0
  181. package/dist/index.css +1 -1
  182. package/dist/index.js +1 -96
  183. package/dist/isEqual-BxlJ5vH7.js +1 -0
  184. package/dist/main-CLaM-mkN.js +1 -0
  185. package/dist/mi18n-react.esm-BFa-Q7wX.js +1 -0
  186. package/dist/objectSpread2-BCtAXXta.js +1 -0
  187. package/dist/omitBy-NMzUUhXs.js +1 -0
  188. package/dist/papaparse.min-CU0u_rom.js +1 -0
  189. package/dist/react-BW4ssgUo.js +1 -0
  190. package/dist/react-cropper.es-zEJdZmmN.js +1 -0
  191. package/dist/react-dom-DmgFzc6z.js +1 -0
  192. package/dist/rolldown-runtime-DcYi-9oA.js +1 -0
  193. package/dist/tslib.es6-C2q27PUR.js +1 -0
  194. package/dist/xor-CSkTraTY.js +1 -0
  195. package/package.json +23 -17
  196. package/dist/AMIS--SZXSfKF.js +0 -23
  197. package/dist/Action-D7O1nxY2.js +0 -10
  198. package/dist/Action-DpRShNiD.js +0 -646
  199. package/dist/Alert-sakO0sgo.js +0 -34
  200. package/dist/AnchorNav-1OrNpCPU.js +0 -88
  201. package/dist/App-mzRv6t1L.js +0 -213
  202. package/dist/Audio-CmGRzA8C.js +0 -324
  203. package/dist/Avatar-C0g_Dcsr.js +0 -75
  204. package/dist/BarCode-Bgr2-a69.js +0 -35
  205. package/dist/BarCode-f_fuunrs.js +0 -2708
  206. package/dist/Breadcrumb-3pb8787J.js +0 -38
  207. package/dist/ButtonGroup-DBJgP_U6.js +0 -16
  208. package/dist/ButtonGroupSelect-BV8FHgm0.js +0 -93
  209. package/dist/ButtonGroupSelect-Cl2irnYh.js +0 -8
  210. package/dist/ButtonToolbar-DMCBgh9w.js +0 -36
  211. package/dist/CRUD-DFP1DIcc.js +0 -1048
  212. package/dist/CRUD2-BGpsdJ3D.js +0 -660
  213. package/dist/Calendar-D_aFq70_.js +0 -18
  214. package/dist/Card-C54K-VRd.js +0 -14
  215. package/dist/Card-FmRg7dLO.js +0 -346
  216. package/dist/Card2-Blr9gGoC.js +0 -68
  217. package/dist/Cards-B7J3bYtx.js +0 -485
  218. package/dist/Carousel-Ba4JeK7n.js +0 -414
  219. package/dist/ChainedSelect-CUU7qCFQ.js +0 -212
  220. package/dist/Chart-BmOD9NEG.js +0 -276
  221. package/dist/ChartRadios-Bm7pnICh.js +0 -93
  222. package/dist/Checkbox-CcjG9Mv4.js +0 -157
  223. package/dist/Checkbox-yvPZaH8N.js +0 -10
  224. package/dist/Checkboxes-Babxqar9.js +0 -285
  225. package/dist/Code-B7FhTic-.js +0 -111
  226. package/dist/Collapse-BYdoEOZ2.js +0 -124
  227. package/dist/Collapse-C9riUcKK.js +0 -9
  228. package/dist/CollapseGroup-B7DmpWY1.js +0 -74
  229. package/dist/Color-BM1Qa0C1.js +0 -34
  230. package/dist/ColorPicker-BXmi_OWm.js +0 -5258
  231. package/dist/ColumnToggler-3QYyVjVf.js +0 -81
  232. package/dist/ColumnToggler-D0NlxwMq.js +0 -10
  233. package/dist/ColumnToggler-DLFwzPef.js +0 -228
  234. package/dist/Combo-BsouWVHB.js +0 -748
  235. package/dist/Combo-Cabifvbg.js +0 -9
  236. package/dist/ConditionBuilder-BacjsaTh.js +0 -113
  237. package/dist/Container-C5-66abH.js +0 -86
  238. package/dist/Control-krTArjIv.js +0 -38
  239. package/dist/Custom-DawY4LgO.js +0 -73
  240. package/dist/DateRange-D2lKQT_J.js +0 -34
  241. package/dist/Dialog-oNlQLXnk.js +0 -508
  242. package/dist/DiffEditor-DY8XdtJS.js +0 -104
  243. package/dist/Divider-BgpLhaqf.js +0 -70
  244. package/dist/Drawer-DslUxLot.js +0 -448
  245. package/dist/DropDownButton-BIuAagmC.js +0 -193
  246. package/dist/Each-CA8gaJkL.js +0 -79
  247. package/dist/FieldSet-Cg1pE5gA.js +0 -64
  248. package/dist/FieldSet-DVAa2H_Q.js +0 -10
  249. package/dist/Flex-Baz4bI9u.js +0 -99
  250. package/dist/Formula-ABhgdx_Q.js +0 -72
  251. package/dist/Grid2D-DmdOVnhu.js +0 -84
  252. package/dist/GridNav-lHAunT1M.js +0 -56
  253. package/dist/Group-7sGnjMli.js +0 -85
  254. package/dist/HBox-DxchKWfv.js +0 -7
  255. package/dist/HBox-s88aG83B.js +0 -48
  256. package/dist/Hidden-BrTWoL8d.js +0 -27
  257. package/dist/IFrame-DaZ1v2-9.js +0 -141
  258. package/dist/Icon-DNbdrsn8.js +0 -74
  259. package/dist/IconPicker-DqNlu5Zd.js +0 -230
  260. package/dist/IconPickerIcons-dHFcDHrv.js +0 -15
  261. package/dist/IconSelect-CvBITEcy.js +0 -254
  262. package/dist/IconSelectStore-CTqJPujB.js +0 -45
  263. package/dist/Image-BBs8tnny.js +0 -258
  264. package/dist/Image-DM9_Ii2b.js +0 -9
  265. package/dist/Images-cRmH380W.js +0 -377
  266. package/dist/InputArray-Dov-RBrP.js +0 -42
  267. package/dist/InputCity-owVpsIaD.js +0 -351
  268. package/dist/InputColor-DhVJhPp6.js +0 -53
  269. package/dist/InputDate-DLOwHbwT.js +0 -10
  270. package/dist/InputDate-DWaIvnAp.js +0 -292
  271. package/dist/InputDateRange-CnGNwIFe.js +0 -10
  272. package/dist/InputDateRange-Diqw3JLp.js +0 -170
  273. package/dist/InputExcel-BjWNYvnN.js +0 -427
  274. package/dist/InputFile-89BOwWJE.js +0 -601
  275. package/dist/InputFile-DOym0HDc.js +0 -10
  276. package/dist/InputFormula-CV5j31Ow.js +0 -75
  277. package/dist/InputGroup-C7O2ba0g.js +0 -112
  278. package/dist/InputImage-BF7DAF8L.js +0 -12
  279. package/dist/InputImage-DcsVQf7c.js +0 -834
  280. package/dist/InputMonthRange-BjD3hmwp.js +0 -76
  281. package/dist/InputNumber-DKMOkba-.js +0 -255
  282. package/dist/InputQuarterRange-DZKnkZ_s.js +0 -76
  283. package/dist/InputRange-DiHKf3tP.js +0 -266
  284. package/dist/InputRating-Bc8Od5b8.js +0 -115
  285. package/dist/InputRepeat-BhF5KVB2.js +0 -179
  286. package/dist/InputRichText-BBBdDFA2.js +0 -7
  287. package/dist/InputRichText-CieHn0fO.js +0 -198
  288. package/dist/InputSignature-CbfGjJlU.js +0 -495
  289. package/dist/InputSubForm-BkM_3Rjg.js +0 -236
  290. package/dist/InputTable-CgOqC6Pc.js +0 -900
  291. package/dist/InputTag-35kCFM5X.js +0 -464
  292. package/dist/InputText-BbEjGBtv.js +0 -541
  293. package/dist/InputTree-DchkyMbL.js +0 -311
  294. package/dist/InputVerificationCode-kMxc8wW7.js +0 -62
  295. package/dist/InputYearRange-WJKJeloR.js +0 -76
  296. package/dist/JSONSchema-Bs0EWcHb.js +0 -47
  297. package/dist/JSONSchemaEditor-BoAK9FOL.js +0 -66
  298. package/dist/Json-DFjy1HRw.js +0 -80
  299. package/dist/Link-nYGLB6gy.js +0 -57
  300. package/dist/List-D3183f4Z.js +0 -14
  301. package/dist/List-W3IAZR_6.js +0 -671
  302. package/dist/ListSelect-DWGbHVxd.js +0 -104
  303. package/dist/LocationPicker-2G9yOxtm.js +0 -121
  304. package/dist/Log-D6VU702y.js +0 -207
  305. package/dist/Mapping-BATMD_xR.js +0 -118
  306. package/dist/Markdown-Baxbu8lV.js +0 -53
  307. package/dist/Markdown-Cg-xahnQ.js +0 -6205
  308. package/dist/MatrixCheckboxes-B9hmFakW.js +0 -262
  309. package/dist/MultilineText-0fMQhUCY.js +0 -28
  310. package/dist/Nav-DHIehZOG.js +0 -639
  311. package/dist/NestedSelect-tQztH4PI.js +0 -517
  312. package/dist/Number-Cndoqeyx.js +0 -40
  313. package/dist/OfficeViewer-BVD_e5eZ.js +0 -169
  314. package/dist/Operation-DIv6n9dT.js +0 -36
  315. package/dist/Page-WoZtIIfk.js +0 -459
  316. package/dist/Pagination-DHvYHd_3.js +0 -61
  317. package/dist/PaginationWrapper-CtIJOXdw.js +0 -58
  318. package/dist/Panel-Dt4KQrKa.js +0 -156
  319. package/dist/Password-Wjfq7MSA.js +0 -45
  320. package/dist/Picker-Cu52ukRg.js +0 -488
  321. package/dist/Plain-DIlG753a.js +0 -62
  322. package/dist/PopUp-Bgkvnd4X.js +0 -2761
  323. package/dist/Portlet-3Nh2cWeq.js +0 -107
  324. package/dist/Progress-Dh2FTsky.js +0 -89
  325. package/dist/Property-DRSklFlT.js +0 -72
  326. package/dist/QRCode-BeUD-g8-.js +0 -1139
  327. package/dist/Radio-DrJJfNFI.js +0 -89
  328. package/dist/Radios-CL3mreXa.js +0 -176
  329. package/dist/Remark-Cmo-r6dp.js +0 -81
  330. package/dist/Remark-DuAbEmCW.js +0 -9
  331. package/dist/RichText-jkERm8rC.js +0 -13807
  332. package/dist/SearchBox-CTxSMcV2.js +0 -112
  333. package/dist/Select-D3LTuHwe.js +0 -362
  334. package/dist/Service-CN2v_Z9z.js +0 -347
  335. package/dist/Shape-Bi93tLCN.js +0 -37
  336. package/dist/Slider-C0jqeBGt.js +0 -78
  337. package/dist/SparkLine-Ce6-mdqG.js +0 -38
  338. package/dist/Spinner-DZDEct1A.js +0 -27
  339. package/dist/StaticHoc-BAdofX5w.js +0 -80
  340. package/dist/Status-CDC2e2_o.js +0 -93
  341. package/dist/Steps-CGyTaaVI.js +0 -271
  342. package/dist/Switch-QA0l7uEg.js +0 -100
  343. package/dist/SwitchContainer-zXvaPFlG.js +0 -93
  344. package/dist/Table-B8tWpiPU.js +0 -13
  345. package/dist/Table-DzGbNFxu.js +0 -3190
  346. package/dist/Table2-CQZ3und9.js +0 -1198
  347. package/dist/TableView-nlFBhvL1.js +0 -115
  348. package/dist/Tabs-XleB-2Mc.js +0 -487
  349. package/dist/TabsTransfer-CLLGXAkP.js +0 -188
  350. package/dist/TabsTransfer-Cs_Rg0TU.js +0 -11
  351. package/dist/TabsTransferPicker-VA3Vlla-.js +0 -99
  352. package/dist/Tag-tr5RKBfl.js +0 -75
  353. package/dist/Tasks-C2-ayUd-.js +0 -305
  354. package/dist/Textarea-_KbIxQet.js +0 -132
  355. package/dist/Timeline-CctoJRQo.js +0 -87
  356. package/dist/TooltipWrapper-BGNr8U2K.js +0 -83
  357. package/dist/Tpl-C28lpITc.js +0 -152
  358. package/dist/Transfer-Hjc9zR8W.js +0 -288
  359. package/dist/Transfer-tYS9Rx8U.js +0 -10
  360. package/dist/TransferPicker-C7Wzyuct.js +0 -123
  361. package/dist/TreeSelect-DAlWCEqs.js +0 -456
  362. package/dist/UUID-B5UZnlxW.js +0 -33
  363. package/dist/UserSelect-DqZZQB83.js +0 -170
  364. package/dist/VBox-C1OZZT8-.js +0 -38
  365. package/dist/Video-C1FRwLLL.js +0 -4068
  366. package/dist/WebComponent-g8Zc9zXp.js +0 -29
  367. package/dist/Wizard-DkqCsGz-.js +0 -585
  368. package/dist/Words-DUuKqyIf.js +0 -113
  369. package/dist/Wrapper-DmZ78GYG.js +0 -39
  370. package/dist/_getTag-CWmGzIun.js +0 -509
  371. package/dist/beneficiary-form-DCl2L16P.js +0 -3773
  372. package/dist/client-BEyTOBXT.js +0 -26
  373. package/dist/crypto-js-DUFYRUag.js +0 -3694
  374. package/dist/doc-B-Im0Knb.js +0 -1731
  375. package/dist/es-CsUppg1O.js +0 -837
  376. package/dist/esm-Cj_BRpNI.js +0 -35832
  377. package/dist/esm-DEyK_c3W.js +0 -25349
  378. package/dist/esm-SCCPj-cs.js +0 -93004
  379. package/dist/function-CNJMA2ft.js +0 -3151
  380. package/dist/isEqual-E2NjjS0_.js +0 -641
  381. package/dist/main-Bf7MY24z.js +0 -4475
  382. package/dist/mi18n-react.esm-y-nzmW0A.js +0 -1138
  383. package/dist/objectSpread2-smpSKONV.js +0 -27
  384. package/dist/omitBy-CD5n2TA7.js +0 -39
  385. package/dist/papaparse.min-3xa9r8Qi.js +0 -496
  386. package/dist/react-RxxVsDMo.js +0 -1205
  387. package/dist/react-cropper.es-anJ2KE7h.js +0 -1260
  388. package/dist/react-dom-D1mxcNoQ.js +0 -16864
  389. package/dist/react-g40aymqL.js +0 -2
  390. package/dist/rolldown-runtime-DwW8Tac2.js +0 -21
  391. package/dist/tslib.es6-DJiA3ePV.js +0 -170
  392. package/dist/xor-D-ggRBpm.js +0 -20
@@ -0,0 +1 @@
1
+ import{t as e}from"./rolldown-runtime-DcYi-9oA.js";var t=/* @__PURE__ */e(e=>{var t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),i=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),l=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.iterator,d={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y=Object.assign,m={};function h(e,t,r){this.props=e,this.context=t,this.refs=m,this.updater=r||d}function v(){}function b(e,t,r){this.props=e,this.context=t,this.refs=m,this.updater=r||d}h.prototype.isReactComponent={},h.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},h.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=h.prototype;var g=b.prototype=new v;g.constructor=b,y(g,h.prototype),g.isPureReactComponent=!0;var _=Array.isArray,w=Object.prototype.hasOwnProperty,S={current:null},k={key:!0,ref:!0,__self:!0,__source:!0};function C(e,r,n){var o,a={},u=null,i=null;if(null!=r)for(o in void 0!==r.ref&&(i=r.ref),void 0!==r.key&&(u=""+r.key),r)w.call(r,o)&&!k.hasOwnProperty(o)&&(a[o]=r[o]);var c=arguments.length-2;if(1===c)a.children=n;else if(1<c){for(var s=Array(c),l=0;l<c;l++)s[l]=arguments[l+2];a.children=s}if(e&&e.defaultProps)for(o in c=e.defaultProps)void 0===a[o]&&(a[o]=c[o]);return{$$typeof:t,type:e,key:u,ref:i,props:a,_owner:S.current}}function R(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}var O=/\/+/g;function E(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(e){return t[e]})}(""+e.key):t.toString(36)}function j(e,n,o,a,u){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var c=!1;if(null===e)c=!0;else switch(i){case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case t:case r:c=!0}}if(c)return u=u(c=e),e=""===a?"."+E(c,0):a,_(u)?(o="",null!=e&&(o=e.replace(O,"$&/")+"/"),j(u,n,o,"",function(e){return e})):null!=u&&(R(u)&&(u=function(e,r){return{$$typeof:t,type:e.type,key:r,ref:e.ref,props:e.props,_owner:e._owner}}(u,o+(!u.key||c&&c.key===u.key?"":(""+u.key).replace(O,"$&/")+"/")+e)),n.push(u)),1;if(c=0,a=""===a?".":a+":",_(e))for(var s=0;s<e.length;s++){var l=a+E(i=e[s],s);c+=j(i,n,o,l,u)}else if(l=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"==typeof l)for(e=l.call(e),s=0;!(i=e.next()).done;)c+=j(i=i.value,n,o,l=a+E(i,s++),u);else if("object"===i)throw n=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.");return c}function P(e,t,r){if(null==e)return e;var n=[],o=0;return j(e,n,"","",function(e){return t.call(r,e,o++)}),n}function $(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var T={current:null},x={transition:null},D={ReactCurrentDispatcher:T,ReactCurrentBatchConfig:x,ReactCurrentOwner:S};function I(){throw Error("act(...) is not supported in production builds of React.")}e.Children={map:P,forEach:function(e,t,r){P(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return P(e,function(){t++}),t},toArray:function(e){return P(e,function(e){return e})||[]},only:function(e){if(!R(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},e.Component=h,e.Fragment=n,e.Profiler=a,e.PureComponent=b,e.StrictMode=o,e.Suspense=s,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=D,e.act=I,e.cloneElement=function(e,r,n){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=y({},e.props),a=e.key,u=e.ref,i=e._owner;if(null!=r){if(void 0!==r.ref&&(u=r.ref,i=S.current),void 0!==r.key&&(a=""+r.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(s in r)w.call(r,s)&&!k.hasOwnProperty(s)&&(o[s]=void 0===r[s]&&void 0!==c?c[s]:r[s])}var s=arguments.length-2;if(1===s)o.children=n;else if(1<s){c=Array(s);for(var l=0;l<s;l++)c[l]=arguments[l+2];o.children=c}return{$$typeof:t,type:e.type,key:a,ref:u,props:o,_owner:i}},e.createContext=function(e){return(e={$$typeof:i,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:u,_context:e},e.Consumer=e},e.createElement=C,e.createFactory=function(e){var t=C.bind(null,e);return t.type=e,t},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=R,e.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:$}},e.memo=function(e,t){return{$$typeof:l,type:e,compare:void 0===t?null:t}},e.startTransition=function(e){var t=x.transition;x.transition={};try{e()}finally{x.transition=t}},e.unstable_act=I,e.useCallback=function(e,t){return T.current.useCallback(e,t)},e.useContext=function(e){return T.current.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e){return T.current.useDeferredValue(e)},e.useEffect=function(e,t){return T.current.useEffect(e,t)},e.useId=function(){return T.current.useId()},e.useImperativeHandle=function(e,t,r){return T.current.useImperativeHandle(e,t,r)},e.useInsertionEffect=function(e,t){return T.current.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return T.current.useLayoutEffect(e,t)},e.useMemo=function(e,t){return T.current.useMemo(e,t)},e.useReducer=function(e,t,r){return T.current.useReducer(e,t,r)},e.useRef=function(e){return T.current.useRef(e)},e.useState=function(e){return T.current.useState(e)},e.useSyncExternalStore=function(e,t,r){return T.current.useSyncExternalStore(e,t,r)},e.useTransition=function(){return T.current.useTransition()},e.version="18.3.1"}),r=/* @__PURE__ */e((e,t)=>{"production"!==process.env.NODE_ENV&&function(){"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(/* @__PURE__ */new Error);var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),c=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),y=Symbol.for("react.offscreen"),m=Symbol.iterator;function h(e){if(null===e||"object"!=typeof e)return null;var t=m&&e[m]||e["@@iterator"];return"function"==typeof t?t:null}var v={current:null},b={transition:null},g={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},_={current:null},w={},S=null;function k(e){S=e}w.setExtraStackFrame=function(e){S=e},w.getCurrentStack=null,w.getStackAddendum=function(){var e="";S&&(e+=S);var t=w.getCurrentStack;return t&&(e+=t()||""),e};var C={ReactCurrentDispatcher:v,ReactCurrentBatchConfig:b,ReactCurrentOwner:_};function R(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];E("warn",e,r)}function O(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];E("error",e,r)}function E(e,t,r){var n=C.ReactDebugCurrentFrame.getStackAddendum();""!==n&&(t+="%s",r=r.concat([n]));var o=r.map(function(e){return String(e)});o.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,o)}C.ReactDebugCurrentFrame=w,C.ReactCurrentActQueue=g;var j={};function P(e,t){var r=e.constructor,n=r&&(r.displayName||r.name)||"ReactClass",o=n+"."+t;j[o]||(O("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",t,n),j[o]=!0)}var $={isMounted:function(e){return!1},enqueueForceUpdate:function(e,t,r){P(e,"forceUpdate")},enqueueReplaceState:function(e,t,r,n){P(e,"replaceState")},enqueueSetState:function(e,t,r,n){P(e,"setState")}},T=Object.assign,x={};function D(e,t,r){this.props=e,this.context=t,this.refs=x,this.updater=r||$}Object.freeze(x),D.prototype.isReactComponent={},D.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},D.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var I={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},L=function(e,t){Object.defineProperty(D.prototype,e,{get:function(){R("%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})};for(var N in I)I.hasOwnProperty(N)&&L(N,I[N]);function A(){}function F(e,t,r){this.props=e,this.context=t,this.refs=x,this.updater=r||$}A.prototype=D.prototype;var M=F.prototype=new A;M.constructor=F,T(M,D.prototype),M.isPureReactComponent=!0;var V=Array.isArray;function U(e){return V(e)}function z(e){return""+e}function q(e){if(function(e){try{return z(e),!1}catch(t){return!0}}(e))return O("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",function(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}(e)),z(e)}function B(e){return e.displayName||"Context"}function Y(e){if(null==e)return null;if("number"==typeof e.tag&&O("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case o:return"Fragment";case n:return"Portal";case u:return"Profiler";case a:return"StrictMode";case l:return"Suspense";case f:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case c:return B(e)+".Consumer";case i:return B(e._context)+".Provider";case s:return function(e,t,r){var n=e.displayName;if(n)return n;var o=t.displayName||t.name||"";return""!==o?r+"("+o+")":r}(e,e.render,"ForwardRef");case p:var t=e.displayName||null;return null!==t?t:Y(e.type)||"Memo";case d:var r=e,y=r._payload,m=r._init;try{return Y(m(y))}catch(h){return null}}return null}var H,W,G=Object.prototype.hasOwnProperty,K={key:!0,ref:!0,__self:!0,__source:!0},J={};function X(e){if(G.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}function Q(e){if(G.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}var Z=function(e,t,n,o,a,u,i){var c={$$typeof:r,type:e,key:t,ref:n,props:i,_owner:u,_store:{}};return Object.defineProperty(c._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(c,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(c,"_source",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.freeze&&(Object.freeze(c.props),Object.freeze(c)),c};function ee(e,t,r){var n,o={},a=null,u=null,i=null,c=null;if(null!=t)for(n in X(t)&&(u=t.ref,function(e){if("string"==typeof e.ref&&_.current&&e.__self&&_.current.stateNode!==e.__self){var t=Y(_.current.type);J[t]||(O('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',t,e.ref),J[t]=!0)}}(t)),Q(t)&&(q(t.key),a=""+t.key),i=void 0===t.__self?null:t.__self,c=void 0===t.__source?null:t.__source,t)G.call(t,n)&&!K.hasOwnProperty(n)&&(o[n]=t[n]);var s=arguments.length-2;if(1===s)o.children=r;else if(s>1){for(var l=Array(s),f=0;f<s;f++)l[f]=arguments[f+2];Object.freeze&&Object.freeze(l),o.children=l}if(e&&e.defaultProps){var p=e.defaultProps;for(n in p)void 0===o[n]&&(o[n]=p[n])}if(a||u){var d="function"==typeof e?e.displayName||e.name||"Unknown":e;a&&function(e,t){var r=function(){H||(H=!0,O("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}(o,d),u&&function(e,t){var r=function(){W||(W=!0,O("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};r.isReactWarning=!0,Object.defineProperty(e,"ref",{get:r,configurable:!0})}(o,d)}return Z(e,a,u,i,c,_.current,o)}function te(e,t,r){if(null==e)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var n,o,a=T({},e.props),u=e.key,i=e.ref,c=e._self,s=e._source,l=e._owner;if(null!=t)for(n in X(t)&&(i=t.ref,l=_.current),Q(t)&&(q(t.key),u=""+t.key),e.type&&e.type.defaultProps&&(o=e.type.defaultProps),t)G.call(t,n)&&!K.hasOwnProperty(n)&&(void 0===t[n]&&void 0!==o?a[n]=o[n]:a[n]=t[n]);var f=arguments.length-2;if(1===f)a.children=r;else if(f>1){for(var p=Array(f),d=0;d<f;d++)p[d]=arguments[d+2];a.children=p}return Z(e.type,u,i,c,s,l,a)}function re(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}var ne=!1,oe=/\/+/g;function ae(e){return e.replace(oe,"$&/")}function ue(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(q(e.key),r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,function(e){return n[e]})):t.toString(36);var r,n}function ie(e,t,o,a,u){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var c,s,l,f=!1;if(null===e)f=!0;else switch(i){case"string":case"number":f=!0;break;case"object":switch(e.$$typeof){case r:case n:f=!0}}if(f){var p=e,d=u(p),y=""===a?"."+ue(p,0):a;if(U(d)){var m="";null!=y&&(m=ae(y)+"/"),ie(d,t,m,"",function(e){return e})}else null!=d&&(re(d)&&(!d.key||p&&p.key===d.key||q(d.key),c=d,s=o+(!d.key||p&&p.key===d.key?"":ae(""+d.key)+"/")+y,d=Z(c.type,s,c.ref,c._self,c._source,c._owner,c.props)),t.push(d));return 1}var v=0,b=""===a?".":a+":";if(U(e))for(var g=0;g<e.length;g++)v+=ie(l=e[g],t,o,b+ue(l,g),u);else{var _=h(e);if("function"==typeof _){var w=e;_===w.entries&&(ne||R("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ne=!0);for(var S,k=_.call(w),C=0;!(S=k.next()).done;)v+=ie(l=S.value,t,o,b+ue(l,C++),u)}else if("object"===i){var O=String(e);throw new Error("Objects are not valid as a React child (found: "+("[object Object]"===O?"object with keys {"+Object.keys(e).join(", ")+"}":O)+"). If you meant to render a collection of children, use an array instead.")}}return v}function ce(e,t,r){if(null==e)return e;var n=[],o=0;return ie(e,n,"","",function(e){return t.call(r,e,o++)}),n}function se(e){if(-1===e._status){var t=(0,e._result)();if(t.then(function(t){if(0===e._status||-1===e._status){var r=e;r._status=1,r._result=t}},function(t){if(0===e._status||-1===e._status){var r=e;r._status=2,r._result=t}}),-1===e._status){var r=e;r._status=0,r._result=t}}if(1===e._status){var n=e._result;return void 0===n&&O("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?",n),"default"in n||O("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",n),n.default}throw e._result}var le=Symbol.for("react.module.reference");function fe(e){return"string"==typeof e||"function"==typeof e||e===o||e===u||e===a||e===l||e===f||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===p||e.$$typeof===i||e.$$typeof===c||e.$$typeof===s||e.$$typeof===le||void 0!==e.getModuleId)}function pe(){var e=v.current;return null===e&&O("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem."),e}var de,ye,me,he,ve,be,ge,_e=0;function we(){}we.__reactDisabledLog=!0;var Se,ke=C.ReactCurrentDispatcher;function Ce(e,t,r){if(void 0===Se)try{throw Error()}catch(o){var n=o.stack.trim().match(/\n( *(at )?)/);Se=n&&n[1]||""}return"\n"+Se+e}var Re=!1,Oe=new("function"==typeof WeakMap?WeakMap:Map);function Ee(e,t){if(!e||Re)return"";var r,n=Oe.get(e);if(void 0!==n)return n;Re=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var a=ke.current;ke.current=null,function(){if(0===_e){de=console.log,ye=console.info,me=console.warn,he=console.error,ve=console.group,be=console.groupCollapsed,ge=console.groupEnd;var e={configurable:!0,enumerable:!0,value:we,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}_e++}();try{if(t){var u=function(){throw Error()};if(Object.defineProperty(u.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(u,[])}catch(y){r=y}Reflect.construct(e,[],u)}else{try{u.call()}catch(y){r=y}e.call(u.prototype)}}else{try{throw Error()}catch(y){r=y}e()}}catch(m){if(m&&r&&"string"==typeof m.stack){for(var i=m.stack.split("\n"),c=r.stack.split("\n"),s=i.length-1,l=c.length-1;s>=1&&l>=0&&i[s]!==c[l];)l--;for(;s>=1&&l>=0;s--,l--)if(i[s]!==c[l]){if(1!==s||1!==l)do{if(s--,--l<0||i[s]!==c[l]){var f="\n"+i[s].replace(" at new "," at ");return e.displayName&&f.includes("<anonymous>")&&(f=f.replace("<anonymous>",e.displayName)),"function"==typeof e&&Oe.set(e,f),f}}while(s>=1&&l>=0);break}}}finally{Re=!1,ke.current=a,function(){if(0===--_e){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:T({},e,{value:de}),info:T({},e,{value:ye}),warn:T({},e,{value:me}),error:T({},e,{value:he}),group:T({},e,{value:ve}),groupCollapsed:T({},e,{value:be}),groupEnd:T({},e,{value:ge})})}_e<0&&O("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=o}var p=e?e.displayName||e.name:"",d=p?Ce(p):"";return"function"==typeof e&&Oe.set(e,d),d}function je(e,t,r){if(null==e)return"";if("function"==typeof e)return Ee(e,function(e){var t=e.prototype;return!(!t||!t.isReactComponent)}(e));if("string"==typeof e)return Ce(e);switch(e){case l:return Ce("Suspense");case f:return Ce("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case s:return Ee(e.render,!1);case p:return je(e.type,t,r);case d:var n=e,o=n._payload,a=n._init;try{return je(a(o),t,r)}catch(u){}}return""}var Pe={},$e=C.ReactDebugCurrentFrame;function Te(e){if(e){var t=e._owner,r=je(e.type,e._source,t?t.type:null);$e.setExtraStackFrame(r)}else $e.setExtraStackFrame(null)}function xe(e){if(e){var t=e._owner;k(je(e.type,e._source,t?t.type:null))}else k(null)}var De=!1;function Ie(){if(_.current){var e=Y(_.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}var Le={};function Ne(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var r=function(e){var t=Ie();if(!t){var r="string"==typeof e?e:e.displayName||e.name;r&&(t="\n\nCheck the top-level render call using <"+r+">.")}return t}(t);if(!Le[r]){Le[r]=!0;var n="";e&&e._owner&&e._owner!==_.current&&(n=" It was passed a child from "+Y(e._owner.type)+"."),xe(e),O('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',r,n),xe(null)}}}function Ae(e,t){if("object"==typeof e)if(U(e))for(var r=0;r<e.length;r++){var n=e[r];re(n)&&Ne(n,t)}else if(re(e))e._store&&(e._store.validated=!0);else if(e){var o=h(e);if("function"==typeof o&&o!==e.entries)for(var a,u=o.call(e);!(a=u.next()).done;)re(a.value)&&Ne(a.value,t)}}function Fe(e){var t=e.type;if(null!=t&&"string"!=typeof t){var r;if("function"==typeof t)r=t.propTypes;else{if("object"!=typeof t||t.$$typeof!==s&&t.$$typeof!==p)return;r=t.propTypes}if(r){var n=Y(t);!function(e,t,r,n,o){var a=Function.call.bind(G);for(var u in e)if(a(e,u)){var i=void 0;try{if("function"!=typeof e[u]){var c=Error((n||"React class")+": "+r+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw c.name="Invariant Violation",c}i=e[u](t,u,n,r,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(s){i=s}!i||i instanceof Error||(Te(o),O("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",r,u,typeof i),Te(null)),i instanceof Error&&!(i.message in Pe)&&(Pe[i.message]=!0,Te(o),O("Failed %s type: %s",r,i.message),Te(null))}}(r,e.props,"prop",n,e)}else void 0===t.PropTypes||De||(De=!0,O("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Y(t)||"Unknown"));"function"!=typeof t.getDefaultProps||t.getDefaultProps.isReactClassApproved||O("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Me(e,t,n){var a,u,i=fe(e);if(!i){var c,s="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(s+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),s+=(null!=(a=t)&&void 0!==(u=a.__source)?"\n\nCheck your code at "+u.fileName.replace(/^.*[\\\/]/,"")+":"+u.lineNumber+".":"")||Ie(),null===e?c="null":U(e)?c="array":void 0!==e&&e.$$typeof===r?(c="<"+(Y(e.type)||"Unknown")+" />",s=" Did you accidentally export a JSX literal instead of a component?"):c=typeof e,O("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",c,s)}var l=ee.apply(this,arguments);if(null==l)return l;if(i)for(var f=2;f<arguments.length;f++)Ae(arguments[f],e);return e===o?function(e){for(var t=Object.keys(e.props),r=0;r<t.length;r++){var n=t[r];if("children"!==n&&"key"!==n){xe(e),O("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),xe(null);break}}null!==e.ref&&(xe(e),O("Invalid attribute `ref` supplied to `React.Fragment`."),xe(null))}(l):Fe(l),l}var Ve=!1,Ue=!1,ze=null,qe=0,Be=!1;function Ye(e){var t=qe;qe++,null===g.current&&(g.current=[]);var r,n=g.isBatchingLegacy;try{if(g.isBatchingLegacy=!0,r=e(),!n&&g.didScheduleLegacyUpdate){var o=g.current;null!==o&&(g.didScheduleLegacyUpdate=!1,Ke(o))}}catch(O){throw He(t),O}finally{g.isBatchingLegacy=n}if(null!==r&&"object"==typeof r&&"function"==typeof r.then){var a=r,u=!1,i={then:function(e,r){u=!0,a.then(function(n){He(t),0===qe?We(n,e,r):e(n)},function(e){He(t),r(e)})}};return Be||"undefined"==typeof Promise||Promise.resolve().then(function(){}).then(function(){u||(Be=!0,O("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),i}var c=r;if(He(t),0===qe){var s=g.current;return null!==s&&(Ke(s),g.current=null),{then:function(e,t){null===g.current?(g.current=[],We(c,e,t)):e(c)}}}return{then:function(e,t){e(c)}}}function He(e){e!==qe-1&&O("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),qe=e}function We(e,r,n){var o=g.current;if(null!==o)try{Ke(o),function(){if(null===ze)try{var a=("require"+Math.random()).slice(0,7);ze=(t&&t[a]).call(t,"timers").setImmediate}catch(u){ze=function(e){!1===Ue&&(Ue=!0,"undefined"==typeof MessageChannel&&O("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(void 0)}}ze(function(){0===o.length?(g.current=null,r(e)):We(e,r,n)})}()}catch(O){n(O)}else r(e)}var Ge=!1;function Ke(e){if(!Ge){Ge=!0;var t=0;try{for(;t<e.length;t++){var r=e[t];do{r=r(!0)}while(null!==r)}e.length=0}catch(O){throw e=e.slice(t+1),O}finally{Ge=!1}}}var Je=Me,Xe={map:ce,forEach:function(e,t,r){ce(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return ce(e,function(){t++}),t},toArray:function(e){return ce(e,function(e){return e})||[]},only:function(e){if(!re(e))throw new Error("React.Children.only expected to receive a single React element child.");return e}};e.Children=Xe,e.Component=D,e.Fragment=o,e.Profiler=u,e.PureComponent=F,e.StrictMode=a,e.Suspense=l,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=C,e.act=Ye,e.cloneElement=function(e,t,r){for(var n=te.apply(this,arguments),o=2;o<arguments.length;o++)Ae(arguments[o],n.type);return Fe(n),n},e.createContext=function(e){var t={$$typeof:c,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};t.Provider={$$typeof:i,_context:t};var r=!1,n=!1,o=!1,a={$$typeof:c,_context:t};return Object.defineProperties(a,{Provider:{get:function(){return n||(n=!0,O("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),t.Provider},set:function(e){t.Provider=e}},_currentValue:{get:function(){return t._currentValue},set:function(e){t._currentValue=e}},_currentValue2:{get:function(){return t._currentValue2},set:function(e){t._currentValue2=e}},_threadCount:{get:function(){return t._threadCount},set:function(e){t._threadCount=e}},Consumer:{get:function(){return r||(r=!0,O("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),t.Consumer}},displayName:{get:function(){return t.displayName},set:function(e){o||(R("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",e),o=!0)}}}),t.Consumer=a,t._currentRenderer=null,t._currentRenderer2=null,t},e.createElement=Je,e.createFactory=function(e){var t=Me.bind(null,e);return t.type=e,Ve||(Ve=!0,R("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(t,"type",{enumerable:!1,get:function(){return R("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:e}),e}}),t},e.createRef=function(){var e={current:null};return Object.seal(e),e},e.forwardRef=function(e){null!=e&&e.$$typeof===p?O("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):"function"!=typeof e?O("forwardRef requires a render function but was given %s.",null===e?"null":typeof e):0!==e.length&&2!==e.length&&O("forwardRef render functions accept exactly two parameters: props and ref. %s",1===e.length?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),null!=e&&(null==e.defaultProps&&null==e.propTypes||O("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"));var t,r={$$typeof:s,render:e};return Object.defineProperty(r,"displayName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(r){t=r,e.name||e.displayName||(e.displayName=r)}}),r},e.isValidElement=re,e.lazy=function(e){var t,r,n={$$typeof:d,_payload:{_status:-1,_result:e},_init:se};return Object.defineProperties(n,{defaultProps:{configurable:!0,get:function(){return t},set:function(e){O("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),t=e,Object.defineProperty(n,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return r},set:function(e){O("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),r=e,Object.defineProperty(n,"propTypes",{enumerable:!0})}}}),n},e.memo=function(e,t){fe(e)||O("memo: The first argument must be a component. Instead received: %s",null===e?"null":typeof e);var r,n={$$typeof:p,type:e,compare:void 0===t?null:t};return Object.defineProperty(n,"displayName",{enumerable:!1,configurable:!0,get:function(){return r},set:function(t){r=t,e.name||e.displayName||(e.displayName=t)}}),n},e.startTransition=function(e,t){var r=b.transition;b.transition={};var n=b.transition;b.transition._updatedFibers=/* @__PURE__ */new Set;try{e()}finally{b.transition=r,null===r&&n._updatedFibers&&(n._updatedFibers.size>10&&R("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),n._updatedFibers.clear())}},e.unstable_act=Ye,e.useCallback=function(e,t){return pe().useCallback(e,t)},e.useContext=function(e){var t=pe();if(void 0!==e._context){var r=e._context;r.Consumer===e?O("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):r.Provider===e&&O("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return t.useContext(e)},e.useDebugValue=function(e,t){return pe().useDebugValue(e,t)},e.useDeferredValue=function(e){return pe().useDeferredValue(e)},e.useEffect=function(e,t){return pe().useEffect(e,t)},e.useId=function(){return pe().useId()},e.useImperativeHandle=function(e,t,r){return pe().useImperativeHandle(e,t,r)},e.useInsertionEffect=function(e,t){return pe().useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return pe().useLayoutEffect(e,t)},e.useMemo=function(e,t){return pe().useMemo(e,t)},e.useReducer=function(e,t,r){return pe().useReducer(e,t,r)},e.useRef=function(e){return pe().useRef(e)},e.useState=function(e){return pe().useState(e)},e.useSyncExternalStore=function(e,t,r){return pe().useSyncExternalStore(e,t,r)},e.useTransition=function(){return pe().useTransition()},e.version="18.3.1","undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(/* @__PURE__ */new Error)}()}),n=/* @__PURE__ */e((e,n)=>{"production"===process.env.NODE_ENV?n.exports=t():n.exports=r()});export{n as t};
@@ -0,0 +1 @@
1
+ import{o as t,t as e}from"./rolldown-runtime-DcYi-9oA.js";import{t as i}from"./react-BW4ssgUo.js";var a=/* @__PURE__ */e((t,e)=>{var i,a;i=t,a=function(){function t(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,a)}return i}function e(e){for(var a=1;a<arguments.length;a++){var n=null!=arguments[a]?arguments[a]:{};a%2?t(Object(n),!0).forEach(function(t){var a,o,r;a=e,o=t,r=n[t],(o=i(o))in a?Object.defineProperty(a,o,{value:r,enumerable:!0,configurable:!0,writable:!0}):a[o]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):t(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function i(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function n(t,e){for(var a=0;a<e.length;a++){var n=e[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,i(n.key),n)}}function o(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return r(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?r(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,a=new Array(e);i<e;i++)a[i]=t[i];return a}var h="undefined"!=typeof window&&void 0!==window.document,s=h?window:{},c=!(!h||!s.document.documentElement)&&"ontouchstart"in s.document.documentElement,l=!!h&&"PointerEvent"in s,d="cropper",p="all",u="crop",m="move",g="zoom",f="e",v="w",w="s",b="n",y="ne",x="nw",M="se",C="sw",D="".concat(d,"-crop"),O="".concat(d,"-disabled"),T="".concat(d,"-hidden"),B="".concat(d,"-hide"),k="".concat(d,"-invisible"),E="".concat(d,"-modal"),W="".concat(d,"-move"),z="".concat(d,"Action"),H="".concat(d,"Preview"),N="crop",R="move",Y="none",L="crop",X="cropend",j="cropmove",S="cropstart",A="dblclick",P=l?"pointerdown":c?"touchstart":"mousedown",I=l?"pointermove":c?"touchmove":"mousemove",U=l?"pointerup pointercancel":c?"touchend touchcancel":"mouseup",q="ready",$="resize",Q="wheel",Z="zoom",K="image/jpeg",G=/^e|w|s|n|se|sw|ne|nw|all|crop|move|zoom$/,V=/^data:/,F=/^data:image\/jpeg;base64,/,J=/^img|canvas$/i,_={viewMode:0,dragMode:N,initialAspectRatio:NaN,aspectRatio:NaN,data:null,preview:"",responsive:!0,restore:!0,checkCrossOrigin:!0,checkOrientation:!0,modal:!0,guides:!0,center:!0,highlight:!0,background:!0,autoCrop:!0,autoCropArea:.8,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,wheelZoomRatio:.1,cropBoxMovable:!0,cropBoxResizable:!0,toggleDragModeOnDblclick:!0,minCanvasWidth:0,minCanvasHeight:0,minCropBoxWidth:0,minCropBoxHeight:0,minContainerWidth:200,minContainerHeight:100,ready:null,cropstart:null,cropmove:null,cropend:null,crop:null,zoom:null},tt=Number.isNaN||s.isNaN;function et(t){return"number"==typeof t&&!tt(t)}var it=function(t){return t>0&&t<1/0};function at(t){return void 0===t}function nt(t){return"object"===a(t)&&null!==t}var ot=Object.prototype.hasOwnProperty;function rt(t){if(!nt(t))return!1;try{var e=t.constructor,i=e.prototype;return e&&i&&ot.call(i,"isPrototypeOf")}catch(a){return!1}}function ht(t){return"function"==typeof t}var st=Array.prototype.slice;function ct(t){return Array.from?Array.from(t):st.call(t)}function lt(t,e){return t&&ht(e)&&(Array.isArray(t)||et(t.length)?ct(t).forEach(function(i,a){e.call(t,i,a,t)}):nt(t)&&Object.keys(t).forEach(function(i){e.call(t,t[i],i,t)})),t}var dt=Object.assign||function(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),a=1;a<e;a++)i[a-1]=arguments[a];return nt(t)&&i.length>0&&i.forEach(function(e){nt(e)&&Object.keys(e).forEach(function(i){t[i]=e[i]})}),t},pt=/\.\d*(?:0|9){12}\d*$/;function ut(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e11;return pt.test(t)?Math.round(t*e)/e:t}var mt=/^width|height|left|top|marginLeft|marginTop$/;function gt(t,e){var i=t.style;lt(e,function(t,e){mt.test(e)&&et(t)&&(t="".concat(t,"px")),i[e]=t})}function ft(t,e){if(e)if(et(t.length))lt(t,function(t){ft(t,e)});else if(t.classList)t.classList.add(e);else{var i=t.className.trim();i?i.indexOf(e)<0&&(t.className="".concat(i," ").concat(e)):t.className=e}}function vt(t,e){e&&(et(t.length)?lt(t,function(t){vt(t,e)}):t.classList?t.classList.remove(e):t.className.indexOf(e)>=0&&(t.className=t.className.replace(e,"")))}function wt(t,e,i){e&&(et(t.length)?lt(t,function(t){wt(t,e,i)}):i?ft(t,e):vt(t,e))}var bt=/([a-z\d])([A-Z])/g;function yt(t){return t.replace(bt,"$1-$2").toLowerCase()}function xt(t,e){return nt(t[e])?t[e]:t.dataset?t.dataset[e]:t.getAttribute("data-".concat(yt(e)))}function Mt(t,e,i){nt(i)?t[e]=i:t.dataset?t.dataset[e]=i:t.setAttribute("data-".concat(yt(e)),i)}var Ct=/\s\s*/,Dt=function(){var t=!1;if(h){var e=!1,i=function(){},a=Object.defineProperty({},"once",{get:function(){return t=!0,e},set:function(t){e=t}});s.addEventListener("test",i,a),s.removeEventListener("test",i,a)}return t}();function Ot(t,e,i){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},n=i;e.trim().split(Ct).forEach(function(e){if(!Dt){var o=t.listeners;o&&o[e]&&o[e][i]&&(n=o[e][i],delete o[e][i],0===Object.keys(o[e]).length&&delete o[e],0===Object.keys(o).length&&delete t.listeners)}t.removeEventListener(e,n,a)})}function Tt(t,e,i){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},n=i;e.trim().split(Ct).forEach(function(e){if(a.once&&!Dt){var o=t.listeners,r=void 0===o?{}:o;n=function(){delete r[e][i],t.removeEventListener(e,n,a);for(var o=arguments.length,h=new Array(o),s=0;s<o;s++)h[s]=arguments[s];i.apply(t,h)},r[e]||(r[e]={}),r[e][i]&&t.removeEventListener(e,r[e][i],a),r[e][i]=n,t.listeners=r}t.addEventListener(e,n,a)})}function Bt(t,e,i){var a;return ht(Event)&&ht(CustomEvent)?a=new CustomEvent(e,{detail:i,bubbles:!0,cancelable:!0}):(a=document.createEvent("CustomEvent")).initCustomEvent(e,!0,!0,i),t.dispatchEvent(a)}function kt(t){var e=t.getBoundingClientRect();return{left:e.left+(window.pageXOffset-document.documentElement.clientLeft),top:e.top+(window.pageYOffset-document.documentElement.clientTop)}}var Et=s.location,Wt=/^(\w+:)\/\/([^:/?#]*):?(\d*)/i;function zt(t){var e=t.match(Wt);return null!==e&&(e[1]!==Et.protocol||e[2]!==Et.hostname||e[3]!==Et.port)}function Ht(t){var e="timestamp=".concat(/* @__PURE__ */(new Date).getTime());return t+(-1===t.indexOf("?")?"?":"&")+e}function Nt(t){var e=t.rotate,i=t.scaleX,a=t.scaleY,n=t.translateX,o=t.translateY,r=[];et(n)&&0!==n&&r.push("translateX(".concat(n,"px)")),et(o)&&0!==o&&r.push("translateY(".concat(o,"px)")),et(e)&&0!==e&&r.push("rotate(".concat(e,"deg)")),et(i)&&1!==i&&r.push("scaleX(".concat(i,")")),et(a)&&1!==a&&r.push("scaleY(".concat(a,")"));var h=r.length?r.join(" "):"none";return{WebkitTransform:h,msTransform:h,transform:h}}function Rt(t,i){var a=t.pageX,n=t.pageY,o={endX:a,endY:n};return i?o:e({startX:a,startY:n},o)}function Yt(t){var e=t.aspectRatio,i=t.height,a=t.width,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"contain",o=it(a),r=it(i);if(o&&r){var h=i*e;"contain"===n&&h>a||"cover"===n&&h<a?i=a/e:a=i*e}else o?i=a/e:r&&(a=i*e);return{width:a,height:i}}var Lt=String.fromCharCode,Xt=/^data:.*,/,jt={render:function(){this.initContainer(),this.initCanvas(),this.initCropBox(),this.renderCanvas(),this.cropped&&this.renderCropBox()},initContainer:function(){var t=this.element,e=this.options,i=this.container,a=this.cropper,n=Number(e.minContainerWidth),o=Number(e.minContainerHeight);ft(a,T),vt(t,T);var r={width:Math.max(i.offsetWidth,n>=0?n:200),height:Math.max(i.offsetHeight,o>=0?o:100)};this.containerData=r,gt(a,{width:r.width,height:r.height}),ft(t,T),vt(a,T)},initCanvas:function(){var t=this.containerData,e=this.imageData,i=this.options.viewMode,a=Math.abs(e.rotate)%180==90,n=a?e.naturalHeight:e.naturalWidth,o=a?e.naturalWidth:e.naturalHeight,r=n/o,h=t.width,s=t.height;t.height*r>t.width?3===i?h=t.height*r:s=t.width/r:3===i?s=t.width/r:h=t.height*r;var c={aspectRatio:r,naturalWidth:n,naturalHeight:o,width:h,height:s};this.canvasData=c,this.limited=1===i||2===i,this.limitCanvas(!0,!0),c.width=Math.min(Math.max(c.width,c.minWidth),c.maxWidth),c.height=Math.min(Math.max(c.height,c.minHeight),c.maxHeight),c.left=(t.width-c.width)/2,c.top=(t.height-c.height)/2,c.oldLeft=c.left,c.oldTop=c.top,this.initialCanvasData=dt({},c)},limitCanvas:function(t,e){var i=this.options,a=this.containerData,n=this.canvasData,o=this.cropBoxData,r=i.viewMode,h=n.aspectRatio,s=this.cropped&&o;if(t){var c=Number(i.minCanvasWidth)||0,l=Number(i.minCanvasHeight)||0;r>1?(c=Math.max(c,a.width),l=Math.max(l,a.height),3===r&&(l*h>c?c=l*h:l=c/h)):r>0&&(c?c=Math.max(c,s?o.width:0):l?l=Math.max(l,s?o.height:0):s&&(c=o.width,(l=o.height)*h>c?c=l*h:l=c/h));var d=Yt({aspectRatio:h,width:c,height:l});c=d.width,l=d.height,n.minWidth=c,n.minHeight=l,n.maxWidth=1/0,n.maxHeight=1/0}if(e)if(r>(s?0:1)){var p=a.width-n.width,u=a.height-n.height;n.minLeft=Math.min(0,p),n.minTop=Math.min(0,u),n.maxLeft=Math.max(0,p),n.maxTop=Math.max(0,u),s&&this.limited&&(n.minLeft=Math.min(o.left,o.left+(o.width-n.width)),n.minTop=Math.min(o.top,o.top+(o.height-n.height)),n.maxLeft=o.left,n.maxTop=o.top,2===r&&(n.width>=a.width&&(n.minLeft=Math.min(0,p),n.maxLeft=Math.max(0,p)),n.height>=a.height&&(n.minTop=Math.min(0,u),n.maxTop=Math.max(0,u))))}else n.minLeft=-n.width,n.minTop=-n.height,n.maxLeft=a.width,n.maxTop=a.height},renderCanvas:function(t,e){var i=this.canvasData,a=this.imageData;if(e){var n=function(t){var e=t.width,i=t.height,a=t.degree;if(90==(a=Math.abs(a)%180))return{width:i,height:e};var n=a%90*Math.PI/180,o=Math.sin(n),r=Math.cos(n),h=e*r+i*o,s=e*o+i*r;return a>90?{width:s,height:h}:{width:h,height:s}}({width:a.naturalWidth*Math.abs(a.scaleX||1),height:a.naturalHeight*Math.abs(a.scaleY||1),degree:a.rotate||0}),o=n.width,r=n.height,h=i.width*(o/i.naturalWidth),s=i.height*(r/i.naturalHeight);i.left-=(h-i.width)/2,i.top-=(s-i.height)/2,i.width=h,i.height=s,i.aspectRatio=o/r,i.naturalWidth=o,i.naturalHeight=r,this.limitCanvas(!0,!1)}(i.width>i.maxWidth||i.width<i.minWidth)&&(i.left=i.oldLeft),(i.height>i.maxHeight||i.height<i.minHeight)&&(i.top=i.oldTop),i.width=Math.min(Math.max(i.width,i.minWidth),i.maxWidth),i.height=Math.min(Math.max(i.height,i.minHeight),i.maxHeight),this.limitCanvas(!1,!0),i.left=Math.min(Math.max(i.left,i.minLeft),i.maxLeft),i.top=Math.min(Math.max(i.top,i.minTop),i.maxTop),i.oldLeft=i.left,i.oldTop=i.top,gt(this.canvas,dt({width:i.width,height:i.height},Nt({translateX:i.left,translateY:i.top}))),this.renderImage(t),this.cropped&&this.limited&&this.limitCropBox(!0,!0)},renderImage:function(t){var e=this.canvasData,i=this.imageData,a=i.naturalWidth*(e.width/e.naturalWidth),n=i.naturalHeight*(e.height/e.naturalHeight);dt(i,{width:a,height:n,left:(e.width-a)/2,top:(e.height-n)/2}),gt(this.image,dt({width:i.width,height:i.height},Nt(dt({translateX:i.left,translateY:i.top},i)))),t&&this.output()},initCropBox:function(){var t=this.options,e=this.canvasData,i=t.aspectRatio||t.initialAspectRatio,a=Number(t.autoCropArea)||.8,n={width:e.width,height:e.height};i&&(e.height*i>e.width?n.height=n.width/i:n.width=n.height*i),this.cropBoxData=n,this.limitCropBox(!0,!0),n.width=Math.min(Math.max(n.width,n.minWidth),n.maxWidth),n.height=Math.min(Math.max(n.height,n.minHeight),n.maxHeight),n.width=Math.max(n.minWidth,n.width*a),n.height=Math.max(n.minHeight,n.height*a),n.left=e.left+(e.width-n.width)/2,n.top=e.top+(e.height-n.height)/2,n.oldLeft=n.left,n.oldTop=n.top,this.initialCropBoxData=dt({},n)},limitCropBox:function(t,e){var i=this.options,a=this.containerData,n=this.canvasData,o=this.cropBoxData,r=this.limited,h=i.aspectRatio;if(t){var s=Number(i.minCropBoxWidth)||0,c=Number(i.minCropBoxHeight)||0,l=r?Math.min(a.width,n.width,n.width+n.left,a.width-n.left):a.width,d=r?Math.min(a.height,n.height,n.height+n.top,a.height-n.top):a.height;s=Math.min(s,a.width),c=Math.min(c,a.height),h&&(s&&c?c*h>s?c=s/h:s=c*h:s?c=s/h:c&&(s=c*h),d*h>l?d=l/h:l=d*h),o.minWidth=Math.min(s,l),o.minHeight=Math.min(c,d),o.maxWidth=l,o.maxHeight=d}e&&(r?(o.minLeft=Math.max(0,n.left),o.minTop=Math.max(0,n.top),o.maxLeft=Math.min(a.width,n.left+n.width)-o.width,o.maxTop=Math.min(a.height,n.top+n.height)-o.height):(o.minLeft=0,o.minTop=0,o.maxLeft=a.width-o.width,o.maxTop=a.height-o.height))},renderCropBox:function(){var t=this.options,e=this.containerData,i=this.cropBoxData;(i.width>i.maxWidth||i.width<i.minWidth)&&(i.left=i.oldLeft),(i.height>i.maxHeight||i.height<i.minHeight)&&(i.top=i.oldTop),i.width=Math.min(Math.max(i.width,i.minWidth),i.maxWidth),i.height=Math.min(Math.max(i.height,i.minHeight),i.maxHeight),this.limitCropBox(!1,!0),i.left=Math.min(Math.max(i.left,i.minLeft),i.maxLeft),i.top=Math.min(Math.max(i.top,i.minTop),i.maxTop),i.oldLeft=i.left,i.oldTop=i.top,t.movable&&t.cropBoxMovable&&Mt(this.face,z,i.width>=e.width&&i.height>=e.height?m:p),gt(this.cropBox,dt({width:i.width,height:i.height},Nt({translateX:i.left,translateY:i.top}))),this.cropped&&this.limited&&this.limitCanvas(!0,!0),this.disabled||this.output()},output:function(){this.preview(),Bt(this.element,L,this.getData())}},St={initPreview:function(){var t=this.element,e=this.crossOrigin,i=this.options.preview,a=e?this.crossOriginUrl:this.url,n=t.alt||"The image to preview",o=document.createElement("img");if(e&&(o.crossOrigin=e),o.src=a,o.alt=n,this.viewBox.appendChild(o),this.viewBoxImage=o,i){var r=i;"string"==typeof i?r=t.ownerDocument.querySelectorAll(i):i.querySelector&&(r=[i]),this.previews=r,lt(r,function(t){var i=document.createElement("img");Mt(t,H,{width:t.offsetWidth,height:t.offsetHeight,html:t.innerHTML}),e&&(i.crossOrigin=e),i.src=a,i.alt=n,i.style.cssText='display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;"',t.innerHTML="",t.appendChild(i)})}},resetPreview:function(){lt(this.previews,function(t){var e=xt(t,H);gt(t,{width:e.width,height:e.height}),t.innerHTML=e.html,function(t,e){if(nt(t[e]))try{delete t[e]}catch(i){t[e]=void 0}else if(t.dataset)try{delete t.dataset[e]}catch(i){t.dataset[e]=void 0}else t.removeAttribute("data-".concat(yt(e)))}(t,H)})},preview:function(){var t=this.imageData,e=this.canvasData,i=this.cropBoxData,a=i.width,n=i.height,o=t.width,r=t.height,h=i.left-e.left-t.left,s=i.top-e.top-t.top;this.cropped&&!this.disabled&&(gt(this.viewBoxImage,dt({width:o,height:r},Nt(dt({translateX:-h,translateY:-s},t)))),lt(this.previews,function(e){var i=xt(e,H),c=i.width,l=i.height,d=c,p=l,u=1;a&&(p=n*(u=c/a)),n&&p>l&&(d=a*(u=l/n),p=l),gt(e,{width:d,height:p}),gt(e.getElementsByTagName("img")[0],dt({width:o*u,height:r*u},Nt(dt({translateX:-h*u,translateY:-s*u},t))))}))}},At={bind:function(){var t=this.element,e=this.options,i=this.cropper;ht(e.cropstart)&&Tt(t,S,e.cropstart),ht(e.cropmove)&&Tt(t,j,e.cropmove),ht(e.cropend)&&Tt(t,X,e.cropend),ht(e.crop)&&Tt(t,L,e.crop),ht(e.zoom)&&Tt(t,Z,e.zoom),Tt(i,P,this.onCropStart=this.cropStart.bind(this)),e.zoomable&&e.zoomOnWheel&&Tt(i,Q,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),e.toggleDragModeOnDblclick&&Tt(i,A,this.onDblclick=this.dblclick.bind(this)),Tt(t.ownerDocument,I,this.onCropMove=this.cropMove.bind(this)),Tt(t.ownerDocument,U,this.onCropEnd=this.cropEnd.bind(this)),e.responsive&&Tt(window,$,this.onResize=this.resize.bind(this))},unbind:function(){var t=this.element,e=this.options,i=this.cropper;ht(e.cropstart)&&Ot(t,S,e.cropstart),ht(e.cropmove)&&Ot(t,j,e.cropmove),ht(e.cropend)&&Ot(t,X,e.cropend),ht(e.crop)&&Ot(t,L,e.crop),ht(e.zoom)&&Ot(t,Z,e.zoom),Ot(i,P,this.onCropStart),e.zoomable&&e.zoomOnWheel&&Ot(i,Q,this.onWheel,{passive:!1,capture:!0}),e.toggleDragModeOnDblclick&&Ot(i,A,this.onDblclick),Ot(t.ownerDocument,I,this.onCropMove),Ot(t.ownerDocument,U,this.onCropEnd),e.responsive&&Ot(window,$,this.onResize)}},Pt={resize:function(){if(!this.disabled){var t,e,i=this.options,a=this.container,n=this.containerData,o=a.offsetWidth/n.width,r=a.offsetHeight/n.height,h=Math.abs(o-1)>Math.abs(r-1)?o:r;1!==h&&(i.restore&&(t=this.getCanvasData(),e=this.getCropBoxData()),this.render(),i.restore&&(this.setCanvasData(lt(t,function(e,i){t[i]=e*h})),this.setCropBoxData(lt(e,function(t,i){e[i]=t*h}))))}},dblclick:function(){var t,e;this.disabled||this.options.dragMode===Y||this.setDragMode((t=this.dragBox,e=D,(t.classList?t.classList.contains(e):t.className.indexOf(e)>-1)?R:N))},wheel:function(t){var e=this,i=Number(this.options.wheelZoomRatio)||.1,a=1;this.disabled||(t.preventDefault(),this.wheeling||(this.wheeling=!0,setTimeout(function(){e.wheeling=!1},50),t.deltaY?a=t.deltaY>0?1:-1:t.wheelDelta?a=-t.wheelDelta/120:t.detail&&(a=t.detail>0?1:-1),this.zoom(-a*i,t)))},cropStart:function(t){var e=t.buttons,i=t.button;if(!(this.disabled||("mousedown"===t.type||"pointerdown"===t.type&&"mouse"===t.pointerType)&&(et(e)&&1!==e||et(i)&&0!==i||t.ctrlKey))){var a,n=this.options,o=this.pointers;t.changedTouches?lt(t.changedTouches,function(t){o[t.identifier]=Rt(t)}):o[t.pointerId||0]=Rt(t),a=Object.keys(o).length>1&&n.zoomable&&n.zoomOnTouch?g:xt(t.target,z),G.test(a)&&!1!==Bt(this.element,S,{originalEvent:t,action:a})&&(t.preventDefault(),this.action=a,this.cropping=!1,a===u&&(this.cropping=!0,ft(this.dragBox,E)))}},cropMove:function(t){var e=this.action;if(!this.disabled&&e){var i=this.pointers;t.preventDefault(),!1!==Bt(this.element,j,{originalEvent:t,action:e})&&(t.changedTouches?lt(t.changedTouches,function(t){dt(i[t.identifier]||{},Rt(t,!0))}):dt(i[t.pointerId||0]||{},Rt(t,!0)),this.change(t))}},cropEnd:function(t){if(!this.disabled){var e=this.action,i=this.pointers;t.changedTouches?lt(t.changedTouches,function(t){delete i[t.identifier]}):delete i[t.pointerId||0],e&&(t.preventDefault(),Object.keys(i).length||(this.action=""),this.cropping&&(this.cropping=!1,wt(this.dragBox,E,this.cropped&&this.options.modal)),Bt(this.element,X,{originalEvent:t,action:e}))}}},It={change:function(t){var i,a=this.options,n=this.canvasData,o=this.containerData,r=this.cropBoxData,h=this.pointers,s=this.action,c=a.aspectRatio,l=r.left,d=r.top,D=r.width,O=r.height,B=l+D,k=d+O,E=0,W=0,z=o.width,H=o.height,N=!0;!c&&t.shiftKey&&(c=D&&O?D/O:1),this.limited&&(E=r.minLeft,W=r.minTop,z=E+Math.min(o.width,n.width,n.left+n.width),H=W+Math.min(o.height,n.height,n.top+n.height));var R=h[Object.keys(h)[0]],Y={x:R.endX-R.startX,y:R.endY-R.startY},L=function(t){switch(t){case f:B+Y.x>z&&(Y.x=z-B);break;case v:l+Y.x<E&&(Y.x=E-l);break;case b:d+Y.y<W&&(Y.y=W-d);break;case w:k+Y.y>H&&(Y.y=H-k)}};switch(s){case p:l+=Y.x,d+=Y.y;break;case f:if(Y.x>=0&&(B>=z||c&&(d<=W||k>=H))){N=!1;break}L(f),(D+=Y.x)<0&&(s=v,l-=D=-D),c&&(O=D/c,d+=(r.height-O)/2);break;case b:if(Y.y<=0&&(d<=W||c&&(l<=E||B>=z))){N=!1;break}L(b),O-=Y.y,d+=Y.y,O<0&&(s=w,d-=O=-O),c&&(D=O*c,l+=(r.width-D)/2);break;case v:if(Y.x<=0&&(l<=E||c&&(d<=W||k>=H))){N=!1;break}L(v),D-=Y.x,l+=Y.x,D<0&&(s=f,l-=D=-D),c&&(O=D/c,d+=(r.height-O)/2);break;case w:if(Y.y>=0&&(k>=H||c&&(l<=E||B>=z))){N=!1;break}L(w),(O+=Y.y)<0&&(s=b,d-=O=-O),c&&(D=O*c,l+=(r.width-D)/2);break;case y:if(c){if(Y.y<=0&&(d<=W||B>=z)){N=!1;break}L(b),O-=Y.y,d+=Y.y,D=O*c}else L(b),L(f),Y.x>=0?B<z?D+=Y.x:Y.y<=0&&d<=W&&(N=!1):D+=Y.x,Y.y<=0?d>W&&(O-=Y.y,d+=Y.y):(O-=Y.y,d+=Y.y);D<0&&O<0?(s=C,d-=O=-O,l-=D=-D):D<0?(s=x,l-=D=-D):O<0&&(s=M,d-=O=-O);break;case x:if(c){if(Y.y<=0&&(d<=W||l<=E)){N=!1;break}L(b),O-=Y.y,d+=Y.y,D=O*c,l+=r.width-D}else L(b),L(v),Y.x<=0?l>E?(D-=Y.x,l+=Y.x):Y.y<=0&&d<=W&&(N=!1):(D-=Y.x,l+=Y.x),Y.y<=0?d>W&&(O-=Y.y,d+=Y.y):(O-=Y.y,d+=Y.y);D<0&&O<0?(s=M,d-=O=-O,l-=D=-D):D<0?(s=y,l-=D=-D):O<0&&(s=C,d-=O=-O);break;case C:if(c){if(Y.x<=0&&(l<=E||k>=H)){N=!1;break}L(v),D-=Y.x,l+=Y.x,O=D/c}else L(w),L(v),Y.x<=0?l>E?(D-=Y.x,l+=Y.x):Y.y>=0&&k>=H&&(N=!1):(D-=Y.x,l+=Y.x),Y.y>=0?k<H&&(O+=Y.y):O+=Y.y;D<0&&O<0?(s=y,d-=O=-O,l-=D=-D):D<0?(s=M,l-=D=-D):O<0&&(s=x,d-=O=-O);break;case M:if(c){if(Y.x>=0&&(B>=z||k>=H)){N=!1;break}L(f),O=(D+=Y.x)/c}else L(w),L(f),Y.x>=0?B<z?D+=Y.x:Y.y>=0&&k>=H&&(N=!1):D+=Y.x,Y.y>=0?k<H&&(O+=Y.y):O+=Y.y;D<0&&O<0?(s=x,d-=O=-O,l-=D=-D):D<0?(s=C,l-=D=-D):O<0&&(s=y,d-=O=-O);break;case m:this.move(Y.x,Y.y),N=!1;break;case g:this.zoom(function(t){var i=e({},t),a=0;return lt(t,function(t,e){delete i[e],lt(i,function(e){var i=Math.abs(t.startX-e.startX),n=Math.abs(t.startY-e.startY),o=Math.abs(t.endX-e.endX),r=Math.abs(t.endY-e.endY),h=Math.sqrt(i*i+n*n),s=(Math.sqrt(o*o+r*r)-h)/h;Math.abs(s)>Math.abs(a)&&(a=s)})}),a}(h),t),N=!1;break;case u:if(!Y.x||!Y.y){N=!1;break}i=kt(this.cropper),l=R.startX-i.left,d=R.startY-i.top,D=r.minWidth,O=r.minHeight,Y.x>0?s=Y.y>0?M:y:Y.x<0&&(l-=D,s=Y.y>0?C:x),Y.y<0&&(d-=O),this.cropped||(vt(this.cropBox,T),this.cropped=!0,this.limited&&this.limitCropBox(!0,!0))}N&&(r.width=D,r.height=O,r.left=l,r.top=d,this.action=s,this.renderCropBox()),lt(h,function(t){t.startX=t.endX,t.startY=t.endY})}},Ut={crop:function(){return!this.ready||this.cropped||this.disabled||(this.cropped=!0,this.limitCropBox(!0,!0),this.options.modal&&ft(this.dragBox,E),vt(this.cropBox,T),this.setCropBoxData(this.initialCropBoxData)),this},reset:function(){return this.ready&&!this.disabled&&(this.imageData=dt({},this.initialImageData),this.canvasData=dt({},this.initialCanvasData),this.cropBoxData=dt({},this.initialCropBoxData),this.renderCanvas(),this.cropped&&this.renderCropBox()),this},clear:function(){return this.cropped&&!this.disabled&&(dt(this.cropBoxData,{left:0,top:0,width:0,height:0}),this.cropped=!1,this.renderCropBox(),this.limitCanvas(!0,!0),this.renderCanvas(),vt(this.dragBox,E),ft(this.cropBox,T)),this},replace:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return!this.disabled&&t&&(this.isImg&&(this.element.src=t),e?(this.url=t,this.image.src=t,this.ready&&(this.viewBoxImage.src=t,lt(this.previews,function(e){e.getElementsByTagName("img")[0].src=t}))):(this.isImg&&(this.replaced=!0),this.options.data=null,this.uncreate(),this.load(t))),this},enable:function(){return this.ready&&this.disabled&&(this.disabled=!1,vt(this.cropper,O)),this},disable:function(){return this.ready&&!this.disabled&&(this.disabled=!0,ft(this.cropper,O)),this},destroy:function(){var t=this.element;return t[d]?(t[d]=void 0,this.isImg&&this.replaced&&(t.src=this.originalUrl),this.uncreate(),this):this},move:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,i=this.canvasData,a=i.left,n=i.top;return this.moveTo(at(t)?t:a+Number(t),at(e)?e:n+Number(e))},moveTo:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,i=this.canvasData,a=!1;return t=Number(t),e=Number(e),this.ready&&!this.disabled&&this.options.movable&&(et(t)&&(i.left=t,a=!0),et(e)&&(i.top=e,a=!0),a&&this.renderCanvas(!0)),this},zoom:function(t,e){var i=this.canvasData;return t=(t=Number(t))<0?1/(1-t):1+t,this.zoomTo(i.width*t/i.naturalWidth,null,e)},zoomTo:function(t,e,i){var a=this.options,n=this.canvasData,o=n.width,r=n.height,h=n.naturalWidth,s=n.naturalHeight;if((t=Number(t))>=0&&this.ready&&!this.disabled&&a.zoomable){var c=h*t,l=s*t;if(!1===Bt(this.element,Z,{ratio:t,oldRatio:o/h,originalEvent:i}))return this;if(i){var d=this.pointers,p=kt(this.cropper),u=d&&Object.keys(d).length?function(t){var e=0,i=0,a=0;return lt(t,function(t){var n=t.startX,o=t.startY;e+=n,i+=o,a+=1}),{pageX:e/=a,pageY:i/=a}}(d):{pageX:i.pageX,pageY:i.pageY};n.left-=(c-o)*((u.pageX-p.left-n.left)/o),n.top-=(l-r)*((u.pageY-p.top-n.top)/r)}else rt(e)&&et(e.x)&&et(e.y)?(n.left-=(c-o)*((e.x-n.left)/o),n.top-=(l-r)*((e.y-n.top)/r)):(n.left-=(c-o)/2,n.top-=(l-r)/2);n.width=c,n.height=l,this.renderCanvas(!0)}return this},rotate:function(t){return this.rotateTo((this.imageData.rotate||0)+Number(t))},rotateTo:function(t){return et(t=Number(t))&&this.ready&&!this.disabled&&this.options.rotatable&&(this.imageData.rotate=t%360,this.renderCanvas(!0,!0)),this},scaleX:function(t){var e=this.imageData.scaleY;return this.scale(t,et(e)?e:1)},scaleY:function(t){var e=this.imageData.scaleX;return this.scale(et(e)?e:1,t)},scale:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,i=this.imageData,a=!1;return t=Number(t),e=Number(e),this.ready&&!this.disabled&&this.options.scalable&&(et(t)&&(i.scaleX=t,a=!0),et(e)&&(i.scaleY=e,a=!0),a&&this.renderCanvas(!0,!0)),this},getData:function(){var t,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=this.options,a=this.imageData,n=this.canvasData,o=this.cropBoxData;if(this.ready&&this.cropped){t={x:o.left-n.left,y:o.top-n.top,width:o.width,height:o.height};var r=a.width/a.naturalWidth;if(lt(t,function(e,i){t[i]=e/r}),e){var h=Math.round(t.y+t.height),s=Math.round(t.x+t.width);t.x=Math.round(t.x),t.y=Math.round(t.y),t.width=s-t.x,t.height=h-t.y}}else t={x:0,y:0,width:0,height:0};return i.rotatable&&(t.rotate=a.rotate||0),i.scalable&&(t.scaleX=a.scaleX||1,t.scaleY=a.scaleY||1),t},setData:function(t){var e=this.options,i=this.imageData,a=this.canvasData,n={};if(this.ready&&!this.disabled&&rt(t)){var o=!1;e.rotatable&&et(t.rotate)&&t.rotate!==i.rotate&&(i.rotate=t.rotate,o=!0),e.scalable&&(et(t.scaleX)&&t.scaleX!==i.scaleX&&(i.scaleX=t.scaleX,o=!0),et(t.scaleY)&&t.scaleY!==i.scaleY&&(i.scaleY=t.scaleY,o=!0)),o&&this.renderCanvas(!0,!0);var r=i.width/i.naturalWidth;et(t.x)&&(n.left=t.x*r+a.left),et(t.y)&&(n.top=t.y*r+a.top),et(t.width)&&(n.width=t.width*r),et(t.height)&&(n.height=t.height*r),this.setCropBoxData(n)}return this},getContainerData:function(){return this.ready?dt({},this.containerData):{}},getImageData:function(){return this.sized?dt({},this.imageData):{}},getCanvasData:function(){var t=this.canvasData,e={};return this.ready&&lt(["left","top","width","height","naturalWidth","naturalHeight"],function(i){e[i]=t[i]}),e},setCanvasData:function(t){var e=this.canvasData,i=e.aspectRatio;return this.ready&&!this.disabled&&rt(t)&&(et(t.left)&&(e.left=t.left),et(t.top)&&(e.top=t.top),et(t.width)?(e.width=t.width,e.height=t.width/i):et(t.height)&&(e.height=t.height,e.width=t.height*i),this.renderCanvas(!0)),this},getCropBoxData:function(){var t,e=this.cropBoxData;return this.ready&&this.cropped&&(t={left:e.left,top:e.top,width:e.width,height:e.height}),t||{}},setCropBoxData:function(t){var e,i,a=this.cropBoxData,n=this.options.aspectRatio;return this.ready&&this.cropped&&!this.disabled&&rt(t)&&(et(t.left)&&(a.left=t.left),et(t.top)&&(a.top=t.top),et(t.width)&&t.width!==a.width&&(e=!0,a.width=t.width),et(t.height)&&t.height!==a.height&&(i=!0,a.height=t.height),n&&(e?a.height=a.width/n:i&&(a.width=a.height*n)),this.renderCropBox()),this},getCroppedCanvas:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.ready||!window.HTMLCanvasElement)return null;var e=this.canvasData,i=function(t,e,i,a){var n=e.aspectRatio,r=e.naturalWidth,h=e.naturalHeight,s=e.rotate,c=void 0===s?0:s,l=e.scaleX,d=void 0===l?1:l,p=e.scaleY,u=void 0===p?1:p,m=i.aspectRatio,g=i.naturalWidth,f=i.naturalHeight,v=a.fillColor,w=void 0===v?"transparent":v,b=a.imageSmoothingEnabled,y=void 0===b||b,x=a.imageSmoothingQuality,M=void 0===x?"low":x,C=a.maxWidth,D=void 0===C?1/0:C,O=a.maxHeight,T=void 0===O?1/0:O,B=a.minWidth,k=void 0===B?0:B,E=a.minHeight,W=void 0===E?0:E,z=document.createElement("canvas"),H=z.getContext("2d"),N=Yt({aspectRatio:m,width:D,height:T}),R=Yt({aspectRatio:m,width:k,height:W},"cover"),Y=Math.min(N.width,Math.max(R.width,g)),L=Math.min(N.height,Math.max(R.height,f)),X=Yt({aspectRatio:n,width:D,height:T}),j=Yt({aspectRatio:n,width:k,height:W},"cover"),S=Math.min(X.width,Math.max(j.width,r)),A=Math.min(X.height,Math.max(j.height,h)),P=[-S/2,-A/2,S,A];return z.width=ut(Y),z.height=ut(L),H.fillStyle=w,H.fillRect(0,0,Y,L),H.save(),H.translate(Y/2,L/2),H.rotate(c*Math.PI/180),H.scale(d,u),H.imageSmoothingEnabled=y,H.imageSmoothingQuality=M,H.drawImage.apply(H,[t].concat(o(P.map(function(t){return Math.floor(ut(t))})))),H.restore(),z}(this.image,this.imageData,e,t);if(!this.cropped)return i;var a=this.getData(t.rounded),n=a.x,r=a.y,h=a.width,s=a.height,c=i.width/Math.floor(e.naturalWidth);1!==c&&(n*=c,r*=c,h*=c,s*=c);var l=h/s,d=Yt({aspectRatio:l,width:t.maxWidth||1/0,height:t.maxHeight||1/0}),p=Yt({aspectRatio:l,width:t.minWidth||0,height:t.minHeight||0},"cover"),u=Yt({aspectRatio:l,width:t.width||(1!==c?i.width:h),height:t.height||(1!==c?i.height:s)}),m=u.width,g=u.height;m=Math.min(d.width,Math.max(p.width,m)),g=Math.min(d.height,Math.max(p.height,g));var f=document.createElement("canvas"),v=f.getContext("2d");f.width=ut(m),f.height=ut(g),v.fillStyle=t.fillColor||"transparent",v.fillRect(0,0,m,g);var w=t.imageSmoothingEnabled,b=void 0===w||w,y=t.imageSmoothingQuality;v.imageSmoothingEnabled=b,y&&(v.imageSmoothingQuality=y);var x,M,C,D,O,T,B=i.width,k=i.height,E=n,W=r;E<=-h||E>B?(E=0,x=0,C=0,O=0):E<=0?(C=-E,E=0,O=x=Math.min(B,h+E)):E<=B&&(C=0,O=x=Math.min(h,B-E)),x<=0||W<=-s||W>k?(W=0,M=0,D=0,T=0):W<=0?(D=-W,W=0,T=M=Math.min(k,s+W)):W<=k&&(D=0,T=M=Math.min(s,k-W));var z=[E,W,x,M];if(O>0&&T>0){var H=m/h;z.push(C*H,D*H,O*H,T*H)}return v.drawImage.apply(v,[i].concat(o(z.map(function(t){return Math.floor(ut(t))})))),f},setAspectRatio:function(t){var e=this.options;return this.disabled||at(t)||(e.aspectRatio=Math.max(0,t)||NaN,this.ready&&(this.initCropBox(),this.cropped&&this.renderCropBox())),this},setDragMode:function(t){var e=this.options,i=this.dragBox,a=this.face;if(this.ready&&!this.disabled){var n=t===N,o=e.movable&&t===R;t=n||o?t:Y,e.dragMode=t,Mt(i,z,t),wt(i,D,n),wt(i,W,o),e.cropBoxMovable||(Mt(a,z,t),wt(a,D,n),wt(a,W,o))}return this}},qt=s.Cropper,$t=/* @__PURE__ */function(){function t(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!e||!J.test(e.tagName))throw new Error("The first argument is required and must be an <img> or <canvas> element.");this.element=e,this.options=dt({},_,rt(i)&&i),this.cropped=!1,this.disabled=!1,this.pointers={},this.ready=!1,this.reloading=!1,this.replaced=!1,this.sized=!1,this.sizing=!1,this.init()}return e=t,i=[{key:"init",value:function(){var t,e=this.element,i=e.tagName.toLowerCase();if(!e[d]){if(e[d]=this,"img"===i){if(this.isImg=!0,t=e.getAttribute("src")||"",this.originalUrl=t,!t)return;t=e.src}else"canvas"===i&&window.HTMLCanvasElement&&(t=e.toDataURL());this.load(t)}}},{key:"load",value:function(t){var e=this;if(t){this.url=t,this.imageData={};var i=this.element,a=this.options;if(a.rotatable||a.scalable||(a.checkOrientation=!1),a.checkOrientation&&window.ArrayBuffer)if(V.test(t))F.test(t)?this.read((n=t.replace(Xt,""),o=atob(n),r=new ArrayBuffer(o.length),lt(h=new Uint8Array(r),function(t,e){h[e]=o.charCodeAt(e)}),r)):this.clone();else{var n,o,r,h,s=new XMLHttpRequest,c=this.clone.bind(this);this.reloading=!0,this.xhr=s,s.onabort=c,s.onerror=c,s.ontimeout=c,s.onprogress=function(){s.getResponseHeader("content-type")!==K&&s.abort()},s.onload=function(){e.read(s.response)},s.onloadend=function(){e.reloading=!1,e.xhr=null},a.checkCrossOrigin&&zt(t)&&i.crossOrigin&&(t=Ht(t)),s.open("GET",t,!0),s.responseType="arraybuffer",s.withCredentials="use-credentials"===i.crossOrigin,s.send()}else this.clone()}}},{key:"read",value:function(t){var e=this.options,i=this.imageData,a=function(t){var e,i=new DataView(t);try{var a,n,o;if(255===i.getUint8(0)&&216===i.getUint8(1))for(var r=i.byteLength,h=2;h+1<r;){if(255===i.getUint8(h)&&225===i.getUint8(h+1)){n=h;break}h+=1}if(n){var s=n+10;if("Exif"===function(t,e,i){var a="";i+=e;for(var n=e;n<i;n+=1)a+=Lt(t.getUint8(n));return a}(i,n+4,4)){var c=i.getUint16(s);if(((a=18761===c)||19789===c)&&42===i.getUint16(s+2,a)){var l=i.getUint32(s+4,a);l>=8&&(o=s+l)}}}if(o){var d,p,u=i.getUint16(o,a);for(p=0;p<u;p+=1)if(d=o+12*p+2,274===i.getUint16(d,a)){d+=8,e=i.getUint16(d,a),i.setUint16(d,1,a);break}}}catch(m){e=1}return e}(t),n=0,o=1,r=1;if(a>1){this.url=function(t,e){for(var i=[],a=new Uint8Array(t);a.length>0;)i.push(Lt.apply(null,ct(a.subarray(0,8192)))),a=a.subarray(8192);return"data:".concat(e,";base64,").concat(btoa(i.join("")))}(t,K);var h=function(t){var e=0,i=1,a=1;switch(t){case 2:i=-1;break;case 3:e=-180;break;case 4:a=-1;break;case 5:e=90,a=-1;break;case 6:e=90;break;case 7:e=90,i=-1;break;case 8:e=-90}return{rotate:e,scaleX:i,scaleY:a}}(a);n=h.rotate,o=h.scaleX,r=h.scaleY}e.rotatable&&(i.rotate=n),e.scalable&&(i.scaleX=o,i.scaleY=r),this.clone()}},{key:"clone",value:function(){var t=this.element,e=this.url,i=t.crossOrigin,a=e;this.options.checkCrossOrigin&&zt(e)&&(i||(i="anonymous"),a=Ht(e)),this.crossOrigin=i,this.crossOriginUrl=a;var n=document.createElement("img");i&&(n.crossOrigin=i),n.src=a||e,n.alt=t.alt||"The image to crop",this.image=n,n.onload=this.start.bind(this),n.onerror=this.stop.bind(this),ft(n,B),t.parentNode.insertBefore(n,t.nextSibling)}},{key:"start",value:function(){var t=this,e=this.image;e.onload=null,e.onerror=null,this.sizing=!0;var i=s.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(s.navigator.userAgent),a=function(e,i){dt(t.imageData,{naturalWidth:e,naturalHeight:i,aspectRatio:e/i}),t.initialImageData=dt({},t.imageData),t.sizing=!1,t.sized=!0,t.build()};if(!e.naturalWidth||i){var n=document.createElement("img"),o=document.body||document.documentElement;this.sizingImage=n,n.onload=function(){a(n.width,n.height),i||o.removeChild(n)},n.src=e.src,i||(n.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",o.appendChild(n))}else a(e.naturalWidth,e.naturalHeight)}},{key:"stop",value:function(){var t=this.image;t.onload=null,t.onerror=null,t.parentNode.removeChild(t),this.image=null}},{key:"build",value:function(){if(this.sized&&!this.ready){var t=this.element,e=this.options,i=this.image,a=t.parentNode,n=document.createElement("div");n.innerHTML='<div class="cropper-container" touch-action="none"><div class="cropper-wrap-box"><div class="cropper-canvas"></div></div><div class="cropper-drag-box"></div><div class="cropper-crop-box"><span class="cropper-view-box"></span><span class="cropper-dashed dashed-h"></span><span class="cropper-dashed dashed-v"></span><span class="cropper-center"></span><span class="cropper-face"></span><span class="cropper-line line-e" data-cropper-action="e"></span><span class="cropper-line line-n" data-cropper-action="n"></span><span class="cropper-line line-w" data-cropper-action="w"></span><span class="cropper-line line-s" data-cropper-action="s"></span><span class="cropper-point point-e" data-cropper-action="e"></span><span class="cropper-point point-n" data-cropper-action="n"></span><span class="cropper-point point-w" data-cropper-action="w"></span><span class="cropper-point point-s" data-cropper-action="s"></span><span class="cropper-point point-ne" data-cropper-action="ne"></span><span class="cropper-point point-nw" data-cropper-action="nw"></span><span class="cropper-point point-sw" data-cropper-action="sw"></span><span class="cropper-point point-se" data-cropper-action="se"></span></div></div>';var o=n.querySelector(".".concat(d,"-container")),r=o.querySelector(".".concat(d,"-canvas")),h=o.querySelector(".".concat(d,"-drag-box")),s=o.querySelector(".".concat(d,"-crop-box")),c=s.querySelector(".".concat(d,"-face"));this.container=a,this.cropper=o,this.canvas=r,this.dragBox=h,this.cropBox=s,this.viewBox=o.querySelector(".".concat(d,"-view-box")),this.face=c,r.appendChild(i),ft(t,T),a.insertBefore(o,t.nextSibling),vt(i,B),this.initPreview(),this.bind(),e.initialAspectRatio=Math.max(0,e.initialAspectRatio)||NaN,e.aspectRatio=Math.max(0,e.aspectRatio)||NaN,e.viewMode=Math.max(0,Math.min(3,Math.round(e.viewMode)))||0,ft(s,T),e.guides||ft(s.getElementsByClassName("".concat(d,"-dashed")),T),e.center||ft(s.getElementsByClassName("".concat(d,"-center")),T),e.background&&ft(o,"".concat(d,"-bg")),e.highlight||ft(c,k),e.cropBoxMovable&&(ft(c,W),Mt(c,z,p)),e.cropBoxResizable||(ft(s.getElementsByClassName("".concat(d,"-line")),T),ft(s.getElementsByClassName("".concat(d,"-point")),T)),this.render(),this.ready=!0,this.setDragMode(e.dragMode),e.autoCrop&&this.crop(),this.setData(e.data),ht(e.ready)&&Tt(t,q,e.ready,{once:!0}),Bt(t,q)}}},{key:"unbuild",value:function(){if(this.ready){this.ready=!1,this.unbind(),this.resetPreview();var t=this.cropper.parentNode;t&&t.removeChild(this.cropper),vt(this.element,T)}}},{key:"uncreate",value:function(){this.ready?(this.unbuild(),this.ready=!1,this.cropped=!1):this.sizing?(this.sizingImage.onload=null,this.sizing=!1,this.sized=!1):this.reloading?(this.xhr.onabort=null,this.xhr.abort()):this.image&&this.stop()}}],a=[{key:"noConflict",value:function(){return window.Cropper=qt,t}},{key:"setDefaults",value:function(t){dt(_,rt(t)&&t)}}],i&&n(e.prototype,i),a&&n(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,i,a}();return dt($t.prototype,jt,St,At,Pt,It,Ut),$t},"object"==typeof t&&void 0!==e?e.exports=a():"function"==typeof define&&define.amd?define(a):(i="undefined"!=typeof globalThis?globalThis:i||self).Cropper=a()}),n=/* @__PURE__ */t(i()),o=/* @__PURE__ */t(a()),r=function(){return r=Object.assign||function(t){for(var e,i=1,a=arguments.length;i<a;i++)for(var n in e=arguments[i])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},r.apply(this,arguments)};function h(t,e){var i={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(i[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(a=Object.getOwnPropertySymbols(t);n<a.length;n++)e.indexOf(a[n])<0&&Object.prototype.propertyIsEnumerable.call(t,a[n])&&(i[a[n]]=t[a[n]])}return i}var s=["aspectRatio","autoCrop","autoCropArea","background","center","checkCrossOrigin","checkOrientation","cropBoxMovable","cropBoxResizable","data","dragMode","guides","highlight","initialAspectRatio","minCanvasHeight","minCanvasWidth","minContainerHeight","minContainerWidth","minCropBoxHeight","minCropBoxWidth","modal","movable","preview","responsive","restore","rotatable","scalable","toggleDragModeOnDblclick","viewMode","wheelZoomRatio","zoomOnTouch","zoomOnWheel","zoomable","cropstart","cropmove","cropend","crop","zoom","ready"],c={opacity:0,maxWidth:"100%"},l=n.forwardRef(function(t,e){var i=h(t,[]),a=i.dragMode,l=void 0===a?"crop":a,d=i.src,p=i.style,u=i.className,m=i.crossOrigin,g=i.scaleX,f=i.scaleY,v=i.enable,w=i.zoomTo,b=i.rotateTo,y=i.alt,x=void 0===y?"picture":y,M=i.ready,C=i.onInitialized,D=h(i,["dragMode","src","style","className","crossOrigin","scaleX","scaleY","enable","zoomTo","rotateTo","alt","ready","onInitialized"]),O={scaleY:f,scaleX:g,enable:v,zoomTo:w,rotateTo:b},T=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var i=(0,n.useRef)(null);return n.useEffect(function(){t.forEach(function(t){t&&("function"==typeof t?t(i.current):t.current=i.current)})},[t]),i}(e,(0,n.useRef)(null));(0,n.useEffect)(function(){var t;null!==(t=T.current)&&void 0!==t&&t.cropper&&"number"==typeof w&&T.current.cropper.zoomTo(w)},[i.zoomTo]),(0,n.useEffect)(function(){var t;null!==(t=T.current)&&void 0!==t&&t.cropper&&void 0!==d&&T.current.cropper.reset().clear().replace(d)},[d]),(0,n.useEffect)(function(){if(null!==T.current){var t=new o.default(T.current,r(r({dragMode:l},D),{ready:function(t){null!==t.currentTarget&&function(t,e){void 0===e&&(e={});var i=e.enable,a=void 0===i||i,n=e.scaleX,o=void 0===n?1:n,r=e.scaleY,h=void 0===r?1:r,s=e.zoomTo,c=void 0===s?0:s,l=e.rotateTo;a?t.enable():t.disable(),t.scaleX(o),t.scaleY(h),void 0!==l&&t.rotateTo(l),c>0&&t.zoomTo(c)}(t.currentTarget.cropper,O),M&&M(t)}}));C&&C(t)}return function(){var t,e;null===(e=null===(t=T.current)||void 0===t?void 0:t.cropper)||void 0===e||e.destroy()}},[T]);var B,k=(B=r(r({},D),{crossOrigin:m,src:d,alt:x}),s.reduce(function(t,e){var i=t,a=e;return i[a],h(i,["symbol"==typeof a?a:a+""])},B));return n.createElement("div",{style:p,className:u},n.createElement("img",r({},k,{style:c,ref:T})))});export{l as Cropper,l as default};