@abtnode/webapp 1.17.8-beta-20260108-021819-e099f0ca → 1.17.8-beta-20260108-120904-21cb5fb6

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 (191) hide show
  1. package/blocklet.js +1 -1
  2. package/blocklet.yml +1 -1
  3. package/dist/assets/{AdapterDayjs-Chnfr9fe.js → AdapterDayjs-CtD5my-S.js} +1 -1
  4. package/dist/assets/{Add-b-MNk7UB.js → Add-CVe35B9U.js} +1 -1
  5. package/dist/assets/ArrowDropDown-59b471Ns.js +1 -0
  6. package/dist/assets/{Autocomplete-79tADtg2.js → Autocomplete-CZdtlRmS.js} +1 -1
  7. package/dist/assets/{Breadcrumbs-Cqjt-kp8.js → Breadcrumbs-DOWk4s-Q.js} +1 -1
  8. package/dist/assets/{ButtonGroup-C_JbniJW.js → ButtonGroup-83J5hh2q.js} +1 -1
  9. package/dist/assets/{CSSTransition-DinXVMZy.js → CSSTransition-Dmpq-B51.js} +1 -1
  10. package/dist/assets/{CallMerge-CF5jo3Pw.js → CallMerge-CZNqia3S.js} +1 -1
  11. package/dist/assets/{CardContent-CYNmFsYJ.js → CardContent-DXDn75TD.js} +1 -1
  12. package/dist/assets/{ChevronLeft-Byy2_Dj8.js → ChevronLeft-B8v-crqw.js} +1 -1
  13. package/dist/assets/{ChevronRight-BKFXnJ7g.js → ChevronRight-DIxNh4jH.js} +1 -1
  14. package/dist/assets/{Clear-Chg9fOPG.js → Clear-kzRbvP4u.js} +1 -1
  15. package/dist/assets/{Delete-B306vkSB.js → Delete-Cw_Z_UMc.js} +1 -1
  16. package/dist/assets/{DeleteOutline-BjSm7PCr.js → DeleteOutline-D2i9YJBS.js} +1 -1
  17. package/dist/assets/{Done-Bh0vP7e6.js → Done-CmV6TZSG.js} +1 -1
  18. package/dist/assets/{Edit-DFmlgA7E.js → Edit-DDUKSYdb.js} +1 -1
  19. package/dist/assets/{EditOutlined-Qskj3-tY.js → EditOutlined-MUSbzQj_.js} +1 -1
  20. package/dist/assets/{ErrorOutline-CjKNiJFO.js → ErrorOutline-jxA-S5AH.js} +1 -1
  21. package/dist/assets/{FilterList-Dphn1UXx.js → FilterList-B8T7rkYs.js} +1 -1
  22. package/dist/assets/{Google-C0G3l0jL.js → Google-Bg8SlDZS.js} +1 -1
  23. package/dist/assets/{HelpOutline--A0maMxb.js → HelpOutline-BOrIHXkQ.js} +1 -1
  24. package/dist/assets/{KeyboardArrowDown-CD6n37Y9.js → KeyboardArrowDown-CE7zJDcv.js} +1 -1
  25. package/dist/assets/{Launch-Cor8d4pT.js → Launch-BHeCrhBj.js} +1 -1
  26. package/dist/assets/{Link-Mg5UlAaZ.js → Link-C39j8j-1.js} +1 -1
  27. package/dist/assets/{ListItemButton-C8XIzvy_.js → ListItemButton-DLzzgnWj.js} +1 -1
  28. package/dist/assets/{ListSubheader-CHT01bOG.js → ListSubheader-BgTycqrg.js} +1 -1
  29. package/dist/assets/{LoadingButton-DtnAWL1w.js → LoadingButton-OiBPqmL8.js} +1 -1
  30. package/dist/assets/{MoreVert-KNjOpSoE.js → MoreVert-DJQ3tC1s.js} +1 -1
  31. package/dist/assets/{OpenInNew-DGDd5qxt.js → OpenInNew-awII5Ys1.js} +1 -1
  32. package/dist/assets/{Refresh-B0_3c6OW.js → Refresh-BpllOjUS.js} +1 -1
  33. package/dist/assets/{Replay-BzP784vV.js → Replay-CMmg_T4k.js} +1 -1
  34. package/dist/assets/{Search-CUoYhy1v.js → Search-DobdZczv.js} +1 -1
  35. package/dist/assets/{Stepper-DfUO9buC.js → Stepper-DJ4LlLol.js} +1 -1
  36. package/dist/assets/{TableSearch-DxZYknBa.js → TableSearch-NL7mGzF6.js} +1 -1
  37. package/dist/assets/{ToggleButtonGroup-BwLu2zCu.js → ToggleButtonGroup-1ZqP29sD.js} +1 -1
  38. package/dist/assets/{UnfoldMore-DvSw9pGy.js → UnfoldMore-BNE7Q7I9.js} +1 -1
  39. package/dist/assets/{Verified-CfonAx-G.js → Verified-pVnWh8ct.js} +1 -1
  40. package/dist/assets/{VerifiedUser-wCwGdsz1.js → VerifiedUser-Bq5EjyL0.js} +1 -1
  41. package/dist/assets/{ViewList-DhdvL6AT.js → ViewList-DikGBOob.js} +1 -1
  42. package/dist/assets/{_createAggregator-BLxu5C4t.js → _createAggregator-xAuoCETp.js} +1 -1
  43. package/dist/assets/{actions-Wo9kGXdj.js → actions-BHqqnvHK.js} +1 -1
  44. package/dist/assets/{actions-D1YtdqKL.js → actions-QNxlOGpH.js} +1 -1
  45. package/dist/assets/{agreement-07HiBYSX.js → agreement-D-rCiZRR.js} +1 -1
  46. package/dist/assets/api-ZR56mSDv.js +1 -0
  47. package/dist/assets/{appearance-CKF7Bo6h.js → appearance-CL4dIHJL.js} +1 -1
  48. package/dist/assets/{audit-logs-CLt2l7-q.js → audit-logs-BHIFDkts.js} +1 -1
  49. package/dist/assets/{base-chart-_0APPWGp.js → base-chart-CbniXo_r.js} +1 -1
  50. package/dist/assets/{blocklet-ClPWX-SV.js → blocklet-e4asDkfP.js} +1 -1
  51. package/dist/assets/{chain-Bg9mny_E.js → chain-CADjEEjt.js} +1 -1
  52. package/dist/assets/{click-to-copy-BbJJzGI1.js → click-to-copy-D5SbepAS.js} +1 -1
  53. package/dist/assets/cloneDeep-ChH4oif_.js +1 -0
  54. package/dist/assets/{config-navigation-B-CtKO70.js → config-navigation-ySXIDWww.js} +3 -3
  55. package/dist/assets/{connect-2JDWTFDP.js → connect-CdvuGCCf.js} +1 -1
  56. package/dist/assets/{connect-to-CBEHT895.js → connect-to-98MGJ7Yl.js} +1 -1
  57. package/dist/assets/{cssMode-U7KzpQEJ.js → cssMode-C_dsdlzf.js} +1 -1
  58. package/dist/assets/{delete-confirm-Cx4JPY2I.js → delete-confirm-Dk2gUSc_.js} +1 -1
  59. package/dist/assets/depsEqual-D1oKMHHx.js +1 -0
  60. package/dist/assets/{detail-Cgws9Fjd.js → detail-BSLJegmW.js} +3 -3
  61. package/dist/assets/{domains-BJzrDugH.js → domains-DgPIevHh.js} +1 -1
  62. package/dist/assets/{download-Df1TrhTI.js → download-DjUrRSaE.js} +1 -1
  63. package/dist/assets/{edit.svg-833vjqGH.js → edit.svg-BGFHNdYl.js} +1 -1
  64. package/dist/assets/emotion-cache.browser.esm-CO4m2LjK.js +1 -0
  65. package/dist/assets/engine-AOyfq5pg.js +1 -0
  66. package/dist/assets/{freemarker2-J5nZkQuM.js → freemarker2-Ynl3hbRt.js} +1 -1
  67. package/dist/assets/{get-safe-url-QppwE77w.js → get-safe-url-D0pcxgUJ.js} +1 -1
  68. package/dist/assets/getValidReactChildren-BrnINUbd.js +1 -0
  69. package/dist/assets/{graphqlMode-5yY_akok.js → graphqlMode-D3ZzOvwh.js} +2 -2
  70. package/dist/assets/{handlebars-DfBT6Rl2.js → handlebars-BXtXOFnU.js} +1 -1
  71. package/dist/assets/{html-BBpT31Z8.js → html-68WkZj1H.js} +1 -1
  72. package/dist/assets/{html-title-BpNgi7iw.js → html-title-CT8s_pnR.js} +1 -1
  73. package/dist/assets/{htmlMode-CDF4YwlA.js → htmlMode-D6dQwFeL.js} +1 -1
  74. package/dist/assets/{iframe-CH8rbppJ.js → iframe-BzTEh7qO.js} +1 -1
  75. package/dist/assets/{index-jHF3D4cy.js → index-AoP-pJu3.js} +1 -1
  76. package/dist/assets/{index-B8qqbKQt.js → index-B-25u8Uu.js} +1 -1
  77. package/dist/assets/index-B1_4iuGC.js +782 -0
  78. package/dist/assets/{index-tNmk7CjJ.js → index-BAYzgNzt.js} +1 -1
  79. package/dist/assets/{index-BdVOugOI.js → index-BFzkIx2h.js} +1 -1
  80. package/dist/assets/index-BQ9Dluv4.js +1 -0
  81. package/dist/assets/{index-B3tcK3_z.js → index-BTw_aopw.js} +14 -14
  82. package/dist/assets/{index-Dr7VuVvC.js → index-BV0mjh6r.js} +1 -1
  83. package/dist/assets/{index-DSjaZAu3.js → index-BaJk36L1.js} +1 -1
  84. package/dist/assets/{index-BJVvRV0h.js → index-BazbEWXv.js} +1 -1
  85. package/dist/assets/{index-CsTd8Q4H.js → index-Bd2vWvMu.js} +1 -1
  86. package/dist/assets/{index-CbnvHmOA.js → index-Bmj3JRL8.js} +1 -1
  87. package/dist/assets/{index-DCHzmqFc.js → index-BspQeR3D.js} +1 -1
  88. package/dist/assets/{index-CKWS_NIP.js → index-Bwnzqjf1.js} +1 -1
  89. package/dist/assets/{index-B4fcaU-r.js → index-CB1i_uf2.js} +1 -1
  90. package/dist/assets/{index-DqkfLKvE.js → index-CIjzdo65.js} +1 -1
  91. package/dist/assets/{index-CDd3s2GI.js → index-CVfXb0nN.js} +1 -1
  92. package/dist/assets/{index-CaxsY_au.js → index-CmbSgUyL.js} +3 -3
  93. package/dist/assets/{index-BikUP_wv.js → index-Cmvy-qPR.js} +1 -1
  94. package/dist/assets/{index-BVJB29cJ.js → index-Cp8XtCdH.js} +1 -1
  95. package/dist/assets/{index-BSBkhGl0.js → index-Cq78KErH.js} +1 -1
  96. package/dist/assets/{index-WHQs_PkC.js → index-Cy488fNr.js} +1 -1
  97. package/dist/assets/{index-B6x6Mq9n.js → index-D2bmvDtL.js} +1 -1
  98. package/dist/assets/{index-Crqqt-AN.js → index-D33KlJUT.js} +1 -1
  99. package/dist/assets/{index-3MwDYHdN.js → index-DA7EVQ4v.js} +9 -9
  100. package/dist/assets/{index-DXfP6ckA.js → index-DDI8UY6T.js} +2 -2
  101. package/dist/assets/{index-BBe9oV9e.js → index-DLJTQrAL.js} +1 -1
  102. package/dist/assets/{index-Bek3Nxot.js → index-DQhyMeoV.js} +3 -3
  103. package/dist/assets/{index-D_L4A5jU.js → index-DVXDeiLF.js} +1 -1
  104. package/dist/assets/{index-m8sITmne.js → index-DXHVn7yq.js} +1 -1
  105. package/dist/assets/{index-BbND9whL.js → index-Da8PZ-lu.js} +1 -1
  106. package/dist/assets/{index-iqFfmV_z.js → index-DfDHgwS-.js} +1 -1
  107. package/dist/assets/{index-BqrWLXQw.js → index-Dpw7fQUd.js} +3 -3
  108. package/dist/assets/{index-DrsAyGr6.js → index-DuNah4NO.js} +1 -1
  109. package/dist/assets/{index-BHQcEGDq.js → index-DvMdH51T.js} +1 -1
  110. package/dist/assets/{index-CBHMH4Z7.js → index-DxFY8dMO.js} +1 -1
  111. package/dist/assets/{index-cZdqepfp.js → index-Dz1ZwZ8x.js} +1 -1
  112. package/dist/assets/{index-0NOALS_P.js → index-Fir5RRo8.js} +1 -1
  113. package/dist/assets/{index-FdUIQyuT.js → index-Fr0im6-l.js} +1 -1
  114. package/dist/assets/{index-DJfXtT-f.js → index-Jt9YjCeK.js} +1 -1
  115. package/dist/assets/{index-CHgpIuFF.js → index-Ltxc7YUP.js} +1 -1
  116. package/dist/assets/{index-BfTQCMKf.js → index-LvA6paIR.js} +1 -1
  117. package/dist/assets/{index-CbK68mel.js → index-ZuJcpT1T.js} +1 -1
  118. package/dist/assets/{index-BfnrUUfH.js → index-bAcW8HYF.js} +1 -1
  119. package/dist/assets/{index-BRSm_uSW.js → index-teas2Eib.js} +3 -3
  120. package/dist/assets/{index-CZX-K9Eg.js → index-yR3ovHMI.js} +1 -1
  121. package/dist/assets/{index.esm-WZ7Avw4n.js → index.esm-CL88L2RD.js} +1 -1
  122. package/dist/assets/{install-from-url-PuHPLadE.js → install-from-url-C9wGB_q1.js} +1 -1
  123. package/dist/assets/{invitation-Bi2QgUpB.js → invitation-DBHFAKTZ.js} +1 -1
  124. package/dist/assets/{is-path-prefix-equal-BAfeJQQq.js → is-path-prefix-equal-Df12gAPj.js} +1 -1
  125. package/dist/assets/{item-hbtsGcq0.js → item-D4OgvExU.js} +1 -1
  126. package/dist/assets/{javascript-CH6uPFyX.js → javascript-CY8tPfqG.js} +1 -1
  127. package/dist/assets/{jsonMode-B3mvgwT0.js → jsonMode-B1lllzUE.js} +1 -1
  128. package/dist/assets/{liquid-BoDus-ho.js → liquid-gpD4GU-k.js} +1 -1
  129. package/dist/assets/{list-header-C3SJDsfy.js → list-header-CjwjgfKp.js} +1 -1
  130. package/dist/assets/{lock.svg-CGmlgpmU.js → lock.svg-BmAm_LJl.js} +1 -1
  131. package/dist/assets/{log-D4BWVj7G.js → log-9z7r8Lwt.js} +1 -1
  132. package/dist/assets/{lottie-react.esm-ayFZjR4e.js → lottie-react.esm-C8kqAAU9.js} +1 -1
  133. package/dist/assets/{mdx-C33wkq6H.js → mdx-BwNO0Air.js} +1 -1
  134. package/dist/assets/{memory-lh5QZ4zg.js → memory-DO3ZqhrY.js} +1 -1
  135. package/dist/assets/{metric-chc-qmc8.js → metric-BcTiOrOk.js} +1 -1
  136. package/dist/assets/omit-jBEByUQC.js +1 -0
  137. package/dist/assets/{overview-DL-GP40o.js → overview-CikmJX9H.js} +1 -1
  138. package/dist/assets/{permission-D09K4EY6.js → permission-D1opDJhT.js} +1 -1
  139. package/dist/assets/{preference-iiwdIYk6.js → preference-Cs7lm-MF.js} +3 -3
  140. package/dist/assets/{provider-icon-Dm9XYo2I.js → provider-icon-CFKcu3V6.js} +1 -1
  141. package/dist/assets/{python-D_lYYAX1.js → python-CNXRlmYQ.js} +1 -1
  142. package/dist/assets/{raf-schd.esm-Bo9SYHL8.js → raf-schd.esm-D0EagQlv.js} +1 -1
  143. package/dist/assets/{razor-dpsmZHh4.js → razor-eMpDpC4X.js} +1 -1
  144. package/dist/assets/{rotate-session-key-Bfdv46s3.js → rotate-session-key-BiL0Bo_O.js} +1 -1
  145. package/dist/assets/{runtime-BUcScDcM.js → runtime-DUYT_SiT.js} +1 -1
  146. package/dist/assets/schema-iTOku2t8.js +1 -0
  147. package/dist/assets/sdk-B0lvz_Iz.js +1 -0
  148. package/dist/assets/{service-DCzLPjA3.js → service-BTdtH483.js} +1 -1
  149. package/dist/assets/{shorten-label-CN9pEyom.js → shorten-label-BNzeaF4J.js} +1 -1
  150. package/dist/assets/{simple-select-DxwJpURO.js → simple-select-BhAfKrhv.js} +1 -1
  151. package/dist/assets/{spaces-BrB8zqzV.js → spaces-OwZlXUZ4.js} +1 -1
  152. package/dist/assets/{status-BZx_J-ps.js → status-D6WlCP08.js} +1 -1
  153. package/dist/assets/{status-B-GGRrEB.js → status-cEVhL_8t.js} +1 -1
  154. package/dist/assets/{switch-control-X9WA2UjB.js → switch-control-DfH5Tjol.js} +1 -1
  155. package/dist/assets/{table-icons-Xs4hP9Pw.js → table-icons-CDTf0wL3.js} +1 -1
  156. package/dist/assets/{team-B9jB42uy.js → team-BGXKsY22.js} +1 -1
  157. package/dist/assets/{toLower-DwWNsNMJ.js → toLower-CSOmIMZJ.js} +1 -1
  158. package/dist/assets/toUpper-DnO1VFxi.js +1 -0
  159. package/dist/assets/{traffic-C_4zWOQM.js → traffic-DvCEQ5xd.js} +1 -1
  160. package/dist/assets/{tsMode-57DuREfP.js → tsMode-Let-Q8zu.js} +1 -1
  161. package/dist/assets/{typescript-BJp2b_J1.js → typescript-DyjM7FW9.js} +1 -1
  162. package/dist/assets/{url-evaluation-DetQFE_e.js → url-evaluation-Bukt7_Lj.js} +1 -1
  163. package/dist/assets/{url-join-rRKl4Ear.js → url-join-xsOaQKQ2.js} +1 -1
  164. package/dist/assets/{use-mobile-DOhPXmq7.js → use-mobile-BIQUR7Fz.js} +1 -1
  165. package/dist/assets/{use-mobile-BDRFDg8j.js → use-mobile-CFNU7YUg.js} +1 -1
  166. package/dist/assets/{useAsync-B59MJoKM.js → useAsync-tWL_hrVo.js} +1 -1
  167. package/dist/assets/{useAsyncRetry-CGp0YSlH.js → useAsyncRetry-CUFV5zTA.js} +1 -1
  168. package/dist/assets/{useLocalStorage-Dpl2DibN.js → useLocalStorage-MLO2O-Eu.js} +1 -1
  169. package/dist/assets/{useThemeProps-BS48y1B2.js → useThemeProps-C4X8Xuf-.js} +1 -1
  170. package/dist/assets/{util-DgOs7OwT.js → util-Byl4XHzq.js} +1 -1
  171. package/dist/assets/{wait-container-CxHAyAQN.js → wait-container-80uXorh3.js} +1 -1
  172. package/dist/assets/{without-wallet-qfmn1VhQ.js → without-wallet-U6nu7HMX.js} +1 -1
  173. package/dist/assets/wrap-locale-pkCcV7CX.js +1 -0
  174. package/dist/assets/{xml-BZRt8HAs.js → xml-CtKLgaY7.js} +1 -1
  175. package/dist/assets/{yaml-0X7rH3i7.js → yaml-CMyMNgnc.js} +1 -1
  176. package/dist/index.html +1 -1
  177. package/package.json +1 -1
  178. package/dist/assets/ArrowDropDown-lsZjWbH5.js +0 -1
  179. package/dist/assets/api-eF9wxSJp.js +0 -1
  180. package/dist/assets/cloneDeep-DNOsGRuG.js +0 -1
  181. package/dist/assets/depsEqual-Cvglsxh5.js +0 -1
  182. package/dist/assets/emotion-cache.browser.esm-Epiq9rij.js +0 -1
  183. package/dist/assets/engine-a9f8P0CB.js +0 -1
  184. package/dist/assets/getValidReactChildren-Cjo-LFyx.js +0 -1
  185. package/dist/assets/index-B31H3tAk.js +0 -1
  186. package/dist/assets/index-HqyXcG7M.js +0 -602
  187. package/dist/assets/omit-C11lcOpj.js +0 -1
  188. package/dist/assets/schema-DidDB4o0.js +0 -1
  189. package/dist/assets/sdk-l1r4MOQ_.js +0 -1
  190. package/dist/assets/toUpper-DXK6zXOf.js +0 -1
  191. package/dist/assets/wrap-locale-D8IL6u8L.js +0 -1
@@ -1,4 +1,4 @@
1
- import{aF as Tn,j as o,be as Le,di as ho,ey as vt,bd as fo,r as F,f as $e,g6 as po,a2 as mo,g1 as go,g7 as Ur,cv as Lt,aA as bo,aB as On,J as V,aV as fe,g8 as yo,d_ as Gt,g9 as fr,cz as vo,T as Y,ga as xo,g4 as Kr,C as Ce,bA as ve,eg as Vr,gb as wo,gc as Hr,eK as qr,gd as Xt,t as Gr,U as Et,y as Je,at as Pt,ge as So,E as Ye,aU as Xr,X as Qr,z as Cn,ek as Me,G as pr,aP as ko,fN as mr,cJ as jo,gf as To,gg as Oo,gh as Co,cH as Io,N as Eo,eL as Po,gi as Ro,eJ as _o,by as Mo,_ as Lo,gj as Do,gk as gr,br as ze,V as Ue,P as In,aO as br,o as R,bk as zo,gl as Yr,b2 as Fo,aD as xt,v as Rt,a7 as Wo,a8 as Jr,aE as Ao,bq as yr,a9 as Bo,bn as En,$ as No,D as $o,Y as Uo,cQ as Ko,Z as at,fD as Vo,H as Be,b as Ho,n as qo,a$ as Go,ad as Xo,F as Qo,aH as Zr,cA as Yo,b8 as Jo,W as Zo}from"./index-Bek3Nxot.js";import{u as es}from"./index-CbnvHmOA.js";import{d as ts}from"./KeyboardArrowDown-CD6n37Y9.js";import{P as ns}from"./ChevronLeft-Byy2_Dj8.js";import{N as rs}from"./ChevronRight-BKFXnJ7g.js";import{S as is}from"./Search-CUoYhy1v.js";import{y as os}from"./index-CDd3s2GI.js";import{o as ss,u as as}from"./blocklet-ClPWX-SV.js";import{A as ls}from"./Autocomplete-79tADtg2.js";import{V as cs}from"./Verified-CfonAx-G.js";import{S as us,V as ds}from"./VerifiedUser-wCwGdsz1.js";import{A as hs}from"./Add-b-MNk7UB.js";import{L as ei}from"./Launch-Cor8d4pT.js";import{D as fs}from"./Done-Bh0vP7e6.js";import{D as ti}from"./DeleteOutline-BjSm7PCr.js";import{D as ps}from"./delete-confirm-Cx4JPY2I.js";import{I as ms}from"./MoreVert-KNjOpSoE.js";import{g as ut}from"./get-safe-url-QppwE77w.js";import{B as vr}from"./ButtonGroup-C_JbniJW.js";const gs=Tn(o.jsx("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M19 18H6c-2.21 0-4-1.79-4-4 0-2.05 1.53-3.76 3.56-3.97l1.07-.11.5-.95C8.08 7.14 9.94 6 12 6c2.62 0 4.88 1.86 5.39 4.43l.3 1.5 1.53.11c1.56.1 2.78 1.41 2.78 2.96 0 1.65-1.35 3-3 3M8 13h2.55v3h2.9v-3H16l-4-4z"})),bs=Tn(o.jsx("path",{d:"M17 7h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1 0 1.43-.98 2.63-2.31 2.98l1.46 1.46C20.88 15.61 22 13.95 22 12c0-2.76-2.24-5-5-5m-1 4h-2.19l2 2H16zM2 4.27l3.11 3.11C3.29 8.12 2 9.91 2 12c0 2.76 2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1 0-1.59 1.21-2.9 2.76-3.07L8.73 11H8v2h2.73L13 15.27V17h1.73l4.01 4L20 19.74 3.27 3z"})),ys=Tn(o.jsx("path",{d:"M17 7h-4v2h4c1.65 0 3 1.35 3 3s-1.35 3-3 3h-4v2h4c2.76 0 5-2.24 5-5s-2.24-5-5-5m-6 8H7c-1.65 0-3-1.35-3-3s1.35-3 3-3h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4zm-3-4h8v2H8z"})),ac="blocklet-add-component-registry",lc="server-add-registry",vs={width:24,height:24,body:'<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="m8 16l2-6l6-2l-2 6l-6 2"/><path d="M3 12a9 9 0 1 0 18 0a9 9 0 1 0-18 0m9-9v2m0 14v2m-9-9h2m14 0h2"/></g>'},lt=/^[a-z0-9]+(-[a-z0-9]+)*$/,Dt=(e,t,n,r="")=>{const i=e.split(":");if(e.slice(0,1)==="@"){if(i.length<2||i.length>3)return null;r=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){const u=i.pop(),p=i.pop(),g={provider:i.length>0?i[0]:r,prefix:p,name:u};return t&&!Ot(g)?null:g}const s=i[0],h=s.split("-");if(h.length>1){const u={provider:r,prefix:h.shift(),name:h.join("-")};return t&&!Ot(u)?null:u}if(n&&r===""){const u={provider:r,prefix:"",name:s};return t&&!Ot(u,n)?null:u}return null},Ot=(e,t)=>e?!!((e.provider===""||e.provider.match(lt))&&(t&&e.prefix===""||e.prefix.match(lt))&&e.name.match(lt)):!1,ni=Object.freeze({left:0,top:0,width:16,height:16}),_t=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Pn=Object.freeze({...ni,..._t}),hn=Object.freeze({...Pn,body:"",hidden:!1});function xs(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function xr(e,t){const n=xs(e,t);for(const r in hn)r in _t?r in e&&!(r in n)&&(n[r]=_t[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function ws(e,t){const n=e.icons,r=e.aliases||Object.create(null),i=Object.create(null);function s(h){if(n[h])return i[h]=[];if(!(h in i)){i[h]=null;const u=r[h]&&r[h].parent,p=u&&s(u);p&&(i[h]=[u].concat(p))}return i[h]}return Object.keys(n).concat(Object.keys(r)).forEach(s),i}function Ss(e,t,n){const r=e.icons,i=e.aliases||Object.create(null);let s={};function h(u){s=xr(r[u]||i[u],s)}return h(t),n.forEach(h),xr(e,s)}function ri(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(i=>{t(i,null),n.push(i)});const r=ws(e);for(const i in r){const s=r[i];s&&(t(i,Ss(e,i,s)),n.push(i))}return n}const ks={provider:"",aliases:{},not_found:{},...ni};function Qt(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function ii(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Qt(e,ks))return null;const n=t.icons;for(const i in n){const s=n[i];if(!i.match(lt)||typeof s.body!="string"||!Qt(s,hn))return null}const r=t.aliases||Object.create(null);for(const i in r){const s=r[i],h=s.parent;if(!i.match(lt)||typeof h!="string"||!n[h]&&!r[h]||!Qt(s,hn))return null}return t}const wr=Object.create(null);function js(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Ne(e,t){const n=wr[e]||(wr[e]=Object.create(null));return n[t]||(n[t]=js(e,t))}function Rn(e,t){return ii(t)?ri(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function Ts(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let dt=!1;function oi(e){return typeof e=="boolean"&&(dt=e),dt}function Os(e){const t=typeof e=="string"?Dt(e,!0,dt):e;if(t){const n=Ne(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function Cs(e,t){const n=Dt(e,!0,dt);if(!n)return!1;const r=Ne(n.provider,n.prefix);return Ts(r,n.name,t)}function Is(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),dt&&!t&&!e.prefix){let i=!1;return ii(e)&&(e.prefix="",ri(e,(s,h)=>{h&&Cs(s,h)&&(i=!0)})),i}const n=e.prefix;if(!Ot({provider:t,prefix:n,name:"a"}))return!1;const r=Ne(t,n);return!!Rn(r,e)}const si=Object.freeze({width:null,height:null}),ai=Object.freeze({...si,..._t}),Es=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Ps=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Sr(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(Es);if(r===null||!r.length)return e;const i=[];let s=r.shift(),h=Ps.test(s);for(;;){if(h){const u=parseFloat(s);isNaN(u)?i.push(s):i.push(Math.ceil(u*t*n)/n)}else i.push(s);if(s=r.shift(),s===void 0)return i.join("");h=!h}}const Rs=e=>e==="unset"||e==="undefined"||e==="none";function _s(e,t){const n={...Pn,...e},r={...ai,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(k=>{const x=[],P=k.hFlip,_=k.vFlip;let T=k.rotate;P?_?T+=2:(x.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),x.push("scale(-1 1)"),i.top=i.left=0):_&&(x.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),x.push("scale(1 -1)"),i.top=i.left=0);let N;switch(T<0&&(T-=Math.floor(T/4)*4),T=T%4,T){case 1:N=i.height/2+i.top,x.unshift("rotate(90 "+N.toString()+" "+N.toString()+")");break;case 2:x.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:N=i.width/2+i.left,x.unshift("rotate(-90 "+N.toString()+" "+N.toString()+")");break}T%2===1&&(i.left!==i.top&&(N=i.left,i.left=i.top,i.top=N),i.width!==i.height&&(N=i.width,i.width=i.height,i.height=N)),x.length&&(s='<g transform="'+x.join(" ")+'">'+s+"</g>")});const h=r.width,u=r.height,p=i.width,g=i.height;let m,v;h===null?(v=u===null?"1em":u==="auto"?g:u,m=Sr(v,p/g)):(m=h==="auto"?p:h,v=u===null?Sr(m,g/p):u==="auto"?g:u);const j={},w=(k,x)=>{Rs(x)||(j[k]=x.toString())};return w("width",m),w("height",v),j.viewBox=i.left.toString()+" "+i.top.toString()+" "+p.toString()+" "+g.toString(),{attributes:j,body:s}}const Ms=/\sid="(\S+)"/g,Ls="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Ds=0;function zs(e,t=Ls){const n=[];let r;for(;r=Ms.exec(e);)n.push(r[1]);if(!n.length)return e;const i="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(s=>{const h=typeof t=="function"?t(s):t+(Ds++).toString(),u=s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+u+')([")]|\\.[a-z])',"g"),"$1"+h+i+"$3")}),e=e.replace(new RegExp(i,"g"),""),e}const fn=Object.create(null);function Fs(e,t){fn[e]=t}function pn(e){return fn[e]||fn[""]}function _n(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const Mn=Object.create(null),st=["https://api.simplesvg.com","https://api.unisvg.com"],Ct=[];for(;st.length>0;)st.length===1||Math.random()>.5?Ct.push(st.shift()):Ct.push(st.pop());Mn[""]=_n({resources:["https://api.iconify.design"].concat(Ct)});function Ws(e,t){const n=_n(t);return n===null?!1:(Mn[e]=n,!0)}function Ln(e){return Mn[e]}const As=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let kr=As();function Bs(e,t){const n=Ln(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let i=0;n.resources.forEach(h=>{i=Math.max(i,h.length)});const s=t+".json?icons=";r=n.maxURL-i-n.path.length-s.length}return r}function Ns(e){return e===404}const $s=(e,t,n)=>{const r=[],i=Bs(e,t),s="icons";let h={type:s,provider:e,prefix:t,icons:[]},u=0;return n.forEach((p,g)=>{u+=p.length+1,u>=i&&g>0&&(r.push(h),h={type:s,provider:e,prefix:t,icons:[]},u=p.length),h.icons.push(p)}),r.push(h),r};function Us(e){if(typeof e=="string"){const t=Ln(e);if(t)return t.path}return"/"}const Ks=(e,t,n)=>{if(!kr){n("abort",424);return}let r=Us(t.provider);switch(t.type){case"icons":{const s=t.prefix,u=t.icons.join(","),p=new URLSearchParams({icons:u});r+=s+".json?"+p.toString();break}case"custom":{const s=t.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let i=503;kr(e+r).then(s=>{const h=s.status;if(h!==200){setTimeout(()=>{n(Ns(h)?"abort":"next",h)});return}return i=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{s===404?n("abort",s):n("next",i)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",i)})},Vs={prepare:$s,send:Ks};function Hs(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((i,s)=>i.provider!==s.provider?i.provider.localeCompare(s.provider):i.prefix!==s.prefix?i.prefix.localeCompare(s.prefix):i.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(i=>{if(r.name===i.name&&r.prefix===i.prefix&&r.provider===i.provider)return;r=i;const s=i.provider,h=i.prefix,u=i.name,p=n[s]||(n[s]=Object.create(null)),g=p[h]||(p[h]=Ne(s,h));let m;u in g.icons?m=t.loaded:h===""||g.missing.has(u)?m=t.missing:m=t.pending;const v={provider:s,prefix:h,name:u};m.push(v)}),t}function li(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(i=>i.id!==t))})}function qs(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,i=e.prefix;t.forEach(s=>{const h=s.icons,u=h.pending.length;h.pending=h.pending.filter(p=>{if(p.prefix!==i)return!0;const g=p.name;if(e.icons[g])h.loaded.push({provider:r,prefix:i,name:g});else if(e.missing.has(g))h.missing.push({provider:r,prefix:i,name:g});else return n=!0,!0;return!1}),h.pending.length!==u&&(n||li([e],s.id),s.callback(h.loaded.slice(0),h.missing.slice(0),h.pending.slice(0),s.abort))})}))}let Gs=0;function Xs(e,t,n){const r=Gs++,i=li.bind(null,n,r);if(!t.pending.length)return i;const s={id:r,icons:t,callback:e,abort:i};return n.forEach(h=>{(h.loaderCallbacks||(h.loaderCallbacks=[])).push(s)}),i}function Qs(e,t=!0,n=!1){const r=[];return e.forEach(i=>{const s=typeof i=="string"?Dt(i,t,n):i;s&&r.push(s)}),r}var Ys={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Js(e,t,n,r){const i=e.resources.length,s=e.random?Math.floor(Math.random()*i):e.index;let h;if(e.random){let B=e.resources.slice(0);for(h=[];B.length>1;){const X=Math.floor(Math.random()*B.length);h.push(B[X]),B=B.slice(0,X).concat(B.slice(X+1))}h=h.concat(B)}else h=e.resources.slice(s).concat(e.resources.slice(0,s));const u=Date.now();let p="pending",g=0,m,v=null,j=[],w=[];typeof r=="function"&&w.push(r);function k(){v&&(clearTimeout(v),v=null)}function x(){p==="pending"&&(p="aborted"),k(),j.forEach(B=>{B.status==="pending"&&(B.status="aborted")}),j=[]}function P(B,X){X&&(w=[]),typeof B=="function"&&w.push(B)}function _(){return{startTime:u,payload:t,status:p,queriesSent:g,queriesPending:j.length,subscribe:P,abort:x}}function T(){p="failed",w.forEach(B=>{B(void 0,m)})}function N(){j.forEach(B=>{B.status==="pending"&&(B.status="aborted")}),j=[]}function H(B,X,te){const se=X!=="success";switch(j=j.filter($=>$!==B),p){case"pending":break;case"failed":if(se||!e.dataAfterTimeout)return;break;default:return}if(X==="abort"){m=te,T();return}if(se){m=te,j.length||(h.length?ee():T());return}if(k(),N(),!e.random){const $=e.resources.indexOf(B.resource);$!==-1&&$!==e.index&&(e.index=$)}p="completed",w.forEach($=>{$(te)})}function ee(){if(p!=="pending")return;k();const B=h.shift();if(B===void 0){if(j.length){v=setTimeout(()=>{k(),p==="pending"&&(N(),T())},e.timeout);return}T();return}const X={status:"pending",resource:B,callback:(te,se)=>{H(X,te,se)}};j.push(X),g++,v=setTimeout(ee,e.rotate),n(B,t,X.callback)}return setTimeout(ee),_}function ci(e){const t={...Ys,...e};let n=[];function r(){n=n.filter(u=>u().status==="pending")}function i(u,p,g){const m=Js(t,u,p,(v,j)=>{r(),g&&g(v,j)});return n.push(m),m}function s(u){return n.find(p=>u(p))||null}return{query:i,find:s,setIndex:u=>{t.index=u},getIndex:()=>t.index,cleanup:r}}function jr(){}const Yt=Object.create(null);function Zs(e){if(!Yt[e]){const t=Ln(e);if(!t)return;const n=ci(t),r={config:t,redundancy:n};Yt[e]=r}return Yt[e]}function ea(e,t,n){let r,i;if(typeof e=="string"){const s=pn(e);if(!s)return n(void 0,424),jr;i=s.send;const h=Zs(e);h&&(r=h.redundancy)}else{const s=_n(e);if(s){r=ci(s);const h=e.resources?e.resources[0]:"",u=pn(h);u&&(i=u.send)}}return!r||!i?(n(void 0,424),jr):r.query(t,i,n)().abort}const Tr="iconify2",ht="iconify",ui=ht+"-count",Or=ht+"-version",di=36e5,ta=168;function mn(e,t){try{return e.getItem(t)}catch{}}function Dn(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Cr(e,t){try{e.removeItem(t)}catch{}}function gn(e,t){return Dn(e,ui,t.toString())}function bn(e){return parseInt(mn(e,ui))||0}const zt={local:!0,session:!0},hi={local:new Set,session:new Set};let zn=!1;function na(e){zn=e}let wt=typeof window>"u"?{}:window;function fi(e){const t=e+"Storage";try{if(wt&&wt[t]&&typeof wt[t].length=="number")return wt[t]}catch{}zt[e]=!1}function pi(e,t){const n=fi(e);if(!n)return;const r=mn(n,Or);if(r!==Tr){if(r){const u=bn(n);for(let p=0;p<u;p++)Cr(n,ht+p.toString())}Dn(n,Or,Tr),gn(n,0);return}const i=Math.floor(Date.now()/di)-ta,s=u=>{const p=ht+u.toString(),g=mn(n,p);if(typeof g=="string"){try{const m=JSON.parse(g);if(typeof m=="object"&&typeof m.cached=="number"&&m.cached>i&&typeof m.provider=="string"&&typeof m.data=="object"&&typeof m.data.prefix=="string"&&t(m,u))return!0}catch{}Cr(n,p)}};let h=bn(n);for(let u=h-1;u>=0;u--)s(u)||(u===h-1?(h--,gn(n,h)):hi[e].add(u))}function mi(){if(!zn){na(!0);for(const e in zt)pi(e,t=>{const n=t.data,r=t.provider,i=n.prefix,s=Ne(r,i);if(!Rn(s,n).length)return!1;const h=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,h):h,!0})}}function ra(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in zt)pi(r,i=>{const s=i.data;return i.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function ia(e,t){zn||mi();function n(r){let i;if(!zt[r]||!(i=fi(r)))return;const s=hi[r];let h;if(s.size)s.delete(h=Array.from(s).shift());else if(h=bn(i),!gn(i,h+1))return;const u={cached:Math.floor(Date.now()/di),provider:e.provider,data:t};return Dn(i,ht+h.toString(),JSON.stringify(u))}t.lastModified&&!ra(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Ir(){}function oa(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,qs(e)}))}function sa(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,i=e.iconsToLoad;delete e.iconsToLoad;let s;if(!i||!(s=pn(n)))return;s.prepare(n,r,i).forEach(u=>{ea(n,u,p=>{if(typeof p!="object")u.icons.forEach(g=>{e.missing.add(g)});else try{const g=Rn(e,p);if(!g.length)return;const m=e.pendingIcons;m&&g.forEach(v=>{m.delete(v)}),ia(e,p)}catch(g){console.error(g)}oa(e)})})}))}const aa=(e,t)=>{const n=Qs(e,!0,oi()),r=Hs(n);if(!r.pending.length){let p=!0;return t&&setTimeout(()=>{p&&t(r.loaded,r.missing,r.pending,Ir)}),()=>{p=!1}}const i=Object.create(null),s=[];let h,u;return r.pending.forEach(p=>{const{provider:g,prefix:m}=p;if(m===u&&g===h)return;h=g,u=m,s.push(Ne(g,m));const v=i[g]||(i[g]=Object.create(null));v[m]||(v[m]=[])}),r.pending.forEach(p=>{const{provider:g,prefix:m,name:v}=p,j=Ne(g,m),w=j.pendingIcons||(j.pendingIcons=new Set);w.has(v)||(w.add(v),i[g][m].push(v))}),s.forEach(p=>{const{provider:g,prefix:m}=p;i[g][m].length&&sa(p,i[g][m])}),t?Xs(t,r,s):Ir};function la(e,t){const n={...e};for(const r in t){const i=t[r],s=typeof i;r in si?(i===null||i&&(s==="string"||s==="number"))&&(n[r]=i):s===typeof n[r]&&(n[r]=r==="rotate"?i%4:i)}return n}const ca=/[\s,]+/;function ua(e,t){t.split(ca).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function da(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(i){for(;i<0;)i+=4;return i%4}if(n===""){const i=parseInt(e);return isNaN(i)?0:r(i)}else if(n!==e){let i=0;switch(n){case"%":i=25;break;case"deg":i=90}if(i){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/i,s%1===0?r(s):0)}}return t}function ha(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function fa(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function pa(e){return"data:image/svg+xml,"+fa(e)}function ma(e){return'url("'+pa(e)+'")'}let ct;function ga(){try{ct=window.trustedTypes.createPolicy("iconify",{createHTML:e=>e})}catch{ct=null}}function ba(e){return ct===void 0&&ga(),ct?ct.createHTML(e):e}const gi={...ai,inline:!1},ya={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},va={display:"inline-block"},yn={backgroundColor:"currentColor"},bi={backgroundColor:"transparent"},Er={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Pr={WebkitMask:yn,mask:yn,background:bi};for(const e in Pr){const t=Pr[e];for(const n in Er)t[e+n]=Er[n]}const xa={...gi,inline:!0};function Rr(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const wa=(e,t,n,r)=>{const i=n?xa:gi,s=la(i,t),h=t.mode||"svg",u={},p=t.style||{},g={...h==="svg"?ya:{},ref:r};for(let _ in t){const T=t[_];if(T!==void 0)switch(_){case"icon":case"style":case"children":case"onLoad":case"mode":case"_ref":case"_inline":break;case"inline":case"hFlip":case"vFlip":s[_]=T===!0||T==="true"||T===1;break;case"flip":typeof T=="string"&&ua(s,T);break;case"color":u.color=T;break;case"rotate":typeof T=="string"?s[_]=da(T):typeof T=="number"&&(s[_]=T);break;case"ariaHidden":case"aria-hidden":T!==!0&&T!=="true"&&delete g["aria-hidden"];break;default:i[_]===void 0&&(g[_]=T)}}const m=_s(e,s),v=m.attributes;if(s.inline&&(u.verticalAlign="-0.125em"),h==="svg"){g.style={...u,...p},Object.assign(g,v);let _=0,T=t.id;return typeof T=="string"&&(T=T.replace(/-/g,"_")),g.dangerouslySetInnerHTML={__html:ba(zs(m.body,T?()=>T+"ID"+_++:"iconifyReact"))},Le.createElement("svg",g)}const{body:j,width:w,height:k}=e,x=h==="mask"||(h==="bg"?!1:j.indexOf("currentColor")!==-1),P=ha(j,{...v,width:w+"",height:k+""});return g.style={...u,"--svg":ma(P),width:Rr(v.width),height:Rr(v.height),...va,...x?yn:bi,...p},Le.createElement("span",g)};oi(!0);Fs("",Vs);if(typeof document<"u"&&typeof window<"u"){mi();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!Is(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const i=t[n];if(typeof i!="object"||!i||i.resources===void 0)continue;Ws(n,i)||console.error(r)}catch{console.error(r)}}}}class yi extends Le.Component{constructor(t){super(t),this.state={icon:null}}_abortLoading(){this._loading&&(this._loading.abort(),this._loading=null)}_setData(t){this.state.icon!==t&&this.setState({icon:t})}_checkIcon(t){const n=this.state,r=this.props.icon;if(typeof r=="object"&&r!==null&&typeof r.body=="string"){this._icon="",this._abortLoading(),(t||n.icon===null)&&this._setData({data:r});return}let i;if(typeof r!="string"||(i=Dt(r,!1,!0))===null){this._abortLoading(),this._setData(null);return}const s=Os(i);if(!s){(!this._loading||this._loading.name!==r)&&(this._abortLoading(),this._icon="",this._setData(null),s!==null&&(this._loading={name:r,abort:aa([i],this._checkIcon.bind(this,!1))}));return}if(this._icon!==r||n.icon===null){this._abortLoading(),this._icon=r;const h=["iconify"];i.prefix!==""&&h.push("iconify--"+i.prefix),i.provider!==""&&h.push("iconify--"+i.provider),this._setData({data:s,classes:h}),this.props.onLoad&&this.props.onLoad(r)}}componentDidMount(){this._checkIcon(!1)}componentDidUpdate(t){t.icon!==this.props.icon&&this._checkIcon(!0)}componentWillUnmount(){this._abortLoading()}render(){const t=this.props,n=this.state.icon;if(n===null)return t.children?t.children:Le.createElement("span",{});let r=t;return n.classes&&(r={...t,className:(typeof t.className=="string"?t.className+" ":"")+n.classes.join(" ")}),wa({...Pn,...n.data},r,t._inline,t._ref)}}const Re=Le.forwardRef(function(t,n){const r={...t,_ref:n,_inline:!1};return Le.createElement(yi,r)});Le.forwardRef(function(t,n){const r={...t,_ref:n,_inline:!0};return Le.createElement(yi,r)});const vi={width:24,height:24,body:'<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 18a3.5 3.5 0 0 0 0-7h-1A5 4.5 0 0 0 7 9a4.6 4.4 0 0 0-2.1 8.4M12 13v9m-3-3l3 3l3-3"/>'};var It={exports:{}},Sa=It.exports,_r;function ka(){return _r||(_r=1,function(e,t){(function(n,r){e.exports=r(ho())})(Sa,n=>(()=>{var r={703:(u,p,g)=>{var m=g(414);function v(){}function j(){}j.resetWarningCache=v,u.exports=function(){function w(P,_,T,N,H,ee){if(ee!==m){var B=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw B.name="Invariant Violation",B}}function k(){return w}w.isRequired=w;var x={array:w,bool:w,func:w,number:w,object:w,string:w,symbol:w,any:w,arrayOf:k,element:w,elementType:w,instanceOf:k,node:w,objectOf:k,oneOf:k,oneOfType:k,shape:k,exact:k,checkPropTypes:j,resetWarningCache:v};return x.PropTypes=x,x}},697:(u,p,g)=>{u.exports=g(703)()},414:u=>{u.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},590:u=>{var p=typeof Element<"u",g=typeof Map=="function",m=typeof Set=="function",v=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function j(w,k){if(w===k)return!0;if(w&&k&&typeof w=="object"&&typeof k=="object"){if(w.constructor!==k.constructor)return!1;var x,P,_,T;if(Array.isArray(w)){if((x=w.length)!=k.length)return!1;for(P=x;P--!=0;)if(!j(w[P],k[P]))return!1;return!0}if(g&&w instanceof Map&&k instanceof Map){if(w.size!==k.size)return!1;for(T=w.entries();!(P=T.next()).done;)if(!k.has(P.value[0]))return!1;for(T=w.entries();!(P=T.next()).done;)if(!j(P.value[1],k.get(P.value[0])))return!1;return!0}if(m&&w instanceof Set&&k instanceof Set){if(w.size!==k.size)return!1;for(T=w.entries();!(P=T.next()).done;)if(!k.has(P.value[0]))return!1;return!0}if(v&&ArrayBuffer.isView(w)&&ArrayBuffer.isView(k)){if((x=w.length)!=k.length)return!1;for(P=x;P--!=0;)if(w[P]!==k[P])return!1;return!0}if(w.constructor===RegExp)return w.source===k.source&&w.flags===k.flags;if(w.valueOf!==Object.prototype.valueOf)return w.valueOf()===k.valueOf();if(w.toString!==Object.prototype.toString)return w.toString()===k.toString();if((x=(_=Object.keys(w)).length)!==Object.keys(k).length)return!1;for(P=x;P--!=0;)if(!Object.prototype.hasOwnProperty.call(k,_[P]))return!1;if(p&&w instanceof Element)return!1;for(P=x;P--!=0;)if((_[P]!=="_owner"&&_[P]!=="__v"&&_[P]!=="__o"||!w.$$typeof)&&!j(w[_[P]],k[_[P]]))return!1;return!0}return w!=w&&k!=k}u.exports=function(w,k){try{return j(w,k)}catch(x){if((x.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw x}}},359:u=>{u.exports=n}},i={};function s(u){var p=i[u];if(p!==void 0)return p.exports;var g=i[u]={exports:{}};return r[u](g,g.exports,s),g.exports}s.n=u=>{var p=u&&u.__esModule?()=>u.default:()=>u;return s.d(p,{a:p}),p},s.d=(u,p)=>{for(var g in p)s.o(p,g)&&!s.o(u,g)&&Object.defineProperty(u,g,{enumerable:!0,get:p[g]})},s.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),s.o=(u,p)=>Object.prototype.hasOwnProperty.call(u,p),s.r=u=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(u,"__esModule",{value:!0})};var h={};return(()=>{function u(d){var a,f,b="";if(typeof d=="string"||typeof d=="number")b+=d;else if(typeof d=="object")if(Array.isArray(d))for(a=0;a<d.length;a++)d[a]&&(f=u(d[a]))&&(b&&(b+=" "),b+=f);else for(a in d)d[a]&&(b&&(b+=" "),b+=a);return b}function p(){for(var d,a,f=0,b="";f<arguments.length;)(d=arguments[f++])&&(a=u(d))&&(b&&(b+=" "),b+=a);return b}s.r(h),s.d(h,{default:()=>co});var g=s(359),m=s.n(g);const v=function(d){var a=typeof d;return d!=null&&(a=="object"||a=="function")},j=typeof vt=="object"&&vt&&vt.Object===Object&&vt;var w=typeof self=="object"&&self&&self.Object===Object&&self;const k=j||w||Function("return this")(),x=function(){return k.Date.now()};var P=/\s/,_=/^\s+/;const T=function(d){return d&&d.slice(0,function(a){for(var f=a.length;f--&&P.test(a.charAt(f)););return f}(d)+1).replace(_,"")},N=k.Symbol;var H=Object.prototype,ee=H.hasOwnProperty,B=H.toString,X=N?N.toStringTag:void 0,te=Object.prototype.toString,se=N?N.toStringTag:void 0;const $=function(d){return d==null?d===void 0?"[object Undefined]":"[object Null]":se&&se in Object(d)?function(a){var f=ee.call(a,X),b=a[X];try{a[X]=void 0;var I=!0}catch{}var W=B.call(a);return I&&(f?a[X]=b:delete a[X]),W}(d):function(a){return te.call(a)}(d)};var Ie=/^[-+]0x[0-9a-f]+$/i,we=/^0b[01]+$/i,ke=/^0o[0-7]+$/i,me=parseInt;const Se=function(d){if(typeof d=="number")return d;if(function(b){return typeof b=="symbol"||function(I){return I!=null&&typeof I=="object"}(b)&&$(b)=="[object Symbol]"}(d))return NaN;if(v(d)){var a=typeof d.valueOf=="function"?d.valueOf():d;d=v(a)?a+"":a}if(typeof d!="string")return d===0?d:+d;d=T(d);var f=we.test(d);return f||ke.test(d)?me(d.slice(2),f?2:8):Ie.test(d)?NaN:+d};var D=Math.max,ae=Math.min;const je=function(d,a,f){var b,I,W,Q,c,l,y=0,O=!1,E=!1,C=!0;if(typeof d!="function")throw new TypeError("Expected a function");function K(A){var G=b,J=I;return b=I=void 0,y=A,Q=d.apply(J,G)}function U(A){return y=A,c=setTimeout(M,a),O?K(A):Q}function q(A){var G=A-l;return l===void 0||G>=a||G<0||E&&A-y>=W}function M(){var A=x();if(q(A))return L(A);c=setTimeout(M,function(G){var J=a-(G-l);return E?ae(J,W-(G-y)):J}(A))}function L(A){return c=void 0,C&&b?K(A):(b=I=void 0,Q)}function z(){var A=x(),G=q(A);if(b=arguments,I=this,l=A,G){if(c===void 0)return U(l);if(E)return clearTimeout(c),c=setTimeout(M,a),K(l)}return c===void 0&&(c=setTimeout(M,a)),Q}return a=Se(a)||0,v(f)&&(O=!!f.leading,W=(E="maxWait"in f)?D(Se(f.maxWait)||0,a):W,C="trailing"in f?!!f.trailing:C),z.cancel=function(){c!==void 0&&clearTimeout(c),y=0,b=l=I=c=void 0},z.flush=function(){return c===void 0?Q:L(x())},z},ce=function(d,a,f){var b=!0,I=!0;if(typeof d!="function")throw new TypeError("Expected a function");return v(f)&&(b="leading"in f?!!f.leading:b,I="trailing"in f?!!f.trailing:I),je(d,a,{leading:b,maxWait:a,trailing:I})};var Te=s(590),Ee=s.n(Te),$n=function(){if(typeof Map<"u")return Map;function d(a,f){var b=-1;return a.some(function(I,W){return I[0]===f&&(b=W,!0)}),b}return function(){function a(){this.__entries__=[]}return Object.defineProperty(a.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),a.prototype.get=function(f){var b=d(this.__entries__,f),I=this.__entries__[b];return I&&I[1]},a.prototype.set=function(f,b){var I=d(this.__entries__,f);~I?this.__entries__[I][1]=b:this.__entries__.push([f,b])},a.prototype.delete=function(f){var b=this.__entries__,I=d(b,f);~I&&b.splice(I,1)},a.prototype.has=function(f){return!!~d(this.__entries__,f)},a.prototype.clear=function(){this.__entries__.splice(0)},a.prototype.forEach=function(f,b){b===void 0&&(b=null);for(var I=0,W=this.__entries__;I<W.length;I++){var Q=W[I];f.call(b,Q[1],Q[0])}},a}()}(),Wt=typeof window<"u"&&typeof document<"u"&&window.document===document,pt=s.g!==void 0&&s.g.Math===Math?s.g:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")(),Wi=typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(pt):function(d){return setTimeout(function(){return d(Date.now())},1e3/60)},Ai=["top","right","bottom","left","width","height","size","weight"],Bi=typeof MutationObserver<"u",Ni=function(){function d(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(a,f){var b=!1,I=!1,W=0;function Q(){b&&(b=!1,a()),I&&l()}function c(){Wi(Q)}function l(){var y=Date.now();if(b){if(y-W<2)return;I=!0}else b=!0,I=!1,setTimeout(c,20);W=y}return l}(this.refresh.bind(this))}return d.prototype.addObserver=function(a){~this.observers_.indexOf(a)||this.observers_.push(a),this.connected_||this.connect_()},d.prototype.removeObserver=function(a){var f=this.observers_,b=f.indexOf(a);~b&&f.splice(b,1),!f.length&&this.connected_&&this.disconnect_()},d.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},d.prototype.updateObservers_=function(){var a=this.observers_.filter(function(f){return f.gatherActive(),f.hasActive()});return a.forEach(function(f){return f.broadcastActive()}),a.length>0},d.prototype.connect_=function(){Wt&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Bi?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},d.prototype.disconnect_=function(){Wt&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},d.prototype.onTransitionEnd_=function(a){var f=a.propertyName,b=f===void 0?"":f;Ai.some(function(I){return!!~b.indexOf(I)})&&this.refresh()},d.getInstance=function(){return this.instance_||(this.instance_=new d),this.instance_},d.instance_=null,d}(),Un=function(d,a){for(var f=0,b=Object.keys(a);f<b.length;f++){var I=b[f];Object.defineProperty(d,I,{value:a[I],enumerable:!1,writable:!1,configurable:!0})}return d},Ke=function(d){return d&&d.ownerDocument&&d.ownerDocument.defaultView||pt},Kn=gt(0,0,0,0);function mt(d){return parseFloat(d)||0}function Vn(d){for(var a=[],f=1;f<arguments.length;f++)a[f-1]=arguments[f];return a.reduce(function(b,I){return b+mt(d["border-"+I+"-width"])},0)}var $i=typeof SVGGraphicsElement<"u"?function(d){return d instanceof Ke(d).SVGGraphicsElement}:function(d){return d instanceof Ke(d).SVGElement&&typeof d.getBBox=="function"};function Ui(d){return Wt?$i(d)?function(a){var f=a.getBBox();return gt(0,0,f.width,f.height)}(d):function(a){var f=a.clientWidth,b=a.clientHeight;if(!f&&!b)return Kn;var I=Ke(a).getComputedStyle(a),W=function(C){for(var K={},U=0,q=["top","right","bottom","left"];U<q.length;U++){var M=q[U],L=C["padding-"+M];K[M]=mt(L)}return K}(I),Q=W.left+W.right,c=W.top+W.bottom,l=mt(I.width),y=mt(I.height);if(I.boxSizing==="border-box"&&(Math.round(l+Q)!==f&&(l-=Vn(I,"left","right")+Q),Math.round(y+c)!==b&&(y-=Vn(I,"top","bottom")+c)),!function(C){return C===Ke(C).document.documentElement}(a)){var O=Math.round(l+Q)-f,E=Math.round(y+c)-b;Math.abs(O)!==1&&(l-=O),Math.abs(E)!==1&&(y-=E)}return gt(W.left,W.top,l,y)}(d):Kn}function gt(d,a,f,b){return{x:d,y:a,width:f,height:b}}var Ki=function(){function d(a){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=gt(0,0,0,0),this.target=a}return d.prototype.isActive=function(){var a=Ui(this.target);return this.contentRect_=a,a.width!==this.broadcastWidth||a.height!==this.broadcastHeight},d.prototype.broadcastRect=function(){var a=this.contentRect_;return this.broadcastWidth=a.width,this.broadcastHeight=a.height,a},d}(),Vi=function(d,a){var f,b,I,W,Q,c,l,y=(b=(f=a).x,I=f.y,W=f.width,Q=f.height,c=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,l=Object.create(c.prototype),Un(l,{x:b,y:I,width:W,height:Q,top:I,right:b+W,bottom:Q+I,left:b}),l);Un(this,{target:d,contentRect:y})},Hi=function(){function d(a,f,b){if(this.activeObservations_=[],this.observations_=new $n,typeof a!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=a,this.controller_=f,this.callbackCtx_=b}return d.prototype.observe=function(a){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(typeof Element<"u"&&Element instanceof Object){if(!(a instanceof Ke(a).Element))throw new TypeError('parameter 1 is not of type "Element".');var f=this.observations_;f.has(a)||(f.set(a,new Ki(a)),this.controller_.addObserver(this),this.controller_.refresh())}},d.prototype.unobserve=function(a){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(typeof Element<"u"&&Element instanceof Object){if(!(a instanceof Ke(a).Element))throw new TypeError('parameter 1 is not of type "Element".');var f=this.observations_;f.has(a)&&(f.delete(a),f.size||this.controller_.removeObserver(this))}},d.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},d.prototype.gatherActive=function(){var a=this;this.clearActive(),this.observations_.forEach(function(f){f.isActive()&&a.activeObservations_.push(f)})},d.prototype.broadcastActive=function(){if(this.hasActive()){var a=this.callbackCtx_,f=this.activeObservations_.map(function(b){return new Vi(b.target,b.broadcastRect())});this.callback_.call(a,f,a),this.clearActive()}},d.prototype.clearActive=function(){this.activeObservations_.splice(0)},d.prototype.hasActive=function(){return this.activeObservations_.length>0},d}(),Hn=typeof WeakMap<"u"?new WeakMap:new $n,qn=function d(a){if(!(this instanceof d))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var f=Ni.getInstance(),b=new Hi(a,f,this);Hn.set(this,b)};["observe","unobserve","disconnect"].forEach(function(d){qn.prototype[d]=function(){var a;return(a=Hn.get(this))[d].apply(a,arguments)}});const Gn=pt.ResizeObserver!==void 0?pt.ResizeObserver:qn,Ve="Left",Fe="Right",He="Up",We="Down",qe={delta:10,preventScrollOnSwipe:!1,rotationAngle:0,trackMouse:!1,trackTouch:!0,swipeDuration:1/0,touchEventOptions:{passive:!0}},At={first:!0,initial:[0,0],start:0,swiping:!1,xy:[0,0]},Xn="mousemove",Qn="mouseup";function Yn(d,a){if(a===0)return d;const f=Math.PI/180*a;return[d[0]*Math.cos(f)+d[1]*Math.sin(f),d[1]*Math.cos(f)-d[0]*Math.sin(f)]}function qi(d){const{trackMouse:a}=d,f=g.useRef(Object.assign({},At)),b=g.useRef(Object.assign({},qe)),I=g.useRef(Object.assign({},b.current));let W;for(W in I.current=Object.assign({},b.current),b.current=Object.assign(Object.assign({},qe),d),qe)b.current[W]===void 0&&(b.current[W]=qe[W]);const[Q,c]=g.useMemo(()=>function(l,y){const O=M=>{const L="touches"in M;L&&M.touches.length>1||l((z,A)=>{A.trackMouse&&!L&&(document.addEventListener(Xn,E),document.addEventListener(Qn,K));const{clientX:G,clientY:J}=L?M.touches[0]:M,ie=Yn([G,J],A.rotationAngle);return A.onTouchStartOrOnMouseDown&&A.onTouchStartOrOnMouseDown({event:M}),Object.assign(Object.assign(Object.assign({},z),At),{initial:ie.slice(),xy:ie,start:M.timeStamp||0})})},E=M=>{l((L,z)=>{const A="touches"in M;if(A&&M.touches.length>1)return L;if(M.timeStamp-L.start>z.swipeDuration)return L.swiping?Object.assign(Object.assign({},L),{swiping:!1}):L;const{clientX:G,clientY:J}=A?M.touches[0]:M,[ie,ge]=Yn([G,J],z.rotationAngle),he=ie-L.xy[0],ue=ge-L.xy[1],re=Math.abs(he),Z=Math.abs(ue),_e=(M.timeStamp||0)-L.start,nt=Math.sqrt(re*re+Z*Z)/(_e||1),rt=[he/(_e||1),ue/(_e||1)],Pe=function(it,Qe,ot,be){return it>Qe?ot>0?Fe:Ve:be>0?We:He}(re,Z,he,ue),Ae=typeof z.delta=="number"?z.delta:z.delta[Pe.toLowerCase()]||qe.delta;if(re<Ae&&Z<Ae&&!L.swiping)return L;const Oe={absX:re,absY:Z,deltaX:he,deltaY:ue,dir:Pe,event:M,first:L.first,initial:L.initial,velocity:nt,vxvy:rt};Oe.first&&z.onSwipeStart&&z.onSwipeStart(Oe),z.onSwiping&&z.onSwiping(Oe);let Xe=!1;return(z.onSwiping||z.onSwiped||z[`onSwiped${Pe}`])&&(Xe=!0),Xe&&z.preventScrollOnSwipe&&z.trackTouch&&M.cancelable&&M.preventDefault(),Object.assign(Object.assign({},L),{first:!1,eventData:Oe,swiping:!0})})},C=M=>{l((L,z)=>{let A;if(L.swiping&&L.eventData){if(M.timeStamp-L.start<z.swipeDuration){A=Object.assign(Object.assign({},L.eventData),{event:M}),z.onSwiped&&z.onSwiped(A);const G=z[`onSwiped${A.dir}`];G&&G(A)}}else z.onTap&&z.onTap({event:M});return z.onTouchEndOrOnMouseUp&&z.onTouchEndOrOnMouseUp({event:M}),Object.assign(Object.assign(Object.assign({},L),At),{eventData:A})})},K=M=>{document.removeEventListener(Xn,E),document.removeEventListener(Qn,K),C(M)},U=(M,L)=>{let z=()=>{};if(M&&M.addEventListener){const A=Object.assign(Object.assign({},qe.touchEventOptions),L.touchEventOptions),G=[["touchstart",O,A],["touchmove",E,Object.assign(Object.assign({},A),L.preventScrollOnSwipe?{passive:!1}:{})],["touchend",C,A]];G.forEach(([J,ie,ge])=>M.addEventListener(J,ie,ge)),z=()=>G.forEach(([J,ie])=>M.removeEventListener(J,ie))}return z},q={ref:M=>{M!==null&&l((L,z)=>{if(L.el===M)return L;const A={};return L.el&&L.el!==M&&L.cleanUpTouch&&(L.cleanUpTouch(),A.cleanUpTouch=void 0),z.trackTouch&&M&&(A.cleanUpTouch=U(M,z)),Object.assign(Object.assign(Object.assign({},L),{el:M}),A)})}};return y.trackMouse&&(q.onMouseDown=O),[q,U]}(l=>f.current=l(f.current,b.current),{trackMouse:a}),[a]);return f.current=function(l,y,O,E){return y.trackTouch&&l.el?l.cleanUpTouch?y.preventScrollOnSwipe!==O.preventScrollOnSwipe||y.touchEventOptions.passive!==O.touchEventOptions.passive?(l.cleanUpTouch(),Object.assign(Object.assign({},l),{cleanUpTouch:E(l.el,y)})):l:Object.assign(Object.assign({},l),{cleanUpTouch:E(l.el,y)}):(l.cleanUpTouch&&l.cleanUpTouch(),Object.assign(Object.assign({},l),{cleanUpTouch:void 0}))}(f.current,b.current,I.current,c),Q}var S=s(697);function Ze(d){return Ze=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},Ze(d)}function Jn(d,a){var f=Object.keys(d);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(d);a&&(b=b.filter(function(I){return Object.getOwnPropertyDescriptor(d,I).enumerable})),f.push.apply(f,b)}return f}function Zn(d){for(var a=1;a<arguments.length;a++){var f=arguments[a]!=null?arguments[a]:{};a%2?Jn(Object(f),!0).forEach(function(b){Gi(d,b,f[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(f)):Jn(Object(f)).forEach(function(b){Object.defineProperty(d,b,Object.getOwnPropertyDescriptor(f,b))})}return d}function Gi(d,a,f){return(a=function(b){var I=function(W,Q){if(Ze(W)!=="object"||W===null)return W;var c=W[Symbol.toPrimitive];if(c!==void 0){var l=c.call(W,Q);if(Ze(l)!=="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(W)}(b,"string");return Ze(I)==="symbol"?I:String(I)}(a))in d?Object.defineProperty(d,a,{value:f,enumerable:!0,configurable:!0,writable:!0}):d[a]=f,d}var Xi={description:"",fullscreen:"",isFullscreen:!1,originalAlt:"",originalHeight:"",originalWidth:"",originalTitle:"",sizes:"",srcSet:"",loading:"eager"},Bt=m().memo(function(d){var a=Zn(Zn({},Xi),d),f=a.description,b=a.fullscreen,I=a.handleImageLoaded,W=a.isFullscreen,Q=a.onImageError,c=a.original,l=a.originalAlt,y=a.originalHeight,O=a.originalWidth,E=a.originalTitle,C=a.sizes,K=a.srcSet,U=a.loading,q=W&&b||c;return m().createElement(m().Fragment,null,m().createElement("img",{className:"image-gallery-image",src:q,alt:l,srcSet:K,height:y,width:O,sizes:C,title:E,onLoad:function(M){return I(M,c)},onError:Q,loading:U}),f&&m().createElement("span",{className:"image-gallery-description"},f))});Bt.displayName="Item",Bt.propTypes={description:S.string,fullscreen:S.string,handleImageLoaded:S.func.isRequired,isFullscreen:S.bool,onImageError:S.func.isRequired,original:S.string.isRequired,originalAlt:S.string,originalHeight:S.string,originalWidth:S.string,originalTitle:S.string,sizes:S.string,srcSet:S.string,loading:S.string};const Qi=Bt;function et(d){return et=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},et(d)}function er(d,a){var f=Object.keys(d);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(d);a&&(b=b.filter(function(I){return Object.getOwnPropertyDescriptor(d,I).enumerable})),f.push.apply(f,b)}return f}function tr(d){for(var a=1;a<arguments.length;a++){var f=arguments[a]!=null?arguments[a]:{};a%2?er(Object(f),!0).forEach(function(b){Yi(d,b,f[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(f)):er(Object(f)).forEach(function(b){Object.defineProperty(d,b,Object.getOwnPropertyDescriptor(f,b))})}return d}function Yi(d,a,f){return(a=function(b){var I=function(W,Q){if(et(W)!=="object"||W===null)return W;var c=W[Symbol.toPrimitive];if(c!==void 0){var l=c.call(W,Q);if(et(l)!=="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(W)}(b,"string");return et(I)==="symbol"?I:String(I)}(a))in d?Object.defineProperty(d,a,{value:f,enumerable:!0,configurable:!0,writable:!0}):d[a]=f,d}var Ji={left:m().createElement("polyline",{points:"15 18 9 12 15 6"}),right:m().createElement("polyline",{points:"9 18 15 12 9 6"}),maximize:m().createElement("path",{d:"M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3"}),minimize:m().createElement("path",{d:"M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3m0 18v-3a2 2 0 0 1 2-2h3M3 16h3a2 2 0 0 1 2 2v3"}),play:m().createElement("polygon",{points:"5 3 19 12 5 21 5 3"}),pause:m().createElement(m().Fragment,null,m().createElement("rect",{x:"6",y:"4",width:"4",height:"16"}),m().createElement("rect",{x:"14",y:"4",width:"4",height:"16"}))},Zi={strokeWidth:1,viewBox:"0 0 24 24"},nr=function(d){var a=tr(tr({},Zi),d),f=a.strokeWidth,b=a.viewBox,I=a.icon;return m().createElement("svg",{className:"image-gallery-svg",xmlns:"http://www.w3.org/2000/svg",viewBox:b,fill:"none",stroke:"currentColor",strokeWidth:f,strokeLinecap:"round",strokeLinejoin:"round"},Ji[I])};nr.propTypes={strokeWidth:S.number,viewBox:S.string,icon:(0,S.oneOf)(["left","right","maximize","minimize","play","pause"]).isRequired};const bt=nr;var Nt=m().memo(function(d){var a=d.isFullscreen,f=d.onClick;return m().createElement("button",{type:"button",className:"image-gallery-icon image-gallery-fullscreen-button",onClick:f,"aria-label":"Open Fullscreen"},m().createElement(bt,{strokeWidth:2,icon:a?"minimize":"maximize"}))});Nt.displayName="Fullscreen",Nt.propTypes={isFullscreen:S.bool.isRequired,onClick:S.func.isRequired};const eo=Nt;var $t=m().memo(function(d){var a=d.disabled,f=d.onClick;return m().createElement("button",{type:"button",className:"image-gallery-icon image-gallery-left-nav",disabled:a,onClick:f,"aria-label":"Previous Slide"},m().createElement(bt,{icon:"left",viewBox:"6 0 12 24"}))});$t.displayName="LeftNav",$t.propTypes={disabled:S.bool.isRequired,onClick:S.func.isRequired};const to=$t;var Ut=m().memo(function(d){var a=d.disabled,f=d.onClick;return m().createElement("button",{type:"button",className:"image-gallery-icon image-gallery-right-nav",disabled:a,onClick:f,"aria-label":"Next Slide"},m().createElement(bt,{icon:"right",viewBox:"6 0 12 24"}))});Ut.displayName="RightNav",Ut.propTypes={disabled:S.bool.isRequired,onClick:S.func.isRequired};const no=Ut;var Kt=m().memo(function(d){var a=d.isPlaying,f=d.onClick;return m().createElement("button",{type:"button",className:"image-gallery-icon image-gallery-play-button",onClick:f,"aria-label":"Play or Pause Slideshow"},m().createElement(bt,{strokeWidth:2,icon:a?"pause":"play"}))});Kt.displayName="PlayPause",Kt.propTypes={isPlaying:S.bool.isRequired,onClick:S.func.isRequired};const ro=Kt;function tt(d){return tt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},tt(d)}function Vt(){return Vt=Object.assign?Object.assign.bind():function(d){for(var a=1;a<arguments.length;a++){var f=arguments[a];for(var b in f)Object.prototype.hasOwnProperty.call(f,b)&&(d[b]=f[b])}return d},Vt.apply(this,arguments)}function rr(d,a){var f=Object.keys(d);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(d);a&&(b=b.filter(function(I){return Object.getOwnPropertyDescriptor(d,I).enumerable})),f.push.apply(f,b)}return f}function ir(d){for(var a=1;a<arguments.length;a++){var f=arguments[a]!=null?arguments[a]:{};a%2?rr(Object(f),!0).forEach(function(b){io(d,b,f[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(f)):rr(Object(f)).forEach(function(b){Object.defineProperty(d,b,Object.getOwnPropertyDescriptor(f,b))})}return d}function io(d,a,f){return(a=function(b){var I=function(W,Q){if(tt(W)!=="object"||W===null)return W;var c=W[Symbol.toPrimitive];if(c!==void 0){var l=c.call(W,Q);if(tt(l)!=="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(W)}(b,"string");return tt(I)==="symbol"?I:String(I)}(a))in d?Object.defineProperty(d,a,{value:f,enumerable:!0,configurable:!0,writable:!0}):d[a]=f,d}var oo={className:"",delta:0,onSwiping:function(){},onSwiped:function(){}},or=function(d){var a=ir(ir({},oo),d),f=a.children,b=a.className,I=qi({delta:a.delta,onSwiping:a.onSwiping,onSwiped:a.onSwiped});return m().createElement("div",Vt({},I,{className:b}),f)};or.propTypes={children:S.node.isRequired,className:S.string,delta:S.number,onSwiped:S.func,onSwiping:S.func};const sr=or;function Ge(d){return Ge=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},Ge(d)}function ar(d,a){var f=Object.keys(d);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(d);a&&(b=b.filter(function(I){return Object.getOwnPropertyDescriptor(d,I).enumerable})),f.push.apply(f,b)}return f}function lr(d){for(var a=1;a<arguments.length;a++){var f=arguments[a]!=null?arguments[a]:{};a%2?ar(Object(f),!0).forEach(function(b){cr(d,b,f[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(f)):ar(Object(f)).forEach(function(b){Object.defineProperty(d,b,Object.getOwnPropertyDescriptor(f,b))})}return d}function so(d,a){for(var f=0;f<a.length;f++){var b=a[f];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(d,ur(b.key),b)}}function Ht(d,a){return Ht=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(f,b){return f.__proto__=b,f},Ht(d,a)}function ao(d,a){if(a&&(Ge(a)==="object"||typeof a=="function"))return a;if(a!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return oe(d)}function oe(d){if(d===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d}function yt(d){return yt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(a){return a.__proto__||Object.getPrototypeOf(a)},yt(d)}function cr(d,a,f){return(a=ur(a))in d?Object.defineProperty(d,a,{value:f,enumerable:!0,configurable:!0,writable:!0}):d[a]=f,d}function ur(d){var a=function(f,b){if(Ge(f)!=="object"||f===null)return f;var I=f[Symbol.toPrimitive];if(I!==void 0){var W=I.call(f,b);if(Ge(W)!=="object")return W;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(f)}(d,"string");return Ge(a)==="symbol"?a:String(a)}var dr=["fullscreenchange","MSFullscreenChange","mozfullscreenchange","webkitfullscreenchange"],lo=(0,S.arrayOf)((0,S.shape)({srcSet:S.string,media:S.string}));function hr(d){var a=parseInt(d.keyCode||d.which||0,10);return a===66||a===62}var qt=function(d){(function(c,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function");c.prototype=Object.create(l&&l.prototype,{constructor:{value:c,writable:!0,configurable:!0}}),Object.defineProperty(c,"prototype",{writable:!1}),l&&Ht(c,l)})(Q,d);var a,f,b,I,W=(b=Q,I=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var c,l=yt(b);if(I){var y=yt(this).constructor;c=Reflect.construct(l,arguments,y)}else c=l.apply(this,arguments);return ao(this,c)});function Q(c){var l;return function(y,O){if(!(y instanceof O))throw new TypeError("Cannot call a class as a function")}(this,Q),cr(oe(l=W.call(this,c)),"onBulletClick",function(y,O){var E=l.props,C=E.onBulletClick,K=E.items,U=l.state.currentIndex;y.target.blur(),U!==O&&(K.length===2?l.slideToIndexWithStyleReset(O,y):l.slideToIndex(O,y)),C&&C(y,O)}),l.state={currentIndex:c.startIndex,thumbsTranslate:0,thumbsSwipedTranslate:0,currentSlideOffset:0,galleryWidth:0,thumbnailsWrapperWidth:0,thumbnailsWrapperHeight:0,thumbsStyle:{transition:"all ".concat(c.slideDuration,"ms ease-out")},isFullscreen:!1,isSwipingThumbnail:!1,isPlaying:!1},l.loadedImages={},l.imageGallery=m().createRef(),l.thumbnailsWrapper=m().createRef(),l.thumbnails=m().createRef(),l.imageGallerySlideWrapper=m().createRef(),l.handleImageLoaded=l.handleImageLoaded.bind(oe(l)),l.handleKeyDown=l.handleKeyDown.bind(oe(l)),l.handleMouseDown=l.handleMouseDown.bind(oe(l)),l.handleResize=l.handleResize.bind(oe(l)),l.handleTouchMove=l.handleTouchMove.bind(oe(l)),l.handleOnSwiped=l.handleOnSwiped.bind(oe(l)),l.handleScreenChange=l.handleScreenChange.bind(oe(l)),l.handleSwiping=l.handleSwiping.bind(oe(l)),l.handleThumbnailSwiping=l.handleThumbnailSwiping.bind(oe(l)),l.handleOnThumbnailSwiped=l.handleOnThumbnailSwiped.bind(oe(l)),l.onThumbnailMouseLeave=l.onThumbnailMouseLeave.bind(oe(l)),l.handleImageError=l.handleImageError.bind(oe(l)),l.pauseOrPlay=l.pauseOrPlay.bind(oe(l)),l.renderThumbInner=l.renderThumbInner.bind(oe(l)),l.renderItem=l.renderItem.bind(oe(l)),l.slideLeft=l.slideLeft.bind(oe(l)),l.slideRight=l.slideRight.bind(oe(l)),l.toggleFullScreen=l.toggleFullScreen.bind(oe(l)),l.togglePlay=l.togglePlay.bind(oe(l)),l.unthrottledSlideToIndex=l.slideToIndex,l.slideToIndex=ce(l.unthrottledSlideToIndex,c.slideDuration,{trailing:!1}),c.lazyLoad&&(l.lazyLoaded=[]),l}return a=Q,f=[{key:"componentDidMount",value:function(){var c=this.props,l=c.autoPlay,y=c.useWindowKeyDown;l&&this.play(),y?window.addEventListener("keydown",this.handleKeyDown):this.imageGallery.current.addEventListener("keydown",this.handleKeyDown),window.addEventListener("mousedown",this.handleMouseDown),window.addEventListener("touchmove",this.handleTouchMove,{passive:!1}),this.initSlideWrapperResizeObserver(this.imageGallerySlideWrapper),this.initThumbnailWrapperResizeObserver(this.thumbnailsWrapper),this.addScreenChangeEvent()}},{key:"componentDidUpdate",value:function(c,l){var y=this.props,O=y.items,E=y.lazyLoad,C=y.slideDuration,K=y.slideInterval,U=y.startIndex,q=y.thumbnailPosition,M=y.showThumbnails,L=y.useWindowKeyDown,z=this.state,A=z.currentIndex,G=z.isPlaying,J=c.items.length!==O.length,ie=!Ee()(c.items,O),ge=c.startIndex!==U,he=c.thumbnailPosition!==q,ue=c.showThumbnails!==M;K===c.slideInterval&&C===c.slideDuration||G&&(this.pause(),this.play()),he&&(this.removeResizeObserver(),this.initSlideWrapperResizeObserver(this.imageGallerySlideWrapper),this.initThumbnailWrapperResizeObserver(this.thumbnailsWrapper)),ue&&M&&this.initThumbnailWrapperResizeObserver(this.thumbnailsWrapper),ue&&!M&&this.removeThumbnailsResizeObserver(),(J||ue)&&this.handleResize(),l.currentIndex!==A&&this.slideThumbnailBar(),c.slideDuration!==C&&(this.slideToIndex=ce(this.unthrottledSlideToIndex,C,{trailing:!1})),!E||c.lazyLoad&&!ie||(this.lazyLoaded=[]),L!==c.useWindowKeyDown&&(L?(this.imageGallery.current.removeEventListener("keydown",this.handleKeyDown),window.addEventListener("keydown",this.handleKeyDown)):(window.removeEventListener("keydown",this.handleKeyDown),this.imageGallery.current.addEventListener("keydown",this.handleKeyDown))),(ge||ie)&&this.setState({currentIndex:U,slideStyle:{transition:"none"}})}},{key:"componentWillUnmount",value:function(){var c=this.props.useWindowKeyDown;window.removeEventListener("mousedown",this.handleMouseDown),window.removeEventListener("touchmove",this.handleTouchMove),this.removeScreenChangeEvent(),this.removeResizeObserver(),this.playPauseIntervalId&&(window.clearInterval(this.playPauseIntervalId),this.playPauseIntervalId=null),this.transitionTimer&&window.clearTimeout(this.transitionTimer),c?window.removeEventListener("keydown",this.handleKeyDown):this.imageGallery.current.removeEventListener("keydown",this.handleKeyDown)}},{key:"onSliding",value:function(){var c=this,l=this.state,y=l.currentIndex,O=l.isTransitioning,E=this.props,C=E.onSlide,K=E.slideDuration;this.transitionTimer=window.setTimeout(function(){O&&(c.setState({isTransitioning:!O,isSwipingThumbnail:!1}),C&&C(y))},K+50)}},{key:"onThumbnailClick",value:function(c,l){var y=this.props,O=y.onThumbnailClick,E=y.items,C=this.state.currentIndex;c.target.parentNode.parentNode.blur(),C!==l&&(E.length===2?this.slideToIndexWithStyleReset(l,c):this.slideToIndex(l,c)),O&&O(c,l)}},{key:"onThumbnailMouseOver",value:function(c,l){var y=this;this.thumbnailMouseOverTimer&&(window.clearTimeout(this.thumbnailMouseOverTimer),this.thumbnailMouseOverTimer=null),this.thumbnailMouseOverTimer=window.setTimeout(function(){y.slideToIndex(l),y.pause()},300)}},{key:"onThumbnailMouseLeave",value:function(){if(this.thumbnailMouseOverTimer){var c=this.props.autoPlay;window.clearTimeout(this.thumbnailMouseOverTimer),this.thumbnailMouseOverTimer=null,c&&this.play()}}},{key:"setThumbsTranslate",value:function(c){this.setState({thumbsTranslate:c})}},{key:"setModalFullscreen",value:function(c){var l=this.props.onScreenChange;this.setState({modalFullscreen:c}),l&&l(c)}},{key:"getThumbsTranslate",value:function(c){var l,y=this.props,O=y.disableThumbnailScroll,E=y.items,C=this.state,K=C.thumbnailsWrapperWidth,U=C.thumbnailsWrapperHeight,q=this.thumbnails&&this.thumbnails.current;if(O)return 0;if(q){if(this.isThumbnailVertical()){if(q.scrollHeight<=U)return 0;l=q.scrollHeight-U}else{if(q.scrollWidth<=K||K<=0)return 0;l=q.scrollWidth-K}return c*(l/(E.length-1))}return 0}},{key:"getThumbnailPositionClassName",value:function(c){switch(c){case"left":c=" ".concat("image-gallery-thumbnails-left");break;case"right":c=" ".concat("image-gallery-thumbnails-right");break;case"bottom":c=" ".concat("image-gallery-thumbnails-bottom");break;case"top":c=" ".concat("image-gallery-thumbnails-top")}return c}},{key:"getAlignmentClassName",value:function(c){var l=this.state.currentIndex,y=this.props,O=y.infinite,E=y.items,C="",K="image-gallery-left",U="image-gallery-right";switch(c){case l-1:C=" ".concat(K);break;case l:C=" ".concat("image-gallery-center");break;case l+1:C=" ".concat(U)}return E.length>=3&&O&&(c===0&&l===E.length-1?C=" ".concat(U):c===E.length-1&&l===0&&(C=" ".concat(K))),C}},{key:"getTranslateXForTwoSlide",value:function(c){var l=this.state,y=l.currentIndex,O=l.currentSlideOffset,E=l.previousIndex,C=y!==E,K=c===0&&E===0,U=c===1&&E===1,q=c===0&&y===1,M=c===1&&y===0,L=O===0,z=-100*y+100*c+O;return O>0?this.direction="left":O<0&&(this.direction="right"),M&&O>0&&(z=-100+O),q&&O<0&&(z=100+O),C?K&&L&&this.direction==="left"?z=100:U&&L&&this.direction==="right"&&(z=-100):(M&&L&&this.direction==="left"&&(z=-100),q&&L&&this.direction==="right"&&(z=100)),z}},{key:"getThumbnailBarHeight",value:function(){return this.isThumbnailVertical()?{height:this.state.gallerySlideWrapperHeight}:{}}},{key:"getSlideStyle",value:function(c){var l=this.state,y=l.currentIndex,O=l.currentSlideOffset,E=l.slideStyle,C=this.props,K=C.infinite,U=C.items,q=C.useTranslate3D,M=C.isRTL,L=-100*y,z=U.length-1,A=(L+100*c)*(M?-1:1)+O;K&&U.length>2&&(y===0&&c===z?A=-100*(M?-1:1)+O:y===z&&c===0&&(A=100*(M?-1:1)+O)),K&&U.length===2&&(A=this.getTranslateXForTwoSlide(c));var G="translate(".concat(A,"%, 0)");return q&&(G="translate3d(".concat(A,"%, 0, 0)")),lr({display:this.isSlideVisible(c)?"inherit":"none",WebkitTransform:G,MozTransform:G,msTransform:G,OTransform:G,transform:G},E)}},{key:"getCurrentIndex",value:function(){return this.state.currentIndex}},{key:"getThumbnailStyle",value:function(){var c,l=this.props,y=l.useTranslate3D,O=l.isRTL,E=this.state,C=E.thumbsTranslate,K=E.thumbsStyle,U=O?-1*C:C;return this.isThumbnailVertical()?(c="translate(0, ".concat(C,"px)"),y&&(c="translate3d(0, ".concat(C,"px, 0)"))):(c="translate(".concat(U,"px, 0)"),y&&(c="translate3d(".concat(U,"px, 0, 0)"))),lr({WebkitTransform:c,MozTransform:c,msTransform:c,OTransform:c,transform:c},K)}},{key:"getSlideItems",value:function(){var c=this,l=this.state.currentIndex,y=this.props,O=y.items,E=y.slideOnThumbnailOver,C=y.onClick,K=y.lazyLoad,U=y.onTouchMove,q=y.onTouchEnd,M=y.onTouchStart,L=y.onMouseOver,z=y.onMouseLeave,A=y.renderItem,G=y.renderThumbInner,J=y.showThumbnails,ie=y.showBullets,ge=[],he=[],ue=[];return O.forEach(function(re,Z){var _e=c.getAlignmentClassName(Z),nt=re.originalClass?" ".concat(re.originalClass):"",rt=re.thumbnailClass?" ".concat(re.thumbnailClass):"",Pe=re.renderItem||A||c.renderItem,Ae=re.renderThumbInner||G||c.renderThumbInner,Oe=!K||_e||c.lazyLoaded[Z];Oe&&K&&!c.lazyLoaded[Z]&&(c.lazyLoaded[Z]=!0);var Xe=c.getSlideStyle(Z),it=m().createElement("div",{"aria-label":"Go to Slide ".concat(Z+1),key:"slide-".concat(Z),tabIndex:"-1",className:"image-gallery-slide ".concat(_e," ").concat(nt),style:Xe,onClick:C,onKeyUp:c.handleSlideKeyUp,onTouchMove:U,onTouchEnd:q,onTouchStart:M,onMouseOver:L,onFocus:L,onMouseLeave:z,role:"button"},Oe?Pe(re):m().createElement("div",{style:{height:"100%"}}));if(ge.push(it),J&&re.thumbnail){var Qe=p("image-gallery-thumbnail",rt,{active:l===Z});he.push(m().createElement("button",{key:"thumbnail-".concat(Z),type:"button",tabIndex:"0","aria-pressed":l===Z?"true":"false","aria-label":"Go to Slide ".concat(Z+1),className:Qe,onMouseLeave:E?c.onThumbnailMouseLeave:null,onMouseOver:function(be){return c.handleThumbnailMouseOver(be,Z)},onFocus:function(be){return c.handleThumbnailMouseOver(be,Z)},onKeyUp:function(be){return c.handleThumbnailKeyUp(be,Z)},onClick:function(be){return c.onThumbnailClick(be,Z)}},Ae(re)))}if(ie){var ot=p("image-gallery-bullet",re.bulletClass,{active:l===Z});ue.push(m().createElement("button",{type:"button",key:"bullet-".concat(Z),className:ot,onClick:function(be){return c.onBulletClick(be,Z)},"aria-pressed":l===Z?"true":"false","aria-label":"Go to Slide ".concat(Z+1)}))}}),{slides:ge,thumbnails:he,bullets:ue}}},{key:"ignoreIsTransitioning",value:function(){var c=this.props.items,l=this.state,y=l.previousIndex,O=l.currentIndex,E=c.length-1;return Math.abs(y-O)>1&&!(y===0&&O===E)&&!(y===E&&O===0)}},{key:"isFirstOrLastSlide",value:function(c){return c===this.props.items.length-1||c===0}},{key:"slideIsTransitioning",value:function(c){var l=this.state,y=l.isTransitioning,O=l.previousIndex,E=l.currentIndex;return y&&!(c===O||c===E)}},{key:"isSlideVisible",value:function(c){return!this.slideIsTransitioning(c)||this.ignoreIsTransitioning()&&!this.isFirstOrLastSlide(c)}},{key:"slideThumbnailBar",value:function(){var c=this.state,l=c.currentIndex,y=c.isSwipingThumbnail,O=-this.getThumbsTranslate(l);y||(l===0?this.setState({thumbsTranslate:0,thumbsSwipedTranslate:0}):this.setState({thumbsTranslate:O,thumbsSwipedTranslate:O}))}},{key:"canSlide",value:function(){return this.props.items.length>=2}},{key:"canSlideLeft",value:function(){return this.props.infinite||this.canSlidePrevious()}},{key:"canSlideRight",value:function(){return this.props.infinite||this.canSlideNext()}},{key:"canSlidePrevious",value:function(){return this.state.currentIndex>0}},{key:"canSlideNext",value:function(){return this.state.currentIndex<this.props.items.length-1}},{key:"handleSwiping",value:function(c){var l=c.event,y=c.absX,O=c.dir,E=this.props,C=E.disableSwipe,K=E.stopPropagation,U=this.state,q=U.galleryWidth,M=U.isTransitioning,L=U.swipingUpDown,z=U.swipingLeftRight;if(O!==He&&O!==We&&!L||z){if(O!==Ve&&O!==Fe||z||this.setState({swipingLeftRight:!0}),!C){var A=this.props.swipingTransitionDuration;if(K&&l.preventDefault(),M)this.setState({currentSlideOffset:0});else{var G=O===Fe?1:-1,J=y/q*100;Math.abs(J)>=100&&(J=100);var ie={transition:"transform ".concat(A,"ms ease-out")};this.setState({currentSlideOffset:G*J,slideStyle:ie})}}}else L||this.setState({swipingUpDown:!0})}},{key:"handleThumbnailSwiping",value:function(c){var l=c.event,y=c.absX,O=c.absY,E=c.dir,C=this.props,K=C.stopPropagation,U=C.swipingThumbnailTransitionDuration,q=this.state,M=q.thumbsSwipedTranslate,L=q.thumbnailsWrapperHeight,z=q.thumbnailsWrapperWidth,A=q.swipingUpDown,G=q.swipingLeftRight;if(this.isThumbnailVertical()){if((E===Ve||E===Fe||G)&&!A)return void(G||this.setState({swipingLeftRight:!0}));E!==He&&E!==We||A||this.setState({swipingUpDown:!0})}else{if((E===He||E===We||A)&&!G)return void(A||this.setState({swipingUpDown:!0}));E!==Ve&&E!==Fe||G||this.setState({swipingLeftRight:!0})}var J,ie,ge,he,ue,re=this.thumbnails&&this.thumbnails.current;if(this.isThumbnailVertical()?(J=M+(E===We?O:-O),ie=re.scrollHeight-L+20,ge=Math.abs(J)>ie,he=J>20,ue=re.scrollHeight<=L):(J=M+(E===Fe?y:-y),ie=re.scrollWidth-z+20,ge=Math.abs(J)>ie,he=J>20,ue=re.scrollWidth<=z),!ue&&(E!==Ve&&E!==He||!ge)&&(E!==Fe&&E!==We||!he)){K&&l.stopPropagation();var Z={transition:"transform ".concat(U,"ms ease-out")};this.setState({thumbsTranslate:J,thumbsStyle:Z})}}},{key:"handleOnThumbnailSwiped",value:function(){var c=this.state.thumbsTranslate,l=this.props.slideDuration;this.resetSwipingDirection(),this.setState({isSwipingThumbnail:!0,thumbsSwipedTranslate:c,thumbsStyle:{transition:"all ".concat(l,"ms ease-out")}})}},{key:"sufficientSwipe",value:function(){var c=this.state.currentSlideOffset,l=this.props.swipeThreshold;return Math.abs(c)>l}},{key:"resetSwipingDirection",value:function(){var c=this.state,l=c.swipingUpDown,y=c.swipingLeftRight;l&&this.setState({swipingUpDown:!1}),y&&this.setState({swipingLeftRight:!1})}},{key:"handleOnSwiped",value:function(c){var l=c.event,y=c.dir,O=c.velocity,E=this.props,C=E.disableSwipe,K=E.stopPropagation,U=E.flickThreshold;if(!C){var q=this.props.isRTL;K&&l.stopPropagation(),this.resetSwipingDirection();var M=(y===Ve?1:-1)*(q?-1:1),L=O>U&&!(y===He||y===We);this.handleOnSwipedTo(M,L)}}},{key:"handleOnSwipedTo",value:function(c,l){var y=this.state,O=y.currentIndex,E=y.isTransitioning,C=O;!this.sufficientSwipe()&&!l||E||(C+=c),(c===-1&&!this.canSlideLeft()||c===1&&!this.canSlideRight())&&(C=O),this.unthrottledSlideToIndex(C)}},{key:"handleTouchMove",value:function(c){this.state.swipingLeftRight&&c.preventDefault()}},{key:"handleMouseDown",value:function(){this.imageGallery.current.classList.add("image-gallery-using-mouse")}},{key:"handleKeyDown",value:function(c){var l=this.props,y=l.disableKeyDown,O=l.useBrowserFullscreen,E=this.state.isFullscreen;if(this.imageGallery.current.classList.remove("image-gallery-using-mouse"),!y)switch(parseInt(c.keyCode||c.which||0,10)){case 37:this.canSlideLeft()&&!this.playPauseIntervalId&&this.slideLeft(c);break;case 39:this.canSlideRight()&&!this.playPauseIntervalId&&this.slideRight(c);break;case 27:E&&!O&&this.exitFullScreen()}}},{key:"handleImageError",value:function(c){var l=this.props.onErrorImageURL;l&&c.target.src.indexOf(l)===-1&&(c.target.src=l)}},{key:"removeThumbnailsResizeObserver",value:function(){this.resizeThumbnailWrapperObserver&&this.thumbnailsWrapper&&this.thumbnailsWrapper.current&&(this.resizeThumbnailWrapperObserver.unobserve(this.thumbnailsWrapper.current),this.resizeThumbnailWrapperObserver=null)}},{key:"removeResizeObserver",value:function(){this.resizeSlideWrapperObserver&&this.imageGallerySlideWrapper&&this.imageGallerySlideWrapper.current&&(this.resizeSlideWrapperObserver.unobserve(this.imageGallerySlideWrapper.current),this.resizeSlideWrapperObserver=null),this.removeThumbnailsResizeObserver()}},{key:"handleResize",value:function(){var c=this.state.currentIndex;this.imageGallery&&(this.imageGallery&&this.imageGallery.current&&this.setState({galleryWidth:this.imageGallery.current.offsetWidth}),this.imageGallerySlideWrapper&&this.imageGallerySlideWrapper.current&&this.setState({gallerySlideWrapperHeight:this.imageGallerySlideWrapper.current.offsetHeight}),this.setThumbsTranslate(-this.getThumbsTranslate(c)))}},{key:"initSlideWrapperResizeObserver",value:function(c){var l=this;c&&!c.current||(this.resizeSlideWrapperObserver=new Gn(je(function(y){y&&y.forEach(function(O){l.setState({thumbnailsWrapperWidth:O.contentRect.width},l.handleResize)})},50)),this.resizeSlideWrapperObserver.observe(c.current))}},{key:"initThumbnailWrapperResizeObserver",value:function(c){var l=this;c&&!c.current||(this.resizeThumbnailWrapperObserver=new Gn(je(function(y){y&&y.forEach(function(O){l.setState({thumbnailsWrapperHeight:O.contentRect.height},l.handleResize)})},50)),this.resizeThumbnailWrapperObserver.observe(c.current))}},{key:"toggleFullScreen",value:function(){this.state.isFullscreen?this.exitFullScreen():this.fullScreen()}},{key:"togglePlay",value:function(){this.playPauseIntervalId?this.pause():this.play()}},{key:"handleScreenChange",value:function(){var c=this.props,l=c.onScreenChange,y=c.useBrowserFullscreen,O=document.fullscreenElement||document.msFullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement,E=this.imageGallery.current===O;l&&l(E),y&&this.setState({isFullscreen:E})}},{key:"slideToIndex",value:function(c,l){var y=this.state,O=y.currentIndex,E=y.isTransitioning,C=this.props,K=C.items,U=C.slideDuration,q=C.onBeforeSlide;if(!E){l&&this.playPauseIntervalId&&(this.pause(!1),this.play(!1));var M=K.length-1,L=c;c<0?L=M:c>M&&(L=0),q&&L!==O&&q(L),this.setState({previousIndex:O,currentIndex:L,isTransitioning:L!==O,currentSlideOffset:0,slideStyle:{transition:"all ".concat(U,"ms ease-out")}},this.onSliding)}}},{key:"slideLeft",value:function(c){var l=this.props.isRTL;this.slideTo(c,l?"right":"left")}},{key:"slideRight",value:function(c){var l=this.props.isRTL;this.slideTo(c,l?"left":"right")}},{key:"slideTo",value:function(c,l){var y=this.state,O=y.currentIndex,E=y.isTransitioning,C=this.props.items,K=O+(l==="left"?-1:1);E||(C.length===2?this.slideToIndexWithStyleReset(K,c):this.slideToIndex(K,c))}},{key:"slideToIndexWithStyleReset",value:function(c,l){var y=this,O=this.state,E=O.currentIndex,C=O.currentSlideOffset;this.setState({currentSlideOffset:C+(E>c?.001:-.001),slideStyle:{transition:"none"}},function(){window.setTimeout(function(){return y.slideToIndex(c,l)},25)})}},{key:"handleThumbnailMouseOver",value:function(c,l){this.props.slideOnThumbnailOver&&this.onThumbnailMouseOver(c,l)}},{key:"handleThumbnailKeyUp",value:function(c,l){hr(c)&&this.onThumbnailClick(c,l)}},{key:"handleSlideKeyUp",value:function(c){hr(c)&&(0,this.props.onClick)(c)}},{key:"isThumbnailVertical",value:function(){var c=this.props.thumbnailPosition;return c==="left"||c==="right"}},{key:"addScreenChangeEvent",value:function(){var c=this;dr.forEach(function(l){document.addEventListener(l,c.handleScreenChange)})}},{key:"removeScreenChangeEvent",value:function(){var c=this;dr.forEach(function(l){document.removeEventListener(l,c.handleScreenChange)})}},{key:"fullScreen",value:function(){var c=this.props.useBrowserFullscreen,l=this.imageGallery.current;c?l.requestFullscreen?l.requestFullscreen():l.msRequestFullscreen?l.msRequestFullscreen():l.mozRequestFullScreen?l.mozRequestFullScreen():l.webkitRequestFullscreen?l.webkitRequestFullscreen():this.setModalFullscreen(!0):this.setModalFullscreen(!0),this.setState({isFullscreen:!0})}},{key:"exitFullScreen",value:function(){var c=this.state.isFullscreen,l=this.props.useBrowserFullscreen;c&&(l?document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen?document.msExitFullscreen():this.setModalFullscreen(!1):this.setModalFullscreen(!1),this.setState({isFullscreen:!1}))}},{key:"pauseOrPlay",value:function(){var c=this.props.infinite,l=this.state.currentIndex;c||this.canSlideRight()?this.slideToIndex(l+1):this.pause()}},{key:"play",value:function(){var c=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],l=this.props,y=l.onPlay,O=l.slideInterval,E=l.slideDuration,C=this.state.currentIndex;this.playPauseIntervalId||(this.setState({isPlaying:!0}),this.playPauseIntervalId=window.setInterval(this.pauseOrPlay,Math.max(O,E)),y&&c&&y(C))}},{key:"pause",value:function(){var c=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],l=this.props.onPause,y=this.state.currentIndex;this.playPauseIntervalId&&(window.clearInterval(this.playPauseIntervalId),this.playPauseIntervalId=null,this.setState({isPlaying:!1}),l&&c&&l(y))}},{key:"isImageLoaded",value:function(c){return!!this.loadedImages[c.original]||(this.loadedImages[c.original]=!0,!1)}},{key:"handleImageLoaded",value:function(c,l){var y=this.props.onImageLoad;!this.loadedImages[l]&&y&&(this.loadedImages[l]=!0,y(c))}},{key:"renderItem",value:function(c){var l=this.state.isFullscreen,y=this.props.onImageError||this.handleImageError;return m().createElement(Qi,{description:c.description,fullscreen:c.fullscreen,handleImageLoaded:this.handleImageLoaded,isFullscreen:l,onImageError:y,original:c.original,originalAlt:c.originalAlt,originalHeight:c.originalHeight,originalWidth:c.originalWidth,originalTitle:c.originalTitle,sizes:c.sizes,loading:c.loading,srcSet:c.srcSet})}},{key:"renderThumbInner",value:function(c){var l=this.props.onThumbnailError||this.handleImageError;return m().createElement("span",{className:"image-gallery-thumbnail-inner"},m().createElement("img",{className:"image-gallery-thumbnail-image",src:c.thumbnail,height:c.thumbnailHeight,width:c.thumbnailWidth,alt:c.thumbnailAlt,title:c.thumbnailTitle,loading:c.thumbnailLoading,onError:l}),c.thumbnailLabel&&m().createElement("div",{className:"image-gallery-thumbnail-label"},c.thumbnailLabel))}},{key:"render",value:function(){var c=this.state,l=c.currentIndex,y=c.isFullscreen,O=c.modalFullscreen,E=c.isPlaying,C=this.props,K=C.additionalClass,U=C.disableThumbnailSwipe,q=C.indexSeparator,M=C.isRTL,L=C.items,z=C.thumbnailPosition,A=C.renderFullscreenButton,G=C.renderCustomControls,J=C.renderLeftNav,ie=C.renderRightNav,ge=C.showBullets,he=C.showFullscreenButton,ue=C.showIndex,re=C.showThumbnails,Z=C.showNav,_e=C.showPlayButton,nt=C.renderPlayPauseButton,rt=this.getThumbnailStyle(),Pe=this.getSlideItems(),Ae=Pe.slides,Oe=Pe.thumbnails,Xe=Pe.bullets,it=p("image-gallery-slide-wrapper",this.getThumbnailPositionClassName(z),{"image-gallery-rtl":M}),Qe=m().createElement("div",{ref:this.imageGallerySlideWrapper,className:it},G&&G(),this.canSlide()?m().createElement(m().Fragment,null,Z&&m().createElement(m().Fragment,null,J(this.slideLeft,!this.canSlideLeft()),ie(this.slideRight,!this.canSlideRight())),m().createElement(sr,{className:"image-gallery-swipe",delta:0,onSwiping:this.handleSwiping,onSwiped:this.handleOnSwiped},m().createElement("div",{className:"image-gallery-slides"},Ae))):m().createElement("div",{className:"image-gallery-slides"},Ae),_e&&nt(this.togglePlay,E),ge&&m().createElement("div",{className:"image-gallery-bullets"},m().createElement("div",{className:"image-gallery-bullets-container",role:"navigation","aria-label":"Bullet Navigation"},Xe)),he&&A(this.toggleFullScreen,y),ue&&m().createElement("div",{className:"image-gallery-index"},m().createElement("span",{className:"image-gallery-index-current"},l+1),m().createElement("span",{className:"image-gallery-index-separator"},q),m().createElement("span",{className:"image-gallery-index-total"},L.length))),ot=p("image-gallery",K,{"fullscreen-modal":O}),be=p("image-gallery-content",this.getThumbnailPositionClassName(z),{fullscreen:y}),uo=p("image-gallery-thumbnails-wrapper",this.getThumbnailPositionClassName(z),{"thumbnails-wrapper-rtl":!this.isThumbnailVertical()&&M},{"thumbnails-swipe-horizontal":!this.isThumbnailVertical()&&!U},{"thumbnails-swipe-vertical":this.isThumbnailVertical()&&!U});return m().createElement("div",{ref:this.imageGallery,className:ot,"aria-live":"polite"},m().createElement("div",{className:be},(z==="bottom"||z==="right")&&Qe,re&&Oe.length>0?m().createElement(sr,{className:uo,delta:0,onSwiping:!U&&this.handleThumbnailSwiping,onSwiped:!U&&this.handleOnThumbnailSwiped},m().createElement("div",{className:"image-gallery-thumbnails",ref:this.thumbnailsWrapper,style:this.getThumbnailBarHeight()},m().createElement("nav",{ref:this.thumbnails,className:"image-gallery-thumbnails-container",style:rt,"aria-label":"Thumbnail Navigation"},Oe))):null,(z==="top"||z==="left")&&Qe))}}],f&&so(a.prototype,f),Object.defineProperty(a,"prototype",{writable:!1}),Q}(m().Component);qt.propTypes={flickThreshold:S.number,items:(0,S.arrayOf)((0,S.shape)({bulletClass:S.string,bulletOnClick:S.func,description:S.string,original:S.string,originalHeight:S.number,originalWidth:S.number,loading:S.string,thumbnailHeight:S.number,thumbnailWidth:S.number,thumbnailLoading:S.string,fullscreen:S.string,originalAlt:S.string,originalTitle:S.string,thumbnail:S.string,thumbnailAlt:S.string,thumbnailLabel:S.string,thumbnailTitle:S.string,originalClass:S.string,thumbnailClass:S.string,renderItem:S.func,renderThumbInner:S.func,imageSet:lo,srcSet:S.string,sizes:S.string})).isRequired,showNav:S.bool,autoPlay:S.bool,lazyLoad:S.bool,infinite:S.bool,showIndex:S.bool,showBullets:S.bool,showThumbnails:S.bool,showPlayButton:S.bool,showFullscreenButton:S.bool,disableThumbnailScroll:S.bool,disableKeyDown:S.bool,disableSwipe:S.bool,disableThumbnailSwipe:S.bool,useBrowserFullscreen:S.bool,onErrorImageURL:S.string,indexSeparator:S.string,thumbnailPosition:(0,S.oneOf)(["top","bottom","left","right"]),startIndex:S.number,slideDuration:S.number,slideInterval:S.number,slideOnThumbnailOver:S.bool,swipeThreshold:S.number,swipingTransitionDuration:S.number,swipingThumbnailTransitionDuration:S.number,onSlide:S.func,onBeforeSlide:S.func,onScreenChange:S.func,onPause:S.func,onPlay:S.func,onClick:S.func,onImageLoad:S.func,onImageError:S.func,onTouchMove:S.func,onTouchEnd:S.func,onTouchStart:S.func,onMouseOver:S.func,onMouseLeave:S.func,onBulletClick:S.func,onThumbnailError:S.func,onThumbnailClick:S.func,renderCustomControls:S.func,renderLeftNav:S.func,renderRightNav:S.func,renderPlayPauseButton:S.func,renderFullscreenButton:S.func,renderItem:S.func,renderThumbInner:S.func,stopPropagation:S.bool,additionalClass:S.string,useTranslate3D:S.bool,isRTL:S.bool,useWindowKeyDown:S.bool},qt.defaultProps={onErrorImageURL:"",additionalClass:"",showNav:!0,autoPlay:!1,lazyLoad:!1,infinite:!0,showIndex:!1,showBullets:!1,showThumbnails:!0,showPlayButton:!0,showFullscreenButton:!0,disableThumbnailScroll:!1,disableKeyDown:!1,disableSwipe:!1,disableThumbnailSwipe:!1,useTranslate3D:!0,isRTL:!1,useBrowserFullscreen:!0,flickThreshold:.4,stopPropagation:!1,indexSeparator:" / ",thumbnailPosition:"bottom",startIndex:0,slideDuration:450,swipingTransitionDuration:0,swipingThumbnailTransitionDuration:0,onSlide:null,onBeforeSlide:null,onScreenChange:null,onPause:null,onPlay:null,onClick:null,onImageLoad:null,onImageError:null,onTouchMove:null,onTouchEnd:null,onTouchStart:null,onMouseOver:null,onMouseLeave:null,onBulletClick:null,onThumbnailError:null,onThumbnailClick:null,renderCustomControls:null,renderThumbInner:null,renderItem:null,slideInterval:3e3,slideOnThumbnailOver:!1,swipeThreshold:30,renderLeftNav:function(d,a){return m().createElement(to,{onClick:d,disabled:a})},renderRightNav:function(d,a){return m().createElement(no,{onClick:d,disabled:a})},renderPlayPauseButton:function(d,a){return m().createElement(ro,{onClick:d,isPlaying:a})},renderFullscreenButton:function(d,a){return m().createElement(eo,{onClick:d,isFullscreen:a})},useWindowKeyDown:!0};const co=qt})(),h})())}(It)),It.exports}var ja=ka();const Ta=fo(ja);function Oa(){var e=new Map;function t(n){var r=n.root,i=n.rootMargin,s=n.threshold,h=e.get(r);h||(h=new Map,e.set(r,h));var u=JSON.stringify({rootMargin:i,threshold:s}),p=h.get(u);if(!p){var g=new Map,m=new IntersectionObserver(function(v){v.forEach(function(j){var w=g.get(j.target);w?.(j)})},{root:r,rootMargin:i,threshold:s});p={observer:m,entryCallbacks:g},h.set(u,p)}return{observe:function(j,w){var k,x;(k=p)==null||k.entryCallbacks.set(j,w),(x=p)==null||x.observer.observe(j)},unobserve:function(j){var w,k;(w=p)==null||w.entryCallbacks.delete(j),(k=p)==null||k.observer.unobserve(j)}}}return{getObserver:t}}var Ca="0px",Ia=[0],Ea=Oa();function Pa(e){var t,n,r=(t=e?.rootMargin)!=null?t:Ca,i=(n=e?.threshold)!=null?n:Ia,s=F.useRef(null),h=F.useRef(null),u=F.useRef(null),p=F.useState(),g=p[0],m=p[1],v=F.useCallback(function(){var x=s.current;if(!x){m(void 0);return}var P=Ea.getObserver({root:h.current,rootMargin:r,threshold:i});P.observe(x,function(_){m(_)}),u.current=P},[r,i]),j=F.useCallback(function(){var x=u.current,P=s.current;P&&x?.unobserve(P),u.current=null},[]),w=F.useCallback(function(x){j(),s.current=x,v()},[v,j]),k=F.useCallback(function(x){j(),h.current=x,v()},[v,j]);return[w,{entry:g,rootRef:k}]}function vn(){return vn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vn.apply(this,arguments)}function Ra(e){var t,n=Pa(e),r=n[0],i=n[1],s=!!((t=i.entry)!=null&&t.isIntersecting),h=F.useState(s),u=h[0],p=h[1];return s&&!u&&p(!0),[r,vn({},i,{isVisible:s,wasEverVisible:u})]}var _a=100;function Ma(e){var t=e.loading,n=e.hasNextPage,r=e.onLoadMore,i=e.rootMargin,s=e.disabled,h=e.delayInMs,u=h===void 0?_a:h,p=Ra({rootMargin:i}),g=p[0],m=p[1],v=m.rootRef,j=m.isVisible,w=!s&&!t&&j&&n;return F.useEffect(function(){if(w){var k=setTimeout(function(){r()},u);return function(){clearTimeout(k)}}},[r,w,u]),[g,{rootRef:v}]}const La={width:24,height:24,body:'<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/>'},Da={width:24,height:24,body:'<g fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M0 0h24v24H0z"/><path fill="currentColor" d="M18.333 2c1.96 0 3.56 1.537 3.662 3.472l.005.195v12.666c0 1.96-1.537 3.56-3.472 3.662l-.195.005H5.667a3.667 3.667 0 0 1-3.662-3.472L2 18.333V5.667c0-1.96 1.537-3.56 3.472-3.662L5.667 2h12.666zm-2.626 7.293a1 1 0 0 0-1.414 0L11 12.585l-1.293-1.292l-.094-.083a1 1 0 0 0-1.32 1.497l2 2l.094.083a1 1 0 0 0 1.32-.083l4-4l.083-.094a1 1 0 0 0-.083-1.32z"/></g>'},za={width:24,height:24,body:'<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M18 6L6 18M6 6l12 12"/>'};var Jt=typeof navigator<"u"?navigator.userAgent.toLowerCase().indexOf("firefox")>0:!1;function Zt(e,t,n,r){e.addEventListener?e.addEventListener(t,n,r):e.attachEvent&&e.attachEvent("on".concat(t),function(){n(window.event)})}function xi(e,t){for(var n=t.slice(0,t.length-1),r=0;r<n.length;r++)n[r]=e[n[r].toLowerCase()];return n}function wi(e){typeof e!="string"&&(e=""),e=e.replace(/\s/g,"");for(var t=e.split(","),n=t.lastIndexOf("");n>=0;)t[n-1]+=",",t.splice(n,1),n=t.lastIndexOf("");return t}function Fa(e,t){for(var n=e.length>=t.length?e:t,r=e.length>=t.length?t:e,i=!0,s=0;s<n.length;s++)r.indexOf(n[s])===-1&&(i=!1);return i}var Fn={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"⇪":20,",":188,".":190,"/":191,"`":192,"-":Jt?173:189,"=":Jt?61:187,";":Jt?59:186,"'":222,"[":219,"]":221,"\\":220},De={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,cmd:91,command:91},xn={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},de={16:!1,18:!1,17:!1,91:!1},le={};for(var St=1;St<20;St++)Fn["f".concat(St)]=111+St;var ne=[],Mr=!1,Si="all",ki=[],Ft=function(t){return Fn[t.toLowerCase()]||De[t.toLowerCase()]||t.toUpperCase().charCodeAt(0)};function ji(e){Si=e||"all"}function ft(){return Si||"all"}function Wa(){return ne.slice(0)}function Aa(e){var t=e.target||e.srcElement,n=t.tagName,r=!0;return(t.isContentEditable||(n==="INPUT"||n==="TEXTAREA"||n==="SELECT")&&!t.readOnly)&&(r=!1),r}function Ba(e){return typeof e=="string"&&(e=Ft(e)),ne.indexOf(e)!==-1}function Na(e,t){var n,r;e||(e=ft());for(var i in le)if(Object.prototype.hasOwnProperty.call(le,i))for(n=le[i],r=0;r<n.length;)n[r].scope===e?n.splice(r,1):r++;ft()===e&&ji(t||"all")}function $a(e){var t=e.keyCode||e.which||e.charCode,n=ne.indexOf(t);if(n>=0&&ne.splice(n,1),e.key&&e.key.toLowerCase()==="meta"&&ne.splice(0,ne.length),(t===93||t===224)&&(t=91),t in de){de[t]=!1;for(var r in De)De[r]===t&&(ye[r]=!1)}}function Ua(e){if(typeof e>"u")Object.keys(le).forEach(function(h){return delete le[h]});else if(Array.isArray(e))e.forEach(function(h){h.key&&en(h)});else if(typeof e=="object")e.key&&en(e);else if(typeof e=="string"){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=n[0],s=n[1];typeof i=="function"&&(s=i,i=""),en({key:e,scope:i,method:s,splitKey:"+"})}}var en=function(t){var n=t.key,r=t.scope,i=t.method,s=t.splitKey,h=s===void 0?"+":s,u=wi(n);u.forEach(function(p){var g=p.split(h),m=g.length,v=g[m-1],j=v==="*"?"*":Ft(v);if(le[j]){r||(r=ft());var w=m>1?xi(De,g):[];le[j]=le[j].filter(function(k){var x=i?k.method===i:!0;return!(x&&k.scope===r&&Fa(k.mods,w))})}})};function Lr(e,t,n,r){if(t.element===r){var i;if(t.scope===n||t.scope==="all"){i=t.mods.length>0;for(var s in de)Object.prototype.hasOwnProperty.call(de,s)&&(!de[s]&&t.mods.indexOf(+s)>-1||de[s]&&t.mods.indexOf(+s)===-1)&&(i=!1);(t.mods.length===0&&!de[16]&&!de[18]&&!de[17]&&!de[91]||i||t.shortcut==="*")&&t.method(e,t)===!1&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}}function Dr(e,t){var n=le["*"],r=e.keyCode||e.which||e.charCode;if(ye.filter.call(this,e)){if((r===93||r===224)&&(r=91),ne.indexOf(r)===-1&&r!==229&&ne.push(r),["ctrlKey","altKey","shiftKey","metaKey"].forEach(function(k){var x=xn[k];e[k]&&ne.indexOf(x)===-1?ne.push(x):!e[k]&&ne.indexOf(x)>-1?ne.splice(ne.indexOf(x),1):k==="metaKey"&&e[k]&&ne.length===3&&(e.ctrlKey||e.shiftKey||e.altKey||(ne=ne.slice(ne.indexOf(x))))}),r in de){de[r]=!0;for(var i in De)De[i]===r&&(ye[i]=!0);if(!n)return}for(var s in de)Object.prototype.hasOwnProperty.call(de,s)&&(de[s]=e[xn[s]]);e.getModifierState&&!(e.altKey&&!e.ctrlKey)&&e.getModifierState("AltGraph")&&(ne.indexOf(17)===-1&&ne.push(17),ne.indexOf(18)===-1&&ne.push(18),de[17]=!0,de[18]=!0);var h=ft();if(n)for(var u=0;u<n.length;u++)n[u].scope===h&&(e.type==="keydown"&&n[u].keydown||e.type==="keyup"&&n[u].keyup)&&Lr(e,n[u],h,t);if(r in le){for(var p=0;p<le[r].length;p++)if((e.type==="keydown"&&le[r][p].keydown||e.type==="keyup"&&le[r][p].keyup)&&le[r][p].key){for(var g=le[r][p],m=g.splitKey,v=g.key.split(m),j=[],w=0;w<v.length;w++)j.push(Ft(v[w]));j.sort().join("")===ne.sort().join("")&&Lr(e,g,h,t)}}}}function Ka(e){return ki.indexOf(e)>-1}function ye(e,t,n){ne=[];var r=wi(e),i=[],s="all",h=document,u=0,p=!1,g=!0,m="+",v=!1;for(n===void 0&&typeof t=="function"&&(n=t),Object.prototype.toString.call(t)==="[object Object]"&&(t.scope&&(s=t.scope),t.element&&(h=t.element),t.keyup&&(p=t.keyup),t.keydown!==void 0&&(g=t.keydown),t.capture!==void 0&&(v=t.capture),typeof t.splitKey=="string"&&(m=t.splitKey)),typeof t=="string"&&(s=t);u<r.length;u++)e=r[u].split(m),i=[],e.length>1&&(i=xi(De,e)),e=e[e.length-1],e=e==="*"?"*":Ft(e),e in le||(le[e]=[]),le[e].push({keyup:p,keydown:g,scope:s,mods:i,shortcut:r[u],method:n,key:r[u],splitKey:m,element:h});typeof h<"u"&&!Ka(h)&&window&&(ki.push(h),Zt(h,"keydown",function(j){Dr(j,h)},v),Mr||(Mr=!0,Zt(window,"focus",function(){ne=[]},v)),Zt(h,"keyup",function(j){Dr(j,h),$a(j)},v))}function Va(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"all";Object.keys(le).forEach(function(n){var r=le[n].find(function(i){return i.scope===t&&i.shortcut===e});r&&r.method&&r.method()})}var tn={setScope:ji,getScope:ft,deleteScope:Na,getPressedKeyCodes:Wa,isPressed:Ba,filter:Aa,trigger:Va,unbind:Ua,keyMap:Fn,modifier:De,modifierMap:xn};for(var nn in tn)Object.prototype.hasOwnProperty.call(tn,nn)&&(ye[nn]=tn[nn]);if(typeof window<"u"){var Ha=window.hotkeys;ye.noConflict=function(e){return e&&window.hotkeys===ye&&(window.hotkeys=Ha),ye},window.hotkeys=ye}ye.filter=function(){return!0};var Ti=function(t,n){var r=t.target,i=r&&r.tagName;return!!(i&&n&&n.includes(i))},qa=function(t){return Ti(t,["INPUT","TEXTAREA","SELECT"])};function Ga(e,t,n,r){n instanceof Array&&(r=n,n=void 0);var i=n||{},s=i.enableOnTags,h=i.filter,u=i.keyup,p=i.keydown,g=i.filterPreventDefault,m=g===void 0?!0:g,v=i.enabled,j=v===void 0?!0:v,w=i.enableOnContentEditable,k=w===void 0?!1:w,x=F.useRef(null),P=F.useCallback(function(_,T){var N,H;return h&&!h(_)?!m:qa(_)&&!Ti(_,s)||(N=_.target)!=null&&N.isContentEditable&&!k?!0:x.current===null||document.activeElement===x.current||(H=x.current)!=null&&H.contains(document.activeElement)?(t(_,T),!0):!1},r?[x,s,h].concat(r):[x,s,h]);return F.useEffect(function(){if(!j){ye.unbind(e,P);return}return u&&p!==!0&&(n.keydown=!1),ye(e,n||{},P),function(){return ye.unbind(e,P)}},[P,e,j]),x}ye.isPressed;const Oi=F.createContext({open:!1,toggleOpen:e=>{}});function Xa({children:e}){const[t,n]=F.useState(!1),r=s=>{n(s??!s)},i=F.useMemo(()=>({open:t,toggleOpen:r}),[t]);return o.jsx(Oi.Provider,{value:i,children:e})}function Wn(){return F.useContext(Oi)}const xe={nameAsc:"title",nameDesc:"title",popularity:"stats.downloads",publishAt:"lastPublishedAt",mobilePageSize:10,pageSize:18,currentPage:1,defaultCurrentPage:1,blockletsPath:"/api/v2/blocklets.json",categoriesPath:"/api/blocklets/categories",explorePath:"/api/blocklets/explore",exploreDidsPath:"/api/blocklets/dids",cacheSize:100},Qa=e=>Lt(async()=>{const{data:t}=await e.get(xe.categoriesPath);return Array.isArray(t)?t:[]},{manual:!0});function Ya(e,t){const n=e.menu?{sortBy:"popularity",sortDirection:"desc",showResources:"true",...yo(e,["sortBy","sortDirection","showResources"])}:{sortBy:"popularity",sortDirection:"desc",showResources:"true",...e,menu:void 0},{onFilterChange:r,onSearchSelect:i=u=>{t.onFilterChange({...n,keyword:u.title})},emptyCategory:s}=t;!n.category&&!s&&(n.category="All");const h=u=>{const p={...n,...u};r(Gt(p,g=>g===""||g===void 0))};return{filters:e,cleanFilter:u=>{const p=u?Gt(n,(g,m)=>u.includes(m)):{};r(Gt(p,g=>g===""||g===void 0))},handleActiveMenu:u=>{u!==e.menu&&r({menu:u})},handleSort:(u,p)=>{h({sortBy:u,sortDirection:p||u==="nameAsc"?"asc":"desc"})},handleKeyword:u=>{h({category:void 0,keyword:u||void 0})},handlePrice:u=>{h({price:u===e.price?void 0:u})},handleCategory:u=>{h({category:u===e.category?"":u})},handleDeveloper:u=>{h({owner:u||void 0})},handlePage:u=>{h({currentPage:u})},handleSwitchIsOfficial:u=>{h({isOfficial:u==="true"?"true":""})},handleSwitchShowResources:u=>{h({showResources:u})},handleSearchSelect:u=>{i(u)}}}const Ja=(e,t,n)=>e&&t||!n,Ci=e=>[{name:e("sort.popularity"),value:"popularity"},{name:e("sort.lastPublished"),value:"publishAt"}],Ii=(e,t,n)=>{const r=jo(e),i=To(r.search);if(Oo(e)?.endsWith(".gif"))return i.imageFilter?Co({...r,search:""}):e;if(i.imageFilter)return e;const s=n||window.blocklet?.version,{w:h,h:u}=typeof t=="object"?{w:t.w,h:t.h}:{w:t,h:t};return Cn(e,{...h||u?{imageFilter:"resize",w:h,h:u}:{},v:s})},Za=e=>[{name:e("blocklet.free"),value:"free"},{name:e("blocklet.payment"),value:"payment"}],el=(e=[],t="en")=>e.map(n=>({name:n.locales[t]||n.locales.en,value:n._id})),tl=e=>Array.isArray(e)?e.map(t=>t.message).join(`
1
+ import{aF as Tn,j as o,be as Le,di as ho,ey as vt,bd as fo,r as F,f as $e,g6 as po,a2 as mo,g1 as go,g7 as Ur,cv as Lt,aA as bo,aB as On,J as V,aV as fe,g8 as yo,d_ as Gt,g9 as fr,cz as vo,T as Y,ga as xo,g4 as Kr,C as Ce,bA as ve,eg as Vr,gb as wo,gc as Hr,eK as qr,gd as Xt,t as Gr,U as Et,y as Je,at as Pt,ge as So,E as Ye,aU as Xr,X as Qr,z as Cn,ek as Me,G as pr,aP as ko,fN as mr,cJ as jo,gf as To,gg as Oo,gh as Co,cH as Io,N as Eo,eL as Po,gi as Ro,eJ as _o,by as Mo,_ as Lo,gj as Do,gk as gr,br as ze,V as Ue,P as In,aO as br,o as R,bk as zo,gl as Yr,b2 as Fo,aD as xt,v as Rt,a7 as Wo,a8 as Jr,aE as Ao,bq as yr,a9 as Bo,bn as En,$ as No,D as $o,Y as Uo,cQ as Ko,Z as at,fD as Vo,H as Be,b as Ho,n as qo,a$ as Go,ad as Xo,F as Qo,aH as Zr,cA as Yo,b8 as Jo,W as Zo}from"./index-DQhyMeoV.js";import{u as es}from"./index-Bmj3JRL8.js";import{d as ts}from"./KeyboardArrowDown-CE7zJDcv.js";import{P as ns}from"./ChevronLeft-B8v-crqw.js";import{N as rs}from"./ChevronRight-DIxNh4jH.js";import{S as is}from"./Search-DobdZczv.js";import{y as os}from"./index-CVfXb0nN.js";import{o as ss,u as as}from"./blocklet-e4asDkfP.js";import{A as ls}from"./Autocomplete-CZdtlRmS.js";import{V as cs}from"./Verified-pVnWh8ct.js";import{S as us,V as ds}from"./VerifiedUser-Bq5EjyL0.js";import{A as hs}from"./Add-CVe35B9U.js";import{L as ei}from"./Launch-BHeCrhBj.js";import{D as fs}from"./Done-CmV6TZSG.js";import{D as ti}from"./DeleteOutline-D2i9YJBS.js";import{D as ps}from"./delete-confirm-Dk2gUSc_.js";import{I as ms}from"./MoreVert-DJQ3tC1s.js";import{g as ut}from"./get-safe-url-D0pcxgUJ.js";import{B as vr}from"./ButtonGroup-83J5hh2q.js";const gs=Tn(o.jsx("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M19 18H6c-2.21 0-4-1.79-4-4 0-2.05 1.53-3.76 3.56-3.97l1.07-.11.5-.95C8.08 7.14 9.94 6 12 6c2.62 0 4.88 1.86 5.39 4.43l.3 1.5 1.53.11c1.56.1 2.78 1.41 2.78 2.96 0 1.65-1.35 3-3 3M8 13h2.55v3h2.9v-3H16l-4-4z"})),bs=Tn(o.jsx("path",{d:"M17 7h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1 0 1.43-.98 2.63-2.31 2.98l1.46 1.46C20.88 15.61 22 13.95 22 12c0-2.76-2.24-5-5-5m-1 4h-2.19l2 2H16zM2 4.27l3.11 3.11C3.29 8.12 2 9.91 2 12c0 2.76 2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1 0-1.59 1.21-2.9 2.76-3.07L8.73 11H8v2h2.73L13 15.27V17h1.73l4.01 4L20 19.74 3.27 3z"})),ys=Tn(o.jsx("path",{d:"M17 7h-4v2h4c1.65 0 3 1.35 3 3s-1.35 3-3 3h-4v2h4c2.76 0 5-2.24 5-5s-2.24-5-5-5m-6 8H7c-1.65 0-3-1.35-3-3s1.35-3 3-3h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4zm-3-4h8v2H8z"})),ac="blocklet-add-component-registry",lc="server-add-registry",vs={width:24,height:24,body:'<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="m8 16l2-6l6-2l-2 6l-6 2"/><path d="M3 12a9 9 0 1 0 18 0a9 9 0 1 0-18 0m9-9v2m0 14v2m-9-9h2m14 0h2"/></g>'},lt=/^[a-z0-9]+(-[a-z0-9]+)*$/,Dt=(e,t,n,r="")=>{const i=e.split(":");if(e.slice(0,1)==="@"){if(i.length<2||i.length>3)return null;r=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){const u=i.pop(),p=i.pop(),g={provider:i.length>0?i[0]:r,prefix:p,name:u};return t&&!Ot(g)?null:g}const s=i[0],h=s.split("-");if(h.length>1){const u={provider:r,prefix:h.shift(),name:h.join("-")};return t&&!Ot(u)?null:u}if(n&&r===""){const u={provider:r,prefix:"",name:s};return t&&!Ot(u,n)?null:u}return null},Ot=(e,t)=>e?!!((e.provider===""||e.provider.match(lt))&&(t&&e.prefix===""||e.prefix.match(lt))&&e.name.match(lt)):!1,ni=Object.freeze({left:0,top:0,width:16,height:16}),_t=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Pn=Object.freeze({...ni,..._t}),hn=Object.freeze({...Pn,body:"",hidden:!1});function xs(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function xr(e,t){const n=xs(e,t);for(const r in hn)r in _t?r in e&&!(r in n)&&(n[r]=_t[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function ws(e,t){const n=e.icons,r=e.aliases||Object.create(null),i=Object.create(null);function s(h){if(n[h])return i[h]=[];if(!(h in i)){i[h]=null;const u=r[h]&&r[h].parent,p=u&&s(u);p&&(i[h]=[u].concat(p))}return i[h]}return Object.keys(n).concat(Object.keys(r)).forEach(s),i}function Ss(e,t,n){const r=e.icons,i=e.aliases||Object.create(null);let s={};function h(u){s=xr(r[u]||i[u],s)}return h(t),n.forEach(h),xr(e,s)}function ri(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(i=>{t(i,null),n.push(i)});const r=ws(e);for(const i in r){const s=r[i];s&&(t(i,Ss(e,i,s)),n.push(i))}return n}const ks={provider:"",aliases:{},not_found:{},...ni};function Qt(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function ii(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Qt(e,ks))return null;const n=t.icons;for(const i in n){const s=n[i];if(!i.match(lt)||typeof s.body!="string"||!Qt(s,hn))return null}const r=t.aliases||Object.create(null);for(const i in r){const s=r[i],h=s.parent;if(!i.match(lt)||typeof h!="string"||!n[h]&&!r[h]||!Qt(s,hn))return null}return t}const wr=Object.create(null);function js(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Ne(e,t){const n=wr[e]||(wr[e]=Object.create(null));return n[t]||(n[t]=js(e,t))}function Rn(e,t){return ii(t)?ri(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function Ts(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let dt=!1;function oi(e){return typeof e=="boolean"&&(dt=e),dt}function Os(e){const t=typeof e=="string"?Dt(e,!0,dt):e;if(t){const n=Ne(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function Cs(e,t){const n=Dt(e,!0,dt);if(!n)return!1;const r=Ne(n.provider,n.prefix);return Ts(r,n.name,t)}function Is(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),dt&&!t&&!e.prefix){let i=!1;return ii(e)&&(e.prefix="",ri(e,(s,h)=>{h&&Cs(s,h)&&(i=!0)})),i}const n=e.prefix;if(!Ot({provider:t,prefix:n,name:"a"}))return!1;const r=Ne(t,n);return!!Rn(r,e)}const si=Object.freeze({width:null,height:null}),ai=Object.freeze({...si,..._t}),Es=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Ps=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Sr(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(Es);if(r===null||!r.length)return e;const i=[];let s=r.shift(),h=Ps.test(s);for(;;){if(h){const u=parseFloat(s);isNaN(u)?i.push(s):i.push(Math.ceil(u*t*n)/n)}else i.push(s);if(s=r.shift(),s===void 0)return i.join("");h=!h}}const Rs=e=>e==="unset"||e==="undefined"||e==="none";function _s(e,t){const n={...Pn,...e},r={...ai,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(k=>{const x=[],P=k.hFlip,_=k.vFlip;let T=k.rotate;P?_?T+=2:(x.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),x.push("scale(-1 1)"),i.top=i.left=0):_&&(x.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),x.push("scale(1 -1)"),i.top=i.left=0);let N;switch(T<0&&(T-=Math.floor(T/4)*4),T=T%4,T){case 1:N=i.height/2+i.top,x.unshift("rotate(90 "+N.toString()+" "+N.toString()+")");break;case 2:x.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:N=i.width/2+i.left,x.unshift("rotate(-90 "+N.toString()+" "+N.toString()+")");break}T%2===1&&(i.left!==i.top&&(N=i.left,i.left=i.top,i.top=N),i.width!==i.height&&(N=i.width,i.width=i.height,i.height=N)),x.length&&(s='<g transform="'+x.join(" ")+'">'+s+"</g>")});const h=r.width,u=r.height,p=i.width,g=i.height;let m,v;h===null?(v=u===null?"1em":u==="auto"?g:u,m=Sr(v,p/g)):(m=h==="auto"?p:h,v=u===null?Sr(m,g/p):u==="auto"?g:u);const j={},w=(k,x)=>{Rs(x)||(j[k]=x.toString())};return w("width",m),w("height",v),j.viewBox=i.left.toString()+" "+i.top.toString()+" "+p.toString()+" "+g.toString(),{attributes:j,body:s}}const Ms=/\sid="(\S+)"/g,Ls="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Ds=0;function zs(e,t=Ls){const n=[];let r;for(;r=Ms.exec(e);)n.push(r[1]);if(!n.length)return e;const i="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(s=>{const h=typeof t=="function"?t(s):t+(Ds++).toString(),u=s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+u+')([")]|\\.[a-z])',"g"),"$1"+h+i+"$3")}),e=e.replace(new RegExp(i,"g"),""),e}const fn=Object.create(null);function Fs(e,t){fn[e]=t}function pn(e){return fn[e]||fn[""]}function _n(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const Mn=Object.create(null),st=["https://api.simplesvg.com","https://api.unisvg.com"],Ct=[];for(;st.length>0;)st.length===1||Math.random()>.5?Ct.push(st.shift()):Ct.push(st.pop());Mn[""]=_n({resources:["https://api.iconify.design"].concat(Ct)});function Ws(e,t){const n=_n(t);return n===null?!1:(Mn[e]=n,!0)}function Ln(e){return Mn[e]}const As=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let kr=As();function Bs(e,t){const n=Ln(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let i=0;n.resources.forEach(h=>{i=Math.max(i,h.length)});const s=t+".json?icons=";r=n.maxURL-i-n.path.length-s.length}return r}function Ns(e){return e===404}const $s=(e,t,n)=>{const r=[],i=Bs(e,t),s="icons";let h={type:s,provider:e,prefix:t,icons:[]},u=0;return n.forEach((p,g)=>{u+=p.length+1,u>=i&&g>0&&(r.push(h),h={type:s,provider:e,prefix:t,icons:[]},u=p.length),h.icons.push(p)}),r.push(h),r};function Us(e){if(typeof e=="string"){const t=Ln(e);if(t)return t.path}return"/"}const Ks=(e,t,n)=>{if(!kr){n("abort",424);return}let r=Us(t.provider);switch(t.type){case"icons":{const s=t.prefix,u=t.icons.join(","),p=new URLSearchParams({icons:u});r+=s+".json?"+p.toString();break}case"custom":{const s=t.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let i=503;kr(e+r).then(s=>{const h=s.status;if(h!==200){setTimeout(()=>{n(Ns(h)?"abort":"next",h)});return}return i=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{s===404?n("abort",s):n("next",i)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",i)})},Vs={prepare:$s,send:Ks};function Hs(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((i,s)=>i.provider!==s.provider?i.provider.localeCompare(s.provider):i.prefix!==s.prefix?i.prefix.localeCompare(s.prefix):i.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(i=>{if(r.name===i.name&&r.prefix===i.prefix&&r.provider===i.provider)return;r=i;const s=i.provider,h=i.prefix,u=i.name,p=n[s]||(n[s]=Object.create(null)),g=p[h]||(p[h]=Ne(s,h));let m;u in g.icons?m=t.loaded:h===""||g.missing.has(u)?m=t.missing:m=t.pending;const v={provider:s,prefix:h,name:u};m.push(v)}),t}function li(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(i=>i.id!==t))})}function qs(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,i=e.prefix;t.forEach(s=>{const h=s.icons,u=h.pending.length;h.pending=h.pending.filter(p=>{if(p.prefix!==i)return!0;const g=p.name;if(e.icons[g])h.loaded.push({provider:r,prefix:i,name:g});else if(e.missing.has(g))h.missing.push({provider:r,prefix:i,name:g});else return n=!0,!0;return!1}),h.pending.length!==u&&(n||li([e],s.id),s.callback(h.loaded.slice(0),h.missing.slice(0),h.pending.slice(0),s.abort))})}))}let Gs=0;function Xs(e,t,n){const r=Gs++,i=li.bind(null,n,r);if(!t.pending.length)return i;const s={id:r,icons:t,callback:e,abort:i};return n.forEach(h=>{(h.loaderCallbacks||(h.loaderCallbacks=[])).push(s)}),i}function Qs(e,t=!0,n=!1){const r=[];return e.forEach(i=>{const s=typeof i=="string"?Dt(i,t,n):i;s&&r.push(s)}),r}var Ys={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Js(e,t,n,r){const i=e.resources.length,s=e.random?Math.floor(Math.random()*i):e.index;let h;if(e.random){let B=e.resources.slice(0);for(h=[];B.length>1;){const X=Math.floor(Math.random()*B.length);h.push(B[X]),B=B.slice(0,X).concat(B.slice(X+1))}h=h.concat(B)}else h=e.resources.slice(s).concat(e.resources.slice(0,s));const u=Date.now();let p="pending",g=0,m,v=null,j=[],w=[];typeof r=="function"&&w.push(r);function k(){v&&(clearTimeout(v),v=null)}function x(){p==="pending"&&(p="aborted"),k(),j.forEach(B=>{B.status==="pending"&&(B.status="aborted")}),j=[]}function P(B,X){X&&(w=[]),typeof B=="function"&&w.push(B)}function _(){return{startTime:u,payload:t,status:p,queriesSent:g,queriesPending:j.length,subscribe:P,abort:x}}function T(){p="failed",w.forEach(B=>{B(void 0,m)})}function N(){j.forEach(B=>{B.status==="pending"&&(B.status="aborted")}),j=[]}function H(B,X,te){const se=X!=="success";switch(j=j.filter($=>$!==B),p){case"pending":break;case"failed":if(se||!e.dataAfterTimeout)return;break;default:return}if(X==="abort"){m=te,T();return}if(se){m=te,j.length||(h.length?ee():T());return}if(k(),N(),!e.random){const $=e.resources.indexOf(B.resource);$!==-1&&$!==e.index&&(e.index=$)}p="completed",w.forEach($=>{$(te)})}function ee(){if(p!=="pending")return;k();const B=h.shift();if(B===void 0){if(j.length){v=setTimeout(()=>{k(),p==="pending"&&(N(),T())},e.timeout);return}T();return}const X={status:"pending",resource:B,callback:(te,se)=>{H(X,te,se)}};j.push(X),g++,v=setTimeout(ee,e.rotate),n(B,t,X.callback)}return setTimeout(ee),_}function ci(e){const t={...Ys,...e};let n=[];function r(){n=n.filter(u=>u().status==="pending")}function i(u,p,g){const m=Js(t,u,p,(v,j)=>{r(),g&&g(v,j)});return n.push(m),m}function s(u){return n.find(p=>u(p))||null}return{query:i,find:s,setIndex:u=>{t.index=u},getIndex:()=>t.index,cleanup:r}}function jr(){}const Yt=Object.create(null);function Zs(e){if(!Yt[e]){const t=Ln(e);if(!t)return;const n=ci(t),r={config:t,redundancy:n};Yt[e]=r}return Yt[e]}function ea(e,t,n){let r,i;if(typeof e=="string"){const s=pn(e);if(!s)return n(void 0,424),jr;i=s.send;const h=Zs(e);h&&(r=h.redundancy)}else{const s=_n(e);if(s){r=ci(s);const h=e.resources?e.resources[0]:"",u=pn(h);u&&(i=u.send)}}return!r||!i?(n(void 0,424),jr):r.query(t,i,n)().abort}const Tr="iconify2",ht="iconify",ui=ht+"-count",Or=ht+"-version",di=36e5,ta=168;function mn(e,t){try{return e.getItem(t)}catch{}}function Dn(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Cr(e,t){try{e.removeItem(t)}catch{}}function gn(e,t){return Dn(e,ui,t.toString())}function bn(e){return parseInt(mn(e,ui))||0}const zt={local:!0,session:!0},hi={local:new Set,session:new Set};let zn=!1;function na(e){zn=e}let wt=typeof window>"u"?{}:window;function fi(e){const t=e+"Storage";try{if(wt&&wt[t]&&typeof wt[t].length=="number")return wt[t]}catch{}zt[e]=!1}function pi(e,t){const n=fi(e);if(!n)return;const r=mn(n,Or);if(r!==Tr){if(r){const u=bn(n);for(let p=0;p<u;p++)Cr(n,ht+p.toString())}Dn(n,Or,Tr),gn(n,0);return}const i=Math.floor(Date.now()/di)-ta,s=u=>{const p=ht+u.toString(),g=mn(n,p);if(typeof g=="string"){try{const m=JSON.parse(g);if(typeof m=="object"&&typeof m.cached=="number"&&m.cached>i&&typeof m.provider=="string"&&typeof m.data=="object"&&typeof m.data.prefix=="string"&&t(m,u))return!0}catch{}Cr(n,p)}};let h=bn(n);for(let u=h-1;u>=0;u--)s(u)||(u===h-1?(h--,gn(n,h)):hi[e].add(u))}function mi(){if(!zn){na(!0);for(const e in zt)pi(e,t=>{const n=t.data,r=t.provider,i=n.prefix,s=Ne(r,i);if(!Rn(s,n).length)return!1;const h=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,h):h,!0})}}function ra(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in zt)pi(r,i=>{const s=i.data;return i.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function ia(e,t){zn||mi();function n(r){let i;if(!zt[r]||!(i=fi(r)))return;const s=hi[r];let h;if(s.size)s.delete(h=Array.from(s).shift());else if(h=bn(i),!gn(i,h+1))return;const u={cached:Math.floor(Date.now()/di),provider:e.provider,data:t};return Dn(i,ht+h.toString(),JSON.stringify(u))}t.lastModified&&!ra(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Ir(){}function oa(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,qs(e)}))}function sa(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,i=e.iconsToLoad;delete e.iconsToLoad;let s;if(!i||!(s=pn(n)))return;s.prepare(n,r,i).forEach(u=>{ea(n,u,p=>{if(typeof p!="object")u.icons.forEach(g=>{e.missing.add(g)});else try{const g=Rn(e,p);if(!g.length)return;const m=e.pendingIcons;m&&g.forEach(v=>{m.delete(v)}),ia(e,p)}catch(g){console.error(g)}oa(e)})})}))}const aa=(e,t)=>{const n=Qs(e,!0,oi()),r=Hs(n);if(!r.pending.length){let p=!0;return t&&setTimeout(()=>{p&&t(r.loaded,r.missing,r.pending,Ir)}),()=>{p=!1}}const i=Object.create(null),s=[];let h,u;return r.pending.forEach(p=>{const{provider:g,prefix:m}=p;if(m===u&&g===h)return;h=g,u=m,s.push(Ne(g,m));const v=i[g]||(i[g]=Object.create(null));v[m]||(v[m]=[])}),r.pending.forEach(p=>{const{provider:g,prefix:m,name:v}=p,j=Ne(g,m),w=j.pendingIcons||(j.pendingIcons=new Set);w.has(v)||(w.add(v),i[g][m].push(v))}),s.forEach(p=>{const{provider:g,prefix:m}=p;i[g][m].length&&sa(p,i[g][m])}),t?Xs(t,r,s):Ir};function la(e,t){const n={...e};for(const r in t){const i=t[r],s=typeof i;r in si?(i===null||i&&(s==="string"||s==="number"))&&(n[r]=i):s===typeof n[r]&&(n[r]=r==="rotate"?i%4:i)}return n}const ca=/[\s,]+/;function ua(e,t){t.split(ca).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function da(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(i){for(;i<0;)i+=4;return i%4}if(n===""){const i=parseInt(e);return isNaN(i)?0:r(i)}else if(n!==e){let i=0;switch(n){case"%":i=25;break;case"deg":i=90}if(i){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/i,s%1===0?r(s):0)}}return t}function ha(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function fa(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function pa(e){return"data:image/svg+xml,"+fa(e)}function ma(e){return'url("'+pa(e)+'")'}let ct;function ga(){try{ct=window.trustedTypes.createPolicy("iconify",{createHTML:e=>e})}catch{ct=null}}function ba(e){return ct===void 0&&ga(),ct?ct.createHTML(e):e}const gi={...ai,inline:!1},ya={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},va={display:"inline-block"},yn={backgroundColor:"currentColor"},bi={backgroundColor:"transparent"},Er={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Pr={WebkitMask:yn,mask:yn,background:bi};for(const e in Pr){const t=Pr[e];for(const n in Er)t[e+n]=Er[n]}const xa={...gi,inline:!0};function Rr(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const wa=(e,t,n,r)=>{const i=n?xa:gi,s=la(i,t),h=t.mode||"svg",u={},p=t.style||{},g={...h==="svg"?ya:{},ref:r};for(let _ in t){const T=t[_];if(T!==void 0)switch(_){case"icon":case"style":case"children":case"onLoad":case"mode":case"_ref":case"_inline":break;case"inline":case"hFlip":case"vFlip":s[_]=T===!0||T==="true"||T===1;break;case"flip":typeof T=="string"&&ua(s,T);break;case"color":u.color=T;break;case"rotate":typeof T=="string"?s[_]=da(T):typeof T=="number"&&(s[_]=T);break;case"ariaHidden":case"aria-hidden":T!==!0&&T!=="true"&&delete g["aria-hidden"];break;default:i[_]===void 0&&(g[_]=T)}}const m=_s(e,s),v=m.attributes;if(s.inline&&(u.verticalAlign="-0.125em"),h==="svg"){g.style={...u,...p},Object.assign(g,v);let _=0,T=t.id;return typeof T=="string"&&(T=T.replace(/-/g,"_")),g.dangerouslySetInnerHTML={__html:ba(zs(m.body,T?()=>T+"ID"+_++:"iconifyReact"))},Le.createElement("svg",g)}const{body:j,width:w,height:k}=e,x=h==="mask"||(h==="bg"?!1:j.indexOf("currentColor")!==-1),P=ha(j,{...v,width:w+"",height:k+""});return g.style={...u,"--svg":ma(P),width:Rr(v.width),height:Rr(v.height),...va,...x?yn:bi,...p},Le.createElement("span",g)};oi(!0);Fs("",Vs);if(typeof document<"u"&&typeof window<"u"){mi();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!Is(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const i=t[n];if(typeof i!="object"||!i||i.resources===void 0)continue;Ws(n,i)||console.error(r)}catch{console.error(r)}}}}class yi extends Le.Component{constructor(t){super(t),this.state={icon:null}}_abortLoading(){this._loading&&(this._loading.abort(),this._loading=null)}_setData(t){this.state.icon!==t&&this.setState({icon:t})}_checkIcon(t){const n=this.state,r=this.props.icon;if(typeof r=="object"&&r!==null&&typeof r.body=="string"){this._icon="",this._abortLoading(),(t||n.icon===null)&&this._setData({data:r});return}let i;if(typeof r!="string"||(i=Dt(r,!1,!0))===null){this._abortLoading(),this._setData(null);return}const s=Os(i);if(!s){(!this._loading||this._loading.name!==r)&&(this._abortLoading(),this._icon="",this._setData(null),s!==null&&(this._loading={name:r,abort:aa([i],this._checkIcon.bind(this,!1))}));return}if(this._icon!==r||n.icon===null){this._abortLoading(),this._icon=r;const h=["iconify"];i.prefix!==""&&h.push("iconify--"+i.prefix),i.provider!==""&&h.push("iconify--"+i.provider),this._setData({data:s,classes:h}),this.props.onLoad&&this.props.onLoad(r)}}componentDidMount(){this._checkIcon(!1)}componentDidUpdate(t){t.icon!==this.props.icon&&this._checkIcon(!0)}componentWillUnmount(){this._abortLoading()}render(){const t=this.props,n=this.state.icon;if(n===null)return t.children?t.children:Le.createElement("span",{});let r=t;return n.classes&&(r={...t,className:(typeof t.className=="string"?t.className+" ":"")+n.classes.join(" ")}),wa({...Pn,...n.data},r,t._inline,t._ref)}}const Re=Le.forwardRef(function(t,n){const r={...t,_ref:n,_inline:!1};return Le.createElement(yi,r)});Le.forwardRef(function(t,n){const r={...t,_ref:n,_inline:!0};return Le.createElement(yi,r)});const vi={width:24,height:24,body:'<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 18a3.5 3.5 0 0 0 0-7h-1A5 4.5 0 0 0 7 9a4.6 4.4 0 0 0-2.1 8.4M12 13v9m-3-3l3 3l3-3"/>'};var It={exports:{}},Sa=It.exports,_r;function ka(){return _r||(_r=1,function(e,t){(function(n,r){e.exports=r(ho())})(Sa,n=>(()=>{var r={703:(u,p,g)=>{var m=g(414);function v(){}function j(){}j.resetWarningCache=v,u.exports=function(){function w(P,_,T,N,H,ee){if(ee!==m){var B=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw B.name="Invariant Violation",B}}function k(){return w}w.isRequired=w;var x={array:w,bool:w,func:w,number:w,object:w,string:w,symbol:w,any:w,arrayOf:k,element:w,elementType:w,instanceOf:k,node:w,objectOf:k,oneOf:k,oneOfType:k,shape:k,exact:k,checkPropTypes:j,resetWarningCache:v};return x.PropTypes=x,x}},697:(u,p,g)=>{u.exports=g(703)()},414:u=>{u.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},590:u=>{var p=typeof Element<"u",g=typeof Map=="function",m=typeof Set=="function",v=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function j(w,k){if(w===k)return!0;if(w&&k&&typeof w=="object"&&typeof k=="object"){if(w.constructor!==k.constructor)return!1;var x,P,_,T;if(Array.isArray(w)){if((x=w.length)!=k.length)return!1;for(P=x;P--!=0;)if(!j(w[P],k[P]))return!1;return!0}if(g&&w instanceof Map&&k instanceof Map){if(w.size!==k.size)return!1;for(T=w.entries();!(P=T.next()).done;)if(!k.has(P.value[0]))return!1;for(T=w.entries();!(P=T.next()).done;)if(!j(P.value[1],k.get(P.value[0])))return!1;return!0}if(m&&w instanceof Set&&k instanceof Set){if(w.size!==k.size)return!1;for(T=w.entries();!(P=T.next()).done;)if(!k.has(P.value[0]))return!1;return!0}if(v&&ArrayBuffer.isView(w)&&ArrayBuffer.isView(k)){if((x=w.length)!=k.length)return!1;for(P=x;P--!=0;)if(w[P]!==k[P])return!1;return!0}if(w.constructor===RegExp)return w.source===k.source&&w.flags===k.flags;if(w.valueOf!==Object.prototype.valueOf)return w.valueOf()===k.valueOf();if(w.toString!==Object.prototype.toString)return w.toString()===k.toString();if((x=(_=Object.keys(w)).length)!==Object.keys(k).length)return!1;for(P=x;P--!=0;)if(!Object.prototype.hasOwnProperty.call(k,_[P]))return!1;if(p&&w instanceof Element)return!1;for(P=x;P--!=0;)if((_[P]!=="_owner"&&_[P]!=="__v"&&_[P]!=="__o"||!w.$$typeof)&&!j(w[_[P]],k[_[P]]))return!1;return!0}return w!=w&&k!=k}u.exports=function(w,k){try{return j(w,k)}catch(x){if((x.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw x}}},359:u=>{u.exports=n}},i={};function s(u){var p=i[u];if(p!==void 0)return p.exports;var g=i[u]={exports:{}};return r[u](g,g.exports,s),g.exports}s.n=u=>{var p=u&&u.__esModule?()=>u.default:()=>u;return s.d(p,{a:p}),p},s.d=(u,p)=>{for(var g in p)s.o(p,g)&&!s.o(u,g)&&Object.defineProperty(u,g,{enumerable:!0,get:p[g]})},s.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),s.o=(u,p)=>Object.prototype.hasOwnProperty.call(u,p),s.r=u=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(u,"__esModule",{value:!0})};var h={};return(()=>{function u(d){var a,f,b="";if(typeof d=="string"||typeof d=="number")b+=d;else if(typeof d=="object")if(Array.isArray(d))for(a=0;a<d.length;a++)d[a]&&(f=u(d[a]))&&(b&&(b+=" "),b+=f);else for(a in d)d[a]&&(b&&(b+=" "),b+=a);return b}function p(){for(var d,a,f=0,b="";f<arguments.length;)(d=arguments[f++])&&(a=u(d))&&(b&&(b+=" "),b+=a);return b}s.r(h),s.d(h,{default:()=>co});var g=s(359),m=s.n(g);const v=function(d){var a=typeof d;return d!=null&&(a=="object"||a=="function")},j=typeof vt=="object"&&vt&&vt.Object===Object&&vt;var w=typeof self=="object"&&self&&self.Object===Object&&self;const k=j||w||Function("return this")(),x=function(){return k.Date.now()};var P=/\s/,_=/^\s+/;const T=function(d){return d&&d.slice(0,function(a){for(var f=a.length;f--&&P.test(a.charAt(f)););return f}(d)+1).replace(_,"")},N=k.Symbol;var H=Object.prototype,ee=H.hasOwnProperty,B=H.toString,X=N?N.toStringTag:void 0,te=Object.prototype.toString,se=N?N.toStringTag:void 0;const $=function(d){return d==null?d===void 0?"[object Undefined]":"[object Null]":se&&se in Object(d)?function(a){var f=ee.call(a,X),b=a[X];try{a[X]=void 0;var I=!0}catch{}var W=B.call(a);return I&&(f?a[X]=b:delete a[X]),W}(d):function(a){return te.call(a)}(d)};var Ie=/^[-+]0x[0-9a-f]+$/i,we=/^0b[01]+$/i,ke=/^0o[0-7]+$/i,me=parseInt;const Se=function(d){if(typeof d=="number")return d;if(function(b){return typeof b=="symbol"||function(I){return I!=null&&typeof I=="object"}(b)&&$(b)=="[object Symbol]"}(d))return NaN;if(v(d)){var a=typeof d.valueOf=="function"?d.valueOf():d;d=v(a)?a+"":a}if(typeof d!="string")return d===0?d:+d;d=T(d);var f=we.test(d);return f||ke.test(d)?me(d.slice(2),f?2:8):Ie.test(d)?NaN:+d};var D=Math.max,ae=Math.min;const je=function(d,a,f){var b,I,W,Q,c,l,y=0,O=!1,E=!1,C=!0;if(typeof d!="function")throw new TypeError("Expected a function");function K(A){var G=b,J=I;return b=I=void 0,y=A,Q=d.apply(J,G)}function U(A){return y=A,c=setTimeout(M,a),O?K(A):Q}function q(A){var G=A-l;return l===void 0||G>=a||G<0||E&&A-y>=W}function M(){var A=x();if(q(A))return L(A);c=setTimeout(M,function(G){var J=a-(G-l);return E?ae(J,W-(G-y)):J}(A))}function L(A){return c=void 0,C&&b?K(A):(b=I=void 0,Q)}function z(){var A=x(),G=q(A);if(b=arguments,I=this,l=A,G){if(c===void 0)return U(l);if(E)return clearTimeout(c),c=setTimeout(M,a),K(l)}return c===void 0&&(c=setTimeout(M,a)),Q}return a=Se(a)||0,v(f)&&(O=!!f.leading,W=(E="maxWait"in f)?D(Se(f.maxWait)||0,a):W,C="trailing"in f?!!f.trailing:C),z.cancel=function(){c!==void 0&&clearTimeout(c),y=0,b=l=I=c=void 0},z.flush=function(){return c===void 0?Q:L(x())},z},ce=function(d,a,f){var b=!0,I=!0;if(typeof d!="function")throw new TypeError("Expected a function");return v(f)&&(b="leading"in f?!!f.leading:b,I="trailing"in f?!!f.trailing:I),je(d,a,{leading:b,maxWait:a,trailing:I})};var Te=s(590),Ee=s.n(Te),$n=function(){if(typeof Map<"u")return Map;function d(a,f){var b=-1;return a.some(function(I,W){return I[0]===f&&(b=W,!0)}),b}return function(){function a(){this.__entries__=[]}return Object.defineProperty(a.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),a.prototype.get=function(f){var b=d(this.__entries__,f),I=this.__entries__[b];return I&&I[1]},a.prototype.set=function(f,b){var I=d(this.__entries__,f);~I?this.__entries__[I][1]=b:this.__entries__.push([f,b])},a.prototype.delete=function(f){var b=this.__entries__,I=d(b,f);~I&&b.splice(I,1)},a.prototype.has=function(f){return!!~d(this.__entries__,f)},a.prototype.clear=function(){this.__entries__.splice(0)},a.prototype.forEach=function(f,b){b===void 0&&(b=null);for(var I=0,W=this.__entries__;I<W.length;I++){var Q=W[I];f.call(b,Q[1],Q[0])}},a}()}(),Wt=typeof window<"u"&&typeof document<"u"&&window.document===document,pt=s.g!==void 0&&s.g.Math===Math?s.g:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")(),Wi=typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(pt):function(d){return setTimeout(function(){return d(Date.now())},1e3/60)},Ai=["top","right","bottom","left","width","height","size","weight"],Bi=typeof MutationObserver<"u",Ni=function(){function d(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(a,f){var b=!1,I=!1,W=0;function Q(){b&&(b=!1,a()),I&&l()}function c(){Wi(Q)}function l(){var y=Date.now();if(b){if(y-W<2)return;I=!0}else b=!0,I=!1,setTimeout(c,20);W=y}return l}(this.refresh.bind(this))}return d.prototype.addObserver=function(a){~this.observers_.indexOf(a)||this.observers_.push(a),this.connected_||this.connect_()},d.prototype.removeObserver=function(a){var f=this.observers_,b=f.indexOf(a);~b&&f.splice(b,1),!f.length&&this.connected_&&this.disconnect_()},d.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},d.prototype.updateObservers_=function(){var a=this.observers_.filter(function(f){return f.gatherActive(),f.hasActive()});return a.forEach(function(f){return f.broadcastActive()}),a.length>0},d.prototype.connect_=function(){Wt&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Bi?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},d.prototype.disconnect_=function(){Wt&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},d.prototype.onTransitionEnd_=function(a){var f=a.propertyName,b=f===void 0?"":f;Ai.some(function(I){return!!~b.indexOf(I)})&&this.refresh()},d.getInstance=function(){return this.instance_||(this.instance_=new d),this.instance_},d.instance_=null,d}(),Un=function(d,a){for(var f=0,b=Object.keys(a);f<b.length;f++){var I=b[f];Object.defineProperty(d,I,{value:a[I],enumerable:!1,writable:!1,configurable:!0})}return d},Ke=function(d){return d&&d.ownerDocument&&d.ownerDocument.defaultView||pt},Kn=gt(0,0,0,0);function mt(d){return parseFloat(d)||0}function Vn(d){for(var a=[],f=1;f<arguments.length;f++)a[f-1]=arguments[f];return a.reduce(function(b,I){return b+mt(d["border-"+I+"-width"])},0)}var $i=typeof SVGGraphicsElement<"u"?function(d){return d instanceof Ke(d).SVGGraphicsElement}:function(d){return d instanceof Ke(d).SVGElement&&typeof d.getBBox=="function"};function Ui(d){return Wt?$i(d)?function(a){var f=a.getBBox();return gt(0,0,f.width,f.height)}(d):function(a){var f=a.clientWidth,b=a.clientHeight;if(!f&&!b)return Kn;var I=Ke(a).getComputedStyle(a),W=function(C){for(var K={},U=0,q=["top","right","bottom","left"];U<q.length;U++){var M=q[U],L=C["padding-"+M];K[M]=mt(L)}return K}(I),Q=W.left+W.right,c=W.top+W.bottom,l=mt(I.width),y=mt(I.height);if(I.boxSizing==="border-box"&&(Math.round(l+Q)!==f&&(l-=Vn(I,"left","right")+Q),Math.round(y+c)!==b&&(y-=Vn(I,"top","bottom")+c)),!function(C){return C===Ke(C).document.documentElement}(a)){var O=Math.round(l+Q)-f,E=Math.round(y+c)-b;Math.abs(O)!==1&&(l-=O),Math.abs(E)!==1&&(y-=E)}return gt(W.left,W.top,l,y)}(d):Kn}function gt(d,a,f,b){return{x:d,y:a,width:f,height:b}}var Ki=function(){function d(a){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=gt(0,0,0,0),this.target=a}return d.prototype.isActive=function(){var a=Ui(this.target);return this.contentRect_=a,a.width!==this.broadcastWidth||a.height!==this.broadcastHeight},d.prototype.broadcastRect=function(){var a=this.contentRect_;return this.broadcastWidth=a.width,this.broadcastHeight=a.height,a},d}(),Vi=function(d,a){var f,b,I,W,Q,c,l,y=(b=(f=a).x,I=f.y,W=f.width,Q=f.height,c=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,l=Object.create(c.prototype),Un(l,{x:b,y:I,width:W,height:Q,top:I,right:b+W,bottom:Q+I,left:b}),l);Un(this,{target:d,contentRect:y})},Hi=function(){function d(a,f,b){if(this.activeObservations_=[],this.observations_=new $n,typeof a!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=a,this.controller_=f,this.callbackCtx_=b}return d.prototype.observe=function(a){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(typeof Element<"u"&&Element instanceof Object){if(!(a instanceof Ke(a).Element))throw new TypeError('parameter 1 is not of type "Element".');var f=this.observations_;f.has(a)||(f.set(a,new Ki(a)),this.controller_.addObserver(this),this.controller_.refresh())}},d.prototype.unobserve=function(a){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(typeof Element<"u"&&Element instanceof Object){if(!(a instanceof Ke(a).Element))throw new TypeError('parameter 1 is not of type "Element".');var f=this.observations_;f.has(a)&&(f.delete(a),f.size||this.controller_.removeObserver(this))}},d.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},d.prototype.gatherActive=function(){var a=this;this.clearActive(),this.observations_.forEach(function(f){f.isActive()&&a.activeObservations_.push(f)})},d.prototype.broadcastActive=function(){if(this.hasActive()){var a=this.callbackCtx_,f=this.activeObservations_.map(function(b){return new Vi(b.target,b.broadcastRect())});this.callback_.call(a,f,a),this.clearActive()}},d.prototype.clearActive=function(){this.activeObservations_.splice(0)},d.prototype.hasActive=function(){return this.activeObservations_.length>0},d}(),Hn=typeof WeakMap<"u"?new WeakMap:new $n,qn=function d(a){if(!(this instanceof d))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var f=Ni.getInstance(),b=new Hi(a,f,this);Hn.set(this,b)};["observe","unobserve","disconnect"].forEach(function(d){qn.prototype[d]=function(){var a;return(a=Hn.get(this))[d].apply(a,arguments)}});const Gn=pt.ResizeObserver!==void 0?pt.ResizeObserver:qn,Ve="Left",Fe="Right",He="Up",We="Down",qe={delta:10,preventScrollOnSwipe:!1,rotationAngle:0,trackMouse:!1,trackTouch:!0,swipeDuration:1/0,touchEventOptions:{passive:!0}},At={first:!0,initial:[0,0],start:0,swiping:!1,xy:[0,0]},Xn="mousemove",Qn="mouseup";function Yn(d,a){if(a===0)return d;const f=Math.PI/180*a;return[d[0]*Math.cos(f)+d[1]*Math.sin(f),d[1]*Math.cos(f)-d[0]*Math.sin(f)]}function qi(d){const{trackMouse:a}=d,f=g.useRef(Object.assign({},At)),b=g.useRef(Object.assign({},qe)),I=g.useRef(Object.assign({},b.current));let W;for(W in I.current=Object.assign({},b.current),b.current=Object.assign(Object.assign({},qe),d),qe)b.current[W]===void 0&&(b.current[W]=qe[W]);const[Q,c]=g.useMemo(()=>function(l,y){const O=M=>{const L="touches"in M;L&&M.touches.length>1||l((z,A)=>{A.trackMouse&&!L&&(document.addEventListener(Xn,E),document.addEventListener(Qn,K));const{clientX:G,clientY:J}=L?M.touches[0]:M,ie=Yn([G,J],A.rotationAngle);return A.onTouchStartOrOnMouseDown&&A.onTouchStartOrOnMouseDown({event:M}),Object.assign(Object.assign(Object.assign({},z),At),{initial:ie.slice(),xy:ie,start:M.timeStamp||0})})},E=M=>{l((L,z)=>{const A="touches"in M;if(A&&M.touches.length>1)return L;if(M.timeStamp-L.start>z.swipeDuration)return L.swiping?Object.assign(Object.assign({},L),{swiping:!1}):L;const{clientX:G,clientY:J}=A?M.touches[0]:M,[ie,ge]=Yn([G,J],z.rotationAngle),he=ie-L.xy[0],ue=ge-L.xy[1],re=Math.abs(he),Z=Math.abs(ue),_e=(M.timeStamp||0)-L.start,nt=Math.sqrt(re*re+Z*Z)/(_e||1),rt=[he/(_e||1),ue/(_e||1)],Pe=function(it,Qe,ot,be){return it>Qe?ot>0?Fe:Ve:be>0?We:He}(re,Z,he,ue),Ae=typeof z.delta=="number"?z.delta:z.delta[Pe.toLowerCase()]||qe.delta;if(re<Ae&&Z<Ae&&!L.swiping)return L;const Oe={absX:re,absY:Z,deltaX:he,deltaY:ue,dir:Pe,event:M,first:L.first,initial:L.initial,velocity:nt,vxvy:rt};Oe.first&&z.onSwipeStart&&z.onSwipeStart(Oe),z.onSwiping&&z.onSwiping(Oe);let Xe=!1;return(z.onSwiping||z.onSwiped||z[`onSwiped${Pe}`])&&(Xe=!0),Xe&&z.preventScrollOnSwipe&&z.trackTouch&&M.cancelable&&M.preventDefault(),Object.assign(Object.assign({},L),{first:!1,eventData:Oe,swiping:!0})})},C=M=>{l((L,z)=>{let A;if(L.swiping&&L.eventData){if(M.timeStamp-L.start<z.swipeDuration){A=Object.assign(Object.assign({},L.eventData),{event:M}),z.onSwiped&&z.onSwiped(A);const G=z[`onSwiped${A.dir}`];G&&G(A)}}else z.onTap&&z.onTap({event:M});return z.onTouchEndOrOnMouseUp&&z.onTouchEndOrOnMouseUp({event:M}),Object.assign(Object.assign(Object.assign({},L),At),{eventData:A})})},K=M=>{document.removeEventListener(Xn,E),document.removeEventListener(Qn,K),C(M)},U=(M,L)=>{let z=()=>{};if(M&&M.addEventListener){const A=Object.assign(Object.assign({},qe.touchEventOptions),L.touchEventOptions),G=[["touchstart",O,A],["touchmove",E,Object.assign(Object.assign({},A),L.preventScrollOnSwipe?{passive:!1}:{})],["touchend",C,A]];G.forEach(([J,ie,ge])=>M.addEventListener(J,ie,ge)),z=()=>G.forEach(([J,ie])=>M.removeEventListener(J,ie))}return z},q={ref:M=>{M!==null&&l((L,z)=>{if(L.el===M)return L;const A={};return L.el&&L.el!==M&&L.cleanUpTouch&&(L.cleanUpTouch(),A.cleanUpTouch=void 0),z.trackTouch&&M&&(A.cleanUpTouch=U(M,z)),Object.assign(Object.assign(Object.assign({},L),{el:M}),A)})}};return y.trackMouse&&(q.onMouseDown=O),[q,U]}(l=>f.current=l(f.current,b.current),{trackMouse:a}),[a]);return f.current=function(l,y,O,E){return y.trackTouch&&l.el?l.cleanUpTouch?y.preventScrollOnSwipe!==O.preventScrollOnSwipe||y.touchEventOptions.passive!==O.touchEventOptions.passive?(l.cleanUpTouch(),Object.assign(Object.assign({},l),{cleanUpTouch:E(l.el,y)})):l:Object.assign(Object.assign({},l),{cleanUpTouch:E(l.el,y)}):(l.cleanUpTouch&&l.cleanUpTouch(),Object.assign(Object.assign({},l),{cleanUpTouch:void 0}))}(f.current,b.current,I.current,c),Q}var S=s(697);function Ze(d){return Ze=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},Ze(d)}function Jn(d,a){var f=Object.keys(d);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(d);a&&(b=b.filter(function(I){return Object.getOwnPropertyDescriptor(d,I).enumerable})),f.push.apply(f,b)}return f}function Zn(d){for(var a=1;a<arguments.length;a++){var f=arguments[a]!=null?arguments[a]:{};a%2?Jn(Object(f),!0).forEach(function(b){Gi(d,b,f[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(f)):Jn(Object(f)).forEach(function(b){Object.defineProperty(d,b,Object.getOwnPropertyDescriptor(f,b))})}return d}function Gi(d,a,f){return(a=function(b){var I=function(W,Q){if(Ze(W)!=="object"||W===null)return W;var c=W[Symbol.toPrimitive];if(c!==void 0){var l=c.call(W,Q);if(Ze(l)!=="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(W)}(b,"string");return Ze(I)==="symbol"?I:String(I)}(a))in d?Object.defineProperty(d,a,{value:f,enumerable:!0,configurable:!0,writable:!0}):d[a]=f,d}var Xi={description:"",fullscreen:"",isFullscreen:!1,originalAlt:"",originalHeight:"",originalWidth:"",originalTitle:"",sizes:"",srcSet:"",loading:"eager"},Bt=m().memo(function(d){var a=Zn(Zn({},Xi),d),f=a.description,b=a.fullscreen,I=a.handleImageLoaded,W=a.isFullscreen,Q=a.onImageError,c=a.original,l=a.originalAlt,y=a.originalHeight,O=a.originalWidth,E=a.originalTitle,C=a.sizes,K=a.srcSet,U=a.loading,q=W&&b||c;return m().createElement(m().Fragment,null,m().createElement("img",{className:"image-gallery-image",src:q,alt:l,srcSet:K,height:y,width:O,sizes:C,title:E,onLoad:function(M){return I(M,c)},onError:Q,loading:U}),f&&m().createElement("span",{className:"image-gallery-description"},f))});Bt.displayName="Item",Bt.propTypes={description:S.string,fullscreen:S.string,handleImageLoaded:S.func.isRequired,isFullscreen:S.bool,onImageError:S.func.isRequired,original:S.string.isRequired,originalAlt:S.string,originalHeight:S.string,originalWidth:S.string,originalTitle:S.string,sizes:S.string,srcSet:S.string,loading:S.string};const Qi=Bt;function et(d){return et=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},et(d)}function er(d,a){var f=Object.keys(d);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(d);a&&(b=b.filter(function(I){return Object.getOwnPropertyDescriptor(d,I).enumerable})),f.push.apply(f,b)}return f}function tr(d){for(var a=1;a<arguments.length;a++){var f=arguments[a]!=null?arguments[a]:{};a%2?er(Object(f),!0).forEach(function(b){Yi(d,b,f[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(f)):er(Object(f)).forEach(function(b){Object.defineProperty(d,b,Object.getOwnPropertyDescriptor(f,b))})}return d}function Yi(d,a,f){return(a=function(b){var I=function(W,Q){if(et(W)!=="object"||W===null)return W;var c=W[Symbol.toPrimitive];if(c!==void 0){var l=c.call(W,Q);if(et(l)!=="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(W)}(b,"string");return et(I)==="symbol"?I:String(I)}(a))in d?Object.defineProperty(d,a,{value:f,enumerable:!0,configurable:!0,writable:!0}):d[a]=f,d}var Ji={left:m().createElement("polyline",{points:"15 18 9 12 15 6"}),right:m().createElement("polyline",{points:"9 18 15 12 9 6"}),maximize:m().createElement("path",{d:"M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3"}),minimize:m().createElement("path",{d:"M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3m0 18v-3a2 2 0 0 1 2-2h3M3 16h3a2 2 0 0 1 2 2v3"}),play:m().createElement("polygon",{points:"5 3 19 12 5 21 5 3"}),pause:m().createElement(m().Fragment,null,m().createElement("rect",{x:"6",y:"4",width:"4",height:"16"}),m().createElement("rect",{x:"14",y:"4",width:"4",height:"16"}))},Zi={strokeWidth:1,viewBox:"0 0 24 24"},nr=function(d){var a=tr(tr({},Zi),d),f=a.strokeWidth,b=a.viewBox,I=a.icon;return m().createElement("svg",{className:"image-gallery-svg",xmlns:"http://www.w3.org/2000/svg",viewBox:b,fill:"none",stroke:"currentColor",strokeWidth:f,strokeLinecap:"round",strokeLinejoin:"round"},Ji[I])};nr.propTypes={strokeWidth:S.number,viewBox:S.string,icon:(0,S.oneOf)(["left","right","maximize","minimize","play","pause"]).isRequired};const bt=nr;var Nt=m().memo(function(d){var a=d.isFullscreen,f=d.onClick;return m().createElement("button",{type:"button",className:"image-gallery-icon image-gallery-fullscreen-button",onClick:f,"aria-label":"Open Fullscreen"},m().createElement(bt,{strokeWidth:2,icon:a?"minimize":"maximize"}))});Nt.displayName="Fullscreen",Nt.propTypes={isFullscreen:S.bool.isRequired,onClick:S.func.isRequired};const eo=Nt;var $t=m().memo(function(d){var a=d.disabled,f=d.onClick;return m().createElement("button",{type:"button",className:"image-gallery-icon image-gallery-left-nav",disabled:a,onClick:f,"aria-label":"Previous Slide"},m().createElement(bt,{icon:"left",viewBox:"6 0 12 24"}))});$t.displayName="LeftNav",$t.propTypes={disabled:S.bool.isRequired,onClick:S.func.isRequired};const to=$t;var Ut=m().memo(function(d){var a=d.disabled,f=d.onClick;return m().createElement("button",{type:"button",className:"image-gallery-icon image-gallery-right-nav",disabled:a,onClick:f,"aria-label":"Next Slide"},m().createElement(bt,{icon:"right",viewBox:"6 0 12 24"}))});Ut.displayName="RightNav",Ut.propTypes={disabled:S.bool.isRequired,onClick:S.func.isRequired};const no=Ut;var Kt=m().memo(function(d){var a=d.isPlaying,f=d.onClick;return m().createElement("button",{type:"button",className:"image-gallery-icon image-gallery-play-button",onClick:f,"aria-label":"Play or Pause Slideshow"},m().createElement(bt,{strokeWidth:2,icon:a?"pause":"play"}))});Kt.displayName="PlayPause",Kt.propTypes={isPlaying:S.bool.isRequired,onClick:S.func.isRequired};const ro=Kt;function tt(d){return tt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},tt(d)}function Vt(){return Vt=Object.assign?Object.assign.bind():function(d){for(var a=1;a<arguments.length;a++){var f=arguments[a];for(var b in f)Object.prototype.hasOwnProperty.call(f,b)&&(d[b]=f[b])}return d},Vt.apply(this,arguments)}function rr(d,a){var f=Object.keys(d);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(d);a&&(b=b.filter(function(I){return Object.getOwnPropertyDescriptor(d,I).enumerable})),f.push.apply(f,b)}return f}function ir(d){for(var a=1;a<arguments.length;a++){var f=arguments[a]!=null?arguments[a]:{};a%2?rr(Object(f),!0).forEach(function(b){io(d,b,f[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(f)):rr(Object(f)).forEach(function(b){Object.defineProperty(d,b,Object.getOwnPropertyDescriptor(f,b))})}return d}function io(d,a,f){return(a=function(b){var I=function(W,Q){if(tt(W)!=="object"||W===null)return W;var c=W[Symbol.toPrimitive];if(c!==void 0){var l=c.call(W,Q);if(tt(l)!=="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(W)}(b,"string");return tt(I)==="symbol"?I:String(I)}(a))in d?Object.defineProperty(d,a,{value:f,enumerable:!0,configurable:!0,writable:!0}):d[a]=f,d}var oo={className:"",delta:0,onSwiping:function(){},onSwiped:function(){}},or=function(d){var a=ir(ir({},oo),d),f=a.children,b=a.className,I=qi({delta:a.delta,onSwiping:a.onSwiping,onSwiped:a.onSwiped});return m().createElement("div",Vt({},I,{className:b}),f)};or.propTypes={children:S.node.isRequired,className:S.string,delta:S.number,onSwiped:S.func,onSwiping:S.func};const sr=or;function Ge(d){return Ge=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},Ge(d)}function ar(d,a){var f=Object.keys(d);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(d);a&&(b=b.filter(function(I){return Object.getOwnPropertyDescriptor(d,I).enumerable})),f.push.apply(f,b)}return f}function lr(d){for(var a=1;a<arguments.length;a++){var f=arguments[a]!=null?arguments[a]:{};a%2?ar(Object(f),!0).forEach(function(b){cr(d,b,f[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(f)):ar(Object(f)).forEach(function(b){Object.defineProperty(d,b,Object.getOwnPropertyDescriptor(f,b))})}return d}function so(d,a){for(var f=0;f<a.length;f++){var b=a[f];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(d,ur(b.key),b)}}function Ht(d,a){return Ht=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(f,b){return f.__proto__=b,f},Ht(d,a)}function ao(d,a){if(a&&(Ge(a)==="object"||typeof a=="function"))return a;if(a!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return oe(d)}function oe(d){if(d===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d}function yt(d){return yt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(a){return a.__proto__||Object.getPrototypeOf(a)},yt(d)}function cr(d,a,f){return(a=ur(a))in d?Object.defineProperty(d,a,{value:f,enumerable:!0,configurable:!0,writable:!0}):d[a]=f,d}function ur(d){var a=function(f,b){if(Ge(f)!=="object"||f===null)return f;var I=f[Symbol.toPrimitive];if(I!==void 0){var W=I.call(f,b);if(Ge(W)!=="object")return W;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(f)}(d,"string");return Ge(a)==="symbol"?a:String(a)}var dr=["fullscreenchange","MSFullscreenChange","mozfullscreenchange","webkitfullscreenchange"],lo=(0,S.arrayOf)((0,S.shape)({srcSet:S.string,media:S.string}));function hr(d){var a=parseInt(d.keyCode||d.which||0,10);return a===66||a===62}var qt=function(d){(function(c,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function");c.prototype=Object.create(l&&l.prototype,{constructor:{value:c,writable:!0,configurable:!0}}),Object.defineProperty(c,"prototype",{writable:!1}),l&&Ht(c,l)})(Q,d);var a,f,b,I,W=(b=Q,I=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var c,l=yt(b);if(I){var y=yt(this).constructor;c=Reflect.construct(l,arguments,y)}else c=l.apply(this,arguments);return ao(this,c)});function Q(c){var l;return function(y,O){if(!(y instanceof O))throw new TypeError("Cannot call a class as a function")}(this,Q),cr(oe(l=W.call(this,c)),"onBulletClick",function(y,O){var E=l.props,C=E.onBulletClick,K=E.items,U=l.state.currentIndex;y.target.blur(),U!==O&&(K.length===2?l.slideToIndexWithStyleReset(O,y):l.slideToIndex(O,y)),C&&C(y,O)}),l.state={currentIndex:c.startIndex,thumbsTranslate:0,thumbsSwipedTranslate:0,currentSlideOffset:0,galleryWidth:0,thumbnailsWrapperWidth:0,thumbnailsWrapperHeight:0,thumbsStyle:{transition:"all ".concat(c.slideDuration,"ms ease-out")},isFullscreen:!1,isSwipingThumbnail:!1,isPlaying:!1},l.loadedImages={},l.imageGallery=m().createRef(),l.thumbnailsWrapper=m().createRef(),l.thumbnails=m().createRef(),l.imageGallerySlideWrapper=m().createRef(),l.handleImageLoaded=l.handleImageLoaded.bind(oe(l)),l.handleKeyDown=l.handleKeyDown.bind(oe(l)),l.handleMouseDown=l.handleMouseDown.bind(oe(l)),l.handleResize=l.handleResize.bind(oe(l)),l.handleTouchMove=l.handleTouchMove.bind(oe(l)),l.handleOnSwiped=l.handleOnSwiped.bind(oe(l)),l.handleScreenChange=l.handleScreenChange.bind(oe(l)),l.handleSwiping=l.handleSwiping.bind(oe(l)),l.handleThumbnailSwiping=l.handleThumbnailSwiping.bind(oe(l)),l.handleOnThumbnailSwiped=l.handleOnThumbnailSwiped.bind(oe(l)),l.onThumbnailMouseLeave=l.onThumbnailMouseLeave.bind(oe(l)),l.handleImageError=l.handleImageError.bind(oe(l)),l.pauseOrPlay=l.pauseOrPlay.bind(oe(l)),l.renderThumbInner=l.renderThumbInner.bind(oe(l)),l.renderItem=l.renderItem.bind(oe(l)),l.slideLeft=l.slideLeft.bind(oe(l)),l.slideRight=l.slideRight.bind(oe(l)),l.toggleFullScreen=l.toggleFullScreen.bind(oe(l)),l.togglePlay=l.togglePlay.bind(oe(l)),l.unthrottledSlideToIndex=l.slideToIndex,l.slideToIndex=ce(l.unthrottledSlideToIndex,c.slideDuration,{trailing:!1}),c.lazyLoad&&(l.lazyLoaded=[]),l}return a=Q,f=[{key:"componentDidMount",value:function(){var c=this.props,l=c.autoPlay,y=c.useWindowKeyDown;l&&this.play(),y?window.addEventListener("keydown",this.handleKeyDown):this.imageGallery.current.addEventListener("keydown",this.handleKeyDown),window.addEventListener("mousedown",this.handleMouseDown),window.addEventListener("touchmove",this.handleTouchMove,{passive:!1}),this.initSlideWrapperResizeObserver(this.imageGallerySlideWrapper),this.initThumbnailWrapperResizeObserver(this.thumbnailsWrapper),this.addScreenChangeEvent()}},{key:"componentDidUpdate",value:function(c,l){var y=this.props,O=y.items,E=y.lazyLoad,C=y.slideDuration,K=y.slideInterval,U=y.startIndex,q=y.thumbnailPosition,M=y.showThumbnails,L=y.useWindowKeyDown,z=this.state,A=z.currentIndex,G=z.isPlaying,J=c.items.length!==O.length,ie=!Ee()(c.items,O),ge=c.startIndex!==U,he=c.thumbnailPosition!==q,ue=c.showThumbnails!==M;K===c.slideInterval&&C===c.slideDuration||G&&(this.pause(),this.play()),he&&(this.removeResizeObserver(),this.initSlideWrapperResizeObserver(this.imageGallerySlideWrapper),this.initThumbnailWrapperResizeObserver(this.thumbnailsWrapper)),ue&&M&&this.initThumbnailWrapperResizeObserver(this.thumbnailsWrapper),ue&&!M&&this.removeThumbnailsResizeObserver(),(J||ue)&&this.handleResize(),l.currentIndex!==A&&this.slideThumbnailBar(),c.slideDuration!==C&&(this.slideToIndex=ce(this.unthrottledSlideToIndex,C,{trailing:!1})),!E||c.lazyLoad&&!ie||(this.lazyLoaded=[]),L!==c.useWindowKeyDown&&(L?(this.imageGallery.current.removeEventListener("keydown",this.handleKeyDown),window.addEventListener("keydown",this.handleKeyDown)):(window.removeEventListener("keydown",this.handleKeyDown),this.imageGallery.current.addEventListener("keydown",this.handleKeyDown))),(ge||ie)&&this.setState({currentIndex:U,slideStyle:{transition:"none"}})}},{key:"componentWillUnmount",value:function(){var c=this.props.useWindowKeyDown;window.removeEventListener("mousedown",this.handleMouseDown),window.removeEventListener("touchmove",this.handleTouchMove),this.removeScreenChangeEvent(),this.removeResizeObserver(),this.playPauseIntervalId&&(window.clearInterval(this.playPauseIntervalId),this.playPauseIntervalId=null),this.transitionTimer&&window.clearTimeout(this.transitionTimer),c?window.removeEventListener("keydown",this.handleKeyDown):this.imageGallery.current.removeEventListener("keydown",this.handleKeyDown)}},{key:"onSliding",value:function(){var c=this,l=this.state,y=l.currentIndex,O=l.isTransitioning,E=this.props,C=E.onSlide,K=E.slideDuration;this.transitionTimer=window.setTimeout(function(){O&&(c.setState({isTransitioning:!O,isSwipingThumbnail:!1}),C&&C(y))},K+50)}},{key:"onThumbnailClick",value:function(c,l){var y=this.props,O=y.onThumbnailClick,E=y.items,C=this.state.currentIndex;c.target.parentNode.parentNode.blur(),C!==l&&(E.length===2?this.slideToIndexWithStyleReset(l,c):this.slideToIndex(l,c)),O&&O(c,l)}},{key:"onThumbnailMouseOver",value:function(c,l){var y=this;this.thumbnailMouseOverTimer&&(window.clearTimeout(this.thumbnailMouseOverTimer),this.thumbnailMouseOverTimer=null),this.thumbnailMouseOverTimer=window.setTimeout(function(){y.slideToIndex(l),y.pause()},300)}},{key:"onThumbnailMouseLeave",value:function(){if(this.thumbnailMouseOverTimer){var c=this.props.autoPlay;window.clearTimeout(this.thumbnailMouseOverTimer),this.thumbnailMouseOverTimer=null,c&&this.play()}}},{key:"setThumbsTranslate",value:function(c){this.setState({thumbsTranslate:c})}},{key:"setModalFullscreen",value:function(c){var l=this.props.onScreenChange;this.setState({modalFullscreen:c}),l&&l(c)}},{key:"getThumbsTranslate",value:function(c){var l,y=this.props,O=y.disableThumbnailScroll,E=y.items,C=this.state,K=C.thumbnailsWrapperWidth,U=C.thumbnailsWrapperHeight,q=this.thumbnails&&this.thumbnails.current;if(O)return 0;if(q){if(this.isThumbnailVertical()){if(q.scrollHeight<=U)return 0;l=q.scrollHeight-U}else{if(q.scrollWidth<=K||K<=0)return 0;l=q.scrollWidth-K}return c*(l/(E.length-1))}return 0}},{key:"getThumbnailPositionClassName",value:function(c){switch(c){case"left":c=" ".concat("image-gallery-thumbnails-left");break;case"right":c=" ".concat("image-gallery-thumbnails-right");break;case"bottom":c=" ".concat("image-gallery-thumbnails-bottom");break;case"top":c=" ".concat("image-gallery-thumbnails-top")}return c}},{key:"getAlignmentClassName",value:function(c){var l=this.state.currentIndex,y=this.props,O=y.infinite,E=y.items,C="",K="image-gallery-left",U="image-gallery-right";switch(c){case l-1:C=" ".concat(K);break;case l:C=" ".concat("image-gallery-center");break;case l+1:C=" ".concat(U)}return E.length>=3&&O&&(c===0&&l===E.length-1?C=" ".concat(U):c===E.length-1&&l===0&&(C=" ".concat(K))),C}},{key:"getTranslateXForTwoSlide",value:function(c){var l=this.state,y=l.currentIndex,O=l.currentSlideOffset,E=l.previousIndex,C=y!==E,K=c===0&&E===0,U=c===1&&E===1,q=c===0&&y===1,M=c===1&&y===0,L=O===0,z=-100*y+100*c+O;return O>0?this.direction="left":O<0&&(this.direction="right"),M&&O>0&&(z=-100+O),q&&O<0&&(z=100+O),C?K&&L&&this.direction==="left"?z=100:U&&L&&this.direction==="right"&&(z=-100):(M&&L&&this.direction==="left"&&(z=-100),q&&L&&this.direction==="right"&&(z=100)),z}},{key:"getThumbnailBarHeight",value:function(){return this.isThumbnailVertical()?{height:this.state.gallerySlideWrapperHeight}:{}}},{key:"getSlideStyle",value:function(c){var l=this.state,y=l.currentIndex,O=l.currentSlideOffset,E=l.slideStyle,C=this.props,K=C.infinite,U=C.items,q=C.useTranslate3D,M=C.isRTL,L=-100*y,z=U.length-1,A=(L+100*c)*(M?-1:1)+O;K&&U.length>2&&(y===0&&c===z?A=-100*(M?-1:1)+O:y===z&&c===0&&(A=100*(M?-1:1)+O)),K&&U.length===2&&(A=this.getTranslateXForTwoSlide(c));var G="translate(".concat(A,"%, 0)");return q&&(G="translate3d(".concat(A,"%, 0, 0)")),lr({display:this.isSlideVisible(c)?"inherit":"none",WebkitTransform:G,MozTransform:G,msTransform:G,OTransform:G,transform:G},E)}},{key:"getCurrentIndex",value:function(){return this.state.currentIndex}},{key:"getThumbnailStyle",value:function(){var c,l=this.props,y=l.useTranslate3D,O=l.isRTL,E=this.state,C=E.thumbsTranslate,K=E.thumbsStyle,U=O?-1*C:C;return this.isThumbnailVertical()?(c="translate(0, ".concat(C,"px)"),y&&(c="translate3d(0, ".concat(C,"px, 0)"))):(c="translate(".concat(U,"px, 0)"),y&&(c="translate3d(".concat(U,"px, 0, 0)"))),lr({WebkitTransform:c,MozTransform:c,msTransform:c,OTransform:c,transform:c},K)}},{key:"getSlideItems",value:function(){var c=this,l=this.state.currentIndex,y=this.props,O=y.items,E=y.slideOnThumbnailOver,C=y.onClick,K=y.lazyLoad,U=y.onTouchMove,q=y.onTouchEnd,M=y.onTouchStart,L=y.onMouseOver,z=y.onMouseLeave,A=y.renderItem,G=y.renderThumbInner,J=y.showThumbnails,ie=y.showBullets,ge=[],he=[],ue=[];return O.forEach(function(re,Z){var _e=c.getAlignmentClassName(Z),nt=re.originalClass?" ".concat(re.originalClass):"",rt=re.thumbnailClass?" ".concat(re.thumbnailClass):"",Pe=re.renderItem||A||c.renderItem,Ae=re.renderThumbInner||G||c.renderThumbInner,Oe=!K||_e||c.lazyLoaded[Z];Oe&&K&&!c.lazyLoaded[Z]&&(c.lazyLoaded[Z]=!0);var Xe=c.getSlideStyle(Z),it=m().createElement("div",{"aria-label":"Go to Slide ".concat(Z+1),key:"slide-".concat(Z),tabIndex:"-1",className:"image-gallery-slide ".concat(_e," ").concat(nt),style:Xe,onClick:C,onKeyUp:c.handleSlideKeyUp,onTouchMove:U,onTouchEnd:q,onTouchStart:M,onMouseOver:L,onFocus:L,onMouseLeave:z,role:"button"},Oe?Pe(re):m().createElement("div",{style:{height:"100%"}}));if(ge.push(it),J&&re.thumbnail){var Qe=p("image-gallery-thumbnail",rt,{active:l===Z});he.push(m().createElement("button",{key:"thumbnail-".concat(Z),type:"button",tabIndex:"0","aria-pressed":l===Z?"true":"false","aria-label":"Go to Slide ".concat(Z+1),className:Qe,onMouseLeave:E?c.onThumbnailMouseLeave:null,onMouseOver:function(be){return c.handleThumbnailMouseOver(be,Z)},onFocus:function(be){return c.handleThumbnailMouseOver(be,Z)},onKeyUp:function(be){return c.handleThumbnailKeyUp(be,Z)},onClick:function(be){return c.onThumbnailClick(be,Z)}},Ae(re)))}if(ie){var ot=p("image-gallery-bullet",re.bulletClass,{active:l===Z});ue.push(m().createElement("button",{type:"button",key:"bullet-".concat(Z),className:ot,onClick:function(be){return c.onBulletClick(be,Z)},"aria-pressed":l===Z?"true":"false","aria-label":"Go to Slide ".concat(Z+1)}))}}),{slides:ge,thumbnails:he,bullets:ue}}},{key:"ignoreIsTransitioning",value:function(){var c=this.props.items,l=this.state,y=l.previousIndex,O=l.currentIndex,E=c.length-1;return Math.abs(y-O)>1&&!(y===0&&O===E)&&!(y===E&&O===0)}},{key:"isFirstOrLastSlide",value:function(c){return c===this.props.items.length-1||c===0}},{key:"slideIsTransitioning",value:function(c){var l=this.state,y=l.isTransitioning,O=l.previousIndex,E=l.currentIndex;return y&&!(c===O||c===E)}},{key:"isSlideVisible",value:function(c){return!this.slideIsTransitioning(c)||this.ignoreIsTransitioning()&&!this.isFirstOrLastSlide(c)}},{key:"slideThumbnailBar",value:function(){var c=this.state,l=c.currentIndex,y=c.isSwipingThumbnail,O=-this.getThumbsTranslate(l);y||(l===0?this.setState({thumbsTranslate:0,thumbsSwipedTranslate:0}):this.setState({thumbsTranslate:O,thumbsSwipedTranslate:O}))}},{key:"canSlide",value:function(){return this.props.items.length>=2}},{key:"canSlideLeft",value:function(){return this.props.infinite||this.canSlidePrevious()}},{key:"canSlideRight",value:function(){return this.props.infinite||this.canSlideNext()}},{key:"canSlidePrevious",value:function(){return this.state.currentIndex>0}},{key:"canSlideNext",value:function(){return this.state.currentIndex<this.props.items.length-1}},{key:"handleSwiping",value:function(c){var l=c.event,y=c.absX,O=c.dir,E=this.props,C=E.disableSwipe,K=E.stopPropagation,U=this.state,q=U.galleryWidth,M=U.isTransitioning,L=U.swipingUpDown,z=U.swipingLeftRight;if(O!==He&&O!==We&&!L||z){if(O!==Ve&&O!==Fe||z||this.setState({swipingLeftRight:!0}),!C){var A=this.props.swipingTransitionDuration;if(K&&l.preventDefault(),M)this.setState({currentSlideOffset:0});else{var G=O===Fe?1:-1,J=y/q*100;Math.abs(J)>=100&&(J=100);var ie={transition:"transform ".concat(A,"ms ease-out")};this.setState({currentSlideOffset:G*J,slideStyle:ie})}}}else L||this.setState({swipingUpDown:!0})}},{key:"handleThumbnailSwiping",value:function(c){var l=c.event,y=c.absX,O=c.absY,E=c.dir,C=this.props,K=C.stopPropagation,U=C.swipingThumbnailTransitionDuration,q=this.state,M=q.thumbsSwipedTranslate,L=q.thumbnailsWrapperHeight,z=q.thumbnailsWrapperWidth,A=q.swipingUpDown,G=q.swipingLeftRight;if(this.isThumbnailVertical()){if((E===Ve||E===Fe||G)&&!A)return void(G||this.setState({swipingLeftRight:!0}));E!==He&&E!==We||A||this.setState({swipingUpDown:!0})}else{if((E===He||E===We||A)&&!G)return void(A||this.setState({swipingUpDown:!0}));E!==Ve&&E!==Fe||G||this.setState({swipingLeftRight:!0})}var J,ie,ge,he,ue,re=this.thumbnails&&this.thumbnails.current;if(this.isThumbnailVertical()?(J=M+(E===We?O:-O),ie=re.scrollHeight-L+20,ge=Math.abs(J)>ie,he=J>20,ue=re.scrollHeight<=L):(J=M+(E===Fe?y:-y),ie=re.scrollWidth-z+20,ge=Math.abs(J)>ie,he=J>20,ue=re.scrollWidth<=z),!ue&&(E!==Ve&&E!==He||!ge)&&(E!==Fe&&E!==We||!he)){K&&l.stopPropagation();var Z={transition:"transform ".concat(U,"ms ease-out")};this.setState({thumbsTranslate:J,thumbsStyle:Z})}}},{key:"handleOnThumbnailSwiped",value:function(){var c=this.state.thumbsTranslate,l=this.props.slideDuration;this.resetSwipingDirection(),this.setState({isSwipingThumbnail:!0,thumbsSwipedTranslate:c,thumbsStyle:{transition:"all ".concat(l,"ms ease-out")}})}},{key:"sufficientSwipe",value:function(){var c=this.state.currentSlideOffset,l=this.props.swipeThreshold;return Math.abs(c)>l}},{key:"resetSwipingDirection",value:function(){var c=this.state,l=c.swipingUpDown,y=c.swipingLeftRight;l&&this.setState({swipingUpDown:!1}),y&&this.setState({swipingLeftRight:!1})}},{key:"handleOnSwiped",value:function(c){var l=c.event,y=c.dir,O=c.velocity,E=this.props,C=E.disableSwipe,K=E.stopPropagation,U=E.flickThreshold;if(!C){var q=this.props.isRTL;K&&l.stopPropagation(),this.resetSwipingDirection();var M=(y===Ve?1:-1)*(q?-1:1),L=O>U&&!(y===He||y===We);this.handleOnSwipedTo(M,L)}}},{key:"handleOnSwipedTo",value:function(c,l){var y=this.state,O=y.currentIndex,E=y.isTransitioning,C=O;!this.sufficientSwipe()&&!l||E||(C+=c),(c===-1&&!this.canSlideLeft()||c===1&&!this.canSlideRight())&&(C=O),this.unthrottledSlideToIndex(C)}},{key:"handleTouchMove",value:function(c){this.state.swipingLeftRight&&c.preventDefault()}},{key:"handleMouseDown",value:function(){this.imageGallery.current.classList.add("image-gallery-using-mouse")}},{key:"handleKeyDown",value:function(c){var l=this.props,y=l.disableKeyDown,O=l.useBrowserFullscreen,E=this.state.isFullscreen;if(this.imageGallery.current.classList.remove("image-gallery-using-mouse"),!y)switch(parseInt(c.keyCode||c.which||0,10)){case 37:this.canSlideLeft()&&!this.playPauseIntervalId&&this.slideLeft(c);break;case 39:this.canSlideRight()&&!this.playPauseIntervalId&&this.slideRight(c);break;case 27:E&&!O&&this.exitFullScreen()}}},{key:"handleImageError",value:function(c){var l=this.props.onErrorImageURL;l&&c.target.src.indexOf(l)===-1&&(c.target.src=l)}},{key:"removeThumbnailsResizeObserver",value:function(){this.resizeThumbnailWrapperObserver&&this.thumbnailsWrapper&&this.thumbnailsWrapper.current&&(this.resizeThumbnailWrapperObserver.unobserve(this.thumbnailsWrapper.current),this.resizeThumbnailWrapperObserver=null)}},{key:"removeResizeObserver",value:function(){this.resizeSlideWrapperObserver&&this.imageGallerySlideWrapper&&this.imageGallerySlideWrapper.current&&(this.resizeSlideWrapperObserver.unobserve(this.imageGallerySlideWrapper.current),this.resizeSlideWrapperObserver=null),this.removeThumbnailsResizeObserver()}},{key:"handleResize",value:function(){var c=this.state.currentIndex;this.imageGallery&&(this.imageGallery&&this.imageGallery.current&&this.setState({galleryWidth:this.imageGallery.current.offsetWidth}),this.imageGallerySlideWrapper&&this.imageGallerySlideWrapper.current&&this.setState({gallerySlideWrapperHeight:this.imageGallerySlideWrapper.current.offsetHeight}),this.setThumbsTranslate(-this.getThumbsTranslate(c)))}},{key:"initSlideWrapperResizeObserver",value:function(c){var l=this;c&&!c.current||(this.resizeSlideWrapperObserver=new Gn(je(function(y){y&&y.forEach(function(O){l.setState({thumbnailsWrapperWidth:O.contentRect.width},l.handleResize)})},50)),this.resizeSlideWrapperObserver.observe(c.current))}},{key:"initThumbnailWrapperResizeObserver",value:function(c){var l=this;c&&!c.current||(this.resizeThumbnailWrapperObserver=new Gn(je(function(y){y&&y.forEach(function(O){l.setState({thumbnailsWrapperHeight:O.contentRect.height},l.handleResize)})},50)),this.resizeThumbnailWrapperObserver.observe(c.current))}},{key:"toggleFullScreen",value:function(){this.state.isFullscreen?this.exitFullScreen():this.fullScreen()}},{key:"togglePlay",value:function(){this.playPauseIntervalId?this.pause():this.play()}},{key:"handleScreenChange",value:function(){var c=this.props,l=c.onScreenChange,y=c.useBrowserFullscreen,O=document.fullscreenElement||document.msFullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement,E=this.imageGallery.current===O;l&&l(E),y&&this.setState({isFullscreen:E})}},{key:"slideToIndex",value:function(c,l){var y=this.state,O=y.currentIndex,E=y.isTransitioning,C=this.props,K=C.items,U=C.slideDuration,q=C.onBeforeSlide;if(!E){l&&this.playPauseIntervalId&&(this.pause(!1),this.play(!1));var M=K.length-1,L=c;c<0?L=M:c>M&&(L=0),q&&L!==O&&q(L),this.setState({previousIndex:O,currentIndex:L,isTransitioning:L!==O,currentSlideOffset:0,slideStyle:{transition:"all ".concat(U,"ms ease-out")}},this.onSliding)}}},{key:"slideLeft",value:function(c){var l=this.props.isRTL;this.slideTo(c,l?"right":"left")}},{key:"slideRight",value:function(c){var l=this.props.isRTL;this.slideTo(c,l?"left":"right")}},{key:"slideTo",value:function(c,l){var y=this.state,O=y.currentIndex,E=y.isTransitioning,C=this.props.items,K=O+(l==="left"?-1:1);E||(C.length===2?this.slideToIndexWithStyleReset(K,c):this.slideToIndex(K,c))}},{key:"slideToIndexWithStyleReset",value:function(c,l){var y=this,O=this.state,E=O.currentIndex,C=O.currentSlideOffset;this.setState({currentSlideOffset:C+(E>c?.001:-.001),slideStyle:{transition:"none"}},function(){window.setTimeout(function(){return y.slideToIndex(c,l)},25)})}},{key:"handleThumbnailMouseOver",value:function(c,l){this.props.slideOnThumbnailOver&&this.onThumbnailMouseOver(c,l)}},{key:"handleThumbnailKeyUp",value:function(c,l){hr(c)&&this.onThumbnailClick(c,l)}},{key:"handleSlideKeyUp",value:function(c){hr(c)&&(0,this.props.onClick)(c)}},{key:"isThumbnailVertical",value:function(){var c=this.props.thumbnailPosition;return c==="left"||c==="right"}},{key:"addScreenChangeEvent",value:function(){var c=this;dr.forEach(function(l){document.addEventListener(l,c.handleScreenChange)})}},{key:"removeScreenChangeEvent",value:function(){var c=this;dr.forEach(function(l){document.removeEventListener(l,c.handleScreenChange)})}},{key:"fullScreen",value:function(){var c=this.props.useBrowserFullscreen,l=this.imageGallery.current;c?l.requestFullscreen?l.requestFullscreen():l.msRequestFullscreen?l.msRequestFullscreen():l.mozRequestFullScreen?l.mozRequestFullScreen():l.webkitRequestFullscreen?l.webkitRequestFullscreen():this.setModalFullscreen(!0):this.setModalFullscreen(!0),this.setState({isFullscreen:!0})}},{key:"exitFullScreen",value:function(){var c=this.state.isFullscreen,l=this.props.useBrowserFullscreen;c&&(l?document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen?document.msExitFullscreen():this.setModalFullscreen(!1):this.setModalFullscreen(!1),this.setState({isFullscreen:!1}))}},{key:"pauseOrPlay",value:function(){var c=this.props.infinite,l=this.state.currentIndex;c||this.canSlideRight()?this.slideToIndex(l+1):this.pause()}},{key:"play",value:function(){var c=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],l=this.props,y=l.onPlay,O=l.slideInterval,E=l.slideDuration,C=this.state.currentIndex;this.playPauseIntervalId||(this.setState({isPlaying:!0}),this.playPauseIntervalId=window.setInterval(this.pauseOrPlay,Math.max(O,E)),y&&c&&y(C))}},{key:"pause",value:function(){var c=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0],l=this.props.onPause,y=this.state.currentIndex;this.playPauseIntervalId&&(window.clearInterval(this.playPauseIntervalId),this.playPauseIntervalId=null,this.setState({isPlaying:!1}),l&&c&&l(y))}},{key:"isImageLoaded",value:function(c){return!!this.loadedImages[c.original]||(this.loadedImages[c.original]=!0,!1)}},{key:"handleImageLoaded",value:function(c,l){var y=this.props.onImageLoad;!this.loadedImages[l]&&y&&(this.loadedImages[l]=!0,y(c))}},{key:"renderItem",value:function(c){var l=this.state.isFullscreen,y=this.props.onImageError||this.handleImageError;return m().createElement(Qi,{description:c.description,fullscreen:c.fullscreen,handleImageLoaded:this.handleImageLoaded,isFullscreen:l,onImageError:y,original:c.original,originalAlt:c.originalAlt,originalHeight:c.originalHeight,originalWidth:c.originalWidth,originalTitle:c.originalTitle,sizes:c.sizes,loading:c.loading,srcSet:c.srcSet})}},{key:"renderThumbInner",value:function(c){var l=this.props.onThumbnailError||this.handleImageError;return m().createElement("span",{className:"image-gallery-thumbnail-inner"},m().createElement("img",{className:"image-gallery-thumbnail-image",src:c.thumbnail,height:c.thumbnailHeight,width:c.thumbnailWidth,alt:c.thumbnailAlt,title:c.thumbnailTitle,loading:c.thumbnailLoading,onError:l}),c.thumbnailLabel&&m().createElement("div",{className:"image-gallery-thumbnail-label"},c.thumbnailLabel))}},{key:"render",value:function(){var c=this.state,l=c.currentIndex,y=c.isFullscreen,O=c.modalFullscreen,E=c.isPlaying,C=this.props,K=C.additionalClass,U=C.disableThumbnailSwipe,q=C.indexSeparator,M=C.isRTL,L=C.items,z=C.thumbnailPosition,A=C.renderFullscreenButton,G=C.renderCustomControls,J=C.renderLeftNav,ie=C.renderRightNav,ge=C.showBullets,he=C.showFullscreenButton,ue=C.showIndex,re=C.showThumbnails,Z=C.showNav,_e=C.showPlayButton,nt=C.renderPlayPauseButton,rt=this.getThumbnailStyle(),Pe=this.getSlideItems(),Ae=Pe.slides,Oe=Pe.thumbnails,Xe=Pe.bullets,it=p("image-gallery-slide-wrapper",this.getThumbnailPositionClassName(z),{"image-gallery-rtl":M}),Qe=m().createElement("div",{ref:this.imageGallerySlideWrapper,className:it},G&&G(),this.canSlide()?m().createElement(m().Fragment,null,Z&&m().createElement(m().Fragment,null,J(this.slideLeft,!this.canSlideLeft()),ie(this.slideRight,!this.canSlideRight())),m().createElement(sr,{className:"image-gallery-swipe",delta:0,onSwiping:this.handleSwiping,onSwiped:this.handleOnSwiped},m().createElement("div",{className:"image-gallery-slides"},Ae))):m().createElement("div",{className:"image-gallery-slides"},Ae),_e&&nt(this.togglePlay,E),ge&&m().createElement("div",{className:"image-gallery-bullets"},m().createElement("div",{className:"image-gallery-bullets-container",role:"navigation","aria-label":"Bullet Navigation"},Xe)),he&&A(this.toggleFullScreen,y),ue&&m().createElement("div",{className:"image-gallery-index"},m().createElement("span",{className:"image-gallery-index-current"},l+1),m().createElement("span",{className:"image-gallery-index-separator"},q),m().createElement("span",{className:"image-gallery-index-total"},L.length))),ot=p("image-gallery",K,{"fullscreen-modal":O}),be=p("image-gallery-content",this.getThumbnailPositionClassName(z),{fullscreen:y}),uo=p("image-gallery-thumbnails-wrapper",this.getThumbnailPositionClassName(z),{"thumbnails-wrapper-rtl":!this.isThumbnailVertical()&&M},{"thumbnails-swipe-horizontal":!this.isThumbnailVertical()&&!U},{"thumbnails-swipe-vertical":this.isThumbnailVertical()&&!U});return m().createElement("div",{ref:this.imageGallery,className:ot,"aria-live":"polite"},m().createElement("div",{className:be},(z==="bottom"||z==="right")&&Qe,re&&Oe.length>0?m().createElement(sr,{className:uo,delta:0,onSwiping:!U&&this.handleThumbnailSwiping,onSwiped:!U&&this.handleOnThumbnailSwiped},m().createElement("div",{className:"image-gallery-thumbnails",ref:this.thumbnailsWrapper,style:this.getThumbnailBarHeight()},m().createElement("nav",{ref:this.thumbnails,className:"image-gallery-thumbnails-container",style:rt,"aria-label":"Thumbnail Navigation"},Oe))):null,(z==="top"||z==="left")&&Qe))}}],f&&so(a.prototype,f),Object.defineProperty(a,"prototype",{writable:!1}),Q}(m().Component);qt.propTypes={flickThreshold:S.number,items:(0,S.arrayOf)((0,S.shape)({bulletClass:S.string,bulletOnClick:S.func,description:S.string,original:S.string,originalHeight:S.number,originalWidth:S.number,loading:S.string,thumbnailHeight:S.number,thumbnailWidth:S.number,thumbnailLoading:S.string,fullscreen:S.string,originalAlt:S.string,originalTitle:S.string,thumbnail:S.string,thumbnailAlt:S.string,thumbnailLabel:S.string,thumbnailTitle:S.string,originalClass:S.string,thumbnailClass:S.string,renderItem:S.func,renderThumbInner:S.func,imageSet:lo,srcSet:S.string,sizes:S.string})).isRequired,showNav:S.bool,autoPlay:S.bool,lazyLoad:S.bool,infinite:S.bool,showIndex:S.bool,showBullets:S.bool,showThumbnails:S.bool,showPlayButton:S.bool,showFullscreenButton:S.bool,disableThumbnailScroll:S.bool,disableKeyDown:S.bool,disableSwipe:S.bool,disableThumbnailSwipe:S.bool,useBrowserFullscreen:S.bool,onErrorImageURL:S.string,indexSeparator:S.string,thumbnailPosition:(0,S.oneOf)(["top","bottom","left","right"]),startIndex:S.number,slideDuration:S.number,slideInterval:S.number,slideOnThumbnailOver:S.bool,swipeThreshold:S.number,swipingTransitionDuration:S.number,swipingThumbnailTransitionDuration:S.number,onSlide:S.func,onBeforeSlide:S.func,onScreenChange:S.func,onPause:S.func,onPlay:S.func,onClick:S.func,onImageLoad:S.func,onImageError:S.func,onTouchMove:S.func,onTouchEnd:S.func,onTouchStart:S.func,onMouseOver:S.func,onMouseLeave:S.func,onBulletClick:S.func,onThumbnailError:S.func,onThumbnailClick:S.func,renderCustomControls:S.func,renderLeftNav:S.func,renderRightNav:S.func,renderPlayPauseButton:S.func,renderFullscreenButton:S.func,renderItem:S.func,renderThumbInner:S.func,stopPropagation:S.bool,additionalClass:S.string,useTranslate3D:S.bool,isRTL:S.bool,useWindowKeyDown:S.bool},qt.defaultProps={onErrorImageURL:"",additionalClass:"",showNav:!0,autoPlay:!1,lazyLoad:!1,infinite:!0,showIndex:!1,showBullets:!1,showThumbnails:!0,showPlayButton:!0,showFullscreenButton:!0,disableThumbnailScroll:!1,disableKeyDown:!1,disableSwipe:!1,disableThumbnailSwipe:!1,useTranslate3D:!0,isRTL:!1,useBrowserFullscreen:!0,flickThreshold:.4,stopPropagation:!1,indexSeparator:" / ",thumbnailPosition:"bottom",startIndex:0,slideDuration:450,swipingTransitionDuration:0,swipingThumbnailTransitionDuration:0,onSlide:null,onBeforeSlide:null,onScreenChange:null,onPause:null,onPlay:null,onClick:null,onImageLoad:null,onImageError:null,onTouchMove:null,onTouchEnd:null,onTouchStart:null,onMouseOver:null,onMouseLeave:null,onBulletClick:null,onThumbnailError:null,onThumbnailClick:null,renderCustomControls:null,renderThumbInner:null,renderItem:null,slideInterval:3e3,slideOnThumbnailOver:!1,swipeThreshold:30,renderLeftNav:function(d,a){return m().createElement(to,{onClick:d,disabled:a})},renderRightNav:function(d,a){return m().createElement(no,{onClick:d,disabled:a})},renderPlayPauseButton:function(d,a){return m().createElement(ro,{onClick:d,isPlaying:a})},renderFullscreenButton:function(d,a){return m().createElement(eo,{onClick:d,isFullscreen:a})},useWindowKeyDown:!0};const co=qt})(),h})())}(It)),It.exports}var ja=ka();const Ta=fo(ja);function Oa(){var e=new Map;function t(n){var r=n.root,i=n.rootMargin,s=n.threshold,h=e.get(r);h||(h=new Map,e.set(r,h));var u=JSON.stringify({rootMargin:i,threshold:s}),p=h.get(u);if(!p){var g=new Map,m=new IntersectionObserver(function(v){v.forEach(function(j){var w=g.get(j.target);w?.(j)})},{root:r,rootMargin:i,threshold:s});p={observer:m,entryCallbacks:g},h.set(u,p)}return{observe:function(j,w){var k,x;(k=p)==null||k.entryCallbacks.set(j,w),(x=p)==null||x.observer.observe(j)},unobserve:function(j){var w,k;(w=p)==null||w.entryCallbacks.delete(j),(k=p)==null||k.observer.unobserve(j)}}}return{getObserver:t}}var Ca="0px",Ia=[0],Ea=Oa();function Pa(e){var t,n,r=(t=e?.rootMargin)!=null?t:Ca,i=(n=e?.threshold)!=null?n:Ia,s=F.useRef(null),h=F.useRef(null),u=F.useRef(null),p=F.useState(),g=p[0],m=p[1],v=F.useCallback(function(){var x=s.current;if(!x){m(void 0);return}var P=Ea.getObserver({root:h.current,rootMargin:r,threshold:i});P.observe(x,function(_){m(_)}),u.current=P},[r,i]),j=F.useCallback(function(){var x=u.current,P=s.current;P&&x?.unobserve(P),u.current=null},[]),w=F.useCallback(function(x){j(),s.current=x,v()},[v,j]),k=F.useCallback(function(x){j(),h.current=x,v()},[v,j]);return[w,{entry:g,rootRef:k}]}function vn(){return vn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vn.apply(this,arguments)}function Ra(e){var t,n=Pa(e),r=n[0],i=n[1],s=!!((t=i.entry)!=null&&t.isIntersecting),h=F.useState(s),u=h[0],p=h[1];return s&&!u&&p(!0),[r,vn({},i,{isVisible:s,wasEverVisible:u})]}var _a=100;function Ma(e){var t=e.loading,n=e.hasNextPage,r=e.onLoadMore,i=e.rootMargin,s=e.disabled,h=e.delayInMs,u=h===void 0?_a:h,p=Ra({rootMargin:i}),g=p[0],m=p[1],v=m.rootRef,j=m.isVisible,w=!s&&!t&&j&&n;return F.useEffect(function(){if(w){var k=setTimeout(function(){r()},u);return function(){clearTimeout(k)}}},[r,w,u]),[g,{rootRef:v}]}const La={width:24,height:24,body:'<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/>'},Da={width:24,height:24,body:'<g fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M0 0h24v24H0z"/><path fill="currentColor" d="M18.333 2c1.96 0 3.56 1.537 3.662 3.472l.005.195v12.666c0 1.96-1.537 3.56-3.472 3.662l-.195.005H5.667a3.667 3.667 0 0 1-3.662-3.472L2 18.333V5.667c0-1.96 1.537-3.56 3.472-3.662L5.667 2h12.666zm-2.626 7.293a1 1 0 0 0-1.414 0L11 12.585l-1.293-1.292l-.094-.083a1 1 0 0 0-1.32 1.497l2 2l.094.083a1 1 0 0 0 1.32-.083l4-4l.083-.094a1 1 0 0 0-.083-1.32z"/></g>'},za={width:24,height:24,body:'<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M18 6L6 18M6 6l12 12"/>'};var Jt=typeof navigator<"u"?navigator.userAgent.toLowerCase().indexOf("firefox")>0:!1;function Zt(e,t,n,r){e.addEventListener?e.addEventListener(t,n,r):e.attachEvent&&e.attachEvent("on".concat(t),function(){n(window.event)})}function xi(e,t){for(var n=t.slice(0,t.length-1),r=0;r<n.length;r++)n[r]=e[n[r].toLowerCase()];return n}function wi(e){typeof e!="string"&&(e=""),e=e.replace(/\s/g,"");for(var t=e.split(","),n=t.lastIndexOf("");n>=0;)t[n-1]+=",",t.splice(n,1),n=t.lastIndexOf("");return t}function Fa(e,t){for(var n=e.length>=t.length?e:t,r=e.length>=t.length?t:e,i=!0,s=0;s<n.length;s++)r.indexOf(n[s])===-1&&(i=!1);return i}var Fn={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"⇪":20,",":188,".":190,"/":191,"`":192,"-":Jt?173:189,"=":Jt?61:187,";":Jt?59:186,"'":222,"[":219,"]":221,"\\":220},De={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,cmd:91,command:91},xn={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},de={16:!1,18:!1,17:!1,91:!1},le={};for(var St=1;St<20;St++)Fn["f".concat(St)]=111+St;var ne=[],Mr=!1,Si="all",ki=[],Ft=function(t){return Fn[t.toLowerCase()]||De[t.toLowerCase()]||t.toUpperCase().charCodeAt(0)};function ji(e){Si=e||"all"}function ft(){return Si||"all"}function Wa(){return ne.slice(0)}function Aa(e){var t=e.target||e.srcElement,n=t.tagName,r=!0;return(t.isContentEditable||(n==="INPUT"||n==="TEXTAREA"||n==="SELECT")&&!t.readOnly)&&(r=!1),r}function Ba(e){return typeof e=="string"&&(e=Ft(e)),ne.indexOf(e)!==-1}function Na(e,t){var n,r;e||(e=ft());for(var i in le)if(Object.prototype.hasOwnProperty.call(le,i))for(n=le[i],r=0;r<n.length;)n[r].scope===e?n.splice(r,1):r++;ft()===e&&ji(t||"all")}function $a(e){var t=e.keyCode||e.which||e.charCode,n=ne.indexOf(t);if(n>=0&&ne.splice(n,1),e.key&&e.key.toLowerCase()==="meta"&&ne.splice(0,ne.length),(t===93||t===224)&&(t=91),t in de){de[t]=!1;for(var r in De)De[r]===t&&(ye[r]=!1)}}function Ua(e){if(typeof e>"u")Object.keys(le).forEach(function(h){return delete le[h]});else if(Array.isArray(e))e.forEach(function(h){h.key&&en(h)});else if(typeof e=="object")e.key&&en(e);else if(typeof e=="string"){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=n[0],s=n[1];typeof i=="function"&&(s=i,i=""),en({key:e,scope:i,method:s,splitKey:"+"})}}var en=function(t){var n=t.key,r=t.scope,i=t.method,s=t.splitKey,h=s===void 0?"+":s,u=wi(n);u.forEach(function(p){var g=p.split(h),m=g.length,v=g[m-1],j=v==="*"?"*":Ft(v);if(le[j]){r||(r=ft());var w=m>1?xi(De,g):[];le[j]=le[j].filter(function(k){var x=i?k.method===i:!0;return!(x&&k.scope===r&&Fa(k.mods,w))})}})};function Lr(e,t,n,r){if(t.element===r){var i;if(t.scope===n||t.scope==="all"){i=t.mods.length>0;for(var s in de)Object.prototype.hasOwnProperty.call(de,s)&&(!de[s]&&t.mods.indexOf(+s)>-1||de[s]&&t.mods.indexOf(+s)===-1)&&(i=!1);(t.mods.length===0&&!de[16]&&!de[18]&&!de[17]&&!de[91]||i||t.shortcut==="*")&&t.method(e,t)===!1&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}}function Dr(e,t){var n=le["*"],r=e.keyCode||e.which||e.charCode;if(ye.filter.call(this,e)){if((r===93||r===224)&&(r=91),ne.indexOf(r)===-1&&r!==229&&ne.push(r),["ctrlKey","altKey","shiftKey","metaKey"].forEach(function(k){var x=xn[k];e[k]&&ne.indexOf(x)===-1?ne.push(x):!e[k]&&ne.indexOf(x)>-1?ne.splice(ne.indexOf(x),1):k==="metaKey"&&e[k]&&ne.length===3&&(e.ctrlKey||e.shiftKey||e.altKey||(ne=ne.slice(ne.indexOf(x))))}),r in de){de[r]=!0;for(var i in De)De[i]===r&&(ye[i]=!0);if(!n)return}for(var s in de)Object.prototype.hasOwnProperty.call(de,s)&&(de[s]=e[xn[s]]);e.getModifierState&&!(e.altKey&&!e.ctrlKey)&&e.getModifierState("AltGraph")&&(ne.indexOf(17)===-1&&ne.push(17),ne.indexOf(18)===-1&&ne.push(18),de[17]=!0,de[18]=!0);var h=ft();if(n)for(var u=0;u<n.length;u++)n[u].scope===h&&(e.type==="keydown"&&n[u].keydown||e.type==="keyup"&&n[u].keyup)&&Lr(e,n[u],h,t);if(r in le){for(var p=0;p<le[r].length;p++)if((e.type==="keydown"&&le[r][p].keydown||e.type==="keyup"&&le[r][p].keyup)&&le[r][p].key){for(var g=le[r][p],m=g.splitKey,v=g.key.split(m),j=[],w=0;w<v.length;w++)j.push(Ft(v[w]));j.sort().join("")===ne.sort().join("")&&Lr(e,g,h,t)}}}}function Ka(e){return ki.indexOf(e)>-1}function ye(e,t,n){ne=[];var r=wi(e),i=[],s="all",h=document,u=0,p=!1,g=!0,m="+",v=!1;for(n===void 0&&typeof t=="function"&&(n=t),Object.prototype.toString.call(t)==="[object Object]"&&(t.scope&&(s=t.scope),t.element&&(h=t.element),t.keyup&&(p=t.keyup),t.keydown!==void 0&&(g=t.keydown),t.capture!==void 0&&(v=t.capture),typeof t.splitKey=="string"&&(m=t.splitKey)),typeof t=="string"&&(s=t);u<r.length;u++)e=r[u].split(m),i=[],e.length>1&&(i=xi(De,e)),e=e[e.length-1],e=e==="*"?"*":Ft(e),e in le||(le[e]=[]),le[e].push({keyup:p,keydown:g,scope:s,mods:i,shortcut:r[u],method:n,key:r[u],splitKey:m,element:h});typeof h<"u"&&!Ka(h)&&window&&(ki.push(h),Zt(h,"keydown",function(j){Dr(j,h)},v),Mr||(Mr=!0,Zt(window,"focus",function(){ne=[]},v)),Zt(h,"keyup",function(j){Dr(j,h),$a(j)},v))}function Va(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"all";Object.keys(le).forEach(function(n){var r=le[n].find(function(i){return i.scope===t&&i.shortcut===e});r&&r.method&&r.method()})}var tn={setScope:ji,getScope:ft,deleteScope:Na,getPressedKeyCodes:Wa,isPressed:Ba,filter:Aa,trigger:Va,unbind:Ua,keyMap:Fn,modifier:De,modifierMap:xn};for(var nn in tn)Object.prototype.hasOwnProperty.call(tn,nn)&&(ye[nn]=tn[nn]);if(typeof window<"u"){var Ha=window.hotkeys;ye.noConflict=function(e){return e&&window.hotkeys===ye&&(window.hotkeys=Ha),ye},window.hotkeys=ye}ye.filter=function(){return!0};var Ti=function(t,n){var r=t.target,i=r&&r.tagName;return!!(i&&n&&n.includes(i))},qa=function(t){return Ti(t,["INPUT","TEXTAREA","SELECT"])};function Ga(e,t,n,r){n instanceof Array&&(r=n,n=void 0);var i=n||{},s=i.enableOnTags,h=i.filter,u=i.keyup,p=i.keydown,g=i.filterPreventDefault,m=g===void 0?!0:g,v=i.enabled,j=v===void 0?!0:v,w=i.enableOnContentEditable,k=w===void 0?!1:w,x=F.useRef(null),P=F.useCallback(function(_,T){var N,H;return h&&!h(_)?!m:qa(_)&&!Ti(_,s)||(N=_.target)!=null&&N.isContentEditable&&!k?!0:x.current===null||document.activeElement===x.current||(H=x.current)!=null&&H.contains(document.activeElement)?(t(_,T),!0):!1},r?[x,s,h].concat(r):[x,s,h]);return F.useEffect(function(){if(!j){ye.unbind(e,P);return}return u&&p!==!0&&(n.keydown=!1),ye(e,n||{},P),function(){return ye.unbind(e,P)}},[P,e,j]),x}ye.isPressed;const Oi=F.createContext({open:!1,toggleOpen:e=>{}});function Xa({children:e}){const[t,n]=F.useState(!1),r=s=>{n(s??!s)},i=F.useMemo(()=>({open:t,toggleOpen:r}),[t]);return o.jsx(Oi.Provider,{value:i,children:e})}function Wn(){return F.useContext(Oi)}const xe={nameAsc:"title",nameDesc:"title",popularity:"stats.downloads",publishAt:"lastPublishedAt",mobilePageSize:10,pageSize:18,currentPage:1,defaultCurrentPage:1,blockletsPath:"/api/v2/blocklets.json",categoriesPath:"/api/blocklets/categories",explorePath:"/api/blocklets/explore",exploreDidsPath:"/api/blocklets/dids",cacheSize:100},Qa=e=>Lt(async()=>{const{data:t}=await e.get(xe.categoriesPath);return Array.isArray(t)?t:[]},{manual:!0});function Ya(e,t){const n=e.menu?{sortBy:"popularity",sortDirection:"desc",showResources:"true",...yo(e,["sortBy","sortDirection","showResources"])}:{sortBy:"popularity",sortDirection:"desc",showResources:"true",...e,menu:void 0},{onFilterChange:r,onSearchSelect:i=u=>{t.onFilterChange({...n,keyword:u.title})},emptyCategory:s}=t;!n.category&&!s&&(n.category="All");const h=u=>{const p={...n,...u};r(Gt(p,g=>g===""||g===void 0))};return{filters:e,cleanFilter:u=>{const p=u?Gt(n,(g,m)=>u.includes(m)):{};r(Gt(p,g=>g===""||g===void 0))},handleActiveMenu:u=>{u!==e.menu&&r({menu:u})},handleSort:(u,p)=>{h({sortBy:u,sortDirection:p||u==="nameAsc"?"asc":"desc"})},handleKeyword:u=>{h({category:void 0,keyword:u||void 0})},handlePrice:u=>{h({price:u===e.price?void 0:u})},handleCategory:u=>{h({category:u===e.category?"":u})},handleDeveloper:u=>{h({owner:u||void 0})},handlePage:u=>{h({currentPage:u})},handleSwitchIsOfficial:u=>{h({isOfficial:u==="true"?"true":""})},handleSwitchShowResources:u=>{h({showResources:u})},handleSearchSelect:u=>{i(u)}}}const Ja=(e,t,n)=>e&&t||!n,Ci=e=>[{name:e("sort.popularity"),value:"popularity"},{name:e("sort.lastPublished"),value:"publishAt"}],Ii=(e,t,n)=>{const r=jo(e),i=To(r.search);if(Oo(e)?.endsWith(".gif"))return i.imageFilter?Co({...r,search:""}):e;if(i.imageFilter)return e;const s=n||window.blocklet?.version,{w:h,h:u}=typeof t=="object"?{w:t.w,h:t.h}:{w:t,h:t};return Cn(e,{...h||u?{imageFilter:"resize",w:h,h:u}:{},v:s})},Za=e=>[{name:e("blocklet.free"),value:"free"},{name:e("blocklet.payment"),value:"payment"}],el=(e=[],t="en")=>e.map(n=>({name:n.locales[t]||n.locales.en,value:n._id})),tl=e=>Array.isArray(e)?e.map(t=>t.message).join(`
2
2
  `):e.response?.data?.error?e.response.data.error.message||e.response.data.error:e.message||e,nl=(e,t)=>e?.replace(/{(\w*)}/g,(n,r)=>t.hasOwnProperty(r)?t[r]:""),rl=()=>window.innerWidth<=600,il={common:{title:"Blocklet Store",searchStore:"Search Blocklet",showResources:"Show extensions",official:"Official Blocklets",price:"Price",category:"Category",categories:"Categories",resourceType:"Resource Type",clear:"Clear",cancel:"Cancel",search:"Search",fetchError:"Failed to fetch data, please try again later",searchPlaceholder:"Search blocklet"},explore:{title:"Explore",trending:"Trending",topRated:"Top Rated",recentlyUpdated:"Recently Updated",viewDetail:"View Details"},sort:{sort:"Sort",rating:"Rating",popularity:"Most Popular",lastPublished:"Latest Published"},category:{all:"All",placeholder:"Category name",helperText:"Please select a category"},blocklet:{noResults:"No blocklet found.",free:"Free",search:'Results for "{keyword}"',authorTag:"Blocklet by {name}",resourceTag:"Extensions for {name}",resultCount:"{count} Blocklets",emptyTip:"Tips:",filterTip:"Appropriately reduce the filter conditions",keywordTip:"Try other keywords",owner:"Blocklets from {name}",noBlockletPart1:'No Blocklets associated with"',noBlockletPart2:'"were found',noCategoryResults1:'No "',noCategoryResults2:'" Blocklets'},autocomplete:{expandResult:'View all search results for "{name}"'}},ol={common:{title:"Blocklet 商店",searchStore:"搜索 Blocklet",showResources:"显示扩展",official:"官方 Blocklet",price:"价格",category:"类别",categories:"类别",resourceType:"资源类型",clear:"清除",cancel:"取消",search:"搜索",fetchError:"获取数据失败, 请稍后再试",searchPlaceholder:"搜索 Blocklet"},explore:{title:"探索",trending:"趋势",topRated:"评分最高",recentlyUpdated:"最近更新",viewDetail:"查看详情"},sort:{sort:"排序",rating:"评分",popularity:"最热门",lastPublished:"最新发布"},category:{all:"全部",placeholder:"分类名称",helperText:"请选择分类"},blocklet:{noResults:"未搜索到 Blocklet",free:"免费",search:'搜索 "{keyword}" 的结果',authorTag:"{name} 的 Blocklet",resourceTag:"{name} 的拓展",resultCount:"{count} 个 Blocklet",emptyTip:"建议:",filterTip:"适当减少筛选条件",keywordTip:"尝试其他关键字",owner:"来自 {name} 的 Blocklets",noBlockletPart1:'没有找到与"',noBlockletPart2:'"相关的 Blocklets',noCategoryResults1:'无 "',noCategoryResults2:'" 类别的 Blocklets'},autocomplete:{expandResult:"查看 “{name}” 的所有搜索结果"}},rn={en:fr(il),zh:fr(ol)},Ei=(e,t)=>{const n={};return e&&(n["x-blocklet-server-version"]=e),t&&(n["x-blocklet-store-version"]=t),n},sl=e=>(t,n)=>{const r=rn[e]?rn[e][t]:rn.en[t];return nl(r,n)||t},Pi={errors:{fetchCategoriesError:null},loadings:{fetchCategoriesLoading:!1},compact:!1,endpoint:"",wrapChildren:()=>null,t:e=>e,storeVersion:"",minItemWidth:350,serverVersion:"",layout:{},selectedCategory:void 0,categoryList:[],blockletRender:()=>null,locale:"en",categoryOptions:[],priceOptions:[],storeApi:null,baseSearch:!1,showResourcesSwitch:!1,showCategory:!1,tagFilters:[],developerName:"",onFilterChange:()=>{},updateDeveloperName:()=>{},getCategoryLocale:()=>null,search:{filters:{},cleanFilter:()=>{},handleActiveMenu:()=>{},handleSort:()=>{},handleKeyword:()=>{},handlePrice:()=>{},handleCategory:()=>{},handleDeveloper:()=>{},handleSwitchShowResources:()=>{},handleSwitchIsOfficial:()=>{},handleSearchSelect:()=>{},handlePage:()=>{}}},Ri=F.createContext(Pi),{Provider:al,Consumer:cc}=Ri;function ll(e){const{locale:t="zh",filters:n={},serverVersion:r="",onFilterChange:i=()=>{},minItemWidth:s=350,queryFilter:h=!0,layout:u={},wrapChildren:p=ce=>ce,extraFilter:g=ce=>ce,baseSearch:m=!1,fetchCategoryDelay:v=0,showResourcesSwitch:j=!1,showCategory:w=!0,tagFilters:k=[],children:x,storeVersion:P,onSearchSelect:_=()=>{},endpoint:T,blockletRender:N,compact:H=!1}=e,ee=Ei(r,P),B=F.useMemo(()=>Ur({baseURL:T,headers:ee}),[T]),X=Ya(n,{onFilterChange:i,emptyCategory:!u.showExplore,onSearchSelect:_}),[te,se]=F.useState(""),{data:$=[],error:Ie,loading:we,run:ke}=Qa(B),me=F.useMemo(()=>{const ce=ss($,[Ee=>Ee.name],["asc"]),Te=ce.findIndex(Ee=>Ee.name==="All"||Ee.locales.en==="All");return Te>-1?[{...ce[Te],_id:"All"},...ce.slice(0,Te),...ce.slice(Te+1)]:ce},[$]),Se=F.useCallback(sl(t),[t]),D=F.useMemo(()=>el(me,t),[me,t]),ae=Za(Se),je={search:X,compact:H,errors:{fetchCategoriesError:Ie},loadings:{fetchCategoriesLoading:we},extraFilter:g,endpoint:T,queryFilter:h,layout:{showExplore:u.showExplore??!1,showCategory:u.showCategory??!0,showTitle:u.showTitle??!0,showSearch:u.showSearch??!0},minItemWidth:s,wrapChildren:p,t:Se,storeVersion:P,serverVersion:r,selectedCategory:X.filters.category||(u.showExplore?"":"All"),categoryList:me,blockletRender:N,locale:t,categoryOptions:D,priceOptions:ae,storeApi:B,baseSearch:m,showResourcesSwitch:j,showCategory:w,tagFilters:k,onFilterChange:i,getCategoryLocale:ce=>{if(!ce)return null;const Te=$.find(Ee=>Ee._id===ce||Ee.locales.en==="All");return Te?Te.locales[t]||Te.locales.en:null},get developerName(){return te},updateDeveloperName:se};return F.useEffect(()=>{setTimeout(ke,v||0)},[T,ke,v]),o.jsx(al,{value:je,children:x})}function pe(){return F.useContext(Ri)||Pi}function _i({children:e,onClick:t,size:n=32,...r}){return o.jsx(ve,{...r,onClick:t,variant:"outlined",sx:[{minWidth:n,height:n,p:0,borderColor:"divider","&:hover":{borderColor:"divider"},borderRadius:2,color:"text.secondary"},...Array.isArray(r.sx)?r.sx:[r.sx]],children:e})}function kt(e,t){return e===void 0?t:e}function An({xs:e=void 0,sm:t=void 0,md:n=void 0,lg:r=void 0,xl:i=void 0,exact:s=!1}){const h=$e(),u=Ye(h.breakpoints.down("sm")),p=Ye(h.breakpoints.between("sm","md")),g=Ye(h.breakpoints.between("md","lg")),m=Ye(h.breakpoints.between("lg","xl"));if(s)return u?e||null:p?t||null:g?n||null:m?r||null:i||null;let v=e;return u||(v=kt(t,v),p)||(v=kt(n,v),g)||(v=kt(r,v),m)?v:kt(i,v)}function cl({children:e}){const{open:t,toggleOpen:n}=Wn();return o.jsx(An,{xs:o.jsx(So,{open:t,onClose:()=>n(!1),children:e}),md:o.jsx(V,{children:e})})}function ul({loading:e=!1,disabled:t,...n}){return o.jsx(ve,{disableElevation:!0,disabled:t||e===!0,...n,sx:[{borderRadius:"4px"},...Array.isArray(n.sx)?n.sx:[n.sx]],startIcon:e&&o.jsx(Ce,{size:"1em"})})}function wn({value:e,options:t,onChange:n,placeholder:r="",...i}){const s=F.useRef(null),h=$e(),[u,p]=F.useState(!1),[g,m]=F.useState(e!==null?e:""),v=Ye(h.breakpoints.down("sm"));F.useEffect(()=>{m(e!==null?e:"")},[e]);const j=F.useCallback(()=>{p(!1)},[]),w=F.useCallback(()=>{p(!0)},[]);function k(P){m(P.value),n(P.value),v&&j()}function x(P){return P===g}return o.jsxs(o.Fragment,{children:[o.jsxs(dl,{ref:s,onClick:w,variant:"outlined",size:"medium",className:["my-select__selector",Eo(g)?"":"my-select__selector--active"].join(" "),sx:{minWidth:{xs:"100px",md:"auto"},color:"text.primary",borderRadius:"8px"},...i,children:[t.find(P=>P.value===g)?.name||r,o.jsx(Io,{className:"my-select__arrowdown",component:ts,sx:{width:18,height:18}})]}),o.jsx(Po,{open:u,anchorEl:s.current,transition:!0,sx:{zIndex:"9999"},children:({TransitionProps:P,placement:_})=>o.jsx(Ro,{...P,style:{transformOrigin:_==="bottom"?"center top":"center bottom"},children:o.jsx(_o,{children:o.jsx(Mo,{onClickAway:j,children:o.jsx(hl,{autoFocusItem:u,onMouseEnter:w,onMouseLeave:j,children:t.map(T=>o.jsxs(Et,{onClick:()=>k(T),sx:{fontSize:14},children:[o.jsx(Lo,{sx:{mr:1,fontSize:16,visibility:x(T.value)?"visible":"hidden"}}),T.name]},T.value))})})})})})]})}const dl=ze(ul)`
3
3
  border: 1px solid ${e=>e.theme.palette.divider};
4
4
  padding: 6px 8px 6px 12px;
@@ -1,4 +1,4 @@
1
- import{conf as t,language as e}from"./typescript-BJp2b_J1.js";import"./index-3MwDYHdN.js";import"./index-Bek3Nxot.js";import"./decode-DPztD6kB.js";/*!-----------------------------------------------------------------------------
1
+ import{conf as t,language as e}from"./typescript-DyjM7FW9.js";import"./index-DA7EVQ4v.js";import"./index-DQhyMeoV.js";import"./decode-DPztD6kB.js";/*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
4
4
  * Released under the MIT license
@@ -1,4 +1,4 @@
1
- import{m as Et}from"./index-3MwDYHdN.js";import"./index-Bek3Nxot.js";import"./decode-DPztD6kB.js";/*!-----------------------------------------------------------------------------
1
+ import{m as Et}from"./index-DA7EVQ4v.js";import"./index-DQhyMeoV.js";import"./decode-DPztD6kB.js";/*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
4
4
  * Released under the MIT license
@@ -1,4 +1,4 @@
1
- import{m as l}from"./index-3MwDYHdN.js";import"./index-Bek3Nxot.js";import"./decode-DPztD6kB.js";/*!-----------------------------------------------------------------------------
1
+ import{m as l}from"./index-DA7EVQ4v.js";import"./index-DQhyMeoV.js";import"./decode-DPztD6kB.js";/*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
4
4
  * Released under the MIT license
@@ -1 +1 @@
1
- import{j as e,b8 as c,J as a,aV as i,o as l}from"./index-Bek3Nxot.js";const t=c(a)(({theme:r})=>({backgroundColor:r.palette.background.default,"& .header-row":{display:"flex",justifyContent:"space-between",alignItems:"center",gap:r.spacing(1)},"& .right":{display:"flex",alignItems:"center",gap:r.spacing(1.5)},"& .tabs":{marginTop:r.spacing(2),"& .MuiButton-root":{border:"none",color:"#999","&.active":{color:"#222"}}},"@media (max-width: 900px)":{"& .header-row":{flexDirection:"column",alignItems:"flex-start"},"& .right":{flexDirection:"column",width:"100%",".search-always-open, .toolbar-btn-show, a, button, .MuiButtonGroup-root":{width:"100% !important"}}}}));function d({left:r=null,tabs:n=null,actions:s=null,...o}){return!r&&!n?e.jsx(t,{elevation:0,...o,children:e.jsxs(a,{className:"header-row",children:[e.jsx(a,{className:"left"}),e.jsx(i,{direction:"row",className:"right",children:s})]})}):r&&!n||!r&&n?e.jsx(t,{elevation:0,...o,children:e.jsxs(a,{className:"header-row",children:[e.jsx(a,{className:"left",children:r||n}),e.jsx(i,{direction:"row",className:"right",children:s})]})}):e.jsxs(t,{elevation:0,...o,children:[e.jsxs(a,{className:"header-row",children:[e.jsx(a,{className:"left",children:r}),e.jsx(i,{direction:"row",className:"right",children:s})]}),n&&e.jsx(a,{sx:{mt:2},children:n})]})}d.propTypes={left:l.node,tabs:l.node,actions:l.node};export{d as L};
1
+ import{j as e,b8 as c,J as a,aV as i,o as l}from"./index-DQhyMeoV.js";const t=c(a)(({theme:r})=>({backgroundColor:r.palette.background.default,"& .header-row":{display:"flex",justifyContent:"space-between",alignItems:"center",gap:r.spacing(1)},"& .right":{display:"flex",alignItems:"center",gap:r.spacing(1.5)},"& .tabs":{marginTop:r.spacing(2),"& .MuiButton-root":{border:"none",color:"#999","&.active":{color:"#222"}}},"@media (max-width: 900px)":{"& .header-row":{flexDirection:"column",alignItems:"flex-start"},"& .right":{flexDirection:"column",width:"100%",".search-always-open, .toolbar-btn-show, a, button, .MuiButtonGroup-root":{width:"100% !important"}}}}));function d({left:r=null,tabs:n=null,actions:s=null,...o}){return!r&&!n?e.jsx(t,{elevation:0,...o,children:e.jsxs(a,{className:"header-row",children:[e.jsx(a,{className:"left"}),e.jsx(i,{direction:"row",className:"right",children:s})]})}):r&&!n||!r&&n?e.jsx(t,{elevation:0,...o,children:e.jsxs(a,{className:"header-row",children:[e.jsx(a,{className:"left",children:r||n}),e.jsx(i,{direction:"row",className:"right",children:s})]})}):e.jsxs(t,{elevation:0,...o,children:[e.jsxs(a,{className:"header-row",children:[e.jsx(a,{className:"left",children:r}),e.jsx(i,{direction:"row",className:"right",children:s})]}),n&&e.jsx(a,{sx:{mt:2},children:n})]})}d.propTypes={left:l.node,tabs:l.node,actions:l.node};export{d as L};
@@ -1 +1 @@
1
- import{r as t}from"./index-Bek3Nxot.js";const r=e=>t.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M11.78 2.25c-2.767 0-5.019 2.271-5.019 5.063v3.037H5.758a2.018 2.018 0 0 0-2.008 2.025v8.1c0 1.117.9 2.025 2.008 2.025h12.045a2.018 2.018 0 0 0 2.007-2.025v-8.1c0-1.117-.9-2.025-2.007-2.025h-1.004V7.313c0-2.792-2.251-5.063-5.019-5.063zm6.023 10.125.002 8.1H5.758v-8.1h12.045zM8.769 10.35V7.313c0-1.675 1.35-3.038 3.011-3.038 1.66 0 3.011 1.363 3.011 3.037v3.038H8.77z"}));export{r as c};
1
+ import{r as t}from"./index-DQhyMeoV.js";const r=e=>t.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M11.78 2.25c-2.767 0-5.019 2.271-5.019 5.063v3.037H5.758a2.018 2.018 0 0 0-2.008 2.025v8.1c0 1.117.9 2.025 2.008 2.025h12.045a2.018 2.018 0 0 0 2.007-2.025v-8.1c0-1.117-.9-2.025-2.007-2.025h-1.004V7.313c0-2.792-2.251-5.063-5.019-5.063zm6.023 10.125.002 8.1H5.758v-8.1h12.045zM8.769 10.35V7.313c0-1.675 1.35-3.038 3.011-3.038 1.66 0 3.011 1.363 3.011 3.037v3.038H8.77z"}));export{r as c};
@@ -1,4 +1,4 @@
1
- import{r as w,B as C,j as t,Q as S,S as L,t as T,U as D,bx as I,J as P,s as B,o as F}from"./index-Bek3Nxot.js";import{u as $}from"./useLocalStorage-Dpl2DibN.js";import{L as b,D as k}from"./download-Df1TrhTI.js";import{L as z}from"./ListSubheader-CHT01bOG.js";import"./ButtonGroup-C_JbniJW.js";import"./getValidReactChildren-Cjo-LFyx.js";const A=B.div`
1
+ import{r as w,B as C,j as t,Q as S,S as L,t as T,U as D,bx as I,J as P,s as B,o as F}from"./index-DQhyMeoV.js";import{u as $}from"./useLocalStorage-MLO2O-Eu.js";import{L as b,D as k}from"./download-DjUrRSaE.js";import{L as z}from"./ListSubheader-BgTycqrg.js";import"./ButtonGroup-83J5hh2q.js";import"./getValidReactChildren-BrnINUbd.js";const A=B.div`
2
2
  display: flex;
3
3
  justify-items: flex-start;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{r as reactExports}from"./index-Bek3Nxot.js";/*! *****************************************************************************
1
+ import{r as reactExports}from"./index-DQhyMeoV.js";/*! *****************************************************************************
2
2
  Copyright (c) Microsoft Corporation.
3
3
 
4
4
  Permission to use, copy, modify, and/or distribute this software for any
@@ -1,4 +1,4 @@
1
- import{m as s}from"./index-3MwDYHdN.js";import"./index-Bek3Nxot.js";import"./decode-DPztD6kB.js";/*!-----------------------------------------------------------------------------
1
+ import{m as s}from"./index-DA7EVQ4v.js";import"./index-DQhyMeoV.js";import"./decode-DPztD6kB.js";/*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
3
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
4
4
  * Released under the MIT license